Commit Graph

227 Commits

Author SHA1 Message Date
Aleksandar Fabijanic
8a4eafd05a - strToInt benchmark and more optimization
- warnmsg macro in CppUnit
2012-10-01 00:52:53 +00:00
Aleksandar Fabijanic
bf74a4be8b FreeBSD build and threading 2012-10-01 00:31:28 +00:00
Aleksandar Fabijanic
8f747fabdc gcc/linux compile/tests 2012-09-30 13:10:51 +00:00
Aleksandar Fabijanic
f70ac1ca07 - added NumericString.h
- NumberParser improvements (internal Poco locale-awareness and parsing)
2012-09-30 05:17:56 +00:00
Aleksandar Fabijanic
991fb4a31f FreeBSD modifications 2012-09-26 02:51:43 +00:00
Aleksandar Fabijanic
e7ee78baa5 remove Var::operator const std::string & () 2012-09-25 23:50:15 +00:00
Aleksandar Fabijanic
47448c6079 VS 2012 Projects/Solutions for Foundation, CppUnit and Progen 2012-09-25 06:23:40 +00:00
Aleksandar Fabijanic
d8397b9153 - VS2012: build/tests
- JSON: style and exceptions catch by ref fix
- NumberParser: case-insensitive hex parsing
- Dynamic::Var: const std::string& cast operator specialization (coaxing std::string ctor)
- LocalDateTime: strftime fix (buffer too small for full tz string, use %Z instead of %z - makes no difference on windows but is more portable)
- small buildwin.cmd vsvars32.bat call fix
2012-09-24 03:51:40 +00:00
Aleksandar Fabijanic
fa4ca5e18e SF#579 Add EOF mark detect on reading (Note: only partially accepted, see SF tracker for details) 2012-09-23 17:45:39 +00:00
Aleksandar Fabijanic
26d488044c native MySQL, ODBC, Nullable; OSX compile, tests and fixes 2012-09-22 02:16:58 +00:00
Aleksandar Fabijanic
32c5b6b998 ODBC fixes and tests (Oracle, SQL Server, MySQL on Windows)
MySQL back-end compile fixes on Windows
Nullable/NullType
2012-09-17 00:18:13 +00:00
Aleksandar Fabijanic
c3e2e50af4 NumberParser fixes and more test 2012-09-14 04:56:20 +00:00
Aleksandar Fabijanic
e5d3d23c92 integers parsing 2012-09-13 06:06:08 +00:00
Aleksandar Fabijanic
9ad1effd8b removed redundant Poco::Data::Nullable 2012-09-12 02:10:31 +00:00
Aleksandar Fabijanic
c19c3f9411 removed old file 2012-09-10 03:43:30 +00:00
Aleksandar Fabijanic
0f8264ea55 VS 2003: Win XP/SP3 compile/tests (Foundation, Net, XML, JSON, UTIL) 2012-09-10 03:39:50 +00:00
Aleksandar Fabijanic
a221b14522 porting rev.1998 from 1.4.4 (except ODBC, which will be done later, and SQLite, which was ported in rev.1999) 2012-09-05 02:43:06 +00:00
Aleksandar Fabijanic
d384a499d5 porting 1.4.4 rev. 1989 (except for File_WIN32(U)/FileImpl::isDeviceImpl() where GENERIC_ACCESS was left due to breaking testFileAtributes3() test case) 2012-08-26 03:40:12 +00:00
Aleksandar Fabijanic
2a6d58c7f2 porting 1.4.4 rev. 1968 (fixed SF# 3559665, etc.) 2012-08-23 03:15:19 +00:00
Aleksandar Fabijanic
88134859e4 - fix of the Timer fix from rev. 1953
- improved UTFString definitions
- allow empty Glob (testMatchEmptyPattern() failing)
- fixed SF#3535990: POCO_HAVE_IPv6 without POCO_WIN32_UTF8 conflict
2012-08-18 21:09:50 +00:00
Marian Krivos
367b174d78 Poco::Logger - add formatted version of methods 2012-08-04 10:40:58 +00: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
0bcf08b3f7 Linux fixes for UnicodeConverter 2012-08-02 05:01:00 +00:00
Aleksandar Fabijanic
416cc7a630 Unicode portability improvements (only tested on Windows at this time) 2012-08-02 04:41:24 +00:00
Marian Krivos
bd401297e7 UnicodeConverter: added support for native wchar_t via UTF16 or UTF32 2012-07-31 18:37:04 +00:00
Aleksandar Fabijanic
0466c67ff2 BinaryReader/Writer wrappers for Buffer and MemoryStream 2012-07-23 00:39:09 +00:00
Aleksandar Fabijanic
acf820c46d VS 2008 project files and build fixes 2012-07-12 05:21:01 +00:00
Aleksandar Fabijanic
bf4f148782 more linux build fixes/improvements 2012-07-10 03:58:41 +00:00
Marian Krivos
114de565ff added cmake support 2012-06-26 12:37:02 +00:00
Shan Jiang
67490b5beb [trunk] Update visual studio project file (64-bit)
* Update vs2010 64-bit project file
   * Add FIFOBufferStream
   * Update Dynamic group
   * Add ArrayTest
   * Add Latin2Encoding & Windows1250Encoding etc.

* For some reason I can not load the vs2008's 64-bit solution.
2012-06-09 09:54:43 +00:00
Shan Jiang
f1abbfb94e [trunk] Update FIFOBufferStream and visual studio project file
* Fix FIFOBufferStream: The free function FIFOBuffer& FIFOBufferStreamBuf::fifoBuffer() should be declared as inline explicitly. 

* Update vs2005 and vs2008 project file (Foundation and testsuite, win32 only for now).
   * Add FIFOBufferStream
   * Update Dynamic group
   * Add ArrayTest
   * Add Latin2Encoding & Windows1250Encoding etc.

* TextConverterTest.cpp won't compile for my Japanese visual studio, cause the utf8char string literals can not be parsed. Maybe later we should load the string from file.
2012-06-09 09:12:56 +00:00
Aleksandar Fabijanic
41c84366d6 spaces to tabs 2012-06-08 03:03:14 +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
Aleksandar Fabijanic
484510dec5 support for FIFOBuffer in StreamSocket::read/writeBytes() 2012-05-19 05:16:42 +00:00
Aleksandar Fabijanic
9b952a29c7 ported 1.4.4 branch changes (needs build checks and test runs!) 2012-05-19 03:04:51 +00:00
Aleksandar Fabijanic
c1adffb39c unsigned fix 2012-05-17 02:39:35 +00:00
Aleksandar Fabijanic
8b43d003f0 NumberParser limits test 2012-05-17 02:05:44 +00:00
Marian Krivos
fa49f5b850 added basic tests for Latin2, Latin9, Windows-1250, Windows-1251, Windows-1252 2012-05-14 18:54:38 +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
Aleksandar Fabijanic
369ca9cd52 fixed SF# 3522906: Unregistering handlers from SocketReactor 2012-05-04 03:39:24 +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
Marian Krivos
c33bf13bdc fix typo 2012-04-29 11:24:44 +00:00
Marian Krivos
0ad8b3c924 formatting fix and few tests from the old trunk 2012-04-29 11:04:08 +00:00
Marian Krivos
c816693153 FileChannel: added "none" to the PURGE_AGE and PURGE_COUNT 2012-04-29 10:58:27 +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
d22ecbaa3e writEAble => writAble 2012-04-29 02:03:09 +00:00
Aleksandar Fabijanic
156a43150d fixed FIFOBuffer writable notifications and tests 2012-04-29 01:51:30 +00:00
Aleksandar Fabijanic
fae6d780b7 replaced indentation spaces with tabs 2012-04-28 19:15:17 +00:00
Franky Braem
5086b562fd Add missing functions 2012-04-28 18:59:25 +00:00
Marian Krivos
9690a4b50f added StringTokenizer::find() 2012-04-28 09:53:56 +00:00
Marian Krivos
ae48e7465a added tests for DegestStream / NumberParser / NumberFormatter 2012-04-28 09:46:01 +00:00
Aleksandar Fabijanic
b82cb14dfc Buffer and FIFOBuffer performance optimizations 2012-04-28 04:32:35 +00:00
Aleksandar Fabijanic
d7306cc7d9 FIFOBuffer events and tests 2012-04-27 04:41:50 +00:00
Aleksandar Fabijanic
15d960b057 FIFO resize bugfix and more tests 2012-04-26 00:08:53 +00:00
Aleksandar Fabijanic
886af0816a FIFOBuffer implementation and tests 2012-04-25 04:43:01 +00:00
Marian Krivos
a0daaba97e fix gmake on linux 2012-04-23 10:24:48 +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
a002f13be2 trunk: updated standard VS2010 sln to include x64 support (all in one) 2012-02-11 12:13:15 +00:00
Marian Krivos
189695f9c3 Foundation testsuite project fix 2011-09-14 13:29:50 +00:00
Marian Krivos
104ed1d446 Foundation: VS project imports 2011-09-09 18:31:32 +00:00
Marian Krivos
223e7b86aa cmake fix 2011-08-26 09:29:01 +00:00
Marian Krivos
60050ce87a trunk/branch integration: Inflating/Deflating update, test updates, NotificationCenter update 2011-08-23 09:55:09 +00:00
Marian Krivos
53eff41df8 trunk/branch integration: unit test integration 2011-08-23 09:16:33 +00:00
Marian Krivos
d21cc6edc9 SF# 3181882 2011-08-16 20:15:21 +00:00
Marian Krivos
9fdf165caa SF# 3354451 2011-08-16 18:56:34 +00:00
Marian Krivos
d3365b3df3 SF# 3288584 in trunk 2011-08-06 15:25:14 +00:00
Aleksandar Fabijanic
45122ef7e6 /dev/console is link on Solaris, removed !isLink() assert 2009-09-04 15:25:39 +00:00
Aleksandar Fabijanic
7a8f1bf483 SF [2851052] Poco::DirectoryIterator copy constructor is broken
added testCreateFile() to the test suite
2009-09-04 14:56:19 +00:00
Guenter Obiltschnig
37713c2ddc fixed SF# 2804546 2009-06-17 08:48:49 +00:00
Guenter Obiltschnig
c3f91bd012 added new PriorityNotificationQueue, TimedNotificationQueue; added File::isDevice() 2009-04-14 10:40:59 +00:00
Guenter Obiltschnig
095401e8e4 added new PriorityNotificationQueue, TimedNotificationQueue; added File::isDevice() 2009-04-14 10:38:52 +00:00
Aleksandar Fabijanic
8fe9757195 [SF 2632636] FileChannel Purge Unit Tests Broken 2009-04-02 13:10:20 +00:00
Aleksandar Fabijanic
019572be51 [SF 2715031] DynamicAny double to float conversion 2009-04-01 19:15:22 +00:00
Aleksandar Fabijanic
11dc7df7e0 [SF 2725424] TestThreadStack size fails on Solaris 2009-04-01 18:41:25 +00:00
Aleksandar Fabijanic
d77ef57588 - [SF 2513643] Seg fault in Poco::UTF8::toLower on 64-bit Linux
- removed support for 5- and 6-byte sequences
- fixed error counting in StreamConverterBuf::readFromDevice()
- added std::dec to poco_stdout_dbg and poco_stderr_dbg macros
2009-04-01 02:33:51 +00:00
Guenter Obiltschnig
21ca665427 Glob now uses UTF-8 strings and support caseless comparison 2009-03-25 13:10:40 +00:00
Marian Krivos
fd98b17390 added method & tests to the class NumberFormatter for bool values 2009-03-23 20:10:51 +00:00
Aleksandar Fabijanic
5e72766ea6 clear() and prevention of resizing for same size 2009-03-16 19:14:51 +00:00
Marian Krivos
02161a9f46 added methods parseBool() and tryParseBool() to Poco::NumberParser + test unit 2009-03-16 17:59:38 +00:00
Aleksandar Fabijanic
582d3853db added zero-size check 2009-03-16 15:17:13 +00:00
Aleksandar Fabijanic
060e32101b make Buffer copy-, assign- and resize- able 2009-03-12 22:35:21 +00:00
Guenter Obiltschnig
f67694e455 fixed SF# 2630476: Thread_POSIX::setStackSize() failure with g++ 4.3 2009-03-10 15:08:35 +00:00
Marian Krivos
ac01609444 cmake scripts for all tests 2009-02-21 20:19:53 +00:00
Aleksandar Fabijanic
c92d329399 [SF 2520679] JSON strings enclosed in single quotes
[SF 2520849] Dynamic/Pair support
2009-01-19 20:08:04 +00:00
Aleksandar Fabijanic
736cb1fcee [SF 2479446] Extend StringTokenizer interface 2008-12-31 19:31:03 +00:00
Aleksandar Fabijanic
66dc4abff0 StringTokenizer::find implementation and tests 2008-12-31 16:02:46 +00:00
Aleksandar Fabijanic
8311cd078a Dynamic::Struct construction from std::map 2008-12-23 16:08:28 +00:00
Peter Schojer
69ee9eee82 added update test 2008-11-27 10:11:40 +00:00
Aleksandar Fabijanic
d43f4d6164 DynamicStruct keyed by integer 2008-11-24 12:36:15 +00:00
Aleksandar Fabijanic
161e49a6d4 added missing VarTest files 2008-11-17 22:23:14 +00:00
Aleksandar Fabijanic
4b4ec9393c - introduced Poco::Dynamic namespace
- moved/renamed:
Poco::DynamicAny => Poco::Dynamic::Var
Poco::DynamicAny typedef for backward compatibility (deprecated)
DynamicAny.h forwarding header for backward compatibility (deprecated)

Poco::DynamicAnyHolder => Poco::Dynamic::VarHolder
DynamicAnyHolder.h forwarding header for backward compatibility (deprecated)

Poco::DynamicStruct => Poco::Dynamic::Struct
Poco::DynamicStruct typedef for backward compatibility (deprecated)
DynamicStruct.h forwarding header for backward compatibility (deprecated)

- changed FastMutex to Mutex in Data::SessionPool (deadlocking)
2008-11-16 16:54:37 +00:00
Peter Schojer
30e0ed3dd2 added DigestEngine::digestFromHex 2008-10-16 08:00:48 +00:00
Peter Schojer
358797c89e added NullMutex, extended Events so that mutex is a template param, minor performance optimzation for strategies 2008-09-30 06:26:47 +00:00
Guenter Obiltschnig
6ea765969d SharedPtr now has referenceCount() member fn 2008-09-26 13:36:51 +00:00
Guenter Obiltschnig
5ae8225ece added Environment::nodeId() 2008-09-18 15:49:05 +00:00
Guenter Obiltschnig
c83f8e2434 fixed SF# 1896482: tryReadLock intermittent error 2008-09-17 19:13:50 +00:00