Commit Graph

13490 Commits

Author SHA1 Message Date
Scott Shawcroft 4a6bdb6fe4
Track a dirty area for in-memory bitmaps
This fixes the bug that bitmap changes do not cause screen updates
and optimizes the refresh when the bitmap is simply shown on the
screen. If the bitmap is used in tiles, then changing it will
cause all TileGrids using it to do a full refresh.

Fixes #1981
2019-07-18 16:47:28 -07:00
siddacious d12e1a8d74
Merge pull request #1990 from kattni/pyruler
Adding PyRuler to CircuitPython.
2019-07-10 12:28:43 -07:00
Kattni Rembor 582acdaa0a Requested changes. 2019-07-09 16:12:24 -04:00
Kattni Rembor d905958db1 Adding PyRuler to CircuitPython. 2019-07-09 16:02:39 -04:00
Scott Shawcroft 6fad383367
Merge pull request #1925 from C47D/rgb_status
Initial support for RGB led as Status indicator, fixes #1382
2019-07-09 10:31:34 -07:00
Scott Shawcroft f0cf9a4e75
Merge pull request #1988 from jandjstudios/datum
Add support for boards in the datum series.
2019-07-09 09:33:13 -07:00
C47D 40fbac13cd [rgb status] Adjust to current brightness 2019-07-08 22:06:43 -05:00
jandjstudios 96cf9053f4 Added datum boards to travis.yml 2019-07-08 19:27:14 -07:00
Scott Shawcroft f4a64a2e80
Merge pull request #1989 from rce1086/master
Added conditional compilation around selection of TX pad candidates
2019-07-08 14:07:04 -07:00
C47D 324cbe4327 [rgb status] Also invert the pwm values on clear_temp_status 2019-07-07 21:15:51 -05:00
Scott Shawcroft 380f1d6ae6
Merge pull request #1984 from iot49/uart
changed type of receiver_buffer_size to uint16_t
2019-07-07 18:14:52 -07:00
Carl Elkins 64507207da Added conditional compilation around selection of TX pad candidates
Original code was correct for SAMD21
New code for SAMD51 only permits pad-0 for TX
2019-07-08 02:08:39 +01:00
C47D fae1039401 [rgb led status] Add CP_RGB_STATUS_PWM_INVERTED symbol to invert pwm signals. 2019-07-06 16:50:48 -05:00
jandjstudios 46b7575550 Initial commit to support boards in the datum series. 2019-07-06 13:41:03 -07:00
Scott Shawcroft 5610e05b8c
Fix up nrf so that it is initialized properly. Also, do not reset
it's pins.
2019-07-06 12:48:16 -07:00
iot49 4c72a3991e updated samd and esp8266 ports 2019-07-05 10:01:51 -07:00
iot49 6e5d70fa19 changed type of receiver_buffer_size to uint16_t 2019-07-03 12:02:01 -07:00
Scott Shawcroft 69460b943b
Merge pull request #1983 from tannewt/fix_group_subscr_delete
Fix Group subscr to detect delete correctly
2019-07-03 09:47:34 -07:00
Scott Shawcroft 745ff8f8c1
Fix Group subscr to detect delete correctly
Fixes #1957
2019-07-02 18:15:23 -07:00
Scott Shawcroft 2761ae6754
Merge pull request #1978 from pewpew-game/ugame-font
Switch the terminal font for ugame10
2019-07-02 11:52:58 -07:00
Radomir Dopieralski e45eac5016 Switch the terminal font for ugame10
I designed this really tiny, minimalist font for use on very small
displays. On uGame it lets one see the whole text that CircuitPython
prints on boot. The characters are 4x6 pixels each, and they are
optimized for legibility (large x-height, right angles, blocky shapes).

It might make sense to also use that font in other boards.
2019-07-01 23:05:07 +02:00
Scott Shawcroft f76021ef82
Merge pull request #1979 from pewpew-game/font-boundingbox
Use FONTBOUNDINGBOX for font metrics
2019-07-01 13:43:29 -07:00
Radomir Dopieralski 7c908b08ee Use FONTBOUNDINGBOX for font metrics
Instead of iterating over all the glyphs and calculating the maximum
width and height, use the FONTBOUNDINGBOX to determine the size of a
tile for terminalio.

This works better with fonts such as generated by FontForge, that don't
include the empty space in the glyph bitmap itself. It also lets the
font author specify vertical spacing they want.

