summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix segfault in t0603 (unitialized pointer)Vicent Marti2010-12-021-2/+2
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fix segfault handler in Mac OS XVicent Marti2010-12-021-39/+9
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Add 'git_repository_open2' to customize repo foldersVicent Marti2010-12-022-7/+144
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Commit parents now use the common 'vector' codeVicent Marti2010-12-025-65/+32
| | | | | | No more linked lists, no more O(n) access. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Merge branch 'commitparents' of https://github.com/JustinLove/libgit2 into ↵Vicent Marti2010-12-023-0/+55
|\ | | | | | | JustinLove-commitparents
| * add git_commit_parent to retrieve a parent by indexJustin Love2010-11-303-1/+30
| |
| * add git_commit_parentcountJustin Love2010-11-303-0/+26
| |
* | Refactor all 'vector' functions into common codeVicent Marti2010-12-028-214/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All the operations on the 'git_index_entry' array and the 'git_tree_entry' array have been refactored into common code in the src/vector.c file. The new vector methods support: - insertion: O(1) (avg) - deletion: O(n) - searching: O(logn) - sorting: O(logn) - r. access: O(1) Signed-off-by: Vicent Marti <tanoku@gmail.com>
* | Add stack trace to the tests when building with GCCVicent Marti2010-12-021-0/+60
|/ | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Make the bitmasks for Index Entry flags publicVicent Marti2010-11-292-6/+6
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Properly write Index Entry 'flags_extended'Vicent Marti2010-11-291-0/+6
| | | | | | Always write the 'flags_extended' attribute to disk if it's available. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Add premade solution for compiling in MSVC2010Vicent Marti2010-11-283-0/+318
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Update README.mdVicent Marti2010-11-241-23/+31
| | | | | | | | Fix my broken English. Fix formatting issues in some links. Add new build flag options. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Improve build system for MSVCVicent Marti2010-11-241-5/+19
| | | | | | | | Add options to select architecture and compiler version. Removed dependency on 'grep'. Fix debug mode flags being always empty. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Do proper symbol exports on MSVCVicent Marti2010-11-241-0/+2
| | | | | | | | | Yes, if you are wondering why the shared library was failing to build under MSVC, it's because it was empty. Oh wow. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Do not use STDINT types in public headersVicent Marti2010-11-241-11/+10
| | | | | | Old versions of MSVC don't have such types available. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* update readme to be markdown basedv0.1.0Scott Chacon2010-11-231-47/+68
|
* Update the README with info about the new buildsysVicent Marti2010-11-241-29/+117
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Make the test suite depend on the static libraryVicent Marti2010-11-241-6/+10
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Add --debug flag to toggle debuggingVicent Marti2010-11-241-5/+14
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Remove the Makefile from the tests/ folder tooVicent Marti2010-11-241-133/+0
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fix redeclaration warnings in MSVCVicent Marti2010-11-242-1/+5
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Use the proper Zlib version with MSVCVicent Marti2010-11-241-2/+2
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Removed unreachable code (MSVC warning)Vicent Marti2010-11-241-2/+0
|
* Fix gitfo_isdir() in Win32 systemsVicent Marti2010-11-241-1/+19
| | | | | | Because adhering to the POSIX standards is overrated. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fix MSVC warnings and errorsVicent Marti2010-11-243-6/+6
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fix compilation in Win32Vicent Marti2010-11-241-68/+44
| | | | | | | Currently, libgit2 compiles and passes all tests under MinGW, and compiles but fails the test suite on MSVC 2010. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Add library dependencies to the buildVicent Marti2010-11-241-12/+69
| | | | | | | | | | | | | | The libgit2 shared library must be linked with all the dynamic libraries it depends (z, openssl). These libraries are now automatically detected during the configuration phase. Also, removed the linking dependency on libgit2 which Scott added: if you link libgit2 with itself, the universe could implode, and we don't want that to happen. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* add waf artifacts to .gitignoreScott Chacon2010-11-241-0/+4
|
* add library includes, remove Makefile and readme update for wafScott Chacon2010-11-243-215/+21
|
* Add separate commands for all possible actionsVicent Marti2010-11-241-33/+66
| | | | | | The build script now supports all the required features Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Add more features to the build systemVicent Marti2010-11-242-15/+87
| | | | | | | | - Windows 32 compilation - Test system - Shared and static libraries Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Change to waf as the buildsystemVicent Marti2010-11-242-0/+70
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Change blob API to return temp refs to the contentVicent Marti2010-11-202-32/+18
| | | | | | | If the user wants permanent references, he can duplicate the temporary one manually. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fix wrong pointer check in git__strdupVicent Marti2010-11-191-1/+1
| | | | Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fix resizing the index arrayVicent Marti2010-11-171-3/+12
| | | | | | No longer segfaults when resizing an empty array. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Fix repository initializationVicent Marti2010-11-171-12/+14
| | | | | | | We cannot assume that non-bare repositories have an index file, because 'git index' doesn't create it by default. Signed-off-by: Vicent Marti <tanoku@gmail.com>