Commit Graph

  • 72d8f5a49d Apply patch from #305 and #525. Use FontConfig on linux to get true type fonts instead of the X11 functions. Adrien Destugues 2013-02-02 08:45:33 +00:00
  • 1dce247656 Improve XOR table computation. Set the initial state to XOR[i]=i, so that on very low color images, the algorithm will try to swap around the first colors. Adrien Destugues 2013-02-02 08:38:08 +00:00
  • 878c926ce4 Fix issue 185 (XOR highlight) : * Use a simple optimization algorithm to compute a good set of XOR color pairs * Algorothm is not very optimized (complexity is up to n^3). In practize, it stabilizes after 2 to 3 rounds of swapping colors * Use this color table for all XOR effects * Setting for grid color is now removed Adrien Destugues 2013-01-06 12:46:46 +00:00
  • 65194af002 Use some macro magic to avoid repeating the list of graphic primitives for each pixel renderer. Adrien Destugues 2013-01-06 11:23:24 +00:00
  • 8f76bce566 Quick try at issue #185 (XOR highlight optimal color repartition). Untested, need to plug it at the right places and debug it. Adrien Destugues 2013-01-05 21:01:08 +00:00
  • 28c4677021 bugfinders: Use real name as requested Adrien Destugues 2012-12-30 11:01:05 +00:00
  • dc84858ca5 Add mikerinet to list of bugfinders. Adrien Destugues 2012-12-29 18:59:53 +00:00
  • 92e438bde5 * Add codenet lua script (linux only for now) to send pictures to a runnning C64 * Fix C64 multicolor format : - Improve background color detection - Do not save as FLI unless the file extension matches Adrien Destugues 2012-12-29 18:58:07 +00:00
  • 613ad628dd Fix FreeBSD build and issue #517 Adrien Destugues 2012-12-05 20:26:40 +00:00
  • 7e164e6e84 Show SDL_Image error when loading a font fails. Adrien Destugues 2012-11-09 10:14:24 +00:00
  • afc6ee8e4d atari/mint fixed free ram display nokturnal 2012-11-04 15:38:40 +00:00
  • 390ad46b96 atari/mint fixed gcc warnings, compilation fix nokturnal 2012-11-04 12:54:55 +00:00
  • 62c3d09569 Fix issue 515: Opening a 24bit image in command-line gives wrong mouse cursor (arrow) Yves Rizoud 2012-10-18 23:21:02 +00:00
  • aa0ce85706 Fix issue 514: Palette changes that modify the pixels can't be undone Yves Rizoud 2012-10-16 00:10:31 +00:00
  • e87f9140c7 Fix issue 516: Some changes can't be undone on animations > 32 frames Yves Rizoud 2012-10-16 00:07:42 +00:00
  • 20ed591264 Updated readme.txt... Yves Rizoud 2012-10-01 22:22:54 +00:00
  • 4e9733a83d Remove WIP label; Update Windows (NSIS) installer Yves Rizoud 2012-10-01 20:59:35 +00:00
  • 46d3207c7e Makefile: fix missing files in packages: Tiler.lua, haiku.cpp, Grafx2_Prefix.pch, SDLMain.m, grafx2.info Yves Rizoud 2012-10-01 19:11:36 +00:00
  • b0624b17ac Default settings: 20 undo pages, 16x4 vertical palette Yves Rizoud 2012-09-30 17:58:59 +00:00
  • fbdde8d16c Issue 490: color 255 selected FG by default Yves Rizoud 2012-09-30 16:25:52 +00:00
  • 919357ab46 Fix crash when loading 24-bit brushes Yves Rizoud 2012-09-29 16:01:53 +00:00
  • eb882524cd Brush factory: display current path on top Yves Rizoud 2012-09-29 15:00:12 +00:00
  • b7dd1bd0ec Fix compilation error from r2016 Yves Rizoud 2012-09-28 23:19:25 +00:00
  • 24e5467c14 Issue 497 cont'd. AROS: Set Amiga-C and Amiga-V as cut and paste (used in palette and text fields) Yves Rizoud 2012-09-28 23:02:29 +00:00
  • 4f74d16982 Issue 497: Right-Windows key (aka Right-Super key) now acts as the Meta modifier. Meta modifier is now labelled A (specific graphic) on AROS and Super on all platforms besides OSX which has its own character. Added a few defaults AROS-specific secondary default shortcuts. Yves Rizoud 2012-09-28 22:33:10 +00:00
  • 76222af12a * Brush factory: Drive entries in fileselector don't have an icon on some platforms * File selector: remove BeOS quirk for getting home directory (the OS was fixed), and try to guess the drive type for UNIX OSes (untested) Adrien Destugues 2012-09-28 18:19:31 +00:00
  • 26613ec440 Program now remembers favorite mode layers/anim, based on last time you switched in splash screen or toolbar. Fixed graphic behavior when mode 5 is enabled/disabled, and added a safety (colors <4). Yves Rizoud 2012-09-28 00:19:57 +00:00
  • 5165312bff Upgrate Lua sample scripts to DawnBringer's 1.3 toolbox Yves Rizoud 2012-09-28 00:04:55 +00:00
  • effde4aee2 Issue 473: Fix mouse droppings in Brush rotate tool when you hold Shift Yves Rizoud 2012-09-26 23:13:04 +00:00
  • d8fd3d33a4 Fix issue 473: Brush-rotate cursor has display issues Yves Rizoud 2012-09-26 00:37:49 +00:00
  • 007f15b657 Brush distort: Fix a big remapping bug that often caused the brush to disappear entirely after distort (all color zero) Yves Rizoud 2012-09-25 22:52:58 +00:00
  • 69f24bc69f Text tool: Fix issue 487 (pasting from clipboard 'resurrects' older long string) and fix a mouse cursor dropping. Yves Rizoud 2012-09-25 22:27:02 +00:00
  • 1efe6ec5be Fix issue 460: brush 180° rotation. Also, the keyboard shortcut had no effect at all Yves Rizoud 2012-09-25 22:05:32 +00:00
  • 030f4a716f Splash screen asks the user for Layers/Anim mode Yves Rizoud 2012-09-23 18:18:06 +00:00
  • dc960c2f4e Fixed fileselector on linux, displayed always hidden directories but never 'parent dir' Yves Rizoud 2012-09-22 17:58:23 +00:00
  • f7d9cc1a90 Fixes support of Lua 5.0 and 5.1, and a compilation warning on Linux Yves Rizoud 2012-09-22 17:51:37 +00:00
  • 01690f7df1 Fix compilation error on Linux, introduced by r1994 (issue 506) Yves Rizoud 2012-09-22 17:13:48 +00:00
  • 80fc7da7f6 Fix issue 462: Save/Load path problems: Main, Spare and Brush now have completely distinct fileselector settings. Yves Rizoud 2012-09-22 16:47:39 +00:00
  • 5a2e556f18 Fix a problem when exporting a single layer or anim frame, the chosen format was kept as the file's 'current format'. Also improve Brush load/save which has now mostly separate settings Yves Rizoud 2012-09-21 20:10:33 +00:00
  • 440f04ad4f Fix issue 508: corrupted graphics when switching between layers and anim modes Yves Rizoud 2012-09-21 18:54:53 +00:00
  • 2e16f0bec3 Lua version now displayed in stats. Now using Lua 5.2 on Windows. Add modified gfx2def.ini, forgotten in previous revision Yves Rizoud 2012-09-19 21:09:07 +00:00
  • 144a28412b Issue 453 : Virtual keyboard setting Yves Rizoud 2012-09-18 23:41:55 +00:00
  • b31cf6b61e Lua inputbox() : Fix an issue with label lines: putting a label at line N was disabling the Nth control button on the screen. Yves Rizoud 2012-09-18 21:53:41 +00:00
  • fdedfd628b Fix an incomplete screen update when you click the top of a button (pressed state), was only visible on toolbar Anim (when menu ratio is x2 or x3) or layers/status (when menu ratio is x3). Yves Rizoud 2012-09-18 21:04:55 +00:00
  • 48bb895147 Fixed side effect of issue 498 in fileselector. Also fixed possible crash when you change format filter while highlighted filename has less than 3 characters, and made the display 'follow' selected file/dir when you change filter if it's still in list. Yves Rizoud 2012-09-17 23:40:09 +00:00
  • 95b537e5f0 Fix issue 506: Missing 'parent directory' in fileselector Yves Rizoud 2012-09-17 21:11:44 +00:00
  • 56cdbc4c10 Issue 505: Support for saving IFF/ILBM format, compatible with Deluxe Paint 3 Yves Rizoud 2012-09-15 18:05:44 +00:00
  • 3ae0ff5edf Lua inputbox: support for labels. Labels are defined with min=max=0 Yves Rizoud 2012-08-24 13:46:42 +00:00
  • 5d69b71cf9 Issue 501: Lua function run() now converts Unix 'parent directory' to AROS format. To be tested/reviewed on the actual platform! Function also converts antislashes to slashes on all platforms. Yves Rizoud 2012-08-15 17:15:49 +00:00
  • d616d44f97 AmigaOS,MorphOS,AROS: show the "assigns", too. mazzearos 2012-08-14 12:16:18 +00:00
  • f507cb7bcb Fix error handling in Lua function run(). Made the samples use run() instead of dofile() Yves Rizoud 2012-08-11 22:06:11 +00:00
  • b1f6a0329b Issue 494: fixed code to compile as well with Lua 5.1 and 5.2 Yves Rizoud 2012-08-11 21:16:21 +00:00
  • a43c9eb31b Yet another fix for GIF loading of animations. Fixes case when Backcolor is different from Transparent color, such as this image http://i49.tinypic.com/35j08j4.gif (WIP by Hapiel) Yves Rizoud 2012-08-11 20:38:06 +00:00
  • de1c8f9a8e Lua: added run(), which works like dofile() but supports nested calls with subdirectories, and includes a safety against infinite recursion. See also issue 501 Yves Rizoud 2012-08-11 18:38:50 +00:00
  • f0041625a7 Fix issue 498: Now in fileselector, clicking the filename clears it if the highlighted 'file' was a directory or drive or the 'parent directory' entry Yves Rizoud 2012-08-11 16:49:10 +00:00
  • a630a84822 Removed all usage of __attribute__((unused)), replaced by void cast which is supported both on GCC and VBCC Yves Rizoud 2012-08-11 16:19:07 +00:00
  • 8621253165 Oops, forgot to revert some test code with my previous commit (#1979). mazzearos 2012-08-05 08:58:26 +00:00
  • d28a1df60b Renamed Find_last_slash() to Find_last_separator() to make purpose more clear. mazzearos 2012-08-05 08:51:16 +00:00
  • d31b865482 Fixed RealPath() for AROS. Because we are building GrafX2 without Unix support we must use the "Amiga" way of defining the current path. Reverted setup.h. I had drawn wrong conclusions because of the buggy RealPath(). mazzearos 2012-08-04 07:39:18 +00:00
  • ce8fbe076d Started to add Lua support to AROS. mazzearos 2012-08-03 19:10:44 +00:00
  • 18886d86cb Added clipboard support for AROS. mazzearos 2012-08-02 22:10:04 +00:00
  • 12501833df Two more fixes for AROS to avoid paths like volume:/file. mazzearos 2012-08-02 18:26:04 +00:00
  • 469431446e Fix for my previous commit (r1973): Print only the volume name. Limit length to 8 because exceeding the requester border leeds to crashes. mazzearos 2012-08-02 16:51:38 +00:00
  • 7e7c718d40 AROS has working statfs(), so lets use it for printing the free disk size. mazzearos 2012-08-02 16:02:33 +00:00
  • c68f05cda5 Some fixes for AROS: src/text.c: Added path for truetype fonts. mazzearos 2012-08-02 13:02:00 +00:00
  • ce2d12a0a8 AROS: check for ':' to avoid paths like PROGDIR:/filename. mazzearos 2012-08-02 10:56:08 +00:00
  • 113d6423b4 src/init.c: bail out if skin_name or font_name is "". Fixes a crash on AROS mazzearos 2012-08-02 09:19:07 +00:00
  • 7613093df9 Fix issue 496: Some animated GIF images don't load well. Also fixed the handling of transparency in preview (fileselector) and loading anim GIF as a brush loads first frame. Yves Rizoud 2012-07-12 22:27:49 +00:00
  • 2aa72730ad Fix issue 495 : Contour fill crashes on new anim frame, and possibly random crashes when adding anim frames Yves Rizoud 2012-07-10 23:03:29 +00:00
  • 86d67e4658 * Fix CPC palette for Mode 5 files : add 'undocumented' color codes * Fix "layer support" detection, it didn't work for Mode 5. Adrien Destugues 2012-06-24 18:03:21 +00:00
  • dee88e4517 Fix a memory corruption that's been lurking in 'setpicturesize' (for Lua scripts) since r1611 (September 2010) but only affected multi-layered images. Yves Rizoud 2012-06-21 18:03:54 +00:00
  • b437d458d4 CPC Mode 5 fixes : * Be case unsensitive when looking for the GFX-file, * When an underlay is hidden, do not use it and replace it with color 0, 1, 2 or 3. Allows to see pixel data alone or disable rasters on one color, as it's possible to get confused quite easily. Adrien Destugues 2012-06-13 19:50:35 +00:00
  • ba46f1fd21 * Use the left triangle char for parent directory instead of '<-' * Make sure parent directory is alway listed first, even when some dir names start with ! (yes, I do use that, as a trick to make sure they list first) Adrien Destugues 2012-06-09 21:00:49 +00:00
  • d4d57f750d In brush factory, when the selected entry is not a file, display the full path in the description window. Since the factory can open in an empty or even non-existing (!) dir, this is helpful to locate where you are. Adrien Destugues 2012-06-09 20:41:05 +00:00
  • ff9f228b5f On Haiku, there are two different versions of gcc available (gcc2 and gcc4). Since mixing them in the same binary result in linker error, build them in separate dirs. Adrien Destugues 2012-06-02 09:05:54 +00:00
  • 125207cfc8 Build fix on Debian/kFreeBSD. I hope it doesn't create problems with the (older) libc version in Haiku... Adrien Destugues 2012-06-02 08:54:44 +00:00
  • c87fa6ede7 Fix a graphical mouse bug that happened when toolbar was hidden and you moved the mouse from layer button to image. Fix layer preview that disappeared when you clicked on layer button Yves Rizoud 2012-05-14 14:05:12 +00:00
  • 191aa87172 Remove debug printf Yves Rizoud 2012-05-13 16:55:06 +00:00
  • 7443239566 Fix issue 477: Crash when browsing drives that have no 'parent directory' entry Yves Rizoud 2012-05-13 14:55:33 +00:00
  • 5864569bd6 Updated version of skin 'Scenish' by iLKke Yves Rizoud 2012-05-13 13:19:08 +00:00
  • 493d998375 Use pkg-config to detect libpng when building for unix, this helps with Debian package system. Adrien Destugues 2012-05-13 07:02:13 +00:00
  • 2aa9ea7f8e * Load Microsoft RIFF palette files * Make byte, word, dword, qword typedefs instead of defines. Adrien Destugues 2012-05-12 14:05:40 +00:00
  • 235f7d4d1c Just fix some warnings for Haiku as well. One of them was a missing prototype, the other was likely some strangeness in the definition of size_t. Adrien Destugues 2012-05-12 11:48:39 +00:00
  • 93c4832138 Saving as palette format no longer shows warning about lyaer/anim support. Loading a single file in command-line makes the spare use the same mode (layer/anim), so that the menus don't move when you switch Yves Rizoud 2012-05-08 18:55:17 +00:00
  • 2afad0b550 Fix issue 483 : Saving layers/anim as non-GIF saves only layer/frame 0. Now with anim it asks confirm then saves current frame, and for layers it allows saving current layer or flattened copy. Yves Rizoud 2012-05-08 15:39:48 +00:00
  • 21659e9aee Reverted Dpaint skin, I accidentally replaced some time ago with one of my variants Yves Rizoud 2012-05-05 23:56:10 +00:00
  • 3684509dc6 Fix the elusive crash that happened in anim mode after resizing the image; Thanks to iLKke again. Yves Rizoud 2012-05-05 23:48:22 +00:00
  • d29bbee941 Fix an error when loading layered image that used a transparent color different from zero ,which resulted in corrupted image. Thanks iLKke! Yves Rizoud 2012-05-05 16:01:14 +00:00
  • bbd0d0114c Fix an error in previous commit. Zero warnings on Windows too (Mingw, gcc 4.4.1-TDM) Yves Rizoud 2012-05-03 22:46:04 +00:00
  • d8bb1e1d55 Fix some mostly harmless warnings and re-generated dependencies. Now compiles with zero warnings on Linux (gcc 4.1.2) Yves Rizoud 2012-05-03 21:32:59 +00:00
  • 6316fc2add Fix second part of issue 459 : In anim mode, polybrush-grab with the right mouse button didn't clear the cut area. Yves Rizoud 2012-04-09 14:55:44 +00:00
  • 064bbebc5b Fix part of issue 459: In anim mode, Color-replacer didn't refresh the screen Yves Rizoud 2012-04-08 14:45:56 +00:00
  • 020e57846b Layer preview now only appears if there's at least 2 layers. Fixed the preview not reappearing after using a keyboard shortcut (ex: scrolling with arrow keys) Yves Rizoud 2012-04-07 19:31:20 +00:00
  • 4fe4ccd7b0 Added safeties for Mode5: Mode will only switch on if the image has the required layers and a compatible width. Yves Rizoud 2012-03-30 22:27:09 +00:00
  • 95482d3f17 Tilemap settings window: removed empty space, and the mode is switched ON if you exit this window using the OK button Yves Rizoud 2012-03-30 22:06:37 +00:00
  • c5f9bb354d Tilemap mode: added a missing tile refresh after using the scroll(pan) tool. Added a few Doxygen comments. Yves Rizoud 2012-03-30 21:46:54 +00:00
  • a137e063f0 Fix a crash that happened in Palette screen when right-clicking near top of screen: it opened the 'Copy/Paste' dropdown outside of screen edge. Now this dropdown menu only appears when you click in the palette area Yves Rizoud 2012-03-25 14:44:29 +00:00
  • 2e5b97eb41 More fixes on layer preview. Layer buttons now activate on click instead of release. Yves Rizoud 2012-03-25 14:23:50 +00:00
  • cd5b3346b0 More adjustments of layer preview : images less wide than a layer button are not zoomed more than normal size, and a max height is applied (Screen_height/4) Yves Rizoud 2012-03-24 19:50:06 +00:00
  • c6479d22f6 Layer pop-up preview now has higher resolution (bypasses pixel ratio and menu zoom) Yves Rizoud 2012-03-24 18:55:49 +00:00