Commit Graph

4652 Commits

Author SHA1 Message Date
Alex Fabijanic
e2836431ae SyntaxException for DateTimeParser::parse not working #569 2017-10-20 00:14:11 -05:00
Alex Fabijanic
d49ffcfb13 remove return 2017-10-19 12:17:11 -05:00
Alex Fabijanic
4223efae59 fix -Woverloaded-virtual 2017-10-19 12:14:45 -05:00
zosrothko
e32de7ccb3 Upgrade to mysql-5.7.19-win32 (#1944) 2017-10-18 09:02:52 -05:00
zosrothko
db1b725e0b CYgwin: remove -DPOCO_NO_WSTRING & build Data/PostgreSQL (#1942) 2017-10-18 09:02:09 -05:00
Edson A. Soares
7121b92e2a Fix ".. has no member named ... compile error" (#1938)
* Fix ".. has no member named ... compile error" by renaming apache conn_rec
attributes

 - conn_rec attributes remote_ip and remote_addr were replaced by client_ip
 and client_addr once they have been renamed in Apache 2.4
 - a server_rec pointer must be passed to ap_log_error() since apache 2.4,
 therefore, a change was necessary at the ap_log_error log function.
 A null pointer has been passed for avoiding deeper changes at the function.
 - the smart pointer auto_ptr was replaced by unique_ptr once it was made
 deprecated in C++11 standard, it has been replaced by unique_ptr.

* Add the properly #ifdef directives for backward compatibility purposes

 - Adding proper #ifdef preprocessor directives to keeping backward
 compatibility with older apache versions.

* Update ApacheConnector.cpp
2017-10-17 12:31:30 -05:00
Alex Fabijanic
4a8d522e29 ifdef windows unicode version of main 2017-10-16 23:42:27 -05:00
Alex Fabijanic
4bc6ff063d re-enable UnicodeConverter for all platforms 2017-10-16 22:51:19 -05:00
Alex Fabijanic
8d5e0a2590 Remove support for compiling without POCO_WIN32_UTF8 on Windows #630 2017-10-16 22:40:23 -05:00
Alex Fabijanic
071cdd1026 nullable SOO, redone #617 2017-10-13 19:04:30 -05:00
Alex Fabijanic
68b688c5b1 Revert "Nullable for types without default constructor #617"
This reverts commit 896c1ad016.
2017-10-13 00:43:49 -05:00
Alex Fabijanic
e073f20f3a getConnectionTimeout of SQLite DB wrapper returns wrong value (in milliseconds, should be in seconds) #1729 2017-10-12 20:42:51 -05:00
Alex Fabijanic
896c1ad016 Nullable for types without default constructor #617 2017-10-12 20:20:26 -05:00
Alex Fabijanic
b0fd3db526 spelling fix 2017-10-12 19:02:28 -05:00
Alex Fabijanic
cb7a73ae6e add virtual destructor to checksum 2017-10-12 18:46:51 -05:00
Alex Fabijanic
1ce74de872 style and comments 2017-10-12 18:06:31 -05:00
Alex Fabijanic
07fba9cf28 Poco::NumberParser/NumberFormatter not consistent for NaN/Infinity #286 2017-10-12 17:44:13 -05:00
Alex Fabijanic
d816f54e3c Poco::Data::MySQL::ConnectionException doesn't set mysql_ernno() to base Exception class #273 2017-10-12 15:27:44 -05:00
Alex Fabijanic
d578109d4d only remove named mutex semaphore if owned (see #271) 2017-10-12 15:05:27 -05:00
Alex Fabijanic
d33db357ca NamedMutex_UNIX.cpp must remove semid #271 2017-10-12 14:49:06 -05:00
Alex Fabijanic
6cb5ce393a Poco::LoggingFactory::registerBuiltins should support SimpleFileChannel. #197 2017-10-12 11:49:08 -05:00
Alex Fabijanic
f1e4d592c4 CRC64 support in the Poco lib. #164 2017-10-11 19:03:20 -05:00
Alex Fabijanic
ffca55c21b Add getPartList() to HTMLForm #162 2017-10-11 16:49:08 -05:00
Alex Fabijanic
f03356b50c Register eventhandler in Poco:Net:SocketConnector subclass #161 2017-10-11 14:23:57 -05:00
Rangel Reale
6bfbd5db96 Fix Android port: (#1933)
- Switch to clang from gcc
- std::timed_mutex is not available on the latest NDK, revert to the POSIX implementation for now
- eabi is deprecated, switch to eabi-v7a by default
2017-10-11 11:34:38 -05:00
Alex Fabijanic
6e6e3952e2 fix compile errors 2017-10-10 18:54:42 -05:00
Stefan Csomor
03e07f3d97 Small PostgreSQL improvements (#1932)
* Supporting non-standard port in testConnectNoDB, suppressing NOTICE messages about non-existing tables for a cleaner output

* fix style
2017-10-10 18:53:46 -05:00
Alex Fabijanic
726bcc9202 Replace std::auto_ptr with std::unique_ptr #619 2017-10-10 18:17:49 -05:00
Alex Fabijanic
ad1b75b30e POP3 client fails to retrieve message if content-type is absent #806; add multi-part attachment name retrieval 2017-10-10 18:06:02 -05:00
Alex Fabijanic
36e2a11311 Poco::Data::RecordSet row iteration doesn't work when the statment has limit() #793 2017-10-10 14:42:21 -05:00
stefang84
267f67fbd8 check length of UUID when parsing (#1930) 2017-10-10 09:20:04 -05:00
zosrothko
380379229b Ignore testBigPing (#1929) 2017-10-09 09:53:26 -05:00
zosrothko
943c9e750d Ignore testBigPing (#1928) 2017-10-09 09:53:01 -05:00
Alex Fabijanic
8b8c88b4f6 MailMessage::_recipients are not filled by POP3ClientSession::retrieveMessage() #1773 2017-10-07 17:14:22 -05:00
ljx0305
748394ab55 Update Timer.h (#1527)
* Update Timer.h

* Fix MinGW 4.8.2 Compilation process appears  "error: 'SOCKADDR_INET' does not name a type" error info

The error information is as follows
$ g++  -Iinclude -I/d/open_source/src/poco-1.7.7/CppUnit/include -I/d/open_source/src/poco-1.7.7/CppUnit/WinTestRunner/
include -I/d/open_source/src/poco-1.7.7/Foundation/include -I/d/open_source/src/poco-1.7.7/XML/include -I/d/open_source
/src/poco-1.7.7/JSON/include -I/d/open_source/src/poco-1.7.7/Util/include -I/d/open_source/src/poco-1.7.7/Net/include
-DPOCO_BUILD_HOST=DESKTOP-MDEE2NJ -DPOCO_TARGET_OSNAME=MinGW -DPOCO_TARGET_OSARCH=i686  -D_WIN32 -DMINGW32 -DWINVER=0x5
01 -DPOCO_NO_FPENVIRONMENT -DPCRE_STATIC -DPOCO_THREAD_STACK_SIZE -I/usr/local/include -I/usr/include  -g -D_DEBUG  -c
src/Environment.cpp -o /d/open_source/src/poco-1.7.7/Foundation/obj/MinGW/i686/debug_static/Environment.o
In file included from c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/iphlpapi.h:16:0,
                 from src/Environment_WIN32U.cpp:26,
                 from src/Environment.cpp:33:
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:44:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET Address;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:56:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET Prefix;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:64:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET     NextHop;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:79:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET     Address;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:152:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET    Address;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:250:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET Source;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:251:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET Destination;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:254:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET CurrentNextHop;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:273:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET Address;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:382:9: error: 'PSOCKADDR_IN6' does not name a type
   const PSOCKADDR_IN6 SourceAddressList,
         ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:384:9: error: 'PSOCKADDR_IN6' does not name a type
   const PSOCKADDR_IN6 DestinationAddressList,
         ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:387:3: error: 'PSOCKADDR_IN6_PAIR' has not been declared
   PSOCKADDR_IN6_PAIR *SortedAddressPairList,
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:454:9: error: 'SOCKADDR_INET' does not name a type
   const SOCKADDR_INET *SourceAddress,
         ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:455:9: error: 'SOCKADDR_INET' does not name a type
   const SOCKADDR_INET *DestinationAddress,
         ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:458:3: error: 'SOCKADDR_INET' has not been declared
   SOCKADDR_INET *BestSourceAddress
   ^
In file included from c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/iphlpapi.h:16:0,
                 from src/Environment_WIN32U.cpp:26,
                 from src/Environment.cpp:33:
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:585:9: error: 'SOCKADDR_INET' does not name a type
   const SOCKADDR_INET *SourceAddress
         ^
In file included from src/Environment_WIN32U.cpp:26:0,
                 from src/Environment.cpp:33:
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/iphlpapi.h:147:5: error: 'SOCKADDR_IN6' does not name a type
     SOCKADDR_IN6 Ipv6Address;
     ^
2017-10-07 12:55:25 -05:00
Tomoyuki Harada
71a9a57802 Util Timer with OS specific priority (#1348)
* Util Timer with OS specific priority

* default argument for sched policy
2017-10-07 12:49:25 -05:00
Alex Fabijanic
cf0343534a remove comment 2017-10-06 23:56:46 -05:00
Alex Fabijanic
a6148f110c Compiling Foundation library with POCO_NO_FPENVIRONMENT in Config.h fails #1905 2017-10-06 23:53:57 -05:00
Alex Fabijanic
f87081a1b1 fix param copy 2017-10-06 21:42:41 -05:00
csabakeszegh
2113827719 Enable parsing absolute Windows paths even if it starts with a slash (#1680)
In file URI when using absolute path on windows one has to write additional
'/' before the drive letter (empty host part). Eg: `file:///c:/windows/system32/`
`Path::parseWindows` throws an exception when using `URI::getPath()` to feed
it directly. The whole point of the commit to enable `/<DRIVE_LETTER>:` style
path as absolute path.
Test case added.
2017-10-06 20:54:08 -05:00
FalseCAM
ae8ccc4f48 Update FindMySQL.cmake (#1272)
Find MYSQL_LIB by names mysqlclient and mysqlclient_r.
2017-10-06 20:47:02 -05:00
Alex Fabijanic
b00e48f35d Fix for issue #1265. #1266 2017-10-06 20:32:56 -05:00
Alex Fabijanic
a47ceecab2 Fix compilation errors using TDMGCC #1310 2017-10-06 20:01:52 -05:00
Thomas Köppe
c4312f8367 Added some missing inclusions (#1274) 2017-10-06 19:47:53 -05:00
Alex Fabijanic
b3ef37af1f initialize response address 2017-10-06 19:45:51 -05:00
Alex Fabijanic
f9eac16631 Add const modificator to SocketAddress argument in ICMPClient methods #1267 2017-10-06 19:38:29 -05:00
Alex Fabijanic
0a58a30c1b Make *LRUCache constructor data types match LRUStrategy constructor. #1328 2017-10-06 19:27:35 -05:00
Alex Fabijanic
e0a5ebc06e don't inline methods containing private symbols #915 2017-10-06 19:20:56 -05:00
Ostropik
23d7d2c6cb fix ODBC: losing input data in case PD_IN_OUT paramater type (#1280)
* fix: losing input data in case PD_IN_OUT paramater type

* - fix allso applied for wide string
- added test case 'testStoredProcedureAnyString()' for reproducing
2017-10-06 18:32:29 -05:00
Alex Fabijanic
14076f75b4 Internet connection is not available on build servers, making tests fail #1365 2017-10-06 18:22:54 -05:00