Re: FTFactory.java: Fonts loaded by Pango are never registered and always return
Mario is correct. Basically we want to be able to compile and load this library in systems where libfontconfig is not available (or system where the given symbol, FcConfigAppFontAddFile, is not there - maybe system using old version of libfontconfig). If it works for you, it just means your system has all the right versions of the libraries, but it doesn't mean it works on supported platforms. Not sure why the common code didn't work for you. does dlopen(LIB_FONTCONFIG, RTLD_LAZY) return a non-null value ? does dlsym(handle, "FcConfigAppFontAddFile") return a non-null value ? Felipe > On Mar 3, 2016, at 7:43 AM, Mauricewrote: > > Hmm I think I have to agree with you... you are right. Commenting it in > didn't give a compiler or linkage error, and it made it work. I'm happy at > the moment and tired of the debugging process, but I'll give it more thought > later. > > Op 03-03-16 om 16:36 schreef Mario Torre: >> On Thu, Mar 3, 2016 at 2:48 PM, Maurice wrote: >>> At the moment the embedded environment I'm using is not able to use >>> downloaded or external supplied fonts. I've traced through the system and >>> found that it looks like it fails in pango.c FcConfigAppFontAddFile, at >>> least OSPango.FcConfigAppFontAddFile returns false, thus propagating a null >>> all the way up. >>> >>> Checking the pango.c file I noticed something very interesting: >>> JNIEXPORT jboolean JNICALL OS_NATIVE(FcConfigAppFontAddFile) >>> (JNIEnv *env, jclass that, jlong arg0, jstring arg1) >>> { >>> static void *fp = NULL; >>> if (!fp) { >>> void* handle = dlopen(LIB_FONTCONFIG, RTLD_LAZY); >>> if (handle) fp = dlsym(handle, "FcConfigAppFontAddFile"); >>> } >>> jboolean rc = 0; >>> if (arg1) { >>> const char *text = (*env)->GetStringUTFChars(env, arg1, NULL); >>> if (text) { >>> //rc = (jboolean)FcConfigAppFontAddFile(arg0, text); >>> if (fp) { >>> rc = (jboolean)((jboolean (*)(jlong, const char *))fp)(arg0, >>> text); >>> } >>> (*env)->ReleaseStringUTFChars(env, arg1, text); >>> } >>> } >>> return rc; >>> } >>> >>> Yes, you see it correctly! The line that actually should register the font >> Pointer to functions make me blind too, but If I'm not reading it >> wrong, I think this is not a commented code call, it's meant to tell >> what the code below it does (apparently, it made blind also the >> author!): >> >> FcConfigAppFontAddFile is dloaded into fp, so this totally >> incomprehensible line: >> >> ((jboolean (*)(jlong, const char *))fp)(arg0, text); >> >> it's just casting fp to a function that returns a jboolean and takes a >> jlong and a const char array as argument, hence it becomes again: >> >> (jboolean)FcConfigAppFontAddFile(arg0, text); >> >> Cheers, >> Mario >
hg: openjfx/8u-dev/rt: RT-38454: [Accessibility] HelloPagination gets RuntimeException: Accessbility requested for node not on a scene
Changeset: 6e4d117f2c7a Author:Felipe Heidrich felipe.heidr...@oracle.com 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
hg: openjfx/8u-dev/rt: RT-38452: [Accessibility] HelloTreeView hangs on Windows 7 when running Narrator
Changeset: 3beaafe4b671 Author:Felipe Heidrich felipe.heidr...@oracle.com 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
hg: openjfx/8u-dev/rt: [Accessibility] Reduce method/field visibility
Changeset: f98785bfc2f9 Author:Felipe Heidrich felipe.heidr...@oracle.com 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
hg: openjfx/8u-dev/rt: [Accessibility] Reduce method/field visibility
Changeset: 397bbdd03f90 Author:Felipe Heidrich felipe.heidr...@oracle.com 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
Re: Displaying pixel-perfect images without blur when zooming
Hi Nico, Is this what you looking for: Image image - the image to scale up int width = (int)image.getWidth(); int height = (int)image.getHeight(); int z = (int)getZoom(); // 2, 4, 8, 16 (I only tested for powers of two) IntBuffer src = IntBuffer.allocate(width * height); WritablePixelFormatIntBuffer pf = PixelFormat.getIntArgbInstance(); image.getPixelReader().getPixels(0, 0, width, height, pf, src, width); int newWidth = width * z; int newHeight = height * z; int[] dst = new int[newWidth * newHeight]; int index = 0; for (int y = 0; y height; y++) { index = y * newWidth * z; for (int x = 0; x width; x++) { int pixel = src.get(); for (int i = 0; i z; i++) { for (int j = 0; j z; j++) { dst[index + i + (newWidth * j)] = pixel; } } index += z; } } WritableImage bigImage = new WritableImage(newWidth, newHeight); bigImage.getPixelWriter().setPixels(0, 0, newWidth, newHeight, pf, dst, 0, newWidth); preview.setImage(bigImage); preview.setFitWidth(newWidth); preview is ImageView where the scale up image is displayed. Felipe On Aug 26, 2014, at 10:00 AM, Nico Krebs | www.mensch-und-maschine.de nicokrebs@googlemail.com wrote: Hi there, i want to display multiple images (layers) inside a scene and want to be able to zoom without having blurry images as you can see in the images in the attachment (on the left you can see very big scaled pixels as i need it and on the right is the blurry JavaFX-Result on which i cannot identify single pixels. i used the zoom pane example from https://stackoverflow.com/questions/16680295/javafx-correct-scaling this is how i initialize my scene: ArrayListImageView listOfImageViews = getImageViews(); //imageviews are created from bufferedimages with: SwingFXUtils.toFXImage(image, null) final Group layerGroup = new Group(listOfImageViews); this.stackPane = new StackPane(); stackPane.getChildren().add(layerGroup); scene = new Scene(stackPane); this.stackPane.getChildren().add(this.scrollPane); this.stackPane.getChildren().add(scrollPane.createZoomPane(listOfImageViews )); this.setScene(scene); and this is how zooming is done: ...//calculate scalefactor from scrolling ... layerGroup .setScaleX(layerGroup .getScaleX() * scaleFactor); layerGroup .setScaleY(layerGroup .getScaleY() * scaleFactor); ... when i zoom in so that i theoreticallly could see single pixels, all i see is a blurry area. (see examples) i know already that that`s JavaFX default behaviour and even if i set setSmooth(false), the antialiasing or precision errors or whatever is causing this, persists. is there perhaps another way? i am even willing to write my own implementation of Imageview if it would help. Can anybody please help me out? if you need more details, please ask :) thanks in advance and greetz, Nico
hg: openjfx/8u-dev/rt: RT-38185: [Accessibility] Intermittent crash / relaunch on exit on Windows 7 with Narrator
Changeset: 5705e881dc1f Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-26 11:34 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/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
hg: openjfx/8u-dev/rt: RT-38187: [a11y] Intermittent NPE running HelloSanity or SceneBuilder with Narrator
Changeset: e68dd7128fdd Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-26 13:49 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/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
hg: openjfx/8u-dev/rt: RT-38187: [a11y] Intermittent NPE running HelloSanity or SceneBuilder with Narrator
Changeset: 96b05e9b6bd4 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-26 13:56 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/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
hg: openjfx/8u-dev/rt: [Accessibility] cosmetic changes
Changeset: e1d0a9e30bec Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-26 14:49 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e1d0a9e30bec [Accessibility] cosmetic changes ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
Re: Displaying pixel-perfect images without blur when zooming
I'm curious. Why setSmooth doesn't work? I tried setSmooth but it doesn’t work. See the doc: Indicates whether to use a better quality filtering algorithm or a faster”. I expected this be a set for the interpolation algorithm (bilinear, bicubic, nearest neighbor, etc). My case I didn’t want a faster filter, I wanted no filter. Anyway, looking at the code, at the rendering level, NSImageView: // RT-18701: this method does nothing public void setSmooth(boolean s) {} Also, do I really need to create an image in memory just to render something showing the pixels? For a workaround done outside JavaFX I can’t think of any other way. I used this code snippet for a simple testing app, small images. Felipe On Aug 27, 2014 3:32 AM, Nico Krebs | www.mensch-und-maschine.de http://www.mensch-und-maschine.de/ nicokrebs@googlemail.com mailto:nicokrebs@googlemail.com wrote: Thanx for that quick response! It is the right direction, but doing this for one image is not enough. when having multiple images, the distances between them must be scaled, too. I will extend your example to scale all nodes and their positions, too. I try it tomorrow and post the result here. Nico Felipe Heidrich mailto:felipe.heidr...@oracle.com mailto:felipe.heidr...@oracle.com 26. August 2014 19:20 Hi Nico, Is this what you looking for: Image image - the image to scale up int width = (int)image.getWidth(); int height = (int)image.getHeight(); int z = (int)getZoom(); // 2, 4, 8, 16 (I only tested for powers of two) IntBuffer src = IntBuffer.allocate(width * height); WritablePixelFormatIntBuffer pf = PixelFormat.getIntArgbInstance(); image.getPixelReader().getPixels(0, 0, width, height, pf, src, width); int newWidth = width * z; int newHeight = height * z; int[] dst = new int[newWidth * newHeight]; int index = 0; for (int y = 0; y height; y++) { index = y * newWidth * z; for (int x = 0; x width; x++) { int pixel = src.get(); for (int i = 0; i z; i++) { for (int j = 0; j z; j++) { dst[index + i + (newWidth * j)] = pixel; } } index += z; } } WritableImage bigImage = new WritableImage(newWidth, newHeight); bigImage.getPixelWriter().setPixels(0, 0, newWidth, newHeight, pf, dst, 0, newWidth); preview.setImage(bigImage); preview.setFitWidth(newWidth); preview is ImageView where the scale up image is displayed. Felipe -- Nico Krebs Michelangelostraße 1 01217 Dresden web: www.mensch-und-maschine.de http://www.mensch-und-maschine.de/ mobil:0162 / 85 89 667 mail:nicokrebs@googlemail.com mailto:nicokrebs@googlemail.com skype:k-dottus icq:324 143 104 fax:032 12 - 11 39 77 6 twitter: nico_krebs
hg: openjfx/8u-dev/rt: RT-38445: [Accessibility, Windows] Fix text traversal action
Changeset: 4be6763a301a Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-26 16:28 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/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
hg: openjfx/8u-dev/rt: RT-37792: [Accessibility] Combobox list items are counted incorrectly
Changeset: 2676b22761e5 Author:fheidric Date: 2014-08-25 14:59 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/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
hg: openjfx/8u-dev/rt: RT-37088: [Accesssibility, Windows] ListView should not read colunn one row xx
Changeset: b877eff5fa53 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-25 16:22 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/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
hg: openjfx/8u-dev/rt: [Accessibility] Fix WinAccessible to use ITEM_COUNT and ITEM_AT_INDEX for ListView
Changeset: 1beb181cb557 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-22 09:49 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1beb181cb557 [Accessibility] Fix WinAccessible to use ITEM_COUNT and ITEM_AT_INDEX for ListView ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: [Accessibility] WinAccessible#NavigateListView should not call ITEM_AT_INDEX with out of index value
Changeset: 8fc31fdab4d7 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-22 10:06 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8fc31fdab4d7 [Accessibility] WinAccessible#NavigateListView should not call ITEM_AT_INDEX with out of index value ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: [DOSMETIC] Fix code format in GlassAccessible.cpp
Changeset: eceb2234f22b Author:fheidric Date: 2014-08-21 09:41 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/eceb2234f22b [DOSMETIC] Fix code format in GlassAccessible.cpp ! modules/graphics/src/main/native-glass/win/GlassAccessible.cpp
hg: openjfx/8u-dev/rt: RT-38154: [Linux, Font] AR PL UMing fonts can't be rendered when font size is 11 - 16.
Changeset: ad87c1b0b658 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-20 07:00 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ad87c1b0b658 RT-38154: [Linux, Font] AR PL UMing fonts can't be rendered when font size is 11 - 16. ! modules/graphics/src/main/java/com/sun/javafx/font/freetype/FTFontFile.java
Re: Text rendering on Windows
Hi John, 1) There are many different ways to configure DirectWrite, but without more details I can not tell what that is for your case. Maybe the first thing to try is to go to DWGlyph#createAnalysis() and changed the rendering mode from DWRITE_RENDERING_MODE_NATURAL to DWRITE_RENDERING_MODE_GDI_CLASSIC or DWRITE_RENDERING_MODE_GDI_NATURAL. That said, there are many other knobs to try and combine. You can also file a jira with images of your javaFX application and a native app using the very same font and size, same foreground, and same background. That should enable me to try it on my machine too. In case you are coming to JavaOne this year, you could bring your laptop and application, I have a BOF on text rendering scheduled. We could hack some code together and maybe find a solution. 2) LCD text rendering on Canvas is assigned to Jim, see https://javafx-jira.kenai.com/browse/RT-23822 The fix version recored on jira is 9, it would be nice if we could get it before that but I don’t know if it is possible, Jim ? Thank you, Felipe On Aug 18, 2014, at 1:28 AM, John C. Turnbull ozem...@ozemail.com.au wrote: Hi Felipe, I just finished watching your excellent presentation at SVJUGFX on text rendering with JavaFX and have a couple of multi part questions: 1) I noted that DirectWrite is now used to rasterise fonts on Windows instead of T2K or GDI and I for one am pleased about this. However, no matter what I do I just can't get JavaFX text to be rendered as crisply or as black as I see in native Windows apps that also use DirectWrite. The result is that my app undesirably stands out from a native app. What could be the cause of this? I saw that DirectWrite provides several options for rendering text and that currently only the default one is being applied so could it have something to do with this? Is work being done to reduce the differential between JavaFX text rendering quality and that of native Windows apps? 2) I appreciated the explanation relating to LCD text in Canvas and the issue with the Canvas initially bring a transparent surface making later blending with an actual background problematic leading to greyscale support only. Given that many of us see this as a very serious impediment to developing complex controls that use Canvas, is there a focus within the JFX team on finding a way of supporting LCD text in Canvas and if so, which JFX version is likely to first include this support? Thanks again for a great talk and for all the hard work you have put into improving text rendering in JavaFX :-) -jct
hg: openjfx/8u-dev/rt: [Accessibility] Fix bad handling of SHOW_MENU in ContextMenuContent
Changeset: 0702536fb5c7 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-15 10:30 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/0702536fb5c7 [Accessibility] Fix bad handling of SHOW_MENU in ContextMenuContent ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ContextMenuContent.java
hg: openjfx/8u-dev/rt: [Javadoc only] fix Node a11y doc
Changeset: d6e7941a7a9f Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-15 12:55 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d6e7941a7a9f [Javadoc only] fix Node a11y doc ! modules/graphics/src/main/java/javafx/scene/Node.java
hg: openjfx/8u-dev/rt: [Accessibility] JavaDoc for AccessibleRole major update
Changeset: 9ba20c17e0f9 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-14 12:42 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/9ba20c17e0f9 [Accessibility] JavaDoc for AccessibleRole major update ! modules/graphics/src/main/java/javafx/scene/AccessibleRole.java
hg: openjfx/8u-dev/rt: RT-37959: [Accessibility] Review a11y enums
Changeset: 8f77e2f47662 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-14 12:46 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8f77e2f47662 RT-37959: [Accessibility] Review a11y enums Removed AccessibleRole#HEADER, not used. Note AccessileAttribute#HEADER is used and stays ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java ! modules/graphics/src/main/java/javafx/scene/AccessibleRole.java
hg: openjfx/8u-dev/rt: [Accessibility] JavaDoc for AccessibleAction updated
Changeset: 7ade5c95d0fc Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-14 13:34 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7ade5c95d0fc [Accessibility] JavaDoc for AccessibleAction updated ! modules/graphics/src/main/java/javafx/scene/AccessibleAction.java
hg: openjfx/8u-dev/rt: [Accessibility] Removed AccessibleAttribute#getName(), it was not used
Changeset: e83331cf4ed4 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-14 13:42 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e83331cf4ed4 [Accessibility] Removed AccessibleAttribute#getName(), it was not used ! modules/graphics/src/main/java/javafx/scene/AccessibleAttribute.java
hg: openjfx/8u-dev/rt: [Accessibility] JavaDoc for AccessibleAttribute updated
Changeset: 2056b7f57799 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-14 19:58 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2056b7f57799 [Accessibility] JavaDoc for AccessibleAttribute updated ! modules/graphics/src/main/java/javafx/scene/AccessibleAction.java ! modules/graphics/src/main/java/javafx/scene/AccessibleAttribute.java
hg: openjfx/8u-dev/rt: RT-37959: [Accessibility] Review a11y enums
Changeset: 088856d1b79a Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-13 14:50 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/088856d1b79a RT-37959: [Accessibility] Review a11y enums Rename MENU_FOR - PARENT_MENU Rename MENU - SUBMENU ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ContextMenuContent.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java ! modules/graphics/src/main/java/javafx/scene/AccessibleAttribute.java
hg: openjfx/8u-dev/rt: [Accessibility] Update JavaDoc
Changeset: 027b83703d37 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-13 15:06 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/027b83703d37 [Accessibility] Update JavaDoc ! modules/graphics/src/main/java/javafx/scene/AccessibleAttribute.java ! modules/graphics/src/main/java/javafx/scene/AccessibleRole.java
hg: openjfx/8u-dev/rt: RT-37959: [Accessibility] Review a11y enums
Changeset: cfac922b8306 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-13 16:06 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/cfac922b8306 RT-37959: [Accessibility] Review a11y enums Remove AccessibleAction.MOVE and clean up around THUMB. Left (unused) references to ITransformProvider in WinAccessible.java and GlassAccessible.cpp ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollBarSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/SliderSkin.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java ! modules/graphics/src/main/java/javafx/scene/AccessibleAction.java ! modules/graphics/src/main/java/javafx/scene/AccessibleRole.java
hg: openjfx/8u-dev/rt: RT-37959: [Accessibility] Review a11y enums
Changeset: 438fee7942f4 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-13 16:21 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/438fee7942f4 RT-37959: [Accessibility] Review a11y enums Rename TITLE to TEXT ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ContextMenuContent.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/LabeledSkinBase.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/PaginationSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableColumnHeader.java ! modules/controls/src/main/java/javafx/scene/control/ChoiceBox.java ! modules/controls/src/main/java/javafx/scene/control/ComboBox.java ! modules/controls/src/main/java/javafx/scene/control/DatePicker.java ! modules/controls/src/main/java/javafx/scene/control/PasswordField.java ! modules/controls/src/main/java/javafx/scene/control/Spinner.java ! modules/controls/src/main/java/javafx/scene/control/TextInputControl.java ! modules/controls/src/main/java/javafx/scene/control/TitledPane.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/com/sun/glass/ui/win/WinTextRangeProvider.java ! modules/graphics/src/main/java/javafx/scene/AccessibleAction.java ! modules/graphics/src/main/java/javafx/scene/AccessibleAttribute.java ! modules/graphics/src/main/java/javafx/scene/AccessibleRole.java ! modules/graphics/src/main/java/javafx/scene/Node.java ! modules/graphics/src/main/java/javafx/scene/Scene.java ! modules/graphics/src/main/java/javafx/scene/text/Text.java ! modules/graphics/src/main/java/javafx/scene/text/TextFlow.java
hg: openjfx/8u-dev/rt: RT-37959: [Accessibility] Review a11y enums
Changeset: c0f091376dbf Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-12 13:46 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/c0f091376dbf RT-37959: [Accessibility] Review a11y enums Remove PAGES and TABS Use ITEM_COUNT and ITEM_AT_INDEX for ListView, Pagination, and TabPane. ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/PaginationSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.java ! modules/controls/src/main/java/javafx/scene/control/ListView.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java ! modules/graphics/src/main/java/javafx/scene/AccessibleAttribute.java ! modules/graphics/src/main/java/javafx/scene/AccessibleRole.java
hg: openjfx/8u-dev/rt: RT-38235: Add -D property to control when we switch text rendering to shape fill
Changeset: 7eccc5a2ad0a Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-08 09:12 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7eccc5a2ad0a RT-38235: Add -D property to control when we switch text rendering to shape fill ! modules/graphics/src/main/java/com/sun/javafx/font/PrismFontFactory.java ! modules/graphics/src/main/java/com/sun/javafx/font/coretext/CTFontStrike.java ! modules/graphics/src/main/java/com/sun/javafx/font/directwrite/DWFontStrike.java ! modules/graphics/src/main/java/com/sun/javafx/font/freetype/FTFontStrike.java
hg: openjfx/8u-dev/rt: RT-38188: [a11y] ToggleButton does not report its selection state
Changeset: 1645366f3d50 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-08-07 09:43 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1645366f3d50 RT-38188: [a11y] ToggleButton does not report its selection state ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: [TOYS] Improve HelloText to test for line/sentence/paragraph
Changeset: 01d4bbc663bf Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-31 10:17 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/01d4bbc663bf [TOYS] Improve HelloText to test for line/sentence/paragraph ! apps/toys/Hello/src/main/java/a11y/HelloText.java
hg: openjfx/8u-dev/rt: [Accessibility] implementing expand and collapse action for treeitem and tabletreeitem on Mac, use Control+Option+\
Changeset: cf703edd10f2 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-30 14:48 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/cf703edd10f2 [Accessibility] implementing expand and collapse action for treeitem and tabletreeitem on Mac, use Control+Option+\ ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java
hg: openjfx/8u-dev/rt: [TOYS] Add labels to HelloText
Changeset: 31062bef761a Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-24 09:54 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/31062bef761a [TOYS] Add labels to HelloText ! apps/toys/Hello/src/main/java/a11y/HelloText.java
hg: openjfx/8u-dev/rt: [Accessible] differentiated between editable and read-only text on Mac.
Changeset: 1b8a19fc48f1 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-24 10:21 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1b8a19fc48f1 [Accessible] differentiated between editable and read-only text on Mac. ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java
hg: openjfx/8u-dev/rt: [Accessible] Fix labeled-by for textfield and textarea on Windows. Tested with Narrator on Win8 and Win7, and JAWS on win8. (note: previous comment in the code was not correct).
Changeset: 4b8d06211312 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-24 10:59 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/4b8d06211312 [Accessible] Fix labeled-by for textfield and textarea on Windows. Tested with Narrator on Win8 and Win7, and JAWS on win8. (note: previous comment in the code was not correct). ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: RT-37925: [Accessibility] Make Spinner accessible
Changeset: 2c22277314de Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-23 15:48 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2c22277314de RT-37925: [Accessibility] Make Spinner accessible ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/SpinnerSkin.java ! modules/controls/src/main/java/javafx/scene/control/Spinner.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/AccessibleRole.java
hg: openjfx/8u-dev/rt: RT-37959: [Accessibility] Review a11y enums
Changeset: 62382252b90a Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-22 09:44 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/62382252b90a RT-37959: [Accessibility] Review a11y enums Part 2: remove SELECTED_CELLS and SELECTED_ROWS, use SELECTED_ITEMS instead ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableRowSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeTableRowSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeTableViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeViewSkin.java ! modules/controls/src/main/java/javafx/scene/control/ListView.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/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/AccessibleAttribute.java
hg: openjfx/8u-dev/rt: [Accessibility] Removing warnings (unused import, raw casts)
Changeset: 47b2d611494a Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-22 11:54 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/47b2d611494a [Accessibility] Removing warnings (unused import, raw casts) ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableRowSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkinBase.java ! modules/controls/src/main/java/javafx/scene/control/TableView.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableView.java
hg: openjfx/8u-dev/rt: RT-37959: [Accessibility] Review a11y enums
Changeset: 3e3de644625d Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-22 15:41 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/3e3de644625d RT-37959: [Accessibility] Review a11y enums Part 3: Removed ADD_TO_SELECTION, REMOVE_FROM_SELECTION, SELECT. Added SET_SELECTED_ITEMS and SET_TEXT_SELECTION ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeTableViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeViewSkin.java ! modules/controls/src/main/java/javafx/scene/control/ListCell.java ! modules/controls/src/main/java/javafx/scene/control/TableCell.java ! modules/controls/src/main/java/javafx/scene/control/TextInputControl.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/TreeTableRow.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/com/sun/glass/ui/win/WinTextRangeProvider.java ! modules/graphics/src/main/java/javafx/scene/AccessibleAction.java ! modules/graphics/src/main/java/javafx/scene/AccessibleRole.java
hg: openjfx/8u-dev/rt: RT-37959: [Accessibility] Review a11y enums
Changeset: 1eaf140df101 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-22 16:25 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1eaf140df101 RT-37959: [Accessibility] Review a11y enums Part 4: Remove SCROLL_INDEX. Add SHOW_ITEM (for ListView, TableView, TreeView, TableTreeView) and SHOW_TEXT_RANGE (for text input controls) ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkinBase.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TextInputControlSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeTableViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeViewSkin.java ! modules/controls/src/main/java/javafx/scene/control/TextInputControl.java ! 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/javafx/scene/AccessibleAction.java
hg: openjfx/8u-dev/rt: RT-37964: [Accessibility] implement a set focus action
Changeset: d114805cda20 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-22 16:52 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d114805cda20 RT-37964: [Accessibility] implement a set focus action Follow-up: implementing REQUEST_FOCUS on ListCell, TableCell, TreeCell, TreeTableCell. Common on Windows ! modules/controls/src/main/java/javafx/scene/control/ListCell.java ! modules/controls/src/main/java/javafx/scene/control/TableCell.java ! modules/controls/src/main/java/javafx/scene/control/TreeCell.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableCell.java
hg: openjfx/8u-dev/rt: RT-37964: [Accessibility] implement a set focus action
Changeset: 163d0f848fe3 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-21 13:53 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/163d0f848fe3 RT-37964: [Accessibility] implement a set focus action ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/PaginationSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.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/AccessibleAction.java ! modules/graphics/src/main/java/javafx/scene/AccessibleRole.java ! modules/graphics/src/main/java/javafx/scene/Node.java
hg: openjfx/8u-dev/rt: RT-37959: [Accessibility] Review a11y enums
Changeset: 2214ba6b2de6 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-21 13:56 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2214ba6b2de6 RT-37959: [Accessibility] Review a11y enums Part 1: remove SELECTED_PAGE and SELECTED_TAB, use FOCUS_ITEM instead ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/PaginationSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.java ! modules/controls/src/main/java/javafx/scene/control/TabPane.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/AccessibleAttribute.java
hg: openjfx/8u-dev/rt: [Accessible] improve description for titlePane (which was group) and page item (which was tab item) similarly to what was done for Mac (+cosmetic changes)
Changeset: 7d0df3525553 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-21 14:42 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7d0df3525553 [Accessible] improve description for titlePane (which was group) and page item (which was tab item) similarly to what was done for Mac (+cosmetic changes) ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/PaginationSkin.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: [Accessible] missing break
Changeset: 78f2a4568178 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-21 15:07 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/78f2a4568178 [Accessible] missing break ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: [Accessible] removing attributes that were just in for documentation, they were incomplete and at times just wrong
Changeset: a37c4730f5bd Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-21 15:10 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a37c4730f5bd [Accessible] removing attributes that were just in for documentation, they were incomplete and at times just wrong ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/MenuBarSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkin.java ! modules/controls/src/main/java/javafx/scene/control/ComboBoxBase.java ! modules/controls/src/main/java/javafx/scene/control/ListView.java ! modules/controls/src/main/java/javafx/scene/control/ScrollPane.java ! modules/controls/src/main/java/javafx/scene/control/TableRow.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
hg: openjfx/8u-dev/rt: [Accessibility] Regression. The content of list items and tree items are being read twice, caused by the accidental removal of a 'return null; ' statement in http://hg.openjdk.j
Changeset: a101d302eb00 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-21 16:52 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a101d302eb00 [Accessibility] Regression. The content of list items and tree items are being read twice, caused by the accidental removal of a 'return null;' statement in http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a002de38e467 ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java
hg: openjfx/8u-dev/rt: [Accessibility] javadoc fixes for AccessibleRole
Changeset: ef2af7e0bf8b Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-17 10:32 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/ef2af7e0bf8b [Accessibility] javadoc fixes for AccessibleRole ! modules/graphics/src/main/java/javafx/scene/AccessibleRole.java
hg: openjfx/8u-dev/rt: RT-36400: improve TreeTableView, first phase: make TreeTableView a TableView
Changeset: e7c5f406443e Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-16 13:07 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e7c5f406443e RT-36400: improve TreeTableView, first phase: make TreeTableView a TableView ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: RT-36400: improve TreeTableView, add expandable support to TreeTableCell
Changeset: 026e6a18af35 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-16 14:07 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/026e6a18af35 RT-36400: improve TreeTableView, add expandable support to TreeTableCell ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: [Accessibility] fix RT-37610, initially applied to TableView, is also needed in TreeTableView
Changeset: d287605a963d Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-16 14:08 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d287605a963d [Accessibility] fix RT-37610, initially applied to TableView, is also needed in TreeTableView ! modules/controls/src/main/java/javafx/scene/control/TreeTableView.java
hg: openjfx/8u-dev/rt: [Accessibility] use EDITABLE for text input controls, verified using JAWS, narrator didn't use it
Changeset: 2bd100a12f7c Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-16 14:31 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2bd100a12f7c [Accessibility] use EDITABLE for text input controls, verified using JAWS, narrator didn't use it ! apps/toys/Hello/src/main/java/a11y/HelloText.java ! modules/controls/src/main/java/javafx/scene/control/TextInputControl.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: [Accessibility] fix NPE in XYChart
Changeset: 283517a41fbf Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-16 20:33 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/283517a41fbf [Accessibility] fix NPE in XYChart ! modules/controls/src/main/java/javafx/scene/chart/XYChart.java
hg: openjfx/8u-dev/rt: RT-37897: [Accessibility] add an 'accessibility on' API
Changeset: c880f2366efc Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-14 13:40 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/c880f2366efc RT-37897: [Accessibility] add an 'accessibility on' API ! modules/graphics/src/main/java/com/sun/javafx/application/PlatformImpl.java ! modules/graphics/src/main/java/javafx/application/Platform.java ! modules/graphics/src/main/java/javafx/scene/Scene.java
hg: openjfx/8u-dev/rt: [toys] make HelloSimpleTreeTableView a bit more interesting.
Changeset: 92be7aaba96f Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-15 16:35 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/92be7aaba96f [toys] make HelloSimpleTreeTableView a bit more interesting. ! apps/toys/Hello/src/main/java/a11y/HelloSimpleTreeTableView.java
hg: openjfx/8u-dev/rt: [Accessibility] cosmetic + use helper method in GetColumnHeaderItems()
Changeset: 18b6955caf3f Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-14 15:14 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/18b6955caf3f [Accessibility] cosmetic + use helper method in GetColumnHeaderItems() ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: 2 new changesets
Changeset: 87c8bb33d62d Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-14 15:34 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/87c8bb33d62d [Accessibility] remove select action from TableRow. For TableView the selection is (item|cell)-based (not row) ! modules/controls/src/main/java/javafx/scene/control/TableRow.java Changeset: 23c8c65acd1c Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-14 16:15 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/23c8c65acd1c [Accessibility] Handle SCROLL_TO_INDEX in the skin so that it is possible to avoid scrolling when the cell is already visible (note the ListView had been fixed previously, this change is extending the same pattern to Table, Tree, TreeTable) ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkinBase.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeViewSkin.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
hg: openjfx/8u-dev/rt: RT-37750: [Accessibility API] add alternate text property.
Changeset: 0cd32ef19c16 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-10 10:10 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/0cd32ef19c16 RT-37750: [Accessibility API] add alternate text property. ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ContextMenuContent.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/LabeledSkinBase.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/MenuBarSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/PaginationSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollBarSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/SliderSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableColumnHeader.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ToolBarSkin.java ! modules/controls/src/main/java/javafx/scene/control/Button.java ! modules/controls/src/main/java/javafx/scene/control/CheckBox.java ! modules/controls/src/main/java/javafx/scene/control/ChoiceBox.java ! modules/controls/src/main/java/javafx/scene/control/ComboBox.java ! modules/controls/src/main/java/javafx/scene/control/Control.java ! modules/controls/src/main/java/javafx/scene/control/DatePicker.java ! modules/controls/src/main/java/javafx/scene/control/Hyperlink.java ! modules/controls/src/main/java/javafx/scene/control/Label.java ! modules/controls/src/main/java/javafx/scene/control/Labeled.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/MenuBar.java ! modules/controls/src/main/java/javafx/scene/control/MenuButton.java ! modules/controls/src/main/java/javafx/scene/control/Pagination.java ! modules/controls/src/main/java/javafx/scene/control/PasswordField.java ! modules/controls/src/main/java/javafx/scene/control/ProgressIndicator.java ! modules/controls/src/main/java/javafx/scene/control/RadioButton.java ! modules/controls/src/main/java/javafx/scene/control/ScrollBar.java ! modules/controls/src/main/java/javafx/scene/control/ScrollPane.java ! modules/controls/src/main/java/javafx/scene/control/Slider.java ! modules/controls/src/main/java/javafx/scene/control/SplitMenuButton.java ! modules/controls/src/main/java/javafx/scene/control/TabPane.java ! modules/controls/src/main/java/javafx/scene/control/TableCell.java ! modules/controls/src/main/java/javafx/scene/control/TableRow.java ! modules/controls/src/main/java/javafx/scene/control/TableView.java ! modules/controls/src/main/java/javafx/scene/control/TextArea.java ! modules/controls/src/main/java/javafx/scene/control/TextField.java ! modules/controls/src/main/java/javafx/scene/control/TextInputControl.java ! modules/controls/src/main/java/javafx/scene/control/TitledPane.java ! modules/controls/src/main/java/javafx/scene/control/ToggleButton.java ! modules/controls/src/main/java/javafx/scene/control/ToolBar.java ! modules/controls/src/main/java/javafx/scene/control/Tooltip.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/TreeTableRow.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableView.java ! modules/controls/src/main/java/javafx/scene/control/TreeView.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 ! modules/graphics/src/main/java/javafx/scene/Parent.java ! modules/graphics/src/main/java/javafx/scene/accessibility/Attribute.java ! modules/graphics/src/main/java/javafx/scene/image/ImageView.java ! modules/graphics/src/main/java/javafx/scene/text/Text.java ! modules/graphics/src/main/java/javafx/scene/text/TextFlow.java
hg: openjfx/8u-dev/rt: [Accessibility] Support API for RT-23916. Added Platform#accessibilityOnProperty(). This property can be used
Changeset: b17558baab5e Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-10 10:56 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b17558baab5e [Accessibility] Support API for RT-23916. Added Platform#accessibilityOnProperty(). This property can be used by Nodes that only should be traversible if accessibility is running, like Charts. Usage example: titleLabel.focusTraversableProperty().bind(Platform.accessibilityOnProperty()); ! modules/graphics/src/main/java/com/sun/javafx/application/PlatformImpl.java ! modules/graphics/src/main/java/javafx/application/Platform.java ! modules/graphics/src/main/java/javafx/scene/Scene.java
Accessibility API
Hi, For those of you concerned with Accessibility or JavaFX API in general. Please subscribe to https://javafx-jira.kenai.com/browse/RT-37846 https://javafx-jira.kenai.com/browse/RT-37749 https://javafx-jira.kenai.com/browse/RT-37750 Regards Felipe
hg: openjfx/8u-dev/rt: RT-37856: [Linux, Font] IllegalArgumentException when trying to open HTMLEditor font name combobox
Changeset: 0539172f0957 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-08 10:06 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/0539172f0957 RT-37856: [Linux, Font] IllegalArgumentException when trying to open HTMLEditor font name combobox ! modules/graphics/src/main/java/com/sun/javafx/font/freetype/FTFontFile.java
hg: openjfx/8u-dev/rt: RT-37809: [Mac Yosemite] Random crash launching jfx app on Mac 10.10 dev prev 2
Changeset: 988caed6e5ac Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-07 21:00 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/988caed6e5ac RT-37809: [Mac Yosemite] Random crash launching jfx app on Mac 10.10 dev prev 2 ! modules/graphics/src/main/native-glass/mac/GlassScreen.m
hg: openjfx/8u-dev/rt: RT-37801: [Text] Hitting an empty Text returns insertion index out of text bounds
Changeset: d205ff5593c2 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-07-03 16:45 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d205ff5593c2 RT-37801: [Text] Hitting an empty Text returns insertion index out of text bounds ! modules/graphics/src/main/java/com/sun/javafx/text/TextRun.java
hg: openjfx/8u-dev/rt: RT-37751: [Accessibility API] remove getAccessible() and the Accessible
Changeset: 97829a1239b6 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-30 14:37 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/97829a1239b6 RT-37751: [Accessibility API] remove getAccessible() and the Accessible + modules/graphics/src/main/java/com/sun/glass/ui/Accessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/Application.java - modules/graphics/src/main/java/com/sun/glass/ui/PlatformAccessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/View.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacApplication.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinApplication.java ! modules/graphics/src/main/java/com/sun/javafx/scene/NodeHelper.java ! modules/graphics/src/main/java/com/sun/javafx/scene/SceneHelper.java ! modules/graphics/src/main/java/com/sun/javafx/tk/TKSceneListener.java ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/GlassViewEventHandler.java ! modules/graphics/src/main/java/javafx/scene/Node.java ! modules/graphics/src/main/java/javafx/scene/Scene.java - modules/graphics/src/main/java/javafx/scene/accessibility/Accessible.java
hg: openjfx/8u-dev/rt: [Accessibility] refactoring getContainer() variations
Changeset: 695cedc5afc1 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-30 16:01 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/695cedc5afc1 [Accessibility] refactoring getContainer() variations ! 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
hg: openjfx/8u-dev/rt: [Accessibility] restricted method visibility
Changeset: e6d9bdf2f4bc Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-30 16:28 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e6d9bdf2f4bc [Accessibility] restricted method visibility ! modules/graphics/src/main/java/com/sun/glass/ui/Accessible.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java
hg: openjfx/8u-dev/rt: RT-37744: [Accessibility] Handle TITLE consistently for Labeled
Changeset: 43e228951ffb Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-27 14:09 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/43e228951ffb RT-37744: [Accessibility] Handle TITLE consistently for Labeled ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/LabeledSkinBase.java ! modules/controls/src/main/java/javafx/scene/control/ListCell.java ! modules/controls/src/main/java/javafx/scene/control/TableCell.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/TreeTableRow.java
hg: openjfx/8u-dev/rt: RT-37704: [Regression, Linux] ArrayIndexOutOfBoundsException when trying to open HTMLEditor font name combobox.
Changeset: d15c87bbefce Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-26 05:10 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d15c87bbefce RT-37704: [Regression, Linux] ArrayIndexOutOfBoundsException when trying to open HTMLEditor font name combobox. ! modules/graphics/src/main/java/com/sun/javafx/font/freetype/FTFontFile.java
hg: openjfx/8u-dev/rt: [Accessibility] Removing DISCLOSURE_NODE role
Changeset: b96e984f4fd5 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-26 11:22 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b96e984f4fd5 [Accessibility] Removing DISCLOSURE_NODE role ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeTableViewSkin.java ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java ! modules/graphics/src/main/java/javafx/scene/accessibility/Role.java
Re: Testing accessibility / sample apps
When in doubt you can always specify -Djavafx.verbose=true and observed the libraries are begin loaded. In Steve’s example you should see something like Loaded /Users/Steve/Documents/jfx-8u20/jfx/rt/build/sdk/rt/lib/libglass.dylib … Felipe On Jun 25, 2014, at 8:51 AM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: While you are there, if the Wiki doesn't already say it (I think it does) then note that this presumes you have removed jfxrt.jar from the jre/lib/ext directory of your JDK. -- Kevin Stephen F Northover wrote: The following line of crap works for me on Windows to run Ensemble: java -cp /Users/Steve/Documents/jfx-8u20/jfx/rt/build/sdk/rt/lib/ext/jfxrt.jar;/Users/Steve/Documents/jfx-8u20/jfx/rt/apps/samples/Ensemble8/dist/Ensemble8.jar ensemble.EnsembleApp I just checked the wiki and it's not documented. I will update it. Steve On 2014-06-25, 11:04 AM, Kevin Rushforth wrote: If you use build/sdk/rt/lib/ext/jfxrt.jar then it will find the corresponding DLLs, but if you use the built class files rather than jfxrt.jar then you are right in that you need to specify -Djava.library.path to point to the native DLLs. -- Kevin Tom Schindl wrote: I think you also need to spec the native-dlls location else there's the chance of a mismatch because the dlls are loaded from the JRE and might not match the java-classes. Tom On 25.06.14 16:51, Kevin Rushforth wrote: I usually add jfxrt.jar to the bootclasspath, but as long as you have removed jfxrt.jar from your JDK, classpath will work, too. -- Kevin Jann Schneider wrote: Hi Felipe! thanks, this are good News :-) Well yesterday i had some issues with the build bc the famous Windows updates Feature screwed things up .. however, i've recently fixed it so i'll try it today. Just another question concerning testing with the build from sources: i guess i can just run the example apps located in openjfx/apps/ ? What would be the proper way to invoke one of them and make sure the proper jfx is loaded? Do i have to add it to the boot cp? Or is it enough to just put it on the classpath? Regards Jann 2014-06-25 7:17 GMT+02:00, Felipe Heidrich felipe.heidr...@oracle.com: Hi Jann, I have re-enabled all the accessibility code in hg.openjdk.java.net/openjfx/8u-dev/rt Notes: I have also released the fix for JAWS (RT-37530). But before testing text edits you will need to add a setting to JAWS, see https://javafx-jira.kenai.com/browse/RT-37609 You still need the -Djavafx.accessible.force=true on Windows 7, but very soon that will not be needed anymore, see: https://javafx-jira.kenai.com/browse/RT-37702 Internally we did virtually all our testing using Narrator and VoiceOver, which are the native screen readers on Windows and MacOSX respectively. I believe you will be the first to try JAWS and NVDA on Windows 7. Let me know how it goes. Regards Felipe On Jun 23, 2014, at 3:50 AM, Jann Schneider jann.schnei...@googlemail.com wrote: Hi Felipe, i tried with the latest available EA build, java -version tells me: java version 1.8.0_20-ea Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b19) Java HotSpot(TM) Client VM (build 25.20-b19, mixed mode, sharing) Also i used Jaws 15 (-.0.9 i think) and as an alternative NVDA 14.2. Hum, not quite sure about the narrator tool: i guess thats the one that shipps with windows? Well i can try this too though i'm not really used to it :) Maybe it's better to just wait until the code is back and test with the current sources.. So we have the same base and know exactly what we expect for the tests. Regards Jann 2014-06-21 5:16 GMT+02:00, Felipe Heidrich felipe.heidr...@oracle.com: Hi Jann, That is great that you got to build JavaFX, it will make much easier to test patches and fixes going forward. That said, assuming that you downloaded jdk1.8.0_20 b19 or less, accessibility should have worked. What is the output of java -version ? Can you try Narrator ? I’ll put the code back early next week, either Monday or Tuesday. You can track the progress here: https://javafx-jira.kenai.com/browse/RT-37536 I’ll email the list when the code is out. Regards, Felipe On Jun 20, 2014, at 4:00 PM, Jann Schneider jann.schnei...@googlemail.com wrote: ok i just rebuild using the 32 bit jdk and this works! $ gradle clean sdk ... BUILD SUCCESSFUL :-) I think i've just installed the 32 bit C++ compilers only. Maybe i missed a setting in the installer of visual studio .. btw. i build with the VS 2010 express (as suggested at the wiki). So i'll wait until the accessibility portion is back in the repo and try with that included then. Thanks for your help so fahr! @Steve: could you please send a short message to the list if the accessibility sources are in the repo again? Regards Jann 2014-06-20 23:50 GMT+02:00, Jann Schneider jann.schnei
hg: openjfx/8u-dev/rt: RT-37702: [Accessibility] enable a11y by default on supported platforms
Changeset: a4b44bda860f Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-25 09:21 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a4b44bda860f RT-37702: [Accessibility] enable a11y by default on supported platforms ! modules/graphics/src/main/java/com/sun/glass/ui/View.java
hg: openjfx/8u-dev/rt: [Accessibility] Change Attribute.ENABLED to Attribute.DISABLED (so match JavaFX name Node#isDisabled())
Changeset: 758e1f790da3 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-25 09:32 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/758e1f790da3 [Accessibility] Change Attribute.ENABLED to Attribute.DISABLED (so match JavaFX name Node#isDisabled()) ! 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 ! modules/graphics/src/main/java/javafx/scene/accessibility/Attribute.java
hg: openjfx/8u-dev/rt: [Accessibility] Change Attribute.ENABLED to Attribute.DISABLED - missed ContextMenuContent.java
Changeset: d74b74fe1442 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-25 09:43 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d74b74fe1442 [Accessibility] Change Attribute.ENABLED to Attribute.DISABLED - missed ContextMenuContent.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ContextMenuContent.java
hg: openjfx/8u-dev/rt: [Accessibility] Rename Roles to use underline where the JavaFX uses camelCase
Changeset: 8656132b02f6 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-25 10:15 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/8656132b02f6 [Accessibility] Rename Roles to use underline where the JavaFX uses camelCase ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ContextMenuContent.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/PaginationSkin.java ! modules/controls/src/main/java/javafx/scene/control/CheckBox.java ! modules/controls/src/main/java/javafx/scene/control/ChoiceBox.java ! modules/controls/src/main/java/javafx/scene/control/ComboBox.java ! modules/controls/src/main/java/javafx/scene/control/ToolBar.java ! modules/controls/src/main/java/javafx/scene/control/TreeTableRow.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/accessibility/Role.java ! modules/graphics/src/main/java/javafx/scene/image/ImageView.java
hg: openjfx/8u-dev/rt: [Accessibility] Replace Attributes.MENU_ITEM_TYPE with Roles RADIO_MENU_ITEM, CHECK_MENU_ITEM, and MENU
Changeset: 85685c1fe33e Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-25 16:09 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/85685c1fe33e [Accessibility] Replace Attributes.MENU_ITEM_TYPE with Roles RADIO_MENU_ITEM, CHECK_MENU_ITEM, and MENU ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ContextMenuContent.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/MenuBarSkin.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/accessibility/Attribute.java ! modules/graphics/src/main/java/javafx/scene/accessibility/Role.java
hg: openjfx/8u-dev/rt: [Accessibility] Follow-up of RT-37609. More bad casts in GlassTextRangeProvider.cpp
Changeset: 32c05f70d24a Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-25 17:00 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/32c05f70d24a [Accessibility] Follow-up of RT-37609. More bad casts in GlassTextRangeProvider.cpp ! modules/graphics/src/main/native-glass/win/GlassTextRangeProvider.cpp
hg: openjfx/8u-dev/rt: RT-37530: [Accessibility] Support JAWS
Changeset: 059dc6af444f Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-24 13:59 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/059dc6af444f RT-37530: [Accessibility] Support JAWS ! modules/graphics/src/main/native-glass/win/ViewContainer.cpp
hg: openjfx/8u-dev/rt: RT-37609: [Accessibility, JAWS] Enhanced text support for JAWS
Changeset: 2785fc0430ae Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-24 14:14 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2785fc0430ae RT-37609: [Accessibility, JAWS] Enhanced text support for JAWS ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java ! modules/graphics/src/main/native-glass/win/GlassAccessible.cpp ! modules/graphics/src/main/native-glass/win/GlassAccessible.h
hg: openjfx/8u-dev/rt: RT-37662: [Accessibility] Define title, description, and help
Changeset: 83ec6c61e0d6 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-24 14:37 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/83ec6c61e0d6 RT-37662: [Accessibility] Define title, description, and help Window changeset to use DESCRIPTION for UIA_LocalizedControlTypePropertyId ! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
hg: openjfx/8u-dev/rt: [Accessibility] Define title, description, and help
Changeset: 40e76d7aedfc Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-24 15:08 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/40e76d7aedfc [Accessibility] Define title, description, and help Rename Attribute.TOOLTIP to HELP ! modules/controls/src/main/java/javafx/scene/control/Control.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/accessibility/Attribute.java
hg: openjfx/8u-dev/rt: RT-37610: [Accessibility, JAWS] Fix TableView
Changeset: 5b4987890bc9 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-24 15:10 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/5b4987890bc9 RT-37610: [Accessibility, JAWS] Fix TableView ! modules/controls/src/main/java/javafx/scene/control/TableView.java
hg: openjfx/8u-dev/rt: RT-37662: [Accessibility] Define title, description, and help
Changeset: 741fdfc2447e Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-24 16:08 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/741fdfc2447e RT-37662: [Accessibility] Define title, description, and help Mac: Redifine DESCRIPTION to AXRoleDescription (as AXDescription) ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java
Re: Testing accessibility / sample apps
Hi Jann, I have re-enabled all the accessibility code in hg.openjdk.java.net/openjfx/8u-dev/rt Notes: I have also released the fix for JAWS (RT-37530). But before testing text edits you will need to add a setting to JAWS, see https://javafx-jira.kenai.com/browse/RT-37609 You still need the -Djavafx.accessible.force=true on Windows 7, but very soon that will not be needed anymore, see: https://javafx-jira.kenai.com/browse/RT-37702 Internally we did virtually all our testing using Narrator and VoiceOver, which are the native screen readers on Windows and MacOSX respectively. I believe you will be the first to try JAWS and NVDA on Windows 7. Let me know how it goes. Regards Felipe On Jun 23, 2014, at 3:50 AM, Jann Schneider jann.schnei...@googlemail.com wrote: Hi Felipe, i tried with the latest available EA build, java -version tells me: java version 1.8.0_20-ea Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b19) Java HotSpot(TM) Client VM (build 25.20-b19, mixed mode, sharing) Also i used Jaws 15 (-.0.9 i think) and as an alternative NVDA 14.2. Hum, not quite sure about the narrator tool: i guess thats the one that shipps with windows? Well i can try this too though i'm not really used to it :) Maybe it's better to just wait until the code is back and test with the current sources.. So we have the same base and know exactly what we expect for the tests. Regards Jann 2014-06-21 5:16 GMT+02:00, Felipe Heidrich felipe.heidr...@oracle.com: Hi Jann, That is great that you got to build JavaFX, it will make much easier to test patches and fixes going forward. That said, assuming that you downloaded jdk1.8.0_20 b19 or less, accessibility should have worked. What is the output of java -version ? Can you try Narrator ? I’ll put the code back early next week, either Monday or Tuesday. You can track the progress here: https://javafx-jira.kenai.com/browse/RT-37536 I’ll email the list when the code is out. Regards, Felipe On Jun 20, 2014, at 4:00 PM, Jann Schneider jann.schnei...@googlemail.com wrote: ok i just rebuild using the 32 bit jdk and this works! $ gradle clean sdk ... BUILD SUCCESSFUL :-) I think i've just installed the 32 bit C++ compilers only. Maybe i missed a setting in the installer of visual studio .. btw. i build with the VS 2010 express (as suggested at the wiki). So i'll wait until the accessibility portion is back in the repo and try with that included then. Thanks for your help so fahr! @Steve: could you please send a short message to the list if the accessibility sources are in the repo again? Regards Jann 2014-06-20 23:50 GMT+02:00, Jann Schneider jann.schnei...@googlemail.com: Yes looks like i have an issue with looking up cl.exe. This was the output when running with --stacktrace: * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':fxpackager:buildJavaPackager'. ... Caused by: org.gradle.api.GradleException: Could not call NativeCompileTask.compile() on task ':fxpackager:buildJavaPackager' ... Caused by: java.util.concurrent.ExecutionException: org.gradle.process.internal.ExecException: A problem occurred starting process 'command 'C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/cl.exe'' ... Caused by: java.io.IOException: Cannot run program C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/cl.exe (in directory D:\jann\sandbox\java\openjfx\modules\fxpackager): CreateProcess error=2, Das System kann die angegebene Datei nicht finden ... Caused by: java.io.IOException: CreateProcess error=2, Das System kann die angegebene Datei nicht finden (file not found) Actually cl.exe is located at: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin - but it looks for ...bin/amd64/cl.exe I've also tried to run the build from the cygwin terminal and as well from the visual studio command prompt where i could call cl.exe directly .. Always the same result. Is there a parameter to specify where theVS compiler and stuff is located? btw. i checked that the %VS100COMNTools% variable is set properly. What else could i check? Thanks in advance :) Jann 2014-06-20 23:30 GMT+02:00, Kevin Rushforth kevin.rushfo...@oracle.com: * What went wrong: Execution failed for task ':fxpackager:buildJavaPackager'. Could not call NativeCompileTask.compile() on task ':fxpackager:buildJavaPackager' When I've seen this in the past it's been related to the compiler install. Do you have VS 2010 SP1 or something else? -- Kevin Jann Schneider wrote: Hi, Well on windows it's always a bit more difficult i guess :-) After setting up my build environment as described on the wiki i first tried $ gradle tasks This works as expected! When running $ gradle sdk or just gradle without any target i get the following error: FAILURE: Build failed with an exception. * What went wrong
hg: openjfx/8u-dev/rt: RT-37536: [Accessibility] Put a11y code back
Changeset: 451301b279ed Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-23 20:04 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/451301b279ed RT-37536: [Accessibility] Put a11y code back ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxPopupControl.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ContextMenuContent.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ContextMenuSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/LabeledSkinBase.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ListViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/MenuBarSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/PaginationSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollBarSkin.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/SliderSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TabPaneSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableColumnHeader.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableRowSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableViewSkinBase.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TextAreaSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TextFieldSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TextInputControlSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ToolBarSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeTableRowSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeTableViewSkin.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TreeViewSkin.java ! modules/controls/src/main/java/javafx/scene/control/Button.java ! modules/controls/src/main/java/javafx/scene/control/ButtonBase.java ! modules/controls/src/main/java/javafx/scene/control/CheckBox.java ! modules/controls/src/main/java/javafx/scene/control/ChoiceBox.java ! modules/controls/src/main/java/javafx/scene/control/ComboBox.java ! modules/controls/src/main/java/javafx/scene/control/ComboBoxBase.java ! modules/controls/src/main/java/javafx/scene/control/Control.java ! modules/controls/src/main/java/javafx/scene/control/DatePicker.java ! modules/controls/src/main/java/javafx/scene/control/Hyperlink.java ! modules/controls/src/main/java/javafx/scene/control/Label.java ! modules/controls/src/main/java/javafx/scene/control/Labeled.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/MenuBar.java ! modules/controls/src/main/java/javafx/scene/control/MenuButton.java ! modules/controls/src/main/java/javafx/scene/control/Pagination.java ! modules/controls/src/main/java/javafx/scene/control/PasswordField.java ! modules/controls/src/main/java/javafx/scene/control/ProgressBar.java ! modules/controls/src/main/java/javafx/scene/control/ProgressIndicator.java ! modules/controls/src/main/java/javafx/scene/control/RadioButton.java ! modules/controls/src/main/java/javafx/scene/control/ScrollBar.java ! modules/controls/src/main/java/javafx/scene/control/ScrollPane.java ! modules/controls/src/main/java/javafx/scene/control/SkinBase.java ! modules/controls/src/main/java/javafx/scene/control/Slider.java ! modules/controls/src/main/java/javafx/scene/control/SplitMenuButton.java ! modules/controls/src/main/java/javafx/scene/control/TabPane.java ! modules/controls/src/main/java/javafx/scene/control/TableCell.java ! modules/controls/src/main/java/javafx/scene/control/TableRow.java ! modules/controls/src/main/java/javafx/scene/control/TableView.java ! modules/controls/src/main/java/javafx/scene/control/TextArea.java ! modules/controls/src/main/java/javafx/scene/control/TextField.java ! modules/controls/src/main/java/javafx/scene/control/TextInputControl.java ! modules/controls/src/main/java/javafx/scene/control/TitledPane.java ! modules/controls/src/main/java/javafx/scene/control/ToggleButton.java ! modules/controls/src/main/java/javafx/scene/control/ToolBar.java ! modules/controls/src/main/java/javafx/scene/control/Tooltip.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/TreeTableRow.java ! modules/controls/src
Re: Testing accessibility / sample apps
into 8u40 on Monday or Tuesday so you'll need to get that release at that time and build it instead when it becomes available. It's good to debug the build process though because it can be painful building from source. Steve On 2014-06-20, 12:43 PM, Jann Schneider wrote: Hi all, @Steven: thx for the links. I'll try to build the openjfx project on the windows 7 notebook and test the sample apps with NVDA then. Today i tried the latest ea of jdk1.8.0_20 and sample apps with nvda 14.2. Unfortunately i was not able to read anything except the window title. I've just installed the jdk, changed my JAVA_HOME and tried to run e.g. the ensemble.jar $ java -jar ensemble.jar -Djavafx.accessible.force=true Well i'll try it again by means of building javafx from source and post my results back to the list. Regards Jann! 2014-06-20 14:46 GMT+02:00, Stephen F Northover steve.x.northo...@oracle.com: Hello Jann! As soon as the 8u40 repos open, the Accessibility code will be put back along with the recent fixes for JAWS. Since OpenJFX (and the JDK) does not have nightly builds, unless you want to wait for an EA build of 8u40 or 9, you will need to get OpenJFX and build it. This is really the best way to work with the team anyway because you can get fixes as they are made. EA builds take a while to come out and there is no substitute for running on the latest code base. Unfortunately due to Microsoft, building OpenJFX is a bit harder on Windows. However, it is doable and the build instructions should be complete. If they are not (and if you hit any problems), please post back to this list. Here are the build instructions: https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX Many committers use an IDE (you don't have to) and OpenJFX is supports the three major IDE vendors: https://wiki.openjdk.java.net/display/OpenJFX/Using+an+IDE Looking forward to working with you, Steve On 2014-06-19, 7:10 PM, Felipe Heidrich wrote: Hi Jann, Unfortunately Linux support is not in the plan for 8u40. Windows 7 is supported and we have recently fixed JAWS support (see https://javafx-jira.kenai.com/browse/RT-37530 and https://javafx-jira.kenai.com/browse/RT-37609). Unfortunately due to the 8u20 to 8u40 transition the code has not being released yet, but soon. The majority of our testing was done using Narrator. That said, I also tested NVDA lastest version on Windows 8 and I didn’t see any major problems. On the Mac we tested with VoiceOver. Regards, Felipe On Jun 19, 2014, at 2:24 PM, Jann Schneider jann.schnei...@googlemail.com wrote: Hello all, As a blind java developer i'm interessted in testing the accessibility of JavaFX and maybe help to find some issues. I've just set up my build environment on my ubuntu 14.04 laptop and checked out the project files as described in the wiki. I could also set it up on a windows 7 with Jaws 15 and NVDa (don't know what the current version is) for comparison.. No i am wondering if there are some examples i could try? Regards Jann
Re: Testing accessibility / sample apps
Hi Jann, Unfortunately Linux support is not in the plan for 8u40. Windows 7 is supported and we have recently fixed JAWS support (see https://javafx-jira.kenai.com/browse/RT-37530 and https://javafx-jira.kenai.com/browse/RT-37609). Unfortunately due to the 8u20 to 8u40 transition the code has not being released yet, but soon. The majority of our testing was done using Narrator. That said, I also tested NVDA lastest version on Windows 8 and I didn’t see any major problems. On the Mac we tested with VoiceOver. Regards, Felipe On Jun 19, 2014, at 2:24 PM, Jann Schneider jann.schnei...@googlemail.com wrote: Hello all, As a blind java developer i'm interessted in testing the accessibility of JavaFX and maybe help to find some issues. I've just set up my build environment on my ubuntu 14.04 laptop and checked out the project files as described in the wiki. I could also set it up on a windows 7 with Jaws 15 and NVDa (don't know what the current version is) for comparison.. No i am wondering if there are some examples i could try? Regards Jann
Re: Testing accessibility / sample apps
Hi all, I have emailed Jann directly earlier today with more information on accessibility, I believe that information can be useful to other users as well. Allow me to shared it: Let me provide some additional information to help you get started: JavaFX is part of JDK and can be download here: https://jdk8.java.net/download.html 8u20 Build b19 is the last build in the 8u20 stream to include accessibility support. Sometime next month, when we start 8u40 builds, accessibility will part of it for good. We don’t have a specific application to test accessibility at the moment, any app using JavaFX native controls should be accessible (at least, the controls themselves). To start you can try the 'JavaFX Demos and Samples’ also available at https://jdk8.java.net/download.html Ensemble8 is a nice app, but itself it is not designed with accessibility in mind (feel free to report bugs agains that too), scroll to the controls section where you can test which control individually. Charts are not accessible at the moment (but it is planned, RT-23916). Supported platforms: Mac 10.9, Windows 7 8. Important: you need to explicitly set -Djavafx.accessible=true before running on Windows 8 and Mac 10.9. For Windows 7 (and Mac 10.8) you must set -Djavafx.accessible.force=true. JAWS support: builds in the 8u20 stream do not support JAWS. It will be fixed for 8u40. See RT-37530. For report bugs use http://javafx-jira.kenai.com/ Project: Runtime Component: Accessibility If you have any questions about accessibility or JavaFX in general please use the mailing list: http://mail.openjdk.java.net/mailman/listinfo/openjfx-dev Lastly, we have a wiki https://wiki.openjdk.java.net/display/OpenJFX/Accessibility+Exploration. It is more of a scratchpad at the moment but it has a lot of good information on it. Felipe On Jun 19, 2014, at 2:24 PM, Jann Schneider jann.schnei...@googlemail.com wrote: Hello all, As a blind java developer i'm interessted in testing the accessibility of JavaFX and maybe help to find some issues. I've just set up my build environment on my ubuntu 14.04 laptop and checked out the project files as described in the wiki. I could also set it up on a windows 7 with Jaws 15 and NVDa (don't know what the current version is) for comparison.. No i am wondering if there are some examples i could try? Regards Jann
please review: RT-36335: [Accessibility] Hide prototype API
Hi, Please review https://javafx-jira.kenai.com/browse/RT-36335 http://cr.openjdk.java.net/~fheidric/RT36335/webrev/ Note: JDK 8u20 Build b18 is the last build in the 8u20 serie to include accessibility. The accessibility code will be put back in the 8u-dev repo after the 8u20 fork, and it will be available again in the first 8u40 build. We don’t have a build schedule for 8u40, but it should start a few weeks after the 8u20 fork. Thanks Felipe
Re: Gradle Scripts
See https://javafx-jira.kenai.com/browse/RT-34388 On May 27, 2014, at 9:29 AM, David Hill david.h...@oracle.com wrote: On 5/27/14, May 27, 12:22 PM, Scott Palmer wrote: The root cause seems to be that I am missing the OS X 10.7 SDK: clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk' But I do have later versions for 10.8 and 10.9. Tweaking buildSrc/mac.gradle so MACOSX_MIN_VERSION is 10.8 allowed me to finally complete a successful build! - I think I haven't tested anything yet.. but at least gradle stopped complaining. When I ran into this, I symlinked MacOSX10.7.sdk to MacOSX10.8.sdk Was told I could set the property MACOSX_MIN_VERSION on the command line, but that got old quick :-) Dave -- David Hill david.h...@oracle.com Java Embedded Development Experience is that marvelous thing that enables you to recognize a mistake when you make it again. -- Franklin P. Jones
review request: RT-36639 [RTL] PasswordField rendering issue when it's highlighted.
Hi Steve, Please review: https://javafx-jira.kenai.com/browse/RT-36639 http://cr.openjdk.java.net/~fheidric/RT36639-MAC/webrev/ http://cr.openjdk.java.net/~fheidric/RT36639-LINUX/webrev/ Thanks Felipe
review request: RT-37148: [Graphics, Text, Canvas] Draw gradient text broken for Canvas.
Hi Jim Please review: https://javafx-jira.kenai.com/browse/RT-37148 http://cr.openjdk.java.net/~fheidric/RT37148/webrev/ Thank you Felipe
review request: RT-35322: [Text] Name of any samples is wrong in Ensemble8
Hi Kevin Please review, http://cr.openjdk.java.net/~fheidric/RT-35322/webrev/ https://javafx-jira.kenai.com/browse/RT-35322 Note, personally I don’t think we need to fix this bug for the milestone release. Felipe
review request: [Text] TextArea cannot handle Chinese space character properly
Hi Steve, Please review: https://javafx-jira.kenai.com/browse/RT-36133 http://cr.openjdk.java.net/~fheidric/RT-36133/webrev/ The fix is to use BreakIterator.getLineInstance() if the text contains CJK characters. this also fixes https://javafx-jira.kenai.com/browse/RT-21878 Thanks Felipe
review request: RT-36794: [Font] Bitmapped font should not be sub-pixel rendered.
Hi Steve, Please review: https://javafx-jira.kenai.com/browse/RT-36794 http://cr.openjdk.java.net/~fheidric/RT-36794/webrev/ Thanks Felipe
Not in the office Tuesday morning
Hello, I just realized I’m scheduled to go with the kid on a school field trip tomorrow morning, thus I’ll be missing our staff meeting. Regards Felipe
review RT-36230: [Accessibility] New accessibility implementation
Hi Kevin and David Please review Jira: https://javafx-jira.kenai.com/browse/RT-36230 Wiki: https://wiki.openjdk.java.net/display/OpenJFX/Accessibility (it has information about the design, test plan, etc) WebRev: http://cr.openjdk.java.net/~fheidric/RT-36230/webrev/ More information about new accessibility work on JavaFX will be send to the list shortly. Thank you Felipe
review: RT-36246: NPE on Node#localToScreen
Hi Martin, Can I get a quick review for https://javafx-jira.kenai.com/browse/RT-36246 The patch is attached to Jira. The accessibility code is affected by this bug. Thank you Felipe