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
Jason Turner
bd6c83f3b1
Merge pull request #371 from dinghram/develop
...
from_json: change long to int64_t to remove OS ambiguity
2017-11-21 14:41:30 -07:00
Jason Turner
680f9b9242
Fix variable redeclaration from last merge conflict fix.
2017-11-21 14:06:42 -07:00
Jason Turner
e97d3723df
Merge branch 'develop' into develop
2017-11-21 13:54:54 -07:00
Jason Turner
8307663938
Look for and optimize decl assignments
...
Re: #356
2017-11-21 10:26:58 -07:00
Jason Turner
50a2773081
Reduce cost of cloning common built in types
...
Re: #356
2017-11-21 09:01:17 -07:00
Jason Turner
784c3a9720
Add slow test for creating variables
...
References #356
2017-11-21 07:12:17 -07:00
Jason Turner
61bce30901
Unused code removal
2017-11-21 06:30:19 -07:00
Jason Turner
7f822be5db
Merge pull request #377 from totalgee/negative_exponent_json
...
Fix JSON parsing for floats with negative exponents
2017-11-20 21:54:38 -07:00
Jason Turner
a1772a055b
Remove some std::endl usage
2017-11-19 06:25:30 -07:00
Jason Turner
c6021f3e61
Bug fix from Function_Params refactor
2017-11-19 06:20:27 -07:00
Jason Turner
92ae85c3e8
Remove guards from catch blocks
2017-11-18 19:08:14 -07:00
Jason Turner
d59350d356
Various cleanups
2017-11-18 18:42:45 -07:00
Jason Turner
a6d30baa27
Apply some if constexpr action
2017-11-17 06:12:50 -07:00
Jason Turner
b03b90dee6
Fix bug introduced with Function_Params refactor
2017-11-17 05:26:24 -07:00
Jason Turner
28a59d2a6e
Avoid creating vectors when possible
2017-11-16 09:10:48 -07:00