Commit Graph

982 Commits

Author SHA1 Message Date
Aleksandar Fabijanic
bcf1eb1649 fix VS90 NetworkInterface build
fix VS90 NetworkInterface build
2014-05-10 18:06:49 -05:00
Alex Fabijanic
ceef0c64ad GH #328: NetworkInterface on Windows XP 2014-05-10 14:32:45 -05: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
f9057157e8 GH #321: trivial build fixes (BB QNX build) 2014-04-30 22:58:28 -05:00
Alex Fabijanic
68044fdae0 GH #305: There are bugs in Buffer.h 2014-04-30 22:41:05 -05:00
Alex Fabijanic
6ec4986fb1 GH #379: Remove unnecessary null pointer checks 2014-04-29 22:26:30 -05:00
Alex Fabijanic
8a9e7792d9 - fixed GH #362: Defect in Var::parseString when there is no space between value and newline
- fixed GH #314: JSON parsing bug
- added GH #313: MetaColumn additions for Data::ODBC and Data::SQLite
2014-04-29 21:25:30 -05:00
Guenter Obiltschnig
8c14ffe335 make trySleep test a bit more stable 2014-04-29 13:25:38 +02:00
Pascal Bach
d9a594e184 NumberParser::parseUnsigned should not parse negative numbers
The function should abort if a negative number (e.g. "-123") is passed as input
2014-04-28 16:16:48 +02:00
Alex Fabijanic
695ba1b0ee remove sleep calls from Runnable 2014-04-26 16:04:17 -05:00
Alex Fabijanic
63850e8778 - return bool from Thread::trySleep()
- updated documentiation
- amended tests
- updated CHANGELOG
2014-04-26 09:51:57 -05:00
Aleksandar Fabijanic
0d58de8bc8 spelling fix 2014-04-25 23:54:59 -05:00
Alex Fabijanic
46b5785d98 - fixed PS build script environment vars generation
- fixed MongoDB 64-bit std::size_t warnings
- added Thread::trySleep()/wakeUp() and tests
2014-04-25 23:50:53 -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
Alex Fabijanic
5e67a04540 - add SQLite FTS define to windows non-embedded testsuites
- remove POCO_DATA_SQLITE_FTS define from Config.h
- add console message when FTS tests are no-op
2014-04-19 13:26:09 -05:00
Alex Fabijanic
c54bc87be7 Merge branch 'sqlite-fts' into develop 2014-04-19 13:02:28 -05:00
Aleksandar Fabijanic
dc1738ada7 CMAKE - generate pocomsg.h in src
Merge 922ca41284

fix pocomsg.h generation so the target stops rebuilding
The output directory specified by -h should match the RES_SRCS directory.
Changed the RES_SRCS to specify the srcs directory.
2014-04-19 10:25:07 -05:00
Alex Fabijanic
0a54661bb0 - added optional SQLite Full Text Search support
- Powershell build fixes:
  1) Add platform for MSbuild
  2) fixed omit array handling
