Rob Loach
58f2e5be8b
Merge pull request #492 from ChaiScript/fix/RobLoach/docs--genering
...
docs: Fix gendering
2019-06-27 22:51:02 -04:00
Rob Loach
8e5d4a712c
docs: Fix gendering
...
Fixes #491
2019-06-26 14:51:34 -04:00
Rob Loach
f235bd558a
Merge pull request #489 from 0xd800/develop
...
Fix description of ChaiScriptBasic::use
2019-06-05 11:28:59 -04:00
Vladyslav Tronko
273bc4a94a
Fix description of ChaiScriptBasic::use
...
Add missing word
2019-06-05 15:19:31 +03:00
Rob Loach
6ce716f5f2
Merge pull request #474 from ChaiScript/push_back_ref
...
docs: Add push_back_ref() note
2019-04-25 18:26:39 -04:00
Rob Loach
2890f95597
Merge pull request #484 from medithe/patch-1
...
Update cheatsheet.md: Adding Lambda correction.
2019-04-25 18:03:11 -04:00
medithe
57ebd9d403
Update cheatsheet.md: Adding Lambda correction.
...
Currently, the example where a lambda function was added to chaiscript didn't work for me.
I use g++7, g++8,g++9 both with c++14 and c++17 mode.
It doesn't work either in clang++-7.
If the lambda is wrapped into a std::function<> it will work again!
2019-04-25 23:18:51 +02:00
Glen Fraser
a5a756a20e
Add pair_conversion registration helper with unit test
2019-04-21 20:28:30 +02:00
Jason Turner
27072a77e6
Get VS compiling
2019-04-20 12:26:12 -06:00
Jason Turner
b7e26b9076
Attempt to get C++17 work compiling for VS 2019
2019-04-20 12:09:24 -06:00
Rob Loach
62ccd6d2ff
docs: Add push_back_ref() note
2019-01-31 09:16:59 -05:00
Rob Loach
b0c1483f70
Merge pull request #468 from vocaviking/patch-1
...
Updated cheatsheet.md
2018-12-26 08:38:03 -05:00
vocaviking
c0f217abab
Moved ChaiScript_Extras to the bottom
2018-12-21 15:43:52 +01:00
vocaviking
cba13f94d6
Updated cheatsheet.md
...
- Simplified the part about ChaiScript initialization
- Added a link to the ChaiScriptExtras helper library
- Removed the Subsection about built-ins, because they are not longer in the code
2018-12-19 13:03:30 +01:00
Jason Turner
8c7ea9bd32
Merge pull request #463 from yuyaryshev/develop
...
Fix: added 'static' to thread_local variable in chaiscript/chaiscript…
Necessary to compile on VS
2018-11-15 09:33:07 -07:00
Yuri Yaryshev
7a67963ca7
Fix: added 'static' to thread_local variable in chaiscript/chaiscript_threading.hpp
...
Because it's a singleton and should be one instance per thread, without it will be singleton per call,
also it won't compile on VS2017 15.8.9
The error:
chaiscript\include\chaiscript\chaiscript_threading.hpp(107): error C2480: 'my_t': 'thread' is only valid for data items of static extent
2018-11-15 18:59:18 +03:00
Alek Mosingiewicz
8d0fc74341
Ci fix after moving to cpp17 ( #455 )
...
* Update travis configuration.
* Update GCC_VER in travis configuration.
* Leave only Visual Studio 15 in Appveyor.
* Travis - remove GCC_VER 4.9.
* Travis - update clang-xcode.
* Travis - update clang compiler.
* Travis - downgrade clang compiler to 3.4.
* Revert "Travis - downgrade clang compiler to 3.4."
This reverts commit bd6698bccea9252dd00e8f28fb31334b0e3ea743.
* Travis - clang-6.0 package and compiler.
* Travis - remove (perhaps unnecessary) compiler option.
* Travis - restore clang compiler option.
* Update .travis.yml
* Another attempt to fix Travis config for clang.
* Another attempt to fix Travis config for clang.
* Compiler package for clang.
* Compiler package for clang.
* Xcode 10.
* Remove xcode from equation.
* Force install clang-6.0.
* Does it install these packages at all???.
* Does it install these packages at all???.
* Some appveyor fixes.
* Update CMakeLists.txt
Enforce C++17 standard
* Update .travis.yml
Restore xcode, block CLANG_VER.
* experimental/variant for Apple compilers.
* Remove OSX pipeline.
* Remove OSX pipeline.
* Attempt at fixing AppVeyor pipeline.
* Restore proper VS version in AppVeyor configuration.
* Revert preprocessor changes in json.hpp.
2018-10-20 08:50:08 -06:00
Jason Turner
7931405b83
Merge pull request #457 from ninnghazad/patch-1
...
Single typo (Mame -> Name)
2018-10-07 15:27:55 -06:00
ninnghazad
e729e4e86c
Single typo (Mame -> Name)
...
Fixed a typo (Mame -> Name) i came across.
2018-09-25 15:02:47 +02:00
Jason Turner
c737f2419b
Merge pull request #453 from AlekMosingiewicz/error_on_double_conversion
...
Error on double conversion
2018-08-15 13:33:13 -06:00
Jason Turner
5db87a9175
Merge branch 'release-6.x' into develop
2018-08-15 13:13:44 -06:00
Jason Turner
3af55d60f2
Update version to 6.1.1
2018-08-15 13:12:36 -06:00
Jason Turner
44dab4d45c
Deal with returning of & to * types
2018-08-15 13:10:23 -06:00
Jason Turner
4be5e876b8
Add failing test for returning of & to *
2018-08-15 11:19:09 -06:00
Alek Mosingiewicz
9f9436e741
Remove newlines.
2018-08-13 21:19:15 +02:00
Alek Mosingiewicz
b9741d9433
Make conversion_error inherit from bad_boxed_cast.
2018-08-13 18:25:43 +02:00
Alek Mosingiewicz
a254e11286
Make information on source and target types in Type Conversion
...
Exception public.
2018-08-13 17:57:38 +02:00
Alek Mosingiewicz
eb3ee28cee
Some better naming for test.
2018-08-13 17:56:49 +02:00
Alek Mosingiewicz
80f11de41e
Make information on source and target types in Type Conversion
...
Exception public.
2018-08-10 17:57:15 +02:00
Alek Mosingiewicz
27bee4a266
Bypass the mutex problem when looking for conversion, automatic
...
test.
2018-08-10 17:29:46 +02:00
Alek Mosingiewicz
ecd6000d54
Throw conversion error when conversion already exists.
2018-08-07 18:00:58 +02:00
Jason Turner
2dfd444178
Formatting cleanup
2018-06-11 05:27:48 -06:00
Jason Turner
07fdb3bf6e
Remove backward compatibility tests
2018-06-03 16:48:03 -06:00
Jason Turner
d0d08d2ed9
Merge branch 'best_practices' into develop
2018-06-03 16:40:29 -06:00
Jason Turner
aa61df941b
Merge pull request #420 from StanEpp/c++17
...
Add support for chained dot calls.
2018-06-03 15:47:05 -06:00
Jason Turner
63d1b16a7e
Merge branch 'upgrade-cmake' into best_practices
2018-05-30 08:32:07 -06:00
Jason Turner
a880319db8
Merge branch 'develop' into best_practices
2018-05-30 08:30:29 -06:00
Jason Turner
c19705da5d
Merge remote-tracking branch 'origin/c++17' into develop
2018-05-29 13:21:09 -06:00
Jason Turner
2d762c8be3
Update copyrights to 2018
2018-05-29 11:51:15 -06:00
Jason Turner
5b66481996
Merge branch 'master' into develop
2018-05-29 11:47:12 -06:00
Jason Turner
2e77b9d0bf
Merge pull request #441 from ChaiScript/develop
...
Update for release to 6.1.0
2018-05-29 11:46:51 -06:00
Jason Turner
8a74bdbfe5
Tag license files for detection
2018-05-29 11:45:09 -06:00
Jason Turner
ac0d7ce949
Fix lifetime of objects in ranged for loops
...
Currently this is going to incur a performance cost, but it's correct.
It may need to be reevaluated.
Closes #392
v6.1.0
2018-05-29 09:26:59 -06:00
Jason Turner
d5d5561d74
Add failing test for lifetime with ranged-for loop
...
References: #392
2018-05-29 08:03:59 -06:00
Jason Turner
98c362d038
Properly report which file failed to be loaded
...
closes #437
2018-05-29 07:45:43 -06:00
Jason Turner
145acd378b
Take parse depth to 512, make it templated
...
Closes #442
2018-05-29 07:09:25 -06:00
Jason Turner
f09b2d8731
Update release notes and fix compiler warnings
2018-05-26 20:29:25 -06:00
Jason Turner
61dfb22af8
Merge pull request #439 from AlekMosingiewicz/handle-bom-in-script
...
Handle BOM in the beginning of the script
2018-05-26 14:08:29 -06:00
Jason Turner
7d5dda244e
Fix capitalization for case sensitive file systems
2018-05-26 10:36:04 -06:00
Jason Turner
15e3dea53b
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
2018-05-26 09:28:14 -06:00