Aaron Griffin
043a49701f
* bug fix FS#6100 - fix --print-uris output
2007-01-03 08:05:13 +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
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
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
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
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
3e608e7e85
* Improved mcheck output
...
* Added minor libalpm const correctness
* Mini-memory fixes
2006-11-08 08:14:29 +00:00
Aaron Griffin
55f178c629
* Fixed an error message that should be a debug message
...
* Fixed "the big segfault" - dbs_sync list was being modified while iterating
* over the list, big No-No. Now using a while loop over alpm_list_count.
2006-11-08 06:52:50 +00:00
Aaron Griffin
3bf918dc4e
Fixed pacman -U:
...
* Accidental database read of a file-based package (whoops)
* Proper fetching of url-based -U or -A
Removed some newlines from _alpm_log calls, to make debug output more concise
2006-11-01 06:30:47 +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
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
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
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
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
1568fd98d8
Minor changes:
...
* Moved the pmhandle_t extern decl around
* Fixed a doxygen complaint
2006-10-21 01:27:35 +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
7e61ca7912
Fixed doxygen comments
2006-10-19 15:11:12 +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
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
bb787e26ee
first stage of i18n stuff from VMiklos
2006-05-15 02:19:57 +00:00
Aurelien Foret
839a64df41
fixed a regression (patch from VMiklos <vmiklos@frugalware.org>)
2006-03-21 19:38:00 +00:00
Aurelien Foret
ad2c7463c9
put back treename in db->path
2006-03-14 22:53:42 +00:00
Aurelien Foret
4f42a0accb
all _alpm_XXX_cmp functions are now public
2006-03-08 18:07:58 +00:00
Aurelien Foret
fa5e6cef75
prepare code for cache loaded with only DEPENDS
2006-03-07 20:45:38 +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
297c5284b6
fixed alpm_db_update extraction path
2006-03-04 14:58:28 +00:00
Aurelien Foret
e2faeb46e1
reworked the db object to prepare future integration with different backends
2006-03-02 19:06:52 +00:00
Aurelien Foret
9d4713e2a3
checkmd5sums enhancements
2006-02-20 20:55:53 +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
58a7e85534
- db_write: add support to write both local and sync entries
...
- code cleanup
2006-02-16 21:02:39 +00:00
Aurelien Foret
dc0bacf18c
removed a leftover comment
2006-02-15 22:55:54 +00:00
Aurelien Foret
6e76fd8af3
- merged db_open and db_create into one single function
...
- moved the .lastupdate support to the frontend
2006-02-15 22:51:28 +00:00
Aurelien Foret
5aa5142815
error codes cleanup
2006-02-07 22:01:50 +00:00
Aurelien Foret
298c1a8e97
added alpm_pkg_checkmd5sum() to check md5sums for package from the cache
2006-02-05 09:57:29 +00:00
Aurelien Foret
325e3b6b98
added a pmconflict_t structure to handle file conflicts
2006-02-05 09:27:26 +00:00
Aurelien Foret
54de80b1ea
doxygen support: added @brief field (patch from VMiklos <vmiklos@frugalware.org>)
2006-02-01 17:58:02 +00:00
Aurelien Foret
173d18f3f8
Added a missing trans_release call upon lib shutdown (patch from VMiklos <vmiklos@frugalware.org>)
2006-02-01 06:40:53 +00:00
Aurelien Foret
1042f1e7ce
removed unlock code from alpm_release()
2006-01-29 16:53:16 +00:00
Aurelien Foret
831ff882ae
reworked lock handling (patch from VMiklos <vmiklos@frugalware.org>)
2006-01-26 22:16:57 +00:00
Aurelien Foret
7818e6f745
doxygen comments update (patch from VMiklos <vmiklos@frugalware.org>)
2006-01-26 19:52:47 +00:00
Aurelien Foret
a10584aec4
document package, group, sync and transaction functions (patch from VMiklos <vmiklos@frugalware.org>)
2006-01-21 19:29:10 +00:00
Aurelien Foret
1c9041814b
added more doxygen comments (patch from VMiklos <vmiklos@frugalware.org>)
2006-01-11 21:44:11 +00:00
Aurelien Foret
fd6ce1f4cb
- merged pkg_new and pkg_dummy functions
...
- renamed _alpm_log_action to _alpm_logaction
2006-01-09 20:16:00 +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
e405204915
removed a restriction: the data parameter of XXX_prepare functions can be NULL
2006-01-07 18:25:28 +00:00
Aurelien Foret
2c22045ba8
- fixed a regression with pacman 2.x (reworked patch from VMiklos <vmiklos@frugalware.org>):
...
if pacman is desiganted as a target in a sysupgrade operation, it should be able to upgrade itself first upon user request.
- removed uneeded sanity checks in alpm interface calls
- replaced printf by MSG in pacman
2006-01-06 14:00:03 +00:00
Aurelien Foret
4819d21c74
terminated .lastupdate implementation for HTTP protocol
2006-01-05 19:37:54 +00:00
Aurelien Foret
5839652c41
code cleanup
2006-01-02 20:28:46 +00:00
Aurelien Foret
656a887d35
more sanity checks: do not add or remove databases while a trasaction is running
2006-01-02 16:20:50 +00:00