February 2007 Commit Log

Number of Commits:
51
Number of Active Developers:
8
adrpo 2007-02-28 21:15 Rev.: 2734

- got rid of line // sh: ../../build/bin/omc: No such file or directory

0 lines of code changed in 1 file:

petar 2007-02-28 15:07 Rev.: 2733

- Changed Types.printType to Types.printTypeStr
- Fixed bug with attribute modifiers on types not propagated to variable instances (testsuite/mofiles/Type9.mo)
- added option -b to rtest which can be used to set expected result: rtest -b test.mo translates test.mo and updates the expected result last in file.
- Fixed bug in merging of modifiers in DERIVED classes.

1029 lines of code changed in 50 files:

petar 2007-02-27 12:17 Rev.: 2732

-Implemented rudimentary support for tables. (Modelica.Blocks.Sources.CombiTimeTable now works for parameter data or textual data on file, see CombiTimeTableTest.mos.) Implementation in C++ in tables.cpp. Modelica standard library must be changed to use different external function names (e.g. omcTableTimeIni instead of dymTableTimeIni2)
- Redirected stdout and stderr to compilelog.txt when compiling functions in Ceval (System.compileCFile).
-Added support for parameter and variable strings in init file.

19851 lines of code changed in 11 files:

petar 2007-02-26 12:07 Rev.: 2731

Fixed small bug in codegen (statements in wrong order).
Added whitespace when unparsing modifier list (nicer layout when printing large annotations)
dummy equation der(dummy) = 0 changed to der(dummy) = sin(time*628.56....), to better cope with automatic step size when no states present in model.)

182 lines of code changed in 15 files:

petar 2007-02-26 12:03 Rev.: 2730

Added translateGraphics function that uses Refactor.mo to translate graphical annotations.

87 lines of code changed in 2 files:

haklu 2007-02-23 16:35 Rev.: 2729

Fixed bug #133 and a missing endResult in simulation3.mos

3 lines of code changed in 2 files:

haklu 2007-02-23 15:56 Rev.: 2728

Fixed bug #131
output variables involved in zero crossings were not evaluated.

8 lines of code changed in 2 files:

haklu 2007-02-23 11:30 Rev.: 2727

Merged from when-statements branch
* when and elsewhen in algorithms now supported
* correct sorting of equations in when clauses
* events no longer takes an extra tiny step to make > and < work. Instead the relation takes into account the direction in which the relation expression is passed.

1220 lines of code changed in 25 files:

adrpo 2007-02-21 20:43 Rev.: 2724

- loading Modelica.mo instead of $OPENMODELICALIBRARY/Modelica
- otherwise the test doesn't pass because $OPENMODELICALIBRARY
could be different on different computers.

1 lines of code changed in 1 file:

adrpo 2007-02-21 20:11 Rev.: 2723

- added Refactor.mo to Makefile.common, Makefile.common.w32
- fixed dependencies in .depend Makefile.w32, Makefile.debug.w32

19 lines of code changed in 5 files:

x06krino 2007-02-21 17:50 Rev.: 2722

Testcases added for Refactoring

217 lines of code changed in 5 files:

x06krino 2007-02-21 17:37 Rev.: 2721

Refactoring thesis

3005 lines of code changed in 4 files:

petar 2007-02-21 10:55 Rev.: 2720

Compile error due to name change in util.

1 lines of code changed in 1 file:

petar 2007-02-21 10:08 Rev.: 2719

Fixed bug with creating empty arrays with fill and using size on them, see mofiles/Array13.mo.

145 lines of code changed in 15 files:

adrpo 2007-02-21 07:52 Rev.: 2718

- cosmetic changes to Absyn.mo, Algorithm.mo, Builtin.mo, Ceval.mo, Util.mo
+ replaced old names in comments and error messages with new ones.
+ a bit more uniform error reporting; the errors include fully qualified function names.
+ replaced Absyn.expEqual with structural equality.
+ better names for some functions in Ceval

300 lines of code changed in 5 files:

x06hener 2007-02-20 17:35 Rev.: 2717

This makes Qt 4.2+ required for OMNotebook. Unfortunately this (Qt) breaks some features, e.g. text links

12854 lines of code changed in 78 files:

adrpo 2007-02-19 17:33 Rev.: 2715

