Commit Graph

2416 Commits

Author SHA1 Message Date
Matt Woodrow
ae7e5a6a4b Pending Map should no longer be shown when mapvotes are disabled.
Removed tf2 include from mapchooser.
Moved sm_setnextmap to mapchooser and made it block the end of map vote.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402427
2008-07-28 07:47:28 +00:00
David Anderson
50eb77926e fixed amb1885: regression in IsInExec() which caused ThrowNativeError to fail
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402426
2008-07-27 06:29:58 +00:00
Matt Woodrow
bd24893837 Probably helps to close files after opening them.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402425
2008-07-27 00:01:17 +00:00
Matt Woodrow
dad66c9204 Nextmap command (basetriggers.sp) will now show 'Pending Vote' if mapchooser is running, and the vote has not yet occured.
Few cvar description changes in rockthevote.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402423
2008-07-17 07:47:11 +00:00
David Anderson
9292e0f816 Fixed a bug where natives with no owner could be bound (crashing).
Fixed a bug where FakeNative entries were leaked.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402422
2008-07-16 03:46:10 +00:00
David Anderson
4d48fc7ae5 Fixed double-period showing on native failures.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402421
2008-07-16 03:37:37 +00:00
David Anderson
463cfb0015 fixed a crash-on-load bug in clientprefs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402420
2008-07-16 02:48:50 +00:00
Matt Woodrow
3ed5d1e8d7 Fixed build. I <3 you too gcc.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402419
2008-07-15 02:26:22 +00:00
Matt Woodrow
e64e2534eb Fixed amb1810 - Clientprefs no longer blocks load.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402418
2008-07-15 00:24:08 +00:00
Matt Woodrow
67e28d7475 Moved nextmap command into basetriggers.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402417
2008-07-13 07:01:54 +00:00
Matt Woodrow
64b8049d70 Fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402416
2008-07-13 06:13:28 +00:00
Matt Woodrow
dd75e88cbb Identities are now dropped before extensions unload.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402415
2008-07-13 05:36:52 +00:00
Matt Woodrow
c75d607a00 - Added ForceChangeLevel and Map History to nextmap api
- Changed base plugins to use new api
- Added sm_maphistory command to nextmap.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402413
2008-07-13 05:13:37 +00:00
David Anderson
8126aa6bb8 using 'goto' is now an error
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402412
2008-07-12 22:28:10 +00:00
Scott Ehlert
846caf1298 Builds against latest OB SDK now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402410
2008-07-12 09:05:19 +00:00
Scott Ehlert
c2917a8dd4 Fixed Windows build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402409
2008-07-12 04:08:41 +00:00
David Anderson
9e443cfdd3 fixed release build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402408
2008-07-12 03:30:00 +00:00
David Anderson
b743af8a72 fixed cstrike build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402407
2008-07-12 03:19:55 +00:00
David Anderson
8a4c96b252 fixed build (I hope)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402404
2008-07-11 09:28:04 +00:00
David Anderson
0392e55ef7 fixed module version path
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402403
2008-07-11 09:27:03 +00:00
David Anderson
fa5ee3287f fixed regressions in debug mode
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402402
2008-07-11 09:24:12 +00:00
Matt Woodrow
e1882f97a1 Added amb1826 - 'nextmap' command now attempts to obey 'sm_trigger_show' if available.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402401
2008-07-11 08:31:57 +00:00
David Anderson
1a156deca5 landed massive refactoring of the JIT. contexts are actually contexts now, and a higher level structure wraps sp_plugin_t info. on that note, both sp_plugin_t and sp_context_t are entirely opaque, and not even core has access to them. amazingly, i managed to keep binary compatibility here although a large number of functions are deprecated (and core should eventually stop calling them).
NOTE: the JIT is now embeddable out-of-box and usable by other projects which is pretty cool.  I will commit a shell app demonstrating this soon

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402400
2008-07-11 08:18:43 +00:00
David Anderson
5668f23b50 fixed a compat regression, forgot msvc does funky things with overloaded virtual calls
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402399
2008-07-11 06:51:21 +00:00
David Anderson
232f344c41 FindPluginByContext works again
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402398
2008-07-11 05:15:43 +00:00
David Anderson
79cf4e07eb GetContext() now returns 'this' as a hack (shouldn't+can't be accessed anyway)
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402397
2008-07-11 05:14:32 +00:00
David Anderson
f9b294d89e updated makefile to actually work
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402396
2008-07-10 05:42:10 +00:00
David Anderson
a88d7c1cdc fixed a number of regressions, things are starting to load
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402395
2008-07-10 05:38:54 +00:00
David Anderson
85760603b7 fixed linux build
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402394
2008-07-10 03:38:04 +00:00
Matt Woodrow
ea1f5e86c0 Gamedata fetcher now unlocks gamedata files after a successful query
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402393
2008-07-10 01:26:02 +00:00
Matt Woodrow
b1072d3b09 Fixed amb1838 - Mapchooser should not instantly start a new vote if the current one was cancelled (and caused a stack overflow)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402392
2008-07-10 01:11:51 +00:00
Matt Woodrow
81632dda97 Fixed unload crash with tf2 extension.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402391
2008-07-09 02:03:13 +00:00
Matt Woodrow
80fdbcf8c7 Fixed regression in ForwardSys with ET_LowEvent
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402390
2008-07-08 23:55:29 +00:00
Scott Ehlert
bd2361c8ae Bumped IForwardSys
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402388
2008-07-08 21:17:05 +00:00
Scott Ehlert
c9a81c0651 - Fixed amb1802: Crash when client was disconnected as a result of false being returned in OnClientConnect and a function that operated on this client was used. A client's connection state was not reset when this happened.
- Removed IForwardFilter due to overall horribleness (should be safe since no one seems to use it). Perhaps it might be back one day?
- Added ET_LowEvent forward exec type which is exactly the same as ET_Event, except that it returns the lowest value rather than the highest

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402386
2008-07-08 09:20:47 +00:00
David Anderson
aa096f2385 fixed a few really dumb crash bugs in refac-jit
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402383
2008-07-08 07:59:33 +00:00
Matt Woodrow
53acb70260 Fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402382
2008-07-07 23:12:21 +00:00
Matt Woodrow
6ef4c4b3ad Fixed amb1828 - Not killing timers properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402381
2008-07-07 22:17:55 +00:00
Matt Woodrow
4ac38946f2 Fixed amb1815 - Custom admin menu wasn't escaping input
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402380
2008-07-07 22:11:49 +00:00
David Anderson
af54ae6af7 fixed some build issues. deprecated ISourceMod::GetScriptingVM
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402378
2008-07-07 06:33:42 +00:00
David Anderson
2c23544b29 amazingly, core now builds. it probably crashes horribly but i'll test tomorrow.
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402377
2008-07-07 06:25:15 +00:00
David Anderson
5351bbec71 more api for core
sets profiler+debugger now

