[jira] [Updated] (NETBEANS-2455) Splash screens for development version

2019-05-04 Thread Antonio Vieiro (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-2455:
-
Attachment: apache-netbeans-splash.svg
apache-netbeans-splash.png

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
> Attachments: apache-netbeans-splash.png, apache-netbeans-splash.svg
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] branch master updated (982816a -> 51db7e1)

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git.


from 982816a  Avoiding additional references to incubator
 new 51a5e8f  [maven-release-plugin] prepare release release-1.6.1
 new 51db7e1  [maven-release-plugin] prepare for next development iteration

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] 02/02: [maven-release-plugin] prepare for next development iteration

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit 51db7e140628c34c91030aa39df948f30c17211b
Author: Jaroslav Tulach 
AuthorDate: Sun May 5 07:49:22 2019 +0200

[maven-release-plugin] prepare for next development iteration
---
 boot-agent-test/pom.xml | 2 +-
 boot-fx/pom.xml | 4 ++--
 boot-script/pom.xml | 4 ++--
 boot/pom.xml| 4 ++--
 context/pom.xml | 4 ++--
 equinox-agentclass-hook/pom.xml | 2 +-
 geo/pom.xml | 4 ++--
 html4j-maven-plugin/pom.xml | 4 ++--
 json-tck/pom.xml| 6 +++---
 json/pom.xml| 4 ++--
 ko-felix-test/pom.xml   | 2 +-
 ko-osgi-test/pom.xml| 2 +-
 ko-ws-tyrus/pom.xml | 4 ++--
 ko4j/pom.xml| 4 ++--
 pom.xml | 4 ++--
 sound/pom.xml   | 4 ++--
 xhr4j/pom.xml   | 4 ++--
 17 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml
index c539b5a..d070c90 100644
--- a/boot-agent-test/pom.xml
+++ b/boot-agent-test/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
 
 boot-agent-test
 jar
diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml
index 4ee053e..d095f04 100644
--- a/boot-fx/pom.xml
+++ b/boot-fx/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.boot.fx
-  1.6.1
+  2.0-SNAPSHOT
   FX WebView Bootstrap
   bundle
   http://maven.apache.org
diff --git a/boot-script/pom.xml b/boot-script/pom.xml
index 8b699ad..5a16110 100644
--- a/boot-script/pom.xml
+++ b/boot-script/pom.xml
@@ -24,11 +24,11 @@
 
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
 
 Presenter via javax.script
 net.java.html.boot.script
-1.6.1
+2.0-SNAPSHOT
 bundle
 
 none
diff --git a/boot/pom.xml b/boot/pom.xml
index df126b1..59fc227 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.boot
-  1.6.1
+  2.0-SNAPSHOT
   bundle
   Browser Bootstrap
   http://maven.apache.org
diff --git a/context/pom.xml b/context/pom.xml
index fea5670..1f1cc29 100644
--- a/context/pom.xml
+++ b/context/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html
-  1.6.1
+  2.0-SNAPSHOT
   bundle
   HTML Context
   http://maven.apache.org
diff --git a/equinox-agentclass-hook/pom.xml b/equinox-agentclass-hook/pom.xml
index ba87d41..9522247 100644
--- a/equinox-agentclass-hook/pom.xml
+++ b/equinox-agentclass-hook/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
 
 AgentClass Hook for Equinox
 equinox-agentclass-hook
diff --git a/geo/pom.xml b/geo/pom.xml
index e201871..928ece3 100644
--- a/geo/pom.xml
+++ b/geo/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.geo
-  1.6.1
+  2.0-SNAPSHOT
   bundle
   Geolocation API
   http://maven.apache.org
diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml
index 0b4baca..491cb09 100644
--- a/html4j-maven-plugin/pom.xml
+++ b/html4j-maven-plugin/pom.xml
@@ -24,12 +24,12 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   maven-plugin
   org.netbeans.html
   html4j-maven-plugin
-  1.6.1
+  2.0-SNAPSHOT
   Html for Java Maven Plugin
   http://maven.apache.org
   Maven plugin to post process the classes with @JavaScriptBody 
annotations
diff --git a/json-tck/pom.xml b/json-tck/pom.xml
index bdbe185..20e5612 100644
--- a/json-tck/pom.xml
+++ b/json-tck/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.json.tck
-  1.6.1
+  2.0-SNAPSHOT
   bundle
   HTML for Java TCK
   http://maven.apache.org
@@ -70,7 +70,7 @@
 
   org.netbeans.html
   net.java.html.json
-  1.6.1
+  2.0-SNAPSHOT
   jar
 
 
diff --git a/json/pom.xml b/json/pom.xml
index 5810b1d..0c84eac 100644
--- a/json/pom.xml
+++ b/json/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.json
-  1.6.1
+  2.0-SNAPSHOT
   bundle
   JSON Model in Java
   http://maven.apache.org
diff --git a/ko-felix-test/pom.xml b/ko-felix-test/pom.xml
index ca1f155..6f2a9cd 100644
--- a/ko-felix-test/pom.xml
+++ b/ko-felix-test/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
 
 KO Tests in 

[netbeans-html4j] 01/02: [maven-release-plugin] prepare release release-1.6.1

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit 51a5e8f616e9a2bc9c709232b97f6b674f33b65c
Author: Jaroslav Tulach 
AuthorDate: Sun May 5 07:49:12 2019 +0200

[maven-release-plugin] prepare release release-1.6.1
---
 boot-agent-test/pom.xml | 2 +-
 boot-fx/pom.xml | 4 ++--
 boot-script/pom.xml | 4 ++--
 boot/pom.xml| 4 ++--
 context/pom.xml | 4 ++--
 equinox-agentclass-hook/pom.xml | 2 +-
 geo/pom.xml | 4 ++--
 html4j-maven-plugin/pom.xml | 4 ++--
 json-tck/pom.xml| 6 +++---
 json/pom.xml| 4 ++--
 ko-felix-test/pom.xml   | 2 +-
 ko-osgi-test/pom.xml| 2 +-
 ko-ws-tyrus/pom.xml | 4 ++--
 ko4j/pom.xml| 4 ++--
 pom.xml | 4 ++--
 sound/pom.xml   | 4 ++--
 xhr4j/pom.xml   | 4 ++--
 17 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml
index d070c90..c539b5a 100644
--- a/boot-agent-test/pom.xml
+++ b/boot-agent-test/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
 
 boot-agent-test
 jar
diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml
index d095f04..4ee053e 100644
--- a/boot-fx/pom.xml
+++ b/boot-fx/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html.boot.fx
-  2.0-SNAPSHOT
+  1.6.1
   FX WebView Bootstrap
   bundle
   http://maven.apache.org
diff --git a/boot-script/pom.xml b/boot-script/pom.xml
index 5a16110..8b699ad 100644
--- a/boot-script/pom.xml
+++ b/boot-script/pom.xml
@@ -24,11 +24,11 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
 
 Presenter via javax.script
 net.java.html.boot.script
-2.0-SNAPSHOT
+1.6.1
 bundle
 
 none
diff --git a/boot/pom.xml b/boot/pom.xml
index 59fc227..df126b1 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html.boot
-  2.0-SNAPSHOT
+  1.6.1
   bundle
   Browser Bootstrap
   http://maven.apache.org
diff --git a/context/pom.xml b/context/pom.xml
index 1f1cc29..fea5670 100644
--- a/context/pom.xml
+++ b/context/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html
-  2.0-SNAPSHOT
+  1.6.1
   bundle
   HTML Context
   http://maven.apache.org
diff --git a/equinox-agentclass-hook/pom.xml b/equinox-agentclass-hook/pom.xml
index 9522247..ba87d41 100644
--- a/equinox-agentclass-hook/pom.xml
+++ b/equinox-agentclass-hook/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
 
 AgentClass Hook for Equinox
 equinox-agentclass-hook
diff --git a/geo/pom.xml b/geo/pom.xml
index 928ece3..e201871 100644
--- a/geo/pom.xml
+++ b/geo/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html.geo
-  2.0-SNAPSHOT
+  1.6.1
   bundle
   Geolocation API
   http://maven.apache.org
diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml
index 491cb09..0b4baca 100644
--- a/html4j-maven-plugin/pom.xml
+++ b/html4j-maven-plugin/pom.xml
@@ -24,12 +24,12 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   maven-plugin
   org.netbeans.html
   html4j-maven-plugin
-  2.0-SNAPSHOT
+  1.6.1
   Html for Java Maven Plugin
   http://maven.apache.org
   Maven plugin to post process the classes with @JavaScriptBody 
annotations
diff --git a/json-tck/pom.xml b/json-tck/pom.xml
index 20e5612..bdbe185 100644
--- a/json-tck/pom.xml
+++ b/json-tck/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html.json.tck
-  2.0-SNAPSHOT
+  1.6.1
   bundle
   HTML for Java TCK
   http://maven.apache.org
@@ -70,7 +70,7 @@
 
   org.netbeans.html
   net.java.html.json
-  2.0-SNAPSHOT
+  1.6.1
   jar
 
 
diff --git a/json/pom.xml b/json/pom.xml
index 0c84eac..5810b1d 100644
--- a/json/pom.xml
+++ b/json/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html.json
-  2.0-SNAPSHOT
+  1.6.1
   bundle
   JSON Model in Java
   http://maven.apache.org
diff --git a/ko-felix-test/pom.xml b/ko-felix-test/pom.xml
index 6f2a9cd..ca1f155 100644
--- a/ko-felix-test/pom.xml
+++ b/ko-felix-test/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
 
 KO Tests in Felix 

[netbeans-html4j] annotated tag release-1.6.1 deleted (was cbd0d39)

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to annotated tag release-1.6.1
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git.


*** WARNING: tag release-1.6.1 was deleted! ***

   tag was  cbd0d39

The revisions that were on this annotated tag are still contained in
other references; therefore, this change does not discard any commits
from the repository.


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] branch master updated: Avoiding additional references to incubator

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git


The following commit(s) were added to refs/heads/master by this push:
 new 982816a  Avoiding additional references to incubator
982816a is described below

commit 982816a810e6a2839dc04b0db6d88a70ccb0f195
Author: Jaroslav Tulach 
AuthorDate: Sun May 5 07:41:39 2019 +0200

Avoiding additional references to incubator
---
 pom.xml| 7 +++
 src/main/javadoc/overview.html | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index a2d8563..ac35b02 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,9 +75,9 @@
   http://apache.org
   
   
-  
scm:git:https://gitbox.apache.org/repos/asf//incubator-netbeans-html4j.git
-  
scm:git:https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git
-  
https://github.com/apache/incubator-netbeans-html4j/tree/${project.scm.tag}
+  
scm:git:https://gitbox.apache.org/repos/asf/netbeans-html4j.git
+  
scm:git:https://gitbox.apache.org/repos/asf/netbeans-html4j.git
+  
https://github.com/apache/netbeans-html4j/tree/${project.scm.tag}
   master
   
   
@@ -223,7 +223,6 @@ 
org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.
 
 
 
org.apache:apache-jar-resource-bundle:1.4
-
org.apache:apache-incubator-disclaimer-resource-bundle:1.1
 
 org.netbeans.html
 
diff --git a/src/main/javadoc/overview.html b/src/main/javadoc/overview.html
index 02c84c8..80802c6 100644
--- a/src/main/javadoc/overview.html
+++ b/src/main/javadoc/overview.html
@@ -199,7 +199,7 @@ $ mvn -f client/pom.xml process-classes exec:exec
 
 The project has been donated to http://apache.org;>Apache Foundation
 and the code is now hosted in the
-http://github.com/apache/netbeans-html4j;>incubator repository
+http://github.com/apache/netbeans-html4j;>repository
 along other Apache incubating projects. Contribute to the project 
by forking its
 http://github.com/apache/netbeans-html4j;>GitHub repository.
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] annotated tag release-1.6.1 created (now cbd0d39)

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to annotated tag release-1.6.1
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git.


  at cbd0d39  (tag)
 tagging 6671dfd2a10f6306713e760cf35daa1a26102116 (commit)
  by Jaroslav Tulach
  on Sun May 5 07:16:42 2019 +0200

- Log -
[maven-release-plugin]  copy for tag release-1.6.1
---

This annotated tag includes the following new commits:

 new 6671dfd  [maven-release-plugin] prepare release release-1.6.1

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] branch master updated (353dacb -> 38f7421)

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git.


from 353dacb  Presenter can be null
 new 6671dfd  [maven-release-plugin] prepare release release-1.6.1
 new 38f7421  [maven-release-plugin] prepare for next development iteration

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] 01/02: [maven-release-plugin] prepare release release-1.6.1

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit 6671dfd2a10f6306713e760cf35daa1a26102116
Author: Jaroslav Tulach 
AuthorDate: Sun May 5 07:16:32 2019 +0200

[maven-release-plugin] prepare release release-1.6.1
---
 boot-agent-test/pom.xml | 2 +-
 boot-fx/pom.xml | 4 ++--
 boot-script/pom.xml | 4 ++--
 boot/pom.xml| 4 ++--
 context/pom.xml | 4 ++--
 equinox-agentclass-hook/pom.xml | 2 +-
 geo/pom.xml | 4 ++--
 html4j-maven-plugin/pom.xml | 4 ++--
 json-tck/pom.xml| 6 +++---
 json/pom.xml| 4 ++--
 ko-felix-test/pom.xml   | 2 +-
 ko-osgi-test/pom.xml| 2 +-
 ko-ws-tyrus/pom.xml | 4 ++--
 ko4j/pom.xml| 4 ++--
 pom.xml | 4 ++--
 sound/pom.xml   | 4 ++--
 xhr4j/pom.xml   | 4 ++--
 17 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml
index d070c90..c539b5a 100644
--- a/boot-agent-test/pom.xml
+++ b/boot-agent-test/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
 
 boot-agent-test
 jar
diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml
index d095f04..4ee053e 100644
--- a/boot-fx/pom.xml
+++ b/boot-fx/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html.boot.fx
-  2.0-SNAPSHOT
+  1.6.1
   FX WebView Bootstrap
   bundle
   http://maven.apache.org
diff --git a/boot-script/pom.xml b/boot-script/pom.xml
index 5a16110..8b699ad 100644
--- a/boot-script/pom.xml
+++ b/boot-script/pom.xml
@@ -24,11 +24,11 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
 
 Presenter via javax.script
 net.java.html.boot.script
-2.0-SNAPSHOT
+1.6.1
 bundle
 
 none
diff --git a/boot/pom.xml b/boot/pom.xml
index 59fc227..df126b1 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html.boot
-  2.0-SNAPSHOT
+  1.6.1
   bundle
   Browser Bootstrap
   http://maven.apache.org
diff --git a/context/pom.xml b/context/pom.xml
index 1f1cc29..fea5670 100644
--- a/context/pom.xml
+++ b/context/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html
-  2.0-SNAPSHOT
+  1.6.1
   bundle
   HTML Context
   http://maven.apache.org
diff --git a/equinox-agentclass-hook/pom.xml b/equinox-agentclass-hook/pom.xml
index 9522247..ba87d41 100644
--- a/equinox-agentclass-hook/pom.xml
+++ b/equinox-agentclass-hook/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
 
 AgentClass Hook for Equinox
 equinox-agentclass-hook
diff --git a/geo/pom.xml b/geo/pom.xml
index 928ece3..e201871 100644
--- a/geo/pom.xml
+++ b/geo/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html.geo
-  2.0-SNAPSHOT
+  1.6.1
   bundle
   Geolocation API
   http://maven.apache.org
diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml
index 491cb09..0b4baca 100644
--- a/html4j-maven-plugin/pom.xml
+++ b/html4j-maven-plugin/pom.xml
@@ -24,12 +24,12 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   maven-plugin
   org.netbeans.html
   html4j-maven-plugin
-  2.0-SNAPSHOT
+  1.6.1
   Html for Java Maven Plugin
   http://maven.apache.org
   Maven plugin to post process the classes with @JavaScriptBody 
annotations
diff --git a/json-tck/pom.xml b/json-tck/pom.xml
index 20e5612..bdbe185 100644
--- a/json-tck/pom.xml
+++ b/json-tck/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html.json.tck
-  2.0-SNAPSHOT
+  1.6.1
   bundle
   HTML for Java TCK
   http://maven.apache.org
@@ -70,7 +70,7 @@
 
   org.netbeans.html
   net.java.html.json
-  2.0-SNAPSHOT
+  1.6.1
   jar
 
 
diff --git a/json/pom.xml b/json/pom.xml
index 0c84eac..5810b1d 100644
--- a/json/pom.xml
+++ b/json/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
   
   org.netbeans.html
   net.java.html.json
-  2.0-SNAPSHOT
+  1.6.1
   bundle
   JSON Model in Java
   http://maven.apache.org
diff --git a/ko-felix-test/pom.xml b/ko-felix-test/pom.xml
index 6f2a9cd..ca1f155 100644
--- a/ko-felix-test/pom.xml
+++ b/ko-felix-test/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.6.1
 
 KO Tests in Felix 

[netbeans-html4j] 02/02: [maven-release-plugin] prepare for next development iteration

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit 38f7421a7ffd7e364b8b96b5a8f2324d27de069f
Author: Jaroslav Tulach 
AuthorDate: Sun May 5 07:16:42 2019 +0200

[maven-release-plugin] prepare for next development iteration
---
 boot-agent-test/pom.xml | 2 +-
 boot-fx/pom.xml | 4 ++--
 boot-script/pom.xml | 4 ++--
 boot/pom.xml| 4 ++--
 context/pom.xml | 4 ++--
 equinox-agentclass-hook/pom.xml | 2 +-
 geo/pom.xml | 4 ++--
 html4j-maven-plugin/pom.xml | 4 ++--
 json-tck/pom.xml| 6 +++---
 json/pom.xml| 4 ++--
 ko-felix-test/pom.xml   | 2 +-
 ko-osgi-test/pom.xml| 2 +-
 ko-ws-tyrus/pom.xml | 4 ++--
 ko4j/pom.xml| 4 ++--
 pom.xml | 4 ++--
 sound/pom.xml   | 4 ++--
 xhr4j/pom.xml   | 4 ++--
 17 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml
index c539b5a..d070c90 100644
--- a/boot-agent-test/pom.xml
+++ b/boot-agent-test/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
 
 boot-agent-test
 jar
diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml
index 4ee053e..d095f04 100644
--- a/boot-fx/pom.xml
+++ b/boot-fx/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.boot.fx
-  1.6.1
+  2.0-SNAPSHOT
   FX WebView Bootstrap
   bundle
   http://maven.apache.org
diff --git a/boot-script/pom.xml b/boot-script/pom.xml
index 8b699ad..5a16110 100644
--- a/boot-script/pom.xml
+++ b/boot-script/pom.xml
@@ -24,11 +24,11 @@
 
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
 
 Presenter via javax.script
 net.java.html.boot.script
-1.6.1
+2.0-SNAPSHOT
 bundle
 
 none
diff --git a/boot/pom.xml b/boot/pom.xml
index df126b1..59fc227 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.boot
-  1.6.1
+  2.0-SNAPSHOT
   bundle
   Browser Bootstrap
   http://maven.apache.org
diff --git a/context/pom.xml b/context/pom.xml
index fea5670..1f1cc29 100644
--- a/context/pom.xml
+++ b/context/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html
-  1.6.1
+  2.0-SNAPSHOT
   bundle
   HTML Context
   http://maven.apache.org
diff --git a/equinox-agentclass-hook/pom.xml b/equinox-agentclass-hook/pom.xml
index ba87d41..9522247 100644
--- a/equinox-agentclass-hook/pom.xml
+++ b/equinox-agentclass-hook/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
 
 AgentClass Hook for Equinox
 equinox-agentclass-hook
diff --git a/geo/pom.xml b/geo/pom.xml
index e201871..928ece3 100644
--- a/geo/pom.xml
+++ b/geo/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.geo
-  1.6.1
+  2.0-SNAPSHOT
   bundle
   Geolocation API
   http://maven.apache.org
diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml
index 0b4baca..491cb09 100644
--- a/html4j-maven-plugin/pom.xml
+++ b/html4j-maven-plugin/pom.xml
@@ -24,12 +24,12 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   maven-plugin
   org.netbeans.html
   html4j-maven-plugin
-  1.6.1
+  2.0-SNAPSHOT
   Html for Java Maven Plugin
   http://maven.apache.org
   Maven plugin to post process the classes with @JavaScriptBody 
annotations
diff --git a/json-tck/pom.xml b/json-tck/pom.xml
index bdbe185..20e5612 100644
--- a/json-tck/pom.xml
+++ b/json-tck/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.json.tck
-  1.6.1
+  2.0-SNAPSHOT
   bundle
   HTML for Java TCK
   http://maven.apache.org
@@ -70,7 +70,7 @@
 
   org.netbeans.html
   net.java.html.json
-  1.6.1
+  2.0-SNAPSHOT
   jar
 
 
diff --git a/json/pom.xml b/json/pom.xml
index 5810b1d..0c84eac 100644
--- a/json/pom.xml
+++ b/json/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.json
-  1.6.1
+  2.0-SNAPSHOT
   bundle
   JSON Model in Java
   http://maven.apache.org
diff --git a/ko-felix-test/pom.xml b/ko-felix-test/pom.xml
index ca1f155..6f2a9cd 100644
--- a/ko-felix-test/pom.xml
+++ b/ko-felix-test/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-1.6.1
+2.0-SNAPSHOT
 
 KO Tests in 

[netbeans-html4j] branch master updated: Presenter can be null

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git


The following commit(s) were added to refs/heads/master by this push:
 new 353dacb  Presenter can be null
353dacb is described below

commit 353dacb14783eea032493170d2fa86316b91596c
Author: Jaroslav Tulach 
AuthorDate: Sun May 5 06:42:08 2019 +0200

Presenter can be null
---
 boot/src/main/java/org/netbeans/html/boot/spi/Fn.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java 
