Commit Graph

66 Commits

Author SHA1 Message Date
Stephan Hadinger
48410e9536 Berry safer rule management 2021-10-11 19:10:37 +02:00
s-hadinger
416b3f8e05
Berry add stack dump in case of exception (#13319)
* Berry add stack dump in case of exception

* Fix type in Berry

* More typo
2021-10-10 19:53:38 +02:00
Stephan Hadinger
6594962fd3 Fix setmember 2021-10-04 21:48:43 +02:00
Stephan Hadinger
ddb1eb7fea Berry and LVGL fixes 2021-10-04 19:15:27 +02:00
Stephan Hadinger
4a18748f74 Berry improvements to persist 2021-10-03 16:34:45 +02:00
s-hadinger
6878bf9fbf
Berry add module `import persist` (#13264)
* Berry add module ``import persist``

* Call `persist.save()` before restart
2021-10-03 11:54:29 +02:00
Stephan Hadinger
98acc6fe2d LVGL updated to v8.0.2 **breaking changes** 2021-10-02 09:33:59 +02:00
Stephan Hadinger
a21e4a58fc Berry add tasmota.global 2021-09-30 19:51:40 +02:00
Stephan Hadinger
b5c58d0273 Berry support for NAN 2021-09-28 22:47:40 +02:00
s-hadinger
70d46bf32a
Merge pull request #13226 from s-hadinger/berry_ctypes_accept_bool
Berry ctypes accepts `bool` as parameter
2021-09-27 13:17:37 +02:00
Stephan Hadinger
735aea937a Berry ctypes accepts bool as parameter 2021-09-27 12:53:28 +02:00
Stephan Hadinger
7e93d5c370 Berry fix flip 2021-09-27 12:13:11 +02:00
Stephan Hadinger
509daa24dc Berry revamped `energy` module to expose all C variables to Berry (read/write) 2021-09-24 18:05:16 +02:00
s-hadinger
883a9fb12c
Berry refactored bytes class (#13208)
* Berry refactored bytes class

* Fix
2021-09-24 08:04:55 +02:00
Stephan Hadinger
28c65dd0c1 Berry simplification of ctypes 2021-09-22 13:54:20 +02:00
s-hadinger
176e2d8fac
Berry string range (#13194)
* Berry string range

* Fix regressions
2021-09-21 11:59:40 +02:00
s-hadinger
036430ec65
Berry improve introspect.toptr() (#13178)
* Berry improve `introspect.toptr()`

* Fix unwanted change
2021-09-19 23:27:51 +02:00
s-hadinger
5e2686407d
Berry introspect toptr (#13172)
* Berry introspect, add `toptr` and `fromptr`

* Remove warning
2021-09-19 15:35:51 +02:00
Stephan Hadinger
60d9b95ff4 Berry fix compiler bug in complex compound assignments 2021-09-18 16:00:56 +02:00
Stephan Hadinger
418ebf1e4e Berry update and global resolidify 2021-09-15 19:36:48 +02:00
s-hadinger
751234e05d
Revert "Berry move introspect.vcall to call" 2021-09-11 11:27:30 +02:00
Stephan Hadinger
840d9fdc2b Berry move introspect.vcall to call 2021-09-10 08:36:26 +02:00
Stephan Hadinger
70e11bd6a5 Berry add math.atan2() and change list.find() 2021-09-07 19:27:57 +02:00
Stephan Hadinger
cb42e241e6 Berry introspect.vcall 2021-09-01 09:12:50 +02:00
Stephan Hadinger
66998aa429 Berry constant search size 2021-08-30 19:10:17 +02:00
Stephan Hadinger
1ce8dbad85 Berry fix bytecode load/save for static class members 2021-08-27 19:15:25 +02:00
Stephan Hadinger
df8fb263e0 Berry support for indirect members 2021-08-27 09:10:29 +02:00
Stephan Hadinger
5588324274 Berry fix deinit 2021-08-26 21:51:19 +02:00
Stephan Hadinger
4541438e70 Berry take into account bytes() in gc size 2021-08-26 19:57:03 +02:00
Stephan Hadinger
5387345794 Berry improved super() for inheritance 2021-08-26 19:30:57 +02:00
Stephan Hadinger
9be8f4fc7a Berry fix bug in conditional 2021-08-26 18:52:08 +02:00
Stephan Hadinger
5ab0081f47 Berry upgrade to latest changes 2021-08-24 22:44:33 +02:00
Stephan Hadinger
0e1a5a0a79 Berry support for vararg 2021-08-23 19:47:37 +02:00
s-hadinger
aa6af84693
Berry vararg prep (#12951)
* Berry prepare for vararg, and fix string format

* Cosmetic fix
2021-08-23 13:29:15 +02:00
Stephan Hadinger
d4085bb063 Berry add base64 to bytes 2021-08-17 19:17:58 +02:00
Stephan Hadinger
63bbf46d7f Berry now compiling in `strict` mode to catch more bugs 2021-08-16 20:46:09 +02:00
Stephan Hadinger
b870ca1aa3 Fix 2021-08-16 12:22:02 +02:00
Stephan Hadinger
660698dc10 Fix Berry compiler bug #117 2021-08-16 12:11:28 +02:00
Stephan Hadinger
cb1fbf2edc Berry support for WAV audio 2021-07-30 13:09:31 +02:00
Stephan Hadinger
52b29625a6 Berry simplidy globals for solidification 2021-07-27 21:39:24 +02:00
Stephan Hadinger
ee876bd342 Berry solidified constants 2021-07-25 21:33:39 +02:00
Stephan Hadinger
4cab21eaaa Berry fix solidified sub-protos 2021-07-25 21:20:14 +02:00
s-hadinger
37d350d9e1
LVGL new widget `lv_wifi_bars` (#12752)
* LVGL new widget ``lv_wifi_bars``

* Remove old code
2021-07-25 19:23:58 +02:00
s-hadinger
392d580a97
Berry add module `introspect` (#12728)
* Berry add module ``introspect``

* Rename `members`
2021-07-22 22:36:18 +02:00
Stephan Hadinger
6cd3e37ed5 Berry LVGL improvements to allow custom widgets 2021-07-22 20:21:18 +02:00
Stephan Hadinger
749d30a14f LVGL fixes and examples 2021-07-21 23:17:53 +02:00
Stephan Hadinger
7d26370d9e Fix wrong gc count for instances 2021-07-21 12:25:26 +02:00
Stephan Hadinger
84e58739a0 Berry add support for I2S audio mp3 playback 2021-07-20 21:05:10 +02:00
Stephan Hadinger
f99d5b0e0f Berry support for static class members 2021-07-19 18:45:04 +02:00
Stephan Hadinger
3bd4358a37 Berry fix GC when lexer error 2021-07-07 18:07:17 +02:00