Commit Graph

1306 Commits

Author SHA1 Message Date
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
ThePhD
3e17b24065 static members are hard to deal with in regular memory...
Also, make sure tuple returns don't get shafted by the tuple_types machinery!
2015-10-25 07:44:17 -04:00
ThePhD
4b545aa6a2 Fix tuple returns (they don't need to be explicitly expanded in many cases). 2015-10-25 07:17:48 -04:00
ThePhD
e84cf66683 decay to std::string instead of char*, as its both safer (protects against early stack pops) and is handled better by g++'s new std::string conversion constructors
Make sure we're only using C++11 features (no decltype(auto))
2015-10-25 06:48:19 -04:00
ThePhD
34af96214b tests for the lua call error handling functions... 2015-10-23 02:54:26 -04:00
ThePhD
8f59cf2eee Set the ability to give your own panic function 2015-10-22 21:53:12 -04:00
ThePhD
42a03a2618 proper default error handler 2015-10-22 21:46:40 -04:00
ThePhD
ad039c8cc2 Allow for usage of function error handlers with lua
TODO: make this the default mode, with a short-cutting mode (sol::no_fail_function?)
2015-10-22 11:20:32 -04:00
ThePhD
7f4d8d8f89 Allow for failed function calls from lua. 2015-10-22 06:49:53 -04:00
ThePhD
93fe7443f0 Solve's @starwing's problem with not having the ability to check if a function call succeeded or not. 2015-10-22 06:10:30 -04:00
ThePhD
93d532094e object is now more flexible while still supporting the same semantics
indentation an spacing fixes for everything
2015-10-20 21:38:28 -04:00
Hongyi Zhang
022d936dd9 add padding to make bar icon vertically centered in the nav menu
Signed-off-by: Hongyi Zhang <hongyi73.zhang@gmail.com>
2015-10-10 15:13:52 -07:00
Eric Holscher
012d42db6a Merge pull request #253 from zhanghongyi/fix-indentation
fix indentation level
2015-10-09 17:10:13 -07:00
Hongyi Zhang
360c761960 fix indentation level
Signed-off-by: Hongyi Zhang <hongyi73.zhang@gmail.com>
2015-10-02 12:28:43 -07:00
ThePhD
8e0cc99215 Seems like there's no more optimizations that can be made to sol/function...
Only other thing to optimize is `usertype`, maybe.
2015-09-29 18:19:07 -04:00
Eric Holscher
8c880a64fa Merge pull request #251 from snide/check-running
Add check for an already running nav
2015-09-23 13:50:55 -07:00
Anthony Johnson
d01cb61473 Add check for an already running nav
Fixes #250
2015-09-23 10:55:10 -07:00
Anthony Johnson
84b5075f5b Merge branch 'rc-0.1.9' 2015-09-15 14:20:40 -07:00
Anthony Johnson
1234f126d8 Version bump and changelog edits 2015-09-15 14:18:11 -07:00
Anthony Johnson
173cdfc140 Increase vertical padding on code elements slightly
Fixes #242
2015-09-15 13:50:00 -07:00
Anthony
0a1b9e885c Merge pull request #243 from snide/js-refactor
Make theme into a consumable bundle for RTD
2015-09-15 13:34:11 -07:00
Anthony Johnson
7cd2007b7b Add font-awesome explicitly 2015-09-10 16:21:10 -07:00
Anthony Johnson
a02faa6753 Fonts are not only a dev dependency 2015-09-10 15:51:10 -07:00
Anthony Johnson
300f9f01ec Source fonts from bower packages as well
This will be used on RTD to source the same font files from bower packages
2015-09-10 15:45:47 -07:00
Anthony
36b1648b71 Merge pull request #241 from leplatrem/patch-1
Add block to add extra content to footer
2015-09-10 12:39:02 -07:00
Mathieu Leplatre
b2b24228f3 Add block to add extra content to footer
For example, in order to add Disqus comments.
2015-09-10 11:05:11 +02:00
Anthony Johnson
f0863fa0eb Refactor js to exportable module 2015-09-09 00:17:10 -07:00
Anthony
a65c3b5ebe Merge pull request #239 from benmwebb/patch-1
Fix a handful of minor typos.
2015-09-08 22:03:40 -07:00
Anthony
2992ca2119 Merge pull request #215 from agjohnson/fix-nav-scrollbar
Resolve scrollbar visibility on navbar on long content
2015-09-08 20:42:23 -07:00
Anthony Johnson
60eb0af7fb Resolve scrollbar visibility on navbar on long content
This resolves #200, where a scrollbar was sometimes visible on the navbar. This
unfortunately wasn't addressable with just CSS, as outlined in #206. Because we
need the element to be scrollable, we can't set `overflow: hidden` on the nav
element.

This fixes this issue by:

 * Adding a `wy-side-scroll` element over the fixed position nav element and
   under the menu item elements
 * `wy-side-scroll` is set to 320px width, while the fixed position nav elements
   and menu item elements are 300px, clipping the scrollbar with `overflow-x:
   hidden` on the fixed position element
 * Javascript is set to scroll the new scroll element instead of the parent
   fixed position element

This was tested to be working in both cases on a variety of platforms: Linux FF,
Chrome, Windows IE, OSX Chrome and Safari, iPhone 5.1, and Android 4.2.
2015-09-08 20:35:34 -07:00
ThePhD
895030c69e Remove whorish return_forward. 2015-09-07 10:43:39 -04:00
Ben Webb
a257f6dac5 Fix a handful of minor typos. 2015-09-03 15:26:46 -07:00
Eric Holscher
66d865d9c4 Merge pull request #233 from snide/add-page-suffix-support
This fixes the "Edit on GH" links on recommonmark Sphinx docs
2015-08-18 16:44:48 -07:00
Eric Holscher
dcde79291a This fixes the "Edit on GH" links on recommonmark Sphinx docs 2015-08-12 17:53:10 -07:00
Eric Holscher
e8b2b72110 Merge pull request #226 from IKavanagh/master
Separated some sass variables
2015-07-30 11:31:30 -07:00
Ian Kavanagh
3de4352b2f Separated some sass variables 2015-07-25 19:01:18 +01:00
ThePhD
dbeb8b5fcb tests for the new decaying functionality
need to test with clang++/g++ to see if it still works
2015-07-22 02:54:43 -04:00
Eric Holscher
d0ab15b6a8 Merge pull request #223 from snide/fix-figure-caption
Fix figure caption styling, fixes #197
2015-07-21 21:52:32 -07:00
Anthony Johnson
436c90aea4 Fix figure caption styling, fixes #197 2015-07-21 19:12:21 -07:00
ThePhD
d4fe51725c Update catch 2015-07-21 20:55:46 -04:00
Rapptz
38d03eef6e Update copyright year. 2015-07-21 19:51:17 -04:00
Rapptz
eae5c6f259 Add single.py script to create single headers. 2015-07-21 19:49:06 -04:00
ThePhD
0460b33d6c properly use decltype and throw out the get_return "type trait". It wasn't very useful anyhow. 2015-07-21 19:34:48 -04:00
Rapptz
a5e24b4fa2 Fix userdata -> usertype in examples. 2015-07-21 19:26:35 -04:00