Commit Graph

1558 Commits

Author SHA1 Message Date
ThePhD
a525760178 Fixed some bad spacing. 2014-04-26 21:38:37 -04:00
ThePhD
0088002abf Class binding now works with multiple functions
Refactoring on function_types.hpp performed to slim down some of the calls: could use more refactoring
Drastically simplified userdata's binding capabilities: constructor supports both `:` and `.` syntax (but member functions DO NOT).
All tests are passing
2014-04-26 18:24:54 -04:00
ThePhD
4d6d39be88 Merge remote-tracking branch 'root/classes' 2014-04-26 00:19:45 -04:00
ThePhD
4c102605e8 Custom constructors, but apparently there's something on the stack and we can't get at its type? 2014-04-26 00:19:36 -04:00
Rapptz
077f5fd258 Massive renaming of lua_function.hpp 2014-04-25 22:05:58 -04:00
Rapptz
5229cace49 Moved pop from reference to table 2014-04-25 21:40:52 -04:00
Rapptz
d65f6f1291 Format changes on tests 2014-04-25 21:23:57 -04:00
ThePhD
bf19dd9084 Merge remote-tracking branch 'root/classes'
Conflicts:
	sol/demangle.hpp
	sol/deprecate.hpp
	sol/lua_function.hpp
	sol/userdata.hpp
2014-04-25 20:58:55 -04:00
Rapptz
c9bf032d36 Fix all compile errors on GCC 2014-04-25 20:53:36 -04:00
Rapptz
6b54f99e50 Do some renaming of lua_function.hpp and fix some compiler errors 2014-04-25 20:42:38 -04:00
ThePhD
c0b565fa3d Renamed many parts of lua_function.hpp to make more sense.
Added pop() function to `reference`
`stack.hpp` now has many more functions to properly handle user data
`types.hpp` now has `userdata_t` and `lightuserdata_t` to faciliate `stack`'s `pop` and `push` operations
Class binding functionality built into `table` and `state`, as well as placed in `userdata` class in `userdata.hpp`
demangling detail now present for clang, gcc, and MSVC (somewhat for MSVC)
Constructor arity still needs to be handled for `userdata<T>`
tests updated and passing
2014-04-25 20:20:35 -04:00
Rapptz
44eab5a164 Refactor demangle.hpp to look a bit nicer 2014-04-25 20:19:31 -04:00
Rapptz
23ed27df89 Renamed DEPRECATE to SOL_DEPRECATED 2014-04-25 20:11:00 -04:00
ThePhD
2243bec052 userdata<T> now works and compiles on MSVC.
It's going to take serious work to make it happen in GCC, plus the fact that 4.9 is still giving me
so many errors I can't even read it...
 I'll let Rapptz figure it out, but later.
