Jelmer Vernooij
|
f2a09e7977
Update header to reflect that license is now Apachev2 or GNU GPLv2+.
|
hace 9 años |
Lele Gaifax
|
c79661c0ac
Treat pathnames as bytes in the Python 3 C modules
|
hace 10 años |
Lele Gaifax
|
e38d4efeaf
Make the C accelerator modules compatible with Python 3
|
hace 10 años |
Jelmer Vernooij
|
79745d2c20
Check for PyLong, for pypy.
|
hace 10 años |
Hannu Valtonen
|
6b095a3c96
py3k: These need to return a value since in Py3k they're no longer void
|
hace 11 años |
Jelmer Vernooij
|
eb700910c7
_objects.c: Cope with sha_to_pyhex returning NULL.
|
hace 13 años |
Jelmer Vernooij
|
523cc1cb14
When replacing strnlen, use a different name to prevent clashing with system strnlen if it does actually exist.
|
hace 14 años |
Jelmer Vernooij
|
8d93b1e73e
Make text argument to strnlen const.
|
hace 14 años |
Martin
|
1da03206ac
Provide strnlen for MSVC before version 8
|
hace 14 años |
Nick Stenning
|
596e50319b
Use Apple's Availability.h directly to determine current OS X version
|
hace 14 años |
Ryan McKern
|
d6cc373992
Fix for bug https://bugs.launchpad.net/dulwich/+bug/794543, where strnlen is defined twice if you're using OS X 10.7 (Lion).
|
hace 14 años |
Augie Fackler
|
3fa6f9e8d4
objects.parse_tree: more gracefully handle invalid modes in trees
|
hace 15 años |
Dave Borowitz
|
055d2ebd52
objects: Allow tree entries to be sorted by name.
|
hace 15 años |
Augie Fackler
|
bf39152d05
_objects.c: indentation/alignment tabs/spaces pedantry.
|
hace 15 años |
Dave Borowitz
|
3c84e3d192
_objects: sorted_tree_items cleanup.
|
hace 15 años |
Dave Borowitz
|
0cfb54277b
Subclass TreeEntry in objects.py.
|
hace 15 años |
Dave Borowitz
|
aba245f8be
Make TreeEntry a namedtuple for clarity.
|
hace 15 años |
dak180
|
acd6db06f7
Cope with strnlen() not existing on Mac.
|
hace 15 años |
Hans Kolek
|
9a219437a6
Provide strnlen() on mingw32 which doesn't have it.
|
hace 15 años |
Tay Ray Chuan
|
f1d2cf7a80
dulwich/_objects.c
|
hace 15 años |
Dave Borowitz
|
61cd4598f7
Fix memory leak in C implementation of sorted_tree_items.
|
hace 15 años |
Dave Borowitz
|
d9b23da152
Add tests for sorted_tree_items and C implementation.
|
hace 15 años |
Dave Borowitz
|
35273258b6
Convert tree mode to int when sorting.
|
hace 15 años |
Dave Borowitz
|
c90e3554ca
Add a typedef for Py_ssize_t, which is not available in python <2.5.
|
hace 16 años |
Dave Borowitz
|
7ad8df2265
Correctly avoid parsing ShaFiles with fixed SHAs when calling sha().
|
hace 16 años |
Dave Borowitz
|
4448f3b389
Ensure we don't run past the end of the tree text.
|
hace 16 años |
Dave Borowitz
|
a4cebb6994
Add check() methods to object classes for consistency checking.
|
hace 16 años |
Dave Borowitz
|
fe36cc47e7
Change parse_tree to return a list rather than a dict.
|
hace 16 años |
Jelmer Vernooij
|
21f97b93e9
Provide C implementation of tree item sorter.
|
hace 16 años |
Jelmer Vernooij
|
1c91fa9af9
Use binascii.{unhexlify,hexlify}. Thanks to Ronny for the hint.
|
hace 16 años |