I only tested this with the default font and with one I generated with
FontForge.
2019-06-30 01:10:47 +02:00
Dan Halbert f0a112ef5d
Merge pull request #1975 from tannewt/merge_in_402
Merge in 4.0.2
2019-06-27 18:48:03 -04:00
Scott Shawcroft 0cce7fcaa3
Merge remote-tracking branch 'adafruit/4.0.x' into merge_in_402 2019-06-27 14:06:26 -07:00
Scott Shawcroft 72ea216dce
Merge pull request #1974 from tannewt/fix_missing_lines
Properly reset the terminal each init.
2019-06-27 13:54:57 -07:00
Dan Halbert c562b19238
Merge pull request #1972 from tannewt/validate_mpy_load
Validate mpy load
2019-06-26 20:39:50 -04:00
Scott Shawcroft 2004be96ac
Properly reset the terminal each init.
Fixes #1944
2019-06-26 17:36:30 -07:00
Scott Shawcroft fe507db45f
Shrink pIRkey build down.
Rollback HID to save string space and remove board mapping for
default buses that don't exist.
2019-06-26 16:49:23 -07:00
Scott Shawcroft 1f105e0ac0
Update frozen libraries to save space 2019-06-26 15:10:51 -07:00
sommersoft f77abbd960
Merge pull request #1973 from tannewt/travis_deploy_keep_alive
Add keep alive to Travis deploy
2019-06-26 17:07:43 -05:00
Scott Shawcroft 6785e0259f
Add keep alive to Travis deploy
Some deploys take over 10 minutes and Travis kills the job. This
workaround is from https://github.com/travis-ci/dpl/issues/568
2019-06-26 11:14:45 -07:00
Scott Shawcroft 6d2072f9cb
Fix tests 2019-06-26 11:02:18 -07:00
Scott Shawcroft 2494bfdc86
Validate raw code and mpy read length 2019-06-25 17:54:27 -07:00
Scott Shawcroft 77355cbb2f
Update translations 2019-06-25 16:52:52 -07:00
Scott Shawcroft 330517bde9
Validate portions of mpy load to detect corruption
Fixes #1917
2019-06-25 15:39:33 -07:00
Scott Shawcroft d3adfde22a
Merge pull request #1968 from adafruit/4.0.x
Merge in nrf neopixel fix
2019-06-25 11:35:58 -07:00
siddacious 863de45c0a
Merge pull request #1969 from AlexHagerman/design-guide-import-update
Update import statement in design guide code snippet.
2019-06-25 07:43:36 -07:00
Alexander Hagerman 48443c9c3f Update import statement in code snippet.
The code snippets in the Design Guide article reference  without the  statement.
2019-06-25 08:36:44 -04:00
Scott Shawcroft ecf24420d5
Merge pull request #1963 from dhalbert/nrf-neopixel-fix
nrf: fix neopixel_write pwm buf size calc
2019-06-24 17:31:56 -07:00
Dan Halbert 23bd861c9a nrf: fix neopixel_write pwm buf size calc 2019-06-20 18:02:14 -04:00
Dan Halbert 3863a6ab8c
Merge pull request #1961 from tannewt/update_frozen
Update frozen libraries
2019-06-19 18:01:05 -04:00
Scott Shawcroft 232e7c7cb0
Merge pull request #1959 from cpforbes/issue1921
Documentation fixes.
2019-06-19 14:05:54 -07:00
Scott Shawcroft 14d0606fa0
update stage too 2019-06-19 12:44:10 -07:00
Scott Shawcroft 7ad229ec27
Merge pull request #1958 from tannewt/pygamer_advanced
Add PyGamer Advance and fix Joystick pins
2019-06-19 12:32:36 -07:00
Scott Shawcroft a7bed2a74e
Update frozen libraries 2019-06-19 12:23:15 -07:00
Scott Shawcroft edecddcb33
Merge pull request #1946 from C47D/master
[locale spanish] Update spanish translation.
2019-06-19 11:02:43 -07:00
Scott Shawcroft 5e5252ced0
Merge pull request #1955 from pewpew-game/pygamer-stage
Add support for PyGamer to Stage library
2019-06-18 18:23:08 -07:00
Craig Forbes 09e7f4db00 Fix reference to Bitmap in fontio.Glyph docs. 2019-06-18 18:44:50 -05:00
Craig Forbes e442efbdec Fix docs in digitalio. 2019-06-18 16:59:05 -05:00