History log of /haiku/src/kits/support/BufferIO.cpp
Revision Date Author Comments
# 29e8fa59 24-Jun-2014 John Scipione <jscipione@gmail.com>

Style fixes to Support Kit files


# 9be774b5 30-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Compilation and 64-bit fixes to libbe.so sources.

Fixed the usual issues - printf format strings, uint32 instead of
addr_t, etc. One thing that isn't so nice is several places where
BList is used to store (u)int32, these require a double cast to addr_t
then void* to silence a warning on x86_64.


# 1e16c002 24-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

* Don't store a possibly negative return value in an unsigned size_t, which
is later used as parameter to memcpy(). Should fix r5623 (untested).
* Fixed coding style for some comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35944 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c58463ff 18-Nov-2008 Axel Dörfler <axeld@pinc-software.de>

* Seek() must always fail when the resulting offset would be smaller than 0
- "correcting" the offset to 0 is not what should happen.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28688 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1b21be70 16-Nov-2008 Axel Dörfler <axeld@pinc-software.de>

* BBufferIO did not implement Seek() and Position() correctly; it just passed
it to the stream. This caused Read()/Write() to need two syscalls for nothing
(this only caused the actual stream to share the same position with the
BBufferIO, something you just cannot rely on when using buffered I/O).
* Anyway, this reduces the time VirtualBox needs to open some RAW test images
from over 4 minutes to less than 15 seconds...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28662 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a36e40dc 02-Apr-2007 Niels Sascha Reedijk <niels.reedijk@gmail.com>

Strip API documentation from these files: they are in separate dox files now.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20510 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 087882c2 26-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

* Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now;
feel free to change that ;-)
* Cleaned up existing headers.
* Coding style guide update to BBufferIO (renamed m_* members to f*).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19972 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d0164ea3 20-Jun-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Small style changes, just to improve my commit stats :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13214 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ac3bb782 04-Jul-2003 shadow303 <shadow303@nowhere.fake>

gcc 3 fix


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3846 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d4125b7 22-Jan-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

this should be the definitive (excluded bugfixes) implementation of BBufferIO. Buffered write should work fine, as buffered read did.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2530 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51ee67dc 16-Jan-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed an obvious bug, simplified a bit the code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2470 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 089f7deb 16-Jan-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented buffered read in BBufferIO class, and added it to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2469 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a42a3ab5 28-Nov-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

A skeleton for the BBufferIO class.
(Since we have a header, I think we should also have an implementation...
;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2100 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 29e8fa5922c9f9a5eb09a2fcc92e7fb321d4cc59 24-Jun-2014 John Scipione <jscipione@gmail.com>

Style fixes to Support Kit files


# 9be774b553296a712704078314f2291ae5fc352c 30-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Compilation and 64-bit fixes to libbe.so sources.

Fixed the usual issues - printf format strings, uint32 instead of
addr_t, etc. One thing that isn't so nice is several places where
BList is used to store (u)int32, these require a double cast to addr_t
then void* to silence a warning on x86_64.


# 1e16c002795db2e8b30b9750df22683bd50fac16 24-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

* Don't store a possibly negative return value in an unsigned size_t, which
is later used as parameter to memcpy(). Should fix r5623 (untested).
* Fixed coding style for some comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35944 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c58463ff1025bf7892e3e67e49920b93aecd0a3b 18-Nov-2008 Axel Dörfler <axeld@pinc-software.de>

* Seek() must always fail when the resulting offset would be smaller than 0
- "correcting" the offset to 0 is not what should happen.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28688 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1b21be7091225237dd3816ab4bafa11a0d5d0a35 16-Nov-2008 Axel Dörfler <axeld@pinc-software.de>

* BBufferIO did not implement Seek() and Position() correctly; it just passed
it to the stream. This caused Read()/Write() to need two syscalls for nothing
(this only caused the actual stream to share the same position with the
BBufferIO, something you just cannot rely on when using buffered I/O).
* Anyway, this reduces the time VirtualBox needs to open some RAW test images
from over 4 minutes to less than 15 seconds...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28662 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a36e40dcda43808973f61a9800ce3ec7e5f85ced 02-Apr-2007 Niels Sascha Reedijk <niels.reedijk@gmail.com>

Strip API documentation from these files: they are in separate dox files now.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20510 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 087882c26e81eabf9a459e634a33f8e978d8a66b 26-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

* Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now;
feel free to change that ;-)
* Cleaned up existing headers.
* Coding style guide update to BBufferIO (renamed m_* members to f*).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19972 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d0164ea34ac98a3250f90f2f6ab5535ed776ab1f 20-Jun-2005 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Small style changes, just to improve my commit stats :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13214 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ac3bb782a80c2fef2497d93cb46d28a4a3a87850 04-Jul-2003 shadow303 <shadow303@nowhere.fake>

gcc 3 fix


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3846 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d4125b748718e05bede5d88c41b09597b4babce 22-Jan-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

this should be the definitive (excluded bugfixes) implementation of BBufferIO. Buffered write should work fine, as buffered read did.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2530 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51ee67dc8fb3503049d8a08c962a2992d01c7461 16-Jan-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed an obvious bug, simplified a bit the code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2470 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 089f7debba6777663fe412b85bc0731e3fce60a3 16-Jan-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Implemented buffered read in BBufferIO class, and added it to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2469 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a42a3ab57fa268ac3e9847335baeb593822b6902 28-Nov-2002 Stefano Ceccherini <stefano.ceccherini@gmail.com>

A skeleton for the BBufferIO class.
(Since we have a header, I think we should also have an implementation...
;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2100 a95241bf-73f2-0310-859d-f6bbb57e9c96