summaryrefslogtreecommitdiff
path: root/includes
AgeCommit message (Collapse)Author
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.
2011-11-25We need the buffered streams to be detacheablePixel
2011-11-25Consts are good.Pixel
2011-11-24Making strings being able to read from their end.Pixel
2011-11-23That would make way more sense to the fromConst Buffer to have its size set ↵Pixel
up, wouldn't it ?
2011-11-23Adding the isA<>() template / method to the IO proxy, and optimizing the ↵Pixel
BStream using it, in case one never wants to use the readString() or peekByte() methods.
2011-11-21GeneralException() will now trace the callstack and store this, for ↵Pixel
debugging purposes.
2011-11-19Having the ability to create buffers from const memory.Pixel
2011-11-19Having String.set returning this.Pixel
2011-11-19Handling more Connection tags, separated with commas; and adding the 'split' ↵Pixel
method to String.
2011-11-19Fixing a few very stupid bugs.Pixel
2011-11-18Starting to re-organize the HTTP code a bit. Sharing code between the server ↵Pixel
and a potential client makes sense. Also packing requests and responses into structures / classes is probably a good idea.
2011-11-18Got this one wrong; one need to get the refcount to 0 to delete itself.Pixel
2011-11-17HTTP server's first real test, alongside multiple taskmanager threads.Pixel
I'm not really sure I fully like the way I'm designing this, but I guess it could be solved with an HTTP/HTML helper class around the Action class. However, the HTTP server awfully need reference counting, so it doesn't go away before all of the workers disappear, which means a bit of a redesign of the Listener template.
2011-11-17Cleaning some code, redesigning a bit the stack allocation problem from the ↵Pixel
task manager, and actually implementing it properly.
2011-11-17Introducing the fact we need a more efficient stack allocator, and that it's ↵Pixel
to be performed from the task manager.
2011-11-17Since tasks can be on different task managers, one has to signal them a bit ↵Pixel
differently.
2011-11-16Adding the Regex class.Pixel
2011-11-16Seems clang is picky. I don't know if I like or hate this compiler yet.Pixel
2011-11-16I hate doing this, but, well. Maybe I should design a memory allocator ↵Pixel
class, but, meh.
2011-11-16And with the new TaskScheduler system, let's add a way for a new task to ↵Pixel
stick on another one's thread, if needed. (and it is)
2011-11-16Kind of a big revamp of the TaskMan / Task model, in order to introduce a ↵Pixel
TaskScheduler. The idea is that we need to support multiple task managers from multiple threads. So that revamp means we now should be able to support that, except the TaskScheduler needs to implement a round robin system, to distribute tasks across multiple task managers. But at least, the fundamental redesign to permit this is here.
2011-11-16This function doesn't exist.Pixel
2011-11-16Of course, to be viable, the ReadOnly and WriteOnly classes need to derive ↵Pixel
from Handle...