3170 Commits

Author SHA1 Message Date
Thomas Bernard
b3baa57a36
Reduce usage of MAX_PATH strings in factory.c 2019-05-07 17:24:55 +02:00
Thomas Bernard
f5cc3a0aba
Remove some static length strings
There are too many MAX_PATH_CHARACTERS length string.
make Initial_directory, Data_directory, Config_directory
dynamically allocated.
2019-05-07 17:04:45 +02:00
Thomas Bernard
0c2ee6659a
add gfx2mem.c/.h: GFX2_malloc() to log allocation failures 2019-05-07 17:04:44 +02:00
Thomas Bernard
91e028794a
Fix UI palette remapping when pixel width > 1
Fixes bug #111
http://pulkomandy.tk/projects/GrafX2/ticket/111
2019-05-07 12:33:54 +02:00
Thomas Bernard
80dcf30ee8
3rdparty: update SDL2_ttf from 2.0.14 to 2.0.15 2019-05-04 19:18:32 +02:00
Thomas Bernard
56842618f1
3rdparty: check SDL2_ttf and SDL2_image versions 2019-05-04 19:15:36 +02:00
Thomas Bernard
07ad86698e
htmldoc: improve display 2019-05-03 22:12:11 +02:00
Thomas Bernard
e39a8a55a9
htmldoc: add the ability to choose the skin
skinselector hidden when JS is disabled
or when printed
2019-05-03 22:11:48 +02:00
Thomas Bernard
deed88bed4
Improve HTML doc : add icon and "Tooltip" 2019-05-03 22:11:39 +02:00
Thomas Bernard
2aa6376895
init: move button data to init_buttons.h 2019-05-03 22:11:39 +02:00
Thomas Bernard
067e382edd
add (c) Thomas Bernard 2019-05-03 22:11:39 +02:00
Thomas Bernard
1c9813fcac credit Romain Graillot for the Switch Port 2019-05-03 21:37:29 +02:00
Thomas Bernard
568ac6c29c
help: link to online help 2019-05-03 21:37:10 +02:00
Thomas Bernard
daef556449
credits: .GPX file format 2019-05-03 21:31:41 +02:00
Thomas Bernard
0207038295 msvc: build with zlib (for pixcen .gpx loading) 2019-05-03 20:11:28 +02:00
Thomas Bernard
70dd6e3efd msvc: _strdup() in input.c 2019-05-03 20:10:22 +02:00
Thomas Bernard
91c5d7833a
readline: Put cursor on clicked position
by default the cursor was always set at the end of the string.
Now it is where clicked.
see http://pulkomandy.tk/projects/GrafX2/ticket/103
2019-05-02 20:59:50 +02:00
Thomas Bernard
8614490026
add debug message for IFF bit depth saving 2019-05-02 15:45:14 +02:00
Thomas Bernard
6b9ee7cb3d
travis-ci: source /etc/profile.d/devkit-env.sh in before_script stage 2019-05-02 15:10:26 +02:00
Romain Graillot
d36e59ca9c Add Nintendo Switch support (including gitlab-ci, gitlab-pages etc.) 2019-04-28 11:18:23 +02:00
Romain Graillot
5d9aa6f969 Joystick smooth movement + joystick rework 2019-04-27 18:02:52 +02:00
Thomas Bernard
194864cac4
gitlab pages: show build date 2019-04-27 16:16:16 +02:00
Thomas Bernard
fcb327ce7c
move the +/- and the color preview in palette dialog 2019-04-27 14:48:29 +02:00
Thomas Bernard
b0175a22b2
Add "EHB" button in palette dialog.
allow to build an Amiga "Extra Half Bright" palette.
OCS/ECS rocks !
2019-04-27 13:36:46 +02:00
Thomas Bernard
159e26bb25 fix link with zlib.
GPX decoding uses zlib. It should be explicitely linked or else it produces
errors :

