Commit Graph

250 Commits

Author SHA1 Message Date
aleks-f
91d5be438b replaced stream-based number formatting
embedded a portion of double-conversion library
(http://code.google.com/p/double-conversion/)and replaced stream-based
number formatting
2012-12-01 14:10:04 -06:00
aleks-f
9cd0f0b4f7 integer to string conversion
replaced sprintf-based  int-to-string functionality with built-in
intToString
2012-12-01 14:10:02 -06:00
aleks-f
08ae9aee18 Merge remote-tracking branch 'origin/Base32Encoding' into develop 2012-11-15 20:02:53 -06:00
aleks-f
a259991568 added ListMap
ListMap is a map that does not order elements; used in
NameValueCollection to prevent reordering of message headers
2012-11-15 00:16:31 -06:00
Philip Prindeville
e92baf7258 Correct alphabet; fix compilation issues on linux; add padding and make it on by default. 2012-11-13 16:02:36 -07:00
aleks-f
df8f4eb7c0 Replaced space indentations with tabs
Replaced intermittent space indentations with tabs; removed test.txt
file
2012-11-12 20:45:16 -06:00
aleks-f
9b89394b5b Base32 Encoder/Decoder
Base 32 Encoder/Decoder
2012-11-12 20:00:37 -06:00
Guenter Obiltschnig
514566ecd7 removed .vmsbuild files, which are no longer maintained 2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
45fa903880 - fixed SF# 586: Poco::DateTimeParser and ISO8601 issues when seconds fraction has more than 6 digits 2012-11-10 11:45:55 +01:00
aleks-f
67a27ac2fa StringTokenizer trailing empty tokens consistency
Modified StringTokenizer to eith include or exclude all empty tokens
(including trailing ones based on TOK_IGNORE_EMPTY option.
2012-11-07 00:30:01 -06:00
Guenter Obiltschnig
ac8c9ad1ca more fixes 2012-10-15 11:14:53 +00:00
Guenter Obiltschnig
228dacbce2 final fixes 2012-10-15 10:19:35 +00:00
Guenter Obiltschnig
b6963f0bc9 WinCE fixes 2012-10-15 09:29:26 +00:00
Guenter Obiltschnig
b90307c200 fixed vs2010 testsuite project files 2012-10-14 10:50:44 +00:00
Guenter Obiltschnig
028e1b348c fixed vs2012 project files 2012-10-14 08:44:54 +00:00
Guenter Obiltschnig
ba5fe5b4a6 set WINVER to 0x501 2012-10-14 07:33:01 +00:00
Aleksandar Fabijanic
0b6c8aa1e0 use signed char for sign; silence clang warnings 2012-10-13 05:10:49 +00:00
Aleksandar Fabijanic
4773c203a4 essage=disable char and short tests on Mac (annoying warnings) 2012-10-13 04:46:00 +00:00
Aleksandar Fabijanic
af30814d13 silence gcc warnings 2012-10-13 04:31:23 +00:00
Aleksandar Fabijanic
ada0ec20e7 extract locale dependency from numeric string parsing 2012-10-13 03:51:32 +00:00
Guenter Obiltschnig
84a71a2479 run testNumericLocale only on windows due to locale name cross platform issues 2012-10-10 15:57:15 +00:00
Franky Braem
1eade30734 Solve undefined MemoryStream 2012-10-02 18:06:30 +00:00
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