- 13 Nov, 2012 1 commit
-
-
Michael Schubert committed
-
- 06 Nov, 2012 3 commits
-
-
Philip Kelley committed
-
Philip Kelley committed
-
Philip Kelley committed
-
- 01 Nov, 2012 2 commits
-
-
Philip Kelley committed
-
Philip Kelley committed
-
- 26 Oct, 2012 1 commit
-
-
Ben Straub committed
-
- 20 Oct, 2012 1 commit
-
-
The fetch code takes advantage of this to implement a progress callback every 100kb of transfer.
Ben Straub committed
-
- 15 Oct, 2012 1 commit
-
-
nulltoken committed
-
- 10 Oct, 2012 1 commit
-
-
The fix for fetching from empty repositories (22935b06 protocol: don't store flushes; 2012-10-07) forgot to take into account the deletion of the flush pkt in the HTTP transport. As a result, the HEAD ref advertisement where we detect the remote's capabilities was deleted instead. Fix this.
Carlos Martín Nieto committed
-
- 20 Sep, 2012 1 commit
-
-
nulltoken committed
-
- 13 Sep, 2012 1 commit
-
-
The winhttp branch was based on a version before these existed, so the build broke on Windows.
Carlos Martín Nieto committed
-
- 14 Sep, 2012 1 commit
-
-
Wondows has its own HTTP library. Use that one when possible instead of our own. As we don't depend on them anymore, remove the http-parser library from the Windows build, as well as the search for OpenSSL.
Carlos Martín Nieto committed
-
- 25 Aug, 2012 1 commit
-
-
This poor transport was forgotten in the recent sideband support.
Carlos Martín Nieto committed
-
- 23 Aug, 2012 1 commit
-
-
Russell Belfer committed
-
- 04 Aug, 2012 1 commit
-
-
This updates all the `foreach()` type functions across the library that take callbacks from the user to have a consistent behavior. The rules are: * A callback terminates the loop by returning any non-zero value * Once the callback returns non-zero, it will not be called again (i.e. the loop stops all iteration regardless of state) * If the callback returns non-zero, the parent fn returns GIT_EUSER * Although the parent returns GIT_EUSER, no error will be set in the library and `giterr_last()` will return NULL if called. This commit makes those changes across the library and adds tests for most of the iteration APIs to make sure that they follow the above rules.
Russell Belfer committed
-
- 30 Jul, 2012 4 commits
-
-
SSL isn't the only way that a transport can be encrypted. The new name will make it easier to merge the SSH support.
Carlos Martín Nieto committed -
Instad of each transport having its own function and logic to get to its refs, store them directly in transport. Leverage the new gitno_buffer to make the parsing and storing of the refs use common code and get rid of the git_protocol struct.
Carlos Martín Nieto committed -
This allows us to add capabilitites to both at the same time, keeps them in sync and removes a lot of code. gitno_buffer now uses a callback to fill its buffer, allowing us to use the same interface for git and http (which uses callbacks).
Carlos Martín Nieto committed -
For the transition, http is going to keep its own logic until the git/common code catches up with the implied multi_ack that http has. This also has the side-effect of making the code cleaner and more correct regardingt he protocol.
Carlos Martín Nieto committed
-
- 28 Jun, 2012 1 commit
-
-
Not everyone who indexes a packfile wants to put it in the standard git repository location.
Carlos Martín Nieto committed
-
- 05 Jun, 2012 1 commit
-
-
Michael Schubert committed
-
- 02 Jun, 2012 1 commit
-
-
Arthur Schreiber committed
-
- 26 May, 2012 1 commit
-
-
Sometimes it's useful not to perform the check. Allow it to be configurable.
Carlos Martín Nieto committed
-
- 19 May, 2012 3 commits
-
-
This should help us free some resources, though the libraries do keep some buffers allocated regardless.
Carlos Martín Nieto committed -
Add specific functions that use OpenSSL instead of GnuTLS
Carlos Martín Nieto committed -
If it's not available, an error saying so will be returned when trying to use a https:// URL. This also unifies a lot of the network code to use git_transport in many places instead of an socket descriptor.
Carlos Martín Nieto committed
-
- 17 May, 2012 2 commits
-
-
Vicent Martí committed
-
Vicent Martí committed
-
- 05 May, 2012 1 commit
-
-
gitno_connect() can return an error or socket, which is fine on most platforms where sockets are file descriptors (signed int), but on Windows, SOCKET is an unsigned type, which is problematic when we are trying to test if the socket was actually a negative error code. This fix seperates the error code and socket in gitno_connect(), and fixes the error handling in do_connect() functions to compensate. It appears that git_connect() and the git-transport do_connect() functions had bugs in the non-windows cases too (leaking sockets, and not properly reporting connection error, respectively) so I went ahead and fixed those too.
Scott J. Goldman committed
-
- 03 May, 2012 1 commit
-
-
Vicent Martí committed
-
- 30 Apr, 2012 2 commits
-
-
When e.g. a repository isn't found, the server sends an error saying so. Put that error message in our error buffer.
Carlos Martín Nieto committed -
nulltoken committed
-
- 25 Apr, 2012 2 commits
-
-
Trying to send every single line immediately won't give us any speed improvement and duplicates the code we need for other transports. Make the git transport use the same buffer functions as HTTP.
Carlos Martín Nieto committed -
This changes the git_remote_download() API, but the existing one is silly, so you don't get to complain. The new API allows to know how much data has been downloaded, how many objects we expect in total and how many we've processed.
Carlos Martín Nieto committed
-
- 17 Apr, 2012 1 commit
-
-
This fixes all the warnings on win64 except those in deps, which come from the regex code.
Russell Belfer committed
-
- 11 Apr, 2012 1 commit
-
-
Carlos Martín Nieto committed
-
- 06 Mar, 2012 1 commit
-
-
This also includes droping `git_buf_lasterror` because it makes no sense in the new system. Note that in most of the places were it has been dropped, the code needs cleanup. I.e. GIT_ENOMEM is going away, so instead it should return a generic `-1` and obviously not throw anything.
Vicent Martí committed
-
- 13 Feb, 2012 1 commit
-
-
Signed-off-by: schu <schu-github@schulog.org>
schu committed
-
- 19 Jan, 2012 1 commit
-
-
The buffer wasn't getting freed if the last difference was a deletion.
Carlos Martín Nieto committed
-