Commit Graph

2087 Commits

Author SHA1 Message Date
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
ThePhD
22127fa6fa woops 2018-02-04 19:55:11 -05:00
ThePhD
c9980bfc28 Add push function, update single 2018-02-04 19:23:24 -05:00
ThePhD
8f6f12d26c update failures and hide all equality tests from clang++ since they just break completely until we figure it out 2018-02-03 18:44:59 -05:00
ThePhD
5029751569 add inline, make string_view arrays const, and make sure the templated conversion routines use template on it 2018-02-03 10:26:17 -05:00
ThePhD
f48ba8b101 Add shiny new unicode methods to replace shitty codecvt. It needs some work to be safer but this will work for now
string_view to avoid allocations added to a few more places
stack proxy's unused members were removed
container_traits now has the index_adjustment function added onto it.
Fixes #571
Fixes #574
Fixes #575
2018-02-03 01:29:06 -05:00
ThePhD
f2d4150934 update single= 2018-01-30 21:05:38 -05:00
ThePhD
49d99d1b48 make sure right overload of create is called to make the target table. 2018-01-30 21:05:08 -05:00
ThePhD
165b387ddb Change bind_traits to work better for 32-bit __stdcall 2018-01-30 11:02:46 -05:00
ThePhD
54003df3c9 as usual, herpin' that derp with the spelling errors... 2018-01-28 22:58:56 -05:00
ThePhD
57681ab4cd This attempts to be more thorough with the validations of the test, avoiding throws wherever possible to help reduce the error surface for debugging x86 builds (which, strangely enough, are not erroring in the same places that appveyor is erroring in...)
Need to begin wrok to fix wstring_convert and replace it with some decent UTF conversion algos. It's surprisingly difficult tof ind such...
Fixes #572
Fixes #569
Fixes #567
2018-01-28 22:21:13 -05:00
ThePhD
143c98450a update single, add new tests
fixes #564
2018-01-24 01:10:35 -05:00
ThePhD
83f4b4aaa0 fix unused parameter
fix cmake bad copy
2018-01-23 19:50:49 -05:00
ThePhD
db9c5d64c6 update single, use special handling for find_package 2018-01-23 16:18:17 -05:00
ThePhD
63ec47bf6e Make base class type checks and lookup stable across DLLs 2018-01-23 12:07:22 -05:00
Ilya Averyanov
6ae78d9ed8 Use std::bitset instead std::array of bool 2018-01-22 13:41:21 -05:00
ThePhD
f5764337cb purge past-the-stack access in protected function result 2018-01-20 14:31:49 -05:00
ThePhD
cbd79234d8 [ci-skip] update single 2018-01-20 13:42:53 -05:00
ThePhD
0afd822644 check platform variable 2018-01-20 12:10:50 -05:00
ThePhD
b708d268df latest luaJIT 2018-01-20 12:05:20 -05:00
ThePhD
6202b91b40 x86 fixes 2018-01-20 12:02:06 -05:00