You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
James Young a03aa301de
Remove Full Bootmagic (#13846)
* disambiguate Bootmagic rules in keymaps

The files edited by this commit were added at a point in time where `BOOTMAGIC_ENABLE = yes` enabled full Bootmagic.

This commit edits the files to specify that full Bootmagic is intended.

* remove BOOTMAGIC_ENABLE=full setting

* unify commented BOOTMAGIC_ENABLE rules in keyboards

Explicitly sets `BOOTMAGIC_ENABLE = no` in keyboards where the rule was commented out.

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#[ \t]*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-zA-Z]\+\).*;\1 = no       # Virtual DIP switch configuration;g' {} +
```

* remove commented Bootmagic rules from keymap/user level

Command:

```
find keyboards/ layouts/ users/ -type f -name 'rules.mk' -exec sed -i -e '/#.*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*/d' {} +
```

* update keyboard BOOTMAGIC_ENABLE rule formatting

Sets the formatting of BOOTMAGIC_ENABLE rules to `BOOTMAGIC_ENABLE = [value]`, without the inline comments (which will be replaced later).

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' +
```

* update keyboards' BOOTMAGIC_ENABLE settings

Updates keyboard `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used.

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = \)full;\1lite;g' '{}' +
```

* update keymap/user BOOTMAGIC_ENABLE settings

Updates keymap/user `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used.

Commands:

```
find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' +
find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' +
```

* remove and replace inline comments in keyboards and keymap/user files

Removes and replaces the inline comments, which have been updated to read `Enable Bootmagic Lite`.

Commands:

```
find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' +
find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' +
find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = lite\);\1     # Enable Bootmagic Lite;g' '{}' +
find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = yes\);\1      # Enable Bootmagic Lite;g' '{}' +
find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = no\);\1       # Enable Bootmagic Lite;g' '{}' +
```

* rename improperly named makefiles

Some files intended to be used as makefiles had improper names causing them to not be used as intended when building.

This commit corrects the filenames of the affected files.

* update renamed file with new rule formatting

* update QMK's template files

Updates QMK's `rules.mk` templates to use the new inline comment.

* update QMK Docs

- remove documentation of full Bootmagic
- update links to Bootmagic Lite doc
- add doc for Magic Keycodes

* rules.mk patch for coarse/ixora and coarse/vinta
4 years ago
..
api Move `API_SYSEX_MAX_SIZE` out of `config_common.h` (#12302) 5 years ago
audio Refactor some platform dependent logic (#13675) 4 years ago
backlight 2021 May 29 Breaking Changes Update (#13034) 5 years ago
bootmagic Remove Full Bootmagic (#13846) 4 years ago
debounce Add asym_eager_defer_pk debounce type (#12689) 5 years ago
keymap_extras Merge remote-tracking branch 'origin/master' into develop 4 years ago
led_matrix Switch Ergodox Infinity over to split_common (#13481) 4 years ago
logging Move print/debug files to quantum (#12069) 4 years ago
process_keycode Process combos earlier & overlapping combos (#8591) 4 years ago
rgb_matrix Align AW20216 driver (#13712) 4 years ago
rgblight Merge remote-tracking branch 'upstream/master' into develop 4 years ago
sequencer matrix_scan_x -> x_task (#13748) 4 years ago
serial_link Add sync_timer support over serial_link (i.e. Ergodox Infinity) (#12845) 5 years ago
split_common Avoid LTO conficts on arm_atsam (#13676) 4 years ago
template Remove Full Bootmagic (#13846) 4 years ago
tools
visualizer
api.c
api.h
bitwise.c
bitwise.h
color.c
color.h Relocate RGB/HSV color defs to a more fitting place (#13377) 5 years ago
command.c Improve layer mask handling (#13065) 4 years ago
command.h
config_common.h 2021 May 29 Breaking Changes Update (#13034) 5 years ago
crc.c Add CRC8 calculation subsystem to quantum (#12641) 5 years ago
crc.h Add CRC8 calculation subsystem to quantum (#12641) 5 years ago
debounce.h Avoid 8-bit timer overflows in debounce algorithms (#12240) 5 years ago
dip_switch.c Convert Dip Switch callbacks to boolean functions (#13399) 5 years ago
dip_switch.h Convert Dip Switch callbacks to boolean functions (#13399) 5 years ago
dynamic_keymap.c Improve EEPROM defaults for Dynamic Keymaps (#12853) 5 years ago
dynamic_keymap.h
dynamic_macro.h
encoder.c 2021 May 29 Breaking Changes Update (#13034) 5 years ago
encoder.h 2021 May 29 Breaking Changes Update (#13034) 5 years ago
haptic.c Haptic: driver-> feature (#13713) 4 years ago
haptic.h Haptic: driver-> feature (#13713) 4 years ago
joystick.c
joystick.h
keycode_config.c
keycode_config.h 2021 May 29 Breaking Changes Update (#13034) 5 years ago
keymap.h
keymap_common.c Process combos earlier & overlapping combos (#8591) 4 years ago
led.c
led.h
led_tables.c
led_tables.h
matrix.c Change the prototype of matrix_output_unselect_delay() (#13045) 4 years ago
matrix.h Change the prototype of matrix_output_unselect_delay() (#13045) 4 years ago
matrix_common.c Change the prototype of matrix_output_unselect_delay() (#13045) 4 years ago
mcu_selection.mk Adds support for STM32L412xB, STM32L422xB. (#13383) 5 years ago
mousekey.c mousekey: expose current report to users (#13069) 4 years ago
mousekey.h mousekey: expose current report to users (#13069) 4 years ago
pointing_device.c
pointing_device.h
quantum.c Process combos earlier & overlapping combos (#8591) 4 years ago
quantum.h Merge remote-tracking branch 'origin/master' into develop 4 years ago
quantum_keycodes.h [Feature] Key Overrides (#11422) 4 years ago
ring_buffer.h
send_string.c Move `SENDSTRING_BELL` code to `send_string.h` (#13566) 4 years ago
send_string.h Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079) 5 years ago
send_string_keycodes.h Workaround for recent changes to mouse keycodes (#12367) 5 years ago
util.h
variable_trace.c
variable_trace.h
velocikey.c
velocikey.h
via.c Fix keycode mappings for via and ensure they don't change within protocol (#12130) 5 years ago
via.h
via_ensure_keycode.h Fix keycode mappings for via and ensure they don't change within protocol (#12130) 5 years ago
wpm.c Fix overflows in WPM calculations (#13128) 4 years ago
wpm.h 2021 May 29 Breaking Changes Update (#13034) 5 years ago