summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2023-05-30`qmk find`: Fix handling of functions in filters (#21090)Sergey Vlasov
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.
2023-05-27Fix up `qmk find` when not specifying filters. (#21059)Nick Brassel
2023-05-26Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-05-26[Bugfix + Refactor] `qmk painter-convert-graphics` (#19994)Pablo Martínez
2023-05-24qmk info - Remove printing of "Keyboard Folder" (#21033)Joel Challis
2023-05-22Update json2c to use dump_lines (#21013)Joel Challis
2023-05-20Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-05-20`qmk generate-make-dependencies` improvements (#21001)Nick Brassel
* Recommendations from @sigprof * Fix CI tests
2023-05-20`qmk format-json`: Expose full key path and respect `sort_keys` (#20836)Ryan
2023-05-20`qmk find`: usability improvements (#20440)Ryan
2023-05-20Fix English word list retrieval in qmk generate-autocorrect-data (#20915)Peter
2023-05-19CLI: Improve keymap folder resolution (#20981)Ryan
2023-05-15Merge remote-tracking branch 'upstream/master' into developNick Brassel
2023-05-15Generate `make` dependency file during build for info.json's etc. (#20451)Nick Brassel
2023-05-06Fix `test_json2c_no_json()` (#20756)Ryan
2023-04-30Remove `FLIP_HALF` layouts and move to data driven (#20588)Ryan
2023-04-19Update ChibiOS to latest stable 21.11.x (#20470)Nick Brassel
2023-04-15Encodermap direction define. (#20454)Nick Brassel
2023-04-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-04-09Add autocomplete to generate-compilation-database (#20387)Dasky
2023-04-07Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-04-07Avoid generating empty ENCODER_RESOLUTION (#20179)Joel Challis
2023-04-07Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-04-07Add Discord webhook at end of each CI run. (#20355)Nick Brassel
2023-04-04Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-04-04Resolve keyboard names for `qmk mass-compile`. (#20335)Nick Brassel
2023-04-04`qmk info`: account for ISO enter when calculating layout X offset (#20325)Ryan
2023-04-03Append user variables to the end of make command (#20177)Albert Y
2023-03-30Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-03-31[QP] Fix up delta frame boundaries (#20296)Nick Brassel
2023-03-29Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-03-29Minify content published to API (#20285)Joel Challis
2023-03-29Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-03-29Add ability for `qmk mass-compile` to build specified targets (#20294)Nick Brassel
2023-03-28Reduce _validate complexity (#20274)Joel Challis
2023-03-27Custom keycodes in JSON (#19925)Joel Challis
2023-03-27Add force support to 'qmk git-submodule' (#19705)Joel Challis
2023-03-24Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-03-24Check for multiple matrix positions assigned to same key (#20039)Ryan
2023-03-23Strip API specific output from `qmk info` (#20234)Joel Challis
2023-03-21Increase verbosity of make command (#20172)Albert Y
2023-03-16Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-03-16Add `qmk find` command, reuse logic for `qmk mass-compile`. (#20139)Nick Brassel
2023-03-14Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-03-15Let's use workflows to parallelise the builds. (#20120)Nick Brassel
* Let's use workflows to parallelise the builds. * Nofail if files aren't present. * Formatting.
2023-03-13JSON encoder: improve sorting of layout dict keys (#19974)Ryan
2023-03-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-03-09`qmk info`: add warning when layout is offset (#20070)Ryan
2023-03-03Remove some use of keymap.h (#19980)Joel Challis
2023-03-01Merge remote-tracking branch 'origin/master' into developQMK Bot