Commit Graph

28140 Commits

Author SHA1 Message Date
Scott Shawcroft
8d9c995298
Support ping & close. Refine html and js for serial 2022-07-07 16:55:04 -07:00
Scott Shawcroft
a4035aa1f7
websocket serial kinda works 2022-07-06 17:05:14 -07:00
Scott Shawcroft
07b2697ae3
WIP websocket to serial 2022-07-01 16:57:10 -07:00
Scott Shawcroft
7589e53fea
WIP websocket accept and hashlib 2022-07-01 10:18:33 -07: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
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
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
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
Dan Halbert
b0219f9b5b
Merge pull request #6518 from xorbit/rp2040-shim
Add board Silicognition LLC RP2040-Shim
2022-06-23 11:04:40 -04:00
Jeff Epler
2b7c81b0e0
Merge pull request #6515 from FoamyGuy/palette_index_fix
palette_index validation in Palette functions
2022-06-23 16:49:40 +02:00
Dan Halbert
feb1d903f7 merge 7.3.1 to main 2022-06-23 09:07:49 -04:00
foamyguy
a45de19731 use validate_int_range(). remove string translation entry 2022-06-23 07:28:04 -05:00
Patrick Van Oosterwijck
e114154e63 Merge branch 'rp2040-shim' of github.com:xorbit/circuitpython into rp2040-shim 2022-06-22 17:07:05 -06:00