2808 Commits

Author SHA1 Message Date
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
282b472b71
build unicode fonts
init/update git submodules
2019-06-01 12:33:51 +02:00
Thomas Bernard
ee2ae58ed1
Add tool to generate unicode font for greek and hiragana (jp) 2019-06-01 12:33:40 +02:00
Thomas Bernard
01d67bcfcc
add hiragana and katakana test filenames 2019-06-01 12:33:40 +02:00
Thomas Bernard
e2a52d4d94
Add greek filename 2019-06-01 12:33:40 +02:00
Thomas Bernard
31634ccec0
fix tools/sdl_image_test/.gitignore 2019-06-01 12:33:40 +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
08f12baaba fix generateversion.vcxproj "Rebuild" command 2019-05-31 21:44:10 +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
Thomas Bernard
be30792e93
Save the "working" palette in palette editor
it was saving the picture palette, ie palette before
any modification in the palette dialog.

fixes http://pulkomandy.tk/projects/GrafX2/ticket/121
2019-05-27 10:27:01 +02:00
Thomas Bernard
d2777d79cb
add a Sega Mega Drive / Genesis drawing mode 2019-05-27 09:44:25 +02:00
Thomas Bernard
537334f327
win32: silent 2 warnings 2019-05-24 10:55:00 +02:00
Thomas Bernard
d287d55710
do not use MAX_PATH anymore in main.c 2019-05-24 10:43:39 +02:00
Thomas Bernard
fdb317ebdf
fix retrieval of program path for MinGW builds without sdl
force usage of "W" functions when not compiled with -DUNICODE
2019-05-23 11:42:25 +02:00
Thomas Bernard
cb78ac6136
win32: fix Get_current_directory() for unicode directories
it was returning things like
C:\TEMP\grafx2\test-à__??????\
instead of the ASCII short path :
C:\TEMP\grafx2\TEST-_~1\

see http://pulkomandy.tk/projects/GrafX2/ticket/45
2019-05-23 11:37:57 +02:00
Thomas Bernard
d4aa63964d
io.c: include <stdlib.h> to use free() 2019-05-21 21:53:13 +02:00
Thomas Bernard
16ecf7fb0a
fix API=x11 build 2019-05-21 21:52:31 +02:00
Thomas Bernard
562f5acd9a
SDL1.x/x11: try to get window state (maximized, etc.)
that might not work perfectly :)
2019-05-21 21:51:23 +02:00
Thomas Bernard
2d645edbc0 win32: save the "not maximized" window size
also fix the window start up position

see http://pulkomandy.tk/projects/GrafX2/ticket/102
2019-05-21 20:45:21 +02:00
Thomas Bernard
31d3719f26
SDL2: log SDL_WINDOWEVENT_MINIMIZED / SDL_WINDOWEVENT_MAXIMIZED / SDL_WINDOWEVENT_RESTORED 2019-05-21 17:23:40 +02:00
Thomas Bernard
d5cd358d72
do not disable magnifier when loading a picture if possible
see
http://pulkomandy.tk/projects/GrafX2/ticket/14
2019-05-21 14:18:12 +02:00
Thomas Bernard
a41793ea04
fix Best_video_mode() limit to 1024x768 2019-05-21 13:13:27 +02:00
Thomas Bernard
02c48d70cf
Load_PKM() log what is origin screen dimensions 2019-05-21 13:11:41 +02:00
Thomas Bernard
d8f30b5a8d
fix Merge_layer() prototype 2019-05-19 19:05:00 +02:00
Thomas Bernard
1dc7c746a2 SDL/SDL2: log more events 2019-05-19 00:06:23 +02:00
Thomas Bernard
e3a923c2bc ignore QUIT messages from the system during the quit dialog
fixes http://pulkomandy.tk/projects/GrafX2/ticket/116
2019-05-19 00:04:26 +02:00
Thomas Bernard
cbc6b96639
more debug output in Get_config_directory() and Get_program_directory()
readlink() returns the number of bytes written
2019-05-16 12:38:10 +02:00
Thomas Bernard
0eb715bd17
better error handling in Extract_path() 2019-05-16 12:28:11 +02:00
Thomas Bernard
01c67739d1
Add debug output 2019-05-16 11:52:37 +02:00
Thomas Bernard
450d5f06a4
Allow Analyze_command_line() to be executed earlier 2019-05-16 11:51:07 +02:00
Thomas Bernard
a96d0289f4
make install: install gfx2.png as well 2019-05-16 10:46:20 +02:00
Thomas Bernard
b04f26cac0 win32: Load FileName from clipboard as well
Tested from windows explorer
2019-05-11 13:02:15 +02:00