Commit Graph

399 Commits

Author SHA1 Message Date
Marian Krivos
17d3698815 trunk/branch integration: Message source 2011-08-22 17:10:16 +00:00
Marian Krivos
d224069050 trunk/branch integration: Logger() 2011-08-22 17:09:02 +00:00
Marian Krivos
47f0c97f8e trunk/branch integration: Logger() 2011-08-22 17:08:27 +00:00
Marian Krivos
2e33892bc2 trunk/branch integration: VxWorks & Wince 2011-08-22 17:06:17 +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
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
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
eb79e28049 trunk/branch integration: DateTime ISO8601_FRAC_FORMAT 2011-08-22 16:45:38 +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
be689588e4 trunk/branch integration: AsyncChannel locking fix 2011-08-22 16:36:33 +00:00
Marian Krivos
ec76633667 trunk/branch integration: AsyncChannel locking fix 2011-08-22 16:36:13 +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
3b72c5d52e trunk/branch integration: Timer::skipped() 2011-08-22 16:30:47 +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
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
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
Marian Krivos
0ac146cb9e cmake improvements: test and samples are from now disabled by default, you can enable this option with cmdline option to cmake: '-DENABLE_TESTS=1'
minimum required CMAKE version is 2.6 from now
2011-01-22 11:46:03 +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
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
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
Marian Krivos
c5b2daa36c cmake build system fix - debug version of ther library was striped and vice versa 2009-08-26 12:26:22 +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
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
b17b771b10 fixed SF# 2164227 2009-06-17 11:47:37 +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
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
Marian Krivos
1afd0a8328 bugfix #2781776 - cmake instals .svn directories 2009-04-27 19:22:30 +00:00
Guenter Obiltschnig
20200eaca8 fixed SF# 2776721: Poco::Timer::reset() behaviour 2009-04-21 05:00:51 +00:00
Guenter Obiltschnig
e1cda6be1c updated NotificationQueue sample 2009-04-14 11:03:48 +00:00
Guenter Obiltschnig
c3f91bd012 added new PriorityNotificationQueue, TimedNotificationQueue; added File::isDevice() 2009-04-14 10:40:59 +00:00
Guenter Obiltschnig
0bc88f1129 added new PriorityNotificationQueue, TimedNotificationQueue; added File::isDevice() 2009-04-14 10:39:41 +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
764bbf2e1d [SF 2700566] std::cout and std::cerr debug macros 2009-03-21 20:26:07 +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
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
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
Marian Krivos
2c304d744d adaptation cmake scripts to current MinGW platform (exclude SSL/Crypto/MySQL/Apache/ODBC) 2009-02-22 19:58:27 +00:00
Marian Krivos
ac01609444 cmake scripts for all tests 2009-02-21 20:19:53 +00:00
Guenter Obiltschnig
fa1658b23a integrated improvements from 1.3.4 (NumberFormatter::append(), DateTimeFormatter::append() 2009-02-21 10:59:58 +00:00
Marian Krivos
24e706aa2a added Data, Foundation, Net and Util samples + some global cmake fixes - second portion 2009-02-19 20:38:07 +00:00
Marian Krivos
129f21cc79 added Data, Foundation, Net and Util samples + some global cmake fixes 2009-02-19 20:35:03 +00:00
Marian Krivos
d141423a56 cmake 2.4.8 downgrade 2009-02-19 18:11:55 +00:00
Marian Krivos
16cdb4b127 cmake runtime install support (headers+libs) 2009-02-18 20:47:32 +00:00
Guenter Obiltschnig
64a7203a0d integrated fixed from 1.3.4 2009-02-18 13:12:25 +00:00
Marian Krivos
5b320c2894 Very basic but functional (at least on linux with gcc) support
for CMake build system
. 
It is strongly recomended to use out-of-source build to preserve
original Poco makefiles.

http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

I have tested unix makefile generating and Eclipse CDT4 generating.

Supported are static/dynamic and debug/release targets. 
On now only core libs are included: CppUnit, Foundation,
Data, Data/SQLite, Util, Net and XML. But autodetection
of OpenSSL, MySQL and ODBC is working OK already.

CPack and CTest nor library install still doesn't work, only building.

This is only the start.
2009-02-15 15:49:19 +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
600161cbf3 [SF 2445467] Bug in Thread_WIN32.cpp 2008-12-23 16:23:35 +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
645bd01ec9 DynamicStruct build files update 2008-11-24 12:56:02 +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
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
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
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
Aleksandar Fabijanic
9b636a3fbd Makefile fix (pcre_ucp_searchfuncs => pcre_ucd) 2008-09-20 20:12:17 +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
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
e8b0025a5d fixed SF# 1916761: Bug in Stopwatch? 2008-09-17 04:27:49 +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
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
6bf2319a9e [POCO::trunk] Remove warning issued by gcc 4.2.3
Details:

Add necessary initializer braces to make gcc 4.2.4 happy. (ArrayTest.cpp)
2008-09-09 10:25:19 +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
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
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