Directory c_runtime/java_interface/

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

[root]/c_runtime/java_interface
            Folder removed from repo src (0 files, 0 lines)
                Folder removed from repo org (0 files, 0 lines)
                    Folder removed from repo openmodelica (0 files, 0 lines)
                        Folder removed from repo corba (0 files, 0 lines)
                            Folder removed from repo parser (0 files, 0 lines)
                                Folder removed from repo JavaDefinitions (0 files, 0 lines)
                        Folder removed from repo test (0 files, 0 lines)
            Folder removed from repo test_files (0 files, 0 lines)

Lines of Code

c_runtime/java_interface/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 54 (100.0%) 268 (100.0%) 4.9
sjoelund.se 42 (77.8%) 268 (100.0%) 6.3
stebr461 1 (1.9%) 0 (0.0%) 0.0
perost 1 (1.9%) 0 (0.0%) 0.0
adrpo 10 (18.5%) 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 10 files:

  • c_runtime/java_interface: .project (del), Makefile (del), Makefile.common (del), Makefile.omdev.mingw (del), antlr-3.1.3.jar (del), antlr_license.txt (del), junit-4.6.jar (del), modelica_java.jar (del), ptplot.jar (del), ptplot_license.txt (del)
sjoelund.se 2010-09-21 12:34 Rev.: 6159

- Fix svn-eol-style on Makefiles

1 lines of code changed in 1 file:

  • c_runtime/java_interface: Makefile (+1)
sjoelund.se 2010-04-25 13:23 Rev.: 5384

- Adding -source flag to java_interface makefiles since eclipse javac default to version 4.

4 lines of code changed in 2 files:

  • c_runtime/java_interface: Makefile (+2 -2), Makefile.omdev.mingw (+2 -2)
sjoelund.se 2010-04-23 21:58 Rev.: 5369

- Added antlr_license.txt. Missing from last commit.

0 lines of code changed in 1 file:

  • c_runtime/java_interface: antlr_license.txt (new)
sjoelund.se 2010-04-23 21:55 Rev.: 5368

- Added trunk/Makefile.common, and restructured Makefile and Makefile.omdev.mingw
- Fixed lots of weird install targets for files
- Moved commands.xml, etc files from bin to share/omnotebook, share/omshell.
- Moved ptplot.jar from bin to share/omc/java.
- Moved ptplot_license.txt from bin to share/
- Moved omc_helptext.txt from bin to share/doc/omc
- Added antlr_license.txt
- Moved OPENMODELICA/include to OPENMODELICAHOME/omc/include
- This way we won't override system libs/includes if we install to /usr
- Did the same for /lib
- Left to do: Move scripts from bin to usr/share/omc/scripts
- Updated OMNotebook and OMShell to reflect new paths of xml files.
- Updated doPlot commands to reflect the new location of ptplot.jar

37 lines of code changed in 5 files:

  • c_runtime/java_interface: Makefile (+1 -4), Makefile.common (+12 -9), Makefile.omdev.mingw (-3), ptplot.jar (new), ptplot_license.txt (new 24)
sjoelund.se 2010-04-22 06:52 Rev.: 5349

- Adding OMC_API-HowTo to install target.
- Updating java_interface makefiles (better clean-up and works without setting JAVA_HOME).
- Removing temporary antlr grammar files when configure script fails.
- Fixed doc install path for UNIX systems.
- Remove generated code when doing make clean in Compiler/runtime, Compiler/absyn_builder.
- Remove generated makefile in c_runtime/sendData.

10 lines of code changed in 3 files:

  • c_runtime/java_interface: Makefile (+1 -1), Makefile.common (+7 -11), Makefile.omdev.mingw (+2 -2)
sjoelund.se 2010-03-12 10:14 Rev.: 5135

- Added c_runtime/Makefile.common.
- You now only need to change one file when you add headers.

3 lines of code changed in 1 file:

  • c_runtime/java_interface: Makefile.common (+3)
sjoelund.se 2010-02-26 19:30 Rev.: 5052

- Removed some cp -u lines from Makefiles. They don't work in OSX (GNU extension).
- Added x86_64-OSX version of liblpsolve55.dylib.
- Most regular Modelica testcases work in 64-bit OSX. MetaModelica testcases seem to fail, however (probably due to not using the 64-bit datatypes in the headers).

1 lines of code changed in 1 file:

  • c_runtime/java_interface: Makefile (+1 -1)
sjoelund.se 2010-01-28 12:41 Rev.: 4877

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

0 lines of code changed in 1 file:

  • c_runtime/java_interface: modelica_java.jar (changed)
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)

0 lines of code changed in 1 file:

  • c_runtime/java_interface: modelica_java.jar (changed)
sjoelund.se 2010-01-18 16:32 Rev.: 4802

- Updated modelica_java.jar

0 lines of code changed in 1 file:

  • c_runtime/java_interface: modelica_java.jar (changed)
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).

