Changes & Stacks

Post Image

One of the great features we've added to the new iOS VM is the ability to get proper stack traces without a performance penalty. This is actually pretty easy to implement in a performant way, every entry to a method just registers an integer number representing the method name and class name and every time we reach a line number in the source file ...

Read More

Beating The ARC

Post Image

For the uninitiated, ARC is Apple's term for Automatic Reference Counting. Objective-C uses a reference counting scenario to collect objects which is pretty painful to work with. Personally I preferred C/C++'s manual delete/free to the Objective-C semantics. But a couple of years ago Apple introduced ARC in which the compiler implicitly inserts the...

Read More

Understanding Peer (native) Components & Why Codename One is so portable

Post Image

I've had some talks with rather savvy Codename One developers recently which made me realize that quite a few developers don't truly grasp the reason why we have a separation between peer (native) components and Codename One components. This is a crucial thing you need to understand especially if you plan on working with native widgets e.g. Web Bro...

Read More

VM Stats

Post Image

If you haven't yet filled out the developer economics survey please do so now! We are still short of 30 entries in order to get better logo placement in the released survey. This is important since the people who read these surveys are of a demographic that's much harder for us to reach normally. It would help us greatly if you would convince your ...

Read More

Screenshots and Graphics Update

Post Image

If you read the article about the 7 screenshots of iOS you might have wondered whether you can just supply these screenshots yourself? Well, now you can. Our build server will now generate the screenshots only if they don't already exist in the jar so you will need to create the right png images in the exact resolutions mentioned below: Default.p...

Read More

New VM

Post Image

You might have noticed things have been a bit quiet with new features recently. That is because we had a bit of a holiday around here and because we spent a great deal of time working on a new VM for iOS. This work is still ongoing and basic things such as the garbage collection scheme are still incomplete but we are now ready to talk about the mot...

Read More

Placing

Post Image

Up until now debugging location oriented applications in the simulator was a bit painful, there was no real way other than coding to a specific location and if you relied on specific GIS data you couldn't easily debug that case. Chen was working with an enterprise customer and got fed up with that so he built a UI which you should be able to acces...

Read More

Please Help Us By Filling The Developer Economics Survey

Post Image

The last time we had a developer economics survey you guys really came thru and made us one of the top contributors for that survey! This year the stakes are even higher and the incentive for referrals is greater, if you want to help us promote Codename One to a people outside of the core Java developer community then please fill out this survey us...

Read More

Leading

Post Image

One of our enterprise accounts was using lead component in a rather unique setting and needed a way to "unlead" essentially disable the lead component functionality which is one of those things we never imagined people doing. As a result we allowed setLeadComponent(null) to effectively "do the right thing" for most cases. This reminded me that lea...

Read More
Post Image

New Android Pipeline Fixes

We introduced a new rendering pipeline for Android a while back, it showed a lot of potential but unfortunately still had some major bugs. Chen just made some major fixes for this pipeline which should hopefully address those issues, please start testing your app with this pipeline and let us know if you experience regressions as a result of that. ...

Read More