summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-01-31* Forgot the int->enum header checkinAaron Griffin2-7/+1
* Removed the dep-sorting TODO item - switch the sorting to a topological sort later (I'll let Dan do the CS stuff, heh)
2007-01-31* Make -Qo work on multiple files againAaron Griffin1-9/+7
* no real sense in query_fileowner returning an int
2007-01-31Switched an int to an enumAaron Griffin1-1/+1
2007-01-31just an updateDan McGee1-3/+1
2007-01-31TODO changes 8)Aaron Griffin1-17/+1
2007-01-31Fix corrupt DB entry handling when loading package entries.Aaron Griffin2-55/+61
* 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.
2007-01-31Debug logging changes:Aaron Griffin19-140/+127
* 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.
2007-01-31More uninitialized stuff... I believe these were removed at some point. ShouldAaron Griffin2-2/+2
be fixed.
2007-01-31slight line spacing/indent updatesDan McGee3-3/+3
2007-01-31* Refactored some functions to clean up variable declaration.Dan McGee2-93/+104
* Reduced magic number usage by fill_progress function (new). * Some switch indent fixing. * Remove use of log10 call.
2007-01-31* Updated repo-add script to remove same package, different version whenDan McGee1-22/+71
adding a package to a database. Also added commenting. :)
2007-01-30* doxygen check cleanupJürgen Hötzel1-9/+1
2007-01-30Fixing line spacings of download/install size messages.Dan McGee1-1/+1
2007-01-30Well that silly memory clobber was plain old "uninitialized data" - fixedAaron Griffin1-1/+1
2007-01-30TODO changesAaron Griffin1-0/+5
2007-01-30Turn debug off by defaultAaron Griffin1-1/+1
2007-01-30K. Piche <kevin.piche@cgi.com>Aaron Griffin22-3/+302
* ALPM_LOG_FUNCTION macro and all the great work to add this macro everywhere
2007-01-30K. Piche <kpiche@rogers.com>Aaron Griffin19-246/+258
* gcc visiblity changes Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K. Piche's suggestions
2007-01-30adding my personal TODO fileDan McGee1-0/+64
2007-01-30This is a silly script now that a fancy aurbuild is out in the wild (on the AUR,Aaron Griffin1-25/+0
surprisingly enough, heh)
2007-01-30* Remove -fno-strict-aliasing as it is now unnecessary to compile.Dan McGee6-21/+35
* 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-30* Modified info query so it doesn't show more than available when querying aDan McGee1-7/+14
package file.
2007-01-30Discussed on IRC for a bit, this makes the following changes for clarity:Dan McGee14-33/+36
* 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-29* fixed path to automake (removed hardcoded version)Jürgen Hötzel1-1/+1
2007-01-29* Fix building outside $(srcdir).Jürgen Hötzel8-27/+18
* Removed ./gen-mirrorlist.sh invocation from configure script: Mirror-files are generated by make, not configure.
2007-01-26Missed that 8)Aaron Griffin1-1/+0
2007-01-26Dan McGee <dpmcgee@gmail.com>Aaron Griffin13-47/+42
* 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
2007-01-26Forgot this patch from Dan McGee as part of the bug #5409 fixesAaron Griffin1-0/+3
2007-01-26* copy and paste error, "resolving deps" -> "cleaning up"Aaron Griffin1-1/+1
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2007-01-26* Fix FS #3107- Use ISO date styleAaron Griffin2-5/+8
* Fix FS #5409- document that pacman.conf repo ordering is important Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2007-01-26James Rosten <seinfeld90 at gmail.com>Aaron Griffin1-1/+9
* Use PKGDEST and SRCDEST from the environment (if defined) when calling makepkg
2007-01-24Cleanup 'neednl' usage - make it staticAaron Griffin3-17/+4
2007-01-24* Shuffled some of the alpm_list free funtions - still not perfect, but betterAaron Griffin14-53/+710
* 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 Griffin30-200/+290
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-23James Rosten <seinfeld90@gmail.com>Aaron Griffin1-3/+4
* attempt to unlink file AFTER moving to .pacsave always fails
2007-01-23James Rosten <seinfeld90@gmail.com>Aaron Griffin1-1/+6
* noextract PKGBUILD option to NOT extract source files - implemented with existing in_array function
2007-01-23* Added some calloc calls to replace the malloc-then-set-to-zero functionalityAaron Griffin4-18/+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
2007-01-22Lowercase "changelog" in output messageAaron Griffin1-1/+1
2007-01-22Rename Changelog -> ChangeLog (the standard way of casing a ChangeLog)Aaron Griffin1-3/+3
2007-01-22* Added a check for .FILELIST for package validity in addition to .PKGINFOAaron Griffin1-0/+3
2007-01-22Changelog support for makepkg - this has been in pacman itself for some time,Aaron Griffin1-4/+13
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)
2007-01-22Introduced an infinite loop during the pmlist -> alpm_list transition, whoopsAaron Griffin1-0/+1
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-22makepkg file-type detection changes from James Rosten <seinfeld90@gmail.com>Aaron Griffin1-12/+8
and Johannes Weiner <hannes@saeurebad.de> This should fix FS#6246
2007-01-19Moved some decls to make the "pkg_invalid" patch compile again.Aaron Griffin1-6/+9
2007-01-19Whoops. There's a 0 where there should be a 1.Aaron Griffin1-1/+1
2007-01-19Johannes Weiner <hannes@saeurebad.de>Aaron Griffin1-15/+8
* package cleanup (pkg_invalid) refactoring
2007-01-19Johannes Weiner <hannes@saeurebad.de>Aaron Griffin1-55/+6
* use calloc to zero-out new packages (far more ideal) * use memcpy to copy primatives when copying package structures