hg: openjfx/8u-dev/rt: RT-38393 [Monocle] Mouse Events stop coming on embedded

2014-09-08 Thread daniel . blaukopf
Changeset: 1d08d9490df0
Author:Daniel Blaukopf 
Date:  2014-09-08 10:51 +0300
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1d08d9490df0

RT-38393 [Monocle] Mouse Events stop coming on embedded
Fixes in modules/graphics/src/main/java/com/sun/glass/ui/monocle/ contributed 
by fheidric

! 
modules/graphics/src/main/java/com/sun/glass/ui/monocle/LinuxInputDeviceRegistry.java
! 
modules/graphics/src/main/java/com/sun/glass/ui/monocle/LinuxStatefulMultiTouchProcessor.java
! tests/system/src/test/java/com/sun/glass/ui/monocle/MultiTouch2Test.java
! 
tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice1.java
! 
tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice2.java
+ 
tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice3.java
+ 
tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDevice4.java
+ 
tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/EGalaxMultiTouchDeviceBase.java
! 
tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/TestTouchDevices.java



Tagging UI control

2014-09-08 Thread Robert Krüger
Hi,

how would one go about implementing (i.e. use which api) a tagging
control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX
or is this already available in an existing extension library?

Is this easily done with a bit of text parsing and CSS magic or as
fiddely as building a rich text editor or does it even make sense to
build this by integrating a web component and using an existing
javascript-based solution (which feels a bit odd)?

Thanks in advance for any opinions/pointers.

Robert


Re: Tagging UI control

2014-09-08 Thread Mike Hearn
I've not encountered one, but building such a thing should be quite
straightforward. You could use CSS to create a text-area like rectangle
with an HBox inside it, and then have a no-border textedit that simply
expands to fill the available space. When the user presses enter you create
an appropriately styled label with the contained text and insert it to the
left of the edit in the hbox. Tweak CSS and spacing and you have a basic
tagging control.

On Mon, Sep 8, 2014 at 10:02 AM, Robert Krüger  wrote:

> Hi,
>
> how would one go about implementing (i.e. use which api) a tagging
> control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX
> or is this already available in an existing extension library?
>
> Is this easily done with a bit of text parsing and CSS magic or as
> fiddely as building a rich text editor or does it even make sense to
> build this by integrating a web component and using an existing
> javascript-based solution (which feels a bit odd)?
>
> Thanks in advance for any opinions/pointers.
>
> Robert
>


Re: Tagging UI control

2014-09-08 Thread Richard Bair
I tried writing one once just using a TextField, but it ended up being very 
difficult. With the TextFlow as a basis instead, it might be easier. You can 
also do it out of a composite of controls as you mention here, depending on the 
user experience you are looking for with the control. I would probably look at 
a few JS/HTML implementations and see what they do, we have the same basic 
rules (scene graph) so the concepts should map pretty well across I expect.

On Sep 8, 2014, at 4:15 AM, Mike Hearn  wrote:

> I've not encountered one, but building such a thing should be quite
> straightforward. You could use CSS to create a text-area like rectangle
> with an HBox inside it, and then have a no-border textedit that simply
> expands to fill the available space. When the user presses enter you create
> an appropriately styled label with the contained text and insert it to the
> left of the edit in the hbox. Tweak CSS and spacing and you have a basic
> tagging control.
> 
> On Mon, Sep 8, 2014 at 10:02 AM, Robert Krüger  wrote:
> 
>> Hi,
>> 
>> how would one go about implementing (i.e. use which api) a tagging
>> control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX
>> or is this already available in an existing extension library?
>> 
>> Is this easily done with a bit of text parsing and CSS magic or as
>> fiddely as building a rich text editor or does it even make sense to
>> build this by integrating a web component and using an existing
>> javascript-based solution (which feels a bit odd)?
>> 
>> Thanks in advance for any opinions/pointers.
>> 
>> Robert
>> 



Re: JAVAFX Service creates new threads

2014-09-08 Thread Kevin Rushforth

You're welcome.

-- Kevin


Francisco Javier Godino wrote:

