hg: openjfx/8/graphics/rt: RT-29951: Mac: Weird results when set stage min size during layout

2013-07-16 Thread hang . vo
Changeset: 06979c6310cd
Author:Petr Pchelko 
Date:  2013-07-16 11:03 +0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/06979c6310cd

RT-29951: Mac: Weird results when set stage min size during layout
RT-28848: Win: Setting stage min width/height doesn't work before showing the 
stage on Windows
Reviewed-by: anthony, art

! modules/graphics/src/main/java/com/sun/javafx/stage/EmbeddedWindow.java
! modules/graphics/src/main/java/com/sun/javafx/stage/WindowHelper.java
! modules/graphics/src/main/java/com/sun/javafx/tk/DummyToolkit.java
! modules/graphics/src/main/java/com/sun/javafx/tk/TKScene.java
! modules/graphics/src/main/java/com/sun/javafx/tk/TKStage.java
! modules/graphics/src/main/java/com/sun/javafx/tk/Toolkit.java
! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/EmbeddedStage.java
! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassScene.java
! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassStage.java
! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PopupStage.java
! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java
! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java
! modules/graphics/src/main/java/javafx/scene/Scene.java
! modules/graphics/src/main/java/javafx/stage/PopupWindow.java
! modules/graphics/src/main/java/javafx/stage/Stage.java
! modules/graphics/src/main/java/javafx/stage/Window.java
! modules/graphics/src/main/native-glass/mac/GlassWindow+Java.h
! modules/graphics/src/main/native-glass/mac/GlassWindow+Java.m
! modules/graphics/src/main/native-glass/mac/GlassWindow.h
! modules/graphics/src/main/native-glass/mac/GlassWindow.m
! modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubScene.java
! modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubStage.java
! modules/graphics/src/stub/java/com/sun/javafx/pgstub/StubToolkit.java



Re: Raspberry Pi + JavaFX 3D demo

2013-07-16 Thread Tobias Bley
Hi Niklas,

thanks for your answer. I looked in the current code form github (RoboVM 0.0.3) 
and found a „Level“ enum with -o3 optimization flag... so are you working on 
the optimization support for LLVM?

Best,
Tobi


Am 16.07.2013 um 08:47 schrieb Niklas Therning :

