Commit Graph

227 Commits

Author SHA1 Message Date
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