-
Notifications
You must be signed in to change notification settings - Fork 15
/
track-ioq3.txt
8561 lines (5647 loc) · 298 KB
/
track-ioq3.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# init with svn 1753
#
# to help tracking git try:
# git log -p --topo-order --first-parent
#
# "--graph" helps with more than one parent shown
2011-02-17
1754 * build the dedicated server with voip support (benmachine)
1755 * Remove r_displayRefresh as it's not connected to anything, now
1756 * (bug #4364) Fix missing -DNDEBUG
1757 applied before: * (bug #4369) Cvar modified flags are not updated in Cvar_Get (Lakitu7)
1758
* (bug #4346) Dedicated server uses 100% CPU when stdin is not a TTY
* com_speeds reports misleading values on dedicated server (Guillaume Bougard)
1759 * Handle SIGINT
1760 * (bug #4357) CVAR_ROM+CVAR_ARCHIVE is not read from q3config
1761 * That probably deserves a Com_DPrintf as well
1762 * Rate limit getstatus and rcon connectionless requests
1763 done (did with 1762): * Fix some compiler warnings
1764 update mumble link interface for version 1.2
1765 mmap could fail, handle gracefully
1766 set default rate to broadband
1767 make reason for voip disable more visible
1768 fix mumble coordinate transmission
1769 avoid setting cvars by name each frame
1770 * (bug #4271) FreeBSD fixes (Dominic Fandrey)
1771 * Clean-up whitespace in net_ip.c
1772 __WORDSIZE is not available on non-GNU systems (Dominic Fandrey)
1773
* Sys_Dialog for more user friendly error reporting
* (bug #3932) Recovery from bad video settings
1774 * Oops, missed a bit
1775
* Fix a memory leak in OS X Sys_Dialog
* Fix compilation on Snow Leopard
1776 need to hardcode "baseq3" to prevent download of id files even if compiled STANDALONE
1777 enable (dummy) cdkey calls in standalone mode to prevents mods from crashing
1778 64bit Windows support (patch by Michael Menegakis)
1779 don't link librt on FreeBSD (bug 4507)
1780 fix mingw32 build
1781 package zlib1.dll in nsis installer
1782 rename x86_64 -> x64 for Windows
1783 64bit Windows fix (patch by Marcus Meissner)
1784 fix OP_BLOCK_COPY alignment for win64 (patch by Marcus Meissner)
1785 fix stack alignment dynamically for OP_BLOCK_COPY
1786 fix typo
1787 Fix typo
1788 Fix buffer overflow, report and patch by Eugene C. (#4669)
1789 Fix bug in uncompressed MDR model loading, thansk to Zack "ZTurtleMan" Middleton for reporting.
1790
First batch of bug fixes reported and patched by Zack "ZTurtleMan" Middleton:
#4736
#4730
#4731
#4732
#4733
#4735
#4736
#4737
#4738
#4739
1791
Second batch of bug fixes reported and patched by Zack "ZTurtleMan" Middleton:
#4740
#4741
#4742
#4743
#4744
1792 Fix "unhandles OpenAL error", and sound fallback behaviour for model files. Thanks Ansa89 for reporting, and Zack Middleton for the patch.
1793 fix typo
1794 another fix. Thanks Zakk Middleton
1795 Fix flaw in my fix to #4737, thanks Zakk Middleton
1796 done: Followup to #4733
1797 uninstall zlib1.dll, disable description panel (bug 4779)
1798 Bug 4566: Slackbuild update for 64bit.
1799 the dishes, and Bugzilla bug 4780 are DONE.
1800 done:
Bugzilla #4749
TAHUD: Fix hud fallback
1801
Bugzilla #4753
Potential buffer overflow in UpdateTournamentInfo()
1802
Bugzilla #4629
commands sent to client when disconnected
1803 use mmap on freebsd too
1804 * Use correct compiler defines for OS detection on Windows
1805
* (bug #4800) Don't prepend a slash to console commands if they're empty
* (bug #4800) Limit console input length such that there is always room for a
leading slash
1806 * (bug #4853) Fix comment that refers to old code
1807 * (bug #4842) Speedup shader buffer creation (Eugene C.)
1808 Shut up compiler error
1809 Fix potential segfault when no PK3s have been loaded (may happen when compiled with -DSTANDALONE)
1810 Fix this bug in a better way.
1811 Make it use the correct game name in getserversExt queries
1812 Revert changes because dpmaster doesn't work that way.
1813 Fix name resolution for domains with A and AAAA record
1814 Fix bug reported by cyrri
1815 Make this change so standalone developers will know to change the HEARTBEAT game string for their versions, too.
1816 Make number of supported master servers tunable via define
1817 Make sure status reply always has at least one space between address and qport, important for ipv6 addresses.
1818 Make sure com_developer global var gets written right after developer has been read from cmd line
1819 Patch from /dev/humancontroller (thx)
1820 ffffffffffffffffffffaaaaaaaaaaaaaassssssssst math movement on freebsd to OPTIMIZE
1821 remove the unused flags_t::field (/dev/hc again for this and previous checkin on Makefile, thanks!!!)
1822
add a missing \n from a cgame print
(thanks again /dev/hc)
1823
Sony NGP Support.
Alan Cox provided these patch notes:
Guvf vf npghnyyl n cngpu gb eryvrir hapbzsbegnoyr btt/ibeovf pbafgreangvbanoyr pbzcvyr-gvzr jneavatf sebz /qri/uhznapbagebyyre
Gunaxf 2 lbh.
1824 Fix compiler warnings (#4887)
1825 well, shit.
1826 Fix hanging client when map_restart executed on the server while client is still loading the map
1827 Make Ludwig happy
1828
- Add parameter checking to CL_*Ping* functions
- Remove unused CL_UpdateServerInfo function
1829 Fix floating point imprecision causing glitches in snapshot sending
1830 cvar is called fs_game (bug 4866)
1831 Explicitly set timer resolution on windows
1832 Only adjust timer resolution for clients
1833 Windows doesn't know z in format string
1834 done: Delete unused variable
1835
- Use select() to sleep when idle as opposed to busy waiting.
- Introduce com_busyWait cvar to go back to old behaviour
1836 r1833 now made some Linux systems spit out warnings. Fix this once and for all
1837 Server crash can cause recursive call to Com_Error, too
1838
- Fix bug #4769 remote server crash
- Fix potential 1-byte-buffer overflow in gamecode
1839 whatever devhc you're right
1840
- Change runtime standalone detection:
* com_standalone now read-only
* add new cvars com_basegame, com_homepath
* standalone now automatically detected when com_basegame is set to something different than baseq3 and no id pak pk3s are found
* This fixes https://bugzilla.icculus.org/show_bug.cgi?id=4699
- Replace a few hardcoded string literals with macros
- Add checks for Team Arena PK3s to FS_CheckPak0()
1841 Fix banfile writing to wrong game directory
1842 - Add cvars cl_gamename, sv_heartbeat, sv_flatline so standalone games can customise their messages to the master server
1843 https://bugzilla.icculus.org/show_bug.cgi?id=4460
1844 Fix a warning
1845 Fix https://bugzilla.icculus.org/show_bug.cgi?id=4733
1846 https://bugzilla.icculus.org/show_bug.cgi?id=4576
1847 Thanks Simon McVittie for fixing the bug regression in https://bugzilla.icculus.org/show_bug.cgi?id=4629
1848 Thanks for the patch, gimhael. (#4576) (allow any number of lightmaps)
1849
- Add support for linearly desaturating images via r_greyscale
- Use correct luminance values for rendering textures
Patch submitted by Forrest Voight.
1850 Ben Millwood fixing his own stuff (#4598)
1851 Fix #4683, thanks Zack Middleton
1852 Fix division by zero, reported by Simon McVittie
1853 typos, patch by Ansgar Burchardt <[email protected]>
1854 * Fix fp literals
1855 Support GNU/kFreeBSD, patch by Cyril Brulebois. Thanks.
1856 Patch by Simon McVittie to improve dynamic library loading (#4700)
1857 Remove guid again because we don't want every play on the server to know all guids, thanks brain for reporting
1858 Fix flag collision in botlib code, thanks Cyrri for reporting (#4886)
1859 Fix compilation on alpha, fix by Steve Langasek (#4703)
1860 Fix tourney score board. Thanks Zack Middleton for the patch and report
1861 Fix adding multiple entries for same server when using globalservers several times, patch by Tequila
1862 Oops typo.
1863 done (misusing CGEN_* enums with alphaGen): How could this stay undiscovered for so long? Unbelievable.
1864 Fix GNU/kFreeBSD patch by Cyril Brulebois. --> ... <--
1865
- Hopefully fix (#3984) compiler errors on Solaris while not introducing too many new ones on the other platforms
- With _BSD_SOURCE now explicitly defined bring back strdup to vm_x86_64_assembler.c
1866 Fix buffer overflow, reported by Mads Lind
1867 strdup still not accepted by some systems. *sigh*.
1868 Allow user to specify different temp dir for building (#4349)
1869 Thank you devhc
1870 Ok, getifaddrs() is not POSIX compliant. Fix #3984 as suggested by Vincent Cojot
1871 mage size_t typedef unsigned int instead of just int, thx devhc for suggesting
1872 Fix levelshot so that it cannot be executed by remote clients (#4339)
1873
- A few code cleanups in gamecode
- Add a bit of stuff from Zakk Middleton
1874 Code cleanup patch by devhc
1875 By ZTurtleMan: Cleanup; only load harvester data in harvester gametype, removed unused var, and ifdef a missionpack only var.
1876 Cleanup STANDALONE
1877 fix compiling error when in standalone mode
1878 Still not compiling when STANDALONE is set
1879 Fix STANDALONE in files.c
1880 Fix memmove with new size_t typedef, thanks DevHC for reporting
1881 It's late, I'm tired.
1882 Fix strcpy copying buffer into itself, thanks to Simon McVittie for reporting and the patch (#4894)
1883 First batch of getting replacing malloc() with Z_Malloc
1884 Brace for incoming grammar fix by DevHC!
1885 Finally fix missionpack compiling for STANDALONE=1, yes, this is tested.
1886 Make Q_vsnprintf() more standard conform in bg_lib.c, patch by devhc
1887
http://www.angryflower.com/aposter.html
(minor English issues, most of which are via /dev/humancontroller)
1888
- Use MAP_FAILED error code for check whether mmap() was successful
- Replace various malloc() with Z_Malloc
- Fix several memory leaks when VM compilation failed and Com_Error is called
- Make failed mmap/VirtualAlloc/malloc calls fatal
1889
- Make some string functions in g_cmds.c cleaner, by DevHC
- embed VM_FREEBUFFERS() macro in do-while-loop
1890 Add minimize command (#4531)
1891 update readme for last commit
1892 Fix console tab autocomplete for exec and condump on pure servers, patch by Zack Middleton
1893 no (done: r_jpegCompressionQuality): JPEG quality control patch, by Zack Middleton (#4673)
1894 Merge "which" command upstream from Tremulous, patch provided by Chris Schwarz
1895 OMGWHATISTHISSHITIDONTEVENKNOW
1896 Auto complete demos on not in pk3s while in pure servers. Patch by Zack Middleton (#4794)
1897 Support non-256x256 videos in shaders, by Zack Middleton (#4745)
1898
* Fix Sys_Milliseconds wrapping causing the flood protection code to
malfunction and block all traffic (reported by bubu^)
1899
- Fix unterminated string errors in Q_vsnprintf() on windows. Thanks to Eugene C. for reporting (#4907)
- Get rid of bigbuffer in Com_sprintf()
- Get rid of Q_snprintf and replace with Com_sprintf()
1900 Make NET_Sleep wait 1ms less than requested, then busy-wait the last ms for better timeout precision.
1901 done (crouch and lg bolt): Patch by Zack Middleton (#4920)
1902 (#4918) Gametype clamping using constant integer in missionpack ui, by Zack Middleton
1903 (#4919) Extra variable in missionpack ui's bind_t structure, by Zack Middleton
1904 (#4291) Redundant statement in client console, by Zack Middleton
1905 (#4922) Use screenYScale, not screenXScale, for scaling Y, by Zack Middleton
1906 Fix quirk reported by Zack Middleton
1907 Also send empty valued system cvars, fix proposed by DevHC
1908 Add cvar "protocol" so user can change protocol version on command line, for standalone games. Most of the patch by Simon McVittie with a few minor modifications by myself
1909 Fix systeminfo command, fix by DevHC
1910 Refactoring patch by DevHC
1911
- Fix potential out-of-bounds read in files.c, fix by using new FS_IsExt
- Add capability to load demos with com_protocol suffix, partially applied patches from Simon McVittie
- Fix demo loading if protocol number has more digits than 2
- Minor refactoring, replace all occurances of suffix "dm_" with global macro DEMOEXT
1912 Add in_availableJoysticks to list usable joysticks, similar to s_alAvailableDevices. Some parts of the patch provided by Zack Middleton
1913 Make Video settings menu revert some settings to default values via Cvar_Reset() instead of hardcoded values (#2589)
1914 Add g_humansplayers (found by server) and g_needpass (cvar) to serverinfo (#4702)
1915 Zack Middleton made me do it
1916 (#3767) Some protection from malicious qvms - patches and ideas by Amanieu d'Antras and Ben Millwood
1917 Rename cvar "in_joystickThreshold" to "joy_threshold" as QVMs use the latter name.
1918
- I accidentally committed patch by slacker from (#4915) in r1916. Patch adds input device selection support
- Add check for ALC_ENUMERATE_ALL_EXT before using ALC_ALL_DEVICES_SPECIFIER in device enumeration
- Patch readme for new cvars by Zack Middleton
1919 Fix bug where Com_StartupVariable would set CVAR_USER_CREATED on already existing cvars
1920
- Fix a compiler warning
- Fix the detection of the enumeration extensions
- Fix default device for s_alInputDevice
- Adjust formatting of S_AL_Info output
1921 (#4925) - com_pipefile to create a named pipe for sending commands from other processes, patch by Chris Schwarz
1922 done: * Fix misplaced ; in MSVC _vsnprintf wrapper
1923 strtod exists in bg_lib.c now so Q_isanumber will work in the VMs, too.
1924 Make buffers for device lists a bit longer. Just in case.
1925 Revert premature change to Makefile for migration to jpeg-8c. *sigh*
1926
- Migrate to jpeg-8c
- Add possibility to link against system libjpeg
1927
include alext.h for ALC_ALL_DEVICES_SPECIFIER
This assumes OpenAL Soft (Simon McVittie, bug 4927)
1928 add missing jconfig.h
1929
include vm_local.h in vm_powerpc_asm.c
Patch by Simon McVittie, bug 4930
1930
- Remove alext.h dependency and manually add the required macros
- Use ALC_DEFAULT_ALL_DEVICES_SPECIFIER instead of ALC_DEFAULT_DEVICE_SPECIFIER if extension exists
1931 done: * Fix whitespace
1932
- Properly use ALC_ALL_DEVICES_SPECIFIER in sound info
- Properly use ALC_CAPTURE_DEVICE_SPECIFIER in sound info
1933 Fix dynamic lighting for moving world surfaces. Patch by gimhael, thx
1934 Bug 4935 - dedicated server linked against libjpeg if using system libjpeg, patch by Simon McVittie
1935 Bug 4936 - Wrong color for non-ascii symbols in console
1936 Fix JPEG compression for screenshots and mjpeg video recording with new JPG library
1937 * Crash recovery for com_pipeFile (Lakitu7)
1938 * Fix jpeg warnings
1939 Fix player queueing for tournament play (#4939)
1940 done: * Actually call Sys_PlatformExit
1941 Fix a few comments (#4591)
1942 Consider key states before startup, patch by Zack Middleton (#4950)
1943 Make Sys_SetEnv behave alike on Windows and Linux
---- check ----
1944 no check: (no change in cl_avi.c, not using RB_ReadPixels, maybe add this?):
- Fix data alignment issue with glReadPixel call, reported by Guillaume Bougard (#4954)
- Fix data alignment issue in raw AVI recording for weird resolutions (like 1366x768)
1945 Let codec loader decide which extension to give to extensionless filenames
1946 Add better support for analog joysticks, patch by use.less01
1947 Use memcmp instead of self-built while loop
1948 Fix a little quirk still
1949 Replace a few numeric constants with already defined macros, patch by ZTurtleMan
1950
- Harden the client and server protocol against UDP spoofing attacks. This will defend ioquake3 against http://aluigi.altervista.org/papers/q3noclient.txt (#3041)
- Retains full compatibility to the old but unsecure protocol between clients and servers
- Harden the connection process against DoS attacks, possibly connected to UDP spoofing
1951
- Change the layout of the README and split "misc" section into a part for end users, and a part for developers
- Update the readme for rev. 1950
1952 Revert protocol 69 pending further discussion (#4962)
1953
- Add Inter-Quake Model (IQM) Format support, patch by gimhael with minor modifications by myself (#4965)
- Changed model_t::md4 to model_t::modelData
- Fix R_ModelBounds for MD4, MDR and IQM models (#4966)
- Support Model format fallback similar to image formats in tr_image.c, patch by Zack Middleton (#4967)
1954 Do not retry image loader for image that failed, patch by Zack Middleton (#4968)
1955 Fix out of bounds array index (#4960) patch by Ben Millwood
1956 Remove sv_strictAuth cvar for STANDALONE games
1957 Fix sending reliable commands before being connected, patch by Eugene C. (#4971)
1958
- Add licence headers to new files
- Add patch from Zack Middleton which fixes a few issues still
1959
[23:59:05] <ZTurtleMan> Thilo: altName (created using va) does not point to model filename in developer-only printf as va is used to load images before the printf. http://pastebin.com/1KCjz6Ct
1960 Do use the SV_Game{Error,Print} functions (#4972)
1961
- Add HOMEPATH default name define to q_shared.c, patch by uZu (#4973)
- reverted change from (#4972) and implemented the other suggestion to be consistent with cl_cgame.c and cl_ui.c
1962 Remove C99 code constructs from IQM code, patch by gimhael (#4974)
1963 IQM skin support and print limit info, make other limit info consistent, patch by Zack Middleton (#4978)
1964 fix overzealous cvar cheat protection, patch by cyrri (#4974)
1965 Add error handling to malloc as well
1966 Fix nasty crash bug
1967 Add codec fallback support for sound files not found, Patch by Zack Middleton (#4982)
1968 Choose better alignment for heavy-duty rendering structures, patch by Matt Turner (#4981)
1969 Add opStack protection to defend against malicious QVMs
1970
- Remove newlines in Com_Error()
- Update register description
1971 done: whoops, that one was not Com_Error()
1972 Fix spawnflag behaviour for trigger_hurt, patch by DevHC
1973 Fix one byte overflow
1974 Refactoring patch by DevHC
1975 done: DevHC messed up
1976 Fix crash bug in new codec audio loader, thanks brain for reporting
1977 More codec loader troubles with extensions
1978 done: Remove newlines from Com_Error message format strings, patch by DevHC
1979 done: Ffffuuuuuu I don't even know....
1980 done: Remove newlines from Com_Error calls, patch by DevHC
1981 ensure that ent->classname is always non-null (for entity numbers up to level.num_entities-1, and ENTITYNUM_WORLD and ENTITYNUM_NONE), for player entities and #ENTITYNUM_NONE in particular, patch by DevHC
1982
- Reverting accidentally committed vm_x86.c
- Last commit contained some refactoring for vm_x86_64.c
1983 Make bg_lib.c strchr ANSI-C conformant
1984 Fix typecast
1985
- Add vm_x86.c optimization patch by Eugene C.
- Remove ASM syntax specific code (AT&T vs MASM) for OP_CALL and replace with machine code
1986 move MIN/MAX definition, use MIN() instead of min(), patch by DevHC
1987
- Remove Q_strrchr(), replace with standard, portable strrchr()
- Add strrchr() to bg_lib.c, patch by DevHC
1988 Refactor and bugfix COM_*Extension functions, patch by DevHC
1989
- Fix lokisetup makefile problems
- Bump version number to 1.36
1990 Optimise VectorNormalize functions, patch by Matt Turner
1991 0 --> NULL
1992
- Fix SEGV in while loop getop() after t = b = 0
- Fix iss8, iss16 and iss32 which would not correctly detect 32-bit signed integer range
- Add support for "addb", "subb" etc. assembler mnemonic
- Change opStack protection for x86_64 VM: No overflow checks necessary anymore as offset register is 1 byte long only
1993
- Set default opStack size to 256
- Fix integer wraparound. opStack offset in rbx will always be >= 0
1994
- Use edx for CALLs instead of ecx, as the latter does not require any push to stack
- Make Linux AT&T asm code consistent with the MASM codeblock
1995 Use scaled indexing mode n=4 for addressing opStack, this way we can use the 8 bit offset value in %%bl to address an OPSTACK_SIZE of 1024 which was the old value.
1996 Fix VM call for release version, bug introduced by myself in r1994
1997 I don't seem to get these constraints right. This should fix it
1998
- Do assignment of value 0xDEADBEEF after the 4-byte alignment
- Add all GPR to clobber list as GCC function callAsmCall seems to change register r11 without saving it to stack first, which may result in SIGSEGV in VM_CallCompiled()
1999
- Implement opStack protection: Use register %ebx for scaled indexed addressing mode to access opStack, make opStack push/pop operate on %bl portion only
- Add a third pass to VM compilation for computation of jump address offsets, removing the need to dereference into vm->instructionPointers[] for every call/jump
- Make use of 0F opcode prefix relative jumps
- Call Com_Memcpy for OP_BLOCK_COPY
- Fix several missing range checks for vm->dataBase memory access
2000 Add instruction number checks to jumps and calls to SPARC VM, patch by David Miller
2001 Fix compilation on mingw64
2002 Fix is*() functions for windows where long value is 4 bytes
2003
- Add x86_64 support to vm_x86.c
- Fix warning on mingw64
2004
- Use EmitCallDoSyscall() to call the jump violations function which guarantees 16-byte stack alignment
- Add x64 code for MSVC _asm() blocks, not tested yet.
2005 Fix newlines in Com_Error, patch by Zack Middleton (#5023)
2006 Properly fill in occurances of "foobar" in GPL file headers, patch by Zack Middleton (#5024)
2007 Fix wrong usage info message for cmd dumpuser, patch by Zack Middleton (#5024)
2008 OpenBSD compile fixes, patch provided by Jonathan Gray (#4994)
2009
Makefile fix for mips architecture (#4995):
Fixes the \n in the $ARCH variable for IRIX/mips
Patch by Patrick Baggett
2010 (#5016) - Calls to trap_CM_PointContents don't update their origins based on moving entities (water). Patch by Ensiform
2011 Fix return values for several syscall functions, patch by Zack Middleton (#5018)
2012 * Remove misleading comment
2013
- Adapt MSVC project files to new libjpeg, fix by Guillaume Bougard and cyrri
- add tr_model_iqm.c to MSVC project, by cyrri
2014
Fixes to IQM support, by Zack Middleton
- Bug 5029 - IQM skin support for upper case surface names
- Bug 5030 - IQM version 2 support
- Bug 5031 - Animated IQMs cause segfault
- Bug 5032 - IQM does not setup tag axis/origin correctly
- Bug 5033 - IQM bounds swap and segfault issues
2015 Bug 5035 - Automatically selecting player model in q3_ui does not work if skin is not specified, patch by Zack Middleton
2016 Bug 5036 - Grappling hook does not load trail shader, patch by Zack Middleton
2017 Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in widescreen, patch by Zack Middleton
2018 Fix forgotten IQM2 support in iqm.h, patch by Zack Middleton
2019 Add static SDL libraries for compilation with MSVC
2020
- Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 mode
- Clean up ftol()/snapvector() mess
- Make use of SSE instructions for ftol()/snapvector() if available
- move ftol/snapvector pure assembler to inline assembler, this will add x86_64 and improve support for different calling conventions
- Set FPU control word at program startup to get consistent behaviour on all platforms
2021
- Fix macro that uses constant float suffix as argument
- retval variables in ftola.c must have type long, not int
2022 Forgot the inline assembler parts, here they come! Using inline asm to get rid of all the boilerplate stuff
2023
- Still forgot qasm-inline.h
- Leave GCC more freedom in choice of registers
2024
- mingw64 now links against SDL64.dll to allow for 32 and 64 bit version in the same directory
- Add library files for MinGW64
2025 Project files for Microsoft Visual Studio 10. Has x86 and x64 build configurations (#2681)
2026 Fix #if macros for idx64 and id386
2027
- Merge http://svn.icculus.org/tremulous?view=rev&revision=2185, patch by Chris Schwarz
- Remove Q_snprintf as Com_sprintf exists already
2028 Need space of len+1 for snprintf to work
2029
- Small change to search path order - local files not in .pk3s take precedence over files in pk3s. Should make life easier for modders/mappers wanting to override textures that are already contained in some older pk3.
- Make VM loading more robust, change loading order: when vm_* == 0 first try loading DLL, then QVM in *each* search directory/path.
- Fix FS_FileForHandle that would return a FILE pointer to invalid file handle 0
2030
- Don't try to load QVM/DLL files on pure servers.
- Fallback after failed DLL load will be VMI_COMPILED, not INTERPRETED
2031
Various fixes to vm_interpreted.c
- Add opStack protection
- Fix dataMask check for OP_BLOCK_COPY
- Add instruction number check for conditional jumps
- Make errors in VM_PrepareInterpreter nonfatal
2032 Use Q_ftol for vm_interpreted
2033 Fix wrong macro. MSVC win32 build should work again now.
2034 remove static VM_BlockCopy from vm_powerpc
2035 Add mingw64 crossbuild script, patch by Zack Middleton
2036
Patch from Tremulous / description from Zack Middleton: (#5041)
Clear game logfile handle after closing file. (patch from tremulous)
Game does not clear logFile handle when closing file. Might be an issue if
G_LogPrintf is called after this.
Patch from tremulous http://svn.icculus.org/tremulous?view=rev&revision=2041
2037
Patch and description by ensiform (#5043):
This patch moves cg_particles.c out of cg_marks.c to the actual file that was already there but not used. By default WOLF_PARTICLES definition is commented out if someone wants to use the old cg_particles.c changes. cg_particles.c has been added to the makefile and msvc projects.
2038 Fix #lese in las commit
2039
patch by Zack Middleton (#5044)
- Fix a few comments in tr_local.h.
- A bit of refactoring of the cpp macros
2040 Fixes for bugs introduced in last several revisions
2041 Still forgot this one :(
2042
- Fix memory leak in DMA sound after S_Shutdown().
- Make codec load use temp hunk memory instead of zone mem.
- Fix sound issues with direct sound and game_restart (#4526)
2043 Bug 5047 - Win32 dedicated server console title should use define, patch by Zack Middleton
2044 Bug 5048 - Entity constant light does not work correctly, bug found by Eraesr (Eraser?)
2045
- Improve game_restart:
* differing screen resolutions and network settings are now honoured when changing fs_game
* Fix hunk memory leak on game_restart
* Move cls.state and cls.servername to clc so connection state is fully preserved over game_restart
* Revert back to previous fs_game after disconnecting from a server that triggered a game_restart
* Fix error dialog popping up after every game_restart if an error happened previously (reported by Ensiform)
- Fixed that not all commands added by CL_Init() would be removed by CL_Shutdown()
2046 Fix unnoticed bug in game_restart
2047
- Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in wi
descreen, by Zack Middleton
Check if uivm is loaded before using it
Patch adds a check for uivm before using it, fixes running dedicated server
using client binary.
Missing uivm check pointed out by Ensiform.
- Bug 5049 - TA UI forces overstrike mode on when focusing an edit box, by Ensiform
- Bug 5052 - Missing podium timer initialization, by Eugene C.
2048 Fix to (#5051) - strchr in GraphicsOptions_GetAspectRatios() might return NULL for some strange reason
2049 Fix x64 compilation on MSVC
2050
- Clear ip address listings after a NET_Restart.
- check for oldGameSet instead of the gamename string
2051 Fix by Laurent Desnogues for my feeble attempt at a fix
2052
- align sse control word storage space to 16 byte boundary for snapvector.
- replace some whitespace with tabs in snapvector.c.
- Give gcc a bit more freedom in choice of registers
2053
- Automatically reset fs_game to "" if it was supplied by the user and is equal to com_basegame
- Fix problem where users could change values of CVAR_INIT variables after the call to Cvar_Get() via Com_StartupVariable()
- Move sound shutdown after client shutdown so VMs don't hold invalid sound handles in memory
2054 Allow recursive VM entry for VM operations as well
2055 Correct fix to (#5051), patch by Roughael
2056 Fix grenade rotation ends always the orientation (#5053), patch by Eugene C.
2057 Get rid of redundancy
2058 Fix ipv6 server query
2059 Add forced VM unloading to Com_Quit_f
2060 (done): Make sound fallback behaviour for music streams less verbose
2061 Make g_doWarmup archived cvar
2062
- Fix opStack size for vm_x86.c.
- Change opStack alignment to 16 for vm_x86_64.c
2063 All patches by Zack Middleton:
- Bug 5057 - Two weapon number range checks allows invalid number
- Bug 5058 - Railgun explosion cannot be colorized
- Bug 5059 - Client's railgun does not glow in third person and mirror
- Bug 5060 - Warning in RAVENMD4 R_GetAnimTag cross compiling with amd64-mingw32
2064 (done):
More color fixes for railgun
Show other players' railgun color and their firetime state.
Show snapshot client's color on world item models of railgun.
Fix the impact mark using color2 (spiral) rather than color1 (beam).
Credits go to Ensiform and Harekiet for the refire portion.
2065 - Add better protection against DoSing connecting users from connecting
- Have Com_sprintf return string length
- add STR_LEN macro for static strings
2066 Add fixes to ui menu by Ensiform and DevHC (#5062)
2067 Make naming a bit more foolproof for new macro
2068 Fix indentation
2069 Bug 5067 - Remove references to unused teamtournament gametype. Toggle areaportal on mover ents where due is needed, patch by Ensiform
2070 no (not plasma explosion because it is distracting, can be done with fx if needed): Bug 5066 - Plasmagun and BFG don't play the explosion when they hit players, patch by Ensiform
2071 Bug 5069 - Remove unused variable console_color, by uZu
2072 Permit downloading files larger than 65 Megabytes via UDP by working around short int wraparound.
2073
- Greatly improve UDP downloading speed for clients
- Add download rate control cvar sv_dlRate
- Don't send snapshots to downloading clients
2074 Forgot to set default rate back to 100kbyte/s
2075
- Implement dual protocol support (#4962)
- Fix several UDP spoofing security issues
2076 no (demo lists not based on protocol):
- Add dual protocol support to team arena demo selector
- Fix demo selection in team arena menu on case sensitive file systems
- Some changes in the way how vanilla q3 demo file lists are compiled in the menu
2077
- Improve snapshot rate and data rate control
- Make server send packet fragments and queued packets when server is idle
- Voip protocol detection is tied to com_protocol making past-end-of-message reading unncessary
- Use Hunk_AllocateTempMemory() for buffering VOIP packets and fix buffering scheme that ryan hates so much
- Disable packet scrambling for new protocol as it is useless now
- Get rid of the old packet scrambling functions predating latest point release
- Use Hunk_AllocateTempMemory() for netchan packet queue to fix memory leak
when client gets disconnected with packets in the queue
- Use Hunk_AllocateTempMemory() for download blocks to fix memory leak when
client gets disconnected with download blocks in the queue
- Fix SV_RateMsec to account for udp/udp6 packet lengths
2078
- Forgot to mention: last rev (2077) bumped default protocol version to 70
- Fix queued packet rate control
2079
- Make sure at least one round of download packets and packet queues gets sent each frame
- Fix timeVal select timeout value for case of unlimited data rate and now downloads are active
2080 no (check again) (different): Remove one unnecessary loop in the beginning
2081
- Revert back to Z_Malloc from Hunk_FreeTempMemory introduced in r2077 as Hunk_FreeTempMemory must be freed in LIFO order (#5079)
- Introduce SV_ClientFree() to prevent memory leaks r2077 was supposed to fix
2082 Have server send protocol version in challengeResponse so protocol negotiation works. (Where did this one get lost?)
2083 Move rate limiting / queued packet sending logic from Com_Frame() to sv_main.c
2084 done (possibly different): Bug 5075 - Fix comments in quake3 configs, patch by [email protected]
2085 Fix compile for USE_VOIP=0
2086 Fix alignment issues in message sending/reading that would crash IRIX, thanks to Canavan for supplying a shell where I could fix this (#5077)
2087 Fix legacy protocol with new packet queueing
2088 * Use specific exit code for xmessage
2089 Fix delta compression breaking due to packet queuing
2090 Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions etc., patch by [email protected] and Zack Middleton
2091
- Bug 5083 - Cross compiling for 64bit is missing libcurl.a
- Fix a compiler warning for cross compile
2092 * Fix various issues with unix Sys_Dialog
2093 Shut up returning functions with noreturn attribute warning
2094 Revert attribute patch from r2090 because the jpeg functions really shouldn't be deviating from the codebase unnecessarily
2095 Bug 5084 - [patch] add support for Debian cross compiling, by [email protected]
2096 Fix client crash on windows with old OpenAL
2097 * Replace usage of system with fork/exec
2098 Fix extension name comparison for DLL files
2099 Include q_shared.h instead of redefining these
2100 Fix last "noreturn" warnings
2101 Bug 5096 - Define PRODUCT_VERSION in q_shared.h if it is not, patch by Zack Middleton
2102
- Apply parts of Ben Millwood's target bitfield patch (#3787)
- Fix Ryan's FIXME and have voip packet buffer on the server dynamically allocated via Z_Malloc and store pointers in a circular buffer
- Improve voip target parsing on top of Ben Millwood's patch
- Add new "spatial" target where speaker is spatialized in 3d space and can be heard by all clients in hearing range (s_alMaxDistance)
(#4467)
- Decrease voip sound lengths from 240ms to 80ms per voip packet to mitigate udp packet loss and decrease latency
- Protocol version incremented to 71
2103 Fix menu corruption on IRIX (#5097), patch by Rainer Canavan
2104 Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
2105
- Switch master server protocol to dpmaster for better game separation. Based partly on patch by Zack Middleton
- Get rid of ugly cvars sv_heartbeat and cl_gamename and replace with single com_gamename
- Remove sv_flatline. Flatlines are ignored by dpmaster and are considered to be insecure because flatlines can be udp-spoofed.
2106
Change DLL search path order for external libraries that are linked at runtime, like libcurl or libopenal to:
* system library paths
* executable path
* fs_basepath
2107 Fix cvar flags to get rid of warnings (#2881)
2108 Fix strange ifdeffery (#5140)
2109 Bug 5134 - q3_ui incorrectly tells user to refresh servers while auto-refreshing, patch by Zack Middleton
2110 Some more removal of unused code in addition to r2104, by Zack Middleton
2111
Fix pak order when reconnecting to a server.
When /connect to the same server is issued while already connected, an initial call to CL_Disconnect will remove all pak file references
and reset the pak order.
Reordering only occurs through FS_Restart, which in turn is called when checksum feed changes. Because we reconnect to the same server,
checksum feed never changes and pak file order is not restored to server order again. With certain pak file constellations between client/server,
this may result in an inability to load files from paks which are not correctly detected as referenced paks.
2112
Modular rendering system. Patch by use.less01
This might break MSVC builds. I'll take care of it later
2113 Add forgotten file for last rev
2114 Don't search system directories for renderer lib
2115
- Fix already defined command warnings for minimize
- Fix recursive CL_Shutdown warning and "command already defined" warnings when quitting while playing on a server that changed the gamedir.
2116
Batch of bug fixes for gamecode. Patch compiled and log message written by Tobias Kuehnhammer (#5144)
############################################################################
####
This Patch fixes:
###############################################################################
- The "fraglimit warning" was not played at all, if on the blue team.
- The "where" console command was broken.
- Obelisk explosion wasn't drawn if no Rocketlauncher was loaded.
- Impact marks sometimes didn't draw at all.
- IMPORTANT BUGFIX: No killing for cheaters with Lightning gun and Gauntlet.
- If two doors are close to each other a spectator couldn't fly through them.
- More robust, efficient and logical respawning routine.
NOTE: The game.qvm will get notable smaller and will use LESS MEMORY!
- Drowning sounds are fixed. Now they are played as intended. (as the id
comment
in the source code shows).
- Some AI bugs (OVERFLOW!) in the bot movement code.
- Several "Team Arena" Overload and Harvester bugs.
- Stops bots from attacking a team mate (player) who only changed teams.
- Some voice chats and CTF commands fixed.
- "Team_ReturnFlag" was called twice, which did wired things sometimes.
NOTE: (G_RunItem checks CONTENTS_NODROP already!)
- A bugfix for Gauntlet animation.
- Incorrect CTF scoring.
- A bunch of corrected comments and print lines ("\n").
- Some regularity of expression and some small trivial bugs.
2117 Remove unneeded library dependencies with new modular renderer
2118 Make client/server cflags configurable
2119 Add patch by Zack Middleton to fix building for USE_RENDERER_DLOPEN=0
2120 Add SDL library to renderer lib
2121 Fix compilation on MINGW
2122 Fix ARCH_STRING macro for mingw64
2123 [16:31:51] <ZTurtleMan> Thilo: two small fixes, one for r2112 and one for r2116. http://pastebin.com/raw.php?i=h19r211Z
2124 Fixed some typos in the readme.
2125 Fix crash bug introduced in r2116. traceEnt does not always have to be a client, so gauntlet attacking something that is not a client will crash the game. Thanks to Ensiform for reporting
2126 Remove executable property from these files
2127 Change x86_64 to x64 for mingw.
2128 Moved various per-platform ifs/defines to be only done once for all platforms.
2129 Fix game restart after curl download finished
2130 Don't do game_restart if game directory changed from "" to "baseq3" or "baseq3" to ""
2131
* Fix some grammar in DLL loading
* s/Sys_LoadQVMDll/Sys_LoadGameDll/
2132 Fixed viewing sv_master[3-5] in q3_ui server browser (don't give engine fake sources).
2133 Support five master servers in Team Arena server browser.
2134 Fix compilation on non-x86 platforms, by Simon McVittie
2135 Bug 5146 - Remove last of warnings under gcc 4.6.1 for Linux, patch by [email protected]
2136 Use STDOUT_FILENO instead of 1 in con_tty.c
2137 Don't grab mouse till UI loads.
2138 Don't create clientsmp directory (which is no longer used), pointed out by DevHC.
2139 Simulate line buffering and fix the overflow bug in Com_ReadFromPipe(), patch from DevHC.
2140 Add hack to allow server the setting of game cvar values that are important for playerstate prediction for legacy gamecode.
2141
- Add x86_64 platform for MacOSX
- Fix compilation on MacOSX gcc
2142
- More MacOSX changes to Makefile
- Ship libSDL-1.2.0.dylib with x86_64 platform support