summaryrefslogtreecommitdiff
path: root/rpmio/macro.c
AgeCommit message (Expand)AuthorFilesLines
2012-12-18display the actual unknown option instead of '?'Thierry Vignaud1-1/+1
2012-11-01Enable built-in %dirname macroPanu Matilainen1-3/+1
2012-05-22Add support for 7zip compressed tarballsChristophe Fergeau1-0/+3
2012-05-10Keep the macro buffer terminated on appendPanu Matilainen1-1/+2
2012-05-10Fix off-by-ones in mbAppend() and mbAppendStr()Panu Matilainen1-2/+2
2011-05-31Clean up + clarify popMacro() a bitPanu Matilainen1-10/+15
2011-05-31Use popMacro() when freeing the entire macro tablePanu Matilainen1-11/+4
2011-05-28Eliminate bunch of obvious dead NULL-assignments around librpmioPanu Matilainen1-1/+1
2011-05-24Add support for nested Lua macro expansion (RhBug:490740)Panu Matilainen1-4/+4
2011-05-18Eliminate bogus ferror() checksPanu Matilainen1-3/+1
2011-05-18Always copy macro source when expanding itMichael Schroeder1-6/+6
2011-04-29Add lrzip support.Ville Skyttä1-0/+3
2011-04-29Add lzip support.Ville Skyttä1-0/+3
2011-03-17Plug memory leaks on macro definition error casesPanu Matilainen1-3/+3
2010-09-27Handle non-terminated substrings centrally in expandMacro()Panu Matilainen1-41/+22
2010-09-27Dynamic expansion buffer reallocation for lua macros tooPanu Matilainen1-6/+12
2010-09-27Whoops, fix typo/thinko from commit dc258bac41e32e754b15a413d844160f34b6a12ePanu Matilainen1-1/+1
2010-09-27Eliminate the internal in-place-expansion buffer limitationPanu Matilainen1-30/+32
2010-09-27Simplify / sanitize expandU() a bitPanu Matilainen1-12/+7
2010-09-27Dynamically reallocate macro expansion buffer (ticket #45)Panu Matilainen1-14/+15
2010-09-27Let expandMacro() allocate its own bufferPanu Matilainen1-16/+17
2010-09-27Track current expansion point via distance to buffer startPanu Matilainen1-21/+23
2010-09-27Push the macro buffer size limit down by one levelPanu Matilainen1-24/+24
2010-09-27Eliminate unused spec field from macro expansion state structPanu Matilainen1-3/+0
2010-09-27Avoid calloc() in macro findEntry()Panu Matilainen1-5/+4
2010-09-27Avoid unnecessary round-trip through expandT() where possiblePanu Matilainen1-3/+3
2010-09-27Use function arguments to pass, duh, arguments into functions. Duh.Panu Matilainen1-20/+9
2010-07-13Redirect macro stack backtrace printing to debug log.Jindrich Novy1-4/+4
2010-07-13Fix cryptic macro evaluation error message (RhBug:613010)Jindrich Novy1-2/+1
2010-01-07Revert "Always free locally defined macros when they go out of scope"Panu Matilainen1-2/+3
2010-01-04Always free locally defined macros when they go out of scopePanu Matilainen1-3/+2
2010-01-04Remove -98 vintage ifdef'ed dead codePanu Matilainen1-13/+0
2009-12-23Move getopt() portability fiddles out of system.hPanu Matilainen1-0/+6
2009-10-06Decompress lzma files with xz.Ville Skyttä1-2/+0
2009-09-07Eliminate unused variablePanu Matilainen1-2/+2
2009-08-31Replace equal/not equal uses of str[n]cmp() with rstreq[n] in io codePanu Matilainen1-1/+1
2009-03-27Handle XZ in %uncompress macroPanu Matilainen1-0/+3
2009-03-27Add built-in %getconfdir macro for getting rpmConfigDir() valuePanu Matilainen1-0/+4
2009-01-16Add getenv macro, use instead of $(echo $HOME) for defaulsPanu Matilainen1-0/+3
2008-11-22Add function to retrieve rpm config base directoryPanu Matilainen1-1/+0
2008-10-19Permit tab as whitespace between macro arguments (rhbz#467567)Panu Matilainen1-1/+1
2008-09-11Macro argument handling regression regression (rhbz#461180)Panu Matilainen1-6/+3
2008-07-16Make rpmExpand() smarter wrt memory allocationsPanu Matilainen1-1/+12
2008-07-16Eliminate another unnecessary temp variablePanu Matilainen1-4/+2
2008-07-16Eliminate unnecessary variablePanu Matilainen1-3/+2
2008-07-16Macro argument handling regression (rhbz#455333)Panu Matilainen1-2/+4
2008-06-10Use correct type for strlen()Panu Matilainen1-1/+1
2008-04-29Plug memleak in macro doFoo()Panu Matilainen1-0/+1
2008-04-19Further simplify rpmInitMacros()Panu Matilainen1-27/+14
2008-04-19Use argvFree() to free, well, an argv, instead of manual freeingPanu Matilainen1-6/+3