Commit Graph

28145 Commits

Author SHA1 Message Date
Isaac Benitez ac9cb9389c Check parameters of int.from_bytes 2022-07-05 22:37:33 -07:00
Dan Halbert c1b00442a1
Merge pull request #6547 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-07-01 22:51:32 -04:00
Hosted Weblate f63a3f1086
Merge remote-tracking branch 'origin/main' 2022-07-01 20:09:15 +02:00
Dan Halbert 8814ee03f1
Merge pull request #6542 from todbot/wifi-tx-power
Add wifi.radio.tx_power
2022-07-01 14:09:08 -04:00
Jonny Bergdahl 38efb636c4
Translated using Weblate (Swedish)
Currently translated at 100.0% (985 of 985 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-07-01 19:46:11 +02:00
Scott Shawcroft 2ae791aa4e
Merge pull request #6543 from jepler/issue6523
Always release displays during deep sleep
2022-07-01 10:07:57 -07:00
Tod Kurt 2d7793e140 update tx_power description per dhalbert suggestion 2022-07-01 09:49:59 -07:00
Dan Halbert 1928376383
Merge pull request #6544 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-07-01 10:39:04 -04:00
Hosted Weblate a57d1ad0c4
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2022-07-01 04:56:42 +02:00
Dan Halbert 187f156ac7
Merge pull request #6534 from tannewt/esp_wdt_safe_mode
Safe mode when ESP interrupt watchdog fires
2022-06-30 22:56:35 -04:00
Dan Halbert 63873e2c14
Merge pull request #6528 from tannewt/cp_webserver
Add web workflow to ESP boards
2022-06-30 22:53:47 -04:00
Dan Halbert 819b5d12b5
Merge pull request #6539 from jepler/issue4171
modbuiltins: Catch most exceptions during dir()
2022-06-30 22:53:10 -04:00
Dan Halbert 7f75739f03
Merge pull request #6541 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-06-30 22:51:54 -04:00
Scott Shawcroft a59b52bd43
Add USB warning 2022-06-30 16:54:06 -07:00
Scott Shawcroft 95d3289df6
Doc tweak and add vararg send helpers 2022-06-30 16:37:51 -07:00
Tod Kurt 698d563dcf adust wifi.radio.tx_power to be x4 (in db) as mentioned in #6540 2022-06-30 15:33:03 -07:00
Tod Kurt d13f24648e first cut at wifi.radio.tx_power 2022-06-30 15:27:57 -07:00
Maxime Leroy 1bc3bdcfc4
Translated using Weblate (French)
Currently translated at 98.0% (967 of 986 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-07-01 00:19:51 +02:00
Tod Kurt 2a563cc8ba first cut at wifi.radio.tx_power 2022-06-30 15:10:16 -07:00
Jeff Epler ed326c4c70
Always release displays during deep sleep
Closes #6523
2022-06-30 15:59:15 -05:00
Jeff Epler 6a833a77cc
modbuiltins: Catch most exceptions during dir()
This helps with Python-compatibility (see issue #4171) but doesn't
completely resolve it.

Now, `dir()` still computes any properties of the underlying object,
HOWEVER, if the property raises an exception this expression is
captured.

This ability to capture exceptions always existed in
`mp_load_method_protected`, we just need to turn it on via the
`catch_all_exc` boolean parameter.
2022-06-30 15:21:04 -05:00
Scott Shawcroft 71358a4a63
Merge pull request #6526 from xuhow/elecfreaks_picoed
Add some frozen libraries to elecfreaks_picoed
2022-06-30 11:53:59 -07:00
Xu Hao e210b9c816 Update Adafruit_CircuitPython_IS31FL3731 submodule 2022-06-30 09:49:47 +08:00
Scott Shawcroft 3be3e89d82
Merge branch 'main' into cp_webserver 2022-06-29 14:01:32 -07:00
Dan Halbert c3a149c14a
Merge pull request #6533 from tannewt/fix_connect_crash
Fix auto-wifi created crash
2022-06-29 16:51:33 -04:00
Scott Shawcroft d42c811fb9
Safe mode when ESP interrupt watchdog fires
This makes us enter safe mode when sleep on the S3 fails. The
task watchdog is used for the user watchdog.
2022-06-29 12:31:18 -07:00
Dan Halbert 0972502af5
Merge pull request #6531 from tannewt/update_idf
Update to newer 4.4 branch
2022-06-29 15:30:00 -04:00
Scott Shawcroft 8dc8265275
Fix auto-wifi created crash
The wifi event_handler runs on the other core so we need to be
careful when calling into CP APIs.

Fixes #6503
2022-06-29 11:53:10 -07:00
Scott Shawcroft 1f065a313c
Update with startup fix instead of revert 2022-06-29 11:12:29 -07:00
Xu Hao 1599844b82 Add some frozen libraries to elecfreaks_picoed 2022-06-29 15:03:29 +08:00
Scott Shawcroft a8bb3eb557
Update to newer 4.4 branch 2022-06-28 15:38:55 -07:00
Scott Shawcroft 08c93ad0ce
Fix creator ID and build order 2022-06-27 14:40:38 -07:00
Scott Shawcroft d19270e318
Add docs and 404 in file PUT into non-existent dir 2022-06-27 13:39:09 -07:00
Scott Shawcroft 41039445c9
Clean up and add docs 2022-06-27 13:39:09 -07:00
Scott Shawcroft 7acc5ebeb9
Add logo for going to home. Fix origin check 2022-06-27 13:39:09 -07:00
Scott Shawcroft 3cd05291d0
Static files + welcome page 2022-06-27 13:39:09 -07:00
Scott Shawcroft 7543dd9af0
CORS works and autoreload too 2022-06-27 13:39:08 -07:00
Scott Shawcroft eeb9b7881e
Disable/enable buttons 2022-06-27 13:39:08 -07:00
Scott Shawcroft d6eaaafee8
Basic JS 2022-06-27 13:39:08 -07:00
Scott Shawcroft 964828398e
JSON directory API 2022-06-27 13:39:08 -07:00
Scott Shawcroft 847ac60dce
Fix wifi but not ble builds. Add DELETE and PUT support 2022-06-27 13:39:06 -07:00
Scott Shawcroft 92593aa7a1
Fix bind, remove hard coded ip 2022-06-27 13:34:13 -07:00
Scott Shawcroft 35045f0eab
Auth works 2022-06-27 13:34:13 -07:00
Scott Shawcroft 4f0a7aedfd
WIP adding devices.json and auth 2022-06-27 13:34:13 -07:00
Scott Shawcroft 77cecdbe2a
Turn on mdns service 2022-06-27 13:34:13 -07:00
Scott Shawcroft 32478345f8
more tweaks 2022-06-27 13:34:13 -07:00
Scott Shawcroft 0882cbf823
web server kinda works 2022-06-27 13:34:13 -07:00
Scott Shawcroft 61d0f7947b
WIP doesn't flush response before closing 2022-06-27 13:34:13 -07:00
Scott Shawcroft 301f3e0456
Start of web server 2022-06-27 13:34:13 -07:00
Scott Shawcroft a055113ed5
Merge pull request #6520 from dhalbert/7.3.1-to-main
Merge 7.3.1 changes to main
2022-06-23 11:15:40 -07:00