> No, it's not possible. These have not yet been implemented.
> 
> 
> On Mon, Jul 15, 2013 at 4:19 PM, Tobias Bley  wrote:
> Is it possible to activate the optimizations for me in RoboVM 0.0.2 or 0.0.3 
> (github)?
> 
> 
> Am 12.07.2013 um 17:11 schrieb Niklas Therning :
> 
>> RoboVM doesn't do release builds yet (virtually none of LLVM's optimizations 
>> are enabled) and virtual and interface method dispatch is horribly slow 
>> (linear search on every call!!!). So there are A LOT of opportunities for 
>> improvements. The focus so far has been to get something up and running 
>> which can actually be used to make apps. I hope I will get the time to 
>> optimize things later this year.
>> 
>> Is this demo open source? It would be interesting to test it on iOS.
>> 
>> 
>> On Fri, Jul 12, 2013 at 5:03 PM, Richard Bair  
>> wrote:
>> BTW, we've run a VM performance benchmark against HotSpot on PI vs. RoboVM 
>> on iOS and for raw power RoboVM seems faster (lower time to invoke a method, 
>> read a field, etc etc). However in the real world RoboVM is slow and I don't 
>> know why (GC overhead maybe)?
>> 
>> Richard
>> 
>> On Jul 12, 2013, at 7:52 AM, Richard Bair  wrote:
>> 
>> > That should be encouraging, since the CPU on the PI is *way* worse than 
>> > the CPU on an iPhone or iPad. Is the difference HotSpot vs. RoboVM? The 
>> > graphics code being executed should be pretty much exactly the same, and I 
>> > would expect the PowerVR to be able to handle this without any trouble.
>> >
>> > Richard
>> >
>> > On Jul 12, 2013, at 7:14 AM, Tobias Bley  wrote:
>> >
>> >> The performance is much better than JavaFX8 on iOS :(
>> >>
>> >>
>> >> Am 12.07.2013 um 15:37 schrieb August Lammersdorf, InteractiveMesh 
>> >> :
>> >>
>> >>> Found this on YouTube: http://www.youtube.com/watch?v=-scxqJjTJKI
>> >>>
>> >>> August
>> >>
>> >
>> 
>> 
> 
> 



Building sources for jfxrt.jar and missing packages

2013-07-16 Thread Robert Fisher
Hi everyone,
 
I´m trying to build a jar containing all sources for jfxrt.jar, so I can attach 
it in Eclipse. For this I´ve added the following lines to the root build.gradle:
 


build.gradle:
 
task jfxrtSources()
 
compileTargets{
 
...
 
def jfxrtSourcesTask = task("jfxrtSources$t.capital", type: Jar) {
 group = "Basic";
 description = "Creates the jfxrt-sources.jar for the $t.name target";
 archiveName = "build/${t.name}-sdk/rt/lib/ext/jfxrt-sources.jar";
 includeEmptyDirs = false;
 from("modules/base/src/main/java",
  "modules/builders/src/main/java",
  "modules/controls/src/main/java",
  "modules/designTime/src/main/java",
  "modules/fxml/src/main/java",
  "modules/fxpackager/src/main/java",
  "modules/graphics/src/main/java",
  "modules/web/src/main/java");
 
 if (COMPILE_SWING) from ("modules/swing/src/main/java");
 if (COMPILE_SWT) from ("modules/swt/src/main/java");
 
 exclude(targetProperties.jfxrtJarExcludes);
}
jfxrtSources.dependsOn(jfxrtSourcesTask);
 
...
 
}


 
Is this the correct way to go about it?
 
I also noticed that the jfxrt.jar from the latest JDK1.8 snapshot includes 
com.sun.media.* packages which are not yet part of OpenJFX (at least I don´t 
think so, as my modules/media directory is empty). Is there a reason for this?
 
Thanks in advance,
Rob
 
 
Mit freundlichen Grüßen
Best Regards

Dr. Robert Fisher


TESIS DYNAware
Technische Simulation Dynamischer Systeme GmbH
Baierbrunner Str. 15
D-81379 München
Tel: +49-89-747377-7440
Fax: +49-89-747377-99

http://www.tesis-dynaware.com
robert.fis...@tesis.de

Geschäftsführung / Board of Directors
Dr.-Ing. Cornelius Chucholowski - Dipl. Ing. Christian Zahn
Amtsgericht München, HRB 115649


TESIS DYNAware simulation software is in use at Audi, BMW, Ford, MAGNA, MAN, VW 
and elsewhere.

Read more: http://www.tesis-dynaware.com/customers

Re: Building sources for jfxrt.jar and missing packages

2013-07-16 Thread Tom Schindl
If you do that, you might be interested that e(fx)clipse by default
searches for the fx-sources in a file named "javafx-src.zip" which is
located next to your src.zip and attaches them to the Library-Path-Entry.

[...]
> Is this the correct way to go about it?
>  
> I also noticed that the jfxrt.jar from the latest JDK1.8 snapshot includes 
> com.sun.media.* packages which are not yet part of OpenJFX (at least I don´t 
> think so, as my modules/media directory is empty). Is there a reason for this?
>  

Not opensourced yet IIRC

Tom


JavaFX properties usage out of context?

2013-07-16 Thread John C. Turnbull
I am very impressed with the JavaFX properties and bindings functionality
and feel that it is far more general in scope than just a UI toolkit like
JavaFX.  For me, I think the entire feature should be moved to a standard
Java package so that it can readily be used in non-JavaFX applications.

 

Is there any reason such as threading issues or some form of functional
dependency that would prevent JavaFX properties and bindings being used in a
non-JavaFX application such as a server-side component?  My testing seems to
suggest that they work just fine outside of a JavaFX context but I would
like to be sure.

 

Any thoughts on extracting this functionality from JavaFX and moving it to a
more general location in the Java package hierarchy?

 

Thanks,

 

-jct



Re:JavaFX properties usage out of context?

2013-07-16 Thread fabrizio.giud...@tidalwave.it
+1, I was going to ask for the very same thing. It would be nice to use them 
also in context such as Android (I'd like just to have an autonomous jar that 
can be deployed, the reserved package names can be easily worked around).
 
-- 
Fabrizio Giudici 
From: openjfx-dev-boun...@openjdk.java.net
To: openjfx-dev@openjdk.java.net
Cc: 
Date: Tue, 16 Jul 2013 18:54:32 +1000
Subject: JavaFX properties usage out of context?

> I am very impressed with the JavaFX properties and bindings functionality
> and feel that it is far more general in scope than just a UI toolkit like
> JavaFX.  For me, I think the entire feature should be moved to a standard
> Java package so that it can readily be used in non-JavaFX applications.
> 
>  
> 
> Is there any reason such as threading issues or some form of functional
> dependency that would prevent JavaFX properties and bindings being used in a
> non-JavaFX application such as a server-side component?  My testing seems to
> suggest that they work just fine outside of a JavaFX context but I would
> like to be sure.
> 
>  
> 
> Any thoughts on extracting this functionality from JavaFX and moving it to a
> more general location in the Java package hierarchy?
> 
>  
> 
> Thanks,
> 
>  
> 
> -jct
>


hg: openjfx/8/graphics/rt: RT-30703: Quick VK button pressings cause exception

2013-07-16 Thread hang . vo
Changeset: a24be2f5230e
Author:Elina Kleyman 
Date:  2013-07-16 13:49 +0300
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/a24be2f5230e

RT-30703: Quick VK button pressings cause exception

! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/FXVKSkin.java



Re: Building sources for jfxrt.jar and missing packages

2013-07-16 Thread Kevin Rushforth



I´m trying to build a jar containing all sources for jfxrt.jar, so I can attach 
it in Eclipse. For this I´ve added the following lines to the root build.gradle:
...
Is this the correct way to go about it?
  


This looks like the right approach, yes (although rather than excluding 
a list of files, I would just include *.java). Btw, there is a JIRA on 
my plate to produce this for the production build -- RT-21415 
  -- but it was put on 
hold, due to the work on the gradle build among other things.



I also noticed that the jfxrt.jar from the latest JDK1.8 snapshot includes 
com.sun.media.* packages which are not yet part of OpenJFX (at least I don´t 
think so, as my modules/media directory is empty). Is there a reason for this?
  


Media has not yet been open-sourced, but that work is in progress.

-- Kevin


Robert Fisher wrote:

Hi everyone,
 
I´m trying to build a jar containing all sources for jfxrt.jar, so I can attach it in Eclipse. For this I´ve added the following lines to the root build.gradle:
 



build.gradle:
 
task jfxrtSources()
 
compileTargets{
 
...
 
def jfxrtSourcesTask = task("jfxrtSources$t.capital", type: Jar) {

 group = "Basic";
 description = "Creates the jfxrt-sources.jar for the $t.name target";
 archiveName = "build/${t.name}-sdk/rt/lib/ext/jfxrt-sources.jar";
 includeEmptyDirs = false;
 from("modules/base/src/main/java",
  "modules/builders/src/main/java",
  "modules/controls/src/main/java",
  "modules/designTime/src/main/java",
  "modules/fxml/src/main/java",
  "modules/fxpackager/src/main/java",
  "modules/graphics/src/main/java",
  "modules/web/src/main/java");
 
 if (COMPILE_SWING) from ("modules/swing/src/main/java");

 if (COMPILE_SWT) from ("modules/swt/src/main/java");
 
 exclude(targetProperties.jfxrtJarExcludes);

}
jfxrtSources.dependsOn(jfxrtSourcesTask);
 
...
 
}



 
Is this the correct way to go about it?
 
I also noticed that the jfxrt.jar from the latest JDK1.8 snapshot includes com.sun.media.* packages which are not yet part of OpenJFX (at least I don´t think so, as my modules/media directory is empty). Is there a reason for this?
 
Thanks in advance,

Rob
 
 
Mit freundlichen Grüßen

Best Regards

Dr. Robert Fisher


TESIS DYNAware
Technische Simulation Dynamischer Systeme GmbH
Baierbrunner Str. 15
D-81379 München
Tel: +49-89-747377-7440
Fax: +49-89-747377-99

http://www.tesis-dynaware.com
robert.fis...@tesis.de

Geschäftsführung / Board of Directors
Dr.-Ing. Cornelius Chucholowski - Dipl. Ing. Christian Zahn
Amtsgericht München, HRB 115649


TESIS DYNAware simulation software is in use at Audi, BMW, Ford, MAGNA, MAN, VW 
and elsewhere.

Read more: http://www.tesis-dynaware.com/customers


Re: Building sources for jfxrt.jar and missing packages

2013-07-16 Thread Tom Schindl
Do you already have an idea of the nameing & location? Or will it be
part of src.zip?

Tom

On 16.07.13 13:35, Kevin Rushforth wrote:
> 
>> I´m trying to build a jar containing all sources for jfxrt.jar, so I
>> can attach it in Eclipse. For this I´ve added the following lines to
>> the root build.gradle:
>> ...
>> Is this the correct way to go about it?
>>   
> 
> This looks like the right approach, yes (although rather than excluding
> a list of files, I would just include *.java). Btw, there is a JIRA on
> my plate to produce this for the production build -- RT-21415
>   -- but it was put on
> hold, due to the work on the gradle build among other things.
> 
>> I also noticed that the jfxrt.jar from the latest JDK1.8 snapshot
>> includes com.sun.media.* packages which are not yet part of OpenJFX
>> (at least I don´t think so, as my modules/media directory is empty).
>> Is there a reason for this?
>>   
> 
> Media has not yet been open-sourced, but that work is in progress.
> 
> -- Kevin
> 
> 
> Robert Fisher wrote:
>> Hi everyone,
>>  
>> I´m trying to build a jar containing all sources for jfxrt.jar, so I
>> can attach it in Eclipse. For this I´ve added the following lines to
>> the root build.gradle:
>>  
>>
>>
>> build.gradle:
>>  
>> task jfxrtSources()
>>  
>> compileTargets{
>>  
>> ...
>>  
>> def jfxrtSourcesTask = task("jfxrtSources$t.capital", type: Jar) {
>>  group = "Basic";
>>  description = "Creates the jfxrt-sources.jar for the $t.name
>> target";
>>  archiveName = "build/${t.name}-sdk/rt/lib/ext/jfxrt-sources.jar";
>>  includeEmptyDirs = false;
>>  from("modules/base/src/main/java",
>>   "modules/builders/src/main/java",
>>   "modules/controls/src/main/java",
>>   "modules/designTime/src/main/java",
>>   "modules/fxml/src/main/java",
>>   "modules/fxpackager/src/main/java",
>>   "modules/graphics/src/main/java",
>>   "modules/web/src/main/java");
>>  
>>  if (COMPILE_SWING) from ("modules/swing/src/main/java");
>>  if (COMPILE_SWT) from ("modules/swt/src/main/java");
>>  
>>  exclude(targetProperties.jfxrtJarExcludes);
>> }
>> jfxrtSources.dependsOn(jfxrtSourcesTask);
>>  
>> ...
>>  
>> }
>>
>>
>>  
>> Is this the correct way to go about it?
>>  
>> I also noticed that the jfxrt.jar from the latest JDK1.8 snapshot
>> includes com.sun.media.* packages which are not yet part of OpenJFX
>> (at least I don´t think so, as my modules/media directory is empty).
>> Is there a reason for this?
>>  
>> Thanks in advance,
>> Rob
>>  
>>  
>> Mit freundlichen Grüßen
>> Best Regards
>>
>> Dr. Robert Fisher
>> 
>>
>> TESIS DYNAware
>> Technische Simulation Dynamischer Systeme GmbH
>> Baierbrunner Str. 15
>> D-81379 München
>> Tel: +49-89-747377-7440
>> Fax: +49-89-747377-99
>>
>> http://www.tesis-dynaware.com
>> robert.fis...@tesis.de
>>
>> Geschäftsführung / Board of Directors
>> Dr.-Ing. Cornelius Chucholowski - Dipl. Ing. Christian Zahn
>> Amtsgericht München, HRB 115649
>> 
>>
>> TESIS DYNAware simulation software is in use at Audi, BMW, Ford,
>> MAGNA, MAN, VW and elsewhere.
>>
>> Read more: http://www.tesis-dynaware.com/customers



RE: JavaFX properties usage out of context?

2013-07-16 Thread Pedro Duque Vieira
+1

I would add that properties should actually be supported at the language
level. That is, having special java keywords that would create properties
and reduce all the code clutter you have to write every time you want to
create properties.

Regards,

-- 
Pedro Duque Vieira


hg: openjfx/8/graphics/rt: 2 new changesets

2013-07-16 Thread hang . vo
Changeset: e3c3c884cce1
Author:Alexander Zvegintsev
Date:  2013-07-16 15:07 +0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/e3c3c884cce1

RT-31119 Gtk: Wrong screen depth reported from native

! modules/graphics/src/main/native-glass/gtk/GlassApplication.cpp

Changeset: 71b246b6efa0
Author:Martin Sladecek 
Date:  2013-07-16 13:13 +0200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/71b246b6efa0

RT-30545 AnchorPane Layout Issue

! modules/graphics/src/main/java/javafx/scene/Node.java
! modules/graphics/src/stub/java/javafx/scene/NodeTest.java



hg: openjfx/8/graphics/rt: 3 new changesets

2013-07-16 Thread hang . vo
Changeset: 66df77e2c6b2
Author:Daniel Blaukopf 
Date:  2013-07-16 14:26 +0300
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/66df77e2c6b2

RT-31639 Re-enable x86 development builds with EGL

+ buildSrc/x86egl.gradle

Changeset: 57ddbe09941c
Author:Martin Sladecek 
Date:  2013-07-16 13:33 +0200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/57ddbe09941c

[JAVADOC] RT-31682 & RT-31680

! modules/base/src/main/java/javafx/beans/binding/BooleanBinding.java
! modules/base/src/main/java/javafx/beans/binding/BooleanExpression.java
! modules/base/src/main/java/javafx/beans/property/BooleanProperty.java
! modules/graphics/src/main/java/javafx/animation/AnimationTimer.java

Changeset: 74ac20176fc5
Author:Martin Sladecek 
Date:  2013-07-16 13:35 +0200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/74ac20176fc5

Automated merge with 
ssh://jfxsrc.us.oracle.com//javafx/8.0/scrum/graphics/jfxrt




Re: Building sources for jfxrt.jar and missing packages

2013-07-16 Thread Kevin Rushforth
No, it will not be part of src.zip for JDK 8, but a parallel 
"javafx-src.zip" file in the same directory as src.zip.


-- Kevin

Tom Schindl wrote:

Do you already have an idea of the nameing & location? Or will it be
part of src.zip?

Tom

On 16.07.13 13:35, Kevin Rushforth wrote:
  

I´m trying to build a jar containing all sources for jfxrt.jar, so I
can attach it in Eclipse. For this I´ve added the following lines to
the root build.gradle:
...
Is this the correct way to go about it?
  
  

This looks like the right approach, yes (although rather than excluding
a list of files, I would just include *.java). Btw, there is a JIRA on
my plate to produce this for the production build -- RT-21415
  -- but it was put on
hold, due to the work on the gradle build among other things.



I also noticed that the jfxrt.jar from the latest JDK1.8 snapshot
includes com.sun.media.* packages which are not yet part of OpenJFX
(at least I don´t think so, as my modules/media directory is empty).
Is there a reason for this?
  
  

Media has not yet been open-sourced, but that work is in progress.

-- Kevin


Robert Fisher wrote:


Hi everyone,
 
I´m trying to build a jar containing all sources for jfxrt.jar, so I

can attach it in Eclipse. For this I´ve added the following lines to
the root build.gradle:
 



build.gradle:
 
task jfxrtSources()
 
compileTargets{
 
...
 
def jfxrtSourcesTask = task("jfxrtSources$t.capital", type: Jar) {

 group = "Basic";
 description = "Creates the jfxrt-sources.jar for the $t.name
target";
 archiveName = "build/${t.name}-sdk/rt/lib/ext/jfxrt-sources.jar";
 includeEmptyDirs = false;
 from("modules/base/src/main/java",
  "modules/builders/src/main/java",
  "modules/controls/src/main/java",
  "modules/designTime/src/main/java",
  "modules/fxml/src/main/java",
  "modules/fxpackager/src/main/java",
  "modules/graphics/src/main/java",
  "modules/web/src/main/java");
 
 if (COMPILE_SWING) from ("modules/swing/src/main/java");

 if (COMPILE_SWT) from ("modules/swt/src/main/java");
 
 exclude(targetProperties.jfxrtJarExcludes);

}
jfxrtSources.dependsOn(jfxrtSourcesTask);
 
...
 
}



 
Is this the correct way to go about it?
 
I also noticed that the jfxrt.jar from the latest JDK1.8 snapshot

includes com.sun.media.* packages which are not yet part of OpenJFX
(at least I don´t think so, as my modules/media directory is empty).
Is there a reason for this?
 
Thanks in advance,

Rob
 
 
Mit freundlichen Grüßen

Best Regards

Dr. Robert Fisher


TESIS DYNAware
Technische Simulation Dynamischer Systeme GmbH
Baierbrunner Str. 15
D-81379 München
Tel: +49-89-747377-7440
Fax: +49-89-747377-99

http://www.tesis-dynaware.com
robert.fis...@tesis.de

Geschäftsführung / Board of Directors
Dr.-Ing. Cornelius Chucholowski - Dipl. Ing. Christian Zahn
Amtsgericht München, HRB 115649


TESIS DYNAware simulation software is in use at Audi, BMW, Ford,
MAGNA, MAN, VW and elsewhere.

Read more: http://www.tesis-dynaware.com/customers
  


  


Re: JavaFX properties usage out of context?

2013-07-16 Thread Tom Eugelink


Be aware that the binding of properties is lazy. That means that if a value changes, 
bound properties are not updated, they only get notified of the change. Serverside that 
may not be the preferred / expected behavior (binding libraries like JGoodies always 
update), so it may be necessary to "short circuit" the notification to always 
trigger the update.

Tom


On 2013-07-16 10:54, John C. Turnbull wrote:

I am very impressed with the JavaFX properties and bindings functionality
and feel that it is far more general in scope than just a UI toolkit like
JavaFX.  For me, I think the entire feature should be moved to a standard
Java package so that it can readily be used in non-JavaFX applications.

  


Is there any reason such as threading issues or some form of functional
dependency that would prevent JavaFX properties and bindings being used in a
non-JavaFX application such as a server-side component?  My testing seems to
suggest that they work just fine outside of a JavaFX context but I would
like to be sure.

  


Any thoughts on extracting this functionality from JavaFX and moving it to a
more general location in the Java package hierarchy?

  


Thanks,

  


-jct






hg: openjfx/8/graphics/rt: 4 new changesets

2013-07-16 Thread hang . vo
Changeset: a61b939ac01b
Author:Alexander Zvegintsev
Date:  2013-07-16 15:47 +0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/a61b939ac01b

RT-31232 Gtk: Error when closing JavaFX stage by escape

! modules/graphics/src/main/native-glass/gtk/GlassApplication.cpp
! modules/graphics/src/main/native-glass/gtk/glass_window.cpp
! modules/graphics/src/main/native-glass/gtk/glass_window.h

Changeset: 34086d745270
Author:Martin Sladecek 
Date:  2013-07-16 13:59 +0200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/34086d745270

[JAVADOC] fixed documentation of *Expression sizeProperty and emptyProperty

! modules/base/src/main/java/javafx/beans/binding/ListExpression.java
! modules/base/src/main/java/javafx/beans/binding/MapExpression.java
! modules/base/src/main/java/javafx/beans/binding/SetExpression.java

Changeset: 90eb5c049031
Author:Martin Sladecek 
Date:  2013-07-16 13:59 +0200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/90eb5c049031

Automated merge with file:///home/martin/work/jfx-80-sync/rt


Changeset: 9138b9b61850
Author:Martin Sladecek 
Date:  2013-07-16 14:01 +0200
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/9138b9b61850

Automated merge with 
ssh://jfxsrc.us.oracle.com//javafx/8.0/scrum/graphics/jfxrt




hg: openjfx/8/graphics/rt: 2 new changesets

2013-07-16 Thread hang . vo
Changeset: 8eb897ad8dc6
Author:Felipe Heidrich 
Date:  2013-07-16 08:32 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/8eb897ad8dc6

RT-31552: Improve font factory loading

! modules/graphics/src/main/java/com/sun/javafx/font/CompositeStrike.java
! modules/graphics/src/main/java/com/sun/javafx/font/MacFontFinder.java
! modules/graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java
! modules/graphics/src/main/java/com/sun/javafx/font/PrismFontLoader.java
! modules/graphics/src/main/java/com/sun/javafx/font/PrismFontStrike.java
! modules/graphics/src/main/java/com/sun/javafx/font/PrismFontUtils.java
! modules/graphics/src/main/java/com/sun/javafx/font/pango/PangoFactory.java
! modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java
! modules/graphics/src/main/java/com/sun/prism/impl/ps/BaseShaderGraphics.java
! modules/graphics/src/main/java/com/sun/prism/impl/shape/ShapeUtil.java
! modules/graphics/src/main/java/com/sun/prism/sw/SWGraphics.java
! modules/graphics/src/main/native-font/fontpath.c

Changeset: d81166ee8ea0
Author:Petr Pchelko 
Date:  2013-07-16 19:42 +0400
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/d81166ee8ea0

RT-26889: JavaFX program runs with j2d pipe fails with IllegalStateException on 
Windows
Reviewed-by: anthony, art

! modules/graphics/src/main/java/com/sun/prism/PresentableState.java
! modules/graphics/src/main/java/com/sun/prism/j2d/J2DPresentable.java



Re: JavaFX properties usage out of context?

2013-07-16 Thread Richard Bair
In fact, this is why the "base" module exists separate from "graphics", is so 
that you can take base.jar and reuse it on the server side. I would not 
anticipate that these classes change packages because that would be massively 
incompatible, however there is no reason you couldn't reuse the base module on 
the server side.

Richard

On Jul 16, 2013, at 5:24 AM, Tom Eugelink  wrote:

> 
> Be aware that the binding of properties is lazy. That means that if a value 
> changes, bound properties are not updated, they only get notified of the 
> change. Serverside that may not be the preferred / expected behavior (binding 
> libraries like JGoodies always update), so it may be necessary to "short 
> circuit" the notification to always trigger the update.
> 
> Tom
> 
> 
> On 2013-07-16 10:54, John C. Turnbull wrote:
>> I am very impressed with the JavaFX properties and bindings functionality
>> and feel that it is far more general in scope than just a UI toolkit like
>> JavaFX.  For me, I think the entire feature should be moved to a standard
>> Java package so that it can readily be used in non-JavaFX applications.
>> 
>>  
>> Is there any reason such as threading issues or some form of functional
>> dependency that would prevent JavaFX properties and bindings being used in a
>> non-JavaFX application such as a server-side component?  My testing seems to
>> suggest that they work just fine outside of a JavaFX context but I would
>> like to be sure.
>> 
>>  
>> Any thoughts on extracting this functionality from JavaFX and moving it to a
>> more general location in the Java package hierarchy?
>> 
>>  
>> Thanks,
>> 
>>  
>> -jct
>> 
> 
> 



hg: openjfx/8/graphics/rt: 2 new changesets

2013-07-16 Thread hang . vo
Changeset: 89c1466e9ba0
Author:rbair
Date:  2013-07-16 10:02 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/89c1466e9ba0

RT-31704: Scrolling an image causes NPE

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

Changeset: 0f0875373d19
Author:rbair
Date:  2013-07-16 10:03 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/0f0875373d19

Merge




hg: openjfx/8/controls/rt: RT-30953: pass binary css version along to deserialization methods

2013-07-16 Thread hang . vo
Changeset: a288096871fd
Author:David Grieve
Date:  2013-07-16 14:08 -0400
URL:   http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/a288096871fd

RT-30953: pass binary css version along to deserialization methods

! modules/graphics/src/main/java/com/sun/javafx/css/CompoundSelector.java
! modules/graphics/src/main/java/com/sun/javafx/css/Declaration.java
! modules/graphics/src/main/java/com/sun/javafx/css/ParsedValueImpl.java
! modules/graphics/src/main/java/com/sun/javafx/css/Rule.java
! modules/graphics/src/main/java/com/sun/javafx/css/Selector.java
! modules/graphics/src/main/java/com/sun/javafx/css/SimpleSelector.java
! modules/graphics/src/main/java/com/sun/javafx/css/StyleConverterImpl.java
! modules/graphics/src/main/java/com/sun/javafx/css/Stylesheet.java
! 
modules/graphics/src/main/java/com/sun/javafx/css/converters/EnumConverter.java
! 
modules/graphics/src/main/java/com/sun/javafx/css/converters/FontConverter.java
! modules/graphics/src/main/java/com/sun/javafx/css/parser/Css2Bin.java
! 
modules/graphics/src/main/java/com/sun/javafx/scene/layout/region/RepeatStructConverter.java
! modules/graphics/src/stub/java/com/sun/javafx/css/ParsedValueTest.java
! modules/graphics/src/stub/java/com/sun/javafx/css/RuleTest.java
! modules/graphics/src/stub/java/com/sun/javafx/css/StylesheetTest.java
! modules/graphics/src/stub/java/com/sun/javafx/css/parser/CSSParserTest.java
! 
modules/graphics/src/stub/java/com/sun/javafx/scene/layout/region/BackgroundRepeatConverterTest.java
+ modules/graphics/src/stub/resources/com/sun/javafx/css/RT-30953-2.2.21.bss
+ modules/graphics/src/stub/resources/com/sun/javafx/css/RT-30953-2.2.4.bss
+ modules/graphics/src/stub/resources/com/sun/javafx/css/RT-30953-2.2.45.bss
+ modules/graphics/src/stub/resources/com/sun/javafx/css/RT-30953.css



hg: openjfx/2u/dev/rt: 3 new changesets

2013-07-16 Thread hang . vo
Changeset: 9f367d32aae3
Author:Lubomir Nerad 
Date:  2013-07-08 13:15 +0200
URL:   http://hg.openjdk.java.net/openjfx/2u/dev/rt/rev/9f367d32aae3

Backport RT-16111: FileChooser: Need to be able to specify initial file name in 
save dialog

! javafx-ui-common/src/com/sun/javafx/tk/DummyToolkit.java
! javafx-ui-common/src/com/sun/javafx/tk/Toolkit.java
! javafx-ui-common/src/javafx/stage/FileChooser.java
+ javafx-ui-common/test/unit/javafx/stage/CommonDialogsTest.java
! test-stub-toolkit/src/com/sun/javafx/pgstub/StubToolkit.java

Changeset: d944e0629295
Author:Lubomir Nerad 
Date:  2013-07-08 13:30 +0200
URL:   http://hg.openjdk.java.net/openjfx/2u/dev/rt/rev/d944e0629295

Fixed since for FC initial file name

! javafx-ui-common/src/javafx/stage/FileChooser.java

Changeset: 5ea4d80617e4
Author:hudson
Date:  2013-07-10 18:36 -0700
URL:   http://hg.openjdk.java.net/openjfx/2u/dev/rt/rev/5ea4d80617e4

Added tag 2.2.40-b33 for changeset d944e0629295

! .hgtags



hg: openjfx/8/controls/rt: 4 new changesets

2013-07-16 Thread hang . vo
Changeset: 2513a7b3d008
Author:jgiles
Date:  2013-07-16 09:52 +1200
URL:   http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/2513a7b3d008

RT-31647: Add an impl_ fixed property to TableColumnBase

! modules/controls/src/main/java/javafx/scene/control/TableColumnBase.java

Changeset: 1bd4d5af3f8f
Author:jgiles
Date:  2013-07-16 10:23 +1200
URL:   http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/1bd4d5af3f8f

Further Table* code cleanups, including RT-31617 (TableHeaderRow : make some 
methods protected)

! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/NestedTableColumnHeader.java
! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableColumnHeader.java
! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableHeaderRow.java
! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkinBase.java

Changeset: 5ad7a4123a7a
Author:jgiles
Date:  2013-07-16 10:32 +1200
URL:   http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/5ad7a4123a7a

RT-31570: Make some VirtualFlow method protected

! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/VirtualFlow.java

Changeset: b0d67fff23fc
Author:jgiles
Date:  2013-07-17 10:21 +1200
URL:   http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/b0d67fff23fc

Automated merge with 
ssh://jfxsrc.us.oracle.com//javafx/8.0/scrum/controls/jfx/rt




ConcurrentModificationException during controls test runs

2013-07-16 Thread Richard Bair
Is anybody else seeing this?

javafx.scene.control.ComboBoxTest > test_rt31479 FAILED
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:2290)
at java.util.HashMap$EntryIterator.next(HashMap.java:2361)
at java.util.HashMap$EntryIterator.next(HashMap.java:2359)
at 
javafx.scene.CssStyleHelper.resetToInitialValues(CssStyleHelper.java:280)
at 
javafx.scene.CssStyleHelper.createStyleHelper(CssStyleHelper.java:177)
at javafx.scene.Node.impl_processCSS(Node.java:8639)
at javafx.scene.Parent.impl_processCSS(Parent.java:1202)
at javafx.scene.control.Control.impl_processCSS(Control.java:863)
at javafx.scene.Parent.impl_processCSS(Parent.java:1217)
at 
javafx.scene.control.PopupControl$CSSBridge.impl_processCSS(PopupControl.java:1221)
at javafx.scene.Parent.impl_processCSS(Parent.java:1217)
at javafx.scene.Node.processCSS(Node.java:8571)
at javafx.scene.Scene.doCSSPass(Scene.java:538)
at javafx.scene.Scene.preferredSize(Scene.java:1562)
at javafx.scene.Scene.impl_preferredSize(Scene.java:1571)
at javafx.stage.Window$9.invalidated(Window.java:726)
at 
javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at 
javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
at javafx.stage.Window.setShowing(Window.java:800)
at javafx.stage.Window.show(Window.java:815)
at javafx.stage.PopupWindow.showImpl(PopupWindow.java:394)
at javafx.stage.PopupWindow.show(PopupWindow.java:368)
at 
com.sun.javafx.scene.control.skin.ComboBoxPopupControl.positionAndShowPopup(ComboBoxPopupControl.java:99)
at 
com.sun.javafx.scene.control.skin.ComboBoxPopupControl.show(ComboBoxPopupControl.java:79)
at 
com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.handleControlPropertyChanged(ComboBoxBaseSkin.java:123)
at 
com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.handleControlPropertyChanged(ComboBoxListViewSkin.java:219)
at 
com.sun.javafx.scene.control.skin.BehaviorSkinBase$2.call(BehaviorSkinBase.java:180)
at 
com.sun.javafx.scene.control.skin.BehaviorSkinBase$2.call(BehaviorSkinBase.java:177)
at 
com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:56)
at 
javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:88)
at 
com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:176)
at 
com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at 
javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:179)
at 
javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.access$100(ReadOnlyBooleanWrapper.java:148)
at 
javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:144)
at 
javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at 
javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
at javafx.scene.control.ComboBoxBase.setShowing(ComboBoxBase.java:191)
at javafx.scene.control.ComboBoxBase.show(ComboBoxBase.java:393)
at 
javafx.scene.control.ComboBoxTest.test_rt31479(ComboBoxTest.java:1059)



