Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-04Use http_parser_parse_url to parse urlsBen Straub
2013-09-27Deploy gitno_connection_data into transport (winhttp)Ben Straub
...and have that call manage replaced memory in the output structure.
2013-09-26Migrate redirect URL handling to common utilityBen Straub
2013-02-01Enhance url parsing to include passwordsBen Straub
2013-01-31Stash username from url (but don't use it yet)Ben Straub
2013-01-09update copyrightsEdward Thomson
2012-11-01Reorganize transport architecture (squashed 3)Philip Kelley
2012-10-20gitno_buffer: callback on each packetBen Straub
The fetch code takes advantage of this to implement a progress callback every 100kb of transfer.
2012-08-02Merge remote-tracking branch 'nulltoken/topic/amd64-compat' into developmentVicent Marti
Conflicts: src/netops.c src/netops.h src/oid.c
2012-07-30remote: use the same code to control git and httpCarlos Martín Nieto
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).
2012-07-30remote: start moving the protocol to a common areaCarlos Martín Nieto
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.
2012-07-24portability: Improve x86/amd64 compatibilitynulltoken
2012-05-19ssl: teardown the connection on closeCarlos Martín Nieto
This should help us free some resources, though the libraries do keep some buffers allocated regardless.
2012-05-19https: make it work with OpenSSL as wellCarlos Martín Nieto
Add specific functions that use OpenSSL instead of GnuTLS
2012-05-19http: add https support when GnuTLS is availableCarlos Martín Nieto
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.
2012-05-06Merge remote-tracking branch 'scottjg/fix-mingw32' into developmentVicent Martí
Conflicts: src/netops.c src/netops.h src/transports/http.c tests-clar/clar
2012-05-06Fix gitno_connect() error handling on WindowsScott J. Goldman
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.
2012-04-17Fix warnings on 64-bit windows buildsRussell Belfer
This fixes all the warnings on win64 except those in deps, which come from the regex code.
2012-02-13Update Copyright headerschu
Signed-off-by: schu <schu-github@schulog.org>
2011-10-12net,pkt: add chunked supportCarlos Martín Nieto
As we don't know the length of the message we want to send to the other end, we send a chunk size before each message. In later versions, sending the wants might benefit from batching the lines together. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-10-01netops: abstract away socket closingCarlos Martín Nieto
Winsock wants us to use closesocket() instead of close(), so introduce the gitno_close function, which does the right thing. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-10-01Initialise the winsock DLLCarlos Martín Nieto
Windows wants us to initialise the networking DLL before we're allowed to send data through a socket. Call WSASetup and WSACleanup if GIT_WIN32 is defined. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-09-22Merge pull request #405 from carlosmn/http-lsVicent Martí
Implement ls-remote over HTTP
2011-09-19Cleanup legal dataVicent Marti
1. The license header is technically not valid if it doesn't have a copyright signature. 2. The COPYING file has been updated with the different licenses used in the project. 3. The full GPLv2 header in each file annoys me.
2011-09-04Move extract_host_and_port to netops and add default port argumentCarlos Martín Nieto
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-08-30netops: This is the proper checkVicent Marti
2011-08-30netops: Use the size_t, LukeVicent Marti
2011-08-30Fix Windows compilationCarlos Martín Nieto
Sockets on Windows are unsigned, so define a type GIT_SOCKET which is signed or unsigned depending on the platform. Thanks to Em for his patience with this. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-27Use gitno_buffer in the git transportCarlos Martín Nieto
This allows us to leave out the buffer handling logic. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-27Add gitno_buffer as a recv wrapperCarlos Martín Nieto
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-06-26Implement and use gitno_sendCarlos Martín Nieto
2011-06-26Create netops and start moving git:// to itCarlos Martín Nieto
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>