Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 190 (100.0%) | 15359 (100.0%) | 80.8 |
adrpo | 52 (27.4%) | 13913 (90.6%) | 267.5 |
hudson | 26 (13.7%) | 713 (4.6%) | 27.4 |
sjoelund.se | 91 (47.9%) | 686 (4.5%) | 7.5 |
hkiel | 6 (3.2%) | 26 (0.2%) | 4.3 |
perost | 4 (2.1%) | 20 (0.1%) | 5.0 |
lochel | 8 (4.2%) | 1 (0.0%) | 0.1 |
leonardo.laguna | 3 (1.6%) | 0 (0.0%) | 0.0 |
eliminate List.isNotEmpty() and List.first() (replaced by listEmpty() and listHead())
22 lines of code changed in 5 files:
- Removed List.isEmpty
1 lines of code changed in 1 file:
- Some minor optimizations.
16 lines of code changed in 1 file:
- some code cleanup
- converted recursive matchcontinue to simple while loop
4 lines of code changed in 1 file:
Use getInstanceName() to query function names automatically (updated automatically as the the functions are moved)
12 lines of code changed in 1 file:
Refactor some more things away
1 lines of code changed in 1 file:
Updated the refactoring script, handling `REC(name=_)=>REC()`
- Ran the refactoring script
121 lines of code changed in 11 files:
Big changes. You will need to bootstrap omc from scratch.
- Added function `sourceInfo()`, which returns the file and positions of the call in the source code (useful to produce error-messages that point inside the compiler itself).
- Changed all Absyn.Info to the built-in SourceInfo uniontype
- Added SourceInfo to GlobalScript.IEXP (previously only statements had SourceInfo)
- Changed System.readLine to fail if the file does not exist. The scripting function returns an empty string on failure.
A new bootstrapping tarball has been created. Some of the new features you can use in the compiler:
- (Limited) assignment to metarecord fields (r23120)
- Use new built-in function arrayAppend and Dangerous.arrayCreateNoInit (r23106)
- import MetaModelica.Dangerous (r23001)
- SourceInfo (this commit)
27 lines of code changed in 9 files:
- merge cases based on output from rml -Eunify (https://dev.openmodelica.org/~adrpo/rml-unifications-original.txt)
- increase size given to GC_expand_hp to 300M to get a bit more speedup
17 lines of code changed in 1 file:
Removed the old MetaModelica operators from the parser (+& ==& +. ==., etc)
165 lines of code changed in 13 files:
Replace `Util.if_` with if-expressions
9 lines of code changed in 3 files:
- Rewrote List package to take advantage of bootstrapped features.
- Refactored Util, moved some functions to new Array package, some to List.
- Better handling of conditional components.
- Various optimizations to handle larger models.
3 lines of code changed in 2 files:
Create package Util/ClockIndexes (used to be part of Script/GlobalScript) in order to decouple susan from the front-end modules
15 lines of code changed in 1 file:
- Added support for a new annotation `__OpenModelica_Interface`, and the corresponding scripting function `checkInterfaceOfPackages`
- Using this function and annotating every source package, it is possible to restrict and document which packages are part of the front-end and which are back-end modules
- The interface types are given in the call to `checkInterfaceOfPackages`
- Currently, too many packages have the backendInterface type (allowing front-end modules to call it even though it is a back-end module. Only one package should be a backendInterface once we refactor)
- Improved Susan to be able to insert a custom class annotation at the end of the class (so we automatically add the required `__OpenModelica_Interface` packages)
- Note that this requires installing an updated omc in order to compile susan files. (or run touch Compiler/Template/*.mo to skip trying to compile these, then touch the tpl files once you have an updated susan compiler)
- Improved SCodeDumpTpl to include non-blacklisted class annotations without +showAnnotations
- Removed the non-standard built-in function differentiate (re-add it as a scripting function if needed, or using bootstrapping tests to test differentiation)
16 lines of code changed in 15 files:
Fix bug: #2853
- more careful reverse lookup for functions
32 lines of code changed in 1 file:
- remove Compiler/FrontEnd/Env.mo (bye bye, you served us well for quite some years now)
(replaced everywhere by Compiler/FrontEnd/FGraph.mo and Compiler/FrontEnd/FCore.mo)
- other minor changes
- let's see how it goes and a 1.9.1 Beta3 will come next
94 lines of code changed in 3 files:
- add proper error messages in some cases where print was used
- handle DAE.INITIAL_NORETCALL in the BackEnd/BackendDAECreate.mo and FrontEnd/DAEUtil.mo
(thanks to go to models: Buildings.Fluid.Chillers.Examples.ElectricEIR|ElectricReformulatedEIR)
14 lines of code changed in 1 file:
- partial fix for #2858 (does not yet work with for iterators indexing the array of records)
* some tests are now actually giving correct results
- partial support for Connections.uniqueRoot and Connections.uniqueRootIndexes
* non standard operators: Connections.uniqueRoot and Connections.uniqueRootIndices are only partially implemented
* Connections.uniqueRoot currently does nothing, only collects information
* Connections.uniqueRootIndices needs to be implemented, it returns an array of ones (1) of size of first input
* See specification for these here (Modelica_StateGraph2):
https://github.com/modelica/Modelica_StateGraph2 and
https://trac.modelica.org/Modelica/ticket/984 and
http://www.ep.liu.se/ecp/043/041/ecp09430108.pdf
* any takers for the actual implementation? is not that complicated :)
- changed the way array types are printed out to be easier to follow
4 lines of code changed in 1 file:
- all MSL 3.2.1 now compiles
- add the previously failing tests to the testsuite
43 lines of code changed in 1 file:
Do not create a version scope for operator records
2 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
20 lines of code changed in 1 file:
- don't use System.gettext for Modelica constructs
5 lines of code changed in 1 file:
[Janitor mode] Set auto-props
2 lines of code changed in 2 files:
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)
6100 lines of code changed in 12 files:
- remove unused imports
0 lines of code changed in 7 files:
- Cleaned up some code.
1 lines of code changed in 1 file:
[Janitor mode] Fix whitespace
2 lines of code changed in 2 files:
- replace list<Env.Frame> with Env.Env
- FFrontEnd:
* add names for edges
* resolve component types after constrainedby and class extends
15 lines of code changed in 4 files:
[Janitor mode] Fix whitespace
13 lines of code changed in 3 files:
- some small fixes and changes
59 lines of code changed in 4 files:
[Janitor mode] Fix whitespace
327 lines of code changed in 9 files:
- display graph on the fly via GraphStream (later we can support Gephi easily)
- some minor changes to FFrontEnd/ files
- i guess Linux builds will break but i'll fix them
932 lines of code changed in 10 files:
Remove unused assignments
9 lines of code changed in 4 files:
Remove some more unused bindings
3 lines of code changed in 3 files:
Updated the script to remove a few more unnecessary bindings
63 lines of code changed in 6 files:
[Janitor mode] Fix whitespace
369 lines of code changed in 10 files:
Updated copyright notices to 2014
- The script uses regex to update copyright notices since we have different years in there
11 lines of code changed in 11 files:
Various fixes
- Fix bootstrapping
- Fix unparsing of string comments
- Update OSMC-PL header in Compiler/*/*.mo
99 lines of code changed in 11 files:
Update Absyn expression traversal
- Takes two arguments instead of a tuple (to reduce the number of allocations)
- traverseExp now just calls traverseExpBidir (with one argument being a dummy function)
- This means some expression types not handled by traverseExp now works (like traversing match expressions)
- Some fixes for using external objects in polymorphic functions
133 lines of code changed in 1 file:
- Removing duplicated type declaration (breaks my code analyzer)
0 lines of code changed in 3 files:
(2 more)