hg: openjfx/8/graphics/rt: RT-32872: com.sun.javafx.css.BitSet retainAll yielding in an empty intersection should result in bits being set to EMPTY_SET. In other words, if bitSet.isEmpty(), then bits
Changeset: ca4ad7f14aeb Author:David Grievedavid.gri...@oracle.com Date: 2013-10-29 08:15 -0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/ca4ad7f14aeb RT-32872: com.sun.javafx.css.BitSet retainAll yielding in an empty intersection should result in bits being set to EMPTY_SET. In other words, if bitSet.isEmpty(), then bits should be long[0] ! modules/graphics/src/main/java/com/sun/javafx/css/BitSet.java ! modules/graphics/src/test/java/com/sun/javafx/css/PseudoClassTest.java
hg: openjfx/8/graphics/rt: RT-33886 : IMX6 - FX doesn't run on imx6 post recent platform layer changes
Changeset: 52c8add4d3ba Author:Rafi Tayar rafi.ta...@oracle.com Date: 2013-10-29 15:09 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/52c8add4d3ba RT-33886 : IMX6 - FX doesn't run on imx6 post recent platform layer changes Reviewed-by: Daniel Blaukopf ! modules/graphics/src/main/native-glass/lens/lensport/wrapped_functions.c
hg: openjfx/8/graphics/rt: RT-33591 : Add support for imx6 - change platform detection logic to work on freescale hard-float OS
Changeset: 59edf97df704 Author:Rafi Tayar rafi.ta...@oracle.com Date: 2013-10-29 15:30 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/59edf97df704 RT-33591 : Add support for imx6 - change platform detection logic to work on freescale hard-float OS Reviewed-by : Daniel Blaukopf ! modules/graphics/src/main/native-glass/lens/lensport/imx6Cursor.c ! modules/graphics/src/main/native-glass/lens/lensport/wrapped_functions.c
hg: openjfx/8/graphics/rt: RT-31033: LabeledText needs to report the StyleOrigin of the mirrored property
Changeset: 9685fddbf8be Author:David Grievedavid.gri...@oracle.com Date: 2013-10-29 09:43 -0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/9685fddbf8be RT-31033: LabeledText needs to report the StyleOrigin of the mirrored property Reviewed by: Mick ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/LabeledText.java
Re: iOS Default font is wrong
If the OS is reporting the wrong value for the default a classic trick is to create a dummy control that normally has the font we want and query that. Steve On 2013-10-29 11:21 AM, Richard Bair wrote: Hi guys, The default font for iOS is supposed to be System Bold 15 (according to http://stackoverflow.com/questions/17325152/what-size-font-is-the-title-in-a-default-uibutton anyway), and it does look more correct to me. Our code is getting to this native method in MacFontFinder.c JNIEXPORT jfloat JNICALL Java_com_sun_javafx_font_MacFontFinder_getSystemFontSize (JNIEnv *env, jclass obj) { CTFontRef font = CTFontCreateUIFontForLanguage( kCTFontSystemFontType, 0.0, //get system font with default size NULL); jfloat systemFontDefaultSize = (jfloat) CTFontGetSize (font); CFRelease(font); return systemFontDefaultSize; } However it appears the return value is 13 instead of 15 (and I don't know what the actual default font family / weight is that we're returning). It is possible the answer coming from this native API call is wrong. Any ideas? Richard
hg: openjfx/8/graphics/rt: 3 new changesets
Changeset: 3f7db573094b Author:hudson Date: 2013-10-24 08:10 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/3f7db573094b Added tag 8.0-b113 for changeset 50cde3719e4d ! .hgtags Changeset: fb445ad29796 Author:mv157916 Date: 2013-10-28 11:53 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/fb445ad29796 RT-33889: Update the JDK 8 build number to b113 in rt/build.properties file in the JavaFX 8 Master forest. ! build.properties Changeset: 0eaab143699b Author:jgodinez Date: 2013-10-29 09:35 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/0eaab143699b Automated merge with ssh://jfxsrc.us.oracle.com//javafx/8.0/MASTER/jfx/rt - modules/fxml/src/main/java/javafx/fxml/ParseTraceElement.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/FTDisposer.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/FTFontFile.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/FTFontStrike.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/FTGlyph.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/FT_Bitmap.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/FT_GlyphSlotRec.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/FT_Glyph_Metrics.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/FT_Matrix.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/OS.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/PangoFactory.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/PangoGlyphInfo.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/PangoGlyphLayout.java - modules/graphics/src/main/java/com/sun/javafx/font/pango/PangoGlyphString.java - modules/graphics/src/main/native-glass/lens/platform-util/dispmanCursor.c - modules/graphics/src/main/native-glass/lens/platform-util/fbRobot.c - modules/graphics/src/main/native-glass/lens/platform-util/imx6Cursor.c - modules/graphics/src/main/native-glass/lens/platform-util/initPlatform.c - modules/graphics/src/main/native-glass/lens/platform-util/omapCursor.c - modules/graphics/src/main/native-glass/lens/platform-util/platformUtil.h - modules/graphics/src/main/native-glass/lens/platform-util/utilInternal.h - modules/graphics/src/main/native-glass/lens/platform-util/wrapped_bcm.c - modules/graphics/src/main/native-glass/lens/platform-util/wrapped_bcm.h - modules/web/src/test/resources/html/RT9969.html
Re: iOS Default font is wrong
The code Richard sent is creating a dummy font and asking for its size. The problem is that there are about 3 thousand different fonts on the Mac ;-) Here we are creating a CTFont. For Mac OS X most native apps probably would be using a NSFont (cause that is what cocoa controls take). Likewise on iOS I think the common font is UIFont (cause I think that is what UIKIt controls take). Could anyone fire up Xcode, create a dummy iOS app, create a UIFont and see what is the size ? Felipe On Oct 29, 2013, at 8:40 AM, Stephen F Northover steve.x.northo...@oracle.com wrote: If the OS is reporting the wrong value for the default a classic trick is to create a dummy control that normally has the font we want and query that. Steve On 2013-10-29 11:21 AM, Richard Bair wrote: Hi guys, The default font for iOS is supposed to be System Bold 15 (according to http://stackoverflow.com/questions/17325152/what-size-font-is-the-title-in-a-default-uibutton anyway), and it does look more correct to me. Our code is getting to this native method in MacFontFinder.c JNIEXPORT jfloat JNICALL Java_com_sun_javafx_font_MacFontFinder_getSystemFontSize (JNIEnv *env, jclass obj) { CTFontRef font = CTFontCreateUIFontForLanguage( kCTFontSystemFontType, 0.0, //get system font with default size NULL); jfloat systemFontDefaultSize = (jfloat) CTFontGetSize (font); CFRelease(font); return systemFontDefaultSize; } However it appears the return value is 13 instead of 15 (and I don't know what the actual default font family / weight is that we're returning). It is possible the answer coming from this native API call is wrong. Any ideas? Richard
JavaFX Visual Coding for Education
At JavaOne this year there were several great sessions on Java for education. Since JavaFX seems particularly suited for the task, but didn't appear in the sessions, I decided to take a stab at it. Here are the first results (4 weeks): http://www.reportmill.com/javi/gallery/JaviStudio/ With JFX animation, effects and media, there are so many possibilities. Maybe we'll have the equivalent of our Tower Defense game soon. jeff
hg: openjfx/8/graphics/rt: [TEST-ONLY] Ignore failing unit test until RT-33919 is fixed
Changeset: bb60b5a3afdc Author:kcr Date: 2013-10-29 12:49 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/bb60b5a3afdc [TEST-ONLY] Ignore failing unit test until RT-33919 is fixed ! modules/graphics/src/test/java/com/sun/javafx/css/Node_cssStyleMap_Test.java
hg: openjfx/8/graphics/rt: 5 new changesets
Changeset: b2401b5285d1 Author:leifs Date: 2013-10-29 15:48 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/b2401b5285d1 RT-33895: Input method composing text is not highlighted Reviewed-by: naoto ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TextInputControlSkin.java Changeset: d83cbe8507e2 Author:leifs Date: 2013-10-29 15:49 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/d83cbe8507e2 RT-33898: Input method composing panel position lags behind caret position Reviewed-by: naoto ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TextInputControlSkin.java Changeset: cbcef6b84c73 Author:leifs Date: 2013-10-29 15:50 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/cbcef6b84c73 RT-33869: Controls are leaking through focus owner mechanism Reviewed-by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TextFieldBehavior.java Changeset: 6633eea3285d Author:David Grievedavid.gri...@oracle.com Date: 2013-10-29 18:58 -0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/6633eea3285d RT-33922: add null check in Labeled#applyStyle ! modules/controls/src/main/java/javafx/scene/control/Labeled.java Changeset: 2271f1e4a95c Author:David Grievedavid.gri...@oracle.com Date: 2013-10-29 19:00 -0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/2271f1e4a95c [DOCS-ONLY] RT-33917 cssref should state that Control has all the properties of Region ! modules/graphics/src/main/docs/javafx/scene/doc-files/cssref.html
hg: openjfx/8/graphics/rt: Ensemble8: Removed builders from SourceTab.
Changeset: ce3df4fcc903 Author:Alexander Kouznetsov Date: 2013-10-29 17:58 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/ce3df4fcc903 Ensemble8: Removed builders from SourceTab. ! apps/samples/Ensemble8/src/app/java/ensemble/samplepage/SourceTab.java
hg: openjfx/8/graphics/rt: Ensemble8: Partial fix for RT-33928 Ensemble8 has dependencies on WebView (Sample page only)
Changeset: 5113f2c3f1ae Author:Alexander Kouznetsov Date: 2013-10-29 18:52 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/5113f2c3f1ae Ensemble8: Partial fix for RT-33928 Ensemble8 has dependencies on WebView (Sample page only) ! apps/samples/Ensemble8/src/app/java/ensemble/samplepage/SourceTab.java + apps/samples/Ensemble8/src/app/java/ensemble/util/WebViewWrapper.java