hg: openjfx/8u-dev/rt: Follow-up fix for RT-38418 - copy paste error when splitting the line length.

2014-09-18 Thread martin . sladecek
Changeset: 27e5fd37a940
Author:Martin Sladecek martin.slade...@oracle.com
Date:  2014-09-18 08:30 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/27e5fd37a940

Follow-up fix for RT-38418 - copy paste error when splitting the line length.

! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGRegion.java



hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix

2014-09-18 Thread sandra . lions-piron
Changeset: 8165e0416e08
Author:slions
Date:  2014-09-18 10:25 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8165e0416e08

[SCENEBUILDER] Fix
DTL-6716 : Wrap command should propagate static properties to the new container
DTL-6865 : Unwrap command should remove static properties from the children
DTL-6781 : GridPane: Wrap in... issue

! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/AbstractWrapInContentJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/AbstractWrapInJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/AbstractWrapInSubComponentJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/UnwrapJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInBorderPaneJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInDialogPaneJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInGridPaneJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTabPaneJob.java



hg: openjfx/8u-dev/rt: [SCENBUILDER] Fix for DTL-6884: Content Panel and Preview Window fail to visualise CSS edits from Style Sheet attached using Preview Scene Style Sheets Add a Style Sheet...

2014-09-18 Thread jerome . cambon
Changeset: ff1fc6b338eb
Author:Jerome Cambon
Date:  2014-09-18 11:18 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ff1fc6b338eb

[SCENBUILDER] Fix for DTL-6884: Content Panel and Preview Window fail to 
visualise CSS edits from Style Sheet attached using Preview  Scene Style 
Sheets  Add a Style Sheet...

! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMDocument.java



hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix duplicated items ordering

2014-09-18 Thread sandra . lions-piron
Changeset: 71bcc46aa14a
Author:slions
Date:  2014-09-18 11:39 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/71bcc46aa14a

[SCENEBUILDER] Fix duplicated items ordering

! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DuplicateSelectionJob.java



hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix FindBugs warning

2014-09-18 Thread jerome . cambon
Changeset: 6a768c284d97
Author:Jerome Cambon
Date:  2014-09-18 12:21 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6a768c284d97

[SCENEBUILDER] Fix FindBugs warning

! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMDocument.java



Re: Close all ContextMenu with mouse button

2014-09-18 Thread Anthony Petrov

Hi Peter,

When you click
 - a menu item, or
 - any area of the stage that isn't covered with a popup menu, or
 - another window of the same application, or
 - somewhere outside of the FX application,
all the open menus should close at once.

If they don't, this is a bug in either Control, Scenegraph, or Glass. 
Please file a JIRA and provide a small test case that reproduces the 
problem.


--
best regards,
Anthony

On 9/18/2014 12:01 AM, Peter Penzov wrote:

Hi All,
Is there a way to close all opened context menus opened on the scene?
When I press a button I would like to close all Context menus opened by
right muse click.

BR,
Peter


Re: Close all ContextMenu with mouse button

2014-09-18 Thread Werner Lehmann

On 18.09.2014 14:38, Anthony Petrov wrote:

If they don't, this is a bug in either Control, Scenegraph, or Glass.
Please file a JIRA and provide a small test case that reproduces the
problem.


...or a JFXPanel is involved: popups and contextmenus opened from a 
JFXPanel do not close when clicking in Swing (outside of the JFXPanel). 
At least it used to be like that in FX 2.2.


Werner


Re: Close all ContextMenu with mouse button

2014-09-18 Thread Anthony Petrov

On 9/18/2014 5:17 PM, Werner Lehmann wrote:

On 18.09.2014 14:38, Anthony Petrov wrote:

If they don't, this is a bug in either Control, Scenegraph, or Glass.
Please file a JIRA and provide a small test case that reproduces the
problem.


...or a JFXPanel is involved: popups and contextmenus opened from a 
JFXPanel do not close when clicking in Swing (outside of the JFXPanel). 
At least it used to be like that in FX 2.2.


This should be fixed now in 8u20, at least on Windows and Mac. Please 
test it and report your results.


On Linux there's a known limitation of the focus grab functionality, so 
this still may be a problem for JFXPanel on that platform.


--
best regards,
Anthony


hg: openjfx/8u-dev/rt: RT-38640: [CSS, Control] Improve handling of Control.getUserAgentStylesheet()

