Commit Graph

751 Commits

Author SHA1 Message Date
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
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
Shan Jiang
1671f7fcbf [trunk] Fix typo in DynamicAnyTest.h.
Add namespace declarer Poco to make gcc happy.
2008-08-02 16:14:49 +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
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
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
c5a222e8ba SF [2001995] Windows build based on components file
some project/solutions files added/modified
2008-06-24 19:44:34 +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
1d27e75989 added LogRotation sample 2008-06-01 13:18:36 +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
Guenter Obiltschnig
1de922e8c3 fixed SF# 1968106: DigestOutputStream losing data 2008-05-20 17:19:27 +00:00
Aleksandar Fabijanic
0fe95a31c4 more optimization 2008-05-14 23:51:10 +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
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
45d601089b VS90 solutions/projects for WebWidgets/ExtJS libraries and test suites
replaced hard coded project names with $(ProjectName) macro
replaced ThreadEntry.cpp/.h with ThreadTarget.cpp/.h in Foundation_VS90.vcproj
2008-05-12 18:59:24 +00:00
Peter Schojer
6c80fe82c1 added WebWidgets 2008-05-12 13:12:39 +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
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
898045b4eb updated VS71 files 2008-04-11 14:54:45 +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
1c393ae9ab VS 71 projects and solutions 2008-03-27 14:53:54 +00:00
Aleksandar Fabijanic
5d5c7a0586 VS 90 solution and project files updated for IO 2008-03-24 12:36:29 +00:00
Aleksandar Fabijanic
b375b14f60 added TestChannel 2008-03-23 01:14:07 +00:00
Aleksandar Fabijanic
5a737fb241 removed AsyncIO tests (moved to IO) 2008-03-22 22:25:42 +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
405e2e5cba POCO_DATA_INVALID_ROW constant and Constants.h header 2008-03-20 17:57:24 +00:00
Aleksandar Fabijanic
c07cc04912 build configuration for Nexenta with gcc 2008-03-20 15:30:34 +00:00
Aleksandar Fabijanic
4ffed92894 some MSVC Level 4 warning fixes 2008-03-17 14:27:29 +00:00
Aleksandar Fabijanic
722009b8be 2008-03-01 14:52:50 +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
Chris Johnson
def90185aa Added build support for stock MinGW/MSYS build of POCO.
Components now supported by default:
 Foundation {including internal PCRE lib}
 Util
 Net
 XML
 SQL
 SQL/ODBC
 SQL/SQLite
 samples/{all components supported}

Components supported with additional 3rd party MinGW/MSYS libs:
 NetSSL w/OpenSSH

Components unsupported at this time:
 testsuite: Fails to build due to TupleTest - needs slight code change MinGW can't deal with currently.  Only thing causing failure.
 CppUnit: Unable to support this due to WIN32 version of this functionality relying on MFC which does not ship with MinGW/MSYS.
 --no-wstring support due libstdc++ - will require STLPort {support coming soon}


:build/config/MinGW
 +Fixed compiler environment flags and switches
 +Linkage build supports:  SHARED, STATIC, or BOTH
 +Fixed duplicate symbol/unresolved symbol during compile
 +Added PCRE build flag for internal library build/eliminate link errors
 +Disable support of UTF-8 by default, MinGW will require STLPort 
 +Corrected system link libs for MinGW "dumb" linker

:build/rules/global
 +Added MinGW environment deduction logic

:configure
 +Fine tuned environment deduction recognizing MinGW as valid

:Data/ODBC/Makefile
 +Fixed correct ODBC libs to link

:Foundation/Makefile
 +Added logic for building correct subsystem dependency

:Util/Makefile
 +Added logic for building correct subsystem dependency
2008-02-21 09:08:44 +00:00
Aleksandar Fabijanic
af32aa7573 removed Foundation/bin directory 2008-02-19 19:10:44 +00:00
Aleksandar Fabijanic
6e6374e830 moved PocoMsg.dll to $POCO_BASE/bin 2008-02-19 18:35:20 +00:00
Aleksandar Fabijanic
1eec38f19e 2008-02-19 18:14:54 +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
Aleksandar Fabijanic
5bf096bb2a - SF [1800596] VS Solutions (ver. 8.0 and 9.0)
- SF [1621372] Build Scripts (all Windows scripts consolidated in one)
- eliminated warnings in sqlite3.c
- updated components file
2008-02-17 17:14:33 +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
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
Eran Hammer-Lahav
19dca2aa79 Feature Request #1873922
Add project and solution files for Visual Studio 2008
2008-01-17 18:07:39 +00:00
Aleksandar Fabijanic
4d0817e8f9 format() bool support 2008-01-15 02:44:47 +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
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
6987146b6c new tests for the UniqueAccess caches 2007-10-29 14:50:09 +00:00
Peter Schojer
383929fb39 new tests for the UniqueAccess caches 2007-10-29 14:48:39 +00:00
Peter Schojer
65579e4612 Added Accesscaches 2007-10-29 14:37:40 +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
e37a89007d added more cache classes 2007-10-29 07:13:21 +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
bd5e6db0cc 2007-09-06 13:56:18 +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
10e8f2e6a3 updated makefiles 2007-05-02 13:49:53 +00:00
Guenter Obiltschnig
4e9a583cd0 integrated latest changes from main rep 2007-05-01 15:14:24 +00:00
Guenter Obiltschnig
2b493190e0 fixed Windows DirectoryIterator bug with empty root dirs 2007-05-01 11:51:21 +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
Aleksandar Fabijanic
d740264009 std::string double percent Format bug fix 2007-04-28 19:13:21 +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
e46a2d8ed7 latest changes from main repository; added eclipse cdt project files 2007-04-28 10:37:00 +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
5caf218376 fail if setName() does not throw 2007-04-27 12:01:57 +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
Aleksandar Fabijanic
c4a10c074a MSVC 80 - exclude SharedMemory_DUMMY.cpp from build 2007-04-18 18:13:21 +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
dfe559af3b changes from main repository 2007-02-27 08:56:44 +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
d615c47379 integrated changes fro mmain repository 2007-01-04 16:01:28 +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
7d8fd11991 integrated main branch 2006-10-12 17:26:04 +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
245e2f7e83 integrated changes for 1.2.3 2006-09-14 16:48:30 +00:00
Guenter Obiltschnig
a01116ca11 integrated changes for 1.2.3 2006-09-14 16:46:36 +00:00
Guenter Obiltschnig
fb39fe63e1 changes for 1.2.2 2006-08-31 14:47:43 +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