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
Jason Turner
d4f02b5e67
Address sign promotion warnings, add todo test
2016-03-04 07:58:21 -07:00
Jason Turner
caf0a8b5d1
Remove extra version of push_back async vector
2016-02-02 07:25:41 -07:00
Jason Turner
357df5c8ec
Remove async test from list_push_back
2016-02-01 15:38:32 -07:00
Jason Turner
b104b26f11
Also allow lcase global keyword
...
Closes #221
2016-01-31 19:15:32 -07:00
Jason Turner
872f16e45a
Add some tests that were laying around
2016-01-30 06:56:01 -07:00
Jason Turner
bde2a45384
Add map conversions
...
closes #57
2016-01-29 20:41:12 -07:00
Jason Turner
b2ae317877
Seperate out async moves into a separate test
2016-01-29 19:13:10 -07:00
Jason Turner
b33f0a08bc
Remove initializer_list conversion due to the issues mentioned here:
...
http://stackoverflow.com/questions/18895583/convert-a-vectort-to-initializer-listt
2016-01-29 16:04:06 -07:00
Jason Turner
f697384028
Merge pull request #243 from vrennert/feature_initializer_list_conversion
...
Added initializer_list<T> conversion as possible function call argument or return type.
2016-01-29 15:20:38 -07:00
Jason Turner
209d6ed2e4
Merge remote-tracking branch 'ktm/set-global' into develop
2016-01-29 15:14:32 -07:00
Viktor Rennert
af1eba1b0e
Added type fix for gcc/clang and tiny formating fixes.
2016-01-26 18:36:45 +01:00
Jason Turner
f82f6c2068
Some fixes found by resharper c++
2016-01-25 16:41:11 -07:00
Viktor Rennert
fcca453223
Added initializer_list<T> conversion as possible function call argument or return type.
2016-01-26 00:06:57 +01:00
Jason Turner
52c96de6a8
Merge pull request #239 from ChaiScript/assign_to_result_of_map
...
Add test for assignment of map() return vector
2016-01-20 18:20:04 -07:00
Jason Turner
12cbbd2097
Add test for assignment of map() return vector
2016-01-19 10:00:26 -07:00
ktm
4aa370fbfd
restore newline to bottom of file
2016-01-18 13:33:38 -05:00
ktm
43def57852
add set_global, update unit test
2016-01-17 00:01:51 -05:00
Jason Turner
373a3688c9
Merge branch 'feature_enum_utility_helper' into Fix_Crash_From_CppCon
2016-01-03 18:13:48 -07:00
Jason Turner
208107fd7e
Add additional tests for vector conversion
2016-01-03 17:58:05 -07:00
Jason Turner
888d897a3e
Simplify use of enum helper
2016-01-02 19:59:54 -07:00
Jason Turner
e32714c456
Add some operators for Enums made with helper class
2016-01-02 19:45:10 -07:00
Jason Turner
d7489358f3
Add failing test for vector of enum values
2016-01-02 19:24:14 -07:00
Viktor Rennert
316ba45e3c
Added unittest to cover utility::add_class<Enum> registration.
2016-01-02 20:54:55 +01:00
Jason Turner
681b7db727
Merge branch 'Fix_Crash_From_CppCon' of github.com:ChaiScript/ChaiScript into Fix_Crash_From_CppCon
2015-11-20 06:49:35 -07:00
Jason Turner
4826bddb5b
Add overloads for cosnt *& casts
2015-11-20 07:46:52 -06:00
Jason Turner
49436e5740
Merge branch 'develop' into Fix_Crash_From_CppCon
2015-11-20 05:53:44 -07:00
Christian Kaeser
202204a82a
Limit hexadecimal escape sequence length
...
Helps with cases like "\xFFecho" by limiting the number of hex digits
that will be parsed to maximum suitable for the char type.
This rule differs from the C/C++ standard, but ChaiScript does not offer
the same workaround options.
Furthermore, without it having hexadecimal sequences longer than can fit
into the char type is undefined behavior anyway.
2015-11-08 18:36:16 +01:00
Christian Kaeser
34c6b17215
Fix broken escape sequence parsing after octal/hex escape
...
The parser code just added the first character after an octal/hex sequence
as raw text, resulting in erroneous data whenever another escape
sequence follows directly after.
2015-11-08 18:07:04 +01:00
Jason Turner
d9f86a96f0
Add initial failing test
2015-11-03 15:59:43 -07:00
Jason Turner
882cbf2dfb
Add option explicit code, but don't throw yet
...
Work towards #218
2015-10-16 18:47:26 -06:00
Jason Turner
38b98c55cc
Add test for dynamic object option explicit
2015-10-16 18:37:02 -06:00
Jason Turner
5aecb7f17b
Add boolean comparison tests #217
2015-10-15 21:59:46 -06:00
Jason Turner
84554ed0a5
Add another vector assignment test
2015-10-15 21:32:16 -06:00
Jason Turner
36765df3c0
Fix vector element assignment issues
2015-10-15 21:20:12 -06:00
Jason Turner
b11ebf9e8f
Add failing test for vector assignment operations
2015-10-15 21:13:17 -06:00
Jason Turner
84e2d449b9
Support default
case in the non-last position
2015-10-15 15:02:49 -06:00
Jason Turner
d2cf12f948
Add tests for binary literals
2015-10-03 21:01:52 -06:00
Jason Turner
beedf13d01
Make binary literals sized like other integer types
2015-10-03 16:38:41 -06:00
Jason Turner
18e5ee0ba2
Wrap up generic string escape support
...
Closes #211
2015-10-02 12:16:44 -06:00
Jason Turner
6a4647af43
Add last test for json support
...
Closes #207
2015-10-02 08:12:50 -06:00
Jason Turner
d9fa5605ac
Add operator overload tests
2015-10-01 09:39:03 -06:00
Jason Turner
3a8cb581cc
Merge branch 'add_json_support' into develop
2015-09-30 14:39:21 -06:00
Jason Turner
b434d26a5d
Add json tests
2015-09-30 14:24:56 -06:00
Jason Turner
ca35128503
Add failing test for long long conversions
2015-09-30 06:32:34 -06:00
Jason Turner
08935beaf3
Add tests for pushing move only values
2015-08-27 15:23:36 -06:00
Jason Turner
179eaefafe
Add failing test for functor scope
2015-08-25 17:10:45 -06:00
Jason Turner
5aa0bfcea4
Add some convenience functions for parsing
2015-08-11 19:20:18 -06:00
Jason Turner
913d2fd20f
Add test for variable scope in functor calls
...
For bug #191
2015-08-01 11:03:55 -06:00