summaryrefslogtreecommitdiff
path: root/rpmio/macro.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-18Avoid entirely silly rpmio FD_t usePanu Matilainen1-6/+5
- rdcl() converts to FILE internally anyway, might as well use fopen() to begin with...
2008-04-18Remove unnecessary xstrdup() of dynamically allocated bufferPanu Matilainen1-3/+2
- leftover from when target buffer was static...
2008-04-18Cosmetics: group operations more logically...Panu Matilainen1-2/+3
2008-04-18Simplify macro option + argument processingPanu Matilainen1-102/+69
- eliminate ninja-voodoo pointer-hackery parsing, replace argvSplit() + argvJoin() and friends - eliminate static sized buffers from the processing
2008-04-17More accurate filtering of .rpmnew etc when reading macrosPanu Matilainen1-3/+3
- strstr() can give false positives, use rpmFileHasSuffix() instead
2008-04-04Missing decompression arguments for bzip in uncompress macroPanu Matilainen1-1/+1
2008-03-31Dead code removal (macro stuff)Panu Matilainen1-17/+0
2008-03-18Minimal namespacing for locale-insensitive x*() string functionsPanu Matilainen1-6/+6
2008-02-26Make bunch of macro internal variables staticPanu Matilainen1-3/+3
2008-02-01Allocate macro buffers dynamicallyPanu Matilainen1-45/+67
- avoids some entirely needless overflow cases - somewhat similarly to rpm5.org but use heap instead of stack
2008-02-01Allocate various macro buffers from heap not stackPanu Matilainen1-14/+19
2008-02-01Define + use MACROBUFSIZ for macro expansion buffer sizePanu Matilainen1-8/+10
- double the buffer size while at it...
2008-02-01Macro shell expansion fixes (rhbz#431009)Panu Matilainen1-2/+5
2008-01-30Include spring-cleaningPanu Matilainen1-2/+1
- 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-27Rename isCompressed() -> rpmFileIsCompressed() for namespacingPanu Matilainen1-1/+1
2008-01-23Make uncompress macros match reality (_ vs __ prefix)Panu Matilainen1-5/+5
2007-12-19Fix some const issues in macrosPanu Matilainen1-5/+5
2007-12-18Remove bogus const from rpmGlob argv return typePanu Matilainen1-1/+1
- it's malloced and must be freed by caller
2007-12-16Unconstify macro contents, fully contained within macro modulePanu Matilainen1-3/+3
2007-12-14Remove bogus consts..Panu Matilainen1-1/+1
2007-12-08Switch to <rpm/foo.h> style for public headersPanu Matilainen1-6/+6
- adjust include paths accordingly
2007-11-30Move logging related macros rpmlog, adjust includesPanu Matilainen1-1/+0
2007-11-23Expand private include file names to be relative to $(top_srcdir)Ralf Corsépius1-1/+1
2007-11-23Move rpmGlob() from macros to rpmfileutil.hPanu Matilainen1-245/+0
- macros is all just macros now - internal copy of popt stuff needs to go...
2007-11-23Move rpmGetPath and rpmGenPath to rpmfileutil.hPanu Matilainen1-81/+0
2007-11-23Move rpmCleanPath from macros to rpmfileutil.hPanu Matilainen1-86/+0
2007-11-23Move file compression stuff from rpmmacro.h to rpmfileutil.hPanu Matilainen1-57/+1
2007-11-23Move the xstr*() string variants from rpmio.h to rpmstring.hPanu Matilainen1-0/+1
2007-11-23Use #include <x.h> syntax to include public headers.Ralf Corsépius1-5/+5
2007-11-19Lose rpmerr.h for goodPanu Matilainen1-1/+1
2007-11-19Replace all RPMERR_* etc uses with corresponding RPMLOG_* levelsPanu Matilainen1-22/+22
2007-11-02Eliminate macro struct internals from the APIPanu Matilainen1-0/+18
2007-10-29Macros don't need rpmio_internalPanu Matilainen1-1/+2
2007-10-29Remove bunch of long-dead macro debug stuffPanu Matilainen1-149/+0
2007-10-28Include "rpmio_internal.h" instead of <rpmio_internal.h>.Ralf Corsépius1-1/+1
2007-10-28Include "rpmerr.h" instead of <rpmerr.h>.Ralf Corsépius1-1/+1
2007-10-28Include "rpmlua.h" instead of <rpmlua.h>.Ralf Corsépius1-1/+1
2007-10-28Include "rpmmacro.h" instead of <rpmmacro.h>.Ralf Corsépius1-1/+1
2007-10-28Include "rpmmessages.h" instead of <rpmmessages.h>.Ralf Corsépius1-1/+1
2007-10-10Add support for lzma compressed "Sources".Ralf Corsépius1-1/+10
2007-10-09Replace all rpmError() uses with rpmlog()Panu Matilainen1-23/+23
2007-10-09Use enums instead of ints for processing isCompressed ret-val.Ralf Corsépius1-6/+4
2007-10-01Never glob non-local paths in rpmGlob()Panu Matilainen1-1/+2
2007-09-20Rename MacroContext and -Entry to rpmMacro* for namespacingPanu Matilainen1-42/+42
2007-09-20Move _free() into system.h for nowPanu Matilainen1-12/+0
- get rid of dozen _free() definitions - get _free() out of public headers
2007-09-20Remove splint remnants.Ralf Corsépius1-1/+0
2007-09-11Remove splint tags.Ralf Corsépius1-17/+2
2007-09-11Remove splint tags.Ralf Corsépius1-220/+73
2007-09-03Remove __LCLINT__-ifdef'ed blocks.Ralf Corsépius1-6/+0
2007-08-30Don't read *.rpmnew etc macro filesPanu Matilainen1-0/+5