Re: ConcurrentModificationException during controls test runs

2013-07-16 Thread Chien Yang

Yes, this has already been filed today.

https://javafx-jira.kenai.com/browse/RT-31714

- Chien

On 7/16/13 3:58 PM, Richard Bair wrote:

Is anybody else seeing this?

javafx.scene.control.ComboBoxTest > test_rt31479 FAILED
 java.util.ConcurrentModificationException
 at java.util.HashMap$HashIterator.nextEntry(HashMap.java:2290)
 at java.util.HashMap$EntryIterator.next(HashMap.java:2361)
 at java.util.HashMap$EntryIterator.next(HashMap.java:2359)
 at 
javafx.scene.CssStyleHelper.resetToInitialValues(CssStyleHelper.java:280)
 at 
javafx.scene.CssStyleHelper.createStyleHelper(CssStyleHelper.java:177)
 at javafx.scene.Node.impl_processCSS(Node.java:8639)
 at javafx.scene.Parent.impl_processCSS(Parent.java:1202)
 at javafx.scene.control.Control.impl_processCSS(Control.java:863)
 at javafx.scene.Parent.impl_processCSS(Parent.java:1217)
 at 
javafx.scene.control.PopupControl$CSSBridge.impl_processCSS(PopupControl.java:1221)
 at javafx.scene.Parent.impl_processCSS(Parent.java:1217)
 at javafx.scene.Node.processCSS(Node.java:8571)
 at javafx.scene.Scene.doCSSPass(Scene.java:538)
 at javafx.scene.Scene.preferredSize(Scene.java:1562)
 at javafx.scene.Scene.impl_preferredSize(Scene.java:1571)
 at javafx.stage.Window$9.invalidated(Window.java:726)
 at 
javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
 at 
javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
 at javafx.stage.Window.setShowing(Window.java:800)
 at javafx.stage.Window.show(Window.java:815)
 at javafx.stage.PopupWindow.showImpl(PopupWindow.java:394)
 at javafx.stage.PopupWindow.show(PopupWindow.java:368)
 at 
com.sun.javafx.scene.control.skin.ComboBoxPopupControl.positionAndShowPopup(ComboBoxPopupControl.java:99)
 at 
com.sun.javafx.scene.control.skin.ComboBoxPopupControl.show(ComboBoxPopupControl.java:79)
 at 
com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.handleControlPropertyChanged(ComboBoxBaseSkin.java:123)
 at 
com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.handleControlPropertyChanged(ComboBoxListViewSkin.java:219)
 at 
com.sun.javafx.scene.control.skin.BehaviorSkinBase$2.call(BehaviorSkinBase.java:180)
 at 
com.sun.javafx.scene.control.skin.BehaviorSkinBase$2.call(BehaviorSkinBase.java:177)
 at 
com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:56)
 at 
javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:88)
 at 
com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:176)
 at 
com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
 at 
javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:179)
 at 
javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.access$100(ReadOnlyBooleanWrapper.java:148)
 at 
javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:144)
 at 
javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
 at 
javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
 at javafx.scene.control.ComboBoxBase.setShowing(ComboBoxBase.java:191)
 at javafx.scene.control.ComboBoxBase.show(ComboBoxBase.java:393)
 at 
javafx.scene.control.ComboBoxTest.test_rt31479(ComboBoxTest.java:1059)





Re: ConcurrentModificationException during controls test runs

2013-07-16 Thread Jonathan Giles

Yes, a bug report came in today about it:

https://javafx-jira.kenai.com/browse/RT-31714

I sent it David's waybut it is probably a bug in my ComboBox code...

-- Jonathan

On 17/07/2013 10:58 a.m., Richard Bair wrote:

Is anybody else seeing this?

javafx.scene.control.ComboBoxTest > test_rt31479 FAILED
 java.util.ConcurrentModificationException
 at java.util.HashMap$HashIterator.nextEntry(HashMap.java:2290)
 at java.util.HashMap$EntryIterator.next(HashMap.java:2361)
 at java.util.HashMap$EntryIterator.next(HashMap.java:2359)
 at 
javafx.scene.CssStyleHelper.resetToInitialValues(CssStyleHelper.java:280)
 at 
javafx.scene.CssStyleHelper.createStyleHelper(CssStyleHelper.java:177)
 at javafx.scene.Node.impl_processCSS(Node.java:8639)
 at javafx.scene.Parent.impl_processCSS(Parent.java:1202)
 at javafx.scene.control.Control.impl_processCSS(Control.java:863)
 at javafx.scene.Parent.impl_processCSS(Parent.java:1217)
 at 
