Re: Dead horse, Bindings spam when something is null

2014-01-03 Thread Martin Sladecek
Hi John, the reason why the logging was introduced is that when selectBinding is evaluated and there's a null along the way, you don't know where the actual (null) value comes from. E.g. Bindings.selectString(insertedMedia, title) might be null if insertedMedia.get() == null ||

hg: openjfx/8u-dev/rt: 2 new changesets

2014-01-03 Thread hang . vo
Changeset: 74d25a72690f Author:Martin Sladecek martin.slade...@oracle.com Date: 2014-01-03 09:28 +0100 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/74d25a72690f RT-35139 [Animation] Regression: Misbehavior of *Transition within ParallelTransition !

scenebuilder and migpane

2014-01-03 Thread Tom Eugelink
Would it be possible to offer MigPane as a Container in SceneBuilder? Tom

custom FXML builders in SceneBuilder

2014-01-03 Thread Tom Eugelink
I had no problems adding the JFXtras components to SceneBuilder, but one of the controls has a custom FXML builder. It is present in the same jar, but how do I tell SceneBuilder to use it? Now when I try to load an fxml file an exception (unable to coerse) is shown by SceneBuilder. Tom

Re: scenebuilder and migpane

2014-01-03 Thread Tobias Bley
That would be great! We only using MigPane for all our layouts… Am 03.01.2014 um 10:10 schrieb Tom Eugelink t...@tbee.org: Would it be possible to offer MigPane as a Container in SceneBuilder? Tom

Re: scenebuilder and migpane

2014-01-03 Thread Tom Eugelink
Well, I figure the helper lines will be a problem anyhow. But I was planning on just trying it. Tom On 2014-1-3 11:04, Eric Le Ponner wrote: I guess it's worth trying to drop MigPane JAR file in SB2 library panel and see. However SB2 makes some assumptions about containers. So that might

Re: properties of custom controls in SceneBuilder

2014-01-03 Thread Eric Le Ponner
Yes, SB currently makes a filtering : for custom components, it displays: - properties that are inherited from JavaFX core classes - properties with basic java types (integer, double, string, boolean). We'll try to remove some of those limitations over the time. Eric Le 3 janv. 2014 à 11:01,

Re: not all custom controls are usable in SceneBuilder

2014-01-03 Thread Yves JOAN
On 03/01/14 11:03, Tom Eugelink wrote: Not all JFXtras custom components are draggable from the library's custom tab to the scene. For example Agenda and CalendarTextField can be dragged, but CalendarPicker or ListSpinner cannot. Is there any way to determine why this is the case?

Re: custom FXML builders in SceneBuilder

2014-01-03 Thread Eric Le Ponner
When Scene Builder 2.0 found a custom components, it instantiates it using FXMLLoader without making any specific builder setup. So FXMLLoader uses the default JavaFX builder factory. Since builders are deprecated, I'm not sure it make sense for SB to have dependency on them. Eric Le 3

Re: custom FXML builders in SceneBuilder

