23rd March friday - This week was very interresting when it comes to Android development. I fixed a major problem which was a memory corruption due to a double free which caused strange crashes. Now LCL-CustomDrawn can already run large projects like the Virtual Magnifying Glass! (although it still needs improvements to run it perfectly)
This nasty issue was bug 21274
This fix also opens the door to the using the Android style in LCL-CustomDrawn-Android, although there are still issues before this can work perfectly. Right now the font drawing generates some white pixels, and I'm not sure how to fix, maybe with a filter to remove from the drawing those pixels or with a migration to non-native text rendering (too risky right now).
When it comes to the native Android look I advanced a lot the following controls:
*CheckBox
*RadioButton
Although they still work better directly via TCDCheckBox and TCDRadioButton instead of via TCheckBox/TRadioButton in LCL-CustomDrawn
Merged large changes to LazFreeType which implement TextHeight
Implemented the painting of "Erase Background" in all wincontrols in LCL-CustomDrawn. This fixes TNotebook which is now perfect =)
I also started 2 new FPC branches for Android development:
http://p-tools.svn.sourceforge.net/viewvc/p-tools/fpc4android/ with FPC 2.5.1 which requires FPC 2.4.4 to build and is finished
http://p-tools.svn.sourceforge.net/viewvc/p-tools/fpc4android_2_6/ which is FPC 2.6.1 and requires FPC 2.6.0 to build. This one is work in progress, don't use it yet.
I also fixed the Z-order of event handling for overlapping controls, which was previously wrong.
Just thought people would like to know how we are progressing =)