Directory testsuite/flattening/modelica/redeclare/

Directory Created:
2012-09-27 03:28
Total Files:
65
Deleted Files:
0
Lines of Code:
9083

[root]/testsuite/flattening/modelica/redeclare

Lines of Code

testsuite/flattening/modelica/redeclare/ Lines of Code

Developers

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

Most Recent Commits

hudson 2015-03-27 15:17 Rev.: 25288

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: RedeclareInClassModification.mo (+1)
adrpo 2015-03-27 15:11 Rev.: 25287

- activate test for bug: #3247

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: Makefile (+1)
adrpo 2015-03-27 15:11 Rev.: 25286

- add test for bug: #3247

24 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: RedeclareInClassModification.mo (new 24)
adrpo 2015-03-22 01:58 Rev.: 25205

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:

  • testsuite/flattening/modelica/redeclare: Bug2784.mo (+1 -1), Bug3239.mo (new 32), Makefile (+1)
adrpo 2015-01-28 16:39 Rev.: 24266

- use 31 bit integers

31 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: ComparePSD.mo (+31 -31)
vitalij 2015-01-03 13:35 Rev.: 23931

imporved negate for binary

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: AttributesPropagation.mo (+1 -1)
adrpo 2014-10-19 02:56 Rev.: 22808

- 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:

  • testsuite/flattening/modelica/redeclare: Dependency.mos (+2 -2)
perost 2014-10-17 16:23 Rev.: 22798

Fix for #2898:
- Made the compiler less sensitive to errors in unused models.

4 lines of code changed in 3 files:

  • testsuite/flattening/modelica/redeclare: ClassExtendsInvalid1.mo (+2), ClassExtendsInvalid2.mo (+1), Makefile (+1 -1)
perost 2014-10-10 14:34 Rev.: 22719

- Updated testcases.

6 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: RedeclareModifierInvalid1.mo (+6 -4)
sjoelund.se 2014-10-09 11:10 Rev.: 22699

Fix #2695, add testcase

126 lines of code changed in 2 files:

  • testsuite/flattening/modelica/redeclare: Bug2695.mo (new 125), Makefile (+1)
hudson 2014-10-06 00:05 Rev.: 22602

[Janitor mode] Fix whitespace

430 lines of code changed in 6 files:

  • testsuite/flattening/modelica/redeclare: AttributesPropagation.mo (+387 -387), Bug2727.mo (+29 -29), ComparePSD.mo (+2 -2), ExtendsDerived.mo (+1 -1), ModifiersPriority.mo (+2 -2), RedeclareFunctionSameType.mo (+9 -9)
adrpo 2014-10-05 22:53 Rev.: 22601

- 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:

  • testsuite/flattening/modelica/redeclare: ComparePSD.mo (+83 -87), Makefile (+1 -1)
adrpo 2014-10-05 20:13 Rev.: 22600

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:

  • testsuite/flattening/modelica/redeclare: AttributesPropagation.mo (new 4910), Bug2727.mo (new 181), Bug2784.mo (new 20), ComparePSD.mo (new 1505), ConstrainedByMods.mo (new 40), ExtendsDerived.mo (new 27), Makefile (+8), ModifiersPriority.mo (new 36), RedeclareFunctionSameType.mo (new 72)
hudson 2014-10-05 19:20 Rev.: 22597

[Janitor mode] Fix whitespace

2 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: RedeclareFlowEffort.mo (+2 -2)
adrpo 2014-10-05 19:18 Rev.: 22596

- 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:

  • testsuite/flattening/modelica/redeclare: RedeclareFlowEffort.mo (+12 -1)
adrpo 2014-09-30 16:29 Rev.: 22515

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:

  • testsuite/flattening/modelica/redeclare: RedeclareFlowEffort.mo (+2 -2)
adrpo 2014-09-30 06:33 Rev.: 22496

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:

  • testsuite/flattening/modelica/redeclare: RedeclareVisibility.mo (+1 -1)
perost 2014-09-01 14:10 Rev.: 22068

- Revert bad change to RedeclareVisibility2 test and move it to failing tests.

12 lines of code changed in 3 files:

  • testsuite/flattening/modelica/redeclare: Makefile (+1 -1), RedeclareVisibility.mo (+1 -1), RedeclareVisibility2.mo (+10 -5)
