Directory c_runtime/java_interface/src/org/openmodelica/test/

Directory Created:
2009-10-14 10:02
Directory Deleted:
2012-02-23 08:08
Total Files:
0
Deleted Files:
8
Lines of Code:
0

[root]/c_runtime/java_interface/src/org/openmodelica/test

Lines of Code

c_runtime/java_interface/src/org/openmodelica/test/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 31 (100.0%) 899 (100.0%) 29.0
sjoelund.se 23 (74.2%) 899 (100.0%) 39.0
adrpo 8 (25.8%) 0 (0.0%) 0.0

Most Recent Commits

adrpo 2012-02-23 08:08 Rev.: 11174

- GOT RID OF the old trunk/c_runtime and old templates SimCodeC.tpl/SimCodeFMU.tpl
- HIGHLY RECOMMENDED make clean
- renamed SimCodeXXX.tpl CodegenXXX.tpl
- merged the needed things from SimCodeC.tpl into CodegenQSS.tpl.
- all tests except the usual mishaps go.
- targeted all trunk/c_runtime references used in
Makefiles / C (Qt OMPlot) / Other files to their SimulationRuntime/ counterparts.

0 lines of code changed in 8 files:

  • c_runtime/java_interface/src/org/openmodelica/test: ABC_CONTAINER.java (del), ABC_UT.java (del), TestDefinitionsParser.java (del), TestObjects.java (del), TestParser.java (del), TestRecord.java (del), TestSmartProxy.java (del), abc.java (del)
sjoelund.se 2010-01-18 15:35 Rev.: 4801

Java Interface:
- When handling uniontypes, we now add the _UT suffix so we can compile e.g. Absyn.mo definitions to a jar-file on the Windows platform.
- Removed the dependency on Sun JreSocketFactory (we won't need long CORBA timeouts if we send long strings through files anyway).

53 lines of code changed in 3 files:

  • c_runtime/java_interface/src/org/openmodelica/test: ABC_CONTAINER.java (+23 -1), TestParser.java (+5 -1), abc.java (+25)
sjoelund.se 2010-01-13 17:48 Rev.: 4772

- Changes to the OMC-Java interface (Java code)
- Replaced the ANTLR grammar for parsing the CORBA communication
+ Max heap size reduced by 66% (down to 1GB from 3GB on 64-bit platforms)
+ Time to parse reduced to 33-50% of the original time taken (depending on typed or untyped parsing)
+ Added proper typed parsing also for list,tuple and Option
- Added the TypeSpec.java class to represent complex types fully
- Added missing JreSocketFactory
- Parsing an AST with type information is no longer done in two phases
- Updated the templated to generate jar files to reflect the changes above
- MSL 3.1 can now be parsed fully, with full type information
+ Typecasting needs to be done for tuples due to Java weaknesses,
but no longer using ModelicaAny.cast - standard (T)myTuple.get(0) should work.
+ The string is possibly too large for 32-bit OpenModelica to handle.
However, it is no longer manipulated within OpenModelica, so it might accept it. Needs to be tested.

67 lines of code changed in 7 files:

  • c_runtime/java_interface/src/org/openmodelica/test: ABC_CONTAINER.java (+1 -1), TestDefinitionsParser.java (+12 -11), TestObjects.java (+3 -3), TestParser.java (+19 -19), TestRecord.java (+4 -4), TestSmartProxy.java (+27 -27), abc.java (+1 -1)
sjoelund.se 2010-01-12 15:53 Rev.: 4769

- Changed to the OMC-Java interface (Java code)
+ Added printToBuffer to all ModelicaObjects so toString() is almost instant even for large strings
+ Changed the interface of ModelicaRecord slightly
- We now cache field names and types in order to reduce the memory consumption of an AST by ~75%
- All records now need to have all fieldnames and types set when created
+ OMCorba.g now generates line and column numbers for all errors

55 lines of code changed in 5 files:

  • c_runtime/java_interface/src/org/openmodelica/test: ABC_CONTAINER.java (+8 -8), TestDefinitionsParser.java (+1 -1), TestParser.java (+4 -3), TestRecord.java (+35 -28), abc.java (+7 -10)
sjoelund.se 2009-10-14 10:02 Rev.: 4361

- Merged c_runtime from Bootstrapping
- Fixed simulation_result.cpp performance issues (<< endl flushes the buffer, \n does not)
- Added the Java-specific runtimes (C and Java)
- Changes to read_write.{c,h} for record-in-record, NORETCALL and MetaModelica types

724 lines of code changed in 8 files:

  • c_runtime/java_interface/src/org/openmodelica/test: ABC_CONTAINER.java (new 23), ABC_UT.java (new 6), TestDefinitionsParser.java (new 125), TestObjects.java (new 47), TestParser.java (new 224), TestRecord.java (new 145), TestSmartProxy.java (new 116), abc.java (new 38)
Generated by StatSVN 0.7.0