summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Properly export all external symbols in Win32Vicent Marti2010-12-226-38/+38
| | | | | | | Some external functions were not being exported because they were using the 'extern' keyword instead of the generic GIT_EXTERN() macro. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fix test builds in Win32Vicent Marti2010-12-221-1/+1
| | | | | | | Use forward slashes for the TEST_RESOURCES definition. libgit2 uses only forward slashes. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fix issues in repository initializationVicent Marti2010-12-193-82/+88
| | | | | | | Implemented recursive directory creation Fix style issues Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Merge branch 'repo-init' of https://github.com/nulltoken/libgit2 into ↵Vicent Marti2010-12-194-2/+188
|\ | | | | | | nulltoken-repo-init
| * Added creation of ref/heads/ and refs/tags/ directories.nulltoken2010-12-191-0/+11
| |
| * Prettified HEAD symlink generation.nulltoken2010-12-171-2/+10
| |
| * Added a comment reminding that the gitfo_mkdir_recurs() is far from being ↵nulltoken2010-12-172-1/+2
| | | | | | | | fully implemented.
| * Added basic HEAD file creation.nulltoken2010-12-172-9/+50
| |
| * Made gitfo_mkdir_recurs() more tolerant.nulltoken2010-12-171-1/+8
| | | | | | | | Doesn't err any more when the directory already exists.
| * Added creation of 'objects' and 'refs' directories.nulltoken2010-12-171-0/+15
| |
| * Removed unnecessary git_repository_init_results handling.nulltoken2010-12-171-21/+1
| |
| * Added gitfo_mkdir_recurs() placeholder.nulltoken2010-12-172-0/+6
| |
| * Simplified git_repository_init_results struct.nulltoken2010-12-161-25/+10
| |
| * Very first git_repository_init() draft.nulltoken2010-12-152-0/+132
| |
* | Fixed a nasty bug which was preventing correct generation of the signature.nulltoken2010-12-181-1/+1
| |
* | Link tests with shared library, not staticVicent Marti2010-12-181-5/+15
| | | | | | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* | Merge branch 'timezone'Vicent Marti2010-12-1818-192/+345
|\ \ | |/ |/|
| * Rename 'git_person' to 'git_signature'Vicent Marti2010-12-1818-231/+245
| | | | | | | | | | | | | | The new signature struct is public, and contains information about the timezone offset. Must be free'd manually by the user. Signed-off-by: Vicent Marti <tanoku@gmail.com>
| * Merge branch 'timezone-offset' of https://github.com/nulltoken/libgit2 into ↵Vicent Marti2010-12-1210-25/+164
| |\ | | | | | | | | | timezone
| | * Added more person parsing tests.nulltoken2010-12-111-0/+32
| | |
| | * Added timezone checks to person parsing tests.nulltoken2010-12-111-10/+16
| | |
| | * Fixed too much faked timezone offset.nulltoken2010-12-111-1/+1
| | | | | | | | | | | | An offset of more than 14 hours makes no sense (cf. http://www.worldtimezone.com/faq.html).
| | * Made possible to parse a person with no specified timezone offset.nulltoken2010-12-111-0/+6
| | |
| | * Added timezone offset parsing and outputting.nulltoken2010-12-109-14/+109
| | |
* | | Fix initialization & freeing of inexistent reposVicent Marti2010-12-134-8/+33
|/ / | | | | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* | Update README.mdVicent Marti2010-12-121-153/+40
| | | | | | | | | | | | Add info on libgit2sharp, new build system, and usage guide. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* | Remove the Visual Studio 2010 solutionVicent Marti2010-12-123-322/+0
| | | | | | | | | | | | Users can automatically generate one for their system using CMake. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* | Update install info and test resource path handlingPeter Drahoš2010-12-122-6/+16
| |
* | Reflect the recent changes in header organization (CMake)Peter Drahoš2010-12-121-3/+4
| |
* | Minor modifications for MinGW/Cygwin compatibility.Peter Drahos2010-12-122-8/+21
| |
* | Fix case sensitivity issue.Peter Drahoš2010-12-121-1/+1
| |
* | Add basic testing support and options to specify install pathsPeter Drahoš2010-12-122-14/+50
| |
* | Add option to select sha1 type in CMake buildPeter Drahoš2010-12-121-10/+26
| |
* | Update README.mdPeter Drahoš2010-12-121-0/+20
| |
* | Add optional CMake build script.Peter Drahoš2010-12-121-0/+50
|/
* Tests now run with the resources folder as a hardcoded pathVicent Marti2010-12-105-167/+162
| | | | | | | Each tests expects a "TEST_RESOURCES" define with the full path to the resources folder. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fixed a memory leak in git_repository_lookup() when provided git_otype is ↵nulltoken2010-12-101-1/+3
| | | | invalid.
* Move documentation generation to the Waf systemVicent Marti2010-12-102-21/+13
| | | | | | The new command is './waf doxygen' Signed-off-by: Vicent Marti <tanoku@gmail.com>
* fix doxygen setup and automate generationScott Chacon2010-12-082-1/+22
| | | | | rakefile for some common tasks and doxygen needs to look in the new place for headers
* Set short message when changing a commit's messagev0.2.0Vicent Marti2010-12-071-3/+13
| | | | | | Yes, finally. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fix type-conversion warningsVicent Marti2010-12-064-14/+19
| | | | | | | The types in the git_index_entry struct are now system-defaults, and get truncated to uint32_t's when written back on the index. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Add license file to all public headersVicent Marti2010-12-0616-15/+406
| | | | | | Yes, the public headers do need our license. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Change the library include fileVicent Marti2010-12-0668-109/+109
| | | | | | | | | | | | Libgit2 is now officially include as #include "<git2.h>" or indidividual files may be included as #include <git2/index.h> Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Change include structure for the projectVicent Marti2010-12-0630-316/+411
| | | | | | | | | | | The maze with include dependencies has been fixed. There is now a global include: #include <git.h> The git_odb_backend API has been exposed. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Decouple storage from ODB logicVicent Marti2010-12-0615-1860/+2187
| | | | | | Comes with two default backends: loose object and packfiles. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Revert changes in odb.c to eventually rebaseVicent Marti2010-12-061-18/+18
| | | | | | The odb.c will disappear after the decoupling changes. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Small source code readability improvements.nulltoken2010-12-0511-79/+79
| | | | Replaced magic number "0" with GIT_SUCCESS constant wherever it made sense.
* Fixed .gitignore typo.nulltoken2010-12-041-1/+1
|
* Added reference to "src/vector.c" to the Visual Studio solution in order to ↵nulltoken2010-12-042-0/+4
| | | | cope with tanoku's latest refactorings.
* Added some patterns to .gitignore file to filter out some Visual Studio ↵nulltoken2010-12-041-0/+7
| | | | specifics.