2599 Commits

Author SHA1 Message Date
Thomas Bernard
760cd0d960
SCx: Doxygen + fix of file extension selection 2019-02-20 12:04:48 +01:00
Thomas Bernard
bc4c2db2e4
Fix Load_SCx / Save_SCx 2019-02-20 11:11:19 +01:00
Thomas Bernard
a808eaa9bb
check for empty X11 clipboard data 2019-02-15 13:19:40 +01:00
Thomas Bernard
22a895f45c
fix Button_Brush_FX()
the test on Quit_is_required was wrong
2019-02-15 13:19:40 +01:00
Thomas Bernard
84fbe26e8a
Memory leak fix in Realloc_brush() 2019-02-15 13:19:40 +01:00
Thomas Bernard
c8e5656579
fix memory leak in Load_MOTO() 2019-02-15 13:19:40 +01:00
Thomas Bernard
12f15c231f
Load_ICO() Fix mask passed to Load_BMP()
it has 4 elements : RGBA.
2019-02-15 13:19:40 +01:00
Thomas Bernard
1679582188
Makefile: LFLAGS is for lex, use LDFLAGS/LDLIBS 2019-02-15 13:19:40 +01:00
Thomas Bernard
0746ee8963
fix Load_INFO() 2019-02-15 13:19:40 +01:00
Thomas Bernard
a1849042de
Win32: use \ instead of / in Get_data_directory() 2019-02-15 13:19:38 +01:00
Thomas Bernard
556434a5df
Save_INI() save NULL strings as empty string 2019-02-15 13:16:49 +01:00
Thomas Bernard
12df99cc3b
x11screen.c: Fix fast version of Update_rect()
also remove useless static variable;
2019-02-15 00:23:47 +01:00
Thomas Bernard
761100beb0
remove Main.filename Main.file_directory and Main.filename_unicode
they are not used anymore
2019-02-15 00:12:58 +01:00
Thomas Bernard
ab5a4d0b38
fix change to parent directory
".." was recognized as relative path :(

issue introduced in 02f9d68f8e8aacd293baabe9fed407db50bb1297
2019-02-15 00:12:46 +01:00
Thomas Bernard
e630b818e2 help about the "Set Rel" option 2019-02-13 15:43:51 +01:00
Thomas Bernard
4283fde82a MOD_CTRL => GFX2_MOD_CTRL, etc. 2019-02-13 15:42:51 +01:00
Thomas Bernard
e7bb7c8684
Enable "Set Rel" for directory bookmarks only with portable installation
add a global variable to store if we are in a portable installation
2019-02-10 11:04:13 +01:00
Thomas Bernard
02f9d68f8e
fix Calculate_relative_path() 2019-02-10 11:04:13 +01:00
Thomas Bernard
d131b48274
fix drive letter case in Compute_relative_path() 2019-02-10 11:04:12 +01:00
Thomas Bernard
67020cd146
Win32: show volume names in drive list 2019-02-10 11:04:12 +01:00
Thomas Bernard
5623c67be1
Save_INI_set_string() : make sure there is at least one space before the value 2019-02-10 11:04:12 +01:00
Thomas Bernard
1732b32d78
Convert gfx2def.ini to UTF-8
Also make sure it has correct line endings
2019-02-10 11:04:12 +01:00
Thomas Bernard
9073c040c9
Allow bookmark labels to be UTF-8 ! 2019-02-10 10:56:09 +01:00
Thomas Bernard
ad1c38e2ca
improve Print_in_window_limited(), add Print_in_window_limited_unicode() 2019-02-10 10:56:09 +01:00
Thomas Bernard
e3bf51f753
Red flash when Set Rel fails 2019-02-10 10:56:09 +01:00
Thomas Bernard
bd57e6e8ea
Calculate_relative_path(): do not count trailing separator 2019-02-10 10:56:09 +01:00
Thomas Bernard
b504d440a0
fix for MS Visual Studio snprintf() 2019-02-10 10:56:09 +01:00
Thomas Bernard
7c79cf41e2
Add "Set Rel" for directory bookmarks
see
http://pulkomandy.tk/projects/GrafX2/ticket/45
It is disabled under AmigaOS, AROS and MorphOS
2019-02-10 10:56:08 +01:00
Thomas Bernard
175ea62b02
Allow directory bookmarks to be relative to Data_directory
see http://pulkomandy.tk/projects/GrafX2/ticket/45
Still to do : the "Set Rel" which is the difficult part :)

Also it may be better to use Program_directory instead of Data_directory
2019-02-10 10:56:08 +01:00
Thomas Bernard
52ccd396d5
2.6 => 2.7wip 2019-02-09 18:44:46 +01:00
Thomas Bernard
9951d46279
fix type on Atari package name
m68k was missing
2019-02-09 17:11:04 +01:00
Thomas Bernard
65ec4436af Build correct ZIP for Atari
8.3 file names
Specific directory structure :
  GFX2DEF.INI and binary in same directory, etc.
2019-02-09 14:08:31 +01:00
Thomas Bernard
84a7810b40
gitlab-ci: build for ATARICROSS 2019-02-09 12:17:14 +01:00
Thomas Bernard
ab09443bca
travis-ci: build atari version 2019-02-09 12:17:02 +01:00
Thomas Bernard
6e7e408eb8
tools/sdl_image_test: build for ATARICROSS 2019-02-09 12:16:54 +01:00
Thomas Bernard
5d12292b43
3rdparty: Fix Atari build
- Lua
- Zlib
- SDL-1.2 atari timer patch
2019-02-09 12:16:02 +01:00
Thomas Bernard
96c6ce2221
SDL_CaptureMouse() is available since SDL 2.0.4. 2019-02-09 12:16:01 +01:00
Thomas Bernard
bf16f3fe7d Atari: Exit_handler 2019-02-09 04:10:36 +01:00
Thomas Bernard
e3d9dca566
Atari: fix Statistics screen 2019-02-09 04:09:31 +01:00
Thomas Bernard
4176f1f84b
fix commit for CROSSATARI 2019-02-09 03:52:01 +01:00
Thomas Bernard
96d59333e3
3rdparty: build with ATARICROSS=1 2019-02-09 03:45:23 +01:00
Thomas Bernard
83c660d0ea
remove Makefile.dep for good 2019-02-08 11:26:21 +01:00
Thomas Bernard
a0a4feb8b6
dependencies : add -MG option to ignore missing .h files 2019-02-08 11:24:32 +01:00
Thomas Bernard
b270f0d981
Automatically generate up-to-date dependencies
%.d files in obj directory
2019-02-08 11:19:23 +01:00
Thomas Bernard
063ece9d5b
"silent" build with make V=0 (default)
verbose build is enabled by
$ make V=1
2019-02-08 11:01:31 +01:00
Thomas Bernard
c3b8d1ab65
X11: fix Update_rect(0, 0, 0, 0) 2019-02-08 10:34:13 +01:00
Thomas Bernard
a633bd88dd
rewrite Move_cursor_with_constraints() to clip negative coordinates
also introduce Handle_mouse_btn_change() so we don't bother to
check everything when only the mouse button state changed
2019-02-08 10:32:48 +01:00
Thomas Bernard
546a6fecd2
SDL 1.2.x: capture mouse when button is pressed as well 2019-02-08 10:23:20 +01:00
Thomas Bernard
73f5f1d214
x11: capture pointer when a button is pressed 2019-02-05 10:02:10 +01:00
Thomas Bernard
463105b0d5
const on some global variable that don't change 2019-02-05 09:29:14 +01:00