Commit Graph

506 Commits

Author SHA1 Message Date
Guenter Obiltschnig
28320ddb1e fixed GH# 188: Net: SocketAddress operator < unusable for std::map key 2013-05-24 22:06:15 +02:00
Guenter Obiltschnig
d12c06c5d6 fixed GH# 172: IPv6 Host field is stripped of Brackets in HTTPClientSession [testsuite] 2013-05-24 21:39:47 +02:00
Guenter Obiltschnig
94ee8fa76e fixed GH# 172: IPv6 Host field is stripped of Brackets in HTTPClientSession 2013-05-24 21:08:10 +02:00
Guenter Obiltschnig
1f800c0a2b fixed GH# 173: HTTPClientSession::proxyConnect forces DNS lookup of host names 2013-05-24 19:46:34 +02: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
Marian Krivos
ac01609444 cmake scripts for all tests 2009-02-21 20:19:53 +00:00
Guenter Obiltschnig
fa1658b23a integrated improvements from 1.3.4 (NumberFormatter::append(), DateTimeFormatter::append() 2009-02-21 10:59:58 +00:00
Marian Krivos
24e706aa2a added Data, Foundation, Net and Util samples + some global cmake fixes - second portion 2009-02-19 20:38:07 +00:00
Marian Krivos
129f21cc79 added Data, Foundation, Net and Util samples + some global cmake fixes 2009-02-19 20:35:03 +00:00
Marian Krivos
16cdb4b127 cmake runtime install support (headers+libs) 2009-02-18 20:47:32 +00:00
Guenter Obiltschnig
717dd9cf45 performance improvements from 1.3.4 2009-02-18 13:25:01 +00:00
Marian Krivos
5b320c2894 Very basic but functional (at least on linux with gcc) support
for CMake build system
. 
It is strongly recomended to use out-of-source build to preserve
original Poco makefiles.

http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

I have tested unix makefile generating and Eclipse CDT4 generating.

Supported are static/dynamic and debug/release targets. 
On now only core libs are included: CppUnit, Foundation,
Data, Data/SQLite, Util, Net and XML. But autodetection
of OpenSSL, MySQL and ODBC is working OK already.

CPack and CTest nor library install still doesn't work, only building.

This is only the start.
2009-02-15 15:49:19 +00:00
Marian Krivos
ec7c34dec4 Compilation fix for gcc 4.3.3: string.h + memset() || cstring + std::memset() 2009-02-14 15:47:11 +00:00
Guenter Obiltschnig
37dc590bdf performance improvements to DateTimeParser and HTTP server 2009-02-01 20:27:19 +00:00
Aleksandar Fabijanic
8abc90f989 [SF 2466364] Uninitialised variable in ICMPv4PacketImpl.cpp 2009-01-13 14:06:46 +00:00
Aleksandar Fabijanic
ab0684a1cd poll() support (tested on Solaris and Linux)
array delete policy for SharedPtr
2008-12-03 20:38:53 +00:00
Aleksandar Fabijanic
5b31c46b16 some tidy-up and struct alignment compile-time check 2008-10-27 15:02:10 +00:00
Guenter Obiltschnig
2a26ce18d0 fixed SF# 2123301: 1.3.3 Network Interface missing constructor 2008-09-26 09:32:54 +00:00
Guenter Obiltschnig
8e58146848 Socket::select and SocketReactor improvements 2008-09-21 18:36:40 +00:00
Guenter Obiltschnig
f5c33e77fb fixed NetworkInterface for Windows 2008-09-17 15:43:14 +00:00
Guenter Obiltschnig
57762a2cfc fixed various bugs (see SF tracker) 2008-09-16 17:26:28 +00:00
Aleksandar Fabijanic
795601ec64 removed comma after AUTH_LOGIN 2008-07-08 11:55:53 +00:00
Aleksandar Fabijanic
444c9ec421 Added SMTPLogger to VS90 projects 2008-07-07 17:15:19 +00:00
Guenter Obiltschnig
7fc2462ed1 fixed SF# 2009707 small bug in Net/ICMPPacketImpl.cpp 2008-07-03 13:00:53 +00:00
Guenter Obiltschnig
c23141fa4d added release scripts 2008-06-09 18:42:07 +00:00
Guenter Obiltschnig
076c301460 fixed SF# 1985180: Poco::Net::DNS multithreading issue 2008-06-09 14:21:56 +00:00
Guenter Obiltschnig
4ec68cecaf fixed SF# 1956300: HTTPServerConnection hanging 2008-05-02 16:41:14 +00:00
Aleksandar Fabijanic
537ec8aca3 fixed typo 2008-04-19 19:13:26 +00:00
Guenter Obiltschnig
dc9fb44829 added SMTP auth support contributed by TAC 2008-04-15 10:58:16 +00:00
Aleksandar Fabijanic
1c393ae9ab VS 71 projects and solutions 2008-03-27 14:53:54 +00:00
Aleksandar Fabijanic
5d5c7a0586 VS 90 solution and project files updated for IO 2008-03-24 12:36:29 +00:00
Aleksandar Fabijanic
e41a7aef2e moved IO (sync and async) from Foundation and Net to IO, IO::Serial and IO::Socket;
only MS VS80 and Unix Makefiles are up to date with this modification
2008-03-22 21:28:05 +00:00
Aleksandar Fabijanic
4ffed92894 some MSVC Level 4 warning fixes 2008-03-17 14:27:29 +00:00
Aleksandar Fabijanic
c91bd3323c - SocketIOChannel and tests
- some gcc warning fixes
2008-03-01 14:57:15 +00:00
Aleksandar Fabijanic
5bf096bb2a - SF [1800596] VS Solutions (ver. 8.0 and 9.0)
- SF [1621372] Build Scripts (all Windows scripts consolidated in one)
- eliminated warnings in sqlite3.c
- updated components file
2008-02-17 17:14:33 +00:00
Guenter Obiltschnig
e4d9b3b40f fixed line endings 2008-02-07 16:08:15 +00:00
Guenter Obiltschnig
b526dd81f2 changes from main repository 2008-01-29 09:06:52 +00:00
Guenter Obiltschnig
2986d273a1 synced with main repository 2008-01-28 17:34:07 +00:00
Aleksandar Fabijanic
5f7122d21b SMTPChannel and SMTPLogger example 2008-01-23 02:43:09 +00:00
Eran Hammer-Lahav
1f47c0df2f Feature Request #1873924
Add code (int) to Poco::Exception with default value zero. When throwing exceptions, applications can currently set a custom message. This will add the ability to set a custom code as well, that is specific to the application. This change implements codes for Poco::SocketImpl via the error() method to allow handling of different socket errors based on their actual type (without having to compare their message text).
2008-01-17 19:07:35 +00:00
Eran Hammer-Lahav
19dca2aa79 Feature Request #1873922
Add project and solution files for Visual Studio 2008
2008-01-17 18:07:39 +00:00
Eran Hammer-Lahav
549d2751b1 Feature Requests item #1873929
Add ability to include name in SMTP sender field
2008-01-17 16:49:03 +00:00
Guenter Obiltschnig
a04bae94d7 synchronized trunk 2007-08-10 13:57:07 +00:00
Guenter Obiltschnig
1e659df827 added AsyncIO 2007-06-18 07:02:09 +00:00
Guenter Obiltschnig
f7b1357ec6 latest sources from main repository 2007-06-13 15:14:53 +00:00
Aleksandar Fabijanic
c865b42353 eclipse projects 2007-05-16 19:22:45 +00:00
Guenter Obiltschnig
cf80f255be committed 1.3 release 2007-05-07 16:46:23 +00:00
Guenter Obiltschnig
be44df77fd latest changes from main rep 2007-05-05 13:15:55 +00:00
Guenter Obiltschnig
ed4789b844 latest changes from main rep 2007-05-04 11:06:33 +00:00
Guenter Obiltschnig
0fc23174be integrated latest changes from main repository 2007-05-01 09:35:46 +00:00
Guenter Obiltschnig
cf20ff1bd7 latest changes from main repository; added eclipse cdt project files 2007-04-28 12:05:15 +00:00
Guenter Obiltschnig
adfaac6703 latest changes from main repository; added eclipse cdt project files 2007-04-28 09:34:20 +00:00
Guenter Obiltschnig
d30a402069 improvement to AbstractHTTPRequestHandler 2007-04-27 15:19:33 +00:00
Guenter Obiltschnig
ba1384e12d latest changes from main repository 2007-04-25 14:32:55 +00:00
Guenter Obiltschnig
6b529b6061 committed latest 1.3 snapshot 2007-04-18 16:25:02 +00:00
Guenter Obiltschnig
dfe559af3b changes from main repository 2007-02-27 08:56:44 +00:00
Guenter Obiltschnig
d6b783cc3b integrated changes from main rep 2007-02-25 09:17:38 +00:00
Guenter Obiltschnig
5a2a425002 sync to internal repository 2007-02-23 14:41:53 +00:00
Guenter Obiltschnig
8a498c2e19 fix for MultipartWriter leading CR-LF bug 2007-01-11 12:41:30 +00:00
Guenter Obiltschnig
3941965bce integrated changes from main repository 2007-01-04 08:01:43 +00:00
Guenter Obiltschnig
431807f25e integrated changes from main repository 2006-12-28 12:51:57 +00:00
Guenter Obiltschnig
fa8fde4880 integrated changes from main rep 2006-12-28 11:22:24 +00:00
Guenter Obiltschnig
d9d531350d integrated changes from main repository 2006-12-27 15:16:22 +00:00
Guenter Obiltschnig
851bd49554 sources from main repository 2006-12-22 09:57:44 +00:00
Guenter Obiltschnig
c240a70569 sources for 1.3 2006-11-17 16:38:28 +00:00
Guenter Obiltschnig
0c24077c43 set eol-style to native 2006-10-23 16:25:09 +00:00
Guenter Obiltschnig
072ba74f28 changes for 1.2.5 2006-10-23 15:33:11 +00:00
Guenter Obiltschnig
5638037326 integrated changes from main 2006-10-13 12:39:45 +00:00
Guenter Obiltschnig
89111b52b3 integrated changes from main repository for upcoming 1.2.5 release 2006-10-12 15:08:28 +00:00
Guenter Obiltschnig
245e2f7e83 integrated changes for 1.2.3 2006-09-14 16:48:30 +00:00
Guenter Obiltschnig
a01116ca11 integrated changes for 1.2.3 2006-09-14 16:46:36 +00:00
Guenter Obiltschnig
caf2a640df changes for 1.2.2 2006-08-31 14:47:59 +00:00
Guenter Obiltschnig
81ddac4ead bugfixes for upcoming 1.2.2 release 2006-08-31 09:33:39 +00:00
Guenter Obiltschnig
2d4078f392 submitted 1.2.0 2006-08-29 07:10:35 +00:00
Guenter Obiltschnig
f476bd6b32 initial import 2006-07-11 16:33:40 +00:00