Commit Graph

29697 Commits

Author SHA1 Message Date
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
Jeff Epler
2b01c139f5
use a standard validator function 2022-11-30 12:06:20 -06:00
Jeff Epler
db01dfea20
use a standard length validator 2022-11-30 12:06:19 -06:00
Jeff Epler
beb053a94d
more thoroughly disable UART when 2022-11-30 12:06:19 -06:00
Jeff Epler
7c9cd567a0
If uart is disabled, no pins will work; show NotImplementedError instead 2022-11-30 12:06:18 -06:00
Jeff Epler
8658e7a954
re-use length validator 2022-11-30 12:06:18 -06:00
Jeff Epler
ac999098ee
merge a message 2022-11-30 12:06:18 -06:00
Jeff Epler
7df21c9ecf
Combine a message 2022-11-30 12:06:17 -06:00
Jeff Epler
f652a898e7
merge two messages 2022-11-30 12:06:17 -06:00
Jeff Epler
6ac2022093
merge a message 2022-11-30 12:06:16 -06:00
Jeff Epler
284ac21f51
merge a message 2022-11-30 12:06:16 -06:00
Jeff Epler
2315b62bff
Remove unused static qstrs
These are turned into TRANSLATE() messages now, so the qstr version
would not be used.
2022-11-30 12:06:15 -06:00
Jeff Epler
10d92873c3
Don't generate QSTRs for wrong identifiers
MP_REGISTER_MODULE would use identifiers like
"MODULE_DEF_MP_QSTR___FUTURE__" which would in turn cause
a QSTR to be generated for it. This wasn't desirable, because the
qstr would never be used.

This clears out quite a bit of flash storage on the proxlight trinkey.
2022-11-30 12:06:15 -06:00
Jeff Epler
e489b73d88
update esp-idf to merge commit 2022-11-30 12:04:47 -06:00
Bill Sideris
44d5326d4c
fix picow-ap 2022-11-30 19:36:00 +02:00
Bill Sideris
362018dcca
Merge branch 'main' into picow-ap 2022-11-30 19:11:03 +02:00
Hosted Weblate
440c32d3b2
Merge remote-tracking branch 'origin/main' 2022-11-30 17:18:52 +01:00
Dan Halbert
2f5ec1cab0
Merge pull request #7281 from jepler/esp32-trailing-dot
handle domain with trailing dot
2022-11-30 11:18:47 -05:00
Hosted Weblate
eb1913576e
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-11-30 17:14:26 +01:00
Hosted Weblate
8b7b23f9dc
Merge remote-tracking branch 'origin/main' 2022-11-30 17:14:19 +01:00
hexthat
1711cce52b
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-11-30 17:14:18 +01:00
Jonny Bergdahl
7c336c51a8
Translated using Weblate (Swedish)
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-11-30 17:14:17 +01:00
Dan Halbert
c8390a7918
Merge pull request #7069 from jepler/exception-chain
Implement chained exceptions
2022-11-30 11:13:57 -05:00