Commit graph

1689 commits

Author SHA1 Message Date
Ozkan Sezer
ee831b2b48 lodepng: sync with mainstream, merged up to latest commit f6155a420604.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1611 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-07-15 09:20:05 +00:00
Ozkan Sezer
62f7829739 SDL2: rebuilt for Mac OS X from SDL2-hg-r12927 to test upcoming v2.0.10.
More builds for both osx and win will likely follow, because there still
are some critical issues open in SDL bugzilla.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1610 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-07-04 11:21:50 +00:00
Ozkan Sezer
0e797c0518 SDL2: rebuilt for Windows from SDL2-hg-r12919 to test upcoming v2.0.10.
A Mac OS X build will follow later. And more builds will likely follow
because there still are some critical issues open in SDL bugzilla.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1609 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-07-03 07:39:47 +00:00
Eric Wasylishen
68faa57c6d CalcSurfaceExtents: adjust bogus initial "max" texture coord to match the
magnitude of the "min" one. It was possible to erroneously cause a
"bad surface extents" error with face around +/- 100K units from the origin,
since "max" was initalized to -99999.

TODO: These should probably both be changed to FLT_MAX/-FLT_MAX.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1608 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-03-18 07:22:54 +00:00
Eric Wasylishen
c04be89a90 PR_UglyValueString: increase line[512] to 1024, use q_snprintf
Fixes writing past end of buffer (crashes on some OS'es) when saving xmasjam2018_qmaster1 


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1607 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-12-30 05:24:36 +00:00
Ozkan Sezer
2288b9c757 rebuilt SDL2 for Win from mainstream SDL repo, hg-12425:266c5fbe0bbd
rebuilt SDL2 for OSX from mainstream SDL repo, hg-12428:f5d2abe5af7f


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1606 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-22 14:57:24 +00:00
Ozkan Sezer
06b09262bf oslibs: updated opus decoder builds
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1605 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-13 19:21:27 +00:00
Ozkan Sezer
af9515275b SDL2: rebuilt for OSX after applying patch for SDL bug #4368
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1604 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-11 08:34:51 +00:00
Ozkan Sezer
7e0aae37c6 oslibs: updated libvorbis and libxmp builds.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1603 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-11 08:14:52 +00:00
Ozkan Sezer
57e6d507ec SDL header updates from mainstream. (fix for SDL bug #4362.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1602 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-07 08:00:22 +00:00
Ozkan Sezer
455d7dd212 oslibs, codecs: rebuild libmpg123.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1601 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-03 11:50:38 +00:00
Ozkan Sezer
74810cd40e handle ssize_t issues with MSVC better
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1600 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-03 09:50:53 +00:00
Ozkan Sezer
8ccc4ac773 rebuilt SDL2 for OSX/Win from mainstream SDL2-2.0.9 release:
post-release bug fixes up to hg-12379:5dc13016cf34 included.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1599 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-01 14:10:29 +00:00
Ozkan Sezer
aaba723840 rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12339:86dcfbbcacaf
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1598 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-10-18 21:39:38 +00:00
Ozkan Sezer
6bc6bc3f43 oslibs, win32: replaced broken x86 libmp123.dll with a working build.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1597 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-10-12 11:01:22 +00:00
Ozkan Sezer
427dd37d09 rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12319:06e89f1159f9
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1596 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-10-12 08:10:51 +00:00
Ozkan Sezer
1d69d780d0 oslibs, win32: replaced broken x86 libmp123.dll with a working build.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1595 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-10-11 09:24:14 +00:00
Ozkan Sezer
e2bf27c7d5 rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12266:0a1710b7c321
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1594 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-30 15:51:30 +00:00
Ozkan Sezer
ac6a2b1711 rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12241:f72836cfb92b (not-yet-released v2.0.9)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1593 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-27 17:20:46 +00:00
Ozkan Sezer
92a3d910bd menu.c (M_ScanSaves): silence gcc8 -Wstringop-truncation:
just replaced strncpy() with q_strlcpy().

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1592 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-21 12:10:06 +00:00
Ozkan Sezer
06e6f01fdc rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12191:3c9c784e85bb
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1591 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-17 17:15:26 +00:00
Ozkan Sezer
1090e2e1e6 rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12184:02509665751f
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1590 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-14 11:51:47 +00:00
Ozkan Sezer
2e5f182cfc SDL-1.2: rebuilt for OSX from latest code in mainstream SDL-1.2 branch.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1589 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-14 09:14:22 +00:00
Ozkan Sezer
ed6d5b0d20 gl_texmgr.h (struct gltexture_s): change 'pants' and 'shirt' to signed char
otherwise negative value checks wouldn't work if char is unsigned by
default. Fixes bug #28 (https://sourceforge.net/p/quakespasm/bugs/28/,
also see: https://github.com/Novum/vkQuake/issues/145 )

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1588 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-06-18 07:15:58 +00:00
Ozkan Sezer
32c80b20b0 pr_edict.c: replaced another strcpy() call with q_strlcpy(), tweaked a warning message.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1586 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-30 15:01:22 +00:00
Ozkan Sezer
0825fb705c lodepng.c: max 5552 instead of 5550 sums before adler32 overflow
(lorepng github mainstream commit 81cf5de55f)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1585 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-30 04:04:47 +00:00
Ozkan Sezer
7ad20fe4ab SDL2, windows: put the windows 10 mouse bug workaround back in.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1584 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-16 11:29:51 +00:00
Ozkan Sezer
ffc08a97c4 oslibs, codecs: rebuilt vorbis decoder after applying fix for CVE-2017-14160.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1583 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-11 20:39:21 +00:00
Ozkan Sezer
12f743d407 applied fix for SDL bug #4159
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1582 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-11 20:32:57 +00:00
Ozkan Sezer
a40d20da2c oslibs, codecs: rebuilt libxmp (lite version) from latest git
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1581 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-05 05:01:28 +00:00
Ozkan Sezer
a4da5cc43b SDL2 rebuild:
Windows:
- Remove the windows 10 mouse bug workaround: the issue is fixed in
  windows 10 version 1803 (i.e. the April 2018 update build 17134.)
 (see SDL bug #4152.)

- SDL_ShowWindow() should not activate the window if the window has
  the WS_EX_NOACTIVATE window flag (mainstream commit 11939.)

Mac OS X:
- fix pthread_mutex_trylock() error checks (mainstream commit 11950)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1580 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-03 17:42:24 +00:00
Ozkan Sezer
4dbd07fb9a bgmusic.c: mark *.opus files as cdrip types.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1579 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-04-27 17:30:38 +00:00
Ozkan Sezer
1ccd0b998a apply the same double precision change to PF_normalize() as was done to PF_vlen() in r1554.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1578 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-04-23 09:20:31 +00:00
Ozkan Sezer
39459b19cb net_udp.c (UDP_Init): lose the goto in OSX workaround, restrict the workaround to OSX builds only.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1577 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-04-20 14:35:32 +00:00
Ozkan Sezer
8b24098367 SDL2: rebuilt for windows after applying commit rev. 11938 from mainstream.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1576 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-26 23:55:17 +00:00
Ozkan Sezer
2242ca68e5 SDL2: rebuilt for macOS:
rebuilt using clang-5.0.1 and latest cctools-port (895) on an up-to-date
Fedora 27 / x86_64 setup.  the x86 part is built against 10.8.5 SDK, and
the x86_64 part is built against 10.12.4 SDK.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1575 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-26 21:20:39 +00:00
Ozkan Sezer
5a2c2cf1a6 snd_vorbis.c: remove leftovers, tidyup.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1574 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-26 21:10:07 +00:00
Ozkan Sezer
84c2c3c4ea lodepng sync with mainstream: merged commits d4d8f1aa and d03d7df9
(excluded 64 bit warning fix commits 9ab58e3 and 116f5b2e for now)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1573 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-26 21:04:10 +00:00
Ozkan Sezer
2beab62809 SDL2: updated SDL_cpuinfo.h (SDL bug 4103)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1572 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-17 08:01:50 +00:00
Ozkan Sezer
437324bf85 rebuilt vorbis after applying CVE-2018-5146 fixes (vorbis-1.3.6).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1571 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-17 07:56:58 +00:00
Ozkan Sezer
29d6191d96 SDL-1.2: rebuilt after applying a patch for SDL bug 4108.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1570 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-14 14:00:17 +00:00
Ozkan Sezer
1a0c50ab4c cd_sdl.c: change SDL_CD error return checks from '== -1' back to '< 0'
SDL man pages are wrong. e.g. their macosx cdrom backend returns some
negative value, but not strictly -1.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1569 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-13 08:50:03 +00:00
Ozkan Sezer
9a4d4be105 SDL2: rebuilt for Mac OS X after applying a patch from Eric to cure a
mouse-wheel issue happening since SDL-2.0.6 as noticed by Steve. (SDL
changeset 11300:68a80d7afec3 for SDL bug 2293 - the patch reverts the
changes made to SDL_cocoamouse.m in that commit.)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1568 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-07 18:50:02 +00:00
Ozkan Sezer
b11c115a9c SDL2: rebuilt from SDL hg repo, rev.11911
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1567 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-02-28 17:24:10 +00:00
Ozkan Sezer
44e9a74877 oslibs, codecs: rebuilt mpg123 after applying a fix for a segfault
with bad files. (fix from mpg123 svn rev. 4373 -- release 1.25.10)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1566 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-02-28 17:20:51 +00:00
Ozkan Sezer
29b903bc84 host.c (Host_WriteConfiguration): don't VID_SyncCvars()
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1565 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-02-21 16:25:04 +00:00
Ozkan Sezer
1cd6ed55ed don't write the config file if we are Sys_Error()ing
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1564 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-02-21 07:33:07 +00:00
Ozkan Sezer
c82081e528 SDL-1.2 rebuild.
includes a backport of SDL bug #2976 (had missed that in prev. builds.)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1563 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-02-17 14:24:31 +00:00
Ozkan Sezer
f7bbea3dd2 doc update
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1562 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-02-16 07:00:40 +00:00
Ozkan Sezer
f8247e30bd host.c (Host_WriteConfiguration): change bitwise and into logical and.
seems like a typo in original quake source.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1561 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-02-16 06:03:25 +00:00