Hi Kevin:

It was resolved with your help.
I included this lines:

ExecutorService executorService = Executors.newSingleThreadExecutor();

CapturadoraDeImagenService.getInstance().setExecutor(executorService);

Thanks a lot!

Francisco Javier





On Saturday, September 6, 2014 2:32 PM, Kevin Rushforth 
 wrote:



This is documented in the API docs for the Service class:

The Service by default uses a thread pool Executor with some
unspecified default or maximum thread pool size. This is done so
that naive code will not completely swamp the system by creating
thousands of Threads.


You need to specify your own Executor if you want to change this 
default behavior.


-- Kevin



Francisco Javier Godino wrote:

Hello:

I have a issue with a Service. 
I developed thisService. 
It's an extension of Service:



public class MostrarImagenesService extends Service{
...

@Override

protected Task createTask() {
return new Task() {

@Override
protected Object call() throws Exception {

..

return null;

}

}



This is the way that I invoque the service:


switch (MostrarImagenesService.getInstance().getState()) {

case READY:
MostrarImagenesService.getInstance().start();
   


break;

case SUCCEEDED:


MostrarImagenesService.getInstance().restart();

break;


default:

log.info("GrabadoraDeImagenesService State: Grabadora en 
Funcionamiento");

}



I see this in the log:

[Thread-10] INFO  servicios.MostrarImagenesService  - MostrarImagenesService: 
call INICIO trama:00552

the second time that i invoque the service:

[Thread-14] INFO  servicios.MostrarImagenesService  - MostrarImagenesService: 
call INICIO trama:00553

It is running over a new Thread (Thread 14).



How I can avoid creating new thread?
This service will be constantly invoked.
Can this affect the VM?

Thanks
  





8u-dev unlocked -- M2 rampdown in effect

2014-09-08 Thread Kevin Rushforth
The 8u-dev repo is unlocked following this week's testing. As a 
reminder, milestone M2 rampdown is in effect this week (the usual 
exceptions apply for test, doc, and IDE changes).


See https://wiki.openjdk.java.net/display/OpenJFX/Sanity+Testing for 
weekly freeze and milestone rampdown rules.


-- Kevin



hg: openjfx/8u-dev/rt: RT-38454: [Accessibility] HelloPagination gets RuntimeException: Accessbility requested for node not on a scene

2014-09-08 Thread felipe . heidrich
Changeset: 6e4d117f2c7a
Author:Felipe Heidrich 
Date:  2014-09-08 14:18 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/6e4d117f2c7a

RT-38454: [Accessibility] HelloPagination gets RuntimeException: Accessbility 
requested for node not on a scene

! modules/graphics/src/main/java/com/sun/glass/ui/Accessible.java
! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java
! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
! modules/graphics/src/main/java/javafx/scene/Node.java



Re: Tagging UI control

2014-09-08 Thread Jonathan Giles
ControlsFX has a CustomTextField component that allows for nodes to be 
placed on the left / right of a normal TextField, without overlapping 
the text. I would probably use that internally along with some custom 
code to render the individual tags in an HBox on the left.


-- Jonathan

On 8/09/2014 8:02 p.m., Robert Krüger wrote:

Hi,

how would one go about implementing (i.e. use which api) a tagging
control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX
or is this already available in an existing extension library?

Is this easily done with a bit of text parsing and CSS magic or as
fiddely as building a rich text editor or does it even make sense to
build this by integrating a web component and using an existing
javascript-based solution (which feels a bit odd)?

Thanks in advance for any opinions/pointers.

Robert




Code Review Request For RT-38555: Shader compile failure with PickTest3D on i.MX6

2014-09-08 Thread Chien Yang

Hi Kevin and Dave,

Please review my proposed fix:
https://javafx-jira.kenai.com/browse/RT-38555

Thanks,
- Chien


hg: openjfx/8u/rt: 56 new changesets

2014-09-08 Thread kevin . rushforth
Changeset: 64c45eaad799
Author:eric.le.ponner 
Date:  2014-09-02 12:53 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u/rt/rev/64c45eaad799

[SCENEBUILDER] added FXOMObject.collectReferences() method (with 'scope' 
parameter).

! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMCollection.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMInstance.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMIntrinsic.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMObject.java

Changeset: b798513fd328
Author:eric.le.ponner 
Date:  2014-09-02 12:56 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u/rt/rev/b798513fd328

[SCENEBUILDER] AbstractDropTarget subclasses and edit jobs now uses 
RemoveObjectJob in place of DeleteObjectJob.
DeleteObjectJob semantic is going to change and it will be reserved to delete 
command only.

! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/AccessoryDropTarget.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/ContainerXYDropTarget.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/ContainerZDropTarget.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/drag/target/GridPaneDropTarget.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/TrimSelectionJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveColumnJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/gridpane/MoveRowJob.java

Changeset: 92121f1d5ae1
Author:eric.le.ponner 
Date:  2014-09-02 13:02 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u/rt/rev/92121f1d5ae1

[SCENEBUILDER] Second step for DTL-6774 implementation.
Delete command is now reference aware:
- DeleteObjectJob now relies on ObjectDeleter
- DeleteObjectSelection no longer needs to invoke 
AdjustAllToggleGroupsJob

! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/DeleteObjectSelectionJob.java
+ 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/reference/ObjectDeleter.java

Changeset: a0da8fd3717c
Author:eric.le.ponner 
Date:  2014-09-02 13:04 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u/rt/rev/a0da8fd3717c

[SCENEBUILDER] Debug menu now displays sub jobs attached to UpdateReferencesJob.

! 
apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/DebugMenuController.java

Changeset: 1e20da46a3c7
Author:eric.le.pon...@oracle.com
Date:  2014-09-02 14:19 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u/rt/rev/1e20da46a3c7

[SCENEBUILDER] Removed FXOMObject.lookupFirstReference() (no longer used).

! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMCollection.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMInstance.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMIntrinsic.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/fxom/FXOMObject.java

Changeset: 043cd5a12fd9
Author:eric.le.pon...@oracle.com
Date:  2014-09-02 20:05 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u/rt/rev/043cd5a12fd9

[SCENEBUILDER] merge (no conflict).


Changeset: f98785bfc2f9
Author:Felipe Heidrich 
Date:  2014-09-02 11:20 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u/rt/rev/f98785bfc2f9

[Accessibility] Reduce method/field visibility

! modules/graphics/src/main/java/com/sun/glass/ui/Accessible.java
! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java
! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacVariant.java

Changeset: 397bbdd03f90
Author:Felipe Heidrich 
Date:  2014-09-02 13:24 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u/rt/rev/397bbdd03f90

[Accessibility] Reduce method/field visibility

! modules/graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java
! modules/graphics/src/main/java/com/sun/glass/ui/win/WinTextRangeProvider.java
! modules/graphics/src/main/java/com/sun/glass/ui/win/WinVariant.java

Changeset: e118f2891b38
Author:jgiles
Date:  2014-09-02 15:32 +1200
URL:   http://hg.openjdk.java.net/openjfx/8u/rt/rev/e118f2891b38

[DOC ONLY] fix typos in ButtonType javadoc

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

Changeset: 258d08a27dc0
Author:jgiles
Date:  2014-09-03 12:12 +1200
URL:   http://hg.openjdk.java.net/openjfx/8u/rt/rev/258d08a27dc0

RT-38464

hg: openjfx/8u-dev/rt: Fix to RT-38555: Shader compile failure with PickTest3D on i.MX6

2014-09-08 Thread chien . yang
Changeset: 3abef7f2f13f
Author:Chien Yang 
Date:  2014-09-08 15:47 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/3abef7f2f13f

Fix to RT-38555: Shader compile failure with PickTest3D on i.MX6
Reviewed by kcr

! modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java



hg: openjfx/8u-dev/rt: Fix RT-36205: Resource warnings while printing

2014-09-08 Thread james . graham
Changeset: 65b4034a7da1
Author:flar 
Date:  2014-09-08 15:58 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/65b4034a7da1

Fix RT-36205: Resource warnings while printing
Reviewed by: kcr, prr

! 
modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PresentingPainter.java
! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java
! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/UploadingPainter.java
! modules/graphics/src/main/java/com/sun/prism/impl/BaseResourcePool.java
! modules/graphics/src/main/java/com/sun/prism/impl/ManagedResource.java
! modules/graphics/src/main/java/com/sun/prism/impl/ResourcePool.java
! modules/graphics/src/main/java/com/sun/prism/j2d/print/J2DPrinterJob.java



hg: openjfx/8u-dev/rt: Redo fix to RT-38555: Shader compile failure with PickTest3D on i.MX6

2014-09-08 Thread chien . yang
Changeset: d7ac4b8e6371
Author:Chien Yang 
Date:  2014-09-08 16:57 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d7ac4b8e6371

Redo fix to RT-38555: Shader compile failure with PickTest3D on i.MX6
Reviewed by kcr

! modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java



Re: Tagging UI control

2014-09-08 Thread Robert Krüger
Thanks everyone for your suggestions. I will probably start playing
around with the TextFlow approach as I have to make another similar
control for variable substitution in a text that needs typing to be
possible in multiple places and I may be able to implement both using
one approach.

On Mon, Sep 8, 2014 at 11:32 PM, Jonathan Giles
 wrote:
> ControlsFX has a CustomTextField component that allows for nodes to be
> placed on the left / right of a normal TextField, without overlapping the
> text. I would probably use that internally along with some custom code to
> render the individual tags in an HBox on the left.
>
> -- Jonathan
>
>
> On 8/09/2014 8:02 p.m., Robert Krüger wrote:
>>
>> Hi,
>>
>> how would one go about implementing (i.e. use which api) a tagging
>> control (e.g. like http://xoxco.com/projects/code/tagsinput/) in JFX
>> or is this already available in an existing extension library?
>>
>> Is this easily done with a bit of text parsing and CSS magic or as
>> fiddely as building a rich text editor or does it even make sense to
>> build this by integrating a web component and using an existing
>> javascript-based solution (which feels a bit odd)?
>>
>> Thanks in advance for any opinions/pointers.
>>
>> Robert
>
>



-- 
Robert Krüger
Managing Partner
Lesspain GmbH & Co. KG

www.lesspain-software.com


hg: openjfx/8u-dev/rt: RT-38288 [DatePicker] Does not change to new selected value if modal window is shown in DatePicker-action

2014-09-08 Thread martin . sladecek
Changeset: 965623d2f60c
Author:Martin Sladecek 
Date:  2014-09-09 08:38 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/965623d2f60c

RT-38288 [DatePicker] Does not change to new selected value if modal window is 
shown in DatePicker-action
Reviewed by: jgiles

! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ColorPickerSkin.java
! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ComboBoxListViewSkin.java
! 
modules/controls/src/main/java/com/sun/javafx/scene/control/skin/DatePickerSkin.java
! modules/controls/src/main/java/javafx/scene/control/ColorPicker.java
! modules/controls/src/main/java/javafx/scene/control/ComboBoxBase.java
! modules/controls/src/test/java/javafx/scene/control/ComboBoxTest.java



hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6860 : Copy / Paste is broken

2014-09-08 Thread sandra . lions-piron
Changeset: 15709eaf63bb
Author:slions
Date:  2014-09-09 08:51 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/15709eaf63bb

[SCENEBUILDER] Fix DTL-6860 :  Copy / Paste is broken

! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/CutSelectionJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InlineDocumentJob.java
+ 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/InlineSelectionJob.java



hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6862 : Arrange commands used with multi-selection have degraded since 1.1

2014-09-08 Thread sandra . lions-piron
Changeset: 41a343a71f48
Author:slions
Date:  2014-09-09 08:58 +0200
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/41a343a71f48

[SCENEBUILDER] Fix DTL-6862 : Arrange commands used with multi-selection have 
degraded since 1.1

! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendBackwardJob.java
! 
apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/SendToBackJob.java