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
Jason Turner
48e5a46cbd
Move to QuickFlatMap from manual vector map thing
2017-11-23 22:38:15 -07:00
Stephen Berry
bcd01f3b03
Fixed issue when lacking positive exponent sign
2017-11-22 14:52:05 -06:00
Stephen Berry
2c30268bf2
Improved parsing speed of parse_num
2017-11-22 14:06:03 -06:00
Jason Turner
b47fec2f71
Comment out clone_object tests from typed_function_ordering
2017-11-21 16:37:18 -07:00
Jason Turner
6ae3f2d187
Merge remote-tracking branch 'origin/develop' into best_practices
2017-11-21 16:28:12 -07:00
Jason Turner
903454bf05
Merge pull request #290 from stephenberry/develop
...
Adding basic namespace handling
2017-11-21 16:27:40 -07:00
Jason Turner
f462796ee5
Add clone shortcircuit for strings
2017-11-21 16:17:53 -07:00
Jason Turner
fe405a781c
Revert "Merge branch 'typed_function_ordering' into c++17"
...
This reverts commit 5d5a126bb15b8490ebdb92a8f0a8b2b990d8a067, reversing
changes made to dd912822a7979aad101042c62478c2441ae21d1a.
2017-11-21 16:10:13 -07:00
Jason Turner
8b523c73b8
Merge remote-tracking branch 'origin/develop' into best_practices
2017-11-21 15:34:04 -07:00
Jason Turner
f37bb847c7
Merge remote-tracking branch 'origin/c++17' into best_practices
2017-11-21 14:59:04 -07:00
Jason Turner
9f2ed24dd0
Merge pull request #369 from mlang/use-using
...
Use using
2017-11-21 14:54:13 -07:00
Jason Turner
fdddba1e00
Merge pull request #355 from bogemic/pvs-studio-warnings-v728
...
fixed PVS-Studio warnings V728
2017-11-21 14:51:56 -07:00
Jason Turner
e2aec593c1
Merge pull request #366 from mlang/future_type
...
Allow standard_library::future_type to bootstrap hpx::lcos::future
2017-11-21 14:42:11 -07:00