ThePhD
189a8eea4b
Getting used to travis...
2016-02-24 22:38:05 -05:00
ThePhD
2a5cd3bd49
Dependency reduction: just want to test compilers, and we don't explicitly install on the user's machine using shell scripts (configure bootstrap.py to be more flexible instead for that). Only other possible test cases are 2 more for luajit-latest (2.0.4).
2016-02-24 22:29:15 -05:00
Kevin Brightwell
15e91f811f
Add build/test support for Travis CI
...
Tests:
OS | Compiler | Lua Version
:---- | --------- | -----------
Linux | gcc-4.9 | lua52, LuaJIT
Linux | gcc-5 | lua52, LuaJIT
Linux | clang-3.6 | lua52, LuaJIT
OSX | xcode6 | lua52
OSX | xcode7 | lua52
OSX | gcc-4.9* | lua52
OSX | gcc-5 | lua52
\* On OSX out of the box, gcc-4.9 is actually the gcc wrapper around appleclang
2016-02-24 18:41:23 -05:00
ThePhD
51cd0cb0da
Messed up the spacing like a pleb
2016-02-24 14:10:22 -05:00
ThePhD
9c21d11b8c
Proper defaults for bootstrap.py
...
Checks in g++ to make sure things compile
clang++ is a major asshole...
2016-02-24 13:59:17 -05:00
The Phantom Derpstorm
e046435b49
Merge pull request #16 from Nava2/frespect-cxx
...
Change bootstrap.py to respect `CXX` variable
2016-02-24 11:21:02 -05:00
Kevin Brightwell
3263e67979
Change bootstrap.py to respect CXX
variable
2016-02-24 10:36:12 -05:00
ThePhD
3d7a93ae1c
Put detail classes not part of the interface into deeper namespaces to clear up the to level.
2016-02-23 23:39:46 -05:00
ThePhD
16c6f62fe3
Remove strerror deprecation remark
2016-02-22 02:44:27 -05:00
ThePhD
166771ae8d
Proper support for mixed types of overloads.
2016-02-21 21:27:05 -05:00
ThePhD
a6a2e67dc6
Git had a sneeze and couldn't properly remove this file...
2016-02-21 19:28:30 -05:00
ThePhD
019c7b037b
Huge improvements to the library and fixes to compile in g++.
...
usertype now respects factory functions and does not make default constructors/destructors unless the compiler says its okay
new and __gc functions can be overridden for usertypes to provide handle-like creation and deletion functions
Overloading match fixes
RAII improvements for all usertypes
Added tests to make sure these features stay
2016-02-21 19:26:58 -05:00
ThePhD
b2b73db5cb
overloading searching improvements and general refactoring for cleaner implementation.
2016-02-18 22:17:52 -05:00
ThePhD
0ee92c0142
This is hard....
2016-02-16 21:22:07 -05:00
ThePhD
8a7f4e6586
Update Catch
2016-02-15 09:25:43 -05:00
ThePhD
f62c53f155
x64 build fixes
2016-02-15 09:24:59 -05:00
ThePhD
1293213775
Several improvements to tunnneling for the library, with included tests
...
Some stack size tests are also included to prevent stack overflow as well.
2016-02-13 20:14:31 -05:00
ThePhD
17c8f8e04d
Mo' problems, mo' tests.
2016-02-12 12:56:32 -05:00
ThePhD
228609ee17
Addresses derp from refactoring and #12
2016-02-12 12:47:05 -05:00
ThePhD
a71c9737d4
Fixed usertype checking for overloading resolution (and for userdata in general)
2016-02-11 02:28:38 -05:00
ThePhD
427194bc92
Improved functions example and adjusted all errors for g++ conformance with -Wall -Werror
2016-02-10 12:12:09 -05:00
ThePhD
2788abb34e
Overloading now works and there are tests to back it up. The codebase now relies on some C++14 features explicitly.
2016-02-10 11:36:00 -05:00
ThePhD
9372b54b02
Preparing for overload support
...
Preparing to benchmarking of several different lua frameworks
2016-02-09 03:38:11 -05:00
ThePhD
540438baec
Improve readme
2016-02-06 00:14:18 -05:00
ThePhD
5034bd7980
Benchmarking will be done in a separate repository, alongside other frameworks.
2016-02-04 20:16:53 -05:00
ThePhD
a9c5bfc0b8
Update catch
2016-02-02 16:30:49 -05:00
ThePhD
bb29127785
Proper semantics for set
/get
...
`set_function`/`set_usertype` now properly use `set`
For the time being, we are going to avoid implementing `traverse`; aside from performance of nested table access (e.g. `int x = lua["a"]["b"]["c"]`), it's a pain. ;~;
2016-02-02 16:18:44 -05:00
ThePhD
b66c7f015a
Significant change to how userdata is stored to make access consistent across values/references/pointers.
2016-02-01 11:56:44 -05:00
ThePhD
c97b3f2b81
Some spiffier table access syntax (and a stupid VC++ bug discovered along with it)
2016-02-01 03:53:51 -05:00
ThePhD
1d93f560f2
more luajit compatibility fixes - works with Lua 5.1, 5.2, 5.3
...
additional tests to make sure pass-by-value and copy semantics work as intended
new proxy_base class to reduce code duplication
update function / protected_function usage (to solve starwing's issue while keeping code as clean as possible)
2016-02-01 03:27:06 -05:00
ThePhD
27f09fbb35
variadic set - introduction of state_view
type to allow for all of the benefits of state
without destructing lua instance.
2016-01-30 04:21:33 -05:00
ThePhD
f21f9c9959
Ensures value semantics and proper destructor calls.
...
Fixes for tabs/spaces
2016-01-28 19:57:02 -05:00
ThePhD
f389c7fe36
True luajit compatibility
2016-01-27 01:07:16 -05:00
ThePhD
31e7857870
Merge remote-tracking branch 'root/develop' into develop
...
# Conflicts:
# examples/usertype.cpp
# sol.hpp
# sol/debug.hpp
# sol/default_construct.hpp
# sol/demangle.hpp
# sol/deprecate.hpp
# sol/error.hpp
# sol/function.hpp
# sol/function_types.hpp
# sol/object.hpp
# sol/proxy.hpp
# sol/reference.hpp
# sol/resolve.hpp
# sol/stack.hpp
# sol/state.hpp
# sol/table.hpp
# sol/traits.hpp
# sol/tuple.hpp
# sol/types.hpp
# sol/usertype.hpp
# sol/usertype_traits.hpp
2016-01-24 12:16:38 -05:00
ThePhD
7c7f862cb4
fixed proxy (perhaps I broke it recently?)
2016-01-24 09:19:36 -05:00
ThePhD
8c9f8c3341
improved benchmarking
2016-01-16 02:30:49 -05:00
Eric Holscher
eeff5645dc
Fix block name.
2016-01-11 16:51:26 -08:00
Eric Holscher
fdf474fc8b
Merge pull request #268 from leoshaw/master
...
Add a body_begin block at the start of <body>
2016-01-11 16:50:45 -08:00
Eric Holscher
c6455d278b
Merge pull request #275 from mitya57/master
...
Drop dependency on Sphinx
2016-01-11 16:48:25 -08:00
Eric Holscher
47fff524a3
Merge pull request #255 from zhanghongyi/fix-bar
...
Make bar icon vertically centered in the nav menu in mobile view
2016-01-11 16:47:32 -08:00
ThePhD
60b91b4c83
More hot, steamy benchmarks.
2016-01-11 09:26:58 -05:00
ThePhD
48e2c82203
benchmarking is... way too hard, truly.
2016-01-10 20:36:37 -05:00
Dmitry Shachnev
9e2b17147d
Drop dependency on Sphinx
...
Fixes #189 .
2016-01-10 16:40:56 +03:00
ThePhD
cb9b463167
Do not track.
2016-01-08 16:17:12 -05:00
ThePhD
9ff968a09b
Heavily improved benchmark and first set of optimizations to sol/table.hpp
, providing much lower access times for calling a function.
2016-01-08 16:16:06 -05:00
ThePhD
f4b31c951c
Preparing for E6156 and sating a long-time curiosity on how to write extensive micro-benchmarks and creating documentation.
2016-01-06 22:11:21 -05:00
ThePhD
cc0caf365a
Version less than 5.2, (5.1 an below) not less than 5.3 (thanks Aezriel!)
2015-12-01 15:00:16 -05:00
ThePhD
7515b8c4ad
make sure examples compile
2015-12-01 13:46:32 -05:00
Leo Shaw
3a5fd41b31
Add a body_begin block at the start of <body>
...
This makes it easy to add a cookie banner or similar at the top of the
page, particularly when JS is disabled and you can't insert the banner
dynamically.
2015-11-27 11:49:15 +00:00
ThePhD
a69c599f99
Ensure proper semantics for default error handler
2015-11-02 08:10:29 -05:00