2553 Commits

Author SHA1 Message Date
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
Thomas Bernard
2d4cdab5b4
3rdparty: build freetype in build/ subdirectory 2019-02-01 20:20:54 +01:00
Thomas Bernard
661a8f2f6f
3rdparty: fix copy/generation of README files under unix
also copy recoil README
2019-02-01 20:20:27 +01:00
Thomas Bernard
b69e6afb12
3rdparty: use generic rule to download -devel packages 2019-02-01 20:18:11 +01:00
Thomas Bernard
83a85cb3fb
3rdparty: use generic rules for tiff 2019-02-01 20:18:11 +01:00
Thomas Bernard
981bcd37b4
Win32: redraw whole window when called with 0 width and height 2019-02-01 19:46:38 +01:00
Thomas Bernard
e72bb8cab1
Allow Windows Close (X) in more popup dialogs
- Settings
- Skins
- Copy Page
- Resolution
- Gradients
- Brush Effects
- Brush menu
- Effects
- Help / About
- Statistics
- Palette
- Palette Historgram
- 2nd palette menu
2019-02-01 01:09:50 +01:00
Thomas Bernard
79621855f9
Win32: fix non closing window when clicking the X
it wasn't getting out of the event polling loop
2019-01-31 22:52:53 +01:00
Thomas Bernard
774bd73602
Enable to close the application within the initial Anim/Layer dialog
we waited for a mouse or keyboard event but clicking
the close X of the window doesn't send any...
2019-01-31 22:52:53 +01:00
Thomas Bernard
91b272a9e5
gitlab pages: correct HTML5 doctype + links 2019-01-31 22:51:31 +01:00
Thomas Bernard
ba82473ccc
improve gitlab pages : link to source package and windows installers 2019-01-30 16:43:23 +01:00
Thomas Bernard
06cfc802d4
gitlab-ci: add pages job ! 2019-01-30 15:48:10 +01:00
Thomas BERNARD
cb3a316b4e
3rdparty: check sha256 of downloaded archives 2019-01-28 11:55:51 +01:00
Thomas BERNARD
30531bf96a
fix to build SDL 1.2.15 under OS X 10.4 2019-01-28 11:55:51 +01:00
Thomas Bernard
61d7803cd8
3rdparty: comment the Makefile 2019-01-28 11:55:51 +01:00
Thomas Bernard
3a63c7adf5
3rdparty: generic rule to unpack tarball and apply patches 2019-01-28 11:55:46 +01:00
Thomas Bernard
6e0fbc47ec
3rdparty: add download target 2019-01-28 11:55:46 +01:00
Thomas Bernard
47ec907262
tools/sdl_image_test: fix build with 3rdparty libs built 2019-01-28 11:55:46 +01:00
Thomas Bernard
f6d11077f2
3rdparty: pattern rule for fetching tarballs. 2019-01-28 11:55:46 +01:00
Thomas Bernard
c9b0907151
3rdparty: improve curl output. make it save file timestamp (as wget does) 2019-01-28 11:55:25 +01:00
Thomas Bernard
41b857c739
Add a print-%: target, useful for debugging 2019-01-28 11:55:25 +01:00
Thomas Bernard
f0b38bd563
Makefile: improve setting of TTFLIBS TTFLOPT etc. 2019-01-28 11:55:07 +01:00
Thomas Bernard
b93e541018
3rdparty: disable webp, lzam, zstd and C++ in libtiff 2019-01-28 11:54:51 +01:00
Thomas Bernard
abaa484d44
3rdparty: disable ImageIO for SDL_image and SDL2_image 2019-01-28 11:54:40 +01:00
Thomas Bernard
08b2448e33
Do not need SDL Joystick module unless built with USE_JOYSTICK 2019-01-28 11:54:40 +01:00
Thomas Bernard
51c5a7ea8f
3rdparty: SDL*_image: disable dynamic loading of jpeg/png/tiff libs 2019-01-28 11:54:40 +01:00
Thomas Bernard
70587585d2
fix osx_find_dependencies.sh for path containing "/usr/lib" 2019-01-28 11:54:35 +01:00
Thomas Bernard
db4dbbc51f
3rdparty: disable X11 in SDL 1.2.x and 2.0.x for macOS 2019-01-28 11:54:18 +01:00
Thomas Bernard
4f394da998
3rdparty: tiff patch for TIFF_UINT64_T (useful for macOS) 2019-01-28 11:54:18 +01:00
Thomas Bernard
a09165eeb9
3rdparty: build lua for other platform than Win32 2019-01-28 11:54:18 +01:00
Thomas Bernard
bff60b3f61
travis-ci: OSX_STATIC=1. only brew install pkg-config 2019-01-28 11:53:54 +01:00
Thomas Bernard
678a921f99
macOS: use libs from ../3rdparty/usr if possible 2019-01-28 11:52:49 +01:00
Thomas Bernard
d6b5bfe1a4
3rdparty: Fix SDL_image and SDL_ttf dependencies 2019-01-28 11:52:35 +01:00
Thomas Bernard
335db46911
3rdparty: build SDL for unix systems (incl macOS)
travis-ci: enable build 3rdparty for MacOS
add patch for comiling SDL-1.2.15 under macOS
2019-01-28 11:51:38 +01:00