Commit Graph

4591 Commits

Author SHA1 Message Date
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
Alex Fabijanic
888e193511 Exception when using SortedDirectoryIterator #1926 2017-10-06 17:50:01 -05:00
Alex Fabijanic
31dfdb5b51 tests for parseHex accepts invalid syntax and does not throw an exception #880 2017-10-06 14:23:10 -05:00
Alex Fabijanic
45dbbc66f5 another attempt at #1904 2017-10-06 13:32:42 -05:00
Alex Fabijanic
a1b1f0a38a add test for Error in VarHolder::checkUpperLimit #1122 (invalid) 2017-10-06 12:53:32 -05:00
Alex Fabijanic
1311ea5cb9 remove accidentally added files 2017-10-06 09:54:07 -05:00
Alex Fabijanic
3faf104c75 move pd_json headers to src 2017-10-06 09:46:41 -05:00
Alex Fabijanic
a387e2dec8 pd_json.h is missing when installed via CMake in 1.8.0 #1923 2017-10-06 09:33:31 -05:00
zosrothko
1bb38ed4d5 Add CMake CI with implicit & explicit OpenSSL libs (#1924)
* Add CMake Win32 and CMake x64 with DISABLE_INTERNAL_OPENSSL=ON

* Put CMake jobs ahead for quick testing

* Fix yaml typo

* Use CMake VisualStudio generator instead of NMake

* Fix string concat

* Add double quotes

* CMake: build only RelWithDebInfo

* Add --config RelWithDebInfo

* Fix -DCMAKE_BUILD_TYPE=RelWithDebInfo

* ctest -C instead of --config

* ctest misconfig
2017-10-06 09:04:05 -05:00
Alex Fabijanic
c31af5d369 Move to standard integer types #1147 2017-10-05 18:35:59 -05:00
Alex Fabijanic
2e9aecb160 eliminate VS implicit conversion warnings 2017-10-05 18:25:08 -05:00