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
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