Commit Graph

474 Commits

Author SHA1 Message Date
Guenter Obiltschnig
22f3ee8bee style fixes 2014-11-06 11:12:14 +01:00
Günter Obiltschnig
e3a9f61bec Merge pull request #577 from gevpa/bug_ipv6_scopeId
Fix several issues of Poco::IPAddress with supporting for IPv6 format.
2014-11-06 10:56:33 +01:00
Günter Obiltschnig
279370c5cb Merge pull request #591 from karlr42/develop
Fix for issue #588
2014-10-31 19:56:11 +01:00
karlr42
5b646e5b9f Fix description of stopAll's abortCurrent argument. 2014-10-31 17:35:50 +00:00
Paruyr Gevorgyan
cc86efe070 Fix several issues of Poco::IPAddress with supporting for IPv6 format. In current implementation "scope" part of IPv6 is not taken into consideration in several parts of code. 2014-10-17 15:15:07 +02:00
Paruyr Gevorgyan
49e856aa89 Fix parsing issue with IPv6 format: propogating scopeId from IPv6AddressImpl to IPAddress. 2014-10-17 00:59:55 +02:00
Günter Obiltschnig
a6fcc477bd regenerated sample project files, fixed a potential compile error in NetworkInterface when targetting older Windows releases 2014-10-16 14:16:40 +02:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
micheleselea
b7fff590f7 BugFix Missing parenthesis 2014-10-14 13:45:14 +02:00
micheleselea
63b74d4f93 make NetworkInterface working under XP
on >= Vista NetworkInterface works, but if you try under XP you have ifIndex always not setted: if you compile with XP SP1 defines you get code working on >=XP
2014-10-14 09:42:58 +02:00
Günter Obiltschnig
f65d98f9c1 fixed cert chain verification and samples 2014-10-09 23:56:00 +02:00
Günter Obiltschnig
75919178fb fixed a warning 2014-10-07 12:04:03 +02:00
Guenter Obiltschnig
c1976b8fd4 minor cleanup for consistency with 1.4.7 2014-10-06 14:39:54 +02:00
Günter Obiltschnig
6fe2e4fb11 VS project files: do not share intermediate directory between projects in same folder 2014-10-06 13:51:49 +02:00
Guenter Obiltschnig
fb2eba8eac HTTPCookie: fix documentation for max age 2014-10-04 07:40:43 +02:00
Alex Fabijanic
a25877bfc2 - FIFOBuffer drain() problem #552
- StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are
  not thread safe #402
2014-10-03 16:12:42 -05:00
Guenter Obiltschnig
30e26b0d96 improved HTTPClientSession error handling for network errors handling during sending the request 2014-10-02 22:29:25 +02:00
Guenter Obiltschnig
cd67863852 #550 WebSocket fragmented message problem 2014-10-02 20:24:50 +02:00
Guenter Obiltschnig
5822122a12 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-09-29 12:17:40 +02:00
Guenter Obiltschnig
ff0e72c187 changed exception text 2014-09-29 12:17:21 +02:00
Günter Obiltschnig
a2617235fe #538 more dtor fixes and some style fixes along the way 2014-09-29 12:09:01 +02:00
Guenter Obiltschnig
135c10c0f5 #538 fixed ParallelSocketReactor dtor 2014-09-29 10:23:41 +02:00
Guenter Obiltschnig
cc52a8a3db improved HTTP server handling of errors while reading header 2014-09-25 14:12:21 +02:00
Guenter Obiltschnig
544229302e #538 prevent destructors from throwing exceptions 2014-09-19 09:46:49 +02:00
Günter Obiltschnig
ee25a49e9b wait time fixes to make testsuite complete successfully on WEC2013 2014-09-16 12:20:27 +02:00
Günter Obiltschnig
63f4bfa54b fixed NetworkInterface for WinCE
code cleanup in NetworkInterface class
IPAddress: do not format IPv6 loopback address as IPv4 compatible
workaround for WEC2013 getsockname() issue
testsuite fixes for WEC2013
2014-09-15 19:17:09 +02:00
Paul Rosset
069a980940 fixed websocket server to work with websocket.org 2014-08-29 10:28:05 +02:00
Pascal Bach
7950001803 cmake: Cleanup CMakeLists.txt for all components
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code

