516 Commits

Author SHA1 Message Date
KV
7cf9244af1 Update setup.py with all tested python versions (#442) 2025-01-27 19:26:58 +01:00
KV
6c87c27cfc 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-01-27 19:26:58 +01:00
Martin Rieder
336bea8b0d 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.
2025-01-12 19:38:50 +01:00
Daniel Rojas
590504130c Add documentation on template separator character 2024-06-07 17:06:36 +02:00
Daniel Rojas
a3281b07a2 Add v0.4 release date 2024-05-19 14:48:03 +02:00
KV
b85bd0cd0a Add check for outdated connector attributes 2024-05-19 14:48:03 +02:00
Daniel Rojas
81ed3fa12b Remove references for unsupported output formats
Remove the references in the CLI help, but keep the placeholders elsewhere in the code as a TODO
2024-05-19 14:48:03 +02:00
Daniel Rojas
8e3014911a Apply suggestions from code review
Co-authored-by: kvid <kvid@users.noreply.github.com>
2024-05-19 14:48:03 +02:00
Daniel Rojas
684f6f0064 Apply black 2024-05-19 14:48:03 +02:00
Daniel Rojas
0c73e57267 Rebuild examples 2024-05-19 14:48:03 +02:00
Andreas Motl
49c7685bb2 Improve gracefulness when invoking wireviz.parse() without file_out
This happened to be a regression for WireViz-Web [1], which aims to do
as much in memory as possible.

[1] https://github.com/daq-tools/wireviz-web.

kvid rebased and mixed original commit with similar change by Daniel Rojas

Co-authored-by: kvid <kvid@users.noreply.github.com>
2024-05-19 14:46:46 +02:00
Daniel Rojas
d680361556 Bump version to 0.5-dev 2024-04-16 14:08:33 +02:00
Daniel Rojas
cbf8641c0a Rebuild examples 2024-04-16 14:07:17 +02:00
Daniel Rojas
455d14ea4a Bump version to 0.4 2024-04-16 14:06:53 +02:00
Daniel Rojas
fdb75693dd Fix but in additional component description generation 2024-04-16 14:05:25 +02:00
Daniel Rojas
bca3b6898c Update changelog 2024-04-16 13:48:33 +02:00
Daniel Rojas
f98bf2afec Do not allow negative qty_multiplier
Co-authored-by: kvid <kvid@users.noreply.github.com>
2024-04-16 13:46:46 +02:00
Jeremy Ruhland (hatchery)
848fdf03fb Hide qty 0 additional components from BOM 2024-04-16 13:46:46 +02:00
Jeremy Ruhland (hatchery)
df4a4188ba Add unpopulated option to additional components qty multiplier 2024-04-16 13:46:46 +02:00
Daniel Rojas
2ac80f3ca6 Update changelog 2024-04-16 13:19:28 +02:00
Daniel Rojas
2ad2222036 Update syntax description 2024-04-16 10:16:57 +02:00
Daniel Rojas
8ba9131a11 Add warning about unconnected components 2024-04-16 10:15:33 +02:00
Daniel Rojas
18782444b1 Make prefix for autogenerated component names configurable
`edotor.net` does not seem to like leading underscores, which makes GraphViz debugging difficult.
2023-09-12 19:37:05 +02:00
KV
9cb9ede487 Add #256 2023-09-08 21:02:53 +02:00
Andreas Motl
c0590ff20f Update .gitignore (#256)
Add two more folders to be ignored.

- .idea: Used by PyCharm
- .venv: My convention for creating virtualenvs
2023-09-08 20:56:15 +02:00
kvid
a26f734b94 Update src/wireviz/DataClasses.py as requested in review (#264)
No need to reference github issue in the code.

Co-authored-by: Daniel Rojas <github@danielrojas.net>
2023-09-08 17:37:25 +02:00
KV
f6c3a37563 Make sure loop connected pins are not hidden (#264)
- Resolves #263 that describes warnings and weird loop drawing because
  loop connected pins are hidden when hide_disconnected_pins=True.

- Activate loop pins as early as possible to enable correct counting of
  connected pins when
  connector.additional_components.qty_multiplier=populated.

- Check that loop pins actually exist before activating them.
2023-09-08 17:37:25 +02:00
KV
23bc184620 Add #318 2023-09-03 00:10:12 +02:00
RedshiftVelocities
6f9007f45d
Use portable OS error codes so program doesn't crash (#318)
Hard-coding OS error numbers that differ between different platforms
caused the program to crash at platforms using a different error number.

Using the Standard errno system symbols will avoid this problem.

Co-authored-by: kvid <kvid@users.noreply.github.com>
2023-09-01 22:24:34 +02:00
KV
f9d1dd0148 Fix bug commented in #186
Changes in #186 made it impossible to hide cable wire numbers.

https://github.com/wireviz/WireViz/pull/186#discussion_r716246852
2023-08-27 15:47:08 +02:00
KV
5eb208daf5 Fix typo in issue link text 2023-08-27 15:40:28 +02:00
Julien Lecoeur
9dbf4538fd Fix graphviz file header (#261)
The two header comments were missing trailing newlines.

This behavior is introduced by v0.18 of the graphviz Python package;
where as v0.17 did include the newline automatically.

Closes #258
2023-08-27 15:31:17 +02:00
Daniel Rojas
92af90518c Add v0.3.2 to changelog 2023-06-07 20:55:08 +02:00
Daniel Rojas
509dc75762 Update changelog 2023-06-07 19:56:28 +02:00
Daniel Rojas
0ef285ad13 Fix header levels 2023-06-07 19:26:33 +02:00
Daniel Rojas
3356569c35 Add v0.3.1 release 2023-06-07 19:26:33 +02:00
Daniel Rojas
c085ddab80 Add section for v0.4 2023-06-07 19:26:33 +02:00
Daniel Rojas
d94f39bea0 Fix typo 2023-06-07 19:26:33 +02:00
Daniel Rojas
602427c9b8 Add #240, #241 2023-06-07 19:26:24 +02:00
Daniel Rojas
4c8722f08f Add #158, #214 2023-06-07 19:26:04 +02:00
Daniel Rojas
646d7629f0 Add #160, #229 2023-06-07 19:24:11 +02:00
Daniel Rojas
d6ee6f5592 Add placeholder commit 2023-06-07 19:24:11 +02:00
Daniel Rojas
ba3f0248a5 Simplify Enum 2021-10-16 22:58:47 +02:00
Daniel Rojas
6f9bb67d02 Embed images into SVG output 2021-10-16 22:39:41 +02:00
Daniel Rojas
e31ed72655 Auto-assign missing harness title if reading from file 2021-10-16 22:27:00 +02:00
Daniel Rojas
d19c260940 Simplify file access operations 2021-10-16 22:27:00 +02:00
Daniel Rojas
45bcc1dd45 Make template separator character user-configurable 2021-10-16 22:27:00 +02:00
Daniel Rojas
08b5124adb Add support for multiple prepended files 2021-10-16 22:26:59 +02:00
Daniel Rojas
5aaea651b1 Automatically include input file directory in list to resolve image paths 2021-10-16 22:26:59 +02:00
Daniel Rojas
b46d26319a Update build_examples.py 2021-10-16 22:26:59 +02:00