Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add NEWS file.HEADv1.0.8master | Daniel Silverstone | 2017-08-02 | 1 | -0/+16 |
| | | | | | | | This should be updated whenever a new feature is added to Supple. It is not meant to be a full changelog, so only put headline items in this file please. The first time a change happens after a new version, please remember to add the new title. | ||||
* | security: clear environment | Richard Ipsum | 2017-07-30 | 1 | -6/+5 |
| | | | | Motivation: https://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/environment-variables.html | ||||
* | Remove supple_paths.h because it was confusing dh-lua | Daniel Silverstone | 2017-07-23 | 3 | -11/+5 |
| | | | | | | | | | | | | Sadly, the approach Richard took to introduce supple_paths.h broke the Debian packaging because dh-lua doesn't use the Makefile. I looked at ways to use it, but because dh-lua builds for all the versions of Lua at once, it can't easily work as-is. Trying to add support for the different Lua versions in Makefile turned out to be a pain, so instead I merged the defines support into the rest of the defines we use. It's less elegant but should be equivalent. | ||||
* | Allow baking of LUA_PATH and LUA_CPATH env vars | Richard Ipsum | 2017-07-20 | 3 | -4/+31 |
| | | | | | | These vars get unset for security reasons, but on NixOS these vars are needed to determine the location of dependent libs, since they're not available in their usual fhs positions. | ||||
* | Allow lua link option to be overridden | Richard Ipsum | 2017-07-20 | 1 | -2/+3 |
| | |||||
* | Squash compiler warning of ignored ret value | Richard Ipsum | 2017-07-08 | 1 | -3/+8 |
| | |||||
* | setuid only if root | Richard Ipsum | 2017-07-08 | 1 | -2/+4 |
| | | | | | | Running the sandbox without setuid is less secure, but it will still work, it is not possible for nix to make binaries setuid when being used as a pkg manager outside of NixOS, i.e. on Debian. | ||||
* | Do not link capi.so against the lua interpreterdsilvers/link-fixup | Daniel Silverstone | 2017-07-08 | 1 | -1/+1 |
| | |||||
* | Move wrapper path from supple.host into supple.capiv1.0.7 | Daniel Silverstone | 2016-10-17 | 3 | -3/+6 |
| | |||||
* | Block GC during make_call to be more safev1.0.6 | Daniel Silverstone | 2016-10-14 | 1 | -0/+2 |
| | |||||
* | Fix a bit of bad documentationv1.0.5 | Daniel Silverstone | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | Change return ABI for supple.host.run() | Daniel Silverstone | 2016-05-30 | 1 | -1/+6 |
| | |||||
* | Add CoC | Daniel Silverstone | 2016-05-30 | 1 | -0/+20 |
| | |||||
* | Add user documentation. Skipping internal docs for now | Daniel Silverstone | 2015-11-02 | 4 | -2/+146 |
| | |||||
* | Better support testing supple during things like package buildsv1.0 | Daniel Silverstone | 2015-10-15 | 3 | -7/+16 |
| | |||||
* | Support debugging the simple example a bit more, and ensure we hit ram limits | Daniel Silverstone | 2015-10-15 | 1 | -2/+8 |
| | |||||
* | Force some garbage collection so that we don't get confused ordering in replies | Daniel Silverstone | 2015-10-15 | 1 | -1/+5 |
| | |||||
* | Allow tests to run in the absence of luacov | Daniel Silverstone | 2015-10-15 | 8 | -8/+8 |
| | |||||
* | Also clean html docs | Daniel Silverstone | 2015-07-03 | 1 | -0/+1 |
| | |||||
* | Very beginnings of ldoc support | Daniel Silverstone | 2015-07-03 | 3 | -0/+11 |
| | |||||
* | Fix indented code section | Daniel Silverstone | 2015-07-03 | 1 | -2/+2 |
| | |||||
* | Support 5.2 style load() as well as 5.1's loadstring()/setfenv() combo | Daniel Silverstone | 2015-02-03 | 1 | -2/+7 |
| | |||||
* | Add fake __gc and support newer library registration | Daniel Silverstone | 2015-02-03 | 1 | -0/+14 |
| | |||||
* | Don't use luaconf.h defines, they're not stable, also switch away from ↵ | Daniel Silverstone | 2015-02-03 | 1 | -4/+7 |
| | | | | lua_cpcall | ||||
* | Install the supple binary into lib | Daniel Silverstone | 2013-04-25 | 1 | -2/+2 |
| | |||||
* | PREFIX, not INST_ROOT, please | Daniel Silverstone | 2013-04-14 | 1 | -1/+3 |
| | |||||
* | Submodule instructions | Daniel Silverstone | 2012-09-20 | 1 | -0/+5 |
| | |||||
* | Move luacov out to a submodule | Daniel Silverstone | 2012-09-09 | 13 | -986/+3 |
| | |||||
* | TEST: Ensure we don't lock down during sandbox.run() test | Daniel Silverstone | 2012-08-21 | 1 | -0/+2 |
| | |||||
* | TEST: Remove dubious 'not optimised' assert | Daniel Silverstone | 2012-08-20 | 1 | -1/+0 |
| | |||||
* | OBJECTS: Don't use tostring() because it might loop via __tostring infinitely | Daniel Silverstone | 2012-08-16 | 1 | -2/+2 |
| | |||||
* | Merge branch 'diagnosis' | Daniel Silverstone | 2012-08-15 | 11 | -39/+289 |
|\ | |||||
| * | OBJECTS: Refcount tags (proxies) so that we only pass __gc across when we ↵diagnosis | Daniel Silverstone | 2012-08-13 | 1 | -4/+14 |
| | | | | | | | | really mean it | ||||
| * | TRACK: Cope with negative depths and nil tracks | Daniel Silverstone | 2012-08-13 | 1 | -1/+6 |
| | | |||||
| * | SANDBOX: Update sandbox and wrapper so that we write to stderr (dead, but ↵ | Daniel Silverstone | 2012-08-13 | 2 | -2/+18 |
| | | | | | | | | who cares) if an error propagates all the way out | ||||
| * | TEST: Add missing require | Daniel Silverstone | 2012-08-13 | 1 | -1/+1 |
| | | |||||
| * | SUPPLE: Lots of diagnosis stuff | Daniel Silverstone | 2012-08-12 | 10 | -35/+254 |
|/ | |||||
* | Credits file | Daniel Silverstone | 2012-08-11 | 1 | -0/+11 |
| | |||||
* | EXAMPLE: Add demonstration for supple.host.loadstring() | Daniel Silverstone | 2012-08-08 | 1 | -0/+16 |
| | |||||
* | HOST: Simple loadstring for the sandbox | Daniel Silverstone | 2012-08-08 | 1 | -0/+5 |
| | |||||
* | SANDBOX: Ensure the first wrappered load is direct and the rest are wrappered | Daniel Silverstone | 2012-08-08 | 1 | -2/+9 |
| | |||||
* | SANDBOX: Ensure we use the same globals for every loadstring | Daniel Silverstone | 2012-08-08 | 1 | -5/+3 |
| | |||||
* | HOST: Allow set_globals to define a set of globals to pass to all supple ↵ | Daniel Silverstone | 2012-08-08 | 1 | -8/+18 |
| | | | | sandboxes | ||||
* | HOST: Ensure sandbox's FDs are more likely to be closed cleanly | Daniel Silverstone | 2012-08-06 | 1 | -2/+3 |
| | |||||
* | EXAMPLE: Show pairs, ipairs and next working, and allow lprint() to show ↵ | Daniel Silverstone | 2012-08-05 | 1 | -1/+47 |
| | | | | simple tabular returns too | ||||
* | HOST: Ensure we simplify return values to local types so we can clean down ↵ | Daniel Silverstone | 2012-08-05 | 1 | -0/+28 |
| | | | | if the function returns tables etc | ||||
* | COMMS: if read() fails, propagate the error | Daniel Silverstone | 2012-08-05 | 1 | -1/+4 |
| | |||||
* | SUPPLE: Ensure __next is set on proxied tables by default | Daniel Silverstone | 2012-08-05 | 2 | -0/+6 |
| | |||||
* | SANDBOX: Wrapper unpack() so it works transparently | Daniel Silverstone | 2012-08-05 | 1 | -1/+14 |
| | |||||
* | SANDBOX: Use the CAPI variants of ipairs,pairs,next for transparent proxy ↵ | Daniel Silverstone | 2012-08-05 | 1 | -1/+4 |
| | | | | behaviour |