From diego.cirujano-cuesta at zeiss.com Mon Sep 1 06:57:36 2014 From: diego.cirujano-cuesta at zeiss.com (Cirujano Cuesta, Diego) Date: Mon, 1 Sep 2014 06:57:36 +0000 Subject: CSS Styleable property loading Message-ID: Hi all, I am developing a patch to the ticket https://javafx-jira.kenai.com/browse/RT-19538 and it?s almost finished. The only thing is that the css properties are loaded too late. I would like to know how could I force the css loading so that STYLEABLES are loaded when I want. How could I do it in a elegant way? Thanks, Diego From sandra.lions-piron at oracle.com Mon Sep 1 07:45:38 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Mon, 01 Sep 2014 07:45:38 +0000 Subject: hg: openjfx/8u-dev/rt: 3 new changesets Message-ID: <201409010745.s817jdWK016819@aojmv0008> Changeset: 4ecd15e8a082 Author: slions Date: 2014-09-01 09:18 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/4ecd15e8a082 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Insert and Move GridPane Row/Column jobs ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/InsertColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/InsertRowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/MoveColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/MoveRowContentJob.java Changeset: 60e8da40fca3 Author: slions Date: 2014-09-01 09:19 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/60e8da40fca3 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt DebugMenu controller jobs ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/DebugMenuController.java Changeset: 8fa9c7b3b5c8 Author: slions Date: 2014-09-01 09:42 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8fa9c7b3b5c8 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Move jobs that do not define a list of other jobs in the new xxx.job.atomic package ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/info/InfoPanelController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/DragController.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/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/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DuplicateSelectionJob.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/InsertAsAccessoryJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InsertAsSubComponentJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifyFxControllerJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifyFxIdJob.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/PasteJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/PrunePropertiesJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ReIndexObjectJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/RelocateNodeJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/RelocateSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendBackwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendToBackJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ToggleFxRootJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/TrimSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/UseComputedSizesObjectJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/UsePredefinedSizeJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyValueJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/BackupSelectionJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ClearSelectionJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyFxControllerJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyFxIdJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyObjectJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ReIndexObjectJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RelocateNodeJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveCollectionItemJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveFxControllerJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveNodeJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveObjectJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyValueJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ToggleFxRootJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/UpdateSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddColumnConstraintsJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddRowConstraintsJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveRowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexRowContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/SpanJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustToggleGroupJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifySelectionToggleGroupJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifyToggleGroupJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/AddPropertyJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/AddPropertyValueJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/BackupSelectionJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/ClearSelectionJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveCollectionItemJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveFxControllerJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveNodeJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveObjectJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemovePropertyJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemovePropertyValueJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/UpdateSelectionJob.java ! 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/WrapInGridPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTabPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapJobUtils.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/AdjustDividerGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeRowGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTableColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTreeTableColumnGesture.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/hierarchy/treeview/HierarchyTreeCell.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java From martin.sladecek at oracle.com Mon Sep 1 09:05:39 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Mon, 01 Sep 2014 09:05:39 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38408 RTL orientation, ChoiceBox popup is not aligned with the ChoiceBox. Message-ID: <201409010905.s8195ecH028282@aojmv0008> Changeset: 31335892f770 Author: Martin Sladecek Date: 2014-09-01 11:03 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/31335892f770 RT-38408 RTL orientation, ChoiceBox popup is not aligned with the ChoiceBox. ! modules/graphics/src/main/java/com/sun/javafx/Utils.java From martin.sladecek at oracle.com Mon Sep 1 13:23:55 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Mon, 01 Sep 2014 13:23:55 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38465 [SplitPane] Pixels cut off when GridPane inside SplitPane Message-ID: <201409011323.s81DNtGX007115@aojmv0008> Changeset: 481f8d61b1cd Author: Martin Sladecek Date: 2014-09-01 15:23 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/481f8d61b1cd RT-38465 [SplitPane] Pixels cut off when GridPane inside SplitPane ! modules/graphics/src/main/java/javafx/scene/layout/GridPane.java ! modules/graphics/src/main/java/javafx/scene/layout/Region.java From omathe at free.fr Mon Sep 1 13:55:59 2014 From: omathe at free.fr (omathe at free.fr) Date: Mon, 1 Sep 2014 15:55:59 +0200 (CEST) Subject: Editable ComboBox bug ? In-Reply-To: <246284358.79415345.1409579319805.JavaMail.root@zimbra63-e11.priv.proxad.net> Message-ID: <1691701236.79430984.1409579759098.JavaMail.root@zimbra63-e11.priv.proxad.net> Hi, I have reproduce in a small example a ComBox behavior which I suspect to be a bug. When the TextField intercepts the event, the println displays the current value => OK When the ComboBox (which is an editable one) intercept the event the println does not display the current value => bug ? @Override public void start(Stage primaryStage) { TextField textField = new TextField(); ComboBox comboBox = new ComboBox(); comboBox.setEditable(true); EventHandler eventHandler = (Event e) -> { System.out.println("textField textValue : " + textField.textProperty().get()); System.out.println("comboBox value : " + comboBox.valueProperty().get()); }; textField.addEventFilter(KeyEvent.KEY_RELEASED, eventHandler); comboBox.addEventFilter(KeyEvent.KEY_RELEASED, eventHandler); StackPane root = new StackPane(); VBox vBox = new VBox(textField, comboBox); root.getChildren().addAll(vBox); Scene scene = new Scene(root, 300, 250); primaryStage.setScene(scene); primaryStage.show(); } Could you please confirm if it is a bug ? Thanks Olivier From omathe at free.fr Mon Sep 1 14:08:20 2014 From: omathe at free.fr (omathe at free.fr) Date: Mon, 1 Sep 2014 16:08:20 +0200 (CEST) Subject: Editable ComboBox bug ? In-Reply-To: <1691701236.79430984.1409579759098.JavaMail.root@zimbra63-e11.priv.proxad.net> Message-ID: <1591643717.79456463.1409580500565.JavaMail.root@zimbra63-e11.priv.proxad.net> In fact It is not a bug, I have just found the right way to get the value : System.out.println("comboBox value : " + comboBox.getEditor().textProperty().get()); instead of System.out.println("comboBox value : " + comboBox.valueProperty().get()); Sorry for the trouble Olivier ----- Mail original ----- De: omathe at free.fr ?: "openjfx-dev at openjdk.java.net Mailing" Envoy?: Lundi 1 Septembre 2014 15:55:59 Objet: Editable ComboBox bug ? Hi, I have reproduce in a small example a ComBox behavior which I suspect to be a bug. When the TextField intercepts the event, the println displays the current value => OK When the ComboBox (which is an editable one) intercept the event the println does not display the current value => bug ? @Override public void start(Stage primaryStage) { TextField textField = new TextField(); ComboBox comboBox = new ComboBox(); comboBox.setEditable(true); EventHandler eventHandler = (Event e) -> { System.out.println("textField textValue : " + textField.textProperty().get()); System.out.println("comboBox value : " + comboBox.valueProperty().get()); }; textField.addEventFilter(KeyEvent.KEY_RELEASED, eventHandler); comboBox.addEventFilter(KeyEvent.KEY_RELEASED, eventHandler); StackPane root = new StackPane(); VBox vBox = new VBox(textField, comboBox); root.getChildren().addAll(vBox); Scene scene = new Scene(root, 300, 250); primaryStage.setScene(scene); primaryStage.show(); } Could you please confirm if it is a bug ? Thanks Olivier From eric.le.ponner at oracle.com Mon Sep 1 14:23:45 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Mon, 01 Sep 2014 14:23:45 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Added CombineReferenceJob and ExpandReferenceJob classes (to be used for DTL-6774). Message-ID: <201409011423.s81ENj8q016512@aojmv0008> Changeset: 5ee50928c1d6 Author: eric.le.ponner at oracle.com Date: 2014-09-01 16:24 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/5ee50928c1d6 [SCENEBUILDER] Added CombineReferenceJob and ExpandReferenceJob classes (to be used for DTL-6774). + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ReplaceObjectJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ReplacePropertyValueJobT.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/CombineExpressionReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/CombineIntrinsicReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/CombineReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ExpandExpressionReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ExpandIntrinsicReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ExpandReferenceJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMCloner.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMNodes.java From mario at datenwort.at Mon Sep 1 16:45:28 2014 From: mario at datenwort.at (Mario Ivankovits) Date: Mon, 1 Sep 2014 16:45:28 +0000 Subject: outstanding resource locks Message-ID: Hi! Is there anything further I can do to see which resources are locked so I can see if this is my fault and to release them properly? How to interpret this output? Thanks for any info. Outstanding resource locks detected: ES2 Vram Pool: 76.571.592 used (28,5%), 76.571.592 managed (28,5%), 268.435.456 total 118 total resources being managed average resource age is 540,5 frames 57 resources at maximum supported age (48,3%) 6 resources marked permanent (5,1%) 2 resources have had mismatched locks (1,7%) 2 resources locked (1,7%) 79 resources contain interesting data (66,9%) 0 resources disappeared (0,0%) Outstanding resource locks detected: ES2 Vram Pool: 141.193.956 used (52,6%), 141.193.956 managed (52,6%), 268.435.456 total 136 total resources being managed average resource age is 467,8 frames 57 resources at maximum supported age (41,9%) 6 resources marked permanent (4,4%) 5 resources have had mismatched locks (3,7%) 5 resources locked (3,7%) 82 resources contain interesting data (60,3%) 0 resources disappeared (0,0%) Best regards, Mario From eric.le.ponner at oracle.com Mon Sep 1 17:32:34 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Mon, 01 Sep 2014 17:32:34 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] First step for DTL-6774 implementation. Message-ID: <201409011732.s81HWYro016676@aojmv0008> Changeset: b0a0f059cc4e Author: eric.le.ponner at oracle.com Date: 2014-09-01 19:32 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b0a0f059cc4e [SCENEBUILDER] First step for DTL-6774 implementation. JobManager now automatically incokes UpdateReferencesJob. This job takes care to fix any forward reference created by the last editing action. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/JobManager.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ReferencesUpdater.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java From niklas at therning.org Tue Sep 2 06:58:39 2014 From: niklas at therning.org (Niklas Therning) Date: Tue, 2 Sep 2014 08:58:39 +0200 Subject: Compiling 8u20-b26 for iOS Message-ID: Hi, I'm trying to compile OpenJFX 8u20-b26 for iOS but run into problems with the web project. The first problem seems to be with the ios.gradle script. IIUC (I have very limited experience with Gradle) it disables the compilation of the ordinary web Java code: compileJava { enabled = false } and then builds the iOS specific web Java code: afterEvaluate { def compileWebJavaIos = task("compileWebJavaIos", type: JavaCompile, group: "Build") { The problem with this is that the builders project gets built before the compileWebJavaIos task is run and there is code in builders which depends on the web classes (e.g. WebViewBuilder depends on WebView) so I get a lot of unknown symbols Gradle builds the builders project. E.g.: [ant:javac] /Users/niklas/Projects/openjfx/modules/builders/src/main/java/javafx/scene/web/WebViewBuilder.java:60: error: cannot find symbol [ant:javac] WebView x = new WebView(); [ant:javac] ^ [ant:javac] symbol: class WebView [ant:javac] location: class WebViewBuilder I'd like to fix this but before I make a serious attempt I'd like to know whether I'm doing something wrong. I have Gradle 1.8 installed and I am building using the 1.8.0_20-b26 JDK. OS X is 10.9.4 and I have the latest Xcode 5.1 installed. I'm using this command line to build gradle -PCOMPILE_TARGETS=ios -PUSE_LIPO=true -PIOS_VERSION=7.1 Also, how is the jfxrt.jar that comes with my Java8 installation treated by the build? I guess it is ignored since otherwise I wouldn't get any compilation problems due to missing WebView etc since those classes are in Java8's jfxrt.jar? Thanks! /Niklas From richard.bair at oracle.com Tue Sep 2 14:28:48 2014 From: richard.bair at oracle.com (Richard Bair) Date: Tue, 2 Sep 2014 07:28:48 -0700 Subject: Compiling 8u20-b26 for iOS In-Reply-To: References: Message-ID: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> I?ll let one of the other guys answer about the web component build order, but ... On Sep 1, 2014, at 11:58 PM, Niklas Therning wrote: > Also, how is the jfxrt.jar that comes with my Java8 installation treated by > the build? I guess it is ignored since otherwise I wouldn't get any > compilation problems due to missing WebView etc since those classes are in > Java8's jfxrt.jar? The jfxrt.jar that comes with the JDK is in the lib/ext directory (as is Nashorn). We simply omit both from the class path when we build by setting java.ext.dirs= (to empty). Richard From kevin.rushforth at oracle.com Tue Sep 2 14:34:08 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Tue, 02 Sep 2014 07:34:08 -0700 Subject: Compiling 8u20-b26 for iOS In-Reply-To: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> References: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> Message-ID: <5405D560.5090903@oracle.com> I'll take a look at the build order, but it sounds like a bug. Perhaps you can just locally disable the builders or add a dependency on the compilation task for the IOS web files. As to your other question, Richard is right that we omit lib/ext from compilation, but there can be issues in doing this (e.g., when running tests or building apps). We recommend that you remove (not just rename) the jfxrt.jar from the JDK you use to build. -- Kevin Richard Bair wrote: > I?ll let one of the other guys answer about the web component build order, but ... > > On Sep 1, 2014, at 11:58 PM, Niklas Therning wrote: > > >> Also, how is the jfxrt.jar that comes with my Java8 installation treated by >> the build? I guess it is ignored since otherwise I wouldn't get any >> compilation problems due to missing WebView etc since those classes are in >> Java8's jfxrt.jar? >> > > The jfxrt.jar that comes with the JDK is in the lib/ext directory (as is Nashorn). We simply omit both from the class path when we build by setting java.ext.dirs= (to empty). > > Richard From niklas at therning.org Tue Sep 2 14:42:34 2014 From: niklas at therning.org (Niklas Therning) Date: Tue, 2 Sep 2014 16:42:34 +0200 Subject: Compiling 8u20-b26 for iOS In-Reply-To: <5405D560.5090903@oracle.com> References: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> <5405D560.5090903@oracle.com> Message-ID: I couldn't keep my hands off and by looking at how it's done in dalvik.gradle from javafxports [1] I managed to get it to build the iOS web.jar. Here's the patch for ios.gradle: diff -r e56a8bbcba20 buildSrc/ios.gradle --- a/buildSrc/ios.gradle Thu Jul 24 21:23:07 2014 -0700 +++ b/buildSrc/ios.gradle Tue Sep 02 16:35:41 2014 +0200 @@ -340,7 +340,17 @@ apply plugin: 'java' compileJava { - enabled = false + sourceSets.main.java.srcDirs = ['src/ios/java']; + } + sourceSets { + main { + java { + srcDirs= ['src/ios/java'] + } + } + } + dependencies { + compile files("../graphics/build/classes/ios"); } afterEvaluate { Let me know if you want me to create a JIRA and post this there instead. This patch helped me get past the first problem with the builders project failing. I then had to fix a few compilation problems in the web module's iOS code. A few classes (PopupFeature and PromptData) were missing and a few of the others had to be brought up to date with the code in src/main/. Haven't been able to test the patched web iOS code yet but at least it compiles now. I should probably create an issue for all of this and attach a patch, right? [1] https://bitbucket.org/javafxports/8u20-rt/src/772ccf341457a1bbabef278cfe4dd6b22f5d7e72/buildSrc/dalvik.gradle?at=default On Tue, Sep 2, 2014 at 4:34 PM, Kevin Rushforth wrote: > I'll take a look at the build order, but it sounds like a bug. Perhaps > you can just locally disable the builders or add a dependency on the > compilation task for the IOS web files. > > As to your other question, Richard is right that we omit lib/ext from > compilation, but there can be issues in doing this (e.g., when running > tests or building apps). We recommend that you remove (not just rename) the > jfxrt.jar from the JDK you use to build. > > -- Kevin > > > > Richard Bair wrote: > > I?ll let one of the other guys answer about the web component build order, but ... > > On Sep 1, 2014, at 11:58 PM, Niklas Therning wrote: > > > > Also, how is the jfxrt.jar that comes with my Java8 installation treated by > the build? I guess it is ignored since otherwise I wouldn't get any > compilation problems due to missing WebView etc since those classes are in > Java8's jfxrt.jar? > > > The jfxrt.jar that comes with the JDK is in the lib/ext directory (as is Nashorn). We simply omit both from the class path when we build by setting java.ext.dirs= (to empty). > > Richard > > From pedro.rserra at gmail.com Tue Sep 2 14:44:01 2014 From: pedro.rserra at gmail.com (Pedro Serra) Date: Tue, 02 Sep 2014 15:44:01 +0100 Subject: Tabs placement on a TabPane Message-ID: <2629835.ges3EkC6p4@expanse> Hi all, I'm trying again since no one answered the last time I asked this. Is there any way of placing tabs on a TabPane starting from the left AND from the right? Thanks Pedro Serra From kevin.rushforth at oracle.com Tue Sep 2 14:44:28 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Tue, 02 Sep 2014 07:44:28 -0700 Subject: Compiling 8u20-b26 for iOS In-Reply-To: References: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> <5405D560.5090903@oracle.com> Message-ID: <5405D7CC.3060506@oracle.com> > I should probably create an issue for all of this and attach a patch, right? Yes, please. We can get the patch into 8u-dev. -- Kevin Niklas Therning wrote: > I couldn't keep my hands off and by looking at how it's done in > dalvik.gradle from javafxports [1] I managed to get it to build the > iOS web.jar. Here's the patch for ios.gradle: > > diff -r e56a8bbcba20 buildSrc/ios.gradle > --- a/buildSrc/ios.gradle Thu Jul 24 21:23:07 2014 -0700 > +++ b/buildSrc/ios.gradle Tue Sep 02 16:35:41 2014 +0200 > @@ -340,7 +340,17 @@ > apply plugin: 'java' > > compileJava { > - enabled = false > + sourceSets.main.java.srcDirs = ['src/ios/java']; > + } > + sourceSets { > + main { > + java { > + srcDirs= ['src/ios/java'] > + } > + } > + } > + dependencies { > + compile files("../graphics/build/classes/ios"); > } > > afterEvaluate { > > > Let me know if you want me to create a JIRA and post this there > instead. This patch helped me get past the first problem with the > builders project failing. I then had to fix a few compilation problems > in the web module's iOS code. A few classes (PopupFeature and > PromptData) were missing and a few of the others had to be brought up > to date with the code in src/main/. Haven't been able to test the > patched web iOS code yet but at least it compiles now. I should > probably create an issue for all of this and attach a patch, right? > > [1] https://bitbucket.org/javafxports/8u20-rt/src/772ccf341457a1bbabef278cfe4dd6b22f5d7e72/buildSrc/dalvik.gradle?at=default > > > On Tue, Sep 2, 2014 at 4:34 PM, Kevin Rushforth > > wrote: > > I'll take a look at the build order, but it sounds like a bug. > Perhaps you can just locally disable the builders or add a > dependency on the compilation task for the IOS web files. > > As to your other question, Richard is right that we omit lib/ext > from compilation, but there can be issues in doing this (e.g., > when running tests or building apps). We recommend that you remove > (not just rename) the jfxrt.jar from the JDK you use to build. > > -- Kevin > > > > Richard Bair wrote: >> I?ll let one of the other guys answer about the web component build order, but ... >> >> On Sep 1, 2014, at 11:58 PM, Niklas Therning wrote: >> >> >>> Also, how is the jfxrt.jar that comes with my Java8 installation treated by >>> the build? I guess it is ignored since otherwise I wouldn't get any >>> compilation problems due to missing WebView etc since those classes are in >>> Java8's jfxrt.jar? >>> >> The jfxrt.jar that comes with the JDK is in the lib/ext directory (as is Nashorn). We simply omit both from the class path when we build by setting java.ext.dirs= (to empty). >> >> Richard > > From kevin.rushforth at oracle.com Tue Sep 2 15:12:10 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Tue, 02 Sep 2014 08:12:10 -0700 Subject: hg: openjfx/8u-dev/rt: 3 new changesets In-Reply-To: <201409010745.s817jdWK016819@aojmv0008> References: <201409010745.s817jdWK016819@aojmv0008> Message-ID: <5405DE4A.5080707@oracle.com> Sandra, We are frozen for sanity testing [1] so this changeset should not have been pushed. Since it only affects SceneBuilder code which isn't shipped with the FX build, we don't need to back this out, but please be aware of the lockout period (usually Monday, but is on Tuesday this week) in the future. Thanks. -- Kevin [1] https://www.mail-archive.com/openjfx-dev at openjdk.java.net/msg07594.html sandra.lions-piron at oracle.com wrote: > Changeset: 4ecd15e8a082 > Author: slions > Date: 2014-09-01 09:18 +0200 > URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/4ecd15e8a082 > > [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels > => Adapt Insert and Move GridPane Row/Column jobs > > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/InsertColumnJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/InsertRowJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/MoveColumnContentJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/MoveRowContentJob.java > > Changeset: 60e8da40fca3 > Author: slions > Date: 2014-09-01 09:19 +0200 > URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/60e8da40fca3 > > [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels > => Adapt DebugMenu controller jobs > > ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/DebugMenuController.java > > Changeset: 8fa9c7b3b5c8 > Author: slions > Date: 2014-09-01 09:42 +0200 > URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8fa9c7b3b5c8 > > [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels > => Move jobs that do not define a list of other jobs in the new xxx.job.atomic package > > ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/info/InfoPanelController.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/DragController.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/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/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DuplicateSelectionJob.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/InsertAsAccessoryJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InsertAsSubComponentJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifyFxControllerJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifyFxIdJob.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/PasteJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/PrunePropertiesJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ReIndexObjectJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/RelocateNodeJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/RelocateSelectionJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendBackwardJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendToBackJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ToggleFxRootJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/TrimSelectionJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/UseComputedSizesObjectJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/UsePredefinedSizeJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyValueJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/BackupSelectionJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ClearSelectionJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyFxControllerJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyFxIdJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyObjectJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ReIndexObjectJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RelocateNodeJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveCollectionItemJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveFxControllerJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveNodeJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveObjectJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyValueJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ToggleFxRootJob.java > + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/UpdateSelectionJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddColumnConstraintsJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddRowConstraintsJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveColumnJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveRowJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexColumnContentJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexRowContentJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/SpanJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustToggleGroupJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifySelectionToggleGroupJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifyToggleGroupJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/AddPropertyJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/AddPropertyValueJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/BackupSelectionJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/ClearSelectionJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveCollectionItemJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveFxControllerJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveNodeJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveObjectJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemovePropertyJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemovePropertyValueJob.java > - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/UpdateSelectionJob.java > ! 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/WrapInGridPaneJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTabPaneJob.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapJobUtils.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/AdjustDividerGesture.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeColumnGesture.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeGesture.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeRowGesture.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTableColumnGesture.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTreeTableColumnGesture.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/hierarchy/treeview/HierarchyTreeCell.java > ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java > > From kevin.rushforth at oracle.com Tue Sep 2 15:13:34 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Tue, 02 Sep 2014 08:13:34 -0700 Subject: hg: openjfx/8u-dev/rt: 3 new changesets In-Reply-To: <5405DE4A.5080707@oracle.com> References: <201409010745.s817jdWK016819@aojmv0008> <5405DE4A.5080707@oracle.com> Message-ID: <5405DE9E.8070007@oracle.com> Never mind. I misread the time stamp on the changeset. Sorry about that! -- Kevin Kevin Rushforth wrote: > Sandra, > > We are frozen for sanity testing [1] so this changeset should not have > been pushed. Since it only affects SceneBuilder code which isn't > shipped with the FX build, we don't need to back this out, but please > be aware of the lockout period (usually Monday, but is on Tuesday this > week) in the future. > > Thanks. > > -- Kevin > > [1] > https://www.mail-archive.com/openjfx-dev at openjdk.java.net/msg07594.html > > > > sandra.lions-piron at oracle.com wrote: >> Changeset: 4ecd15e8a082 >> Author: slions >> Date: 2014-09-01 09:18 +0200 >> URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/4ecd15e8a082 >> >> [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job >> implementation between Hierarchy and Content Panels >> => Adapt Insert and Move GridPane Row/Column jobs >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/InsertColumnJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/InsertRowJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/MoveColumnContentJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/MoveRowContentJob.java >> >> >> Changeset: 60e8da40fca3 >> Author: slions >> Date: 2014-09-01 09:19 +0200 >> URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/60e8da40fca3 >> >> [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job >> implementation between Hierarchy and Content Panels >> => Adapt DebugMenu controller jobs >> >> ! >> apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/DebugMenuController.java >> >> >> Changeset: 8fa9c7b3b5c8 >> Author: slions >> Date: 2014-09-01 09:42 +0200 >> URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8fa9c7b3b5c8 >> >> [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job >> implementation between Hierarchy and Content Panels >> => Move jobs that do not define a list of other jobs in the new >> xxx.job.atomic package >> >> ! >> apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/info/InfoPanelController.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/DragController.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/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/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DuplicateSelectionJob.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/InsertAsAccessoryJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InsertAsSubComponentJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifyFxControllerJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifyFxIdJob.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/PasteJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/PrunePropertiesJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ReIndexObjectJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/RelocateNodeJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/RelocateSelectionJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendBackwardJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendToBackJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ToggleFxRootJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/TrimSelectionJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/UseComputedSizesObjectJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/UsePredefinedSizeJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyValueJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/BackupSelectionJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ClearSelectionJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyFxControllerJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyFxIdJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyObjectJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ReIndexObjectJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RelocateNodeJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveCollectionItemJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveFxControllerJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveNodeJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveObjectJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyValueJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ToggleFxRootJob.java >> >> + >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/UpdateSelectionJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddColumnConstraintsJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddRowConstraintsJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveColumnJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveRowJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexColumnContentJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexRowContentJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/SpanJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustToggleGroupJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifySelectionToggleGroupJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifyToggleGroupJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/AddPropertyJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/AddPropertyValueJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/BackupSelectionJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/ClearSelectionJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveCollectionItemJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveFxControllerJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveNodeJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveObjectJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemovePropertyJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemovePropertyValueJob.java >> >> - >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/UpdateSelectionJob.java >> >> ! >> 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/WrapInGridPaneJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTabPaneJob.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapJobUtils.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/AdjustDividerGesture.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeColumnGesture.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeGesture.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeRowGesture.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTableColumnGesture.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTreeTableColumnGesture.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/hierarchy/treeview/HierarchyTreeCell.java >> >> ! >> apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java >> >> >> From kevin.rushforth at oracle.com Tue Sep 2 15:38:44 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Tue, 02 Sep 2014 08:38:44 -0700 Subject: outstanding resource locks In-Reply-To: References: Message-ID: <5405E484.4050504@oracle.com> Any time you see this message, it isn't your fault. Rather this is a bug in the JavaFX runtime. Please file a JIRA. -- Kevin Mario Ivankovits wrote: > Hi! > > Is there anything further I can do to see which resources are locked so I can see if this is my fault and to release them properly? > How to interpret this output? > > Thanks for any info. > > > Outstanding resource locks detected: > ES2 Vram Pool: 76.571.592 used (28,5%), 76.571.592 managed (28,5%), 268.435.456 total > 118 total resources being managed > average resource age is 540,5 frames > 57 resources at maximum supported age (48,3%) > 6 resources marked permanent (5,1%) > 2 resources have had mismatched locks (1,7%) > 2 resources locked (1,7%) > 79 resources contain interesting data (66,9%) > 0 resources disappeared (0,0%) > > Outstanding resource locks detected: > ES2 Vram Pool: 141.193.956 used (52,6%), 141.193.956 managed (52,6%), 268.435.456 total > 136 total resources being managed > average resource age is 467,8 frames > 57 resources at maximum supported age (41,9%) > 6 resources marked permanent (4,4%) > 5 resources have had mismatched locks (3,7%) > 5 resources locked (3,7%) > 82 resources contain interesting data (60,3%) > 0 resources disappeared (0,0%) > > > Best regards, > Mario From mike at plan99.net Tue Sep 2 15:50:56 2014 From: mike at plan99.net (Mike Hearn) Date: Tue, 2 Sep 2014 17:50:56 +0200 Subject: outstanding resource locks In-Reply-To: <5405E484.4050504@oracle.com> References: <5405E484.4050504@oracle.com> Message-ID: I see this message quite frequently. What sort of things do you need in these bug reports? On Tue, Sep 2, 2014 at 5:38 PM, Kevin Rushforth wrote: > Any time you see this message, it isn't your fault. Rather this is a bug > in the JavaFX runtime. Please file a JIRA. > > -- Kevin > > > > Mario Ivankovits wrote: > >> Hi! >> >> Is there anything further I can do to see which resources are locked so I >> can see if this is my fault and to release them properly? >> How to interpret this output? >> >> Thanks for any info. >> >> Outstanding resource locks detected: >> ES2 Vram Pool: 76.571.592 used (28,5%), 76.571.592 managed (28,5%), >> 268.435.456 total >> 118 total resources being managed >> average resource age is 540,5 frames >> 57 resources at maximum supported age (48,3%) >> 6 resources marked permanent (5,1%) >> 2 resources have had mismatched locks (1,7%) >> 2 resources locked (1,7%) >> 79 resources contain interesting data (66,9%) >> 0 resources disappeared (0,0%) >> >> Outstanding resource locks detected: >> ES2 Vram Pool: 141.193.956 used (52,6%), 141.193.956 managed (52,6%), >> 268.435.456 total >> 136 total resources being managed >> average resource age is 467,8 frames >> 57 resources at maximum supported age (41,9%) >> 6 resources marked permanent (4,4%) >> 5 resources have had mismatched locks (3,7%) >> 5 resources locked (3,7%) >> 82 resources contain interesting data (60,3%) >> 0 resources disappeared (0,0%) >> >> >> Best regards, >> Mario >> > From kevin.rushforth at oracle.com Tue Sep 2 16:19:18 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Tue, 02 Sep 2014 16:19:18 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38511: [Canvas] Several tests get IllegalStateException: Operation requires resource lock Message-ID: <201409021619.s82GJJX1010950@aojmv0008> Changeset: b4976c12c98b Author: kcr Date: 2014-09-02 09:12 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b4976c12c98b RT-38511: [Canvas] Several tests get IllegalStateException: Operation requires resource lock Backed out changeset 1777099fe570 for RT-38183 ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/ImagePool.java - modules/graphics/src/main/java/com/sun/scenario/effect/impl/PoolFilterable.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/Renderer.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/prism/PrDrawable.java From kevin.rushforth at oracle.com Tue Sep 2 16:24:16 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Tue, 02 Sep 2014 09:24:16 -0700 Subject: outstanding resource locks In-Reply-To: References: <5405E484.4050504@oracle.com> Message-ID: <5405EF30.2050302@oracle.com> Ideally we need a reproducible test case with a set of instructions to demonstrate the bug. I know this can be a challenge for an intermittent bug. -- Kevin Mike Hearn wrote: > I see this message quite frequently. What sort of things do you need > in these bug reports? > > > On Tue, Sep 2, 2014 at 5:38 PM, Kevin Rushforth > > wrote: > > Any time you see this message, it isn't your fault. Rather this is > a bug in the JavaFX runtime. Please file a JIRA. > > -- Kevin > > > > Mario Ivankovits wrote: > > Hi! > > Is there anything further I can do to see which resources are > locked so I can see if this is my fault and to release them > properly? > How to interpret this output? > > Thanks for any info. > > Outstanding resource locks detected: > ES2 Vram Pool: 76.571.592 used (28,5%), 76.571.592 managed > (28,5%), 268.435.456 total > 118 total resources being managed > average resource age is 540,5 frames > 57 resources at maximum supported age (48,3%) > 6 resources marked permanent (5,1%) > 2 resources have had mismatched locks (1,7%) > 2 resources locked (1,7%) > 79 resources contain interesting data (66,9%) > 0 resources disappeared (0,0%) > > Outstanding resource locks detected: > ES2 Vram Pool: 141.193.956 used (52,6%), 141.193.956 managed > (52,6%), 268.435.456 total > 136 total resources being managed > average resource age is 467,8 frames > 57 resources at maximum supported age (41,9%) > 6 resources marked permanent (4,4%) > 5 resources have had mismatched locks (3,7%) > 5 resources locked (3,7%) > 82 resources contain interesting data (60,3%) > 0 resources disappeared (0,0%) > > > Best regards, > Mario > > From mike at plan99.net Tue Sep 2 16:40:03 2014 From: mike at plan99.net (Mike Hearn) Date: Tue, 2 Sep 2014 18:40:03 +0200 Subject: outstanding resource locks In-Reply-To: <5405EF30.2050302@oracle.com> References: <5405E484.4050504@oracle.com> <5405EF30.2050302@oracle.com> Message-ID: OK. What is the impact of the bugs? I haven't noticed any obvious problems when it occurs. Sounds like a GPU resource leak of some kind? On Tue, Sep 2, 2014 at 6:24 PM, Kevin Rushforth wrote: > Ideally we need a reproducible test case with a set of instructions to > demonstrate the bug. I know this can be a challenge for an intermittent bug. > > -- Kevin > > > > Mike Hearn wrote: > > I see this message quite frequently. What sort of things do you need in > these bug reports? > > > On Tue, Sep 2, 2014 at 5:38 PM, Kevin Rushforth < > kevin.rushforth at oracle.com> wrote: > >> Any time you see this message, it isn't your fault. Rather this is a bug >> in the JavaFX runtime. Please file a JIRA. >> >> -- Kevin >> >> >> >> Mario Ivankovits wrote: >> >>> Hi! >>> >>> Is there anything further I can do to see which resources are locked so >>> I can see if this is my fault and to release them properly? >>> How to interpret this output? >>> >>> Thanks for any info. >>> >>> Outstanding resource locks detected: >>> ES2 Vram Pool: 76.571.592 used (28,5%), 76.571.592 managed (28,5%), >>> 268.435.456 total >>> 118 total resources being managed >>> average resource age is 540,5 frames >>> 57 resources at maximum supported age (48,3%) >>> 6 resources marked permanent (5,1%) >>> 2 resources have had mismatched locks (1,7%) >>> 2 resources locked (1,7%) >>> 79 resources contain interesting data (66,9%) >>> 0 resources disappeared (0,0%) >>> >>> Outstanding resource locks detected: >>> ES2 Vram Pool: 141.193.956 used (52,6%), 141.193.956 managed (52,6%), >>> 268.435.456 total >>> 136 total resources being managed >>> average resource age is 467,8 frames >>> 57 resources at maximum supported age (41,9%) >>> 6 resources marked permanent (4,4%) >>> 5 resources have had mismatched locks (3,7%) >>> 5 resources locked (3,7%) >>> 82 resources contain interesting data (60,3%) >>> 0 resources disappeared (0,0%) >>> >>> >>> Best regards, >>> Mario >>> >> > From kevin.rushforth at oracle.com Tue Sep 2 16:45:02 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Tue, 02 Sep 2014 09:45:02 -0700 Subject: outstanding resource locks In-Reply-To: References: <5405E484.4050504@oracle.com> <5405EF30.2050302@oracle.com> Message-ID: <5405F40E.6090009@oracle.com> Jim can provide a more detailed answer, but in general, yes it would indicate a (likely small) resource leak. The interesting part being: > 2 resources locked (1,7%) and later > 5 resources locked (3,7%) -- Kevin Mike Hearn wrote: > OK. What is the impact of the bugs? I haven't noticed any obvious > problems when it occurs. Sounds like a GPU resource leak of some kind? > > > On Tue, Sep 2, 2014 at 6:24 PM, Kevin Rushforth > > wrote: > > Ideally we need a reproducible test case with a set of > instructions to demonstrate the bug. I know this can be a > challenge for an intermittent bug. > > -- Kevin > > > > Mike Hearn wrote: >> I see this message quite frequently. What sort of things do you >> need in these bug reports? >> >> >> On Tue, Sep 2, 2014 at 5:38 PM, Kevin Rushforth >> > >> wrote: >> >> Any time you see this message, it isn't your fault. Rather >> this is a bug in the JavaFX runtime. Please file a JIRA. >> >> -- Kevin >> >> >> >> Mario Ivankovits wrote: >> >> Hi! >> >> Is there anything further I can do to see which resources >> are locked so I can see if this is my fault and to >> release them properly? >> How to interpret this output? >> >> Thanks for any info. >> >> Outstanding resource locks detected: >> ES2 Vram Pool: 76.571.592 used (28,5%), 76.571.592 >> managed (28,5%), 268.435.456 total >> 118 total resources being managed >> average resource age is 540,5 frames >> 57 resources at maximum supported age (48,3%) >> 6 resources marked permanent (5,1%) >> 2 resources have had mismatched locks (1,7%) >> 2 resources locked (1,7%) >> 79 resources contain interesting data (66,9%) >> 0 resources disappeared (0,0%) >> >> Outstanding resource locks detected: >> ES2 Vram Pool: 141.193.956 used (52,6%), 141.193.956 >> managed (52,6%), 268.435.456 total >> 136 total resources being managed >> average resource age is 467,8 frames >> 57 resources at maximum supported age (41,9%) >> 6 resources marked permanent (4,4%) >> 5 resources have had mismatched locks (3,7%) >> 5 resources locked (3,7%) >> 82 resources contain interesting data (60,3%) >> 0 resources disappeared (0,0%) >> >> >> Best regards, >> Mario >> >> > From johan at lodgon.com Tue Sep 2 17:56:34 2014 From: johan at lodgon.com (Johan Vos) Date: Tue, 2 Sep 2014 19:56:34 +0200 Subject: Compiling 8u20-b26 for iOS In-Reply-To: <5405D7CC.3060506@oracle.com> References: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> <5405D560.5090903@oracle.com> <5405D7CC.3060506@oracle.com> Message-ID: I have to create a JIRA issue with patch as well for the Android port. However, I'm not 100% convinced I'm doing it right, so I keep it open for a while. The difficulty I face is that the compile tasks are not "standard" gradle java compile tasks (we include the java plugin in the dalvik.gradle file) and they are mixed with ant javac compilations. The mix of my limited knowledge of both ant and gradle make me feel not entirely comfortable with the solution, but at least it was good enough to give 8u20 b2 a try. - Johan 2014-09-02 16:44 GMT+02:00 Kevin Rushforth : > > I should probably create an issue for all of this and attach a patch, > right? > > Yes, please. We can get the patch into 8u-dev. > > -- Kevin > > > Niklas Therning wrote: > >> I couldn't keep my hands off and by looking at how it's done in >> dalvik.gradle from javafxports [1] I managed to get it to build the iOS >> web.jar. Here's the patch for ios.gradle: >> >> diff -r e56a8bbcba20 buildSrc/ios.gradle >> --- a/buildSrc/ios.gradle Thu Jul 24 21:23:07 2014 -0700 >> +++ b/buildSrc/ios.gradle Tue Sep 02 16:35:41 2014 +0200 >> @@ -340,7 +340,17 @@ >> apply plugin: 'java' >> >> compileJava { >> - enabled = false >> + sourceSets.main.java.srcDirs = ['src/ios/java']; >> + } >> + sourceSets { >> + main { >> + java { >> + srcDirs= ['src/ios/java'] >> + } >> + } >> + } >> + dependencies { >> + compile files("../graphics/build/classes/ios"); >> } >> >> afterEvaluate { >> >> >> Let me know if you want me to create a JIRA and post this there instead. >> This patch helped me get past the first problem with the builders project >> failing. I then had to fix a few compilation problems in the web module's >> iOS code. A few classes (PopupFeature and PromptData) were missing and a >> few of the others had to be brought up to date with the code in src/main/. >> Haven't been able to test the patched web iOS code yet but at least it >> compiles now. I should probably create an issue for all of this and attach >> a patch, right? >> >> [1] https://bitbucket.org/javafxports/8u20-rt/src/ >> 772ccf341457a1bbabef278cfe4dd6b22f5d7e72/buildSrc/dalvik. >> gradle?at=default >> >> >> On Tue, Sep 2, 2014 at 4:34 PM, Kevin Rushforth < >> kevin.rushforth at oracle.com > wrote: >> >> I'll take a look at the build order, but it sounds like a bug. >> Perhaps you can just locally disable the builders or add a >> dependency on the compilation task for the IOS web files. >> >> As to your other question, Richard is right that we omit lib/ext >> from compilation, but there can be issues in doing this (e.g., >> when running tests or building apps). We recommend that you remove >> (not just rename) the jfxrt.jar from the JDK you use to build. >> >> -- Kevin >> >> >> >> Richard Bair wrote: >> >>> I'll let one of the other guys answer about the web component build >>> order, but ... >>> >>> On Sep 1, 2014, at 11:58 PM, Niklas Therning >>> wrote: >>> >>> >>> >>>> Also, how is the jfxrt.jar that comes with my Java8 installation >>>> treated by >>>> the build? I guess it is ignored since otherwise I wouldn't get any >>>> compilation problems due to missing WebView etc since those classes >>>> are in >>>> Java8's jfxrt.jar? >>>> >>>> >>> The jfxrt.jar that comes with the JDK is in the lib/ext directory >>> (as is Nashorn). We simply omit both from the class path when we build by >>> setting java.ext.dirs= (to empty). >>> >>> Richard >>> >> >> >> From kevin.rushforth at oracle.com Tue Sep 2 18:00:11 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Tue, 02 Sep 2014 11:00:11 -0700 Subject: 8u-dev unlocked following this week's sanity testing Message-ID: <540605AB.3050804@oracle.com> From kevin.rushforth at oracle.com Tue Sep 2 18:05:07 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Tue, 02 Sep 2014 18:05:07 +0000 Subject: hg: openjfx/8u/rt: 93 new changesets Message-ID: <201409021805.s82I59JH028194@aojmv0008> Changeset: 2676b22761e5 Author: fheidric Date: 2014-08-25 14:59 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/2676b22761e5 RT-37792: [Accessibility] Combobox list items are counted incorrectly part 1: prevent screen reader from counting invalid list items. ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/VirtualFlow.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java Changeset: 993ca4d96165 Author: kcr Date: 2014-08-25 15:38 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/993ca4d96165 [TOYS] remove old alert prototype - apps/toys/Hello/src/main/java/alertdialog/Alert.java - apps/toys/Hello/src/main/java/alertdialog/AlertImpl.java Changeset: f872f5196075 Author: Chien Yang Date: 2014-08-25 15:42 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f872f5196075 Added test programs for diff vertex format with smooth shading comparison. + apps/toys/FX8-3DFeatures/src/fx83dfeatures/ICOSphereViewer.java + apps/toys/FX8-3DFeatures/src/fx83dfeatures/PNTICOSphereViewer.java Changeset: b877eff5fa53 Author: Felipe Heidrich Date: 2014-08-25 16:22 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b877eff5fa53 RT-37088: [Accesssibility, Windows] ListView should not read "colunn one row xx" ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java Changeset: eb3b7811bc31 Author: Chien Yang Date: 2014-08-25 16:41 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/eb3b7811bc31 Added visual unit test for diff vertex format comparison + tests/system/src/test/java/test3d/MeshCompareTest.java Changeset: caa2c16ce66b Author: eric.le.ponner Date: 2014-08-26 10:25 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/caa2c16ce66b [SCENEBUILDER] Some classes in FXOM now use LinkedHashMap (in place of HashMap) to preserve FXML declaration order. This will be useful for DTL-6774. This also avoids extra sorting in FXOMCloner (and FxIdCollector). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMCloner.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMInstance.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMIntrinsic.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMObject.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FxIdCollector.java Changeset: 41bbfc2cdc8d Author: yjoan Date: 2014-08-26 11:08 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/41bbfc2cdc8d [SCENEBUILDER] Ignore transient file ! .hgignore Changeset: 0e57456b1327 Author: Martin Sladecek Date: 2014-08-26 11:04 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/0e57456b1327 RT-37329 [SplitPane] Cannot set divider position in multiple splitpanes at once on button setOnAction() Reviewed by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/SplitPaneSkin.java Changeset: e282fa2c4093 Author: eric.le.ponner Date: 2014-08-26 11:16 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e282fa2c4093 [SCENEBUILDER] Improved FXOMCloner class to avoid WMI_WRONG_MAP_ITERATOR warning from FindBugs. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMCloner.java Changeset: 44cac66ba3ed Author: Martin Sladecek Date: 2014-08-26 14:23 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/44cac66ba3ed RT-38165 "A bound value cannot be set" exception should print the name of the property that is causing the problem ! modules/base/src/main/java/javafx/beans/property/BooleanPropertyBase.java ! modules/base/src/main/java/javafx/beans/property/DoublePropertyBase.java ! modules/base/src/main/java/javafx/beans/property/FloatPropertyBase.java ! modules/base/src/main/java/javafx/beans/property/IntegerPropertyBase.java ! modules/base/src/main/java/javafx/beans/property/ListPropertyBase.java ! modules/base/src/main/java/javafx/beans/property/LongPropertyBase.java ! modules/base/src/main/java/javafx/beans/property/MapPropertyBase.java ! modules/base/src/main/java/javafx/beans/property/ObjectPropertyBase.java ! modules/base/src/main/java/javafx/beans/property/SetPropertyBase.java ! modules/base/src/main/java/javafx/beans/property/StringPropertyBase.java Changeset: 0c4d4cf6cb87 Author: yjoan Date: 2014-08-26 15:09 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/0c4d4cf6cb87 [SCENEBUILDER] Fix DTL-6770: Add Dialog component to the Library ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/library/BuiltinLibrary.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java Changeset: c278fcc754e6 Author: Jerome Cambon Date: 2014-08-26 15:26 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/c278fcc754e6 [SCENEBUILDER] Fix for DTL-6815: Auto-suggest menus are showing focus when they do not have it ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/AutoSuggestEditor.java Changeset: d820fd5710a5 Author: mchicharro Date: 2014-08-26 15:22 +0100 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d820fd5710a5 Replace dialog placeholder graphics for RT-38271 ! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-confirm.png + modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-confirm at 2x.png ! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-error.png + modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-error at 2x.png ! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-fewer-details.png + modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-fewer-details at 2x.png ! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-information.png + modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-information at 2x.png ! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-more-details.png + modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-more-details at 2x.png ! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-warning.png + modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/dialog-warning at 2x.png Changeset: 69f0c8731747 Author: Jerome Cambon Date: 2014-08-26 16:50 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/69f0c8731747 [SCENEBUILDER] Fix for DTL-6816: Item chosen from auto-suggest menu is not applied immediately ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/AutoSuggestEditor.java Changeset: 507a38bed103 Author: ddhill Date: 2014-08-26 11:57 -0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/507a38bed103 RT-37698: Platform.isSupported(MEDIA|WEB) passes when it should not on embedded Reviewed-by: kselle, kcr ! modules/graphics/src/main/java/com/sun/javafx/application/PlatformImpl.java Changeset: 8889a4892b7d Author: mchicharro Date: 2014-08-26 18:29 +0100 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/8889a4892b7d [SCENEBUILDER] Fix for DTL-6830 Auto Suggest Popup has changed appearance ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DoubleAutoSuggestEditor.fxml ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/IntegerAutoSuggestEditor.fxml ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StringAutoSuggestEditor.fxml Changeset: 6a782ee05c58 Author: mchicharro Date: 2014-08-26 19:29 +0100 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/6a782ee05c58 Merged changes ! .idea/copyright/profiles_settings.xml Changeset: 5705e881dc1f Author: Felipe Heidrich Date: 2014-08-26 11:34 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/5705e881dc1f RT-38185: [Accessibility] Intermittent crash / relaunch on exit on Windows 7 with Narrator ! modules/graphics/src/main/native-glass/win/GlassAccessible.cpp ! modules/graphics/src/main/native-glass/win/GlassApplication.cpp ! modules/graphics/src/main/native-glass/win/GlassApplication.h ! modules/graphics/src/main/native-glass/win/Utils.h Changeset: 6efbcb758363 Author: David Grieve Date: 2014-08-26 15:54 -0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/6efbcb758363 RT-38391: [CSS] Add support for specifying durations ! apps/toys/Hello/src/main/java/hello/HelloCSS.java ! modules/graphics/src/main/docs/javafx/scene/doc-files/cssref.html ! modules/graphics/src/main/java/com/sun/javafx/css/SizeUnits.java + modules/graphics/src/main/java/com/sun/javafx/css/converters/DurationConverter.java ! modules/graphics/src/main/java/com/sun/javafx/css/parser/CSSLexer.java ! modules/graphics/src/main/java/com/sun/javafx/css/parser/CSSParser.java ! modules/graphics/src/main/java/javafx/css/StyleConverter.java ! modules/graphics/src/main/java/javafx/css/StyleablePropertyFactory.java ! modules/graphics/src/test/java/com/sun/javafx/css/SizeTest.java ! modules/graphics/src/test/java/com/sun/javafx/css/parser/CSSLexerTest.java ! modules/graphics/src/test/java/javafx/css/StyleablePropertyFactoryTest.java ! modules/graphics/src/test/java/javafx/css/StyleablePropertyFactory_createMethod_Test.java Changeset: 6feed77a2bfa Author: Felipe Heidrich Date: 2014-08-26 12:58 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/6feed77a2bfa RT-37792: [Accessibility] Combobox list items are counted incorrectly ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java Changeset: e68dd7128fdd Author: Felipe Heidrich Date: 2014-08-26 13:49 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e68dd7128fdd RT-38187: [a11y] Intermittent NPE running HelloSanity or SceneBuilder with Narrator Remove possible NPE in GetSelection() ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java Changeset: 96b05e9b6bd4 Author: Felipe Heidrich Date: 2014-08-26 13:56 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/96b05e9b6bd4 RT-38187: [a11y] Intermittent NPE running HelloSanity or SceneBuilder with Narrator Fix missing isDisposed() checks in GetFocus() and get_SelectionContainer() ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java Changeset: e1d0a9e30bec Author: Felipe Heidrich Date: 2014-08-26 14:49 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e1d0a9e30bec [Accessibility] cosmetic changes ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java Changeset: 4be6763a301a Author: Felipe Heidrich Date: 2014-08-26 16:28 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/4be6763a301a RT-38445: [Accessibility, Windows] Fix text traversal action Need to make sure the range is set everytime get_DocumentRange() is called, fixes CP+Y, CP+B ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java Changeset: e4cfda6bac5a Author: shemnon Date: 2014-08-26 14:28 -0600 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e4cfda6bac5a RT-38442: [packager] Java FX Packaging options can cause Windows Packager to fail. Summary: regexp needs double backslash, so that means quadruple in the source code. ! build.gradle ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinAppBundler.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinAppBundlerTest.java ! modules/graphics/src/main/java/com/sun/javafx/css/converters/SizeConverter.java Changeset: 7e3f564c5a26 Author: yjoan Date: 2014-08-27 09:44 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/7e3f564c5a26 [SCENEBUILDER] Update version ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/about/AboutWindowController.java ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/about/about-header.png Changeset: d83e0326080c Author: slions Date: 2014-08-27 10:06 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d83e0326080c [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Import File job ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ImportFileJob.java Changeset: b12c2b162ef1 Author: slions Date: 2014-08-27 10:07 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b12c2b162ef1 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Include File job ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/IncludeFileJob.java Changeset: 586ea960003a Author: slions Date: 2014-08-27 10:08 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/586ea960003a [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Paste Into job ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/PasteIntoJob.java Changeset: a710bc740323 Author: slions Date: 2014-08-27 10:09 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/a710bc740323 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Prune Properties job ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/PrunePropertiesJob.java Changeset: cc69167a0432 Author: slions Date: 2014-08-27 10:10 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/cc69167a0432 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Relocate Selection job ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/RelocateSelectionJob.java Changeset: 07614617c325 Author: slions Date: 2014-08-27 10:11 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/07614617c325 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Trim Selection job ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/TrimSelectionJob.java Changeset: 615b8ce4f50a Author: slions Date: 2014-08-27 10:12 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/615b8ce4f50a [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Wrap In job ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/AbstractWrapInJob.java Changeset: b941d80ae591 Author: slions Date: 2014-08-27 10:12 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b941d80ae591 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Unwrap job ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/UnwrapJob.java Changeset: 427fa460c27c Author: Jerome Cambon Date: 2014-08-27 11:37 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/427fa460c27c [SCENEBUILDER] Removed Warnings detected by Eclipse ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInSplitPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/gridpane/GridPanePring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/AbstractCurveHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/AbstractNodeHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/outline/NodeOutline.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/NodePring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TabPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TableColumnPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TreeTableColumnPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/AbstractNodeTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TabTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TableColumnTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TreeTableColumnTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/mode/HitNodeChrome.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/CssValueConverter.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/AnchorPaneConstraintsEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ControllerClassEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/CursorEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DividerPositionsEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DoubleEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/EditorUtils.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/EventHandlerEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/FxIdEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/GenericEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/I18nStringEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ImageEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/InlineListEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/InsetsEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/IntegerEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/Point3DEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/RotateEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StringEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StyleClassEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StyleEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StylesheetEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/TextAlignmentEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ToggleGroupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/BoundsPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/EffectPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/FontPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/KeyCombinationPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/PaintPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/PopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/Rectangle2DPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/StringPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMArchive.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/control/paintpicker/gradientpicker/GradientPicker.java Changeset: 60236c9b4be4 Author: slions Date: 2014-08-27 12:14 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/60236c9b4be4 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Insert As Accessory and Insert As Subcomponent job ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InsertAsAccessoryJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InsertAsSubComponentJob.java Changeset: 850d81afb10f Author: slions Date: 2014-08-27 12:15 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/850d81afb10f Remove no more needed UpdateSelectionJob ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/IncludeFileJob.java Changeset: 9627f50ee3fe Author: slions Date: 2014-08-27 12:22 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/9627f50ee3fe make BatchSelectionJob extends BatchDocumentJob ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BatchDocumentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BatchSelectionJob.java Changeset: a707fa9c9186 Author: Jerome Cambon Date: 2014-08-27 15:33 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/a707fa9c9186 [SCENEBUILDER] Fix for DTL-6833: Shape.strokeDashArray property should be hidden ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java Changeset: 96fb6a5bd1fc Author: eric.le.ponner at oracle.com Date: 2014-08-27 16:27 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/96fb6a5bd1fc [SCENEBUILDER] Going on fixing DTL-6783: RemovePropertyValueJob now removes the property after removing the last value. This enables to simplify DeleteObjectJob. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemovePropertyJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemovePropertyValueJob.java Changeset: 3840e47bc78c Author: yjoan Date: 2014-08-27 17:32 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/3840e47bc78c [SCENEBUILDER] metadata for textFormatter property of TextField ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java Changeset: a5c10d255438 Author: eric.le.ponner at oracle.com Date: 2014-08-27 17:38 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/a5c10d255438 [SCENEBUILDER] DeleteObjectJob now uses RemoveObjectJob. This fixes a latent bug and will ease work of references (DTL-6774). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveCollectionItemJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveNodeJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveObjectJob.java Changeset: eedae2717d3c Author: ddhill Date: 2014-08-27 11:38 -0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/eedae2717d3c (RT-37585) Embedded - enable freetype/pango path by default Reviewed-by: kselle, fheidric ! modules/graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java Changeset: 08fef750e7dd Author: kcr Date: 2014-08-27 08:40 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/08fef750e7dd RT-38431: Use consistent ACC in callback Reviewed-by: anthony, msladecek ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassWindowEventHandler.java Changeset: 9ae7393e72e9 Author: David Grieve Date: 2014-08-27 13:51 -0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/9ae7393e72e9 [DOCS-ONLY] RT-38453: [CSS] errors in cssref html causing issues in various browsers ! modules/graphics/src/main/docs/javafx/scene/doc-files/cssref.html Changeset: 99757c39bff9 Author: vadim Date: 2014-08-27 22:20 +0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/99757c39bff9 RT-38230: Document the image file formats supported by javafx.scene.image.Image Reviewed-by: fheidric ! modules/graphics/src/main/java/javafx/scene/image/Image.java Changeset: 20ee873c49f1 Author: flar Date: 2014-08-27 15:24 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/20ee873c49f1 Fix RT-23822: Support FontSmoothingType in Canvas fillText() Reviewed by: felipe, kcr ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGCanvas.java ! modules/graphics/src/main/java/javafx/scene/canvas/GraphicsContext.java ! modules/graphics/src/test/java/javafx/scene/canvas/CanvasTest.java Changeset: 0549284f26c9 Author: jgiles Date: 2014-08-28 09:56 +1200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/0549284f26c9 RT-38456: [TabPane] Tabs can be incorrectly made invisible when rearranged ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.java Changeset: 5e4ce148e333 Author: jgiles Date: 2014-08-28 11:16 +1200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/5e4ce148e333 RT-36334: Clean up warnings in control component Patch #5, focused on charts cleanup. Contributed-by: Tom Schindl Reviewed-by: jgiles ! modules/controls/src/main/java/javafx/scene/chart/AreaChart.java ! modules/controls/src/main/java/javafx/scene/chart/Axis.java ! modules/controls/src/main/java/javafx/scene/chart/BarChart.java ! modules/controls/src/main/java/javafx/scene/chart/CategoryAxis.java ! modules/controls/src/main/java/javafx/scene/chart/Chart.java ! modules/controls/src/main/java/javafx/scene/chart/LineChart.java ! modules/controls/src/main/java/javafx/scene/chart/NumberAxis.java ! modules/controls/src/main/java/javafx/scene/chart/PieChart.java ! modules/controls/src/main/java/javafx/scene/chart/StackedAreaChart.java ! modules/controls/src/main/java/javafx/scene/chart/StackedBarChart.java ! modules/controls/src/main/java/javafx/scene/chart/ValueAxis.java ! modules/controls/src/main/java/javafx/scene/chart/XYChart.java Changeset: f43dd33a649f Author: slions Date: 2014-08-28 08:55 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f43dd33a649f [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt CutSelection job ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/CutSelectionJob.java Changeset: b259507d839f Author: slions Date: 2014-08-28 09:03 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b259507d839f [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt GridPane jobs ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddColumnConstraintsJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddRowConstraintsJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddRowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/DeleteColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/DeleteRowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/GridPaneJobUtils.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveRowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/RemoveColumnConstraintsJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/RemoveColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/RemoveRowConstraintsJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/RemoveRowContentJob.java Changeset: 9bcafd4e5543 Author: slions Date: 2014-08-28 09:06 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/9bcafd4e5543 Update Jobs inheritance ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/FitToParentSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendBackwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendToBackJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/UseComputedSizesSelectionJob.java Changeset: 71c7b518c853 Author: Anthony Petrov Date: 2014-08-28 11:22 +0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/71c7b518c853 RT-38338: [Glass, Mac] While a stage is in fullscreen mode you cannot open another stage on top of the fullscreen stage Summary: Use the modern OS X 10.7+ full screen mode Reviewed-by: snorthov ! modules/graphics/src/main/native-glass/mac/GlassFullscreenWindow.h ! modules/graphics/src/main/native-glass/mac/GlassFullscreenWindow.m ! modules/graphics/src/main/native-glass/mac/GlassViewDelegate.h ! modules/graphics/src/main/native-glass/mac/GlassViewDelegate.m ! modules/graphics/src/main/native-glass/mac/GlassWindow+Overrides.m Changeset: 12525821c845 Author: Jerome Cambon Date: 2014-08-28 11:00 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/12525821c845 [SCENEBUILDER] Fix for DTL-6550: Authorizing multiline on TextField is confusing ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/IncludeFileJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/I18nStringEditor.java Changeset: 33220c4b1e46 Author: yjoan Date: 2014-08-28 14:59 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/33220c4b1e46 [SCENEBUILDER] Fix DTL-6799: Group theme css in single css files ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorPlatform.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/WorkspaceController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/CssInternal.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/Deprecation.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/caspian/caspian-embedded-highContrast.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/caspian/caspian-embedded-qvga-highContrast.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/caspian/caspian-embedded-qvga.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/caspian/caspian-embedded.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/caspian/caspian-highContrast.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/caspian/caspian.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/caspian/embedded-qvga.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/caspian/embedded.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/caspian/highcontrast.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/blackOnWhite.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-highContrast-blackOnWhite.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-highContrast-whiteOnBlack.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-highContrast-yellowOnBlack.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-touch-highContrast-blackOnWhite.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-touch-highContrast-whiteOnBlack.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-touch-highContrast-yellowOnBlack.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/modena-touch.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/modena.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/touch.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/whiteOnBlack.css + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/css/modena/yellowOnBlack.css Changeset: 62aa644a60d4 Author: Elina Kleyman Date: 2014-08-28 16:46 +0300 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/62aa644a60d4 [Unit Tests] Additional case for DragTouchInAndOutAWindowTest, contributed-By: Diana Berkovich ! tests/system/src/test/java/com/sun/glass/ui/monocle/DragTouchInAndOutAWindowTest.java Changeset: b72f6918383b Author: David Grieve Date: 2014-08-28 19:54 -0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b72f6918383b RT-38455: [CSS] lexer should not consume @font-face and @import as one token ! modules/graphics/src/main/java/com/sun/javafx/css/parser/CSSLexer.java ! modules/graphics/src/main/java/com/sun/javafx/css/parser/CSSParser.java Changeset: aa3fda00ace5 Author: kcr Date: 2014-08-28 17:49 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/aa3fda00ace5 Automated merge with http://hg.openjdk.java.net/openjfx/8u/rt - apps/toys/Hello/src/main/java/alertdialog/Alert.java - apps/toys/Hello/src/main/java/alertdialog/AlertImpl.java ! modules/graphics/src/main/java/com/sun/javafx/css/converters/SizeConverter.java Changeset: 4756dd1cca2c Author: jgiles Date: 2014-08-29 13:44 +1200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/4756dd1cca2c RT-37632: ListView may not return the selected item (Regression) ! modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/CellBehaviorBase.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/ListViewBehavior.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TableCellBehaviorBase.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TableViewBehaviorBase.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TreeViewBehavior.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxListViewSkin.java ! modules/controls/src/main/java/javafx/scene/control/ListView.java ! modules/controls/src/main/java/javafx/scene/control/TablePosition.java ! modules/controls/src/main/java/javafx/scene/control/TableView.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableView.java ! modules/controls/src/main/java/javafx/scene/control/TreeView.java ! modules/controls/src/test/java/javafx/scene/control/ListViewTest.java ! modules/controls/src/test/java/javafx/scene/control/TableViewTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewKeyInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewMouseInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewSelectionModelImplTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeViewKeyInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeViewTest.java Changeset: acefdf6c9fd2 Author: jgiles Date: 2014-08-29 13:45 +1200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/acefdf6c9fd2 [DOC ONLY] Remove reference to since-removed LocalDate spinner value factory. ! modules/controls/src/main/java/javafx/scene/control/Spinner.java Changeset: 5c12620f83f9 Author: jgiles Date: 2014-08-29 13:48 +1200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/5c12620f83f9 Merge Changeset: f166fe3c0547 Author: jgiles Date: 2014-08-29 14:07 +1200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f166fe3c0547 RT-38446: [DialogPane] NPE on setExpanded if there's nothing to expand ! modules/controls/src/main/java/javafx/scene/control/DialogPane.java Changeset: a3783295a258 Author: yjoan Date: 2014-08-29 09:48 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/a3783295a258 [SCENEBUILDER] Fix DTL-6845: Add a non empty flavor of DialogPane in the Library ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/library/LibraryListCell.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/library/BuiltinLibrary.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/library/builtin/DialogPane.fxml Changeset: f3731ef0c7f4 Author: slions Date: 2014-08-29 08:57 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f3731ef0c7f4 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Span jobs ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/SpanJob.java Changeset: 2def7cb07a48 Author: slions Date: 2014-08-29 08:58 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/2def7cb07a48 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Set Document Root jobs ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SetDocumentRootJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/SetFxomRootJob.java Changeset: 3d617cc276d6 Author: slions Date: 2014-08-29 10:12 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/3d617cc276d6 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Modify Object jobs (BatchModifyObject and BatchModifyFxId removed) - 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/ModifyObjectJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeRowGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTableColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTreeTableColumnGesture.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/hierarchy/treeview/HierarchyTreeCell.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java Changeset: c314c8bcf9d7 Author: slions Date: 2014-08-29 10:16 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/c314c8bcf9d7 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Modify Selection jobs (BatchModifySelectionJob renamed ModifySelectionJob) ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.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/ModifySelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java Changeset: f9ce9cad93e8 Author: slions Date: 2014-08-29 10:20 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f9ce9cad93e8 Fix comments ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifySelectionJob.java Changeset: c594508c4f54 Author: slions Date: 2014-08-29 10:24 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/c594508c4f54 [SCENEBUILDER] Merge (no conflict) Changeset: f1184656721a Author: Anthony Petrov Date: 2014-08-29 16:09 +0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f1184656721a RT-37810: [SwingNode]: Swing Nodes have serious rendering artifacts when first displayed on the primary Stage Summary: A partial fix. It eliminates a serious rendering artifact that could cause the whole FX Scene to paint black if there's a SwingNode present. Reviewed-by: ant ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGExternalNode.java ! modules/swing/src/main/java/javafx/embed/swing/SwingNode.java Changeset: d1505b59555d Author: yjoan Date: 2014-08-29 14:29 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d1505b59555d [SCENEBUILDER] FindBugs SBSC_USE_STRINGBUFFER_CONCATENATION ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/library/BuiltinLibrary.java Changeset: fd2937307d22 Author: yjoan Date: 2014-08-29 15:41 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/fd2937307d22 [SCENEBUILDER] FindBugs SBSC_USE_STRINGBUFFER_CONCATENATION ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/library/BuiltinLibrary.java Changeset: 4c3674e9ab57 Author: David Grieve Date: 2014-08-29 09:37 -0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/4c3674e9ab57 RT-38483: [CSS] add indefinite as a value for duration type ! modules/graphics/src/main/docs/javafx/scene/doc-files/cssref.html ! modules/graphics/src/main/java/com/sun/javafx/css/converters/DurationConverter.java ! modules/graphics/src/main/java/com/sun/javafx/css/parser/CSSParser.java ! modules/graphics/src/test/java/com/sun/javafx/css/parser/CSSParserTest.java Changeset: c157e2f9a534 Author: slions Date: 2014-08-29 15:54 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/c157e2f9a534 [SCENEBUILDER] Fix latent bug in row/column jobs by using a LinkedHashSet instead of unsorted HashSet. This should fix the SB unit tests instability. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddColumnConstraintsJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddRowConstraintsJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddRowJob.java Changeset: 8a83d139c837 Author: eric.le.ponner at oracle.com Date: 2014-08-29 16:03 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/8a83d139c837 [SCENEBUILDER] Fix for DTL-6846 (Dropping an object between two GridPane rows does not reorganize the grid content correctly). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/InsertColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/InsertRowJob.java Changeset: 4d31c9c55102 Author: yjoan Date: 2014-08-29 16:58 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/4d31c9c55102 [SCENEBUILDER] Fix DTL-6842: Cleanup the code returning URL of CSS files ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorPlatform.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/WorkspaceController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/CssInternal.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/Deprecation.java Changeset: 190eb7e2d1ff Author: yjoan Date: 2014-08-29 17:31 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/190eb7e2d1ff [SCENEBUILDER] FindBugs MS_SHOULD_BE_FINAL ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/Deprecation.java Changeset: de7ad70a06f9 Author: slions Date: 2014-08-29 17:35 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/de7ad70a06f9 [SCENEBUILDER] Fix issue when deleting Root object ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SetDocumentRootJob.java Changeset: 566591f1da88 Author: kcr Date: 2014-08-29 11:10 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/566591f1da88 RT-38289: [Quantum] Control ActionEvent is fired on Stage closing and the App hangs if modal window is then shown Reviewed-by: anthony, felipe, snorthov ! modules/graphics/src/main/java/com/sun/glass/ui/Accessible.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassViewEventHandler.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassWindowEventHandler.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java + tests/system/src/test/java/renderlock/RenderLock1Test.java + tests/system/src/test/java/renderlock/RenderLockCommon.java Changeset: 5e65b34a175b Author: kcr Date: 2014-08-29 11:10 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/5e65b34a175b RT-38457: Creating a ContextMenu on the JavaFX-Launcher thread causes an IllegalStateException ! modules/graphics/src/main/java/com/sun/javafx/application/PlatformImpl.java + tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread1Test.java + tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread2Test.java + tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread3Test.java + tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread4Test.java + tests/system/src/test/java/com/sun/javafx/application/SceneGraphThreadCommon.java Changeset: dec228482740 Author: kcr Date: 2014-08-29 13:52 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/dec228482740 Revert fix for RT-38457 which broke several tests using the StubToolkit Backed out changeset 5e65b34a175b ! modules/graphics/src/main/java/com/sun/javafx/application/PlatformImpl.java - tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread1Test.java - tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread2Test.java - tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread3Test.java - tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread4Test.java - tests/system/src/test/java/com/sun/javafx/application/SceneGraphThreadCommon.java Changeset: 1777099fe570 Author: flar Date: 2014-08-29 14:28 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/1777099fe570 Fix RT-38183: ManagedResource error warnings when screen configuration changes Reviewed by: Felipe ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/ImagePool.java + modules/graphics/src/main/java/com/sun/scenario/effect/impl/PoolFilterable.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/Renderer.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/prism/PrDrawable.java Changeset: e0ac95b3aef1 Author: kcr Date: 2014-08-29 15:47 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e0ac95b3aef1 RT-38485: [Quantum] Cleanup renderLock usage to call QuantumToolkit runWith/WithoutRenderLock ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/EmbeddedScene.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassAppletWindow.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassViewEventHandler.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassWindowEventHandler.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PaintCollector.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/ViewScene.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java Changeset: e04700b71f72 Author: kcr Date: 2014-08-29 11:10 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e04700b71f72 RT-38457: Creating a ContextMenu on the JavaFX-Launcher thread causes an IllegalStateException ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java + tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread1Test.java + tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread2Test.java + tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread3Test.java + tests/system/src/test/java/com/sun/javafx/application/SceneGraphThread4Test.java + tests/system/src/test/java/com/sun/javafx/application/SceneGraphThreadCommon.java Changeset: e6954f3f3be8 Author: Elina Kleyman Date: 2014-08-31 14:36 +0300 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e6954f3f3be8 [Unit Tests] Temporary excluding multiTouch_dragTwoPointsIntoTheWindow test until RT-38482 will be fixed ! tests/system/src/test/java/com/sun/glass/ui/monocle/DragTouchInAndOutAWindowTest.java Changeset: 4ecd15e8a082 Author: slions Date: 2014-09-01 09:18 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/4ecd15e8a082 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Insert and Move GridPane Row/Column jobs ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/InsertColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/InsertRowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/MoveColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/MoveRowContentJob.java Changeset: 60e8da40fca3 Author: slions Date: 2014-09-01 09:19 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/60e8da40fca3 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt DebugMenu controller jobs ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/DebugMenuController.java Changeset: 8fa9c7b3b5c8 Author: slions Date: 2014-09-01 09:42 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/8fa9c7b3b5c8 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Move jobs that do not define a list of other jobs in the new xxx.job.atomic package ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/info/InfoPanelController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/DragController.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/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/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DuplicateSelectionJob.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/InsertAsAccessoryJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InsertAsSubComponentJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifyFxControllerJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifyFxIdJob.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/PasteJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/PrunePropertiesJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ReIndexObjectJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/RelocateNodeJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/RelocateSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendBackwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendToBackJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ToggleFxRootJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/TrimSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/UseComputedSizesObjectJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/UsePredefinedSizeJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyValueJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/BackupSelectionJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ClearSelectionJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyFxControllerJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyFxIdJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ModifyObjectJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ReIndexObjectJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RelocateNodeJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveCollectionItemJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveFxControllerJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveNodeJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemoveObjectJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyValueJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ToggleFxRootJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/UpdateSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddColumnConstraintsJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/AddRowConstraintsJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveRowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexRowContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/v2/SpanJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustToggleGroupJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifySelectionToggleGroupJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifyToggleGroupJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/AddPropertyJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/AddPropertyValueJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/BackupSelectionJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/ClearSelectionJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveCollectionItemJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveFxControllerJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveNodeJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemoveObjectJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemovePropertyJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/RemovePropertyValueJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/UpdateSelectionJob.java ! 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/WrapInGridPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTabPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapJobUtils.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/AdjustDividerGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeRowGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTableColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTreeTableColumnGesture.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/hierarchy/treeview/HierarchyTreeCell.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java Changeset: 31335892f770 Author: Martin Sladecek Date: 2014-09-01 11:03 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/31335892f770 RT-38408 RTL orientation, ChoiceBox popup is not aligned with the ChoiceBox. ! modules/graphics/src/main/java/com/sun/javafx/Utils.java Changeset: 481f8d61b1cd Author: Martin Sladecek Date: 2014-09-01 15:23 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/481f8d61b1cd RT-38465 [SplitPane] Pixels cut off when GridPane inside SplitPane ! modules/graphics/src/main/java/javafx/scene/layout/GridPane.java ! modules/graphics/src/main/java/javafx/scene/layout/Region.java Changeset: 5ee50928c1d6 Author: eric.le.ponner at oracle.com Date: 2014-09-01 16:24 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/5ee50928c1d6 [SCENEBUILDER] Added CombineReferenceJob and ExpandReferenceJob classes (to be used for DTL-6774). + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ReplaceObjectJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/ReplacePropertyValueJobT.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/CombineExpressionReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/CombineIntrinsicReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/CombineReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ExpandExpressionReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ExpandIntrinsicReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ExpandReferenceJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMCloner.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMNodes.java Changeset: b0a0f059cc4e Author: eric.le.ponner at oracle.com Date: 2014-09-01 19:32 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b0a0f059cc4e [SCENEBUILDER] First step for DTL-6774 implementation. JobManager now automatically incokes UpdateReferencesJob. This job takes care to fix any forward reference created by the last editing action. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/JobManager.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ReferencesUpdater.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java Changeset: b4976c12c98b Author: kcr Date: 2014-09-02 09:12 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b4976c12c98b RT-38511: [Canvas] Several tests get IllegalStateException: Operation requires resource lock Backed out changeset 1777099fe570 for RT-38183 ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/ImagePool.java - modules/graphics/src/main/java/com/sun/scenario/effect/impl/PoolFilterable.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/Renderer.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/prism/PrDrawable.java From eric.le.ponner at oracle.com Tue Sep 2 18:05:42 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Tue, 02 Sep 2014 18:05:42 +0000 Subject: hg: openjfx/8u-dev/rt: 6 new changesets Message-ID: <201409021805.s82I5hYJ028391@aojmv0008> Changeset: 64c45eaad799 Author: eric.le.ponner Date: 2014-09-02 12:53 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/64c45eaad799 [SCENEBUILDER] added FXOMObject.collectReferences() method (with 'scope' parameter). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMCollection.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMInstance.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMIntrinsic.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMObject.java Changeset: b798513fd328 Author: eric.le.ponner Date: 2014-09-02 12:56 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b798513fd328 [SCENEBUILDER] AbstractDropTarget subclasses and edit jobs now uses RemoveObjectJob in place of DeleteObjectJob. DeleteObjectJob semantic is going to change and it will be reserved to delete command only. ! 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/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/job/TrimSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveRowJob.java Changeset: 92121f1d5ae1 Author: eric.le.ponner Date: 2014-09-02 13:02 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/92121f1d5ae1 [SCENEBUILDER] Second step for DTL-6774 implementation. Delete command is now reference aware: - DeleteObjectJob now relies on ObjectDeleter - DeleteObjectSelection no longer needs to invoke AdjustAllToggleGroupsJob ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectSelectionJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ObjectDeleter.java Changeset: a0da8fd3717c Author: eric.le.ponner Date: 2014-09-02 13:04 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a0da8fd3717c [SCENEBUILDER] Debug menu now displays sub jobs attached to UpdateReferencesJob. ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/DebugMenuController.java Changeset: 1e20da46a3c7 Author: eric.le.ponner at oracle.com Date: 2014-09-02 14:19 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1e20da46a3c7 [SCENEBUILDER] Removed FXOMObject.lookupFirstReference() (no longer used). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMCollection.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMInstance.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMIntrinsic.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMObject.java Changeset: 043cd5a12fd9 Author: eric.le.ponner at oracle.com Date: 2014-09-02 20:05 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/043cd5a12fd9 [SCENEBUILDER] merge (no conflict). From felipe.heidrich at oracle.com Tue Sep 2 18:21:16 2014 From: felipe.heidrich at oracle.com (felipe.heidrich at oracle.com) Date: Tue, 02 Sep 2014 18:21:16 +0000 Subject: hg: openjfx/8u-dev/rt: [Accessibility] Reduce method/field visibility Message-ID: <201409021821.s82ILGJU001025@aojmv0008> Changeset: f98785bfc2f9 Author: Felipe Heidrich Date: 2014-09-02 11:20 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/f98785bfc2f9 [Accessibility] Reduce method/field visibility ! modules/graphics/src/main/java/com/sun/glass/ui/Accessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacVariant.java From snfuchs at gmx.de Tue Sep 2 19:12:11 2014 From: snfuchs at gmx.de (Stefan Fuchs) Date: Tue, 02 Sep 2014 21:12:11 +0200 Subject: Filedialogs in JavaFX-Applet under MacOS Message-ID: <5406168B.7060508@gmx.de> Hi, has anyone got an filedialog working under MacOS in an JavaFX-Applet? What I tried so far: 1.JavaFX-FileChooser: -> FileChooser always opens right behind the browser (see https://javafx-jira.kenai.com/browse/RT-28820), where no user will find it. Same code works fine on Windows 2.Swing-JFileChooser / AWT-FileChooser: -> Throws " java.awt.HeadlessException? exception under Java 7 I read https://javafx-jira.kenai.com/browse/RT-20784 , but for me it is not clear, whether there is a workaround for Java 7. I could try to convince users to upgrade to Java 8, but if you visit http://java.com you'll see, it is currently nearly impossible for end users to download Java 8. The site still talks about Java 8 being a test release targeted towards developers, links to jdk, the download page is not localized, user must choose correct file, .... Anyway, JFileChooser works fine on Windows 3.SWT-FileDialog -> Closing the dialog throws NPE, then the Java-plugin crashes with an heapdump You get the song: Works fine on Windows Sorry, if the above sounds like a rant, but finding a solution can be quite frustrating. So any advice of how to get one of the above to work or about an alternative solution is very much appreciated. - Stefan From james.graham at oracle.com Tue Sep 2 20:24:05 2014 From: james.graham at oracle.com (Jim Graham) Date: Tue, 02 Sep 2014 13:24:05 -0700 Subject: outstanding resource locks In-Reply-To: <5405F40E.6090009@oracle.com> References: <5405E484.4050504@oracle.com> <5405EF30.2050302@oracle.com> <5405F40E.6090009@oracle.com> Message-ID: <54062765.8010305@oracle.com> Originally it would complain about the resources being locked on every frame since they remained locked. More recently we installed a "report and forgive" mechanism that reports that the locks were outstanding (because that is a bug), but then it conditionally can either mark the resource as untrackable or it simply unlocks all of the locks. Either way, you should now only see the messages once since we either "fix" the problem or we mark it so that we don't complain on the next frame. We use the "unlock all the locks" part of the mechanism if the render loop fielded an Exception from the rendering code. When an exception happens then it is very probably that some resources were left locked. Arguably though the code really should be doing try/finally around the locks to prevent locks even in the case of an exception, but it is very hard to do that in some cases given the chain of events that happens between the lock and unlock. We use the "just mark it and stop complaining but leave it locked" part of the mechanism if there was no exception. It represents an unbalanced lock/unlock in the code or it may represent some code that wants to have a resource locked across multiple frames on purpose without registering it as such. If that code had a plan to eventually unlock the texture then there really is no leak, but it should have registered the resource as being locked long term and it didn't. If this a case of an unbalanced lock/unlock in our code, then the resource could very well leak, but eventually garbage collection may step in and reclaim the resource non-aggressively as well... ...jim On 9/2/14 9:45 AM, Kevin Rushforth wrote: > Jim can provide a more detailed answer, but in general, yes it would > indicate a (likely small) resource leak. The interesting part being: > >> 2 resources locked (1,7%) > > and later > >> 5 resources locked (3,7%) > > -- Kevin > > > Mike Hearn wrote: >> OK. What is the impact of the bugs? I haven't noticed any obvious >> problems when it occurs. Sounds like a GPU resource leak of some kind? >> >> >> On Tue, Sep 2, 2014 at 6:24 PM, Kevin Rushforth >> > wrote: >> >> Ideally we need a reproducible test case with a set of >> instructions to demonstrate the bug. I know this can be a >> challenge for an intermittent bug. >> >> -- Kevin >> >> >> >> Mike Hearn wrote: >>> I see this message quite frequently. What sort of things do you >>> need in these bug reports? >>> >>> >>> On Tue, Sep 2, 2014 at 5:38 PM, Kevin Rushforth >>> > >>> wrote: >>> >>> Any time you see this message, it isn't your fault. Rather >>> this is a bug in the JavaFX runtime. Please file a JIRA. >>> >>> -- Kevin >>> >>> >>> >>> Mario Ivankovits wrote: >>> >>> Hi! >>> >>> Is there anything further I can do to see which resources >>> are locked so I can see if this is my fault and to >>> release them properly? >>> How to interpret this output? >>> >>> Thanks for any info. >>> Outstanding resource locks detected: >>> ES2 Vram Pool: 76.571.592 used (28,5%), 76.571.592 >>> managed (28,5%), 268.435.456 total >>> 118 total resources being managed >>> average resource age is 540,5 frames >>> 57 resources at maximum supported age (48,3%) >>> 6 resources marked permanent (5,1%) >>> 2 resources have had mismatched locks (1,7%) >>> 2 resources locked (1,7%) >>> 79 resources contain interesting data (66,9%) >>> 0 resources disappeared (0,0%) >>> >>> Outstanding resource locks detected: >>> ES2 Vram Pool: 141.193.956 used (52,6%), 141.193.956 >>> managed (52,6%), 268.435.456 total >>> 136 total resources being managed >>> average resource age is 467,8 frames >>> 57 resources at maximum supported age (41,9%) >>> 6 resources marked permanent (4,4%) >>> 5 resources have had mismatched locks (3,7%) >>> 5 resources locked (3,7%) >>> 82 resources contain interesting data (60,3%) >>> 0 resources disappeared (0,0%) >>> >>> >>> Best regards, >>> Mario >>> >>> >> From felipe.heidrich at oracle.com Tue Sep 2 20:25:46 2014 From: felipe.heidrich at oracle.com (felipe.heidrich at oracle.com) Date: Tue, 02 Sep 2014 20:25:46 +0000 Subject: hg: openjfx/8u-dev/rt: [Accessibility] Reduce method/field visibility Message-ID: <201409022025.s82KPkl9021391@aojmv0008> Changeset: 397bbdd03f90 Author: Felipe Heidrich Date: 2014-09-02 13:24 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/397bbdd03f90 [Accessibility] Reduce method/field visibility ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinTextRangeProvider.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinVariant.java From james.graham at oracle.com Tue Sep 2 20:43:06 2014 From: james.graham at oracle.com (Jim Graham) Date: Tue, 02 Sep 2014 13:43:06 -0700 Subject: 8u40 review request: RT-38183 - ManagedResource warnings when switching screen configurations In-Reply-To: <53FE9236.7030000@oracle.com> References: <53FE9236.7030000@oracle.com> Message-ID: <54062BDA.8050600@oracle.com> A new version of this fix was just posted for review after the sanity testing failures from this morning... ...jim On 8/27/14 7:21 PM, Jim Graham wrote: > webrev: http://cr.openjdk.java.net/~flar/RT-38183/webrev.00/ > Jira: https://javafx-jira.kenai.com/browse/RT-38183 > > Short and long explanations of the fix are in the Jira comments... > > ...jim From jonathan.giles at oracle.com Wed Sep 3 00:22:36 2014 From: jonathan.giles at oracle.com (jonathan.giles at oracle.com) Date: Wed, 03 Sep 2014 00:22:36 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409030022.s830Ma8o003402@aojmv0008> Changeset: e118f2891b38 Author: jgiles Date: 2014-09-02 15:32 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e118f2891b38 [DOC ONLY] fix typos in ButtonType javadoc ! modules/controls/src/main/java/javafx/scene/control/ButtonType.java Changeset: 258d08a27dc0 Author: jgiles Date: 2014-09-03 12:12 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/258d08a27dc0 RT-38464: [TableView] Regression TableView: cannot start editing via keyboard ! apps/toys/Hello/src/main/java/hello/HelloTableView.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/SelectedCellsMap.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TableCellBehaviorBase.java ! modules/controls/src/main/java/javafx/scene/control/ListCell.java ! modules/controls/src/main/java/javafx/scene/control/ListView.java ! modules/controls/src/main/java/javafx/scene/control/MultipleSelectionModelBase.java ! modules/controls/src/main/java/javafx/scene/control/TableCell.java ! modules/controls/src/main/java/javafx/scene/control/TableView.java ! modules/controls/src/main/java/javafx/scene/control/TreeCell.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableCell.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableView.java ! modules/controls/src/main/java/javafx/scene/control/TreeView.java ! modules/controls/src/test/java/com/sun/javafx/scene/control/infrastructure/VirtualFlowTestUtils.java ! modules/controls/src/test/java/javafx/scene/control/ListCellTest.java ! modules/controls/src/test/java/javafx/scene/control/ListViewTest.java ! modules/controls/src/test/java/javafx/scene/control/MultipleSelectionModelImplTest.java ! modules/controls/src/test/java/javafx/scene/control/SelectionModelImplTest.java ! modules/controls/src/test/java/javafx/scene/control/TableViewKeyInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TableViewMouseInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TableViewSelectionModelImplTest.java ! modules/controls/src/test/java/javafx/scene/control/TableViewTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewKeyInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewMouseInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewSelectionModelImplTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeViewTest.java From jonathan.giles at oracle.com Wed Sep 3 01:27:54 2014 From: jonathan.giles at oracle.com (Jonathan Giles) Date: Wed, 03 Sep 2014 13:27:54 +1200 Subject: Tabs placement on a TabPane In-Reply-To: <2629835.ges3EkC6p4@expanse> References: <2629835.ges3EkC6p4@expanse> Message-ID: <54066E9A.2090000@oracle.com> Pedro, At present there is no API that supports this, and no plans to add API to support this. If this is something you would like to see, the first step is to file a feature request in our jira issue tracker here: http://javafx-jira.kenai.org Thanks, -- Jonathan On 3/09/2014 2:44 a.m., Pedro Serra wrote: > Hi all, > > I'm trying again since no one answered the last time I asked this. > > Is there any way of placing tabs on a TabPane starting from the left AND from > the right? > > > Thanks > > Pedro Serra From jonathan.giles at oracle.com Wed Sep 3 01:32:54 2014 From: jonathan.giles at oracle.com (Jonathan Giles) Date: Wed, 03 Sep 2014 13:32:54 +1200 Subject: TableView column header bug? In-Reply-To: References: Message-ID: <54066FC6.8030203@oracle.com> A quick Jira search for 'column alignment' turned up https://javafx-jira.kenai.com/browse/RT-37553 as the third result, which sounds like your problem. So yes, this is a known problem. In future feel free to file bugs directly in Jira - there is no harm in doing so and there is no need to check on this list first. -- Jonathan On 30/08/2014 2:39 a.m., Robert Fisher wrote: > Hi guys, it's me again J > > I found another bug in TableView. I didn't find a JIRA issue for it, so again I want to check if it's known. > > To reproduce: > > . Start Java 8 / Modena Ensemble app. > . Load TableView control. > . Increase the size of one of the columns so they spill outside the available space and a scrollbar appears. > . Scroll all the way to the right. > . Maximize the ensemble app to full screen. > . Observe that the column header positions are out of sync with the columns, like so: http://i.imgur.com/IadhcwO.png > > Known bug? > > Cheers, > Rob From niklas at therning.org Wed Sep 3 06:25:22 2014 From: niklas at therning.org (Niklas Therning) Date: Wed, 3 Sep 2014 08:25:22 +0200 Subject: Compiling 8u20-b26 for iOS In-Reply-To: References: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> <5405D560.5090903@oracle.com> <5405D7CC.3060506@oracle.com> Message-ID: @Johan: Maybe I should work against the javafxports code instead and send you a PR? We can coordinate our efforts there on Android and iOS and then try to get things merged upstream later on? I'm guessing that it will be a lot easier for me to get your code running with RoboVM as you must have already made sure it works with the Android runtime classes, right? I'm cloning the 8u20-rt repository as we speak. Is that the repo I want to use? Is it based on 8u20-b26? On Tue, Sep 2, 2014 at 7:56 PM, Johan Vos wrote: > I have to create a JIRA issue with patch as well for the Android port. > However, I'm not 100% convinced I'm doing it right, so I keep it open for a > while. > The difficulty I face is that the compile tasks are not "standard" gradle > java compile tasks (we include the java plugin in the dalvik.gradle file) > and they are mixed with ant javac compilations. > The mix of my limited knowledge of both ant and gradle make me feel not > entirely comfortable with the solution, but at least it was good enough to > give 8u20 b2 a try. > > - Johan > > > 2014-09-02 16:44 GMT+02:00 Kevin Rushforth : > >> > I should probably create an issue for all of this and attach a patch, >> right? >> >> Yes, please. We can get the patch into 8u-dev. >> >> -- Kevin >> >> >> Niklas Therning wrote: >> >>> I couldn't keep my hands off and by looking at how it's done in >>> dalvik.gradle from javafxports [1] I managed to get it to build the iOS >>> web.jar. Here's the patch for ios.gradle: >>> >>> diff -r e56a8bbcba20 buildSrc/ios.gradle >>> --- a/buildSrc/ios.gradle Thu Jul 24 21:23:07 2014 -0700 >>> +++ b/buildSrc/ios.gradle Tue Sep 02 16:35:41 2014 +0200 >>> @@ -340,7 +340,17 @@ >>> apply plugin: 'java' >>> >>> compileJava { >>> - enabled = false >>> + sourceSets.main.java.srcDirs = ['src/ios/java']; >>> + } >>> + sourceSets { >>> + main { >>> + java { >>> + srcDirs= ['src/ios/java'] >>> + } >>> + } >>> + } >>> + dependencies { >>> + compile files("../graphics/build/classes/ios"); >>> } >>> >>> afterEvaluate { >>> >>> >>> Let me know if you want me to create a JIRA and post this there instead. >>> This patch helped me get past the first problem with the builders project >>> failing. I then had to fix a few compilation problems in the web module's >>> iOS code. A few classes (PopupFeature and PromptData) were missing and a >>> few of the others had to be brought up to date with the code in src/main/. >>> Haven't been able to test the patched web iOS code yet but at least it >>> compiles now. I should probably create an issue for all of this and attach >>> a patch, right? >>> >>> [1] https://bitbucket.org/javafxports/8u20-rt/src/ >>> 772ccf341457a1bbabef278cfe4dd6b22f5d7e72/buildSrc/dalvik. >>> gradle?at=default >>> >>> >>> On Tue, Sep 2, 2014 at 4:34 PM, Kevin Rushforth < >>> kevin.rushforth at oracle.com > wrote: >>> >>> I'll take a look at the build order, but it sounds like a bug. >>> Perhaps you can just locally disable the builders or add a >>> dependency on the compilation task for the IOS web files. >>> >>> As to your other question, Richard is right that we omit lib/ext >>> from compilation, but there can be issues in doing this (e.g., >>> when running tests or building apps). We recommend that you remove >>> (not just rename) the jfxrt.jar from the JDK you use to build. >>> >>> -- Kevin >>> >>> >>> >>> Richard Bair wrote: >>> >>>> I?ll let one of the other guys answer about the web component build >>>> order, but ... >>>> >>>> On Sep 1, 2014, at 11:58 PM, Niklas Therning >>>> wrote: >>>> >>>> >>>> >>>>> Also, how is the jfxrt.jar that comes with my Java8 installation >>>>> treated by >>>>> the build? I guess it is ignored since otherwise I wouldn't get any >>>>> compilation problems due to missing WebView etc since those >>>>> classes are in >>>>> Java8's jfxrt.jar? >>>>> >>>>> >>>> The jfxrt.jar that comes with the JDK is in the lib/ext directory >>>> (as is Nashorn). We simply omit both from the class path when we build by >>>> setting java.ext.dirs= (to empty). >>>> >>>> Richard >>>> >>> >>> >>> > From sandra.lions-piron at oracle.com Wed Sep 3 07:09:21 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Wed, 03 Sep 2014 07:09:21 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels Message-ID: <201409030709.s8379LNd005708@aojmv0008> Changeset: d702e4ad5227 Author: slions Date: 2014-09-03 09:09 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d702e4ad5227 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Re-index jobs to the new architecture ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexRowContentJob.java From martin.sladecek at oracle.com Wed Sep 3 07:21:55 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Wed, 03 Sep 2014 07:21:55 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38407 RTL orientation, ComboBox popup is not aligned with the ComboBox. Message-ID: <201409030721.s837LtBR007659@aojmv0008> Changeset: 77ee61dc5811 Author: Martin Sladecek Date: 2014-09-03 09:21 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/77ee61dc5811 RT-38407 RTL orientation, ComboBox popup is not aligned with the ComboBox. Reviewed by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxPopupControl.java From johan at lodgon.com Wed Sep 3 07:26:44 2014 From: johan at lodgon.com (Johan Vos) Date: Wed, 3 Sep 2014 09:26:44 +0200 Subject: Compiling 8u20-b26 for iOS In-Reply-To: References: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> <5405D560.5090903@oracle.com> <5405D7CC.3060506@oracle.com> Message-ID: Hi Niklas, Yes, the 8u20-rt repository in javafxports is the final 8u20 code of OpenJFX. It contains some minor changes since 8u20 was frozen but there were still some changes to be made. Apart from the 8u20-rt repository, we also have a 8u-dev-build repository that will copy the tools and a compat.jar into the dalvik-sdk created by 8u20-repo. The compat.jar contains the required classes that are missing in the Dalvik runtime. Caveat: between different Android API levels, classes are added and changed on the fly, so something that works on API lvl 19 might not work on API lvl 18. As for the WebKit support: internally, we use the Android WebView for rendering the WebPage. The Android WebView relies on the webkit engine as well. If you're used to the powerful JavaFX WebView and WebEngine, you should have a look at the limited Android WebView API. Want to get a DOM representation of the current webpage? Google it and judge which solution is the least dirty one. The JavaFX WebView simply dwarfs the Android WebView. Good enough, Android developers can now use JavaFX as well. - Johan 2014-09-03 8:25 GMT+02:00 Niklas Therning : > @Johan: Maybe I should work against the javafxports code instead and send > you a PR? We can coordinate our efforts there on Android and iOS and then > try to get things merged upstream later on? I'm guessing that it will be a > lot easier for me to get your code running with RoboVM as you must have > already made sure it works with the Android runtime classes, right? > > I'm cloning the 8u20-rt repository as we speak. Is that the repo I want to > use? Is it based on 8u20-b26? > > > On Tue, Sep 2, 2014 at 7:56 PM, Johan Vos wrote: > >> I have to create a JIRA issue with patch as well for the Android port. >> However, I'm not 100% convinced I'm doing it right, so I keep it open for a >> while. >> The difficulty I face is that the compile tasks are not "standard" gradle >> java compile tasks (we include the java plugin in the dalvik.gradle file) >> and they are mixed with ant javac compilations. >> The mix of my limited knowledge of both ant and gradle make me feel not >> entirely comfortable with the solution, but at least it was good enough to >> give 8u20 b2 a try. >> >> - Johan >> >> >> 2014-09-02 16:44 GMT+02:00 Kevin Rushforth : >> >>> > I should probably create an issue for all of this and attach a >>> patch, right? >>> >>> Yes, please. We can get the patch into 8u-dev. >>> >>> -- Kevin >>> >>> >>> Niklas Therning wrote: >>> >>>> I couldn't keep my hands off and by looking at how it's done in >>>> dalvik.gradle from javafxports [1] I managed to get it to build the iOS >>>> web.jar. Here's the patch for ios.gradle: >>>> >>>> diff -r e56a8bbcba20 buildSrc/ios.gradle >>>> --- a/buildSrc/ios.gradle Thu Jul 24 21:23:07 2014 -0700 >>>> +++ b/buildSrc/ios.gradle Tue Sep 02 16:35:41 2014 +0200 >>>> @@ -340,7 +340,17 @@ >>>> apply plugin: 'java' >>>> >>>> compileJava { >>>> - enabled = false >>>> + sourceSets.main.java.srcDirs = ['src/ios/java']; >>>> + } >>>> + sourceSets { >>>> + main { >>>> + java { >>>> + srcDirs= ['src/ios/java'] >>>> + } >>>> + } >>>> + } >>>> + dependencies { >>>> + compile files("../graphics/build/classes/ios"); >>>> } >>>> >>>> afterEvaluate { >>>> >>>> >>>> Let me know if you want me to create a JIRA and post this there >>>> instead. This patch helped me get past the first problem with the builders >>>> project failing. I then had to fix a few compilation problems in the web >>>> module's iOS code. A few classes (PopupFeature and PromptData) were missing >>>> and a few of the others had to be brought up to date with the code in >>>> src/main/. Haven't been able to test the patched web iOS code yet but at >>>> least it compiles now. I should probably create an issue for all of this >>>> and attach a patch, right? >>>> >>>> [1] https://bitbucket.org/javafxports/8u20-rt/src/ >>>> 772ccf341457a1bbabef278cfe4dd6b22f5d7e72/buildSrc/dalvik. >>>> gradle?at=default >>>> >>>> >>>> On Tue, Sep 2, 2014 at 4:34 PM, Kevin Rushforth < >>>> kevin.rushforth at oracle.com > wrote: >>>> >>>> I'll take a look at the build order, but it sounds like a bug. >>>> Perhaps you can just locally disable the builders or add a >>>> dependency on the compilation task for the IOS web files. >>>> >>>> As to your other question, Richard is right that we omit lib/ext >>>> from compilation, but there can be issues in doing this (e.g., >>>> when running tests or building apps). We recommend that you remove >>>> (not just rename) the jfxrt.jar from the JDK you use to build. >>>> >>>> -- Kevin >>>> >>>> >>>> >>>> Richard Bair wrote: >>>> >>>>> I'll let one of the other guys answer about the web component >>>>> build order, but ... >>>>> >>>>> On Sep 1, 2014, at 11:58 PM, Niklas Therning >>>>> wrote: >>>>> >>>>> >>>>> >>>>>> Also, how is the jfxrt.jar that comes with my Java8 installation >>>>>> treated by >>>>>> the build? I guess it is ignored since otherwise I wouldn't get >>>>>> any >>>>>> compilation problems due to missing WebView etc since those >>>>>> classes are in >>>>>> Java8's jfxrt.jar? >>>>>> >>>>>> >>>>> The jfxrt.jar that comes with the JDK is in the lib/ext directory >>>>> (as is Nashorn). We simply omit both from the class path when we build by >>>>> setting java.ext.dirs= (to empty). >>>>> >>>>> Richard >>>>> >>>> >>>> >>>> >> > From sandra.lions-piron at oracle.com Wed Sep 3 10:14:18 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Wed, 03 Sep 2014 10:14:18 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409031014.s83AEIp0006186@aojmv0008> Changeset: dc9971d9268f Author: slions Date: 2014-09-03 12:11 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/dc9971d9268f [SCENEBUILDER] Fix DTL-6802 : Changing focus order for GridPane by Hierarchy Pane doesn't work ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/HierarchyDNDController.java Changeset: bcd84f2065ae Author: slions Date: 2014-09-03 12:14 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/bcd84f2065ae [SCENEBUILDER] Fix DTL-6734 : Using fx:include crashes hierarchy/controller view in scenebuilder 2.0 ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/util/DesignHierarchyMask.java From mike at plan99.net Wed Sep 3 11:40:02 2014 From: mike at plan99.net (Mike Hearn) Date: Wed, 3 Sep 2014 13:40:02 +0200 Subject: Image decoding - native or java? Message-ID: If I load image bits into an Image how is the decoding done? Is this using native code and if so there is a way to swap out the decoding engines for ones written in Java? I see native image libraries in my JRE lib directory so I suspect the answer is, they're decoded in C. I ask because I'm loading images provided by third parties of unknown providence into my app (images embedded in files users may open), and I know it's been a while since the last round of image decoding bugs but I'd feel better if I knew there was no possibility of all the usual C exploits happening. From eric.le.ponner at oracle.com Wed Sep 3 12:14:57 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Wed, 03 Sep 2014 12:14:57 +0000 Subject: hg: openjfx/8u-dev/rt: 4 new changesets Message-ID: <201409031214.s83CEvIS027954@aojmv0008> Changeset: bef2f999b920 Author: eric.le.ponner at oracle.com Date: 2014-09-03 10:07 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/bef2f999b920 [SCENEBUILDER] ReferencesUpdate class now treats ToggleGroup reference with some special logic (DTL-6774). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupExpressionReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupIntrinsicReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupReferenceJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ReferencesUpdater.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMNodes.java Changeset: d89f3f7fd22b Author: Eric Le Ponner Date: 2014-09-03 11:40 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d89f3f7fd22b [SCENEBUILDER] Removed some legacy calls to Selection.clear() from AddPropertyJob, AddPropertyValueJob and RemovePropertyJob. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyValueJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java Changeset: bb45978e3156 Author: Eric Le Ponner Date: 2014-09-03 11:42 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/bb45978e3156 [SCENEBUILDER] Removed AdjustAllToggleGroupJob and AdjustToggleGroupJob. Toggle group consistency is now ensured by UpdateReferencesJob. ! 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/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/RootDropTarget.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DuplicateSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/PasteIntoJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/PasteJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendBackwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendToBackJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/TrimSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/DeleteColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/DeleteRowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/RemoveColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/RemoveRowContentJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustAllToggleGroupJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustToggleGroupJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifySelectionToggleGroupJob.java Changeset: 6f74aae81004 Author: eric.le.ponner at oracle.com Date: 2014-09-03 14:14 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6f74aae81004 [SCENEBUILDER] merge (no conflict). From eric.le.ponner at oracle.com Wed Sep 3 12:22:11 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Wed, 03 Sep 2014 12:22:11 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Removed unused code from ObjectDeleter to fix BC_IMPOSSIBLE_INSTANCEOF from FindBugs. Message-ID: <201409031222.s83CMC2L029479@aojmv0008> Changeset: b9eb9718108b Author: eric.le.ponner at oracle.com Date: 2014-09-03 14:22 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b9eb9718108b [SCENEBUILDER] Removed unused code from ObjectDeleter to fix BC_IMPOSSIBLE_INSTANCEOF from FindBugs. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ObjectDeleter.java From martin.sladecek at oracle.com Wed Sep 3 12:55:08 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Wed, 03 Sep 2014 12:55:08 +0000 Subject: hg: openjfx/8u-dev/rt: RT-37879 ArrayindexoutOfBoundsException from Parent.updateCachedBounds Message-ID: <201409031255.s83Ct81L005235@aojmv0008> Changeset: eb251121a360 Author: Martin Sladecek Date: 2014-09-03 14:55 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/eb251121a360 RT-37879 ArrayindexoutOfBoundsException from Parent.updateCachedBounds ! modules/graphics/src/main/java/javafx/scene/Parent.java From sandra.lions-piron at oracle.com Wed Sep 3 13:30:05 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Wed, 03 Sep 2014 13:30:05 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix ReIndexRow/Column jobs inheritance. Message-ID: <201409031330.s83DU5QM012324@aojmv0008> Changeset: ae50be4152c6 Author: slions Date: 2014-09-03 15:29 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ae50be4152c6 [SCENEBUILDER] Fix ReIndexRow/Column jobs inheritance. Indeed, their sub jobs list cannot be initialized lazily. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexRowContentJob.java From elina.kleyman at oracle.com Wed Sep 3 14:18:00 2014 From: elina.kleyman at oracle.com (elina.kleyman at oracle.com) Date: Wed, 03 Sep 2014 14:18:00 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38349: Numerous unit test failures in SimpleSwipeTest Message-ID: <201409031418.s83EI0GG020596@aojmv0008> Changeset: b4d2b1d973a6 Author: Elina Kleyman Date: 2014-09-03 17:16 +0300 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b4d2b1d973a6 RT-38349: Numerous unit test failures in SimpleSwipeTest ! tests/system/src/test/java/com/sun/glass/ui/monocle/SwipeSimpleTest.java From sandra.lions-piron at oracle.com Wed Sep 3 14:33:10 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Wed, 03 Sep 2014 14:33:10 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6768: Extend the Show Sample Data command to include Spinner control Message-ID: <201409031433.s83EXAsO022823@aojmv0008> Changeset: c2041e3fd928 Author: slions Date: 2014-09-03 16:32 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/c2041e3fd928 [SCENEBUILDER] Fix DTL-6768: Extend the Show Sample Data command to include Spinner control ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/sampledata/AbstractSampleData.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/sampledata/SampleDataGenerator.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/sampledata/SpinnerSampleData.java From steve.x.northover at oracle.com Wed Sep 3 15:21:49 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Wed, 03 Sep 2014 11:21:49 -0400 Subject: Compiling 8u20-b26 for iOS In-Reply-To: References: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> <5405D560.5090903@oracle.com> <5405D7CC.3060506@oracle.com> Message-ID: <5407320D.6090302@oracle.com> On 2014-09-03, 2:25 AM, Niklas Therning wrote: > @Johan: Maybe I should work against the javafxports code instead and send > you a PR? We can coordinate our efforts there on Android and iOS and then > try to get things merged upstream later on? I'm guessing that it will be a > lot easier for me to get your code running with RoboVM as you must have > already made sure it works with the Android runtime classes, right? This makes sense to me. We worked hard to get Android to compile for 8u20. I still hold out hope that both of you will be able to work one day in OpenJFX and keep these ports up to date. At this point, we are still avoiding use of the streams library in common code so your code will still compile. Steve > > I'm cloning the 8u20-rt repository as we speak. Is that the repo I want to > use? Is it based on 8u20-b26? > > > On Tue, Sep 2, 2014 at 7:56 PM, Johan Vos wrote: > >> I have to create a JIRA issue with patch as well for the Android port. >> However, I'm not 100% convinced I'm doing it right, so I keep it open for a >> while. >> The difficulty I face is that the compile tasks are not "standard" gradle >> java compile tasks (we include the java plugin in the dalvik.gradle file) >> and they are mixed with ant javac compilations. >> The mix of my limited knowledge of both ant and gradle make me feel not >> entirely comfortable with the solution, but at least it was good enough to >> give 8u20 b2 a try. >> >> - Johan >> >> >> 2014-09-02 16:44 GMT+02:00 Kevin Rushforth : >> >>>> I should probably create an issue for all of this and attach a patch, >>> right? >>> >>> Yes, please. We can get the patch into 8u-dev. >>> >>> -- Kevin >>> >>> >>> Niklas Therning wrote: >>> >>>> I couldn't keep my hands off and by looking at how it's done in >>>> dalvik.gradle from javafxports [1] I managed to get it to build the iOS >>>> web.jar. Here's the patch for ios.gradle: >>>> >>>> diff -r e56a8bbcba20 buildSrc/ios.gradle >>>> --- a/buildSrc/ios.gradle Thu Jul 24 21:23:07 2014 -0700 >>>> +++ b/buildSrc/ios.gradle Tue Sep 02 16:35:41 2014 +0200 >>>> @@ -340,7 +340,17 @@ >>>> apply plugin: 'java' >>>> >>>> compileJava { >>>> - enabled = false >>>> + sourceSets.main.java.srcDirs = ['src/ios/java']; >>>> + } >>>> + sourceSets { >>>> + main { >>>> + java { >>>> + srcDirs= ['src/ios/java'] >>>> + } >>>> + } >>>> + } >>>> + dependencies { >>>> + compile files("../graphics/build/classes/ios"); >>>> } >>>> >>>> afterEvaluate { >>>> >>>> >>>> Let me know if you want me to create a JIRA and post this there instead. >>>> This patch helped me get past the first problem with the builders project >>>> failing. I then had to fix a few compilation problems in the web module's >>>> iOS code. A few classes (PopupFeature and PromptData) were missing and a >>>> few of the others had to be brought up to date with the code in src/main/. >>>> Haven't been able to test the patched web iOS code yet but at least it >>>> compiles now. I should probably create an issue for all of this and attach >>>> a patch, right? >>>> >>>> [1] https://bitbucket.org/javafxports/8u20-rt/src/ >>>> 772ccf341457a1bbabef278cfe4dd6b22f5d7e72/buildSrc/dalvik. >>>> gradle?at=default >>>> >>>> >>>> On Tue, Sep 2, 2014 at 4:34 PM, Kevin Rushforth < >>>> kevin.rushforth at oracle.com > wrote: >>>> >>>> I'll take a look at the build order, but it sounds like a bug. >>>> Perhaps you can just locally disable the builders or add a >>>> dependency on the compilation task for the IOS web files. >>>> >>>> As to your other question, Richard is right that we omit lib/ext >>>> from compilation, but there can be issues in doing this (e.g., >>>> when running tests or building apps). We recommend that you remove >>>> (not just rename) the jfxrt.jar from the JDK you use to build. >>>> >>>> -- Kevin >>>> >>>> >>>> >>>> Richard Bair wrote: >>>> >>>>> I?ll let one of the other guys answer about the web component build >>>>> order, but ... >>>>> >>>>> On Sep 1, 2014, at 11:58 PM, Niklas Therning >>>>> wrote: >>>>> >>>>> >>>>> >>>>>> Also, how is the jfxrt.jar that comes with my Java8 installation >>>>>> treated by >>>>>> the build? I guess it is ignored since otherwise I wouldn't get any >>>>>> compilation problems due to missing WebView etc since those >>>>>> classes are in >>>>>> Java8's jfxrt.jar? >>>>>> >>>>>> >>>>> The jfxrt.jar that comes with the JDK is in the lib/ext directory >>>>> (as is Nashorn). We simply omit both from the class path when we build by >>>>> setting java.ext.dirs= (to empty). >>>>> >>>>> Richard >>>>> >>>> >>>> From kevin.rushforth at oracle.com Wed Sep 3 15:22:29 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Wed, 03 Sep 2014 08:22:29 -0700 Subject: Image decoding - native or java? In-Reply-To: References: Message-ID: <54073235.2060703@oracle.com> It depends on the format. We use a native libjpeg loader from IJG (the Independent JPEG Group) to decode JPEG files and Java loaders to decode GIF, BMP, and PNG files. -- Kevin Mike Hearn wrote: > If I load image bits into an Image how is the decoding done? Is this using > native code and if so there is a way to swap out the decoding engines for > ones written in Java? I see native image libraries in my JRE lib directory > so I suspect the answer is, they're decoded in C. > > I ask because I'm loading images provided by third parties of unknown > providence into my app (images embedded in files users may open), and I > know it's been a while since the last round of image decoding bugs but I'd > feel better if I knew there was no possibility of all the usual C exploits > happening. > From hang.vo at oracle.com Wed Sep 3 15:24:18 2014 From: hang.vo at oracle.com (hang.vo at oracle.com) Date: Wed, 03 Sep 2014 15:24:18 +0000 Subject: hg: openjfx/8u/rt: Added tag 8u40-b04 for changeset b4976c12c98b Message-ID: <201409031524.s83FOIEg001708@aojmv0008> Changeset: 1c2b1f7b7424 Author: hudson Date: 2014-09-03 08:23 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/1c2b1f7b7424 Added tag 8u40-b04 for changeset b4976c12c98b ! .hgtags From felipe.heidrich at oracle.com Wed Sep 3 16:55:06 2014 From: felipe.heidrich at oracle.com (felipe.heidrich at oracle.com) Date: Wed, 03 Sep 2014 16:55:06 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38452: [Accessibility] HelloTreeView hangs on Windows 7 when running Narrator Message-ID: <201409031655.s83Gt6Wb016220@aojmv0008> Changeset: 3beaafe4b671 Author: Felipe Heidrich Date: 2014-09-03 09:54 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/3beaafe4b671 RT-38452: [Accessibility] HelloTreeView hangs on Windows 7 when running Narrator ! modules/controls/src/main/java/javafx/scene/control/TreeCell.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableRow.java From eric.le.ponner at oracle.com Wed Sep 3 17:18:15 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Wed, 03 Sep 2014 17:18:15 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409031718.s83HIFuY020402@aojmv0008> Changeset: afa5accd7234 Author: eric.le.ponner at oracle.com Date: 2014-09-03 19:17 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/afa5accd7234 [SCENEBUILDER] Removed unused code to fix DLS_DEAD_LOCAL_STORE reported by FindBugs. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupIntrinsicReferenceJob.java Changeset: c1d51a6e4338 Author: eric.le.ponner at oracle.com Date: 2014-09-03 19:18 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/c1d51a6e4338 [SCENEBUILDER] Removed unused code to fix UCF_USELESS_CONTROL_FLOW reported by FindBugs. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ObjectDeleter.java From jeff at reportmill.com Wed Sep 3 18:38:31 2014 From: jeff at reportmill.com (Jeff Martin) Date: Wed, 3 Sep 2014 13:38:31 -0500 Subject: Javapackager not calling MyApp-post-image.sh on MacOSX Message-ID: I?m glad to see that javafxpackager is now javapackager. So my question should be - what is the proper forum to post a javapackger question, or who at Oracle could create a new dedicated forum for it? In the meantime, does anyone have a suggestion to diagnose why my custom package/macosx/MyApp-post-image.sh isn?t getting called? Javapackager is picking up my custom icons fine, and the windows post-image.wsf is getting picked up fine. Just not getting called on MacOSX. jeff From kevin.rushforth at oracle.com Wed Sep 3 18:42:49 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Wed, 03 Sep 2014 11:42:49 -0700 Subject: Javapackager not calling MyApp-post-image.sh on MacOSX In-Reply-To: References: Message-ID: <54076129.3050302@oracle.com> This is the proper place to discuss the javapackager (at least for the near term). Bugs are still tracked through the JavaFX JIRA. The source code lives in the JavaFX repo and it is built and delivered into the JDK as part of the JavaFX build. -- Kevin Jeff Martin wrote: > I?m glad to see that javafxpackager is now javapackager. So my question should be - what is the proper forum to post a javapackger question, or who at Oracle could create a new dedicated forum for it? > > In the meantime, does anyone have a suggestion to diagnose why my custom package/macosx/MyApp-post-image.sh isn?t getting called? Javapackager is picking up my custom icons fine, and the windows post-image.wsf is getting picked up fine. Just not getting called on MacOSX. > > jeff From danno.ferrin at oracle.com Wed Sep 3 19:46:19 2014 From: danno.ferrin at oracle.com (Danno Ferrin) Date: Wed, 3 Sep 2014 13:46:19 -0600 Subject: Javapackager not calling MyApp-post-image.sh on MacOSX In-Reply-To: References: Message-ID: <0A41EA40-AEE5-4D54-A90C-DE913EE1CA08@oracle.com> What mac package format? DMG or PKG? On Sep 3, 2014, at 12:38 PM, Jeff Martin wrote: > I?m glad to see that javafxpackager is now javapackager. So my question should be - what is the proper forum to post a javapackger question, or who at Oracle could create a new dedicated forum for it? > > In the meantime, does anyone have a suggestion to diagnose why my custom package/macosx/MyApp-post-image.sh isn?t getting called? Javapackager is picking up my custom icons fine, and the windows post-image.wsf is getting picked up fine. Just not getting called on MacOSX. > > jeff From jeff at reportmill.com Wed Sep 3 20:31:21 2014 From: jeff at reportmill.com (Jeff Martin) Date: Wed, 3 Sep 2014 15:31:21 -0500 Subject: Javapackager not calling MyApp-post-image.sh on MacOSX In-Reply-To: <0A41EA40-AEE5-4D54-A90C-DE913EE1CA08@oracle.com> References: <0A41EA40-AEE5-4D54-A90C-DE913EE1CA08@oracle.com> Message-ID: Actually, for the moment I?m just generating ?image?, though I tried pkg and it also didn?t call the post-image script. I love all the customization tips when verbose is turned on. I was hoping it would say, ?No post-image script found at package/macosx/SnapCode-post-image.sh - add one here for customization?. jeff On Sep 3, 2014, at 2:46 PM, Danno Ferrin wrote: > What mac package format? DMG or PKG? > > > On Sep 3, 2014, at 12:38 PM, Jeff Martin wrote: > >> I?m glad to see that javafxpackager is now javapackager. So my question should be - what is the proper forum to post a javapackger question, or who at Oracle could create a new dedicated forum for it? >> >> In the meantime, does anyone have a suggestion to diagnose why my custom package/macosx/MyApp-post-image.sh isn?t getting called? Javapackager is picking up my custom icons fine, and the windows post-image.wsf is getting picked up fine. Just not getting called on MacOSX. >> >> jeff > From danno.ferrin at oracle.com Wed Sep 3 21:15:20 2014 From: danno.ferrin at oracle.com (Danno Ferrin) Date: Wed, 3 Sep 2014 15:15:20 -0600 Subject: Javapackager not calling MyApp-post-image.sh on MacOSX In-Reply-To: References: <0A41EA40-AEE5-4D54-A90C-DE913EE1CA08@oracle.com> Message-ID: <2499D082-B3A6-4DC3-94E0-F8A4D48660BF@oracle.com> A quick code inspection shows that the post image script is only called for DMG packaging. Looks to be a PKG oversight. Could you post a bug to javafx-jira.kenai.com? On Sep 3, 2014, at 2:31 PM, Jeff Martin wrote: > Actually, for the moment I?m just generating ?image?, though I tried pkg and it also didn?t call the post-image script. > > I love all the customization tips when verbose is turned on. I was hoping it would say, ?No post-image script found at package/macosx/SnapCode-post-image.sh - add one here for customization?. > > jeff > > > On Sep 3, 2014, at 2:46 PM, Danno Ferrin wrote: > >> What mac package format? DMG or PKG? >> >> >> On Sep 3, 2014, at 12:38 PM, Jeff Martin wrote: >> >>> I?m glad to see that javafxpackager is now javapackager. So my question should be - what is the proper forum to post a javapackger question, or who at Oracle could create a new dedicated forum for it? >>> >>> In the meantime, does anyone have a suggestion to diagnose why my custom package/macosx/MyApp-post-image.sh isn?t getting called? Javapackager is picking up my custom icons fine, and the windows post-image.wsf is getting picked up fine. Just not getting called on MacOSX. >>> >>> jeff >> > From jeff at reportmill.com Wed Sep 3 21:33:37 2014 From: jeff at reportmill.com (Jeff Martin) Date: Wed, 3 Sep 2014 16:33:37 -0500 Subject: Javapackager not calling MyApp-post-image.sh on MacOSX In-Reply-To: <2499D082-B3A6-4DC3-94E0-F8A4D48660BF@oracle.com> References: <0A41EA40-AEE5-4D54-A90C-DE913EE1CA08@oracle.com> <2499D082-B3A6-4DC3-94E0-F8A4D48660BF@oracle.com> Message-ID: <71B5B2B8-3B0D-479F-991E-9DDD227E54D6@reportmill.com> Done: RT-38521 - Javapackager not calling post-image script on MacOSX for PKG and IMAGE jeff On Sep 3, 2014, at 4:15 PM, Danno Ferrin wrote: > A quick code inspection shows that the post image script is only called for DMG packaging. Looks to be a PKG oversight. Could you post a bug to javafx-jira.kenai.com? > > On Sep 3, 2014, at 2:31 PM, Jeff Martin wrote: > >> Actually, for the moment I?m just generating ?image?, though I tried pkg and it also didn?t call the post-image script. >> >> I love all the customization tips when verbose is turned on. I was hoping it would say, ?No post-image script found at package/macosx/SnapCode-post-image.sh - add one here for customization?. >> >> jeff >> >> >> On Sep 3, 2014, at 2:46 PM, Danno Ferrin wrote: >> >>> What mac package format? DMG or PKG? >>> >>> >>> On Sep 3, 2014, at 12:38 PM, Jeff Martin wrote: >>> >>>> I?m glad to see that javafxpackager is now javapackager. So my question should be - what is the proper forum to post a javapackger question, or who at Oracle could create a new dedicated forum for it? >>>> >>>> In the meantime, does anyone have a suggestion to diagnose why my custom package/macosx/MyApp-post-image.sh isn?t getting called? Javapackager is picking up my custom icons fine, and the windows post-image.wsf is getting picked up fine. Just not getting called on MacOSX. >>>> >>>> jeff >>> >> > From jeff at reportmill.com Wed Sep 3 21:43:39 2014 From: jeff at reportmill.com (Jeff Martin) Date: Wed, 3 Sep 2014 16:43:39 -0500 Subject: Javapackager not calling MyApp-post-image.sh on MacOSX In-Reply-To: <71B5B2B8-3B0D-479F-991E-9DDD227E54D6@reportmill.com> References: <0A41EA40-AEE5-4D54-A90C-DE913EE1CA08@oracle.com> <2499D082-B3A6-4DC3-94E0-F8A4D48660BF@oracle.com> <71B5B2B8-3B0D-479F-991E-9DDD227E54D6@reportmill.com> Message-ID: <1C195EF3-B09C-4005-AA2A-7C97BC27FF6A@reportmill.com> I just tested with DMG and my script does get called. However, it seems like I can?t use it to add and remove JDK files without invalidating the codesign work. Is it possible for javapackager to build the image, call the post-image script, then codesign? jeff On Sep 3, 2014, at 4:33 PM, Jeff Martin wrote: > Done: RT-38521 - Javapackager not calling post-image script on MacOSX for PKG and IMAGE > > jeff > > > On Sep 3, 2014, at 4:15 PM, Danno Ferrin wrote: > >> A quick code inspection shows that the post image script is only called for DMG packaging. Looks to be a PKG oversight. Could you post a bug to javafx-jira.kenai.com? >> >> On Sep 3, 2014, at 2:31 PM, Jeff Martin wrote: >> >>> Actually, for the moment I?m just generating ?image?, though I tried pkg and it also didn?t call the post-image script. >>> >>> I love all the customization tips when verbose is turned on. I was hoping it would say, ?No post-image script found at package/macosx/SnapCode-post-image.sh - add one here for customization?. >>> >>> jeff >>> >>> >>> On Sep 3, 2014, at 2:46 PM, Danno Ferrin wrote: >>> >>>> What mac package format? DMG or PKG? >>>> >>>> >>>> On Sep 3, 2014, at 12:38 PM, Jeff Martin wrote: >>>> >>>>> I?m glad to see that javafxpackager is now javapackager. So my question should be - what is the proper forum to post a javapackger question, or who at Oracle could create a new dedicated forum for it? >>>>> >>>>> In the meantime, does anyone have a suggestion to diagnose why my custom package/macosx/MyApp-post-image.sh isn?t getting called? Javapackager is picking up my custom icons fine, and the windows post-image.wsf is getting picked up fine. Just not getting called on MacOSX. >>>>> >>>>> jeff From james.graham at oracle.com Wed Sep 3 22:05:46 2014 From: james.graham at oracle.com (james.graham at oracle.com) Date: Wed, 03 Sep 2014 22:05:46 +0000 Subject: hg: openjfx/8u-dev/rt: Fix RT-38183: ManagedResource warnings when screen configurations change Message-ID: <201409032205.s83M5krW005921@aojmv0008> Changeset: 70ae8cc1e691 Author: flar Date: 2014-09-03 15:05 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/70ae8cc1e691 Fix RT-38183: ManagedResource warnings when screen configurations change Reviewed by: kcr, felipe ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGCanvas.java ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/ImagePool.java + modules/graphics/src/main/java/com/sun/scenario/effect/impl/PoolFilterable.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/Renderer.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/prism/PrDrawable.java From danno.ferrin at oracle.com Wed Sep 3 22:18:20 2014 From: danno.ferrin at oracle.com (Danno Ferrin) Date: Wed, 3 Sep 2014 16:18:20 -0600 Subject: Javapackager not calling MyApp-post-image.sh on MacOSX In-Reply-To: <1C195EF3-B09C-4005-AA2A-7C97BC27FF6A@reportmill.com> References: <0A41EA40-AEE5-4D54-A90C-DE913EE1CA08@oracle.com> <2499D082-B3A6-4DC3-94E0-F8A4D48660BF@oracle.com> <71B5B2B8-3B0D-479F-991E-9DDD227E54D6@reportmill.com> <1C195EF3-B09C-4005-AA2A-7C97BC27FF6A@reportmill.com> Message-ID: Excellent point. I'll move the script to before the codesign. I've also got some bugs requesting an easy flag to turn off auto-codesign. I'll do that as part of the 8u40 work. In the mean time, you can disable codesign with a bundler argument in ant by adding this to the fx:deploy element (for cli it is -Bmac.signing-key-user-name=Nonexistent User) Then in your post image script you can hand wire the signing. On Sep 3, 2014, at 3:43 PM, Jeff Martin wrote: > I just tested with DMG and my script does get called. However, it seems like I can?t use it to add and remove JDK files without invalidating the codesign work. Is it possible for javapackager to build the image, call the post-image script, then codesign? > > jeff > > > On Sep 3, 2014, at 4:33 PM, Jeff Martin wrote: > >> Done: RT-38521 - Javapackager not calling post-image script on MacOSX for PKG and IMAGE >> >> jeff >> >> >> On Sep 3, 2014, at 4:15 PM, Danno Ferrin wrote: >> >>> A quick code inspection shows that the post image script is only called for DMG packaging. Looks to be a PKG oversight. Could you post a bug to javafx-jira.kenai.com? >>> >>> On Sep 3, 2014, at 2:31 PM, Jeff Martin wrote: >>> >>>> Actually, for the moment I?m just generating ?image?, though I tried pkg and it also didn?t call the post-image script. >>>> >>>> I love all the customization tips when verbose is turned on. I was hoping it would say, ?No post-image script found at package/macosx/SnapCode-post-image.sh - add one here for customization?. >>>> >>>> jeff >>>> >>>> >>>> On Sep 3, 2014, at 2:46 PM, Danno Ferrin wrote: >>>> >>>>> What mac package format? DMG or PKG? >>>>> >>>>> >>>>> On Sep 3, 2014, at 12:38 PM, Jeff Martin wrote: >>>>> >>>>>> I?m glad to see that javafxpackager is now javapackager. So my question should be - what is the proper forum to post a javapackger question, or who at Oracle could create a new dedicated forum for it? >>>>>> >>>>>> In the meantime, does anyone have a suggestion to diagnose why my custom package/macosx/MyApp-post-image.sh isn?t getting called? Javapackager is picking up my custom icons fine, and the windows post-image.wsf is getting picked up fine. Just not getting called on MacOSX. >>>>>> >>>>>> jeff From danno.ferrin at shemnon.com Thu Sep 4 01:59:11 2014 From: danno.ferrin at shemnon.com (danno.ferrin at shemnon.com) Date: Thu, 04 Sep 2014 01:59:11 +0000 Subject: hg: openjfx/8u-dev/rt: [test-only] change to simple DMG Message-ID: <201409040159.s841xBQU013334@aojmv0008> Changeset: 613a8ae3a0f4 Author: shemnon Date: 2014-09-03 19:59 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/613a8ae3a0f4 [test-only] change to simple DMG When running tests, only do a full DMG if the build is configured to retain the intermediate packaging artifacts ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacDmgBundlerTest.java From james.graham at oracle.com Thu Sep 4 04:40:02 2014 From: james.graham at oracle.com (Jim Graham) Date: Wed, 03 Sep 2014 21:40:02 -0700 Subject: 8u40 review request: RT-36205 ManagedResource pool warnings when printing from a live app Message-ID: <5407ED22.6060304@oracle.com> webrev: http://cr.openjdk.java.net/~flar/RT-36205/webrev.00/ Jira: https://javafx-jira.kenai.com/browse/RT-36205 Description of fix and testing is in the Jira issue. I'd especially appreciate some more rigorous testing from Phil if he can spare the time and has any printing test suites that are more in-depth than the simple test case... ...jim From eric.le.ponner at oracle.com Thu Sep 4 07:53:10 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Thu, 04 Sep 2014 07:53:10 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409040753.s847rACC007167@aojmv0008> Changeset: 7753c3b79504 Author: eric.le.ponner at oracle.com Date: 2014-09-03 19:26 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7753c3b79504 [SCENEBUILDER] Removed FXOMNodes.collectToggleGroupReferences() routine (now dead code). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMNodes.java Changeset: 2f6e9cce8328 Author: eric.le.ponner at oracle.com Date: 2014-09-04 09:53 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2f6e9cce8328 [SCENEBUILDER] merge (no conflict). From sandra.lions-piron at oracle.com Thu Sep 4 08:28:09 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Thu, 04 Sep 2014 08:28:09 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409040828.s848S9Qf013192@aojmv0008> Changeset: 618aab68827f Author: slions Date: 2014-09-04 10:11 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/618aab68827f [SCENEBUILDER] Partial fix for DTL-6829 : Add support for editing buttonTypes and expandableContent on DialogPane Add the expandableContent property. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java Changeset: f34fb0e93340 Author: slions Date: 2014-09-04 10:15 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/f34fb0e93340 [SCENEBUILDER] Fix for DTL-6771 : Add support for DialogPane component to the Hierarchy Panel. + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/images/nodeicons/DialogPane-content.png + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/images/nodeicons/DialogPane-expandable_content.png + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/images/nodeicons/DialogPane-graphic.png + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/images/nodeicons/DialogPane-header.png ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapJobUtils.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/hierarchy/HierarchyDNDController.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/HierarchyItemDialogPane.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/klass/ComponentClassMetadata.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/util/DesignHierarchyMask.java From johan at lodgon.com Thu Sep 4 08:47:43 2014 From: johan at lodgon.com (Johan Vos) Date: Thu, 4 Sep 2014 10:47:43 +0200 Subject: Compiling 8u20-b26 for iOS In-Reply-To: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> References: <72D359DF-CDD2-4654-87FA-A4E93A5173E3@oracle.com> Message-ID: Adding to this, for those that are using the dalvik.gradle or that use retrolambda in any way: retrolambda will start its own java process, ignoring your java.ext settings. I fixed that by having a separate JDK without jfxrt.jar in a separate directory and pointing gradle to that one This is my gradle.properties file: JDK_HOME=/opt/buildjdk org.gradle.java.home=/opt/buildjdk - Johan 2014-09-02 16:28 GMT+02:00 Richard Bair : > I'll let one of the other guys answer about the web component build order, > but ... > > On Sep 1, 2014, at 11:58 PM, Niklas Therning wrote: > > > Also, how is the jfxrt.jar that comes with my Java8 installation treated > by > > the build? I guess it is ignored since otherwise I wouldn't get any > > compilation problems due to missing WebView etc since those classes are > in > > Java8's jfxrt.jar? > > The jfxrt.jar that comes with the JDK is in the lib/ext directory (as is > Nashorn). We simply omit both from the class path when we build by setting > java.ext.dirs= (to empty). > > Richard From sandra.lions-piron at oracle.com Thu Sep 4 08:55:16 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Thu, 04 Sep 2014 08:55:16 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6772 : Add support to Preview the Dialogs. Message-ID: <201409040855.s848tGPJ020231@aojmv0008> Changeset: 9900c7afd0c6 Author: slions Date: 2014-09-04 10:55 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/9900c7afd0c6 [SCENEBUILDER] Fix for DTL-6772 : Add support to Preview the Dialogs. ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/DocumentWindowController.java ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/i18n/SceneBuilderApp.properties ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBar.fxml ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java From sandra.lions-piron at oracle.com Thu Sep 4 08:59:57 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Thu, 04 Sep 2014 08:59:57 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix raw type warning Message-ID: <201409040859.s848xvC8021577@aojmv0008> Changeset: bfc7194bdc83 Author: slions Date: 2014-09-04 10:59 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/bfc7194bdc83 [SCENEBUILDER] Fix raw type warning ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java From sandra.lions-piron at oracle.com Thu Sep 4 10:58:39 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Thu, 04 Sep 2014 10:58:39 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix copyright header text Message-ID: <201409041058.s84Awdlm013151@aojmv0008> Changeset: d00224d6d864 Author: slions Date: 2014-09-04 12:58 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d00224d6d864 [SCENEBUILDER] Fix copyright header text ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/HierarchyItemDialogPane.java From sandra.lions-piron at oracle.com Thu Sep 4 12:51:58 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Thu, 04 Sep 2014 12:51:58 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Preview In Dialog is not modal Message-ID: <201409041251.s84Cpw4V003026@aojmv0008> Changeset: 21adc0871793 Author: slions Date: 2014-09-04 14:51 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/21adc0871793 [SCENEBUILDER] Preview In Dialog is not modal ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java From jerome.cambon at oracle.com Thu Sep 4 13:57:25 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Thu, 04 Sep 2014 13:57:25 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER]Fix for DTL-6848: Kit javadoc for com.oracle.javafx.scenebuilder.kit.editor.panel.css deserves some filtering Message-ID: <201409041357.s84DvQth012826@aojmv0008> Changeset: 7f04dcd38b16 Author: Jerome Cambon Date: 2014-09-04 15:59 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7f04dcd38b16 [SCENEBUILDER]Fix for DTL-6848: Kit javadoc for com.oracle.javafx.scenebuilder.kit.editor.panel.css deserves some filtering ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/CssContentMaker.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/CssUtils.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/CssValueConverter.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/CssValuePresenterFactory.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/NodeCssState.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/SelectionPath.java From eric.le.ponner at oracle.com Thu Sep 4 16:29:11 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Thu, 04 Sep 2014 16:29:11 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Some preparatory work to ease migration to SubScene. Message-ID: <201409041629.s84GTBcu007963@aojmv0008> Changeset: e43736c57ec8 Author: eric.le.ponner Date: 2014-09-04 18:29 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e43736c57ec8 [SCENEBUILDER] Some preparatory work to ease migration to SubScene. AbstractDecoration.getSceneGraphToSceneTransform() is now replaced by AbstractDecoration.getSceneGraphObjectProxy(). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/AbstractDecoration.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/gridpane/GridPanePring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/AbstractCurveHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/AbstractNodeHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/TabHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/TableColumnHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/TreeTableColumnHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/outline/NodeOutline.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/NodePring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TabPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TableColumnPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TreeTableColumnPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/rudder/ResizeRudder.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/AbstractNodeTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TabTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TableColumnTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TreeTableColumnTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/mode/HitNodeChrome.java From kevin.rushforth at oracle.com Thu Sep 4 16:38:36 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Thu, 04 Sep 2014 16:38:36 +0000 Subject: hg: openjfx/8u-dev/rt: RT-36577: Restore missing comments that were lost in lambda conversion Message-ID: <201409041638.s84GcaV9010172@aojmv0008> Changeset: 3f25a032f503 Author: kcr Date: 2014-09-04 09:38 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/3f25a032f503 RT-36577: Restore missing comments that were lost in lambda conversion ! apps/samples/Ensemble8/src/app/java/ensemble/EnsembleApp.java ! apps/samples/Ensemble8/src/app/java/ensemble/HomePage.java ! apps/samples/Ensemble8/src/app/java/ensemble/control/Popover.java ! apps/samples/Ensemble8/src/app/java/ensemble/samplepage/XYDataVisualizer.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/animation/timeline/TimelineApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/charts/line/stock/StockLineChartApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/controls/scrollbar/ScrollBarApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics2d/brickbreaker/Level.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/language/changelistener/ChangeListenerApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/language/observablelist/ObservableListApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/media/advancedmedia/MediaControl.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/scenegraph/advancedstage/AdvancedStageApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/scenegraph/events/gestureevent/GestureEventApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/scenegraph/events/keystrokemotion/LettersPane.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/scenegraph/events/mouseevent/MouseEventApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/scenegraph/events/multitouch/MultiTouchImageView.java ! apps/toys/Hello/src/main/java/hello/FloodGame.java ! apps/toys/Hello/src/main/java/hello/HelloTableView.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollPaneSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/VirtualFlow.java ! modules/graphics/src/main/java/com/sun/glass/ui/gtk/GtkApplication.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacApplication.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinApplication.java ! modules/graphics/src/main/java/com/sun/javafx/application/LauncherImpl.java ! modules/graphics/src/main/java/com/sun/javafx/application/PlatformImpl.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java ! modules/graphics/src/main/java/javafx/concurrent/Service.java ! tests/system/src/test/java/javafx/stage/ShowAndWaitTest.java From eric.le.ponner at oracle.com Thu Sep 4 16:39:52 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Thu, 04 Sep 2014 16:39:52 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fixed some imports. Message-ID: <201409041639.s84GdrWH010753@aojmv0008> Changeset: e57c43d3e16f Author: Eric Le Ponner Date: 2014-09-04 18:40 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e57c43d3e16f [SCENEBUILDER] Fixed some imports. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TabPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TreeTableColumnPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TabTring.java From kevin.rushforth at oracle.com Thu Sep 4 16:44:50 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Thu, 04 Sep 2014 09:44:50 -0700 Subject: [8u40] post-commit review: RT-36577: Restore missing comments that were lost in lambda conversion Message-ID: <54089702.7030607@oracle.com> Post-commit review for: https://javafx-jira.kenai.com/browse/RT-36577 This is a comment-only, cleanup change although there were 5 lambdas that I changed from: (() -> something) to: (() -> { something; }) so I could put commented out code / comments in the right place. -- Kevin -------------- next part -------------- An embedded message was scrubbed... From: kevin.rushforth at oracle.com Subject: hg: openjfx/8u-dev/rt: RT-36577: Restore missing comments that were lost in lambda conversion Date: Thu, 04 Sep 2014 16:38:36 +0000 Size: 5809 URL: From david.grieve at oracle.com Thu Sep 4 20:43:31 2014 From: david.grieve at oracle.com (david.grieve at oracle.com) Date: Thu, 04 Sep 2014 20:43:31 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38389: SubScene.setUserAgentStylesheet() not resilient to stress Message-ID: <201409042043.s84KhVJq023042@aojmv0008> Changeset: dbc39f3566d5 Author: David Grieve Date: 2014-09-04 16:43 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/dbc39f3566d5 RT-38389: SubScene.setUserAgentStylesheet() not resilient to stress ! apps/toys/Hello/src/main/java/hello/HelloCSS.java ! modules/graphics/src/main/java/com/sun/javafx/css/StyleManager.java From chien.yang at oracle.com Fri Sep 5 03:50:24 2014 From: chien.yang at oracle.com (chien.yang at oracle.com) Date: Fri, 05 Sep 2014 03:50:24 +0000 Subject: hg: openjfx/8u-dev/rt: Fix to RT-26108: Implement auto-mipmap support Message-ID: <201409050350.s853oQUQ001792@aojmv0008> Changeset: a56acb9d85fa Author: Chien Yang Date: 2014-09-04 20:50 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a56acb9d85fa Fix to RT-26108: Implement auto-mipmap support Reviewed by flar, kcr + apps/toys/FX8-3DFeatures/src/fx83dfeatures/CheckerMeshViewer.java ! modules/graphics/src/main/java/com/sun/prism/MultiTexture.java ! modules/graphics/src/main/java/com/sun/prism/ResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/Texture.java ! modules/graphics/src/main/java/com/sun/prism/d3d/D3DPhongMaterial.java ! modules/graphics/src/main/java/com/sun/prism/d3d/D3DRTTexture.java ! modules/graphics/src/main/java/com/sun/prism/d3d/D3DResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/d3d/D3DTexture.java ! modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java ! modules/graphics/src/main/java/com/sun/prism/es2/ES2RTTexture.java ! modules/graphics/src/main/java/com/sun/prism/es2/ES2ResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/es2/ES2Texture.java ! modules/graphics/src/main/java/com/sun/prism/es2/GLContext.java ! modules/graphics/src/main/java/com/sun/prism/impl/BaseResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/impl/BaseTexture.java ! modules/graphics/src/main/java/com/sun/prism/j2d/J2DResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/j2d/J2DTexture.java ! modules/graphics/src/main/java/com/sun/prism/null3d/DummyResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/null3d/DummyTexture.java ! modules/graphics/src/main/java/com/sun/prism/sw/SWResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/sw/SWTexture.java ! modules/graphics/src/main/native-prism-d3d/D3DGraphics.cc ! modules/graphics/src/main/native-prism-d3d/D3DResourceFactory.cc ! modules/graphics/src/main/native-prism-d3d/D3DResourceManager.cc ! modules/graphics/src/main/native-prism-d3d/D3DResourceManager.h ! modules/graphics/src/main/native-prism-es2/GLContext.c ! modules/graphics/src/test/java/com/sun/javafx/sg/prism/TestGraphics.java From sandra.lions-piron at oracle.com Fri Sep 5 07:34:16 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Fri, 05 Sep 2014 07:34:16 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409050734.s857YGqZ004442@aojmv0008> Changeset: d69d64e13c0f Author: slions Date: 2014-09-05 09:07 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d69d64e13c0f [SCENEBUILDER] Fix for DTL-6856 : Wrap In commands using single sub component should not be available in multi selection ! 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/UnwrapJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTabPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapJobUtils.java Changeset: e07bf17c4976 Author: slions Date: 2014-09-05 09:34 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e07bf17c4976 [SCENEBUILDER] Remove unused DisplayOption constructor parameter ! 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/hierarchy/HierarchyItem.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/HierarchyItemBorderPane.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/HierarchyItemGraphic.java From jerome.cambon at oracle.com Fri Sep 5 08:02:09 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Fri, 05 Sep 2014 08:02:09 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6847: Slider in Hvalue/Vvalue editor is not initialized properly Message-ID: <201409050802.s85829uQ009273@aojmv0008> Changeset: d85c0a8f968d Author: Jerome Cambon Date: 2014-09-05 10:04 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d85c0a8f968d [SCENEBUILDER] Fix for DTL-6847: Slider in Hvalue/Vvalue editor is not initialized properly ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/BoundedDoubleEditor.java From eric.le.ponner at oracle.com Fri Sep 5 08:11:19 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Fri, 05 Sep 2014 08:11:19 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Another step of prework before migrating to SubScene (DTL-6797). Message-ID: <201409050811.s858BJGo011125@aojmv0008> Changeset: a2948aa2ab67 Author: Eric Le Ponner Date: 2014-09-05 10:11 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a2948aa2ab67 [SCENEBUILDER] Another step of prework before migrating to SubScene (DTL-6797). Content panel now uses Node.localToScene(x,y,true) and Node.sceneToLocal(x,y,true) everywhere. This should make the move to SubScene neutral. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/ContainerXYDropTarget.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/BorderPaneDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/GridPaneDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/HBoxDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/SplitPaneDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TabPaneDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TableViewDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TreeTableViewDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/VBoxDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/GenericParentTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/DragGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeRowGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTableColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTreeTableColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/SelectAndMoveGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/SelectWithMarqueeGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/MovingGuideRenderer.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/ResizingGuideRenderer.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/util/BoundsUtils.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/util/Deprecation.java From mario at datenwort.at Fri Sep 5 08:31:55 2014 From: mario at datenwort.at (Mario Ivankovits) Date: Fri, 5 Sep 2014 08:31:55 +0000 Subject: IOOB and null values in ComboBox Message-ID: <2468E255-DD9B-4031-BEBE-2684475BA9BB@datenwort.at> Hi! Hi! I am having a list of ComboBox entries where the first entry often is ?null?, which means e.g. ALL Now, with 8u40-b04 I am getting IOOB exception when I select a null value in any ComboBox. I tracked it down to ComboBoxListViewSkin.updateValue where the list of selections is cleared if the ComboBox.getValue() returns ?null?. I see quite a lot of checks against ?null?, e.g. in MultipleSelectionModelBase.select(Object), so that a patch might be a lot of work. Are ?null" values not supported? Best regards, Mario The final exception: java.lang.IndexOutOfBoundsException at com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList.subList(ReadOnlyUnbackedObservableList.java:136) at javafx.collections.ListChangeListener$Change.getAddedSubList(ListChangeListener.java:242) at com.sun.javafx.scene.control.behavior.ListViewBehavior.lambda$new$178(ListViewBehavior.java:264) at com.sun.javafx.scene.control.behavior.ListViewBehavior$$Lambda$586/903982873.onChanged(Unknown Source) at javafx.collections.WeakListChangeListener.onChanged(WeakListChangeListener.java:88) at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329) at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73) at com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList.callObservers(ReadOnlyUnbackedObservableList.java:75) at javafx.scene.control.MultipleSelectionModelBase.clearAndSelect(MultipleSelectionModelBase.java:331) at javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearAndSelect(ListView.java:1440) at com.sun.javafx.scene.control.behavior.CellBehaviorBase.simpleSelect(CellBehaviorBase.java:260) at com.sun.javafx.scene.control.behavior.CellBehaviorBase.doSelect(CellBehaviorBase.java:224) at com.sun.javafx.scene.control.behavior.CellBehaviorBase.mousePressed(CellBehaviorBase.java:150) at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:95) at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89) at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.Scene$MouseHandler.process(Scene.java:3719) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3447) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1723) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2456) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:350) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:275) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$344(GlassViewEventHandler.java:385) at com.sun.javafx.tk.quantum.GlassViewEventHandler$$Lambda$244/792645374.get(Unknown Source) at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:386) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:384) at com.sun.glass.ui.View.handleMouseEvent(View.java:549) at com.sun.glass.ui.View.notifyMouse(View.java:921) From sandra.lions-piron at oracle.com Fri Sep 5 08:39:52 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Fri, 05 Sep 2014 08:39:52 +0000 Subject: hg: openjfx/8u-dev/rt: 3 new changesets Message-ID: <201409050839.s858dqCx016255@aojmv0008> Changeset: 1ee3a7bd1e00 Author: slions Date: 2014-09-05 10:33 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1ee3a7bd1e00 [SCENEBUILDER] Remove no more needed call to UpdateSelection/ClearSelection sub jobs ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifySelectionJob.java Changeset: 58cf377bf093 Author: slions Date: 2014-09-05 10:36 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/58cf377bf093 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation => Update ModifyToggleGroupJob ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifyToggleGroupJob.java Changeset: 24cc8bd39913 Author: slions Date: 2014-09-05 10:39 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/24cc8bd39913 [SCENEBUILDER] Remove old fashion CompositeJob and rename new fashion CompositeJob2 to CompositeJob ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/DebugMenuController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BatchDocumentJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/CompositeJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/CompositeJob2.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InlineDocumentJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/CompositeJob.java From eric.le.ponner at oracle.com Fri Sep 5 10:34:22 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Fri, 05 Sep 2014 10:34:22 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Some other preparatory work to ease migration to SubScene. Message-ID: <201409051034.s85AYMwL007116@aojmv0008> Changeset: f8b58635d604 Author: Eric Le Ponner Date: 2014-09-05 12:32 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/f8b58635d604 [SCENEBUILDER] Some other preparatory work to ease migration to SubScene. Added Deprecation.localToLocal() routines and use them everywhere possible. This routine shields the rootScene / not rootScene question. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/AbstractDecoration.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TabPaneDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TableViewDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TreeTableViewDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/TabHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/GenericParentTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/Deprecation.java From eric.le.ponner at oracle.com Fri Sep 5 10:47:09 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Fri, 05 Sep 2014 10:47:09 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Last (?) preparatory work to ease migration to SubScene. Message-ID: <201409051047.s85AlAfk009446@aojmv0008> Changeset: 0d65ca9c3cef Author: Eric Le Ponner Date: 2014-09-05 12:47 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/0d65ca9c3cef [SCENEBUILDER] Last (?) preparatory work to ease migration to SubScene. Transforms calls to Node.localToScene(Bounds) as calls to Node.localToScene(Bounds, Boolean). ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/SceneBuilderTest.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RelocateNodeJob.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/driver/AbstractNodeDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TabDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TableColumnDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TreeTableColumnDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/DragGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/MovingGuideController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/MovingGuideRenderer.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/ResizingGuideController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/treeview/HierarchyTreeCell.java From sandra.lions-piron at oracle.com Fri Sep 5 11:48:38 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Fri, 05 Sep 2014 11:48:38 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6857 : Wrap in BorderPane should be available and should wrap single selection in its CENTER Message-ID: <201409051148.s85Bmctf019052@aojmv0008> Changeset: 331e07041d90 Author: slions Date: 2014-09-05 13:48 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/331e07041d90 [SCENEBUILDER] Fix DTL-6857 : Wrap in BorderPane should be available and should wrap single selection in its CENTER ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBar.fxml ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.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/util/ContextMenuController.java From sandra.lions-piron at oracle.com Fri Sep 5 11:56:17 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Fri, 05 Sep 2014 11:56:17 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6857 : Wrap in BorderPane should be available and should wrap single selection in its CENTER Message-ID: <201409051156.s85BuHAx020395@aojmv0008> Changeset: 423d35dc625c Author: slions Date: 2014-09-05 13:56 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/423d35dc625c [SCENEBUILDER] Fix DTL-6857 : Wrap in BorderPane should be available and should wrap single selection in its CENTER + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInBorderPaneJob.java From jerome.cambon at oracle.com Fri Sep 5 14:29:06 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Fri, 05 Sep 2014 14:29:06 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fixed Warnings (unused imports) reported by Eclipse. Message-ID: <201409051429.s85ET7La014995@aojmv0008> Changeset: 50056378d2d3 Author: Jerome Cambon Date: 2014-09-05 16:31 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/50056378d2d3 [SCENEBUILDER] Fixed Warnings (unused imports) reported by Eclipse. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupIntrinsicReferenceJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ObjectDeleter.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/driver/handles/AbstractCurveHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/TreeTableColumnHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TreeTableColumnTring.java From kevin.rushforth at oracle.com Fri Sep 5 17:14:24 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Fri, 05 Sep 2014 17:14:24 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409051714.s85HEOrj011996@aojmv0008> Changeset: 1c2b1f7b7424 Author: hudson Date: 2014-09-03 08:23 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1c2b1f7b7424 Added tag 8u40-b04 for changeset b4976c12c98b ! .hgtags Changeset: e9b4c69a744f Author: kcr Date: 2014-09-05 10:02 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e9b4c69a744f Automated merge with http://hg.openjdk.java.net/openjfx/8u/rt - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/CompositeJob2.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustAllToggleGroupJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustToggleGroupJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/CompositeJob.java From lisa.selle at oracle.com Fri Sep 5 19:59:47 2014 From: lisa.selle at oracle.com (Lisa Selle) Date: Fri, 05 Sep 2014 15:59:47 -0400 Subject: In(Sanity) Testing Mondays Message-ID: <540A1633.7030704@oracle.com> Reminder, Monday is our weekly sanity testing. You can find your testing assignment at: https://wiki.openjdk.java.net/display/OpenJFX/Sanity+Testing Also please remember that the repo will be locked from 1am PDT until 1pm PDT. Happy testing! Lisa From adanecito at yahoo.com Fri Sep 5 20:17:52 2014 From: adanecito at yahoo.com (Tony Anecito) Date: Fri, 5 Sep 2014 13:17:52 -0700 Subject: 3D Map Master Released into the iTunes Store... In-Reply-To: <1406842635.92230.YahooMailNeo@web121805.mail.ne1.yahoo.com> References: <1406842635.92230.YahooMailNeo@web121805.mail.ne1.yahoo.com> Message-ID: <1409948272.76435.YahooMailNeo@web121803.mail.ne1.yahoo.com> Hi All, Yesterday Disaster Center another Java based SaaS was released via the iTunes store. It has Video, Embedded browser, 3D Mapping features and was accepted on the first submission. Downloads started as soon as it was released! Many thanks to the OpenJDK and OpenJFX groups and Danno Ferrin!! Best Regards, Tony Anecito Founder/President MyUniPortal LLC Rolling Thunder - Free 3D and 2D mapping, streaming video (cam and video player) and testing Software as a Service (SaaS) solution Rolling Thunder - Free 3D and 2D mapping, streaming vide... MyUniPortal LLC ? Meridian, ID 83642 ?1998-2014 Anthony Anecito View on www.myuniportal.com Preview by Yahoo JavaOne Dukes Award Winner Future of Java Leader On Thursday, July 31, 2014 3:37 PM, Tony Anecito wrote: Hi Danno & OpenJFX team, Today 3D Map Master was released into the iTunes Store. I wanted to thank Danno and the team for helping me to get it packaged properly. This is really important because this is a SaaS using Java (Swing & JavaFX). I use Restful 2.x web services and a Casandra BigData database for the back end. So it is not quite like the rest of the apps in iTunes. More of an Enterprise Solution. Best Regards, Tony Anecito JavaOne Dukes Winner, Founder/President MyUniPortal LLC http://www.myuniportal.com From adanecito at yahoo.com Fri Sep 5 20:12:11 2014 From: adanecito at yahoo.com (Tony Anecito) Date: Fri, 5 Sep 2014 13:12:11 -0700 Subject: Filedialogs in JavaFX-Applet under MacOS In-Reply-To: <5406168B.7060508@gmx.de> References: <5406168B.7060508@gmx.de> Message-ID: <1409947931.56103.YahooMailNeo@web121804.mail.ne1.yahoo.com> Hi Stefan, I have not tried SWT FileDialog I use the awt FileDialog else I would get my app rejected. Good Luck -Tony On Thursday, September 4, 2014 7:49 PM, Stefan Fuchs wrote: Hi, has anyone got an filedialog working under MacOS in an JavaFX-Applet? What I tried so far: 1.JavaFX-FileChooser: -> FileChooser always opens right behind the browser (see https://javafx-jira.kenai.com/browse/RT-28820), where no user will find it. Same code works fine on Windows 2.Swing-JFileChooser / AWT-FileChooser: -> Throws " java.awt.HeadlessException? exception under Java 7 I read https://javafx-jira.kenai.com/browse/RT-20784 , but for me it is not clear, whether there is a workaround for Java 7. I could try to convince users to upgrade to Java 8, but if you visit http://java.com you'll see, it is currently nearly impossible for end users to download Java 8. The site still talks about Java 8 being a test release targeted towards developers, links to jdk, the download page is not localized, user must choose correct file, .... Anyway, JFileChooser works fine on Windows 3.SWT-FileDialog -> Closing the dialog throws NPE, then the Java-plugin crashes with an heapdump You get the song: Works fine on Windows Sorry, if the above sounds like a rant, but finding a solution can be quite frustrating. So any advice of how to get one of the above to work or about an alternative solution is very much appreciated. - Stefan From jgodino at yahoo.com Sat Sep 6 17:26:01 2014 From: jgodino at yahoo.com (Francisco Javier Godino) Date: Sat, 6 Sep 2014 10:26:01 -0700 Subject: JAVAFX Service creates new threads Message-ID: <1410024361.66604.YahooMailNeo@web121702.mail.ne1.yahoo.com> Hello: I have a issue with a Service. I developed thisService. It's an extension of Service: public class MostrarImagenesService extends Service{ ... @Override protected Task createTask() { return new Task() { @Override protected Object call() throws Exception { ...... return null; } } This is the way that I invoque the service: switch (MostrarImagenesService.getInstance().getState()) { case READY: MostrarImagenesService.getInstance().start(); break; case SUCCEEDED: MostrarImagenesService.getInstance().restart(); break; default: log.info("GrabadoraDeImagenesService State: Grabadora en Funcionamiento"); } I see this in the log: [Thread-10] INFO servicios.MostrarImagenesService - MostrarImagenesService: call INICIO trama:00552 the second time that i invoque the service: [Thread-14] INFO servicios.MostrarImagenesService - MostrarImagenesService: call INICIO trama:00553 It is running over a new Thread (Thread 14). How I can avoid creating new thread? This service will be constantly invoked. Can this affect the VM? Thanks From kevin.rushforth at oracle.com Sat Sep 6 17:32:46 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Sat, 06 Sep 2014 10:32:46 -0700 Subject: JAVAFX Service creates new threads In-Reply-To: <1410024361.66604.YahooMailNeo@web121702.mail.ne1.yahoo.com> References: <1410024361.66604.YahooMailNeo@web121702.mail.ne1.yahoo.com> Message-ID: <540B453E.7080802@oracle.com> This is documented in the API docs for the Service class: The Service by default uses a thread pool Executor with some unspecified default or maximum thread pool size. This is done so that naive code will not completely swamp the system by creating thousands of Threads. You need to specify your own Executor if you want to change this default behavior. -- Kevin Francisco Javier Godino wrote: > Hello: > > I have a issue with a Service. > I developed thisService. > It's an extension of Service: > > > public class MostrarImagenesService extends Service{ > ... > > @Override > > protected Task createTask() { > return new Task() { > > @Override > protected Object call() throws Exception { > > ...... > > return null; > > } > } > > > > This is the way that I invoque the service: > > > switch (MostrarImagenesService.getInstance().getState()) { > > case READY: > MostrarImagenesService.getInstance().start(); > > > break; > > case SUCCEEDED: > > > MostrarImagenesService.getInstance().restart(); > > break; > > default: > > log.info("GrabadoraDeImagenesService State: Grabadora en Funcionamiento"); > > } > > > > I see this in the log: > > [Thread-10] INFO servicios.MostrarImagenesService - MostrarImagenesService: call INICIO trama:00552 > > the second time that i invoque the service: > > [Thread-14] INFO servicios.MostrarImagenesService - MostrarImagenesService: call INICIO trama:00553 > > It is running over a new Thread (Thread 14). > > > > How I can avoid creating new thread? > This service will be constantly invoked. > Can this affect the VM? > > Thanks > From jgodino at yahoo.com Sat Sep 6 20:37:25 2014 From: jgodino at yahoo.com (Francisco Javier Godino) Date: Sat, 6 Sep 2014 13:37:25 -0700 Subject: JAVAFX Service creates new threads In-Reply-To: <540B453E.7080802@oracle.com> References: <1410024361.66604.YahooMailNeo@web121702.mail.ne1.yahoo.com> <540B453E.7080802@oracle.com> Message-ID: <1410035845.19079.YahooMailNeo@web121701.mail.ne1.yahoo.com> Hi Kevin: It was resolved with your help. I included this lines: ExecutorService executorService = Executors.newSingleThreadExecutor(); CapturadoraDeImagenService.getInstance().setExecutor(executorService); Thanks a lot! Francisco Javier On Saturday, September 6, 2014 2:32 PM, Kevin Rushforth wrote: This is documented in the API docs for the Service class: The Service by default uses a thread pool Executor with some unspecified default or maximum thread pool size. This is done so that naive code will not completely swamp the system by creating thousands of Threads. > You need to specify your own Executor if you want to change this default behavior. -- Kevin Francisco Javier Godino wrote: Hello: I have a issue with a Service. I developed thisService. It's an extension of Service: public class MostrarImagenesService extends Service{ ... @Override protected Task createTask() { return new Task() { @Override protected Object call() throws Exception { ...... return null; } } This is the way that I invoque the service: switch (MostrarImagenesService.getInstance().getState()) { case READY: MostrarImagenesService.getInstance().start(); break; case SUCCEEDED: MostrarImagenesService.getInstance().restart(); break; default: log.info("GrabadoraDeImagenesService State: Grabadora en Funcionamiento"); } I see this in the log: [Thread-10] INFO servicios.MostrarImagenesService - MostrarImagenesService: call INICIO trama:00552 the second time that i invoque the service: [Thread-14] INFO servicios.MostrarImagenesService - MostrarImagenesService: call INICIO trama:00553 It is running over a new Thread (Thread 14). How I can avoid creating new thread? This service will be constantly invoked. Can this affect the VM? Thanks From daniel.blaukopf at oracle.com Mon Sep 8 07:55:22 2014 From: daniel.blaukopf at oracle.com (daniel.blaukopf at oracle.com) Date: Mon, 08 Sep 2014 07:55:22 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38393 [Monocle] Mouse Events stop coming on embedded Message-ID: <201409080755.s887tM19026772@aojmv0008> Changeset: 1d08d9490df0 Author: Daniel Blaukopf Date: 2014-09-08 10:51 +0300 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1d08d9490df0 RT-38393 [Monocle] Mouse Events stop coming on embedded Fixes in modules/graphics/src/main/java/com/sun/glass/ui/monocle/ contributed by fheidric ! modules/graphics/src/main/java/com/sun/glass/ui/monocle/LinuxInputDeviceRegistry.java ! modules/graphics/src/main/java/com/sun/glass/ui/monocle/LinuxStatefulMultiTouchProcessor.java ! tests/system/src/test/java/com/sun/glass/ui/monocle/MultiTouch2Test.java ! tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice1.java ! tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice2.java + tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice3.java + tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice4.java + tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDeviceBase.java ! tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/TestTouchDevices.java From krueger at lesspain.de Mon Sep 8 08:02:27 2014 From: krueger at lesspain.de (=?UTF-8?Q?Robert_Kr=C3=BCger?=) Date: Mon, 8 Sep 2014 10:02:27 +0200 Subject: Tagging UI control Message-ID: Hi, how would one go about implementing (i.e. use which api) a tagging control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX or is this already available in an existing extension library? Is this easily done with a bit of text parsing and CSS magic or as fiddely as building a rich text editor or does it even make sense to build this by integrating a web component and using an existing javascript-based solution (which feels a bit odd)? Thanks in advance for any opinions/pointers. Robert From mike at plan99.net Mon Sep 8 11:15:17 2014 From: mike at plan99.net (Mike Hearn) Date: Mon, 8 Sep 2014 13:15:17 +0200 Subject: Tagging UI control In-Reply-To: References: Message-ID: I've not encountered one, but building such a thing should be quite straightforward. You could use CSS to create a text-area like rectangle with an HBox inside it, and then have a no-border textedit that simply expands to fill the available space. When the user presses enter you create an appropriately styled label with the contained text and insert it to the left of the edit in the hbox. Tweak CSS and spacing and you have a basic tagging control. On Mon, Sep 8, 2014 at 10:02 AM, Robert Kr?ger wrote: > Hi, > > how would one go about implementing (i.e. use which api) a tagging > control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX > or is this already available in an existing extension library? > > Is this easily done with a bit of text parsing and CSS magic or as > fiddely as building a rich text editor or does it even make sense to > build this by integrating a web component and using an existing > javascript-based solution (which feels a bit odd)? > > Thanks in advance for any opinions/pointers. > > Robert > From richard.bair at oracle.com Mon Sep 8 14:49:40 2014 From: richard.bair at oracle.com (Richard Bair) Date: Mon, 8 Sep 2014 07:49:40 -0700 Subject: Tagging UI control In-Reply-To: References: Message-ID: <93263B1B-C32E-410A-85E5-F49BF97D042D@oracle.com> I tried writing one once just using a TextField, but it ended up being very difficult. With the TextFlow as a basis instead, it might be easier. You can also do it out of a composite of controls as you mention here, depending on the user experience you are looking for with the control. I would probably look at a few JS/HTML implementations and see what they do, we have the same basic rules (scene graph) so the concepts should map pretty well across I expect. On Sep 8, 2014, at 4:15 AM, Mike Hearn wrote: > I've not encountered one, but building such a thing should be quite > straightforward. You could use CSS to create a text-area like rectangle > with an HBox inside it, and then have a no-border textedit that simply > expands to fill the available space. When the user presses enter you create > an appropriately styled label with the contained text and insert it to the > left of the edit in the hbox. Tweak CSS and spacing and you have a basic > tagging control. > > On Mon, Sep 8, 2014 at 10:02 AM, Robert Kr?ger wrote: > >> Hi, >> >> how would one go about implementing (i.e. use which api) a tagging >> control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX >> or is this already available in an existing extension library? >> >> Is this easily done with a bit of text parsing and CSS magic or as >> fiddely as building a rich text editor or does it even make sense to >> build this by integrating a web component and using an existing >> javascript-based solution (which feels a bit odd)? >> >> Thanks in advance for any opinions/pointers. >> >> Robert >> From kevin.rushforth at oracle.com Mon Sep 8 16:12:59 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Mon, 08 Sep 2014 09:12:59 -0700 Subject: JAVAFX Service creates new threads In-Reply-To: <1410035845.19079.YahooMailNeo@web121701.mail.ne1.yahoo.com> References: <1410024361.66604.YahooMailNeo@web121702.mail.ne1.yahoo.com> <540B453E.7080802@oracle.com> <1410035845.19079.YahooMailNeo@web121701.mail.ne1.yahoo.com> Message-ID: <540DD58B.8060204@oracle.com> You're welcome. -- Kevin Francisco Javier Godino wrote: > Hi Kevin: > > It was resolved with your help. > I included this lines: > > ExecutorService executorService = Executors.newSingleThreadExecutor(); > > CapturadoraDeImagenService.getInstance().setExecutor(executorService); > > Thanks a lot! > > Francisco Javier > > > > > > On Saturday, September 6, 2014 2:32 PM, Kevin Rushforth > wrote: > > > This is documented in the API docs for the Service class: > > The Service by default uses a thread pool Executor with some > unspecified default or maximum thread pool size. This is done so > that naive code will not completely swamp the system by creating > thousands of Threads. > > > You need to specify your own Executor if you want to change this > default behavior. > > -- Kevin > > > > Francisco Javier Godino wrote: >> Hello: >> >> I have a issue with a Service. >> I developed thisService. >> It's an extension of Service: >> >> >> public class MostrarImagenesService extends Service{ >> ... >> >> @Override >> >> protected Task createTask() { >> return new Task() { >> >> @Override >> protected Object call() throws Exception { >> >> ...... >> >> return null; >> >> } >> } >> >> >> >> This is the way that I invoque the service: >> >> >> switch (MostrarImagenesService.getInstance().getState()) { >> >> case READY: >> MostrarImagenesService.getInstance().start(); >> >> >> break; >> >> case SUCCEEDED: >> >> >> MostrarImagenesService.getInstance().restart(); >> >> break; >> >> default: >> >> log.info("GrabadoraDeImagenesService State: Grabadora en Funcionamiento"); >> >> } >> >> >> >> I see this in the log: >> >> [Thread-10] INFO servicios.MostrarImagenesService - MostrarImagenesService: call INICIO trama:00552 >> >> the second time that i invoque the service: >> >> [Thread-14] INFO servicios.MostrarImagenesService - MostrarImagenesService: call INICIO trama:00553 >> >> It is running over a new Thread (Thread 14). >> >> >> >> How I can avoid creating new thread? >> This service will be constantly invoked. >> Can this affect the VM? >> >> Thanks >> > > From kevin.rushforth at oracle.com Mon Sep 8 19:57:19 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Mon, 08 Sep 2014 12:57:19 -0700 Subject: 8u-dev unlocked -- M2 rampdown in effect Message-ID: <540E0A1F.3000201@oracle.com> The 8u-dev repo is unlocked following this week's testing. As a reminder, milestone M2 rampdown is in effect this week (the usual exceptions apply for test, doc, and IDE changes). See https://wiki.openjdk.java.net/display/OpenJFX/Sanity+Testing for weekly freeze and milestone rampdown rules. -- Kevin From felipe.heidrich at oracle.com Mon Sep 8 21:19:08 2014 From: felipe.heidrich at oracle.com (felipe.heidrich at oracle.com) Date: Mon, 08 Sep 2014 21:19:08 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38454: [Accessibility] HelloPagination gets RuntimeException: Accessbility requested for node not on a scene Message-ID: <201409082119.s88LJ9nR022616@aojmv0008> Changeset: 6e4d117f2c7a Author: Felipe Heidrich Date: 2014-09-08 14:18 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6e4d117f2c7a RT-38454: [Accessibility] HelloPagination gets RuntimeException: Accessbility requested for node not on a scene ! modules/graphics/src/main/java/com/sun/glass/ui/Accessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java ! modules/graphics/src/main/java/javafx/scene/Node.java From jonathan.giles at oracle.com Mon Sep 8 21:32:57 2014 From: jonathan.giles at oracle.com (Jonathan Giles) Date: Tue, 09 Sep 2014 09:32:57 +1200 Subject: Tagging UI control In-Reply-To: References: Message-ID: <540E2089.7040100@oracle.com> ControlsFX has a CustomTextField component that allows for nodes to be placed on the left / right of a normal TextField, without overlapping the text. I would probably use that internally along with some custom code to render the individual tags in an HBox on the left. -- Jonathan On 8/09/2014 8:02 p.m., Robert Kr?ger wrote: > Hi, > > how would one go about implementing (i.e. use which api) a tagging > control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX > or is this already available in an existing extension library? > > Is this easily done with a bit of text parsing and CSS magic or as > fiddely as building a rich text editor or does it even make sense to > build this by integrating a web component and using an existing > javascript-based solution (which feels a bit odd)? > > Thanks in advance for any opinions/pointers. > > Robert From chien.yang at oracle.com Mon Sep 8 21:58:42 2014 From: chien.yang at oracle.com (Chien Yang) Date: Mon, 08 Sep 2014 14:58:42 -0700 Subject: Code Review Request For RT-38555: Shader compile failure with PickTest3D on i.MX6 Message-ID: <540E2692.3010006@oracle.com> Hi Kevin and Dave, Please review my proposed fix: https://javafx-jira.kenai.com/browse/RT-38555 Thanks, - Chien From kevin.rushforth at oracle.com Mon Sep 8 22:33:32 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Mon, 08 Sep 2014 22:33:32 +0000 Subject: hg: openjfx/8u/rt: 56 new changesets Message-ID: <201409082233.s88MXYt0004353@aojmv0008> Changeset: 64c45eaad799 Author: eric.le.ponner Date: 2014-09-02 12:53 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/64c45eaad799 [SCENEBUILDER] added FXOMObject.collectReferences() method (with 'scope' parameter). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMCollection.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMInstance.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMIntrinsic.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMObject.java Changeset: b798513fd328 Author: eric.le.ponner Date: 2014-09-02 12:56 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b798513fd328 [SCENEBUILDER] AbstractDropTarget subclasses and edit jobs now uses RemoveObjectJob in place of DeleteObjectJob. DeleteObjectJob semantic is going to change and it will be reserved to delete command only. ! 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/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/job/TrimSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveRowJob.java Changeset: 92121f1d5ae1 Author: eric.le.ponner Date: 2014-09-02 13:02 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/92121f1d5ae1 [SCENEBUILDER] Second step for DTL-6774 implementation. Delete command is now reference aware: - DeleteObjectJob now relies on ObjectDeleter - DeleteObjectSelection no longer needs to invoke AdjustAllToggleGroupsJob ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectSelectionJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ObjectDeleter.java Changeset: a0da8fd3717c Author: eric.le.ponner Date: 2014-09-02 13:04 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/a0da8fd3717c [SCENEBUILDER] Debug menu now displays sub jobs attached to UpdateReferencesJob. ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/DebugMenuController.java Changeset: 1e20da46a3c7 Author: eric.le.ponner at oracle.com Date: 2014-09-02 14:19 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/1e20da46a3c7 [SCENEBUILDER] Removed FXOMObject.lookupFirstReference() (no longer used). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMCollection.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMInstance.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMIntrinsic.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMObject.java Changeset: 043cd5a12fd9 Author: eric.le.ponner at oracle.com Date: 2014-09-02 20:05 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/043cd5a12fd9 [SCENEBUILDER] merge (no conflict). Changeset: f98785bfc2f9 Author: Felipe Heidrich Date: 2014-09-02 11:20 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f98785bfc2f9 [Accessibility] Reduce method/field visibility ! modules/graphics/src/main/java/com/sun/glass/ui/Accessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacVariant.java Changeset: 397bbdd03f90 Author: Felipe Heidrich Date: 2014-09-02 13:24 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/397bbdd03f90 [Accessibility] Reduce method/field visibility ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinTextRangeProvider.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinVariant.java Changeset: e118f2891b38 Author: jgiles Date: 2014-09-02 15:32 +1200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e118f2891b38 [DOC ONLY] fix typos in ButtonType javadoc ! modules/controls/src/main/java/javafx/scene/control/ButtonType.java Changeset: 258d08a27dc0 Author: jgiles Date: 2014-09-03 12:12 +1200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/258d08a27dc0 RT-38464: [TableView] Regression TableView: cannot start editing via keyboard ! apps/toys/Hello/src/main/java/hello/HelloTableView.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/SelectedCellsMap.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TableCellBehaviorBase.java ! modules/controls/src/main/java/javafx/scene/control/ListCell.java ! modules/controls/src/main/java/javafx/scene/control/ListView.java ! modules/controls/src/main/java/javafx/scene/control/MultipleSelectionModelBase.java ! modules/controls/src/main/java/javafx/scene/control/TableCell.java ! modules/controls/src/main/java/javafx/scene/control/TableView.java ! modules/controls/src/main/java/javafx/scene/control/TreeCell.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableCell.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableView.java ! modules/controls/src/main/java/javafx/scene/control/TreeView.java ! modules/controls/src/test/java/com/sun/javafx/scene/control/infrastructure/VirtualFlowTestUtils.java ! modules/controls/src/test/java/javafx/scene/control/ListCellTest.java ! modules/controls/src/test/java/javafx/scene/control/ListViewTest.java ! modules/controls/src/test/java/javafx/scene/control/MultipleSelectionModelImplTest.java ! modules/controls/src/test/java/javafx/scene/control/SelectionModelImplTest.java ! modules/controls/src/test/java/javafx/scene/control/TableViewKeyInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TableViewMouseInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TableViewSelectionModelImplTest.java ! modules/controls/src/test/java/javafx/scene/control/TableViewTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewKeyInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewMouseInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewSelectionModelImplTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeViewTest.java Changeset: d702e4ad5227 Author: slions Date: 2014-09-03 09:09 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d702e4ad5227 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation between Hierarchy and Content Panels => Adapt Re-index jobs to the new architecture ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexRowContentJob.java Changeset: 77ee61dc5811 Author: Martin Sladecek Date: 2014-09-03 09:21 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/77ee61dc5811 RT-38407 RTL orientation, ComboBox popup is not aligned with the ComboBox. Reviewed by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxPopupControl.java Changeset: dc9971d9268f Author: slions Date: 2014-09-03 12:11 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/dc9971d9268f [SCENEBUILDER] Fix DTL-6802 : Changing focus order for GridPane by Hierarchy Pane doesn't work ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/HierarchyDNDController.java Changeset: bcd84f2065ae Author: slions Date: 2014-09-03 12:14 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/bcd84f2065ae [SCENEBUILDER] Fix DTL-6734 : Using fx:include crashes hierarchy/controller view in scenebuilder 2.0 ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/util/DesignHierarchyMask.java Changeset: bef2f999b920 Author: eric.le.ponner at oracle.com Date: 2014-09-03 10:07 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/bef2f999b920 [SCENEBUILDER] ReferencesUpdate class now treats ToggleGroup reference with some special logic (DTL-6774). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupExpressionReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupIntrinsicReferenceJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupReferenceJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ReferencesUpdater.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMNodes.java Changeset: d89f3f7fd22b Author: Eric Le Ponner Date: 2014-09-03 11:40 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d89f3f7fd22b [SCENEBUILDER] Removed some legacy calls to Selection.clear() from AddPropertyJob, AddPropertyValueJob and RemovePropertyJob. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/AddPropertyValueJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RemovePropertyJob.java Changeset: bb45978e3156 Author: Eric Le Ponner Date: 2014-09-03 11:42 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/bb45978e3156 [SCENEBUILDER] Removed AdjustAllToggleGroupJob and AdjustToggleGroupJob. Toggle group consistency is now ensured by UpdateReferencesJob. ! 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/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/RootDropTarget.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DuplicateSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/PasteIntoJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/PasteJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendBackwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendToBackJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/TrimSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/DeleteColumnJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/DeleteRowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/RemoveColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/RemoveRowContentJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustAllToggleGroupJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustToggleGroupJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifySelectionToggleGroupJob.java Changeset: 6f74aae81004 Author: eric.le.ponner at oracle.com Date: 2014-09-03 14:14 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/6f74aae81004 [SCENEBUILDER] merge (no conflict). Changeset: b9eb9718108b Author: eric.le.ponner at oracle.com Date: 2014-09-03 14:22 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b9eb9718108b [SCENEBUILDER] Removed unused code from ObjectDeleter to fix BC_IMPOSSIBLE_INSTANCEOF from FindBugs. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ObjectDeleter.java Changeset: eb251121a360 Author: Martin Sladecek Date: 2014-09-03 14:55 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/eb251121a360 RT-37879 ArrayindexoutOfBoundsException from Parent.updateCachedBounds ! modules/graphics/src/main/java/javafx/scene/Parent.java Changeset: ae50be4152c6 Author: slions Date: 2014-09-03 15:29 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/ae50be4152c6 [SCENEBUILDER] Fix ReIndexRow/Column jobs inheritance. Indeed, their sub jobs list cannot be initialized lazily. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexColumnContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/ReIndexRowContentJob.java Changeset: b4d2b1d973a6 Author: Elina Kleyman Date: 2014-09-03 17:16 +0300 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b4d2b1d973a6 RT-38349: Numerous unit test failures in SimpleSwipeTest ! tests/system/src/test/java/com/sun/glass/ui/monocle/SwipeSimpleTest.java Changeset: c2041e3fd928 Author: slions Date: 2014-09-03 16:32 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/c2041e3fd928 [SCENEBUILDER] Fix DTL-6768: Extend the Show Sample Data command to include Spinner control ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/sampledata/AbstractSampleData.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/sampledata/SampleDataGenerator.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/sampledata/SpinnerSampleData.java Changeset: 3beaafe4b671 Author: Felipe Heidrich Date: 2014-09-03 09:54 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/3beaafe4b671 RT-38452: [Accessibility] HelloTreeView hangs on Windows 7 when running Narrator ! modules/controls/src/main/java/javafx/scene/control/TreeCell.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableRow.java Changeset: afa5accd7234 Author: eric.le.ponner at oracle.com Date: 2014-09-03 19:17 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/afa5accd7234 [SCENEBUILDER] Removed unused code to fix DLS_DEAD_LOCAL_STORE reported by FindBugs. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupIntrinsicReferenceJob.java Changeset: c1d51a6e4338 Author: eric.le.ponner at oracle.com Date: 2014-09-03 19:18 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/c1d51a6e4338 [SCENEBUILDER] Removed unused code to fix UCF_USELESS_CONTROL_FLOW reported by FindBugs. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ObjectDeleter.java Changeset: 70ae8cc1e691 Author: flar Date: 2014-09-03 15:05 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/70ae8cc1e691 Fix RT-38183: ManagedResource warnings when screen configurations change Reviewed by: kcr, felipe ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGCanvas.java ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/ImagePool.java + modules/graphics/src/main/java/com/sun/scenario/effect/impl/PoolFilterable.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/Renderer.java ! modules/graphics/src/main/java/com/sun/scenario/effect/impl/prism/PrDrawable.java Changeset: 613a8ae3a0f4 Author: shemnon Date: 2014-09-03 19:59 -0600 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/613a8ae3a0f4 [test-only] change to simple DMG When running tests, only do a full DMG if the build is configured to retain the intermediate packaging artifacts ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacDmgBundlerTest.java Changeset: 7753c3b79504 Author: eric.le.ponner at oracle.com Date: 2014-09-03 19:26 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/7753c3b79504 [SCENEBUILDER] Removed FXOMNodes.collectToggleGroupReferences() routine (now dead code). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMNodes.java Changeset: 2f6e9cce8328 Author: eric.le.ponner at oracle.com Date: 2014-09-04 09:53 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/2f6e9cce8328 [SCENEBUILDER] merge (no conflict). Changeset: 618aab68827f Author: slions Date: 2014-09-04 10:11 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/618aab68827f [SCENEBUILDER] Partial fix for DTL-6829 : Add support for editing buttonTypes and expandableContent on DialogPane Add the expandableContent property. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java Changeset: f34fb0e93340 Author: slions Date: 2014-09-04 10:15 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f34fb0e93340 [SCENEBUILDER] Fix for DTL-6771 : Add support for DialogPane component to the Hierarchy Panel. + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/images/nodeicons/DialogPane-content.png + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/images/nodeicons/DialogPane-expandable_content.png + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/images/nodeicons/DialogPane-graphic.png + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/images/nodeicons/DialogPane-header.png ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapJobUtils.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/hierarchy/HierarchyDNDController.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/HierarchyItemDialogPane.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/klass/ComponentClassMetadata.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/util/DesignHierarchyMask.java Changeset: 9900c7afd0c6 Author: slions Date: 2014-09-04 10:55 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/9900c7afd0c6 [SCENEBUILDER] Fix for DTL-6772 : Add support to Preview the Dialogs. ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/DocumentWindowController.java ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/i18n/SceneBuilderApp.properties ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBar.fxml ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java Changeset: bfc7194bdc83 Author: slions Date: 2014-09-04 10:59 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/bfc7194bdc83 [SCENEBUILDER] Fix raw type warning ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java Changeset: d00224d6d864 Author: slions Date: 2014-09-04 12:58 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d00224d6d864 [SCENEBUILDER] Fix copyright header text ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/HierarchyItemDialogPane.java Changeset: 21adc0871793 Author: slions Date: 2014-09-04 14:51 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/21adc0871793 [SCENEBUILDER] Preview In Dialog is not modal ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java Changeset: 7f04dcd38b16 Author: Jerome Cambon Date: 2014-09-04 15:59 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/7f04dcd38b16 [SCENEBUILDER]Fix for DTL-6848: Kit javadoc for com.oracle.javafx.scenebuilder.kit.editor.panel.css deserves some filtering ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/CssContentMaker.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/CssUtils.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/CssValueConverter.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/CssValuePresenterFactory.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/NodeCssState.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/css/SelectionPath.java Changeset: e43736c57ec8 Author: eric.le.ponner Date: 2014-09-04 18:29 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e43736c57ec8 [SCENEBUILDER] Some preparatory work to ease migration to SubScene. AbstractDecoration.getSceneGraphToSceneTransform() is now replaced by AbstractDecoration.getSceneGraphObjectProxy(). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/AbstractDecoration.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/gridpane/GridPanePring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/AbstractCurveHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/AbstractNodeHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/TabHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/TableColumnHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/TreeTableColumnHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/outline/NodeOutline.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/NodePring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TabPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TableColumnPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TreeTableColumnPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/rudder/ResizeRudder.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/AbstractNodeTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TabTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TableColumnTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TreeTableColumnTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/mode/HitNodeChrome.java Changeset: 3f25a032f503 Author: kcr Date: 2014-09-04 09:38 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/3f25a032f503 RT-36577: Restore missing comments that were lost in lambda conversion ! apps/samples/Ensemble8/src/app/java/ensemble/EnsembleApp.java ! apps/samples/Ensemble8/src/app/java/ensemble/HomePage.java ! apps/samples/Ensemble8/src/app/java/ensemble/control/Popover.java ! apps/samples/Ensemble8/src/app/java/ensemble/samplepage/XYDataVisualizer.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/animation/timeline/TimelineApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/charts/line/stock/StockLineChartApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/controls/scrollbar/ScrollBarApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics2d/brickbreaker/Level.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/language/changelistener/ChangeListenerApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/language/observablelist/ObservableListApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/media/advancedmedia/MediaControl.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/scenegraph/advancedstage/AdvancedStageApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/scenegraph/events/gestureevent/GestureEventApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/scenegraph/events/keystrokemotion/LettersPane.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/scenegraph/events/mouseevent/MouseEventApp.java ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/scenegraph/events/multitouch/MultiTouchImageView.java ! apps/toys/Hello/src/main/java/hello/FloodGame.java ! apps/toys/Hello/src/main/java/hello/HelloTableView.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollPaneSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/VirtualFlow.java ! modules/graphics/src/main/java/com/sun/glass/ui/gtk/GtkApplication.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacApplication.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinApplication.java ! modules/graphics/src/main/java/com/sun/javafx/application/LauncherImpl.java ! modules/graphics/src/main/java/com/sun/javafx/application/PlatformImpl.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java ! modules/graphics/src/main/java/javafx/concurrent/Service.java ! tests/system/src/test/java/javafx/stage/ShowAndWaitTest.java Changeset: e57c43d3e16f Author: Eric Le Ponner Date: 2014-09-04 18:40 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e57c43d3e16f [SCENEBUILDER] Fixed some imports. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TabPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/pring/TreeTableColumnPring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TabTring.java Changeset: dbc39f3566d5 Author: David Grieve Date: 2014-09-04 16:43 -0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/dbc39f3566d5 RT-38389: SubScene.setUserAgentStylesheet() not resilient to stress ! apps/toys/Hello/src/main/java/hello/HelloCSS.java ! modules/graphics/src/main/java/com/sun/javafx/css/StyleManager.java Changeset: a56acb9d85fa Author: Chien Yang Date: 2014-09-04 20:50 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/a56acb9d85fa Fix to RT-26108: Implement auto-mipmap support Reviewed by flar, kcr + apps/toys/FX8-3DFeatures/src/fx83dfeatures/CheckerMeshViewer.java ! modules/graphics/src/main/java/com/sun/prism/MultiTexture.java ! modules/graphics/src/main/java/com/sun/prism/ResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/Texture.java ! modules/graphics/src/main/java/com/sun/prism/d3d/D3DPhongMaterial.java ! modules/graphics/src/main/java/com/sun/prism/d3d/D3DRTTexture.java ! modules/graphics/src/main/java/com/sun/prism/d3d/D3DResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/d3d/D3DTexture.java ! modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java ! modules/graphics/src/main/java/com/sun/prism/es2/ES2RTTexture.java ! modules/graphics/src/main/java/com/sun/prism/es2/ES2ResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/es2/ES2Texture.java ! modules/graphics/src/main/java/com/sun/prism/es2/GLContext.java ! modules/graphics/src/main/java/com/sun/prism/impl/BaseResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/impl/BaseTexture.java ! modules/graphics/src/main/java/com/sun/prism/j2d/J2DResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/j2d/J2DTexture.java ! modules/graphics/src/main/java/com/sun/prism/null3d/DummyResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/null3d/DummyTexture.java ! modules/graphics/src/main/java/com/sun/prism/sw/SWResourceFactory.java ! modules/graphics/src/main/java/com/sun/prism/sw/SWTexture.java ! modules/graphics/src/main/native-prism-d3d/D3DGraphics.cc ! modules/graphics/src/main/native-prism-d3d/D3DResourceFactory.cc ! modules/graphics/src/main/native-prism-d3d/D3DResourceManager.cc ! modules/graphics/src/main/native-prism-d3d/D3DResourceManager.h ! modules/graphics/src/main/native-prism-es2/GLContext.c ! modules/graphics/src/test/java/com/sun/javafx/sg/prism/TestGraphics.java Changeset: d69d64e13c0f Author: slions Date: 2014-09-05 09:07 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d69d64e13c0f [SCENEBUILDER] Fix for DTL-6856 : Wrap In commands using single sub component should not be available in multi selection ! 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/UnwrapJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTabPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapJobUtils.java Changeset: e07bf17c4976 Author: slions Date: 2014-09-05 09:34 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e07bf17c4976 [SCENEBUILDER] Remove unused DisplayOption constructor parameter ! 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/hierarchy/HierarchyItem.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/HierarchyItemBorderPane.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/HierarchyItemGraphic.java Changeset: d85c0a8f968d Author: Jerome Cambon Date: 2014-09-05 10:04 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d85c0a8f968d [SCENEBUILDER] Fix for DTL-6847: Slider in Hvalue/Vvalue editor is not initialized properly ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/BoundedDoubleEditor.java Changeset: a2948aa2ab67 Author: Eric Le Ponner Date: 2014-09-05 10:11 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/a2948aa2ab67 [SCENEBUILDER] Another step of prework before migrating to SubScene (DTL-6797). Content panel now uses Node.localToScene(x,y,true) and Node.sceneToLocal(x,y,true) everywhere. This should make the move to SubScene neutral. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/ContainerXYDropTarget.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/BorderPaneDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/GridPaneDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/HBoxDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/SplitPaneDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TabPaneDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TableViewDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TreeTableViewDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/VBoxDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/GenericParentTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/DragGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeRowGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTableColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/ResizeTreeTableColumnGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/SelectAndMoveGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/mouse/SelectWithMarqueeGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/MovingGuideRenderer.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/ResizingGuideRenderer.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/util/BoundsUtils.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/util/Deprecation.java Changeset: 1ee3a7bd1e00 Author: slions Date: 2014-09-05 10:33 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/1ee3a7bd1e00 [SCENEBUILDER] Remove no more needed call to UpdateSelection/ClearSelection sub jobs ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifySelectionJob.java Changeset: 58cf377bf093 Author: slions Date: 2014-09-05 10:36 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/58cf377bf093 [SCENEBUILDER] Going on fixing DTL-6783: Rationalize job implementation => Update ModifyToggleGroupJob ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/ModifyToggleGroupJob.java Changeset: 24cc8bd39913 Author: slions Date: 2014-09-05 10:39 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/24cc8bd39913 [SCENEBUILDER] Remove old fashion CompositeJob and rename new fashion CompositeJob2 to CompositeJob ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/DebugMenuController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BatchDocumentJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/CompositeJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/CompositeJob2.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InlineDocumentJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/CompositeJob.java Changeset: f8b58635d604 Author: Eric Le Ponner Date: 2014-09-05 12:32 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f8b58635d604 [SCENEBUILDER] Some other preparatory work to ease migration to SubScene. Added Deprecation.localToLocal() routines and use them everywhere possible. This routine shields the rootScene / not rootScene question. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/AbstractDecoration.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TabPaneDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TableViewDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TreeTableViewDesignInfoX.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/TabHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/GenericParentTring.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/Deprecation.java Changeset: 0d65ca9c3cef Author: Eric Le Ponner Date: 2014-09-05 12:47 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/0d65ca9c3cef [SCENEBUILDER] Last (?) preparatory work to ease migration to SubScene. Transforms calls to Node.localToScene(Bounds) as calls to Node.localToScene(Bounds, Boolean). ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/SceneBuilderTest.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/atomic/RelocateNodeJob.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/driver/AbstractNodeDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TabDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TableColumnDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/TreeTableColumnDriver.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/gesture/DragGesture.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/MovingGuideController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/MovingGuideRenderer.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/ResizingGuideController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/treeview/HierarchyTreeCell.java Changeset: 331e07041d90 Author: slions Date: 2014-09-05 13:48 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/331e07041d90 [SCENEBUILDER] Fix DTL-6857 : Wrap in BorderPane should be available and should wrap single selection in its CENTER ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBar.fxml ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.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/util/ContextMenuController.java Changeset: 423d35dc625c Author: slions Date: 2014-09-05 13:56 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/423d35dc625c [SCENEBUILDER] Fix DTL-6857 : Wrap in BorderPane should be available and should wrap single selection in its CENTER + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInBorderPaneJob.java Changeset: 50056378d2d3 Author: Jerome Cambon Date: 2014-09-05 16:31 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/50056378d2d3 [SCENEBUILDER] Fixed Warnings (unused imports) reported by Eclipse. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/FixToggleGroupIntrinsicReferenceJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ObjectDeleter.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/driver/handles/AbstractCurveHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/handles/TreeTableColumnHandles.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/driver/tring/TreeTableColumnTring.java Changeset: e9b4c69a744f Author: kcr Date: 2014-09-05 10:02 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e9b4c69a744f Automated merge with http://hg.openjdk.java.net/openjfx/8u/rt - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/CompositeJob2.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustAllToggleGroupJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/togglegroup/AdjustToggleGroupJob.java - apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/v2/CompositeJob.java Changeset: 1d08d9490df0 Author: Daniel Blaukopf Date: 2014-09-08 10:51 +0300 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/1d08d9490df0 RT-38393 [Monocle] Mouse Events stop coming on embedded Fixes in modules/graphics/src/main/java/com/sun/glass/ui/monocle/ contributed by fheidric ! modules/graphics/src/main/java/com/sun/glass/ui/monocle/LinuxInputDeviceRegistry.java ! modules/graphics/src/main/java/com/sun/glass/ui/monocle/LinuxStatefulMultiTouchProcessor.java ! tests/system/src/test/java/com/sun/glass/ui/monocle/MultiTouch2Test.java ! tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice1.java ! tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice2.java + tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice3.java + tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice4.java + tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDeviceBase.java ! tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/TestTouchDevices.java From chien.yang at oracle.com Mon Sep 8 22:41:49 2014 From: chien.yang at oracle.com (chien.yang at oracle.com) Date: Mon, 08 Sep 2014 22:41:49 +0000 Subject: hg: openjfx/8u-dev/rt: Fix to RT-38555: Shader compile failure with PickTest3D on i.MX6 Message-ID: <201409082241.s88MfnYf005822@aojmv0008> Changeset: 3abef7f2f13f Author: Chien Yang Date: 2014-09-08 15:47 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/3abef7f2f13f Fix to RT-38555: Shader compile failure with PickTest3D on i.MX6 Reviewed by kcr ! modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java From james.graham at oracle.com Mon Sep 8 22:58:22 2014 From: james.graham at oracle.com (james.graham at oracle.com) Date: Mon, 08 Sep 2014 22:58:22 +0000 Subject: hg: openjfx/8u-dev/rt: Fix RT-36205: Resource warnings while printing Message-ID: <201409082258.s88MwMvc008609@aojmv0008> Changeset: 65b4034a7da1 Author: flar Date: 2014-09-08 15:58 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/65b4034a7da1 Fix RT-36205: Resource warnings while printing Reviewed by: kcr, prr ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PresentingPainter.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/UploadingPainter.java ! modules/graphics/src/main/java/com/sun/prism/impl/BaseResourcePool.java ! modules/graphics/src/main/java/com/sun/prism/impl/ManagedResource.java ! modules/graphics/src/main/java/com/sun/prism/impl/ResourcePool.java ! modules/graphics/src/main/java/com/sun/prism/j2d/print/J2DPrinterJob.java From chien.yang at oracle.com Mon Sep 8 23:57:13 2014 From: chien.yang at oracle.com (chien.yang at oracle.com) Date: Mon, 08 Sep 2014 23:57:13 +0000 Subject: hg: openjfx/8u-dev/rt: Redo fix to RT-38555: Shader compile failure with PickTest3D on i.MX6 Message-ID: <201409082357.s88NvDdr019646@aojmv0008> Changeset: d7ac4b8e6371 Author: Chien Yang Date: 2014-09-08 16:57 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d7ac4b8e6371 Redo fix to RT-38555: Shader compile failure with PickTest3D on i.MX6 Reviewed by kcr ! modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java From krueger at lesspain.de Tue Sep 9 06:32:58 2014 From: krueger at lesspain.de (=?UTF-8?Q?Robert_Kr=C3=BCger?=) Date: Tue, 9 Sep 2014 08:32:58 +0200 Subject: Tagging UI control In-Reply-To: <540E2089.7040100@oracle.com> References: <540E2089.7040100@oracle.com> Message-ID: Thanks everyone for your suggestions. I will probably start playing around with the TextFlow approach as I have to make another similar control for variable substitution in a text that needs typing to be possible in multiple places and I may be able to implement both using one approach. On Mon, Sep 8, 2014 at 11:32 PM, Jonathan Giles wrote: > ControlsFX has a CustomTextField component that allows for nodes to be > placed on the left / right of a normal TextField, without overlapping the > text. I would probably use that internally along with some custom code to > render the individual tags in an HBox on the left. > > -- Jonathan > > > On 8/09/2014 8:02 p.m., Robert Kr?ger wrote: >> >> Hi, >> >> how would one go about implementing (i.e. use which api) a tagging >> control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX >> or is this already available in an existing extension library? >> >> Is this easily done with a bit of text parsing and CSS magic or as >> fiddely as building a rich text editor or does it even make sense to >> build this by integrating a web component and using an existing >> javascript-based solution (which feels a bit odd)? >> >> Thanks in advance for any opinions/pointers. >> >> Robert > > -- Robert Kr?ger Managing Partner Lesspain GmbH & Co. KG www.lesspain-software.com From martin.sladecek at oracle.com Tue Sep 9 06:38:10 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Tue, 09 Sep 2014 06:38:10 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38288 [DatePicker] Does not change to new selected value if modal window is shown in DatePicker-action Message-ID: <201409090638.s896cAGd021537@aojmv0008> Changeset: 965623d2f60c Author: Martin Sladecek Date: 2014-09-09 08:38 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/965623d2f60c RT-38288 [DatePicker] Does not change to new selected value if modal window is shown in DatePicker-action Reviewed by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ColorPickerSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/DatePickerSkin.java ! modules/controls/src/main/java/javafx/scene/control/ColorPicker.java ! modules/controls/src/main/java/javafx/scene/control/ComboBoxBase.java ! modules/controls/src/test/java/javafx/scene/control/ComboBoxTest.java From sandra.lions-piron at oracle.com Tue Sep 9 06:51:01 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Tue, 09 Sep 2014 06:51:01 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6860 : Copy / Paste is broken Message-ID: <201409090651.s896p14G023367@aojmv0008> Changeset: 15709eaf63bb Author: slions Date: 2014-09-09 08:51 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/15709eaf63bb [SCENEBUILDER] Fix DTL-6860 : Copy / Paste is broken ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/CutSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InlineDocumentJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InlineSelectionJob.java From sandra.lions-piron at oracle.com Tue Sep 9 06:57:59 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Tue, 09 Sep 2014 06:57:59 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6862 : Arrange commands used with multi-selection have degraded since 1.1 Message-ID: <201409090657.s896vxqm024278@aojmv0008> Changeset: 41a343a71f48 Author: slions Date: 2014-09-09 08:58 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/41a343a71f48 [SCENEBUILDER] Fix DTL-6862 : Arrange commands used with multi-selection have degraded since 1.1 ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendBackwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendToBackJob.java From martin.sladecek at oracle.com Tue Sep 9 07:01:49 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Tue, 09 Sep 2014 07:01:49 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38448 [TextArea] Text scrolled and initial position of scrollbar moved from top (8u20) to bottom (8u40) Message-ID: <201409090701.s8971oK1025147@aojmv0008> Changeset: 0332535f0cb2 Author: Martin Sladecek Date: 2014-09-09 09:01 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/0332535f0cb2 RT-38448 [TextArea] Text scrolled and initial position of scrollbar moved from top (8u20) to bottom (8u40) Reviewed by: jgiles ! modules/controls/src/main/java/javafx/scene/control/TextFormatter.java ! modules/controls/src/main/java/javafx/scene/control/TextInputControl.java ! modules/controls/src/test/java/javafx/scene/control/TextInputControlTest.java From martin.sladecek at oracle.com Tue Sep 9 07:03:33 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Tue, 09 Sep 2014 07:03:33 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38490 [TabPane] The tab disappeared after the index changed Message-ID: <201409090703.s8973XA8025613@aojmv0008> Changeset: ac98aaa7adc6 Author: Martin Sladecek Date: 2014-09-09 09:03 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ac98aaa7adc6 RT-38490 [TabPane] The tab disappeared after the index changed Reviewed by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.java From martin.sladecek at oracle.com Tue Sep 9 07:05:05 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Tue, 09 Sep 2014 07:05:05 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38507 [Regression] Animation in Progress Bar is out of place Message-ID: <201409090705.s89755J4025898@aojmv0008> Changeset: 556c2af030c1 Author: Martin Sladecek Date: 2014-09-09 09:05 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/556c2af030c1 RT-38507 [Regression] Animation in Progress Bar is out of place Reviewed by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ProgressBarSkin.java From martin.sladecek at oracle.com Tue Sep 9 07:06:52 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Tue, 09 Sep 2014 07:06:52 +0000 Subject: hg: openjfx/8u-dev/rt: RT-37715 [Chart] HelloStackedAreaChart has a missing symbol Message-ID: <201409090706.s8976rZT026180@aojmv0008> Changeset: d94bd6d65452 Author: Martin Sladecek Date: 2014-09-09 09:06 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d94bd6d65452 RT-37715 [Chart] HelloStackedAreaChart has a missing symbol Reviewed by: jgiles ! modules/controls/src/main/java/javafx/scene/chart/StackedAreaChart.java From martin.sladecek at oracle.com Tue Sep 9 07:07:49 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Tue, 09 Sep 2014 07:07:49 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38458 [Charts] Strange for loop in javafx.scence.chart.Axis Message-ID: <201409090707.s8977nPc026361@aojmv0008> Changeset: f5a981fe054b Author: Martin Sladecek Date: 2014-09-09 09:07 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/f5a981fe054b RT-38458 [Charts] Strange for loop in javafx.scence.chart.Axis Reviewed by: jgiles ! modules/controls/src/main/java/javafx/scene/chart/Axis.java From sandra.lions-piron at oracle.com Tue Sep 9 07:37:04 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Tue, 09 Sep 2014 07:37:04 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Partial fix for DTL-6779 : Wrap in and Unwrap commands should be available for DialogPane Message-ID: <201409090737.s897b4oZ000725@aojmv0008> Changeset: 359d7111ad78 Author: slions Date: 2014-09-09 09:36 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/359d7111ad78 [SCENEBUILDER] Partial fix for DTL-6779 : Wrap in and Unwrap commands should be available for DialogPane Add wrap in DialogPane command ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBar.fxml ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.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/UnwrapJob.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/WrapJobUtils.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/util/ContextMenuController.java From eric.le.ponner at oracle.com Tue Sep 9 08:24:29 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Tue, 09 Sep 2014 08:24:29 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6790 (Add Zoom In (CMD +) and Zoom Out (CMD -) to Menubar > View > Zoom). Message-ID: <201409090824.s898OTcd008236@aojmv0008> Changeset: 2e40d9c0d7e4 Author: Eric Le Ponner Date: 2014-09-09 10:24 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2e40d9c0d7e4 [SCENEBUILDER] Fix for DTL-6790 (Add Zoom In (CMD +) and Zoom Out (CMD -) to Menubar > View > Zoom). ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/i18n/SceneBuilderApp.properties ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java From eric.le.ponner at oracle.com Tue Sep 9 09:00:38 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Tue, 09 Sep 2014 09:00:38 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Additional fix for DTL-6790 (Add Zoom In (CMD +) and Zoom Out (CMD -) to Menubar > View > Zoom). Message-ID: <201409090900.s8990cMp014253@aojmv0008> Changeset: d62cb8404b84 Author: Eric Le Ponner Date: 2014-09-09 11:01 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d62cb8404b84 [SCENEBUILDER] Additional fix for DTL-6790 (Add Zoom In (CMD +) and Zoom Out (CMD -) to Menubar > View > Zoom). Replaced CMD/- by CMD/SHIFT/- (because of RT-37805). ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java From anthony.petrov at oracle.com Tue Sep 9 12:28:22 2014 From: anthony.petrov at oracle.com (Anthony Petrov) Date: Tue, 09 Sep 2014 16:28:22 +0400 Subject: [8u40] Review request: RT-38397: Mac: Application processes termination prematurely when a nested event loop is running Message-ID: <540EF266.8060509@oracle.com> Kevin, Steve, Please review the fix: https://javafx-jira.kenai.com/browse/RT-38397 -- best regards, Anthony From anthony.petrov at oracle.com Tue Sep 9 13:41:55 2014 From: anthony.petrov at oracle.com (anthony.petrov at oracle.com) Date: Tue, 09 Sep 2014 13:41:55 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38397: Mac: Application processes termination prematurely when a nested event loop is running Message-ID: <201409091341.s89DftnH004739@aojmv0008> Changeset: 926c9f860016 Author: Anthony Petrov Date: 2014-09-09 17:41 +0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/926c9f860016 RT-38397: Mac: Application processes termination prematurely when a nested event loop is running Summary: Register the full screen exiting loop at Java level Reviewed-by: kcr, snorthov ! modules/graphics/src/main/native-glass/mac/GlassApplication.m ! modules/graphics/src/main/native-glass/mac/GlassStatics.h From anthony.petrov at oracle.com Tue Sep 9 13:51:17 2014 From: anthony.petrov at oracle.com (Anthony Petrov) Date: Tue, 09 Sep 2014 17:51:17 +0400 Subject: Unsubscribing In-Reply-To: References: Message-ID: <540F05D5.8050504@oracle.com> Hi Kevin, I recall I've suggested to introduce a separate mailing list for hg notifications instead of sending them to openjfx-dev at . And it looks like subscribers don't want to receive these notifications, too. What is the current progress on this change? -- best regards, Anthony On 9/9/2014 5:46 PM, Victor Grazi wrote: > Hi Anthony > Sorry to bother you, but do you know how I unsubscribe to these open JFK > JavaFX checkin alerts? > Thanks > Victor > > > -- > InfoQ Java Queue Lead Editor > Twitter: @vgrazi > LinkedIn: www.linkedin.com/in/victorgrazi/ > > Java Concurrent Animated: http://sourceforge.net/projects/javaconcurrenta/ > Skype: vgrazi2 > Google Plus > From eric.le.ponner at oracle.com Tue Sep 9 13:54:48 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Tue, 09 Sep 2014 13:54:48 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Content panel now uses SubScene (DTL-6797). Message-ID: <201409091354.s89DsnFW008669@aojmv0008> Changeset: 86b0f5599fad Author: Eric Le Ponner Date: 2014-09-09 15:55 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/86b0f5599fad [SCENEBUILDER] Content panel now uses SubScene (DTL-6797). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/AbstractDecoration.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/ContentPanel.fxml ! 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/WorkspaceController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/Deprecation.java From martin.sladecek at oracle.com Tue Sep 9 13:58:10 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Tue, 09 Sep 2014 13:58:10 +0000 Subject: hg: openjfx/8u-dev/rt: TabPaneSkin: reverted accidental change in imports (from c98aaa7adc6) Message-ID: <201409091358.s89DwAwA009028@aojmv0008> Changeset: 0f7bad358c85 Author: Martin Sladecek Date: 2014-09-09 15:57 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/0f7bad358c85 TabPaneSkin: reverted accidental change in imports (from c98aaa7adc6) ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.java From kevin.rushforth at oracle.com Tue Sep 9 14:11:37 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Tue, 09 Sep 2014 07:11:37 -0700 Subject: Unsubscribing In-Reply-To: <540F05D5.8050504@oracle.com> References: <540F05D5.8050504@oracle.com> Message-ID: <540F0A99.3000602@oracle.com> Oh, right. I still need to request the new alias. I will look into it this week. -- Kevin Anthony Petrov wrote: > Hi Kevin, > > I recall I've suggested to introduce a separate mailing list for hg > notifications instead of sending them to openjfx-dev at . And it looks > like subscribers don't want to receive these notifications, too. > > What is the current progress on this change? > > -- > best regards, > Anthony > > On 9/9/2014 5:46 PM, Victor Grazi wrote: >> Hi Anthony >> Sorry to bother you, but do you know how I unsubscribe to these open JFK >> JavaFX checkin alerts? >> Thanks >> Victor >> >> >> -- >> InfoQ Java Queue Lead Editor >> Twitter: @vgrazi >> LinkedIn: www.linkedin.com/in/victorgrazi/ >> >> Java Concurrent Animated: >> http://sourceforge.net/projects/javaconcurrenta/ >> Skype: vgrazi2 >> Google Plus >> From eric.le.ponner at oracle.com Tue Sep 9 14:21:48 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Tue, 09 Sep 2014 14:21:48 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] UpdateReferencesJob should not invoke Selection.beginUpdate()/endUpdate(). Message-ID: <201409091421.s89ELnIB013817@aojmv0008> Changeset: aaf6fe8865fc Author: Eric Le Ponner Date: 2014-09-09 16:22 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/aaf6fe8865fc [SCENEBUILDER] UpdateReferencesJob should not invoke Selection.beginUpdate()/endUpdate(). Only subjobs that actually change the selection should do that. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java From danno.ferrin at oracle.com Tue Sep 9 14:23:32 2014 From: danno.ferrin at oracle.com (Danno Ferrin) Date: Tue, 9 Sep 2014 08:23:32 -0600 Subject: Review for JDK-8043060 - First Impl for JEP-208 Packager Imrpovments Message-ID: <52218D1B-3AE5-4018-8CF7-803EDB28760E@oracle.com> Kevin, Steve, Please review this first implementation of the features for JEP-208, tracked on bugs.openjdk.java.net as JDK-8043060. There are some changes to the build support classes to support compiling Mac ".mm" files as well as some platform specific flags added tot he platform .gradles in buildSrc, so a +1 (or directions for improvement) from the build masters would be appreciated. WebRev: http://cr.openjdk.java.net/~shemnon/JDK-8043060/webrev.00/ JIRA: https://bugs.openjdk.java.net/browse/JDK-8043060 This patch also encompasses the following OpenJFX JIRAs (all linked in the jep), although the discussion for this webrev should be in the JDK-8043060 bug. RT-23918 - Native bundles: add support to create file association RT-28833 - Single source native launcher RT-35388 - JavaFX Packager's launcher only works with JDK not JRE RT-36118 - Support multiple entry points in native installer RT-37766 - [packager] Respect command line arguments in self contained applications RT-37767 - [packager] Provide friendly APIs to access User JVM Preferences RT-37769 - [packager] Simple DMG Generation From anthony.petrov at oracle.com Tue Sep 9 14:41:27 2014 From: anthony.petrov at oracle.com (Anthony Petrov) Date: Tue, 09 Sep 2014 18:41:27 +0400 Subject: Unsubscribing In-Reply-To: <540F0A99.3000602@oracle.com> References: <540F05D5.8050504@oracle.com> <540F0A99.3000602@oracle.com> Message-ID: <540F1197.7030604@oracle.com> Thanks. -- best regards, Anthony On 9/9/2014 6:11 PM, Kevin Rushforth wrote: > Oh, right. I still need to request the new alias. I will look into it > this week. > > -- Kevin > > > Anthony Petrov wrote: >> Hi Kevin, >> >> I recall I've suggested to introduce a separate mailing list for hg >> notifications instead of sending them to openjfx-dev at . And it looks >> like subscribers don't want to receive these notifications, too. >> >> What is the current progress on this change? >> >> -- >> best regards, >> Anthony >> >> On 9/9/2014 5:46 PM, Victor Grazi wrote: >>> Hi Anthony >>> Sorry to bother you, but do you know how I unsubscribe to these open JFK >>> JavaFX checkin alerts? >>> Thanks >>> Victor >>> >>> >>> -- >>> InfoQ Java Queue Lead Editor >>> Twitter: @vgrazi >>> LinkedIn: www.linkedin.com/in/victorgrazi/ >>> >>> Java Concurrent Animated: >>> http://sourceforge.net/projects/javaconcurrenta/ >>> Skype: vgrazi2 >>> Google Plus >>> From eric.le.ponner at oracle.com Tue Sep 9 15:22:01 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Tue, 09 Sep 2014 15:22:01 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6641 (Remove workaround for DTL-6628). Message-ID: <201409091522.s89FM11o025329@aojmv0008> Changeset: a64315959187 Author: Eric Le Ponner Date: 2014-09-09 17:22 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a64315959187 [SCENEBUILDER] Fix for DTL-6641 (Remove workaround for DTL-6628). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/AbstractDecoration.java From jerome.cambon at oracle.com Tue Sep 9 16:14:56 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Tue, 09 Sep 2014 16:14:56 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6852: Add a new inspector editor for DialogPane.buttonTypes property Message-ID: <201409091614.s89GEu2H007308@aojmv0008> Changeset: 6c32f6e8aa55 Author: Jerome Cambon Date: 2014-09-09 18:17 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6c32f6e8aa55 [SCENEBUILDER] Fix for DTL-6852: Add a new inspector editor for DialogPane.buttonTypes property ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/BooleanEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ColumnResizePolicyEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DividerPositionsEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DoubleEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/EditorItem.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/EditorUtils.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/EventHandlerEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/GenericEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/I18nStringEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/InlineListEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/InsetsEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/IntegerEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/Point3DEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/RotateEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StringEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StyleClassEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StyleEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StylesheetEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/FontPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/Rectangle2DPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java From jerome.cambon at oracle.com Tue Sep 9 16:52:53 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Tue, 09 Sep 2014 16:52:53 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6852 (cont'd) : added missing (new) files Message-ID: <201409091652.s89GqsEx013596@aojmv0008> Changeset: 943cc8e0479b Author: Jerome Cambon Date: 2014-09-09 18:55 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/943cc8e0479b [SCENEBUILDER] Fix for DTL-6852 (cont'd) : added missing (new) files + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ButtonTypeEditor.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ButtonTypeEditorItem.fxml + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/property/value/ButtonTypePropertyMetadata.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/property/value/list/ButtonTypeListPropertyMetadata.java From danno.ferrin at oracle.com Tue Sep 9 17:43:33 2014 From: danno.ferrin at oracle.com (Danno Ferrin) Date: Tue, 9 Sep 2014 11:43:33 -0600 Subject: [8u40] Review of JEP-208 / RT-38576 - Java Packager Improvements Message-ID: <69902CD9-C031-4948-97C5-E09335E35BB8@oracle.com> Kevin, Stephen: Please review. There is a new bug ID for previous reviews, discuss it on the javafx-jira site instead of on the JEP bug. Also a windows build tpyo was fixed, other than that the webrev is teh same. Child bugs linked in the umbrella bug. JIRA: https://javafx-jira.kenai.com/browse/RT-38567 WebRev: http://cr.openjdk.java.net/~shemnon/RT-38567/webrev.00/ From eric.le.ponner at oracle.com Tue Sep 9 18:15:50 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Tue, 09 Sep 2014 18:15:50 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Removed dead variables form UpdateReferencesJob to fix DLS_DEAD_LOCAL_STORE warning from FindBugs. Message-ID: <201409091815.s89IFpj3027221@aojmv0008> Changeset: 31ebc23af41d Author: Eric Le Ponner Date: 2014-09-09 20:15 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/31ebc23af41d [SCENEBUILDER] Removed dead variables form UpdateReferencesJob to fix DLS_DEAD_LOCAL_STORE warning from FindBugs. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java From adanecito at yahoo.com Tue Sep 9 18:59:04 2014 From: adanecito at yahoo.com (Tony Anecito) Date: Tue, 9 Sep 2014 11:59:04 -0700 Subject: IOS support? Message-ID: <1410289144.80962.YahooMailNeo@web121806.mail.ne1.yahoo.com> Hi All, Does someone plan to support Java on IOS? Be great with the inroads openjfx has made with Apple to get java running on IOS so developers do not have to use ObjectiveC. Perhaps someone has a swing/jfx jvm running on IOS or something close to supporting both? Thanks! -Tony From danno.ferrin at oracle.com Tue Sep 9 20:10:49 2014 From: danno.ferrin at oracle.com (Danno Ferrin) Date: Tue, 9 Sep 2014 14:10:49 -0600 Subject: IOS support? In-Reply-To: <1410289144.80962.YahooMailNeo@web121806.mail.ne1.yahoo.com> References: <1410289144.80962.YahooMailNeo@web121806.mail.ne1.yahoo.com> Message-ID: <4EA74AF9-576F-4698-9AC6-33D41756ABC4@oracle.com> There's a JavaOne session for that: Java on iOS? Yes, You Can! [CON3698] ? Henric M?ller - CEO, Trillian Mobile AB ? Niklas Therning - Head Geek, RoboVM / Trillian Mobile AB Tuesday, Sep 30, 11:00 AM - 12:00 PM - Hilton - Yosemite B/C https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3698 On Sep 9, 2014, at 12:59 PM, Tony Anecito wrote: > Hi All, > Does someone plan to support Java on IOS? Be great with the inroads openjfx has made with Apple to get java running on IOS so developers do not have to use ObjectiveC. > > Perhaps someone has a swing/jfx jvm running on IOS or something close to supporting both? > > Thanks! > -Tony From david.grieve at oracle.com Tue Sep 9 20:31:12 2014 From: david.grieve at oracle.com (David Grieve) Date: Tue, 09 Sep 2014 16:31:12 -0400 Subject: [8u40] Review Request: (RT-38395) [CSS] Add ability to resolve the URL given with an @import statement relative to the FX runtime Message-ID: <540F6390.2030909@oracle.com> Kevin, Steve, Please review https://javafx-jira.kenai.com/browse/RT-38395 http://cr.openjdk.java.net/~dgrieve/RT-38395/webrev.00/ Thanks. From adanecito at yahoo.com Tue Sep 9 20:50:18 2014 From: adanecito at yahoo.com (Tony Anecito) Date: Tue, 9 Sep 2014 13:50:18 -0700 Subject: IOS support? In-Reply-To: <4EA74AF9-576F-4698-9AC6-33D41756ABC4@oracle.com> References: <1410289144.80962.YahooMailNeo@web121806.mail.ne1.yahoo.com> <4EA74AF9-576F-4698-9AC6-33D41756ABC4@oracle.com> Message-ID: <1410295818.3496.YahooMailNeo@web121803.mail.ne1.yahoo.com> Thanks Danno I have heard of that one. Also, I am looking at codename one have you or anyone else heard about that solution? Best Regards, -Tony On Tuesday, September 9, 2014 2:10 PM, Danno Ferrin wrote: There's a JavaOne session for that: Java on iOS? Yes, You Can! [CON3698] ? Henric M?ller - CEO, Trillian Mobile AB ? Niklas Therning - Head Geek, RoboVM / Trillian Mobile AB Tuesday, Sep 30, 11:00 AM - 12:00 PM - Hilton - Yosemite B/C https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3698 On Sep 9, 2014, at 12:59 PM, Tony Anecito wrote: > Hi All, > Does someone plan to support Java on IOS? Be great with the inroads openjfx has made with Apple to get java running on IOS so developers do not have to use ObjectiveC. > > Perhaps someone has a swing/jfx jvm running on IOS or something close to supporting both? > > Thanks! > -Tony From chien.yang at oracle.com Tue Sep 9 21:55:47 2014 From: chien.yang at oracle.com (chien.yang at oracle.com) Date: Tue, 09 Sep 2014 21:55:47 +0000 Subject: hg: openjfx/8u-dev/rt: Fix to RT-38576: Windows: Compiler error reported when using parfait (clang++) Message-ID: <201409092155.s89LtmMo005020@aojmv0008> Changeset: e3db801977ca Author: Chien Yang Date: 2014-09-09 14:55 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e3db801977ca Fix to RT-38576: Windows: Compiler error reported when using parfait (clang++) Reviewed by kcr ! modules/graphics/src/main/native-prism-d3d/D3DResourceFactory.cc From chris.bensen at oracle.com Tue Sep 9 22:38:08 2014 From: chris.bensen at oracle.com (Chris Bensen) Date: Tue, 9 Sep 2014 15:38:08 -0700 Subject: IOS support? In-Reply-To: <1410295818.3496.YahooMailNeo@web121803.mail.ne1.yahoo.com> References: <1410289144.80962.YahooMailNeo@web121806.mail.ne1.yahoo.com> <4EA74AF9-576F-4698-9AC6-33D41756ABC4@oracle.com> <1410295818.3496.YahooMailNeo@web121803.mail.ne1.yahoo.com> Message-ID: <2AE5276A-572C-44EA-B6E4-C4DAFB18E219@oracle.com> I know of a couple people that have dabbled with codename one. I think he liked it, but he didn?t like working in Objective-C. Chris On Sep 9, 2014, at 1:50 PM, Tony Anecito wrote: > Thanks Danno I have heard of that one. Also, I am looking at codename one have you or anyone else heard about that solution? > > Best Regards, > -Tony > > > > On Tuesday, September 9, 2014 2:10 PM, Danno Ferrin wrote: > > > > There's a JavaOne session for that: > > Java on iOS? Yes, You Can! [CON3698] > ? Henric M?ller - CEO, Trillian Mobile AB > ? Niklas Therning - Head Geek, RoboVM / Trillian Mobile AB > Tuesday, Sep 30, 11:00 AM - 12:00 PM - Hilton - Yosemite B/C > > https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3698 > > > On Sep 9, 2014, at 12:59 PM, Tony Anecito wrote: > >> Hi All, >> Does someone plan to support Java on IOS? Be great with the inroads openjfx has made with Apple to get java running on IOS so developers do not have to use ObjectiveC. >> >> Perhaps someone has a swing/jfx jvm running on IOS or something close to supporting both? >> >> Thanks! >> -Tony From steve at weblite.ca Tue Sep 9 22:45:16 2014 From: steve at weblite.ca (Steve Hannah) Date: Tue, 9 Sep 2014 15:45:16 -0700 Subject: IOS support? In-Reply-To: <2AE5276A-572C-44EA-B6E4-C4DAFB18E219@oracle.com> References: <1410289144.80962.YahooMailNeo@web121806.mail.ne1.yahoo.com> <4EA74AF9-576F-4698-9AC6-33D41756ABC4@oracle.com> <1410295818.3496.YahooMailNeo@web121803.mail.ne1.yahoo.com> <2AE5276A-572C-44EA-B6E4-C4DAFB18E219@oracle.com> Message-ID: I've been using Codename One for almost two years. I have been quite happy with it for mobile dev projects. It's all Java though.. No Objective-C unless you need to implement a native interface. Its UI API is similar to Swing -- very different than JavaFX. Steve On Tue, Sep 9, 2014 at 3:38 PM, Chris Bensen wrote: > I know of a couple people that have dabbled with codename one. I think he > liked it, but he didn?t like working in Objective-C. > > Chris > > > On Sep 9, 2014, at 1:50 PM, Tony Anecito wrote: > > > Thanks Danno I have heard of that one. Also, I am looking at codename > one have you or anyone else heard about that solution? > > > > Best Regards, > > -Tony > > > > > > > > On Tuesday, September 9, 2014 2:10 PM, Danno Ferrin < > danno.ferrin at oracle.com> wrote: > > > > > > > > There's a JavaOne session for that: > > > > Java on iOS? Yes, You Can! [CON3698] > > ? Henric M?ller - CEO, Trillian Mobile AB > > ? Niklas Therning - Head Geek, RoboVM / Trillian Mobile AB > > Tuesday, Sep 30, 11:00 AM - 12:00 PM - Hilton - Yosemite B/C > > > > > https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3698 > > > > > > On Sep 9, 2014, at 12:59 PM, Tony Anecito wrote: > > > >> Hi All, > >> Does someone plan to support Java on IOS? Be great with the inroads > openjfx has made with Apple to get java running on IOS so developers do not > have to use ObjectiveC. > >> > >> Perhaps someone has a swing/jfx jvm running on IOS or something close > to supporting both? > >> > >> Thanks! > >> -Tony > > -- Steve Hannah Web Lite Solutions Corp. From james.graham at oracle.com Tue Sep 9 22:51:23 2014 From: james.graham at oracle.com (Jim Graham) Date: Tue, 09 Sep 2014 15:51:23 -0700 Subject: 8u40 review request for critical bug: RT-38574 tests deadlocking Message-ID: <540F846B.9000006@oracle.com> webrev: http://cr.openjdk.java.net/~flar/RT-38574/webrev.00/ Jira: https://javafx-jira.kenai.com/browse/RT-38574 ...jim From james.graham at oracle.com Tue Sep 9 23:16:09 2014 From: james.graham at oracle.com (james.graham at oracle.com) Date: Tue, 09 Sep 2014 23:16:09 +0000 Subject: hg: openjfx/8u-dev/rt: Fix RT-38574: Deadlock in Presenting/UploadingPainter if resource factory is null Message-ID: <201409092316.s89NGFJH018254@aojmv0008> Changeset: 2d34d02b27af Author: flar Date: 2014-09-09 16:16 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2d34d02b27af Fix RT-38574: Deadlock in Presenting/UploadingPainter if resource factory is null Reviewed by: kcr ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PresentingPainter.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/UploadingPainter.java From danno.ferrin at shemnon.com Wed Sep 10 00:47:12 2014 From: danno.ferrin at shemnon.com (danno.ferrin at shemnon.com) Date: Wed, 10 Sep 2014 00:47:12 +0000 Subject: hg: openjfx/8u-dev/rt: [test-only] RT-38575: Java FX 8u40 build got stuck because hdiutil is hanging when it receives a message "will sleep received" Message-ID: <201409100047.s8A0lDk4003199@aojmv0008> Changeset: bace5fdce0fe Author: shemnon Date: 2014-09-09 18:46 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/bace5fdce0fe [test-only] RT-38575: Java FX 8u40 build got stuck because hdiutil is hanging when it receives a message "will sleep received" Summary: Only run DMG tests when explicitly requested Reviewed-By: kcr ! build.gradle ! gradle.properties.template ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacDmgBundlerTest.java From jerome.cambon at oracle.com Wed Sep 10 08:45:13 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Wed, 10 Sep 2014 08:45:13 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fixed FindBugs warnings. This also fix DTL-6866: Assertion error when adding ButtonTypes to a DialogPane Message-ID: <201409100845.s8A8jDfL015206@aojmv0008> Changeset: 351df31aa086 Author: Jerome Cambon Date: 2014-09-10 10:47 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/351df31aa086 [SCENEBUILDER] Fixed FindBugs warnings. This also fix DTL-6866: Assertion error when adding ButtonTypes to a DialogPane ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ButtonTypeEditor.java From jerome.cambon at oracle.com Wed Sep 10 09:40:15 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Wed, 10 Sep 2014 09:40:15 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Unused import. Message-ID: <201409100940.s8A9eGQY025137@aojmv0008> Changeset: d02883b88ce5 Author: Jerome Cambon Date: 2014-09-10 11:43 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d02883b88ce5 [SCENEBUILDER] Unused import. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java From anthony.petrov at oracle.com Wed Sep 10 11:46:18 2014 From: anthony.petrov at oracle.com (anthony.petrov at oracle.com) Date: Wed, 10 Sep 2014 11:46:18 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38579: Parfait: Accessibility - JNI primitive type mismatch Message-ID: <201409101146.s8ABkIpq019762@aojmv0008> Changeset: a9f65720edc3 Author: Anthony Petrov Date: 2014-09-10 15:46 +0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a9f65720edc3 RT-38579: Parfait: Accessibility - JNI primitive type mismatch Reviewed-by: snorthov ! modules/graphics/src/main/native-glass/win/GlassAccessible.cpp From martin.sladecek at oracle.com Wed Sep 10 13:13:28 2014 From: martin.sladecek at oracle.com (Martin Sladecek) Date: Wed, 10 Sep 2014 15:13:28 +0200 Subject: [8u40] Review Request: RT-38582 [Transform] transform(Bounds) and inverseTransform(Bounds) produce incorrect results Message-ID: <54104E78.1010809@oracle.com> Hi Jim, Kevin, please review https://javafx-jira.kenai.com/browse/RT-38582 http://cr.openjdk.java.net/~msladecek/rt-38582/webrev.00/ Thanks, -Martin From jerome.cambon at oracle.com Wed Sep 10 14:48:43 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Wed, 10 Sep 2014 14:48:43 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6798: Adapt CSS Analyzer to SubScene implementation Message-ID: <201409101448.s8AEmhD7019244@aojmv0008> Changeset: 99b538fc6dd3 Author: Jerome Cambon Date: 2014-09-10 16:51 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/99b538fc6dd3 [SCENEBUILDER] Fix for DTL-6798: Adapt CSS Analyzer to SubScene implementation ! 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/NodeCssState.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/CssInternal.java From eric.le.ponner at oracle.com Wed Sep 10 15:10:36 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Wed, 10 Sep 2014 15:10:36 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409101510.s8AFAaoW024096@aojmv0008> Changeset: d8c7120ab268 Author: Eric Le Ponner Date: 2014-09-10 12:02 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d8c7120ab268 [SCENEBUILDER] Fix for DTL-6837 (NPE when using X or Y rotationAxis). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/ContentPanelController.java Changeset: c9450b73265d Author: Eric Le Ponner Date: 2014-09-10 17:11 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/c9450b73265d [SCENEBUILDER] Merge (no conflict). From hang.vo at oracle.com Wed Sep 10 15:29:20 2014 From: hang.vo at oracle.com (hang.vo at oracle.com) Date: Wed, 10 Sep 2014 15:29:20 +0000 Subject: hg: openjfx/8u/rt: Added tag 8u40-b05 for changeset 1d08d9490df0 Message-ID: <201409101529.s8AFTLnS026968@aojmv0008> Changeset: b2acb41b44b1 Author: hudson Date: 2014-09-10 08:28 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b2acb41b44b1 Added tag 8u40-b05 for changeset 1d08d9490df0 ! .hgtags From anton.tarasov at oracle.com Wed Sep 10 16:57:14 2014 From: anton.tarasov at oracle.com (anton.tarasov at oracle.com) Date: Wed, 10 Sep 2014 16:57:14 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38290: [WebView] HTML canvas clip() functionality broken Message-ID: <201409101657.s8AGvEjL011812@aojmv0008> Changeset: 114951fd1301 Author: ant Date: 2014-09-10 20:35 +0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/114951fd1301 RT-38290: [WebView] HTML canvas clip() functionality broken Reviewed-by: ant, peterz Contributed by: anashaty ! modules/web/src/main/java/com/sun/javafx/sg/prism/NGWebView.java ! modules/web/src/main/java/com/sun/javafx/webkit/prism/WCGraphicsPrismContext.java ! modules/web/src/main/java/com/sun/webkit/WebPage.java ! modules/web/src/main/java/com/sun/webkit/graphics/WCGraphicsContext.java ! modules/web/src/main/java/com/sun/webkit/graphics/WCRenderQueue.java ! modules/web/src/main/java/com/sun/webkit/perf/WCGraphicsPerfLogger.java From vgrazi at gmail.com Wed Sep 10 17:20:07 2014 From: vgrazi at gmail.com (Victor Grazi) Date: Wed, 10 Sep 2014 13:20:07 -0400 Subject: Rotate a label Message-ID: In JavaFX 8, is it possible to rotate the text in a label so that instead of left to right it reads bottom to top? I.e., to rotate the entire label 90? counterclockwise From danno.ferrin at shemnon.com Wed Sep 10 17:31:53 2014 From: danno.ferrin at shemnon.com (danno.ferrin at shemnon.com) Date: Wed, 10 Sep 2014 17:31:53 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38567: Umbrella for Changes for JEP-208 - Java Packager Improvements Message-ID: <201409101731.s8AHVstE017774@aojmv0008> Changeset: 8335da240a33 Author: shemnon Date: 2014-09-10 11:31 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8335da240a33 RT-38567: Umbrella for Changes for JEP-208 - Java Packager Improvements Reviewed-By: kcr Summary: Initial implementation for JEP-208, including work for RT-35388, RT-37766, RT-37767, RT-36118, RT-28833, RT-34187, RT-23918, RT-37769 which are all subtasks of the JEP. ! .hgignore ! build.gradle ! buildSrc/linux.gradle ! buildSrc/mac.gradle ! buildSrc/src/main/groovy/com/sun/javafx/gradle/CCTask.groovy ! buildSrc/win.gradle ! modules/fxpackager/src/main/java/com/oracle/tools/packager/StandardBundlerParam.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxAppBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxDebBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxRpmBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacAppBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinAppBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinExeBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinMsiBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WindowsBundlerParam.java ! modules/fxpackager/src/main/java/com/sun/javafx/tools/ant/DeployFXTask.java + modules/fxpackager/src/main/java/com/sun/javafx/tools/ant/FileAssociation.java ! modules/fxpackager/src/main/java/com/sun/javafx/tools/ant/Info.java + modules/fxpackager/src/main/java/com/sun/javafx/tools/ant/SecondaryLauncher.java ! modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/DeployParams.java ! modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/bundlers/BundleParams.java + modules/fxpackager/src/main/java/jdk/packager/services/UserJvmOptionsService.java + modules/fxpackager/src/main/java/jdk/packager/services/userjvmoptions/LauncherUserJvmOptions.java + modules/fxpackager/src/main/java/jdk/packager/services/userjvmoptions/PreferencesUserJvmOptions.java ! modules/fxpackager/src/main/native/javapackager/win/javapackager.cpp - modules/fxpackager/src/main/native/launcher/linux/DeployPlatform.h - modules/fxpackager/src/main/native/launcher/linux/launcher.c + modules/fxpackager/src/main/native/launcher/linux/launcher.cpp + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/.dep.inc + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/Makefile + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Makefile-Debug.mk + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Makefile-Release.mk + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Makefile-impl.mk + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Makefile-variables.mk + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Package-Debug.bash + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Package-Release.bash + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/configurations.xml + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/project.xml - modules/fxpackager/src/main/native/launcher/linux/xmlparser.c - modules/fxpackager/src/main/native/launcher/linux/xmlparser.h ! modules/fxpackager/src/main/native/launcher/mac/main.m + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher.xcodeproj/project.pbxproj + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher.xcodeproj/project.xcworkspace/contents.xcworkspacedata + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/AppDelegate.h + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/AppDelegate.m + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/Base.lproj/MainMenu.xib + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/Images.xcassets/AppIcon.appiconset/Contents.json + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/en.lproj/Credits.rtf + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/en.lproj/InfoPlist.strings + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/testlauncher-Info.plist + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/testlauncher-Prefix.pch + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncherTests/en.lproj/InfoPlist.strings + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncherTests/testlauncherTests-Info.plist + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncherTests/testlauncherTests.m - modules/fxpackager/src/main/native/launcher/win/IconSwap.cpp ! modules/fxpackager/src/main/native/launcher/win/WinLauncher.cpp - modules/fxpackager/src/main/native/launcher/win/WinLauncherSvc.cpp + modules/fxpackager/src/main/native/library/common/Exports.cpp + modules/fxpackager/src/main/native/library/common/Exports.h + modules/fxpackager/src/main/native/library/common/FilePath.cpp + modules/fxpackager/src/main/native/library/common/FilePath.h + modules/fxpackager/src/main/native/library/common/GenericPlatform.cpp + modules/fxpackager/src/main/native/library/common/GenericPlatform.h + modules/fxpackager/src/main/native/library/common/Helpers.cpp + modules/fxpackager/src/main/native/library/common/Helpers.h + modules/fxpackager/src/main/native/library/common/Java.cpp + modules/fxpackager/src/main/native/library/common/Java.h + modules/fxpackager/src/main/native/library/common/JavaUserPreferences.cpp + modules/fxpackager/src/main/native/library/common/JavaUserPreferences.h + modules/fxpackager/src/main/native/library/common/JavaVirtualMachine.cpp + modules/fxpackager/src/main/native/library/common/JavaVirtualMachine.h + modules/fxpackager/src/main/native/library/common/LinuxPlatform.cpp + modules/fxpackager/src/main/native/library/common/LinuxPlatform.h + modules/fxpackager/src/main/native/library/common/Lock.cpp + modules/fxpackager/src/main/native/library/common/Lock.h + modules/fxpackager/src/main/native/library/common/MacPlatform.h + modules/fxpackager/src/main/native/library/common/MacPlatform.mm + modules/fxpackager/src/main/native/library/common/Macros.cpp + modules/fxpackager/src/main/native/library/common/Macros.h + modules/fxpackager/src/main/native/library/common/Messages.cpp + modules/fxpackager/src/main/native/library/common/Messages.h + modules/fxpackager/src/main/native/library/common/Package.cpp + modules/fxpackager/src/main/native/library/common/Package.h + modules/fxpackager/src/main/native/library/common/Platform.cpp + modules/fxpackager/src/main/native/library/common/Platform.h + modules/fxpackager/src/main/native/library/common/PlatformString.cpp + modules/fxpackager/src/main/native/library/common/PlatformString.h + modules/fxpackager/src/main/native/library/common/PlatformThread.cpp + modules/fxpackager/src/main/native/library/common/PlatformThread.h + modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp + modules/fxpackager/src/main/native/library/common/PosixPlatform.h + modules/fxpackager/src/main/native/library/common/PropertyFile.cpp + modules/fxpackager/src/main/native/library/common/PropertyFile.h + modules/fxpackager/src/main/native/library/common/WindowsPlatform.cpp + modules/fxpackager/src/main/native/library/common/WindowsPlatform.h + modules/fxpackager/src/main/native/library/common/main.cpp + modules/fxpackager/src/main/native/service/win/WinLauncherSvc.cpp + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/.dep.inc + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/Makefile + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Makefile-Debug.mk + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Makefile-Release.mk + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Makefile-impl.mk + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Makefile-variables.mk + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Package-Debug.bash + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Package-Release.bash + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/configurations.xml + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/project.xml + modules/fxpackager/src/main/native/tests/linux/library/packager/.dep.inc + modules/fxpackager/src/main/native/tests/linux/library/packager/Makefile + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Makefile-Debug.mk + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Makefile-Release.mk + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Makefile-impl.mk + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Makefile-variables.mk + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Package-Debug.bash + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Package-Release.bash + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/configurations.xml + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/project.xml + modules/fxpackager/src/main/native/tests/mac/launcher/launcher.xcodeproj/project.pbxproj + modules/fxpackager/src/main/native/tests/mac/launcher/launcher/launcher-Info.plist + modules/fxpackager/src/main/native/tests/mac/launcher/launcher/launcher-Prefix.pch + modules/fxpackager/src/main/native/tests/mac/library/packager/libpackager.xcodeproj/project.pbxproj + modules/fxpackager/src/main/native/tests/mac/library/packager/packager/libpackager-Prefix.pch + modules/fxpackager/src/main/native/tests/mac/library/packager/packagerTests/en.lproj/InfoPlist.strings + modules/fxpackager/src/main/native/tests/mac/library/packager/packagerTests/libpackagerTests-Info.plist + modules/fxpackager/src/main/native/tests/mac/library/packager/packagerTests/packagerTests.m + modules/fxpackager/src/main/native/tests/win/iconswap/IconSwap.vcxproj + modules/fxpackager/src/main/native/tests/win/launcher/launcher.sln + modules/fxpackager/src/main/native/tests/win/launcher/launcher.vcxproj + modules/fxpackager/src/main/native/tests/win/library/library.sln + modules/fxpackager/src/main/native/tests/win/library/library.vcxproj + modules/fxpackager/src/main/native/tests/win/library/main.def + modules/fxpackager/src/main/native/tools/win/IconSwap.cpp ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/AbstractBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/StandardBundlerParam.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxAppBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxDebBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxRpmBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.desktop ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.postinst ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.postrm ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.prerm ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.spec ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/Info.plist.template ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacAppBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacAppStoreBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WinAppBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WinServiceBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WindowsBundlerParam.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/template.iss ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/template.wxs ! modules/fxpackager/src/test/java/com/oracle/tools/packager/CLITest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxAppBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxDebBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxRpmBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppStoreBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacDmgBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacPkgBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinAppBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinExeBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinMsiBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinServiceBundlerTest.java ! modules/fxpackager/src/test/java/hello/HelloRectangle.java + modules/fxpackager/src/test/java/hello/SimpleBundle.java ! modules/fxpackager/src/test/java/hello/TestPackager.java ! modules/fxpackager/src/test/resources/com/sun/javafx/tools/ant/BAservicehint.xml + modules/fxpackager/src/test/resources/com/sun/javafx/tools/ant/SecondaryLaunchers_1.xml + modules/fxpackager/src/test/resources/com/sun/javafx/tools/ant/fileAssoc.xml + modules/fxpackager/src/test/resources/hello/small.ico + modules/fxpackager/src/test/resources/hello/test.icns From danno.ferrin at shemnon.com Wed Sep 10 19:25:51 2014 From: danno.ferrin at shemnon.com (danno.ferrin at shemnon.com) Date: Wed, 10 Sep 2014 19:25:51 +0000 Subject: hg: openjfx/8u-dev/rt: RT-37996: [packager] RPM Builder can't find rpmbuild in non-english locales Message-ID: <201409101925.s8AJPp03005654@aojmv0008> Changeset: ee31427caf20 Author: shemnon Date: 2014-09-10 13:06 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ee31427caf20 RT-37996: [packager] RPM Builder can't find rpmbuild in non-english locales Summary: Just look for a version number, don't depend on language dependant cues. ! modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxRpmBundler.java From shakir.gusaroff at gmail.com Wed Sep 10 20:09:49 2014 From: shakir.gusaroff at gmail.com (Shakir Gusaroff) Date: Wed, 10 Sep 2014 16:09:49 -0400 Subject: Rotate a label In-Reply-To: References: Message-ID: Does the following work for you? Or I am missing something. Label label = new Label("Application"); label.setRotate(270); On 9/10/14, Victor Grazi wrote: > In JavaFX 8, is it possible to rotate the text in a label so that instead > of left to right it reads bottom to top? I.e., to rotate the entire label > 90? counterclockwise > From james.graham at oracle.com Wed Sep 10 21:48:55 2014 From: james.graham at oracle.com (Jim Graham) Date: Wed, 10 Sep 2014 14:48:55 -0700 Subject: 8u40 review request RT-38536: Deadlock initializing Image converter module from multiple threads Message-ID: <5410C747.3060102@oracle.com> webrev: http://cr.openjdk.java.net/~flar/RT-38536/webrev.00/ Jira: https://javafx-jira.kenai.com/browse/RT-38536 As mentioned in the Jira comments I would appreciate advice on turning the tests attached to the issue into unit tests that run in separate/fresh runtimes... ...jim From philip.race at oracle.com Wed Sep 10 23:25:31 2014 From: philip.race at oracle.com (Phil Race) Date: Wed, 10 Sep 2014 16:25:31 -0700 Subject: Rotate a label In-Reply-To: References: Message-ID: <5410DDEB.1050700@oracle.com> ? S I H T E K I L N A E M U O Y That is rotating the individual glyphs or vertical layout. I can't think of any remotely easy way to do this right now. But transforming so the string reads normally if you rotate the screen should be possible with transforms on the node. -phil. On 9/10/2014 10:20 AM, Victor Grazi wrote: > In JavaFX 8, is it possible to rotate the text in a label so that instead > of left to right it reads bottom to top? I.e., to rotate the entire label > 90? counterclockwise From kevin.s at qualitycode.com Wed Sep 10 23:46:45 2014 From: kevin.s at qualitycode.com (Kevin Smith) Date: Wed, 10 Sep 2014 16:46:45 -0700 Subject: Need help with ScrollPane sizing inside nested panes Message-ID: <5410E2E5.1010807@qualitycode.com> If we have a Pane containing a ScrollPane containing a GridPane, everything works as expected. But as soon as we inject a second Pane (which is hard for us to avoid in this case), the ScrollPane no longer grows to fit its space. See the example app below. Without "inner", it works great. Is there a simple way to get the ScrollPane to fill its parent? I have tried every combination of prefWidth and prefViewportWidth that I can think of, and I have tried Border Pane, and nothing has worked. I have searched the web, but have been unable to find an answer to this. If the answer is already out there, please feel free to just point me to it. I just upgraded to Java 8u20, which didn't help. Thanks, Kevin public class FxScrollPaneTest extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) { primaryStage.setTitle("Hello World!"); GridPane grid = new GridPane(); grid.add(new Label("upper left"), 0, 0); grid.add(new Label("upper right"), 1, 0); grid.add(new Label("lower left"), 0, 1); grid.add(new Label("lower left"), 1, 1); Pane root = new Pane(); Pane inner = new Pane(); root.getChildren().add(inner); ScrollPane scroller = new ScrollPane(grid); inner.getChildren().add(scroller); primaryStage.setScene(new Scene(root, 300, 250)); primaryStage.show(); } } From david.grieve at oracle.com Wed Sep 10 23:51:57 2014 From: david.grieve at oracle.com (David Grieve) Date: Wed, 10 Sep 2014 19:51:57 -0400 Subject: Rotate a label In-Reply-To: <5410DDEB.1050700@oracle.com> References: <5410DDEB.1050700@oracle.com> Message-ID: <5410E41D.2090803@oracle.com> For this kind of layout, you'd want to use TextFlow. On 9/10/14, 7:25 PM, Phil Race wrote: > ? > S > I > H > T > > E > K > I > L > > N > A > E > M > > U > O > Y > > That is rotating the individual glyphs or vertical layout. > I can't think of any remotely easy way to do this right now. > > But transforming so the string reads normally if you rotate the screen > should > be possible with transforms on the node. > > -phil. > > On 9/10/2014 10:20 AM, Victor Grazi wrote: >> In JavaFX 8, is it possible to rotate the text in a label so that >> instead >> of left to right it reads bottom to top? I.e., to rotate the entire >> label >> 90? counterclockwise > From eric.le.ponner at oracle.com Thu Sep 11 10:16:09 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Thu, 11 Sep 2014 10:16:09 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6817 (SB should resolve lookups defined in a .root style class). Message-ID: <201409111016.s8BAG9Lk027270@aojmv0008> Changeset: 4fd7ffb45afb Author: Eric Le Ponner Date: 2014-09-11 12:16 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/4fd7ffb45afb [SCENEBUILDER] Fix for DTL-6817 (SB should resolve lookups defined in a .root style class). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMRefresher.java From sandra.lions-piron at oracle.com Thu Sep 11 11:57:24 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Thu, 11 Sep 2014 11:57:24 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix Message-ID: <201409111157.s8BBvOQd014695@aojmv0008> Changeset: 4b422b9d2145 Author: slions Date: 2014-09-11 13:57 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/4b422b9d2145 [SCENEBUILDER] Fix DTL-6779 : Wrap in and Unwrap commands should be available for DialogPane DTL-6863 : Wrap in and Unwrap commands should be available for TextFlow DTL-6864 : Unwrap command should be available for BorderPane and TabPane ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBar.fxml ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.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/UnwrapJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTextFlowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/util/ContextMenuController.java From eric.le.ponner at oracle.com Thu Sep 11 12:12:05 2014 From: eric.le.ponner at oracle.com (Eric Le Ponner) Date: Thu, 11 Sep 2014 14:12:05 +0200 Subject: Need help with ScrollPane sizing inside nested panes In-Reply-To: <5410E2E5.1010807@qualitycode.com> References: <5410E2E5.1010807@qualitycode.com> Message-ID: <6794C45F-2DCA-4A74-9D39-6DE59B6C28CD@oracle.com> Try using StackPane in place of Pane. Pane is pretty basic in term of layout capabilities. Eric On 11 Sep 2014, at 01:46, Kevin Smith wrote: > If we have a Pane containing a ScrollPane containing a GridPane, > everything works as expected. But as soon as we inject a second Pane > (which is hard for us to avoid in this case), the ScrollPane no longer > grows to fit its space. See the example app below. Without "inner", it > works great. > > Is there a simple way to get the ScrollPane to fill its parent? > > I have tried every combination of prefWidth and prefViewportWidth that I > can think of, and I have tried Border Pane, and nothing has worked. I > have searched the web, but have been unable to find an answer to this. > If the answer is already out there, please feel free to just point me to > it. > > I just upgraded to Java 8u20, which didn't help. > > Thanks, > > > Kevin > > public class FxScrollPaneTest extends Application > { > public static void main(String[] args) > { > launch(args); > } > > @Override > public void start(Stage primaryStage) > { > primaryStage.setTitle("Hello World!"); > > GridPane grid = new GridPane(); > > grid.add(new Label("upper left"), 0, 0); > grid.add(new Label("upper right"), 1, 0); > grid.add(new Label("lower left"), 0, 1); > grid.add(new Label("lower left"), 1, 1); > > Pane root = new Pane(); > Pane inner = new Pane(); > root.getChildren().add(inner); > ScrollPane scroller = new ScrollPane(grid); > inner.getChildren().add(scroller); > primaryStage.setScene(new Scene(root, 300, 250)); > primaryStage.show(); > } > } From daniel.blaukopf at oracle.com Thu Sep 11 12:37:15 2014 From: daniel.blaukopf at oracle.com (daniel.blaukopf at oracle.com) Date: Thu, 11 Sep 2014 12:37:15 +0000 Subject: hg: openjfx/8u-dev/rt: RT-37414 JavaFX x86egl cross built from a 64 bits Linux gives NumberFormatException Message-ID: <201409111237.s8BCbGC0021249@aojmv0008> Changeset: 2abfc95e5ffd Author: Daniel Blaukopf Date: 2014-09-11 15:17 +0300 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2abfc95e5ffd RT-37414 JavaFX x86egl cross built from a 64 bits Linux gives NumberFormatException ! modules/graphics/src/main/java/com/sun/glass/ui/monocle/SysFS.java From sandra.lions-piron at oracle.com Thu Sep 11 13:31:18 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Thu, 11 Sep 2014 13:31:18 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Remove dead variables from UnwrapJob.java to fix DLS_DEAD_LOCAL_STORE findbugs warning Message-ID: <201409111331.s8BDVINf029058@aojmv0008> Changeset: f0e4f63f83c1 Author: slions Date: 2014-09-11 15:31 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/f0e4f63f83c1 [SCENEBUILDER] Remove dead variables from UnwrapJob.java to fix DLS_DEAD_LOCAL_STORE findbugs warning ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/UnwrapJob.java From danno.ferrin at shemnon.com Thu Sep 11 14:03:14 2014 From: danno.ferrin at shemnon.com (danno.ferrin at shemnon.com) Date: Thu, 11 Sep 2014 14:03:14 +0000 Subject: hg: openjfx/8u-dev/rt: [test-only] need to check for Hand Crafted JDKs in build server tests. Message-ID: <201409111403.s8BE3Efu005291@aojmv0008> Changeset: 6dea37f368c8 Author: shemnon Date: 2014-09-11 08:02 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6dea37f368c8 [test-only] need to check for Hand Crafted JDKs in build server tests. ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppBundlerTest.java From steve.x.northover at oracle.com Thu Sep 11 14:19:57 2014 From: steve.x.northover at oracle.com (steve.x.northover at oracle.com) Date: Thu, 11 Sep 2014 14:19:57 +0000 Subject: hg: openjfx/8u-dev/rt: {IDE ONLY] Fix IDE files for Eclipse, NetBeans and IntelliJ Message-ID: <201409111419.s8BEJwqd008899@aojmv0008> Changeset: 65b41355c1af Author: snorthov Date: 2014-09-11 10:19 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/65b41355c1af {IDE ONLY] Fix IDE files for Eclipse, NetBeans and IntelliJ ! .idea/fxpackager.iml ! modules/fxpackager/.classpath ! netbeans/fxpackager/nbproject/build-impl.xml ! netbeans/fxpackager/nbproject/genfiles.properties ! netbeans/fxpackager/nbproject/project.properties ! netbeans/fxpackager/nbproject/project.xml From david.grieve at oracle.com Thu Sep 11 14:24:15 2014 From: david.grieve at oracle.com (david.grieve at oracle.com) Date: Thu, 11 Sep 2014 14:24:15 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38480: [CSS] ProgressIndicator does not spin anymore since 8u20 Message-ID: <201409111424.s8BEOFih009571@aojmv0008> Changeset: cf836d5d76d2 Author: David Grieve Date: 2014-09-11 10:23 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/cf836d5d76d2 RT-38480: [CSS] ProgressIndicator does not spin anymore since 8u20 Reviewed by: kevin, steve, jonathan ! apps/toys/Hello/src/main/java/hello/HelloProgressIndicator.java ! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/caspian/caspian.css From kevin.s at qualitycode.com Thu Sep 11 15:57:58 2014 From: kevin.s at qualitycode.com (Kevin Smith) Date: Thu, 11 Sep 2014 08:57:58 -0700 Subject: Need help with ScrollPane sizing inside nested panes In-Reply-To: <6794C45F-2DCA-4A74-9D39-6DE59B6C28CD@oracle.com> References: <5410E2E5.1010807@qualitycode.com> <6794C45F-2DCA-4A74-9D39-6DE59B6C28CD@oracle.com> Message-ID: <5411C686.6010401@qualitycode.com> That seems to have done the trick. It's like magic! Thanks! Kevin On 09/11/2014 05:12 AM, Eric Le Ponner wrote: > Try using StackPane in place of Pane. > Pane is pretty basic in term of layout capabilities. > > Eric > > > On 11 Sep 2014, at 01:46, Kevin Smith wrote: > >> If we have a Pane containing a ScrollPane containing a GridPane, >> everything works as expected. But as soon as we inject a second Pane >> (which is hard for us to avoid in this case), the ScrollPane no longer >> grows to fit its space. See the example app below. Without "inner", it >> works great. >> >> Is there a simple way to get the ScrollPane to fill its parent? >> >> I have tried every combination of prefWidth and prefViewportWidth that I >> can think of, and I have tried Border Pane, and nothing has worked. I >> have searched the web, but have been unable to find an answer to this. >> If the answer is already out there, please feel free to just point me to >> it. >> >> I just upgraded to Java 8u20, which didn't help. >> >> Thanks, >> >> >> Kevin >> >> public class FxScrollPaneTest extends Application >> { >> public static void main(String[] args) >> { >> launch(args); >> } >> >> @Override >> public void start(Stage primaryStage) >> { >> primaryStage.setTitle("Hello World!"); >> >> GridPane grid = new GridPane(); >> >> grid.add(new Label("upper left"), 0, 0); >> grid.add(new Label("upper right"), 1, 0); >> grid.add(new Label("lower left"), 0, 1); >> grid.add(new Label("lower left"), 1, 1); >> >> Pane root = new Pane(); >> Pane inner = new Pane(); >> root.getChildren().add(inner); >> ScrollPane scroller = new ScrollPane(grid); >> inner.getChildren().add(scroller); >> primaryStage.setScene(new Scene(root, 300, 250)); >> primaryStage.show(); >> } >> } > From jerome.cambon at oracle.com Thu Sep 11 16:10:05 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Thu, 11 Sep 2014 16:10:05 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6869: Accelerator editor does not work anymore Message-ID: <201409111610.s8BGA55N027720@aojmv0008> Changeset: b0a08e558789 Author: Jerome Cambon Date: 2014-09-11 18:12 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b0a08e558789 [SCENEBUILDER] Fix for DTL-6869: Accelerator editor does not work anymore ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/KeyCombinationPopupEditor.java From eric.le.ponner at oracle.com Thu Sep 11 16:53:38 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Thu, 11 Sep 2014 16:53:38 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] SetDocumentRootJob now takes responsibility to invoke UsePredefinedSizeJob (part of DTL-6783). Message-ID: <201409111653.s8BGrcr4005655@aojmv0008> Changeset: 12530777d84a Author: Eric Le Ponner Date: 2014-09-11 18:54 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/12530777d84a [SCENEBUILDER] SetDocumentRootJob now takes responsibility to invoke UsePredefinedSizeJob (part of DTL-6783). This removes some code duplication and avoids creating some BatchJob instances. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/RootDropTarget.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SetDocumentRootJob.java From danno.ferrin at shemnon.com Thu Sep 11 17:05:10 2014 From: danno.ferrin at shemnon.com (danno.ferrin at shemnon.com) Date: Thu, 11 Sep 2014 17:05:10 +0000 Subject: hg: openjfx/8u-dev/rt: support multiple file registrations on windows, and normalize the exe/msi names Message-ID: <201409111705.s8BH5Afj007917@aojmv0008> Changeset: 554c4bdd3c5f Author: shemnon Date: 2014-09-11 11:04 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/554c4bdd3c5f support multiple file registrations on windows, and normalize the exe/msi names ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinExeBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinMsiBundler.java From danno.ferrin at oracle.com Thu Sep 11 17:13:33 2014 From: danno.ferrin at oracle.com (Danno Ferrin) Date: Thu, 11 Sep 2014 11:13:33 -0600 Subject: hg: openjfx/8u-dev/rt: support multiple file registrations on windows, and normalize the exe/msi names In-Reply-To: <201409111705.s8BH5Afj007917@aojmv0008> References: <201409111705.s8BH5Afj007917@aojmv0008> Message-ID: <8A013A47-182C-4460-8BED-A96784BA60E5@oracle.com> My bad, still in sandbox mode. RT-38626: [Bundlers] content type is not set for Windows when specifying file associations Summary: support multiple file registrations on windows, and normalize the exe/msi names On Sep 11, 2014, at 11:05 AM, danno.ferrin at shemnon.com wrote: > Changeset: 554c4bdd3c5f > Author: shemnon > Date: 2014-09-11 11:04 -0600 > URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/554c4bdd3c5f > > support multiple file registrations on windows, and normalize the exe/msi names > > ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinExeBundler.java > ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinMsiBundler.java > From peter.penzov at gmail.com Thu Sep 11 21:33:22 2014 From: peter.penzov at gmail.com (Peter Penzov) Date: Fri, 12 Sep 2014 00:33:22 +0300 Subject: Unknown error 0x80DE0001 Message-ID: HI All, I tested drag and drop example. I get this error: E r r o r : 8 0 d e 0 0 0 1 i n C a l l b a c k T o J a v a ( j a v a I D s . V i e w . n o t i f y D r a g D r o p , g r f K e y S t a t e , p t , p d w E f f e c t ) C O M E r r o r : 8 0 d e 0 0 0 1 U n k n o w n e r r o r 0 x 8 0 D E 0 0 0 1 E r r o r : 8 0 d e 0 0 0 1 i n : : D o D r a g D r o p ( p c d , I D r o p S o u r c e P t r ( n e w G l a s s D r o p S o u r c e ( o b j ) , f a l s e ) , g e t D R O P E F F E C T ( s u p p o r t e d A c t i o n s ) , & p e r f o r m e d D r o p E f f e c t ) C O M E r r o r : 8 0 d e 0 0 0 1 U n k n o w n e r r o r 0 x 8 0 D E 0 0 0 1 Any idea what causes this? More information and test example: https://javafx-jira.kenai.com/browse/RT-38641 From james.graham at oracle.com Thu Sep 11 22:13:15 2014 From: james.graham at oracle.com (james.graham at oracle.com) Date: Thu, 11 Sep 2014 22:13:15 +0000 Subject: hg: openjfx/8u-dev/rt: Fix RT-38536: Deadlock initializing Image Conversion utilities from multiple threads Message-ID: <201409112213.s8BMDFV8029399@aojmv0008> Changeset: 2200f3672dbb Author: flar Date: 2014-09-11 15:13 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2200f3672dbb Fix RT-38536: Deadlock initializing Image Conversion utilities from multiple threads Reviewed by: kcr ! modules/graphics/src/main/java/com/sun/javafx/image/PixelUtils.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteBgr.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteBgra.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteBgraPre.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteGray.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteGrayAlpha.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteGrayAlphaPre.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteRgb.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteRgba.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/IntArgb.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/IntArgbPre.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PixelUtils.java ! modules/graphics/src/main/java/com/sun/prism/Image.java + tests/system/src/test/java/com/sun/javafx/image/impl/ImageRaceTest.java From david.grieve at oracle.com Thu Sep 11 22:22:07 2014 From: david.grieve at oracle.com (David Grieve) Date: Thu, 11 Sep 2014 18:22:07 -0400 Subject: [8u40] API proposal: [CSS, Control] Improve handling of Control.getUserAgentStylesheet() Message-ID: <5412208F.40709@oracle.com> Relative to https://javafx-jira.kenai.com/browse/RT-38640, I propose to add the following method to Region: /** * An implementation may specify its own user-agent styles for this Region, and its children, * by overriding this method. These styles are used in addition to whatever user-agent stylesheets * are in use. This provides a mechanism for third parties to introduce styles for custom controls. * @return A string URL */ public string getUAStylesheet() Note: an alternative is to make Control method getUserAgentStylesheet public and move it to Region. But I'm not sure about binary compatibility and, in the interest of time, I'm putting this API out there. The reasons for putting this API on Region is eloquently stated by Jonathan in the JIRA issue. From james.graham at oracle.com Fri Sep 12 00:15:25 2014 From: james.graham at oracle.com (Jim Graham) Date: Thu, 11 Sep 2014 17:15:25 -0700 Subject: 8u40 review request: RT-36221 INNER/OUTER stroke types wrong on Linux Message-ID: <54123B1D.7000300@oracle.com> webrev: http://cr.openjdk.java.net/~flar/RT-36221/webrev.00/ Jira: https://javafx-jira.kenai.com/browse/RT-36221 Simple workaround copied from other parts of the code base... ...jim From martin.sladecek at oracle.com Fri Sep 12 07:20:31 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Fri, 12 Sep 2014 07:20:31 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38458 [Charts, Axis] TickMark's textVisible property is ignored Message-ID: <201409120720.s8C7KVoR024478@aojmv0008> Changeset: 522fe51196c8 Author: Martin Sladecek Date: 2014-09-12 09:20 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/522fe51196c8 RT-38458 [Charts, Axis] TickMark's textVisible property is ignored follow-up fix Reviewed by: jgiles, kcr ! modules/controls/src/main/java/javafx/scene/chart/Axis.java From martin.sladecek at oracle.com Fri Sep 12 07:34:54 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Fri, 12 Sep 2014 07:34:54 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38582 [Transform] transform(Bounds) and inverseTransform(Bounds) produce incorrect results Message-ID: <201409120734.s8C7YtWK027115@aojmv0008> Changeset: 726b5622b633 Author: Martin Sladecek Date: 2014-09-12 09:34 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/726b5622b633 RT-38582 [Transform] transform(Bounds) and inverseTransform(Bounds) produce incorrect results Reviewed by: kcr, flar + modules/graphics/src/main/java/com/sun/javafx/geometry/BoundsUtils.java ! modules/graphics/src/main/java/javafx/scene/Node.java ! modules/graphics/src/main/java/javafx/scene/transform/Transform.java ! modules/graphics/src/test/java/javafx/scene/transform/TransformOperationsTest.java From sandra.lions-piron at oracle.com Fri Sep 12 07:59:42 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Fri, 12 Sep 2014 07:59:42 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6855 : Add ButtonBar component to the Library Message-ID: <201409120759.s8C7xgx5000371@aojmv0008> Changeset: 7f169b1de6c6 Author: slions Date: 2014-09-12 09:59 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7f169b1de6c6 [SCENEBUILDER] Fix DTL-6855 : Add ButtonBar component to the Library ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/library/BuiltinLibrary.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/library/builtin/ButtonBar.fxml ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/klass/ComponentClassMetadata.java From sandra.lions-piron at oracle.com Fri Sep 12 09:04:58 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Fri, 12 Sep 2014 09:04:58 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix wrap in ScrollPane : as multiple selection is no more allowed for the Wrap In ScrollPane command (see DTL-6856), Message-ID: <201409120904.s8C94wAg013730@aojmv0008> Changeset: 1a0fe3d68229 Author: slions Date: 2014-09-12 11:04 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1a0fe3d68229 [SCENEBUILDER] Fix wrap in ScrollPane : as multiple selection is no more allowed for the Wrap In ScrollPane command (see DTL-6856), there is no more need to set the pref view port height and width. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInScrollPaneJob.java From eric.le.ponner at oracle.com Fri Sep 12 09:15:00 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Fri, 12 Sep 2014 09:15:00 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Moved content of EditorController.performAddContextMenu() into AddContextMenuToSelectionJob class. Message-ID: <201409120915.s8C9F1p8016003@aojmv0008> Changeset: 787b2e2d5c86 Author: Eric Le Ponner Date: 2014-09-12 11:15 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/787b2e2d5c86 [SCENEBUILDER] Moved content of EditorController.performAddContextMenu() into AddContextMenuToSelectionJob class. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/AddContextMenuToSelectionJob.java From eric.le.ponner at oracle.com Fri Sep 12 09:43:01 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Fri, 12 Sep 2014 09:43:01 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Moved content of EditorController.performAddTooltip() into AddTooltipToSelectionJob class. Message-ID: <201409120943.s8C9h1do020247@aojmv0008> Changeset: 6d5af625b22a Author: Eric Le Ponner Date: 2014-09-12 11:43 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6d5af625b22a [SCENEBUILDER] Moved content of EditorController.performAddTooltip() into AddTooltipToSelectionJob class. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/AddTooltipToSelectionJob.java < apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/AddContextMenuToSelectionJob.java From jerome.cambon at oracle.com Fri Sep 12 10:48:12 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Fri, 12 Sep 2014 10:48:12 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fixed Warnings (imports) Message-ID: <201409121048.s8CAmCgo000415@aojmv0008> Changeset: 6cabbc998483 Author: Jerome Cambon Date: 2014-09-12 12:51 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6cabbc998483 [SCENEBUILDER] Fixed Warnings (imports) ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/RootDropTarget.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/UnwrapJob.java From randahl at rockit.dk Fri Sep 12 11:04:13 2014 From: randahl at rockit.dk (Randahl Fink Isaksen) Date: Fri, 12 Sep 2014 13:04:13 +0200 Subject: Does JavaFX lack a public Property.getObservable() method? Message-ID: I have noticed the lack of a getObservable() method of the property class, and I have come across a use case which might justify such a method, so I would like to discuss whether posting a new Jira issue for this is justified. I have implemented a simple toggle button with two states, on and off. The toggle button has a SimpleBooleanProperty value, and when the user switches the toggle button the value is negated. Now, in some cases I would like to bind the valueProperty to some observable boolean in my app, so that whenever that observable boolean is true, the button reflects that by switching to on. However, the problem is that if I bind the SimpleObjectProperty value to an observable boolean value, and then click the button to toggle it, a JavaFX exception tells me that I cannot negate the boolean value, since it is now bound. In such cases, I think it makes sense to have my toggle button change the state of the value it is bound to instead. But since the SimpleBooleanProperty does not have a getObservable() method, I have no way of accessing the value observed. Does this justify adding a public getObservable method to class Property? Yours Randahl From martin.sladecek at oracle.com Fri Sep 12 11:08:22 2014 From: martin.sladecek at oracle.com (Martin Sladecek) Date: Fri, 12 Sep 2014 13:08:22 +0200 Subject: Does JavaFX lack a public Property.getObservable() method? In-Reply-To: References: Message-ID: <5412D426.9080604@oracle.com> Hi Randahl, why don't you use bidirectional binding for this purpose? -Martin On 09/12/2014 01:04 PM, Randahl Fink Isaksen wrote: > I have noticed the lack of a getObservable() method of the property class, and I have come across a use case which might justify such a method, so I would like to discuss whether posting a new Jira issue for this is justified. > > I have implemented a simple toggle button with two states, on and off. The toggle button has a SimpleBooleanProperty value, and when the user switches the toggle button the value is negated. > > Now, in some cases I would like to bind the valueProperty to some observable boolean in my app, so that whenever that observable boolean is true, the button reflects that by switching to on. However, the problem is that if I bind the SimpleObjectProperty value to an observable boolean value, and then click the button to toggle it, a JavaFX exception tells me that I cannot negate the boolean value, since it is now bound. > > In such cases, I think it makes sense to have my toggle button change the state of the value it is bound to instead. But since the SimpleBooleanProperty does not have a getObservable() method, I have no way of accessing the value observed. > > Does this justify adding a public getObservable method to class Property? > > Yours > > Randahl > > > From tomas.mikula at gmail.com Fri Sep 12 12:37:39 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Fri, 12 Sep 2014 14:37:39 +0200 Subject: Does JavaFX lack a public Property.getObservable() method? In-Reply-To: <5412D426.9080604@oracle.com> References: <5412D426.9080604@oracle.com> Message-ID: Hi Randahl, if on button click you only want to update an external boolean property, bidirectional binding suggested by Martin should be all you need. If the problem is more complex, it might be useful to recognize that your toggle button serves two distinct functions: 1. It reflects the state (on/off) of an external object. 2. It manipulates an external object. Treat these functions separately, i.e. on button click, don't change the button value (and thus appearance) directly, but manipulate the observed object. // observe external object button.valueProperty().bind(externalObject.stateProperty()); // manipulate external object button.setOnAction(event -> { if(button.getValue()) { externalObject.turnOff(); } else { externalOBject.turnOn(); } }); Your original button behavior of just changing the value (and thus appearance) is achieved by button.setOnAction(event -> button.setValue(!button.getValue())); Best, Tomas On Fri, Sep 12, 2014 at 1:08 PM, Martin Sladecek wrote: > Hi Randahl, > why don't you use bidirectional binding for this purpose? > > -Martin > > > On 09/12/2014 01:04 PM, Randahl Fink Isaksen wrote: >> >> I have noticed the lack of a getObservable() method of the property class, >> and I have come across a use case which might justify such a method, so I >> would like to discuss whether posting a new Jira issue for this is >> justified. >> >> I have implemented a simple toggle button with two states, on and off. The >> toggle button has a SimpleBooleanProperty value, and when the user switches >> the toggle button the value is negated. >> >> Now, in some cases I would like to bind the valueProperty to some >> observable boolean in my app, so that whenever that observable boolean is >> true, the button reflects that by switching to on. However, the problem is >> that if I bind the SimpleObjectProperty value to an observable boolean >> value, and then click the button to toggle it, a JavaFX exception tells me >> that I cannot negate the boolean value, since it is now bound. >> >> In such cases, I think it makes sense to have my toggle button change the >> state of the value it is bound to instead. But since the >> SimpleBooleanProperty does not have a getObservable() method, I have no way >> of accessing the value observed. >> >> Does this justify adding a public getObservable method to class Property? >> >> Yours >> >> Randahl >> >> >> > From jgodino at yahoo.com Fri Sep 12 14:36:01 2014 From: jgodino at yahoo.com (Francisco Javier Godino) Date: Fri, 12 Sep 2014 07:36:01 -0700 Subject: JAVAFX and Raspberry PI B Message-ID: <1410532561.15106.YahooMailNeo@web121704.mail.ne1.yahoo.com> Hello: I installed Oracle Java SE 8 JDK for Linux ARMV6/7 on Raspberry PI using Oracle indications. http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html#overview I created an application to run on it and I have an issue loading FXML. The code is: private Initializable replaceSceneContent(String fxml) throws Exception { Locale locale = new Locale("es", "ES"); ResourceBundle rb = ResourceBundle.getBundle("internacionalizacion.lang",locale) ; FXMLLoader loader = new FXMLLoader(); InputStream in = Main.class.getResourceAsStream(fxml); loader.setBuilderFactory(new JavaFXBuilderFactory()); loader.setLocation(Main.class.getResource(fxml)); loader.setResources(rb); AnchorPane page; try { page = (AnchorPane) loader.load(in); } finally { in.close(); } Scene scene = new Scene(page, stage.getWidth(),stage.getHeight()-50); stage.setScene(scene); return (Initializable) loader.getController(); } java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:367) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:300) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:894) at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:56) at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:158) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: javafx/fxml/FXMLLoader at startup.Main.replaceSceneContent(Main.java:273) at startup.Main.gotoPantallaPrincipal(Main.java:209) at startup.Main.start(Main.java:180) at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837) at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335) at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301) at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298) at com.sun.glass.ui.lens.LensApplication$RunnableEvent.dispatch(LensApplication.java:182) at com.sun.glass.ui.lens.LensApplication._runLoop(LensApplication.java:860) at com.sun.glass.ui.lens.LensApplication.access$1800(LensApplication.java:58) at com.sun.glass.ui.lens.LensApplication$4.run(LensApplication.java:917) ... 1 more Do I need install anything else? Thanks Francisco From David.Hill at Oracle.com Fri Sep 12 14:54:27 2014 From: David.Hill at Oracle.com (David Hill) Date: Fri, 12 Sep 2014 10:54:27 -0400 Subject: OpenJFX Wiki and the Platforms location. Message-ID: <54130923.2090108@Oracle.com> https://wiki.openjdk.java.net/display/OpenJFX/Platforms Just noticed that we have "Main" -> "Getting Started" -> "Platform" -> bunch of neat stuff. Feels odd that Platform is under Getting Started, as it has evolved to be a bunch of platform specific, and JavaFX feature general notes/documentation. Does it make sense to move Platform to be under Main ? -- David Hill Java Embedded Development "A man's feet should be planted in his country, but his eyes should survey the world." -- George Santayana (1863 - 1952) From jerome.cambon at oracle.com Fri Sep 12 15:10:46 2014 From: jerome.cambon at oracle.com (Jerome Cambon) Date: Fri, 12 Sep 2014 17:10:46 +0200 Subject: JAVAFX and Raspberry PI B In-Reply-To: <1410532561.15106.YahooMailNeo@web121704.mail.ne1.yahoo.com> References: <1410532561.15106.YahooMailNeo@web121704.mail.ne1.yahoo.com> Message-ID: <54130CF6.1020007@oracle.com> FXMLLoader should be part of jfxrt-controls.jar (in jre/lib/ext directory) Jerome On 9/12/14, 4:36 PM, Francisco Javier Godino wrote: > Hello: > > I installed Oracle Java SE 8 JDK for Linux ARMV6/7 on Raspberry PI using Oracle indications. > > http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html#overview > > > I created an application to run on it and I have an issue loading FXML. > > The code is: > > private Initializable replaceSceneContent(String fxml) throws Exception { > > Locale locale = new Locale("es", "ES"); > ResourceBundle rb = ResourceBundle.getBundle("internacionalizacion.lang",locale) ; > > FXMLLoader loader = new FXMLLoader(); > InputStream in = Main.class.getResourceAsStream(fxml); > loader.setBuilderFactory(new JavaFXBuilderFactory()); > loader.setLocation(Main.class.getResource(fxml)); > loader.setResources(rb); > > AnchorPane page; > try { > page = (AnchorPane) loader.load(in); > } finally { > in.close(); > } > Scene scene = new Scene(page, stage.getWidth(),stage.getHeight()-50); > stage.setScene(scene); > return (Initializable) loader.getController(); > } > > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:367) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:300) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) > Caused by: java.lang.RuntimeException: Exception in Application start method > at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:894) > at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:56) > at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:158) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NoClassDefFoundError: javafx/fxml/FXMLLoader > at startup.Main.replaceSceneContent(Main.java:273) > at startup.Main.gotoPantallaPrincipal(Main.java:209) > at startup.Main.start(Main.java:180) > at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837) > at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335) > at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301) > at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298) > at java.security.AccessController.doPrivileged(Native Method) > at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298) > at com.sun.glass.ui.lens.LensApplication$RunnableEvent.dispatch(LensApplication.java:182) > at com.sun.glass.ui.lens.LensApplication._runLoop(LensApplication.java:860) > at com.sun.glass.ui.lens.LensApplication.access$1800(LensApplication.java:58) > at com.sun.glass.ui.lens.LensApplication$4.run(LensApplication.java:917) > ... 1 more > > > Do I need install anything else? > > Thanks > > Francisco From David.Hill at Oracle.com Fri Sep 12 15:21:49 2014 From: David.Hill at Oracle.com (David Hill) Date: Fri, 12 Sep 2014 11:21:49 -0400 Subject: JAVAFX and Raspberry PI B In-Reply-To: <1410532561.15106.YahooMailNeo@web121704.mail.ne1.yahoo.com> References: <1410532561.15106.YahooMailNeo@web121704.mail.ne1.yahoo.com> Message-ID: <54130F8D.1050902@Oracle.com> On 9/12/14, 10:36 AM, Francisco Javier Godino wrote: > Hello: > > I installed Oracle Java SE 8 JDK for Linux ARMV6/7 on Raspberry PI using Oracle indications. > > http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html#overview Are you sure you are getting the right JRE ? (Are you running with a full path to java). The problem is that you are not finding the class javafx/fxml/FXMLLoader which should be part of the 8.0 and 8u6 JDK. I probably would have recommended using the instructions at: https://wiki.openjdk.java.net/display/OpenJFX/OpenJFX+on+the+Raspberry+Pi because I helped edit those :-) The JDK mentioned in the tutorial link is pretty old, it refers to an early access version. The web link above refers to the current released version. As you may know there are two versions of the JDK for ARM. The one available for public download should be a full JRE and FXML should just work. Java SE Embedded (which allows you to subset the JRE) required 'compact2' to support FXML. This is the commercial version not available for public download. compact1 does not have XML support in the JRE and so the FXML classes may fail to load because they cannot resolve dependencies. > > I created an application to run on it and I have an issue loading FXML. > > The code is: > > private Initializable replaceSceneContent(String fxml) throws Exception { > > Locale locale = new Locale("es", "ES"); > ResourceBundle rb = ResourceBundle.getBundle("internacionalizacion.lang",locale) ; > > FXMLLoader loader = new FXMLLoader(); > InputStream in = Main.class.getResourceAsStream(fxml); > loader.setBuilderFactory(new JavaFXBuilderFactory()); > loader.setLocation(Main.class.getResource(fxml)); > loader.setResources(rb); > > AnchorPane page; > try { > page = (AnchorPane) loader.load(in); > } finally { > in.close(); > } > Scene scene = new Scene(page, stage.getWidth(),stage.getHeight()-50); > stage.setScene(scene); > return (Initializable) loader.getController(); > } > > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:367) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:300) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) > Caused by: java.lang.RuntimeException: Exception in Application start method > at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:894) > at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:56) > at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:158) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NoClassDefFoundError: javafx/fxml/FXMLLoader > at startup.Main.replaceSceneContent(Main.java:273) > at startup.Main.gotoPantallaPrincipal(Main.java:209) > at startup.Main.start(Main.java:180) > at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837) > at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335) > at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301) > at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298) > at java.security.AccessController.doPrivileged(Native Method) > at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298) > at com.sun.glass.ui.lens.LensApplication$RunnableEvent.dispatch(LensApplication.java:182) > at com.sun.glass.ui.lens.LensApplication._runLoop(LensApplication.java:860) > at com.sun.glass.ui.lens.LensApplication.access$1800(LensApplication.java:58) > at com.sun.glass.ui.lens.LensApplication$4.run(LensApplication.java:917) > ... 1 more > > > Do I need install anything else? > > Thanks > > Francisco -- David Hill Java Embedded Development "A man's feet should be planted in his country, but his eyes should survey the world." -- George Santayana (1863 - 1952) From steve.x.northover at oracle.com Fri Sep 12 16:04:46 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Fri, 12 Sep 2014 12:04:46 -0400 Subject: OpenJFX Wiki and the Platforms location. In-Reply-To: <54130923.2090108@Oracle.com> References: <54130923.2090108@Oracle.com> Message-ID: <5413199E.8050300@oracle.com> On 2014-09-12, 10:54 AM, David Hill wrote: > > https://wiki.openjdk.java.net/display/OpenJFX/Platforms > > Just noticed that we have "Main" -> "Getting Started" -> "Platform" -> > bunch of neat stuff. > Feels odd that Platform is under Getting Started, as it has evolved to > be a bunch of platform specific, and JavaFX feature general > notes/documentation. > > Does it make sense to move Platform to be under Main ? > Makes sense to me. Platforms under Getting Started is likely there for historical reasons. Steve From randahl at rockit.dk Fri Sep 12 16:50:56 2014 From: randahl at rockit.dk (Randahl Fink Isaksen) Date: Fri, 12 Sep 2014 18:50:56 +0200 Subject: Does JavaFX lack a public Property.getObservable() method? In-Reply-To: References: <5412D426.9080604@oracle.com> Message-ID: Thank you both of you for some good tips. I will try those approached instead. Randahl On 12 Sep 2014, at 14:37, Tomas Mikula wrote: > Hi Randahl, > > if on button click you only want to update an external boolean > property, bidirectional binding suggested by Martin should be all you > need. > > If the problem is more complex, it might be useful to recognize that > your toggle button serves two distinct functions: > 1. It reflects the state (on/off) of an external object. > 2. It manipulates an external object. > > Treat these functions separately, i.e. on button click, don't change > the button value (and thus appearance) directly, but manipulate the > observed object. > > // observe external object > button.valueProperty().bind(externalObject.stateProperty()); > > // manipulate external object > button.setOnAction(event -> { > if(button.getValue()) { > externalObject.turnOff(); > } else { > externalOBject.turnOn(); > } > }); > > Your original button behavior of just changing the value (and thus > appearance) is achieved by > > button.setOnAction(event -> button.setValue(!button.getValue())); > > Best, > Tomas > > On Fri, Sep 12, 2014 at 1:08 PM, Martin Sladecek > wrote: >> Hi Randahl, >> why don't you use bidirectional binding for this purpose? >> >> -Martin >> >> >> On 09/12/2014 01:04 PM, Randahl Fink Isaksen wrote: >>> >>> I have noticed the lack of a getObservable() method of the property class, >>> and I have come across a use case which might justify such a method, so I >>> would like to discuss whether posting a new Jira issue for this is >>> justified. >>> >>> I have implemented a simple toggle button with two states, on and off. The >>> toggle button has a SimpleBooleanProperty value, and when the user switches >>> the toggle button the value is negated. >>> >>> Now, in some cases I would like to bind the valueProperty to some >>> observable boolean in my app, so that whenever that observable boolean is >>> true, the button reflects that by switching to on. However, the problem is >>> that if I bind the SimpleObjectProperty value to an observable boolean >>> value, and then click the button to toggle it, a JavaFX exception tells me >>> that I cannot negate the boolean value, since it is now bound. >>> >>> In such cases, I think it makes sense to have my toggle button change the >>> state of the value it is bound to instead. But since the >>> SimpleBooleanProperty does not have a getObservable() method, I have no way >>> of accessing the value observed. >>> >>> Does this justify adding a public getObservable method to class Property? >>> >>> Yours >>> >>> Randahl >>> >>> >>> >> Randahl Fink Isaksen Inventor / Software architect / Java expert Owner of ROCK IT Mobile +45 26 25 88 84 Skype randahl Twitter @r4nd4hl From mike at plan99.net Fri Sep 12 18:42:20 2014 From: mike at plan99.net (Mike Hearn) Date: Fri, 12 Sep 2014 20:42:20 +0200 Subject: Lighthouse Message-ID: I've open sourced the JavaFX app I was working on for the past six months or so. Lighthouse is a Bitcoin crowdfunding application that uses some of the more novel features of the Bitcoin protocol to allow middleman free fund raising. There's a video of it in action here: http://blog.vinumeris.com/2014/09/12/lighthouse-alpha-now-open-source/ and some screenshots here: https://github.com/vinumeris/lighthouse Additionally I've open sourced UpdateFX, which is an auto update engine that provides some interesting features: https://github.com/vinumeris/updatefx It's kind of rough still but if anyone is looking for an alternative to the existing update engines out there, take a look. I just wanted to say thanks to the OpenJFX team for your help and support this summer. I've very much enjoyed working both with you all and the framework you've created. I believe JavaFX is a surprisingly good fit for the Bitcoin community, because we suffer quite badly from the limitations and problems of web apps. HTML5 + decentralisation don't mix very well. A plain old desktop app works better, and JavaFX is a good way to build such things. thanks, -mike From steve.x.northover at oracle.com Fri Sep 12 18:47:41 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Fri, 12 Sep 2014 14:47:41 -0400 Subject: Lighthouse In-Reply-To: References: Message-ID: <54133FCD.90304@oracle.com> Thanks for getting back to us Mike and letting us know about your successful use of JavaFX. The team does work hard and appreciates the kind words. Steve On 2014-09-12, 2:42 PM, Mike Hearn wrote: > I've open sourced the JavaFX app I was working on for the past six months > or so. Lighthouse is a Bitcoin crowdfunding application that uses some of > the more novel features of the Bitcoin protocol to allow middleman free > fund raising. > > There's a video of it in action here: > > http://blog.vinumeris.com/2014/09/12/lighthouse-alpha-now-open-source/ > > and some screenshots here: > > https://github.com/vinumeris/lighthouse > > Additionally I've open sourced UpdateFX, which is an auto update engine > that provides some interesting features: > > https://github.com/vinumeris/updatefx > > It's kind of rough still but if anyone is looking for an alternative to the > existing update engines out there, take a look. > > I just wanted to say thanks to the OpenJFX team for your help and support > this summer. I've very much enjoyed working both with you all and the > framework you've created. I believe JavaFX is a surprisingly good fit for > the Bitcoin community, because we suffer quite badly from the limitations > and problems of web apps. HTML5 + decentralisation don't mix very well. A > plain old desktop app works better, and JavaFX is a good way to build such > things. > > thanks, > -mike From lisa.selle at oracle.com Fri Sep 12 19:00:07 2014 From: lisa.selle at oracle.com (Lisa Selle) Date: Fri, 12 Sep 2014 15:00:07 -0400 Subject: In(Sanity) Testing Mondays Message-ID: <541342B7.3030409@oracle.com> Reminder, Monday is our weekly sanity testing. You can find your testing assignment at: https://wiki.openjdk.java.net/display/OpenJFX/Sanity+Testing Also please remember that the repo will be locked from 1am PDT until 1pm PDT. Happy testing! Lisa From rsteiger at ensemblesoft.net Fri Sep 12 21:31:34 2014 From: rsteiger at ensemblesoft.net (Richard Steiger) Date: Fri, 12 Sep 2014 14:31:34 -0700 Subject: Problem accessing jfx native libs under eclipse on windows Message-ID: <54136636.70906@ensemblesoft.net> I'm a newbie to JavaFX, and hoping to be able to contribute down the road once I learn much more about it. To that end, I've been trying to get 8u-dev eclipse projects setup on a Win7 box so I can start stepping through the code. The current show-stopper is getting UnsatisfiedLinkErrors when the system is trying to access dlls, such as glass.dll. My rig: * jdk1.8.0_05 * eclipse-SDK-N20140722-2000-win32-x86_64 (Mars stable build, has fix for StackOverflow bug in eclipse j8 compiler) * hg clone of 8u-dev as of 8/26 Setup: * ran the gradle build (successfully) * imported the eclipse projects in the repo, all cleanly compile (but had to fix cross-project links and manually locate and attach 3p libs) * removed javafx.* and related JavaFX sources from JAVA_HOME/src * moved jfxrt.jar to a cache directory Failure situation: * attempting to launch jfx apps under eclipse debugger The following console output is typical of what I'm running into (with -verbose:jni on the command line): [Dynamic-linking native method java.lang.Object.registerNatives ... JNI] [Registering JNI native method java.lang.Object.hashCode] [Registering JNI native method java.lang.Object.wait] [Registering JNI native method java.lang.Object.notify] [Registering JNI native method java.lang.Object.notifyAll] [Registering JNI native method java.lang.Object.clone] [Dynamic-linking native method java.lang.System.registerNatives ... JNI] [Registering JNI native method java.lang.System.currentTimeMillis] [Registering JNI native method java.lang.System.nanoTime] [Registering JNI native method java.lang.System.arraycopy] [Dynamic-linking native method java.lang.Thread.registerNatives ... JNI] [Registering JNI native method java.lang.Thread.start0] [Registering JNI native method java.lang.Thread.stop0] [Registering JNI native method java.lang.Thread.isAlive] [Registering JNI native method java.lang.Thread.suspend0] [Registering JNI native method java.lang.Thread.resume0] [Registering JNI native method java.lang.Thread.setPriority0] [Registering JNI native method java.lang.Thread.yield] [Registering JNI native method java.lang.Thread.sleep] [Registering JNI native method java.lang.Thread.currentThread] [Registering JNI native method java.lang.Thread.countStackFrames] [Registering JNI native method java.lang.Thread.interrupt0] [Registering JNI native method java.lang.Thread.isInterrupted] [Registering JNI native method java.lang.Thread.holdsLock] [Registering JNI native method java.lang.Thread.getThreads] [Registering JNI native method java.lang.Thread.dumpThreads] [Registering JNI native method java.lang.Thread.setNativeName] [Dynamic-linking native method java.security.AccessController.getStackAccessControlContext ... JNI] [Dynamic-linking native method java.security.AccessController.getInheritedAccessControlContext ... JNI] [Dynamic-linking native method java.lang.Class.registerNatives ... JNI] [Registering JNI native method java.lang.Class.getName0] [Registering JNI native method java.lang.Class.getSuperclass] [Registering JNI native method java.lang.Class.getInterfaces0] [Registering JNI native method java.lang.Class.getClassLoader0] [Registering JNI native method java.lang.Class.isInterface] [Registering JNI native method java.lang.Class.getSigners] [Registering JNI native method java.lang.Class.setSigners] [Registering JNI native method java.lang.Class.isArray] [Registering JNI native method java.lang.Class.isPrimitive] [Registering JNI native method java.lang.Class.getComponentType] [Registering JNI native method java.lang.Class.getModifiers] [Registering JNI native method java.lang.Class.getDeclaredFields0] [Registering JNI native method java.lang.Class.getDeclaredMethods0] [Registering JNI native method java.lang.Class.getDeclaredConstructors0] [Registering JNI native method java.lang.Class.getProtectionDomain0] [Registering JNI native method java.lang.Class.getDeclaredClasses0] [Registering JNI native method java.lang.Class.getDeclaringClass0] [Registering JNI native method java.lang.Class.getGenericSignature0] [Registering JNI native method java.lang.Class.getRawAnnotations] [Registering JNI native method java.lang.Class.getConstantPool] [Registering JNI native method java.lang.Class.desiredAssertionStatus0] [Registering JNI native method java.lang.Class.getEnclosingMethod0] [Registering JNI native method java.lang.Class.getRawTypeAnnotations] [Dynamic-linking native method java.lang.ClassLoader.registerNatives ... JNI] [Registering JNI native method java.lang.ClassLoader.retrieveDirectives] [Dynamic-linking native method java.security.AccessController.doPrivileged ... JNI] [Dynamic-linking native method java.lang.Class.getPrimitiveClass ... JNI] [Dynamic-linking native method java.lang.Float.floatToRawIntBits ... JNI] [Dynamic-linking native method java.lang.Double.doubleToRawLongBits ... JNI] [Dynamic-linking native method java.lang.Double.longBitsToDouble ... JNI] [Dynamic-linking native method java.lang.System.initProperties ... JNI] [Dynamic-linking native method sun.misc.VM.initialize ... JNI] [Dynamic-linking native method java.lang.Runtime.maxMemory ... JNI] [Dynamic-linking native method java.io.FileInputStream.initIDs ... JNI] [Dynamic-linking native method java.io.FileDescriptor.initIDs ... JNI] [Dynamic-linking native method sun.misc.Unsafe.registerNatives ... JNI] [Registering JNI native method sun.misc.Unsafe.getObject] [Registering JNI native method sun.misc.Unsafe.putObject] [Registering JNI native method sun.misc.Unsafe.getObjectVolatile] [Registering JNI native method sun.misc.Unsafe.putObjectVolatile] [Registering JNI native method sun.misc.Unsafe.getBoolean] [Registering JNI native method sun.misc.Unsafe.putBoolean] [Registering JNI native method sun.misc.Unsafe.getBooleanVolatile] [Registering JNI native method sun.misc.Unsafe.putBooleanVolatile] [Registering JNI native method sun.misc.Unsafe.getByte] [Registering JNI native method sun.misc.Unsafe.putByte] [Registering JNI native method sun.misc.Unsafe.getByteVolatile] [Registering JNI native method sun.misc.Unsafe.putByteVolatile] [Registering JNI native method sun.misc.Unsafe.getShort] [Registering JNI native method sun.misc.Unsafe.putShort] [Registering JNI native method sun.misc.Unsafe.getShortVolatile] [Registering JNI native method sun.misc.Unsafe.putShortVolatile] [Registering JNI native method sun.misc.Unsafe.getChar] [Registering JNI native method sun.misc.Unsafe.putChar] [Registering JNI native method sun.misc.Unsafe.getCharVolatile] [Registering JNI native method sun.misc.Unsafe.putCharVolatile] [Registering JNI native method sun.misc.Unsafe.getInt] [Registering JNI native method sun.misc.Unsafe.putInt] [Registering JNI native method sun.misc.Unsafe.getIntVolatile] [Registering JNI native method sun.misc.Unsafe.putIntVolatile] [Registering JNI native method sun.misc.Unsafe.getLong] [Registering JNI native method sun.misc.Unsafe.putLong] [Registering JNI native method sun.misc.Unsafe.getLongVolatile] [Registering JNI native method sun.misc.Unsafe.putLongVolatile] [Registering JNI native method sun.misc.Unsafe.getFloat] [Registering JNI native method sun.misc.Unsafe.putFloat] [Registering JNI native method sun.misc.Unsafe.getFloatVolatile] [Registering JNI native method sun.misc.Unsafe.putFloatVolatile] [Registering JNI native method sun.misc.Unsafe.getDouble] [Registering JNI native method sun.misc.Unsafe.putDouble] [Registering JNI native method sun.misc.Unsafe.getDoubleVolatile] [Registering JNI native method sun.misc.Unsafe.putDoubleVolatile] [Registering JNI native method sun.misc.Unsafe.getByte] [Registering JNI native method sun.misc.Unsafe.putByte] [Registering JNI native method sun.misc.Unsafe.getShort] [Registering JNI native method sun.misc.Unsafe.putShort] [Registering JNI native method sun.misc.Unsafe.getChar] [Registering JNI native method sun.misc.Unsafe.putChar] [Registering JNI native method sun.misc.Unsafe.getInt] [Registering JNI native method sun.misc.Unsafe.putInt] [Registering JNI native method sun.misc.Unsafe.getLong] [Registering JNI native method sun.misc.Unsafe.putLong] [Registering JNI native method sun.misc.Unsafe.getFloat] [Registering JNI native method sun.misc.Unsafe.putFloat] [Registering JNI native method sun.misc.Unsafe.getDouble] [Registering JNI native method sun.misc.Unsafe.putDouble] [Registering JNI native method sun.misc.Unsafe.getAddress] [Registering JNI native method sun.misc.Unsafe.putAddress] [Registering JNI native method sun.misc.Unsafe.allocateMemory] [Registering JNI native method sun.misc.Unsafe.reallocateMemory] [Registering JNI native method sun.misc.Unsafe.freeMemory] [Registering JNI native method sun.misc.Unsafe.objectFieldOffset] [Registering JNI native method sun.misc.Unsafe.staticFieldOffset] [Registering JNI native method sun.misc.Unsafe.staticFieldBase] [Registering JNI native method sun.misc.Unsafe.ensureClassInitialized] [Registering JNI native method sun.misc.Unsafe.arrayBaseOffset] [Registering JNI native method sun.misc.Unsafe.arrayIndexScale] [Registering JNI native method sun.misc.Unsafe.addressSize] [Registering JNI native method sun.misc.Unsafe.pageSize] [Dynamic-linking native method java.lang.Throwable.fillInStackTrace ... JNI] [Registering JNI native method sun.misc.Unsafe.getObject] [Registering JNI native method sun.misc.Unsafe.putObject] [Registering JNI native method sun.misc.Unsafe.getObjectVolatile] [Registering JNI native method sun.misc.Unsafe.putObjectVolatile] [Registering JNI native method sun.misc.Unsafe.getBoolean] [Registering JNI native method sun.misc.Unsafe.putBoolean] [Registering JNI native method sun.misc.Unsafe.getBooleanVolatile] [Registering JNI native method sun.misc.Unsafe.putBooleanVolatile] [Registering JNI native method sun.misc.Unsafe.getByte] [Registering JNI native method sun.misc.Unsafe.putByte] [Registering JNI native method sun.misc.Unsafe.getByteVolatile] [Registering JNI native method sun.misc.Unsafe.putByteVolatile] [Registering JNI native method sun.misc.Unsafe.getShort] [Registering JNI native method sun.misc.Unsafe.putShort] [Registering JNI native method sun.misc.Unsafe.getShortVolatile] [Registering JNI native method sun.misc.Unsafe.putShortVolatile] [Registering JNI native method sun.misc.Unsafe.getChar] [Registering JNI native method sun.misc.Unsafe.putChar] [Registering JNI native method sun.misc.Unsafe.getCharVolatile] [Registering JNI native method sun.misc.Unsafe.putCharVolatile] [Registering JNI native method sun.misc.Unsafe.getInt] [Registering JNI native method sun.misc.Unsafe.putInt] [Registering JNI native method sun.misc.Unsafe.getIntVolatile] [Registering JNI native method sun.misc.Unsafe.putIntVolatile] [Registering JNI native method sun.misc.Unsafe.getLong] [Registering JNI native method sun.misc.Unsafe.putLong] [Registering JNI native method sun.misc.Unsafe.getLongVolatile] [Registering JNI native method sun.misc.Unsafe.putLongVolatile] [Registering JNI native method sun.misc.Unsafe.getFloat] [Registering JNI native method sun.misc.Unsafe.putFloat] [Registering JNI native method sun.misc.Unsafe.getFloatVolatile] [Registering JNI native method sun.misc.Unsafe.putFloatVolatile] [Registering JNI native method sun.misc.Unsafe.getDouble] [Registering JNI native method sun.misc.Unsafe.putDouble] [Registering JNI native method sun.misc.Unsafe.getDoubleVolatile] [Registering JNI native method sun.misc.Unsafe.putDoubleVolatile] [Registering JNI native method sun.misc.Unsafe.getByte] [Registering JNI native method sun.misc.Unsafe.putByte] [Registering JNI native method sun.misc.Unsafe.getShort] [Registering JNI native method sun.misc.Unsafe.putShort] [Registering JNI native method sun.misc.Unsafe.getChar] [Registering JNI native method sun.misc.Unsafe.putChar] [Registering JNI native method sun.misc.Unsafe.getInt] [Registering JNI native method sun.misc.Unsafe.putInt] [Registering JNI native method sun.misc.Unsafe.getLong] [Registering JNI native method sun.misc.Unsafe.putLong] [Registering JNI native method sun.misc.Unsafe.getFloat] [Registering JNI native method sun.misc.Unsafe.putFloat] [Registering JNI native method sun.misc.Unsafe.getDouble] [Registering JNI native method sun.misc.Unsafe.putDouble] [Registering JNI native method sun.misc.Unsafe.getAddress] [Registering JNI native method sun.misc.Unsafe.putAddress] [Registering JNI native method sun.misc.Unsafe.allocateMemory] [Registering JNI native method sun.misc.Unsafe.reallocateMemory] [Registering JNI native method sun.misc.Unsafe.freeMemory] [Registering JNI native method sun.misc.Unsafe.objectFieldOffset] [Registering JNI native method sun.misc.Unsafe.staticFieldOffset] [Registering JNI native method sun.misc.Unsafe.staticFieldBase] [Registering JNI native method sun.misc.Unsafe.ensureClassInitialized] [Registering JNI native method sun.misc.Unsafe.arrayBaseOffset] [Registering JNI native method sun.misc.Unsafe.arrayIndexScale] [Registering JNI native method sun.misc.Unsafe.addressSize] [Registering JNI native method sun.misc.Unsafe.pageSize] [Registering JNI native method sun.misc.Unsafe.defineClass] [Registering JNI native method sun.misc.Unsafe.allocateInstance] [Registering JNI native method sun.misc.Unsafe.monitorEnter] [Registering JNI native method sun.misc.Unsafe.monitorExit] [Registering JNI native method sun.misc.Unsafe.tryMonitorEnter] [Registering JNI native method sun.misc.Unsafe.throwException] [Registering JNI native method sun.misc.Unsafe.compareAndSwapObject] [Registering JNI native method sun.misc.Unsafe.compareAndSwapInt] [Registering JNI native method sun.misc.Unsafe.compareAndSwapLong] [Registering JNI native method sun.misc.Unsafe.putOrderedObject] [Registering JNI native method sun.misc.Unsafe.putOrderedInt] [Registering JNI native method sun.misc.Unsafe.putOrderedLong] [Registering JNI native method sun.misc.Unsafe.park] [Registering JNI native method sun.misc.Unsafe.unpark] [Registering JNI native method sun.misc.Unsafe.getLoadAverage] [Registering JNI native method sun.misc.Unsafe.copyMemory] [Registering JNI native method sun.misc.Unsafe.setMemory] [Registering JNI native method sun.misc.Unsafe.defineAnonymousClass] [Registering JNI native method sun.misc.Unsafe.shouldBeInitialized] [Registering JNI native method sun.misc.Unsafe.loadFence] [Registering JNI native method sun.misc.Unsafe.storeFence] [Registering JNI native method sun.misc.Unsafe.fullFence] [Dynamic-linking native method sun.reflect.Reflection.getCallerClass ... JNI] [Dynamic-linking native method java.io.FileDescriptor.set ... JNI] [Dynamic-linking native method java.io.FileOutputStream.initIDs ... JNI] [Dynamic-linking native method java.security.AccessController.doPrivileged ... JNI] [Dynamic-linking native method java.lang.String.intern ... JNI] [Dynamic-linking native method java.lang.System.setIn0 ... JNI] [Dynamic-linking native method java.lang.Object.getClass ... JNI] [Dynamic-linking native method java.lang.Class.forName0 ... JNI] [Dynamic-linking native method sun.reflect.Reflection.getClassAccessFlags ... JNI] [Dynamic-linking native method sun.reflect.NativeConstructorAccessorImpl.newInstance0 ... JNI] [Dynamic-linking native method java.lang.System.setOut0 ... JNI] [Dynamic-linking native method java.lang.System.setErr0 ... JNI] [Dynamic-linking native method java.io.WinNTFileSystem.initIDs ... JNI] [Dynamic-linking native method java.lang.System.mapLibraryName ... JNI] [Dynamic-linking native method java.lang.ClassLoader$NativeLibrary.findBuiltinLib ... JNI] [Dynamic-linking native method java.io.WinNTFileSystem.getBooleanAttributes ... JNI] [Dynamic-linking native method java.io.WinNTFileSystem.canonicalize0 ... JNI] [Dynamic-linking native method java.lang.ClassLoader$NativeLibrary.load ... JNI] [Dynamic-linking native method sun.misc.Signal.findSignal ... JNI] [Dynamic-linking native method sun.misc.Signal.handle0 ... JNI] [Dynamic-linking native method sun.io.Win32ErrorMode.setErrorMode ... JNI] [Dynamic-linking native method java.lang.Compiler.registerNatives ... JNI] [Registering JNI native method java.lang.Compiler.compileClass] [Registering JNI native method java.lang.Compiler.compileClasses] [Registering JNI native method java.lang.Compiler.command] [Registering JNI native method java.lang.Compiler.enable] [Registering JNI native method java.lang.Compiler.disable] [Dynamic-linking native method java.lang.Class.isAssignableFrom ... JNI] [Dynamic-linking native method java.io.FileInputStream.open ... JNI] [Dynamic-linking native method java.io.FileInputStream.readBytes ... JNI] [Dynamic-linking native method java.io.FileInputStream.available ... JNI] [Dynamic-linking native method java.lang.reflect.Array.newArray ... JNI] [Dynamic-linking native method java.lang.Runtime.availableProcessors ... JNI] [Dynamic-linking native method java.io.FileInputStream.close0 ... JNI] [Dynamic-linking native method java.io.WinNTFileSystem.list ... JNI] [Dynamic-linking native method java.io.WinNTFileSystem.canonicalizeWithPrefix0 ... JNI] [Dynamic-linking native method java.lang.ClassLoader.findLoadedClass0 ... JNI] [Dynamic-linking native method java.lang.ClassLoader.findBootstrapClass ... JNI] [Dynamic-linking native method sun.misc.VMSupport.initAgentProperties ... JNI] [Dynamic-linking native method java.lang.invoke.MethodHandleNatives.registerNatives ... JNI] [Registering JNI native method java.lang.invoke.MethodHandleNatives.init] [Registering JNI native method java.lang.invoke.MethodHandleNatives.expand] [Registering JNI native method java.lang.invoke.MethodHandleNatives.resolve] [Registering JNI native method java.lang.invoke.MethodHandleNatives.getConstant] [Registering JNI native method java.lang.invoke.MethodHandleNatives.getNamedCon] [Registering JNI native method java.lang.invoke.MethodHandleNatives.getMembers] [Registering JNI native method java.lang.invoke.MethodHandleNatives.objectFieldOffset] [Registering JNI native method java.lang.invoke.MethodHandleNatives.setCallSiteTargetNormal] [Registering JNI native method java.lang.invoke.MethodHandleNatives.setCallSiteTargetVolatile] [Registering JNI native method java.lang.invoke.MethodHandleNatives.staticFieldOffset] [Registering JNI native method java.lang.invoke.MethodHandleNatives.staticFieldBase] [Registering JNI native method java.lang.invoke.MethodHandleNatives.getMemberVMInfo] [Registering JNI native method java.lang.invoke.MethodHandle.invoke] [Registering JNI native method java.lang.invoke.MethodHandle.invokeExact] [Dynamic-linking native method java.lang.ClassLoader$NativeLibrary.find ... JNI] [Dynamic-linking native method java.security.AccessController.doPrivileged ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.initIDs ... JNI] [Dynamic-linking native method java.lang.Package.getSystemPackage0 ... JNI] [Dynamic-linking native method java.io.WinNTFileSystem.getLength ... JNI] [Dynamic-linking native method sun.misc.Perf.registerNatives ... JNI] [Registering JNI native method sun.misc.Perf.attach] [Registering JNI native method sun.misc.Perf.detach] [Registering JNI native method sun.misc.Perf.createLong] [Registering JNI native method sun.misc.Perf.createByteArray] [Registering JNI native method sun.misc.Perf.highResCounter] [Registering JNI native method sun.misc.Perf.highResFrequency] [Dynamic-linking native method java.lang.ClassLoader.defineClass1 ... JNI] [Dynamic-linking native method java.io.WinNTFileSystem.getLastModifiedTime ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.open ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.getTotal ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.startsWithLOC ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.getEntry ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.getEntryFlag ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.getEntryTime ... JNI] [Dynamic-linking native method java.util.TimeZone.getSystemTimeZoneID ... JNI] [Dynamic-linking native method java.util.zip.CRC32.updateBytes ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.getEntryCrc ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.getEntrySize ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.getEntryCSize ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.getEntryMethod ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.getEntryBytes ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.freeEntry ... JNI] [Dynamic-linking native method java.util.zip.Inflater.initIDs ... JNI] [Dynamic-linking native method java.util.zip.Inflater.init ... JNI] [Dynamic-linking native method java.util.zip.Inflater.inflateBytes ... JNI] [Dynamic-linking native method java.util.zip.ZipFile.read ... JNI] [Dynamic-linking native method java.util.zip.Inflater.reset ... JNI] [Dynamic-linking native method sun.reflect.NativeMethodAccessorImpl.invoke0 ... JNI] [Dynamic-linking native method java.lang.Class.isInstance ... JNI] [Dynamic-linking native method java.security.AccessController.doPrivileged ... JNI] [Dynamic-linking native method com.sun.prism.d3d.D3DPipeline.nInit ... JNI] [Dynamic-linking native method com.sun.prism.d3d.D3DPipeline.nGetAdapterCount ... JNI] [Dynamic-linking native method java.lang.System.identityHashCode ... JNI] [Dynamic-linking native method com.sun.glass.ui.win.WinApplication.initIDs ... JNI] [Dynamic-linking native method com.sun.glass.ui.win.WinApplication._setClassLoader ... JNI] [Dynamic-linking native method com.sun.glass.ui.win.WinApplication._init ... JNI] [Dynamic-linking native method com.sun.glass.ui.win.WinApplication._runLoop ... JNI] [Dynamic-linking native method com.sun.glass.ui.win.WinApplication.staticScreen_getScreens ... JNI] [Dynamic-linking native method com.sun.prism.d3d.D3DPipeline.nGetAdapterOrdinal ... JNI] [Dynamic-linking native method com.sun.prism.d3d.D3DResourceFactory.nGetContext ... JNI] [Dynamic-linking native method com.sun.prism.d3d.D3DContext.nSetBlendEnabled ... JNI] [Dynamic-linking native method com.sun.prism.d3d.D3DContext.nSetDeviceParametersFor2D ... JNI] [Dynamic-linking native method com.sun.prism.d3d.D3DResourceFactory.nGetMaximumTextureSize ... JNI] [Dynamic-linking native method com.sun.glass.ui.win.WinTimer._getMinPeriod ... JNI] [Dynamic-linking native method com.sun.glass.ui.win.WinTimer._getMaxPeriod ... JNI] [Dynamic-linking native method com.sun.glass.ui.win.WinApplication._submitForLaterInvocation ... JNI] [Dynamic-linking native method com.sun.glass.ui.win.WinTimer._start ... JNI] [Dynamic-linking native method java.lang.Throwable.getStackTraceDepth ... JNI] [Dynamic-linking native method java.lang.Throwable.getStackTraceElement ... JNI] [Dynamic-linking native method java.io.FileOutputStream.writeBytes ... JNI] Exception in Application start method [Dynamic-linking native method com.sun.glass.ui.win.WinApplication._terminateLoop ... JNI] [Dynamic-linking native method com.sun.glass.ui.win.WinTimer._stop ... JNI] [Dynamic-linking native method com.sun.prism.d3d.D3DPipeline.nDispose ... JNI] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:363) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:303) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:875) at com.sun.javafx.application.LauncherImpl.lambda$0(LauncherImpl.java:157) at com.sun.javafx.application.LauncherImpl$$Lambda$47/895947612.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.UnsatisfiedLinkError: com.sun.glass.ui.win.WinApplication._getHighContrastTheme()Ljava/lang/String; at com.sun.glass.ui.win.WinApplication._getHighContrastTheme(Native Method) at com.sun.glass.ui.win.WinApplication.getHighContrastTheme(WinApplication.java:261) at com.sun.javafx.tk.quantum.QuantumToolkit.getThemeName(QuantumToolkit.java:1512) at com.sun.javafx.application.PlatformImpl._setPlatformUserAgentStylesheet(PlatformImpl.java:689) at com.sun.javafx.application.PlatformImpl.setPlatformUserAgentStylesheet(PlatformImpl.java:545) at com.sun.javafx.application.PlatformImpl.setDefaultPlatformUserAgentStylesheet(PlatformImpl.java:509) at javafx.scene.control.Control.(Control.java:87) at net.ess.newTools.HtmlEditor.start(HtmlEditor.java:54) at com.sun.javafx.application.LauncherImpl.lambda$6(LauncherImpl.java:821) at com.sun.javafx.application.LauncherImpl$$Lambda$50/1113966589.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$6(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl$$Lambda$43/2008362258.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$18(PlatformImpl.java:295) at com.sun.javafx.application.PlatformImpl$$Lambda$46/1820470793.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$5(PlatformImpl.java:294) at com.sun.javafx.application.PlatformImpl$$Lambda$44/760563749.run(Unknown Source) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$4(WinApplication.java:100) at com.sun.glass.ui.win.WinApplication$$Lambda$36/1622006612.run(Unknown Source) ... 1 more Exception running application net.ess.newTools.HtmlEditor [Dynamic-linking native method java.lang.Shutdown.halt0 ... JNI] On the assumption that the VM is failing to load some dll, I've tried numerous means for letting eclipse know the load library path, including * passing "-Djava.library.path=" on the VM's command-line using , pointing to the JDK's bin dir, and the JavaFX2.1 install's bin dir (where all dlls appear to live) * setting the LD_LIBRARY_PATH environment var to both of the above dirs * adding both of the above dirs to PATH * cloning all dlls to the directory containing the javafx.application.Application.class file to no avail, I seem to be shooting in the dark (i.e. don't know enough what I'm doing). I'd appreciate any advice any of you can provide to help me get unstuck. Thanks, -rjs From steve.x.northover at oracle.com Fri Sep 12 21:40:40 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Fri, 12 Sep 2014 17:40:40 -0400 Subject: Problem accessing jfx native libs under eclipse on windows In-Reply-To: <54136636.70906@ensemblesoft.net> References: <54136636.70906@ensemblesoft.net> Message-ID: <54136858.3070507@oracle.com> Hi Richard, Did you follow the instructions at this link: https://wiki.openjdk.java.net/display/OpenJFX/Using+an+IDE ? You are picking up a set of shared libraries that do not match the java code you are running in the IDE. You need to set java.library.path. It's on the wiki and I meant to update it to be something sensible. My build puts the dll's in an artifacts directory: -Djava.library.path=${workspace_loc:rt}/../artifacts/sdk/rt/bin You will need to edit this expression to pick up the dll's from the standard build place (which I forget right now). Steve On 2014-09-12, 5:31 PM, Richard Steiger wrote: > I'm a newbie to JavaFX, and hoping to be able to contribute down the > road once I learn much more about it. > > To that end, I've been trying to get 8u-dev eclipse projects setup on > a Win7 box so I can start stepping through the code. The current > show-stopper is getting UnsatisfiedLinkErrors when the system is > trying to access dlls, such as glass.dll. > > My rig: > > * jdk1.8.0_05 > * eclipse-SDK-N20140722-2000-win32-x86_64 (Mars stable build, has fix > for StackOverflow bug in eclipse j8 compiler) > * hg clone of 8u-dev as of 8/26 > > Setup: > > * ran the gradle build (successfully) > * imported the eclipse projects in the repo, all cleanly compile (but > had to fix cross-project links and manually locate and attach 3p libs) > * removed javafx.* and related JavaFX sources from JAVA_HOME/src > * moved jfxrt.jar to a cache directory > > Failure situation: > > * attempting to launch jfx apps under eclipse debugger > > The following console output is typical of what I'm running into (with > -verbose:jni on the command line): > > [Dynamic-linking native method java.lang.Object.registerNatives ... JNI] > [Registering JNI native method java.lang.Object.hashCode] > [Registering JNI native method java.lang.Object.wait] > [Registering JNI native method java.lang.Object.notify] > [Registering JNI native method java.lang.Object.notifyAll] > [Registering JNI native method java.lang.Object.clone] > [Dynamic-linking native method java.lang.System.registerNatives ... JNI] > [Registering JNI native method java.lang.System.currentTimeMillis] > [Registering JNI native method java.lang.System.nanoTime] > [Registering JNI native method java.lang.System.arraycopy] > [Dynamic-linking native method java.lang.Thread.registerNatives ... JNI] > [Registering JNI native method java.lang.Thread.start0] > [Registering JNI native method java.lang.Thread.stop0] > [Registering JNI native method java.lang.Thread.isAlive] > [Registering JNI native method java.lang.Thread.suspend0] > [Registering JNI native method java.lang.Thread.resume0] > [Registering JNI native method java.lang.Thread.setPriority0] > [Registering JNI native method java.lang.Thread.yield] > [Registering JNI native method java.lang.Thread.sleep] > [Registering JNI native method java.lang.Thread.currentThread] > [Registering JNI native method java.lang.Thread.countStackFrames] > [Registering JNI native method java.lang.Thread.interrupt0] > [Registering JNI native method java.lang.Thread.isInterrupted] > [Registering JNI native method java.lang.Thread.holdsLock] > [Registering JNI native method java.lang.Thread.getThreads] > [Registering JNI native method java.lang.Thread.dumpThreads] > [Registering JNI native method java.lang.Thread.setNativeName] > [Dynamic-linking native method > java.security.AccessController.getStackAccessControlContext ... JNI] > [Dynamic-linking native method > java.security.AccessController.getInheritedAccessControlContext ... JNI] > [Dynamic-linking native method java.lang.Class.registerNatives ... JNI] > [Registering JNI native method java.lang.Class.getName0] > [Registering JNI native method java.lang.Class.getSuperclass] > [Registering JNI native method java.lang.Class.getInterfaces0] > [Registering JNI native method java.lang.Class.getClassLoader0] > [Registering JNI native method java.lang.Class.isInterface] > [Registering JNI native method java.lang.Class.getSigners] > [Registering JNI native method java.lang.Class.setSigners] > [Registering JNI native method java.lang.Class.isArray] > [Registering JNI native method java.lang.Class.isPrimitive] > [Registering JNI native method java.lang.Class.getComponentType] > [Registering JNI native method java.lang.Class.getModifiers] > [Registering JNI native method java.lang.Class.getDeclaredFields0] > [Registering JNI native method java.lang.Class.getDeclaredMethods0] > [Registering JNI native method java.lang.Class.getDeclaredConstructors0] > [Registering JNI native method java.lang.Class.getProtectionDomain0] > [Registering JNI native method java.lang.Class.getDeclaredClasses0] > [Registering JNI native method java.lang.Class.getDeclaringClass0] > [Registering JNI native method java.lang.Class.getGenericSignature0] > [Registering JNI native method java.lang.Class.getRawAnnotations] > [Registering JNI native method java.lang.Class.getConstantPool] > [Registering JNI native method java.lang.Class.desiredAssertionStatus0] > [Registering JNI native method java.lang.Class.getEnclosingMethod0] > [Registering JNI native method java.lang.Class.getRawTypeAnnotations] > [Dynamic-linking native method java.lang.ClassLoader.registerNatives > ... JNI] > [Registering JNI native method java.lang.ClassLoader.retrieveDirectives] > [Dynamic-linking native method > java.security.AccessController.doPrivileged ... JNI] > [Dynamic-linking native method java.lang.Class.getPrimitiveClass ... JNI] > [Dynamic-linking native method java.lang.Float.floatToRawIntBits ... JNI] > [Dynamic-linking native method java.lang.Double.doubleToRawLongBits > ... JNI] > [Dynamic-linking native method java.lang.Double.longBitsToDouble ... JNI] > [Dynamic-linking native method java.lang.System.initProperties ... JNI] > [Dynamic-linking native method sun.misc.VM.initialize ... JNI] > [Dynamic-linking native method java.lang.Runtime.maxMemory ... JNI] > [Dynamic-linking native method java.io.FileInputStream.initIDs ... JNI] > [Dynamic-linking native method java.io.FileDescriptor.initIDs ... JNI] > [Dynamic-linking native method sun.misc.Unsafe.registerNatives ... JNI] > [Registering JNI native method sun.misc.Unsafe.getObject] > [Registering JNI native method sun.misc.Unsafe.putObject] > [Registering JNI native method sun.misc.Unsafe.getObjectVolatile] > [Registering JNI native method sun.misc.Unsafe.putObjectVolatile] > [Registering JNI native method sun.misc.Unsafe.getBoolean] > [Registering JNI native method sun.misc.Unsafe.putBoolean] > [Registering JNI native method sun.misc.Unsafe.getBooleanVolatile] > [Registering JNI native method sun.misc.Unsafe.putBooleanVolatile] > [Registering JNI native method sun.misc.Unsafe.getByte] > [Registering JNI native method sun.misc.Unsafe.putByte] > [Registering JNI native method sun.misc.Unsafe.getByteVolatile] > [Registering JNI native method sun.misc.Unsafe.putByteVolatile] > [Registering JNI native method sun.misc.Unsafe.getShort] > [Registering JNI native method sun.misc.Unsafe.putShort] > [Registering JNI native method sun.misc.Unsafe.getShortVolatile] > [Registering JNI native method sun.misc.Unsafe.putShortVolatile] > [Registering JNI native method sun.misc.Unsafe.getChar] > [Registering JNI native method sun.misc.Unsafe.putChar] > [Registering JNI native method sun.misc.Unsafe.getCharVolatile] > [Registering JNI native method sun.misc.Unsafe.putCharVolatile] > [Registering JNI native method sun.misc.Unsafe.getInt] > [Registering JNI native method sun.misc.Unsafe.putInt] > [Registering JNI native method sun.misc.Unsafe.getIntVolatile] > [Registering JNI native method sun.misc.Unsafe.putIntVolatile] > [Registering JNI native method sun.misc.Unsafe.getLong] > [Registering JNI native method sun.misc.Unsafe.putLong] > [Registering JNI native method sun.misc.Unsafe.getLongVolatile] > [Registering JNI native method sun.misc.Unsafe.putLongVolatile] > [Registering JNI native method sun.misc.Unsafe.getFloat] > [Registering JNI native method sun.misc.Unsafe.putFloat] > [Registering JNI native method sun.misc.Unsafe.getFloatVolatile] > [Registering JNI native method sun.misc.Unsafe.putFloatVolatile] > [Registering JNI native method sun.misc.Unsafe.getDouble] > [Registering JNI native method sun.misc.Unsafe.putDouble] > [Registering JNI native method sun.misc.Unsafe.getDoubleVolatile] > [Registering JNI native method sun.misc.Unsafe.putDoubleVolatile] > [Registering JNI native method sun.misc.Unsafe.getByte] > [Registering JNI native method sun.misc.Unsafe.putByte] > [Registering JNI native method sun.misc.Unsafe.getShort] > [Registering JNI native method sun.misc.Unsafe.putShort] > [Registering JNI native method sun.misc.Unsafe.getChar] > [Registering JNI native method sun.misc.Unsafe.putChar] > [Registering JNI native method sun.misc.Unsafe.getInt] > [Registering JNI native method sun.misc.Unsafe.putInt] > [Registering JNI native method sun.misc.Unsafe.getLong] > [Registering JNI native method sun.misc.Unsafe.putLong] > [Registering JNI native method sun.misc.Unsafe.getFloat] > [Registering JNI native method sun.misc.Unsafe.putFloat] > [Registering JNI native method sun.misc.Unsafe.getDouble] > [Registering JNI native method sun.misc.Unsafe.putDouble] > [Registering JNI native method sun.misc.Unsafe.getAddress] > [Registering JNI native method sun.misc.Unsafe.putAddress] > [Registering JNI native method sun.misc.Unsafe.allocateMemory] > [Registering JNI native method sun.misc.Unsafe.reallocateMemory] > [Registering JNI native method sun.misc.Unsafe.freeMemory] > [Registering JNI native method sun.misc.Unsafe.objectFieldOffset] > [Registering JNI native method sun.misc.Unsafe.staticFieldOffset] > [Registering JNI native method sun.misc.Unsafe.staticFieldBase] > [Registering JNI native method sun.misc.Unsafe.ensureClassInitialized] > [Registering JNI native method sun.misc.Unsafe.arrayBaseOffset] > [Registering JNI native method sun.misc.Unsafe.arrayIndexScale] > [Registering JNI native method sun.misc.Unsafe.addressSize] > [Registering JNI native method sun.misc.Unsafe.pageSize] > [Dynamic-linking native method java.lang.Throwable.fillInStackTrace > ... JNI] > [Registering JNI native method sun.misc.Unsafe.getObject] > [Registering JNI native method sun.misc.Unsafe.putObject] > [Registering JNI native method sun.misc.Unsafe.getObjectVolatile] > [Registering JNI native method sun.misc.Unsafe.putObjectVolatile] > [Registering JNI native method sun.misc.Unsafe.getBoolean] > [Registering JNI native method sun.misc.Unsafe.putBoolean] > [Registering JNI native method sun.misc.Unsafe.getBooleanVolatile] > [Registering JNI native method sun.misc.Unsafe.putBooleanVolatile] > [Registering JNI native method sun.misc.Unsafe.getByte] > [Registering JNI native method sun.misc.Unsafe.putByte] > [Registering JNI native method sun.misc.Unsafe.getByteVolatile] > [Registering JNI native method sun.misc.Unsafe.putByteVolatile] > [Registering JNI native method sun.misc.Unsafe.getShort] > [Registering JNI native method sun.misc.Unsafe.putShort] > [Registering JNI native method sun.misc.Unsafe.getShortVolatile] > [Registering JNI native method sun.misc.Unsafe.putShortVolatile] > [Registering JNI native method sun.misc.Unsafe.getChar] > [Registering JNI native method sun.misc.Unsafe.putChar] > [Registering JNI native method sun.misc.Unsafe.getCharVolatile] > [Registering JNI native method sun.misc.Unsafe.putCharVolatile] > [Registering JNI native method sun.misc.Unsafe.getInt] > [Registering JNI native method sun.misc.Unsafe.putInt] > [Registering JNI native method sun.misc.Unsafe.getIntVolatile] > [Registering JNI native method sun.misc.Unsafe.putIntVolatile] > [Registering JNI native method sun.misc.Unsafe.getLong] > [Registering JNI native method sun.misc.Unsafe.putLong] > [Registering JNI native method sun.misc.Unsafe.getLongVolatile] > [Registering JNI native method sun.misc.Unsafe.putLongVolatile] > [Registering JNI native method sun.misc.Unsafe.getFloat] > [Registering JNI native method sun.misc.Unsafe.putFloat] > [Registering JNI native method sun.misc.Unsafe.getFloatVolatile] > [Registering JNI native method sun.misc.Unsafe.putFloatVolatile] > [Registering JNI native method sun.misc.Unsafe.getDouble] > [Registering JNI native method sun.misc.Unsafe.putDouble] > [Registering JNI native method sun.misc.Unsafe.getDoubleVolatile] > [Registering JNI native method sun.misc.Unsafe.putDoubleVolatile] > [Registering JNI native method sun.misc.Unsafe.getByte] > [Registering JNI native method sun.misc.Unsafe.putByte] > [Registering JNI native method sun.misc.Unsafe.getShort] > [Registering JNI native method sun.misc.Unsafe.putShort] > [Registering JNI native method sun.misc.Unsafe.getChar] > [Registering JNI native method sun.misc.Unsafe.putChar] > [Registering JNI native method sun.misc.Unsafe.getInt] > [Registering JNI native method sun.misc.Unsafe.putInt] > [Registering JNI native method sun.misc.Unsafe.getLong] > [Registering JNI native method sun.misc.Unsafe.putLong] > [Registering JNI native method sun.misc.Unsafe.getFloat] > [Registering JNI native method sun.misc.Unsafe.putFloat] > [Registering JNI native method sun.misc.Unsafe.getDouble] > [Registering JNI native method sun.misc.Unsafe.putDouble] > [Registering JNI native method sun.misc.Unsafe.getAddress] > [Registering JNI native method sun.misc.Unsafe.putAddress] > [Registering JNI native method sun.misc.Unsafe.allocateMemory] > [Registering JNI native method sun.misc.Unsafe.reallocateMemory] > [Registering JNI native method sun.misc.Unsafe.freeMemory] > [Registering JNI native method sun.misc.Unsafe.objectFieldOffset] > [Registering JNI native method sun.misc.Unsafe.staticFieldOffset] > [Registering JNI native method sun.misc.Unsafe.staticFieldBase] > [Registering JNI native method sun.misc.Unsafe.ensureClassInitialized] > [Registering JNI native method sun.misc.Unsafe.arrayBaseOffset] > [Registering JNI native method sun.misc.Unsafe.arrayIndexScale] > [Registering JNI native method sun.misc.Unsafe.addressSize] > [Registering JNI native method sun.misc.Unsafe.pageSize] > [Registering JNI native method sun.misc.Unsafe.defineClass] > [Registering JNI native method sun.misc.Unsafe.allocateInstance] > [Registering JNI native method sun.misc.Unsafe.monitorEnter] > [Registering JNI native method sun.misc.Unsafe.monitorExit] > [Registering JNI native method sun.misc.Unsafe.tryMonitorEnter] > [Registering JNI native method sun.misc.Unsafe.throwException] > [Registering JNI native method sun.misc.Unsafe.compareAndSwapObject] > [Registering JNI native method sun.misc.Unsafe.compareAndSwapInt] > [Registering JNI native method sun.misc.Unsafe.compareAndSwapLong] > [Registering JNI native method sun.misc.Unsafe.putOrderedObject] > [Registering JNI native method sun.misc.Unsafe.putOrderedInt] > [Registering JNI native method sun.misc.Unsafe.putOrderedLong] > [Registering JNI native method sun.misc.Unsafe.park] > [Registering JNI native method sun.misc.Unsafe.unpark] > [Registering JNI native method sun.misc.Unsafe.getLoadAverage] > [Registering JNI native method sun.misc.Unsafe.copyMemory] > [Registering JNI native method sun.misc.Unsafe.setMemory] > [Registering JNI native method sun.misc.Unsafe.defineAnonymousClass] > [Registering JNI native method sun.misc.Unsafe.shouldBeInitialized] > [Registering JNI native method sun.misc.Unsafe.loadFence] > [Registering JNI native method sun.misc.Unsafe.storeFence] > [Registering JNI native method sun.misc.Unsafe.fullFence] > [Dynamic-linking native method sun.reflect.Reflection.getCallerClass > ... JNI] > [Dynamic-linking native method java.io.FileDescriptor.set ... JNI] > [Dynamic-linking native method java.io.FileOutputStream.initIDs ... JNI] > [Dynamic-linking native method > java.security.AccessController.doPrivileged ... JNI] > [Dynamic-linking native method java.lang.String.intern ... JNI] > [Dynamic-linking native method java.lang.System.setIn0 ... JNI] > [Dynamic-linking native method java.lang.Object.getClass ... JNI] > [Dynamic-linking native method java.lang.Class.forName0 ... JNI] > [Dynamic-linking native method > sun.reflect.Reflection.getClassAccessFlags ... JNI] > [Dynamic-linking native method > sun.reflect.NativeConstructorAccessorImpl.newInstance0 ... JNI] > [Dynamic-linking native method java.lang.System.setOut0 ... JNI] > [Dynamic-linking native method java.lang.System.setErr0 ... JNI] > [Dynamic-linking native method java.io.WinNTFileSystem.initIDs ... JNI] > [Dynamic-linking native method java.lang.System.mapLibraryName ... JNI] > [Dynamic-linking native method > java.lang.ClassLoader$NativeLibrary.findBuiltinLib ... JNI] > [Dynamic-linking native method > java.io.WinNTFileSystem.getBooleanAttributes ... JNI] > [Dynamic-linking native method java.io.WinNTFileSystem.canonicalize0 > ... JNI] > [Dynamic-linking native method > java.lang.ClassLoader$NativeLibrary.load ... JNI] > [Dynamic-linking native method sun.misc.Signal.findSignal ... JNI] > [Dynamic-linking native method sun.misc.Signal.handle0 ... JNI] > [Dynamic-linking native method sun.io.Win32ErrorMode.setErrorMode ... > JNI] > [Dynamic-linking native method java.lang.Compiler.registerNatives ... > JNI] > [Registering JNI native method java.lang.Compiler.compileClass] > [Registering JNI native method java.lang.Compiler.compileClasses] > [Registering JNI native method java.lang.Compiler.command] > [Registering JNI native method java.lang.Compiler.enable] > [Registering JNI native method java.lang.Compiler.disable] > [Dynamic-linking native method java.lang.Class.isAssignableFrom ... JNI] > [Dynamic-linking native method java.io.FileInputStream.open ... JNI] > [Dynamic-linking native method java.io.FileInputStream.readBytes ... JNI] > [Dynamic-linking native method java.io.FileInputStream.available ... JNI] > [Dynamic-linking native method java.lang.reflect.Array.newArray ... JNI] > [Dynamic-linking native method java.lang.Runtime.availableProcessors > ... JNI] > [Dynamic-linking native method java.io.FileInputStream.close0 ... JNI] > [Dynamic-linking native method java.io.WinNTFileSystem.list ... JNI] > [Dynamic-linking native method > java.io.WinNTFileSystem.canonicalizeWithPrefix0 ... JNI] > [Dynamic-linking native method java.lang.ClassLoader.findLoadedClass0 > ... JNI] > [Dynamic-linking native method > java.lang.ClassLoader.findBootstrapClass ... JNI] > [Dynamic-linking native method sun.misc.VMSupport.initAgentProperties > ... JNI] > [Dynamic-linking native method > java.lang.invoke.MethodHandleNatives.registerNatives ... JNI] > [Registering JNI native method java.lang.invoke.MethodHandleNatives.init] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.expand] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.resolve] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.getConstant] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.getNamedCon] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.getMembers] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.objectFieldOffset] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.setCallSiteTargetNormal] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.setCallSiteTargetVolatile] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.staticFieldOffset] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.staticFieldBase] > [Registering JNI native method > java.lang.invoke.MethodHandleNatives.getMemberVMInfo] > [Registering JNI native method java.lang.invoke.MethodHandle.invoke] > [Registering JNI native method java.lang.invoke.MethodHandle.invokeExact] > [Dynamic-linking native method > java.lang.ClassLoader$NativeLibrary.find ... JNI] > [Dynamic-linking native method > java.security.AccessController.doPrivileged ... JNI] > [Dynamic-linking native method java.util.zip.ZipFile.initIDs ... JNI] > [Dynamic-linking native method java.lang.Package.getSystemPackage0 ... > JNI] > [Dynamic-linking native method java.io.WinNTFileSystem.getLength ... JNI] > [Dynamic-linking native method sun.misc.Perf.registerNatives ... JNI] > [Registering JNI native method sun.misc.Perf.attach] > [Registering JNI native method sun.misc.Perf.detach] > [Registering JNI native method sun.misc.Perf.createLong] > [Registering JNI native method sun.misc.Perf.createByteArray] > [Registering JNI native method sun.misc.Perf.highResCounter] > [Registering JNI native method sun.misc.Perf.highResFrequency] > [Dynamic-linking native method java.lang.ClassLoader.defineClass1 ... > JNI] > [Dynamic-linking native method > java.io.WinNTFileSystem.getLastModifiedTime ... JNI] > [Dynamic-linking native method java.util.zip.ZipFile.open ... JNI] > [Dynamic-linking native method java.util.zip.ZipFile.getTotal ... JNI] > [Dynamic-linking native method java.util.zip.ZipFile.startsWithLOC ... > JNI] > [Dynamic-linking native method java.util.zip.ZipFile.getEntry ... JNI] > [Dynamic-linking native method java.util.zip.ZipFile.getEntryFlag ... > JNI] > [Dynamic-linking native method java.util.zip.ZipFile.getEntryTime ... > JNI] > [Dynamic-linking native method java.util.TimeZone.getSystemTimeZoneID > ... JNI] > [Dynamic-linking native method java.util.zip.CRC32.updateBytes ... JNI] > [Dynamic-linking native method java.util.zip.ZipFile.getEntryCrc ... JNI] > [Dynamic-linking native method java.util.zip.ZipFile.getEntrySize ... > JNI] > [Dynamic-linking native method java.util.zip.ZipFile.getEntryCSize ... > JNI] > [Dynamic-linking native method java.util.zip.ZipFile.getEntryMethod > ... JNI] > [Dynamic-linking native method java.util.zip.ZipFile.getEntryBytes ... > JNI] > [Dynamic-linking native method java.util.zip.ZipFile.freeEntry ... JNI] > [Dynamic-linking native method java.util.zip.Inflater.initIDs ... JNI] > [Dynamic-linking native method java.util.zip.Inflater.init ... JNI] > [Dynamic-linking native method java.util.zip.Inflater.inflateBytes ... > JNI] > [Dynamic-linking native method java.util.zip.ZipFile.read ... JNI] > [Dynamic-linking native method java.util.zip.Inflater.reset ... JNI] > [Dynamic-linking native method > sun.reflect.NativeMethodAccessorImpl.invoke0 ... JNI] > [Dynamic-linking native method java.lang.Class.isInstance ... JNI] > [Dynamic-linking native method > java.security.AccessController.doPrivileged ... JNI] > [Dynamic-linking native method com.sun.prism.d3d.D3DPipeline.nInit ... > JNI] > [Dynamic-linking native method > com.sun.prism.d3d.D3DPipeline.nGetAdapterCount ... JNI] > [Dynamic-linking native method java.lang.System.identityHashCode ... JNI] > [Dynamic-linking native method > com.sun.glass.ui.win.WinApplication.initIDs ... JNI] > [Dynamic-linking native method > com.sun.glass.ui.win.WinApplication._setClassLoader ... JNI] > [Dynamic-linking native method > com.sun.glass.ui.win.WinApplication._init ... JNI] > [Dynamic-linking native method > com.sun.glass.ui.win.WinApplication._runLoop ... JNI] > [Dynamic-linking native method > com.sun.glass.ui.win.WinApplication.staticScreen_getScreens ... JNI] > [Dynamic-linking native method > com.sun.prism.d3d.D3DPipeline.nGetAdapterOrdinal ... JNI] > [Dynamic-linking native method > com.sun.prism.d3d.D3DResourceFactory.nGetContext ... JNI] > [Dynamic-linking native method > com.sun.prism.d3d.D3DContext.nSetBlendEnabled ... JNI] > [Dynamic-linking native method > com.sun.prism.d3d.D3DContext.nSetDeviceParametersFor2D ... JNI] > [Dynamic-linking native method > com.sun.prism.d3d.D3DResourceFactory.nGetMaximumTextureSize ... JNI] > [Dynamic-linking native method > com.sun.glass.ui.win.WinTimer._getMinPeriod ... JNI] > [Dynamic-linking native method > com.sun.glass.ui.win.WinTimer._getMaxPeriod ... JNI] > [Dynamic-linking native method > com.sun.glass.ui.win.WinApplication._submitForLaterInvocation ... JNI] > [Dynamic-linking native method com.sun.glass.ui.win.WinTimer._start > ... JNI] > [Dynamic-linking native method java.lang.Throwable.getStackTraceDepth > ... JNI] > [Dynamic-linking native method > java.lang.Throwable.getStackTraceElement ... JNI] > [Dynamic-linking native method java.io.FileOutputStream.writeBytes ... > JNI] > Exception in Application start method > [Dynamic-linking native method > com.sun.glass.ui.win.WinApplication._terminateLoop ... JNI] > [Dynamic-linking native method com.sun.glass.ui.win.WinTimer._stop ... > JNI] > [Dynamic-linking native method com.sun.prism.d3d.D3DPipeline.nDispose > ... JNI] > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at > com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:363) > at > com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:303) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) > Caused by: java.lang.RuntimeException: Exception in Application start > method > at > com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:875) > at > com.sun.javafx.application.LauncherImpl.lambda$0(LauncherImpl.java:157) > at > com.sun.javafx.application.LauncherImpl$$Lambda$47/895947612.run(Unknown > Source) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.UnsatisfiedLinkError: > com.sun.glass.ui.win.WinApplication._getHighContrastTheme()Ljava/lang/String; > at > com.sun.glass.ui.win.WinApplication._getHighContrastTheme(Native Method) > at > com.sun.glass.ui.win.WinApplication.getHighContrastTheme(WinApplication.java:261) > at > com.sun.javafx.tk.quantum.QuantumToolkit.getThemeName(QuantumToolkit.java:1512) > at > com.sun.javafx.application.PlatformImpl._setPlatformUserAgentStylesheet(PlatformImpl.java:689) > at > com.sun.javafx.application.PlatformImpl.setPlatformUserAgentStylesheet(PlatformImpl.java:545) > at > com.sun.javafx.application.PlatformImpl.setDefaultPlatformUserAgentStylesheet(PlatformImpl.java:509) > at javafx.scene.control.Control.(Control.java:87) > at net.ess.newTools.HtmlEditor.start(HtmlEditor.java:54) > at > com.sun.javafx.application.LauncherImpl.lambda$6(LauncherImpl.java:821) > at > com.sun.javafx.application.LauncherImpl$$Lambda$50/1113966589.run(Unknown > Source) > at > com.sun.javafx.application.PlatformImpl.lambda$6(PlatformImpl.java:326) > at > com.sun.javafx.application.PlatformImpl$$Lambda$43/2008362258.run(Unknown > Source) > at > com.sun.javafx.application.PlatformImpl.lambda$18(PlatformImpl.java:295) > at > com.sun.javafx.application.PlatformImpl$$Lambda$46/1820470793.run(Unknown > Source) > at java.security.AccessController.doPrivileged(Native Method) > at > com.sun.javafx.application.PlatformImpl.lambda$5(PlatformImpl.java:294) > at > com.sun.javafx.application.PlatformImpl$$Lambda$44/760563749.run(Unknown > Source) > at > com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) > at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) > at > com.sun.glass.ui.win.WinApplication.lambda$4(WinApplication.java:100) > at > com.sun.glass.ui.win.WinApplication$$Lambda$36/1622006612.run(Unknown > Source) > ... 1 more > Exception running application net.ess.newTools.HtmlEditor > [Dynamic-linking native method java.lang.Shutdown.halt0 ... JNI] > > On the assumption that the VM is failing to load some dll, I've tried > numerous means for letting eclipse know the load library path, including > > * passing "-Djava.library.path=" on the VM's command-line using , > pointing to the JDK's bin dir, and the JavaFX2.1 install's bin dir > (where all dlls appear to live) > * setting the LD_LIBRARY_PATH environment var to both of the above dirs > * adding both of the above dirs to PATH > * cloning all dlls to the directory containing the > javafx.application.Application.class file > > to no avail, I seem to be shooting in the dark (i.e. don't know enough > what I'm doing). > > I'd appreciate any advice any of you can provide to help me get unstuck. > > Thanks, > > -rjs > From kevin.rushforth at oracle.com Fri Sep 12 22:12:04 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Fri, 12 Sep 2014 15:12:04 -0700 Subject: ACTION NEEDED: subscribe to new openjfx-changes mailing list to receive hg commit notifications Message-ID: <54136FB4.8020602@oracle.com> As discussed earlier, we are changing the commit notification alias for all openjfx project repositories [1] from the openjfx-dev discussion alias to a new openjfx-changes alias that will only be used for automated notification of changesets that are pushed to an openjfx repo. Please subscribe to this new alias [2] before Monday, 22-Sep-2014 if you want to continue receiving e-mail notification for hg commits. If you no longer wish to see commit messages, then you don't need to do anything. We will cut-over to the new alias some time on Monday, 22-Sep. I will send a reminder late next week along with a test message to the new alias. Please let me know if you have questions. -- Kevin [1] http://hg.openjdk.java.net/openjfx/ [2] http://mail.openjdk.java.net/mailman/listinfo/openjfx-changes From james.graham at oracle.com Sat Sep 13 00:10:13 2014 From: james.graham at oracle.com (james.graham at oracle.com) Date: Sat, 13 Sep 2014 00:10:13 +0000 Subject: hg: openjfx/8u-dev/rt: Fix RT-36221: INNER/OUTER stroketype drawn incorrectly on Ubuntu Message-ID: <201409130010.s8D0AD6r008180@aojmv0008> Changeset: 06b496f5c779 Author: flar Date: 2014-09-12 17:10 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/06b496f5c779 Fix RT-36221: INNER/OUTER stroketype drawn incorrectly on Ubuntu Reviewed by: kcr ! modules/graphics/src/main/java/com/sun/prism/sw/SWContext.java From kevin.rushforth at oracle.com Sat Sep 13 00:15:33 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Sat, 13 Sep 2014 00:15:33 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409130015.s8D0FYlQ008840@aojmv0008> Changeset: b2acb41b44b1 Author: hudson Date: 2014-09-10 08:28 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b2acb41b44b1 Added tag 8u40-b05 for changeset 1d08d9490df0 ! .hgtags Changeset: f4e58490d406 Author: kcr Date: 2014-09-12 17:15 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/f4e58490d406 Automated merge with http://hg.openjdk.java.net/openjfx/8u/rt - modules/fxpackager/src/main/native/launcher/linux/DeployPlatform.h - modules/fxpackager/src/main/native/launcher/linux/launcher.c - modules/fxpackager/src/main/native/launcher/linux/xmlparser.c - modules/fxpackager/src/main/native/launcher/linux/xmlparser.h - modules/fxpackager/src/main/native/launcher/win/IconSwap.cpp - modules/fxpackager/src/main/native/launcher/win/WinLauncherSvc.cpp From rsteiger at ensemblesoft.net Sat Sep 13 03:17:24 2014 From: rsteiger at ensemblesoft.net (Richard Steiger) Date: Fri, 12 Sep 2014 20:17:24 -0700 Subject: Problem accessing jfx native libs under eclipse on windows In-Reply-To: <54136858.3070507@oracle.com> References: <54136636.70906@ensemblesoft.net> <54136858.3070507@oracle.com> Message-ID: <5413B744.5080508@ensemblesoft.net> Apologies to everyone, my Thunderbird seems to be spewing out messages while I'm composing them. I'll switch to writing in a text editor and mailing the finished draft to avoid continuing to spam y'all. -rjs From jgodino at yahoo.com Sun Sep 14 16:07:31 2014 From: jgodino at yahoo.com (Francisco Javier Godino) Date: Sun, 14 Sep 2014 09:07:31 -0700 Subject: JAVAFX and Raspberry PI B In-Reply-To: <54130CF6.1020007@oracle.com> References: <1410532561.15106.YahooMailNeo@web121704.mail.ne1.yahoo.com> <54130CF6.1020007@oracle.com> Message-ID: <1410710851.25879.YahooMailNeo@web121701.mail.ne1.yahoo.com> Hi David: I followed this instructions: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html#overview The jdk recommended is as follows: "Oracle Java SE 8 JDK for Linux ARMV6/7" I don't remember how, I get the same java that you mention in "https://wiki.openjdk.java.net/display/OpenJFX/OpenJFX+on+the+Raspberry+Pi" jdk-8u6-linux-arm-vfp-hflt.gz I installed following the instrunctions in the section: "Installing the Raspberry Pi JDK 8" inside the page: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html#section3 If I run "java -version", I see this: java version "1.8.0_06" Java(TM) SE Runtime Environment (build 1.8.0_06-b23) Java HotSpot(TM) Client VM (build 25.6-b23, mixed mode) I suppose that I installed the correct one, isn't it? Thanks Javier On Friday, September 12, 2014 12:07 PM, Jerome Cambon wrote: FXMLLoader should be part of jfxrt-controls.jar (in jre/lib/ext directory) Jerome On 9/12/14, 4:36 PM, Francisco Javier Godino wrote: > Hello: > > I installed Oracle Java SE 8 JDK for Linux ARMV6/7 on Raspberry PI using Oracle indications. > > http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html#overview > > > I created an application to run on it and I have an issue loading FXML. > > The code is: > > private Initializable replaceSceneContent(String fxml) throws Exception { > > Locale locale = new Locale("es", "ES"); > ResourceBundle rb = ResourceBundle.getBundle("internacionalizacion.lang",locale) ; > > FXMLLoader loader = new FXMLLoader(); > InputStream in = Main.class.getResourceAsStream(fxml); > loader.setBuilderFactory(new JavaFXBuilderFactory()); > loader.setLocation(Main.class.getResource(fxml)); > loader.setResources(rb); > > AnchorPane page; > try { > page = (AnchorPane) loader.load(in); > } finally { > in.close(); > } > Scene scene = new Scene(page, stage.getWidth(),stage.getHeight()-50); > stage.setScene(scene); > return (Initializable) loader.getController(); > } > > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:367) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:300) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) > Caused by: java.lang.RuntimeException: Exception in Application start method > at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:894) > at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:56) > at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:158) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NoClassDefFoundError: javafx/fxml/FXMLLoader > at startup.Main.replaceSceneContent(Main.java:273) > at startup.Main.gotoPantallaPrincipal(Main.java:209) > at startup.Main.start(Main.java:180) > at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837) > at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335) > at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301) > at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298) > at java.security.AccessController.doPrivileged(Native Method) > at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298) > at com.sun.glass.ui.lens.LensApplication$RunnableEvent.dispatch(LensApplication.java:182) > at com.sun.glass.ui.lens.LensApplication._runLoop(LensApplication.java:860) > at com.sun.glass.ui.lens.LensApplication.access$1800(LensApplication.java:58) > at com.sun.glass.ui.lens.LensApplication$4.run(LensApplication.java:917) > ... 1 more > > > Do I need install anything else? > > Thanks > > Francisco From lisa.selle at oracle.com Mon Sep 15 15:37:28 2014 From: lisa.selle at oracle.com (lisa.selle at oracle.com) Date: Mon, 15 Sep 2014 15:37:28 +0000 Subject: hg: openjfx/8u-dev/rt: Revert fix for RT-37414 JavaFX x86egl cross built from a 64 bits Linux gives NumberFormatException as it causes 32 bit touch screen systems to be completely broken (RT-38660) Message-ID: <201409151537.s8FFbS5j017410@aojmv0008> Changeset: 957060db6fa5 Author: Lisa.Selle at oracle.com Date: 2014-09-15 11:37 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/957060db6fa5 Revert fix for RT-37414 JavaFX x86egl cross built from a 64 bits Linux gives NumberFormatException as it causes 32 bit touch screen systems to be completely broken (RT-38660) ! modules/graphics/src/main/java/com/sun/glass/ui/monocle/SysFS.java From David.Hill at Oracle.com Mon Sep 15 19:41:07 2014 From: David.Hill at Oracle.com (David Hill) Date: Mon, 15 Sep 2014 15:41:07 -0400 Subject: JAVAFX and Raspberry PI B In-Reply-To: <1410710851.25879.YahooMailNeo@web121701.mail.ne1.yahoo.com> References: <1410532561.15106.YahooMailNeo@web121704.mail.ne1.yahoo.com> <54130CF6.1020007@oracle.com> <1410710851.25879.YahooMailNeo@web121701.mail.ne1.yahoo.com> Message-ID: <541740D3.3060006@Oracle.com> On 9/14/14, 12:07 PM, Francisco Javier Godino wrote: > Hi David: > > > > > If I run "java -version", I see this: > > java version "1.8.0_06" > Java(TM) SE Runtime Environment (build 1.8.0_06-b23) > Java HotSpot(TM) Client VM (build 25.6-b23, mixed mode) > > I suppose that I installed the correct one, isn't it? Indeed, that is the current public release. You can check that it has FXML like I did: root at imx6qsabresd:~/sb/tmp# jar tf /opt/jdk1.8.0_06/jre/lib/ext/jfxrt-controls.jar | grep FXML javafx/fxml/FXML.class ... There are two jar files that add up to JFX on ARM - jfxrt-controls.jar and jfxrt-graphics.jar. How are you launching your application ? Dave -- David Hill Java Embedded Development "A man's feet should be planted in his country, but his eyes should survey the world." -- George Santayana (1863 - 1952) From kevin.rushforth at oracle.com Mon Sep 15 20:00:13 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Mon, 15 Sep 2014 20:00:13 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38663: Unit test timeout failure in ImageRace test Message-ID: <201409152000.s8FK0Dkq026258@aojmv0008> Changeset: c5108c2b0bb9 Author: kcr Date: 2014-09-15 11:13 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/c5108c2b0bb9 RT-38663: Unit test timeout failure in ImageRace test ! tests/system/src/test/java/com/sun/javafx/image/impl/ImageRaceTest.java From kevin.rushforth at oracle.com Mon Sep 15 20:00:14 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Mon, 15 Sep 2014 13:00:14 -0700 Subject: 8u-dev unlocked following this week's sanity testing In-Reply-To: <540605AB.3050804@oracle.com> References: <540605AB.3050804@oracle.com> Message-ID: <5417454E.2010802@oracle.com> From kevin.rushforth at oracle.com Mon Sep 15 20:07:00 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Mon, 15 Sep 2014 20:07:00 +0000 Subject: hg: openjfx/8u/rt: 56 new changesets Message-ID: <201409152007.s8FK72WJ027905@aojmv0008> Changeset: 6e4d117f2c7a Author: Felipe Heidrich Date: 2014-09-08 14:18 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/6e4d117f2c7a RT-38454: [Accessibility] HelloPagination gets RuntimeException: Accessbility requested for node not on a scene ! modules/graphics/src/main/java/com/sun/glass/ui/Accessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java ! modules/graphics/src/main/java/javafx/scene/Node.java Changeset: 3abef7f2f13f Author: Chien Yang Date: 2014-09-08 15:47 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/3abef7f2f13f Fix to RT-38555: Shader compile failure with PickTest3D on i.MX6 Reviewed by kcr ! modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java Changeset: 65b4034a7da1 Author: flar Date: 2014-09-08 15:58 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/65b4034a7da1 Fix RT-36205: Resource warnings while printing Reviewed by: kcr, prr ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PresentingPainter.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/UploadingPainter.java ! modules/graphics/src/main/java/com/sun/prism/impl/BaseResourcePool.java ! modules/graphics/src/main/java/com/sun/prism/impl/ManagedResource.java ! modules/graphics/src/main/java/com/sun/prism/impl/ResourcePool.java ! modules/graphics/src/main/java/com/sun/prism/j2d/print/J2DPrinterJob.java Changeset: d7ac4b8e6371 Author: Chien Yang Date: 2014-09-08 16:57 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d7ac4b8e6371 Redo fix to RT-38555: Shader compile failure with PickTest3D on i.MX6 Reviewed by kcr ! modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java Changeset: 965623d2f60c Author: Martin Sladecek Date: 2014-09-09 08:38 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/965623d2f60c RT-38288 [DatePicker] Does not change to new selected value if modal window is shown in DatePicker-action Reviewed by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ColorPickerSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/DatePickerSkin.java ! modules/controls/src/main/java/javafx/scene/control/ColorPicker.java ! modules/controls/src/main/java/javafx/scene/control/ComboBoxBase.java ! modules/controls/src/test/java/javafx/scene/control/ComboBoxTest.java Changeset: 15709eaf63bb Author: slions Date: 2014-09-09 08:51 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/15709eaf63bb [SCENEBUILDER] Fix DTL-6860 : Copy / Paste is broken ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/CutSelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InlineDocumentJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InlineSelectionJob.java Changeset: 41a343a71f48 Author: slions Date: 2014-09-09 08:58 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/41a343a71f48 [SCENEBUILDER] Fix DTL-6862 : Arrange commands used with multi-selection have degraded since 1.1 ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendBackwardJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendToBackJob.java Changeset: 0332535f0cb2 Author: Martin Sladecek Date: 2014-09-09 09:01 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/0332535f0cb2 RT-38448 [TextArea] Text scrolled and initial position of scrollbar moved from top (8u20) to bottom (8u40) Reviewed by: jgiles ! modules/controls/src/main/java/javafx/scene/control/TextFormatter.java ! modules/controls/src/main/java/javafx/scene/control/TextInputControl.java ! modules/controls/src/test/java/javafx/scene/control/TextInputControlTest.java Changeset: ac98aaa7adc6 Author: Martin Sladecek Date: 2014-09-09 09:03 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/ac98aaa7adc6 RT-38490 [TabPane] The tab disappeared after the index changed Reviewed by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.java Changeset: 556c2af030c1 Author: Martin Sladecek Date: 2014-09-09 09:05 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/556c2af030c1 RT-38507 [Regression] Animation in Progress Bar is out of place Reviewed by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ProgressBarSkin.java Changeset: d94bd6d65452 Author: Martin Sladecek Date: 2014-09-09 09:06 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d94bd6d65452 RT-37715 [Chart] HelloStackedAreaChart has a missing symbol Reviewed by: jgiles ! modules/controls/src/main/java/javafx/scene/chart/StackedAreaChart.java Changeset: f5a981fe054b Author: Martin Sladecek Date: 2014-09-09 09:07 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f5a981fe054b RT-38458 [Charts] Strange for loop in javafx.scence.chart.Axis Reviewed by: jgiles ! modules/controls/src/main/java/javafx/scene/chart/Axis.java Changeset: 359d7111ad78 Author: slions Date: 2014-09-09 09:36 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/359d7111ad78 [SCENEBUILDER] Partial fix for DTL-6779 : Wrap in and Unwrap commands should be available for DialogPane Add wrap in DialogPane command ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBar.fxml ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.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/UnwrapJob.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/WrapJobUtils.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/util/ContextMenuController.java Changeset: 2e40d9c0d7e4 Author: Eric Le Ponner Date: 2014-09-09 10:24 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/2e40d9c0d7e4 [SCENEBUILDER] Fix for DTL-6790 (Add Zoom In (CMD +) and Zoom Out (CMD -) to Menubar > View > Zoom). ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/i18n/SceneBuilderApp.properties ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java Changeset: d62cb8404b84 Author: Eric Le Ponner Date: 2014-09-09 11:01 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d62cb8404b84 [SCENEBUILDER] Additional fix for DTL-6790 (Add Zoom In (CMD +) and Zoom Out (CMD -) to Menubar > View > Zoom). Replaced CMD/- by CMD/SHIFT/- (because of RT-37805). ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java Changeset: 926c9f860016 Author: Anthony Petrov Date: 2014-09-09 17:41 +0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/926c9f860016 RT-38397: Mac: Application processes termination prematurely when a nested event loop is running Summary: Register the full screen exiting loop at Java level Reviewed-by: kcr, snorthov ! modules/graphics/src/main/native-glass/mac/GlassApplication.m ! modules/graphics/src/main/native-glass/mac/GlassStatics.h Changeset: 86b0f5599fad Author: Eric Le Ponner Date: 2014-09-09 15:55 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/86b0f5599fad [SCENEBUILDER] Content panel now uses SubScene (DTL-6797). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/AbstractDecoration.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/ContentPanel.fxml ! 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/WorkspaceController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/Deprecation.java Changeset: 0f7bad358c85 Author: Martin Sladecek Date: 2014-09-09 15:57 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/0f7bad358c85 TabPaneSkin: reverted accidental change in imports (from c98aaa7adc6) ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.java Changeset: aaf6fe8865fc Author: Eric Le Ponner Date: 2014-09-09 16:22 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/aaf6fe8865fc [SCENEBUILDER] UpdateReferencesJob should not invoke Selection.beginUpdate()/endUpdate(). Only subjobs that actually change the selection should do that. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java Changeset: a64315959187 Author: Eric Le Ponner Date: 2014-09-09 17:22 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/a64315959187 [SCENEBUILDER] Fix for DTL-6641 (Remove workaround for DTL-6628). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/AbstractDecoration.java Changeset: 6c32f6e8aa55 Author: Jerome Cambon Date: 2014-09-09 18:17 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/6c32f6e8aa55 [SCENEBUILDER] Fix for DTL-6852: Add a new inspector editor for DialogPane.buttonTypes property ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/BooleanEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ColumnResizePolicyEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DividerPositionsEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DoubleEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/EditorItem.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/EditorUtils.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/EventHandlerEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/GenericEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/I18nStringEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/InlineListEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/InsetsEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/IntegerEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/Point3DEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/RotateEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StringEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StyleClassEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StyleEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StylesheetEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/FontPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/Rectangle2DPopupEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java Changeset: 943cc8e0479b Author: Jerome Cambon Date: 2014-09-09 18:55 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/943cc8e0479b [SCENEBUILDER] Fix for DTL-6852 (cont'd) : added missing (new) files + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ButtonTypeEditor.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ButtonTypeEditorItem.fxml + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/property/value/ButtonTypePropertyMetadata.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/property/value/list/ButtonTypeListPropertyMetadata.java Changeset: 31ebc23af41d Author: Eric Le Ponner Date: 2014-09-09 20:15 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/31ebc23af41d [SCENEBUILDER] Removed dead variables form UpdateReferencesJob to fix DLS_DEAD_LOCAL_STORE warning from FindBugs. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java Changeset: e3db801977ca Author: Chien Yang Date: 2014-09-09 14:55 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/e3db801977ca Fix to RT-38576: Windows: Compiler error reported when using parfait (clang++) Reviewed by kcr ! modules/graphics/src/main/native-prism-d3d/D3DResourceFactory.cc Changeset: 2d34d02b27af Author: flar Date: 2014-09-09 16:16 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/2d34d02b27af Fix RT-38574: Deadlock in Presenting/UploadingPainter if resource factory is null Reviewed by: kcr ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PresentingPainter.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/UploadingPainter.java Changeset: bace5fdce0fe Author: shemnon Date: 2014-09-09 18:46 -0600 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/bace5fdce0fe [test-only] RT-38575: Java FX 8u40 build got stuck because hdiutil is hanging when it receives a message "will sleep received" Summary: Only run DMG tests when explicitly requested Reviewed-By: kcr ! build.gradle ! gradle.properties.template ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacDmgBundlerTest.java Changeset: 351df31aa086 Author: Jerome Cambon Date: 2014-09-10 10:47 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/351df31aa086 [SCENEBUILDER] Fixed FindBugs warnings. This also fix DTL-6866: Assertion error when adding ButtonTypes to a DialogPane ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/ButtonTypeEditor.java Changeset: d02883b88ce5 Author: Jerome Cambon Date: 2014-09-10 11:43 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d02883b88ce5 [SCENEBUILDER] Unused import. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/UpdateReferencesJob.java Changeset: a9f65720edc3 Author: Anthony Petrov Date: 2014-09-10 15:46 +0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/a9f65720edc3 RT-38579: Parfait: Accessibility - JNI primitive type mismatch Reviewed-by: snorthov ! modules/graphics/src/main/native-glass/win/GlassAccessible.cpp Changeset: 99b538fc6dd3 Author: Jerome Cambon Date: 2014-09-10 16:51 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/99b538fc6dd3 [SCENEBUILDER] Fix for DTL-6798: Adapt CSS Analyzer to SubScene implementation ! 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/NodeCssState.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/CssInternal.java Changeset: d8c7120ab268 Author: Eric Le Ponner Date: 2014-09-10 12:02 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/d8c7120ab268 [SCENEBUILDER] Fix for DTL-6837 (NPE when using X or Y rotationAxis). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/ContentPanelController.java Changeset: c9450b73265d Author: Eric Le Ponner Date: 2014-09-10 17:11 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/c9450b73265d [SCENEBUILDER] Merge (no conflict). Changeset: 114951fd1301 Author: ant Date: 2014-09-10 20:35 +0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/114951fd1301 RT-38290: [WebView] HTML canvas clip() functionality broken Reviewed-by: ant, peterz Contributed by: anashaty ! modules/web/src/main/java/com/sun/javafx/sg/prism/NGWebView.java ! modules/web/src/main/java/com/sun/javafx/webkit/prism/WCGraphicsPrismContext.java ! modules/web/src/main/java/com/sun/webkit/WebPage.java ! modules/web/src/main/java/com/sun/webkit/graphics/WCGraphicsContext.java ! modules/web/src/main/java/com/sun/webkit/graphics/WCRenderQueue.java ! modules/web/src/main/java/com/sun/webkit/perf/WCGraphicsPerfLogger.java Changeset: 8335da240a33 Author: shemnon Date: 2014-09-10 11:31 -0600 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/8335da240a33 RT-38567: Umbrella for Changes for JEP-208 - Java Packager Improvements Reviewed-By: kcr Summary: Initial implementation for JEP-208, including work for RT-35388, RT-37766, RT-37767, RT-36118, RT-28833, RT-34187, RT-23918, RT-37769 which are all subtasks of the JEP. ! .hgignore ! build.gradle ! buildSrc/linux.gradle ! buildSrc/mac.gradle ! buildSrc/src/main/groovy/com/sun/javafx/gradle/CCTask.groovy ! buildSrc/win.gradle ! modules/fxpackager/src/main/java/com/oracle/tools/packager/StandardBundlerParam.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxAppBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxDebBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxRpmBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacAppBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinAppBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinExeBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinMsiBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WindowsBundlerParam.java ! modules/fxpackager/src/main/java/com/sun/javafx/tools/ant/DeployFXTask.java + modules/fxpackager/src/main/java/com/sun/javafx/tools/ant/FileAssociation.java ! modules/fxpackager/src/main/java/com/sun/javafx/tools/ant/Info.java + modules/fxpackager/src/main/java/com/sun/javafx/tools/ant/SecondaryLauncher.java ! modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/DeployParams.java ! modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/bundlers/BundleParams.java + modules/fxpackager/src/main/java/jdk/packager/services/UserJvmOptionsService.java + modules/fxpackager/src/main/java/jdk/packager/services/userjvmoptions/LauncherUserJvmOptions.java + modules/fxpackager/src/main/java/jdk/packager/services/userjvmoptions/PreferencesUserJvmOptions.java ! modules/fxpackager/src/main/native/javapackager/win/javapackager.cpp - modules/fxpackager/src/main/native/launcher/linux/DeployPlatform.h - modules/fxpackager/src/main/native/launcher/linux/launcher.c + modules/fxpackager/src/main/native/launcher/linux/launcher.cpp + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/.dep.inc + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/Makefile + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Makefile-Debug.mk + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Makefile-Release.mk + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Makefile-impl.mk + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Makefile-variables.mk + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Package-Debug.bash + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/Package-Release.bash + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/configurations.xml + modules/fxpackager/src/main/native/launcher/linux/test/CppApplication_1/nbproject/project.xml - modules/fxpackager/src/main/native/launcher/linux/xmlparser.c - modules/fxpackager/src/main/native/launcher/linux/xmlparser.h ! modules/fxpackager/src/main/native/launcher/mac/main.m + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher.xcodeproj/project.pbxproj + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher.xcodeproj/project.xcworkspace/contents.xcworkspacedata + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/AppDelegate.h + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/AppDelegate.m + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/Base.lproj/MainMenu.xib + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/Images.xcassets/AppIcon.appiconset/Contents.json + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/en.lproj/Credits.rtf + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/en.lproj/InfoPlist.strings + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/testlauncher-Info.plist + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncher/testlauncher-Prefix.pch + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncherTests/en.lproj/InfoPlist.strings + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncherTests/testlauncherTests-Info.plist + modules/fxpackager/src/main/native/launcher/mac/test/testlauncher/testlauncherTests/testlauncherTests.m - modules/fxpackager/src/main/native/launcher/win/IconSwap.cpp ! modules/fxpackager/src/main/native/launcher/win/WinLauncher.cpp - modules/fxpackager/src/main/native/launcher/win/WinLauncherSvc.cpp + modules/fxpackager/src/main/native/library/common/Exports.cpp + modules/fxpackager/src/main/native/library/common/Exports.h + modules/fxpackager/src/main/native/library/common/FilePath.cpp + modules/fxpackager/src/main/native/library/common/FilePath.h + modules/fxpackager/src/main/native/library/common/GenericPlatform.cpp + modules/fxpackager/src/main/native/library/common/GenericPlatform.h + modules/fxpackager/src/main/native/library/common/Helpers.cpp + modules/fxpackager/src/main/native/library/common/Helpers.h + modules/fxpackager/src/main/native/library/common/Java.cpp + modules/fxpackager/src/main/native/library/common/Java.h + modules/fxpackager/src/main/native/library/common/JavaUserPreferences.cpp + modules/fxpackager/src/main/native/library/common/JavaUserPreferences.h + modules/fxpackager/src/main/native/library/common/JavaVirtualMachine.cpp + modules/fxpackager/src/main/native/library/common/JavaVirtualMachine.h + modules/fxpackager/src/main/native/library/common/LinuxPlatform.cpp + modules/fxpackager/src/main/native/library/common/LinuxPlatform.h + modules/fxpackager/src/main/native/library/common/Lock.cpp + modules/fxpackager/src/main/native/library/common/Lock.h + modules/fxpackager/src/main/native/library/common/MacPlatform.h + modules/fxpackager/src/main/native/library/common/MacPlatform.mm + modules/fxpackager/src/main/native/library/common/Macros.cpp + modules/fxpackager/src/main/native/library/common/Macros.h + modules/fxpackager/src/main/native/library/common/Messages.cpp + modules/fxpackager/src/main/native/library/common/Messages.h + modules/fxpackager/src/main/native/library/common/Package.cpp + modules/fxpackager/src/main/native/library/common/Package.h + modules/fxpackager/src/main/native/library/common/Platform.cpp + modules/fxpackager/src/main/native/library/common/Platform.h + modules/fxpackager/src/main/native/library/common/PlatformString.cpp + modules/fxpackager/src/main/native/library/common/PlatformString.h + modules/fxpackager/src/main/native/library/common/PlatformThread.cpp + modules/fxpackager/src/main/native/library/common/PlatformThread.h + modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp + modules/fxpackager/src/main/native/library/common/PosixPlatform.h + modules/fxpackager/src/main/native/library/common/PropertyFile.cpp + modules/fxpackager/src/main/native/library/common/PropertyFile.h + modules/fxpackager/src/main/native/library/common/WindowsPlatform.cpp + modules/fxpackager/src/main/native/library/common/WindowsPlatform.h + modules/fxpackager/src/main/native/library/common/main.cpp + modules/fxpackager/src/main/native/service/win/WinLauncherSvc.cpp + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/.dep.inc + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/Makefile + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Makefile-Debug.mk + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Makefile-Release.mk + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Makefile-impl.mk + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Makefile-variables.mk + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Package-Debug.bash + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/Package-Release.bash + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/configurations.xml + modules/fxpackager/src/main/native/tests/linux/launcher/launcher/nbproject/project.xml + modules/fxpackager/src/main/native/tests/linux/library/packager/.dep.inc + modules/fxpackager/src/main/native/tests/linux/library/packager/Makefile + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Makefile-Debug.mk + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Makefile-Release.mk + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Makefile-impl.mk + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Makefile-variables.mk + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Package-Debug.bash + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/Package-Release.bash + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/configurations.xml + modules/fxpackager/src/main/native/tests/linux/library/packager/nbproject/project.xml + modules/fxpackager/src/main/native/tests/mac/launcher/launcher.xcodeproj/project.pbxproj + modules/fxpackager/src/main/native/tests/mac/launcher/launcher/launcher-Info.plist + modules/fxpackager/src/main/native/tests/mac/launcher/launcher/launcher-Prefix.pch + modules/fxpackager/src/main/native/tests/mac/library/packager/libpackager.xcodeproj/project.pbxproj + modules/fxpackager/src/main/native/tests/mac/library/packager/packager/libpackager-Prefix.pch + modules/fxpackager/src/main/native/tests/mac/library/packager/packagerTests/en.lproj/InfoPlist.strings + modules/fxpackager/src/main/native/tests/mac/library/packager/packagerTests/libpackagerTests-Info.plist + modules/fxpackager/src/main/native/tests/mac/library/packager/packagerTests/packagerTests.m + modules/fxpackager/src/main/native/tests/win/iconswap/IconSwap.vcxproj + modules/fxpackager/src/main/native/tests/win/launcher/launcher.sln + modules/fxpackager/src/main/native/tests/win/launcher/launcher.vcxproj + modules/fxpackager/src/main/native/tests/win/library/library.sln + modules/fxpackager/src/main/native/tests/win/library/library.vcxproj + modules/fxpackager/src/main/native/tests/win/library/main.def + modules/fxpackager/src/main/native/tools/win/IconSwap.cpp ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/AbstractBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/StandardBundlerParam.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxAppBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxDebBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxRpmBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.desktop ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.postinst ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.postrm ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.prerm ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.spec ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/Info.plist.template ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacAppBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacAppStoreBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WinAppBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WinServiceBundler.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WindowsBundlerParam.properties ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/template.iss ! modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/template.wxs ! modules/fxpackager/src/test/java/com/oracle/tools/packager/CLITest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxAppBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxDebBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxRpmBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppStoreBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacDmgBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacPkgBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinAppBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinExeBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinMsiBundlerTest.java ! modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinServiceBundlerTest.java ! modules/fxpackager/src/test/java/hello/HelloRectangle.java + modules/fxpackager/src/test/java/hello/SimpleBundle.java ! modules/fxpackager/src/test/java/hello/TestPackager.java ! modules/fxpackager/src/test/resources/com/sun/javafx/tools/ant/BAservicehint.xml + modules/fxpackager/src/test/resources/com/sun/javafx/tools/ant/SecondaryLaunchers_1.xml + modules/fxpackager/src/test/resources/com/sun/javafx/tools/ant/fileAssoc.xml + modules/fxpackager/src/test/resources/hello/small.ico + modules/fxpackager/src/test/resources/hello/test.icns Changeset: ee31427caf20 Author: shemnon Date: 2014-09-10 13:06 -0600 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/ee31427caf20 RT-37996: [packager] RPM Builder can't find rpmbuild in non-english locales Summary: Just look for a version number, don't depend on language dependant cues. ! modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxRpmBundler.java Changeset: 4fd7ffb45afb Author: Eric Le Ponner Date: 2014-09-11 12:16 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/4fd7ffb45afb [SCENEBUILDER] Fix for DTL-6817 (SB should resolve lookups defined in a .root style class). ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMRefresher.java Changeset: 4b422b9d2145 Author: slions Date: 2014-09-11 13:57 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/4b422b9d2145 [SCENEBUILDER] Fix DTL-6779 : Wrap in and Unwrap commands should be available for DialogPane DTL-6863 : Wrap in and Unwrap commands should be available for TextFlow DTL-6864 : Unwrap command should be available for BorderPane and TabPane ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBar.fxml ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.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/UnwrapJob.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTextFlowJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/util/ContextMenuController.java Changeset: 2abfc95e5ffd Author: Daniel Blaukopf Date: 2014-09-11 15:17 +0300 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/2abfc95e5ffd RT-37414 JavaFX x86egl cross built from a 64 bits Linux gives NumberFormatException ! modules/graphics/src/main/java/com/sun/glass/ui/monocle/SysFS.java Changeset: f0e4f63f83c1 Author: slions Date: 2014-09-11 15:31 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f0e4f63f83c1 [SCENEBUILDER] Remove dead variables from UnwrapJob.java to fix DLS_DEAD_LOCAL_STORE findbugs warning ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/UnwrapJob.java Changeset: 6dea37f368c8 Author: shemnon Date: 2014-09-11 08:02 -0600 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/6dea37f368c8 [test-only] need to check for Hand Crafted JDKs in build server tests. ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppBundlerTest.java Changeset: 65b41355c1af Author: snorthov Date: 2014-09-11 10:19 -0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/65b41355c1af {IDE ONLY] Fix IDE files for Eclipse, NetBeans and IntelliJ ! .idea/fxpackager.iml ! modules/fxpackager/.classpath ! netbeans/fxpackager/nbproject/build-impl.xml ! netbeans/fxpackager/nbproject/genfiles.properties ! netbeans/fxpackager/nbproject/project.properties ! netbeans/fxpackager/nbproject/project.xml Changeset: cf836d5d76d2 Author: David Grieve Date: 2014-09-11 10:23 -0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/cf836d5d76d2 RT-38480: [CSS] ProgressIndicator does not spin anymore since 8u20 Reviewed by: kevin, steve, jonathan ! apps/toys/Hello/src/main/java/hello/HelloProgressIndicator.java ! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/caspian/caspian.css Changeset: b0a08e558789 Author: Jerome Cambon Date: 2014-09-11 18:12 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/b0a08e558789 [SCENEBUILDER] Fix for DTL-6869: Accelerator editor does not work anymore ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/popupeditors/KeyCombinationPopupEditor.java Changeset: 12530777d84a Author: Eric Le Ponner Date: 2014-09-11 18:54 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/12530777d84a [SCENEBUILDER] SetDocumentRootJob now takes responsibility to invoke UsePredefinedSizeJob (part of DTL-6783). This removes some code duplication and avoids creating some BatchJob instances. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/RootDropTarget.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SetDocumentRootJob.java Changeset: 554c4bdd3c5f Author: shemnon Date: 2014-09-11 11:04 -0600 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/554c4bdd3c5f support multiple file registrations on windows, and normalize the exe/msi names ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinExeBundler.java ! modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinMsiBundler.java Changeset: 2200f3672dbb Author: flar Date: 2014-09-11 15:13 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/2200f3672dbb Fix RT-38536: Deadlock initializing Image Conversion utilities from multiple threads Reviewed by: kcr ! modules/graphics/src/main/java/com/sun/javafx/image/PixelUtils.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteBgr.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteBgra.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteBgraPre.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteGray.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteGrayAlpha.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteGrayAlphaPre.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteRgb.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/ByteRgba.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/IntArgb.java ! modules/graphics/src/main/java/com/sun/javafx/image/impl/IntArgbPre.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PixelUtils.java ! modules/graphics/src/main/java/com/sun/prism/Image.java + tests/system/src/test/java/com/sun/javafx/image/impl/ImageRaceTest.java Changeset: 522fe51196c8 Author: Martin Sladecek Date: 2014-09-12 09:20 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/522fe51196c8 RT-38458 [Charts, Axis] TickMark's textVisible property is ignored follow-up fix Reviewed by: jgiles, kcr ! modules/controls/src/main/java/javafx/scene/chart/Axis.java Changeset: 726b5622b633 Author: Martin Sladecek Date: 2014-09-12 09:34 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/726b5622b633 RT-38582 [Transform] transform(Bounds) and inverseTransform(Bounds) produce incorrect results Reviewed by: kcr, flar + modules/graphics/src/main/java/com/sun/javafx/geometry/BoundsUtils.java ! modules/graphics/src/main/java/javafx/scene/Node.java ! modules/graphics/src/main/java/javafx/scene/transform/Transform.java ! modules/graphics/src/test/java/javafx/scene/transform/TransformOperationsTest.java Changeset: 7f169b1de6c6 Author: slions Date: 2014-09-12 09:59 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/7f169b1de6c6 [SCENEBUILDER] Fix DTL-6855 : Add ButtonBar component to the Library ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/library/BuiltinLibrary.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/library/builtin/ButtonBar.fxml ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/Metadata.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/metadata/klass/ComponentClassMetadata.java Changeset: 1a0fe3d68229 Author: slions Date: 2014-09-12 11:04 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/1a0fe3d68229 [SCENEBUILDER] Fix wrap in ScrollPane : as multiple selection is no more allowed for the Wrap In ScrollPane command (see DTL-6856), there is no more need to set the pref view port height and width. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInScrollPaneJob.java Changeset: 787b2e2d5c86 Author: Eric Le Ponner Date: 2014-09-12 11:15 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/787b2e2d5c86 [SCENEBUILDER] Moved content of EditorController.performAddContextMenu() into AddContextMenuToSelectionJob class. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/AddContextMenuToSelectionJob.java Changeset: 6d5af625b22a Author: Eric Le Ponner Date: 2014-09-12 11:43 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/6d5af625b22a [SCENEBUILDER] Moved content of EditorController.performAddTooltip() into AddTooltipToSelectionJob class. ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/AddTooltipToSelectionJob.java < apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/AddContextMenuToSelectionJob.java Changeset: 6cabbc998483 Author: Jerome Cambon Date: 2014-09-12 12:51 +0200 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/6cabbc998483 [SCENEBUILDER] Fixed Warnings (imports) ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/RootDropTarget.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/UnwrapJob.java Changeset: 06b496f5c779 Author: flar Date: 2014-09-12 17:10 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/06b496f5c779 Fix RT-36221: INNER/OUTER stroketype drawn incorrectly on Ubuntu Reviewed by: kcr ! modules/graphics/src/main/java/com/sun/prism/sw/SWContext.java Changeset: f4e58490d406 Author: kcr Date: 2014-09-12 17:15 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/f4e58490d406 Automated merge with http://hg.openjdk.java.net/openjfx/8u/rt - modules/fxpackager/src/main/native/launcher/linux/DeployPlatform.h - modules/fxpackager/src/main/native/launcher/linux/launcher.c - modules/fxpackager/src/main/native/launcher/linux/xmlparser.c - modules/fxpackager/src/main/native/launcher/linux/xmlparser.h - modules/fxpackager/src/main/native/launcher/win/IconSwap.cpp - modules/fxpackager/src/main/native/launcher/win/WinLauncherSvc.cpp Changeset: 957060db6fa5 Author: Lisa.Selle at oracle.com Date: 2014-09-15 11:37 -0400 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/957060db6fa5 Revert fix for RT-37414 JavaFX x86egl cross built from a 64 bits Linux gives NumberFormatException as it causes 32 bit touch screen systems to be completely broken (RT-38660) ! modules/graphics/src/main/java/com/sun/glass/ui/monocle/SysFS.java From danno.ferrin at shemnon.com Mon Sep 15 22:00:54 2014 From: danno.ferrin at shemnon.com (danno.ferrin at shemnon.com) Date: Mon, 15 Sep 2014 22:00:54 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38665: [packager] LauncherUserJVMOptions native headers incorrect Message-ID: <201409152200.s8FM0t1e014538@aojmv0008> Changeset: 8501205d226c Author: shemnon Date: 2014-09-15 16:00 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8501205d226c RT-38665: [packager] LauncherUserJVMOptions native headers incorrect Summary: re-generate JNI headers and impls ! modules/fxpackager/src/main/native/library/common/Exports.cpp ! modules/fxpackager/src/main/native/library/common/Exports.h From martin.sladecek at oracle.com Tue Sep 16 06:26:22 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Tue, 16 Sep 2014 06:26:22 +0000 Subject: hg: openjfx/8u-dev/rt: [ComboBox] Popup does not respond to visibleRowCountProperty after it was shown for the first time Message-ID: <201409160626.s8G6QOup000095@aojmv0008> Changeset: 3d4cd94afd1c Author: Martin Sladecek Date: 2014-09-16 08:26 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/3d4cd94afd1c [ComboBox] Popup does not respond to visibleRowCountProperty after it was shown for the first time Reviewed by: jgiles, snorthov ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxListViewSkin.java From sandra.lions-piron at oracle.com Tue Sep 16 06:42:24 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Tue, 16 Sep 2014 06:42:24 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix Message-ID: <201409160642.s8G6gOmk002445@aojmv0008> Changeset: 12170d58aee9 Author: slions Date: 2014-09-16 08:42 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/12170d58aee9 [SCENEBUILDER] Fix DTL-6796 : NPE when a Node is deleted DTL-6868 : NPE on node delete ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/hierarchy/AbstractHierarchyPanelController.java From martin.sladecek at oracle.com Tue Sep 16 06:45:10 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Tue, 16 Sep 2014 06:45:10 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38656 BorderStroke constructor doesn't respect widths Message-ID: <201409160645.s8G6jAgj002814@aojmv0008> Changeset: 97e4b6fa0e98 Author: Martin Sladecek Date: 2014-09-16 08:45 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/97e4b6fa0e98 RT-38656 BorderStroke constructor doesn't respect widths ! modules/graphics/src/main/java/javafx/scene/layout/BorderStroke.java From sandra.lions-piron at oracle.com Tue Sep 16 06:52:04 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Tue, 16 Sep 2014 06:52:04 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6800 : cache property should be enabled when cacheHint property is set Message-ID: <201409160652.s8G6q5lF004002@aojmv0008> Changeset: 226f0ac03d26 Author: slions Date: 2014-09-16 08:51 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/226f0ac03d26 [SCENEBUILDER] Fix DTL-6800 : cache property should be enabled when cacheHint property is set + apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifyCacheHintJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/ModifySelectionJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java From sandra.lions-piron at oracle.com Tue Sep 16 07:10:53 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Tue, 16 Sep 2014 07:10:53 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6875 : Wrap in and Unwrap commands should be available for ButtonBar Message-ID: <201409160710.s8G7As7n007051@aojmv0008> Changeset: cec51708469a Author: slions Date: 2014-09-16 09:11 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/cec51708469a [SCENEBUILDER] Fix DTL-6875 : Wrap in and Unwrap commands should be available for ButtonBar ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBar.fxml ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/EditorController.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/WrapInButtonBarJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/util/ContextMenuController.java From jerome.cambon at oracle.com Tue Sep 16 07:42:37 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Tue, 16 Sep 2014 07:42:37 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409160742.s8G7gbam011612@aojmv0008> Changeset: 458738de0bf8 Author: Jerome Cambon Date: 2014-09-15 15:08 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/458738de0bf8 [SCENEBUILDER] Fix for DTL-6870: CSS Analyzer: 'Reveal in Inspector' does not work ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java Changeset: 5b506f4ece45 Author: Jerome Cambon Date: 2014-09-16 09:42 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/5b506f4ece45 [SCENEBUILDER] merge ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java From martin.sladecek at oracle.com Tue Sep 16 07:57:51 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Tue, 16 Sep 2014 07:57:51 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38654 A ListView control's items do not refresh when placed inside a SubScene node. Message-ID: <201409160757.s8G7vpki013665@aojmv0008> Changeset: 787e23c568a5 Author: Martin Sladecek Date: 2014-09-16 09:57 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/787e23c568a5 RT-38654 A ListView control's items do not refresh when placed inside a SubScene node. ! modules/graphics/src/main/java/javafx/scene/Node.java From sandra.lions-piron at oracle.com Tue Sep 16 08:29:32 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Tue, 16 Sep 2014 08:29:32 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6729 : Preferences cleaning Message-ID: <201409160829.s8G8TXDY018549@aojmv0008> Changeset: 6461965150ab Author: slions Date: 2014-09-16 10:29 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6461965150ab [SCENEBUILDER] Fix DTL-6729 : Preferences cleaning ! 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/menubar/MenuBarController.java ! 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/preferences/PreferencesRecordGlobal.java From daniel.blaukopf at oracle.com Tue Sep 16 08:39:10 2014 From: daniel.blaukopf at oracle.com (daniel.blaukopf at oracle.com) Date: Tue, 16 Sep 2014 08:39:10 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38668 [Monocle] x86egl build fails with warnings Message-ID: <201409160839.s8G8dAVG020499@aojmv0008> Changeset: e68f17bfa4f1 Author: Daniel Blaukopf Date: 2014-09-16 11:38 +0300 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e68f17bfa4f1 RT-38668 [Monocle] x86egl build fails with warnings ! modules/graphics/src/main/native-glass/monocle/x11/X11.c From eric.le.ponner at oracle.com Tue Sep 16 09:06:52 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Tue, 16 Sep 2014 09:06:52 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6879 (Content Panel can fail to visualise CSS changes from external style sheet). Message-ID: <201409160906.s8G96qfu024965@aojmv0008> Changeset: 2c70de168a90 Author: Eric Le Ponner Date: 2014-09-16 11:05 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2c70de168a90 [SCENEBUILDER] Fix for DTL-6879 (Content Panel can fail to visualise CSS changes from external style sheet). ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StylesheetEditor.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMDocument.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/util/Deprecation.java From eric.le.ponner at oracle.com Tue Sep 16 09:11:59 2014 From: eric.le.ponner at oracle.com (eric.le.ponner at oracle.com) Date: Tue, 16 Sep 2014 09:11:59 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Changed shortcut for ZoomOut to CMD and / (DTL-6790). Message-ID: <201409160911.s8G9Bxq1025773@aojmv0008> Changeset: f965f6d9b20a Author: Eric Le Ponner Date: 2014-09-16 11:12 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/f965f6d9b20a [SCENEBUILDER] Changed shortcut for ZoomOut to CMD and / (DTL-6790). ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java From yves.joan at oracle.com Tue Sep 16 09:19:30 2014 From: yves.joan at oracle.com (yves.joan at oracle.com) Date: Tue, 16 Sep 2014 09:19:30 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6873: Setting a property from the inspector may have no effect on Preview Message-ID: <201409160919.s8G9JUrL027178@aojmv0008> Changeset: 63c7bc320bc7 Author: yjoan Date: 2014-09-16 11:25 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/63c7bc320bc7 [SCENEBUILDER] Fix DTL-6873: Setting a property from the inspector may have no effect on Preview ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java From Fabrizio.Giudici at tidalwave.it Tue Sep 16 09:55:26 2014 From: Fabrizio.Giudici at tidalwave.it (Fabrizio Giudici) Date: Tue, 16 Sep 2014 11:55:26 +0200 Subject: JavaFX (1.7.0_45) and Applet: problem with layout Message-ID: Hello. A customer submitted me a problem concerning a Java WebStart applet made with JavaFX (JDK 1.7.0_45): the thing works, but at the beginning the rendering in the browser is such that a number of pixels are off the rendered area at the right and bottom borders. The problem happens with Internet Explorer and Firefox on Windows 8, even though by different pixel amounts. Just clicking with the mouse anywhere cause a re-computation of the layout so everything is ok. I can't review all of the code, so I focused on the FXML and worked on it by removing unneeded stuff and making sure that PREFERRED_SIZE is used whenever it makes sense. But the problem is always there. At this point, I think that a reasonable workaround would be to force a layout re-computation just after the initialization... but how am I supposed to do that? On a second instance, I'd like to understand what's wrong. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giudici at tidalwave.it From Fabrizio.Giudici at tidalwave.it Tue Sep 16 10:24:04 2014 From: Fabrizio.Giudici at tidalwave.it (Fabrizio Giudici) Date: Tue, 16 Sep 2014 12:24:04 +0200 Subject: JavaFX (1.7.0_45) and Applet: problem with layout In-Reply-To: References: Message-ID: On Tue, 16 Sep 2014 11:55:26 +0200, Fabrizio Giudici wrote: > it by removing unneeded stuff and making sure that PREFERRED_SIZE is Correction: I meant USE_COMPUTED_SIZE. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giudici at tidalwave.it From sandra.lions-piron at oracle.com Tue Sep 16 13:04:23 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Tue, 16 Sep 2014 13:04:23 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409161304.s8GD4N1m007086@aojmv0008> Changeset: 50f45648eecc Author: slions Date: 2014-09-16 15:03 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/50f45648eecc [SCENEBUILDER] Fix findbugs warning ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/SceneBuilderApp.java Changeset: 485cc6e5a142 Author: slions Date: 2014-09-16 15:04 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/485cc6e5a142 [SCENEBUILDER] Fix DTL-6881 : Exception and failure when trying to use Wrap In command on tab graphic ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapJobUtils.java From daniel.blaukopf at oracle.com Tue Sep 16 14:43:50 2014 From: daniel.blaukopf at oracle.com (daniel.blaukopf at oracle.com) Date: Tue, 16 Sep 2014 14:43:50 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38673 [Monocle] Fall back to headless screen if we cannot access the framebuffer Message-ID: <201409161443.s8GEhorf022929@aojmv0008> Changeset: 55914cd82ec8 Author: Daniel Blaukopf Date: 2014-09-16 17:43 +0300 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/55914cd82ec8 RT-38673 [Monocle] Fall back to headless screen if we cannot access the framebuffer ! modules/graphics/src/main/java/com/sun/glass/ui/monocle/LinuxPlatform.java From david.grieve at oracle.com Tue Sep 16 16:06:13 2014 From: david.grieve at oracle.com (david.grieve at oracle.com) Date: Tue, 16 Sep 2014 16:06:13 +0000 Subject: hg: openjfx/8u-dev/rt: 3 new changesets Message-ID: <201409161606.s8GG6D9W007832@aojmv0008> Changeset: 887985e5611d Author: David Grieve Date: 2014-09-16 12:05 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/887985e5611d RT-38616: ConcurrentModificationException when SubScene.setUserAgentStylesheet() is called ! modules/graphics/src/main/java/com/sun/javafx/css/StyleManager.java Changeset: ce204e7db505 Author: David Grieve Date: 2014-09-16 12:06 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ce204e7db505 RT-38460: [CSS, Tooltip] styleable parent is null when tooltip is manually shown ! modules/controls/src/main/java/javafx/scene/control/Tooltip.java Changeset: a61ce4ef33ae Author: David Grieve Date: 2014-09-16 12:06 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a61ce4ef33ae RT-38300: [TEST ONLY] Intermittent failure in StylesheetTest.testRT_31316_with_complex_scenegraph ! modules/graphics/src/test/java/com/sun/javafx/css/StylesheetTest.java From anthony.petrov at oracle.com Tue Sep 16 17:01:54 2014 From: anthony.petrov at oracle.com (Anthony Petrov) Date: Tue, 16 Sep 2014 21:01:54 +0400 Subject: [8u40] Review request: RT-38664: SwingNode: IllegalArgumentException about "null source" when closing combobox Message-ID: <54186D02.3070302@oracle.com> Hi Anton, Steve, Kevin, Please review the fix: https://javafx-jira.kenai.com/browse/RT-38664 -- best regards, Anthony From kevin.rushforth at oracle.com Tue Sep 16 17:39:28 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Tue, 16 Sep 2014 17:39:28 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38520: Use Lambda in Snapshot1Test.java Message-ID: <201409161739.s8GHdSkK022193@aojmv0008> Changeset: 639e8a288cc2 Author: kcr Date: 2014-09-16 10:30 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/639e8a288cc2 RT-38520: Use Lambda in Snapshot1Test.java ! tests/system/src/test/java/javafx/scene/Snapshot1Test.java From james.graham at oracle.com Tue Sep 16 22:15:45 2014 From: james.graham at oracle.com (Jim Graham) Date: Tue, 16 Sep 2014 15:15:45 -0700 Subject: 8u40 review request: RT-38556 large LinearGradient can cause a later scene fill to fail Message-ID: <5418B691.1080302@oracle.com> webrev: http://cr.openjdk.java.net/~flar/RT-38556/webrev.00/ Jira: https://javafx-jira.kenai.com/browse/RT-38556 ...jim From jonathan.giles at oracle.com Wed Sep 17 03:11:05 2014 From: jonathan.giles at oracle.com (jonathan.giles at oracle.com) Date: Wed, 17 Sep 2014 03:11:05 +0000 Subject: hg: openjfx/8u-dev/rt: [DOC ONLY] Fix for RT-38683: Javadoc should not suggest calling dialog.showAndWait().get() without checking isPresent() Message-ID: <201409170311.s8H3B7bV019262@aojmv0008> Changeset: a1563dbccd0e Author: jgiles Date: 2014-09-17 15:09 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a1563dbccd0e [DOC ONLY] Fix for RT-38683: Javadoc should not suggest calling dialog.showAndWait().get() without checking isPresent() ! modules/controls/src/main/java/javafx/scene/control/Dialog.java From anthony.petrov at oracle.com Wed Sep 17 06:17:36 2014 From: anthony.petrov at oracle.com (anthony.petrov at oracle.com) Date: Wed, 17 Sep 2014 06:17:36 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38664: SwingNode: IllegalArgumentException about "null source" when closing combobox Message-ID: <201409170617.s8H6HbIs015366@aojmv0008> Changeset: 76ebb8a404ab Author: Anthony Petrov Date: 2014-09-17 10:17 +0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/76ebb8a404ab RT-38664: SwingNode: IllegalArgumentException about "null source" when closing combobox Summary: Add a null check Reviewed-by: kcr ! modules/swing/src/main/java/javafx/embed/swing/SwingNode.java From martin.sladecek at oracle.com Wed Sep 17 07:31:50 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Wed, 17 Sep 2014 07:31:50 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38418 Dashed border with width is broken Message-ID: <201409170731.s8H7VpU8026284@aojmv0008> Changeset: f73646deab84 Author: Martin Sladecek Date: 2014-09-17 09:31 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/f73646deab84 RT-38418 Dashed border with width is broken RT-38493 [Region] After RT-38297, rectangular Region borders are drawn incorrectly Reviewed by: flar ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGRegion.java From martin.sladecek at oracle.com Wed Sep 17 07:43:53 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Wed, 17 Sep 2014 07:43:53 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38667 [SpltPane] Cannot set divider position in multiple splitpanes at once under certain conditions Message-ID: <201409170743.s8H7hrtJ029243@aojmv0008> Changeset: 26b2ed1d5d5b Author: Martin Sladecek Date: 2014-09-17 09:43 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/26b2ed1d5d5b RT-38667 [SpltPane] Cannot set divider position in multiple splitpanes at once under certain conditions Reviewed by: jgiles ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/SplitPaneSkin.java ! modules/controls/src/test/java/javafx/scene/control/SplitPaneTest.java From peter.penzov at gmail.com Wed Sep 17 10:22:13 2014 From: peter.penzov at gmail.com (Peter Penzov) Date: Wed, 17 Sep 2014 13:22:13 +0300 Subject: Time spinner in 8u40 Message-ID: Hi All, I successfully tested Spinner control in 8u40. final Spinner spinner = new Spinner(); spinner.setValueFactory(new SpinnerValueFactory.IntegerSpinnerValueFactory(0, 10000)); spinner.setEditable(true); I noticed that there is a Java method for time spinner LocalDateSpinnerValueFactory in SpinnerValueFactory. But the Java Method is not public. Are there plans to release time spinner in 8u40? BR, Peter From peter.penzov at gmail.com Wed Sep 17 12:11:08 2014 From: peter.penzov at gmail.com (Peter Penzov) Date: Wed, 17 Sep 2014 15:11:08 +0300 Subject: RichTextEditor in 8u40 Message-ID: Hi All, Looking at the 8u40 road map there are plans for RichTextEdito: https://wiki.openjdk.java.net/display/OpenJFX/8u40 Is there any code example that I can test? BR, Peter From steve.x.northover at oracle.com Wed Sep 17 12:59:07 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Wed, 17 Sep 2014 08:59:07 -0400 Subject: Time spinner in 8u40 In-Reply-To: References: Message-ID: <5419859B.6090106@oracle.com> Hi Peter, There are no plans to make the time spinner public for 8u40 as we are past FF (Feature Freeze). Originally, the time spinner was intended to be part of the new spinner control but there were some issues with it involving tracking the caret. It's all discussed in: https://javafx-jira.kenai.com/browse/RT-37968 Steve On 2014-09-17, 6:22 AM, Peter Penzov wrote: > Hi All, > I successfully tested Spinner control in 8u40. > > final Spinner spinner = new Spinner(); > > spinner.setValueFactory(new > SpinnerValueFactory.IntegerSpinnerValueFactory(0, 10000)); > spinner.setEditable(true); > > I noticed that there is a Java method for time spinner > LocalDateSpinnerValueFactory in SpinnerValueFactory. But the Java Method is > not public. Are there plans to release time spinner in 8u40? > > BR, > Peter From steve.x.northover at oracle.com Wed Sep 17 13:06:33 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Wed, 17 Sep 2014 09:06:33 -0400 Subject: RichTextEditor in 8u40 In-Reply-To: References: Message-ID: <54198759.2080701@oracle.com> Hi Peter, There was never an intent to have a RichTextEditor for 8u40. The wiki is tracking milestones for committed work and the possibility of starting work on a RichTextEditor prototype. At this point, given the bug backlog and other work that is targeted to 8u40, it's looking very unlikely that we will get to this. Steve On 2014-09-17, 8:11 AM, Peter Penzov wrote: > Hi All, > Looking at the 8u40 road map there are plans for RichTextEdito: > > https://wiki.openjdk.java.net/display/OpenJFX/8u40 > > Is there any code example that I can test? > > BR, > Peter From anton.tarasov at oracle.com Wed Sep 17 17:31:12 2014 From: anton.tarasov at oracle.com (Anton V. Tarasov) Date: Wed, 17 Sep 2014 21:31:12 +0400 Subject: [8u40] Review request: RT-36449 [WebView] URLLoader throws an exception on 401 HTTP error with no body Message-ID: <5419C560.4040308@oracle.com> Hi Leonid, Kevin, Please review a fix: https://javafx-jira.kenai.com/browse/RT-36449 http://cr.openjdk.java.net/~ant/RT-36449/webrev.0 Thanks, Anton. From peatmoss84 at gmail.com Wed Sep 17 18:36:48 2014 From: peatmoss84 at gmail.com (Pete Moss) Date: Wed, 17 Sep 2014 14:36:48 -0400 Subject: Subclassing behavior in JavaFX Controls Message-ID: I am starting to work with the TableView JavaFX Control. I see that it has some nominal keyboard handling, but it is incomplete for my needs. From what I understand about the JavaFX Control architecture, all of the JavaFX Control-derived classes use a Skin class created via Control.createDefaultSkin() which, in turn, contains a behavior class that is derived from BehaviorSkinBase. However, an Oracle publication says that Control developers should NOT use BehaviorSkinBase since that is a private API. So here is the problem. I am trying to augment the behavior of the TableView class. The keyboard handling is done in TableViewBehavior so it would be nice for me to supply a subclassed version of TableViewBehavior to augment that behavior or override some of it. But I can't. If you look at the TableViewSkin class, here is the ctor that gets used: public TableViewSkin(final TableView tableView) { super(tableView, new TableViewBehavior(tableView)); ... } Because this is the only ctor available for TableViewSkin, I don't see any way I can subclass TableViewSkin and supply my own behavior instance. I can, of course, create my own skin, but then I would lose the code in TableViewSkin (unless I shamelessly copied it, which I don't want to do). It seems to me there could be a couple of different ways to fix this: 1) Add an alternative ctor that takes a behavior instance as a second argument. Then refactor the original ctor to call this, eg, public TableViewSkin(final TableView tableView, BehaviorSkinBase behavior) { super(tableView, behavior); ... } public TableViewSkin(final TableView tableView) { this(tableView, new TableViewBehavior(tableView)); } 2) Add a factory method for the behavior instance: public TableViewSkin(final TableView tableView) { BehaviorSkinBase behavior = behaviorFactory(tableView); super(tableView, behavior); ... } protected BehaviorSkinBase behaviorFactory(TableView tableView) { return new TableViewBehavior(tableView); } I see this as a shortcoming in the JavaFX architecture. If I were building a custom Control, it would not be so bad since I would provide an additional Skin ctor that takes a behavior class as an arg, but it seems that the way the code is currently structured, it is difficult to subclass a JavaFX Control and subclass its skin and behavior too. Any thoughts on how to workaround/solve this would be greatly appreciated. From tomas.mikula at gmail.com Wed Sep 17 19:02:35 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Wed, 17 Sep 2014 21:02:35 +0200 Subject: Subclassing behavior in JavaFX Controls In-Reply-To: References: Message-ID: Hi Pete, work on this is tracked in https://javafx-jira.kenai.com/browse/RT-21598 In terms of the current API, I think the best solution is to add event handlers and/or event filters on the TableView. Regarding your proposed fixes, I have a blog post where I argue that the wiring between the Behavior and the ("View" aspect of the) Skin should be reversed, i.e. that the Behavior should hold a reference to the View, not vice versa. That is, for example, against both your proposed fixes. (Note that the blog post represents my personal view only.) http://tomasmikula.github.io/blog/2014/06/11/separation-of-view-and-controller-in-javafx-controls.html Incidendally, I'm currently working on a solution to add/override keyboard shortcuts. I should be able to publish something soon. Best, Tomas On Wed, Sep 17, 2014 at 8:36 PM, Pete Moss wrote: > I am starting to work with the TableView JavaFX Control. I see that it has > some nominal keyboard handling, but it is incomplete for my needs. From > what I understand about the JavaFX Control architecture, all of the JavaFX > Control-derived classes use a Skin class created via > Control.createDefaultSkin() which, in turn, contains a behavior class that > is derived from BehaviorSkinBase. > > However, an Oracle publication says that Control developers should NOT use > BehaviorSkinBase since that is a private API. > > So here is the problem. I am trying to augment the behavior of the > TableView class. The keyboard handling is done in TableViewBehavior so it > would be nice for me to supply a subclassed version of TableViewBehavior to > augment that behavior or override some of it. But I can't. If you look at > the TableViewSkin class, here is the ctor that gets used: > > public TableViewSkin(final TableView tableView) { > super(tableView, new TableViewBehavior(tableView)); > > ... > } > > Because this is the only ctor available for TableViewSkin, I don't see any > way I can subclass TableViewSkin and supply my own behavior instance. I > can, of course, create my own skin, but then I would lose the code in > TableViewSkin (unless I shamelessly copied it, which I don't want to do). > > It seems to me there could be a couple of different ways to fix this: > 1) Add an alternative ctor that takes a behavior instance as a second > argument. Then refactor the original ctor to call this, eg, > public TableViewSkin(final TableView tableView, BehaviorSkinBase > behavior) { > super(tableView, behavior); > > ... > } > > public TableViewSkin(final TableView tableView) { > this(tableView, new TableViewBehavior(tableView)); > } > > 2) Add a factory method for the behavior instance: > public TableViewSkin(final TableView tableView) { > BehaviorSkinBase behavior = behaviorFactory(tableView); > > super(tableView, behavior); > > ... > } > > protected BehaviorSkinBase behaviorFactory(TableView tableView) > { > return new TableViewBehavior(tableView); > } > > I see this as a shortcoming in the JavaFX architecture. If I were building > a custom Control, it would not be so bad since I would provide an > additional Skin ctor that takes a behavior class as an arg, but it seems > that the way the code is currently structured, it is difficult to subclass > a JavaFX Control and subclass its skin and behavior too. > > Any thoughts on how to workaround/solve this would be greatly appreciated. From kevin.rushforth at oracle.com Wed Sep 17 19:17:57 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Wed, 17 Sep 2014 19:17:57 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38481: [Logger] JavaFX apps fail to start if jfr.jar is removed from JRE Message-ID: <201409171917.s8HJHx41018037@aojmv0008> Changeset: 3cc103a35bee Author: kcr Date: 2014-09-17 11:43 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/3cc103a35bee RT-38481: [Logger] JavaFX apps fail to start if jfr.jar is removed from JRE ! modules/base/src/main/java/com/sun/javafx/logging/PulseLogger.java From kevin.rushforth at oracle.com Wed Sep 17 19:21:23 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Wed, 17 Sep 2014 12:21:23 -0700 Subject: [8u40] post-commit review: : RT-38481: [Logger] JavaFX apps fail to start if jfr.jar is removed from JRE Message-ID: <5419DF33.6090207@oracle.com> Post-commit review for: https://javafx-jira.kenai.com/browse/RT-38481 Simple change to catch NCDFE when loading the JFR-based pulse logger in addition to the exceptions already caught. -- Kevin -------------- next part -------------- An embedded message was scrubbed... From: kevin.rushforth at oracle.com Subject: hg: openjfx/8u-dev/rt: RT-38481: [Logger] JavaFX apps fail to start if jfr.jar is removed from JRE Date: Wed, 17 Sep 2014 19:17:57 +0000 Size: 3509 URL: From peatmoss84 at gmail.com Wed Sep 17 19:35:49 2014 From: peatmoss84 at gmail.com (Pete Moss) Date: Wed, 17 Sep 2014 15:35:49 -0400 Subject: Subclassing behavior in JavaFX Controls In-Reply-To: References: Message-ID: Tomas, Thanks for the fast reply. I read your blog post that you referenced and I agree with you 100%. I am a crusty MVC person and I agree, that having the Skin class (View) hold a reference to the Behavior class (Controller) rubs me the wrong way from an MVC perspective. I was looking at the JavaFX source code and trying to figure out the easiest source code path to a fix. But I agree with you that a slight redesign would be better to bring it closer to a purer MVC approach (to loosely quote General Jack D. Ripper, we must strive for a Purity Of Essence). ;) Doing what you propose would provide a much greater degree of flexibility to subclass the skin, behavior or both. I read the back and forth between you and Jonathan Giles on your blog post, and although I agree with you that a refactoring and restructuring would be better, I understand Jonathan's point of view, given that the horse is out of the barn with the current APIs and what you are proposing is a little more invasive. Which brings me back to my post and my desires to subclass skin, behavior or both for existing JavaFX Controls. It seems impossible to subclass skin and behavior. Replace, yes, but not subclass (augment). Again, any suggestions for workarounds would be appreciated. On Wed, Sep 17, 2014 at 3:02 PM, Tomas Mikula wrote: > Hi Pete, > > work on this is tracked in https://javafx-jira.kenai.com/browse/RT-21598 > > In terms of the current API, I think the best solution is to add event > handlers and/or event filters on the TableView. > > Regarding your proposed fixes, I have a blog post where I argue that > the wiring between the Behavior and the ("View" aspect of the) Skin > should be reversed, i.e. that the Behavior should hold a reference to > the View, not vice versa. That is, for example, against both your > proposed fixes. (Note that the blog post represents my personal view > only.) > http://tomasmikula.github.io/blog/2014/06/11/separation-of-view-and-controller-in-javafx-controls.html > > Incidendally, I'm currently working on a solution to add/override > keyboard shortcuts. I should be able to publish something soon. > > Best, > Tomas > > On Wed, Sep 17, 2014 at 8:36 PM, Pete Moss wrote: > > I am starting to work with the TableView JavaFX Control. I see that it > has > > some nominal keyboard handling, but it is incomplete for my needs. From > > what I understand about the JavaFX Control architecture, all of the > JavaFX > > Control-derived classes use a Skin class created via > > Control.createDefaultSkin() which, in turn, contains a behavior class > that > > is derived from BehaviorSkinBase. > > > > However, an Oracle publication says that Control developers should NOT > use > > BehaviorSkinBase since that is a private API. > > > > So here is the problem. I am trying to augment the behavior of the > > TableView class. The keyboard handling is done in TableViewBehavior so it > > would be nice for me to supply a subclassed version of TableViewBehavior > to > > augment that behavior or override some of it. But I can't. If you look at > > the TableViewSkin class, here is the ctor that gets used: > > > > public TableViewSkin(final TableView tableView) { > > super(tableView, new TableViewBehavior(tableView)); > > > > ... > > } > > > > Because this is the only ctor available for TableViewSkin, I don't see > any > > way I can subclass TableViewSkin and supply my own behavior instance. I > > can, of course, create my own skin, but then I would lose the code in > > TableViewSkin (unless I shamelessly copied it, which I don't want to do). > > > > It seems to me there could be a couple of different ways to fix this: > > 1) Add an alternative ctor that takes a behavior instance as a second > > argument. Then refactor the original ctor to call this, eg, > > public TableViewSkin(final TableView tableView, BehaviorSkinBase > > behavior) { > > super(tableView, behavior); > > > > ... > > } > > > > public TableViewSkin(final TableView tableView) { > > this(tableView, new TableViewBehavior(tableView)); > > } > > > > 2) Add a factory method for the behavior instance: > > public TableViewSkin(final TableView tableView) { > > BehaviorSkinBase behavior = behaviorFactory(tableView); > > > > super(tableView, behavior); > > > > ... > > } > > > > protected BehaviorSkinBase behaviorFactory(TableView tableView) > > { > > return new TableViewBehavior(tableView); > > } > > > > I see this as a shortcoming in the JavaFX architecture. If I were > building > > a custom Control, it would not be so bad since I would provide an > > additional Skin ctor that takes a behavior class as an arg, but it seems > > that the way the code is currently structured, it is difficult to > subclass > > a JavaFX Control and subclass its skin and behavior too. > > > > Any thoughts on how to workaround/solve this would be greatly > appreciated. > From tomas.mikula at gmail.com Wed Sep 17 19:57:55 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Wed, 17 Sep 2014 21:57:55 +0200 Subject: Subclassing behavior in JavaFX Controls In-Reply-To: References: Message-ID: Hi Pete, On Wed, Sep 17, 2014 at 9:35 PM, Pete Moss wrote: > Tomas, > > Thanks for the fast reply. > > I read your blog post that you referenced and I agree with you 100%. I am a > crusty MVC person and I agree, that having the Skin class (View) hold a > reference to the Behavior class (Controller) rubs me the wrong way from an > MVC perspective. > > I was looking at the JavaFX source code and trying to figure out the easiest > source code path to a fix. But I agree with you that a slight redesign would > be better to bring it closer to a purer MVC approach (to loosely quote > General Jack D. Ripper, we must strive for a Purity Of Essence). ;) > > Doing what you propose would provide a much greater degree of flexibility to > subclass the skin, behavior or both. > > I read the back and forth between you and Jonathan Giles on your blog post, > and although I agree with you that a refactoring and restructuring would be > better, I understand Jonathan's point of view, given that the horse is out > of the barn with the current APIs and what you are proposing is a little > more invasive. The only thing that is out is SkinBase, which is an encapsulation of both the View and the Controller. Whether and how you separate the view and the controller within your instance of SkinBase is left completely up to you, as far as the current public API goes. This means it is not too late for a change. It is not even invasive: current controls can keep using the private BehaviorSkinBase, or be moved to the new solution gradually. > > Which brings me back to my post and my desires to subclass skin, behavior or > both for existing JavaFX Controls. It seems impossible to subclass skin and > behavior. Replace, yes, but not subclass (augment). I believe that overriding keyboard shortcuts should be doable without subclassing the skin (or behavior). I'm working on something right now and hope to publish something soon. Best, Tomas > > Again, any suggestions for workarounds would be appreciated. > > > > On Wed, Sep 17, 2014 at 3:02 PM, Tomas Mikula > wrote: >> >> Hi Pete, >> >> work on this is tracked in https://javafx-jira.kenai.com/browse/RT-21598 >> >> In terms of the current API, I think the best solution is to add event >> handlers and/or event filters on the TableView. >> >> Regarding your proposed fixes, I have a blog post where I argue that >> the wiring between the Behavior and the ("View" aspect of the) Skin >> should be reversed, i.e. that the Behavior should hold a reference to >> the View, not vice versa. That is, for example, against both your >> proposed fixes. (Note that the blog post represents my personal view >> only.) >> http://tomasmikula.github.io/blog/2014/06/11/separation-of-view-and-controller-in-javafx-controls.html >> >> Incidendally, I'm currently working on a solution to add/override >> keyboard shortcuts. I should be able to publish something soon. >> >> Best, >> Tomas >> >> On Wed, Sep 17, 2014 at 8:36 PM, Pete Moss wrote: >> > I am starting to work with the TableView JavaFX Control. I see that it >> > has >> > some nominal keyboard handling, but it is incomplete for my needs. From >> > what I understand about the JavaFX Control architecture, all of the >> > JavaFX >> > Control-derived classes use a Skin class created via >> > Control.createDefaultSkin() which, in turn, contains a behavior class >> > that >> > is derived from BehaviorSkinBase. >> > >> > However, an Oracle publication says that Control developers should NOT >> > use >> > BehaviorSkinBase since that is a private API. >> > >> > So here is the problem. I am trying to augment the behavior of the >> > TableView class. The keyboard handling is done in TableViewBehavior so >> > it >> > would be nice for me to supply a subclassed version of TableViewBehavior >> > to >> > augment that behavior or override some of it. But I can't. If you look >> > at >> > the TableViewSkin class, here is the ctor that gets used: >> > >> > public TableViewSkin(final TableView tableView) { >> > super(tableView, new TableViewBehavior(tableView)); >> > >> > ... >> > } >> > >> > Because this is the only ctor available for TableViewSkin, I don't see >> > any >> > way I can subclass TableViewSkin and supply my own behavior instance. I >> > can, of course, create my own skin, but then I would lose the code in >> > TableViewSkin (unless I shamelessly copied it, which I don't want to >> > do). >> > >> > It seems to me there could be a couple of different ways to fix this: >> > 1) Add an alternative ctor that takes a behavior instance as a second >> > argument. Then refactor the original ctor to call this, eg, >> > public TableViewSkin(final TableView tableView, BehaviorSkinBase >> > behavior) { >> > super(tableView, behavior); >> > >> > ... >> > } >> > >> > public TableViewSkin(final TableView tableView) { >> > this(tableView, new TableViewBehavior(tableView)); >> > } >> > >> > 2) Add a factory method for the behavior instance: >> > public TableViewSkin(final TableView tableView) { >> > BehaviorSkinBase behavior = behaviorFactory(tableView); >> > >> > super(tableView, behavior); >> > >> > ... >> > } >> > >> > protected BehaviorSkinBase behaviorFactory(TableView tableView) >> > { >> > return new TableViewBehavior(tableView); >> > } >> > >> > I see this as a shortcoming in the JavaFX architecture. If I were >> > building >> > a custom Control, it would not be so bad since I would provide an >> > additional Skin ctor that takes a behavior class as an arg, but it seems >> > that the way the code is currently structured, it is difficult to >> > subclass >> > a JavaFX Control and subclass its skin and behavior too. >> > >> > Any thoughts on how to workaround/solve this would be greatly >> > appreciated. > > From peter.penzov at gmail.com Wed Sep 17 20:01:37 2014 From: peter.penzov at gmail.com (Peter Penzov) Date: Wed, 17 Sep 2014 23:01:37 +0300 Subject: Close all ContextMenu with mouse button Message-ID: 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 From hang.vo at oracle.com Wed Sep 17 20:36:58 2014 From: hang.vo at oracle.com (hang.vo at oracle.com) Date: Wed, 17 Sep 2014 20:36:58 +0000 Subject: hg: openjfx/8u/rt: Added tag 8u40-b06 for changeset 957060db6fa5 Message-ID: <201409172036.s8HKaw41000354@aojmv0008> Changeset: dc7dc0fa856b Author: hudson Date: 2014-09-17 13:35 -0700 URL: http://hg.openjdk.java.net/openjfx/8u/rt/rev/dc7dc0fa856b Added tag 8u40-b06 for changeset 957060db6fa5 ! .hgtags From james.graham at oracle.com Wed Sep 17 21:13:29 2014 From: james.graham at oracle.com (james.graham at oracle.com) Date: Wed, 17 Sep 2014 21:13:29 +0000 Subject: hg: openjfx/8u-dev/rt: Fix RT-38556: LinearGradient with large number of stops can cause error on Scene background fill Message-ID: <201409172113.s8HLDUB7007257@aojmv0008> Changeset: b5c3e59824b8 Author: flar Date: 2014-09-17 14:13 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b5c3e59824b8 Fix RT-38556: LinearGradient with large number of stops can cause error on Scene background fill Reviewed by: chien ! modules/graphics/src/main/java/com/sun/prism/impl/BaseContext.java ! modules/graphics/src/main/java/com/sun/prism/impl/ps/BaseShaderContext.java ! modules/graphics/src/test/java/com/sun/javafx/sg/prism/TestGraphics.java From david.dehaven at oracle.com Wed Sep 17 22:31:18 2014 From: david.dehaven at oracle.com (David DeHaven) Date: Wed, 17 Sep 2014 15:31:18 -0700 Subject: [8u40] Request for review: RT-34893: [Media] Use of QuickTime prevents Mac AppStore Submission Message-ID: JIRA issue: https://javafx-jira.kenai.com/browse/RT-34893 Webrev: http://cr.openjdk.java.net/~ddehaven/RT-34893/rt.1/ Overview: - Added AVFoundation based player class, implemented as a standalone module that will load only on 10.8 or later - Refactored some classes that were hard wired for GStreamer (namely: Audio EQ and spectrum) - Removed a couple unused/unnecessary internal media APIs - Changed how video data is sent to prism, instead of using a single buffer and offsets for planes, now we have a buffer for each plane since it's possible we could get frames that have non-contiguous plane buffers. Chunky formats just use plane 0. - Added planar Y'CbCr 4:2:0 rendering support - Added a convenience Xcode project, not used for building but it helps with development significantly - Added Xcode/OSX droppings to .hgignore, plus a couple other things that should be in there - Performed some needed media code cleanup: + modernized some for loops + lambda-ified a few places in media that sorely needed it + updated copyright dates + marked a bunch of fields final that should have been originally + added @Override annotations as appropriate to remove annoying yellow marks in Netbeans Jim and Lisa, please check the prism changes. Those will affect all platforms. Alexander and Kirill will review the media changes. Kevin, Steve please take a look at everything else like the build system. -DrD- From james.graham at oracle.com Thu Sep 18 02:44:25 2014 From: james.graham at oracle.com (Jim Graham) Date: Wed, 17 Sep 2014 19:44:25 -0700 Subject: 8u40 review request: RT-37356 SW pipeline renders progress bar too darkly Message-ID: <541A4709.4010808@oracle.com> webrev: http://cr.openjdk.java.net/~flar/RT-37356/webrev.00/ Jira: https://javafx-jira.kenai.com/browse/RT-37356 Details in the Jira comments... ...jim From chien.yang at oracle.com Thu Sep 18 05:38:23 2014 From: chien.yang at oracle.com (Chien Yang) Date: Wed, 17 Sep 2014 22:38:23 -0700 Subject: [8u40] Code Review Request For RT-38651: ES2: Need to provide query and print out (on verbose) support for OpenGL ES2 implementation dependent limits Message-ID: <541A6FCF.1030408@oracle.com> Hi Kevin and Jim, Please review the proposed enhancement: https://javafx-jira.kenai.com/browse/RT-38651 Thanks, - Chien From martin.sladecek at oracle.com Thu Sep 18 06:30:29 2014 From: martin.sladecek at oracle.com (martin.sladecek at oracle.com) Date: Thu, 18 Sep 2014 06:30:29 +0000 Subject: hg: openjfx/8u-dev/rt: Follow-up fix for RT-38418 - copy paste error when splitting the line length. Message-ID: <201409180630.s8I6UV7J001026@aojmv0008> Changeset: 27e5fd37a940 Author: Martin Sladecek 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 From sandra.lions-piron at oracle.com Thu Sep 18 08:25:56 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Thu, 18 Sep 2014 08:25:56 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix Message-ID: <201409180825.s8I8PvbN018728@aojmv0008> 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 From jerome.cambon at oracle.com Thu Sep 18 09:18:48 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Thu, 18 Sep 2014 09:18:48 +0000 Subject: 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... Message-ID: <201409180918.s8I9Inhx026403@aojmv0008> 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 From sandra.lions-piron at oracle.com Thu Sep 18 09:39:23 2014 From: sandra.lions-piron at oracle.com (sandra.lions-piron at oracle.com) Date: Thu, 18 Sep 2014 09:39:23 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix duplicated items ordering Message-ID: <201409180939.s8I9dNh2000168@aojmv0008> 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 From jerome.cambon at oracle.com Thu Sep 18 10:21:08 2014 From: jerome.cambon at oracle.com (jerome.cambon at oracle.com) Date: Thu, 18 Sep 2014 10:21:08 +0000 Subject: hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix FindBugs warning Message-ID: <201409181021.s8IALAdv006829@aojmv0008> 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 From anthony.petrov at oracle.com Thu Sep 18 12:38:58 2014 From: anthony.petrov at oracle.com (Anthony Petrov) Date: Thu, 18 Sep 2014 16:38:58 +0400 Subject: Close all ContextMenu with mouse button In-Reply-To: References: Message-ID: <541AD262.4060007@oracle.com> 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 From lehmann at media-interactive.de Thu Sep 18 13:17:06 2014 From: lehmann at media-interactive.de (Werner Lehmann) Date: Thu, 18 Sep 2014 15:17:06 +0200 Subject: Close all ContextMenu with mouse button In-Reply-To: <541AD262.4060007@oracle.com> References: <541AD262.4060007@oracle.com> Message-ID: <541ADB52.9090103@media-interactive.de> 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 From anthony.petrov at oracle.com Thu Sep 18 13:29:04 2014 From: anthony.petrov at oracle.com (Anthony Petrov) Date: Thu, 18 Sep 2014 17:29:04 +0400 Subject: Close all ContextMenu with mouse button In-Reply-To: <541ADB52.9090103@media-interactive.de> References: <541AD262.4060007@oracle.com> <541ADB52.9090103@media-interactive.de> Message-ID: <541ADE20.9030603@oracle.com> 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 From david.grieve at oracle.com Thu Sep 18 19:29:53 2014 From: david.grieve at oracle.com (david.grieve at oracle.com) Date: Thu, 18 Sep 2014 19:29:53 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38640: [CSS, Control] Improve handling of Control.getUserAgentStylesheet() Message-ID: <201409181929.s8IJTsma029962@aojmv0008> Changeset: ea09e7b425d3 Author: David Grieve 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 From david.grieve at oracle.com Thu Sep 18 19:42:32 2014 From: david.grieve at oracle.com (David Grieve) Date: Thu, 18 Sep 2014 15:42:32 -0400 Subject: [8u40] Post-commit review: RT-38640: Improve handling of Control.getUserAgentStylesheet() Message-ID: <541B35A8.5000306@oracle.com> 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. From james.graham at oracle.com Thu Sep 18 21:41:09 2014 From: james.graham at oracle.com (james.graham at oracle.com) Date: Thu, 18 Sep 2014 21:41:09 +0000 Subject: hg: openjfx/8u-dev/rt: Fix RT-37356: SW pipeline renders transparent gradients darker than normal Message-ID: <201409182141.s8ILfANk020268@aojmv0008> Changeset: 50abb5090816 Author: flar 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 From kevin.rushforth at oracle.com Fri Sep 19 01:59:58 2014 From: kevin.rushforth at oracle.com (kevin.rushforth at oracle.com) Date: Fri, 19 Sep 2014 01:59:58 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409190159.s8J1xwYO002639@aojmv0008> 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 From kevin.rushforth at oracle.com Fri Sep 19 02:06:41 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Thu, 18 Sep 2014 19:06:41 -0700 Subject: ACTION NEEDED: subscribe to new openjfx-changes mailing list to receive hg commit notifications In-Reply-To: <54136FB4.8020602@oracle.com> References: <54136FB4.8020602@oracle.com> Message-ID: <541B8FB1.2030203@oracle.com> As a reminder, please do this before Monday if you want to continue to receive commit notifications. I will send a test message on Monday morning along with a final note to this alias. -- Kevin Kevin Rushforth wrote: > As discussed earlier, we are changing the commit notification alias > for all openjfx project repositories [1] from the openjfx-dev > discussion alias to a new openjfx-changes alias that will only be used > for automated notification of changesets that are pushed to an openjfx > repo. > > Please subscribe to this new alias [2] before Monday, 22-Sep-2014 if > you want to continue receiving e-mail notification for hg commits. If > you no longer wish to see commit messages, then you don't need to do > anything. > > We will cut-over to the new alias some time on Monday, 22-Sep. I will > send a reminder late next week along with a test message to the new > alias. > > Please let me know if you have questions. > > -- Kevin > > [1] http://hg.openjdk.java.net/openjfx/ > [2] http://mail.openjdk.java.net/mailman/listinfo/openjfx-changes > From chien.yang at oracle.com Fri Sep 19 04:29:15 2014 From: chien.yang at oracle.com (chien.yang at oracle.com) Date: Fri, 19 Sep 2014 04:29:15 +0000 Subject: 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 Message-ID: <201409190429.s8J4TFoY024542@aojmv0008> Changeset: ceb8b1f8094f Author: Chien Yang 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 From chien.yang at oracle.com Fri Sep 19 04:47:54 2014 From: chien.yang at oracle.com (chien.yang at oracle.com) Date: Fri, 19 Sep 2014 04:47:54 +0000 Subject: hg: openjfx/8u-dev/rt: Fix to RT-30529: Implement gradle findbugs task Message-ID: <201409190447.s8J4lsKS026993@aojmv0008> Changeset: e5508cd5b8a5 Author: Chien Yang 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 From Fabrizio.Giudici at tidalwave.it Fri Sep 19 10:07:09 2014 From: Fabrizio.Giudici at tidalwave.it (Fabrizio Giudici) Date: Fri, 19 Sep 2014 12:07:09 +0200 Subject: JavaFX (1.7.0_45) and Applet: problem with layout In-Reply-To: References: Message-ID: On Tue, 16 Sep 2014 11:55:26 +0200, Fabrizio Giudici wrote: > Hello. > > A customer submitted me a problem concerning a Java WebStart applet made > with JavaFX (JDK 1.7.0_45): the thing works, but at the beginning the > rendering in the browser is such that a number of pixels are off the > rendered area at the right and bottom borders. The problem happens with > Internet Explorer and Firefox on Windows 8, even though by different > pixel amounts. Just clicking with the mouse anywhere cause a > re-computation of the layout so everything is ok. > > I can't review all of the code, so I focused on the FXML and worked on > it by removing unneeded stuff and making sure that PREFERRED_SIZE is > used whenever it makes sense. But the problem is always there. At this > point, I think that a reasonable workaround would be to force a layout > re-computation just after the initialization... but how am I supposed to > do that? > > On a second instance, I'd like to understand what's wrong. > Bump... anyone on this? Thanks. -- Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. "We make Java work. Everywhere." http://tidalwave.it/fabrizio/blog - fabrizio.giudici at tidalwave.it From randahl at rockit.dk Fri Sep 19 10:37:50 2014 From: randahl at rockit.dk (Randahl Fink Isaksen) Date: Fri, 19 Sep 2014 12:37:50 +0200 Subject: JavaFX (1.7.0_45) and Applet: problem with layout In-Reply-To: References: Message-ID: <603F7939-5A13-43D6-9CEA-4F975697F469@rockit.dk> Could you provide a screen shot? R. On 19 Sep 2014, at 12:07, Fabrizio Giudici wrote: > On Tue, 16 Sep 2014 11:55:26 +0200, Fabrizio Giudici wrote: > >> Hello. >> >> A customer submitted me a problem concerning a Java WebStart applet made with JavaFX (JDK 1.7.0_45): the thing works, but at the beginning the rendering in the browser is such that a number of pixels are off the rendered area at the right and bottom borders. The problem happens with Internet Explorer and Firefox on Windows 8, even though by different pixel amounts. Just clicking with the mouse anywhere cause a re-computation of the layout so everything is ok. >> >> I can't review all of the code, so I focused on the FXML and worked on it by removing unneeded stuff and making sure that PREFERRED_SIZE is used whenever it makes sense. But the problem is always there. At this point, I think that a reasonable workaround would be to force a layout re-computation just after the initialization... but how am I supposed to do that? >> >> On a second instance, I'd like to understand what's wrong. >> > > Bump... anyone on this? Thanks. > > -- > Fabrizio Giudici - Java Architect @ Tidalwave s.a.s. > "We make Java work. Everywhere." > http://tidalwave.it/fabrizio/blog - fabrizio.giudici at tidalwave.it From lehmann at media-interactive.de Fri Sep 19 11:34:41 2014 From: lehmann at media-interactive.de (Werner Lehmann) Date: Fri, 19 Sep 2014 13:34:41 +0200 Subject: How to suppress platform logger output Message-ID: <541C14D1.5000105@media-interactive.de> Hi, I'd like to use one of the Bindings.select* methods but can't really accept the tons of stderr output it generates for null steps. According to this ticket... [#RT-35957] Bindings class spits out a lot of unneeded log messages https://javafx-jira.kenai.com/browse/RT-35957 ... 8u20 resolves this by logging on the FINE level. But how can I suppress this output then? As far as I know the platform logger logs to stderr if JDK logging is not used - and we are on log4j. Which means I get FINE logging on stderr which does not help much. Rgds Werner > Sep 19, 2014 1:33:32 PM com.sun.javafx.binding.SelectBinding$SelectBindingHelper getObservableValue > WARNING: Exception while evaluating select-binding [parent, value] > Sep 19, 2014 1:33:32 PM com.sun.javafx.binding.SelectBinding$SelectBindingHelper getObservableValue > INFO: Property 'value' in ReadOnlyObjectProperty [bean: TreeItem [ value: b ], name: parent, value: null] is null > java.lang.NullPointerException > at com.sun.javafx.binding.SelectBinding$SelectBindingHelper.getObservableValue(SelectBinding.java:481) > at com.sun.javafx.binding.SelectBinding$AsString.computeValue(SelectBinding.java:394) > at javafx.beans.binding.StringBinding.get(StringBinding.java:152) > at mint.javafx.report.design.model.elements.MintJRTextField.main(MintJRTextField.java:182) > // TreeItem t1 = new TreeItem("a"); > TreeItem t2 = new TreeItem("b"); > TreeItem t3 = new TreeItem("c"); > > // t1.getChildren().add(t2); > t2.getChildren().add(t3); > > StringBinding binding = Bindings.selectString(t3, "parent", "parent", "value"); > System.out.println(binding.get()); From c.keimel at emsw.de Fri Sep 19 13:02:26 2014 From: c.keimel at emsw.de (Keimel, Christoph) Date: Fri, 19 Sep 2014 13:02:26 +0000 Subject: Thoughts about the use cases for Dialog Message-ID: <8FF6D5A0093A1041873F086CCB503A2D4E76C7D3@EM08VMSX.emsw.local> Hi I am playing around with the new Dialog API in 8u40. I am evaluating if the Dialog class could be the base for a custom Dialog implementation (Wizard) for use in a business application. The use cases for these dialogs usually require the calculation of the return value based on user input. This calculation may be a long running operation, in which case a progress bar should be displayed and the operation should be cancellable. If the operation is cancelled or could not be completed because of i.e. a database error, the dialog should stay open, so the user may change his input and try again. I am unsure, on how to setup the actions of the buttons. I tried to use a result converter to start a Service which is bound to the progress bar, cancel button and so on. This doesn't work of course, because the dialog will close before the service is done with its calculation. Since I cannot overwrite the event handler for the dialog buttons, the workaround I found was to consume the ActionEvent.ACTION in the capturing phase with an event filter and bypass the result converter altogether (which smells like a hack to me ...). Am I missing something here? Considering my difficulties above, I have the feeling that the dialogs may only be targeted for small input or information dialogs like the Alert dialog where the result value can be processed after the dialog has been closed. On the other hand, the API itself seems to have had larger constructs (i.e. Wizards) in mind, since there are things like a ButtonType.NEXT. What are your thoughts and plans concerning the Dialog class? Thanks for your time! Smile Christoph -- Christoph Keimel EM-SOFTWARE GmbH From peatmoss84 at gmail.com Fri Sep 19 13:07:36 2014 From: peatmoss84 at gmail.com (Pete Moss) Date: Fri, 19 Sep 2014 09:07:36 -0400 Subject: TableView loses focused cell after sorting Message-ID: I just noticed something odd in the TableView wrt sorting and the focused cell. It seems that if there are selected cells, after resorting, the TableView restores the selected cells (because the TablePositions will have changed), but in doing so, the focused cell is cleared. This happens in the private TableView.updateSelection() as a result of calling clearSelection(). It would seem to me that that it should cache the focused cell and restore that after sorting. Would you agree? Should I file a JIRA issue? From matthieu at brouillard.fr Fri Sep 19 13:18:31 2014 From: matthieu at brouillard.fr (Matthieu BROUILLARD) Date: Fri, 19 Sep 2014 15:18:31 +0200 Subject: JavaFX webapp navigation interception & downloads Message-ID: Hello all, In the context of embedding/wrapping existing web applications in a Java client, I am facing some issues especially in regard of navigation interception & file download. My first use case was to be able to navigate to PDFs exposed by a web application. First I did not found a convenient API in JavaFX to register a kind of "download plugin". Then, I found that some people were monitoring webengine.location property. This solution is very simple to setup but it fails when you want to intercept several navigations to the same item. Finally, I ended in investigating & demoing a way of doing it by using javascript & java-javascript bridges possibilities. I pushed my demo app to github: https://github.com/McFoggy/fxnav-interceptor What I do is: - loading the webapp - from java, inject a javascript lib - from java, inject java bridges to this JS lib - from JS, monitor the DOM - on JS DOM modification, java bridges are called and install 'ClickListener' instances on appropriate JS DOM nodes (anchors in the example) - when user click links, JS events are fired, handled by Java bridges, that can then download the target of the link and consume the JS event Do you think of easier way of doing this: - in the current JavaFX version (8u20)? - in future versions? Several tickets are already opened https://javafx-jira.kenai.com/browse/RT-19046 https://javafx-jira.kenai.com/browse/RT-36498, but I did not found any target version for them, any info? Thanks for feedback & keep on going with the great stuff you already provided. Matthieu Brouillard From david.grieve at oracle.com Fri Sep 19 13:21:01 2014 From: david.grieve at oracle.com (david.grieve at oracle.com) Date: Fri, 19 Sep 2014 13:21:01 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38395: Add ability to resolve the URL given with an @import statement relative to the FX runtime Message-ID: <201409191321.s8JDL1vf018208@aojmv0008> Changeset: 835a333ec7ee Author: David Grieve Date: 2014-09-19 08:44 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/835a333ec7ee RT-38395: Add ability to resolve the URL given with an @import statement relative to the FX runtime Reviewed-by: kcr ! modules/graphics/src/main/java/com/sun/javafx/css/StyleManager.java ! modules/graphics/src/main/java/com/sun/javafx/css/converters/URLConverter.java ! modules/graphics/src/main/java/com/sun/javafx/css/parser/CSSParser.java + tests/system/src/test/java/com/sun/javafx/css/StylesheetWithSecurityManagerTest.java + tests/system/src/test/resources/com/sun/javafx/css/StylesheetTest.css From nipa at codefx.org Fri Sep 19 13:43:27 2014 From: nipa at codefx.org (Nicolai Parlog) Date: Fri, 19 Sep 2014 15:43:27 +0200 Subject: How to suppress platform logger output In-Reply-To: <541C14D1.5000105@media-interactive.de> References: <541C14D1.5000105@media-interactive.de> Message-ID: <541C32FF.3050908@codefx.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Werner, a little off topic but it might still be relevant for you. There is a feature request logged in the JavaFX-Jira[1] which asks for a type safe way to use Bindings.select. It the comments two libraries are mentioned which do this (and more) and make selecting on object hierarchies way easier: * EasyBind by Toimas Mikula [2] (who is also on this list) * LibFX by me [3] I would recommend checking them out. I'm happy to answer questions and I'm sure so is Tomas. so long ... Nicolai [1] https://javafx-jira.kenai.com/browse/RT-35923 [2] https://github.com/TomasMikula/EasyBind [3] https://github.com/CodeFX-org/LibFX On 19.09.2014 13:34, Werner Lehmann wrote: > Hi, > > I'd like to use one of the Bindings.select* methods but can't > really accept the tons of stderr output it generates for null > steps. According to this ticket... > > [#RT-35957] Bindings class spits out a lot of unneeded log > messages https://javafx-jira.kenai.com/browse/RT-35957 > > ... 8u20 resolves this by logging on the FINE level. But how can I > suppress this output then? As far as I know the platform logger > logs to stderr if JDK logging is not used - and we are on log4j. > Which means I get FINE logging on stderr which does not help much. > > Rgds Werner > >> Sep 19, 2014 1:33:32 PM >> com.sun.javafx.binding.SelectBinding$SelectBindingHelper >> getObservableValue WARNING: Exception while evaluating >> select-binding [parent, value] Sep 19, 2014 1:33:32 PM >> com.sun.javafx.binding.SelectBinding$SelectBindingHelper >> getObservableValue INFO: Property 'value' in >> ReadOnlyObjectProperty [bean: TreeItem [ value: b ], name: >> parent, value: null] is null java.lang.NullPointerException at >> com.sun.javafx.binding.SelectBinding$SelectBindingHelper.getObservableValue(SelectBinding.java:481) >> >> >> at >> com.sun.javafx.binding.SelectBinding$AsString.computeValue(SelectBinding.java:394) >> >> >> at javafx.beans.binding.StringBinding.get(StringBinding.java:152) >> at >> mint.javafx.report.design.model.elements.MintJRTextField.main(MintJRTextField.java:182) >> > >> // TreeItem t1 = new TreeItem("a"); >> TreeItem t2 = new TreeItem("b"); TreeItem >> t3 = new TreeItem("c"); >> >> // t1.getChildren().add(t2); t2.getChildren().add(t3); >> >> StringBinding binding = Bindings.selectString(t3, "parent", >> "parent", "value"); System.out.println(binding.get()); > - -- PGP Key: http://keys.gnupg.net/pks/lookup?op=vindex&search=0xCA3BAD2E9CCCD509 Web: http:\\codefx.org a blog about software development http:\\do-foss.de Free and Open Source Software for the City of Dortmund -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJUHDL6AAoJEMo7rS6czNUJtE0QAI+gUo1ILmSKbZ6YbVbMK4oN iEby4uqqhfv+GK/0rXQo5Q4u6Z5pvWg3HlRs8V9tqAEgyy+iIkqswprEGCrr1hjb UGPLQdUIp+U1pOZzhiZk5a/JqPJXB83HQ34e18Ewc2eHfrRPgYHF4ytuJh5cGkUw qh1Fp/Pm5B3Yo9Kwdir7YkeIZQzrKclgB1Dn50uoYK6hdXLd+mUMbRu9DmWYKaT/ e5sulmPXxda2LEAHdHrpq97f85GFZ21xn4JEDdlMGCfTKJ6KHe5mTlwWbLv9S6Zs 8nXcPgbBvy8QtQyKq7Zt5xP2vdwNYswObyV4FsT4lAS0/Mjz2BVQGVL4xq86seuo RGOc398DTHgyfmC4NKXr7Uf7f40cGeTeEGDR01Ix245EFzGnOwS7qrX9ji6G6o93 cZt2MjBikrebd1aKtssNYmWT8VmopupLZHaexWYpvrNzJEfyqG2D7WO7sop6uZd9 3uqFQpSCwpuq6ajSBzvKQvGey3pFyoEBFhkB/AkI9yj0ddpMRq65KgHecn9zdsRH LyQfcj1TovCN5dZhpORNFEtWArPVf7NteNAbOU4gi96pN85Yj0mupFJQuJFR/ve2 GRoAWA+4u+u/fkl+pP2p1fzoBHTYE94+/it39PRvjdXxGAG3fC7Pmf6Yj29LNCOO na15PD3aq9vxjpfNb9yp =TbuV -----END PGP SIGNATURE----- From lehmann at media-interactive.de Fri Sep 19 13:57:14 2014 From: lehmann at media-interactive.de (Werner Lehmann) Date: Fri, 19 Sep 2014 15:57:14 +0200 Subject: How to suppress platform logger output In-Reply-To: <541C32FF.3050908@codefx.org> References: <541C14D1.5000105@media-interactive.de> <541C32FF.3050908@codefx.org> Message-ID: <541C363A.2020700@media-interactive.de> Hi Nicolai, On 19.09.2014 15:43, Nicolai Parlog wrote: > a little off topic but it might still be relevant for you. thanks, I noticed that ticket and found Tomas' blog to be a very interesting read. However, this is for a Webstart application and we already have way too many dependencies for me to add another because it is convenient for one occassion. If it weren't so much boilerplate to do this I would probably quickly hack it up myself :) Werner From peter.levart at gmail.com Fri Sep 19 14:38:27 2014 From: peter.levart at gmail.com (Peter Levart) Date: Fri, 19 Sep 2014 16:38:27 +0200 Subject: How to suppress platform logger output In-Reply-To: <541C14D1.5000105@media-interactive.de> References: <541C14D1.5000105@media-interactive.de> Message-ID: <541C3FE3.5060902@gmail.com> On 09/19/2014 01:34 PM, Werner Lehmann wrote: > Hi, > > I'd like to use one of the Bindings.select* methods but can't really > accept the tons of stderr output it generates for null steps. > According to this ticket... > > [#RT-35957] Bindings class spits out a lot of unneeded log messages > https://javafx-jira.kenai.com/browse/RT-35957 > > ... 8u20 resolves this by logging on the FINE level. But how can I > suppress this output then? As far as I know the platform logger logs > to stderr if JDK logging is not used - and we are on log4j. Which > means I get FINE logging on stderr which does not help much. Can you use the platform logger API? Like the following: sun.util.logging.PlatformLogger .getLogger("bla.bla") .setLevel(sun.util.logging.PlatformLogger.Level.WARNING); Regards, Peter > > Rgds > Werner > >> Sep 19, 2014 1:33:32 PM >> com.sun.javafx.binding.SelectBinding$SelectBindingHelper >> getObservableValue >> WARNING: Exception while evaluating select-binding [parent, value] >> Sep 19, 2014 1:33:32 PM >> com.sun.javafx.binding.SelectBinding$SelectBindingHelper >> getObservableValue >> INFO: Property 'value' in ReadOnlyObjectProperty [bean: TreeItem [ >> value: b ], name: parent, value: null] is null >> java.lang.NullPointerException >> at >> com.sun.javafx.binding.SelectBinding$SelectBindingHelper.getObservableValue(SelectBinding.java:481) >> at >> com.sun.javafx.binding.SelectBinding$AsString.computeValue(SelectBinding.java:394) >> at javafx.beans.binding.StringBinding.get(StringBinding.java:152) >> at >> mint.javafx.report.design.model.elements.MintJRTextField.main(MintJRTextField.java:182) > >> // TreeItem t1 = new TreeItem("a"); >> TreeItem t2 = new TreeItem("b"); >> TreeItem t3 = new TreeItem("c"); >> >> // t1.getChildren().add(t2); >> t2.getChildren().add(t3); >> >> StringBinding binding = Bindings.selectString(t3, "parent", >> "parent", "value"); >> System.out.println(binding.get()); > From peter.levart at gmail.com Fri Sep 19 14:46:00 2014 From: peter.levart at gmail.com (Peter Levart) Date: Fri, 19 Sep 2014 16:46:00 +0200 Subject: How to suppress platform logger output In-Reply-To: <541C3FE3.5060902@gmail.com> References: <541C14D1.5000105@media-interactive.de> <541C3FE3.5060902@gmail.com> Message-ID: <541C41A8.1050003@gmail.com> On 09/19/2014 04:38 PM, Peter Levart wrote: > On 09/19/2014 01:34 PM, Werner Lehmann wrote: >> Hi, >> >> I'd like to use one of the Bindings.select* methods but can't really >> accept the tons of stderr output it generates for null steps. >> According to this ticket... >> >> [#RT-35957] Bindings class spits out a lot of unneeded log messages >> https://javafx-jira.kenai.com/browse/RT-35957 >> >> ... 8u20 resolves this by logging on the FINE level. But how can I >> suppress this output then? As far as I know the platform logger logs >> to stderr if JDK logging is not used - and we are on log4j. That doesn't mean you can't configure JDK logging as well. If not for anything else, just to silence PlatformLogger output. Alternatively, you can have PlatformLogger output through Log4J. Use jul-to-slf4j bridge and slf4j-Log4J backend. See here: http://www.slf4j.org/legacy.html#jul-to-slf4j Regards, Peter >> Which means I get FINE logging on stderr which does not help much. > > Can you use the platform logger API? Like the following: > > sun.util.logging.PlatformLogger > .getLogger("bla.bla") > .setLevel(sun.util.logging.PlatformLogger.Level.WARNING); > > Regards, Peter > >> >> Rgds >> Werner >> >>> Sep 19, 2014 1:33:32 PM >>> com.sun.javafx.binding.SelectBinding$SelectBindingHelper >>> getObservableValue >>> WARNING: Exception while evaluating select-binding [parent, value] >>> Sep 19, 2014 1:33:32 PM >>> com.sun.javafx.binding.SelectBinding$SelectBindingHelper >>> getObservableValue >>> INFO: Property 'value' in ReadOnlyObjectProperty [bean: TreeItem [ >>> value: b ], name: parent, value: null] is null >>> java.lang.NullPointerException >>> at >>> com.sun.javafx.binding.SelectBinding$SelectBindingHelper.getObservableValue(SelectBinding.java:481) >>> at >>> com.sun.javafx.binding.SelectBinding$AsString.computeValue(SelectBinding.java:394) >>> at javafx.beans.binding.StringBinding.get(StringBinding.java:152) >>> at >>> mint.javafx.report.design.model.elements.MintJRTextField.main(MintJRTextField.java:182) >> >>> // TreeItem t1 = new TreeItem("a"); >>> TreeItem t2 = new TreeItem("b"); >>> TreeItem t3 = new TreeItem("c"); >>> >>> // t1.getChildren().add(t2); >>> t2.getChildren().add(t3); >>> >>> StringBinding binding = Bindings.selectString(t3, "parent", >>> "parent", "value"); >>> System.out.println(binding.get()); >> > From danno.ferrin at shemnon.com Fri Sep 19 14:46:10 2014 From: danno.ferrin at shemnon.com (danno.ferrin at shemnon.com) Date: Fri, 19 Sep 2014 14:46:10 +0000 Subject: hg: openjfx/8u-dev/rt: RT-38312: Modify Packager to remove QT Kit platform when creating Mac App Store bundles Message-ID: <201409191446.s8JEkAaw001533@aojmv0008> Changeset: ac413b6468e9 Author: shemnon Date: 2014-09-18 23:07 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ac413b6468e9 RT-38312: Modify Packager to remove QT Kit platform when creating Mac App Store bundles Summary: Remove unneeded debugging code ! modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacAppStoreBundler.java From lehmann at media-interactive.de Fri Sep 19 15:03:58 2014 From: lehmann at media-interactive.de (Werner Lehmann) Date: Fri, 19 Sep 2014 17:03:58 +0200 Subject: How to suppress platform logger output In-Reply-To: <541C41A8.1050003@gmail.com> References: <541C14D1.5000105@media-interactive.de> <541C3FE3.5060902@gmail.com> <541C41A8.1050003@gmail.com> Message-ID: <541C45DE.2020704@media-interactive.de> Hi Peter, this one seems to work, based on your former suggestion: com.sun.javafx.binding.Logging.getLogger().setLevel(sun.util.logging.PlatformLogger.Level.OFF); Thanks for that. Of course I am not sure if that also kills other binding-related logs I might be interested in but generally I'd prefer a runtime exception anyway. And in this particular case of a select binding it is normal operation to come across null values. About the slf4j bridge, I had shortly looked into it but it feels a bit extreme to add a jar file, modify logging, and pay the perfomance penalty mentioned on that site to get a selectString binding :) Werner On 19.09.2014 16:46, Peter Levart wrote: > Alternatively, you can have PlatformLogger output through Log4J. Use > jul-to-slf4j bridge and slf4j-Log4J backend. > > See here: > > http://www.slf4j.org/legacy.html#jul-to-slf4j From david.grieve at oracle.com Fri Sep 19 18:27:00 2014 From: david.grieve at oracle.com (david.grieve at oracle.com) Date: Fri, 19 Sep 2014 18:27:00 +0000 Subject: hg: openjfx/8u-dev/rt: 2 new changesets Message-ID: <201409191827.s8JIR0ss008582@aojmv0008> Changeset: cdc219ec5ce8 Author: David Grieve Date: 2014-09-19 13:54 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/cdc219ec5ce8 [TEST-ONLY] RT-38687: [CSS] Using setUserAgentStylesheet() with @import syntax issue ! modules/graphics/src/test/java/com/sun/javafx/css/StyleManagerTest.java + modules/graphics/src/test/resources/com/sun/javafx/css/rt38637.css Changeset: 8a674e9f9438 Author: David Grieve Date: 2014-09-19 14:26 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8a674e9f9438 RT-38687: [CSS] Using setUserAgentStylesheet() with @import syntax issue ! modules/graphics/src/main/java/com/sun/javafx/css/Rule.java ! modules/graphics/src/main/java/com/sun/javafx/css/StyleManager.java From mike at plan99.net Sun Sep 21 13:06:47 2014 From: mike at plan99.net (Mike Hearn) Date: Sun, 21 Sep 2014 15:06:47 +0200 Subject: Separating observable data structures out into a separate library? Message-ID: Observable data structures are a useful and general abstraction, which JavaFX deploys to great effect. Combined with the mirroring techniques I posted about a few months ago I found them to be a good way of combining background work and network-updated state with GUI apps. For this reason, they'd also be useful outside of JavaFX, like on Android. So I have a couple of questions: 1. Are there license reasons why the JFX Observable* framework can't be used in for example Android apps? How does the JFX license affect this? 2. If the JFX observables framework could be separated out from JFX itself, would there be any appetite for a Java 6 compatible version that resided in some separate mavenable library? From tom.schindl at bestsolution.at Sun Sep 21 15:29:48 2014 From: tom.schindl at bestsolution.at (Tom Schindl) Date: Sun, 21 Sep 2014 17:29:48 +0200 Subject: Separating observable data structures out into a separate library? In-Reply-To: References: Message-ID: <55B473A0-F73A-4653-8464-8E55E7E8E151@bestsolution.at> There is a java6 compatible version available as part of javafx-ports Tom Von meinem iPhone gesendet > Am 21.09.2014 um 15:06 schrieb Mike Hearn : > > Observable data structures are a useful and general abstraction, which > JavaFX deploys to great effect. Combined with the mirroring techniques I > posted about a few months ago I found them to be a good way of combining > background work and network-updated state with GUI apps. > > For this reason, they'd also be useful outside of JavaFX, like on Android. > So I have a couple of questions: > > 1. Are there license reasons why the JFX Observable* framework can't be > used in for example Android apps? How does the JFX license affect this? > > 2. If the JFX observables framework could be separated out from JFX > itself, would there be any appetite for a Java 6 compatible version that > resided in some separate mavenable library? From krampenschiesser at gmail.com Sun Sep 21 16:44:29 2014 From: krampenschiesser at gmail.com (Christian) Date: Sun, 21 Sep 2014 18:44:29 +0200 Subject: Calendar week view Message-ID: <541F006D.4020001@gmail.com> Hi all, besides creating jira issues and asking stupid questions I actually use javafx :) For my project I needed a week view for a calendar. The implementation is heavily based on css and a 2 gridviews with a scrollable. The code is far from beautiful but maybe it is starting point for some other people needing it. But hey, imho it looks quite nice and it works. Some screenshots: https://raw.githubusercontent.com/krampenschiesser/idnadrev/master/doc/src/asciidoc/img/workoverweek_1.png https://raw.githubusercontent.com/krampenschiesser/idnadrev/master/doc/src/asciidoc/img/workoverweek_2.png The WeekView is still based in the projects git folder but will later be moved to a separate github project: https://github.com/krampenschiesser/idnadrev/tree/master/libs/fxcontrols There is also a little sample-app that provides some data for you to play around. Enjoy :) Christian From jonathan.giles at oracle.com Mon Sep 22 03:30:49 2014 From: jonathan.giles at oracle.com (Jonathan Giles) Date: Mon, 22 Sep 2014 15:30:49 +1200 Subject: Calendar week view In-Reply-To: <541F006D.4020001@gmail.com> References: <541F006D.4020001@gmail.com> Message-ID: <541F97E9.20907@oracle.com> Looks good. You might also be interested in collaborating with the JFXtras projects - Tom Eugelink has an Agenda control that works in a similar fashion. Here's a blog post I just googled (from late 2012): http://tbeernot.wordpress.com/2012/10/18/writing-google-calendar-in-javafx/ -- Jonathan On 22/09/2014 4:44 a.m., Christian wrote: > Hi all, > > besides creating jira issues and asking stupid questions I actually > use javafx :) > For my project I needed a week view for a calendar. > The implementation is heavily based on css and a 2 gridviews with a > scrollable. > The code is far from beautiful but maybe it is starting point for some > other people needing it. > But hey, imho it looks quite nice and it works. > > Some screenshots: > https://raw.githubusercontent.com/krampenschiesser/idnadrev/master/doc/src/asciidoc/img/workoverweek_1.png > > https://raw.githubusercontent.com/krampenschiesser/idnadrev/master/doc/src/asciidoc/img/workoverweek_2.png > > > The WeekView is still based in the projects git folder but will later > be moved to a separate github project: > https://github.com/krampenschiesser/idnadrev/tree/master/libs/fxcontrols > > There is also a little sample-app that provides some data for you to > play around. > Enjoy :) > Christian From anton.tarasov at oracle.com Mon Sep 22 06:54:40 2014 From: anton.tarasov at oracle.com (anton.tarasov at oracle.com) Date: Mon, 22 Sep 2014 06:54:40 +0000 Subject: hg: openjfx/8u-dev/rt: RT-36449: [WebView] URLLoader throws an exception on 401 HTTP error with no body Message-ID: <201409220654.s8M6sfb7018288@aojmv0008> Changeset: 64d2b6d3a2a3 Author: ant Date: 2014-09-22 10:53 +0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/64d2b6d3a2a3 RT-36449: [WebView] URLLoader throws an exception on 401 HTTP error with no body Reviewed-by: kcr, lepopov ! modules/web/src/main/java/com/sun/webkit/network/URLLoader.java From daniel.fuchs at oracle.com Mon Sep 22 07:41:02 2014 From: daniel.fuchs at oracle.com (Daniel Fuchs) Date: Mon, 22 Sep 2014 09:41:02 +0200 Subject: openjfx-dev Digest, Vol 34, Issue 36 In-Reply-To: References: Message-ID: <541FD28E.1030406@oracle.com> Hi, I don't recommend using sun.* proprietary APIs. The safest way to suppress the logger output would be to switch it off in a logging.properties file. -Djava.util.logging.config.file= and inside: .level = OFF best regards, -- daniel On 22/09/14 05:30, openjfx-dev-request at openjdk.java.net wrote: > Message: 1 > Date: Fri, 19 Sep 2014 16:38:27 +0200 > From: Peter Levart > To: Werner Lehmann, > "openjfx-dev at openjdk.java.net" > Subject: Re: How to suppress platform logger output > Message-ID:<541C3FE3.5060902 at gmail.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 09/19/2014 01:34 PM, Werner Lehmann wrote: >> >Hi, >> > >> >I'd like to use one of the Bindings.select* methods but can't really >> >accept the tons of stderr output it generates for null steps. >> >According to this ticket... >> > >> >[#RT-35957] Bindings class spits out a lot of unneeded log messages >> >https://javafx-jira.kenai.com/browse/RT-35957 >> > >> >... 8u20 resolves this by logging on the FINE level. But how can I >> >suppress this output then? As far as I know the platform logger logs >> >to stderr if JDK logging is not used - and we are on log4j. Which >> >means I get FINE logging on stderr which does not help much. > Can you use the platform logger API? Like the following: > > sun.util.logging.PlatformLogger > .getLogger("bla.bla") > .setLevel(sun.util.logging.PlatformLogger.Level.WARNING); > > Regards, Peter > >> > >> >Rgds >> >Werner >> > >>> >>Sep 19, 2014 1:33:32 PM >>> >>com.sun.javafx.binding.SelectBinding$SelectBindingHelper >>> >>getObservableValue >>> >>WARNING: Exception while evaluating select-binding [parent, value] >>> >>Sep 19, 2014 1:33:32 PM >>> >>com.sun.javafx.binding.SelectBinding$SelectBindingHelper >>> >>getObservableValue >>> >>INFO: Property 'value' in ReadOnlyObjectProperty [bean: TreeItem [ >>> >>value: b ], name: parent, value: null] is null >>> >>java.lang.NullPointerException >>> >> at >>> >>com.sun.javafx.binding.SelectBinding$SelectBindingHelper.getObservableValue(SelectBinding.java:481) >>> >> at >>> >>com.sun.javafx.binding.SelectBinding$AsString.computeValue(SelectBinding.java:394) >>> >> at javafx.beans.binding.StringBinding.get(StringBinding.java:152) >>> >> at >>> >>mint.javafx.report.design.model.elements.MintJRTextField.main(MintJRTextField.java:182) >> > >>> >>// TreeItem t1 = new TreeItem("a"); >>> >> TreeItem t2 = new TreeItem("b"); >>> >> TreeItem t3 = new TreeItem("c"); >>> >> >>> >>// t1.getChildren().add(t2); >>> >> t2.getChildren().add(t3); >>> >> >>> >> StringBinding binding = Bindings.selectString(t3, "parent", >>> >>"parent", "value"); >>> >> System.out.println(binding.get()); >> > From lehmann at media-interactive.de Mon Sep 22 10:36:49 2014 From: lehmann at media-interactive.de (Werner Lehmann) Date: Mon, 22 Sep 2014 12:36:49 +0200 Subject: openjfx-dev Digest, Vol 34, Issue 36 In-Reply-To: <541FD28E.1030406@oracle.com> References: <541FD28E.1030406@oracle.com> Message-ID: <541FFBC1.4000208@media-interactive.de> Hi Daniel, actually, as it turns out that code did not even compile with javac 8u11: > [mint.javac] [...] error: package sun.util.logging.PlatformLogger does not exist > [mint.javac] com.sun.javafx.binding.Logging.getLogger().setLevel(sun.util.logging.PlatformLogger.Level.OFF); Eclipse's JDT did not have a problem. Looks to me as if javac actively "protects" that package. After exploring a few options to configure logging in code only it looks as if the only way is to really do this with a vm argument. Without WebStart it seems to be sufficient to use System.setProperty first thing in the main method but with WebStart there is no main method and it could be too late when doing it in Application.start. So, until 8u20 I am doing this: in JNLP or vmarg with -D: java.util.logging.config.file=logging.properties logging.properties: beans.level = OFF Also, I am not sure if "java.util.logging.config.file" is a trusted property for the jnlp file. I'll have to see about that. Werner On 22.09.2014 09:41, Daniel Fuchs wrote: > Hi, > > I don't recommend using sun.* proprietary APIs. > The safest way to suppress the logger output would be to > switch it off in a logging.properties file. > > -Djava.util.logging.config.file= > > and inside: > > .level = OFF > > best regards, > > -- daniel From kevin.rushforth at oracle.com Mon Sep 22 15:34:27 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Mon, 22 Sep 2014 08:34:27 -0700 Subject: openjfx-dev Digest, Vol 34, Issue 36 In-Reply-To: <541FD28E.1030406@oracle.com> References: <541FD28E.1030406@oracle.com> Message-ID: <54204183.1060306@oracle.com> +1 on this suggestion. -- Kevin Daniel Fuchs wrote: > Hi, > > I don't recommend using sun.* proprietary APIs. > The safest way to suppress the logger output would be to > switch it off in a logging.properties file. > > -Djava.util.logging.config.file= > > and inside: > > .level = OFF > > best regards, > > -- daniel > > > On 22/09/14 05:30, openjfx-dev-request at openjdk.java.net wrote: >> Message: 1 >> Date: Fri, 19 Sep 2014 16:38:27 +0200 >> From: Peter Levart >> To: Werner Lehmann, >> "openjfx-dev at openjdk.java.net" >> Subject: Re: How to suppress platform logger output >> Message-ID:<541C3FE3.5060902 at gmail.com> >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> On 09/19/2014 01:34 PM, Werner Lehmann wrote: >>> >Hi, >>> > >>> >I'd like to use one of the Bindings.select* methods but can't really >>> >accept the tons of stderr output it generates for null steps. >>> >According to this ticket... >>> > >>> >[#RT-35957] Bindings class spits out a lot of unneeded log messages >>> >https://javafx-jira.kenai.com/browse/RT-35957 >>> > >>> >... 8u20 resolves this by logging on the FINE level. But how can I >>> >suppress this output then? As far as I know the platform logger logs >>> >to stderr if JDK logging is not used - and we are on log4j. Which >>> >means I get FINE logging on stderr which does not help much. >> Can you use the platform logger API? Like the following: >> >> sun.util.logging.PlatformLogger >> .getLogger("bla.bla") >> .setLevel(sun.util.logging.PlatformLogger.Level.WARNING); >> >> Regards, Peter >> >>> > >>> >Rgds >>> >Werner >>> > >>>> >>Sep 19, 2014 1:33:32 PM >>>> >>com.sun.javafx.binding.SelectBinding$SelectBindingHelper >>>> >>getObservableValue >>>> >>WARNING: Exception while evaluating select-binding [parent, value] >>>> >>Sep 19, 2014 1:33:32 PM >>>> >>com.sun.javafx.binding.SelectBinding$SelectBindingHelper >>>> >>getObservableValue >>>> >>INFO: Property 'value' in ReadOnlyObjectProperty [bean: TreeItem [ >>>> >>value: b ], name: parent, value: null] is null >>>> >>java.lang.NullPointerException >>>> >> at >>>> >>com.sun.javafx.binding.SelectBinding$SelectBindingHelper.getObservableValue(SelectBinding.java:481) >>>> >>>> >> at >>>> >>com.sun.javafx.binding.SelectBinding$AsString.computeValue(SelectBinding.java:394) >>>> >>>> >> at >>>> javafx.beans.binding.StringBinding.get(StringBinding.java:152) >>>> >> at >>>> >>mint.javafx.report.design.model.elements.MintJRTextField.main(MintJRTextField.java:182) >>>> >>> > >>>> >>// TreeItem t1 = new TreeItem("a"); >>>> >> TreeItem t2 = new TreeItem("b"); >>>> >> TreeItem t3 = new TreeItem("c"); >>>> >> >>>> >>// t1.getChildren().add(t2); >>>> >> t2.getChildren().add(t3); >>>> >> >>>> >> StringBinding binding = Bindings.selectString(t3, "parent", >>>> >>"parent", "value"); >>>> >> System.out.println(binding.get()); >>> > > From kevin.rushforth at oracle.com Mon Sep 22 16:47:02 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Mon, 22 Sep 2014 09:47:02 -0700 Subject: ACTION NEEDED: subscribe to new openjfx-changes mailing list to receive hg commit notifications In-Reply-To: <541B8FB1.2030203@oracle.com> References: <54136FB4.8020602@oracle.com> <541B8FB1.2030203@oracle.com> Message-ID: <54205286.8050004@oracle.com> The new mailing list is now ready to go, and I expect that future commit messages will go to the new list. I just sent an initial test message to the new openjfx-changes mailing list. If you are on that list, you should receive it within the next few minutes (probably before you see this message). There is no need to reply to that message or to this one, unless you didn't receive the message, but think you should have. If you didn't receive the message, first double-check that you did in fact subscribe to the new alias. If you are still having problems, contact me off list. -- Kevin Kevin Rushforth wrote: > As a reminder, please do this before Monday if you want to continue to > receive commit notifications. I will send a test message on Monday > morning along with a final note to this alias. > > -- Kevin > > > Kevin Rushforth wrote: >> As discussed earlier, we are changing the commit notification alias >> for all openjfx project repositories [1] from the openjfx-dev >> discussion alias to a new openjfx-changes alias that will only be >> used for automated notification of changesets that are pushed to an >> openjfx repo. >> >> Please subscribe to this new alias [2] before Monday, 22-Sep-2014 if >> you want to continue receiving e-mail notification for hg commits. If >> you no longer wish to see commit messages, then you don't need to do >> anything. >> >> We will cut-over to the new alias some time on Monday, 22-Sep. I will >> send a reminder late next week along with a test message to the new >> alias. >> >> Please let me know if you have questions. >> >> -- Kevin >> >> [1] http://hg.openjdk.java.net/openjfx/ >> [2] http://mail.openjdk.java.net/mailman/listinfo/openjfx-changes >> From kevin.rushforth at oracle.com Mon Sep 22 19:55:42 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Mon, 22 Sep 2014 12:55:42 -0700 Subject: 8u-dev unlocked following this week's sanity testing In-Reply-To: <5417454E.2010802@oracle.com> References: <540605AB.3050804@oracle.com> <5417454E.2010802@oracle.com> Message-ID: <54207EBE.8040705@oracle.com> From chien.yang at oracle.com Mon Sep 22 22:01:28 2014 From: chien.yang at oracle.com (Chien Yang) Date: Mon, 22 Sep 2014 15:01:28 -0700 Subject: [8u26] Code Review Request For RT-38628: BoxBlur effect leads to runtime exception in embedded JavaFX Message-ID: <54209C38.4070203@oracle.com> Hi Jim and Kevin, Please review the proposed fix: https://javafx-jira.kenai.com/browse/RT-38628 Thanks, - Chien From krampenschiesser at gmail.com Tue Sep 23 04:01:19 2014 From: krampenschiesser at gmail.com (Christian) Date: Tue, 23 Sep 2014 06:01:19 +0200 Subject: Calendar week view In-Reply-To: <541F97E9.20907@oracle.com> References: <541F006D.4020001@gmail.com> <541F97E9.20907@oracle.com> Message-ID: <5420F08F.9020104@gmail.com> Cool. thanks for the link. If I just had that one before ;) Will check it out during the next days. On 09/22/2014 05:30 AM, Jonathan Giles wrote: > Looks good. You might also be interested in collaborating with the > JFXtras projects - Tom Eugelink has an Agenda control that works in a > similar fashion. Here's a blog post I just googled (from late 2012): > > http://tbeernot.wordpress.com/2012/10/18/writing-google-calendar-in-javafx/ > > -- Jonathan > > On 22/09/2014 4:44 a.m., Christian wrote: >> Hi all, >> >> besides creating jira issues and asking stupid questions I actually >> use javafx :) >> For my project I needed a week view for a calendar. >> The implementation is heavily based on css and a 2 gridviews with a >> scrollable. >> The code is far from beautiful but maybe it is starting point for some >> other people needing it. >> But hey, imho it looks quite nice and it works. >> >> Some screenshots: >> https://raw.githubusercontent.com/krampenschiesser/idnadrev/master/doc/src/asciidoc/img/workoverweek_1.png >> >> https://raw.githubusercontent.com/krampenschiesser/idnadrev/master/doc/src/asciidoc/img/workoverweek_2.png >> >> >> The WeekView is still based in the projects git folder but will later >> be moved to a separate github project: >> https://github.com/krampenschiesser/idnadrev/tree/master/libs/fxcontrols >> >> There is also a little sample-app that provides some data for you to >> play around. >> Enjoy :) >> Christian > From johan at lodgon.com Tue Sep 23 06:47:56 2014 From: johan at lodgon.com (Johan Vos) Date: Tue, 23 Sep 2014 08:47:56 +0200 Subject: Separating observable data structures out into a separate library? In-Reply-To: References: Message-ID: The Observable framework works as part of the whole JavaFX Platform on Android, see http://javafxports.org - Johan 2014-09-21 15:06 GMT+02:00 Mike Hearn : > Observable data structures are a useful and general abstraction, which > JavaFX deploys to great effect. Combined with the mirroring techniques I > posted about a few months ago I found them to be a good way of combining > background work and network-updated state with GUI apps. > > For this reason, they'd also be useful outside of JavaFX, like on Android. > So I have a couple of questions: > > 1. Are there license reasons why the JFX Observable* framework can't be > used in for example Android apps? How does the JFX license affect this? > > 2. If the JFX observables framework could be separated out from JFX > itself, would there be any appetite for a Java 6 compatible version that > resided in some separate mavenable library? > From mike at plan99.net Tue Sep 23 12:15:08 2014 From: mike at plan99.net (Mike Hearn) Date: Tue, 23 Sep 2014 14:15:08 +0200 Subject: Separating observable data structures out into a separate library? In-Reply-To: References: Message-ID: Yeah, but my API is UI framework neutral. Telling people to use all of JavaFX isn't going to fly. Besides, I know the framework was developed by the JavaFX team but beyond that, why is it a part of the UI toolkit? Shouldn't these APIs be a part of java.util instead? On Tue, Sep 23, 2014 at 8:47 AM, Johan Vos wrote: > The Observable framework works as part of the whole JavaFX Platform on > Android, see http://javafxports.org > > - Johan > > 2014-09-21 15:06 GMT+02:00 Mike Hearn : > >> Observable data structures are a useful and general abstraction, which >> JavaFX deploys to great effect. Combined with the mirroring techniques I >> posted about a few months ago I found them to be a good way of combining >> background work and network-updated state with GUI apps. >> >> For this reason, they'd also be useful outside of JavaFX, like on Android. >> So I have a couple of questions: >> >> 1. Are there license reasons why the JFX Observable* framework can't be >> used in for example Android apps? How does the JFX license affect this? >> >> 2. If the JFX observables framework could be separated out from JFX >> itself, would there be any appetite for a Java 6 compatible version >> that >> resided in some separate mavenable library? >> > > From johan at lodgon.com Tue Sep 23 12:22:16 2014 From: johan at lodgon.com (Johan Vos) Date: Tue, 23 Sep 2014 14:22:16 +0200 Subject: Separating observable data structures out into a separate library? In-Reply-To: References: Message-ID: Having the whole observable and properties packages as part of Java SE makes sense to me as well. As for using it on Android: the JavaFX Android SDK contains a jfxrt.jar which contains the observable packages, so you can easily extract them. You will also need compat.jar which is in the same directory as jfxrt.jar (rt/lib/ext). The source code is almost the same as the one in other distributions, apart from a few classes that use default methods and so. - Johan 2014-09-23 14:15 GMT+02:00 Mike Hearn : > Yeah, but my API is UI framework neutral. Telling people to use all of > JavaFX isn't going to fly. Besides, I know the framework was developed by > the JavaFX team but beyond that, why is it a part of the UI toolkit? > Shouldn't these APIs be a part of java.util instead? > > On Tue, Sep 23, 2014 at 8:47 AM, Johan Vos wrote: > >> The Observable framework works as part of the whole JavaFX Platform on >> Android, see http://javafxports.org >> >> - Johan >> >> 2014-09-21 15:06 GMT+02:00 Mike Hearn : >> >>> Observable data structures are a useful and general abstraction, which >>> JavaFX deploys to great effect. Combined with the mirroring techniques I >>> posted about a few months ago I found them to be a good way of combining >>> background work and network-updated state with GUI apps. >>> >>> For this reason, they'd also be useful outside of JavaFX, like on >>> Android. >>> So I have a couple of questions: >>> >>> 1. Are there license reasons why the JFX Observable* framework can't >>> be >>> used in for example Android apps? How does the JFX license affect >>> this? >>> >>> 2. If the JFX observables framework could be separated out from JFX >>> itself, would there be any appetite for a Java 6 compatible version >>> that >>> resided in some separate mavenable library? >>> >> >> > From tom.schindl at bestsolution.at Tue Sep 23 12:27:35 2014 From: tom.schindl at bestsolution.at (Tom Schindl) Date: Tue, 23 Sep 2014 14:27:35 +0200 Subject: Separating observable data structures out into a separate library? In-Reply-To: References: Message-ID: <54216737.1030204@bestsolution.at> javafx2 was an extra install on Java6 (and even some version of Java7) so those classes can not be part of java.util. Even in Java8 this would not have been possible because then JavaFx would have to be JSRed - which is NOT - just grab IBM Java and notice that there's no JavaFX. Internally the library is already jigsawed so the base is split out - I think this structure is also inforced by the build system and because we get jigsaw in java9 which will make people think in modules and not a Java SE categories I think this will solve itself. Tom On 23.09.14 14:15, Mike Hearn wrote: > Yeah, but my API is UI framework neutral. Telling people to use all of > JavaFX isn't going to fly. Besides, I know the framework was developed by > the JavaFX team but beyond that, why is it a part of the UI toolkit? > Shouldn't these APIs be a part of java.util instead? > > On Tue, Sep 23, 2014 at 8:47 AM, Johan Vos wrote: > >> The Observable framework works as part of the whole JavaFX Platform on >> Android, see http://javafxports.org >> >> - Johan >> >> 2014-09-21 15:06 GMT+02:00 Mike Hearn : >> >>> Observable data structures are a useful and general abstraction, which >>> JavaFX deploys to great effect. Combined with the mirroring techniques I >>> posted about a few months ago I found them to be a good way of combining >>> background work and network-updated state with GUI apps. >>> >>> For this reason, they'd also be useful outside of JavaFX, like on Android. >>> So I have a couple of questions: >>> >>> 1. Are there license reasons why the JFX Observable* framework can't be >>> used in for example Android apps? How does the JFX license affect this? >>> >>> 2. If the JFX observables framework could be separated out from JFX >>> itself, would there be any appetite for a Java 6 compatible version >>> that >>> resided in some separate mavenable library? >>> >> >> From ngalarneau at ABINITIO.COM Tue Sep 23 12:46:37 2014 From: ngalarneau at ABINITIO.COM (ngalarneau at ABINITIO.COM) Date: Tue, 23 Sep 2014 08:46:37 -0400 Subject: Separating observable data structures out into a separate library? In-Reply-To: <54216737.1030204@bestsolution.at> References: <54216737.1030204@bestsolution.at> Message-ID: The Server JRE distribution that Oracle created recently doesn't include JavaFX & therefore doesn't include all the nice Observable stuff that could be useful on a server. With Jigsaw, will a Server JRE deployment be able to get the javafx.beans & javafx.collections packages? It would be nice to be able to write Model code that uses Observable & can run on either tier. Neil From: Tom Schindl To: openjfx-dev at openjdk.java.net, Date: 09/23/2014 08:28 AM Subject: Re: Separating observable data structures out into a separate library? Sent by: "openjfx-dev" javafx2 was an extra install on Java6 (and even some version of Java7) so those classes can not be part of java.util. Even in Java8 this would not have been possible because then JavaFx would have to be JSRed - which is NOT - just grab IBM Java and notice that there's no JavaFX. Internally the library is already jigsawed so the base is split out - I think this structure is also inforced by the build system and because we get jigsaw in java9 which will make people think in modules and not a Java SE categories I think this will solve itself. Tom On 23.09.14 14:15, Mike Hearn wrote: > Yeah, but my API is UI framework neutral. Telling people to use all of > JavaFX isn't going to fly. Besides, I know the framework was developed by > the JavaFX team but beyond that, why is it a part of the UI toolkit? > Shouldn't these APIs be a part of java.util instead? > > On Tue, Sep 23, 2014 at 8:47 AM, Johan Vos wrote: > >> The Observable framework works as part of the whole JavaFX Platform on >> Android, see http://javafxports.org >> >> - Johan >> >> 2014-09-21 15:06 GMT+02:00 Mike Hearn : >> >>> Observable data structures are a useful and general abstraction, which >>> JavaFX deploys to great effect. Combined with the mirroring techniques I >>> posted about a few months ago I found them to be a good way of combining >>> background work and network-updated state with GUI apps. >>> >>> For this reason, they'd also be useful outside of JavaFX, like on Android. >>> So I have a couple of questions: >>> >>> 1. Are there license reasons why the JFX Observable* framework can't be >>> used in for example Android apps? How does the JFX license affect this? >>> >>> 2. If the JFX observables framework could be separated out from JFX >>> itself, would there be any appetite for a Java 6 compatible version >>> that >>> resided in some separate mavenable library? >>> NOTICE from Ab Initio: This email (including any attachments) may contain information that is subject to confidentiality obligations or is legally privileged, and sender does not waive confidentiality or privilege. If received in error, please notify the sender, delete this email, and make no further use, disclosure, or distribution. From james.graham at oracle.com Tue Sep 23 23:50:24 2014 From: james.graham at oracle.com (Jim Graham) Date: Tue, 23 Sep 2014 16:50:24 -0700 Subject: 8u40 review request: RT-25263 AreaChart has flattened series symbols in the legend Message-ID: <54220740.4060100@oracle.com> Hi Kevin, Chien, webrev: http://cr.openjdk.java.net/~flar/RT-25263/webrev.00/ Jira: https://javafx-jira.kenai.com/browse/RT-25263 CC'ing Felipe in case he has any comments from when he worked on this code... ...jim From kevin.rushforth at oracle.com Wed Sep 24 00:41:58 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Tue, 23 Sep 2014 17:41:58 -0700 Subject: CFV: New OpenJFX Committer: Michael Fang Message-ID: <54221356.5080908@oracle.com> I hereby nominate Michael Fang to OpenJFX Committer. Michael is a member of Java Localization team at Oracle. Michael's OpenJFX changes are in the localized property files. hg log -M -u "mfang" A list of Michael's commits is also available by the following links (be sure to click the "more" link to see more than 10): http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=mfang Votes are due by October 7, 2014. Only current OpenJFX Committers [1] are eligible to vote on this nomination. Votes must be cast in the open by replying to this mailing list. For Lazy Consensus voting instructions, see [2]. Nomination to a project Committer is described in [3]. [1] http://openjdk.java.net/census#openjfx [2] http://openjdk.java.net/bylaws#lazy-consensus [3] http://openjdk.java.net/projects#project-committer Thanks, -- Kevin From james.graham at oracle.com Wed Sep 24 02:52:33 2014 From: james.graham at oracle.com (Jim Graham) Date: Tue, 23 Sep 2014 19:52:33 -0700 Subject: 8u40 review request: RT-36854 SwingFXUtils.fromFXImage always adds an alpha channel Message-ID: <542231F1.2010107@oracle.com> Hi Kevin, webrev: http://cr.openjdk.java.net/~flar/RT-36854/webrev.00/ Jira: https://javafx-jira.kenai.com/browse/RT-36854 ...jim From artem.ananiev at oracle.com Wed Sep 24 03:47:09 2014 From: artem.ananiev at oracle.com (Artem Ananiev) Date: Tue, 23 Sep 2014 20:47:09 -0700 Subject: CFV: New OpenJFX Committer: Michael Fang In-Reply-To: <54221356.5080908@oracle.com> References: <54221356.5080908@oracle.com> Message-ID: <54223EBD.7070309@oracle.com> Vote: yes Artem On 9/23/2014 5:41 PM, Kevin Rushforth wrote: > I hereby nominate Michael Fang to OpenJFX Committer. > > Michael is a member of Java Localization team at Oracle. Michael's > OpenJFX changes are in the localized property files. > > hg log -M -u "mfang" > > A list of Michael's commits is also available by the following links (be > sure to click the "more" link to see more than 10): > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=mfang > > Votes are due by October 7, 2014. > > Only current OpenJFX Committers [1] are eligible to vote on this > nomination. Votes must be cast in the open by replying to this mailing > list. > > For Lazy Consensus voting instructions, see [2]. Nomination to a project > Committer is described in [3]. > > [1] http://openjdk.java.net/census#openjfx > > [2] http://openjdk.java.net/bylaws#lazy-consensus > > [3] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > From vadim.pakhnushev at oracle.com Wed Sep 24 07:47:30 2014 From: vadim.pakhnushev at oracle.com (Vadim Pakhnushev) Date: Wed, 24 Sep 2014 11:47:30 +0400 Subject: CFV: New OpenJFX Committer: Michael Fang In-Reply-To: <54221356.5080908@oracle.com> References: <54221356.5080908@oracle.com> Message-ID: <54227712.9040105@oracle.com> Vote: yes On 24.09.2014 4:41, Kevin Rushforth wrote: > I hereby nominate Michael Fang to OpenJFX Committer. > > Michael is a member of Java Localization team at Oracle. Michael's > OpenJFX changes are in the localized property files. > > hg log -M -u "mfang" > > A list of Michael's commits is also available by the following links > (be sure to click the "more" link to see more than 10): > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=mfang > > Votes are due by October 7, 2014. > > Only current OpenJFX Committers [1] are eligible to vote on this > nomination. Votes must be cast in the open by replying to this mailing > list. > > For Lazy Consensus voting instructions, see [2]. Nomination to a > project Committer is described in [3]. > > [1] http://openjdk.java.net/census#openjfx > > [2] http://openjdk.java.net/bylaws#lazy-consensus > > [3] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > From kevin.rushforth at oracle.com Wed Sep 24 13:17:35 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Wed, 24 Sep 2014 06:17:35 -0700 Subject: CFV: New OpenJFX Committer: Morris Meyer Message-ID: <5422C46F.70404@oracle.com> I hereby nominate Morris Meyer to OpenJFX Committer. Morris was an initial member of JavaFX team at Oracle when the OpenJFX project was created, and was on the initial list of approved committers [1]. His status as OpenJFX committer was not recorded at that time on the Census as he moved to another project within the Java organization. This CVF is intended to correct this oversight. Morris' changes prior to JavaFX becoming open-source were significant (which is why he was on the initial list of committers). He also has the requisite number of changes in the open-source repo to become a committer. hg log -M -u "morris" A list of Morris' commits is also available by the following links: http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=morris Votes are due by October 8, 2014. Only current OpenJFX Committers [2] are eligible to vote on this nomination. Votes must be cast in the open by replying to this mailing list. For Lazy Consensus voting instructions, see [3]. Nomination to a project Committer is described in [4]. [1] http://mail.openjdk.java.net/pipermail/announce/2011-November/000113.html [2] http://openjdk.java.net/census#openjfx [3] http://openjdk.java.net/bylaws#lazy-consensus [4] http://openjdk.java.net/projects#project-committer Thanks, -- Kevin From David.Hill at Oracle.com Wed Sep 24 13:33:21 2014 From: David.Hill at Oracle.com (David Hill) Date: Wed, 24 Sep 2014 09:33:21 -0400 Subject: CFV: New OpenJFX Committer: Morris Meyer In-Reply-To: <5422C46F.70404@oracle.com> References: <5422C46F.70404@oracle.com> Message-ID: <5422C821.8040008@Oracle.com> On 9/24/14, 9:17 AM, Kevin Rushforth wrote: > I hereby nominate Morris Meyer to OpenJFX Committer. VOTE: YES > > Morris was an initial member of JavaFX team at Oracle when the OpenJFX project was created, and was on the initial list of approved committers [1]. His status as OpenJFX committer was not recorded at that time on the Census as he moved to another project within the Java organization. This CVF is intended to correct this oversight. > > Morris' changes prior to JavaFX becoming open-source were significant (which is why he was on the initial list of committers). He also has the requisite number of changes in the open-source repo to become a committer. > > hg log -M -u "morris" > > A list of Morris' commits is also available by the following links: > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=morris > > Votes are due by October 8, 2014. > > Only current OpenJFX Committers [2] are eligible to vote on this nomination. Votes must be cast in the open by replying to this mailing list. > > For Lazy Consensus voting instructions, see [3]. Nomination to a project Committer is described in [4]. > > [1] http://mail.openjdk.java.net/pipermail/announce/2011-November/000113.html > > [2] http://openjdk.java.net/census#openjfx > > [3] http://openjdk.java.net/bylaws#lazy-consensus > > [4] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > -- David Hill Java Embedded Development "A man's feet should be planted in his country, but his eyes should survey the world." -- George Santayana (1863 - 1952) From David.Hill at Oracle.com Wed Sep 24 13:34:30 2014 From: David.Hill at Oracle.com (David Hill) Date: Wed, 24 Sep 2014 09:34:30 -0400 Subject: CFV: New OpenJFX Committer: Michael Fang In-Reply-To: <54221356.5080908@oracle.com> References: <54221356.5080908@oracle.com> Message-ID: <5422C866.8030703@Oracle.com> On 9/23/14, 8:41 PM, Kevin Rushforth wrote: > I hereby nominate Michael Fang to OpenJFX Committer. Vote: YES > > Michael is a member of Java Localization team at Oracle. Michael's OpenJFX changes are in the localized property files. > > hg log -M -u "mfang" > > A list of Michael's commits is also available by the following links (be sure to click the "more" link to see more than 10): > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=mfang > > Votes are due by October 7, 2014. > > Only current OpenJFX Committers [1] are eligible to vote on this nomination. Votes must be cast in the open by replying to this mailing list. > > For Lazy Consensus voting instructions, see [2]. Nomination to a project Committer is described in [3]. > > [1] http://openjdk.java.net/census#openjfx > > [2] http://openjdk.java.net/bylaws#lazy-consensus > > [3] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > -- David Hill Java Embedded Development "A man's feet should be planted in his country, but his eyes should survey the world." -- George Santayana (1863 - 1952) From lisa.selle at oracle.com Wed Sep 24 13:37:16 2014 From: lisa.selle at oracle.com (Lisa Selle) Date: Wed, 24 Sep 2014 09:37:16 -0400 Subject: CFV: New OpenJFX Committer: Michael Fang In-Reply-To: <54221356.5080908@oracle.com> References: <54221356.5080908@oracle.com> Message-ID: <5422C90C.2080001@oracle.com> Vote: yes On 9/23/2014 8:41 PM, Kevin Rushforth wrote: > I hereby nominate Michael Fang to OpenJFX Committer. > > Michael is a member of Java Localization team at Oracle. Michael's > OpenJFX changes are in the localized property files. > > hg log -M -u "mfang" > > A list of Michael's commits is also available by the following links > (be sure to click the "more" link to see more than 10): > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=mfang > > Votes are due by October 7, 2014. > > Only current OpenJFX Committers [1] are eligible to vote on this > nomination. Votes must be cast in the open by replying to this mailing > list. > > For Lazy Consensus voting instructions, see [2]. Nomination to a > project Committer is described in [3]. > > [1] http://openjdk.java.net/census#openjfx > > [2] http://openjdk.java.net/bylaws#lazy-consensus > > [3] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > From lisa.selle at oracle.com Wed Sep 24 13:37:24 2014 From: lisa.selle at oracle.com (Lisa Selle) Date: Wed, 24 Sep 2014 09:37:24 -0400 Subject: CFV: New OpenJFX Committer: Morris Meyer In-Reply-To: <5422C46F.70404@oracle.com> References: <5422C46F.70404@oracle.com> Message-ID: <5422C914.8050505@oracle.com> Vote: yes On 9/24/2014 9:17 AM, Kevin Rushforth wrote: > I hereby nominate Morris Meyer to OpenJFX Committer. > > Morris was an initial member of JavaFX team at Oracle when the OpenJFX > project was created, and was on the initial list of approved > committers [1]. His status as OpenJFX committer was not recorded at > that time on the Census as he moved to another project within the Java > organization. This CVF is intended to correct this oversight. > > Morris' changes prior to JavaFX becoming open-source were significant > (which is why he was on the initial list of committers). He also has > the requisite number of changes in the open-source repo to become a > committer. > > hg log -M -u "morris" > > A list of Morris' commits is also available by the following links: > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=morris > > Votes are due by October 8, 2014. > > Only current OpenJFX Committers [2] are eligible to vote on this > nomination. Votes must be cast in the open by replying to this mailing > list. > > For Lazy Consensus voting instructions, see [3]. Nomination to a > project Committer is described in [4]. > > [1] > http://mail.openjdk.java.net/pipermail/announce/2011-November/000113.html > > [2] http://openjdk.java.net/census#openjfx > > [3] http://openjdk.java.net/bylaws#lazy-consensus > > [4] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > From alexander.zvegintsev at oracle.com Wed Sep 24 13:38:36 2014 From: alexander.zvegintsev at oracle.com (Alexander Zvegintsev) Date: Wed, 24 Sep 2014 17:38:36 +0400 Subject: CFV: New OpenJFX Committer: Michael Fang In-Reply-To: <54221356.5080908@oracle.com> References: <54221356.5080908@oracle.com> Message-ID: <5422C95C.4060005@oracle.com> Vote: yes Thanks, Alexander. On 09/24/2014 04:41 AM, Kevin Rushforth wrote: > I hereby nominate Michael Fang to OpenJFX Committer. > > Michael is a member of Java Localization team at Oracle. Michael's > OpenJFX changes are in the localized property files. > > hg log -M -u "mfang" > > A list of Michael's commits is also available by the following links > (be sure to click the "more" link to see more than 10): > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=mfang > > Votes are due by October 7, 2014. > > Only current OpenJFX Committers [1] are eligible to vote on this > nomination. Votes must be cast in the open by replying to this mailing > list. > > For Lazy Consensus voting instructions, see [2]. Nomination to a > project Committer is described in [3]. > > [1] http://openjdk.java.net/census#openjfx > > [2] http://openjdk.java.net/bylaws#lazy-consensus > > [3] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > From alexander.zvegintsev at oracle.com Wed Sep 24 13:39:09 2014 From: alexander.zvegintsev at oracle.com (Alexander Zvegintsev) Date: Wed, 24 Sep 2014 17:39:09 +0400 Subject: CFV: New OpenJFX Committer: Morris Meyer In-Reply-To: <5422C46F.70404@oracle.com> References: <5422C46F.70404@oracle.com> Message-ID: <5422C97D.6030507@oracle.com> Vote: yes Thanks, Alexander. On 09/24/2014 05:17 PM, Kevin Rushforth wrote: > I hereby nominate Morris Meyer to OpenJFX Committer. > > Morris was an initial member of JavaFX team at Oracle when the OpenJFX > project was created, and was on the initial list of approved > committers [1]. His status as OpenJFX committer was not recorded at > that time on the Census as he moved to another project within the Java > organization. This CVF is intended to correct this oversight. > > Morris' changes prior to JavaFX becoming open-source were significant > (which is why he was on the initial list of committers). He also has > the requisite number of changes in the open-source repo to become a > committer. > > hg log -M -u "morris" > > A list of Morris' commits is also available by the following links: > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=morris > > Votes are due by October 8, 2014. > > Only current OpenJFX Committers [2] are eligible to vote on this > nomination. Votes must be cast in the open by replying to this mailing > list. > > For Lazy Consensus voting instructions, see [3]. Nomination to a > project Committer is described in [4]. > > [1] > http://mail.openjdk.java.net/pipermail/announce/2011-November/000113.html > > [2] http://openjdk.java.net/census#openjfx > > [3] http://openjdk.java.net/bylaws#lazy-consensus > > [4] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > From mick.fleming at oracle.com Wed Sep 24 13:45:54 2014 From: mick.fleming at oracle.com (mick.fleming) Date: Wed, 24 Sep 2014 14:45:54 +0100 Subject: CFV: New OpenJFX Committer: Morris Meyer In-Reply-To: <5422C46F.70404@oracle.com> References: <5422C46F.70404@oracle.com> Message-ID: <5422CB12.60004@oracle.com> Vote: yes regards, mick Kevin Rushforth wrote: > I hereby nominate Morris Meyer to OpenJFX Committer. > > Morris was an initial member of JavaFX team at Oracle when the OpenJFX > project was created, and was on the initial list of approved committers > [1]. His status as OpenJFX committer was not recorded at that time on > the Census as he moved to another project within the Java organization. > This CVF is intended to correct this oversight. > > Morris' changes prior to JavaFX becoming open-source were significant > (which is why he was on the initial list of committers). He also has the > requisite number of changes in the open-source repo to become a committer. > > hg log -M -u "morris" > > A list of Morris' commits is also available by the following links: > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=morris > > Votes are due by October 8, 2014. > > Only current OpenJFX Committers [2] are eligible to vote on this > nomination. Votes must be cast in the open by replying to this mailing > list. > > For Lazy Consensus voting instructions, see [3]. Nomination to a project > Committer is described in [4]. > > [1] > http://mail.openjdk.java.net/pipermail/announce/2011-November/000113.html > > [2] http://openjdk.java.net/census#openjfx > > [3] http://openjdk.java.net/bylaws#lazy-consensus > > [4] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > From chien.yang at oracle.com Wed Sep 24 15:34:54 2014 From: chien.yang at oracle.com (Chien Yang) Date: Wed, 24 Sep 2014 08:34:54 -0700 Subject: CFV: New OpenJFX Committer: Morris Meyer In-Reply-To: <5422C46F.70404@oracle.com> References: <5422C46F.70404@oracle.com> Message-ID: <5422E49E.60502@oracle.com> On 9/24/2014 6:17 AM, Kevin Rushforth wrote: > I hereby nominate Morris Meyer to OpenJFX Committer. VOTE: YES > > Morris was an initial member of JavaFX team at Oracle when the OpenJFX > project was created, and was on the initial list of approved > committers [1]. His status as OpenJFX committer was not recorded at > that time on the Census as he moved to another project within the Java > organization. This CVF is intended to correct this oversight. > > Morris' changes prior to JavaFX becoming open-source were significant > (which is why he was on the initial list of committers). He also has > the requisite number of changes in the open-source repo to become a > committer. > > hg log -M -u "morris" > > A list of Morris' commits is also available by the following links: > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=morris > > Votes are due by October 8, 2014. > > Only current OpenJFX Committers [2] are eligible to vote on this > nomination. Votes must be cast in the open by replying to this mailing > list. > > For Lazy Consensus voting instructions, see [3]. Nomination to a > project Committer is described in [4]. > > [1] > http://mail.openjdk.java.net/pipermail/announce/2011-November/000113.html > > [2] http://openjdk.java.net/census#openjfx > > [3] http://openjdk.java.net/bylaws#lazy-consensus > > [4] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > From vadim.pakhnushev at oracle.com Wed Sep 24 18:04:08 2014 From: vadim.pakhnushev at oracle.com (Vadim Pakhnushev) Date: Wed, 24 Sep 2014 22:04:08 +0400 Subject: CFV: New OpenJFX Committer: Morris Meyer In-Reply-To: <5422C46F.70404@oracle.com> References: <5422C46F.70404@oracle.com> Message-ID: <54230798.7000000@oracle.com> Vote: yes On 24.09.2014 17:17, Kevin Rushforth wrote: > I hereby nominate Morris Meyer to OpenJFX Committer. > > Morris was an initial member of JavaFX team at Oracle when the OpenJFX > project was created, and was on the initial list of approved > committers [1]. His status as OpenJFX committer was not recorded at > that time on the Census as he moved to another project within the Java > organization. This CVF is intended to correct this oversight. > > Morris' changes prior to JavaFX becoming open-source were significant > (which is why he was on the initial list of committers). He also has > the requisite number of changes in the open-source repo to become a > committer. > > hg log -M -u "morris" > > A list of Morris' commits is also available by the following links: > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=morris > > Votes are due by October 8, 2014. > > Only current OpenJFX Committers [2] are eligible to vote on this > nomination. Votes must be cast in the open by replying to this mailing > list. > > For Lazy Consensus voting instructions, see [3]. Nomination to a > project Committer is described in [4]. > > [1] > http://mail.openjdk.java.net/pipermail/announce/2011-November/000113.html > > [2] http://openjdk.java.net/census#openjfx > > [3] http://openjdk.java.net/bylaws#lazy-consensus > > [4] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > From mk at nucleo.io Thu Sep 25 10:07:16 2014 From: mk at nucleo.io (Manfred Karrer) Date: Thu, 25 Sep 2014 12:07:16 +0200 Subject: JavaFX support for native notifications Message-ID: <6AEFC2E4-A6DA-4661-81D5-8FEC7F93EDA3@nucleo.io> I am new to that list, so sorry if that has been discussed already earlier. Is there any support in JavaFX for native notifications. In OSX there is that notification panel on the top right corner showing for instance incoming mails as well a bouncing dock icon. I have found one JavaFX simulation for the notification panel (https://github.com/HanSolo/Enzo) but it is not controlled by the OS so if multiple other notifications come in they will overlay... br, Manfred From karg at quipsy.de Thu Sep 25 14:38:43 2014 From: karg at quipsy.de (Markus Karg) Date: Thu, 25 Sep 2014 16:38:43 +0200 Subject: User Mailing List / Forum Message-ID: <54D3CE24C875604ABE7E6722C0EB88546E06F63145@QUIPSY1.Quipsy.local> I am new to JavaFX and like to ask if there is some "official" JavaFX 8 forum or mailing list FOR USERS as I did not find this information on http://openjdk.java.net/projects/openjfx/ (actually it says the user forum is https://forums.oracle.com/forums/forum.jspa?forumID=1385 but that results in 404 NOT FOUND! Thanks -Markus From richard.bair at oracle.com Thu Sep 25 15:21:39 2014 From: richard.bair at oracle.com (Richard Bair) Date: Thu, 25 Sep 2014 08:21:39 -0700 Subject: JavaFX support for native notifications In-Reply-To: <6AEFC2E4-A6DA-4661-81D5-8FEC7F93EDA3@nucleo.io> References: <6AEFC2E4-A6DA-4661-81D5-8FEC7F93EDA3@nucleo.io> Message-ID: <825F4FB8-FEAE-4DD9-9587-0AE9F433A342@oracle.com> No, we don?t have anything built in that supports this. You can write one of course using JNI although JNI unfortunately is a bit of a pain in the neck. You might be able to use JNA or another such library to make this easier (even the RoboVM project has some nice way of calling native from Java, maybe this could be use on OSX as well). Richard On Sep 25, 2014, at 3:07 AM, Manfred Karrer wrote: > I am new to that list, so sorry if that has been discussed already earlier. > > Is there any support in JavaFX for native notifications. In OSX there is that notification panel on the top right corner showing for instance incoming mails as well a bouncing dock icon. > I have found one JavaFX simulation for the notification panel (https://github.com/HanSolo/Enzo) but it is not controlled by the OS so if multiple other notifications come in they will overlay... > > br, > Manfred From steve.x.northover at oracle.com Thu Sep 25 16:53:13 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Thu, 25 Sep 2014 12:53:13 -0400 Subject: User Mailing List / Forum In-Reply-To: <54D3CE24C875604ABE7E6722C0EB88546E06F63145@QUIPSY1.Quipsy.local> References: <54D3CE24C875604ABE7E6722C0EB88546E06F63145@QUIPSY1.Quipsy.local> Message-ID: <54244879.1030403@oracle.com> This is a good place to ask questions about JFX. I'll look into the broken link. Steve On 2014-09-25, 10:38 AM, Markus Karg wrote: > I am new to JavaFX and like to ask if there is some "official" JavaFX 8 forum or mailing list FOR USERS as I did not find this information on http://openjdk.java.net/projects/openjfx/ (actually it says the user forum is https://forums.oracle.com/forums/forum.jspa?forumID=1385 but that results in 404 NOT FOUND! > > Thanks > -Markus From tomas.mikula at gmail.com Thu Sep 25 17:38:00 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Thu, 25 Sep 2014 19:38:00 +0200 Subject: Subclassing behavior in JavaFX Controls In-Reply-To: References: Message-ID: Hi Pete, On Wed, Sep 17, 2014 at 9:57 PM, Tomas Mikula wrote: > > I believe that overriding keyboard shortcuts should be doable without > subclassing the skin (or behavior). I'm working on something right now > and hope to publish something soon. have a look at https://github.com/TomasMikula/WellBehavedFX. Does it satisfy your keyboard handling needs? Regards, Tomas From james.graham at oracle.com Thu Sep 25 20:27:24 2014 From: james.graham at oracle.com (Jim Graham) Date: Thu, 25 Sep 2014 13:27:24 -0700 Subject: CFV: New OpenJFX Committer: Morris Meyer In-Reply-To: <5422C46F.70404@oracle.com> References: <5422C46F.70404@oracle.com> Message-ID: <54247AAC.4090401@oracle.com> Vote: yes ...jim On 9/24/14 6:17 AM, Kevin Rushforth wrote: > I hereby nominate Morris Meyer to OpenJFX Committer. > > Morris was an initial member of JavaFX team at Oracle when the OpenJFX > project was created, and was on the initial list of approved committers > [1]. His status as OpenJFX committer was not recorded at that time on > the Census as he moved to another project within the Java organization. > This CVF is intended to correct this oversight. > > Morris' changes prior to JavaFX becoming open-source were significant > (which is why he was on the initial list of committers). He also has the > requisite number of changes in the open-source repo to become a committer. > > hg log -M -u "morris" > > A list of Morris' commits is also available by the following links: > > http://hg.openjdk.java.net/openjfx/8u-dev/rt/log?rev=morris > > Votes are due by October 8, 2014. > > Only current OpenJFX Committers [2] are eligible to vote on this > nomination. Votes must be cast in the open by replying to this mailing > list. > > For Lazy Consensus voting instructions, see [3]. Nomination to a project > Committer is described in [4]. > > [1] > http://mail.openjdk.java.net/pipermail/announce/2011-November/000113.html > > [2] http://openjdk.java.net/census#openjfx > > [3] http://openjdk.java.net/bylaws#lazy-consensus > > [4] http://openjdk.java.net/projects#project-committer > > Thanks, > > -- Kevin > From philip.race at oracle.com Thu Sep 25 20:32:10 2014 From: philip.race at oracle.com (Phil Race) Date: Thu, 25 Sep 2014 13:32:10 -0700 Subject: CFV: New OpenJFX Committer: Morris Meyer In-Reply-To: <5422C46F.70404@oracle.com> References: <5422C46F.70404@oracle.com> Message-ID: <54247BCA.3000102@oracle.com> Vote: yes -phil. From david.dehaven at oracle.com Thu Sep 25 20:43:45 2014 From: david.dehaven at oracle.com (David DeHaven) Date: Thu, 25 Sep 2014 13:43:45 -0700 Subject: CFV: New OpenJFX Committer: Morris Meyer In-Reply-To: <54247BCA.3000102@oracle.com> References: <5422C46F.70404@oracle.com> <54247BCA.3000102@oracle.com> Message-ID: Vote: yes -DrD- From swpalmer at gmail.com Fri Sep 26 17:01:07 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 13:01:07 -0400 Subject: Accelerators - odd behavior Message-ID: KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, KeyCombination.CONTROL_DOWN); KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", KeyCombination.CONTROL_DOWN); Using the above like this: scene.getAccelerators().put(cmdMinus, runnable); scene.getAccelerators().put(cmdMinusFromCharacter, runnable); Will result in the runnable being fired twice from the same keypress. I propose changing the accelerator processing logic so that only one runnable gets called as the intention appears to be that a KeyCombination can only have one runnable associated with it, but the logic in Map doesn't see the above two KeyCombinations as the same key in the Map. Note: With the second combination above I really wanted something that worked for both MINUS and SUBTRACT simultaneously - since they both type the same Character and only one accelerator can be set on a MenuItem. Scott From kevin.rushforth at oracle.com Fri Sep 26 17:16:35 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Fri, 26 Sep 2014 10:16:35 -0700 Subject: Accelerators - odd behavior In-Reply-To: References: Message-ID: <54259F73.3080807@oracle.com> It seems to me that this is working as designed. You have created two different KeyCombinations and asked that both fire your runnable. Further, both of the KeyCombinations match your key input since both a KeyPressed and a KeyTyped event are sent when pressing a key that has an associated character. I'm not sure how we could change it in a way that wouldn't be surprising or difficult to specify or document. -- Kevin Scott Palmer wrote: > KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, > KeyCombination.CONTROL_DOWN); > KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", > KeyCombination.CONTROL_DOWN); > > Using the above like this: > scene.getAccelerators().put(cmdMinus, runnable); > scene.getAccelerators().put(cmdMinusFromCharacter, runnable); > > Will result in the runnable being fired twice from the same keypress. > > I propose changing the accelerator processing logic so that only one > runnable gets called as the intention appears to be that a KeyCombination > can only have one runnable associated with it, but the logic in Map doesn't > see the above two KeyCombinations as the same key in the Map. > > Note: With the second combination above I really wanted something that > worked for both MINUS and SUBTRACT simultaneously - since they both type > the same Character and only one accelerator can be set on a MenuItem. > > Scott > From swpalmer at gmail.com Fri Sep 26 17:16:56 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 13:16:56 -0400 Subject: Accelerators - odd behavior In-Reply-To: References: Message-ID: What is very interesting about this is that I can't duplicate it with the "+" character. I've added all of the following to the scene accelerators and it still only fires my "plus" action once for each press. KeyCombination cmdPlus = new KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN); KeyCombination cmdAdd = new KeyCodeCombination(KeyCode.ADD, KeyCombination.CONTROL_DOWN); KeyCombination cmdPlusAsShiftEquals = new KeyCodeCombination(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, KeyCodeCombination.SHIFT_DOWN); KeyCombination cmdPlusFromCharacter = new KeyCharacterCombination("+", KeyCombination.CONTROL_DOWN); This is weird. On Fri, Sep 26, 2014 at 1:01 PM, Scott Palmer wrote: > KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, > KeyCombination.CONTROL_DOWN); > KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", > KeyCombination.CONTROL_DOWN); > > Using the above like this: > scene.getAccelerators().put(cmdMinus, runnable); > scene.getAccelerators().put(cmdMinusFromCharacter, runnable); > > Will result in the runnable being fired twice from the same keypress. > > I propose changing the accelerator processing logic so that only one > runnable gets called as the intention appears to be that a KeyCombination > can only have one runnable associated with it, but the logic in Map doesn't > see the above two KeyCombinations as the same key in the Map. > > Note: With the second combination above I really wanted something that > worked for both MINUS and SUBTRACT simultaneously - since they both type > the same Character and only one accelerator can be set on a MenuItem. > > Scott > > From kevin.rushforth at oracle.com Fri Sep 26 17:18:47 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Fri, 26 Sep 2014 10:18:47 -0700 Subject: User Mailing List / Forum In-Reply-To: <54244879.1030403@oracle.com> References: <54D3CE24C875604ABE7E6722C0EB88546E06F63145@QUIPSY1.Quipsy.local> <54244879.1030403@oracle.com> Message-ID: <54259FF7.4030108@oracle.com> Hi Markus, We have updated the OpenJFX Wiki to point to the right URL for the JavaFX forum: https://community.oracle.com/community/java/javafx/javafx_2.0_and_later Thank you for reporting the problem so we could fix it. -- Kevin Stephen F Northover wrote: > This is a good place to ask questions about JFX. I'll look into the > broken link. > > Steve > > On 2014-09-25, 10:38 AM, Markus Karg wrote: >> I am new to JavaFX and like to ask if there is some "official" JavaFX >> 8 forum or mailing list FOR USERS as I did not find this information >> on http://openjdk.java.net/projects/openjfx/ (actually it says the >> user forum is >> https://forums.oracle.com/forums/forum.jspa?forumID=1385 but that >> results in 404 NOT FOUND! >> >> Thanks >> -Markus > From steve.x.northover at oracle.com Fri Sep 26 17:20:56 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Fri, 26 Sep 2014 13:20:56 -0400 Subject: Accelerators - odd behavior In-Reply-To: References: Message-ID: <5425A078.9040104@oracle.com> I am only seeing the runnable fired once in FX 8u40. Steve Steps: 1) Run TestKeyCombination 2) Press Control+- Here is the test code: import javafx.application.Application; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.input.KeyCharacterCombination; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyCodeCombination; import javafx.scene.input.KeyCombination; import javafx.stage.Stage; public class TestKeyCombination extends Application { public static void main(String[] args) { Application.launch(args); } @Override public void start(Stage stage) { stage.setTitle("Test KeyCombination"); Scene scene = new Scene(new Group(), 600, 450); Button button1 = new Button(); button1.setText("Click Me"); stage.setScene(scene); stage.show(); KeyCombination cmdMinus = new KeyCodeCombination(KeyCode.MINUS, KeyCombination.CONTROL_DOWN); KeyCombination cmdMinusFromCharacter = new KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); Runnable runnable = () -> System.out.println("HI"); scene.getAccelerators().put(cmdMinus, runnable); scene.getAccelerators().put(cmdMinusFromCharacter, runnable); } } On 2014-09-26, 1:01 PM, Scott Palmer wrote: > KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, > KeyCombination.CONTROL_DOWN); > KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", > KeyCombination.CONTROL_DOWN); > > Using the above like this: > scene.getAccelerators().put(cmdMinus, runnable); > scene.getAccelerators().put(cmdMinusFromCharacter, runnable); > > Will result in the runnable being fired twice from the same keypress. > > I propose changing the accelerator processing logic so that only one > runnable gets called as the intention appears to be that a KeyCombination > can only have one runnable associated with it, but the logic in Map doesn't > see the above two KeyCombinations as the same key in the Map. > > Note: With the second combination above I really wanted something that > worked for both MINUS and SUBTRACT simultaneously - since they both type > the same Character and only one accelerator can be set on a MenuItem. > > Scott From kevin.rushforth at oracle.com Fri Sep 26 17:21:54 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Fri, 26 Sep 2014 10:21:54 -0700 Subject: Accelerators - odd behavior In-Reply-To: References: Message-ID: <5425A0B2.80406@oracle.com> This does seem somewhat strange. Do you get multiple calls to your runnable if you use a KeyCharacter combination and KeyCode combination for CTRL-a or other key that generates a key char without needing a shift? -- Kevin Scott Palmer wrote: > What is very interesting about this is that I can't duplicate it with the > "+" character. > I've added all of the following to the scene accelerators and it still only > fires my "plus" action once for each press. > > KeyCombination cmdPlus = new KeyCodeCombination(KeyCode.PLUS, > KeyCombination.CONTROL_DOWN); > KeyCombination cmdAdd = new KeyCodeCombination(KeyCode.ADD, > KeyCombination.CONTROL_DOWN); > KeyCombination cmdPlusAsShiftEquals = new > KeyCodeCombination(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, > KeyCodeCombination.SHIFT_DOWN); > KeyCombination cmdPlusFromCharacter = new KeyCharacterCombination("+", > KeyCombination.CONTROL_DOWN); > > This is weird. > > On Fri, Sep 26, 2014 at 1:01 PM, Scott Palmer wrote: > > >> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >> KeyCombination.CONTROL_DOWN); >> KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", >> KeyCombination.CONTROL_DOWN); >> >> Using the above like this: >> scene.getAccelerators().put(cmdMinus, runnable); >> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >> >> Will result in the runnable being fired twice from the same keypress. >> >> I propose changing the accelerator processing logic so that only one >> runnable gets called as the intention appears to be that a KeyCombination >> can only have one runnable associated with it, but the logic in Map doesn't >> see the above two KeyCombinations as the same key in the Map. >> >> Note: With the second combination above I really wanted something that >> worked for both MINUS and SUBTRACT simultaneously - since they both type >> the same Character and only one accelerator can be set on a MenuItem. >> >> Scott >> >> >> From tomas.mikula at gmail.com Fri Sep 26 17:21:30 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Fri, 26 Sep 2014 19:21:30 +0200 Subject: Accelerators - odd behavior In-Reply-To: References: Message-ID: Hi Scott, On Fri, Sep 26, 2014 at 7:01 PM, Scott Palmer wrote: > Note: With the second combination above I really wanted something that > worked for both MINUS and SUBTRACT simultaneously - since they both type > the same Character and only one accelerator can be set on a MenuItem. according to Javadoc for KeyCharacterCombination#match (which I was recently reminded to read), this would not work anyway, since "The key character of this object is first translated to the key code which is capable of producing the character in the current keyboard layout and then the resulting key code together with the modifier keys are matched against the key code and key modifiers from the KeyEvent." It seems it just arbitrarily picks whatever key code can produce the character. Best, Tomas From tomas.mikula at gmail.com Fri Sep 26 17:23:41 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Fri, 26 Sep 2014 19:23:41 +0200 Subject: Accelerators - odd behavior In-Reply-To: <54259F73.3080807@oracle.com> References: <54259F73.3080807@oracle.com> Message-ID: Hi Kevin, On Fri, Sep 26, 2014 at 7:16 PM, Kevin Rushforth wrote: > It seems to me that this is working as designed. You have created two > different KeyCombinations and asked that both fire your runnable. Further, > both of the KeyCombinations match your key input since both a KeyPressed and > a KeyTyped event are sent when pressing a key that has an associated > character. I'm not sure how we could change it in a way that wouldn't be > surprising or difficult to specify or document. The Javadoc for KeyCharacterCombination#match also says "This means that the method can return true only for KEY_PRESSED andKEY_RELEASED events, but not for KEY_TYPED events, which don't have valid key codes." Thus it is probably not related to KEY_TYPED events. Tomas > > -- Kevin > > > > Scott Palmer wrote: >> >> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >> KeyCombination.CONTROL_DOWN); >> KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", >> KeyCombination.CONTROL_DOWN); >> >> Using the above like this: >> scene.getAccelerators().put(cmdMinus, runnable); >> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >> >> Will result in the runnable being fired twice from the same keypress. >> >> I propose changing the accelerator processing logic so that only one >> runnable gets called as the intention appears to be that a KeyCombination >> can only have one runnable associated with it, but the logic in Map >> doesn't >> see the above two KeyCombinations as the same key in the Map. >> >> Note: With the second combination above I really wanted something that >> worked for both MINUS and SUBTRACT simultaneously - since they both type >> the same Character and only one accelerator can be set on a MenuItem. >> >> Scott >> From kevin.rushforth at oracle.com Fri Sep 26 17:24:24 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Fri, 26 Sep 2014 10:24:24 -0700 Subject: Accelerators - odd behavior In-Reply-To: <5425A078.9040104@oracle.com> References: <5425A078.9040104@oracle.com> Message-ID: <5425A148.5080900@oracle.com> Is this on a Mac or on Windows? I just ran your test case and I get two runnables, which is what I would expect. -- Kevin Stephen F Northover wrote: > I am only seeing the runnable fired once in FX 8u40. > > Steve > > Steps: > > 1) Run TestKeyCombination > 2) Press Control+- > > Here is the test code: > > import javafx.application.Application; > import javafx.scene.Group; > import javafx.scene.Scene; > import javafx.scene.control.Button; > import javafx.scene.input.KeyCharacterCombination; > import javafx.scene.input.KeyCode; > import javafx.scene.input.KeyCodeCombination; > import javafx.scene.input.KeyCombination; > import javafx.stage.Stage; > > public class TestKeyCombination extends Application { > public static void main(String[] args) { > Application.launch(args); > } > > @Override public void start(Stage stage) { > stage.setTitle("Test KeyCombination"); > Scene scene = new Scene(new Group(), 600, 450); > Button button1 = new Button(); > button1.setText("Click Me"); > stage.setScene(scene); > stage.show(); > > KeyCombination cmdMinus = new > KeyCodeCombination(KeyCode.MINUS, KeyCombination.CONTROL_DOWN); > KeyCombination cmdMinusFromCharacter = new > KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); > Runnable runnable = () -> System.out.println("HI"); > scene.getAccelerators().put(cmdMinus, runnable); > scene.getAccelerators().put(cmdMinusFromCharacter, runnable); > } > } > > > On 2014-09-26, 1:01 PM, Scott Palmer wrote: >> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >> KeyCombination.CONTROL_DOWN); >> KeyCombination cmdMinusFromCharacter = new >> Key*Character*Combination("-", >> KeyCombination.CONTROL_DOWN); >> >> Using the above like this: >> scene.getAccelerators().put(cmdMinus, runnable); >> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >> >> Will result in the runnable being fired twice from the same keypress. >> >> I propose changing the accelerator processing logic so that only one >> runnable gets called as the intention appears to be that a >> KeyCombination >> can only have one runnable associated with it, but the logic in Map >> doesn't >> see the above two KeyCombinations as the same key in the Map. >> >> Note: With the second combination above I really wanted something that >> worked for both MINUS and SUBTRACT simultaneously - since they both type >> the same Character and only one accelerator can be set on a MenuItem. >> >> Scott > From steve.x.northover at oracle.com Fri Sep 26 17:25:22 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Fri, 26 Sep 2014 13:25:22 -0400 Subject: Accelerators - odd behavior In-Reply-To: <5425A148.5080900@oracle.com> References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> Message-ID: <5425A182.2090102@oracle.com> This is on Mac. Will try Windows. Steve On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: > Is this on a Mac or on Windows? I just ran your test case and I get > two runnables, which is what I would expect. > > -- Kevin > > > Stephen F Northover wrote: >> I am only seeing the runnable fired once in FX 8u40. >> >> Steve >> >> Steps: >> >> 1) Run TestKeyCombination >> 2) Press Control+- >> >> Here is the test code: >> >> import javafx.application.Application; >> import javafx.scene.Group; >> import javafx.scene.Scene; >> import javafx.scene.control.Button; >> import javafx.scene.input.KeyCharacterCombination; >> import javafx.scene.input.KeyCode; >> import javafx.scene.input.KeyCodeCombination; >> import javafx.scene.input.KeyCombination; >> import javafx.stage.Stage; >> >> public class TestKeyCombination extends Application { >> public static void main(String[] args) { >> Application.launch(args); >> } >> >> @Override public void start(Stage stage) { >> stage.setTitle("Test KeyCombination"); >> Scene scene = new Scene(new Group(), 600, 450); >> Button button1 = new Button(); >> button1.setText("Click Me"); >> stage.setScene(scene); >> stage.show(); >> >> KeyCombination cmdMinus = new >> KeyCodeCombination(KeyCode.MINUS, KeyCombination.CONTROL_DOWN); >> KeyCombination cmdMinusFromCharacter = new >> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >> Runnable runnable = () -> System.out.println("HI"); >> scene.getAccelerators().put(cmdMinus, runnable); >> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >> } >> } >> >> >> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>> KeyCombination.CONTROL_DOWN); >>> KeyCombination cmdMinusFromCharacter = new >>> Key*Character*Combination("-", >>> KeyCombination.CONTROL_DOWN); >>> >>> Using the above like this: >>> scene.getAccelerators().put(cmdMinus, runnable); >>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>> >>> Will result in the runnable being fired twice from the same keypress. >>> >>> I propose changing the accelerator processing logic so that only one >>> runnable gets called as the intention appears to be that a >>> KeyCombination >>> can only have one runnable associated with it, but the logic in Map >>> doesn't >>> see the above two KeyCombinations as the same key in the Map. >>> >>> Note: With the second combination above I really wanted something that >>> worked for both MINUS and SUBTRACT simultaneously - since they both >>> type >>> the same Character and only one accelerator can be set on a MenuItem. >>> >>> Scott >> From swpalmer at gmail.com Fri Sep 26 17:26:25 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 13:26:25 -0400 Subject: Accelerators - odd behavior In-Reply-To: <5425A182.2090102@oracle.com> References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> Message-ID: I'm on Windows 7. On Fri, Sep 26, 2014 at 1:25 PM, Stephen F Northover < steve.x.northover at oracle.com> wrote: > This is on Mac. Will try Windows. > > Steve > > > On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: > >> Is this on a Mac or on Windows? I just ran your test case and I get two >> runnables, which is what I would expect. >> >> -- Kevin >> >> >> Stephen F Northover wrote: >> >>> I am only seeing the runnable fired once in FX 8u40. >>> >>> Steve >>> >>> Steps: >>> >>> 1) Run TestKeyCombination >>> 2) Press Control+- >>> >>> Here is the test code: >>> >>> import javafx.application.Application; >>> import javafx.scene.Group; >>> import javafx.scene.Scene; >>> import javafx.scene.control.Button; >>> import javafx.scene.input.KeyCharacterCombination; >>> import javafx.scene.input.KeyCode; >>> import javafx.scene.input.KeyCodeCombination; >>> import javafx.scene.input.KeyCombination; >>> import javafx.stage.Stage; >>> >>> public class TestKeyCombination extends Application { >>> public static void main(String[] args) { >>> Application.launch(args); >>> } >>> >>> @Override public void start(Stage stage) { >>> stage.setTitle("Test KeyCombination"); >>> Scene scene = new Scene(new Group(), 600, 450); >>> Button button1 = new Button(); >>> button1.setText("Click Me"); >>> stage.setScene(scene); >>> stage.show(); >>> >>> KeyCombination cmdMinus = new KeyCodeCombination(KeyCode.MINUS, >>> KeyCombination.CONTROL_DOWN); >>> KeyCombination cmdMinusFromCharacter = new >>> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >>> Runnable runnable = () -> System.out.println("HI"); >>> scene.getAccelerators().put(cmdMinus, runnable); >>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>> } >>> } >>> >>> >>> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>> >>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>> KeyCombination.CONTROL_DOWN); >>>> KeyCombination cmdMinusFromCharacter = new >>>> Key*Character*Combination("-", >>>> KeyCombination.CONTROL_DOWN); >>>> >>>> Using the above like this: >>>> scene.getAccelerators().put(cmdMinus, runnable); >>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>> >>>> Will result in the runnable being fired twice from the same keypress. >>>> >>>> I propose changing the accelerator processing logic so that only one >>>> runnable gets called as the intention appears to be that a >>>> KeyCombination >>>> can only have one runnable associated with it, but the logic in Map >>>> doesn't >>>> see the above two KeyCombinations as the same key in the Map. >>>> >>>> Note: With the second combination above I really wanted something that >>>> worked for both MINUS and SUBTRACT simultaneously - since they both type >>>> the same Character and only one accelerator can be set on a MenuItem. >>>> >>>> Scott >>>> >>> >>> > From swpalmer at gmail.com Fri Sep 26 17:27:07 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 13:27:07 -0400 Subject: Fwd: Accelerators - odd behavior In-Reply-To: References: <5425A0B2.80406@oracle.com> Message-ID: Forgot to include the list. (I'm testing with 8u20 btw) ---------- Forwarded message ---------- From: Scott Palmer Date: Fri, Sep 26, 2014 at 1:25 PM Subject: Re: Accelerators - odd behavior To: Kevin Rushforth Yes, for CTRL+a I do see it fire twice. On Fri, Sep 26, 2014 at 1:21 PM, Kevin Rushforth wrote: > This does seem somewhat strange. Do you get multiple calls to your > runnable if you use a KeyCharacter combination and KeyCode combination for > CTRL-a or other key that generates a key char without needing a shift? > > -- Kevin > > > Scott Palmer wrote: > >> What is very interesting about this is that I can't duplicate it with the >> "+" character. >> I've added all of the following to the scene accelerators and it still >> only >> fires my "plus" action once for each press. >> >> KeyCombination cmdPlus = new KeyCodeCombination(KeyCode.PLUS, >> KeyCombination.CONTROL_DOWN); >> KeyCombination cmdAdd = new KeyCodeCombination(KeyCode.ADD, >> KeyCombination.CONTROL_DOWN); >> KeyCombination cmdPlusAsShiftEquals = new >> KeyCodeCombination(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, >> KeyCodeCombination.SHIFT_DOWN); >> KeyCombination cmdPlusFromCharacter = new KeyCharacterCombination("+", >> KeyCombination.CONTROL_DOWN); >> >> This is weird. >> >> On Fri, Sep 26, 2014 at 1:01 PM, Scott Palmer wrote: >> >> >> >>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>> KeyCombination.CONTROL_DOWN); >>> KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", >>> KeyCombination.CONTROL_DOWN); >>> >>> Using the above like this: >>> scene.getAccelerators().put(cmdMinus, runnable); >>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>> >>> Will result in the runnable being fired twice from the same keypress. >>> >>> I propose changing the accelerator processing logic so that only one >>> runnable gets called as the intention appears to be that a KeyCombination >>> can only have one runnable associated with it, but the logic in Map >>> doesn't >>> see the above two KeyCombinations as the same key in the Map. >>> >>> Note: With the second combination above I really wanted something that >>> worked for both MINUS and SUBTRACT simultaneously - since they both type >>> the same Character and only one accelerator can be set on a MenuItem. >>> >>> Scott >>> >>> >>> >>> >> From tomas.mikula at gmail.com Fri Sep 26 17:28:01 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Fri, 26 Sep 2014 19:28:01 +0200 Subject: Accelerators - odd behavior In-Reply-To: <5425A148.5080900@oracle.com> References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> Message-ID: The explanation could be that on some systems the KeyCharacterCombination("-").match picks the same key code as the one produced by key press (e.g. MINUS), while on other systems it picks the other one (SUBTRACT). On Fri, Sep 26, 2014 at 7:24 PM, Kevin Rushforth wrote: > Is this on a Mac or on Windows? I just ran your test case and I get two > runnables, which is what I would expect. > > -- Kevin > > > > Stephen F Northover wrote: >> >> I am only seeing the runnable fired once in FX 8u40. >> >> Steve >> >> Steps: >> >> 1) Run TestKeyCombination >> 2) Press Control+- >> >> Here is the test code: >> >> import javafx.application.Application; >> import javafx.scene.Group; >> import javafx.scene.Scene; >> import javafx.scene.control.Button; >> import javafx.scene.input.KeyCharacterCombination; >> import javafx.scene.input.KeyCode; >> import javafx.scene.input.KeyCodeCombination; >> import javafx.scene.input.KeyCombination; >> import javafx.stage.Stage; >> >> public class TestKeyCombination extends Application { >> public static void main(String[] args) { >> Application.launch(args); >> } >> >> @Override public void start(Stage stage) { >> stage.setTitle("Test KeyCombination"); >> Scene scene = new Scene(new Group(), 600, 450); >> Button button1 = new Button(); >> button1.setText("Click Me"); >> stage.setScene(scene); >> stage.show(); >> >> KeyCombination cmdMinus = new KeyCodeCombination(KeyCode.MINUS, >> KeyCombination.CONTROL_DOWN); >> KeyCombination cmdMinusFromCharacter = new >> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >> Runnable runnable = () -> System.out.println("HI"); >> scene.getAccelerators().put(cmdMinus, runnable); >> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >> } >> } >> >> >> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>> >>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>> KeyCombination.CONTROL_DOWN); >>> KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", >>> KeyCombination.CONTROL_DOWN); >>> >>> Using the above like this: >>> scene.getAccelerators().put(cmdMinus, runnable); >>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>> >>> Will result in the runnable being fired twice from the same keypress. >>> >>> I propose changing the accelerator processing logic so that only one >>> runnable gets called as the intention appears to be that a KeyCombination >>> can only have one runnable associated with it, but the logic in Map >>> doesn't >>> see the above two KeyCombinations as the same key in the Map. >>> >>> Note: With the second combination above I really wanted something that >>> worked for both MINUS and SUBTRACT simultaneously - since they both type >>> the same Character and only one accelerator can be set on a MenuItem. >>> >>> Scott >> >> > From swpalmer at gmail.com Fri Sep 26 17:28:42 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 13:28:42 -0400 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A0B2.80406@oracle.com> Message-ID: While we are on the subject... Why does a Scene accelerator Map take runnables instead of EventHandlers ? Scott On Fri, Sep 26, 2014 at 1:27 PM, Scott Palmer wrote: > Forgot to include the list. > > (I'm testing with 8u20 btw) > > ---------- Forwarded message ---------- > From: Scott Palmer > Date: Fri, Sep 26, 2014 at 1:25 PM > Subject: Re: Accelerators - odd behavior > To: Kevin Rushforth > > > Yes, for CTRL+a I do see it fire twice. > > On Fri, Sep 26, 2014 at 1:21 PM, Kevin Rushforth < > kevin.rushforth at oracle.com> wrote: > >> This does seem somewhat strange. Do you get multiple calls to your >> runnable if you use a KeyCharacter combination and KeyCode combination for >> CTRL-a or other key that generates a key char without needing a shift? >> >> -- Kevin >> >> >> Scott Palmer wrote: >> >>> What is very interesting about this is that I can't duplicate it with the >>> "+" character. >>> I've added all of the following to the scene accelerators and it still >>> only >>> fires my "plus" action once for each press. >>> >>> KeyCombination cmdPlus = new KeyCodeCombination(KeyCode.PLUS, >>> KeyCombination.CONTROL_DOWN); >>> KeyCombination cmdAdd = new KeyCodeCombination(KeyCode.ADD, >>> KeyCombination.CONTROL_DOWN); >>> KeyCombination cmdPlusAsShiftEquals = new >>> KeyCodeCombination(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, >>> KeyCodeCombination.SHIFT_DOWN); >>> KeyCombination cmdPlusFromCharacter = new KeyCharacterCombination("+", >>> KeyCombination.CONTROL_DOWN); >>> >>> This is weird. >>> >>> On Fri, Sep 26, 2014 at 1:01 PM, Scott Palmer >>> wrote: >>> >>> >>> >>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>> KeyCombination.CONTROL_DOWN); >>>> KeyCombination cmdMinusFromCharacter = new >>>> Key*Character*Combination("-", >>>> KeyCombination.CONTROL_DOWN); >>>> >>>> Using the above like this: >>>> scene.getAccelerators().put(cmdMinus, runnable); >>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>> >>>> Will result in the runnable being fired twice from the same keypress. >>>> >>>> I propose changing the accelerator processing logic so that only one >>>> runnable gets called as the intention appears to be that a >>>> KeyCombination >>>> can only have one runnable associated with it, but the logic in Map >>>> doesn't >>>> see the above two KeyCombinations as the same key in the Map. >>>> >>>> Note: With the second combination above I really wanted something that >>>> worked for both MINUS and SUBTRACT simultaneously - since they both type >>>> the same Character and only one accelerator can be set on a MenuItem. >>>> >>>> Scott >>>> >>>> >>>> >>>> >>> > > From kevin.rushforth at oracle.com Fri Sep 26 17:29:25 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Fri, 26 Sep 2014 10:29:25 -0700 Subject: Accelerators - odd behavior In-Reply-To: References: <54259F73.3080807@oracle.com> Message-ID: <5425A275.7000702@oracle.com> > "This means that the method can return true only for KEY_PRESSED > andKEY_RELEASED events, but not for KEY_TYPED events, which don't have > valid key codes." Ah, I missed that. I would expect such a disclaimer for KeyCodeCombination but not for KeyTypedCombination. In any case, it still seems correct that two events are produced for the particular test case in question. -- Kevin Tomas Mikula wrote: > Hi Kevin, > > > On Fri, Sep 26, 2014 at 7:16 PM, Kevin Rushforth > wrote: > >> It seems to me that this is working as designed. You have created two >> different KeyCombinations and asked that both fire your runnable. Further, >> both of the KeyCombinations match your key input since both a KeyPressed and >> a KeyTyped event are sent when pressing a key that has an associated >> character. I'm not sure how we could change it in a way that wouldn't be >> surprising or difficult to specify or document. >> > > The Javadoc for KeyCharacterCombination#match also says > > "This means that the method can return true only for KEY_PRESSED > andKEY_RELEASED events, but not for KEY_TYPED events, which don't have > valid key codes." > > Thus it is probably not related to KEY_TYPED events. > > Tomas > > >> -- Kevin >> >> >> >> Scott Palmer wrote: >> >>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>> KeyCombination.CONTROL_DOWN); >>> KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", >>> KeyCombination.CONTROL_DOWN); >>> >>> Using the above like this: >>> scene.getAccelerators().put(cmdMinus, runnable); >>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>> >>> Will result in the runnable being fired twice from the same keypress. >>> >>> I propose changing the accelerator processing logic so that only one >>> runnable gets called as the intention appears to be that a KeyCombination >>> can only have one runnable associated with it, but the logic in Map >>> doesn't >>> see the above two KeyCombinations as the same key in the Map. >>> >>> Note: With the second combination above I really wanted something that >>> worked for both MINUS and SUBTRACT simultaneously - since they both type >>> the same Character and only one accelerator can be set on a MenuItem. >>> >>> Scott >>> >>> From swpalmer at gmail.com Fri Sep 26 17:31:31 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 13:31:31 -0400 Subject: Accelerators - odd behavior In-Reply-To: <5425A275.7000702@oracle.com> References: <54259F73.3080807@oracle.com> <5425A275.7000702@oracle.com> Message-ID: That would imply that 8u40 is broken (where '-' only fired once for Stephen), or it's broken for the + key. Scott On Fri, Sep 26, 2014 at 1:29 PM, Kevin Rushforth wrote: > > "This means that the method can return true only for KEY_PRESSED > andKEY_RELEASED events, but not for KEY_TYPED events, which don't have > valid key codes." > > > Ah, I missed that. I would expect such a disclaimer for KeyCodeCombination > but not for KeyTypedCombination. In any case, it still seems correct that > two events are produced for the particular test case in question. > > -- Kevin > > > > Tomas Mikula wrote: > > Hi Kevin, > > > On Fri, Sep 26, 2014 at 7:16 PM, Kevin Rushforth wrote: > > > It seems to me that this is working as designed. You have created two > different KeyCombinations and asked that both fire your runnable. Further, > both of the KeyCombinations match your key input since both a KeyPressed and > a KeyTyped event are sent when pressing a key that has an associated > character. I'm not sure how we could change it in a way that wouldn't be > surprising or difficult to specify or document. > > > The Javadoc for KeyCharacterCombination#match also says > > "This means that the method can return true only for KEY_PRESSED > andKEY_RELEASED events, but not for KEY_TYPED events, which don't have > valid key codes." > > Thus it is probably not related to KEY_TYPED events. > > Tomas > > > > -- Kevin > > > > Scott Palmer wrote: > > > KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, > KeyCombination.CONTROL_DOWN); > KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", > KeyCombination.CONTROL_DOWN); > > Using the above like this: > scene.getAccelerators().put(cmdMinus, runnable); > scene.getAccelerators().put(cmdMinusFromCharacter, runnable); > > Will result in the runnable being fired twice from the same keypress. > > I propose changing the accelerator processing logic so that only one > runnable gets called as the intention appears to be that a KeyCombination > can only have one runnable associated with it, but the logic in Map > doesn't > see the above two KeyCombinations as the same key in the Map. > > Note: With the second combination above I really wanted something that > worked for both MINUS and SUBTRACT simultaneously - since they both type > the same Character and only one accelerator can be set on a MenuItem. > > Scott > > > > From swpalmer at gmail.com Fri Sep 26 17:33:23 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 13:33:23 -0400 Subject: Accelerators - odd behavior In-Reply-To: References: <54259F73.3080807@oracle.com> <5425A275.7000702@oracle.com> Message-ID: Attached my test case... On Fri, Sep 26, 2014 at 1:31 PM, Scott Palmer wrote: > That would imply that 8u40 is broken (where '-' only fired once for > Stephen), or it's broken for the + key. > > Scott > > On Fri, Sep 26, 2014 at 1:29 PM, Kevin Rushforth < > kevin.rushforth at oracle.com> wrote: > >> >> "This means that the method can return true only for KEY_PRESSED >> andKEY_RELEASED events, but not for KEY_TYPED events, which don't have >> valid key codes." >> >> >> Ah, I missed that. I would expect such a disclaimer for >> KeyCodeCombination but not for KeyTypedCombination. In any case, it still >> seems correct that two events are produced for the particular test case in >> question. >> >> -- Kevin >> >> >> >> Tomas Mikula wrote: >> >> Hi Kevin, >> >> >> On Fri, Sep 26, 2014 at 7:16 PM, Kevin Rushforth wrote: >> >> >> It seems to me that this is working as designed. You have created two >> different KeyCombinations and asked that both fire your runnable. Further, >> both of the KeyCombinations match your key input since both a KeyPressed and >> a KeyTyped event are sent when pressing a key that has an associated >> character. I'm not sure how we could change it in a way that wouldn't be >> surprising or difficult to specify or document. >> >> >> The Javadoc for KeyCharacterCombination#match also says >> >> "This means that the method can return true only for KEY_PRESSED >> andKEY_RELEASED events, but not for KEY_TYPED events, which don't have >> valid key codes." >> >> Thus it is probably not related to KEY_TYPED events. >> >> Tomas >> >> >> >> -- Kevin >> >> >> >> Scott Palmer wrote: >> >> >> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >> KeyCombination.CONTROL_DOWN); >> KeyCombination cmdMinusFromCharacter = new Key*Character*Combination("-", >> KeyCombination.CONTROL_DOWN); >> >> Using the above like this: >> scene.getAccelerators().put(cmdMinus, runnable); >> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >> >> Will result in the runnable being fired twice from the same keypress. >> >> I propose changing the accelerator processing logic so that only one >> runnable gets called as the intention appears to be that a KeyCombination >> can only have one runnable associated with it, but the logic in Map >> doesn't >> see the above two KeyCombinations as the same key in the Map. >> >> Note: With the second combination above I really wanted something that >> worked for both MINUS and SUBTRACT simultaneously - since they both type >> the same Character and only one accelerator can be set on a MenuItem. >> >> Scott >> >> >> >> > From steve.x.northover at oracle.com Fri Sep 26 17:35:38 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Fri, 26 Sep 2014 13:35:38 -0400 Subject: Accelerators - odd behavior In-Reply-To: <5425A182.2090102@oracle.com> References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> Message-ID: <5425A3EA.4080200@oracle.com> Two on Windows, one on Mac. See https://javafx-jira.kenai.com/browse/RT-38830 Steve On 2014-09-26, 1:25 PM, Stephen F Northover wrote: > This is on Mac. Will try Windows. > > Steve > > On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: >> Is this on a Mac or on Windows? I just ran your test case and I get >> two runnables, which is what I would expect. >> >> -- Kevin >> >> >> Stephen F Northover wrote: >>> I am only seeing the runnable fired once in FX 8u40. >>> >>> Steve >>> >>> Steps: >>> >>> 1) Run TestKeyCombination >>> 2) Press Control+- >>> >>> Here is the test code: >>> >>> import javafx.application.Application; >>> import javafx.scene.Group; >>> import javafx.scene.Scene; >>> import javafx.scene.control.Button; >>> import javafx.scene.input.KeyCharacterCombination; >>> import javafx.scene.input.KeyCode; >>> import javafx.scene.input.KeyCodeCombination; >>> import javafx.scene.input.KeyCombination; >>> import javafx.stage.Stage; >>> >>> public class TestKeyCombination extends Application { >>> public static void main(String[] args) { >>> Application.launch(args); >>> } >>> >>> @Override public void start(Stage stage) { >>> stage.setTitle("Test KeyCombination"); >>> Scene scene = new Scene(new Group(), 600, 450); >>> Button button1 = new Button(); >>> button1.setText("Click Me"); >>> stage.setScene(scene); >>> stage.show(); >>> >>> KeyCombination cmdMinus = new >>> KeyCodeCombination(KeyCode.MINUS, KeyCombination.CONTROL_DOWN); >>> KeyCombination cmdMinusFromCharacter = new >>> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >>> Runnable runnable = () -> System.out.println("HI"); >>> scene.getAccelerators().put(cmdMinus, runnable); >>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>> } >>> } >>> >>> >>> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>> KeyCombination.CONTROL_DOWN); >>>> KeyCombination cmdMinusFromCharacter = new >>>> Key*Character*Combination("-", >>>> KeyCombination.CONTROL_DOWN); >>>> >>>> Using the above like this: >>>> scene.getAccelerators().put(cmdMinus, runnable); >>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>> >>>> Will result in the runnable being fired twice from the same keypress. >>>> >>>> I propose changing the accelerator processing logic so that only one >>>> runnable gets called as the intention appears to be that a >>>> KeyCombination >>>> can only have one runnable associated with it, but the logic in Map >>>> doesn't >>>> see the above two KeyCombinations as the same key in the Map. >>>> >>>> Note: With the second combination above I really wanted something that >>>> worked for both MINUS and SUBTRACT simultaneously - since they both >>>> type >>>> the same Character and only one accelerator can be set on a MenuItem. >>>> >>>> Scott >>> > From swpalmer at gmail.com Fri Sep 26 17:39:23 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 13:39:23 -0400 Subject: Accelerators - odd behavior In-Reply-To: <5425A3EA.4080200@oracle.com> References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> Message-ID: Okay.. so what is going on with Windows and CTRL+PLUS ? Scott On Fri, Sep 26, 2014 at 1:35 PM, Stephen F Northover < steve.x.northover at oracle.com> wrote: > Two on Windows, one on Mac. See https://javafx-jira.kenai.com/ > browse/RT-38830 > > Steve > > > On 2014-09-26, 1:25 PM, Stephen F Northover wrote: > >> This is on Mac. Will try Windows. >> >> Steve >> >> On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: >> >>> Is this on a Mac or on Windows? I just ran your test case and I get two >>> runnables, which is what I would expect. >>> >>> -- Kevin >>> >>> >>> Stephen F Northover wrote: >>> >>>> I am only seeing the runnable fired once in FX 8u40. >>>> >>>> Steve >>>> >>>> Steps: >>>> >>>> 1) Run TestKeyCombination >>>> 2) Press Control+- >>>> >>>> Here is the test code: >>>> >>>> import javafx.application.Application; >>>> import javafx.scene.Group; >>>> import javafx.scene.Scene; >>>> import javafx.scene.control.Button; >>>> import javafx.scene.input.KeyCharacterCombination; >>>> import javafx.scene.input.KeyCode; >>>> import javafx.scene.input.KeyCodeCombination; >>>> import javafx.scene.input.KeyCombination; >>>> import javafx.stage.Stage; >>>> >>>> public class TestKeyCombination extends Application { >>>> public static void main(String[] args) { >>>> Application.launch(args); >>>> } >>>> >>>> @Override public void start(Stage stage) { >>>> stage.setTitle("Test KeyCombination"); >>>> Scene scene = new Scene(new Group(), 600, 450); >>>> Button button1 = new Button(); >>>> button1.setText("Click Me"); >>>> stage.setScene(scene); >>>> stage.show(); >>>> >>>> KeyCombination cmdMinus = new KeyCodeCombination(KeyCode.MINUS, >>>> KeyCombination.CONTROL_DOWN); >>>> KeyCombination cmdMinusFromCharacter = new >>>> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >>>> Runnable runnable = () -> System.out.println("HI"); >>>> scene.getAccelerators().put(cmdMinus, runnable); >>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>> } >>>> } >>>> >>>> >>>> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>>> >>>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>>> KeyCombination.CONTROL_DOWN); >>>>> KeyCombination cmdMinusFromCharacter = new >>>>> Key*Character*Combination("-", >>>>> KeyCombination.CONTROL_DOWN); >>>>> >>>>> Using the above like this: >>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>> >>>>> Will result in the runnable being fired twice from the same keypress. >>>>> >>>>> I propose changing the accelerator processing logic so that only one >>>>> runnable gets called as the intention appears to be that a >>>>> KeyCombination >>>>> can only have one runnable associated with it, but the logic in Map >>>>> doesn't >>>>> see the above two KeyCombinations as the same key in the Map. >>>>> >>>>> Note: With the second combination above I really wanted something that >>>>> worked for both MINUS and SUBTRACT simultaneously - since they both >>>>> type >>>>> the same Character and only one accelerator can be set on a MenuItem. >>>>> >>>>> Scott >>>>> >>>> >>>> >> > From kevin.rushforth at oracle.com Fri Sep 26 17:41:33 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Fri, 26 Sep 2014 10:41:33 -0700 Subject: Accelerators - odd behavior In-Reply-To: <5425A3EA.4080200@oracle.com> References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> Message-ID: <5425A54D.7040601@oracle.com> It may or may not be a bug, but it will be good to investigate. -- Kevin Stephen F Northover wrote: > Two on Windows, one on Mac. See > https://javafx-jira.kenai.com/browse/RT-38830 > > Steve > > On 2014-09-26, 1:25 PM, Stephen F Northover wrote: >> This is on Mac. Will try Windows. >> >> Steve >> >> On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: >>> Is this on a Mac or on Windows? I just ran your test case and I get >>> two runnables, which is what I would expect. >>> >>> -- Kevin >>> >>> >>> Stephen F Northover wrote: >>>> I am only seeing the runnable fired once in FX 8u40. >>>> >>>> Steve >>>> >>>> Steps: >>>> >>>> 1) Run TestKeyCombination >>>> 2) Press Control+- >>>> >>>> Here is the test code: >>>> >>>> import javafx.application.Application; >>>> import javafx.scene.Group; >>>> import javafx.scene.Scene; >>>> import javafx.scene.control.Button; >>>> import javafx.scene.input.KeyCharacterCombination; >>>> import javafx.scene.input.KeyCode; >>>> import javafx.scene.input.KeyCodeCombination; >>>> import javafx.scene.input.KeyCombination; >>>> import javafx.stage.Stage; >>>> >>>> public class TestKeyCombination extends Application { >>>> public static void main(String[] args) { >>>> Application.launch(args); >>>> } >>>> >>>> @Override public void start(Stage stage) { >>>> stage.setTitle("Test KeyCombination"); >>>> Scene scene = new Scene(new Group(), 600, 450); >>>> Button button1 = new Button(); >>>> button1.setText("Click Me"); >>>> stage.setScene(scene); >>>> stage.show(); >>>> >>>> KeyCombination cmdMinus = new >>>> KeyCodeCombination(KeyCode.MINUS, KeyCombination.CONTROL_DOWN); >>>> KeyCombination cmdMinusFromCharacter = new >>>> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >>>> Runnable runnable = () -> System.out.println("HI"); >>>> scene.getAccelerators().put(cmdMinus, runnable); >>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>> } >>>> } >>>> >>>> >>>> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>>> KeyCombination.CONTROL_DOWN); >>>>> KeyCombination cmdMinusFromCharacter = new >>>>> Key*Character*Combination("-", >>>>> KeyCombination.CONTROL_DOWN); >>>>> >>>>> Using the above like this: >>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>> >>>>> Will result in the runnable being fired twice from the same keypress. >>>>> >>>>> I propose changing the accelerator processing logic so that only one >>>>> runnable gets called as the intention appears to be that a >>>>> KeyCombination >>>>> can only have one runnable associated with it, but the logic in >>>>> Map doesn't >>>>> see the above two KeyCombinations as the same key in the Map. >>>>> >>>>> Note: With the second combination above I really wanted something >>>>> that >>>>> worked for both MINUS and SUBTRACT simultaneously - since they >>>>> both type >>>>> the same Character and only one accelerator can be set on a MenuItem. >>>>> >>>>> Scott >>>> >> > From kevin.rushforth at oracle.com Fri Sep 26 17:41:40 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Fri, 26 Sep 2014 10:41:40 -0700 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A0B2.80406@oracle.com> Message-ID: <5425A554.4070102@oracle.com> > Why does a Scene accelerator Map take runnables instead of EventHandlers ? That's a good question. It's been that way since it was initially introduced in FX 2.0, and it seems at odds with the way other events are handled. -- Kevin Scott Palmer wrote: > While we are on the subject... Why does a Scene accelerator Map take > runnables instead of EventHandlers ? > > Scott > > On Fri, Sep 26, 2014 at 1:27 PM, Scott Palmer wrote: > > >> Forgot to include the list. >> >> (I'm testing with 8u20 btw) >> >> ---------- Forwarded message ---------- >> From: Scott Palmer >> Date: Fri, Sep 26, 2014 at 1:25 PM >> Subject: Re: Accelerators - odd behavior >> To: Kevin Rushforth >> >> >> Yes, for CTRL+a I do see it fire twice. >> >> On Fri, Sep 26, 2014 at 1:21 PM, Kevin Rushforth < >> kevin.rushforth at oracle.com> wrote: >> >> >>> This does seem somewhat strange. Do you get multiple calls to your >>> runnable if you use a KeyCharacter combination and KeyCode combination for >>> CTRL-a or other key that generates a key char without needing a shift? >>> >>> -- Kevin >>> >>> >>> Scott Palmer wrote: >>> >>> >>>> What is very interesting about this is that I can't duplicate it with the >>>> "+" character. >>>> I've added all of the following to the scene accelerators and it still >>>> only >>>> fires my "plus" action once for each press. >>>> >>>> KeyCombination cmdPlus = new KeyCodeCombination(KeyCode.PLUS, >>>> KeyCombination.CONTROL_DOWN); >>>> KeyCombination cmdAdd = new KeyCodeCombination(KeyCode.ADD, >>>> KeyCombination.CONTROL_DOWN); >>>> KeyCombination cmdPlusAsShiftEquals = new >>>> KeyCodeCombination(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, >>>> KeyCodeCombination.SHIFT_DOWN); >>>> KeyCombination cmdPlusFromCharacter = new KeyCharacterCombination("+", >>>> KeyCombination.CONTROL_DOWN); >>>> >>>> This is weird. >>>> >>>> On Fri, Sep 26, 2014 at 1:01 PM, Scott Palmer >>>> wrote: >>>> >>>> >>>> >>>> >>>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>>> KeyCombination.CONTROL_DOWN); >>>>> KeyCombination cmdMinusFromCharacter = new >>>>> Key*Character*Combination("-", >>>>> KeyCombination.CONTROL_DOWN); >>>>> >>>>> Using the above like this: >>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>> >>>>> Will result in the runnable being fired twice from the same keypress. >>>>> >>>>> I propose changing the accelerator processing logic so that only one >>>>> runnable gets called as the intention appears to be that a >>>>> KeyCombination >>>>> can only have one runnable associated with it, but the logic in Map >>>>> doesn't >>>>> see the above two KeyCombinations as the same key in the Map. >>>>> >>>>> Note: With the second combination above I really wanted something that >>>>> worked for both MINUS and SUBTRACT simultaneously - since they both type >>>>> the same Character and only one accelerator can be set on a MenuItem. >>>>> >>>>> Scott >>>>> >>>>> >>>>> >>>>> >>>>> >> From steve.x.northover at oracle.com Fri Sep 26 17:42:55 2014 From: steve.x.northover at oracle.com (Stephen F Northover) Date: Fri, 26 Sep 2014 13:42:55 -0400 Subject: Accelerators - odd behavior In-Reply-To: <5425A54D.7040601@oracle.com> References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> Message-ID: <5425A59F.6070600@oracle.com> Agree. Suggest that we move the discussion to the JIRA to capture the background information for whoever will address the bug. Steve On 2014-09-26, 1:41 PM, Kevin Rushforth wrote: > It may or may not be a bug, but it will be good to investigate. > > -- Kevin > > > Stephen F Northover wrote: >> Two on Windows, one on Mac. See >> https://javafx-jira.kenai.com/browse/RT-38830 >> >> Steve >> >> On 2014-09-26, 1:25 PM, Stephen F Northover wrote: >>> This is on Mac. Will try Windows. >>> >>> Steve >>> >>> On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: >>>> Is this on a Mac or on Windows? I just ran your test case and I >>>> get two runnables, which is what I would expect. >>>> >>>> -- Kevin >>>> >>>> >>>> Stephen F Northover wrote: >>>>> I am only seeing the runnable fired once in FX 8u40. >>>>> >>>>> Steve >>>>> >>>>> Steps: >>>>> >>>>> 1) Run TestKeyCombination >>>>> 2) Press Control+- >>>>> >>>>> Here is the test code: >>>>> >>>>> import javafx.application.Application; >>>>> import javafx.scene.Group; >>>>> import javafx.scene.Scene; >>>>> import javafx.scene.control.Button; >>>>> import javafx.scene.input.KeyCharacterCombination; >>>>> import javafx.scene.input.KeyCode; >>>>> import javafx.scene.input.KeyCodeCombination; >>>>> import javafx.scene.input.KeyCombination; >>>>> import javafx.stage.Stage; >>>>> >>>>> public class TestKeyCombination extends Application { >>>>> public static void main(String[] args) { >>>>> Application.launch(args); >>>>> } >>>>> >>>>> @Override public void start(Stage stage) { >>>>> stage.setTitle("Test KeyCombination"); >>>>> Scene scene = new Scene(new Group(), 600, 450); >>>>> Button button1 = new Button(); >>>>> button1.setText("Click Me"); >>>>> stage.setScene(scene); >>>>> stage.show(); >>>>> >>>>> KeyCombination cmdMinus = new >>>>> KeyCodeCombination(KeyCode.MINUS, KeyCombination.CONTROL_DOWN); >>>>> KeyCombination cmdMinusFromCharacter = new >>>>> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >>>>> Runnable runnable = () -> System.out.println("HI"); >>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>> } >>>>> } >>>>> >>>>> >>>>> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>>>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>>>> KeyCombination.CONTROL_DOWN); >>>>>> KeyCombination cmdMinusFromCharacter = new >>>>>> Key*Character*Combination("-", >>>>>> KeyCombination.CONTROL_DOWN); >>>>>> >>>>>> Using the above like this: >>>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>>> >>>>>> Will result in the runnable being fired twice from the same >>>>>> keypress. >>>>>> >>>>>> I propose changing the accelerator processing logic so that only one >>>>>> runnable gets called as the intention appears to be that a >>>>>> KeyCombination >>>>>> can only have one runnable associated with it, but the logic in >>>>>> Map doesn't >>>>>> see the above two KeyCombinations as the same key in the Map. >>>>>> >>>>>> Note: With the second combination above I really wanted something >>>>>> that >>>>>> worked for both MINUS and SUBTRACT simultaneously - since they >>>>>> both type >>>>>> the same Character and only one accelerator can be set on a >>>>>> MenuItem. >>>>>> >>>>>> Scott >>>>> >>> >> From swpalmer at gmail.com Fri Sep 26 17:43:54 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 13:43:54 -0400 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> Message-ID: What started all this was that I sued CTRL +/- to zoom in and out in my app. People found that one press to zoom out needed two presses to zoom back in. If the behavior is platform-specific it will be awkward to deal with. Specially since I want it to work with the numeric keypad as well.. so I need to manually add accelerators to the scene apart from my MenuItem accelerators. Scott On Fri, Sep 26, 2014 at 1:39 PM, Scott Palmer wrote: > Okay.. so what is going on with Windows and CTRL+PLUS ? > > Scott > > On Fri, Sep 26, 2014 at 1:35 PM, Stephen F Northover < > steve.x.northover at oracle.com> wrote: > >> Two on Windows, one on Mac. See https://javafx-jira.kenai.com/ >> browse/RT-38830 >> >> Steve >> >> >> On 2014-09-26, 1:25 PM, Stephen F Northover wrote: >> >>> This is on Mac. Will try Windows. >>> >>> Steve >>> >>> On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: >>> >>>> Is this on a Mac or on Windows? I just ran your test case and I get >>>> two runnables, which is what I would expect. >>>> >>>> -- Kevin >>>> >>>> >>>> Stephen F Northover wrote: >>>> >>>>> I am only seeing the runnable fired once in FX 8u40. >>>>> >>>>> Steve >>>>> >>>>> Steps: >>>>> >>>>> 1) Run TestKeyCombination >>>>> 2) Press Control+- >>>>> >>>>> Here is the test code: >>>>> >>>>> import javafx.application.Application; >>>>> import javafx.scene.Group; >>>>> import javafx.scene.Scene; >>>>> import javafx.scene.control.Button; >>>>> import javafx.scene.input.KeyCharacterCombination; >>>>> import javafx.scene.input.KeyCode; >>>>> import javafx.scene.input.KeyCodeCombination; >>>>> import javafx.scene.input.KeyCombination; >>>>> import javafx.stage.Stage; >>>>> >>>>> public class TestKeyCombination extends Application { >>>>> public static void main(String[] args) { >>>>> Application.launch(args); >>>>> } >>>>> >>>>> @Override public void start(Stage stage) { >>>>> stage.setTitle("Test KeyCombination"); >>>>> Scene scene = new Scene(new Group(), 600, 450); >>>>> Button button1 = new Button(); >>>>> button1.setText("Click Me"); >>>>> stage.setScene(scene); >>>>> stage.show(); >>>>> >>>>> KeyCombination cmdMinus = new KeyCodeCombination(KeyCode.MINUS, >>>>> KeyCombination.CONTROL_DOWN); >>>>> KeyCombination cmdMinusFromCharacter = new >>>>> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >>>>> Runnable runnable = () -> System.out.println("HI"); >>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>> } >>>>> } >>>>> >>>>> >>>>> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>>>> >>>>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>>>> KeyCombination.CONTROL_DOWN); >>>>>> KeyCombination cmdMinusFromCharacter = new >>>>>> Key*Character*Combination("-", >>>>>> KeyCombination.CONTROL_DOWN); >>>>>> >>>>>> Using the above like this: >>>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>>> >>>>>> Will result in the runnable being fired twice from the same keypress. >>>>>> >>>>>> I propose changing the accelerator processing logic so that only one >>>>>> runnable gets called as the intention appears to be that a >>>>>> KeyCombination >>>>>> can only have one runnable associated with it, but the logic in Map >>>>>> doesn't >>>>>> see the above two KeyCombinations as the same key in the Map. >>>>>> >>>>>> Note: With the second combination above I really wanted something that >>>>>> worked for both MINUS and SUBTRACT simultaneously - since they both >>>>>> type >>>>>> the same Character and only one accelerator can be set on a MenuItem. >>>>>> >>>>>> Scott >>>>>> >>>>> >>>>> >>> >> > From swpalmer at gmail.com Fri Sep 26 17:44:30 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 13:44:30 -0400 Subject: Accelerators - odd behavior In-Reply-To: <5425A59F.6070600@oracle.com> References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> Message-ID: Please attach the test case I mailed earlier to the JIRA issue. On Fri, Sep 26, 2014 at 1:42 PM, Stephen F Northover < steve.x.northover at oracle.com> wrote: > Agree. Suggest that we move the discussion to the JIRA to capture the > background information for whoever will address the bug. > > Steve > > > On 2014-09-26, 1:41 PM, Kevin Rushforth wrote: > >> It may or may not be a bug, but it will be good to investigate. >> >> -- Kevin >> >> >> Stephen F Northover wrote: >> >>> Two on Windows, one on Mac. See https://javafx-jira.kenai.com/ >>> browse/RT-38830 >>> >>> Steve >>> >>> On 2014-09-26, 1:25 PM, Stephen F Northover wrote: >>> >>>> This is on Mac. Will try Windows. >>>> >>>> Steve >>>> >>>> On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: >>>> >>>>> Is this on a Mac or on Windows? I just ran your test case and I get >>>>> two runnables, which is what I would expect. >>>>> >>>>> -- Kevin >>>>> >>>>> >>>>> Stephen F Northover wrote: >>>>> >>>>>> I am only seeing the runnable fired once in FX 8u40. >>>>>> >>>>>> Steve >>>>>> >>>>>> Steps: >>>>>> >>>>>> 1) Run TestKeyCombination >>>>>> 2) Press Control+- >>>>>> >>>>>> Here is the test code: >>>>>> >>>>>> import javafx.application.Application; >>>>>> import javafx.scene.Group; >>>>>> import javafx.scene.Scene; >>>>>> import javafx.scene.control.Button; >>>>>> import javafx.scene.input.KeyCharacterCombination; >>>>>> import javafx.scene.input.KeyCode; >>>>>> import javafx.scene.input.KeyCodeCombination; >>>>>> import javafx.scene.input.KeyCombination; >>>>>> import javafx.stage.Stage; >>>>>> >>>>>> public class TestKeyCombination extends Application { >>>>>> public static void main(String[] args) { >>>>>> Application.launch(args); >>>>>> } >>>>>> >>>>>> @Override public void start(Stage stage) { >>>>>> stage.setTitle("Test KeyCombination"); >>>>>> Scene scene = new Scene(new Group(), 600, 450); >>>>>> Button button1 = new Button(); >>>>>> button1.setText("Click Me"); >>>>>> stage.setScene(scene); >>>>>> stage.show(); >>>>>> >>>>>> KeyCombination cmdMinus = new KeyCodeCombination(KeyCode.MINUS, >>>>>> KeyCombination.CONTROL_DOWN); >>>>>> KeyCombination cmdMinusFromCharacter = new >>>>>> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >>>>>> Runnable runnable = () -> System.out.println("HI"); >>>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>>> } >>>>>> } >>>>>> >>>>>> >>>>>> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>>>>> >>>>>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>>>>> KeyCombination.CONTROL_DOWN); >>>>>>> KeyCombination cmdMinusFromCharacter = new >>>>>>> Key*Character*Combination("-", >>>>>>> KeyCombination.CONTROL_DOWN); >>>>>>> >>>>>>> Using the above like this: >>>>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>>>> >>>>>>> Will result in the runnable being fired twice from the same keypress. >>>>>>> >>>>>>> I propose changing the accelerator processing logic so that only one >>>>>>> runnable gets called as the intention appears to be that a >>>>>>> KeyCombination >>>>>>> can only have one runnable associated with it, but the logic in Map >>>>>>> doesn't >>>>>>> see the above two KeyCombinations as the same key in the Map. >>>>>>> >>>>>>> Note: With the second combination above I really wanted something >>>>>>> that >>>>>>> worked for both MINUS and SUBTRACT simultaneously - since they both >>>>>>> type >>>>>>> the same Character and only one accelerator can be set on a MenuItem. >>>>>>> >>>>>>> Scott >>>>>>> >>>>>> >>>>>> >>>> >>> > From tomas.mikula at gmail.com Fri Sep 26 18:05:07 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Fri, 26 Sep 2014 20:05:07 +0200 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> Message-ID: The cause of the problem seems clear to me. This is what I observe on my (Linux) system. Pressing '-' on the main part of the keyboard produces MINUS key code pressed. Pressing '-' on the numeric keypad produces SUBTRACT key code pressed. KeyCharacterCombination("-") matches MINUS pressed, but does not match SUBTRACT pressed (this is the part that may vary across systems, I think. If on Mac it match SUBTRACT and not MINUS, it explains the problem). So in Scott's test case, when I press ordinary minus, MINUS pressed event is fired, and both KeyCodeCombination(MINUS) and KeyCharacterCombination("-") match, so the runnable is executed twice. When, on the other hand, I pres minus on numeric keypad, SUBTRACT pressed event is fired, and only KeyCodeCombination(SUBTRACT) matches, so the runnable is executed only once. To test this explanation, can someone please run the following program on a Mac and post its output? import static javafx.scene.input.KeyCode.*; import static javafx.scene.input.KeyEvent.*; import javafx.application.Platform; import javafx.embed.swing.JFXPanel; import javafx.scene.input.KeyCharacterCombination; import javafx.scene.input.KeyEvent; public class KeyCodeForMinus { public static void main(String[] args) { new JFXPanel(); KeyCharacterCombination minusChar = new KeyCharacterCombination("-"); KeyEvent minusPressed = new KeyEvent(KEY_PRESSED, "", "", MINUS, false, false, false, false); KeyEvent subtractPressed = new KeyEvent(KEY_PRESSED, "", "", SUBTRACT, false, false, false, false); System.out.println("'-' matches MINUS: " + minusChar.match(minusPressed)); System.out.println("'-' matches SUBTRACT: " + minusChar.match(subtractPressed)); Platform.exit(); } } On Fri, Sep 26, 2014 at 7:44 PM, Scott Palmer wrote: > Please attach the test case I mailed earlier to the JIRA issue. > > On Fri, Sep 26, 2014 at 1:42 PM, Stephen F Northover < > steve.x.northover at oracle.com> wrote: > >> Agree. Suggest that we move the discussion to the JIRA to capture the >> background information for whoever will address the bug. >> >> Steve >> >> >> On 2014-09-26, 1:41 PM, Kevin Rushforth wrote: >> >>> It may or may not be a bug, but it will be good to investigate. >>> >>> -- Kevin >>> >>> >>> Stephen F Northover wrote: >>> >>>> Two on Windows, one on Mac. See https://javafx-jira.kenai.com/ >>>> browse/RT-38830 >>>> >>>> Steve >>>> >>>> On 2014-09-26, 1:25 PM, Stephen F Northover wrote: >>>> >>>>> This is on Mac. Will try Windows. >>>>> >>>>> Steve >>>>> >>>>> On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: >>>>> >>>>>> Is this on a Mac or on Windows? I just ran your test case and I get >>>>>> two runnables, which is what I would expect. >>>>>> >>>>>> -- Kevin >>>>>> >>>>>> >>>>>> Stephen F Northover wrote: >>>>>> >>>>>>> I am only seeing the runnable fired once in FX 8u40. >>>>>>> >>>>>>> Steve >>>>>>> >>>>>>> Steps: >>>>>>> >>>>>>> 1) Run TestKeyCombination >>>>>>> 2) Press Control+- >>>>>>> >>>>>>> Here is the test code: >>>>>>> >>>>>>> import javafx.application.Application; >>>>>>> import javafx.scene.Group; >>>>>>> import javafx.scene.Scene; >>>>>>> import javafx.scene.control.Button; >>>>>>> import javafx.scene.input.KeyCharacterCombination; >>>>>>> import javafx.scene.input.KeyCode; >>>>>>> import javafx.scene.input.KeyCodeCombination; >>>>>>> import javafx.scene.input.KeyCombination; >>>>>>> import javafx.stage.Stage; >>>>>>> >>>>>>> public class TestKeyCombination extends Application { >>>>>>> public static void main(String[] args) { >>>>>>> Application.launch(args); >>>>>>> } >>>>>>> >>>>>>> @Override public void start(Stage stage) { >>>>>>> stage.setTitle("Test KeyCombination"); >>>>>>> Scene scene = new Scene(new Group(), 600, 450); >>>>>>> Button button1 = new Button(); >>>>>>> button1.setText("Click Me"); >>>>>>> stage.setScene(scene); >>>>>>> stage.show(); >>>>>>> >>>>>>> KeyCombination cmdMinus = new KeyCodeCombination(KeyCode.MINUS, >>>>>>> KeyCombination.CONTROL_DOWN); >>>>>>> KeyCombination cmdMinusFromCharacter = new >>>>>>> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >>>>>>> Runnable runnable = () -> System.out.println("HI"); >>>>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>>>>>> >>>>>>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>>>>>> KeyCombination.CONTROL_DOWN); >>>>>>>> KeyCombination cmdMinusFromCharacter = new >>>>>>>> Key*Character*Combination("-", >>>>>>>> KeyCombination.CONTROL_DOWN); >>>>>>>> >>>>>>>> Using the above like this: >>>>>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>>>>> >>>>>>>> Will result in the runnable being fired twice from the same keypress. >>>>>>>> >>>>>>>> I propose changing the accelerator processing logic so that only one >>>>>>>> runnable gets called as the intention appears to be that a >>>>>>>> KeyCombination >>>>>>>> can only have one runnable associated with it, but the logic in Map >>>>>>>> doesn't >>>>>>>> see the above two KeyCombinations as the same key in the Map. >>>>>>>> >>>>>>>> Note: With the second combination above I really wanted something >>>>>>>> that >>>>>>>> worked for both MINUS and SUBTRACT simultaneously - since they both >>>>>>>> type >>>>>>>> the same Character and only one accelerator can be set on a MenuItem. >>>>>>>> >>>>>>>> Scott >>>>>>>> >>>>>>> >>>>>>> >>>>> >>>> >> From tomas.mikula at gmail.com Fri Sep 26 18:19:34 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Fri, 26 Sep 2014 20:19:34 +0200 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> Message-ID: Here is a possible solution to Scott's original problem: KeyCombination CtrlMinus = new KeyCombination(CONTROL_DOWN) { @Override public boolean match(KeyEvent event) { return super.match(event) && event.getEventType() == KEY_PRESSED && (event.getCode() == MINUS || event.getCode() == SUBTRACT); } }; menuItem.setAccelerator(CtrlMinus); On Fri, Sep 26, 2014 at 8:05 PM, Tomas Mikula wrote: > The cause of the problem seems clear to me. This is what I observe on > my (Linux) system. > > Pressing '-' on the main part of the keyboard produces MINUS key code > pressed. Pressing '-' on the numeric keypad produces SUBTRACT key code > pressed. > > KeyCharacterCombination("-") matches MINUS pressed, but does not match > SUBTRACT pressed (this is the part that may vary across systems, I > think. If on Mac it match SUBTRACT and not MINUS, it explains the > problem). > > So in Scott's test case, when I press ordinary minus, MINUS pressed > event is fired, and both KeyCodeCombination(MINUS) and > KeyCharacterCombination("-") match, so the runnable is executed twice. > > When, on the other hand, I pres minus on numeric keypad, SUBTRACT > pressed event is fired, and only KeyCodeCombination(SUBTRACT) matches, > so the runnable is executed only once. > > To test this explanation, can someone please run the following program > on a Mac and post its output? > > > import static javafx.scene.input.KeyCode.*; > import static javafx.scene.input.KeyEvent.*; > import javafx.application.Platform; > import javafx.embed.swing.JFXPanel; > import javafx.scene.input.KeyCharacterCombination; > import javafx.scene.input.KeyEvent; > > > public class KeyCodeForMinus { > > public static void main(String[] args) { > new JFXPanel(); > > KeyCharacterCombination minusChar = new KeyCharacterCombination("-"); > KeyEvent minusPressed = new KeyEvent(KEY_PRESSED, "", "", > MINUS, false, false, false, false); > KeyEvent subtractPressed = new KeyEvent(KEY_PRESSED, "", "", > SUBTRACT, false, false, false, false); > > System.out.println("'-' matches MINUS: " + > minusChar.match(minusPressed)); > System.out.println("'-' matches SUBTRACT: " + > minusChar.match(subtractPressed)); > > Platform.exit(); > } > > } > > On Fri, Sep 26, 2014 at 7:44 PM, Scott Palmer wrote: >> Please attach the test case I mailed earlier to the JIRA issue. >> >> On Fri, Sep 26, 2014 at 1:42 PM, Stephen F Northover < >> steve.x.northover at oracle.com> wrote: >> >>> Agree. Suggest that we move the discussion to the JIRA to capture the >>> background information for whoever will address the bug. >>> >>> Steve >>> >>> >>> On 2014-09-26, 1:41 PM, Kevin Rushforth wrote: >>> >>>> It may or may not be a bug, but it will be good to investigate. >>>> >>>> -- Kevin >>>> >>>> >>>> Stephen F Northover wrote: >>>> >>>>> Two on Windows, one on Mac. See https://javafx-jira.kenai.com/ >>>>> browse/RT-38830 >>>>> >>>>> Steve >>>>> >>>>> On 2014-09-26, 1:25 PM, Stephen F Northover wrote: >>>>> >>>>>> This is on Mac. Will try Windows. >>>>>> >>>>>> Steve >>>>>> >>>>>> On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: >>>>>> >>>>>>> Is this on a Mac or on Windows? I just ran your test case and I get >>>>>>> two runnables, which is what I would expect. >>>>>>> >>>>>>> -- Kevin >>>>>>> >>>>>>> >>>>>>> Stephen F Northover wrote: >>>>>>> >>>>>>>> I am only seeing the runnable fired once in FX 8u40. >>>>>>>> >>>>>>>> Steve >>>>>>>> >>>>>>>> Steps: >>>>>>>> >>>>>>>> 1) Run TestKeyCombination >>>>>>>> 2) Press Control+- >>>>>>>> >>>>>>>> Here is the test code: >>>>>>>> >>>>>>>> import javafx.application.Application; >>>>>>>> import javafx.scene.Group; >>>>>>>> import javafx.scene.Scene; >>>>>>>> import javafx.scene.control.Button; >>>>>>>> import javafx.scene.input.KeyCharacterCombination; >>>>>>>> import javafx.scene.input.KeyCode; >>>>>>>> import javafx.scene.input.KeyCodeCombination; >>>>>>>> import javafx.scene.input.KeyCombination; >>>>>>>> import javafx.stage.Stage; >>>>>>>> >>>>>>>> public class TestKeyCombination extends Application { >>>>>>>> public static void main(String[] args) { >>>>>>>> Application.launch(args); >>>>>>>> } >>>>>>>> >>>>>>>> @Override public void start(Stage stage) { >>>>>>>> stage.setTitle("Test KeyCombination"); >>>>>>>> Scene scene = new Scene(new Group(), 600, 450); >>>>>>>> Button button1 = new Button(); >>>>>>>> button1.setText("Click Me"); >>>>>>>> stage.setScene(scene); >>>>>>>> stage.show(); >>>>>>>> >>>>>>>> KeyCombination cmdMinus = new KeyCodeCombination(KeyCode.MINUS, >>>>>>>> KeyCombination.CONTROL_DOWN); >>>>>>>> KeyCombination cmdMinusFromCharacter = new >>>>>>>> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); >>>>>>>> Runnable runnable = () -> System.out.println("HI"); >>>>>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>>>>> } >>>>>>>> } >>>>>>>> >>>>>>>> >>>>>>>> On 2014-09-26, 1:01 PM, Scott Palmer wrote: >>>>>>>> >>>>>>>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, >>>>>>>>> KeyCombination.CONTROL_DOWN); >>>>>>>>> KeyCombination cmdMinusFromCharacter = new >>>>>>>>> Key*Character*Combination("-", >>>>>>>>> KeyCombination.CONTROL_DOWN); >>>>>>>>> >>>>>>>>> Using the above like this: >>>>>>>>> scene.getAccelerators().put(cmdMinus, runnable); >>>>>>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); >>>>>>>>> >>>>>>>>> Will result in the runnable being fired twice from the same keypress. >>>>>>>>> >>>>>>>>> I propose changing the accelerator processing logic so that only one >>>>>>>>> runnable gets called as the intention appears to be that a >>>>>>>>> KeyCombination >>>>>>>>> can only have one runnable associated with it, but the logic in Map >>>>>>>>> doesn't >>>>>>>>> see the above two KeyCombinations as the same key in the Map. >>>>>>>>> >>>>>>>>> Note: With the second combination above I really wanted something >>>>>>>>> that >>>>>>>>> worked for both MINUS and SUBTRACT simultaneously - since they both >>>>>>>>> type >>>>>>>>> the same Character and only one accelerator can be set on a MenuItem. >>>>>>>>> >>>>>>>>> Scott >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>>> >>> From lisa.selle at oracle.com Fri Sep 26 18:25:46 2014 From: lisa.selle at oracle.com (Lisa Selle) Date: Fri, 26 Sep 2014 14:25:46 -0400 Subject: In(Sanity) Testing Mondays Message-ID: <5425AFAA.3030509@oracle.com> Reminder, Monday is our weekly sanity testing. We will be light this week due to JavaOne, but if you are not attending the conference please do your sanity testing :) You can find your testing assignment at: https://wiki.openjdk.java.net/display/OpenJFX/Sanity+Testing Also please remember that the repo will be locked from 1am PDT until 1pm PDT. Happy testing! Lisa From swpalmer at gmail.com Fri Sep 26 18:59:30 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 14:59:30 -0400 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> Message-ID: That doesn't explain why this isn't happening for PLUS. On Fri, Sep 26, 2014 at 2:05 PM, Tomas Mikula wrote: > The cause of the problem seems clear to me. This is what I observe on > my (Linux) system. > > Pressing '-' on the main part of the keyboard produces MINUS key code > pressed. Pressing '-' on the numeric keypad produces SUBTRACT key code > pressed. > > KeyCharacterCombination("-") matches MINUS pressed, but does not match > SUBTRACT pressed (this is the part that may vary across systems, I > think. If on Mac it match SUBTRACT and not MINUS, it explains the > problem). > > So in Scott's test case, when I press ordinary minus, MINUS pressed > event is fired, and both KeyCodeCombination(MINUS) and > KeyCharacterCombination("-") match, so the runnable is executed twice. > > When, on the other hand, I pres minus on numeric keypad, SUBTRACT > pressed event is fired, and only KeyCodeCombination(SUBTRACT) matches, > so the runnable is executed only once. > > To test this explanation, can someone please run the following program > on a Mac and post its output? > > > import static javafx.scene.input.KeyCode.*; > import static javafx.scene.input.KeyEvent.*; > import javafx.application.Platform; > import javafx.embed.swing.JFXPanel; > import javafx.scene.input.KeyCharacterCombination; > import javafx.scene.input.KeyEvent; > > > public class KeyCodeForMinus { > > public static void main(String[] args) { > new JFXPanel(); > > KeyCharacterCombination minusChar = new > KeyCharacterCombination("-"); > KeyEvent minusPressed = new KeyEvent(KEY_PRESSED, "", "", > MINUS, false, false, false, false); > KeyEvent subtractPressed = new KeyEvent(KEY_PRESSED, "", "", > SUBTRACT, false, false, false, false); > > System.out.println("'-' matches MINUS: " + > minusChar.match(minusPressed)); > System.out.println("'-' matches SUBTRACT: " + > minusChar.match(subtractPressed)); > > Platform.exit(); > } > > } > > On Fri, Sep 26, 2014 at 7:44 PM, Scott Palmer wrote: > > Please attach the test case I mailed earlier to the JIRA issue. > > > > On Fri, Sep 26, 2014 at 1:42 PM, Stephen F Northover < > > steve.x.northover at oracle.com> wrote: > > > >> Agree. Suggest that we move the discussion to the JIRA to capture the > >> background information for whoever will address the bug. > >> > >> Steve > >> > >> > >> On 2014-09-26, 1:41 PM, Kevin Rushforth wrote: > >> > >>> It may or may not be a bug, but it will be good to investigate. > >>> > >>> -- Kevin > >>> > >>> > >>> Stephen F Northover wrote: > >>> > >>>> Two on Windows, one on Mac. See https://javafx-jira.kenai.com/ > >>>> browse/RT-38830 > >>>> > >>>> Steve > >>>> > >>>> On 2014-09-26, 1:25 PM, Stephen F Northover wrote: > >>>> > >>>>> This is on Mac. Will try Windows. > >>>>> > >>>>> Steve > >>>>> > >>>>> On 2014-09-26, 1:24 PM, Kevin Rushforth wrote: > >>>>> > >>>>>> Is this on a Mac or on Windows? I just ran your test case and I get > >>>>>> two runnables, which is what I would expect. > >>>>>> > >>>>>> -- Kevin > >>>>>> > >>>>>> > >>>>>> Stephen F Northover wrote: > >>>>>> > >>>>>>> I am only seeing the runnable fired once in FX 8u40. > >>>>>>> > >>>>>>> Steve > >>>>>>> > >>>>>>> Steps: > >>>>>>> > >>>>>>> 1) Run TestKeyCombination > >>>>>>> 2) Press Control+- > >>>>>>> > >>>>>>> Here is the test code: > >>>>>>> > >>>>>>> import javafx.application.Application; > >>>>>>> import javafx.scene.Group; > >>>>>>> import javafx.scene.Scene; > >>>>>>> import javafx.scene.control.Button; > >>>>>>> import javafx.scene.input.KeyCharacterCombination; > >>>>>>> import javafx.scene.input.KeyCode; > >>>>>>> import javafx.scene.input.KeyCodeCombination; > >>>>>>> import javafx.scene.input.KeyCombination; > >>>>>>> import javafx.stage.Stage; > >>>>>>> > >>>>>>> public class TestKeyCombination extends Application { > >>>>>>> public static void main(String[] args) { > >>>>>>> Application.launch(args); > >>>>>>> } > >>>>>>> > >>>>>>> @Override public void start(Stage stage) { > >>>>>>> stage.setTitle("Test KeyCombination"); > >>>>>>> Scene scene = new Scene(new Group(), 600, 450); > >>>>>>> Button button1 = new Button(); > >>>>>>> button1.setText("Click Me"); > >>>>>>> stage.setScene(scene); > >>>>>>> stage.show(); > >>>>>>> > >>>>>>> KeyCombination cmdMinus = new > KeyCodeCombination(KeyCode.MINUS, > >>>>>>> KeyCombination.CONTROL_DOWN); > >>>>>>> KeyCombination cmdMinusFromCharacter = new > >>>>>>> KeyCharacterCombination("-", KeyCombination.CONTROL_DOWN); > >>>>>>> Runnable runnable = () -> System.out.println("HI"); > >>>>>>> scene.getAccelerators().put(cmdMinus, runnable); > >>>>>>> scene.getAccelerators().put(cmdMinusFromCharacter, > runnable); > >>>>>>> } > >>>>>>> } > >>>>>>> > >>>>>>> > >>>>>>> On 2014-09-26, 1:01 PM, Scott Palmer wrote: > >>>>>>> > >>>>>>>> KeyCombination cmdMinus = new Key*Code*Combination(KeyCode.MINUS, > >>>>>>>> KeyCombination.CONTROL_DOWN); > >>>>>>>> KeyCombination cmdMinusFromCharacter = new > >>>>>>>> Key*Character*Combination("-", > >>>>>>>> KeyCombination.CONTROL_DOWN); > >>>>>>>> > >>>>>>>> Using the above like this: > >>>>>>>> scene.getAccelerators().put(cmdMinus, runnable); > >>>>>>>> scene.getAccelerators().put(cmdMinusFromCharacter, runnable); > >>>>>>>> > >>>>>>>> Will result in the runnable being fired twice from the same > keypress. > >>>>>>>> > >>>>>>>> I propose changing the accelerator processing logic so that only > one > >>>>>>>> runnable gets called as the intention appears to be that a > >>>>>>>> KeyCombination > >>>>>>>> can only have one runnable associated with it, but the logic in > Map > >>>>>>>> doesn't > >>>>>>>> see the above two KeyCombinations as the same key in the Map. > >>>>>>>> > >>>>>>>> Note: With the second combination above I really wanted something > >>>>>>>> that > >>>>>>>> worked for both MINUS and SUBTRACT simultaneously - since they > both > >>>>>>>> type > >>>>>>>> the same Character and only one accelerator can be set on a > MenuItem. > >>>>>>>> > >>>>>>>> Scott > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>> > >>>> > >> > From tomas.mikula at gmail.com Fri Sep 26 19:11:44 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Fri, 26 Sep 2014 21:11:44 +0200 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> Message-ID: > That doesn't explain why this isn't happening for PLUS. KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN) is never matched. It might even be impossible to get a KEY_PRESSED event with key code PLUS with English keyboard layout. When I switch keyboard layout to Slovak, which has the '+' sign accessible without Shift, I do get the runnable fired twice. Best, Tomas From tomas.mikula at gmail.com Fri Sep 26 19:22:11 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Fri, 26 Sep 2014 21:22:11 +0200 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> Message-ID: Anyway, the algorithm used in KeyCharacterCombination looks odd to me. What it does is it tries to find a key code capable of producing the character and then compares it to the event's key code. It would make more sense to me if it took the event, converted it to a character it produced and then compare the characters. This way your first attempt to capture both MINUS and SUBTRACT with a single KeyCharacterCombination("-") would work, as well as capturing all of Shift-EQUALS, PLUS, ADD with a single KeyCharacterCombination("+"). Tomas On Fri, Sep 26, 2014 at 9:11 PM, Tomas Mikula wrote: >> That doesn't explain why this isn't happening for PLUS. > > KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN) > > is never matched. It might even be impossible to get a KEY_PRESSED > event with key code PLUS with English keyboard layout. When I switch > keyboard layout to Slovak, which has the '+' sign accessible without > Shift, I do get the runnable fired twice. > > Best, > Tomas From kevin.rushforth at oracle.com Fri Sep 26 22:02:45 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Fri, 26 Sep 2014 15:02:45 -0700 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> Message-ID: <5425E285.2050804@oracle.com> Can you add this information to the JIRA? https://javafx-jira.kenai.com/browse/RT-38830 Thanks. -- Kevin Tomas Mikula wrote: > Anyway, the algorithm used in KeyCharacterCombination looks odd to me. > > What it does is it tries to find a key code capable of producing the > character and then compares it to the event's key code. > > It would make more sense to me if it took the event, converted it to a > character it produced and then compare the characters. > > This way your first attempt to capture both MINUS and SUBTRACT with a > single KeyCharacterCombination("-") would work, as well as capturing > all of Shift-EQUALS, PLUS, ADD with a single > KeyCharacterCombination("+"). > > Tomas > > On Fri, Sep 26, 2014 at 9:11 PM, Tomas Mikula wrote: > >>> That doesn't explain why this isn't happening for PLUS. >>> >> KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN) >> >> is never matched. It might even be impossible to get a KEY_PRESSED >> event with key code PLUS with English keyboard layout. When I switch >> keyboard layout to Slovak, which has the '+' sign accessible without >> Shift, I do get the runnable fired twice. >> >> Best, >> Tomas >> From swpalmer at gmail.com Fri Sep 26 22:58:56 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 18:58:56 -0400 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> Message-ID: While looking into this I noticed that KeyCharacterCombination("+", KeyCombination.CONTROL_DOWN) doesn't work for either the PLUS (shifted EQUALS), or ADD (numeric keypad "+"). Only KeyCodeCombintation(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, KeyCombination.SHIFT_DOWN) was working. On Fri, Sep 26, 2014 at 3:11 PM, Tomas Mikula wrote: > > That doesn't explain why this isn't happening for PLUS. > > KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN) > > is never matched. It might even be impossible to get a KEY_PRESSED > event with key code PLUS with English keyboard layout. When I switch > keyboard layout to Slovak, which has the '+' sign accessible without > Shift, I do get the runnable fired twice. > > Best, > Tomas > From swpalmer at gmail.com Fri Sep 26 23:00:26 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 19:00:26 -0400 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> Message-ID: I should note that KeyCodeCombintation(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, KeyCombination.SHIFT_DOWN) is undesirable as it requires knowledge of the keyboard layout that shouldn't be required. On Fri, Sep 26, 2014 at 6:58 PM, Scott Palmer wrote: > While looking into this I noticed that KeyCharacterCombination("+", > KeyCombination.CONTROL_DOWN) doesn't work for either the PLUS (shifted > EQUALS), or ADD (numeric keypad "+"). > > Only KeyCodeCombintation(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, KeyCombination.SHIFT_DOWN) > was working. > > On Fri, Sep 26, 2014 at 3:11 PM, Tomas Mikula > wrote: > >> > That doesn't explain why this isn't happening for PLUS. >> >> KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN) >> >> is never matched. It might even be impossible to get a KEY_PRESSED >> event with key code PLUS with English keyboard layout. When I switch >> keyboard layout to Slovak, which has the '+' sign accessible without >> Shift, I do get the runnable fired twice. >> >> Best, >> Tomas >> > > From swpalmer at gmail.com Fri Sep 26 23:44:00 2014 From: swpalmer at gmail.com (Scott Palmer) Date: Fri, 26 Sep 2014 19:44:00 -0400 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> Message-ID: I must correct that, KeyCharacterCombination("+", KeyCombination.CONTROL_DOWN) is the same as KeyCharacterCombination("=", KeyCombination.CONTROL_DOWN) (on a US keyboard). It only works if you *don't* also press shift to get the "+" character. On Fri, Sep 26, 2014 at 6:58 PM, Scott Palmer wrote: > While looking into this I noticed that KeyCharacterCombination("+", > KeyCombination.CONTROL_DOWN) doesn't work for either the PLUS (shifted > EQUALS), or ADD (numeric keypad "+"). > > Only KeyCodeCombintation(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, KeyCombination.SHIFT_DOWN) > was working. > > On Fri, Sep 26, 2014 at 3:11 PM, Tomas Mikula > wrote: > >> > That doesn't explain why this isn't happening for PLUS. >> >> KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN) >> >> is never matched. It might even be impossible to get a KEY_PRESSED >> event with key code PLUS with English keyboard layout. When I switch >> keyboard layout to Slovak, which has the '+' sign accessible without >> Shift, I do get the runnable fired twice. >> >> Best, >> Tomas >> > > From tomas.mikula at gmail.com Sat Sep 27 14:19:07 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Sat, 27 Sep 2014 16:19:07 +0200 Subject: Accelerators - odd behavior In-Reply-To: <5425E285.2050804@oracle.com> References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> <5425E285.2050804@oracle.com> Message-ID: On Sat, Sep 27, 2014 at 12:02 AM, Kevin Rushforth wrote: > Can you add this information to the JIRA? > > https://javafx-jira.kenai.com/browse/RT-38830 I added it to https://javafx-jira.kenai.com/browse/RT-27602. Tomas > > Thanks. > > -- Kevin > > > Tomas Mikula wrote: >> >> Anyway, the algorithm used in KeyCharacterCombination looks odd to me. >> >> What it does is it tries to find a key code capable of producing the >> character and then compares it to the event's key code. >> >> It would make more sense to me if it took the event, converted it to a >> character it produced and then compare the characters. >> >> This way your first attempt to capture both MINUS and SUBTRACT with a >> single KeyCharacterCombination("-") would work, as well as capturing >> all of Shift-EQUALS, PLUS, ADD with a single >> KeyCharacterCombination("+"). >> >> Tomas >> >> On Fri, Sep 26, 2014 at 9:11 PM, Tomas Mikula >> wrote: >> >>>> >>>> That doesn't explain why this isn't happening for PLUS. >>>> >>> >>> KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN) >>> >>> is never matched. It might even be impossible to get a KEY_PRESSED >>> event with key code PLUS with English keyboard layout. When I switch >>> keyboard layout to Slovak, which has the '+' sign accessible without >>> Shift, I do get the runnable fired twice. >>> >>> Best, >>> Tomas >>> From kevin.rushforth at oracle.com Sat Sep 27 15:19:53 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Sat, 27 Sep 2014 08:19:53 -0700 Subject: Accelerators - odd behavior In-Reply-To: References: <5425A078.9040104@oracle.com> <5425A148.5080900@oracle.com> <5425A182.2090102@oracle.com> <5425A3EA.4080200@oracle.com> <5425A54D.7040601@oracle.com> <5425A59F.6070600@oracle.com> <5425E285.2050804@oracle.com> Message-ID: <5426D599.7030905@oracle.com> Thanks. -- Kevin Tomas Mikula wrote: > On Sat, Sep 27, 2014 at 12:02 AM, Kevin Rushforth > wrote: > >> Can you add this information to the JIRA? >> >> https://javafx-jira.kenai.com/browse/RT-38830 >> > > I added it to https://javafx-jira.kenai.com/browse/RT-27602. > > Tomas > > >> Thanks. >> >> -- Kevin >> >> >> Tomas Mikula wrote: >> >>> Anyway, the algorithm used in KeyCharacterCombination looks odd to me. >>> >>> What it does is it tries to find a key code capable of producing the >>> character and then compares it to the event's key code. >>> >>> It would make more sense to me if it took the event, converted it to a >>> character it produced and then compare the characters. >>> >>> This way your first attempt to capture both MINUS and SUBTRACT with a >>> single KeyCharacterCombination("-") would work, as well as capturing >>> all of Shift-EQUALS, PLUS, ADD with a single >>> KeyCharacterCombination("+"). >>> >>> Tomas >>> >>> On Fri, Sep 26, 2014 at 9:11 PM, Tomas Mikula >>> wrote: >>> >>> >>>>> That doesn't explain why this isn't happening for PLUS. >>>>> >>>>> >>>> KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN) >>>> >>>> is never matched. It might even be impossible to get a KEY_PRESSED >>>> event with key code PLUS with English keyboard layout. When I switch >>>> keyboard layout to Slovak, which has the '+' sign accessible without >>>> Shift, I do get the runnable fired twice. >>>> >>>> Best, >>>> Tomas >>>> >>>> From karg at quipsy.de Mon Sep 29 17:56:44 2014 From: karg at quipsy.de (Markus Karg) Date: Mon, 29 Sep 2014 19:56:44 +0200 Subject: User Mailing List / Forum In-Reply-To: <54259FF7.4030108@oracle.com> References: <54D3CE24C875604ABE7E6722C0EB88546E06F63145@QUIPSY1.Quipsy.local> <54244879.1030403@oracle.com> <54259FF7.4030108@oracle.com> Message-ID: <54D3CE24C875604ABE7E6722C0EB88546E06F631CA@QUIPSY1.Quipsy.local> Great, thanks! :-) -----Original Message----- From: Kevin Rushforth [mailto:kevin.rushforth at oracle.com] Sent: Freitag, 26. September 2014 19:19 To: Stephen F Northover; Markus Karg Cc: openjfx-dev at openjdk.java.net Subject: Re: User Mailing List / Forum Hi Markus, We have updated the OpenJFX Wiki to point to the right URL for the JavaFX forum: https://community.oracle.com/community/java/javafx/javafx_2.0_and_later Thank you for reporting the problem so we could fix it. -- Kevin Stephen F Northover wrote: > This is a good place to ask questions about JFX. I'll look into the > broken link. > > Steve > > On 2014-09-25, 10:38 AM, Markus Karg wrote: >> I am new to JavaFX and like to ask if there is some "official" JavaFX >> 8 forum or mailing list FOR USERS as I did not find this information >> on http://openjdk.java.net/projects/openjfx/ (actually it says the >> user forum is >> https://forums.oracle.com/forums/forum.jspa?forumID=1385 but that >> results in 404 NOT FOUND! >> >> Thanks >> -Markus > From kevin.rushforth at oracle.com Mon Sep 29 19:44:02 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Mon, 29 Sep 2014 12:44:02 -0700 Subject: 8u-dev unlocked following this week's sanity testing Message-ID: <5429B682.9080504@oracle.com> From mike at plan99.net Mon Sep 29 22:06:18 2014 From: mike at plan99.net (Mike Hearn) Date: Tue, 30 Sep 2014 00:06:18 +0200 Subject: How do I find out why the render loop is running? Message-ID: My app consistently uses about 10-15% of a CPU even when off screen and nothing is being animated. I had assumed JFX would idle in this case but it seems not. I suspect I've done something that is forcing the system to "pulse" no matter what, but I don't know where to begin investigating this. Profiling just shows lots of time being spent in quantum. From kevin.rushforth at oracle.com Mon Sep 29 23:43:56 2014 From: kevin.rushforth at oracle.com (Kevin Rushforth) Date: Mon, 29 Sep 2014 16:43:56 -0700 Subject: How do I find out why the render loop is running? In-Reply-To: References: Message-ID: <5429EEBC.3050805@oracle.com> I would suggest using the pulse logger, but it doesn't look like that logs the reason for a pulse. It will show renderer activity, though, which might be useful. Typical reasons for a pulse to run are: 1) A an active Timeline or AnimationTimer 2) A control, such as a ProgressIndicator, that uses animation to display changes (even if the control is scrolled off the screen) If the app is minimized (iconified) then the renderer shouldn't actually do anything though the pulse is running, but any animations will still run. -- Kevin Mike Hearn wrote: > My app consistently uses about 10-15% of a CPU even when off screen and > nothing is being animated. I had assumed JFX would idle in this case but it > seems not. I suspect I've done something that is forcing the system to > "pulse" no matter what, but I don't know where to begin investigating this. > Profiling just shows lots of time being spent in quantum. > From David.Hill at Oracle.com Tue Sep 30 13:53:33 2014 From: David.Hill at Oracle.com (David Hill) Date: Tue, 30 Sep 2014 09:53:33 -0400 Subject: How do I find out why the render loop is running? In-Reply-To: <5429EEBC.3050805@oracle.com> References: <5429EEBC.3050805@oracle.com> Message-ID: <542AB5DD.4030802@Oracle.com> On 9/29/14, 7:43 PM, Kevin Rushforth wrote: > I would suggest using the pulse logger, but it doesn't look like that logs the reason for a pulse. It will show renderer activity, though, which might be useful. > > Typical reasons for a pulse to run are: > > 1) A an active Timeline or AnimationTimer > > 2) A control, such as a ProgressIndicator, that uses animation to display changes (even if the control is scrolled off the screen) One common control animation that is easily overlooked is a text cursor, which is animated to blink - when the control has focus. > > If the app is minimized (iconified) then the renderer shouldn't actually do anything though the pulse is running, but any animations will still run. > > -- Kevin > > > Mike Hearn wrote: >> My app consistently uses about 10-15% of a CPU even when off screen and >> nothing is being animated. I had assumed JFX would idle in this case but it >> seems not. I suspect I've done something that is forcing the system to >> "pulse" no matter what, but I don't know where to begin investigating this. >> Profiling just shows lots of time being spent in quantum. -- David Hill Java Embedded Development "A man's feet should be planted in his country, but his eyes should survey the world." -- George Santayana (1863 - 1952) From mike at plan99.net Tue Sep 30 14:03:48 2014 From: mike at plan99.net (Mike Hearn) Date: Tue, 30 Sep 2014 16:03:48 +0200 Subject: How do I find out why the render loop is running? In-Reply-To: <542AB5DD.4030802@Oracle.com> References: <5429EEBC.3050805@oracle.com> <542AB5DD.4030802@Oracle.com> Message-ID: > > 2) A control, such as a ProgressIndicator, that uses animation to display >> changes (even if the control is scrolled off the screen) >> > One common control animation that is easily overlooked is a text cursor, > which is animated to blink - when the control has focus. That would only cause one pulse per second or so, right? From tomas.mikula at gmail.com Tue Sep 30 14:28:32 2014 From: tomas.mikula at gmail.com (Tomas Mikula) Date: Tue, 30 Sep 2014 16:28:32 +0200 Subject: How do I find out why the render loop is running? In-Reply-To: References: <5429EEBC.3050805@oracle.com> <542AB5DD.4030802@Oracle.com> Message-ID: There might be some kind of infinite loop which is not apparent due to asynchrony, such as recursive Platform.runLater void foo() { Platform.runLater(this::foo); } or an infinite loop in layout: void layoutChildren() { Platform.runLater(this::requestLayout); } On Tue, Sep 30, 2014 at 4:03 PM, Mike Hearn wrote: >> >> 2) A control, such as a ProgressIndicator, that uses animation to display >>> changes (even if the control is scrolled off the screen) >>> >> One common control animation that is easily overlooked is a text cursor, >> which is animated to blink - when the control has focus. > > > That would only cause one pulse per second or so, right? From David.Hill at Oracle.com Tue Sep 30 16:03:18 2014 From: David.Hill at Oracle.com (David Hill) Date: Tue, 30 Sep 2014 12:03:18 -0400 Subject: How do I find out why the render loop is running? In-Reply-To: References: <5429EEBC.3050805@oracle.com> <542AB5DD.4030802@Oracle.com> Message-ID: <542AD446.10509@Oracle.com> On 9/30/14, 10:03 AM, Mike Hearn wrote: > > 2) A control, such as a ProgressIndicator, that uses animation to display changes (even if the control is scrolled off the screen) > > One common control animation that is easily overlooked is a text cursor, which is animated to blink - when the control has focus. > > > That would only cause one pulse per second or so, right? Yes - I don't recall the timing, but no more than twice a second. -- David Hill Java Embedded Development "A man's feet should be planted in his country, but his eyes should survey the world." -- George Santayana (1863 - 1952)