SDL2 has an SDLApplication class internally which does the same thing. Fixes this warning:
objc[34880]: Class SDLApplication is implemented in both [...]/QuakeSpasm-SDL2.app/Contents/Frameworks/SDL2.framework/Versions/A/SDL2 (0x10365b5a0) and [...]/QuakeSpasm-SDL2.app/Contents/MacOS/QuakeSpasm-SDL2 (0x1002708e8). One of the two will be used. Which one is undefined.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1348 af15c1b1-3010-417e-b628-4374ebc0bcbd
This makes the official http://libsdl.org/ frameworks work with QS
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1347 af15c1b1-3010-417e-b628-4374ebc0bcbd
1.2 mac: Apparently the magic -psn command line appears in post-10.9 macOSes.
So don't bother checking the version. Fixes apps failing to chdir to the
app bundle's parent directory, as is expected.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1342 af15c1b1-3010-417e-b628-4374ebc0bcbd
(the x86-macosx build is now made with x86 asm enabled,
using nasm-2.12.02rc7 and the patch from
http://lists.xiph.org/pipermail/flac-dev/2016-June/005933.html
by lvqcl. seems to work for me on my 10.6.8)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1310 af15c1b1-3010-417e-b628-4374ebc0bcbd
- Windows: Fix other window positions/sizes being changed when exiting exclusive
fullscreen (bug #3315.)
- Fixed a 'dead keys' issue on international keyboards (bug #3332, patch not yet
applied to SDL hg repo.)
- Fixed infinite timeout in SDL_WaitEventTimeout() (SDL hg rev. 10106)
- Mac: avoid calling CGSetLocalEventsSuppressionInterval, it was deprecated in
OS X 10.6. (SDL h2 revs. 10122 and 10158)
- Cocoa mouse code: Replaced NSPointInRect with NSMouseInRect (bug #3312.)
- Windows: make sure SDL_TicksInit has been called before calling Sleep(ms) in
SDL_Delay. This ensures the Windows system timer resolution is properly set
before Sleep is called. (SDL hg rev. 10067)
- Fixed console_wmain in SDL_windows_main.c does not null terminate the argument
list it is creating. (bug #3338, patch not yet applied to SDL hg repo.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1306 af15c1b1-3010-417e-b628-4374ebc0bcbd
-adjust release builds to not require 10.6 SDK, and disable PPC since recent OSX SDK's don't support it
-don't strip symbols, to make testing in Instruments easier.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1285 af15c1b1-3010-417e-b628-4374ebc0bcbd
also patched for windows to ensure vsnprintf() null terminates the string.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1197 af15c1b1-3010-417e-b628-4374ebc0bcbd
hg for bugs 1825, 2835, and 2049, also with xaudio2 driver disabled
for windows which seems more trouble than its worth.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1196 af15c1b1-3010-417e-b628-4374ebc0bcbd
the -no_function_starts and -no_data_in_code_info linker flags to avoid
generation of LC_FUNCTION_STARTS and LC_DATA_IN_CODE load commands in the
final image, so that the library is usable with Xcode 3.2.6 and its tools.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1186 af15c1b1-3010-417e-b628-4374ebc0bcbd
do set svn:mime-type application/octet-stream on SDL binary files.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1184 af15c1b1-3010-417e-b628-4374ebc0bcbd
fix, and applying a fix for another metadata vulnerability. (xiph.org git,
commits b4b2910, fed0dfa, and 033af7b.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1167 af15c1b1-3010-417e-b628-4374ebc0bcbd
- recompile FLAC decoder with a fix for free-ing of unitilialized
pointer (flac git, commit 18a4854)
* recompile opus decoder with a fix for avoiding undefined behavior
(signed arithmetic overflow) or implementation-defined behavior
(malloc(0)) on out-of-range arguments (opus git, commit 25b27a9)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1148 af15c1b1-3010-417e-b628-4374ebc0bcbd