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: [d48c61ce1d] check-in: [632dfd26dd] user: stephan branch: json-settings-command, size: 9480)
2021-03-18
03:21
Fix compiler warning seen with MSVC. ... (file: [327749d70d] check-in: [2dbc715496] 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: [76bc835feb] check-in: [8f6b78e7b2] 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: [7d9cdc1266] check-in: [57f0bb98c6] user: stephan branch: trunk, size: 9347)
2013-02-23
10:58
Added /json/status command. ... (file: [a5ef58bb48] check-in: [d1e4d100ad] 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: [de45088189] check-in: [ba86c859df] user: stephan branch: trunk, size: 9213)
2012-11-04
12:59
Fix typos. ... (file: [cdb624f66c] check-in: [45065c5c28] 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: [fb97b613b1] check-in: [9f6abc5968] 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: [cbecd775dd] check-in: [824ede2af6] 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: [48581ec29c] check-in: [055dfb1223] user: stephan branch: trunk, size: 8818)
2012-03-29
14:54
Add vim modline everywhere ... (file: [7829656209] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 9010)
2012-03-09
18:43
Added jsonApiVersion to /json/version output. ... (file: [a45f6a5c01] check-in: [24d830ca8a] 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: [fbebd29751] check-in: [6ca400a315] user: stephan branch: trunk, size: 8662)
2011-11-05
01:28
json doc updates and removal of some dead code. ... (file: [11be7e0f76] check-in: [0c234bdd0a] 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: [4b2f7f75f1] check-in: [525816e6d7] 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: [e7bd728d52] check-in: [d2c1ae23a9] user: stephan branch: json, size: 8288)
20:54
Fixed a C99/C++ism. Added json_new_string_f() (printf-style). ... (file: [15dfb4cd1f] check-in: [f5cc421dc2] user: stephan branch: json, size: 7702)
20:36
A number of small doc improvements. ... (file: [fe3683eeb0] check-in: [fa17e0980c] 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: [53800e879f] check-in: [09e5fcd795] user: stephan branch: json, size: 6710)
06:54
Minor internal tweaks. Pulled in lastest cson_amalgamation for the new convenience functions. ... (file: [1a24125a6d] check-in: [c75759d8d0] 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: [96f6e52574] check-in: [be41009046] 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: [1ca58c2ad7] check-in: [2e41514fb7] user: stephan branch: json, size: 6561)
2011-10-02
10:51
Added missing license header to new files. Updated (c) date to 2011. ... (file: [77702c419c] check-in: [8a665715c2] 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: [0cc6cb8746] check-in: [6372d95165] user: stephan branch: json, size: 6445)
02:12
Changed /json/login output payload structure. ... (file: [886c40d1fc] check-in: [88ddf2cbce] 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: [88f94a0a5f] check-in: [9fe06e2fda] user: stephan branch: json, size: 6227)
2011-09-27
01:18
moved /json/timeline|wiki commands/pages into their own files. ... (file: [d54bac1471] check-in: [821830d2fb] 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: [8506ecc285] check-in: [5d2a516f8a] user: stephan branch: json, size: 5423)
2011-09-22
19:14
Implemented /json/wiki/create. ... (file: [1502b03ae7] check-in: [1df648abfe] user: stephan branch: json, size: 2188)
2011-09-21
18:10
Minor timeline output cleanups. Added /json/branch/list. ... (file: [39445a831c] check-in: [f266ebdd3f] 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: [3a165eaa71] check-in: [576425e862] 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: [a9e3e42610] check-in: [cebf9919f8] 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: [ce44c06ef3] check-in: [9b842564f7] user: stephan branch: json, size: 1803)