Commit Graph

678 Commits

Author SHA1 Message Date
aleks-f
2392f34974 GH #127: Eliminate -Wshadow warnings
- fixed GH #127: Eliminate -Wshadow warnings
- SocketAddress small object optimization
2013-03-17 01:28:01 -05:00
aleks-f
ea57bf8207 renamed getPartStore() to createPartStore() 2013-03-11 20:49:36 -05:00
aleks-f
ad077b8f3f MailMessage: attachments saving and read/write
MailMessage: attachments saving support and consistent read/write
2013-03-10 23:36:04 -05:00
aleks-f
46c3d74c5f RecursiveDirectoryIterator and ListMap
1) Recursive and SortedDirectoryIterator

- added to VS projects
- fixed some style/formatting
- fxed windows tests

2) Added ListMap

Poco::ListMap is a std::mulitimap-like container that preserves
insertion order (needed to prevent Net message headers)
2013-03-10 12:25:47 -05:00
aleks-f
4e3ff72803 GH 109: Bug in SMTPClientSession::loginUsingPlain
- fixed GH# 109: Bug in Poco::Net::SMTPClientSession::loginUsingPlain
2013-02-27 12:41:17 -06:00
aleks-f
c311263eed align with 1.4.6 2013-02-27 00:32:31 -06:00
aleks-f
03530311b8 GH71: WebSocket and broken Timeouts
fixed GH# 71: WebSocket and broken Timeouts (POCO_BROKEN_TIMEOUTS)
2013-02-26 22:39:17 -06:00
aleks-f
6d613869cc GH110: WebSocket accept() fails when Connection header contains multiple tokens
fixed GH #110: WebSocket accept() fails when Connection header contains
multiple tokens
2013-02-26 12:09:36 -06:00
Marian Krivos
9349786415 cmake and gcc warning fixes 2013-02-19 06:16:12 +01:00
aleks-f
7354713433 GH #93: ParallelSocketAcceptor virtual functions
- fixed GH #93: ParallelSocketAcceptor virtual functions
- updated CHANGELOG
2013-02-18 14:31:27 -06:00
aleks-f
9378680c0b Merge remote-tracking branch 'origin/ip-address-soo' into develop 2013-02-17 16:33:44 -06:00
Guenter Obiltschnig
0ab5c9dcf6 added DNS::reload() 2013-02-14 16:35:04 +01:00
Guenter Obiltschnig
b3a3ece54e HTTPSession: always reset buffer pointers on connect to clear any leftover data from previous requests 2013-02-14 16:27:47 +01:00
aleks-f
4bcddad43e auto-init for db back-ends
Auto initialization for all DB back-ends and some tidy-up for network
windows auto initialization
2013-02-10 09:06:54 -06:00
aleks-f
d6042065ec Auto init for Net and SQLite (win)
Auto init for Net and SQLite (only tested on Windows)
2013-02-09 22:39:07 -06:00
aleks-f
21da0129b6 Dynamic::Var SOO
Dynamic::Var  small object optimization and some refactoring
2013-02-05 22:12:21 -06:00
Alex
1523a87926 IPAddress Mac clang compile 2013-02-03 20:19:14 -06:00
aleks-f
ba9d8574d3 few more fixes and refactoring 2013-02-02 15:10:20 -06:00
aleks-f
911f22508e Any SOO 2013-01-31 21:12:13 -06:00
aleks-f
69f5d4e25e destructor call and some cleanup 2013-01-24 23:34:40 -06:00
aleks-f
f9243c2073 Removed old net initialization code 2013-01-17 23:01:13 -06:00
aleks-f
47af51fdfb First stab (Windows) at IPAddress SOO 2013-01-15 22:57:27 -06:00
aleks-f
76a7e2e716 GH56: Need a way to disable *_API macros with GCC
GH #56: Need a way to disable *_API macros with GCC
2013-01-13 10:31:21 -06:00
aleks-f
a401cdf892 spaces -> tabs 2013-01-06 21:19:38 -06:00
aleks-f
5970207b06 GH #49: NetworkInterface::list doesn't return MAC
GH #49: NetworkInterface::list doesn't return MAC addresses
2013-01-05 19:56:34 -06:00
aleks-f
73a3a5e288 added POCO_ENOERR
silence gcc warning and shiled from accidentally throwing on no error
2013-01-05 15:00:25 -06:00
aleks-f
0d9e18ba7c Merge remote-tracking branch 'origin/ParallelReactor' into develop 2013-01-05 14:33:43 -06:00
aleks-f
6b832a2485 change sleep to yield 2013-01-05 12:04:32 -06:00
alex
161ea4ec18 unbundled build fixes 2013-01-05 00:04:09 -06:00
aleks-f
6b03dbeeeb revert typename to class 2013-01-04 19:53:51 -06:00
aleks-f
959e5725a3 gcc/clang compile fix 2013-01-04 19:49:28 -06:00
aleks-f
f0cefd2976 added ParallelSocketAcceptor and Reactor w/ tests
ParallelSocketAcceptor and Reactor provide parallel (threaded) data
handling
2013-01-03 23:41:38 -06:00
Aleksandar Fabijanic
666fe51a7b fixed VS90 Foundation projects 2012-12-26 22:24:49 -06:00
aleks-f
9f76b49ac0 some last minute changes
- ifdef network initialization linking for 64-bit
- corrected too largument in windows build script shortcuts
- added LineEndingConverter sample
2012-12-26 18:30:52 -06:00
Alex
322316608b Cygwin build (disable NetworkInterface)
#idef'd out all references to NetworkInterface to be able to compile on
platforms where it is not supported (e.g. Cygwin, vxWorks)
2012-12-24 01:11:27 -06:00
aleks-f
007659a107 exclude NetworkInterface where not supported
Exclude NetworkInterface and MulticastSocket on platforms where we do
not have network interface detection implemented
2012-12-23 16:05:16 -06:00
aleks-f
8fe3a398af Net Windows automatic (un)initialize
automatic network (un)initialization on windows
NumericString 64-bit compile/warning fixes
2012-12-19 00:38:18 -06:00
Mathäus Mendel
c1c01feef4 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2012-12-16 14:40:30 -02:00
Mathäus Mendel
0b4d541b5b Removed shotgun initialization from some variables
Shotgun initialization is when a variable is initialized twice needlessly, leading to performance gaps  and/or code inconsistency.
2012-12-16 14:30:52 -02:00
Aleksandar Fabijanic
1e2f5d1f93 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2012-12-15 21:57:25 -06:00
Aleksandar Fabijanic
55de6b17cf Merge remote-tracking branch 'origin/SMTPClientSession-send-multipart' into develop 2012-12-15 21:56:59 -06:00
aleks-f
1ea4b41dad added ifconfig to samples Makefile 2012-12-14 15:30:24 -06:00
aleks-f
60b0879b50 updated sample description 2012-12-14 14:44:44 -06:00
aleks-f
f4121bcb92 few ifconfig sample fixes 2012-12-14 12:34:45 -06:00
aleks-f
47b8da7362 ifconfig sample
ifconfig sample (contribution by Philip Prindeville)
2012-12-13 22:53:47 -06:00
aleks-f
ef9cda6666 GH #26: Cannot compile on gcc
GH #26: Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06:00
aleks-f
98c3709b59 SF #111 FTP Client logging
apparently code that never got transferred from svn trunk
(see https://sourceforge.net/p/poco/patches/111/)
2012-12-11 23:07:38 -06:00
aleks-f
2b1de7e427 SF#215 Wrong return type in SocketConnector.h 2012-12-11 21:47:47 -06:00
aleks-f
25ea8ba735 SF542 SocketAddress() needs port-only constructor 2012-12-11 21:39:20 -06:00
Aleksandar Fabijanic
1b173da717 write entire input FIFO
remove length argument from _fifoOut.write(), defaulting to the
entire _fifoIn content write attempt (including any previous call "leftovers")
2012-12-11 10:59:51 -06:00
Mathäus Mendel
e3649153b8 Fixed build with CMake
Used CMAKE_DEBUG_POSTFIX instead LIB_EXT for library name decoration on debug builds (less intrusive and more flexible)
2012-12-08 15:54:38 -02:00
aleks-f
eaa74307a6 see CHANGELOG
- added Poco::istring (case-insensitive string) and Poco::isubstr
(case-insensitive substring search)
- improved SQLite execute() return (affected rows) value
- added SQLite sys.dual (in-memory system table)
- applied SF Patch #120: The ExpireLRUCache does not compile with a
tuple as key on Visual Studio 2010
- fixed SF Bug #599: JSON::Array and JSON::Object size() member can
implicitly lose precision
- fixed SF Bug #602: iterating database table rows not correct if no
data in table
- fixed SF Bug #603: count() is missing in HashMap
- fixed GH #23: JSON::Object::stringify throw BadCastException
- fixed GH #16: NetworkInterface::firstAddress() should not throw on
unconfigured interfaces
- Android compile/build support (by Rangel Reale)
- TypeHandler::prepare() now takes const-reference
2012-12-04 23:33:44 -06:00
aleks-f
401415773f Moved GCC ifdefs to Platform_POSIX
Moved GCC ifdefs added for Android fron SocketDefs.h to Platform_POSIX.h
2012-12-02 22:37:02 -06:00
Aleksandar Fabijanic
6d2881ef34 Merge pull request #3 from RangelReale/mobilefixes
Android and iOS fixes
2012-12-02 20:28:22 -08:00
aleks-f
49a0b4116e Document NetworkInterface::firstAddress() throw
Documented NetworkInterface::firstAddress() throwing NotFoundException;
see the pull request for details:

https://github.com/pocoproject/poco/pull/16
2012-12-02 22:20:12 -06:00
aleks-f
134558f926 double-conversion floating-point conversions
- using double-conversion library for floating-point numeric/string
conversions
- added string replace[InPlace], remove[InPlace]
- reverted overwritten FileChannel purge age and count features
- file size value checks in SMTPClient
2012-12-01 14:10:09 -06:00
Patrick White
6092a233d3 Add cmakefiles to gitignore, and remove Route.cpp from cmake file. 2012-11-28 14:48:50 -05:00
aleks-f
a259991568 added ListMap
ListMap is a map that does not order elements; used in
NameValueCollection to prevent reordering of message headers
2012-11-15 00:16:31 -06:00
Aleksandar Fabijanic
671b537500 Merge pull request #4 from RangelReale/cmakefixes
CMake fixes
2012-11-11 16:06:04 -08:00
aleks-f
ff0d090798 added more send* members
Added:
void sendMessage(std::istream& istr);
void sendAddresses(const std::string& from, const Recipients&
recipients);
void sendData();
2012-11-11 16:38:42 -06:00
aleks-f
744ea4bc7d Removed Route from Makefiles 2012-11-11 15:04:31 -06:00
aleks-f
48c856d37d Removed Route
Removed Route (will be introduced in a separate branch and subsequently
library)
2012-11-11 14:58:08 -06:00
Rangel Reale
8101b850dc - Android compile fixes 2012-11-11 16:49:07 -02:00
Rangel Reale
86b79a6dff * add POCO_STATIC definition in CMake
* Foundation must compile .mc file in CMake build
* Net must list all files in CMake build file
2012-11-11 14:17:28 -02:00
Guenter Obiltschnig
514566ecd7 removed .vmsbuild files, which are no longer maintained 2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
8b91562dbd more line ending fixes 2012-11-11 11:07:27 +01:00
Guenter Obiltschnig
87d7739f3d removed .vcxproj.user files 2012-11-11 10:53:02 +01:00
Guenter Obiltschnig
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
e36800c76d - fixed SF# 594: Websocket fails with small masked payloads 2012-11-10 11:47:26 +01:00
Alex
fefe3b5d7a Route OSX compile and tests 2012-11-08 22:56:25 -06:00
aleks-f
15d27daea6 Route on Windows
Route on Windows tentatively complete, Mac/Linux TODO
2012-11-06 22:17:17 -06:00
aleks-f
325a98a91f Net::Route (windows compile)
Net::Route (windows compile only)
2012-11-04 23:25:57 -06:00
Guenter Obiltschnig
4d3e02df73 iOS fixes 2012-10-15 11:04:19 +00:00
Guenter Obiltschnig
c49f14040c WinCE fixes 2012-10-15 09:45:39 +00:00
Guenter Obiltschnig
6b439c9063 moved image to res directory 2012-10-14 21:46:08 +00:00
Guenter Obiltschnig
1be9efe2dc fixed Makefile 2012-10-14 21:22:56 +00:00
Guenter Obiltschnig
273b30f56a SMTPChannel added to Makefile 2012-10-14 21:20:38 +00:00
Guenter Obiltschnig
4c42e5de2c added SMTPChannel to Net project file 2012-10-14 19:28:02 +00:00
Guenter Obiltschnig
f5351b2f49 fixed 2012/64 project files 2012-10-14 14:55:49 +00:00
Guenter Obiltschnig
cf329912c3 added missing project files, etc. 2012-10-14 14:16:34 +00:00
Guenter Obiltschnig
b90307c200 fixed vs2010 testsuite project files 2012-10-14 10:50:44 +00:00
Guenter Obiltschnig
d1e912ed46 fixed project files 2012-10-14 08:58:13 +00:00
Guenter Obiltschnig
1dc2add60c set WINVER to 0x501 2012-10-14 07:38:35 +00:00
Aleksandar Fabijanic
bf74a4be8b FreeBSD build and threading 2012-10-01 00:31:28 +00:00
Aleksandar Fabijanic
991fb4a31f FreeBSD modifications 2012-09-26 02:51:43 +00:00
Aleksandar Fabijanic
fb275a9a30 Visual Studio 2012 projects and solutions files 2012-09-25 05:35:44 +00:00
Aleksandar Fabijanic
f2e8cef390 eliminate compiler warning 2012-09-15 16:26:55 +00:00
Aleksandar Fabijanic
c3e2e50af4 NumberParser fixes and more test 2012-09-14 04:56:20 +00:00
Aleksandar Fabijanic
1a139794de - Win7/VS100 compile fix
- throw NotImplementedException when no IPV6_V6ONLY defined
2012-09-10 04:10:35 +00:00
Aleksandar Fabijanic
0f8264ea55 VS 2003: Win XP/SP3 compile/tests (Foundation, Net, XML, JSON, UTIL) 2012-09-10 03:39:50 +00:00
Aleksandar Fabijanic
889f420a0b SF# 3563057: Move NetworkInterfaceTest to NetCore suite
fix NetworkInterface name/displayName
2012-09-08 02:08:58 +00:00
Aleksandar Fabijanic
cfba98dd50 SF #3562400: DatagramSocketImpl'comment is faile 2012-09-08 01:11:58 +00:00
Aleksandar Fabijanic
f6e6dbc0b7 SF#3563627: Set IP address on multicast socket from socket family 2012-09-07 03:54:51 +00:00
Aleksandar Fabijanic
2a6c041422 SF#3560776: Fix byte-ordering issues with INADDR_* literals 2012-09-07 03:34:08 +00:00
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
alex
f6d9e926d5 Merge branch 'develop' of https://github.com/pocoproject/poco into develop
GH# 137: FreeBSD Bcast/Mcast tests fail
2013-06-09 00:28:17 -05:00
alex
a766004fc7 GH #137: FreeBSD Bcast/Mcast tests fail 2013-06-09 00:27:53 -05:00
Alex
665a531576 GH#207: testClosedRequestKeepAlive fails on Mac 2013-06-08 21:38:51 -05:00
Aleksandar Fabijanic
460cccddf9 HTMLForm does not read URL parameters on POST or PUT
- fixed GH #175: HTMLForm does not read URL parameters on POST or PUT
2013-06-08 20:34:46 -05:00
Aleksandar Fabijanic
6184be0025 tests for GH#169
tests for GH#169: Exceptions due to bug BufferedBidirectionalStreamBuf.h
2013-06-06 21:31:26 -05:00
aleks-f
282374980c gcc alignment and warning suppression 2013-06-02 22:56:18 -05:00
Aleksandar Fabijanic
bc808cf9d4 WebNotifier example
- added WebNotifier example
- fixed/tidied up SOO alignment code
2013-05-30 23:23:37 -05:00
Aleksandar Fabijanic
e5eaffb790 removed Var iterators, fixed SOO alignment
- removed unnecessary using directives in Data library
- removed iterator pointers from Var (reduce size, always return copy)
- added Alignment header (adapted from LLVM infrastructure)
- added alignment guards to SOO implementations
2013-05-29 23:36:45 -05:00
Guenter Obiltschnig
1f8fcaacc0 WebSocketImpl::sendBytes() now uses FRAME_BINARY if given flags are all zero. 2013-05-26 00:15:54 +02:00
Guenter Obiltschnig
e6a24b3101 fixed GH# 188: Net: SocketAddress operator < unusable for std::map key 2013-05-24 22:06:36 +02:00
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