Matt Forrester and GitHub
9fb053ae67
fix(lua): stick "side" missing from model.getInput ( #5801 )
2025-01-21 18:07:17 +10:00
philmoz and GitHub
a6542e1448
feat(f4): more free memory on handsets with CCM RAM ( #5804 )
...
Alternative Lua memory allocator for radios with CCM RAM - primarily GX12 at present
2025-01-20 10:32:20 +10:00
philmoz and GitHub
b6d46325f7
chore: cleanup compiler warnings, disable "unaligned pointer value" warning ( #5743 )
2025-01-01 11:33:32 +10:00
47cba2211f
chores: update to LUA 5.3 ( #4203 )
...
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
Co-authored-by: philmoz <phil.a.mitchell@gmail.com >
2024-12-24 12:45:06 +10:00
philmoz and GitHub
28b0cb9e71
fix(radio): potential crash when writing .luac files ( #5732 )
2024-12-24 10:53:05 +10:00
philmoz and GitHub
e4ba477e34
fix(radio): writing of .luac files can fail on some radios ( #5716 )
2024-12-22 12:40:37 +10:00
philmoz and GitHub
8e37d4e49a
fix(color): VCENTER does not work for Lua drawText function ( #5730 )
2024-12-22 11:02:26 +10:00
Matt Forrester and GitHub
689dbb23db
feat(lua): add getter/setter for Global Variable details ( #5688 )
2024-12-19 11:19:30 +10:00
philmoz and GitHub
4bea3af3a4
chore!(color): remove font offsets for Lua 'lcd' text drawing ( #5671 )
2024-11-24 12:28:14 +10:00
philmoz and GitHub
79adb58dfc
feat(lua): add properties for dashed vertical and horizontal lines in Lvgl API ( #5681 )
2024-11-23 10:12:04 +10:00
philmoz and GitHub
50cfd4d1f7
feat(lua): add 'align' and 'opacity' properties for some LVGL widget objects ( #5654 )
2024-11-09 12:26:47 +10:00
philmoz and GitHub
1deac60b62
feat(color): add FILE type for widget options ( #5605 )
2024-10-18 10:47:00 +10:00
Wilhelm and GitHub
3c3a2dfb03
feat(lua): deliver EVT_TOUCH_RELEASE event ( #5587 )
2024-10-18 09:24:27 +10:00
philmoz and GitHub
e8224b8f08
feat(bw): add 'Set Screen' special function to B&W radios ( #5589 )
2024-10-17 15:58:34 +10:00
philmoz and GitHub
22c9ed4153
fix(color): incorrect method called to free a widget options array ( #5593 )
2024-10-06 11:32:52 +10:00
philmoz and GitHub
c1c600cf35
feat(color): enhancements and fixes for Lua LVGL API ( #5558 )
...
New:
line and triangle primitives
message popup dialog
expose buttons for for font, alignment, color, timer, switch and source pickers
generic popup dialog that can be filled with other things
lvgl.isAppMode() function to let widgets know when app mode is active
additional containers for creating layouts (box and setting)
flex layouts
Fixes:
colors are updated when theme changes
fix memory leaks when stand alone scripts close
run stand alone scripts in a separate Lua state and use lua_pcallk() to prevent cross boundary errors (color only)
2024-09-30 09:41:48 +10:00
philmoz and GitHub
edb04cc833
fix(color): full screen widget may not exit cleanly after calling lcd.exitFullScreen() ( #5544 )
2024-09-19 18:05:08 +10:00
philmoz and GitHub
ecc083001b
chore(lua): remove redundant entries ( #5535 )
...
added in 5518
2024-09-16 09:46:03 +10:00
d417228677
feat: special function to push customisable switches ( #5497 )
...
Co-authored-by: philmoz <phil.a.mitchell@gmail.com >
Co-authored-by: elecpower <elecpower@users.noreply.github.com >
2024-09-14 11:56:42 +10:00
philmoz and GitHub
40449bf730
fix(color): incorrect font name in Lua API ( #5531 )
2024-09-14 10:52:39 +10:00
philmoz and GitHub
ecfa1e1b5b
feat(color): add Slider & Choice widget option types ( #5518 )
2024-09-11 16:20:37 +10:00
17bf9dc813
feat: support for HelloRadioSky V16 ( #5317 )
...
Co-authored-by: Peter Feerick <pfeerick@users.noreply.github.com >
2024-09-02 09:45:59 +10:00
philmoz and GitHub
e0ec49d84e
chore(radio): remove EEPROM macros and related code ( #5461 )
2024-08-22 10:32:16 +10:00
Lupus the Canine and GitHub
e61fc89331
feat(lua): add end coordinates to lcd.drawTextLines ( #5452 )
2024-08-20 13:49:15 +10:00
Risto and GitHub
5e95e522e7
feat(lua): add screenshot() function ( #5181 )
2024-08-20 13:12:33 +10:00
philmoz and GitHub
06db4c7989
fix(lua): radio tries to run 'nil' script if SF disabled ( #5457 )
2024-08-19 09:01:33 +10:00
Peter Feerick and GitHub
839cfbd53c
chore: more OTX to ETX housekeeping ( #5396 )
2024-08-14 21:02:29 +10:00
philmoz and GitHub
011397c4de
feat(lua): add lvgl.page(), add optional parent property to lvgl.build() ( #5407 )
2024-08-13 11:26:50 +10:00
philmoz and GitHub
8443b50aef
fix(bw): LONG press RTN to exit Lua script closes tools menu ( #5417 )
2024-08-12 10:37:02 +10:00
philmoz and GitHub
317bb052bc
fix(lua): widget background function not always run when offscreen ( #5399 )
2024-08-09 10:44:44 +10:00
philmoz and GitHub
53628a386f
fix(color): main view layout, lua widget display issues ( #5382 )
2024-08-05 15:23:13 +10:00
philmoz and GitHub
4b978c347d
fix(color): flickering Lua widgets when full screen is refreshed ( #5364 )
2024-08-05 09:27:25 +10:00
philmoz and GitHub
2eee7cd011
chore: re-organise source files for color LCD UI ( #5358 )
2024-08-02 08:50:55 +10:00
philmoz and GitHub
23df4f63bb
chore(color): color UI code cleanup - round 3 ( #5351 )
2024-08-01 10:05:52 +10:00
4b917b762c
feat: use any source for expo/weight/offset ( #5220 )
...
Co-authored-by: philmoz <phil.a.mitchell@gmail.com >
Co-authored-by: 3djc <3djc@gh.com >
Co-authored-by: elecpower <elecpower@users.noreply.github.com >
2024-07-26 20:51:21 +10:00
Frankie Arzu and GitHub
1942e4166b
fix(lua): incorrect name for MIN source ( #5293 )
2024-07-14 08:54:42 +10:00
philmoz and GitHub
4d29d5dbae
feat(color): additions to LVGL for Lua scripts ( #5179 )
2024-07-01 09:07:18 +10:00
Michael and GitHub
c377aa4890
fix(lua): save telemetry sensor generated by setTelemetryValue() ( #5224 )
2024-06-28 21:12:52 +10:00
philmoz and GitHub
0d6d35ef02
fix(color): standalone Lua syntax errors or missing run() may cause EM ( #5212 )
2024-06-23 18:46:36 +10:00
philmoz and GitHub
e7509349b3
chore(color): more layout cleanup and minor bug fixes ( #5171 )
2024-06-17 05:40:08 +00:00
philmoz and GitHub
b4e33fc439
feat(lua): support for using LVGL objects on colorlcd ( #4887 )
2024-06-13 13:16:07 +10:00
philmoz and GitHub
97f9884639
refactor(color): UI code cleanup, speed up loading of complex pages ( #5031 )
2024-06-06 20:08:13 +10:00
philmoz and GitHub
fb2188cacd
fix(lua): getFieldInfo() not returning switch info ( #5108 )
2024-06-05 18:19:35 +10:00
philmoz and GitHub
e807ccbebf
refactor: key handling ( #4849 )
2024-05-27 18:33:53 +10:00
Peter Feerick and GitHub
e72f1d2da1
fix: some cppcheck errors ( #4942 )
2024-05-02 13:13:16 +10:00
philmoz and GitHub
dc2998e478
feat(lua): add 'mkdir' and 'rename' functions ( #4870 )
2024-04-28 18:44:55 +10:00
ThomasKuehne and GitHub
8225fb21c5
chore(radio): cleanup -Wzero-as-null-pointer-constant warnings ( #4851 )
2024-04-15 09:31:46 +10:00
philmoz and GitHub
f28c1150ed
refactor(color): use LVGL styles and objects for UI, legacy cleanup ( #4407 )
2024-04-05 17:33:14 +10:00
philmoz and GitHub
0d84acef59
fix(lua): ignore potential unwanted key events ( #4833 )
2024-04-02 10:52:17 +10:00
philmoz and GitHub
84aa4f4b40
fix(lua): add 'repetition' property to getCustomFunction and setCustomFunction tables ( #4693 )
2024-03-06 08:59:21 +10:00