Scott Shawcroft
c17f147be9
A variety of displayio improvements
...
This changes a number of things in displayio:
* Introduces BuiltinFont and Glyph so the built in font can be used by libraries. For boards with
a font it is available as board.TERMINAL_FONT. Fixes #1172
* Remove _load_row from Bitmap in favor of bitmap[] access. Index can be x/y tuple or overall index. Fixes #1191
* Add width and height properties to Bitmap.
* Add insert and [] access to Group. Fixes #1518
* Add index param to pop on Group.
* Terminal no longer takes unicode character info. It takes a BuiltinFont instead.
* Fix Terminal's handling of [###D vt100 commands used when up arrowing into repl history.
* Add x and y positions to Group plus scale as well.
* Add bitmap accessor for BuiltinFont
2019-02-11 20:55:05 -08:00
Scott Shawcroft
1a6ad20943
Get space back by using less ASF4 and combining register writes
2019-02-11 17:36:34 -08:00
Scott Shawcroft
f34360bba7
Merge pull request #1531 from Tasm-Devil/master
...
Update de_DE.po
2019-02-10 19:45:08 -08:00
Pascal Deneaux
b8856c71d1
Update de_DE.po
2019-02-10 21:11:42 +01:00
Scott Shawcroft
72f0783b60
Merge pull request #1527 from debrouxl/minor_improvements_and_fixes
...
Minor improvements
2019-02-07 12:36:10 -08:00
Lionel Debroux
591eb23e0f
Fix a couple variable shadowing varnings.
...
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
2019-02-07 20:10:43 +01:00
Lionel Debroux
943216deda
Make several const char / const char * arrays static to save a bit of space.
...
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
2019-02-07 20:10:43 +01:00
Scott Shawcroft
011b53fb97
Merge pull request #1525 from cpforbes/cpf-1352
...
Add human readable text for ENOSPC.
2019-02-07 10:39:09 -08:00
Scott Shawcroft
37b9cd5974
Merge pull request #1521 from nickzoic/circuitpython-nickzoic-1045-nrf-rotaryio
...
Circuitpython nickzoic 1045 nrf rotaryio
2019-02-07 10:38:20 -08:00
Craig Forbes
62389f07b8
Update translations.
2019-02-07 09:10:00 -06:00
Scott Shawcroft
c981559c16
Merge pull request #1523 from maholli/master
...
adding SAM32 board
2019-02-06 23:21:04 -08:00
Scott Shawcroft
3fccdabd32
Merge pull request #1526 from cpforbes/cpf-1490
...
Remove usb_midi.PortIn and PortOut constructors.
2019-02-06 23:17:46 -08:00
Craig Forbes
de43911a68
Remove usb_midi.PortIn and PortOut constructors.
2019-02-06 22:22:15 -06:00
Nick Moore
b9db977a2d
Change pin mode to pullup for adafruit/circuitpython#1045
2019-02-07 09:47:56 +11:00
Craig Forbes
1662e02c1b
Add human readable text for ENOSPC.
2019-02-06 14:59:01 -06:00
Max Holliday
2e48739a4e
standardizing on "BATTERY" pin; and load-leveling Travis
2019-02-06 10:50:57 -08:00
Max Holliday
4c1b85cdcd
elaborating on include path for board_busses
2019-02-05 20:21:54 -08:00
Max Holliday
30fcb14017
correcting VID/PID and adding sam32 to travis
2019-02-05 19:20:43 -08:00
Max Holliday
a2936c4c20
adding SAM32 board
...
SAMD51 running circuitpython talking to an ESP32 running micropython.
Full board details at: https://github.com/maholli/SAM32
2019-02-05 17:22:34 -08:00
Nick Moore
a7c349bc6e
Add quarter-click logic to adafruit/circuitpython#1045
2019-02-05 16:41:33 +11:00
Nick Moore
95454ecde0
useful output from rotaryio adafruit/circuitpython#1045
2019-02-05 16:41:33 +11:00
Scott Shawcroft
041a84e8f9
Merge pull request #1520 from tannewt/check_seq_multiply_for_overflow
...
Check sequence multiply for length overflow
2019-02-04 21:23:27 -08:00
Nick Moore
21eb7e8e64
GPIOTE handlers for rotaryio.IncrementalEncoder adafruit/circuitpython#1045
2019-02-05 14:15:13 +11:00
Nick Moore
ee21cc163f
Start on rotaryio.IncrementalEncoder adafruit/circuitpython#1045 (does nothing yet!)
2019-02-05 14:15:03 +11:00
Scott Shawcroft
844c20106b
Turn off micropython.mem_info
on SAMD to get ~1k back
2019-02-04 18:00:18 -08:00
Scott Shawcroft
0c50154c83
Use generic overflow so 64 bit is handled ok.
2019-02-04 16:11:16 -08:00
Scott Shawcroft
c60f77d5ab
Check sequence multiply for length overflow
...
Fixes #1279
2019-02-04 15:33:36 -08:00
Kattni
9bcc38e995
Merge pull request #1519 from tannewt/speed_debug
...
Add fast seek support and turn on auto brightness by default
2019-02-04 17:56:40 -05:00
Scott Shawcroft
b249243a9f
Fix allocation size
2019-02-04 13:39:51 -08:00
Scott Shawcroft
90e5964703
Set auto brightness on by default for boards with displays built in.
2019-02-03 13:42:03 -08:00
Scott Shawcroft
a393a6e0c5
Add fast seek support to file objects
2019-02-03 13:41:20 -08:00
Scott Shawcroft
3d07571029
Merge pull request #1515 from tannewt/fix_long_live
...
Fix a couple long live issues
2019-02-01 16:40:33 -08:00
Scott Shawcroft
5555a24479
Never long live the main dictionary.
...
It's contents change often and may be referenced elsewhere.
Fixes #1443
2019-02-01 16:05:37 -08:00
Scott Shawcroft
a39fc94dde
Don't long live class attributes
...
When they are added later, they are also referenced in the main
dictionary.
Fixes #1218
2019-02-01 16:04:16 -08:00
Scott Shawcroft
3af57f3e92
Fix up heap analysis for dynamic heap location
2019-02-01 16:03:37 -08:00
Dan Halbert
12917d323d
Merge pull request #1513 from tannewt/rotation
...
Add support for display rotation and raw commands
2019-02-01 13:35:26 -05:00
Scott Shawcroft
845783a457
Clarify rotation parameter
2019-02-01 09:33:33 -08:00
Dan Halbert
7d039a5467
Merge pull request #1512 from adafruit/tannewt-patch-9
...
Update the discord link
2019-02-01 08:47:15 -05:00
Scott Shawcroft
03068a9388
Fix built-in inits and terminal allocate
2019-02-01 01:00:10 -08:00
Scott Shawcroft
9a9d85fadc
Update translations for display rotation
2019-02-01 00:36:21 -08:00
Scott Shawcroft
448ae64d8e
Add support for display rotation and raw commands
...
Display rotation is relative to the scan order of the display.
The scan order can be found by scrolling the display with command
0x37 `display_bus.send(0x37, struct.pack(">H", i % 128))`
Fixes #1504
2019-02-01 00:32:03 -08:00
Scott Shawcroft
6ee16c0aae
Update the discord link
...
Thanks to @ticky for the heads up.
Fixes #1511
2019-01-31 19:03:13 -08:00
Dan Halbert
7c443fbef2
Merge pull request #1510 from tannewt/terminalio
...
Add a terminal that shows by default on displays.
2019-01-31 16:03:51 -05:00
Scott Shawcroft
d72cd5b2d6
Correct TileGrid class name.
2019-01-31 11:42:15 -08:00
Scott Shawcroft
354a26963b
Correctly handle no backlight pin.
2019-01-31 11:42:15 -08:00
Scott Shawcroft
2c069a5685
Polish up comments
2019-01-31 11:42:15 -08:00
Scott Shawcroft
da206012e2
Update translations
2019-01-31 11:42:15 -08:00
Scott Shawcroft
73bc614a4b
Remove doc reference to Sprite
2019-01-31 11:42:15 -08:00
Scott Shawcroft
ec03887040
Fix hallowing and nrf builds
2019-01-31 11:42:15 -08:00
Scott Shawcroft
4672866eec
Remove Sprite references
2019-01-31 11:42:14 -08:00