Fossil

History of src/diff.js of be9602d0dfca0047
Login

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

History of file src/diff.js at check-in be9602d0dfca0047

2024-08-17
16:03
First draft to implement word-wrap for web UI diffs. The list of TODO items can be found on the branch wiki page. file: [3dc821a47a] check-in: [faf4b4718d] user: florian branch: diff-word-wrap, size: 136
2021-09-10
15:53
Implemented diff.js arrow key scroll fix from [566b7f1165293655]. file: [12ea016593] check-in: [c624ed868e] user: stephan branch: trunk, size: 2465
2021-09-09
15:01
Fixed left/right arrow key scrolling in diff.js. file: [804610908c] check-in: [566b7f1165] user: stephan branch: diff-js-refactoring, size: 2470
04:58
/jchunk code lines are now injected into the diff view but the line numbers are still TODO. file: [87b83c9f52] check-in: [49a60a580d] user: stephan branch: diff-js-refactoring, size: 2470
2021-09-08
02:43
Minor tweaks in the diff-related JS and CSS. file: [3678b7f60c] check-in: [fd7d2557aa] user: stephan branch: diff-js-refactoring, size: 2448
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. file: [ee26833415] check-in: [077f3db109] user: stephan branch: diff-js-refactoring, size: 2494
22:28
Ongoing refactoring and feature-adding related to the JS/ajax components of the new diff views. file: [486b0a9e15] check-in: [65aa2c9643] user: stephan branch: diff-js-refactoring, size: 2304
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. file: [0b07f407f5] check-in: [be9602d0df] user: stephan branch: trunk, size: 2465
21:55
diff.js: instead of polling for window size changes every 100ms, listen for window resize events. file: [4807ecf964] check-in: [c5f8e79990] user: stephan branch: trunk, size: 2464
2021-09-04
10:38
Fix diff.js so that it does not limit the width of unified diff <pre> elements. file: [3fe31f5122] check-in: [723ce36ddb] user: drh branch: diff-color-enhancements, size: 2447
2021-09-03
23:00
Draw a thin box around diffs in the default skin (per [forum:/forumpost/a42aade32dd9d42|forum post a42aade32dd9d42]). Show ellipsis at the tops and bottoms of files, if warranted. Fix a problem with "diff.js" that was failing to link all scrollbars associated with a single diff. file: [42cc4a7a9d] check-in: [63a5c754fd] user: drh branch: diff-color-enhancements, size: 2244
22:49
Improved alignment of partial line diffs. More work to be done in this area. Also fix a problem in diff.js that was causing problems when comparing two empty files. file: [ecf55157cb] check-in: [24d28cb7c9] user: drh branch: diff-color-enhancements, size: 2232
11:51
Adjust diff colors in all skins. file: [e3e9028a24] check-in: [3910360677] user: drh branch: diff-color-enhancements, size: 2204
2021-09-02
22:28
Improved comments on the diff formatter and related logic. file: [6e83aedece] check-in: [d29ddba321] user: drh branch: diff-color-enhancements, size: 2204
2021-09-01
19:53
Added: First attempt to generate side-by-side diffs using the new formatter. This breaks the --tk option. The "fossil diff -b" and "--by" work, but side-by-side diff on /info pages and similar is currently busted. CSS is simplified, which means that skins will need to be modified. This is an incremental check-in. file: [be6f7a890b] check-in: [4cd8a743cd] user: drh branch: diff-color-enhancements, size: 1869