Yves Rizoud
8bdd163ede
Huge rewrite of the file loading/saving system. Normally safer in case of problem. Added incremental safety backups at regular intervals in the 'application data' directory (Windows) or $HOME/.grafx2 (unix). Keeps 8 files, saves every 30-60s and/or every 10-30 clicks.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1245 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-01-13 02:09:47 +00:00
Adrien Destugues
c93a9bd1c1
Mask and Stencil shortcuts were reversed.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1244 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-01-12 23:14:38 +00:00
Adrien Destugues
ca6a10216b
-Some support for TRU64 unix. I don't have SDL on this machine so I'm
...
not sure how far I can get it...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1243 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-01-12 12:26:27 +00:00
Adrien Destugues
8d01995a80
Fix makefile for make install under linux.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1241 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-12-27 16:30:06 +00:00
Adrien Destugues
9f9eede8ab
Fix the bmp saving (once again).
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1240 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-12-23 17:34:25 +00:00
Adrien Destugues
107875b768
The .cfg file disapeared but was still in the mac bundle building.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1239 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-12-17 12:20:22 +00:00
Adrien Destugues
80d5b68808
Update DPaint skin.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1238 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-12-16 10:26:45 +00:00
Yves Rizoud
cf54bb5f29
Implemented back the Mask mode. Fixed a historical bug of memory violation if you used Mask with images of different sizes (would crash all platforms except DOS)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1237 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-12-07 20:39:32 +00:00
Yves Rizoud
141a523c46
Fix issue 271: Loading 16/24/32bit images wasn't working since the layers. oops.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1236 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-12-03 02:14:31 +00:00
Adrien Destugues
9507cf8df2
Fixed missing include and const in brush factory.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1235 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-12-02 12:58:24 +00:00
Yves Rizoud
45524de886
Temporarily disabled Mask which is not implmented (it would crash on each use). Fixed instant crash in 'Copy to spare / Palette and remap' by doing actual layer-aware implementation
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1234 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-12-02 00:41:37 +00:00
Yves Rizoud
7d657e0c02
Fix issue 264: Undo/Redo/kill can leave no active or visible layer
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1233 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-12-01 23:51:34 +00:00
Yves Rizoud
7645d0844a
Fix weird mixing of layers from main and spare pages (Issue 259)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1232 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-12-01 23:05:22 +00:00
Adrien Destugues
247b228141
fixed issue #261
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1229 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-29 21:43:31 +00:00
Adrien Destugues
d55568f07a
fix issue #260
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1228 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-29 21:39:02 +00:00
Yves Rizoud
0a7bd889d1
Better command-line handling (issue 266) contributed by Pasi Kallinen
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1227 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-29 18:25:14 +00:00
Yves Rizoud
224902e18e
Some endianness fixes in load/save of formats KCF, IMG, CEL, IMG, BMP. Now all file operations are done directly with the right endianness.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1226 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-26 23:34:51 +00:00
Yves Rizoud
3538abadb9
Added support for hiding the main toolbar, keeping the status line and optionally layer bar. Made it the default behaviour of F10 / right-click 'hide', for testing and feedback. (IMO it's less unforgiving for new users, and we can provide alternative shortcut with old behaviour for veterans).
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1225 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-26 00:32:45 +00:00
Yves Rizoud
03cbcee632
Fix issue 258: Crash on non-Windows platforms when saving GIF
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1224 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-25 02:22:32 +00:00
Adrien Destugues
0be1f7bff1
-Load Lua's math library when running factory scripts, as this makes them a lot more useful (sin, cos, ...)
...
-Don't crash when Lua fails loading a script but does not return an error message.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1223 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-24 17:56:05 +00:00
Yves Rizoud
73ca64c9dc
Fixed issue 254: More room for filename in status bar
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1222 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-19 01:58:10 +00:00
Yves Rizoud
061bfccae6
Second fix for issue 252:Layer buttons redrawn over the tool bar when layer bar is hidden. An uninitialized variable wasn't detected and made the fix randomly successful.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1221 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-19 01:36:30 +00:00
Yves Rizoud
8c9321d98b
Fix issue 250: Alert box for image flattening is too wide. Implemented basic multi-line alert box (use explicit carriage returns).
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1220 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-19 01:24:10 +00:00
Yves Rizoud
776da3980d
Fix issue 251: random transparent color for new layers
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1219 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-19 00:13:12 +00:00
Adrien Destugues
21e3cfe959
Fix too long line in help for contour fill.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1215 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-18 21:28:02 +00:00
Adrien Destugues
4891065b44
This file is not needed anymore since a long time.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1214 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-17 21:53:08 +00:00
Adrien Destugues
2bf0e76a7c
Some cleanup of the misc folder to hold data for other platforms.
...
Added an icon for morphos
It would be nice if .ico, .gif and other datafiles moved to this misc folder, eventually .ini and .cfg too.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1213 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-17 21:52:42 +00:00
Adrien Destugues
825142eabb
This is actually not needed with an up to date and properly installed sdk.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1212 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-17 21:22:36 +00:00
Adrien Destugues
a055a9a51e
Fix buggy drawing in menu when using shortcuts.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1211 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-17 21:07:03 +00:00
Adrien Destugues
63191fec2f
Fix nasty bug whith skin management.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1210 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-16 23:09:06 +00:00
Adrien Destugues
c39f643808
Fix selecting colors in the menubar.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1208 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-16 22:04:11 +00:00
Adrien Destugues
5671297542
-Build "fix" for morphos
...
-Makefile fix for linux. This one should work ok on linux and windows as it did before, but not on amiga. The amiga packing procedure is quite different anyway, so I think that's ok.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1207 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-16 21:59:05 +00:00
Yves Rizoud
c6a783c741
Last try at multiplatform Makefile. If this don't work, revert my change and I'll add my windows-only packaging instructions as a new make target.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1205 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-16 00:35:19 +00:00
Yves Rizoud
af8e34c0d2
Updated credits
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1204 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-16 00:22:09 +00:00
Yves Rizoud
0dc74a7585
Added Jamon's skin and font to svn.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1203 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 23:51:20 +00:00
Yves Rizoud
951600da1e
Fix crashing bug when you click a layer button, hold it, and release past the edges of the layer buttons. Fix a display bug when layer bar is hidden and you use the shortcut actions.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1202 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 22:34:27 +00:00
Yves Rizoud
e2f4ed00f1
Fix a mouse dropping remaining when clicking layer color. Made the button pick current transp color when left-clicking, and set it on right-click.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1201 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 22:24:12 +00:00
Adrien Destugues
8612aa7303
More makefile fixes...
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1200 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 22:10:39 +00:00
Adrien Destugues
2d0cd44841
Fixes to the makefile :
...
-sed for creating pversion failed with bash.
-"else ifeq" does not work with morphos make.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1199 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 22:06:18 +00:00
Adrien Destugues
853d2b6cad
Two buttons were reversed in the layer bar.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1197 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 21:09:02 +00:00
Adrien Destugues
910e2248cf
Fix some palette display bugs (wrong position and size of cells) that happens when the menu zoom factor is bigger than 1. Introduced with the new stackable menus system.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1196 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 20:58:06 +00:00
Adrien Destugues
026e9c358e
Fix bmp saving.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1195 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 20:56:08 +00:00
Yves Rizoud
60d85deb41
Makefile fixes for packaging
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1194 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 19:40:37 +00:00
Yves Rizoud
883653480b
Working layer bar. Champagne!
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1193 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 19:24:04 +00:00
Yves Rizoud
353f5dbbd2
Display of layer icons with auto-size (not updated automatically yet, and no action on click)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1192 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 18:18:21 +00:00
Yves Rizoud
f7a5b23541
Support for textured toolbars of variable length. Grafx2 repeats the last two columns, so the dither pattern of Modern skin works.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1191 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-15 16:43:59 +00:00
Yves Rizoud
22b5dc56e5
Loading of Layer icons (unused atm.)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1189 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-14 23:04:06 +00:00
Adrien Destugues
528a6f1b53
-Update help for hide button
...
-Make F10 key show/hide the whole menu instead of just the layerbar.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1188 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-14 20:20:51 +00:00
Adrien Destugues
ac8b8748a7
Fixup help following buttons reordering.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1187 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-14 20:16:23 +00:00
Yves Rizoud
b558980cce
Missing files
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1186 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-14 19:26:06 +00:00