2586 Commits

Author SHA1 Message Date
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
Thomas Bernard
f8bfad2f34
Do not block in Get_input() when Quit_is_required is set 2019-02-05 09:29:09 +01:00
Thomas Bernard
48b9213da3
SDL2: process SDL_TEXTEDITING event 2019-02-05 00:26:09 +01:00
Thomas Bernard
394f78ac8a
Win32: process Horizontal wheel event 2019-02-05 00:26:09 +01:00
Thomas Bernard
b184a75c9e
win32 and SDL2: capture the mouse when the button is pressed 2019-02-05 00:25:59 +01:00
Thomas Bernard
cb315e4f0c
SDL/SDL2: pass SDL event by pointer, not copy... 2019-02-05 00:25:59 +01:00
Thomas Bernard
4c7c5bde77
SDL2, win32: properly handle negative mouse coordinates 2019-02-05 00:25:59 +01:00
Thomas Bernard
206c67e77c
move Set_mouse_position() to sdlscreen.c / win32screen.c / etc. 2019-02-05 00:25:59 +01:00
Thomas Bernard
d5645dec26
win32: SDL2 already calls OutputDebugString() 2019-02-05 00:25:59 +01:00
Thomas Bernard
ca2f98e15e
msvc project files : add forgotten screen.h 2019-02-05 00:25:59 +01:00
Thomas Bernard
763ec0bfe6
gitlab-pages: add link to portable win32 versions as well 2019-02-04 09:31:23 +01:00
Thomas Bernard
1299bb651b
3rdparty: add mirror for downloading lua 2019-02-02 16:20:23 +01:00
Thomas Bernard
3a809bb049
Make sure MOD_SHIFT, etc. have the right value 2019-02-02 16:20:23 +01:00
Thomas Bernard
81486a3563
macOS "tail" cmd doesn't like --lines arguments
use -n instead.
2019-02-01 20:20:54 +01:00