summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/server.c
AgeCommit message (Collapse)AuthorFilesLines
2007-03-06* Fix the double package name URL when using XferCommandAaron Griffin1-7/+5
* Fixed valgrind yelling about the sprintfs in md5/sha1 routines
2007-03-06* Added missing header include guards in md5.h and sha1.h.Dan McGee1-2/+2
* Some header cleanup on the pacman side of things - we had alpm.h instead alpm_list.h in a few headers. * removed an extra slash in path-building snprintf in server.c.
2007-03-05This commit looks much more monumental than it is. Almost all just #includeDan McGee1-1/+4
reordering and adding ones that were forgotten (noticed when trying to compile after reordering). * Updated the HACKING file to include information on #include usage. * print -> vprint in "making dir" function in pactest.
2007-02-12Wasn't clearing out the 'pkgname' variable, which was causing goofy outputAaron Griffin1-3/+6
issues - silly me. Also removed config.rpath from CVS
2007-02-10* 'add' percentages now cap at 100% (see the comment)Aaron Griffin1-2/+13
* downloaded packages now pass ONLY the package name to the callback
2007-02-09* Fixed some missing error values in strerrorAaron Griffin1-65/+83
* Cleanup up some error enum values * Revamped the 'pmserver_t' functionality. Less allocation, removed a param and cleaned up some duplicate URL parsing
2007-02-01* Minor output fix (move colon so it's not part of the URL)Aaron Griffin1-1/+1
* Added ldconfig on --sync operations too
2007-01-30K. Piche <kevin.piche@cgi.com>Aaron Griffin1-0/+9
* ALPM_LOG_FUNCTION macro and all the great work to add this macro everywhere
2007-01-30Discussed on IRC for a bit, this makes the following changes for clarity:Dan McGee1-1/+1
* alpm_list_is_in --> alpm_list_find * alpm_list_is_strin --> alpm_list_find_str * Flip parameters of both functions to be inline with rest of alpm_list. First commit, woohoo.
2007-01-19Preliminary checkin for alpm_list conversionAaron Griffin1-15/+15
* renamed pmlist_t -> alpm_list_t * made alpm_list_t a public type (alpm_list.h header) * removed additional storage for registered DBs in pacman source * some code cleanup * removed duplicate (pm)list_display functions from pacman source * misc code cleanup
2007-01-18Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-1/+1
* Removed some unnecessary headers and library links * Made things static if possible * Cleaned up makefiles a bit * Fixed some old comments in the code * Fixed some errors the static code checker splint pointed out * Backwards arguments in a memset call in _alpm_db_read (could have been worse) * Other various small fixes Other: * Default to 80 columns when getcols cannot determine display width * Removal of ._install as a valid install file in packages
2006-11-22* Fixed an error when trying to download to an unwritable locationAaron Griffin1-0/+4
2006-11-20* repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin1-6/+4
(no PKGBUILD) * libalpm api changes - move from a _getinfo(p, WHAT_WE_WANT) scheme to a typesafe _get_what_we_want(p) scheme [not 100% complete yet] * some const correctness changes * removal of PM_* types in alpm.h in favor of the pm*_t types used throughout libalpm
2006-11-15* Initial changes to gensync - makepkg changes were not checked in from anotherAaron Griffin1-0/+1
machine - still pending * Addition of _alpm_pkg_makefilename to simplify the with/without -ARCH prefix scheme we're going with for the interim
2006-11-14* Numerous mini valgrind fixes.Aaron Griffin1-17/+22
* Addition of hacky architecture check in the _splitname function * Removal of libfetch from the archlinux proper - it has been renamed to libdownload and can be found at http://phraktured.net/libdownload * Merge of _some_ of the Frugalware makepkg change - this may still be incomplete * Removal of libftp from cvs proper * PKGBUILD manpage now says 'PKGBUILD' instead of FrugalBuild (he he)
2006-11-08* Improved mcheck outputAaron Griffin1-1/+1
* Added minor libalpm const correctness * Mini-memory fixes
2006-11-03* Modified some error output and loggingAaron Griffin1-3/+2
* Changed the initial log mask (added PM_LOG_ERROR) * Fixed -Syu so it now works if any databases were downloaded (it was working like a -Su)
2006-11-01Fixed pacman -U:Aaron Griffin1-20/+30
* Accidental database read of a file-based package (whoops) * Proper fetching of url-based -U or -A Removed some newlines from _alpm_log calls, to make debug output more concise
2006-10-31Forgot to cycle to next server on download error - fixed, as well as theAaron Griffin1-2/+3
erro-case return value of _alpm_downloadfiles_forreal
2006-10-31Numerous changes:Aaron Griffin1-365/+153
* Furthered the "lazy caching" to force the pkgcache to read nothing (INFRQ_NONE) by default. Anything requiring package data should now check the infolevel of each package and attempt to update it. This could be ironed out a bit more later (by using the front-end get_info function * Switched to libfetch. Drastic changes to the download code and the callback progress bar functions. Also fixed the return value of _alpm_downloadfiles_forreal. Downloading now supports http, ftp, https, and files urls, along with 'mtime's and numerous other fancy features from libfetch.
2006-10-24Added PM_DLFNM_LEN define, via VMiklosAaron Griffin1-5/+5
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061023154138-e2957-de4837230b091cbc2136306e1c55a4b79cc72fc8.gz
2006-10-21Minor changes:Aaron Griffin1-1/+0
* Moved the pmhandle_t extern decl around * Fixed a doxygen complaint
2006-10-20A handful of minor changes:Aaron Griffin1-8/+8
* Removed the PMList typedef, in favor of the same naming scheme other structs use 'pmlist_t' * Added a time stamp on debug output, to make it more informational * Moved alpm_db_register to _alpm_db_register, making the public function not take a callback parameter
2006-10-16Adjust progress bar to align with frugalware's progressbarAaron Griffin1-4/+4
2006-10-15Another forgotten file setAaron Griffin1-0/+578