b/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java
index 1a613ea..a4f2f45 100644
--- a/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java
+++ b/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java
@@ -66,7 +66,7 @@ public abstract class Fn {
  * @return true, if proper presenter is used
  */
 public final boolean isValid() {
-return FnContext.currentPresenter(false) == presenter.presenter();
+return FnContext.currentPresenter(false) == presenter();
 }
 
 /** Helper method to check if the provided instance is valid function.
@@ -233,7 +233,7 @@ public abstract class Fn {
  * @since 0.7
  */
 protected final Presenter presenter() {
-return presenter.presenter();
+return presenter == null ? null : presenter.presenter();
 }
 
 /** The representation of a presenter - usually a browser window.


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] branch master updated: Isolate initialization of JavaFX framework between tests

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git


The following commit(s) were added to refs/heads/master by this push:
 new b60c3aa  Isolate initialization of JavaFX framework between tests
b60c3aa is described below

commit b60c3aa83b5f834204ccaace87d6a7ea20373b23
Author: Jaroslav Tulach 
AuthorDate: Sun May 5 05:43:19 2019 +0200

Isolate initialization of JavaFX framework between tests
---
 ko4j/pom.xml | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/ko4j/pom.xml b/ko4j/pom.xml
index 1d8b9d1..893cc3a 100644
--- a/ko4j/pom.xml
+++ b/ko4j/pom.xml
@@ -60,6 +60,12 @@
   false
   
   
+  
+  maven-surefire-plugin
+  
+  always
+  
+  
   
   
   


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] branch master updated: Avoid JavaFX framework shutdown between tests

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git


The following commit(s) were added to refs/heads/master by this push:
 new 52f8f6c  Avoid JavaFX framework shutdown between tests
52f8f6c is described below

commit 52f8f6c6e61bb6f746d0b95f65e0c564c4e8bf0b
Author: Jaroslav Tulach 
AuthorDate: Sun May 5 05:35:13 2019 +0200

Avoid JavaFX framework shutdown between tests
---
 ko4j/src/test/java/org/netbeans/html/ko4j/InitializeKnockoutTest.java | 1 +
 ko4j/src/test/java/org/netbeans/html/ko4j/KnockoutFXTest.java | 2 ++
 2 files changed, 3 insertions(+)

diff --git 
a/ko4j/src/test/java/org/netbeans/html/ko4j/InitializeKnockoutTest.java 
b/ko4j/src/test/java/org/netbeans/html/ko4j/InitializeKnockoutTest.java
index 3ae5a3b..08c374b 100644
--- a/ko4j/src/test/java/org/netbeans/html/ko4j/InitializeKnockoutTest.java
+++ b/ko4j/src/test/java/org/netbeans/html/ko4j/InitializeKnockoutTest.java
@@ -45,6 +45,7 @@ public class InitializeKnockoutTest {
 
 @BeforeClass
 public void initFX() throws Throwable {
+Platform.setImplicitExit(false);
 new Thread("initFX") {
 @Override
 public void run() {
diff --git a/ko4j/src/test/java/org/netbeans/html/ko4j/KnockoutFXTest.java 
b/ko4j/src/test/java/org/netbeans/html/ko4j/KnockoutFXTest.java
index 8bde691..93979b7 100644
--- a/ko4j/src/test/java/org/netbeans/html/ko4j/KnockoutFXTest.java
+++ b/ko4j/src/test/java/org/netbeans/html/ko4j/KnockoutFXTest.java
@@ -31,6 +31,7 @@ import java.util.List;
 import java.util.Map;
 import java.util.concurrent.Executor;
 import java.util.concurrent.Executors;
+import javafx.application.Platform;
 import net.java.html.BrwsrCtx;
 import net.java.html.boot.BrowserBuilder;
 import net.java.html.js.JavaScriptBody;
@@ -71,6 +72,7 @@ public final class KnockoutFXTest extends KnockoutTCK {
 
 URI uri = DynamicHTTP.initServer();
 
+Platform.setImplicitExit(false);
 final BrowserBuilder bb = BrowserBuilder.newBrowser(new 
FXGCPresenter()).loadClass(KnockoutFXTest.class).
 loadPage(uri.toString()).
 invoke("initialized");


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] 02/02: Verify Knockout.js license is present in ko4j binary and manually update root LICENSE file

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit a02c891b05d1b976cd29fd5a11c65cda8b28c246
Author: Jaroslav Tulach 
AuthorDate: Sun May 5 04:06:07 2019 +0200

Verify Knockout.js license is present in ko4j binary and manually update 
root LICENSE file
---
 LICENSE| 433 +++--
 .../main/appended-resources/META-INF/DEPENDENCIES  |   2 +-
 .../java/org/netbeans/html/ko4j/LicenseTest.java   |  73 
 pom.xml|   3 +-
 4 files changed, 304 insertions(+), 207 deletions(-)

diff --git a/LICENSE b/LICENSE
index eb72cec..1507950 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,204 +1,229 @@
-/*
- * Apache License
- *   Version 2.0, January 2004
- *http://www.apache.org/licenses/
- *
- *   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
- *
- *   1. Definitions.
- *
- *  "License" shall mean the terms and conditions for use, reproduction,
- *  and distribution as defined by Sections 1 through 9 of this document.
- *
- *  "Licensor" shall mean the copyright owner or entity authorized by
- *  the copyright owner that is granting the License.
- *
- *  "Legal Entity" shall mean the union of the acting entity and all
- *  other entities that control, are controlled by, or are under common
- *  control with that entity. For the purposes of this definition,
- *  "control" means (i) the power, direct or indirect, to cause the
- *  direction or management of such entity, whether by contract or
- *  otherwise, or (ii) ownership of fifty percent (50%) or more of the
- *  outstanding shares, or (iii) beneficial ownership of such entity.
- *
- *  "You" (or "Your") shall mean an individual or Legal Entity
- *  exercising permissions granted by this License.
- *
- *  "Source" form shall mean the preferred form for making modifications,
- *  including but not limited to software source code, documentation
- *  source, and configuration files.
- *
- *  "Object" form shall mean any form resulting from mechanical
- *  transformation or translation of a Source form, including but
- *  not limited to compiled object code, generated documentation,
- *  and conversions to other media types.
- *
- *  "Work" shall mean the work of authorship, whether in Source or
- *  Object form, made available under the License, as indicated by a
- *  copyright notice that is included in or attached to the work
- *  (an example is provided in the Appendix below).
- *
- *  "Derivative Works" shall mean any work, whether in Source or Object
- *  form, that is based on (or derived from) the Work and for which the
- *  editorial revisions, annotations, elaborations, or other modifications
- *  represent, as a whole, an original work of authorship. For the purposes
- *  of this License, Derivative Works shall not include works that remain
- *  separable from, or merely link (or bind by name) to the interfaces of,
- *  the Work and Derivative Works thereof.
- *
- *  "Contribution" shall mean any work of authorship, including
- *  the original version of the Work and any modifications or additions
- *  to that Work or Derivative Works thereof, that is intentionally
- *  submitted to Licensor for inclusion in the Work by the copyright owner
- *  or by an individual or Legal Entity authorized to submit on behalf of
- *  the copyright owner. For the purposes of this definition, "submitted"
- *  means any form of electronic, verbal, or written communication sent
- *  to the Licensor or its representatives, including but not limited to
- *  communication on electronic mailing lists, source code control systems,
- *  and issue tracking systems that are managed by, or on behalf of, the
- *  Licensor for the purpose of discussing and improving the Work, but
- *  excluding communication that is conspicuously marked or otherwise
- *  designated in writing by the copyright owner as "Not a Contribution."
- *
- *  "Contributor" shall mean Licensor and any individual or Legal Entity
- *  on behalf of whom a Contribution has been received by Licensor and
- *  subsequently incorporated within the Work.
- *
- *   2. Grant of Copyright License. Subject to the terms and conditions of
- *  this License, each Contributor hereby grants to You a perpetual,
- *  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- *  copyright license to reproduce, prepare Derivative Works of,
- *  publicly display, publicly perform, sublicense, and distribute the
- *  Work and such Derivative Works in Source or Object form.
- *
- *   3. Grant of Patent License. 

[netbeans-html4j] 01/02: Graduated from incubator. No need for a DISCLAIMER

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit 6a5994b6f27497b1e7f018e93f9605f7217194c6
Author: Jaroslav Tulach 
AuthorDate: Sun May 5 04:05:30 2019 +0200

Graduated from incubator. No need for a DISCLAIMER
---
 DISCLAIMER | 10 --
 1 file changed, 10 deletions(-)

diff --git a/DISCLAIMER b/DISCLAIMER
deleted file mode 100644
index 4d1d0ad..000
--- a/DISCLAIMER
+++ /dev/null
@@ -1,10 +0,0 @@
-HTML APIs via Java is an effort undergoing incubation at the Apache Software 
-Foundation (ASF), sponsored by the Apache Incubator PMC. 
-
-Incubation is required of all newly accepted projects until a further review 
-indicates that the infrastructure, communications, and decision making process 
-have stabilized in a manner consistent with other successful ASF projects. 
-
-While incubation status is not necessarily a reflection of the completeness 
-or stability of the code, it does indicate that the project has yet to be 
-fully endorsed by the ASF.


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] branch master updated (1ce523a -> a02c891)

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git.


from 1ce523a  Avoid NPE as ref can be null for null presenters
 new 6a5994b  Graduated from incubator. No need for a DISCLAIMER
 new a02c891  Verify Knockout.js license is present in ko4j binary and 
manually update root LICENSE file

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 DISCLAIMER |  10 -
 LICENSE| 433 +++--
 .../main/appended-resources/META-INF/DEPENDENCIES  |   2 +-
 .../java/org/netbeans/html/ko4j/LicenseTest.java   |  73 
 pom.xml|   3 +-
 5 files changed, 304 insertions(+), 217 deletions(-)
 delete mode 100644 DISCLAIMER
 create mode 100644 ko4j/src/test/java/org/netbeans/html/ko4j/LicenseTest.java


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1638) OSGi support is broken

2019-05-04 Thread Jaroslav Tulach (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833191#comment-16833191
 ] 

Jaroslav Tulach commented on NETBEANS-1638:
---

Can you propose a PR?

> OSGi support is broken
> --
>
> Key: NETBEANS-1638
> URL: https://issues.apache.org/jira/browse/NETBEANS-1638
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Module System
>Affects Versions: 9.0, 10.0
>Reporter: Peter Nabbefeld
>Assignee: Jaroslav Tulach
>Priority: Critical
> Fix For: 11.0
>
> Attachments: 
> Updated_felix_to_5_6_10_to_enable_osgi_bundles_for_java_9_and_later_.patch
>
>
> The included Felix jar (in module lib.felix) is outdated and does not work 
> with JDK > 9.
> Included version: 4.2.1
> Current version: 6.0.1
> For a short discussion of the problem see: 
> https://github.com/mojohaus/nbm-maven-plugin/issues/52



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-2295) Update to knockout.js 3.5.0 to solve security issues

2019-05-04 Thread Jaroslav Tulach (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaroslav Tulach resolved NETBEANS-2295.
---
   Resolution: Fixed
Fix Version/s: 12.0

Fixed for upcoming HTML/Java 1.6.1 version

> Update to knockout.js 3.5.0 to solve security issues
> 
>
> Key: NETBEANS-2295
> URL: https://issues.apache.org/jira/browse/NETBEANS-2295
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - HTML4J
>Affects Versions: 10.0
>Reporter: Jaroslav Tulach
>Assignee: Jaroslav Tulach
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> h2. org-netbeans-html-ko4j.jar: knockout-3.4.0.js
> {color:#505f79}in 
> platform/modules/org-netbeans-html-ko4j.jar/org/netbeans/html/ko4j/knockout-3.4.0.js{color}
> ||Vulnerability||Resolution||
> |[https://github.com/knockout/knockout/issues/1244]| * cross site scripting 
> injection
>  * only exhibited in Internet Explorer 7 and older which is effectively not 
> used at all in 2019
>  * fixed in knockout 3.5.0+\||



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-1739) Fix Notice & MIT license note for version of HTML/Java API

2019-05-04 Thread Jaroslav Tulach (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaroslav Tulach resolved NETBEANS-1739.
---
   Resolution: Fixed
Fix Version/s: 12.0

Fixed for upcoming HTML/Java 1.6.1 version

> Fix Notice & MIT license note for version of HTML/Java API
> --
>
> Key: NETBEANS-1739
> URL: https://issues.apache.org/jira/browse/NETBEANS-1739
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - HTML4J
>Reporter: Jaroslav Tulach
>Assignee: Jaroslav Tulach
>Priority: Major
>  Labels: License, pull-request-available
> Fix For: 12.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Justin & Bertrand found:
> [https://lists.apache.org/thread.html/07d6de7e4409c26c7191ce89819ec590580cfe8dd3d9dd51b958bf6c@%3Cgeneral.incubator.apache.org%3E]
> The NOTICE copyright year is “2017-2017” that should be 2017-2018 right?
> The LICENSE is missing mention of (and license text) of MIT licensed Knockout 
> [1]
> Thanks,
>  Justin
>  # 
> incubator-netbeans-html4j/ko4j/src/main/resources/org/netbeans/html/ko4j/knockout-3.4.0.js
> The file has been introduced by commit 
> [https://github.com/apache/incubator-netbeans-html4j/commit/2d7f1a8e5df7057dfe78ac2e6d32f15182a9a5ed]
>  and it should be an exactly copy of version 3.4.0 from the 
> https://github.com/knockout/knockout/releases/tag/v3.4.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-1739) Fix Notice & MIT license note for version of HTML/Java API

2019-05-04 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-1739:
-
Labels: License pull-request-available  (was: License)

> Fix Notice & MIT license note for version of HTML/Java API
> --
>
> Key: NETBEANS-1739
> URL: https://issues.apache.org/jira/browse/NETBEANS-1739
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - HTML4J
>Reporter: Jaroslav Tulach
>Assignee: Jaroslav Tulach
>Priority: Major
>  Labels: License, pull-request-available
>
> Justin & Bertrand found:
> [https://lists.apache.org/thread.html/07d6de7e4409c26c7191ce89819ec590580cfe8dd3d9dd51b958bf6c@%3Cgeneral.incubator.apache.org%3E]
> The NOTICE copyright year is “2017-2017” that should be 2017-2018 right?
> The LICENSE is missing mention of (and license text) of MIT licensed Knockout 
> [1]
> Thanks,
>  Justin
>  # 
> incubator-netbeans-html4j/ko4j/src/main/resources/org/netbeans/html/ko4j/knockout-3.4.0.js
> The file has been introduced by commit 
> [https://github.com/apache/incubator-netbeans-html4j/commit/2d7f1a8e5df7057dfe78ac2e6d32f15182a9a5ed]
>  and it should be an exactly copy of version 3.4.0 from the 
> https://github.com/knockout/knockout/releases/tag/v3.4.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-2295) Update to knockout.js 3.5.0 to solve security issues

2019-05-04 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-2295:
-
Labels: pull-request-available  (was: )

> Update to knockout.js 3.5.0 to solve security issues
> 
>
> Key: NETBEANS-2295
> URL: https://issues.apache.org/jira/browse/NETBEANS-2295
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - HTML4J
>Affects Versions: 10.0
>Reporter: Jaroslav Tulach
>Assignee: Jaroslav Tulach
>Priority: Major
>  Labels: pull-request-available
>
> h2. org-netbeans-html-ko4j.jar: knockout-3.4.0.js
> {color:#505f79}in 
> platform/modules/org-netbeans-html-ko4j.jar/org/netbeans/html/ko4j/knockout-3.4.0.js{color}
> ||Vulnerability||Resolution||
> |[https://github.com/knockout/knockout/issues/1244]| * cross site scripting 
> injection
>  * only exhibited in Internet Explorer 7 and older which is effectively not 
> used at all in 2019
>  * fixed in knockout 3.5.0+\||



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] 02/02: Avoid NPE as ref can be null for null presenters

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit 1ce523aa194335b6b416b1aae075942a42c39c37
Author: Jaroslav Tulach 
AuthorDate: Sat May 4 19:37:07 2019 +0200

Avoid NPE as ref can be null for null presenters
---
 ko4j/src/main/java/org/netbeans/html/ko4j/CacheObjs.java   | 2 +-
 ko4j/src/test/java/org/netbeans/html/ko4j/MapObjsTest.java | 7 +++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ko4j/src/main/java/org/netbeans/html/ko4j/CacheObjs.java 
b/ko4j/src/main/java/org/netbeans/html/ko4j/CacheObjs.java
index e1aea1a..3a1e63f 100644
--- a/ko4j/src/main/java/org/netbeans/html/ko4j/CacheObjs.java
+++ b/ko4j/src/main/java/org/netbeans/html/ko4j/CacheObjs.java
@@ -36,7 +36,7 @@ final class CacheObjs {
 }
 
 Fn.Presenter get() {
-return ref.presenter();
+return ref == null ? null : ref.presenter();
 }
 
 static synchronized CacheObjs find(Fn.Presenter key) {
diff --git a/ko4j/src/test/java/org/netbeans/html/ko4j/MapObjsTest.java 
b/ko4j/src/test/java/org/netbeans/html/ko4j/MapObjsTest.java
index 1f397d8..f2f8c71 100644
--- a/ko4j/src/test/java/org/netbeans/html/ko4j/MapObjsTest.java
+++ b/ko4j/src/test/java/org/netbeans/html/ko4j/MapObjsTest.java
@@ -62,6 +62,13 @@ public class MapObjsTest {
 assertEquals(v2.get(p2), null);
 }
 
+@Test
+public void cacheForNull() {
+CacheObjs c1 = CacheObjs.find(null);
+CacheObjs c2 = CacheObjs.find(null);
+assertSame(c1, c2);
+}
+
 private static final class Value {
 private Object now;
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] 01/02: Switching to knockout.js version 3.5.0

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit a45f1341c358ff4ad58272bad1d11152055a2c71
Author: Jaroslav Tulach 
AuthorDate: Sat May 4 13:17:22 2019 +0200

Switching to knockout.js version 3.5.0
---
 DEPENDENCIES   |   2 +-
 ko4j/src/main/appended-resources/META-INF/LICENSE  |   2 +-
 .../main/java/org/netbeans/html/ko4j/Knockout.java |   2 +-
 .../org/netbeans/html/ko4j/knockout-3.4.0.js   | 123 --
 .../org/netbeans/html/ko4j/knockout-3.5.0.js   | 138 +
 pom.xml|   2 +-
 src/main/javadoc/overview.html |   4 +
 7 files changed, 146 insertions(+), 127 deletions(-)

diff --git a/DEPENDENCIES b/DEPENDENCIES
index 3654fd7..84b547f 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -114,5 +114,5 @@ From: 'The Apache Software Foundation' 
(http://www.apache.org/)
 
 
 From: 'Knockout.js team' (http://knockoutjs.com/)
-  - Knockout JavaScript library v3.4.0
+  - Knockout JavaScript library v3.5.0
 License: MIT (http://www.opensource.org/licenses/mit-license.php)
diff --git a/ko4j/src/main/appended-resources/META-INF/LICENSE 
b/ko4j/src/main/appended-resources/META-INF/LICENSE
index 4af6e1d..db6bdf9 100644
--- a/ko4j/src/main/appended-resources/META-INF/LICENSE
+++ b/ko4j/src/main/appended-resources/META-INF/LICENSE
@@ -1,6 +1,6 @@
 
 
-This product bundles Knockout JavaScript library v3.4.0,
+This product bundles Knockout JavaScript library v3.5.0,
 which is available under a MIT license:
 
 The MIT License (MIT) - http://www.opensource.org/licenses/mit-license.php
diff --git a/ko4j/src/main/java/org/netbeans/html/ko4j/Knockout.java 
b/ko4j/src/main/java/org/netbeans/html/ko4j/Knockout.java
index 1e826d8..871c55b 100644
--- a/ko4j/src/main/java/org/netbeans/html/ko4j/Knockout.java
+++ b/ko4j/src/main/java/org/netbeans/html/ko4j/Knockout.java
@@ -37,7 +37,7 @@ import org.netbeans.html.json.spi.PropertyBinding;
  *
  * @author Jaroslav Tulach
  */
-@JavaScriptResource("knockout-3.4.0.js")
+@JavaScriptResource("knockout-3.5.0.js")
 final class Knockout  {
 
 @JavaScriptBody(args = {"object", "property"}, body =
diff --git a/ko4j/src/main/resources/org/netbeans/html/ko4j/knockout-3.4.0.js 
b/ko4j/src/main/resources/org/netbeans/html/ko4j/knockout-3.4.0.js
deleted file mode 100644
index 059d58f..000
--- a/ko4j/src/main/resources/org/netbeans/html/ko4j/knockout-3.4.0.js
+++ /dev/null
@@ -1,123 +0,0 @@
-/*!
- * Knockout JavaScript library v3.4.0
- * (c) Steven Sanderson - http://knockoutjs.com/
- * License: MIT (http://www.opensource.org/licenses/mit-license.php)
- */
-
-(function() {(function(n){var 
x=this||(0,eval)("this"),u=x.document,M=x.navigator,v=x.jQuery,F=x.JSON;(function(n){"function"===typeof
 define&?define(["exports","require"],n):"object"===typeof 
exports&&"object"===typeof 
module?n(module.exports||exports):n(x.ko={})})(function(N,O){function 
J(a,c){return null===a||typeof a in T?a===c:!1}function U(b,c){var d;return 
function(){d||(d=a.a.setTimeout(function(){d=n;b()},c))}}function V(b,c){var 
d;return function(){clearTimeout(d);d= [...]
-c){c&!==I?"beforeChange"===c?this.Kb(a):this.Ha(a,c):this.Lb(a)}function 
X(a,c){null!==c&&()}function Y(a,c){var 
d=this.Hc,e=d[s];e.R||(this.lb&[c]?(d.Pb(c,a,this.Ma[c]),this.Ma[c]=null,--this.lb):e.r[c]||d.Pb(c,a,e.s?{ia:a}:d.uc(a)))}function
 K(b,c,d,e){a.d[b]={init:function(b,g,k,l,m){var h,r;a.m(function(){var 
q=a.a.c(g()),p=!d!==!q,A=!r;if(A||c||p!==h)A&()&&(r=a.a.ua(a.f.childNodes(b),!0)),p?(A||a.f.da(b,a.a.ua(r)),a.eb(e?e(m,q):m,b)):a.f.xa(b),h=p},null,{i:
 [...]
-a.h.ta[b]=!1;a.f.Z[b]=!0}var a="undefined"!==typeof 
N?N:{};a.b=function(b,c){for(var 

[netbeans-html4j] branch master updated (a74337e -> 1ce523a)

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git.


from a74337e  Point to PR-19 that introduces Fn.Ref
 new a45f134  Switching to knockout.js version 3.5.0
 new 1ce523a  Avoid NPE as ref can be null for null presenters

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 DEPENDENCIES   |   2 +-
 ko4j/src/main/appended-resources/META-INF/LICENSE  |   2 +-
 .../java/org/netbeans/html/ko4j/CacheObjs.java |   2 +-
 .../main/java/org/netbeans/html/ko4j/Knockout.java |   2 +-
 .../org/netbeans/html/ko4j/knockout-3.4.0.js   | 123 --
 .../org/netbeans/html/ko4j/knockout-3.5.0.js   | 138 +
 .../java/org/netbeans/html/ko4j/MapObjsTest.java   |   7 ++
 pom.xml|   2 +-
 src/main/javadoc/overview.html |   4 +
 9 files changed, 154 insertions(+), 128 deletions(-)
 delete mode 100644 
ko4j/src/main/resources/org/netbeans/html/ko4j/knockout-3.4.0.js
 create mode 100644 
ko4j/src/main/resources/org/netbeans/html/ko4j/knockout-3.5.0.js


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2500) Palette needed for Java Source files

2019-05-04 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833175#comment-16833175
 ] 

Geertjan Wielenga commented on NETBEANS-2500:
-

Nope. Though it could be added.

> Palette needed for Java Source files
> 
>
> Key: NETBEANS-2500
> URL: https://issues.apache.org/jira/browse/NETBEANS-2500
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2500) Palette needed for Java Source files

2019-05-04 Thread Alex O'Ree (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833174#comment-16833174
 ] 

Alex O'Ree commented on NETBEANS-2500:
--

I meant, when dragging from the palette into the code window, the sample 
prompts for input that ends up in the javadoc for the main method.

If i drag code into the palette, is there a mechanism similar to the main 
method javadoc example to prompt for input when insert into the editor window?

> Palette needed for Java Source files
> 
>
> Key: NETBEANS-2500
> URL: https://issues.apache.org/jira/browse/NETBEANS-2500
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans

2019-05-04 Thread Michal Rama (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833172#comment-16833172
 ] 

Michal Rama commented on NETBEANS-2481:
---

Hello,

I'm sorry, I was busy.

I created a project based on the video tutorial, but I couldn't start it.

I had to edit the project settings as described in the link above.

!netbeans05.png!

Then it was possible to run it, but only in NetBeans. Even if I choose "Clean 
and Build", which is successfully completed, no jar file is created.

In addition, NetBeans will introduce several times

*Failed to notify spy org.netbeans.modules.maven.event.NbEventSpy: 
org/json/simple/JSONObject*

I shared the project files on github. (Listed at the beginning).

Please help

Thank you

>  Project (with OpenJavaFX) cannot run outside of NetBeans
> -
>
> Key: NETBEANS-2481
> URL: https://issues.apache.org/jira/browse/NETBEANS-2481
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project, javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1
>Reporter: Michal Rama
>Priority: Blocker
>  Labels: dist, jar, java, javafx, project
> Attachments: netbeans05.png
>
>
> Hello,
> I have a problem running a project (with OpenJavaFX) outside NetBeans.
> I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically 
> JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat 
> and I don't understand why there is no simpler way. Adding an external 
> library is not difficult, unlike OpenJavaFX, which until recently was part of 
> the JDK.
> But I already turned away from the subject. When I start a jar (in the dist 
> folder) outside of NetBeans, nothing happens.
> The problem is that the external libraries are normally created in the dist / 
> lib folder (if you want to include them in the jar, you need to create a 
> "fat" jar), but nothing has been added to the lib folder.
> Why does this happen?
> Please help.
> Thank you



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans

2019-05-04 Thread Michal Rama (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michal Rama updated NETBEANS-2481:
--
Attachment: netbeans05.png

>  Project (with OpenJavaFX) cannot run outside of NetBeans
> -
>
> Key: NETBEANS-2481
> URL: https://issues.apache.org/jira/browse/NETBEANS-2481
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project, javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1
>Reporter: Michal Rama
>Priority: Blocker
>  Labels: dist, jar, java, javafx, project
> Attachments: netbeans05.png
>
>
> Hello,
> I have a problem running a project (with OpenJavaFX) outside NetBeans.
> I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically 
> JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat 
> and I don't understand why there is no simpler way. Adding an external 
> library is not difficult, unlike OpenJavaFX, which until recently was part of 
> the JDK.
> But I already turned away from the subject. When I start a jar (in the dist 
> folder) outside of NetBeans, nothing happens.
> The problem is that the external libraries are normally created in the dist / 
> lib folder (if you want to include them in the jar, you need to create a 
> "fat" jar), but nothing has been added to the lib folder.
> Why does this happen?
> Please help.
> Thank you



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2500) Palette needed for Java Source files

2019-05-04 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833171#comment-16833171
 ] 

Geertjan Wielenga commented on NETBEANS-2500:
-

Editing existing items is not supported in any palette in NetBeans. Just delete 
an item and recreate it.

> Palette needed for Java Source files
> 
>
> Key: NETBEANS-2500
> URL: https://issues.apache.org/jira/browse/NETBEANS-2500
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2500) Palette needed for Java Source files

2019-05-04 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833169#comment-16833169
 ] 

Geertjan Wielenga commented on NETBEANS-2500:
-

Drag and drop the item and you'll see the dialog for user input.

> Palette needed for Java Source files
> 
>
> Key: NETBEANS-2500
> URL: https://issues.apache.org/jira/browse/NETBEANS-2500
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2500) Palette needed for Java Source files

2019-05-04 Thread Alex O'Ree (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833168#comment-16833168
 ] 

Alex O'Ree commented on NETBEANS-2500:
--

is there a way to edit existing items in the palette? Also, for the sample 
that's provided "Main Method", what's the trick to prompt the user for some 
input?

> Palette needed for Java Source files
> 
>
> Key: NETBEANS-2500
> URL: https://issues.apache.org/jira/browse/NETBEANS-2500
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2500) Palette needed for Java Source files

2019-05-04 Thread Alex O'Ree (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833167#comment-16833167
 ] 

Alex O'Ree commented on NETBEANS-2500:
--

oh i love it!

> Palette needed for Java Source files
> 
>
> Key: NETBEANS-2500
> URL: https://issues.apache.org/jira/browse/NETBEANS-2500
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-2503) Switching between search results tabs by keyboard loses keyboard focus

2019-05-04 Thread Niklas Matthies (JIRA)
Niklas Matthies created NETBEANS-2503:
-

 Summary: Switching between search results tabs by keyboard loses 
keyboard focus
 Key: NETBEANS-2503
 URL: https://issues.apache.org/jira/browse/NETBEANS-2503
 Project: NetBeans
  Issue Type: Bug
  Components: utilities - Search
Affects Versions: 11.0
Reporter: Niklas Matthies


When switching between multiple "Find in Projects" Search Results tabs by 
keyboard (Ctrl+PgUp/PgDown on Windows), the list of search results loses 
keyboard focus. Due to this, it is not possible to switch between search 
results tabs and jump to another result (e.g. to the corresponding matching 
source code line) by keyboard.

Compare with other output windows, for example the Java Find Usages results 
window, where switching between tabs by keyboard does not lose keyboard focus 
in the result list of the respective tab.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-2502) Multiline output breaks layout for status line in menu bar

2019-05-04 Thread Niklas Matthies (JIRA)
Niklas Matthies created NETBEANS-2502:
-

 Summary: Multiline output breaks layout for status line in menu bar
 Key: NETBEANS-2502
 URL: https://issues.apache.org/jira/browse/NETBEANS-2502
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Window System
Affects Versions: 11.0
 Environment: Windows
Reporter: Niklas Matthies


NetBeans can be run with {{-J-Dnetbeans.winsys.statusLine.in.menuBar=true}} 
(specified in netbeans.conf), which moves the contents of the status bar into 
the menu bar, saving vertical space. There is however a problem with multiline 
status messages. With the regular status bar at the bottom, a multiline status 
message extends as a rectangle from the status bar upwards into the editor 
area. However with the status message in the menu bar, the menu bar is 
stretched vertically to fit the multiline message.

A multiline status message can be reproduced as follows: Perform "Find in 
Projects" multiple times with differen search terms and with "Open In New Tab" 
checked, so that the Search Results window contains multiple tabs. Then start 
switching windows by keyboard (i.e. by Ctrl+(Shift+)Tab on Windows). While 
switching windows (i.e. while the Ctrl key is depressed), a status message is 
shown for the currently highlighted window in the window switching popup. For 
the Search Results window, this is a multiline message with an initial line 
"Search Results" in bold face and additional lines for all Search Results tabs.

E.g. when there are 20 Search Results tabs, the status message has 21 lines, 
and the menu bar is stretched vertically to the height of 21 lines, which is 
quite jarring.

As an additional side effect, if the Search Results window is in a sliding Mode 
(e.g. in topSlidingSide) and fills the vertical height, the stretching of the 
menu bar causes the window to permanently be reduced in vertical height.

Maybe the simplest fix would be to restrict status messages to a single line 
for netbeans.winsys.statusLine.in.menuBar=true. Alternatively, multiline status 
messages should be shown in a popup/overlay (extending down from the menu bar) 
like for the regular status bar. Lastly, the particular case above could be 
fixed by restrincting the Search Results window string to a single line (as 
having each search results tab listed there is maybe not particularly useful).

I'm aware that having the status line in the menu bar is a non-standard 
configuration, but it is a really useful feature to get a bit more vertical 
space in the editor (especially nowadays where 16:9 displays are standard), and 
the layout changes described above are irritating when switching windows with 
Ctrl+Tab, especially when this causes the dimensions of other windows to 
permanently change.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-2501) Menu key doesn't work in Output window

2019-05-04 Thread Niklas Matthies (JIRA)
Niklas Matthies created NETBEANS-2501:
-

 Summary: Menu key doesn't work in Output window
 Key: NETBEANS-2501
 URL: https://issues.apache.org/jira/browse/NETBEANS-2501
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Output Window
Affects Versions: 11.0
Reporter: Niklas Matthies


In the output window, the context menu can't be invoked by keyboard, i.e. under 
Windows by the Menu key or Shift+F10 .(as bound to the "Popup" action in the 
NetBeans keymap).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2119) Update the Snap package descriptor files on master

2019-05-04 Thread Laszlo Kishalmi (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833117#comment-16833117
 ] 

Laszlo Kishalmi commented on NETBEANS-2119:
---

It is pending on the classic confinement request only, right now.

 

> Update the Snap package descriptor files on master
> --
>
> Key: NETBEANS-2119
> URL: https://issues.apache.org/jira/browse/NETBEANS-2119
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> We can have Snap packages from master and the release coexist in a way that 
> we need to call the one created from master as netbeans-dev. By doing this it 
> is possible to deploy netbeans-dev as a closed private package onto 
> snapcraft.io and be available for community members who are requesting it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-2035) Open Output window when starting a Gradle build

