Jason Turner
|
fbf8f53e04
|
Add Type_Info type and add *_type objects at time of type registration.
|
2009-11-21 22:47:44 +00:00 |
|
Jason Turner
|
a0c6366479
|
Added introspecition/classification of types
|
2009-11-21 06:39:35 +00:00 |
|
Jason Turner
|
1c6b2725b3
|
Provide some hints for dispatches with lhs (first param) that is const
|
2009-11-21 06:02:17 +00:00 |
|
Jason Turner
|
d3e4af433e
|
Add support for saving/restoring of chaiscript engine state.
|
2009-11-18 04:43:08 +00:00 |
|
Jason Turner
|
9f65303370
|
Handle case of const & return values (should probably be investigated a bit more)
|
2009-11-18 04:42:43 +00:00 |
|
Jason Turner
|
391eaa9e11
|
VC++ 2008 warnings cleanups
|
2009-11-15 03:26:47 +00:00 |
|
Jason Turner
|
ed11f48847
|
More robust handling of potential class object member types
|
2009-11-15 00:37:01 +00:00 |
|
Jason Turner
|
9dddb49850
|
Added support for const attribute access
|
2009-11-14 19:02:00 +00:00 |
|
Jason Turner
|
cca477dae6
|
Only share const globals between threads. Require all globals to be const.
|
2009-11-11 05:47:54 +00:00 |
|
Jason Turner
|
f4a680a582
|
Add missing operators.hpp file
|
2009-11-10 13:27:44 +00:00 |
|
Jason Turner
|
e6c6223c5b
|
Operator handling rewrite and fleshing out of operators to include all standard C++ operators
|
2009-11-10 05:55:58 +00:00 |
|
Jason Turner
|
cbc61d898c
|
Add "is_null" for boxed_values to see if they contain a null shared_ptr value
|
2009-11-08 16:30:12 +00:00 |
|
Jason Turner
|
3a37ceedb7
|
Rollback to r437 for bind_first implementation. The "cleaned up" version was a no-go in some cases
|
2009-11-08 16:28:35 +00:00 |
|
Jason Turner
|
fe5a935abd
|
add is_undef functionality to boxed_value
|
2009-11-08 15:16:15 +00:00 |
|
Jason Turner
|
4e5c972e66
|
Simplify implementation of bind_first and add some detail namespacing
|
2009-11-08 14:46:44 +00:00 |
|
Jason Turner
|
4c015d7e44
|
Simplification of bootstrap_stl code resulting in slightly better engine start up performance and compile time performance
|
2009-10-21 01:48:21 +00:00 |
|
Jason Turner
|
1122f2c818
|
Clean up reference counting implementation while improving compile time and compromising runtime slightly
|
2009-10-20 00:34:15 +00:00 |
|
Jason Turner
|
a18c701866
|
Fix type-shifting of bind_first for free function pointer types
|
2009-10-16 15:49:46 +00:00 |
|
Jason Turner
|
b1d12fdc91
|
Further updates to the new bound function support, plus general cleanup of how it is used
|
2009-10-15 15:27:16 +00:00 |
|
Jason Turner
|
24e717d532
|
Fix "bind_first" for non member functions
|
2009-10-14 22:42:45 +00:00 |
|
Jason Turner
|
1568fedebd
|
Reduce # of required versions for bound_fun and enhance it to work with non-member functions
|
2009-10-14 17:19:42 +00:00 |
|
Jason Turner
|
480761c1f7
|
Add bound_fun helper and put it to use cleaning up the engine bootstrapping
|
2009-10-14 02:34:09 +00:00 |
|
Jonathan Turner
|
12e909d9aa
|
Add bit shifting operators
|
2009-10-13 03:35:01 +00:00 |
|
Jason Turner
|
b1e892487f
|
Enhance "is_type" to be more accurate and to work with Dynamic_Object types
|
2009-10-13 03:31:56 +00:00 |
|
Jason Turner
|
edd274ccce
|
Fix some more obscure warnings
|
2009-10-06 02:26:47 +00:00 |
|
Jason Turner
|
bad5384c96
|
Fix multi-file compilation issues
|
2009-09-22 20:59:10 +00:00 |
|
Jason Turner
|
9762e15460
|
Fix some range/retro issues and update the visual studio files
|
2009-09-22 01:23:02 +00:00 |
|
Jason Turner
|
50eace16da
|
Allow "Module" to contain chaiscript snippets to be executed when a module is initialized. Update dynamic_object to use the new feature to clean up some of the _prelude.hpp
|
2009-09-21 03:07:01 +00:00 |
|
Jason Turner
|
160f64e9c2
|
Enabled short hand for adding new methods to existing C++ types
|
2009-09-20 21:32:39 +00:00 |
|
Jason Turner
|
991753a492
|
Add support for cloning of dynamic objects
|
2009-09-19 23:12:56 +00:00 |
|
Jason Turner
|
7cdd772f2b
|
Add const correctness for proxy functions. Add unit tests for function variable assignment scenarios
|
2009-09-19 21:13:12 +00:00 |
|
Jason Turner
|
6a47846b84
|
Add runtime_error support, for throwing a normal std::exception. Also, move bootstrap for Dynamic_Object into its proper place.
|
2009-09-19 12:15:17 +00:00 |
|
Jason Turner
|
b0041217b0
|
initial checkin of dynamic object support with example usage in example.cpp
|
2009-09-19 02:36:27 +00:00 |
|
Jonathan Turner
|
b17c6b9748
|
Add support for std::exception and what()
|
2009-09-18 22:26:07 +00:00 |
|
Jonathan Turner
|
204d379176
|
Fix default cmake build to use readline and gdb. Add simple try/catch/throw exceptions
|
2009-09-18 22:04:07 +00:00 |
|
Jason Turner
|
f369afed77
|
Decrease compile times by 30% and runtimes by 10% by eliminating use of boost::bind during function dispatch
|
2009-09-10 03:44:42 +00:00 |
|
Jason Turner
|
e2cdac0406
|
Decrease compilation time by removing "Retro" from c++ compiled and making a chaiscript version instead
|
2009-09-09 03:11:47 +00:00 |
|
Jason Turner
|
b185e2e792
|
Make Type_Info internal data private and provide more rigorous definitions for comparisions of objects
|
2009-09-08 13:31:14 +00:00 |
|
Jason Turner
|
798908f127
|
Add loadable module support for ms Visual C++ and fix visual studio specific type identification problems, (while making the C++ more correct)
|
2009-09-07 17:05:57 +00:00 |
|
Jason Turner
|
7cc6a3cab9
|
Add support for loadable modules on POSIX systems
|
2009-09-06 23:33:03 +00:00 |
|
Jason Turner
|
4b40812e26
|
Add const_var helper function for making const values.
|
2009-09-06 02:09:19 +00:00 |
|
Jason Turner
|
ef8cd1f591
|
Add more robust support for handling of const ptr values
|
2009-09-05 23:46:21 +00:00 |
|
Jason Turner
|
3094ff6e3b
|
Made thread saftey a compilation option for performance and dependencies reasons
|
2009-09-05 00:16:46 +00:00 |
|
Jason Turner
|
4d42d6ff33
|
Add shared objects that can be used by all threads at their root scope only
|
2009-09-03 11:42:23 +00:00 |
|
Jason Turner
|
a427d2c1a9
|
Correct function pointer casts to more correct static_cast<>()
|
2009-09-03 00:15:56 +00:00 |
|
Jason Turner
|
efb7a8d453
|
Create local thread caches of registered function objects to reduce thread contention
|
2009-09-02 02:28:38 +00:00 |
|
Jason Turner
|
6c4872eae9
|
Initial check in of multithreaded support for chaiscript
|
2009-08-31 19:50:41 +00:00 |
|
Jason Turner
|
94e4b671f3
|
Make sure to invalidate the cache when a new function name is added
|
2009-08-30 01:06:21 +00:00 |
|
Jason Turner
|
096c8aab50
|
Provide for caching of objects in the dispatch get get_object side. Also, update chaiscript_eval to not explicitly add a new stack object to each scope as it is created
|
2009-08-30 00:48:17 +00:00 |
|
Jason Turner
|
89186a86c8
|
speed up operator calls by about 10% by reducing Proxy_Function copies and such
|
2009-08-29 19:19:31 +00:00 |
|