Commit Graph

24589 Commits

Author SHA1 Message Date
Hosted Weblate 34eb2a5ac0
Merge remote-tracking branch 'origin/main' into main 2021-08-10 04:41:01 +02:00
Jonny Bergdahl f384367086
Translated using Weblate (Swedish)
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-10 04:41:01 +02:00
Wellington Terumi Uemura 46ad22143a
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-08-10 04:41:00 +02:00
microDev 8da98eb1f4
Merge pull request #5115 from microDev1/getpass
Add getpass module
2021-08-10 08:10:52 +05:30
Scott Shawcroft f805e63297
Merge pull request #5117 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-09 16:04:09 -07:00
microDev 93c9d59960
Merge branch 'main' into getpass 2021-08-10 01:00:10 +05:30
Hosted Weblate 9fab48dad2
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-08-09 21:17:26 +02:00
Hosted Weblate 4a06adc120
Merge remote-tracking branch 'origin/main' into main 2021-08-09 21:17:23 +02:00
microDev 3495cc1ff6
Merge pull request #5110 from jepler/format-exception
Implement `traceback.format_exception`
2021-08-10 00:47:18 +05:30
Hosted Weblate 185d0f2a24
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-08-09 21:04:49 +02:00
Kattni c87d90ec4b
Merge pull request #5090 from WarriorOfWire/draw_protocol
Draw protocol
2021-08-09 15:04:36 -04:00
microDev 32ee06b293
fix crash when traceback object is supplied 2021-08-09 22:53:23 +05:30
microDev 052c53efc3
Merge pull request #5116 from eddieespinal/atmegazero_esp32s2
Fixes the MOSI and MISO pins mapping
2021-08-09 22:45:41 +05:30
Eddie Espinal 6764af182a Fixes the MOSI and MISO pins. By mistake I added them backward in this mapping 2021-08-09 11:31:20 -04:00
Jeff Epler 9a932a5a48 traceback: Implement format_exception 2021-08-09 08:27:28 -05:00
Jeff Epler c1ffab7476 Reduce code duplication in traceback module 2021-08-09 08:27:28 -05:00
Jeff Epler bfea6947e5 Improve mp_printf with support for compressed strings
* The new nonstandard '%S' format takes a pointer to compressed_string_t
   and prints it

 * The new mp_cprintf and mp_vcprintf take a format string that is a
   compressed_string_t
2021-08-09 08:27:28 -05:00
microDev 51f8603783
add getpass module 2021-08-09 17:50:28 +05:30
microDev f6d7b87bd8
Merge pull request #5112 from NathanY3G/add-board-led-to-gcm4
Add board.LED for Grand Central M4 Express
2021-08-09 11:45:06 +05:30
Nathan Young 579194a543 Colocated board.LED and D13 together (GCM4) 2021-08-09 05:35:38 +02:00
Kenny cf2712d23f transposing and mirroring work
* fix absolute_transform dirtying early instead of after the change, missing the draw
* fix transpose and mirror. (0,0) -> location in all vector shapes now in all rotations.
2021-08-08 17:01:36 -07:00
Kenny 7eece7d959 dirty area computed for non-transposed but at least d-1 2021-08-08 15:35:36 -07:00
Nathan Young a15ac65fa0 Add board.LED for Grand Central M4 Express
Fixes #5111
2021-08-08 21:43:12 +02:00
Jeff Epler 9a6b118060
Merge pull request #5108 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-08 09:18:13 -05:00
Kenny 9897ac6b5c yet more failures of local pre-commit to find that which github pre-commit does 2021-08-08 00:25:17 -07:00
Kenny a1fff320fb add location property to vectorshape and all composed shapes 2021-08-08 00:14:53 -07:00
Wellington Terumi Uemura 5ed585d3f4
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-08-08 07:33:11 +02:00
Kenny bb25aeee51 fix code formatting that pre-commit --all-files did not locally report 2021-08-07 19:40:07 -07:00
microDev 06325c44d8
Merge pull request #5107 from jepler/compression-tweaks
Compress word offset table
2021-08-08 08:09:08 +05:30
Kenny 051d7a970e fix rotation and mirroring
now works with all vector shapes, even those with internal reference locations
that are negative. All shape locations are anchored to their 0,0 but they can
display pixels from negative coordinates if the shape's location on the screen
would have room for it.
2021-08-07 19:32:02 -07:00
Kenny b5837b157d improve transpose and mirror
* add heuristic to avoid drawing area unnecessarily
* fix Polygon.points
* fix transpose
* fix mirror x and y

