1584 Commits

Author SHA1 Message Date
Adrien Destugues
e19026860d Update the URLs in several place to stop pointing to googlecode.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2069 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2014-01-13 12:36:22 +00:00
Yves Rizoud
cac2d00dfb Add support for saving/loading cycling colors in formats PI1 PC1. Also probably fix an error in PI1 footer (Issue 535)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2067 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-08-30 17:21:40 +00:00
Yves Rizoud
4d6a7c95c5 Correct version label for trunk : 2.5wip
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2066 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-08-30 03:44:53 +00:00
Yves Rizoud
567cf087b0 Makefile fix for Windows. Looks like I didnt build libPNG exactly the same way
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2065 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-08-30 03:37:23 +00:00
Yves Rizoud
365cc8d50b Fix issue 539 : Freeze when palette is 'vertical' and number of rows is not a power of two
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2064 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-08-30 00:05:47 +00:00
Yves Rizoud
01543b7a8d Fix issue 535 : PC1 files created by Grafx2 can't be reloaded by Degas Elite
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2063 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-08-29 22:08:22 +00:00
Adrien Destugues
be1cffc1fb Add some useful scripts :
- ThomsonConstraints is yet another constraint checker
 - FontConvert extracts chars from a font as binary data


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2060 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-03-03 16:18:14 +00:00
Yves Rizoud
65eb4a54eb Lua bindings for sliders (not in GUI library yet)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2057 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-12 00:48:56 +00:00
Yves Rizoud
495245b17d Lua: gui library supports textboxes, for numbers or strings.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2056 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-10 20:14:08 +00:00
Yves Rizoud
ea72bfe13f Lua: work-in-progress library (made in Lua) for object-oriented GUI. Already implements windows, buttons, and dynamic labels.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2055 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-08 01:34:03 +00:00
Yves Rizoud
e499aa4767 Test dialog for the Lua Gui functions.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2054 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-07 00:57:22 +00:00
Yves Rizoud
24433a104c Lua: Added beginning of a Gui toolkit: windowopen, windowclose, windowdodialog, windowbutton, windowrepeatbutton, windowprint, windowinput, windowreadline. The latter two are unfinished and subject to change
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2053 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-07 00:56:01 +00:00
Yves Rizoud
37007e7a7b Lua: Running a script no longer systematically take an history step ('Undo/Redo'). This backup is now only performed on the first time that an image-modifying function is called, and only on layers/frames that need it. Also fix up selectlayer() a little.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2052 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-07 00:13:11 +00:00
Adrien Destugues
ee83b59464 Having colors equal to themselves in the XOR table is not a good idea.
Reintroduce a bit of scrambling again.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2051 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-03 18:15:15 +00:00
Adrien Destugues
72d8f5a49d Apply patch from #305 and #525. Use FontConfig on linux to get true type fonts instead of
the X11 functions.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2050 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-02 08:45:33 +00:00
Adrien Destugues
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.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2049 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-02 08:38:08 +00:00
Adrien Destugues
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


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2048 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-01-06 12:46:46 +00:00
Adrien Destugues
65194af002 Use some macro magic to avoid repeating the list of graphic primitives for each pixel renderer.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2047 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-01-06 11:23:24 +00:00
Adrien Destugues
8f76bce566 Quick try at issue #185 (XOR highlight optimal color repartition).
Untested, need to plug it at the right places and debug it.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2046 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-01-05 21:01:08 +00:00
Adrien Destugues
28c4677021 bugfinders: Use real name as requested
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2045 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-12-30 11:01:05 +00:00
Adrien Destugues
dc84858ca5 Add mikerinet to list of bugfinders.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2044 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-12-29 18:59:53 +00:00
Adrien Destugues
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