2019-05-04 Thread Laszlo Kishalmi (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laszlo Kishalmi resolved NETBEANS-2035.
---
Resolution: Fixed

It hit master.

> Open Output window when starting a Gradle build
> ---
>
> Key: NETBEANS-2035
> URL: https://issues.apache.org/jira/browse/NETBEANS-2035
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-989-on-20190130)
> Java: 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 25.201-b09
> Runtime: Java(TM) SE Runtime Environment 1.8.0_201-b09
> System: Linux version 4.15.0-43-generic running on amd64; UTF-8; it_IT (nb)
> User directory: /home/sasha/.netbeans/dev
> Cache directory: /home/sasha/.cache/netbeans/dev
>Reporter: Alessandro Falappa
>Assignee: Laszlo Kishalmi
>Priority: Minor
>  Labels: 11.0-gradle-patch-1, pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When launching a build the Option window with the console output should be 
> opened or made visible if not open/visible already.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch master updated: Updating bits.netbeans.org information (#357)

2019-05-04 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
 new 8059177  Updating bits.netbeans.org information (#357)
8059177 is described below

commit 8059177fbbd44dda6574c67e2af50a667a86b941
Author: Antonio Vieiro 
AuthorDate: Sat May 4 17:39:43 2019 +0200

Updating bits.netbeans.org information (#357)

* Updating bits.netbeans.org information
* Adding our own IAC Tools
---
 bits.netbeans.org/README.asciidoc | 37 +++--
 bits.netbeans.org/build.xml   | 50 ---
 bits.netbeans.org/index.html  |  9 ---
 3 files changed, 30 insertions(+), 66 deletions(-)

diff --git a/bits.netbeans.org/README.asciidoc 
b/bits.netbeans.org/README.asciidoc
index 3efc5da..733cca8 100644
--- a/bits.netbeans.org/README.asciidoc
+++ b/bits.netbeans.org/README.asciidoc
@@ -1,12 +1,35 @@
 = bits.netbeans.org
 
-This directory will be responsible for building the bits.netbeans.org website.
+bits.netbeans.org is a virtual host in the NetBeans VM.
 
-It currently has a `build.xml` file that builds the NetBeans javadoc and 
extracts it in the `javadoc` directory.
+== Infrastructure as code
 
-== TODO:
-  - Improve the `build.xml` file to take into account GitHub branches and 
NetBeans releases.
-  - Build javadoc zip files?
-  - Build other parts of http://bits.netbeans.org
-  - Publish this somewhere (http://bits.apache.netbeans.org?)
+The digital certificates and other virtual host settings are managed with
+link:https://puppet.com/solutions/infrastructure-as-code[puppet], in a joint
+effort between the NetBeans Team (for configuration) and the ASF-Infra Team
+(for updates) through JIRA.
+
+The NetBeans Team also maintains some convenience tools that generate Jenkins 
scripts
+to ease JavaDoc generation. 
+
+These infrastructure as code tools can be found here: 
https://github.com/apache/netbeans-tools/tree/master/buildscripts/conveniences
+
+== The NetBeans APIs
+
+Currently bits.netbeans.org hosts the APIs of NetBeans and different Maven 
stuff.
+
+APIs are generated through different Jenkins jobs. Each hour a script in the
+NetBeans VM checks if a download is required and downloads the API zip file.
+Then, if required, the API zip file is extracted and served.
+
+The Jenkins jobs responsible for generating the APIs are:
+
+[options="header", cols="1,2,4"]
+|===
+| Release | Jenkins job | Generated API
+| NetBeans Dev | 
link:https://builds.apache.org/job/netbeans-master-apidocmaven/[netbeans-master-apidocmaven]
 | https://bits.netbeans.org/dev/javadoc
+| NetBeans 11.0 | 
link:https://builds.apache.org/job/netbeans-r110-apidocmaven/[netbeans-r110-apidocmaven]
 | https://bits.netbeans.org/11.0/javadoc/
+| NetBeans 10.0 | 
link:https://builds.apache.org/job/netbeans-r100-apidocmaven/[netbeans-r100-apidocmaven]
 | https://bits.netbeans.org/10.0/javadoc/
+| NetBeans 9.0 | 
link:https://builds.apache.org/job/netbeans-r90-apidocmaven/[netbeans-r90-apidocmaven]
 | https://bits.netbeans.org/9.0/javadoc/ 
+| Maven Site | 
link:https://builds.apache.org/job/netbeans-mavenutils-website/[netbeans-mavenutils-website]
 | https://bits.netbeans.org/mavenutilities/nbm-shared/index.html
 
diff --git a/bits.netbeans.org/build.xml b/bits.netbeans.org/build.xml
deleted file mode 100644
index f7a3a02..000
--- a/bits.netbeans.org/build.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-master
-
-
-http://bits.netbeans.apache.org/${netbeans.branch}/javadoc
-
-
-
-
-ant javadoc - Builds the NetBeans javadoc.
-Mandatory properties:
--Dnetbeans.src.dir=Directory with a clone of https://github.com/apache/netbeans
--Dnetbeans.branch=Branch ('master' if unset)
-
-
-
-
-
-Please specify a -Dnetbeans.branch 
value
-Please specify a 
-Dnetbeans.src.dir
-
-
-
-
-
-
-
-
-
-
-
-
-${netbeans.url}
-
-
-
diff --git a/bits.netbeans.org/index.html b/bits.netbeans.org/index.html
deleted file mode 100644
index df2e665..000
--- a/bits.netbeans.org/index.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-bits.netbeans.org
-
-javadoc
-
-
-


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-2455) Splash screens for development version

2019-05-04 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-2455:
-
Labels: pull-request-available  (was: )

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2409) Very Slow Operations on Windows

2019-05-04 Thread Eric Bresie (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833084#comment-16833084
 ] 

Eric Bresie commented on NETBEANS-2409:
---

Is this maybe related to this ticket? 

[https://netbeans.org/bugzilla/show_bug.cgi?id=65135#c38] 

This seems to suggest calls to isDirectory makes native calls to the lower 
level  files and maybe converting to more nio operations may be more efficient 
ways of dealing with this.

> Very Slow  Operations on Windows
> 
>
> Key: NETBEANS-2409
> URL: https://issues.apache.org/jira/browse/NETBEANS-2409
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0, 11.0
> Environment: Windows
>Reporter: Laszlo Kishalmi
>Priority: Critical
>  Labels: Performance, Windows, pull-request-available
> Attachments: NB11_autocomplete.nps, NB11_getHint.nps, 
> WinFilesystemSlow.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> What is the best course of action for reporting slowness?  I can’t share my 
> project.
> I’m not certain how to give step-by-step instructions when the problem is 
> basically one step in most cases.  E.g. invoke auto-complete - nothing 
> happens for several seconds.  Invoke rename - dialog doesn’t appear for 
> several seconds.  Find usages - extremely slow > 5 second delay on a private 
> member of a class less than 100 lines.
> In general it seems NB 11 is noticeably slower than NB 8.2. Not good 
> considering slowness was already my #1 complaint about NB 8.2.  I have so far 
> found the benefits of NB outweigh the fact that it is much slower than other 
> IDEs for the same operations, but the slowness of NB 11 is tipping the scale. 
>  I don’t want to switch IDEs, pease don’t interpret this as some sort of 
> threat to do so. I would like to help find the issues in NB.  But I don’t 
> have the bandwidth to debug NB and not being about to share my project makes 
> it difficult to provide helpful reports :-(
> Are others seeing the slowness?
> Find usages, renames, call-hierarchy, auto-complete… things I use all the 
> time, I often have to wait 5 to 10 seconds for a response from the IDE, 
> sometimes more.
> I’ve already deleted user dir and cache and restarted. 
> I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch asf-site updated: Automated site publishing by Jenkins build 778

2019-05-04 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 1588c3c  Automated site publishing by Jenkins build 778
1588c3c is described below

commit 1588c3c36f902745404b6152c2d13e44213da0b0
Author: jenkins 
AuthorDate: Sat May 4 14:27:06 2019 +

Automated site publishing by Jenkins build 778
---
 content/kb/docs/java/debug-visual.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/kb/docs/java/debug-visual.html 
b/content/kb/docs/java/debug-visual.html
index c69f46d..f1f48b6 100644
--- a/content/kb/docs/java/debug-visual.html
+++ b/content/kb/docs/java/debug-visual.html
@@ -109,10 +109,10 @@
 
 
 
-This document describes how to use the Visual Debugger to help you locate 
and debug the code for visual elements in your GUI application. You can use the 
visual debugger in Java and JavaFX GUI applications.
+This document describes how to use the Visual Debugger to help you locate 
and debug the code for visual elements in your GUI application. You can use the 
visual debugger in Java Swing and JavaFX GUI applications.
 
 
-In this document you will use the Visual Debugger to explore the Anagram 
Game sample project. This document will demonstrate how to take a GUI snapshot 
of the application and then work with the snapshot to locate source code, add 
listeners to events and view the event log of GUI components.
+In this document you will use the Visual Debugger to explore the Anagram 
Game sample project, which is a Java Swing application distributed with 
NetBeans. This document will demonstrate how to take a GUI snapshot of the 
application and then work with the snapshot to locate source code, add 
listeners to events and view the event log of GUI components.
 
 
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch master updated: Tweaking Using the Visual Debugger in NetBeans IDE

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
 new 1274a25  Tweaking Using the Visual Debugger in NetBeans IDE
1274a25 is described below

commit 1274a2572d8bc4f8cab866dbe29bcc1f90e6310b
Author: Geertjan Wielenga 
AuthorDate: Sat May 4 16:25:15 2019 +0200

Tweaking Using the Visual Debugger in NetBeans IDE
---
 netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc 
b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
index 6c669e5..dfca163 100644
--- a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
+++ b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
@@ -29,9 +29,9 @@
 :description: Using the Visual Debugger in NetBeans IDE - Apache NetBeans
 :keywords: Apache NetBeans, Tutorials, Using the Visual Debugger in NetBeans 
IDE
 
-This document describes how to use the Visual Debugger to help you locate and 
debug the code for visual elements in your GUI application. You can use the 
visual debugger in Java and JavaFX GUI applications.
+This document describes how to use the Visual Debugger to help you locate and 
debug the code for visual elements in your GUI application. You can use the 
visual debugger in Java Swing and JavaFX GUI applications.
 
-In this document you will use the Visual Debugger to explore the Anagram Game 
sample project. This document will demonstrate how to take a GUI snapshot of 
the application and then work with the snapshot to locate source code, add 
listeners to events and view the event log of GUI components.
+In this document you will use the Visual Debugger to explore the Anagram Game 
sample project, which is a Java Swing application distributed with NetBeans. 
This document will demonstrate how to take a GUI snapshot of the application 
and then work with the snapshot to locate source code, add listeners to events 
and view the event log of GUI components.
 
 == Taking a GUI Snapshot
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch asf-site updated: Automated site publishing by Jenkins build 776

2019-05-04 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 2d016be  Automated site publishing by Jenkins build 776
2d016be is described below

commit 2d016be20b09920a30ec65d5b8f52b2ff6cb46de
Author: jenkins 
AuthorDate: Sat May 4 14:22:39 2019 +

Automated site publishing by Jenkins build 776
---
 content/kb/docs/java/debug-visual.html | 81 +++---
 1 file changed, 16 insertions(+), 65 deletions(-)

diff --git a/content/kb/docs/java/debug-visual.html 
b/content/kb/docs/java/debug-visual.html
index 7369934..c69f46d 100644
--- a/content/kb/docs/java/debug-visual.html
+++ b/content/kb/docs/java/debug-visual.html
@@ -172,13 +172,10 @@
 
 
 
-In the GUI snapshot, select the Guess button.
+In the GUI snapshot, select the Guess button. When you select a component 
in the snapshot, the IDE displays details about the selected component in the 
Properties window. If the Properties window is not visible you can choose 
Window  Properties from the main menu to open the window.
 
 
 
-
-When you select a component in the snapshot, the IDE displays details about 
the selected component in the Properties window. If the Properties window is 
not visible you can choose Window  Properties from the main menu to open 
the window.
-
 
 
 
@@ -195,13 +192,10 @@
 
 
 
-Right-click the Guess button in the snapshot and choose Go to Component 
Declaration from the popup menu.
+Right-click the Guess button in the snapshot and choose Go to Component 
Declaration from the popup menu. When you choose Go to Component Declaration 
the IDE opens the source file in the editor and moves the cursor to the line in 
the code where  guessButton  is declared.
 
 
 
-
-When you choose Go to Component Declaration the IDE opens the source file 
in the editor and moves the cursor to the line in the code where  
guessButton  is declared.
-
 
 
 
@@ -210,13 +204,10 @@
 
 
 
-Right-click the Guess button in the snapshot again and choose Go to 
Component Source.
+Right-click the Guess button in the snapshot again and choose Go to 
Component Source. When you choose Go to Component Source the IDE opens the 
source file in the editor and moves the cursor to the line in the source code 
for the JButton component.
 
 
 
-
-When you choose Go to Component Source the IDE opens the source file in the 
editor and moves the cursor to the line in the source code for the JButton 
component.
-
 
 
 
@@ -233,26 +224,12 @@
 
 Click the Java Debugger tab in the Java category in the Options window.
 
-
-
-
-Note. In NetBeans IDE 7.1 the Java Debugger tab is located 
in the Miscellaneous category in the Options window.
-
-
-
 
 Select Visual Debugging in the list of categories and select Track 
locations of component hierarchy changes. Click OK.
 
 
-Stop your debugging session (if one is running).
+Stop your debugging session (if one is running). After you enable the 
command in the Options window, you will need to restart your debugging session 
and take a new GUI snapshot before you can use the Go to Hierarchy Addition 
command.
 
-
-
-
-Note. After you enable the command in the Options window 
you will need to restart your debugging session and take a new GUI snapshot 
before you can use the Go to Hierarchy Addition command.
-
-
-
 
 Start a new debugging session and take a GUI snapshot.
 
@@ -262,7 +239,7 @@
 
 
 
-The IDE will open the source code in the editor at the line where the 
component is added.
+The IDE will open the source code in the editor at the line where the 
component is added, as shown below:
 
 
 
@@ -278,13 +255,10 @@
 
 
 
-Right-click the Guess button in the snapshot and choose Show Listeners from 
the popup menu.
+Right-click the Guess button in the snapshot and choose Show Listeners from 
the popup menu. When you choose Show Listeners, the IDE opens the Events 
window. You can see that the Custom Listeners node is expanded.
 
 
 
-
-When you choose Show Listeners, the IDE opens the Events window. You can 
see that the Custom Listeners node is expanded.
-
 
 
 
@@ -293,57 +267,34 @@
 
 
 
-Right-click com.toy.anagrams.ui.Anagrams$3 below the 
Custom Listeners node and choose Go to Component Source in the popup menu.
+Right-click com.toy.anagrams.ui.Anagrams$3 below the 
Custom Listeners node and choose Go to Component Source in the popup menu. The 
source code opens in the editor at the line where the listener is defined.
 
-
-
-
-The source code opens in the editor at the line where the listener is 
defined.
-
-
-
 
-Select the empty text field in the snapshot.
+Select the empty text field in the snapshot. Alternatively, you can select 
the  guessedWord  text field in the Navigator window. When you 
select the text field, the items in the Events window will change automatically 
to display the 

[netbeans-website] branch master updated (9ff8c04 -> e45bf90)

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


from 9ff8c04  Merge pull request #360 from apache/geertjanw-patch-4
 add 19934b8  Tweaking 'Using the Visual Debugger in NetBeans IDE'
 new e45bf90  Merge pull request #361 from apache/geertjanw-patch-5

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/content/kb/docs/java/debug-visual.asciidoc | 48 +-
 1 file changed, 11 insertions(+), 37 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] 01/01: Merge pull request #361 from apache/geertjanw-patch-5

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit e45bf9000afcdf037a7049396acfdf45d866f840
Merge: 9ff8c04 19934b8
Author: Geertjan Wielenga 
AuthorDate: Sat May 4 16:20:50 2019 +0200

Merge pull request #361 from apache/geertjanw-patch-5

Tweaking 'Using the Visual Debugger in NetBeans IDE'

 .../src/content/kb/docs/java/debug-visual.asciidoc | 48 +-
 1 file changed, 11 insertions(+), 37 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] 01/01: Tweaking 'Using the Visual Debugger in NetBeans IDE'

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch geertjanw-patch-5
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 19934b84afd471d66b45f2f54bec8e9ee0f4c545
Author: Geertjan Wielenga 
AuthorDate: Sat May 4 16:20:27 2019 +0200

Tweaking 'Using the Visual Debugger in NetBeans IDE'
---
 .../src/content/kb/docs/java/debug-visual.asciidoc | 48 +-
 1 file changed, 11 insertions(+), 37 deletions(-)

diff --git a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc 
b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
index cf55d47..6c669e5 100644
--- a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
+++ b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
@@ -60,9 +60,7 @@ This exercise will demonstrate how to use the GUI snapshot to 
navigate to the li
 
 The commands can also be invoked from the Navigator window by right-clicking 
the component and choosing the command in the popup menu.
 
-1. In the GUI snapshot, select the Guess button.
-
-When you select a component in the snapshot, the IDE displays details about 
the selected component in the Properties window. If the Properties window is 
not visible you can choose Window > Properties from the main menu to open the 
window.
+1. In the GUI snapshot, select the Guess button. When you select a component 
in the snapshot, the IDE displays details about the selected component in the 
Properties window. If the Properties window is not visible you can choose 
Window > Properties from the main menu to open the window.
 
 image::images/debug-snapshot.png[]
 
@@ -70,15 +68,11 @@ The IDE also displays the location of the component in the 
form hierarchy in the
 
 image::images/debug-navigator.png[]
 [start=2]
-2. Right-click the Guess button in the snapshot and choose Go to Component 
Declaration from the popup menu.
-
-When you choose Go to Component Declaration the IDE opens the source file in 
the editor and moves the cursor to the line in the code where  ``guessButton``  
is declared.
+2. Right-click the Guess button in the snapshot and choose Go to Component 
Declaration from the popup menu. When you choose Go to Component Declaration 
the IDE opens the source file in the editor and moves the cursor to the line in 
the code where  ``guessButton``  is declared.
 
 image::images/debug-gotodeclaration.png[]
 [start=3]
-3. Right-click the Guess button in the snapshot again and choose Go to 
Component Source.
-
-When you choose Go to Component Source the IDE opens the source file in the 
editor and moves the cursor to the line in the source code for the JButton 
component.
+3. Right-click the Guess button in the snapshot again and choose Go to 
Component Source. When you choose Go to Component Source the IDE opens the 
source file in the editor and moves the cursor to the line in the source code 
for the JButton component.
 
 image::images/debug-gotosource.png[]
 
@@ -86,18 +80,12 @@ You can use the Go to Hierarchy Addition command in the GUI 
snapshot to locate t
 
 1. Open the Options window.
 2. Click the Java Debugger tab in the Java category in the Options window.
-
-*Note.* In NetBeans IDE 7.1 the Java Debugger tab is located in the 
Miscellaneous category in the Options window.
-[start=3]
 3. Select Visual Debugging in the list of categories and select *Track 
locations of component hierarchy changes*. Click OK.
-4. Stop your debugging session (if one is running).
-
-*Note.* After you enable the command in the Options window you will need to 
restart your debugging session and take a new GUI snapshot before you can use 
the Go to Hierarchy Addition command.
-[start=5]
+4. Stop your debugging session (if one is running). After you enable the 
command in the Options window, you will need to restart your debugging session 
and take a new GUI snapshot before you can use the Go to Hierarchy Addition 
command.
 5. Start a new debugging session and take a GUI snapshot.
 6. Right-click a component in the GUI snapshot and choose Go to Hierarchy 
Addition.
 
-The IDE will open the source code in the editor at the line where the 
component is added.
+The IDE will open the source code in the editor at the line where the 
component is added, as shown below:
 
 image::images/debug-hierarchy.png[]
 
@@ -105,34 +93,20 @@ image::images/debug-hierarchy.png[]
 
 This exercise will demonstrate how you can use the GUI snapshot and the Events 
window to explore component events, enabling you to locate component listeners 
and the events that are triggered by the components.
 
-1. Right-click the Guess button in the snapshot and choose Show Listeners from 
the popup menu.
-
-When you choose Show Listeners, the IDE opens the Events window. You can see 
that the Custom Listeners node is expanded.
+1. Right-click the Guess button in the snapshot and choose Show Listeners from 
the popup menu. When you choose Show 

[netbeans-website] branch geertjanw-patch-5 created (now 19934b8)

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch geertjanw-patch-5
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


  at 19934b8  Tweaking 'Using the Visual Debugger in NetBeans IDE'

This branch includes the following new commits:

 new 19934b8  Tweaking 'Using the Visual Debugger in NetBeans IDE'

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch asf-site updated: Automated site publishing by Jenkins build 774

2019-05-04 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 321b4e4  Automated site publishing by Jenkins build 774
321b4e4 is described below

commit 321b4e4f008e44d57b08751ca44d752be62e1cc9
Author: jenkins 
AuthorDate: Sat May 4 14:17:25 2019 +

Automated site publishing by Jenkins build 774
---
 content/kb/docs/java/debug-visual.html | 30 +++---
 1 file changed, 3 insertions(+), 27 deletions(-)

diff --git a/content/kb/docs/java/debug-visual.html 
b/content/kb/docs/java/debug-visual.html
index f0a6b23..7369934 100644
--- a/content/kb/docs/java/debug-visual.html
+++ b/content/kb/docs/java/debug-visual.html
@@ -131,38 +131,18 @@
 Select Anagram Game in the Samples  Java category. Click Next.
 
 
-Specify a location for the project. Click Finish.
+Specify a location for the project. Click Finish. When you click Finish, 
the IDE creates the project and opens the project in the Projects window.
 
-
-
-
-When you click Finish, the IDE creates the project and opens the project in 
the Projects window.
-
-
-
 
-Click the Debug button in the toolbar (Ctrl-F5; ⌘-F5 on Mac) to start the 
debugging session.
+Click the Debug button in the toolbar (Ctrl-F5; ⌘-F5 on Mac) to start the 
debugging session. Alternatively, right-click the project node in the Projects 
window and choose Debug. When you start the session, the IDE will launch the 
Anagram Game application and open the Debugging window.
 
-
-
-
-Alternatively, right-click the project node in the Projects window and 
choose Debug.
-
-
-When you start the session, the IDE will launch the Anagram Game 
application and open the Debugging window.
-
-
-For more on running the debugger, see http://www.oracle.com/pls/topic/lookup?ctx=nb8000id=NBDAG798;>About 
Running and Debugging Java Application Projects in Developing 
Applications with NetBeans IDE.
-
-
-
 
 Choose Debug  Take GUI Snapshot from the main menu.
 
 
 
 
-When you choose Take GUI Snapshot, the IDE will take a snapshot of the GUI 
and will open the snapshot in the main window.
+When you choose Take GUI Snapshot, the IDE will take a snapshot of the GUI 
and will open the snapshot in the main window, as shown below:
 
 
 
@@ -173,9 +153,6 @@
 
 
 
-
-In this guide to the visual debugger you will not use the Debugging 
window.
-
 
 
 
@@ -229,7 +206,6 @@
 
 
 
-Figure 1. Line of code where component is declared
 
 
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] 01/01: Tweaking 'Using the Visual Debugger in NetBeans IDE'

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch geertjanw-patch-4
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 174e900e60c1936336f06a14c3f3c74780feed52
Author: Geertjan Wielenga 
AuthorDate: Sat May 4 16:15:12 2019 +0200

Tweaking 'Using the Visual Debugger in NetBeans IDE'
---
 .../src/content/kb/docs/java/debug-visual.asciidoc | 22 --
 1 file changed, 4 insertions(+), 18 deletions(-)

diff --git a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc 
b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
index 46353f1..cf55d47 100644
--- a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
+++ b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
@@ -39,31 +39,17 @@ In this tutorial you will use the Anagram Game sample 
application, a Java deskto
 
 1. Choose File > New Project from the main menu (Ctrl-Shift-N; ⌘-Shift-N on 
Mac) to open the New Project wizard.
 2. Select Anagram Game in the Samples > Java category. Click Next.
-3. Specify a location for the project. Click Finish.
-
-When you click Finish, the IDE creates the project and opens the project in 
the Projects window.
-
-[start=4]
-4. Click the Debug button in the toolbar (Ctrl-F5; ⌘-F5 on Mac) to start the 
debugging session.
-
-Alternatively, right-click the project node in the Projects window and choose 
Debug.
-
-When you start the session, the IDE will launch the Anagram Game application 
and open the Debugging window.
-
-For more on running the debugger, see 
link:http://www.oracle.com/pls/topic/lookup?ctx=nb8000=NBDAG798[+About 
Running and Debugging Java Application Projects+] in _Developing Applications 
with NetBeans IDE_.
-
-[start=5]
+3. Specify a location for the project. Click Finish. When you click Finish, 
the IDE creates the project and opens the project in the Projects window.
+4. Click the Debug button in the toolbar (Ctrl-F5; ⌘-F5 on Mac) to start the 
debugging session. Alternatively, right-click the project node in the Projects 
window and choose Debug. When you start the session, the IDE will launch the 
Anagram Game application and open the Debugging window.
 5. Choose Debug > Take GUI Snapshot from the main menu.
 
