2152 Commits

Author SHA1 Message Date
Thomas Bernard
8dfd6d6c97 Handle PIXEL_TALL3 mode in file formats (GIF) 2018-07-12 11:54:12 +02:00
Thomas Bernard
0285f37fc2 update version in gfx2.rc when building with MSVC 2018-07-11 11:56:57 +02:00
Thomas Bernard
5f5d7ba1b0 win32 : fix byteswapping function for MSVC/gcc 2018-07-11 11:54:54 +02:00
Thomas Bernard
1d2ca270b1 update generateversion.vcxproj 2018-07-11 11:54:22 +02:00
Thomas Bernard
b5d64d35d4 win32/sdl: fix icon resource ID 2018-07-11 11:54:22 +02:00
François Revol
60a10f0754 atari: allow building for ColdFire for the FireBee
While GCC is usually built with multilib to allow targetting the m5475
instead, it's simpler to just have both toolchains around and change the
host triplet prefix, and each version of the libs installed separately.

This could be done by passing ARCH=m5475 MCPU= to make.
2018-07-09 01:32:40 +02:00
François Revol
f7e46b97e9 atari: work around 'longjmp' undeclared error
This seems to be due to glibc headers being installed instead of MiNT
ones...
2018-07-09 01:31:17 +02:00
François Revol
7d6051841b atari: check for libpng 14 and 16 as well
The NetSurf SDK currently has 16 already.
2018-07-09 01:30:29 +02:00
Adrien Destugues
6dc5b89232 Try to fix some doxygen warnings. 2018-07-08 08:04:00 +02:00
Thomas Bernard
2eec1f805b build Mac OS X binary with SDL2 2018-07-07 15:31:41 +02:00
Thomas Bernard
a62e97f986 travis build for x11/sdl2 as well 2018-07-07 15:31:41 +02:00
Thomas Bernard
28249f13b5 use BRANCH from TRAVIS_BRANCH 2018-07-07 15:31:41 +02:00
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