summaryrefslogtreecommitdiff
path: root/src/pacman/sync.c
Commit message (Collapse)AuthorAge
* Well that silly memory clobber was plain old "uninitialized data" - fixedAaron Griffin2007-01-30
|
* * Remove -fno-strict-aliasing as it is now unnecessary to compile.Dan McGee2007-01-30
| | | | | | * 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.
* Discussed on IRC for a bit, this makes the following changes for clarity:Dan McGee2007-01-30
| | | | | | | | * 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.
* * Shuffled some of the alpm_list free funtions - still not perfect, but betterAaron Griffin2007-01-24
| | | | | | | | | | * 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
* 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
* 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
* 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
* * cosmetic: newline after "local database is up to date"Aaron Griffin2007-01-03
|
* * bug fix FS#6100 - fix --print-uris outputAaron Griffin2007-01-03
|
* * 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>
* 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
|
* * 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.
* * 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
* * Fixed a double free which happened in 2 cases in --syncAaron Griffin2006-11-22
|
* * 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
* * has_archname additionsAaron Griffin2006-11-14
| | | | * additional newline for search output, as suggested on the forums
* * 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)
* * 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
* 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)
* From VMiklos <vmiklos@frugalware.org>Aaron Griffin2006-10-19
| | | | | * alpm_db_update() fix up the level parameter till now when it was "1", it meant false, which was not in sync with the C logic :)
* Added alpm function docs alongAaron Griffin2006-10-15
| | | | | pacman.c : Removed link to frugalware wiki sync.c : do not display Uncompressed size if 0 (archlinux has no USIZE)
* Corrected documentation compilation - succeeds nowAaron Griffin2006-10-15
|
* Merged frugalware changes. Added a few other minor things too, but there's alotAaron Griffin2006-10-15
| | | | to list. The diff should show you 8)
* first stage of i18n stuff from VMiklosJudd Vinet2006-05-15
|
* - removed pacman.hAurelien Foret2006-03-13
| | | | | - removed unuseful extern declarations - set pacman.c internal functions as static
* moved the .lastupdate support from libalpm to pacmanAurelien Foret2006-02-15
|
* fixed a typoAurelien Foret2006-02-15
|
* - added a WARN macro to display warningsAurelien Foret2006-02-14
| | | | - used ERR macro for error messages
* added the possibility to force synctree update by using -SyyAurelien Foret2006-02-14
|
* added support for alpm_pkg_checkmd5sum()Aurelien Foret2006-02-05
|
* added support for the PM_CONFLICT structure to handle file conflictsAurelien Foret2006-02-05
|
* added missing retval values in trans_release error casesAurelien Foret2006-01-27
|
* - fixed a compilation warningAurelien Foret2006-01-26
| | | | | - added missing alpm_trans_release() calls upon transation completion - put back error messages from pacman 2.x in case of PM_ERR_HANDLE_LOCK error
* fixed a typoAurelien Foret2006-01-21
|
* added the possibility to "-Syy" (can be used to force synctrees update, even ↵Aurelien Foret2006-01-17
| | | | if mtimes are ok)
* code cleanupAurelien Foret2006-01-17
|
* code cleanupAurelien Foret2006-01-17
|
* code cleanupAurelien Foret2006-01-13
|
* maked verbose group listing enabled by -Sgg instead of -SgvAurelien Foret2006-01-13
|
* code cleanupAurelien Foret2006-01-13
|
* sync_commit can now return conflicting files with a trans_prepare like data ↵Aurelien Foret2006-01-07
| | | | structure (patch from VMiklos <vmiklos@frugalware.org>)
* code cleanupAurelien Foret2006-01-07
|