Commit Graph

465 Commits

Author SHA1 Message Date
ThePhD
56ed859d3f unqualified unqualified unqualified 2016-08-21 22:13:26 -04:00
ThePhD
6243cbe103 push_reference should respect unique usertypes 2016-08-21 19:24:26 -04:00
ThePhD
ec97dac651 push_reference must respect unique_usertypes are primitives 2016-08-21 19:20:31 -04:00
ThePhD
fd657ea249 qq clang pls 2016-08-19 21:38:19 -04:00
ThePhD
e31ed71006 Add hinting optimization to arrays 2016-08-19 21:08:03 -04:00
ThePhD
1ae78e1b54 High performance iteration for arrays 2016-08-18 23:51:41 -04:00
ThePhD
5ac32c7863 SIGH unused FUCKING variable 2016-08-17 16:00:27 -04:00
ThePhD
d06f2e6458 remove used variable 2016-08-17 15:53:26 -04:00
ThePhD
f256afffa3 Merge remote-tracking branch 'nava2/fix-osx-include' into develop 2016-08-17 15:49:14 -04:00
ThePhD
7744a49cfe I can spell good I promise
update bootstrap to properly use depsfile
2016-08-17 15:47:18 -04:00
ThePhD
4c2748eaef Fix in_place and optional usage here
Add `has_begin_end` getters for standard things
2016-08-17 15:05:26 -04:00
Kevin Brightwell
366937830c Fix #180 2016-08-17 14:29:21 -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
80981c2675 Fix the inheritance for newindex based calls 2016-08-14 13:20:27 -04:00
ThePhD
f608c4f0f8 Guess who joined the fuccboi club with g++ and VC++? THAT'S RIGHT, IT'S MINGW AND IT'S HANDY DANDY FRIEND, LIBSTDC++! WOOOOOO! 2016-08-12 15:57:53 -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
ffdff21487 Trying to be smart about shit, take 1. :B 2016-08-12 12:30:18 -04:00
ThePhD
391152382c [ci-skip] update feature table and be good at stuff 2016-08-12 11:06:14 -04:00
looki
09ba220e62 Fix 'expected .. received ..' message for function arguments 2016-08-12 04:33:26 +02:00
ThePhD
ff8ac8a6d4 One day I'll have a perfect release... 2016-08-11 11:36:39 -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
4cde2b6a3b making questionable decisions since 1892 2016-08-11 07:25:57 -04:00
ThePhD
4aea285769 So we have 'inherited' metatables now. But is it fast? 2016-08-10 07:23:49 -04:00
ThePhD
94a1898b37 [OH GOD SO BROKEN WHY] This is tentative, untested "support" for calling inherited functions. 2016-08-10 06:32:44 -04:00
ThePhD
49cc3bddf0 Make everything super robust, thanks to @eevee pointing out some derps in how things were handled 2016-08-07 20:56:05 -04:00
ThePhD
57333bb529 Grumblemumble goddamn Xeo grumbleMumble 2016-08-07 14:04:07 -04:00
ThePhD
ba5465dd86 Fix #149's issue because Clang and Apple together are not an OTP. 0/10 would NEVER ship together
Fix regression of #166 because I am retarded
Get to looking at OrfeasZ's changes so I can know what to do with base classes
2016-08-07 12:41:29 -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
OrfeasZ
51b583c88a Small typo. 2016-08-06 17:10:54 +03:00
OrfeasZ
373251c9e1 Better handling so we have 100% coverage of switch options. 2016-08-06 16:54:08 +03:00
OrfeasZ
7d6276448b Adding open_libraries(...) support for the Lua 5.3 utf8 library. 2016-08-06 16:48:51 +03: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
89e0b62f2d const-ness fucking me in the ass again 2016-08-01 04:04:44 -04:00
ThePhD
045d9371df customization points are now live 2016-07-29 00:57:47 -04:00
ThePhD
be946d415c Merge remote-tracking branch 'origin/develop' into develop 2016-07-28 13:33:36 -04:00
ThePhD
de359acb3e Let's do iiiit. 2016-07-28 13:33:08 -04:00
FYP
62b21b1cec fix std::nullptr_t getter and pusher
according to
http://sol2.readthedocs.io/en/latest/tutorial/ownership.html it should
be that way
2016-07-26 00:31:31 +03:00
ThePhD
f1965a4364 const qq 2016-07-15 10:13:38 -04:00
ThePhD
85daffaa00 Havin' lots of derps these days. Fix #141 2016-07-15 07:33:54 -04:00
ThePhD
87eb901b01 Fix #139 2016-07-12 20:55:26 -04:00
ThePhD
6b85ed2936 At least I have users who can help me catch my dumbness. One day, I'll find someone who wants to work on something and isn't somehow insufferable. 2016-07-11 12:41:17 -04:00
ThePhD
ac5f13ce2f Now protect should work in multiple places, albeit we still need to do some optimizations to kick it in
Address #137 and improve implementation to not have to pop arguments
2016-07-09 13:38:55 -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
14ced4af69 Add more tests and fix smaller errors with overloading and such. 2016-07-09 01:12:33 -04:00
ThePhD
f7108d5e37 Usertype documentation 2016-07-07 18:11:03 -04:00
ThePhD
dbaa8f58f0 Bogus clang errors make me sad. 2016-07-07 17:11:43 -04:00
ThePhD
47f29db964 qq so close to perfect 2016-07-07 17:02:11 -04:00
ThePhD
27174aba9c This mega-commit produces simple_usertype to allow for faster compile times by avoiding the use of __index internally. It sacrifices some speed and some storage optimizations and also does not allow variable syntax, but the produced table is directly modifiable.
Adds a `protect()` function to trigger safety for an item.
This commit also optimizes away all instances of virtual function calls for function calls and storage. Will need to test speed to see how it works out.
Closes #133
Closes #134
Closes #135
Closes #136
2016-07-07 16:52:39 -04:00
ThePhD
09ee4db1ed More templated fixes.
Closes #131
Closes #126, for the time being -- we can't make it go any faster without fundamentally breaking the system, and I can't do that to users rn
2016-06-29 14:08:26 -04:00