fixes #521, #522 and #524


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2043 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-12-29 18:58:07 +00:00
Adrien Destugues
613ad628dd Fix FreeBSD build and issue #517
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2041 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-12-05 20:26:40 +00:00
Adrien Destugues
7e164e6e84 Show SDL_Image error when loading a font fails.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2039 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-11-09 10:14:24 +00:00
nokturnal
afc6ee8e4d atari/mint fixed free ram display
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2038 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-11-04 15:38:40 +00:00
nokturnal
390ad46b96 atari/mint fixed gcc warnings, compilation fix
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2037 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-11-04 12:54:55 +00:00
Yves Rizoud
62c3d09569 Fix issue 515: Opening a 24bit image in command-line gives wrong mouse cursor (arrow)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2035 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-10-18 23:21:02 +00:00
Yves Rizoud
aa0ce85706 Fix issue 514: Palette changes that modify the pixels can't be undone
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2034 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-10-16 00:10:31 +00:00
Yves Rizoud
e87f9140c7 Fix issue 516: Some changes can't be undone on animations > 32 frames
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2033 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-10-16 00:07:42 +00:00
Yves Rizoud
20ed591264 Updated readme.txt...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2027 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-10-01 22:22:54 +00:00
Yves Rizoud
4e9733a83d Remove WIP label; Update Windows (NSIS) installer
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2024 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-10-01 20:59:35 +00:00
Yves Rizoud
46d3207c7e Makefile: fix missing files in packages: Tiler.lua, haiku.cpp, Grafx2_Prefix.pch, SDLMain.m, grafx2.info
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2023 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-10-01 19:11:36 +00:00
Yves Rizoud
b0624b17ac Default settings: 20 undo pages, 16x4 vertical palette
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2022 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-30 17:58:59 +00:00
Yves Rizoud
fbdde8d16c Issue 490: color 255 selected FG by default
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2021 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-30 16:25:52 +00:00
Yves Rizoud
919357ab46 Fix crash when loading 24-bit brushes
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2020 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-29 16:01:53 +00:00
Yves Rizoud
eb882524cd Brush factory: display current path on top
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2019 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-29 15:00:12 +00:00
Yves Rizoud
b7dd1bd0ec Fix compilation error from r2016
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2018 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-28 23:19:25 +00:00
Yves Rizoud
24e5467c14 Issue 497 cont'd. AROS: Set Amiga-C and Amiga-V as cut and paste (used in palette and text fields)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2017 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-28 23:02:29 +00:00
Yves Rizoud
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.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2016 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-28 22:33:10 +00:00
Adrien Destugues
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)

Fixes #492.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2015 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-28 18:19:31 +00:00
Yves Rizoud
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).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2014 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-28 00:19:57 +00:00
Yves Rizoud
5165312bff Upgrate Lua sample scripts to DawnBringer's 1.3 toolbox
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2013 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-28 00:04:55 +00:00
Yves Rizoud
effde4aee2 Issue 473: Fix mouse droppings in Brush rotate tool when you hold Shift
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2012 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-26 23:13:04 +00:00
Yves Rizoud
d8fd3d33a4 Fix issue 473: Brush-rotate cursor has display issues
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2011 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-26 00:37:49 +00:00
Yves Rizoud
007f15b657 Brush distort: Fix a big remapping bug that often caused the brush to disappear entirely after distort (all color zero)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2010 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-25 22:52:58 +00:00
Yves Rizoud
69f24bc69f Text tool: Fix issue 487 (pasting from clipboard 'resurrects' older long string) and fix a mouse cursor dropping.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2009 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-25 22:27:02 +00:00
Yves Rizoud
1efe6ec5be Fix issue 460: brush 180° rotation. Also, the keyboard shortcut had no effect at all
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2008 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-25 22:05:32 +00:00
Yves Rizoud
030f4a716f Splash screen asks the user for Layers/Anim mode
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2007 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-23 18:18:06 +00:00
Yves Rizoud
dc960c2f4e Fixed fileselector on linux, displayed always hidden directories but never 'parent dir'
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2006 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-22 17:58:23 +00:00
Yves Rizoud
f7d9cc1a90 Fixes support of Lua 5.0 and 5.1, and a compilation warning on Linux
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2005 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-22 17:51:37 +00:00