[root]/testsuite/openmodelica/interactive-API
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 391 (100.0%) | 59236 (100.0%) | 151.4 |
alash325 | 192 (49.1%) | 38201 (64.5%) | 198.9 |
sjoelund.se | 64 (16.4%) | 8769 (14.8%) | 137.0 |
adrpo | 45 (11.5%) | 5849 (9.9%) | 129.9 |
adeas31 | 19 (4.9%) | 1990 (3.4%) | 104.7 |
lochel | 5 (1.3%) | 1453 (2.5%) | 290.6 |
jfrenkel | 3 (0.8%) | 1017 (1.7%) | 339.0 |
perost | 36 (9.2%) | 688 (1.2%) | 19.1 |
mahge930 | 2 (0.5%) | 512 (0.9%) | 256.0 |
cschubert | 1 (0.3%) | 505 (0.9%) | 505.0 |
hudson | 18 (4.6%) | 127 (0.2%) | 7.0 |
vitalij | 2 (0.5%) | 119 (0.2%) | 59.5 |
wbraun | 4 (1.0%) | 6 (0.0%) | 1.5 |
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
Fix bug: #3282
- allow parsing of {} for mos scripts
38 lines of code changed in 2 files:
Fix bug: #3269
- add code for deleteFile in Compiler/Script/CevalScript.mo
- add test in: testsuite/openmodelica/interactive-API/Bug3269_deleteFile.mos
34 lines of code changed in 2 files:
Fix bug #3255
- append the annotation from the constrained class to the annotations of the component
- added test inside testsuite/openmodelica/interactive-API/choicesAllMatching.mos
14 lines of code changed in 1 file:
- update tests due to fixes to bug: #3254
3 lines of code changed in 2 files:
Fix bug: #3254
- return component annotations that are not graphical classes also
- added test: testsuite/openmodelica/interactive-API/choicesAllMatching.mos
30 lines of code changed in 2 files:
- helper to bug #3196
- added setComponentDimensions(class, component, {dim1, dim2, dim3})
- added test for it in testsuite/openmodelica/interactive-API/interactive_api_calls.mos
32 lines of code changed in 1 file:
- Update test.
13 lines of code changed in 1 file:
- MSL 3.2.1 (m:r8095) changes the interface of Modelica.Math.Matrices.LAPACK.dgelsx
- adapt our interactive evaluation of Lapack to match the changes
1 lines of code changed in 1 file:
Fix bug: #3157
- handle also empty Name annotations, i.e.: annotation(Name);
- add test testsuite/openmodelica/interactive-API/getDialogAnnotation.mos
34 lines of code changed in 3 files:
- update tests due to MSL 3.2.1 changes
10 lines of code changed in 2 files:
- update tests due to MSL 3.2.1 changes
122 lines of code changed in 2 files:
- expected output.
12 lines of code changed in 1 file:
- Moved getComponentModifierNames to ModelicaBuiltin.mo.
- updated getComponentModifierNames to scripting API.
33 lines of code changed in 2 files:
- Moved getParameterValue to ModelicaBuiltin.mo.
- updated getParameterValue to scripting API.
9 lines of code changed in 1 file:
- Moved getClaasRestriction & getParameterNames to ModelicaBuiltin.mo.
- updated getClaasRestriction to scripting API. Removed some unused APIs from OMCProxy.
1 lines of code changed in 1 file:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
Partial fix for #3075:
- Improved the flag parsing and added a test case for it.
139 lines of code changed in 2 files:
expected output.
119 lines of code changed in 1 file:
#2956
- Do not set a default value of origin. Use the origin as transformation origin point only if it is defined in actual modelica code otherwise extract it from extent points.
- Only call snapPointToGrid when creating a shape/component otherwise use movePointByGrid.
843 lines of code changed in 1 file:
- update tests due to MSL 3.2.1 changes
66 lines of code changed in 2 files:
imporved negate for binary
118 lines of code changed in 1 file:
- Expected output of tests using csv.
505 lines of code changed in 1 file:
- expected output.
3 lines of code changed in 2 files:
#2550, #2390
- Fully support showStartAttribute in OMEdit.
3 lines of code changed in 1 file:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
Fix for #2966:
- Improved setComponentModifierValue API functions.
109 lines of code changed in 3 files:
Expected output
4 lines of code changed in 2 files:
- Add capability to OMEdit to link directly against omc (gives a good performance increase especially if calling used functions directly without requiring parsing strings)
- Add OMCOutput parser to OMEdit, to parse the most common OMC Values.Value outputs (no records yet; only sequences and values); the output is a QVariant
- Update getClassInformation to use ModelicaBuiltin.mo
- Add a mockup of the OpenModelicaScriptingAPI.mo we should be able to create from ModelicaBuiltin.mo, and OMC_API.{cpp,h} that should be automatically generated Qt/C++ files corresponding to the same API
2 lines of code changed in 1 file:
#2906
- Drop down menus for Enumeration and Boolean types.
- Added a new API getBuiltinType.
5 lines of code changed in 1 file:
- added copyClass tests.
12 lines of code changed in 1 file:
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)
3686 lines of code changed in 2 files:
- fix bug #2882 (careful with the evaluation of expressions having DAE.T_CODE type)
15 lines of code changed in 2 files:
- avoid CRLF issues on Windows (compareFiles fails because of different line endings)
23 lines of code changed in 1 file:
- fix bug #2943 (the error was introduced in r23049)
- added test: testsuite/openmodelica/interactive-API/Bug2943.mos
36 lines of code changed in 2 files:
- fix bug: #2917
- handle protected sections better
154 lines of code changed in 2 files:
- 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)
103 lines of code changed in 3 files:
- 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
1263 lines of code changed in 1 file:
Fix for #2898:
- Made the compiler less sensitive to errors in unused models.
65 lines of code changed in 1 file:
Fix for #2879:
- Better implementation of r22703.
- Also handles multiline strings in comments.
2 lines of code changed in 1 file:
(84 more)