You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(29) |
Aug
(75) |
Sep
(32) |
Oct
(147) |
Nov
(31) |
Dec
(49) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(46) |
Feb
(35) |
Mar
(148) |
Apr
(33) |
May
(53) |
Jun
(46) |
Jul
(60) |
Aug
(44) |
Sep
(135) |
Oct
(23) |
Nov
(68) |
Dec
(42) |
2011 |
Jan
(94) |
Feb
(55) |
Mar
(114) |
Apr
(78) |
May
(64) |
Jun
(10) |
Jul
(31) |
Aug
(2) |
Sep
(25) |
Oct
(13) |
Nov
(8) |
Dec
(24) |
2012 |
Jan
(5) |
Feb
(33) |
Mar
(31) |
Apr
(19) |
May
(24) |
Jun
(23) |
Jul
(14) |
Aug
(15) |
Sep
(12) |
Oct
(3) |
Nov
(4) |
Dec
(19) |
2013 |
Jan
(8) |
Feb
(20) |
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
(4) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(6) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Anson T. <an...@mo...> - 2012-09-08 07:31:18
|
Dear Arno: I am using iphone app using c backend,., and what's the difference for those package under org.xmlvm.ios org.xmlvm.iphone thanks you regards anson |
From: Anson T. <an...@mo...> - 2012-09-08 03:54:43
|
Hi,Folks., I am using new ios api and when running the app, it shows the message , *XMLVM Error: Unimplemented native method: (java_net_InetAddress_getHostByNameImpl___java_lang_String_boolean):/Users/netmeeting/svn_repository/xmlvm/trunk/xmlvm/demo/iphone/RoomBooking/dist/../build/xcode/src/app/native_java_net_InetAddress.m:82 * java code , URL url = new URL("http://xxx.xxx.xxxx.xxx/......"); //where it returns json URLConnection tc = url.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader( tc.getInputStream(), "UTF-8")); -- |
From: Kensuke M. <mat...@ki...> - 2012-09-06 02:20:41
|
Hi, http://xmlvm.svn.sourceforge.net/viewvc/xmlvm/trunk/xmlvm/lib/redlist.txt?revision=2338&view=markup 'redlist.txt' is a list of unsupported classes. It would be help to estimate the amount of change to convert your project. e.g. org.apache.commons.logging.Log isn't supported yet. Kensuke |
From: russ s. <vis...@gm...> - 2012-09-05 18:43:33
|
please remove me from the mailing list -- russ sexton |
From: Nikolai P. <ni...@np...> - 2012-09-05 17:06:07
|
Hi John, You should put un argument to let java use more memory. Try executing the same command, but with "-Xmx2G" argument: java -Xmx2G -jar xmlvm.jar --in=/HelloWorld.class --target=iphone --iphone-app=TheApplication Regards, Nick On Sep 5, 2012, at 5:47 PM, John Tan <joh...@ho...> wrote: > Dear Arno, > I am having problems trying to compile a my HelloWorld.class file to Objective C code. > > The Java code that I generate my class file with is as shown below: > > public class HelloWorld { > > public void HelloWorld() { > System.out.println ("Hello World!"); > } > } > > In my Mac OS Terminal, I type: > > java -jar xmlvm.jar --in=/HelloWorld.class --target=iphone --iphone-app=TheApplication > > (xmlvm.jar file has been generated.) > > However I get this compilation error message: > > Exception in thread "main" java.lang.OutOfMemoryError: Java heap space > at java.util.Arrays.copyOf(Arrays.java:2786) > at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:133) > at com.simontuffs.onejar.JarClassLoader.alreadyCached(JarClassLoader.java:796) > at com.simontuffs.onejar.JarClassLoader.loadBytes(JarClassLoader.java:509) > at com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java:455) > at com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java:446) > at com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:386) > at com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:276) > at com.simontuffs.onejar.Boot.run(Boot.java:282) > at com.simontuffs.onejar.Boot.main(Boot.java:159) > > Please advise. > > Thank you very much for your kind efforts, > > Cheers, > John > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Markus N. <mar...@gm...> - 2012-09-05 16:39:20
|
Hi John, Several issues with what you are trying to achieve: 1. For the out of memory exception just add increase the heap space of the vm like this: java -Xmx 2G -jar xmlvm.jar --in=/HelloWorld.class --target=iphone --iphone-app=TheApplication 2. If you want to cross-compile to the iPhone you can't just simply use a Java program with a main method as entry point but you will have to extend UIApplicationDelegate instead. Check out the tutorial under http://xmlvm.org/tutorial/ which steps you through creating a simple HelloWorld and also includes a ton of other example apps Cheers, Markus On Wed, Sep 5, 2012 at 8:47 AM, John Tan <joh...@ho...>wrote: > Dear Arno, > I am having problems trying to compile a my HelloWorld.class file to > Objective C code. > > The Java code that I generate my class file with is as shown below: > > public class HelloWorld { > > public void HelloWorld() { > System.out.println ("Hello World!"); > } > } > > In my Mac OS Terminal, I type: > > java -jar xmlvm.jar --in=/HelloWorld.class --target=iphone > --iphone-app=TheApplication > > (xmlvm.jar file has been generated.) > > However I get this compilation error message: > > Exception in thread "main" java.lang.OutOfMemoryError: Java heap space > at java.util.Arrays.copyOf(Arrays.java:2786) > at > java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:133) > at > com.simontuffs.onejar.JarClassLoader.alreadyCached(JarClassLoader.java:796) > at com.simontuffs.onejar.JarClassLoader.loadBytes(JarClassLoader.java:509) > at > com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java:455) > at > com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java:446) > at com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:386) > at com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:276) > at com.simontuffs.onejar.Boot.run(Boot.java:282) > at com.simontuffs.onejar.Boot.main(Boot.java:159) > > Please advise. > > Thank you very much for your kind efforts, > > Cheers, > John > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: John T. <joh...@ho...> - 2012-09-05 15:48:04
|
Dear Arno, I am having problems trying to compile a my HelloWorld.class file to Objective C code. The Java code that I generate my class file with is as shown below: public class HelloWorld { public void HelloWorld() { System.out.println ("Hello World!"); }} In my Mac OS Terminal, I type: java -jar xmlvm.jar --in=/HelloWorld.class --target=iphone --iphone-app=TheApplication (xmlvm.jar file has been generated.) However I get this compilation error message: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2786) at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:133) at com.simontuffs.onejar.JarClassLoader.alreadyCached(JarClassLoader.java:796) at com.simontuffs.onejar.JarClassLoader.loadBytes(JarClassLoader.java:509) at com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java:455) at com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java:446) at com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:386) at com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:276) at com.simontuffs.onejar.Boot.run(Boot.java:282) at com.simontuffs.onejar.Boot.main(Boot.java:159) Please advise. Thank you very much for your kind efforts, Cheers,John |
From: Sascha H. <sa...@xm...> - 2012-09-04 00:48:23
|
Hi, sorry for the delay, but I just submitted the patch as: http://xmlvm.svn.sourceforge.net/viewvc/xmlvm?view=revision&revision=2346 // Sascha On Thu, Aug 2, 2012 at 4:02 AM, Kensuke Matsuzaki <mat...@ki...>wrote: > Hi Sascha, > > Great. I'm happy to hear that. > > On 2012/08/02 7:40, Sascha Haeberling wrote: > > Hi Kensuke, > > > > glad you asked. We're in the final stages of reviewing the patch. The > plan is to get it in until the end of the week. > > > > Feel free to ping me directly should it not be in until then. > > > > // Sascha > > > -- > 松崎 憲介 (MATSUZAKI Kensuke) > URL : http://www.kitec.co.jp/ > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Anson T. <an...@mo...> - 2012-08-29 06:33:39
|
Dose xmlvm support android.os.Parcelable regards anson |
From: Anson T. <an...@mo...> - 2012-08-29 05:17:41
|
-- Office: +886.82812597 Mobile: +886 986-154449 Mail: an...@ma... MSN: ja...@ho... MoGaMe Mobile Entertainment Co., Ltd. | www.i3g.com.tw | http://android-javatai.blogspot.com/ | http://www.mogame.com.tw/portal/vibo |
From: Carlo B. <car...@gm...> - 2012-08-27 09:37:14
|
Dear all, I am currently trying to cross compile my 3D game engine from Java (nearly pure - platform specific code is separated) to Iphone ObjC. Things seems to go well, but not all the Opengl methods are available in the GL header file, for ex. GlNormalPointer. Also Direct Float Buffers are throwing an exception of a Red class under Xcode, I switched to Non Direct Float buffers. I would be interested in adding the missing wrapped opengl methods but I do not know exactly the steps to take. It would be nice if you could explain to me these steps, I would of course supply a new patch if it is working well. Thank you in advance, Best regards, Carlo |
From: JR S. <sc...@we...> - 2012-08-26 19:29:46
|
It appears that OpenGL support isn't complete in the new IOS API. From what I can tell, not many changes would be needed: 0) The org.xmlvm.iphone.gl.GL wrapper class can still be utilized, unmodified, even in the new IOS API since it is a pure static warpper of OpenGL calls. In other words, since nothing derives from NSObject, it does not "contaminate" the new API. 1) A analogous UIViewGL class is needed to change the backing layer type to a CAEGLayer. This seems to be the trickiest part to me, since this requires making a new class and wrapper class. 2) A few unimplemented methods (renderbufferStorage and presentRenderBuffer) need to be implemented natively. This appears really easy, as it seems you an use the existing org.xmlvm.iphone.* native code with little or no modification. Has anyone tried this? Step 1) seems to be the trickiest part, at least for the uninitiated. If someone is willing to do 1), I will give 2) a shot and be happy to forward on the results / patch. JR -- J.R. Schmidt WebMO, LLC Fax: (734) 418-1077 E-mail: sc...@we... http://www.webmo.net |
From: Victor S. <vic...@gm...> - 2012-08-26 00:17:42
|
Hi All, I'm developer of opensource app http://github.com/osmandapp/Osmand(basically mobile navigation ). I would like to know how feasible will be to convert the project to iOs using xmlvm? I'm fine with contribution and changing code from Android/Java approach to compliant library. Application itself is quite simple however it consists of >100K lines. It uses threading/computation/IO/and custom UI heavily. Where also I could find tutorial how to configure Android project to work with llvm? Many Thanks, Victor |
From: Markus N. <mar...@gm...> - 2012-08-15 15:23:59
|
Thanks for the feedback. I removed the class from the redlist in the xmlvm trunk. This one must have slipped through the cracks when java.nio.* was originally implemented in the C Backend. Markus On Wed, Aug 15, 2012 at 7:56 AM, JR Schmidt <sc...@we...> wrote: > After removing the java.nio.ByteOrder class from the redlist, it appears > to work without any issues. Since this is a relatively important member of > java.nio.*, I would recommend that it be un-banished by default. > > JR > > > On 8/13/2012 9:16 PM, Markus Neubrand wrote: > > Hi, > > java.nio.ByteOrder is on XMLVM's redlist (not sure why it was added > there). I don't know why it was originally added there. > To include it in the cross-compilation simply remove it from the > /lib/redlist.txt and give it another shot. > > In case you get new errors after that (e.g. unimplemented native > methods, etc.) let us know. > > Markus > > > On Mon, Aug 13, 2012 at 7:10 PM, JR Schmidt <sc...@we...> wrote: > >> It appears that the java.nio.ByteOrder class is not implemented in the C >> interface. This seems odd,as the rest of the java.nio.* class is >> entirely present and functional. This means that it is impossible to >> switch the byte order from the default BIG_ENDIAN. >> >> Is this an intentional omission (i.e. only one byte order is >> implemented)? Is there an easy work around? It would seem that the >> ByteOrder class should have been translated along with the rest of the >> package, automatically! >> >> JR >> >> -- >> J.R. Schmidt >> WebMO, LLC >> >> Fax: (734) 418-1077 <%28734%29%20418-1077> >> E-mail: sc...@we... >> http://www.webmo.net >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > > > > -- > J.R. Schmidt > WebMO, LLC > > Fax: (734) 418-1077 > E-mail: sc...@we...http://www.webmo.net > > |
From: JR S. <sc...@we...> - 2012-08-15 14:56:45
|
After removing the java.nio.ByteOrder class from the redlist, it appears to work without any issues. Since this is a relatively important member of java.nio.*, I would recommend that it be un-banished by default. JR On 8/13/2012 9:16 PM, Markus Neubrand wrote: > Hi, > > java.nio.ByteOrder is on XMLVM's redlist (not sure why it was added > there). I don't know why it was originally added there. > To include it in the cross-compilation simply remove it from the > /lib/redlist.txt and give it another shot. > > In case you get new errors after that (e.g. unimplemented native > methods, etc.) let us know. > > Markus > > > On Mon, Aug 13, 2012 at 7:10 PM, JR Schmidt <sc...@we... > <mailto:sc...@we...>> wrote: > > It appears that the java.nio.ByteOrder class is not implemented in > the C > interface. This seems odd,as the rest of the java.nio.* class is > entirely present and functional. This means that it is impossible to > switch the byte order from the default BIG_ENDIAN. > > Is this an intentional omission (i.e. only one byte order is > implemented)? Is there an easy work around? It would seem that the > ByteOrder class should have been translated along with the rest of the > package, automatically! > > JR > > -- > J.R. Schmidt > WebMO, LLC > > Fax: (734) 418-1077 <tel:%28734%29%20418-1077> > E-mail: sc...@we... <mailto:sc...@we...> > http://www.webmo.net > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > xmlvm-users mailing list > xml...@li... > <mailto:xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > -- J.R. Schmidt WebMO, LLC Fax: (734) 418-1077 E-mail: sc...@we... http://www.webmo.net |
From: Markus N. <mar...@gm...> - 2012-08-14 02:16:40
|
Hi, java.nio.ByteOrder is on XMLVM's redlist (not sure why it was added there). I don't know why it was originally added there. To include it in the cross-compilation simply remove it from the /lib/redlist.txt and give it another shot. In case you get new errors after that (e.g. unimplemented native methods, etc.) let us know. Markus On Mon, Aug 13, 2012 at 7:10 PM, JR Schmidt <sc...@we...> wrote: > It appears that the java.nio.ByteOrder class is not implemented in the C > interface. This seems odd,as the rest of the java.nio.* class is > entirely present and functional. This means that it is impossible to > switch the byte order from the default BIG_ENDIAN. > > Is this an intentional omission (i.e. only one byte order is > implemented)? Is there an easy work around? It would seem that the > ByteOrder class should have been translated along with the rest of the > package, automatically! > > JR > > -- > J.R. Schmidt > WebMO, LLC > > Fax: (734) 418-1077 > E-mail: sc...@we... > http://www.webmo.net > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: JR S. <sc...@we...> - 2012-08-14 02:14:28
|
For the benefit of the community, I post the following observation: With XMLVM code, the use of "synchronized" methods results in a massive performance hit as compared to unsynchronized methods. This can crop up in many cases, e.g. the use of the old fashion "Vector" or "Hashtable" java classes (which are both synchronized). Replacing those by the newer, unsynchronized ArrayList / HashMap classes results in a huge (100-1000x!) performance increase in these functions. While there is also some performance hit from synchronization in the corresponding "native" Java code, it is FAR more modest. JR -- J.R. Schmidt WebMO, LLC Fax: (734) 418-1077 E-mail: sc...@we... http://www.webmo.net |
From: JR S. <sc...@we...> - 2012-08-14 02:10:27
|
It appears that the java.nio.ByteOrder class is not implemented in the C interface. This seems odd,as the rest of the java.nio.* class is entirely present and functional. This means that it is impossible to switch the byte order from the default BIG_ENDIAN. Is this an intentional omission (i.e. only one byte order is implemented)? Is there an easy work around? It would seem that the ByteOrder class should have been translated along with the rest of the package, automatically! JR -- J.R. Schmidt WebMO, LLC Fax: (734) 418-1077 E-mail: sc...@we... http://www.webmo.net |
From: Arno P. <ar...@pu...> - 2012-08-02 20:58:38
|
AFAIK iOS does not support animated GIFs. This page describes how to do this under iOS: http://www.icodeblog.com/2009/07/24/iphone-programming-tutorial-animating-a-game-sprite/ Note that you need the new C backend if you want to do this with XMLVM (look for --xmlvm-new-ios-api in this form to see how to use the new C backend). Arno On 8/1/12 11:26 PM, Mastrolorito, Mick wrote: > Anybody tried using an existing animation as such: > > UIImageView img = *new*UIImageView(*new*CGRect(5, 150, 300, 140)); > > img.setImage(UIImage./imageNamed/("bob.gif")); > > I’m new to XMLVM and would like to learn how to deploy simple animations. > > bob.gif runs as an animated gif in the browser. > > It works fine if bob.gif is a still image rather than animation. > > Any other UI api available to run the animation? > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Kensuke M. <mat...@ki...> - 2012-08-02 11:02:40
|
Hi Sascha, Great. I'm happy to hear that. On 2012/08/02 7:40, Sascha Haeberling wrote: > Hi Kensuke, > > glad you asked. We're in the final stages of reviewing the patch. The plan is to get it in until the end of the week. > > Feel free to ping me directly should it not be in until then. > > // Sascha > -- 松崎 憲介 (MATSUZAKI Kensuke) URL : http://www.kitec.co.jp/ |
From: Mastrolorito, M. <Mic...@hp...> - 2012-08-02 06:27:20
|
Anybody tried using an existing animation as such: UIImageView img = new UIImageView(new CGRect(5, 150, 300, 140)); img.setImage(UIImage.imageNamed("bob.gif")); I'm new to XMLVM and would like to learn how to deploy simple animations. bob.gif runs as an animated gif in the browser. It works fine if bob.gif is a still image rather than animation. Any other UI api available to run the animation? |
From: Sascha H. <sa...@xm...> - 2012-08-01 22:40:54
|
Hi Kensuke, glad you asked. We're in the final stages of reviewing the patch. The plan is to get it in until the end of the week. Feel free to ping me directly should it not be in until then. // Sascha On Tue, Jul 31, 2012 at 7:52 PM, Kensuke Matsuzaki <mat...@ki...>wrote: > Hi, > > Is there anyone who working on "Accenture XMLVM enhancements for > model-only translation"? > http://xmlvm-reviews.appspot.com/216001/ > > I think this patch can be split into three independent patches > A) model-only translation > 1, 2, 3 > B) bug fix or lack of features. > 4, 6, 7, 8 > C) mobile Qooxdoo > 5 > > I'm interested in A and B. > -- > 松崎 憲介 (MATSUZAKI Kensuke) > URL : http://www.kitec.co.jp/ > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Kensuke M. <mat...@ki...> - 2012-08-01 02:52:30
|
Hi, Is there anyone who working on "Accenture XMLVM enhancements for model-only translation"? http://xmlvm-reviews.appspot.com/216001/ I think this patch can be split into three independent patches A) model-only translation 1, 2, 3 B) bug fix or lack of features. 4, 6, 7, 8 C) mobile Qooxdoo 5 I'm interested in A and B. -- 松崎 憲介 (MATSUZAKI Kensuke) URL : http://www.kitec.co.jp/ |
From: Arno P. <ar...@pu...> - 2012-07-27 01:00:03
|
those comment markers are always emitted but only used for skeleton classes. For skeleton classes, XMLVM will inject the implementation between those comment markers into the generated code. This is meant as an internal mechanism and shouldn't be used by a developer. You can mark methods as 'native'. In those cases XMLVM will not emit an implementation and you can link a separate file to your executable that provides the implementation of the native methods. In this case you have to comply to XMLVM's name mangling and passing of parameters. As a first step, add a static native method to a class and compile this with XMLVM. The linker's unresolved external error will guide you what to do. Arno On 7/25/12 8:15 PM, JR Schmidt wrote: > I am curious as for the recommended approach for including native C/ObjC > implementations of Java functions, as is done for many of the > XMLVM-included classes. I am starting with an XMLVM skeleton project > and using ant. The ant "run" target generated C code from Java. But > modifying the resulting code in Xcode between the > //XMLVM_BEGIN_IMPLEMENTATION > //XMLVM_END_IMPLEMENTATION, > the resulting code is lost / overwriteen upon the next ant "run". I see > that XMLVM contains a "gen-c-wrappers" target which implies it preserves > changes, but modifying the build.xml to use this target didn't see to > help either. > > Any references / suggestions would be appreciated. > |
From: JR S. <sc...@we...> - 2012-07-26 03:15:19
|
I am curious as for the recommended approach for including native C/ObjC implementations of Java functions, as is done for many of the XMLVM-included classes. I am starting with an XMLVM skeleton project and using ant. The ant "run" target generated C code from Java. But modifying the resulting code in Xcode between the //XMLVM_BEGIN_IMPLEMENTATION //XMLVM_END_IMPLEMENTATION, the resulting code is lost / overwriteen upon the next ant "run". I see that XMLVM contains a "gen-c-wrappers" target which implies it preserves changes, but modifying the build.xml to use this target didn't see to help either. Any references / suggestions would be appreciated. -- J.R. Schmidt WebMO, LLC |