Commit History

Author SHA1 Message Date
  yury c0e1ec9121 * pas2jni: Fixed exception handling. 6 years ago
  yury 496693d77b * pas2jni: Fixed handling of array variables. 6 years ago
  yury f7f1286e51 * pas2jni: Return null if a method pointer is empty. 6 years ago
  yury 6d95018c80 * pas2jni: Properly handle Java exceptions when calling a callback Java method. 6 years ago
  yury d55f1b69c0 * pas2jni: Accept partial names in inclusion/exclusion lists. Use wildcard * at the end of a partial name. 6 years ago
  yury fe8b98ded3 * pas2jni: Removed obsolete code. 6 years ago
  yury 48c44f8c17 * pas2jni: Added GetMemoryAsArray() and SetMemoryFromArray() utility functions. 6 years ago
  yury 1cc3c199c8 * pas2jni: TClass helper must be generated only for the system unit. 6 years ago
  yury bfbe50bc04 * pas2jni: Added option: -N - Do not generate a Java code for auto-loading of the shared library. 6 years ago
  yury 252f9ef153 * pas2jni: Support for class references. 8 years ago
  yury ed6d993008 * pas2jni: Proper boolean handling - jboolean must be 0/1. 8 years ago
  yury d5cc2e83cf * pas2jni: Use cthreads first. 8 years ago
  yury ea16dfdcf8 * pas2jni: Suppress false warnings in Java code. 8 years ago
  yury 4dcc9de92f * pas2jni: More clean Java code for sets. 8 years ago
  yury 565ad7f852 * pas2jni: Do not generate unneeded imports. 8 years ago
  yury 78914d9b20 * pas2jni: Do not include array element types from arrays, which is not processed. 8 years ago
  yury 78abcbd4ca * pas2jni: Improved support for interfaces. Proper typecasting of an object instance to an interface. 8 years ago
  yury d507456560 * pas2jni: Removed redundant ;. 8 years ago
  yury 21234e413a * pas2jni: Fixed finalization of TP-style objects. 8 years ago
  yury 3fd3ff9527 * pas2jni: Fixed double memory freeing when using method pointers in some rare cases. 8 years ago
  yury 8e8521c43e * pas2jni: Fixed memory leaks when using inherited TP-style objects. 8 years ago
  yury d9e00bf43c * pas2jni: Use mswindows define instead of windows to be Delphi compatible. 8 years ago
  yury df95a73993 * pas2jni: Do not hard code record sizes in Java part. Instead get actual record sizes from the native code. It allows to use the same generated Java code for native libraries compiled for different CPU architectures. 8 years ago
  yury 26ffffa683 * pas2kni: Added Enum.equals(int) to the Java part. 8 years ago
  yury 6b25cef3ea * pas2jni: Reverted r34367 and mark undesired event handler creation "deprecated". 9 years ago
  yury e81cc4574f * pas2jni: Removed option to create event handler by passing Java method method name as a string. It is not safe, since the target method is treated as unused by Java and the method may be removed from the resulting application. 9 years ago
  yury c4347e28b9 * pas2jni: Fixed handling of identical names of classes, proctypes when they are defined in different units. 9 years ago
  yury 3b8db21c2c * pas2jni: Fixed invoking of Java event handlers from non-main threads. 9 years ago
  yury d99f913836 * pas2jni: Fixed string constant handling after recent changes in FPC. 9 years ago
  yury c392c6eb2b * pas2jni: Explicitly release JNI local refs while executing method pointers. 9 years ago