Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-07 | Return a disabler when an unknown method is called on a disabler object | James Hilliard | 1 | -2/+5 | |
2019-11-07 | Test disabler in foreach loops | Xavier Claessens | 1 | -4/+0 | |
The is_disabler() check in evaluate_foreach() was useless because we already checked that items is a list. | |||||
2019-11-07 | Fix `if not disabler()` case | Xavier Claessens | 1 | -0/+2 | |
Closes: #6010 | |||||
2019-08-12 | Add is_disabler function | James Hilliard | 1 | -1/+1 | |
This is useful if one needs to check if a variable is a disabler. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> | |||||
2019-07-23 | meson: handle nested disabler | Marc-André Lureau | 1 | -8/+13 | |
Fixes #5659 | |||||
2019-04-29 | Address code review | Daniel Mensinger | 1 | -1/+1 | |
2019-04-29 | Fix flake8-bugbear warnings | Daniel Mensinger | 1 | -1/+1 | |
2019-04-23 | ast: support elementary object methods | Daniel Mensinger | 1 | -0/+18 | |
2019-03-18 | interpreterbase: protect string division with FeatureNew | Paolo Bonzini | 1 | -7/+18 | |
Meson is not warning if you join paths with / but you are requesting a version older than 0.49.0; fix this before adding more features to the division operator. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> | |||||
2019-01-29 | correct naming to CudaCompiler, pep8 | Michael Hirsch, Ph.D | 1 | -1/+1 | |
2019-01-22 | InterpreterBase: Fix extracting the node in all method/function calls | Xavier Claessens | 1 | -21/+14 | |
Closes: #4813. | |||||
2019-01-22 | Interpreter: Set self.current_node during method/function calls | Xavier Claessens | 1 | -0/+8 | |
The current node is useful to pass as location kwarg to mlog.warning(). The node is not passed to InterpreterObject method arguments, and it's easier to have it on the object than passing it through argument everywhere. | |||||
2019-01-16 | Fix flake8 errors | Xavier Claessens | 1 | -1/+0 | |
2018-12-07 | Error out if kwargs dict contains a kwargs entry. | Jussi Pakkanen | 1 | -1/+3 | |
Yo dawg! We heard U don't like kwargs in kwargs, so we made it impossible to put kwargs in your kwargs so now you can't kwargs with your kwargs. | |||||
2018-12-04 | Can specify keyword arguments with a dict. | Jussi Pakkanen | 1 | -1/+15 | |
2018-11-02 | Make string division do path joining. | Jussi Pakkanen | 1 | -3/+10 | |
2018-10-23 | Add 'disabler' argument to functions returning not-found objects | Xavier Claessens | 1 | -0/+11 | |
When dependency(), find_library(), find_program(), or python.find_installation() return a not-found object and disabler is true, they return a Disabler object instead. | |||||
2018-10-04 | Interpreter: Add 'continue' and 'break' keywords | Xavier Claessens | 1 | -2/+22 | |
Closes: #3601 | |||||
2018-10-04 | Interpreter: Add "in" and "not in" operators | Xavier Claessens | 1 | -0/+19 | |
Closes: #3600 | |||||
2018-08-14 | interpreter: Add support for dict addition | Xavier Claessens | 1 | -4/+10 | |
2018-08-11 | Clarify the FeatureNew summary message | Nirbheek Chauhan | 1 | -1/+1 | |
Fixes https://github.com/mesonbuild/meson/issues/3858 | |||||
2018-08-11 | Skip FeatureNew checks when project() has not been parsed | Nirbheek Chauhan | 1 | -0/+3 | |
Fixes https://github.com/mesonbuild/meson/issues/3944 | |||||
2018-07-07 | Print a more usable message when a subproject fails to configure | Nirbheek Chauhan | 1 | -1/+1 | |
Instead of just printing the message in the exception, if it's a MesonException, also print the file and the line number. If it's an unknown exception, print the entire traceback so that we can pin-point what the Meson bug causing it is. | |||||
2018-07-07 | Add new method: mlog.deprecation() | Nirbheek Chauhan | 1 | -2/+3 | |
Instead of constructing it manually, use a helper. | |||||
2018-07-02 | FeatureNew: Make all checks subproject-specific | Nirbheek Chauhan | 1 | -98/+111 | |
We now pass the current subproject to every FeatureNew and FeatureDeprecated call. This requires a bunch of rework to: 1. Ensure that we have access to the subproject in the list of arguments when used as a decorator (see _get_callee_args). 2. Pass the subproject to .use() when it's called manually. 3. We also can't do feature checks for new features in meson_options.txt because that's parsed before we know the meson_version from project() | |||||
2018-07-02 | FeatureNew: Declare functions as class methods explicitly | Nirbheek Chauhan | 1 | -6/+10 | |
2018-07-02 | FeatureNew: Minor code cleanup, no changes | Nirbheek Chauhan | 1 | -42/+41 | |
Early return reduces indentation level and makes the code easier to read. | |||||
2018-07-02 | Remove permittedSnippetKwargs, snippets are not special | Nirbheek Chauhan | 1 | -4/+12 | |
All we needed to do was change _get_callee_args() to also support snippets. | |||||
2018-07-02 | Various bug fixes for FeatureNew | Salamandar | 1 | -20/+42 | |
* Use _get_callee_args to unwrap function call arguments, needed for module functions. * Move some FeatureNewKwargs from build.py to interpreter.py * Print a summary for featurenew only if conflicts were found. The summary now only prints conflicting features. * Report and store featurenew/featuredeprecated only once * Fix version comparison: use le/ge and resize arrays to not fail on '0.47.0>=0.47' Closes https://github.com/mesonbuild/meson/issues/3660 | |||||
2018-06-07 | Interpreter: Fix subdir_done() to exit from inside if/foreach blocks | Xavier Claessens | 1 | -3/+4 | |
Closes: #3700. | |||||
2018-06-05 | FeatureNew: Print WARNING instead of ERROR | Nirbheek Chauhan | 1 | -2/+2 | |
ERROR is reserved for non-zero exit codes. People will probably get confused. | |||||
2018-06-01 | Add 0.47.0 features | Salamandar | 1 | -0/+1 | |
2018-06-01 | Add Feature{New,Deprecated}Kwargs decorators | Salamandar | 1 | -0/+30 | |
2018-06-01 | Move target_version from coredata to mesonlib | Salamandar | 1 | -3/+2 | |
2018-06-01 | Add set instead of list for used features lits | Salamandar | 1 | -4/+4 | |
2018-06-01 | Cleanup : have more common code between FeatureNew and FeatureDeprecated | Salamandar | 1 | -18/+22 | |
2018-06-01 | Split function wrapper from a use() method | Salamandar | 1 | -17/+22 | |
2018-06-01 | Add version_compare_condition_with_{min,max} for specific comparison utils. | Salamandar | 1 | -4/+56 | |
Split FeatureNew and FeatureDeprecated Implement features report to be printed in some 'dev mode' | |||||
2018-06-01 | Add basic code for feature version detection: | Salamandar | 1 | -0/+17 | |
* store target version * Add empty method decorator | |||||
2018-05-21 | dict: fix CI issues | Mathieu Duponchelle | 1 | -1/+1 | |
2018-05-20 | dict: address review comments | Mathieu Duponchelle | 1 | -2/+1 | |
2018-05-20 | Add methods to the dict builtin | Kyrylo Shpytsya | 1 | -0/+39 | |
Adds "has_key" and "get". Adapted and updated by Mathieu Duponchelle <mathieu@centricular.com> | |||||
2018-05-20 | Add new built-in type, dict | Mathieu Duponchelle | 1 | -15/+45 | |
For now dicts are immutable, and do not expose any methods, they however support "native" syntax such as [] lookup, and foreach iterating, and can be printed. | |||||
2018-05-04 | Interpreter: don't flatten the arguments of various methods | Mathieu Duponchelle | 1 | -19/+30 | |
this fixes eg set_variable('foo', ['bar', 'baz']), which was previously erroring out complaining about the number of arguments. Closes #1481 | |||||
2018-04-26 | interpreter: Verify permitted kwargs on all methods | Xavier Claessens | 1 | -26/+33 | |
2018-03-29 | Allow meson build file to exit early. (#2808) | behlec | 1 | -0/+5 | |
2018-03-13 | Merge pull request #3127 from bluetech/method-permitted-kwargs | Jussi Pakkanen | 1 | -0/+16 | |
2018-03-03 | Fix remaining flake8 report | Jon Turney | 1 | -1/+1 | |
$ flake8 ./mesonbuild/interpreterbase.py:411:13: F821 undefined name 'set_variable' This looks like an actual bug which would affect disabler use :) | |||||
2018-02-23 | Warn if non-permitted keyword arguments are given to compiler methods | Ran Benita | 1 | -0/+16 | |
This can help future generations avoid mistakes like this: https://github.com/xkbcommon/libxkbcommon/commit/edb1c662394578a54b7bbed231d918925e5d8150 To avoid breaking builds, this is currently just an error. After sufficient time has passed this can hopefully become a hard error, similarly to the already-existing `permittedKwargs` warnings. | |||||
2018-02-15 | Add source location to warning for comparing different types | Jon Turney | 1 | -2/+2 | |