1983 Commits

Author SHA1 Message Date
Thomas Bernard
bdaf4d6748 Fix en of line of WinInstaller_2*.nsi 2018-06-21 21:57:09 +02:00
Thomas Bernard
f8de20fc8d fix line endings of translate.pl 2018-06-21 21:56:47 +02:00
Thomas Bernard
3d922261e1 fix line endings in hexdump2grafxpal.py 2018-06-21 21:56:10 +02:00
Thomas Bernard
673d3836d2 Fix line endings and spaces in *.lua scripts 2018-06-21 21:54:15 +02:00
Thomas Bernard
6d08223660 update .gitattributes 2018-06-21 20:06:08 +02:00
Thomas Bernard
c546606652 travis-ci: add g++-mingw-w64-i686 package for libTIFF build 2018-06-11 10:24:39 +02:00
Thomas Bernard
f4c5c4bb1a Upgrade to recoil 4.3.0 2018-06-11 00:20:16 +02:00
Thomas Bernard
eb2a137f24 properly build libtiff with zlib and libjpeg 2018-06-11 00:13:09 +02:00
Thomas Bernard
4c9db787be gitlab-ci: add g++-mingw-w64-i686 package for libTIFF build 2018-06-11 00:13:09 +02:00
Thomas Bernard
63c39983fd lib TIFF version 3.4 => 4.0.9 2018-06-11 00:13:09 +02:00
Philip Linde
4122a3bfcf Use LF line endings for Readme_translate.txt
This is in order to work with "text=auto" in .gitattributes
2018-06-03 21:17:05 +00:00
Philip Linde
0936118568 Use separate operation-before storage for panning
This allows fast panning to be interrupt interrupting operations, like
color pick and click-zoom
2018-06-03 21:03:59 +00:00
Philip Linde
b8dbbf77fe Disallow panning mid-operation
This fixes issue #78
2018-06-03 21:03:59 +00:00
Philip Linde
b91cfe4ed3 Call Button_Quit and Button_Page with correct enum
These functions are called explicitly in a few places and need to be
handed the corresponding enum value to correctly get the button value.
Since they were previously called with -1, they would cause segfaults.
These seemed to happen when restoring backups or loading images to both
pages.
2018-06-03 20:03:34 +00:00
Thomas Bernard
6a1f5e21ff add alternate URL for libtiff 2018-06-01 14:51:18 +02:00
Philip Linde
b6cebc4edf Fix attribute clash quantization in update
It would previously undershoot, not quantizing to an area fully
enclosing the unquantized area.

This solves issue #79
2018-05-31 19:43:33 +00:00
Philip Linde
efe9f8406f Add missing cursors for operations
Some new operations were added in
f2d579695cf78bf3e538383bd5843347be0c6acf, but the corresponding cursor
settings were not added to the CURSOR_FOR_OPERATION table. This resulted
in wrong cursors for the brush grab operation and probably several more
operations. This commit adds the missing cursor settings.

This fixes issue #75
2018-05-28 17:52:14 +02:00
Thomas Bernard
30be9d975e Use mingw32-strip when compiling with WIN32CROSS=1 2018-05-22 18:00:28 +02:00
Thomas Bernard
3a29a653ca remove a warning in WIN32 build 2018-05-22 17:55:00 +02:00
Thomas BERNARD
56a3c9566d Program_version SVN_revision are now const char[] 2018-05-22 17:34:52 +02:00
Thomas BERNARD
e4fc1f8e62 realpath.c: include limits.h on all platforms except WIN32 2018-05-22 17:29:59 +02:00
Thomas Bernard
f459b83cee
Add mirror for downloading RECOIL
sourceforge.net is not reliable
2018-05-16 20:04:05 +02:00
Thomas BERNARD
9ff06cbdef Automatically update the version stored in English.lproj/InfoPlist.strings
This are the versions displayed in Finder info and "about Grafx2"
2018-05-15 17:56:45 +02:00
Thomas Bernard
d85e5ee893
Fix build from an extracted grafx2-2.5.*-src.tgz
we check if we are in a GIT working tree and load revision
from version.c if we are not.