0 lines of code changed in 2 files:

  • c_runtime/java_interface: Makefile.common (-1), modelica_java.jar (changed)
sjoelund.se 2010-01-18 13:48 Rev.: 4799

Java Interface:
- JarCreator: Check if file already exists, and throw exception.
+ This happens on Windows systems if uniontypes and records have the same case-insensitive name.
- DefinitionsCreator: Fix for when OPENMODELICA environment-variable doesn't contain a trailing directory-separator.
- The Java testsuite now generates files in the proper order, but doesn't work on Windows due to case-insensitivity issues.

0 lines of code changed in 1 file:

  • c_runtime/java_interface: modelica_java.jar (changed)
sjoelund.se 2010-01-18 12:20 Rev.: 4797

Java Interface
- Added parse(Reader) to ModelicaOption
+ Fixed the Java testsuite
- Added testcase for getAstAsCorbaString(filename)
+ Uses TankPID.mo, and a very short Java function.
+ Could also use CORBA to get the string, but that requires a little bit more code.
It's better to pass the string using filename anyway, since 32-bit architectures are limited to 16MB strings in OpenModelica.

0 lines of code changed in 1 file:

  • c_runtime/java_interface: modelica_java.jar (changed)
sjoelund.se 2010-01-18 11:04 Rev.: 4794

Changes to the OMC-Java interface (Java code)
- Added OMCStringParser.parse(File f) functions.
- Made parse functions for Record, Array, Tuple public.
- Fixed ComplexTypeDefinitions for generic types.

0 lines of code changed in 1 file:

  • c_runtime/java_interface: modelica_java.jar (changed)
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.

3 lines of code changed in 2 files:

  • c_runtime/java_interface: Makefile.common (+3 -4), modelica_java.jar (changed)
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

2 lines of code changed in 2 files:

  • c_runtime/java_interface: Makefile.common (+2 -1), modelica_java.jar (changed)
perost 2009-12-09 10:10 Rev.: 4649

Added RTOpts.debugFlag guards to lessen overhead when debug output isn't used.

0 lines of code changed in 1 file:

  • c_runtime/java_interface: modelica_java.jar (changed)
stebr461 2009-10-28 09:27 Rev.: 4418

- Fixed encoding issues

0 lines of code changed in 1 file:

  • c_runtime/java_interface: modelica_java.jar (changed)
sjoelund.se 2009-10-27 17:23 Rev.: 4409

- Spelling error

1 lines of code changed in 1 file:

  • c_runtime/java_interface: Makefile.common (+1 -1)
sjoelund.se 2009-10-27 17:20 Rev.: 4408

- Adding modelica_java.jar to the repository (so JDK isn't required to compile OpenModelica)
- Adding c_runtime/java_interface to the default make system. (If no JDK is installed, modelica_java.jar is simply copied to /build/...)

27 lines of code changed in 4 files:

  • c_runtime/java_interface: Makefile (+6 -4), Makefile.common (+15 -1), Makefile.omdev.mingw (+6 -4), modelica_java.jar (new)
sjoelund.se 2009-10-27 13:23 Rev.: 4405

- JarCreator: Transforms backslashes of paths in zip-files to frontslashes. That way both javac.exe and java.exe work properly in Windows.
- testsuite/java/JavaExt.java: Escape the string so backslashes are parsed by OpenModelica.
- testsuite/{java,records}/rtest: Changed to an rtest that is not parallelized since Windows dll's hate that. (Also updated the mos-files since the old one requires // endResult
- testsuite/java/Makefile: Better Windows-support using JAVA_HOME
- c_runtime/java_interface/Makefile*: Better Windows-support using JAVA_HOME

36 lines of code changed in 3 files:

  • c_runtime/java_interface: Makefile (+4 -12), Makefile.common (+28), Makefile.omdev.mingw (+4 -12)
sjoelund.se 2009-10-26 16:47 Rev.: 4397

- Fixed the testsuite Makefile (missed a backslash at the end)
- Merged getDefinitions Interactive API function from the Bootstrapping branch
- Fixed some of the Java-related issues OMC has in Windows (don't try to fprintf to stderr before calling abort() - in Windows the string will not get printed)
- It will be necessary to set JAVA_HOME to a JDK if you want to run the java testsuite in Windows. If you call "java" directly, it will load Java from system32, which is a JRE and not a JDK (which means you can't call javac from it). Why Sun decided to install both JRE and JDK by default when downloading a JDK, I do not know.

6 lines of code changed in 2 files:

  • c_runtime/java_interface: Makefile (+3 -3), Makefile.omdev.mingw (+3 -3)
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

137 lines of code changed in 6 files:

  • c_runtime/java_interface: .project (new 17), Makefile (new 20), Makefile.common (new 80), Makefile.omdev.mingw (new 20), antlr-3.1.3.jar (new), junit-4.6.jar (new)
Generated by StatSVN 0.7.0