Commit Graph

481 Commits

Author SHA1 Message Date
Aleksandar Fabijanic
e7ee78baa5 remove Var::operator const std::string & () 2012-09-25 23:50:15 +00:00
Aleksandar Fabijanic
7f02626724 FreeBSD fix for DirectoryWatcher 2012-09-25 07:28:38 +00:00
Aleksandar Fabijanic
142120ee86 FreeBSD fix for DirectoryWatcher 2012-09-25 07:22:14 +00:00
Aleksandar Fabijanic
bf4a5ee3bb SF#102 Fix building Poco on Debian GNU/kFreeBSD 2012-09-24 04:06:19 +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
d22ba992c8 align with 1.4.4 2012-09-15 15:09:27 +00:00
Aleksandar Fabijanic
e5d3d23c92 integers parsing 2012-09-13 06:06:08 +00:00
Aleksandar Fabijanic
b7957f8cd0 - cleanup config macros inconsistencies
- convert spaces to tabs
2012-09-12 00:20:07 +00:00
Marian Krivos
70dbe84a31 Latin2Encoding: source code cleanup 2012-09-10 08:43:32 +00:00
Aleksandar Fabijanic
3f23af80c3 porting rev. 1994 from 1.4.4 2012-09-08 02:54:42 +00:00
Aleksandar Fabijanic
69bb6e4461 SF #3561464: Poco::File::isDevice() can throw due to sharing violation 2012-09-08 01:02:46 +00:00
Aleksandar Fabijanic
9ca1a770bc SF#3562244: Portability fix for AF_LINK 2012-09-07 04:31:09 +00:00
Aleksandar Fabijanic
a522c31765 SF# 3558012 Compilation fails when building with -ansi or -std=c++0x 2012-09-06 03:14:17 +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
0ca3bbc848 porting 1.4.4. rev. 1926 (SF#3478665: Permission checks in Poco::File not correct for root) 2012-08-22 03:44:30 +00:00
Aleksandar Fabijanic
801b2485f4 port from 1.4.4 (rev. 1925 fixed SF# 3483174) 2012-08-22 03:25:25 +00:00
Aleksandar Fabijanic
d9cf671330 fixed SF# 3496493, 3495656 2012-08-22 02:40:41 +00:00
Aleksandar Fabijanic
7a177a0d79 fixed SF# 3556975 2012-08-20 03:21:09 +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
4328b7cba3 porting rev. 1915 from 1.4.4 branch (fixed SF# 3539695) 2012-08-18 04:16:16 +00:00
Aleksandar Fabijanic
2adfe178c0 porting rev. 1914 from 1.4.4 branch (fixed SF# 3543047) 2012-08-18 02:41:15 +00:00
Marian Krivos
2f0ab58544 check for initialization with an empty pattern (backport from old trunk) 2012-08-07 20:56:38 +00:00
Marian Krivos
9e27531c68 check for initialization with an empty pattern (backport from old trunk) 2012-08-07 20:45:44 +00:00
Marian Krivos
f74b10bf1b zlib updated to the version 1.2.7 2012-08-07 20:43:25 +00:00
Marian Krivos
871cdaff44 zlib updated to the version 1.2.7 2012-08-07 20:42:25 +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
Marian Krivos
24225d39ec fix UTF32Encoder 2012-07-31 18:35:47 +00:00
Marian Krivos
c86b54cf77 fix: byte flipping in UTF16Encoding::queryConvert() 2012-07-31 16:27:30 +00:00
Aleksandar Fabijanic
c48b06221a SF 3538786: Use size_t for describing data-blocks in DigestEngine 2012-07-20 02:48:41 +00:00
Marian Krivos
6ebb20ca4c class UTF32Encoding added 2012-06-21 16:19:19 +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
1863c26cfc spaces to tabs 2012-05-30 00:39:30 +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
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
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
Marian Krivos
53fe184bfa fix from old trunk for TemporaryFile 2012-04-29 10:52:55 +00:00
Marian Krivos
1e2b816d7e added Latin2, CP1250, CP-1251 encodings to the TextEncoding Manager 2012-04-29 10:52:12 +00:00
Marian Krivos
51c8a14ae1 ThreadPool fix from trunk 2012-04-29 10:51:00 +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
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
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
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
59fe68edbe trunk: File_UNIX, NumberParser/NumberFormatter from 1.4.3 2012-02-05 07:53:05 +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
8fc17fecfa trunk/branch integration: compile fix 2011-08-23 13:07:44 +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
86c574612c trunk/branch integration: compile fix 2011-08-23 09:20:26 +00:00
Marian Krivos
fd733bcca4 trunk/branch integration: VxWorks & Wince 2011-08-23 07:13:59 +00:00
Marian Krivos
35f44e5a2d trunk/branch integration: refactoring 2011-08-23 07:13:42 +00:00
Marian Krivos
8bc1691e16 trunk/branch integration: bugfix 2011-08-23 07:13:08 +00:00
Marian Krivos
c349742cf5 trunk/branch integration: VxWorks & Wince 2011-08-23 07:12:01 +00:00
Marian Krivos
4d860e1b18 trunk/branch integration: source indentation 2011-08-23 07:10:45 +00:00
Marian Krivos
a535226b86 trunk/branch integration: source indentation 2011-08-23 07:09:52 +00:00
Marian Krivos
24a844d68b trunk/branch integration: VxWorks & Wince 2011-08-23 07:05:47 +00:00
Marian Krivos
d5b85fe31c trunk/branch integration: using Poco::Ascii 2011-08-23 07:04:21 +00:00
Marian Krivos
6951be35de trunk/branch integration: bugfix 2011-08-23 07:03:43 +00:00
Marian Krivos
60bbdd7a6e trunk/branch integration: fix 2011-08-23 07:03:10 +00:00
Marian Krivos
6f9ab52b38 trunk/branch integration: UNBUNDLED patch 2011-08-23 07:02:22 +00:00
Marian Krivos
f88dacd2c3 trunk/branch integration: new PatternFormatter prefix 2011-08-23 06:58:34 +00:00
Marian Krivos
df683a59eb trunk/branch integration: Path::popFrontDirectory() 2011-08-23 06:57:44 +00:00
Marian Krivos
7b0716effa trunk/branch integration: unnamed namespace 2011-08-23 06:56:40 +00:00
Marian Krivos
d6136d3088 trunk/branch integration: Event & Mutex 2011-08-23 06:55:34 +00:00
Marian Krivos
a0997d01db trunk/branch integration: Logger::setLevel(none) 2011-08-23 06:54:03 +00:00
Marian Krivos
5cdea0c145 trunk/branch integration: VxWorks & Wince 2011-08-23 06:52:24 +00:00
Marian Krivos
7f54dc2b35 trunk/branch integration: fix warning 2011-08-23 06:50:52 +00:00
Marian Krivos
560be487dd trunk/branch integration: using Poco::Ascii 2011-08-23 06:50:30 +00:00
Marian Krivos
7331a2cf49 trunk/branch integration: fix typo (path/upath) 2011-08-23 06:50:00 +00:00
Marian Krivos
08d4ebe1cb trunk/branch integration: optimalization 2011-08-23 06:48:43 +00:00
Marian Krivos
9cf13e2976 trunk/branch integration: using Poco::Ascii & memoryleak fix 2011-08-23 06:47:41 +00:00
Marian Krivos
32acc2e156 trunk/branch integration: VxWorks & Wince 2011-08-23 06:43:38 +00:00
Marian Krivos
1fedc0d674 trunk/branch integration: fix 2011-08-23 06:43:12 +00:00
Marian Krivos
52e8c4f75b trunk/branch integration: VxWorks & Wince 2011-08-23 06:42:41 +00:00
Marian Krivos
9b0ba3971f trunk/branch integration: using Poco::Ascii 2011-08-23 06:42:17 +00:00
Marian Krivos
4cc807d67d trunk/branch integration: DateTimeFormatter %s 2011-08-23 06:41:17 +00:00
Marian Krivos
77290a0af3 trunk/branch integration: UNBUNDLED patch 2011-08-23 06:39:09 +00:00
Marian Krivos
dd89dc0da6 trunk/branch integration: optimalization 2011-08-23 06:38:28 +00:00
Marian Krivos
58064f8284 trunk/branch integration: new files 2011-08-23 06:32:45 +00:00
Marian Krivos
10b2a566f9 trunk/branch integration: fix 2011-08-22 19:10:03 +00:00
Marian Krivos
5e7fa3d066 trunk/branch integration: fix 2011-08-22 18:59:22 +00:00
Marian Krivos
a7ef753307 trunk/branch integration: TextEncoding update 2011-08-22 18:28:11 +00:00
Marian Krivos
150fe64cac trunk/branch integration: using Poco::Ascii 2011-08-22 18:27:43 +00:00
Marian Krivos
a967b0fb9e trunk/branch integration: fixbug 2011-08-22 18:24:21 +00:00
Marian Krivos
89fd4a231a trunk/branch integration: fix warning 2011-08-22 18:23:22 +00:00
Marian Krivos
e066d033a2 trunk/branch integration: TextEncoding update 2011-08-22 18:22:56 +00:00
Marian Krivos
62114a0993 trunk/branch integration: default namespace 2011-08-22 18:11:36 +00:00
Marian Krivos
01722dd4a7 trunk/branch integration: using Poco::Ascii 2011-08-22 18:10:47 +00:00
Marian Krivos
8d10f9532e trunk/branch integration: isNil() / isNull() / tryParse() 2011-08-22 18:10:20 +00:00
Marian Krivos
e06af24e2e trunk/branch integration: VxWorks & Wince 2011-08-22 18:06:28 +00:00
Marian Krivos
74019e51a9 trunk/branch integration: VxWorks & Wince 2011-08-22 18:03:37 +00:00
Marian Krivos
9b9cb53d08 trunk/branch integration: using Poco::Ascii 2011-08-22 17:53:52 +00:00
Marian Krivos
bcb342bd00 trunk/branch integration: VxWorks 2011-08-22 17:50:29 +00:00
Marian Krivos
abeb31a9c8 trunk/branch integration: RefCountedObject to AtomicCounter 2011-08-22 17:49:31 +00:00
Marian Krivos
422075e485 trunk/branch integration: Wince 2011-08-22 17:47:02 +00:00
Marian Krivos
8b5b500c0a trunk/branch integration: ScoppedRWLock 2011-08-22 17:45:27 +00:00
Marian Krivos
d32aea5dbe trunk/branch integration: Process::terminationEvent() 2011-08-22 17:42:31 +00:00
Marian Krivos
b78869e93c trunk/branch integration: VxWorks & Wince 2011-08-22 17:39:53 +00:00
Marian Krivos
d282d5275e trunk/branch integration: VxWorks & Wince 2011-08-22 17:36:24 +00:00
Marian Krivos
2dc5bf5a8c trunk/branch integration: default namespace 2011-08-22 17:35:24 +00:00
Marian Krivos
70280b88a6 trunk/branch integration: 64bit fix 2011-08-22 17:13:32 +00:00
Marian Krivos
34d3e64dba trunk/branch integration: Message source 2011-08-22 17:10:35 +00:00
Marian Krivos
d224069050 trunk/branch integration: Logger() 2011-08-22 17:09:02 +00:00
Marian Krivos
2e33892bc2 trunk/branch integration: VxWorks & Wince 2011-08-22 17:06:17 +00:00
Marian Krivos
d3920a5dbf trunk/branch integration: VxWorks & Wince 2011-08-22 17:00:15 +00:00
Marian Krivos
8cd1c2469d trunk/branch integration: VxWorks 2011-08-22 16:59:11 +00:00
Marian Krivos
87d82ec656 trunk/branch integration: fix warning 2011-08-22 16:58:45 +00:00
Marian Krivos
76216a6d55 trunk/branch integration: VxWorks & Wince 2011-08-22 16:57:05 +00:00
Marian Krivos
d1e2d3f2e0 trunk/branch integration: Enviroment::nodeId() exception patch 2011-08-22 16:55:52 +00:00
Marian Krivos
7e1cc09a3c trunk/branch integration: Enviroment::libraryVersion() 2011-08-22 16:54:03 +00:00
Marian Krivos
eb79e28049 trunk/branch integration: DateTime ISO8601_FRAC_FORMAT 2011-08-22 16:45:38 +00:00
Marian Krivos
be689588e4 trunk/branch integration: AsyncChannel locking fix 2011-08-22 16:36:33 +00:00
Marian Krivos
25ab4f5300 trunk/branch integration: documentation 2011-08-22 16:33:59 +00:00
Marian Krivos
5efe090309 trunk/branch integration: Timer::skipped() 2011-08-22 16:31:28 +00:00
Marian Krivos
090d93dc6e trunk/branch integration: fix warning 2011-08-22 16:24:25 +00:00
Marian Krivos
31c6d3e855 trunk/branch integration: Exception update 2011-08-22 16:22:22 +00:00
Marian Krivos
51ddc1baaa trunk/branch integration: adding new files 2011-08-22 16:14:00 +00:00
Marian Krivos
fbe704af43 SF# 3175310 2011-08-18 16:57:01 +00:00
Marian Krivos
1a14a27104 SF# 3178098 2011-08-18 16:56:45 +00:00
Marian Krivos
f0d857dbde fix missig file gzguts.h 2011-08-17 13:11:25 +00:00
Marian Krivos
50fddbd3e8 SF# 3379935 - fixed memory leak 2011-08-17 07:17:54 +00:00
Marian Krivos
51db1d296c SF# 3379935 2011-08-17 06:55:24 +00:00
Marian Krivos
d21cc6edc9 SF# 3181882 2011-08-16 20:15:21 +00:00
Marian Krivos
dcad41262d SF# 3190723 - fixed zlib 1.2.5, but only for trunk, because of some new/deleted files and possible project files unconsitencies (plain Makefile and cmake scripts are fixed and OK) 2011-08-16 19:51:25 +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
Marian Krivos
3b38af0942 added support for Latin2, Windows1250 and Windows1251 2011-05-08 12:40:36 +00:00
Guenter Obiltschnig
1568abf9be fixed SF# 2890489:Unused code in TimedNotificationQueue::wait 2009-11-02 09:56:33 +00:00
Guenter Obiltschnig
417c2344cb fixed wrong license text 2009-10-17 06:06:50 +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
Marian Krivos
f6f7d6fa48 fixed missing includes 2009-08-25 19:42:07 +00:00
Guenter Obiltschnig
9464ca7b24 fixed SF# 2841812: Posix ThreadImpl::sleepImpl throws exceptions on EINTR 2009-08-25 06:49:47 +00:00
Aleksandar Fabijanic
1bd3511e89 [SF 2835206] File_WIN32 not checking against INVALID_HANDLE_VALUE 2009-08-12 11:34:44 +00:00
Guenter Obiltschnig
b17b771b10 fixed SF# 2164227 2009-06-17 11:47:37 +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
Aleksandar Fabijanic
5245543642 [SF 2804457] DateTime::checkLimit looks wrong 2009-06-11 13:31:54 +00:00
Guenter Obiltschnig
60fc5b6e28 added Environment::processorCount() 2009-06-01 08:50:54 +00:00
Guenter Obiltschnig
20200eaca8 fixed SF# 2776721: Poco::Timer::reset() behaviour 2009-04-21 05:00:51 +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
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
Guenter Obiltschnig
706dee777d added build configuration for iPhone 2009-03-17 15:25:13 +00:00
Marian Krivos
47cf15d198 cmake scripts: fix SunPro C++ on linux 2009-03-16 22:52:54 +00:00
Marian Krivos
02161a9f46 added methods parseBool() and tryParseBool() to Poco::NumberParser + test unit 2009-03-16 17:59:38 +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
e9642378d0 fix include for gcc 4.4.0 prerelease 2009-03-07 16:11:45 +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
75a07d7983 NetSSL library refactoring 2009-02-23 20:56:01 +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
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
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
600161cbf3 [SF 2445467] Bug in Thread_WIN32.cpp 2008-12-23 16:23:35 +00:00
Aleksandar Fabijanic
905534af1c SF [2360817] Build failure in Var.cpp 2008-11-30 03:54:11 +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
4975ac2c44 copied Crypto from sandbox to trunk 2008-10-31 09:06:54 +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
ed536d12a8 fix of a fix (CreateFileW => CreateFileA) 2008-09-23 18:42:22 +00:00
Aleksandar Fabijanic
34ae16b89a SF [2062835] Logfile _creationDate is wrong; 2008-09-23 18:00:11 +00:00
Chris Johnson
d244df7f81 Clean up configure options and add support for conditional building of Poco components beyond core/foundation. Tested with windows, MinGW and Linux. 2008-09-23 17:10:08 +00:00
Aleksandar Fabijanic
95b2f13647 native EOL 2008-09-22 17:56:35 +00:00
Guenter Obiltschnig
14fed4c986 fixes from 1.3 2008-09-21 20:38:52 +00:00
Guenter Obiltschnig
2908c0a2ad added some const's back to DynamicAny 2008-09-19 10:55:33 +00:00
Guenter Obiltschnig
868390ad58 thread fixes for macosx 2008-09-18 19:07:15 +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
cf1d1fa952 fixed SF# 1948361: a little bug for win32 2008-09-17 17:45:12 +00:00
Guenter Obiltschnig
7666d47304 fixed SF# 1935310: Unhandled characters in Windows1252Encoding 2008-09-17 17:34:30 +00:00
Guenter Obiltschnig
0880710370 fixed SF# 1995073: setupRegistry is broken if POCO_WIN32_UTF8 enabled 2008-09-16 20:48:33 +00:00
Guenter Obiltschnig
57762a2cfc fixed various bugs (see SF tracker) 2008-09-16 17:26:28 +00:00
Shan Jiang
e1dbbef72f SF [2099671] Poco::File implementation on unix (reported by Lubomir Zavacky)
In canReadImpl/canWriteImpl, add effective user ID check for super user first. 
Tested on Ubuntu 8.04, gcc 4.2.3. 

(The previous commit used wrong local repos copy, sorry about that)
2008-09-09 10:15:30 +00:00
Shan Jiang
4ff750168d SF [2099671] Poco::File implementation on unix (reported by Lubomir Zavacky)
In canReadImpl/canWriteImpl, add effective user ID check for super user first. 
Tested on Ubuntu 8.04, gcc 4.2.3.
2008-09-09 09:56:03 +00:00
Aleksandar Fabijanic
d6b81dca0f logical operators 2008-08-12 10:09:03 +00:00
Aleksandar Fabijanic
516aaa1b9f changed stat member to st_ctime for created time
(Sergey, add #ifdef for your platform if you want to have st_birthtime)
2008-08-06 20:17:31 +00:00
Aleksandar Fabijanic
54edf45085 reverting rev. 709 (stat.st_birthtime is not POSIX, see http://www.opengroup.org/onlinepubs/000095399/basedefs/sys/stat.h.html) 2008-08-05 20:12:57 +00:00
Sergey Kholodilov
c186d5da98 Misprint in createdImpl fixed 2008-08-05 15:08:39 +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
Peter Schojer
a0ecc39893 reduced exceptions 2008-08-01 05:23:43 +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
4e2a3f7013 SF [2009349] Possible deadlock in AsyncChannel::close 2008-07-03 10:19:00 +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
Sergey Kholodilov
05a1f5dcdd =inculde Poco/Platform.h before all 2008-06-25 10:19:39 +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
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
Guenter Obiltschnig
1de922e8c3 fixed SF# 1968106: DigestOutputStream losing data 2008-05-20 17:19:27 +00:00
Aleksandar Fabijanic
81fcb5cbf5 Solaris and non-Cygwin pthreads fixes (Serge: backport to 1.3.3) 2008-05-14 18:12:04 +00:00
Peter Schojer
6c80fe82c1 added WebWidgets 2008-05-12 13:12:39 +00:00
Aleksandar Fabijanic
6c014c25d3 [1954327] CYGWIN's pthread does not define PTHREAD_STACK_MIN (2nd time) 2008-05-02 22:45:54 +00:00
Aleksandar Fabijanic
be2ebf2197 SF [1954327] CYGWIN's pthread does not define PTHREAD_STACK_MIN 2008-04-29 20:46:30 +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
b375b14f60 added TestChannel 2008-03-23 01:14:07 +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
0c65fa6295 - IOChannel, IOChannelConfig, ActiveIOChannel
- ActiveMethod::operator () default argument value (convenient for arguments of Poco::Void type)
2008-03-01 14:50:43 +00:00
Aleksandar Fabijanic
7a59e4eb48 - bin/PocoMsg.dll file
- project files
- EventLogChannel modifications to search for PocoMsg.dll first
2008-02-19 18:13:08 +00:00
Aleksandar Fabijanic
8ffef14cb5 - added pocomsg.h 2008-02-19 13:00:42 +00:00
Aleksandar Fabijanic
40445c9d3e - FileStream_WIN32 constructor openmode argument
- DynamicAnyTest and AnyTest warning disable for VS 2003
2008-02-18 16:32:01 +00:00
Guenter Obiltschnig
e4d9b3b40f fixed line endings 2008-02-07 16:08:15 +00:00
Guenter Obiltschnig
a99f1aae4d fixed newlines 2008-02-07 15:17:46 +00:00
Aleksandar Fabijanic
be815af919 DynamicAny:operator [] fix (did not compile w/ VS 2003) 2008-02-02 21:55:14 +00:00
Guenter Obiltschnig
b526dd81f2 changes from main repository 2008-01-29 09:06:52 +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
ae607d40e5 format() bool support 2008-01-15 02:43:04 +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
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
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
d9c5b827a5 Arithmetic operators for DynamicAny 2007-09-05 23:38:12 +00:00
Guenter Obiltschnig
a04bae94d7 synchronized trunk 2007-08-10 13:57:07 +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