1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
Commit Graph

232 Commits

Author SHA1 Message Date
Aaron Griffin
37ae56e140 * Fix a missing slash separator in printed uri 2006-12-29 17:07:34 +00:00
Aaron Griffin
07c1309009 * Removed latest fix from TODO.autoconf
* Attempted fix for FS#6100 - "-Spd foo" failure
* Beginning of refactoring from Dan McGee <dpmcgee@gmail.com>
2006-12-29 17:04:58 +00:00
Aaron Griffin
d59585c24f Column fix when stdout is redirected. Default to 80. 2006-12-28 17:20:41 +00:00
Aaron Griffin
2546a35cd5 Configuration changes:
* Added libdownload check in configure.ac
* Added generation for mirrorlists in pacman.d
    NOTE: autoconf sucks for things like this, so gen-mirrorlist is required

Dan McGee <dpmcgee@gmail.com>:
    * mirrorlist.in file

Roman Kyrylych <roman.kyrylych@gmail.com>:
    * ukrainian mirror

Jürgen Hötzel <juergen@hoetzel.info>:
    * conditional build for pacman.static
2006-12-28 16:54:35 +00:00
Aaron Griffin
d8d8221556 Modified front end output routines to accept a "padding' setting, which pads any
statement with ' ' until the size of the terminal.  The rationale is that, when
a log message is emitted during progress bar display, the terminal is artifacted.
This prevents that messiness.
2006-12-22 07:11:20 +00:00
Aaron Griffin
b308f06a3a * Dan McGee's makepkg updates 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
2006-12-14 05:23:08 +00:00
Aaron Griffin
716e9ef095 A few minor updates so --root works again. 2006-12-08 08:17:41 +00:00
Aaron Griffin
fc361cc111 Removed an extra call to alpm_option_set_root() - it is set by alpm_init() 2006-12-08 07:21:38 +00:00
Aaron Griffin
6ca24d5924 Changed upgrade message to use the term "installation" to make the meaning more
clear
2006-12-05 08:39:32 +00:00
Aaron Griffin
aad3f6ab1f Changed "Total Uncompressed Size" to "Total Installed Size" 2006-12-05 07:11:27 +00:00
Aaron Griffin
8028a1124a Added dbpath validation 2006-12-05 06:55:52 +00:00
Aaron Griffin
4488058900 * Fixed the bug where -R pkgA pkgB failed when pkgA depended on pkgB 2006-12-01 09:51:54 +00:00
Aaron Griffin
08dca1593f * Cosmetic changes and typo fixes
* IgnorePkg and --ignore work again
* Partial changes to support removal of conflicts for -U and -A (INCOMPLETE)
2006-12-01 09:32:29 +00:00
Aaron Griffin
6c68723905 * cosmetic: double space in "full system upgrade" 2006-11-27 15:44:22 +00:00
Aaron Griffin
12fdce244c * Move sync *after* transaction init (lock file). We don't want to stomp on the
databases while another instance of pacman /could/ be reading them.
2006-11-23 02:42:50 +00:00
Aaron Griffin
07b0092736 -std=c99 seems to undefine PATH_MAX in this case. I don't care enough to fix it
at the moment, so this workaround works.
2006-11-23 02:36:26 +00:00
Aaron Griffin
8da03650b0 * Whoops util Makefile
* Slight modification to depcmp debug output
2006-11-22 20:03:52 +00:00
Aaron Griffin
986409f9bd * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)
* 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
2006-11-22 09:03:41 +00:00
Aaron Griffin
5469177183 Removed global maxcols - it is looked up on the fly now, so the progress bar is
resized.  Also used ioctl in place of the COLUMNS env variable
2006-11-22 04:53:10 +00:00
Aaron Griffin
99d0c00246 * Fixed a double free which happened in 2 cases in --sync 2006-11-22 03:51:06 +00:00
Aaron Griffin
cb65f08d2f libalpm appends the trailing / to the config root, no need to do it here 2006-11-20 22:15:26 +00:00
Aaron Griffin
aa1c0ba9f8 * repo-add script - to add entries to a db file directly from package data (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
2006-11-20 09:10:23 +00:00
Aaron Griffin
3d6242ed74 * makepkg.conf.in variable changes (missed the checkin)
* Better error reporting when unpacking an archive fails
* Fixed -Sc and -Scc cache dir opening/reading
2006-11-16 17:24:41 +00:00
Aaron Griffin
00ce9ea739 * Initial changes to gensync - makepkg changes were not checked in from another
machine - still pending
* Addition of _alpm_pkg_makefilename to simplify the with/without -ARCH prefix
  scheme we're going with for the interim
2006-11-15 07:50:37 +00:00
Aaron Griffin
74e780f25d * has_archname additions
* additional newline for search output, as suggested on the forums
2006-11-14 21:53:45 +00:00
Aaron Griffin
eb514bee96 * autotool fixes
* Renamed "download" files to "downloadprog" as it only holds the progress bar
  and to not confuse (myself) with <download.h>
2006-11-14 08:07:57 +00:00
Aaron Griffin
4470e5ce01 * Numerous mini valgrind fixes.
* 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)
2006-11-14 07:58:42 +00:00
Aaron Griffin
734e077996 Skip root check on -Sp 2006-11-10 20:09:59 +00:00
Aaron Griffin
d069999cbf Last mtrace/setenv change, I swear 2006-11-09 19:45:53 +00:00
Aaron Griffin
33c354031c Whoops - I fail at setenv 2006-11-09 19:44:52 +00:00
Aaron Griffin
2d3a707a05 mcheck() seems to cause segfaults. Annoying. Switched back to useing mtrace() - if anything valgrind is superior to mcheck anyway 2006-11-09 19:27:10 +00:00
Aaron Griffin
3e608e7e85 * Improved mcheck output
* Added minor libalpm const correctness
* Mini-memory fixes
2006-11-08 08:14:29 +00:00
Aaron Griffin
34931106d7 Added mcheck support for memory debugging 2006-11-07 16:32:48 +00:00
Aaron Griffin
9b4aabdb0f * Modified some error output and logging
* 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)
2006-11-03 03:56:02 +00:00
Aaron Griffin
fbf1aa6539 * Fixed some alpm_get_option calls (long params were used for C99 compliance,
but were used in error)
* Cleaned up some output newlines
* Added "local database is up to date" when no packages are upgraded
2006-11-02 02:29:10 +00:00
Aaron Griffin
22ce4a2a00 Added a newline upong progress completion - this was accidentally left out causing the second progress bar to overwrite the first 2006-11-01 22:20:03 +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
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
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
6f5bf3fa54 Adjust progress bar to align with frugalware's progressbar 2006-10-16 04:32:15 +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
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
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