Sexy class bindings, yes!
2014-04-25 20:08:07 -04:00
ThePhD
359848f371 Demangler is alive, it seems. But honestly, MSVC is kind of crappy about it: perhaps, later, we'll just take a string indicating the name of the class.
main.cpp contains the test implementation for the lua classes -- woo!
2014-04-25 20:08:07 -04:00
ThePhD
c145759da8 Deprecation mechanism, improvements to lua_function's classes, and demangling for MSVC and gcc/clang 2014-04-25 20:08:07 -04:00
ThePhD
9328271d06 Renames for lua_function's internal types and some early-caught fixes for using the right type for the member of the function
Preparation for dumping whole classes into lua... it's going to be fairly tough making this one work.
2014-04-25 20:08:07 -04:00
Dave Snider
fd8563ddda fix for #116 2014-04-25 14:26:03 -07:00
ThePhD
63a4dafce5 Better names for the functors in preparation for working with whole classes of them. This is going to be tough... 2014-04-24 16:46:31 -04:00
ThePhD
b1504ad1b3 Missing inline on several functions; causes compilations when sol is included in multiple Translation Units.
`function.hpp` needed cstdint to be defined to use unit32_t properly.
2014-04-24 16:46:11 -04:00
Dave Snider
f002f4ad2d Merge branch 'master' of github.com:snide/sphinx_rtd_theme 2014-04-18 07:33:29 -07:00
Dave Snider
79740ac4fb shouldn't show versions and footer in print version 2014-04-18 07:33:02 -07:00
Eric Holscher
a13043ca17 Update breadcrumbs to use source_suffix variable 2014-04-15 17:42:23 -04:00
Dave Snider
aa0d6f7abd Merge pull request #113 from maskit/patch-1
fix a tag error
2014-03-28 09:01:20 -07:00
Masakazu Kitajo
0248f6ccb1 fix a tag error 2014-03-29 00:59:45 +09:00
Dave Snider
8e6795dfd1 fixes #111 2014-03-12 22:14:26 -07:00
Dave Snider
b0d28a6560 Merge branch 'master' of github.com:snide/sphinx_rtd_theme 2014-03-02 08:17:17 -08:00
Dave Snider
24e1c73114 literal blocks and newer css 2014-03-02 08:16:53 -08:00
Dave Snider
34e56c85b3 Merge pull request #78 from ehough/move-javascript-to-bottom
Move JS to bottom of page
2014-03-02 08:10:41 -08:00
Eric Hough
6f6a760e73 Restoring extra whitespace 2014-02-28 15:00:40 -05:00
Eric Hough
e16b8a830a Renaming block inlinejs to footer 2014-02-28 15:00:09 -05:00
Eric Hough
abbd075ebe Merging upstream 2014-02-28 14:55:48 -05:00
Dave Snider
5324cc3ac3 wyrm changes should make css on rtd smaller 2014-02-11 17:19:48 -08:00
Dave Snider
4b3c0b211b update with button and font changes from wyrm 2014-02-08 20:14:22 -08:00
Dave Snider
193632f488 remove compass req in readme 2014-02-06 11:39:34 -08:00
Dave Snider
dec5831f75 Merge branch 'master' of github.com:snide/sphinx_rtd_theme 2014-02-06 11:34:28 -08:00
Dave Snider
8af1437a38 move to contrib-sass, remove contrib-compass reqs 2014-02-06 11:33:54 -08:00
Dave Snider
bbafd9d677 Merge pull request #102 from icio/fix/npm-dependencies
Specify an empty dependencies set in package.json
2014-02-06 09:19:21 -08:00
Paul Scott
4888452908 Specify an empty dependencies set in package.json
NPM goes really crazy without this. You'll get a lot of
called_on_non_object errors when trying to perform (even
global) install operations.
2014-02-06 17:16:01 +00:00
Dave Snider
95afe66233 fix fontawesome hovers, fixes #95 2014-02-05 14:31:41 -08:00
Dave Snider
83a10cbae3 lock down wyrm depencendy while I fix some icon stuff 2014-02-05 12:47:50 -08:00
Eric Hough
90a5b26b07 Merging upstream 2014-02-04 16:50:21 -05:00
Dave Snider
2aaca3c6c1 backwards compat for font awesome 3.0 for fonts sphinx_rtd was using.
fixes #95
2014-02-03 13:05:53 -08:00
Eric Holscher
c9fd0951c2 Add icon CSS back in for old doc builds 2014-02-03 19:57:52 +07:00
Eric Holscher
04141d9b34 Fix icon/fa switch in footer 2014-02-01 17:48:03 +07:00
Dave Snider
c15e5661a3 Merge branch 'fix_image_center_alignment_and_spacing' of github.com:Kami/sphinx_rtd_theme into Kami-fix_image_center_alignment_and_spacing
Conflicts:
	sphinx_rtd_theme/static/css/badge_only.css
	sphinx_rtd_theme/static/css/theme.css
2014-01-31 14:30:48 -08:00
Dave Snider
f1cad51592 css for #92 2014-01-31 14:28:02 -08:00
Dave Snider
a00d0e20b3 fixed #92 2014-01-31 14:27:23 -08:00
Dave Snider
d7e9223587 well that's one thing off the todo 2014-01-31 09:28:21 -08:00
Dave Snider
aa5e9715f4 might help if i added the fonts 2014-01-31 09:08:32 -08:00