summaryrefslogtreecommitdiff
path: root/includes/Handle.h
AgeCommit message (Collapse)Author
2012-03-29Preventing Handles to be copied.Pixel
2012-02-28Being better at handling constant strings in Handle's writes.Nicolas "Pixel" Noble
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-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-29Having a forceWrite that takes a string.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-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-16Of course, to be viable, the ReadOnly and WriteOnly classes need to derive ↵Pixel
from Handle...
2011-11-15Adding two Handle restricters: ReadOnly and WriteOnly.Pixel
2011-11-15Adding a potential event to cancel a forced read/write, such as a timeout.Pixel
2011-11-15Adding the forceRead/Write methods, to circumvent the potential problem that ↵Pixel
a file descriptor can do less than being asked.
2011-11-14Making sure the typecasting on Handles worked properly.Pixel
2011-11-13Adding seek and tell aliases to rseek and rtell.Pixel
2011-10-27Fixing a few oddities, and having the 'clean' target cleaning LuaJIT as well.Pixel
2011-10-26Protecting the IO class a bit more, and adding the raw filename paradigm for ↵Pixel
at least the Input class.
2011-10-25Adding the FileSystem global class with mkdir, and adding the writeString ↵Pixel
method to Handles. Also preparing the inclusion of Lua by adding LuaJIT.
2011-10-17Redefined how the IO class works. The ref counting should now work properly.Pixel
2011-10-17Adding an early version of the 'engine debug' facility.Pixel
2011-10-14Fixing a few bugs.Pixel
-) The IO class needed an assignment operator, as well as the ability to NOT contain a Handle. -) The Task Manager wasn't properly starting up pending tasks that got added during startup.
2011-10-14Further tweaks to the Task class: now a Task can declare being smart, and ↵Pixel
say it's okay to get a EAgain exception, if the operation is interruptible.
2011-10-13Having a template here is useless...Pixel
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.