Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large scale refactoring #251

Open
wants to merge 111 commits into
base: dev
Choose a base branch
from
Open

Large scale refactoring #251

wants to merge 111 commits into from

Commits on Sep 12, 2023

  1. Make prefix for autogenerated component names configurable

    `edotor.net` does not seem to like leading underscores, which makes GraphViz debugging difficult.
    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    1878244 View commit details
    Browse the repository at this point in the history
  2. Rebuild all examples before refactoring

    no diff should ocurr as a result of the refactoring
    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    e034fb3 View commit details
    Browse the repository at this point in the history
  3. Add metadata.title to demo01.yml

    to avoid diffs later when calling via CLI
    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    1435d9c View commit details
    Browse the repository at this point in the history
  4. Add temporary loop to demo01

    for debugging purposes
    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    82b5cb7 View commit details
    Browse the repository at this point in the history
  5. WIP

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    f7359ff View commit details
    Browse the repository at this point in the history
  6. Refactor connector node generation

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    046a1c2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    60b2f6c View commit details
    Browse the repository at this point in the history
  8. Rebuild demos

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    98e594c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7134b68 View commit details
    Browse the repository at this point in the history
  10. WIP: refactor cable node generation

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    d348ebe View commit details
    Browse the repository at this point in the history
  11. Implement HTML indentation

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    1f8dd49 View commit details
    Browse the repository at this point in the history
  12. WIP

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    f46bce6 View commit details
    Browse the repository at this point in the history
  13. More WIP

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    d652229 View commit details
    Browse the repository at this point in the history
  14. Remove old stuff, slightly simplify code

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    0078a18 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    064c7fd View commit details
    Browse the repository at this point in the history
  16. Add TODOs

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    2f03dcd View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    587b359 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    31c5e1a View commit details
    Browse the repository at this point in the history
  19. Fix and simplify bgcolor logic

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    84dd10a View commit details
    Browse the repository at this point in the history
  20. Reactivate cable edge generation

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    266eb65 View commit details
    Browse the repository at this point in the history
  21. Outsource gv_edge_wire()

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    8aaee0c View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d951386 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    9e6d327 View commit details
    Browse the repository at this point in the history
  24. Make mates object-oriented

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    fc82007 View commit details
    Browse the repository at this point in the history
  25. Add devtools.txt

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    9b40858 View commit details
    Browse the repository at this point in the history
  26. Run autoflake -i

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    21bfebb View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    ebd271d View commit details
    Browse the repository at this point in the history
  28. Add sample use to devtools.txt

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    94f9d96 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    8200e89 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    03518ab View commit details
    Browse the repository at this point in the history
  31. Implement color objects

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    1b31a6f View commit details
    Browse the repository at this point in the history
  32. Use color objects in WireViz

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    e95f4bd View commit details
    Browse the repository at this point in the history
  33. Re-sort wv_colors.py

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    22cd258 View commit details
    Browse the repository at this point in the history
  34. Make green color darker

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    95cc1be View commit details
    Browse the repository at this point in the history
  35. Break longer lines not caught by black

    because they were unbroken strings or comments
    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    cc0bd76 View commit details
    Browse the repository at this point in the history
  36. Make variable name more expressive

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    96a3a87 View commit details
    Browse the repository at this point in the history
  37. Apply dot tweaks last

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    842e174 View commit details
    Browse the repository at this point in the history
  38. Remove unused line

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    ef2b406 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    36ffa96 View commit details
    Browse the repository at this point in the history
  40. Clean up

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    8ae4dc3 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    a4f6c6a View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    b60db79 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    5c18001 View commit details
    Browse the repository at this point in the history
  44. Prepare harness.populate_bom()

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    fe016d6 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    5c4c6d8 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    f2bc5d7 View commit details
    Browse the repository at this point in the history
  47. Deprecate Python 3.7, add Python 3.10

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    7111a33 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    fb91be4 View commit details
    Browse the repository at this point in the history
  49. Add pyan to devtools.txt

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    6ba3f66 View commit details
    Browse the repository at this point in the history
  50. Restructure and update .gitignore

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    df06e00 View commit details
    Browse the repository at this point in the history
  51. Clarify wireviz.parse() input types

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    4db8c16 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    8b9d997 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    7902ba6 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    b2e5c46 View commit details
    Browse the repository at this point in the history
  55. Add qty test file

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    b787c41 View commit details
    Browse the repository at this point in the history
  56. Adapt tutorial08.yml (remove unit field)

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    c33c649 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    d549c1e View commit details
    Browse the repository at this point in the history
  58. Sort BOM by category, assign BOM IDs

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    1d99889 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    6304634 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    df1e972 View commit details
    Browse the repository at this point in the history
  61. Implement BOM bubbles

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    b15658b View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    c7537f0 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    4a9a4c8 View commit details
    Browse the repository at this point in the history
  64. Fix gauge conversion

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    728741e View commit details
    Browse the repository at this point in the history
  65. Fix line breaks in code

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    b4cd8a7 View commit details
    Browse the repository at this point in the history
  66. Optimize BOM bubble geometry

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    6f79064 View commit details
    Browse the repository at this point in the history
  67. Implement pin color output

    Small issue: GraphViz warning
    ```
    Warning: table size too small for content
    ```
    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    44d5966 View commit details
    Browse the repository at this point in the history
  68. Add some test files to tests/ directory

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    6d33edd View commit details
    Browse the repository at this point in the history
  69. Update test files

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    2ede4f5 View commit details
    Browse the repository at this point in the history
  70. Allow multiple colors for components

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    2fc132b View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    1b6030c View commit details
    Browse the repository at this point in the history
  72. Fix color cell implementation

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    634cdd5 View commit details
    Browse the repository at this point in the history
  73. Fix node background color rendering

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    c21f81a View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    b03dfc7 View commit details
    Browse the repository at this point in the history
  75. WIP: BOM modes

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    d8a6da3 View commit details
    Browse the repository at this point in the history
  76. Add TODO for empty connector pin tables

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    4b6f791 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    91b02fc View commit details
    Browse the repository at this point in the history
  78. Resume work on BOM

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    3b048ba View commit details
    Browse the repository at this point in the history
  79. Include part number info in BOM table

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    af230a4 View commit details
    Browse the repository at this point in the history
  80. Fix BOM output in TSV and HTML

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    7d49f50 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    8c9a8c1 View commit details
    Browse the repository at this point in the history
  82. Add TODOs

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    35f751e View commit details
    Browse the repository at this point in the history
  83. Implement bundle part number rendering

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    238bc25 View commit details
    Browse the repository at this point in the history
  84. Improve conductor table rendering

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    1f8d8b3 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    c7dcac4 View commit details
    Browse the repository at this point in the history
  86. Disable CLI BOM output

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    fc06491 View commit details
    Browse the repository at this point in the history
  87. Add suggestions from #246

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    c3b07cf View commit details
    Browse the repository at this point in the history
  88. Add suggestions from #186

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    162fe44 View commit details
    Browse the repository at this point in the history
  89. Add .vscode/ to .gitignore

    Daniel Rojas authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    271fb13 View commit details
    Browse the repository at this point in the history
  90. Fix PyLance problems

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    310e596 View commit details
    Browse the repository at this point in the history
  91. Update interim version number

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    477a3f7 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    8c1d277 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    00d5271 View commit details
    Browse the repository at this point in the history
  94. Implement note for additional components

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    1e4e63e View commit details
    Browse the repository at this point in the history
  95. Thicken additional component table

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    e2e04f7 View commit details
    Browse the repository at this point in the history
  96. Add placeholder for add.comp. PN info

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    5183fda View commit details
    Browse the repository at this point in the history
  97. Apply black

    formatc1702 authored and kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    0b17370 View commit details
    Browse the repository at this point in the history
  98. Change version string to comply with PEP440

    It seems "-dev" (normalized to ".dev") should only be directly followed
    by a number for different deveopment releases of the same version.
    See full description: https://peps.python.org/pep-0440/
    kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    af338f6 View commit details
    Browse the repository at this point in the history
  99. Change BOM output file extension from .bom.tsv to .tsv

    Complementary changes to the commit with the same title
    earlier in the same PR. Avoid refering to the old filenames.
    kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    8e2debb View commit details
    Browse the repository at this point in the history
  100. Include "tests" folders in the build tool groups

    Allow absent "prefix" in group entries to simplify the code
    kvid committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    f122278 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. Handle also int colors in colon separated string

    Bug: 0x112233:0x445566 in YAML input didn't convert such colors
    to #112233:#445566 and the strings where just passed as uppercase
    to the .gv file. Hence Graphviz printed warnings about unknown
    colors and used black as color instead.
    
    Add test for int as string. Re-ordered if statements to give an
    exception when a color has an unknown type.
    kvid committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    ca7b134 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    4238a8a View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    8cd76eb View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. Configuration menu
    Copy the full SHA
    98e8f7f View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. Split out class AdditionalBomItem from AdditionalComponent

    #251 (comment)
    
    No output changed for any examples/tutorial/tests input.
    kvid committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    49556bd View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    3539b2f View commit details
    Browse the repository at this point in the history
  2. Remove unused attribute

    formatc1702 committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    78f2c4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4adad9d View commit details
    Browse the repository at this point in the history
  4. Remove duplicate category attribute

    Removed from `Connector` class since it is already defined in the `Component` superclass.
    formatc1702 committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9e72905 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cc18c62 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    1da0b0f View commit details
    Browse the repository at this point in the history