Directory c_runtime/java_interface/src/org/openmodelica/corba/parser/JavaDefinitions/

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

[root]/c_runtime/java_interface/src/org/openmodelica/corba/parser/JavaDefinitions

Lines of Code

c_runtime/java_interface/src/org/openmodelica/corba/parser/JavaDefinitions/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 17 (100.0%) 136 (100.0%) 8.0
sjoelund.se 12 (70.6%) 136 (100.0%) 11.3
adrpo 5 (29.4%) 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 5 files:

  • c_runtime/java_interface/src/org/openmodelica/corba/parser/JavaDefinitions: function.st (del), header.st (del), myFQName.st (del), record.st (del), uniontype.st (del)
sjoelund.se 2010-01-28 12:41 Rev.: 4877

Java Interface:
- Fixed CLASS_EXTENDS typo for AstAsCorbaString
- Added better error messages for ModelicaRecord.java

3 lines of code changed in 1 file:

  • c_runtime/java_interface/src/org/openmodelica/corba/parser/JavaDefinitions: record.st (+3 -7)
sjoelund.se 2010-01-27 14:30 Rev.: 4863

Java Interface:
- Optionally send types when creating records from Map (required for uniontypes to work correctly)

8 lines of code changed in 1 file:

  • c_runtime/java_interface/src/org/openmodelica/corba/parser/JavaDefinitions: record.st (+8 -7)
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).

9 lines of code changed in 2 files:

  • c_runtime/java_interface/src/org/openmodelica/corba/parser/JavaDefinitions: record.st (+1 -1), uniontype.st (+8 -1)
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.

23 lines of code changed in 2 files:

  • c_runtime/java_interface/src/org/openmodelica/corba/parser/JavaDefinitions: header.st (+2), record.st (+21 -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

9 lines of code changed in 1 file:

  • c_runtime/java_interface/src/org/openmodelica/corba/parser/JavaDefinitions: record.st (+9 -7)
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

84 lines of code changed in 5 files:

  • c_runtime/java_interface/src/org/openmodelica/corba/parser/JavaDefinitions: function.st (new 35), header.st (new 16), myFQName.st (new 1), record.st (new 28), uniontype.st (new 4)
Generated by StatSVN 0.7.0