Fossil

All files named "src/json_detail.h"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for src/json_detail.h

2023-01-19
01:01
Add missing 'void' to no-arg function decls and impls throughout the JSON API. (In my defense: the distinction between f(void) and f() was unknown to me at the time that code was written.) ... (file: [d48c61ce] check-in: [632dfd26] user: stephan branch: json-settings-command, size: 9480)
2021-03-18
03:21
Fix compiler warning seen with MSVC. ... (file: [327749d7] check-in: [2dbc7154] user: mistachkin branch: trunk, size: 9472)
2016-01-29
07:00
fixed type of JsonPageDef::runMode from char to int because it uses negative values and char is unsigned by ARM platforms. ... (file: [76bc835f] check-in: [8f6b78e7] user: stephan branch: trunk, size: 9346)
2014-09-11
17:25
char-vs-int fixes in the JSON API: caused underflow (and thus incorrect is-flag-set results) on platforms where char is unsigned (Linux/ARM). ... (file: [7d9cdc12] check-in: [57f0bb98] user: stephan branch: trunk, size: 9347)
2013-02-23
10:58
Added /json/status command. ... (file: [a5ef58bb] check-in: [d1e4d100] user: stephan branch: trunk, size: 9348)
2013-01-31
18:12
Added an "extern" to work around a duplicate-definition linking error with the tcc compiler. ... (file: [de450881] check-in: [ba86c859] user: stephan branch: trunk, size: 9213)
2012-11-04
12:59
Fix typos. ... (file: [cdb624f6] check-in: [45065c5c] user: dmitry branch: spelling, size: 9206)
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII ... (file: [fb97b613] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 9212)
2012-07-13
18:49
Reworked the /json/artifact/FILE|CHECKIN response payloads to streamline the structures, remove duplicate data, and add file parent information. ... (file: [cbecd775] check-in: [824ede2a] user: stephan branch: trunk, size: 9213)
15:06
Several minor internal cleanups to the json code which i thought i had committed last week :/. ... (file: [48581ec2] check-in: [055dfb12] user: stephan branch: trunk, size: 8818)
2012-03-29
14:54
Add vim modline everywhere ... (file: [78296562] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 9010)
2012-03-09
18:43
Added jsonApiVersion to /json/version output. ... (file: [a45f6a5c] check-in: [24d830ca] user: stephan branch: trunk, size: 8968)
2012-03-05
20:35
Consolidated some duplicated /json code, removed some dead code. Minor doc additions and cleanups. ... (file: [fbebd297] check-in: [6ca400a3] user: stephan branch: trunk, size: 8662)
2011-11-05
01:28
json doc updates and removal of some dead code. ... (file: [11be7e0f] check-in: [0c234bdd] user: stephan branch: trunk, size: 8510)
2011-11-04
20:37
Added configure option --enable-json to enable json features. They are disabled by default. ... (file: [4b2f7f75] check-in: [525816e6] user: json-demo branch: json, size: 8346)
2011-10-19
21:13
s/fossil_is_json/fossil_has_json/g. Moved fossil_has_json() (nee fossil_is_json()) decl/docs to json_detail.h. ... (file: [e7bd728d] check-in: [d2c1ae23] user: stephan branch: json, size: 8288)
20:54
Fixed a C99/C++ism. Added json_new_string_f() (printf-style). ... (file: [15dfb4cd] check-in: [f5cc421d] user: stephan branch: json, size: 7702)
20:36
A number of small doc improvements. ... (file: [fe3683ee] check-in: [fa17e098] user: stephan branch: json, size: 7169)
2011-10-07
10:59
Pulled in another round of memory optimizations in cson/sqlite3. Added a few minor error reporting cleanups in JSON mode. ... (file: [53800e87] check-in: [09e5fcd7] user: stephan branch: json, size: 6710)
06:54
Minor internal tweaks. Pulled in lastest cson_amalgamation for the new convenience functions. ... (file: [1a24125a] check-in: [c75759d8] user: stephan branch: json, size: 6616)
2011-10-06
23:29
fixed a bug in the handling of /json/tag/find --raw format (caused by moving code w/o paying attention). Added a warning when the given tag is not found. ... (file: [96f6e525] check-in: [be410090] user: stephan branch: json, size: 6594)
2011-10-05
00:53
lots of minor cleanups in JSON error handling (mostly cosmetic). Added some new FOSSIL-xxxx codes. ... (file: [1ca58c2a] check-in: [2e41514f] user: stephan branch: json, size: 6561)
2011-10-02
10:51
Added missing license header to new files. Updated (c) date to 2011. ... (file: [77702c41] check-in: [8a665715] user: stephan branch: json, size: 6959)
2011-10-01
05:09
Added initial /json/artifact code, but it currently can only report the type of a given artifact. ... (file: [0cc6cb87] check-in: [6372d951] user: stephan branch: json, size: 6445)
02:12
Changed /json/login output payload structure. ... (file: [886c40d1] check-in: [88ddf2cb] user: stephan branch: json, size: 6394)
2011-09-29
21:57
Removed the json warnings bitset crap. Still not sure i like the warnings mechanism at all. ... (file: [88f94a0a] check-in: [9fe06e2f] user: stephan branch: json, size: 6227)
2011-09-27
01:18
moved /json/timeline|wiki commands/pages into their own files. ... (file: [d54bac14] check-in: [821830d2] user: stephan branch: json, size: 6184)
01:01
Started refactoring specific json command groups into their own files (80kb is getting too big to manage in one file). ... (file: [8506ecc2] check-in: [5d2a516f] user: stephan branch: json, size: 5423)
2011-09-22
19:14
Implemented /json/wiki/create. ... (file: [1502b03a] check-in: [1df648ab] user: stephan branch: json, size: 2188)
2011-09-21
18:10
Minor timeline output cleanups. Added /json/branch/list. ... (file: [39445a83] check-in: [f266ebdd] user: stephan branch: json, size: 2130)
17:38
More work on the warnings infrastructure. json_warn() now (experimentally) disallows (elides) duplicate warning codes to simplify downstream loops. Still undecided on that behaviour, though. ... (file: [3a165eaa] check-in: [576425e8] user: stephan branch: json, size: 2076)
2011-09-18
08:11
Implemented anonymous user login over JSON. Requires 2 requests (captcha-fetch and then login). ... (file: [a9e3e426] check-in: [cebf9919] user: stephan branch: json, size: 1865)
2011-09-17
16:01
More cleaning up of error lower-level handling to output JSON instead of HTML in a few more cases. ... (file: [ce44c06e] check-in: [9b842564] user: stephan branch: json, size: 1803)