2090 Commits

Author SHA1 Message Date
Thomas Bernard
1910637d91 get rid of versiontag file in favour of VERSIONTAG variable
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-07 15:31:41 +02:00
Thomas Bernard
b141ed6f90 also include sdl2 build in artifacts
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-07 15:31:41 +02:00
Thomas Bernard
17e82d70dd move Info.plist to src/ and include in source tarball 2018-07-07 15:31:41 +02:00
Thomas Bernard
01c82fe6ac fix "make clean" when not a git repository 2018-07-07 15:31:41 +02:00
Thomas Bernard
4edd85cf12 cleanup/simplify "make ziprelease"
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-07 15:31:41 +02:00
Thomas Bernard
27fe91a304 include gfx2.rc file in ziprelease 2018-07-07 15:31:41 +02:00
Thomas Bernard
c72b3ce5b7 Implement Pasting (with command-V) in OS X 2018-07-04 17:27:49 +02:00
Thomas Bernard
d0ac732d8e X11: fix for Mac OS X 2018-07-04 16:00:01 +02:00
Thomas Bernard
153363d52f Mac OS X : ignore -psn command line argument 2018-07-04 13:34:24 +02:00
Thomas Bernard
e29b97ffe2 X11: decode URI in drag&drop 2018-07-04 01:30:31 +02:00
Thomas Bernard
2a15d5f720 X11: fix drag&drop 2018-07-04 01:08:49 +02:00
Thomas Bernard
1d023c49e2 X11: open window on its previous position
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-04 01:05:32 +02:00
Thomas Bernard
80f2f681b3 remove leftover printf
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-03 14:47:52 +02:00
Thomas Bernard
d455f8ab93 X11 paste : proper charset conversion
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-03 14:18:53 +02:00
Thomas Bernard
b67e264026 Implementation of X11 pasting 2018-07-03 12:28:13 +02:00
Thomas Bernard
0d3ab36291 Drag&Drop implementation for X11
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-03 12:28:13 +02:00
Thomas Bernard
e8a9d7e700 add a missing blank line ;)
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-03 12:06:14 +02:00
Thomas Bernard
0ce37b39b6 error handling in Save_PI1()
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-02 19:58:26 +02:00
Thomas Bernard
8a018fdb82 fix Save_PI1()
the color cycling information was always overwriting the last 32 bytes
so the last 16 pixels were almost always saved black
2018-07-02 14:25:14 +02:00
Thomas Bernard
413346b0df libraw2crtc.c: add comments about CRTC 6845 registers 2018-07-02 13:09:11 +02:00
Thomas Bernard
de9d6b66d7 fix libraw2crtc
see http://pulkomandy.tk/projects/GrafX2/ticket/83
2018-07-02 13:09:11 +02:00
Thomas Bernard
e381177970 X11: set window icon
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-02 11:38:52 +02:00
Thomas Bernard
d5bd599461 X11: handle window resize and close 2018-07-02 11:38:52 +02:00
Thomas Bernard
74a8ad142f readline.c: properly handle input_char/input_key with different values
the code was relaying on Key codes being legal ASCII (ANSI) codes
which us the case with SDLK_* but not with XK_* codes
2018-07-02 11:38:52 +02:00
Thomas Bernard
e704ae45be X11: handle Keypad input correctly 2018-07-02 11:38:52 +02:00
Thomas Bernard
84070b43b2 fix display of filename in fileselector.
always redraw filename text after editing it
2018-07-02 11:38:52 +02:00
Thomas Bernard
734bad13e1 move KEY_* defines from global.h to keycodes.h 2018-07-02 11:38:52 +02:00
Thomas BERNARD
815e77aff3 Allow to compile for X11 under OS X 2018-07-02 11:38:52 +02:00
Thomas Bernard
c53b86d6c9 Fix Endian dependent code when compiled without SDL or SDL2
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-02 11:38:52 +02:00
Thomas Bernard
d7abcb36c9 better update of FILEVERSION in gfx2.rc 2018-07-02 11:38:52 +02:00
Thomas Bernard
d5d518864f update Win32 ressource with Makefile 2018-07-02 11:38:51 +02:00
Thomas Bernard
a81e0c1fb1 update Makefile.dep 2018-07-02 11:38:51 +02:00
Thomas Bernard
74cc365e8c Fix win32 Update_rect() 2018-07-02 11:38:51 +02:00
Thomas Bernard
77f36a1f8e x11 implementation 2018-07-02 11:38:51 +02:00
Thomas Bernard
a514f7e9a2 use MessageBox() to display error messages under Win32 2018-07-02 11:38:51 +02:00
Thomas Bernard
131e0f9630 win32 implementation of Update_status_line() 2018-07-02 11:38:51 +02:00
Thomas Bernard
18e942d486 Support fullscreen with SDL2 2018-07-02 11:38:51 +02:00
Thomas Bernard
099301721e Properly set icon for SDL2. Also use the .png which is better resolution 2018-07-02 11:38:51 +02:00
Thomas Bernard
53aa22263f Allow SDL2 window to be resized 2018-07-02 11:38:51 +02:00
Thomas Bernard
13883b7928 remove commented out code 2018-07-02 11:38:51 +02:00
Thomas Bernard
32f6cbfb5c forbid GFX2_Surfaces with 0 pixels 2018-07-02 11:38:51 +02:00
Thomas Bernard
01c6a9cd09 Fix Drop file with SDL/Win32. implement it with plain win32
we have to handle both unicode and non unicode builds
2018-07-02 11:38:51 +02:00
Thomas Bernard
cb2d479867 add GFX2_Get_Window_Handle() to get the win32 HWND
and use it
2018-07-02 11:38:51 +02:00
Thomas Bernard
b6dec6d3f7 fix link with SDL_ttf when cross compiling for windows 2018-07-02 11:38:51 +02:00
Thomas Bernard
c6fdb6064c Cleanup : rename Set_mode_SDL() to GFX2_Set_mode() 2018-07-02 11:38:51 +02:00
Thomas Bernard
af25970c09 Fix Joystick support (with SDL and SDL2) 2018-07-02 11:38:51 +02:00
Thomas Bernard
b4f4fcf51d SDL2: fix link with SDL2_ttf lib 2018-07-02 11:38:51 +02:00
Thomas Bernard
3b69ccb1ec SFont now uses T_GFX2_Surface instead of SDL_Surface 2018-07-02 11:38:51 +02:00
Thomas Bernard
6aaef13a6b Fix readline for Win32 and SDL 2018-07-02 11:38:51 +02:00
Thomas Bernard
238d49ce35 display OpenType fonts, small fixes in Win32 drawtext 2018-07-02 11:38:51 +02:00