summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2022-08-30Use a macro to compute the size of arrays at compile time (#18044)Jeff Epler
* Add ARRAY_SIZE and CEILING utility macros * Apply a coccinelle patch to use ARRAY_SIZE * fix up some straggling items * Fix 'make test:secure' * Enhance ARRAY_SIZE macro to reject acting on pointers The previous definition would not produce a diagnostic for ``` int *p; size_t num_elem = ARRAY_SIZE(p) ``` but the new one will. * explicitly get definition of ARRAY_SIZE * Convert to ARRAY_SIZE when const is involved The following spatch finds additional instances where the array is const and the division is by the size of the type, not the size of the first element: ``` @ rule5a using "empty.iso" @ type T; const T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) @ rule6a using "empty.iso" @ type T; const T[] E; @@ - sizeof(E)/sizeof(T) + ARRAY_SIZE(E) ``` * New instances of ARRAY_SIZE added since initial spatch run * Use `ARRAY_SIZE` in docs (found by grep) * Manually use ARRAY_SIZE hs_set is expected to be the same size as uint16_t, though it's made of two 8-bit integers * Just like char, sizeof(uint8_t) is guaranteed to be 1 This is at least true on any plausible system where qmk is actually used. Per my understanding it's universally true, assuming that uint8_t exists: https://stackoverflow.com/questions/48655310/can-i-assume-that-sizeofuint8-t-1 * Run qmk-format on core C files touched in this branch Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-08-30Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-30Expand on the differences between Caps Word and Caps Lock (#18139)precondition
* Expand on the differences between Caps Word and Caps Lock * Add the equiv default KC_ next to intl alias * It's configurable so it's not a problem
2022-08-29[Core] Introduce pointing device specific debug messages (#17663)Stefan Kerkmann
2022-08-28Use `TAP_CODE_DELAY` for encoder mapping by default (#18098)Nick Brassel
2022-08-28Switch over MANUFACTURER and PRODUCT to string literals (#18183)Ryan
2022-08-282022q3 Changelog. (#18180)Nick Brassel
Co-authored-by: Drashna Jaelre <drashna@live.com>
2022-08-22Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-23Update Tap Dance Example 4 (#18138)Jesse
break statements are missing from the switch for both registering and unregistering key codes. Neither have a default: case either. The code as exists in the repository right now does not compile. It does with this changes.
2022-08-20CLI: Teaching the CLI to flash binaries (#16584)Erovia
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Sergey Vlasov <sigprof@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2022-08-19Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-18[Docs] Fix typo in data driven config docs (#18095)Simon Hengel
2022-08-19Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-18[Docs] Update list of "ARM-based ProMicro replacements" (#18083)~ aka goonf!sh
2022-08-18Add Bonsai C4 converter (#17711)David Hoelscher
2022-08-17Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-16[Docs] Use layer number as example for COMBO_ONLY_FROM_LAYER (#18072)Albert Y
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-08-16Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-16Adjust the hierarchy of chapter `Deferred Execution` (#18075)coliss86
2022-08-16Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-16[Docs] update pr_checklist.md with info about data-driven (#18068)Tom Barnes
* update pr_checklist with info about data-driven Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2022-08-14Added emacs as an "operating system" for input mode. (#16949)Chewxy
2022-08-14[Controller] Added board config for custom controller STeMCell (#16287)Mega Mind
Co-authored-by: Mariappan Ramasamy <947300+Mariappan@users.noreply.github.com> Co-authored-by: Mariappan Ramasamy <maari@basis-ai.com> Co-authored-by: Sadek Baroudi <sadekbaroudi@gmail.com>
2022-08-14Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-13Add texts for Discord Events to be created post-merge. (#17944)Nick Brassel
2022-08-14Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-13[Docs] Suggest imgur images are edited to set size (#18031)Tom Barnes
2022-08-13Add Bit-C PRO converter (#17827)Jay Greco
2022-08-13Improve importer workflow (#17707)Joel Challis
2022-08-13Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-12[Docs] Refactor code examples (#18003)Albert Y
2022-08-12Create generic Pointing Device Pin defines (#17776)Drashna Jaelre
2022-08-06Remove `UNUSED_PINS` (#17931)Nick Brassel
2022-08-06[Core] Process all changed keys in one scan loop, deprecate ↵Stefan Kerkmann
`QMK_KEYS_PER_SCAN` (#15292)
2022-08-06Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-06[Docs] Building with GitHub Userspace (#16271)Albert Y
2022-08-04Add deprecated check for RGBLIGHT_ANIMATIONS (#17832)Drashna Jaelre
2022-07-31Add ST7735 driver to Quantum Painter (#17848)David Hoelscher
2022-07-31Remove OLED driver Split Common warning (#17862)Joel Challis
2022-07-31Fix POINTING_DEVICE_GESTURES_SCROLL_ENABLE typo (#17850)Daniel Kao
* Fix typo for POINTING_DEVICE_GESTURES_SCROLL_ENABLE Follow the name written in documentation which follows POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE * Reword the blurb about POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE in docs
2022-07-29Implement relative mode for Cirque trackpad (#17760)Drzony
2022-07-28Rename postprocess_steno_user → post_process_steno_user (#17823)precondition
2022-07-27Merge remote-tracking branch 'origin/master' into developDrashna Jael're
2022-07-27[Docs] Add information about WeAct Blackpill F411 (#16755)Drashna Jaelre
* [Docs] Add information about WeAct Blackpill F411 * Add clarification for matrix pins * Update documentation * Tweak wording
2022-07-26[Docs] Updates to Pointing Device Docs (#17777)Drashna Jaelre
2022-07-25[Docs] Fix custom debug function and sample output (#17790)Drashna Jaelre
2022-07-24Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-07-25[Docs] Fix tables in Audio driver document (#17780)Drashna Jaelre
2022-07-23implement `tap_code16_delay` (#17748)JayceFayne
2022-07-23Add ability to enter bootloader mode from `QK_MAKE` (#17745)jack