CVS log for parser3/src/classes/json.C

[BACK] Up to [parser3project] / parser3 / src / classes

Request diff between arbitrary revisions - Display revisions graphically


Keyword substitution: kv
Default branch: MAIN


Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Apr 25 13:38:46 2026 UTC (5 weeks, 4 days ago) by moko
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.69: preferred, unified
Changes since revision 1.69: +2 -2 lines
Copyright year updated, websites links changed to https://

Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:34:20 2025 UTC (5 months, 2 weeks ago) by moko
Branches: MAIN
Diff to: previous 1.68: preferred, unified
Changes since revision 1.68: +16 -12 lines
optimization: String::Empty used and avoided using passed length.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Oct 5 19:41:27 2025 UTC (7 months, 4 weeks ago) by moko
Branches: MAIN
Diff to: previous 1.67: preferred, unified
Changes since revision 1.67: +3 -16 lines
Optimization: valid_options optimized where HashStringValue::Iterator used

Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon May 26 00:52:15 2025 UTC (12 months, 1 week ago) by moko
Branches: MAIN
Diff to: previous 1.66: preferred, unified
Changes since revision 1.66: +8 -7 lines
implements feature #1277
String::Body(const char *abody) now explicit
but HashString::put(const char *str, V value) added for simplicity
optimizations:
HASH_PUT_CSTR used where hash.put called several time during execution;
caching String::Body::uitoa used at all pash.put(<uint> calls.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Nov 4 03:53:25 2024 UTC (18 months, 4 weeks ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0
Diff to: previous 1.65: preferred, unified
Changes since revision 1.65: +2 -2 lines
Copyright year updated

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Oct 20 14:30:14 2024 UTC (19 months, 1 week ago) by moko
Branches: MAIN
Diff to: previous 1.64: preferred, unified
Changes since revision 1.64: +3 -3 lines
warnings war

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Oct 16 03:28:30 2024 UTC (19 months, 2 weeks ago) by moko
Branches: MAIN
Diff to: previous 1.63: preferred, unified
Changes since revision 1.63: +32 -2 lines
$json:array[array or hash] added to provide more backward compatibility (implements feature #1251)

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Oct 2 21:24:41 2024 UTC (20 months ago) by moko
Branches: MAIN
Diff to: previous 1.62: preferred, unified
Changes since revision 1.62: +24 -24 lines
Temp_recursion class added;
spelling: $LIMITS.max_recoursion -> $LIMITS.max_recursion

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Oct 2 19:34:04 2024 UTC (20 months ago) by moko
Branches: MAIN
Diff to: previous 1.61: preferred, unified
Changes since revision 1.61: +2 -2 lines
*** empty log message ***

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Sep 13 04:01:22 2024 UTC (20 months, 2 weeks ago) by moko
Branches: MAIN
Diff to: previous 1.60: preferred, unified
Changes since revision 1.60: +2 -2 lines
optimization: Value::as() removed as dynamic_cast is faster, Value::is() is still required for is operator.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Sep 10 19:15:48 2024 UTC (20 months, 3 weeks ago) by moko
Branches: MAIN
Diff to: previous 1.59: preferred, unified
Changes since revision 1.59: +3 -4 lines
sparse-array class added (initial feature #930 implementation)

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Sep 10 19:09:56 2024 UTC (20 months, 3 weeks ago) by moko
Branches: MAIN
Diff to: previous 1.58: preferred, unified
Changes since revision 1.58: +127 -11 lines
VArray support functions without actual VArray files (related to feature #930)

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Oct 1 15:14:44 2023 UTC (2 years, 8 months ago) by moko
Branches: MAIN
Diff to: previous 1.57: preferred, unified
Changes since revision 1.57: +2 -2 lines
we don't have a dynamic json object.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Sep 26 20:49:06 2023 UTC (2 years, 8 months ago) by moko
Branches: MAIN
Diff to: previous 1.56: preferred, unified
Changes since revision 1.56: +3 -2 lines
copyright, authors actualized

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Jan 15 16:28:36 2021 UTC (5 years, 4 months ago) by moko
Branches: MAIN
CVS tags: release_3_4_6
Diff to: previous 1.55: preferred, unified
Changes since revision 1.55: +18 -3 lines
get_delim added for delimiter caching (10% faster on large json)

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Dec 15 17:10:28 2020 UTC (5 years, 5 months ago) by moko
Branches: MAIN
Diff to: previous 1.54: preferred, unified
Changes since revision 1.54: +2 -2 lines
Copyright year updated

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Dec 3 23:13:49 2017 UTC (8 years, 6 months ago) by moko
Branches: MAIN
Diff to: previous 1.53: preferred, unified
Changes since revision 1.53: +2 -2 lines
pa_gc_malloc_atomic should not be used

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Nov 15 22:48:57 2017 UTC (8 years, 6 months ago) by moko
Branches: MAIN
Diff to: previous 1.52: preferred, unified
Changes since revision 1.52: +2 -2 lines
regular new/delete no longer used in our code, stubs defend from accidental use (implements feature #1170)

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Feb 7 22:00:28 2017 UTC (9 years, 3 months ago) by moko
Branches: MAIN
CVS tags: release_3_4_5
Diff to: previous 1.51: preferred, unified
Changes since revision 1.51: +2 -2 lines
Copyright year: 2015->2017

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Jan 26 22:57:46 2017 UTC (9 years, 4 months ago) by moko
Branches: MAIN
Diff to: previous 1.50: preferred, unified
Changes since revision 1.50: +2 -2 lines
^reflection:stack[] added (implements feature #1052)

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Jan 23 12:43:36 2017 UTC (9 years, 4 months ago) by moko
Branches: MAIN
Diff to: previous 1.49: preferred, unified
Changes since revision 1.49: +12 -2 lines
$json-string $.one-line(true|false) options is now supported (implements feature #1124)

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Nov 3 16:17:37 2016 UTC (9 years, 7 months ago) by moko
Branches: MAIN
Diff to: previous 1.48: preferred, unified
Changes since revision 1.48: +15 -17 lines
Optimization: VMethodFrame now divided into VNativeMethodFrame, VParserMethodFrame, VLocalParserMethodFrame;
METHOD_FRAME_ACTION, EXPRESSION_FRAME_ACTION, CONSTRUCTOR_FRAME_ACTION defines added and used (related to feature #1104)

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Nov 1 23:10:40 2016 UTC (9 years, 7 months ago) by moko
Branches: MAIN
Diff to: previous 1.47: preferred, unified
Changes since revision 1.47: +3 -3 lines
cleanup: r.write_pass_lang, r.write_no_lang -> r.write (implements feature #1091)

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Oct 6 19:41:36 2016 UTC (9 years, 7 months ago) by moko
Branches: MAIN
Diff to: previous 1.46: preferred, unified
Changes since revision 1.46: +2 -2 lines
params.get now returns Value&, not Value*

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Oct 4 13:23:46 2016 UTC (9 years, 8 months ago) by moko
Branches: MAIN
Diff to: previous 1.45: preferred, unified
Changes since revision 1.45: +7 -7 lines
proces_to_value -> process after StringOrValue removed (related to feature #1020)

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Sep 29 18:49:42 2016 UTC (9 years, 8 months ago) by moko
Branches: MAIN
Diff to: previous 1.44: preferred, unified
Changes since revision 1.44: +2 -2 lines
optimization: StringOrValue removed as it just slows down and adds complexity (implements feature #1020)

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Sep 21 15:35:10 2016 UTC (9 years, 8 months ago) by moko
Branches: MAIN
Diff to: previous 1.43: preferred, unified
Changes since revision 1.43: +3 -3 lines
charsets -> pa_charsets, vs2015 warning war

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Jul 20 13:57:04 2016 UTC (9 years, 10 months ago) by moko
Branches: MAIN
Diff to: previous 1.42: preferred, unified
Changes since revision 1.42: +4 -4 lines
VHashBase and VHashReference added, allowing ^reflection:fields_reference[] implementation (closes feature #1072)

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue May 24 17:48:37 2016 UTC (10 years ago) by moko
Branches: MAIN
Diff to: previous 1.41: preferred, unified
Changes since revision 1.41: +2 -2 lines
FIELDS_SYMBOL, _DEFAULT_SYMBOL added and used (implements feature #1056)

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Mar 31 21:46:20 2016 UTC (10 years, 2 months ago) by moko
Branches: MAIN
Diff to: previous 1.40: preferred, unified
Changes since revision 1.40: +2 -2 lines
optimizaion: *_base_class removed (related to feature #1051)

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Oct 26 01:21:54 2015 UTC (10 years, 7 months ago) by moko
Branches: MAIN
CVS tags: release_3_4_4
Diff to: previous 1.39: preferred, unified
Changes since revision 1.39: +2 -2 lines
Copyright year updated

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Oct 8 22:49:36 2015 UTC (10 years, 7 months ago) by moko
Branches: MAIN
Diff to: previous 1.38: preferred, unified
Changes since revision 1.38: +2 -2 lines
String(char*, Lang, length) removed, String(C(), Lang) used instead (related to bug #957)

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Sep 18 00:43:47 2015 UTC (10 years, 8 months ago) by moko
Branches: MAIN
Diff to: previous 1.37: preferred, unified
Changes since revision 1.37: +2 -2 lines
iso-string documented (related to issue #1032)

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Aug 10 23:47:52 2015 UTC (10 years, 9 months ago) by moko
Branches: MAIN
Diff to: previous 1.36: preferred, unified
Changes since revision 1.36: +5 -5 lines
hash_json_string argument can be null (fixes bug #1029)

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jul 22 22:10:38 2015 UTC (10 years, 10 months ago) by moko
Branches: MAIN
Diff to: previous 1.35: preferred, unified
Changes since revision 1.35: +8 -1 lines
tainted json and empty json exception added (implements feature #1015)

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Jul 22 18:29:09 2015 UTC (10 years, 10 months ago) by moko
Branches: MAIN
Diff to: previous 1.34: preferred, unified
Changes since revision 1.34: +66 -5 lines
json_exception_with_source added (implements feature #394)

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Mar 17 07:28:43 2015 UTC (11 years, 2 months ago) by misha
Branches: MAIN
Diff to: previous 1.33: preferred, unified
Changes since revision 1.33: +4 -2 lines
- if option $._default[method-name] is specified in ^json:string[], a method with specified name will be called for classes/objects serialization ( new feature: #982 )

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Feb 3 09:47:47 2015 UTC (11 years, 4 months ago) by misha
Branches: MAIN
Diff to: previous 1.32: preferred, unified
Changes since revision 1.32: +2 -2 lines
- ^json:string($double) causes exception. bugfix: #1008

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Jun 29 05:55:35 2014 UTC (11 years, 11 months ago) by misha
Branches: MAIN
Diff to: previous 1.31: preferred, unified
Changes since revision 1.31: +6 -1 lines
- new option $.void[string|null] added to ^json:string[...] ( new feature: #952 )

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri May 23 02:47:16 2014 UTC (12 years ago) by misha
Branches: MAIN
Diff to: previous 1.30: preferred, unified
Changes since revision 1.30: +2 -2 lines
- bug fix: #987

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun May 4 01:38:01 2014 UTC (12 years, 1 month ago) by misha
Branches: MAIN
Diff to: previous 1.29: preferred, unified
Changes since revision 1.29: +14 -3 lines
- To ^json:parse[] added option $.int(bool, default true). The option is similar to $.double(bool) but for integers.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Oct 29 13:29:24 2013 UTC (12 years, 7 months ago) by moko
Branches: MAIN
CVS tags: release_3_4_3
Diff to: previous 1.28: preferred, unified
Changes since revision 1.28: +2 -2 lines
json.c -> pa_json.C (for exceptions to be thrown thougth json library), related to issue #892

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Aug 27 11:27:45 2013 UTC (12 years, 9 months ago) by moko
Branches: MAIN
Diff to: previous 1.27: preferred, unified
Changes since revision 1.27: +3 -3 lines
cstr_to_string_body_untaint should be called with charsets for possible uri language and connection for possible sql language.
related to issue #857

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Aug 21 14:47:16 2013 UTC (12 years, 9 months ago) by moko
Branches: MAIN
Diff to: previous 1.26: preferred, unified
Changes since revision 1.26: +2 -2 lines
no message

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Aug 21 12:11:13 2013 UTC (12 years, 9 months ago) by moko
Branches: MAIN
Diff to: previous 1.25: preferred, unified
Changes since revision 1.25: +28 -8 lines
anti_endless_json_string_recoursion removed from request;
json_string_recoursion added to json_options;
$.indent[indent value] now supported and passed within recoursion
closes feature #937

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Jul 29 09:44:16 2013 UTC (12 years, 10 months ago) by moko
Branches: MAIN
Diff to: previous 1.24: preferred, unified
Changes since revision 1.24: +57 -54 lines
JSON_parser with non-free licence is replaced with similar GPL licenced libjson (fixes issue #892)

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jun 21 14:22:09 2012 UTC (13 years, 11 months ago) by moko
Branches: MAIN
CVS tags: release_3_4_2
Diff to: previous 1.23: preferred, unified
Changes since revision 1.23: +3 -2 lines
output_options returned and used (bugfix for feature #265)

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jun 4 13:46:18 2012 UTC (14 years ago) by moko
Branches: MAIN
Diff to: previous 1.22: preferred, unified
Changes since revision 1.22: +14 -5 lines
^json:parse[] now supports $.taint option (new feature #833)

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue May 29 21:57:01 2012 UTC (14 years ago) by moko
Branches: MAIN
Diff to: previous 1.21: preferred, unified
Changes since revision 1.21: +12 -7 lines
^json:string[], $.default -> $._default

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon May 28 19:47:52 2012 UTC (14 years ago) by moko
Branches: MAIN
Diff to: previous 1.20: preferred, unified
Changes since revision 1.20: +34 -31 lines
^json:string[$o; $.default[$method]] implemented for VObject (new feature #803)

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon May 28 10:43:58 2012 UTC (14 years ago) by moko
Branches: MAIN
Diff to: previous 1.19: preferred, unified
Changes since revision 1.19: +2 -2 lines
json numbers are now treated as double ( new feature: #834 )

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun May 27 22:33:59 2012 UTC (14 years ago) by misha
Branches: MAIN
Diff to: previous 1.18: preferred, unified
Changes since revision 1.18: +2 -2 lines
- ^json:string[...] now accepts "stat" $.file[] option's value in addition to existed  "text" and "base64" ( new feature: #835 )

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Apr 24 22:41:09 2012 UTC (14 years, 1 month ago) by moko
Branches: MAIN
Diff to: previous 1.17: preferred, unified
Changes since revision 1.17: +2 -2 lines
memcached_add implemented.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Mar 16 09:24:07 2012 UTC (14 years, 2 months ago) by moko
Branches: MAIN
Diff to: previous 1.16: preferred, unified
Changes since revision 1.16: +3 -3 lines
ident now works under Linux + ident displays filenames (closes issue #818)
Copyright updated

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 30 06:15:26 2011 UTC (14 years, 6 months ago) by misha
Branches: MAIN
Diff to: previous 1.15: preferred, unified
Changes since revision 1.15: +35 -11 lines
- it's possible to set user's method for parsing arrays: ^json:parse[...;$.array[$hook]] ( new feature: #763 )

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Nov 11 22:54:26 2011 UTC (14 years, 6 months ago) by misha
Branches: MAIN
Diff to: previous 1.14: preferred, unified
Changes since revision 1.14: +14 -3 lines
- ^json:string[$.class_name[jmethod]] now checks for ancestors' classes as well ( new feature: #456 )

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed May 18 01:25:06 2011 UTC (15 years ago) by misha
Branches: MAIN
Diff to: previous 1.13: preferred, unified
Changes since revision 1.13: +12 -1 lines
- now json:string can serialize xdoc-objects. options (the same as ^xdoc.string[]) could be specified in $.xdoc[] ( new feature: #265 )

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Nov 3 22:07:01 2010 UTC (15 years, 7 months ago) by moko
Branches: MAIN
CVS tags: release_3_4_1
Diff to: previous 1.12: preferred, unified
Changes since revision 1.12: +13 -12 lines
key is now passed to handler in value_json_string;
^json:string result now process tainting inside and returns clean string, related to issue #153

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Oct 26 11:41:42 2010 UTC (15 years, 7 months ago) by moko
Branches: MAIN
Diff to: previous 1.11: preferred, unified
Changes since revision 1.11: +4 -3 lines
libjson supports array at top level, we too (GPF fixed)

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Oct 21 15:06:29 2010 UTC (15 years, 7 months ago) by moko
Branches: MAIN
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +1 -3 lines
used_directly() now true by default

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Oct 1 23:07:30 2010 UTC (15 years, 8 months ago) by moko
Branches: MAIN
Diff to: previous 1.9: preferred, unified
Changes since revision 1.9: +2 -2 lines
null key bug fixed

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Sep 24 23:18:08 2010 UTC (15 years, 8 months ago) by moko
Branches: MAIN
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +3 -3 lines
small fixed

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Sep 24 08:18:57 2010 UTC (15 years, 8 months ago) by moko
Branches: MAIN
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +44 -10 lines
$.indent implemented for ^json:string

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Sep 20 02:23:46 2010 UTC (15 years, 8 months ago) by misha
Branches: MAIN
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +2 -2 lines
- add EOL while json-serializing hash

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Sep 16 23:35:38 2010 UTC (15 years, 8 months ago) by misha
Branches: MAIN
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +89 -1 lines
- ^json:string[object]

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Sep 9 09:52:43 2010 UTC (15 years, 8 months ago) by moko
Branches: MAIN
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +3 -3 lines
warning war. :)

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Sep 1 22:14:28 2010 UTC (15 years, 9 months ago) by moko
Branches: MAIN
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +45 -10 lines
$.distinct[first|last|all] added

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Aug 31 21:44:43 2010 UTC (15 years, 9 months ago) by moko
Branches: MAIN
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +35 -27 lines
json.C update to actual version + hash key creation bugfix

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Aug 31 13:30:13 2010 UTC (15 years, 9 months ago) by misha
Branches: MAIN
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +2 -2 lines
no message

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Aug 31 13:00:47 2010 UTC (15 years, 9 months ago) by misha
Branches: MAIN
- json library was added

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

E-mail: