57 Commits (d0c5fddd7235eb054a47ac319a4a3e9839c7e66c)

Author SHA1 Message Date
Salamandar df1970d3ad Various bug fixes for FeatureNew 6 years ago
Xavier Claessens 2d3bfa0778 Interpreter: Fix subdir_done() to exit from inside if/foreach blocks 7 years ago
Nirbheek Chauhan dff1d8eccf FeatureNew: Print WARNING instead of ERROR 7 years ago
Salamandar c5e85e59cc Add 0.47.0 features 7 years ago
Salamandar 00c4cf7d45 Add Feature{New,Deprecated}Kwargs decorators 7 years ago
Salamandar dd91f96867 Move target_version from coredata to mesonlib 7 years ago
Salamandar b9c37e4fd2 Add set instead of list for used features lits 7 years ago
Salamandar 4978dc0124 Cleanup : have more common code between FeatureNew and FeatureDeprecated 7 years ago
Salamandar 806ab181f2 Split function wrapper from a use() method 7 years ago
Salamandar ae19fec952 Add version_compare_condition_with_{min,max} for specific comparison utils. 7 years ago
Salamandar ee2f8a0416 Add basic code for feature version detection: 7 years ago
Mathieu Duponchelle 10e7566ed8 dict: fix CI issues 7 years ago
Mathieu Duponchelle 195c356f91 dict: address review comments 7 years ago
Kyrylo Shpytsya 09dc48d941 Add methods to the dict builtin 7 years ago
Mathieu Duponchelle ecb8838082 Add new built-in type, dict 7 years ago
Mathieu Duponchelle f1c92d7c9c Interpreter: don't flatten the arguments of various methods 7 years ago
Xavier Claessens 10a9bdad96 interpreter: Verify permitted kwargs on all methods 7 years ago
behlec 37d379ebe5 Allow meson build file to exit early. (#2808) 7 years ago
Jon Turney 390333a18d Fix remaining flake8 report 7 years ago
Ran Benita 4d8e4654cb Warn if non-permitted keyword arguments are given to compiler methods 7 years ago
Jon Turney 7297e9f7a3 Add source location to warning for comparing different types 7 years ago
Jon Turney 56286fd2b8 Fix test cases/failing/52 inconsistent comparison 7 years ago
Jussi Pakkanen 6cd7372e26 Comparing objects of different type prints a warning. Closes #2870. 7 years ago
Jon Turney 6a1a56ab57 Report warning/error locations in a format IDEs may already know how to parse 7 years ago
Jon Turney bcc95d7dd7 Use location formatting in mlog.warning() for invalid kwarg warning 7 years ago
Jussi Pakkanen 678daad6cc Created a new disabler type. 7 years ago
Iñigo Martínez 3d0a9b7911 interpreter: Reduce to_sring method to base 10 7 years ago
Iñigo Martínez 30f2c4857c interpreter: Support to_string method for int values 7 years ago
Dylan Baker dda5e8cadb Allow CustomTarget's to be indexed 7 years ago
Nirbheek Chauhan 276e9c15cc str.split() can now take a positional argument 7 years ago
Jussi Pakkanen 4a766147fb Printing unknown kwarg error message no longer crashes the parser. 7 years ago
Jussi Pakkanen c69a4aee1e Store current line number so it can be printed in warning messages. Closes #2181. 7 years ago
Jehan 2f691410fc Improve "Passed invalid keyword argument" warning. 8 years ago
Jussi Pakkanen c11a4cb952 Make Interpreter object unpicklable as it was being pickled by accident in copies of kwargs. 8 years ago
Jussi Pakkanen 3262be23dc Fixed issues raised in review. 8 years ago
Jussi Pakkanen 97b7a7b10e Moved func_ methods from base class to Interpreter. 8 years ago
Jussi Pakkanen 46e61971ce Decorator to check for permitted kwargs. 8 years ago
Elliott Sales de Andrade 0e56ec2dbd Don't allow non-equality comparisons across types. 8 years ago
Elliott Sales de Andrade b36513a5b6 Only allow equality comparisons for non-elementary types. 8 years ago
Elliott Sales de Andrade 30645ed54b Remove extra casts on InterpreterBase.evaluate_statement. 8 years ago
Dylan Baker a8173630ea Don't use len() to test emptiness vs not emptiness 8 years ago
Hemmo Nieminen e42f366e0b Fix an uninitialized variable access error. 8 years ago
Nirbheek Chauhan 0e078adf5a interpreter: Implement array.get(index, fallback) 8 years ago
Jussi Pakkanen 8ec9b0a71f Better error message when using = rather than : for defining keywords. 8 years ago
Mike Sinkovsky 969be1f679 cleanup: Remove redundant parentheses 8 years ago
Mike Sinkovsky 77515ee541 style: [E303] too many blank lines (2) 8 years ago
Mike Sinkovsky bf14cec81b style: [E712] comparison to True should be 'if cond is True:' or 'if cond:' 8 years ago
Igor Gnatenko f0b30baa39 style: fix E225 violations 8 years ago
Igor Gnatenko 9ffc0d2f89 tree-wide: remove blank lines at EOF 8 years ago
Nirbheek Chauhan 2c83bd16fc Test targets with only generated and prebuilt objects 8 years ago