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
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
Alex Fabijanic
4d366250e1
fixed GH #410 : Bug in JSON::Object.stringify() in 1.5.2
2014-04-28 21:43:57 -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
Günter Obiltschnig
b2ba1dfb74
-added Windows Embedded Compact 2013 support
2014-03-17 14:36:17 +01:00
Aleksandar Fabijanic
1cd745996c
Merge pull request #315 from fbraem/develop
...
Solve wrong escaping of unicode characters
2014-03-11 20:29:18 -05: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
Aleksandar Fabijanic
e6e85416c9
Merge pull request #367 from linquize/vs2013
...
VS2013 fixes
2014-01-15 19:27:45 -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
Günter Obiltschnig
d9e51fb522
fixed project files
2014-01-15 11:31:12 +01:00
Günter Obiltschnig
65bb38d04f
fixed vs2012 project files
2014-01-15 11:20:39 +01:00
Alex Fabijanic
1c732e9938
removed MFC dependencies (WinTestRunner) from test VS projects
2013-11-07 23:31:30 -06:00
Alex Fabijanic
4297d78621
VS 2013 projects/solutions
2013-11-05 23:11:28 -06:00
fbraem
1cb2823d22
Solve wrong escaping of unicode characters
2013-10-24 17:03:43 +02:00
Aleksandar Fabijanic
154c6969c2
GH# 267: JSON 'find' not returning empty result if object is expected but another value is found
...
GH# 267: JSON 'find' not returning empty result if object is expected
but another value is found
2013-09-14 22:33:41 -05:00
Rangel Reale
29885348ba
* Method to get JSON object value using Poco::Nullable
2013-08-21 10:34:21 -03:00
Günter Obiltschnig
c7f873eee8
added missing x64_vs90 project files, fixed Util x64 project files, fixed some warnings
2013-07-22 20:44:35 +02: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
Alex
20005dbf87
fix signed/unsigned warnings
2013-06-16 11:37:37 -05:00
Aleksandar Fabijanic
923eb91bb8
mainly JSON tidy-up
2013-06-15 20:28:09 -05:00
Alex
3ba7cc27a9
JSON Parser comment update
2013-06-09 22:56:53 -05:00
alex
61b8cb57f7
Solaris build
2012-08-18 02:54:54 -05:00
Aleksandar Fabijanic
b61b5ae53d
limit allowed types for JSON Query
...
limited allowed types for JSON::Query to Object, Array, Object::Ptr,
Array::Ptr and empty
2013-06-07 23:37:02 -05:00
Aleksandar Fabijanic
5e6ef1c14d
fixed GH #99 : JSON::Query an JSON::Object
...
- fixed GH #99 : JSON::Query an JSON::Object
- swapped order of AnyCast(const Any&) and AnyCast(Any&) definitions
2013-06-07 23:15:02 -05:00
alex
83ad8b36f5
fixed GH #138 : FreeBSD JSON tests fail
2013-06-02 23:36:36 -05:00
Aleksandar Fabijanic
d8de7489d5
clang compile
2013-06-01 16:30:02 -05:00
Aleksandar Fabijanic
168090324a
improveJSON parser perfromance
...
- unified string/stream algorithm
- templated Source class
- use char_traits integer type and conversion function for char
extraction
2013-06-01 16:01:46 -05:00
Aleksandar Fabijanic
f96c45bf72
comment unsigned 64 bit -1 JSON test (clang fail)
2013-05-27 21:33:30 -05:00
Aleksandar Fabijanic
6fa622f8b6
more clang fixes
2013-05-27 21:33:30 -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
Aleksandar Fabijanic
41a07c15bf
JSON fixes/refactoring
2013-05-20 23:36:58 -05:00
fbraem
87d955ecde
Integrate Poco::Web::JSON parser
2013-05-20 20:37:13 +02:00
Aleksandar Fabijanic
a6f8d07757
Solve sigsegv (old way of ParserHandler was still used)
...
fixed GH #145: Solve sigsegv (old way of ParserHandler was still used)
2013-04-07 12:00:34 -05:00
Aleksandar Fabijanic
0d79572848
Removed DefaultHandler typedef
...
Removed DefaultHandler typedef. JSON::Parser is now default constructed
with built-in parsing handler (i.e. without requirement that user
explicitly provides handler). Handler is now a SharedPtr so old code
with handler on the stack would cause undefined behavior, hence best to
break it now in development release ... apologies to anyone affected.
2013-03-28 22:18:57 -05:00
Aleksandar Fabijanic
579842bce4
handler reference counting
...
- handler reference counting
- parser returns parsing result
2013-03-24 17:32:57 -05:00
aleks-f
ab952e689d
few JSON fixes and tests
2013-03-18 20:59:29 -05:00
Alex
1a474584c3
mac/clang build fixes
2013-03-17 12:41:15 -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
727e3cd28d
GH #118 : JSON::Object::stringify endless loop
2013-03-06 21:21:58 -06:00
Mike Naquin
13a1a0b9a2
Fix JSON parsing of large unsigned 64-bit integers
2013-02-21 12:57:51 -06:00
aleks-f
66a56a944f
indentation
2013-02-20 17:08:44 -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
76a7e2e716
GH56: Need a way to disable *_API macros with GCC
...
GH #56 : Need a way to disable *_API macros with GCC
2013-01-13 10:31:21 -06:00
alex
161ea4ec18
unbundled build fixes
2013-01-05 00:04:09 -06:00
aleks-f
8a44e75187
purely cosmetics
2013-01-04 21:51:26 -06:00
fbraem
5964ae0a80
JSON unicode fixes and running tests on invalid unicode JSON
2013-01-04 17:09:04 +01:00
Alex
26a480d325
Revert "Revert "Revert "Merge pull request #45 from RangelReale/jsonunicode"""
...
This reverts commit 86647bd8ba
.
2012-12-30 09:37:52 -06:00
Alex
86647bd8ba
Revert "Revert "Merge pull request #45 from RangelReale/jsonunicode""
...
This reverts commit 52867ed7c7
.
2012-12-29 07:32:21 -06:00
Alex
52867ed7c7
Revert "Merge pull request #45 from RangelReale/jsonunicode"
...
This reverts commit dcf92dcfe3
, reversing
changes made to 79838aa76d
.
2012-12-29 07:32:09 -06:00
Rangel Reale
92ba6563f0
* Added unit test to JSON unicode change
2012-12-28 21:19:53 -02:00
Rangel Reale
3a2116233b
* Fix JSON unicode handling (see http://pocoproject.org/forum/viewtopic.php?f=10&t=5686 )
2012-12-28 11:55:12 -02:00
aleks-f
3ace867b6d
added JSON VS100 64 bit projects
2012-12-26 22:54:14 -06:00
aleks-f
e75081af94
added Token::asInteger64(); ODBC tests fix for case-sensitive DB
2012-12-16 19:45:38 -06:00
aleks-f
413db6d246
clean temp file garbage
2012-12-14 19:53:59 -06:00
aleks-f
2a81e59e8c
MySQL DateTime support, samples Linux compile
2012-12-14 19:48:10 -06:00
aleks-f
4a5cb5031b
fixed resolution fo Int64
2012-12-14 14:03:14 -06:00
Mike Naquin
d5858c15d4
Update JSON parser to correctly handle 64-bit integers
2012-12-13 09:39:50 -06:00
Mike Naquin
25811d4c64
Add 64-bit integer JSON unit test
2012-12-13 09:38:24 -06:00
aleks-f
ef9cda6666
GH #26 : Cannot compile on gcc
...
GH #26 : Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06:00
aleks-f
1b14088283
GH31: JSON implementation bug
...
fixed GH #31 : JSON implementation bug
2012-12-11 20:27:47 -06:00
Mathäus Mendel
e3649153b8
Fixed build with CMake
...
Used CMAKE_DEBUG_POSTFIX instead LIB_EXT for library name decoration on debug builds (less intrusive and more flexible)
2012-12-08 15:54:38 -02:00
aleks-f
1138f439af
few cosmetic changes
2012-12-03 20:36:04 -06:00
Fabrizio Duhem
52243b5d25
SF Bug 599
2012-12-03 20:07:36 +01:00
aleks-f
42d963a7d5
GH 23: JSON::Object::stringify throw BadCastException
...
GH issue #23 : JSON::Object::stringify throw BadCastException
2012-12-02 22:12:06 -06:00
aleks-f
cdd17f5203
SF Bug 599
...
SF Bug #599 JSON::Array and JSON::Object size() member can implicitly
lose precision
https://sourceforge.net/p/poco/patches/120/
2012-12-02 21:26:34 -06:00
Patrick White
180ad81cb3
Comment out unused function parameters to prevent compiler warnings in client code.
2012-11-28 15:03:56 -05:00
Guenter Obiltschnig
c867a80520
line ending fixes
2012-11-11 11:28:44 +01:00
Guenter Obiltschnig
8b91562dbd
more line ending fixes
2012-11-11 11:07:27 +01:00
Guenter Obiltschnig
87d7739f3d
removed .vcxproj.user files
2012-11-11 10:53:02 +01:00
Guenter Obiltschnig
79eab26377
the great line endings cleanup
2012-11-11 09:57:01 +01:00
aleks-f
67a27ac2fa
StringTokenizer trailing empty tokens consistency
...
Modified StringTokenizer to eith include or exclude all empty tokens
(including trailing ones based on TOK_IGNORE_EMPTY option.
2012-11-07 00:30:01 -06:00