Fossil

Timeline
Login

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

14 check-ins using file src/json_diff.c version d11783ff25

2021-09-07
19:15
On the /jtext page, terminate the JSON array early if there are insufficient lines of text in the file to complete the request. ... (check-in: 6f5dfd9d80 user: drh tags: trunk)
19:09
Add the /jtext webpage, intended for use by XHR. ... (check-in: 5f7fcbabf0 user: drh tags: trunk)
18:45
When HTML diffs are generated from a webpage, include sufficient information in class names ids, and data- elements to permit JS to redraw the separators to include context fill-in buttons. ... (check-in: c275a166b3 user: drh tags: trunk)
17:11
Fix the diff block alignment so that it correctly suppresses unnecessary diff marks, even when in ignore-whitespace mode. ... (check-in: 85ca2fe5b5 user: drh tags: trunk)
16:06
Further simplification of the DiffConfig object by splitting out the lines of context and column width values from the diffFlags vector into separate columns. There should be no user-visible changes in behavior. ... (check-in: ca6fa4b2f3 user: drh tags: trunk)
13:29
Take advantage of the new pBlob==NULL capabilities in blob_appendf() to simplify some of the diff logic. ... (check-in: 590e01dbdd user: drh tags: trunk)
12:51
Enhance the blob_append(), blob_appendf(), blob_append_char(), and similar interfaces such that if the Blob pointer in the first argument is NULL, the result is written directly to stdout. ... (check-in: 3a561322ca user: drh tags: trunk)
12:18
Simplify the interface to the internal diff_file() routine. ... (check-in: db034a5a6c user: drh tags: trunk)
11:40
Bring back the diff command option `-N|--new-file' as an alias for `-v|--verbose' for script compatibility. ... (check-in: 4ef3ba374c user: florian tags: trunk)
10:42
Minor fix to adapt the `append_diff_javascript()' function and its call points to the new diff logic (already partially done with check-in [1347a1ddb9]). ... (check-in: f9761abb6a user: florian tags: trunk)
00:18
Move more diff parameters into the DiffConfig object. ... (check-in: 346de5d122 user: drh tags: trunk)
2021-09-06
22:26
Internally, use the new DiffConfig object to pass around diff settings, rather than the legacy u64 bit array. This provides increased flexibility to the internals. There should be no user-visible changes (unless I made a mistake). Note that more parameters could be folded into the DiffConfig object. This check-in is just a start. ... (check-in: 1347a1ddb9 user: drh tags: trunk)
22:24
For the --json diff output, generate an array of objects, one object per file and the diff array all contained within the object. ... (Closed-Leaf check-in: 4ab3525927 user: drh tags: diff-config)
20:51
Begin adding value that used to be function arguments into the DiffConfig object. This check-in deals with the pRe parameter. ... (check-in: bdb4bfaa3a user: drh tags: diff-config)