[root]/testsuite/flattening/modelica/types
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 185 (100.0%) | 1444 (100.0%) | 7.8 |
alash325 | 108 (58.4%) | 1123 (77.8%) | 10.3 |
hudson | 31 (16.8%) | 172 (11.9%) | 5.5 |
henrikt | 2 (1.1%) | 77 (5.3%) | 38.5 |
sjoelund.se | 27 (14.6%) | 50 (3.5%) | 1.8 |
perost | 11 (5.9%) | 13 (0.9%) | 1.1 |
adrpo | 4 (2.2%) | 7 (0.5%) | 1.7 |
vitalij | 1 (0.5%) | 1 (0.1%) | 1.0 |
lochel | 1 (0.5%) | 1 (0.1%) | 1.0 |
Fix bug: #2854 (do scope versioning also in the top scope, but not for builtin classes and builtin types)
- note that flattening/modelica/declarations/Constant12.mo is actually correct now,
see m:#1397, well, except for the fact that it should tell that A.y does not have a binding
1 lines of code changed in 1 file:
Merged branches/FFrontEnd into trunk/
Main changes:
- changed the environment to support both non-destructive and destructive updates
- Env.Cache -> FCore.Cache, Env.Env -> FCore.Graph
- FCore.Graph is not a list of Frames anymore is a stucture where the previous list is saved in component "scope"
- all Frames in the new FCore.Graph are FCore.Ref pointing to FCore.Node having different FCore.Data depending on what they are
- all FCore.Nodes have children (FCore.CAvlTree) which maps names to FCore.Ref (which is Array<FCore.Node>, size 1)
- FGraph.openScope pushes an already existing FCore.Ref (or a new one) on the scope list
- for all components having modifications the last class in the type path is renamed to include the
prefix, see FGraph.createVersionScope (this is done because we need unique names for redeclared functions,
records, etc and we need a unique type scope for that)
Example: A.B.C c -> A.B.C$c c
Bug fixes:
- calling function via component (multibody MSL 3.2.1 patch not needed anymore, will remove it in a next commit)
- #2837 array equations wrongly handled in RemoveSimpleEquations (used in ThermoPower and PowerSystems libraries, etc)
#2784, #2727, #2739 (missing modifiers combined with redeclare and unique function generation for redeclared functions)
#2835 - handle overconstrained connectors extending basic types (used in PowerSystems library)
- do not loose modifications on derived classes handled by InstExtends
- some error messages about missing components in Fluid library are gone
- for components of size 0 do not check if they are assigned before use in functions (residue in equalityConstraint)
4 lines of code changed in 1 file:
- Actual commit of stuff that should have been committed in r21937 (accidentally
only committed testsuite in that commit).
1 lines of code changed in 1 file:
- expected output
1 lines of code changed in 1 file:
Fixes for #2779:
- Restructured subscript elaboration to provide more helpful error messages.
- Added error checking for index out of bounds in connect.
- Fixed various cref typing issues and got rid of the +correctCrefTypes flag.
2 lines of code changed in 1 file:
Added some tail recursion for the connection trie graph (moves some variables around in equations, and some equations too)
2 lines of code changed in 2 files:
[Janitor mode] Fix whitespace
153 lines of code changed in 22 files:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
Add test for implicit Integer to enumeration conversion
75 lines of code changed in 1 file:
Add test for implicit Integer to enumeration conversion
2 lines of code changed in 1 file:
- simplify rule x/r = x *(1/r) with test of numerical issues
can someone have a look of
./simulation/libraries/3rdParty/ThermoSysPro/ThermoSysPro.Examples.SimpleExamples.TestJunctions4.mos
1 lines of code changed in 1 file:
Fix for #2383:
- Replaced class restriction with specialized class in error messages.
- Use pretty-printing of class specialization in ClassInf.assertValid.
2 lines of code changed in 2 files:
- last fixes for ExternalMedia
+ fully qualify paths in ClassInf.State
+ do List.unique on records so we don't get duplicates
+ now at least 5 models in ExternalMedia can be compiled
- fix an issue with lookup where path to be looked up
contains the name of the model in the scope we're in.
this fixes instantiation of
ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator,
probably more models in ThemoPower.
added test:
testsuite/flattening/modelica/others/ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.mos
2 lines of code changed in 2 files:
- Fixed punctuation of error messages.
7 lines of code changed in 6 files:
[Janitor mode] Fix tabs
4 lines of code changed in 2 files:
Revert r15962 (accidently replaced 8 spaces with 2 spaces; was supposed to be 1 tab to 2 spaces but text editors messed up the command)
Contact me if you have problems merging your working copy
14 lines of code changed in 6 files:
[Janitor mode] Fix tabs
14 lines of code changed in 6 files:
"StateSelect =" to "stateSelect ="
1 lines of code changed in 1 file:
Fix tests
9 lines of code changed in 8 files:
Always use full pathnames for file info of parsed files
9 lines of code changed in 8 files:
- Fix line-endings
1 lines of code changed in 1 file:
#1931
- Do not scalarize vector equations
+ Except constants, parameters, records, complex types, external objects, and maybe some more
14 lines of code changed in 1 file:
- Removed the special case for Real casts when dumping expressions, since
Modelica does not have a Real() function.
- Some SCodeInst fixes.
- Fixed compiler warnings in corbaimpl.cpp.
- Updated testcases due to the expression dumping change.
1 lines of code changed in 1 file:
- Moved mofiles to flattening/modelica + grouping them based on language feature tests + update Makefile for modelica asserts(just to check if it works)
1122 lines of code changed in 27 files:
- expandable,streams,records ,and redeclare directory from testsuite are moved to ./flattening/modelica plus updated the corresponding Make file
0 lines of code changed in 27 files:
-deleted ./flattening/modelica
1 lines of code changed in 27 files:
- Moved mofiles and record test files to testsuite/flattening/modelica
0 lines of code changed in 27 files: