aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Luamm.cc
AgeCommit message (Collapse)AuthorFilesLines
2013-02-18Add lua::quote function, for safe (and pretty) quoting of stringsPavel Labath1-0/+24
2013-02-18Add checkstring() to lua::statePavel Labath1-4/+19
2013-02-18Add checkudata and checkargno functions to lua::statePavel Labath1-0/+31
These can be used by functions to check the saneness of arguments. They throw an exception on error. In the future, I might add more informative error messages.
2013-02-17A lightweight version of lua::state::pushclosure which handles the simple casesPavel Labath1-2/+10
2013-02-16Lua exceptions can now outlive thier lua contextPavel Labath1-4/+5
2013-02-16luamm: add a version of loadstring which also takes the string length as a ↵Pavel Labath1-2/+19
parameter
2013-02-16Remove the possibility to transport exceptions through lua codePavel Labath1-53/+8
It's impossible to do this without C++0x features (we need std::exception_ptr).
2013-02-16c++ lua binding: get rid of shared_ptrPavel Labath1-48/+53
It was pretty underused anyway. I was just lazy to write a proper destructor.
2013-02-16c++ lua binding: get rid of deleted functions and rvalue referencesPavel Labath1-4/+11
2013-02-16c++ lua binding: replace std::function with FbTk::SlotPavel Labath1-7/+4
std::function is superior, but not supported on old compilers
2013-02-16C++ binding for luaPavel Labath1-0/+468
copied from conky (http://conky.sf.net) and relicensed. Since I am the person who wrote it in the first place there should not be a problem with licence conversion.