Commit Graph

  • dcbbd07f8a Fixes issue 212 (segfault in gradrect). The operation is now cancelled if the rectangle is fully out of the picture. Adrien Destugues 2009-09-05 12:55:09 +00:00
  • d6bf9413bf Displayable tile grid (Issue 171) Yves Rizoud 2009-08-26 23:42:55 +00:00
  • 7bfdb28936 Keyboard shortcuts that open a window now also close it (Issue 88). Fixed a recent bug that made contextual help in FX window only work once. Yves Rizoud 2009-08-23 00:41:40 +00:00
  • 8ac66726f2 Brush container integrated as the bottom row of Paintbrush screen (F4) Yves Rizoud 2009-08-22 22:11:01 +00:00
  • 5c4219d3fa Improved built-in resizable brushes: circle brushes are no longer limited to even diameters (2 4 6), and random brush now only has isolated pixels (no pixels touch each other). Yves Rizoud 2009-08-22 18:39:14 +00:00
  • 1ccdf24dfa Brush container (Issue 135) now working with color brushes too. Yves Rizoud 2009-08-20 23:13:41 +00:00
  • 29ee887c78 Brush container (unfinished). Temporarily bound to right-click 'Brush FX'. Only accepts monochrome brushes of any size at the moment. Yves Rizoud 2009-08-18 23:42:07 +00:00
  • c957107d85 Fixed the same stupid bug about endless looping on palette reduction again. Adrien Destugues 2009-08-17 19:48:20 +00:00
  • 025d27ff71 (cont'd from previous commit) Fixed Issue 183. Added intermediate screen updates during expensive operations (including rectangle, I forgot it in previous commit). Display more responsive to users of fast mice. Yves Rizoud 2009-08-15 16:56:20 +00:00
  • 562099f17f Improved mouse experiment: Mouse merging is automatically off when drawing and on when not drawing.(ignores ini setting). Tools that paste the brush along a shape (lines, cont'freehand, circles, splines) now force a screen update about 10 times per second, but no more than once every 8 pixels drawn. See issue 183. Yves Rizoud 2009-08-15 01:15:39 +00:00
  • 6cdc5e3042 -Use nearest neighbour and no error diffusion when loading 24bit images -Some cleanup to the palette computing function, but no real improvement. I can't get it to perform better ... Adrien Destugues 2009-08-09 20:26:10 +00:00
  • d5b5ba6de3 Fixed stupid bug and some comments in 24bit color reduction. Adrien Destugues 2009-08-09 18:33:18 +00:00
  • d01f573e57 Added a picture which we can't load (gui.bmp, 24bit bmp) Yves Rizoud 2009-08-09 18:24:03 +00:00
  • 4e0d95b5e7 New: PNG 24bit loader (issue 201). Fixed greyscale PNG loader which never worked. Fixed 24-bit image loading on program startup which didnt update palette. Yves Rizoud 2009-08-09 16:54:39 +00:00
  • 8b340684bd Various internal changes, preparing for layers (mostly backup system) Yves Rizoud 2009-08-08 18:53:30 +00:00
  • f43502f7be typo. Adrien Destugues 2009-08-05 20:36:34 +00:00
  • 8190d7c83a Moved the french html docs from trunk to the new french section of the wiki. Adrien Destugues 2009-08-05 19:33:51 +00:00
  • c199ad22eb Moved the french html docs from trunk to the new french section of the wiki. Adrien Destugues 2009-08-05 19:33:51 +00:00
  • 4bf44d6d9e Some changes to the helpfile Adrien Destugues 2009-08-05 18:23:25 +00:00
  • 6e1355c7ae Display "Palette editor / setup" in the toolbar for the palette button instead of just "Palette editor" as some people seem to miss this dialog :) Adrien Destugues 2009-08-05 11:59:51 +00:00
  • 01909c180b Fixed typo in Zoom shortcuts description Yves Rizoud 2009-08-04 19:02:49 +00:00
  • 951096eb86 Patch by Magnus Bergman to allow setting zoom level with keyboard shortcuts. Adrien Destugues 2009-08-03 17:38:59 +00:00
  • 7a8cea5af6 Remember the HSL/RGB setting in the palette screen when you close it. The variable was global but reset when opening the dialog. Adrien Destugues 2009-08-01 15:11:07 +00:00
  • 48d04c2568 Updated XCode Project Franck Charlet 2009-07-31 10:20:35 +00:00
  • 7f072fd89c Merged in trunk the fix for issue 198 Yves Rizoud 2009-07-29 22:03:37 +00:00
  • cb147ca759 Added Hatch to the bugfinders list. Thanks for your testing! Adrien Destugues 2009-07-29 21:44:54 +00:00
  • ce9762b789 Fix issue 198: Crash in Load/Save dialog when directory content has changed. Yves Rizoud 2009-07-29 19:47:24 +00:00
  • 2bc428859b -Removed pic-samples folder in 2.0 branch. -Added some Arati ST IFF picture we can't load. Adrien Destugues 2009-07-28 18:10:12 +00:00
  • 3abd490887 -Removed pic-samples folder in 2.0 branch. -Added some Arati ST IFF picture we can't load. Adrien Destugues 2009-07-28 18:10:12 +00:00
  • a8af26f12c Fixes mose drops when entering textfields introduced by the click-to-exit. Adrien Destugues 2009-07-24 17:10:08 +00:00
  • bd9541cc04 Allows exiting a textfield with a mouse click (but not using space). Introduce a new global var to do it, however... Adrien Destugues 2009-07-24 15:22:18 +00:00
  • d47e40b7cb Fix crashing bug when using pipette on a software-zoomed video mode from the palette menu. Fixes issue 196. Warning! Version 2.0 needs a new build! Adrien Destugues 2009-07-24 08:34:20 +00:00
  • cdd8a3276c Fix crashing bug when using pipette on a software-zoomed video mode from the palette menu. Fixes issue 196. Warning! Version 2.0 needs a new build! Adrien Destugues 2009-07-24 08:34:20 +00:00
  • 6698b78474 Removed useless debug print. Adrien Destugues 2009-07-24 08:13:31 +00:00
  • 5a59dc4abb Allow to use a negative number as menu ratio. This will set it as the max allowed zoom for the GUI display. Fixes issue 101 Adrien Destugues 2009-07-22 15:48:23 +00:00
  • ff402b204b Code cleanup in pages.c. No functional change Yves Rizoud 2009-07-21 22:13:05 +00:00
  • 97c8453dcd Converted all files to unix end of lines. Adrien Destugues 2009-07-16 12:58:36 +00:00
  • e877292ca2 The cluster system for color reduction when loading a truecolor image now uses a linked list instead of a table. This fix a potential problem because there was an overlapping memcpy. It also avoids copying the big cluster table around and just moves pointer around. It should be faster but I did not really noticed any change on my computer :(. Maybe it's too fast... The same can probably be done for the gradient sets. Adrien Destugues 2009-07-16 12:57:11 +00:00
  • 3a7edb8323 Some files are still using msdos encoding, which is bad :) Adrien Destugues 2009-07-16 08:49:56 +00:00
  • b5e806eda3 -Style fixes (check for (i != 0) instead of just i for int -Error on some extreme cases (can't even allocate 1 byte) (the exit here are to make splint happy) -Header protection with #ifdef Adrien Destugues 2009-07-16 08:49:27 +00:00
  • 07bfc119b8 -No need to check if a pointer is null before freeing it. -However if the pointer is still living (for example a global) you should assign NULL to it to avoid bad ram access and random bugs. Accessing a NULL pointer always gives a segfault, accessing a freed pointer may or may not crash. -Also fixed a memory leak Adrien Destugues 2009-07-16 07:33:14 +00:00
  • 8b5681eccb -"fixed" warning about vars being used uninitialized (may happen if mouse cursor is totally offscreen or screen resolution is 0 pixel height, that is, never). -Put some cursor drawing loops in the right order (loop on y, then on x) to make them a little more cache-friendly (and easier to read). I wrote them the wrong way, sorry! -Some code formatting to 80 columns (not really important, don't worry about it) -Added a sample neochrome picture to the pic-samples folder. Adrien Destugues 2009-07-16 07:04:39 +00:00
  • 9d0c73b5be Tweaked the line clamping algorithm (Issue 186): Multiples of 45° use orthogonal projection (again), ISO lines are now constrained to exact 2:1 lines and their length is projected on most significant axis, horizontal or vertical Yves Rizoud 2009-07-15 20:11:07 +00:00
  • 7fc318a856 Experimental work on mouse locking with shift (issue 193). Consider unstable. Yves Rizoud 2009-07-15 18:50:25 +00:00
  • c596b80b8d GUI: Made slider controls movable even if you bring mouse cursor far from them. Makes it much easier to maximize or minimize a value. Yves Rizoud 2009-07-14 20:43:51 +00:00
  • 3a5b460184 Finished the sticky buttons (didn't have any visible effect) Yves Rizoud 2009-07-13 21:36:53 +00:00
  • 77728125fb GUI: All controls are now 'sticky', ie. when you're dragging a slider/scroller and you move the mouse too far, it no longer activate other buttons. (Issue 191) Yves Rizoud 2009-07-13 19:10:48 +00:00
  • 7bde7d90ce Quick-made support for Neochrome files. Loading works, saving leaves parts of the header uninitialized. Neochrome may or may not like it. Adrien Destugues 2009-07-13 08:09:40 +00:00
  • 260347ac21 Updated credits Yves Rizoud 2009-07-09 01:08:02 +00:00
  • c425d3e20d OSX: Config files now in a subdirectory of ~/Library/Preferences. This will keep your settings when you install new versions. Patch by MagerValp, issue 192 Yves Rizoud 2009-07-08 00:27:05 +00:00
  • ec1642ff79 Merged in the fix from r880: Issue 182, Out of memory errors, on machines with more than 4Gb RAM Yves Rizoud 2009-07-07 19:58:24 +00:00
  • 72e6452d5b Integrated Makefile changes from MagerValp (Issue 188 comment 4) for MacOSX; adapted Windows build slightly; Updated Help screens for list of bug finders. Yves Rizoud 2009-07-07 19:26:37 +00:00
  • cadb762640 Fixed issue 190: buffer overflow in splash screen. Adrien Destugues 2009-07-07 14:03:21 +00:00
  • 15a8c67db7 Patch by MagerValp to allow building on mac with make. Thanks ! Adrien Destugues 2009-07-07 13:58:37 +00:00
  • 243b645383 Fixes to make it build on OS4 and the latest SDK Pete Gordon 2009-07-03 11:49:09 +00:00
  • 392d17c56c Fixed the clamping of Grad rectangle (I hadn't tested at all :-/ ) Yves Rizoud 2009-07-02 22:12:24 +00:00
  • 158cd7ff45 Fixed an old (pre v2.0) control bug where releasing shift key had the extra effect of releasing the left mouse button. Yves Rizoud 2009-07-02 22:09:57 +00:00
  • 9e9fd506b6 Continued the line clamping. Seems to work perfectly for all 16 directions, but I discovered an older problem in the input handler when you release a key that participates in cursor emulation. Not completely fixed. Yves Rizoud 2009-07-02 21:38:11 +00:00
  • 19a2892e88 I extended the line clamping to do iso pixelart. However I only managed to find the equation for the 3 others. Maybe someone is better at geometry. I let the unequationed lines move free when you press shift. The limit between each spot can also be adjusted. Is someone better than me at math around here ? Adrien Destugues 2009-07-01 19:21:58 +00:00
  • 8b4533f105 Skin graphics and font are now recorded & reloaded. Yves Rizoud 2009-06-29 00:28:58 +00:00
  • d4dcba62a6 More work on fonts/skins Yves Rizoud 2009-06-28 21:50:01 +00:00
  • 48c98b2234 -Remove the spaces I just added when looking for the fonts, -No need to check if a pointer is NULL before freeing it, free() takes care of that, -Removed useless variables after Yves cleanup Adrien Destugues 2009-06-28 19:36:06 +00:00
  • cc64de7e1f -Pad font names with spaces, as we need that to clear the dropdown button from previus selection -Made the font dropdown a little larger to hold 'fairlight' (quite a big group ;)) -Don't list fonts in the skin fileselector Adrien Destugues 2009-06-28 19:27:20 +00:00
  • a619897862 Don't free the GrafX2 logo when exiting the splash screen, it's now part of a struct and we free the struct at exit. This made the linux version crash. If you find it's memory waste, then make the logo a pointer instead of an array of bytes in the struct. Adrien Destugues 2009-06-28 19:18:30 +00:00
  • 67dbb218a2 GUI skins and fileselectors: cleaned up a little Yves Rizoud 2009-06-28 18:19:21 +00:00
  • ab9671b286 Separated font graphics from skin graphics. WIP, a lot is still hard-coded (font list) or not coded at all (save/load in ini, and match in skin selection screen). Yves Rizoud 2009-06-23 21:04:58 +00:00
  • 77c87dcc24 Linux build fix. Adrien Destugues 2009-06-22 21:42:28 +00:00
  • 230baa77e7 GUI Listboxes: fixed mouse cursor display while using keyboard; Skin selector: tweaked position and made it ignore files that don't end in .PNG .GIF, or those that start with '_'; Added 2 old fonts and 2 new ones (thanks Ilkke) as files skins/_fontname.png Yves Rizoud 2009-06-22 21:30:54 +00:00
  • 5a01415960 GUI Generic list control: now takes cursors and mousewheel shortcuts. Still some mouse cursor problems, but almost done. Yves Rizoud 2009-06-22 17:35:52 +00:00
  • f683d9ff2e GUI skins: The loader now recovers cleanly from errors and displays a message that says what's the problem in the image. Yves Rizoud 2009-06-21 18:34:57 +00:00
  • 164b538725 Fix 'Out of memory' message on machines with more than 4Gb free RAM (issue 182) Yves Rizoud 2009-06-20 19:08:13 +00:00
  • 0d54a9524f More work on List controls. Used in GUI Skin selector now Yves Rizoud 2009-06-18 19:43:40 +00:00
  • 7f3fd42f77 Started implementing generic 'List' controls. Currently in Text window, it's WIP, misses the initial display, no kb shortcuts, and untested with lists smaller than display area. Yves Rizoud 2009-06-17 23:49:56 +00:00
  • 1910a39fd4 Gui skins: Added memory checks and correctness Yves Rizoud 2009-06-17 19:38:55 +00:00
  • 1c53b5dd7f GUI skins: fixes INI ascending compatibility Yves Rizoud 2009-06-17 19:23:41 +00:00
  • 3b417545b2 Merged in the fix of Issue 180 from trunk r874 Yves Rizoud 2009-06-17 19:16:03 +00:00
  • cc4e60954f Fix issue 180: Quicksearch filenames and brush resize shortcuts don't work Yves Rizoud 2009-06-17 18:28:41 +00:00
  • a219287e23 Typo. Sorry ! Adrien Destugues 2009-06-17 16:09:24 +00:00
  • 51bcccce47 Yay ! A 10 hours trip in the train is good for my opensource productivity :) Adrien Destugues 2009-06-17 15:11:32 +00:00
  • 1b2fa69f6a GUi skin elements are allocated on the heap Yves Rizoud 2009-06-16 19:43:37 +00:00
  • 62738a1526 Begin of work on the file selector. Quite ugly, i tried to reuse code from the other fileselectors, but I failed. Adrien Destugues 2009-06-15 21:43:21 +00:00
  • aff6fe50b2 -Renomed skins. "base" becomes "classic", "ilkke" becomes "modern" (as I heard Ilkke is working on yet another skin...). -Converted them to png (base was a .gif but this is a bad format :)) -Changed dates in the splash screen to say coyright 2007-2009. Adrien Destugues 2009-06-15 20:09:57 +00:00
  • 2189d00ec4 Merged buttons 'Grad rectangle' and 'Gradient menu' (issue 107) Yves Rizoud 2009-06-15 19:53:12 +00:00
  • 04ff11c4d9 Fixed typo in previous commit Yves Rizoud 2009-06-15 18:46:23 +00:00
  • dad7e3d363 Help for the quick translucency shortcuts. Fix a bug in Help where a hotkey highlight was on wrong position if an escaped character preceded it (The case never occured in 2.0) Yves Rizoud 2009-06-15 18:41:36 +00:00
  • 69dbed8d04 Fix default shortcuts from previous commit (in code). Implemented user-definable mouse-click speed and double-keypress speed. Yves Rizoud 2009-06-14 20:15:20 +00:00
  • 8478d29373 Quick shortcuts for numeric transparency levels (Issue 154) (defaults 1-9 and 0). Shortcut for all effects off (default shift-E) Yves Rizoud 2009-06-14 19:48:03 +00:00
  • fb05f785bd (Dev) Makefile: File names from 'make ziprelease' are now grafx2-2.1wip862-win32.zip if label is '2.1wip', and grafx2-2.1.862-win32.zip if label is '2.1' Yves Rizoud 2009-06-14 18:22:29 +00:00
  • 7cb2519e2a (Dev) "trunk" is now labelled "2.1 wip". Makefile: "make ziprelease" now automatically names archives according to the version label from pversion.c Yves Rizoud 2009-06-12 21:15:46 +00:00
  • daa38a37fb Creating a branch for maintenance of the latest release Yves Rizoud 2009-06-12 18:48:28 +00:00
  • 2ff4d17c95 git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@859 416bcca6-2ee7-4201-b75f-2eb2f807beb1 Franck Charlet 2009-06-11 17:28:41 +00:00
  • 283939b3de Fixes issue 177 : screenmode listing error. Adrien Destugues 2009-06-11 17:20:02 +00:00
  • ad6a2442ec Source archives are now packed in a directory, which is the usual way to go on unix. Adrien Destugues 2009-06-11 16:57:40 +00:00
  • 8987f07c8a Fix many bugs introduced by the gp2x "hack" of not having a windowed mode. Still not working perfectly, but at least i can manage to get the program in 320x240 by default on gp2x, without modifying the config files. Adrien Destugues 2009-06-11 16:19:45 +00:00
  • 92b5727994 Proper way of detecting windowed modes to not display a ratio in the window list. Adrien Destugues 2009-06-11 14:35:51 +00:00
  • 783418fd57 [gp2x] config must be written only in the local directory. You don't want to mess with the internal flash ram holding the firmware ! Adrien Destugues 2009-06-11 14:20:11 +00:00
  • d0f974227b Reverted default window size to 640x480. Updated NSIS installer script. Yves Rizoud 2009-06-10 19:09:15 +00:00
  • 75ec0abe5a Removed two old macros that are now useless. Adrien Destugues 2009-06-09 14:31:56 +00:00
  • 4b3e8edfe8 -Added codename "Summer Sunset" to the helpscreen -Centered the text on the helpscreen as there will be no logo for this release there -Updated the doxygen files for the official 2.0 release Adrien Destugues 2009-06-09 14:22:26 +00:00
  • 9ae2ead8dd Fixed (GP2X): 320x240 is now the Default and 'Safe' videomode. Yves Rizoud 2009-06-07 16:23:33 +00:00