javafx.scene.control.PopupControl$CSSBridge.impl_processCSS(PopupControl.java:1221)
 at javafx.scene.Parent.impl_processCSS(Parent.java:1217)
 at javafx.scene.Node.processCSS(Node.java:8571)
 at javafx.scene.Scene.doCSSPass(Scene.java:538)
 at javafx.scene.Scene.preferredSize(Scene.java:1562)
 at javafx.scene.Scene.impl_preferredSize(Scene.java:1571)
 at javafx.stage.Window$9.invalidated(Window.java:726)
 at 
javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
 at 
javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
 at javafx.stage.Window.setShowing(Window.java:800)
 at javafx.stage.Window.show(Window.java:815)
 at javafx.stage.PopupWindow.showImpl(PopupWindow.java:394)
 at javafx.stage.PopupWindow.show(PopupWindow.java:368)
 at 
com.sun.javafx.scene.control.skin.ComboBoxPopupControl.positionAndShowPopup(ComboBoxPopupControl.java:99)
 at 
com.sun.javafx.scene.control.skin.ComboBoxPopupControl.show(ComboBoxPopupControl.java:79)
 at 
com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.handleControlPropertyChanged(ComboBoxBaseSkin.java:123)
 at 
com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.handleControlPropertyChanged(ComboBoxListViewSkin.java:219)
 at 
com.sun.javafx.scene.control.skin.BehaviorSkinBase$2.call(BehaviorSkinBase.java:180)
 at 
com.sun.javafx.scene.control.skin.BehaviorSkinBase$2.call(BehaviorSkinBase.java:177)
 at 
com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:56)
 at 
javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:88)
 at 
com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:176)
 at 
com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
 at 
javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:179)
 at 
javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.access$100(ReadOnlyBooleanWrapper.java:148)
 at 
javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:144)
 at 
javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
 at 
javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
 at javafx.scene.control.ComboBoxBase.setShowing(ComboBoxBase.java:191)
 at javafx.scene.control.ComboBoxBase.show(ComboBoxBase.java:393)
 at 
javafx.scene.control.ComboBoxTest.test_rt31479(ComboBoxTest.java:1059)





Re: ConcurrentModificationException during controls test runs

2013-07-16 Thread Kevin Rushforth
Yes, Jennifer and I both saw this during integration testing. Jennifer 
also saw this when running the toys. She will file a bug.


-- Kevin


Richard Bair wrote:

Is anybody else seeing this?

javafx.scene.control.ComboBoxTest > test_rt31479 FAILED
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:2290)
at java.util.HashMap$EntryIterator.next(HashMap.java:2361)
at java.util.HashMap$EntryIterator.next(HashMap.java:2359)
at 
javafx.scene.CssStyleHelper.resetToInitialValues(CssStyleHelper.java:280)
at 
javafx.scene.CssStyleHelper.createStyleHelper(CssStyleHelper.java:177)
at javafx.scene.Node.impl_processCSS(Node.java:8639)
at javafx.scene.Parent.impl_processCSS(Parent.java:1202)
at javafx.scene.control.Control.impl_processCSS(Control.java:863)
at javafx.scene.Parent.impl_processCSS(Parent.java:1217)
at 
javafx.scene.control.PopupControl$CSSBridge.impl_processCSS(PopupControl.java:1221)
at javafx.scene.Parent.impl_processCSS(Parent.java:1217)
at javafx.scene.Node.processCSS(Node.java:8571)
at javafx.scene.Scene.doCSSPass(Scene.java:538)
at javafx.scene.Scene.preferredSize(Scene.java:1562)
at javafx.scene.Scene.impl_preferredSize(Scene.java:1571)
at javafx.stage.Window$9.invalidated(Window.java:726)
at 
javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at 
javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
at javafx.stage.Window.setShowing(Window.java:800)
at javafx.stage.Window.show(Window.java:815)
at javafx.stage.PopupWindow.showImpl(PopupWindow.java:394)
at javafx.stage.PopupWindow.show(PopupWindow.java:368)
at 
com.sun.javafx.scene.control.skin.ComboBoxPopupControl.positionAndShowPopup(ComboBoxPopupControl.java:99)
at 
com.sun.javafx.scene.control.skin.ComboBoxPopupControl.show(ComboBoxPopupControl.java:79)
at 
com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.handleControlPropertyChanged(ComboBoxBaseSkin.java:123)
at 
com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.handleControlPropertyChanged(ComboBoxListViewSkin.java:219)
at 
com.sun.javafx.scene.control.skin.BehaviorSkinBase$2.call(BehaviorSkinBase.java:180)
at 
com.sun.javafx.scene.control.skin.BehaviorSkinBase$2.call(BehaviorSkinBase.java:177)
at 
com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:56)
at 
javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:88)
at 
com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:176)
at 
com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at 
javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:179)
at 
javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.access$100(ReadOnlyBooleanWrapper.java:148)
at 
javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:144)
at 
javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at 
javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
at javafx.scene.control.ComboBoxBase.setShowing(ComboBoxBase.java:191)
at javafx.scene.control.ComboBoxBase.show(ComboBoxBase.java:393)
at 
javafx.scene.control.ComboBoxTest.test_rt31479(ComboBoxTest.java:1059)

  


