Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `qmk find`: Fix handling of functions in filters (#21090) | Sergey Vlasov | 2023-05-30 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | Functions in filters did not work properly except when used in the last (or only) filter. The problem was caused by the peculiarity of the `lambda` behavior in Python — any variables from the outer scope are captured only by reference, therefore any subsequent reassignment of those variables is propagated to all lambdas created earlier in the same scope. Together with the laziness of `filter()` (it returns an iterator which performs filtering on demand) this resulted in all function filters using the values of the `key` and `value` variables which correspond to the last filter in the sequence, therefore the result of filtering was wrong if some filter with a function was not the last one in the sequence. Apparently the shortest way to make a Python lambda capture some variables by value is to add arguments with default values for such variables (default values are evaluated when the lambda is created, and any subsequent reassignments in the outer scope no longer changes them). This makes filters with functions work properly even when such filters are not at the last position in the sequence. | ||||
* | Fix up `qmk find` when not specifying filters. (#21059) | Nick Brassel | 2023-05-27 | 2 | -1/+5 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-05-26 | 1 | -17/+19 |
|\ | |||||
| * | [Bugfix + Refactor] `qmk painter-convert-graphics` (#19994) | Pablo Martínez | 2023-05-26 | 1 | -17/+19 |
| | | |||||
* | | qmk info - Remove printing of "Keyboard Folder" (#21033) | Joel Challis | 2023-05-24 | 1 | -1/+0 |
| | | |||||
* | | Update json2c to use dump_lines (#21013) | Joel Challis | 2023-05-22 | 2 | -18/+5 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-05-20 | 1 | -9/+8 |
|\| | |||||
| * | `qmk generate-make-dependencies` improvements (#21001) | Nick Brassel | 2023-05-20 | 1 | -9/+8 |
| | | | | | | | | | | * Recommendations from @sigprof * Fix CI tests | ||||
* | | `qmk format-json`: Expose full key path and respect `sort_keys` (#20836) | Ryan | 2023-05-20 | 9 | -52/+48 |
| | | |||||
* | | `qmk find`: usability improvements (#20440) | Ryan | 2023-05-20 | 3 | -20/+50 |
| | | |||||
* | | Fix English word list retrieval in qmk generate-autocorrect-data (#20915) | Peter | 2023-05-20 | 1 | -0/+6 |
| | | |||||
* | | CLI: Improve keymap folder resolution (#20981) | Ryan | 2023-05-19 | 5 | -13/+32 |
| | | |||||
* | | Merge remote-tracking branch 'upstream/master' into develop | Nick Brassel | 2023-05-15 | 2 | -0/+57 |
|\| | |||||
| * | Generate `make` dependency file during build for info.json's etc. (#20451) | Nick Brassel | 2023-05-15 | 2 | -0/+57 |
| | | |||||
* | | Fix `test_json2c_no_json()` (#20756) | Ryan | 2023-05-06 | 2 | -2/+2 |
| | | |||||
* | | Remove `FLIP_HALF` layouts and move to data driven (#20588) | Ryan | 2023-04-30 | 1 | -2/+6 |
| | | |||||
* | | Encodermap direction define. (#20454) | Nick Brassel | 2023-04-15 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-04-09 | 1 | -3/+5 |
|\| | |||||
| * | Add autocomplete to generate-compilation-database (#20387) | Dasky | 2023-04-09 | 1 | -3/+5 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-04-07 | 1 | -1/+3 |
|\| | |||||
| * | Avoid generating empty ENCODER_RESOLUTION (#20179) | Joel Challis | 2023-04-07 | 1 | -1/+3 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-04-07 | 1 | -1/+1 |
|\| | |||||
| * | Add Discord webhook at end of each CI run. (#20355) | Nick Brassel | 2023-04-07 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-04-04 | 1 | -1/+2 |
|\| | |||||
| * | Resolve keyboard names for `qmk mass-compile`. (#20335) | Nick Brassel | 2023-04-04 | 1 | -1/+2 |
| | | |||||
* | | `qmk info`: account for ISO enter when calculating layout X offset (#20325) | Ryan | 2023-04-04 | 1 | -1/+6 |
| | | |||||
* | | Append user variables to the end of make command (#20177) | Albert Y | 2023-04-03 | 1 | -3/+3 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-03-30 | 1 | -2/+2 |
|\| | |||||
| * | [QP] Fix up delta frame boundaries (#20296) | Nick Brassel | 2023-03-31 | 1 | -2/+2 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-03-29 | 1 | -12/+11 |
|\| | |||||
| * | Minify content published to API (#20285) | Joel Challis | 2023-03-29 | 1 | -12/+11 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-03-29 | 1 | -4/+6 |
|\| | |||||
| * | Add ability for `qmk mass-compile` to build specified targets (#20294) | Nick Brassel | 2023-03-29 | 1 | -4/+6 |
| | | |||||
* | | Reduce _validate complexity (#20274) | Joel Challis | 2023-03-28 | 1 | -11/+17 |
| | | |||||
* | | Custom keycodes in JSON (#19925) | Joel Challis | 2023-03-27 | 4 | -6/+80 |
| | | |||||
* | | Add force support to 'qmk git-submodule' (#19705) | Joel Challis | 2023-03-27 | 1 | -3/+18 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-03-24 | 1 | -2/+6 |
|\| | |||||
| * | Check for multiple matrix positions assigned to same key (#20039) | Ryan | 2023-03-24 | 1 | -2/+6 |
| | | |||||
* | | Strip API specific output from `qmk info` (#20234) | Joel Challis | 2023-03-23 | 1 | -0/+27 |
| | | |||||
* | | Increase verbosity of make command (#20172) | Albert Y | 2023-03-21 | 1 | -0/+3 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-03-16 | 4 | -89/+125 |
|\| | |||||
| * | Add `qmk find` command, reuse logic for `qmk mass-compile`. (#20139) | Nick Brassel | 2023-03-16 | 4 | -89/+125 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-03-14 | 1 | -1/+1 |
|\| | |||||
| * | Let's use workflows to parallelise the builds. (#20120) | Nick Brassel | 2023-03-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * Let's use workflows to parallelise the builds. * Nofail if files aren't present. * Formatting. | ||||
* | | JSON encoder: improve sorting of layout dict keys (#19974) | Ryan | 2023-03-13 | 3 | -24/+52 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-03-09 | 1 | -0/+10 |
|\| | |||||
| * | `qmk info`: add warning when layout is offset (#20070) | Ryan | 2023-03-09 | 1 | -0/+10 |
| | | |||||
* | | Remove some use of keymap.h (#19980) | Joel Challis | 2023-03-03 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into develop | QMK Bot | 2023-03-01 | 1 | -1/+3 |
|\| | |||||
| * | Check all keys have matrix positions when parsing C LAYOUT macros (#19781) | Ryan | 2023-03-02 | 1 | -1/+3 |
| | |