2340 Commits

Author SHA1 Message Date
Thomas Bernard
bb25913053 nsis: StrCmp is a installation time instruction !
so use !if to not include files
2018-12-08 18:04:35 +01:00
Adrien Destugues
2edc897b92 gcc2 build fix. 2018-12-08 18:00:16 +01:00
Thomas Bernard
6a575ed491
Doxygen for haiku.h/haiku.cpp 2018-12-07 13:25:34 +01:00
Thomas Bernard
8e4abd357b
Strip DLL's 2018-12-03 12:10:12 +01:00
Thomas BERNARD
894cc0386c
Add patches for SDL_image-1.2.12 for XCF loading
see http://pulkomandy.tk/projects/GrafX2/ticket/88
2018-12-03 11:44:03 +01:00
Thomas Bernard
513817c439
allow 3rdparty to build with make -j3 2018-12-02 18:08:30 +01:00
Thomas Bernard
e1153b9bb5
Remove 3rd party DLLs and README files from repository
theses files are automatically built with "make 3rdparty"
3rdparty: make sure to create bin/ directory
2018-12-02 18:08:08 +01:00
Thomas Bernard
4391603f37
convert .txt in Win32 distribution files to CRLF eol 2018-12-02 18:08:08 +01:00
Thomas Bernard
3b90e2199e
Automatically "build" README-*.txt files for 3rd party libraries
Theses files have to be included in binary distributions for legal reasons
2018-12-02 18:07:51 +01:00
Thomas Bernard
6e81d013c6
fix warning in help.c about system() 2018-12-02 18:07:51 +01:00
Thomas Bernard
4557766282
add libtiff-5.dll to ziprelease 2018-12-01 12:38:50 +01:00
Thomas Bernard
20902996d0 build libtiff with -static-libgcc
use the trick CC="$(CC) $(LDFLAGS)" to pass -static-libgcc or libtool filter out this parameter !
2018-12-01 12:35:40 +01:00
Thomas Bernard
4eead5974d
Add libtiff-5.dll to install. 2018-11-30 19:10:36 +01:00
Thomas Bernard
775a594858
fix issue #39
http://pulkomandy.tk/projects/GrafX2/ticket/39

pass the palette argument from Compute_optimal_menu_colors(palette)
to compute_xor_table()
2018-11-29 15:26:22 +01:00
Thomas BERNARD
96083c3c3b OSX: include processor type in zip name. include source package and doc in zip 2018-11-29 13:16:46 +01:00
Thomas BERNARD
a03e9da0af OSX: statically build with SDL 1.2.x too 2018-11-29 13:06:34 +01:00
Thomas BERNARD
227cf3b466 MacOS: prefer lua package over lua5.x 2018-11-29 13:05:32 +01:00
Thomas Bernard
8d7c37cc5f
Game Boy Color constraints support 2018-11-29 10:07:20 +01:00
Thomas Bernard
14f7eb1ba4
Button_Constraint_menu(): larger dropdown button 2018-11-29 09:44:09 +01:00
Thomas BERNARD
2cdbcac40d
macOS: add API prefix to bin name. Do not tgz .app (you should use ziprelease) 2018-11-28 23:02:11 +01:00
Thomas Bernard
878568c7f5
round() is not available in old MSVC++ versions 2018-11-28 23:02:11 +01:00
Thomas Bernard
d45eb9117e
Fixes for Win32 / MSVC in help.c 2018-11-28 23:02:11 +01:00
Thomas BERNARD
4204960333
Show SDL/SDL_image/SDL_ttf versions in statistics 2018-11-28 23:02:11 +01:00
Thomas BERNARD
f9a854f513
travis-ci: OSX_STATIC=0; use otool -L to show library dependencies 2018-11-28 23:01:52 +01:00
Thomas BERNARD
d2c24b1448
MacOSX do not link with old system libz 2018-11-28 23:01:52 +01:00
Thomas BERNARD
2bee52b9af
OSX: Build with statically linked libraries !
tested on OS X Mavericks 10.9.5 with macports
2018-11-28 23:01:39 +01:00
Thomas BERNARD
d91290f63f
Mac OS X: Fix Init_text() 2018-11-28 23:01:39 +01:00
Thomas BERNARD
8a3e5da6a1
Enable libSDL2-ttf with Mac OS X again.
Tested with Mac OS X 10.9.5
2018-11-28 23:01:39 +01:00
Thomas BERNARD
4dfd12c346
silence a warning 2018-11-28 23:01:39 +01:00
Thomas Bernard
53a1b20433
fix WIN32CROSS build 2018-11-28 23:01:39 +01:00
Thomas Bernard
8fc0b40b18
gitlab-ci: try with liblua5.2-dev 2018-11-28 23:01:39 +01:00
Thomas Bernard
1d39fefa3c
gitlab-ci: install only necessary packages for each job 2018-11-28 23:01:39 +01:00
Thomas Bernard
04848394fb
build: make sure version.c is created before making tools/ 2018-11-28 23:01:39 +01:00
Thomas Bernard
259a0b32a9
libtiff 4.0.9 => 4.0.10 2018-11-28 23:01:39 +01:00
Thomas Bernard
7c7d95804b fix type in CPC_set_default_BASIC_palette() 2018-11-28 17:16:16 +01:00
Thomas Bernard
be5ead7a04
Check_block_Constraint: check ZX spectrum color intensity. And C64 Multi background color 2018-11-28 15:46:32 +01:00
Thomas Bernard
740983a719
fix : Button_Layer_add(-1) => Add_layer(Main.backups, 1)
it was making the GUI lost his way when called from the Drawing mode menu
2018-11-28 14:26:32 +01:00
Thomas Bernard
f753452e50 add a color 17 to 8bits machine palettes for color clashes 2018-11-28 13:48:38 +01:00
Thomas Bernard
216f18607d
Check_block_constraints() to check block constraints 2018-11-28 13:47:56 +01:00
Thomas Bernard
811ae20534
layers.c: button functions receive button number as first argument
also minor improvements
2018-11-28 13:01:01 +01:00
Thomas Bernard
53296293ee
fix potential out of bound array access in Button_Layer_add() 2018-11-26 22:46:35 +01:00
Thomas Bernard
d47bd55eda
fix in CPC_check_AMSDOS() 2018-11-26 22:42:37 +01:00
Thomas Bernard
2e3dc0e149
Add layers automatically when switching to IMAGE_MODE_MODE5/RASTER 2018-11-26 22:40:50 +01:00
Thomas Bernard
c1fd90137e
Comments about CPC formats 2018-11-26 16:42:44 +01:00
Thomas Bernard
4b57acf1af CPC_compare_colors()
used in Save_SCR()
2018-11-26 16:20:07 +01:00
Thomas Bernard
40bd0fc1c7 8bits: set Thomson and CPC palettes
Also properly scroll the palette, and select relevant background and foreground colors
2018-11-26 15:18:01 +01:00
Thomas Bernard
8b32b5141a Easily ask the user a choice btw multiple options 2018-11-26 15:17:11 +01:00
Thomas Bernard
cd5961ce6f const args for 3 functions :
Confirmation_box()
Warning_message()
Requester_window()
2018-11-26 10:56:05 +01:00
Thomas Bernard
8a3860611d
Left clic on 8bit button now opens the menu if no mode has previously been selected 2018-11-26 10:50:52 +01:00
Thomas Bernard
9898c9b7f8 better output of GFX2_LogHexDump() 2018-11-26 10:47:47 +01:00