Commit Graph

982 Commits

Author SHA1 Message Date
Pascal Bach
e239c9de2a CMake: DLL tests should not run if compiled static 2014-10-14 17:58:46 +02:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
Günter Obiltschnig
cdc9f48a6e Merge pull request #566 from mar-na/patch-3
Supported little endian for MIPS
2014-10-14 11:24:24 +02:00
micheleselea
f861a6467c RESERVER_QUERY update
in function setQuery, or when you have to use encode internally, is used RESERVED_QUERY that is only # if you have a query with / the character is encoded, and I think you don't want
2014-10-14 09:49:11 +02:00
mar-na
368fff1c05 Supported little endian for MIPS 2014-10-13 15:12:07 +02:00
Guenter Obiltschnig
50f1f12cab Poco::URI: added new constructor to create URI from Path 2014-10-12 11:19:52 +02:00
Guenter Obiltschnig
5b0fa2e06a Poco::Buffer properly handles zero-sized buffers 2014-10-09 10:34:46 +02:00
Guenter Obiltschnig
ef34c21e91 added Clock::raw(); style fixes 2014-10-08 07:59:48 +02:00
Günter Obiltschnig
9ee4d0a36b Merge pull request #558 from ivannp/develop
Adding Timestamp::raw
2014-10-08 07:56:04 +02:00
Ivan Popivanov
cab8224cc3 Adding Timestamp::raw
Returns the raw value, (the internal representation) of the timestamp.
Useful when storing to a database for instance.
2014-10-08 01:51:06 -04:00
Alex Fabijanic
c8563c86bf Bug in doubleToStr #557 2014-10-07 23:40:36 -05:00
Guenter Obiltschnig
501470c1d3 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-10-06 14:16:15 +02:00
Guenter Obiltschnig
a04228aee3 updated version to 1.5.4 2014-10-06 14:15:57 +02:00
Günter Obiltschnig
6fe2e4fb11 VS project files: do not share intermediate directory between projects in same folder 2014-10-06 13:51:49 +02:00
Guenter Obiltschnig
756bbdd3d2 HAVE_STDINT_H=0 was not honored in pcre_internal.h 2014-10-06 10:30:04 +02:00
Guenter Obiltschnig
5cbcae3ee5 renamed config.h to pcre_config.h, as was before integration of pcre 8.35 2014-10-06 08:54:18 +02:00
Günter Obiltschnig
e8c19d0efe Merge pull request #551 from danoli3/pcre_update_2014
PCRE updated to 8.35.0
2014-10-06 08:00:57 +02:00
Guenter Obiltschnig
d66fde51b5 #544 use _DEBUG instead of DEBUG macro in [Simple]HashTable 2014-10-06 07:35:04 +02:00
Daniel Rosser
7d413184e6 zlib patch for DEBUG pre-processor
Patch as described on zlib:
https://github.com/madler/zlib/pull/80
2014-10-06 14:37:39 +11:00
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