Matthew Wang
7bf5bec0fc
Fix default old/new address when they are missing
9 jaren geleden
ymattw
b63607d3c9
Merge pull request #50 from fgimian/git-cdiff-info
Added another suggested way to use cdiff with git
9 jaren geleden
Fotis Gimian
ac3467acaa
Added another suggested way to use cdiff with git
9 jaren geleden
Matthew Wang
2cf37af55e
Bump up version
9 jaren geleden
Matthew Wang
ffa865c38f
Merge pull request #45 from ymattw/diff-of-diff
Diff of diff
9 jaren geleden
Matthew Wang
2c9ed9adf5
Pygments 2.0.2 does now requires python >= 3.3
Trying an older version
9 jaren geleden
Matthew Wang
7e4821ae77
Add more tests to cover diff of diff
9 jaren geleden
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 jaren geleden
Matthew Wang
67c9831973
Merge branch 'solarized'
10 jaren geleden
Matthew Wang
476efa1a1c
Update tests accordingly
10 jaren geleden
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 jaren geleden
Matthew Wang
6c95ff4a3c
CHANGES was renamed
10 jaren geleden
Matthew Wang
121c28bc35
Version 0.9.6 Fix TypeError exception in auto width logic
10 jaren geleden
Matthew Wang
0c9f80852d
Merge pull request #40 from myint/division
Use correct integer division
10 jaren geleden
Steven Myint
18b3b85be7
Use correct integer division
Without this, we get the following on Python 3:
return '%s%*s' % (markup_fn(text), pad_len, '')
TypeError: * wants int
10 jaren geleden
Matthew Wang
e3e838d8fb
Add Pygments to build environment as well
WTF? docutils does not set up dependency correctly? Or pip does not
handle it??
10 jaren geleden
Matthew Wang
1e56a8948d
Add docutils to build environment
10 jaren geleden
Matthew Wang
8270f76ff0
Fix invalid .rst syntax
10 jaren geleden
Matthew Wang
be3a84c2a7
Validate document as well for test make target
10 jaren geleden
Matthew Wang
5402a0e420
Rename as change log is actually a valid .rst file
10 jaren geleden
Matthew Wang
1aeaf771b1
Version bump up to 0.9.5
10 jaren geleden
Matthew Wang
c95c027f3e
Enable smooth horizontal scrolling with less option `--shift 1`
10 jaren geleden
Matthew Wang
3309c601b5
Adjust document format, pypi seems don't like 'code:: sh'
10 jaren geleden
Matthew Wang
daaed98f50
Clean up pypi credential upon success release
10 jaren geleden
Matthew Wang
11eb21cae6
Add an example usage for `-w 0`
10 jaren geleden
Matthew Wang
d7ee435203
Merge branch 'auto-width'
10 jaren geleden
Matthew Wang
a5b4e5ebf0
Usage update for --width=0
10 jaren geleden
Matthew Wang
f8066bd313
Disable an invalid test for negative width
10 jaren geleden
Matthew Wang
01af713f55
Auto setup line width once num_width is known
10 jaren geleden
Matthew Wang
ac439e26ed
Remove win32 support for detecting terminal size
10 jaren geleden
Fabien Meghazi
6befc2a7bf
Add terminal size fit for side by side view
10 jaren geleden
Matthew Wang
9266fb7cdd
Version bump up to 0.9.4
10 jaren geleden
Matthew Wang
0e91991d8f
github link was redirected
10 jaren geleden
Matthew Wang
9876dc3e4f
Merge pull request #38 from myint/3.4
Python 3.4
10 jaren geleden
Steven Myint
f22df08779
Advertise Python 3 support on PyPI
10 jaren geleden
Steven Myint
0be70313e1
Enable Python 3.4 testing
10 jaren geleden
Matthew Wang
14632a1e15
Travis does not support python 2.5 anymore
Python 2.5 is not listed as supported version, according to
http://about.travis-ci.org/docs/user/languages/python/
11 jaren geleden
Matthew Wang
bdb65ad6a1
Merge pull request #35 from rakuco/respect-LESS-env-var
Respect the `LESS' environment variable.
11 jaren geleden
Raphael Kubo da Costa
db3bc92bed
Respect the `LESS' environment variable.
Steal a few more lines from git's pager code and only pass the hardcoded
"-FRSX" flags if the user has not set the LESS environmen variable to some
other variable, thus behaving more closely to what the user would expect.
11 jaren geleden
Matthew Wang
f85a5e2b20
Merge pull request #34 from myint/stream
Remove obsolete code
11 jaren geleden
Steven Myint
790373dcb3
Remove obsolete code
11 jaren geleden
Matthew Wang
eef3b0f97a
Merge pull request #33 from myint/latin1
Handle Latin-1 encoded text in diffs
11 jaren geleden
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 jaren geleden
Matthew Wang
bc2b4bf5db
Version bumped up to 0.9.3
11 jaren geleden
Matthew Wang
61d9e93b7b
Remove unused 'os'
11 jaren geleden
Matthew Wang
d44d437758
Merge branch 'block-select-line-buffered'
11 jaren geleden
Matthew Wang
1755970048
Adjust Popen object creation order to fix issue #30
Have to create pager Popen object before the translator Popen object
in PatchStreamForwarder, otherwise the `stdin=subprocess.PIPE` would cause
trouble to the translator pipe (select() never see EOF after input stream
ended), most likely python bug 12607 (http://bugs.python.org/issue12607)
which was fixed in python 2.7.3.
11 jaren geleden
Matthew Wang
2d2815a228
Update: try for issue #30 works for python >= 2.7.3
11 jaren geleden
Matthew Wang
12efc9d2c7
Implement next() for Python 2.5
11 jaren geleden
Matthew Wang
d4ed688e5c
Another try for issue #30
blocking mode with select() and bufsize=1, buggy in python 2.x:
close() does not notify select() for EOF
11 jaren geleden