Commit Graph

1923 Commits

Author SHA1 Message Date
Alexander Hoischen
f0396f8e6b Fix Exceptions Always Being Printed
This commit fixes the issue, that exception messages were always printed
to cerr, regardless of SOL_PRINT_ERRORS setting. This also makes the
inclusion of iostream completely optional, reducing binary sizes.

Fixes #652.
2018-06-11 21:27:54 +02:00
Orfeas Zafeiris
4e7c194789 Fix line endings 2018-06-06 10:02:37 +03:00
Orfeas Zafeiris
814377890f Update wrap definition 2018-06-06 09:59:26 +03:00
Orfeas Zafeiris
d301dcc152 Add lua dependency and fix custom target step 2018-06-06 09:49:40 +03:00
Orfeas Zafeiris
a5dc5b59f8 Add meson build configuration file 2018-06-04 13:28:13 +03:00
Orfeas Zafeiris
3fe08ec2c1 Fix header inclusion order 2018-06-03 02:22:14 +03:00
Orfeas Zafeiris
efef730ee8 Fix compilation issue with alignment (possibly) 2018-05-30 08:58:18 +03:00
Orfeas Zafeiris
f4f166f88c Fix x64 compilation error in usertype tests 2018-05-30 08:57:44 +03:00
ThePhD
ac709111e8 ensure index_adjustment is applied everywhere
add safety config everywhere
2018-05-22 15:42:38 -04:00
ThePhD
d67c5b7849 [ci skip] update conf 2018-05-20 15:29:08 -04:00
ThePhD
daaa877f6f [ci skip] 2.20 conf 2018-05-20 15:27:42 -04:00
ThePhD
03f17d41eb ensure optional returns are un-engaged upon none/nil -- nil does NOT count 2018-05-20 15:25:50 -04:00
ThePhD
4f366a17a9 begin migrating benchmarks and preparing documentation for sol3 2018-05-17 02:31:28 -04:00
ThePhD
daf9de3007 [ci-skip] update tag 2018-05-14 13:24:13 -04:00
ThePhD
9cf393abb0 I really ought to consolidate how I handle optional, but there's optimizations I miss if I do.... bwuh. 2018-05-14 13:21:41 -04:00
ThePhD
f8ee7abe52 tfw no common_type for ternary... 2018-05-12 18:04:33 -06:00
ThePhD
db5494ee37 Fix #641 2018-05-12 09:16:34 -06:00
ThePhD
9106597663 ensure constness does not infect unique usertypes
fix #644
2018-05-12 01:57:55 -06:00
ThePhD
56fa357946 Update presentation 2018-05-11 12:35:35 -06:00
ThePhD
40cadc4fde Add C++Now 2018 presentation 2018-05-11 10:33:32 -06:00
ThePhD
653c5115b5 update single 2018-05-10 05:31:48 -06:00
ThePhD
fd58e7fcd1 fix #638
bump microsoft version check up (fx #639)
2018-05-10 05:30:51 -06:00
ThePhD
3620c4b8e1 make sure version matches so people don't get confused 2018-04-17 20:13:36 -04:00
ThePhD
8b77411f66 update single 2018-04-17 20:09:10 -04:00
ThePhD
c72a012927 Fix Visual Studio 2015 builds, fix error handling printouts / exceptions, fix constexpr usage that trips up Visual Studio 2015. 2018-04-17 20:08:07 -04:00
ThePhD
42fe70f081 [ci-skip] update readme versions 2018-04-17 16:40:40 -04:00
ThePhD
6a5154f3b9 update single and properly point to lastest VS2015 version. 2018-04-17 16:25:38 -04:00
ThePhD
97525d8b72 don't put catch in the sol2 include 2018-04-17 16:13:50 -04:00
ThePhD
eb1771dff1 update single 2018-04-17 15:25:01 -04:00
ThePhD
818f766066 Trying to clean up all the macros. One day, I'll finish the configuration layer and everything will be beautiful. 2018-04-17 15:04:17 -04:00
ThePhD
7d7b542325 commit and see if we can get the build going again 2018-04-17 13:04:35 -04:00
ThePhD
eb19aab9a1 This update allows for many more definition macros and teh use of a configuration header to be combined with the single.py
Allow for configuration macros to aid in fixing #631
2018-04-17 12:29:14 -04:00
ThePhD
479575c0ca This update allows for many more definition macros and teh use of a configuration header to be combined with the single.py
Allow for configuration macros to aid in fixing #631
2018-04-17 12:29:03 -04:00
hzwar
2de6447e73 Compile fix for std::variant detection on Apple clang 9.1.0 (Xcode 9.3) (#628)
* Compile fix for std::variant detection on Apple clang 9.1.0 (Xcode 9.3)

* Update single

* Consistently check SOL_CXX17_FEATURES, SOL_STD_VARIANT

* Update single
2018-04-13 14:46:05 -04:00
ThePhD
6e970f35ac update insgle 2018-04-12 14:01:53 -04:00
ThePhD
80df3fc915 Fix #626
Fix #625
Fix #624
2018-04-12 13:58:25 -04:00
ThePhD
81912b6dd4 update single 2018-04-01 21:52:29 -04:00
ThePhD
612c1232e2 add reference to stack here 2018-04-01 21:38:21 -04:00
ThePhD
0c380da637 in place modification function there, but it won't be documented because it's a BAD IDEA 2018-03-30 04:51:29 -04:00
ThePhD
035c2f8fad [ci skip] allow for pointer properties in non-checked-args builds 2018-03-29 09:24:41 -04:00
ThePhD
b879eb0b06 link me up to the Discord, family 2018-03-26 07:15:06 -04:00
ThePhD
c464888c3e add more explicit readme notes for things we support
add examples about shared/unique
update documentation
2018-03-25 12:45:28 -04:00
ThePhD
8e8dd379ff update tests because AAAAHHHH exceptions 2018-03-22 10:59:37 -04:00
ThePhD
0b4548bed3 allow pointers to be used with property defines 2018-03-21 17:52:28 -04:00
ThePhD
b447c3d69c Add custom metatable and c_array example 2018-03-21 17:19:46 -04:00
ThePhD
2bd1cdccf0 return_type duplication 2018-03-19 00:20:08 -04:00
ThePhD
f50d8e271f VC++ actually doesn't respect array reference return types through decltype. Kek. It's obscure, but... goodness, how does GCC and Clang get these things right consistently while VC++ keeps fumbling at it? 2018-03-18 23:41:03 -04:00
ThePhD
d14345f016 MSVC is an ass and will probably continue to be an ass for a while to come. 2018-03-17 09:09:37 -04:00
ThePhD
947945d098 Full documentation overhaul. Add a billion more examples. Fix r-values getting stuck as r-value references in proxy keys. 2018-03-16 16:47:09 -04:00
ThePhD
6c40c559e3 prepare for new usertype
change how type T is gleaned from destructors and constructors in case of new syntax
add a hell of a lot more examples, update and clean documentation
2018-03-15 17:16:28 -04:00