1481 Commits

Author SHA1 Message Date
Günter Obiltschnig
088b18f151
Merge pull request #1931 from villytiger/streambuf
Fix writing into closed socket from streambuf
2017-11-12 20:54:36 +01:00
Günter Obiltschnig
c5ba9b1e18
Merge pull request #1982 from pocoproject/feature/mail-msg-decode
Feature/mail msg decode
2017-11-12 20:54:07 +01:00
Guenter Obiltschnig
c91b83744b revert #1828 2017-11-11 19:27:43 +01:00
Jochen Sprickerhof
5d2dae5304 CMake patches for FreeBSD (#1989)
* Switch FreeBSD to poll

* Link against dl and rt on FreeBSD
2017-11-09 16:56:43 -06:00
Ilya Lyubimov
1a6f82c06a Fix writing into closed socket from streambuf
In case of error occured in writeToDevice pptr may become one byte
farther than epptr. This can lead to crash in streambuf::xsputn from
libstdc++.
2017-11-09 23:52:01 +03:00
Guenter Obiltschnig
ee69115150 replace strerror() with Poco::Error::getMessage() 2017-11-09 12:44:19 +01:00
Guenter Obiltschnig
0f28c27e98 GH #1988: Remove OpenVMS support 2017-11-09 11:25:39 +01:00
Günter Obiltschnig
f4530b0ebc fixed GH #1425: Workaround bug in SolarisStudio 12.4 on RVO-ed objects. 2017-11-08 15:05:40 +01:00
Günter Obiltschnig
18a70a4b3a
Merge pull request #1425 from CosminCremarenco-Murex/fix-rvo-sunstudio124
Workaround bug in SolarisStudio 12.4 on RVO-ed objects.
2017-11-08 14:46:19 +01:00
Alex Fabijanic
7250de8a65 TextEncodingRegistry documentation 2017-11-07 15:55:50 -06:00
Alex Fabijanic
a294e1fd88 Merge branch 'develop' into feature/mail-msg-decode 2017-11-07 15:42:46 -06:00
Günter Obiltschnig
70217aa083 fixed GH #1828: DeflatingStreamBuf::sync() should also flush underlying stream. 2017-11-07 18:09:53 +01:00
Alex Fabijanic
6fbbb0648c Merge branch 'develop' into feature/mail-msg-decode 2017-11-03 21:51:44 -05:00
Alex Fabijanic
6e80bcc7cf Implement MailMessage::decode #1543 (wip 2) 2017-11-03 21:51:35 -05:00
Guenter Obiltschnig
bdbc94d825 GH #1412: added Poco::DigestEngine::constantTimeEquals() 2017-11-01 17:37:35 +01:00
Guenter Obiltschnig
0c4cbb55ff fixed GH #1934: File::setExecutable() on POSIX should set executable bit for group and other if corresponding readable bit is set 2017-10-31 22:17:33 +01:00
Guenter Obiltschnig
1f546c4502 fix test with gcc 2017-10-31 20:02:35 +01:00
Guenter Obiltschnig
c792d52474 fix test 2017-10-31 19:46:08 +01:00
Guenter Obiltschnig
9288e89bfe remove remaining $Id$ tags from file headers 2017-10-31 15:58:10 +01:00
Guenter Obiltschnig
feac1ae451 Base64Encoder/Decoder: added support for 'base64url' encoding 2017-10-31 12:25:33 +01:00
Alex Fabijanic
4bd692ca38 Buffer<> swap miss ownMem #1964 2017-10-30 15:23:54 -05:00
Alex Fabijanic
f3d10e2764 restore deleted documentation 2017-10-26 18:02:35 -05:00
Alex Fabijanic
3fb4c34161 Poco::Data ODBC impl doesn't bind to unsigned numeric types properly #1683 2017-10-20 22:05:10 -05:00
Alex Fabijanic
51c28b5c5a add Poco::makeUnique() 2017-10-20 18:31:13 -05:00
Aleksandar Fabijanic
151304135e purge trailing whitespace (#1947) 2017-10-20 15:37:19 -05:00
Alex Fabijanic
1101439eb0 fix some warnings 2017-10-20 11:47:29 -05:00
Alex Fabijanic
5de43daf38 remove leftover comment 2017-10-20 00:15:34 -05:00
Alex Fabijanic
e2836431ae SyntaxException for DateTimeParser::parse not working #569 2017-10-20 00:14:11 -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 896c1ad016cafddb90a9230bf945a1e19c568435.
2017-10-13 00:43:49 -05:00
Alex Fabijanic
896c1ad016 Nullable for types without default constructor #617 2017-10-12 20:20:26 -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
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
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
stefang84
267f67fbd8 check length of UUID when parsing (#1930) 2017-10-10 09:20:04 -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
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
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
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