Stephen Berry
ff78d31583
Simplified namespace handling code and requiring all namespace registration to allow for delayed generation. This simplifies generating namespaces by the user and leads to more efficient code.
2017-09-05 13:26:55 -05:00
Stephen Berry
a9fc1d492e
Merge branch 'develop' of https://github.com/ChaiScript/ChaiScript into develop
2017-09-05 12:13:29 -05:00
Stephen Berry
3f299333cc
Switched to recursive mutex
...
Removed namespaces_nested_ref.chai
2017-09-05 12:02:11 -05:00
Jason Turner
2662395cac
Merge pull request #359 from njlr/develop
...
Buck build support
2017-07-29 16:12:01 -06:00
njlr
cdf152b013
* Added Buckaroo.pm package
2017-07-21 11:09:53 +01:00
njlr
f640784d56
Merge github.com:ChaiScript/ChaiScript into develop
2017-07-21 11:06:10 +01:00
Jason Turner
f753961ab7
Merge pull request #357 from ChaiScript/remove_enable_shared_from_this
...
Remove enable shared from this
2017-07-20 22:01:02 -05:00
Jason Turner
0f74597139
Limit when coverage happens to only one build target
2017-07-20 15:08:53 -06:00
Jason Turner
f465d2ceca
Make sure to not deref null parse node
2017-07-20 06:10:31 -06:00
Jason Turner
14eaefdceb
Make front() back() checked
2017-07-19 15:52:34 -06:00
Jason Turner
f03659c865
More careful testing of 'for' parses
2017-07-19 13:19:36 -06:00
Jason Turner
b42316a275
More careful with json errors
2017-07-19 13:19:17 -06:00
Jason Turner
d8da295e40
Check string accesses during JSON parsing
2017-07-19 10:47:17 -06:00
Jason Turner
cfb2e663d3
Fix unhandled exception found via libfuzzer
2017-07-19 10:09:44 -06:00
Jason Turner
ea03a5462f
Wrap up build issues for dropping of shared_ptr
2017-07-18 16:58:09 -06:00
Jason Turner
77315ae4b9
Fix non-shared_ptr tree code
2017-06-22 09:32:49 -06:00
Jason Turner
5a5600914c
Move away from shared_ptr for parse nodes
2017-06-21 21:27:48 -06:00
Jason Turner
700a620552
Add option to compile in C++17 mode for testing
2017-06-06 16:47:23 -06:00
Jason Turner
36e61dec0a
Fix defaults for dynload options
2017-06-06 14:59:05 -06:00
Jason Turner
76c7712507
Test custom exception handling #351
2017-06-05 19:36:40 -06:00
Jason Turner
d720d069ca
Attempt to add visual studio 2017 to appveyor
2017-05-31 14:56:51 -06:00
Jason Turner
94f7bfec2b
Remove gcc-7 from package list for travis
2017-05-31 14:46:20 -06:00
Jason Turner
562ca5aee6
gcc-6 only, not 7 yet
2017-05-31 14:44:14 -06:00
Jason Turner
ab90c61710
Add gcc6/7 to travis
2017-05-31 14:36:09 -06:00
Jason Turner
bdd0a12bb7
ChaiScript can only support static in non-threading mode
2017-05-31 14:18:30 -06:00
Jason Turner
3b48983bc2
Revert "Add workaround for chaiscript used as static"
...
This reverts commit a281d9571e00788784a10bdae054f92cb3e3fb1a.
2017-05-31 13:54:45 -06:00
Jason Turner
bd736eddec
Deprecate GLOBAL #247
2017-05-30 11:33:12 -06:00
Jason Turner
3b1e9011e7
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
2017-05-30 09:20:26 -06:00
Jason Turner
9f8b57c145
Enable ChaiScript compilation for C++17
...
Closes #348
This works by taking into account the fact that `noexcept` is now part
of the type system in C++17. However, this would conflict with pre-C++17
compilers, so I have added a feature macro around it
2017-05-30 09:16:20 -06:00
Jason Turner
a999ea3692
Fix handling of const return types #430
2017-05-30 08:38:47 -06:00
Jason Turner
5c9b16bdce
Fix handling of const return types #430
2017-05-30 08:38:15 -06:00
Jason Turner
252ea8072d
Add failing test for const return type #340
2017-05-30 08:29:43 -06:00
Jason Turner
0f9d9cae4a
Merge pull request #332 from ftk/develop
...
Ability to disable module loading support at compile time
2017-03-21 12:55:30 -07:00
Jason Turner
468d65a661
Merge pull request #336 from totalgee/from_json_fix
...
Handle negative numbers in JSONParse::parse_number
2017-03-21 12:21:26 -07:00
Jason Turner
9847618cf3
Fix use after move during parsing
...
closes #337
2017-03-21 12:17:30 -07:00
Jason Turner
a281d9571e
Add workaround for chaiscript used as static
...
closes #338
2017-03-21 11:58:33 -07:00
Jason Turner
204faa82c1
Add failing static chaiscript test
2017-03-21 11:58:21 -07:00
Jason Turner
be2fec02d9
Simplify usage of Thread_Specific object
2017-03-21 10:44:53 -07:00
Glen Fraser
491b95099d
In JSONParser::parse_number(), only allow a single '-' at start
...
- also, don't allow multiple '.' decimal points. Add unit tests to
cover these cases.
2017-03-14 13:01:09 +01:00
Glen Fraser
561c5bc981
Handle negative numbers in JSONParse::parse_number
...
- fix issue #334 , where negative numbers loaded from JSON were being
parsed as 0.
- add unit tests to cover these cases.
2017-03-14 12:01:51 +01:00
ftk
12829ee5d2
Simplified travis.yml
2017-03-11 15:42:24 +03:00
ftk
f53a1ed951
Fix compilation of multithreaded_test
2017-03-11 15:09:55 +03:00
ftk
12100cce99
Updated travis.yml
2017-03-11 15:09:54 +03:00
njlr
bd4a458c31
* Added Buck build
2017-03-08 19:47:07 +00:00
ftk
d22c27b627
Added option to disable dynload in cmakelists.txt
2017-03-08 12:31:30 +03:00
ftk
60c43233c6
More clear error message in load_module
2017-03-05 21:55:01 +03:00
ftk
c2f7ca3aa2
Using runtime stdlib constructor will result in compilation error
2017-03-05 21:48:59 +03:00
ftk
72cb9bd940
Compile out module path search code when module support is disabled
2017-03-05 21:26:01 +03:00
ftk
84f9c44ab6
Do not register load_module by default when dynamic loading is disabled
2017-03-05 21:23:05 +03:00
ftk
698dfb06db
Loadable module support can be disabled by defining CHAISCRIPT_NO_DYNLOAD
2017-03-05 20:54:01 +03:00