History of src/json_timeline.c of 2e41514fb754131b
Not logged in

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

History of file src/json_timeline.c at check-in 2e41514fb754131b

2024-02-02
16:26
Fix lines over 80 characters long, excluding external source files and @-lines. file: [2f906207f3] check-in: [942f691b39] user: danield branch: fix-overlength-lines, size: 24262
2023-11-28
19:31
Use signed char for two json timeline functions that may return -1. file: [8bf80912c5] check-in: [c42dee8634] user: preben branch: signed-chars, size: 24087
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: [f13c394701] check-in: [632dfd26dd] user: stephan branch: json-settings-command, size: 24066
2020-01-28
13:33
Ported in the remaining JSON API docs. Combined the API index into the main index. Replaced the pandoc-exported tables with lists. A couple patches to the C bits for issues found during doc porting. file: [25f5da1430] check-in: [514dd66f33] user: stephan branch: trunk, size: 24030
2018-06-20
18:15
Fixed a C99-ism, removed a couple ancient #if blocks. Re-added uuid to /json/timeline/event output (because it's useful in ways which the event name is not). file: [35b8327ab0] check-in: [57e75eb7f0] user: stephan branch: ben-json-timeline, size: 23963
10:29
Fix SQL to find name for /json/timeline/event file: [672032d859] check-in: [2488996f64] user: ben branch: ben-json-timeline, size: 24054
09:41
Include name (not uuid) in /json/timeline/event, because the uuid is not terribly useful. file: [af76bd766a] check-in: [6f0929ce00] user: ben branch: ben-json-timeline, size: 24040
2018-06-19
10:31
Add /json/timeline/event for access to minimal information about events. file: [7749bff4be] check-in: [c760791644] user: ben branch: ben-json-timeline, size: 23908
2018-06-01
20:16
An off-mailing-list patch which fixes the lack of deleted files from /json/timeline/checkin's file list. Thanks to Edgardo Cruz for tracking this down. file: [783af93b54] check-in: [cd55efe775] user: stephan branch: trunk, size: 22193
2016-02-20
13:21
Initial go at replacing URLs in the form ?name=xyz with /xyz except in places where doing so is either known to break (style_set_current_page() calls) or would require notable refactoring (/dir hyperlink generation). file: [bfc96bf03a] check-in: [e8735d6a47] user: stephan branch: slash-name-links, size: 22168
2015-12-23
11:10
Improvements to handling of localtime. The 'utc' and 'localtime' query parameters now work on all web pages. Timestamps can be expressed with a timezone modifier and that works correctly. file: [5a9ce59def] check-in: [ea63a2d1f4] user: drh branch: trunk, size: 22173
2015-10-24
14:10
Fix "json timeline" to don't show duplicate files in some chek-ins with merge. Same way CLI timeline was fix on [3c34db8d]. file: [6262750d2e] check-in: [26d903de0c] user: mgagnon branch: trunk, size: 22161
2015-03-01
20:56
More changes to make 'check-in' terminology consistent in source comments, SQL comments, JSON error messages, and web page link text. file: [a8aece1a95] check-in: [30c107e2c8] user: mistachkin branch: trunk, size: 22142
2014-12-18
22:27
fixed the mtime field on json timeline output. file: [08550aee71] check-in: [df50cb6e4d] user: stephan branch: trunk, size: 22141
2014-10-20
15:01
Add a custom static analysis program that verifies the arguments to printf-style varargs routines used in Fossil. Adjust the source code to be more robust for printf format errors and to fix a few minor problems found by the static checker. file: [f80de4c2ce] check-in: [0a7e326fa4] user: drh branch: compile-time-print-checking, size: 22078
2014-02-28
10:34
Remove unnecessary spaces at end-of-lines. No change in functionality. file: [4ba37f8d38] check-in: [3df526ca41] user: jan.nijtmans branch: trunk, size: 22014
2013-11-28
10:34
Implement "unhide" option for json timeline. Protect "trunk" from being hidden, and indicate more clear which branch is being hidden: The "mistake" branch is the only branch that should have hidden nodes. file: [8796261bcd] check-in: [6b61145f4f] user: jan.nijtmans branch: hidden-tag, size: 22017
2013-11-25
15:57
Implement (already existing but currently non-functional) "hidden" tag, which hides items from timeline. file: [4eb80487fb] check-in: [d9fd922962] user: jan.nijtmans branch: hidden-tag, size: 21725
2013-10-04
09:30
Better error-message in case of "manifest file is malformed" file: [77cc557bbf] check-in: [1eb438d61a] user: jan.nijtmans branch: pending-review, size: 21241
2013-09-13
08:32
merge trunk to "hidden" tag implementation. Regarding the "CROSS JOIN", see: [85d960e205288ef8] and https://www.sqlite.org/queryplanner-ng.html#fossilcasestudy for more info. file: [c6f5d6a556] check-in: [778ce727ec] user: jan.nijtmans branch: hidden-tag, size: 21722
2013-09-12
22:47
implement undocumented "mionly" option in JSON timeline, just as in the normal timeline page. file: [d598f8c7dd] check-in: [0bcb7707ce] user: jan.nijtmans branch: trunk, size: 21238
21:05
don't use a CROSS JOIN, but a normal JOIN. Is that correct? Otherwise it's incredible slow......, but I'm not sure. file: [ff61f3b7ca] check-in: [d7436c4e1c] user: jan.nijtmans branch: hidden-tag, size: 21669
13:03
Make it work in JSON timeline as well file: [f7aa867030] check-in: [0ee34c90d5] user: jan.nijtmans branch: hidden-tag, size: 21699
2013-09-11
15:16
Don't display anything marked "hidden" in the timeline. file: [a1dabbbbf8] check-in: [ba7056b242] user: jan.nijtmans branch: hidden-tag, size: 21531
2013-08-01
21:30
Removed an extraneous "utc" from a datetime() call in /json/timeline. file: [e5580fa64d] check-in: [340da668ae] user: stephan branch: trunk, size: 21185
2013-04-26
08:28
Rename --detail, --showfiles, --files to -v|--verbose (but keep original as deprecated) file: [ac4cf2a24e] check-in: [34ed0afc8a] user: jan.nijtmans branch: verbose, size: 21191
2013-04-19
07:55
Rename "--limit" to "--count" and "--test" to "--nochange" in some fossil commands file: [654a637f52] check-in: [e72af5058e] user: jan.nijtmans branch: count-nochange, size: 21116
2013-01-02
10:47
Fixed JSON-side warnings reported by Baptiste Daroussin. file: [53d8af60d1] check-in: [8fec4c959c] user: stephan branch: trunk, size: 21117
2012-11-04
12:59
Fix typos. file: [7dd30421b8] check-in: [45065c5c28] user: dmitry branch: spelling, size: 21123
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [0fab5163dd] check-in: [9f6abc5968] user: jan.nijtmans branch: msvc-broken, size: 21122
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: [22b41d51a8] check-in: [824ede2af6] user: stephan branch: trunk, size: 21123
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [8eefe75908] check-in: [0328d68181] user: drh branch: sqlite4, size: 20970
2012-06-27
12:30
Begin a branch that is modified to use sqlite4 instead of sqlite3 as the storage engine. This check-in compiles (on unix) but does not work. file: [927e653f3d] check-in: [6823912746] user: drh branch: sqlite4, size: 20967
2012-06-11
17:33
merge trunk again... (previous merge was not from latest trunk from fossil-scm.org) file: [a4b115c31c] check-in: [7a57ab6465] user: mgagnon branch: mgagnon_fix, size: 21009
2012-04-28
08:03
Refinements to the new hyperlink logic and spider defense. file: [adf64805f1] check-in: [d9c8a7dd73] user: drh branch: spider-defense, size: 20967
2012-03-29
14:54
Add vim modline everywhere file: [2b3c80bad0] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 21005
2012-03-22
23:26
Added size to the "changed files" list for the /json routines which output that. file: [f5aa40313e] check-in: [9575eb5d2a] user: stephan branch: trunk, size: 20963
22:09
Changes to how /json/(artifact|finfo|timeline) handle file content and modification-state flag. Some API-incompatible changes. file: [21c942a0e7] check-in: [8c6dc243c9] user: stephan branch: trunk, size: 21178
2012-03-21
21:11
removed rid property from /json/timeline/wiki response payload. file: [7d891b8772] check-in: [47817fefdf] user: stephan branch: trunk, size: 21335
21:06
Changes /json/timeline/branch's payload structure to match that used by the other /json/timeline/xyz APIs. Removed rid property from timeline output. file: [545e390376] check-in: [bdc29eb897] user: stephan branch: trunk, size: 21347
20:55
fixed /json/timeline/branch timestamp flag, which was in string format rather than unix epoch. file: [478d9078a8] check-in: [9b42f2e976] user: stephan branch: trunk, size: 20868
20:23
Throughout the /json API, renamed the "mtime" property with "timestamp", to consolidate the inconsistent usage. file: [3832b83c50] check-in: [070b75542c] user: stephan branch: trunk, size: 20852
2012-03-19
20:33
minor type-cast addition in json timeline SQL. file: [9f4fd9bb6f] check-in: [70e41ccd48] user: stephan branch: trunk, size: 20848
2012-03-16
12:41
Fixed /json/timeline/ticket to work around (what appear to be) attachment(?) artifacts which end up in its query results. file: [73d924240e] check-in: [ac63662180] user: stephan branch: trunk, size: 20831
12:22
Fixed a C99ism. file: [2c0f765641] check-in: [8170846117] user: stephan branch: trunk, size: 20537
12:13
s/prevUuid/parent/ for json payload properties, for consistency. file: [32151679ce] check-in: [23aba0e4a3] user: stephan branch: trunk, size: 20537
2012-03-10
03:59
Removed some dead code in /json/timeline/wiki. file: [0ec3f9e955] check-in: [fe5cf37e66] user: stephan branch: trunk, size: 20541
2012-03-05
19:47
removed the 'w', 't', and 'ci' aliases from /json/timeline/ALIAS. They provide no real benefit (except arguably 'ci') and may hinder future expansion. file: [5f33a8a96d] check-in: [48255fa981] user: stephan branch: trunk, size: 20836
2012-03-02
15:01
/json/timeline/ci and /json/artifact/CHECKIN now require h access instead of o (this is debatable). file: [d10ac9a65e] check-in: [4d027477fa] user: stephan branch: trunk, size: 20930
14:23
removed some dead code, minor internal cleanups in /json/timeline. file: [9c25ef67f9] check-in: [6420654c80] user: stephan branch: trunk, size: 20980
11:25
removed some dead code in /json/timeline/branch. file: [fde56c1fec] check-in: [e65422ea5f] user: stephan branch: trunk, size: 21387
2012-02-23
11:32
Fix warnings in json support code (unused variables, unused label, etc). file: [32b2e6e3c3] check-in: [86f6e675eb] user: mistachkin branch: jsonWarnings, size: 21472
2011-11-05
00:13
s/json_tags_for_rid()/json_tags_for_checkin_rid()/g, since that's really what it does. file: [b027ca1b7b] check-in: [4ff2e31cef] user: stephan branch: trunk, size: 21516
2011-11-04
20:37
Added configure option --enable-json to enable json features. They are disabled by default. file: [aaa00288cf] check-in: [525816e6d7] user: json-demo branch: json, size: 21508
2011-10-20
01:20
Refactored json_stmt_to_array_of_xxx() to actually take a cson_array argument (not generic cson_value arg), now that the cson API allows that simplification. file: [13c5c57412] check-in: [23a35ba1cc] user: stephan branch: json, size: 21450
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: [7edafd6690] check-in: [d2c1ae23a9] user: stephan branch: json, size: 21508
2011-10-13
17:10
Added downloadPath property to files in timeline view, leading to /raw/FILENAME?name=uuid. file: [0b8359ba50] check-in: [ea5e58155d] user: stephan branch: json, size: 21507
2011-10-08
12:57
"Dispatching" json subcommands now produce more useful error messages when no subcommand is specified. file: [c6c89a391f] check-in: [a8af09fc16] user: stephan branch: json, size: 21165
12:13
Permissions fixes in json/report. Added json/timeline/branch, analog to /brtimeline. file: [3f646a04a8] check-in: [6841b11647] user: stephan branch: json, size: 21325
2011-10-05
02:31
fixed a mis-sorting in the json timeline, caused by refactoring in a recent commit. file: [6c66fbf026] check-in: [824ed5fb65] user: stephan branch: json, size: 19116
02:26
Consolidated more of the CLI/HTTP/CLI-with-POST arg handling disparities into the json_find_option() family of functions. file: [63561011ee] check-in: [5b4a3f12dc] user: stephan branch: json, size: 19037
00:53
lots of minor cleanups in JSON error handling (mostly cosmetic). Added some new FOSSIL-xxxx codes. file: [ee1a9d7dbc] check-in: [2e41514fb7] user: stephan branch: json, size: 19703
2011-10-02
23:59
Minor error handling cleanups (nicer resultText strings). Removed a call to sqlite3_config() from the JSON bootstrap code which _seems_ to be the cause of an SQLITE_MISUSE warning. file: [99d2c6f9b0] check-in: [af72cc7599] user: stephan branch: json, size: 19186
20:15
renamed json timeline "showFiles" option to "files" because we do not really "show" anything." file: [4dd2a4b3b9] check-in: [bc7af5192a] user: stephan branch: json, size: 18648
19:57
Added tag/branch option to /json/timeline/ci, analog to HTML mode t/r options. file: [59d0c3b275] check-in: [762128512a] user: stephan branch: json, size: 18657
18:28
Merged in trunk [ae64088627df]. Added /json/timeline/checkin as alias for /json/timeline/commit (checkin is historically more correct/consistent). file: [3b2354c535] check-in: [a9070a4944] user: stephan branch: json, size: 15303
12:31
initial code for reading POST data from a file/stdin in CLI mode. file: [632c23dbd5] check-in: [8145cdbf3b] user: stephan branch: json, size: 15269
10:51
Added missing license header to new files. Updated (c) date to 2011. file: [1b5a8d5777] check-in: [8a665715c2] user: stephan branch: json, size: 15250
2011-10-01
07:47
more consolidation of timeline/artifact code. file: [401eb19067] check-in: [cc444a02cd] user: stephan branch: json, size: 14735
07:04
more timeline/artifact refactoring. file: [9b9bf636eb] check-in: [22fc0ab81b] user: stephan branch: json, size: 15366
06:45
Started refactoring some of the timeline/artifact components into reusable parts. Comment edited only to test json responses which differentiate between pristine and edited commits. file: [8552eb9bdb] check-in: [b1f9257213] user: stephan branch: json, size: 15436
05:58
minor cleanups. file: [ccaddcd184] check-in: [6ee6486e02] user: stephan branch: json, size: 15990
2011-09-29
21:57
Removed the json warnings bitset crap. Still not sure i like the warnings mechanism at all. file: [e70c22088c] check-in: [9fe06e2fda] user: stephan branch: json, size: 15797
2011-09-28
22:41
moved some db_finalize() calls so that they would also be called in error cases. file: [bc8acc85b1] check-in: [997274e9be] user: stephan branch: json, size: 16174
2011-09-27
04:12
/json/timeline/ticket prevUuid is now only explicitly set for non-new files. Previously it was set to NULL, which was a waste-of-time no-op. file: [508a5f4501] check-in: [0ddf92042d] user: stephan branch: json, size: 16174
04:08
Added ticketUuid to /json/timeline/ticket output. Removed some superfluous Blob uses (where db_prepare() works just as well). file: [33fc4b7494] check-in: [f94ad19472] user: stephan branch: json, size: 16150
03:25
Added showFiles=bool/--show-files option to /json/timeline/ci. file: [b1bf0dcbb0] check-in: [98e24465c2] user: stephan branch: json, size: 15996
01:18
Added: moved /json/timeline|wiki commands/pages into their own files. file: [29889139ee] check-in: [821830d2fb] user: stephan branch: json, size: 13754