hg: openjfx/2.2/controls/rt: 12 new changesets

hang.vo at oracle.com hang.vo at oracle.com
Mon Jun 4 14:17:35 PDT 2012

Changeset: 87d53f13f4d4
Author:    hudson
Date:      2012-05-31 13:21 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/87d53f13f4d4

Added tag 2.2-b11 for changeset 85b700eea97b

! .hgtags

Changeset: c8c19d5e7527
Author:    rbair
Date:      2012-05-30 09:25 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/c8c19d5e7527

Fix for RT-21914: CheckBox API documentation example misnames as Checkbox

! javafx-ui-controls/src/javafx/scene/control/CheckBox.java

Changeset: 9e776e8ca832
Author:    rbair
Date:      2012-05-30 12:24 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/9e776e8ca832

Fix for RT-21830: Improve Color startup by shortening the rgb calls for the predefined colors.

The fix was to add a private constructor which takes 3 params instead of 4, all floats. (The 3 vs. 4 params makes it easier to make sure that we're only calling this constructor internally for the static colors). The static colors were converted over to use this constructor, and using pre-computed r, g, b float values (vs. the old approach of / 255.0 for each color at runtime).

As this was a "Medium" priorty issue, probably actually a "Minor", I don't expect major gains from this. Just a little piece of salami.

! javafx-ui-common/src/javafx/scene/paint/Color.java

Changeset: 7cdd9f231eff
Author:    rbair
Date:      2012-05-30 12:32 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/7cdd9f231eff

Fixed duplicate color declaration.

! javafx-ui-common/src/javafx/scene/paint/Color.java

Changeset: 3edb1c7201e5
Author:    rbair
Date:      2012-05-30 14:46 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/3edb1c7201e5

Fix for RT-20880: IllegalStateException thrown from Service#restart().

Under some circumstances (such as if the task had already run) cancel returns false and the state is not changed to CANCELLED. Due to concurrency, the bindings & state of the service have not completed by the time reset is called by restart, and it is in the wrong state and throws an exception. Test added.

! javafx-concurrent/src/javafx/concurrent/Service.java
! javafx-concurrent/test/javafx/concurrent/ServiceLifecycleTest.java

Changeset: bd432837e714
Author:    rbair
Date:      2012-05-30 15:24 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/bd432837e714

Fix for RT-19645: Task updateProgress should take double values, not long values

! javafx-concurrent/src/javafx/concurrent/Task.java

Changeset: 63b0d121d3cd
Author:    kcr
Date:      2012-06-01 16:00 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/63b0d121d3cd

RT-21973: Suppress warning message when Toolkit is unable to load msvcr100.dll
Reviewed by Igor

! javafx-ui-common/src/com/sun/javafx/tk/Toolkit.java

Changeset: 9be4d697d70f
Author:    kcr
Date:      2012-06-01 16:00 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/9be4d697d70f

RT-21789: node snapshot: wrong snapshot area
Reviewed by Jim

! javafx-ui-common/src/javafx/scene/Scene.java

Changeset: a2b59544661f
Author:    kcr
Date:      2012-06-01 16:00 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/a2b59544661f

RT-21924: Passing in a null Callback as an argument to snapshot should throw NPE back to caller
Reviewed by Jim

! javafx-ui-common/src/javafx/scene/Node.java
! javafx-ui-common/src/javafx/scene/Scene.java

Changeset: 2faa9edf67c9
Author:    Pavel Safrata
Date:      2012-06-04 10:56 +0200
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/2faa9edf67c9

Minor javadoc improvements for input events (fixes RT-22005).

! javafx-ui-common/src/javafx/scene/input/GestureEvent.java
! javafx-ui-common/src/javafx/scene/input/KeyEvent.java
! javafx-ui-common/src/javafx/scene/input/MouseEvent.java
! javafx-ui-common/src/javafx/scene/input/TouchEvent.java

Changeset: c795c8396f82
Author:    Yao Wang <yao.w.wang at oracle.com>
Date:      2012-06-04 10:07 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/c795c8396f82

Automated merge with ssh://jfxsrc.us.oracle.com//javafx/2.2/MASTER/jfx//rt

Changeset: 04cd43ba99ec
Author:    leifs
Date:      2012-06-04 14:02 -0700
URL:       http://hg.openjdk.java.net/openjfx/2.2/controls/rt/rev/04cd43ba99ec

Automated merge with ssh://jfxsrc.us.oracle.com//javafx/2.2/MASTER/rt

! javafx-ui-common/src/javafx/scene/Node.java

More information about the openjfx-dev mailing list