Commit Graph

595 Commits

Author SHA1 Message Date
Aaron Griffin 2930109416 Forgot to cycle to next server on download error - fixed, as well as the
erro-case return value of _alpm_downloadfiles_forreal
2006-10-31 07:00:21 +00:00
Aaron Griffin a105718fd7 * Makefile changes for libfetch integration
* Fixed the --enable-debug option in ./configure (never worked)
2006-10-31 06:43:13 +00:00
Aaron Griffin 5a8bbc99be Numerous changes:
*   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)
2006-10-31 06:41:42 +00:00
Aaron Griffin af2fb3324a Numerous changes:
*   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-31 06:39:59 +00:00
Aaron Griffin 78c0badc9b Added libfetch linux port + misc changes 2006-10-31 06:34:33 +00:00
Aaron Griffin a4355d8d73 Fri Oct 27 21:54:32 CEST 2006 VMiklos <vmiklos@frugalware.org>
* alpm_parse_config(): add missing sanity checks
From: http://darcs.frugalware.org/patches/pacman/20061027195432-e2957-0dcda6bdb2d7516d6a5047185bc14ccdf3fb83fc.patch
2006-10-27 21:15:26 +00:00
Aaron Griffin 3e5401b74d Remove generated man pages from CVS 2006-10-27 21:09:14 +00:00
Aaron Griffin e8275fa964 Moved downloaded db unpacking to the backend files, to easier allow conversion
from db to whatever format we need.
2006-10-25 18:15:25 +00:00
Aaron Griffin ea9e9ae22e Fixed library directory for bindings - we need the craptastic .libs libtool dir 2006-10-25 15:40:44 +00:00
Aaron Griffin 52363b4327 Attempted fix for x86_64 - switched some unsigned char variables to ints, and
prefixed sync_fnm with the length when outputting - waiting for verification
2006-10-24 04:46:07 +00:00
Aaron Griffin e21f4c8f2e Added PM_DLFNM_LEN define, via VMiklos
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061023154138-e2957-de4837230b091cbc2136306e1c55a4b79cc72fc8.gz
2006-10-24 04:33:40 +00:00
Aaron Griffin 7fc4b8d2d5 Added re-pacman 2006-10-23 06:09:10 +00:00
Aaron Griffin a719484f1e Reverted the "out of memory" error to 1 to prevent API changes.
This should be changed later, or at least everything fixed up.  Typically a 1
return indicates "an error occured" and some functions still might just return
error on failure.
2006-10-21 21:30:43 +00:00
Aaron Griffin 93311212bd Fixes from frugalware: few 'typos' included while patching
Also re-added Judd's dependancy fix in libalpm/deps.c
2006-10-21 20:16:55 +00:00
Aaron Griffin df0dac10e5 Fixed this test so that it succeeds - it is probably not 100% appropriate, but
the check that pkg1 is modified and pkg2 does not exist is good enough for this
use-case.  Now we have a 100% pactest success
2006-10-21 20:04:36 +00:00
Aaron Griffin 454cf699a5 More extern moving - keep extern decls in the headers makes for easier/better
reuse.
2006-10-21 01:38:59 +00:00
Aaron Griffin 1568fd98d8 Minor changes:
* Moved the pmhandle_t extern decl around
    * Fixed a doxygen complaint