Linking ../bin/grafx2-sdl
/usr/bin/ld: ../obj/unix-sdl/miscfileformats.o: undefined reference to symbol 'uncompress'
//lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line
2019-04-27 13:12:45 +02:00
Thomas Bernard
7d8ebb9cd0
GPX debug log of background and border colors
our C64 multicolor constraint code assumes background color #0
which is bad :(

it needs improvement !
2019-04-27 13:11:43 +02:00
Thomas Bernard
4f0149b4e9
gitlab-ci bug workaround
I have jobs that succeed even though the script is failing :

Linking ../bin/grafx2-sdl2
/usr/bin/ld: ../obj/unix-sdl2/miscfileformats.o: undefined reference to symbol 'uncompress'
//lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:1040: recipe for target '../bin/grafx2-sdl2' failed
make[1]: *** [../bin/grafx2-sdl2] Error 1
make[1]: Leaving directory '/builds/miniupnp/grafX2/src'
Makefile:17: recipe for target 'grafx2' failed
make: *** [grafx2] Error 2
[...]
Job succeeded

https://gitlab.com/gitlab-com/support-forum/issues/1311
2019-04-27 13:04:25 +02:00
Thomas Bernard
1637be4661
gitlab-ci: move the JOB_ID saving command to after_script: 2019-04-27 12:44:07 +02:00
Thomas Bernard
682e1a77ad
Add support for loading the C64 pixcen .GPX format
Pixcen is a C64 picture editor under MS Windows :
http://hammarberg.github.io/pixcen/
2019-04-27 12:03:23 +02:00
Thomas Bernard
653593ba66
Fix unicode filename compare when wchar_t is not 16bit
Do not use wcscmp() which takes wchar_t arguments.
wchar_t bit width is system dependent. It is often 32bits.
Grafx2 supports 16bits wide characters

fixes b49fa1dfcc6209065c79f112b364a75f0d30e2b2
2019-04-27 11:41:56 +02:00
Thomas Bernard
e76adfe9d9 add checkversion for jpeg, libtiff, zlib & recoil 2019-04-26 21:30:10 +02:00
Thomas Bernard
0e735d83ae
libpng 1.6.36 => 1.6.37 2019-04-26 14:57:49 +02:00
Thomas Bernard
c5dc6c44c2
3rdparty: add check of latest available version of 3rdparty packages
use "make checkversions"
2019-04-26 14:39:37 +02:00
Thomas Bernard
3967c37268 update FreeType from 2.9.1 to 2.10.0 2019-04-18 11:00:54 +02:00
Romain Graillot
72d87c0d2a Fix virtual keyboard input and visual glitches 2019-04-11 19:47:49 +02:00
Thomas Bernard
da7b5d0b95
3rdparty: build and install Win32/atari/native files in specific directories 2019-03-20 15:48:54 +01:00
Thomas Bernard
9b2f256b63
3rdparty/Makefile: PKG_CONFIG_PATH => PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH add path to the default,
PKG_CONFIG_LIBDIR replace the default paths
2019-03-20 15:48:54 +01:00
Thomas Bernard
4dedc8c8a3
3rdparty/SDL_image: set PKG_CONFIG_LIBDIR 2019-03-20 15:48:54 +01:00
Thomas Bernard
8f02c2a141
3rdparty/SDL_image: prevent make to rebuild configure 2019-03-20 15:48:54 +01:00
Thomas Bernard
b49fa1dfcc Sort_list_of_files(): sort based on Unicode filename if available
This fix the problem with Win32 where the sorting was
done based on the "short filenames" such as
EXAMPLE~1.PNG, EXAMPLE~2.PNG, etc.
2019-03-20 14:16:23 +01:00
Thomas Bernard
0bf0d9b219 3rdparty: MSys/Mingw32: add -static-libgcc 2019-03-10 22:59:59 +01:00
Thomas Bernard
d8793cd85a win32: build with -mwindows 2019-03-10 22:59:06 +01:00
Thomas Bernard
9bbfad7b05
appveyor: generate win32installer 2019-03-09 15:15:20 +01:00
Thomas Bernard
cec5a628c8
appveyor: test: SDL2 build 2019-03-09 15:15:20 +01:00
Thomas Bernard
9e1633adb3
appveyor: enable windows symlinks 2019-03-09 15:15:20 +01:00
Thomas Bernard
1e16fe387d
appveyor: use 7z instead of zip 2019-03-09 15:15:20 +01:00
Thomas Bernard
1f93ebc77e
test. print-.VARIABLES 2019-03-09 15:15:20 +01:00
Thomas Bernard
609eb7061d
minor 2019-03-09 15:15:17 +01:00
Thomas Bernard
8d16b475b6
appveyor: add appveyor.yml 2019-03-09 15:12:19 +01:00
Thomas Bernard
d03f4fa70e
3rdparty/libpng: --disable-dependency-tracking 2019-03-09 15:12:19 +01:00