summaryrefslogtreecommitdiff
path: root/src/util.rs
AgeCommit message (Expand)Author
2018-02-06Lots of changes, not sure if actually safe yet.kyren
2018-02-05Set the metatable of __gc'ed userdata to something more informativekyren
2018-01-27Use ptr::write to initialize uninitalized memory, NOT mem::replacekyren
2018-01-27Simplify handling of userdata __gc and resurrected userdata.kyren
2017-12-17Add automatic Lua "user accessible registry" keyskyren
2017-12-16API for registry access via string keys only (for now)kyren
2017-12-04extra spacekyren
2017-12-04Add `ExpiredUserData` error and avoid what was previously a panickyren
2017-12-04Move function and thread into their own modules, auto-formattingkyren
2017-12-04Include garbage collector error type, remove unnecessary setmetatable wrapperkyren
2017-12-04I *THINK* this might actually be it, is rlua 'm' safe now?kyren
2017-12-03missing push_string calls in utilkyren
2017-12-03Couple of changes in preparation for 'm' safety:kyren
2017-12-03more refactoringkyren
2017-12-03remove specific protected functions in favor of generic protect_lua_callkyren
2017-12-03More refactoring towards mem error safetykyren
2017-12-03more refactoring trying to find a workable path to 'm' error safetykyren
2017-12-02still making small structural changeskyren
2017-12-02new strategy for protected ffi callskyren
2017-12-02make some things privatekyren
2017-12-02move error / panic metatable creationkyren
2017-12-02split macros into their own filekyren
2017-12-02Experimental protected versions of all used 'm' erroring functionskyren
2017-11-07Only get gc on setmetatable if metatable isn't nilTimidger
2017-10-25Fix xpcall return values, make the tests a lot better.kyren
2017-10-24Fix some clippy lints, possible edge case API incompatibility around HashMapkyren
2017-10-23auto-formattingkyren
2017-10-14Cleanups of userdata handling, particularly around callbackskyren
2017-08-02Provide custom allocators that ensure that OOM results in an abortkyren
2017-08-02Merge pull request #34 from jonas-schievink/better-errorkyren
2017-08-02setmetatable should return the tablekyren
2017-08-02Handle LUA_ERRERRJonas Schievink
2017-08-02Fix soundness problems with rluakyren
2017-08-02Fix argument bugs with pcall / xpcall, add tests for itkyren
2017-08-02Remove ErrorErrorJonas Schievink
2017-08-01Fix compilationJonas Schievink
2017-08-01Fix error message and shorten codeJonas Schievink
2017-08-01Don't dispose whole traceback when it's not utf-8Jonas Schievink
2017-08-01Merge IncompleteStatement into SyntaxErrorJonas Schievink
2017-08-01Fix handling of `CallbackError`Jonas Schievink
2017-08-01Enhance error messagesJonas Schievink
2017-07-27Fix several bugs with error handling in xxx_with_traceback functionskyren
2017-07-27'main_state' fixkyren
2017-07-24auto formattingkyren
2017-07-24Merge remote-tracking branch 'base/master' into remove-lua-prefixkyren
2017-07-23Remove error_guardkyren
2017-07-23Remove the `Lua*` prefix from most typesJonas Schievink
2017-07-23Reduce error_guard code to as little as possiblekyren
2017-07-23Userdata can have __gc metamethods called multiple timeskyren
2017-06-30format fix, fixes rustfmt warningkyren