[root]/testsuite/flattening/modelica/redeclare
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 292 (100.0%) | 10125 (100.0%) | 34.6 |
adrpo | 41 (14.0%) | 7466 (73.7%) | 182.0 |
alash325 | 138 (47.3%) | 1598 (15.8%) | 11.5 |
hudson | 64 (21.9%) | 764 (7.5%) | 11.9 |
sjoelund.se | 33 (11.3%) | 242 (2.4%) | 7.3 |
perost | 15 (5.1%) | 54 (0.5%) | 3.6 |
vitalij | 1 (0.3%) | 1 (0.0%) | 1.0 |
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
- activate test for bug: #3247
1 lines of code changed in 1 file:
- add test for bug: #3247
24 lines of code changed in 1 file:
Fix bug #3239
- merge modifiers in correct order outer -> inner
- add testsuite/flattening/modelica/redeclare/Bug3239.mo
Fix typo in SimulationRuntime/c/util/libcsv.h
34 lines of code changed in 3 files:
- use 31 bit integers
31 lines of code changed in 1 file:
imporved negate for binary
1 lines of code changed in 1 file:
- fix bug #2877
- add "_total" to the dummy class that we build extending the class we want
- actually unparse the modfiers on model extends X(mods) when dumping the SCode (ignored before)
- always show the string comments, show annotations only if +showAnnotations is given
2 lines of code changed in 1 file:
Fix for #2898:
- Made the compiler less sensitive to errors in unused models.
4 lines of code changed in 3 files:
- Updated testcases.
6 lines of code changed in 1 file:
Fix #2695, add testcase
126 lines of code changed in 2 files:
[Janitor mode] Fix whitespace
430 lines of code changed in 6 files:
- ignore illegal components in records and give a warning
- display the restriction first, then the path in Types.unparseType
- fix typo in testsuite/flattening/modelica/redeclare/Makefile
- update test (Linux has 64 bit, use that)
84 lines of code changed in 2 files:
Added tests for fixed Trac bugs and some other bugs which were not in Trac:
- fixed: #2739, #2727, #2784
6799 lines of code changed in 9 files:
[Janitor mode] Fix whitespace
2 lines of code changed in 1 file:
- properly propagate attributes of components on redeclare
- properly fill cref subscripts in Static.fillCrefSubscripts (still stuck in old days with T_ARRAY of only one dim)
- show the connector components when there is a connection mismatch
12 lines of code changed in 1 file:
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
2 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)
1 lines of code changed in 1 file:
- Revert bad change to RedeclareVisibility2 test and move it to failing tests.
12 lines of code changed in 3 files:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
saveTotalModel change
- The exported model is added at the end of the file, extending from the base class and with the original annotations added (for experiment annotations)
- showAnnotations=false (the default) will now only remove useless annotations like graphical annotations. experiment, Evaluate and other things not on the blacklist will pass through.
57 lines of code changed in 1 file:
[Janitor mode] Fix whitespace
170 lines of code changed in 49 files:
Fix for #2448:
- Handle redeclares in local short class definitions in the dependency analysis.
25 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 1 file:
- fix bug #2418 + add test
- more support for ExternalMedia library
change the way we declare the external function prototype:
+ if there is an include annotation for the function
DO NOT DECLARE the function prototype
+ if there is no include annotation for the function
declare the function prototype
42 lines of code changed in 1 file:
- some support for ExternalMedia (some more work is needed for full support)
- add function calls and external function inputs to dependency analysis in element sorting
- use Inst.updateCompeltsMods just in Inst.instElementList2
1 lines of code changed in 1 file:
Fix for bug: #2346
- sort also the variable components for instantiation based on their bindings
- sort the DAE in the order it is defined in the Modelica file
48 lines of code changed in 3 files:
[Janitor mode] Set auto-props
63 lines of code changed in 1 file:
- fix bug: #2359 and added test
135 lines of code changed in 3 files:
- Fixed punctuation of error messages.
4 lines of code changed in 3 files:
- Fix tests using deprecated scodeFlatten flag.
2 lines of code changed in 2 files:
[Janitor mode] Set auto-props
81 lines of code changed in 2 files:
- add the new test to the makefile
2 lines of code changed in 1 file:
- partial fix for bug #132
- added TestPackageInheritance.* tests
- we don't check subtyping of redeclared elements yet.
160 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
16 lines of code changed in 3 files:
[Janitor mode] Fix tabs
16 lines of code changed in 3 files:
- get rid of spurious warning about protected elements (https://trac.modelica.org/Modelica/ticket/975)
we currently don't know from where the modifier came.
0 lines of code changed in 2 files:
- partial fix for bug #2002
handle constant modifiers in class redeclare modifiers
- update some tests
1 lines of code changed in 1 file:
Fix tests
21 lines of code changed in 13 files:
Always use full pathnames for file info of parsed files
21 lines of code changed in 13 files:
- fix utf-8 without signature:
SimulationRuntime/cpp/*
- fix missing separator
testsuite/flattening/modelica/redeclare/Makefile
1 lines of code changed in 1 file:
(8 more)