summaryrefslogtreecommitdiff
path: root/lib/headerfmt.c
AgeCommit message (Expand)AuthorFilesLines
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
2008-05-12Add simpler headerFormat() function, deprecate headerSprintf()Panu Matilainen1-1/+14
2008-05-12Split header sprintf formatting to separate sourcePanu Matilainen1-0/+1131