Commit Graph

24401 Commits

Author SHA1 Message Date
Hosted Weblate
22f336ef16
Merge remote-tracking branch 'origin/main' into main 2021-07-01 16:40:15 +02:00
Dan Halbert
37c52110c5
Merge pull request #4943 from jepler/double-wide-colon
remove 'double-wide' characters not in the font
2021-07-01 10:40:08 -04:00
Hosted Weblate
e7d3c5efe2
Merge remote-tracking branch 'origin/main' into main 2021-07-01 04:59:51 +02:00
Dan Halbert
7f39779f45
Merge pull request #4931 from jepler/struct-time-construct
Allow construction of struct_time from another struct_time
2021-06-30 22:59:46 -04:00
Dan Halbert
4d953dcbdd
Fix missing quote in locale/zh_Latn_pinyin.po
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
2021-06-30 22:54:03 -04:00
Hosted Weblate
b6c8098671
Merge remote-tracking branch 'origin/main' into main 2021-07-01 04:50:54 +02:00
Dan Halbert
98002cf0ab
Merge pull request #4947 from microDev1/input-validation
Fix bytes() and bytearray() input validation
2021-06-30 22:50:46 -04:00
Hosted Weblate
0bd181c4d0
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/
2021-06-30 19:19:33 +02:00
Hosted Weblate
f3cde244e8
Merge remote-tracking branch 'origin/main' into main 2021-06-30 19:19:30 +02:00
Wellington Terumi Uemura
be206b7ba0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-30 19:19:30 +02:00
Scott Shawcroft
54cadb96ec
Merge pull request #4952 from jepler/colorconverter-bgr
ColorConverter: Add "BGR" color modes.
2021-06-30 10:19:25 -07:00
Scott Shawcroft
59a0dda9c5
Merge pull request #4950 from ajs256/issue-forms
Convert to using issue forms
2021-06-30 10:18:01 -07:00
Scott Shawcroft
aca1314a3e
Merge pull request #4948 from dmcomm/pulsein-len-docs
Fix pulseio.PulseIn __len__() documentation
2021-06-30 10:17:12 -07:00
Jeff Epler
d83a21b984 ColorConverter: Add "BGR" color modes.
The BGR565_SWAPPED mode is needed for OV2640 cameras.
2021-06-30 10:29:31 -05:00
microDev
d99d818bf8
update issue form and template 2021-06-30 15:42:22 +05:30
ajs256
89678f79a7 Convert to using issue forms 2021-06-29 21:32:32 -07:00
Scott Shawcroft
f2ef586331
clean up 2021-06-29 11:54:15 -07:00
Scott Shawcroft
826e25989c
Merge pull request #4949 from pewpew-game/macropad-oled
MacroPad RP2040: Add initialization for the OLED display
2021-06-29 11:08:14 -07:00
Limor "Ladyada" Fried
176c5c5cd5
Merge pull request #4942 from pewpew-game/main
PewPew M4: use keypad instead of gamepad
2021-06-29 11:54:01 -04:00
Radomir Dopieralski
b8c4f7d685 MacroPad RP2040: Add initialization for the OLED display 2021-06-29 17:38:14 +02:00
microDev
e0c626af16
fix bytes() and bytearray() input validation 2021-06-29 19:59:44 +05:30
dmcomm
ae8ea915d7
Fix pulseio.PulseIn __len__() documentation 2021-06-29 13:38:12 +01:00
Radomir Dopieralski
1a076d34c9 PewPew M4: use keypad instead of gamepad
Since the new keypad module is taking over gamepad functionality,
I'm switching to it. If this works well, I will make the change
for the remaining boards.
2021-06-29 10:36:52 +02:00
microDev
fd681ca70a
minor fix for struct_time docs 2021-06-29 08:11:16 +05:30
Jeff Epler
e5d2b25b10 remove 'double-wide' characters not in the font
I noticed the build printed things like
```
Font missing 3 characters
```

.. this is why.

We can't make it an error, because Japanese has hundreds of characters
not in the font.
2021-06-28 19:49:59 -05:00
Jeff Epler
3dcd603e39 time: Fix and better document time.struct_time constructor
INCOMPATIBLE CHANGE: struct_time(1,2,3,4,5,6,7,8,9) is now _rejected_
just as on standad Python.

