|  | Commit message (Collapse) | Author | Age | 
|---|
| | 
| 
| 
| 
| 
| | * Lots of code cleanup, and type fixes
* Make 'makeworld' a bit more in-line with the other stuff
* Make -Si and -Qi operations appear the same | 
| | 
| 
| 
| 
| 
| | * Fix FS #5409- document that pacman.conf repo ordering is important
Signed-off-by: Dan McGee <dpmcgee@gmail.com> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | * Added alpm_list_remove_node for single list node removal
* Proper error checking/output for failed db_read/db_write (missing files)
* Invalid packages (missing files) are now removed from the package cache
* -Qs and -Ss output now look the same
* config.rpath causes errors on one machine I had, so I added it to CVS
* Fixed a "clobbered memory" issue when installing groups - only the outer list
  should be free'd, not the contained data | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | optimizations in order to make the code much more readable and
type-checkable. Every enum in the library now has it's own type that
should be used instead of the generic 'unsigned char'. In addition,
several #define statements dealing with constants were converted to
enums.
Signed-off-by: Dan McGee <dpmcgee@gmail.com> | 
| | 
| 
| 
| | * attempt to unlink file AFTER moving to .pacsave always fails | 
| | 
| 
| 
| 
| 
| | * Fixed -Ss output so as not to call alpm_list_getdata with a NULl list
* Added a NULL check in alpm_list_getdata
* Fixed alpm_list_add_sorted to properly handle a new / beginning insertions | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| | * package cleanup (pkg_invalid) refactoring | 
| | 
| 
| 
| 
| | * use calloc to zero-out new packages (far more ideal)
* use memcpy to copy primatives when copying package structures | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * 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 | 
| | 
| 
| 
| | find the _relative_ file instead of absolute.  The absolute path name has also been used in some of the output there too. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * 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 | 
| | 
| 
| 
| | * fix "warning: dereferencing type-punned pointer will break strict-aliasing rules" | 
| | |  | 
| | 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| | * _alpm_remove_commit refactoring
* clean up/fixes by Dan McGee <dpmcgee@gmail.com> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * 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$ | 
| | |  | 
| | 
| 
| 
| | _alpm_db_load_pkgcache: use mergesort to improve performance | 
| | 
| 
| 
| | Documentation cleanup | 
| | |  | 
| | 
| 
| 
| | properly remove entries from "Required By" instead of wiping it out entirely | 
| | 
| 
| 
| | * Additional debug output for db_write | 
| | 
| 
| 
| 
| | * Attempted fix for FS#6100 - "-Spd foo" failure
* Beginning of refactoring from Dan McGee <dpmcgee@gmail.com> | 
| | 
| 
| 
| 
| 
| 
| | <juergen@hoetzel.info>
* configure swig check
* misc libalpm cleanup | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| | * 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 | 
| | 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| | * IgnorePkg and --ignore work again
* Partial changes to support removal of conflicts for -U and -A (INCOMPLETE) | 
| | 
| 
| 
| 
| | depends
* Added valgrind suppression file | 
| | 
| 
| 
| | * Slight modification to depcmp debug output | 
| | 
| 
| 
| 
| 
| 
| 
| | * 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 | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | (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 | 
| | 
| 
| 
| 
| | * Better error reporting when unpacking an archive fails
* Fixed -Sc and -Scc cache dir opening/reading | 
| | 
| 
| 
| 
| 
| | machine - still pending
* Addition of _alpm_pkg_makefilename to simplify the with/without -ARCH prefix
  scheme we're going with for the interim | 
| | 
| 
| 
| 
| | * makepkg attempt at multiple file integrity checks
* honor "force" option on -S packages (not just -Su) | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | * 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) | 
| | 
| 
| 
| 
| | * Added minor libalpm const correctness
* Mini-memory fixes | 
| | 
| 
| 
| 
| | * 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. | 
| | 
| 
| 
| 
| 
| | * 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) | 
| | |  | 
| | 
| 
| 
| 
| 
| | * 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 |