Age | Commit message (Collapse) | Author | Files | Lines |
|
- Eliminate the quirky formatPrefix buffer argument to formatter functions,
deal with the width at formatValue() if specified.
- This not only simplifies things a great deal, removes a nasty
unbounded buffer writing from formatter functions and speeds things
up somewhat by removing extra rasprintf()'s in many cases, it also
gives us width formatting of everything including "error messages"
like "(none)" and "(not a number)" which previously got dumped without
any formatting.
- The cost of this is the loss of zero padding support for numeric
data but that's hardly a big deal.
|
|
- There are places in rpmio and build that would benefit from hashing, but
hashFunctionString() being internal to librpm has prevented that. Rename
to rstrhash() to resemble the other foo in rpmstring.h for
minimal namespacing as its now public function and update callers.
- Also mark the function as "pure" - it only looks at its arguments.
This is one of the busiest functions in entire rpm so any optimization
no matter how minor is well worth it.
- Hereby awarding hashFunctionString() with the grand prize for
the Most Moved Around Function in rpm ;)
|
|
- We'll want to unify this and the similar caching done in librpmbuild,
so we need to expose these in the ABI at least, rename to get
them namespaced and use a separate source module (again) as
this is a pretty distinct functionality.
- This would really belong to librpmio but leaving here for now...
|
|
- The header getters are used for both signature header and the "normal"
header, and even beyond that there's no requirement for a tag in
the header to be part of rpmTag enum. The headerPutFoo() variants
technically do require the tag to be found in the tag table (ie be
an rpmTag) but they still operate on the integer value, they dont
require it to be a "true" enum.
- Inside tagexts.c there are a few "true" enum uses in the
internal helper functions, leave them be.
- While this technically changes some the most commonly used API's,
this wont affect callers really: if the callers were using an enum
before, enum can always be cast naturally to an integer. The other
way around was the problematic part (ie the braindamage we're fixing
here now...)
|
|
- Stuff the tag prototypes into misc.h in lack of better place
- Actually use the headerTagFooFunction prototypes instead of void *
|
|
- Eliminates some copy-paste slopping. Verify code traditionally only
shows the first attribute, take care to keep that format to avoid
breaking scripts unnecessarily
|
|
|
|
- Besides there not being much point in having a separate source + header
for a small single function, this fixes build on case-insensitive
systems such as Mac OS X.
|
|
- we have list of known archs in rpmrc, might as well use it
- avoids having to patch & recompile rpm just to have rpmtsInitIterator()
recognize new archs when it's runtime configurable otherwise
- checking against compatible arch would be saner except then people could
get into even more trouble using --ignorearch...
|
|
|
|
|
|
- no uses outside librpm itself, and there they can be hidden away from
exported ABI whereas in librpmio they cant
|
|
|
|
- just use regular setenv() instead
- we already carry setenv() in misc/ for platforms that don't have it
|
|
|
|
- explicitly include what's really needed instead
- document remaining uses
|
|
- probably not very useful outside rpm but used all over the tree,
- rename to rpmMkTempFile() for namespacing since we're exporting it now
|
|
- splitString, freeSplitString, stripTrailingChar
|
|
|
|
|
|
CVS patchset: 7139
CVS date: 2004/03/02 01:31:01
|
|
Spliddles for rpmio, drill h_errno all the way through.
CVS patchset: 6826
CVS date: 2003/05/08 20:39:29
|
|
CVS patchset: 5542
CVS date: 2002/07/08 14:21:26
|
|
- proof-of-concept rpmcache functionality.
CVS patchset: 5539
CVS date: 2002/07/04 21:08:05
|
|
CVS patchset: 5521
CVS date: 2002/06/22 18:51:56
|
|
CVS patchset: 5379
CVS date: 2002/04/08 18:56:01
|
|
CVS patchset: 5139
CVS date: 2001/10/29 16:39:13
|
|
CVS patchset: 5128
CVS date: 2001/10/21 21:43:32
|
|
CVS patchset: 5127
CVS date: 2001/10/20 22:31:09
|
|
CVS patchset: 5124
CVS date: 2001/10/19 19:51:18
|
|
CVS patchset: 5118
CVS date: 2001/10/17 16:43:36
|
|
CVS patchset: 5106
CVS date: 2001/10/15 03:22:10
|
|
- display signature packets before exec'ing gpg/pgp when verifying.
CVS patchset: 5090
CVS date: 2001/09/29 17:44:45
|
|
- eliminate DYING code.
CVS patchset: 5082
CVS date: 2001/09/25 20:51:34
|
|
- drop lib/md5*.[ch] files in favor of beecrypt.
CVS patchset: 5081
CVS date: 2001/09/25 16:21:44
|
|
CVS patchset: 5048
CVS date: 2001/09/15 13:49:11
|
|
CVS patchset: 4876
CVS date: 2001/06/17 22:18:03
|
|
CVS patchset: 4872
CVS date: 2001/06/17 00:36:01
|
|
- 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
|
|
CVS patchset: 4834
CVS date: 2001/06/05 19:26:22
|
|
CVS patchset: 4833
CVS date: 2001/06/04 13:55:58
|
|
- fix: return suggested packages when using Depends cache.
CVS patchset: 4823
CVS date: 2001/05/31 22:31:14
|
|
- internalize locale insensitive ctype(3) in rpmio.h
- boring lclint annotations and fiddles.
CVS patchset: 4721
CVS date: 2001/04/29 01:05:43
|
|
Doxygen annotations for rpmdep section.
Add manifests for install modes.
CVS patchset: 4675
CVS date: 2001/04/10 12:36:45
|
|
CVS patchset: 4500
CVS date: 2001/01/26 17:06:09
|
|
- fix: resurrect --excludepath (#19666).
CVS patchset: 4418
CVS date: 2001/01/09 04:07:49
|
|
CVS patchset: 4132
CVS date: 2000/08/27 19:27:03
|
|
CVS patchset: 4105
CVS date: 2000/08/23 13:02:13
|
|
CVS patchset: 3823
CVS date: 2000/06/09 19:33:52
|
|
CVS patchset: 3822
CVS date: 2000/06/09 18:57:23
|