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

380 Commits

Author SHA1 Message Date
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
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
8028a1124a Added dbpath validation 2006-12-05 06:55:52 +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
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
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
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
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
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
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
bb787e26ee first stage of i18n stuff from VMiklos 2006-05-15 02:19:57 +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
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
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
910fd6a687 the library must provide default values for main options 2006-02-20 20:59:35 +00:00
Aurelien Foret
041e51f68d sync with pacman 2.9.8 2006-02-16 22:57:25 +00:00
Aurelien Foret
ce194bdd5e used MALLOC macro when possible 2006-02-14 18:48:13 +00:00
Aurelien Foret
2b8d00a5e8 fixed a possible memory leak 2006-02-04 10:39:12 +00:00
Aurelien Foret
cdc97dd6f2 added line feeds when needed (patch from VMiklos <vmiklos@frugalware.org>) 2006-02-01 18:20:13 +00:00
Judd Vinet
be38a51750 added a --noprogressbar switch for scripts to use 2006-01-28 05:07:50 +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
Aurelien Foret
08bf45aceb maked verbose group listing enabled by -Sgg instead of -Sgv 2006-01-13 21:27:25 +00:00
Aurelien Foret
325d297739 made use of the new ALLDEPS transaction flag to handle "makepkg -s" 2006-01-10 18:45:32 +00:00
Aurelien Foret
86e5c8bc06 sync_commit can now return conflicting files with a trans_prepare like data structure (patch from VMiklos <vmiklos@frugalware.org>) 2006-01-07 18:42:44 +00:00
Aurelien Foret
52346fc121 - removed uid checks (CYGWIN)
- fixed indentation in parseargs
2006-01-07 10:01:19 +00:00
Aurelien Foret
f3a4197e34 code cleanup (mainly removed line spaces at the beginning of lines by tabulations) 2006-01-07 09:42:48 +00:00
Aurelien Foret
11b6a69266 moved pacman_deptest function in its own file 2006-01-06 22:19:14 +00:00
Judd Vinet
96de3501ab patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSION 2006-01-02 19:55:35 +00:00
Aurelien Foret
7ff3ad054b - reworked verbose levels
- fixed the handling of command line errors when no operation is specified
2006-01-01 15:12:20 +00:00
Aurelien Foret
5a0565cf24 *** empty log message *** 2006-01-01 10:06:28 +00:00
Aurelien Foret
2c0530e634 added a missing code chunk of the ignore command line option (patch from VMiklos <vmiklos@frugalware.org>) 2005-12-31 17:58:22 +00:00
Aurelien Foret
289b75d576 used defines from alpm.h instead of local ones (patch from VMiklos <vmiklos@frugalware.org>) 2005-12-31 17:03:48 +00:00
Judd Vinet
9a7190dfff verbosity fix from VMiklos 2005-12-20 23:37:22 +00:00
Judd Vinet
15689bddbf added Frugalware patch: -Q --foreign to display packages not found in sync repos 2005-12-14 02:23:14 +00:00
Aurelien Foret
48c6090098 added PACCONF, PACDB and PACROOT defines 2005-10-29 07:09:48 +00:00
Aurelien Foret
44fc71396f renamed pmconfig_t to config_t 2005-10-29 07:00:56 +00:00
Aurelien Foret
98df67cd18 added pmconfig_t structure to hold all the configuration
(patch from VMiklos <vmiklos@frugalware.org>)
2005-10-28 12:20:40 +00:00
Judd Vinet
feb152d78c added a default cachedir 2005-10-20 20:44:14 +00:00
Judd Vinet
a1526a3e7d added first part of the autoconf stuff - patch from Christian Hamar <krics@linuxforum.hu> 2005-10-17 18:52:43 +00:00
Judd Vinet
a36ded25eb added conversation callback support for transactions 2005-10-09 06:09:57 +00:00
Judd Vinet
5ef51b3e26 Merging in recent fixes/additions from 2.9.7 2005-10-07 23:29:49 +00:00
Aurelien Foret
4ee51bdf46 Added a CYGWIN define to include header files required to build in a Cygwin environment 2005-10-06 07:28:30 +00:00
Aurelien Foret
d5bfc60734 fixed a small memory leak during the cleanup of config data 2005-05-03 17:29:00 +00:00
Aurelien Foret
a53bf50189 get ride of ORE tags 2005-05-02 08:05:47 +00:00
Aurelien Foret
9e7dfed18b added a --debug option to externally set the library log level 2005-05-02 07:37:55 +00:00
Aurelien Foret
cda9c6671c reworked pacman_deptest() 2005-05-01 20:47:22 +00:00
Aurelien Foret
6511f1949e some remork for pacman_deptest() 2005-04-23 17:16:02 +00:00
Aurelien Foret
3fa2b0e3bd backported support for print-uris from pacman 2.9.x 2005-04-13 19:16:32 +00:00
Aurelien Foret
54593f515a added option -p in pacman usage screen 2005-04-13 19:11:29 +00:00
Aurelien Foret
48f8f521b1 reworked MSG and ERR outputs 2005-04-06 20:59:13 +00:00
Aurelien Foret
c3f53cdf12 changed alpm_db_register() prototype 2005-03-29 21:09:54 +00:00
Aurelien Foret
d16c8be8a0 turned pmdepmissing_t into an opaque structure 2005-03-29 20:32:10 +00:00
Aurelien Foret
350a3972d1 fixed an error message 2005-03-27 07:43:13 +00:00
Aurelien Foret
0226ed1723 Backport from pacman 2.9.5 (--ignore in usage) 2005-03-26 13:30:59 +00:00
Aurelien Foret
0550ba151f Backport from pacman 2.9.5 (code cleanup) 2005-03-25 22:37:13 +00:00
Aurelien Foret
950839b557 - added pmo_chomp support (from pacman 2.9.3)
- fixed a typo with pmo_proxyport usage
2005-03-20 14:17:34 +00:00
Aurelien Foret
2da0b2263e pacman_deptest() rework 2005-03-19 18:14:18 +00:00
Aurelien Foret
05ad2e0771 Copyright update 2005-03-19 09:01:27 +00:00
Aurelien Foret
0709c15543 Relocated log and transaction stuffs from pacman.c to log.c and trans.c 2005-03-19 09:00:40 +00:00
Aurelien Foret
fe5636cc47 Dropped pmo_nosave parameter (now included in pmo_flags) 2005-03-16 21:53:45 +00:00
Aurelien Foret
2ce1105900 - added PM_EXT_PKG and PM_EXT_DB defines to alpm.h (taken from pacman 2.9.3)
- renamed ALPM_VERSION to PM_VERSION
2005-03-16 20:59:14 +00:00
Aurelien Foret
438f653ba6 Renamed PM_TRANS_CB_XXX to PM_TRANS_EVT_XXX 2005-03-15 18:41:02 +00:00
Judd Vinet
d04baabafa Initial revision 2005-03-15 01:51:43 +00:00