Commit Graph

457 Commits

Author SHA1 Message Date
Guenter Obiltschnig
7c6e402d0e added UTF16CharTraits and UTF32CharTraits to make everything work on platforms without std::wstring 2014-05-31 17:24:51 +02:00
Oldřich Jedlička
2cdfa7ae57 Allow absolute index to be used when all values has been used. 2014-05-29 10:47:34 +02:00
Guenter Obiltschnig
fa013c574a fixes for WinCE6 2014-05-25 16:56:20 +02:00
Alex Fabijanic
d39a353789 - fixed GH #230: Poco::Timer problem
- updated CHANGELOG and Release Notes
2014-05-23 04:06:18 -05:00
Alex Fabijanic
b416df22fe revert (broken build) 2014-05-22 11:34:35 -05:00
Aleksandar Fabijanic
731fb29fcc Merge pull request #344 from RangelReale/htmlformcontentlength
HTMLForm Content-Length calculation
2014-05-21 22:27:12 -05:00
Aleksandar Fabijanic
89b7228461 Merge pull request #266 from tokiloki/format
format support both raw and STL strings
2014-05-21 22:24:42 -05:00
Aleksandar Fabijanic
96de8fb909 Merge pull request #300 from easybe/tempfile
Make TemporaryFile append a slash to tempDir
2014-05-21 22:23:30 -05:00
Aleksandar Fabijanic
d4ef034958 Merge pull request #319 from csabakeszegh/develop
android build with cmake
2014-05-21 22:20:39 -05:00
Alex Fabijanic
83d11b5a00 fixed GH #363: DateTimeParser tryParse/parse 2014-05-22 03:08:41 -05:00
Guenter Obiltschnig
ad9cebaf38 fixed #318: Logger local time doesn't automatically account for DST 2014-05-21 09:00:53 +02:00
Aleksandar Fabijanic
60f6d79469 coding style changes 2014-05-18 23:03:02 -05:00
Kontinuation
efc1585ae3 Make the copy assignment operator of Exception class exception safe 2014-05-18 20:48:56 +08:00
Guenter Obiltschnig
f586911b8f TextEncoding fixes, added reverse encodings 2014-05-15 14:32:24 +02:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02: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
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
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
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
fbbfc507e2 fixed thread priority issues on POSIX platforms with non-standard scheduling policy 2014-04-14 17:50:46 +02:00
Günter Obiltschnig
b2ba1dfb74 -added Windows Embedded Compact 2013 support 2014-03-17 14:36:17 +01:00
Alex Fabijanic
ea666bb16b Building Poco 1.5.2 for Synology RS812+ (Intel Atom) #405 2014-03-10 21:20:18 -05: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
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
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
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
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
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
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
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
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
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
Alex
94c54f926d improved NamedMutex/Event error diagnostics 2013-06-15 13:13:34 -05:00
Guenter Obiltschnig
83ed03d4ad WinCE fixes for zlib 1.2.8 2013-06-09 20:32:03 +02:00
Marian Krivos
18fa93830c fix for missing #include <memory> for gcc 4.8.1 2013-06-05 20:36:22 +02: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
ca16b76f9f Merge pull request #199 from syvex/ThreadNames
Debug build and debugger shouldn't be required for OS thread names
2013-06-04 19:00:12 -07:00
Aleksandar Fabijanic
130f6cba72 added zlib 1.2.8 files 2013-06-04 00:40:39 -05:00
Aleksandar Fabijanic
5feae5243a removed zlib files 2013-06-04 00:39:40 -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
aleks-f
282374980c gcc alignment and warning suppression 2013-06-02 22:56:18 -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
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
a0dfc58396 fix std::ios::internal usage in Poco::format() 2013-05-25 00:32:30 +02:00
Guenter Obiltschnig
0434ee2b6b fixed GH# 65: Poco::format() misorders sign and padding specifiers 2013-05-24 23:54:15 +02:00
Guenter Obiltschnig
6f48b4469e fixed GH# 194: MessageNotification constructor is inefficient. 2013-05-24 20:05:25 +02:00
Mike Naquin
ee77d05ab5 Remove the need for a debug build or debugger when setting Win32 thread names. 2013-05-20 12:47:14 -05:00
Mike Naquin
29a9a2cf1d Remove the need for a debug build or debugger when setting POSIX thread names. 2013-05-20 12:46:03 -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
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
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
Rangel Reale
d93472fe46 * BUGFIX: URI::addQueryParameter was adding an extra '?' to the query string 2013-04-03 14:10:18 -03: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
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
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
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
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
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
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
72b5b7acae GH #80: NumberFormatter::append broken
fixed GH #80: NumberFormatter::append broken
2013-02-07 21:43:40 -06:00
aleks-f
21da0129b6 Dynamic::Var SOO
Dynamic::Var  small object optimization and some refactoring
2013-02-05 22:12:21 -06:00
aleks-f
911f22508e Any SOO 2013-01-31 21:12:13 -06: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
Alex
7094df540f GH 46: 1.5.1 build fails on OS X when using libc++ 2012-12-30 09:50:59 -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
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
e75081af94 added Token::asInteger64(); ODBC tests fix for case-sensitive DB 2012-12-16 19:45:38 -06:00