ewasylishen
9d323e3e8c
Mod_LoadAliasModel: don't corrupt memory if MAXALIASTRIS exceeded
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1625 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-09-12 04:06:55 +00:00
ewasylishen
72ee1b3643
Sky_NewMap: avoid stack buffer underflow on the "remove trailing spaces"
...
line that happened if a map had an empty string worldspawn key,
detected by ASan on macOS with demo_map.bsp from SlayerTest.
Also prevent the strcpy's from overflowing the buffers in case of long
keys.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1624 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-09-12 04:06:54 +00:00
sezero
a99372766a
update lodepng to 20190824 version from mainstream.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1623 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-08-28 00:10:02 +00:00
sezero
d36f35ab2e
watcom makefiles: make wlink quiet
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1622 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-08-28 00:01:04 +00:00
sezero
b98b15325d
SDL2: rebuilt from latest SDL2-hg-r13033 to test upcoming v2.0.11.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1621 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-08-24 09:21:07 +00:00
sezero
58bb88d36d
oslibs, SDL-1.2: rebuilt from latest code (1.2.16).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1620 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-08-23 08:47:40 +00:00
sezero
152063a205
update lodepng to 20190814 version from mainstream.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1619 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-08-15 12:01:54 +00:00
sezero
17017c8ab8
oslibs, SDL-1.2: rebuilt from latest code (1.2.16).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1618 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-08-03 11:47:14 +00:00
sezero
c616de13fd
oslibs, SDL-1.2: rebuilt from latest code for windows.
...
fixes the SetVideoMode bug in previous build.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1617 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-08-01 22:25:46 +00:00
sezero
f24c50aaa1
SDL2: rebuilt for Windows from SDL2-hg-r12978 to test upcoming v2.0.11.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1616 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-08-01 18:56:54 +00:00
sezero
445e73b070
oslibs, SDL-1.2: rebuilt from latest code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1615 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-08-01 18:38:51 +00:00
sezero
e5dc04bc97
oslibs, codecs: updated vorbis, xmp, and mikmod builds.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1614 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-07-29 08:42:03 +00:00
sezero
663e206ace
oslibs, codecs: rebuild libmpg123 with updates from mainstream.
...
git: https://github.com/sezero/mpg123.git 1.22.x-sezero branch
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1613 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-07-28 01:21:05 +00:00
sezero
c526eab7cf
snd_mp3.c: better skipping of tags:
...
( also see: https://bugzilla.libsdl.org/show_bug.cgi?id=4728 )
Instead of doing it 'as-we-go' every time, skip the tags at file-open
time only once.
The former implementation had the chance of not having the full tag in
the frame, that includes a possibility of even not having the complete
tag magic in the frame leading to not identifying a tag.
The new implementation skips all the tags at file-start and file-end,
and does that only once.
Also added are detection and skipping of extended ID3v1 and APEv1 tags.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1612 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-07-23 14:11:30 +00:00
sezero
6cfd54520e
lodepng: sync with mainstream, merged up to latest commit f6155a420604.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1611 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-07-15 09:20:05 +00:00
sezero
f6d73f5e52
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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1610 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-07-04 11:21:50 +00:00
sezero
4f16accd0e
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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1609 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-07-03 07:39:47 +00:00
ewasylishen
bef10e8c87
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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1608 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-03-18 07:22:54 +00:00
ewasylishen
b301418938
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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1607 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-12-30 05:24:36 +00:00
sezero
a1fa1884ba
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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1606 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-22 14:57:24 +00:00
sezero
523bc3b08d
oslibs: updated opus decoder builds
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1605 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-13 19:21:27 +00:00
sezero
2a7eb2d036
SDL2: rebuilt for OSX after applying patch for SDL bug #4368
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1604 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-11 08:34:51 +00:00
sezero
68fec36093
oslibs: updated libvorbis and libxmp builds.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1603 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-11 08:14:52 +00:00
sezero
cdaaa70163
SDL header updates from mainstream. (fix for SDL bug #4362.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1602 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-07 08:00:22 +00:00
sezero
a6e4adaf0d
oslibs, codecs: rebuild libmpg123.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1601 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-03 11:50:38 +00:00
sezero
481d47f389
handle ssize_t issues with MSVC better
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1600 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-03 09:50:53 +00:00
sezero
65ce5e3ae7
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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1599 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-11-01 14:10:29 +00:00
sezero
2d2641d63c
rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12339:86dcfbbcacaf
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1598 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-10-18 21:39:38 +00:00
sezero
87960774fe
oslibs, win32: replaced broken x86 libmp123.dll with a working build.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1597 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-10-12 11:01:22 +00:00
sezero
ab75b5de5f
rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12319:06e89f1159f9
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1596 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-10-12 08:10:51 +00:00
sezero
71655c6ce3
oslibs, win32: replaced broken x86 libmp123.dll with a working build.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1595 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-10-11 09:24:14 +00:00
sezero
c6a7eb8b11
rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12266:0a1710b7c321
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1594 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-30 15:51:30 +00:00
sezero
b264321274
rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12241:f72836cfb92b (not-yet-released v2.0.9)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1593 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-27 17:20:46 +00:00
sezero
9909888c0b
menu.c (M_ScanSaves): silence gcc8 -Wstringop-truncation:
...
just replaced strncpy() with q_strlcpy().
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1592 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-21 12:10:06 +00:00
sezero
7c4ebaaae8
rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12191:3c9c784e85bb
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1591 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-17 17:15:26 +00:00
sezero
cc27c96d8e
rebuilt SDL2 for OSX/Win from mainstream SDL repo, hg-12184:02509665751f
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1590 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-14 11:51:47 +00:00
sezero
1db4e03bce
SDL-1.2: rebuilt for OSX from latest code in mainstream SDL-1.2 branch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1589 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-09-14 09:14:22 +00:00
sezero
66f09d4815
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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1588 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-06-18 07:15:58 +00:00
sezero
61fe97411e
pr_edict.c: replaced another strcpy() call with q_strlcpy(), tweaked a warning message.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1586 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-30 15:01:22 +00:00
sezero
a000174857
lodepng.c: max 5552 instead of 5550 sums before adler32 overflow
...
(lorepng github mainstream commit 81cf5de55f)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1585 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-30 04:04:47 +00:00
sezero
169e45e2e1
SDL2, windows: put the windows 10 mouse bug workaround back in.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1584 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-16 11:29:51 +00:00
sezero
f22822b54b
oslibs, codecs: rebuilt vorbis decoder after applying fix for CVE-2017-14160.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1583 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-11 20:39:21 +00:00
sezero
5b5b4338ba
applied fix for SDL bug #4159
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1582 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-11 20:32:57 +00:00
sezero
0552632169
oslibs, codecs: rebuilt libxmp (lite version) from latest git
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1581 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-05 05:01:28 +00:00
sezero
c5e560b321
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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1580 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-05-03 17:42:24 +00:00
sezero
c99bec3122
bgmusic.c: mark *.opus files as cdrip types.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1579 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-04-27 17:30:38 +00:00
sezero
5ab8546f6f
apply the same double precision change to PF_normalize() as was done to PF_vlen() in r1554.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1578 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-04-23 09:20:31 +00:00
sezero
2386448c51
net_udp.c (UDP_Init): lose the goto in OSX workaround, restrict the workaround to OSX builds only.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1577 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-04-20 14:35:32 +00:00
sezero
a4dbe9b0c6
SDL2: rebuilt for windows after applying commit rev. 11938 from mainstream.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1576 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-26 23:55:17 +00:00
sezero
07428251fa
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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1575 af15c1b1-3010-417e-b628-4374ebc0bcbd
2018-03-26 21:20:39 +00:00