Commit Graph

42 Commits

Author SHA1 Message Date
Günter Obiltschnig
2f33db9053 fix nullptr passed to memcmp/memcpy reported by ubsan 2021-06-24 07:53:22 +02:00
Günter Obiltschnig
230812093b fix nullptr passed to memcmp/memcpy reported by ubsan 2021-06-24 07:49:45 +02:00
Günter Obiltschnig
f7f51b059a fix Buffer move ctor/assignment 2020-01-23 08:14:55 +01:00
Günter Obiltschnig
1bf40a0cd2 merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8 2020-01-09 10:08:09 +01:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
5b0fa2e06a Poco::Buffer properly handles zero-sized buffers 2014-10-09 10:34:46 +02:00
Guenter Obiltschnig
67b206f663 removed unnecessary explicit in some multi-arg constructors 2014-09-10 16:44:36 +02:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718 LICENSE: add info about SPDX-License-Identifier usage and use it
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Alex Fabijanic
68044fdae0 GH #305: There are bugs in Buffer.h 2014-04-30 22:41:05 -05:00
Aleksandar Fabijanic
20e1cf8821 JSON bug fixes
GH #241: SF #620 Endless loop in JSON parser (added Buffer::setCapacity)
GH #242: SF #619 Syntax error in JSON parser (float/double trim)
2013-07-21 22:18:56 -05:00
Aleksandar Fabijanic
923eb91bb8 mainly JSON tidy-up 2013-06-15 20:28:09 -05:00
aleks-f
760fa4bbb0 see CHANGELOG
- upgraded SQLite to version 3.7.15.1 (2012-12-19)
- fixed SQLite affectedRows reporting and added tests
- added SQLite::Utility::isThreadSafe() function
- added SQLite::Utility::setThreadMode(int mode) function
- fixed GH #41: Buffer::resize crash
2012-12-23 02:36:01 -06:00
Aleksandar Fabijanic
031302469f revise ODBC Unicode string functions
http://support.microsoft.com/kb/294169
added Buffer::size/capacityBytes returning length of buffer in bytes
only windows Unicode ODBC tested
reverting the SF #506 fix (non-conforming driver, causes problems with
other ODBC drivers)
2012-12-15 13:47:22 -06:00
aleks-f
1b14088283 GH31: JSON implementation bug
fixed GH #31: JSON implementation bug
2012-12-11 20:27:47 -06:00
Aleksandar Fabijanic
5cade11ba6 - SF#3540497 HashMap iterator crash in VS 2010
- allow Buffer resize to zero
2012-08-04 03:49:51 +00:00
Aleksandar Fabijanic
69bd6f6ee9 FIFOBufferStream (g++ pacify) 2012-06-08 02:24:36 +00:00
Aleksandar Fabijanic
cfbcce0481 FIFOBuferStream and tests (Windows/VS2010 only compiled/tested) 2012-06-07 03:59:13 +00:00
Marian Krivos
11539da851 added Buffer append() 2012-05-13 17:23:57 +00:00
Marian Krivos
c41196bd5b added methods to the template Buffer class : copy ctor, ==, !=, clear, =, swap, empty 2012-05-13 17:00:42 +00:00
Marian Krivos
dd5eea6cd1 revert Buffer.h 2012-05-13 15:34:20 +00:00
Marian Krivos
5a778ca48f Backport Buffer from the old trunk 2012-05-12 21:01:05 +00:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
056cbeb744 FIFOBuffer::drain() and partial write 2012-04-29 18:09:43 +00:00
Aleksandar Fabijanic
e10566779e renamed FIFOBuffer => BasicFIFOBufer, FIFOBuffer typedef, renamed Bufer::allocated() => Buffer:capacity() to match STL convention 2012-04-29 02:37:54 +00:00
Aleksandar Fabijanic
b82cb14dfc Buffer and FIFOBuffer performance optimizations 2012-04-28 04:32:35 +00:00
Aleksandar Fabijanic
886af0816a FIFOBuffer implementation and tests 2012-04-25 04:43:01 +00:00
Aleksandar Fabijanic
d75e68c027 new trunk (base for 1.5)
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Marian Krivos
7d7c02c579 trunk: backport eventing from 1.4.3 2012-02-05 12:16:58 +00:00
Aleksandar Fabijanic
5e72766ea6 clear() and prevention of resizing for same size 2009-03-16 19:14:51 +00:00
Aleksandar Fabijanic
582d3853db added zero-size check 2009-03-16 15:17:13 +00:00
Marian Krivos
cc9187148c missing include cstring on gcc 4.3.X 2009-03-14 20:09:51 +00:00
Aleksandar Fabijanic
060e32101b make Buffer copy-, assign- and resize- able 2009-03-12 22:35:21 +00:00
Aleksandar Fabijanic
0a1c616368 SF items:
[1981125] std::swap_ranges overloading resolution failed
[1981130] pointless comparison of unsigned integer with zero
[1981139] initial value of reference to non-const must be an lvalue

Buffer test
FunctionDelegate comment spelling
2008-06-01 14:33:45 +00:00
Guenter Obiltschnig
da49971d0f synced with main repository 2008-01-28 17:23:19 +00:00
Guenter Obiltschnig
7639f5a3f0 sync to internal repository 2007-02-23 14:27:57 +00:00
Guenter Obiltschnig
bb11cbaf29 sources from main repository 2006-12-22 09:51:53 +00:00
Guenter Obiltschnig
772a1021dc sources from main repository 2006-12-22 09:31:08 +00:00
Guenter Obiltschnig
768642ae98 sources for 1.3 2006-11-17 16:21:51 +00:00
Guenter Obiltschnig
84fedbdb60 set eol-style to native 2006-10-23 15:48:43 +00:00
Guenter Obiltschnig
2d4078f392 submitted 1.2.0 2006-08-29 07:10:35 +00:00