Nicholas Hastings
67163e14e6
Added checks to avoid crashing in some natives before map start (bug 5119, r=fyren).
2011-10-11 22:50:21 -04:00
Scott Ehlert
939bc00b2b
Added detection for clang compiler and fixed various warnings triggered by it (bug 4878, r=dvander).
2011-04-23 21:53:53 -05:00
Scott Ehlert
89334bb459
Bintools extension no longer needs a separate build for each engine (bug 4548, r=dvander).
2010-08-01 14:57:54 -05:00
David Anderson
64455b9852
Moved gameconf code from core to logic (bug 4406 part 11, r=ds).
...
--HG--
rename : core/GameConfigs.cpp => core/logic/GameConfigs.cpp
rename : core/GameConfigs.h => core/logic/GameConfigs.h
rename : core/smn_gameconfigs.cpp => core/logic/smn_gameconfigs.cpp
2010-05-14 23:35:42 -07:00
David Anderson
9137e92c09
Move translator from logic to core (bug 4406 part 6, r=ds).
...
--HG--
rename : core/PhraseCollection.cpp => core/logic/PhraseCollection.cpp
rename : core/PhraseCollection.h => core/logic/PhraseCollection.h
rename : core/Translator.cpp => core/logic/Translator.cpp
rename : core/Translator.h => core/logic/Translator.h
rename : core/sm_memtable.h => core/logic/sm_memtable.h
rename : core/smn_lang.cpp => core/logic/smn_lang.cpp
2010-05-14 19:43:53 -07:00
"David Anderson
caf434aef2
Moved profiler and adt_trie to logic binary.
...
--HG--
rename : core/Profiler.cpp => core/logic/Profiler.cpp
rename : core/Profiler.h => core/logic/Profiler.h
rename : core/smn_adt_trie.cpp => core/logic/smn_adt_trie.cpp
2009-05-14 11:24:07 -04:00
David Anderson
421b58f68e
Import of core modularization plan (bug 3599).
2009-05-13 21:55:50 -04:00
David Anderson
6ebbb48f9f
Re-landed automating updating (bug 3530, r=pred).
2009-03-01 01:35:39 -05:00
David Anderson
c4cba5254c
Added auto-restart functionality to the Updater extensions (bug 3530, r=pred).
2009-02-28 23:14:16 -05:00
David Anderson
9e445a5adf
Added API to grab arbitrary kv pairs from core.cfg.
2009-02-17 16:19:11 -05:00
David Anderson
16033c1307
Deprecated sm_corecfgfile for sm_basepath (bug 2693, r=ds).
2009-02-17 14:03:20 -05:00
David Anderson
ffd8ff099a
Initial import of updater extension, currently incomplete - just getting it in the tree (bug 3530).
2009-02-02 15:41:25 -05:00
David Anderson
2b97461f54
Added snprintf/vsnprintf helpers to ISourceMod, finally (bug 3530, r=pred).
2009-02-01 19:57:09 -05:00
David Anderson
a017e4820a
Added the ability for extensions to invoke arbitrary natives (bug 3605, r=ds,theY4Kman).
2009-02-01 02:03:03 -05:00
David Anderson
4daca3c5ba
Another gamedata cleanup sponsored by an r=pred (bug 3351).
2008-12-26 23:26:21 -05:00
David Anderson
2ff9b0aada
Removed pointless "systems" folder from core.
...
--HG--
rename : core/systems/ExtensionSys.cpp => core/ExtensionSys.cpp
rename : core/systems/ExtensionSys.h => core/ExtensionSys.h
rename : core/systems/ForwardSys.cpp => core/ForwardSys.cpp
rename : core/systems/ForwardSys.h => core/ForwardSys.h
rename : core/systems/HandleSys.cpp => core/HandleSys.cpp
rename : core/systems/HandleSys.h => core/HandleSys.h
rename : core/systems/LibrarySys.cpp => core/LibrarySys.cpp
rename : core/systems/LibrarySys.h => core/LibrarySys.h
rename : core/systems/PluginInfoDatabase.cpp => core/PluginInfoDatabase.cpp
rename : core/systems/PluginInfoDatabase.h => core/PluginInfoDatabase.h
rename : core/systems/PluginSys.cpp => core/PluginSys.cpp
rename : core/systems/PluginSys.h => core/PluginSys.h
rename : core/systems/ShareSys.cpp => core/ShareSys.cpp
rename : core/systems/ShareSys.h => core/ShareSys.h
2008-11-16 16:06:18 -08:00
David Anderson
7875fe1acd
Landed sourcepawn-1.2. The big changes:
...
1) JIT compilation/optimization now occurs per-function, and only when functions are first used. We're now officially a whole-method JIT rather than an AOT compiler (albiet, still a simple JIT). This has two implications: Functions are now much better abstracted internally, and loading a plugin is now much less expensive. If a function contains calls to other functions, THOSE functions are only compiled when they're invoked as well.
2) I've removed debug mode. We always show full backtraces now, as there was a very cheap way to implement this which really cleaned up everything. This is great for a number of reasons -- there's less code, the JIT is better designed, we don't need to relocate debug tables, and best of all we no longer have to tell users to enable debug mode at their own expense.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402459
2008-08-15 05:22:26 +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
c93d05f622
rewrite of the native and dependency binding/interaction code. this will ease the transition for native overrides, and greatly simplifies most of the logic. all native binding code now takes place almost entirely in ShareSys, and PluginSys supplements this logic where appropriate. extensionsys has been cleaned up
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402198
2008-05-26 07:51:11 +00:00
Scott Ehlert
251cced1f8
Spring Cleaning, Part Ichi (1)
...
Various minor things done to project files
Updated sample extension project file and updated makefile to the new unified version (more changes likely on the way)
Updated regex project file and makefile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401971
2008-03-30 07:00:22 +00:00