Commit Graph

483 Commits

Author SHA1 Message Date
Guenter Obiltschnig
544229302e #538 prevent destructors from throwing exceptions 2014-09-19 09:46:49 +02:00
Guenter Obiltschnig
c8686a727d Bugcheck::unexpected() only reports the exception in debug builds 2014-09-19 08:21:03 +02:00
Guenter Obiltschnig
e500d0f31a added poco_unexpected() macro invoking Bugcheck::unexpected() to deal with unexpected exceptions in destructors 2014-09-19 08:16:47 +02:00
Guenter Obiltschnig
a815e0a90e added %L modifier to PatternFormatter to switch to local time; some style fixes 2014-09-10 08:32:25 +02:00
Pascal Bach
40024660ae Update Windows1250Encoding.ccp and Windows1252Encoding.ccp including Unit tests
* Add encoding names. According to the document below, the default encoding name should be "windows-1250" and "windows-1252".
   http://www.iana.org/assignments/character-sets/character-sets.xhtml
* Unit tests update to reflect the change.
2014-08-22 13:22:30 +02:00
Daniel Rosser
64d9c3995c iOS arm64 compile fix
Fix for issue #508 “Can't compile for arm64 architecture”

Tested and working with the proposed change.
2014-08-22 19:30:58 +10:00
Denis
9b4ddbf641 Update Windows1251Encoding.cpp
* Add one missing letter 'я' (0x044f).
 * Add encoding names. According to the document below, the default encoding name should be "windows-1251".
   http://www.iana.org/assignments/character-sets/character-sets.xhtml
2014-08-21 16:08:52 +04:00
Günter Obiltschnig
5c04101a35 fixed Process::isRunning() on Windows 2014-08-15 09:15:12 +02:00
Günter Obiltschnig
d14be5730a style fixes 2014-08-14 19:21:20 +02:00
Aleksandar Fabijanic
2c36e51d8a Update Process_WINCE.cpp 2014-08-12 18:39:01 -05:00
Aleksandar Fabijanic
83dd1ad16c Update Process_WIN32U.cpp 2014-08-12 18:38:33 -05:00
Aleksandar Fabijanic
667e2736bc Update Process_WIN32.cpp 2014-08-12 18:38:06 -05:00
Aleksandar Fabijanic
b55ade5fcf Update Process_VX.cpp 2014-08-12 18:37:35 -05:00
Aleksandar Fabijanic
770a25e8fe Update Process_VMS.cpp 2014-08-12 18:37:08 -05:00
Aleksandar Fabijanic
8f187e117b style 2014-08-12 18:36:30 -05:00
Aleksandar Fabijanic
828732f774 Merge pull request #514 from yuvalk/develop
add is_running support
2014-08-12 18:35:27 -05:00
Yuval Kashtan
af44951e77 add is_running support 2014-08-11 17:21:53 +03:00
Collin Hockey
e7b91e8125 Add NIOS2 double conversion detection, fixes compile errors 2014-08-06 09:58:36 -04:00
Günter Obiltschnig
7a008cbc76 fix SharedMemory for WinCE 2014-08-05 10:06:51 +02:00
Aleksandar Fabijanic
9258e482d7 GH #508: Can't compile for arm64 architecture 2014-07-29 10:46:52 -05:00
Markus Kolb
c39ad4da65 NamedEvent_WIN32 be more verbose on SystemException with GetLastError() 2014-07-11 15:03:06 +02:00
Markus Kolb
37691144df Try OpenFileMapping in PAGE_READONLY mode because of SeCreateGlobalPrivilege (https://github.com/pocoproject/poco/issues/493) 2014-07-11 14:57:05 +02:00
Alex Fabijanic
5d7d1d3c07 GH #481: 2 warnings during Poco compile 2014-07-09 20:35:47 -05:00
Guenter Obiltschnig
6512ff1f6d fixed GH #424: Poco::Timer deadlock 2014-06-05 15:02:46 +02:00
Guenter Obiltschnig
c2704199ae AtomicCounter fix for GH #282: Using Thread in a global can cause crash on Windows 2014-06-05 13:49:38 +02:00
Aleksandar Fabijanic
b5ce0804a1 GH #282: Using Thread in a global can cause crash on Windows 2014-06-04 10:21:26 -05:00
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