-When you choose Take GUI Snapshot, the IDE will take a snapshot of the GUI and 
will open the snapshot in the main window.
+When you choose Take GUI Snapshot, the IDE will take a snapshot of the GUI and 
will open the snapshot in the main window, as shown below:
 
 [.feature]
 --
 image::images/debug-fullscreen.png[role="left", 
link="images/debug-fullscreen.png"]
 --
 
-In this guide to the visual debugger you will not use the Debugging window.
-
 == Working with the Visual Debugger
 
 The GUI snapshot is a visual debugging tool that can help you locate the 
source code for GUI components. The source code for GUI components can 
sometimes be difficult to locate and the snapshot provides a way for you to 
locate the code based on the GUI instead of searching through the code. You can 
select components in the snapshot and invoke tasks from the popup menu to view 
the source code for the component, show the listeners and set breakpoints on 
components.
@@ -88,7 +74,7 @@ image::images/debug-navigator.png[]
 
 When you choose Go to Component Declaration the IDE opens the source file in 
the editor and moves the cursor to the line in the code where  ``guessButton``  
is declared.
 
-image::images/debug-gotodeclaration.png[title="Line of code where component is 
declared"]
+image::images/debug-gotodeclaration.png[]
 [start=3]
 3. Right-click the Guess button in the snapshot again and choose Go to 
Component Source.
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch geertjanw-patch-4 created (now 174e900)

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch geertjanw-patch-4
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


  at 174e900  Tweaking 'Using the Visual Debugger in NetBeans IDE'

This branch includes the following new commits:

 new 174e900  Tweaking 'Using the Visual Debugger in NetBeans IDE'

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch master updated (faa2fa0 -> 9ff8c04)

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


from faa2fa0  Merge pull request #359 from apache/geertjanw-patch-3
 add 174e900  Tweaking 'Using the Visual Debugger in NetBeans IDE'
 new 9ff8c04  Merge pull request #360 from apache/geertjanw-patch-4

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/content/kb/docs/java/debug-visual.asciidoc | 22 --
 1 file changed, 4 insertions(+), 18 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] 01/01: Merge pull request #360 from apache/geertjanw-patch-4

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 9ff8c040145b1a18595d828b5b23d561c1b11b10
Merge: faa2fa0 174e900
Author: Geertjan Wielenga 
AuthorDate: Sat May 4 16:15:32 2019 +0200

Merge pull request #360 from apache/geertjanw-patch-4

Tweaking 'Using the Visual Debugger in NetBeans IDE'

 .../src/content/kb/docs/java/debug-visual.asciidoc | 22 --
 1 file changed, 4 insertions(+), 18 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch asf-site updated: Automated site publishing by Jenkins build 772

2019-05-04 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new e64bded  Automated site publishing by Jenkins build 772
e64bded is described below

commit e64bded803f926a6199d5b0c2db4bb72771d70e1
Author: jenkins 
AuthorDate: Sat May 4 14:13:02 2019 +

Automated site publishing by Jenkins build 772
---
 content/kb/docs/java/debug-visual.html | 10 ++
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/content/kb/docs/java/debug-visual.html 
b/content/kb/docs/java/debug-visual.html
index 5a5ebab..f0a6b23 100644
--- a/content/kb/docs/java/debug-visual.html
+++ b/content/kb/docs/java/debug-visual.html
@@ -206,7 +206,6 @@
 
 
 
-Figure 1. GUI Snapshot
 
 
 The IDE also displays the location of the component in the form hierarchy 
in the Navigator window.
@@ -215,7 +214,6 @@
 
 
 
-Figure 2. GUI Snapshot
 
 
 
@@ -231,7 +229,7 @@
 
 
 
-Figure 3. Line of code where component is declared
+Figure 1. Line of code where component is declared
 
 
 
@@ -247,7 +245,6 @@
 
 
 
-Figure 4. Line of source code for component
 
 
 You can use the Go to Hierarchy Addition command in the GUI snapshot to 
locate the line in the source code where a component is added to its container. 
The Go to Hierarchy Addition command is disabled by default. You can enable the 
command in the Options window.
@@ -295,7 +292,6 @@
 
 
 
-Figure 5. Line of source code where component is added to 
container
 
 
 
@@ -317,7 +313,6 @@
 
 
 
-Figure 6. Line of source code where component is added to 
container
 
 
 
@@ -356,7 +351,7 @@
 
 
 Select the  java.awt.event.KeyListener  listener from the 
dialog. Click OK.
-image::images/debug-select-listener.png[title="Line of source code where 
component is added to container"]
+image::images/debug-select-listener.png[]
 
 
 
@@ -377,7 +372,6 @@ image::images/debug-select-listener.png[title="Line of 
source code where compone
 
 
 
-Figure 7. Line of source code where component is added to 
container
 
 
 If you expand the "Called From" node for an event you can see 
the stack trace for the event.


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] 01/01: Merge pull request #359 from apache/geertjanw-patch-3

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit faa2fa0a415af95a809944a10dec67974485b9ce
Merge: 4702868 33af681
Author: Geertjan Wielenga 
AuthorDate: Sat May 4 16:11:11 2019 +0200

Merge pull request #359 from apache/geertjanw-patch-3

Cleaning up 'Using the Visual Debugger in NetBeans IDE'

 .../src/content/kb/docs/java/debug-visual.asciidoc | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch geertjanw-patch-3 created (now 33af681)

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch geertjanw-patch-3
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


  at 33af681  Cleaning up 'Using the Visual Debugger in NetBeans IDE'

This branch includes the following new commits:

 new 33af681  Cleaning up 'Using the Visual Debugger in NetBeans IDE'

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] 01/01: Cleaning up 'Using the Visual Debugger in NetBeans IDE'

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch geertjanw-patch-3
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 33af6817108a17f827d4232b304dfa46ca1c833d
Author: Geertjan Wielenga 
AuthorDate: Sat May 4 16:10:55 2019 +0200

Cleaning up 'Using the Visual Debugger in NetBeans IDE'
---
 .../src/content/kb/docs/java/debug-visual.asciidoc | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc 
b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
index e7ddae3..46353f1 100644
--- a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
+++ b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
@@ -78,11 +78,11 @@ The commands can also be invoked from the Navigator window 
by right-clicking the
 
 When you select a component in the snapshot, the IDE displays details about 
the selected component in the Properties window. If the Properties window is 
not visible you can choose Window > Properties from the main menu to open the 
window.
 
-image::images/debug-snapshot.png[title="GUI Snapshot"]
+image::images/debug-snapshot.png[]
 
 The IDE also displays the location of the component in the form hierarchy in 
the Navigator window.
 
-image::images/debug-navigator.png[title="GUI Snapshot"]
+image::images/debug-navigator.png[]
 [start=2]
 2. Right-click the Guess button in the snapshot and choose Go to Component 
Declaration from the popup menu.
 