2014-01-03 Thread Tom Eugelink
I think there are two usages of builders: - construct compontents / controls programatically (ending in the build() call). - mapping of FXML attributes to node properties, because in FXML everything must be a string. For example, CalendarTextField has no builder class in the first sense (I

Re: not all custom controls are usable in SceneBuilder

2014-01-03 Thread Tom Eugelink
On 2014-1-3 11:18, Yves JOAN wrote: On 03/01/14 11:03, Tom Eugelink wrote: Not all JFXtras custom components are draggable from the library's custom tab to the scene. For example Agenda and CalendarTextField can be dragged, but CalendarPicker or ListSpinner cannot. Is there any way to

Re: custom FXML builders in SceneBuilder

2014-01-03 Thread Eric Le Ponner
I will look at that and come back to you middle of next week. Eric Le 3 janv. 2014 à 12:12, Tom Eugelink t...@tbee.org a écrit : I think there are two usages of builders: - construct compontents / controls programatically (ending in the build() call). - mapping of FXML attributes to node

Re: custom FXML builders in SceneBuilder

2014-01-03 Thread Tom Schindl
IIRC we agreed while talking about the annotation replacement for builders that we'll later add a possibility to set a converter on properties through annotations - back then we only talked about constructors but this could be expanded to any property. Tom On 03.01.14 12:12, Tom Eugelink wrote:

hg: openjfx/8u-dev/rt: RT-35168: Remove debug print statements from launchertest.MainLauncherTest

2014-01-03 Thread hang . vo
Changeset: c7e94937d287 Author:kcr Date: 2014-01-03 05:22 -0800 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/c7e94937d287 RT-35168: Remove debug print statements from launchertest.MainLauncherTest ! tests/system/src/test/java/launchertest/TestAppNoMainThreadCheck.java !

hg: openjfx/8u-dev/rt: RT-35169: Fix copyright header for files modified in 2014

2014-01-03 Thread hang . vo
Changeset: 703155c18442 Author:kcr Date: 2014-01-03 06:00 -0800 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/703155c18442 RT-35169: Fix copyright header for files modified in 2014 ! modules/graphics/src/main/java/com/sun/prism/d3d/D3DDriverInformation.java !

Review request:RT-34928,Ensemble: Bouncing Balls leave tracks

2014-01-03 Thread Martin Sladecek
Jim, please review JIRA: https://javafx-jira.kenai.com/browse/RT-34928 Webrev: http://cr.openjdk.java.net/~msladecek/rt-34928/webrev.00/ Thanks, -Martin

hg: openjfx/8/graphics/rt: Added tag 8.0-b122 for changeset dd789066e61e

2014-01-03 Thread hang . vo
Changeset: 26f87c5d3435 Author:hudson Date: 2014-01-03 06:56 -0800 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/26f87c5d3435 Added tag 8.0-b122 for changeset dd789066e61e ! .hgtags

Re: Regression: JavaFX 8 doesn't call listeners in Skin implementations

2014-01-03 Thread Stephen F Northover
Hi Florian, I would enter a JIRA with the steps to make the problem happen and the smallest possible example code that shows it. Thanks, Steve On 2014-01-02 5:10 PM, Florian Brunner wrote: I also tried to add a listener directly to control.getDockingSplitPaneChildren() in case the issue is

Re: General schedule/roadmap/status

2014-01-03 Thread Stephen F Northover
Hi Kevin, Oracle builds Java 8 using the OpenJDK. OpenJFX is a part of the OpenJDK and is built into Oracle's Java 8 distribution. The rest of these questions are really for the various different Linux distributions that consume open source projects and produce their own builds. I suggest

Re: JavaFX versus AWT/Swing Hardware Acceleration

2014-01-03 Thread Stephen F Northover
Hi Ryan, I'll let others describe hardware acceleration in AWT/Swing but in JavaFX, D3D and ES2 shaders are used to draw. These run directly on the graphics card and render data that is downloaded there. Because JavaFX has a scene graph, it has a notion of what has been changed and can

Re: JavaFX versus AWT/Swing Hardware Acceleration

2014-01-03 Thread Kevin Rushforth
A couple other thoughts. 1) JavaFX doesn't use software loops for the actual rendering as long as the card is capable of supporting Prism. We do mix HW and SW in that we generate masks from a path in SW, but we cache that on the card and render it using shaders. 2) JavaFX can support Intel

hg: openjfx/8u-dev/rt: RT-35147: [Android, Ensemble8] App should react to hardware buttons on Android

2014-01-03 Thread hang . vo
Changeset: 6f0901527ad0 Author:snorthov Date: 2014-01-03 12:23 -0500 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6f0901527ad0 RT-35147: [Android, Ensemble8] App should react to hardware buttons on Android Reviewed-by: snorthov Contributed-by: Stefan Fuchs snfu...@gmx.de

Re: JavaFX versus AWT/Swing Hardware Acceleration

2014-01-03 Thread Steve Hannah
Prism. We do mix HW and SW in that we generate masks from a path in SW, but we cache that on the card and render it using shaders. Can you describe roughly how the caching works? I understand that the alpha mask is stored in OGL as a texture, but there are an infinite number of possible

Post commit review: [Re: hg: openjfx/8u-dev/rt: RT-35147: [Android, Ensemble8] App should react to hardware buttons on Android]

2014-01-03 Thread Stephen F Northover
Hi Alex, Samples were changed to support Android. Apparently, hitting escape twice should exit an application and this behavior was coded into EnsembleApp. I'm not an Android guy but if this is standard Android behavior, it should be part of JFX, not the example code. Anyhow, I'll let

Re: JavaFX versus AWT/Swing Hardware Acceleration

2014-01-03 Thread Chien Yang
The Graphics Support section in this link has a detail information on the list of GPUs JavaFX can take advantage of: http://docs.oracle.com/javafx/2/system_requirements_2-2-5/jfxpub-system_requirements_2-2-5.htm Note: Linux and Mac should have the same support coverage except for Intel GMA

Re: JavaFX versus AWT/Swing Hardware Acceleration

2014-01-03 Thread Chien Yang
Jim will probably has more to say about how the caching works. JavaFX has a unified texture resource management system for Prism. An aging algorithm is used to determine which native texture resource to be released when the system is low on VRAM or reached a system configurable VRAM threshold

Re: scenebuilder and migpane

