Matt Wang
31c3213ad0
Refactor: init DiffMarker object with flags.
Do not test internal methods.
преди 6 години
Matt Wang
1ba4bc8f02
Simplify list generating code with style updates.
- Use single quotes
- No more backslashes at line end
преди 6 години
Matt Wang
719e24be23
Update test data with missing EOL.
For some cases missing EOL is expected, but diff -b will ignore EOL
difference, use cmp instead.
преди 6 години
Matt Wang
22793881dc
Merge pull request #74 from dimonomid/wrap_optimize
Optimize output
преди 6 години
Matt Wang
7e0cf85d85
Merge pull request #73 from dimonomid/wrap_readme
Update readme with --wrap details
преди 6 години
Dmitry Frank
cac52eae4e
Optimize output
Remove workarounds added while implementing --wrap, so that redundand
trailing sequences like `\x1b[32m\x1b[0m` are removed.
Also, actually run wrap regression tests; it should have been done in
the --wrap commit but somehow slipped away while addressing PR comments.
преди 6 години
Dmitry Frank
3b5e02a04f
Update readme with --wrap details
преди 6 години
Matt Wang
05209aa5b2
Merge pull request #72 from dimonomid/wrap
Implement --wrap flag
преди 6 години
Dmitry Frank
507e736ccb
Implement --wrap flag
Which causes long lines to be nicely wrapped in side-by-side mode. To be
used primarily with `-s -w0`.
преди 6 години
Matthew Wang
a1a33a52b7
Merge pull request #63 from leeor/master
added an argument to control tab expansion
преди 7 години
Leeor Aharon
6653ed39ed
fixed tests for tab expansion
преди 7 години
Leeor Aharon
11d2e1556a
added an argument to control tab expansion
преди 7 години
Matthew Wang
911bc91c6a
Bump up version to 1.0
преди 8 години
Matthew Wang
2523f26b49
Merge branch 'CDIFF_OPTIONS'
преди 8 години
Matthew Wang
a723fbe398
Add a minimal test to cover handling CDIFF_OPTIONS
преди 8 години
Matthew Wang
f3fe271a35
Fix #59 with env variable CDIFF_OPTIONS
преди 8 години
Matthew Wang
9b88181d52
Add instruction to install with homebrew
преди 8 години
Matthew Wang
fc5341a10b
Merge branch 'pep8'
Implement pep8 check. Excludes `E203 whitespace before ':'` for now.
преди 8 години
Matthew Wang
1a433ff5d7
Implement pep8 check
Excludes E203 whitespace before ':' for now.
TODO: look into pep8 for why `# nopep8` does not work here
преди 8 години
Matthew Wang
1b325c13de
Manage requirements in requirements.txt
преди 8 години
Matthew Wang
2a67fb2858
Ignores envs/ (for virtualenv)
преди 8 години
Matthew Wang
62a1528a31
Disable one more test that do not pass on travis due to tty problem
преди 8 години
Matthew Wang
c07163334d
Disable tests that do not pass on travis due to tty problem
преди 8 години
Matthew Wang
5c28b597e9
Remove a negative test fails without tty
преди 8 години
Matthew Wang
47c8527c79
Re-enable coverage test
преди 8 години
Matthew Wang
bd099f3a87
Fix a test that does not pass when stdin is closed
преди 8 години
Matthew Wang
927820dd9c
Merge branch 'travis-fix'
преди 8 години
Matthew Wang
588f664ed9
Try turn off coverage, blame travis
преди 8 години
Matthew Wang
c82281670d
Limit coverage < 4
преди 8 години
Matthew Wang
c600eb20c3
Run apt-get update first
преди 8 години
Matthew Wang
841e2fb45a
Use 2-space indention for .travis.yml
преди 8 години
Matthew Wang
4ab62ce0bd
Update for 0.9.8
преди 8 години
Matthew Wang
dedae36c8b
Upgrade pypi registratioin
преди 8 години
Matthew Wang
8f4d68e171
Fix special hunk meta handling in unit tests
преди 9 години
Matthew Wang
40a2c47d02
Merge branch 'old-new-path-recogonize'
преди 9 години
Matthew Wang
ac8917d826
Add tests from issue #25
преди 9 години
Matthew Wang
f246c518de
Fix issue #25 w/ logic to recogonize old/new path
преди 9 години
Matthew Wang
7bf5bec0fc
Fix default old/new address when they are missing
преди 9 години
ymattw
b63607d3c9
Merge pull request #50 from fgimian/git-cdiff-info
Added another suggested way to use cdiff with git
преди 9 години
Fotis Gimian
ac3467acaa
Added another suggested way to use cdiff with git
преди 9 години
Matthew Wang
2cf37af55e
Bump up version
преди 9 години
Matthew Wang
ffa865c38f
Merge pull request #45 from ymattw/diff-of-diff
Diff of diff
преди 9 години
Matthew Wang
2c9ed9adf5
Pygments 2.0.2 does now requires python >= 3.3
Trying an older version
преди 9 години
Matthew Wang
7e4821ae77
Add more tests to cover diff of diff
преди 9 години
Matthew Wang
10fa1e838a
Fix issue 44: unexpected side-by-side output for diff of diff
Common error of using lstrip:
lstrip('\x00+') will eat all '+' after '\x00'
преди 9 години
Matthew Wang
67c9831973
Merge branch 'solarized'
преди 10 години
Matthew Wang
476efa1a1c
Update tests accordingly
преди 10 години
Matthew Wang
9d7c723102
No more lightgreen, it's unreadable in solarized color scheme
People complains lightgreen is nearly unreadable in solarized dark color
scheme. Use green instead, which looks good enough for both
преди 10 години
Matthew Wang
6c95ff4a3c
CHANGES was renamed
преди 10 години
Matthew Wang
121c28bc35
Version 0.9.6 Fix TypeError exception in auto width logic
преди 10 години