Commit Graph

1807 Commits

Author SHA1 Message Date
ThePhD
1e5c256394 specify poly as the desired type 2018-03-02 10:09:30 -05:00
ThePhD
94a63902a7 fix order of is_specialization_of, since mpark and arthur and friends convinced me of The One True Way
add workaround for VC++ /std:c++17 and /std:c++latest bugs
try to add MD/MDd flags, pray it works...
update single
2018-03-01 22:08:27 -05:00
ThePhD
9bddce66f8 Visual C++ introduced a regression in all frontends that were not /std:c++14.
Kind of tired, don't want to file the bug....
2018-02-28 19:20:20 -05:00
ThePhD
b46b106114 update docs and examples 2018-02-28 01:56:11 -05:00
ThePhD
14378e7126 properly specify transcoding behavior 2018-02-24 18:50:23 -05:00
ThePhD
22c41d9482 Update documentation, refactor examples out of docs, fix warning about static entry path
Still need help refactoring out more code from docs...
2018-02-24 17:19:16 -05:00
ThePhD
6b2e282ab0 oops, the logic for the define was wrong :< 2018-02-23 16:59:48 -05:00
ThePhD
b60132ef71 Fix boost/C++17 hash mismatch 2018-02-23 11:30:34 -05:00
ThePhD
12139b8cfb stop myself from derping out 2018-02-22 21:31:28 -05:00
ThePhD
32cadc0990 update single 2018-02-22 18:34:07 -05:00
ThePhD
e8a8da0b29 clang chokes on statically casted constant function expressions, thanks clang 2018-02-22 18:33:40 -05:00
ThePhD
24d335085c [ci skip] update docs
Fixes #597
2018-02-22 14:54:18 -05:00
ThePhD
f85a06b31d update single 2018-02-22 14:49:16 -05:00
ThePhD
f7f94a4f74 adjust default registration use 2018-02-22 14:48:37 -05:00
ThePhD
8d62fbaf5d add handle for potentially overloaded size() definitions (pray it works with noexcept anyhow). 2018-02-22 12:26:46 -05:00
ThePhD
6c6c89132b fix #593 2018-02-21 02:02:18 -05:00
ThePhD
a56a890adf update single 2018-02-20 11:45:51 -05:00
ThePhD
d7425dbb9a initializers for arrays are stupid 2018-02-20 00:57:55 -05:00
ThePhD
033f041a50 travis is weird 2018-02-19 22:43:31 -05:00
ThePhD
88f563982a What is going on with travis... 2018-02-19 22:39:50 -05:00
ThePhD
ac3aee3349 properly select latest CI 2018-02-19 22:36:53 -05:00
ThePhD
18981d95ca ci stuff will always confuses me 2018-02-19 22:34:56 -05:00
ThePhD
c377ecebcb more travis stuff, add missing license notice, update license year 2018-02-19 21:15:26 -05:00
ThePhD
e718d094b0 line endings are stupid 2018-02-19 17:17:04 -05:00
ThePhD
a6cf847984 Visual Studio 2015 builds are a nightmare... 2018-02-19 13:06:29 -05:00
ThePhD
a2e2b08ea9 To quote or not to quote... that is the question 2018-02-19 07:09:51 -05:00
ThePhD
c30d097592 Add comment back in. 2018-02-19 06:36:31 -05:00
ThePhD
2c8e4a8313 Update all modules, now that we seem to have gotten the hang of all the little things we need to do to make it work.
One day, OSX builds will Just Work™.
2018-02-19 06:30:44 -05:00
ThePhD
d26f0ea0e5 Some test printouts to help us debug the MinGW x86 explosion 2018-02-17 21:38:29 -05:00
ThePhD
b78d900d05 One day, everything will build proper.
One day.
2018-02-17 11:00:27 -05:00
ThePhD
258acff99b fix coroutine handler, change examples compilation, try to handle m32 compilation issues 2018-02-17 10:45:08 -05:00
reworks
e7c43ce242 Docs note that MSVC Compilers may require /bigobj (#591)
* Note that MSVC Compilers may require /bigobj

So when making heavy use of headers or templates, MSVC will error with ["Fatal Error C1128"](https://msdn.microsoft.com/en-us/library/8578y171.aspx). The solution is to use the [/bigobj](https://msdn.microsoft.com/en-us/library/ms173499.aspx) flag. This does, however, mean that, as per msvc docs, "Linkers that shipped prior to Visual C++ 2005 cannot read .obj files that were produced with /bigobj".

* Update usertype.rst
2018-02-17 10:10:07 -05:00
ThePhD
3ad438ac01 bad fallthrough, missed specialization 2018-02-17 01:09:30 -05:00
ThePhD
0192fcb176 CMake 3.5 is a sad, sad affair. 2018-02-17 01:07:10 -05:00
ThePhD
a9b1c8e5fb case-sensitive for find_package 2018-02-17 00:44:05 -05:00
Zachary Michaels
916d87254b Fix CMake install (#586)
* Fix CMake install

The install target was trying to install the include directory. It was also
leaving out the sol.hpp header.

The CMake single header and docs generation are also broken, so this commit
disables them by default.

Fixes #585

* Fix CMake single-file header generation and doc generation

* Fix sol2_single target

* Add single-header to ALL

* Install to standard documentation directory

* Make sure single-header artifacts land in the build directory

* More GNUInstallDirs

* pkg-config support
2018-02-17 00:23:54 -05:00
FYP
92f4c4c053 Fix thread::status() incorrect returning value 2018-02-17 00:18:59 -05:00
ThePhD
67116a67f9 Fixes #588
Tentatively supports (?) #589 with sol::yielding and sol::yielding_t
Added Catch as a cmake module
2018-02-17 00:18:26 -05:00
ThePhD
eca9ec46fd Beef up testing suite significantly and make sure that the interop examples compile, at least on Linux
These damn libraries definitely don't compile clean on Windows... but then again, most people don't give a damn about Windows :<
2018-02-12 17:01:30 -05:00
ThePhD
8d2a25988c Maybe this will finally fix all the example errors 2018-02-12 03:55:14 -05:00
ThePhD
18901463be proper shell escapes 2018-02-11 01:17:13 -05:00
ThePhD
72c7959403 Give up on x86 builds, since they're quite literally ruining most things! 2018-02-11 01:13:42 -05:00
ThePhD
e412d7b28e Use better shell syntax 2018-02-11 01:01:12 -05:00
ThePhD
6f80e271d7 these cmake details are starting to get unruly... 2018-02-11 00:53:53 -05:00
ThePhD
7056156273 Case sensitivity, but it doesn't show on VirtualBox because VirtualBox's file system for shared folders emulates Window's case insensitivity, lel! 2018-02-10 21:24:21 -05:00
ThePhD
1d0683a53e add all examples for all interop types
Implements #578
2018-02-10 16:24:17 -05:00
ThePhD
af7b46864a unicode array initializers zzz 2018-02-08 23:22:17 -05:00
ThePhD
2e648638ef Fixes #580
Adds some code for #579 to warn of bad errors
Update documentation and examples, as well as fix fPIC with static builds on Linux
2018-02-08 23:19:45 -05:00
ThePhD
dcb2b22ea6 [ci skip] Update readme 2018-02-08 00:48:51 -05:00
ThePhD
88ba80bb61 add additional CMake presentation
Update container documentation
Fix ISSUE_TEMPLATE
Fix up documentation for quick and dirty, pulling example source directly from bundled code
addresses #578
2018-02-08 00:40:34 -05:00