Commit Graph

23568 Commits

Author SHA1 Message Date
Scott Shawcroft
3fda0c0a1b
Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
Scott Shawcroft
7f2f8e2d58
Turn off CPython warnings in tests 2021-05-05 17:26:39 -07:00
Lucian Copeland
22feda1066
Merge pull request #4708 from hierophect/supervisor-run-reason
Remove overwrite of run_reason in main
2021-05-05 19:18:16 -04:00
Jeff Epler
ef3ec93c8b Change the first byte of CircuitPython 'mpy' files to "C"
.. and also distinguish CircuitPython better in `mpy-cross --version`
2021-05-05 18:06:06 -05:00
Scott Shawcroft
d8701e5136
Update binary path 2021-05-05 15:48:01 -07:00
Dan Halbert
843598ec3a fix more board builds 2021-05-05 18:44:27 -04:00
Scott Shawcroft
c34ddf14d6
Switch from recommonmark to myst-parser
It's the *future* and fixes a doc build error.

Related to https://github.com/readthedocs/recommonmark/issues/221
2021-05-05 15:25:37 -07:00
Scott Shawcroft
3dad2cbb56
Merge pull request #9 from jepler/1.13_test_fixes
1.13 test fixes
2021-05-05 14:29:04 -07:00
Jeff Epler
3e1c3547bd
Merge pull request #4712 from jepler/mpy-cross-aarch64
Build an aarch64 version of mpy-cross
2021-05-05 16:14:40 -05:00
Lucian Copeland
f38f5dbce6 Set reload reason when reloaded from repl 2021-05-05 17:02:32 -04:00
Dan Halbert
1d385e1a27
Merge pull request #4707 from tyomitch/patch-4
qstr: Use `const` consistently to avoid a cast.
2021-05-05 16:56:35 -04:00
Dan Halbert
579cdf30f1 fix more build errors 2021-05-05 16:49:29 -04:00
Limor "Ladyada" Fried
1668e9c4f3
Merge pull request #4711 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-05-05 16:21:43 -04:00
Jeff Epler
b9f349779e Build an aarch64 version of mpy-cross 2021-05-05 14:43:53 -05:00
Hosted Weblate
54bfedbf6f Merge remote-tracking branch 'origin/main' into main 2021-05-05 20:42:02 +02:00
Jonny Bergdahl
2c66dd869e
Translated using Weblate (Swedish)
Currently translated at 100.0% (973 of 973 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-05-05 20:42:02 +02:00
Kattni
c7e8160514
Merge pull request #4709 from jposada202020/adding_usage_template
adding_usage_template in Design Guide
2021-05-05 14:41:57 -04:00
Dan Halbert
8f9c9dd45f doc error 2021-05-05 13:41:44 -04:00
Jeff Epler
716a82ba67 set the coroutine generator for native generators 2021-05-05 11:36:40 -05:00
Jeff Epler
eb4cf7add3 Add natmod "features0" example
This example works, and was useful when fixing a native code test.
Most of the other natmod examples do not work, however.
2021-05-05 11:36:07 -05:00
Dan Halbert
c37f021791 regularize and shrink many builds 2021-05-05 12:35:41 -04:00
Dan Halbert
fc8e1c4c2e address review comments 2021-05-05 12:35:12 -04:00
jposada202020
0f60a3b997 Better_phrasing 2021-05-05 12:18:26 -04:00
Jeff Epler
2bcfe21916 Add natmod examples
At least features0 works, and was useful in fixing the related native
test
2021-05-05 11:01:41 -05:00
Jeff Epler
68d4682298 compile: Reserve labels for native await 2021-05-05 11:00:39 -05:00
Jeff Epler
4054860ff3 Name the variant like micropython does 2021-05-05 11:00:39 -05:00
Jeff Epler
607148bb85 Add frzqstr to coverage build
This fixes a fail in extra_coverage.py.
2021-05-05 11:00:39 -05:00
Jeff Epler
f21c2bd25a Update native skips to match micropython 2021-05-05 11:00:39 -05:00
Jeff Epler
cdf220bcb4 Fix ure tests 2021-05-05 11:00:39 -05:00
Jeff Epler
8fae7d2e30 runtime.c: Fix reading properties
.. this fixes the vfs_fat_ramdisk failure.
2021-05-05 11:00:39 -05:00
Jeff Epler
c3ce2bacde runtime: Remove unneeded includes
objtype.h got included twice, and vfs.h is unneeded.
2021-05-05 11:00:39 -05:00
Jeff Epler
14e0bdbae3 Move mp_get_stream non-inline
This caused a build error with external native code, as
MP_QSTR_protocol_stream was not available.
2021-05-05 11:00:35 -05:00
Hosted Weblate
8491b1263a
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-05-05 17:48:04 +02:00
Hosted Weblate
332322d616 Merge remote-tracking branch 'origin/main' into main 2021-05-05 17:48:02 +02:00
Scott Shawcroft
30c7aa8fc9
Merge pull request #4650 from anecdata/ap
wifi.radio Access Point modes
2021-05-05 08:47:55 -07:00
Jonny Bergdahl
278dcff1aa
Translated using Weblate (Swedish)
Currently translated at 100.0% (971 of 971 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-05-05 17:32:17 +02:00
Wellington Terumi Uemura
c78d2e1556
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (971 of 971 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-05-05 17:32:17 +02:00
Alvaro Figueroa
78b27c2000
Translated using Weblate (Spanish)
Currently translated at 100.0% (971 of 971 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-05-05 17:32:16 +02:00
Jeff Epler
c174bc42fa Update to match our bytecode style 2021-05-05 09:21:42 -05:00
Jeff Epler
d0f6b323bb Update bytecode 2021-05-05 09:05:44 -05:00
Jeff Epler
0bef554fae Fix framebuf_subclass test 2021-05-05 08:59:27 -05:00
Jeff Epler
2c0664ea3f slice: restore ability to construct a slice 2021-05-05 08:47:15 -05:00
Jeff Epler
92d63b40cc tests: Restore memoryview1 test to micropython version
we changed this way back at fab634e3ee for Rosie Pi and the merge
mangled it.  I think at this point it makes sense just to take upstream's
version again.
2021-05-05 08:46:37 -05:00
Artyom Skrobov
269d5bc80a qstr: One more cast could be avoided. 2021-05-05 09:01:47 +03:00
jposada202020
0fa6f4ed76 adding_usage_template 2021-05-04 22:14:06 -04:00
Scott Shawcroft
f0bb26d70f
Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
Dan Halbert
8bb3c6fd79 handle := defs in shared_bindings_matrix.py; update adafruit_hid 2021-05-04 18:07:01 -04:00
Lucian Copeland
bd510cb410
Merge branch 'main' into stm-alarm 2021-05-04 17:26:36 -04:00
Lucian Copeland
17ee507f09 Remove overwrite of run_reason in main
When `reload_requested` is detected, the run reason will no longer be
automatically overwritten as an AUTO_RELOAD, making SUPERVISOR_RELOAD a
detectable reload reason. Autoreload now sets the reload reason itself.
2021-05-04 17:04:24 -04:00
Scott Shawcroft
a2ae503507
Merge pull request #4706 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-05-04 09:56:39 -07:00