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
Guenter Obiltschnig
fc08238666
added another ctor to WebSocket
2013-06-16 09:23:57 +02:00
Guenter Obiltschnig
9372096447
- fixed a potential memory leak in Poco::Net::HTTPClientSession if it is misused
...
(e.g., sendRequest() is sent two times in a row without an intermediate call to
receiveResponse(), or by calling receiveResponse() two times in a row without
an intermediate call to sendRequest()) - GH #217
- removed a few unnecessary protected accessor methods from Poco::Net::HTTPClientSession
that would provide inappropriate access to internal state
2013-06-12 20:46:37 +02:00
Mike Naquin
a9284393b0
Allow RemoteSyslogChannel to be used again after being closed.
2013-05-20 12:26:04 -05:00
Aleksandar Fabijanic
a65d86a0b2
GH160: MultipartReader ignores first part, if preamble is missing
...
fixed GH #160 : MultipartReader ignores first part, if preamble is
missing
2013-04-28 13:24:21 -05:00
Alex
c6207985d8
GH #147 : NetworkInterface (linux): MAC address not always available
2013-04-23 21:46:57 -05:00
Aleksandar Fabijanic
111c2cc52a
GH #146 : NetworkInterface (windows): IP_ADAPTER_IPV4_ENABLED
...
- GH #146 : NetworkInterface (windows): IP_ADAPTER_IPV4_ENABLED
- added Windows 8 _WIN32_WINNT macro
- removed __cplusplus version check for C++11 (not reliable)
2013-04-22 22:31:43 -05:00
Guenter Obiltschnig
7264336171
fixed GH#155: MailOutputStream mangles consecutive newline sequences
2013-04-22 07:18:23 +02:00
Guenter Obiltschnig
6f863fee09
fixed GH#155: MailOutputStream mangles consecutive newline sequences
2013-04-21 21:48:10 +02:00
Lau Bakman
66cb89ba9d
Added adapterName() to NetworkInterface
2013-04-10 12:52:44 +02:00
Aleksandar Fabijanic
639842fd29
simplify default TCP/HTTPServer construction
2013-03-30 15:56:46 -05:00
Aleksandar Fabijanic
5cde6d34df
MSVC 7.1 build fixes
2013-03-30 13:02:16 -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
Aleksandar Fabijanic
3abf1cc73c
GH #136 : EchoServer issue.
2013-03-23 23:45:02 -05:00
Marian Krivos
5c8d8bf9f6
cmake fix for NET
2013-03-21 21:53:28 +01:00
aleks-f
95e713045e
linux/gcc build fixes
2013-03-17 12:57:11 -05:00
Alex
1a474584c3
mac/clang build fixes
2013-03-17 12:41:15 -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
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