- cosmetic changes to Util.mo
+ got rid of some already existing functionality
+ renamed some of the Util.mo functions
+ rewrote some Util.mo functions to make them a bit faster

402 lines of code changed in 14 files:

petar 2007-02-16 12:09 Rev.: 2712

- Fixed bug in Exp.simplify (certain divisions lead to incorrect simplifications).
- Fixed bus in printing of expressions (Exp.printExpStr) leaving out parentheses in some cases. This also required changes in testcases.

249 lines of code changed in 18 files:

petfr 2007-02-16 11:00 Rev.: 2711

Uppdatering av datum i startfilen DrModelica.onb till 2007-02-16

1 lines of code changed in 1 file:

adrpo 2007-02-15 20:21 Rev.: 2710

- fixes for corbaSessionName not defined when NOT compiling with Corba

9 lines of code changed in 1 file:

petfr 2007-02-15 16:56 Rev.: 2709

Updated DrModelica since
Circuits/Acausal.onb SimpleCircuit now works
without error messages,

and the CompConn/Oscillator.onb works after removal
of the carriage-return linefeeds from some comment
strings in that example

36 lines of code changed in 2 files:

adrpo 2007-02-15 16:27 Rev.: 2708

- small update for the upcoming version of MMC/RML & OMDev
- variable name changes to differentiate them from function names

21 lines of code changed in 3 files:

petar 2007-02-14 17:34 Rev.: 2707

Changed code generation of tuples (returning several values from functions). Previously a struct was generated that contained names taken from the output arguments of a function. For instance,
function foo
...
output Real x;
outpur Real y;
... end foo;
resulted in a struct foo_rettype {
modelica_real x;
modelica_real y;
};
But these names are not available in a call (i.e. in Algorithm.TUPLE_ASSIGN). Also this makes sense, since a tuple has only an oredered set of values -without- names.

The new implementation instead generates names like
struct foo_rettype {
modelica_real targ1;
modelica_real targ2;
};

This information is accessible, since only the position in the tuple is required.

Testcase: tupleTest.mo (tested in simulation3.mos)

537 lines of code changed in 8 files:

adrpo 2007-02-14 17:31 Rev.: 2706

Changed :
constant Integer Integer_inf=2147483647 "=2^32-1";
to:
constant Integer Integer_inf=1073741823 "=2^31-1";
in ModelicaLib.tar.gz Modelica/Constants.mo

0 lines of code changed in 1 file:

petfr 2007-02-13 11:55 Rev.: 2705

A few small updates to 4 modules DrModelica. Now more testcases work than previously.

36 lines of code changed in 4 files:

petar 2007-02-12 16:49 Rev.: 2704

- Fixed bug in state selection. If StateSelect.always is set but variable does not appears differentiated among equations, it was previously not selected as state.
- Fixed bug in printing error message for non-linear system solving.

18 lines of code changed in 2 files:

petar 2007-02-12 12:50 Rev.: 2703

Fixed bug 95. Testcase in simulation3.mos and avg.mo.

135 lines of code changed in 5 files:

petar 2007-02-12 10:59 Rev.: 2702

A small error in the compiler.bat file.

1 lines of code changed in 1 file:

petar 2007-02-12 10:51 Rev.: 2701

Fixed bug 51, testcase mofiles/reinit.mo

58 lines of code changed in 3 files:

petar 2007-02-12 10:28 Rev.: 2700

Fixed bug with Modelica.Blocks.Discrete.Sampler connected with e.g. VoltageSource (reported at Modelica Design list)

36 lines of code changed in 1 file:

petar 2007-02-12 09:44 Rev.: 2699

Fixed bug with compiling when e.g. LIBRARY_PATH is defined.

8 lines of code changed in 1 file:

petar 2007-02-12 09:17 Rev.: 2698

Added description of missing fortran files in c_runtime/README

8 lines of code changed in 1 file:

andsa 2007-02-12 01:13

50 lines of code changed in 4 files:

adrpo 2007-02-11 00:00 Rev.: 2695

- Now OMC will now REFUSE to start on Windows if another one is running!
An error message will be displayed.
- Added +target=gcc|msvc flag in rtopts.c and RTOpts.mo to be used later
when we generate different code and Makefiles targeted to GCC or MSVC.
The flag can be retrieved using RTOpts.simulationCodeTarget()