Known broken:
Polygon with negative Y coordinates does not work right.
2021-08-07 19:31:22 -07:00
Jeff Epler c652a8d101 Merge branch 'weblate-circuitpython-main' of https://github.com/weblate/circuitpython into compression-tweaks 2021-08-07 09:24:10 -05:00
Jeff Epler d59a28db97 Compress word offset table
By storing "count of words by length", the long `wends` table can be
replaced with a short `wlencount` table.  This saves flash storage space.

Extend the range of string lengths that can be in the dictionary.
Originally it was to 2 to 9; at one point it was changed to 3 to 9.
Putting the lower bound back at 2 has a positive impact on the French
translation (a bunch of them, such as "ch", "\r\n", "%q", are used).
Increasing the maximum length gets 'mpossible', ' doit être ',
and 'CircuitPyth' at the long end.  This adds a bit of processing time
to makeqstrdata. The specific 2/11 values are again empirical based on
the French translation on the adafruit_proxlight_trinkey_m0.
2021-08-07 09:23:35 -05:00
Hosted Weblate 4abf9f3cf1
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-08-07 06:00:29 +02:00
Hosted Weblate 4ff76ae875
Merge remote-tracking branch 'origin/main' into main 2021-08-07 06:00:27 +02:00
Jonny Bergdahl 59bebfdb17
Translated using Weblate (Swedish)
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-07 06:00:27 +02:00
microDev 063e3946d6
Merge pull request #5094 from jepler/quirc
Add qrio: Decode QR codes with quirc lib
2021-08-07 09:30:20 +05:30
Hosted Weblate c21c754a50
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-08-06 21:10:25 +02:00
Scott Shawcroft be2342f32f
Merge pull request #5072 from microDev1/traceback
Add traceback module
2021-08-06 12:10:17 -07:00
Scott Shawcroft 93aa4e9e47
Merge pull request #5102 from evildave666/blackpill-add-mfg-name
Add WeAct manufacturer for STM32F411 blackpill boards
2021-08-06 11:59:24 -07:00
Jeff Epler 67551c1ac0 qrio: Split QRInfo & PixelPolicy to their own .c/.h files 2021-08-06 09:53:17 -05:00
evildave666 4d14bcf2a2 Add WeAct manufacturer for black pill boards 2021-08-06 16:06:16 +09:00
Jeff Epler 8e201d519e better document constructor arguments 2021-08-05 15:04:28 -05:00
Scott Shawcroft 00b617c9c4
Merge pull request #5097 from anecdata/cucumber
Add Gravitech Cucumber M, MS, R, and RS boards
2021-08-05 11:49:51 -07:00
Jeff Epler f0e489f51f
Merge pull request #5098 from bd34n/bdmicro_vina_d51_flash_chip
board bdmicro_vina_d51: Add support for MX25L12833F flash chip.
2021-08-05 13:48:29 -05:00
Scott Shawcroft e3fa6e2c35
Merge pull request #5089 from tannewt/disable_ble_workflow
Add ability to disable BLE workflow
2021-08-05 11:21:17 -07:00
Jeff Epler 2e8eb43dcc Use new quirc define for small stacks
.. and revert stack enlargement of esp32-s2
2021-08-05 12:52:43 -05:00
Jeff Epler 0fbe56c915 Better Document PixelPolicy and the pixel_policy argument 2021-08-05 12:27:49 -05:00
Jeff Epler e5a57d2399 Fix function name in prototype 2021-08-05 12:24:12 -05:00
Jeff Epler 46ac717538 Rename qrinfo -> QRInfo 2021-08-05 12:24:12 -05:00