Jason Turner
81ebe1a7be
Fix the compiler warnings related to unicode parsing
...
Re #415
2018-03-01 13:40:49 -07:00
Jason Turner
1311c97c49
Fix unit tests for unicode to be consistent with how it should work
...
Addresses #415
2018-03-01 12:57:56 -07:00
Jason Turner
1acfb4f7b8
Apply patch from @chris0e3
2018-03-01 11:22:20 -07:00
Jason Turner
d5faaeca1a
Add failing unicode test from #415
2018-03-01 11:20:22 -07:00
Jason Turner
ef47b4582e
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
2018-03-01 11:12:36 -07:00
Jason Turner
6a8541971e
Merge pull request #410 from arcoRocks/patch-3
...
Fix for #409
2018-03-01 10:44:45 -07:00
Jason Turner
9c5514f1b6
Merge pull request #414 from arcoRocks/patch-4
...
fix for #413
2018-03-01 10:42:55 -07:00
arcoRocks
33451163c4
to_json std::int64_t integer conversion
2018-02-20 16:28:23 +01:00
arcoRocks
e23c2bb04f
fix for #413
2018-02-20 16:23:45 +01:00
arcoRocks
906e5e2b6f
Update json_15.chai
2018-02-20 16:13:17 +01:00
Jason Turner
c902771f16
Use catch's test parser
2018-02-19 16:36:08 -07:00
Jason Turner
21b397c2cb
Prep for moving to Catch2 official test parsing
2018-02-19 11:34:16 -07:00
arcoRocks
3e1916a8d5
fix for #413
2018-02-19 13:31:38 +01:00
Stephen Berry
0ad4f83366
Removed constexpr for Visual Studio compilation. Xcode (LLVM) works with constexpr on the before function, but Visual Studio (2015) does not.
2018-02-15 09:10:11 -06:00
Stephen Berry
2dbfdfe111
Critical type_info ordering fix. Was using a less than comparison on pointers, which sometimes resulted in differing behavior between compilations.
2018-02-15 08:59:20 -06:00
arcoRocks
88042c7958
Fix for #409
2018-02-15 14:33:38 +01:00
Jason Turner
0391a9c715
Remove DYNLIB disabled build for linux from travis
...
This is already covered by MacOS anyhow, so
we aren't missing anything in our build coverage
2018-02-02 22:19:31 -07:00
Jason Turner
5cd9e94d4a
Third attempt to avoid ICE on travis
2018-02-02 21:54:08 -07:00
Jason Turner
55b16a8204
Enhance tests for execution contexts
...
Closes #387 references #388
2018-02-02 21:41:49 -07:00
Jason Turner
1c5c34561b
Merge pull request #388 from arcoRocks/patch-2
...
Fix for #387
2018-02-02 21:34:12 -07:00
Jason Turner
bbaa6ed76f
Merge pull request #400 from totalgee/to_json_fixes
...
In to_json(), maintain the "type" of empty maps and vectors
2018-02-02 21:33:11 -07:00
Jason Turner
e154e1e380
Move DYNLIB disabled builds to G++5
2018-02-02 21:31:19 -07:00
Jason Turner
35af4edb30
Ignore some warnings from clang++
2018-02-02 21:04:21 -07:00
Jason Turner
9be8f36824
Fix some warnings found on g++7
2018-02-02 20:36:29 -07:00
Jason Turner
6c41ac90d8
Add to_int(int) and similar overloads
...
* This is so that `to_int` `to_char` `to_long` and similar work not
only with strings but also with built-in types
2018-02-02 20:35:32 -07:00
Jason Turner
de4b497de1
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
2018-02-02 20:22:19 -07:00
Jason Turner
0c32c5054c
Add clarification on use-after-move
2018-01-19 13:01:44 -07:00
Jason Turner
cb30a97832
Workaround for /permissive- on MSVC
...
Addresses #403
2018-01-19 13:01:05 -07:00
Jason Turner
695fa0b371
Proper fix for noexcept/msvc2017
...
From @StephanTLavavej
2018-01-19 11:54:19 -07:00
Jason Turner
ad606c7cfa
Update to catch2 for MSVC2017 compat
2018-01-19 10:46:37 -07:00
Jason Turner
eb93760f1b
Fix building on MSVC in C++17 mode
...
Closes #403 #396 #395
2018-01-19 10:26:31 -07:00
Jason Turner
be8726b41a
Merge pull request #382 from arcoRocks/patch-1
...
Update json_wrap.hpp
2018-01-18 16:54:45 -07:00
Glen Fraser
3d97c93e49
Add unit test to validate to_json()
2018-01-11 19:44:54 +01:00
Glen Fraser
783b8b7361
In to_json(), maintain the "type" of empty maps and vectors
...
- fix issue #399 .
- make to_json() with an empty Map, Vector or Dynamic_Object return a
similar/compatible type (JSON object or array), rather than "null".
- include the fix for #381 (to_json() support for null values), so
that can also be unit tested.
2018-01-11 19:44:27 +01:00
Jason Turner
f8c8bad468
Merge remote-tracking branch 'origin/c++17' into best_practices
2017-12-16 11:52:07 -07:00
Jason Turner
6bfc130b73
Fix pull from develop, fix gcc warnings
2017-12-16 11:50:32 -07:00
Jason Turner
cd05b1f750
Merge branch 'develop' into best_practices
2017-12-16 10:22:25 -07:00
Jason Turner
6c18c64270
Formatting updates
2017-12-16 10:21:02 -07:00
Jason Turner
4a61d1e511
Enable C++latest for C++17 Visual Studio builds
2017-12-14 08:13:19 -07:00
Jason Turner
e78f8a73f9
Add .clang-format file
2017-12-04 19:55:38 -07:00
arcoRocks
f6ffcd9481
Fix for #387
2017-12-04 13:41:59 +01:00
Jason Turner
136539867c
Remove outdated vim support
...
Closes #288
2017-11-30 10:19:56 -07:00
Jason Turner
e884f0816d
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
2017-11-30 10:08:26 -07:00
Jason Turner
56140608ef
Fix scope optimizations for ranged for and refs
...
Closes #383
2017-11-30 10:06:32 -07:00
Jason Turner
dee2ce5c56
Add failing test for ranged_for with variable
2017-11-30 09:47:20 -07:00
arcoRocks
ed9c0747fb
Update json_wrap.hpp
2017-11-28 08:06:46 +01:00
Jason Turner
3a019b06c3
Merge pull request #380 from stephenberry/develop
...
Improved parsing speed of parse_num
2017-11-27 20:26:08 -07:00
Jason Turner
035319bbd0
Fix "compiled loop" optimization
2017-11-26 22:31:35 -07:00
Jason Turner
db72ab626f
Consolidate hand-rolled flat maps
2017-11-24 22:20:52 -07:00
arcoRocks
af76d1bb42
Update json_wrap.hpp
...
Fix for #381
2017-11-24 10:15:06 +01:00