Commit Graph

1013 Commits

Author SHA1 Message Date
Alex Fabijanic
a25877bfc2 - FIFOBuffer drain() problem #552
- StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are
  not thread safe #402
2014-10-03 16:12:42 -05:00
Daniel Rosser
010f7a5370 PCRE 8.35.0 Update
- Updated to PCRE 8.35 (latest, 2014-04-04)
- Updated Build files with new files and removed those that have
changed.
- Configured like previous configuration.
2014-10-03 23:17:24 +10:00
Günter Obiltschnig
a2617235fe #538 more dtor fixes and some style fixes along the way 2014-09-29 12:09:01 +02:00
Guenter Obiltschnig
b5658d3938 GH# 545: use short for sign 2014-09-29 10:10:09 +02:00
Guenter Obiltschnig
5a14f72508 fixed message 2014-09-19 09:48:59 +02:00
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
f2512856ee added Var::isBoolean() and fixed JSON stringifier 2014-09-18 20:57:34 +02:00
Günter Obiltschnig
d32354aea9 Merge pull request #536 from TimothyGu/develop
MinGW improvements
2014-09-17 19:38:10 +02:00
Guenter Obiltschnig
a293d04b37 disable isRunning test on WinCE 2014-09-14 11:49:40 +02:00
Guenter Obiltschnig
67b206f663 removed unnecessary explicit in some multi-arg constructors 2014-09-10 16:44:36 +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
Timothy Gu
b14d120b8c Types.h: Fix Win64 on MinGW 2014-09-08 16:27:42 -07:00
Günter Obiltschnig
8ae1a7e8ab UnWindows.h: don't define NTDDI_VERSION if compiling for WinCE target 2014-09-04 23:38:11 +02:00
Pascal Bach
7950001803 cmake: Cleanup CMakeLists.txt for all components
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code

The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +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
Aleksandar Fabijanic
c33809459d Merge pull request #522 from bakercp/bugfix-mingw32
MinGW32 Compatibility Fixes.
2014-08-21 22:20:43 -05:00
Christopher Baker
95b8a940da Add windmc stage to compile pocomsg.mc during MinGW builds. 2014-08-21 15:05:03 -05: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
eaa6e3a400 Update ProcessTest.cpp 2014-08-12 19:04:50 -05: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
04116d6593 add tests for Process::isRunning 2014-08-12 11:03:54 +03:00
Yuval Kashtan
af44951e77 add is_running support 2014-08-11 17:21:53 +03:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02: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
Pascal Bach
42d8b3973f cmake: Add workaround libpcre bundle issue (GH #120)
- Include only the required files, unbundle the rest
2014-07-13 17:53:26 +02: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
Pascal Bach
10b4a9c631 cmake: Foundation cleanup
- add NumericString.cpp to source files
- support unbundled pcre and zlib
- add OpcomChannel to OPENVMS_SRC for later OpenVMS support
-

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00
Alex Fabijanic
5d7d1d3c07 GH #481: 2 warnings during Poco compile 2014-07-09 20:35:47 -05:00
Mattes D
e90e01d98d Fixed MSVC 2010 warnings on large alignment
MSVC 2010 complained if the alignment was larger than 128. Disabled the alignment macros for all larger alignments if MSVC version is 2010 or lower.
2014-07-04 11:19:26 +02:00
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +02:00
Günter Obiltschnig
1eed885765 Merge pull request #472 from siemens/cmake
CMakeLists.txt: use Windows Kit as alternative for message compiler
2014-06-16 12:46:37 +02:00
Meier Roger meierro
a7247c7d75 CMakeLists.txt: use Windows Kit as alternative for message compiler 2014-06-16 12:43:50 +02: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
Guenter Obiltschnig
2ed52aac55 removed unnecessary <locale> include 2014-05-25 16:39:10 +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
Aleksandar Fabijanic
c033ee18d6 Merge pull request #348 from ptarabbia/develop
add hasDelegates() method to AbstractEvent
2014-05-21 22:12:00 -05:00
Alex Fabijanic
83d11b5a00 fixed GH #363: DateTimeParser tryParse/parse 2014-05-22 03:08:41 -05:00
Josh Blum
f442148670 poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64

For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.
2014-05-21 14:16:34 -07:00
Guenter Obiltschnig
ad9cebaf38 fixed #318: Logger local time doesn't automatically account for DST 2014-05-21 09:00:53 +02:00
Alex Fabijanic
9d47f3ced8 - added GH #445: Add flag to force POCO to preserve manually #defined target Windows versions
- fixed SQLite and MySQL broken builds
2014-05-21 04:47:24 -05:00
Alex Fabijanic
b7884c6d8c fixed broken build 2014-05-21 04:02:40 -05:00
Alex Fabijanic
1aa28e1491 GH #290: Unicode support 2014-05-21 03:28:24 -05:00
Kontinuation
0a46d7c7ac use release policy to deallocate ptr when RC construction failed 2014-05-20 07:44:55 +08:00
Guenter Obiltschnig
501aa9de1f Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-05-19 21:44:34 +02:00
Guenter Obiltschnig
e97f9227e8 GH #302: documentation typo 2014-05-19 21:43:14 +02:00
Günter Obiltschnig
5a191c4fb4 Merge pull request #343 from abergmeier/develop
Add platform configuration for Emscripten.
2014-05-19 17:46:17 +02:00
Guenter Obiltschnig
7b9e035a36 fixed GH# 447 NumberParser documentation on the format test used 2014-05-19 17:09:46 +02:00
Guenter Obiltschnig
33e41aab23 minor style fix 2014-05-19 16:56:08 +02:00
Günter Obiltschnig
c26eb63a5e Merge pull request #452 from Kontinuation/develop
Fixed possible memory leak in SharedPtr (issue #287)
2014-05-19 16:52:21 +02:00
Kontinuation
dabbf94cfb code indentation level 2014-05-19 22:34:57 +08:00
Kontinuation
6e92bdc01e fixed possible memory leaks in the constructor and assignment operator of SharedPtr reported by issue #287 2014-05-19 22:24:51 +08: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
Aleksandar Fabijanic
abce28bc65 VS 2003 Foundation build fix
__byteswap* should be available on VS2003 but linker can't seem to find
it; falling back to old code on VS2003
2014-05-10 21:24:55 -05:00
Aleksandar Fabijanic
33fc592755 VS90 64-bit build fix
VS90 64-bit build fix
2014-05-10 20:36:31 -05:00
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