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
Jeff Epler
fb66a6bfe5
Don't use "offset" as an identifier
2022-11-30 14:39:54 -06:00
Jeff Epler
e5b83821f8
fr should fit in 8 bits
2022-11-30 14:39:53 -06:00
Jeff Epler
d16c9515b7
Compact the characters of certain translations, so they fit in uint8_t
...
This saves a few hundred bytes on the affected translations, such
as `el` which shrunk from 186152 to 185588 bytes (564 bytes saved).
2022-11-30 14:39:53 -06:00
Jeff Epler
9916b39b65
update nl translation to fit in uint8_t
2022-11-30 14:39:52 -06:00
Jeff Epler
ed33f65fd9
move define to proper place
2022-11-30 14:39:52 -06:00
Jeff Epler
0f6091cc73
update fil translation to fit in uint8_t
2022-11-30 14:39:52 -06:00
Jeff Epler
19a3893d40
update translations again
2022-11-30 14:39:51 -06:00
Jeff Epler
530e5a1df2
Use standard validation function
2022-11-30 14:39:51 -06:00
Jeff Epler
6be0a425c7
Don't run maketranslationdata twice
2022-11-30 14:39:51 -06:00
Jeff Epler
9c11bb2ed9
Check that translations fit in expected character type
2022-11-30 14:39:50 -06:00
Jeff Epler
4671658c63
Use ASCII apostrophe in french translation, it saves flash space
...
.. it makes mchar_t, the type of storage needed for all the code points
in all translation messages, be an 8-bit type instead of a 16-bit type
2022-11-30 14:39:50 -06:00
Jeff Epler
c46e219795
Having an input-only pin is rare, save a string on other ports
2022-11-30 14:39:49 -06:00
Jeff Epler
4158ddfc17
compile out terse mismatch message when not used
2022-11-30 14:39:49 -06:00
Jeff Epler
a94663b3c9
use a standard error message
2022-11-30 14:39:49 -06:00
Jeff Epler
d39d146352
Merge some messages
2022-11-30 14:39:47 -06:00
Jeff Epler
d61fde349d
re-use an error message
2022-11-30 14:39:34 -06:00
Jeff Epler
5fb191b51c
Use a standard validator
2022-11-30 14:39:33 -06:00
Jeff Epler
f67bca94c4
On python3 log(0) raises math domain error, not zerodivisionerror
2022-11-30 14:39:33 -06:00
Jeff Epler
0e19fbb60f
Use a function to raise ZeroDivisionError, consistent string
2022-11-30 14:39:30 -06:00
Bill Sideris
0738d50834
debug_dhcp to follow general debug
2022-11-30 22:24:21 +02:00
Hosted Weblate
391efe4d8b
Merge remote-tracking branch 'origin/main'
2022-11-30 21:18:36 +01:00
Jonny Bergdahl
2e9954e43d
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/
2022-11-30 21:18:36 +01:00
Dan Halbert
845b68c351
Merge pull request #7204 from jepler/build-python3x
...
return to using python 3.x for builds
2022-11-30 15:18:29 -05:00
Bill Sideris
f8070d2141
Change comment, and logic on dhcpserver
2022-11-30 21:51:50 +02:00
m1cha1s
d904d8e9a0
Renamed the board folder to doit_esp32_devkit_v1
2022-11-30 20:26:41 +01:00
Jeff Epler
2b01c139f5
use a standard validator function
2022-11-30 12:06:20 -06:00