2014-04-18 21:32:30 -05:00
Günter Obiltschnig
4655cab954 Merge pull request #421 from siemens/debug-log
Add a POCO_LOG_DEBUG flag
2014-04-15 14:26:48 +02:00
Guenter Obiltschnig
fbbfc507e2 fixed thread priority issues on POSIX platforms with non-standard scheduling policy 2014-04-14 17:50:46 +02:00
Pascal Bach
e98ad37401 Add a POCO_LOG_DEBUG flag
If the POCO_LOG_DEBUG is defined the poco_trace* and the poco_debug*
produce logs even if the _DEBUG flag is not set.
This makes the macros usable for applications that need to enable
higher log levels later at run time.
2014-04-11 13:54:02 +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
Aleksandar Fabijanic
60e0b3f9d6 gh #361
"hpux" or "_hpux" doesn't exist on HPUX platform #361
2014-03-07 19:45:12 -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
Guenter Obiltschnig
f993183637 fix for gcc 2014-02-04 15:02:25 +01:00
Guenter Obiltschnig
4e98ecfc29 fix for gcc 2014-02-04 14:49:04 +01:00
Guenter Obiltschnig
8725382c15 remove __builtin_bswap16 2014-02-04 14:30:58 +01:00
Guenter Obiltschnig
66e096a1c8 Poco::ByteOrder now uses intrinsics, if available 2014-02-04 14:20:51 +01:00
Guenter Obiltschnig
a005d582bc fixed overflow bug on Windows 2014-02-02 12:35:55 +01:00
Alex Fabijanic
8e88bdd921 SmartOS build 2014-02-01 22:03:34 +00:00
Iyed
bfae55dcf2 fixed small typo 2014-01-27 23:07:02 +01:00
Patrick White
69f7cb9846 Fix warnings in headers because application/user settings control what warnings are seen when compiling against poco 2014-01-23 16:22:38 -05: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
1c31a6ec9b Remove platforms that do not belongs to that solution platform 2014-01-16 08:14:35 +08:00
Linquize
5ee5174126 Add /FS compile options to avoid errors
Force Synchronous PDB Writes
2014-01-16 08:03:50 +08:00
Linquize
c2ca2ffb58 Build the libraries before their TestSuites
Fixes error LINK : fatal error LNK1104: cannot open file 'Poco*.lib'
2014-01-16 08:03:42 +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
Patrice Tarabbia
112950134c add hasDelegates() method to AbstractEvent 2013-12-13 06:11:05 -05:00
Guenter Obiltschnig
612f149430 Clock fixes 2013-12-12 21:46:57 +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
Andreas Bergmeier
c5b0117352 Add platform configuration for Emscripten.
Handle as a i386 Linux variant.
2013-12-04 19:31:07 +01:00
Guenter Obiltschnig
5edb90c48e fixed GH# 332: POCO::ConsoleChannnel::initColors() assigns no color to PRIO_TRACE and wrong color to PRIO_FATAL 2013-11-21 07:40:30 +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
Alex Fabijanic
1c732e9938 removed MFC dependencies (WinTestRunner) from test VS projects 2013-11-07 23:31:30 -06:00
Alex Fabijanic
689f90fa9f Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2013-11-05 23:11:50 -06:00
Alex Fabijanic
4297d78621 VS 2013 projects/solutions 2013-11-05 23:11:28 -06:00
Guenter Obiltschnig
fb201b2b74 fixed GH# 316: Poco::DateTimeFormatter::append() gives wrong result for Poco::LocalDateTime 2013-10-31 19:14:21 +01:00
Ezra Buehler
bfa9d0d516 Add support for paths without trailing separator in TemporaryFile 2013-10-03 08:54:24 +02:00
Guenter Obiltschnig
a96f42f764 added ARM64 and iPhone 5 S 64-bit support 2013-09-16 20:57:25 +02:00
Guenter Obiltschnig
cff19367b3 fixed GH# 254 2013-09-14 10:35:46 +02:00
Guenter Obiltschnig
a2aee92b74 fixed GH# 259 2013-09-14 09:47:55 +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
Günter Obiltschnig
16a9ff3301 Merge pull request #256 from syvex/hotfix/UnixFileCopyPermissions
Preserve file permissions on Unix FileImpl::copyToImpl
2013-09-13 07:40:50 -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
Sascha Zelzer
8ab80e8ba7 fix cmake build system; fixes #274 2013-08-29 00:46:11 +02:00
Guenter Obiltschnig
086721bfe9 added ColorConsoleChannel and WindowsColorConsoleChannel classes 2013-08-26 16:27:24 +02:00
tokiloki
a499447b6a format support both raw and STL strings 2013-08-15 18:31:57 +03:00
Mike Naquin
8f15c1cf24 Preserve file permissions on Unix FileImpl::copyToImpl 2013-08-08 09:13:50 -05:00
Guenter Obiltschnig
915265f2cb integrated some changes from GH# 249 2013-07-30 14:31:36 +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
Guenter Obiltschnig
97e5ff5774 - fixed GH# 233: ServerSocket::bind6(Poco::UInt16 port, bool reuseAddress, bool ipV6Only) does not work
- fixed GH# 231: Compatibility issue with Poco::Net::NetworkInterface
- removed unneeded zlib sources
2013-07-18 13:31:27 +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
20005dbf87 fix signed/unsigned warnings 2013-06-16 11:37:37 -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
Alex
94c54f926d improved NamedMutex/Event error diagnostics 2013-06-15 13:13:34 -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
1cc5cd93f4 Merge pull request #156 from mar-na/f154497a9f0f9b408917c07180cdf1e20a5647c6
Possible buffer overrun in Foundation/EventLogChannel
2013-04-21 10:50:51 -07:00
mar-na
f154497a9f Possible buffer overrun in Foundation/EventLogChannel 2013-04-18 13:28:16 +02: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
26c1131053 remove unused variable 2013-04-03 21:25:19 -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
Rangel Reale
d93472fe46 * BUGFIX: URI::addQueryParameter was adding an extra '?' to the query string 2013-04-03 14:10:18 -03: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
0fe58b7668 GH #139: FileChannel::PROP_FLUSH is invalid
GH #139: FileChannel::PROP_FLUSH is invalid (contains a tab character)
2013-03-27 21:02:57 -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
Marian Krivos
c44facfe32 cmake update - 21.04.2012 2013-03-21 19:49:34 +01: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
aleks-f
2c5601ea69 GH #130 and #131
- fixed GH #130: Patch: prefer sysconf over sysctlbyname
- fixed GH #131: Patch: no timezone global var on OpenBSD
2013-03-19 21:15:21 -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
aleks-f
ad66c4aac4 GH124: Possible buffer overrun in EventLogChannel 2013-03-12 23:13:02 -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
Guenter Obiltschnig
dc5c8c87da - fixed GH# 116: Wrong timezone parsing in DateTimeParse (fix by Matej Knopp) 2013-03-06 07:50:02 +01: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
ef1c594fb1 SF Feature requests #168 and #163 - part 2 2013-02-19 21:43:10 +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
Guenter Obiltschnig
e9ec584733 On Linux, Poco::Environment::nodeId() first always tries to obtain the MAC address of eth0 before trying other interfaces 2013-02-14 16:26:19 +01: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
72b5b7acae GH #80: NumberFormatter::append broken
fixed GH #80: NumberFormatter::append broken
2013-02-07 21:43:40 -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
f731dbb400 testsuite for void event 2013-01-23 10:11:43 +01: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
Aleksandar Fabijanic
a44758f1ac Merge pull request #35 from syvex/POSIXThreadNames
Enable debugging thread names in Thread_POSIX
2013-01-19 21:58:49 -08: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
Aleksandar Fabijanic
aeeada3559 add Error.cpp/h to VS2003 solution 2013-01-06 11:37:38 -06: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
aleks-f
7eb8a7bfd6 Merge remote-tracking branch 'origin/unbundled-static-build' into develop 2013-01-05 13:57:36 -06:00
alex
161ea4ec18 unbundled build fixes 2013-01-05 00:04:09 -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
Alex
7094df540f GH 46: 1.5.1 build fails on OS X when using libc++ 2012-12-30 09:50:59 -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
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
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
a4e781f487 Revert "enable skipws"
This reverts commit 9c851f0d1b.
2012-12-20 20:04:46 -06:00
Alex
9c851f0d1b enable skipws 2012-12-19 22:06:33 -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
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
Alex
634132455b remove bad char at file beginning 2012-12-16 22:41:41 -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
Aleksandar Fabijanic
245dc64c7e added VS2012 Foundation TestSuite dependency
added VS2012 Foundation TestSuite dependency on TestApp and TestLibrary
2012-12-14 15:30:41 -06:00
aleks-f
1ea4b41dad added ifconfig to samples Makefile 2012-12-14 15:30:24 -06:00
aleks-f
0b0e293b96 added Error.cpp/h files to VS projects 2012-12-14 14:44:45 -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
Mike Naquin
5cd3d194ef Add pthread_setname_np in Thread_POSIX. User can enable this with -DPOCO_POSIX_DEBUGGER_THREAD_NAMES. 2012-12-14 09:35:48 -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
Patrick White
f0ad6127ab Add tests for the new message length functionality for messageSource. 2012-12-10 23:48:10 -05: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
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
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
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