1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 08:18:51 -05:00
Commit Graph

113 Commits

Author SHA1 Message Date
Aurelien Foret
668e58626d added ALLDEPS transaction flag mainly to handle "makepkg -s" 2006-01-10 18:19:06 +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
e405204915 removed a restriction: the data parameter of XXX_prepare functions can be NULL 2006-01-07 18:25:28 +00:00
Aurelien Foret
db8a5e3586 - sync: populates *data when a conflict can't be resolved
- add: code cleanup
2006-01-06 22:58:01 +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
db0df44598 code cleanup 2006-01-02 13:26:30 +00:00
Aurelien Foret
cd2daa5189 fixed possible memory corruption 2006-01-02 13:15:08 +00:00
Aurelien Foret
64055e0f74 fixed various memory leaks 2006-01-02 13:14:00 +00:00
Aurelien Foret
d7f4350c29 fixed a typo 2006-01-02 13:01:58 +00:00
Aurelien Foret
d2ce54df86 code cleanup 2006-01-02 12:46:28 +00:00
Aurelien Foret
ee5625ae67 fixed a possible memory leak 2006-01-02 12:19:22 +00:00
Aurelien Foret
cc1c5b163b Fixed some logging issues (patch from VMiklos <vmiklos@frugalware.org>) 2005-12-28 10:27:01 +00:00
Judd Vinet
6bd15469b1 renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.cz 2005-12-26 16:48:37 +00:00
Aurelien Foret
04424f5e89 fixed a file descriptor leak 2005-11-09 21:50:47 +00:00
Aurelien Foret
8a53d5a3d7 Fixed missing parameter in trans_init() call 2005-10-10 10:14:13 +00:00
Judd Vinet
9a4719d3c5 fixed a segfault w/ the skiplist 2005-10-09 04:25:04 +00:00
Aurelien Foret
8ffb82a691 Code update to make use of PKG_FULLNAME_LEN 2005-10-08 21:36:47 +00:00
Aurelien Foret
05ab859eab Reworked the cache handling to only load DEPENDS info by default 2005-10-08 21:32:14 +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
de5e40bcd8 code cleanup 2005-05-04 21:21:51 +00:00
Aurelien Foret
3a9a203c46 reordered operations in add_commit (as in pacman 2.9.x) 2005-05-04 21:06:03 +00:00
Aurelien Foret
f78f195235 code cleanup 2005-05-04 20:07:01 +00:00
Aurelien Foret
a2b0748b2b code cleanup 2005-05-04 20:05:30 +00:00
Aurelien Foret
a26095f8fc event transaction callback rework to prepare the introduction of a conversation callback 2005-05-04 19:55:23 +00:00
Aurelien Foret
251e52cea7 fixed a small memory leak with md5sums handling 2005-05-03 16:46:18 +00:00
Aurelien Foret
2cc81d9eea code cleanup 2005-05-02 07:42:32 +00:00
Aurelien Foret
246f9f24a2 removed the extra line feed appended by asctime() 2005-05-02 06:29:59 +00:00
Aurelien Foret
0756af675d - rework to support pacman_deptest()
- code cleanup
2005-05-01 20:46:15 +00:00
Aurelien Foret
7c04fe95ac added support for the package reason field 2005-04-24 20:11:10 +00:00
Aurelien Foret
bcd41a4a3d removed deprecated comments in add_commit() 2005-04-24 11:14:50 +00:00
Aurelien Foret
e2b474b130 rework the cache handling to avoid as much as possible calls to db_scan() 2005-04-23 17:18:31 +00:00
Aurelien Foret
77520f9d43 avoided a call to db_scan() 2005-04-20 19:40:33 +00:00
Aurelien Foret
cd26093b06 add_loadtarget: load package info only when needed 2005-04-17 10:02:47 +00:00
Aurelien Foret
89f0ccc3cc reworked transaction prototypes 2005-04-16 16:42:43 +00:00
Aurelien Foret
45c7e10afc updated a log 2005-04-13 19:57:23 +00:00
Aurelien Foret
405d3c9a9f fixed a potential segfault 2005-04-08 19:22:00 +00:00
Aurelien Foret
e59e963f1f reverted back to trans->packages instead of install and remove queues 2005-04-06 21:00:57 +00:00
Aurelien Foret
04e054f3cb replaced transaction 'packages' field by 2 queues: one for packages to be installed and the other for the ones to be removed 2005-04-06 18:25:33 +00:00
Aurelien Foret
a98c5c25b5 - added transaction flags for the removal of a package to be upgrade
- reworked some comments
2005-04-03 08:19:10 +00:00
Aurelien Foret
ffd3a6304d - updated transaction events
- the cache is rebuilt after each package installation (to be reworked)
2005-04-02 20:37:50 +00:00
Aurelien Foret
4d21e4f721 started the work on "pacman_sync" 2005-03-30 22:32:43 +00:00
Aurelien Foret
73c6779067 removed an uneeded call to db_scan 2005-03-29 22:18:00 +00:00
Aurelien Foret
95ea99e197 Turned pmdepmissing_t into an opaque structure 2005-03-29 20:31:03 +00:00
Aurelien Foret
6063424c82 Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when copying strings 2005-03-29 17:18:59 +00:00
Aurelien Foret
0ef95757d6 added a FREELISTPTR macro to free a PMList without freeing its data 2005-03-28 07:45:24 +00:00
Aurelien Foret
c0cf6c422d made 'provides' actually work when updating 'requiredby' fields from deps 2005-03-27 07:41:51 +00:00
Aurelien Foret
7767095c59 backport from pacman 2.9.5 (formatting, commentaries) 2005-03-26 20:24:57 +00:00
Aurelien Foret
7f46a9c442 reworked PM_LOG_XXX messages during install/remove/upgrade operations 2005-03-26 18:03:36 +00:00
Aurelien Foret
3f165e1912 _alpm_runscriplet fixes 2005-03-26 08:54:28 +00:00
Aurelien Foret
bcfc1244b4 updated comments 2005-03-26 08:50:27 +00:00
Aurelien Foret
7c847fd7d4 Backport from pacman 2.9.5
- list_remove, list_check and list_reverse
- sortbydeps(mode)
2005-03-25 22:09:14 +00:00
Aurelien Foret
ff16088b27 fix: one can't add a package twice in transaction targets list 2005-03-24 21:49:18 +00:00
Aurelien Foret
4a5c607258 cleanup for add_loadtarget() logs 2005-03-24 21:48:06 +00:00
Aurelien Foret
cad41d7e8a - removed db_find_conflicts() declaration from db.h
- included conflict.h from add.c
2005-03-23 20:06:58 +00:00
Aurelien Foret
d109550656 Renamed PM_RET_ERR to RET_ERR (no need for a PM_ prefix for internal
defines).
2005-03-16 22:10:05 +00:00
Aurelien Foret
04e195284e Code cleanup 2005-03-16 22:06:31 +00:00
Aurelien Foret
57df73517f One more ORE comment 2005-03-16 20:17:07 +00:00
Aurelien Foret
7c04b050ea Make sure we generate a UPGRADE_DONE event during upgrades 2005-03-16 20:09:10 +00:00
Aurelien Foret
ba13bc8b7b Improved error handling in add_loadtarget() 2005-03-16 19:15:03 +00:00
Aurelien Foret
438f653ba6 Renamed PM_TRANS_CB_XXX to PM_TRANS_EVT_XXX 2005-03-15 18:41:02 +00:00
Aurelien Foret
518c333ee1 Fixed a typo in add_loadtarget() 2005-03-15 18:37:11 +00:00
Judd Vinet
d04baabafa Initial revision 2005-03-15 01:51:43 +00:00