Jason Turner
452f71b51f
Merge pull request #235 from mlamby/patch-1
...
Fix user_type example in cheatsheet.md
2016-01-11 20:39:36 -07:00
Michael Lamb
a97cb1530d
Fix user_type example in cheatsheet.md
...
Fixed example code as chaiscript::user_type is a function.
2016-01-08 14:23:09 +11:00
Jason Turner
21048b9e65
Merge pull request #233 from vrennert/feature_enum_utility_helper
...
Added template specialization in chaiscript::utility::add_class<Enum> to register bulk constants.
2016-01-05 14:03:32 -07:00
Viktor Rennert
d73e715997
Merge branch 'ChaiScript-feature_enum_utility_helper' into feature_enum_utility_helper
2016-01-04 16:00:57 +01:00
Jason Turner
353a077c6b
Merge branch 'feature_enum_utility_helper' of github.com:vrennert/ChaiScript into feature_enum_utility_helper
2016-01-03 18:40:34 -07: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
e19a8e31ea
Merge pull request #234 from Bobhostern/patch-1
...
Fix formatting error in cheatsheet.md
2016-01-03 17:07:24 -07:00
Bobhostern
b55eff95cf
Fix formatting error in cheatsheet.md
2016-01-03 13:34:27 -06:00
Viktor Rennert
b6287a194c
Merge pull request #1 from ChaiScript/feature_enum_utility_helper
...
Feature enum utility helper
2016-01-03 10:09:05 +01: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
e1c40f3e8f
Automatically add copy constuctor for enums added with utility
2016-01-02 19:26:53 -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
Viktor Rennert
f0796b51c8
Added template specialization in chaiscript::utility::add_class<Enum> to register bulk constants.
2016-01-02 14:25:44 +01:00
Jason Turner
e638d450ed
Merge pull request #232 from RaptorFactor/develop
...
Fix multiply defined symbols.
2015-12-30 13:09:57 -07:00
Joshua Boyce
e60eabbeb2
Fix another multiply defined symbol.
2015-12-26 03:04:05 -08:00
Joshua Boyce
c249bef27d
Fix multiply defined symbols.
2015-12-26 03:03:24 -08:00
Jason Turner
4e69e5a3d2
Merge branch 'Fix_Crash_From_CppCon' of github.com:ChaiScript/ChaiScript into Fix_Crash_From_CppCon
2015-11-25 07:51:12 -07:00
Jason Turner
49c89a3b88
un-break ** cast operation
2015-11-25 09:49:26 -05:00
Jason Turner
7507223c8b
Merge pull request #228 from ChristianKaeser/ckfix
...
String escape sequence bug fix
2015-11-23 12:12:58 -05: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
6fe7f5ce98
Don't return reference to copied values
2015-11-03 16:02:25 -07:00
Jason Turner
d9f86a96f0
Add initial failing test
2015-11-03 15:59:43 -07:00
Jason Turner
40b1549b3b
Fix use of broken bitset implementation in g++
2015-10-21 09:30:22 -06:00
Jason Turner
c9a5bf6f83
fix warning from GCC for unknown flag
2015-10-20 18:19:03 -06:00
Jason Turner
8496a86043
Use a bitset instead of bools for type_info flags
2015-10-20 18:14:42 -06:00
Jason Turner
bc388e59da
Fix style warning from cppcheck
2015-10-17 09:23:05 -06:00
Jason Turner
09748275db
Fix warnings from clang
2015-10-17 09:22:13 -06:00
Jason Turner
eec0299cbc
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
2015-10-17 09:04:48 -06:00
Jason Turner
19ecfdfec5
Merge branch 'add_examples' into develop
2015-10-17 09:04:02 -06:00
Jason Turner
7ba7b81a5c
Implement option explicit for dynamic objects.
...
Closes #218
Test_Release
2015-10-16 21:41:54 -06: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
3a675bf379
Add config option for compiling with gprof output
2015-10-16 18:21:49 -06:00
Jason Turner
985b62705f
Add support for != bools
...
closes #217
2015-10-15 22:06:06 -06:00
Jason Turner
5aecb7f17b
Add boolean comparison tests #217
2015-10-15 21:59:46 -06:00
Jason Turner
ad69bf7d38
Get vector push_back_ref working as expected
2015-10-15 21:42:25 -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
3e62a99f82
Add factory example with scripted callbacks
2015-10-07 09:55:15 -06:00
Jason Turner
64dd349e32
Merge pull request #213 from ChaiScript/fix_binary_literal_sizing
...
Fix binary literal sizing
2015-10-04 20:38:37 -06:00
Jason Turner
1add4c4b0f
Fix issues with integer parsing on MSVC
...
See #212
2015-10-04 14:32:23 -06:00