Jason Turner
380b94a8d2
Clean up implementation of for and while loops to make them easier to read and reduce code copying
2013-02-24 09:01:26 -07:00
Jason Turner
dd79534de1
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
include/chaiscript/language/chaiscript_common.hpp
include/chaiscript/language/chaiscript_parser.hpp
2013-02-23 21:37:50 -07:00
Jason Turner
fd72b2951a
Correct broken unit test for vector of suffixed numbers
2013-02-23 21:27:01 -07:00
Jason Turner
48f538438d
Get all for loop related unit tests passing and expand the types of expressions
...
that can exist in a for loop
2013-02-23 21:14:37 -07:00
Jason Turner
c9995480e6
Add 'continue' command for loops. Also enhance for() unit tests which are now breaking and need to be fixed
2013-02-23 14:49:20 -07:00
Jason Turner
e298333ac6
Add unit test of suffixed number inside of vector initialization
2013-02-23 08:53:25 -07:00
Jason Turner
d225e09d5d
Add profile for calling functions on members of a heterogeneous array
2013-02-23 08:49:31 -07:00
Jason Turner
e4f4b64cc8
Update to 5.2.0
...
Merge branch 'master' into ChaiScript_5_0_CPP_11
Conflicts:
CMakeLists.txt
releasenotes.txt
v5.2.0
Release-5.2.0
2012-11-30 20:40:39 -07:00
Jason Turner
59df213e66
Update version to 4.2.0
v4.2.0
Release-4.2.0
2012-11-30 20:38:17 -07:00
Jason Turner
691e002f90
Update to support building with MinGW #78
...
We cannot call MinGW a fully supported platform for C++11 yet:
- Concurrency is not yet supported by MinGW, so it is disabled by default
- A problem in the memory model / library loader is preventing derived type
casts from working. This may be able to be worked around, but has not been
yet.
2012-11-28 16:06:45 -07:00
Jason Turner
47ab27fd11
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
include/chaiscript/dispatchkit/proxy_functions.hpp
releasenotes.txt
2012-11-27 21:42:21 -07:00
Jason Turner
0ea8931b21
Add ability to call functions requiring arithmetic value conversions
...
- Conversions are only attempted on a dispatch
- Conversions are only attempted after a normal dispatch has failed
- Conversions are only attempted if exactly one function matches
the signature of the parameters passed in - excluding the mismatched
arithmetic parameters
- This feature should not be relied on in performance critical code
overhead is added for each function call that requires a conversion
to execute, see the tests performed above.
2012-11-27 21:21:37 -07:00
Jason Turner
f24d376fa5
Update for release 4.1.1
v4.1.1
Release-4.1.1
2012-11-17 20:48:25 -07:00
Jason Turner
4754462048
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
include/chaiscript/dispatchkit/bootstrap_stl.hpp
2012-11-17 20:41:45 -07:00
Jason Turner
7917ea02dc
Fix linux build error discovered with 4.0.0 release
2012-11-17 20:30:53 -07:00
Jason Turner
455324bf13
Merge branch 'master' into ChaiScript_5_0_CPP_11 / update version numbers
...
Conflicts:
CMakeLists.txt
releasenotes.txt
v5.1.0
Release-5.1.0
2012-11-17 18:33:13 -07:00
Jason Turner
deef33640c
Update releasenotes and version numbers for 4.1.0 release
v4.1.0
Release-4.1.0
2012-11-17 18:31:48 -07:00
Jason Turner
85ba42849b
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
include/chaiscript/dispatchkit/bootstrap_stl.hpp
include/chaiscript/language/chaiscript_parser.hpp
unittests/multithreaded_test.cpp
2012-11-16 16:32:39 -07:00
Jason Turner
58f3256389
Fix function pointer issue for substr on VS 2010 32bit
2012-11-16 13:58:03 -07:00
Jason Turner
f1a4c4c427
Fix compiler warning found on VS 2008 64bit
2012-11-16 12:57:15 -07:00
Jason Turner
afd27a4b01
Fix errors and warnings found on VisualStudio 2005
2012-11-16 12:27:41 -07:00
Jason Turner
6bb90f9d6d
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
include/chaiscript/language/chaiscript_eval.hpp
2012-11-10 16:59:32 -07:00
Jason Turner
4c65e45598
Correct signing and sizing of integer literals #77
2012-11-10 16:31:05 -07:00
Jason Turner
57c6d72a79
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
include/chaiscript/dispatchkit/bind_first.hpp
include/chaiscript/dispatchkit/bootstrap_stl.hpp
include/chaiscript/dispatchkit/boxed_cast.hpp
include/chaiscript/dispatchkit/function_call_detail.hpp
include/chaiscript/dispatchkit/proxy_functions_detail.hpp
2012-11-07 17:04:54 -07:00
Jason Turner
923369a4f4
Add support for string::substr #75
...
Also add forgotten missing test for number suffixes
2012-11-07 15:48:25 -07:00
Jason Turner
964342bff3
Prevent leaking macros #76
2012-11-07 14:13:08 -07:00
Jason Turner
c5a86401aa
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
include/chaiscript/dispatchkit/bootstrap_stl.hpp
2012-11-07 13:47:09 -07:00
Jason Turner
623c64299a
Add ability to specify number prefixes for floating point and integers.
2012-11-07 12:05:34 -07:00
Kim Simmons
abcc6c9e3e
Chai::add_global was added
...
Just a modification of the add_global_const. I don't see the point in
limiting the user to binding only constants to the global scope if the user
wishes to have a thread safe mutable object as a global. This was my case
anyway.
2012-11-06 17:20:56 +01:00
Jason Turner
9832d1ce39
Add insert and insert_ref methods to "map" types
2012-09-26 12:38:32 -06:00
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