hedger
ffa3996a5e
[FL-3867] Code formatting update ( #3765 )
...
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard: c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev
Co-authored-by: あく <alleteam@gmail.com >
2024-07-15 13:38:49 +09:00
hedger
03196fa110
cleanup of various warnings from clangd ( #3682 )
...
* cleanup of various warnings from clangs
* lfrfid_debug: cast fixes
* subghz: binraw: round->roundf
* furi: thread: updated internal stack size variable to size_t
* github: fail faster on unsuccessful build
* unit_tests: double trouble
2024-06-03 14:43:23 +01:00
WillyJL
0d456aa550
JS: Add textbox module ( #3597 )
...
* JS: Add textbox module
* Using view_holder instead of view_dispatcher, more checks in js_textbox_show
* API version sync
* Rename emptyText() to clearText()
* Keeping view_holder allocated for thread sefety
* Js: proper comparision with 0 in js_math_sign
* Js: add comments and fix condition race in textbox
Co-authored-by: あく <alleteam@gmail.com >
Co-authored-by: nminaylov <nm29719@gmail.com >
2024-05-17 18:43:52 +01:00
WillyJL
c673b53e21
JS: Add math module ( #3598 )
...
* JS: Add math module
* Double constants
* Error on argument type mismatch
* Fix missing returns
* Using sin, exp from c library
* asin, acos, pow, sqrt too
* Js: tests for math module and various fixes.
Co-authored-by: あく <alleteam@gmail.com >
Co-authored-by: nminaylov <nm29719@gmail.com >
2024-05-17 17:45:40 +01:00
WillyJL
63403bbae2
JS: Add submenu module ( #3601 )
...
* JS: Add submenu module
* Using view_holder instead of view_dispatcher
Co-authored-by: nminaylov <nm29719@gmail.com >
Co-authored-by: あく <alleteam@gmail.com >
2024-05-16 18:55:08 +01:00
Gabe
702ab672bb
Adding F13-F24 function key support to BadUSB ( #3468 )
...
* Adding F13-F24 function key support to BadUSB
* Adding F13-F24 function key support to JS version of BadUSB
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: あく <alleteam@gmail.com >
2024-03-21 06:45:16 +09:00
Nikolay Minaylov
25a280c818
JS serial module renamed, uart channel selection ( #3445 )
2024-02-13 10:04:27 +07:00
Nikolay Minaylov
0154018363
[FL-3579, FL-3601, FL-3714] JavaScript runner ( #3286 )
...
* FBT: cdefines to env, libs order
* API: strtod, modf, itoa, calloc
* Apps: elk js
* Apps: mjs
* JS: scripts as assets
* mjs: composite resolver
* mjs: stack trace
* ELK JS example removed
* MJS thread, MJS lib modified to support script interruption
* JS console UI
* Module system, BadUSB bindings rework
* JS notifications, simple dialog, BadUSB demo
* Custom dialogs, dialog demo
* MJS as system library, some dirty hacks to make it compile
* Plugin-based js modules
* js_uart(BadUART) module
* js_uart: support for byte array arguments
* Script icon and various fixes
* File browser: multiple extensions filter, running js scripts from app loader
* Running js scripts from archive browser
* JS Runner as system app
* Example scripts moved to /ext/apps/Scripts
* JS bytecode listing generation
* MJS builtin printf cleanup
* JS examples cleanup
* mbedtls version fix
* Unused lib cleanup
* Making PVS happy & TODOs cleanup
* TODOs cleanup #2
* MJS: initial typed arrays support
* JS: fix mem leak in uart destructor
Co-authored-by: SG <who.just.the.doctor@gmail.com >
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2024-02-12 15:54:32 +07:00