Commit Graph

298 Commits

Author SHA1 Message Date
Jonathan Campbell
5d0f901b8f Disable SDL_syswm.h structure packing hackery that does nothing but also affects system headers and makes VS2019 winnt.h unhappy. 2019-12-31 23:29:01 -08:00
Allofich
a61cdc0f4a Remove /arch:SSE option from x64 builds 2019-12-22 12:39:02 +09:00
Allofich
ffd58aa704 Automatically use latest Windows 10 SDK version 2019-12-22 11:18:27 +09:00
Jonathan Campbell
d0f96fff89 comments 2019-11-29 05:41:49 -08:00
Jonathan Campbell
578c9f2bc2 SDL1: After the user resizes the window by dragging the edges, apply the intended SDL window rectangle ONLY IF it is bigger than how the window turned out. This is to help solve issues with window snapping and jumping when sized down to the point the menu bar wraps around to multiple lines. 2019-11-29 05:38:54 -08:00
aybe
fe67abd105 Enabled SSE for 64-bit. 2019-11-14 03:52:45 +01:00
aybe
9eda2afa44 Fixed SDLmain. 2019-11-14 01:16:01 +01:00
aybe
8d678e5249 Fixed SDL. 2019-11-14 01:15:48 +01:00
aybe
c3bcc43fad Enabled multiprocessor compilation for all projects. 2019-11-13 19:59:53 +01:00
aybe
a9cc212333 Removed extremely confusing builds of SDL.
Any version of SDL would build under any configuration...
2019-11-13 19:53:17 +01:00
aybe
9e9100b9ec Moving back to SDK 10.0.17763.0. 2019-11-13 18:29:31 +01:00
aybe
a30d7df312 All projects use Windows SDK 10. 2019-11-13 03:10:45 +01:00
aybe
264ac4c9bf All projects retargetted back to Win 8.1 SDK and to toolset 142. 2019-11-07 06:20:12 +01:00
Jonathan Campbell
0c87b06601 Mac OS X "Catalina" and the latest XCode appear to change how OpenGL interprets the view bounds. Now it is pixels even on Retina displays (high DPI). Convert coordinates to compensate. Do it only if compiled with the latest XCode since prior binaries do not have the same issue on Catalina 2019-11-03 17:30:28 -08:00
Allofich
fefd1cecd2 Fix Cppcheck unsignedLessThanZero warnings 2019-10-19 18:36:10 +09:00
Allofich
bc2421715d Silence redundant assignment warnings 2019-10-13 17:48:26 +09:00
Allofich
24f4d92f74 Fix "autoconf input should be named configure.ac" 2019-09-01 21:06:43 +09:00
Allofich
df7c2c05cc Fix -Wdeprecated-declarations warnings 2019-08-31 21:09:44 +09:00
Allofich
e0f5eb2583 Fix -Wunused-variable, -Wunused-function warnings 2019-08-31 21:09:44 +09:00
Allofich
8785a0a25d Remove empty statements 2019-08-12 01:00:36 +09:00
Jonathan Campbell
14eff7ef8a Silence OpenGL compile warnings on my Linux system by defining GL_GLEXT_VERSION only if not already defined 2019-07-05 11:41:16 -07:00
Jonathan Campbell
650a6715e4 Merge pull request #1158 from Allofich/warnings
Type-conversion warning fixes
2019-06-30 14:18:39 -07:00
Allofich
11348e2d17 Enable /LTCG option where it was not enabled 2019-06-30 23:44:40 +09:00
Allofich
80e62edd7c Type-conversion warning fixes 2019-06-30 21:06:24 +09:00
Allofich
05619dd023 SVN r4183 (first half)
Update address of FSF
2019-06-03 22:54:46 +09:00
Allofich
e9aca9fc13 SVN r4161
Fix typos and change DosBox to DOSBox.
2019-06-02 18:17:24 +09:00
Jonathan Campbell
ce539cf772 comment 2019-02-28 22:20:06 -08:00
Jonathan Campbell
36787e9898 perhaps we do not need to be so harsh 2019-02-28 22:06:18 -08:00
Jonathan Campbell
0ffe8b704a Whoops 2019-02-28 21:46:55 -08:00
Jonathan Campbell
99beb3f57f Try... 2019-02-28 21:44:28 -08:00
driver1998
e5c35f5df4 Update VS2015 project files for Windows Desktop ARM32 (Windows RT) port 2019-02-21 21:05:35 +00:00
driver1998
f5f7d687c7 Update VS2015 project files for Windows ARM64 port. 2019-02-20 00:10:10 +00:00
Jonathan Campbell
655466fde6 Stop deleting this file, SDL1! 2019-02-10 17:12:07 -08:00
Jonathan Campbell
d6767c621c more 2019-02-10 17:03:20 -08:00
Jonathan Campbell
188647f445 Linux/X11 SDL1: Fix FocusOut handling to ignore WMwindow FocusOut if X11 keyboard/mouse grab active, because SDL_window goes the grab and that steals focus from WMwindow. This fixes a problem where the resulting FocusOut prevent mouse capture in Linux/X11 entirely 2019-02-09 01:52:25 -08:00
Jonathan Campbell
9723e6df65 Linux/X11 SDL1 allow XResizeWindow of WMwindow in fullscreen again. Keep the sizes synchronized 2019-02-09 01:24:35 -08:00
Jonathan Campbell
75fcca0e3a Linux/X11 SDL1 Grab keyboard at the SDL_Window level not the WMwindow level. This makes it possible to unmap the WMwindow while fullscreen without killing keyboard input 2019-02-09 01:20:20 -08:00
Jonathan Campbell
93f31c6121 SDL1 Mac OS X transition to callback 2019-02-08 22:19:29 -08:00
Jonathan Campbell
615dd9ff8c SDL1 Mac OS X transition to callback 2019-02-08 22:16:56 -08:00
Jonathan Campbell
e6545659d1 SDL1 Mac OS X begin transition to callback 2019-02-08 22:15:07 -08:00
Jonathan Campbell
c24bfab7d1 Mac OS X SDL1: When enumerating modes, query for matching display but do not update display_id. Let the modesetting set the display_id 2019-02-08 22:08:25 -08:00
Jonathan Campbell
12d1bef94b Mac OS X SDL1: De-duplicate code 2019-02-08 12:36:11 -08:00
Jonathan Campbell
cc96554d4b Mac OS X SDL1: Flip the Y coordinate and translate relative to primary monitor so vertical multi-monitor setups work 2019-02-08 12:31:02 -08:00
Jonathan Campbell
fbde1bd37d SDL1 Mac OS X consolidate monitor matching 2019-02-08 12:12:24 -08:00
Jonathan Campbell
24361a2ece Mac OS X SDL1: Remove fade in/out CG effects when going fullscreen. OS X still seems to fade in/out on the primary display 2019-02-07 01:11:21 -08:00
Jonathan Campbell
a7c7472d0b Mac OS X SDL1 bugfix: SDL1 calls ListModes first before SDL_SetVideoMode, so to ensure the modelist is correct after dragging a window onto another monitor, display_id needs to be re-computed THERE in addition to SetFullScreen 2019-02-07 01:00:01 -08:00
Jonathan Campbell
55751f1b25 Mac OS X SDL1, setup to receive notification when the main window is dragged across screens 2019-02-06 23:56:29 -08:00
Jonathan Campbell
180d8a7d35 Mac OS X SDL1: Let me know when the window is moved onto another monitor 2019-02-06 23:37:37 -08:00
Jonathan Campbell
0683b33634 Mac OS X SDL1: First try to find mode, THEN start the CG fade effect 2019-02-06 23:06:30 -08:00
Jonathan Campbell
947aae0c08 Mac OS X SDL1: Fix fullscreen mode to occupy only one monitor, which of course is the one the window resides on 2019-02-06 22:21:26 -08:00