The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Aleksandar Fabijanic
c33809459d Merge pull request #522 from bakercp/bugfix-mingw32
MinGW32 Compatibility Fixes.
2014-08-21 22:20:43 -05:00
Christopher Baker
de82c34b43 Update Makefile to include Net.cpp compilation unit. 2014-08-21 16:21:53 -05:00
Christopher Baker
067adb9f2d Remove inlines to allow manual network inits. 2014-08-21 14:31:48 -05:00
Christopher Baker
e469e4fc62 Fix static init exceptions for MinGW*. 2014-08-21 14:27:51 -05:00
Christopher Baker
125310a26a Fix for GH #518 - Missing Error.h and int. 2014-08-20 22:19:34 -05:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00
Scott Davis
ad27e4b404 Remove troublesome last-ditch attempt to get IP address prefix 2014-07-21 10:29:17 -04:00
Alex Fabijanic
5d7d1d3c07 GH #481: 2 warnings during Poco compile 2014-07-09 20:35:47 -05:00
Anton Yabchinskiy
f320ce0a3b make HTTPAuthenticationParams::parse() add value on end of string 2014-07-08 12:32:43 +04:00
Aleksandar Fabijanic
3ef689e3f6 typo fix 2014-06-19 09:31:38 -05:00
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +02:00
Guenter Obiltschnig
62d69b7c6f #454 also applies to FTPStreamFactory 2014-05-31 12:48:09 +02:00
Guenter Obiltschnig
83405d6812 fixed #454: Fix: handle unhandled exceptions 2014-05-31 12:42:26 +02:00
Guenter Obiltschnig
db0999b2d6 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-05-30 16:10:43 +02:00
Guenter Obiltschnig
53d187a623 change NTP server use for testing to pool.ntp.org 2014-05-30 16:09:53 +02:00
Günter Obiltschnig
209a556d4e fixed project file 2014-05-30 15:35:39 +02:00
Günter Obiltschnig
127d067ffb fixed WEC2013 Net project files 2014-05-30 15:27:11 +02:00
Alex Fabijanic
e44df5a583 fixed GH #245: MulticastSocket::joinGroup(const IPAddress&) not working 2014-05-29 20:57:19 -05:00
ashults
df5b6990a5 retrieve broadcast address and subnet mask from IEEE802.11 network interface 2014-05-28 18:03:54 +03:00
Guenter Obiltschnig
1732938168 fixed WEC2013 project files 2014-05-27 23:00:54 +02:00
Günter Obiltschnig
92434a2d97 re-generated project files (again) 2014-05-26 12:54:18 +02:00
Günter Obiltschnig
c0e1b8764e regenerated project files 2014-05-26 09:02:22 +02:00
Aleksandar Fabijanic
731fb29fcc Merge pull request #344 from RangelReale/htmlformcontentlength
HTMLForm Content-Length calculation
2014-05-21 22:27:12 -05:00
Josh Blum
f442148670 poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64

