Commit Graph

164 Commits

Author SHA1 Message Date
Mathäus Mendel
8895045fb5 Made all testsuite link with pthreads on Unix systems
This fixes the linker errors due to missing pthreads library on AIX.
2016-03-11 10:30:15 -03:00
FrancisANDRE
6e97a9f11b Split tests into samples & tests.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-19 17:15:55 +01:00
Miklos Vajna
ce8fa7740c GH #1050 JSON: fix gcc -Wshadow warnings 2015-12-11 08:32:53 +01:00
fbraem
18b92b5b36 Use escape to correctly escape unicode characters 2015-12-07 17:33:10 +01:00
Guenter Obiltschnig
ba946fc592 fix for VS2008 2015-11-04 22:46:06 +01:00
Guenter Obiltschnig
7f9dff45c0 remove unneeded #include 2015-09-30 10:32:33 +02:00
Aleksandar Fabijanic
8aef165ed5 Merge pull request #938 from adasworks/develop
fix: cmake: set public compiler flags on library targets
2015-09-15 10:28:42 -05:00
Csaba Keszegh
61305c01ee fix: set public compiler flags on library targets
POCO_STATIC: has to be set when using poco as static library
POCO_NO_ATUMATIC_LIBS: CMake config module will find the correct libraries.
  Don't need to guess in headers.
2015-09-15 10:02:38 +02:00
Aleksandar Fabijanic
32956fe044 Change in JSON::Object::set(key,value) behavior in 1.6.1 #933
fix according to [suggestion](fee347ec6a (commitcomment-13196733))
2015-09-12 13:17:01 -05:00
Aleksandar Fabijanic
fee347ec6a Change in JSON::Object::set(key,value) behavior in 1.6.1 #933 2015-09-10 22:12:34 -05:00
Guenter Obiltschnig
7a6f54e0f0 fix for NumberParser changes 2015-09-09 14:26:26 +02:00
Alex Fabijanic
4ff19c95c0 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2015-07-30 20:50:19 -05:00
Alex Fabijanic
08a85e84a4 stringify method output wrong json string #891 2015-07-30 20:49:54 -05:00
Günter Obiltschnig
b6ae5128ce added Visual Studio 2015 project files 2015-07-30 15:48:45 +02:00
Aleksandar Fabijanic
86a33e9b75 style fixes 2015-06-09 23:04:48 -05:00
unknown
956f38574a optimize order preservation (keep pointers to keys instead of copies); remove (unnecessary) prserveOrder flag from Stringifier::stringify() 2015-06-01 10:29:51 -05:00
unknown
4ac92e5cb2 JSON Stringifier fails with preserve insert order #819 2015-06-01 09:28:00 -05:00
Aleksandar Fabijanic
45ab455174 JSON Stringifier fails with preserve insert order #819 2015-05-14 22:10:45 -05:00
albert.j.cross@gmail.com
fffb6bc7a0 Poco::JSON::PrintHandler not working for nested arrays #782 2015-04-20 23:13:49 +02:00
martin-osborne
4cf45ea4a3 Corrected more words. 2015-04-10 11:31:12 +01:00
martin-osborne
e9dce11e50 Correct mispelt 'd' and 'e' words. 2015-04-10 10:54:47 +01:00
martin-osborne
7e730aa9b8 Corrected other misspelt 'a' words. 2015-04-06 17:34:48 +01:00
Alex Fabijanic
bfe16d25a2 Poco::JSON::PrintHandler not working for objects in array #766 2015-03-31 21:43:21 -05:00
Alex Fabijanic
beb81b4f16 add JSONFormatter 2015-02-10 00:27:07 -06:00
Sascha Zelzer
10425a9556 Do not overwrite CMAKE_PREFIX_PATH in component config files.
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Guenter Obiltschnig
931a5a5252 Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past 2014-12-15 11:05:13 +01:00
Günter Obiltschnig
bc0978d01e fixed GH #471: vs2010 release builds have optimization disabled
fixed GH #616: Visual Studio warning C4244
2014-11-20 21:22:52 +01: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
Alex Fabijanic
102413aed5 clang build fixes 2014-10-11 18:48:00 -05:00
Alex Fabijanic
ff07ee1c6e an attempt to reproduce GH #491 2014-10-11 18:25:32 -05: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
f2512856ee added Var::isBoolean() and fixed JSON stringifier 2014-09-18 20:57:34 +02:00
rafzi
a787b4f898 fix JSON stringify to escape special characters
When converting from non string types the converted string was not escaped
2014-09-06 19:42:06 +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
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00
Guenter Obiltschnig
3f5e9bd247 fixed testsuite 2014-07-16 16:14:41 +02:00
Alex Fabijanic
32d4c1eb07 GH #482: Poco::JSON::Stringifier::stringify bad behaviour 2014-07-10 21:00:59 -05:00
Pascal Bach
16e8ed8ab5 cmake: JSON cleanup
- explicitly list files

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +02:00
Alex Fabijanic
5cd3e842e8 added '/' to the characters escaped in JSON 2014-05-28 21:05:30 -05:00
Alex Fabijanic
b2eb4fda59 GH #176: Poco::JSON::Stringifier UTF encoding 2014-05-27 22:23:10 -05:00
Kontinuation
de0147fbf0 added test case for the newly added JSON::Array::set function 2014-05-23 21:56:00 +08:00
Kontinuation
5a07343bd6 Merge remote-tracking branch 'upstream/develop' into develop 2014-05-23 03:02:45 +08:00
Kontinuation
1b5f9cb079 style fixes 2014-05-23 02:38:57 +08:00
Kontinuation
3880f76d82 fixed array element updating problem in JSONConfiguration 2014-05-23 02:22:06 +08: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
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