1700 Commits

Author SHA1 Message Date
Thomas Bernard
01a7200b5d
loadsavefuncs.c: fix build for win32 2019-11-09 02:57:42 +01:00
Thomas Bernard
d5953ad51a
move some functions from loadsave.c to loadsavefuncs.c 2019-11-09 02:42:33 +01:00
Thomas Bernard
90e5a61d0f C64: one more format 2019-10-20 18:12:15 +02:00
Jaume Delclòs Coll
bce6cc7aaa call strlen one less time 2019-10-08 23:14:48 +02:00
Jaume Delclòs Coll
3fc8c92ecd fix segfault 2019-10-08 20:52:20 +02:00
Thomas Bernard
1b0060caff Fix mouse emulation with X11 and Win32
see http://pulkomandy.tk/projects/GrafX2/ticket/147
2019-09-26 21:40:06 +02:00
Thomas Bernard
21f111eef7 Fix processing of comment lines in .GPL files
Gimp palette files
2019-09-16 01:10:30 +02:00
Thomas Bernard
24fee41e41
Allow closing window in more dialog
see http://pulkomandy.tk/projects/GrafX2/ticket/141
see e72bb8cab16a237f74db0cde1ed43e9f45ff0bd0
2019-08-14 23:24:12 +02:00
Thomas Bernard
7f4e1a10eb build with libtiff 3.9.6 2019-07-31 09:34:52 +02:00
Romain Graillot
9709d5dfc7 Fix switch makefile and enable switch build again 2019-07-30 10:21:40 +02:00
Thomas Bernard
7c58f10721
fix warning comparison of integer expressions of different signedness: 'int' and 'unsigned int' 2019-07-25 00:06:59 +02:00
Thomas Bernard
fed21439cc
fix warnings : No newline at end of file 2019-07-25 00:06:59 +02:00
Thomas Bernard
291e9469c5
fix unused variable warning 2019-07-25 00:06:59 +02:00
Thomas Bernard
e56d193354
fix warning: 'r' may be used uninitialized in this function 2019-07-25 00:06:57 +02:00
Thomas Bernard
eb0b9eae62
remove unused argument warnings 2019-07-25 00:04:50 +02:00
Thomas Bernard
8c6eec6928
reduced Gui_loading_error_message to 256 bytes 2019-07-25 00:04:50 +02:00
Thomas Bernard
848ec95e92
fix warnings caused by sprintf()
note :
%hhu is C99, old mingw32 compiler complains about it
2019-07-25 00:04:41 +02:00
Thomas Bernard
b5751ebda8
error check in Get_program_directory() for linux 2019-07-25 00:04:41 +02:00
Thomas Bernard
2892f0330f
fix call to SDL_JoystickName() with SDL 1.2
SDL 1.2 :
const char *SDL_JoystickName(int index);

SDL 2.0 :
const char* SDL_JoystickName(SDL_Joystick* joystick);
2019-07-25 00:04:41 +02:00
Thomas BERNARD
0cea439da9
add support for reading HP-48 Grob format 2019-07-24 01:59:16 +02:00
Thomas BERNARD
911ad97646
miscfileformats.c: use GFX2_malloc() 2019-07-24 01:59:16 +02:00
Thomas BERNARD
9a084bca66
minor fixes for MacOS 2019-07-24 01:59:16 +02:00
Thomas Bernard
74fd2c8584 recoil 4.3.1 => 4.3.2 2019-07-16 20:46:24 +02:00
Thomas Bernard
f0bfce4337
update palette dialog help about key shortcuts
http://pulkomandy.tk/projects/GrafX2/ticket/126
2019-07-16 00:40:27 +02:00
Thomas Bernard
eae1ce9856
palette help: fix/complet palette scaling 2019-07-16 00:40:27 +02:00
Thomas Bernard
a8908dabb1 fix release of SHIFT (win32) 2019-07-12 23:36:27 +02:00
Thomas Bernard
f59e65f528
Fix "snap axis" which was accidentally disabled for non SDL versions 2019-07-08 23:28:49 +02:00
Thomas Bernard
21f815e2cd fix loading of some palette and gray PNGs
also fix log
2019-07-02 00:20:07 +02:00
Thomas Bernard
1f6ceeaa3a
support libpng compiled without iTXt support 2019-06-29 11:06:07 +02:00
Thomas Bernard
836ad157fa Load_PNG(): add debug messages and code comments 2019-06-29 10:25:57 +02:00
Thomas Bernard
a59aab8a31 Fix loading of Grayscale + Alpha PNG's 2019-06-29 10:25:17 +02:00
Thomas Bernard
b4abb9edff SaveGIF(): remove compilation warning 2019-06-29 10:24:29 +02:00
Thomas Bernard
dbaa8137e9
Fix htmldoc
- remove call to GFX2_Log() in Get_Key_modifiers()
- define X11_key_mod in generatedoc.c (API=x11)
2019-06-26 23:39:06 +02:00
Thomas Bernard
788d05111a SDL2 / X11 : implement Get_Key_modifiers()
important for function with holding SHIFT during mouse
movements
2019-06-10 23:21:31 +02:00
Thomas Bernard
db5feb25b6 show colors in status bar in the correct range (Gamma + RGB range) 2019-06-10 22:09:57 +02:00
Thomas Bernard
11004d048a readline.c: remove spaces before EOL 2019-06-09 20:07:20 +02:00
Thomas Bernard
f35b659ce9
fix double keystokes with SDL2
tested with both keyboard input and Virtual Keyboard

see http://pulkomandy.tk/projects/GrafX2/ticket/135
2019-06-09 20:06:03 +02:00
Thomas Bernard
41e25d2204
Save_IFF(): save CAMG chunk and detect EHB
Extra Half Bright

see http://pulkomandy.tk/projects/GrafX2/ticket/134
2019-06-09 02:03:13 +02:00
Thomas Bernard
0d821b178b
LoadIFF(): debug output about DPI and CAMG 2019-06-09 02:02:48 +02:00
Thomas Bernard
5a711ebd23
add -v option when running within valgrind 2019-06-09 02:01:35 +02:00
Thomas Bernard
0d646e8eff fix palette color cursor update
http://pulkomandy.tk/projects/GrafX2/ticket/100
2019-06-08 12:22:18 +02:00
Thomas Bernard
24bcf17ceb check error in Load_GIF() 2019-06-01 13:32:28 +02:00
Thomas Bernard
58eaeda164 Win32: browse Network Neighborhood 2019-06-01 13:15:57 +02:00
Thomas Bernard
c46dbe9132 win32: Memory_free() uses GlobalMemoryStatusEx() when available 2019-05-31 21:44:15 +02:00
Thomas Bernard
bf51f0d382 win32: check GetDiskFreeSpaceExA() return value 2019-05-31 21:44:12 +02:00
Thomas Bernard
2680ee40a0
Save_GIF(): fix update of nb_bits after writing last code
fixes http://pulkomandy.tk/projects/GrafX2/ticket/125
2019-05-30 09:07:59 +02:00
Thomas Bernard
a0b60f2e49
win32: fix long path display in fileselector 2019-05-30 08:28:29 +02:00
Romain Graillot
44d36c94dc Fix Switch port build 2019-05-29 19:53:10 +02:00
Thomas Bernard
6f97932ae1
win32: lua getfilename() returns long file name (converted to UTF8)
see http://pulkomandy.tk/projects/GrafX2/ticket/123
2019-05-28 16:24:18 +02:00
Thomas Bernard
5a292d744e fix wrong allocation size
fix bug introduced in d287d557106677ef0da052106d6b0cc5a001589a
2019-05-28 16:02:44 +02:00