Commit Graph

13434 Commits

Author SHA1 Message Date
Scott Shawcroft 5d0791cafb
Fix off-by-one error
It caused the bottom and right edges to be one pixel short.
2019-05-31 15:50:55 -07:00
Dan Halbert 12f1d9d30c fix advertisement length check; add Service.secondary attribute 2019-05-31 18:03:05 -04:00
Scott Shawcroft cfe24b8532
Improve rST consistency for rst2pyi use 2019-05-30 19:02:47 -07:00
Scott Shawcroft cbb102f541
Merge pull request #1909 from dhalbert/update-frozen-4.0.x
Update frozen libs; implement clean builds for translations which need it
2019-05-30 13:51:12 -07:00
Dan Halbert 812a31c78f
Merge pull request #1916 from jpecor/patch-2
Removed warning box regarding SAMD21 builds
2019-05-28 09:16:34 -04:00
Dan Halbert 71c7aca29c Add top-level Makefile target to update frozen libs easily; Update CPX lib 2019-05-28 09:09:00 -04:00
Jason Pecor a9a2227167
Removed warning box regarding SAMD21 builds
The support matrix shows that pulseio is supported for all SAMD21/SAMD51 variants. Removing warning to avoid confusion.
2019-05-27 14:08:19 -05:00
John Reese 7f7665c1c0 Use rst2pyi to generate type stubs and package 2019-05-25 21:32:06 -07:00
Dan Halbert 4e85c1ef91 Implement forced clean builds for boards so designated.
Mark boards that set CFLAGS_INLINE_LIMIT for particular langauges as needing clean builds.

Fixes #1910.
2019-05-24 15:32:24 -04:00
Dan Halbert 6cec81bcb5 Need to enable ble before scanning 2019-05-23 22:05:16 -04:00
Dan Halbert e84f3b1c6a make crickit cpx pinyin build fit 2019-05-23 21:22:50 -04:00
Dan Halbert b5fc646e3d Update frozen libs 2019-05-23 16:16:14 -04:00
Dan Halbert 1639354e5f Scanner working, but not very first time 2019-05-23 16:07:54 -04:00
Scott Shawcroft 63b253c33a
Merge pull request #1906 from adafruit/4.0.x
Merge in all bug fixes from 4.0.1 into master
2019-05-22 15:23:24 -07:00
Scott Shawcroft 7a117f52ed
Make point 2 in areas exclusive and simplify full_coverage. 2019-05-22 15:00:47 -07:00
Scott Shawcroft 32b0f1c78e
Merge pull request #1904 from pewpew-game/4.0.x
Bump circuitpython-stage to 1.0.2
2019-05-22 12:54:16 -07:00
Radomir Dopieralski 9ae3d92179 Bump circuitpython-stage to 1.0.2
This fixes an OverflowError in the read_palette function.

