Dan Halbert
a397af9bdf
Round BLE timing values; fix timeout check
2021-01-10 13:16:19 -05:00
@brrzap
df4c028d29
_pixelbuf: error check in brightness setter ( fix #3753 )
2021-01-01 19:49:20 -05:00
Roy Hooper
1b7709f325
use the stack
2020-08-10 18:42:05 -04:00
Roy Hooper
ef1782f85e
fix trailing whitespace
2020-08-10 12:04:44 -04:00
Roy Hooper
00a3a25b94
revert error to avoid translation changes
2020-08-08 18:40:45 -04:00
Roy Hooper
e73dba21d2
make pixelbuf handle floats and iterables
2020-08-07 18:42:06 -04:00
Taku Fukada
56c898da80
Modify some Python stubs
2020-08-07 01:01:28 +09:00
Taku Fukada
d356581651
Fix several type hints
2020-07-27 18:05:13 +09:00
Taku Fukada
54a342a7f5
Add and correct some type hints
2020-07-24 18:20:03 +09:00
Scott Shawcroft
2bd6d05663
Add externs. GCC10 complains about duplicate defines
2020-07-22 16:26:46 -07:00
dherrada
bce77adecd
Added type hints previously missed
2020-07-03 16:03:19 -04:00
dherrada
d0d949cd24
Made every init return None
2020-07-03 14:23:34 -04:00
dherrada
3df03a5650
Made most of the requested changes
2020-07-03 13:49:00 -04:00
dherrada
41f12a7a6c
Added type hints to pixelbuf
2020-07-03 10:47:44 -04:00
dherrada
54cb1feea0
Removed all 'self, )'
2020-07-02 13:28:36 -04:00
Diego Elio Pettenò
dd5d7c86d2
Fix up end of file and trailing whitespace.
...
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00
Roy Hooper
d13d0244ec
Adjust docs to reflect behaviour.
2020-05-24 20:39:53 -04:00
George Waters
c592a2b4db
Simplify pixelbuf set_pixels function
2020-05-22 21:19:17 -04:00
George Waters
f078055f59
Use mp_int_t for setting pixelbuf slice indices
...
When handling negative steps, start and stop need to be mp_int_t so they
can be checked against a potential negative value during the for loop
used to set the slice values.
2020-05-22 16:28:09 -04:00
George Waters
16ffc731f3
Implement negative step for pixelbuf slices
2020-05-21 21:57:45 -04:00
George Waters
02d0881fca
Fix error when getting a pixelbuf slice
2020-05-20 17:56:08 -04:00
Scott Shawcroft
4e8de3c554
Swap sphinx to autoapi and the inline stubs
2020-05-12 17:28:24 -07:00
dherrada
c534a872a2
Merge branch 'master' into master
2020-05-12 12:26:02 -04:00
Roy Hooper
09fedb3fd5
fix another doc error (pixelsx - thanks @theacodes)
2020-05-10 21:35:37 -04:00
Roy Hooper
70f2ef3f8e
Fix docs some more
2020-05-10 19:50:10 -04:00
Roy Hooper
2f7c0ec8e4
Minor fixes to _pixelbuf.PixelBuf docs
2020-05-10 16:22:01 -04:00
dherrada
09530e5dc3
Did os, _pixelbuf, _pew
2020-05-08 16:03:39 -04:00
Kattni Rembor
a83d1d7b4b
Update wheel to colorwheel and fix RGB order.
2020-05-08 14:44:41 -04:00
Kattni Rembor
37e5ff7757
Update colorwheel from GRB to RGB.
2020-05-08 13:25:52 -04:00
Scott Shawcroft
39971794dd
Encapsulate buffers inside PixelBuf and refactor it.
2020-01-24 18:23:07 -08:00
Roy Hooper
ccf158b030
raise mp_raise_NotImplementedError
2020-01-02 18:00:36 -05:00
Roy Hooper
fdddb54db4
rename call_show to pixelbuf_call_show
2020-01-02 17:56:04 -05:00
Roy Hooper
4e1996856f
Fix docstring for byteorder
2020-01-01 19:25:44 -05:00
Roy Hooper
12193913a8
move native fill to a helper to work around being unable to call a subclass show method from the native superclass
2020-01-01 17:30:17 -05:00
Roy Hooper
8129a8503a
Revert "try a property with a callable static class"
...
This reverts commit ca5b2770cf
.
2020-01-01 16:10:22 -05:00
Roy Hooper
ca5b2770cf
try a property with a callable static class
2020-01-01 16:10:01 -05:00
Roy Hooper
023d64fe4a
Merge branch 'pixelbuf-subscr-change' into new-pixelbuf-api
2019-12-29 13:56:47 -05:00
Roy Hooper
ef2a8906dd
move call to show outside loop
2019-12-16 15:05:09 -05:00
Roy Hooper
dc8dd6df20
Revert subscr signature change
2019-12-13 14:29:15 -05:00
Roy Hooper
222dd29a14
Fix slice step.
2019-12-10 20:43:00 -05:00
Roy Hooper
dd7ac68fb0
fix slice anf fill bugs
2019-12-08 16:53:08 -05:00
Roy Hooper
0d267eaee1
fix compile fails
2019-12-02 14:25:57 -05:00
Roy Hooper
a9624fff25
add show
2019-11-26 21:28:41 -05:00
Roy Hooper
0ef9344c17
make pixelbuf iterable
2019-11-25 20:21:00 -05:00
Roy Hooper
d4ed258b74
remove unnecessary qstrs
2019-11-25 20:20:51 -05:00
Roy Hooper
c770ccd939
make ->subscr take an instance to pass when instance_subscr is called from subscr.
2019-11-23 12:09:26 -05:00
Roy Hooper
2970680e6a
fix show and fix step > 1
2019-10-20 19:54:25 -04:00
Roy Hooper
dc8c27d129
make dotstar byteorder constants start with P. fix small bugs.
2019-10-06 22:44:00 -04:00
Roy Hooper
55c688cbeb
restructure to be subclassable
2019-10-05 15:53:53 -04:00
Roy Hooper
000ae6bf17
support subclasses
2019-10-05 13:47:40 -04:00