Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 136 (100.0%) | 21129 (100.0%) | 155.3 |
adrpo | 67 (49.3%) | 15711 (74.4%) | 234.4 |
sjoelund.se | 40 (29.4%) | 2614 (12.4%) | 65.3 |
lochel | 6 (4.4%) | 1216 (5.8%) | 202.6 |
hudson | 20 (14.7%) | 876 (4.1%) | 43.8 |
mwalther | 2 (1.5%) | 711 (3.4%) | 355.5 |
perost | 1 (0.7%) | 1 (0.0%) | 1.0 |
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)
3 lines of code changed in 1 file:
- BackendEquation.mo
- remove obsolete code, fix typos and comments, fix bugs (even if they did not appear yet)
11 lines of code changed in 1 file:
- move InlineSolver.mo to Compiler/Unused/
566 lines of code changed in 1 file:
[Janitor mode] Set auto-props
3 lines of code changed in 1 file:
- delete all unused files
- add README.txt
4 lines of code changed in 33 files:
- move ResidualCmp.mo to Compiler/Unused/
635 lines of code changed in 1 file:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
- moved the GraphML-Module to Unused/GraphMLOld.mo
- renamed the GraphMLNew-module to GraphML
- added some memory management logic to HpcomSimCode
- cleaned up the HpcomTaskGraph-Module
711 lines of code changed in 2 files:
- winter cleanup (preparing for front-end changes)
* deprecate +scodeInstShortcut
* moved Compiler/FrontEnd/F*.mo to Compiler/Unused
* disabled Modelica.Media.Examples.R134a.* for now as it used +scodeInstShortcut and didn't work anyway.
9567 lines of code changed in 11 files:
Update scripts and code for separate code generation. It actually works (Makefiles updated for Linux)
- Some external were commented out because no one wrote bootstrapped implementations for them or called them in any existing function.
- Moved some stuff from Interactive.mo to GlobalScript.mo (type definitions)
2 lines of code changed in 1 file:
- change more description strings
4 lines of code changed in 3 files:
Some refactoring
4 lines of code changed in 1 file:
#2212 Fixed the remaining debug-flags (removed execFiles as it was unused)
Updated some unused compiler sources (usually not compiled by the boostrapping since they are unused)
1083 lines of code changed in 1 file:
- Removed some unused flags.
1 lines of code changed in 1 file:
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
872 lines of code changed in 18 files:
[Janitor mode] Fix tabs
872 lines of code changed in 18 files:
Trim trailing whitespace
652 lines of code changed in 18 files:
Implement task: #2084, CHANGES TO FrontEnd interfaces!
Parser/*
- add pure/impure keywords to the lexer/parser
Absyn.mo
- add Absyn.PURE/Absyn.IMPURE to Absyn.mo (inside function restriction)
SCode.mo
- add Boolean isImpure inside SCode.R_FUNCTION to SCode.mo
DAE.mo
- add DAE.FUNCTION.isImpure Boolean
add DAE.T_FUNCTION.isImpure Boolean (rename DAE.T_FUNCTION.isPure to isOpenModelicaPure)
testsuite/openmodelica/parser/PureImpure.*
- tests.
NOT implemented yet:
- propagation of pure/impure because of function calls
- checks that an impure function can be called only inside an impure function and only inside a when equ/alg.
2 lines of code changed in 1 file:
- naming frenzy :)
- changed names of packages belonging to the new
instantiation from NAME to NFNAME. NF=NewFrontEnd
742 lines of code changed in 3 files:
- Fix MeasureTime.mos
1 lines of code changed in 1 file:
- utf8
3 lines of code changed in 1 file:
- move unused packages to Compiler/Unused
SCodeInst
- add class name to basic type and complex class
- union the inputs/outputs/locals when extending (fixes Modelica.Utilities.Files.loadResource)
- InstUtil.mergeDirection ignore several input or output if they are the same (fixes input Modelica.Blocks.Intefaces.RealInput used in HumMod)
- do not fail if class is partial in SCodeCheck.mo (should be put back)
- fix a bug in inst of WHEN equations
SCodeSimplify.mo
- removed contents and added a simplify phase to get rid of extends *Icons* to make debugging easier.
SCodeTransform.mo
- preliminary InstTypes -> SCode transformer
ComponentReference/Expression
- handle more in unelabCref/unelabExp and add error printing on failtrace.
5390 lines of code changed in 17 files: