Daniel Mensinger
5f6b94ccb9
rewriter: Renamed _src -> _sources
6 years ago
Daniel Mensinger
617445ea72
rewriter: Make sure variable names are valid
6 years ago
Daniel Mensinger
594bf678c7
rewriter: Require '/' for the project ID
6 years ago
Daniel Mensinger
609a21ff9f
rewriter: Abort on error by default
6 years ago
Daniel Mensinger
c957a2aa94
rewriter: Changed line sort key
6 years ago
Daniel Mensinger
5d2f14fce7
rewriter: Quiet logging by default
6 years ago
Daniel Mensinger
06695fec60
rewriter: type definition code fix
6 years ago
Daniel Mensinger
e724fd5438
rewriter: Handle duplicate target
6 years ago
Daniel Mensinger
b55dbf0fae
rewriter: Dump JSON to stderr instead of stdout
6 years ago
Daniel Mensinger
90b557e38a
rewriter: Remove command alias
6 years ago
Daniel Mensinger
1290330894
rewriter: Renamed tgt_{add,rm} --> target_{add,rm}
6 years ago
Daniel Mensinger
eabc35340d
rewriter: Enforce an empty project ID string
6 years ago
Daniel Mensinger
8fad06e8c8
rewriter: Removed python 3.7 feature required=False
6 years ago
Daniel Mensinger
740f6b8f06
rewriter: Implemented a CLI
6 years ago
Daniel Mensinger
e72f535fc8
rewriter: Removed debug printing
6 years ago
Daniel Mensinger
0fd4dce906
rewriter: Type annotation cleanup
6 years ago
Daniel Mensinger
2582f311b0
rewriter: Make sure target sources are relative
6 years ago
Daniel Mensinger
760d1bff9c
rewriter: Sort source files ( #5010 )
...
* rewriter: Sort source files
* rewriter: Natural sorting
* rewriter: Fix flake8
* rewriter: Fixed sorting
* rewriter: Make sorting key more readable
* rewriter: Even simpler key
6 years ago
Daniel Mensinger
f9b41d5ecb
mintro: Dependencies from source
6 years ago
Daniel Mensinger
5a22bb7901
rewriter: Use mparser to detect the end of some nodes
6 years ago
Daniel Mensinger
7199cd2095
rewriter: Avoid duplicates
6 years ago
Daniel Mensinger
94fe01deec
rewriter: Sort dict iterations to fix unit tests
6 years ago
Daniel Mensinger
9e247cb52e
rewriter: Set and delete default options
6 years ago
Daniel Mensinger
74bb79e26e
rewriter: Remove matching regex from list
6 years ago
Daniel Mensinger
e37d32aa9d
rewriter: Basic default_options support
6 years ago
Daniel Mensinger
4b7b5a7185
Fixed flake8
6 years ago
Daniel Mensinger
631dbc4b24
Fixed indentation
6 years ago
Daniel Mensinger
5184465280
rewriter: Added support for adding targets
6 years ago
Daniel Mensinger
056c533ede
rewriter: Added support for removing targets
6 years ago
Daniel Mensinger
24a2cf02e2
Can now find the assignment node of a value
6 years ago
Daniel Mensinger
0ce02b57d7
Renamed type classes
6 years ago
Daniel Mensinger
8c364952af
Added dependecy kwargs support
6 years ago
Daniel Mensinger
5655865246
Added test case
6 years ago
Daniel Mensinger
c64d80cf2f
Renamed operation test -> info
6 years ago
Daniel Mensinger
8bb942ef25
Rewriter infodump modifications
6 years ago
Daniel Mensinger
be3c58d638
Modify kwargs in rewriter
6 years ago
Daniel Mensinger
8224ecfbe6
Some fixes and assignment based target find
6 years ago
Daniel Mensinger
dbb94f122d
Fixed style issues
6 years ago
Daniel Mensinger
6fe2c2b209
Fixed flake8 issues
6 years ago
Daniel Mensinger
b7c6f3ec72
Can now rewrite files
6 years ago
Daniel Mensinger
8dd9b44831
Added support for removing sources from a target
6 years ago
Daniel Mensinger
0ce6632393
Added suport for adding sources to a target
6 years ago
Daniel Mensinger
86d5799bc4
First rewriter test case
6 years ago
Daniel Mensinger
277dc10a5d
AST post processing
6 years ago
Daniel Mensinger
750af9c853
Moved the introspection interpreter
6 years ago
Daniel Mensinger
46320bfba8
Added Ast printer
6 years ago
Daniel Mensinger
ccad493e85
Basic AST visitor pattern
6 years ago
Daniel Schulte
4c5ec91135
Split AstInterpreter into base class and RewriterInterpreter
6 years ago
Xavier Claessens
37067a53c4
Use a single ArgumentParser for all subcommands
...
This has the adventage that "meson --help" shows a list of all commands,
making them discoverable. This also reduce the manual parsing of
arguments to the strict minimum needed for backward compatibility.
6 years ago
Jussi Pakkanen
9b2e533d87
Always build parser objects anew to avoid leaking old data.
7 years ago