@@ -94,7 +94,7 @@ image::images/debug-gotodeclaration.png[title="Line of code 
where component is d
 
 When you choose Go to Component Source the IDE opens the source file in the 
editor and moves the cursor to the line in the source code for the JButton 
component.
 
-image::images/debug-gotosource.png[title="Line of source code for component"]
+image::images/debug-gotosource.png[]
 
 You can use the Go to Hierarchy Addition command in the GUI snapshot to locate 
the line in the source code where a component is added to its container. The Go 
to Hierarchy Addition command is disabled by default. You can enable the 
command in the Options window.
 
@@ -113,7 +113,7 @@ You can use the Go to Hierarchy Addition command in the GUI 
snapshot to locate t
 
 The IDE will open the source code in the editor at the line where the 
component is added.
 
-image::images/debug-hierarchy.png[title="Line of source code where component 
is added to container"]
+image::images/debug-hierarchy.png[]
 
 === Exploring Component Events
 
@@ -123,7 +123,7 @@ This exercise will demonstrate how you can use the GUI 
snapshot and the Events w
 
 When you choose Show Listeners, the IDE opens the Events window. You can see 
that the Custom Listeners node is expanded.
 
-image::images/debug-customlisteners.png[title="Line of source code where 
component is added to container"]
+image::images/debug-customlisteners.png[]
 [start=2]
 2. Right-click *com.toy.anagrams.ui.Anagrams$3* below the Custom Listeners 
node and choose Go to Component Source in the popup menu.
 
@@ -140,7 +140,7 @@ When you select the text field, the items in the Events 
window will change autom
 Alternatively, you can right-click the Event Log node and choose Set Logging 
Events from the popup menu.
 [start=5]
 5. Select the  ``java.awt.event.KeyListener``  listener from the dialog. Click 
OK.
-image::images/debug-select-listener.png[title="Line of source code where 
component is added to container"]
+image::images/debug-select-listener.png[]
 
 This listener is now listening for keyboard events in the text field.
 [start=6]
@@ -148,7 +148,7 @@ This listener is now listening for keyboard events in the 
text field.
 
 When you type a character in the text field, the event is recorded in the 
events log. If you expand the Event Log node you can see that each keystroke is 
now logged. New events appear each time that you type in the Anagram Game 
application text field. If you expand an individual event, for example  
``keyPressed`` , you can see the properties of that event in the log.
 
-image::images/debug-eventlog.png[title="Line of source code where component is 
added to container"]
+image::images/debug-eventlog.png[]
 
 If you expand the "Called From..." node for an event you can see the stack 
trace for the event.
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch master updated (4702868 -> faa2fa0)

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


from 4702868  Merge pull request #358 from apache/geertjanw-patch-2
 add 33af681  Cleaning up 'Using the Visual Debugger in NetBeans IDE'
 new faa2fa0  Merge pull request #359 from apache/geertjanw-patch-3

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/content/kb/docs/java/debug-visual.asciidoc | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch asf-site updated: Automated site publishing by Jenkins build 770

2019-05-04 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 3618c65  Automated site publishing by Jenkins build 770
3618c65 is described below

commit 3618c656c70d57490586daf0335ead354f83b9a7
Author: jenkins 
AuthorDate: Sat May 4 14:07:09 2019 +

Automated site publishing by Jenkins build 770
---
 content/kb/docs/java/debug-visual.html | 22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/content/kb/docs/java/debug-visual.html 
b/content/kb/docs/java/debug-visual.html
index 5224dc8..5a5ebab 100644
--- a/content/kb/docs/java/debug-visual.html
+++ b/content/kb/docs/java/debug-visual.html
@@ -139,7 +139,7 @@
 When you click Finish, the IDE creates the project and opens the project in 
the Projects window.
 
 
-
+
 
 Click the Debug button in the toolbar (Ctrl-F5; ⌘-F5 on Mac) to start the 
debugging session.
 
@@ -155,7 +155,7 @@
 For more on running the debugger, see http://www.oracle.com/pls/topic/lookup?ctx=nb8000id=NBDAG798;>About 
Running and Debugging Java Application Projects in Developing 
Applications with NetBeans IDE.
 
 
-
+
 
 Choose Debug  Take GUI Snapshot from the main menu.
 
@@ -218,7 +218,7 @@
 Figure 2. GUI Snapshot
 
 
-
+
 
 Right-click the Guess button in the snapshot and choose Go to Component 
Declaration from the popup menu.
 
@@ -234,7 +234,7 @@
 Figure 3. Line of code where component is declared
 
 
-
+
 
 Right-click the Guess button in the snapshot again and choose Go to 
Component Source.
 
@@ -266,7 +266,7 @@
 Note. In NetBeans IDE 7.1 the Java Debugger tab is located 
in the Miscellaneous category in the Options window.
 
 
-
+
 
 Select Visual Debugging in the list of categories and select Track 
locations of component hierarchy changes. Click OK.
 
@@ -279,7 +279,7 @@
 Note. After you enable the command in the Options window 
you will need to restart your debugging session and take a new GUI snapshot 
before you can use the Go to Hierarchy Addition command.
 
 
-
+
 
 Start a new debugging session and take a GUI snapshot.
 
@@ -320,7 +320,7 @@
 Figure 6. Line of source code where component is added to 
container
 
 
-
+
 
 Right-click com.toy.anagrams.ui.Anagrams$3 below the 
Custom Listeners node and choose Go to Component Source in the popup menu.
 
@@ -330,7 +330,7 @@
 The source code opens in the editor at the line where the listener is 
defined.
 
 
-
+
 
 Select the empty text field in the snapshot.
 
@@ -343,7 +343,7 @@
 When you select the text field, the items in the Events window will change 
automatically to display the listeners for the selected component.
 
 
-
+
 
 In the Events window, double-click the Event Log node to open the Select 
Listener window.
 
@@ -353,7 +353,7 @@
 Alternatively, you can right-click the Event Log node and choose Set 
Logging Events from the popup menu.
 
 
-
+
 
 Select the  java.awt.event.KeyListener  listener from the 
dialog. Click OK.
 image::images/debug-select-listener.png[title="Line of source code where 
component is added to container"]
@@ -364,7 +364,7 @@ image::images/debug-select-listener.png[title="Line of 
source code where compone
 This listener is now listening for keyboard events in the text field.
 
 
-
+
 
 In the Anagram Game application, type some characters in the text field.
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] 01/01: Fixing broken numbering

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch geertjanw-patch-2
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit a4be6721869ac93fc7388e8b145d2a6885593b90
Author: Geertjan Wielenga 
AuthorDate: Sat May 4 16:04:37 2019 +0200

Fixing broken numbering
---
 .../src/content/kb/docs/java/debug-visual.asciidoc  | 17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc 
b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
index 182c658..e7ddae3 100644
--- a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
+++ b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
@@ -43,6 +43,7 @@ In this tutorial you will use the Anagram Game sample 
application, a Java deskto
 
 When you click Finish, the IDE creates the project and opens the project in 
the Projects window.
 
+[start=4]
 4. Click the Debug button in the toolbar (Ctrl-F5; ⌘-F5 on Mac) to start the 
debugging session.
 
 Alternatively, right-click the project node in the Projects window and choose 
Debug.
@@ -51,6 +52,7 @@ When you start the session, the IDE will launch the Anagram 
Game application and
 
 For more on running the debugger, see 
link:http://www.oracle.com/pls/topic/lookup?ctx=nb8000=NBDAG798[+About 
Running and Debugging Java Application Projects+] in _Developing Applications 
with NetBeans IDE_.
 
+[start=5]
 5. Choose Debug > Take GUI Snapshot from the main menu.
 
 When you choose Take GUI Snapshot, the IDE will take a snapshot of the GUI and 
will open the snapshot in the main window.
@@ -81,11 +83,13 @@ image::images/debug-snapshot.png[title="GUI Snapshot"]
 The IDE also displays the location of the component in the form hierarchy in 
the Navigator window.
 
 image::images/debug-navigator.png[title="GUI Snapshot"]
+[start=2]
 2. Right-click the Guess button in the snapshot and choose Go to Component 
Declaration from the popup menu.
 
 When you choose Go to Component Declaration the IDE opens the source file in 
the editor and moves the cursor to the line in the code where  ``guessButton``  
is declared.
 
 image::images/debug-gotodeclaration.png[title="Line of code where component is 
declared"]
+[start=3]
 3. Right-click the Guess button in the snapshot again and choose Go to 
Component Source.
 
 When you choose Go to Component Source the IDE opens the source file in the 
editor and moves the cursor to the line in the source code for the JButton 
component.
@@ -98,12 +102,12 @@ You can use the Go to Hierarchy Addition command in the 
GUI snapshot to locate t
 2. Click the Java Debugger tab in the Java category in the Options window.
 
 *Note.* In NetBeans IDE 7.1 the Java Debugger tab is located in the 
Miscellaneous category in the Options window.
-
+[start=3]
 3. Select Visual Debugging in the list of categories and select *Track 
locations of component hierarchy changes*. Click OK.
 4. Stop your debugging session (if one is running).
 
 *Note.* After you enable the command in the Options window you will need to 
restart your debugging session and take a new GUI snapshot before you can use 
the Go to Hierarchy Addition command.
-
+[start=5]
 5. Start a new debugging session and take a GUI snapshot.
 6. Right-click a component in the GUI snapshot and choose Go to Hierarchy 
Addition.
 
@@ -120,25 +124,26 @@ This exercise will demonstrate how you can use the GUI 
snapshot and the Events w
 When you choose Show Listeners, the IDE opens the Events window. You can see 
that the Custom Listeners node is expanded.
 
 image::images/debug-customlisteners.png[title="Line of source code where 
component is added to container"]
+[start=2]
 2. Right-click *com.toy.anagrams.ui.Anagrams$3* below the Custom Listeners 
node and choose Go to Component Source in the popup menu.
 
 The source code opens in the editor at the line where the listener is defined.
-
+[start=3]
 3. Select the empty text field in the snapshot.
 
 Alternatively, you can select the  ``guessedWord``  text field in the 
Navigator window.
 
 When you select the text field, the items in the Events window will change 
automatically to display the listeners for the selected component.
-
+[start=4]
 4. In the Events window, double-click the Event Log node to open the Select 
Listener window.
 
 Alternatively, you can right-click the Event Log node and choose Set Logging 
Events from the popup menu.
-
+[start=5]
 5. Select the  ``java.awt.event.KeyListener``  listener from the dialog. Click 
OK.
 image::images/debug-select-listener.png[title="Line of source code where 
component is added to container"]
 
 This listener is now listening for keyboard events in the text field.
-
+[start=6]
 6. In the Anagram Game application, type some characters in the text field.
 
 When you type a character in the text field, the event is recorded in the 
events log. If 

[netbeans-website] branch master updated (5acb09a -> 4702868)

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


from 5acb09a  [NETBEANS-2078] Archiving NB 10.0 (#344)
 add a4be672  Fixing broken numbering
 new 4702868  Merge pull request #358 from apache/geertjanw-patch-2

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/content/kb/docs/java/debug-visual.asciidoc  | 17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch geertjanw-patch-2 created (now a4be672)

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch geertjanw-patch-2
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git.


  at a4be672  Fixing broken numbering

This branch includes the following new commits:

 new a4be672  Fixing broken numbering

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] 01/01: Merge pull request #358 from apache/geertjanw-patch-2

2019-05-04 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 4702868fdfe66fa5489aa6902b0d45e1386c4d07
Merge: 5acb09a a4be672
Author: Geertjan Wielenga 
AuthorDate: Sat May 4 16:04:59 2019 +0200

Merge pull request #358 from apache/geertjanw-patch-2

Fixing broken numbering

 .../src/content/kb/docs/java/debug-visual.asciidoc  | 17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2295) Update to knockout.js 3.5.0 to solve security issues

2019-05-04 Thread Jaroslav Tulach (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833046#comment-16833046
 ] 

Jaroslav Tulach commented on NETBEANS-2295:
---

Created a PR: [https://github.com/apache/netbeans-html4j/pull/20] to upgrade to 
3.5.0 then it is essential to create new release of HTML/Java.

> Update to knockout.js 3.5.0 to solve security issues
> 
>
> Key: NETBEANS-2295
> URL: https://issues.apache.org/jira/browse/NETBEANS-2295
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - HTML4J
>Affects Versions: 10.0
>Reporter: Jaroslav Tulach
>Assignee: Jaroslav Tulach
>Priority: Major
>
> h2. org-netbeans-html-ko4j.jar: knockout-3.4.0.js
> {color:#505f79}in 
> platform/modules/org-netbeans-html-ko4j.jar/org/netbeans/html/ko4j/knockout-3.4.0.js{color}
> ||Vulnerability||Resolution||
> |[https://github.com/knockout/knockout/issues/1244]| * cross site scripting 
> injection
>  * only exhibited in Internet Explorer 7 and older which is effectively not 
> used at all in 2019
>  * fixed in knockout 3.5.0+\||



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] branch master updated (b618068 -> a74337e)

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git.


from b618068  Use triggerEvent to notify about an index change
 new a458fd4  Assert that unused FX presenters can be GCed
 new eb8179d  Avoid null presenter as soon as possible
 new dd0f930  No presenter means empty MapObjs.toArray
 new 998a508  Allow Presenters to define their own way to reference itself
 new 9f5b51d  Documenting use of Fn.ref
 new 9a279a2  Avoid memory leaks via ChangeListener. Workaround FX problem 
on JDK11.
 new a74337e  Point to PR-19 that introduces Fn.Ref

The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 boot-fx/pom.xml|   7 +
 .../java/net/java/html/boot/fx/FXBrowsers.java |   4 +
 .../netbeans/html/boot/fx/AbstractFXPresenter.java |  32 +++-
 .../netbeans/html/boot/fx/InitializeWebView.java   |  72 +---
 .../html/boot/fx/AbstractFXPresenterTest.java  |  79 +
 boot/pom.xml   |   7 +
 .../java/org/netbeans/html/boot/impl/FnUtils.java  |   3 +
 .../html/boot/impl/JavaScriptProcesor.java |  18 +-
 .../netbeans/html/boot/spi/FallbackIdentity.java   |  49 +++---
 .../main/java/org/netbeans/html/boot/spi/Fn.java   | 189 +++--
 .../java/org/netbeans/html/boot/impl/FnTest.java   |   5 +
 .../netbeans/html/boot/impl/JsClassLoaderBase.java |   4 +-
 .../html/boot/spi/FallbackIdentityTest.java|  98 +++
 ko4j/pom.xml   |   6 +
 .../java/org/netbeans/html/ko4j/CacheObjs.java |   8 +-
 .../main/java/org/netbeans/html/ko4j/Knockout.java |  16 +-
 .../main/java/org/netbeans/html/ko4j/MapObjs.java  |  63 ---
 .../org/netbeans/html/ko4j/DoubleViewTest.java |  72 +++-
 .../java/org/netbeans/html/ko4j/MapObjsTest.java   |   7 +
 src/main/javadoc/overview.html |  14 +-
 20 files changed, 608 insertions(+), 145 deletions(-)
 create mode 100644 
boot-fx/src/test/java/org/netbeans/html/boot/fx/AbstractFXPresenterTest.java
 copy json/src/main/java/org/netbeans/html/json/impl/LinkedListTypes.java => 
boot/src/main/java/org/netbeans/html/boot/spi/FallbackIdentity.java (53%)
 create mode 100644 
boot/src/test/java/org/netbeans/html/boot/spi/FallbackIdentityTest.java


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] 05/07: Documenting use of Fn.ref

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit 9f5b51df2e8db2e66f31085365b5d5b43d7ede83
Author: Jaroslav Tulach 
AuthorDate: Sat May 4 10:40:56 2019 +0200

Documenting use of Fn.ref
---
 .../netbeans/html/boot/fx/AbstractFXPresenter.java | 12 ++--
 .../html/boot/fx/AbstractFXPresenterTest.java  | 12 ++--
 .../java/org/netbeans/html/boot/impl/FnUtils.java  |  4 +-
 .../html/boot/impl/JavaScriptProcesor.java | 10 +--
 .../netbeans/html/boot/spi/FallbackIdentity.java   |  4 +-
 .../main/java/org/netbeans/html/boot/spi/Fn.java   | 77 ++
 .../html/boot/spi/FallbackIdentityTest.java| 19 +++---
 .../java/org/netbeans/html/ko4j/CacheObjs.java |  4 +-
 .../main/java/org/netbeans/html/ko4j/Knockout.java |  2 +-
 .../main/java/org/netbeans/html/ko4j/MapObjs.java  | 18 ++---
 10 files changed, 107 insertions(+), 55 deletions(-)

diff --git 
a/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java 
b/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java
index 26e1329..0e1737a 100644
--- a/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java
+++ b/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java
@@ -50,7 +50,7 @@ import org.netbeans.html.boot.spi.Fn;
  * @author Jaroslav Tulach
  */
 public abstract class AbstractFXPresenter implements Fn.Presenter,
-Fn.KeepAlive, Fn.ToJavaScript, Fn.FromJavaScript, Executor, Cloneable, 
Fn.Identity {
+Fn.KeepAlive, Fn.ToJavaScript, Fn.FromJavaScript, Executor, Cloneable, 
Fn.Ref {
 static final Logger LOG = Logger.getLogger(FXPresenter.class.getName());
 protected static int cnt;
 protected Runnable onLoad;
@@ -605,7 +605,7 @@ Fn.KeepAlive, Fn.ToJavaScript, Fn.FromJavaScript, Executor, 
Cloneable, Fn.Identi
 }
 
 @Override
-public synchronized Fn.Identity id() {
+public synchronized Fn.Ref reference() {
 if (id == null) {
 id = new Id(this);
 }
@@ -613,22 +613,22 @@ Fn.KeepAlive, Fn.ToJavaScript, Fn.FromJavaScript, 
Executor, Cloneable, Fn.Identi
 }
 
 @Override
-public Fn.Presenter presenter() {
+public AbstractFXPresenter presenter() {
 return this;
 }
 
-private static final class Id extends WeakReference 
implements Fn.Identity {
+private static final class Id extends WeakReference 
implements Fn.Ref {
 Id(AbstractFXPresenter referent) {
 super(referent);
 }
 
 @Override
-public Fn.Identity id() {
+public Fn.Ref reference() {
 return this;
 }
 
 @Override
-public Fn.Presenter presenter() {
+public AbstractFXPresenter presenter() {
 return get();
 }
 }
diff --git 
a/boot-fx/src/test/java/org/netbeans/html/boot/fx/AbstractFXPresenterTest.java 
b/boot-fx/src/test/java/org/netbeans/html/boot/fx/AbstractFXPresenterTest.java
index 7176dbf..1c3a1cc 100644
--- 
a/boot-fx/src/test/java/org/netbeans/html/boot/fx/AbstractFXPresenterTest.java
+++ 
b/boot-fx/src/test/java/org/netbeans/html/boot/fx/AbstractFXPresenterTest.java
@@ -53,14 +53,16 @@ public class AbstractFXPresenterTest {
 }
 };
 
-Fn.Identity id1 = Fn.id(p1);
-Fn.Identity id12 = Fn.id(p1);
+Fn.Ref id1 = Fn.ref(p1);
+Fn.Ref id12 = Fn.ref(p1);
 
 assertSame(id1, id12);
 assertEquals(id1, id12);
+assertSame(p1, id1.presenter());
 
-Fn.Identity id2 = Fn.id(p2);
-Fn.Identity id22 = Fn.id(p2);
+Fn.Ref id2 = Fn.ref(p2);
+Fn.Ref id22 = Fn.ref(p2);
+assertSame(p2, id2.presenter());
 
 assertSame(id2, id22);
 assertEquals(id2, id22);
@@ -72,6 +74,6 @@ public class AbstractFXPresenterTest {
 NbTestCase.assertGC("Presenter can disappear", ref1);
 
 AbstractFXPresenter p2Clone = p2.clone();
-Assert.assertNotEquals(p2.id(), p2Clone.id());
+Assert.assertNotEquals(p2.reference(), p2Clone.reference());
 }
 }
diff --git a/boot/src/main/java/org/netbeans/html/boot/impl/FnUtils.java 
b/boot/src/main/java/org/netbeans/html/boot/impl/FnUtils.java
index 02e753f..ed390dd 100644
--- a/boot/src/main/java/org/netbeans/html/boot/impl/FnUtils.java
+++ b/boot/src/main/java/org/netbeans/html/boot/impl/FnUtils.java
@@ -651,8 +651,8 @@ public final class FnUtils {
 if (name.equals(Fn.Presenter.class.getName())) {
 return Fn.Presenter.class;
 }
-if (name.equals(Fn.Identity.class.getName())) {
-return Fn.Identity.class;
+if (name.equals(Fn.Ref.class.getName())) {
+return Fn.Ref.class;
 }
 if (name.equals(Fn.ToJavaScript.class.getName())) {
 return Fn.ToJavaScript.class;
diff --git 

[netbeans-html4j] 04/07: Allow Presenters to define their own way to reference itself

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit 998a5086c49ab1a16b1e926c53d0a49a13bb4482
Author: Jaroslav Tulach 
AuthorDate: Sat May 4 10:10:31 2019 +0200

Allow Presenters to define their own way to reference itself
---
 boot-fx/pom.xml|  7 ++
 .../netbeans/html/boot/fx/AbstractFXPresenter.java | 32 ++-
 .../html/boot/fx/AbstractFXPresenterTest.java  | 77 +
 boot/pom.xml   |  7 ++
 .../java/org/netbeans/html/boot/impl/FnUtils.java  |  3 +
 .../html/boot/impl/JavaScriptProcesor.java | 19 -
 .../netbeans/html/boot/spi/FallbackIdentity.java   | 56 +
 .../main/java/org/netbeans/html/boot/spi/Fn.java   | 57 +++--
 .../html/boot/spi/FallbackIdentityTest.java| 97 ++
 .../java/org/netbeans/html/ko4j/CacheObjs.java | 10 +--
 .../main/java/org/netbeans/html/ko4j/Knockout.java |  3 +-
 .../main/java/org/netbeans/html/ko4j/MapObjs.java  | 26 +++---
 12 files changed, 345 insertions(+), 49 deletions(-)

diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml
index f486bc4..d095f04 100644
--- a/boot-fx/pom.xml
+++ b/boot-fx/pom.xml
@@ -83,6 +83,13 @@
   javafx-web
   provided
 
+
+  org.netbeans.api
+  org-netbeans-modules-nbjunit
+  ${netbeans.version}
+  test
+  jar
+
   
 A presentation provider to show JavaFX WebView 
 when a Java/HTML based application is about to boot.
diff --git 
a/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java 
b/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java
index 965d337..26e1329 100644
--- a/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java
+++ b/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java
@@ -50,7 +50,7 @@ import org.netbeans.html.boot.spi.Fn;
  * @author Jaroslav Tulach
  */
 public abstract class AbstractFXPresenter implements Fn.Presenter,
-Fn.KeepAlive, Fn.ToJavaScript, Fn.FromJavaScript, Executor, Cloneable {
+Fn.KeepAlive, Fn.ToJavaScript, Fn.FromJavaScript, Executor, Cloneable, 
Fn.Identity {
 static final Logger LOG = Logger.getLogger(FXPresenter.class.getName());
 protected static int cnt;
 protected Runnable onLoad;
@@ -62,6 +62,7 @@ Fn.KeepAlive, Fn.ToJavaScript, Fn.FromJavaScript, Executor, 
Cloneable {
 private JSObject newPOJOImpl;
 private Object undefined;
 private JavaValues values;
+private Id id;
 
 @Override
 protected AbstractFXPresenter clone() {
@@ -72,6 +73,7 @@ Fn.KeepAlive, Fn.ToJavaScript, Fn.FromJavaScript, Executor, 
Cloneable {
 p.undefined = null;
 p.newPOJOImpl = null;
 p.values = null;
+p.id = null;
 return p;
 } catch (CloneNotSupportedException ex) {
 throw new IllegalStateException(ex);
@@ -602,4 +604,32 @@ Fn.KeepAlive, Fn.ToJavaScript, Fn.FromJavaScript, 
Executor, Cloneable {
 return pojo[0];
 }
 
+@Override
+public synchronized Fn.Identity id() {
+if (id == null) {
+id = new Id(this);
+}
+return id;
+}
+
+@Override
+public Fn.Presenter presenter() {
+return this;
+}
+
+private static final class Id extends WeakReference 
implements Fn.Identity {
+Id(AbstractFXPresenter referent) {
+super(referent);
+}
+
+@Override
+public Fn.Identity id() {
+return this;
+}
+
+@Override
+public Fn.Presenter presenter() {
+return get();
+}
+}
 }
diff --git 
a/boot-fx/src/test/java/org/netbeans/html/boot/fx/AbstractFXPresenterTest.java 
b/boot-fx/src/test/java/org/netbeans/html/boot/fx/AbstractFXPresenterTest.java
new file mode 100644
index 000..7176dbf
--- /dev/null
+++ 
b/boot-fx/src/test/java/org/netbeans/html/boot/fx/AbstractFXPresenterTest.java
@@ -0,0 +1,77 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.html.boot.fx;
+
+import 

[netbeans-html4j] 02/07: Avoid null presenter as soon as possible

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit eb8179dc9a67de9b0aebd2b18ddfd6277a508f0e
Author: Jaroslav Tulach 
AuthorDate: Sat May 4 09:00:39 2019 +0200

Avoid null presenter as soon as possible
---
 boot/src/main/java/org/netbeans/html/boot/spi/Fn.java| 4 
 boot/src/test/java/org/netbeans/html/boot/impl/FnTest.java   | 5 +
 .../src/test/java/org/netbeans/html/boot/impl/JsClassLoaderBase.java | 4 ++--
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java 
b/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java
index 3dc4e30..0b8eb35 100644
--- a/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java
+++ b/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java
@@ -169,9 +169,13 @@ public abstract class Fn {
  * 
  * @param p the presenter that should be active until closable is closed
  * @return the closable to close
+ * @throws NullPointerException if the {@code p} is {@code null}
  * @since 0.7
  */
 public static Closeable activate(Presenter p) {
+if (p == null) {
+throw new NullPointerException();
+}
 return FnContext.activate(p);
 }
 
diff --git a/boot/src/test/java/org/netbeans/html/boot/impl/FnTest.java 
b/boot/src/test/java/org/netbeans/html/boot/impl/FnTest.java
index 89689bc..60a824a 100644
--- a/boot/src/test/java/org/netbeans/html/boot/impl/FnTest.java
+++ b/boot/src/test/java/org/netbeans/html/boot/impl/FnTest.java
@@ -124,6 +124,11 @@ public class FnTest extends JsClassLoaderBase {
 methodClass = loader.loadClass(JsMethods.class.getName());
 close.close();
 }
+
+@Test(expectedExceptions = NullPointerException.class)
+public void nullProcessorNPE() {
+Fn.activate(null);
+}
 
 @Test public void flushingPresenter() throws IOException {
 class FP implements Fn.Presenter, Flushable {
diff --git 
a/boot/src/test/java/org/netbeans/html/boot/impl/JsClassLoaderBase.java 
b/boot/src/test/java/org/netbeans/html/boot/impl/JsClassLoaderBase.java
index e37ffec..06aafaf 100644
--- a/boot/src/test/java/org/netbeans/html/boot/impl/JsClassLoaderBase.java
+++ b/boot/src/test/java/org/netbeans/html/boot/impl/JsClassLoaderBase.java
@@ -205,7 +205,7 @@ public class JsClassLoaderBase {
 @Test public void plusOrMul() throws Throwable {
 Method st = methodClass.getMethod("plusOrMul", int.class, int.class);
 assertNotNull(Fn.activePresenter(), "Is there a presenter?");
-Closeable c = Fn.activate(null);
+Closeable c = FnContext.activate(null);
 try {
 assertNull(Fn.activePresenter(), "No presenter now");
 assertEquals(st.invoke(null, 6, 7), 42, "Mul in Java");
@@ -214,7 +214,7 @@ public class JsClassLoaderBase {
 }
 assertNotNull(Fn.activePresenter(), "Is there a presenter again");
 assertEquals(st.invoke(null, 6, 7), 13, "Plus in JavaScript");
-c = Fn.activate(null);
+c = FnContext.activate(null);
 try {
 assertNull(Fn.activePresenter(), "No presenter again");
 assertEquals(st.invoke(null, 6, 7), 42, "Mul in Java");


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] 03/07: No presenter means empty MapObjs.toArray

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit dd0f930218fe9820c40b583d12f5e2a6028999f9
Author: Jaroslav Tulach 
AuthorDate: Sat May 4 09:01:21 2019 +0200

No presenter means empty MapObjs.toArray
---
 .../main/java/org/netbeans/html/ko4j/Knockout.java|  2 --
 .../src/main/java/org/netbeans/html/ko4j/MapObjs.java | 19 ---
 .../test/java/org/netbeans/html/ko4j/MapObjsTest.java |  7 +++
 3 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/ko4j/src/main/java/org/netbeans/html/ko4j/Knockout.java 
b/ko4j/src/main/java/org/netbeans/html/ko4j/Knockout.java
index e95ff87..f2f7635 100644
--- a/ko4j/src/main/java/org/netbeans/html/ko4j/Knockout.java
+++ b/ko4j/src/main/java/org/netbeans/html/ko4j/Knockout.java
@@ -21,8 +21,6 @@ package org.netbeans.html.ko4j;
 import java.io.Closeable;
 import java.io.IOException;
 import java.lang.ref.Reference;
-import java.util.HashMap;
-import java.util.Map;
 import java.util.concurrent.Executor;
 import net.java.html.js.JavaScriptBody;
 import net.java.html.js.JavaScriptResource;
diff --git a/ko4j/src/main/java/org/netbeans/html/ko4j/MapObjs.java 
b/ko4j/src/main/java/org/netbeans/html/ko4j/MapObjs.java
index bf9d998..96114ec 100644
--- a/ko4j/src/main/java/org/netbeans/html/ko4j/MapObjs.java
+++ b/ko4j/src/main/java/org/netbeans/html/ko4j/MapObjs.java
@@ -33,8 +33,8 @@ final class MapObjs {
 reset();
 }
 
-static void reset() {
-setOnlyPresenter(null);
+synchronized static void reset() {
+onlyPresenter = null;
 usePresenter = true;
 }
 
@@ -74,7 +74,7 @@ final class MapObjs {
 return key == getOnlyPresenter() ? now : null;
 }
 
-static Object[] remove(Object now, Fn.Presenter key) {
+synchronized static Object[] remove(Object now, Fn.Presenter key) {
 if (now instanceof MapObjs) {
 return ((MapObjs)now).remove(key);
 }
@@ -85,7 +85,11 @@ final class MapObjs {
 if (now instanceof MapObjs) {
 return ((MapObjs) now).all.toArray();
 }
-return new Object[] { getOnlyPresenter(), now };
+final Fn.Presenter p = getOnlyPresenter();
+if (p == null) {
+return new Object[0];
+}
+return new Object[] { p, now };
 }
 
 private Object put(Fn.Presenter key, Object js) {
@@ -127,10 +131,11 @@ final class MapObjs {
 }
 
 private static Fn.Presenter getOnlyPresenter() {
-return onlyPresenter.get();
+final Fn.Presenter p = onlyPresenter == null ? null : 
onlyPresenter.get();
+return p;
 }
 
-private static void setOnlyPresenter(Fn.Presenter aOnlyPresenter) {
-onlyPresenter = new WeakReference(aOnlyPresenter);
+private static void setOnlyPresenter(Fn.Presenter p) {
+onlyPresenter = new WeakReference(p);
 }
 }
diff --git a/ko4j/src/test/java/org/netbeans/html/ko4j/MapObjsTest.java 
b/ko4j/src/test/java/org/netbeans/html/ko4j/MapObjsTest.java
index 43c5c18..1f397d8 100644
--- a/ko4j/src/test/java/org/netbeans/html/ko4j/MapObjsTest.java
+++ b/ko4j/src/test/java/org/netbeans/html/ko4j/MapObjsTest.java
@@ -20,6 +20,7 @@ package org.netbeans.html.ko4j;
 
 import java.io.Reader;
 import java.net.URL;
+import java.util.Arrays;
 import org.netbeans.html.boot.spi.Fn;
 import static org.testng.Assert.*;
 import org.testng.annotations.BeforeMethod;
@@ -41,6 +42,12 @@ public class MapObjsTest {
 }
 
 @Test
+public void testToArrayNoPresenterYet() {
+Object[] arr = MapObjs.toArray(null);
+assertEquals(arr.length, 0, "Empty array: " + Arrays.toString(arr));
+}
+
+@Test
 public void testValuesForP1P2() {
 Value v1 = new Value();
 Value v2 = new Value();


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-html4j] 06/07: Avoid memory leaks via ChangeListener. Workaround FX problem on JDK11.

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit 9a279a217f32517e2bd72364564ece28555e5783
Author: Jaroslav Tulach 
AuthorDate: Sat May 4 11:29:05 2019 +0200

Avoid memory leaks via ChangeListener.
Workaround FX problem on JDK11.
---
 .../java/net/java/html/boot/fx/FXBrowsers.java |  4 ++
 .../netbeans/html/boot/fx/InitializeWebView.java   | 72 ++
 .../org/netbeans/html/ko4j/DoubleViewTest.java | 41 ++--
 3 files changed, 85 insertions(+), 32 deletions(-)

diff --git a/boot-fx/src/main/java/net/java/html/boot/fx/FXBrowsers.java 
b/boot-fx/src/main/java/net/java/html/boot/fx/FXBrowsers.java
index 4ae8909..8d310fb 100644
--- a/boot-fx/src/main/java/net/java/html/boot/fx/FXBrowsers.java
+++ b/boot-fx/src/main/java/net/java/html/boot/fx/FXBrowsers.java
@@ -25,6 +25,7 @@ import javafx.scene.web.WebView;
 import net.java.html.BrwsrCtx;
 import net.java.html.boot.BrowserBuilder;
 import net.java.html.js.JavaScriptBody;
+import org.netbeans.html.boot.spi.Fn;
 import org.netbeans.html.context.spi.Contexts;
 import org.netbeans.html.context.spi.Contexts.Id;
 
@@ -200,6 +201,9 @@ public final class FXBrowsers {
  */
 public static void runInBrowser(WebView webView, Runnable code) {
 Object ud = webView.getUserData();
+if (ud instanceof Fn.Ref) {
+ud = ((Fn.Ref)ud).presenter();
+}
 if (!(ud instanceof InitializeWebView)) {
 throw new IllegalArgumentException();
 }
diff --git 
a/boot-fx/src/main/java/org/netbeans/html/boot/fx/InitializeWebView.java 
b/boot-fx/src/main/java/org/netbeans/html/boot/fx/InitializeWebView.java
index b093565..4853ffe 100644
--- a/boot-fx/src/main/java/org/netbeans/html/boot/fx/InitializeWebView.java
+++ b/boot-fx/src/main/java/org/netbeans/html/boot/fx/InitializeWebView.java
@@ -18,6 +18,7 @@
  */
 package org.netbeans.html.boot.fx;
 
+import java.lang.ref.WeakReference;
 import java.net.URL;
 import javafx.beans.value.ChangeListener;
 import javafx.beans.value.ObservableValue;
@@ -35,7 +36,7 @@ public final class InitializeWebView extends 
AbstractFXPresenter implements Runn
 public InitializeWebView(WebView webView, Runnable onLoad) {
 this.webView = webView;
 this.myLoad = onLoad;
-webView.setUserData(this);
+webView.setUserData(reference());
 }
 
 @Override
@@ -54,32 +55,7 @@ public final class InitializeWebView extends 
AbstractFXPresenter implements Runn
 @Override
 WebView findView(final URL resource) {
 final Worker w = webView.getEngine().getLoadWorker();
-w.stateProperty().addListener(new ChangeListener() {
-private String previous;
-
-@Override
-public void changed(ObservableValue ov, 
Worker.State t, Worker.State newState) {
-if (newState.equals(Worker.State.SUCCEEDED)) {
-if (checkValid()) {
-onPageLoad();
-}
-}
-if (newState.equals(Worker.State.FAILED)) {
-checkValid();
-throw new IllegalStateException("Failed to load " + 
resource);
-}
-}
-
-private boolean checkValid() {
-final String crnt = webView.getEngine().getLocation();
-if (previous != null && !previous.equals(crnt)) {
-w.stateProperty().removeListener(this);
-return false;
-}
-previous = crnt;
-return true;
-}
-});
+w.stateProperty().addListener(new FindViewListener(this, resource, w));
 return webView;
 }
 
@@ -87,4 +63,46 @@ public final class InitializeWebView extends 
AbstractFXPresenter implements Runn
 ctx.execute(r);
 }
 
+private static class FindViewListener extends 
WeakReference
+implements ChangeListener {
+
+private final URL resource;
+private final Worker w;
+
+public FindViewListener(InitializeWebView view, URL resource, 
Worker w) {
+super(view);
+this.resource = resource;
+this.w = w;
+}
+private String previous;
+
+@Override
+public void changed(ObservableValue ov, 
Worker.State t, Worker.State newState) {
+InitializeWebView view = get();
+if (view == null) {
+w.stateProperty().removeListener(this);
+return;
+}
+if (newState.equals(Worker.State.SUCCEEDED)) {
+if (checkValid(view)) {
+view.onPageLoad();
+}
+}
+if (newState.equals(Worker.State.FAILED)) {
+checkValid(view);
+throw new 

[netbeans-html4j] 01/07: Assert that unused FX presenters can be GCed

2019-05-04 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git

commit a458fd4bb91836518d9a6a831eb34ff2ea9b888d
Author: Jaroslav Tulach 
AuthorDate: Sat May 4 07:30:13 2019 +0200

Assert that unused FX presenters can be GCed
---
 .../html/boot/impl/JavaScriptProcesor.java |   7 +-
 .../main/java/org/netbeans/html/boot/spi/Fn.java   | 127 -
 ko4j/pom.xml   |   6 +
 .../java/org/netbeans/html/ko4j/CacheObjs.java |   8 +-
 .../main/java/org/netbeans/html/ko4j/Knockout.java |  15 ++-
 .../main/java/org/netbeans/html/ko4j/MapObjs.java  |  50 +---
 .../org/netbeans/html/ko4j/DoubleViewTest.java |  41 ++-
 7 files changed, 174 insertions(+), 80 deletions(-)

diff --git 
a/boot/src/main/java/org/netbeans/html/boot/impl/JavaScriptProcesor.java 
b/boot/src/main/java/org/netbeans/html/boot/impl/JavaScriptProcesor.java
index 7e13130..3f259fa 100644
--- a/boot/src/main/java/org/netbeans/html/boot/impl/JavaScriptProcesor.java
+++ b/boot/src/main/java/org/netbeans/html/boot/impl/JavaScriptProcesor.java
@@ -400,16 +400,16 @@ public final class JavaScriptProcesor extends 
AbstractProcessor {
 source.append("package ").append(pkgName).append(";\n");
 source.append("public final class $JsCallbacks$ {\n");
 source.append("  static final $JsCallbacks$ VM = new 
$JsCallbacks$(null);\n");
-source.append("  private final 
org.netbeans.html.boot.spi.Fn.Presenter p;\n");
+source.append("  private final 
java.lang.ref.Reference ref;\n");
 source.append("  private $JsCallbacks$ next;\n");
 source.append("  private 
$JsCallbacks$(org.netbeans.html.boot.spi.Fn.Presenter p) {\n");
-source.append("this.p = p;\n");
+source.append("this.ref = new 
java.lang.ref.WeakReference(p);\n");
 source.append("  }\n");
 source.append("  synchronized final $JsCallbacks$ current() {\n");
 source.append("org.netbeans.html.boot.spi.Fn.Presenter now = 
org.netbeans.html.boot.spi.Fn.activePresenter();\n");
 source.append("$JsCallbacks$ thiz = this;\n");
 source.append("for (;;) {\n");
-source.append("  if (now == thiz.p) return thiz;\n");
+source.append("  if (now == thiz.ref.get()) return thiz;\n");
 source.append("  if (thiz.next == null) {\n");
 source.append("return thiz.next = new 
$JsCallbacks$(now);\n");
 source.append("  }\n");
@@ -486,6 +486,7 @@ public final class JavaScriptProcesor extends 
AbstractProcessor {
 sep = ", ";
 }
 source.append(") throws Throwable {\n");
+source.append("org.netbeans.html.boot.spi.Fn.Presenter p = 
ref.get(); \n");
 source.append(convert);
 if (useTryResources()) {
 source.append("try (java.io.Closeable a = 
org.netbeans.html.boot.spi.Fn.activate(p)) { \n");
diff --git a/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java 
b/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java
index e70ad91..3dc4e30 100644
--- a/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java
+++ b/boot/src/main/java/org/netbeans/html/boot/spi/Fn.java
@@ -23,6 +23,8 @@ import java.io.IOException;
 import java.io.InputStream;
 import java.io.InputStreamReader;
 import java.io.Reader;
+import java.lang.ref.Reference;
+import java.lang.ref.WeakReference;
 import java.net.URL;
 import java.util.HashMap;
 import java.util.HashSet;
@@ -38,8 +40,7 @@ import org.netbeans.html.boot.impl.FnContext;
  * @author Jaroslav Tulach
  */
 public abstract class Fn {
-private static Map> LOADED;
-private final Presenter presenter;
+private final Reference presenter;
 
 /**
  * @deprecated Ineffective as of 0.6. 
@@ -57,7 +58,7 @@ public abstract class Fn {
  * @since 0.6 
  */
 protected Fn(Presenter presenter) {
-this.presenter = presenter;
+this.presenter = new WeakReference(presenter);
 }
 
 /** True, if currently active presenter is the same as presenter this
@@ -66,7 +67,7 @@ public abstract class Fn {
  * @return true, if proper presenter is used
  */
 public final boolean isValid() {
-return presenter != null && FnContext.currentPresenter(false) == 
presenter;
+return FnContext.currentPresenter(false) == presenter.get();
 }
 
 /** Helper method to check if the provided instance is valid function.
@@ -144,52 +145,7 @@ public abstract class Fn {
 if (fn == null) {
 return null;
 }
-return new Fn(fn.presenter()) {
-@Override
-public Object invoke(Object thiz, Object... args) throws Exception 
{
-loadResource();
-return 

[jira] [Commented] (NETBEANS-2499) Unable to open Maven project

2019-05-04 Thread Anthony Vanelverdinghe (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833041#comment-16833041
 ] 

Anthony Vanelverdinghe commented on NETBEANS-2499:
--

> Only  is what's causing the problem here.

[~GeertjanWielenga] As I have explicitly stated in the description, there are 
several ways to make NetBeans open the project correctly, even with the  still in it.

> And that appears to be from M2Eclipse, which you don't need when you're using 
> Maven, that's something specifically from Eclipse.

Unless you're using Maven in combination with Eclipse, of course, which is the 
case here. And again: it *is* possible to make NetBeans open the project *with* 
that line still there.

> Exception caused my malformed xml file. [...] Just like opening a project 
> with a pom full of rubbish. 

[~vladpaln] This pom.xml is *not* malformed: Maven is able to process it just 
fine. Obviously the given test case doesn't make much sense, but it *does* 
demonstrate that NetBeans is unable to open certain *valid* POMs.

> Unable to open Maven project
> 
>
> Key: NETBEANS-2499
> URL: https://issues.apache.org/jira/browse/NETBEANS-2499
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12
> Runtime: OpenJDK Runtime Environment 12.0.1+12
> System: Windows 10 version 10.0 running on amd64; UTF-8; en_GB (nb)
>Reporter: Anthony Vanelverdinghe
>Priority: Major
> Attachments: pom.xml
>
>
> To reproduce: create a folder "nbissue", add the attached pom.xml to it, and 
> try to open it as a Maven project in NetBeans.
> NetBeans will give an unexpected exception and a stacktrace like below. Note 
> that there are several possible modifications that will make NetBeans open 
> the pom.xml (e.g. deleting line 115 ``, deleting the large 
> comment block, ...) Also note the pom is valid as it is, and everything works 
> fine when using Maven (3.6.1 in my case) from the command-line.
> java.lang.ArrayIndexOutOfBoundsException: Index 8442 out of bounds for length 
> 8192
>      at org.codehaus.plexus.util.xml.pull.MXParser.parsePI(MXParser.java:2502)
>      at 
> org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1283)
>      at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1131)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.nextTag(MavenXpp3ReaderEx.java:568)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parsePluginExecution(MavenXpp3ReaderEx.java:3302)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parsePlugin(MavenXpp3ReaderEx.java:3097)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parseBuild(MavenXpp3ReaderEx.java:1025)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parseModel(MavenXpp3ReaderEx.java:2550)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.read(MavenXpp3ReaderEx.java:4388)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.read(MavenXpp3ReaderEx.java:598)
>      at 
> org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:113)
>      at 
> org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:86)
>      at 
> org.apache.maven.model.building.DefaultModelProcessor.read(DefaultModelProcessor.java:81)
>      at 
> org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:533)
>      at 
> org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:273)
>      at 
> org.netbeans.modules.maven.embedder.impl.NBModelBuilder.build(NBModelBuilder.java:53)
>      at 
> org.netbeans.modules.maven.embedder.MavenEmbedder.executeModelBuilder(MavenEmbedder.java:447)
>      at 
> org.netbeans.modules.maven.NbMavenProjectImpl.getRawModel(NbMavenProjectImpl.java:192)
>      at 
> org.netbeans.modules.maven.api.NbMavenProject.getRawModel(NbMavenProject.java:347)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.lambda$get$0(MavenProjectPropsImpl.java:93)
>      at 
> org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
>      at org.openide.util.Mutex.readAccess(Mutex.java:193)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.get(MavenProjectPropsImpl.java:78)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.get(MavenProjectPropsImpl.java:74)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl$PackagingProviderImpl.packaging(MavenProjectPropsImpl.java:304)
>      at 
> org.netbeans.modules.maven.api.NbMavenProject.getPackagingType(NbMavenProject.java:334)
>      at 
> 

[jira] [Comment Edited] (NETBEANS-2499) Unable to open Maven project

2019-05-04 Thread Vlad Palnik (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833035#comment-16833035
 ] 

Vlad Palnik edited comment on NETBEANS-2499 at 5/4/19 10:54 AM:


Exception caused my malformed xml file. I was able to reproduce the problem 
with 8.2 so the bug has been around for a while.

 


was (Author: vladpaln):
Exception caused my malformed xml file. I was able to reproduce the problem 
with 8.2 so the bug has been around for a while.

Fix:

I was not able to locate the xml pom validator used by NetBeans but it should 
throw a ModelBuildingException and display an Open Project Dialog with Project 
Problems message and Resolve Problems button > showing error. Just like opening 
a project with a pom full of rubbish.

> Unable to open Maven project
> 
>
> Key: NETBEANS-2499
> URL: https://issues.apache.org/jira/browse/NETBEANS-2499
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12
> Runtime: OpenJDK Runtime Environment 12.0.1+12
> System: Windows 10 version 10.0 running on amd64; UTF-8; en_GB (nb)
>Reporter: Anthony Vanelverdinghe
>Priority: Major
> Attachments: pom.xml
>
>
> To reproduce: create a folder "nbissue", add the attached pom.xml to it, and 
> try to open it as a Maven project in NetBeans.
> NetBeans will give an unexpected exception and a stacktrace like below. Note 
> that there are several possible modifications that will make NetBeans open 
> the pom.xml (e.g. deleting line 115 ``, deleting the large 
> comment block, ...) Also note the pom is valid as it is, and everything works 
> fine when using Maven (3.6.1 in my case) from the command-line.
> java.lang.ArrayIndexOutOfBoundsException: Index 8442 out of bounds for length 
> 8192
>      at org.codehaus.plexus.util.xml.pull.MXParser.parsePI(MXParser.java:2502)
>      at 
> org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1283)
>      at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1131)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.nextTag(MavenXpp3ReaderEx.java:568)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parsePluginExecution(MavenXpp3ReaderEx.java:3302)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parsePlugin(MavenXpp3ReaderEx.java:3097)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parseBuild(MavenXpp3ReaderEx.java:1025)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parseModel(MavenXpp3ReaderEx.java:2550)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.read(MavenXpp3ReaderEx.java:4388)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.read(MavenXpp3ReaderEx.java:598)
>      at 
> org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:113)
>      at 
> org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:86)
>      at 
> org.apache.maven.model.building.DefaultModelProcessor.read(DefaultModelProcessor.java:81)
>      at 
> org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:533)
>      at 
> org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:273)
>      at 
> org.netbeans.modules.maven.embedder.impl.NBModelBuilder.build(NBModelBuilder.java:53)
>      at 
> org.netbeans.modules.maven.embedder.MavenEmbedder.executeModelBuilder(MavenEmbedder.java:447)
>      at 
> org.netbeans.modules.maven.NbMavenProjectImpl.getRawModel(NbMavenProjectImpl.java:192)
>      at 
> org.netbeans.modules.maven.api.NbMavenProject.getRawModel(NbMavenProject.java:347)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.lambda$get$0(MavenProjectPropsImpl.java:93)
>      at 
> org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
>      at org.openide.util.Mutex.readAccess(Mutex.java:193)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.get(MavenProjectPropsImpl.java:78)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.get(MavenProjectPropsImpl.java:74)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl$PackagingProviderImpl.packaging(MavenProjectPropsImpl.java:304)
>      at 
> org.netbeans.modules.maven.api.NbMavenProject.getPackagingType(NbMavenProject.java:334)
>      at 
> org.netbeans.modules.maven.NbMavenProjectImpl$PackagingTypeDependentLookup.check(NbMavenProjectImpl.java:829)
>      at 
> org.netbeans.modules.maven.NbMavenProjectImpl$PackagingTypeDependentLookup.(NbMavenProjectImpl.java:819)
>      at 
> 

[jira] [Comment Edited] (NETBEANS-2499) Unable to open Maven project

2019-05-04 Thread Vlad Palnik (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833035#comment-16833035
 ] 

Vlad Palnik edited comment on NETBEANS-2499 at 5/4/19 10:34 AM:


Exception caused my malformed xml file. I was able to reproduce the problem 
with 8.2 so the bug has been around for a while.

Fix:

I was not able to locate the xml pom validator used by NetBeans but it should 
throw a ModelBuildingException and display an Open Project Dialog with Project 
Problems message and Resolve Problems button > showing error. Just like opening 
a project with a pom full of rubbish.


was (Author: vladpaln):
Exception caused my malformed xml file. I was able to reproduce the problem 
with 8.2 so the bug has been around for a while.

Fix:

I was not able to locate the xml validator used by NetBeans but it should throw 
a ModelBuildingException and display an Open Project Dialog with Project 
Problems message and Resolve Problems button > showing error. Just like opening 
a project with a pom full of rubbish.

> Unable to open Maven project
> 
>
> Key: NETBEANS-2499
> URL: https://issues.apache.org/jira/browse/NETBEANS-2499
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12
> Runtime: OpenJDK Runtime Environment 12.0.1+12
> System: Windows 10 version 10.0 running on amd64; UTF-8; en_GB (nb)
>Reporter: Anthony Vanelverdinghe
>Priority: Major
> Attachments: pom.xml
>
>
> To reproduce: create a folder "nbissue", add the attached pom.xml to it, and 
> try to open it as a Maven project in NetBeans.
> NetBeans will give an unexpected exception and a stacktrace like below. Note 
> that there are several possible modifications that will make NetBeans open 
> the pom.xml (e.g. deleting line 115 ``, deleting the large 
> comment block, ...) Also note the pom is valid as it is, and everything works 
> fine when using Maven (3.6.1 in my case) from the command-line.
> java.lang.ArrayIndexOutOfBoundsException: Index 8442 out of bounds for length 
> 8192
>      at org.codehaus.plexus.util.xml.pull.MXParser.parsePI(MXParser.java:2502)
>      at 
> org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1283)
>      at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1131)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.nextTag(MavenXpp3ReaderEx.java:568)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parsePluginExecution(MavenXpp3ReaderEx.java:3302)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parsePlugin(MavenXpp3ReaderEx.java:3097)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parseBuild(MavenXpp3ReaderEx.java:1025)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parseModel(MavenXpp3ReaderEx.java:2550)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.read(MavenXpp3ReaderEx.java:4388)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.read(MavenXpp3ReaderEx.java:598)
>      at 
> org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:113)
>      at 
> org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:86)
>      at 
> org.apache.maven.model.building.DefaultModelProcessor.read(DefaultModelProcessor.java:81)
>      at 
> org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:533)
>      at 
> org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:273)
>      at 
> org.netbeans.modules.maven.embedder.impl.NBModelBuilder.build(NBModelBuilder.java:53)
>      at 
> org.netbeans.modules.maven.embedder.MavenEmbedder.executeModelBuilder(MavenEmbedder.java:447)
>      at 
> org.netbeans.modules.maven.NbMavenProjectImpl.getRawModel(NbMavenProjectImpl.java:192)
>      at 
> org.netbeans.modules.maven.api.NbMavenProject.getRawModel(NbMavenProject.java:347)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.lambda$get$0(MavenProjectPropsImpl.java:93)
>      at 
> org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
>      at org.openide.util.Mutex.readAccess(Mutex.java:193)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.get(MavenProjectPropsImpl.java:78)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.get(MavenProjectPropsImpl.java:74)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl$PackagingProviderImpl.packaging(MavenProjectPropsImpl.java:304)
>      at 
> org.netbeans.modules.maven.api.NbMavenProject.getPackagingType(NbMavenProject.java:334)
>      at 
> 

[jira] [Commented] (NETBEANS-2499) Unable to open Maven project

2019-05-04 Thread Vlad Palnik (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833035#comment-16833035
 ] 

Vlad Palnik commented on NETBEANS-2499:
---

Exception caused my malformed xml file. I was able to reproduce the problem 
with 8.2 so the bug has been around for a while.

Fix:

I was not able to locate the xml validator used by NetBeans but it should throw 
a ModelBuildingException and display an Open Project Dialog with Project 
Problems message and Resolve Problems button > showing error. Just like opening 
a project with a pom full of rubbish.

> Unable to open Maven project
> 
>
> Key: NETBEANS-2499
> URL: https://issues.apache.org/jira/browse/NETBEANS-2499
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12
> Runtime: OpenJDK Runtime Environment 12.0.1+12
> System: Windows 10 version 10.0 running on amd64; UTF-8; en_GB (nb)
>Reporter: Anthony Vanelverdinghe
>Priority: Major
> Attachments: pom.xml
>
>
> To reproduce: create a folder "nbissue", add the attached pom.xml to it, and 
> try to open it as a Maven project in NetBeans.
> NetBeans will give an unexpected exception and a stacktrace like below. Note 
> that there are several possible modifications that will make NetBeans open 
> the pom.xml (e.g. deleting line 115 ``, deleting the large 
> comment block, ...) Also note the pom is valid as it is, and everything works 
> fine when using Maven (3.6.1 in my case) from the command-line.
> java.lang.ArrayIndexOutOfBoundsException: Index 8442 out of bounds for length 
> 8192
>      at org.codehaus.plexus.util.xml.pull.MXParser.parsePI(MXParser.java:2502)
>      at 
> org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1283)
>      at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1131)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.nextTag(MavenXpp3ReaderEx.java:568)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parsePluginExecution(MavenXpp3ReaderEx.java:3302)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parsePlugin(MavenXpp3ReaderEx.java:3097)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parseBuild(MavenXpp3ReaderEx.java:1025)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.parseModel(MavenXpp3ReaderEx.java:2550)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.read(MavenXpp3ReaderEx.java:4388)
>      at 
> org.apache.maven.model.io.xpp3.MavenXpp3ReaderEx.read(MavenXpp3ReaderEx.java:598)
>      at 
> org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:113)
>      at 
> org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:86)
>      at 
> org.apache.maven.model.building.DefaultModelProcessor.read(DefaultModelProcessor.java:81)
>      at 
> org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:533)
>      at 
> org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:273)
>      at 
> org.netbeans.modules.maven.embedder.impl.NBModelBuilder.build(NBModelBuilder.java:53)
>      at 
> org.netbeans.modules.maven.embedder.MavenEmbedder.executeModelBuilder(MavenEmbedder.java:447)
>      at 
> org.netbeans.modules.maven.NbMavenProjectImpl.getRawModel(NbMavenProjectImpl.java:192)
>      at 
> org.netbeans.modules.maven.api.NbMavenProject.getRawModel(NbMavenProject.java:347)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.lambda$get$0(MavenProjectPropsImpl.java:93)
>      at 
> org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
>      at org.openide.util.Mutex.readAccess(Mutex.java:193)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.get(MavenProjectPropsImpl.java:78)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl.get(MavenProjectPropsImpl.java:74)
>      at 
> org.netbeans.modules.maven.MavenProjectPropsImpl$PackagingProviderImpl.packaging(MavenProjectPropsImpl.java:304)
>      at 
> org.netbeans.modules.maven.api.NbMavenProject.getPackagingType(NbMavenProject.java:334)
>      at 
> org.netbeans.modules.maven.NbMavenProjectImpl$PackagingTypeDependentLookup.check(NbMavenProjectImpl.java:829)
>      at 
> org.netbeans.modules.maven.NbMavenProjectImpl$PackagingTypeDependentLookup.(NbMavenProjectImpl.java:819)
>      at 
> org.netbeans.modules.maven.NbMavenProjectImpl.(NbMavenProjectImpl.java:245)
>      at 
> org.netbeans.modules.maven.NbMavenProjectFactory.loadProject(NbMavenProjectFactory.java:95)
>      at 
> 

[jira] [Assigned] (NETBEANS-2455) Splash screens for development version

2019-05-04 Thread Antonio Vieiro (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro reassigned NETBEANS-2455:


Assignee: Antonio Vieiro

> Splash screens for development version
> --
>
> Key: NETBEANS-2455
> URL: https://issues.apache.org/jira/browse/NETBEANS-2455
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Junichi Yamamoto
>Assignee: Antonio Vieiro
>Priority: Major
>
> Currently, the version of the splash screen is 10 in the master branch. So we 
> should fix it (e.g. Dev., Development Version, ...).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-2500) Palette needed for Java Source files

2019-05-04 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-2500:
-
Labels: pull-request-available  (was: )

> Palette needed for Java Source files
> 
>
> Key: NETBEANS-2500
> URL: https://issues.apache.org/jira/browse/NETBEANS-2500
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>  Labels: pull-request-available
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-2500) Palette needed for Java Source files

2019-05-04 Thread Geertjan Wielenga (JIRA)
Geertjan Wielenga created NETBEANS-2500:
---

 Summary: Palette needed for Java Source files
 Key: NETBEANS-2500
 URL: https://issues.apache.org/jira/browse/NETBEANS-2500
 Project: NetBeans
  Issue Type: Bug
Reporter: Geertjan Wielenga






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists