Commit Graph

321 Commits

Author SHA1 Message Date
s-hadinger bf7fbf2cbe
Berry internal: remove class from closure to simplify code (#21839) 2024-07-24 22:59:53 +02:00
s-hadinger db3e29dd47
Berry fix `bytes` setters and getters with negative offsets (#21835) 2024-07-24 14:24:11 +02:00
s-hadinger b56e3c43a8
Berry improve solidification of bytes (#21751) 2024-07-09 13:19:24 +02:00
Christian Baars 7cb8a3f968
Berry: add cam module, img class (#21743)
* cam module, img class
2024-07-07 19:50:33 +02:00
s-hadinger b6c488a883
Berry `bytes.resize()` for large sizes (#21716) 2024-07-01 22:53:49 +02:00
s-hadinger c58607a5b5
Berry `math.min()` and `math.max()` (#21705) 2024-06-29 10:42:21 +02:00
s-hadinger bd47d99ceb
Berry `classof` extended to class methods (#21615) 2024-06-12 10:48:38 +02:00
s-hadinger 9546390a1f
Berry add `math.round` (#21602)
* Berry add `math.round`

* add unit tests

* math.roung() returns real
2024-06-09 19:01:15 +02:00
s-hadinger d16a502f36
Berry fix potential crash when solidifying loaded bytecode (#21583) 2024-06-06 22:11:52 +02:00
s-hadinger a51c511d52
Berry bytes solidification (#21558)
* Berry prepare for bytes() solidification

* Berry solidification of bytes objects

* Berry solidification of `bytes` instances
2024-06-03 21:14:44 +02:00
s-hadinger e13c0a7114
Berry coc parser keeps order of variables (#21542) 2024-06-01 20:46:55 +02:00
s-hadinger e56f6a150d
Berry add reuse of methods for interface-like code reuse (#21500) 2024-05-26 23:05:43 +02:00
s-hadinger c161f63c9a
Berry fix message for borrowed method (solidification) 2024-05-24 22:59:19 +02:00
s-hadinger 0d3e888147
Berry change internal storage of parent class for methods (#21490)
* Berry change internal storage of parent class for methods

* Fix compilation of zigbee

* Patch solidify for berry_custom
2024-05-24 22:32:37 +02:00
Christian Baars e5521bb763
Build system: allow easy solidification of external Berry (#21430)
* custom solidification

* solidify-from-url

* forgot folders

---------

Co-authored-by: Radio Loge <radiologe@MacBook-Pro-von-Radio.local>
2024-05-24 20:57:43 +02:00
s-hadinger 5b207209a5
Berry binary compiled with gcc (#21426) 2024-05-17 14:22:10 +02:00
s-hadinger fd148a8d12
Berry `math.inf`, `math.isinf()` and fixed json ouput for `inf` and `nan` (#21304) 2024-04-29 22:55:57 +02:00
s-hadinger c16a8411a8
Berry update windows binary (#21195) 2024-04-15 22:23:05 +02:00
s-hadinger c1845b952b
Berry apply upstream fixes (#21194) 2024-04-15 22:12:16 +02:00
s-hadinger 35c2d55382
Berry upstream walrus fix (#21175) 2024-04-14 15:58:30 +02:00
s-hadinger 105aa03198
Berry upstream fix mod 0 (#21174)
* Berry upstream fix mod 0

* Add test case
2024-04-14 14:55:20 +02:00
s-hadinger 8acf4cd119
Berry fix for Ubuntu (#21166) 2024-04-13 15:19:04 +02:00
s-hadinger 8736544a81
Berry fix upstream connect with undefined variable (#21156) 2024-04-12 15:34:24 +02:00
s-hadinger 5e60d5217d
Berry compile local Berry with int64 (#21151)
* Berry compile local Berry with int64

* Revert solidify
2024-04-11 22:18:59 +02:00
s-hadinger 7e2fff9728
Berry prepare compilation on 64bits platforms (#21149) 2024-04-11 22:03:12 +02:00
s-hadinger 0484299ee4
Align with Berry PR #412 (#21143) 2024-04-11 10:51:15 +02:00
s-hadinger aa4bdebe55
Berry `print "a"` syntax no longer supported (#21048) 2024-03-27 16:22:27 +01:00
s-hadinger 15ae3e0fa5
berry.exe (pre-compiled for Windows) updated to latest Berry patches (#21024) 2024-03-24 16:33:21 +01:00
s-hadinger c95483844a
Berry fix walrus bug when assigning to self (#21015) 2024-03-22 18:51:48 +01:00
s-hadinger 26a3eacbd6
Berry update windows binary (#20940) 2024-03-12 23:10:07 +01:00
s-hadinger 0518bd6c64
Berry fix walrus with member or index (#20939) 2024-03-12 23:00:52 +01:00
s-hadinger 8b7cd2de44
HASPmota moved to a distinct library `lv_haspmota` (#20929) 2024-03-11 22:31:44 +01:00
s-hadinger bb07ded475
Berry add `string.starstwith`, `string.endswith` and `%q` format (#20909)
* Berry add `string.starstwith`, `string.endswith` and `%q` format

* Fix typo

---------

Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
2024-03-10 14:31:15 +01:00
s-hadinger b06c310305
Berry update Windows binary (#20845) 2024-03-01 19:37:45 +01:00
s-hadinger e55471e084
Berry bug when parsing ternary operator (#20839) 2024-02-29 19:23:32 +01:00
s-hadinger 7ad95faad2
Fix Berry Memory leak in `import re` (#20823) 2024-02-27 21:56:51 +01:00
s-hadinger 55be1866ad
Berry add explicit error log when memory allocation fails (#20807) 2024-02-25 21:17:08 +01:00
s-hadinger a5e3391ca8
Matter fix introspect.contains (#20685) 2024-02-08 02:42:21 +01:00
s-hadinger 6c16a5122a
Berry add `introspect.contains` and `bytes.addfloat` (#20635) 2024-02-01 09:52:24 +01:00
s-hadinger 6b4254a014
Berry syntax coloring for Notepad++ (by FransO) (#20541) 2024-01-18 23:24:18 +01:00
s-hadinger 06c2d78d5f
Berry assigment to list with negative index (#20537) 2024-01-18 22:01:39 +01:00
s-hadinger a2c4123d79
Berry add solidification of strings longer than 255 bytes (#20529) 2024-01-18 12:31:47 +01:00
s-hadinger 08a14ccc9e
LVGL add `lv.str_arr` (#20480) 2024-01-12 19:48:33 +01:00
s-hadinger b0f4542707
Berry `debug.caller` (#20470) 2024-01-12 08:29:14 +01:00
s-hadinger 298ee22ebf
Berry add `string` to `bytes()` (#20420) 2024-01-07 15:38:29 +01:00
s-hadinger 6768ebc2ac
Berry fix static allocation when superclass is a member (#20385) 2024-01-03 16:12:47 +01:00
s-hadinger 6a8435b731
Berry added `introspect.set()` for class attributes (#20339) 2023-12-29 10:17:10 +01:00
s-hadinger 67b36030dc
Berry sync upstream #369 (#20330) 2023-12-28 17:00:35 +01:00
s-hadinger 2808653ad9
Moved Berry animate to its own `berry_animate` lib (#20309)
* Moved Berry animate to its own `berry_animate` lib

* Fix solidification

* fix compilation

* Fix compilation
2023-12-25 11:01:19 +01:00
s-hadinger c1f8ee5dbb
Refactoring of Berry `animate` module for WS2812 Leds (#20236) 2023-12-14 20:13:17 +01:00