Commit Graph

13450 Commits

Author SHA1 Message Date
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
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
Craig Forbes
0bb92d4fc3 Fix references to cpython in builtins documentation. 2019-06-18 16:59:05 -05:00
Craig Forbes
db74b92e77 Fix displayio.Display docstring type for display_bus.
Add docs for group parameter for Display.show.
2019-06-18 16:59:05 -05:00
Craig Forbes
d852d0f043 Explicitly set the locale when sorting translation files. 2019-06-18 16:59:05 -05:00
Scott Shawcroft
352bf7eaf5
Add PyGamer Advance and fix Joystick pins 2019-06-18 12:22:20 -07:00
Scott Shawcroft
13c3d06c6a
Merge pull request #1952 from tannewt/fixup_tilegrid_dirty
Fix TileGrid's dirty tracking when changing top left
2019-06-18 10:29:12 -07:00
Scott Shawcroft
e6ded8dd22
Merge pull request #1953 from tannewt/expose_baudrate
Add baudrate to FourWire and shorten delay.
2019-06-18 10:28:47 -07:00
Radomir Dopieralski
5803245009 Add support for PyGamer to Stage library 2019-06-18 19:05:51 +02:00
C47D
b11cbbaa55 [locale es.po] Fix errors 2019-06-17 21:01:22 -05:00
Scott Shawcroft
2dddccb99e
Update board inits for new api. 2019-06-17 18:03:30 -07:00
Scott Shawcroft
4013bcde9e
Add baudrate to FourWire and shorten delay. 2019-06-17 17:48:05 -07:00
Scott Shawcroft
7490adf8e9
Use width for x. Thanks @deshipu 2019-06-17 16:23:38 -07:00
Scott Shawcroft
da3d75f7b1
Fix TileGrid's dirty tracking when changing top left 2019-06-17 16:23:37 -07:00
Scott Shawcroft
c4170d2f18
Merge pull request #1945 from brentru/add-pybadge-airlift
Add PyBadge AirLift
2019-06-17 14:26:26 -07:00
brentru
ea2c068e11 COLMOD is 1 param, remove CASET/RASET in CircuitPython 2019-06-17 11:20:25 -04:00
Scott Shawcroft
cde8000f66
Merge pull request #1948 from cpforbes/issue1937
Create a /lib directory when creating the filesystem.
2019-06-16 23:29:46 -07:00
C47D
32462a6e83 [locale spanish] update translation with make translate 2019-06-15 09:30:25 -05:00
C47D
06f9e94ff7 [locale spanish] Update spanish translation. 2019-06-15 01:02:40 -05:00
brentru
6a37f4f7b1 added board to fastest travis_boards 2019-06-14 16:46:42 -04:00
Craig Forbes
99bcb4e2a4 Create a /lib directory when creating the filesystem. 2019-06-14 15:41:32 -05:00
brentru
207dc885a6 removed incorrect gamma code, looks better now 2019-06-14 16:34:30 -04:00
brentru
4092294e7c tft working init. sequence, still undersaturated 2019-06-14 16:17:05 -04:00
brentru
0bc74172a2 Add pybadge airlift, sans-tft 2019-06-14 14:46:19 -04:00
Scott Shawcroft
6d388a34eb
Merge pull request #1943 from adafruit/4.0.x
Merge in gamepadshift fix to master.
2019-06-13 12:26:04 -07:00
Dan Halbert
6be7cf7440
Merge pull request #1940 from tannewt/dirty_area
Add partial display update support.
2019-06-13 08:29:12 -04:00
Scott Shawcroft
6f6dcafd90
Minor tweaks based on Dan's feedback 2019-06-13 00:34:19 -07:00
Scott Shawcroft
d2ec43113e
Update BusDevice to save space. 2019-06-12 14:22:57 -07:00
Scott Shawcroft
076a3f8a9b
Merge pull request #1939 from pewpew-game/gamepad-clear
When clearing gamepad buffer, use the last button state, not 0
2019-06-12 13:22:00 -07:00
Scott Shawcroft
0b1f605a9b
Turn off gc opt for more M0 boards 2019-06-12 13:20:21 -07:00
Radomir Dopieralski
5e265f4fbd
When clearing gamepad buffer, use the last button state, not 0
When reading the accumulated button presses in gamepad and gamepadshift,
don't clear the buffer to "no buttons pressed", but instead set it to
the current (last checked) state. This clears the accumulated presses,
but retains any ongoing ones.

This fixes #1935
2019-06-12 11:42:41 -07:00
Scott Shawcroft
a91ad05774
Change to one lto partition for ultimate optimization. 2019-06-12 11:37:46 -07:00
Scott Shawcroft
a35d9b469d
Refactor deinit check to reduce code size. 2019-06-12 11:36:43 -07:00
Scott Shawcroft
6db4f45754
Update translations 2019-06-12 11:32:40 -07:00
Scott Shawcroft
eb21fc3e31
Add partial display update support.
Different operations to the display tree have different costs. Be
aware of these costs when optimizing your code.
* Changing tiles indices in a TileGrid will update an area
covering them all.
* Changing a palette will refresh every object that references it.
* Moving a TileGrid will update both where it was and where it moved to.
* Adding something to a Group will refresh each individual area it
covers.
* Removing things from a Group will refresh one area that covers all
previous locations. (Not separate areas like add.)
* Setting a new top level Group will refresh the entire display.

Only TileGrid moves are optimized for overlap. All other overlaps
cause sending of duplicate pixels.

This also adds flip_x, flip_y and transpose_xy to TileGrid. They
change the direction of the pixels but not the location.

Fixes #1169. Fixes #1705. Fixes #1923.
2019-06-12 11:32:39 -07:00
Scott Shawcroft
a06a97e2cb
Merge pull request #1934 from dhalbert/vm-computed-goto
Turn on MICROPY_OPT_COMPUTED_GOTO for 5x CPU-bound speedup
2019-06-12 11:25:43 -07:00
Dan Halbert
ba1b36a800 Uncomment vm.c SUPEROPT (debugging typo); trim a few builds 2019-06-12 13:09:09 -04:00
Dan Halbert
1bb4fccc3b Turn off SUPEROPT on gc.c instead of trying to squueze inline limit so much; reorganize mpconfigboard.mk files 2019-06-12 11:08:22 -04:00
Dan Halbert
0b3f29780a shrink a bunch of builds to fit 2019-06-11 18:46:06 -04:00
Dan Halbert
aa3316b619 Merge remote-tracking branch 'adafruit/master' into vm-computed-goto 2019-06-11 18:01:04 -04:00
Dan Halbert
541c2a70ac
Merge pull request #1938 from dhalbert/4.0.x-merge-to-master-2019-06-11
Merge latest 4.0.x changes to master
2019-06-11 17:43:22 -04:00