summaryrefslogtreecommitdiff
path: root/rpmio/macro.c
Commit message (Expand)AuthorAgeFilesLines
* Add optional total/proc/thread arguments to %{getncpus} macroPanu Matilainen2023-03-301-4/+87
* Fix macro scoping level on re-entry from %[] expresssion (#2354)Panu Matilainen2023-01-201-2/+11
* Add shorthand macros for some conventient Lua string operationsPanu Matilainen2022-09-151-0/+31
* Test for preprocessor definition rather than value consistently everywherePanu Matilainen2022-06-151-2/+2
* Use rpmuncompress to handle %{uncompress:...}Panu Matilainen2022-04-041-54/+4
* Support multiple args in %quote and make split/unsplit available to luaMichael Schroeder2021-11-181-3/+30
* Simplify shrink macro implementationMichael Schroeder2021-11-081-15/+11
* Do not always strdup the argument in doFooMichael Schroeder2021-11-081-21/+13
* Do not setup macro args for literal macrosMichael Schroeder2021-11-081-5/+4
* Remove duplicated body copying codeMichael Schroeder2021-11-081-16/+11
* Split new macro table entry generation into newEntry()Michael Schroeder2021-11-081-10/+22
* Allow an optional argument for the %verbose macroMichael Schroeder2021-10-261-7/+11
* Support non-parametric builtins againMichael Schroeder2021-10-261-3/+5
* Make %{define foo body} not use the free-field parsingMichael Schroeder2021-10-261-2/+7
* Special case the non-parametric and the free-field macro expansionMichael Schroeder2021-10-261-15/+23
* Rename doExpandThisMacro to doMacroMichael Schroeder2021-10-261-4/+4
* Add a "parsed" argument to the doXXX() functionsMichael Schroeder2021-10-261-49/+30
* Fix consistency issues in macro expansion for builtin macrosMichael Schroeder2021-10-261-62/+47
* Get rid of the ME_BUILTIN macroMichael Schroeder2021-10-261-32/+30
* Clean up shescape macro implementationPanu Matilainen2021-10-081-15/+6
* Add %{shescape:...} macro for single quoting with escapes for the shellPanu Matilainen2021-09-241-0/+24
* Explicitly protect automatic macros from being redefined and undefinedPanu Matilainen2021-09-011-1/+1
* Drop arbitrary macro name minimum length limit (RhBug:1994223)Panu Matilainen2021-09-011-2/+2
* Ignore comment line contents in macro files (#1659)Panu Matilainen2021-04-291-0/+8
* Fix logic error in macro file readerMichael Schroeder2021-03-261-10/+10
* Make Lua a hard requirement for rpmPanu Matilainen2021-02-091-7/+0
* Actually report the involved macro names in macro tracebacksPanu Matilainen2021-01-291-9/+10
* Conditionalize macro traceback dump on rpm verbosity levelPanu Matilainen2021-01-291-2/+3
* Revert "Redirect macro stack backtrace printing to debug log."Panu Matilainen2021-01-291-4/+4
* Let %define and %global take name and body as separate argumentsPanu Matilainen2021-01-271-4/+17
* Change %dump macro to "func" style now that we canPanu Matilainen2020-11-261-6/+2
* Change %undefine macro to "func" style now that we canPanu Matilainen2020-11-261-22/+6
* Specify number of expected arguments for builtins in numbersPanu Matilainen2020-11-261-37/+37
* Unify builtin macro calling now that we canPanu Matilainen2020-11-261-17/+11
* Change func-macro types to return a number (always zero)Panu Matilainen2020-11-261-17/+21
* Change builtin "parse" type macros to take their arguments via an argvPanu Matilainen2020-11-261-9/+13
* Change builtin "func" type macros to take their arguments via an argvPanu Matilainen2020-11-261-31/+26
* Put an insulation layer between source line parsing and macro argumentsPanu Matilainen2020-11-261-15/+20
* Unify builtin and user-defined parametric macro calling syntaxPanu Matilainen2020-11-261-39/+46
* Support testing for builtin Lua with a macro conditionalPanu Matilainen2020-11-091-4/+4
* Move the builtins table below the referenced functions to lose clutterPanu Matilainen2020-11-091-52/+37
* Make builtin macros honor generic macro conditionalsPanu Matilainen2020-11-091-19/+19
* Lose now unnecessary chkexist and negate arguments to builtin macrosPanu Matilainen2020-11-091-43/+22
* Drop support for undocumented %{!trace} builtin syntaxPanu Matilainen2020-11-091-1/+1
* Drop undocumented special conditional syntax from %{load:...} builtinPanu Matilainen2020-11-091-2/+1
* Add %{exists:...} builtin macro for testing file existencePanu Matilainen2020-11-091-0/+3
* Change builtin %{verbose:...} to return a simple 0/1 booleanPanu Matilainen2020-11-091-9/+2
* Convert some obvious cases to use rstrndup() instead of manual workPanu Matilainen2020-11-091-6/+2
* Pass their own macro entry as an argument (ie self) to all builtinsPanu Matilainen2020-11-041-55/+51
* Lose now unnecessary name length member in builtin macro tablePanu Matilainen2020-11-041-32/+29