ThePhD
4808e7cad8
filters -> policies
...
shill out on the docs
prepare to update all docs
fix #809
2019-05-21 03:57:10 -04:00
ThePhD
6282ed4bf0
Improve unique_usertype handling to avoid needing the rebind_base typedef
2019-04-13 04:05:34 -04:00
ThePhD
72181513d5
Merge branch 'sol3' into develop
2019-03-28 23:20:07 -04:00
Hanjoung Lee
92f12952ef
Add opening base lib in cxx-in-lua.rst
...
Loading `sol::lib::base` is needed since the corresponding lua file uses
`print` and `assert`.
2019-03-06 22:39:32 -05:00
ThePhD
b6f40935c8
add new tas for override_value and update_if_empty, improve the enable_if for a bunch of field_setter stuff
...
perform the last breaking change with .source()
prepare for the coming release...
2019-02-16 17:27:03 -05:00
ThePhD
486086ffe0
fix up CMake files once more, and hopefully prepare for a new test coverage paradigm
...
notably, test normal + single + generated + Lua 5.3.5 only once,
then only run the runtime_test and compile_test for normal for all other permutations to help increase text matrix throughput
2018-12-27 02:17:25 -05:00
ThePhD
a6abc0a0d9
update everything
2018-12-22 15:36:42 -05:00
ThePhD
bbd5bd7fa1
Fix Linux build as best as possible while size issues still remain with MinGW.
2018-12-19 23:17:15 -05:00
ThePhD
162746dac9
Merge branch 'develop' into sol3
...
# Conflicts:
# docs/source/tutorial/variables.rst
# include/single/sol/sol.hpp
# include/single/sol/sol_forward.hpp
# include/sol/proxy.hpp
# sol/usertype_metatable.hpp
2018-11-10 07:12:13 -08:00
ThePhD
2cfbc8c0ea
Fix up the remaining sol2 issues, prepare for more sol3 stuff
2018-11-10 06:41:06 -08:00
ThePhD
a7048aea45
fix up variables tutorial
2018-11-09 14:36:27 -08:00
ThePhD
f75d335988
Merge remote-tracking branch 'origin/develop' into sol3
...
# Conflicts:
# include/single/sol/sol.hpp
# include/single/sol/sol_forward.hpp
2018-11-09 08:26:27 -08:00
syl
2a91f2416a
Fix typo error in usertype.rst
2018-10-25 02:05:35 -07:00
ThePhD
0a9dc24f1f
first big sol3 push... tests not updated yet
2018-09-27 22:27:38 -07:00
ThePhD
0e321272e6
update docs a bit, think aobut changes to container_traits and friends...
2018-08-10 11:17:31 -04:00
NullCascade
bff48c91cc
Fix a few typos in the threading doc.
2018-07-03 10:24:55 -04:00
NullCascade
8894f0db80
Fix a few typos in the threading doc.
2018-06-30 10:14:50 -07:00
ThePhD
8039dd22a6
update documentation with additional information about resolve and overload ( fixes #664 and fixes #665 )
...
add new shared_ptr differentiation mechanism that persists between DLLs (fixes #661 )
change valid Lua version to handle Lua 5.4.0-work1 (fixes #649 )
remove upper limit on MSVC version: they're not fixing it anytime soon (fixes #655 )
add integer value for definition (fixes #651 )
2018-06-15 13:19:09 -04: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
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
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
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
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
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
ThePhD
a83091cba4
implement visible c:pairs() and c:at() functions for the user
...
adjust metatable types
add example with a std::pair-containing container
2018-03-10 20:45:01 -05:00
ThePhD
c8bfcd2dc2
update stack docs
...
fix examples
do not throw std::exception directly: always use std::runtime_error, as it is the only one with a proper exception hole
2018-03-09 23:32:03 -05:00
ThePhD
623a38e80e
add exception trampoline support to sol2 and add an example on how to use it
2018-03-09 22:27:49 -05:00
ThePhD
68738cdc83
improve docs
...
refactor default state additions to let user do the same thing with less effort
prepare for sol::upvalues tinkering
2018-03-05 22:54:31 -05:00
ThePhD
2f220b6eb2
update single
2018-03-04 10:57:28 -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
24d335085c
[ci skip] update docs
...
Fixes #597
2018-02-22 14:54:18 -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
b78d900d05
One day, everything will build proper.
...
One day.
2018-02-17 11:00:27 -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
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
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
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
1a64ba0fe5
Improve the docs, set up LuaJIT, and try to figure out why we can't build a DLL as an external projcet target with LuaJIT...
2018-01-19 15:03:22 -05:00
ThePhD
fc6ccdfa7e
start preparations for new travis
...
update appveyor
add blocks for tests on platforms where things are expected to fail
prepare for LuaJIT
2017-12-25 20:18:29 -05:00
ThePhD
0e19156d52
update everything for the new cmake build, prepare for new .travis.yml and new appveyor.yml
...
Add name of project at top of license
fix container_traits with respect to boost::property_tree: Fixes #554
fix as_table with a vector of tuples (forward_get ignored constness): Fixes #552
2017-12-20 04:58:50 -05:00
ThePhD
e06d2fb581
add single, add examples
2017-12-10 15:56:49 -05:00
ThePhD
5f688537e0
stack_aligned_function cannot be influenced by SOL_SAFE_FUNCTION: it has different semantics and thus needs to remain unsafe.
2017-12-08 01:22:22 -05:00