ThePhD
fc3e7c40f3
static properties work as intended, I guess
2017-04-25 19:44:53 -04:00
ThePhD
0db6d99d4b
add new examples
2017-04-20 22:31:59 -04:00
ThePhD
c124d51353
Fix #398 by ensuring proper usertype propagation.
2017-04-20 20:27:32 -04:00
sjaustirni
eebda40507
made "error" accessible in the Lua state
...
We need to expose `error()` in Lua in order to let it call the error handler function. However, for that the base library needs to be available in the Lua state.
Without this fix the output of the program is
`call failed, sol::error::what() is Handled this message: [string "..."]:7: attempt to call a nil value (global 'error')`
while it's supposed to be
`call failed, sol::error::what() is Handled this message: [string "..."]:7: negative number detected`
2017-04-20 20:17:06 -04:00
ThePhD
3d5f80e35a
Fix bad tag for clang
2017-04-19 15:29:26 -04:00
ThePhD
a1e3dabe36
luajit has different behavior. What a surprise.
2017-04-19 13:37:03 -04:00
ThePhD
a3d6f8044c
working stuff!~
2017-04-19 13:00:47 -04:00
ThePhD
de7d7e8da5
update versions
2017-04-18 20:26:35 -04:00
ThePhD
2acc8bee14
get_environment, documentation updates, and tests
2017-04-18 20:23:20 -04:00
ThePhD
b02f54c592
I never fixed the license FeelsBadMan
2017-04-16 00:33:40 -04:00
ThePhD
36cc7f2863
crush the stack on final error when throwing to prevent 'leaks' in bad cases
2017-04-09 19:37:45 -04:00
ThePhD
a6e03ac214
tfw you break everything 'cause you're bad
2017-04-09 13:03:41 -04:00
ThePhD
2df532f79b
There was a leak when running scripts and catching errors, where she didn't properly clean up the stack.
2017-04-09 12:04:57 -04:00
ThePhD
814562260d
Fixes #394
2017-04-08 08:25:49 -04:00
ThePhD
28fff10637
Well, that bug was annoying to track down, but it was from the single.py script. This fixes #392
2017-04-06 21:15:22 -04:00
ThePhD
e856abc35b
bump version numbers
2017-04-04 16:26:49 -04:00
ThePhD
8c94cb730b
Fix static initialization order fiasco with meta_function_names
2017-04-04 16:16:22 -04:00
ThePhD
32feb7ab7b
unused variable warnings
2017-04-03 08:19:16 -04:00
Stefan Bühler
0563d9e124
fix return type of call operator in function.rst
...
without result type specification it returns `function_result`
2017-04-03 08:13:07 -04:00
ThePhD
36071801d6
script error handling example
2017-04-03 02:45:06 -04:00
ThePhD
fd507d87bb
[ci skip] doc updates
2017-04-03 00:30:20 -04:00
ThePhD
07cee03a8b
[ci skip] state doc updates
2017-04-03 00:08:56 -04:00
ThePhD
263b492afa
tweak travis configuration for clang on osx
2017-04-02 23:37:54 -04:00
ThePhD
37fc0a4255
configuring travis to handle things a bit more properly
2017-04-02 23:33:35 -04:00
squeek
cff6ff99ea
Minor environment doc fixes [ci skip]
2017-04-02 23:05:33 -04:00
ThePhD
bbb7aafd4b
[ci skip] I'll stop derping one day of my life....
...
But that's not today :v
2017-04-02 22:48:26 -04:00
ThePhD
1f98a86a27
[ci skip] almost left something out of the docs
2017-04-02 22:47:02 -04:00
ThePhD
7fa7f0f2e9
updoot single
2017-04-02 22:39:20 -04:00
ThePhD
185f5ecc05
new travis environments to be tested out for osx stuff, plus new_table docs and environments on function calls
2017-04-02 22:37:01 -04:00
ThePhD
f4434393ce
add single
2017-04-02 16:30:14 -04:00
ThePhD
34c7b741d2
[ci skip] don't forget to add threading
2017-04-02 16:28:57 -04:00
ThePhD
94578d22c4
[ci skip] threading tips, but nothing extensive
2017-04-02 16:27:42 -04:00
ThePhD
5f1bdf84c8
[ci-skip] forgot the link to the examples in the docs. Oops.
2017-04-02 16:15:24 -04:00
ThePhD
309325d0f5
New feature: environment plus documentation about the environment table and its usage with scripts.
2017-04-02 16:10:00 -04:00
ThePhD
fb06c8a754
Fix slight error when error handler was called and the result wasn't properly moved.
2017-03-31 22:39:16 -04:00
ThePhD
91aff613bc
Let's hope this isn't busted too
2017-03-31 17:59:55 -04:00
ThePhD
59b196a1db
add a new kind of error handling script call, updating docs and examples
2017-03-31 17:38:04 -04:00
ThePhD
1e367ab80c
[ci-skip] docs
2017-03-30 14:14:31 -04:00
ThePhD
4094ba3e7a
New feature: nested
getter for complex nested tables, plus docs and example
2017-03-30 14:11:43 -04:00
ThePhD
92d31b39b7
update single
2017-03-30 04:21:11 -04:00
ThePhD
4f72880cd5
sigh, Lua 5.1
2017-03-30 04:20:09 -04:00
ThePhD
791aecbcd0
New documentation for as_table and some container examples
2017-03-30 01:31:55 -04:00
ThePhD
6bc034c5a9
[ci-skip] update usertype docs so I have somewhere to point users when they make a derp
2017-03-28 22:13:08 -04:00
ThePhD
b835e7d2c7
update Unreal's check mechanism
2017-03-26 11:28:32 -04:00
ThePhD
e27922e844
Fix a latent herpderp from when I added new constructors to protected_function
that resolves an ambigious implicit conversion.
2017-03-25 20:28:22 -04:00
ThePhD
3342e65b38
fixes to a lot of tests and proper subclassing for internal metatable data and work done to all of the usertypes to make them behave as expected
2017-03-23 21:13:46 -04:00
ThePhD
7c29964339
allow personal indexing function to catch rewrites to itself in usertypes statically and dynamically
2017-03-23 10:19:23 -04:00
ThePhD
6ceb715912
Ownership documentation.
2017-03-22 22:34:24 -04:00
ThePhD
9daf52e8df
update single
2017-03-22 07:54:19 -04:00
ThePhD
a9644d0956
valid checks should be used only for non-stack-based objects: otherwise, stack things should appropriately trigger none of them and let the checker handle that portion of the code
2017-03-22 07:53:57 -04:00