1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-13 21:05:05 -05:00
Commit Graph

189 Commits

Author SHA1 Message Date
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