yury
1cc3c199c8
* pas2jni: TClass helper must be generated only for the system unit.
...
git-svn-id: trunk@40462 -
2018-12-04 13:07:05 +00:00
yury
bfbe50bc04
* pas2jni: Added option: -N - Do not generate a Java code for auto-loading of the shared library.
...
* pas2jni: Do not generate TClass helper code if no classes are used at all.
git-svn-id: trunk@40179 -
2018-11-02 15:18:26 +00:00
yury
252f9ef153
* pas2jni: Support for class references.
...
- Fixed inclusion of unneeded pointer types.
git-svn-id: trunk@35779 -
2017-04-11 18:34:58 +00:00
yury
ed6d993008
* pas2jni: Proper boolean handling - jboolean must be 0/1.
...
git-svn-id: trunk@34954 -
2016-11-23 14:39:46 +00:00
yury
d5cc2e83cf
* pas2jni: Use cthreads first.
...
git-svn-id: trunk@34953 -
2016-11-23 14:21:49 +00:00
yury
ea16dfdcf8
* pas2jni: Suppress false warnings in Java code.
...
git-svn-id: trunk@34952 -
2016-11-23 13:49:04 +00:00
yury
4dcc9de92f
* pas2jni: More clean Java code for sets.
...
git-svn-id: trunk@34951 -
2016-11-23 13:33:35 +00:00
yury
565ad7f852
* pas2jni: Do not generate unneeded imports.
...
git-svn-id: trunk@34863 -
2016-11-10 15:43:13 +00:00
yury
78914d9b20
* pas2jni: Do not include array element types from arrays, which is not processed.
...
git-svn-id: trunk@34862 -
2016-11-10 14:39:58 +00:00
yury
78abcbd4ca
* pas2jni: Improved support for interfaces. Proper typecasting of an object instance to an interface.
...
git-svn-id: trunk@34848 -
2016-11-08 14:43:52 +00:00
yury
d507456560
* pas2jni: Removed redundant ;.
...
git-svn-id: trunk@34845 -
2016-11-07 23:54:23 +00:00
yury
21234e413a
* pas2jni: Fixed finalization of TP-style objects.
...
git-svn-id: trunk@34844 -
2016-11-07 23:30:40 +00:00
yury
3fd3ff9527
* pas2jni: Fixed double memory freeing when using method pointers in some rare cases.
...
git-svn-id: trunk@34843 -
2016-11-07 21:42:24 +00:00
yury
8e8521c43e
* pas2jni: Fixed memory leaks when using inherited TP-style objects.
...
git-svn-id: trunk@34842 -
2016-11-07 21:19:17 +00:00
yury
d9e00bf43c
* pas2jni: Use mswindows define instead of windows to be Delphi compatible.
...
git-svn-id: trunk@34841 -
2016-11-07 20:31:13 +00:00
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.
...
git-svn-id: trunk@34840 -
2016-11-07 20:28:15 +00:00
yury
26ffffa683
* pas2kni: Added Enum.equals(int) to the Java part.
...
git-svn-id: trunk@34634 -
2016-10-06 10:21:04 +00:00
yury
6b25cef3ea
* pas2jni: Reverted r34367 and mark undesired event handler creation "deprecated".
...
git-svn-id: trunk@34369 -
2016-08-22 13:12:19 +00:00
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.
...
git-svn-id: trunk@34367 -
2016-08-22 10:13:45 +00:00
yury
c4347e28b9
* pas2jni: Fixed handling of identical names of classes, proctypes when they are defined in different units.
...
git-svn-id: trunk@34327 -
2016-08-17 19:09:54 +00:00
yury
3b8db21c2c
* pas2jni: Fixed invoking of Java event handlers from non-main threads.
...
git-svn-id: trunk@34309 -
2016-08-14 10:49:17 +00:00
yury
d99f913836
* pas2jni: Fixed string constant handling after recent changes in FPC.
...
git-svn-id: trunk@34275 -
2016-08-11 12:41:13 +00:00
yury
c392c6eb2b
* pas2jni: Explicitly release JNI local refs while executing method pointers.
...
git-svn-id: trunk@33859 -
2016-05-30 17:14:55 +00:00
yury
111595dcd9
* pas2jni: Fixed procedure parameters parsing in some cases.
...
git-svn-id: trunk@33083 -
2016-02-10 16:28:41 +00:00
yury
a02da7c7d2
* pas2jni: Fixed handling of method pointers.
...
git-svn-id: trunk@33072 -
2016-02-08 18:52:32 +00:00
yury
3597519087
* pas2jni: Fixed handling of global procvars.
...
git-svn-id: trunk@33005 -
2016-01-25 15:43:12 +00:00
yury
f838251662
* pas2jni: Added TDateTime Java support class.
...
git-svn-id: trunk@32733 -
2015-12-26 19:52:03 +00:00
yury
2248805082
* pas2jni: Fixed ref counting of method pointers.
...
git-svn-id: trunk@32669 -
2015-12-15 14:03:25 +00:00
yury
6bd2b2d41b
* pas2jni: Fixed handling of pointers.
...
git-svn-id: trunk@32620 -
2015-12-08 17:01:29 +00:00
yury
f6b99c5d6a
* pas2jni: Typecast interface to pointer.
...
git-svn-id: trunk@32616 -
2015-12-07 23:32:22 +00:00
yury
2206a54b28
* pas2jni: Fixed exclusion.
...
git-svn-id: trunk@32615 -
2015-12-07 23:28:06 +00:00
yury
df59776ff8
* pas2jni: Fixed type cast for null.
...
git-svn-id: trunk@32612 -
2015-12-07 19:31:15 +00:00
yury
c797d6ac1e
* pas2jni: Fixed handling of array type properties.
...
git-svn-id: trunk@32611 -
2015-12-07 19:23:02 +00:00
yury
9d93c6f953
* pas2jni: Properly exclude whole units.
...
git-svn-id: trunk@32609 -
2015-12-07 18:45:30 +00:00
yury
894e61f6bd
* pas2jni: Support for raw Java Objects as function parameters and result. Avoid possible duplicate parameter names.
...
git-svn-id: trunk@32607 -
2015-12-07 17:48:38 +00:00
yury
0e056ece03
* pas2jni: Basic support for arrays.
...
git-svn-id: trunk@32578 -
2015-12-04 14:50:15 +00:00
yury
d973c1c0c9
* pas2jni: Support for interfaces.
...
git-svn-id: trunk@32563 -
2015-12-01 16:04:15 +00:00
yury
3c32f814de
* pas2jni: Fixed memory leaks when using method pointers.
...
git-svn-id: trunk@32561 -
2015-12-01 14:22:31 +00:00
yury
cddbe1b83d
* pas2jni:
...
- Support for objects.
- Support for pointers to records,objects,classes.
- Fixed memory leaks when using records.
- Added handy enum constructors.
git-svn-id: trunk@32560 -
2015-12-01 11:56:29 +00:00
yury
3e894e592d
* pas2jni: Fixed code generation for i386 targets.
...
git-svn-id: trunk@32539 -
2015-11-26 19:21:04 +00:00
yury
de770592da
* pas2jni: - Fixed method pointer handling for ARM platforms.
...
- Support for the JNI_OnException custom handler.
- Added useful info to the readme.
git-svn-id: trunk@29419 -
2015-01-05 18:27:53 +00:00
yury
0809bde8f2
* pas2jni: Again fixed exclusion of descendant classes.
...
git-svn-id: trunk@29161 -
2014-11-26 17:01:04 +00:00
yury
7860959a13
* pas2jni: Fixed exclusion of descendant classes.
...
git-svn-id: trunk@29152 -
2014-11-26 11:33:26 +00:00
yury
e318185d27
* pas2jni: Properly handle indexed properties with more than one index parameters.
...
git-svn-id: trunk@29147 -
2014-11-25 17:40:07 +00:00
yury
defc13f9ec
* pas2jni: Fixed enums, added equals() methods to objects, enums and sets.
...
git-svn-id: trunk@28048 -
2014-06-24 13:57:31 +00:00
yury
a27ea85560
* pas2jni: Fixed the Pointer() support function.
...
git-svn-id: trunk@28046 -
2014-06-24 10:52:14 +00:00
yury
045429327b
* pas2jni: Handle null objects in the Pointer() support function.
...
git-svn-id: trunk@28043 -
2014-06-24 09:49:09 +00:00
yury
f526f39f8f
* pas2jni: Always specify unit prefix for types in the generated bridge code.
...
git-svn-id: trunk@27811 -
2014-05-22 13:47:46 +00:00
yury
f1727c58c3
* pas2jni: Type cast support. nil objects support.
...
git-svn-id: trunk@27684 -
2014-04-28 14:59:21 +00:00
yury
8f96b9985f
* pas2jni: Revert "Suppress unused import warnings" since it produce other warnings.
...
git-svn-id: trunk@27681 -
2014-04-28 10:58:24 +00:00