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.
il y a 11 ans
Matthew Wang
2d2815a228
Update: try for issue #30 works for python >= 2.7.3
il y a 11 ans
Matthew Wang
12efc9d2c7
Implement next() for Python 2.5
il y a 11 ans
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
il y a 11 ans
Matthew Wang
c2f3622c8a
Lazy fix #32 by set default encoding to utf-8
il y a 11 ans
Matthew Wang
46d9e21076
Fix an unit test fails in python 2.5 for issue #31
il y a 11 ans
Matthew Wang
73e8e660b4
Fix issue #31 by catching UnicodeDecodeError as well
il y a 11 ans
Matthew Wang
e83642c799
Use file object's .closed instead of _istream_open
il y a 11 ans
Matthew Wang
551350d81d
Merge pull request #29 from myint/master
Remove code made unnecessary by #28
il y a 11 ans
Steven Myint
d3032476c1
Remove code made unnecessary by #28
il y a 11 ans
Steven Myint
2cb541c957
Handle all keyboard interrupts more completely
Also handle abruptly closed pipe gracefully.
il y a 11 ans
Matthew Wang
380d074426
Screenshots now hosted in branch 'gh-pages'
il y a 11 ans
Matthew Wang
74edd18cfe
Fix screenshot link
il y a 11 ans
Matthew Wang
af8a8eb48d
Version bumped to 0.9.2
il y a 11 ans
Matthew Wang
f0b2f43ad8
More example to illustrate command options
il y a 11 ans
Matthew Wang
5f671d7bdd
Show extra help message after option list
Use OptionGroup for hack
il y a 11 ans
Matthew Wang
57e62f2a7c
Stop on first unknown option and pass them down
- Close issue #26 (user can now use cdiff -s -U5 --cached)
il y a 11 ans
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
il y a 11 ans
Matthew Wang
ec3b4fe9ec
Merge pull request #24 from killarny/patch-1
Temporarily unset GIT_EXTERNAL_DIFF when invoking git diff.
il y a 11 ans
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.
il y a 11 ans
Matthew Wang
e5a43b60b6
Pypi does not like bar '.. code::' directive
il y a 11 ans
Matthew Wang
56eb7bce95
Version info and document update for 0.9
il y a 11 ans
Matthew Wang
850cfd1ecb
Fix duplicate explicit target name
- Pypi requires strict reStructuredText syntax
- New make target `doc-check`
il y a 11 ans
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
il y a 11 ans
Matthew Wang
ab9a9981c6
Enhance diff parser on handling hunk links, fix #20
il y a 11 ans
Matthew Wang
18985c1ca2
Doc update for context diff support
il y a 11 ans
Matthew Wang
91c9df1f4e
Re-enable context diff related tests
il y a 11 ans
Steven Myint
c7cd2237cb
Install patchutils on Travis CI
il y a 11 ans
Matthew Wang
5ece3ada9b
Skip a context diff related unit test as Travis not ready
il y a 11 ans
Matthew Wang
183fa49118
Travis does not have filterdiff, not ready to add context test case yet (#15 )
il y a 11 ans
Matthew Wang
e7854dddde
Support context diff via filterdiff, fixed #15
il y a 11 ans
Matthew Wang
9cc9298c0f
https does not really work with distutils (at least python 2.7)
il y a 11 ans
Matthew Wang
2e49a7eb3f
Fall through unknown format to 'unified', fixed #18
il y a 11 ans
Matthew Wang
d81f755e4e
Merge remote-tracking branch 'origin/context-diff'
il y a 11 ans
Steven Myint
5ddd06fd05
Handle a diff with only an svn property change
il y a 11 ans
Matthew Wang
b87376fac9
Should tolerate dos format
il y a 11 ans
Matthew Wang
69e4b1683e
Probe context diff for #15
il y a 11 ans
Matthew Wang
7881a41f69
- Naming enhancement for unified diff
il y a 11 ans
Matthew Wang
b6a591a6ce
Version bump up to 0.8
il y a 11 ans
Matthew Wang
e191e54ea6
Fixed #14 by tolerating dangling headers and short patch < 4 lines
il y a 11 ans
Matthew Wang
6a6249f4c6
Dirty fix false alarm of dangling header reported in issue #14
il y a 11 ans
Matthew Wang
ade50ef91d
Change 'Development Status' to stable
il y a 11 ans
Matthew Wang
b67b900a83
Doc update for passing extra options to underneath revision diff tool
il y a 11 ans
Matthew Wang
a09947c1b5
Enough unit tests (95%)
il y a 11 ans
Matthew Wang
45b95d6e09
Split Diff detector methods to class DiffOps
il y a 11 ans
Matthew Wang
b601b6206d
Use '# pragma: no cover' to ignore 1 line logic
il y a 11 ans
Matthew Wang
318bc66ee0
PEP8 lint
il y a 11 ans
Matthew Wang
0e6c439fb3
Add target for coverage html report
il y a 11 ans
Matthew Wang
c456c8d42b
Wrap at column 79; add more examples
il y a 11 ans
Matthew Wang
f64e6ceb35
Conform PEP8 (with minor own flavors)
il y a 11 ans