also includes grafx2-2.5*-src.tgz in artifacts
2018-05-15 15:33:15 +02:00
Thomas Bernard
0890c4490d
Default to CC=gcc but allow to define other values
so it is possible to
> CC=clang make        (environment)
or
> make CC=gcc-5        (command-line)
2018-05-15 15:33:15 +02:00
Thomas Bernard
d4746ea72e
Fix MacOS file case in include
<corefoundation/corefoundation.h>
should be
<CoreFoundation/CoreFoundation.h>

Many MacOS FS are case insensitives, but not all, so we must use
the correct case.

Issue detected by the MacPorts buildbot : https://trac.macports.org/ticket/56490
2018-05-15 15:33:15 +02:00
Thomas Bernard
5865be3383
fix LUACOPT when cross compiling for WIN32 2018-05-15 15:33:15 +02:00
boomlinde
2639dec301 Add -size commandline argument 2018-05-14 19:46:19 +02:00
Thomas Bernard
36ad344673 fix build of Win32 installer 2018-05-14 00:34:09 +02:00
Thomas Bernard
994b950616 properly set GIT_BRANCH when building on gitlab-ci
https://docs.gitlab.com/ce/ci/variables/README.html
CI_COMMIT_REF_NAME

Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-05-14 00:05:19 +02:00
Thomas Bernard
af22ed7333 upgrading freetype from 2.9 to 2.9.1 2018-05-13 23:52:36 +02:00
Thomas Bernard
1147a8f49f build Win32 installer with gitlab-ci
call "make ziprelease" if needed
2018-05-13 23:33:42 +02:00
Thomas Bernard
d72fb40b27 Fix build of libSDL_ttf (ignore system installed freetype) 2018-05-13 23:33:36 +02:00
Thomas Bernard
f788d80669 gfx2.rc: include VERSIONINFO (for win32 .exe) 2018-05-13 21:30:29 +02:00
Thomas Bernard
5aa6dd5c7f WinInstaller.nsi: set install size info, include right DLLs 2018-05-13 21:30:27 +02:00
Thomas Bernard
29476bbfd1 WinInstaller: use full version, include sources, delete only scripts/samples_2.4 2018-05-13 21:30:25 +02:00
Thomas Bernard
f0084545fd add Icon resource when cross compiling for win32 2018-05-13 19:41:35 +02:00
Thomas Bernard
a995bc37b4 add .gitattributes 2018-05-07 16:41:25 +02:00
Thomas Bernard
98e4c6ff87 make installer script for version 2.5 2018-05-07 16:33:27 +02:00
Adrien Destugues
8e94f338df Fix "make install". 2018-05-06 19:16:32 +02:00
Adrien Destugues
60b5e5fd50 Prepare 2.5 release.
- Update help and credits
- Change version
2018-05-06 17:36:46 +02:00
Adrien Destugues
5918435cd8 Fix haiku/gcc2 build. 2018-05-06 17:02:38 +02:00
Adrien Destugues
89a05e6fbb Improve downloads for 3rd party sources.
* Set a max time of 2 minutes on curl downloads. In case of a broken mirror, there is no need to wait more than that.
* Let sourceforge decide which mirror to use for recoil, so if one goes down, we don't have to change manually.
2018-04-20 09:38:37 +00:00
Thomas Bernard
758bc0833c fix Load_IFF() when bpp=0 ! 2018-04-18 18:10:16 +02:00
Thomas Bernard
c6014da99f FLI/FLC: fix loading of "empty" frames 2018-04-16 13:29:03 +02:00
Thomas Bernard
713bf5a590 Add explicit comments on file format constants 2018-04-16 13:09:40 +02:00
Thomas Bernard
b83d51d2f9 use .flc as default for FLI/FLC format, not to be confused with C64 FLI 2018-04-16 13:08:46 +02:00
Thomas Bernard
c651d0c33a Save_IMG() remove fclose() for file not open 2018-04-16 12:31:12 +02:00
Thomas Bernard
bb7b187275 Load FLI/FLC autodesk animator files. 2018-04-16 07:03:17 +00:00
Thomas BERNARD
28c755a776 be compatible with old 'which' supplied with OS X 10.4 2018-04-06 20:13:36 +02:00