Dan Halbert
9b6abea907
Merge pull request #7632 from jepler/fix-picow-ssl-error-returns
...
raspberrypi: SSLSocket: raise OSError when appropriate
2023-02-22 11:38:59 -05:00
Jeff Epler
de9233f84a
raspberrypi: SSLSocket: raise OSError when appropriate
...
Rather than returning the negative error value.
This is intended to close #7606 , though I did not test with mqtt.
Instead, I created a simple standalone test program:
```python
import wifi, socketpool, ssl, time
#wifi.radio.connect(<omitted>)
import socketpool
socket = socketpool.SocketPool(wifi.radio)
ctx = ssl.create_default_context()
b = bytearray(8)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sss = ctx.wrap_socket(s, server_hostname='example.com')
sss.connect(('example.com', 443))
sss.setblocking(False)
r = sss.recv_into(b)
print(r, b) # prints 4294967285 which is -11 as unsigned
sss.close()
```
Before the change, r was the out of range value 4294967285. After the
change, the recv_into call raises OSError instead.
This is comparable to the behavior on standard Python, though an
SSLWantReadError is raised instead.
The original (mis)behavior seems to match what was uncovered deep inside
minimqtt by adding logging:
```
370.578: DEBUG - PKT: _sock_exact_recv: recv_len = 4294967285
```
2023-02-22 10:07:48 -06:00
Dennis Field
d1f5004121
Add ESP32-LyraT board
2023-02-22 10:54:44 -05:00
MicroDev
f4f95ada79
fix empty exclude commit
2023-02-22 20:49:14 +05:30
MicroDev
1ea21cc8fc
refactor and simplify fetching port deps
2023-02-22 20:11:38 +05:30
MicroDev
592fea6822
split atmel-samd
instead of raspberrypi
2023-02-22 20:08:13 +05:30
Bill Sideris
1d12014ec7
disable pixelmap
2023-02-22 13:31:15 +02:00
Dan Halbert
932b10f551
Merge pull request #7627 from MicroDev1/ci
...
Re-enable changes per commit
2023-02-21 23:04:04 -05:00
RetiredWizard
7c717a54f3
Switch to "unmeasured" core clock speed check
2023-02-21 22:10:36 -05:00
Bill Sideris
1ea118684c
120M qspi
2023-02-22 00:49:55 +02:00
Dan Halbert
c7d9eecfd6
Merge pull request #7623 from DavePutz/issue_7606
...
Correctly raise OS error in socketpool_socket_recv_into()
2023-02-21 16:17:30 -05:00
Scott Shawcroft
de5f58a61d
Merge branch 'main' into banglejs2
2023-02-21 12:04:28 -08:00
Scott Shawcroft
a8b34bd067
Merge pull request #7549 from gamblor21/gif_displayio_support
...
Animated GIF support
2023-02-21 11:39:29 -08:00
root
7e6e824d56
Correctly raise OS error in socketpool_socket_recv_into()
2023-02-21 13:38:29 -06:00
Bill Sideris
650c4c5d92
pystack+ rainbow-
2023-02-21 20:50:07 +02:00
Bill Sideris
5dba32ed07
Try to pass ci with rainbowio
2023-02-21 17:42:08 +02:00
Dan Halbert
ecbe9d1014
Merge pull request #7622 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-02-21 09:11:18 -05:00
Bill Sideris
b0384b5721
Merge branch 'adafruit:main' into settings-toml-pystack
2023-02-21 13:35:19 +02:00
Bill Sideris
d42aa41c70
Revert it with more passion
2023-02-21 13:29:39 +02:00
Bill Sideris
30a8e8bbcd
Revert next_stack_size
2023-02-21 13:26:57 +02:00
Hosted Weblate
48e60391a5
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/
2023-02-21 05:11:02 +01:00
Dan Halbert
9941779d35
Merge pull request #7619 from dhalbert/huzzah32-breakout
...
Add Adafruit HUZZAH32 breakout
2023-02-20 23:10:49 -05:00
foamyguy
3601bb3062
change value_count max
2023-02-20 20:37:42 -06:00
Dan Halbert
8ffa7b1d55
Add Adafruit HUZZAH32 breakout
2023-02-20 20:04:22 -05:00
Dan Halbert
2684aeb838
don't check for RX and TX both none in ports: now checked in shared-bindings
2023-02-20 19:11:16 -05:00
Dan Halbert
64d527b5cd
Merge pull request #7617 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-02-20 16:54:31 -05:00
Jonny Bergdahl
a1adf7c4ca
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (997 of 997 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-02-20 04:39:38 +01:00
Wellington Terumi Uemura
0e6484a94a
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (997 of 997 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-02-20 04:39:37 +01:00
Jose David M
ec8b06a3a8
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (997 of 997 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-02-20 04:39:37 +01:00
Ettore Atalan
8e9c048223
Translated using Weblate (German)
...
Currently translated at 96.1% (959 of 997 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2023-02-20 04:39:36 +01:00
Dan Halbert
6d51356324
Fix pad assignments on atmel-samd UART
2023-02-19 20:42:44 -05:00
Dan Halbert
3f66a0be83
Merge pull request #7611 from gamblor21/colorconverter-mem-fix
...
ColorConverter output colorspace non-initialization fix
2023-02-19 20:34:30 -05:00
Bill Sideris
b4ff08d185
Prohibit too big a size
2023-02-18 23:56:06 +02:00
gamblor21
e78875a93b
ColorConverter output colorspace fix
2023-02-18 15:35:56 -06:00
MicroDev
9c0165f18d
Merge pull request #7571 from tekktrik/dev/issue-template-fixes
...
Minor fixes to bug report template
2023-02-19 00:10:56 +05:30
MicroDev
12d3640fa6
Merge pull request #7607 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-02-19 00:10:15 +05:30
foamyguy
694537acb3
change validation maximum computation
2023-02-18 10:35:39 -06:00
Alec Delaney
f165b01552
Reintroduce Python rendering per review feedback
2023-02-18 10:17:28 -05:00
Milind Movasha
556e2c915d
Fix for pre-commit issue related to translation
2023-02-18 20:42:31 +05:30
MicroDev
dc80133d7e
re-enable changes per commit
2023-02-18 16:29:59 +05:30
Milind Movasha
f1b6deacda
Yet another formatting change related to whitespaces
2023-02-18 14:49:11 +05:30
Milind Movasha
b2c6fad713
Additional formatting change related to whitespaces
2023-02-18 14:45:37 +05:30
Milind Movasha
4683e48337
Further formatting changes related to whitespaces
2023-02-18 14:40:12 +05:30
Milind Movasha
ead5751803
Pre-commit: Done the formatting changes
...
Pre-commit: Fixed compilation error for other ESP32C3/ESP32S3/ESP32H2 boards
Review comment: Removed the self->pin NULL check
Review comment: Using raise_ValueError_invalid_pin when adc_index is not ADC_UNIT1 for ESP32
Review comment: Optimized the code to set data in buffer from DMA results
Fix: For ESP32C3 boards continuing collecting samples after channel mismatch as DMA runs in alternating UNIT mode
Fix: For ESP32S3 and ESP32H2 setting conversion mode to type2
2023-02-18 14:26:50 +05:30
gamblor21
c637ec9ea0
Removed forgotten func defn
2023-02-17 23:37:49 -06:00
Hosted Weblate
023efb790c
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/
2023-02-18 04:06:01 +01:00
MicroDev
508f2015b6
Merge pull request #7605 from Neradoc/pico-uart-in-use-error
...
Tweak the UART in use message on RP2040
2023-02-18 08:35:52 +05:30
MicroDev
a33c34b545
Merge pull request #7604 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-02-18 08:31:24 +05:30
Hosted Weblate
495deb350a
Merge remote-tracking branch 'origin/main'
2023-02-18 03:58:50 +01:00
MicroDev
5f8d3dc4ae
Merge pull request #7603 from bill88t/hide-the-boilerplate
...
Hide the boilerplate.
2023-02-18 08:28:44 +05:30