summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/add.c
AgeCommit message (Collapse)AuthorFilesLines
2007-01-30* Remove -fno-strict-aliasing as it is now unnecessary to compile.Dan McGee1-7/+25
* Fix up add.c a bit better than it was in regards to FS #3492. * Optimized the sqrt call in dependency cycle checking to a single call. * Removal of an outdated comment.
2007-01-30Discussed on IRC for a bit, this makes the following changes for clarity:Dan McGee1-3/+3
* 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-24This mainly deals with code clarity- removing currently unneededAaron Griffin1-1/+1
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-19Preliminary checkin for alpm_list conversionAaron Griffin1-22/+22
* 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-18Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-3/+3
* fix "warning: dereferencing type-punned pointer will break strict-aliasing rules"
2007-01-03* bug fix FS#6100 - fix --print-uris outputAaron Griffin1-0/+4
2007-01-03* Bug fix FS#6058Aaron Griffin1-0/+5
properly remove entries from "Required By" instead of wiping it out entirely
2006-12-22* Properly fix the NoUpgrade issues.Aaron Griffin1-13/+12
2006-12-22* Unused variable 'path'Aaron Griffin1-2/+1
2006-12-21*untested* potential fix for the NoUpgrade issues.Aaron Griffin1-3/+3
2006-12-21* modeline fixes / reformattingAaron Griffin1-28/+28
* 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
2006-12-14* Dan McGee's makepkg updates ↵Aaron Griffin1-1/+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-01* Cosmetic changes and typo fixesAaron Griffin1-1/+19
* IgnorePkg and --ignore work again * Partial changes to support removal of conflicts for -U and -A (INCOMPLETE)
2006-11-24* Fixed some error output for "-Sd" and "-Rsc" dealing with missing/ignoredAaron Griffin1-2/+2
depends * Added valgrind suppression file
2006-11-14* Numerous mini valgrind fixes.Aaron Griffin1-1/+1
* 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-10-31Numerous changes:Aaron Griffin1-3/+2
* Furthered the "lazy caching" to force the pkgcache to read nothing (INFRQ_NONE) by default. Anything requiring package data should now check the infolevel of each package and attempt to update it. This could be ironed out a bit more later (by using the front-end get_info function * Switched to libfetch. Drastic changes to the download code and the callback progress bar functions. Also fixed the return value of _alpm_downloadfiles_forreal. Downloading now supports http, ftp, https, and files urls, along with 'mtime's and numerous other fancy features from libfetch.
2006-10-21Minor changes:Aaron Griffin1-2/+0
* Moved the pmhandle_t extern decl around * Fixed a doxygen complaint
2006-10-20A handful of minor changes:Aaron Griffin1-8/+8
* Removed the PMList typedef, in favor of the same naming scheme other structs use 'pmlist_t' * Added a time stamp on debug output, to make it more informational * Moved alpm_db_register to _alpm_db_register, making the public function not take a callback parameter
2006-10-19Yet another "added three times" issue.Aaron Griffin1-26/+0
2006-10-17Removed extra includesAaron Griffin1-14/+0
2006-10-16Applied Frugalware patch from Christian Hamar alias krix <krics@linuxforum.hu>Aaron Griffin1-1/+1
for file-conflict progress bar Also did some CVS cleanup, removing some of the autogenerated files that shouldn't have been there
2006-10-15Merged frugalware changes (too many to list). Also added some config fileAaron Griffin1-63/+231
handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
2006-09-28removed libtar support in favour of libarchiveJudd Vinet1-19/+24
2006-07-15Patch from FW: Better control over CTRL-C interruptions -- do not leave the ↵Judd Vinet1-2/+8
DB in an inconsistent state
2006-05-15first stage of i18n stuff from VMiklosJudd Vinet1-59/+60
2006-03-07fixed reason loading if the pkg cache is loaded with DEPENDS onlyAurelien Foret1-2/+7
2006-03-07added a NOSCRIPLET flag to transactions (patch from VMiklos ↵Aurelien Foret1-3/+3
<vmiklos@frugalware.org>)
2006-03-02reworked the db object to prepare future integration with different backendsAurelien Foret1-7/+3
2006-02-20dropped the MALLOC macroAurelien Foret1-3/+10
2006-02-17prepend library function names with _alpm (helped with the patch from ↵Aurelien Foret1-38/+38
VMiklos <vmiklos@frugalware.org>) added log and event callbacks to sync_commit internal transactions
2006-02-16code cleanupAurelien Foret1-1/+1
2006-02-12added a add_faketarget functionAurelien Foret1-47/+55
reworked logs
2006-02-11reworked debug messagesAurelien Foret1-7/+7
2006-02-11added more logsAurelien Foret1-3/+4
2006-01-28Search through package provides if no literal matches are found when ↵Judd Vinet1-1/+1
scanning for targets with -S
2006-01-27improved log messages for add_commitAurelien Foret1-6/+9
2006-01-26fixed a compilation warningAurelien Foret1-1/+0
2006-01-22changed behaviour with original=X,current=Y,new=Z backup scenario -- install ↵Judd Vinet1-9/+4
new file as .pacnew and keep old one in place
2006-01-17- code cleanupAurelien Foret1-7/+8
- log improvements
2006-01-16more code cleanupAurelien Foret1-12/+8
2006-01-15pulled out conflict checkings from checkdeps() in its own function: ↵Aurelien Foret1-52/+18
checkconflicts()
2006-01-11fixed an awfull typoAurelien Foret1-1/+1
2006-01-10added ALLDEPS transaction flag mainly to handle "makepkg -s"Aurelien Foret1-3/+3
2006-01-09- merged pkg_new and pkg_dummy functionsAurelien Foret1-4/+2
- renamed _alpm_log_action to _alpm_logaction
2006-01-07removed a restriction: the data parameter of XXX_prepare functions can be NULLAurelien Foret1-15/+22
2006-01-06- sync: populates *data when a conflict can't be resolvedAurelien Foret1-1/+5
- add: code cleanup
2006-01-02patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet1-1/+1
2006-01-02code cleanupAurelien Foret1-10/+7
2006-01-02fixed possible memory corruptionAurelien Foret1-1/+1
2006-01-02fixed various memory leaksAurelien Foret1-1/+4