Commit Graph

29951 Commits

Author SHA1 Message Date
Dan Halbert
4418f268b9
Merge pull request #7309 from tannewt/fix_esp_socket_block
Three small ESP web workflow fixes
2022-12-06 17:12:45 -05:00
Scott Shawcroft
b354cec8cb
Three small ESP web workflow fixes
* Set nonblock on all accepted sockets. Not just ones for user code.
* Close an open websocket if another is accepted.
* Set debug level to INFO rather than DEBUG because DEBUG crashes
  on ESP32-S3 USB OTG.
2022-12-06 11:49:04 -08:00
Dan Halbert
5cb867e854
Merge pull request #7307 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-12-05 22:18:08 -05:00
Boran Roni
1e34fc110a
Translated using Weblate (Turkish)
Currently translated at 26.7% (264 of 987 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-12-05 22:48:20 +01:00
Wellington Terumi Uemura
d080f81ffe
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (987 of 987 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-12-05 22:48:19 +01:00
Scott Shawcroft
ac239c0fb3
Merge pull request #7306 from evildave666/add-luatos-core-esp32c3
Add Luatos Core ESP32C3 Board
2022-12-05 13:27:08 -08:00
Scott Shawcroft
d7874e65c2
Merge pull request #7299 from BooleanMattock/main
Fix to Issue #7224 - Servo update slow due to PWM channel duty cycle update busy-wait
2022-12-05 12:54:41 -08:00
Dan Halbert
d7d5a96da9
Merge pull request #7292 from jepler/fix-error-message
fix display of the 'host not found' message
2022-12-05 11:07:11 -05:00
Dan Halbert
e871deb5ce
Merge pull request #7302 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-12-05 11:06:25 -05:00
evildave666
eaf39b4c10
Update pins.c 2022-12-05 16:40:36 +09:00
evildave666
14b430ed35
Fix pre-commit issues 2022-12-05 16:35:48 +09:00
evildave666
5b6f06d84c
Add additional files 2022-12-05 16:08:12 +09:00
evildave666
05a8bf8c38
Create board.c 2022-12-05 16:06:50 +09:00
Jonny Bergdahl
51df14896b
Translated using Weblate (Swedish)
Currently translated at 100.0% (987 of 987 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-12-04 18:47:22 +01:00
MicroDev
a50b0a2a56
Merge pull request #7298 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-12-03 11:12:00 +05:30
BooleanMattock
afb5301cef Fix to Issue #7224 - tested 2022-12-02 20:21:40 -05:00
Hosted Weblate
248c17d8bf
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-12-02 23:53:24 +01:00
Hosted Weblate
c9edac7532
Merge remote-tracking branch 'origin/main' 2022-12-02 23:53:21 +01:00
Jonny Bergdahl
54831ae692
Translated using Weblate (Swedish)
Currently translated at 100.0% (986 of 986 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-12-02 23:53:21 +01:00
Scott Shawcroft
4c064c263e
Merge pull request #7294 from tannewt/analogbufio_rework
Rework the analogbufio API.
2022-12-02 14:53:16 -08:00
Scott Shawcroft
d6c3dfb461
Merge pull request #7297 from jepler/chain-exception-doc
Implement the chain= argument of traceback.print_exception
2022-12-02 14:53:03 -08:00
Scott Shawcroft
f7504ff857
Tweaks based on review comments 2022-12-02 10:19:31 -08:00
Jeff Epler
b83c42e41a
Implement the chain= argument of traceback.print_exception 2022-12-02 10:50:31 -06:00
Scott Shawcroft
9e104c04ae
Merge pull request #7215 from FoamyGuy/set_root_group
displayio.show() API change
2022-12-02 08:45:20 -08:00
Dan Halbert
6e40949f6e
Merge pull request #7295 from tannewt/fix_mdns_conflict
Fix MDNS hostname mangling
2022-12-02 11:13:07 -05:00
Dan Halbert
b7d9268e8f
Merge pull request #7290 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-12-02 11:12:32 -05:00
m1cha1s
b5dda0b770 Removed esp32_devkit_v1 folder 2022-12-02 14:26:46 +01:00
Hosted Weblate
6a34f51465
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-12-02 02:55:28 +01:00
Hosted Weblate
96ac6bdc17
Merge remote-tracking branch 'origin/main' 2022-12-02 02:55:25 +01:00
Jonny Bergdahl
42e7981b4f
Translated using Weblate (Swedish)
Currently translated at 100.0% (982 of 982 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-12-02 02:55:25 +01:00
Jeff Epler
ddc56f5fdf
Merge pull request #7101 from bill88t/picow-ap
Attempt at pi cow ap
2022-12-01 19:55:17 -06:00
Scott Shawcroft
ded0ee4816
Fix MDNS hostname mangling
cpy-MAC hostnames were being mangled on circuitpython.local
conflicts.

Fixes #6869
2022-12-01 17:54:41 -08:00
Jeff Epler
7ceca0cbb2
fix display of the 'host not found' message
The conversion of characters like _space_ in qstrs is a bit
ad-hoc. Because "_not_" stands for the logical negation character ¬
the recently added message was displayed incorrectly:
```
>>> socket.getaddrinfo('does.not.exist', 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
gaierror: (-2, 'Name or service_space¬space_known')
```
I had noticed this, but evidently failed to include the fix in
the problem in #7269.
2022-12-01 19:46:17 -06:00
Scott Shawcroft
255e997345
Rework the analogbufio API.
* read() is now readinto() and takes the buffer to write into.
* readinto() returns the number of valid samples.
* readinto() can be interrupted by ctrl-c.
* readinto() API doesn't support signed numbers because it never did.
* sample_rate is now required in the constructor because supported
  values will vary per-port.
* 16 bit values are full range. 12 bit samples from RP2040 are stretched
  in the same way they are for AnalogIn.

Fixes #7226
2022-12-01 17:46:07 -08:00
Jeff Epler
7583ccad2a
Ensure orderly shutdown of ssl socket
A crash would occur if an SSL socket was not shut down before
`gc_deinit()`.

I do not fully understand the root cause, but some object deinitialization
/ deallocation prior to `gc_deinit` leaves the SSL object in an
inconsistent state.

Rather than resolve the root cause, instead ensure that the closing of
the user socket also closes the SSL socket.

Closes: #6502
2022-12-01 19:29:20 -06:00
foamyguy
57462092b5 return None instead of NULL for framebuffer and epaper 2022-12-01 17:34:43 -06:00
foamyguy
42f1d50acc remove extra function call. handle show(None) for framebuffer and epaper 2022-12-01 17:25:36 -06:00
Hosted Weblate
91b47d435d
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-12-01 17:43:18 +01:00
Dan Halbert
082b0d1aed
Merge pull request #7191 from jepler/fastpixelmap
Add a fast PixelMap-like class
2022-12-01 11:43:00 -05:00
Jeff Epler
9c6c25ae57
Merge pull request #7286 from tannewt/fix_web_workflow_write
Fix writing files from web workflow
2022-12-01 08:30:47 -06:00
Jeff Epler
e468746b0b
Merge pull request #7289 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-12-01 08:13:35 -06:00
Hosted Weblate
4f471dbd08
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-12-01 07:55:39 +01:00
MicroDev
33e8a9759c
Merge pull request #7287 from jepler/merge-weblate-manually
Merge weblate manually
2022-12-01 12:25:30 +05:30
Jeff Epler
08d372aedc
Merge remote-tracking branch 'origin/main' into merge-weblate-manually 2022-11-30 21:09:31 -06:00
Dan Halbert
b41f7460b7
Merge pull request #7181 from jepler/more-string-qstr-savings
More space savings
2022-11-30 21:36:07 -05:00
foamyguy
ae8fb279ce Merge remote-tracking branch 'jepler/fastpixelmap' into fastpixelmap 2022-11-30 19:18:01 -06:00
foamyguy
0563487433 get slicing 2022-11-30 19:16:20 -06:00
Scott Shawcroft
65e913ecd6
Fix writing files from web workflow
Pico W changes assumed that f_write could handle a NULL fourth
argument. It can't.
2022-11-30 14:22:46 -08:00
Bill Sideris
3fb4fd81e9
Revert "debug_dhcp to follow general debug" 2022-11-30 22:44:18 +02:00
Jeff Epler
d2e2a61075
Reworking how "run list" works saves a dozen bytes 2022-11-30 14:39:54 -06:00