This incorrect constructor was added by me in #2327; I assumed
without even checking that the `struct_time` constructor was also
compatible with the `namedtuple` constructor, but it is not and has
always been rejected by standard Python (checked 2.7 and 3.9)

This commit restores the specific error message that we used for this
purpose, which was removed in the previous commit either out of laziness
or out of trying to reduce unneeded error strings. In this case, the
alternate string is too misleading (it refers to arguments, not to
sequence elements) so let's put the better message back.
2021-06-28 19:28:00 -05:00
Scott Shawcroft
8a5a7457ab
Merge pull request #4928 from 2bndy5/fix-bus-device-docs
update busio & adafruit_bus_device docs
2021-06-28 15:38:24 -07:00
Kattni
b265a924d1
Merge pull request #4941 from kattni/macropad-pins
Adding pins to match silk and other RP2040 boards.
2021-06-28 18:09:11 -04:00
Scott Shawcroft
72f1489c5d
Merge pull request #4924 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-06-28 14:34:37 -07:00
Kattni Rembor
2c2d541e7c Adding pins to match silk and other RP2040 boards. 2021-06-28 17:10:15 -04:00
Hosted Weblate
a6dfef64b3
Merge remote-tracking branch 'origin/main' into main 2021-06-28 16:35:24 +02:00
Dan Halbert
ae5080955e
Merge pull request #4938 from dhalbert/displayio.Display-doc-fixes
Fix displayio.Display __init__() signature documentation
2021-06-28 10:35:17 -04:00
Dan Halbert
259d5b9e7d Fix displayio.Display __init__() signature documentation 2021-06-28 09:32:50 -04:00
Jeff Epler
78b20441c1 supervisor: Add a function to get "wrapping" milliseconds
As discussed in #3410, this is a micropython-compatible (though
differently named) function that allows creation of useful time
and deadline functions in pure python.
2021-06-27 20:41:39 -05:00
Jonny Bergdahl
39c862f1f6
Translated using Weblate (Swedish)
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-06-27 14:33:28 +02:00
Alvaro Figueroa
74be2d994e
Translated using Weblate (Spanish)
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-06-27 14:33:27 +02:00
Jeff Epler
cac71a33fc time: Allow constructing a struct_time from another struct_time
Closes: #4917
2021-06-26 20:25:24 -05:00
Jeff Epler
33482e0831 mp_obj_get_array: Work with namedtuple, attrtuple.
Signed-off-by: Jeff Epler <jepler@gmail.com>
2021-06-26 20:25:24 -05:00
Jeff Epler
f380a91e7c objtuple: Move mp_obj_is_tuple_compatible to obj.h.
Signed-off-by: Jeff Epler <jepler@gmail.com>
2021-06-26 20:25:23 -05:00
Jeff Epler
9449a35405 time: Allow constructing a struct_time from another struct_time 2021-06-26 20:01:19 -05:00
Jeff Epler
05aa8ea404 mp_obj_get_array: Work with namedtuple, attrtuple.
Signed-off-by: Jeff Epler <jepler@gmail.com>
2021-06-26 20:01:02 -05:00
Jeff Epler
89f7652fca objtuple: Move mp_obj_is_tuple_compatible to obj.h.
Signed-off-by: Jeff Epler <jepler@gmail.com>
2021-06-26 20:00:38 -05:00
Brendan
9ff9259d1c fix interlinking in busio docs 2021-06-26 01:50:28 -07:00
Brendan
02c70336ff
fix I2CDevice docs 2021-06-25 23:38:08 -07:00
Brendan
dc02f97640
fix SPIDevice docs 2021-06-25 23:35:30 -07:00
Brendan
3387edc424
rm intersphinx_mapping to bus_device pkg 2021-06-25 23:32:24 -07:00
Scott Shawcroft
b36858daa0
Fix advertisement 2021-06-25 16:40:23 -07:00
Scott Shawcroft
3177973843
Add BLE serial service 2021-06-25 15:00:10 -07:00
Hosted Weblate
11325bd338
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/
2021-06-25 20:15:49 +02:00
Hosted Weblate
9730abdc53
Merge remote-tracking branch 'origin/main' into main 2021-06-25 20:15:47 +02:00