1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-02 08:35:06 -04:00
Commit Graph

706 Commits

Author SHA1 Message Date
Aurelien Foret
07a38db48d fixed a possible memory corruption 2006-01-02 10:16:27 +00:00
Aurelien Foret
15bc6e5508 removed some overlapping pm_errno assignments 2006-01-01 12:42:33 +00:00
Aurelien Foret
55a76279c5 - fixed a regression with pacman 2.x (patch from VMiklos <vmiklos@frugalware.org>)
- code reowrk to ensure the /tmp/alpm_foo directory is always removed
2006-01-01 12:20:36 +00:00
Aurelien Foret
922bab599f added a debug log when freeing the package cache 2005-12-31 16:54:57 +00:00
Aurelien Foret
7df7ca1738 Allowed C++ usage (patch from VMiklos <vmiklos@frugalware.org>) 2005-12-28 10:38:12 +00:00
Aurelien Foret
a1b005d239 Fixed a typo (spelling) fix (patch from VMiklos <vmiklos@frugalware.org>) 2005-12-28 10:31:23 +00:00
Aurelien Foret
cc1c5b163b Fixed some logging issues (patch from VMiklos <vmiklos@frugalware.org>) 2005-12-28 10:27:01 +00:00
Aurelien Foret
b062a21d2e Fixed some memory leaks (patch from Essien Ita Essien <essiene@datavibe.net>) 2005-12-28 10:15:55 +00:00
Judd Vinet
6bd15469b1 renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.cz 2005-12-26 16:48:37 +00:00
Judd Vinet
58c9d5d663 applied first try at sync conflict handling (VMiklos) plus a couple changes 2005-12-26 06:40:29 +00:00
Judd Vinet
326c66f0ca patch from VMiklos: regarding the documentation, groups have to be renamed from foo to alpm_foo 2005-12-19 23:32:16 +00:00
Judd Vinet
f762464630 added Doxyfile 2005-11-21 22:14:32 +00:00
Aurelien Foret
04424f5e89 fixed a file descriptor leak 2005-11-09 21:50:47 +00:00
Aurelien Foret
bf865c2da5 cleanup 2005-11-07 13:01:10 +00:00
Aurelien Foret
fffe7a8ef4 fixed wrong prototype usage for trans_new() 2005-11-07 13:00:22 +00:00
Aurelien Foret
2e559ba431 added a FREESYNC macro to release pointers to pmsyncpkg_t structures 2005-11-07 12:59:29 +00:00
Aurelien Foret
b2df466ffd fixed compilation warnings 2005-11-07 12:57:33 +00:00
Aurelien Foret
6a2230dce1 added more pm_errnos 2005-11-07 09:43:25 +00:00
Aurelien Foret
414d6d83c9 Used the chroot syscall instead of the chroot binary
(patch from Christian Hamaer <krics@linuxforum.hu>)
2005-11-05 19:21:25 +00:00
Aurelien Foret
5d5d7d6339 do not free the cache right before using it! 2005-10-22 08:29:12 +00:00
Judd Vinet
fa627d4776 bugfix: before searching databases for a dependency, make sure one of the packages in the final list doesn't already provide that dependency 2005-10-21 19:55:24 +00:00
Judd Vinet
cebc7ace60 fixed a segfault that occured in special cases when propagating requiredby fields during package replacements 2005-10-21 18:53:40 +00:00
Judd Vinet
69530cd3d9 added INFRQ_DESC back to the package cache so the group cache will work 2005-10-20 20:11:30 +00:00
Aurelien Foret
2b43f98366 added alpm.h to delivery targets (Jason) 2005-10-20 18:57:33 +00:00
Judd Vinet
1b4ce12672 added patch to use the system memcpy for md5 stuff 2005-10-18 18:47:10 +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
Aurelien Foret
609466fdeb added PM_OPT_CACHEDIR library option 2005-10-10 20:41:35 +00:00
Aurelien Foret
a7af06ce86 removed a leftover comment 2005-10-10 15:08:36 +00:00
Aurelien Foret
6b7b9787d5 - more sanity checks
- alpm_pkg_free can now return an error code
2005-10-10 15:03:35 +00:00
Aurelien Foret
5d61a44759 Fixed EVENT and QUESTION macros 2005-10-10 10:19:02 +00:00
Aurelien Foret
8a53d5a3d7 Fixed missing parameter in trans_init() call 2005-10-10 10:14:13 +00:00
Judd Vinet
b3450fbe0d removed debug stmt 2005-10-09 18:48:39 +00:00
Judd Vinet
586370b744 started some doxygen comment blocks 2005-10-09 07:42:06 +00:00
Judd Vinet
a36ded25eb added conversation callback support for transactions 2005-10-09 06:09:57 +00:00
Judd Vinet
9a4719d3c5 fixed a segfault w/ the skiplist 2005-10-09 04:25:04 +00:00
Judd Vinet
6f75de92b5 added more error messages, enabled the db permission check in trans_commit 2005-10-08 23:40:49 +00:00
Aurelien Foret
79a20cdc96 Added an error string for lock file creation failure 2005-10-08 22:17:46 +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
Aurelien Foret
0d6a2edaa8 Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entry 2005-10-08 20:43:25 +00:00
Judd Vinet
5ef51b3e26 Merging in recent fixes/additions from 2.9.7 2005-10-07 23:29:49 +00:00
Judd Vinet
79031ccd1a patch from vmiklos -- properly remove each db entry instead of rmrf'ing the whole thing 2005-10-07 16:38:17 +00:00
Aurelien Foret
543940173d Added a missing include for CYGWIN target 2005-10-06 07:39:44 +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
effbe50ffd Fixed an error log 2005-10-06 07:24:33 +00:00
Aurelien Foret
af15744967 Applied reworked patch from VMiklos (vmiklos@frugalware.org)
Close the lock file descriptor upon handle release
2005-10-05 21:50:58 +00:00
Aurelien Foret
d7e781a54b Added a PKG_FULLNAME_LEN macro 2005-10-05 20:49:32 +00:00
Aurelien Foret
dacf0eccac changed license package field to a list 2005-08-20 05:54:45 +00:00
Judd Vinet
a2192570fb changed license package field to a list 2005-07-22 01:59:11 +00:00
Aurelien Foret
df5c0392fa fixed a memory leak with md5 sums handling 2005-05-04 21:22:22 +00:00
Aurelien Foret
de5e40bcd8 code cleanup 2005-05-04 21:21:51 +00:00
Aurelien Foret
0e72c49921 fixed a pointer error 2005-05-04 21:20:43 +00:00
Aurelien Foret
9f1df56353 fixed a typo 2005-05-04 21:06:13 +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
14c8583ccb code cleanup 2005-05-04 19:52:54 +00:00
Aurelien Foret
a5e4fec74e fixed a memory leak and avoided to modify a read-only parameter 2005-05-04 19:30:00 +00:00
Aurelien Foret
ce6dcb5159 - fixed a small memory leak
- made strverscmp implementation static
2005-05-04 19:28:56 +00:00
Aurelien Foret
f3975acf90 code cleanup 2005-05-03 17:44:53 +00:00
Aurelien Foret
54f6a1cb12 make use of the new list_remove implementation 2005-05-03 17:43:02 +00:00
Aurelien Foret
00b97ee35f found a possible MLK: to be fixed 2005-05-03 17:42:54 +00:00
Aurelien Foret
80a5ffa8d8 added some debug logs 2005-05-03 17:41:19 +00:00
Aurelien Foret
9177ce7962 reimplemented list_remove to deal with lists of any kind of data 2005-05-03 17:24:20 +00:00
Aurelien Foret
220c084770 moved pkg_cmp() to cache.c 2005-05-03 17:19:19 +00:00
Aurelien Foret
251e52cea7 fixed a small memory leak with md5sums handling 2005-05-03 16:46:18 +00:00
Aurelien Foret
c99a4c85c0 code cleanup 2005-05-02 18:18:27 +00:00
Aurelien Foret
a93521aca3 do not register an already registered db 2005-05-02 17:54:44 +00:00
Aurelien Foret
4b11a9b1ce code cleanup 2005-05-02 07:50:51 +00:00
Aurelien Foret
2cc81d9eea code cleanup 2005-05-02 07:42:32 +00:00
Aurelien Foret
0069357006 updated REASON constants to be consistent with databases from pacman 2.9.x 2005-05-02 07:42:18 +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
beda47fd22 code cleanup 2005-04-24 21:36:30 +00:00
Aurelien Foret
a9540e2c76 fixed potential memory leaks 2005-04-24 21:36:18 +00:00
Aurelien Foret
49257b49f9 avoided to load twice the same target in remove_loadtarget() 2005-04-24 21:27:35 +00:00
Aurelien Foret
7c04fe95ac added support for the package reason field 2005-04-24 20:11:10 +00:00
Aurelien Foret
90b9888d3a got ride of an ORE tag in resolvedeps() 2005-04-24 20:06:00 +00:00
Aurelien Foret
11bf5f8b65 some more efficiency in remove_prepare() cascade loop 2005-04-24 20:04:52 +00:00
Aurelien Foret
55704d3742 fixed a commented MLK in db_find_conflicts()/CHECK1 2005-04-24 20:04:26 +00:00
Aurelien Foret
abbb2cfcf0 code cleanup 2005-04-24 18:58:34 +00:00
Aurelien Foret
5a13de80a1 fixed the format of %REASON% entry when writing it 2005-04-24 11:27:35 +00:00
Aurelien Foret
cdd81bf177 - fixed a cut'n'paste bug with %REASON% entry
- factorized code between %SIZE% and %CSIZE% reading
2005-04-24 11:24:18 +00:00
Aurelien Foret
85203ff675 use the cache instead of calling db_scan() 2005-04-24 11:17:39 +00:00
Aurelien Foret
95fac9cdb2 code cleanup 2005-04-24 11:15:37 +00:00
Aurelien Foret
2f5060e439 logs cleanup 2005-04-24 11:15:27 +00:00
Aurelien Foret
bcd41a4a3d removed deprecated comments in add_commit() 2005-04-24 11:14:50 +00:00
Aurelien Foret
e1c7d79ecb added transaction events for sync_commit operations 2005-04-24 11:14:15 +00:00
Aurelien Foret
45247b4e35 fixed some potential resource leaks 2005-04-24 09:14:25 +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
348cb923c7 renamed list_is_ptrin() in list_is_in() 2005-04-23 08:28:13 +00:00
Aurelien Foret
4fcec8f03f first steps to support REPLACES feature 2005-04-20 20:50:49 +00:00
Aurelien Foret
447885fdc3 code beautifying 2005-04-20 20:50:17 +00:00
Aurelien Foret
406f383192 avoided two calls to db_scan() in checkdeps() 2005-04-20 19:46:53 +00:00
Aurelien Foret
b7d584feb6 - fixed args order in list_is_ptrin()
- fixed several memory leaks
2005-04-20 19:41:54 +00:00
Aurelien Foret
49d2cdc2f9 fixed args order in list_is_ptrin() 2005-04-20 19:41:33 +00:00
Aurelien Foret
170dd807f5 - fixed args order in list_is_ptrin() 2005-04-20 19:41:22 +00:00
Aurelien Foret
77520f9d43 avoided a call to db_scan() 2005-04-20 19:40:33 +00:00
Aurelien Foret
3ad6393baf bypass trans_prepare() if there is no target 2005-04-20 19:39:41 +00:00
Aurelien Foret
a215d1ebe0 more work for sync_commit() 2005-04-17 20:09:06 +00:00
Aurelien Foret
cd26093b06 add_loadtarget: load package info only when needed 2005-04-17 10:02:47 +00:00
Aurelien Foret
6dfa3ef6af improved logs for package removal 2005-04-17 10:01:47 +00:00
Aurelien Foret
cb0182160d renamed PM_ERR_INVALID_NAME to PM_ERR_PKG_INVALID_NAME 2005-04-17 10:01:22 +00:00
Aurelien Foret
9b64e31286 more sanity checks for pkg_load() 2005-04-17 10:00:49 +00:00
Aurelien Foret
6e5bbdb544 - general cleanup
- added alpm_trans_sysupgrade() function
- relocated some defines
2005-04-16 22:23:28 +00:00
Aurelien Foret
36087bb392 - reworked pmsyncpkg_t structure
- got ride of uneeded handle external references
2005-04-16 22:15:50 +00:00
Aurelien Foret
29a712e393 - reworked transaction prototypes
- added a trans_sysupgrade function
2005-04-16 22:14:34 +00:00
Aurelien Foret
43ea74cce6 reworked handle structure initialization 2005-04-16 16:43:55 +00:00
Aurelien Foret
89f0ccc3cc reworked transaction prototypes 2005-04-16 16:42:43 +00:00
Aurelien Foret
31da982deb more work for sync_commit() 2005-04-14 21:07:38 +00:00
Aurelien Foret
c78bcae401 -fixed 2 logs
- some sync_commit() rework
2005-04-13 21:01:28 +00:00
Aurelien Foret
2669dfeb60 replaced a call to list_free by the macro FREELIST 2005-04-13 20:00:05 +00:00
Aurelien Foret
e115a5829e - updated sync feature
- added 2 new transaction events
2005-04-13 19:59:04 +00:00
Aurelien Foret
45c7e10afc updated a log 2005-04-13 19:57:23 +00:00
Aurelien Foret
7775afa59b added function pkg_splitname (not used for now) 2005-04-08 20:43:13 +00:00
Aurelien Foret
70481b0ee1 reworked alpm_db_readpkg 2005-04-08 20:42:27 +00:00
Aurelien Foret
3e77af5182 more work in sync_prepare 2005-04-08 19:37:23 +00:00
Aurelien Foret
405d3c9a9f fixed a potential segfault 2005-04-08 19:22:00 +00:00
Aurelien Foret
2decade81f removed a leftover comment 2005-04-08 17:27:03 +00:00
Aurelien Foret
36a29b6553 fixed a small memory leak 2005-04-08 16:29:55 +00:00
Aurelien Foret
0074e9e312 more work to backport the sync features from pacman 2.9.5 2005-04-06 21:01:40 +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
4091aa1165 package 'reason' field should default to 0 2005-04-06 18:30:50 +00:00
Aurelien Foret
3b49720e39 updated structure names (PM_SYNCPKG), and added transaction queues (install & remove) 2005-04-06 18:29:17 +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
08b34b8aef added logs for cache generation 2005-04-05 17:21:08 +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
d9a96064ab reworked a log 2005-04-03 08:10:54 +00:00
Aurelien Foret
686e8eaeb5 more work to backport pacman_sync from pacman 2.9.5 2005-04-02 23:21:10 +00:00
Aurelien Foret
80bae750cd - added 'lastupdate' field to pmdb_t
- added a new public function alpm_db_getinfo
- added a public parameter PM_PKG_DB for PM_PKG struct
2005-04-02 23:20:00 +00:00
Aurelien Foret
a94c24c406 fixed a log level 2005-04-02 23:17:44 +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
1c28e29eb4 added support for PACKAGES field in alpm_trans_getinfo 2005-04-02 20:33:11 +00:00
Aurelien Foret
c5418ebfbc reworked resolvedeps:
- used the cache instead of db_scan() calls
- improved log messages
- more sanity checks
2005-04-02 20:30:09 +00:00
Aurelien Foret
2bbf118842 added RESOLVEDEPS to the list of transaction events 2005-04-02 20:28:01 +00:00
Aurelien Foret
4d21e4f721 started the work on "pacman_sync" 2005-03-30 22:32:43 +00:00
Aurelien Foret
b009c5bafa checked for db_update() archive existence 2005-03-29 22:19:11 +00:00
Aurelien Foret
73c6779067 removed an uneeded call to db_scan 2005-03-29 22:18:00 +00:00
Aurelien Foret
c1b2f48abf fixed a log mask 2005-03-29 22:17:27 +00:00
Aurelien Foret
3bbfdf4ce8 backport from pacman 2.9.5 - chdir 2005-03-29 21:15:15 +00:00
Aurelien Foret
d30333756a put back 3 _alpm_log() calls 2005-03-29 20:58:43 +00:00
Aurelien Foret
23cd8d87cb put back 5 _alpm_log() calls 2005-03-29 20:54:47 +00:00
Aurelien Foret
cca46deb6f changed alpm_db_register() prototype 2005-03-29 20:52:22 +00:00
Aurelien Foret
95ea99e197 Turned pmdepmissing_t into an opaque structure 2005-03-29 20:31:03 +00:00
Aurelien Foret
e5389ddc62 clearer string length for a strncpy call 2005-03-29 17:20:43 +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
3ac94cc719 maked use of db->path instead of handle->root+handle->dbpath+db->treename 2005-03-28 20:01:11 +00:00
Aurelien Foret
fd09a500d6 reworked dbpath handling to make it possible to use databases stored at different locations at the same time 2005-03-28 19:59:33 +00:00
Aurelien Foret
61231c9ba8 replaced occ of list_free() by FREELIST/FREELISTPTR macros 2005-03-28 08:25:33 +00:00
Aurelien Foret
56917dc304 improved logs (use _alpm_log instead of fprintf) 2005-03-28 08:21:17 +00:00
Aurelien Foret
9c17eb88f0 improved log message for alpm_db_update 2005-03-28 07:50:30 +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
4ad99832b5 renamed temp files from pacman_XXXXXX to alpm_XXXXXX 2005-03-27 07:42:21 +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
e39d05b31b - fixed a small memory leak
- took into account sliptdep returned value
2005-03-26 21:20:03 +00:00
Aurelien Foret
03f2ec2d0b rewrote list_free to not be recursive anymore
(it can trigger segmentation faults when freeing long lists)
2005-03-26 20:56:08 +00:00
Aurelien Foret
7767095c59 backport from pacman 2.9.5 (formatting, commentaries) 2005-03-26 20:24:57 +00:00
Aurelien Foret
d77f8be802 backport from pacman 2.9.5 (splitdep returns an int) 2005-03-26 20:23:03 +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
43f4505b1e More backport from pacman 2.9.5 (mainly for resolvedeps) 2005-03-26 13:29:47 +00:00
Aurelien Foret
10b0e0d9af Backport from pacman 2.9.5 2005-03-26 09:00:49 +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
6e63ccfd0f backported fixes for trim() from pacman 2.9.5 2005-03-25 21:13:23 +00:00
Aurelien Foret
3b229d3a1a added a missing goto! 2005-03-25 06:39:00 +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
5e2a2637c8 removed duplicated prototype 2005-03-24 21:39:20 +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
b232126e50 removed leftover debug printf 2005-03-23 19:06:44 +00:00
Aurelien Foret
221bda7972 moved db_find_conflicts from db.c to conflict.c 2005-03-22 20:21:12 +00:00
Aurelien Foret
8179f7cbaa - added db_setlastupdate to db.c
- moved db_update from db.c to alpm.c
2005-03-22 20:14:49 +00:00
Aurelien Foret
1b7b6e47a1 replaced rewinddir() calls by db_rewind() 2005-03-20 14:21:19 +00:00
Aurelien Foret
72c2439576 Added support for .lastupdate files (from pacman 2.9.1) 2005-03-20 09:22:03 +00:00
Aurelien Foret
bddea378b9 Rework for fixed length strings 2005-03-19 18:15:31 +00:00
Aurelien Foret
0a072b57c5 Removed an hardcoded string length 2005-03-19 17:56:22 +00:00
Aurelien Foret
0d69a4aeb0 Removed an hardcoded string length 2005-03-19 17:55:57 +00:00
Aurelien Foret
4764f08852 Fixed some typo... 2005-03-18 18:36:29 +00:00
Aurelien Foret
3658d50727 Removed unuseful getuid() calls 2005-03-18 18:35:33 +00:00
Aurelien Foret
c0f681a0ae One more sanity check, and one more ORE tag 2005-03-18 18:33:55 +00:00
Aurelien Foret
7a01ed50b9 Removed hardcoded reference to fields of packages 2005-03-16 22:57:12 +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
d2ce029a58 Code reformatting 2005-03-16 21:56:02 +00:00
Aurelien Foret
ad4ab9e50c Bring back db_scan() modifications from pacman 2.9.1
(to cope with .lastupdate files in the db path)
2005-03-16 21:49:18 +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
d8cdd54a20 Moved log callback definition to alpm.h 2005-03-16 20:46:30 +00:00
Aurelien Foret
03558450c5 *** empty log message *** 2005-03-16 20:42:11 +00:00
Aurelien Foret
b8bd907dc9 New ORE tag 2005-03-16 20:25:38 +00:00
Aurelien Foret
22c0037a08 Added DB_TREENAME_LEN define to avoid hardcoded length for database string 2005-03-16 20:23:50 +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
b0f613c211 Removed the "__" prefix from __pm_logcb and __pm_logmask
Not needed for library internal data
2005-03-16 20:06:11 +00:00
Aurelien Foret
49415cb675 Added a missing argument in db_create() 2005-03-16 20:04:17 +00:00
Aurelien Foret
755a195e54 Fixed a typo 2005-03-16 20:00:25 +00:00
Aurelien Foret
2ad431515b Removed a leftover debug printf 2005-03-16 19:54:55 +00:00
Aurelien Foret
c583f03886 Added LOG_STR_LEN define to avoid hardcoded length for log strings 2005-03-16 19:50:57 +00:00
Aurelien Foret
fac045a958 Removed a hardcoded reference to the 'local' database in db_create() 2005-03-16 19:36:15 +00:00
Aurelien Foret
606c70fdc9 Added a db_update() function to manage sync databases updates.
The API provides a wrapper alpm_db_update().
2005-03-16 19:31:20 +00:00
Aurelien Foret
5faecdb523 Renamed PACXXX defines to PM_XXX 2005-03-16 19:18:09 +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