Commit Graph

220 Commits

Author SHA1 Message Date
Aleksandar Fabijanic
32cc64a5b8 SF# 3563626: For Win32 set Up/Running flags on NetworkInterface 2012-09-06 03:59:16 +00:00
Aleksandar Fabijanic
26d7402aff SF# 3560807: Deprecate setPeerAddress() as this is now done in getifaddrs 2012-09-06 03:32:53 +00:00
Aleksandar Fabijanic
a221b14522 porting rev.1998 from 1.4.4 (except ODBC, which will be done later, and SQLite, which was ported in rev.1999) 2012-09-05 02:43:06 +00:00
Aleksandar Fabijanic
9609379003 QNX fix for loopback subnet mask (SF 3012166) 2012-09-04 03:16:48 +00:00
Marian Krivos
6cfbb73e6f fix API compatibility for const Poco::Net::IPAddress& Poco::Net::NetworkInterface::address(unsigned int = 0) const 2012-08-27 12:54:49 +00:00
Aleksandar Fabijanic
1e5e050471 fix for interface up check on bsd and linux 2012-08-26 05:26:43 +00:00
Aleksandar Fabijanic
7093d032e4 fixes for linux compile/tests 2012-08-26 05:08:42 +00:00
Aleksandar Fabijanic
8a84ef0e86 SF#3560762: NetworkInterface::map ignores iponly flag 2012-08-26 04:47:44 +00:00
Aleksandar Fabijanic
ae45a2d311 porting 1.4.4 rev. 1929, 1939 (SF# 3552680 et. al) 2012-08-23 04:27:50 +00:00
Aleksandar Fabijanic
91b3ca4421 port of 1.4.4 rev. 19278 (fixed SF# 3475050) 2012-08-23 03:27:44 +00:00
Aleksandar Fabijanic
0dc113b2f3 SF#3500438: HTTPResponse failure when reason is empty 2012-08-22 02:28:00 +00:00
Aleksandar Fabijanic
4652c7cb8b - fixed SF#3489816: MessageHeader::MAX_VALUE_LENGTH too small
- port rev. 1970 from 1.4.4: added timeout to SocketReactorTest::testSocketConnectorFail() to avoid the test from running for a very long time on Linux/OS X
2012-08-22 01:40:50 +00:00
Aleksandar Fabijanic
a77bfefd69 - SF#3560505: NetworkInterface's ::forIndex, etc. methods must select all
- Util::Win x64 ifdefs
- RowFromatter documentation correction
2012-08-22 01:18:33 +00:00
Aleksandar Fabijanic
90a8e859bf - SF #3552774: Don't hide default target in subordinate makefile
- SF #3534307: Building IPv6 for Linux by default
- SF #3516844: poco missing symbols with external >=lipcre-8.13 
- fix of rev. 1952 fix (porting rev.1913 from 1.4.4 (fixed SF# 3550553))
2012-08-20 00:57:17 +00:00
Aleksandar Fabijanic
06204c4865 SF #3559331: Add macros for byte-ordering 2012-08-19 17:02:03 +00:00
Aleksandar Fabijanic
111fba0481 SF# 3559332: Add macros for well-known multicast addresses 2012-08-19 04:24:17 +00:00
Aleksandar Fabijanic
88134859e4 - fix of the Timer fix from rev. 1953
- improved UTFString definitions
- allow empty Glob (testMatchEmptyPattern() failing)
- fixed SF#3535990: POCO_HAVE_IPv6 without POCO_WIN32_UTF8 conflict
2012-08-18 21:09:50 +00:00
Aleksandar Fabijanic
e4baf46d7b porting rev. 1916 from 1.4.4 branch (fixed SF# 3532311) 2012-08-18 17:06:26 +00:00
Aleksandar Fabijanic
e7f2ade581 SF 3558085: Add formatter to MACAddress object 2012-08-17 04:07:18 +00:00
Aleksandar Fabijanic
84ca64e283 OSX compile fix 2012-08-17 03:23:47 +00:00
Aleksandar Fabijanic
08a788a41c NetworkInterface Solaris support 2012-08-17 02:50:34 +00:00
Aleksandar Fabijanic
5568621020 Mac OSX NetworkInterface compile fixes 2012-08-14 03:02:34 +00:00
Aleksandar Fabijanic
676675edc7 NetworkInterface fixes/improvement 2012-08-14 00:34:38 +00:00
Aleksandar Fabijanic
e8931a928c Linux compile fix 2012-08-13 02:53:06 +00:00
Aleksandar Fabijanic
273b9c92f8 more improvements/redesign, mostly Windows related 2012-08-13 01:58:35 +00:00
Aleksandar Fabijanic
20d5b2d2fb Networkinterface, Linux portion (with some additions and Windows changes, still WIP) 2012-08-12 21:14:48 +00:00
Aleksandar Fabijanic
b5d704bfeb - NetworkInterface Windows improvements (detect broadcast address rather than calculate it)
- site-local IPv6 prefix (RFC4291)
NOTE: other platforms compilation still broken (WIP)
2012-08-11 16:45:48 +00:00
Marian Krivos
2371cae637 revert 2012-08-10 21:32:45 +00:00
Marian Krivos
1b4b83550a fix setOption() for IPV6 multicast compiling on gcc 4.6 2012-08-10 07:07:06 +00:00
Aleksandar Fabijanic
7055e06cc5 SF3012166 - IPv6 patch
lots of NetworkInterface changes (windows only, other platforms are not yet updated and currently the compilation is broken)
2012-08-09 01:49:00 +00:00
Marian Krivos
f8bfe8cb0a fix whitespaces 2012-07-31 20:08:41 +00:00
Marian Krivos
8ea4fa9c36 fix crash under linux IPV6 in NetworkInterface::list() if currIface->ifa_addr is NULL 2012-07-31 20:03:36 +00:00
Marian Krivos
a00602dd37 cmake fixes for JSON adding 2012-07-31 06:44:40 +00:00
Marian Krivos
a31370fa55 documentation fixes 2012-07-31 05:47:28 +00:00
Marian Krivos
fe0ba56dc4 backport initialisation of _seq member and some static checking for ICMP packet 2012-07-31 05:46:08 +00:00
Aleksandar Fabijanic
672d4758c3 - ifdef'd IPv6 tests
- fixed const-ness of stream() member functions to MemoryReader/Writer
2012-07-31 04:25:32 +00:00
Aleksandar Fabijanic
d1a1d54f58 fix for shifting prefix bits 2012-07-31 03:50:28 +00:00
Aleksandar Fabijanic
219a945cc9 - added IPaddress::prefixLength
- return MemoryStreams from MemoryWriters
2012-07-30 04:22:25 +00:00
Aleksandar Fabijanic
03ddca58f5 porting rev.1894 to trunk 2012-07-27 02:01:39 +00:00
Aleksandar Fabijanic
348ca08e7a OSX compile IPAddress fixes 2012-07-26 03:23:16 +00:00
Aleksandar Fabijanic
d56a7a1ee6 SF #3538785: SMTPClientSession::sendMessage() should take recipient list 2012-07-23 04:32:26 +00:00
Aleksandar Fabijanic
2ebe065a37 IPAddress:
- bitwise operators (&,|,^,~)
- BinaryReader/Writer << and >> operators
- force IPv6 always lowercase (RFC 5952)
2012-07-21 01:45:19 +00:00
Aleksandar Fabijanic
2512b7a366 SF 3538778 - NetworkInterface enumeration uses deprecated API 2012-07-20 00:44:10 +00:00
Aleksandar Fabijanic
acf820c46d VS 2008 project files and build fixes 2012-07-12 05:21:01 +00:00
Aleksandar Fabijanic
1bd21292e7 SF 3538780 SocketAddress needs operator < function 2012-07-11 02:55:27 +00:00
Marian Krivos
114de565ff added cmake support 2012-06-26 12:37:02 +00:00
Marian Krivos
144817e28c backport SMTPLogger 2012-06-26 12:33:34 +00:00
Aleksandar Fabijanic
d9dd2a81bd HTTPServer::stopAll(): close the socket instead of just shutting it down, as the latter won't wake up a select() on Windows 2012-06-21 02:18:31 +00:00
Aleksandar Fabijanic
771d5ed0b0 Prefix-based constructors for IPAddress 2012-06-12 03:16:44 +00:00
Aleksandar Fabijanic
4bb6e0ff42 Updated SocketReactor sample with FIFOBuffer. 2012-05-30 02:56:32 +00:00
Aleksandar Fabijanic
484510dec5 support for FIFOBuffer in StreamSocket::read/writeBytes() 2012-05-19 05:16:42 +00:00
Aleksandar Fabijanic
9b952a29c7 ported 1.4.4 branch changes (needs build checks and test runs!) 2012-05-19 03:04:51 +00:00
Aleksandar Fabijanic
369ca9cd52 fixed SF# 3522906: Unregistering handlers from SocketReactor 2012-05-04 03:39:24 +00:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
a68b9a114f POSIX poll() support 2012-04-28 19:07:15 +00:00
Aleksandar Fabijanic
a9cef39021 fcntl patch for UNIX platforms; code compiled and tests run on Mac & Win 2012-04-26 02:57:16 +00:00
Aleksandar Fabijanic
d75e68c027 new trunk (base for 1.5)
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Guenter Obiltschnig
2ce14cafb5 added progen files 2012-04-20 15:33:17 +00:00
Marian Krivos
a002f13be2 trunk: updated standard VS2010 sln to include x64 support (all in one) 2012-02-11 12:13:15 +00:00
Marian Krivos
d106d0726c trunk: fixed vs2010 project with websocket 2012-02-05 12:54:55 +00:00
Marian Krivos
d066518edd trunk: add websocket class 2012-02-05 12:29:46 +00:00
Marian Krivos
7d7c02c579 trunk: backport eventing from 1.4.3 2012-02-05 12:16:58 +00:00
Marian Krivos
1d101207f9 trunk: backport changes from 1.4.3 2012-02-04 21:15:22 +00:00
Marian Krivos
73426e13e7 trunk: backport fixes for FTPClientSession 2012-02-04 17:39:15 +00:00
Marian Krivos
8b70c37260 trunk: sync from 1.4.3
make & cmake fixes
2012-02-04 17:03:09 +00:00
Marian Krivos
218b06621d trunk: split cmake debug/optimize build 2 2012-01-08 19:10:15 +00:00
Marian Krivos
7cb622a445 trunk: split cmake debug/optimize build 2012-01-07 13:45:03 +00:00
Marian Krivos
45d3f03f14 backport changes from 1.4.3 branch 2012-01-07 11:07:00 +00:00
Marian Krivos
6268aa3865 backport changes from 1.4.3 branch 2012-01-07 11:06:14 +00:00
Marian Krivos
eb266f8a57 Set cmake produced shared libraries numbering to standard scheme (trunk = 12)
Sync latest Foundation changes from 1.4.2
2011-09-15 08:31:51 +00:00
Marian Krivos
b242f2c8d1 Net: near complete merge to 1.4.2 2011-09-14 18:20:11 +00:00
Marian Krivos
0ac146cb9e cmake improvements: test and samples are from now disabled by default, you can enable this option with cmdline option to cmake: '-DENABLE_TESTS=1'
minimum required CMAKE version is 2.6 from now
2011-01-22 11:46:03 +00:00
Aleksandar Fabijanic
8d928d0c00 workaround for vista service automatic WSAStartup() crash issue 2010-04-03 14:09:48 +00:00
Sergey N. Yatskevich
bf87d53ac7 - remove kqueue support from Socket::select and SocketImpl::poll.
This code does not work well, I am sorry.
2010-04-01 11:30:30 +00:00
Aleksandar Fabijanic
99242a4862 -removed #warning (not portable)
- modified appinf IP address
2010-03-31 12:26:52 +00:00
Sergey N. Yatskevich
acba77b3ce Add support of epoll and kqueue into Socket::select and SocketImpl::poll 2010-03-31 10:47:46 +00:00
Aleksandar Fabijanic
ee893eb764 moved poll into select 2010-03-29 01:37:52 +00:00
Aleksandar Fabijanic
5eb44ce36b SF [2851197] IPAddress ctor throw keyword missing 2009-09-04 18:30:46 +00:00
Marian Krivos
c5b2daa36c cmake build system fix - debug version of ther library was striped and vice versa 2009-08-26 12:26:22 +00:00
Marian Krivos
c8e2c4f010 fix for change for SF# 2807639 2009-06-22 11:16:52 +00:00
Guenter Obiltschnig
c93c16008b integrated changes from 1.3.5 2009-06-16 17:04:40 +00:00
Aleksandar Fabijanic
589de05652 removed comments from code 2009-05-28 12:14:17 +00:00
Marian Krivos
08f24cb0a4 recommit of lost change - SIGSEGV on poll() with socfd == -1 2009-05-28 11:19:59 +00:00
Aleksandar Fabijanic
c76ec8b854 simplified the Ping sample 2009-05-18 19:38:35 +00:00
Marian Krivos
29014a940c fix after latest refactoring of NObserver.h 2009-04-27 19:27:49 +00:00
Marian Krivos
1afd0a8328 bugfix #2781776 - cmake instals .svn directories 2009-04-27 19:22:30 +00:00
Guenter Obiltschnig
9cb9229a4e socket initialization and other fixes 2009-04-14 11:02:21 +00:00
Aleksandar Fabijanic
0b6fd120c5 #if POCO_HAVE_IPv6 => #if defined(POCO_HAVE_IPv6) 2009-04-04 15:59:52 +00:00
Aleksandar Fabijanic
7007646ea2 removed comma after last enum member (Sun CC warning) 2009-03-30 15:01:19 +00:00
Guenter Obiltschnig
a790bba33c replaced plain pointers with smart pointers in various interfaces 2009-03-24 10:40:58 +00:00
Guenter Obiltschnig
37e6fa383a fixes from 1.3.4 2009-03-24 09:23:21 +00:00
Guenter Obiltschnig
4eaa99a0bb added TwitterClient sample 2009-03-13 15:45:07 +00:00
Guenter Obiltschnig
25fc7512ad - fixed SF# 2644940: on Windows the COMPUTER-NAME and the HOSTNAME can be different 2009-03-13 13:22:51 +00:00
Marian Krivos
5f35304974 fix for socket poll() crash when (fd == -1) 2009-03-12 12:47:00 +00:00
Aleksandar Fabijanic
3878959ac0 moved POCO_HAVE_FD_POLL from Net to Foundation 2009-03-11 01:10:57 +00:00
Aleksandar Fabijanic
9bef44cab6 SF [2512027] FTPClientSession reconnect capability
removed unused variable in Socket::poll()
2009-02-26 02:37:29 +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