zvecr
6269c6b51c
partial gen for return_execute
3 years ago
Ryan
64974a7f8f
yapf: disable arithmetic predecence indication ( #16749 )
3 years ago
zvecr
22b8299230
Fix up print_dotted_output dict handling
3 years ago
zvecr
a65ea1a711
Fix codegen for non led boards
3 years ago
zvecr
13ee88dd21
Data driven g_led config
3 years ago
zvecr
56c9f7b7ff
format
3 years ago
zvecr
05911e9908
bodge 'qmk xap -l' for windows
3 years ago
zvecr
7262333857
Use generic 'dump_lines'
3 years ago
zvecr
ff1bb76537
basic info.json handling
3 years ago
Erovia
8c0198334c
CLI: Lint non-data driven macros in info.json ( #16739 )
...
* CLI: Lint non-data driven macros in info.json
Macros in info.json should either have the "matrix" key with the matrix
data or should should be also present in <keyboard>.h
* Add verification of matrix data
* Use generic '<keyboard>.h' in output
* Add keyboard name to output
* Make C layout macro finding more robust
The old code missed C macros if they had whitespace between '#' and
'define' or had whitespace before '#'.
3 years ago
Erovia
55e5daa868
Fix bug when 'info.json' lookup escapes keyboard dir ( #16734 )
3 years ago
Erovia
efc9c525b1
CLI: Add 'via2json' subcommand ( #16468 )
3 years ago
Joel Challis
23f365f8bc
Ignore transport defaults if SPLIT_KEYBOARD is unset ( #16706 )
...
* Ignore transport defaults if SPLIT_KEYBOARD is unset
* keep exists check
3 years ago
zvecr
e31c605bf7
revert split logic
3 years ago
Joel Challis
4f8cc32cf5
Extend 'qmk info' to handle keymap level overrides ( #16702 )
3 years ago
zvecr
b365cbce15
Merge in keymap level to XAP info.json payload
3 years ago
Ryan
2f095b8925
qmk.path.FileType: fix argument handling ( #16693 )
...
* qmk.path.FileType: pass in mode as first argument
* Better solution
* Grammar...
3 years ago
zvecr
4d4b013e5b
Fixup after merge
3 years ago
zvecr
5bb6173cc7
Fixup after merge
3 years ago
Joel Challis
ed773ab73c
Relocate CLI git interactions ( #16682 )
3 years ago
zvecr
72602a3443
Fixup after merge
3 years ago
Joel Challis
e5823b5650
[CLI] Add common util for dumping generated content ( #16674 )
3 years ago
zvecr
31c4864705
Crude CLI device discovery
3 years ago
zvecr
9fd4db1fc7
fix up for pytest - remove fstring escaping
3 years ago
zvecr
52d3b9dcc5
fix up for pytest
3 years ago
zvecr
2b4724bd83
Convert info_json_gz.h generation to CLI
3 years ago
Erovia
b75f6691a1
CLI: Fix 'cd' subcommand on Windows ( #16610 )
...
The 'cd' subcommand was failing as the current shell's Windows path was
mangled while milc processed it.
Using 'subprocess' directly avoids this issue and an extra layer of
subshell.
3 years ago
Nick Brassel
c3ac89d1c9
`qmk format-c`, `qmk format-python`
3 years ago
Nick Brassel
8d5eacb7dd
Add support for encoder mapping. ( #13286 )
3 years ago
Ryan
b593cfccbd
`qmk info`: Nicer rendering of big-ass enter ( #16541 )
...
* `qmk info`: Nicer rendering of big-ass enter
* Formatting...
3 years ago
Ryan
75544d9127
Move Doxygen docs to subdirectory ( #16561 )
3 years ago
Ryan
8e9d45d270
`qmk info`: nicer rendering of ISO enter ( #16466 )
3 years ago
Ryan
7d41639d54
Map data driven `DESCRIPTION` as string literal ( #16523 )
3 years ago
Ryan
ace0603f4f
Change data driven "str" type to represent a quoted string literal ( #16516 )
...
* Change data driven "str" type to represent a quoted string literal
* Update docs
3 years ago
Erovia
fbfd5312b9
CLI: Validate JSON keymap input ( #16261 )
...
* Fix schema validator
It should use the passed schema.
* Add required attributes to keymap schema
* Rework subcommands to validate the JSON keymaps
The 'compile', 'flash' and 'json2c' subcommands were reworked to add
JSON keymap validation so error is reported for non-JSON and
non-compliant-JSON inputs.
* Fix required fields in keymap schema
* Add tests
* Fix compiling keymaps directly from keymap directory
* Schema should not require version for now.
3 years ago
Joel Challis
779c7debcf
Fix issues with data driven split keyboards ( #16457 )
3 years ago
Joel Challis
e4a6afa369
Rework generate-api CLI command to use .build directory ( #16441 )
3 years ago
Joel Challis
77cdb20e16
Revert CLI default for manufacturer ( #16467 )
3 years ago
Joel Challis
cf31355f08
Changelog 2022q1 ( #16380 )
...
* Initial changelog pass
* update generate-develop-pr-list content
* Fix bad word-ness
* Fix generate-develop-pr-list ignores
* Update docs/ChangeLog/20220226.md
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
3 years ago
QMK Bot
8aec20c0da
Format code according to conventions ( #16435 )
3 years ago
Ryan
f30f963a0b
Internal docs generation updates ( #16411 )
3 years ago
Nick Brassel
6c7afbb859
Migrate XAP docs generator into CLI now that most logic is in Jinja2 files.
3 years ago
Joel Challis
b0621223bc
Various fixes for new-keyboard ( #16358 )
3 years ago
Nick Brassel
69e9c80ec3
Reworked docs rendering using jinja2.
3 years ago
Erovia
23c238a180
CLI: Minor additions #12795 ( #16276 )
3 years ago
Joel Challis
f7e7671f69
Migrate more makefile utilities to builddefs sub-directory ( #16002 )
3 years ago
Joel Challis
2e279f1b88
Initial pass at data driven new-keyboard subcommand ( #12795 )
...
* Initial pass at a data driven keyboard subcommand
* format
* lint
* Handle bootloader now its mandatory
3 years ago
Nick Brassel
8fd8b2dc92
Skip categorisation of PR if it's only for code formatting. ( #16215 )
3 years ago
Nick Brassel
db43e45077
Ensure `version.h` is recreated each build. ( #16188 )
3 years ago
Drashna Jaelre
d4dc743a85
Fix issues with Python Tests ( #16162 )
...
* Reformat python due to yapf changes
* Fix pytest keymap list test
* revert formatting
* Use contra, because, well
https://www.reddit.com/r/MechanicalKeyboards/comments/8riofq/did_i_kill_my_contra/
3 years ago