(cherry picked from commit 4ebcca865c)
2019-05-22 18:58:09 +02:00
Scott Shawcroft 3fad7de8db
Rework the pixel computation to use areas
This changes the displayio pixel computation from per-pixel to
per-area. This is precursor work to updating portions of the screen
(#1169). It should provide mild speedups because bounds checks are
done once per area rather than once per pixel. Filling by area also
allows TileGrid to maintain a row-associative fill pattern even when
the display's refresh is orthogonal to it.
2019-05-21 17:41:06 -07:00
Scott Shawcroft 70e0b5c0d0
Merge pull request #1896 from dhalbert/round-int-4.0.x
Enable MICROPY_PY_BUILTINS_ROUND_INT; make round() work better when flag is disabled
2019-05-21 13:55:38 -07:00
Dan Halbert b71f6c97ce Merge remote-tracking branch 'adafruit/master' into ble-scanner 2019-05-21 15:33:48 -04:00
Dan Halbert 0199d9810b Make pinyin fit on cpx 2019-05-21 15:18:56 -04:00
Dan Halbert da77eedafa Enable MICROPY_PY_BUILTINS_ROUND_INT; make round() work beter when it's disabled as well 2019-05-17 15:56:40 -04:00
Dan Halbert ee8119779e WIP 2019-05-17 15:47:12 -04:00
Scott Shawcroft aae7cb3eb0
Merge pull request #1894 from adafruit/tannewt-patch-5
Auto-build pygamer
2019-05-17 12:40:07 -07:00
Scott Shawcroft c9a87eb7fd
Auto-build pygamer 2019-05-17 11:02:18 -07:00
Dan Halbert 2abf99aa32
Merge pull request #1892 from dhalbert/pid-errors-4.0.x
correct USB PIDs for several boards
2019-05-16 10:56:30 -04:00
Dan Halbert 008bbc944c correct USB PIDs for several boards 2019-05-16 10:54:15 -04:00
sommersoft bd17fc12ac
Merge pull request #1889 from TG-Techie/patch-1
fixing showing rst tags
2019-05-15 21:36:00 -05:00
TG-Techie a7e97405e2
Update README.rst 2019-05-15 21:34:14 -04:00
TG-Techie 0d64ddaf84
fixing showing rst tags 2019-05-15 21:22:40 -04:00
Dan Halbert a888fe4c8e
Merge pull request #1888 from tannewt/iterable_group
Improvements to Group
2019-05-15 18:40:32 -04:00
Scott Shawcroft 00c39805f1
Remove old comment 2019-05-15 14:17:09 -07:00
Scott Shawcroft 5608e273a0
Add index and remove to Group. 2019-05-15 11:33:16 -07:00
Scott Shawcroft b7b55e0c0a
Make Group iterable via a generic native iterator.
Fixes #1694
2019-05-14 15:15:23 -07:00
Scott Shawcroft bd69212a19
Merge pull request #1885 from adafruit/tannewt-patch-11
Have travis build capablerobot_usbhub
2019-05-14 15:11:58 -07:00
Scott Shawcroft acfabab751
Have .travis build capablerobot_usbhub 2019-05-14 14:00:14 -07:00
Scott Shawcroft f3ab820fc2
Merge pull request #1884 from CapableRobot/capablerobot-usbhub
Added board definition for Capable Robot Programmable USB Hub
2019-05-14 13:42:51 -07:00
Dan Halbert d3ce9280e2
Merge pull request #1883 from tannewt/fix_1881
Check native object in case of early access
2019-05-14 15:30:44 -04:00
Chris Osterwood a0497553fc Fix to prevent critical pins from being reset when MCU restarts or enters REPL 2019-05-14 15:23:33 -04:00
Scott Shawcroft e74f5d5d76
Have xargs expect null termination 2019-05-14 10:42:52 -07:00
Chris Osterwood 420dbafa9d Added board definition for Capable Robot Programmable USB Hub 2019-05-14 13:28:24 -04:00
Scott Shawcroft bf682d14b3
Remove native init check from stage.
It isn't needed because the object is passed in, not self. To be
passed in it must be inited.
2019-05-14 10:20:04 -07:00
Scott Shawcroft c6c6171472
Merge pull request #1874 from matt-land/patch-1
Add documentation for Palette shared binding
2019-05-14 09:56:50 -07:00
Matt Land 0b1c1c1d92
Update Palette.c
Remove None, add in byte and bytearray examples
2019-05-14 08:03:34 -05:00
Dan Halbert 2fdaabd02c
Merge pull request #1882 from ElectronicCats/master
Fix pin lost
2019-05-13 22:29:18 -04:00
Scott Shawcroft 6756821fd9
Update translations and sort input files
This should stabilize the sort of files in the .po files.

Fixes #1871
2019-05-13 18:04:53 -07:00
Scott Shawcroft f29de51325
Check native object in case of early access
If a native displayio object is accessed before it's super().__init__()
has been called, then a placeholder is given that will cause a crash if
accessed. This is tricky to get right so we detect this case and raise
a NotInplementedError instead of crashing.

Fixes #1881
2019-05-13 17:31:30 -07:00
Scott Shawcroft a6785d7ff7
Merge pull request #1876 from cpforbes/gcc9
Backport fix for building ports/unix with gcc9 from micropython
2019-05-13 09:36:54 -07:00
Scott Shawcroft 52a8150df3
Merge pull request #1877 from pewpew-game/master
Bump circuitpython-stage to 1.0.1
2019-05-13 09:34:49 -07:00
Scott Shawcroft d845ce9eee
Merge pull request #1878 from jreese/docs-reqs
Include sphinx and recommonmark in docs/requirements.txt
2019-05-13 09:33:07 -07:00