summaryrefslogtreecommitdiff
path: root/lib/libalpm
Commit message (Collapse)AuthorAge
* * Added a check for .FILELIST for package validity in addition to .PKGINFOAaron Griffin2007-01-22
|
* Introduced an infinite loop during the pmlist -> alpm_list transition, whoopsAaron Griffin2007-01-22
|
* Moved some decls to make the "pkg_invalid" patch compile again.Aaron Griffin2007-01-19
|
* Whoops. There's a 0 where there should be a 1.Aaron Griffin2007-01-19
|
* Johannes Weiner <hannes@saeurebad.de>Aaron Griffin2007-01-19
| | | | * package cleanup (pkg_invalid) refactoring
* Johannes Weiner <hannes@saeurebad.de>Aaron Griffin2007-01-19
| | | | | * use calloc to zero-out new packages (far more ideal) * use memcpy to copy primatives when copying package structures
* Preliminary checkin for alpm_list conversionAaron Griffin2007-01-19
| | | | | | | | | * 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
* Some confusion with variable names in unlink_file caused unlink to try and ↵Aaron Griffin2007-01-18
| | | | find the _relative_ file instead of absolute. The absolute path name has also been used in some of the output there too.
* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-18
| | | | | | | | | | | | | | * 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
* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-18
| | | | * fix "warning: dereferencing type-punned pointer will break strict-aliasing rules"
* Added strerror() output on unlink failureAaron Griffin2007-01-18
|
* * Misc logging changesAaron Griffin2007-01-17
| | | | | | Addition of a forced fflush in an attempt to diagnose mutli-logging Removal of varargs from the internal logaction function, they are handled in alpm_logaction just fine
* James Rosten <seinfeld90@gmail.com>Aaron Griffin2007-01-17
| | | | | * _alpm_remove_commit refactoring * clean up/fixes by Dan McGee <dpmcgee@gmail.com>
* Jürgen Hötzel <juergen@hoetzel.info>Aaron Griffin2007-01-17
| | | | | | | | | | | | | | | | | | | | | | | | * avoid repeated regex compilations (regex for search string do not change while scanning the package database) * remove needless string duplication (regex function do not change target string nor free them) * code cleanup This patch improves search performance: bash-3.2$ time ./src/pacman/pacman.static.old -Ss "(database|web).*server" >/dev/null real 0m1.026s user 0m0.544s sys 0m0.208s bash-3.2$ time ./src/pacman/pacman.static -Ss "(database|web).*server" >/dev/null real 0m0.777s user 0m0.456s sys 0m0.128s bash-3.2$
* cvsignore cleanup and additionsAaron Griffin2007-01-17
|
* * Jürgen Hötzel <juergen@hoetzel.info>Aaron Griffin2007-01-11
| | | | _alpm_db_load_pkgcache: use mergesort to improve performance
* * Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-11
| | | | Documentation cleanup
* * bug fix FS#6100 - fix --print-uris outputAaron Griffin2007-01-03
|
* * Bug fix FS#6058Aaron Griffin2007-01-03
| | | | properly remove entries from "Required By" instead of wiping it out entirely
* * Missing error label in sync.cAaron Griffin2007-01-02
| | | | * Additional debug output for db_write
* * Removed latest fix from TODO.autoconfAaron Griffin2006-12-29
| | | | | * Attempted fix for FS#6100 - "-Spd foo" failure * Beginning of refactoring from Dan McGee <dpmcgee@gmail.com>
* Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel ↵Aaron Griffin2006-12-22
| | | | | | | <juergen@hoetzel.info> * configure swig check * misc libalpm cleanup
* * Properly fix the NoUpgrade issues.Aaron Griffin2006-12-22
|
* * Unused variable 'path'Aaron Griffin2006-12-22
|
* *untested* potential fix for the NoUpgrade issues.Aaron Griffin2006-12-21
|
* * modeline fixes / reformattingAaron Griffin2006-12-21
| | | | | | | * formatting / indentation fixes * makepkg: Dan McGee <dpmcgee@gmail.com> - integrity check fix Jürgen Hötzel <juergen@hoetzel.info> - EUID usage and "x$foo" check revamp
* * Dan McGee's makepkg updates ↵Aaron Griffin2006-12-14
| | | | | | | | http://www.archlinux.org/pipermail/pacman-dev/2006-December/000792.html * configure fixes (CFLAGS) * no-strict-aliasing hacks until full C99 compliance * --with-config-file configure option
* Corrected -Rsc operation - dependancy info was not being read from the DBAaron Griffin2006-12-05
|
* * Fixed the bug where -R pkgA pkgB failed when pkgA depended on pkgBAaron Griffin2006-12-01
|
* * Cosmetic changes and typo fixesAaron Griffin2006-12-01
| | | | | * IgnorePkg and --ignore work again * Partial changes to support removal of conflicts for -U and -A (INCOMPLETE)
* * Fixed some error output for "-Sd" and "-Rsc" dealing with missing/ignoredAaron Griffin2006-11-24
| | | | | depends * Added valgrind suppression file
* * Whoops util MakefileAaron Griffin2006-11-22
| | | | * Slight modification to depcmp debug output
* * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)Aaron Griffin2006-11-22
| | | | | | | | * Modified some dependancy checking * Changed "performing local database upgrade" message to be more clear * Change 'usize' to 'isize' in database files * Scriptlet output is now sent to pacman's log file * Limited some debugging output to be more clear
* * Fixed an error when trying to download to an unwritable locationAaron Griffin2006-11-22
|
* * repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin2006-11-20
| | | | | | | | | | (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
* * makepkg.conf.in variable changes (missed the checkin)Aaron Griffin2006-11-16
| | | | | * Better error reporting when unpacking an archive fails * Fixed -Sc and -Scc cache dir opening/reading
* * Initial changes to gensync - makepkg changes were not checked in from anotherAaron Griffin2006-11-15
| | | | | | machine - still pending * Addition of _alpm_pkg_makefilename to simplify the with/without -ARCH prefix scheme we're going with for the interim
* * has_archname changesAaron Griffin2006-11-14
| | | | | * makepkg attempt at multiple file integrity checks * honor "force" option on -S packages (not just -Su)
* * Numerous mini valgrind fixes.Aaron Griffin2006-11-14
| | | | | | | | | | * 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)
* * Improved mcheck outputAaron Griffin2006-11-08
| | | | | * Added minor libalpm const correctness * Mini-memory fixes
* * Fixed an error message that should be a debug messageAaron Griffin2006-11-08
| | | | | * Fixed "the big segfault" - dbs_sync list was being modified while iterating * over the list, big No-No. Now using a while loop over alpm_list_count.
* * Modified some error output and loggingAaron Griffin2006-11-03
| | | | | | * 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)
* Fixed pacman -U:Aaron Griffin2006-11-01
| | | | | | * 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
* Forgot to cycle to next server on download error - fixed, as well as theAaron Griffin2006-10-31
| | | | erro-case return value of _alpm_downloadfiles_forreal
* Numerous changes:Aaron Griffin2006-10-31
| | | | | | | | | | | | * 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.
* Fri Oct 27 21:54:32 CEST 2006 VMiklos <vmiklos@frugalware.org>Aaron Griffin2006-10-27
| | | | | * alpm_parse_config(): add missing sanity checks From: http://darcs.frugalware.org/patches/pacman/20061027195432-e2957-0dcda6bdb2d7516d6a5047185bc14ccdf3fb83fc.patch
* Moved downloaded db unpacking to the backend files, to easier allow conversionAaron Griffin2006-10-25
| | | | from db to whatever format we need.
* Added PM_DLFNM_LEN define, via VMiklosAaron Griffin2006-10-24
| | | | http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061023154138-e2957-de4837230b091cbc2136306e1c55a4b79cc72fc8.gz
* Reverted the "out of memory" error to 1 to prevent API changes.Aaron Griffin2006-10-21
| | | | | | This should be changed later, or at least everything fixed up. Typically a 1 return indicates "an error occured" and some functions still might just return error on failure.
* Fixes from frugalware: few 'typos' included while patchingAaron Griffin2006-10-21
| | | | Also re-added Judd's dependancy fix in libalpm/deps.c