hudson 2014-06-30 16:13 Rev.: 21348

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: Dependency.mos (+1)
sjoelund.se 2014-06-30 16:12 Rev.: 21347

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:

  • testsuite/flattening/modelica/redeclare: Dependency.mos (+57 -53)
hudson 2014-04-16 11:06 Rev.: 20164

[Janitor mode] Fix whitespace

170 lines of code changed in 49 files:

  • testsuite/flattening/modelica/redeclare: BranchingDynamicPipes.mo (+2 -2), ClassExtends1.mo (+3 -3), ClassExtends2.mo (+3 -3), ClassExtends3.mo (+4 -4), ClassExtends4.mo (+3 -3), ClassExtends6.mo (+3 -3), ClassExtendsInvalid1.mo (+3 -3), ClassExtendsInvalid2.mo (+3 -3), ConstantRedeclareModifier.mo (+4 -4), ConstrainingType1.mo (+2 -2), ConstrainingType2.mo (+3 -3), Dependency.mo (+2 -2), DuplicateRedeclares1.mo (+4 -4), DuplicateRedeclares2.mo (+5 -5), FinalRedeclareModifier.mo (+4 -4), FinalRedeclareModifier2.mo (+2 -2), Modification1.mo (+2 -2), Modification2.mo (+2 -2), NonexistentElementRedeclare1.mo (+4 -4), NonexistentElementRedeclare2.mo (+4 -4), RDCL.mo (+8 -8), Redeclare1.mo (+2 -2), Redeclare2.mo (+1 -1), Redeclare3.mo (+1 -1), Redeclare4.mo (+8 -8), Redeclare5.mo (+6 -6), Redeclare6.mo (+2 -2), RedeclareBaseClass1.mo (+3 -3), RedeclareClass1.mo (+1 -1), RedeclareClass2.mo (+1 -1), RedeclareClass3.mo (+2 -2), RedeclareClass4.mo (+1 -1), RedeclareComponent1.mo (+1 -1), RedeclareComponent2.mo (+1 -1), RedeclareComponent3.mo (+1 -1), RedeclareComponentInvalid1.mo (+3 -3), RedeclareComponentInvalid2.mo (+3 -3), RedeclareComponentInvalid3.mo (+3 -3), RedeclareFlowEffort.mo (+3 -3), RedeclareFunction.mo (+7 -7), RedeclareFunction1.mo (+3 -3), RedeclareModifierInvalid1.mo (+4 -4), RedeclareModifierInvalid2.mo (+4 -4), RedeclareVisibility.mo (+2 -2), RedeclareVisibility2.mo (+2 -2), ReplaceableBaseClass.mo (+5 -5), TestPackageInheritance.mo (+26 -26), TestRedeclareTypeWithArrayDimensions.mo (+1 -1), example.mo (+3 -3)
perost 2013-10-28 14:20 Rev.: 17908

Fix for #2448:
- Handle redeclares in local short class definitions in the dependency analysis.

25 lines of code changed in 2 files:

  • testsuite/flattening/modelica/redeclare: Makefile (+2 -1), RedeclareClass4.mo (new 23)
adrpo 2013-10-13 18:37 Rev.: 17667

- 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:

  • testsuite/flattening/modelica/redeclare: RedeclareFlowEffort.mo (+2 -2)
adrpo 2013-10-11 04:47 Rev.: 17650

- 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:

  • testsuite/flattening/modelica/redeclare: TestRedeclareTypeWithArrayDimensions.mo (new 42)
adrpo 2013-10-08 23:25 Rev.: 17614

- 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:

  • testsuite/flattening/modelica/redeclare: ClassExtends2.mo (+1 -1)
adrpo 2013-09-22 12:07 Rev.: 17326

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:

  • testsuite/flattening/modelica/redeclare: ClassExtends1.mo (+1 -1), Makefile (+1), RDCL.mo (new 46)
hudson 2013-09-20 05:03 Rev.: 17307

[Janitor mode] Set auto-props

63 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: Dependency.mo (+63 -63)
adrpo 2013-09-20 05:00 Rev.: 17306

- fix bug: #2359 and added test

135 lines of code changed in 3 files:

  • testsuite/flattening/modelica/redeclare: Dependency.mo (new 63), Dependency.mos (new 71), Makefile (+1)
perost 2013-06-10 13:56 Rev.: 16277

- Fixed punctuation of error messages.

