Commit Graph

25910 Commits

Author SHA1 Message Date
Jeff Epler 9af76a2f03
bitmaptools dither: Fix off-by-one error filling row data 2021-11-24 09:51:23 -06:00
Jeff Epler 6191696232
bitmaptools: Fix the DitgherAlorithm.FloydStenberg value 2021-11-24 09:51:19 -06:00
Scott Shawcroft af2ac0aa60
Merge pull request #5602 from aivarannamaa/skip-main-script-in-raw-mode-soft-reboot
Don't run main script when soft-rebooting in raw mode
2021-11-23 10:32:48 -08:00
Scott Shawcroft 565bfeb28e
Merge pull request #5611 from jepler/issue5588
Don't use reset reason to skip writing boot_out.txt
2021-11-23 10:26:39 -08:00
Jeff Epler f495ea4760
Don't use reset reason to skip writing boot_out.txt
As @neradoc and @anecdata noted, we can't depend on the reset reason.

Instead, just rely on the existing safe mode logic (the write already is
skipped anytime boot.py was skipped), and otherwise potentially write
boot_out.txt anytime it differs from the version on disk (or if the file
doesn't exist in the first place)

Testing performed: On qtpy m0 haxpress, removed boot_out.txt and clicked
reset button.  verified boot_out.txt was recreated.

Closes #5588
2021-11-23 10:51:21 -06:00
Aivar Annamaa e8c809e594
Fix formatting 2021-11-22 23:45:28 +02:00
Aivar Annamaa 0c4597f387
Move friendly REPL check to main function 2021-11-22 21:28:39 +02:00
Scott Shawcroft 387a8a46b3
Merge pull request #5605 from jepler/bitmaptools-bugfixes
Bitmaptools bugfixes
2021-11-22 11:02:40 -08:00
Dan Halbert 40a00c1e53
Merge pull request #5608 from microDev1/traceback
Traceback object init - set it to empty only if null
2021-11-22 12:38:18 -05:00
microDev ed9595a9be
traceback object init - set it to empty only if null 2021-11-22 21:38:02 +05:30
Jeff Epler 711f1f833b
bitmaptools: Fix the case where `factor`'s Python type is int
mp_obj_float_get gets the value of an object, which must be
exactly a float.  mp_obj_get_float gets the float value of
an object of various types, including floats & ints.
2021-11-20 21:15:26 -05:00
Jeff Epler 492402f23f
these must be treated as manual tests for now 2021-11-20 21:14:31 -05:00
Jeff Epler db44df5dbf
blend & dither tests 2021-11-20 21:13:56 -05:00
Jeff Epler f4e68e8fae
use mp_get_stream_raise, it's more specific 2021-11-20 08:53:04 -05:00
Jeff Epler de455b5c4e
Add bitmap loading test 2021-11-20 08:52:18 -05:00
Jeff Epler ee5e7161af
bitmaptools: use stream API
this allows `readinto` to succeed in the unix port, where the VFS
is not FAT
2021-11-20 08:51:40 -05:00
Jeff Epler dca696dec1
some test images for bitmaptools 2021-11-20 08:31:17 -05:00
Jeff Epler 932131b4ff
Merge pull request #5596 from kamtom480/camera_fix
camera: Update camera_make_new arguments
2021-11-18 09:06:50 -05:00
microDev 4fefb71b9f
Merge pull request #5599 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2021-11-18 14:31:18 +05:30
Aivar Annamaa 146e8830f9
Don't run main script when soft-rebooting in raw mode 2021-11-18 10:21:51 +02:00
Hosted Weblate 9dff70adb2
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-11-17 19:26:47 +01:00
Hosted Weblate 6296a73aa9
Merge remote-tracking branch 'origin/main' 2021-11-17 19:26:45 +01:00
Clay a51bfdf88a
Translated using Weblate (Russian)
Currently translated at 31.7% (326 of 1026 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2021-11-17 19:26:44 +01:00
Wellington Terumi Uemura 3871926e44
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1026 of 1026 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-11-17 19:26:42 +01:00
Scott Shawcroft 3b7d2f1dc3
Merge pull request #5593 from anecdata/ap_extras
Set AP MAC address
2021-11-17 10:26:36 -08:00
Kamil Tomaszewski 00426dc232 camera: Update camera_make_new arguments 2021-11-17 16:42:47 +01:00
Kattni a4be846d67
Merge pull request #5587 from dhalbert/update-frozen-libs-2021-11
update frozen libraries, especially adafruit_hid
2021-11-16 19:23:58 -05:00
Dan Halbert e77de3c73e
Merge pull request #5595 from adafruit/anecdata-patch-1
INVERT the sense of the I2C_POWER pin (active low)
2021-11-16 19:20:50 -05:00
anecdata c2a5ca2fa2
INVERT the sense of the I2C_POWER pin (active low)
I don't have the board to test, but this was reported and discussed on Discord.
2021-11-16 14:47:53 -06:00
Dan Halbert c8b7206248
Merge pull request #5592 from dhalbert/add-ru-builds
add ru to language_allow_list
2021-11-16 13:34:31 -05:00
anecdata 193e936807 like #5571, but for AP 2021-11-16 12:21:50 -06:00
Dan Halbert 98bd5dc204 add ru to language_allow_list 2021-11-16 10:45:28 -05:00
Dan Halbert 93e5f3ed10
Merge pull request #5591 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2021-11-16 10:44:32 -05:00
Hosted Weblate 29615c0248
Merge remote-tracking branch 'origin/main' 2021-11-16 14:32:16 +01:00
Clay e39c874db4
Translated using Weblate (Russian)
Currently translated at 10.8% (111 of 1026 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2021-11-16 14:32:16 +01:00
Jonny Bergdahl 295ba8c48e
Translated using Weblate (Swedish)
Currently translated at 100.0% (1026 of 1026 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-11-16 14:32:15 +01:00
Dan Halbert 582a923ec9
Merge pull request #5579 from jepler/fix-optimization-same54
same54: Use the same optimization as other sam d5x/e5x
2021-11-16 08:32:08 -05:00
Dan Halbert 73430af78b
-O2 without -fno-inline-functions 2021-11-15 22:36:23 -05:00
Hosted Weblate 5d8acca777
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-11-16 02:34:03 +01:00
Hosted Weblate 924769c2ee
Merge remote-tracking branch 'origin/main' 2021-11-16 02:34:00 +01:00
River Wang 1b20580640
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.4% (1016 of 1022 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-11-16 02:34:00 +01:00
Dan Halbert bd22667eb5
Merge pull request #5571 from anecdata/set_mac
Set Station MAC address & validate connect SSID len
2021-11-15 20:33:54 -05:00
Dan Halbert 41d4e5724e
Merge pull request #5589 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2021-11-15 20:25:29 -05:00
Dan Halbert 2e83e3053b update frozen libraries, especially adafruit_hid 2021-11-15 19:18:56 -05:00
Hosted Weblate 59fb15f83f
Merge remote-tracking branch 'origin/main' 2021-11-15 19:57:31 +01:00
Scott Shawcroft ba2f32e374
Merge pull request #5578 from jepler/disable-mkfs-fat32
oofatfs: Allow fat32 mkfs to be compiled out.  optimize rainbowio & enable everywhere
2021-11-15 10:57:25 -08:00
Hosted Weblate a957d8b000
Merge remote-tracking branch 'origin/main' 2021-11-15 19:23:04 +01:00
Scott Shawcroft 894adc78e9
Merge pull request #5580 from jepler/litex-prototypes
litex: Enable -Werror=missing-prototypes
2021-11-15 10:22:59 -08:00
Hosted Weblate 42c5e1a090
Merge remote-tracking branch 'origin/main' 2021-11-15 19:21:38 +01:00
River Wang ca6dbf8fc9
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.6% (1018 of 1022 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-11-15 19:21:38 +01:00