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
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
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
04f7c56179
Some layer functions plugged to layer menu bar
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1185 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-14 19:19:05 +00:00
Adrien Destugues
8923011906
Split buttons.c as it was > 5000 lines. It's still big however, but I had no other idea to split it porperly. Let's see that later.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1172 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-11 19:27:57 +00:00
Adrien Destugues
2dd1b85fc4
Split operatio.c as it was more than 5000 lines long, making it annoying to find your way inside.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1171 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-11 19:06:48 +00:00
Yves Rizoud
c150be2664
[layers] merged in the recent changes from trunk
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1162 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-10 20:35:09 +00:00
Adrien Destugues
74f723c3b0
Added save function for amstrad cpc scr images. No load available yet, and the code was pretty quickly hacked. Thanks to CloudStrife for providing libraw2crtc.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1158 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-07 16:45:22 +00:00
Adrien Destugues
98306a8f21
Linking with -lm is needed on linux to support bold, an experimental linker from the binutils.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1154 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-06 16:22:38 +00:00
Yves Rizoud
3ede1f3a56
[layers] NOLAYERS option at compile time. Unfinished.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1140 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-01 23:22:43 +00:00
Adrien Destugues
1a2ac678e0
Splitted loadsave.c :
...
- loadsave.c : common things
- fileformats.c : format that make a full backup of any picture without palette loss
- miscfileformats.c : formats that are not saving all the picture (palette only, pixels only, constrained palette)
I was not very precise in the splitting and we may rethink the flags that mark if a picture is fully saved or not... it was not updated after we decided to allow the full palette range 0.255 instead of 0.63, so most of the atari format were marked as saving everything.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1120 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-31 15:20:44 +00:00
Yves Rizoud
0ae98c2e56
Makefile fixes for lua packaging
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1102 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-29 23:35:59 +00:00
Yves Rizoud
0694f69c9c
trunk: Lua binding works on Windows.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1101 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-29 22:50:34 +00:00
Adrien Destugues
1934425972
Added "Brush Factory", allowing you to run a lua script to generate (or alter, untested yet) a brush.
...
Added a simple (and ugly) sample script.
This needs updates to the makefile for platforms other than linux.
TODO: add a listbox to select the script you want to run. Do we have a simple API to handle filelists yet ?
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1094 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-29 15:22:45 +00:00
Yves Rizoud
19decb6d4c
Trunk: Restored working behavior for version and pversion
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1088 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-21 23:00:58 +00:00
Adrien Destugues
93efc7e9e9
Everything compiles. Some kludges left regarding version and pversion. Now to get it to link...
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1037 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-19 23:49:52 +00:00
Adrien Destugues
b3f2deedac
... and fixes the build back.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1036 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-19 22:47:10 +00:00
Adrien Destugues
b12423d03b
Trying to compile on amiga with vbcc.
...
Removed some useless unixisms.
Still not working.
Hope I did not break too much things.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1035 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-19 22:41:51 +00:00
Adrien Destugues
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.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@927 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-16 12:57:11 +00:00
Yves Rizoud
260347ac21
Updated credits
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@909 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-09 01:08:02 +00:00
Yves Rizoud
72e6452d5b
Integrated Makefile changes from MagerValp (Issue 188 comment 4) for MacOSX; adapted Windows build slightly; Updated Help screens for list of bug finders.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@904 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-07 19:26:37 +00:00
Adrien Destugues
15a8c67db7
Patch by MagerValp to allow building on mac with make. Thanks !
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@902 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-07 13:58:37 +00:00
Pete Gordon
243b645383
Fixes to make it build on OS4 and the latest SDK
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@898 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-03 11:49:09 +00:00
Yves Rizoud
d4dcba62a6
More work on fonts/skins
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@890 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-28 21:50:01 +00:00
Adrien Destugues
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.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@869 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-15 20:09:57 +00:00
Yves Rizoud
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'
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@863 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-14 18:22:29 +00:00
Yves Rizoud
7cb2519e2a
(Dev) "trunk" is now labelled "2.1 wip". Makefile: "make ziprelease" now automatically names archives according to the version label from pversion.c
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@862 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-12 21:15:46 +00:00
Adrien Destugues
ad6a2442ec
Source archives are now packed in a directory, which is the usual way to go on unix.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@857 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-11 16:57:40 +00:00
Yves Rizoud
106912a5a0
Updated version number and README. Makefile can now change program version label, with 'make version LABEL=2.whatever
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@838 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 19:01:48 +00:00
Yves Rizoud
c2da50357a
Makefile fixes for make install, by 00.rgb.studios (Issue 173)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@836 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-04 23:43:08 +00:00
Adrien Destugues
23a72b39ee
Build fixes for AROS.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@794 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-10 07:26:09 +00:00
Yves Rizoud
7b5481e9c9
Source archives will now contain misc/grafx2.1 (source of man page), misc/grafx2.xpm (icon for all Linux) misc/grafx2.desktop (Gnome desktop entry)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@787 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-07 19:01:44 +00:00
Adrien Destugues
570e1b8865
Compilation sandbox fix.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@785 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-07 08:44:59 +00:00
Adrien Destugues
2fa494f77e
Removed postal address of the FSF since it's moving faster thant the website :)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@779 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 18:19:37 +00:00
Adrien Destugues
f01c210211
Fixed make uninstall for the .xpm and menu file.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@778 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 16:54:56 +00:00
Adrien Destugues
8eaf299c08
Added files from debian distro.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@777 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 11:41:27 +00:00
Adrien Destugues
e5fc3a9ef3
AmigaOS 68k build fixes by Artur Jarosik. Thanks!
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@770 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-03 17:45:10 +00:00
Yves Rizoud
e5f948076b
New: 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'
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@763 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-02 16:44:06 +00:00
Adrien Destugues
70a3b22afb
Fixes issue 144 : $(DESTDIR) aware build system.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@749 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-14 18:37:28 +00:00
Adrien Destugues
6823855cbb
small makefile fixes for gp2x.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@745 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-13 10:05:20 +00:00
Yves Rizoud
31756d2ee5
Updated 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.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@724 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-05 23:38:11 +00:00
Yves Rizoud
5655129401
Makefile: 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)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@716 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 13:38:45 +00:00
Yves Rizoud
927fafacbe
Moved GUI skin files to "skins/" sub-directory.
...
Update makefile (install and uninstall only copy and delete the basic skin)
Added Ilkke's GUI skin to svn.
Skin can be specified by command-line argument "/skin <file>" (relative to program data).
Grafx2's default FG and BG colors are now white and black (instead of 15 and 0).
Credits: Fixed a typo caused by mass translation ("GRAFX2 CREATED (by)").
Credits: Added TeeEmCe to bugfinders.
Updated helpfiles (Resolution, Save, Freehand-draw)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@707 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-30 23:50:40 +00:00
Yves Rizoud
eb781b9bd6
Renamed sources files to english words, updated makefile, recomputed dependencies.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@703 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-29 00:12:33 +00:00
Adrien Destugues
b6f529c90f
Removed some references to gfx2cfg i missed last time...
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@686 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-18 17:47:38 +00:00
Adrien Destugues
c6f4130efd
Removed Open Watcom support.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@680 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-17 12:19:55 +00:00
Adrien Destugues
cb1cac1b6f
removed gfx2cfg, we don't need it anymore.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@678 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-16 20:14:52 +00:00
Yves Rizoud
b347f5e04b
Source cleanup to help translation.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@669 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-13 21:42:26 +00:00
Adrien Destugues
b5a1fadbe0
Makefile cleanup suggested by Magnus Bergman. Thanks !
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@663 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-28 10:18:26 +00:00