aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Luamm.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Add lua::quote function, for safe (and pretty) quoting of stringsPavel Labath1-0/+24
2011-11-01Add checkstring() to lua::statePavel Labath1-4/+19
2011-11-01Add 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.
2011-11-01A lightweight version of lua::state::pushclosure which handles the simple casesPavel Labath1-2/+10
2011-11-01Lua exceptions can now outlive thier lua contextPavel Labath1-4/+5
2011-11-01luamm: add a version of loadstring which also takes the string length as a ↵Pavel Labath1-2/+19
parameter
2011-11-01Remove 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).
2011-11-01c++ lua binding: get rid of shared_ptrPavel Labath1-48/+53
It was pretty underused anyway. I was just lazy to write a proper destructor.
2011-11-01c++ lua binding: get rid of deleted functions and rvalue referencesPavel Labath1-4/+11
2011-11-01c++ lua binding: replace std::function with FbTk::SlotPavel Labath1-7/+4
std::function is superior, but not supported on old compilers
2011-11-01C++ 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.