summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-10Let's disable lcrypt's math portion for now.Nicolas "Pixel" Noble
2013-08-09Forgot to take the rsa.lua out from lcrypt.cNicolas Noble
2013-08-09Trying to come up with a more cross-platform secure random number generator.Nicolas Noble
2013-08-09Removing rsa.lua. This is just too buggy.Nicolas Noble
2013-08-09Removing lcrypt's Makefile.Nicolas Noble
2013-08-09Making our print function a bit smarter.Nicolas "Pixel" Noble
2013-08-09Optimizing that glue code a bit; the built-in lua code no longer depends on ↵Nicolas "Pixel" Noble
any global nor the object's methods, and isbigint properly returns true or false.
2013-08-09More cleanup on lcrypt.Nicolas "Pixel" Noble
2013-08-09That wasn't supposed to get pushed...Nicolas "Pixel" Noble
2013-08-09Cleaning lcrypt a bit.Nicolas "Pixel" Noble
2013-08-08Adding the rsa.lua code to lcrypt.Nicolas "Pixel" Noble
2013-08-08Adding libtommath, libtomcrypt and lcrypt, mainly for the bignum support.Nicolas "Pixel" Noble
2013-08-07Binding all the helpers - save it for the 64 bits ones.Nicolas Noble
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-07Intriguing this one didn't crash earlier. We were writing that byte ↵Nicolas Noble
somewhere in the stack. Making the 'buffer' more persistent.
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-07Adding a TODO file to remember my stuff...Nicolas Noble
2013-08-07Adding readU8()Nicolas "Pixel" Noble
2013-08-07Cleaning up types a bit.Nicolas "Pixel" Noble
2013-08-07The close operation is actually async too. Meaning that the destroy ↵Nicolas "Pixel" Noble
operation probably should become async...
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-06That variable actually belongs in its own context.Nicolas "Pixel" Noble
2013-08-06Using shared_ptr instead of rolling our own system, making it more pretty.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-05Don't crash a LuaTask on EAgain; let it thru. Also don't yield if you crashed.Nicolas "Pixel" Noble
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-05The lua_load operation is a bit complicated, and can't throw EAgain.Nicolas "Pixel" Noble
2013-08-05Let's be a bit more explicit about the effects of not catching EAgain.Nicolas "Pixel" Noble
2013-08-05Sure, why not.Nicolas "Pixel" Noble
2013-08-05Impressive all of this worked so far. The Async event needs to be reset ↵Nicolas "Pixel" Noble
otherwise it'll always re-trigger and won't throw an EAgain, as intended.
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-02Forgot to pass on the timeout event here.Nicolas Noble
2013-08-02Refining a bit more the Future class.Nicolas Noble
2013-08-02Switching Handle's readU8() to be a Future, and using it in SimpleMustache.Nicolas "Pixel" Noble
2013-08-02Introducing the concept of Future.Nicolas "Pixel" Noble
2013-08-02Using SimpleContext in SimpleMustache's setTemplate, as it reads from a ↵Nicolas "Pixel" Noble
Handle using readU8. We'll switch readU8 to use a Future.
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-01Slightly more useful debugging messages in operationYield.Nicolas Noble