Commit Graph

321 Commits

Author SHA1 Message Date
Günter Obiltschnig
85873d02c9 re-generated VS2013 testsuite projects without MFC 2014-04-21 22:10:34 +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
Alex Fabijanic
ea666bb16b Building Poco 1.5.2 for Synology RS812+ (Intel Atom) #405 2014-03-10 21:20:18 -05:00
Alex Fabijanic
e3d7fc104e Parse JSON as structure #365 2014-03-07 20:45:32 -06:00
Günter Obiltschnig
aee4a3e0d4 updated VS project files for PBKDF2 2014-03-02 23:21:36 +01:00
Guenter Obiltschnig
7175be3f52 added Poco::PBKDF2Engine 2014-03-02 22:55:21 +01:00
Rangell Reale
12c2b3d290 * Glob from start path, for platforms where it is not possible to transverse from root (Android) 2014-01-21 17:15:52 -02:00
Linquize
5ee5174126 Add /FS compile options to avoid errors
Force Synchronous PDB Writes
2014-01-16 08:03:50 +08:00
Guenter Obiltschnig
fefdee93f7 GH #360: CMakeLists foundation: add Clock.cpp in the list of source files 2013-12-24 09:20:35 +01:00
Guenter Obiltschnig
54d56397b9 fixed license headers 2013-12-16 18:35:22 +01:00
Guenter Obiltschnig
ac2b26fcb9 added Clock class which provides a monotonic clock on most platforms and is now used by Poco::Timer, Poco::Stopwatch, Poco::TimedNotificationQueue and Poco::UtilTimer to avoid issues when the system time is changed 2013-12-12 18:33:29 +01:00
Csaba Keszegh
edf0ab9dba cmake: missing files added to CMakeLists.txt
fix: linker error for testsuits
2013-12-05 10:18:15 +01:00
Csaba Keszegh
8b3561a525 cmake: android support
Foundation/src/Error.cpp: ndk-r9 define _GNU_SOURCE in features.h but only the XSI-compliant strerror_r in string.h
2013-12-05 10:18:15 +01: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
Guenter Obiltschnig
3314b88c18 Poco::UUID::tryParse() now accepts UUIDs without hyphens; updated documentation (fixed links to specs) 2013-09-03 14:42:50 +02:00
tokiloki
a499447b6a format support both raw and STL strings 2013-08-15 18:31:57 +03:00
Guenter Obiltschnig
915265f2cb integrated some changes from GH# 249 2013-07-30 14:31:36 +02:00
Aleksandar Fabijanic
20e1cf8821 JSON bug fixes
GH #241: SF #620 Endless loop in JSON parser (added Buffer::setCapacity)
GH #242: SF #619 Syntax error in JSON parser (float/double trim)
2013-07-21 22:18:56 -05:00
Alex
20005dbf87 fix signed/unsigned warnings 2013-06-16 11:37:37 -05:00
Aleksandar Fabijanic
923eb91bb8 mainly JSON tidy-up 2013-06-15 20:28:09 -05:00
alex
83ad8b36f5 fixed GH #138: FreeBSD JSON tests fail 2013-06-02 23:36:36 -05:00
Aleksandar Fabijanic
0e6985c8a1 fixed GH #185
- fixed GH #185: Poco::NumberFormatter::format(double value, int
precision) ignore precision == 0
2013-06-04 23:01:11 -05:00
Aleksandar Fabijanic
4826523831 fixed few GH issues
- fixed GH #209: Poco::NumberFormatter double length
- fixed GH #204: Upgrade zlib to 1.2.8
- fixed GH #198: The "application.configDir" property is not always
created.
2013-06-03 23:45:06 -05:00
Alex
418290d081 fix clang warnings 2013-06-02 23:21:46 -05:00
aleks-f
a34ddb64ab removed accidentally added gcc pragma 2013-06-02 23:01:28 -05:00
aleks-f
282374980c gcc alignment and warning suppression 2013-06-02 22:56:18 -05:00
Aleksandar Fabijanic
9b021f8af4 more clang fixes 2013-05-27 21:33:29 -05:00
Aleksandar Fabijanic
38131d452d Var/JSON changes
- JSON support for Dynamic Struct and Array
- added VarIterator
- modified behavior of empty Var
2013-05-27 21:33:27 -05:00
Guenter Obiltschnig
0434ee2b6b fixed GH# 65: Poco::format() misorders sign and padding specifiers 2013-05-24 23:54:15 +02:00
Aleksandar Fabijanic
225401743f case-insensitivity for SessionPool 2013-04-21 21:39:37 -05:00
Aleksandar Fabijanic
f9aea9acdf GH #144: Poco::Dynamic emits invalid JSON
GH #144: Poco::Dynamic emits invalid JSON
2013-04-06 11:04:33 -05:00
aleks-f
26c1131053 remove unused variable 2013-04-03 21:25:19 -05:00
aleks-f
acbcfc140a removed SmallObjectAllocator
removed SmallObjectAllocator (moved to separate branch) and disabled
default SOO for Any and Dynamic::Var
2013-04-03 20:56:23 -05:00
aleks-f
6719d3448f GH #140: Poco::Runnable threading cleanup issue 2013-03-29 14:02:53 -05:00
aleks-f
b1c6065ffc GH #75: Poco::Uri addQueryParameter method
- added GH #75: Poco::Uri addQueryParameter method
2013-03-19 22:51:04 -05:00
Alex
3efbbdc1f7 GH #79: Poco::Thread leak on Linux
fixed GH #79: Poco::Thread leak on Linux
2013-03-17 21:13:04 -05:00
Alex
1a474584c3 mac/clang build fixes 2013-03-17 12:41:15 -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
38530dbdc6 multimap-like functionality 2013-03-09 22:31:49 -06:00
Guenter Obiltschnig
dc5c8c87da - fixed GH# 116: Wrong timezone parsing in DateTimeParse (fix by Matej Knopp) 2013-03-06 07:50:02 +01:00
Marian Krivos
4573b5e6be SF Feature requests #168 and #163 2013-02-19 21:29:58 +01:00
Marian Krivos
9349786415 cmake and gcc warning fixes 2013-02-19 06:16:12 +01:00
aleks-f
9378680c0b Merge remote-tracking branch 'origin/ip-address-soo' into develop 2013-02-17 16:33:44 -06:00
aleks-f
72b5b7acae GH #80: NumberFormatter::append broken
fixed GH #80: NumberFormatter::append broken
2013-02-07 21:43:40 -06:00
aleks-f
ddfa52eefa some refactoring 2013-02-03 12:03:01 -06:00
aleks-f
1821716d29 more tests and other changes
- ported complete suite of boost::any tests
- improved reference casting
- added swap in SOO version
2013-02-02 20:37:39 -06:00
aleks-f
911f22508e Any SOO 2013-01-31 21:12:13 -06:00
arturo
f731dbb400 testsuite for void event 2013-01-23 10:11:43 +01:00
Aleksandar Fabijanic
9cf7dd9043 fix VS 2003 warnings 2013-01-06 11:10:53 -06:00
aleks-f
c61f8d3a9e Merge remote-tracking branch 'origin/FIFOBuffer-eof-error' into develop 2013-01-05 14:03:42 -06:00
alex
161ea4ec18 unbundled build fixes 2013-01-05 00:04:09 -06:00
aleks-f
b153850188 FIFOBuffer EOF and error support
FIFOBuffer now supports EOF and error conditions. If EOF flag is set,
buffer will not accept writing but will allow reading of the remainder
of data. After it is emptied, buffer remains in EOF state until flag is
cleared. Setting error flag, immediately empties the buffer and prevents
any I/O operation until flag is cleared. Flag setting will trigger
transiton notifications (if notifications are enabled). For details, see
the code diffs.
2013-01-02 23:19:07 -06:00
Aleksandar Fabijanic
666fe51a7b fixed VS90 Foundation projects 2012-12-26 22:24:49 -06:00
Aleksandar Fabijanic
16533ef73b fix XP/VS2003 tests 2012-12-20 21:18:06 -06:00
aleks-f
9a67596f00 Revert "Base64Decoder drops 0x0d characters on windows"
This reverts commit 79549f85dd.
2012-12-20 20:05:10 -06:00
aleks-f
79549f85dd Base64Decoder drops 0x0d characters on windows
SF #605 Base64Decoder drops 0x0d characters on windows
2012-12-19 21:48:26 -06:00
Alex
6fa1270163 fixed test compile on Mac/clang 2012-12-19 00:57:44 -06:00
Alex
634132455b remove bad char at file beginning 2012-12-16 22:41:41 -06:00
Aleksandar Fabijanic
031302469f revise ODBC Unicode string functions
http://support.microsoft.com/kb/294169
added Buffer::size/capacityBytes returning length of buffer in bytes
only windows Unicode ODBC tested
reverting the SF #506 fix (non-conforming driver, causes problems with
other ODBC drivers)
2012-12-15 13:47:22 -06:00
aleks-f
5d463c3a1c GH 30:Poco::Path::home() throws
GH #30: Poco::Path::home() throws when called from Windows Service
done for Win32 and Win32U, return root for WinCE
2012-12-14 12:09:23 -06:00
Aleksandar Fabijanic
e21d1f5fcc Merge pull request #21 from patrickjwhite/logger_patternFormatter
PatternFormatter specific-length source and optimizations.
2012-12-11 09:03:01 -08:00
Patrick White
f0ad6127ab Add tests for the new message length functionality for messageSource. 2012-12-10 23:48:10 -05:00
aleks-f
7327be4735 Poco::URI::decode() doesn't properly handle '+'
GH #27: Poco::URI::decode() doesn't properly handle '+'
2012-12-05 22:28:43 -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
0c4d2590f7 SF Bug 603
SF Bug #603 count() is missing in HashMap
https://sourceforge.net/p/poco/bugs/603/
2012-12-02 21:43:16 -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
aleks-f
9dd1482a02 add locale tests to ensure point is enforced
tests ensuring that default number to string conversion retains point
being decimal separator regardless of locale
2012-12-01 14:10:07 -06:00
Alex
dd2e677f8a separate function for unsigned to string conversion
Separated unsigned integer conversion to eliminate warnings (and
slightly improve performance). Added Darwin-clang warning suppression
for unused functions/variables
2012-12-01 14:10:06 -06:00
aleks-f
91d5be438b replaced stream-based number formatting
embedded a portion of double-conversion library
(http://code.google.com/p/double-conversion/)and replaced stream-based
number formatting
2012-12-01 14:10:04 -06:00
aleks-f
9cd0f0b4f7 integer to string conversion
replaced sprintf-based  int-to-string functionality with built-in
intToString
2012-12-01 14:10:02 -06:00
aleks-f
08ae9aee18 Merge remote-tracking branch 'origin/Base32Encoding' into develop 2012-11-15 20:02:53 -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
Philip Prindeville
e92baf7258 Correct alphabet; fix compilation issues on linux; add padding and make it on by default. 2012-11-13 16:02:36 -07:00
aleks-f
df8f4eb7c0 Replaced space indentations with tabs
Replaced intermittent space indentations with tabs; removed test.txt
file
2012-11-12 20:45:16 -06:00
aleks-f
9b89394b5b Base32 Encoder/Decoder
Base 32 Encoder/Decoder
2012-11-12 20:00:37 -06:00
Guenter Obiltschnig
514566ecd7 removed .vmsbuild files, which are no longer maintained 2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
45fa903880 - fixed SF# 586: Poco::DateTimeParser and ISO8601 issues when seconds fraction has more than 6 digits 2012-11-10 11:45:55 +01:00
aleks-f
67a27ac2fa StringTokenizer trailing empty tokens consistency
Modified StringTokenizer to eith include or exclude all empty tokens
(including trailing ones based on TOK_IGNORE_EMPTY option.
2012-11-07 00:30:01 -06:00
Guenter Obiltschnig
ac8c9ad1ca more fixes 2012-10-15 11:14:53 +00:00
Guenter Obiltschnig
228dacbce2 final fixes 2012-10-15 10:19:35 +00:00
Guenter Obiltschnig
b6963f0bc9 WinCE fixes 2012-10-15 09:29:26 +00:00
Guenter Obiltschnig
b90307c200 fixed vs2010 testsuite project files 2012-10-14 10:50:44 +00:00
Guenter Obiltschnig
028e1b348c fixed vs2012 project files 2012-10-14 08:44:54 +00:00
Guenter Obiltschnig
ba5fe5b4a6 set WINVER to 0x501 2012-10-14 07:33:01 +00:00
Aleksandar Fabijanic
0b6c8aa1e0 use signed char for sign; silence clang warnings 2012-10-13 05:10:49 +00:00
Aleksandar Fabijanic
4773c203a4 essage=disable char and short tests on Mac (annoying warnings) 2012-10-13 04:46:00 +00:00
Aleksandar Fabijanic
af30814d13 silence gcc warnings 2012-10-13 04:31:23 +00:00
Aleksandar Fabijanic
ada0ec20e7 extract locale dependency from numeric string parsing 2012-10-13 03:51:32 +00:00
Guenter Obiltschnig
84a71a2479 run testNumericLocale only on windows due to locale name cross platform issues 2012-10-10 15:57:15 +00:00
Franky Braem
1eade30734 Solve undefined MemoryStream 2012-10-02 18:06:30 +00:00
Aleksandar Fabijanic
8a4eafd05a - strToInt benchmark and more optimization
- warnmsg macro in CppUnit
2012-10-01 00:52:53 +00:00
Aleksandar Fabijanic
bf74a4be8b FreeBSD build and threading 2012-10-01 00:31:28 +00:00
Aleksandar Fabijanic
8f747fabdc gcc/linux compile/tests 2012-09-30 13:10:51 +00:00
Aleksandar Fabijanic
f70ac1ca07 - added NumericString.h
- NumberParser improvements (internal Poco locale-awareness and parsing)
2012-09-30 05:17:56 +00:00
Aleksandar Fabijanic
991fb4a31f FreeBSD modifications 2012-09-26 02:51:43 +00:00
Aleksandar Fabijanic
e7ee78baa5 remove Var::operator const std::string & () 2012-09-25 23:50:15 +00:00