summaryrefslogtreecommitdiff
path: root/includes
AgeCommit message (Collapse)Author
2013-08-07Adding the rest of the helpers, and simplifying their implementations.Nicolas Noble
2013-08-07Adding readU16, readU32 and readU64. The Lua version of readU64 will need ↵Nicolas Noble
GMP support.
2013-08-07Deferring object collection in Lua because yielding from the garbage ↵Nicolas Noble
collector is a very bad idea.
2013-08-07Adding yieldNoWait() for tasks that just want to let the scheduler switch ↵Nicolas Noble
back and forth because of CPU usage.
2013-08-07Code simplification. This just would bounce the same exception anyway.Nicolas Noble
2013-08-07Cleaning up types a bit.Nicolas "Pixel" Noble
2013-08-07Adding skeleton LuaHandle.Nicolas "Pixel" Noble
2013-08-06Reorganizing that file a bit to help me prepare its Lua export.Nicolas "Pixel" Noble
2013-08-05Greatly simplifying the LuaYield mechanism so to avoid double-recursive ↵Nicolas Noble
calls in resume().
2013-08-05Adding a helper to LuaExecCell to find the LuaMainTask, and making the ↵Nicolas "Pixel" Noble
exec() call interruptible.
2013-08-05It makes much more sense to throw TaskSwitch here instead of EAgain. The ↵Nicolas "Pixel" Noble
only case you'd want EAgain is when an operation is yielding.
2013-08-05Improving the output of GeneralExceptions in Lua; also you can't call ↵Nicolas "Pixel" Noble
lua_error on a yielded co-routine.
2013-08-05Adding a helper to actually find the LuaMainTask from any Lua context.Nicolas "Pixel" Noble
2013-08-05Sure, why not.Nicolas "Pixel" Noble
2013-08-05Relaxing the simple context rules a bit.Nicolas "Pixel" Noble
2013-08-02Lua's dumpvars is now properly yielding if needed.Nicolas Noble
2013-08-02Heavily revamped the C-to-Lua yielding mechanism. Now more generic.Nicolas Noble
2013-08-02Refining a bit more the Future class.Nicolas Noble
2013-08-02Introducing the concept of Future.Nicolas "Pixel" Noble
2013-08-02Adding the SimpleContext class that switches the current Task from complex ↵Nicolas "Pixel" Noble
to simple.
2013-08-02Adding AtStartAsTask and AtExitAsTask concepts.Nicolas "Pixel" Noble
2013-08-01When creating a new Task, steal the TLS values from its creator.Nicolas Noble
2013-08-01Slightly more robust yield() call.Nicolas Noble
2013-08-01I'm surprised this worked so far. The yield / EAgain mechanism was pretty ↵Nicolas Noble
much broken when using stackless operations.
2013-07-31Even further changes in the Lua class binding system. Simplifying the ↵Nicolas Noble
callback system by using the Lua's C closure mechanism.
2013-07-31Few more tweaks to the Lua class exporter. Now we have parent support as ↵Nicolas "Pixel" Noble
well as as the class name.
2013-07-31Added a few forgotten references.Nicolas "Pixel" Noble
2013-07-31Few more tweaks to the Lua push system.Nicolas "Pixel" Noble
2013-07-30Changing things a bit in the Lua binding system. Now pushing a class ↵Nicolas Noble
template means pushing a table by its name, and the constructor is implicit in it.
2013-07-30Saving some memory by having the LuaTasks being stackless when possible.Nicolas Noble
2013-07-25Lua now properly yields when an operation throws EAgain.Nicolas "Pixel" Noble
2013-07-25Cleaning up the Lua code a bit.Nicolas "Pixel" Noble
2013-07-24Better exception handling support for Lua.Nicolas Noble
2013-07-24Updating LuaJIT, and renaming StdIO.h to BStdIO.hNicolas "Pixel" Noble
2013-07-16Adding StdIO classes.Nicolas Noble
2013-07-16Split the Socket class into Selectable, in order to let it work with other ↵Nicolas Noble
non-socket file descriptors.
2013-01-22Another pass of cruft cleaning.Pixel
2013-01-22Removing some more cruft.Pixel
2013-01-22Cleaning up some cruft.Pixel
2013-01-22Adding the move constructor to BString.Pixel
2013-01-21Fixing a few bugs in ZStream.Nicolas 'Pixel' Noble
2013-01-21Adding the asA method to the IO template.Nicolas 'Pixel' Noble
2013-01-21Output operations open, close and write are now fully interruptible.Nicolas 'Pixel' Noble
2013-01-21ZStreams's close, read and write are now fully interruptible. Will need some ↵Nicolas 'Pixel' Noble
testing though.
2013-01-20Input's open, read and close are now operations fully interruptible.Nicolas 'Pixel' Noble
2013-01-20Adding open() as an operation to Input and Output.Nicolas 'Pixel' Noble
2013-01-20Tentatively adding vsscanf to win32 compilation. Untested tho.Nicolas 'Pixel' Noble
2013-01-20Slightly better printf formats for 32 and 64 bits values.Nicolas 'Pixel' Noble
2013-01-18Adding a sleep() paradigm to tasks.Nicolas 'Pixel' Noble
2013-01-17The Listener factory is now a StacklessTask.Nicolas 'Pixel' Noble