--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402376
2008-07-07 06:24:54 +00:00
David Anderson
492c913aa9 added api calls needed by core
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402375
2008-07-07 05:28:42 +00:00
David Anderson
31dd23fbd9 committed public api changes (context and plugin are now private)
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402374
2008-07-07 04:58:49 +00:00
David Anderson
3f38171d8c refac-jit is almost done i think, next comes getting core compatible.
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402373
2008-07-07 04:56:29 +00:00
David Anderson
307adb34ab moved more files around
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402371
2008-07-06 05:04:38 +00:00
David Anderson
8a4af4d22f moved files around pre-emptively
--HG--
branch : refac-jit
rename : sourcepawn/jit/x86/msvc8/jit-x86.sln => sourcepawn/jit/msvc8/jit-x86.sln
rename : sourcepawn/jit/x86/msvc8/jit-x86.vcproj => sourcepawn/jit/msvc8/jit-x86.vcproj
rename : core/vm/sp_vm_basecontext.cpp => sourcepawn/jit/sp_vm_basecontext.cpp
rename : core/vm/sp_vm_basecontext.h => sourcepawn/jit/sp_vm_basecontext.h
rename : core/vm/sp_vm_engine.cpp => sourcepawn/jit/sp_vm_engine.cpp
rename : core/vm/sp_vm_engine.h => sourcepawn/jit/sp_vm_engine.h
rename : core/vm/sp_vm_function.cpp => sourcepawn/jit/sp_vm_function.cpp
rename : core/vm/sp_vm_function.h => sourcepawn/jit/sp_vm_function.h
rename : core/zlib/adler32.c => sourcepawn/jit/zlib/adler32.c
rename : core/zlib/compress.c => sourcepawn/jit/zlib/compress.c
rename : core/zlib/crc32.c => sourcepawn/jit/zlib/crc32.c
rename : core/zlib/crc32.h => sourcepawn/jit/zlib/crc32.h
rename : core/zlib/deflate.c => sourcepawn/jit/zlib/deflate.c
rename : core/zlib/deflate.h => sourcepawn/jit/zlib/deflate.h
rename : core/zlib/gzio.c => sourcepawn/jit/zlib/gzio.c
rename : core/zlib/infback.c => sourcepawn/jit/zlib/infback.c
rename : core/zlib/inffast.c => sourcepawn/jit/zlib/inffast.c
rename : core/zlib/inffast.h => sourcepawn/jit/zlib/inffast.h
rename : core/zlib/inffixed.h => sourcepawn/jit/zlib/inffixed.h
rename : core/zlib/inflate.c => sourcepawn/jit/zlib/inflate.c
rename : core/zlib/inflate.h => sourcepawn/jit/zlib/inflate.h
rename : core/zlib/inftrees.c => sourcepawn/jit/zlib/inftrees.c
rename : core/zlib/inftrees.h => sourcepawn/jit/zlib/inftrees.h
rename : core/zlib/trees.c => sourcepawn/jit/zlib/trees.c
rename : core/zlib/trees.h => sourcepawn/jit/zlib/trees.h
rename : core/zlib/uncompr.c => sourcepawn/jit/zlib/uncompr.c
rename : core/zlib/zconf.h => sourcepawn/jit/zlib/zconf.h
rename : core/zlib/zlib.h => sourcepawn/jit/zlib/zlib.h
rename : core/zlib/zutil.c => sourcepawn/jit/zlib/zutil.c
rename : core/zlib/zutil.h => sourcepawn/jit/zlib/zutil.h
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402370
2008-07-06 04:59:39 +00:00
David Anderson
2e7b6b5ba5 jit refactoring branch
--HG--
branch : refac-jit
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/refac-jit%402369
2008-07-06 04:49:55 +00:00
David Anderson
9a02cb9dc8 synced dod:s gamedata changes from 1.0.3
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402368
2008-07-06 03:37:40 +00:00
David Anderson
43c085eea3 synced config changes from 1.0.3
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402367
2008-07-06 03:35:58 +00:00