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

Dump annotation array elements separately #12325

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

perost
Copy link
Member

@perost perost commented Apr 26, 2024

  • Dump elements of array expressions in annotations separately, to avoid e.g. an invalid graphical element invalidating the whole graphics arrays.

- Dump elements of array expressions in annotations separately, to avoid
  e.g. an invalid graphical element invalidating the whole graphics
  arrays.
@perost perost added the COMP/GUI/InstBased Interface Issues with new instantiation-based OMEdit feature label Apr 26, 2024
@perost perost self-assigned this Apr 26, 2024
@perost perost enabled auto-merge (squash) April 26, 2024 13:34
@perost
Copy link
Member Author

perost commented Apr 26, 2024

@adeas31: This moves the invalid expression part of the schema so that any subexpression might be invalid, rather than just the whole binding expression of an annotation. It looks like OMEdit just ignores such subexpressions at the moment, so it kind of already works, but it also ignores the error messages in that case which we might want to print out.

@adeas31
Copy link
Member

adeas31 commented Apr 26, 2024

I will take care of error messages.

@perost perost merged commit 2757559 into OpenModelica:master Apr 26, 2024
2 checks passed
adeas31 added a commit to adeas31/OpenModelica that referenced this pull request Apr 30, 2024
adeas31 added a commit that referenced this pull request Apr 30, 2024
adeas31 pushed a commit to adeas31/OpenModelica that referenced this pull request May 7, 2024
- Dump elements of array expressions in annotations separately, to avoid
  e.g. an invalid graphical element invalidating the whole graphics
  arrays.
adeas31 added a commit to adeas31/OpenModelica that referenced this pull request May 7, 2024
adeas31 added a commit that referenced this pull request May 7, 2024
* Dump annotation array elements separately (#12325)

- Dump elements of array expressions in annotations separately, to avoid
  e.g. an invalid graphical element invalidating the whole graphics
  arrays.

* Hide protected variables that belongs to an encrypted class (#12351)

#11718
Ignore emit_protected flag for the protected variables that are inside encrypted model

* Read the error from the graphics annotation element (#12353)

Adapt to the new output introduced in #12325

* Improve check for encrypted variables (#12369)

- Consider a component with an encrypted parent to also be encrypted.

* Handle prefixing of time units (#12370)

#12352
Fixes the regression introduced in #12221

* Instance of non encrypted class inside encrypted class (#12372)

#11718
Hide non encrypted class variables when defined as protected in encrypted class

* Properly handle the parameters for parametric plot (#12378)

#12375

* Fix some Linux builds compilation (#12392)

* Avoid extra end message tag when logging LOG_INIT (#12391)

#12386

---------

Co-authored-by: Per Östlund <per.ostlund@liu.se>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMP/GUI/InstBased Interface Issues with new instantiation-based OMEdit feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants