Commit Graph

16359 Commits

Author SHA1 Message Date
Jeff Epler
aa57a2c800 Translated using Weblate (French)
Currently translated at 64.0% (478 of 746 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:26 +02:00
Anonymous
1d3447b5a3 Translated using Weblate (French)
Currently translated at 63.9% (477 of 746 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-05-18 04:23:26 +02:00
Jonny Bergdahl
58e7f28057 Translated using Weblate (Swedish)
Currently translated at 80.6% (602 of 746 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
2020-05-18 04:23:26 +02:00
Dan Halbert
8fd733c54b
Merge pull request #2915 from dhalbert/update-frozen-libs-2020-05-16
update frozen libs
2020-05-17 22:23:20 -04:00
cyz
4f7b4241a2 add hiibot_bluefi 2020-05-18 09:42:37 +08:00
Jeff Epler
e51822133f
Merge pull request #2913 from polkapolka/DigitalInOutTypeHints
Digital In Out Type Hints
2020-05-17 12:37:04 -05:00
Jeff Epler
2addfff228
Merge pull request #2911 from jepler/add-translation-cs
add new Czech (cs) translation file
2020-05-17 12:36:34 -05:00
Jeff Epler
5e43f7a361 add weblate status badge in readme 2020-05-17 07:49:09 -05:00
ppolk-nocimed
c6406c74ec Added DigitalInOut suggestion 2020-05-16 13:21:34 -07:00
ppolk-nocimed
f76ff1eb69 Fixed Optional[Pull] 2020-05-16 13:14:50 -07:00
ppolk-nocimed
db924fb01e Digital In Out Type Hints 2020-05-16 12:47:49 -07:00
Dan Halbert
7424e41827 update frozen libs 2020-05-16 11:20:25 -04:00
Dan Halbert
e175a64036
disable rotaryio in CPX crickit 2020-05-15 20:35:12 -04:00
Scott Shawcroft
a57da6b808
Add port_fixed_stack for more spresence 2020-05-15 17:22:41 -07:00
Scott Shawcroft
8edb8e87c8
Turn reverse methods off for trinket haxpress 2020-05-15 17:22:22 -07:00
Jeff Epler
bad635e117 add new Czech (cs) translation file 2020-05-15 19:05:31 -05:00
Scott Shawcroft
1af5f6dc6d
Merge pull request #2900 from theacodes/fix-2766
Note that nvm.ByteArray is available at microcontroller.nvm
2020-05-15 17:01:17 -07:00
Scott Shawcroft
86f865afe0
Turn reverse methods off for cpx_crickit 2020-05-15 16:42:22 -07:00
Scott Shawcroft
3c1469b0a5
Add port_fixed_stack for more builds 2020-05-15 16:22:33 -07:00
Scott Shawcroft
6aaab005c5
Initial ESP32S2 port.
Basic blinky works but doesn't check pins.
2020-05-15 15:36:16 -07:00
Dan Halbert
a3ca9401b4
Shrink crickit build 2020-05-15 18:29:37 -04:00
dherrada
e67d6756d1
Merge branch 'master' into extract-types 2020-05-15 18:17:23 -04:00
Thea Flowers
7d167560af Note that nvm.ByteArray is available at microcontroller.nvm
Fixes #2766
2020-05-15 14:53:14 -07:00
Thea Flowers
0876034adb Make decode only apply to bytearray and not array as well 2020-05-15 14:32:44 -07:00
Lucian Copeland
99538c2414 Implement pin claiming, pin reset, and pin protections 2020-05-15 15:16:51 -04:00
dherrada
acf88d7c00
Removed extract_types.py 2020-05-15 13:57:13 -04:00
dherrada
0e39d4398c
Merged extract_types into extract_pyi 2020-05-15 13:55:46 -04:00
dherrada
416da442c0
Now outputs class name 2020-05-15 13:33:20 -04:00
Scott Shawcroft
0d8bca92e2
Merge pull request #2810 from dherrada/master
Pyi integration
2020-05-15 10:31:05 -07:00
dherrada
49cd9ac36e
Made extract_types return a more useful output 2020-05-15 13:29:41 -04:00
Thea Flowers
fe3e8ee02c Add bytearray.decode() for CPython compatibility
CPython has a `decode()` method on `bytearray`. This adds that method using the code from `bytes.decode`.

Test program:

```python

byte_boi = bytes([0x6D, 0x65, 0x65, 0x70])
print(byte_boi)  # b'meep'
byte_boi_str = byte_boi.decode("utf-8")
print(byte_boi_str)  # meep

byte_array_boi = bytearray(byte_boi)
print(byte_array_boi)  # bytearray(b'meep')
byte_array_boi_str = byte_array_boi.decode("utf-8")
print(byte_array_boi_str)  # meep

print(byte_array_boi_str == byte_boi_str)  # True

```
2020-05-14 21:52:58 -07:00
Scott Shawcroft
bd78ab3c28
Merge pull request #2895 from xobs/aesio-use-bufinfo
aesio: use bufinfo rather than mp_str_bytes
2020-05-14 20:05:21 -07:00
Sean Cross
f9ed3acf6d aesio: specify writable buffers for destination buffers
When calling `AES.decrypt_into()` or `AES.encrypt_into()`, the
destination buffers may be any buffer kind.  However, we currently
aren't checking to make sure the destination buffer is actually
writable.

Specify `MP_BUFFER_WRITE` for the destination buffers of both of these
objects so we don't inadvertently write to immutable data.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-15 10:22:42 +08:00
Sean Cross
aba36e4abf aesio: use bufinfo rather than mp_str_bytes
In order to accept both `bytes` objects and `bytearray` objects, use a
`bufinfo` construct to retrieve the data rather than
`mp_obj_str_get_data()`.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-15 10:16:00 +08:00
Jeff Epler
52b3e1faba actions: upload artifacts for stubs & docs 2020-05-14 21:03:49 -05:00
Scott Shawcroft
8ac3e7977f
Remove debug prints 2020-05-14 18:48:07 -07:00
Scott Shawcroft
15c2d16bf9
Fix help doc 2020-05-14 16:06:13 -07:00
Scott Shawcroft
afc84c2fd1
Fix ulab, math and template. 2020-05-14 15:58:36 -07:00
dherrada
9613cdd184
First fully working version 2020-05-14 18:58:28 -04:00
dherrada
a16edbc45c
First semi-functional version of extract_types.py 2020-05-14 18:22:07 -04:00
dherrada
b477c4812d
Fixed minor indentation issue 2020-05-14 16:58:25 -04:00
Jeff Epler
0f55f58652
Merge pull request #2892 from weblate/weblate-circuitpython-master
Translations update from Weblate
2020-05-14 09:04:10 -05:00
Jonny Bergdahl
09e740d6ea
Translated using Weblate (Swedish)
Currently translated at 3.7% (28 of 746 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
2020-05-14 14:41:54 +02:00
Anonymous
b446d3eee1
Translated using Weblate (Swedish)
Currently translated at 3.4% (26 of 746 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
2020-05-14 14:23:15 +02:00
Jonny Bergdahl
3d6a23411f
Translated using Weblate (Swedish)
Currently translated at 3.4% (26 of 746 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
2020-05-14 14:23:15 +02:00
Scott Shawcroft
794d5f5900
Correct version numbering 2020-05-13 14:45:09 -07:00
Scott Shawcroft
db4dbe0752
Merge pull request #2889 from jepler/gamepad-tick
Gamepad, GamepadShift: Fix after lower-power by enabling supervisor tick
2020-05-13 11:53:23 -07:00
Jeff Epler
eb876e21c3 nrf: code style 2020-05-13 10:40:41 -05:00
Jeff Epler
011acf41c0 nrf: Ensure ticks enabled while playing audio 2020-05-13 10:40:36 -05:00
Scott Shawcroft
3ffa5604fc
Update countio to python stub docs 2020-05-13 08:36:16 -07:00