83 lines of code changed in 4 files:

adrpo 2007-02-10 20:17 Rev.: 2694

- I have updated the README-WIN32.txt document
- I tested the compilation on Visual Studio .NET
+ 2003 Pro
+ 2005 Express (Free, but it cannot build the Setup project)
+ 2005 Pro

18 lines of code changed in 1 file:

adrpo 2007-02-10 16:32 Rev.: 2693

- included <limits> for std::numeric_limits required by VC++

2 lines of code changed in 1 file:

andsa 2007-02-09 00:22 Rev.: 2692

fixed so val can handle arrays, val(x[n],x.y)

19 lines of code changed in 1 file:

adrpo 2007-02-08 23:36 Rev.: 2691

- Linux typo fixed

1 lines of code changed in 1 file:

adrpo 2007-02-08 23:35 Rev.: 2690

- fixes for Linux part

2 lines of code changed in 1 file:

adrpo 2007-02-08 23:27 Rev.: 2689

- fixes for Visual Studio to get rid of link errors

3 lines of code changed in 1 file:

adrpo 2007-02-08 21:39 Rev.: 2688

- added +c=corbaSessionName to the Compiler/runtime/rtopts.c
- fixed Compiler/runtime/corbaimpl.cpp to generate:
+ the Corba Object ID depending the corbaSessionName
+ the file dumped depending the corbaSessionName
+ the events and mutexes names depending the corbaSessionName
- moved clientlock from omc_communication_impl.cpp to corbaimpl.cpp

- if no +c=name is given the omc works as before!
- this will be used to have different omc running on the system.
- i assume problems can appear if we don't set a different working directory
for each different OMC, but we can fix that later in the future.

203 lines of code changed in 7 files:

g-pavgr 2007-02-06 12:30 Rev.: 2687

LoopContext; check that *break* is inside a loop

95 lines of code changed in 4 files:

petar 2007-02-06 08:49 Rev.: 2686

Fixed bug with start value of parameters not translated to DAE.

2 lines of code changed in 1 file:

petfr 2007-02-05 06:21 Rev.: 2685

Minor update of OpenModelicaUsersGuide - authors list
OpenMOdelicaSystem - added test case building chapter and
updated authors list
ModelicaMetaProgramming - added introduction about
modeling too extensibility and a chapter (unfinished)
at the end about metaprogramming and code quoting.

0 lines of code changed in 6 files:

adrpo 2007-02-05 04:30 Rev.: 2684

- changed "inital" with "initial" in Builtin.mo
- replaced return with returnType in Codegen.mo and DAE.mo as "return" is a keyword now!

9 lines of code changed in 3 files:

adrpo 2007-02-05 02:09 Rev.: 2683

- added break and return statements to flat_modelica_lexer.g and flat_modelica_parser.g
due to changes to modelica_lexer.g and modelica_parser.g
- without this the FlatParse.mof test fails.

4 lines of code changed in 2 files:

adrpo 2007-02-05 02:01 Rev.: 2682

- break variable replaced by breakme variable as "break" is now a keyword.
- without this change the parsing of Modelica.Math package would fail.

0 lines of code changed in 1 file:

adrpo 2007-02-05 01:41 Rev.: 2681

- break variable replaced by breakme variable as "break" is now a keyword.
- without this change 6 tests fail.

7 lines of code changed in 1 file:

g-pavgr 2007-02-04 23:46 Rev.: 2680

Support for *break* and *return*
Missing: (a) checking that used inside for/while and (for *return*) in function body (b) reading from flat Modelica (for/while if flat Modelica not yet supported)

64 lines of code changed in 9 files:

petar 2007-02-02 09:25 Rev.: 2679

Implemented inner/outer for components (inner/outer classes not impl. yet) testcases InnerOuter1.mo InnerOuter2.mo

1047 lines of code changed in 16 files:

adrpo 2007-02-02 07:45 Rev.: 2678

- now DrModelica is taken from the working copy not the M:\ directory
- added the MetaProgramming guide to the Setup.vdproj
- added the ModelicaTutorial by Peter F. to the Setup.vdproj
- changed the way User Menu looks, now it has a Documentation directory

4687 lines of code changed in 1 file:

January 2007 »

Generated by StatSVN 0.7.0