| Commit message (Collapse) | Author | Age |
|
|
|
| |
alpm_pkg_get functions to do this.
|
|
|
|
|
|
|
|
|
|
|
|
| |
from the PKGINFO, and size is the stat() size of the archive
* Removed the useless 'output' param from package.c:parse_descfile
* Installation progress
- Call progress callback once at 0% for initialization
- 'needdisp' was useless
- alpm_list_count is called an excessive amount in these nested loops. Now we
only call it once per iteration
- Use the compressed sizes for PROGRESS calcs as uncompressed (isize) is not
exact (it is missing metadata sizes), and thus produces > 100% numbers
|
|
|
|
| |
* downloaded packages now pass ONLY the package name to the callback
|
|
|
|
|
|
| |
already done (alpm_pkg_vercmp). I dropped this change, making versioncmp "private" again. (alpm_versioncmp -> _alpm_versioncmp, hidden symbol)
* Make alpm_get_upgrades use the same version check that -Su and -S use.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* The --debug params were goofy. New setup allows --debug without params,
--debug=<level> where level 1=debug output, 2=debug and download output,
3=debug, download, and function tracing output. This seems more sane to me.
* Removed PM_LOG_FLOW1 and PM_LOG_FLOW2. They were just confusing. When adding
new functions, it is near impossible to determin if your output should be
"flow1" or "flow2" without tracking all the way up the call chain. Rarely
would one ever say "ok, lets just show "flow2" output. These have both been
replaced with PM_LOG_DEBUG
* Removed the need for the root parameter on alpm_initialize. it is now
defaulted to PM_ROOT just like dbpath and cachedir. This allows alpm to be
initialized BEFORE option parsing in the front end, saving us some duplicate
variables in the frontend.
* Cleaned up front end variables due to early alpm_initialize call.
|
| |
|
|
|
|
| |
* ALPM_LOG_FUNCTION macro and all the great work to add this macro everywhere
|
|
|
|
|
|
|
| |
* gcc visiblity changes
Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K.
Piche's suggestions
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
* fix "warning: dereferencing type-punned pointer will break strict-aliasing rules"
|
| |
|
|
|
|
| |
properly remove entries from "Required By" instead of wiping it out entirely
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
* IgnorePkg and --ignore work again
* Partial changes to support removal of conflicts for -U and -A (INCOMPLETE)
|
|
|
|
|
| |
depends
* Added valgrind suppression file
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* Moved the pmhandle_t extern decl around
* Fixed a doxygen complaint
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
| |
for file-conflict progress bar
Also did some CVS cleanup, removing some of the autogenerated files that
shouldn't have been there
|
|
|
|
|
| |
handling changes (support [sections] to carry over to included files - this
helps with backwards compatibility with existing pacman config files)
|
| |
|
|
|
|
| |
DB in an inconsistent state
|
| |
|
| |
|
|
|
|
| |
<vmiklos@frugalware.org>)
|
| |
|
| |
|
|
|
|
|
|
| |
VMiklos <vmiklos@frugalware.org>)
added log and event callbacks to sync_commit internal transactions
|
| |
|
|
|
|
| |
reworked logs
|
| |
|
| |
|
|
|
|
| |
scanning for targets with -S
|
| |
|
| |
|
|
|
|
| |
new file as .pacnew and keep old one in place
|
|
|
|
| |
- log improvements
|
| |
|
|
|
|
| |
checkconflicts()
|