2014-01-03 Thread Tom Eugelink
Simply dropping the jars is not possible, because MigLayout is split into two jars; core and javafx. Core does not contain any JavaFX classes and thus SceneBuilder does not import it (button is disabled). After manually merging the two jars into one, MigPane is listed in SB as a custom

Re: Very poor performance of JavaFX on iPhone - 6 months later

2014-01-03 Thread Stephen F Northover
Hi Tobias, Sorry about that. Looking at the bug, it seems to me that we have gotten to the bottom of it. Some iOS devices are scrolling fine while others are slower. The difference seems to be that high dpi disables optimizations and this causes the slowness on iOS. The same optimizations

Re: Post commit review: [Re: hg: openjfx/8u-dev/rt: RT-35147: [Android, Ensemble8] App should react to hardware buttons on Android]

2014-01-03 Thread Stephen F Northover
If you feel that further work needs to be done here, please enter a JIRA and include this discussion. Thanks, Steve On 2014-01-03 2:43 PM, Stefan Fuchs wrote: Hi, well, the back button is always used to go back one dialog level, until the start screen has be reached. (Dialogs are canceled,

hg: openjfx/8/graphics/rt: RT-35171: Update the JDK 8 build number to b122 in rt/build.properties file in the JavaFX 8 Master forest.

2014-01-03 Thread hang . vo
Changeset: 44acc56c806e Author:mv157916 Date: 2014-01-03 13:32 -0800 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/44acc56c806e RT-35171: Update the JDK 8 build number to b122 in rt/build.properties file in the JavaFX 8 Master forest. ! build.properties

hg: openjfx/8u-dev/rt: RT-35172: Add unit test for batching large number of runLater operations

2014-01-03 Thread hang . vo
Changeset: acc894d665a6 Author:kcr Date: 2014-01-03 13:53 -0800 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/acc894d665a6 RT-35172: Add unit test for batching large number of runLater operations + tests/system/src/test/java/com/sun/javafx/application/RunLaterTest.java !

[8u] Post-commit review: RT-35172: Add unit test for batching large number of runLater operations

2014-01-03 Thread Kevin Rushforth
Anthony Steve, If you are interested, I added a unit test for batching large numbers of runLater operations (as a follow up to RT-21569 https://javafx-jira.kenai.com/browse/RT-21569), which in FX 8 works on Windows platforms only because of the InvokeLaterDispatcher. JIRA:

Re: Very poor performance of JavaFX on iPhone - 6 months later

2014-01-03 Thread Jeff Martin
I noticed the high-dpi problem on a high-end MacBook Pro Retina. Took me by surprise for JavaOne demos since I usually use an external monitor (non-retina). I ended up switching to low dpi. jeff On Jan 3, 2014, at 3:59 PM, Stephen F Northover steve.x.northo...@oracle.com wrote: Hi Tobias,

Re: Very poor performance of JavaFX on iPhone - 6 months later

2014-01-03 Thread Stephen F Northover
Hi Jeff, Please add your weight to the JIRA (indicate the hardware you are using). A fix for the desktop should also fix the problem on iOS. Steve On 2014-01-03 5:45 PM, Jeff Martin wrote: I noticed the high-dpi problem on a high-end MacBook Pro Retina. Took me by surprise for JavaOne

Re: JavaFX versus AWT/Swing Hardware Acceleration

2014-01-03 Thread Jim Graham
Some key points hidden in the shadows here... We have direct rendering shaders for simple objects like rects, ovals, roundrects, simple single lines. We can handle simple strokes on those with only the stroke width being customized (must use an expected join, cap, no dashing). Text is done

Re: JavaFX versus AWT/Swing Hardware Acceleration

2014-01-03 Thread Jim Graham
Chien answered some of these, but here are my answers (inline)... On 1/3/14 9:40 AM, Steve Hannah wrote: Prism. We do mix HW and SW in that we generate masks from a path in SW, but we cache that on the card and render it using shaders. Can you describe roughly how the caching works? I

Re: Very poor performance of JavaFX on iPhone - 6 months later

2014-01-03 Thread Jim Graham
The following Jira is more precisely aimed at the scrolling optimizations that were disabled for Retina: https://javafx-jira.kenai.com/browse/RT-27959 ...jim On 1/3/14 4:04 PM, Stephen F Northover wrote: Hi Jeff, Please add your weight to the JIRA (indicate the

Re: JavaFX versus AWT/Swing Hardware Acceleration

2014-01-03 Thread Steve Hannah
Are you referring to the C version of Pisces in the FX sources? Actually, there are 2 currently in the FX source base. I'm working with the native Pisces code located in modules/graphics/src/main/native-prism/* I'm just making a 2D graphics API similar in functionality to