Jason Turner
ed7bdfb172
Add "erase" function to associative sets (maps)
2012-09-26 11:31:19 -06:00
Jason Turner
87c9006174
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
CMakeLists.txt
readme.md
2012-08-14 12:07:45 -06:00
Jason Turner
204ab53afc
Update readme.txt to readme.md for better formatting.
2012-08-14 12:00:44 -06:00
Jason Turner
d47cd63fec
One more round of updates to readme.md
2012-08-14 11:45:00 -06:00
Jason Turner
193151f52e
Minor syntax updates for C++11 readme.md
2012-08-14 11:43:11 -06:00
Jason Turner
6642e02496
Update readme for C++11
2012-08-14 11:37:58 -06:00
Jason Turner
8f7226051e
Add boost::system to linkage to support boost 1.50. Should not cause any issue for older users of boost
2012-08-14 08:59:48 -06:00
Jason Turner
d84b4c0b37
Merge branch 'master' into ChaiScript_5_0_CPP_11
2012-07-18 07:30:34 -06:00
Jason Turner
46d1c50923
Merge pull request #66 from mgee/master
...
Make Boxed_Number utility functions const
2012-07-18 06:29:22 -07:00
Markus Groß
9e3c2960aa
Make some Boxed_Number functions const.
2012-07-17 18:26:58 +02:00
Jason Turner
84e17b8d06
Port Boxed_Number enhancements from mgee to C++11 branch. #53
2012-07-16 22:24:25 -06:00
Jason Turner
9fd4a1b9f5
Merge pull request #53 from mgee/master
...
More Boxed_Number enhancements
2012-07-16 21:18:18 -07:00
Jason Turner
32fab64882
Merge branch 'master' into 2011-09-09-CxScript
2012-07-16 22:17:37 -06:00
Jason Turner
8cb49e9494
Merge branch 'master' into 2011-09-09-CxScript
2012-07-16 22:12:29 -06:00
Jason Turner
441cdf0935
Add test showing c linkage working fine [ #16 ]
2012-07-16 22:10:40 -06:00
Jason Turner
f0016d978a
Add test to make sure simultaneous ChaiScript instantiations work
2012-07-16 21:51:06 -06:00
Jason Turner
1155720b14
Add the ability to save and restore the state of local variables #25
2012-07-16 21:27:42 -06:00
Jason Turner
7052234650
Revert "Use unique_ptr instead of shared_ptr in our any implementation, >10% speed improvement"
...
This reverts commit f27739cf7183a0f9cbdffaa7e29c7b47b25b0508.
2012-07-13 13:54:48 -06:00
Jason Turner
c2934caad6
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
include/chaiscript/language/chaiscript_engine.hpp
src/multithreaded.cpp
2012-07-13 13:32:29 -06:00
Jason Turner
f5b7be3743
Correct building on threadless
2012-07-13 13:14:48 -06:00
Jason Turner
d8f881239f
Merge branch 'master' of https://github.com/ChaiScript/ChaiScript
2012-07-13 12:36:37 -06:00
Jason Turner
199b1f5233
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
include/chaiscript/dispatchkit/boxed_value.hpp
2012-07-13 12:36:08 -06:00
Jason Turner
0a436398dd
Use make_shared #64
2012-07-13 12:25:50 -06:00
Jason Turner
9f309fcbe9
Add tests for multithreaded features #55
2012-07-10 15:10:09 -06:00
Jason Turner
4e33e969dc
Minor header file include cleanup
2012-07-10 13:27:47 -06:00
Jason Turner
f27739cf71
Use unique_ptr instead of shared_ptr in our any implementation, >10% speed improvement
2012-07-09 16:20:55 -06:00
Markus Groß
08d9d9e28e
Adapt toString to proper naming scheme.
2012-07-03 18:42:27 +02:00
Markus Groß
935276fccd
Adapt getAs function to proper naming scheme.
2012-07-03 18:42:04 +02:00
Markus Groß
f8feaf6ea8
Add toString function to Boxed_Number.
...
For uint8_t, int8_t and char the value is first
converted to an appropriate int type.
This way the value is converted to a number
rather than a character.
2012-06-29 16:48:53 +02:00
Markus Groß
dfcc415c31
Add getAs<T> function to Boxed_Number to enable casting to a target type.
2012-06-29 08:00:00 +02:00
Markus Groß
927235d871
Add templated constructor to Boxed_Number to allow creating from primitive number types.
2012-06-29 07:42:16 +02:00
Jason Turner
a6924bcc9e
Use C++11 Raw Strings for chaiscript prelude
2012-06-28 21:24:51 -06:00
Jason Turner
a3b50d4151
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
include/chaiscript/dispatchkit/bootstrap.hpp
2012-06-25 16:50:21 -06:00
Jason Turner
bf4f90a4ff
Fix build error for building without threads
2012-06-25 16:44:22 -06:00
Jason Turner
45f07f9924
Update method error output to show the expression it is trying to execute.
2012-06-25 16:26:36 -06:00
Jason Turner
d3b8daeff0
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
CMakeLists.txt
include/chaiscript/language/chaiscript_common.hpp
include/chaiscript/language/chaiscript_engine.hpp
include/chaiscript/language/chaiscript_eval.hpp
2012-06-25 15:40:19 -06:00
Jason Turner
39d817469c
Optionally allow the user to specify the file name to report to end users when calling "eval"
2012-06-25 08:05:58 -06:00
Jason Turner
7a25625fdd
Fix failing error reporting for solitary (non-dispatched) guarded function
2012-06-25 07:53:15 -06:00
Jason Turner
5e6a51ba63
Add failing unit test for remaining error condition to check for.
2012-06-25 07:44:14 -06:00
Jason Turner
a8ea5f151d
Extreme error reporting capabilities update and bug fixes
2012-06-25 06:31:34 -06:00
Jason Turner
6cda1140c4
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
include/chaiscript/dispatchkit/proxy_functions.hpp
include/chaiscript/language/chaiscript_common.hpp
include/chaiscript/language/chaiscript_eval.hpp
include/chaiscript/language/chaiscript_parser.hpp
2012-06-22 18:12:51 -06:00
Jason Turner
5a76d98692
Enhance and correct error messages
...
Backported from C++11 branch.
Conflicts:
include/chaiscript/dispatchkit/proxy_functions.hpp
include/chaiscript/language/chaiscript_common.hpp
include/chaiscript/language/chaiscript_eval.hpp
include/chaiscript/language/chaiscript_parser.hpp
2012-06-22 18:00:10 -06:00
Jason Turner
949f54b9c4
Use constexpr where possible in user_type() functions
...
- Task #52
- Gives some performance improvement
2012-06-22 14:19:52 -06:00
Jason Turner
f6e53dd42d
Correct some threading issues
...
- prototype avoiding a lock with __thread in g++
- pass -pthread and -lpthread when building to get threading actually working
2012-06-22 14:18:44 -06:00
Jason Turner
d55439a7ac
Fix multithreaded.cpp to compile / run with C++11
2012-06-19 09:40:51 -06:00
Jason Turner
953c4e4847
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
CMakeLists.txt
2012-06-13 21:54:48 -06:00
Jason Turner
3bccf4d977
Explicitly link to pthreads, seems some systems need this #47
2012-06-09 18:02:35 -04:00
Jason Turner
a67022e31e
Prep for 5.0.0 release
v5.0.0
Release-5.0.0
2012-06-07 20:04:14 -06:00
Jason Turner
a951d2b0af
Fix crash discovered by the move to using stdlib for all tests.
2012-06-04 07:32:05 -06:00
Jason Turner
b7e1cf41e5
Move to using the new constructor that searched for the stdlib
...
to improve compile time.
2012-06-04 07:31:20 -06:00