summaryrefslogtreecommitdiff
path: root/lib/headerfmt.c
AgeCommit message (Expand)AuthorFilesLines
2013-02-02Extended condition supportAnas Nashif1-3/+23
2011-08-17Handle query format field width centrally in formatValue()Panu Matilainen1-5/+13
2011-08-17Take length of format width specifier into account for format string bufferPanu Matilainen1-1/+1
2011-08-17Validate query format field width specifier is sanePanu Matilainen1-1/+7
2011-05-28Eliminate dead NULL-assignments at scope-end in librpm, part IPanu Matilainen1-1/+1
2011-04-28Simplify findTag()Jindrich Novy1-14/+8
2010-11-29Fix long-standing segfault on unknown tags on header iteration queriesPanu Matilainen1-31/+26
2010-10-22Switch header APIs to use rpmTagVal instead of rpmTagPanu Matilainen1-3/+3
2010-09-22Use headerNextTag() for header format iterationPanu Matilainen1-6/+2
2010-09-21Move PTOK type enum out of the sprintfToken structPanu Matilainen1-7/+9
2010-09-21Return typed pointer from headerformat cacheFree()Panu Matilainen1-1/+1
2010-09-21Use RPMTAG_NOT_FOUND instead of for "invalid tag" valuePanu Matilainen1-1/+1
2010-09-21Use proper types for tag and format extension functionsPanu Matilainen1-13/+1
2010-09-21Use actual rpmTags in place of the old HEADER_FOO defines everywherePanu Matilainen1-1/+1
2010-04-01On header iteration format queries, dump the contents as-isPanu Matilainen1-1/+4
2009-10-12Fix format extension memleak on empty stringsPanu Matilainen1-1/+1
2009-10-12Permit conditional query formats on not yet cached data tooPanu Matilainen1-1/+1
2009-09-09Reduce the number of exit points in parseFormat() to error and ok casesPanu Matilainen1-25/+16
2009-09-07Eliminate bogus variable initializationPanu Matilainen1-3/+1
2009-08-31Replace equal/not equal uses of str[n]cmp() with rstreq[n] in header codePanu Matilainen1-4/+4
2009-07-23Kill off lclint remnants everywherePanu Matilainen1-1/+0
2009-07-14Fix memory allocation for token arrayLubomir Rintel1-1/+1
2008-12-09Return nothing at all on empty array queryformatsPanu Matilainen1-6/+1
2008-12-04Avoid rpmtd abuse to report "(none)" when no data is foundPanu Matilainen1-12/+7
2008-09-18Don't segfault on unknown format specifiersPanu Matilainen1-1/+1
2008-07-08Shove header legacy interfaces into rpmlegacy.hPanu Matilainen1-8/+0
2008-06-07rpmtdCount() knows how to handle BIN types, use it..Panu Matilainen1-6/+1
2008-05-26Convert hsaNext() to new header iterator interfacePanu Matilainen1-5/+5
2008-05-21Add arraysize formatPanu Matilainen1-14/+4
2008-05-21Drop unused variables from formatValues()Panu Matilainen1-2/+0
2008-05-21Lose padding argument from formattersPanu Matilainen1-14/+3
2008-05-21Add rpmtdFormat() method and enumeration of supported formatsPanu Matilainen1-2/+2
2008-05-21Add stringFormat() for barebones string representationPanu Matilainen1-71/+3
2008-05-21Make formatter functions operate on rpmtd current itemPanu Matilainen1-11/+7
2008-05-21Push rpmtd a bit deeper into formattingPanu Matilainen1-25/+15
2008-05-21Minimally convert formatting to pass around rpmtdPanu Matilainen1-36/+34
2008-05-21Remove unused datafree handling from formatValue()Panu Matilainen1-4/+0
2008-05-16Eliminate rpmHeaderFormats and rpmHeaderTagExtensions from the APIPanu Matilainen1-2/+4
2008-05-16Push finding of formatter and tag extension functions down to formats.cPanu Matilainen1-7/+2
2008-05-16Make extension formatter functions opaquePanu Matilainen1-1/+17
2008-05-16Eliminate the now unnecessary extension type fieldsPanu Matilainen1-3/+1
2008-05-16Split format and tag extensions to separate tablesPanu Matilainen1-1/+1
2008-05-15Unbreak conditional formattingPanu Matilainen1-1/+2
2008-05-15Eliminate unnecessary extension fieldsPanu Matilainen1-13/+14
2008-05-15Permit tags down to HEADER_IMAGE in queries to match previous behaviorPanu Matilainen1-1/+1
2008-05-15Unify header and extension tag handling of headerFormat()Panu Matilainen1-114/+49
2008-05-12Remove tags from headerSprintfArgumentsPanu Matilainen1-2/+0
2008-05-12Use rpmTagGetFoo() instead of local myTagFoo() versionsPanu Matilainen1-47/+3
2008-05-12Push extension defaults one level deeper into headerFormat()Panu Matilainen1-11/+3
2008-05-12Simplify header extension handlingPanu Matilainen1-12/+4