Commit Graph

153 Commits

Author SHA1 Message Date
Willy-JL
c7d9e1ea22 Fix extension merge 2024-02-14 19:51:52 +00:00
Willy-JL
27601d2a9a Merge branch 'nm/js_archive_ext_filter' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2024-02-14 19:15:51 +00:00
nminaylov
89e9a2083c Archive: fixed Apps tab ext filter 2024-02-14 17:04:40 +03:00
Nikolay Minaylov
13493916e2 JS debug disabled, archive and file browser fixes (#3446)
Co-authored-by: あく <alleteam@gmail.com>
2024-02-14 10:14:29 +07:00
Willy-JL
a73894797d Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2024-02-13 19:29:30 +00:00
MX
71a93e8cc3 Merge remote-tracking branch 'OFW/nm/js_archive_fixes' into dev 2024-02-13 16:29:15 +03:00
nminaylov
d75f2c62ca JS debug disabled, archive and file browser fixes 2024-02-13 16:05:04 +03:00
Willy-JL
4027db5156 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2024-02-12 16:43:26 +00:00
MX
1faeca6e1b Merge branch 'ofw_dev' into dev 2024-02-12 17:11:47 +03: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
MX
ae04fc70eb fix archive filebrowser bugs 2024-01-27 17:53:11 +03:00
Willy-JL
0a55300926 Fix xtreme lib import 2023-12-02 06:32:04 +00:00
Willy-JL
e0fa360640 Fix rename/move API, now rename/rename_safe (#468)
On OFW "rename" acts like "move", it replaces the destination
XFW had an extra "move" like that, and "rename" errored if dest exists
Now for compatibility "rename" acts as OFW, and new "rename_safe" errors
Tweaked all usages to work properly
Decided for CLI and RPC to use "rename_safe" so user cant lose files
2023-11-28 00:00:40 +00:00
Willy-JL
750f371182 Fix copy/paste and rename behaviors
Same beginning of name != same file/folder
Must check with a / suffixed

And never hold a pointer to furi string cstr
2023-11-25 18:11:54 +00:00
MX
a64c9534e2 Merge branch 'ofw_dev' into dev 2023-11-17 02:20:27 +03:00
Willy-JL
a4d01d5d88 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2023-11-16 02:19:28 +00:00
Sergey Gavrilov
4b3e8aba29 [FL-3664] 64k does not enough (#3216)
* Unit tests: add "exists" to furi_record tests
* Unit tests: mu_warn, storage 64k test
* Storage: read/write over 64k
* Unit tests: moar tests for storage r/w for >64k cases
* Apps, libs: replace uint16_t with size_t on storage r/w operations
* Unit tests: better data pattern, subghz: warning if transmission is prohibited

Co-authored-by: あく <alleteam@gmail.com>
2023-11-16 01:39:27 +09:00
Willy-JL
28bcc09d9b This can just be made global at this point lol 2023-10-26 04:03:42 +01:00
Willy-JL
56fd259d48 Move fw integrated apps to system dir --nobuild 2023-10-02 11:12:59 +01:00
Willy-JL
3af56c2af8 Last part for 100% OFW compatile API 2023-08-29 02:37:09 +02:00
Willy-JL
04f724a52c Add run_with_default_app(), run files in right app 2023-08-10 01:44:33 +02:00
Willy-JL
ea6966208b Rename archive external helper include 2023-08-10 01:23:43 +02:00
gid9798
c0eebcb540 Archive: Cut/Copy/Past & NewDir 2023-07-18 23:46:28 +03:00
gid9798
da919372e2 Archive separate menu 2023-07-16 20:28:15 +03:00
Willy-JL
caa1bc9253 Archive merge menus, change buttons, cleanup code 2023-07-16 03:40:15 +02:00
Willy-JL
a377178a35 Item idx not needed anymore 2023-07-14 15:26:56 +02:00
Willy-JL
ae8488ecba Re-merge the file browser changes properly 2023-07-14 15:25:02 +02:00
Willy-JL
7ce9e41091 Revert "Merge previous file browser commits"
This reverts commit 06c44031e7.
2023-07-14 14:25:26 +02:00
gid9798
b3810ec573 SubRem: archive browser 2023-07-14 14:16:37 +03:00
Willy-JL
06c44031e7 Merge previous file browser commits 2023-07-14 03:52:23 +02:00
MX
523f522de0 revert archive fixes temporarily 2023-07-14 04:40:22 +03:00
MX
c4b04a06bb Merge branch 'ofw-dev' into dev 2023-07-12 21:19:16 +03:00
Nikolay Minaylov
92c0baa461 [FL-3383, FL-3413] Archive and file browser fixes (#2862)
* File browser: flickering and reload fixes
* The same for archive browser
2023-07-12 20:35:11 +04:00
Willy-JL
6cb7aa649a Fix u2f archive tab 2023-07-04 00:12:59 +02:00
Willy-JL
761ea80454 Archive: New tab for searching files 2023-07-03 22:31:54 +02:00
Willy-JL
5520fd3d66 Archive apps use switches for easier additions 2023-07-03 18:06:28 +02:00
Willy-JL
f96993493d Fix small string usage bug 2023-07-03 18:02:29 +02:00
Willy-JL
266538906e Archive switch types for remote/playlist in tabs 2023-07-03 04:12:29 +02:00
Willy-JL
cdfdbed730 Archive fix sort idx=0 + hide cursor while loading 2023-07-03 03:05:17 +02:00
Willy-JL
0ccdc60921 Support remote and playlist files in archive 2023-07-03 02:40:26 +02:00
Willy-JL
15bac5e02a Fix archive selection index issues after refresh 2023-06-26 03:05:46 +01:00
Willy-JL
1a0f51bd25 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2023-06-25 20:57:33 +01:00
MX
a466885df3 Merge branch 'ofw-dev' into dev 2023-06-25 03:08:40 +03:00
Sergey Gavrilov
761a14e6e2 [FL-2837][FL-3270] Loader refaptoring: second encounter (#2779)
* Core: rename internal FlipperApplication to FlipperInternalApplication
* FAP Loader: move load_name_and_icon to flipper_application library
* Loader menu: rework api
* View holder: move to gui service
* Loader: simple "loading" worker
* Loader: applications dialog
* Loader: fapping
* Update f18 api
* Apps: remove fap_loader
* Libs, flipper application: store args, rename thread allocation
* Loader: error handling
* Apps: use loader error handling
* Loader: documentation
* FBT: accomodate loader
* Loader: do not raise gui error if loader is locked
* Archive: accomodate loader
* Loader: fix loading message
* Flipper: drop some old dolphin legacy
* Loader: generalize error construction

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-06-23 21:01:40 +09:00
Willy-JL
2d7447d979 Use prev basename instead of index on folder exit
Keeps folder history after closing external app
2023-06-21 13:24:51 +01:00
Willy-JL
0d15bebb69 Archive file menu improvements 2023-06-19 16:29:19 +01:00
Willy-JL
cb1d05d761 Who tf made extensions have limited length??? 2023-06-12 23:32:36 +01:00
Willy-JL
d535afc4c9 This isnt needed anymore 2023-06-12 22:47:20 +01:00
Willy-JL
1e299c1b74 Add hidden files and internal tab settings 2023-06-05 00:39:52 +01:00
Willy-JL
b89f93e9a3 Archive fix actions menu retardedness 2023-06-04 22:57:31 +01:00