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

Fix class and attribute types #40

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Commits on Oct 31, 2024

  1. Fix some attribute types in classes DiagramObjectGluePoint, VCompIEEE…

    …Type2, WindContPType3IEC for cpp and modernpython
    
    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    7944f6e View commit details
    Browse the repository at this point in the history
  2. Add class property "is_a_primitive_class" and attribute property "is_…

    …primitive_float_attribute"
    
    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    3b6e9d2 View commit details
    Browse the repository at this point in the history
  3. Fix type and default of some attributes for modernpython (for enums a…

    …nd attribute types Date, DateTime, MonthDay, Status, StreetAddress, StreetDetail, TownDetail)
    
    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    bded89c View commit details
    Browse the repository at this point in the history
  4. Fix handling of Decimal as float class

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    037dc1c View commit details
    Browse the repository at this point in the history
  5. Remove generation of unused classes for modernpython

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    08dfa2e View commit details
    Browse the repository at this point in the history
  6. Improve setting of long profile names

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    4ad48d7 View commit details
    Browse the repository at this point in the history
  7. Refactor _merge_profiles and _merge_classes in cimgen.py

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    ac487b3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4ce0983 View commit details
    Browse the repository at this point in the history
  9. Add generation of string classes for cpp

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    7c3a497 View commit details
    Browse the repository at this point in the history
  10. Improve cpp templates: make debugstring() const

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    68f0df3 View commit details
    Browse the repository at this point in the history
  11. Add generated-via-cimgen comment to the header of all generated files…

    … for cpp
    
    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    c6aa544 View commit details
    Browse the repository at this point in the history
  12. Improve cpp templates (skip empty comments, improve indentations)

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    8e4855e View commit details
    Browse the repository at this point in the history
  13. Fix cpp create_assign functions for string attribute types (Date, Dat…

    …eTime, MonthDay)
    
    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    04a1c99 View commit details
    Browse the repository at this point in the history
  14. Fix cpp create_class_assign functions to prevent duplicate entries in…

    … attributes with attribute_type list
    
    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    2409049 View commit details
    Browse the repository at this point in the history
  15. Add class comment to cpp templates for float and string classes

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    ed8eb99 View commit details
    Browse the repository at this point in the history
  16. Simplify and unify cpp templates for enum, float and string classes

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    1833e80 View commit details
    Browse the repository at this point in the history
  17. Unify formatting of the generated cpp classes

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    450ff19 View commit details
    Browse the repository at this point in the history
  18. Add static cpp sources and parser classes (copied from libcimpp)

    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    6e09334 View commit details
    Browse the repository at this point in the history
  19. Remove String, Date, Float from static directory (they are now genera…

    …ted)
    
    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    75a69ae View commit details
    Browse the repository at this point in the history
  20. Update static cpp sources and parser classes to new generated String …

    …class; unify BaseClass, Integer, Boolean with generated classes; fix debugstring() in UnknownType
    
    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    c60c319 View commit details
    Browse the repository at this point in the history
  21. Fix unused import (pre-commit flake8: cimgen/cimgen.py:5:1: F401 're'…

    … imported but unused)
    
    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    ab563b3 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Add dependency to setuptools to fix ModuleNotFoundError for distutils…

    … in modernpython/lang_pack.py
    
    Signed-off-by: Thomas Günther <[email protected]>
    tom-hg57 committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    997988e View commit details
    Browse the repository at this point in the history