History log of /haiku-fatelf/src/kits/network/libnetapi/DynamicBuffer.cpp
Revision Date Author Comments
# 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


# 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