Commit Graph

245 Commits

Author SHA1 Message Date
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
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
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
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
Günter Obiltschnig
b2ba1dfb74 -added Windows Embedded Compact 2013 support 2014-03-17 14:36:17 +01: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
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
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
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
Rangel Reale
e37b756157 * NTP client implementation 2014-01-13 15:04:27 -02:00
Rangel Reale
0d2a839f79 * Multipart form content length calculation
* HTMLForm test
2013-12-04 18:19:20 -02:00
Alex Fabijanic
1c732e9938 removed MFC dependencies (WinTestRunner) from test VS projects 2013-11-07 23:31:30 -06:00
Alex Fabijanic
4297d78621 VS 2013 projects/solutions 2013-11-05 23:11:28 -06:00
Aleksandar Fabijanic
376b46f60e cookie age test fix 2013-06-23 22:14:17 -05:00
karlr42
57519d0fd4 Fix build errors 2013-06-18 17:22:41 +01:00
karlr42
9272b88696 Fix build errors 2013-06-18 17:13:51 +01:00
karlr42
fb9e90dacd Synced HTTPCookieTest 2013-06-18 16:27:28 +01:00
karlr42
af8c1b20a4 Merge remote-tracking branch 'upstream/develop' into develop
Conflicts:
	Net/testsuite/src/HTTPCookieTest.cpp
	Net/testsuite/src/HTTPCookieTest.h
2013-06-18 16:20:27 +01:00
karlr42
5a70971691 Fixed typo in comments 2013-06-18 15:37:30 +01:00
Karl Reid
d3a61a0b8a Reworked cookie expiry testsuite to be less brittle. 2013-06-18 15:12:04 +01:00
Aleksandar Fabijanic
8961c4c04b Merge pull request #195 from syvex/RemoteSyslogChannelReset
Allow RemoteSyslogChannel to be used again after being closed.
2013-06-18 06:49:45 -07:00
Mike Naquin
7f17255ed8 Add unit test for opening/closing RemoteSyslogChannel 2013-06-18 08:35:52 -05:00
Aleksandar Fabijanic
0c50f6241c code tidy-up 2013-06-17 21:56:53 -05:00
Karl Reid
c871be9380 Fix indentation. 2013-06-17 21:59:56 +01:00
Karl Reid
c8b7b7ee9e Change HTTPCookie to support expiry times in the past. 2013-06-17 21:55:59 +01:00
aleks-f
b1161bdb1e network test socket buffer size fix for VS2010/Win7 2013-06-16 18:26:39 -05:00
Alex
c6207985d8 GH #147: NetworkInterface (linux): MAC address not always available 2013-04-23 21:46:57 -05:00
Guenter Obiltschnig
6f863fee09 fixed GH#155: MailOutputStream mangles consecutive newline sequences 2013-04-21 21:48:10 +02:00
Aleksandar Fabijanic
639842fd29 simplify default TCP/HTTPServer construction 2013-03-30 15:56:46 -05:00
alex
0ce9360734 FreeBSD network test run 2013-03-24 20:50:42 -05:00
Aleksandar Fabijanic
22b658a838 GH #68: DNS::hostByAddress can be slow
GH #68: DNS::hostByAddress can be slow - added parameters in the
interface to pass hint flags to hostByAddress() and hostByName() calls
2013-03-24 14:36:28 -05:00
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
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
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
aleks-f
911f22508e Any SOO 2013-01-31 21:12:13 -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
0d9e18ba7c Merge remote-tracking branch 'origin/ParallelReactor' into develop 2013-01-05 14:33:43 -06:00
alex
161ea4ec18 unbundled build fixes 2013-01-05 00:04:09 -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
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
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
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
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
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
Guenter Obiltschnig
514566ecd7 removed .vmsbuild files, which are no longer maintained 2012-11-11 11:08:17 +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
f5351b2f49 fixed 2012/64 project files 2012-10-14 14:55:49 +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
889f420a0b SF# 3563057: Move NetworkInterfaceTest to NetCore suite
fix NetworkInterface name/displayName
2012-09-08 02:08:58 +00:00
Aleksandar Fabijanic
2a6c041422 SF#3560776: Fix byte-ordering issues with INADDR_* literals 2012-09-07 03:34:08 +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
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
06204c4865 SF #3559331: Add macros for byte-ordering 2012-08-19 17:02:03 +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
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
Aleksandar Fabijanic
e7f2ade581 SF 3558085: Add formatter to MACAddress object 2012-08-17 04:07:18 +00:00
Aleksandar Fabijanic
676675edc7 NetworkInterface fixes/improvement 2012-08-14 00:34:38 +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
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
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
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
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
Aleksandar Fabijanic
771d5ed0b0 Prefix-based constructors for IPAddress 2012-06-12 03:16:44 +00:00
Aleksandar Fabijanic
484510dec5 support for FIFOBuffer in StreamSocket::read/writeBytes() 2012-05-19 05:16:42 +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
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
b242f2c8d1 Net: near complete merge to 1.4.2 2011-09-14 18:20:11 +00:00
Aleksandar Fabijanic
99242a4862 -removed #warning (not portable)
- modified appinf IP address
2010-03-31 12:26:52 +00:00
Guenter Obiltschnig
c93c16008b integrated changes from 1.3.5 2009-06-16 17:04:40 +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
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
Aleksandar Fabijanic
ab0684a1cd poll() support (tested on Solaris and Linux)
array delete policy for SharedPtr
2008-12-03 20:38:53 +00:00
Guenter Obiltschnig
8e58146848 Socket::select and SocketReactor improvements 2008-09-21 18:36:40 +00:00
Guenter Obiltschnig
57762a2cfc fixed various bugs (see SF tracker) 2008-09-16 17:26:28 +00:00
Aleksandar Fabijanic
537ec8aca3 fixed typo 2008-04-19 19:13:26 +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
Eran Hammer-Lahav
19dca2aa79 Feature Request #1873922
Add project and solution files for Visual Studio 2008
2008-01-17 18:07:39 +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
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
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
431807f25e integrated changes from main repository 2006-12-28 12:51:57 +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
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