2014-09-18 Thread david . grieve
Changeset: ea09e7b425d3
Author:David Grievedavid.gri...@oracle.com
Date:  2014-09-18 14:55 -0400
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ea09e7b425d3

RT-38640: [CSS, Control] Improve handling of Control.getUserAgentStylesheet()
Reviewed by: kevin, jonathan

! modules/controls/src/main/java/javafx/scene/control/Control.java
! modules/controls/src/test/java/javafx/scene/control/ControlSkinTest.java
+ modules/controls/src/test/resources/javafx/scene/control/ControlSkinTest.css
! modules/graphics/src/main/java/com/sun/javafx/css/StyleManager.java
! modules/graphics/src/main/java/javafx/scene/layout/Region.java



[8u40] Post-commit review: RT-38640: Improve handling of Control.getUserAgentStylesheet()

2014-09-18 Thread David Grieve
A change was made to the Control API which removed the protected method 
getUserAgentStylesheet(). This method was  moved to Region and was made 
public:


javafx.scene.control.Control
-protected String getUserAgentStylesheet()

javafx.scene.layout.Region
+public String getUserAgentStylesheet()

Please note that while this is a binary-compatible change, it is not a 
source compatible change. Code which has overridden the protected 
getUserAgentStylesheet() method from Control will continue to run, but 
will no longer compile in 8u40. The access on the overridden method must 
be changed to public.


The benefit of this change is that CSS can be easily packaged with 
custom controls.


hg: openjfx/8u-dev/rt: Fix RT-37356: SW pipeline renders transparent gradients darker than normal

2014-09-18 Thread james . graham
Changeset: 50abb5090816
Author:flar james.gra...@oracle.com
Date:  2014-09-18 14:41 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/50abb5090816

Fix RT-37356: SW pipeline renders transparent gradients darker than normal
Reviewed by: chien

- modules/graphics/src/main/java/com/sun/pisces/NativeSurface.java
! modules/graphics/src/main/java/com/sun/pisces/RendererBase.java
! modules/graphics/src/main/java/com/sun/prism/sw/SWPaint.java
! modules/graphics/src/main/native-prism-sw/JJavaSurface.c
- modules/graphics/src/main/native-prism-sw/JNativeSurface.c
! modules/graphics/src/main/native-prism-sw/PiscesBlit.c
! modules/graphics/src/main/native-prism-sw/PiscesBlit.h
! modules/graphics/src/main/native-prism-sw/PiscesRenderer.inl
! modules/graphics/src/main/native-prism-sw/PiscesSurface.h



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

2014-09-18 Thread kevin . rushforth
Changeset: dc7dc0fa856b
Author:hudson
Date:  2014-09-17 13:35 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/dc7dc0fa856b

Added tag 8u40-b06 for changeset 957060db6fa5

! .hgtags

Changeset: 6da37980375e
Author:kcr
Date:  2014-09-18 18:59 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6da37980375e

Automated merge with http://hg.openjdk.java.net/openjfx/8u/rt

- modules/graphics/src/main/java/com/sun/pisces/NativeSurface.java
- modules/graphics/src/main/native-prism-sw/JNativeSurface.c



hg: openjfx/8u-dev/rt: Fix to RT-38651: ES2: Need to provide query and print out (on verbose) support for OpenGL ES2 implementation dependent limits

2014-09-18 Thread chien . yang
Changeset: ceb8b1f8094f
Author:Chien Yang chien.y...@oracle.com
Date:  2014-09-18 21:29 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ceb8b1f8094f

Fix to RT-38651: ES2: Need to provide query and print out (on verbose) support 
for OpenGL ES2 implementation dependent limits
Reviewed bt flar, kcr

! modules/graphics/src/main/java/com/sun/prism/es2/ES2ResourceFactory.java
! modules/graphics/src/main/java/com/sun/prism/es2/GLContext.java
! 
modules/graphics/src/main/java/com/sun/scenario/effect/impl/prism/ps/PPSRenderer.java
! modules/graphics/src/main/native-prism-es2/GLContext.c



hg: openjfx/8u-dev/rt: Fix to RT-30529: Implement gradle findbugs task

2014-09-18 Thread chien . yang
Changeset: e5508cd5b8a5
Author:Chien Yang chien.y...@oracle.com
Date:  2014-09-18 21:47 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e5508cd5b8a5

Fix to RT-30529: Implement gradle findbugs task
Reviewed by kcr

! build.gradle