summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
|
* * 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
* * 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
|
* 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
* * remove static neednl - no accessor functions (yet)Aaron Griffin2007-01-18
| | | | * remove getcols call in main()
* 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-17
| | | | | | | | * fix for -Qii regression * package.c cleanup * some refactoring changes Moved split_pkgname as per Dan's suggestion
* cvsignore cleanup and additionsAaron Griffin2007-01-17
|
* * cosmetic: newline after "local database is up to date"Aaron Griffin2007-01-03
|
* * bug fix FS#6100 - fix --print-uris outputAaron Griffin2007-01-03
|
* * Fix a missing slash separator in printed uriAaron Griffin2006-12-29
|
* * 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>
* Column fix when stdout is redirected. Default to 80.Aaron Griffin2006-12-28
|
* Configuration changes:Aaron Griffin2006-12-28
| | | | | | | | | | | | | | | * 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
* Modified front end output routines to accept a "padding' setting, which pads anyAaron Griffin2006-12-22
| | | | | | 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.
* * 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
* A few minor updates so --root works again.Aaron Griffin2006-12-08
|
* Removed an extra call to alpm_option_set_root() - it is set by alpm_init()Aaron Griffin2006-12-08
|
* Changed upgrade message to use the term "installation" to make the meaning moreAaron Griffin2006-12-05
| | | | clear
* Changed "Total Uncompressed Size" to "Total Installed Size"Aaron Griffin2006-12-05
|
* Added dbpath validationAaron 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)
* * cosmetic: double space in "full system upgrade"Aaron Griffin2006-11-27
|
* * Move sync *after* transaction init (lock file). We don't want to stomp on theAaron Griffin2006-11-23
| | | | databases while another instance of pacman /could/ be reading them.
* -std=c99 seems to undefine PATH_MAX in this case. I don't care enough to fix itAaron Griffin2006-11-23
| | | | at the moment, so this workaround works.
* * 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
* Removed global maxcols - it is looked up on the fly now, so the progress bar isAaron Griffin2006-11-22
| | | | resized. Also used ioctl in place of the COLUMNS env variable
* * Fixed a double free which happened in 2 cases in --syncAaron Griffin2006-11-22
|
* libalpm appends the trailing / to the config root, no need to do it hereAaron Griffin2006-11-20
|
* * 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 additionsAaron Griffin2006-11-14
| | | | * additional newline for search output, as suggested on the forums
* * autotool fixesAaron Griffin2006-11-14
| | | | | * Renamed "download" files to "downloadprog" as it only holds the progress bar and to not confuse (myself) with <download.h>
* * 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)
* Skip root check on -SpAaron Griffin2006-11-10
|
* Last mtrace/setenv change, I swearAaron Griffin2006-11-09
|
* Whoops - I fail at setenvAaron Griffin2006-11-09
|
* mcheck() seems to cause segfaults. Annoying. Switched back to useing ↵Aaron Griffin2006-11-09
| | | | mtrace() - if anything valgrind is superior to mcheck anyway
* * Improved mcheck outputAaron Griffin2006-11-08
| | | | | * Added minor libalpm const correctness * Mini-memory fixes
* Added mcheck support for memory debuggingAaron Griffin2006-11-07
|
* * 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 some alpm_get_option calls (long params were used for C99 compliance,Aaron Griffin2006-11-02
| | | | | | but were used in error) * Cleaned up some output newlines * Added "local database is up to date" when no packages are upgraded
* Added a newline upong progress completion - this was accidentally left out ↵Aaron Griffin2006-11-01
| | | | causing the second progress bar to overwrite the first
* Numerous changes:Aaron Griffin2006-10-31
| | | | | | | * 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)
* Attempted fix for x86_64 - switched some unsigned char variables to ints, andAaron Griffin2006-10-24
| | | | prefixed sync_fnm with the length when outputting - waiting for verification