summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-01-30Discussed on IRC for a bit, this makes the following changes for clarity:Dan McGee14-33/+36
* 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-29* fixed path to automake (removed hardcoded version)Jürgen Hötzel1-1/+1
2007-01-29* Fix building outside $(srcdir).Jürgen Hötzel8-27/+18
* Removed ./gen-mirrorlist.sh invocation from configure script: Mirror-files are generated by make, not configure.
2007-01-26Missed that 8)Aaron Griffin1-1/+0
2007-01-26Dan McGee <dpmcgee@gmail.com>Aaron Griffin13-47/+42
* 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
2007-01-26Forgot this patch from Dan McGee as part of the bug #5409 fixesAaron Griffin1-0/+3
2007-01-26* copy and paste error, "resolving deps" -> "cleaning up"Aaron Griffin1-1/+1
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2007-01-26* Fix FS #3107- Use ISO date styleAaron Griffin2-5/+8
* Fix FS #5409- document that pacman.conf repo ordering is important Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2007-01-26James Rosten <seinfeld90 at gmail.com>Aaron Griffin1-1/+9
* Use PKGDEST and SRCDEST from the environment (if defined) when calling makepkg
2007-01-24Cleanup 'neednl' usage - make it staticAaron Griffin3-17/+4
2007-01-24* Shuffled some of the alpm_list free funtions - still not perfect, but betterAaron Griffin14-53/+710
* 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
2007-01-24This mainly deals with code clarity- removing currently unneededAaron Griffin30-200/+290
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>
2007-01-23Removed some debugging cruft left in in the last commitAaron Griffin1-2/+0
2007-01-23James Rosten <seinfeld90@gmail.com>Aaron Griffin1-3/+4
* attempt to unlink file AFTER moving to .pacsave always fails
2007-01-23James Rosten <seinfeld90@gmail.com>Aaron Griffin1-1/+6
* noextract PKGBUILD option to NOT extract source files - implemented with existing in_array function
2007-01-23* Added some calloc calls to replace the malloc-then-set-to-zero functionalityAaron Griffin4-18/+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
2007-01-22Lowercase "changelog" in output messageAaron Griffin1-1/+1
2007-01-22Rename Changelog -> ChangeLog (the standard way of casing a ChangeLog)Aaron Griffin1-3/+3
2007-01-22* Added a check for .FILELIST for package validity in addition to .PKGINFOAaron Griffin1-0/+3
2007-01-22Changelog support for makepkg - this has been in pacman itself for some time,Aaron Griffin1-4/+13
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)
2007-01-22Introduced an infinite loop during the pmlist -> alpm_list transition, whoopsAaron Griffin1-0/+1
2007-01-22* Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-3/+3
Newlines were included in both setting the string variable and in the printf, remove the extra ones.
2007-01-22Removed list.hAaron Griffin1-1/+1
2007-01-22makepkg file-type detection changes from James Rosten <seinfeld90@gmail.com>Aaron Griffin1-12/+8
and Johannes Weiner <hannes@saeurebad.de> This should fix FS#6246
2007-01-20Moved some decls to make the "pkg_invalid" patch compile again.Aaron Griffin1-6/+9
2007-01-19Whoops. There's a 0 where there should be a 1.Aaron Griffin1-1/+1
2007-01-19Johannes Weiner <hannes@saeurebad.de>Aaron Griffin1-15/+8
* package cleanup (pkg_invalid) refactoring
2007-01-19Johannes Weiner <hannes@saeurebad.de>Aaron Griffin1-55/+6
* use calloc to zero-out new packages (far more ideal) * use memcpy to copy primatives when copying package structures
2007-01-19Added some things I noticed when making alpm_list changes, but didn't want ↵Aaron Griffin1-3/+25
to change too much at once.
2007-01-19Preliminary checkin for alpm_list conversionAaron Griffin66-1522/+1252
* 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-18Blah blah commit message for testing cvslog -> emailAaron Griffin1-1/+1
2007-01-18*** empty log message ***Aaron Griffin1-0/+2
2007-01-18* remove static neednl - no accessor functions (yet)Aaron Griffin2-3/+1
* remove getcols call in main()
2007-01-18Some confusion with variable names in unlink_file caused unlink to try and ↵Aaron Griffin1-8/+8
find the _relative_ file instead of absolute. The absolute path name has also been used in some of the output there too.
2007-01-18Dan McGee <dpmcgee@gmail.com>Aaron Griffin26-81/+91
* 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
2007-01-18Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-3/+3
* fix "warning: dereferencing type-punned pointer will break strict-aliasing rules"
2007-01-18Added strerror() output on unlink failureAaron Griffin1-68/+70
2007-01-17* Misc logging changesAaron Griffin2-10/+6
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
2007-01-17Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-8/+8
* 'unset' fixes * typo in "dependecy" * indent fixes
2007-01-17Dan McGee <dpmcgee@gmail.com>Aaron Griffin4-144/+170
* fix for -Qii regression * package.c cleanup * some refactoring changes Moved split_pkgname as per Dan's suggestion
2007-01-17Roman Kyrylych <Roman.Kyrylych@gmail.com>Aaron Griffin1-47/+24
* dependency removal fixes and refactoring
2007-01-17James Rosten <seinfeld90@gmail.com>Aaron Griffin1-80/+77
* _alpm_remove_commit refactoring * clean up/fixes by Dan McGee <dpmcgee@gmail.com>
2007-01-17Jürgen Hötzel <juergen@hoetzel.info>Aaron Griffin3-57/+20
* 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$
2007-01-17James Rosten <seinfeld90@gmail.com>Aaron Griffin1-3/+16
* rankmirrors addition of single url testing
2007-01-17cvsignore cleanup and additionsAaron Griffin13-0/+60
2007-01-11Added Jamie (yankees26)Aaron Griffin1-0/+1
2007-01-11*** empty log message ***Aaron Griffin1-6/+5
2007-01-11* Jürgen Hötzel <juergen@hoetzel.info>Aaron Griffin3-3/+87
_alpm_db_load_pkgcache: use mergesort to improve performance
2007-01-11* Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-8/+0
remove configure check for bzip2
2007-01-11* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2-32/+9
Documentation cleanup