Commit Graph

670 Commits

Author SHA1 Message Date
Aleksandar Fabijanic
90a8e859bf - SF #3552774: Don't hide default target in subordinate makefile
- SF #3534307: Building IPv6 for Linux by default
- SF #3516844: poco missing symbols with external >=lipcre-8.13 
- fix of rev. 1952 fix (porting rev.1913 from 1.4.4 (fixed SF# 3550553))
2012-08-20 00:57:17 +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
Aleksandar Fabijanic
0ebd1454ee updated version to 1.5.2 2013-06-09 19:50:48 -05:00
Guenter Obiltschnig
83ed03d4ad WinCE fixes for zlib 1.2.8 2013-06-09 20:32:03 +02:00
Aleksandar Fabijanic
5e6ef1c14d fixed GH #99: JSON::Query an JSON::Object
- fixed GH #99: JSON::Query an JSON::Object
- swapped order of AnyCast(const Any&) and AnyCast(Any&) definitions
2013-06-07 23:15:02 -05:00
alex
83ad8b36f5 fixed GH #138: FreeBSD JSON tests fail 2013-06-02 23:36:36 -05:00
Aleksandar Fabijanic
0e6985c8a1 fixed GH #185
- fixed GH #185: Poco::NumberFormatter::format(double value, int
precision) ignore precision == 0
2013-06-04 23:01:11 -05:00
Aleksandar Fabijanic
b2d72dcacb Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2013-06-03 23:46:34 -05:00
Aleksandar Fabijanic
4826523831 fixed few GH issues
- fixed GH #209: Poco::NumberFormatter double length
- fixed GH #204: Upgrade zlib to 1.2.8
- fixed GH #198: The "application.configDir" property is not always
created.
2013-06-03 23:45:06 -05:00
Aleksandar Fabijanic
37a7c3bca7 Merge pull request #210 from ptarabbia/develop
Develop
2013-06-03 05:01:23 -07:00
Alex
418290d081 fix clang warnings 2013-06-02 23:21:46 -05:00
aleks-f
282374980c gcc alignment and warning suppression 2013-06-02 22:56:18 -05:00
Aleksandar Fabijanic
bc808cf9d4 WebNotifier example
- added WebNotifier example
- fixed/tidied up SOO alignment code
2013-05-30 23:23:37 -05:00
Aleksandar Fabijanic
e5eaffb790 removed Var iterators, fixed SOO alignment
- removed unnecessary using directives in Data library
- removed iterator pointers from Var (reduce size, always return copy)
- added Alignment header (adapted from LLVM infrastructure)
- added alignment guards to SOO implementations
2013-05-29 23:36:45 -05:00
Aleksandar Fabijanic
b9d25faef8 more clang fixes 2013-05-27 21:33:29 -05:00
Aleksandar Fabijanic
aa6e993734 clang compile 2013-05-27 21:33:28 -05:00
Aleksandar Fabijanic
38131d452d Var/JSON changes
- JSON support for Dynamic Struct and Array
- added VarIterator
- modified behavior of empty Var
2013-05-27 21:33:27 -05:00
Guenter Obiltschnig
ab85e7077f fixed GH# 189: Poco::NumberParser::tryParse() documentation bug 2013-05-24 20:21:54 +02:00
Will Newton
37899eda95 Foundation/include/Poco/Platform.h: Add support for AArch64.
Add support for big and little endian AArch64 preprocessor defines.
2013-05-21 22:11:05 +01:00
Aleksandar Fabijanic
41a07c15bf JSON fixes/refactoring 2013-05-20 23:36:58 -05:00
Mike Naquin
44ba01648d Add operators to Timestamp for Timespan.
Timestamp  operator +  (const Timespan& span) const;
Timestamp  operator -  (const Timespan& span) const;
Timestamp& operator += (const Timespan& span);
Timestamp& operator -= (const Timespan& span);
2013-05-06 15:29:52 -05:00
Aleksandar Fabijanic
662050937e porting rev.1912 from 1.4.4 (fixed SF# 3552597) 2012-08-18 02:19:34 +00:00
Marian Krivos
871cdaff44 zlib updated to the version 1.2.7 2012-08-07 20:42:25 +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
b2b18b07a5 Mac fixes for UnicodeConverter 2012-08-02 05:07:36 +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
672d4758c3 - ifdef'd IPv6 tests
- fixed const-ness of stream() member functions to MemoryReader/Writer
2012-07-31 04:25:32 +00:00
Aleksandar Fabijanic
219a945cc9 - added IPaddress::prefixLength
- return MemoryStreams from MemoryWriters
2012-07-30 04:22:25 +00:00
Aleksandar Fabijanic
0466c67ff2 BinaryReader/Writer wrappers for Buffer and MemoryStream 2012-07-23 00:39:09 +00:00
Aleksandar Fabijanic
c48b06221a SF 3538786: Use size_t for describing data-blocks in DigestEngine 2012-07-20 02:48:41 +00:00
Aleksandar Fabijanic
9bdc08c9f0 - added POCO_ENABLE_CPP11 config define (default for VS >= 2010)
- added _WIN32_WINNT value detection up to Windows 7
- modified Util::Units to compile with VS 2010 (static_assert is standard in C++11)
2012-06-27 02:34:23 +00:00
Marian Krivos
de7e76bdb0 UTF32Encoding doc fix 2012-06-21 16:28:58 +00:00
Marian Krivos
6ebb20ca4c class UTF32Encoding added 2012-06-21 16:19:19 +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
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
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
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
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
Marian Krivos
b0629106ca Mutex documentation 2012-04-29 10:38:19 +00:00
Marian Krivos
33f1c102e3 added template <typename T, int i> struct IsConst<const T[i]> 2012-04-29 10:37:54 +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
Marian Krivos
9690a4b50f added StringTokenizer::find() 2012-04-28 09:53:56 +00:00
Marian Krivos
a4931bb9af added DigestEngine::digestFromHex(const std::string& digest) method 2012-04-28 09:32:25 +00:00
Marian Krivos
bd59670069 backport bool support to the NumberParser/NumberFormatter 2012-04-28 09:30:38 +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
afc81ef12d SF 3521347 2012-04-25 23:50:46 +00:00
Aleksandar Fabijanic
886af0816a FIFOBuffer implementation and tests 2012-04-25 04:43:01 +00:00
Marian Krivos
8c53f354e5 added PDF module to gmake
revision bump to 1.5.0
2012-04-23 10:51:39 +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
7c3339c549 trunk: TextEncoding fixes 2012-02-09 15:15:39 +00:00
Marian Krivos
7d7c02c579 trunk: backport eventing from 1.4.3 2012-02-05 12:16:58 +00:00
Marian Krivos
8b70c37260 trunk: sync from 1.4.3
make & cmake fixes
2012-02-04 17:03:09 +00:00
Marian Krivos
6268aa3865 backport changes from 1.4.3 branch 2012-01-07 11:06:14 +00:00
Marian Krivos
97ec3f5bf6 backport SharedLibrary changes from 1.4.2-p1 2011-11-04 18:56:08 +00:00
Marian Krivos
5084562770 feature request #3432362 (native AtomicCounter for GCC) 2011-11-04 12:52:31 +00:00
Marian Krivos
eb266f8a57 Set cmake produced shared libraries numbering to standard scheme (trunk = 12)
Sync latest Foundation changes from 1.4.2
2011-09-15 08:31:51 +00:00
Marian Krivos
686e77232f trunk/branch integration: compile fix 2011-08-23 13:26:27 +00:00
Marian Krivos
5950201733 trunk/branch integration: compile fix 2011-08-23 13:06:32 +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
e0b35c7ef5 trunk/branch integration: source indentation 2011-08-23 07:12:30 +00:00
Marian Krivos
ccbcadd4ab trunk/branch integration: VxWorks & Wince 2011-08-23 07:11:45 +00:00
Marian Krivos
73d3dceb86 trunk/branch integration: documentation 2011-08-23 07:11:28 +00:00
Marian Krivos
0aab0d41d9 trunk/branch integration: source indentation 2011-08-23 07:01:52 +00:00
Marian Krivos
308170b4cb trunk/branch integration: documentation 2011-08-23 07:01:17 +00:00
Marian Krivos
eefd04cc75 trunk/branch integration: RegularExpression enum fix RE_EXTENDED 2011-08-23 07:00:28 +00:00
Marian Krivos
8f487c6e83 trunk/branch integration: VxWorks & Wince 2011-08-23 06:59:23 +00:00
Marian Krivos
ddf9f8e7fd trunk/branch integration: new PatternFormatter prefix 2011-08-23 06:58:26 +00:00
Marian Krivos
6b42ce0d0a trunk/branch integration: Path::popFrontDirectory() 2011-08-23 06:57:33 +00:00
Marian Krivos
76f70d9358 trunk/branch integration: documentation 2011-08-23 06:56:54 +00:00
Marian Krivos
05041e2689 trunk/branch integration: Event & Mutex 2011-08-23 06:55:12 +00:00
Marian Krivos
9110aafc25 trunk/branch integration: documentation 2011-08-23 06:53:27 +00:00
Marian Krivos
e729c102b0 trunk/branch integration: documentation 2011-08-23 06:52:06 +00:00
Marian Krivos
1e58e9e2a0 trunk/branch integration: documentation 2011-08-23 06:51:23 +00:00
Marian Krivos
5197acba9e trunk/branch integration: optimalization 2011-08-23 06:48:29 +00:00
Marian Krivos
4cea48e712 trunk/branch integration: documentation 2011-08-23 06:47:06 +00:00
Marian Krivos
b318ae67d6 trunk/branch integration: documentation 2011-08-23 06:45:37 +00:00
Marian Krivos
d54be1606b trunk/branch integration: fix 2011-08-23 06:45:10 +00:00
Marian Krivos
2b5ba226be trunk/branch integration: source indentation 2011-08-23 06:44:32 +00:00
Marian Krivos
39af0d09f8 trunk/branch integration: VxWorks & Wince 2011-08-23 06:43:49 +00:00
Marian Krivos
2f88a6f971 trunk/branch integration: documentation 2011-08-23 06:41:50 +00:00
Marian Krivos
b8f2fe9efe trunk/branch integration: DateTimeFormatter %s 2011-08-23 06:41:06 +00:00
Marian Krivos
a3b91b8571 trunk/branch integration: documentation 2011-08-23 06:39:42 +00:00
Marian Krivos
22575c3a90 trunk/branch integration: optimalization 2011-08-23 06:38:04 +00:00
Marian Krivos
a74e3c6be7 trunk/branch integration: bugfix 2011-08-23 06:37:32 +00:00
Marian Krivos
ab4ddb75d5 trunk/branch integration: typo 2011-08-23 06:37:12 +00:00
Marian Krivos
275013ed5e trunk/branch integration: observer::disable() 2011-08-23 06:36:05 +00:00
Marian Krivos
d652a7b2fa trunk/branch integration: new files 2011-08-22 19:56:17 +00:00
Marian Krivos
09e2bc4e9c trunk/branch integration: source indentation 2011-08-22 18:33:48 +00:00
Marian Krivos
b554e38b37 trunk/branch integration: update to ScopedLockWithUnlock 2011-08-22 18:33:08 +00:00
Marian Krivos
f30a8dfd95 trunk/branch integration: fix signature 2011-08-22 18:32:33 +00:00
Marian Krivos
eaaaa54a40 trunk/branch integration: source indentation 2011-08-22 18:31:43 +00:00
Marian Krivos
ba5fe67963 trunk/branch integration: using Poco::Ascii 2011-08-22 18:27:20 +00:00
Marian Krivos
cf8a7c0618 trunk/branch integration: source indentation 2011-08-22 18:26:20 +00:00
Marian Krivos
d35ecf85a2 trunk/branch integration: TextEncoding update 2011-08-22 18:21:40 +00:00
Marian Krivos
319a37b903 trunk/branch integration: documentation 2011-08-22 18:19:42 +00:00
Marian Krivos
cbb5bec729 trunk/branch integration: LocalDateTime 2011-08-22 18:18:14 +00:00
Marian Krivos
072d98fee4 trunk/branch integration: hash buckets 2011-08-22 18:17:23 +00:00
Marian Krivos
59d2f5af8b trunk/branch integration: fix warning 2011-08-22 18:16:21 +00:00
Marian Krivos
d22a493810 trunk/branch integration: VxWorks & Wince 2011-08-22 18:15:49 +00:00
Marian Krivos
9e092a46fa trunk/branch integration: documentation 2011-08-22 18:13:14 +00:00
Marian Krivos
dc7d9a88b3 trunk/branch integration: isNil() / isNull() / tryParse() 2011-08-22 18:08:59 +00:00
Marian Krivos
663a5ecc96 trunk/branch integration: fix CLANG 2011-08-22 18:07:31 +00:00
Marian Krivos
ba0c9e4919 trunk/branch integration: VxWorks & Wince 2011-08-22 18:06:53 +00:00
Marian Krivos
28c92f869f trunk/branch integration: documentation 2011-08-22 18:05:14 +00:00
Marian Krivos
68306c2960 trunk/branch integration: VxWorks & Wince 2011-08-22 18:02:56 +00:00
Marian Krivos
f66cd72471 trunk/branch integration: documentation 2011-08-22 17:58:47 +00:00
Marian Krivos
06dad528cf trunk/branch integration: documentation 2011-08-22 17:57:35 +00:00
Marian Krivos
aa5edec47a trunk/branch integration: fix warning 2011-08-22 17:55:37 +00:00
Marian Krivos
9cdac43cca trunk/branch integration: documentation 2011-08-22 17:55:08 +00:00
Marian Krivos
e7f1180081 trunk/branch integration: VxWorks 2011-08-22 17:54:33 +00:00
Marian Krivos
6cebba23c3 trunk/branch integration: SharedPtr to AtomicCounter 2011-08-22 17:52:54 +00:00
Marian Krivos
f215fb195a trunk/branch integration: ScopedLockWithUnlock 2011-08-22 17:52:08 +00:00
Marian Krivos
5f83e82485 trunk/branch integration: documentation 2011-08-22 17:51:24 +00:00
Marian Krivos
f2b409b16c trunk/branch integration: VxWorks 2011-08-22 17:50:56 +00:00
Marian Krivos
f252f79920 trunk/branch integration: RefCountedObject to AtomicCounter 2011-08-22 17:49:06 +00:00
Marian Krivos
190dfbfde4 trunk/branch integration: ScoppedRWLock 2011-08-22 17:44:34 +00:00
Marian Krivos
e4cfab03de trunk/branch integration: Process::terminationEvent() 2011-08-22 17:42:07 +00:00
Marian Krivos
ed692127b8 trunk/branch integration: fix warning 2011-08-22 17:37:58 +00:00
Marian Krivos
2606d77c18 trunk/branch integration: VxWorks & Wince 2011-08-22 17:36:56 +00:00
Marian Krivos
17d3698815 trunk/branch integration: Message source 2011-08-22 17:10:16 +00:00
Marian Krivos
47f0c97f8e trunk/branch integration: Logger() 2011-08-22 17:08:27 +00:00
Marian Krivos
67e32de62d trunk/branch integration: FileStream::close() 2011-08-22 17:03:27 +00:00
Marian Krivos
068c3241c6 trunk/branch integration: VxWorks & Wince 2011-08-22 17:02:25 +00:00
Marian Krivos
26eb400a2a trunk/branch integration: documentation 2011-08-22 17:01:55 +00:00
Marian Krivos
fb0fabd43c trunk/branch integration: Enviroment::libraryVersion() 2011-08-22 16:53:33 +00:00
Marian Krivos
c1ad08417c trunk/branch integration: DateTime ISO8601_FRAC_FORMAT 2011-08-22 16:46:01 +00:00
Marian Krivos
f6e87b6f2e trunk/branch integration: Config.h 2011-08-22 16:44:15 +00:00
Marian Krivos
57aee193d1 trunk/branch integration: fix include 2011-08-22 16:40:59 +00:00
Marian Krivos
ec76633667 trunk/branch integration: AsyncChannel locking fix 2011-08-22 16:36:13 +00:00
Marian Krivos
3b72c5d52e trunk/branch integration: Timer::skipped() 2011-08-22 16:30:47 +00:00
Marian Krivos
db37466bcb trunk/branch integration: Exception update 2011-08-22 16:21:56 +00:00
Marian Krivos
c8321f8857 trunk/branch integration: adding new files 2011-08-22 16:17:57 +00:00
Marian Krivos
25eaadca7b trunk/branch integration: adding new files 2011-08-22 16:16:29 +00:00
Marian Krivos
1a14a27104 SF# 3178098 2011-08-18 16:56:45 +00:00
Marian Krivos
3b38af0942 added support for Latin2, Windows1250 and Windows1251 2011-05-08 12:40:36 +00:00
Sergey N. Yatskevich
bf87d53ac7 - remove kqueue support from Socket::select and SocketImpl::poll.
This code does not work well, I am sorry.
2010-04-01 11:30:30 +00:00
Sergey N. Yatskevich
acba77b3ce Add support of epoll and kqueue into Socket::select and SocketImpl::poll 2010-03-31 10:47:46 +00:00
Guenter Obiltschnig
417c2344cb fixed wrong license text 2009-10-17 06:06:50 +00:00
Guenter Obiltschnig
9464ca7b24 fixed SF# 2841812: Posix ThreadImpl::sleepImpl throws exceptions on EINTR 2009-08-25 06:49:47 +00:00
Guenter Obiltschnig
206d7814c6 fixed an issue with gcc and new Hash.h 2009-06-17 13:38:03 +00:00
Guenter Obiltschnig
09323fe120 fixed SF# 2791934 2009-06-17 12:24:31 +00:00
Guenter Obiltschnig
9dcc22722d fixed SF# 2807639 2009-06-17 11:59:21 +00:00
Guenter Obiltschnig
164623ed74 SF patch# 2502235 2009-06-17 09:30:13 +00:00
Guenter Obiltschnig
265d639aa1 patch 2526407 2009-06-17 09:12:38 +00:00
Guenter Obiltschnig
23ea66bb12 fixed SF# 2782709 2009-06-17 09:08:34 +00:00
Guenter Obiltschnig
37713c2ddc fixed SF# 2804546 2009-06-17 08:48:49 +00:00
Guenter Obiltschnig
81918bf522 added POCO_VERSION macro to Poco/Foundation.h, fixed SF# 2807527 2009-06-17 06:42:38 +00:00
Aleksandar Fabijanic
29bd22fe69 [SF 2804457] DateTime::checkLimit looks wrong 2009-06-15 22:23:41 +00:00
Guenter Obiltschnig
60fc5b6e28 added Environment::processorCount() 2009-06-01 08:50:54 +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
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
764bbf2e1d [SF 2700566] std::cout and std::cerr debug macros 2009-03-21 20:26:07 +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
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
3878959ac0 moved POCO_HAVE_FD_POLL from Net to Foundation 2009-03-11 01:10:57 +00:00
Guenter Obiltschnig
4ca6562afb added %F (microseconds) support to DateTimeFormatter/PatternFormatter/DateTimeParser 2009-03-06 07:15:23 +00:00
Marian Krivos
b99f4b6d1f OpenSolaris + SunPro C++ compile fix 2009-02-24 22:00:36 +00:00
Guenter Obiltschnig
fa1658b23a integrated improvements from 1.3.4 (NumberFormatter::append(), DateTimeFormatter::append() 2009-02-21 10:59:58 +00:00
Guenter Obiltschnig
64a7203a0d integrated fixed from 1.3.4 2009-02-18 13:12:25 +00:00
Peter Schojer
ad543acb58 fixing NullEvent usage 2009-02-05 09:23:17 +00:00
Guenter Obiltschnig
37dc590bdf performance improvements to DateTimeParser and HTTP server 2009-02-01 20:27:19 +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
ea664cfee6 [SF 2492462] Dynamic/Struct.h : Compilation Error with mingw 2009-01-13 14:00:44 +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
Aleksandar Fabijanic
ab0684a1cd poll() support (tested on Solaris and Linux)
array delete policy for SharedPtr
2008-12-03 20:38:53 +00:00
Aleksandar Fabijanic
c617bbe551 changed Struct<int> operator[] index to int 2008-11-30 04:06:10 +00:00
Aleksandar Fabijanic
905534af1c SF [2360817] Build failure in Var.cpp 2008-11-30 03:54:11 +00:00
Peter Schojer
69ee9eee82 added update test 2008-11-27 10:11:40 +00:00
Peter Schojer
41b157725b added update message to caching 2008-11-27 08:36:36 +00:00
Aleksandar Fabijanic
d43f4d6164 DynamicStruct keyed by integer 2008-11-24 12:36:15 +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
Aleksandar Fabijanic
fa02d5aa5b Exception/ODBCException modifications to safely (SQLite ODBC tests were failing) propagate ODBC error messages up the hierarchy
SharedPtr/AutoPtr TypeHandler tests
FreeTDS SQLServer tests changes from 1.3.3
Windows build scripts fixes from 1.3.3
2008-10-07 18:58:47 +00:00
Aleksandar Fabijanic
219df2e999 changed get(const std::string&) return value to const DynamicAny (to prevent assignment) 2008-10-06 11:07:26 +00:00
Peter Schojer
b5c357599c extended caching framework with configurable thread safeness 2008-09-30 06:49:22 +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
Aleksandar Fabijanic
34ae16b89a SF [2062835] Logfile _creationDate is wrong; 2008-09-23 18:00:11 +00:00
Guenter Obiltschnig
8110a3f841 added release policy to SharedPtr 2008-09-19 17:18:01 +00:00
Guenter Obiltschnig
2908c0a2ad added some const's back to DynamicAny 2008-09-19 10:55:33 +00:00
Guenter Obiltschnig
5ae8225ece added Environment::nodeId() 2008-09-18 15:49:05 +00:00
Guenter Obiltschnig
b5b35cb173 fixed log rotation issue 2008-09-18 14:18:44 +00:00
Guenter Obiltschnig
ec1997c2e5 upgraded to PCRE 7.8 2008-09-18 11:08:06 +00:00
Guenter Obiltschnig
d3eb9ee376 workaround for SF# 1959059: Poco::SignalHandler deadlock: the SignalHandler can now be disabled globally by adding a #define POCO_NO_SIGNAL_HANDLER to Poco/Config.h 2008-09-17 19:31:19 +00:00
Guenter Obiltschnig
c83f8e2434 fixed SF# 1896482: tryReadLock intermittent error 2008-09-17 19:13:50 +00:00
Guenter Obiltschnig
e8b0025a5d fixed SF# 1916761: Bug in Stopwatch? 2008-09-17 04:27:49 +00:00
Guenter Obiltschnig
721e4429ad fixed SF# 1963214: Typo in documentation for NumberParser::parseFloat 2008-09-16 20:25:24 +00:00
Guenter Obiltschnig
3bc63ca732 - fixed SF# 1916763: Bug in Activity? 2008-09-16 19:47:36 +00:00
Guenter Obiltschnig
57762a2cfc fixed various bugs (see SF tracker) 2008-09-16 17:26:28 +00:00
Shan Jiang
ab06f0a999 [trunk] Add Poco::Array utility class and test cases.
* add Array.h to Poco::Foundation.
  * add ArrayTest to testsuite. 
  * update build solution/makefile.
2008-09-06 04:11:11 +00:00
Aleksandar Fabijanic
d6b81dca0f logical operators 2008-08-12 10:09:03 +00:00
Aleksandar Fabijanic
9998706b7e SF [2036460] UUID regression tests are failing on Linux with g++ 4.3.1 2008-08-04 20:19:32 +00:00
Aleksandar Fabijanic
fc5a503593 Changes related to following tracker items:
[2025916] ODBC binds empty string as null?
[2000408] DynamicAny non-initialized state support
[1981130] pointless comparison of unsigned integer with zero

and some refactoring.

Warning: only tested on Windows.
2008-07-29 20:11:38 +00:00
Aleksandar Fabijanic
3b579d9235 RotateAtTimeStrategy::mustRotate argument default to zero (argument not used anyway, class is handy elsewhere) 2008-07-07 19:08:54 +00:00
Aleksandar Fabijanic
512d7451ad SF [2007476] Add two missing official Debian architectures to POCO 2008-07-03 14:09:10 +00:00
Aleksandar Fabijanic
b1f895eed8 DynamicAny improvements (now holds any type out-of-the-box), some refactoring and documentation improvements 2008-06-30 00:26:54 +00:00
Aleksandar Fabijanic
cfbe8fd28a SF [2000408] DynamicAny non-initialized state support (more changes/fixes) 2008-06-23 21:48:23 +00:00
Aleksandar Fabijanic
b044856f46 DynamicAny non-initialized state capability
made DynamicAnyHolder::create() and is...() pure virtual functions virtual
(simplifies DynamicAnyHolderImpl implementation)
made DynamicAnyHolder default constructor protected
made DynamicAnyHolderImpl default constructor private
added DynamicAnyTest::testEmpty()
2008-06-23 02:15:22 +00:00
Chris Johnson
e8111249e5 -Fix bug [ 1985839 ] strip TARGET* in make all
-Tweak MinGW configuration file
-Modified Tuple.h for sane behavior with MinGW
-Modified UtilTestSuite.cpp for conditional use of MFC based on availability of library; otherwise use console
2008-06-06 04:38:13 +00:00
Aleksandar Fabijanic
cb234f14ac Fedora Core9/g++ 4.3.0 compilations fixes 2008-06-03 20:51:10 +00:00
Aleksandar Fabijanic
a90b28b4d3 [1982878] Can't set log files purging to none 2008-06-03 01:38:57 +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
Aleksandar Fabijanic
ded102a6a4 fix for SF [1980478] FileChannel loses messages with "archive"="timestamp" 2008-05-31 13:41:24 +00:00
Aleksandar Fabijanic
532672c027 SF 1969276 DynamicAny("") should be false; added operator! 2008-05-22 01:29:32 +00:00
Aleksandar Fabijanic
0fe95a31c4 more optimization 2008-05-14 23:51:10 +00:00
Peter Schojer
4e730ecc7e Fixed constness detection of const char[] arrays 2008-05-14 06:00:40 +00:00
Aleksandar Fabijanic
96c57718c4 casts inlining and some code tidy-up 2008-05-13 23:26:35 +00:00
Aleksandar Fabijanic
e933e93b50 DynamicAny::extract performance optimization 2008-05-13 01:41:27 +00:00
Aleksandar Fabijanic
9661e08347 template parameter shadowing fix 2008-05-10 23:58:51 +00:00
Guenter Obiltschnig
6e7fdfa9fb applied a SharedPtr fix from Chris Jones 2008-05-08 06:50:08 +00:00
Guenter Obiltschnig
c3d621c6fc SharedPtr modification from Chris Jones (additional RC template arg that defaults to ReferenceCounter, thus fully backwards compatible) 2008-05-07 16:33:25 +00:00
Aleksandar Fabijanic
e1c7bc55dd SF items 1951604 and 1953551
[1951604] POCO refuses to compile with g++ 4.3.0
[1953551] Solaris Sun Studio 12 Apache stdcxx 64 bit

Warning: compile with target platforms not done yet!
2008-04-28 21:52:10 +00:00
Aleksandar Fabijanic
2a93c3e84f some cosmetic changes 2008-04-24 10:06:35 +00:00
Aleksandar Fabijanic
621c98d358 added stack size argument to ThreadPool constructor 2008-04-21 23:29:13 +00:00
Aleksandar Fabijanic
9fd70bade2 - POCO_THREAD_STACK_SIZE macro
- few Thread modifications
- ThreadPool configurable stack size
2008-04-20 23:28:41 +00:00
Aleksandar Fabijanic
32c8d371e9 Thread OS priority 2008-04-15 23:25:19 +00:00
Aleksandar Fabijanic
1867398d32 removed Mutex from Win32, split POSIX entry() function into two 2008-04-11 10:15:43 +00:00
Aleksandar Fabijanic
01613f5cf6 serialized access to startImpl() functions 2008-04-11 09:27:41 +00:00
Aleksandar Fabijanic
89ca50a581 SF 1939071 and 1928786 2008-04-11 01:37:49 +00:00
Aleksandar Fabijanic
e41a7aef2e moved IO (sync and async) from Foundation and Net to IO, IO::Serial and IO::Socket;
only MS VS80 and Unix Makefiles are up to date with this modification
2008-03-22 21:28:05 +00:00
Aleksandar Fabijanic
4ffed92894 some MSVC Level 4 warning fixes 2008-03-17 14:27:29 +00:00
Aleksandar Fabijanic
0c65fa6295 - IOChannel, IOChannelConfig, ActiveIOChannel
- ActiveMethod::operator () default argument value (convenient for arguments of Poco::Void type)
2008-03-01 14:50:43 +00:00
Guenter Obiltschnig
e4d9b3b40f fixed line endings 2008-02-07 16:08:15 +00:00
Aleksandar Fabijanic
be815af919 DynamicAny:operator [] fix (did not compile w/ VS 2003) 2008-02-02 21:55:14 +00:00
Guenter Obiltschnig
533f42bfce fixed SF# 1883871: TypeList operator < fails for tuples with duplicate values 2008-02-01 14:49:18 +00:00
Guenter Obiltschnig
b526dd81f2 changes from main repository 2008-01-29 09:06:52 +00:00
Aleksandar Fabijanic
ab8d8e38e3 added declarations for isHiddenImpl() 2008-01-28 22:32:37 +00:00
Guenter Obiltschnig
da49971d0f synced with main repository 2008-01-28 17:23:19 +00:00
Eran Hammer-Lahav
1f47c0df2f Feature Request #1873924
Add code (int) to Poco::Exception with default value zero. When throwing exceptions, applications can currently set a custom message. This will add the ability to set a custom code as well, that is specific to the application. This change implements codes for Poco::SocketImpl via the error() method to allow handling of different socket errors based on their actual type (without having to compare their message text).
2008-01-17 19:07:35 +00:00
Aleksandar Fabijanic
4d0817e8f9 format() bool support 2008-01-15 02:44:47 +00:00
David Shawley
fbb1c1fd44 * include/Poco/Tuple.h
- Named the inner enumerations to fix SF issue#1834127
* include/Poco/RunnableAdapter.h
  - Added missing ``return *this'' to RunnableAdapter::operator=
* src/TaskManager.cpp
  - Added try-catch block in TaskManager::start to ensure that _taskList
    is properly maintained. Fix for SF issue#1829700
* testsuite/src/TaskManagerTest.cpp
* testsuite/src/TaskManagerTest.h
  - Added test cases for SF issue@1829700
2007-11-18 18:26:24 +00:00
Peter Schojer
ae34e0ff3b gcc compile fixes 2007-11-05 07:34:09 +00:00
Peter Schojer
d248862406 fixed include 2007-10-31 07:16:11 +00:00
Peter Schojer
bd2a18d7a8 beautify 2007-10-30 07:23:18 +00:00
Peter Schojer
0a2cae61ff changed getExpiration to getTimeout for Accesscaches 2007-10-30 07:22:47 +00:00
Peter Schojer
4d71a6e1d5 Added UniqueAccess caches 2007-10-29 14:36:40 +00:00
Peter Schojer
9381a34928 made UniqueExpireStrategies member protected 2007-10-29 07:15:24 +00:00
Peter Schojer
1e10c31a18 Updated docu for ExpireCache 2007-10-29 07:14:12 +00:00
Peter Schojer
6eacc0ec0f Added cache classes 2007-10-29 07:11:23 +00:00
Aleksandar Fabijanic
65587e39a3 operators <, <=, >, >= 2007-10-21 23:46:14 +00:00
David Shawley
01d998dcc2 * Foundation/include/Poco/LocalDateTime.h
* Foundation/src/LocalDateTime.cpp
  - Fixed Sourceforge tracker 1800031.
    The time zone differential was not being maintained in many places.
    There are some minor functionality changes with this changeset however.
    * Assignment methods which do not take the full time information or a
      tzd as parameters will adjust the time stamp for DST according to
      the time specified. The only methods that do not fall under this
      constraint are:
      - constructors or assigns which accept year, month, day, etc.
      - constructors or assigns which accept a tzd
    * operators += and -= correctly adjust for DST boundary crossings.
    * operators + and - will return a LocalDateTime instance that has
      been adjust for DST boundary crossings.
* Foundation/testsuite/src/LocalDateTimeTest.h
* Foundation/testsuite/src/LocalDateTimeTest.cpp
  - Added testTimezone method.
  - Removed an assertion in testGregorian1() that would fail when the
    current DST offset differed from that of 1970-1-1.
2007-10-01 03:09:05 +00:00
Aleksandar Fabijanic
6e380b6b13 Various feature additions and fixes:
- asynchronous execution for Data::Statement
- ActiveMethod copy and assignment
- added Data components to $POCO_BASE/components
- SQLite 64-bit integer default
- SessionPool timer seconds to milliseconds
- ODBC fix for subsequent calls to execute()
- std::deque (instead of std::vector) as default container
2007-09-29 18:40:43 +00:00
Aleksandar Fabijanic
f7a8963ad7 POD operator overloads instead of templates 2007-09-25 02:33:04 +00:00
Aleksandar Fabijanic
8bb74a06a4 == and != overloads for POD 2007-09-24 22:33:37 +00:00
Aleksandar Fabijanic
8f01713202 Removed TYPELIST_... macros 2007-09-12 22:57:00 +00:00
Aleksandar Fabijanic
dd81a7ecf0 More operators and some code fixes 2007-09-12 22:56:20 +00:00
Aleksandar Fabijanic
009db61570 ++ and -- operators for DynamicAny 2007-09-06 11:16:27 +00:00
Aleksandar Fabijanic
a86dc7a393 2007-09-06 02:48:02 +00:00
Aleksandar Fabijanic
d9c5b827a5 Arithmetic operators for DynamicAny 2007-09-05 23:38:12 +00:00
Aleksandar Fabijanic
0a65eefd9a Eliminate some gcc warnings 2007-09-04 20:14:40 +00:00
Guenter Obiltschnig
a04bae94d7 synchronized trunk 2007-08-10 13:57:07 +00:00
Aleksandar Fabijanic
e1b2ca26c0 documentation update 2007-07-26 19:29:04 +00:00
Guenter Obiltschnig
049c3b914b added AsyncIO 2007-06-18 07:00:47 +00:00
Guenter Obiltschnig
9913f74f8d latest sources from main repository 2007-06-13 15:13:29 +00:00
Guenter Obiltschnig
cf80f255be committed 1.3 release 2007-05-07 16:46:23 +00:00
Guenter Obiltschnig
be44df77fd latest changes from main rep 2007-05-05 13:15:55 +00:00
Guenter Obiltschnig
dcabc2befc latest changes from main rep 2007-05-04 11:04:40 +00:00
Aleksandar Fabijanic
3580ad72cb few minor and cosmetic fixes 2007-05-03 02:21:21 +00:00
Guenter Obiltschnig
4e9a583cd0 integrated latest changes from main rep 2007-05-01 15:14:24 +00:00
Guenter Obiltschnig
0fc23174be integrated latest changes from main repository 2007-05-01 09:35:46 +00:00
Guenter Obiltschnig
a18bc8939f fixed a minor bug in ClassLibrary.h 2007-04-30 12:14:39 +00:00
Guenter Obiltschnig
a8990dca3f latest changes from main repository; added eclipse cdt project files 2007-04-29 14:25:52 +00:00
Guenter Obiltschnig
cf20ff1bd7 latest changes from main repository; added eclipse cdt project files 2007-04-28 12:05:15 +00:00
Guenter Obiltschnig
adfaac6703 latest changes from main repository; added eclipse cdt project files 2007-04-28 09:34:20 +00:00
Guenter Obiltschnig
4d80e24d44 latest changes from main repository 2007-04-27 13:25:16 +00:00
Aleksandar Fabijanic
3c08b668f4 NamedTuple 2007-04-27 01:38:17 +00:00
Aleksandar Fabijanic
3d15e9f2e3 undef min, max macros; string cast test commented (not compiling on gcc) 2007-04-27 01:37:32 +00:00
Aleksandar Fabijanic
671fd27d12 == operator & tests 2007-04-26 09:27:21 +00:00
Guenter Obiltschnig
4cf5e8ac12 added DynamicAny::convert<>() 2007-04-26 06:24:35 +00:00
Guenter Obiltschnig
80fc258f6d latest changes from main repository 2007-04-25 14:39:24 +00:00
Guenter Obiltschnig
ba1384e12d latest changes from main repository 2007-04-25 14:32:55 +00:00
Guenter Obiltschnig
3e46ab332b latest changes from main repository 2007-04-25 08:39:02 +00:00
Aleksandar Fabijanic
f29f7cda53 DynamicAny conversion limits 2007-04-25 01:11:49 +00:00
Guenter Obiltschnig
109a6f47bd added conversion operator to DynamicAny 2007-04-23 07:12:12 +00:00
Guenter Obiltschnig
b7a945da93 committed latest 1.3 snapshot 2007-04-18 16:22:57 +00:00
Aleksandar Fabijanic
03d0ad4d8d Few code formatting changes (tabs and newlines) 2007-02-27 14:47:37 +00:00
Guenter Obiltschnig
7639f5a3f0 sync to internal repository 2007-02-23 14:27:57 +00:00
Aleksandar Fabijanic
973e256680 MSVC 71 2007-02-21 18:37:47 +00:00
Aleksandar Fabijanic
605736b626 Increased Tuple capacity to 20 parameters; introduced TypeListType; added TypeListTest.cpp/.h 2007-02-21 00:23:09 +00:00
Guenter Obiltschnig
60d386edc9 BSD license change 2007-01-17 10:34:30 +00:00
Guenter Obiltschnig
3941965bce integrated changes from main repository 2007-01-04 08:01:43 +00:00
Guenter Obiltschnig
d9d531350d integrated changes from main repository 2006-12-27 15:16:22 +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
072ba74f28 changes for 1.2.5 2006-10-23 15:33:11 +00:00
Guenter Obiltschnig
89111b52b3 integrated changes from main repository for upcoming 1.2.5 release 2006-10-12 15:08:28 +00:00
Guenter Obiltschnig
76edf6f35c changes for 1.2.4 2006-09-29 14:39:00 +00:00
Guenter Obiltschnig
a01116ca11 integrated changes for 1.2.3 2006-09-14 16:46:36 +00:00
Guenter Obiltschnig
7dc7c657f3 fixed Config.h 2006-08-29 17:19:38 +00:00
Guenter Obiltschnig
2d4078f392 submitted 1.2.0 2006-08-29 07:10:35 +00:00
Guenter Obiltschnig
f476bd6b32 initial import 2006-07-11 16:33:40 +00:00