summaryrefslogtreecommitdiff
path: root/includes/Handle.h
AgeCommit message (Collapse)Author
2014-08-08Finalizing cares integration.Nicolas Noble
2014-05-16Fixing compilation problem with well known all-caps symbols.Nicolas Noble
2014-03-12Fix compilationVincent Hamm
2014-03-13Reading is no longer little endian by default. It's now having explicit ↵Nicolas "Pixel" Noble
little endian accessors, and a mode flag that can be toggled.
2014-01-04Removing "big endian" 8-bits reads, and updating libev to fix win32 deadlock.Nicolas "Pixel" Noble
2013-12-20Switching off_t to off64_t.Nicolas "Pixel" Noble
2013-12-19Adding BigEndian reads.Nicolas "Pixel" Noble
2013-12-18Visual Studio port.Nicolas "Pixel" Noble
2013-12-18Removing Atomic.h and all volatiles.Nicolas Noble
2013-08-13Adding one last warning on writeString.Nicolas "Pixel" Noble
2013-08-13Cleaning up the Handle API a bit.Nicolas "Pixel" 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-06Reorganizing that file a bit to help me prepare its Lua export.Nicolas "Pixel" Noble
2013-08-02Introducing the concept of Future.Nicolas "Pixel" Noble
2013-01-22Removing some more cruft.Pixel
2013-01-21Adding the asA method to the IO template.Nicolas 'Pixel' Noble
2013-01-21ZStreams's close, read and write are now fully interruptible. Will need some ↵Nicolas 'Pixel' Noble
testing though.
2013-01-20Adding open() as an operation to Input and Output.Nicolas 'Pixel' Noble
2012-09-10Being pedantic.Nicolas "Pixel" Noble
2012-04-13Fixing my constant-strings constructs (Thanks Kurtis!)Nicolas "Pixel" Noble
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.