Commit graph

1462 commits

Author SHA1 Message Date
Ozkan Sezer
9a60bf8810 oslibs, codecs: remove unnecessary FLAC/metadata.h
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1382 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-03-09 22:42:37 +00:00
Ozkan Sezer
182ec759b8 snd_flac.c: removed unnecessary metadata.h include. fixed build and
run against legacy flac <= 1.1.2 with LP64 systems.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1381 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-03-09 22:41:55 +00:00
Ozkan Sezer
087222e8f5 snd_xmp.c: fix windows static linkage to libxmp.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1380 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-03-09 22:41:17 +00:00
Ozkan Sezer
fd5d023e31 oslibs,codecs: minor update to opus_defines.h
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1379 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-02-26 11:11:43 +00:00
Ozkan Sezer
d5c3058022 rebuilt SDL2 after applying changesets r10883 and r10887 from SDL repo.
I doubt that we'd ever hit those bugs, but whatever.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1378 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-02-15 23:03:35 +00:00
Ozkan Sezer
3d4c9cd2b5 added _WINSOCK_DEPRECATED_NO_WARNINGS among the preprocessor definitions
in Visual Studio project files.  fixes C4996 warnings: "'inet_ntoa': Use
inet_ntop() or InetNtop() instead" from VS2013 and newer.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1377 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-02-14 11:00:29 +00:00
Ozkan Sezer
306b04044e work-around VS2015 stdio issue for SDL1.2 builds: add SDL_win32_main.c
to the source tree, build it everytime with MSVC in SDL1.2 builds, and
remove SDLmain.lib. (see: http://stackoverflow.com/questions/30412951 )

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1376 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-02-13 14:39:37 +00:00
Ozkan Sezer
b3135e794b rebased our windows & macosx SDL2 builds to SDL mercurial repo rev.10881
note: the osx leak from https://bugzilla.libsdl.org/show_bug.cgi?id=2157
is still there, we can rebuild if it ever gets fixed..

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1375 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-02-12 08:20:38 +00:00
Ozkan Sezer
503f9b3321 oslibs, codecs: rebuilt opus-1.0.3 after applying the CVE-2017-0381 fix
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1374 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-01-25 18:47:45 +00:00
Eric Wasylishen
702b0decf1 in_debugkeys: print time, and log text input mode changes
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1373 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-01-17 22:39:19 +00:00
Eric Wasylishen
197127fc97 Add autocompletion for "timedemo" command's demo name
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1372 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-01-17 22:38:12 +00:00
Ozkan Sezer
2baee92202 rebased our windows & macosx SDL2 builds to SDL mercurial repo rev.10735
note: the osx leak from https://bugzilla.libsdl.org/show_bug.cgi?id=2157
is still there, we can rebuild if it ever gets fixed..

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1371 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-01-01 17:14:12 +00:00
Ozkan Sezer
73cf6c88eb oslibs, codecs: rebuilt libxmp for macosx and windows from latest src.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1370 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-01-01 14:58:27 +00:00
Ozkan Sezer
a0f0c5683f rebased our windows & macosx SDL2 builds to SDL mercurial repo rev.10712
note: the osx leak from https://bugzilla.libsdl.org/show_bug.cgi?id=2157
is still there, we can rebuild if it ever gets fixed..

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1369 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-20 07:10:07 +00:00
Ozkan Sezer
e0f66533b7 rebased our windows & macosx SDL2 builds to SDL mercurial repo rev.10710
note: the osx leak from https://bugzilla.libsdl.org/show_bug.cgi?id=2157
is still there, we can rebuild if it ever gets fixed..

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1368 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-18 20:05:14 +00:00
Ozkan Sezer
bc5cc7094a add missing SDLCALL to SDL callback functions (it need not be nothing for every platform.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1367 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-17 12:10:07 +00:00
Ozkan Sezer
8d531519fe rebased our windows & macosx SDL2 builds to SDL mercurial repo rev.10700
note: the osx leak from https://bugzilla.libsdl.org/show_bug.cgi?id=2157
is still there, we can rebuild if it ever gets fixed..

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1366 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-12 14:01:38 +00:00
Ozkan Sezer
cb8a1b1e34 oslibs, codecs: rebuilt libxmp from latest sources.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1365 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-12 08:25:07 +00:00
Ozkan Sezer
5025e9e457 added tracker music support using libxmp >= v4.2.0 (off by default.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1364 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-07 09:24:49 +00:00
Ozkan Sezer
6e1aa25e78 sync'ed arch_defs.h and filenames.h with uhexen2 tree (for sake of symmetry.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1363 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-07 06:55:04 +00:00
Ozkan Sezer
219a137593 oslibs, codecs: rebuilt the FLAC decoder for windows and macosx after
fixing a number typo.

oslibs, codecs: killed all binary blobs for libmodplug. the library is
full of insecurities, mistakes, etc, neither is it endian-correct. the
snd_modplug.c code is still there if one ever wants to build it though.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1362 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-07 06:50:04 +00:00
Ozkan Sezer
1730afbe57 rebuilt SDL2 for macosx from SDL2 hg repo r10670 so that it works on 10.6 again.
(https://bugzilla.libsdl.org/show_bug.cgi?id=3503)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1361 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-02 09:50:02 +00:00
Ozkan Sezer
bad6a88a08 rebuilt SDL2 for windows and macosx from SDL hg rev. 10668
(the osx leak from https://bugzilla.libsdl.org/show_bug.cgi?id=2157
is still there.)


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1360 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-01 15:28:13 +00:00
Ozkan Sezer
5955fd38ed rebuilt SDL2 for windows and macosx from SDL hg rev. 10602, which
has some bug fixes and game controller updates since release-2.0.5.
the osx leak from https://bugzilla.libsdl.org/show_bug.cgi?id=2157
is still there: we can rebuild if it ever gets fixed..

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1359 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-11-11 14:11:22 +00:00
Ozkan Sezer
2b457e522b oslibs, codecs: rebuilt libmodplug after a bug fix.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1358 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-11-10 19:29:02 +00:00
Eric Wasylishen
fc78971b59 Only print "maps/*.lit loaded" messages on develoepr 2, the are spam on developer 1.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1357 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-22 18:38:58 +00:00
Eric Wasylishen
752087c517 QuakeSpasm.xcodeproj: copy quakespasm.pak/license/readmes to build products directory
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1356 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-22 18:38:42 +00:00
Eric Wasylishen
09339db1fc QuakeSpasm.xcodeproj: make this Xcode project deployment target 10.6, even for the SDL1.2 target. The other Xcode project can be used for building 10.4 compatible builds
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1355 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-21 20:26:33 +00:00
Ozkan Sezer
8c7103a186 oslibs, codecs: rebuilt libmodplug for macos_x and windows from
https://github.com/sezero/libmodplug.git / sezero_no_cxx branch:
- remove C++ (libstdc++) dependencies,
- Fix handling of single-row loops to prevent endless loops.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1354 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-20 14:56:48 +00:00
Ozkan Sezer
b04a4a5fbd Makefile.darwin: removed bundle1.o from 10.6/i386 linkage (crashes. only needed for x86_64.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1353 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-16 09:32:25 +00:00
Ozkan Sezer
4c7dfd9bc7 rebuilt SDL2 for macosx after reverting https://hg.libsdl.org/SDL/rev/d19f7d2b6ec8 for now, to prevent the crashes observed on 10.6.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1352 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-16 08:50:28 +00:00
Ozkan Sezer
945be672af - rebuilt SDL2 for windows and osx from SDL hg rev.10541
to prepare for and test their upcoming 2.0.5 release.
- changed Makefile.darwin so that SDL2-386 builds target
  10.6+ which is an SDL2-2.0.5 requirement.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1351 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-15 19:28:47 +00:00
Ozkan Sezer
796f7b7601 changed version to 0.92.2, added placeholders for changelog in the readme.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1350 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-14 09:47:07 +00:00
Eric Wasylishen
67e8f04f65 Xcode project: set deployment target to 10.6 for QuakeSpasm-SDL2
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1349 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-13 20:31:48 +00:00
Eric Wasylishen
37afdeb404 macOS: omit the SDLApplication class under SDL2.
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
2016-10-13 20:05:26 +00:00
Eric Wasylishen
d5c706899b Xcode project: set LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks"
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
2016-10-13 19:39:25 +00:00
Ozkan Sezer
2c034462e5 Fixed -Wformat-length warning from experimental gcc-7:
sbar.c: In function 'Sbar_DrawInventory':
sbar.c:673:18: warning: '%3i' directive writing between 3 and 11 bytes into a region of size 6 [-Wformat-length=]
   sprintf (num, "%3i", q_min(999,cl.stats[STAT_SHELLS+i])); //johnfitz -- cap displayed value to 999
                  ^~~
sbar.c:673:17: note: directive argument in the range [-2147483648, 999]
   sprintf (num, "%3i", q_min(999,cl.stats[STAT_SHELLS+i])); //johnfitz -- cap displayed value to 999
                 ^~~~~
sbar.c:673:3: note: format output between 4 and 12 bytes into a destination of size 6
   sprintf (num, "%3i", q_min(999,cl.stats[STAT_SHELLS+i])); //johnfitz -- cap displayed value to 999
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1346 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-07 20:00:27 +00:00
Ozkan Sezer
5dafb8523d oslibs, codecs: rebuilt mpg123 with the id3 bugfix patch applied from mainstream.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1345 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-01 11:01:59 +00:00
Ozkan Sezer
f095cd1abf filenames.h: update copyright years from mainstream.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1344 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-01 11:00:35 +00:00
Ozkan Sezer
c0d6f2e736 minor stuff..
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1343 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-09-12 14:03:01 +00:00
Ozkan Sezer
3ad8b20337 apply changeset 10313 from the SDL hg repo for SDL-1.2-macosx:
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
2016-09-08 08:33:35 +00:00
Ozkan Sezer
50402836c4 rebuilt SDL2 for windows and macosx after applying the following
changesets from the SDL mercurial repo:
http://hg.libsdl.org/SDL/rev/17e0ded12e6f
http://hg.libsdl.org/SDL/rev/26104a670291
http://hg.libsdl.org/SDL/rev/3134026517cb
http://hg.libsdl.org/SDL/rev/cb13d22b7f09
http://hg.libsdl.org/SDL/rev/a64e365c1e38
http://hg.libsdl.org/SDL/rev/42768c568a50
http://hg.libsdl.org/SDL/rev/61a87b05c0b5
http://hg.libsdl.org/SDL/rev/7b037d1387a0


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1341 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-09-05 19:15:13 +00:00
Ozkan Sezer
c0b9eab645 meh..
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1339 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-23 11:47:12 +00:00
Ozkan Sezer
7bd55010d7 documentation updates
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1338 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-23 11:37:21 +00:00
Ozkan Sezer
ad055bf6fd minor updates to some files from uhexen2 (for sake of symmetry between the two trees.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1337 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-23 11:24:24 +00:00
Ozkan Sezer
633f009252 Fix out of bounds access to keybindings: K_PAUSE is 255. Noticed by Axel Gneiting (bug #14).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1336 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-21 17:37:21 +00:00
Ozkan Sezer
334443713a oslibs, codecs: rebuilt libmikmod from upstream hg repo.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1335 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-12 20:21:11 +00:00
Ozkan Sezer
56c2e44b87 snd_mikmod.c: we don't truly need the high-quality mixer. (and it's slow too...)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1334 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-08 04:04:14 +00:00
Eric Wasylishen
b683cd2fcd Fix for large menu scale factors, broken in r1293
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1333 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-07-20 04:15:02 +00:00
Ozkan Sezer
635eb04758 oslibs, codecs: rebuilt opusfile for osx and windows from the latest 0.8 release from xiph.org.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1332 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-07-16 09:50:04 +00:00