Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
36 check-ins related to "diff-js-refactoring"
|
2021-09-11
| ||
| 17:09 | Enhance the various diff views (excluding diff -b output) to be able to dynamically load more context lines per mouse click. check-in: 51c1efd403 user: stephan tags: trunk | |
| 15:53 | Merge the diff alignment scoring tweak from trunk. Closed-Leaf check-in: 916094f820 user: drh tags: diff-js-refactoring | |
| 15:52 | Tweak the diff-alignment scoring algorithm to give extra affinity to lines that share a common prefix. check-in: 2921ec2588 user: drh tags: trunk | |
| 08:17 | Diff-related CSS cleanups. check-in: 1ca68f3ab4 user: stephan tags: diff-js-refactoring | |
| 07:36 | Worked around, rather accidentally, the Darkmode and Xekri skin weirdness - side effects of padding. Bootstrap is still a bit funky, depending at least partially on which media query is currently active. check-in: 3480785e39 user: stephan tags: diff-js-refactoring | |
| 05:48 | jchunk-related style tweaks for Eagle and Khaki skins. check-in: bbc534e7a4 user: stephan tags: diff-js-refactoring | |
| 05:10 | Several CSS tweaks to get the skins playing nicely. We still have some weird, as-yet unexplained quirks with Darkmode, Bootstrap, and Xekri (forced tables sizes are not being applied, or are inconsistent, despite styles being set). check-in: 860f8f252c user: stephan tags: diff-js-refactoring | |
| 03:20 | Final chunk load mode implemented, but diff table widths have somehow been broken (too wide - not sure since when). This version is suitable for playing with and feedback, but not quite yet for trunk. check-in: 5938083e48 user: stephan tags: diff-js-refactoring | |
| 00:30 | Merge recent trunk enhancements into the diff-js-refactoring branch. check-in: a7fbefee38 user: drh tags: diff-js-refactoring | |
|
2021-09-10
| ||
| 23:50 | When computing a diff display, if the number of rows to skip between two diff regions is less than the context size, then go ahead and show the skip area as common text. check-in: 674da6424a user: drh tags: trunk | |
| 23:12 | Propagate the default value of diff_context_lines() through to window.fossil.config.diffContextLines for use by the jchunk UI. Per /chat discussion, jchunk will load 3x that many lines of context per button click. check-in: 8f84424fff user: stephan tags: diff-js-refactoring | |
| 23:01 | Disabled diff context pos debug output. check-in: 4f6b56d253 user: stephan tags: diff-js-refactoring | |
| 22:55 | Implemented "downwards" loading of diff context (appending to previous chunk). Fixed HTML escaping of loaded lines so that it works together with the existing colorized diff content. check-in: 621ef5b7e8 user: stephan tags: diff-js-refactoring | |
| 21:30 | Removed some dead code. Internal cleanups and reorg in prep for upcoming changes. check-in: bc5dc16e55 user: stephan tags: diff-js-refactoring | |
| 16:08 | Some JS code simplification and added dark-mode CSS filter to jchunk controls. check-in: 65ae15e008 user: stephan tags: diff-js-refactoring | |
|
2021-09-09
| ||
| 22:41 | When filling a whole gap with loaded jchunk lines, merge the previous and following TR elements together with the new content, providing a seamless fill, eliminating the extraneous scrollbars. This means we cannot style the newly-loaded chunk differently (like github does), but it looks much, much nicer than before. Partial-chunk loads are still pending. check-in: 11a981ead0 user: stephan tags: diff-js-refactoring | |
| 21:36 | Implemented fetching and injection of chunks which are smaller than the configured load size, but the results do not play well with our scrolling workaround and need to be revisited after some sleep, perhaps appending/prepending the results directly to the previous/next TR instead of injecting a new one. check-in: da8a0f82b5 user: stephan tags: diff-js-refactoring | |
| 20:03 | Style improvements. Hooked up the buttons but they don't yet fetch anything. check-in: f0984389ba user: stephan tags: diff-js-refactoring | |
| 18:50 | More jchunk button style tweaks. check-in: 7cc651c87f user: stephan tags: diff-js-refactoring | |
| 18:31 | Doc typos. check-in: fa654e947a user: stephan tags: diff-js-refactoring | |
| 18:28 | Got jchunk loader buttons in place but they're currently non-functional. check-in: 365ef58b8c user: stephan tags: diff-js-refactoring | |
| 15:06 | Refactored tr.diffsplit to hold enough information to allow partial chunk loads in either direction and to know where the next/previous chunks (if any) start/end. Actual loading is currently disabled, pending addition of controls which make use of this new state. check-in: cedcd3585b user: stephan tags: diff-js-refactoring | |
| 15:01 | Fixed left/right arrow key scrolling in diff.js. check-in: 566b7f1165 user: stephan tags: diff-js-refactoring | |
| 06:37 | jchunk integration now shows the LHS line numbers. RHS are still TODO. check-in: e63ad6ff25 user: stephan tags: diff-js-refactoring | |
| 05:31 | TR-click event handling simplification. check-in: c7f3d04244 user: stephan tags: diff-js-refactoring | |
| 04:58 | /jchunk code lines are now injected into the diff view but the line numbers are still TODO. check-in: 49a60a580d user: stephan tags: diff-js-refactoring | |
| 03:23 | Fetching of /jchunk lines by clicking on the '...' separator of a diff is now working but the fetched lines still need to be integrated into the UI. check-in: 41ef416e77 user: stephan tags: diff-js-refactoring | |
|
2021-09-08
| ||
| 18:42 | /jchunk now always uses a JSON response, even for permissions problems. Doc improvements for the jchunk interface. check-in: 1fec5f4abc user: stephan tags: diff-js-refactoring | |
| 18:25 | Add a warning to /jchunk that it is an internal-use-only interface that is likely to change in the future. check-in: 1da4b6c752 user: drh tags: diff-js-refactoring | |
| 18:17 | Renamed /jtext to /jchunk. Added window.fossil.fetchArtifactLines() to interact with that API. check-in: 9684425b0c user: stephan tags: diff-js-refactoring | |
| 17:36 | Merge in trunk for manifest_parse() output fix and "hidden" ajax routes. check-in: f68b0b7187 user: stephan tags: diff-js-refactoring | |
| 17:23 | help: added optional 'hidden' flag to WEBPAGE/COMMAND/SETTING entries, which causes them to be elided from most listings. They can still be invoked by the help system if their name is used, but they won't be listed. This is primarily intended for internal-use ajax routes. check-in: 701c6dc284 user: stephan tags: trunk | |
| 02:43 | Minor tweaks in the diff-related JS and CSS. check-in: fd7d2557aa user: stephan tags: diff-js-refactoring | |
|
2021-09-07
| ||
| 23:08 | Optimize diff.js's width updater to only perform DOM selection when it's first run. Also delay its execution until the onload event. check-in: 077f3db109 user: stephan tags: diff-js-refactoring | |
| 22:28 | Ongoing refactoring and feature-adding related to the JS/ajax components of the new diff views. check-in: 65aa2c9643 user: stephan tags: diff-js-refactoring | |
| 22:24 | Made diff view table 100% wide instead of 98%. The unsightly horizontal scrollbars still don't appear at that width and this eliminates an odd-looking gap on the right. check-in: be9602d0df user: stephan tags: trunk | |