hg: openjfx/8/graphics/rt: RT-19822: Reroute tests affected by RT-19311 to use API provided by core libs

2013-07-16 Thread hang . vo
Changeset: 8c5b4946c92b
Author:rbair
Date:  2013-07-16 16:30 -0700
URL:   http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/8c5b4946c92b

RT-19822: Reroute tests affected by RT-19311 to use API provided by core libs

! build.gradle
! 
modules/controls/src/test/java/com/sun/javafx/scene/control/infrastructure/ControlTestUtils.java



Re: ConcurrentModificationException during controls test runs

2013-07-16 Thread David Grieve
Please don't file a bug. There are two bugs for this already! 
https://javafx-jira.kenai.com/browse/RT-31698
https://javafx-jira.kenai.com/browse/RT-31714

On Jul 16, 2013, at 7:26 PM, Kevin Rushforth  wrote:

> Yes, Jennifer and I both saw this during integration testing. Jennifer also 
> saw this when running the toys. She will file a bug.
> 
> -- Kevin
> 
> 
> Richard Bair wrote:
>> Is anybody else seeing this?
>> 
>> javafx.scene.control.ComboBoxTest > test_rt31479 FAILED
>>java.util.ConcurrentModificationException
>>at java.util.HashMap$HashIterator.nextEntry(HashMap.java:2290)
>>at java.util.HashMap$EntryIterator.next(HashMap.java:2361)
>>at java.util.HashMap$EntryIterator.next(HashMap.java:2359)
>>at 
>> javafx.scene.CssStyleHelper.resetToInitialValues(CssStyleHelper.java:280)
>>at 
>> javafx.scene.CssStyleHelper.createStyleHelper(CssStyleHelper.java:177)
>>at javafx.scene.Node.impl_processCSS(Node.java:8639)
>>at javafx.scene.Parent.impl_processCSS(Parent.java:1202)
>>at javafx.scene.control.Control.impl_processCSS(Control.java:863)
>>at javafx.scene.Parent.impl_processCSS(Parent.java:1217)
>>at 
>> javafx.scene.control.PopupControl$CSSBridge.impl_processCSS(PopupControl.java:1221)
>>at javafx.scene.Parent.impl_processCSS(Parent.java:1217)
>>at javafx.scene.Node.processCSS(Node.java:8571)
>>at javafx.scene.Scene.doCSSPass(Scene.java:538)
>>at javafx.scene.Scene.preferredSize(Scene.java:1562)
>>at javafx.scene.Scene.impl_preferredSize(Scene.java:1571)
>>at javafx.stage.Window$9.invalidated(Window.java:726)
>>at 
>> javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
>>at 
>> javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
>>at javafx.stage.Window.setShowing(Window.java:800)
>>at javafx.stage.Window.show(Window.java:815)
>>at javafx.stage.PopupWindow.showImpl(PopupWindow.java:394)
>>at javafx.stage.PopupWindow.show(PopupWindow.java:368)
>>at 
>> com.sun.javafx.scene.control.skin.ComboBoxPopupControl.positionAndShowPopup(ComboBoxPopupControl.java:99)
>>at 
>> com.sun.javafx.scene.control.skin.ComboBoxPopupControl.show(ComboBoxPopupControl.java:79)
>>at 
>> com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.handleControlPropertyChanged(ComboBoxBaseSkin.java:123)
>>at 
>> com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.handleControlPropertyChanged(ComboBoxListViewSkin.java:219)
>>at 
>> com.sun.javafx.scene.control.skin.BehaviorSkinBase$2.call(BehaviorSkinBase.java:180)
>>at 
>> com.sun.javafx.scene.control.skin.BehaviorSkinBase$2.call(BehaviorSkinBase.java:177)
>>at 
>> com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:56)
>>at 
>> javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:88)
>>at 
>> com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:176)
>>at 
>> com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
>>at 
>> javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:179)
>>at 
>> javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.access$100(ReadOnlyBooleanWrapper.java:148)
>>at 
>> javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:144)
>>at 
>> javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
>>at 
>> javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
>>at javafx.scene.control.ComboBoxBase.setShowing(ComboBoxBase.java:191)
>>at javafx.scene.control.ComboBoxBase.show(ComboBoxBase.java:393)
>>at 
>> javafx.scene.control.ComboBoxTest.test_rt31479(ComboBoxTest.java:1059)
>> 
>>