313 Commits

Author SHA1 Message Date
Ben Davis
398e717ec6 Implemented git_tree_entry_bypath within Tree.__getitem__ 2012-08-03 01:09:45 -05:00
J. David Ibáñez
a1716a3a92 Release v0.17.1
New features:

- Support for diffs
- Support for reflog
- Support for config files
- Add shortcut 'Repository.head'

Other changes:

- Improved support for Windows
- Improved documentation
- Refactoring: split the code into smaller files
- Refactoring: allow to add helper code written in Python
- Use Travis Continous-Integration service
  http://travis-ci.org/#!/libgit2/pygit2

Thanks to András Veres-Szentkirályi, Christian Boos, Martin Lenders,
Nico von Geyso, Petr Hosek and pistacchio.
v0.17.1
2012-07-18 12:24:09 +02:00
J. David Ibáñez
0285470f45 Add the list of authors to the readme file 2012-07-18 12:21:24 +02:00
J. David Ibáñez
edcd803e7e Remove the __authors__ var from py files 2012-07-18 12:12:04 +02:00
J. David Ibáñez
6195491596 Add/update copyright header of each file
And update my email address.
2012-07-18 12:07:17 +02:00
J. David Ibáñez
c7a9d4ca42 Add an AUTHORS file 2012-07-18 11:09:33 +02:00
J. David Ibáñez
bcf0bbd46f Update FSF address (issue #114) 2012-07-17 15:44:37 +02:00
J. David Ibáñez
7ec660a252 Add .mailmap file 2012-06-18 12:07:30 -03:00
J. David Ibáñez
ec8047a8c5 Fix errors detected by pyflakes 2012-06-18 11:36:27 -03:00
J. David Ibáñez
1f354149a3 tests: don't leave test files behind 2012-06-18 11:28:19 -03:00
J. David Ibáñez
d27cf0b687 style: remove trailing white-spaces 2012-06-18 11:22:56 -03:00
J. David Ibáñez
9ba2324535 Fix unit tests for Python 2.6 2012-06-18 11:08:46 -03:00
authmillenon
d2a27eddf1 Initialize variables in Config_set_multivar with NULL 2012-06-15 16:31:38 +02:00
authmillenon
b6b4007ffd Fixed bug in test_add. 2012-06-15 14:14:22 +02:00
András Veres-Szentkirályi
e31089bf56 documented create_commit in README 2012-06-13 11:24:53 +02:00
J. David Ibáñez
cf248dc6bf Merge remote branch 'cboos/windows-build-instructions' 2012-06-10 10:44:24 -03:00
Christian Boos
87827a6d92 windows: detailed build instructions
The default build of libgit2 with `__stdcall` calling
convention is inadequate. We need to use a more standard
`__cdecl` build, which can be obtained by specifying
`-DSTDCALL=OFF` while configuring libgit2.

Also mention the LIBGIT2 environment variable (2b4e5504).
2012-06-09 16:43:47 +02:00
Martin Lenders
3df090c761 Implement getting and setting of multivars 2012-06-08 18:34:54 +02:00
Martin Lenders
1acd488c68 Wrap git_config_foreach in Config 2012-06-08 18:34:54 +02:00
Martin Lenders
e126b09380 Implement dictionary-like behaviour for Config 2012-06-08 18:34:54 +02:00
Martin Lenders
e77d248713 Add back reference from Repository to Config 2012-06-08 18:34:54 +02:00
Martin Lenders
fcacea310b Implement addition of files to Config 2012-06-08 18:34:54 +02:00
Martin Lenders
068b833c87 Add getter for global and system config 2012-06-08 18:34:54 +02:00
Martin Lenders
c4d17b759b Create Config type 2012-06-08 18:34:54 +02:00
J. David Ibáñez
bffd195907 Merge remote branch 'cboos/fix-test-asserts-for-python26' 2012-06-07 19:47:32 -03:00
Christian Boos
6859e4b02a ci: add all Python versions listed as supported in README.rst 2012-06-06 21:52:13 +02:00
Christian Boos
38d5bf03ad tests: new fancy asserts are for Python 2.7 only 2012-06-06 15:58:07 +02:00
Christian Boos
c4a1e2ac00 fix windows VC9 build
Move variable declarations to the top of the functions.
2012-06-05 10:17:31 +02:00
pistacchio
872f4dbd6d solved issue 100 of the main repository 2012-05-31 15:42:28 +02:00
Nico von Geyso
785108e771 updated README (diff and RefLog) 2012-05-31 14:46:07 +02:00
J. David Ibáñez
1e1750f8da Merge remote branch 'perth/master' 2012-05-31 13:32:25 +02:00
J. David Ibáñez
a55d4da18a Merge remote branch 'cholin/head_getter' 2012-05-31 09:52:54 +02:00
Petr Hosek
d054788d19 Synchronized with upstream 2012-05-30 20:43:26 +01:00
Nico von Geyso
a8a0ac8290 use generator instead of python list 2012-05-30 15:57:35 +02:00
Nico von Geyso
e8c8fa29b7 Merge branch 'master' of https://github.com/libgit2/pygit2 into head_getter 2012-05-30 14:44:12 +02:00
Nico von Geyso
89354bc606 Merge branch 'master' of https://github.com/libgit2/pygit2 into reflog 2012-05-30 14:39:34 +02:00
Nico von Geyso
e7d7fcdae6 use _libgit2 instead of libgit2 2012-05-30 14:39:27 +02:00
Nico von Geyso
ce4e411135 added revlog 2012-05-30 14:39:02 +02:00
J. David Ibáñez
ed23c95f0d Merge remote branch 'cholin/diff_index_and_workdir' 2012-05-30 10:37:01 +02:00
Nico von Geyso
eb62331b36 added missing tests 2012-05-30 08:32:13 +02:00
Nico von Geyso
ade2e5812c support for diff against workdir or index
Added missing support for a diff against workdir or an index.
The latter one differs from `git diff HEAD` because git itself
does a merge of workdir and index (see docs of git_diff_workdir_to_tree).
2012-05-30 07:58:31 +02:00
Nico von Geyso
d14393c1df Diff and Hunk should not inherit from _libgit2.Object 2012-05-30 07:56:25 +02:00
Nico von Geyso
480a56adcf do not segfault if error is not set by libgit2 2012-05-30 07:27:47 +02:00
Petr Hosek
c06e10e67e Support for diff merge operation added 2012-05-29 17:41:07 +01:00
Petr Hosek
0b82cf0146 Missing diff constants added 2012-05-29 15:12:32 +01:00
Nico von Geyso
6ccb8306d4 initial travis ci build 2012-05-29 12:00:56 +02:00
Petr Hosek
6aba5b65a2 Diff now invoked immediately and its result stored inside object to
avoid calls on repeated accesses and allow implementation of other
variants
Fixed indentation in diff implementation
2012-05-28 15:45:46 +01:00
Nico von Geyso
e402d0e9eb added head-getter for Repository
You do not have to lookup and resolve the HEAD reference anymore if you simply want
the last commit. Repository has now a head-getter which combines all these steps.

example:
  repo = Repository('.')
  head = repo.head
  print(head.message)
2012-05-28 12:41:43 +02:00
Nico von Geyso
e7b5560590 Merge branch 'master' of https://github.com/libgit2/pygit2 into refactoring
Conflicts:
	pygit2.c
2012-05-25 17:37:25 +02:00
Nico von Geyso
75fda65f52 force length of PyArg_ParseTuple("s#) to be Py_ssize_t rather than int 2012-05-25 15:00:26 +02:00