2006-10-21 01:27:35 +00:00
Aaron Griffin ca2544dbc2 Whoops, this file got left out 2006-10-21 00:26:00 +00:00
Aaron Griffin 7131b7ac87 A handful of minor changes:
* 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-20 06:26:55 +00:00
Aaron Griffin e7f886aac3 From VMiklos <vmiklos@frugalware.org>
* 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 :)
2006-10-19 15:28:52 +00:00
Aaron Griffin 39790dcc18 Removed old db files (unused) 2006-10-19 15:22:05 +00:00
Aaron Griffin 51b8f9acc7 Added copyright holder 2006-10-19 15:15:20 +00:00
Aaron Griffin ace2d6f063 Reverted debug parameter to -1 2006-10-19 15:12:49 +00:00
Aaron Griffin 7e61ca7912 Fixed doxygen comments 2006-10-19 15:11:12 +00:00
Aaron Griffin cab295b9f5 Yet another "added three times" issue. 2006-10-19 15:05:41 +00:00
Aaron Griffin 001526a67b Removed three checks for po4a (patching issue) 2006-10-19 14:42:33 +00:00
Aaron Griffin b449761a8b Removed extra includes 2006-10-16 22:25:53 +00:00
Aaron Griffin 6f5bf3fa54 Adjust progress bar to align with frugalware's progressbar 2006-10-16 04:32:15 +00:00
Aaron Griffin 558e49698d Copyright changes 2006-10-16 00:05:10 +00:00
Aaron Griffin 31c682c4ee configure changes for java detection (require swig)
by Christian Hamar alias krix <krics@linuxforum.hu>
2006-10-16 00:02:43 +00:00
Aaron Griffin ac30eb2c1e Applied Frugalware patch from Christian Hamar alias krix <krics@linuxforum.hu>
for file-conflict progress bar
Also did some CVS cleanup, removing some of the autogenerated files that
shouldn't have been there
2006-10-15 23:54:43 +00:00
Aaron Griffin 04c48b4547 *** empty log message *** 2006-10-15 23:51:18 +00:00
Aaron Griffin e6629812cb Frugalware patch for AC_CHECK_PROGS fixups:
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061011195829-d209c-205eaaeecb45e52bd6aa78e9767bf5cf500a99d7.gz
2006-10-15 23:36:29 +00:00
Aaron Griffin 42aae4aa7b Applied changes from frugalware:
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061009002226-e2957-93b82621b6b060312559ea0539699f659bd9cb97.gz
2006-10-15 23:31:21 +00:00
Aaron Griffin 3bed58f070 Added po files 2006-10-15 22:32:44 +00:00
Aaron Griffin 29fef7b97b Whoops, actually remove convertdb this time 2006-10-15 22:28:16 +00:00
Aaron Griffin 6f46645e77 Removed convertdb 2006-10-15 22:25:42 +00:00
Aaron Griffin 416d576ced Another forgotten file set 2006-10-15 22:21:58 +00:00
Aaron Griffin c4b8798f23 Added sha1 support (for now?) 2006-10-15 22:20:21 +00:00
Aaron Griffin 8f588727fa Added po files... not sure if this is the right approach 2006-10-15 22:11:52 +00:00
Aaron Griffin 9a82fe2398 *** empty log message *** 2006-10-15 22:08:57 +00:00
Aaron Griffin ceef991cbd Whoops forgot some .in files 2006-10-15 22:07:10 +00:00
Aaron Griffin 60d940ab1e *** empty log message *** 2006-10-15 21:31:15 +00:00
Aaron Griffin db769f667d Added alpm function docs along
pacman.c : Removed link to frugalware wiki
sync.c : do not display Uncompressed size if 0 (archlinux has no USIZE)
2006-10-15 21:06:08 +00:00
Aaron Griffin e037328e21 Corrected documentation compilation - succeeds now 2006-10-15 20:46:33 +00:00
Aaron Griffin 91f4500503 Fixed java includes - java bindings now compile 2006-10-15 20:45:37 +00:00
Aaron Griffin 505155d995 include changes so that this compiles 2006-10-15 20:02:05 +00:00
Aaron Griffin 9481022286 Final frugalware changes commit 2006-10-15 19:38:02 +00:00
Aaron Griffin 3f27542156 Merged frugalware changes. Added a few other minor things too, but there's alot
to list.  The diff should show you 8)
2006-10-15 19:34:52 +00:00
Aaron Griffin d37ad04873 Merged frugalware changes (too many to list). Also added some config file
handling changes (support [sections] to carry over to included files - this
helps with backwards compatibility with existing pacman config files)
2006-10-15 19:31:03 +00:00