Dan McGee
b9803b719a
TODO update and .cvsignore addition
2007-02-12 07:03:43 +00:00
Aaron Griffin
62cd381894
* Added --cachedir commandline option
...
* Removed usage of 'realpath'. From the manpage:
"Avoid using this function. It is broken by design"
2007-02-12 07:03:08 +00:00
Aaron Griffin
be85600dfd
* Removed the 'vercmp' op from pacman. The standalone 'vercmp' binary should be
...
used instead
* Allow -T/--deptest to work without root privileges
2007-02-12 06:44:00 +00:00
Aaron Griffin
dfb1f1e237
* Updated the README file
...
* Removed the handle->needles param. It's not needed not that alpm_list_t is
public
2007-02-12 04:45:21 +00:00
Aaron Griffin
9803ec3066
Added 'testpkg' binary to test for validity of a package:
...
testpkg <package file>, returns 0 on success, 1 on failure
failure will also output error messages to stdout
2007-02-12 01:30:02 +00:00
Aaron Griffin
a382d33d45
Cleaned up some more output
...
* Questions no longer start with "error:"
* downloaded size is output as a float now
2007-02-10 09:34:59 +00:00
Dan McGee
73402a1459
* Fix compile errors/warnings.
...
* Update .cvsignore files a bit.
2007-02-09 21:54:57 +00:00
Aaron Griffin
f8cd4858ca
* I made "alpm_versioncmp" public a while back, without noticing this was already done (alpm_pkg_vercmp). I dropped this change, making versioncmp "private" again. (alpm_versioncmp -> _alpm_versioncmp, hidden symbol)
...
* Make alpm_get_upgrades use the same version check that -Su and -S use.
2007-02-09 21:08:10 +00:00
Dan McGee
79d18c2617
* Remove "error: " text from ERR() call since it is appended by ERR anyway.
2007-02-09 17:58:19 +00:00
Aaron Griffin
d8fd645c4c
* Cleaned up direct pm_fprintf usage (move to MSG/ERR macros for now)
...
* Moved some stderr output to stdout
* Remove "RETRIEVE_LOCAL" trans event as libdownload handles local files
2007-02-09 16:02:01 +00:00
Dan McGee
b67e10d6b3
* Hopefully fixed the download progres bar for real. We should no longer
...
have issues with crazy speeds being displayed.
* Minor string updates to remove unnecessary 1-off translations.
2007-02-08 20:44:47 +00:00
Dan McGee
2df13b6e8f
* Oops. Added some files to make "make update-po" work.
2007-02-08 05:36:26 +00:00
Dan McGee
a7df172bee
* Nice overhaul of manpages. It is at least a start.
...
* Alphabetized options in pacman usage.
2007-02-08 05:24:17 +00:00
Dan McGee
306914793c
Fix newlines for real, and add a missing _() gettext wrapper.
2007-02-08 01:12:48 +00:00
Aaron Griffin
ad224b2703
* Fix total transfered size on download bar
...
* Fix -Qm segfault
* Minor query cleanup
2007-02-07 05:25:45 +00:00
Aaron Griffin
ca4078b115
I broke the progress bars earlier. Put that back to normal.
2007-02-07 03:15:18 +00:00
Dan McGee
da637c79e5
Oops. Actuall add two new translation templates as requested on the ML-
...
'it' and 'pt_BR'.
2007-02-07 02:24:13 +00:00
Dan McGee
f05b6c152b
* Update of all the *.po files and *.pot template files.
...
* Makefile targets to rebuild po files now work - use 'make update-po' in
the po directories.
* Added two new translation templates as requested on the ML- 'it' and
'pt_BR'.
This commit might be a bit big for the mailing list to like on the commit
message. :)
2007-02-07 02:22:53 +00:00
Dan McGee
4de804d157
* Makepkg updates, and small bugfix on man page compression.
...
* Change libtool default to makepkg2 behavior.
* Other small changes.
2007-02-06 22:36:13 +00:00
Aaron Griffin
dd7f1d95b1
Minor experimental changes to the download progress bar:
...
* change to Mb and Gb for both total size and transfer rate if needed
* round up to 1 second for downloads that were between 1s and 0.5s
This function needs some serious looking at, as it's probably not 64bit safe (thus the "wrong calculation" problem on the list).
2007-02-06 21:54:39 +00:00
Aaron Griffin
1bb3cd34bf
Added the --upgrades option for -Qu (--query --upgrades)
2007-02-04 08:30:13 +00:00
Aaron Griffin
63000584b6
Implemented a crappy version of -Qu (query upgrades). This simply outputs the
...
packages to be upgraded in a -Su operation. Much of the code is duplicated from
sync.c.
TODO: move the implementation to upgrades.c, and reimplement the sync_sysupgrade
function in terms of this:
trans->packages = alpm_get_upgrades();
2007-02-04 08:26:52 +00:00
Aaron Griffin
b2da4b4234
* Added archive verification when loading package metadata for -u and -A
...
operations (now aborts on a corrupt archive)
* Fixed the pm_fprintf newline error that was plaguing us. It seems a line
resetting 'neednl' was removed a while back (by me). This causes all the
output errors we've been seeing
2007-02-04 03:24:32 +00:00
Aaron Griffin
e3c7e92f10
* unified the progress bars (fill_progress function)
...
* fixed progress output (needs an fflush to move cursor properly)
* broke display_targets function out, to display a list of syncpkgs in
preparation for a -Qu option
* added get_update_time function to deal with progress functions that shouldn't
update too fast due to output redraw speeds
2007-02-04 01:36:45 +00:00
Dan McGee
d18259b532
Add newlines to error messages
2007-02-03 07:29:51 +00:00
Dan McGee
cdaed9221d
* Tried to clean up newline display a bit in the frontend.
...
* Removed useless buildstring function from util.h; replaced all calls of it
with list_display.
* Made list_display output 2 spaces instead of 1 between each item.
2007-02-01 06:35:30 +00:00
Aaron Griffin
2e35d8c187
-Ql needs the 'root' prepended to each file
2007-02-01 02:16:13 +00:00
Aaron Griffin
d97f357f03
Removed the extra newline based on general opinion
2007-01-31 08:30:15 +00:00
Aaron Griffin
9a98b6b066
* Make -Qo work on multiple files again
...
* no real sense in query_fileowner returning an int
2007-01-31 08:00:50 +00:00
Aaron Griffin
670319c2fb
Debug logging changes:
...
* 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-31 06:10:21 +00:00
Aaron Griffin
f4340129d5
More uninitialized stuff... I believe these were removed at some point. Should
...
be fixed.
2007-01-31 04:42:39 +00:00
Dan McGee
c35f713e75
* Refactored some functions to clean up variable declaration.
...
* Reduced magic number usage by fill_progress function (new).
* Some switch indent fixing.
* Remove use of log10 call.
2007-01-31 01:37:41 +00:00
Dan McGee
1042eda886
Fixing line spacings of download/install size messages.
2007-01-30 18:25:54 +00:00
Aaron Griffin
2119467392
Well that silly memory clobber was plain old "uninitialized data" - fixed
2007-01-30 08:35:40 +00:00
Aaron Griffin
195e30e8aa
K. Piche <kpiche@rogers.com>
...
* gcc visiblity changes
Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K.
Piche's suggestions
2007-01-30 07:47:19 +00:00
Dan McGee
0bc06918e4
* Remove -fno-strict-aliasing as it is now unnecessary to compile.
...
* 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 05:41:13 +00:00
Dan McGee
e668b47142
* Modified info query so it doesn't show more than available when querying a
...
package file.
2007-01-30 04:15:14 +00:00
Dan McGee
1799afc9c1
Discussed on IRC for a bit, this makes the following changes for clarity:
...
* 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-30 03:46:33 +00:00
Jürgen Hötzel
13f9fc4d19
* Fix building outside $(srcdir).
...
* Removed ./gen-mirrorlist.sh invocation from configure script:
Mirror-files are generated by make, not configure.
2007-01-29 22:18:31 +00:00
Aaron Griffin
1629355ef0
Missed that 8)
2007-01-26 02:19:24 +00:00
Aaron Griffin
e22336673a
Dan McGee <dpmcgee@gmail.com>
...
* 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-26 02:13:16 +00:00
Aaron Griffin
db87c8f62e
* copy and paste error, "resolving deps" -> "cleaning up"
...
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2007-01-26 01:34:26 +00:00
Aaron Griffin
7f465320e4
Cleanup 'neednl' usage - make it static
2007-01-24 16:57:19 +00:00
Aaron Griffin
170d63190a
* Shuffled some of the alpm_list free funtions - still not perfect, but better
...
* 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-24 08:51:50 +00:00
Aaron Griffin
1b61cc8c69
This mainly deals with code clarity- removing currently unneeded
...
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-24 03:02:53 +00:00
Aaron Griffin
8387672053
Removed some debugging cruft left in in the last commit
2007-01-23 20:09:18 +00:00
Aaron Griffin
4db24ca28a
* Added some calloc calls to replace the malloc-then-set-to-zero functionality
...
* 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-23 01:34:58 +00:00
Aaron Griffin
e1bad6ef84
* Dan McGee <dpmcgee@gmail.com>
...
Newlines were included in both setting the string
variable and in the printf, remove the extra ones.
2007-01-22 08:52:18 +00:00
Aaron Griffin
eb03fe80e8
Removed list.h
2007-01-22 08:46:12 +00:00
Aaron Griffin
6167017264
Preliminary checkin for alpm_list conversion
...
* 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
2007-01-19 09:28:44 +00:00
Aaron Griffin
bb69613e42
* remove static neednl - no accessor functions (yet)
...
* remove getcols call in main()
2007-01-18 20:13:34 +00:00
Aaron Griffin
86b136bb59
Dan McGee <dpmcgee@gmail.com>
...
* 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
2007-01-18 16:52:57 +00:00
Aaron Griffin
c6f56aee57
Dan McGee <dpmcgee@gmail.com>
...
* fix for -Qii regression
* package.c cleanup
* some refactoring changes
Moved split_pkgname as per Dan's suggestion
2007-01-17 05:25:32 +00:00
Aaron Griffin
42f8b8b2d3
cvsignore cleanup and additions
2007-01-17 03:40:08 +00:00
Aaron Griffin
3950a5f406
* cosmetic: newline after "local database is up to date"
2007-01-03 15:32:07 +00:00
Aaron Griffin
043a49701f
* bug fix FS#6100 - fix --print-uris output
2007-01-03 08:05:13 +00:00
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
Aaron Griffin
505155d995
include changes so that this compiles
2006-10-15 20:02:05 +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
Judd Vinet
54008798ef
Patch from FW: Better control over CTRL-C interruptions -- do not leave the DB in an inconsistent state
2006-07-14 23:15:07 +00:00
Judd Vinet
7236dd3287
i18n stuff
2006-06-28 05:37:15 +00:00
Judd Vinet
1a30bc554d
patch: check strlen of str, NOT msg, which is always true
2006-05-15 16:36:35 +00:00
Judd Vinet
bb787e26ee
first stage of i18n stuff from VMiklos
2006-05-15 02:19:57 +00:00
Aurelien Foret
3d3a29a808
added .cvsignore files
2006-03-27 17:17:35 +00:00
Aurelien Foret
25ca241a7c
fixed dbpath initialization (found out by VMiklos <vmiklos@frugalware.org>)
2006-03-21 19:50:05 +00:00
Aurelien Foret
80c7f0efca
removed pacman.h
2006-03-13 20:39:37 +00:00
Aurelien Foret
039e6d9ee4
- removed pacman.h
...
- removed unuseful extern declarations
- set pacman.c internal functions as static
2006-03-13 20:34:47 +00:00
Aurelien Foret
27be34c09b
added a NOSCRIPLET flag to transactions (patch from VMiklos <vmiklos@frugalware.org>)
2006-03-07 18:17:03 +00:00
Aurelien Foret
1bd8f57a18
- changed flags type from char to int
...
- downloadonly implies FLAG_NOCONFLICTS
2006-03-04 15:33:44 +00:00
Aurelien Foret
e50f76bf7c
fixed HoldPkg implementation
2006-03-02 20:53:41 +00:00
Aurelien Foret
ce4c043805
disable progress bar if the output is redirected (patch from VMiklos <vmiklos@frugalware.org>)
2006-03-01 07:27:06 +00:00
Aurelien Foret
b868e02967
fixed indentation
2006-02-22 20:58:12 +00:00
Aurelien Foret
16ff7cfa8e
improved _alpm_list_free handling
2006-02-22 20:49:33 +00:00
Aurelien Foret
78ffd98701
fixed outputs when downloadonly flag is set (patch from VMiklos <vmiklos@frugalware.org>)
2006-02-22 20:39:24 +00:00
Aurelien Foret
910fd6a687
the library must provide default values for main options
2006-02-20 20:59:35 +00:00
Aurelien Foret
be39f49a54
prepend library function names with _alpm (helped with the patch from VMiklos <vmiklos@frugalware.org>)
...
added log and event callbacks to sync_commit internal transactions
2006-02-17 22:35:26 +00:00
Aurelien Foret
041e51f68d
sync with pacman 2.9.8
2006-02-16 22:57:25 +00:00
Aurelien Foret
a6bececa06
moved the .lastupdate support from libalpm to pacman
2006-02-15 22:53:18 +00:00
Aurelien Foret
2e128d3a41
fixed a compilation warning
2006-02-15 22:37:35 +00:00
Aurelien Foret
f83f01b8eb
fixed a typo
2006-02-15 22:00:01 +00:00
Aurelien Foret
ce194bdd5e
used MALLOC macro when possible
2006-02-14 18:48:13 +00:00
Aurelien Foret
e4c9ab4895
- added a WARN macro to display warnings
...
- used ERR macro for error messages
2006-02-14 18:43:51 +00:00
Aurelien Foret
7ab3bb136d
fixed a compilation warning
2006-02-14 18:43:01 +00:00
Aurelien Foret
07e46d2fc0
better use ERR than fprintf for error messages
2006-02-14 18:30:23 +00:00
Aurelien Foret
a56e13d770
added the possibility to force synctree update by using -Syy
2006-02-14 18:29:26 +00:00
Aurelien Foret
843e73275e
copyright update
2006-02-07 18:20:39 +00:00
Aurelien Foret
b708e448ea
added support for alpm_pkg_checkmd5sum()
2006-02-05 09:58:16 +00:00
Aurelien Foret
bcd7ce0dfd
added support for the PM_CONFLICT structure to handle file conflicts
2006-02-05 09:34:49 +00:00
Aurelien Foret
2b8d00a5e8
fixed a possible memory leak
2006-02-04 10:39:12 +00:00
Aurelien Foret
633c89b532
- moved yesno() from util.c to log.c
...
- fixed a missing line feed in yesno when printing the message
2006-02-04 10:34:27 +00:00
Aurelien Foret
bd25319775
fixed vprint implementation (patch from VMiklos <vmiklos@frugalware.org>)
2006-02-01 22:14:17 +00:00
Aurelien Foret
cdc97dd6f2
added line feeds when needed (patch from VMiklos <vmiklos@frugalware.org>)
2006-02-01 18:20:13 +00:00
Aurelien Foret
f8933f8554
added a missing trans_release before pacman_sync call
2006-01-29 16:52:41 +00:00
Aurelien Foret
427f724913
cleanup up error cases handling in pacman_deptest
2006-01-28 21:21:31 +00:00
Judd Vinet
be38a51750
added a --noprogressbar switch for scripts to use
2006-01-28 05:07:50 +00:00
Aurelien Foret
ddc49a816c
added a missing error message in case of lock failure
2006-01-27 19:02:56 +00:00
Aurelien Foret
a55ad29a7e
added missing retval values in trans_release error cases
2006-01-27 19:02:24 +00:00
Aurelien Foret
fb2331ab8b
- fixed a compilation warning
...
- 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
2006-01-26 20:46:48 +00:00
Aurelien Foret
c57d069abb
fixed a typo
2006-01-21 18:29:18 +00:00
Aurelien Foret
2d08e902ef
added a FAKEROOT define allowing to use pacman in a fakeroot enivronment (for tests purpose)
2006-01-21 16:50:01 +00:00
Aurelien Foret
4e8220fae7
added the possibility to "-Syy" (can be used to force synctrees update, even if mtimes are ok)
2006-01-17 21:30:02 +00:00