summaryrefslogtreecommitdiff
path: root/lib/formats.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-03Initialize nb before usePanu Matilainen1-1/+1
2008-04-30Rewrite xmlFormat() and remove useless xmlstrlen() and xmlstrcpy()Jindrich Novy1-65/+37
2008-04-16Oops, only free if allocated ;)Panu Matilainen1-2/+4
2008-04-16Plug a memory leak in armorFormat()Panu Matilainen1-1/+4
2008-04-07Remove static print buffer from pgpHexStr, return malloc'ed memory insteadPanu Matilainen1-1/+2
- inlined to get xmalloc() from system.h for consistent malloc fail behavior - convert callers for new behavior, apart from some debug fprintf()'s
2008-04-07Missing rpmstring.h includePanu Matilainen1-0/+1
2008-04-03Simplify message key creation in i18nTag()Jindrich Novy1-13/+6
2008-03-07Another pile of read-only constants marked as such..Panu Matilainen1-2/+2
2008-02-05Mass convert (back) to rpmTag as it's usable everywhere nowPanu Matilainen1-1/+1
- cast away a few cases where the enum usage causes ridiculous amount of compiler warnings from unhandled switch-cases
2008-02-05Use rpmTagType always now that it's available everywherePanu Matilainen1-23/+23
- RPM_MASK_TYPE is not a datatype, move it out of the enum - add missing cases python header handling to shut up gcc
2008-02-05Use rpm_flag_t for header generic bitfields (file flags etc)Panu Matilainen1-5/+7
- additionally use rpmfileAtts / rpmVerifyFlags consistently where appropriate
2008-02-04Add rpm_off_t type for file size types, use where spottedPanu Matilainen1-2/+2
- preliminaries for bumping up the max size, use rpm-specific type as off_t size varies, header data needs fixed size
2008-01-30Include spring-cleaningPanu Matilainen1-2/+2
- put some consistency into include ordering - everything (apart from bits missed ;) is now ordered like this 1. "system.h" 2. other system includes 3. rpm public headers 4. rpm private headers 5. "debug.h"
2008-01-30rpmlib.h mass evictionPanu Matilainen1-1/+2
- explicitly include what's really needed instead - document remaining uses
2008-01-02Use size_t, not int for header format padding argsPanu Matilainen1-8/+8
2007-12-19Add rpm_data_t (and _constdata_t) for header data, use everywherePanu Matilainen1-33/+33
- consistent, easy to grep for and change... - bogus consts removed where spotted
2007-12-19Const pedantryPanu Matilainen1-8/+10
2007-12-15Avoid mixing local malloc with const parameter pointerPanu Matilainen1-5/+6
2007-12-14Another bunch of bogus const removalsPanu Matilainen1-2/+2
2007-12-13Big bunch of int -> size_t corrections for various signature itemsPanu Matilainen1-4/+4
2007-12-13Use rpm_tagtype_t everywhere for rpm (header) tagtype typePanu Matilainen1-23/+23
- typedef'ed as uint32_t, doesn't matter much but negative types dont exist - easy to grep, easy to change... - define RPM_FORCEFREE_TYPE instead of -1 "magic" for forcing headerFreeData (ugh), easier to grep for and change than "-1"
2007-12-13Use rpm_tag_t everywhere for rpm (header) tag typePanu Matilainen1-1/+1
- typedef'ed as int32_t for now, negative values used in some places for error cases - easy to grep, easy to change... - add RPMTAG_NOT_FOUND define, used in place of -1 "magic",
2007-12-13Use rpm_count_t everywhere for header data countPanu Matilainen1-1/+1
- typedef'ed as uint32_t as that's the key size limit imposed by BDB, relevant for RPM_BIN_TYPE - easy to change to whatever later on as it's now consistent everywhere - explicit casts where needed to avoid new warnings from signedness
2007-12-13Use rpm_count_t everywhere for header data countPanu Matilainen1-18/+20
- typedef'ed as uint32_t as that's the key size limit imposed by BDB, relevant for RPM_BIN_TYPE - easy to change to whatever later on as it's now consistent everywhere
2007-12-08Switch to <rpm/foo.h> style for public headersPanu Matilainen1-4/+4
- adjust include paths accordingly
2007-12-02Move rpmsenseFlag enums to rpmds where they logically belongPanu Matilainen1-0/+1
2007-11-27Move rpmfiBuildFNames() to rpmfi now that it's possiblePanu Matilainen1-1/+0
2007-11-27Move legacy%#¤%#¤ to librpm now that it can move..Panu Matilainen1-1/+1
2007-11-26Type pedantery.Ralf Corsépius1-1/+1
2007-11-26Eliminate type "byte"Ralf Corsépius1-1/+1
2007-11-23Expand private include file names to be relative to $(top_srcdir)Ralf Corsépius1-3/+3
2007-11-22Calculating file checksums aint legacy activityPanu Matilainen1-1/+1
- move the checksumming into librpmio - rename domd5() to rpmDoDigest() with future expansion for specifying digest algorithm type (ignored for now) - rearrange parameters to leave return types last - one less rpmio_internal outside rpmio/, whee... - used all over the rpm tree, and it knows about handling prelinked files so potentially useful for outside users, might as well export it - new public header rpmfilutil.h for collecting this sort of stuff
2007-11-23Use #include <x.h> syntax to include public headers.Ralf Corsépius1-3/+3
2007-11-16Split digest-stuff out of rpmio_internal to separate headerPanu Matilainen1-1/+1
2007-11-07Document rpmio_internal.h uses outside rpmio/Panu Matilainen1-1/+1
2007-11-07Remove unused variablePanu Matilainen1-1/+0
2007-11-02Use NSS instead of beecrypt for encryption (Tomas Mraz)Panu Matilainen1-13/+12
2007-10-28Include "rpmlib.h" instead of <rpmlib.h>.Ralf Corsépius1-1/+1
2007-10-28Include "rpmfi.h" instead of <rpmfi.h>.Ralf Corsépius1-1/+1
2007-10-28Include "rpmmacro.h" instead of <rpmmacro.h>.Ralf Corsépius1-1/+1
2007-10-26Eliminate [u|]int_[8|16|32]. Use c99 stdint.h types instead.Ralf Corsépius1-35/+35
2007-09-20Rename tagName/Value/Type() to rpmTagGet*()Panu Matilainen1-1/+1
- namespacing - avoid collisions with tagtype definitions
2007-09-20Remove unnecessary includePanu Matilainen1-1/+0
2007-09-11Remove splint tags.Ralf Corsépius1-212/+76
2007-09-03Rip out unnecessary selinux babbage.Panu Matilainen1-50/+0
- rpm doesn't manage selinux contexts so it doesn't need to know about them other than when creating files - implement --fscontext as popt alias since it's easy to do so...
2007-09-03Kill remaining uses of selinux filecontexts in headers..Panu Matilainen1-25/+0
2007-07-11Quiesce false gcc unused variable warning.Panu Matilainen1-1/+2
2007-06-18Don't segfault on a header without RPMTAG_NAME (rhbz#239557).Panu Matilainen1-2/+5
Patch from JBJ.
2005-01-26- add missing #if defined(ENABLE_NLS) (#146184).jbj1-0/+2
CVS patchset: 7714 CVS date: 2005/01/26 04:50:03
2005-01-17Build on macosx.jbj1-1/+5
CVS patchset: 7701 CVS date: 2005/01/17 23:58:09