summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-12-20Switching off_t to off64_t.Nicolas "Pixel" Noble
2013-12-20Sockets are now working properly under MSVC. I guess I broke mingw32 though, ↵Nicolas "Pixel" Noble
but we'll fix this later.
2013-12-20A few more Win32 / VisualStudio fixes.Nicolas "Pixel" Noble
2013-12-19Merge branch 'master' of ssh+git://git.grumpycoder.net/pub/repo.git/BalauNicolas "Pixel" Noble
2013-12-19Fixing Output's open.Nicolas "Pixel" Noble
2013-12-19Fixing Win32's Input open statement.Nicolas "Pixel" Noble
2013-12-19Adding BigEndian reads.Nicolas "Pixel" Noble
2013-12-19Implementing win32's Input reads.Nicolas "Pixel" Noble
2013-12-18Visual Studio port.Nicolas "Pixel" Noble
2013-12-18Removing Atomic.h and all volatiles.Nicolas Noble
2013-08-13Shouldn't ignore these return values under GNU...Nicolas "Pixel" Noble
2013-08-13Cleaning up the Handle API a bit.Nicolas "Pixel" Noble
2013-08-13Fixing rare multithreading crash.Nicolas "Pixel" Noble
-) Make sure to acquire the eventLock when possibly deleting a Task. -) Keep the lock until we're done with it.
2013-08-12Correcting the BigInt-to-int conversions a bit.Nicolas Noble
2013-08-12Fixing a few more things, added BigInt to ints conversions, and added the 64 ↵Nicolas Noble
bits read / write versions for LuaHandle.
2013-08-12Forgot to actually push these.Nicolas Noble
2013-08-12Making BigInt's constructor smarter, and adding a few last boolean accessors.Nicolas "Pixel" Noble
2013-08-12Fixing crash; entry.name can be NULL and means 'new'.Nicolas "Pixel" Noble
2013-08-12Adding more bindings to LuaBigInt - isPrime and the export / import ↵Nicolas "Pixel" Noble
functions are missing.
2013-08-12Cleaning up the BigInt's metatable code a bit.Nicolas "Pixel" Noble
2013-08-12Adding LuaBigInt and a few more things.Nicolas "Pixel" Noble
2013-08-12Normalizing the neg syntax, and adding the import / export calls.Nicolas "Pixel" Noble
2013-08-11Forgot isPrime implementation.Nicolas "Pixel" Noble
2013-08-11Forgot the decimal versions of the comparators.Nicolas "Pixel" Noble
2013-08-11Finishing up the BigInt class.Nicolas "Pixel" Noble
2013-08-11Adding BigInts, based off libtomcrypto / libtommath.Nicolas "Pixel" Noble
2013-08-09Removing rsa.lua. This is just too buggy.Nicolas Noble
2013-08-09Making our print function a bit smarter.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 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-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-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-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