History log of /haiku/src/kits/network/libnetapi/DynamicBuffer.cpp
Revision Date Author Comments
# 25d34313 02-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

DynamicBuffer::Read(): Small optimization (skip 0 case)


# 6926863e 02-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

DynamicBuffer::Write(): Fix return type and semantics


# 739f15e1 02-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

Revert "Revert "DynamicBuffer: implement BDataIO""

This reverts commit 747b401e875f19d83508cc39176f4c263182c515.


# 747b401e 18-Jun-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

Revert "DynamicBuffer: implement BDataIO"

This reverts commit 36b1f55a1841d63f0e6487e2c62c280cb24a63c4.


# a05da9f4 18-Jun-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

Revert "...and also fix a mismatched prototype"

This reverts commit 6555120f3b0dbc783ff5cc22a4ff0ceade53a2d8.


# 194ce33d 07-May-2014 Jessica Hamilton <jessica.l.hamilton@gmail.com>

DynamicBuffer: remove unneeded size check. CID 604168.


# 6555120f 11-Feb-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

...and also fix a mismatched prototype

gcc2 doesn't seem to notice.


# 36b1f55a 11-Feb-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

DynamicBuffer: implement BDataIO

This makes it possible to use it with the ZlibDecompressor.


# 754bbf48 26-Nov-2013 Jérôme Duval <jerome.duval@gmail.com>

libnetapi: second pass of style cleanup

* remarks from Axel


# 852b0119 09-Jul-2010 Rene Gollent <anevilyak@gmail.com>

Fix missing space.
Fix file being in CR/LF format.



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


# b37fa18b 08-Jul-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed Size() and BytesRemaining() semantics, which was broken.
Revert r33437, which was missing the root cause.
Spotted by Christophe Huriaux, thanks.
And welcome in contributors list!


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


# ef93221d 24-Jan-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Now NetBuffer and DynamicBuffer agree and the smallest buffer size posible.
- This means that buffers with a initial size of 0 work now.



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


# 31562415 17-Jan-2009 Karsten Heimrich <host.haiku@gmx.de>

* fix gcc4 build



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


# a12096e5 17-Jan-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Got it to actually compile.
- Default buffer size is now set to 1 instead of 0, which would cause the
construction without a given size to fail.
- Added copy constructor.
- Changed _GrowToFit() to have a boolean parameter to indicate if we want
to resize the buffer to an exact size. Used by the copy constructor.



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


# b93465f1 17-Jan-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Ops... Missed some.



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


# c98ce75f 17-Jan-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Fixed style violations pointed by stippi.
- Use std:nothrow for new calls.



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


# 550d2417 17-Jan-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Simple dynamic buffer class implementation.
- Will be used by the new (R5 compatible) NetBuffer class.



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


# 25d34313d0c467b45748a535c888aa54ff864aa7 02-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

DynamicBuffer::Read(): Small optimization (skip 0 case)


# 6926863e37809cef86079d7003dc69dba39ffa93 02-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

DynamicBuffer::Write(): Fix return type and semantics


# 739f15e1445aa59cc010bd8f343c5c6595836a0e 02-Jul-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

Revert "Revert "DynamicBuffer: implement BDataIO""

This reverts commit 747b401e875f19d83508cc39176f4c263182c515.


# 747b401e875f19d83508cc39176f4c263182c515 18-Jun-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

Revert "DynamicBuffer: implement BDataIO"

This reverts commit 36b1f55a1841d63f0e6487e2c62c280cb24a63c4.


# a05da9f4b2c6548ad36e0ad711dae672affbbf27 18-Jun-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

Revert "...and also fix a mismatched prototype"

This reverts commit 6555120f3b0dbc783ff5cc22a4ff0ceade53a2d8.


# 194ce33d652a974f4365befc7f48c45e25494e8b 07-May-2014 Jessica Hamilton <jessica.l.hamilton@gmail.com>

DynamicBuffer: remove unneeded size check. CID 604168.


# 6555120f3b0dbc783ff5cc22a4ff0ceade53a2d8 11-Feb-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

...and also fix a mismatched prototype

gcc2 doesn't seem to notice.


# 36b1f55a1841d63f0e6487e2c62c280cb24a63c4 11-Feb-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

DynamicBuffer: implement BDataIO

This makes it possible to use it with the ZlibDecompressor.


# 754bbf4866278ecd2da2c517560bc90c67a3a6f5 26-Nov-2013 Jérôme Duval <jerome.duval@gmail.com>

libnetapi: second pass of style cleanup

* remarks from Axel


# 852b01198c17349820ce0ae8e318e7585f4bf12e 09-Jul-2010 Rene Gollent <anevilyak@gmail.com>

Fix missing space.
Fix file being in CR/LF format.



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


# b37fa18bdb610c1ce142106448ba0b5378a446d2 08-Jul-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed Size() and BytesRemaining() semantics, which was broken.
Revert r33437, which was missing the root cause.
Spotted by Christophe Huriaux, thanks.
And welcome in contributors list!


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


# ef93221da65be3daa5dd95d1f9f29933ef764c2b 24-Jan-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Now NetBuffer and DynamicBuffer agree and the smallest buffer size posible.
- This means that buffers with a initial size of 0 work now.



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


# 31562415dea31902667019f2ca750cc5fd8e2c85 17-Jan-2009 Karsten Heimrich <host.haiku@gmx.de>

* fix gcc4 build



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


# a12096e5c750114919a92a25c89ed00ef8f77f0e 17-Jan-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Got it to actually compile.
- Default buffer size is now set to 1 instead of 0, which would cause the
construction without a given size to fail.
- Added copy constructor.
- Changed _GrowToFit() to have a boolean parameter to indicate if we want
to resize the buffer to an exact size. Used by the copy constructor.



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


# b93465f1e0c58b2e33a4c033fbb032a64d0dbb70 17-Jan-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Ops... Missed some.



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


# c98ce75f216cf225c8248d0575e24b31bfa94e11 17-Jan-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Fixed style violations pointed by stippi.
- Use std:nothrow for new calls.



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


# 550d24175fdf61ba73af4ef30c28386894deb4d0 17-Jan-2009 Bruno G. Albuquerque <bga@bug-br.org.br>

- Simple dynamic buffer class implementation.
- Will be used by the new (R5 compatible) NetBuffer class.



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