Commit Graph

402 Commits

Author SHA1 Message Date
s-hadinger
92a97a65f9
Berry remove animate (#24241)
* Remove tab from json

* Berry 'animate' to be replaced with 'animation' framework
2025-12-21 12:44:20 +01:00
s-hadinger
0b639b7ab7
Berry faster type (#24175)
* Remove tab from json

* Berry faster `type()` function
2025-11-29 17:40:12 +01:00
s-hadinger
73fd0aa377
Berry syntax highlighter for multiline f-strings (#24155) 2025-11-23 23:03:42 +01:00
s-hadinger
dc2ae5078c
Berry Force left bracket without spaces for calls (#24154) 2025-11-23 21:59:12 +01:00
s-hadinger
6b9e622703
Berry fix infinite loop in rare situations (#24132) 2025-11-17 17:37:56 +01:00
s-hadinger
9d12fe39c5
Berry alternative to strnlen 2 (#24124) 2025-11-16 12:52:18 +01:00
s-hadinger
2f70c0b99b
Berry pointer arithmetic and fast bytes access (#24102) 2025-11-11 18:42:36 +01:00
s-hadinger
2660ad72ab
Add type checking to byteslib (#24015) 2025-10-15 16:57:01 +02:00
s-hadinger
fee21ba272
Berry alternative to strnlen (#23952) 2025-09-26 16:27:02 +02:00
s-hadinger
c95063a56b
Berry extension manager (#23940) 2025-09-22 22:32:03 +02:00
Christian Baars
9d39901967
add Berry module: Matrix (#23935)
* add Berry module Matrix

* change class name to pixmat
2025-09-22 17:03:53 +02:00
sfromis
fe166b149f
Update be_modtab.c, #ifdef nesting for USE_BERRY_ANIMATION (#23905)
Adjustment of #ifdef nesting, as confirmed by @s-hadinger 
https://discord.com/channels/479389167382691863/826169659811168276/1416406702613598228
2025-09-13 20:44:01 +02:00
s-hadinger
7c5b99e2dc
Berry 'animate' framework is DEPRECATED, will be replace by 'animation' framework (#23854) 2025-08-30 10:58:19 +02:00
s-hadinger
5a08bc11e3
Berry multiplication between string and int (#23850) 2025-08-29 11:41:08 +02:00
s-hadinger
a07b293a9b
Berry remove overflow check when parsing hex (#23842) 2025-08-27 20:43:54 +02:00
s-hadinger
8f9c173ed6
Berry fix calling 'setmember' with a function (#23825) 2025-08-24 19:52:13 +02:00
s-hadinger
772ba227e2
Berry update of preview of animation framework (#23816) 2025-08-22 19:44:35 +02:00
s-hadinger
af8700f6d9
Berry provide details when solidifying fails because of upvals (#23809)
* Berry provide details when solidifying fails because of upvals

* more resilient code
2025-08-21 15:21:04 +02:00
s-hadinger
95f7e39672
Berry call() now works for classes (#23744) 2025-08-01 22:44:49 +02:00
s-hadinger
ca934bae33
Preview of Berry animation framework (#23740)
* Preview of Berry animation framework

* fix comet and compilation for safeboot
2025-08-01 18:02:02 +02:00
s-hadinger
d82fb0e07f
Berry fix missing coma (code actually not used in Tasmota) 2025-07-17 09:59:49 +02:00
s-hadinger
45dd2a331e
Berry f-strings now support ':' in expression (#23618) 2025-06-29 22:46:18 +02:00
s-hadinger
8de22ee4cc
Berry fix security issues in 'int64' and improve documentation (#23605) 2025-06-27 20:49:49 +02:00
s-hadinger
727756283d
Berry add internal documentation with Claude 4 (#23604) 2025-06-27 19:42:44 +02:00
s-hadinger
decdfc6b51
Berry vulnerability in JSON parsing for unicode (#23603) 2025-06-27 19:38:31 +02:00
s-hadinger
e30ad61e00
Berry report from upstream !BE_USE_PRECOMPILED_OBJECT (#23549) 2025-06-14 16:07:31 +02:00
s-hadinger
d94d7c8972
Berry change number parser for json to reuse same parser as lexer (#23505) 2025-06-02 21:42:44 +02:00
s-hadinger
ea9a24e76d
Berry fix potential pointer underflow with string.endswith (#23496) 2025-05-31 20:02:40 +02:00
s-hadinger
1cd4e27123
Berry fix integer and real parser to handle overflows (#23495) 2025-05-31 15:03:54 +02:00
s-hadinger
6a4f09c888
Berry fix vulnerability in solidify code
Found by Claude.ai
2025-05-24 09:48:42 +02:00
s-hadinger
d7f9142833
Berry fix POOL32 pointer comparison (#23468) 2025-05-23 22:45:04 +02:00
s-hadinger
67d223dc78
Fix Berry solidification regression introduced in #23451 2025-05-22 08:27:41 +02:00
s-hadinger
c10686e366
Berry 'compile' and 'tasmota.compile' option to compile in local context (#23457)
* Berry 'compile' and 'tasmota.compile' option to compile in local context

* remove unwanted changes
2025-05-21 23:46:36 +02:00
s-hadinger
7ce3ba376c
Berry 'introspect.module' option to not cache module entry (#23451) 2025-05-20 22:39:42 +02:00
s-hadinger
78787f693e
Berry support for 'sortedmap' (#23441)
* Berry support for 'sortedmap'

* Add keys()
2025-05-18 19:29:50 +02:00
s-hadinger
1ee3d8c079
Fix solidification of float on macos (#23432) 2025-05-17 09:54:32 +02:00
s-hadinger
f83b5a8c80
Berry introspect.module() failed to load modules in files (#23376) 2025-05-05 22:33:52 +02:00
s-hadinger
082170374c
Berry string literals containing NULL are truncated (#23312) 2025-04-17 22:12:35 +02:00
s-hadinger
c2628c95f3
Berry 'bytes().asstring()' now truncates a string if buffer contains NULL (#23311) 2025-04-17 21:51:03 +02:00
jetpax
929582b1af
Expose esp_http_server to Berry (#23206)
* Expose esp_http_server to Berry

* Fix conditional build defines

* Fix Berry returns, dangling pointer

* Use correct Berry returns

* Remove debug code

* cleanup

* add BERRY to conditionals to avoid confusion
2025-04-06 22:27:48 +02:00
s-hadinger
b77b622fbe
Berry bytes add 3 (#23200)
* Berry bytes add with 3 bytes

* add changelog
2025-03-27 22:55:42 +01:00
s-hadinger
c0d15de965
Berry 're.dump()' (#23162) 2025-03-17 21:34:59 +01:00
s-hadinger
ce92723c41
Berry update from upstream (#23159) 2025-03-17 08:27:03 +01:00
s-hadinger
1b51aef911
Berry now accepts 'bytes()' as precompiled patterns, added 're.compilebytes()' (#23149) 2025-03-13 23:38:55 +01:00
s-hadinger
6486ba3b26
Fix typo of be_set_ctype_func_hanlder (#23147) 2025-03-13 17:49:28 +01:00
s-hadinger
f305113d6d
Removed USE_WEBCLIENT and default USE_WEBCLIENT_HTTPS (#23132) 2025-03-10 22:37:27 +01:00
s-hadinger
e26a2cdac9
Berry prevent 'import' from hiding a solidified class (#23112) 2025-03-06 14:45:34 +01:00
s-hadinger
9a98db9773
Berry 'global.undef()' to undefine a global variable (#23073) 2025-02-26 15:30:04 +01:00
s-hadinger
670fab7ead
Berry 'introspect.solidified()' to know if a Berry object is solidified in Flash or in RAM (#23063)
* Berry 'introspect.isconst()' to know if a Berry object is solidified or in RAM

* change to solidified

* fix typo
2025-02-24 14:05:58 +01:00
s-hadinger
cfc11b5e83
Fix memory corruption in bytes().appendb64() 2025-02-15 22:08:00 +01:00