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
Guenter Obiltschnig
eb8c662c4c
code cleanups
2012-10-15 12:27:56 +00:00
Guenter Obiltschnig
2eb27b30b5
fixed JSON testsuite errors and warnings with VS2012
2012-10-14 15:51:23 +00:00
Guenter Obiltschnig
f5351b2f49
fixed 2012/64 project files
2012-10-14 14:55:49 +00:00
Guenter Obiltschnig
2b6687b428
added JSON sample project files
2012-10-14 14:27:25 +00:00
Guenter Obiltschnig
b90307c200
fixed vs2010 testsuite project files
2012-10-14 10:50:44 +00:00
Guenter Obiltschnig
d1e912ed46
fixed project files
2012-10-14 08:58:13 +00:00
Guenter Obiltschnig
1ce7c4e3d4
missing project files
2012-10-14 07:54:09 +00:00
Guenter Obiltschnig
d9a7c99c2d
set WINVER to 0x501
2012-10-14 07:52:00 +00:00
Aleksandar Fabijanic
e19eb5b704
silence clang/gcc
2012-10-13 05:08:12 +00:00
Aleksandar Fabijanic
f70ac1ca07
- added NumericString.h
...
- NumberParser improvements (internal Poco locale-awareness and parsing)
2012-09-30 05:17:56 +00:00
Aleksandar Fabijanic
3efcb444e0
rename BenchmarkApp -> Benchmark
2012-09-30 03:41:22 +00:00
Aleksandar Fabijanic
cf8db80310
2012-09-30 03:40:12 +00:00
Franky Braem
6918d6f91a
Correct comments
2012-09-28 16:52:42 +00:00
Aleksandar Fabijanic
fb275a9a30
Visual Studio 2012 projects and solutions files
2012-09-25 05:35:44 +00:00
Guenter Obiltschnig
244f0aaf5a
fixed a typo
2012-09-25 04:24:25 +00:00
Guenter Obiltschnig
c7de652ec9
renamed dir testfiles to data
2012-09-25 04:22:57 +00:00
Aleksandar Fabijanic
d8397b9153
- VS2012: build/tests
...
- JSON: style and exceptions catch by ref fix
- NumberParser: case-insensitive hex parsing
- Dynamic::Var: const std::string& cast operator specialization (coaxing std::string ctor)
- LocalDateTime: strftime fix (buffer too small for full tz string, use %Z instead of %z - makes no difference on windows but is more portable)
- small buildwin.cmd vsvars32.bat call fix
2012-09-24 03:51:40 +00:00
Aleksandar Fabijanic
883de9670a
Windows/VS2011 build all configs
2012-09-23 06:28:42 +00:00
Franky Braem
03b7dcd3e1
Some comments were pointing to Util mode instead of JSON
2012-09-06 17:37:22 +00:00
Aleksandar Fabijanic
47aadf0681
- SF# 3559325: Util Windows broken in non-Unicode
...
- port of rev. 1918 from 1.4.4 branch (fixed SF# 3519474)
- update VS 2010 Util projects with JSON
2012-08-19 01:42:38 +00:00
Aleksandar Fabijanic
14f6c10534
update JSON VS 2008 solution
2012-07-13 01:09:08 +00:00
Aleksandar Fabijanic
acf820c46d
VS 2008 project files and build fixes
2012-07-12 05:21:01 +00:00
Aleksandar Fabijanic
95c3e8871e
Linux 64-bit and static build fixes (only Ubuntu build tested)
2012-07-07 16:03:21 +00:00
Marian Krivos
114de565ff
added cmake support
2012-06-26 12:37:02 +00:00
Aleksandar Fabijanic
74b8911d13
JSON Windows compilation
2012-06-11 23:44:56 +00:00
Franky Braem
531ebad467
Add benchmark application as sampleBenchmark is the same as describe here: http://lijoblogs.blogspot.be/2011/11/comparison-and-benchmark-of-c-json.html
2012-06-11 20:39:06 +00:00
Franky Braem
6f8bbc67d1
Use 64 bit integers (if available) when int is not big enough
2012-06-11 20:36:32 +00:00
Franky Braem
1d674b745e
Continue processing invalid files when we got an exception and show the value when we didn't expect a value
2012-06-11 20:31:36 +00:00
Aleksandar Fabijanic
9b952a29c7
ported 1.4.4 branch changes (needs build checks and test runs!)
2012-05-19 03:04:51 +00:00
Franky Braem
425587f499
Catch Poco::SyntaxException for invalid JSON values
2012-05-15 20:52:32 +00:00
Franky Braem
5c8e55cd34
Remove testConfiguration and testItunes method. testConfiguration will be moved to Util testsuite
2012-05-15 19:35:41 +00:00
Aleksandar Fabijanic
6013d9ddfa
fixed project GUIDs (did not help ProGen)
2012-05-15 02:33:07 +00:00
Aleksandar Fabijanic
7503c00b8b
test files directory detection fix
2012-05-15 02:16:37 +00:00
Aleksandar Fabijanic
97ab4f1926
JSON testsuite Makefile
2012-05-15 02:04:24 +00:00
Aleksandar Fabijanic
3a46515ded
JSON VS 2010 build (library and tests)
2012-05-15 01:54:26 +00:00
Marian Krivos
a83d99abfb
fix JSON testsuite linking
2012-05-12 20:57:21 +00:00
Franky Braem
8c97338d5b
Add JSON dependencies file
2012-05-09 19:47:36 +00:00
Franky Braem
e780058dd3
Add Makefile for JSON testsuite
2012-05-09 19:46:51 +00:00
Marian Krivos
dc42208ee8
porting JSON to the Dynamic::Var
...
added to JSON to gmake build
2012-05-02 04:22:16 +00:00
Franky Braem
95c62c00df
Copy JSON from SandBox to trunk
2012-04-29 20:09:55 +00:00