Commit 358947a
authored
Use git diff for diffs (#150)
* NOTES
* Working on diff conversion
* Parsing diffs!
* Support num_lines for end skips
* Rename + Change test
* Test with patch-u5
* LocalFileDiff --> dataclass
* Codes --> dataclass
* Parsing raw diff output
* Use git diff --raw for directory diffs
* add diff endpoint
* Use git diff ops in webdiff!
* Context
* Update highlight.js
* post to /diff
* Add an option (-w)
* Factor out DiffOptionsControl
* wire up context + diff algorithm
* Add git diff -b as well; unclear if this is different?
* styled diff options panel
* thread through some options
* wire up styling
* Wire up configurable highlight.js themes
* fix "show -3 lines" bug
* maxLinesForSyntax
* Support binary diffs again
* update codediff.js, bugfix
* Fix bug with pure moves
* add unidiff dependency
* delete irrelevant test
* blacken, version bump
* Fix issue with git webdiff by adding --no-symlinks
* blacken
* check for symlinks and inline
* we may be in business!
* swap in symlink-y directory
* test case for "Show -1 more lines"
* no chardiff on last line
* no-trailing-newline test
* fix bug w/ trailing newlines
* pin Werkzeug
* delete TODO
* add long line no space test
* pare back test case
* overflow-wrap: anywhere
* webdiff.colors
* add docs on configuration
* fix typo
* add some implementation notes1 parent 05d2a65 commit 358947a
File tree
294 files changed
+6468
-885
lines changed- testdata
- longline-nospace
- left
- right
- no-trailing-newline
- left
- right
- rename+change
- left
- right
- unified
- tests
- ts
- declarations
- webdiff
- static
- codediff.js
- css
- themes
- base16
- js
- templates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
294 files changed
+6468
-885
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
63 | 91 | | |
64 | 92 | | |
65 | 93 | | |
| |||
76 | 104 | | |
77 | 105 | | |
78 | 106 | | |
79 | | - | |
| 107 | + | |
80 | 108 | | |
81 | 109 | | |
82 | 110 | | |
83 | 111 | | |
84 | 112 | | |
85 | 113 | | |
86 | 114 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 115 | | |
93 | 116 | | |
94 | 117 | | |
95 | 118 | | |
96 | 119 | | |
97 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
98 | 125 | | |
99 | 126 | | |
100 | 127 | | |
101 | | - | |
| 128 | + | |
102 | 129 | | |
103 | 130 | | |
104 | 131 | | |
105 | 132 | | |
106 | | - | |
| 133 | + | |
107 | 134 | | |
108 | 135 | | |
109 | 136 | | |
110 | | - | |
| 137 | + | |
111 | 138 | | |
112 | 139 | | |
113 | 140 | | |
| |||
121 | 148 | | |
122 | 149 | | |
123 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
124 | 173 | | |
125 | 174 | | |
126 | 175 | | |
| 176 | + | |
| 177 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments