Matthew Wang
f8066bd313
Disable an invalid test for negative width
10 年 前
Steven Myint
095740253c
Handle Latin-1 encoded text in diffs
This is useful for avoiding crashing on "cdiff -l" (on Python 3) in
https://github.com/myint/cppclean.
Also handle unknown encodings gracefully rather than crashing.
11 年 前
Matthew Wang
46d9e21076
Fix an unit test fails in python 2.5 for issue #31
11 年 前
Matthew Wang
73e8e660b4
Fix issue #31 by catching UnicodeDecodeError as well
11 年 前
Matthew Wang
04ac895387
Refactor to make logic clearer, no DiffOps anymore
If need to support normal diff, writing a ndiff to udiff translator
makes more sense
11 年 前
Matthew Wang
91c9df1f4e
Re-enable context diff related tests
11 年 前
Matthew Wang
5ece3ada9b
Skip a context diff related unit test as Travis not ready
11 年 前
Matthew Wang
2e49a7eb3f
Fall through unknown format to 'unified', fixed #18
11 年 前
Steven Myint
5ddd06fd05
Handle a diff with only an svn property change
11 年 前
Matthew Wang
69e4b1683e
Probe context diff for #15
11 年 前
Matthew Wang
7881a41f69
- Naming enhancement for unified diff
11 年 前
Matthew Wang
e191e54ea6
Fixed #14 by tolerating dangling headers and short patch < 4 lines
11 年 前
Matthew Wang
6a6249f4c6
Dirty fix false alarm of dangling header reported in issue #14
11 年 前
Matthew Wang
a09947c1b5
Enough unit tests (95%)
11 年 前
Matthew Wang
b601b6206d
Use '# pragma: no cover' to ignore 1 line logic
11 年 前
Matthew Wang
318bc66ee0
PEP8 lint
11 年 前
Matthew Wang
a413a0351d
Handle 'Binary files ... differ'
11 年 前
Matthew Wang
75b79f0935
Support reading diff or log for given files/dirs in workspace (usage changed on
11 年 前
Matthew Wang
0525f7c1dc
Handle 'Only in <dir>: ' header in output from diff -ru d1 d2
11 年 前
Matthew Wang
8f1aa45c8b
revert debug code; clean up
11 年 前
Matthew Wang
fc9d859705
Add missing git config
11 年 前
Matthew Wang
b62fc6c261
Add hunk header to test case, coverage 87%
11 年 前
Matthew Wang
f780bd427f
Test covers main(), coverage 86%
11 年 前
Matthew Wang
6bae53b2fd
More clean test result
11 年 前
Matthew Wang
35a76e65ea
Built-in 'next()' is new in 2.6
11 年 前
Matthew Wang
8e0f529b91
More cases for patch parser, coverage reached 70%
11 年 前
Matthew Wang
445fd84a08
Use built-in assertRaises()
11 年 前
Matthew Wang
4835304ffa
Document update and clean up for v0.6
11 年 前
Matthew Wang
4ed0ccc826
Coverage reached 61%
11 年 前
Matthew Wang
1d69bb2125
22 unit tests
11 年 前
Matthew Wang
20a8acacf6
Better patch parser; support svn log --diff
11 年 前