summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-09-02Fixing ZHandle, and adding a unit test for it.Nicolas "Pixel" Noble
2012-09-01Unless reset, async events will continuously return true on gotSignal().Nicolas "Pixel" Noble
2012-09-01Merge commit '06674e57649d536cf19715524ee40c5ad4a9026d'Nicolas "Pixel" Noble
Conflicts: includes/LuaTask.h includes/TaskMan.h includes/Threads.h src/TaskMan.cc src/Threads.cc
2012-09-01Adding async operations; first step towards tossing libeio out.Nicolas "Pixel" Noble
2012-04-08Redifining yielding for operations a bit, making further refinements.Pixel
2012-04-08Slightly more tests for the stackless task unit test.Pixel
2012-04-08Slightly cleaner unit test.Pixel
2012-04-08Adding a small unit test for Stackless tasks.Pixel
2012-04-06This is not necessary anymore.Pixel
2012-04-06Probably better to move this before even creating the action that might ↵Pixel
trigger it.
2012-04-06Making use of SimpleMustache templates into the http test.Pixel
2012-04-06Better way to write these...Pixel
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-06Improving a bit the http unit test.Pixel
2012-04-03Reworking a bit the way the queues are working, and thus, the way the ↵Pixel
LuaTMainTask queue works.
2012-04-02Fixing unit testsPixel
2012-02-28Adding a short test for the ZStreams.Pixel
2012-02-28Having a slightly better approach for writing Http responses.Nicolas "Pixel" Noble
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-21GeneralException() will now trace the callstack and store this, for ↵Pixel
debugging purposes.
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-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-16Adding the Regex class.Pixel
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-13Adding an opaque pointer to the generic Socket listener.Pixel
2011-11-13Adding buffered streams; mainly for string parsing.Pixel
2011-11-12Adding seekable buffers. Probably would need a few more tests in the Handles ↵Pixel
unit test.
2011-11-10Fixing that heisenbug. Huh, yeah, it's usually better to use a real TLS ↵Pixel
instead of a dummy one...
2011-11-09Adding 'Output' objectPixel
2011-10-26Adding Lua.Pixel
2011-10-18Fixing Darwin compilation:Pixel
-) Using clang instead of gcc for the native target (*sigh*) -) Fixing libeio (*sigh*) -) "Fixing" the connect() call in Sockets because Darwin is stupid (*SIIIIIIIGH*) Although the Threads unit test isn't working properly.
2011-10-18And so kids, this is why we have unit tests.Pixel
2011-10-17Adding the Socket class, and a few tools that comes with it.Pixel
2011-10-17Adding the Async event, and tweaking the others a bit.Pixel
2011-10-17Removing the 'non-preemptible' madness before it could even be used.Pixel
2011-10-17Redefined how the IO class works. The ref counting should now work properly.Pixel
2011-10-17Forgot test-Threads.ccPixel
2011-10-14The tasks can now set themselves to be non-preemptible. Also implemented a ↵Pixel
mechanism to re-arm an event.
2011-10-11Making the project compile with mingw32, on the same Makefile. No more ↵Pixel
separate Makefiles insanity.
2011-10-11Input class seems to be done.Pixel
2011-10-10Adding a few more features to Input, and actually creating a slightly better ↵Pixel
ClassName system, when using gcc and libstdc++.
2011-10-10Adding the 'stats' call to Input.Pixel
Also fixing a bug with the Printer - va_args are vicious.
2011-10-10Adding the basic "Handle" structure, and adding an early version of Input.Pixel
Renamed suspend() to yield(). Fixed a couple of bugs, and reorganized slightly some code.
2011-10-09Starting to integrate libev; timer event works.Pixel
2011-10-09This wasn't intended.Nicolas "Pixel" Noble
2011-10-09More work on the Task manager.Pixel
Now "Main" is a Task, among the most important changes. Introduced the notion of Events, and managed a coherent task switch. Also, renamed a lot of the variables to have a more coherent naming scheme.
2011-10-07Adding 'Sanity' test software, simplified Makefile, and turned 64 bits file ↵Pixel
offsets.
2011-10-07More work in the Task manager.Pixel
Also fixing a few bugs linked with the printer and TLS. Removed flto from compilation flags: this actually creates bad code (!)