Commit Graph

16 Commits

Author SHA1 Message Date
Kyle Sanderson
155248a2a9 handlesys: minor style clean. 2019-07-21 12:11:47 -07:00
Kyle Sanderson
fa69f94e77 🤬 2019-07-21 09:32:44 -07:00
Kyle Sanderson
c732c8dc78 what a pain. 2019-07-21 09:17:31 -07:00
Kyle Sanderson
d32511d83e should go lie down... 2019-07-21 09:10:40 -07:00
Kyle Sanderson
1687b154e7 another go for wally... 2019-07-21 09:00:38 -07:00
Kyle Sanderson
86916f2b0d typo-fix. 2019-07-21 08:43:50 -07:00
Kyle Sanderson
60841f42b7 Add AutoHandleIdentLocker to pub/internal API 2019-07-21 08:33:10 -07:00
Kyle Sanderson
45dd841330 Introduce GetHandleAccess to (I)HandleSys. 2019-07-21 08:32:13 -07:00
Michael Flaherty
aaac0b9eb2 Individualize NameHashSet Hashing & Revisit #709 (#740)
* Make mac/win lookups lowercase'd

* Revert #709 & 81042cc

* Adjust HashPolicy implementation across sourcemod

Basically, in order to implement our own (actual) hash policy in
`PluginSys.h`, we needed to remove the blanket implementation of `hash`
that was used before. Now, each policy must implement `hash` along with
`matches` in order to be used with `NameHashSet`. While this does force
us to change every implementation of policies across the entirety of
sourcemod, it allows core to use flexible implementations of `hash`.

* Remove logic duplication

* Improve lowercase checks
2018-07-10 17:38:40 -04:00
David Anderson
25b3d8f354 Update AMTL. 2018-05-31 21:23:59 -07:00
David Anderson
168b779786 Move sm_dump_handles to core/logic. 2015-09-20 14:33:10 -07:00
Thordin
f27c33cd18 Increased handles to 32k 2014-12-07 21:50:40 -08:00
David Anderson
f0e4fe66ba AMTL updates and changes to adapt for them to fix menu crashes (bug 5921, r=psychonic).
AMTL:
Removes isVoid from AString.
Fixes support inserting to Vector at length.

--HG--
extra : rebase_source : 02805fad60c2b759a0e2e91c081144854a8e0b54
2013-11-30 10:51:28 -05:00
David Anderson
2dae228f10 Remove memtables from HandleSys (bug 5899 part 5, r=fyren). 2013-08-31 19:50:36 -07:00
David Anderson
544b6d94aa Switch HandleSys off KTrie (bug 5884 part 2, r=ds). 2013-08-25 11:59:45 -07:00
David Anderson
045ee262a8 Move scared guts of core into logic (bug 5680, r=fyren).
--HG--
rename : core/ExtensionSys.cpp => core/logic/ExtensionSys.cpp
rename : core/ExtensionSys.h => core/logic/ExtensionSys.h
rename : core/HandleSys.cpp => core/logic/HandleSys.cpp
rename : core/HandleSys.h => core/logic/HandleSys.h
rename : core/NativeInvoker.cpp => core/logic/NativeInvoker.cpp
rename : core/NativeInvoker.h => core/logic/NativeInvoker.h
rename : core/NativeOwner.cpp => core/logic/NativeOwner.cpp
rename : core/NativeOwner.h => core/logic/NativeOwner.h
rename : core/PluginSys.cpp => core/logic/PluginSys.cpp
rename : core/PluginSys.h => core/logic/PluginSys.h
rename : core/ShareSys.cpp => core/logic/ShareSys.cpp
rename : core/ShareSys.h => core/logic/ShareSys.h
rename : core/smn_fakenatives.cpp => core/logic/smn_fakenatives.cpp
rename : core/logic/AutoHandleRooter.h => public/AutoHandleRooter.h
2013-03-29 11:37:29 -07:00