sourcemod/core/logic
David Anderson 060c832f89 Update SourcePawn.
This brings in a few breaking changes.

One, INVALID_FUNCTION is now 0 instead of -1. This is long overdue.
Plugins should transparently work except in two cases:

  1. Third-party extensions that have a hardcoded test for -1 will no
     longer work. A new API has been provided for this,
     GetFunctionByIdOrNull.
  2. If a plugin "framework" uses INVALID_FUNCTION anywhere in its
     exported API, then all plugins using that framework need to be
     recompiled together, so they agree on the value of
     INVALID_FUNCTION.

Hopefully the damage here is minimal. The core plugin version has been
bumped to 7 to try and limit conflicts.

Second, braceless functions are no longer supported. There wasn't really
any way around this and it's better to bite the bullet now. This affects
source compatibility, but not binary compatibility.

Third, the "using" keyword is no longer implemented. SourceMod now has a
Handle methodmap again. Plugins compiled against this new methodmap will
require a "Handle.~Handle" native, which 1.12 now provides.
2023-11-02 18:38:30 -10:00
..
AdminCache.cpp Fix sm_dump_admcache with command group overrides (#1519) 2021-07-01 22:19:50 +01:00
AdminCache.h Individualize NameHashSet Hashing & Revisit #709 (#740) 2018-07-10 17:38:40 -04:00
ADTFactory.cpp Move ADTFactory from core to logic (bug 5953, r=fyren). 2013-10-09 08:43:08 -04:00
ADTFactory.h Move ADTFactory from core to logic (bug 5953, r=fyren). 2013-10-09 08:43:08 -04:00
AMBuilder Add functions for working with entity lumps (#1673) 2022-09-05 15:44:58 -07:00
BaseWorker.cpp Start using Github Actions (#1488) 2021-05-09 01:46:08 +02:00
BaseWorker.h Pare down ThreadSupport and remove ancient thread code. 2020-05-13 00:35:29 -07:00
CDataPack.cpp Fix out of bounds write in CDataPack::Write*Array (#1554) 2021-07-28 22:19:16 +01:00
CDataPack.h datapack: remove legacy cache (#1357) 2020-10-02 16:04:30 -07:00
CellArray.h Fix crash when ArrayList runs out of memory (#1235) 2020-04-30 17:59:54 +01:00
common_logic.cpp Add functions for working with entity lumps (#1673) 2022-09-05 15:44:58 -07:00
common_logic.h 64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
Database.cpp Lift raw pointers out of DatabaseConfBuilder (#1637) 2022-05-24 11:41:15 +02:00
Database.h Lift raw pointers out of DatabaseConfBuilder (#1637) 2022-05-24 11:41:15 +02:00
DatabaseConfBuilder.cpp Lift raw pointers out of DatabaseConfBuilder (#1637) 2022-05-24 11:41:15 +02:00
DatabaseConfBuilder.h Lift raw pointers out of DatabaseConfBuilder (#1637) 2022-05-24 11:41:15 +02:00
DebugReporter.cpp Fix vote menu handler to work with direct arrays. 2021-12-09 18:10:35 -08:00
DebugReporter.h Fix vote menu handler to work with direct arrays. 2021-12-09 18:10:35 -08:00
ExtensionSys.cpp Mark unloaded extensions as not fully loaded (fixes #1574). 2021-10-24 08:52:32 -05:00
ExtensionSys.h Only show extensions that failed to load if the extension is required. 2017-11-30 12:57:12 -05:00
ForwardSys.cpp Replace ke::LinkedList with std::list. 2020-05-31 23:19:41 -07:00
ForwardSys.h Don't break backwards compatibility with unmanaged forwards 2017-08-25 23:23:50 +02:00
frame_tasks.cpp Replace ke::Vector with std::vector. 2020-05-31 11:35:51 -07:00
frame_tasks.h Rename ke::Lambda to ke::Function. 2020-05-17 12:33:52 -07:00
FrameIterator.cpp Replace ke::Vector with std::vector. 2020-05-31 11:35:51 -07:00
FrameIterator.h Fix crash in FrameIterator. 2021-07-16 18:33:10 -07:00
GameConfigs.cpp Fix gamedata library search order in some cases. (#1914) 2023-01-29 20:24:34 +00:00
GameConfigs.h Fix gamedata library search order in some cases. (#1914) 2023-01-29 20:24:34 +00:00
handle_helpers.h Split intercom.h into separate headers and reduce shared header inclusion. 2015-08-31 10:00:49 -07:00
HandleSys.cpp Bump handle limit to 1MB. 2021-10-26 07:05:34 -10:00
HandleSys.h Bump handle limit to 1MB. 2021-10-26 07:05:34 -10:00
LibrarySys.cpp Migrate extensions to common AMTL string funcs (#785) 2018-03-25 13:00:53 -07:00
LibrarySys.h Update to the latest AMTL - Rename Ref to RefPtr. 2015-11-08 13:14:57 -08:00
Logger.cpp Replace AString with std::string. 2020-05-20 17:57:18 -07:00
Logger.h Replace AString with std::string. 2020-05-20 17:57:18 -07:00
LumpManager.cpp entitylump: Output separator as spaces instead of tabs (#1873) 2022-12-05 13:14:54 +01:00
LumpManager.h Add functions for working with entity lumps (#1673) 2022-09-05 15:44:58 -07:00
MemoryUtils.cpp Cache copy of library on first symbol/signature lookup (#1642) 2021-11-18 17:55:32 +01:00
MemoryUtils.h Cache copy of library on first symbol/signature lookup (#1642) 2021-11-18 17:55:32 +01:00
MersenneTwister.h Added better random number generator (bug 3831, r=fyren). 2009-10-26 23:59:59 -07:00
Native.h sourcepawn: uplift FakeNative to DynamicNative. (#1338) 2020-10-02 16:42:31 -07:00
NativeOwner.cpp Replace ke::Vector with std::vector. 2020-05-31 11:35:51 -07:00
NativeOwner.h Replace ke::LinkedList with std::list. 2020-05-31 23:19:41 -07:00
PhraseCollection.cpp Add Translation Natives (#669) 2017-11-20 21:24:01 -08:00
PhraseCollection.h Add Translation Natives (#669) 2017-11-20 21:24:01 -08:00
PluginSys.cpp Update SourcePawn. 2023-11-02 18:38:30 -10:00
PluginSys.h Add OnNotifyPluginUnloaded forward 2021-05-24 14:30:16 -07:00
ProfileTools.cpp Replace ke::Vector with std::vector. 2020-05-31 11:35:51 -07:00
ProfileTools.h Replace ke::Vector with std::vector. 2020-05-31 11:35:51 -07:00
PseudoAddrManager.cpp 64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
PseudoAddrManager.h 64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
RootConsoleMenu.cpp Update credits (#1367) 2020-10-16 21:41:21 +01:00
RootConsoleMenu.h Individualize NameHashSet Hashing & Revisit #709 (#740) 2018-07-10 17:38:40 -04:00
ShareSys.cpp sourcepawn: uplift FakeNative to DynamicNative. (#1338) 2020-10-02 16:42:31 -07:00
ShareSys.h Bump handle limit to 1MB. 2021-10-26 07:05:34 -10:00
sm_crc32.cpp Invert CRC to match most popular implementations. 2021-11-01 13:04:23 -04:00
sm_crc32.h Mercurial queues... oh, how terrible. 2010-01-18 03:20:44 -08:00
sm_simple_prioqueue.h Move DBManager and DB natives from core to logic (bug 5953, r=fyren). 2013-10-09 08:43:08 -04:00
sm_symtable.h Move memutils from core to logic (bug 4406, r=ds). 2010-05-14 16:14:59 -07:00
sm_trie.cpp Move adminsys and more natives from core to logic. 2014-05-29 13:31:12 -04:00
sm_trie.h Move adminsys and more natives from core to logic. 2014-05-29 13:31:12 -04:00
smn_admin.cpp Purge Purge. 2015-03-05 10:56:36 -08:00
smn_adt_array.cpp Add block parameter to various ArrayList functions (#1656) 2023-09-27 16:05:43 +02:00
smn_adt_stack.cpp Add more functions to ArrayStack (#2019) 2023-09-27 15:43:04 +02:00
smn_adt_trie.cpp Add new trie native: ContainsKey() (#1390) 2020-11-30 20:51:47 -08:00
smn_banning.cpp Split intercom.h into separate headers and reduce shared header inclusion. 2015-08-31 10:00:49 -07:00
smn_console.cpp core: Call SetGlobalTarget in PrintToConsole (#1448) 2021-03-20 22:24:06 -07:00
smn_core.cpp Add ParseTime (strptime) native (#1697) 2023-07-04 13:42:45 +02:00
smn_database.cpp Update SourcePawn. 2023-11-02 18:38:30 -10:00
smn_datapacks.cpp datapack: remove legacy cache (#1357) 2020-10-02 16:04:30 -07:00
smn_entitylump.cpp Add functions for working with entity lumps (#1673) 2022-09-05 15:44:58 -07:00
smn_entitylump.h Add functions for working with entity lumps (#1673) 2022-09-05 15:44:58 -07:00
smn_fakenatives.cpp Fix error return of FormatNativeString. (#1613) 2021-10-26 22:31:58 -07:00
smn_filesystem.cpp Add File.Flush methodmap (#1056) 2019-07-31 22:18:07 +00:00
smn_float.cpp Add support for float modulo operator (#1953) 2023-03-19 16:19:42 +00:00
smn_functions.cpp Update SourcePawn. 2023-11-02 18:38:30 -10:00
smn_gameconfigs.cpp gamedata: implement GetMemSig (#1345) 2020-10-02 16:40:13 -07:00
smn_halflife.cpp Add support for retrieving game server Steam Id (bug 6404). (#495) 2016-04-26 23:17:08 -04:00
smn_handles.cpp Update SourcePawn. 2023-11-02 18:38:30 -10:00
smn_lang.cpp Add GetClientOriginalLanguage (#1810) 2022-07-28 18:10:51 -07:00
smn_maplists.cpp Fix ReadMapList ignoring file's last modified time (#1891) 2022-12-20 21:26:57 +00:00
smn_menus.cpp Update SourcePawn. 2023-11-02 18:38:30 -10:00
smn_players.cpp core: Add client id to MultiTargetFilter forward (#1070) 2021-03-08 10:04:11 -08:00
smn_profiler.cpp Add Profiler methodmap (#814) 2018-07-08 11:05:29 -04:00
smn_sorting.cpp Update to the new SourcePawn compiler. 2021-10-26 17:45:48 -10:00
smn_string.cpp Fix Int64ToString producing incorrect output (#1723) 2022-03-04 03:03:35 -08:00
smn_textparse.cpp Add SMCParser.ParseString (#1817) 2022-12-02 16:55:08 +01:00
smn_timers.cpp Split intercom.h into separate headers and reduce shared header inclusion. 2015-08-31 10:00:49 -07:00
sprintf.cpp Fix translations getting truncated prematurely (#1640) 2021-11-16 16:09:30 +00:00
sprintf.h Implement an auto-escaping Format native for SQL query construction 2016-02-15 15:05:16 +00:00
stringutil.cpp Fix Miscellaneous Regressions and UBs (#1022) 2019-05-28 18:04:08 -07:00
stringutil.h Move the guts of Format to a helper function 2016-02-15 12:49:22 +00:00
TextParsers.cpp Replace ke::SafeSprintf with ke::SafeStrcpy (#784) 2018-03-19 20:12:51 +00:00
TextParsers.h Import of core modularization plan (bug 3599). 2009-05-13 21:55:50 -04:00
ThreadSupport.cpp Fix crash when creating threads with Thread_AutoRelease 2021-03-11 09:48:39 +01:00
ThreadSupport.h Replace all uses of AMTL threads with STL threads. 2020-05-16 22:35:56 -07:00
Translator.cpp Replace ke::SafeSprintf with ke::SafeStrcpy (#784) 2018-03-19 20:12:51 +00:00
Translator.h Add Translation Natives (#669) 2017-11-20 21:24:01 -08:00
version.rc Overhauled versioning information (bug 5453, r=dvander). 2012-08-26 01:33:54 +01:00