Commit Graph

26 Commits

Author SHA1 Message Date
jbj c499cd119c Remove foo.iter() method, use tp_iter mechanism, for rpmmi/rpmds/rpmfi.
CVS patchset: 5559
CVS date: 2002/07/19 20:26:38
2002-07-19 20:26:38 +00:00
jbj 4252cddc29 Establish mechanism for up2date to reconfigure rpmlib.
Disambiguate failures to import with error messages.

CVS patchset: 5528
CVS date: 2002/06/28 00:35:57
2002-06-28 00:35:57 +00:00
jbj 2b83d36c08 - eliminate db1 support.
- fix: rpmdb iterator memory leak in python bindings.
- fix: include <sys/time.h> for 6.2 python modules.
- remove vestiges of mipseb arch (#62408).

CVS patchset: 5414
CVS date: 2002/05/02 22:16:30
2002-05-02 22:16:30 +00:00
jbj ffdfd1056e - speedup large queries by ~50%.
- revert to presentation ordering Yet Again (#62158).
- non-glibc: on upgrade, mergesort is much faster than quicksort.

CVS patchset: 5377
CVS date: 2002/04/07 19:52:42
2002-04-07 19:52:42 +00:00
jbj 5c2e4bdc1e Annotation fiddles.
CVS patchset: 5336
CVS date: 2002/02/25 15:29:22
2002-02-25 15:29:22 +00:00
jbj 64a1d1afdc - fix: error message on failed package installs resurrected.
- python: memory leaks in headerLoad/headerunload bindings.
- python: retrofit sha1 digest using RPMTAG_SHA1RHN.
- python: change rhnUnload bindings.

CVS patchset: 5032
CVS date: 2001/08/27 18:39:17
2001-08-27 18:39:17 +00:00
jbj 22b9de5f33 - add rpmdbSetIteratorRE() for regex matching in database iterators.
- permit rpm -qa to take RE args applied to name tag.
- permit dbiFindMatches() to use version/release patterns.
- eliminate all uses of rpmdbSetIterator{Version,Release}.

CVS patchset: 4859
CVS date: 2001/06/13 20:57:06
2001-06-13 20:57:06 +00:00
jbj 1b87bd9ef7 - remove dead code frpm popt table reorg.
- more CLI typedefs/prototypes moved from rpmlib.h to rpmcli.h.
- rpm --verify skips files in non-installed states.
- rpm --verify skips content checks for %ghost files.
- rpm --verify displays config/doc/gnost/license/readme atrrs for files.
- rpm --verify checks immutable header region digest if available.
- rpmbuild adds header region digest (SHA1 as string).
- use rpmTag* typedefs in new hge/hae/hme/hre header vectors.

CVS patchset: 4854
CVS date: 2001/06/12 04:10:21
2001-06-12 04:10:21 +00:00
jbj 750d54d8a3 lclint fiddles.
CVS patchset: 4833
CVS date: 2001/06/04 13:55:58
2001-06-04 13:55:58 +00:00
jbj 27009dd00b - harden rpmdb iterators from damaged header instance segfaults.
CVS patchset: 4774
CVS date: 2001/05/11 23:25:46
2001-05-11 23:25:46 +00:00
jbj c7ee573367 - rpm database has rpm.rpm g+w permissions to share db3 mutexes.
- expose more db3 macro configuration tokens.
- move fprint.[ch] and hash.[ch] to rpmdb directory.
- detect and fiddle incompatible mixtures of db3 env/open flags.
- add DBI_WRITECURSOR to map to db3 flags with CDB database model.
- add rpmdbSetIteratorRewrite to warn of pending lazy (re-)writes.

CVS patchset: 4765
CVS date: 2001/05/11 04:01:04
2001-05-11 04:01:04 +00:00
jbj d78e027808 - still more boring lclint annotations and fiddles.
CVS patchset: 4738
CVS date: 2001/05/03 21:00:18
2001-05-03 21:00:18 +00:00
jbj 81ac89f4e6 - more boring lclint annotations and fiddles.
CVS patchset: 4725
CVS date: 2001/04/29 22:43:01
2001-04-29 22:43:01 +00:00
jbj c83cfd5ed5 - transaction iterator(s) need to run in reverse order on pure erasures.
- erasures not yet strict, warn & chug on unlink(2)/rmdir(2) failure.

CVS patchset: 4723
CVS date: 2001/04/29 16:08:55
2001-04-29 16:08:55 +00:00
jbj f75a3f71ab Doxygen annotations for config files.
Doxygen annotations for rpmdep section.
Add manifests for install modes.

CVS patchset: 4675
CVS date: 2001/04/10 12:36:45
2001-04-10 12:36:45 +00:00
jbj 8f99e61fc7 Merge changes from rpm-4.0.2.
Add iterators and reverse flag so that erase transactions can run backwards.

CVS patchset: 4556
CVS date: 2001/02/17 17:53:21
2001-02-17 17:53:21 +00:00
jbj c74cc1df1c - fix: extra newline in many error messages (#23947).
- fix: rpm -Va with db1 needs per-iterator, not per-index, offset.
- add install/remove transaction id tags.

CVS patchset: 4441
CVS date: 2001/01/15 23:09:42
2001-01-15 23:09:42 +00:00
jbj 2e13767946 doxygen annotations for build/*.
- fix: don't hang on build error.
- fix: remove "error: " prefix from signature verification message.

CVS patchset: 4426
CVS date: 2001/01/11 14:13:04
2001-01-11 14:13:04 +00:00
jbj 23fcf67cb5 - fix: avoid locale issues with strcasecmp/strncasecmp (#23199).
- remove almost all explicit uses of stderr in rpmlib using rpmError().

CVS patchset: 4406
CVS date: 2001/01/03 20:19:27
2001-01-03 20:19:27 +00:00
jbj 190b5df369 - send query/verify output through rpmlog().
- resurrect rpmErrorSetCallback() and rpmErrorString().

CVS patchset: 4372
CVS date: 2000/12/26 13:10:18
2000-12-26 13:10:18 +00:00
jbj 2108d886ba Revert rpmrc excision for now.
rpmio: add rpmlog.c/rpmlog.h.

CVS patchset: 4163
CVS date: 2000/09/14 11:42:48
2000-09-14 11:42:48 +00:00
jbj f2efc7263e - unify rpmError and rpmMessge interfaces through rpmlog.
- collect and display rpm build error messages at end of build.

CVS patchset: 4149
CVS date: 2000/09/01 21:15:40
2000-09-01 21:15:40 +00:00
jbj 4f0179f7ee Unify rpmError() and rpmMessage() on top of rpmlog().
CVS patchset: 4148
CVS date: 2000/08/31 02:38:57
2000-08-31 02:38:57 +00:00
jbj 679aca04c8 Doxygen annotations.
CVS patchset: 4147
CVS date: 2000/08/30 17:47:53
2000-08-30 17:47:53 +00:00
jbj 918188a90c Doxygen annotations.
CVS patchset: 4129
CVS date: 2000/08/27 18:34:02
2000-08-27 18:34:02 +00:00
jbj 4afe94756b - make librpmio standalone.
CVS patchset: 3824
CVS date: 2000/06/09 21:24:37
2000-06-09 21:24:37 +00:00