Matthew Wang
c95c027f3e
Enable smooth horizontal scrolling with less option `--shift 1`
преди 10 години
Matthew Wang
3309c601b5
Adjust document format, pypi seems don't like 'code:: sh'
преди 10 години
Matthew Wang
daaed98f50
Clean up pypi credential upon success release
преди 10 години
Matthew Wang
11eb21cae6
Add an example usage for `-w 0`
преди 10 години
Matthew Wang
d7ee435203
Merge branch 'auto-width'
преди 10 години
Matthew Wang
a5b4e5ebf0
Usage update for --width=0
преди 10 години
Matthew Wang
f8066bd313
Disable an invalid test for negative width
преди 10 години
Matthew Wang
01af713f55
Auto setup line width once num_width is known
преди 10 години
Matthew Wang
ac439e26ed
Remove win32 support for detecting terminal size
преди 10 години
Fabien Meghazi
6befc2a7bf
Add terminal size fit for side by side view
преди 10 години
Matthew Wang
9266fb7cdd
Version bump up to 0.9.4
преди 10 години
Matthew Wang
0e91991d8f
github link was redirected
преди 10 години
Matthew Wang
9876dc3e4f
Merge pull request #38 from myint/3.4
Python 3.4
преди 10 години
Steven Myint
f22df08779
Advertise Python 3 support on PyPI
преди 10 години
Steven Myint
0be70313e1
Enable Python 3.4 testing
преди 10 години
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 години
Matthew Wang
bdb65ad6a1
Merge pull request #35 from rakuco/respect-LESS-env-var
Respect the `LESS' environment variable.
преди 11 години
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 години
Matthew Wang
f85a5e2b20
Merge pull request #34 from myint/stream
Remove obsolete code
преди 11 години
Steven Myint
790373dcb3
Remove obsolete code
преди 11 години
Matthew Wang
eef3b0f97a
Merge pull request #33 from myint/latin1
Handle Latin-1 encoded text in diffs
преди 11 години
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
bc2b4bf5db
Version bumped up to 0.9.3
преди 11 години
Matthew Wang
61d9e93b7b
Remove unused 'os'
преди 11 години
Matthew Wang
d44d437758
Merge branch 'block-select-line-buffered'
преди 11 години
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 години
Matthew Wang
2d2815a228
Update: try for issue #30 works for python >= 2.7.3
преди 11 години
Matthew Wang
12efc9d2c7
Implement next() for Python 2.5
преди 11 години
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 години
Matthew Wang
c2f3622c8a
Lazy fix #32 by set default encoding to utf-8
преди 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
e83642c799
Use file object's .closed instead of _istream_open
преди 11 години
Matthew Wang
551350d81d
Merge pull request #29 from myint/master
Remove code made unnecessary by #28
преди 11 години
Steven Myint
d3032476c1
Remove code made unnecessary by #28
преди 11 години
Steven Myint
2cb541c957
Handle all keyboard interrupts more completely
Also handle abruptly closed pipe gracefully.
преди 11 години
Matthew Wang
380d074426
Screenshots now hosted in branch 'gh-pages'
преди 11 години
Matthew Wang
74edd18cfe
Fix screenshot link
преди 11 години
Matthew Wang
af8a8eb48d
Version bumped to 0.9.2
преди 11 години
Matthew Wang
f0b2f43ad8
More example to illustrate command options
преди 11 години
Matthew Wang
5f671d7bdd
Show extra help message after option list
Use OptionGroup for hack
преди 11 години
Matthew Wang
57e62f2a7c
Stop on first unknown option and pass them down
- Close issue #26 (user can now use cdiff -s -U5 --cached)
преди 11 години
Matthew Wang
e19f384ba4
Fix issue #23 with --no-ext-diff
Use `--no-ext-diff` to disable GIT_EXTERNAL_DIFF and diff.external which might
break cdiff output
преди 11 години
Matthew Wang
ec3b4fe9ec
Merge pull request #24 from killarny/patch-1
Temporarily unset GIT_EXTERNAL_DIFF when invoking git diff.
преди 11 години
killarny
bcb99110bd
Temporarily unset GIT_EXTERNAL_DIFF when invoking git diff.
When the git diff command is customized through setting GIT_EXTERNAL_DIFF in the environment, the output of cdiff is broken and defaults to the output of the tool git has been configured to use.
Temporarily unsetting this variable when cdiff invokes git diff fixes the issue.
преди 11 години
Matthew Wang
e5a43b60b6
Pypi does not like bar '.. code::' directive
преди 11 години
Matthew Wang
56eb7bce95
Version info and document update for 0.9
преди 11 години
Matthew Wang
850cfd1ecb
Fix duplicate explicit target name
- Pypi requires strict reStructuredText syntax
- New make target `doc-check`
преди 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
ab9a9981c6
Enhance diff parser on handling hunk links, fix #20
преди 11 години