Repository navigation
Update master for Moose 13 - #130
Merged
Merged
Conversation
Rename inspection tabs
corrected an error message
Migrate to tonel v3
Fix parsing of escaped characters in JSONParser
This change is disabling the check for duplicated elements in multivalued collections during the import of MSE/JSON files since there should be no duplicated elements. With this a model I had that was taking 351sec to load is now down to 113sec
Speed up the import of JSON/MSE files
Resize some column to have an inspector tab more readable
Tiny inspector improvement
Invalidate the slots caches when regenerating a MM
We did other optimizations since this one and now it is not that needed anymore and we have currently a lot of bugs related to this cache.
Remove cache of #realInverseSlotFor:
Comments of properties are set via the FMComment: pragma. But we were also parsing the full methods to process to look for comments. This change removes this duplication making the building of the MM faster
Avoid double initialization of method comments
Those have been deprecated since 2019. It's time to remove them. I also did some renaming to remove MSE from names that are not related to the MSE format
Remove support for old MSE pragmas
- Relations and Property table in inspector: - display short name first, owner at the end - restore 'multivalued?' column - replace boolean columns for relation types with a single string column, assuming all relation types are mutually exclusive. + Move inspection methods to FM3Type to avoid duplication (there is already enough duplication between relations and property tables) - Use Microdown for the comment tab to match the syntax used in comments
…nspector Improve Fame inspection.
Remove defaultValueFromType from FM3Property
With the previous implementation if a class used a metadescribed trait it was considered as metadescribed. But this should be true only if the annotation is on the class itself This will help to fix an issue in the Famix generator
refactor: corrected typo in inst.var (#chararacter)
122 backslash import error
This rule was doing the opposite of what it said. I probably inverted a condition while migrating it from the old to the new rule system.
Fix FameOppositeClassNotExistRule
Co-authored-by: Gabriel Darbord <78592838+Gabriel-Darbord@users.noreply.github.com>
Co-authored-by: Gabriel Darbord <78592838+Gabriel-Darbord@users.noreply.github.com>
Co-authored-by: Gabriel Darbord <78592838+Gabriel-Darbord@users.noreply.github.com>
Lazy Relation
Improvements of the Fame export
Skip the progress bar when importing small models
Speedup import of small models
Escaped characters in JSON string could have bugs during the decoding. This fixes it and add test cases
Fix bug in escaped characters
FMModelExporter used to inline contained entities (isChildrenProperty) inside their parent's property if the property was not a children primitive property. This means that for non children properties, we always export the content.
Since the same entity is also part of the roots set, importing the exported JSON created a separate copy per occurrence, duplicating contained entities after a round trip.
Children and parents, or even other relations, are now both exported once with an id and referenced via {"ref":N}, so export/import is lossless
This is here to fix the duplicated entities when we export and import a FAST model that has a lot of one-one relations
Fix export of one to one relations
Member
Author
|
@NicolasAnquetil I'm in the process of releasing Moose 13 and a review is required here. Edit: I bypassed the requirement |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.