[netbeans] branch master updated (4658ccf -> b4627f7)

2021-04-19 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.git.


from 4658ccf  Merge pull request #2900 from 
DevCharly/flatlaf-quicksearch-fix
 new 459b8b2  Upgrading to SigTest 1.4 and using its release attribute
 new 0d54358  Regenerating the API snapshot with javac.target=1.7
 new b4627f7  Merge pull request #2881 from 
JaroslavTulach/jtulach/SigTestWithRelease

The 5346 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:
 nbbuild/antsrc/org/netbeans/nbbuild/Sigtest.java | 6 ++
 nbbuild/external/binaries-list   | 2 +-
 ...ugin-1.2-license.txt => sigtest-maven-plugin-1.4-license.txt} | 2 +-
 nbbuild/templates/projectized.xml| 4 +++-
 profiler/lib.profiler/nbproject/org-netbeans-lib-profiler.sig| 9 +
 5 files changed, 12 insertions(+), 11 deletions(-)
 rename nbbuild/external/{sigtest-maven-plugin-1.2-license.txt => 
sigtest-maven-plugin-1.4-license.txt} (99%)

-
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



svn commit: r47123 - in /dev/netbeans/netbeans-vscode-ext/12.4-beta2: apache-netbeans-java-12.3.992.vsix apache-netbeans-java-12.3.992.vsix.asc apache-netbeans-java-12.3.992.vsix.sha512

2021-04-16 Thread jtulach
Author: jtulach
Date: Fri Apr 16 15:56:25 2021
New Revision: 47123

Log:
Staging 12.4-beta2+nbjavac extension

Added:

dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix  
 (with props)

dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix.asc

dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix.sha512

Added: 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix.asc
==
--- 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix.asc
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix.asc
 Fri Apr 16 15:56:25 2021
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEETxTvPki77GNgjX6yE1SNfMr66A0FAmB5sYwACgkQE1SNfMr6
+6A0t8w//QHDOk46tMX2Xw2pNRV5Rw1xDWc+Gn8DHHUcrICScSwVKllqTRtUEw6Tf
+Uq+sv/pzEBGpUxGQm59KGjgB+chP+4rZMAPcyAylmrGletZjCEuvQpiv6tXqgYgS
+EymfKBBFlkyDU+muav3CJ6fILaVmr+SpNUXYnECQC61u5YVYN3NlMVfpgoxNEbxn
+CkiQU0utFREDFiPdjWh+HM8sXIoCZUh1rhdFqcUtcqMNNfJDp0OtsFQlhheQ055o
+3RAYBTAhmLiVsqbLimOASfqWw5mu7L+NUlrIVdfENZwAlpXLE5HbMamiEPbyLHU/
+NEdFw4V4ie13W9kTSLoJLVcLtM4lCoiPwbI/Pw1uYB/hooiRSiE11Az4vX9zB0J9
+iuaEn1OGAyN7uxcJER42RoGXPa+lbPib2O7pljzvvMOTpHLjPHgXOB6ZWVkjU2eg
+qtGhv7rDw9V0ZhMEE7A25aeDhauy4nOLbEzZFVUvKsPvgbCMXPm8G0wMEWvO8kqy
+kzpLDMI4ZaCSG1+j9pLmT70ZOA7DD4bA0c756L2S3jmaXqik3kK1h0KrTPCbHHfq
+pTxE2hyUCwgK73N6TbVl2AKUYumFk9nxgE4Z5ZOk022ivEjAYMjcwMldIhTOBNjz
+fpEnOyjYWdAK301p63oNm318L/NAS+Mq8YNBk1FXD5PJRpPFIZE=
+=upOH
+-END PGP SIGNATURE-

Added: 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix.sha512
==
--- 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix.sha512
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.992.vsix.sha512
 Fri Apr 16 15:56:25 2021
@@ -0,0 +1 @@
+9c8693ee931f051cda32dc89211ec108ddbd1aace07a233f6b437bc90a3ef506f674129c8e56c3dd16c5877286d92c4628e03cab890a7af3a29285bc73f88105
  apache-netbeans-java-12.3.992.vsix



-
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



svn commit: r47010 - /dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.asc

2021-04-12 Thread jtulach
Author: jtulach
Date: Mon Apr 12 17:58:38 2021
New Revision: 47010

Log:
Correcting the signature with 2nd public key of jtulach

Modified:

dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.asc

Modified: 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.asc
==
--- 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.asc
 (original)
+++ 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.asc
 Mon Apr 12 17:58:38 2021
@@ -1,6 +1,16 @@
 -BEGIN PGP SIGNATURE-
 
-iF0EABECAB0WIQS8Lzcdq85cO8li6Ky8455lEKG+BAUCYHROPAAKCRC8455lEKG+
-BI6pAKCquN460gPcYiYF+KbUXVOM0moSegCgs+XYv1GImE3H/02TkenPmWEh97Y=
-=+hHK
+iQIzBAABCgAdFiEETxTvPki77GNgjX6yE1SNfMr66A0FAmB0ih4ACgkQE1SNfMr6
+6A3KPhAA6+QbS34zAvBVQXO8lNnAmbJfMA83O841k9oVyPB5hFtpT91Dc6gna6LQ
+mchhNA1o+ogmii1ACToGxMvrxySuo5GmbgiZEE8FNESmPlqQvKgrIWk8pEVADxjM
+GqG1S4WKHs56W+P1MrbMS4tr8NCKo2pLTUODaaLrWiUlrxOhko8PyHYnV1YFbVxS
+FZJdplv2BluT0Fjfn6MBIG/JZ+ZhNHe0LG7IOX4jxaUhpp2ds2U2n3MHgT8g7JAp
+tToMJqyWQAKCXL8p3K2t1wYSnbz25PquYrZzZQ4pVBWSKm7S4pgQ2YfmhENYrZcY
+926AyLt7F7zWeG7PwOtH0uFEClxSrhnVnZVsMo2Rw9uszdLp4SrRo/7kemAHVUHt
+eZo+GKb2aLIZD8yU/IILqLMV13PzeCFFg75O5s1odEJrrlIXqkVhpwZjWheyZKqx
+2cL873phvw++7KTG1FnXxCJmdCqX5ZRPYSd5KMfHW5RyiOtSQPdfAKR3Rrr69+h/
+Z4CZ6CHI++pqQ8cijZHPK7o8+aUsaU+eFeww0tfygPiZAB7tz3+LwbowtCiPwN3q
+x9Y7q3pb5bAMur+4a84p1kAp9O4PrltUoIiFn8OjhS5Yyx0jKpgru0PbgAiaNUCd
+6gxaZwbD1Bb1E4zsjbu2uHm3A7wLIAfROi4ODbpsiJAg9aJ+gBg=
+=R5em
 -END PGP SIGNATURE-



-
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



svn commit: r47000 - in /dev/netbeans/netbeans-vscode-ext/12.4-beta2: ./ apache-netbeans-java-12.3.991.vsix apache-netbeans-java-12.3.991.vsix.asc apache-netbeans-java-12.3.991.vsix.sha512

2021-04-12 Thread jtulach
Author: jtulach
Date: Mon Apr 12 13:49:22 2021
New Revision: 47000

Log:
Preparing for vote about 12.4-beta (aka 12.3.991 in semantic versioning) of 
VSNetBeans

Added:
dev/netbeans/netbeans-vscode-ext/12.4-beta2/

dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix  
 (with props)

dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.asc

dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.sha512

Added: 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.asc
==
--- 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.asc
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.asc
 Mon Apr 12 13:49:22 2021
@@ -0,0 +1,6 @@
+-BEGIN PGP SIGNATURE-
+
+iF0EABECAB0WIQS8Lzcdq85cO8li6Ky8455lEKG+BAUCYHROPAAKCRC8455lEKG+
+BI6pAKCquN460gPcYiYF+KbUXVOM0moSegCgs+XYv1GImE3H/02TkenPmWEh97Y=
+=+hHK
+-END PGP SIGNATURE-

Added: 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.sha512
==
--- 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.sha512
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/12.4-beta2/apache-netbeans-java-12.3.991.vsix.sha512
 Mon Apr 12 13:49:22 2021
@@ -0,0 +1 @@
+bec19ef96615ddfcfbffb4a7d1a9cdd6f7f4f1304015d112ab53ac0bfd074b1c306b733e71b2376efdcf27ca02a74f1a5cab5a633ac630ae207195ec9a1b4012
  apache-netbeans-java-12.3.991.vsix



-
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] branch master updated (5fda600 -> 0677ccc)

2021-04-07 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.git.


from 5fda600  Merge pull request #2864 from sdedic/gradle/lazy_load_false
 new a19c3e3  Use FileObject.getFileObject(relativePath, false) to obtain 
non-existing relative file object
 new 3387fc6  Provide URLs even for non-existing JAR files
 new 8007d0b  JavaSource can be null - for example if nb-javac isn't 
installed
 new 6409a09  Using more generic type of validRoot
 new 0677ccc  Merge pull request #2860 from 
JaroslavTulach/jtulach/RepresentNonExistingFileObjects

The 5273 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:
 java/java.mx.project/nbproject/project.xml |   2 +-
 .../modules/java/mx/project/SuiteSources.java  |  15 +--
 .../openjdk/editor/JavaToCHyperlinkProvider.java   |  41 +++---
 platform/masterfs/nbproject/project.xml|   2 +-
 .../masterfs/filebasedfs/FileBasedFileSystem.java  |   2 +-
 .../filebasedfs/fileobjects/BaseFileObj.java   |   4 +-
 .../filebasedfs/fileobjects/FileObjectFactory.java |  26 +++-
 .../filebasedfs/fileobjects/FileObjectKeeper.java  |   6 +-
 .../filebasedfs/fileobjects/FolderObj.java |  14 +-
 .../fileobjects/ReplaceForSerialization.java   |   1 -
 .../filebasedfs/BaseFileObjectTestHid.java |   4 +-
 .../fileobjects/WatcherDeadlockTest.java   |   2 +-
 platform/openide.filesystems/apichanges.xml|  18 +++
 platform/openide.filesystems/manifest.mf   |   2 +-
 .../openide/filesystems/AbstractFileObject.java|  16 ++-
 .../org/openide/filesystems/AbstractFolder.java|  34 +++--
 .../src/org/openide/filesystems/FileObject.java|  32 -
 .../org/openide/filesystems/MultiFileObject.java   |  14 +-
 .../org/openide/filesystems/VirtualFileObject.java | 148 +
 .../org/openide/filesystems/FileObjectTestHid.java |  30 -
 20 files changed, 332 insertions(+), 81 deletions(-)
 create mode 100644 
platform/openide.filesystems/src/org/openide/filesystems/VirtualFileObject.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] branch master updated: @ComputedProperty write method maybe instance one

2021-04-03 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 3dc9560  @ComputedProperty write method maybe instance one
3dc9560 is described below

commit 3dc9560c31749a8065ea5b69cf662426db465d4e
Author: Jaroslav Tulach 
AuthorDate: Sat Apr 3 11:35:59 2021 +0200

@ComputedProperty write method maybe instance one
---
 .../netbeans/html/json/impl/ModelProcessor.java| 18 +++---
 .../html/json/impl/WritablePropertyTest.java   | 64 ++
 2 files changed, 73 insertions(+), 9 deletions(-)

diff --git a/json/src/main/java/org/netbeans/html/json/impl/ModelProcessor.java 
b/json/src/main/java/org/netbeans/html/json/impl/ModelProcessor.java
index 27accd0..0dc7b87 100644
--- a/json/src/main/java/org/netbeans/html/json/impl/ModelProcessor.java
+++ b/json/src/main/java/org/netbeans/html/json/impl/ModelProcessor.java
@@ -46,7 +46,6 @@ import javax.annotation.processing.ProcessingEnvironment;
 import javax.annotation.processing.Processor;
 import javax.annotation.processing.RoundEnvironment;
 import javax.annotation.processing.SupportedAnnotationTypes;
-import javax.annotation.processing.SupportedSourceVersion;
 import javax.lang.model.SourceVersion;
 import javax.lang.model.element.AnnotationMirror;
 import javax.lang.model.element.AnnotationValue;
@@ -62,7 +61,6 @@ import javax.lang.model.type.DeclaredType;
 import javax.lang.model.type.MirroredTypeException;
 import javax.lang.model.type.TypeKind;
 import javax.lang.model.type.TypeMirror;
-import javax.lang.model.util.Elements;
 import javax.lang.model.util.Types;
 import javax.tools.Diagnostic;
 import javax.tools.FileObject;
@@ -780,6 +778,7 @@ public final class ModelProcessor extends AbstractProcessor 
{
 }
 ExecutableElement ee = (ExecutableElement)e;
 ExecutableElement write = null;
