Jelmer Vernooij
|
ee683e5a35
Add constants for commands.
|
10 years ago |
Jelmer Vernooij
|
1c3945e4c9
Add constants for sideband channels.
|
10 years ago |
Jelmer Vernooij
|
e67f9b40dc
Sort capabilities alphabetically.
|
10 years ago |
Jelmer Vernooij
|
04c1f5f522
Add constants for capabilities.
|
10 years ago |
Jelmer Vernooij
|
19f4a560b6
Add convenience function for checking validity of hex sha, rather than catching things like AssertionError.
|
10 years ago |
Jelmer Vernooij
|
d32c19e414
Fix assertion error syntax.
|
10 years ago |
Jelmer Vernooij
|
c105552694
Convert protocol module to python3.
|
10 years ago |
Jelmer Vernooij
|
3ff41893bb
Reintroduce Python2.6 support.
|
11 years ago |
Gary van der Merwe
|
2d3b02c9bb
Close files for Protocol objects.
|
11 years ago |
Gary van der Merwe
|
2fab9aa3ce
In Protocol.read_pkt_line, assert the length of the data read matches the length prefix.
|
11 years ago |
Gary van der Merwe
|
17b8807913
Use io.BytesIO rather than cStringIO.
|
11 years ago |
Jelmer Vernooij
|
3d8eaa731a
Use new style exception handling in a few more places.
|
12 years ago |
Jelmer Vernooij
|
eefef0f7b0
Drop compatibility wrapper for `SEEK_END` and `SEEK_CUR`.
|
12 years ago |
Jelmer Vernooij
|
9fa96ab8af
Update some copyright headers.
|
12 years ago |
Jelmer Vernooij
|
69a0369bcc
protocol: Add simple helper class for parsing a pktline stream.
|
14 years ago |
Jelmer Vernooij
|
56ae47bef2
Cleanup some imports.
|
15 years ago |
Jelmer Vernooij
|
6d8a28cb67
Rename dulwich.misc => dulwich._compat.
|
15 years ago |
Jelmer Vernooij
|
bc447f35b0
Some formatting fixes.
|
15 years ago |
Dave Borowitz
|
5f95990583
Add eof() and unread_pkt_line() methods to Protocol.
|
15 years ago |
Dave Borowitz
|
ef7a09ab87
Clean up docstrings in dulwich.protocol.
|
15 years ago |
Dave Borowitz
|
c4213ef634
Add side-band-64k support to ReceivePackHandler.
|
15 years ago |
Dave Borowitz
|
5c70891dec
Factor out a function to convert a line to a pkt-line.
|
15 years ago |
Dave Borowitz
|
1bdb4630c6
Clean up file headers.
|
15 years ago |
Dave Borowitz
|
e0c7bc82fd
Add SEEK_END to misc.py, since it was added in 2.5.
|
16 years ago |
Dave Borowitz
|
3863c1a9b2
Fix numerous style issues.
|
16 years ago |
Dave Borowitz
|
ae10a39c39
Add ReceivableProtocol that supports recv() as well as read().
|
16 years ago |
Dave Borowitz
|
6139e41012
Strip excess whitespace from capabilities lines.
|
16 years ago |
Dave Borowitz
|
3f75b14d76
Extract all-zero SHA as a constant in protocol.py
|
16 years ago |
Dave Borowitz
|
3e974654f2
Add smart HTTP support to dul-web.
|
16 years ago |
Dave Borowitz
|
50b8066660
Rework server protocol to be smarter and interoperate with cgit client.
|
16 years ago |