Scott Shawcroft
8f57841593
Merge pull request #1926 from C47D/fix_wav_samplerate
...
[shared-module/audioio/WaveFile.h] Change sample_rate from uint16_t t…
2019-06-05 10:07:08 -07:00
Carlos
671178c8c4
[shared-module/audioio/WaveFile.h] Change sample_rate from uint16_t to uint32_t so it matches the sample rate type parsed from the WAV header format, fix #1922
2019-06-04 21:31:30 -05:00
Scott Shawcroft
c5a4e19d6f
Merge pull request #1915 from jreese/rst2pyi
...
Use rst2pyi to generate type stubs and package
2019-06-04 11:39:03 -07:00
John Reese
e8521c8379
Clean up egg-info directory as well
2019-06-02 15:12:29 -07:00
John Reese
f831d84435
Update maintainer/email for stub package, bump rst2pyi dep
2019-06-02 15:08:48 -07:00
Dan Halbert
bcda5e133d
Merge pull request #1903 from tannewt/get_area
...
Rework the pixel computation to use areas
2019-05-31 21:27:06 -04:00
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
John Reese
7f7665c1c0
Use rst2pyi to generate type stubs and package
2019-05-25 21:32:06 -07: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
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
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
Scott Shawcroft
589755e1bf
Merge pull request #1879 from dhalbert/bytearray-array-range-fixes
...
Handle truth values; speed up smallint checks
2019-05-13 09:31:28 -07:00
sabas1080
9f082ba5cb
Fix pin lost
2019-05-13 10:18:53 -05:00
Dan Halbert
8664a6574b
use approx of original @godlygeek code for smallints; add tests
2019-05-12 11:17:29 -04:00
John Reese
99164a9a13
Pin dependencies to force sphinx 1.8.5
2019-05-11 21:24:39 -07:00
Dan Halbert
d103ac1d63
Handle truth values; speed up smallint checks
2019-05-12 00:10:53 -04:00
John Reese
63c720bcfb
Include sphinx and recommonmark in docs/requirements.txt
2019-05-11 19:58:10 -07:00
Radomir Dopieralski
31e5e6ea98
Bump circuitpython-stage to 1.0.1
2019-05-11 22:42:09 +02:00