From: Arno P. <ar...@pu...> - 2011-02-11 21:06:20
|
Kevin, things are changing in XMLVM. We are in the middle of transitioning to the new C backend which will make the Objective-C backend obsolete. One benefit is that we can cross-compile Apache Harmony, so there is no longer the need for hand-writing J2SE classes in Objective-C (which means, the java.nio.Buffer bug will go away with the C backend). There is still API missing from both the Objective-C and the C backend. Patches are certainly more than welcome, however, I would prefer if you submitted patches for the C backend, since we will deprecate the Objective-C backend soon. To get you started: - add the missing Cocoa API in xmlvm/src/xmlvm2obj/compat-lib/java - run "ant gen-c-wrappers" - this will generate C wrappers in src/xmlvm2c/compat-lib/iphone - provide implementation in those wrappers between the special //XMLVM_BEGIN_ and //XMLVM_END_ markers If you want to use the C backend to cross-compile iFireworks, you can do the following: java -Xmx700m -jar dist/xmlvm.jar --target=iphonec \ --in=demo/iphone/ifireworks/build/classes/ \ --resource=demo/iphone/ifireworks/res/ \ --app-name=iFireworks --out=out There are also some slides in xmlvm/doc/slides that give a quick overview of the C backend (in the middle of the slide deck). When you have a patch, you can upload it to our review system as described here: http://xmlvm.org/contribute/ Arno On 2/11/11 7:03 AM, Kevin Glass wrote: > There's a couple of bugs in the java.nio.Buffer implementations for > ObjC. There's also a method on CGFont (CopyFullName) that'd be really > useful given the changes in iOS 4 - how do I go about submitting patches > for things these days? > > Kev > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |