2140 Commits

Author SHA1 Message Date
Thomas BERNARD
00cbe729b2 fix NO_X11 option support 2018-09-14 17:23:52 +02:00
Thomas BERNARD
1d1be59ec1 OS X: support building with NO_X11 option 2018-09-14 17:22:57 +02:00
Thomas BERNARD
7cf404904c X11: build when GenericEvent is not defined 2018-09-14 17:22:02 +02:00
Thomas Bernard
42c2b6af26 fix multiline titles
such as
    FILLED CIRCLES
     AND ELLIPSES

doc/html/grafx2_36.html

or
ADJUST OR TRANSFORM
    PICTURE

doc/html/grafx2_25.html
2018-09-06 17:54:43 +02:00
Thomas Bernard
6ae8d8153b Write Help as HTML files
specific binary to generate HTML doc : bin/generatedoc
see http://pulkomandy.tk/projects/GrafX2/ticket/8
2018-09-06 17:49:52 +02:00
Thomas Bernard
ee70156802 fix Key_name() for x11 2018-09-06 17:41:20 +02:00
Nic Soudée
0953bc1f9b Fix bug in -help video mode listing
The mode_index is being incremented by 12, but we are
only displaying 6 video modes per line. This results in
the "Available video modes" listing to ignore half of the
valid video modes.
2018-08-16 09:15:57 -04:00
Nic Soudée
78d99fd337 Move command line analysis down a bit
This is necessary so that the list of available video modes
is populated, making the -mode parameter work again.
2018-08-16 09:14:33 -04:00
Thomas Bernard
995f9182fe Fix the test for Linux or NetBSD to not add -liconv
fix 244e856e9ff23bbb855e4e6b2d22d7cb9856a632 which broke on FreeBSD
2018-07-27 14:39:59 +02:00
Thomas Bernard
ebad2b5946 fix typo in gfx2def.ini (noticed by HoraK-FDF) 2018-07-27 14:29:25 +02:00
Thomas Bernard
72972a8b49 doxygen comments in main.c.
Includes the mainpage section
2018-07-27 14:29:25 +02:00
Thomas Bernard
56df5080a5 filesel.c/.h: improvements in doxygen
Translated a few comments from French to English.
also improved the code slightly
2018-07-27 14:29:25 +02:00
Thomas Bernard
560cde7041 improve doxygen comments of gfx2surface.h 2018-07-27 14:29:25 +02:00
Thomas Bernard
11b2b609ed readline: improve doxygen comments 2018-07-27 14:29:25 +02:00
Thomas Bernard
b75ca3e58f generate tgz of doxygen doc. 2018-07-27 14:29:25 +02:00
Thomas Bernard
324749b9a7 ignore doc and tgz/zip archives 2018-07-27 14:29:25 +02:00
Thomas Bernard
65564d653f Generate doxygen doc in doc/doxygen with make 2018-07-27 14:29:25 +02:00
Ryo ONODERA
244e856e9f Fix build under NetBSD with native X.org (/usr/X11R7) and modular X.org (/usr/pkg)
* Use pkg-config for X.org
* Exclude -liconv for NetBSD too
* sysctl(3) of NetBSD requres _NETBSD_SOURCE
2018-07-24 23:58:20 +09:00
Thomas Bernard
715bda292b silence a warning 2018-07-20 12:27:58 +02:00
Thomas Bernard
88430bb92f
Add NO_X11 option at compiletime to disable X11 specific stuff with SDL driver
just compile with
$ NO_X11=1 make
2018-07-20 12:26:52 +02:00
Thomas Bernard
6ec72f6b71 check for X11_display when using SDL
SDL can be using another video driver
2018-07-20 12:19:34 +02:00
Thomas Bernard
146694d3c1 SDL_DROPTEXT, SDL_DROPBEGIN, and SDL_DROPCOMPLETE are available since SDL 2.0.5. 2018-07-17 01:09:04 +02:00
Thomas Bernard
d7c6193c21 SDL/x11 : make Copy/Paste and Drag&Drop work 2018-07-17 01:09:04 +02:00
Thomas Bernard
8ec57abf88 use SDL2 clipboard (not with Win32) 2018-07-17 01:09:04 +02:00
Thomas Bernard
0843bd6a3c use SDL2 Drop Event when available
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-17 01:09:04 +02:00
Thomas Bernard
82ef08a01e win32: enable antialisaing with TTF fonts 2018-07-16 14:39:27 +02:00
Thomas Bernard
05d6a4b3dd properly handle long filenames of preloade files 2018-07-16 14:39:25 +02:00
Thomas Bernard
e36a62abe3 Fix Key_name() for win32 2018-07-16 14:39:23 +02:00
Thomas Bernard
129c0ae550 fix in Render_text_SFont() 2018-07-12 20:42:30 +02:00
Thomas Bernard
4978a7cfe2 convert Warning() and DEBUG() to GFX2_Log() 2018-07-12 20:41:49 +02:00
Thomas Bernard
90bcffa9e2 x11: update screen after set palette 2018-07-12 19:11:39 +02:00
Thomas Bernard
13dc203eaf remove leftover printf 2018-07-12 19:11:39 +02:00
Thomas Bernard
733a3cd0fb minor fixes 2018-07-12 19:11:39 +02:00
Thomas Bernard
7fb77f85f1 Add GFX2_Log() function 2018-07-12 19:11:39 +02:00
Thomas Bernard
221515e663 Load_PNG() : read Comment tEXt in addition to Title 2018-07-12 11:54:29 +02:00
Thomas Bernard
3bdd69c523 Save_PNG(): use PNG_RESOLUTION_UNKNOWN in pHYs chunk 2018-07-12 11:54:12 +02:00
Thomas Bernard
f9dc86eb87 Load_GIF(): Be more tolerant on ratio values 2018-07-12 11:54:12 +02:00
Thomas Bernard
4338d31f04 Load_PNG(): load correctly aspect ratio 2018-07-12 11:54:12 +02:00
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