Dan Halbert
29ae444dc6
Fix usb_hid_gc_collect()
2021-08-27 11:36:56 -04:00
microDev
8c2a16e65c
Merge pull request #5207 from lesamouraipourpre/pixel-luma
...
Remove the `pixel_luma` parameter from `compute_tricolor`
2021-08-24 12:28:10 +05:30
Dan Halbert
7587a521cb
Merge pull request #5145 from FoamyGuy/bitmaptools_paint_fill
...
Bitmaptools boundary_fill
2021-08-23 16:20:38 -04:00
Scott Shawcroft
6d49a9f0c5
Merge pull request #5205 from jepler/deprecate-vertical-scroll
...
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 12:52:12 -07:00
microDev
57b4d0176f
Merge pull request #5077 from microDev1/atexit
...
Add atexit module
2021-08-23 19:49:46 +05:30
Jeff Epler
379461df7d
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 09:17:59 -05:00
foamyguy
80c7a15df7
fix dirty area initial points
2021-08-22 10:52:28 -05:00
James Carr
cba71ea157
Remove displayio_copy_coords
. It is a duplicate of displayio_area_copy
2021-08-22 10:58:39 +01:00
foamyguy
0f478d59fe
remove string import. use minimum sized dirty area
2021-08-21 16:15:59 -05:00
foamyguy
aeeba3904b
changed argument names and make replaced_color_value argument optional
2021-08-21 11:08:25 -05:00
James Carr
16a0306e29
Remove the pixel_luma parameter from displayio_colorconverter_compute_tricolor ( Closes #5194 )
...
Not tested, I don't currently have a three colour eInk screen to test with.
2021-08-21 16:32:36 +01:00
microDev
25437dcb33
Merge branch 'main' into atexit
2021-08-20 09:45:54 +05:30
Dan Halbert
5b0009cbc4
Merge pull request #5151 from dhalbert/usb_hid-changes
...
Support multiple reports per device in usb_hid
2021-08-17 17:14:28 -04:00
Dan Halbert
1bcf66ff8d
Check buffer existence in tud callbacks (addresses #5020 )
2021-08-17 15:34:48 -04:00
Jeff Epler
d67acb8a64
MP3Decoder: Fix playback stopping issue
...
Closes : #5164
2021-08-17 10:03:47 -05:00
Dan Halbert
38f42818e9
fix gc; update KEYBOARD report descriptor
...
The default KEYBOARD report descriptor had a signed/unsigned error,
and also could have allowed more keycodes. So I changed it, using the
very vanilla descriptor from a very plain extremely common commercial
keyboard, modifying it only have 5 LED's instead of 3, and added a
report ID.
2021-08-16 18:59:41 -04:00
microDev
bdf8bc58ed
allow exception raise inside atexit callback
2021-08-16 22:35:04 +05:30
microDev
1c4a6c3667
atexit module refinements
...
- add test for atexit module
- add callback to gc collection
- fix callback memory allocation
- execute callback on both code and repl exit
2021-08-16 21:37:32 +05:30
foamyguy
6f783060c2
ignore points outside of bitmap
2021-08-15 19:11:15 -05:00
Dan Halbert
f37e1d7bf5
squeeze a couple of boards
2021-08-14 17:36:05 -04:00
Dan Halbert
3dc2b4c2d3
at least original functionality with new API
2021-08-14 12:36:40 -04:00
Dan Halbert
4f8ff12afa
wip
2021-08-14 12:36:40 -04:00
foamyguy
ec8b31e7b4
code format and translations
2021-08-13 10:13:38 -05:00
foamyguy
c1e164e1ff
rename to boundary_fill and clean up comments
2021-08-13 09:52:51 -05:00
foamyguy
0bbb0f1d06
Merge branch 'adafruit_main' into bitmaptools_paint_fill
2021-08-13 09:49:24 -05:00
Scott Shawcroft
de796e2304
Move OneWire to onewireio
from busio
...
This will allow finer grained inclusion in 8.0.0
Fixes #5135
2021-08-12 10:47:14 -07:00
Scott Shawcroft
ebf0901558
Merge pull request #5079 from dhalbert/debug-audio
...
Fix various RP2040 and SAMD audio issues
2021-08-11 11:19:53 -07:00
Dan Halbert
24e61a7da8
Track more carefully which audio buffers to fill, based on interrupt channels
2021-08-10 22:00:09 -04:00
microDev
93c9d59960
Merge branch 'main' into getpass
2021-08-10 01:00:10 +05:30
microDev
3495cc1ff6
Merge pull request #5110 from jepler/format-exception
...
Implement `traceback.format_exception`
2021-08-10 00:47:18 +05:30
Kattni
c87d90ec4b
Merge pull request #5090 from WarriorOfWire/draw_protocol
...
Draw protocol
2021-08-09 15:04:36 -04:00
foamyguy
fd372cf06c
it works!
2021-08-09 13:15:58 -05:00
Dan Halbert
2451c788f4
valid channels in audio_dma_stop; cleaner supervisor_ticks mgmt in keypad
2021-08-09 09:47:13 -04:00
foamyguy
87358f81b2
trying to check next pixel
2021-08-09 08:30:12 -05:00
Jeff Epler
c1ffab7476
Reduce code duplication in traceback module
2021-08-09 08:27:28 -05:00
Jeff Epler
bfea6947e5
Improve mp_printf with support for compressed strings
...
* The new nonstandard '%S' format takes a pointer to compressed_string_t
and prints it
* The new mp_cprintf and mp_vcprintf take a format string that is a
compressed_string_t
2021-08-09 08:27:28 -05:00
microDev
51f8603783
add getpass module
2021-08-09 17:50:28 +05:30
Kenny
cf2712d23f
transposing and mirroring work
...
* fix absolute_transform dirtying early instead of after the change, missing the draw
* fix transpose and mirror. (0,0) -> location in all vector shapes now in all rotations.
2021-08-08 17:01:36 -07:00
Kenny
7eece7d959
dirty area computed for non-transposed but at least d-1
2021-08-08 15:35:36 -07:00
foamyguy
158048e56b
trying to make lists
2021-08-08 14:33:07 -05:00
foamyguy
6d57f43eb3
try adding print
2021-08-08 09:34:52 -05:00
foamyguy
bcfec10552
starting bitmaptools.paint_fill
2021-08-08 09:31:09 -05:00
Kenny
9897ac6b5c
yet more failures of local pre-commit to find that which github pre-commit does
2021-08-08 00:25:17 -07:00
Kenny
a1fff320fb
add location property to vectorshape and all composed shapes
2021-08-08 00:14:53 -07:00
Kenny
bb25aeee51
fix code formatting that pre-commit --all-files did not locally report
2021-08-07 19:40:07 -07:00
Kenny
051d7a970e
fix rotation and mirroring
...
now works with all vector shapes, even those with internal reference locations
that are negative. All shape locations are anchored to their 0,0 but they can
display pixels from negative coordinates if the shape's location on the screen
would have room for it.
2021-08-07 19:32:02 -07:00
Kenny
b5837b157d
improve transpose and mirror
...
* add heuristic to avoid drawing area unnecessarily
* fix Polygon.points
* fix transpose
* fix mirror x and y
Known broken:
Polygon with negative Y coordinates does not work right.
2021-08-07 19:31:22 -07:00
microDev
063e3946d6
Merge pull request #5094 from jepler/quirc
...
Add qrio: Decode QR codes with quirc lib
2021-08-07 09:30:20 +05:30
Scott Shawcroft
be2342f32f
Merge pull request #5072 from microDev1/traceback
...
Add traceback module
2021-08-06 12:10:17 -07:00
Jeff Epler
67551c1ac0
qrio: Split QRInfo & PixelPolicy to their own .c/.h files
2021-08-06 09:53:17 -05:00