Jason Turner
359897a442
Flesh out parser and tracer usage cases
2016-10-28 13:36:10 -06:00
Jason Turner
332a62769b
Merge branch 'release-5.x' into develop
2016-10-28 10:57:55 -06:00
Jason Turner
a38b254a98
Only allow class
in top level scope
...
* Throw error if class is in unexpected place
* Allow catching of `eval_error` from inside of script
closes #297
2016-10-28 10:56:12 -06:00
Jason Turner
77231461ca
Add test for class inside of scope
...
Addresses #297
2016-10-28 09:01:40 -06:00
Jason Turner
eefd50a6bc
Merge branch 'release-5.x' into develop
2016-10-26 14:05:28 -06:00
Jason Turner
9f30d84f39
Add conversion to bool tests as conditionals
2016-10-26 12:29:30 -06:00
Jason Turner
0fe78f7ba5
Make sure to not break non-basic interface
2016-10-26 08:47:49 -06:00
Jason Turner
7d9e1b3af7
Add ability to disable loading external files
...
* Options are passed to ChaiScript constructor
* load_module / eval_file / use can be disabled
from script context
2016-10-17 20:51:15 -06:00
Jason Turner
c97a69537d
Add ability to get current script context
...
closes #277
2016-10-13 20:44:13 -06:00
Jason Turner
690b96d9ee
Change fuzzy tests to account for prefix & changes
2016-10-07 11:26:30 -06:00
Jason Turner
b091439567
Merge branch 'release-5.x' into develop
2016-10-07 09:13:19 -06:00
Jason Turner
665125665a
Bump to 5.8.5
...
- remove parsing of unary &, it was unused
2016-10-06 22:32:55 -06:00
Jason Turner
58faea1cf2
Add conversion to bool compile test
...
Re: #275
2016-10-06 14:52:34 -06:00
Jason Turner
8b7fe33bf1
Fix order of operations for prefix and '*', '/'
...
The problem is that Prefix did not properly participate in
operator precedence. I've fixed this, at least for the moment,
by adding a final depth of precedence that can be called when
the depth gets to the bottom.
closes #285
2016-10-06 14:44:30 -06:00
Jason Turner
b2907fc608
Merge branch 'release-5.x' into develop
2016-10-05 15:14:58 -06:00
Jason Turner
4b81a24a0a
Fix numeric mixed-convesion operations
2016-09-24 17:15:17 -06:00
Jason Turner
4e6e63ab5d
Cleanups and split up into _basic options
2016-08-27 10:33:44 -06:00
Jason Turner
7561aa8828
Get all unit tests passing
2016-06-29 21:06:31 -06:00
Jason Turner
b0f07cbe5d
Merge branch 'develop' into cleanups_and_reworkds
2016-06-29 16:11:00 -06:00
ELynx
5642e062e6
Fix unittest
2016-06-27 18:02:50 +03:00
ELynx
830b7c93ca
Fix unit test, limit unit test to UTF-8
2016-06-27 15:26:07 +03:00
ELynx
e3e90de02a
Proper comparison in unit tests; remove leftover static keyword
2016-06-27 13:09:32 +03:00
ELynx
2adefaf46d
Basic unit tests
2016-06-27 12:39:03 +03:00
Jason Turner
e3d1741c63
Add C++17-style if-init blocks
2016-06-26 22:10:53 -06:00
Jason Turner
09bdec4882
Add ranged-for loops
...
closes [#145 ]
2016-06-26 20:00:01 -06:00
Jason Turner
dcedd64032
Merge branch 'develop' into cleanups_and_reworkds
2016-04-29 10:40:38 -06:00
Jason Turner
06b2893bfb
Update tests for removal of ChaiScript_Parser from stdlib
2016-04-17 21:15:59 -06:00
Jason Turner
10b984556d
Add global & test
2016-04-16 14:23:11 -06:00
Jason Turner
f3f84594ee
A few parser cleanups
2016-04-16 12:04:18 -06:00
Jason Turner
32bd936a18
Remove 'annotation' feature
2016-04-16 07:52:39 -06:00
ELynx
62e34c097c
Add capacity check; fix vector_reserve unittest
2016-04-15 14:12:07 +03:00
ELynx
cdb9dcc154
Fix list unittest
2016-04-15 14:08:03 +03:00
ELynx
49ef5306a9
Add resize to stl list and vector; add reserve to stl vector
2016-04-15 13:15:30 +03:00
Jason Turner
720395e47a
clean up reflection tests for new capabilities
2016-04-14 09:31:38 -06:00
Jason Turner
dd6b38cafb
Merge branch 'release-5.x' into develop
2016-03-30 13:01:46 -06:00
Jason Turner
c07c2a9cc2
Make sure type_info works with shared_ptr &
2016-03-28 15:57:26 -06:00
Jason Turner
46c45e8fc7
Update boxed_cast_tests to account for new features
2016-03-27 20:50:15 -06:00
Jason Turner
328aef10d7
Add failing test for non-const shared_ptr &
2016-03-27 18:24:38 -06:00
Jason Turner
5872b020fa
First pass at updating JSON lib
...
* eliminate manual memory management
2016-03-16 18:32:10 -06:00
Jason Turner
de63529887
Add failing test for pointer based member data
...
Issue #245
2016-03-12 20:08:15 -07:00
Jason Turner
d95f59fa97
Add test for dynamic object assignments
2016-03-12 19:50:58 -07:00
Jason Turner
83b966df47
Address g++4.8 warnings
2016-03-05 07:45:33 -07:00
Jason Turner
c24004c70e
Disable more warnings for catch/gcc
2016-03-04 22:09:26 -07:00
Jason Turner
a0ee8d1137
Address more catch/msvc warnings
2016-03-04 21:48:08 -07:00
Jason Turner
0cb4c18638
Fix some more windows warnings
2016-03-04 18:22:21 -07:00
Jason Turner
ad7e2138d9
Various Windows fixes
2016-03-04 17:39:32 -07:00
Jason Turner
0eee23109e
Upgrade catch to new version
2016-03-04 16:05:08 -07:00
Jason Turner
b663654a6d
Add missing header for locale
2016-03-04 15:49:31 -07:00
Jason Turner
457367ea7b
Add failing tests for locale changes
...
re #250
2016-03-04 14:31:19 -07:00
Jason Turner
a6dcbb1f1c
Fix multithreaded test
2016-03-04 08:28:49 -07:00