summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* * Shuffled some of the alpm_list free funtions - still not perfect, but betterAaron Griffin2007-01-24
| | | | | | | | | | * 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
* This mainly deals with code clarity- removing currently unneededAaron Griffin2007-01-24
| | | | | | | | | | 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>
* Removed some debugging cruft left in in the last commitAaron Griffin2007-01-23
|
* James Rosten <seinfeld90@gmail.com>Aaron Griffin2007-01-23
| | | | * attempt to unlink file AFTER moving to .pacsave always fails
* James Rosten <seinfeld90@gmail.com>Aaron Griffin2007-01-23
| | | | | * noextract PKGBUILD option to NOT extract source files - implemented with existing in_array function
* * Added some calloc calls to replace the malloc-then-set-to-zero functionalityAaron Griffin2007-01-23
| | | | | | * 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
* Lowercase "changelog" in output messageAaron Griffin2007-01-22
|
* Rename Changelog -> ChangeLog (the standard way of casing a ChangeLog)Aaron Griffin2007-01-22
|
* * Added a check for .FILELIST for package validity in addition to .PKGINFOAaron Griffin2007-01-22
|
* Changelog support for makepkg - this has been in pacman itself for some time,Aaron Griffin2007-01-22
| | | | | | | but I don't know why I never crammed the changes for makepkg in. * Adds a "Changelog" file next to a PKGBUILD as part of the package (viewed with pacman -Qc)
* Introduced an infinite loop during the pmlist -> alpm_list transition, whoopsAaron Griffin2007-01-22
|
* * Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-22
| | | | | Newlines were included in both setting the string variable and in the printf, remove the extra ones.
* Removed list.hAaron Griffin2007-01-22
|
* makepkg file-type detection changes from James Rosten <seinfeld90@gmail.com>Aaron Griffin2007-01-22
| | | | | | and Johannes Weiner <hannes@saeurebad.de> This should fix FS#6246
* 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
* Added some things I noticed when making alpm_list changes, but didn't want ↵Aaron Griffin2007-01-19
| | | | to change too much at once.
* 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
* Blah blah commit message for testing cvslog -> emailAaron Griffin2007-01-18
|
* *** empty log message ***Aaron Griffin2007-01-18
|
* * remove static neednl - no accessor functions (yet)Aaron Griffin2007-01-18
| | | | * remove getcols call in main()
* 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
* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-17
| | | | | | * 'unset' fixes * typo in "dependecy" * indent fixes
* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-17
| | | | | | | | * fix for -Qii regression * package.c cleanup * some refactoring changes Moved split_pkgname as per Dan's suggestion
* Roman Kyrylych <Roman.Kyrylych@gmail.com>Aaron Griffin2007-01-17
| | | | * dependency removal fixes and refactoring
* 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$
* James Rosten <seinfeld90@gmail.com>Aaron Griffin2007-01-17
| | | | * rankmirrors addition of single url testing
* cvsignore cleanup and additionsAaron Griffin2007-01-17
|
* Added Jamie (yankees26)Aaron Griffin2007-01-11
|
* *** empty log message ***Aaron Griffin2007-01-11
|
* * 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
| | | | remove configure check for bzip2
* * Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-11
| | | | Documentation cleanup
* * James Rosten <seinfeld90@gmail.com>Aaron Griffin2007-01-11
| | | | | | | | Cleanup and fixes from last patch Fix some tar error conditions * Dan McGee <dpmcgee@gmail.com> USECOLOR from rc.conf
* * cosmetic: newline after "local database is up to date"Aaron Griffin2007-01-03
|
* * 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
* *** empty log message ***Aaron Griffin2007-01-03
|
* * James Rosten <seinfeld90@gmail.com>Aaron Griffin2007-01-03
| | | | | FS#5009 fixes - use tar on the pacman DB so as to handle cases where the base directory cannot be 'mv'ed and other such edge cases.
* * Added instructions for patch submissionAaron Griffin2007-01-02
|
* * Missing error label in sync.cAaron Griffin2007-01-02
| | | | * Additional debug output for db_write
* * James Rosten <seinfeld90@gmail.com>Aaron Griffin2007-01-02
| | | | Makepkg dep removal on failure FS#5923
* * Fix a missing slash separator in printed uriAaron Griffin2006-12-29
|