hg: openjfx/8/graphics/rt: RT-32251 Bad check in setCullBits incorrectly assumes a region is within the dirty bounds
Changeset: aa5e0a885680 Author:Martin Sladecek martin.slade...@oracle.com Date: 2013-08-16 08:19 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/aa5e0a885680 RT-32251 Bad check in setCullBits incorrectly assumes a region is within the dirty bounds ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGGroup.java ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java ! modules/graphics/src/test/java/com/sun/javafx/sg/prism/OcclusionCullingTest.java
hg: openjfx/8/graphics/rt: RT-32303 Retire com/sun/webkit/build.properties
Changeset: 4fedefa42488 Author:peterz Date: 2013-08-16 12:27 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/4fedefa42488 RT-32303 Retire com/sun/webkit/build.properties ! build.gradle ! modules/web/src/main/java/com/sun/webkit/Utilities.java ! modules/web/src/main/java/com/sun/webkit/WebPage.java ! modules/web/src/main/native/Source/WebCore/DerivedSourcesJava.pri - modules/web/src/main/native/Source/WebCore/platform/java/javalibs.pl
Re: Rowsorting of TableView with SortedList/FilteredList
I've created https://javafx-jira.kenai.com/browse/RT-32391 for the problem that TableView is not sortable with a FilteredList - Martin On Mon, Aug 12, 2013 at 1:14 PM, Martin Klähn grazer...@gmail.com wrote: Sorry for the link I had that in the original mail but by adding it seems to have vanished. So I had a chance to test the TableView with SortedList and FilteredList with b102. Sorting is enabled with SortedList but not with FilteredList. I guess you'll want a issue for filtering with FilteredList? However I've run into a range of Exception in conjunction with SortedLists created from FilteredList as item in TableView and user ordering of Columns and user based changes of the FilteredList.predicate. They range from ArrayIndexOutOfBoundsException out of SortedList.java:313 to IndexOutOfBoundsException caused by TextInputControlBehavior.java:334 and NullPointerException in SortedList.java:247. I've built a small test class a user has to interact with. We've searched for some automatic way of reproducing the error to no avail (up to now). See https://www.dropbox.com/s/bfhqm0xk4y9r1oz/FilterSortedList.java Steps to reproduce: 1) change column sort of any column 2) type two characters in the textfield below which will change the FilterList.predicate based on String.startsWith-condition. Regards, Martin On Thu, Aug 8, 2013 at 10:30 PM, Jonathan Giles jonathan.gi...@oracle.com wrote: Funny you should ask about this - I just blogged about SortedList and TableView the other day, over at FXExperience: http://fxexperience.com/2013/**08/returning-a-tableview-back-** to-an-unsorted-state-in-**javafx-8-0http://fxexperience.com/2013/08/returning-a-tableview-back-to-an-unsorted-state-in-javafx-8-0 Of course, I can see that you've already read that post (I see a comment from the code in my post in your code below). What might have been missed is that I noted earlier on in the blog post I had to make a few small changes to properly get SortedList support in TableView, so you'll want to try again in b102 (or b103). Regarding your use of FilteredList as well - I've not tried this at all, but I'll add it to my todo list to investigate today. I imagine there might be a bug somewhere. Whatever I find will probably make for a good post at FXExperience, so keep an eye out there too. Thanks, and if you do run into further issues, please don't hesitate to file bugs. In general, if TableView isn't sorting then something is going really wrong! -- Jonathan On 8/08/2013 11:17 p.m., Martin Klähn wrote: Hi guys, I'm working on a business application that makes use of TableView and I'm working with JDK 8 build b101. Displaying the data works like a charm. Row sorting for ordinary ObservableLists is fine too. Then I've set TableView.items to FilteredList and row sorting was disabled. replacing TableView.item with SortedList does not allow row sorting as well. Binding the comparator of SortedList to the TableView.comparator has no effect either. // row sorting possible //final TableViewInteger tableView = new TableView(FXCollections.**observableArrayList(2, 1, 3)); // row sorting not possible (SortedList) // create a TableView with the sorted list set as the items it will show // bind the sortedList comparator to the TableView comparator //SortedListInteger sortedList = new SortedList(FXCollections.**observableArrayList(2, 1, 3)); //sortedList.**comparatorProperty().bind(** tableView.comparatorProperty()**); //final TableViewInteger tableView = new TableView(sortedList); // row sorting not possible (FilteredList) //FilteredListInteger filteredList = new FilteredList(FXCollections.**observableArrayList(2, 1, 3), (e) - true); //final TableViewInteger tableView = new TableView(filteredList ); // Don't forget to define columns! final TableColumnInteger, Number integerColumn = new TableColumn(Integer); final TableColumnInteger, String hexColumn = new TableColumn(Integer Hex); integerColumn.**setCellValueFactory(javaClass - new SimpleLongProperty(javaClass.**getValue())); hexColumn.setCellValueFactory(**javaClass - new SimpleStringProperty(Integer.**toHexString(javaClass.**getValue(; tableView.getColumns().addAll(**integerColumn, hexColumn); Any pointers on what I'm doing wrong or where I have to adapt my expectations. Is it correct that row sorting in a TableView is only possible for ordinary ObservableLists? With Regards Martin
Re: Rowsorting of TableView with SortedList/FilteredList
This is a FilteredList issue that Martin Sladecek is looking into. -- Jonathan Sent from a touch device. Please excuse my brevity. Martin Klähn grazer...@gmail.com wrote: I've created https://javafx-jira.kenai.com/browse/RT-32391 for the problem that TableView is not sortable with a FilteredList - Martin On Mon, Aug 12, 2013 at 1:14 PM, Martin Klähn grazer...@gmail.com wrote: Sorry for the link I had that in the original mail but by adding it seems to have vanished. So I had a chance to test the TableView with SortedList and FilteredList with b102. Sorting is enabled with SortedList but not with FilteredList. I guess you'll want a issue for filtering with FilteredList? However I've run into a range of Exception in conjunction with SortedLists created from FilteredList as item in TableView and user ordering of Columns and user based changes of the FilteredList.predicate. They range from ArrayIndexOutOfBoundsException out of SortedList.java:313 to IndexOutOfBoundsException caused by TextInputControlBehavior.java:334 and NullPointerException in SortedList.java:247. I've built a small test class a user has to interact with. We've searched for some automatic way of reproducing the error to no avail (up to now). See https://www.dropbox.com/s/bfhqm0xk4y9r1oz/FilterSortedList.java Steps to reproduce: 1) change column sort of any column 2) type two characters in the textfield below which will change the FilterList.predicate based on String.startsWith-condition. Regards, Martin On Thu, Aug 8, 2013 at 10:30 PM, Jonathan Giles jonathan.gi...@oracle.com wrote: Funny you should ask about this - I just blogged about SortedList and TableView the other day, over at FXExperience: http://fxexperience.com/2013/**08/returning-a-tableview-back-** to-an-unsorted-state-in-**javafx-8-0http://fxexperience.com/2013/08/returning-a-tableview-back-to-an-unsorted-state-in-javafx-8-0 Of course, I can see that you've already read that post (I see a comment from the code in my post in your code below). What might have been missed is that I noted earlier on in the blog post I had to make a few small changes to properly get SortedList support in TableView, so you'll want to try again in b102 (or b103). Regarding your use of FilteredList as well - I've not tried this at all, but I'll add it to my todo list to investigate today. I imagine there might be a bug somewhere. Whatever I find will probably make for a good post at FXExperience, so keep an eye out there too. Thanks, and if you do run into further issues, please don't hesitate to file bugs. In general, if TableView isn't sorting then something is going really wrong! -- Jonathan On 8/08/2013 11:17 p.m., Martin Klähn wrote: Hi guys, I'm working on a business application that makes use of TableView and I'm working with JDK 8 build b101. Displaying the data works like a charm. Row sorting for ordinary ObservableLists is fine too. Then I've set TableView.items to FilteredList and row sorting was disabled. replacing TableView.item with SortedList does not allow row sorting as well. Binding the comparator of SortedList to the TableView.comparator has no effect either. // row sorting possible //final TableViewInteger tableView = new TableView(FXCollections.**observableArrayList(2, 1, 3)); // row sorting not possible (SortedList) // create a TableView with the sorted list set as the items it will show // bind the sortedList comparator to the TableView comparator //SortedListInteger sortedList = new SortedList(FXCollections.**observableArrayList(2, 1, 3)); //sortedList.**comparatorProperty().bind(** tableView.comparatorProperty()**); //final TableViewInteger tableView = new TableView(sortedList); // row sorting not possible (FilteredList) //FilteredListInteger filteredList = new FilteredList(FXCollections.**observableArrayList(2, 1, 3), (e) - true); //final TableViewInteger tableView = new TableView(filteredList ); // Don't forget to define columns! final TableColumnInteger, Number integerColumn = new TableColumn(Integer); final TableColumnInteger, String hexColumn = new TableColumn(Integer Hex); integerColumn.**setCellValueFactory(javaClass - new SimpleLongProperty(javaClass.**getValue())); hexColumn.setCellValueFactory(**javaClass - new SimpleStringProperty(Integer.**toHexString(javaClass.**getValue(; tableView.getColumns().addAll(**integerColumn, hexColumn); Any pointers on what I'm doing wrong or where I have to adapt my expectations. Is it correct that row sorting in a TableView is only possible for ordinary ObservableLists? With Regards Martin
hg: openjfx/8/graphics/rt: 2 new changesets
Changeset: a7953117c6dc Author:tb115823 tomas.branda...@oracle.com Date: 2013-08-16 13:23 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/a7953117c6dc Android: Add prism.allowhidpi property. ! buildSrc/android.gradle Changeset: 9f22478449af Author:tb115823 tomas.branda...@oracle.com Date: 2013-08-16 13:24 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/9f22478449af Android: VMLauncher can't start vm with debug and profiling support. Check exception when loading libjvm.so from default place and try another path. ! modules/graphics/src/android/java/com/oracle/dalvik/VMLauncher.java
Re: custom Styleable properties CSS prefix
Ah, that was the example I tried to use for the 2.2 branch, but didn't work. Thanks! On 2013-08-16 14:23, David Grieve wrote: The changes are significant in that many of the class names were changed and there were some other API changes. I was able to make a good number of changes using perl substitution. But, other than how pseudo-class state is handled, the model didn't change. You might also want to look here - https://wiki.openjdk.java.net/display/OpenJFX/CSS+API+to+support+custom+UI+Controls On Aug 15, 2013, at 10:20 AM, Tom Eugelink t...@tbee.org wrote: No, this is still 2.2, since that is the production version of JFX. The user is creating an actual production application with JFX. My next step is to port this to 8.0. Are the changes major? On 2013-08-15 16:16, David Grieve wrote: I'm assuming this is 8.0? If so, what com.sun classes did you need to pull in and why? I'd like to know from the perspective of the owner of the styleable API. If you have to pull in com.sun, then I might have missed something somewhere since all you should need is in the javafx.css package. On Aug 15, 2013, at 9:16 AM, Tom Eugelink t...@tbee.org wrote: I've created my first control with custom CSS Styleable properties. Ignoring the fact that com.sun classes are involved, it worked pretty easily. Jim suggested that I also post the question about the CSS prefix I asked on the JFXtras mail list here is well. So: I would like to suggest is to use the -fxx prefix for JFXtras CSS properties, so: -fxx-arrow-direction:VERTICAL; -fxx-arrow-position:LEADING; If there is a good reason not to use -fxx I'd love to hear it. Tom
Re: Rowsorting of TableView with SortedList/FilteredList
Hi, there's JIRA issue tracking this: https://javafx-jira.kenai.com/browse/RT-32091 I was thinking about using FXCollections.sort() for this purpose, but I realized this is not going to work. As FilteredList is an unmodifiable view of it's source list, the only thing you can sort the original list or a SortedList in the chain. The catch is that you don't know the element class of the original list nor the SortedList, so there's a problem with Comparator. Or even with the same type, the element could be theoretically filtered through a TransformationList that changes the element in a way their sort order would be different (like String - String which does some translation). Means only the developer (who created the FilteredList) is capable of sorting the FilteredList by placing a SortedList with appropriate Comparator below or on top of the FilteredList binding the Comparator of the TableView to it. Of course, TableView could do this itself, but as it was discussed before, this creates a problem of model-view indices, so it was decided that a developer must do the setup. In other words, if you have any unmodifiable ObservableList / TransformationList, you can enable sorting just be wrapping it into a SortedList before passing it to the TableView. Regards, -Martin On 08/16/2013 11:04 AM, Jonathan Giles wrote: This is a FilteredList issue that Martin Sladecek is looking into. -- Jonathan Sent from a touch device. Please excuse my brevity. Martin Klähn grazer...@gmail.com wrote: I've created https://javafx-jira.kenai.com/browse/RT-32391 for the problem that TableView is not sortable with a FilteredList - Martin On Mon, Aug 12, 2013 at 1:14 PM, Martin Klähn grazer...@gmail.com wrote: Sorry for the link I had that in the original mail but by adding it seems to have vanished. So I had a chance to test the TableView with SortedList and FilteredList with b102. Sorting is enabled with SortedList but not with FilteredList. I guess you'll want a issue for filtering with FilteredList? However I've run into a range of Exception in conjunction with SortedLists created from FilteredList as item in TableView and user ordering of Columns and user based changes of the FilteredList.predicate. They range from ArrayIndexOutOfBoundsException out of SortedList.java:313 to IndexOutOfBoundsException caused by TextInputControlBehavior.java:334 and NullPointerException in SortedList.java:247. I've built a small test class a user has to interact with. We've searched for some automatic way of reproducing the error to no avail (up to now). See https://www.dropbox.com/s/bfhqm0xk4y9r1oz/FilterSortedList.java Steps to reproduce: 1) change column sort of any column 2) type two characters in the textfield below which will change the FilterList.predicate based on String.startsWith-condition. Regards, Martin On Thu, Aug 8, 2013 at 10:30 PM, Jonathan Giles jonathan.gi...@oracle.com wrote: Funny you should ask about this - I just blogged about SortedList and TableView the other day, over at FXExperience: http://fxexperience.com/2013/**08/returning-a-tableview-back-** to-an-unsorted-state-in-**javafx-8-0http://fxexperience.com/2013/08/returning-a-tableview-back-to-an-unsorted-state-in-javafx-8-0 Of course, I can see that you've already read that post (I see a comment from the code in my post in your code below). What might have been missed is that I noted earlier on in the blog post I had to make a few small changes to properly get SortedList support in TableView, so you'll want to try again in b102 (or b103). Regarding your use of FilteredList as well - I've not tried this at all, but I'll add it to my todo list to investigate today. I imagine there might be a bug somewhere. Whatever I find will probably make for a good post at FXExperience, so keep an eye out there too. Thanks, and if you do run into further issues, please don't hesitate to file bugs. In general, if TableView isn't sorting then something is going really wrong! -- Jonathan On 8/08/2013 11:17 p.m., Martin Klähn wrote: Hi guys, I'm working on a business application that makes use of TableView and I'm working with JDK 8 build b101. Displaying the data works like a charm. Row sorting for ordinary ObservableLists is fine too. Then I've set TableView.items to FilteredList and row sorting was disabled. replacing TableView.item with SortedList does not allow row sorting as well. Binding the comparator of SortedList to the TableView.comparator has no effect either. // row sorting possible //final TableViewInteger tableView = new TableView(FXCollections.**observableArrayList(2, 1, 3)); // row sorting not possible (SortedList) // create a TableView with the sorted list set as the items it will show // bind the sortedList comparator to the TableView comparator //SortedListInteger sortedList = new SortedList(FXCollections.**observableArrayList(2, 1, 3));
No events when drag target is removed from the scenegraph while dragging
Hello, we're not sure if we are doing something wrong but in our testing we noticed a behavior of javafx event processing that is unfortunate. I attached a SSCCE that shows the issue. In the application, an ellipse shape is following the mouse, and when you click and drag, a listener that is called upon MouseEvent.DRAG_DETECTED removes the drag target from the scene graph (in this case, the ellipse) and immediately places a newly created ellipse in the same place. The issue is: as soon as the ellipse (the drag target) is removed from the scene graph, no events are fired anymore for the entire drag operation *at all*. The sample application binds listeners to the scene, the stage and to the window but no mouse events are received until the user releases the mouse button. This happens in JavaFX 2.x as well as JavaFX 8. We'd like to know if this is the intented behavior or a bug and if there is a way to receive the missing mouse events somehow. Thanks in advance and kind regards, Sebastian Rheinnecker -- Sebastian Rheinnecker phone: +49 7071 9709050 fax: +49 7071 9709051 yWorks GmbH Vor dem Kreuzberg 28 72070 Tuebingen Germany http://www.yworks.com Managing Directors: Sebastian Müller, Michael Pfahler Commercial Registry: Stuttgart, Germany, HRB 382340 package test; import javafx.application.Application; import javafx.application.Platform; import javafx.event.EventHandler; import javafx.scene.Group; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.input.DragEvent; import javafx.scene.input.MouseEvent; import javafx.scene.paint.Color; import javafx.scene.shape.Ellipse; import javafx.scene.shape.Rectangle; import javafx.stage.Stage; import javafx.stage.WindowEvent; /** * In this test app, an ellipse is moved like a cursor at the mouse position. The ellipses position is updated by * a MouseEvent handler listening for the MouseEvent.MOUSE_MOVED and MouseEvent.MOUSE_DRAGGED. * A problem occurs when the child node on which the drag started (another ellipse in this example) is removed from * the stage during the drag gesture. In this case, no further MOUSE_DRAGGED events are reported. */ public class MouseEventTest extends Application { private Stage primaryStage; public static void main(String[] args) { launch(args); } @Override public void start(final Stage primaryStage) { this.primaryStage = primaryStage; Scene scene = new Scene(createPane(), 600, 600); primaryStage.setTitle(MouseEvent Test App); primaryStage.setScene(scene); primaryStage.show(); } private Parent createPane() { final Group contentGroup = new Group(); // the cursor that is updated on mouse move and mouse drag final Ellipse cursor = new Ellipse(0, 0, 10, 10); cursor.setFill(Color.ORANGE); cursor.setMouseTransparent(true); contentGroup.addEventFilter(MouseEvent.ANY, new EventHandlerMouseEvent() { @Override public void handle(MouseEvent mouseEvent) { if (MouseEvent.MOUSE_MOVED.equals(mouseEvent.getEventType()) || MouseEvent.MOUSE_DRAGGED.equals(mouseEvent.getEventType())) { cursor.setLayoutX(mouseEvent.getX()); cursor.setLayoutY(mouseEvent.getY()); } } }); // a background contentGroup.getChildren().add(new Rectangle(600, 600, Color.BLUE)); // a child that gets removed later contentGroup.getChildren().add(createChild()); // the cursor contentGroup.getChildren().add(cursor); return contentGroup; } // creates an ellipse that removes itself from its parent on MouseEvent.DRAG_DETECTED and replaces itself by another // ellipse private Node createChild() { final Ellipse ellipse = new Ellipse(300, 300, 200, 200); ellipse.addEventHandler(MouseEvent.DRAG_DETECTED, new EventHandlerMouseEvent() { @Override public void handle(MouseEvent mouseEvent) { Group parent = (Group) ellipse.getParent(); parent.getChildren().remove(ellipse); parent.getChildren().add(1, createChild()); // none of this approaches work; no one receives mouse / drag events anymore! // window primaryStage.getScene().getWindow().addEventFilter(MouseEvent.ANY, new EventHandlerMouseEvent() { @Override public void handle(MouseEvent mouseEvent) { System.out.println(mouseEvent); } }); primaryStage.getScene().getWindow().addEventFilter(DragEvent.ANY, new EventHandlerDragEvent() { @Override public void handle(DragEvent dragEvent) { System.out.println(dragEvent); } }); // stage primaryStage.getScene().addEventFilter(MouseEvent.ANY, new EventHandlerMouseEvent() { @Override public void handle(MouseEvent mouseEvent) { System.out.println(mouseEvent); } });
Re: No events when drag target is removed from the scenegraph while dragging
The existing behavior does sound consistent at least. When a drag starts, the node captures the mouse and doesn't let go until the event concludes. This is the same as if the node had remained in the scene graph. Since the node is no longer in the scene graph, there is no hierarchy to bubble / filter / capture events in. What other options are there which would also work? We could send a mouse drag ended, mouse release, etc to the node which has been removed from the scene graph and then start a new drag event at the current location. I'm guessing this is the behavior you were looking for? Richard On Aug 16, 2013, at 7:53 AM, Sebastian Rheinnecker sebastian.rheinnec...@yworks.com wrote: Hello, we're not sure if we are doing something wrong but in our testing we noticed a behavior of javafx event processing that is unfortunate. I attached a SSCCE that shows the issue. In the application, an ellipse shape is following the mouse, and when you click and drag, a listener that is called upon MouseEvent.DRAG_DETECTED removes the drag target from the scene graph (in this case, the ellipse) and immediately places a newly created ellipse in the same place. The issue is: as soon as the ellipse (the drag target) is removed from the scene graph, no events are fired anymore for the entire drag operation *at all*. The sample application binds listeners to the scene, the stage and to the window but no mouse events are received until the user releases the mouse button. This happens in JavaFX 2.x as well as JavaFX 8. We'd like to know if this is the intented behavior or a bug and if there is a way to receive the missing mouse events somehow. Thanks in advance and kind regards, Sebastian Rheinnecker -- Sebastian Rheinnecker phone: +49 7071 9709050 fax: +49 7071 9709051 yWorks GmbH Vor dem Kreuzberg 28 72070 Tuebingen Germany http://www.yworks.com Managing Directors: Sebastian Müller, Michael Pfahler Commercial Registry: Stuttgart, Germany, HRB 382340 MouseEventTest.java
Re: No events when drag target is removed from the scenegraph while dragging
Hello, well, the behavior we are looking for is being able to proceed with a drag after the thing on which the drag started changed (got removed / replaced). It doesn't sound very convenient for me that a thing that is not in the scene graph anymore can still the mouse capture, which means that no component of the whole application receives any mouse events at all. I think that it is not an uncommon scenario for an application to change things when a drag is detected. A new DragEvent that starts where the old has ended because the target became invalid sounds promising to me, but any solution is appreciated. Should I file an issue in the JavaFX jira for it? Kind regards, Sebastian Am 16.08.2013 17:38, schrieb Richard Bair: The existing behavior does sound consistent at least. When a drag starts, the node captures the mouse and doesn't let go until the event concludes. This is the same as if the node had remained in the scene graph. Since the node is no longer in the scene graph, there is no hierarchy to bubble / filter / capture events in. What other options are there which would also work? We could send a mouse drag ended, mouse release, etc to the node which has been removed from the scene graph and then start a new drag event at the current location. I'm guessing this is the behavior you were looking for? Richard On Aug 16, 2013, at 7:53 AM, Sebastian Rheinnecker sebastian.rheinnec...@yworks.com wrote: Hello, we're not sure if we are doing something wrong but in our testing we noticed a behavior of javafx event processing that is unfortunate. I attached a SSCCE that shows the issue. In the application, an ellipse shape is following the mouse, and when you click and drag, a listener that is called upon MouseEvent.DRAG_DETECTED removes the drag target from the scene graph (in this case, the ellipse) and immediately places a newly created ellipse in the same place. The issue is: as soon as the ellipse (the drag target) is removed from the scene graph, no events are fired anymore for the entire drag operation *at all*. The sample application binds listeners to the scene, the stage and to the window but no mouse events are received until the user releases the mouse button. This happens in JavaFX 2.x as well as JavaFX 8. We'd like to know if this is the intented behavior or a bug and if there is a way to receive the missing mouse events somehow. Thanks in advance and kind regards, Sebastian Rheinnecker -- Sebastian Rheinnecker phone: +49 7071 9709050 fax: +49 7071 9709051 yWorks GmbH Vor dem Kreuzberg 28 72070 Tuebingen Germany http://www.yworks.com Managing Directors: Sebastian Müller, Michael Pfahler Commercial Registry: Stuttgart, Germany, HRB 382340 MouseEventTest.java -- Sebastian Rheinnecker phone: +49 7071 9709050 fax: +49 7071 9709051 yWorks GmbH Vor dem Kreuzberg 28 72070 Tuebingen Germany http://www.yworks.com Managing Directors: Sebastian Müller, Michael Pfahler Commercial Registry: Stuttgart, Germany, HRB 382340
hg: openjfx/8/graphics/rt: RT-32376: NGNode accumulateNodeDirtyRegion optimizations
Changeset: 79de994fa91c Author:rbair Date: 2013-08-16 09:20 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/79de994fa91c RT-32376: NGNode accumulateNodeDirtyRegion optimizations Reviewed-By: Martin Sladecek ! modules/graphics/src/main/java/com/sun/javafx/geom/Area.java ! modules/graphics/src/main/java/com/sun/javafx/geom/BaseBounds.java ! modules/graphics/src/main/java/com/sun/javafx/geom/BoxBounds.java ! modules/graphics/src/main/java/com/sun/javafx/geom/DirtyRegionContainer.java ! modules/graphics/src/main/java/com/sun/javafx/geom/RectBounds.java ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java
hg: openjfx/8/graphics/rt: RT-32385: add clean{NATIVE} task to gradle
Changeset: c3bc3340c9bf Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2013-08-16 09:51 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/c3bc3340c9bf RT-32385: add clean{NATIVE} task to gradle ! build.gradle
Re: BarChart CategoryAxis limitation
When we initially designed and implemented BarChart, the idea was that it is a Chart that shows rectangular ( horizontal or vertical) bars representing some value for a given category. That is how many charting packages depict BarCharts including JfreeChart etc. Also, for simple cases, one can plot date as categories. Jasper was our original Charts designer/implementer, so correct me if I am wrong Jasper. However, for what you would like to plot - two value axes based BarChart - would IMHO be a CustomBarChart - another subclass of XYChart. I think JFreeChart calls it a XYBarChart, if I am right. Sorry, we do not have one such implementation at this point. thanks, Paru. On 8/15/13 5:09 PM, Pedro Duque Vieira wrote: Hi, BarChart only allows you to insert a ValueAxis/CategoryAxis combination. So you can't have a ValueAxis/ValueAxis or it will throw a runtime exception. I don't understand this limitation, I'm creating a DateAxis and want to have a NumberAxis/DateAxis barchart. Can you tell me why this limitation exists? Best regards,
hg: openjfx/8/graphics/rt: 3 new changesets
Changeset: 13c8110664a0 Author:Daniel Blaukopf daniel.blauk...@oracle.com Date: 2013-08-16 11:46 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/13c8110664a0 RT-30809 Rename system property egl.depthSize to prism.glDepthSize ! modules/graphics/src/main/java/com/sun/prism/es2/GLPixelFormat.java Changeset: 09626e4c65e1 Author:Daniel Blaukopf daniel.blauk...@oracle.com Date: 2013-08-16 11:49 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/09626e4c65e1 RT-32386 Set default depth buffer size to 0 on embedded platforms ! buildSrc/armv6hf.gradle ! buildSrc/armv6sf.gradle Changeset: 9faea317b416 Author:Daniel Blaukopf daniel.blauk...@oracle.com Date: 2013-08-16 11:56 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/9faea317b416 RT-31651 Open source VMPerformance benchmark + tests/performance/VMPerformance/build.xml + tests/performance/VMPerformance/manifest.mf + tests/performance/VMPerformance/nbproject/build-impl.xml + tests/performance/VMPerformance/nbproject/genfiles.properties + tests/performance/VMPerformance/nbproject/project.properties + tests/performance/VMPerformance/nbproject/project.xml + tests/performance/VMPerformance/src/VMPerformance.c + tests/performance/VMPerformance/src/VMPerformance.h + tests/performance/VMPerformance/src/VMPerformance.java
hg: openjfx/8/graphics/rt: Fix to RT-32312: FX 3D: Fix native compiler warnings on mismatch or incompatible types
Changeset: 7b3a73b89583 Author:Chien Yang chien.y...@orcale.com Date: 2013-08-16 12:15 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/7b3a73b89583 Fix to RT-32312: FX 3D: Fix native compiler warnings on mismatch or incompatible types Reviewed by Kevin ! modules/graphics/src/main/native-prism-d3d/D3DContext.cc ! modules/graphics/src/main/native-prism-es2/GLContext.c
hg: openjfx/8/graphics/rt: RT-32397: miscellaneous improvements to gradle native
Changeset: 6c0f8906b2c6 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2013-08-16 13:06 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/6c0f8906b2c6 RT-32397: miscellaneous improvements to gradle native ! build.gradle
hg: openjfx/8/graphics/rt: RT-28486 lens first step in porting layer rework
Changeset: 5af969b62a4e Author:ddhill Date: 2013-08-16 16:32 -0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/5af969b62a4e RT-28486 lens first step in porting layer rework ! buildSrc/armv6hf.gradle ! buildSrc/armv6sf.gradle ! modules/graphics/src/main/native-glass/lens/LensCommon.h + modules/graphics/src/main/native-glass/lens/LensLogger.h ! modules/graphics/src/main/native-glass/lens/cursor/fbCursor/fbCursor.c - modules/graphics/src/main/native-glass/lens/cursor/fbCursor/fbCursor.h - modules/graphics/src/main/native-glass/lens/cursor/fbCursor/fbDispman.c - modules/graphics/src/main/native-glass/lens/cursor/fbCursor/wrapped_bcm.c ! modules/graphics/src/main/native-glass/lens/input/LensInput.h + modules/graphics/src/main/native-glass/lens/platform-util/dispmanCursor.c + modules/graphics/src/main/native-glass/lens/platform-util/fbRobot.c + modules/graphics/src/main/native-glass/lens/platform-util/initPlatform.c + modules/graphics/src/main/native-glass/lens/platform-util/omapCursor.c + modules/graphics/src/main/native-glass/lens/platform-util/platformUtil.h + modules/graphics/src/main/native-glass/lens/platform-util/utilInternal.h + modules/graphics/src/main/native-glass/lens/platform-util/wrapped_bcm.c + modules/graphics/src/main/native-glass/lens/platform-util/wrapped_bcm.h ! modules/graphics/src/main/native-glass/lens/wm/LensWindowManager.c ! modules/graphics/src/main/native-glass/lens/wm/screen/fbdevScreen.c
hg: openjfx/8/graphics/rt: RT-32402: fix android and ios build broken by RT-32397
Changeset: 9ee5d48d5a4d Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2013-08-16 14:56 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/9ee5d48d5a4d RT-32402: fix android and ios build broken by RT-32397 ! build.gradle
hg: openjfx/8/graphics/rt: 2 new changesets
Changeset: c8be158cc54b Author:Daniel Blaukopf daniel.blauk...@oracle.com Date: 2013-08-13 17:52 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/c8be158cc54b RT-31493 Lens: Enable Multitouch on Raspberry Pi and Beagle ! modules/graphics/src/main/java/com/sun/glass/ui/lens/LensApplication.java ! modules/graphics/src/main/java/com/sun/glass/ui/lens/LensTouchInputSupport.java ! modules/graphics/src/main/native-glass/lens/LensApplication.c ! modules/graphics/src/main/native-glass/lens/LensCommon.h ! modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c ! modules/graphics/src/main/native-glass/lens/wm/LensWindowManager.c ! modules/graphics/src/main/native-glass/lens/wm/LensWindowManager.h Changeset: 2c79b7f0dcf2 Author:Daniel Blaukopf daniel.blauk...@oracle.com Date: 2013-08-16 15:36 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/2c79b7f0dcf2 RT-32279 Create framebuffer on hardware layer 1 and cursor on layer 2 ! modules/graphics/src/main/native-glass/lens/platform-util/dispmanCursor.c ! modules/graphics/src/main/native-prism-es2/eglfb/wrapped_egl.c
Summary of new features in JavaFX 8?
I am preparing another blog about JavaFX and would like to know what changes and enhancements there are in JavaFX between JDK7 and JDK8. For me the most obvious one is the entire 3D functionality but would it be possible for someone from Oracle or another person in the know to list the major changes and (especially) enhancements/new features we can expect in JFX8? Alternatively, if there is either a web page that lists them or some way for me to establish this info myself could you please point me there? These are the ones I can find for myself: * 3D * Rich Text * Modena theme * Embedded support * HTML5 improvements * New controls (TreeTableView, DatePicker)? Have I missed anything? Thanks, Felix
Re: Summary of new features in JavaFX 8?
In theory the JavaDocs are supposed to have @since JavaFX 8.0 on all classes / methods which were added in 8. At one point it was accurate, it may have drifted since. There was also some tool that did a diff from one JavaDoc version to the next to figure out what was added. I mention this because I don't ever remember what is new and have to take those steps myself to be reminded of all the things we've done since last year :-) Richard On Aug 16, 2013, at 7:50 PM, Felix Bembrick felix.bembr...@gmail.com wrote: I am preparing another blog about JavaFX and would like to know what changes and enhancements there are in JavaFX between JDK7 and JDK8. For me the most obvious one is the entire 3D functionality but would it be possible for someone from Oracle or another person in the know to list the major changes and (especially) enhancements/new features we can expect in JFX8? Alternatively, if there is either a web page that lists them or some way for me to establish this info myself could you please point me there? These are the ones I can find for myself: * 3D * Rich Text * Modena theme * Embedded support * HTML5 improvements * New controls (TreeTableView, DatePicker)? Have I missed anything? Thanks, Felix
Re: Summary of new features in JavaFX 8?
Hi Richard, OK, thanks for that. Can you at least say if you are aware of any major feature or enhancement that I have omitted from my list? I am not really interested in anything smaller than key features although a list of all the new controls would be very helpful! (Maybe Jonathan would be better placed to answer the last part of that). Thanks, Felix On 17 August 2013 13:10, Richard Bair richard.b...@oracle.com wrote: In theory the JavaDocs are supposed to have @since JavaFX 8.0 on all classes / methods which were added in 8. At one point it was accurate, it may have drifted since. There was also some tool that did a diff from one JavaDoc version to the next to figure out what was added. I mention this because I don't ever remember what is new and have to take those steps myself to be reminded of all the things we've done since last year :-) Richard On Aug 16, 2013, at 7:50 PM, Felix Bembrick felix.bembr...@gmail.com wrote: I am preparing another blog about JavaFX and would like to know what changes and enhancements there are in JavaFX between JDK7 and JDK8. For me the most obvious one is the entire 3D functionality but would it be possible for someone from Oracle or another person in the know to list the major changes and (especially) enhancements/new features we can expect in JFX8? Alternatively, if there is either a web page that lists them or some way for me to establish this info myself could you please point me there? These are the ones I can find for myself: * 3D * Rich Text * Modena theme * Embedded support * HTML5 improvements * New controls (TreeTableView, DatePicker)? Have I missed anything? Thanks, Felix
Re: Summary of new features in JavaFX 8?
Thanks Jonathan :-) On 17 August 2013 13:28, Jonathan Giles jonathan.gi...@oracle.com wrote: You have the right controls that are new in 8.0. -- Jonathan Sent from a touch device. Please excuse my brevity. Felix Bembrick felix.bembr...@gmail.com wrote: Hi Richard, OK, thanks for that. Can you at least say if you are aware of any major feature or enhancement that I have omitted from my list? I am not really interested in anything smaller than key features although a list of all the new controls would be very helpful! (Maybe Jonathan would be better placed to answer the last part of that). Thanks, Felix On 17 August 2013 13:10, Richard Bair richard.b...@oracle.com wrote: In theory the JavaDocs are supposed to have @since JavaFX 8.0 on all classes / methods which were added in 8. At one point it was accurate, it may have drifted since. There was also some tool that did a diff from one JavaDoc version to the next to figure out what was added. I mention this because I don't ever remember what is new and have to take those steps myself to be reminded of all the things we've done since last year :-) Richard On Aug 16, 2013, at 7:50 PM, Felix Bembrick felix.bembr...@gmail.com wrote: I am preparing another blog about JavaFX and would like to know what changes and enhancements there are in JavaFX between JDK7 and JDK8. For me the most obvious one is the entire 3D functionality but would it be possible for someone from Oracle or another person in the know to list the major changes and (especially) enhancements/new features we can expect in JFX8? Alternatively, if there is either a web page that lists them or some way for me to establish this info myself could you please point me there? These are the ones I can find for myself: * 3D * Rich Text * Modena theme * Embedded support * HTML5 improvements * New controls (TreeTableView, DatePicker)? Have I missed anything? Thanks, Felix
Re: Summary of new features in JavaFX 8?
* Printing Felipe On Aug 16, 2013, at 7:50 PM, Felix Bembrick wrote: I am preparing another blog about JavaFX and would like to know what changes and enhancements there are in JavaFX between JDK7 and JDK8. For me the most obvious one is the entire 3D functionality but would it be possible for someone from Oracle or another person in the know to list the major changes and (especially) enhancements/new features we can expect in JFX8? Alternatively, if there is either a web page that lists them or some way for me to establish this info myself could you please point me there? These are the ones I can find for myself: * 3D * Rich Text * Modena theme * Embedded support * HTML5 improvements * New controls (TreeTableView, DatePicker)? Have I missed anything? Thanks, Felix