3479ae4c55Splash screen displays version number (without svn part)
Yves Rizoud
2009-06-07 01:31:38 +00:00
f1730ea0e4Reverted the default mode to 'window'. Disabled window mode for GP2X, so it falls back on the first available mode.
Yves Rizoud
2009-06-06 22:56:17 +00:00
3aa04afc59Tweaks to the config file for better gp2x experience.
Adrien Destugues
2009-06-06 21:59:57 +00:00
1cf83a2ed7Fixed various aspects of the gp2x button handling : - Default button mapping so you can at least click on the buttons - Keep button press and button release in sync, so you use the same button for the same thing - Fix display of the buttons
Adrien Destugues
2009-06-06 21:57:29 +00:00
b04303ddc9Some fixes for gp2x, the define is actually uppercase.
Adrien Destugues
2009-06-06 21:11:47 +00:00
fb4d2fdb43Fix part of Issue 168: Mouse3 shortcuts are no longer allowed at wrong moments during drawing.
Yves Rizoud
2009-06-06 19:30:39 +00:00
106912a5a0Updated version number and README. Makefile can now change program version label, with 'make version LABEL=2.whatever
Yves Rizoud
2009-06-06 19:01:48 +00:00
a92fd3da13Fix: In Settings screen, right-clicking on 'Undo pages' didn't clear the value.
Yves Rizoud
2009-06-06 14:21:07 +00:00
c2da50357aMakefile fixes for make install, by 00.rgb.studios (Issue 173)
Yves Rizoud
2009-06-04 23:43:08 +00:00
b9f9a96ce8Fix issue 172: Ellipse overflow with large sizes on 32bit cpus.
Yves Rizoud
2009-06-01 21:27:28 +00:00
33bb5622c0Fixed bad display and possible crash, when the zoomed area showed more than 512 pixels (requires resolution >1600)
Yves Rizoud
2009-06-01 18:47:08 +00:00
0826798943Added HoraK-FDF to bugfinders in About screen, Fix part of issue 169 (Resize while a window is open waits for an additional click or keypress after the window is closed.)
Yves Rizoud
2009-05-26 19:31:01 +00:00
a32d28e157Fix issue 170: Fileselector displays only letters until the first dot
Yves Rizoud
2009-05-26 19:14:40 +00:00
3925e87363Updated Help for mouse sensitivity
Yves Rizoud
2009-05-24 23:07:03 +00:00
bb2794ed2bFix issue 161 (Linux: The window "resists" resizing) Fix issue 159 (Mouse sensitivy in fullscreen mode) by implementing user-defined mouse sensitivity in Settings screen, only affects fullscreen mode. Fix: When changing pixel size, sometimes there were some remaining "dirty lines" at the right edge of screen/window.
Yves Rizoud
2009-05-24 22:26:08 +00:00
a3dbf3d4acSkin: Fixed up some accented characters in font
Yves Rizoud
2009-05-23 01:40:20 +00:00
4191b37099Fixed issue 167: Crashes on win98 with international keyboards (SDL.DLL, recompiled from 1.2.13 source archive) Fixed old bug (all platforms): When typing text with dead-keys like ^ ` it would additionally type the character on same key for US-QWERTY keyboard. Removed the "disable Unicode" option added in r814, no longer needed.
Yves Rizoud
2009-05-23 01:29:18 +00:00
9e4866e34cImplemented US-qwerty shift characters, when Unicode is disabled
Yves Rizoud
2009-05-22 19:24:03 +00:00
f4cb7985f2More manual ANSI conversions for when Unicode is off
Yves Rizoud
2009-05-22 18:28:01 +00:00
e8dd8588d0Workaround of issue 167: Unicode only enabled while entering text, so at all other moments there's no SDL crash when pressing ^ key (French or German keyboard) on Windows 98
Yves Rizoud
2009-05-22 18:14:13 +00:00
4f157197e8Fix issue 166: Bookmarks now allow characters # and ;
Yves Rizoud
2009-05-22 17:51:11 +00:00
1b06317924Fix issue 165: MS Windows no longer opens the program window at arbitrary (wrong) position, it restores instead the last position you used.
Yves Rizoud
2009-05-20 00:11:32 +00:00
b9849fe8adAdded MagerValp to the bugfinders.
Adrien Destugues
2009-05-15 11:10:26 +00:00
4a39819c86Follow-up on previous commit: Generalized the "Command" key support, it compiles on all platforms and somebody may want to plug a Mac keyboard in a PC :) Added a "command" symbol in the fonts, so shortcuts that use this key can be displayed. Fixed: In Keyboard settings, some very weird keys (Thinkpad "volume up") were displayed with a wrong number.
Yves Rizoud
2009-05-14 18:42:03 +00:00
2feab9d52c- Issue #160 should be fixed now.
Franck Charlet
2009-05-14 13:49:36 +00:00
315a17ae5bDouble-clicking a palette color to open the palette now requires a time of less than 0.5 seconds between clicks
Yves Rizoud
2009-05-13 18:17:24 +00:00
ce812e481d-Bring back the adaptive sleeping in the main engine. Still using static 20ms sleep in idle waiting loops (when mouse doesn't move) -Discontinuous freehand now uses an asynchronous method for delaying. It is sensitive to the delay set in the airbrush/spray menu.
Adrien Destugues
2009-05-12 22:16:05 +00:00
fe637a504cRemoved old todo list (most of it is done, the remaining parts are on the bugtracker) Slightly reformatted the readme and added a nice ascii logo to it.
Adrien Destugues
2009-05-12 21:03:17 +00:00
ff83f12b31Fixed all sdl_delays to wait for 20ms, not 1. Avoid problems for low-latency guys. Also, made the splash screen stay as long as you don't click or key. Mouse moves are discarded. Sorry!
Adrien Destugues
2009-05-12 19:05:33 +00:00
3c0a940301Removed Wait_VBL. Was only used for slowing down things. Used SDL_Delay(1) instead, which let the OS handle other things. We should get about 10-20ms latency with that. Scrollbars may be slightly faster. The only place where this could be a problem is discontinuous freehand. If the current way it works isn't good, look at the "Chrono" functions (like the spray) instead.
Adrien Destugues
2009-05-12 18:00:19 +00:00
7a847be4ecRemoved all instances of Read_one_byte.
Adrien Destugues
2009-05-12 17:41:22 +00:00
8f9dd6a68eFrame around BGcolor in menu palette: Now handles the case where the same color is FG and BG color
Yves Rizoud
2009-05-10 17:18:12 +00:00
402df48b7fRemoved some unused functions (kindly pointed out by the great ncc tool)
Adrien Destugues
2009-05-10 14:47:09 +00:00
fc1786a077Frame the backcolor with a dark dotted line.
Adrien Destugues
2009-05-10 14:17:13 +00:00
23a72b39eeBuild fixes for AROS.
Adrien Destugues
2009-05-10 07:26:09 +00:00
4a051bb820Clicking on the current forecolor in palette will open the palette window.
Adrien Destugues
2009-05-08 20:52:48 +00:00
29bfd973d3Changed window caption Fix: Made the "Safe resolution" shortcut do nothing in windowed mode. (issue 118)
Yves Rizoud
2009-05-08 19:00:41 +00:00
9d19d8785aNew: Implemented the functions for previous and next user's colors. (Keys = and -) They use the Shade settings. Minor display fix: In Shortcuts screen, explanation text can no longer overdraw the border.
Yves Rizoud
2009-05-08 16:32:33 +00:00
61f03d0921Fix the Palette sort: since r776 it sorted on Lighness only, no matter the mouse button.
Yves Rizoud
2009-05-07 23:55:12 +00:00
5d61f3aed5Fixed the command-line argument '/triple', it was setting double pixels, not triple pixels.
Yves Rizoud
2009-05-07 21:22:51 +00:00
7b5481e9c9Source archives will now contain misc/grafx2.1 (source of man page), misc/grafx2.xpm (icon for all Linux) misc/grafx2.desktop (Gnome desktop entry)
Yves Rizoud
2009-05-07 19:01:44 +00:00
df93843c18Really fixed the Secondary palette issue, where clicking the RGB slider prints the new setting over mouse cursor. (Mentioned in r782 but I missed the piece of code)
Yves Rizoud
2009-05-06 21:13:46 +00:00
344547a0caFix: Reverted part of r773 (Crash on distort if the brush angles touch the screen edge.) Fix: Distort brush now re-centers the brush "handle".
Yves Rizoud
2009-05-06 19:20:06 +00:00
3e0b1b5c1cFix in Palette screen the refresh of enabled/disabled "+" and "-" buttons. Fix in Secondary palette screen the initial refresh when the window opens. Changed in Secondary palette the button "/2" into "÷2" (like in Spray menu) Fix in Secondary palette: Clicking the RGB scale slider could display the new value over the mouse cursor.
Yves Rizoud
2009-05-06 18:54:26 +00:00
3babffb7e4Whoops. Update the right area of the window, of course :)
Adrien Destugues
2009-05-06 13:07:17 +00:00
68fdd5175cGrey out + and - buttons in palette screen. Also, some doxygening in engine.c.
Adrien Destugues
2009-05-06 12:15:27 +00:00
2fa494f77eRemoved postal address of the FSF since it's moving faster thant the website :)
Adrien Destugues
2009-05-05 18:19:37 +00:00
f01c210211Fixed make uninstall for the .xpm and menu file.
Adrien Destugues
2009-05-05 16:54:56 +00:00
8eaf299c08Added files from debian distro.
Adrien Destugues
2009-05-05 11:41:27 +00:00
38657c54b8Sort color by lightness if you use right click on the sort button.
Adrien Destugues
2009-05-04 21:01:15 +00:00
69393e2513Added buttons x2 and /2 to select usual color scales easily. Also allows "2" as RGB scale. Just because we can :) (the menu color selector seems to have trouble with that, however)
Adrien Destugues
2009-05-04 20:51:33 +00:00
7909ce7304Made RGB scaler a bit larger in palette secondary screen.
Adrien Destugues
2009-05-04 20:24:13 +00:00
3035788398Fixed some splint warnings. Basically, ensure vars are positive when you use >> and << for divide and multiply by 2 :)
Adrien Destugues
2009-05-04 19:43:21 +00:00
e5fc3a9ef3AmigaOS 68k build fixes by Artur Jarosik. Thanks!
Adrien Destugues
2009-05-03 17:45:10 +00:00
6f37000cd5Preview in text window is now drawn with the back color, so you can see the antialiasing correctly.
Adrien Destugues
2009-05-03 14:09:12 +00:00
4e387fdbfc-Translation typo: need_to_remp > need_to_remap -Allow sorting only a range of colors in the palette -Reverted Lightness sorting order so white is first. This is what's used in the default palette.
Adrien Destugues
2009-05-03 13:59:40 +00:00
780bf3a751-Fixes issue 152 (color picker cursor) -Switches FreeBSD to cumulated update method, they shouldn't need macosX tricks for that they are using X11 :)
Adrien Destugues
2009-05-03 13:02:25 +00:00
a216785b59Add help for "Picture transform" menu Fix help for Y-flip GUI skins: Add some characters in help fonts.
Yves Rizoud
2009-05-02 19:04:34 +00:00
358b0ea076Fix compilation error (gcc 4.3.3 doesn't seem to like inline, or maybe it should be static inline)
Yves Rizoud
2009-05-02 17:57:40 +00:00
e5f948076bNew: Picture effects screen, resizes / mirrors / rotates image (Issue 73) New: Distort brush (Issue 34) New: Pixel scaler "Triple" for 3x3 zoom (Issue 147) New: Pixel scaler "Quadruple" for 4x4 zoom (Issue 151) New: Pixel scaler "Wide2" for 4x2 zoom (Issue 148) New: Pixel scaler "Tall2" for 2x4 zoom (Issue 149) Fix of very old bug: Resizing the image didn't mark the image 'modified since last save'
Yves Rizoud
2009-05-02 16:44:06 +00:00
c1a1d88592Fixed "empy" / "empty" typo in some functions declarations in graph.h to match their fix of r761. (gcc 3.8 was now warning of the lack of advance declarations). Compiles to same executable as r761, no need to re-package the latest OSX version.
Yves Rizoud
2009-04-30 19:24:28 +00:00
c4ca933dfe- Fixed a bug in the credits (and cleaned'em up a bit). - Fixed a bug in the draw gradient ellipse that caused the cursor to remain on screen after the drawing operation. - Fixed "empy" / "empty" typo in some functions names.
Franck Charlet
2009-04-30 13:28:25 +00:00
506ea20d36Sparc CPU does not like accessing non-aligned things. Depack some structures so the program don't crash. We should probably fix every struct, but I'm too lazy to check all of them right now (could corrupt saving and/or loading). Added Gürkan Sengün to the bugfinders as he found the problem. Thanks !
Adrien Destugues
2009-04-29 17:28:44 +00:00
1eeed5aca4Added some missed translations in source code.
Yves Rizoud
2009-04-21 17:48:26 +00:00
284eda4ffeBuild fix for BeOS/Haiku gcc2
Adrien Destugues
2009-04-20 19:18:26 +00:00
c09f5819c2Doxygen documentation for text.h, SFont.h, setup.h, realpath.h, readline.h, palette.h, keyboard.h, io.h, input.h, hotkeys.h, helpfile.h, errors.h; and a basic description for all other headers. Removed 2 unused function prototypes (They escaped translation) In each C file, added a #include of its own header, to help doxygen generate a more complete documentation for the C files (and also double-check function prototypes)
Yves Rizoud
2009-04-18 19:58:19 +00:00
563b935615Doxygen documentation for struct.h
Yves Rizoud
2009-04-18 15:04:31 +00:00
0495eed913Doxygen documentation of global.h and const.h (in English) Some small changes in code that don't change the generated executable: - 4 constants that were #defined are now enums, so they automatically get the right value: NB_ICON_SPRITES, NB_BUTTONS, NB_SPECIAL_SHORTCUTS, NB_OPERATIONS. - Some numeric constants replaced by their symbolic value.
Yves Rizoud
2009-04-16 19:32:15 +00:00
7dae508324- Renamed the "Button" array into "Buttons_Pool" due to a conflict with Apple headers.
Franck Charlet
2009-04-14 12:19:34 +00:00
6823855cbbsmall makefile fixes for gp2x.
Adrien Destugues
2009-04-13 10:05:20 +00:00
603ed38297Fixed a potentially dangerous bug : the palette setup screen was reading things in an area just released when closing the window ! Makes the palette sliders work correctly for me.
Adrien Destugues
2009-04-08 07:55:52 +00:00
c98bfafb76Fixes r727 not compiling on windows, Fixes an old issue on Linux where the program couldn't be run from a symbolic to the executable.
Yves Rizoud
2009-04-07 21:53:20 +00:00
19ac89a38fNew (hopefully better) method for selecting the colors in smooth and colorize. Tell me if you think it's good.
Adrien Destugues
2009-04-07 17:54:52 +00:00
d1de5fa366Dropped all the old files. They are not really usefull anymore as everything was rewritten in clean C for us...
Adrien Destugues
2009-04-07 17:23:01 +00:00
5c7256efa3We dont need that anymore, either.
Adrien Destugues
2009-04-07 17:20:43 +00:00
155843c4b7Some updates to the help screens.
Adrien Destugues
2009-04-07 15:10:13 +00:00
385a99d1f6Fixed issue 127 : program path under unix was stored relative when launching the program with "./grafx2" in the dev directory, so font loading failed when changing directory (loading a pic, for example).
Adrien Destugues
2009-04-07 12:28:53 +00:00
15e11b7144Fix crash when rotating a tiny brush (bug from original version, was harmless in DOS due to lack of memory protection)
Yves Rizoud
2009-04-06 18:06:06 +00:00
61e2487ec6Added some notes to the new readme and compiling files for the 2.0b99% release.
Adrien Destugues
2009-04-06 11:18:22 +00:00
31756d2ee5Updated version number to 99.0 Makefile: README.txt and a new COMPILING.txt are now added in win32 and src packages. Updated NSIS script to 99.0 version. Cleaned up the list of error codes and error messages. Removed a debug print.
Yves Rizoud
2009-04-05 23:38:11 +00:00
6c0637f65eNew: Reading 32bit and 16bit bitmaps, with and without bitfields. Fixed: Reading 8-bit compressed bitmaps. New: Reading bitmaps with v4 header.
Yves Rizoud
2009-04-05 19:21:07 +00:00
cf16b72ae0Palette sorting now automatically remaps the image, so its final appearance doesn't change.(issue 87)
Yves Rizoud
2009-04-05 00:50:27 +00:00
8fee6a4247Fix default sieve pattern which was all-black since r707
Yves Rizoud
2009-04-04 19:06:22 +00:00
be1da7b6a6Fixed a buffer overrun in the skin reading... make saving the config work again...
Adrien Destugues
2009-04-04 18:41:04 +00:00
8b29381699After changing screen size or pixel mode, the palette is now scrolled to show FG color (issue 124)
Yves Rizoud
2009-04-04 14:51:27 +00:00
763a4551a9Fix the mouse cursor erasing the filename in status bar when you close the Load window (old display bug)
Yves Rizoud
2009-04-04 13:52:19 +00:00
5655129401Makefile: Added missing png library to linker options (issue 141) Fix the minimum screen size not enforced when resizing window (since r705) Fix the mouse cursor position when changing pixel size (since r705) In fileselector, the image preview now enforces "safe colors". (issue 116)
Yves Rizoud
2009-04-04 13:38:45 +00:00
bc127c5d6aMigrated the history to the wiki.
Adrien Destugues
2009-04-02 21:10:06 +00:00