Added two new builtin functions. stringCmp compares two strings and returns 0 if unequal. getTag fetches the type name of an ojbect reference, using the c++ typeid(ref).name().
103 lines of code changed in 3 files:
- a lot of fixes to external functions.
+ RML_IMMEDIATE(RML_UNTAGFIXNUM(x)) is an ERROR, so i replaced it with RML_UNTAGFIXNUM(x)
+ fixed types using RML types as on 64bit architecture instead of integer we use long.
- got rid of GCC_EXEC_PREFIX in Linux/Mac part
18 lines of code changed in 1 file:
Two new test cases
0 lines of code changed in 4 files:
updated some testcases
4 lines of code changed in 2 files:
- included MacOS changes from Eric Meyers (erictmeyers@gmail.com)
30 lines of code changed in 4 files:
- added DAEQuery.mo to the compilation
- DAEQuery.mo has functionality for dumping the incidence matrix:
+ getIncidenceMatrix(ClassName) will dump a file called
ClassName_imatrix.m containing the incidence matrix in some
sort of Mathlab format.
425 lines of code changed in 8 files:
- broadcast environment change using alternative functionality
8 lines of code changed in 1 file:
changed the return value for the val function from boolean to real.
2 lines of code changed in 1 file:
Testcase files modified and added.
1841 lines of code changed in 85 files:
Testcase files added, not to be used yet.
0 lines of code changed in 36 files:
-Assertions are checked in DAElow.lower if they are always false. In that case error message is given and lowering fails. (to test this instantiate a CombiTable component and run checkModel, without giving any table data).
-Assertions only output if accepting a step (see acceptedStep variable).
-Fixed minor typos in comments.
111 lines of code changed in 10 files:
* Absyn.mo: Added valueblock record to Exp uniontype. Added uniontype ValueblockBody.
* Static.mo: Added two new cases to the elabExp function, evaluation of valueblock expression
(one for valueblocks containing algorithm statements and one
for valueblocks containing equations).
Added a new function for converting valueblock equations into algorithm assignments.
* Inst.mo: Had to change the accesibility of some functions from protected to public.
* Exp.mo: Added (duplicated) uniontypes and records from DAE.mo, Algorithm.mo, Types.mo
and Values.mo. Part of a work-around since the MetaModelica compiler can't handle
circular dependencies.
* Convert.mo: Functions that converts the duplicated data structures from Exp.mo
into original form and vise versa. These functions are called in Static.elabExp and
Codegen.generateExpression.
* Prefix.mo: Added functions for prefixing algorithm statements since
an expression now may contain algorithm statements.
* Codegen.mo: Added a new case-clause in generateExpression for generating code for
valueblock expressions.
3173 lines of code changed in 11 files:
- Clearing errormessages before executing checkModel and buildModel to prevent error messages from earlier evaluations.
- Added error message for declaration modifiers.
- Better error message for type checking of functions.
239 lines of code changed in 6 files:
Fixed bug with type extending basic type using long class definition in several levels, and having modifiers on builtin attributes. See Type10.mo
147 lines of code changed in 6 files:
- fixes for Corba connection (mostly for Windows 2000)
it seems that
CORBA::ORB_init(argc, dummyArgv, "mico-local-orb");
ignores totally the first argument
4 lines of code changed in 1 file:
- added stringFind implementation for Linux too
54 lines of code changed in 1 file:
fixed a typo in testsuite/Makefile for the added test
1 lines of code changed in 1 file:
Fixed compile bug in older versions of metamodelicacompiler.
1 lines of code changed in 1 file:
- getDefaultComponentName and getDefaultComponentPrefixes API functions, see DefaultComponentName.mos
- der(expr), see dertest.mos
783 lines of code changed in 12 files:
Fixed bug in setComponentModifierValue, testcase: interactive_api_param.mos
20 lines of code changed in 2 files:
Improved solving of nonlinear systems. Now tries both extrapolation and using old values. Extrapolation might end up in going into forbidden region, whereas using old values as starting point might have problems during initialization. Pendulum.mos requires extrapolation and dae2 in NonLinSys.mo requires old values.
110 lines of code changed in 7 files: