summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2007-01-24* Shuffled some of the alpm_list free funtions - still not perfect, but betterAaron Griffin6-17/+25
* 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 Griffin5-50/+83
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-23* Added some calloc calls to replace the malloc-then-set-to-zero functionalityAaron Griffin1-7/+16
* 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-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-19Preliminary checkin for alpm_list conversionAaron Griffin25-604/+334
* 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-18* remove static neednl - no accessor functions (yet)Aaron Griffin2-3/+1
* remove getcols call in main()
2007-01-18Dan McGee <dpmcgee@gmail.com>Aaron Griffin9-55/+58
* 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-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-17cvsignore cleanup and additionsAaron Griffin1-0/+6
2007-01-03* cosmetic: newline after "local database is up to date"Aaron Griffin1-1/+1
2007-01-03* bug fix FS#6100 - fix --print-uris outputAaron Griffin1-36/+36
2006-12-29* Fix a missing slash separator in printed uriAaron Griffin1-1/+1
2006-12-29* Removed latest fix from TODO.autoconfAaron Griffin1-23/+23
* Attempted fix for FS#6100 - "-Spd foo" failure * Beginning of refactoring from Dan McGee <dpmcgee@gmail.com>
2006-12-28Column fix when stdout is redirected. Default to 80.Aaron Griffin1-0/+6
2006-12-28Configuration changes:Aaron Griffin1-1/+5
* Added libdownload check in configure.ac * Added generation for mirrorlists in pacman.d NOTE: autoconf sucks for things like this, so gen-mirrorlist is required Dan McGee <dpmcgee@gmail.com>: * mirrorlist.in file Roman Kyrylych <roman.kyrylych@gmail.com>: * ukrainian mirror Jürgen Hötzel <juergen@hoetzel.info>: * conditional build for pacman.static
2006-12-22Modified front end output routines to accept a "padding' setting, which pads anyAaron Griffin4-3/+39
statement with ' ' until the size of the terminal. The rationale is that, when a log message is emitted during progress bar display, the terminal is artifacted. This prevents that messiness.
2006-12-14* Dan McGee's makepkg updates ↵Aaron Griffin1-2/+1
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
2006-12-08A few minor updates so --root works again.Aaron Griffin3-2/+5
2006-12-08Removed an extra call to alpm_option_set_root() - it is set by alpm_init()Aaron Griffin1-2/+0
2006-12-05Changed upgrade message to use the term "installation" to make the meaning moreAaron Griffin1-1/+2
clear
2006-12-05Changed "Total Uncompressed Size" to "Total Installed Size"Aaron Griffin1-1/+1
2006-12-05Added dbpath validationAaron Griffin1-1/+7
2006-12-01* Fixed the bug where -R pkgA pkgB failed when pkgA depended on pkgBAaron Griffin1-1/+1
2006-12-01* Cosmetic changes and typo fixesAaron Griffin2-4/+5
* IgnorePkg and --ignore work again * Partial changes to support removal of conflicts for -U and -A (INCOMPLETE)
2006-11-27* cosmetic: double space in "full system upgrade"Aaron Griffin1-1/+1
2006-11-23* Move sync *after* transaction init (lock file). We don't want to stomp on theAaron Griffin1-10/+11
databases while another instance of pacman /could/ be reading them.
2006-11-23-std=c99 seems to undefine PATH_MAX in this case. I don't care enough to fix itAaron Griffin2-4/+4
at the moment, so this workaround works.
2006-11-22* Whoops util MakefileAaron Griffin1-1/+1
* Slight modification to depcmp debug output
2006-11-22* Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)Aaron Griffin8-48/+57
* 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
2006-11-22Removed global maxcols - it is looked up on the fly now, so the progress bar isAaron Griffin4-7/+25
resized. Also used ioctl in place of the COLUMNS env variable
2006-11-22* Fixed a double free which happened in 2 cases in --syncAaron Griffin2-6/+4
2006-11-20libalpm appends the trailing / to the config root, no need to do it hereAaron Griffin1-16/+1
2006-11-20* repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin18-284/+267
(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-16* makepkg.conf.in variable changes (missed the checkin)Aaron Griffin1-2/+2
* Better error reporting when unpacking an archive fails * Fixed -Sc and -Scc cache dir opening/reading
2006-11-15* Initial changes to gensync - makepkg changes were not checked in from anotherAaron Griffin1-1/+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* has_archname additionsAaron Griffin2-5/+5
* additional newline for search output, as suggested on the forums
2006-11-14* autotool fixesAaron Griffin2-13/+6
* Renamed "download" files to "downloadprog" as it only holds the progress bar and to not confuse (myself) with <download.h>
2006-11-14* Numerous mini valgrind fixes.Aaron Griffin6-24/+24
* 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-10Skip root check on -SpAaron Griffin1-1/+2
2006-11-09Last mtrace/setenv change, I swearAaron Griffin1-4/+1
2006-11-09Whoops - I fail at setenvAaron Griffin1-1/+1
2006-11-09mcheck() seems to cause segfaults. Annoying. Switched back to useing ↵Aaron Griffin1-27/+5
mtrace() - if anything valgrind is superior to mcheck anyway
2006-11-08* Improved mcheck outputAaron Griffin2-15/+7
* Added minor libalpm const correctness * Mini-memory fixes
2006-11-07Added mcheck support for memory debuggingAaron Griffin1-6/+29
2006-11-03* Modified some error output and loggingAaron Griffin3-11/+19
* 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-02* Fixed some alpm_get_option calls (long params were used for C99 compliance,Aaron Griffin6-29/+27
but were used in error) * Cleaned up some output newlines * Added "local database is up to date" when no packages are upgraded
2006-11-01Added a newline upong progress completion - this was accidentally left out ↵Aaron Griffin1-0/+4
causing the second progress bar to overwrite the first
2006-10-31Numerous changes:Aaron Griffin9-143/+191
* Added 'ILoveCandy' support to all progress bars * Changed download callback with regards to libfetch libalpm changes * libfetch error output on failed sync * Misc others I may have forgot to name (check the diff, heh)