Matt Wang
31c3213ad0
Refactor: init DiffMarker object with flags.
Do not test internal methods.
6 gadus atpakaļ
Matt Wang
1ba4bc8f02
Simplify list generating code with style updates.
- Use single quotes
- No more backslashes at line end
6 gadus atpakaļ
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 gadus atpakaļ
Matt Wang
22793881dc
Merge pull request #74 from dimonomid/wrap_optimize
Optimize output
6 gadus atpakaļ
Matt Wang
7e0cf85d85
Merge pull request #73 from dimonomid/wrap_readme
Update readme with --wrap details
6 gadus atpakaļ
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 gadus atpakaļ
Dmitry Frank
3b5e02a04f
Update readme with --wrap details
6 gadus atpakaļ
Matt Wang
05209aa5b2
Merge pull request #72 from dimonomid/wrap
Implement --wrap flag
6 gadus atpakaļ
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 gadus atpakaļ
Matthew Wang
a1a33a52b7
Merge pull request #63 from leeor/master
added an argument to control tab expansion
7 gadus atpakaļ
Leeor Aharon
6653ed39ed
fixed tests for tab expansion
7 gadus atpakaļ
Leeor Aharon
11d2e1556a
added an argument to control tab expansion
7 gadus atpakaļ
Matthew Wang
911bc91c6a
Bump up version to 1.0
8 gadus atpakaļ
Matthew Wang
2523f26b49
Merge branch 'CDIFF_OPTIONS'
8 gadus atpakaļ
Matthew Wang
a723fbe398
Add a minimal test to cover handling CDIFF_OPTIONS
8 gadus atpakaļ
Matthew Wang
f3fe271a35
Fix #59 with env variable CDIFF_OPTIONS
8 gadus atpakaļ
Matthew Wang
9b88181d52
Add instruction to install with homebrew
8 gadus atpakaļ
Matthew Wang
fc5341a10b
Merge branch 'pep8'
Implement pep8 check. Excludes `E203 whitespace before ':'` for now.
8 gadus atpakaļ
Matthew Wang
1a433ff5d7
Implement pep8 check
Excludes E203 whitespace before ':' for now.
TODO: look into pep8 for why `# nopep8` does not work here
8 gadus atpakaļ
Matthew Wang
1b325c13de
Manage requirements in requirements.txt
8 gadus atpakaļ
Matthew Wang
2a67fb2858
Ignores envs/ (for virtualenv)
8 gadus atpakaļ
Matthew Wang
62a1528a31
Disable one more test that do not pass on travis due to tty problem
8 gadus atpakaļ
Matthew Wang
c07163334d
Disable tests that do not pass on travis due to tty problem
8 gadus atpakaļ
Matthew Wang
5c28b597e9
Remove a negative test fails without tty
8 gadus atpakaļ
Matthew Wang
47c8527c79
Re-enable coverage test
8 gadus atpakaļ
Matthew Wang
bd099f3a87
Fix a test that does not pass when stdin is closed
8 gadus atpakaļ
Matthew Wang
927820dd9c
Merge branch 'travis-fix'
8 gadus atpakaļ
Matthew Wang
588f664ed9
Try turn off coverage, blame travis
8 gadus atpakaļ
Matthew Wang
c82281670d
Limit coverage < 4
8 gadus atpakaļ
Matthew Wang
c600eb20c3
Run apt-get update first
8 gadus atpakaļ
Matthew Wang
841e2fb45a
Use 2-space indention for .travis.yml
8 gadus atpakaļ
Matthew Wang
4ab62ce0bd
Update for 0.9.8
8 gadus atpakaļ
Matthew Wang
dedae36c8b
Upgrade pypi registratioin
8 gadus atpakaļ
Matthew Wang
8f4d68e171
Fix special hunk meta handling in unit tests
9 gadus atpakaļ
Matthew Wang
40a2c47d02
Merge branch 'old-new-path-recogonize'
9 gadus atpakaļ
Matthew Wang
ac8917d826
Add tests from issue #25
9 gadus atpakaļ
Matthew Wang
f246c518de
Fix issue #25 w/ logic to recogonize old/new path
9 gadus atpakaļ
Matthew Wang
7bf5bec0fc
Fix default old/new address when they are missing
9 gadus atpakaļ
ymattw
b63607d3c9
Merge pull request #50 from fgimian/git-cdiff-info
Added another suggested way to use cdiff with git
9 gadus atpakaļ
Fotis Gimian
ac3467acaa
Added another suggested way to use cdiff with git
9 gadus atpakaļ
Matthew Wang
2cf37af55e
Bump up version
9 gadus atpakaļ
Matthew Wang
ffa865c38f
Merge pull request #45 from ymattw/diff-of-diff
Diff of diff
9 gadus atpakaļ
Matthew Wang
2c9ed9adf5
Pygments 2.0.2 does now requires python >= 3.3
Trying an older version
9 gadus atpakaļ
Matthew Wang
7e4821ae77
Add more tests to cover diff of diff
9 gadus atpakaļ
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 gadus atpakaļ
Matthew Wang
67c9831973
Merge branch 'solarized'
10 gadus atpakaļ
Matthew Wang
476efa1a1c
Update tests accordingly
10 gadus atpakaļ
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 gadus atpakaļ
Matthew Wang
6c95ff4a3c
CHANGES was renamed
10 gadus atpakaļ
Matthew Wang
121c28bc35
Version 0.9.6 Fix TypeError exception in auto width logic
10 gadus atpakaļ