+boolean instance = 
e.getEnclosingElement().getAnnotation(Model.class).instance();
 if (!cp.write().isEmpty()) {
 write = findWrite(ee, (TypeElement)e.getEnclosingElement(), 
cp.write(), className);
 ok = write != null;
@@ -928,7 +927,7 @@ public final class ModelProcessor extends AbstractProcessor 
{
 } else {
 w.write("  public void " + gs[4] + "(" + 
write.getParameters().get(1).asType());
 w.write(" value) {\n");
-w.write("" + fqn(ee.getEnclosingElement().asType(), ee) + 
'.' + write.getSimpleName() + "(this, value);\n");
+w.write("" + (instance ? "instance" : 
fqn(ee.getEnclosingElement().asType(), ee)) + '.' + write.getSimpleName() + 
"(this, value);\n");
 w.write("  }\n");
 
 props.add(new GetSet(
@@ -1088,20 +1087,20 @@ public final class ModelProcessor extends 
AbstractProcessor {
 }
 for (String pn : onPC.value()) {
 if (findPrprt(properties, pn) == null && 
findDerivedFrom(propDeps, pn).isEmpty()) {
-error("No Prprt named '" + pn + "' in the model", clazz);
+error("No property named '" + pn + "' in the model", 
clazz);
 return false;
 }
 }
 if (!instance && !e.getModifiers().contains(Modifier.STATIC)) {
-error("@OnPrprtChange method needs to be static", e);
+error("@OnPropertyChange method needs to be static", e);
 return false;
 }
 if (e.getModifiers().contains(Modifier.PRIVATE)) {
-error("@OnPrprtChange method cannot be private", e);
+error("@OnPropertyChange method cannot be private", e);
 return false;
 }
 if (e.getReturnType().getKind() != TypeKind.VOID) {
-error("@OnPrprtChange method should return void", e);
+error("@OnPropertyChange method should return void", e);
 return false;
 }
 String n = e.getSimpleName().toString();
@@ -1765,7 +1764,7 @@ public final class ModelProcessor extends 
AbstractProcessor {
 continue;
 }
 error(
-"@OnPrprtChange method can only accept String or " + className 
+ " arguments",
+"@OnPropertyChange method can only accept String or " + 
className + " arguments",
 ee);
 }
 return params;
@@ -2286,6 +2285,7 @@ public final class ModelProcessor extends 
AbstractProcessor {
 
 private Executa

[netbeans-html4j] branch master updated: onError= works in inner classes

2021-04-02 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 702c277  onError= works in inner classes
 new 551d9c3  Merge branch 'master' of 
https://gitbox.apache.org/repos/asf/netbeans-html4j
702c277 is described below

commit 702c2777d21b1b6ac26531cf1afe2f794a810dec
Author: Jaroslav Tulach 
AuthorDate: Fri Apr 2 14:58:35 2021 +0200

onError= works in inner classes
---
 .../netbeans/html/json/impl/ModelProcessor.java| 16 ++
 .../org/netbeans/html/json/impl/InnerTest.java | 35 ++
 2 files changed, 45 insertions(+), 6 deletions(-)

diff --git a/json/src/main/java/org/netbeans/html/json/impl/ModelProcessor.java 
b/json/src/main/java/org/netbeans/html/json/impl/ModelProcessor.java
index 80ad12f..27accd0 100644
--- a/json/src/main/java/org/netbeans/html/json/impl/ModelProcessor.java
+++ b/json/src/main/java/org/netbeans/html/json/impl/ModelProcessor.java
@@ -81,7 +81,6 @@ import org.openide.util.lookup.ServiceProvider;
  * @author Jaroslav Tulach
  */
 @ServiceProvider(service=Processor.class)
-@SupportedSourceVersion(SourceVersion.RELEASE_6)
 @SupportedAnnotationTypes({
 "net.java.html.json.Model",
 "net.java.html.json.ModelOperation",
@@ -174,10 +173,10 @@ public final class ModelProcessor extends 
AbstractProcessor {
 try {
 StringWriter body = new StringWriter();
 StringBuilder onReceiveType = new StringBuilder();
-List propsGetSet = new ArrayList();
-List functions = new ArrayList();
-Map> propsDeps = new HashMap>();
-Map> functionDeps = new HashMap>();
+List propsGetSet = new ArrayList<>();
+List functions = new ArrayList<>();
+Map> propsDeps = new HashMap<>();
+Map> functionDeps = new HashMap<>();
 Prprt[] props = createProps(e, m.properties());
 final String builderPrefix = findBuilderPrefix(e, m);
 
@@ -1457,7 +1456,7 @@ public final class ModelProcessor extends 
AbstractProcessor {
 } else {
 int errorParamsLength = findOnError(e, ((TypeElement)clazz), 
onR.onError(), className);
 error = errorParamsLength < 0;
-body.append("
").append(clazz.getSimpleName()).append(".").append(onR.onError()).append("(");
+body.append("").append(inPckName(clazz, 
false)).append(".").append(onR.onError()).append("(");
 body.append("model, ex");
 for (int i = 2; i < errorParamsLength; i++) {
 String arg = args.get(i);
@@ -2341,4 +2340,9 @@ public final class ModelProcessor extends 
AbstractProcessor {
 return null;
 }
 
+@Override
+public SourceVersion getSupportedSourceVersion() {
+return SourceVersion.latest();
+}
+
 }
diff --git a/json/src/test/java/org/netbeans/html/json/impl/InnerTest.java 
b/json/src/test/java/org/netbeans/html/json/impl/InnerTest.java
new file mode 100644
index 000..a615fd7
--- /dev/null
+++ b/json/src/test/java/org/netbeans/html/json/impl/InnerTest.java
@@ -0,0 +1,35 @@
+/**
+ * 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.json.impl;
+
+import net.java.html.json.Model;
+import net.java.html.json.OnReceive;
+
+public class InnerTest {
+@Model(className = "InnerModel", properties = {
+})
+public final static class Inner {
+@OnReceive(url = "http://github.com/api;, onError = "apiError")
+static void apiCall(InnerModel model, String data) {
+}
+
+static void apiError(InnerModel model, Exception err) {
+}
+}
+}

-
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] branch master updated (77da129 -> 6d1285a)

2021-03-31 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.git.


from 77da129  [NETBEANS-5524] Check for priming action before use.
 new 898363f  Don't even schedule the task, when the frequency is 'never'
 new 0fd8360  Introducing 
org.netbeans.modules.maven.indexer.api.DEFAULT_UPDATE_FREQ branding API
 new 3fc381d  Use SingleMethod.methodName even if file object is specified
 new 09c7322  Also adding branding for default value of createIndex setting
 new 6d1285a  Merge pull request #2848 from 
JaroslavTulach/jtulach/BrandMavenIndexDownloadFrequency

The 5212 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:
 .../modules/maven/indexer/api/Bundle.properties| 19 ++
 .../java/mx/project/SuiteActionProvider.java   | 12 ++--
 java/maven.indexer/manifest.mf |  2 +-
 .../maven/indexer/api/RepositoryPreferences.java   | 28 -
 .../maven/indexer/api/Bundle_te_ST.properties  | 19 ++
 .../indexer/api/RepositoryPreferencesTest.java | 72 +-
 java/maven/apichanges.xml  | 14 +
 java/maven/arch.xml| 20 ++
 java/maven/manifest.mf |  2 +-
 java/maven/nbproject/project.xml   |  2 +-
 .../modules/maven/ProjectOpenedHookImpl.java   | 26 
 11 files changed, 178 insertions(+), 38 deletions(-)
 create mode 100644 
java/java.lsp.server/nbcode/branding/modules/org-netbeans-modules-maven-indexer.jar/org/netbeans/modules/maven/indexer/api/Bundle.properties
 create mode 100644 
java/maven.indexer/test/unit/src/org/netbeans/modules/maven/indexer/api/Bundle_te_ST.properties

-
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] branch master updated (ed3dbc0 -> 472c46f)

2021-03-31 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.git.


from ed3dbc0  Remove items via the iterator.
 new 70bf5cb  Disallow warnings when compiling api.intent module
 new b906a98  Removing 3rd party library for JSR 305
 new f3cacd2  Using create class, field, method hints in the IDE to 
generate missing classes
 new 9180011  Expose the necessary annotations and annotate them as being 
processed by module's annotation processor
 new 4f644ae  Sigtest no longer complains about removed API elements
 new 93699b9  Let the wrapper JUnit module claim to process org.junit 
annotations
 new 3338dbc  Versioning and documenting the (hidden) exposure of 
javax.annotation packages
 new 472c46f  Merge pull request #2835 from 
JaroslavTulach/jtulach/WarningAsError

The 5205 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:
 platform/api.annotations.common/apichanges.xml | 20 ++
 platform/api.annotations.common/build.xml  | 75 --
 .../external/jsr305-3.0.2-license.txt  | 44 -
 platform/api.annotations.common/manifest.mf|  2 +-
 .../nbproject/project.properties   |  4 +-
 .../api.annotations.common/nbproject/project.xml   |  2 +
 .../src/javax/annotation/Nonnull.java  | 36 +++
 .../src/javax/annotation/meta/TypeQualifier.java   | 30 +
 .../annotation/meta/TypeQualifierNickname.java | 30 +
 .../src/javax/annotation/meta/When.java| 30 +
 .../common/proc/StaticResourceProcessor.java   | 24 ++-
 platform/api.intent/nbproject/project.properties   |  2 +-
 platform/api.intent/nbproject/project.xml  |  2 +-
 platform/libs.junit4/nbproject/project.properties  |  2 +
 .../javax.annotation.processing.Processor} |  3 +-
 .../org/netbeans/libs/junit4/NbJUnitProcessor.java | 56 
 16 files changed, 235 insertions(+), 127 deletions(-)
 delete mode 100644 
platform/api.annotations.common/external/jsr305-3.0.2-license.txt
 create mode 100644 
platform/api.annotations.common/src/javax/annotation/Nonnull.java
 create mode 100644 
platform/api.annotations.common/src/javax/annotation/meta/TypeQualifier.java
 create mode 100644 
platform/api.annotations.common/src/javax/annotation/meta/TypeQualifierNickname.java
 create mode 100644 
platform/api.annotations.common/src/javax/annotation/meta/When.java
 rename platform/{api.annotations.common/external/binaries-list => 
libs.junit4/src/META-INF/services/javax.annotation.processing.Processor} (90%)
 create mode 100644 
platform/libs.junit4/src/org/netbeans/libs/junit4/NbJUnitProcessor.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] branch master updated (2a0eff4 -> eabc0c0)

2021-03-31 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.git.


from 2a0eff4  Merge pull request #2846 from 
DevCharly/flatlaf-form-license-header
 new 325a95a  Use JSON parsing library rather than JavaScript engine to 
parse the suite configuration files
 new 6141413  Introduce assertSuitePys to work any provided directory
 new a6eb9e9  More robust against non-numerical versions
 new eabc0c0  Merge pull request #2843 from 
JaroslavTulach/jtulach/MxProjectsOnJdk15

The 5196 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:
 java/java.mx.project/nbproject/project.xml |  5 +-
 .../modules/java/mx/project/Compliance.java| 15 +++-
 .../modules/java/mx/project/suitepy/Parse.java | 65 +++
 .../modules/java/mx/project/ComplianceTest.java| 61 ++
 .../modules/java/mx/project/ParseSuitesTest.java   | 94 ++
 .../modules/java/mx/project/SdkSuiteTest.java  |  7 +-
 .../modules/java/mx/project/SuiteCheck.java| 12 ++-
 .../modules/java/mx/project/TrufleSuiteTest.java   |  8 +-
 8 files changed, 212 insertions(+), 55 deletions(-)
 create mode 100644 
java/java.mx.project/test/unit/src/org/netbeans/modules/java/mx/project/ParseSuitesTest.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] branch master updated: Avoid NPE when executing talk2compiler project

2021-03-28 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.git


The following commit(s) were added to refs/heads/master by this push:
 new c9b605b  Avoid NPE when executing talk2compiler project
 new 9147055  Merge pull request #2833 from 
JaroslavTulach/jtulach/Talk2CompilerAvoidNPE
c9b605b is described below

commit c9b605b7012a9c82d447e929238c27f474f7f534
Author: Jaroslav Tulach 
AuthorDate: Sun Mar 28 09:23:35 2021 +0200

Avoid NPE when executing talk2compiler project
---
 .../src/org/netbeans/modules/maven/runjar/MavenExecuteUtils.java| 6 +++---
 .../src/org/netbeans/modules/maven/runjar/RunJarStartupArgs.java| 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/java/maven/src/org/netbeans/modules/maven/runjar/MavenExecuteUtils.java 
b/java/maven/src/org/netbeans/modules/maven/runjar/MavenExecuteUtils.java
index f41b202..614f4e8 100644
--- a/java/maven/src/org/netbeans/modules/maven/runjar/MavenExecuteUtils.java
+++ b/java/maven/src/org/netbeans/modules/maven/runjar/MavenExecuteUtils.java
@@ -615,9 +615,9 @@ public final class MavenExecuteUtils {
  * @return
  */
 public static String[] splitAll(String argline, boolean filterClassPath) {
-String jvm = splitJVMParams(argline, false);
-String mainClazz = splitMainClass(argline);
-String args = splitParams(argline);
+String jvm = argline == null ? null : splitJVMParams(argline, false);
+String mainClazz = argline == null ? null : splitMainClass(argline);
+String args = argline == null ? null : splitParams(argline);
 if (filterClassPath && jvm != null && jvm.contains("-classpath 
%classpath")) {
 jvm = jvm.replace("-classpath %classpath", "");
 }
diff --git 
a/java/maven/src/org/netbeans/modules/maven/runjar/RunJarStartupArgs.java 
b/java/maven/src/org/netbeans/modules/maven/runjar/RunJarStartupArgs.java
index 4787a07..3f32b56 100644
--- a/java/maven/src/org/netbeans/modules/maven/runjar/RunJarStartupArgs.java
+++ b/java/maven/src/org/netbeans/modules/maven/runjar/RunJarStartupArgs.java
@@ -21,6 +21,7 @@ package org.netbeans.modules.maven.runjar;
 
 import java.util.ArrayList;
 import java.util.Arrays;
+import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 import java.util.stream.Stream;
@@ -136,7 +137,7 @@ public class RunJarStartupArgs implements 
LateBoundPrerequisitesChecker {
 if (mainClass.length == 0) {
 // accept userargs, since we don't know where the division is, 
make it fixed in the processing.
 joinedArgs.addAll(appArgsValue);
-appArgsValue = null;
+appArgsValue = Collections.emptyList();
 } else {
 joinedArgs.addAll(Arrays.asList(mainClass));
 }

-
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] branch master updated (decaf33 -> 9ccebaf)

2021-03-25 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.git.


from decaf33  Merge pull request #2816 from sdedic/gradle/primingAction
 new 45f690f  Using only one commit in ${java.home}/lib/ext/jfxrt.jar 
Class-Path entry
 new 2e6c5d0  Extract the package from sampleClass, if not found otherwise
 new e3c163b  Don't use -Xbootclasspath/p when executing on JDK9+
 new 29a20c9  Run commit validation on JDK11 and JDK15
 new 8d33544  Request nb.javac for htmlui code completion tests
 new 9ccebaf  Merge pull request #2813 from 
JaroslavTulach/jtulach/CommitValidationOnJdk15

The 5135 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:
 .travis.yml| 40 ---
 ergonomics/ide.ergonomics/build.xml|  4 +-
 .../modules/ide/ergonomics/ant/ExtractLayer.java   | 43 ++-
 extra/libs.javafx.linux/manifest.mf|  2 +-
 extra/libs.javafx.macosx/manifest.mf   |  2 +-
 extra/libs.javafx.win/manifest.mf  |  2 +-
 java/editor.htmlui/nbproject/project.properties|  2 +-
 .../org/netbeans/modules/form/resources/layer.xml  |  2 -
 .../modules/java/source/PostFlowAnalysis.java  |  4 +-
 nbbuild/templates/projectized.xml  | 84 --
 platform/libs.javafx/manifest.mf   |  2 +-
 .../src/org/netbeans/ModuleManager.java|  3 +-
 platform/o.n.bootstrap/src/org/netbeans/Util.java  |  6 +-
 13 files changed, 132 insertions(+), 64 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] branch master updated (c084119 -> da3abe6)

2021-03-24 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.git.


from c084119  LSP: Various stability issues with more complex project 
fixed. (#2824)
 new 77800e8  Offer to trust and prime the project when opening it
 new 32f2cfd  ActionProvider doesn't have to be provided by a Project
 new 92bedb1  Tooltip explaining meaning of: Trust Project Build Script
 new 3a21270  Only enable trust checkbox when there is a project that 
support priming
 new 14b508b  By default treat opened projects as untrusted
 new a772b3f  Await projects being primed
 new da3abe6  Merge pull request #2822 from 
JaroslavTulach/jtulach/TrustAndPrimeOnOpen

The 5127 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:
 .../netbeans/modules/project/ui/Bundle.properties  |  2 +
 .../modules/project/ui/OpenProjectList.java| 47 ++
 .../project/ui/OpenProjectListSettings.java| 13 --
 .../project/ui/ProjectChooserAccessory.form| 21 ++
 .../project/ui/ProjectChooserAccessory.java| 47 ++
 .../modules/project/ui/actions/NewProject.java |  2 +-
 .../modules/project/ui/actions/OpenProject.java|  1 +
 .../netbeans/modules/project/ui/groups/Group.java  |  2 +-
 .../project/ui/ProjectChooserAccessoryTest.java|  2 +-
 .../java/mx/project/SuiteActionProvider.java   |  2 +-
 .../ui/action/ClientSideProjectActionProvider.java |  3 +-
 11 files changed, 118 insertions(+), 24 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-html4j] branch master updated: Proper variable declaration in TCK

2021-03-24 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 9aebe85  Proper variable declaration in TCK
 new e46b489  Merge pull request #34 from rqu/patch-1
9aebe85 is described below

commit 9aebe850d06a73eeef137add4a49cf3088706ad3
Author: rqu <33589083+...@users.noreply.github.com>
AuthorDate: Wed Mar 24 11:16:44 2021 +0100

Proper variable declaration in TCK

Making the test script compatible with strict mode.

The variable was assigned without declaration in order to force a global 
variable declaration, but JavaScript resources are executed in global scope 
anyway.
---
 json-tck/src/main/resources/net/java/html/js/tests/initArray.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/json-tck/src/main/resources/net/java/html/js/tests/initArray.js 
b/json-tck/src/main/resources/net/java/html/js/tests/initArray.js
index 96d..9bac9ab 100644
--- a/json-tck/src/main/resources/net/java/html/js/tests/initArray.js
+++ b/json-tck/src/main/resources/net/java/html/js/tests/initArray.js
@@ -16,5 +16,5 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-testArray = [];
+var testArray = [];
 

-
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] branch master updated: Avoid displaying classloader fields when there is at most single classloader in the dump

2021-03-16 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.git


The following commit(s) were added to refs/heads/master by this push:
 new e2e6fb4  Avoid displaying classloader fields when there is at most 
single classloader in the dump
 new a299d76  Merge pull request #2809 from 
JaroslavTulach/jtulach/UnnecessaryClassLoaders
e2e6fb4 is described below

commit e2e6fb4be4534e0d79d89f90b64b66033000609f
Author: Jaroslav Tulach 
AuthorDate: Fri Mar 12 20:50:16 2021 +0100

Avoid displaying classloader fields when there is at most single 
classloader in the dump
---
 .../lib/profiler/heap/HeapSegmentTest.java | 40 ++--
 .../org/netbeans/lib/profiler/heap/HeapUtils.java  |  3 +-
 profiler/profiler.heapwalker/nbproject/project.xml | 15 +
 .../profiler/heapwalk/ClassesController.java   |  2 +-
 .../profiler/heapwalk/FieldsBrowserController.java | 25 ---
 .../profiler/heapwalk/HeapFragmentWalker.java  | 20 ++
 .../profiler/heapwalk/InstancesController.java |  3 +-
 .../profiler/heapwalk/InstancesListController.java |  5 ++
 .../profiler/heapwalk/OverviewController.java  | 14 +---
 .../heapwalk/model/AbstractHeapWalkerNode.java |  6 +-
 .../profiler/heapwalk/model/BrowserUtils.java  |  4 +-
 .../profiler/heapwalk/model/HeapWalkerNode.java|  2 +
 .../profiler/heapwalk/model/ObjectArrayNode.java   |  2 +-
 .../profiler/heapwalk/model/ObjectFieldNode.java   |  2 +-
 .../profiler/heapwalk/model/ObjectNode.java| 15 -
 .../heapwalk/model/PrimitiveArrayNode.java |  2 +-
 .../heapwalk/ui/FieldsBrowserControllerUI.java |  2 +-
 .../heapwalk/model/HeapWalkerNodeTest.java | 76 ++
 18 files changed, 198 insertions(+), 40 deletions(-)

diff --git 
a/profiler/lib.profiler/test/unit/src/org/netbeans/lib/profiler/heap/HeapSegmentTest.java
 
b/profiler/lib.profiler/test/unit/src/org/netbeans/lib/profiler/heap/HeapSegmentTest.java
index 6141829..e2c6f20 100644
--- 
a/profiler/lib.profiler/test/unit/src/org/netbeans/lib/profiler/heap/HeapSegmentTest.java
+++ 
b/profiler/lib.profiler/test/unit/src/org/netbeans/lib/profiler/heap/HeapSegmentTest.java
@@ -21,7 +21,10 @@ package org.netbeans.lib.profiler.heap;
 import java.io.File;
 import java.io.FileOutputStream;
 import java.io.IOException;
+import java.io.InputStream;
 import java.io.OutputStream;
+import java.net.URISyntaxException;
+import java.net.URL;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Iterator;
@@ -29,6 +32,7 @@ import java.util.List;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
 import org.junit.Test;
 import org.netbeans.lib.profiler.heap.HeapUtils.HprofGenerator;
 
@@ -37,16 +41,15 @@ public class HeapSegmentTest {
 public void singleObject() throws IOException {
 singleObject(false);
 }
-
+
 @Test
 public void singleObjectMultipleSegments() throws IOException {
 singleObject(true);
 }
-
+
 private static void singleObject(boolean flush) throws IOException {
 File mydump = File.createTempFile("mydump", ".hprof");
-generateSingleObject(new FileOutputStream(mydump), flush);
-Heap heap = HeapFactory.createHeap(mydump);
+Heap heap = generateSampleDump(mydump, flush);
 List allClasses = heap.getAllClasses();
 assertEquals(5, allClasses.size());
 assertEquals("java.lang.String", allClasses.get(0).getName());
@@ -77,13 +80,38 @@ public class HeapSegmentTest {
 assertFalse("It is not daemon", (Boolean) daemon);
 }
 
+public static Heap generateSampleDump(File mydump) throws IOException {
+return generateSampleDump(mydump, true);
+}
+
+public static Heap generateComplexDump(File mydump) throws IOException, 
URISyntaxException {
+InputStream is = HeapUtils.class.getResourceAsStream("heap_dump.bin");
+FileOutputStream out = new FileOutputStream(mydump);
+byte[] arr = new byte[4096];
+for (;;) {
+int len = is.read(arr);
+if (len == -1) {
+break;
+}
+out.write(arr, 0, len);
+}
+is.close();
+out.close();
+return HeapFactory.createHeap(mydump);
+}
+
+static Heap generateSampleDump(File mydump, boolean flush) throws 
IOException {
+generateSingleObject(new FileOutputStream(mydump), flush);
+return HeapFactory.createHeap(mydump);
+}
+
 private static void generateSingleObject(OutputStream os, boolean flush) 
throws IOException {
 try (HprofGenerator gen = new HprofGenerator(os)) {
 gen.writeHeapSegment(new SampleDumpMemor

[netbeans-html4j] branch master updated: Avoid Javadoc references to pre-Apache web resources

2021-03-10 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 8d82719  Avoid Javadoc references to pre-Apache web resources
8d82719 is described below

commit 8d8271947b7121554122fdef273b7bad52eeb57f
Author: Jaroslav Tulach 
AuthorDate: Wed Mar 10 11:39:57 2021 +0100

Avoid Javadoc references to pre-Apache web resources
---
 boot/src/main/java/net/java/html/js/package.html |  6 ++--
 pom.xml  |  2 +-
 src/main/javadoc/overview.html   | 40 +---
 3 files changed, 18 insertions(+), 30 deletions(-)

diff --git a/boot/src/main/java/net/java/html/js/package.html 
b/boot/src/main/java/net/java/html/js/package.html
index b8ae468..4523d23 100644
--- a/boot/src/main/java/net/java/html/js/package.html
+++ b/boot/src/main/java/net/java/html/js/package.html
@@ -49,8 +49,8 @@
 
 Real code tip: real classes using this technique are
 available online:
-http://hg.netbeans.org/html4j/file/release-0.7/boot/src/test/java/org/netbeans/html/boot/impl/JsMethods.java;>JsMethods
 and
-http://hg.netbeans.org/html4j/file/release-0.7/json-tck/src/main/java/net/java/html/js/tests/Bodies.java;>Bodies.
+https://github.com/apache/netbeans-html4j/tree/release-1.7.1/boot/src/test/java/org/netbeans/html/boot/impl/JsMethods.java;>JsMethods
 and
+https://github.com/apache/netbeans-html4j/tree/release-1.7.1/json-tck/src/main/java/net/java/html/js/tests/Bodies.java;>Bodies.
 
 Editing hint: one can see the list of arguments of the
 meaning is now duplicated - it is once specified in Java, 
@@ -89,7 +89,7 @@
 function mul and use it.
 
 Real code tip:
-http://hg.netbeans.org/html4j/file/release-0.7/ko4j/src/main/java/org/netbeans/html/ko4j/Knockout.java;>this
 
+https://github.com/apache/netbeans-html4j/tree/release-1.7.1/ko4j/src/main/java/org/netbeans/html/ko4j/Knockout.java;>this
 is the way 
 the http://knockoutjs.com;>knockout.js 
library
 is included in its ko4j library.
diff --git a/pom.xml b/pom.xml
index 2adfa87..34f6af9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -147,7 +147,7 @@ 
org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.
 
 
 http://testng.org/javadocs/
-
http://bits.netbeans.org/8.0/javadoc/org-openide-util-lookup/
+
http://bits.netbeans.org/12.0/javadoc/org-openide-util-lookup/
 http://docs.oracle.com/javase/8/javafx/api/
 
 org.apidesign.javadoc.codesnippet.Doclet
diff --git a/src/main/javadoc/overview.html b/src/main/javadoc/overview.html
index c5b280a..5369430 100644
--- a/src/main/javadoc/overview.html
+++ b/src/main/javadoc/overview.html
@@ -288,9 +288,9 @@ $ mvn -f client/pom.xml process-classes exec:exec
 
 
 
-Bug fix for https://netbeans.org/bugzilla/show_bug.cgi?id=270481;>
+Bug fix for https://bz.apache.org/netbeans/show_bug.cgi?id=270481;>
 multiple observers on a single model object.
-Better https://netbeans.org/bugzilla/show_bug.cgi?id=270553;>
+Better https://bz.apache.org/netbeans/show_bug.cgi?id=270553;>
 GC behavior specified in TCK and used in Knockout for Java 
implementation.
 Removing dependency on Java collection classes implementations.
 Adding {@link net.java.html.json.Models#asList} factory method to
@@ -303,16 +303,16 @@ $ mvn -f client/pom.xml process-classes exec:exec
 
 Both values null and undefined are
 treated as 
null.
-Better behavior under https://netbeans.org/bugzilla/show_bug.cgi?id=259132;>
+Better behavior under https://bz.apache.org/netbeans/show_bug.cgi?id=259132;>
 multi-threaded load.
 
 Workaround for garbage collector behavior of modern JavaFX WebView
 implementations (JDK8 u112 and newer).
 JavaFX Presenter can
-https://netbeans.org/bugzilla/show_bug.cgi?id=269456"/>
+https://bz.apache.org/netbeans/show_bug.cgi?id=269456"/>
 show popup window.
 Development has switched to
 https://github.com/jtulach/html-java-api/"/>
@@ -320,7 +320,7 @@ $ mvn -f client/pom.xml process-classes exec:exec
 http://wiki.apidesign.org/wiki/Apache"/>
 conversion by Emilian Bold.
 Better support for obfuscation of knockout module
-(bug https://netbeans.org/bugzilla/show_bug.cgi?id=270013"/>
+(bug https://bz.apache.org/netbeans/show_bug.cgi?id=270013"/>
 270013).
 
 
@@ -351,17 +351,17 @@ $ mvn -f client/pom.x

svn commit: r46491 - /dev/netbeans/netbeans-vscode-ext/12.3.0/

2021-03-06 Thread jtulach
Author: jtulach
Date: Sun Mar  7 05:59:25 2021
New Revision: 46491

Log:
12.3.0 netbeans-vscode-ext has been approved for release

Removed:
dev/netbeans/netbeans-vscode-ext/12.3.0/


-
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



svn commit: r46490 - /release/netbeans/netbeans-vscode-ext/12.3.0/

2021-03-06 Thread jtulach
Author: jtulach
Date: Sun Mar  7 05:52:02 2021
New Revision: 46490

Log:
12.3.0 netbeans-vscode-ext has been approved for release

Added:
release/netbeans/netbeans-vscode-ext/12.3.0/
  - copied from r46489, dev/netbeans/netbeans-vscode-ext/12.3.0/


-
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 (41676a5 -> c9277ad)

2021-03-05 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 41676a5  Need JDK15 to generate the Javadoc
 new fa03542  failing test for ComputedProperty and OnReceive referencing 
model property in other pkg
 new 9ec2954  fix imports for OnReceive and Computedproperty
 new c9277ad  Merge pull request #32 from dukescript/modelprocessor-fix

The 317 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:
 .../netbeans/html/json/impl/ModelProcessor.java| 39 +++---
 .../test/java/net/java/html/json/AdressTest.java   | 13 ++--
 .../net/java/html/json/sub/TelephoneCntrl.java |  8 +++--
 3 files changed, 42 insertions(+), 18 deletions(-)
 copy boot-script/src/main/java/net/java/html/boot/script/impl/Callback.java => 
json/src/test/java/net/java/html/json/sub/TelephoneCntrl.java (84%)


-
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



svn commit: r46452 - in /dev/netbeans/netbeans-vscode-ext/12.3.0: ./ apache-netbeans-java-12.3.0.vsix apache-netbeans-java-12.3.0.vsix.asc apache-netbeans-java-12.3.0.vsix.sha512

2021-03-03 Thread jtulach
Author: jtulach
Date: Thu Mar  4 04:07:38 2021
New Revision: 46452

Log:
Proposing release 12.3.0 of VSNetBeans

Added:
dev/netbeans/netbeans-vscode-ext/12.3.0/
dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix   
(with props)
dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix.asc

dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix.sha512

Added: dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix.asc
==
--- 
dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix.asc 
(added)
+++ 
dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix.asc 
Thu Mar  4 04:07:38 2021
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEETxTvPki77GNgjX6yE1SNfMr66A0FAmBAXA0ACgkQE1SNfMr6
+6A2nHxAAvuoSBehWczi+aUQZst4+m5768y4N5PLOaqIvVGNY97hZoSBdMtptrIEK
+Vy8W0ZQkbFLjixNXHSZ/wmYuhxUVM9j+c4lWkDpSpuThj8DhyjUR8CpHwU8LtYXc
+g4udZ0HglstePs23/bo/R5aDhq0+PhLPd2nGd7LLyGLACFBSZO4q+Q7+KilijKcP
+FlXwZCM3huzWKukuJpRaCruCdkSW9mcEVlSGbWpQQgaBZcAwqqMGMJ8IsK1BuD5h
+Thqh7dNaaRtnxrCi58uiFLOSR593bLjJbwWEkJ4UkKrSbe8SQTOadmscNnt+0wtZ
+atrI0OQ/WTrnGNNUwhVR5ZYF8fgKT9IqKhjN1L6T1CNRkTlmusceqkgXYPpvbQ42
+Uw+K563RBKcSDvSurCf1svJjiu5yzwiskC2kpJDFbX3tPJqOBdGyV/pKyPw3wZCv
+wjrf/tpAC89+XEpi4KO22cs5lTY+8ZZcsei0UrTr01pdNZbSuTj6k5C+OrXEtkER
+/jAWDnEh3JkqmMgOZWRVDI40UjJkDAxyqXIO+5JR5w/7jquiODnkwmLu1rpbdnuS
+MdCm+5kZhthfrM8bQUvpxR2ZxTft50dl4zTSGlxrBe99UPjlplX7Y1lHUVAN/Ayq
+oRFxF6yvMgvSFFvgWBpKL0I0rCAxSrH6BmQ1XCDygNKEyxVYE20=
+=8GGa
+-END PGP SIGNATURE-

Added: 
dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix.sha512
==
--- 
dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix.sha512 
(added)
+++ 
dev/netbeans/netbeans-vscode-ext/12.3.0/apache-netbeans-java-12.3.0.vsix.sha512 
Thu Mar  4 04:07:38 2021
@@ -0,0 +1 @@
+4439bdb2e96d45f011c433106ffdbda39edb1d3144afc9d89d98b7be7aecaaef5fad4a847ede114e157f7a6151311bf8720a58d3b08a23d0a7e91d348bb2
  apache-netbeans-java-12.3.0.vsix



-
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] branch master updated (78070a8 -> 1b8a454)

2021-03-01 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.git.


from 78070a8  Merge pull request #2782 from 
MartinBalin/vscode/build_md_update
 new 5efb6e7  Register JDKPlatformProvider when creating javac in ant's 
ClassLoader.
 new 71b0379  Adding test.
 new 1b8a454  Merge pull request #2784 from 
jlahoda/ant-jdkplatform-registration

The 5051 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:
 .../apache/tools/ant/module/bridge/AntBridge.java  | 28 +++
 .../test/unit/data/compile/Test.java   | 19 
 .../test/unit/data/compile/build.xml   | 27 +++
 .../tools/ant/module/bridge/AntBridgeTest.java | 54 ++
 4 files changed, 128 insertions(+)
 create mode 100644 
extide/o.apache.tools.ant.module/test/unit/data/compile/Test.java
 create mode 100644 
extide/o.apache.tools.ant.module/test/unit/data/compile/build.xml
 create mode 100644 
extide/o.apache.tools.ant.module/test/unit/src/org/apache/tools/ant/module/bridge/AntBridgeTest.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] branch master updated: Updates to better document the build of VSCode.

2021-02-28 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.git


The following commit(s) were added to refs/heads/master by this push:
 new 7368fc8  Updates to better document the build of VSCode.
 new 78070a8  Merge pull request #2782 from 
MartinBalin/vscode/build_md_update
7368fc8 is described below

commit 7368fc8fe76b9c04ce0c622402908139ad2e740a
Author: Martin Balin 
AuthorDate: Thu Feb 25 17:31:26 2021 +0100

Updates to better document the build of VSCode.
---
 java/java.lsp.server/vscode/BUILD.md | 22 +++---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/java/java.lsp.server/vscode/BUILD.md 
b/java/java.lsp.server/vscode/BUILD.md
index fd6157b..553860e 100644
--- a/java/java.lsp.server/vscode/BUILD.md
+++ b/java/java.lsp.server/vscode/BUILD.md
@@ -20,6 +20,13 @@
 under the License.
 
 -->
+## Prerequisities
+It is necessary to have installed:
+- Ant, latest version
+- Maven, latest version
+- node.js, latest LTS (to build VSIX)
+
+It is recommended to build using JDK 8.
 
 ## Getting the Code
 
@@ -35,11 +42,20 @@ To build the VS Code extension invoke:
 ```bash
 netbeans$ ant build
 netbeans$ cd java/java.lsp.server
-java.lsp.server$ ant build-vscode-ext -D3rdparty.modules=.*nbjavac.*
+java.lsp.server$ ant build-vscode-ext
 ```
-
-The `3rdparty.modules` property doesn't have to be set at all.
 The resulting extension is then in the `build` directory, with the `.vsix` 
extension.
+ Build Options
+- `-Dvsix.version=x.y.z`can be used to set release version. E.g. set this 
option to `12.3.0` to get proper NetBeans release version for extension. 
+- `-D3rdparty.modules=.*nbjavac.*` can be set to include nb-javac which allows 
extension to run out of the box on JDK8. For **zsh** it is necessary to wrap 
it: `-D3rdparty.modules='.*nbjavac.*'`
+
+The build of NetBeans VSCode extension with nb-javac included, for version 
12.3.0 then looks like this:
+```bash
+netbeans$ ant build
+netbeans$ cd java/java.lsp.server
+java.lsp.server$ ant build-vscode-ext -D3rdparty.modules=.*nbjavac.* 
-Dvsix.version=12.3.0
+```
+
 
 ### Building for Development
 


-
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] branch master updated (4d18a93 -> 8ec89eb)

2021-02-24 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.git.


from 4d18a93  Merge pull request #2562 from 
Akshay-Gupta-Oracle/sourceLevelInTest
 new 7dbc4f9  Let's upgrade javac.target to 1.8 across the code base
 new 4661771  By default use javac.target 1.8
 new 96720b9  Set release based on javac.target unless -Xbootclasspath flag 
is specified
 new 94aebf0  Disable release flag by setting bootclasspath
 new 140cb7e  setRelease has been added in Ant 1.9.8
 new 741fd03  Avoid access to sun.security.util package in the test
 new bc005a0  Removing the old bytecode test
 new 1b96b56  JDK11's javac doesn't like $ in Class-Path attribute
 new 240c5b3  Removing the -Dpermit.jdk9.builds=true flag
 new 6bfbf96  Skip the api.htmlui tests if JFXPanel cannot be instantiated
 new 7760c5d  Skip the tests if JavaFX cannot be initialized
 new b48dd4d  Don't test JavaFX Ant project when there is no JavaFX
 new d9b2df1  Only perform the test when JFXPanel is available
 new 1067e68  Validate the generated class files can be executed on JDK8
 new 454ce06  Always specify target/release when using javac
 new 1fc8f5a  Removing note about -Dpermit.jdk9.builds=true from readme
 new 4e20b24  Making up-to-date with master
 new 0c11e9e  Skip the wizard test when there is no JavaFX around
 new 8ec89eb  Merge pull request #2761 from JaroslavTulach/jtulach/UseJDK11

The 5044 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:
 .travis.yml|   4 +-
 README.md  |   1 -
 apisupport/apisupport.ant/build.xml|   2 +-
 .../modules/apisupport/project/UseFxTest.java  |  19 +
 .../JBoss4EjbTest/nbproject/project.properties |   2 +-
 .../JBoss4WebTest/nbproject/project.properties |   2 +-
 .../nbproject/project.properties   |   2 +-
 enterprise/j2ee.ant/build.xml  |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../EJBModule2_1_4/nbproject/project.properties|   2 +-
 .../EJBModule_1_4/nbproject/project.properties |   2 +-
 .../EJBModule_5_0/nbproject/project.properties |   2 +-
 .../EJBModule_6_0/nbproject/project.properties |   2 +-
 .../EJBModule_7_0/nbproject/project.properties |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../BrokenEJBModule1/nbproject/project.properties  |   2 +-
 .../EJBModule1/nbproject/project.properties|   2 +-
 .../EJBModule_6_0/nbproject/project.properties |   2 +-
 .../EJBModule_5_0/nbproject/project.properties |   2 +-
 .../EJBModule_6_0/nbproject/project.properties |   2 +-
 .../EJBModule_7_0/nbproject/project.properties |   2 +-
 .../WebModule_6_0/nbproject/project.properties |   2 +-
 .../WebModule_7_0/nbproject/project.properties |   2 +-
 .../TestingEntApp-ejb/nbproject/project.properties |   2 +-
 .../TestingEntApp-war/nbproject/project.properties |   2 +-
 .../TestingEntApp/nbproject/project.properties |   2 +-
 .../EntityHintsApp/nbproject/project.properties|   2 +-
 .../EntityHintsEJB/nbproject/project.properties|   2 +-
 .../MultiSrcRootEjb/nbproject/project.properties   |   2 +-
 .../MultiSrcRootWar/nbproject/project.properties   |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../projects/TestCMP/nbproject/project.properties  |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../TestPersistence/nbproject/project.properties   |   2 +-
 .../TestWebApp/nbproject/project.properties|   2 +-
 .../EJBModule53/nbproject/project.properties   |   2 +-
 .../JBoss4EjbTest/nbproject/project.properties |   2 +-
 .../JBoss4WebTest/nbproject/project.properties |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../TestApplication/nbproject/project.properties   |   2 +-
 .../ScriptingPerfTest/nbproject/project.properties |   2 +-
 .../nbproject/project.properties   |   2 +-
 .../TestWebProject/nbproject/project

[netbeans] branch master updated: Let AutoUpdate task recognize m2:/ URL scheme, so VSCode build can install additional nbjavac modules from Maven

2021-02-23 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.git


The following commit(s) were added to refs/heads/master by this push:
 new aa25646  Let AutoUpdate task recognize m2:/ URL scheme, so VSCode 
build can install additional nbjavac modules from Maven
 new 1063e4b  Merge pull request #2777 from JaroslavTulach/jtulach/M2Scheme
aa25646 is described below

commit aa256463dcefb3b95bec6b7ac74e04a960015bc9
Author: Jaroslav Tulach 
AuthorDate: Tue Feb 23 07:32:16 2021 +0100

Let AutoUpdate task recognize m2:/ URL scheme, so VSCode build can install 
additional nbjavac modules from Maven
---
 .travis.yml|  2 +-
 .../modules/ext/nb-javac-15.0.0.2-api.jar.external |  2 +-
 .../ext/nb-javac-15.0.0.2-impl.jar.external|  2 +-
 .../antsrc/org/netbeans/nbbuild/AutoUpdate.java| 17 +++--
 .../netbeans/nbbuild/extlibs/DownloadBinaries.java | 74 ++
 5 files changed, 62 insertions(+), 35 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index c57a379..beb8a84 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -793,7 +793,7 @@ matrix:
 - ant $OPTS clean
 - ant $OPTS build
   script:
-- (cd java/java.lsp.server; ant build-vscode-ext)
+- (cd java/java.lsp.server; ant build-vscode-ext 
-D3rdparty.modules=.*nbjavac.*)
 - (cd java/java.lsp.server; ant test-vscode-ext)
 
 - name: "GraalVM Tests (latest)"
diff --git 
a/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-15.0.0.2-api.jar.external
 
b/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-15.0.0.2-api.jar.external
index 0abbc18..72d3d41 100644
--- 
a/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-15.0.0.2-api.jar.external
+++ 
b/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-15.0.0.2-api.jar.external
@@ -1,5 +1,5 @@
 CRC:3736270701
 SIZE:210532
-URL:m2:/com.dukescript.nbjavac:nb-javac:15.0.0.2:jar:api
+URL:m2:/com.dukescript.nbjavac:nb-javac:15.0.0.2:api
 MessageDigest: SHA-256 
20dae9df239aa1d346c56b744aee741f753611e7470640ff1ff7b1731283ed1b
 MessageDigest: SHA-512 
e12e603815159cbb348d8d3e73588d8ad549b41cac21831fa1228c0ab9bf23ce18d162b6fe7679de9d249fc2cb3a627edd35ebf2f3851dfd6d2513e1da741447
\ No newline at end of file
diff --git 
a/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-15.0.0.2-impl.jar.external
 
b/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-15.0.0.2-impl.jar.external
index 4e44592..e2f2d12 100644
--- 
a/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-15.0.0.2-impl.jar.external
+++ 
b/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-15.0.0.2-impl.jar.external
@@ -1,5 +1,5 @@
 CRC:1851126890
 SIZE:3511612
-URL: m2:/com.dukescript.nbjavac:nb-javac:15.0.0.2:jar
+URL: m2:/com.dukescript.nbjavac:nb-javac:15.0.0.2
 MessageDigest: SHA-256 
809b68535b8d5e564802deba7489308f01041acaf0731584544ffd96c6d385c1
 MessageDigest: SHA-512 
e450cf9da202dee89ef79bff65fab1a287bd97d08ecc2ea19fbeedd8a16ce79371fbc0a72c68d353d8d13cae18e015ad862b28962cd2f6e43874f52767e99de7
\ No newline at end of file
diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/AutoUpdate.java 
b/nbbuild/antsrc/org/netbeans/nbbuild/AutoUpdate.java
index 77184c4..f9dbf8f 100644
--- a/nbbuild/antsrc/org/netbeans/nbbuild/AutoUpdate.java
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/AutoUpdate.java
@@ -32,6 +32,7 @@ import java.io.InputStream;
 import java.io.InputStreamReader;
 import java.io.OutputStream;
 import java.io.PrintWriter;
+import java.net.URI;
 import java.net.URISyntaxException;
 import java.net.URL;
 import java.net.URLConnection;
@@ -57,6 +58,7 @@ import org.apache.tools.ant.taskdefs.Get;
 import org.apache.tools.ant.types.FileSet;
 import org.apache.tools.ant.util.FileUtils;
 import org.netbeans.nbbuild.AutoUpdateCatalogParser.ModuleItem;
+import org.netbeans.nbbuild.extlibs.DownloadBinaries;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.xml.sax.Attributes;
@@ -186,7 +188,7 @@ public class AutoUpdate extends Task {
 List info = installed.get(uu.getCodeName());
 if (info != null && !uu.isNewerThan(info.get(0))) {
 log("Version " + info.get(0) + " of " + uu.getCodeName() + " 
is up to date", Project.MSG_VERBOSE);
-if (!force) {
+if (!force) {
 continue;
 }
 }
@@ -405,12 +407,17 @@ public class AutoUpdate extends Task {
 }
 url = url.substring(0, index) + propVal + 
url.substring(end + 1);
 }
-log("Trying external URL: " + url, Project.MSG_INFO);
 try {
-conn = new URL(url).

svn commit: r46165 - /dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/ /release/netbeans/netbeans-vscode-ext/12.2.2/

2021-02-16 Thread jtulach
Author: jtulach
Date: Wed Feb 17 06:03:32 2021
New Revision: 46165

Log:
Releasing (imperfect) NetBeans VSCode extension 12.2.2

Added:
release/netbeans/netbeans-vscode-ext/12.2.2/
  - copied from r46083, 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/

release/netbeans/netbeans-vscode-ext/12.2.2/apache-netbeans-java-12.2.2.vsix.asc
  - copied unchanged from r46084, 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.asc
release/netbeans/netbeans-vscode-ext/12.2.2/netbeans-12.2.2-source.zip.asc
  - copied unchanged from r46084, 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.asc
Removed:
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/


-
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] branch delivery updated (e076145 -> 0b1145e)

2021-02-13 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


from e076145  Merge pull request #2754 from 
sdedic/lsp/bugfix/after-run-delay
 new ac183a7  Keep only nbjavac's update center enabled
 new 6203bfe  Make sure only 3rdparty update center remais enabled
 new fa85b51  Search just for the java.lsp.server name in the output
 new cd63747  Check just a few well known clusters
 new 0b1145e  Merge pull request #2757 from 
JaroslavTulach/jtulach/OnlyEnableNbJavacCataglog

The 4989 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:
 java/java.lsp.server/build.xml |  6 ++-
 .../java.lsp.server/nbcode/integration/manifest.mf |  1 +
 .../nbcode/integration/nbproject/project.xml   | 17 
 .../netbeans/modules/nbcode/integration/layer.xml  | 31 ++
 .../integration/VerifyJustOneUpdateCenterTest.java | 48 ++
 .../nbcode/nbproject/platform.properties   |  6 +++
 java/java.lsp.server/vscode/src/extension.ts   |  2 +-
 .../vscode/src/test/suite/extension.test.ts| 24 ++-
 8 files changed, 131 insertions(+), 4 deletions(-)
 create mode 100644 
java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/layer.xml
 create mode 100644 
java/java.lsp.server/nbcode/integration/test/unit/src/org/netbeans/modules/nbcode/integration/VerifyJustOneUpdateCenterTest.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



svn commit: r46084 - in /dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2: apache-netbeans-java-12.2.2.vsix.asc netbeans-12.2.2-source.zip.asc

2021-02-13 Thread jtulach
Author: jtulach
Date: Sun Feb 14 05:25:24 2021
New Revision: 46084

Log:
Signing again with 2021 signing key

Modified:

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.asc

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.asc

Modified: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.asc
==
--- 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.asc
 (original)
+++ 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.asc
 Sun Feb 14 05:25:24 2021
@@ -1,6 +1,16 @@
 -BEGIN PGP SIGNATURE-
 
-iF0EABECAB0WIQS8Lzcdq85cO8li6Ky8455lEKG+BAUCYCinTgAKCRC8455lEKG+
-BG0nAJoCigsDqfFTEIvpFl3woZjDO41VrwCfVDpEZAoFoH7jKCbqNHKgZIJfftE=
-=LfVy
+iQIzBAABCgAdFiEETxTvPki77GNgjX6yE1SNfMr66A0FAmAos/gACgkQE1SNfMr6
+6A2aMg//S34qnKudgeDNlKd7gi6hyF82wfe8sveNk2Kd7HPfpjdb6HVsdxsVvlV4
+WcwJ+qslY+tZui/WZkUtWFWlfRy0HCZ0oDUX0tWLXqeOoUPiKodp+7W+L98Iqz+i
+PMyhMMNhZGdJnACmMzR2BbuQPHB602LAYowmlNmTFQtFzIc6Yz7M+8Dnl07EbwIZ
+wJmexc6avszxofQNs0R48WPW5ZvjhNzmrQWR+rR9ETT+uwa5DvBh4fdg0xELIedM
+5Z28HqH0sFID9v3TKZljynRMYAPuiGGrNRRLB+EWAJcAmmOc6M0eUs/r0iYDj6ZV
+rwFdCiM/83Bcf4TTae//Gl0yLp9ArvChTZZdNPuI12hVfcHMeqsm2LLkkS8vRG0u
+AQpyIRzgSdBwWwdtpkRiy/KEj7F+3UmWQ//XtXSZYMm7A4uy6HfINlaIGtseY7zq
+vUXVenJX8hE2TCvyrvzBbtcZtWren1+MMG2/PJXpoBztGcWJrVCbH6uY5EH21QLb
+LluCrlRa55S+3iAWfG5xTfj5VpxGFGh4NCQFgVmKJaG+QaBzWSw+12GLvc2bFI0m
+w9OeGcjHADTW+fsJv1pWL4SvZGSbx1E5V1wQo5i/JqkzRgahZPxYgk8W2MBZ673M
+qSHg83Umk3IsxA+0osoa2oEuKc2EtazhrDishe567ynGUrE/DEw=
+=1x2h
 -END PGP SIGNATURE-

Modified: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.asc
==
--- 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.asc
 (original)
+++ 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.asc
 Sun Feb 14 05:25:24 2021
@@ -1,6 +1,16 @@
 -BEGIN PGP SIGNATURE-
 
-iF0EABECAB0WIQS8Lzcdq85cO8li6Ky8455lEKG+BAUCYCiszQAKCRC8455lEKG+
-BC3SAKCc9TW1ioUdv02NyhxSfm/CaN2peACfbF26PqxUuH7reeOqzdr2WfEn7z4=
-=xzVz
+iQIzBAABCgAdFiEETxTvPki77GNgjX6yE1SNfMr66A0FAmAotAkACgkQE1SNfMr6
+6A1D7BAA8zGHOOp2VM4O2sNAnq2ScZW8oX+JfhOfrTVhA3/zxehtSRxrQe7YZ0eW
+3yVQhnTF31/PVeotwNDZkmJMPaY77PF6i9bYL3w6P/TnByrp8PR5uA8Uhh2dC46z
+CkjhwIgdIb5DH5dn9GxNXC3ykHGdEJfurwVj1tn5VAn9wdw/VuSupY09qNzhx2hN
+1FSceaZFHRYm8EW3skm+OJyqlLHSIhYx7ifQuTHuMNySqL+EMsbpY+hz1zqIMSQW
+sWinubEeRvtWr+nqDJ5+AowWBGUYe3vN7mVlkKo4nOMaJ5E0NWYJfgW49nz7nCA3
+QzMIwskQjaPcQ4T7bftM3wzA0be6Agi8d81Z8FVsFajk/h7ZuOStXfgiWoeWPuDH
+TsbWThrzmJhQ0lhXwWgll+k/V/Uw5YreT2oGtZ1Hn6qPrModIaq0wbHmSG4WgBrP
+J+ouyBN3nCVbVz08c7syX7Y0XKbM3kP5PyOqz5zbGs/tmQkou7TDiIB6w36ELx/e
+gaLgQP6TDVCByuAY7FSHWP6AiidRY8CotYleDupg8/w9SVMXWY83z7CR2V6yo6fX
+NKp4IDylzxUTPyqXWsm/Izu8A3Lt45yrIoCb8gOA3cKNUZkvxSJiNGXWPC5lBDff
+eaMx94BcUUXO7DXtj0OOVI1/RJEPEgZATJlkywsspIk1SADfEAM=
+=GEBb
 -END PGP SIGNATURE-



-
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



svn commit: r46083 - /dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/

2021-02-13 Thread jtulach
Author: jtulach
Date: Sun Feb 14 04:59:44 2021
New Revision: 46083

Log:
NetBeans VSCode extension 12.2.2 emergency update

Added:
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix
   (with props)

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.asc

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.sha512
   (with props)

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip
   (with props)

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.asc

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.sha512

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix
--
svn:executable = *

Propchange: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.asc
==
--- 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.asc
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.asc
 Sun Feb 14 04:59:44 2021
@@ -0,0 +1,6 @@
+-BEGIN PGP SIGNATURE-
+
+iF0EABECAB0WIQS8Lzcdq85cO8li6Ky8455lEKG+BAUCYCinTgAKCRC8455lEKG+
+BG0nAJoCigsDqfFTEIvpFl3woZjDO41VrwCfVDpEZAoFoH7jKCbqNHKgZIJfftE=
+=LfVy
+-END PGP SIGNATURE-

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.sha512
==
--- 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.sha512
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.sha512
 Sun Feb 14 04:59:44 2021
@@ -0,0 +1 @@
+5209369210183e8bf507fc3f5a06ab7dfd6526b94df203ee06a965ad6f51980c8bf106526a3e77bf3668456276ec59a96144d06c5ad0b048e1500525620e723b
  apache-netbeans-java-12.2.2.vsix

Propchange: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.sha512
--
svn:executable = *

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.asc
==
--- 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.asc
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.asc
 Sun Feb 14 04:59:44 2021
@@ -0,0 +1,6 @@
+-BEGIN PGP SIGNATURE-
+
+iF0EABECAB0WIQS8Lzcdq85cO8li6Ky8455lEKG+BAUCYCiszQAKCRC8455lEKG+
+BC3SAKCc9TW1ioUdv02NyhxSfm/CaN2peACfbF26PqxUuH7reeOqzdr2WfEn7z4=
+=xzVz
+-END PGP SIGNATURE-

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.sha512
==
--- 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.sha512
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.sha512
 Sun Feb 14 04:59:44 2021
@@ -0,0 +1 @@
+021b2b6dfe84810835368eac6729907d17daac6b9e9199e259e203307a5c48655ef7259d8a3b3e0e011dd5d2d2f11370ab60ced4439c1240efff8fe72e6d16da
  netbeans-12.2.2-source.zip



-
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] tag 12.2.2 created (now 1fb82a9)

2021-02-13 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to tag 12.2.2
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 1fb82a9  (commit)
No new revisions were added by this update.


-
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] branch release122 updated (7220262 -> 1fb82a9)

2021-02-13 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


from 7220262  Merge pull request #2664 from 
JaroslavTulach/ReadmeChangelogVersionForRelease12.2.1
 add d763e34  Backport of #2757 hotfix to 12.2 branch
 add 3b56c54  This would be the 12.2.2 update of VSNetBeans
 add 86bf94b  Downgrading dependency after backporting to match state of 
12.2 branch
 add 1fb82a9  Backporting Dušan's bugfix from 818d41ab037971

No new revisions were added by this update.

Summary of changes:
 java/java.lsp.server/build.xml |  9 +++-
 .../java.lsp.server/nbcode/integration/manifest.mf |  1 +
 .../nbcode/integration/nbproject/project.xml   | 17 
 .../netbeans/modules/nbcode/integration/layer.xml  | 31 ++
 .../integration/VerifyJustOneUpdateCenterTest.java | 48 ++
 .../nbcode/nbproject/platform.properties   |  6 +++
 java/java.lsp.server/vscode/src/extension.ts   |  2 +-
 7 files changed, 111 insertions(+), 3 deletions(-)
 create mode 100644 
java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/layer.xml
 create mode 100644 
java/java.lsp.server/nbcode/integration/test/unit/src/org/netbeans/modules/nbcode/integration/VerifyJustOneUpdateCenterTest.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] branch jtulach/VSNetBeansBackport2757 updated: Check few well known clusters

2021-02-12 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/jtulach/VSNetBeansBackport2757 
by this push:
 new 1af0490  Check few well known clusters
1af0490 is described below

commit 1af0490264e02bb472227780a3d54f60451681a7
Author: Jaroslav Tulach 
AuthorDate: Fri Feb 12 16:56:10 2021 +0100

Check few well known clusters
---
 .../vscode/src/test/suite/extension.test.ts| 23 --
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/java/java.lsp.server/vscode/src/test/suite/extension.test.ts 
b/java/java.lsp.server/vscode/src/test/suite/extension.test.ts
index 0ab9c32..c212c88 100644
--- a/java/java.lsp.server/vscode/src/test/suite/extension.test.ts
+++ b/java/java.lsp.server/vscode/src/test/suite/extension.test.ts
@@ -34,10 +34,29 @@ suite('Extension Test Suite', () => {
 
 test('Find clusters', async () => {
 let clusters = myExtension.findClusters('non-existent');
-assert.strictEqual(clusters.length, 6, 'six clusters found: ' + 
clusters);
+
+let found : string[] = [];
+function assertCluster(name : string) {
+for (let c of clusters) {
+if (c.endsWith('/' + name)) {
+found.push(c);
+return;
+}
+}
+assert.fail(`Cannot find ${name} amongt ${clusters}`);
+}
+
+assertCluster('extide');
+assertCluster('ide');
+assertCluster('java');
+assertCluster('nbcode');
+assertCluster('platform');
+assertCluster('webcommon');
+assertCluster('harness');
+
 let nbcode = 
vscode.extensions.getExtension('asf.apache-netbeans-java');
 assert.ok(nbcode);
-for (let c of clusters) {
+for (let c of found) {
 assert.ok(c.startsWith(nbcode.extensionPath), `All extensions are 
below ${nbcode.extensionPath}, but: ${c}`);
 }
 });


-
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] branch jtulach/VSNetBeansBackport2757 updated: Backporting Dušan's bugfix from 818d41ab037971

2021-02-12 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/jtulach/VSNetBeansBackport2757 
by this push:
 new 1fb82a9  Backporting Dušan's bugfix from 818d41ab037971
1fb82a9 is described below

commit 1fb82a99c5e633aa87a448613ca313406ecc73cd
Author: Jaroslav Tulach 
AuthorDate: Fri Feb 12 15:41:38 2021 +0100

Backporting Dušan's bugfix from 818d41ab037971
---
 java/java.lsp.server/build.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/java.lsp.server/build.xml b/java/java.lsp.server/build.xml
index 1e954ee..256809c 100644
--- a/java/java.lsp.server/build.xml
+++ b/java/java.lsp.server/build.xml
@@ -80,6 +80,7 @@
 
 
 
+
 
 
 


-
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] branch jtulach/VSNetBeansBackport2757 updated: Downgrading dependency after backporting to match state of 12.2 branch

2021-02-12 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/jtulach/VSNetBeansBackport2757 
by this push:
 new 86bf94b  Downgrading dependency after backporting to match state of 
12.2 branch
86bf94b is described below

commit 86bf94bb4c4f525e531ddf900165e8d35d9fbdb3
Author: Jaroslav Tulach 
AuthorDate: Fri Feb 12 14:09:46 2021 +0100

Downgrading dependency after backporting to match state of 12.2 branch
---
 java/java.lsp.server/nbcode/integration/nbproject/project.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/java.lsp.server/nbcode/integration/nbproject/project.xml 
b/java/java.lsp.server/nbcode/integration/nbproject/project.xml
index 35877ca..a4e05a5 100644
--- a/java/java.lsp.server/nbcode/integration/nbproject/project.xml
+++ b/java/java.lsp.server/nbcode/integration/nbproject/project.xml
@@ -95,7 +95,7 @@
 
org.netbeans.modules.updatecenters
 
 1
-1.51
+1.50
 
 
 


-
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] branch jtulach/VSNetBeansBackport2757 updated: This would be the 12.2.2 update of VSNetBeans

2021-02-12 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/jtulach/VSNetBeansBackport2757 
by this push:
 new 3b56c54  This would be the 12.2.2 update of VSNetBeans
3b56c54 is described below

commit 3b56c549bb404b8f20a088a391ee80703bd51e4a
Author: Jaroslav Tulach 
AuthorDate: Fri Feb 12 11:23:28 2021 +0100

This would be the 12.2.2 update of VSNetBeans
---
 java/java.lsp.server/build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/java.lsp.server/build.xml b/java/java.lsp.server/build.xml
index 50bfb11..1e954ee 100644
--- a/java/java.lsp.server/build.xml
+++ b/java/java.lsp.server/build.xml
@@ -60,7 +60,7 @@
 
 
 
-
+
 
 
 


-
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] 01/01: Backport of #2757 hotfix to 12.2 branch

2021-02-12 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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

commit d763e3468043350b256baee1c19ed365da17b1e3
Author: Jaroslav Tulach 
AuthorDate: Fri Feb 12 11:20:18 2021 +0100

Backport of #2757 hotfix to 12.2 branch
---
 java/java.lsp.server/build.xml |  6 ++-
 .../java.lsp.server/nbcode/integration/manifest.mf |  1 +
 .../nbcode/integration/nbproject/project.xml   | 17 
 .../netbeans/modules/nbcode/integration/layer.xml  | 31 ++
 .../integration/VerifyJustOneUpdateCenterTest.java | 48 ++
 .../nbcode/nbproject/platform.properties   |  6 +++
 java/java.lsp.server/vscode/src/extension.ts   |  2 +-
 7 files changed, 109 insertions(+), 2 deletions(-)

diff --git a/java/java.lsp.server/build.xml b/java/java.lsp.server/build.xml
index 48e9311..50bfb11 100644
--- a/java/java.lsp.server/build.xml
+++ b/java/java.lsp.server/build.xml
@@ -129,7 +129,11 @@
 
 
 
-
+
+
+
+
+
 
 
 
diff --git a/java/java.lsp.server/nbcode/integration/manifest.mf 
b/java/java.lsp.server/nbcode/integration/manifest.mf
index 5e5cf71..a2a134c 100644
--- a/java/java.lsp.server/nbcode/integration/manifest.mf
+++ b/java/java.lsp.server/nbcode/integration/manifest.mf
@@ -1,6 +1,7 @@
 Manifest-Version: 1.0
 AutoUpdate-Show-In-Client: false
 OpenIDE-Module: org.netbeans.modules.nbcode.integration
+OpenIDE-Module-Layer: org/netbeans/modules/nbcode/integration/layer.xml
 OpenIDE-Module-Localizing-Bundle: 
org/netbeans/modules/nbcode/integration/Bundle.properties
 OpenIDE-Module-Specification-Version: 1.0
 OpenIDE-Module-Recommends: cnb.org.netbeans.modules.gradle.java
diff --git a/java/java.lsp.server/nbcode/integration/nbproject/project.xml 
b/java/java.lsp.server/nbcode/integration/nbproject/project.xml
index 78bfd93..35877ca 100644
--- a/java/java.lsp.server/nbcode/integration/nbproject/project.xml
+++ b/java/java.lsp.server/nbcode/integration/nbproject/project.xml
@@ -91,7 +91,24 @@
 8.44
 
 
+
+
org.netbeans.modules.updatecenters
+
+1
+1.51
+
+
 
+
+
+unit
+
+
org.netbeans.modules.nbjunit
+
+
+
+
+
 
 
 
diff --git 
a/java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/layer.xml
 
b/java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/layer.xml
new file mode 100644
index 000..a1a03ee
--- /dev/null
+++ 
b/java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/layer.xml
@@ -0,0 +1,31 @@
+
+
+http://www.netbeans.org/dtds/filesystem-1_2.dtd;>
+
+
+
+
+
+
+
+
+
diff --git 
a/java/java.lsp.server/nbcode/integration/test/unit/src/org/netbeans/modules/nbcode/integration/VerifyJustOneUpdateCenterTest.java
 
b/java/java.lsp.server/nbcode/integration/test/unit/src/org/netbeans/modules/nbcode/integration/VerifyJustOneUpdateCenterTest.java
new file mode 100644
index 000..d176098
--- /dev/null
+++ 
b/java/java.lsp.server/nbcode/integration/test/unit/src/org/netbeans/modules/nbcode/integration/VerifyJustOneUpdateCenterTest.java
@@ -0,0 +1,48 @@
+/*
+ * 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.modules.nbcode.integration;
+
+import java.util.Arrays;
+import org.netbeans.junit.NbModuleSuite;
+import org.netbeans.junit.NbTestCase;
+import org.openide.filesystems.FileObject;
+import org.openide.filesystems.FileUtil;
+
+public class VerifyJustOneUpdateCenterTest extends NbTestCase {
+
+public VerifyJustOneUpdateCenterTest(String name) {
+super(name);
+}
+
+public static jun

[netbeans] branch jtulach/VSNetBeansBackport2757 created (now d763e34)

2021-02-12 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


  at d763e34  Backport of #2757 hotfix to 12.2 branch

This branch includes the following new commits:

 new d763e34  Backport of #2757 hotfix to 12.2 branch

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] branch master updated (4afe4da -> b9b276b)

2021-01-22 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.git.


from 4afe4da  Merge pull request #2685 from 
JaroslavTulach/jtulach/DataEditorNoQuestions
 new 58c8082  Enable full VSNetBeans Maven build test.
 new 898b48b  Merging with latest master
 new b9b276b  Merge pull request #2585 from 
JaroslavTulach/EnableVSCodeBuildTest

The 4913 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:
 java/java.lsp.server/vscode/src/test/suite/extension.test.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 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] branch master updated (5b67714 -> 4afe4da)

2021-01-21 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.git.


from 5b67714  Merge pull request #2697 from entlicher/CPPLiteDebugComplete
 new 6b00db8  Concentrating DataEditorSupport dialogs into separate class
 new ef841eb  Allow VSNetBeans to say no to any reload file dialog
 new 6ee0337  Testing and documenting appearance of dialogs in 
DataEditorSupport
 new 4f42da8  Replacing isHeadless() check by branding isn't fully 
compatible change
 new cc1eb58  Depends on branding API introduced in org.openide.loaders@7.80
 new 1ee8dfe  Consistently using fully.qualified.package.name.KEY_NAME in 
all branding APIs
 new 4afe4da  Merge pull request #2685 from 
JaroslavTulach/jtulach/DataEditorNoQuestions

The 4910 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:
 extide/gradle/arch.xml |   2 +-
 ide/projectui/arch.xml |   2 +-
 .../modules/openide/loaders}/Bundle.properties |   5 +-
 .../nbcode/integration/nbproject/project.xml   |  18 ++-
 .../modules/nbcode/integration/Bundle.properties   |   6 +-
 java/maven/arch.xml|   4 +-
 nbbuild/javadoctools/links.xml |   1 +
 nbbuild/javadoctools/properties.xml|   1 +
 nbbuild/javadoctools/replaces.xml  |   1 +
 platform/core.multiview/arch.xml   |   2 +-
 platform/core.network/arch.xml |   2 +-
 platform/o.n.core/arch.xml |   4 +-
 platform/openide.awt/arch.xml  |   2 +-
 .../openide.awt/src/org/openide/awt/Actions.java   |   1 -
 platform/openide.loaders/apichanges.xml|  15 +++
 platform/openide.loaders/arch.xml  |  15 +++
 platform/openide.loaders/manifest.mf   |   2 +-
 .../openide/loaders/AskEditorQuestions.java|  78 +
 .../modules/openide/loaders}/Bundle.properties |  11 +-
 .../src/org/openide/loaders/Bundle.properties  |   7 --
 .../src/org/openide/text/DataEditorSupport.java|  49 ++---
 .../openide/loaders/AskEditorQuestionsTest.java| 122 +
 .../modules/openide/loaders/Bundle_da.properties   |   3 +-
 .../modules/openide/loaders/Bundle_no.properties   |   3 +-
 platform/openide.windows/arch.xml  |  14 +--
 platform/options.api/arch.xml  |   2 +-
 26 files changed, 295 insertions(+), 77 deletions(-)
 copy 
java/java.lsp.server/nbcode/{integration/src/org/netbeans/modules/nbcode/integration
 => 
branding/modules/org-openide-loaders.jar/org/netbeans/modules/openide/loaders}/Bundle.properties
 (93%)
 create mode 100644 
platform/openide.loaders/src/org/netbeans/modules/openide/loaders/AskEditorQuestions.java
 copy 
{java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration
 => 
platform/openide.loaders/src/org/netbeans/modules/openide/loaders}/Bundle.properties
 (68%)
 create mode 100644 
platform/openide.loaders/test/unit/src/org/netbeans/modules/openide/loaders/AskEditorQuestionsTest.java
 copy 
java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/Bundle.properties
 => 
platform/openide.loaders/test/unit/src/org/netbeans/modules/openide/loaders/Bundle_da.properties
 (93%)
 copy 
java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/Bundle.properties
 => 
platform/openide.loaders/test/unit/src/org/netbeans/modules/openide/loaders/Bundle_no.properties
 (93%)


-
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



svn commit: r45424 - /dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/ /release/netbeans/netbeans-vscode-ext/12.2.1/

2021-01-14 Thread jtulach
Author: jtulach
Date: Thu Jan 14 16:12:18 2021
New Revision: 45424

Log:
Releasing Apache NetBeans VSCode Extension version 12.2.1

Added:
release/netbeans/netbeans-vscode-ext/12.2.1/
  - copied from r45319, 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/
Removed:
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/


-
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] branch master updated (efe872f -> 8d09436)

2021-01-11 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.git.


from efe872f  Merge pull request #2663 from 
JaroslavTulach/ReadmeChangelogVersion
 new a1dd66b  Propagate Lookups.executeWith via Mutex.EVENT methods
 new d350172  Documenting Mutex.EVENT and Lookups.executeWith co-operation
 new 8d09436  Merge pull request #2654 from 
JaroslavTulach/LookupAndMutexEvent

The 4853 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:
 .../modules/openide/util/NbMutexEventProvider.java |  37 ---
 .../openide/util/NbMutexEventProviderTest.java | 109 +
 platform/openide.util/apichanges.xml   |  17 
 .../openide.util/src/org/openide/util/Mutex.java   |   6 ++
 4 files changed, 156 insertions(+), 13 deletions(-)
 create mode 100644 
platform/openide.util.ui/test/unit/src/org/netbeans/modules/openide/util/NbMutexEventProviderTest.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



svn commit: r45319 - /dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/

2021-01-11 Thread jtulach
Author: jtulach
Date: Mon Jan 11 10:50:56 2021
New Revision: 45319

Log:
Preparing 12.2.1 of VSNetBeans

Added:
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix
   (with props)

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix.asc

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix.sha512

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/netbeans-12.2.1-source.zip
   (with props)

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/netbeans-12.2.1-source.zip.asc

dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/netbeans-12.2.1-source.zip.sha512

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix.asc
==
--- 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix.asc
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix.asc
 Mon Jan 11 10:50:56 2021
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEETxTvPki77GNgjX6yE1SNfMr66A0FAl/8K4UACgkQE1SNfMr6
+6A2mJBAA0Eijw0C0gAbDE2RJ+JhSJpZHGVQA+QAUky80iJB30fw1YnGknFNhNRv5
+NH1RBqItNwU78opAC6ePnPpkXs+kyAzD3x44YmZ0CXtgrEnhZ+/zp06HAiYCVDGu
+a+GCs+XTVtZFetgOWwNuRgED4c4baQF1Kyxmt8hlsCdFzUvtxO74D6oj/FgOAFjv
+wVwFMwONel6tqe+zxeRIXH6HLRajRjUXVHSXCR4+SgXYpx3/7zk0fSzwiIgCrkQI
+XYaVmmLQv8j1kfng/NUlIN8pv2moO4/8eCoB61VRGN0Mubq7/fsTyJ6Hn6u0hr/+
+CdsoPnkigu4acK3ynqld8tkiAayohpn/dPUZeAiGXfzycNpdTVkHJadtcdcdeUf4
+AS1NL8sOw04VzWvGsWfDcAr9sJQvYT+css0vohmSxsuiYy1aB60J6QzrVfmj/bo8
+XemxrZr7QVSHOzlvFxLKuF/TcmOxjWkOhq/di5lJlfXSYxevSecUb9KV4eky4WyG
+wThGPXG14Enqh+sZkUMLieANkyuFLZaxiimtEC8pXDpqLMVSVqAVF4LKUaP305uw
+SBvGRswnEdjf9HeBNwiGbI1xvNls3Fy49dfaQMywhANrPfRnRKu0xrjIo3Q0HEpl
+UmYsDUjxLSNpMCOKQxMGvFmNY3yGwavarCTETa7bcQHf0WHYjtI=
+=Xxfe
+-END PGP SIGNATURE-

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix.sha512
==
--- 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix.sha512
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/apache-netbeans-java-12.2.1.vsix.sha512
 Mon Jan 11 10:50:56 2021
@@ -0,0 +1 @@
+7f2ce94da9dbe8d3faf304bb4a457478f1d3ba7b49de0a662775d0f62fc37dba532e2f7c59b3f6777203a80140e54e95bf6596db3944aa303d4d86ff22065955
  apache-netbeans-java-12.2.1.vsix

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/netbeans-12.2.1-source.zip
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/netbeans-12.2.1-source.zip
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/netbeans-12.2.1-source.zip.asc
==
--- 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/netbeans-12.2.1-source.zip.asc
 (added)
+++ 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/netbeans-12.2.1-source.zip.asc
 Mon Jan 11 10:50:56 2021
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEETxTvPki77GNgjX6yE1SNfMr66A0FAl/8K4kACgkQE1SNfMr6
+6A3mvhAAtYyxM+0ujDpu/IKrlwaTPYU+dSxxIZi3OVJsLwBf3yezvLwyUfk0p6aP
+pLvmH12fhg2mkgiD4GZ6p69IAc2VhyHXM+SuF7K4lBBMUc5QPfndR6lKbBM0Rohi
+4UmwmAWru/bqAzvXuIrgaAjayuBGOiL+UqZaZMfRVyb6djSEN8aHWgLmNcuQk+zZ
+g1CerHDoUPC1hhdmPJc3XVxnH64shtu8KgQsToDRT5IawbDXgGyx8QJVeVFxGw9H
+PvIgSTPZAHEF9Exf7qelA1ImUrCfF5cZylLB0kamyOyKoytJHjvMWBFRQJEpp7nT
+G7OoGuka9Ijg7K+2Ox4aGNfytERDOzJPhBDGiEas6N/IajqUZn/lDd/cjQgKH6+F
+qO3kAzez8eFj2beUKOmWCrbvd4SIHuVACFP8tc+m6G3HRyiE4/3rrm4rdPF6I8aV
+Jzjcky49eGgpvJytUn25c5Wex08GM4D/bnk+3kDZcKcktEeS4u3sPFka8z/Yg1aE
+A4/X+9fnJu+rlLk9zUmlkjjHag6a+UuRlx9OXrl2bynWBZ/tpM+TrhJ6kVJOTZ/4
+4aUJOXEaByUN1BXvbKHnDwB9xNSdRozXOrldmZF4oPgJXyxnjNoDbrkXoON/86Wt
+UNltOGwHm8k2T6ptAeQUhiSj09ce0iyQstuPMs9zK8wn3hBjcZc=
+=suiP
+-END PGP SIGNATURE-

Added: 
dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.1/netbeans-12.2.1-source.zip.sha512

svn commit: r45318 - /release/netbeans/KEYS

2021-01-11 Thread jtulach
Author: jtulach
Date: Mon Jan 11 10:36:38 2021
New Revision: 45318

Log:
Adding missing gpg --list-sigs description

Modified:
release/netbeans/KEYS

Modified: release/netbeans/KEYS
==
--- release/netbeans/KEYS (original)
+++ release/netbeans/KEYS Mon Jan 11 10:36:38 2021
@@ -603,7 +603,8 @@ LBKwFfQRhFL6B4NCZFrPFr4Aa+YQrf2kNvKkzRb9
 Yce5om28yazcUX3LxjNJSldVlJWHgWXCUvQ9e2rtfeL3ioUtWEV3GYHjmrLnNH5l
 qN0kwpVUutaMmSuXzxqZOQJue6YlYupQ
 =S7LO
--END PGP PUBLIC KEY BLOCK-pub   rsa2048 2014-11-05 [SC] [verfällt: 
2022-11-18]
+-END PGP PUBLIC KEY BLOCK-
+pub   rsa2048 2014-11-05 [SC] [verfällt: 2022-11-18]
   FDF1E067FF3EABE8760380975CDA98F97CD37A42
 uid[ ultimativ ] Anton Epple 
 sig 35CDA98F97CD37A42 2014-11-05  Anton Epple 
@@ -663,6 +664,13 @@ J6myTHOGw+uGobiGay8fayAHUcs68Er/1UcWgKJw
 TCC0j4s4eyC0b8/StCh3ufpqsrpBqg==
 =6Eqy
 -END PGP PUBLIC KEY BLOCK-
+pub   rsa4096 2021-01-11 [SC]
+  4F14EF3E48BBEC63608D7EB213548D7CCAFAE80D
+uid   [  absolutní ] Jaroslav Tulach (2nd key for signing NetBeans 
releases) 
+sig 313548D7CCAFAE80D 2021-01-11  Jaroslav Tulach (2nd key for signing 
NetBeans releases) 
+sub   rsa4096 2021-01-11 [E]
+sig  13548D7CCAFAE80D 2021-01-11  Jaroslav Tulach (2nd key for signing 
NetBeans releases) 
+
 -BEGIN PGP PUBLIC KEY BLOCK-
 
 mQINBF/745wBEAD20VwX97HLaKyC6NpOapUmLt0UG5XafRiqToNP/6y3R7FHPe9W



-
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] tag 12.2.1 created (now 7220262)

2021-01-10 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to tag 12.2.1
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 7220262  (commit)
No new revisions were added by this update.


-
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



svn commit: r45313 - /release/netbeans/KEYS

2021-01-10 Thread jtulach
Author: jtulach
Date: Mon Jan 11 05:46:47 2021
New Revision: 45313

Log:
Uploading 2nd Jaroslav Tulach's key

Modified:
release/netbeans/KEYS

Modified: release/netbeans/KEYS
==
--- release/netbeans/KEYS (original)
+++ release/netbeans/KEYS Mon Jan 11 05:46:47 2021
@@ -663,3 +663,55 @@ J6myTHOGw+uGobiGay8fayAHUcs68Er/1UcWgKJw
 TCC0j4s4eyC0b8/StCh3ufpqsrpBqg==
 =6Eqy
 -END PGP PUBLIC KEY BLOCK-
+-BEGIN PGP PUBLIC KEY BLOCK-
+
+mQINBF/745wBEAD20VwX97HLaKyC6NpOapUmLt0UG5XafRiqToNP/6y3R7FHPe9W
+5aozDddoaAKle9qh9JpnsvOxsHD9vg0HwsXdOpt33J8Gps9tk5uG4RmpholSP1a5
+EWIjnRncBx2PmiXHB5Q7jVzcdIaMXm4QFFSJLU31unNU0EuoezhJgV/0YDs3DTaY
+Fhe2uh/Da841w3Fg6snt8fcwiYmG1ISLH9s661F5W1gEh3cC4NG35o8JylVSR29O
+ivZZkO4oLWQhwep7OPB7r2d2TpvQXbIYKDq3je1jPO7mE3D+lKIKbSQLdBxM45z3
+alKRIz1XVIfskZ55NyMYH1Z9+2C3EWBOnBt+m3TxGMnV0fWUBzsSFerKLC45iJcX
+uZDJVUFzO+XG1qo1SQBWyXfSYZSM0eukq97syE9LyK+pIx3x21HWHkVypwjwQbeC
+xCkfJFEknZ+WlC2Yr8Z/MChBr/z0knnhPBlaFBa2ms2ZzKUJYgtQepGVmIRuqDwz
+H+zNMhQSF0Bovz2BALmX4DsO+Bj6F7AzeZGKvJ7oLpMzMPCWLmxwwvW4bojcC9nH
+mcd3wQkF+g0MZYrQSoPeZYIJpdsndEstTf6oEaDd2TIej/DPKwS6PjVL48w13Hi2
+FNTT/2z0woYoDnt1jktqfRz9YqcxLrvRYjQlgmdhZpLJDQ/WX3aMAeRyVwARAQAB
+tExKYXJvc2xhdiBUdWxhY2ggKDJuZCBrZXkgZm9yIHNpZ25pbmcgTmV0QmVhbnMg
+cmVsZWFzZXMpIDxqdHVsYWNoQGFwYWNoZS5vcmc+iQJOBBMBCgA4FiEETxTvPki7
+7GNgjX6yE1SNfMr66A0FAl/745wCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA
+CgkQE1SNfMr66A3+shAA2n9WwwYQ1tRbO6413fsPGdZwVG/4FgARiMOqg31t2FF4
+egdfpMqFfzO/kHecdnEtWgN08Q4cbQvawx7gvX4pZl04fKVgjyAe0AietZrwGPZa
+qyD9SI8tDRa9FU2HFQ3RKF2Pz0tOcyBwqQ1pRfukl4ylqFgOLVwkUnORZG0q3dIf
+YdENhY7Q6RKNss993KO4iF5bJjGgVkt7Z1iDb/rI4huvZQHZbSGNBIg7pD03QpUE
+pBxl4x5w8lSZepc0+wnQ+PX3U0ioXPUzpzBoXZZu6lgYlyww9x0G478+RPjoQCgl
+wVd+JEMCwau97XLThGUruNzi0Ye1K+EjQFd3Bf7jl7AyZsizGd91+Oie5hCV3HnU
+oKeFyM05uUqFIOuSegXalNhCp29tDu7jkNPZsVAtVmpBuWJc+bt0+KScUjvBUJRm
+Q4SxFpEruekUyHJGc7xWiZ8ubaDesgyA6+ILqLISJN/r1uAnjOFd8QUADEDWOPs5
+DyJvMw8uPKnJ5DY90nbOp2PHQQ1gHoY20Ng8a35PSzeYZWFxKEhtMWEXj7MKrvnB
+dKNGQ6Erg4tBg5XBRk2Os8qwYKlsHV/0yn06n18V8V2j+vYN6t6MDXFiaaNHWH4h
+Vrk6B7QW5/8+z3eVZUwuLSIT8q9IPDu6h8yOSVsdpx0vKqCGnpfwgI+DLdt63BS5
+Ag0EX/vjnAEQALdU1TbONtHSiR6H7AUdB+49VXGAqkK85WGUmycd1YJKJKyearji
+QQrEQ7GcnXEbdenHI5N13i5bcjJ4MGMZ+7NABSV/uUsIvcA8kyct/11Ttm6ajcgF
+vSU+pkRZV2ZHEIpYZPkTwoxEOa1c7ukzzTHqzdEIfEdpALAzn02BSeV1k9qjl/Gb
+FFOOXC82/iKqTdjTAiCcWK/Pz3GS4Rqzx4v4X9SuNtvOrkW/J5HHMc74Fweyt/3d
+/N5q9ngujHDwOlVc6Bu4Cn5zfIM5e4JvEPxCMv/vdEyv1e8dIliAxcZyCWUEgyhA
+LtD+nVafE8qyY8kaLqF/BU9dBdRboF6Dksdxh42rAl7b/5nr9OB2rh1Ns9kwrMqg
+yb7LWGZhl+au4FtPTZlAqDMcJTBPHXyP8yP14qahj1+mSiYlbKKqlmEHdai90m9q
+cK5r9RRJWGxP7Crqx1+zawDkyDwCGRFukdjUXhY8NHDLxuiyi7IBTuoWF7v+fYOx
+K0TOeKEGrpJAOPrTmecejSshqmh4F+DOnKHInNOUwa6PlGevFqZNPTxlMWXy96Em
+fbbB0V7lx+iuT4H8eCyY0+IxerznzYaRJsuFKWJCJOD+F6wWJS+vk4SQ5csdwIaO
+/gf2Re0GHzmPl6qH2R4Or+nXPugsZToSlC4oEXSoBXv/IXvmxwsFNoOvABEBAAGJ
+AjYEGAEKACAWIQRPFO8+SLvsY2CNfrITVI18yvroDQUCX/vjnAIbDAAKCRATVI18
+yvroDcTND/97JcLtONfP2b9J70wvrsriDFijdteS7oP7jrTaEq7SQrOT9BwhhNJk
+1+FeKAERK6ph48rgXhiwJlP6VobW05b9lHp/s03OHJQd98jzrtecmaNxsXYvOOSr
+iRLMH61/8LB5P2OTcn6JWu56Nk45pNeUSBkImOL9h3LFHMFNJRhgz20GbpXXJTF4
+HSMZm7/F5MtHOei+O2arZDE2aHaZdxkrIZfSeVuY6lJS4o7nCsUkuvw49KH1BoAh
+PSX9fP/kQeqJVQgp94pEFUTSizI6pUau/PatpNwx1Y52shcqVOgumh3HZa7crKC+
+BwlQY4W/iJ49oAK7emPmhJbV8+RzC0a1KIrOt4tnbu3Q8dmOZPva4s7V/TGIv6Q5
+AxVu2IKP5LdbdQwNsRTyOoUSh520sC46QQNiyyQYx1z4pCU6bZOGy3D3vAGTBjUn
+bBJRq3J3iyEok4zPGuPHAv0V+Hech5AEXke465exJGZeRNiMW4R02933XC8XlCeg
+t+uZYn61ySkCtrcQR1nbTuu4oA3d20EwCixaNFap/3Pp+os/A33zf9O6bJ3lAUHC
+udsTKtUSVvBKk1H6a6pU0lhrwnrkBUBCtsMAgu323Sf1GWiqAihXKBNWKhcLjrAT
+4YMcL3aMNLepLSGmATs4asTiasNtY8g0d84XCLSqbfBPUCQKA8XgEg==
+=fH4g
+-END PGP PUBLIC KEY BLOCK-



-
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] branch master updated (39467f7 -> efe872f)

2021-01-10 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.git.


from 39467f7  [NETBEANS-5177] Fix filehandle leak in GradleModuleFileCache21
 new 44a6617  Readme and changelog
 new 3418eac  Version updated to 12.3.0
 new c8e0cec  Give the changelog a license
 new 5733fff  License header merged in
 new efe872f  Merge pull request #2663 from 
JaroslavTulach/ReadmeChangelogVersion

The 4850 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:
 java/java.lsp.server/vscode/CHANGELOG.md   |  31 +
 java/java.lsp.server/vscode/README.md  |  11 
 .../vscode/images/Introduce_refactoring.png| Bin 0 -> 27260 bytes
 .../vscode/images/Override_refactoring.png | Bin 0 -> 27287 bytes
 .../vscode/images/Source_actions.png   | Bin 0 -> 31128 bytes
 java/java.lsp.server/vscode/package.json   |   2 +-
 6 files changed, 43 insertions(+), 1 deletion(-)
 create mode 100644 java/java.lsp.server/vscode/CHANGELOG.md
 create mode 100644 java/java.lsp.server/vscode/images/Introduce_refactoring.png
 create mode 100644 java/java.lsp.server/vscode/images/Override_refactoring.png
 create mode 100644 java/java.lsp.server/vscode/images/Source_actions.png


-
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] branch release122 updated (d305afa -> 7220262)

2021-01-10 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


from d305afa  Merge pull request #2651 from 
entlicher/mentlicher/backportTo122
 new 44a6617  Readme and changelog
 new 759a423  Setting the version to 12.2.1
 new c8e0cec  Give the changelog a license
 new 7a01b92  License header merged in
 new 7220262  Merge pull request #2664 from 
JaroslavTulach/ReadmeChangelogVersionForRelease12.2.1

The 4670 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:
 java/java.lsp.server/vscode/CHANGELOG.md   |  31 +
 java/java.lsp.server/vscode/README.md  |  11 
 .../vscode/images/Introduce_refactoring.png| Bin 0 -> 27260 bytes
 .../vscode/images/Override_refactoring.png | Bin 0 -> 27287 bytes
 .../vscode/images/Source_actions.png   | Bin 0 -> 31128 bytes
 java/java.lsp.server/vscode/package.json   |   2 +-
 6 files changed, 43 insertions(+), 1 deletion(-)
 create mode 100644 java/java.lsp.server/vscode/CHANGELOG.md
 create mode 100644 java/java.lsp.server/vscode/images/Introduce_refactoring.png
 create mode 100644 java/java.lsp.server/vscode/images/Override_refactoring.png
 create mode 100644 java/java.lsp.server/vscode/images/Source_actions.png


-
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] branch release122 updated: [NETBEANS-5229] Fixing mapping of jar:file URI to cache and back; disabling ErrorDescriptions in cases when they should be disabled.

2021-01-10 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/release122 by this push:
 new a55c310  [NETBEANS-5229] Fixing mapping of jar:file URI to cache and 
back; disabling ErrorDescriptions in cases when they should be disabled.
 new f199e5a  Merge pull request #2662 from jlahoda/backport-release1221
a55c310 is described below

commit a55c31035ce22c289cfca9f7f27489957e73cecd
Author: Jan Lahoda 
AuthorDate: Sun Jan 10 12:19:49 2021 +0100

[NETBEANS-5229] Fixing mapping of jar:file URI to cache and back; disabling 
ErrorDescriptions in cases when they should be disabled.
---
 .../netbeans/modules/java/lsp/server/Utils.java| 23 +++
 .../server/protocol/TextDocumentServiceImpl.java   | 11 +++-
 .../java/lsp/server/protocol/ServerTest.java   | 70 ++
 3 files changed, 89 insertions(+), 15 deletions(-)

diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/Utils.java 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/Utils.java
index 7ec9bb0..f79bcb8 100644
--- a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/Utils.java
+++ b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/Utils.java
@@ -27,10 +27,8 @@ import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
-import java.io.UncheckedIOException;
 import java.net.MalformedURLException;
 import java.net.URI;
-import java.nio.file.Files;
 import java.util.Properties;
 import javax.lang.model.element.ElementKind;
 import javax.swing.text.Document;
@@ -131,18 +129,11 @@ public class Utils {
 return LineDocumentUtils.getLineStartFromIndex((LineDocument) doc, 
pos.getLine()) + pos.getCharacter();
 }
 
-public static String toUri(FileObject file) {
+public static synchronized String toUri(FileObject file) {
 if (FileUtil.isArchiveArtifact(file)) {
 //VS code cannot open jar:file: URLs, workaround:
-//another workaround, should be:
-//File cacheDir = Places.getCacheSubfile("java-server");
-//but that locks up VS Code, using a temp directory:
-File cacheDir;
-try {
-cacheDir = Files.createTempDirectory("nbcode").toFile();
-} catch (IOException ex) {
-throw new UncheckedIOException(ex);
-}
+File cacheDir = getCacheDir();
+cacheDir.mkdirs();
 File segments = new File(cacheDir, "segments");
 Properties props = new Properties();
 
@@ -184,8 +175,8 @@ public class Utils {
 return file.toURI().toString();
 }
 
-public static FileObject fromUri(String uri) throws MalformedURLException {
-File cacheDir = Places.getCacheSubfile("java-server");
+public static synchronized FileObject fromUri(String uri) throws 
MalformedURLException {
+File cacheDir = getCacheDir();
 URI uriUri = URI.create(uri);
 URI relative = cacheDir.toURI().relativize(uriUri);
 if (relative != null && new File(cacheDir, 
relative.toString()).canRead()) {
@@ -211,4 +202,8 @@ public class Utils {
 }
 return URLMapper.findFileObject(URI.create(uri).toURL());
 }
+
+private static File getCacheDir() {
+return Places.getCacheSubfile("java-server");
+}
 }
diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
index d671a59..7340ba6 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
@@ -53,6 +53,7 @@ import java.util.concurrent.Future;
 import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.function.BiConsumer;
 import java.util.prefs.Preferences;
+import java.util.stream.Collectors;
 import javax.lang.model.element.Element;
 import javax.lang.model.element.ElementKind;
 import javax.lang.model.element.ExecutableElement;
@@ -174,6 +175,7 @@ import org.netbeans.spi.editor.hints.EnhancedFix;
 import org.netbeans.spi.editor.hints.ErrorDescription;
 import org.netbeans.spi.editor.hints.Fix;
 import org.netbeans.spi.editor.hints.LazyFixList;
+import org.netbeans.spi.editor.hints.Severity;
 import org.netbeans.spi.java.hints.JavaFix;
 import org.openide.cookies.EditorCookie;
 import org.openide.filesystems.FileObject;
@@ -1290,7 +1292,14 @@ public class TextDocumentServiceImpl implements 
TextDocumentService, LanguageCli
 }, "errors", false);
 BACKGROUND_

[netbeans] branch release122 updated: Disabling canClose dialog

2021-01-07 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/release122 by this push:
 new af78d2e  Disabling canClose dialog
 new fab5283  Merge pull request #2646 from 
JaroslavTulach/jtulach/DisableCanCloseDialog
af78d2e is described below

commit af78d2eec37911adb590ca26ff9e2786cb98ba1e
Author: Jaroslav Tulach 
AuthorDate: Thu Jan 7 08:00:01 2021 +0100

Disabling canClose dialog
---
 .../java/lsp/server/ui/AbstractDialogDisplayer.java  | 16 
 1 file changed, 16 insertions(+)

diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractDialogDisplayer.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractDialogDisplayer.java
index 35e05a0..a35ba88 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractDialogDisplayer.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractDialogDisplayer.java
@@ -46,6 +46,22 @@ public class AbstractDialogDisplayer extends DialogDisplayer 
{
 @Override
 public Object notify(NotifyDescriptor descriptor) {
 LspServerUtils.avoidClientMessageThread(context);
+
+// XXX: Subject to better fix
+// XXX: Possibly use 3.16 protocol's willRename/didRename
+// XXX: when available
+StackTraceElement[] stack = new Exception().getStackTrace();
+if (stack.length > 2 && stack[1] != null) {
+if (
+
"org.openide.text.DataEditorSupport".equals(stack[1].getClassName()) &&
+"canClose".equals(stack[1].getMethodName())
+) {
+// when VSCode renames modified file, don't try to save the
+// original
+return NotifyDescriptor.CLOSED_OPTION;
+}
+}
+
 UIContext ctx = UIContext.find(context);
 NotifyDescriptorAdapter adapter = new 
NotifyDescriptorAdapter(descriptor, ctx);
 return adapter.clientNotify();


-
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] branch release122 updated (d73d3dd -> 573f287)

2021-01-03 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


from d73d3dd  End user oriented README.md and dedicated BUILD.md (#2546)
 new ff94669  Backport of 0008febcb7c0: Enable limited DialogDisplayer 
emulation over LSP.
 new 25fe06b  Backport of c954f48dbad0: Adding support for workspace/symbol 
to both the LSP client and Java LSP server.
 new a39b3f1  Backport of a3101ebbb48e: Fixing java/java.lsp.server tests.
 new 4fb3a34  Backport of bcdd20ffaa5d: Provide shorter evaluation error, 
without the unneccessary prefix.
 new 44b93d2  Backport of 234392d4fc12: Use ant -f java/java.lsp.server 
test-vscode-ext to execute integration tests for VSNetBeans
 new 91e3dc4  Backport of 923704569822: Wait for LanguageClient to get 
started before running java.compile.workspace command
 new e5495e7  Backport of 1c7145c144b3: Wait for build to be over before 
completing actions's CompletableFuture
 new 44a68b5  Backport of 5870c7e78f2b: Display sources loaded from String 
and find their MIME type.
 new 8af54cc  Backport of 053312430951: First attempt for Java 
getter/setter generator for the Java LSP server.
 new 4cfa4a3  Backport of b9049ee49c69: Inform VSCode that 
application/javascript is also a MIME type of JavaScript.
 new 8f9ecb5  Backport of ad38e1d7b0c7: Avoid 'Apache NetBeans Language 
Server not enabled!' by ignoring StdErr when looking for match
 new ff72594  Backport of 1e18b08852f8: VSCode: Auto import of types on 
code completion. (#2571)
 new 7b25a85  Backport of c9dc923f39d6: Disable 7th and 8th stage of Maven 
compilation test in VSNetBeans. It started to fail for unknown reason after 
integration.
 new ef8b9df  Backport of b6104f59cea7: Existing CodeGenerators exposed as 
CodeActions via LSP. (#2587)
 new 21a93eb  Backport of ca08952ef45f: LSP: Hoover the mouse over 
identifier shows JavaDoc. (#2601)
 new 4d8f17b  Backport of 5aca5b2cc57b: Make CreateElement fixes available 
as LSP CodeActions.
 new 9fcb899  Backport of 0c290b4d9703: Generate Overrride method puts in 
misleading comment - fixed.
 new bbd4043  Backport of e1ceda7c0c9d: Licenseinfo for templates added.
 new 0e65bd4  Backport of 2ad9135514d0: Fixing typo in licenseinfo.xml.
 new 84d8a49  Adjusting dependencies
 new 573f287  Merge pull request #2626 from 
JaroslavTulach/BackportVSNetBeansFixes

The 4642 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:
 .gitignore |1 +
 .travis.yml|3 +-
 cpplite/cpplite.editor/nbproject/project.xml   |   18 +-
 .../modules/cpplite/editor/PathRecognizerImpl.java |   53 +
 .../cpplite/editor/lsp/LanguageServerImpl.java |   16 +-
 cpplite/cpplite.project/nbproject/project.xml  |9 +
 .../modules/cpplite/project/CPPLiteProject.java|   71 +-
 ide/editor.lib2/nbproject/project.properties   |2 +-
 ide/lsp.client/nbproject/project.xml   |   17 +
 .../netbeans/modules/lsp/client/LSPBindings.java   |   76 +-
 .../lsp/client/bindings/BaseSymbolProvider.java|  206 +++
 .../lsp/client/bindings/CustomIndexerImpl.java |  143 ++
 .../modules/lsp/client/bindings/Icons.java |4 +
 .../lsp/client/bindings/SymbolProviderImpl.java|  108 ++
 .../lsp/client/bindings/TypeProviderImpl.java  |  127 ++
 ide/parsing.lucene/nbproject/project.properties|2 +-
 ide/parsing.lucene/nbproject/project.xml   |1 +
 ide/spi.debugger.ui/apichanges.xml |   15 +
 ide/spi.debugger.ui/manifest.mf|2 +-
 .../netbeans/spi/debugger/ui/DebuggingView.java|   12 +-
 java/debugger.jpda.truffle/nbproject/project.xml   |2 +-
 .../jpda/truffle/access/TruffleAccess.java |   10 +-
 .../debugger/jpda/truffle/access/TruffleEval.java  |8 +
 .../impl/TruffleBreakpointsHandler.java|   24 +-
 .../jpda/truffle/frames/TruffleStackFrame.java |6 +-
 .../jpda/truffle/frames/models/TruffleDVFrame.java |   19 +-
 .../debugger/jpda/truffle/source/Source.java   |   22 +-
 .../debugger/jpda/backend/truffle/FrameInfo.java   |2 +-
 .../jpda/backend/truffle/JPDATruffleAccessor.java  |2 +
 .../jpda/backend/truffle/SourcePosition.java   |2 +
 .../jpda/expr/InvocationExceptionTranslated.java   |4 +
 .../editor/codegen/DelegateMethodGenerator.java|2 +-
 .../editor/codegen/EqualsHashCodeGenerator.java|6 +-
 .../java/editor/codegen/LoggerGenerator.java   |2 +-
 .../java/editor/codegen/ToStringGenerator.java |2 +-
 .../modules/java/hints/errors/CreateC

[netbeans] branch master updated: Process test classes before executing single test

2020-12-29 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.git


The following commit(s) were added to refs/heads/master by this push:
 new 35e90d2  Process test classes before executing single test
 new 0415bfa  Merge pull request #2615 from 
JaroslavTulach/ProcessTestClasses
35e90d2 is described below

commit 35e90d219f475326454c2f27aa008f8adce0140b
Author: Jaroslav Tulach 
AuthorDate: Tue Dec 29 15:59:19 2020 +0100

Process test classes before executing single test
---
 .../org/netbeans/modules/maven/execute/defaultActionMappings.xml  | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/java/maven/src/org/netbeans/modules/maven/execute/defaultActionMappings.xml 
b/java/maven/src/org/netbeans/modules/maven/execute/defaultActionMappings.xml
index b58e7b3..c4af429 100644
--- 
a/java/maven/src/org/netbeans/modules/maven/execute/defaultActionMappings.xml
+++ 
b/java/maven/src/org/netbeans/modules/maven/execute/defaultActionMappings.xml
@@ -84,7 +84,7 @@
 *
 
 
-test-compile
+process-test-classes
 surefire:test
 
 
@@ -158,7 +158,7 @@
 *
 
 
-process-classes
+process-test-classes
 org.codehaus.mojo:exec-maven-plugin:3.0.0:exec
 
 
@@ -175,7 +175,7 @@
 *
 
 
-test-compile
+process-test-classes
 surefire:test
 
 
@@ -254,7 +254,7 @@
 *
 
 
-test-compile
+process-test-classes
 surefire:test
 
 


-
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: Need JDK15 to generate the Javadoc

2020-12-29 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 41676a5  Need JDK15 to generate the Javadoc
41676a5 is described below

commit 41676a53b09de62cbfc995f339764150a4f0c8a3
Author: Jaroslav Tulach 
AuthorDate: Tue Dec 29 11:32:30 2020 +0100

Need JDK15 to generate the Javadoc
---
 Jenkinsfile.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy
index 78cb91b..63fa23d 100644
--- a/Jenkinsfile.groovy
+++ b/Jenkinsfile.groovy
@@ -17,4 +17,4 @@
  * under the License.
  */
 
-asfStandardBuild jdk:"jdk_11_latest",xvfb:true,cmdline:"clean -DskipTests 
javadoc:aggregate site:jar install"
+asfStandardBuild jdk:"jdk_15_latest",xvfb:true,cmdline:"clean -DskipTests 
javadoc:aggregate site:jar install"


-
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: [maven-release-plugin] prepare for next development iteration

2020-12-28 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 2e995d1  [maven-release-plugin] prepare for next development iteration
2e995d1 is described below

commit 2e995d1451829c0b0724e88c8b88a2900ed87db7
Author: Jaroslav Tulach 
AuthorDate: Tue Dec 29 07:50:23 2020 +0100

[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 ++--
 browser/pom.xml | 2 +-
 context/pom.xml | 4 ++--
 equinox-agentclass-hook/pom.xml | 2 +-
 generic/pom.xml | 4 ++--
 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 ++--
 renderer/pom.xml| 2 +-
 sound/pom.xml   | 4 ++--
 webkit/pom.xml  | 2 +-
 xhr4j/pom.xml   | 4 ++--
 21 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml
index 73eed13..54c4e4a 100644
--- a/boot-agent-test/pom.xml
+++ b/boot-agent-test/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
 
 boot-agent-test
 jar
diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml
index 6e1577f..25e510f 100644
--- a/boot-fx/pom.xml
+++ b/boot-fx/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.boot.fx
-  1.7.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 1ab372d..91f62fc 100644
--- a/boot-script/pom.xml
+++ b/boot-script/pom.xml
@@ -24,11 +24,11 @@
 
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
 
 Presenter via javax.script
 net.java.html.boot.script
-1.7.1
+2.0-SNAPSHOT
 bundle
 
 none
diff --git a/boot/pom.xml b/boot/pom.xml
index 5401e05..19968a5 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.boot
-  1.7.1
+  2.0-SNAPSHOT
   bundle
   Browser Bootstrap
   http://maven.apache.org
diff --git a/browser/pom.xml b/browser/pom.xml
index f1cd215..746c7f9 100644
--- a/browser/pom.xml
+++ b/browser/pom.xml
@@ -26,7 +26,7 @@
 
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
 
 DukeScript Presenter for any Browser
 
diff --git a/context/pom.xml b/context/pom.xml
index 0e6423c..1f1cc29 100644
--- a/context/pom.xml
+++ b/context/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html
-  1.7.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 746b445..9522247 100644
--- a/equinox-agentclass-hook/pom.xml
+++ b/equinox-agentclass-hook/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
 
 AgentClass Hook for Equinox
 equinox-agentclass-hook
diff --git a/generic/pom.xml b/generic/pom.xml
index 677c71c..e7a0064 100644
--- a/generic/pom.xml
+++ b/generic/pom.xml
@@ -24,13 +24,13 @@
 
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
 
 
 generic
 DukeScript Generic Presenter
 bundle
-1.7.1
+2.0-SNAPSHOT
 
 ${project.parent.basedir}
 org.netbeans.html.presenters.spi
diff --git a/geo/pom.xml b/geo/pom.xml
index 5e17867..928ece3 100644
--- a/geo/pom.xml
+++ b/geo/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.geo
-  1.7.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 363c22f..deb9d76 100644
--- a/html4j-maven-plugin/pom.xml
+++ b/html4j-maven-plugin/pom.xml
@@ -24,12 +24,12 @@
   
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
   
   maven-plugin
   org.netbeans.html
   html4j-maven-plugin
-  1.7.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

[netbeans-html4j] annotated tag release-1.7.1 created (now 7ab0b58)

2020-12-28 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


  at 7ab0b58  (tag)
 tagging 20c87f4c8db43fd9f37ab0161148cb9c4d94cfe7 (commit)
 replaces release-1.6.1
  by Jaroslav Tulach
  on Tue Dec 29 07:50:14 2020 +0100

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

No new revisions were added by this update.


-
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/03: [maven-release-plugin] prepare release release-1.7.1

2020-12-28 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 20c87f4c8db43fd9f37ab0161148cb9c4d94cfe7
Author: Jaroslav Tulach 
AuthorDate: Tue Dec 29 07:49:55 2020 +0100

[maven-release-plugin] prepare release release-1.7.1
---
 boot-agent-test/pom.xml | 2 +-
 boot-fx/pom.xml | 4 ++--
 boot-script/pom.xml | 4 ++--
 boot/pom.xml| 4 ++--
 browser/pom.xml | 2 +-
 context/pom.xml | 4 ++--
 equinox-agentclass-hook/pom.xml | 2 +-
 generic/pom.xml | 4 ++--
 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 ++--
 renderer/pom.xml| 2 +-
 sound/pom.xml   | 4 ++--
 webkit/pom.xml  | 2 +-
 xhr4j/pom.xml   | 4 ++--
 21 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml
index 54c4e4a..73eed13 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.7.1
 
 boot-agent-test
 jar
diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml
index 25e510f..6e1577f 100644
--- a/boot-fx/pom.xml
+++ b/boot-fx/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
   
   org.netbeans.html
   net.java.html.boot.fx
-  2.0-SNAPSHOT
+  1.7.1
   FX WebView Bootstrap
   bundle
   http://maven.apache.org
diff --git a/boot-script/pom.xml b/boot-script/pom.xml
index 91f62fc..1ab372d 100644
--- a/boot-script/pom.xml
+++ b/boot-script/pom.xml
@@ -24,11 +24,11 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
 
 Presenter via javax.script
 net.java.html.boot.script
-2.0-SNAPSHOT
+1.7.1
 bundle
 
 none
diff --git a/boot/pom.xml b/boot/pom.xml
index 19968a5..5401e05 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
   
   org.netbeans.html
   net.java.html.boot
-  2.0-SNAPSHOT
+  1.7.1
   bundle
   Browser Bootstrap
   http://maven.apache.org
diff --git a/browser/pom.xml b/browser/pom.xml
index 746c7f9..f1cd215 100644
--- a/browser/pom.xml
+++ b/browser/pom.xml
@@ -26,7 +26,7 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
 
 DukeScript Presenter for any Browser
 
diff --git a/context/pom.xml b/context/pom.xml
index 1f1cc29..0e6423c 100644
--- a/context/pom.xml
+++ b/context/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
   
   org.netbeans.html
   net.java.html
-  2.0-SNAPSHOT
+  1.7.1
   bundle
   HTML Context
   http://maven.apache.org
diff --git a/equinox-agentclass-hook/pom.xml b/equinox-agentclass-hook/pom.xml
index 9522247..746b445 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.7.1
 
 AgentClass Hook for Equinox
 equinox-agentclass-hook
diff --git a/generic/pom.xml b/generic/pom.xml
index e7a0064..677c71c 100644
--- a/generic/pom.xml
+++ b/generic/pom.xml
@@ -24,13 +24,13 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
 
 
 generic
 DukeScript Generic Presenter
 bundle
-2.0-SNAPSHOT
+1.7.1
 
 ${project.parent.basedir}
 org.netbeans.html.presenters.spi
diff --git a/geo/pom.xml b/geo/pom.xml
index 928ece3..5e17867 100644
--- a/geo/pom.xml
+++ b/geo/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
   
   org.netbeans.html
   net.java.html.geo
-  2.0-SNAPSHOT
+  1.7.1
   bundle
   Geolocation API
   http://maven.apache.org
diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml
index deb9d76..363c22f 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.7.1
   
   maven-plugin
   org.netbeans.html
   html4j-maven-plugin
-  2.0-SNAPSHOT
+  1.7.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 1c27226..0e777c3 100644
--- a/json-tck/pom.xml
+++ b/json-tck/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1

[netbeans-html4j] branch master updated (ad6d081 -> 20c87f4)

2020-12-28 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 ad6d081  [maven-release-plugin] prepare for next development iteration
 new f144608  Avoid method references to make the TCK more portable
 new e2cb9fd  Additional fix for 1.7.1
 new 20c87f4  [maven-release-plugin] prepare release release-1.7.1

The 3 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-agent-test/pom.xml|  2 +-
 boot-fx/pom.xml|  4 ++--
 boot-script/pom.xml|  4 ++--
 boot/pom.xml   |  4 ++--
 browser/pom.xml|  2 +-
 context/pom.xml|  4 ++--
 equinox-agentclass-hook/pom.xml|  2 +-
 generic/pom.xml|  4 ++--
 geo/pom.xml|  4 ++--
 html4j-maven-plugin/pom.xml|  4 ++--
 json-tck/pom.xml   |  6 +++---
 .../java/net/java/html/js/tests/AsyncJavaScriptAction.java | 14 --
 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 ++--
 renderer/pom.xml   |  2 +-
 sound/pom.xml  |  4 ++--
 webkit/pom.xml |  2 +-
 xhr4j/pom.xml  |  4 ++--
 22 files changed, 48 insertions(+), 38 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-html4j] 01/03: Avoid method references to make the TCK more portable

2020-12-28 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 f144608464d77ea319a30665ccff72682e530a1e
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 28 17:52:19 2020 +0100

Avoid method references to make the TCK more portable
---
 .../java/net/java/html/js/tests/AsyncJavaScriptAction.java | 14 --
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git 
a/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java 
b/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
index 98e650f..e49713d 100644
--- a/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
+++ b/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
@@ -88,11 +88,21 @@ final class AsyncJavaScriptAction {
 }
 
 public void testWithCallback() {
-performTheTest(this::enterJavaScriptAndPerformIteration);
+performTheTest(new Function() {
+@Override
+public Integer apply(Integer t) {
+return enterJavaScriptAndPerformIteration(t);
+}
+});
 }
 
 public void testWithoutCallback() {
-performTheTest(this::performIteration);
+performTheTest(new Function() {
+@Override
+public Integer apply(Integer t) {
+return performIteration(t);
+}
+});
 }
 
 }


-
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/03: Additional fix for 1.7.1

2020-12-28 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 e2cb9fd58fa5fc75a53f41875db1efe22f5c5d84
Merge: ad6d081 f144608
Author: Jaroslav Tulach 
AuthorDate: Tue Dec 29 07:40:42 2020 +0100

Additional fix for 1.7.1

 .../java/net/java/html/js/tests/AsyncJavaScriptAction.java | 14 --
 1 file changed, 12 insertions(+), 2 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-html4j] annotated tag release-1.7.1 deleted (was c589a5f)

2020-12-28 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


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

   tag was  c589a5f

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] annotated tag release-1.7.1 created (now c589a5f)

2020-12-28 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


  at c589a5f  (tag)
 tagging bfa1e6247ec820bbb0c09f57f0c8a91b81ab63a5 (commit)
 replaces release-1.6.1
  by Jaroslav Tulach
  on Mon Dec 28 09:49:25 2020 +0100

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

No new revisions were added by this update.


-
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: [maven-release-plugin] prepare for next development iteration

2020-12-28 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 ad6d081  [maven-release-plugin] prepare for next development iteration
ad6d081 is described below

commit ad6d081381a9eed85dc133387486598c4595c62c
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 28 09:49:34 2020 +0100

[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 ++--
 browser/pom.xml | 2 +-
 context/pom.xml | 4 ++--
 equinox-agentclass-hook/pom.xml | 2 +-
 generic/pom.xml | 4 ++--
 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 ++--
 renderer/pom.xml| 2 +-
 sound/pom.xml   | 4 ++--
 webkit/pom.xml  | 2 +-
 xhr4j/pom.xml   | 4 ++--
 21 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml
index 73eed13..54c4e4a 100644
--- a/boot-agent-test/pom.xml
+++ b/boot-agent-test/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
 
 boot-agent-test
 jar
diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml
index 6e1577f..25e510f 100644
--- a/boot-fx/pom.xml
+++ b/boot-fx/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.boot.fx
-  1.7.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 1ab372d..91f62fc 100644
--- a/boot-script/pom.xml
+++ b/boot-script/pom.xml
@@ -24,11 +24,11 @@
 
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
 
 Presenter via javax.script
 net.java.html.boot.script
-1.7.1
+2.0-SNAPSHOT
 bundle
 
 none
diff --git a/boot/pom.xml b/boot/pom.xml
index 5401e05..19968a5 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.boot
-  1.7.1
+  2.0-SNAPSHOT
   bundle
   Browser Bootstrap
   http://maven.apache.org
diff --git a/browser/pom.xml b/browser/pom.xml
index f1cd215..746c7f9 100644
--- a/browser/pom.xml
+++ b/browser/pom.xml
@@ -26,7 +26,7 @@
 
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
 
 DukeScript Presenter for any Browser
 
diff --git a/context/pom.xml b/context/pom.xml
index 0e6423c..1f1cc29 100644
--- a/context/pom.xml
+++ b/context/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html
-  1.7.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 746b445..9522247 100644
--- a/equinox-agentclass-hook/pom.xml
+++ b/equinox-agentclass-hook/pom.xml
@@ -24,7 +24,7 @@
 
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
 
 AgentClass Hook for Equinox
 equinox-agentclass-hook
diff --git a/generic/pom.xml b/generic/pom.xml
index 677c71c..e7a0064 100644
--- a/generic/pom.xml
+++ b/generic/pom.xml
@@ -24,13 +24,13 @@
 
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
 
 
 generic
 DukeScript Generic Presenter
 bundle
-1.7.1
+2.0-SNAPSHOT
 
 ${project.parent.basedir}
 org.netbeans.html.presenters.spi
diff --git a/geo/pom.xml b/geo/pom.xml
index 5e17867..928ece3 100644
--- a/geo/pom.xml
+++ b/geo/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
   
   org.netbeans.html
   net.java.html.geo
-  1.7.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 363c22f..deb9d76 100644
--- a/html4j-maven-plugin/pom.xml
+++ b/html4j-maven-plugin/pom.xml
@@ -24,12 +24,12 @@
   
 org.netbeans.html
 pom
-1.7.1
+2.0-SNAPSHOT
   
   maven-plugin
   org.netbeans.html
   html4j-maven-plugin
-  1.7.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

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

2020-12-28 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 bfa1e6247ec820bbb0c09f57f0c8a91b81ab63a5
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 28 09:49:06 2020 +0100

[maven-release-plugin] prepare release release-1.7.1
---
 boot-agent-test/pom.xml | 2 +-
 boot-fx/pom.xml | 4 ++--
 boot-script/pom.xml | 4 ++--
 boot/pom.xml| 4 ++--
 browser/pom.xml | 4 ++--
 context/pom.xml | 4 ++--
 equinox-agentclass-hook/pom.xml | 2 +-
 generic/pom.xml | 8 
 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 ++--
 renderer/pom.xml| 6 +++---
 sound/pom.xml   | 4 ++--
 webkit/pom.xml  | 4 ++--
 xhr4j/pom.xml   | 4 ++--
 21 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml
index 54c4e4a..73eed13 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.7.1
 
 boot-agent-test
 jar
diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml
index 25e510f..6e1577f 100644
--- a/boot-fx/pom.xml
+++ b/boot-fx/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
   
   org.netbeans.html
   net.java.html.boot.fx
-  2.0-SNAPSHOT
+  1.7.1
   FX WebView Bootstrap
   bundle
   http://maven.apache.org
diff --git a/boot-script/pom.xml b/boot-script/pom.xml
index 91f62fc..1ab372d 100644
--- a/boot-script/pom.xml
+++ b/boot-script/pom.xml
@@ -24,11 +24,11 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
 
 Presenter via javax.script
 net.java.html.boot.script
-2.0-SNAPSHOT
+1.7.1
 bundle
 
 none
diff --git a/boot/pom.xml b/boot/pom.xml
index 19968a5..5401e05 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
   
   org.netbeans.html
   net.java.html.boot
-  2.0-SNAPSHOT
+  1.7.1
   bundle
   Browser Bootstrap
   http://maven.apache.org
diff --git a/browser/pom.xml b/browser/pom.xml
index 0cf99e7..f1cd215 100644
--- a/browser/pom.xml
+++ b/browser/pom.xml
@@ -26,13 +26,13 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
 
 DukeScript Presenter for any Browser
 
 ${project.parent.basedir}
 org.netbeans.html.presenters.browser
-
+
 
default
 
 
diff --git a/context/pom.xml b/context/pom.xml
index 1f1cc29..0e6423c 100644
--- a/context/pom.xml
+++ b/context/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
   
   org.netbeans.html
   net.java.html
-  2.0-SNAPSHOT
+  1.7.1
   bundle
   HTML Context
   http://maven.apache.org
diff --git a/equinox-agentclass-hook/pom.xml b/equinox-agentclass-hook/pom.xml
index 9522247..746b445 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.7.1
 
 AgentClass Hook for Equinox
 equinox-agentclass-hook
diff --git a/generic/pom.xml b/generic/pom.xml
index 6500712..677c71c 100644
--- a/generic/pom.xml
+++ b/generic/pom.xml
@@ -24,18 +24,18 @@
 
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
 
 
 generic
 DukeScript Generic Presenter
 bundle
-2.0-SNAPSHOT
+1.7.1
 
 ${project.parent.basedir}
 org.netbeans.html.presenters.spi
-
-
+
+
 false
 
 
diff --git a/geo/pom.xml b/geo/pom.xml
index 928ece3..5e17867 100644
--- a/geo/pom.xml
+++ b/geo/pom.xml
@@ -24,11 +24,11 @@
   
 org.netbeans.html
 pom
-2.0-SNAPSHOT
+1.7.1
   
   org.netbeans.html
   net.java.html.geo
-  2.0-SNAPSHOT
+  1.7.1
   bundle
   Geolocation API
   http://maven.apache.org
diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml
index deb9d76..363c22f 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.7.1
   
   maven-plugin
   org.netbeans.html
   html4j-maven-plugin
-  2.0-SNAPSHOT
+  1.7.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

[netbeans-html4j] branch master updated (2389b8c -> bfa1e62)

2020-12-28 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 2389b8c  BrwsrCtx's code snippet cannot reference @JavaScriptBody 
annotation
 new b2467ab  Allow broken references when generating individual javadocs
 new bfa1e62  [maven-release-plugin] prepare release release-1.7.1

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:
 boot-agent-test/pom.xml |  2 +-
 boot-fx/pom.xml |  4 ++--
 boot-script/pom.xml |  4 ++--
 boot/pom.xml|  4 ++--
 browser/pom.xml |  4 ++--
 context/pom.xml |  4 ++--
 equinox-agentclass-hook/pom.xml |  2 +-
 generic/pom.xml |  8 
 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 | 15 +++
 renderer/pom.xml|  6 +++---
 sound/pom.xml   |  4 ++--
 webkit/pom.xml  |  4 ++--
 xhr4j/pom.xml   |  4 ++--
 21 files changed, 51 insertions(+), 44 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-html4j] 01/02: Allow broken references when generating individual javadocs

2020-12-28 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 b2467ab0d1ee70462070931ae427d97b96109178
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 28 09:42:51 2020 +0100

Allow broken references when generating individual javadocs
---
 pom.xml | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 533a7da..2adfa87 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,6 +41,7 @@
   ${project.artifactId}
   none
   --allow-script-in-comments
+  true
   ${publicPackages}
   META-INF.services.*
   true
@@ -164,8 +165,8 @@ 
org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.
 ${javadoc.allowjs}
 -hiddingannotation java.lang.Deprecated
 
-true
-true
+${javadoc.fail}
+${javadoc.fail}
   
 
 
@@ -578,5 +579,11 @@ 
org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.
   false
   
   
+  
+  apache-release
+  
+  false
+  
+  
   
 


-
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: BrwsrCtx's code snippet cannot reference @JavaScriptBody annotation

2020-12-28 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 2389b8c  BrwsrCtx's code snippet cannot reference @JavaScriptBody 
annotation
2389b8c is described below

commit 2389b8c4981dafbaa067de82ce13fd8f9c1a1c8f
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 28 09:24:57 2020 +0100

BrwsrCtx's code snippet cannot reference @JavaScriptBody annotation
---
 boot-fx/src/test/java/org/netbeans/html/boot/fx/Periodicaly.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/boot-fx/src/test/java/org/netbeans/html/boot/fx/Periodicaly.java 
b/boot-fx/src/test/java/org/netbeans/html/boot/fx/Periodicaly.java
index f0e6e66..a14f68b 100644
--- a/boot-fx/src/test/java/org/netbeans/html/boot/fx/Periodicaly.java
+++ b/boot-fx/src/test/java/org/netbeans/html/boot/fx/Periodicaly.java
@@ -57,9 +57,6 @@ public final class Periodicaly extends TimerTask {
 t.scheduleAtFixedRate(task, 0, 100);
 }
 
-@JavaScriptBody(args = { "a", "b" }, body = "return a + b")
-private static native int plus(int a, int b);
-
 void codeThatNeedsToBeRunInABrowserEnvironment() {
 // invokes JavaScript function in the browser environment
 counter = plus(counter, 1);
@@ -76,4 +73,7 @@ public final class Periodicaly extends TimerTask {
 Periodicaly.class.wait();
 }
 }
+
+@JavaScriptBody(args = { "a", "b" }, body = "return a + b")
+private static native int plus(int a, int b);
 }


-
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: Updating Javadoc to highlight fixes in 1.7.1

2020-12-27 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 b15cfef  Updating Javadoc to highlight fixes in 1.7.1
b15cfef is described below

commit b15cfefcdc09bff6a4fd0b094676d9d4dbb989a2
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 28 08:54:53 2020 +0100

Updating Javadoc to highlight fixes in 1.7.1
---
 src/main/javadoc/overview.html | 86 ++
 1 file changed, 46 insertions(+), 40 deletions(-)

diff --git a/src/main/javadoc/overview.html b/src/main/javadoc/overview.html
index 010e8cc..c5b280a 100644
--- a/src/main/javadoc/overview.html
+++ b/src/main/javadoc/overview.html
@@ -163,6 +163,11 @@ $ mvn -f client/pom.xml process-classes exec:exec
 vm.loadClass('org.apidesign.demo.minesweeper.MainBrwsr');
 
 
+New in version 1.7.1
+
+Bugfix release to address robustness and security issues.
+
+
 New in version 1.7
 
 New modules are provided since
@@ -189,6 +194,38 @@ $ mvn -f client/pom.xml process-classes exec:exec
 
 
 
+What's new in older versions?
+
+
+Click the
+link
+to view even more
+historic changes...
+
+
+
+
+
+(function() {
+var visible;
+function showHistoric(show) {
+var e = document.getElementById("historic.changes");
+if (show === undefined) {
+show = !visible;
+}
+if (show) {
+e.style.display="block";
+} else {
+e.style.display="none";
+}
+visible = show;
+return false;
+}
+showHistoric(false);
+this.showHistoric = showHistoric;
+})()
+
+
 New in version 1.6.1
 
 One model instance can be used in two views
@@ -261,39 +298,7 @@ $ mvn -f client/pom.xml process-classes exec:exec
 Simplifying {@link org.netbeans.html.json.tck.KnockoutTCK} to avoid
 usage of {@link java.net.URI}, etc.
 
-
-What's new in older versions?
-
-
-Click the
-link
-to view even more
-historic changes...
-
-
-
-
-
-(function() {
-var visible;
-function showHistoric(show) {
-var e = document.getElementById("historic.changes");
-if (show === undefined) {
-show = !visible;
-}
-if (show) {
-e.style.display="block";
-} else {
-e.style.display="none";
-}
-visible = show;
-return false;
-}
-showHistoric(false);
-this.showHistoric = showHistoric;
-})()
-
-
+
 New features in version 1.4
 
 Both values null and undefined are
@@ -543,13 +548,14 @@ $ mvn -f client/pom.xml process-classes exec:exec
 online:
 
 Current https://bits.netbeans.org/html+java/dev/;>development version
+Version https://bits.netbeans.org/html+java/1.7.1/;>1.7.1
 Version https://bits.netbeans.org/html+java/1.7/;>1.7
-Version https://dukescript.com/javadoc/html+java/1.6/;>1.6
-Version https://dukescript.com/javadoc/html+java/1.5.1/;>1.5.1
-Version http://bits.netbeans.org/html+java/1.5;>1.5
-Version http://bits.netbeans.org/html+java/1.4;>1.4
-Version http://bits.netbeans.org/html+java/1.3;>1.3
-and historic ones (
+Historic versions
+https://dukescript.com/javadoc/html+java/1.6/;>1.6,
+https://dukescript.com/javadoc/html+java/1.5.1/;>1.5.1,
+http://bits.netbeans.org/html+java/1.5;>1.5,
+http://bits.netbeans.org/html+java/1.4;>1.4,
+http://bits.netbeans.org/html+java/1.3;>1.3,
 http://bits.netbeans.org/html+java/1.2.3;>1.2.3,
 http://bits.netbeans.org/html+java/1.1;>1.1,
 http://bits.netbeans.org/html+java/1.0;>1.0,
@@ -558,7 +564,7 @@ $ mvn -f client/pom.xml process-classes exec:exec
 http://bits.netbeans.org/html+java/0.8.2;>0.8.2,
 http://bits.netbeans.org/html+java/0.8.1;>

[netbeans-html4j] branch master updated: Avoiding use of lambdas to increase portability

2020-12-27 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 28e687f  Avoiding use of lambdas to increase portability
28e687f is described below

commit 28e687f55da3b3c67424a217ec814d00a312da9e
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 28 07:51:17 2020 +0100

Avoiding use of lambdas to increase portability
---
 .../java/org/netbeans/html/presenters/spi/Generic.java| 15 +--
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git 
a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java 
b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
index 473749c..8389870 100644
--- a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
+++ b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
@@ -696,12 +696,15 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 private Item dispatchPendingItem() {
 final Item top = topMostCall();
 if (top.method != null && top.done == null) {
-dispatch(() -> {
-synchronized (lock()) {
-Item pending = topMostCall();
-if (pending != null) {
-pending.inJava();
-lock().notifyAll();
+dispatch(new Runnable() {
+@Override
+public void run() {
+synchronized (lock()) {
+Item pending = topMostCall();
+if (pending != null) {
+pending.inJava();
+lock().notifyAll();
+}
 }
 }
 });


-
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/04: Merge remote-tracking branch 'apache/master' into AsyncJavaScriptAction

2020-12-27 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 94cf2a68531bedbcb6c6bb457de6c556f2b2a245
Merge: 8dd6df5 d5c4ccf
Author: Jaroslav Tulach 
AuthorDate: Sun Dec 27 09:21:04 2020 +0100

Merge remote-tracking branch 'apache/master' into AsyncJavaScriptAction

 .../src/test/java/org/netbeans/html/presenters/browser/KOClose.java   | 4 ++--
 .../src/test/java/org/netbeans/html/presenters/browser/KOScript.java  | 2 +-
 2 files changed, 3 insertions(+), 3 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-html4j] 04/04: Avoid crashes by using firefox for browser tests

2020-12-27 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 23493b5811c207f9c72281baadde1d613a6f423f
Author: Jaroslav Tulach 
AuthorDate: Sun Dec 27 09:36:57 2020 +0100

Avoid crashes by using firefox for browser tests
---
 .travis.yml | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index cfa050e..2839167 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,7 @@ services:
 before_install:
   - sudo apt-get -qq update || echo no sudo apt-get
   - sudo apt-get install -y libwebkitgtk-3.0-0 || echo no sudo apt-get
+  - sudo apt-get install -y firefox || echo no sudo apt-get
   - if [ -n "$URL" ]; then pushd /tmp; curl $URL -o jdk.tgz; tar fxz jdk.tgz; 
JAVA_HOME=`pwd`/$DIR; popd; export JAVA_HOME; fi
   - echo Java is $JAVA_HOME
   - ls -l $JAVA_HOME
@@ -31,6 +32,7 @@ before_script:
   - sleep 3
 script:
   - $JAVA_HOME/bin/java -version
+  - if type firefox; then (firefox&); fi
   - mvn install -DskipTests $ARGS
   - mvn -q verify $ARGS -Dorg.netbeans.html.Generic.wait4js=true
   - if [ -n "$JAVADOC" ]; then mvn javadoc:aggregate; fi
@@ -42,7 +44,7 @@ matrix:
   dist: trusty
   jdk: openjdk8
   env:
-- ARGS=-Dnone
+- ARGS=-Dcom.dukescript.presenters.browser=firefox
 - DIR=zulu8.40.0.25-ca-fx-jdk8.0.222-linux_x64
 - URL=https://cdn.azul.com/zulu/bin/$DIR.tar.gz
 - os: linux
@@ -56,7 +58,7 @@ matrix:
   dist: trusty
   jdk: openjdk15
   env:
-- ARGS=-Dnone
+- ARGS=-Dcom.dukescript.presenters.browser=firefox
 - JAVADOC=yes
 - os: osx
   name: Mac JDK8


-
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 (d5c4ccf -> 23493b5)

2020-12-27 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 d5c4ccf  Close the browser window after running the browser tests
 new ece738d  Use -Dorg.netbeans.html.Generic.wait4js=true to always wait 
for JavaScript execution to finish
 new 8dd6df5  Influence default render selection in the browser tests by a 
property
 new 94cf2a6  Merge remote-tracking branch 'apache/master' into 
AsyncJavaScriptAction
 new 23493b5  Avoid crashes by using firefox for browser tests

The 4 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:
 .travis.yml|  8 ++--
 browser/pom.xml|  7 +++-
 .../netbeans/html/presenters/browser/Browser.java  | 27 +---
 .../html/presenters/browser/ServerTest.java| 22 +-
 generic/pom.xml| 11 +
 .../org/netbeans/html/presenters/spi/Generic.java  |  7 +++-
 .../html/presenters/spi/ProtoPresenterBuilder.java |  3 ++
 .../org/netbeans/html/presenters/render/Show.java  | 48 ++
 8 files changed, 74 insertions(+), 59 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-html4j] 02/04: Influence default render selection in the browser tests by a property

2020-12-27 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 8dd6df5d880336cdae7580524e603cc89b296efe
Author: Jaroslav Tulach 
AuthorDate: Sun Dec 27 09:20:53 2020 +0100

Influence default render selection in the browser tests by a property
---
 browser/pom.xml|  7 +++-
 .../netbeans/html/presenters/browser/Browser.java  | 27 +---
 .../html/presenters/browser/ServerTest.java| 22 +-
 .../org/netbeans/html/presenters/render/Show.java  | 48 ++
 4 files changed, 49 insertions(+), 55 deletions(-)

diff --git a/browser/pom.xml b/browser/pom.xml
index 4647ebd..0cf99e7 100644
--- a/browser/pom.xml
+++ b/browser/pom.xml
@@ -33,6 +33,7 @@
 ${project.parent.basedir}
 org.netbeans.html.presenters.browser
 
+
default
 
 
 
@@ -58,7 +59,11 @@
 
 org.apache.maven.plugins
 maven-surefire-plugin
-2.18.1
+
+
+
${com.dukescript.presenters.browser}
+
+
 
 
 org.netbeans.html
diff --git 
a/browser/src/main/java/org/netbeans/html/presenters/browser/Browser.java 
b/browser/src/main/java/org/netbeans/html/presenters/browser/Browser.java
index 3f509d1..1892f9b 100644
--- a/browser/src/main/java/org/netbeans/html/presenters/browser/Browser.java
+++ b/browser/src/main/java/org/netbeans/html/presenters/browser/Browser.java
@@ -153,32 +153,7 @@ Executor, Closeable {
 if ("none".equalsIgnoreCase(impl)) { // NOI18N
 return;
 }
-if (impl != null) {
-Show.show(impl, page);
-} else {
-IOException one, two;
-try {
-String ui = System.getProperty("os.name").contains("Mac") ?
-"Cocoa" : "GTK";
-Show.show(ui, page);
-return;
-} catch (IOException ex) {
-one = ex;
-}
-try {
-Show.show("AWT", page);
-return;
-} catch (IOException ex) {
-two = ex;
-}
-try {
-Show.show(impl, page);
-} catch (IOException ex) {
-two.initCause(one);
-ex.initCause(two);
-throw ex;
-}
-}
+Show.show(impl, page);
 }
 
 @Override
diff --git 
a/browser/src/test/java/org/netbeans/html/presenters/browser/ServerTest.java 
b/browser/src/test/java/org/netbeans/html/presenters/browser/ServerTest.java
index 331c17c..6d61be3 100644
--- a/browser/src/test/java/org/netbeans/html/presenters/browser/ServerTest.java
+++ b/browser/src/test/java/org/netbeans/html/presenters/browser/ServerTest.java
@@ -114,27 +114,7 @@ public class ServerTest {
 ExecutorService background = Executors.newSingleThreadExecutor();
 Future future = background.submit((Callable) () -> {
 IOException one, two;
-try {
-String ui = System.getProperty("os.name").contains("Mac")
-? "Cocoa" : "GTK";
-Show.show(ui, page);
-return null;
-} catch (IOException ex) {
-one = ex;
-}
-try {
-Show.show("AWT", page);
-return null;
-} catch (IOException ex) {
-two = ex;
-}
-try {
-Show.show(null, page);
-} catch (IOException ex) {
-two.initCause(one);
-ex.initCause(two);
-throw ex;
-}
+Show.show(System.getProperty("com.dukescript.presenters.browser"), 
page);
 return null;
 });
 
diff --git 
a/renderer/src/main/java/org/netbeans/html/presenters/render/Show.java 
b/renderer/src/main/java/org/netbeans/html/presenters/render/Show.java
index 1a77f9e..d5c5041 100644
--- a/renderer/src/main/java/org/netbeans/html/presenters/render/Show.java
+++ b/renderer/src/main/java/org/netbeans/html/presenters/render/Show.java
@@ -35,23 +35,53 @@ public abstract class Show {
 Show() {
 }
 
-/** Shows a page in a browser.
+/** Shows a page in a browser. Select default implementation
+ * suitable for current system if {@code "default"} or {@code null}.
  * 
  * @param impl the name of implementation to use, can be null
  * @param page the page URL
  * @throws IOException if something goes wrong
  */
 public static void show(String impl, URI page) throw

[netbeans-html4j] 01/04: Use -Dorg.netbeans.html.Generic.wait4js=true to always wait for JavaScript execution to finish

2020-12-27 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 ece738df357347cf9087d4538861ba6a47f837e9
Author: Jaroslav Tulach 
AuthorDate: Sun Dec 27 07:40:57 2020 +0100

Use -Dorg.netbeans.html.Generic.wait4js=true to always wait for JavaScript 
execution to finish
---
 .travis.yml   |  2 +-
 generic/pom.xml   | 11 +++
 .../main/java/org/netbeans/html/presenters/spi/Generic.java   |  7 ++-
 .../netbeans/html/presenters/spi/ProtoPresenterBuilder.java   |  3 +++
 4 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 99f3300..cfa050e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,7 +32,7 @@ before_script:
 script:
   - $JAVA_HOME/bin/java -version
   - mvn install -DskipTests $ARGS
-  - mvn -q verify $ARGS
+  - mvn -q verify $ARGS -Dorg.netbeans.html.Generic.wait4js=true
   - if [ -n "$JAVADOC" ]; then mvn javadoc:aggregate; fi
 
 matrix:
diff --git a/generic/pom.xml b/generic/pom.xml
index 09b34a5..6500712 100644
--- a/generic/pom.xml
+++ b/generic/pom.xml
@@ -36,6 +36,7 @@
 org.netbeans.html.presenters.spi
 
 
+false
 
 
 
@@ -95,6 +96,16 @@
 
 
 
+org.apache.maven.plugins
+maven-surefire-plugin
+
+
+
${wait4js}
+
+false
+
+
+
 org.netbeans.html
 html4j-maven-plugin
 
diff --git 
a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java 
b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
index 3a6a331..473749c 100644
--- a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
+++ b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
@@ -67,6 +67,7 @@ abstract class Generic implements Fn.Presenter, Fn.KeepAlive, 
Flushable {
 this.evalJS = evalJS;
 this.type = type;
 this.app = app;
+this.resetDeferredDisabled();
 }
 
 final Object lock() {
@@ -764,11 +765,15 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 exec(id, Strings.flushExec(key, id).toString());
 }
 if (topMostCall() == null) {
-deferredDisabled = false;
+resetDeferredDisabled();
 }
 }
 }
 
+private void resetDeferredDisabled() {
+deferredDisabled = 
Boolean.getBoolean("org.netbeans.html.Generic.wait4js");
+}
+
 final Object exec(int id, String fn) {
 assert Thread.holdsLock(lock());
 boolean first;
diff --git 
a/generic/src/main/java/org/netbeans/html/presenters/spi/ProtoPresenterBuilder.java
 
b/generic/src/main/java/org/netbeans/html/presenters/spi/ProtoPresenterBuilder.java
index f56b56b..cc79a20 100644
--- 
a/generic/src/main/java/org/netbeans/html/presenters/spi/ProtoPresenterBuilder.java
+++ 
b/generic/src/main/java/org/netbeans/html/presenters/spi/ProtoPresenterBuilder.java
@@ -26,6 +26,9 @@ import org.netbeans.html.boot.spi.Fn.Presenter;
 
 /** The prototypical presenter builder. Builds a {@link Presenter} 
based on
  * top of textual protocol transferred between JVM and JavaScript engines.
+ * Supports one additional configuration property; by setting
+ * {@code org.netbeans.html.Generic.wait4js}
+ * to {@code true} one enables, more reliable, yet possibly slower, mode.
  */
 public final class ProtoPresenterBuilder {
 private Evaluator loadScript;


-
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: Close the browser window after running the browser tests

2020-12-26 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 d5c4ccf  Close the browser window after running the browser tests
d5c4ccf is described below

commit d5c4ccf18dc33f33d930a1effe0fe674360c959c
Author: Jaroslav Tulach 
AuthorDate: Sun Dec 27 08:10:59 2020 +0100

Close the browser window after running the browser tests
---
 .../src/test/java/org/netbeans/html/presenters/browser/KOClose.java   | 4 ++--
 .../src/test/java/org/netbeans/html/presenters/browser/KOScript.java  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/browser/src/test/java/org/netbeans/html/presenters/browser/KOClose.java 
b/browser/src/test/java/org/netbeans/html/presenters/browser/KOClose.java
index a90d513..4caf016 100644
--- a/browser/src/test/java/org/netbeans/html/presenters/browser/KOClose.java
+++ b/browser/src/test/java/org/netbeans/html/presenters/browser/KOClose.java
@@ -21,7 +21,7 @@ package org.netbeans.html.presenters.browser;
 import java.util.concurrent.Executor;
 import org.netbeans.html.boot.spi.Fn;
 import org.testng.ITest;
-import org.testng.annotations.AfterSuite;
+import org.testng.annotations.Test;
 
 public class KOClose implements ITest {
 
@@ -35,7 +35,7 @@ public class KOClose implements ITest {
 this.presenter = presenter;
 }
 
-@AfterSuite
+@Test(dependsOnGroups = "BrowserTest")
 public void closeWindow() {
 ((Executor)this.presenter).execute(() -> {
 try {
diff --git 
a/browser/src/test/java/org/netbeans/html/presenters/browser/KOScript.java 
b/browser/src/test/java/org/netbeans/html/presenters/browser/KOScript.java
index 1f975b7..2003b50 100644
--- a/browser/src/test/java/org/netbeans/html/presenters/browser/KOScript.java
+++ b/browser/src/test/java/org/netbeans/html/presenters/browser/KOScript.java
@@ -53,7 +53,7 @@ public final class KOScript implements ITest, IHookable, 
Runnable {
 return prefix + ":" + m.getDeclaringClass().getSimpleName() + "." + 
m.getName();
 }
 
-@Test
+@Test(groups = "BrowserTest")
 public void executeTest() throws Exception {
 for (;;) {
 if (p instanceof Executor) {


-
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] 20/25: Close the browser window when the suite execution is over

2020-12-26 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 efb47ac07a1474c4a07de3eb047e0915fe4f13d8
Author: Jaroslav Tulach 
AuthorDate: Thu Dec 24 08:28:12 2020 +0100

Close the browser window when the suite execution is over
---
 .../netbeans/html/presenters/browser/Browser.java  |  2 -
 .../netbeans/html/presenters/browser/KOClose.java  | 53 ++
 .../netbeans/html/presenters/browser/KOScript.java |  5 +-
 .../html/presenters/browser/ServerFactories.java   |  5 +-
 4 files changed, 60 insertions(+), 5 deletions(-)

diff --git 
a/browser/src/main/java/org/netbeans/html/presenters/browser/Browser.java 
b/browser/src/main/java/org/netbeans/html/presenters/browser/Browser.java
index d433644..3f509d1 100644
--- a/browser/src/main/java/org/netbeans/html/presenters/browser/Browser.java
+++ b/browser/src/main/java/org/netbeans/html/presenters/browser/Browser.java
@@ -43,8 +43,6 @@ import java.util.Map;
 import java.util.Queue;
 import java.util.UUID;
 import java.util.concurrent.Executor;
-import java.util.concurrent.Executors;
-import java.util.concurrent.ThreadFactory;
 import java.util.function.Supplier;
 import java.util.logging.Level;
 import java.util.logging.Logger;
diff --git 
a/browser/src/test/java/org/netbeans/html/presenters/browser/KOClose.java 
b/browser/src/test/java/org/netbeans/html/presenters/browser/KOClose.java
new file mode 100644
index 000..a90d513
--- /dev/null
+++ b/browser/src/test/java/org/netbeans/html/presenters/browser/KOClose.java
@@ -0,0 +1,53 @@
+/**
+ * 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.presenters.browser;
+
+import java.util.concurrent.Executor;
+import org.netbeans.html.boot.spi.Fn;
+import org.testng.ITest;
+import org.testng.annotations.AfterSuite;
+
+public class KOClose implements ITest {
+
+private final Fn.Presenter presenter;
+private final String prefix;
+private final Fn updateName;
+
+public KOClose(Fn updateName, String prefix, Fn.Presenter presenter) {
+this.updateName = updateName;
+this.prefix = prefix;
+this.presenter = presenter;
+}
+
+@AfterSuite
+public void closeWindow() {
+((Executor)this.presenter).execute(() -> {
+try {
+updateName.invoke(null, getTestName(), "5s");
+} catch (Exception ex) {
+}
+JavaScriptUtilities.closeSoon(5000);
+});
+}
+
+@Override
+public String getTestName() {
+return prefix + ": Closing window";
+}
+}
diff --git 
a/browser/src/test/java/org/netbeans/html/presenters/browser/KOScript.java 
b/browser/src/test/java/org/netbeans/html/presenters/browser/KOScript.java
index e2f5217..1f975b7 100644
--- a/browser/src/test/java/org/netbeans/html/presenters/browser/KOScript.java
+++ b/browser/src/test/java/org/netbeans/html/presenters/browser/KOScript.java
@@ -82,7 +82,7 @@ public final class KOScript implements ITest, IHookable, 
Runnable {
 Closeable c = Fn.activate(p);
 try {
 if (updateName != null) {
-updateName.invoke(null, getTestName());
+updateName.invoke(null, getTestName(), cnt);
 }
 if (inst == null) {
 inst = m.getDeclaringClass().newInstance();
@@ -91,6 +91,9 @@ public final class KOScript implements ITest, IHookable, 
Runnable {
 if (result == null) {
 result = this;
 }
+if (updateName != null) {
+updateName.invoke(null, getTestName(), "Done");
+}
 } catch (InvocationTargetException ex) {
 Throwable r = ex.getTargetException();
 result = r;
diff --git 
a/browser/src/test/java/org/netbeans/html/presenters/browser/ServerFactories.java
 
b/browser/src/test/java/org/netbeans/html/presenters/browser/ServerFactories.java
index 4b38321..c9233cd 100644
--- 
a/browser/src/test/java/org/netbeans/html/presenters/browser/ServerFactories.java
+++ 
b/browser/src/test/java/org/

[netbeans-html4j] 25/25: Generate all groups in aggregate Javadoc again

2020-12-26 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 df94a42c771f1db6bf86ad40ca3a6215692ef46e
Author: Jaroslav Tulach 
AuthorDate: Fri Dec 25 17:18:13 2020 +0100

Generate all groups in aggregate Javadoc again
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 9f5b9c0..533a7da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -153,7 +153,7 @@ 
org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.
 
 org.apidesign.javadoc
 codesnippet-doclet
-0.60
+0.61
 
 
 -snippetpath boot-fx/src/test


-
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] 09/25: Separating generic TCK into its own class

2020-12-26 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 6e6cca878662de0f5dfa2c54a097b67232a09c13
Author: Jaroslav Tulach 
AuthorDate: Tue Dec 22 07:25:25 2020 +0100

Separating generic TCK into its own class
---
 .../html/presenters/spi/test/CallbackTest.java |  7 +---
 .../html/presenters/spi/test/GenericTCK.java   | 32 ++
 .../html/presenters/spi/test/GenericTest.java  | 21 +-
 .../html/presenters/spi/test/SynchronizedTest.java | 36 +++-
 .../netbeans/html/presenters/spi/test/Testing.java | 49 +++---
 5 files changed, 75 insertions(+), 70 deletions(-)

diff --git 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/CallbackTest.java 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/CallbackTest.java
index 9aa2aeb..cdf0341 100644
--- 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/CallbackTest.java
+++ 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/CallbackTest.java
@@ -19,7 +19,6 @@
 package org.netbeans.html.presenters.spi.test;
 
 import java.lang.reflect.Method;
-import java.util.concurrent.CountDownLatch;
 import java.util.logging.Level;
 import javax.script.ScriptException;
 import static org.testng.Assert.assertEquals;
@@ -39,7 +38,7 @@ public class CallbackTest {
 private static final class CBP extends Testing {
 
 @Override
-protected void loadJS(String js, CountDownLatch notify) {
+protected void loadJS(String js) {
 dispatch(new Runnable () {
 @Override
 public void run() {
@@ -48,12 +47,10 @@ public class CallbackTest {
 LOG.log(Level.FINE, "counter res: {0}", res);
 } catch (ScriptException ex) {
 LOG.log(Level.SEVERE, null, ex);
-} finally {
-notify.countDown();
 }
 }
 });
-super.loadJS(js, notify);
+super.loadJS(js);
 }
 
 @Override void beforeTest(Class testClass) throws Exception {
diff --git 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
new file mode 100644
index 000..cd8a87e
--- /dev/null
+++ 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
@@ -0,0 +1,32 @@
+package org.netbeans.html.presenters.spi.test;
+
+import java.util.HashMap;
+import java.util.Map;
+import org.netbeans.html.boot.spi.Fn;
+import org.netbeans.html.json.tck.JavaScriptTCK;
+import org.netbeans.html.presenters.spi.ProtoPresenter;
+import static org.testng.Assert.assertNotNull;
+
+final class GenericTCK extends JavaScriptTCK {
+static final GenericTCK INSTANCE = new GenericTCK();
+
+private final Map MAP = new HashMap<>();
+private GenericTCK() {
+}
+
+@Override
+public boolean executeNow(String script) throws Exception {
+Testing t = MAP.get(Fn.activePresenter());
+assertNotNull(t, "Testing framework found");
+return t.sync ? t.eng.eval(script) != this : false;
+}
+
+public static Class[] tests() {
+return testClasses();
+}
+
+void register(ProtoPresenter presenter, Testing testing) {
+MAP.put(presenter, testing);
+}
+
+}
diff --git 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTest.java 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTest.java
index 365..668d127 100644
--- 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTest.java
+++ 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTest.java
@@ -22,17 +22,13 @@ import java.lang.annotation.Annotation;
 import java.lang.reflect.Method;
 import java.util.ArrayList;
 import java.util.List;
-import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.Executors;
-import java.util.concurrent.TimeUnit;
 import net.java.html.boot.BrowserBuilder;
 import org.netbeans.html.boot.spi.Fn;
-import org.netbeans.html.json.tck.JavaScriptTCK;
 import org.netbeans.html.json.tck.KOTest;
-import static org.testng.Assert.assertNotNull;
 import org.testng.annotations.Factory;
 
-public class GenericTest extends JavaScriptTCK {
+public class GenericTest {
 private static Class browserClass;
 
 public GenericTest() {
@@ -76,19 +72,6 @@ public class GenericTest extends JavaScriptTCK {
 }
 }
 
-@Override
-public void executeNow(String script) throws Exception {
-Testing t = Testing.MAP.get(Fn.activePresenter());
-assertNotNull(t, "Testing framework found");
-CountDownLatch cdl = new CountDownLatch(1);
-t.loadJS(script, cdl);
-cdl.await(5, TimeUni

[netbeans-html4j] 19/25: Don't hold a reference to item when scheduling pending check

2020-12-26 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 627e73b93a71b01848f0f9c1b69793c99d9e7a79
Author: Jaroslav Tulach 
AuthorDate: Thu Dec 24 08:13:28 2020 +0100

Don't hold a reference to item when scheduling pending check
---
 .../org/netbeans/html/presenters/spi/Generic.java  | 41 --
 1 file changed, 23 insertions(+), 18 deletions(-)

diff --git 
a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java 
b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
index 3204355..1da8eb7 100644
--- a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
+++ b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
@@ -509,7 +509,7 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 void callbackReady(String name);
 }
 
-private class Item implements Runnable {
+private class Item {
 final int id;
 final Item prev;
 Boolean done;
@@ -554,15 +554,6 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 }
 }
 
-@Override public void run() {
-synchronized (lock()) {
-log(Level.FINE, "run: {0}", this);
-inJava();
-lock().notifyAll();
-}
-}
-
-
 protected String js(boolean[] finished) {
 if (Boolean.TRUE.equals(done)) {
 StringBuilder sb = new StringBuilder();
@@ -683,14 +674,9 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 return def.toString();
 }
 finished[0] = false;
-final Item top = topMostCall();
-if (top.method != null) {
-if (top.done == null) {
-dispatch(top);
-if (getDeferred(false) != null) {
-continue;
-}
-}
+final Item top = dispatchPendingItem();
+if (top == null) {
+continue;
 }
 String jsToExec = top.inJavaScript(finished);
 log(Level.FINE, "jr: {0} jsToExec: {1} finished: {2}", new 
Object[]{topMostCall(), jsToExec, finished[0]});
@@ -705,6 +691,25 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 }
 }
 
+private Item dispatchPendingItem() {
+final Item top = topMostCall();
+if (top.method != null && top.done == null) {
+dispatch(() -> {
+synchronized (lock()) {
+Item pending = topMostCall();
+if (pending != null) {
+pending.inJava();
+lock().notifyAll();
+}
+}
+});
+if (getDeferred(false) != null) {
+return null;
+}
+}
+return top;
+}
+
 private StringBuilder deferred;
 private boolean deferredDisabled;
 private Collection arguments = new LinkedList();


-
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] 08/25: Run the asynch JavaScript action test with and without JavaScript callback

2020-12-26 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 698659d9501e5bc7da247e3cf9fac4927b616701
Author: Jaroslav Tulach 
AuthorDate: Tue Dec 22 06:52:16 2020 +0100

Run the asynch JavaScript action test with and without JavaScript callback
---
 .../java/html/js/tests/AsyncJavaScriptAction.java  | 36 +++---
 .../net/java/html/js/tests/JavaScriptBodyTest.java | 12 ++--
 .../main/java/net/java/html/js/tests/JsUtils.java  | 24 ++-
 .../org/netbeans/html/json/tck/JavaScriptTCK.java  | 10 --
 4 files changed, 58 insertions(+), 24 deletions(-)

diff --git 
a/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java 
b/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
index a9f20af..b885f75 100644
--- a/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
+++ b/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
@@ -19,16 +19,18 @@
 package net.java.html.js.tests;
 
 import java.util.List;
+import java.util.function.Function;
 import net.java.html.js.JavaScriptBody;
 import static net.java.html.js.tests.JavaScriptBodyTest.assertEquals;
 
 final class AsyncJavaScriptAction {
-List collected = new java.util.ArrayList<>();
+private List collected = new java.util.ArrayList<>();
+private boolean successStoringLater;
 
 @JavaScriptBody(args = { "n" }, javacall = true, body = """
-return 
th...@net.java.html.js.tests.AsyncJavaScriptAction::performTheTest(I)(n);
+return 
th...@net.java.html.js.tests.AsyncJavaScriptAction::performIteration(I)(n);
 """)
-private native int r(int n);
+private native int enterJavaScriptAndPerformIteration(int n);
 
 @JavaScriptBody(args = {}, javacall = true, body = """
 var self = this;
@@ -48,32 +50,44 @@ final class AsyncJavaScriptAction {
 collected.add(value);
 }
 
-int performTheTest(int from) throws Exception {
+int performIteration(int from) {
 for (int i = 0; i < 5; i++) {
 jsStore(from++);
 }
 final String n = "" + from++;
-JsUtils.executeNow(AsyncJavaScriptAction.class, """
-storeLater({n});
-""".replace("{n}", n));
+successStoringLater = JsUtils.executeNow(AsyncJavaScriptAction.class, 
"storeLater(" + n + ");");
 for (int i = 6; i < 11; i++) {
 jsStore(from++);
 }
 return from;
 }
 
-public void runTheWholeTest() {
+private void performTheTest(Function iteration) {
 defineStore();
-assertEquals(r(0), 11);
+assertEquals(iteration.apply(0), 11);
+if (!successStoringLater) {
+return;
+}
 assertEquals(collected.size(), 11, "11 items: " + collected);
 for (int i = 0; i < 11; i++) {
 assertEquals(collected.get(i).intValue(), i, i + "th out of order: 
" + collected);
 }
-assertEquals(r(11), 22);
-
+assertEquals(iteration.apply(11), 22);
+if (!successStoringLater) {
+return;
+}
 assertEquals(collected.size(), 22, "22 items: " + collected);
 for (int i = 0; i < 22; i++) {
 assertEquals(collected.get(i).intValue(), i, i + "th out of order: 
" + collected);
 }
 }
+
+public void testWithCallback() {
+performTheTest(this::enterJavaScriptAndPerformIteration);
+}
+
+public void testWithoutCallback() {
+performTheTest(this::performIteration);
+}
+
 }
diff --git 
a/json-tck/src/main/java/net/java/html/js/tests/JavaScriptBodyTest.java 
b/json-tck/src/main/java/net/java/html/js/tests/JavaScriptBodyTest.java
index 3a0e8cf..c2f8eef 100644
--- a/json-tck/src/main/java/net/java/html/js/tests/JavaScriptBodyTest.java
+++ b/json-tck/src/main/java/net/java/html/js/tests/JavaScriptBodyTest.java
@@ -411,12 +411,12 @@ public class JavaScriptBodyTest {
 return;
 }
 if (l == null) {
-JsUtils.executeNow(JavaScriptBodyTest.class,
+JsUtils.execute(JavaScriptBodyTest.class,
 "if (typeof window === 'undefined') window = {};"
 );
 l = new Later();
 l.register();
-JsUtils.executeNow(JavaScriptBodyTest.class,
+JsUtils.execute(JavaScriptBodyTest.class,
 "window.later();"
 );
 }
@@ -429,7 +429,13 @@ public class JavaScriptBodyTest {
 @KOTest
 public void asynchCallFromJavaScriptInMiddleOfDefferedProcessing() {
 AsyncJavaScriptAction t = new AsyncJavaScriptAction();
-t.runTheWholeTe

[netbeans-html4j] 16/25: No need to obtain for locking in exec

2020-12-26 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 5b0a977698930c7fc400355bc29f27a1a1146e39
Author: Jaroslav Tulach 
AuthorDate: Wed Dec 23 14:24:24 2020 +0100

No need to obtain for locking in exec
---
 .../org/netbeans/html/presenters/spi/Generic.java  | 82 +++---
 1 file changed, 40 insertions(+), 42 deletions(-)

diff --git 
a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java 
b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
index 83e5398..fd06b6d 100644
--- a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
+++ b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
@@ -748,56 +748,54 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 }
 
 final Object exec(int id, String fn) {
-Object ret;
+assert Thread.holdsLock(lock());
 boolean first;
-synchronized (lock()) {
-if (deferred != null) {
-deferred.append(fn);
-fn = deferred.toString();
-deferred = null;
-log(Level.FINE, "Flushing {0}", fn);
-}
+if (deferred != null) {
+deferred.append(fn);
+fn = deferred.toString();
+deferred = null;
+log(Level.FINE, "Flushing {0}", fn);
+}
 
-{
-Item c = topMostCall();
-if (c != null && c.method != null) {
-c.inJava();
-lock().notifyAll();
-}
+{
+Item c = topMostCall();
+if (c != null && c.method != null) {
+c.inJava();
+lock().notifyAll();
 }
+}
 
-Item myCall;
-boolean load;
-final Item top = topMostCall();
-if (top != null) {
-myCall = registerCall(new Item(id, top, fn));
-load = synchronous;
-first = false;
-} else {
-myCall = registerCall(new Item(id, null, null));
-load = true;
-first = true;
+Item myCall;
+boolean load;
+final Item top = topMostCall();
+if (top != null) {
+myCall = registerCall(new Item(id, top, fn));
+load = synchronous;
+first = false;
+} else {
+myCall = registerCall(new Item(id, null, null));
+load = true;
+first = true;
+}
+if (load) {
+loadJS(fn);
+}
+for (;;) {
+if (myCall.typeof != null) {
+break;
 }
-if (load) {
-loadJS(fn);
+try {
+lock().wait();
+} catch (InterruptedException ex) {
+log(Level.SEVERE, null, ex);
 }
-for (;;) {
-if (myCall.typeof != null) {
-break;
-}
-try {
-lock().wait();
-} catch (InterruptedException ex) {
-log(Level.SEVERE, null, ex);
-}
-Item c = topMostCall();
-if (c != null) {
-c.inJava();
-}
-lock().notifyAll();
+Item c = topMostCall();
+if (c != null) {
+c.inJava();
 }
-ret = valueOf(myCall.typeof, (String) myCall.result);
+lock().notifyAll();
 }
+Object ret = valueOf(myCall.typeof, (String) myCall.result);
 if (first) {
 arguments.clear();
 }


-
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] 17/25: Encapsulate access to deffered field

2020-12-26 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 519e4d5c7f28b35f31429aefb9c58f9d966c8bf6
Author: Jaroslav Tulach 
AuthorDate: Thu Dec 24 06:35:00 2020 +0100

Encapsulate access to deffered field
---
 .../org/netbeans/html/presenters/spi/Generic.java  | 60 --
 1 file changed, 34 insertions(+), 26 deletions(-)

diff --git 
a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java 
b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
index fd06b6d..723a3c9 100644
--- a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
+++ b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
@@ -677,18 +677,17 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 synchronized (lock()) {
 boolean[] finished = {false};
 for (;;) {
-if (deferred != null) {
-deferred.insert(0, "javascript:");
-String ret = deferred.toString();
-deferred = null;
-return ret;
+StringBuilder def = getDeferred(true);
+if (def != null) {
+def.insert(0, "javascript:");
+return def.toString();
 }
 finished[0] = false;
 final Item top = topMostCall();
 if (top.method != null) {
 if (top.done == null) {
 dispatch(top);
-if (deferred != null) {
+if (getDeferred(false) != null) {
 continue;
 }
 }
@@ -709,20 +708,15 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 private StringBuilder deferred;
 private Collection arguments = new LinkedList();
 
-public final void loadScript(final Reader reader) throws Exception {
-StringBuilder sb = new StringBuilder();
-char[] arr = new char[4092];
-for (;;) {
-int len = reader.read(arr);
-if (len == -1) {
-break;
-}
-sb.append(arr, 0, len);
+private StringBuilder getDeferred(boolean clear) {
+assert Thread.holdsLock(lock());
+StringBuilder sb = deferred;
+if (clear) {
+deferred = null;
 }
-deferExec(sb);
+return sb;
 }
 
-
 final void deferExec(StringBuilder sb) {
 synchronized (lock()) {
 log(Level.FINE, "deferExec: {0} empty: {1}, call: {2}", new 
Object[]{sb, deferred == null, topMostCall()});
@@ -734,14 +728,29 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 }
 }
 
+public final void loadScript(final Reader reader) throws Exception {
+StringBuilder sb = new StringBuilder();
+char[] arr = new char[4092];
+for (;;) {
+int len = reader.read(arr);
+if (len == -1) {
+break;
+}
+sb.append(arr, 0, len);
+}
+deferExec(sb);
+}
+
+
 @Texts({
 "flushExec=\n\nds(@1).toJava('r', '@2', null);\n"
 })
 void flushImpl() {
 synchronized (lock()) {
-if (deferred != null) {
+StringBuilder def = getDeferred(false);
+if (def != null) {
 final int id = nextCallId();
-log(Level.FINE, "flush#{1}: {0}", deferred, id);
+log(Level.FINE, "flush#{1}: {0}", def, id);
 exec(id, Strings.flushExec(key, id).toString());
 }
 }
@@ -750,14 +759,13 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 final Object exec(int id, String fn) {
 assert Thread.holdsLock(lock());
 boolean first;
-if (deferred != null) {
-deferred.append(fn);
-fn = deferred.toString();
-deferred = null;
-log(Level.FINE, "Flushing {0}", fn);
-}
-
 {
+StringBuilder def = getDeferred(true);
+if (def != null) {
+def.append(fn);
+fn = def.toString();
+log(Level.FINE, "Flushing {0}", fn);
+}
 Item c = topMostCall();
 if (c != null && c.method != null) {
 c.inJava();


-
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] 24/25: Only generate Javadoc on JDK15

2020-12-26 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 74c908bdeeddf1efb9c42b3561c3bb82fb2fc355
Author: Jaroslav Tulach 
AuthorDate: Thu Dec 24 11:14:54 2020 +0100

Only generate Javadoc on JDK15
---
 .travis.yml | 9 ++---
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index d760a9d..99f3300 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,7 +33,7 @@ script:
   - $JAVA_HOME/bin/java -version
   - mvn install -DskipTests $ARGS
   - mvn -q verify $ARGS
-  - mvn javadoc:aggregate
+  - if [ -n "$JAVADOC" ]; then mvn javadoc:aggregate; fi
 
 matrix:
   include:
@@ -52,17 +52,12 @@ matrix:
   env:
 - ARGS=-Dnone
 - os: linux
-  name: Linux JDK14
-  dist: trusty
-  jdk: openjdk14
-  env:
-- ARGS=-Dnone
-- os: linux
   name: Linux JDK15 (latest)
   dist: trusty
   jdk: openjdk15
   env:
 - ARGS=-Dnone
+- JAVADOC=yes
 - os: osx
   name: Mac JDK8
   osx_image: xcode9.3


-
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] 22/25: Merging with changes in master

2020-12-26 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 ca2ca1534e4d17fc2fb16606aa69b1fa9995c11b
Merge: f72cb97 073558a
Author: Jaroslav Tulach 
AuthorDate: Thu Dec 24 10:56:13 2020 +0100

Merging with changes in master

 Jenkinsfile.groovy |   2 +-
 .../netbeans/html/boot/fx/AbstractFXPresenter.java |  21 +-
 .../java/org/netbeans/html/boot/fx/FXConsole.java  |  11 +-
 .../net/java/html/boot/script/DynamicHTTP.java |   2 +-
 .../java/html/boot/script/KnockoutEnvJSTest.java   |   9 +-
 .../{SingleCase.java => ScriptEngineCase.java} |  57 +-
 ...riptTst.java => ScriptEngineJavaScriptTCK.java} |  18 +-
 ...23JavaScriptTest.java => ScriptEngineTest.java} |  48 +-
 .../net/java/html/boot/script/ScriptsTest.java |   2 +-
 .../org/netbeans/html/boot/impl/JsCallback.java|  15 +-
 .../main/java/org/netbeans/html/boot/spi/Fn.java   |   5 +
 .../html/boot/impl/JavaScriptProcesorTest.java | 187 +++---
 .../netbeans/html/boot/impl/JsCallbackTest.java|   8 +-
 .../org/netbeans/html/boot/impl/JsMethods.java |  28 +-
 .../java/org/netbeans/html/boot/impl/JsUtils.java  |  27 +-
 .../html/presenters/browser/DynamicHTTP.java   |   2 +-
 .../presenters/browser/JavaScriptUtilities.java|  11 +-
 .../org/netbeans/html/presenters/spi/Generic.java  | 213 ---
 .../org/netbeans/html/geo/impl/JsGLProvider.java   |  36 +-
 .../netbeans/html/geo/impl/GeoProcessorTest.java   |  69 +-
 json-tck/pom.xml   |   8 -
 .../main/java/net/java/html/js/tests/Bodies.java   | 151 +++--
 .../java/net/java/html/js/tests/Factorial.java |   7 +-
 .../main/java/net/java/html/js/tests/Receiver.java |   8 +-
 .../src/main/java/net/java/html/js/tests/Sum.java  |  20 +-
 .../net/java/html/json/tests/GCKnockoutTest.java   |  36 +-
 .../net/java/html/json/tests/KnockoutTest.java | 306 -
 .../java/net/java/html/json/tests/MinesTest.java   |  49 +-
 .../java/html/json/tests/ObtainAndComputeTest.java | 136 
 .../main/java/net/java/html/json/tests/Utils.java  |  92 +--
 .../org/netbeans/html/json/tck/JavaScriptTCK.java  |  44 +-
 .../java/org/netbeans/html/json/tck/KOTest.java|  10 +-
 .../org/netbeans/html/json/tck/KnockoutTCK.java|  53 +-
 .../netbeans/html/json/impl/ModelProcessor.java|  70 +-
 .../net/java/html/json/ModelProcessorTest.java | 710 +++--
 .../html/ko/felix/test/KnockoutFelixTCKImpl.java   |  11 +-
 .../netbeans/html/ko/felix/test/DynamicHTTP.java   |   2 +-
 .../html/ko/osgi/test/KnockoutEquinoxTCKImpl.java  |  11 +-
 .../netbeans/html/ko/osgi/test/DynamicHTTP.java|   2 +-
 .../java/org/netbeans/html/wstyrus/LoadJSON.java   |  11 +-
 .../netbeans/html/wstyrus/TyrusDynamicHTTP.java|   2 +-
 .../netbeans/html/wstyrus/TyrusKnockoutTest.java   |  11 +-
 .../main/java/org/netbeans/html/ko4j/Knockout.java | 234 +++
 .../main/java/org/netbeans/html/ko4j/LoadJSON.java |  88 +--
 .../main/java/org/netbeans/html/ko4j/LoadWS.java   |  59 +-
 .../java/org/netbeans/html/ko4j/DynamicHTTP.java   |   2 +-
 .../src/test/java/org/netbeans/html/ko4j/KOFx.java |   2 +
 .../org/netbeans/html/ko4j/KnockoutFXTest.java |  16 +-
 pom.xml|   8 +-
 .../org/netbeans/html/presenters/render/Show.java  |   2 +-
 .../html/presenters/webkit/UnJarResources.java |   4 +-
 .../org/netbeans/html/presenters/webkit/Case.java  |  10 +-
 .../html/presenters/webkit/DynamicHTTP.java|   2 +-
 .../html/presenters/webkit/GtkJavaScriptTest.java  |  37 +-
 .../html/presenters/webkit/GtkKnockoutTest.java|  69 +-
 .../java/org/netbeans/html/xhr4j/LoadJSON.java |  24 +-
 .../org/netbeans/html/xhr4j/JsonDynamicHTTP.java   |   2 +-
 .../org/netbeans/html/xhr4j/JsonKnockoutTest.java  |  11 +-
 58 files changed, 1702 insertions(+), 1389 deletions(-)

diff --cc pom.xml
index 0ac2c4b,bbd2559..9097ebf
--- a/pom.xml
+++ b/pom.xml
@@@ -33,8 -33,7 +33,8 @@@


UTF-8
-   RELEASE121
+   RELEASE122
 +  20.3.0
2.3.8
COPYING



-
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] 10/25: Flush pending JavaScript executions before checking results

2020-12-26 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 0ee7eb332242c87e4410152a041fd53ed551b1ac
Author: Jaroslav Tulach 
AuthorDate: Tue Dec 22 13:58:10 2020 +0100

Flush pending JavaScript executions before checking results
---
 .../src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java  | 5 +
 1 file changed, 5 insertions(+)

diff --git 
a/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java 
b/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
index b885f75..98e650f 100644
--- a/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
+++ b/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
@@ -50,6 +50,9 @@ final class AsyncJavaScriptAction {
 collected.add(value);
 }
 
+@JavaScriptBody(args = {}, body = "")
+native void flushPendingJavaScripts();
+
 int performIteration(int from) {
 for (int i = 0; i < 5; i++) {
 jsStore(from++);
@@ -68,6 +71,7 @@ final class AsyncJavaScriptAction {
 if (!successStoringLater) {
 return;
 }
+flushPendingJavaScripts();
 assertEquals(collected.size(), 11, "11 items: " + collected);
 for (int i = 0; i < 11; i++) {
 assertEquals(collected.get(i).intValue(), i, i + "th out of order: 
" + collected);
@@ -76,6 +80,7 @@ final class AsyncJavaScriptAction {
 if (!successStoringLater) {
 return;
 }
+flushPendingJavaScripts();
 assertEquals(collected.size(), 22, "22 items: " + collected);
 for (int i = 0; i < 22; i++) {
 assertEquals(collected.get(i).intValue(), i, i + "th out of order: 
" + collected);


-
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] 23/25: Running on JDK15 with the help of Graal.js

2020-12-26 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 29d747d091e7d3954e3ec9f1952dc7636c2bbac4
Merge: ddf5059 ca2ca15
Author: Jaroslav Tulach 
AuthorDate: Thu Dec 24 10:56:49 2020 +0100

Running on JDK15 with the help of Graal.js

 .travis.yml| 10 --
 boot-script/pom.xml|  8 
 .../test/java/net/java/html/boot/script/KOCase.java|  2 +-
 .../net/java/html/boot/script/KnockoutEnvJSTest.java   |  4 +++-
 boot/pom.xml   |  8 
 generic/pom.xml|  8 
 .../main/java/net/java/html/json/tests/JSONTest.java   | 18 ++
 json/pom.xml   |  8 
 json/src/test/java/net/java/html/json/TypesTest.java   |  1 +
 pom.xml| 17 +
 sound/pom.xml  |  8 
 11 files changed, 80 insertions(+), 12 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-html4j] 13/25: Iterate just 30 times to prevent overflow

2020-12-26 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 c22532aa3b40adfff98da495b741e396f854e86a
Author: Jaroslav Tulach 
AuthorDate: Wed Dec 23 06:23:07 2020 +0100

Iterate just 30 times to prevent overflow
---
 json-tck/src/main/java/net/java/html/js/tests/GCBodyTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/json-tck/src/main/java/net/java/html/js/tests/GCBodyTest.java 
b/json-tck/src/main/java/net/java/html/js/tests/GCBodyTest.java
index c092a4a..6083cd5 100644
--- a/json-tck/src/main/java/net/java/html/js/tests/GCBodyTest.java
+++ b/json-tck/src/main/java/net/java/html/js/tests/GCBodyTest.java
@@ -151,10 +151,10 @@ public class GCBodyTest {
 }
 
 private static void assertGC(Reference ref, String msg) throws 
InterruptedException {
-for (int i = 0; i < 100; i++) {
+for (int i = 0; i < 30; i++) {
 if (isGone(ref)) return;
 long then = System.currentTimeMillis();
-int size = Bodies.gc(Math.pow(2.0, i));
+int size = Bodies.gc(1 << i);
 long took = System.currentTimeMillis() - then;
 if (took > 3000) {
 throw new InterruptedException(msg + " - giving up after " + 
took + " ms at size of " + size);


-
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] 11/25: Exclude nbactions.xml from license checks

2020-12-26 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 77213bb3225a814d7c911b464dfded9deeb4
Author: Jaroslav Tulach 
AuthorDate: Tue Dec 22 14:05:18 2020 +0100

Exclude nbactions.xml from license checks
---
 .gitignore |  3 ++-
 .../netbeans/html/presenters/spi/test/GenericTCK.java  | 18 ++
 pom.xml|  1 +
 3 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 2987134..8971744 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
 /target/
 *.orig
 */nb-configuration.xml
+*/nbactions.xml
 /html4j-maven-plugin/src/test/resources/org/netbeans/html/mojo/gradle*/build/*
 
/html4j-maven-plugin/src/test/resources/org/netbeans/html/mojo/gradle*/.gradle/*
-/html4j-maven-plugin/src/test/resources/org/netbeans/html/mojo/gradle*/.nb*gradle/*
\ No newline at end of file
+/html4j-maven-plugin/src/test/resources/org/netbeans/html/mojo/gradle*/.nb*gradle/*
diff --git 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
index cd8a87e..dedbc70 100644
--- 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
+++ 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
@@ -1,3 +1,21 @@
+/**
+ * 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.presenters.spi.test;
 
 import java.util.HashMap;
diff --git a/pom.xml b/pom.xml
index bbd2559..791fc9e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -219,6 +219,7 @@ 
org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.
 **/.maven/**
 **/*.sigtest
 **/nb-configuration.xml
+**/nbactions.xml
 README.md
 DEPENDENCIES
 
**/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



[netbeans-html4j] 12/25: Resolve deferred, then dispatch, then resolve deferred

2020-12-26 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 ec3e1f39c352eef73a896c28fafc77cf5608570c
Author: Jaroslav Tulach 
AuthorDate: Tue Dec 22 15:09:25 2020 +0100

Resolve deferred, then dispatch, then resolve deferred
---
 .../org/netbeans/html/presenters/spi/Generic.java  | 33 --
 1 file changed, 18 insertions(+), 15 deletions(-)

diff --git 
a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java 
b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
index b6d5b38..e452569 100644
--- a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
+++ b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
@@ -345,18 +345,16 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 "fnClose=) {\n",
 "fnBegin=  var encParams = ds(@1).toJava(null, -1, [",
 "fnPPar=@2 p@1", """
- fnBody=]);
-   var v = ds(@3).toVM('c', '@1', '@2', thiz ? thiz.id 
: null, encParams);
-   while (v !== null && v.indexOf && 
v.indexOf('javascript:') === 0) {
- var script = v.substring(11);
- try {
-   var r = eval.call(null, script);
- } catch (e) {  console.warn('error: ' + e + ' 
executing: ' + script + ' at:\\n' + e.stack); }
- v = ds(@3).toVM('jr', null, null, null, null);  }
-   return @4 ? eval('(' + v + ')') : v;
- };
- """,
-
+fnBody=]);
+  var v = ds(@3).toVM('c', '@1', '@2', thiz ? thiz.id : null, 
encParams);
+  while (v !== null && v.indexOf && v.indexOf('javascript:') === 0) {
+var script = v.substring(11);
+try {
+  var r = eval.call(null, script);
+} catch (e) {  console.warn('error: ' + e + ' executing: ' + 
script + ' at:\\n' + e.stack); }
+v = ds(@3).toVM('jr', null, null, null, null);  }
+  return @4 ? eval('(' + v + ')') : v;
+};""",
 "fnFoot=ds(@2).rg(@1, jsvm);\n"
 })
 final Integer exportVm(Object vm) {
@@ -671,9 +669,6 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 boolean first = top == null || Boolean.TRUE.equals(top.done);
 log(Level.FINE, "jc: {0}@{1}args: {2} is first: {3}, now: {4}", 
new Object[]{method.getName(), vm, params, first, topMostCall()});
 Item newItem = registerCall(new Item(nextCallId(), top, method, 
vm, converted));
-if (first || synchronous) {
-dispatch(newItem);
-}
 return javaresult();
 }
 }
@@ -690,6 +685,14 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 }
 finished[0] = false;
 final Item top = topMostCall();
+if (top.method != null) {
+if (top.done == null) {
+dispatch(top);
+if (deferred != null) {
+continue;
+}
+}
+}
 String jsToExec = top.inJavaScript(finished);
 log(Level.FINE, "jr: {0} jsToExec: {1} finished: {2}", new 
Object[]{topMostCall(), jsToExec, finished[0]});
 if (jsToExec != null) {


-
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] 15/25: Process pending Java callback first

2020-12-26 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 372b448aa279480f83cea5af18564eec1ceb2d4e
Author: Jaroslav Tulach 
AuthorDate: Wed Dec 23 06:53:19 2020 +0100

Process pending Java callback first
---
 .../src/main/java/org/netbeans/html/presenters/spi/Generic.java   | 8 
 1 file changed, 8 insertions(+)

diff --git 
a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java 
b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
index e452569..83e5398 100644
--- a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
+++ b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
@@ -758,6 +758,14 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 log(Level.FINE, "Flushing {0}", fn);
 }
 
+{
+Item c = topMostCall();
+if (c != null && c.method != null) {
+c.inJava();
+lock().notifyAll();
+}
+}
+
 Item myCall;
 boolean load;
 final Item top = topMostCall();


-
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] 14/25: Try harder to executeNow in asynchronous processors

2020-12-26 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 a3567854ae6b24a9ab1509c99b71f799f5ceaa3d
Author: Jaroslav Tulach 
AuthorDate: Wed Dec 23 06:24:11 2020 +0100

Try harder to executeNow in asynchronous processors
---
 .../html/presenters/spi/test/GenericTCK.java   | 29 +-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
index dedbc70..872ad98 100644
--- 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
+++ 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
@@ -20,6 +20,9 @@ package org.netbeans.html.presenters.spi.test;
 
 import java.util.HashMap;
 import java.util.Map;
+import java.util.concurrent.CountDownLatch;
+import java.util.concurrent.TimeUnit;
+import javax.script.ScriptException;
 import org.netbeans.html.boot.spi.Fn;
 import org.netbeans.html.json.tck.JavaScriptTCK;
 import org.netbeans.html.presenters.spi.ProtoPresenter;
@@ -36,7 +39,31 @@ final class GenericTCK extends JavaScriptTCK {
 public boolean executeNow(String script) throws Exception {
 Testing t = MAP.get(Fn.activePresenter());
 assertNotNull(t, "Testing framework found");
-return t.sync ? t.eng.eval(script) != this : false;
+if (t.sync) {
+t.eng.eval(script);
+return true;
+} else {
+CountDownLatch cdl = new CountDownLatch(1);
+Exception[] error = { null };
+boolean[] queueEntered = { false };
+t.QUEUE.execute(() -> {
+if (cdl.getCount() == 1) {
+try {
+queueEntered[0] = true;
+t.eng.eval(script);
+} catch (ScriptException ex) {
+error[0] = ex;
+} finally {
+cdl.countDown();
+}
+}
+});
+cdl.await(3, TimeUnit.SECONDS);
+if (error[0] != null) {
+throw error[0];
+}
+return queueEntered[0];
+}
 }
 
 public static Class[] tests() {


-
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/25: Only attempt to mangle the encoding on pre-JDK11 virtual machines

2020-12-26 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 f72cb974515ed9115722f0452f44bfa3a5628519
Author: Jaroslav Tulach 
AuthorDate: Wed Dec 9 05:59:06 2020 +0100

Only attempt to mangle the encoding on pre-JDK11 virtual machines
---
 .../main/java/net/java/html/json/tests/JSONTest.java   | 18 ++
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/json-tck/src/main/java/net/java/html/json/tests/JSONTest.java 
b/json-tck/src/main/java/net/java/html/json/tests/JSONTest.java
index 6aaf236..f88a201 100644
--- a/json-tck/src/main/java/net/java/html/json/tests/JSONTest.java
+++ b/json-tck/src/main/java/net/java/html/json/tests/JSONTest.java
@@ -51,14 +51,16 @@ public final class JSONTest {
 private String url;
 
 static {
-try {
-System.setProperty("file.encoding", "windows-1251");
-Field f = Charset.class.getDeclaredField("defaultCharset");
-f.setAccessible(true);
-f.set(null, null);
-assertEquals(Charset.defaultCharset().toString(), "windows-1251", 
"Encoding has been changed");
-} catch (Throwable t) {
-t.printStackTrace();
+if (System.getProperty("java.version").startsWith("1.")) {
+try {
+System.setProperty("file.encoding", "windows-1251");
+Field f = Charset.class.getDeclaredField("defaultCharset");
+f.setAccessible(true);
+f.set(null, null);
+assertEquals(Charset.defaultCharset().toString(), 
"windows-1251", "Encoding has been changed");
+} catch (Throwable t) {
+t.printStackTrace();
+}
 }
 }
 


-
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] 18/25: Allow only one deferred processing before flush

2020-12-26 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 ae7d00a2693e25492a16eae3cd96c2da6bb9b8a1
Author: Jaroslav Tulach 
AuthorDate: Thu Dec 24 07:17:34 2020 +0100

Allow only one deferred processing before flush
---
 .../main/java/org/netbeans/html/presenters/spi/Generic.java  | 12 ++--
 .../org/netbeans/html/presenters/spi/test/GenericTCK.java|  2 +-
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git 
a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java 
b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
index 723a3c9..3204355 100644
--- a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
+++ b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
@@ -706,6 +706,7 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 }
 
 private StringBuilder deferred;
+private boolean deferredDisabled;
 private Collection arguments = new LinkedList();
 
 private StringBuilder getDeferred(boolean clear) {
@@ -713,6 +714,9 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 StringBuilder sb = deferred;
 if (clear) {
 deferred = null;
+if (sb != null) {
+deferredDisabled = true;
+}
 }
 return sb;
 }
@@ -753,6 +757,9 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 log(Level.FINE, "flush#{1}: {0}", def, id);
 exec(id, Strings.flushExec(key, id).toString());
 }
+if (topMostCall() == null) {
+deferredDisabled = false;
+}
 }
 }
 
@@ -931,9 +938,10 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 arguments.add(args);
 
 synchronized (lock()) {
+boolean synchronizedExecution = wait4js || deferredDisabled;
 int callId = nextCallId();
-sb.insert(0, Strings.invokeImplFn(id, wait4js, key, callId));
-if (wait4js) {
+sb.insert(0, Strings.invokeImplFn(id, synchronizedExecution, 
key, callId));
+if (synchronizedExecution) {
 return exec(callId, sb.toString());
 } else {
 deferExec(sb);
diff --git 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
index 872ad98..8c0ba9a 100644
--- 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
+++ 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
@@ -58,7 +58,7 @@ final class GenericTCK extends JavaScriptTCK {
 }
 }
 });
-cdl.await(3, TimeUnit.SECONDS);
+cdl.await(1, TimeUnit.SECONDS);
 if (error[0] != null) {
 throw error[0];
 }


-
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] 21/25: Remove done javascript items from the stack

2020-12-26 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 ddf50597f17c0dc730765da7c6abb6d091e23936
Author: Jaroslav Tulach 
AuthorDate: Thu Dec 24 09:31:31 2020 +0100

Remove done javascript items from the stack
---
 .../main/java/org/netbeans/html/presenters/spi/Generic.java| 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git 
a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java 
b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
index 1da8eb7..3a6a331 100644
--- a/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
+++ b/generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java
@@ -579,10 +579,10 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 
 protected String sj(boolean[] finished) {
 finished[0] = false;
-if (Boolean.TRUE.equals(done)) {
+if (done != null) {
 return null;
 }
-done = true;
+done = false;
 return "javascript:" + toExec;
 }
 
@@ -592,6 +592,7 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 }
 this.typeof = typeof;
 this.result = result;
+this.done = true;
 log(Level.FINE, "result ({0}): {1} for {2}", typeof, result, 
toExec);
 }
 } // end of Item
@@ -618,7 +619,7 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 return;
 }
 Item it = top;
-while (it != null) {
+while (it.prev != null) {
 Item process = it.prev;
 if (process.id == id) {
 process.result(typeof, res);
@@ -1027,6 +1028,9 @@ abstract class Generic implements Fn.Presenter, 
Fn.KeepAlive, Flushable {
 
 private Item registerCall(Item call) {
 assert Thread.holdsLock(lock());
+while (call != null && call.method == null && 
Boolean.TRUE.equals(call.done)) {
+call = call.prev;
+}
 this.call = call;
 lock().notifyAll();
 return call;


-
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 (073558a -> df94a42)

2020-12-26 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 073558a  Improving readability by using text blocks
 new d4fe0e9  Improving readability by using text blocks
 new b7bbe85  Trigger asynchronous action in JavaScript in middle of a 
computation
 new 698659d  Run the asynch JavaScript action test with and without 
JavaScript callback
 new 6e6cca8  Separating generic TCK into its own class
 new 0ee7eb3  Flush pending JavaScript executions before checking results
 new 77213bb  Exclude nbactions.xml from license checks
 new ec3e1f3  Resolve deferred, then dispatch, then resolve deferred
 new c22532a  Iterate just 30 times to prevent overflow
 new a356785  Try harder to executeNow in asynchronous processors
 new 372b448  Process pending Java callback first
 new 5b0a977  No need to obtain for locking in exec
 new 519e4d5  Encapsulate access to deffered field
 new ae7d00a  Allow only one deferred processing before flush
 new 627e73b  Don't hold a reference to item when scheduling pending check
 new efb47ac  Close the browser window when the suite execution is over
 new ddf5059  Remove done javascript items from the stack
 new f0fe2b5  Testing on JDK15 which no longer provides Nashorn
 new e6b099d  Include graal-js as a subsitute for missing Nashorn on JDK15
 new 328c6fa  codesnippet4javadoc 0.60 works on JDK15
 new 3a4ca18  Less verbose build
 new f72cb97  Only attempt to mangle the encoding on pre-JDK11 virtual 
machines
 new ca2ca15  Merging with changes in master
 new 29d747d  Running on JDK15 with the help of Graal.js
 new 74c908b  Only generate Javadoc on JDK15
 new df94a42  Generate all groups in aggregate Javadoc again

The 25 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:
 .gitignore |   3 +-
 .travis.yml|   9 +-
 boot-script/pom.xml|   8 +
 .../java/net/java/html/boot/script/KOCase.java |   2 +-
 .../java/html/boot/script/KnockoutEnvJSTest.java   |   4 +-
 .../java/html/boot/script/ScriptEngineTest.java|   1 +
 boot/pom.xml   |   8 +
 .../netbeans/html/presenters/browser/Browser.java  |   2 -
 .../netbeans/html/presenters/browser/KOClose.java  |  42 +++--
 .../netbeans/html/presenters/browser/KOScript.java |   5 +-
 .../html/presenters/browser/ServerFactories.java   |   5 +-
 generic/pom.xml|  10 +-
 .../org/netbeans/html/presenters/spi/Generic.java  | 198 -
 .../netbeans/html/presenters/spi/test/Case.java|   6 +-
 .../html/presenters/spi/test/GenericTCK.java   |  77 
 .../html/presenters/spi/test/GenericTest.java  |  25 ++-
 .../html/presenters/spi/test/SynchronizedTest.java |  36 +++-
 .../netbeans/html/presenters/spi/test/Testing.java |  34 +---
 .../java/html/js/tests/AsyncJavaScriptAction.java  |  98 ++
 .../java/net/java/html/js/tests/GCBodyTest.java|   4 +-
 .../net/java/html/js/tests/JavaScriptBodyTest.java |  81 +
 .../main/java/net/java/html/js/tests/JsUtils.java  |  56 ++
 .../java/net/java/html/json/tests/JSONTest.java|  18 +-
 .../main/java/net/java/html/json/tests/Utils.java  |  51 +++---
 .../org/netbeans/html/json/tck/JavaScriptTCK.java  |  24 +++
 json/pom.xml   |   8 +
 .../test/java/net/java/html/json/TypesTest.java|   1 +
 pom.xml|  20 ++-
 sound/pom.xml  |   8 +
 29 files changed, 612 insertions(+), 232 deletions(-)
 copy webkit/src/test/java/org/netbeans/html/presenters/webkit/Skip.java => 
browser/src/test/java/org/netbeans/html/presenters/browser/KOClose.java (52%)
 create mode 100644 
generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTCK.java
 create mode 100644 
json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java
 create mode 100644 json-tck/src/main/java/net/java/html/js/tests/JsUtils.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/25: codesnippet4javadoc 0.60 works on JDK15

2020-12-26 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 328c6fa6a24bc31fa767c5c05600bfe656e27100
Author: Jaroslav Tulach 
AuthorDate: Wed Dec 9 04:41:58 2020 +0100

codesnippet4javadoc 0.60 works on JDK15
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 6e875e2..6c540d1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,7 +152,7 @@ 
org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.
 
 org.apidesign.javadoc
 codesnippet-doclet
-0.54
+0.60
 
 
 -snippetpath boot-fx/src/test


-
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/25: Improving readability by using text blocks

2020-12-26 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 d4fe0e95c0801b34359206cbb80dceb2b01cc431
Merge: 1e383e4 784196d
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 21 14:12:03 2020 +0100

Improving readability by using text blocks

 .../netbeans/html/boot/fx/AbstractFXPresenter.java |  21 +-
 .../java/org/netbeans/html/boot/fx/FXConsole.java  |  11 +-
 .../java/html/boot/script/KnockoutEnvJSTest.java   |   7 +-
 .../java/html/boot/script/ScriptEngineTest.java|  28 +-
 .../org/netbeans/html/boot/impl/JsCallback.java|  15 +-
 .../html/boot/impl/JavaScriptProcesorTest.java | 187 +++---
 .../netbeans/html/boot/impl/JsCallbackTest.java|   8 +-
 .../org/netbeans/html/boot/impl/JsMethods.java |  28 +-
 .../java/org/netbeans/html/boot/impl/JsUtils.java  |  27 +-
 .../presenters/browser/JavaScriptUtilities.java|  11 +-
 .../org/netbeans/html/presenters/spi/Generic.java  | 211 +++---
 .../org/netbeans/html/geo/impl/JsGLProvider.java   |  36 +-
 .../netbeans/html/geo/impl/GeoProcessorTest.java   |  69 +-
 json-tck/pom.xml   |   8 -
 .../main/java/net/java/html/js/tests/Bodies.java   | 151 +++--
 .../java/net/java/html/js/tests/Factorial.java |   7 +-
 .../main/java/net/java/html/js/tests/Receiver.java |   8 +-
 .../src/main/java/net/java/html/js/tests/Sum.java  |  20 +-
 .../net/java/html/json/tests/GCKnockoutTest.java   |  36 +-
 .../net/java/html/json/tests/KnockoutTest.java | 306 -
 .../java/net/java/html/json/tests/MinesTest.java   |  33 +-
 .../main/java/net/java/html/json/tests/Utils.java  |  98 +--
 .../netbeans/html/json/impl/ModelProcessor.java|  68 +-
 .../net/java/html/json/ModelProcessorTest.java | 710 +++--
 .../html/ko/felix/test/KnockoutFelixTCKImpl.java   |  11 +-
 .../html/ko/osgi/test/KnockoutEquinoxTCKImpl.java  |  11 +-
 .../java/org/netbeans/html/wstyrus/LoadJSON.java   |  11 +-
 .../netbeans/html/wstyrus/TyrusKnockoutTest.java   |  11 +-
 .../main/java/org/netbeans/html/ko4j/Knockout.java | 234 +++
 .../main/java/org/netbeans/html/ko4j/LoadJSON.java |  88 +--
 .../main/java/org/netbeans/html/ko4j/LoadWS.java   |  59 +-
 .../org/netbeans/html/ko4j/KnockoutFXTest.java |  11 +-
 pom.xml|   7 +-
 .../html/presenters/webkit/GtkKnockoutTest.java|  17 +-
 .../java/org/netbeans/html/xhr4j/LoadJSON.java |  24 +-
 .../org/netbeans/html/xhr4j/JsonKnockoutTest.java  |  11 +-
 36 files changed, 1366 insertions(+), 1233 deletions(-)

diff --cc json-tck/src/main/java/net/java/html/json/tests/MinesTest.java
index e436bd8,f33e557..2fac125
--- a/json-tck/src/main/java/net/java/html/json/tests/MinesTest.java
+++ b/json-tck/src/main/java/net/java/html/json/tests/MinesTest.java
@@@ -40,23 -40,22 +40,22 @@@ public final class MinesTest 
  @KOTest public void paintTheGridOnClick() throws Throwable {
  if (m == null) {
  BrwsrCtx ctx = Utils.newContext(MinesTest.class);
- Object exp = Utils.exposeHTML(MinesTest.class,
- "\n" 
+
- "\n" +
- "\n" +
- "\n" +
- "\n" +
- "\n" +
- "\n" +
- "\n" +
- "\n" +
- "\n" +
- "\n" +
- "\n" +
- "   

[netbeans-html4j] 02/25: Include graal-js as a subsitute for missing Nashorn on JDK15

2020-12-26 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 e6b099d099537e378156d1e1e4a131758b814f08
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 7 07:49:38 2020 +0100

Include graal-js as a subsitute for missing Nashorn on JDK15
---
 boot-script/pom.xml   |  8 
 .../test/java/net/java/html/boot/script/KOCase.java   |  2 +-
 .../net/java/html/boot/script/KnockoutEnvJSTest.java  |  4 +++-
 boot/pom.xml  |  8 
 generic/pom.xml   |  8 
 json/pom.xml  |  8 
 json/src/test/java/net/java/html/json/TypesTest.java  |  1 +
 pom.xml   | 19 +--
 sound/pom.xml |  8 
 9 files changed, 62 insertions(+), 4 deletions(-)

diff --git a/boot-script/pom.xml b/boot-script/pom.xml
index 40378ca..91f62fc 100644
--- a/boot-script/pom.xml
+++ b/boot-script/pom.xml
@@ -122,5 +122,13 @@
 test
 jar
 
+
+  org.graalvm.js
+  js
+
+
+  org.graalvm.js
+  js-scriptengine
+
 
 
\ No newline at end of file
diff --git a/boot-script/src/test/java/net/java/html/boot/script/KOCase.java 
b/boot-script/src/test/java/net/java/html/boot/script/KOCase.java
index c565de9..7a74fc9 100644
--- a/boot-script/src/test/java/net/java/html/boot/script/KOCase.java
+++ b/boot-script/src/test/java/net/java/html/boot/script/KOCase.java
@@ -50,7 +50,7 @@ public final class KOCase implements ITest, Runnable {
 
 @Override
 public String getTestName() {
-return m.getName();
+return m != null ? m.getName() : skipMsg;
 }
 
 @Test
diff --git 
a/boot-script/src/test/java/net/java/html/boot/script/KnockoutEnvJSTest.java 
b/boot-script/src/test/java/net/java/html/boot/script/KnockoutEnvJSTest.java
index 6316f10..92b7088 100644
--- a/boot-script/src/test/java/net/java/html/boot/script/KnockoutEnvJSTest.java
+++ b/boot-script/src/test/java/net/java/html/boot/script/KnockoutEnvJSTest.java
@@ -70,7 +70,9 @@ public final class KnockoutEnvJSTest extends KnockoutTCK {
 @Factory public static Object[] compatibilityTests() throws Exception {
 ScriptEngine eng = new 
ScriptEngineManager().getEngineByName("nashorn");
 if (eng == null) {
-throw new SkipException("Nashorn engine not found. Skipping!");
+return new Object[] {
+new KOCase(null, null, "Nashorn engine not found. Skipping!")
+};
 }
 
 Class[] arr = testClasses();
diff --git a/boot/pom.xml b/boot/pom.xml
index 59fc227..19968a5 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -84,6 +84,14 @@
   test
   jar
 
+
+org.graalvm.js
+js
+
+
+org.graalvm.js
+js-scriptengine
+
   
 Builder to launch your Java/HTML based 
application.
 
diff --git a/generic/pom.xml b/generic/pom.xml
index 0008110..1669f11 100644
--- a/generic/pom.xml
+++ b/generic/pom.xml
@@ -61,6 +61,14 @@
 com.dukescript.api
 strings
 
+
+org.graalvm.js
+js
+
+
+org.graalvm.js
+js-scriptengine
+
 
 
 
diff --git a/json/pom.xml b/json/pom.xml
index 0c84eac..31c5a96 100644
--- a/json/pom.xml
+++ b/json/pom.xml
@@ -82,6 +82,14 @@
   net.java.html
   ${project.version}
 
+
+  org.graalvm.js
+  js
+
+
+  org.graalvm.js
+  js-scriptengine
+
   
 API for smooth representation of JSON objects in Java. Write 
your
 application in Java and
diff --git a/json/src/test/java/net/java/html/json/TypesTest.java 
b/json/src/test/java/net/java/html/json/TypesTest.java
index 465c752..2185bd3 100644
--- a/json/src/test/java/net/java/html/json/TypesTest.java
+++ b/json/src/test/java/net/java/html/json/TypesTest.java
@@ -111,6 +111,7 @@ public class TypesTest {
 private static void assertValidJSON(String text) {
 ScriptEngineManager sem = new ScriptEngineManager();
 ScriptEngine eng = sem.getEngineByMimeType("text/javascript");
+assertNotNull(eng, "JavaScript engine found");
 try {
 eng.eval("var obj = " + text + ";");
 } catch (ScriptException ex) {
diff --git a/pom.xml b/pom.xml
index ed859f3..6e875e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,8 @@
   
   
   UTF-8
-  RELEASE110
+  RELEASE121
+  20.3.0
   2.3.8
   COPYING
   
@@ -280,7 +281,7 @@ 
org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.
 

[netbeans-html4j] 04/25: Less verbose build

2020-12-26 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 3a4ca18f326a01900acd12ff3ccd926857cdd429
Author: Jaroslav Tulach 
AuthorDate: Wed Dec 9 05:57:23 2020 +0100

Less verbose build
---
 .travis.yml | 2 +-
 pom.xml | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 6de3070..d760a9d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,7 +32,7 @@ before_script:
 script:
   - $JAVA_HOME/bin/java -version
   - mvn install -DskipTests $ARGS
-  - mvn verify $ARGS
+  - mvn -q verify $ARGS
   - mvn javadoc:aggregate
 
 matrix:
diff --git a/pom.xml b/pom.xml
index 6c540d1..0ac2c4b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -197,6 +197,7 @@ 
org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.
 
 org.apache.rat
 apache-rat-plugin
+0.13
 
 
 prepare-package
@@ -207,6 +208,7 @@ 
org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.
 
 
 
+
false
 
 release.properties
 **/target/**


-
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/25: Testing on JDK15 which no longer provides Nashorn

2020-12-26 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 f0fe2b5dd32afbdf5ec46883c5ffed4ace5d4dd9
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 7 07:33:49 2020 +0100

Testing on JDK15 which no longer provides Nashorn
---
 .travis.yml | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index b220c39..6de3070 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -52,11 +52,17 @@ matrix:
   env:
 - ARGS=-Dnone
 - os: linux
-  name: Linux JDK14 (latest)
+  name: Linux JDK14
   dist: trusty
   jdk: openjdk14
   env:
 - ARGS=-Dnone
+- os: linux
+  name: Linux JDK15 (latest)
+  dist: trusty
+  jdk: openjdk15
+  env:
+- ARGS=-Dnone
 - os: osx
   name: Mac JDK8
   osx_image: xcode9.3


-
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] 07/25: Trigger asynchronous action in JavaScript in middle of a computation

2020-12-26 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 b7bbe85ec6990ff50d0a59912ea18b562e28
Author: Jaroslav Tulach 
AuthorDate: Mon Dec 21 20:17:30 2020 +0100

Trigger asynchronous action in JavaScript in middle of a computation
---
 .../java/html/boot/script/ScriptEngineTest.java|  1 +
 generic/pom.xml|  2 +-
 .../html/presenters/spi/test/CallbackTest.java |  7 +-
 .../netbeans/html/presenters/spi/test/Case.java|  6 +-
 .../html/presenters/spi/test/GenericTest.java  | 30 ++--
 .../netbeans/html/presenters/spi/test/Testing.java | 17 -
 .../java/html/js/tests/AsyncJavaScriptAction.java  | 79 ++
 .../net/java/html/js/tests/JavaScriptBodyTest.java | 75 ++--
 .../main/java/net/java/html/js/tests/JsUtils.java  | 46 +
 .../main/java/net/java/html/json/tests/Utils.java  | 32 -
 .../org/netbeans/html/json/tck/JavaScriptTCK.java  | 20 ++
 11 files changed, 249 insertions(+), 66 deletions(-)

diff --git 
a/boot-script/src/test/java/net/java/html/boot/script/ScriptEngineTest.java 
b/boot-script/src/test/java/net/java/html/boot/script/ScriptEngineTest.java
index 94eec03..9c2912d 100644
--- a/boot-script/src/test/java/net/java/html/boot/script/ScriptEngineTest.java
+++ b/boot-script/src/test/java/net/java/html/boot/script/ScriptEngineTest.java
@@ -89,6 +89,7 @@ public class ScriptEngineTest {
 if (n === 'Number') continue;
 if (n === 'Boolean') continue;
 if (n === 'Array') continue;
+if (n === 'eval') continue;
 delete this[n];
   }
   return Object.getOwnPropertyNames(this).toString();
diff --git a/generic/pom.xml b/generic/pom.xml
index 0008110..78b52d2 100644
--- a/generic/pom.xml
+++ b/generic/pom.xml
@@ -75,7 +75,7 @@
 
 ${project.version}
 
-1.8
+15
 1.8
 
 
diff --git 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/CallbackTest.java 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/CallbackTest.java
index cdf0341..9aa2aeb 100644
--- 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/CallbackTest.java
+++ 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/CallbackTest.java
@@ -19,6 +19,7 @@
 package org.netbeans.html.presenters.spi.test;
 
 import java.lang.reflect.Method;
+import java.util.concurrent.CountDownLatch;
 import java.util.logging.Level;
 import javax.script.ScriptException;
 import static org.testng.Assert.assertEquals;
@@ -38,7 +39,7 @@ public class CallbackTest {
 private static final class CBP extends Testing {
 
 @Override
-protected void loadJS(String js) {
+protected void loadJS(String js, CountDownLatch notify) {
 dispatch(new Runnable () {
 @Override
 public void run() {
@@ -47,10 +48,12 @@ public class CallbackTest {
 LOG.log(Level.FINE, "counter res: {0}", res);
 } catch (ScriptException ex) {
 LOG.log(Level.SEVERE, null, ex);
+} finally {
+notify.countDown();
 }
 }
 });
-super.loadJS(js);
+super.loadJS(js, notify);
 }
 
 @Override void beforeTest(Class testClass) throws Exception {
diff --git 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/Case.java 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/Case.java
index c3bc60d..8f4b94f 100644
--- a/generic/src/test/java/org/netbeans/html/presenters/spi/test/Case.java
+++ b/generic/src/test/java/org/netbeans/html/presenters/spi/test/Case.java
@@ -33,14 +33,16 @@ import org.testng.annotations.Test;
 
 public final class Case implements ITest, IHookable, Runnable {
 private final Fn.Presenter p;
+private final Testing t;
 private CountDownLatch finished;
 private final Method m;
 private Object result;
 private Object inst;
 private int cnt;
 
-Case(Fn.Presenter p, Method m) {
-this.p = p;
+Case(Testing t, Method m) {
+this.t = t;
+this.p = t.presenter;
 this.m = m;
 }
 
diff --git 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTest.java 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTest.java
index 9df6444..365 100644
--- 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTest.java
+++ 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/GenericTest.java
@@ -22,11 +22,14 @@ import java.lang.annotation.Annotatio

[netbeans] branch master updated (7b3f4ee -> 8af7154)

2020-12-22 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.git.


from 7b3f4ee  Removing the need for a default JS engine in JDK to call ant 
tryme. (#2594)
 new 5aca5b2  Make CreateElement fixes available as LSP CodeActions.
 new 0c290b4  Generate Overrride method puts in misleading comment - fixed.
 new e1ceda7  Licenseinfo for templates added.
 new 2ad9135  Fixing typo in licenseinfo.xml.
 new 8af7154  Merge pull request #2605 from 
dbalek/dbalek/lsp-createElementFixes

The 4768 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:
 .../modules/java/hints/errors/CreateClassFix.java  |  53 +++-
 .../java/hints/errors/CreateEnumConstant.java  |  14 +-
 .../modules/java/hints/errors/CreateFieldFix.java  |  32 ++-
 .../modules/java/hints/errors/CreateFixBase.java   |  32 +++
 .../modules/java/hints/errors/CreateMethodFix.java |  21 +-
 .../nbcode/integration/licenseinfo.xml |  30 ++
 .../nbcode/integration/nbproject/project.xml   |  16 ++
 .../modules/nbcode/integration/package-info.java   |  33 +++
 .../resources/GeneratedMethodBody.template |  13 +
 .../integration/resources/LambdaBody.template  |  14 +
 .../resources/OverriddenMethodBody.template|  18 ++
 .../server/protocol/TextDocumentServiceImpl.java   |  60 +++-
 .../java/lsp/server/protocol/ServerTest.java   | 309 +
 13 files changed, 609 insertions(+), 36 deletions(-)
 create mode 100644 
java/java.hints/src/org/netbeans/modules/java/hints/errors/CreateFixBase.java
 create mode 100644 java/java.lsp.server/nbcode/integration/licenseinfo.xml
 create mode 100644 
java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/package-info.java
 create mode 100644 
java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/resources/GeneratedMethodBody.template
 create mode 100644 
java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/resources/LambdaBody.template
 create mode 100644 
java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/resources/OverriddenMethodBody.template


-
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 (1e383e4 -> 073558a)

2020-12-21 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 1e383e4  Switching to latest version of the doclet and generating it 
sooner than performing a build
 new 784196d  Applying the NetBeans Convert to Text Block refactoring
 new 073558a  Improving readability by using text blocks

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:
 .../netbeans/html/boot/fx/AbstractFXPresenter.java |  21 +-
 .../java/org/netbeans/html/boot/fx/FXConsole.java  |  11 +-
 .../java/html/boot/script/KnockoutEnvJSTest.java   |   7 +-
 .../java/html/boot/script/ScriptEngineTest.java|  28 +-
 .../org/netbeans/html/boot/impl/JsCallback.java|  15 +-
 .../html/boot/impl/JavaScriptProcesorTest.java | 187 +++---
 .../netbeans/html/boot/impl/JsCallbackTest.java|   8 +-
 .../org/netbeans/html/boot/impl/JsMethods.java |  28 +-
 .../java/org/netbeans/html/boot/impl/JsUtils.java  |  27 +-
 .../presenters/browser/JavaScriptUtilities.java|  11 +-
 .../org/netbeans/html/presenters/spi/Generic.java  | 211 +++---
 .../org/netbeans/html/geo/impl/JsGLProvider.java   |  36 +-
 .../netbeans/html/geo/impl/GeoProcessorTest.java   |  69 +-
 json-tck/pom.xml   |   8 -
 .../main/java/net/java/html/js/tests/Bodies.java   | 151 +++--
 .../java/net/java/html/js/tests/Factorial.java |   7 +-
 .../main/java/net/java/html/js/tests/Receiver.java |   8 +-
 .../src/main/java/net/java/html/js/tests/Sum.java  |  20 +-
 .../net/java/html/json/tests/GCKnockoutTest.java   |  36 +-
 .../net/java/html/json/tests/KnockoutTest.java | 306 -
 .../java/net/java/html/json/tests/MinesTest.java   |  33 +-
 .../main/java/net/java/html/json/tests/Utils.java  |  79 +--
 .../netbeans/html/json/impl/ModelProcessor.java|  68 +-
 .../net/java/html/json/ModelProcessorTest.java | 710 +++--
 .../html/ko/felix/test/KnockoutFelixTCKImpl.java   |  11 +-
 .../html/ko/osgi/test/KnockoutEquinoxTCKImpl.java  |  11 +-
 .../java/org/netbeans/html/wstyrus/LoadJSON.java   |  11 +-
 .../netbeans/html/wstyrus/TyrusKnockoutTest.java   |  11 +-
 .../main/java/org/netbeans/html/ko4j/Knockout.java | 234 +++
 .../main/java/org/netbeans/html/ko4j/LoadJSON.java |  88 +--
 .../main/java/org/netbeans/html/ko4j/LoadWS.java   |  59 +-
 .../org/netbeans/html/ko4j/KnockoutFXTest.java |  11 +-
 pom.xml|   7 +-
 .../html/presenters/webkit/GtkKnockoutTest.java|  17 +-
 .../java/org/netbeans/html/xhr4j/LoadJSON.java |  24 +-
 .../org/netbeans/html/xhr4j/JsonKnockoutTest.java  |  11 +-
 36 files changed, 1355 insertions(+), 1225 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



  1   2   3   4   5   6   >