4 lines of code changed in 3 files:

  • testsuite/flattening/modelica/redeclare: RedeclareFlowEffort.mo (+2 -2), RedeclareModifierInvalid1.mo (+1 -1), RedeclareModifierInvalid2.mo (+1 -1)
perost 2013-05-30 17:02 Rev.: 16169

- Fix tests using deprecated scodeFlatten flag.

2 lines of code changed in 2 files:

  • testsuite/flattening/modelica/redeclare: ClassExtendsInvalid1.mo (+1 -2), ClassExtendsInvalid2.mo (+1 -2)
hudson 2013-05-16 09:47 Rev.: 16062

[Janitor mode] Set auto-props

81 lines of code changed in 2 files:

  • testsuite/flattening/modelica/redeclare: TestPackageInheritance.mo (+80 -79), TestPackageInheritance.mos (+1)
adrpo 2013-05-16 09:46 Rev.: 16061

- add the new test to the makefile

2 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: Makefile (+2)
adrpo 2013-05-16 09:45 Rev.: 16060

- 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:

  • testsuite/flattening/modelica/redeclare: TestPackageInheritance.mo (new 78), TestPackageInheritance.mos (new 82)
sjoelund.se 2013-05-02 21:17 Rev.: 15963

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:

  • testsuite/flattening/modelica/redeclare: DuplicateRedeclares2.mo (+1 -1), Redeclare6.mo (+1 -1), RedeclareFunction.mo (+14 -14)
hudson 2013-05-02 20:46 Rev.: 15962

[Janitor mode] Fix tabs

16 lines of code changed in 3 files:

  • testsuite/flattening/modelica/redeclare: DuplicateRedeclares2.mo (+1 -1), Redeclare6.mo (+1 -1), RedeclareFunction.mo (+14 -14)
adrpo 2013-04-23 09:00 Rev.: 15886

- 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:

  • testsuite/flattening/modelica/redeclare: RedeclareVisibility.mo (-3), RedeclareVisibility2.mo (-3)
adrpo 2013-04-16 14:27 Rev.: 15833

- partial fix for bug #2002
handle constant modifiers in class redeclare modifiers
- update some tests

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: RedeclareVisibility2.mo (+1 -1)
sjoelund.se 2013-02-08 09:16 Rev.: 15104

Fix tests

21 lines of code changed in 13 files:

  • testsuite/flattening/modelica/redeclare: ClassExtendsInvalid1.mo (+1 -1), ClassExtendsInvalid2.mo (+1 -1), ConstantRedeclareModifier.mo (+2 -2), DuplicateRedeclares1.mo (+2 -2), DuplicateRedeclares2.mo (+2 -2), FinalRedeclareModifier.mo (+2 -2), NonexistentElementRedeclare1.mo (+1 -1), NonexistentElementRedeclare2.mo (+1 -1), RedeclareFlowEffort.mo (+3 -3), RedeclareModifierInvalid1.mo (+2 -2), RedeclareModifierInvalid2.mo (+2 -2), RedeclareVisibility.mo (+1 -1), RedeclareVisibility2.mo (+1 -1)
sjoelund.se 2013-02-07 16:16 Rev.: 15085

Always use full pathnames for file info of parsed files

21 lines of code changed in 13 files:

  • testsuite/flattening/modelica/redeclare: ClassExtendsInvalid1.mo (+1 -1), ClassExtendsInvalid2.mo (+1 -1), ConstantRedeclareModifier.mo (+2 -2), DuplicateRedeclares1.mo (+2 -2), DuplicateRedeclares2.mo (+2 -2), FinalRedeclareModifier.mo (+2 -2), NonexistentElementRedeclare1.mo (+1 -1), NonexistentElementRedeclare2.mo (+1 -1), RedeclareFlowEffort.mo (+3 -3), RedeclareModifierInvalid1.mo (+2 -2), RedeclareModifierInvalid2.mo (+2 -2), RedeclareVisibility.mo (+1 -1), RedeclareVisibility2.mo (+1 -1)
adrpo 2013-01-26 01:26 Rev.: 14950

- fix utf-8 without signature:
SimulationRuntime/cpp/*
- fix missing separator
testsuite/flattening/modelica/redeclare/Makefile

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/redeclare: Makefile (+1 -1)

(8 more)

Generated by StatSVN 0.7.0