Ton
a21e75b589
typo https://github.com/wireviz/WireViz/pull/454#discussion_r2021565897
2025-04-01 10:29:38 +02:00
Ton
93649197e9
a how-to vscode and autocompile on save
2025-03-12 16:06:02 +01:00
Ton
4cb38e69c7
markdown is weird
2025-03-12 11:23:05 +01:00
Ton
c842d70962
a
2025-03-12 11:20:24 +01:00
Ton
c0f1cf4dc9
a
2025-03-12 11:18:40 +01:00
Ton
24ee307ab8
a
2025-03-12 11:17:11 +01:00
Ton
0fb56bd9b8
second attempt
2025-03-12 11:11:09 +01:00
Ton
24261ce36b
anchors do not work.....
2025-03-12 11:06:10 +01:00
Ton
187f2f0d5c
added anchors to the different tutorials
2025-03-12 11:01:35 +01:00
Ton
b57f8d2b3e
oops
2025-03-11 19:20:56 +01:00
Ton
bbff4b073f
github is weird
2025-03-11 19:18:49 +01:00
Ton
1289198c54
github is weird
2025-03-11 19:18:29 +01:00
Ton
5ac2688d2a
github is weird
2025-03-11 19:15:19 +01:00
Ton
81e3607180
Update readme.md
2025-03-11 19:06:45 +01:00
Ton
892d2b0f29
added tutorial09
2025-03-11 19:00:00 +01:00
Ton
b89d7f2cff
added tutorial09
2025-03-11 18:45:38 +01:00
KV
e4fe099f8c
Use ubuntu-latest for the supported Python versions ( #442 )
...
Use ubuntu-22.04 only for Python 3.7-3.8
by including them separately into the matrix.
2025-02-15 00:11:55 +01:00
Martin Rieder
e8c482e94e
Update deprecated GitHub Actions and add Python versions ( #408 )
...
Running 6 different Python versions (3.7 to 3.12) in parallel now.
NOTE: This is in conflict with #309 , but can be resolved easily in a later PR.
GitHub Actions require an update:
- actions/upload-artifact@v3 is scheduled for deprecation on November
30, 2024.
- Similarly, v1/v2 are scheduled for deprecation on June 30, 2024.
- Updating this comes with a breaking change in upload-artifact@v4:
Uploading to the same named Artifact multiple times.
Due to how Artifacts are created in this new version, it is no longer
possible to upload to the same named Artifact multiple times. You must
either split the uploads into multiple Artifacts with different names,
or only upload once. Otherwise you will encounter an error.
The artifact .zip files therefore have the python version added to
their name.
2024-10-14 19:19:49 +02:00
Daniel Rojas
1c4fd68a2e
Release v0.4.1
v0.4.1
2024-07-13 13:23:11 +02:00
Daniel Rojas
542864658f
Add v0.4.1 release date
2024-07-13 13:16:08 +02:00
Daniel Rojas
a57c68ae22
Rebuild examples
2024-07-13 13:15:00 +02:00
Daniel Rojas
c73738e041
Bump version to 0.4.1
2024-07-13 13:10:31 +02:00
KV
73f56b2efc
Apply black *.py ../../setup.py
...
black==23.3.0
2024-07-12 19:05:12 +02:00
KV
828de3f118
Apply isort *.py ../../setup.py
...
isort==5.11.5
2024-07-12 19:04:29 +02:00
KV
38ac23747d
Update changelog a bit more
2024-07-12 18:36:35 +02:00
KV
bde949b7d4
Update changelog
2024-07-08 23:19:52 +02:00
KV
ae03bd60e5
Add TODOs about utf-8 encoding/charset ( #395 )
2024-07-07 16:16:56 +02:00
KV
19cdff1774
Avoid ResourceWarning: unclosed file ( #395 )
...
A number of such warnings showed up when running e.g.
PYTHONWARNINGS=always python build_examples.py
PYTHONWARNINGS=always wireviz ../../examples/demo0?.yml
See https://github.com/wireviz/WireViz/pull/309#issuecomment-2170988381
Fix: All open() calls should be in a "with open() as x" statement
to ensure closing the file when exiting the block in any way.
Otherwise, use the new file_read_text() or file_write_text() functions
to read or write the whole utf-8 text file and closing it.
2024-07-07 16:16:56 +02:00
KV
ee1bd7801e
Provide more information when raising exception
2024-07-05 18:16:34 +02:00
Martin Rieder
f2a1aa8856
Update comment in src/wireviz/wireviz.py ( #392 )
...
Clarify all exceptions catched, including changes in #392
Co-authored-by: kvid <kvid@users.noreply.github.com>
2024-07-05 18:16:34 +02:00
Martin Rieder
0e8ab7a668
Catch also ValueError ( #392 )
...
In Windows might ValueError be raised instead of the already
catched exceptions in some cases (depending on the Python version)
Fixes point 2 of https://github.com/wireviz/WireViz/pull/318#pullrequestreview-1457016602
2024-07-05 18:16:34 +02:00
Martin Rieder
42d10dfab4
Catch OSError also with errno=None ( #392 )
...
In Windows might OSError(errno = None) be raised instead of the already
catched exceptions in some cases (depending on the Python version)
Fixes #391
2024-07-05 18:16:34 +02:00
kvid
858b2664db
Update src/wireviz/wireviz.py ( #383 )
...
Raising TypeError is better than assert. (Black reformatted)
Co-authored-by: Andreas Motl <andreas.motl@panodata.org>
2024-07-05 18:23:32 +02:00
KV
5cedba9def
Explain unexpeced top-level type ( #383 )
...
Might help in reported issues like #342
2024-07-05 18:16:34 +02:00
KV
6d772cf697
Add non-empty label to avoid over-sized loops ( #381 )
...
Work-around to improve the #286 use case.
- https://github.com/wireviz/WireViz/issues/286#issuecomment-2094309143
- https://stackoverflow.com/questions/70996779/graphviz-edges-between-cells-in-the-same-html-table-are-too-long
2024-07-05 18:16:34 +02:00
KV
c997bfe19b
Rename "sheetsize_default" to <!-- %template_sheetsize% --> ( #380 )
...
Fixes #377 (makes HTML output template placeholders more consistent)
2024-07-05 18:16:34 +02:00
KV
795f3321a3
Update changelog (WIP)
2024-07-05 18:16:34 +02:00
Daniel Rojas
eed00e1322
Add changelog for v0.4.1 (WIP)
2024-07-05 18:16:34 +02:00
Daniel Rojas
088c6038c7
Add documentation on template separator character
2024-07-05 18:16:34 +02:00
KV
6488eb582b
Avoid Graphviz error when hiding all pins ( #375 )
...
Fixes #257
2024-07-05 18:16:34 +02:00
KV
668ba72975
Avoid decimal point and trailing zero for integer BOM quantities ( #374 )
...
Fixes #340
2024-07-05 18:16:34 +02:00
KV
177eb9e387
Add link from syntax.md to HTML output templates ( #371 )
2024-07-05 18:23:11 +02:00
KV
6ba33fb5dc
Rename diagram_png_base64 to diagram_png_b64 ( #371 )
2024-07-05 18:22:24 +02:00
KV
fc7ea088b4
Add HTML output templates README.md ( #371 )
...
Describe the HTML Output Templates, how they are specified,
and placeholder usage within these templates.
2024-07-05 18:21:58 +02:00
KV
70a33edca5
Avoid reading diagram file to embed unless used ( #371 )
...
Add local replacement_if_used() that call function to read the file
only when needed and append the return value as replacement.
2024-07-05 18:20:57 +02:00
KV
ea26116c81
Add HTML template placeholder for diagram_png_base64 ( #371 )
...
This will enable users to replace the SVG diagram with an embedded PNG,
that is an improved work-around when the SVG output from Graphviz
is not looking good. Suggested as work-around for Graphviz bug in
https://github.com/wireviz/WireViz/issues/175#issuecomment-2132206026
2024-07-05 18:16:34 +02:00
KV
f474cddedb
Add HTML template placeholders for filename ( #371 )
...
This will e.g. enable users to replace the SVG diagram with PNG,
that is needed as a work-around when the SVG output from Graphviz
is not looking good. Suggested as work-around for Graphviz bug in
https://github.com/wireviz/WireViz/issues/175#issuecomment-2132206026
2024-07-05 18:16:34 +02:00
KV
2336231d3e
Update APP_URL ( #364 )
...
The project was moved into the new organization 2023-05-30, but old
URLs are still working due to automatic redirects by GitHub.
https://github.com/wireviz/WireViz/issues/316#issuecomment-1568748914
2024-07-05 18:16:34 +02:00
Frank Adämmer
a5f91e91b7
Add missing import of embed_svg_images ( #363 )
...
Resort module import:
Co-authored-by: kvid <kvid@users.noreply.github.com>
2024-07-05 18:16:34 +02:00
KV
7ae3fb33fd
Use output_name as default title ( #361 )
...
The CLI handling code was redesigned for v0.4 and it seems the code
to assign a default title from v0.3.1 has been messed up. This bug
has not been triggered by build_examples.py due to it seems to call
the parse() function differently.
The output_name should be used as default title when present.
This will fix the #360 bug report.
2024-07-05 18:16:34 +02:00