Skip to content

Update master for Moose 13 - #130

Merged
ClotildeToullec merged 77 commits into
masterfrom
development
Sep 24, 2026
Merged

ClotildeToullec merged 77 commits into
masterfrom
development

Conversation

@ClotildeToullec

Copy link
Copy Markdown
Member

No description provided.

ClotildeToullec and others added 30 commits June 2, 2025 17:08
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
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
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
NicolasAnquetil and others added 27 commits June 26, 2026 17:57
refactor: corrected typo in inst.var (#chararacter)
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>
Skip the progress bar when importing small models
Escaped characters in JSON string could have bugs during the decoding. This fixes it and add test cases
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
@ClotildeToullec

ClotildeToullec commented Sep 24, 2026 •

Copy link
Copy Markdown
Member Author

@NicolasAnquetil I'm in the process of releasing Moose 13 and a review is required here.
I'm only merging development into master to add a stable tag that will be referenced in Moose 13

Edit: I bypassed the requirement

@ClotildeToullec
ClotildeToullec merged commit 70ee702 into master Sep 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants