hg: openjfx/8u-dev/rt: RT-35918 GridPane: infinite loop when some percentWidth or percentHeight set to 0

2014-02-20 Thread hang . vo
Changeset: b99e89edb5bc
Author:Martin Sladecek 
Date:  2014-02-21 07:50 +0100
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b99e89edb5bc

RT-35918 GridPane: infinite loop when some percentWidth or percentHeight set to 0
Reviewed by: kcr

! modules/graphics/src/main/java/javafx/scene/layout/GridPane.java
! modules/graphics/src/test/java/javafx/scene/layout/GridPaneTest.java



code review - RT-35246

2014-02-20 Thread Lisa Selle

Daniel,

Please review initial cut for the raspberry-pi implementation of monocle.

Jira: https://javafx-jira.kenai.com/browse/RT-35246
Webrev: 
http://cr.openjdk.java.net/~kselle/webrev-20140220-2102-RT-35246/webrev/


Note that currently, you need to run as root b/c of file permissions on 
the input devices, and cursor is not yet implemented.  Basic rendering 
works.


Lisa




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

2014-02-20 Thread hang . vo
Changeset: 35449e60afec
Author:hudson
Date:  2014-02-19 08:49 -0800
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/35449e60afec

Added tag 8u20-b02 for changeset c76228c951d0

! .hgtags

Changeset: edc6d9833b56
Author:kcr
Date:  2014-02-20 16:06 -0800
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/edc6d9833b56

Automated merge with ssh://jfxsrc.us.oracle.com//javafx/8u/master/jfx/rt


Changeset: 8fb260e027f3
Author:Yves Joan 
Date:  2014-02-14 08:27 +0100
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8fb260e027f3

Sync up SceneBuilder changes

! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/DocumentWindow.fxml
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/DocumentWindowController.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/SceneBuilderApp.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/css/DocumentWindow.css
- 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/css/InfoPanel.css
+ 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/css/MessageBar.css
+ 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/css/MessagePanel.css
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/css/SelectionBar.css
+ 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/css/ThemeDark.css
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/i18n/SceneBuilderApp.properties
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/info/InfoPanel.fxml
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/DebugMenuController.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBar.fxml
- 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/message/MessageBar.css
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/message/MessageBar.fxml
- 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/message/MessagePanel.css
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/message/MessagePanel.fxml
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preferences/PreferencesRecordDocument.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preferences/PreferencesWindowController.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/BackgroundColorDialogController.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/WatchingController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/css/Theme.css
- 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/cssimages/ap-constraint-h-off.png
- 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/cssimages/ap-constraint-h-on.png
- 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/cssimages/ap-constraint-v-off.png
- 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/cssimages/ap-constraint-v-on.png
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/DragController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/source/AbstractDragSource.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/source/DocumentDragSource.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/source/ExternalDragSource.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/source/LibraryDragSource.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/AbstractDropTarget.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/AccessoryDropTarget.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/CollectionDropTarget.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/ContainerXYDropTarget.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/ContainerZDropTarget.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/GridPaneDropTarget.java
+ 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/ImageViewDropTarget.java
! 
apps/scenebuilder/Sce

Code Review Request for RT-35956: Add a stopgap fix to improve mesh update performance for limited use cases that doesn't do 3d lighting in the scene

2014-02-20 Thread Chien Yang

Kevin and Vadim,

Please review this very limited and guarded fix as a temporary solution 
till we have a better API to support dynamic mesh update.

More information about performance is captured in the JIRA.

Webrev: http://cr.openjdk.java.net/~ckyang/RT-35956/webrev.00/
JIRA: https://javafx-jira.kenai.com/browse/RT-35956

Thanks,
- Chien


hg: openjfx/2u/dev/rt: Added tag 2.2.60-b07 for changeset 9ede406abdfb

2014-02-20 Thread hang . vo
Changeset: 4cfc306b90a1
Author:hudson
Date:  2014-02-19 09:58 -0800
URL:   http://hg.openjdk.java.net/openjfx/2u/dev/rt/rev/4cfc306b90a1

Added tag 2.2.60-b07 for changeset 9ede406abdfb

! .hgtags



hg: openjfx/8u-dev/rt: RT-35629: IDE Tooling for JavaFX Packager

2014-02-20 Thread hang . vo
Changeset: 9796ee469146
Author:shemnon
Date:  2014-02-20 12:20 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/9796ee469146

RT-35629: IDE Tooling for JavaFX Packager
Summary: check for null when listing directories
Reviewed-By: kcr
Tested-With: jfxpackager:test

! 
modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/DeployParams.java
! 
modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/PackagerLib.java
! 
modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/bundlers/IOUtils.java
! 
modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/bundlers/LinuxDebBundler.java
! 
modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/bundlers/WinMsiBundler.java
! 
modules/fxpackager/src/main/java/com/sun/javafx/tools/resource/PackagerResource.java
! modules/fxpackager/src/test/java/com/oracle/bundlers/BundlersTest.java
! 
modules/fxpackager/src/test/java/com/oracle/bundlers/linux/LinuxAppBundlerTest.java
! 
modules/fxpackager/src/test/java/com/oracle/bundlers/linux/LinuxDebBundlerTest.java
! 
modules/fxpackager/src/test/java/com/oracle/bundlers/linux/LinuxRpmBundlerTest.java
! 
modules/fxpackager/src/test/java/com/oracle/bundlers/mac/MacAppBundlerTest.java
! 
modules/fxpackager/src/test/java/com/oracle/bundlers/mac/MacDMGBundlerTest.java
! 
modules/fxpackager/src/test/java/com/oracle/bundlers/mac/MacPKGBundlerTest.java
! 
modules/fxpackager/src/test/java/com/oracle/bundlers/windows/WinAppBundlerTest.java
! 
modules/fxpackager/src/test/java/com/oracle/bundlers/windows/WinEXEBundlerTest.java
! 
modules/fxpackager/src/test/java/com/oracle/bundlers/windows/WinMSIBundlerTest.java



Re: where to set properties

2014-02-20 Thread Stephen F Northover
JDK8 is not supported with Dalvik.  However, JavaFX requires JDK8 in two 
different ways:


1) It requires JDK8 syntax (default methods, lambdas, optional use of 
final ...)
2) It requires JDK8 class libraries (there are references to classes 
that are new in JDK8)


So far, we have limited and worded around 1) and Johan has implemented 
the missing classes for 2).


My understanding is that RetroLabmda will be used to fix the problems 
associated with 1).  Since this works on byte codes, JDK8 will need to 
be used to create the byte codes and compile the syntax.


Johan?

Steve

On 2014-02-20 1:49 PM, Felix Bembrick wrote:
Isn't that because they need to use the Dalvik Java classes and JDK 8 
is not supported with Dalvik?



On 21 February 2014 05:22, Stephen F Northover 
mailto:steve.x.northo...@oracle.com>> 
wrote:



On 2014-02-19 12:46 PM, Johan Vos wrote:

Is there a policy on the location where properties are defined?
I see there are properties on a number of places:
build.properties (e.g. jfx.build.jdk.version=1.8.0)
build.gradle (e.g. ext.JAVA_HOME = JDK_HOME)
buildSrc/(e.g. linux).gradle (e.g. LINUX.compileSwing = true;)
command line properties (e.g. -Djfx.build.jdk.defenders=true)

The reason I'm asking:
for Android/Dalvik, we don't require jfxBuildJdkVersion to be
1.8.0. There
are a number of ways to fix this. The current test is
  if (jdkVersion != jfxBuildJdkVersion) {
 fail("java version mismatch: ${jdkVersion} must be
${jfxBuildJdkVersion}")
 }

We build the Android/Dalvik runtime with Java 7, hence this
check fails.
We can either change jfx.build.jdk.version in build.properties
(but not
conditionally), or we can skip the test if
System.getProperty("jfx.build.jdk.defenders) is true, or we
can check if
the OS is Dalvik, or... or...


Is there a reason why you cannot build with 8?  You will need to
accept 8 syntax (like lambdas).


I don't want to pollute the build files with too many tests,
so I prefer to
stick to the policy, if there is one.

Thanks,

- Johan







Re: where to set properties

2014-02-20 Thread Felix Bembrick
Isn't that because they need to use the Dalvik Java classes and JDK 8 is
not supported with Dalvik?


On 21 February 2014 05:22, Stephen F Northover  wrote:

>
> On 2014-02-19 12:46 PM, Johan Vos wrote:
>
>> Is there a policy on the location where properties are defined?
>> I see there are properties on a number of places:
>> build.properties (e.g. jfx.build.jdk.version=1.8.0)
>> build.gradle (e.g. ext.JAVA_HOME = JDK_HOME)
>> buildSrc/(e.g. linux).gradle (e.g. LINUX.compileSwing = true;)
>> command line properties (e.g. -Djfx.build.jdk.defenders=true)
>>
>> The reason I'm asking:
>> for Android/Dalvik, we don't require jfxBuildJdkVersion to be 1.8.0. There
>> are a number of ways to fix this. The current test is
>>   if (jdkVersion != jfxBuildJdkVersion) {
>>  fail("java version mismatch: ${jdkVersion} must be
>> ${jfxBuildJdkVersion}")
>>  }
>>
>> We build the Android/Dalvik runtime with Java 7, hence this check fails.
>> We can either change jfx.build.jdk.version in build.properties (but not
>> conditionally), or we can skip the test if
>> System.getProperty("jfx.build.jdk.defenders) is true, or we can check if
>> the OS is Dalvik, or... or...
>>
>
> Is there a reason why you cannot build with 8?  You will need to accept 8
> syntax (like lambdas).
>
>
>> I don't want to pollute the build files with too many tests, so I prefer
>> to
>> stick to the policy, if there is one.
>>
>> Thanks,
>>
>> - Johan
>>
>
>


Embedded ARM interest "poll"

2014-02-20 Thread David Hill


I know that there is a fair amount of interest in IOS and Android.

What I don't know is what other "Embedded" ARM platforms people are interested in running OpenJFX 
on. "Embedded" in this case can be translated as "other than iOS or Android".

As many of you know, we have documented "known to work" for the Raspberry PI 
.

Recently we have had success with the Freescale i.MX6. The i.MX6 is a startling 
fast platform compared to the PI, particularly the quad core I am using. A lot 
of the operations seem to be 3-5x faster than the PI.

For the power, the prices are pretty reasonable to me. See 
http://www.wandboard.org/ and http://boundarydevices.com/ for just two of the 
vendors I know about that have development boards.

I have started documenting the setup on the OpenJFX Wiki 
, though this effort is 
complicated by the community Yocto build which does not have a working "framebuffer" image. I 
am using a "workaround" for this build problem. For those not in the know, Freescale provides 
different versions of libEGL for different rendering targets (x11, framebuffer, ...)

I certainly would enjoy it if others in the OpenJFX community wanted to help 
out with i.MX6!

The TI "Beagle xM" probably works, but I have not found a Linux hard float 
distro with sufficiently integrated graphics drivers to try it on.

I have a pending request to support the A20-OLinuXino, and actually have one so 
I might be able to start work soon.

If "Embedded" ARM is interesting to you, could you reply OFF LIST - just to me 
with the platforms you are interested in or are currently using ?


--
David Hill
Java Embedded Development

"Discontent is the first necessity of progress."
-- Thomas A. Edison



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

2014-02-20 Thread hang . vo
Changeset: aeb55d900996
Author:ddhill
Date:  2014-02-20 09:37 -0500
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/aeb55d900996

RT-35535 Adding autofallback for embedded font handling when fontconfig is not 
present
Reviewed-by: dblaukopf, fheidric

! modules/graphics/src/main/java/com/sun/javafx/font/FontConfigManager.java

Changeset: 27691d84c26a
Author:ddhill
Date:  2014-02-20 09:39 -0500
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/27691d84c26a

RT-35912 correcting samples build files
Reviewed-by: kcr

! apps/experiments/ModenaTest/nbproject/project.properties
! apps/samples/MandelbrotSet/nbproject/project.properties



hg: openjfx/8/graphics/rt: Sync up SceneBuilder changes

2014-02-20 Thread hang . vo
Changeset: 17db2a90268a
Author:Yves Joan 
Date:  2014-02-20 14:43 +0100
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/17db2a90268a

Sync up SceneBuilder changes

! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/DocumentWindowController.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/SceneBuilderApp.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/SplitController.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/css/DocumentWindow.css
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/css/MessageBar.css
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/css/ThemeDark.css
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/i18n/SceneBuilderApp.properties
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/info/InfoPanelController.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/message/MessageBar.fxml
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/message/MessageBarController.java
- 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/message/warning.png
- 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preferences/Preferences.css
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preferences/Preferences.fxml
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preferences/PreferencesController.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preferences/PreferencesRecordDocument.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/skeleton/SkeletonBuffer.java
! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/skeleton/SkeletonWindowController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/css/Theme.css
- 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/cssimages/css-styleable-path-button.png
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/ContainerXYDropTarget.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/i18n/SceneBuilderKit.properties
- 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/images/ui/css-cur...@2x.png
+ 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BatchModifyFxIdJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BatchModifyObjectJob.java
+ 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BatchModifySelectionJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/FitToParentObjectJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifyObjectJob.java
- 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifySelectionJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/UseComputedSizesObjectJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/messagelog/MessageLog.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/ContentPanelController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/key/AbstractKeyGesture.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/AbstractMouseDragGesture.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/AbstractMouseGesture.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/mode/EditModeController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/mode/PickModeController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/util/Picker.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/CssPanelController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/SelectionPath.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/AbstractHierarchyPanelController.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hie