summaryrefslogtreecommitdiff
path: root/includes
AgeCommit message (Collapse)Author
2012-04-08If an operation returns EAgain, it already is waiting for the event. Don't ↵Pixel
wait for it again. Also, StacklessEnd() needed to break out of the switch statement if it doesn't want to crash.
2012-04-08First pass on the stackless task class - mainly a bunch of #defines for now.Pixel
2012-04-08Broken assert.Pixel
2012-04-08Few more quirks into the stackless mode; we don't want to allocate stacks ↵Pixel
nor create any co-routine (or fiber) if we're stackless.
2012-04-08Further refinements and protections in the stackless base.Pixel
2012-04-08Putting the bases for stackless co-routines.Pixel
Also cleaning up some code, clarifying some concepts, and adding more exception catchers.
2012-04-06Small improvements on the SimpleMustache processor, in order to be able to ↵Pixel
make it const, and to construct template out of constant strings.
2012-04-06Making it simplier to register a task and wait for it. Also renamed ↵Pixel
createTask to registerTask, which makes way more sense.
2012-04-06Improving a bit the way threaded task managers are being stopped.Pixel
2012-04-06A few improvements over how a threaded TaskMan works. Now its own exported ↵Pixel
class. Also has a proper exception handling in its caller.
2012-04-03Having a slightly better mechanism for stopping the LuaMainTask, as well as ↵Pixel
some debugging messages.
2012-04-03Slightly more change to the Queue system, so Debug mode doesn't freak pout.Pixel
2012-04-03Reworking a bit the way the queues are working, and thus, the way the ↵Pixel
LuaTMainTask queue works.
2012-04-03Opening all libraries in the LuaMainTask, and adding the LuaExecFile class.Pixel
2012-04-03Adding a better constructor for strings.Nicolas "Pixel" Noble
2012-04-01Creating first pass on LuaTasks.Pixel
2012-04-01More code cleanup.Pixel
2012-04-01The TaskEvent wasn't thread-safe.Pixel
2012-04-01More code cleanup.Pixel
2012-03-29Working / cleaning a bit the Lua class.Pixel
2012-03-29Preventing Handles to be copied.Pixel
2012-03-17Typo.Nicolas "Pixel" Noble
2012-03-08Adding the ScopeLock class to simplify a bit some pieces of code.Pixel
2012-02-28Having a slightly better approach for writing Http responses.Nicolas "Pixel" Noble
2012-02-28Being better at handling constant strings in Handle's writes.Nicolas "Pixel" Noble
2011-12-13Better implementation of RFC 2324.Pixel
2011-12-13Fixing a few bugs and problems in the ZHandle code.Pixel
2011-12-12Adding ZHandle class. It needs a unit test though.Pixel
2011-12-11Added the ability for a task or an operation to yield. Also optimized some ↵Pixel
bits of the TaskManager.
2011-12-11Introducing EAssert for 'Execution Assert', which won't stop the ↵Pixel
application, and will replace a bunch of RAssert around the code.
2011-12-08Moving the HTTP status messages out of the HTTP server, and into its own ↵Pixel
file. Also making it complete.
2011-12-07Adding more HTTP methods, and properly supporting them, even if it means ↵Pixel
returning a 405 error.
2011-12-05Adding read-write locks, and applying them immediately to the http server.Pixel
2011-12-05Making the ref counter on Handles thread-safe. Not that it renders the usage ↵Pixel
of Handles thread-safe, but at least one can now transmit Handles over threads safely without risking a refcount bug.
2011-12-04Refactored the Thread code a bit, and created the GlobalThread class, for ↵Pixel
threads that are created on startup.
2011-12-04Adding at least one TAssert into test-Threads, and fixing a typo.Pixel
2011-12-04Reworked some things in the architecture, mainly exceptions and asserts.Pixel
-) Removed Assert() -) Added AAssert(), IAssert(), RAssert(), TAssert() and Failure() -) Reworked all asserts in the code, and added meaningful messages to them. -) Changed the way the startup code is generated; BALAU_STARTUP is no longer necessary.
2011-11-29Getting rid of the std::pair; they are ugly as hell.Pixel
2011-11-29Having a forceWrite that takes a string.Pixel
2011-11-29Removing a few operators that aren't used anymore, and adding a better ↵Pixel
=(String) operator.
2011-11-29Being a bit more laxist with Mustache's values, and accepting almost ↵Pixel
anything as a variable; also adding a checkTemplate() method to assert a few things onto a template after loading it.
2011-11-29The TaskManager no longer waits on the pop(); instead it waits in the libev ↵Pixel
loop; also the Queue<> template changed for a naive but std-less implementation.
2011-11-29Adding detailled logs, with timestamp and threadid.Pixel
2011-11-29Adding a few more useful features to Buffers, such as getBuffer() and rewind().Pixel
2011-11-29Adding memory fences to Atomic.h; won't hurt that much...Pixel
2011-11-28Whoops: forgot to implement the escaping function.Pixel
2011-11-26Adding a few todo-like comments in the SimpleMustache code - not that I ↵Pixel
actually intend to implement them anyway...
2011-11-25Fixing a few bugs and warnings.Pixel
2011-11-25Adding a simple 'Mustache' template processor in C++.Pixel
2011-11-25Adding a 'HandlePrinter' Handle type, to easily print out the results of a ↵Pixel
handle, and some small helpers; more helpers to come.