For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.
2014-05-21 14:16:34 -07:00
Guenter Obiltschnig
501aa9de1f Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-05-19 21:44:34 +02:00
Guenter Obiltschnig
e7c109cdc4 update MailMessage::setContent() documentation to state that only CRLF is a valid line terminator and single CR or LFs must not be used 2014-05-19 17:29:41 +02:00
Günter Obiltschnig
78039673a2 Merge pull request #437 from kblaschke/develop
Close listening socket before stopping running connections
2014-05-19 17:12:30 +02:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Guenter Obiltschnig
a07df2c873 make NetworkInterface compile on WEC2013 again 2014-05-13 22:49:30 +02:00
Aleksandar Fabijanic
397aaea808 fix XP SP1 build number 2014-05-10 14:38:46 -05:00
Alex Fabijanic
ceef0c64ad GH #328: NetworkInterface on Windows XP 2014-05-10 14:32:45 -05:00
Scott Davis
a6ca6c06bc Use correct prefix length field of Windows IP_ADAPTER_PREFIX structure 2014-05-10 00:52:33 -04:00
Roger Meier
628a06f718 LICENSE: add info about SPDX-License-Identifier usage and use it
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Aleksandar Fabijanic
84f37e8ff5 Merge pull request #408 from guruofquality/fix_ipv4_tryparse_for_addr_any
Net: for for IPv4 case skipping 0.0.0.0
2014-05-03 13:00:54 -05:00
kblaschke
6c37cad87d Close listening socket before stopping running connections
If sending the serverStopped event to currently active connections
happens before actually closing the server socket, new connections will
be accepted in between, which in turn will stay open and prevent the
HTTP server from stopping completely.
2014-05-02 13:54:42 +02:00
Alex Fabijanic
ba3a8b08c5 GH #341: Compiling poco-1.5.2 for Cygwin 2014-04-29 23:06:01 -05:00
Guenter Obiltschnig
e044d77717 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-04-23 13:30:51 +02:00
Guenter Obiltschnig
f8169eabac updated SDK in WEC2013 project files 2014-04-23 13:30:27 +02:00
Günter Obiltschnig
85873d02c9 re-generated VS2013 testsuite projects without MFC 2014-04-21 22:10:34 +02:00
Günter Obiltschnig
12c7bb562d re-generated vs100-vs120 project files 2014-04-21 10:50:51 +02:00
Guenter Obiltschnig
00cd9dccec fixed IP address for ping tests (10.0.0.1 is reachable from build server) 2014-04-20 11:23:18 +02:00
Guenter Obiltschnig
fe6bf63656 TCPServer: do not reduce the capacity of the default ThreadPool 2014-04-09 18:12:46 +02:00
Günter Obiltschnig
b1bdf7f34c Merge pull request #418 from teemu-kemppainen/develop
Using #include <linux/if.h> conflicts with other libraries and code that use #include <net/if.h>
2014-04-09 12:56:16 +02:00
Guenter Obiltschnig
008ef308e7 HTMLForm: in URL encoding, percent-encode more characters 2014-04-04 00:12:10 +02:00
Teemu Kemppainen
7de3349b57 Changed #include <linux/if.h> to #include <net/if.h>
Including linux/if.h instead of net/if.h causes conflicts with applications that use net/if.h.
2014-04-03 16:36:29 +03:00
Günter Obiltschnig
b2ba1dfb74 -added Windows Embedded Compact 2013 support 2014-03-17 14:36:17 +01:00
Josh Blum
1923c460a5 Net: for for IPv4 case skipping 0.0.0.0 2014-03-14 23:24:17 -07:00
Pascal Bach
f20994e2c3 Add missing files to CMakeLists.txt
This makes Poco compile with CMake again.
2014-03-12 13:58:32 +01:00
Guenter Obiltschnig
f29e5786cf style fix 2014-03-09 15:53:04 +01:00
Günter Obiltschnig
d3d406dba8 Merge pull request #386 from cristiantm/fix-mailmessage
Fix for bug in MailMessage without content-transfer-encoding header
2014-03-09 15:45:29 +01:00
Guenter Obiltschnig
3ed477ce10 formatting fixes 2014-03-07 18:01:48 +01:00
karlr42
bf29f72cdf Refinement to ThreadPool::addCapacity() usage in TCPServer 2014-03-07 12:22:27 +00:00
karlr42
b509b7e91a Peroperly use the maxThreads specified in a TCPServerParameters to have the TCPServerDispatcher create a Threadpool with the correct capacity. 2014-03-06 19:44:54 +00:00
karlr42
715a09ff47 Added tests around the Priority attribute of cookies. 2014-03-06 16:29:17 +00:00
karlr42
7e2faf3bdf Better formatting. 2014-03-06 15:23:02 +00:00
karlr42
e060f109fd Added support for a 'Priority' attribute on cookies. 2014-03-06 15:20:36 +00:00
Aaron Kaluszka
fbdd7225ea Fix typo to restore Net/TestSuite_x64_vs120 build 2014-03-03 19:30:23 -08:00
Cristian Thiago Moecke
6b168771e0 Fix for bug in MailMessage reported on forum
(http://pocoproject.org/forum/viewtopic.php?f=12&t=6106&sid=9283682f915ea148d86813ea140cd3c7).
MailMessage was not handling encoding when no Content-Transfer-Encodign
header was not present for MultiPart messages, resulting on an
Exception. His fix checks if the header is present before getting is
value, and defaults to 7bit encoding as in
http://www.w3.org/Protocols/rfc1341/5_Content-Transfer-Encoding.html
2014-02-22 13:41:42 -03:00
Cristian Thiago Moecke
c3ffe405cf Fix to #380. DialogSocket was crashing (SIGSEGV) when a timeout occours. 2014-02-21 03:44:54 -08:00
Aleksandar Fabijanic
4bf66cdb86 Fixed VS 2012 project files 2014-02-01 10:10:37 -06:00
Alex Fabijanic
a2a4cccbc8 Add NTP to VS project files 2014-01-22 21:34:47 -06:00
Aleksandar Fabijanic
b57ca16dd9 Merge pull request #364 from RangelReale/ntpclient
* NTP client implementation
2014-01-21 17:57:35 -08:00
Linquize
c2ca2ffb58 Build the libraries before their TestSuites
Fixes error LINK : fatal error LNK1104: cannot open file 'Poco*.lib'
2014-01-16 08:03:42 +08:00
Rangel Reale
e37b756157 * NTP client implementation 2014-01-13 15:04:27 -02:00
Günter Obiltschnig
f8c525206a fixed project files 2014-01-11 23:40:06 +01:00
Yu Haidong
8e852b4776 Add extern "C" around <net/if.h> on HPUX platform.
On hpux platform, functions(such as `if_nametoindex` and `if_indextoname`) in <net/if.h> doesn't declare with `extern "C"`. Fix this bug by add `extern "C"`. See http://www.boost.org/doc/libs/1_40_0/boost/asio/detail/socket_ops.hpp
2013-12-24 11:01:20 +08:00
Guenter Obiltschnig
8b456cd293 add error code to TimeoutException, where available 2013-12-13 12:34:42 +01:00
Rangel Reale
0d2a839f79 * Multipart form content length calculation
* HTMLForm test
2013-12-04 18:19:20 -02:00
Guenter Obiltschnig
cc224cdd52 minor fix 2013-11-16 18:05:43 +01:00
Guenter Obiltschnig
72ed9a4997 updated TwitterClient to use new Twitter API 1.1 and OAuth 2013-11-16 17:30:16 +01:00
Guenter Obiltschnig
8f07db4aa3 various fixes - see CHANGELOG 2013-11-14 21:54:41 +01:00
Alex Fabijanic
1c732e9938 removed MFC dependencies (WinTestRunner) from test VS projects 2013-11-07 23:31:30 -06:00