Age | Commit message (Collapse) | Author |
|
* scan loops no longer abort on corrupt entries
* reloading a cache package (and discovering it corrupt) no longer prints 2 messages
and uses the pre-build "remove from package cache" function
NOTE: The TODOs in there are important for later w.r.t. cleaning up corrupt DB
entries but there are some logical complexities with doing so, so I'm holding
off for now.
|
|
* 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.
|
|
be fixed.
|
|
|
|
* Reduced magic number usage by fill_progress function (new).
* Some switch indent fixing.
* Remove use of log10 call.
|
|
adding a package to a database. Also added commenting. :)
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
surprisingly enough, heh)
|
|
* 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.
|
|
package file.
|
|
* 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.
|
|
|
|
* Removed ./gen-mirrorlist.sh invocation from configure script:
Mirror-files are generated by make, not configure.
|
|
|
|
* 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
|
|
|
|
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
|
|
* Fix FS #5409- document that pacman.conf repo ordering is important
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
|
|
* Use PKGDEST and SRCDEST from the environment (if defined) when calling makepkg
|
|
|
|
* 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
|
|
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>
|
|
|
|
* attempt to unlink file AFTER moving to .pacsave always fails
|
|
* noextract PKGBUILD option to NOT extract source files
- implemented with existing in_array function
|
|
* 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
|
|
|
|
|
|
|
|
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)
|
|
|
|
Newlines were included in both setting the string
variable and in the printf, remove the extra ones.
|
|
|
|
and Johannes Weiner <hannes@saeurebad.de>
This should fix FS#6246
|
|
|
|
|
|
* package cleanup (pkg_invalid) refactoring
|
|
* use calloc to zero-out new packages (far more ideal)
* use memcpy to copy primatives when copying package structures
|
|
to change too much at once.
|
|
* 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 getcols call in main()
|