Commit Graph

356 Commits

Author SHA1 Message Date
ThePhD
26b85c8136 Make sure resolve works and provide some protection against deleting the handler that originates from a specific sol::state. sol::state_view users will be left out in the dark, though. 2016-12-26 13:50:08 -05:00
ThePhD
edeb81a7e1 Add registry constructors to tug things right out of the registry, and add a main_thread getter to aid in Joynet dev 2016-12-10 00:25:25 -05:00
ThePhD
16152c7faf Make various arguments push based on the Lua state passed, not on the Lua state they have (avoids a small class of errors and makes the panic function call tiself more regularly). 2016-12-06 10:51:14 -05:00
ThePhD
d46f2aa1b0 [ci skip] as_args docs 2016-11-26 14:04:44 -05:00
ThePhD
433e34cd9b as_args and threading API cleanliness. 2016-11-26 13:58:06 -05:00
ThePhD
ed21ba792c henshin a-go-go ba- no not really it's just a minor patch version bump... 2016-11-23 02:49:44 -05:00
ThePhD
34b5d59662 [ci skip] fix lots of typos in the main tutorials. 2016-11-17 02:14:29 -05:00
ThePhD
57c933cc9b bitfield example and link in docs 2016-11-15 22:45:34 -05:00
ThePhD
4aec055004 [ci skip] safety docs 2016-11-15 04:56:14 -05:00
ThePhD
f5930bfa48 constexpr resolve 2016-11-14 13:58:55 -05:00
ThePhD
22e17eb9fd Correct spelling is hard. 2016-11-13 04:21:24 -05:00
ThePhD
fd33df50e1 [ci skip] version bump 2016-11-13 04:15:24 -05:00
ThePhD
01782dc5c2 [ci skip] here we go 2016-11-13 04:09:26 -05:00
ThePhD
83f932e14d [ci skip] Updated mentions 2016-11-13 03:55:33 -05:00
ThePhD
fbc0fc5f93 Properly word the exception documentation and made some proper links.
Update single and use proper wording.
2016-11-13 03:48:22 -05:00
ThePhD
08a6585bae Merge remote-tracking branch 'origin/develop' into develop 2016-11-13 03:28:49 -05:00
ThePhD
85a72a9ae0 add additional bit to resolve docs. 2016-11-13 03:28:32 -05:00
Anand Aiyer
6e6cb675e2 SOL_LUAJIT_FULL_INTEROPERABILITY - If you are using a platform and
compiler that has full c++ exception interoperability
(http://luajit.org/extensions.html#exceptions), define
SOL_LUAJIT_FULL_INTEROPERABILITY. This will prevent sol from catching
(...) errors - in platforms & compilers than have full c++ exception
interoperability Lua errors can be caught with catch (...) in C++ - in
these cases sol inaccurately prevents Lua errors from being propagated
correctly.
2016-11-13 12:02:29 +05:30
ThePhD
72af3c6264 [ci skip] I can write, I promise. 2016-11-11 12:52:36 -05:00
ThePhD
02bbe0c528 improve docs heavily 2016-11-11 12:44:34 -05:00
ThePhD
29f10c4041 [ci skip] doc update 2016-11-07 13:09:44 -05:00
ThePhD
db7b4f22f2 Prepare for release. 2016-11-05 23:17:31 -04:00
ThePhD
52f69a2653 Heavily improve documentation and add new container functions. 2016-11-05 20:08:07 -04:00
ThePhD
bd83b3bb65 [ci skip] read only documentation 2016-11-04 19:56:48 -04:00
ThePhD
76bed7a09c [ci skip] tfw you forget to add it to the table of contents 2016-11-04 19:44:51 -04:00
ThePhD
d1c203b0c5 Update teh docs, woooo. 2016-11-04 19:41:16 -04:00
ThePhD
d3cb9042c3 Heey, no more submodules needed now. 2016-11-01 05:39:44 -04:00
ThePhD
85329ca183 Mmn. Always making lots and lots of small changes. 2016-10-23 19:17:33 -04:00
ThePhD
f3fbd24226 [ci skip] docs update 2016-10-11 20:44:24 -04:00
ThePhD
866a2973ac [ci skip ] Updates to documentation for function arguments and some clarifications in usertype_memory specification.
That's... that's it, really. Also, there's a new warning in `sol::as_table`, because people kept trying to slap it on class bindings and that's not what it was for, damnit.
2016-10-11 06:44:36 -04:00
ThePhD
007fd19b8d [ci skip] docs, like the last commit 2016-10-10 04:44:06 -04:00
ThePhD
1dfa17dd82 usertype 2016-10-08 12:52:08 -04:00
ThePhD
23c2c6dedc weee slight fix and doc update 2016-10-01 18:19:35 -04:00
ThePhD
b05ce97247 Allllll the fixes. All the time. Mostly to make sure constructors don't fight with each other and safety is respected. And documentation updates. 2016-10-01 01:27:40 -04:00
ThePhD
63093ecba4 [ci skip] prepare for battle 2016-09-23 03:35:42 -04:00
ThePhD
d88db0faff Buh. Capturing the right semantics is always hard. 2016-09-22 11:49:29 -04:00
ThePhD
3a00ce0adf Some minor fixes and DOCS AND EXAMPLES WOOoOooOOooOoo 2016-09-22 07:13:04 -04:00
ThePhD
9d52ed49ba balance that stack, goddamnit, BALANCE IT 2016-09-19 23:37:00 -04:00
ThePhD
431c629e42 [ci skip] bump version 2016-09-17 23:01:47 -04:00
ThePhD
330df79ab9 OoOoOooh and the world exploooodes.
Added new examples to illustrate a few things people were wondering about
HEAVILY fixed up usertypes and inheritance. Again. Sigh. One day it'll all be correct.
2016-09-17 22:15:46 -04:00
ThePhD
46b107712f [ci skip] spelling errors 2016-09-13 14:08:44 -04:00
ThePhD
0de30f3b3a Upgrading simple_usertype implementation with BREAKING changes. Docs now include that information too. as_function now works with usertypes for limited cases. 2016-09-13 12:37:08 -04:00
ThePhD
a7f43991eb [ci skip] be as ridiculously explicit as possible 2016-09-11 04:49:05 -04:00
ThePhD
edb8eacac7 Add additional namespacing example and tutorial 2016-09-09 07:48:45 -04:00
jkbz64
b65c58748a Fixed links in docs/api/reference 2016-09-07 12:51:10 +02:00
ThePhD
cef0bd56b5 [ci skip] update conf.py 2016-09-04 11:46:24 -04:00
ThePhD
94f661bf3c [ci skip] Some things always go under the radar... 2016-08-31 13:15:43 -04:00
ThePhD
d617e95408 [ci skip] update version number 2016-08-31 13:08:07 -04:00
ThePhD
845e44ee95 [ci skip] OOLua does not support member variables 2016-08-31 08:57:45 -04:00
ThePhD
580ebc700f [ci skip] look at myyy docs, my docs are amaaazi-
Pfff no they're not. They're not amazing. They're crap.
Just. Like. Me.
2016-08-25 15:04:35 -04:00
ThePhD
354c26772a 2.12.1 version includes automatic operator binding for basic comparators
it'll only be a matter of time before people ask me to auto-bind `operator+` and shit, but the answer for that will be no...
2016-08-25 12:50:50 -04:00
ThePhD
16cd699208 [ci skip] relevant changes to docs 2016-08-24 12:22:51 -04:00
ThePhD
c6d1ec8d68 [ci skip] always miss one... 2016-08-24 09:20:18 -04:00
ThePhD
0c5d73b67a [ci skip] update info 2016-08-24 09:17:26 -04:00
ThePhD
cf76f6baa0 V E T T E D
Slight breaking change, but at the source level almost nothing changes (ipairs is the only thing that changes because for some reason it checks if what is passed is a table and that really doesn't make any fucking sense)
Closes #195
Closes #196
2016-08-23 21:42:27 -04:00
ThePhD
5b65ea1460 O-O-O-OVERHAAAAAUL no not really just bug fixes.... 2016-08-22 22:45:06 -04:00
ThePhD
7903e1ec05 New initializer type called sol::factories, and the documentation to go with it 2016-08-17 01:16:44 -04:00
ThePhD
a8e683717f [ci skip] improve documentation 2016-08-16 15:19:51 -04:00
ThePhD
83c7bbc500 [ci skip] I can spell the bestest 2016-08-15 16:17:26 -04:00
ThePhD
f58ed0c709 [ci skip] be clear in docs about inheritance usage 2016-08-14 12:12:48 -04:00
ThePhD
0d1d5ebd09 Turns out C++ sucks when all implementers don't do things equally as fast. WHO KNEW? 2016-08-12 13:08:59 -04:00
ThePhD
cd64453789 update single 2016-08-12 12:31:51 -04:00
ThePhD
391152382c [ci-skip] update feature table and be good at stuff 2016-08-12 11:06:14 -04:00
ThePhD
ec7673f469 [ci-skip] be clear about what's being measured 2016-08-12 10:25:20 -04:00
ThePhD
ac6ff25061 Update single 2016-08-11 11:38:47 -04:00
ThePhD
f85dba2a69 [ci-skip] *sob* no i cant spell gud pls come save me 2016-08-11 10:27:20 -04:00
ThePhD
135e09f31d [ci-skip] I can spell good I promise 2016-08-11 09:55:35 -04:00
ThePhD
18089ad39b [ci-skip] conf.py update 2016-08-11 09:45:10 -04:00
ThePhD
7a53305a48 [ci-skip] better docs 2016-08-11 09:34:03 -04:00
ThePhD
0338b7d18f Baby you construct me in all the right ways, let's spend our lifetimes together in this wonderful scope.~
Closes #168
2016-08-11 09:16:23 -04:00
ThePhD
7280668de7 [ci-skip] hot, kinky documentations. 2016-08-11 07:47:01 -04:00
ThePhD
5460f7e626 update examples, support inherited usertype metatables, and beef up wording and fix other crap in docs
Addresses #157 temporarily
2016-08-10 20:39:30 -04:00
ThePhD
b9983f5553 [ci-skip] additional tutorial 2016-08-08 08:09:32 -04:00
ThePhD
e025946845 [ci-skip] conf.py update 2016-08-07 21:00:56 -04:00
ThePhD
14035a6631 [ci-skip] conf update 2016-08-07 14:27:57 -04:00
ThePhD
22f03863f2 [ci-skip] docs update 2016-08-07 14:21:59 -04:00
ThePhD
57333bb529 Grumblemumble goddamn Xeo grumbleMumble 2016-08-07 14:04:07 -04:00
ThePhD
dc79e72c59 sol::vars support in most places, and updated documentation 2016-08-06 18:41:54 -04:00
ThePhD
dc05552e81 sol::var is now in business 2016-08-06 17:29:07 -04:00
ThePhD
cf0802c6e0 [ci-skip] Dat documentation 2016-08-06 00:41:17 -04:00
ThePhD
89250697aa Documents nullptr (Closes #159)
Documents callable structures and the function to use with `table.set` if needed (Closes #162)
2016-08-06 00:30:35 -04:00
ThePhD
01bfeda0cf [ci-skip] explanations with benchmarks 2016-07-30 12:30:01 -04:00
ThePhD
73b58f509b [ci-skip] Readme updated, benchmarks are now live 2016-07-29 10:35:24 -04:00
ThePhD
2f14841b03 [ci-skip] o boi 2016-07-29 01:15:07 -04:00
ThePhD
045d9371df customization points are now live 2016-07-29 00:57:47 -04:00
ThePhD
de359acb3e Let's do iiiit. 2016-07-28 13:33:08 -04:00
ThePhD
febfdbadb7 protect could use some additional optimizations for space, but I'm kinna tired. 2016-07-09 03:43:51 -04:00
ThePhD
115dfe39eb [ci skip] simple_usertype docs update 2016-07-07 20:32:32 -04:00
ThePhD
f7108d5e37 Usertype documentation 2016-07-07 18:11:03 -04:00
ThePhD
76b73bdfab [ci skip] Improve single-header file documentation 2016-07-02 12:01:33 -04:00
ThePhD
374acaa7f5 Attempt #1 at reducing compiler overhead for large numbers of template instantiations. 2016-06-27 12:15:32 -04:00
ThePhD
0fef6556e4 Closes #125
Adds documentation for the new feature
Removes usages of  "sol::bond" in documentation, because that was supposed to be "sol::tie"
I really don't want to spend time trying to figure out how to slim down these templates...
2016-06-22 11:33:07 -04:00
ThePhD
83ba698aba More documentation, fix for signed/unsigned conversion issues. 2016-06-22 01:20:38 -04:00
ThePhD
3688cc3752 [ci-skip] version bump again 2016-06-20 10:14:15 -04:00
ThePhD
d0ca1d8317 Maximum the features. 2016-06-20 09:51:26 -04:00
ThePhD
38dcd85132 [ci-skip] Documentation updates 2016-06-20 07:09:29 -04:00
ThePhD
2166906343 Fix documentation derp 2016-06-19 20:28:07 -04:00
ThePhD
b6928b4b4e Herpin' that derp.
SOL_NO_COMPAT is now in the proper place and documented in the compatibility part of the API.
Basic test for `table::add`
2016-06-19 19:02:40 -04:00
ThePhD
556be8da98 Documentation updates -- require function and add function and size function needed documentation
New `add` function as requested by @EliasD
2016-06-19 17:59:40 -04:00
ThePhD
29e4b82b4a Formally introduce c_call to the API with overloading ability
More documentation on how things work.
Once more at a 'feature-complete' state. Continue to work on #116.
Add testcase to ensure #108 is fixed. Then, prep release.
2016-06-18 03:32:54 -04:00
ThePhD
147aff1915 Improve documentation and add examples for the things requested by @Nava2, @billw2012 and friends from #71 and other places
Closes the loop and informs people of the changes coming to the newest version thanks to the #116 changes
Closes #100
2016-06-17 10:44:55 -04:00
ThePhD
69b45e4d66 Fixed documentation SNAFUs and typos. Praying for stack_get speed... 2016-06-11 13:10:38 -04:00
ThePhD
e1241c110a SPEED AND FIXES, HOOOOOOOOO! 2016-06-10 21:04:48 -04:00
ThePhD
430e67a693 Luajit and llvm-apt. way2break da wurld 2016-06-09 17:27:01 -04:00
OrfeasZ
821af1f0f0 Fixed a small typo in the usertype documentation. 2016-05-25 22:01:34 +03:00
ThePhD
1506d282f9 [ci-skip] docs update 2016-05-19 21:59:16 -04:00
ThePhD
9f019ae536 Adds requires feature - Closes #90
Function name for getting the status was actually changed to status in all places... being consistent, yay
2016-05-19 17:27:12 -04:00
ThePhD
85b4ad54ab Address OOLua authors concerns and fix implementation notes 2016-05-17 22:47:10 -04:00
ThePhD
6f1ed76cae Improve feature table. 2016-05-17 12:22:40 -04:00
ThePhD
2455bb3be3 [ci-skip] docs update for feature table again 2016-05-16 17:12:56 -04:00
ThePhD
be24c8ea80 [ci-skip] docs update 2016-05-16 12:32:26 -04:00
ThePhD
b4308834ba [ci-skip] doc update 2016-05-16 04:42:48 -04:00
ThePhD
938538b491 VC++ is a fuccboi 2016-05-13 13:42:31 -04:00
ThePhD
e97913c97d [ci-skip] heavy documentation updates. Closes #89 2016-05-13 11:50:06 -04:00
ThePhD
033c61ff1a Constructors for many of the types updated. sol::object now makes many more styles of types. Tests updated to match. Update documentation as per #87. Close #88. Close #86 2016-05-13 02:48:22 -04:00
ThePhD
b9458e5ec2 [ci-skip] docs 2016-05-11 15:05:31 -04:00
ThePhD
20d85d829f [ci-skip] documentation update 2016-05-11 15:00:11 -04:00
ThePhD
27a8dde1e6 This commit adds some QoI constructor keys / types, as well as implements make_object. The documentation has been updated as well.
Closes #78
Closes #77
Closes #76
Closes #75
2016-05-03 14:21:29 -04:00
ThePhD
9e31119f16 This commit adds some QoI constructor keys / types, as well as implements make_object. The documentation has been updated as well.
Closes #78
Closes #77
Closes #76
Closes #75
2016-05-03 14:19:30 -04:00
ThePhD
135776d03c version bump 2016-05-01 17:15:49 -04:00
ThePhD
706ca803c8 push_reference and specific notes in the documentation for it 2016-05-01 17:10:41 -04:00
ThePhD
2b45f3a4e8 [ci skip] heavy documentation changes 2016-04-25 15:58:13 -04:00
ThePhD
c95f67afff mention protected function [ci skip] 2016-04-24 22:45:52 -04:00
ThePhD
976f236706 [ci skip] Scrollbar updates 2016-04-24 12:49:27 -04:00
ThePhD
45635af21e [ci skip] Documentation updates 2016-04-24 12:40:35 -04:00
ThePhD
b19d1a0854 Update version numbers, fix tests, and change bond -> tie, since nobody understands what bond means 2016-04-24 10:09:05 -04:00
ThePhD
38d21827b1 :l Stop finding bugs in my code -- unique_usertype_traits implemented, sol::overloaded work for static functions 2016-04-24 01:39:44 -04:00
ThePhD
e9ed1a62e1 [ci-skip] documentation updates as per Nava2 and Bulgat's requests. 2016-04-23 21:20:45 -04:00
ThePhD
ecf9a3404b I can spell good I swear. 2016-04-23 18:30:10 -04:00
ThePhD
c01fdfb372 Documentation pump [no-ci] 2016-04-23 18:24:48 -04:00
ThePhD
a2eced863f shiny new load_result type, and thusly we're ready for 2.5. 2016-04-23 18:18:02 -04:00
ThePhD
673fc3a6fa loadfilex doesn't exist... nice. 2016-04-23 17:16:56 -04:00
ThePhD
863e8aa3ff Shiny quick 'n' dirty tutorial -- variadic_args now is iterable -- fixed bug with transparent args in overload resolution -- added load functions 2016-04-23 17:08:23 -04:00
ThePhD
006357430b Shiny quick 'n' dirty tutorial -- variadic_args now is iterable -- fixed bug with transparent args in overload resolution -- added load functions 2016-04-23 17:07:51 -04:00
ThePhD
30415845df Indentation fixes 2016-04-11 02:15:06 -04:00
ThePhD
42f4455383 Allow for "static functions" to be registered on userdata like other parts of the framework, as well as self-contained structs and lambas.
sol::readonly for the ability to make a variable set on a userdata readonly.
No support for property yet: put on issues list for later
2016-04-11 01:02:43 -04:00
ThePhD
a9a1903339 improvements for the getting started tutorial based on iz's feedback. 2016-04-09 17:54:19 -04:00
ThePhD
fe8f19631e Erase-a-var documentation. 2016-04-09 01:21:16 -04:00
ThePhD
8ac929f748 WIP 2016-04-09 01:07:03 -04:00
ThePhD
16007fa792 Documentation update, get_or for proxies, and other goodies. 2016-04-09 00:55:12 -04:00
ThePhD
8862c65f0a NOW we're truly feature complete. Sheesh, the work that this requires.... 2016-03-31 16:16:07 -04:00
ThePhD
1fc0d0882c Documentation updates. 2016-03-30 17:07:14 -04:00
ThePhD
5acb33e2bc full-on optional support. so much support it's coming through my eyeballs. Goodness.
Support for c_call wrapper to be a thing.
2016-03-30 00:31:18 -04:00
ThePhD
cd1e085224 documentation cleanup 2016-03-25 10:58:33 -04:00
ThePhD
68660a1bed Allow for checking whether or not a given proxy is valid. 2016-03-25 05:27:19 -04:00
ThePhD
09a0a5051a Documentation updates and new stack::check_get API. 2016-03-24 15:45:44 -04:00
ThePhD
dd977a40d1 I cannot into writing. 2016-03-15 13:01:02 -04:00
ThePhD
83ec159da1 Bwuh. 2016-03-14 17:19:43 -04:00
ThePhD
0c42c203c9 I program well, I swear. .-. 2016-03-14 17:12:03 -04:00
ThePhD
a7405656af I am the bestest at restructedText 2016-03-14 09:58:29 -04:00
ThePhD
97e36f70c5 Alright, NOW everything's kosher. Bwuh, byte order marks... 2016-03-14 09:53:24 -04:00
ThePhD
62f082d999 documentation fixes from feedback and fixes! 2016-03-14 02:34:02 -04:00
ThePhD
3239f020c7 Sol 2.0 2016-03-13 09:03:47 -04:00
ThePhD
c42c1bafe5 Documentation fixes, new tests, unique/shared_ptr support.
Closes #32
2016-03-13 08:30:14 -04:00
ThePhD
ce4ebb367e fixing up da docs 2016-03-11 21:45:41 -05:00
ThePhD
338278edf7 The docs are here. 2016-03-11 17:47:15 -05:00