Commit Graph

29908 Commits

Author SHA1 Message Date
QMK Bot
986ca58e69 Merge remote-tracking branch 'origin/develop' into xap 2023-11-21 15:06:02 +00:00
Sergey Vlasov
7e27d72cbc
Fix qmk find failure due to circular imports (#22523)
There was an import cycle in the Python modules:

  - `qmk.build_targets` imported `qmk.cli.generate.compilation_database`;
  - importing `qmk.cli.generate.compilation_database` requires
    initializing `qmk.cli` first;
  - the initialization of `qmk.cli` imported the modules for all CLI
    commands;
  - `qmk.cli.compile` imported `qmk.build_targets`.

This cycle did not matter in most cases, because `qmk.cli` was imported
first, and in that case importing `qmk.cli.generate.compilation_database`
did not trigger the initialization of `qmk.cli` again.  However, there was
one corner case when `qmk.bulld_targets` was getting imported first:

  - The `qmk find` command uses the `multiprocessing` module.
  - The `multiprocessing` module uses the `spawn` start method on macOS
    and Windows.
  - When the `spawn` method is used, the child processes initialize
    without any Python modules loaded, and the required modules are loaded
    on demand by the `pickle` module when receiving the serialized objects
    from the main process.

The result was that the `qmk find` command did not work properly on macOS
(and probably Windows too); it reported exceptions like this:

    ImportError: cannot import name 'KeyboardKeymapBuildTarget' from partially initialized module 'qmk.build_targets' (most likely due to a circular import)

Moving the offending `qmk.cli.generate.compilation_database` import into
the method which actually uses it fixes the problem.
2023-11-21 15:05:29 +00:00
QMK Bot
1d55522f27 Merge remote-tracking branch 'origin/develop' into xap 2023-11-20 16:26:06 +00:00
Dasky
68722d35a3
Azoteq IQS5xx support (#22280) 2023-11-20 16:25:35 +00:00
QMK Bot
e69b504606 Merge remote-tracking branch 'origin/develop' into xap 2023-11-20 15:49:01 +00:00
Ryan
dda6e7fb36
LED drivers: register naming cleanups (#22436) 2023-11-20 15:48:23 +00:00
QMK Bot
8ee25dd9f2 Merge remote-tracking branch 'origin/develop' into xap 2023-11-20 15:42:20 +00:00
Joel Challis
e279c78ba3
Enable linking of encoders to switch within layout macros (#22264) 2023-11-20 15:41:48 +00:00
QMK Bot
a1461fdf05 Merge remote-tracking branch 'origin/develop' into xap 2023-11-18 21:26:30 +00:00
Sergey Vlasov
62cca5c43a
qmk find: Fix failure with multiple filters (#22497)
When multiple `-f FILTER` options were specified, `qmk find` did not
return anything at all instead of printing the list of entries that
matched all of the specified filters.

The problem was that the statement in `_filter_keymap_targets()` that
filled `targets` had a wrong indent and therefore was executed for every
filter instead of only once after applying all filters, and
`valid_keymaps` was actually an iterator and therefore could be used
only once.  Moving the statement outside of the loop fixes the problem.
2023-11-19 08:26:00 +11:00
QMK Bot
fbf0e9a024 Merge remote-tracking branch 'origin/develop' into xap 2023-11-16 17:49:46 +00:00
QMK Bot
bf3a88ab57 Merge remote-tracking branch 'origin/master' into develop 2023-11-16 17:49:12 +00:00
フィルターペーパー
a6521b8521
[Doc] Improve converter references (#21801) 2023-11-16 17:48:24 +00:00
QMK Bot
c30cada1be Merge remote-tracking branch 'origin/develop' into xap 2023-11-16 16:55:19 +00:00
QMK Bot
67a87f67a0 Merge remote-tracking branch 'origin/master' into develop 2023-11-16 16:54:46 +00:00
leyew
1e4f7aa029
[Keyboard] Add dnworks 997pt3 (#22466)
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2023-11-16 09:54:13 -07:00
QMK Bot
00f2b75e3d Merge remote-tracking branch 'origin/develop' into xap 2023-11-15 15:24:08 +00:00
QMK Bot
cc7542b917 Merge remote-tracking branch 'origin/master' into develop 2023-11-15 15:23:35 +00:00
Le Zhang
adcc4d376c
Add leonardo build target for leonardo + usb2.0 shield based projects (#22243) 2023-11-15 15:23:03 +00:00
QMK Bot
b1d9184cab Merge remote-tracking branch 'origin/develop' into xap 2023-11-15 05:25:30 +00:00
Nick Brassel
4938210711
CLI refactoring for common build target APIs (#22221) 2023-11-15 16:24:54 +11:00
QMK Bot
4836133bdf Merge remote-tracking branch 'origin/develop' into xap 2023-11-14 08:12:10 +00:00
QMK Bot
c4d3521ba6 Merge remote-tracking branch 'origin/master' into develop 2023-11-14 08:11:41 +00:00
leyew
d7b44239c2
[Keyboard] Add Eden (#22467)
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2023-11-14 01:11:12 -07:00
QMK Bot
b2d57f36d1 Merge remote-tracking branch 'origin/develop' into xap 2023-11-14 02:17:02 +00:00
QMK Bot
56daf7e545 Merge remote-tracking branch 'origin/master' into develop 2023-11-14 02:16:30 +00:00
Nick Brassel
5c22706294
Update stale.yml 2023-11-14 13:15:52 +11:00
QMK Bot
513cb454a1 Merge remote-tracking branch 'origin/develop' into xap 2023-11-14 02:13:19 +00:00
QMK Bot
5da65c5cd4 Merge remote-tracking branch 'origin/master' into develop 2023-11-14 02:12:48 +00:00
Nick Brassel
ba62db19e7
Update stale.yml (#22473) 2023-11-14 13:12:17 +11:00
QMK Bot
a9d8685c8e Merge remote-tracking branch 'origin/develop' into xap 2023-11-14 01:50:24 +00:00
QMK Bot
79a6419dee Merge remote-tracking branch 'origin/master' into develop 2023-11-14 01:49:49 +00:00
cole smith
44062b5056
Bs equals (#21690)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: jack <0x6A73@pm.me>
2023-11-14 12:49:15 +11:00
QMK Bot
c56120ce63 Merge remote-tracking branch 'origin/develop' into xap 2023-11-13 23:46:08 +00:00
Joel Challis
02d3b233ab
chibios: disable RWX segment warning on newer GNU lds (#22471) 2023-11-13 23:45:40 +00:00
QMK Bot
c42ac3e9da Merge remote-tracking branch 'origin/develop' into xap 2023-11-13 22:41:43 +00:00
Nick Brassel
4c625d8286
Revert "chibios: disable RWX segment warning on newer GNU lds (#22007)" (#22469)
This reverts commit de3c42125b.
2023-11-13 22:41:12 +00:00
QMK Bot
50ff29e82b Merge remote-tracking branch 'origin/develop' into xap 2023-11-13 22:30:55 +00:00
Joel Challis
1efc79063c
Migrate some EEPROM config to info.json (#22434) 2023-11-14 09:30:19 +11:00
QMK Bot
5ac27f0e5f Merge remote-tracking branch 'origin/develop' into xap 2023-11-13 22:29:41 +00:00
Thomas Weißschuh
de3c42125b
chibios: disable RWX segment warning on newer GNU lds (#22007) 2023-11-13 22:29:12 +00:00
QMK Bot
66e85c5844 Merge remote-tracking branch 'origin/develop' into xap 2023-11-13 20:56:54 +00:00
QMK Bot
970e0b18a2 Merge remote-tracking branch 'origin/master' into develop 2023-11-13 20:56:16 +00:00
precondition
50844a8e67
Fix typos: key-modifer→key-modifier and interacton→interaction (#22464) 2023-11-13 20:55:45 +00:00
QMK Bot
e8312b02bc Merge remote-tracking branch 'origin/develop' into xap 2023-11-13 02:03:56 +00:00
QMK Bot
67d2bc5b3a Merge remote-tracking branch 'origin/master' into develop 2023-11-13 02:03:27 +00:00
Duncan Sutherland
56b6b28fe9
add 68_ansi Community Layout to nebula68b (#22433) 2023-11-12 19:02:46 -07:00
QMK Bot
7d8fe31d51 Merge remote-tracking branch 'origin/develop' into xap 2023-11-12 22:30:57 +00:00
Joel Challis
e884e42ce9
Generalise ADC driver source inclusion (#22448) 2023-11-12 22:30:27 +00:00
QMK Bot
97acb483dc Merge remote-tracking branch 'origin/develop' into xap 2023-11-12 07:25:53 +00:00