Commit Graph

680 Commits

Author SHA1 Message Date
Patrice Tarabbia
112950134c add hasDelegates() method to AbstractEvent 2013-12-13 06:11:05 -05: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
Rangel Reale
0d2a839f79 * Multipart form content length calculation
* HTMLForm test
2013-12-04 18:19:20 -02:00
Andreas Bergmeier
c5b0117352 Add platform configuration for Emscripten.
Handle as a i386 Linux variant.
2013-12-04 19:31:07 +01:00
Mike Naquin
4ede322f9d Add has, get, and set methods to Poco::Message for better control over accessing logging parameters. 2013-11-18 14:04:11 -06:00
Guenter Obiltschnig
8f07db4aa3 various fixes - see CHANGELOG 2013-11-14 21:54:41 +01:00
Guenter Obiltschnig
a96f42f764 added ARM64 and iPhone 5 S 64-bit support 2013-09-16 20:57:25 +02:00
Günter Obiltschnig
1a287b0c34 Merge pull request #277 from patrickjwhite/unused-vars
Prevent warnings by removing parameters from methods that don't use them...
2013-09-13 07:44:58 -07: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
Patrick White
c0f326153a Prevent warnings by removing parameters from methods that don't use them. 2013-08-30 09:28:13 -04:00
Guenter Obiltschnig
086721bfe9 added ColorConsoleChannel and WindowsColorConsoleChannel classes 2013-08-26 16:27:24 +02:00
Guenter Obiltschnig
43d7d40d40 size_t should be std::size_t, include <cstddef> 2013-07-22 09:26:22 +02:00
Aleksandar Fabijanic
a49f5da54b GH #240: VERY strange error only when including Format.hinclude Alignment.h early
GH #240: VERY strange error only when including Format.h (include
Alignment.h early for consistency)
2013-07-22 01:10:36 -05: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
Guenter Obiltschnig
996ddf1b43 fixed GH# 236: Bug in RecursiveDirectoryIterator 2013-07-18 17:28:16 +02:00
Akihiro Yamasaki
d61eaaac28 Fixed code page warning. 2013-07-09 13:56:35 +09:00
Aleksandar Fabijanic
36025ccc33 GH #224: building 1.5.1 on Windows for x64 2013-06-18 00:02:04 -05:00
Alex
c49f9ecfd0 FPEnvironment, changed <math.h> to <cmath> 2013-06-16 11:12:32 -05:00
Aleksandar Fabijanic
6a8f98d7a1 Merge pull request #220 from lucas-clemente/patch-2
add qualifiers for FPEnvironment in C99
2013-06-16 08:45:00 -07:00
Aleksandar Fabijanic
923eb91bb8 mainly JSON tidy-up 2013-06-15 20:28:09 -05:00
Lucas Clemente
578cab37c3 add qualifiers for FPEnvironment in C99 2013-06-15 17:20:49 +03:00
Lucas Clemente
e4ceb5d44f fix alignas specifier 2013-06-15 15:55:46 +02:00
Aleksandar Fabijanic
3ea52f825d fixed GH #218: VS2010 doesn't build ipaddress.cpp current develop 2013-06-14 08:43:16 -04:00
aleks-f
872744fd92 corrected gcc version check for warning suppresion 2013-06-09 23:12:30 -05:00
Patrice Tarabbia
f7e24bf1e4 Ability to select the threadpool that will be used to start an Activity. 2013-05-23 23:27:11 -04:00
Patrice Tarabbia
c59f8865ac Don't call CloseHandle() twice on Windows (as it causes crashes, or unexpected behavior). This would happen with the following test case:
ProcessHandle handle = Process.launch(...);
handle.kill();
Then as handle gets out of scope, ~ProcessHandle would call CloseHandle() on an already closed handle.
2013-05-01 06:41:45 -04: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
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
Aleksandar Fabijanic
d0ff7ccf7c add toString() 2013-04-03 22:03:39 -05:00
aleks-f
5873c8e362 few more POCO_NO_SOO compile fixes 2013-04-03 21:05:22 -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
Aleksandar Fabijanic
1f4afb9c6c improved SOO swap, fixed Darwin-clang build config 2013-03-31 16:28:53 -05:00
Aleksandar Fabijanic
5cde6d34df MSVC 7.1 build fixes 2013-03-30 13:02:16 -05:00
aleks-f
6719d3448f GH #140: Poco::Runnable threading cleanup issue 2013-03-29 14:02:53 -05:00
Aleksandar Fabijanic
4668c13af7 GH #59: Poco::Environment::osDisplayName()
GH #59: Poco::Environment::osDisplayName() not recognized Windows
8/Server 2012
2013-03-24 14:47:55 -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
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
42ff341cb9 GH #119: JSON::Object holds values in ordered map
- fixed GH #119: JSON::Object holds values in ordered map
- added PrintHandler
- renamed DefaultHandler to ParseHandler
- redefined DefaultHandler as typedef to ParseHandler
2013-03-16 11:33:27 -05:00
Lieven de Cock
bed68a67ab * remove unused variable warning
Please enter the commit message for your changes. Lines starting
2013-03-12 23:31:53 +01: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
aleks-f
f98fa4b05a couple of cosmetic fixes 2013-02-27 15:13:43 -06:00
aleks-f
e610afde4f updated Thread::start documentation
- updated Thread::start documentation (port from 1.4.6)
2013-02-26 22:50:08 -06:00
Mike Naquin
13a1a0b9a2 Fix JSON parsing of large unsigned 64-bit integers 2013-02-21 12:57:51 -06:00
Marian Krivos
8ddba0bcd1 SF Feature requests #168 and #163 - part 3 2013-02-20 09:44:25 +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
f78a4e8965 factor out Var destruction 2013-02-17 17:05:36 -06:00
aleks-f
9378680c0b Merge remote-tracking branch 'origin/ip-address-soo' into develop 2013-02-17 16:33:44 -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
7dcee53937 gcc compile 2013-02-05 23:10:54 -06:00
Alex
2661b54ff6 work around static union member (non-C++03) 2013-02-05 22:56:03 -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 Fabijanic
54a92c59e5 gcc/linux compile 2013-02-03 22:39:09 -06:00
Alex
1523a87926 IPAddress Mac clang compile 2013-02-03 20:19:14 -06:00
aleks-f
ddfa52eefa some refactoring 2013-02-03 12:03:01 -06:00
Alex
0c7e345d89 clang mac compile 2013-02-03 07:16:06 -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
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
arturo
72100d56d8 adds priority version of Void delegate/expire/strategy 2013-01-23 10:11:04 +01:00
arturo
1de98a00c2 add VoidEvent 2013-01-22 09:23:16 +01: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
Alex
2e462e04d5 Resolve conflicts
All "confilcts" were actually diffs - not sure why git flew off the
handle.
2013-01-12 14:27:50 -06:00
aleks-f
5d6afa983e updated CHANGELOG 2013-01-12 11:33:56 -06:00
David B Raleigh
c1b8673652 remove std from copysignf and copysign
"copysign* is C99/C++ TR1, apparently still not in std namespace with
gcc 4.7. Remove std:: in front of it and see if it helps. If you
provide a patch, we'll test and include it for future releases."
2013-01-12 15:32:23 +01:00
Alex
2e69817ccf merge develop into master 2013-01-10 23:55:10 -06:00
aleks-f
b16786fb54 Updated version for 1.5.1 release 2013-01-10 20:08:31 -06:00
aleks-f
c61f8d3a9e Merge remote-tracking branch 'origin/FIFOBuffer-eof-error' into develop 2013-01-05 14:03:42 -06:00
aleks-f
9b3fc90ee2 GH #51: Android should use isfinite, isinf, isnan and signbit from the std namespace
GH #51: Android should use isfinite, isinf, isnan and signbit from the
std namespace
2013-01-04 21:56:49 -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
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
760fa4bbb0 see CHANGELOG
- upgraded SQLite to version 3.7.15.1 (2012-12-19)
- fixed SQLite affectedRows reporting and added tests
- added SQLite::Utility::isThreadSafe() function
- added SQLite::Utility::setThreadMode(int mode) function
- fixed GH #41: Buffer::resize crash
2012-12-23 02:36:01 -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
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
aleks-f
52bbcfc9c2 update version numbers 2012-12-16 22:55:16 -06:00
aleks-f
e75081af94 added Token::asInteger64(); ODBC tests fix for case-sensitive DB 2012-12-16 19:45:38 -06:00
Alex
46cfdf70f0 compiler detection macros 2012-12-16 11:21:07 -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
249135b05c Merge pull request #33 from syvex/JSONParse64
Fix JSON Parser to handle 64-bit integers (Issue #32)
2012-12-13 20:02:46 -08:00
Aleksandar Fabijanic
94cec18f82 Merge pull request #34 from bufferoverflow/develop
add algorithm header and adding lib folder to .gitignore
2012-12-13 15:22:46 -08:00
Roger Meier
7afd9c44db add algorithm header and adding lib folder to .gitignore
fix compilation on Debian x86_64 with gcc 4.4.5-8
2012-12-13 22:38:46 +01:00
Mike Naquin
27616fb0e6 Change token to use 64-bit integers by default (when available) 2012-12-13 09:39:23 -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
1b14088283 GH31: JSON implementation bug
fixed GH #31: JSON implementation bug
2012-12-11 20:27:47 -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
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
Alex
569ea46817 Mac (clang) compile warning fix 2012-12-04 23:49:29 -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
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
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
a54c34e7d0 SF patch 120
SF #120 The ExpireLRUCache does not compile with a tuple as key on
Visual Studio 2010
https://sourceforge.net/p/poco/patches/120/
2012-12-02 20:53:27 -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
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
b0ae034a94 a couple of minor changes 2012-12-01 14:10:05 -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
Patrick White
b4aa3cedfa PatternFormatter specific-length source and optimizations.
Optimize the pattern formatter by doing time-zone calculations
once and using it's offset. Parse the format string once and
setup a vector of the fields wanted so parsing the %[name] is
much faster.

Add ability to easily enforce a specific length for the source
fields which is nicer for reading log files.
2012-11-28 15:09:10 -05:00
Patrick White
180ad81cb3 Comment out unused function parameters to prevent compiler warnings in client code. 2012-11-28 15:03:56 -05: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
Mike Naquin
5f1d1b02e2 Add JSONConfiguration to Poco::Util::Application::loadConfiguration. 2012-11-14 10:31:52 -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
Guenter Obiltschnig
4bf477946e added POCO_LOCAL_STATIC_INIT_IS_THREADSAFE macro to check whether the compiler initializes static locals in a threadsafe way 2012-11-13 11:17:58 +01: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
Alex
12a7813e01 Changed file name in documentation
Changed file name (Types.h => UTFString.h) in documentation
2012-11-12 16:13:23 -06:00
Guenter Obiltschnig
2ddd48304d fixed text files 2012-11-11 13:56:24 +01:00
Guenter Obiltschnig
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
b402881343 - Poco::FileChannel now supports a new rotateOnOpen property (true/false) which can be used
to force rotation of the log file when it's opened.
2012-11-10 11:55:54 +01:00
Guenter Obiltschnig
4f66c0e1d8 - added Poco::Optional class template 2012-11-10 11:51:20 +01:00
Guenter Obiltschnig
12b0255f58 - fixed SF# 581: Out-of-bound array access in Unicode::properties() function. 2012-11-10 11:44:44 +01:00
Guenter Obiltschnig
c0f725b888 - fixed SF# 588: Missing POCO_ARCH and POCO_ARCH_LITTLE_ENDIAN define for WinCE on SH4 2012-11-10 11:43:27 +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
aleks-f
15d27daea6 Route on Windows
Route on Windows tentatively complete, Mac/Linux TODO
2012-11-06 22:17:17 -06:00
Guenter Obiltschnig
efa3cd1b32 removed unnecessary #ifdef: FPEnvironment_DUMMY is sufficient for strToFloat 2012-10-15 10:44:17 +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
dc11b4aa65 updated version 2012-10-15 08:11:30 +00:00
Guenter Obiltschnig
bfce013e0f reintroduced windows version check 2012-10-14 05:50:52 +00:00
Guenter Obiltschnig
b97208219e removed Windows version check from UnWindows.h - seems to cause more trouble than good 2012-10-13 12:59:51 +00:00
Aleksandar Fabijanic
0b6c8aa1e0 use signed char for sign; silence clang warnings 2012-10-13 05:10:49 +00:00
Aleksandar Fabijanic
ada0ec20e7 extract locale dependency from numeric string parsing 2012-10-13 03:51:32 +00:00
Franky Braem
6cc31a5539 Typo in comment 2012-10-06 17:04: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
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
e7ee78baa5 remove Var::operator const std::string & () 2012-09-25 23:50:15 +00:00
Franky Braem
a4e100f286 Typo in comment 2012-09-25 17:52:15 +00:00
Aleksandar Fabijanic
fb275a9a30 Visual Studio 2012 projects and solutions files 2012-09-25 05:35:44 +00:00
Aleksandar Fabijanic
bf4a5ee3bb SF#102 Fix building Poco on Debian GNU/kFreeBSD 2012-09-24 04:06:19 +00:00
Aleksandar Fabijanic
d8397b9153 - VS2012: build/tests
- JSON: style and exceptions catch by ref fix
- NumberParser: case-insensitive hex parsing
- Dynamic::Var: const std::string& cast operator specialization (coaxing std::string ctor)
- LocalDateTime: strftime fix (buffer too small for full tz string, use %Z instead of %z - makes no difference on windows but is more portable)
- small buildwin.cmd vsvars32.bat call fix
2012-09-24 03:51:40 +00:00
Aleksandar Fabijanic
fa4ca5e18e SF#579 Add EOF mark detect on reading (Note: only partially accepted, see SF tracker for details) 2012-09-23 17:45:39 +00:00
Aleksandar Fabijanic
26d488044c native MySQL, ODBC, Nullable; OSX compile, tests and fixes 2012-09-22 02:16:58 +00:00
Aleksandar Fabijanic
f36a12d0f1 remove ODBC check from global rules; fix indentation in Poco::Any 2012-09-21 05:11:25 +00:00
Aleksandar Fabijanic
32c5b6b998 ODBC fixes and tests (Oracle, SQL Server, MySQL on Windows)
MySQL back-end compile fixes on Windows
Nullable/NullType
2012-09-17 00:18:13 +00:00
Aleksandar Fabijanic
7029c95e07 - ODBC Nullable support and tests (Oracle and SQLServer tested)
- fix for Win7/MSVC80 _WIN32_WINNT macro detection
2012-09-16 03:00:52 +00:00
Aleksandar Fabijanic
c3e2e50af4 NumberParser fixes and more test 2012-09-14 04:56:20 +00:00
Aleksandar Fabijanic
e5d3d23c92 integers parsing 2012-09-13 06:06:08 +00:00
Aleksandar Fabijanic
5d93d2bba1 SF #3567118: Fix Nullable handling in trunk 2012-09-13 04:04:55 +00:00
Aleksandar Fabijanic
62d1782d24 documentation fix 2012-09-12 03:20:24 +00:00
Aleksandar Fabijanic
b99dd6ddb0 compile fix 2012-09-12 02:26:01 +00:00
Aleksandar Fabijanic
9ad1effd8b removed redundant Poco::Data::Nullable 2012-09-12 02:10:31 +00:00
Aleksandar Fabijanic
b7957f8cd0 - cleanup config macros inconsistencies
- convert spaces to tabs
2012-09-12 00:20:07 +00:00
Aleksandar Fabijanic
69be5d7e98 - VS 80 build & OS version detection
- SF #3564756: iOS trunk compile fix
2012-09-11 02:02:23 +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
afc29520d4 convert indentation spaces to tabs 2012-09-08 01:09:46 +00:00
Aleksandar Fabijanic
1801cb6dd8 SF#3563999: Size BinaryWriter based on buffer's capacity(), not size() 2012-09-07 04:10:35 +00:00
Aleksandar Fabijanic
10267b5899 SF#3563517: Get rid of loss-of-precision warnings on x64 MacOS 2012-09-06 03:41:21 +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
d384a499d5 porting 1.4.4 rev. 1989 (except for File_WIN32(U)/FileImpl::isDeviceImpl() where GENERIC_ACCESS was left due to breaking testFileAtributes3() test case) 2012-08-26 03:40:12 +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
801b2485f4 port from 1.4.4 (rev. 1925 fixed SF# 3483174) 2012-08-22 03:25:25 +00:00
Aleksandar Fabijanic
d9cf671330 fixed SF# 3496493, 3495656 2012-08-22 02:40:41 +00:00
Aleksandar Fabijanic
3d142783c7 SF#3503267: VxWorks OS prio is not set in standard constructor 2012-08-22 02:18:18 +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
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
0ebd1454ee updated version to 1.5.2 2013-06-09 19:50:48 -05:00
Guenter Obiltschnig
83ed03d4ad WinCE fixes for zlib 1.2.8 2013-06-09 20:32:03 +02:00
Aleksandar Fabijanic
5e6ef1c14d fixed GH #99: JSON::Query an JSON::Object
- fixed GH #99: JSON::Query an JSON::Object
- swapped order of AnyCast(const Any&) and AnyCast(Any&) definitions
2013-06-07 23:15:02 -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
b2d72dcacb Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2013-06-03 23:46:34 -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
Aleksandar Fabijanic
37a7c3bca7 Merge pull request #210 from ptarabbia/develop
Develop
2013-06-03 05:01:23 -07:00
Alex
418290d081 fix clang warnings 2013-06-02 23:21:46 -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
Aleksandar Fabijanic
b9d25faef8 more clang fixes 2013-05-27 21:33:29 -05:00
Aleksandar Fabijanic
aa6e993734 clang compile 2013-05-27 21:33:28 -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
ab85e7077f fixed GH# 189: Poco::NumberParser::tryParse() documentation bug 2013-05-24 20:21:54 +02:00
Will Newton
37899eda95 Foundation/include/Poco/Platform.h: Add support for AArch64.
Add support for big and little endian AArch64 preprocessor defines.
2013-05-21 22:11:05 +01:00
Aleksandar Fabijanic
41a07c15bf JSON fixes/refactoring 2013-05-20 23:36:58 -05:00
Mike Naquin
44ba01648d Add operators to Timestamp for Timespan.
Timestamp  operator +  (const Timespan& span) const;
Timestamp  operator -  (const Timespan& span) const;
Timestamp& operator += (const Timespan& span);
Timestamp& operator -= (const Timespan& span);
2013-05-06 15:29:52 -05:00
Aleksandar Fabijanic
662050937e porting rev.1912 from 1.4.4 (fixed SF# 3552597) 2012-08-18 02:19:34 +00:00
Marian Krivos
871cdaff44 zlib updated to the version 1.2.7 2012-08-07 20:42:25 +00:00
Marian Krivos
367b174d78 Poco::Logger - add formatted version of methods 2012-08-04 10:40:58 +00:00
Aleksandar Fabijanic
5cade11ba6 - SF#3540497 HashMap iterator crash in VS 2010
- allow Buffer resize to zero
2012-08-04 03:49:51 +00:00
Aleksandar Fabijanic
b2b18b07a5 Mac fixes for UnicodeConverter 2012-08-02 05:07:36 +00:00
Aleksandar Fabijanic
0bcf08b3f7 Linux fixes for UnicodeConverter 2012-08-02 05:01:00 +00:00
Aleksandar Fabijanic
416cc7a630 Unicode portability improvements (only tested on Windows at this time) 2012-08-02 04:41:24 +00:00
Marian Krivos
bd401297e7 UnicodeConverter: added support for native wchar_t via UTF16 or UTF32 2012-07-31 18:37:04 +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
219a945cc9 - added IPaddress::prefixLength
- return MemoryStreams from MemoryWriters
2012-07-30 04:22:25 +00:00
Aleksandar Fabijanic
0466c67ff2 BinaryReader/Writer wrappers for Buffer and MemoryStream 2012-07-23 00:39:09 +00:00
Aleksandar Fabijanic
c48b06221a SF 3538786: Use size_t for describing data-blocks in DigestEngine 2012-07-20 02:48:41 +00:00
Aleksandar Fabijanic
9bdc08c9f0 - added POCO_ENABLE_CPP11 config define (default for VS >= 2010)
- added _WIN32_WINNT value detection up to Windows 7
- modified Util::Units to compile with VS 2010 (static_assert is standard in C++11)
2012-06-27 02:34:23 +00:00
Marian Krivos
de7e76bdb0 UTF32Encoding doc fix 2012-06-21 16:28:58 +00:00
Marian Krivos
6ebb20ca4c class UTF32Encoding added 2012-06-21 16:19:19 +00:00
Shan Jiang
f1abbfb94e [trunk] Update FIFOBufferStream and visual studio project file
* Fix FIFOBufferStream: The free function FIFOBuffer& FIFOBufferStreamBuf::fifoBuffer() should be declared as inline explicitly. 

* Update vs2005 and vs2008 project file (Foundation and testsuite, win32 only for now).
   * Add FIFOBufferStream
   * Update Dynamic group
   * Add ArrayTest
   * Add Latin2Encoding & Windows1250Encoding etc.

* TextConverterTest.cpp won't compile for my Japanese visual studio, cause the utf8char string literals can not be parsed. Maybe later we should load the string from file.
2012-06-09 09:12:56 +00:00
Aleksandar Fabijanic
69bd6f6ee9 FIFOBufferStream (g++ pacify) 2012-06-08 02:24:36 +00:00
Aleksandar Fabijanic
cfbcce0481 FIFOBuferStream and tests (Windows/VS2010 only compiled/tested) 2012-06-07 03:59:13 +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
Marian Krivos
11539da851 added Buffer append() 2012-05-13 17:23:57 +00:00
Marian Krivos
c41196bd5b added methods to the template Buffer class : copy ctor, ==, !=, clear, =, swap, empty 2012-05-13 17:00:42 +00:00
Marian Krivos
dd5eea6cd1 revert Buffer.h 2012-05-13 15:34:20 +00:00
Marian Krivos
5a778ca48f Backport Buffer from the old trunk 2012-05-12 21:01:05 +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
056cbeb744 FIFOBuffer::drain() and partial write 2012-04-29 18:09:43 +00:00
Marian Krivos
0ad8b3c924 formatting fix and few tests from the old trunk 2012-04-29 11:04:08 +00:00
Marian Krivos
c816693153 FileChannel: added "none" to the PURGE_AGE and PURGE_COUNT 2012-04-29 10:58:27 +00:00
Marian Krivos
b0629106ca Mutex documentation 2012-04-29 10:38:19 +00:00
Marian Krivos
33f1c102e3 added template <typename T, int i> struct IsConst<const T[i]> 2012-04-29 10:37:54 +00:00
Aleksandar Fabijanic
e10566779e renamed FIFOBuffer => BasicFIFOBufer, FIFOBuffer typedef, renamed Bufer::allocated() => Buffer:capacity() to match STL convention 2012-04-29 02:37:54 +00:00
Aleksandar Fabijanic
d22ecbaa3e writEAble => writAble 2012-04-29 02:03:09 +00:00
Aleksandar Fabijanic
156a43150d fixed FIFOBuffer writable notifications and tests 2012-04-29 01:51:30 +00:00
Aleksandar Fabijanic
fae6d780b7 replaced indentation spaces with tabs 2012-04-28 19:15:17 +00:00
Marian Krivos
9690a4b50f added StringTokenizer::find() 2012-04-28 09:53:56 +00:00
Marian Krivos
a4931bb9af added DigestEngine::digestFromHex(const std::string& digest) method 2012-04-28 09:32:25 +00:00
Marian Krivos
bd59670069 backport bool support to the NumberParser/NumberFormatter 2012-04-28 09:30:38 +00:00
Aleksandar Fabijanic
b82cb14dfc Buffer and FIFOBuffer performance optimizations 2012-04-28 04:32:35 +00:00
Aleksandar Fabijanic
d7306cc7d9 FIFOBuffer events and tests 2012-04-27 04:41:50 +00:00
Aleksandar Fabijanic
15d960b057 FIFO resize bugfix and more tests 2012-04-26 00:08:53 +00:00
Aleksandar Fabijanic
afc81ef12d SF 3521347 2012-04-25 23:50:46 +00:00
Aleksandar Fabijanic
886af0816a FIFOBuffer implementation and tests 2012-04-25 04:43:01 +00:00
Marian Krivos
8c53f354e5 added PDF module to gmake
revision bump to 1.5.0
2012-04-23 10:51:39 +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
Marian Krivos
7c3339c549 trunk: TextEncoding fixes 2012-02-09 15:15:39 +00:00
Marian Krivos
7d7c02c579 trunk: backport eventing from 1.4.3 2012-02-05 12:16:58 +00:00
Marian Krivos
8b70c37260 trunk: sync from 1.4.3
make & cmake fixes
2012-02-04 17:03:09 +00:00
Marian Krivos
6268aa3865 backport changes from 1.4.3 branch 2012-01-07 11:06:14 +00:00
Marian Krivos
97ec3f5bf6 backport SharedLibrary changes from 1.4.2-p1 2011-11-04 18:56:08 +00:00
Marian Krivos
5084562770 feature request #3432362 (native AtomicCounter for GCC) 2011-11-04 12:52:31 +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
686e77232f trunk/branch integration: compile fix 2011-08-23 13:26:27 +00:00
Marian Krivos
5950201733 trunk/branch integration: compile fix 2011-08-23 13:06:32 +00:00
Marian Krivos
60050ce87a trunk/branch integration: Inflating/Deflating update, test updates, NotificationCenter update 2011-08-23 09:55:09 +00:00
Marian Krivos
e0b35c7ef5 trunk/branch integration: source indentation 2011-08-23 07:12:30 +00:00
Marian Krivos
ccbcadd4ab trunk/branch integration: VxWorks & Wince 2011-08-23 07:11:45 +00:00
Marian Krivos
73d3dceb86 trunk/branch integration: documentation 2011-08-23 07:11:28 +00:00
Marian Krivos
0aab0d41d9 trunk/branch integration: source indentation 2011-08-23 07:01:52 +00:00
Marian Krivos
308170b4cb trunk/branch integration: documentation 2011-08-23 07:01:17 +00:00
Marian Krivos
eefd04cc75 trunk/branch integration: RegularExpression enum fix RE_EXTENDED 2011-08-23 07:00:28 +00:00
Marian Krivos
8f487c6e83 trunk/branch integration: VxWorks & Wince 2011-08-23 06:59:23 +00:00
Marian Krivos
ddf9f8e7fd trunk/branch integration: new PatternFormatter prefix 2011-08-23 06:58:26 +00:00
Marian Krivos
6b42ce0d0a trunk/branch integration: Path::popFrontDirectory() 2011-08-23 06:57:33 +00:00
Marian Krivos
76f70d9358 trunk/branch integration: documentation 2011-08-23 06:56:54 +00:00
Marian Krivos
05041e2689 trunk/branch integration: Event & Mutex 2011-08-23 06:55:12 +00:00
Marian Krivos
9110aafc25 trunk/branch integration: documentation 2011-08-23 06:53:27 +00:00