Re: [fpc-devel] Request to apply (and merge) patch from bug 19313

2011-08-28 Thread Luiz Americo Pereira Camara
On 28/8/2011 05:07, Marco van de Voort wrote: In our previous episode, Luiz Americo Pereira Camara said: http://bugs.freepascal.org/view.php?id=19313 that fix the cited regression (notice that the fixes branch also has this bug) Done. Thanks Luiz _

Re: [fpc-devel] FPC-JVM: Status report on Android

2011-08-28 Thread Jonas Maebe
On 28 Aug 2011, at 23:01, Jonas Maebe wrote: > The org.freepascal.rtl.system class verifies fine here, and the FpcBitSet > stuff also works fine. Maybe the methods of java.util.BitSet (on which > org.freepascal.rtl.FpcBitSet is based) have different signatures in the > Android version compared

Re: [fpc-devel] FPC-JVM: Breaking up a cycle

2011-08-28 Thread Jonas Maebe
On 28 Aug 2011, at 21:59, Sven Barth wrote: > Here it is: > > === output begin === > > Compiled from "FileObserver.java" > public abstract class android.os.FileObserver extends java.lang.Object{ >public static final int ACCESS; >public static final int MODIFY; >public static final i

Re: [fpc-devel] FPC-JVM: Problem with String => CharSequence

2011-08-28 Thread Jonas Maebe
On 28 Aug 2011, at 22:55, Jonas Maebe wrote: > On 28 Aug 2011, at 22:02, Sven Barth wrote: > >> Would adding an operator overload for implicit cast solve the problem? I'm >> not talking about adding it to System or JDK15, but maybe a seperate unit... > > I don't think that is not possible. -n

Re: [fpc-devel] FPC-JVM: Status report on Android

2011-08-28 Thread Jonas Maebe
On 28 Aug 2011, at 22:16, Sven Barth wrote: > On 28.08.2011 21:38, Jonas Maebe wrote: >> >> On 27 Aug 2011, at 17:43, Sven Barth wrote: >> >>> And here the log entry when building the Java based example with a class >>> that derives from TObject: >>> >>> === begin build log === >>> >>> [

Re: [fpc-devel] FPC-JVM: Problem with String => CharSequence

2011-08-28 Thread Jonas Maebe
On 28 Aug 2011, at 22:02, Sven Barth wrote: > Would adding an operator overload for implicit cast solve the problem? I'm > not talking about adding it to System or JDK15, but maybe a seperate unit... I don't think that is not possible. You can at least not overload the assignment operator for

Re: [fpc-devel] FPC-JVM: Status report on Android

2011-08-28 Thread Sven Barth
On 28.08.2011 21:38, Jonas Maebe wrote: On 27 Aug 2011, at 17:43, Sven Barth wrote: When running the full FPC application (or "activity"): === begin run log === I/ActivityManager( 59): Start proc org.freepascal.helloworld for activity org.freepascal.helloworld/.THelloWorld: pid=601 uid=10

Re: [fpc-devel] FPC-JVM: Problem with String => CharSequence

2011-08-28 Thread Sven Barth
On 28.08.2011 21:32, Jonas Maebe wrote: On 27 Aug 2011, at 12:00, Sven Barth wrote: Now that the cycle problem was solved (I don't know whether it works, because I'm still trying to get a test working ^^), I've encountered the next problem. The android.widget.TextView class has a method set

Re: [fpc-devel] FPC-JVM: Breaking up a cycle

2011-08-28 Thread Sven Barth
While we're at it: for one class (android.os.FileObserver, see here: http://developer.android.com/reference/android/os/FileObserver.html ) it generated the following: === source begin === public procedure_(para1: JLString); overload; virtual; procedure_(para1: JLString; para2: jint);

Re: [fpc-devel] FPC-JVM: Status report on Android

2011-08-28 Thread Jonas Maebe
On 27 Aug 2011, at 17:43, Sven Barth wrote: > When running the full FPC application (or "activity"): > > === begin run log === > > I/ActivityManager( 59): Start proc org.freepascal.helloworld for activity > org.freepascal.helloworld/.THelloWorld: pid=601 uid=10035 gids={1015} > D/dalvikvm(

Re: [fpc-devel] FPC-JVM: Problem with String => CharSequence

2011-08-28 Thread Jonas Maebe
On 27 Aug 2011, at 12:00, Sven Barth wrote: > Now that the cycle problem was solved (I don't know whether it works, > because I'm still trying to get a test working ^^), I've encountered the next > problem. The android.widget.TextView class has a method setText that takes a > CharSequence whi

Re: [fpc-devel] FPC-JVM: Breaking up a cycle

2011-08-28 Thread Jonas Maebe
On 27 Aug 2011, at 11:33, Sven Barth wrote: > On 27.08.2011 00:49, Jonas Maebe wrote: >> >> BTW: the javapp program normally solves the ordering problem for you. >> However, it can't do that if there are circular references... Normally, >> you'd solve those by specifying the classes whose remo

[fpc-devel] DIFF for consideration

2011-08-28 Thread David Welch
See attached. Index: rtl/embedded/arm/lpc1768.pp === --- rtl/embedded/arm/lpc1768.pp (revision 0) +++ rtl/embedded/arm/lpc1768.pp (revision 0) @@ -0,0 +1,160 @@ + +unit lpc1768; + +{$goto on} +{$define lpc1768} + +interface + +var

Re: [fpc-devel] Request to apply (and merge) patch from bug 19313

2011-08-28 Thread Marco van de Voort
In our previous episode, Luiz Americo Pereira Camara said: > http://bugs.freepascal.org/view.php?id=19313 that fix the cited > regression (notice that the fixes branch also has this bug) Done. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org ht