Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
73477169ae | ||
|
|
5ccc60c177 | ||
|
|
93c4fcc884 | ||
|
|
aa72605e99 | ||
|
|
8ee725722f | ||
|
|
236bda5f31 | ||
|
|
36ee3bd9ef | ||
|
|
16a0621e03 | ||
|
|
7c4c5439a4 | ||
|
|
f7314bc1bc | ||
|
|
f14bbc3a36 | ||
|
|
44c6191b2f | ||
|
|
829b0ab97a | ||
|
|
1c5e390e13 | ||
|
|
98e7d814b1 | ||
|
|
0117e50599 | ||
|
|
b4b17d6f55 | ||
|
|
a074c60c9e | ||
|
|
9f80deec4a | ||
|
|
0655d807e4 |
@@ -6,7 +6,7 @@ on:
|
||||
- '@pybricks/jedi/**'
|
||||
|
||||
jobs:
|
||||
publish_ide_docs:
|
||||
publish_jedi:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
## 3.2.0 - 2022-12-20
|
||||
|
||||
### Changed
|
||||
- Changed module TOC headings to make it easier to find things.
|
||||
|
||||
## 3.2.0c1 - 2022-12-09
|
||||
|
||||
### Changed
|
||||
|
||||
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 38 KiB |
@@ -0,0 +1,224 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_1_open_device_manager.svg"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6">
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="marker3510"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Mend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.6) rotate(180) translate(0,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="stroke:context-stroke;fill-rule:evenodd;fill:context-stroke;stroke-width:0.62500000;stroke-linejoin:round;"
|
||||
id="path3508" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="marker3500"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.4) rotate(180) translate(10,0)"
|
||||
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path3498" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="marker3216"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Mend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.6) rotate(180) translate(0,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="stroke:context-stroke;fill-rule:evenodd;fill:context-stroke;stroke-width:0.62500000;stroke-linejoin:round;"
|
||||
id="path3214" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="marker3206"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.4) rotate(180) translate(10,0)"
|
||||
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path3204" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="Arrow2Mend"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Mend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.6) rotate(180) translate(0,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="stroke:context-stroke;fill-rule:evenodd;fill:context-stroke;stroke-width:0.62500000;stroke-linejoin:round;"
|
||||
id="path1221" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="marker1668"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path1666" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="marker1658"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path1656" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="marker1648"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Send"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.2) rotate(180) translate(6,0)"
|
||||
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path1646" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="Arrow1Mend"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.4) rotate(180) translate(10,0)"
|
||||
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path1203" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="Arrow1Send"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Send"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.2) rotate(180) translate(6,0)"
|
||||
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path1209" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="Arrow1Lend"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path1197" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="Arrow2Lend"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="stroke:context-stroke;fill-rule:evenodd;fill:context-stroke;stroke-width:0.62500000;stroke-linejoin:round;"
|
||||
id="path1215" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.9044027"
|
||||
inkscape:cx="133.37515"
|
||||
inkscape:cy="178.79622"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_1_open_device_manager.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="282"
|
||||
height="42"
|
||||
x="6.4999995"
|
||||
y="152.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 56 KiB |
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_2_large_hub_open_properties.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6">
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="Arrow1Mend"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.4) rotate(180) translate(10,0)"
|
||||
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path4580" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.3235797"
|
||||
inkscape:cx="382.29658"
|
||||
inkscape:cy="262.92334"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1163"
|
||||
inkscape:window-x="1920"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_2_large_hub_open_properties.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="245"
|
||||
height="39"
|
||||
x="339.5"
|
||||
y="438.5" />
|
||||
<path
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
|
||||
d="m 362.36628,258.14936 -44.35771,68.2069"
|
||||
id="path868"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 56 KiB |
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_2_small_hub_open_properties.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6">
|
||||
<marker
|
||||
style="overflow:visible;"
|
||||
id="Arrow1Mend"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
transform="scale(0.4) rotate(180) translate(10,0)"
|
||||
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path4580" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.3235797"
|
||||
inkscape:cx="382.29658"
|
||||
inkscape:cy="262.92334"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1163"
|
||||
inkscape:window-x="1920"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_2_small_hub_open_properties.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="245"
|
||||
height="39"
|
||||
x="339.5"
|
||||
y="438.5" />
|
||||
<path
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
|
||||
d="m 362.36628,258.14936 -44.35771,68.2069"
|
||||
id="path868"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 28 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_3_large_hub_properties.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.92648239"
|
||||
inkscape:cx="365.9001"
|
||||
inkscape:cy="415.01059"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_3_large_hub_properties.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="150"
|
||||
height="42"
|
||||
x="374.5"
|
||||
y="357.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 29 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_3_small_hub_properties.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.92648239"
|
||||
inkscape:cx="365.9001"
|
||||
inkscape:cy="415.01059"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_3_small_hub_properties.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="150"
|
||||
height="42"
|
||||
x="374.5"
|
||||
y="357.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 24 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_4_large_hub_update_driver.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.1227623"
|
||||
inkscape:cx="315.29381"
|
||||
inkscape:cy="468.93274"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_4_large_hub_update_driver.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5.00001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="497.99997"
|
||||
height="99.999992"
|
||||
x="53.5"
|
||||
y="255.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 24 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_4_small_hub_update_driver.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.1227623"
|
||||
inkscape:cx="315.29381"
|
||||
inkscape:cy="468.93274"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_4_small_hub_update_driver.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5.00001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="497.99997"
|
||||
height="99.999992"
|
||||
x="53.5"
|
||||
y="255.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 27 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_5_large_hub_update_driver_pick.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.3593536"
|
||||
inkscape:cx="302.34958"
|
||||
inkscape:cy="207.08371"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_5_large_hub_update_driver_pick.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5.00001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="535"
|
||||
height="102.99999"
|
||||
x="49.500004"
|
||||
y="300.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 27 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_5_small_hub_update_driver_pick.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.3593536"
|
||||
inkscape:cx="302.34958"
|
||||
inkscape:cy="207.08371"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_5_small_hub_update_driver_pick.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5.00001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="535"
|
||||
height="102.99999"
|
||||
x="49.500004"
|
||||
y="300.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 37 KiB |
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_6_large_hub_update_driver_select_type.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.1381411"
|
||||
inkscape:cx="345.29989"
|
||||
inkscape:cy="387.91324"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_6_large_hub_update_driver_select_type.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="245"
|
||||
height="22"
|
||||
x="65.5"
|
||||
y="289.5" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect835"
|
||||
width="85"
|
||||
height="32"
|
||||
x="473.49997"
|
||||
y="446.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 37 KiB |
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_6_small_hub_update_driver_select_type.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.1381411"
|
||||
inkscape:cx="345.29989"
|
||||
inkscape:cy="387.91324"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_6_small_hub_update_driver_select_type.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="245"
|
||||
height="22"
|
||||
x="65.5"
|
||||
y="289.5" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect835"
|
||||
width="85"
|
||||
height="32"
|
||||
x="473.49997"
|
||||
y="446.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 33 KiB |
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_7_large_hub_update_driver_select_driver.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.0044967"
|
||||
inkscape:cx="222.00173"
|
||||
inkscape:cy="433.55047"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_7_large_hub_update_driver_select_driver.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="97"
|
||||
height="25"
|
||||
x="68.5"
|
||||
y="297.5" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect835"
|
||||
width="108"
|
||||
height="25"
|
||||
x="274.76102"
|
||||
y="316.04642" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect835-3"
|
||||
width="85"
|
||||
height="32"
|
||||
x="473.5"
|
||||
y="446.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 34 KiB |
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_7_small_hub_update_driver_select_driver.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.0044967"
|
||||
inkscape:cx="222.00173"
|
||||
inkscape:cy="433.55047"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_7_small_hub_update_driver_select_driver.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4543"
|
||||
width="97"
|
||||
height="25"
|
||||
x="68.5"
|
||||
y="297.5" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect835"
|
||||
width="108"
|
||||
height="25"
|
||||
x="274.76102"
|
||||
y="316.04642" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect835-3"
|
||||
width="85"
|
||||
height="32"
|
||||
x="473.5"
|
||||
y="446.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 20 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_8_update_driver_warning.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.0295191"
|
||||
inkscape:cx="484.6923"
|
||||
inkscape:cy="365.70471"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_8_update_driver_warning.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect835"
|
||||
width="85"
|
||||
height="32"
|
||||
x="363.5"
|
||||
y="298.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 20 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_9_large_hub_update_driver_done.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.374761"
|
||||
inkscape:cx="336.78581"
|
||||
inkscape:cy="261.5"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_9_large_hub_update_driver_done.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect835-3"
|
||||
width="85"
|
||||
height="32"
|
||||
x="555.5"
|
||||
y="446.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 20 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
width="673"
|
||||
height="523"
|
||||
viewBox="0 0 673 523"
|
||||
sodipodi:docname="dfu_windows_9_small_hub_update_driver_done.png"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.374761"
|
||||
inkscape:cx="336.78581"
|
||||
inkscape:cy="261.5"
|
||||
inkscape:window-width="1856"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="64"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g8" />
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g8">
|
||||
<image
|
||||
width="673"
|
||||
height="523"
|
||||
preserveAspectRatio="none"
|
||||
xlink:href="dfu_windows_9_small_hub_update_driver_done.png"
|
||||
id="image10" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ce4e00;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect835-3"
|
||||
width="85"
|
||||
height="32"
|
||||
x="555.5"
|
||||
y="446.5" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -1,7 +1,7 @@
|
||||
.. pybricks-requirements::
|
||||
|
||||
:mod:`hubs <pybricks.hubs>` -- Programmable hubs
|
||||
================================================
|
||||
:mod:`hubs <pybricks.hubs>` -- Built-in hub functions
|
||||
=====================================================
|
||||
|
||||
.. module:: pybricks.hubs
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.. pybricks-requirements:: pybricks-iodevices
|
||||
|
||||
:mod:`iodevices <pybricks.iodevices>` -- Generic I/O devices
|
||||
:mod:`iodevices <pybricks.iodevices>` -- Custom devices
|
||||
============================================================
|
||||
|
||||
.. module:: pybricks.iodevices
|
||||
@@ -12,7 +12,7 @@
|
||||
pupdevice
|
||||
lwp3device
|
||||
|
||||
This module has classes for generic input/output devices.
|
||||
This module has classes for generic and custom input/output devices.
|
||||
|
||||
.. pybricks-classlink:: PUPDevice
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.. pybricks-requirements::
|
||||
|
||||
:mod:`pupdevices <pybricks.pupdevices>` -- Powered Up devices
|
||||
=============================================================
|
||||
:mod:`pupdevices <pybricks.pupdevices>` -- Motors, sensors, lights
|
||||
==================================================================
|
||||
|
||||
.. automodule:: pybricks.pupdevices
|
||||
:no-members:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.. pybricks-requirements::
|
||||
|
||||
:mod:`robotics <pybricks.robotics>` -- Robotics
|
||||
======================================================
|
||||
:mod:`robotics <pybricks.robotics>` -- Robotics and drive bases
|
||||
===============================================================
|
||||
|
||||
.. automodule:: pybricks.robotics
|
||||
:no-members:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.. pybricks-requirements::
|
||||
|
||||
:mod:`tools <pybricks.tools>` -- General purpose tools
|
||||
:mod:`tools <pybricks.tools>` -- Timing tools
|
||||
========================================================
|
||||
|
||||
.. automodule:: pybricks.tools
|
||||
|
||||
@@ -4,6 +4,20 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
## 1.7.0 - 2022-12-28
|
||||
|
||||
### Added
|
||||
- Added `update_user_modules()` function for filtering on user modules.
|
||||
|
||||
### Fixed
|
||||
- Fixed code completion for builtin types.
|
||||
- Fixed code completion for names starting with `_`.
|
||||
|
||||
## 1.6.0 - 2022-12-09
|
||||
|
||||
### Changed
|
||||
- Updated `pybricks` package to v3.2.0c1.
|
||||
|
||||
## 1.5.0 - 2022-12-02
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -10,7 +10,7 @@ python-versions = ">=3.5"
|
||||
dev = ["cloudpickle", "coverage[toml] (>=5.0.2)", "furo", "hypothesis", "mypy (>=0.900,!=0.940)", "pre-commit", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "sphinx", "sphinx-notfound-page", "zope.interface"]
|
||||
docs = ["furo", "sphinx", "sphinx-notfound-page", "zope.interface"]
|
||||
tests = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy (>=0.900,!=0.940)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "zope.interface"]
|
||||
tests_no_zope = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy (>=0.900,!=0.940)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins"]
|
||||
tests-no-zope = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy (>=0.900,!=0.940)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins"]
|
||||
|
||||
[[package]]
|
||||
name = "black"
|
||||
@@ -180,7 +180,7 @@ testing = ["pytest", "pytest-benchmark"]
|
||||
|
||||
[[package]]
|
||||
name = "pybricks"
|
||||
version = "3.2.0b6"
|
||||
version = "3.2.0c1"
|
||||
description = "Documentation and user-API stubs for Pybricks MicroPython"
|
||||
category = "main"
|
||||
optional = false
|
||||
@@ -257,7 +257,7 @@ python-versions = ">=3.7"
|
||||
[metadata]
|
||||
lock-version = "1.1"
|
||||
python-versions = ">= 3.10, < 3.11"
|
||||
content-hash = "a0626d7e1cf972e4716f8122865c1d4b6355e1a5104b6f538da2c1cb44ba792c"
|
||||
content-hash = "971c6d0dddd9bb8e33a942e2360905a7d80a1a9d33015c0defc08345df5c1019"
|
||||
|
||||
[metadata.files]
|
||||
attrs = [
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
[tool.poetry]
|
||||
name = "pybricks_jedi"
|
||||
version = "1.5.0"
|
||||
version = "1.7.0"
|
||||
description = "Code completion for Pybricks."
|
||||
authors = ["The Pybricks Authors"]
|
||||
authors = ["The Pybricks Authors <team@pybricks.com>"]
|
||||
license = "MIT"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">= 3.10, < 3.11"
|
||||
pybricks = "3.2.0b6"
|
||||
pybricks = "3.2.0c1"
|
||||
jedi = "0.18.1"
|
||||
typing-extensions = "4.2.0"
|
||||
docstring-parser = "0.14.1"
|
||||
|
||||
@@ -2,6 +2,7 @@ import io
|
||||
import json
|
||||
import re
|
||||
from enum import IntEnum
|
||||
from typing import Iterable
|
||||
|
||||
import docstring_parser
|
||||
import jedi
|
||||
@@ -31,90 +32,153 @@ PYBRICKS_CODE_PACKAGES = {
|
||||
|
||||
# Subset of Python builtins included in Pybricks MicroPython.
|
||||
PYBRICKS_BUILTINS = {
|
||||
"abs",
|
||||
"all",
|
||||
"any",
|
||||
"ArithmeticError",
|
||||
"AssertionError",
|
||||
"AttributeError",
|
||||
"BaseException",
|
||||
"bin",
|
||||
"bool",
|
||||
"bytearray",
|
||||
"bytes",
|
||||
"callable",
|
||||
"chr",
|
||||
"classmethod",
|
||||
"complex",
|
||||
"dict",
|
||||
"dir",
|
||||
"divmod",
|
||||
"enumerate",
|
||||
"EOFError",
|
||||
"eval",
|
||||
"Exception",
|
||||
"exec",
|
||||
"float",
|
||||
"GeneratorExit",
|
||||
"getattr",
|
||||
"globals",
|
||||
"hasattr",
|
||||
"hash",
|
||||
"help",
|
||||
"hex",
|
||||
"id",
|
||||
"ImportError",
|
||||
"IndentationError",
|
||||
"IndexError",
|
||||
"input",
|
||||
"int",
|
||||
"isinstance",
|
||||
"issubclass",
|
||||
"iter",
|
||||
"KeyboardInterrupt",
|
||||
"KeyError",
|
||||
"len",
|
||||
"list",
|
||||
"locals",
|
||||
"LookupError",
|
||||
"map",
|
||||
"max",
|
||||
"MemoryError",
|
||||
"min",
|
||||
"NameError",
|
||||
"next",
|
||||
"NotImplementedError",
|
||||
"object",
|
||||
"oct",
|
||||
"ord",
|
||||
"OSError",
|
||||
"OverflowError",
|
||||
"pow",
|
||||
"print",
|
||||
"range",
|
||||
"repr",
|
||||
"reversed",
|
||||
"round",
|
||||
"RuntimeError",
|
||||
"set",
|
||||
"setattr",
|
||||
"slice",
|
||||
"sorted",
|
||||
"staticmethod",
|
||||
"StopIteration",
|
||||
"str",
|
||||
"sum",
|
||||
"super",
|
||||
"SyntaxError",
|
||||
"SystemExit",
|
||||
"tuple",
|
||||
"type",
|
||||
"TypeError",
|
||||
"ValueError",
|
||||
"ZeroDivisionError",
|
||||
"zip",
|
||||
"builtins.abs",
|
||||
"builtins.all",
|
||||
"builtins.any",
|
||||
"builtins.ArithmeticError",
|
||||
"builtins.AssertionError",
|
||||
"builtins.AttributeError",
|
||||
"builtins.BaseException",
|
||||
"builtins.bin",
|
||||
"builtins.bool",
|
||||
"builtins.bytearray",
|
||||
"builtins.bytes",
|
||||
"builtins.callable",
|
||||
"builtins.chr",
|
||||
"builtins.classmethod",
|
||||
"builtins.complex",
|
||||
"builtins.dict",
|
||||
"builtins.dir",
|
||||
"builtins.divmod",
|
||||
"builtins.enumerate",
|
||||
"builtins.EOFError",
|
||||
"builtins.eval",
|
||||
"builtins.Exception",
|
||||
"builtins.exec",
|
||||
"builtins.float",
|
||||
"builtins.GeneratorExit",
|
||||
"builtins.getattr",
|
||||
"builtins.globals",
|
||||
"builtins.hasattr",
|
||||
"builtins.hash",
|
||||
"builtins.help",
|
||||
"builtins.hex",
|
||||
"builtins.id",
|
||||
"builtins.ImportError",
|
||||
"builtins.IndentationError",
|
||||
"builtins.IndexError",
|
||||
"builtins.input",
|
||||
"builtins.int",
|
||||
"builtins.isinstance",
|
||||
"builtins.issubclass",
|
||||
"builtins.iter",
|
||||
"builtins.KeyboardInterrupt",
|
||||
"builtins.KeyError",
|
||||
"builtins.len",
|
||||
"builtins.list",
|
||||
"builtins.locals",
|
||||
"builtins.LookupError",
|
||||
"builtins.map",
|
||||
"builtins.max",
|
||||
"builtins.MemoryError",
|
||||
"builtins.min",
|
||||
"builtins.NameError",
|
||||
"builtins.next",
|
||||
"builtins.NotImplementedError",
|
||||
"builtins.object",
|
||||
"builtins.oct",
|
||||
"builtins.ord",
|
||||
"builtins.OSError",
|
||||
"builtins.OverflowError",
|
||||
"builtins.pow",
|
||||
"builtins.print",
|
||||
"builtins.range",
|
||||
"builtins.repr",
|
||||
"builtins.reversed",
|
||||
"builtins.round",
|
||||
"builtins.RuntimeError",
|
||||
"builtins.set",
|
||||
"builtins.setattr",
|
||||
"builtins.slice",
|
||||
"builtins.sorted",
|
||||
"builtins.staticmethod",
|
||||
"builtins.StopIteration",
|
||||
"builtins.str",
|
||||
"builtins.sum",
|
||||
"builtins.super",
|
||||
"builtins.SyntaxError",
|
||||
"builtins.SystemExit",
|
||||
"builtins.tuple",
|
||||
"builtins.type",
|
||||
"builtins.TypeError",
|
||||
"builtins.ValueError",
|
||||
"builtins.ZeroDivisionError",
|
||||
"builtins.zip",
|
||||
"builtins.bytearray.append",
|
||||
"builtins.bytearray.extend",
|
||||
"builtins.dict.clear",
|
||||
"builtins.dict.copy",
|
||||
"builtins.dict.fromkeys",
|
||||
"builtins.dict.get",
|
||||
"builtins.dict.items",
|
||||
"builtins.dict.keys",
|
||||
"builtins.dict.pop",
|
||||
"builtins.dict.popitem",
|
||||
"builtins.dict.setdefault",
|
||||
"builtins.dict.update",
|
||||
"builtins.dict.values",
|
||||
"builtins.int.from_bytes",
|
||||
"builtins.int.to_bytes",
|
||||
"builtins.list.append",
|
||||
"builtins.list.clear",
|
||||
"builtins.list.copy",
|
||||
"builtins.list.count",
|
||||
"builtins.list.extend",
|
||||
"builtins.list.index",
|
||||
"builtins.list.insert",
|
||||
"builtins.list.pop",
|
||||
"builtins.list.remove",
|
||||
"builtins.list.reverse",
|
||||
"builtins.list.sort",
|
||||
"builtins.str.count",
|
||||
"builtins.str.endswith",
|
||||
"builtins.str.find",
|
||||
"builtins.str.format",
|
||||
"builtins.str.index",
|
||||
"builtins.str.isalpha",
|
||||
"builtins.str.isdigit",
|
||||
"builtins.str.islower",
|
||||
"builtins.str.isspace",
|
||||
"builtins.str.isupper",
|
||||
"builtins.str.join",
|
||||
"builtins.str.lower",
|
||||
"builtins.str.lstrip",
|
||||
"builtins.str.replace",
|
||||
"builtins.str.rfind",
|
||||
"builtins.str.rindex",
|
||||
"builtins.str.rsplit",
|
||||
"builtins.str.rstrip",
|
||||
"builtins.str.split",
|
||||
"builtins.str.startswith",
|
||||
"builtins.str.strip",
|
||||
"builtins.str.upper",
|
||||
"builtins.tuple.count",
|
||||
"builtins.tuple.index",
|
||||
}
|
||||
|
||||
PYBRICKS_BUILTINS_NO_FULLNAME = {"items", "values"}
|
||||
|
||||
PYBRICKS_TYPING = {
|
||||
"typing.MutableSequence.append",
|
||||
"typing.MutableSequence.extend",
|
||||
"typing.MutableMapping.pop",
|
||||
"typing.Mapping.get",
|
||||
}
|
||||
|
||||
MICROPY_NOT_SUPPORTED_DUNDER = {"__doc__", "__package__"}
|
||||
|
||||
user_modules = set()
|
||||
|
||||
# Types from monaco editor
|
||||
|
||||
|
||||
@@ -243,10 +307,14 @@ class SignatureHelp(TypedDict):
|
||||
|
||||
def _is_pybricks(c: Completion) -> bool:
|
||||
# filter all "private" names (leading underscore)
|
||||
if (isinstance(c.name, str)) and c.name.startswith("_"):
|
||||
return False
|
||||
if c.name is not None:
|
||||
if c.name.startswith("_") and c.module_name != "__main__":
|
||||
return False
|
||||
|
||||
if isinstance(c.full_name, str):
|
||||
if c.name in MICROPY_NOT_SUPPORTED_DUNDER:
|
||||
return False
|
||||
|
||||
if c.full_name is not None:
|
||||
# this catches things like `from __future__ import annotations`
|
||||
if c.full_name.startswith("_") and c.module_name != "__main__":
|
||||
return False
|
||||
@@ -256,16 +324,19 @@ def _is_pybricks(c: Completion) -> bool:
|
||||
return False
|
||||
|
||||
# filter out typing types
|
||||
if c.full_name.startswith("typing."):
|
||||
if c.full_name.startswith("typing.") and c.full_name not in PYBRICKS_TYPING:
|
||||
return False
|
||||
|
||||
# filter out packages/modules that are not included in Pybricks firmware
|
||||
if c.type == "module" or c.type == "namespace":
|
||||
return c.full_name in PYBRICKS_CODE_PACKAGES
|
||||
return c.full_name in PYBRICKS_CODE_PACKAGES or c.full_name in user_modules
|
||||
|
||||
# filter subset of builtins
|
||||
if c.module_name == "builtins" and c.type != "keyword":
|
||||
return c.name in PYBRICKS_BUILTINS
|
||||
if c.full_name is None:
|
||||
return c.name in PYBRICKS_BUILTINS_NO_FULLNAME
|
||||
|
||||
return c.full_name in PYBRICKS_BUILTINS
|
||||
|
||||
# this is a type alias, not a real type
|
||||
if c.full_name == "pybricks.parameters.Number":
|
||||
@@ -473,3 +544,15 @@ def get_signatures(code: str, line: int, column: int) -> str:
|
||||
"""
|
||||
signatures = jedi.Script(code).get_signatures(line, column - 1)
|
||||
return json.dumps(_map_signatures(signatures))
|
||||
|
||||
|
||||
def update_user_modules(names: Iterable[str]) -> None:
|
||||
"""
|
||||
Updates the set of user module names used for filtering.
|
||||
|
||||
Args:
|
||||
names:
|
||||
An iterable of module names.
|
||||
"""
|
||||
user_modules.clear()
|
||||
user_modules.update(names)
|
||||
|
||||
@@ -7,6 +7,9 @@ Tests for correct code completion of builtins.
|
||||
|
||||
|
||||
import json
|
||||
|
||||
import pytest
|
||||
|
||||
from pybricks_jedi import CompletionItem, complete
|
||||
|
||||
|
||||
@@ -123,4 +126,144 @@ def test_empty_code():
|
||||
"yield",
|
||||
"ZeroDivisionError",
|
||||
"zip",
|
||||
"__name__",
|
||||
]
|
||||
|
||||
|
||||
FUNCTION_PARAMS = [
|
||||
pytest.param(
|
||||
"''.",
|
||||
[
|
||||
"count",
|
||||
"endswith",
|
||||
"find",
|
||||
"format",
|
||||
"index",
|
||||
"isalpha",
|
||||
"isdigit",
|
||||
"islower",
|
||||
"isspace",
|
||||
"isupper",
|
||||
"join",
|
||||
"lower",
|
||||
"lstrip",
|
||||
"replace",
|
||||
"rfind",
|
||||
"rindex",
|
||||
"rsplit",
|
||||
"rstrip",
|
||||
"split",
|
||||
"startswith",
|
||||
"strip",
|
||||
"upper",
|
||||
],
|
||||
),
|
||||
pytest.param(
|
||||
"str().",
|
||||
[
|
||||
"count",
|
||||
"endswith",
|
||||
"find",
|
||||
"format",
|
||||
"index",
|
||||
"isalpha",
|
||||
"isdigit",
|
||||
"islower",
|
||||
"isspace",
|
||||
"isupper",
|
||||
"join",
|
||||
"lower",
|
||||
"lstrip",
|
||||
"replace",
|
||||
"rfind",
|
||||
"rindex",
|
||||
"rsplit",
|
||||
"rstrip",
|
||||
"split",
|
||||
"startswith",
|
||||
"strip",
|
||||
"upper",
|
||||
],
|
||||
),
|
||||
pytest.param("(0).", ["from_bytes", "to_bytes"]),
|
||||
pytest.param("int().", ["from_bytes", "to_bytes"]),
|
||||
pytest.param(
|
||||
"{}.",
|
||||
[
|
||||
"clear",
|
||||
"copy",
|
||||
"fromkeys",
|
||||
"get",
|
||||
"items",
|
||||
"keys",
|
||||
"pop",
|
||||
"popitem",
|
||||
"setdefault",
|
||||
"update",
|
||||
"values",
|
||||
],
|
||||
),
|
||||
pytest.param(
|
||||
"dict().",
|
||||
[
|
||||
"clear",
|
||||
"copy",
|
||||
"fromkeys",
|
||||
"get",
|
||||
"items",
|
||||
"keys",
|
||||
"pop",
|
||||
"popitem",
|
||||
"setdefault",
|
||||
"update",
|
||||
"values",
|
||||
],
|
||||
),
|
||||
pytest.param(
|
||||
"[].",
|
||||
[
|
||||
"append",
|
||||
"clear",
|
||||
"copy",
|
||||
"count",
|
||||
"extend",
|
||||
"index",
|
||||
"insert",
|
||||
"pop",
|
||||
"remove",
|
||||
"reverse",
|
||||
"sort",
|
||||
],
|
||||
),
|
||||
pytest.param(
|
||||
"list().",
|
||||
[
|
||||
"append",
|
||||
"clear",
|
||||
"copy",
|
||||
"count",
|
||||
"extend",
|
||||
"index",
|
||||
"insert",
|
||||
"pop",
|
||||
"remove",
|
||||
"reverse",
|
||||
"sort",
|
||||
],
|
||||
),
|
||||
pytest.param("().", ["count", "index"]),
|
||||
pytest.param("tuple().", ["count", "index"]),
|
||||
pytest.param("bytearray().", ["append", "extend"]),
|
||||
pytest.param("bytes().", []),
|
||||
pytest.param("b''.", []),
|
||||
pytest.param("float().", []),
|
||||
pytest.param("(0.0).", []),
|
||||
pytest.param("complex().", []),
|
||||
pytest.param("type().", []),
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("code,attributes", FUNCTION_PARAMS)
|
||||
def test_get_completion_for_builtins(code: str, attributes: list[str]):
|
||||
completions: list[CompletionItem] = json.loads(complete(code, 1, len(code) + 1))
|
||||
assert [c["insertText"] for c in completions] == attributes
|
||||
|
||||
@@ -6,7 +6,9 @@ Tests for correct code completion of import statements.
|
||||
"""
|
||||
|
||||
import json
|
||||
from pybricks_jedi import CompletionItem, complete
|
||||
|
||||
import pytest
|
||||
from pybricks_jedi import CompletionItem, complete, update_user_modules
|
||||
|
||||
|
||||
def test_from():
|
||||
@@ -27,6 +29,32 @@ def test_from():
|
||||
]
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def user_modules():
|
||||
update_user_modules(["jedi", "pytest"])
|
||||
yield
|
||||
update_user_modules([])
|
||||
|
||||
|
||||
def test_from_with_user_modules(user_modules):
|
||||
code = "from "
|
||||
completions: list[CompletionItem] = json.loads(complete(code, 1, len(code) + 1))
|
||||
assert [c["insertText"] for c in completions] == [
|
||||
"jedi",
|
||||
"micropython",
|
||||
"pybricks",
|
||||
"pytest",
|
||||
"uerrno",
|
||||
"uio",
|
||||
"ujson",
|
||||
"umath",
|
||||
"urandom",
|
||||
"uselect",
|
||||
"ustruct",
|
||||
"usys",
|
||||
]
|
||||
|
||||
|
||||
def test_from_pybricks_import():
|
||||
code = "from pybricks import "
|
||||
completions: list[CompletionItem] = json.loads(complete(code, 1, len(code) + 1))
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
import json
|
||||
from pybricks_jedi import CompletionItem, complete
|
||||
|
||||
|
||||
def test_get_completion_for_private_globals():
|
||||
code = """
|
||||
_X = 0
|
||||
|
||||
_
|
||||
"""
|
||||
completions: list[CompletionItem] = json.loads(complete(code, 4, 2))
|
||||
assert [c["insertText"] for c in completions] == ["_X", "__name__"]
|
||||
|
||||
|
||||
def test_get_completion_for_private_attributes():
|
||||
code = """
|
||||
class X:
|
||||
def __init__(self):
|
||||
self.public = 0
|
||||
self._protected = 0
|
||||
self.__private = 0
|
||||
|
||||
x = X()
|
||||
|
||||
x.
|
||||
"""
|
||||
completions: list[CompletionItem] = json.loads(complete(code, 10, 3))
|
||||
assert [c["insertText"] for c in completions] == [
|
||||
"public",
|
||||
"_protected",
|
||||
"__init__",
|
||||
]
|
||||
@@ -2,6 +2,11 @@
|
||||
|
||||
<!-- refer to https://keepachangelog.com/en/1.0.0/ for guidance -->
|
||||
|
||||
## 2.7.0 - 2022-12-20
|
||||
|
||||
### Changed
|
||||
- Updated docs to v3.2.0c2.
|
||||
|
||||
## 2.6.0 - 2022-12-09
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pybricks/ide-docs",
|
||||
"version": "2.6.0",
|
||||
"version": "2.7.0",
|
||||
"description": "Special build of Pybricks API docs for embedding in an IDE.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
|
||||
<!-- refer to https://keepachangelog.com/en/1.0.0/ for guidance -->
|
||||
|
||||
## 1.3.0 - 2022-12-19
|
||||
|
||||
### Added
|
||||
- Added DFU Windows driver images.
|
||||
|
||||
## 1.2.1 - 2022-11-08
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from glob import glob
|
||||
import json
|
||||
import pathlib
|
||||
import shutil
|
||||
@@ -12,7 +13,7 @@ HUBS = ["move", "city", "technic", "prime", "essential", "inventor"]
|
||||
|
||||
package_json = {
|
||||
"name": "@pybricks/images",
|
||||
"version": "1.2.1",
|
||||
"version": "1.3.0",
|
||||
"description": "Distribution of Pybricks images.",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
@@ -21,6 +22,7 @@ package_json = {
|
||||
"directory": "npm/images",
|
||||
},
|
||||
"publishConfig": {"registry": "https://registry.npmjs.org", "access": "public"},
|
||||
"exports": {}, # dynamically filled below
|
||||
}
|
||||
|
||||
# ensure empty build directory so we don't end up with stale files
|
||||
@@ -30,12 +32,16 @@ BUILD_DIR.mkdir()
|
||||
# copy the hub images
|
||||
for h in HUBS:
|
||||
shutil.copyfile(IMAGE_DIR / f"icon_{h}hub.png", BUILD_DIR / f"hub-{h}.png")
|
||||
package_json["exports"][f"./hub-{h}.png"] = f"./hub-{h}.png"
|
||||
|
||||
# copy DFU Windows driver images
|
||||
for path in glob("dfu_windows_*", root_dir=IMAGE_DIR):
|
||||
file = pathlib.Path(path).name
|
||||
shutil.copyfile(IMAGE_DIR / path, BUILD_DIR / file)
|
||||
package_json["exports"][f"./{file}"] = f"./{file}"
|
||||
|
||||
# generate package.json file
|
||||
|
||||
# create "exports" item for hub images.
|
||||
package_json["exports"] = {f"./hub-{h}.png": f"./hub-{h}.png" for h in HUBS}
|
||||
|
||||
with open(BUILD_DIR / "package.json", "w") as f:
|
||||
json.dump(package_json, f, indent=2)
|
||||
|
||||
|
||||
@@ -2,6 +2,18 @@
|
||||
|
||||
<!-- refer to https://keepachangelog.com/en/1.0.0/ for guidance -->
|
||||
|
||||
## Unreleased
|
||||
|
||||
## 1.7.0 - 2022-12-28
|
||||
|
||||
### Changed
|
||||
- Updated `pybricks_jedi` Python package to v1.7.0.
|
||||
|
||||
## 1.6.0 - 2022-12-09
|
||||
|
||||
### Changed
|
||||
- Updated `pybricks_jedi` Python package to v1.6.0.
|
||||
|
||||
## 1.5.0 - 2022-12-02
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -12,7 +12,7 @@ BUILD_DIR = (pathlib.Path(__file__).parent / "build").resolve()
|
||||
|
||||
package_json = {
|
||||
"name": "@pybricks/jedi",
|
||||
"version": "1.5.0",
|
||||
"version": "1.7.0",
|
||||
"description": "Binary distribution of pybricks-jedi Python package and dependencies for use with Pyodide.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -38,7 +38,7 @@ subprocess.check_call(
|
||||
"pip",
|
||||
"download",
|
||||
"--only-binary=any",
|
||||
"pybricks-jedi==1.5.0",
|
||||
"pybricks-jedi==1.7.0",
|
||||
],
|
||||
cwd=BUILD_DIR,
|
||||
)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "pybricks"
|
||||
version = "3.2.0c1"
|
||||
version = "3.2.0"
|
||||
description = "Documentation and user-API stubs for Pybricks MicroPython"
|
||||
authors = ["The Pybricks Authors <dev@pybricks.com>"]
|
||||
maintainers = ["Laurens Valk <laurens@pybricks.com>", "David Lechner <david@pybricks.com>" ]
|
||||
|
||||
@@ -1074,8 +1074,9 @@ def round(*args):
|
||||
truncate trailing zeros. To print numbers nicely, format strings instead::
|
||||
|
||||
# print two decimal places
|
||||
print('my number: %.2f' % number) print('my number:
|
||||
{:.2f}'.format(number))
|
||||
print('my number: %.2f' % number)
|
||||
print('my number: {:.2f}'.format(number))
|
||||
print(f'my number: {number:.2f}')
|
||||
|
||||
Arguments:
|
||||
number (float): The number to be rounded.
|
||||
|
||||