[netbeans] branch master updated: [NETBEANS-5588] Upgradle to JaCoCo 0.8.6 for Gradle Code Coverage

2021-04-16 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi 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 075282e  [NETBEANS-5588] Upgradle to JaCoCo 0.8.6 for Gradle Code 
Coverage
075282e is described below

commit 075282e325a9f2319018fdb17257f23796b404b3
Author: Laszlo Kishalmi 
AuthorDate: Thu Apr 15 20:23:27 2021 -0700

[NETBEANS-5588] Upgradle to JaCoCo 0.8.6 for Gradle Code Coverage
---
 java/gradle.java.coverage/external/binaries-list| 2 +-
 jacoco.core-0.8.5-license.txt => org.jacoco.core-0.8.6-license.txt} | 2 +-
 ...rg.jacoco.core-0.8.5-notice.txt => org.jacoco.core-0.8.6-notice.txt} | 0
 java/gradle.java.coverage/nbproject/project.properties  | 2 +-
 java/gradle.java.coverage/nbproject/project.xml | 2 +-
 5 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/gradle.java.coverage/external/binaries-list 
b/java/gradle.java.coverage/external/binaries-list
index 8bd9922..0a2de06 100644
--- a/java/gradle.java.coverage/external/binaries-list
+++ b/java/gradle.java.coverage/external/binaries-list
@@ -14,4 +14,4 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-1AC96769AA83E5492D1A1A694774F6BAEC4EB704 org.jacoco:org.jacoco.core:0.8.5
+8C20544D06B8A54DE1A585E4FCD0B101C0B433D9 org.jacoco:org.jacoco.core:0.8.6
diff --git 
a/java/gradle.java.coverage/external/org.jacoco.core-0.8.5-license.txt 
b/java/gradle.java.coverage/external/org.jacoco.core-0.8.6-license.txt
similarity index 99%
rename from java/gradle.java.coverage/external/org.jacoco.core-0.8.5-license.txt
rename to java/gradle.java.coverage/external/org.jacoco.core-0.8.6-license.txt
index 1bab72b..8ad978b 100644
--- a/java/gradle.java.coverage/external/org.jacoco.core-0.8.5-license.txt
+++ b/java/gradle.java.coverage/external/org.jacoco.core-0.8.6-license.txt
@@ -1,6 +1,6 @@
 Name: JaCoCo Core
 Description: Java Code Coverage for Eclipse
-Version: 0.8.5
+Version: 0.8.6
 License: EPL-v10
 Origin: EclEmma Project
 URL: https://www.jacoco.org/
diff --git 
a/java/gradle.java.coverage/external/org.jacoco.core-0.8.5-notice.txt 
b/java/gradle.java.coverage/external/org.jacoco.core-0.8.6-notice.txt
similarity index 100%
rename from java/gradle.java.coverage/external/org.jacoco.core-0.8.5-notice.txt
rename to java/gradle.java.coverage/external/org.jacoco.core-0.8.6-notice.txt
diff --git a/java/gradle.java.coverage/nbproject/project.properties 
b/java/gradle.java.coverage/nbproject/project.properties
index a94a5bd..de3cde4 100644
--- a/java/gradle.java.coverage/nbproject/project.properties
+++ b/java/gradle.java.coverage/nbproject/project.properties
@@ -23,4 +23,4 @@ is.eager=true
 test-unit-sys-prop.test.netbeans.dest.dir=${netbeans.dest.dir}
 test-unit-sys-prop.java.awt.headless=true
 
-release.external/org.jacoco.core-0.8.5.jar=modules/gradle/org.jacoco.core.jar
+release.external/org.jacoco.core-0.8.6.jar=modules/gradle/org.jacoco.core.jar
diff --git a/java/gradle.java.coverage/nbproject/project.xml 
b/java/gradle.java.coverage/nbproject/project.xml
index b1211d3..b08eaf1 100644
--- a/java/gradle.java.coverage/nbproject/project.xml
+++ b/java/gradle.java.coverage/nbproject/project.xml
@@ -119,7 +119,7 @@
 
 
 
gradle/org.jacoco.core.jar
-
external/org.jacoco.core-0.8.5.jar
+
external/org.jacoco.core-0.8.6.jar
 
 
 

-
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 (bf76d65 -> 03773dd)

2021-04-14 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from bf76d65  Merge pull request #2854 from emilianbold/jdk-download
 add 03773dd  [NETBEANS-5541] Upgrade Gradle Tooling to 7.0

No new revisions were added by this update.

Summary of changes:
 extide/gradle/nbproject/project.xml  |  4 ++--
 extide/libs.gradle/external/binaries-list|  2 +-
 7-license.txt => gradle-tooling-api-7.0-license.txt} |  4 ++--
 ...-6.7-notice.txt => gradle-tooling-api-7.0-notice.txt} |  2 +-
 extide/libs.gradle/manifest.mf   |  5 ++---
 extide/libs.gradle/nbproject/project.properties  |  2 +-
 extide/libs.gradle/nbproject/project.xml |  2 +-
 java/gradle.java/apichanges.xml  | 15 +++
 java/gradle.java/manifest.mf |  2 +-
 .../modules/gradle/java/api/GradleJavaSourceSet.java | 16 
 java/gradle.test/nbproject/project.xml   |  4 ++--
 11 files changed, 44 insertions(+), 14 deletions(-)
 rename extide/libs.gradle/external/{gradle-tooling-api-6.7-license.txt => 
gradle-tooling-api-7.0-license.txt} (99%)
 rename extide/libs.gradle/external/{gradle-tooling-api-6.7-notice.txt => 
gradle-tooling-api-7.0-notice.txt} (86%)

-
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 (d100687 -> cca230b)

2021-04-14 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from d100687  Test Explorer fixes. (#2878)
 add cca230b  [NETBEANS-5522] Minimal support for Gradle 7.0

No new revisions were added by this update.

Summary of changes:
 .../org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.groovy | 6 --
 .../modules/gradle/api/execute/GradleDistributionManager.java   | 1 +
 2 files changed, 5 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 (3ea8571 -> 7d9651d)

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

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


from 3ea8571  Merge pull request #2826 from 
lbruun/NETBEANS-5478-DownloadBinaries-improvement
 new ae4124d  Initial multi model fetcher for Gradle
 new 49f73e1  Split up GradleProjectCache for better maintainability
 new 45bf8a1  Started to split the Disk Cache from Legacy project loader
 new c1733e4  Normalized calls and Trust handling.
 new 568fbd3  A still very raw, but kind of functional implementation
 new 09cd06f  Improved The quality of FALLBACK Gradle projects when project 
structure is available.
 new 6be05d6  Making rebase from master compile agein
 new 403cebe  Simplified Gradle AbstractDiskCache
 new 3e1bcd8  Fixed bugs prevent unittests pass.
 new 14ef75d  Fixed license header on 
netbeans-gradle-tooling/gradle.properties file
 new 7d9651d  Merge pull request #2747 from lkishalmi/NETBEANS-2665

The 5243 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-gradle-tooling/gradle.properties  |  18 ++
 .../netbeans/modules/gradle/api/ModelFetcher.java  | 232 
 .../netbeans/modules/gradle/api/NbProjectInfo.java |   2 +-
 .../gradle/GradleAuxiliaryPropertiesImpl.java  |   4 +-
 .../gradle/GradleProjectErrorNotifications.java|  80 ++
 .../modules/gradle/GradleProjectLoader.java}   |  26 +-
 .../gradle/GradleProjectProblemProvider.java   |   2 +-
 .../modules/gradle/GradleProjectStructure.java}|  27 +-
 .../modules/gradle/NbGradleProjectImpl.java|  68 +++--
 .../org/netbeans/modules/gradle/ReloadAction.java  |   3 +-
 .../modules/gradle/api/GradleBaseProject.java  |  33 ++-
 .../gradle/api/GradleBaseProjectBuilder.java   |   2 +-
 .../modules/gradle/api/GradleProjects.java |   2 +-
 .../modules/gradle/cache/AbstractDiskCache.java| 126 +
 .../modules/gradle/cache/ProjectInfoDiskCache.java |  17 +-
 .../modules/gradle/cache/SubProjectDiskCache.java  | 128 +++--
 .../gradle/execute/GradleDaemonExecutor.java   |   2 +-
 .../execute/GradleDistributionProviderImpl.java|  23 +-
 .../gradle/loaders/AbstractProjectLoader.java  | 135 ++
 .../gradle/loaders/BundleProjectLoader.java|  73 +
 .../gradle/loaders/DiskCacheProjectLoader.java |  59 
 .../gradle/loaders/FallbackProjectLoader.java  |  77 ++
 .../gradle/{ => loaders}/GradleArtifactStore.java  |   3 +-
 .../modules/gradle/{ => loaders}/GradleDaemon.java |   2 +-
 .../gradle/loaders/GradleProjectLoaderImpl.java|  91 +++
 .../LegacyProjectLoader.java}  | 296 -
 .../modules/gradle/loaders/ModelCache.java | 103 +++
 .../modules/gradle/loaders/ModelCacheManager.java  |  56 
 .../gradle/loaders/ModelCachingDescriptor.java}|  37 ++-
 .../loaders/NbProjectInfoCachingDescriptor.java|  77 ++
 .../loaders/ProjectStructureCachingDescriptor.java |  74 ++
 .../modules/gradle/nodes/ConfigurationsNode.java   |   2 +-
 .../modules/gradle/options/Bundle.properties   |   2 +
 .../gradle/options/GradleExperimentalSettings.java |   9 +-
 .../modules/gradle/options/SettingsPanel.form  |  15 +-
 .../modules/gradle/options/SettingsPanel.java  |  15 +-
 .../queries/ProjectContainerProviderImpl.java  |   1 -
 .../netbeans/modules/gradle/spi/GradleFiles.java   |   4 +
 .../gradle/spi/newproject/TemplateOperation.java   |   7 +-
 .../gradle/AbstractGradleProjectTestCase.java  |   3 +-
 40 files changed, 1480 insertions(+), 456 deletions(-)
 create mode 100644 extide/gradle/netbeans-gradle-tooling/gradle.properties
 create mode 100644 
extide/gradle/netbeans-gradle-tooling/src/main/groovy/org/netbeans/modules/gradle/api/ModelFetcher.java
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/GradleProjectErrorNotifications.java
 copy 
extide/gradle/{netbeans-gradle-tooling/src/main/groovy/org/netbeans/modules/gradle/api/NbProjectInfo.java
 => src/org/netbeans/modules/gradle/GradleProjectLoader.java} (58%)
 copy 
extide/gradle/{netbeans-gradle-tooling/src/main/groovy/org/netbeans/modules/gradle/api/NbProjectInfo.java
 => src/org/netbeans/modules/gradle/GradleProjectStructure.java} (59%)
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/loaders/AbstractProjectLoader.java
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/loaders/BundleProjectLoader.java
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/loaders/DiskCacheProjectLoader.java
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/loaders/FallbackProjectLoader.ja

[netbeans] branch master updated (f5dfe1e -> 77da129)

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

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


from f5dfe1e  [NETBEANS-5499] Felix removed in favour of Netbinox, fixes 
URLStreamHandlerFactory. add-opens added for jdk.compiler. (#2844)
 add 77da129  [NETBEANS-5524] Check for priming action before use.

No new revisions were added by this update.

Summary of changes:
 .../src/org/netbeans/modules/project/ui/OpenProjectList.java  | 4 +++-
 .../org/netbeans/modules/project/ui/ProjectChooserAccessory.java  | 8 +++-
 2 files changed, 10 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 (8328d7c -> e3c016c)

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

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


from 8328d7c  [NETBEANS-5008] : Support for finalization of 
pattern-matching-instance-of feature (#2804)
 add e3c016c  Trust checkbox changed to tri-option combobox to indicate 
temporal trust. (#2768)

No new revisions were added by this update.

Summary of changes:
 .../org/netbeans/modules/gradle/ProjectTrust.java  |  6 +-
 .../modules/gradle/customizer/Bundle.properties|  5 +-
 .../gradle/customizer/GradleExecutionPanel.form| 40 +++
 .../gradle/customizer/GradleExecutionPanel.java| 77 ++
 4 files changed, 97 insertions(+), 31 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 (4b25610 -> 9ff122d)

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

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


from 4b25610  Merge pull request #2829 from pepness/javadoc-16
 add 9ff122d  Update .gitattributes - support for shell scripts

No new revisions were added by this update.

Summary of changes:
 .gitattributes | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

-
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: [NETBEANS-5484] Clear NB Non-Project cache when we have more info from Gradle

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

lkishalmi 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 190e5c4  [NETBEANS-5484] Clear NB Non-Project cache when we have more 
info from Gradle
190e5c4 is described below

commit 190e5c4e4315595794ca7b78af5a1318d05c290c
Author: Laszlo Kishalmi 
AuthorDate: Sun Mar 28 19:50:09 2021 -0700

[NETBEANS-5484] Clear NB Non-Project cache when we have more info from 
Gradle
---
 extide/gradle/src/org/netbeans/modules/gradle/GradleProjectCache.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/GradleProjectCache.java 
b/extide/gradle/src/org/netbeans/modules/gradle/GradleProjectCache.java
index a64ba17..86d9b21 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/GradleProjectCache.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/GradleProjectCache.java
@@ -63,6 +63,7 @@ import org.netbeans.modules.gradle.api.NbGradleProject;
 import org.netbeans.modules.gradle.api.execute.GradleCommandLine;
 import java.util.WeakHashMap;
 import javax.swing.JLabel;
+import org.netbeans.api.project.ProjectManager;
 import org.netbeans.modules.gradle.cache.AbstractDiskCache.CacheEntry;
 import 
org.netbeans.modules.gradle.cache.ProjectInfoDiskCache.QualifiedProjectInfo;
 import org.netbeans.modules.gradle.api.execute.RunUtils;
@@ -412,6 +413,7 @@ public final class GradleProjectCache {
 if (baseProject.isRoot()) {
 SubProjectDiskCache spCache = 
SubProjectDiskCache.get(baseProject.getRootDir());
 spCache.storeData(new 
SubProjectDiskCache.SubProjectInfo(baseProject));
+ProjectManager.getDefault().clearNonProjectCache();
 }
 }
 }

-
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 (9147055 -> 25d228f)

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

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


from 9147055  Merge pull request #2833 from 
JaroslavTulach/jtulach/Talk2CompilerAvoidNPE
 add 25d228f  [NETBEANS-5484] Handle NPE when the project Gradle project 
discovery fails for some reason.

No new revisions were added by this update.

Summary of changes:
 .../org/netbeans/modules/gradle/nodes/BuildScriptsNode.java| 10 +-
 .../modules/gradle/queries/ProjectContainerProviderImpl.java   | 10 +-
 2 files changed, 18 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 (d81e530 -> 29dcfe0)

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

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


from d81e530  Fix userdir and cachedir location for netbeans-dev Snap
 add 29dcfe0  [NETBEANS-5141] Support Gradle Source Groups from Alien 
Projects

No new revisions were added by this update.

Summary of changes:
 .../gradle/java/classpath/GradleSourcesImpl.java   |  3 --
 .../gradle/java/nodes/SourcesNodeFactory.java  | 52 +++---
 2 files changed, 35 insertions(+), 20 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: Fix userdir and cachedir location for netbeans-dev Snap

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

lkishalmi 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 d81e530  Fix userdir and cachedir location for netbeans-dev Snap
d81e530 is described below

commit d81e53090fbde10d90b8e813691168921a1fd755
Author: Laszlo Kishalmi 
AuthorDate: Fri Mar 19 19:55:51 2021 -0700

Fix userdir and cachedir location for netbeans-dev Snap
---
 nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml 
b/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml
index 599d554..51aad31 100644
--- a/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml
+++ b/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml
@@ -63,9 +63,12 @@ parts:
 ant -quiet -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false -Dbuildnumber=$(date +%Y%m%d) 
-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 mv nbbuild/netbeans $SNAPCRAFT_PART_INSTALL/netbeans
 # Make the default cache and data directory relative to Snap user 
directory
-sed -i 's/${HOME}\/.netbeans\/dev/${SNAP_USER_DATA}\/data/' 
$SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
-sed -i 's/${HOME}\/.cache\/netbeans\/dev/${SNAP_USER_DATA}\/cache/' 
$SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
+sed -i 's/${HOME}\/.netbeans/${SNAP_USER_DATA}\/data/' 
$SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
+sed -i 's/${HOME}\/.cache\/netbeans/${SNAP_USER_DATA}\/cache/' 
$SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
+sed -i 's/"${DEFAULT_USERDIR_ROOT}\/.*"/"${DEFAULT_USERDIR_ROOT}"/g' 
$SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
+sed -i 's/"${DEFAULT_CACHEDIR_ROOT}\/.*"/"${DEFAULT_CACHEDIR_ROOT}"/g' 
$SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
 sed -i 
's/-J-Dapple.laf.useScreenMenuBar=true/-J-Dplugin.manager.install.global=false/'
 $SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
+chmod a+r $SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
 stage:
 - $netbeans
 

-
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 (2227157 -> d436e35)

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

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


from 2227157  Merge pull request #2790 from premek/patch-1
 add d436e35  Use GitHub to get netbeansrelease.json at Snap builds

No new revisions were added by this update.

Summary of changes:
 nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml | 2 +-
 nbbuild/packaging/netbeans_snap/snap/snapcraft.yaml | 2 +-
 2 files 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: Use Java 11 to Build NetBeans dev Snap

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

lkishalmi 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 d1e363b  Use Java 11 to Build NetBeans dev Snap
d1e363b is described below

commit d1e363b6655428e0119b15bbdc46cc95285d3209
Author: Laszlo Kishalmi 
AuthorDate: Thu Mar 4 09:22:53 2021 -0800

Use Java 11 to Build NetBeans dev Snap
---
 nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml 
b/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml
index 0e0b63a..090703a 100644
--- a/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml
+++ b/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml
@@ -53,18 +53,18 @@ parts:
 build-attributes: [ no-patchelf ]
 build-packages:
   - unzip
-  - openjdk-8-jdk-headless
+  - openjdk-11-jdk-headless
 plugin: ant
 source: ../../../
 filesets:
 netbeans: [ netbeans/*, -netbeans/*.built ]
 override-build: |
-export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
+export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
 ant -quiet -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false -Dbuildnumber=$(date +%Y%m%d)
 mv nbbuild/netbeans $SNAPCRAFT_PART_INSTALL/netbeans
 # Make the default cache and data directory relative to Snap user 
directory
-sed -i 's/${HOME}\/.netbeans/${SNAP_USER_COMMON}\/data/' 
$SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
-sed -i 's/${HOME}\/.cache\/netbeans/${SNAP_USER_COMMON}\/cache/' 
$SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
+sed -i 's/${HOME}\/.netbeans\/dev/${SNAP_USER_DATA}\/data/' 
$SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
+sed -i 's/${HOME}\/.cache\/netbeans\/dev/${SNAP_USER_DATA}\/cache/' 
$SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
 sed -i 
's/-J-Dapple.laf.useScreenMenuBar=true/-J-Dplugin.manager.install.global=false/'
 $SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
 stage:
 - $netbeans


-
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: Delete unused imports and constant in UIHandler

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

lkishalmi 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 707d0c5  Delete unused imports and constant in UIHandler
707d0c5 is described below

commit 707d0c598fbd9cb9dffef28866e19736f2fd8d5b
Author: Tomas Prochazka 
AuthorDate: Sat Feb 6 19:35:53 2021 +0100

Delete unused imports and constant in UIHandler
---
 platform/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java | 4 
 1 file changed, 4 deletions(-)

diff --git 
a/platform/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java 
b/platform/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java
index dd00380..e23fd81 100644
--- a/platform/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java
+++ b/platform/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java
@@ -23,8 +23,6 @@ import java.awt.Window;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import java.beans.PropertyChangeSupport;
-import java.net.MalformedURLException;
-import java.net.URL;
 import java.util.List;
 import java.util.concurrent.Callable;
 import java.util.concurrent.atomic.AtomicBoolean;
@@ -39,7 +37,6 @@ import org.netbeans.modules.uihandler.api.Controller;
 import org.openide.DialogDescriptor;
 import org.openide.DialogDisplayer;
 import org.openide.NotifyDescriptor;
-import org.openide.awt.HtmlBrowser;
 import org.openide.awt.Mnemonics;
 import org.openide.util.NbBundle;
 import org.openide.util.RequestProcessor;
@@ -65,7 +62,6 @@ implements ActionListener, Runnable, Callable {
 private final SlownessReporter reporter;
 
 private final AtomicBoolean someRecordsScheduled = new 
AtomicBoolean(false);
-private static final String ISSUE_REPORTER_LINK = 
"https://issues.apache.org/jira/projects/NETBEANS;; //NOI18N
 
 private static boolean exceptionHandler;
 public static void registerExceptionHandler(boolean enable) {


-
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: [NETBEANS-5318] Confirmed projects are trusted in single IDE session.

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

lkishalmi 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 754b2a0  [NETBEANS-5318] Confirmed projects are trusted in single IDE 
session.
754b2a0 is described below

commit 754b2a0ed97e27163ab04036bfa39741b74a9bd3
Author: Svata Dedic 
AuthorDate: Mon Feb 15 16:28:35 2021 +0100

[NETBEANS-5318] Confirmed projects are trusted in single IDE session.
---
 .../org/netbeans/modules/gradle/ProjectTrust.java  | 58 +++---
 .../modules/gradle/api/execute/RunUtils.java   |  5 +-
 2 files changed, 53 insertions(+), 10 deletions(-)

diff --git a/extide/gradle/src/org/netbeans/modules/gradle/ProjectTrust.java 
b/extide/gradle/src/org/netbeans/modules/gradle/ProjectTrust.java
index adec605..114bfe7 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/ProjectTrust.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/ProjectTrust.java
@@ -26,8 +26,10 @@ import java.security.InvalidKeyException;
 import java.security.Key;
 import java.security.NoSuchAlgorithmException;
 import java.util.Collections;
+import java.util.HashSet;
 import java.util.List;
 import java.util.Random;
+import java.util.Set;
 import java.util.prefs.Preferences;
 import javax.crypto.Mac;
 import javax.crypto.spec.SecretKeySpec;
@@ -53,6 +55,11 @@ public class ProjectTrust {
 private final Key key;
 final Preferences projectTrust;
 final byte[] salt;
+
+/**
+ * Projects that are trusted just "transiently", for a single IDE session.
+ */
+private final Set temporaryTrustedIds = new HashSet<>();
 
 ProjectTrust(Preferences prefs) {
 byte[] buf = prefs.getByteArray(KEY_SALT, null);
@@ -65,7 +72,7 @@ public class ProjectTrust {
 projectTrust = prefs.node(NODE_PROJECT);
 key = new SecretKeySpec(salt, HMAC_SHA256);
 }
-
+
 /**
  * Returns true if the specified project is trusted.
  *
@@ -73,6 +80,23 @@ public class ProjectTrust {
  * @return true if the given project is trusted.
  */
 public boolean isTrusted(Project project) {
+synchronized (this) {
+if (temporaryTrustedIds.contains(getPathId(project))) {
+return true;
+}
+}
+return isTrustedPermanetly(project);
+}
+
+/**
+ * Returns true if the specified project is trusted permanently.
+ * You should be probably using {@link #isTrusted} to avoid duplicate 
questions
+ * during one IDE run.
+ *
+ * @param project of the trust check.
+ * @return true if the given project is trusted.
+ */
+public boolean isTrustedPermanetly(Project project) {
 String pathId = getPathId(project);
 String projectId = projectTrust.get(pathId, null);
 if (projectId == null) {
@@ -88,14 +112,19 @@ public class ProjectTrust {
 }
 return ret;
 }
-
+
 /**
- * Marks the given project trusted, if it was not trusted before.
+ * Marks the given project trusted, if it was not trusted before. If 
{@code permanently}
+ * is true, the decision will be recorded for further IDE runs.
+ * 
  * @param project the project to trust.
  */
-public void trustProject(Project project) {
-if (!isTrusted(project)) {
-String pathId = getPathId(project);
+public void trustProject(Project project, boolean permanently) {
+String pathId = getPathId(project);
+synchronized (this) {
+temporaryTrustedIds.add(pathId);
+}
+if (permanently && !isTrustedPermanetly(project)) {
 Path trustFile = getProjectTrustFile(project);
 byte[] rnd = new byte[16];
 new Random().nextBytes(rnd);
@@ -109,12 +138,27 @@ public class ProjectTrust {
 }
 
 /**
- * Marks the given project not trusted.
+ * Marks the given project trusted, if it was not trusted before. The 
decision
+ * will be recorded persistently.
+ * 
+ * @param project the project to trust.
+ */
+public void trustProject(Project project) {
+trustProject(project, true);
+}
+
+/**
+ * Marks the given project not trusted. The decision will be deleted also
+ * from the persistent storage and from the temporarily trusted projects.
+ * 
  * @param project the project to remove trust from.
  */
 public void distrustProject(Project project) {
 String pathId = getPathId(project);
 projectTrust.remove(pathId);
+synchronized (this) {
+temporaryTrustedIds.remove(pathId);
+}
 Path trustFile = getProjectTrustFile(project);
 if (trustFile != null) {
 try {
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/api/execute/RunUtils.java 
b/extide

[netbeans] branch master updated (3875441 -> bdc741c)

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

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


from 3875441  docs (DialogDisplayer notifyLater) small typo
 add bdc741c  [NETBEANS-5353] Use cleanTest instead of rerun-tasks to force 
test to run.

No new revisions were added by this update.

Summary of changes:
 .../src/org/netbeans/modules/gradle/java/action-mapping.xml   | 8 
 1 file changed, 4 insertions(+), 4 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



svn commit: r46087 - /dev/netbeans/netbeans/12.0-u2/ /release/netbeans/netbeans/12.0-u2/

2021-02-14 Thread lkishalmi
Author: lkishalmi
Date: Sun Feb 14 17:59:55 2021
New Revision: 46087

Log:
Release Apache NetBeans 12.0-u2

Added:
release/netbeans/netbeans/12.0-u2/
  - copied from r46086, dev/netbeans/netbeans/12.0-u2/
Removed:
dev/netbeans/netbeans/12.0-u2/


-
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 (b87910d -> 3875441)

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

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


from b87910d  Merge pull request #2733 from ramiswailem/patch-2
 add 3875441  docs (DialogDisplayer notifyLater) small typo

No new revisions were added by this update.

Summary of changes:
 platform/openide.dialogs/src/org/openide/DialogDisplayer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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: r45950 [2/3] - in /dev/netbeans/netbeans/12.0-u2: ./ nbms/ nbms/groovy/ nbms/ide/ nbms/platform/

2021-02-09 Thread lkishalmi
Added: dev/netbeans/netbeans/12.0-u2/nbms/updates.xml
==
--- dev/netbeans/netbeans/12.0-u2/nbms/updates.xml (added)
+++ dev/netbeans/netbeans/12.0-u2/nbms/updates.xml Wed Feb 10 05:03:41 2021
@@ -0,0 +1,5209 @@
+
+
+
+
+http://www.netbeans.org/dtds/autoupdate-catalog-2_8.dtd;>
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="enterprise">
+
+
+
+
+
+http://www.netbeans.org/; 
license="D70E3D18" moduleauthor="" needsrestart="false" 
releasedate="2020/05/29" targetcluster="java">
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="java">
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="java">
+
+
+
+
+
+http://www.netbeans.org/; license="EC44FCE6" moduleauthor="" 
needsrestart="false" releasedate="2020/05/29" targetcluster="platform">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="enterprise">
+
+
+
+
+
+
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="enterprise">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="platform">
+
+
+
+
+
+
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" moduleauthor="" 
needsrestart="false" releasedate="2020/05/29" targetcluster="ide">
+
+
+
+
+
+
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="ide">
+
+
+
+
+
+http://www.netbeans.org/; 
license="D70E3D18" moduleauthor="" needsrestart="false" 
releasedate="2020/05/29" targetcluster="ide">
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="enterprise">
+
+
+
+
+
+http://www.netbeans.org/; license="D17F98D2" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="java">
+
+
+
+
+
+
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="groovy">
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" moduleauthor="" 
needsrestart="false" releasedate="2020/05/29" targetcluster="java">
+
+
+
+
+
+
+
+
+
+
+
+http://www.netbeans.org/; 
license="D70E3D18" moduleauthor="" needsrestart="false" 
releasedate="2020/05/29" targetcluster="java">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+http://www.netbeans.org/; 
license="D70E3D18" moduleauthor="" needsrestart="false" 
releasedate="2020/05/29" targetcluster="enterprise">
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="ide">
+
+
+
+
+
+http://www.netbeans.org/; 
license="D70E3D18" moduleauthor="" needsrestart="false" 
releasedate="2020/05/29" targetcluster="ide">
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="ide">
+
+
+
+
+
+http://www.netbeans.org/; 
license="D70E3D18" moduleauthor="" needsrestart="false" 
releasedate="2020/05/29" targetcluster="ide">
+
+
+
+
+
+https://www.apache.org/dyn/closer.lua?action=downloadfilename=netbeans/netbeans/12.0-u2/nbms/ide/org-netbeans-modules-editor-search.nbm;
 downloadsize="132383" homepage="http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2021/02/08" 
targetcluster="ide">
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="ide">
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="ide">
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="enterprise">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" moduleauthor="" 
needsrestart="false" releasedate="2020/05/29" targetcluster="enterprise">
+
+
+
+
+
+
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 
moduleauthor="" needsrestart="false" releasedate="2020/05/29" 
targetcluster="webcommon">
+
+
+
+
+
+http://www.netbeans.org/; license="D70E3D18" 

svn commit: r45950 [3/3] - in /dev/netbeans/netbeans/12.0-u2: ./ nbms/ nbms/groovy/ nbms/ide/ nbms/platform/

2021-02-09 Thread lkishalmi
Added: dev/netbeans/netbeans/12.0-u2/nbms/updates.xml.asc
==
--- dev/netbeans/netbeans/12.0-u2/nbms/updates.xml.asc (added)
+++ dev/netbeans/netbeans/12.0-u2/nbms/updates.xml.asc Wed Feb 10 05:03:41 2021
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEecjwKnJunvU2RtcSsr+BT6FFyy0FAmAjaCIACgkQsr+BT6FF
+yy1nHA/+KH9uRkbBVX7v4PI/kOtLziYu/OG88lMRkDvK0QfUQtlT+itWLYEzGf58
+1KXHrKNCGoAUmsmQ3Ey0o3D9nPc+B1UyHacjGHRfYPHC7VHICu+2y5EGt4Hq7T2D
+rqruPslAvWzwmSkAIKeZ4HXkyOK1IgXeGbpwA/CgMdZcy1d3cdW1BL6Y+eA6GnJQ
+fY9pZtUrZRHk5+2mLL8tUfMEzXYqm6gt6qzPpeqlC6kNq7/U+aE5UGLhjyIaqbtj
+f6+qZ35sa5ACeFAIrlGoMyPXaU2GYhn6p2W/qBOEHXtJgxLnxY/QCYMbUzZ/4Jkt
+MpW5eAIQrSGn0Drx8pURndXFEqQzRGWj2y2Ww8q2BSe0a5/smlsaN9I+tqapo4Tr
+NhMcfGr00uaj1SeSoyV19JMk9H4dk1pz2zQQ4gFoeez8hoA1TcdlzX+80WfnFWhk
+9yAjifNfmk95aLVw4dsKwFcvAj5qg3rZ2NVEEbSIfrU68pvsniX0d/OatrD+06Xx
+nH+EcfgMjNhaAHrRdERSw4u1ruaIPJOf1z1/J49jI974zxsxLhakOK09gFazVPJL
+ePRVTAzV3OXQY4FN8k/wnziABO6nBd22xzBE7tJV0BBefYlzCje4k7iLZcDlJJGS
+cx0BzFL2bt7eb0+Cgg2L4vVBTba5X3PNlj9yb6Wz2MnXZhK26SI=
+=MVj6
+-END PGP SIGNATURE-

Added: dev/netbeans/netbeans/12.0-u2/nbms/updates.xml.gz
==
Binary file - no diff available.

Propchange: dev/netbeans/netbeans/12.0-u2/nbms/updates.xml.gz
--
svn:mime-type = application/octet-stream

Added: dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip
==
Binary file - no diff available.

Propchange: dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip
--
svn:mime-type = application/octet-stream

Added: dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip.asc
==
--- dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip.asc (added)
+++ dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip.asc Wed Feb 10 
05:03:41 2021
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEecjwKnJunvU2RtcSsr+BT6FFyy0FAmAjZ/0ACgkQsr+BT6FF
+yy3Spg/8C8U9t9GUA5k935wtR5VT9O4Z7EeRnGat4ehhQ4EFm7LTcSqjASVpdSlh
+vq3og1sLHi5LNuPN5pf4aatrS0OVnc/53M9bgEYD2nk32q3n08s0PRy5e9YItdJQ
+IYPE4+XHXYTA6krTRzvS/IN3RBJMZEr/xnepUIe+7ALngNfZl2gDz/HqY2lu7lTv
+GyUsleBjpQJHT+UCwVCIv/ttpj0VLMoAftBXmSRrQtRX2mPgF70W4io1dqKKLnJv
+HNWtbw0OJKq02PlEqJWxqSbVBNPGFXzO72q1rQj/PKr8ex4SjMClNGcKt/05NdKV
+w+k5PoQUsVsichS6vpfNYCMwa6t9P4AnpGXxwX2HmZqmYKPhEyUrG6AdLIPU2QzT
+VhSma7BQV88duqe6gg3VYU/PAeSQhn0ovh4Qod4MVjzev5uONx53DduiuunmvNyO
+amzbOtPn//Sndx74GPzidsCv8NgXQSjaoPPgHCaqjZKWHSVLI8ZjFxrdhlzB9bMh
+xyRKfOHF85qEvkUbATRIZ9Am4XyxNxf90b/LFreT0HuNLS/dr+YOLm7+nZqzs0zf
+ageZ2Qck81xeysrb56LR3ojIZ8r284DakCMBO4NvDfnTZ6Y4nlue/TlX6iuLvp2i
+4HVB7eF86ZQMSsV/yO9vwcySGXjCRajv+Cl11AmA4HPv0fwiRzs=
+=8jdh
+-END PGP SIGNATURE-

Added: dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip.sha512
==
--- dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip.sha512 (added)
+++ dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip.sha512 Wed Feb 10 
05:03:41 2021
@@ -0,0 +1 @@
+72783736d5163c07d5b2ee1bb51816294263eef863efad6b6ddb83342c45f267d96682825c072c68dc42571b6e20d56b45729c8e447708fcc04948926bf5c775
  ./netbeans-12.0-u2-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



svn commit: r45950 [1/3] - in /dev/netbeans/netbeans/12.0-u2: ./ nbms/ nbms/groovy/ nbms/ide/ nbms/platform/

2021-02-09 Thread lkishalmi
Author: lkishalmi
Date: Wed Feb 10 05:03:41 2021
New Revision: 45950

Log:
Prepare for Apache NetBeans 12.0-u2 Release

Added:
dev/netbeans/netbeans/12.0-u2/
dev/netbeans/netbeans/12.0-u2/nbms/
dev/netbeans/netbeans/12.0-u2/nbms/groovy/
dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm   
(with props)

dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm.asc

dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm.sha512
dev/netbeans/netbeans/12.0-u2/nbms/ide/

dev/netbeans/netbeans/12.0-u2/nbms/ide/org-netbeans-modules-editor-search.nbm   
(with props)

dev/netbeans/netbeans/12.0-u2/nbms/ide/org-netbeans-modules-editor-search.nbm.asc

dev/netbeans/netbeans/12.0-u2/nbms/ide/org-netbeans-modules-editor-search.nbm.sha512
dev/netbeans/netbeans/12.0-u2/nbms/platform/
dev/netbeans/netbeans/12.0-u2/nbms/platform/org-netbeans-core-network.nbm   
(with props)

dev/netbeans/netbeans/12.0-u2/nbms/platform/org-netbeans-core-network.nbm.asc

dev/netbeans/netbeans/12.0-u2/nbms/platform/org-netbeans-core-network.nbm.sha512

dev/netbeans/netbeans/12.0-u2/nbms/platform/org-netbeans-swing-laf-flatlaf.nbm  
 (with props)

dev/netbeans/netbeans/12.0-u2/nbms/platform/org-netbeans-swing-laf-flatlaf.nbm.asc

dev/netbeans/netbeans/12.0-u2/nbms/platform/org-netbeans-swing-laf-flatlaf.nbm.sha512

dev/netbeans/netbeans/12.0-u2/nbms/platform/org-openide-filesystems-compat8.nbm 
  (with props)

dev/netbeans/netbeans/12.0-u2/nbms/platform/org-openide-filesystems-compat8.nbm.asc

dev/netbeans/netbeans/12.0-u2/nbms/platform/org-openide-filesystems-compat8.nbm.sha512
dev/netbeans/netbeans/12.0-u2/nbms/updates.xml
dev/netbeans/netbeans/12.0-u2/nbms/updates.xml.asc
dev/netbeans/netbeans/12.0-u2/nbms/updates.xml.gz   (with props)
dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip   (with props)
dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip.asc
dev/netbeans/netbeans/12.0-u2/netbeans-12.0-u2-source.zip.sha512

Added: dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm.asc
==
--- 
dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm.asc 
(added)
+++ 
dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm.asc 
Wed Feb 10 05:03:41 2021
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEecjwKnJunvU2RtcSsr+BT6FFyy0FAmAjaA0ACgkQsr+BT6FF
+yy2NNxAAhPJvMbmlJ8Hk9hbyxex+8p7CzLce0vZ9o9RnAbvjbfZqBo6g/H/AIxMU
++Y9vZP8hes6waZ1kTYR3dHlb3lWTyZ7eVulU3WkIq1tTBcZ2gzovjOhltnoC0QiN
++i4YQIC1mcfXioIJX7FQ/J3Dy6PUdNtgDijePUUPvhXssL+78yjOQUlpomaqgHZQ
+7YYzL40L457mh6bmYdkTPS8+TsAx13GGKQ4JFcKkIpcTbn7wiZ7QyGf25Gad08as
+J/PITpnoUSr8Hm5RkWDkGY4YFI0mSKeRfDjh5iUGGGXbU7r5LPvk8SnVuUW/7Yq5
+/9jwFdcwAh9En/EK7SKV+F/4lfaH07kLY/xp2kncOGj6z3bmrMKhRGYCVUsIsnrk
+PIaoMVj1McCNBhLSrmkxHPkYw9pqPCuIWL4Sg1HIXq5bGVKNlKCsFBnMSByvS2RA
+bNScA/pgSsfpqq1NHkjFmZlkddBdnj6krZjvwRqG1TEWDPRVIgU7CcIeVRjZMguc
+E62NTrNtRvVinIg0K/0po+bPXwwtCdpGAvuVxIcokRTwoLLi7zOGXhINQHU58HoC
+hMXLEF24vLzcZJfPad5gqIL6r0eU9JxZFrr/fcIFdD+dbdCHZRG4+03M6JNWmb4H
+MrBMgn5gULc0dA4R20m/MxgP1UgsHbvg6eMTc82D0fEUa9skyIU=
+=q+nA
+-END PGP SIGNATURE-

Added: 
dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm.sha512
==
--- 
dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm.sha512
 (added)
+++ 
dev/netbeans/netbeans/12.0-u2/nbms/groovy/org-netbeans-modules-gradle.nbm.sha512
 Wed Feb 10 05:03:41 2021
@@ -0,0 +1 @@
+46dc5930ed58216793dab1d4354e3dd3a4c2464bd6d211e7997c15ed0a74915de1e4b612aeb347fc3a3030b2c4fac6fb87a5bc1ae88462631eebbc21a2155c47
  ./org-netbeans-modules-gradle.nbm

Added: 
dev/netbeans/netbeans/12.0-u2/nbms/ide/org-netbeans-modules-editor-search.nbm
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans/12.0-u2/nbms/ide/org-netbeans-modules-editor-search.nbm
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans/12.0-u2/nbms/ide/org-netbeans-modules-editor-search.nbm.asc
==
--- 
dev/netbeans/netbeans/12.0-u2/nbms/ide/org-netbeans-modules-editor-search.nbm.asc
 (added)
+++ 
dev/netbeans/netbeans

[netbeans] branch delivery updated (38f7417 -> f6dfdf3)

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

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


from 38f7417  [NETBEANS-5161] Prevent IAE when resolving composite project 
dependencies
 add f6dfdf3  [NETBEANS-419] Fixed grammar in About dialog

No new revisions were added by this update.

Summary of changes:
 platform/o.n.core/src/org/netbeans/core/ui/Bundle.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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: [NETBEANS-5161] Prevent IAE when resolving composite project dependencies

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

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


The following commit(s) were added to refs/heads/delivery by this push:
 new 38f7417  [NETBEANS-5161] Prevent IAE when resolving composite project 
dependencies
38f7417 is described below

commit 38f7417d00cddd197dcd84e81f41edb7e1db6a19
Author: Laszlo Kishalmi 
AuthorDate: Sat Dec 19 21:45:44 2020 -0800

[NETBEANS-5161] Prevent IAE when resolving composite project dependencies
---
 .../modules/gradle/GradleModuleFileCache21.java|  2 +-
 .../modules/gradle/api/GradleBaseProject.java  |  9 ++---
 .../gradle/api/GradleBaseProjectBuilder.java   | 38 ++
 .../modules/gradle/api/GradleConfiguration.java|  6 ++--
 .../modules/gradle/api/GradleDependency.java   | 16 ++---
 5 files changed, 32 insertions(+), 39 deletions(-)

diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/GradleModuleFileCache21.java 
b/extide/gradle/src/org/netbeans/modules/gradle/GradleModuleFileCache21.java
index 86dc596..8ced737 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/GradleModuleFileCache21.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/GradleModuleFileCache21.java
@@ -247,7 +247,7 @@ public final class GradleModuleFileCache21 {
 int firstColon = gav.indexOf(':');
 int lastColon = gav.lastIndexOf(':');
 if (firstColon == -1 || firstColon == lastColon) {
-throw new IllegalArgumentException("Invalig GAV format: " + gav);
+throw new IllegalArgumentException("Invalid GAV format: " + gav); 
//NOI18N
 }
 return new String[] {
 gav.substring(0, firstColon),
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
index 49a4f14..3c2cd03 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProject.java
@@ -32,7 +32,7 @@ import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import org.netbeans.api.project.Project;
-import org.openide.filesystems.FileUtil;
+import org.netbeans.modules.gradle.GradleModuleFileCache21;
 
 /**
  * This object holds the basic information of the Gradle project.
@@ -255,11 +255,8 @@ public final class GradleBaseProject implements 
Serializable, ModuleSearchSuppor
 }
 
 @Override
-public Set findModules(String gav) {
-String parts[] = GradleDependency.gavSplit(gav);
-if (parts.length != 3) {
-throw new IllegalArgumentException("Invalid gav filter: "  + gav);
-}
+public Set findModules(String gav) 
throws IllegalArgumentException {
+String parts[] = GradleModuleFileCache21.gavSplit(gav);
 String groupId = parts[0].isEmpty() ? null : parts[0];
 String artifactId = parts[1].isEmpty() ? null : parts[1];
 String ver = parts[2].isEmpty() ? null : parts[2];
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
index 1519aea..ede038d 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/api/GradleBaseProjectBuilder.java
@@ -196,8 +196,13 @@ class GradleBaseProjectBuilder implements 
ProjectInfoExtractor.Result {
 conf.modules.add(dep);
 } else {
 dep = resolveModuleDependency(gradleUserHome, c);
-components.put(c, dep);
-conf.modules.add(dep);
+if (dep != null) {
+components.put(c, dep);
+conf.modules.add(dep);
+} else {
+   // NETBEANS-5161: This could happen on 
composite projects
+   // TODO: Implement composite project module 
dependency
+}
 }
 }
 }
@@ -259,19 +264,24 @@ class GradleBaseProjectBuilder implements 
ProjectInfoExtractor.Result {
 
 private ModuleDependency resolveModuleDependency(File gradleUserHome, 
String c) {
 GradleModuleFileCache21 moduleCache = 
GradleModuleFileCache21.getGradleFileCache(gradleUserHome.toPath());
-GradleModuleFileCache21.CachedArtifactVersion artVersion = 
moduleCache.resolveModule(c);
-Set binaries = artifactSore.getBinaries(c);
-if (((binaries == null) || binaries.isEmpty()) && 
(artVersion.getBinary() != null)) {
-binaries = 
Collections.singleton(a

[netbeans] branch delivery updated: [NETBEANS-5340] Prevent NPE on TaskNode when opening Gradle Projects

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

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


The following commit(s) were added to refs/heads/delivery by this push:
 new 77a0647  [NETBEANS-5340] Prevent NPE on TaskNode when opening Gradle 
Projects
77a0647 is described below

commit 77a064767653c23a111f6fd1e2277f1bc00d31ad
Author: Laszlo Kishalmi 
AuthorDate: Sat Feb 6 21:23:23 2021 -0800

[NETBEANS-5340] Prevent NPE on TaskNode when opening Gradle Projects
---
 .../org/netbeans/modules/gradle/execute/navigator/TasksPanel.java  | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/execute/navigator/TasksPanel.java
 
b/extide/gradle/src/org/netbeans/modules/gradle/execute/navigator/TasksPanel.java
index 39bb2ad..b2fbe31 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/execute/navigator/TasksPanel.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/execute/navigator/TasksPanel.java
@@ -260,6 +260,7 @@ public class TasksPanel extends javax.swing.JPanel 
implements ExplorerManager.Pr
 private final ChangeListener listener;
 
 public FavoritesChildren() {
+assert currentP != null;
 FavoriteTaskManager fvm = getFavoriteTaskManager();
 listener = (e) -> {
 Set favs = fvm.getFavoriteTasks();
@@ -271,7 +272,11 @@ public class TasksPanel extends javax.swing.JPanel 
implements ExplorerManager.Pr
 
 @Override
 protected Node[] createNodes(GradleTask key) {
-return new Node[] {new TaskNode(currentP, key)};
+// NETBEANS-5340 It might happen that the currentP is null, but 
the listener
+// still active on the previous project.
+return currentP != null ? 
+new Node[] {new TaskNode(currentP, key)} :
+new Node[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] annotated tag 12.0-u2 updated (ba34c2d -> 57ea6e0)

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

lkishalmi pushed a change to annotated tag 12.0-u2
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


*** WARNING: tag 12.0-u2 was modified! ***

from ba34c2d  (commit)
  to 57ea6e0  (tag)
 tagging ba34c2dabd3091a6ee93cfde08a653816a7e19ea (commit)
 replaces 12.0-u1
  by Laszlo Kishalmi
  on Mon Feb 8 09:35:22 2021 -0800

- Log -
Apache NetBeans 12.0-u2
---


No new revisions were added by this update.

Summary of changes:


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

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



[netbeans-jenkins-lib] branch master updated: Hopefully final fix for the 12.0-u2 NOTICE file.

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 08f6a41  Hopefully final fix for the 12.0-u2 NOTICE file.
08f6a41 is described below

commit 08f6a41b9a005b476a4cc8f5afc1ae54c6be6d2e
Author: Laszlo Kishalmi 
AuthorDate: Sun Feb 7 23:21:32 2021 -0800

Hopefully final fix for the 12.0-u2 NOTICE file.
---
 meta/netbeansrelease.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index 710b699..a05f0bd 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -246,7 +246,7 @@
 "version": "u1",
 "position": "7"
 },
-"39cad4a949ae03615cea1ba761afceb89978d4c9": {
+"ba34c2dabd3091a6ee93cfde08a653816a7e19ea": {
 "version": "u2",
 "position": "8"
 }


-
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 release120 updated (39cad4a -> ba34c2d)

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

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


omit 39cad4a  Update the year in the NOTICE file to 2021
 new ba34c2d  Update the year in the NOTICE file to 2021

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (39cad4a)
\
 N -- N -- N   refs/heads/release120 (ba34c2d)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

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


Summary of changes:
 nbbuild/notice-stub.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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: Update the year in the NOTICE file to 2021

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

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

commit ba34c2dabd3091a6ee93cfde08a653816a7e19ea
Author: Laszlo Kishalmi 
AuthorDate: Sun Feb 7 18:56:35 2021 -0800

Update the year in the NOTICE file to 2021
---
 NOTICE  | 2 +-
 nbbuild/notice-stub.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/NOTICE b/NOTICE
index 8a60ef5..e09832b 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache NetBeans
-Copyright 2017-2020 The Apache Software Foundation
+Copyright 2017-2021 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/nbbuild/notice-stub.txt b/nbbuild/notice-stub.txt
index e6c1723..e0ce5df 100644
--- a/nbbuild/notice-stub.txt
+++ b/nbbuild/notice-stub.txt
@@ -1,5 +1,5 @@
 Apache NetBeans
-Copyright 2017-2020 The Apache Software Foundation
+Copyright 2017-2021 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).


-
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-jenkins-lib] branch master updated: Bumped 12.0-u2 with NOTICE file update.

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 4f9fb40  Bumped 12.0-u2 with NOTICE file update.
4f9fb40 is described below

commit 4f9fb407534db6184304becc85436365a7a424f1
Author: Laszlo Kishalmi 
AuthorDate: Sun Feb 7 20:17:10 2021 -0800

Bumped 12.0-u2 with NOTICE file update.
---
 meta/netbeansrelease.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index 1205681..710b699 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -246,7 +246,7 @@
 "version": "u1",
 "position": "7"
 },
-"0d5c3248a2ecb678f9d409749b90f5bc87fe530f": {
+"39cad4a949ae03615cea1ba761afceb89978d4c9": {
 "version": "u2",
 "position": "8"
 }


-
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 release120 updated: Update the year in the NOTICE file to 2021

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

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


The following commit(s) were added to refs/heads/release120 by this push:
 new 39cad4a  Update the year in the NOTICE file to 2021
39cad4a is described below

commit 39cad4a949ae03615cea1ba761afceb89978d4c9
Author: Laszlo Kishalmi 
AuthorDate: Sun Feb 7 18:56:35 2021 -0800

Update the year in the NOTICE file to 2021
---
 NOTICE | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NOTICE b/NOTICE
index 8a60ef5..e09832b 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache NetBeans
-Copyright 2017-2020 The Apache Software Foundation
+Copyright 2017-2021 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).


-
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-jenkins-lib] branch master updated: Update netbeansrelease.json for 12.0-u2

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 0aa8bbd  Update netbeansrelease.json for 12.0-u2
0aa8bbd is described below

commit 0aa8bbd4dbdb354dd128137b56f0a5bdfdeb96fc
Author: Laszlo Kishalmi 
AuthorDate: Sun Feb 7 17:00:15 2021 -0800

Update netbeansrelease.json for 12.0-u2
---
 meta/netbeansrelease.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index b63baa0..1205681 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -246,7 +246,7 @@
 "version": "u1",
 "position": "7"
 },
-"839fcbe8438c1d0dd02a68ae15b5ee722bb7b936": {
+"0d5c3248a2ecb678f9d409749b90f5bc87fe530f": {
 "version": "u2",
 "position": "8"
 }


-
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 release120 updated: [NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle Projects

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

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


The following commit(s) were added to refs/heads/release120 by this push:
 new 0d5c324  [NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle 
Projects
0d5c324 is described below

commit 0d5c3248a2ecb678f9d409749b90f5bc87fe530f
Author: Laszlo Kishalmi 
AuthorDate: Fri Feb 5 05:36:22 2021 -0800

[NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle Projects
---
 groovy/gradle/netbeans-gradle-tooling/build.gradle | 3 +--
 groovy/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle | 2 +-
 .../src/test/data/simple-with-tests/build.gradle   | 2 +-
 .../netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle| 2 +-
 .../org/netbeans/modules/gradle/newproject/multi-root.gradle.template  | 2 +-
 .../netbeans/modules/gradle/newproject/single-build.gradle.template| 2 +-
 6 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/groovy/gradle/netbeans-gradle-tooling/build.gradle 
b/groovy/gradle/netbeans-gradle-tooling/build.gradle
index 2e31708..bdf8de1 100644
--- a/groovy/gradle/netbeans-gradle-tooling/build.gradle
+++ b/groovy/gradle/netbeans-gradle-tooling/build.gradle
@@ -27,8 +27,7 @@ sourceCompatibility = '1.8'
 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
 
 repositories {
-jcenter()
-
+mavenCentral()
 }
 
 dependencies {
diff --git 
a/groovy/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle 
b/groovy/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle
index 1c30cea..50ceec5 100644
--- a/groovy/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle
+++ b/groovy/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle
@@ -22,7 +22,7 @@ subprojects {
 apply plugin: 'jacoco'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 }
diff --git 
a/groovy/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
 
b/groovy/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
index c8533f3..0d32b99 100644
--- 
a/groovy/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
+++ 
b/groovy/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
@@ -28,7 +28,7 @@ import org.gradle.tooling.model.Task
 apply plugin: 'groovy'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 dependencies {
diff --git 
a/groovy/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle 
b/groovy/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle
index 857634f..38c7184 100644
--- 
a/groovy/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle
+++ 
b/groovy/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle
@@ -20,7 +20,7 @@
 apply plugin: 'java'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 dependencies {
diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
 
b/groovy/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
index e834be6..ec5a458 100644
--- 
a/groovy/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
+++ 
b/groovy/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
@@ -9,7 +9,7 @@ allprojects {
 
 
 repositories {
-jcenter()
+mavenCentral()
 }
 }
 
diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
 
b/groovy/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
index e9139ab..bfefcff 100644
--- 
a/groovy/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
+++ 
b/groovy/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
@@ -22,7 +22,7 @@ sourceCompatibility = ${javaVersion}
 targetCompatibility = ${javaVersion}
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 <#if dependencies??>


-
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: [NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle Projects

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

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


The following commit(s) were added to refs/heads/delivery by this push:
 new e59eca1  [NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle 
Projects
e59eca1 is described below

commit e59eca101fc840ef7d3f0c5e57483f75ba5c3736
Author: Laszlo Kishalmi 
AuthorDate: Fri Feb 5 05:36:22 2021 -0800

[NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle Projects
---
 extide/gradle/netbeans-gradle-tooling/build.gradle  | 2 +-
 extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle  | 2 +-
 .../src/test/data/simple-with-tests/build.gradle| 2 +-
 .../netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle | 2 +-
 .../org/netbeans/modules/gradle/newproject/multi-root.gradle.template   | 2 +-
 .../org/netbeans/modules/gradle/newproject/single-build.gradle.template | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/extide/gradle/netbeans-gradle-tooling/build.gradle 
b/extide/gradle/netbeans-gradle-tooling/build.gradle
index a8db3ec..23412e7 100644
--- a/extide/gradle/netbeans-gradle-tooling/build.gradle
+++ b/extide/gradle/netbeans-gradle-tooling/build.gradle
@@ -26,7 +26,7 @@ sourceCompatibility = '1.8'
 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 dependencies {
diff --git 
a/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle 
b/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle
index 1c30cea..50ceec5 100644
--- a/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle
+++ b/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle
@@ -22,7 +22,7 @@ subprojects {
 apply plugin: 'jacoco'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 }
diff --git 
a/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
 
b/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
index 5e41a81..666569d 100644
--- 
a/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
+++ 
b/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
@@ -28,7 +28,7 @@ import org.gradle.tooling.model.Task
 apply plugin: 'groovy'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 dependencies {
diff --git 
a/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle 
b/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle
index 857634f..38c7184 100644
--- 
a/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle
+++ 
b/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle
@@ -20,7 +20,7 @@
 apply plugin: 'java'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 dependencies {
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
 
b/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
index e834be6..ec5a458 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
@@ -9,7 +9,7 @@ allprojects {
 
 
 repositories {
-jcenter()
+mavenCentral()
 }
 }
 
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
 
b/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
index e9139ab..bfefcff 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
@@ -22,7 +22,7 @@ sourceCompatibility = ${javaVersion}
 targetCompatibility = ${javaVersion}
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 <#if dependencies??>


-
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-jenkins-lib] branch master updated: Prepare for NetBeans 12.0-u2

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

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


The following commit(s) were added to refs/heads/master by this push:
 new b3c58af  Prepare for NetBeans 12.0-u2
b3c58af is described below

commit b3c58afe6a75149cf04ddacd111fc1a68c00cd27
Author: Laszlo Kishalmi 
AuthorDate: Tue Jan 19 00:28:53 2021 -0800

Prepare for NetBeans 12.0-u2
---
 meta/netbeansrelease.json | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index 0e635a8..ba11dce 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -211,7 +211,7 @@
 "jdk_apidoc": "https://docs.oracle.com/javase/8/docs/api/;,
 "maven": "maven_3.3.9",
 "versionName": "12.0",
-"mavenversion": "RELEASE120-u1",
+"mavenversion": "RELEASE120-u2",
 "tlp": "true",
 "apidocurl": "https://bits.netbeans.org/12.0/javadoc;,
 "update_url": 
"https://netbeans.apache.org/nb/updates/12.0/updates.xml.gz?{$netbeans.hash.code};,
@@ -245,6 +245,10 @@
 "efd543aaefdb0a9f8f0073896cb12c82fe4ef9c8": {
 "version": "u1",
 "position": "7"
+},
+"839fcbe8438c1d0dd02a68ae15b5ee722bb7b936": {
+"version": "u2",
+"position": "8"
 }
 },
 "releasedate": {


-
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] 02/03: Ensure declared constructors are always processed in the same order

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

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

commit 8a40154bd00cc31d6675556777ad66c772ea520f
Author: Sven Reimers 
AuthorDate: Fri Jan 8 22:56:49 2021 +0100

Ensure declared constructors are always processed in the same order
---
 .../groovy/editor/api/parser/GroovyVirtualSourceProvider.java| 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git 
a/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProvider.java
 
b/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProvider.java
index 3396611..b69bd3f 100644
--- 
a/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProvider.java
+++ 
b/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProvider.java
@@ -28,10 +28,12 @@ import java.io.StringWriter;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collections;
+import java.util.Comparator;
 import java.util.HashSet;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Set;
+import java.util.stream.Collectors;
 import org.codehaus.groovy.ast.ClassHelper;
 import org.codehaus.groovy.ast.ClassNode;
 import org.codehaus.groovy.ast.ConstructorNode;
@@ -476,7 +478,12 @@ public class GroovyVirtualSourceProvider implements 
VirtualSourceProvider {
 ClassNode superType = type.getSuperClass();
 
 boolean hadPrivateConstructor = false;
-for (ConstructorNode c : superType.getDeclaredConstructors()) {
+
+List constructorNodes = superType
+.getDeclaredConstructors().stream()
+
.sorted(Comparator.comparing(ConstructorNode::getTypeDescriptor))
+.collect(Collectors.toList());
+for (ConstructorNode c : constructorNodes) {
 // Only look at things we can actually call
 if (c.isPublic() || c.isProtected()) {
 return c.getParameters();


-
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] 03/03: Add more target platforms for groovy tests

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

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

commit 3d4dbb7f4246b2c17fde5d1332790220675bfb54
Author: Sven Reimers 
AuthorDate: Fri Jan 8 22:57:37 2021 +0100

Add more target platforms for groovy tests
---
 .travis.yml | 40 +++-
 1 file changed, 39 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index f292b98..c57a379 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -735,7 +735,45 @@ matrix:
 - ant $BUILD_OPTS clean
 - ant $BUILD_OPTS build
 - wget 
https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
-- export TEST_JDK=`bash install-jdk.sh --feature 11 --license GPL 
--emit-java-home --silent | tail -1`
+- export TEST_JDK=`bash install-jdk.sh --feature 14 --license GPL 
--emit-java-home --silent | tail -1`
+- export 
OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 $OPTS  -Dtest.nbjdk.home=$TEST_JDK 
-Dtest.run.args=--limit-modules=java.base,java.logging,java.xml,java.prefs,java.desktop,java.management,java.instrument,jdk.zipfs,java.scripting,java.naming
 
-Dtest.bootclasspath.prepend.args=-Dno.netbeans.bootclasspath.prepend.needed=true"

+  script:
+#- ant $TEST_OPTS -f groovy/groovy test
+#- ant $TEST_OPTS -f groovy/groovy.java test
+- ant $TEST_OPTS -f groovy/groovy.editor test
+- ant $TEST_OPTS -f groovy/groovy.gsp test
+#- ant $TEST_OPTS -f groovy/groovy.kit test
+- ant $TEST_OPTS -f groovy/groovy.support test
+
+- name: Test groovy modules on Java 15
+  jdk: openjdk8
+  env:
+- 
BUILD_OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 -quiet -Dcluster.config=groovy -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false 
-Dtest-unit-sys-prop.ignore.random.failures=true"
+- 
TEST_OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 -Dcluster.config=groovy -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false 
-Dtest-unit-sys-prop.ignore.random.failures=true"
+  before_script:
+- ant $BUILD_OPTS clean
+- ant $BUILD_OPTS build
+- wget 
https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
+- export TEST_JDK=`bash install-jdk.sh --feature 15 --license GPL 
--emit-java-home --silent | tail -1`
+- export 
OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 $OPTS  -Dtest.nbjdk.home=$TEST_JDK 
-Dtest.run.args=--limit-modules=java.base,java.logging,java.xml,java.prefs,java.desktop,java.management,java.instrument,jdk.zipfs,java.scripting,java.naming
 
-Dtest.bootclasspath.prepend.args=-Dno.netbeans.bootclasspath.prepend.needed=true"

+  script:
+#- ant $TEST_OPTS -f groovy/groovy test
+#- ant $TEST_OPTS -f groovy/groovy.java test
+- ant $TEST_OPTS -f groovy/groovy.editor test
+- ant $TEST_OPTS -f groovy/groovy.gsp test
+#- ant $TEST_OPTS -f groovy/groovy.kit test
+- ant $TEST_OPTS -f groovy/groovy.support test
+
+- name: Test groovy modules on Java 16
+  jdk: openjdk8
+  env:
+- 
BUILD_OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 -quiet -Dcluster.config=groovy -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false 
-Dtest-unit-sys-prop.ignore.random.failures=true"
+- 
TEST_OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 -Dcluster.config=groovy -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false 
-Dtest-unit-sys-prop.ignore.random.failures=true"
+  before_script:
+- ant $BUILD_OPTS clean
+- ant $BUILD_OPTS build
+- wget 
https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
+- export TEST_JDK=`bash install-jdk.sh --feature 16 --license GPL 
--emit-java-home --silent | tail -1`
 - export 
OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 $OPTS  -Dtest.nbjdk.home=$TEST_JDK 
-Dtest.run.args=--limit-modules=java.base,java.logging,java.xml,java.prefs,java.desktop,java.management,java.instrument,jdk.zipfs,java.scripting,java.naming
 
-Dtest.bootclasspath.prepend.args=-Dno.netbeans.bootclasspath.prepend

[netbeans] branch master updated (131d197 -> 3d4dbb7)

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

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


from 131d197  Merge pull request #2692 from 
junichi11/php80-trailing-comma-in-closure-use-lists
 new 24dbac1  Update used groovy to 2.5.14
 new 8a40154  Ensure declared constructors are always processed in the same 
order
 new 3d4dbb7  Add more target platforms for groovy tests

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:
 .travis.yml| 40 +-
 .../api/parser/GroovyVirtualSourceProvider.java|  9 -
 ...groovy.testCompletionInMethodCall2_1.completion |  1 +
 groovy/libs.groovy/external/binaries-list  |  4 +--
 5.11-license.txt => groovy-2.5.14-license.txt} |  4 +--
 ...-2.5.11-notice.txt => groovy-2.5.14-notice.txt} |  0
 groovy/libs.groovy/nbproject/project.properties|  4 +--
 groovy/libs.groovy/nbproject/project.xml   |  4 +--
 .../netbeans/modules/libs/groovy/groovy-all.xml|  4 +--
 9 files changed, 58 insertions(+), 12 deletions(-)
 rename groovy/libs.groovy/external/{groovy-2.5.11-license.txt => 
groovy-2.5.14-license.txt} (99%)
 rename groovy/libs.groovy/external/{groovy-2.5.11-notice.txt => 
groovy-2.5.14-notice.txt} (100%)


-
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/03: Update used groovy to 2.5.14

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

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

commit 24dbac188a5596cbf310c7835547b707782d3ce2
Author: Sven Reimers 
AuthorDate: Thu Jan 7 00:36:55 2021 +0100

Update used groovy to 2.5.14
---
 ...etionInMethodCall2.groovy.testCompletionInMethodCall2_1.completion | 1 +
 groovy/libs.groovy/external/binaries-list | 4 ++--
 .../external/{groovy-2.5.11-license.txt => groovy-2.5.14-license.txt} | 4 ++--
 .../external/{groovy-2.5.11-notice.txt => groovy-2.5.14-notice.txt}   | 0
 groovy/libs.groovy/nbproject/project.properties   | 4 ++--
 groovy/libs.groovy/nbproject/project.xml  | 4 ++--
 .../libs.groovy/src/org/netbeans/modules/libs/groovy/groovy-all.xml   | 4 ++--
 7 files changed, 11 insertions(+), 10 deletions(-)

diff --git 
a/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionInMethodCall2/CompletionInMethodCall2.groovy.testCompletionInMethodCall2_1.completion
 
b/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionInMethodCall2/CompletionInMethodCall2.groovy.testCompletionInMethodCall2_1.completion
index 9c7a457..e38a02a 100644
--- 
a/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionInMethodCall2/CompletionInMethodCall2.groovy.testCompletionInMethodCall2_1.completion
+++ 
b/groovy/groovy.editor/test/unit/data/testfiles/completion/method/completionInMethodCall2/CompletionInMethodCall2.groovy.testCompletionInMethodCall2_1.completion
@@ -11,6 +11,7 @@ METHOD collect(Collection, Closure)   
Collection
 METHOD compareTo(File) [PUBLIC]   int
 METHOD createNewFile() [PUBLIC]   boolean
 METHOD createTempDir()File
+METHOD createTempDir(String)  File
 METHOD createTempDir(String, String)  File
 METHOD createTempFile(String, String)  [STATIC,   File
 METHOD createTempFile(String, String,  [STATIC,   File
diff --git a/groovy/libs.groovy/external/binaries-list 
b/groovy/libs.groovy/external/binaries-list
index 2fd5d12..d677d59 100644
--- a/groovy/libs.groovy/external/binaries-list
+++ b/groovy/libs.groovy/external/binaries-list
@@ -14,5 +14,5 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-4D8F25C5DA08AF46FB204FD493EC894699A3F4E8 org.codehaus.groovy:groovy:2.5.11
-90B3F8BF9DCFA499271A8B760E71DF7E364659A6 org.codehaus.groovy:groovy-ant:2.5.11
+F0A005FB21E7BD9B7EBF04CD2ECDA0FC8F3BE59D org.codehaus.groovy:groovy:2.5.14
+A230C95333F584BF8FE215C608B04AFB3B11A9F9 org.codehaus.groovy:groovy-ant:2.5.14
diff --git a/groovy/libs.groovy/external/groovy-2.5.11-license.txt 
b/groovy/libs.groovy/external/groovy-2.5.14-license.txt
similarity index 99%
rename from groovy/libs.groovy/external/groovy-2.5.11-license.txt
rename to groovy/libs.groovy/external/groovy-2.5.14-license.txt
index 64a6664..a8742d7 100644
--- a/groovy/libs.groovy/external/groovy-2.5.11-license.txt
+++ b/groovy/libs.groovy/external/groovy-2.5.14-license.txt
@@ -1,6 +1,6 @@
 Name: Groovy
-Version: 2.5.11
-Files: groovy-2.5.11.jar groovy-ant-2.5.11.jar
+Version: 2.5.14
+Files: groovy-2.5.14.jar groovy-ant-2.5.14.jar
 Description: Groovy Language distribution.
 License: Apache-2.0-groovy
 Origin: http://groovy-lang.org/
diff --git a/groovy/libs.groovy/external/groovy-2.5.11-notice.txt 
b/groovy/libs.groovy/external/groovy-2.5.14-notice.txt
similarity index 100%
rename from groovy/libs.groovy/external/groovy-2.5.11-notice.txt
rename to groovy/libs.groovy/external/groovy-2.5.14-notice.txt
diff --git a/groovy/libs.groovy/nbproject/project.properties 
b/groovy/libs.groovy/nbproject/project.properties
index b5c77bb..e4c3909 100644
--- a/groovy/libs.groovy/nbproject/project.properties
+++ b/groovy/libs.groovy/nbproject/project.properties
@@ -24,5 +24,5 @@ javac.compilerargs=-Xlint -Xlint:-serial
 sigtest.gen.fail.on.error=false
 
 #cp.extra=external/groovy-all-2.1.7.jar
-release.external/groovy-2.5.11.jar=modules/ext/groovy.jar
-release.external/groovy-ant-2.5.11.jar=modules/ext/groovy-ant.jar
+release.external/groovy-2.5.14.jar=modules/ext/groovy.jar
+release.external/groovy-ant-2.5.14.jar=modules/ext/groovy-ant.jar
diff --git a/groovy/libs.groovy/nbproject/project.xml 
b/groovy/libs.groovy/nbproject/project.xml
index f925f36..5fc093e 100644
--- a/groovy/libs.groovy/nbproject/project.xml
+++ b/groovy/libs.groovy/nbproject/project.xml
@@ -51,11 +51,11 @@
 
 
 ext/groovy.jar
-external/groovy-2.5.11.jar
+external/groovy-2.5.14.jar
 
 
 
ext/groovy-ant.jar
-external/groovy-ant-2.5.11.jar
+external/groovy-ant-2.5.

[netbeans] branch release120 updated (f3ab92f -> 839fcbe)

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

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


from f3ab92f  [NETBEANS-4617] Flush Gradle Standard output in 200ms if it 
stalled
 add 839fcbe  [NETBEANS-3342] Fix Netbeans Installer on macOS to work with 
Java 8 and 11+ (#2211)

No new revisions were added by this update.

Summary of changes:
 nbbuild/binaries-default-properties.xml| 25 +++
 nbbuild/default-properties.xml |  3 +-
 nbbuild/installer/infra/build/build.sh |  2 +
 nbi/engine/build.xml   | 51 +-
 ...lemenu-external-desktop-classes-8.2-license.txt |  0
 nbi/engine/external/binaries-list  | 17 
 .../system/launchers/impl/CommonLauncher.java  |  7 +++
 .../wizard/containers/InitializeMacJDK8.java   | 49 +
 .../wizard/containers/InitializeMacJDK9.java   | 40 +
 .../wizard/containers/SwingFrameContainer.java | 34 +--
 10 files changed, 210 insertions(+), 18 deletions(-)
 create mode 100644 nbbuild/binaries-default-properties.xml
 copy {platform/applemenu => 
nbi/engine}/external/applemenu-external-desktop-classes-8.2-license.txt (100%)
 create mode 100644 nbi/engine/external/binaries-list
 create mode 100644 
nbi/engine/src/org/netbeans/installer/wizard/containers/InitializeMacJDK8.java
 create mode 100644 
nbi/engine/src/org/netbeans/installer/wizard/containers/InitializeMacJDK9.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 release120 updated: [NETBEANS-4617] Flush Gradle Standard output in 200ms if it stalled

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

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


The following commit(s) were added to refs/heads/release120 by this push:
 new f3ab92f  [NETBEANS-4617] Flush Gradle Standard output in 200ms if it 
stalled
f3ab92f is described below

commit f3ab92f9c1397bda5a878aa0f62beefd2dc43198
Author: Laszlo Kishalmi 
AuthorDate: Thu Jul 23 22:51:55 2020 -0700

[NETBEANS-4617] Flush Gradle Standard output in 200ms if it stalled
---
 .../execute/EscapeProcessingOutputStream.java  |  56 ++---
 .../modules/gradle/execute/EscapeProcessor.java|   2 +-
 .../gradle/execute/GradleColorEscapeProcessor.java | 134 -
 .../gradle/execute/GradlePlainEscapeProcessor.java |   5 +-
 .../execute/EscapeProcessingOutputStreamTest.java  |   2 +-
 5 files changed, 44 insertions(+), 155 deletions(-)

diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/execute/EscapeProcessingOutputStream.java
 
b/groovy/gradle/src/org/netbeans/modules/gradle/execute/EscapeProcessingOutputStream.java
index 6675c8c..b6deb58 100644
--- 
a/groovy/gradle/src/org/netbeans/modules/gradle/execute/EscapeProcessingOutputStream.java
+++ 
b/groovy/gradle/src/org/netbeans/modules/gradle/execute/EscapeProcessingOutputStream.java
@@ -23,7 +23,10 @@ import java.io.IOException;
 import java.io.OutputStream;
 import java.nio.charset.StandardCharsets;
 import java.util.Arrays;
+import java.util.concurrent.ScheduledFuture;
+import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicBoolean;
+import org.openide.util.RequestProcessor;
 
 /**
  *
@@ -31,14 +34,23 @@ import java.util.concurrent.atomic.AtomicBoolean;
  */
 class EscapeProcessingOutputStream extends OutputStream {
 
+private static final RequestProcessor RP = new 
RequestProcessor(EscapeProcessingOutputStream.class);
+
 boolean esc;
 boolean csi;
 final AtomicBoolean closed = new AtomicBoolean();
 final ByteBuffer buffer = new ByteBuffer();
 final EscapeProcessor processor;
+private ScheduledFuture autoFlush;
+private final long autoFlushTimeout;
 
 public EscapeProcessingOutputStream(EscapeProcessor processor) {
+this(processor, 200);
+}
+
+public EscapeProcessingOutputStream(EscapeProcessor processor, long 
autoFlushTimeout) {
 this.processor = processor;
+this.autoFlushTimeout = autoFlushTimeout;
 }
 
 @Override
@@ -47,25 +59,31 @@ class EscapeProcessingOutputStream extends OutputStream {
 if (closed.get()) return;
 if (b == 0x1B) {
 esc = true;   //Entering EscapeProcessingMode
-processBulk();//Process the Buffer collected so far
+processBulk(false);   //Process the Buffer collected so far
 } else if ((b == 0x5B) && esc) {
 csi = true;   //Entering CSI mode we are going to
 esc = false;  //read ANSI CSI commands from now on
 } else {
 esc = false;
-if (csi) {
-if ((b >= 0x40) && (b <= 0x7E)) { //Got a command byte
-processCommand((char) b); //process that.
-csi = false;
+synchronized(buffer) {
+if (csi) {
+if ((b >= 0x40) && (b <= 0x7E)) { //Got a command byte
+processCommand((char) b); //process that.
+csi = false;
+} else {
+buffer.put(b);
+}
 } else {
-buffer.put(b);
-}
-} else {
-if (b == '\n') {
-buffer.put(b);
-processBulk();
-} else if ((b >= 0x20) || (b == 0x09) || (b < 0)) {
-buffer.put(b);
+if (b == '\n') {
+buffer.put(b);
+processBulk(false);
+} else if ((b >= 0x20) || (b == 0x09) || (b < 0)) {
+buffer.put(b);
+if (autoFlush != null) {
+autoFlush.cancel(false);
+}
+autoFlush = RP.schedule(() -> processBulk(true), 
autoFlushTimeout, TimeUnit.MILLISECONDS);
+}
 }
 }
 }
@@ -81,7 +99,7 @@ class EscapeProcessingOutputStream extends OutputStream {
 @Override
 public void flush() throws IOException {
 if (!csi) {
-processBulk();
+processBulk(false);
 }
 }
 
@@ -101,10 +119,12 @@ class EscapeProcessingOutputStream extends OutputStream {
 processor.processCommand(sequence, command, args);
 }
 
- 

[netbeans] branch release120 updated: [NETBEANS-4123] PAC evaluator scripts runs just one at a time.

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

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


The following commit(s) were added to refs/heads/release120 by this push:
 new 58d6772  [NETBEANS-4123] PAC evaluator scripts runs just one at a time.
58d6772 is described below

commit 58d67721f68db3aad7edcffe77062c1e9b3f0e12
Author: Svata Dedic 
AuthorDate: Thu Jul 16 18:33:06 2020 +0200

[NETBEANS-4123] PAC evaluator scripts runs just one at a time.
---
 .../netbeans/core/network/proxy/pac/impl/NbPacScriptEvaluator.java | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/platform/core.network/src/org/netbeans/core/network/proxy/pac/impl/NbPacScriptEvaluator.java
 
b/platform/core.network/src/org/netbeans/core/network/proxy/pac/impl/NbPacScriptEvaluator.java
index 11c97b4..52def8a 100644
--- 
a/platform/core.network/src/org/netbeans/core/network/proxy/pac/impl/NbPacScriptEvaluator.java
+++ 
b/platform/core.network/src/org/netbeans/core/network/proxy/pac/impl/NbPacScriptEvaluator.java
@@ -204,7 +204,7 @@ public class NbPacScriptEvaluator implements 
PacScriptEvaluator {
 resultCache = null;
 }
 }
-
+
 @Override
 public List findProxyForURL(URI uri) throws PacValidationException {
 
@@ -218,7 +218,10 @@ public class NbPacScriptEvaluator implements 
PacScriptEvaluator {
 }
 }
 try {
-Object jsResult = 
scriptEngine.findProxyForURL(PacUtils.toStrippedURLStr(uri), uri.getHost());
+Object jsResult;
+synchronized (scriptEngine) {
+jsResult = 
scriptEngine.findProxyForURL(PacUtils.toStrippedURLStr(uri), uri.getHost());
+}
 jsResultAnalyzed = analyzeResult(uri, jsResult);
 if (canUseURLCaching && (resultCache != null)) {
 resultCache.put(uri, jsResultAnalyzed);   // save the result 
in the cache


-
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 release120 updated: Include both KDE4 and KDE5 proxy settings.

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

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


The following commit(s) were added to refs/heads/release120 by this push:
 new f77f796  Include both KDE4 and KDE5 proxy settings.
f77f796 is described below

commit f77f7961f5584e47e70c7b16d48171dda181984d
Author: Svata Dedic 
AuthorDate: Thu Jul 16 18:34:12 2020 +0200

Include both KDE4 and KDE5 proxy settings.
---
 platform/core.network/manifest.mf  |  2 +-
 .../core/network/proxy/kde/KdeNetworkProxy.java| 70 +++---
 2 files changed, 49 insertions(+), 23 deletions(-)

diff --git a/platform/core.network/manifest.mf 
b/platform/core.network/manifest.mf
index f2ba9d2..b26315b 100644
--- a/platform/core.network/manifest.mf
+++ b/platform/core.network/manifest.mf
@@ -2,5 +2,5 @@ Manifest-Version: 1.0
 OpenIDE-Module: org.netbeans.core.network
 OpenIDE-Module-Localizing-Bundle: 
org/netbeans/core/network/proxy/Bundle.properties
 OpenIDE-Module-Provides: org.netbeans.core.ProxySettings.Reloader
-OpenIDE-Module-Specification-Version: 1.20
+OpenIDE-Module-Specification-Version: 1.20.1
 OpenIDE-Module-Recommends: javax.script.ScriptEngine.js
diff --git 
a/platform/core.network/src/org/netbeans/core/network/proxy/kde/KdeNetworkProxy.java
 
b/platform/core.network/src/org/netbeans/core/network/proxy/kde/KdeNetworkProxy.java
index 553d1e5..dc165ac 100644
--- 
a/platform/core.network/src/org/netbeans/core/network/proxy/kde/KdeNetworkProxy.java
+++ 
b/platform/core.network/src/org/netbeans/core/network/proxy/kde/KdeNetworkProxy.java
@@ -25,7 +25,13 @@ import java.io.FileInputStream;
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.io.InputStreamReader;
+import java.nio.file.Files;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.util.Arrays;
+import java.util.Collections;
 import java.util.HashMap;
+import java.util.List;
 import java.util.Map;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -59,11 +65,13 @@ public class KdeNetworkProxy implements 
NetworkProxyResolver {
 private final static String KIOSLAVERC_PROXY_TYPE_PAC = "2"; //NOI18N
 private final static String KIOSLAVERC_PROXY_TYPE_AUTO = "3"; //NOI18N
 private final static String KIOSLAVERC_PROXY_TYPE_SYSTEM = "4"; //NOI18N   
 
-private final static String KIOSLAVERC_PATH_IN_HOME = 
".kde/share/config/kioslaverc"; //NOI18N 
-private final String KIOSLAVERC_PATH;
+private final static String KIOSLAVERC_PATH_IN_HOME = 
".config/kioslaverc"; //NOI18N 
+private final static String KIOSLAVERC_PATH_IN_HOME_KDE4 = 
".kde/share/config/kioslaverc"; //NOI18N 
+
+private final List KIOSLAVERC_PATHS;
 
 public KdeNetworkProxy() {
-KIOSLAVERC_PATH = getKioslavercPath();
+KIOSLAVERC_PATHS = getKioslavercPaths();
 }
 
 @Override
@@ -77,14 +85,21 @@ public class KdeNetworkProxy implements 
NetworkProxyResolver {
 return new NetworkProxySettings(false);
 }
 
-if (proxyType.equals(KIOSLAVERC_PROXY_TYPE_NONE) || 
proxyType.equals(KIOSLAVERC_PROXY_TYPE_AUTO)) {
+if (proxyType.equals(KIOSLAVERC_PROXY_TYPE_NONE)) {
 LOGGER.log(Level.INFO, "KDE system proxy resolver: direct (proxy 
type: {0})", proxyType); //NOI18N
 return new NetworkProxySettings();
 }
 
-if (proxyType.equals(KIOSLAVERC_PROXY_TYPE_PAC)) {
-LOGGER.log(Level.INFO, "KDE system proxy resolver: auto - PAC"); 
//NOI18N
-String pacFileUrl = 
kioslavercMap.get(KIOSLAVERC_PROXY_CONFIG_SCRIPT);
+if (proxyType.equals(KIOSLAVERC_PROXY_TYPE_PAC)  || 
proxyType.equals(KIOSLAVERC_PROXY_TYPE_AUTO)) {
+String pacFileUrl;
+
+if (proxyType.equals(KIOSLAVERC_PROXY_TYPE_AUTO)) {
+LOGGER.log(Level.INFO, "KDE system proxy resolver: auto"); 
//NOI18N
+pacFileUrl = "http://wpad/wpad.dat;; // NOI18N
+} else {
+LOGGER.log(Level.INFO, "KDE system proxy resolver: auto - 
PAC"); //NOI18N
+pacFileUrl = kioslavercMap.get(KIOSLAVERC_PROXY_CONFIG_SCRIPT);
+}
 if (pacFileUrl != null) {
 LOGGER.log(Level.INFO, "KDE system proxy resolver: PAC URL 
({0})", pacFileUrl); //NOI18N
 return new NetworkProxySettings(pacFileUrl);
@@ -129,14 +144,16 @@ public class KdeNetworkProxy implements 
NetworkProxyResolver {
  * @return Map of keys and values from kioslaverc group Proxy settings.
  */
 private Map getKioslavercMap() {
-File kioslavercFile = new File(KIOSLAVERC_PATH);
-Map map = new HashMap();
-
-if (kioslavercFile.exists()) {
-try {
-FileIn

[netbeans] branch release120 updated: [NETBEANS-4444] The selected text is not removed in the Find Combobox when text is input via IME

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

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


The following commit(s) were added to refs/heads/release120 by this push:
 new 90d1c35  [NETBEANS-] The selected text is not removed in the Find 
Combobox when text is input via IME
90d1c35 is described below

commit 90d1c35f1b3eb32bfcba92f0b8dad1005abd3f47
Author: Junichi Yamamoto 
AuthorDate: Sun Jun 14 20:47:53 2020 +0900

[NETBEANS-] The selected text is not removed in the Find Combobox when 
text is input via IME

Selection is not removed when text is input via IME. So, just remove it 
when the caret is changed.
---
 ide/editor.search/nbproject/project.properties|  2 +-
 .../modules/editor/search/SearchComboBoxEditor.java   | 19 +++
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/ide/editor.search/nbproject/project.properties 
b/ide/editor.search/nbproject/project.properties
index 72b4fd1..7af9d80 100644
--- a/ide/editor.search/nbproject/project.properties
+++ b/ide/editor.search/nbproject/project.properties
@@ -16,4 +16,4 @@
 # under the License.
 javac.source=1.8
 javac.compilerargs=-Xlint -Xlint:-serial
-spec.version.base=1.33.0
+spec.version.base=1.33.1
diff --git 
a/ide/editor.search/src/org/netbeans/modules/editor/search/SearchComboBoxEditor.java
 
b/ide/editor.search/src/org/netbeans/modules/editor/search/SearchComboBoxEditor.java
index b5d8f03..45d303f 100644
--- 
a/ide/editor.search/src/org/netbeans/modules/editor/search/SearchComboBoxEditor.java
+++ 
b/ide/editor.search/src/org/netbeans/modules/editor/search/SearchComboBoxEditor.java
@@ -123,6 +123,25 @@ public class SearchComboBoxEditor implements 
ComboBoxEditor {
 DocumentUtilities.addDocumentListener(newDoc, 
manageViewListener, DocumentListenerPriority.AFTER_CARET_UPDATE);
 }
 }
+// NETBEANS-
+// selection is not removed when text is input via IME
+// so, just remove it when the caret is changed
+if ("caret".equals(evt.getPropertyName())) { // NOI18N
+if (evt.getOldValue() instanceof Caret) {
+Caret oldCaret = (Caret) evt.getOldValue();
+if (oldCaret != null) {
+int dotPosition = oldCaret.getDot();
+int markPosition = oldCaret.getMark();
+if (dotPosition != markPosition) {
+try {
+
editorPane.getDocument().remove(Math.min(markPosition, dotPosition), 
Math.abs(markPosition - dotPosition));
+} catch (BadLocationException ex) {
+LOG.log(Level.WARNING, "Invalid removal 
offset: {0}", ex.offsetRequested()); // NOI18N
+}
+}
+}
+}
+}
 }
 });
 }


-
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 release120 updated: [NETBEANS-3409] Missing popup menu for sql editor tabs

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

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


The following commit(s) were added to refs/heads/release120 by this push:
 new 2601979  [NETBEANS-3409] Missing popup menu for sql editor tabs
2601979 is described below

commit 2601979e6a3e404aec448b5406442bd3c85f6d9d
Author: Matthias Bläsing 
AuthorDate: Mon Aug 10 22:08:28 2020 +0200

[NETBEANS-3409] Missing popup menu for sql editor tabs

The Filesystems API compatibility module provides implementations for
Filesystem#getActions for several filesystems. Most filesystem
implementations are covered by the implementation in
AbstractFileSystemCompat, but this does not cover implementations
directly inheriting from Filesystem.

One such filesystem is BinaryFS.

In the SQL Editor the command window function (temp files for SQL
execution) is backed by a file in the SystemFileSystem, which delegates
in the end to BinaryFS:

SystemFileSystem->
  ModuleLayeredFileSystem ->
BinaryFS

As BinaryFS does not implement getActions and no patch is provided for
this class, an AbstractMethodError is raised.

Instead of bailing out with an Error, the compatibility implementation
now returns an empty array to satisfy the Filesystem#getActions contract.
---
 platform/openide.filesystems.compat8/manifest.mf |  2 +-
 .../src/org/openide/filesystems/FileSystemCompat.java| 12 +++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/platform/openide.filesystems.compat8/manifest.mf 
b/platform/openide.filesystems.compat8/manifest.mf
index 067125e..947d570 100644
--- a/platform/openide.filesystems.compat8/manifest.mf
+++ b/platform/openide.filesystems.compat8/manifest.mf
@@ -1,6 +1,6 @@
 Manifest-Version: 1.0
 OpenIDE-Module: org.openide.filesystems.compat8
 OpenIDE-Module-Localizing-Bundle: 
org/openide/filesystems/compat8/Bundle.properties
-OpenIDE-Module-Specification-Version: 9.17
+OpenIDE-Module-Specification-Version: 9.17.1
 OpenIDE-Module-Fragment-Host: org.openide.filesystems
 
diff --git 
a/platform/openide.filesystems.compat8/src/org/openide/filesystems/FileSystemCompat.java
 
b/platform/openide.filesystems.compat8/src/org/openide/filesystems/FileSystemCompat.java
index 0455f9c..460ea8c 100644
--- 
a/platform/openide.filesystems.compat8/src/org/openide/filesystems/FileSystemCompat.java
+++ 
b/platform/openide.filesystems.compat8/src/org/openide/filesystems/FileSystemCompat.java
@@ -43,6 +43,9 @@ import org.openide.util.actions.SystemAction;
  */
 @PatchFor(FileSystem.class)
 public abstract class FileSystemCompat {
+/** system actions for this FS */
+private static final SystemAction[] NO_SYSTEM_ACTIONS = new 
SystemAction[0];
+
 /** Property name giving capabilities state. @deprecated No more 
capabilities. */
 static final String PROP_CAPABILITIES = "capabilities"; // NOI18N
 
@@ -67,7 +70,14 @@ public abstract class FileSystemCompat {
 *
 * @return array of available actions
 */
-public abstract SystemAction[] getActions();
+@SuppressWarnings("ReturnOfCollectionOrArrayField")
+public SystemAction[] getActions() {
+// If implementations don't override getActions, an empty array is
+// returned to satisfy the FileSystem#getActions contract. As the
+// empty array is immutable, it is save to return a singleton in this
+// case
+return NO_SYSTEM_ACTIONS;
+}
 
 /**
  * Get actions appropriate to a certain file selection.


-
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 release120 updated: [NETBEANS-4722] Add JAVA_HOME to Gradle build environment variables

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

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


The following commit(s) were added to refs/heads/release120 by this push:
 new 63ca800  [NETBEANS-4722] Add JAVA_HOME to Gradle build environment 
variables
63ca800 is described below

commit 63ca8004dc498a4497516ead979dc137f7173e4b
Author: Laszlo Kishalmi 
AuthorDate: Tue Aug 18 23:33:53 2020 -0700

[NETBEANS-4722] Add JAVA_HOME to Gradle build environment variables
---
 groovy/gradle/manifest.mf |  2 +-
 .../netbeans/modules/gradle/execute/GradleDaemonExecutor.java | 11 ++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/groovy/gradle/manifest.mf b/groovy/gradle/manifest.mf
index b4ef608..9456627 100644
--- a/groovy/gradle/manifest.mf
+++ b/groovy/gradle/manifest.mf
@@ -3,5 +3,5 @@ AutoUpdate-Show-In-Client: false
 OpenIDE-Module: org.netbeans.modules.gradle/2
 OpenIDE-Module-Layer: org/netbeans/modules/gradle/layer.xml
 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/gradle/Bundle.properties
-OpenIDE-Module-Specification-Version: 2.0.1
+OpenIDE-Module-Specification-Version: 2.0.2
 OpenIDE-Module-Requires: cnb.org.netbeans.modules.groovy.kit
diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/execute/GradleDaemonExecutor.java
 
b/groovy/gradle/src/org/netbeans/modules/gradle/execute/GradleDaemonExecutor.java
index 029c0dd..e2f0596 100644
--- 
a/groovy/gradle/src/org/netbeans/modules/gradle/execute/GradleDaemonExecutor.java
+++ 
b/groovy/gradle/src/org/netbeans/modules/gradle/execute/GradleDaemonExecutor.java
@@ -34,6 +34,8 @@ import java.io.OutputStream;
 import java.io.StreamCorruptedException;
 import java.nio.file.Path;
 import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 import javax.swing.AbstractAction;
@@ -155,7 +157,14 @@ public final class GradleDaemonExecutor extends 
AbstractGradleExecutor {
 }
 if (!activePlatform.second().getInstallFolders().isEmpty()) {
 File javaHome = 
FileUtil.toFile(activePlatform.second().getInstallFolders().iterator().next());
-buildLauncher.setJavaHome(javaHome);
+try {
+buildLauncher.setJavaHome(javaHome);
+Map envs = new HashMap<>(System.getenv());
+envs.put("JAVA_HOME", javaHome.getCanonicalPath());
+buildLauncher.setEnvironmentVariables(envs);
+} catch (IOException ex) {
+LOGGER.log(Level.WARNING, "Could not set JAVA_HOME='" + 
javaHome + "' for Gradle Execution", ex);
+}
 }
 
 outStream = new EscapeProcessingOutputStream(new 
GradlePlainEscapeProcessor(io, config, 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] branch master updated (78a9ced -> 39467f7)

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

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


from 78a9ced  LSP codeAction fixes. (#2660)
 add 39467f7  [NETBEANS-5177] Fix filehandle leak in GradleModuleFileCache21

No new revisions were added by this update.

Summary of changes:
 .../modules/gradle/GradleModuleFileCache21.java| 28 --
 1 file changed, 16 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] branch release120 updated: [NETBEANS-4627] FlatLaf: fix wrong background color of search result table in Find Tasks Editor

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

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


The following commit(s) were added to refs/heads/release120 by this push:
 new 83286a2  [NETBEANS-4627] FlatLaf: fix wrong background color of search 
result table in Find Tasks Editor
83286a2 is described below

commit 83286a248b884e9cd423750eae4c6911f39283f9
Author: Karl Tauber 
AuthorDate: Sun Aug 23 17:41:09 2020 +0200

[NETBEANS-4627] FlatLaf: fix wrong background color of search result table 
in Find Tasks Editor
---
 .../src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties| 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties
 
b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties
index 3e8f7f5..9fef193 100644
--- 
a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties
+++ 
b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties
@@ -122,7 +122,6 @@ nb.bugtracking.comment.background=#f00
 nb.bugtracking.comment.foreground=@foreground
 nb.bugtracking.label.highlight=rgb(205, 205, 0)
 nb.bugtracking.table.background=$Table.background
-nb.bugtracking.table.background=#0f0
 nb.bugtracking.table.background.alternate=darken($Table.background,5%)
 nb.bugtracking.new.color=rgb(73, 210, 73)
 nb.bugtracking.modified.color=rgb(26, 184, 255)


-
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 release120 updated: [NETBEANS-3428] FlatLaf: fix selection background color in output view

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

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


The following commit(s) were added to refs/heads/release120 by this push:
 new a34975b  [NETBEANS-3428] FlatLaf: fix selection background color in 
output view
a34975b is described below

commit a34975b10a8e1eb875128a4b38d4a90aa8216c54
Author: Karl Tauber 
AuthorDate: Sun Aug 23 18:26:34 2020 +0200

[NETBEANS-3428] FlatLaf: fix selection background color in output view
---
 platform/o.n.swing.laf.flatlaf/manifest.mf | 2 +-
 .../src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties  | 1 +
 .../src/org/netbeans/swing/laf/flatlaf/FlatLightLaf.properties | 3 +++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/platform/o.n.swing.laf.flatlaf/manifest.mf 
b/platform/o.n.swing.laf.flatlaf/manifest.mf
index f881237..4690d92 100644
--- a/platform/o.n.swing.laf.flatlaf/manifest.mf
+++ b/platform/o.n.swing.laf.flatlaf/manifest.mf
@@ -3,6 +3,6 @@ OpenIDE-Module-Install: 
org/netbeans/swing/laf/flatlaf/Installer.class
 OpenIDE-Module-Layer: org/netbeans/swing/laf/flatlaf/layer.xml
 OpenIDE-Module-Localizing-Bundle: 
org/netbeans/swing/laf/flatlaf/Bundle.properties
 OpenIDE-Module: org.netbeans.swing.laf.flatlaf
-OpenIDE-Module-Specification-Version: 1.1
+OpenIDE-Module-Specification-Version: 1.1.1
 AutoUpdate-Show-In-Client: false
 
diff --git 
a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties
 
b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties
index b2b8ee4..3e8f7f5 100644
--- 
a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties
+++ 
b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties
@@ -162,6 +162,7 @@ nb.diff.sidebar.changed.color=rgb(30, 75, 112)
 # output
 nb.output.foreground=@foreground
 nb.output.backgorund=#2B2B2B
+nb.output.selectionBackground=#214283
 nb.output.err.foreground=#FF4040
 nb.output.input=#CC7832
 nb.output.link.foreground=$Component.linkColor
diff --git 
a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatLightLaf.properties
 
b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatLightLaf.properties
index 1df4cff..b6839b6 100644
--- 
a/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatLightLaf.properties
+++ 
b/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatLightLaf.properties
@@ -70,3 +70,6 @@ PropSheet.setForeground=@foreground
 
 # QuickSearch
 nb.quicksearch.border=1,1,1,1,@background
+
+# output
+nb.output.selectionBackground=#89BCED


-
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 (fe9ebc9 -> 636f9cc)

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

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


from fe9ebc9  LSP - Go to definition enhanced with possible sources 
download. (#2649)
 add 636f9cc  [NETBEANS-5204] New Gradle Sub-project handling

No new revisions were added by this update.

Summary of changes:
 extide/gradle/nbproject/project.xml|   2 +-
 .../gradle/tooling/NbProjectInfoBuilder.groovy |  51 
 .../gradle/api/GradleBaseProjectBuilder.java   |  31 +++--
 .../modules/gradle/cache/ProjectInfoDiskCache.java |   3 +-
 .../modules/gradle/nodes/BuildScriptsNode.java |  16 ++-
 .../modules/gradle/nodes/ConfigurationsNode.java   |   2 +-
 .../modules/gradle/nodes/GradleProjectNode.java|  23 ++--
 .../modules/gradle/nodes/SubProjectsNode.java  | 116 -
 .../queries/AbstractProjectChangeAdaptor.java  |  63 ++
 ...mpl.java => DependencyProjectProviderImpl.java} |  77 +++-
 .../gradle/queries/ParentRootProviderImpl.java |  91 ++
 .../queries/ProjectContainerProviderImpl.java  |  85 +
 .../queries/DependencyProjectProviderTest.java |  88 +
 .../gradle/queries/GenericProjectSourcesTest.java  |  26 ++--
 .../queries/ProjectContainerProviderTest.java  | 137 +
 ide/projectapi/apichanges.xml  |  17 +++
 .../src/org/netbeans/api/project/ProjectUtils.java |  37 +-
 .../spi/project/ParentProjectProvider.java |  40 ++
 .../netbeans/spi/project/RootProjectProvider.java  |  41 ++
 19 files changed, 745 insertions(+), 201 deletions(-)
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/queries/AbstractProjectChangeAdaptor.java
 rename 
extide/gradle/src/org/netbeans/modules/gradle/queries/{SubprojectProviderImpl.java
 => DependencyProjectProviderImpl.java} (51%)
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/queries/ParentRootProviderImpl.java
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/queries/ProjectContainerProviderImpl.java
 create mode 100644 
extide/gradle/test/unit/src/org/netbeans/modules/gradle/queries/DependencyProjectProviderTest.java
 create mode 100644 
extide/gradle/test/unit/src/org/netbeans/modules/gradle/queries/ProjectContainerProviderTest.java
 create mode 100644 
ide/projectapi/src/org/netbeans/spi/project/ParentProjectProvider.java
 create mode 100644 
ide/projectapi/src/org/netbeans/spi/project/RootProjectProvider.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 (c0848d2 -> 9cc5d4d)

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

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


from c0848d2  Merge pull request #2628 from 
matthiasblaesing/netbeans-819-fix_terminal
 add 9cc5d4d  [NETBEANS-5197] Add gradle user home on distribution manager 
toString()

No new revisions were added by this update.

Summary of changes:
 .../netbeans/modules/gradle/api/execute/GradleDistributionManager.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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 (cdeb588 -> 7c7c7b6)

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

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


from cdeb588  Merge pull request #2625 from rs333/NETBEANS-4256
 add 7c7c7b6  [NETBEANS-5206] Enable LazyOpen on Gradle Projects, deprecate 
experimental settings

No new revisions were added by this update.

Summary of changes:
 extide/gradle/apichanges.xml   | 15 +
 .../modules/gradle/NbGradleProjectImpl.java|  4 +-
 .../modules/gradle/cache/AbstractDiskCache.java|  4 +-
 .../gradle/options/GradleExperimentalSettings.java | 64 ++
 .../modules/gradle/options/SettingsPanel.java  | 17 +++---
 .../modules/gradle/spi/GradleSettings.java | 44 +--
 .../gradle/AbstractGradleProjectTestCase.java  |  2 +
 7 files changed, 135 insertions(+), 15 deletions(-)
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/options/GradleExperimentalSettings.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 (69b6164 -> 1af1cdc)

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

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


from 69b6164  Merge pull request #2619 from junichi11/fix-daily-build-link
 add 1af1cdc  [NETBEANS-5198] Fix using lookup in constructor of 
FavoriteTaskManager

No new revisions were added by this update.

Summary of changes:
 .../org/netbeans/modules/gradle/FavoriteTaskManager.java| 13 ++---
 1 file changed, 10 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] branch master updated: [NETBEANS-5176] Trivial NPE check on a NullAllowed field on GoTo Type

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

lkishalmi 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 f140083  [NETBEANS-5176] Trivial NPE check on a NullAllowed field on 
GoTo Type
f140083 is described below

commit f140083fcd169aede25206d61f97880764c11d9c
Author: Laszlo Kishalmi 
AuthorDate: Tue Dec 29 21:40:45 2020 -0800

[NETBEANS-5176] Trivial NPE check on a NullAllowed field on GoTo Type
---
 ide/jumpto/src/org/netbeans/modules/jumpto/common/ItemRenderer.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/ide/jumpto/src/org/netbeans/modules/jumpto/common/ItemRenderer.java 
b/ide/jumpto/src/org/netbeans/modules/jumpto/common/ItemRenderer.java
index 51bfa1e..4ae17c2 100644
--- a/ide/jumpto/src/org/netbeans/modules/jumpto/common/ItemRenderer.java
+++ b/ide/jumpto/src/org/netbeans/modules/jumpto/common/ItemRenderer.java
@@ -286,7 +286,7 @@ public final class ItemRenderer extends 
DefaultListCellRenderer implements Ch
 if (shouldHighlight(isSelected)) {
 JLabel highlightedTarget;
 String textToFormat;
-if(searchFolders.isSelected()) {
+if ((searchFolders != null)  && 
searchFolders.isSelected()) {
 highlightedTarget = jlOwner;
 textToFormat = convertor.getOwnerName(item);
 } else {
@@ -433,7 +433,7 @@ public final class ItemRenderer extends 
DefaultListCellRenderer implements Ch
 
 private static HighlightingNameFormatter createNameFormatter(
 @NonNull final GoToSettings.HighlightingType type,
-@NonNull final String separatorPattern) {
+@NullAllowed final String separatorPattern) {
 switch (type) {
 case BACKGROUND:
 Color back = new Color(236,235,163);


-
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 (409cbcc -> 7b78558)

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

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


from 409cbcc  [NETBEANS-4938] TestCase for a SourceGroup bug in Gradle 
Projects (#2553)
 add 7b78558  Removed abandoned file, remainder of gradle library move

No new revisions were added by this update.

Summary of changes:
 .../nbproject/org-netbeans-modules-libs-gradle.sig | 167 -
 1 file changed, 167 deletions(-)
 delete mode 100644 
groovy/libs.gradle/nbproject/org-netbeans-modules-libs-gradle.sig


-
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 (676afdd -> 409cbcc)

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

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


from 676afdd  [NETBEANS-4550] Handling tests that have a module-info 
overriding module-info from sources.
 add 409cbcc  [NETBEANS-4938] TestCase for a SourceGroup bug in Gradle 
Projects (#2553)

No new revisions were added by this update.

Summary of changes:
 .../gradle/AbstractGradleProjectTestCase.java  | 13 +
 .../gradle/java/GradleJavaDebuggerImpl.java|  3 --
 .../java/GradleJavaProjectProblemProvider.java |  2 -
 .../gradle/java/GradleJavaTokenProvider.java   |  3 --
 .../modules/gradle/java/LookupProviders.java   | 50 +++
 .../java/RecommendedPrivilegedTemplatesImpl.java   |  3 --
 .../gradle/java/SourceGroupResourceWatchList.java  |  3 --
 .../gradle/java/api/output/LocationOpener.java | 10 +---
 .../java/classpath/ClassPathProviderImpl.java  |  3 --
 .../classpath/GlobalClassPathProviderImpl.java |  3 --
 .../gradle/java/classpath/GradleSourcesImpl.java   |  6 +--
 .../gradle/java/classpath/LookupProviders.java | 47 ++
 .../modules/gradle/java/execute/DebugFixHooks.java |  6 ---
 .../execute/GradleJavaPlatformProviderImpl.java|  3 --
 .../gradle/java/execute/LookupProviders.java   | 47 ++
 .../gradle/java/execute/ShowJavadocHook.java   |  6 ---
 .../gradle/java/nodes/BootCPNodeFactory.java   | 19 +++-
 .../java/output/GatlingReportProcessorFactory.java |  3 --
 .../gradle/java/output/JDPAProcessorFactory.java   |  3 --
 .../java/output/JavaCompilerProcessorFactory.java  |  3 --
 .../gradle/java/output/LookupProviders.java| 56 ++
 .../gradle/java/queries/FileBuiltQueryImpl.java| 13 ++---
 .../GradleAnnotationProcessorQueryImpl.java|  3 --
 .../gradle/java/queries/GradleBinaryForSource.java |  3 --
 .../java/queries/GradleCompilerOptionsQuery.java   |  4 +-
 .../gradle/java/queries/GradleFileLocator.java |  2 -
 .../gradle/java/queries/GradleSourceForBinary.java |  3 --
 .../gradle/java/queries/GradleSourceLevelImpl.java |  3 --
 .../java/queries/GradleTestForSourceImpl.java  |  3 --
 .../gradle/java/queries/LookupProviders.java   | 51 
 .../java/classpath/GradleSourcesImplTest.java  | 34 +++--
 31 files changed, 319 insertions(+), 92 deletions(-)
 create mode 100644 
java/gradle.java/src/org/netbeans/modules/gradle/java/LookupProviders.java
 create mode 100644 
java/gradle.java/src/org/netbeans/modules/gradle/java/classpath/LookupProviders.java
 create mode 100644 
java/gradle.java/src/org/netbeans/modules/gradle/java/execute/LookupProviders.java
 create mode 100644 
java/gradle.java/src/org/netbeans/modules/gradle/java/output/LookupProviders.java
 create mode 100644 
java/gradle.java/src/org/netbeans/modules/gradle/java/queries/LookupProviders.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 (6529604 -> 7b3f4ee)

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

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


from 6529604  [NETBEANS-2387] Gradle Task Navigator with Favorites
 add 7b3f4ee  Removing the need for a default JS engine in JDK to call ant 
tryme. (#2594)

No new revisions were added by this update.

Summary of changes:
 .../org/netbeans/nbbuild/MergeTrymeArgs.java   | 37 ++
 nbbuild/build.xml  | 16 ++
 2 files changed, 18 insertions(+), 35 deletions(-)
 copy 
enterprise/web.jsfapi/src/org/netbeans/modules/web/jsfapi/api/JsfUtils.java => 
nbbuild/antsrc/org/netbeans/nbbuild/MergeTrymeArgs.java (56%)


-
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 (a5c6224 -> 6529604)

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

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


from a5c6224  NETBEANS-5034 fix wrong javadoc error hint
 add 6529604  [NETBEANS-2387] Gradle Task Navigator with Favorites

No new revisions were added by this update.

Summary of changes:
 extide/gradle/nbproject/project.xml|   2 +-
 .../modules/gradle/FavoriteTaskManager.java| 135 
 ...vigationPanel.java => TasksNavigatorPanel.java} |   9 +-
 .../gradle/execute/navigator/TasksPanel.form   |  53 --
 .../gradle/execute/navigator/TasksPanel.java   | 177 +
 .../netbeans/modules/gradle/nodes/TaskNode.java| 116 ++
 6 files changed, 328 insertions(+), 164 deletions(-)
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/FavoriteTaskManager.java
 rename 
extide/gradle/src/org/netbeans/modules/gradle/execute/navigator/{TasksNavigationPanel.java
 => TasksNavigatorPanel.java} (94%)
 delete mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/execute/navigator/TasksPanel.form
 create mode 100644 
extide/gradle/src/org/netbeans/modules/gradle/nodes/TaskNode.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: NETBEANS-5034 fix wrong javadoc error hint

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

lkishalmi 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 a5c6224  NETBEANS-5034 fix wrong javadoc error hint
a5c6224 is described below

commit a5c6224f82c3f6bf9311fc7abddd65c68fde276b
Author: Jakub Herkel 
AuthorDate: Tue Nov 17 16:57:19 2020 +0100

NETBEANS-5034 fix wrong javadoc error hint
---
 .../src/org/netbeans/modules/javadoc/hints/Analyzer.java  |  2 +-
 .../org/netbeans/modules/javadoc/hints/Analyzer2Test.java | 15 +++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/java/javadoc/src/org/netbeans/modules/javadoc/hints/Analyzer.java 
b/java/javadoc/src/org/netbeans/modules/javadoc/hints/Analyzer.java
index 5c92f69..94772b2 100644
--- a/java/javadoc/src/org/netbeans/modules/javadoc/hints/Analyzer.java
+++ b/java/javadoc/src/org/netbeans/modules/javadoc/hints/Analyzer.java
@@ -633,7 +633,7 @@ final class Analyzer extends DocTreePathScanner> {
 if (t == null) {
 errors.add(ErrorDescriptionFactory.forSpan(ctx, start, end, 
TAG_UNKNOWN(treeName)));
 } else {
-if (!t.hasOptionalEndTag() && !isVoid(t)) {
+if (!isVoid(t)) {
 tagStack.push(node);
 }
 }
diff --git 
a/java/javadoc/test/unit/src/org/netbeans/modules/javadoc/hints/Analyzer2Test.java
 
b/java/javadoc/test/unit/src/org/netbeans/modules/javadoc/hints/Analyzer2Test.java
index d5a5d03..477c0ac 100644
--- 
a/java/javadoc/test/unit/src/org/netbeans/modules/javadoc/hints/Analyzer2Test.java
+++ 
b/java/javadoc/test/unit/src/org/netbeans/modules/javadoc/hints/Analyzer2Test.java
@@ -346,4 +346,19 @@ public class Analyzer2Test extends NbTestCase {
 .run(JavadocHint.class)
 .assertContainsWarnings("2:3-2:11:warning:End Tag Missing: 
");
 }
+
+public void testOptionalEndTag() throws Exception {
+HintTest.create()
+.input(
+"package test;\n" +
+"/**\n" +
+" * OneTwo\n" +
+" */\n" +
+"class Zima {\n" +
+"}\n")
+.preference(AVAILABILITY_KEY + true, true)
+.preference(SCOPE_KEY, "private")
+.run(JavadocHint.class)
+.assertWarnings();
+}
 }


-
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: [NETBEANS-5070] fix errors on text selection (#2597)

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

lkishalmi 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 95a135b  [NETBEANS-5070] fix errors on text selection (#2597)
95a135b is described below

commit 95a135b0aeae5b390112a69fe1a38130bba6c498
Author: Michal Hlavac 
AuthorDate: Sun Dec 20 06:25:14 2020 +0100

[NETBEANS-5070] fix errors on text selection (#2597)

* [NETBEANS-5070] fix errors on text selection

* fixed paint selection

Co-authored-by: Michal Hlavac 
---
 .../src/org/netbeans/lib/terminalemulator/Line.java |  8 
 .../lib/terminalemulator/MyFontMetrics.java | 21 +++--
 .../src/org/netbeans/lib/terminalemulator/Sel.java  |  4 ++--
 3 files changed, 17 insertions(+), 16 deletions(-)

diff --git 
a/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Line.java 
b/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Line.java
index 5ca5052..2e10f49 100644
--- a/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Line.java
+++ b/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Line.java
@@ -156,13 +156,13 @@ final class Line {
 }
 
 public int stringWidth(MyFontMetrics metrics, int at) {
+if (at > buf.length - 1) return 0;
 return metrics.getFm().charsWidth(buf, 0, at);
 }
 
-public byte width(MyFontMetrics metrics, int at) {
-if (at >= capacity)
-return 1;
-return (byte) metrics.wcwidth(charAt(at));
+public int charWidth(MyFontMetrics metrics, int at) {
+if (at > buf.length - 1) return 0;
+return metrics.getFm().charsWidth(buf, at, 1);
 }
 
 /*
diff --git 
a/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/MyFontMetrics.java
 
b/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/MyFontMetrics.java
index 67a6ec2..e4c34b2 100644
--- 
a/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/MyFontMetrics.java
+++ 
b/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/MyFontMetrics.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-/*
+ /*
  * "MyFontMetrics"
  * MyFontMetrics.java 1.5 01/07/10
  */
@@ -123,10 +123,11 @@ class MyFontMetrics {
 
 public MyFontMetrics(Component component) {
 this.cmp = component;
-width = getFm().charWidth('a');
-height = getFm().getHeight();
-ascent = getFm().getAscent();
-leading = getFm().getLeading();
+this.fm = this.cmp.getFontMetrics(cmp.getFont());
+width = fm.charWidth('a');
+height = fm.getHeight();
+ascent = fm.getAscent();
+leading = fm.getLeading();
 
 // HACK
 // From all I can tell both xterm and DtTerm ignore the leading.
@@ -138,25 +139,25 @@ class MyFontMetrics {
 // the following makes things match up, but if we ever undo this
 // we'll have to go and adjust how everything is drawn (cursor,
 // reverse-video attribute, underscore, bg stripe, selection etc.
-
 height -= leading;
 leading = 0;
-
-cwidth_cache = CacheFactory.cacheForFontMetrics(getFm());
+cwidth_cache = CacheFactory.cacheForFontMetrics(fm);
 }
 
 public FontMetrics getFm() {
-return this.cmp.getFontMetrics(cmp.getFont());
+//if (fm == null) fm = this.cmp.getFontMetrics(cmp.getFont()); // this 
does not work very well
+return this.cmp.getFontMetrics(cmp.getFont()); // this seems not very 
optimal
 }
 
 @Override
 protected void finalize() {
-CacheFactory.disposeBy(getFm());
+CacheFactory.disposeBy(fm);
 }
 public int width;
 public int height;
 public int ascent;
 public int leading;
+public FontMetrics fm;
 public Component cmp;
 private WidthCache cwidth_cache;
 
diff --git 
a/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Sel.java 
b/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Sel.java
index 0dd498c..30242f1 100644
--- a/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Sel.java
+++ b/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Sel.java
@@ -403,8 +403,8 @@ class Sel implements ClipboardOwner {
 
Point pbegin = term.toPixel(begin);
Point pend = term.toPixel(end);
-   pend.y += term.metrics().height;
-   pend.x += l.stringWidth(term.metrics(), ecol);  // xterm actually 
doesn't do this
+   pend.y += term.metrics().fm.getHeight();
+   pend.x += l.charWidth(term.metrics(), ecol);// xterm actually 
doesn't do this
 
Dimension dim = new Dimension(pend.x - pbegin.x,
  pend.y - pbegin.y);


-
To unsubscribe, e-mail: commits-unsubscr...@

[netbeans] branch master updated: Illegal accesses are not allowed by default now, adding javac-related add-exports/add-opens.

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

lkishalmi 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 1eb31fa  Illegal accesses are not allowed by default now, adding 
javac-related add-exports/add-opens.
1eb31fa is described below

commit 1eb31fa058abcdfce0b0c5c2177251c853ca2447
Author: Jan Lahoda 
AuthorDate: Wed Dec 16 08:29:36 2020 +0100

Illegal accesses are not allowed by default now, adding javac-related 
add-exports/add-opens.
---
 nb/ide.launcher/netbeans.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nb/ide.launcher/netbeans.conf b/nb/ide.launcher/netbeans.conf
index f0e17c6..e9e30e3 100644
--- a/nb/ide.launcher/netbeans.conf
+++ b/nb/ide.launcher/netbeans.conf
@@ -62,7 +62,7 @@ 
netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/@@metabuild.RawVersion@@"
 # default command line arguments.
 # (see: https://issues.apache.org/jira/browse/NETBEANS-1344)
 #
-netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m 
@@metabuild.logcli@@ -J-Djdk.gtk.version=2.2 
-J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true 
-J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true 
-J-Dsun.zip.disableMemoryMapping=true -J-Dplugin.manager.check.updates=false 
-J-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes 
-J--add-opens=java.base/java.net=ALL-UNNAMED 
-J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.bas [...]
+netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m 
@@metabuild.logcli@@ -J-Djdk.gtk.version=2.2 
-J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true 
-J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true 
-J-Dsun.zip.disableMemoryMapping=true -J-Dplugin.manager.check.updates=false 
-J-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes 
-J--add-opens=java.base/java.net=ALL-UNNAMED 
-J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.bas [...]
 
 # Default location of JDK:
 # (set by installer or commented out if launcher should decide)


-
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: [NETBEANS-5146] Add ScrollOnExpand property to TreeView

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

lkishalmi 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 8a79dae  [NETBEANS-5146] Add ScrollOnExpand property to TreeView
8a79dae is described below

commit 8a79dae337616d662b21f63284e03ec9954355ed
Author: Laszlo Kishalmi 
AuthorDate: Sun Dec 13 13:01:38 2020 -0800

[NETBEANS-5146] Add ScrollOnExpand property to TreeView
---
 platform/openide.explorer/apichanges.xml   | 14 +
 .../openide.explorer/nbproject/project.properties  |  2 +-
 .../src/org/openide/explorer/view/TreeView.java| 24 ++
 3 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/platform/openide.explorer/apichanges.xml 
b/platform/openide.explorer/apichanges.xml
index 2be4e68..0e0ecb1 100644
--- a/platform/openide.explorer/apichanges.xml
+++ b/platform/openide.explorer/apichanges.xml
@@ -26,6 +26,20 @@
 Explorer API
 
 
+
+
+Expose scrollOnExpand property on TreeView.
+
+
+
+
+
+It is now possible to set/get the scrollOnExpand 
property
+in TreeView.
+
+
+
+
 
 
 Hide node icons in OutlineView and TreeView.
diff --git a/platform/openide.explorer/nbproject/project.properties 
b/platform/openide.explorer/nbproject/project.properties
index 54ae7f7..73ebeef 100644
--- a/platform/openide.explorer/nbproject/project.properties
+++ b/platform/openide.explorer/nbproject/project.properties
@@ -17,7 +17,7 @@
 
 is.autoload=true
 javac.compilerargs=-Xlint -Xlint:-serial
-javac.source=1.6
+javac.source=1.8
 javadoc.main.page=org/openide/explorer/doc-files/api.html
 javadoc.arch=${basedir}/arch.xml
 javadoc.apichanges=${basedir}/apichanges.xml
diff --git 
a/platform/openide.explorer/src/org/openide/explorer/view/TreeView.java 
b/platform/openide.explorer/src/org/openide/explorer/view/TreeView.java
index e921d9e..2901b1b 100644
--- a/platform/openide.explorer/src/org/openide/explorer/view/TreeView.java
+++ b/platform/openide.explorer/src/org/openide/explorer/view/TreeView.java
@@ -407,6 +407,30 @@ public abstract class TreeView extends JScrollPane {
 tree.setShowsRootHandles(!visible);
 }
 
+
+/**
+ * Set the scrollsOnExpand property on the
+ * underlying tree component.
+ * @see javax.swing.JTree#setScrollsOnExpand(boolean)
+ *
+ * @param newValue the new value of the property
+ * @since 6.73
+ */
+public void setScrollsOnExpand(boolean newValue) {
+tree.setScrollsOnExpand(newValue);
+}
+
+/**
+ * Returns the value of the scrollsOnExpand property of
+ * the underlying tree component.
+ *
+ * @return the value of the scrollsOnExpand property
+ * @since 6.73
+ */
+public boolean getScrollsOnExpand() {
+return tree.getScrollsOnExpand();
+}
+
 /**
  * Test whether the quick search feature is enabled or not.
  * Default is enabled (true).


-
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: Revert "[NETBEANS-819] partial fix for cursor. Text selection does't work"

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

lkishalmi pushed a commit to branch revert-2509-NETBEANS-819
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 4292453d4ec9ca5fb008257459ed1e6336a52b16
Author: Laszlo Kishalmi 
AuthorDate: Sun Dec 13 12:54:51 2020 -0800

Revert "[NETBEANS-819] partial fix for cursor. Text selection does't work"

This reverts commit e6a33460a464573082a8dbef5bc5c730ae154839.
---
 .../org/netbeans/lib/terminalemulator/Line.java| 124 +++--
 .../lib/terminalemulator/MyFontMetrics.java|  28 ++---
 .../src/org/netbeans/lib/terminalemulator/Sel.java |  22 ++--
 .../org/netbeans/lib/terminalemulator/Term.java|  64 +--
 4 files changed, 120 insertions(+), 118 deletions(-)

diff --git 
a/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Line.java 
b/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Line.java
index 5ca5052..609e9f0 100644
--- a/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Line.java
+++ b/ide/lib.terminalemulator/src/org/netbeans/lib/terminalemulator/Line.java
@@ -32,16 +32,16 @@ final class Line {
 
 private char buf[];// actual characters
 private int attr[];// attributes (allocated on demand)
-
+
 // SHOULD use shorts?
 private int capacity;  // == buf.length == attr.length
 private int length;// how much of buf and attr is filled
-
-
+
+
 public Line() {
 reset();
 }
-
+
 public void reset() {
 length = 0;
 capacity = 32;
@@ -57,11 +57,11 @@ final class Line {
 reset();
 clearToEndFrom(term, 0, end, eraseAttr);
 }
-
+
 public int capacity() {
 return capacity;
 }
-
+
 /**
  * Number of characters in the line.
  * charArray()[length()] is where the cursor or newline would be.
@@ -70,11 +70,11 @@ final class Line {
 public int length() {
 return length;
 }
-
+
 public boolean hasAttributes() {
 return attr != null;
 }
-
+
 private int glyphId;
 public void setGlyphId(int glyphId) {
 this.glyphId = glyphId;
@@ -82,7 +82,7 @@ final class Line {
 public int getGlyphId() {
 return glyphId;
 }
-
+
 private int backgroundColor;// Background color for the whole line
 // This is independent of per-character
 // rendition.
@@ -92,7 +92,7 @@ final class Line {
 public int getBackgroundColor() {
 return backgroundColor;
 }
-
+
 public void setWrapped(boolean wrapped) {
 this.wrapped = wrapped;
 }
@@ -101,9 +101,9 @@ final class Line {
 }
 // SHOULD collapse wrapped with about_to_wrap into a bitfield
 private boolean wrapped;
-
-
-
+
+
+
 public boolean setAboutToWrap(boolean about_to_wrap) {
 boolean old_about_to_wrap = about_to_wrap;
 this.about_to_wrap = about_to_wrap;
@@ -114,8 +114,8 @@ final class Line {
 }
 // Perhaps SHOULD have a state: normal, about-to-wrap, wrapped.
 private boolean about_to_wrap;
-
-
+
+
 /**
  * Return true if we've already seen attributes for this line
  * or 'a' is the first one, in which case we allocate the 'attr' array.
@@ -126,54 +126,54 @@ final class Line {
 }
 return attr != null;
 }
-
-
+
+
 public void accumulateInto(int bcol, int ecol, StringBuffer buf) {
 buf.append(this.buf, bcol, ecol-bcol+1);
 }
-
+
 public char charAt(int col) {
 return buf[col];
 }
-
+
 private void charAtPut(int col, char c) {
 buf[col] = c;
 }
-
+
 @Override
 public String toString() {
 assert false;
 return new String(buf);
 }
-
+
 public char[] getChars(char[] array) {
 System.arraycopy(buf, 0, array, 0, length);
 return array;
 }
-
+
 public int [] attrArray() {
 return attr;
 }
-
-public int stringWidth(MyFontMetrics metrics, int at) {
-return metrics.getFm().charsWidth(buf, 0, at);
-}
-
+
+
 public byte width(MyFontMetrics metrics, int at) {
 if (at >= capacity)
 return 1;
 return (byte) metrics.wcwidth(charAt(at));
 }
-
+
 /*
  * Convert a cell column to a buffer column.
  */
 public int cellToBuf(MyFontMetrics metrics, int target_col) {
 if (metrics.isMultiCell()) {
 int bc = 0;
+int vc = 0;
 for(;;) {
-int w = stringWidth(metrics, bc);
-if (w - 1 >= target_col) break;
+int w = width(metrics, bc);
+if (vc + w - 1 >= target_col)
+break;
+vc += w;
 bc++;
 }
 return bc;
@@ -181,20 +181,24 @@ final class Line {

[netbeans] branch revert-2509-NETBEANS-819 created (now 4292453)

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

lkishalmi pushed a change to branch revert-2509-NETBEANS-819
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 4292453  Revert "[NETBEANS-819] partial fix for cursor. Text selection 
does't work"

This branch includes the following new commits:

 new 4292453  Revert "[NETBEANS-819] partial fix for cursor. Text selection 
does't work"

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



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

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



[netbeans-website] branch master updated: Moved Apache NetBeans 12.1 to the Archives

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 9684c62  Moved Apache NetBeans 12.1 to the Archives
9684c62 is described below

commit 9684c622cb492b6754b401534345867ff668bde5
Author: Laszlo Kishalmi 
AuthorDate: Sat Dec 12 09:30:10 2020 -0800

Moved Apache NetBeans 12.1 to the Archives
---
 .../src/content/download/nb121/nb121.asciidoc  | 34 +++---
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/netbeans.apache.org/src/content/download/nb121/nb121.asciidoc 
b/netbeans.apache.org/src/content/download/nb121/nb121.asciidoc
index 15dcaa9..4678428 100644
--- a/netbeans.apache.org/src/content/download/nb121/nb121.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb121/nb121.asciidoc
@@ -44,25 +44,25 @@ NOTE: It's NOT recommended to link to github.
 Apache NetBeans 12.1 is available for download from your closest Apache mirror.
 
 - Binaries: 
-link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/netbeans-12.1-bin.zip[netbeans-12.1-bin.zip]
 (
-link:https://downloads.apache.org/netbeans/netbeans/12.1/netbeans-12.1-bin.zip.sha512[SHA-512],
-link:https://downloads.apache.org/netbeans/netbeans/12.1/netbeans-12.1-bin.zip.asc[PGP
 ASC])
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-bin.zip[netbeans-12.1-bin.zip]
 (
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-bin.zip.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-bin.zip.asc[PGP
 ASC])
 
 - Installers:
  
-* 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe[Apache-NetBeans-12.1-bin-windows-x64.exe]
 (
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.sha512[SHA-512],
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.asc[PGP
 ASC])
-* 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh[Apache-NetBeans-12.1-bin-linux-x64.sh]
 (
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.sha512[SHA-512],
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.asc[PGP
 ASC])
-* 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg[Apache-NetBeans-12.1-bin-macosx.dmg]
 (
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg.sha512[SHA-512],
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg.asc[PGP
 ASC])
-
-- Source: 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/netbeans-12.1-source.zip[netbeans-12.1-source.zip]
 (
-link:https://downloads.apache.org/netbeans/netbeans/12.1/netbeans-12.1-source.zip.sha512[SHA-512],
-link:https://downloads.apache.org/netbeans/netbeans/12.1/netbeans-12.1-source.zip.asc[PGP
 ASC])
+* 
link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe[Apache-NetBeans-12.1-bin-windows-x64.exe]
 (
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.asc[PGP
 ASC])
+* 
link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh[Apache-NetBeans-12.1-bin-linux-x64.sh]
 (
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.asc[PGP
 ASC])
+* 
link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg[Apache-NetBeans-12.1-bin-macosx.dmg]
 (
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg.asc[PGP
 ASC])
+
+- Source: 
link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-source.zip[netbeans-12.1-source.zip]
 (
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-source.zip.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-source.zip.asc[PGP
 ASC])
 
 - Javadoc for this release is available at 
https://bits.netbeans.org/12.1/javadoc
 
@@ -108,7 +108,7 @@ To build Apache NetBeans 12.1 from source you need:
 
 Once you have everything installed then:
 
-1. Unzip 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/netbeans-12.1-source.zip[netbeans-12.1-source.zip

svn commit: r44944 - in /release/netbeans: netbeans-platform/12.1/ netbeans/11.0-gradle-patch-1/ netbeans/12.1/

2020-12-12 Thread lkishalmi
Author: lkishalmi
Date: Sat Dec 12 17:17:24 2020
New Revision: 44944

Log:
Archiving NetBeans 12.1 release

Removed:
release/netbeans/netbeans-platform/12.1/
release/netbeans/netbeans/11.0-gradle-patch-1/
release/netbeans/netbeans/12.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



svn commit: r44901 - /release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.sha512

2020-12-09 Thread lkishalmi
Author: lkishalmi
Date: Wed Dec  9 17:38:14 2020
New Revision: 44901

Log:
Fix Apache-NetBeans-12.2-bin-macosx.dmg.sha512

Modified:
release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.sha512

Modified: 
release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.sha512
==
--- release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.sha512 
(original)
+++ release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.sha512 
Wed Dec  9 17:38:14 2020
@@ -1,4 +1 @@
-Apache-NetBeans-12.2-bin-macosx.dmg: C0CDF00F 165E30AE 8E6499E0 76536B48
- EC2FAF96 90081957 1CE08C0A 59493FCD
- C09ACCB8 7A60482B 4E7ABB59 25B1666C
- 5A885716 BB78128F 96D6FD7A 4DCECAE3
+808f0c0de43d4f4bfa276c7317cd69b44601e929e0103fa985af69531a2cda1984facfe73de5efe027cb2acef4e25021e8f3c61906c4948a1282473f01630f22
  Apache-NetBeans-12.2-bin-macosx.dmg



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

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



[netbeans-website] branch master updated: Apache NetBeans 12.2 Release

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 354c030  Apache NetBeans 12.2 Release
354c030 is described below

commit 354c030bc5054e8e84a6de3f50152722f090e1ca
Author: Laszlo Kishalmi 
AuthorDate: Sun Dec 6 21:38:16 2020 -0800

Apache NetBeans 12.2 Release
---
 .../src/content/download/archive/index.asciidoc|  6 ++
 netbeans.apache.org/src/content/download/index.asciidoc|  4 ++--
 netbeans.apache.org/src/content/download/nb122/nb122.asciidoc  | 10 ++
 netbeans.apache.org/src/content/templates/news.gsp |  4 ++--
 4 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/netbeans.apache.org/src/content/download/archive/index.asciidoc 
b/netbeans.apache.org/src/content/download/archive/index.asciidoc
index 1d6eee7..ea8683c 100644
--- a/netbeans.apache.org/src/content/download/archive/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/archive/index.asciidoc
@@ -29,6 +29,12 @@
 Older Apache NetBeans releases and pre-Apache NetBeans releases can still be
 downloaded, but are no longer supported.
 
+== Apache NetBeans 12 feature update 1 (NB 12.1)
+
+Apache NetBeans 12.1 was released on September 5, 2020.
+
+link:/download/nb121/index.html[Features, role="button"] 
link:/download/nb121/nb121.html[Download, role="button success"]
+
 == Apache NetBeans 11 feature update 3 (NB 11.3)
 
 Apache NetBeans 11.3 was released on February 24, 2020.
diff --git a/netbeans.apache.org/src/content/download/index.asciidoc 
b/netbeans.apache.org/src/content/download/index.asciidoc
index 14bd1d4..89c6319 100644
--- a/netbeans.apache.org/src/content/download/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/index.asciidoc
@@ -42,9 +42,9 @@ long-term support (LTS) release that benefits from our 
link:https://cwiki.apache
 
 == Apache NetBeans 12 feature update 1 (NB 12.1)
 
-Latest version of the IDE, released on September 1, 2020.
+Latest version of the IDE, released on December 5, 2020.
 
-link:/download/nb121/index.html[Features, role="button"] 
link:/download/nb121/nb121.html[Download, role="button success"]
+link:/download/nb122/index.html[Features, role="button"] 
link:/download/nb122/nb122.html[Download, role="button success"]
 
 == Apache NetBeans 12 LTS (NB 12.0)
 
diff --git a/netbeans.apache.org/src/content/download/nb122/nb122.asciidoc 
b/netbeans.apache.org/src/content/download/nb122/nb122.asciidoc
index 69d6d1f..6859b2e 100644
--- a/netbeans.apache.org/src/content/download/nb122/nb122.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb122/nb122.asciidoc
@@ -70,12 +70,14 @@ The PGP keys used to sign this release are available 
link:https://archive.apache
 
 Apache NetBeans can also be installed as a self-contained 
link:https://snapcraft.io/netbeans[snap package] on Linux.
 
-== Deployment platforms
+
+== Deployment Platforms
 
 Apache NetBeans 12.2 runs on JDK LTS releases 8 and 11, as well as on JDK 15, 
i.e., the current JDK release at the time of this NetBeans release.
 
+TIP: The current JDKs have an issue on Mac OS Big Sur, that causes freezes on 
dialogs. That could be fixed by applying the workaround described at 
link:https://issues.apache.org/jira/browse/NETBEANS-5037?focusedCommentId=17234878=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17234878[NETBEANS-5037]
 .
 
-== Building from source
+== Building from Source
 
 To build Apache NetBeans 12.2 from source you need:
 
@@ -91,7 +93,7 @@ in a directory of your liking.
 . `cd` to that directory, and then run `ant` to build the Apache NetBeans IDE.
 Once built you can run the IDE by typing `./nbbuild/netbeans/bin/netbeans`
 
-== Community approval
+== Community Approval
 
 As in any other Apache Project, the Apache NetBeans Community approved this 
release
 through the following voting processes in our 
link:/community/mailing-lists.html[mailing lists]:
@@ -99,7 +101,7 @@ through the following voting processes in our 
link:/community/mailing-lists.html
 - 
link:https://lists.apache.org/thread.html/rb7f838f8abb46466ff46bb00c05ecb7ac92a65f710d7f81a2c2b849b%40%3Cdev.netbeans.apache.org%3E[PMC
 vote]
 - 
link:https://lists.apache.org/thread.html/r2bc401c5cc129581f31bf6dbcbde2c79cbc915d73563378f300f6dd1%40%3Cdev.netbeans.apache.org%3E[PMC
 vote result]
 
-== Earlier releases
+== Earlier Releases
 
 Please visit the link:/download/index.html[Apache NetBeans Download page]
 for further details.
diff --git a/netbeans.apache.org/src/content/templates/news.gsp 
b/netbeans.apache.org/src/content/templates/news.gsp
index d12870c..34523ba 100644
--- a/netbeans.apache.org/src/content/templates/news.gsp
+++ b/netbeans.apache.org/src/content/templates/news.gsp
@@ -23,8 +23,8 @@
   

[netbeans] branch platform-primitive-wrappers updated: Revert new Integer() change on CLIHandlerTest

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

lkishalmi pushed a commit to branch platform-primitive-wrappers
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/platform-primitive-wrappers by 
this push:
 new e221462  Revert new Integer() change on CLIHandlerTest
e221462 is described below

commit e221462b78d17cd2c56da718a579c5f98706a63e
Author: Laszlo Kishalmi 
AuthorDate: Sat Dec 5 14:13:08 2020 -0800

Revert new Integer() change on CLIHandlerTest
---
 .../test/unit/src/org/netbeans/CLIHandlerTest.java | 201 +++--
 1 file changed, 104 insertions(+), 97 deletions(-)

diff --git 
a/platform/o.n.bootstrap/test/unit/src/org/netbeans/CLIHandlerTest.java 
b/platform/o.n.bootstrap/test/unit/src/org/netbeans/CLIHandlerTest.java
index 88afdec..dbfa51c 100644
--- a/platform/o.n.bootstrap/test/unit/src/org/netbeans/CLIHandlerTest.java
+++ b/platform/o.n.bootstrap/test/unit/src/org/netbeans/CLIHandlerTest.java
@@ -39,21 +39,21 @@ public class CLIHandlerTest extends NbTestCase {
 
 final static ByteArrayInputStream nullInput = new ByteArrayInputStream(new 
byte[0]);
 final static ByteArrayOutputStream nullOutput = new 
ByteArrayOutputStream();
-
+
 private Logger LOG;
 
 public CLIHandlerTest(String name) {
 super(name);
 }
-
+
 protected @Override void setUp() throws Exception {
 LOG = Logger.getLogger("TEST-" + getName());
-
+
 super.setUp();
 
 // all handlers shall be executed immediatelly
 CLIHandler.finishInitialization (false);
-
+
 // setups a temporary file
 String p = getWorkDirPath ();
 if (p == null) {
@@ -62,7 +62,7 @@ public class CLIHandlerTest extends NbTestCase {
 File tmp = new File(new File(p), "wd");
 tmp.mkdirs();
 System.getProperties().put("netbeans.user", tmp.getPath());
-
+
 File f = new File(tmp, "lock");
 if (f.exists()) {
 assertTrue("Clean up previous mess", f.delete());
@@ -74,7 +74,7 @@ public class CLIHandlerTest extends NbTestCase {
 protected void tearDown() throws Exception {
 CLIHandler.stopServer();
 }
-
+
 protected @Override Level logLevel() {
 return Level.FINEST;
 }
@@ -82,54 +82,54 @@ public class CLIHandlerTest extends NbTestCase {
 protected @Override int timeOut() {
 return 5;
 }
-
+
 public void testFileExistsButItCannotBeRead() throws Exception {
 // just creates the file and blocks
 InitializeRunner runner = new InitializeRunner(10);
-
+
 // blocks when operation fails
 InitializeRunner second = new InitializeRunner(85);
-
+
 for (int i = 0; i < 3; i++) {
 second.next();
 }
-
+
 // finishes the code
 runner.next();
-
+
 assertNotNull("Runner succeeded to allocate the file", 
runner.resultFile());
-
+
 // let the second code go on as well
 second.next();
-
+
 assertEquals("The same file has been allocated", runner.resultFile(), 
second.resultFile());
 }
-
+
 public void testFileExistsButTheServerCannotBeContacted() throws Exception 
{
 // start the server and block
 InitializeRunner runner = new InitializeRunner(65);
-
+
 assertNotNull("File created", runner.resultFile());
 assertTrue("Port allocated", runner.resultPort() != 0);
-
+
 // blocks when operation fails
 InitializeRunner second = new InitializeRunner(85);
 assertTrue("Fails quickly", second.hasResult());
 assertEquals("Already running, but not replying", 
Status.CANNOT_CONNECT, second.getExitCode());
 }
-
+
 public void testFileExistsHasPortButNotTheKey() throws Exception {
 // start the server and block
-Integer block = 97;
+Integer block = new Integer(97);
 InitializeRunner runner;
 synchronized (block) {
 runner = new InitializeRunner(block, true);
 // the initialization code can finish without reaching 97
 runner.waitResult();
 }
-
+
 assertTrue("Port allocated", runner.resultPort() != 0);
-
+
 // blocks after read the keys from the file
 InitializeRunner second = new InitializeRunner(94);
 
@@ -139,11 +139,11 @@ public class CLIHandlerTest extends NbTestCase {
 }
 // let the test go beyond 97 to the end of file
 assertNotNull("File created", runner.resultFile());
-
-
+
+
 // let the second finish
 second.next();
-
+
 assertEquals("Still the same file", runner.resultFile(

svn commit: r44852 - /dev/netbeans/netbeans-platform/12.2/vc2/ /dev/netbeans/netbeans/12.2/ /dev/netbeans/netbeans/12.2/vc2/ /release/netbeans/netbeans-platform/12.2/ /release/netbeans/netbeans/12.2/

2020-12-05 Thread lkishalmi
Author: lkishalmi
Date: Sat Dec  5 15:28:47 2020
New Revision: 44852

Log:
Releasing Apache NetBeans 12.2

Added:
release/netbeans/netbeans-platform/12.2/
  - copied from r44851, dev/netbeans/netbeans-platform/12.2/vc2/
release/netbeans/netbeans/12.2/
  - copied from r44851, dev/netbeans/netbeans/12.2/vc2/
release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh
  - copied unchanged from r44851, 
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh
release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.asc
  - copied unchanged from r44851, 
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.asc
release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.sha512
  - copied unchanged from r44851, 
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.sha512
release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg
  - copied unchanged from r44851, 
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg
release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.asc
  - copied unchanged from r44851, 
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.asc
release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.sha512
  - copied unchanged from r44851, 
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.sha512
release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-windows-x64.exe
  - copied unchanged from r44851, 
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-windows-x64.exe
release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-windows-x64.exe.asc
  - copied unchanged from r44851, 
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-windows-x64.exe.asc

release/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-windows-x64.exe.sha512
  - copied unchanged from r44851, 
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-windows-x64.exe.sha512
Removed:
dev/netbeans/netbeans-platform/12.2/vc2/
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.asc
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.sha512
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.asc
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-macosx.dmg.sha512
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-windows-x64.exe
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-windows-x64.exe.asc
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-windows-x64.exe.sha512
dev/netbeans/netbeans/12.2/vc2/


-
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] annotated tag 12.2 updated (d73d3dd -> 0c45cf1)

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

lkishalmi pushed a change to annotated tag 12.2
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


*** WARNING: tag 12.2 was modified! ***

from d73d3dd  (commit)
  to 0c45cf1  (tag)
 tagging d73d3dd898acc440c460924dabf8ad5feb90369f (commit)
 replaces 12.1-beta1
  by Laszlo Kishalmi
  on Sat Dec 5 07:10:35 2020 -0800

- Log -
Apache NetBeans 12.2
---


No new revisions were added by this update.

Summary of changes:


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

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



[netbeans] 01/01: Try to fix NbClipboardNativeTest

2020-11-29 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch platform-primitive-wrappers
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit c43b5fb4b14125b82e126d39b77aa98bd239c1c4
Author: Laszlo Kishalmi 
AuthorDate: Sun Nov 29 18:41:11 2020 -0800

Try to fix NbClipboardNativeTest
---
 .../o.n.bootstrap/test/unit/src/org/netbeans/NbClipboardNativeTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/platform/o.n.bootstrap/test/unit/src/org/netbeans/NbClipboardNativeTest.java 
b/platform/o.n.bootstrap/test/unit/src/org/netbeans/NbClipboardNativeTest.java
index 41a24a5..b132854 100644
--- 
a/platform/o.n.bootstrap/test/unit/src/org/netbeans/NbClipboardNativeTest.java
+++ 
b/platform/o.n.bootstrap/test/unit/src/org/netbeans/NbClipboardNativeTest.java
@@ -220,7 +220,7 @@ public class NbClipboardNativeTest extends NbTestCase 
implements ClipboardListen
 protected Object getData() throws IOException, 
UnsupportedFlavorException {
 String s = 
(String)t2.getTransferData(DataFlavor.stringFlavor);
 try {
-return s;
+return Integer.valueOf(s);
 } catch (NumberFormatException nfe) {
 throw new IOException(nfe.toString());
 }


-
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 platform-primitive-wrappers created (now c43b5fb)

2020-11-29 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a change to branch platform-primitive-wrappers
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at c43b5fb  Try to fix NbClipboardNativeTest

This branch includes the following new commits:

 new c43b5fb  Try to fix NbClipboardNativeTest

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 (70f688c -> b9a3bfb)

2020-11-26 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from 70f688c  Merge pull request #2559 from t-oster/patch-1
 add b9a3bfb  Snapshot of APIs for 12.2 (#2504)

No new revisions were added by this update.

Summary of changes:
 .../org-netbeans-modules-apisupport-ant.sig|2 +-
 .../org-netbeans-modules-apisupport-installer.sig  |2 +-
 .../org-netbeans-modules-apisupport-project.sig|2 +-
 .../org-netbeans-modules-cpplite-debugger.sig  |2 +-
 .../org-netbeans-modules-cpplite-editor.sig|4 +-
 .../nbproject/org-netbeans-api-web-webmodule.sig   |2 +-
 .../org-netbeans-modules-cloud-common.sig  |2 +-
 .../nbproject/org-netbeans-modules-el-lexer.sig|2 +-
 .../org-netbeans-modules-glassfish-common.sig  |2 +-
 .../org-netbeans-modules-glassfish-eecommon.sig|2 +-
 .../org-netbeans-modules-glassfish-javaee.sig  | 1683 +++
 .../org-netbeans-modules-glassfish-tooling.sig |2 +-
 .../org-netbeans-modules-j2ee-api-ejbmodule.sig|2 +-
 .../org-netbeans-modules-j2ee-clientproject.sig|2 +-
 .../nbproject/org-netbeans-modules-j2ee-common.sig |2 +-
 .../nbproject/org-netbeans-modules-j2ee-core.sig   |2 +-
 .../org-netbeans-modules-j2ee-dd-webservice.sig|2 +-
 .../nbproject/org-netbeans-modules-j2ee-dd.sig |2 +-
 .../org-netbeans-modules-j2ee-ejbcore.sig  |2 +-
 .../org-netbeans-modules-j2ee-ejbjarproject.sig|2 +-
 .../org-netbeans-modules-j2ee-sun-appsrv.sig   |2 +-
 .../nbproject/org-netbeans-modules-j2ee-sun-dd.sig |2 +-
 .../org-netbeans-modules-j2ee-sun-ddui.sig |2 +-
 .../nbproject/org-netbeans-modules-j2eeapis.sig|2 +-
 .../nbproject/org-netbeans-modules-j2eeserver.sig  |2 +-
 .../org-netbeans-modules-javaee-project.sig|2 +-
 .../org-netbeans-modules-javaee-resources.sig  |2 +-
 .../org-netbeans-modules-javaee-specs-support.sig  |2 +-
 .../org-netbeans-modules-jellytools-enterprise.sig |2 +-
 .../nbproject/org-netbeans-modules-jsp-lexer.sig   |2 +-
 .../nbproject/org-netbeans-libs-amazon.sig |2 +-
 .../nbproject/org-netbeans-libs-elimpl.sig |2 +-
 .../org-netbeans-libs-glassfish_logging.sig|2 +-
 .../nbproject/org-netbeans-modules-maven-j2ee.sig  |  586 ++-
 .../org-netbeans-modules-payara-eecommon.sig   |2 +-
 .../org-netbeans-modules-payara-micro.sig  |2 +-
 .../org-netbeans-modules-payara-tooling.sig|4 +-
 .../org-netbeans-modules-servletjspapi.sig |2 +-
 .../nbproject/org-netbeans-modules-web-beans.sig   |2 +-
 .../nbproject/org-netbeans-modules-web-core.sig|2 +-
 .../nbproject/org-netbeans-modules-web-el.sig  |2 +-
 .../org-netbeans-modules-web-jsf-navigation.sig|2 +-
 .../nbproject/org-netbeans-modules-web-jsf.sig |2 +-
 .../nbproject/org-netbeans-modules-web-jsf12.sig   |2 +-
 .../nbproject/org-netbeans-modules-web-jsf12ri.sig |2 +-
 .../nbproject/org-netbeans-modules-web-jsf20.sig   |2 +-
 .../nbproject/org-netbeans-modules-web-jsfapi.sig  |2 +-
 .../org-netbeans-modules-web-jspparser.sig |2 +-
 .../nbproject/org-netbeans-modules-web-project.sig |2 +-
 .../org-netbeans-modules-weblogic-common.sig   |2 +-
 .../org-netbeans-modules-websvc-clientapi.sig  |2 +-
 .../nbproject/org-netbeans-modules-websvc-core.sig |2 +-
 .../org-netbeans-modules-websvc-design.sig |2 +-
 .../org-netbeans-modules-websvc-jaxws-lightapi.sig |2 +-
 .../org-netbeans-modules-websvc-jaxwsapi.sig   |2 +-
 .../org-netbeans-modules-websvc-jaxwsmodel.sig |2 +-
 .../org-netbeans-modules-websvc-manager.sig|2 +-
 .../org-netbeans-modules-websvc-projectapi.sig |2 +-
 .../nbproject/org-netbeans-modules-websvc-rest.sig |2 +-
 .../org-netbeans-modules-websvc-restapi.sig|2 +-
 .../org-netbeans-modules-websvc-restlib.sig|2 +-
 .../org-netbeans-modules-websvc-utilities.sig  |2 +-
 .../org-netbeans-modules-websvc-websvcapi.sig  |2 +-
 .../org-netbeans-modules-websvc-wsstackapi.sig |2 +-
 .../nbproject/org-netbeans-modules-gradle.sig  |   49 +-
 .../nbproject/org-netbeans-modules-libs-gradle.sig |2 +-
 .../nbproject/org-apache-tools-ant-module.sig  |2 +-
 .../org-netbeans-modules-options-java.sig  |2 +-
 .../org-netbeans-modules-groovy-editor.sig | 1713 
 .../org-netbeans-modules-groovy-support.sig|2 +-
 .../nbproject/org-netbeans-modules-libs-groovy.sig |2 +-
 .../org-netbeans-modules-jellytools-platform.sig   |2 +-
 .../jemmy/nbproject/org-netbeans-modules-jemmy.sig |2 +-
 .../nbproject/org-netbeans-modules-nbjunit.sig |2

svn commit: r44693 [1/2] - in /dev/netbeans/netbeans/12.2: Apache-NetBeans-12.2-bin-linux-x64.sh Apache-NetBeans-12.2-bin-linux-x64.sh.asc Apache-NetBeans-12.2-bin-linux-x64.sh.sha512

2020-11-25 Thread lkishalmi
Author: lkishalmi
Date: Wed Nov 25 23:36:55 2020
New Revision: 44693

Log:
Apache NetBeans 12.2 Linux Installer

Added:
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.asc
dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.sha512

Added: dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh
==
--- dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh (added)
+++ dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh Wed Nov 25 
23:36:55 2020
@@ -0,0 +1,1530386 @@
+#!/bin/sh
+#
+# 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.
+# 
+
+ARG_JAVAHOME="--javahome"
+ARG_VERBOSE="--verbose"
+ARG_OUTPUT="--output"
+ARG_EXTRACT="--extract"
+ARG_JAVA_ARG_PREFIX="-J"
+ARG_TEMPDIR="--tempdir"
+ARG_CLASSPATHA="--classpath-append"
+ARG_CLASSPATHP="--classpath-prepend"
+ARG_HELP="--help"
+ARG_SILENT="--silent"
+ARG_NOSPACECHECK="--nospacecheck"
+ARG_LOCALE="--locale"
+
+USE_DEBUG_OUTPUT=0
+PERFORM_FREE_SPACE_CHECK=1
+SILENT_MODE=0
+EXTRACT_ONLY=0
+SHOW_HELP_ONLY=0
+LOCAL_OVERRIDDEN=0
+APPEND_CP=
+PREPEND_CP=
+LAUNCHER_APP_ARGUMENTS=
+LAUNCHER_JVM_ARGUMENTS=
+ERROR_OK=0
+ERROR_TEMP_DIRECTORY=2
+ERROR_TEST_JVM_FILE=3
+ERROR_JVM_NOT_FOUND=4
+ERROR_JVM_UNCOMPATIBLE=5
+ERROR_EXTRACT_ONLY=6
+ERROR_INPUTOUPUT=7
+ERROR_FREESPACE=8
+ERROR_INTEGRITY=9
+ERROR_MISSING_RESOURCES=10
+ERROR_JVM_EXTRACTION=11
+ERROR_JVM_UNPACKING=12
+ERROR_VERIFY_BUNDLED_JVM=13
+
+VERIFY_OK=1
+VERIFY_NOJAVA=2
+VERIFY_UNCOMPATIBLE=3
+
+MSG_ERROR_JVM_NOT_FOUND="nlu.jvm.notfoundmessage"
+MSG_ERROR_USER_ERROR="nlu.jvm.usererror"
+MSG_ERROR_JVM_UNCOMPATIBLE="nlu.jvm.uncompatible"
+MSG_ERROR_INTEGRITY="nlu.integrity"
+MSG_ERROR_FREESPACE="nlu.freespace"
+MSG_ERROP_MISSING_RESOURCE="nlu.missing.external.resource"
+MSG_ERROR_TMPDIR="nlu.cannot.create.tmpdir"
+
+MSG_ERROR_EXTRACT_JVM="nlu.cannot.extract.bundled.jvm"
+MSG_ERROR_UNPACK_JVM_FILE="nlu.cannot.unpack.jvm.file"
+MSG_ERROR_VERIFY_BUNDLED_JVM="nlu.error.verify.bundled.jvm"
+
+MSG_RUNNING="nlu.running"
+MSG_STARTING="nlu.starting"
+MSG_EXTRACTING="nlu.extracting"
+MSG_PREPARE_JVM="nlu.prepare.jvm"
+MSG_JVM_SEARCH="nlu.jvm.search"
+MSG_ARG_JAVAHOME="nlu.arg.javahome"
+MSG_ARG_VERBOSE="nlu.arg.verbose"
+MSG_ARG_OUTPUT="nlu.arg.output"
+MSG_ARG_EXTRACT="nlu.arg.extract"
+MSG_ARG_TEMPDIR="nlu.arg.tempdir"
+MSG_ARG_CPA="nlu.arg.cpa"
+MSG_ARG_CPP="nlu.arg.cpp"
+MSG_ARG_DISABLE_FREE_SPACE_CHECK="nlu.arg.disable.space.check"
+MSG_ARG_LOCALE="nlu.arg.locale"
+MSG_ARG_SILENT="nlu.arg.silent"
+MSG_ARG_HELP="nlu.arg.help"
+MSG_USAGE="nlu.msg.usage"
+
+isSymlink=
+
+entryPoint() {
+initSymlinkArgument
+   CURRENT_DIRECTORY=`pwd`
+   LAUNCHER_NAME=`echo $0`
+   parseCommandLineArguments "$@"
+   initializeVariables
+   setLauncherLocale   
+   debugLauncherArguments "$@"
+   if [ 1 -eq $SHOW_HELP_ONLY ] ; then
+   showHelp
+   fi
+   
+message "$MSG_STARTING"
+createTempDirectory
+   checkFreeSpace "$TOTAL_BUNDLED_FILES_SIZE" "$LAUNCHER_EXTRACT_DIR"  
+
+extractJVMData
+   if [ 0 -eq $EXTRACT_ONLY ] ; then 
+searchJava
+   fi
+
+   extractBundledData
+   verifyIntegrity
+
+   if [ 0 -eq $EXTRACT_ONLY ] ; then 
+   executeMainClass
+   else 
+   exitProgram $ERROR_OK
+   fi
+}
+
+initSymlinkArgument() {
+testSymlinkErr=`test -L / 2>&1 > /dev/null`
+if [ -z "$testSymlinkErr" ] ; then
+isSymlink=-L
+else
+isSymlink=-h
+fi
+}
+
+debugLauncherArguments() {
+   debug &

svn commit: r44693 [2/2] - in /dev/netbeans/netbeans/12.2: Apache-NetBeans-12.2-bin-linux-x64.sh Apache-NetBeans-12.2-bin-linux-x64.sh.asc Apache-NetBeans-12.2-bin-linux-x64.sh.sha512

2020-11-25 Thread lkishalmi
Added: dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.asc
==
--- dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.asc (added)
+++ dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.asc Wed 
Nov 25 23:36:55 2020
@@ -0,0 +1,17 @@
+-BEGIN PGP SIGNATURE-
+
+iQJJBAABCgAzFiEEecjwKnJunvU2RtcSsr+BT6FFyy0FAl++6b8VHGxraXNoYWxt
+aUBhcGFjaGUub3JnAAoJELK/gU+hRcsta4AQAJT2f8FsYYzAvLe+j2ElMI08aZ4i
+HhuU1CNV5AAfYc1O7e2eLBV/wJ04HfQ9XC7TNeT/tDpMbevnvUCrw2EmPOPfukhg
+4kSDYyNm4+TUFXOm6TbZBtGW2hQHtaW3lLa4lGygS5HGLkvZuXLWXFr0eYuAAQpz
+SlQXw8gJu5QLugAprj+a7xuMgKOMUXXWYU8EM74XFcvtEYqBWxwIVTVtjjjMWM3i
+nx0zJlvBS/elmiPX2KGlR3UDtbqetUCkAwdn89WkUiAL0fdUksSi1rvskPrB+Kvt
+WaHydrw3xVtib83eZ7Y38kfRxs86dkK9mirYoWFmVVbn6Ivh8iOeuEUI8NLRt0le
+rKsyUrjXSdnX0iRpsEdXvqrCaByqFLvH191EWaEqz1hmaGF87qjenCTQKuYxXp/s
+KXfu8COoz1Zy2oF5QpsXhDaTuQvmSEdcQA6h1DpYH61rE4+DAvBSS3wcxJ92uAj2
+dzXiBM/MvKVZ2u+eJj3He7y9hd7BnAEKLVCmiXLrzX7FEfQJHTzZIXwOP2zJqB8l
+wbwKq5SaTfcIIr/75VESYNRyakz4WR7vMoDy1uStHlhDRN9lviA9oNcaTuBAl5s/
++lT58c8In116CWSCyqeOh95wgy1rJr5aMSiM60ZCuAr2N2cI9qLFD9Km+kEtPUFE
+NKcj2iIiz4i5ds6t
+=IkNl
+-END PGP SIGNATURE-

Added: dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.sha512
==
--- dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.sha512 
(added)
+++ dev/netbeans/netbeans/12.2/Apache-NetBeans-12.2-bin-linux-x64.sh.sha512 Wed 
Nov 25 23:36:55 2020
@@ -0,0 +1 @@
+0dd65073e9565abcd6c77acdf24cf695cf3576ce74cdef6ba42776e3cf01d30f77a8d89aef35900d186cd757549ddfd1cc51f07bb362002539042c8bbad886b1
  Apache-NetBeans-12.2-bin-linux-x64.sh



-
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: Provide shorter evaluation error, without the unneccessary prefix.

2020-11-22 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi 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 bcdd20f  Provide shorter evaluation error, without the unneccessary 
prefix.
bcdd20f is described below

commit bcdd20ffaa5dc5384634dffb3c9cc26f3c97cb69
Author: Martin Entlicher 
AuthorDate: Mon Nov 9 16:33:51 2020 +0100

Provide shorter evaluation error, without the unneccessary prefix.
---
 .../modules/debugger/jpda/truffle/access/TruffleEval.java | 8 
 .../modules/debugger/jpda/expr/InvocationExceptionTranslated.java | 4 
 .../modules/java/lsp/server/debugging/NbProtocolServer.java   | 6 +++---
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git 
a/java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/access/TruffleEval.java
 
b/java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/access/TruffleEval.java
index 08c0e9c..80b3ae9 100644
--- 
a/java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/access/TruffleEval.java
+++ 
b/java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/access/TruffleEval.java
@@ -26,6 +26,7 @@ import org.netbeans.api.debugger.jpda.JPDADebugger;
 import org.netbeans.api.debugger.jpda.JPDAThread;
 import org.netbeans.api.debugger.jpda.ObjectVariable;
 import org.netbeans.api.debugger.jpda.Variable;
+import org.netbeans.modules.debugger.jpda.expr.InvocationExceptionTranslated;
 import org.netbeans.modules.debugger.jpda.truffle.TruffleDebugManager;
 import org.openide.util.Exceptions;
 import org.openide.util.NbBundle;
@@ -58,6 +59,13 @@ public class TruffleEval {
 new Variable[] { stackFrameInstance,
  mirrorExpression });
 return valueVar;
+} catch (InvalidExpressionException ex) {
+Throwable targetException = ex.getTargetException();
+if (targetException instanceof InvocationExceptionTranslated) {
+// We do not want to prepend Java exception message:
+((InvocationExceptionTranslated) 
targetException).resetInvocationMessage();
+}
+throw ex;
 } catch (InvalidObjectException | NoSuchMethodException ex) {
 try {
 return debugger.createMirrorVar(ex.getLocalizedMessage());
diff --git 
a/java/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/InvocationExceptionTranslated.java
 
b/java/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/InvocationExceptionTranslated.java
index d0f824d..5610df2 100644
--- 
a/java/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/InvocationExceptionTranslated.java
+++ 
b/java/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/InvocationExceptionTranslated.java
@@ -95,6 +95,10 @@ public class InvocationExceptionTranslated extends Exception 
{
 this.createdAt = new Throwable().fillInStackTrace();
 }
 
+public void resetInvocationMessage() {
+this.invocationMessage = null;
+}
+
 public void setPreferredThread(JPDAThreadImpl preferredThread) {
 this.preferredThread = preferredThread;
 }
diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/NbProtocolServer.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/NbProtocolServer.java
index bc6793b..cb2eff9 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/NbProtocolServer.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/NbProtocolServer.java
@@ -379,13 +379,13 @@ public final class NbProtocolServer implements 
IDebugProtocolServer {
 String expression = args.getExpression();
 if (StringUtils.isBlank(expression)) {
 throw ErrorUtilities.createResponseErrorException(
-"Failed to evaluate. Reason: Empty expression cannot be 
evaluated.",
+"Empty expression cannot be evaluated.",
 ResponseErrorCode.InvalidParams);
 }
 NbFrame stackFrame = (NbFrame) 
context.getThreadsProvider().getThreadObjects().getObject(args.getFrameId());
 if (stackFrame == null) {
 throw ErrorUtilities.createResponseErrorException(
-"Failed to evaluate. Reason: Unknown frame " + 
args.getFrameId(),
+"Unknown frame " + args.getFrameId(),
 ResponseErrorCode.InvalidParams);
 }
 stackFrame.getDVFrame().makeCurrent(); // The evaluation is always 
performed with respect to the current frame
@@ -397,7 +397,7 @@ public final class NbProtocolServer implements 
IDebugProtocolServer {
 variable = debugger.ev

[netbeans] branch master updated (cf7e546 -> 461dd54)

2020-11-22 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from cf7e546  Go to File search based on folder path too (bz #222697, 
NETBEANS-5010)
 add 461dd54  [NETBEANS-5032] - update .gitignore to include a few test 
dirs..

No new revisions were added by this update.

Summary of changes:
 .gitignore | 10 +++---
 1 file changed, 7 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] branch master updated (ab81c31 -> cf7e546)

2020-11-22 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from ab81c31  [NETBEANS-5049] Prevent NPEs in SemanicHighlighter.
 add cf7e546  Go to File search based on folder path too (bz #222697, 
NETBEANS-5010)

No new revisions were added by this update.

Summary of changes:
 .../modules/jumpto/common/ItemRenderer.java| 32 +-
 .../netbeans/modules/jumpto/file/FileIndexer.java  | 20 +-
 .../modules/jumpto/file/FileSearchAction.java  | 22 ---
 .../modules/jumpto/file/FileSearchOptions.java |  9 ++
 .../modules/jumpto/file/FileSearchPanel.form   | 15 ++
 .../modules/jumpto/file/FileSearchPanel.java   | 28 ---
 .../org/netbeans/modules/jumpto/file/Worker.java   | 21 --
 7 files changed, 129 insertions(+), 18 deletions(-)


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

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



[netbeans] branch master updated (514e170 -> ab81c31)

2020-11-22 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from 514e170  Merge pull request #2535 from 
KacerCZ/netbeans-5027-display-array-param
 add ab81c31  [NETBEANS-5049] Prevent NPEs in SemanicHighlighter.

No new revisions were added by this update.

Summary of changes:
 .../java/editor/base/semantic/SemanticHighlighterBase.java| 2 +-
 .../org/netbeans/modules/java/editor/base/semantic/TokenList.java | 8 ++--
 2 files changed, 7 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



svn commit: r44612 - in /dev/netbeans: netbeans-platform/12.2/vc1/ netbeans-platform/12.2/vc2/ netbeans/12.2/vc1/ netbeans/12.2/vc2/ netbeans/12.2/vc2/nbms/ netbeans/12.2/vc2/nbms/apisupport/ netbeans

2020-11-20 Thread lkishalmi
Author: lkishalmi
Date: Sat Nov 21 06:42:09 2020
New Revision: 44612

Log:
Apache NetBeans 12.2


[This commit notification would consist of 197 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

-
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-jenkins-lib] branch master updated: Prepare for 2nd round of Vote for NetBeans 12.2

2020-11-20 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new ff762b4  Prepare for 2nd round of Vote for NetBeans 12.2
ff762b4 is described below

commit ff762b4a31c244a1ae05db7d2ace8a93c5e611e3
Author: Laszlo Kishalmi 
AuthorDate: Fri Nov 20 14:34:38 2020 -0800

Prepare for 2nd round of Vote for NetBeans 12.2
---
 meta/netbeansrelease.json | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index cf7479b..0e635a8 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -336,6 +336,7 @@
 },
 "d73d3dd898acc440c460924dabf8ad5feb90369f": {
 "version": "rc3",
+"vote": "2",
 "position": "6"
 }
 },


-
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-rc3 created (now d73d3dd)

2020-11-20 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a change to tag 12.2-rc3
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at d73d3dd  (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] 01/01: Merge NetBeans 12.2-rc3 changes to master

2020-11-19 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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

commit 32e634b916e41228acf8fa8718922cfe73aa8298
Merge: badeff7 d73d3dd
Author: Laszlo Kishalmi 
AuthorDate: Thu Nov 19 08:03:54 2020 -0800

Merge NetBeans 12.2-rc3 changes to master

 .../java.lsp.server/vscode/{README.md => BUILD.md} | 33 ++--
 java/java.lsp.server/vscode/README.md  | 96 +++---
 java/java.lsp.server/vscode/package.json   |  3 +-
 3 files changed, 42 insertions(+), 90 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 (badeff7 -> 32e634b)

2020-11-19 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from badeff7  Fix call to find jdkhome using /usr/libexec/java_home for 
macOS Big Sur.
 add 0d499c7  Fix call to find jdkhome using /usr/libexec/java_home for 
macOS Big Sur.
 add 08cc316  Turning on lexer.nbbridge enables Go to declaration in VSCode
 add d73d3dd  End user oriented README.md and dedicated BUILD.md (#2546)
 new 32e634b  Merge NetBeans 12.2-rc3 changes to master

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


Summary of changes:
 .../java.lsp.server/vscode/{README.md => BUILD.md} | 33 ++--
 java/java.lsp.server/vscode/README.md  | 96 +++---
 java/java.lsp.server/vscode/package.json   |  3 +-
 3 files changed, 42 insertions(+), 90 deletions(-)
 copy java/java.lsp.server/vscode/{README.md => BUILD.md} (70%)


-
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.3-rc3 created (now d73d3dd)

2020-11-19 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a change to tag 12.3-rc3
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at d73d3dd  (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 (d2b8034 -> d73d3dd)

2020-11-19 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from d2b8034  Prevent endless restarts when changing JDKs.
 add 0d499c7  Fix call to find jdkhome using /usr/libexec/java_home for 
macOS Big Sur.
 add 08cc316  Turning on lexer.nbbridge enables Go to declaration in VSCode
 add d73d3dd  End user oriented README.md and dedicated BUILD.md (#2546)

No new revisions were added by this update.

Summary of changes:
 .../nbcode/nbproject/platform.properties   |  1 -
 .../java.lsp.server/vscode/{README.md => BUILD.md} | 33 ++--
 java/java.lsp.server/vscode/README.md  | 96 +++---
 java/java.lsp.server/vscode/package.json   |  3 +-
 platform/o.n.bootstrap/launcher/unix/nbexec|  7 +-
 5 files changed, 47 insertions(+), 93 deletions(-)
 copy java/java.lsp.server/vscode/{README.md => BUILD.md} (70%)


-
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-jenkins-lib] branch master updated: Prepare for NetBeans 12.2-rc3

2020-11-19 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 96b7228  Prepare for NetBeans 12.2-rc3
96b7228 is described below

commit 96b72286951f6f432d49bc30c9ab3f17b8d3ae29
Author: Laszlo Kishalmi 
AuthorDate: Thu Nov 19 08:00:53 2020 -0800

Prepare for NetBeans 12.2-rc3
---
 meta/netbeansrelease.json | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json
index 90ce209..cf7479b 100644
--- a/meta/netbeansrelease.json
+++ b/meta/netbeansrelease.json
@@ -333,6 +333,10 @@
 "version": "rc2",
 "vote": "1",
 "position": "5"
+},
+"d73d3dd898acc440c460924dabf8ad5feb90369f": {
+"version": "rc3",
+"position": "6"
 }
 },
 "releasedate": {


-
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: End user oriented README.md and dedicated BUILD.md (#2546)

2020-11-19 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/delivery by this push:
 new d73d3dd  End user oriented README.md and dedicated BUILD.md (#2546)
d73d3dd is described below

commit d73d3dd898acc440c460924dabf8ad5feb90369f
Author: Jaroslav Tulach 
AuthorDate: Thu Nov 19 16:56:22 2020 +0100

End user oriented README.md and dedicated BUILD.md (#2546)

* End user oriented README.md and dedicated BUILD.md

* Fixing extension description and marking extension as technology preview 
in package.json.

* Use VS Code instead of VSCode

* User projects are build with netbeans.jdkhome specified JDK

* Updating titles

* Using * instead of 1 as a hyperlink label

* Update README.md

VSNetBeans -> Apache NetBeans Language Server

Co-authored-by: Dusan Balek 
---
 .../java.lsp.server/vscode/{README.md => BUILD.md} | 33 ++--
 java/java.lsp.server/vscode/README.md  | 96 +++---
 java/java.lsp.server/vscode/package.json   |  3 +-
 3 files changed, 42 insertions(+), 90 deletions(-)

diff --git a/java/java.lsp.server/vscode/README.md 
b/java/java.lsp.server/vscode/BUILD.md
similarity index 70%
copy from java/java.lsp.server/vscode/README.md
copy to java/java.lsp.server/vscode/BUILD.md
index 50ca1f0..46d66ec 100644
--- a/java/java.lsp.server/vscode/README.md
+++ b/java/java.lsp.server/vscode/BUILD.md
@@ -1,4 +1,4 @@
-# NBCode: A NetBeans based Extension for VSCode
+# Developing NetBeans based Extension for VS Code
 
 
 
+## Getting the Code
 
-Get all the goodies of NetBeans via the VSCode user interface!
+```bash
+$ git clone https://github.com/apache/netbeans.git
+$ cd netbeans/
+```
 
 ## Building
 
@@ -68,7 +72,7 @@ netbeans$ ant clean
 Have a sample Maven project, open it in NetBeans first and select the main 
file for both
 the Run and Debug actions.
 
-To use the extension created for developement you can run VSCode with
+To use the extension created for developement you can run VS Code with
 following parameter:
 
 ```bash
@@ -78,7 +82,7 @@ vscode$ code --extensionDevelopmentPath=`pwd` 
path_to_the_maven_project
 Or you can open the `vscode` folder in `code` directly and use **F5** to
 debug the extension's *typescript code*.
 
-To debug the *Java code*, launch the NetBeans part of the VSCode system first
+To debug the *Java code*, launch the NetBeans part of the VS Code system first
 and specify suitable debug arguments:
 
 ```bash
@@ -86,28 +90,9 @@ vscode$ npm run nbcode -- --jdkhome /jdk-14/ 
-J-agentlib:jdwp=transport=dt_socke
 ```
 
 Connect to the process with Java debugger, setup all breakpoints. Then launch 
-and connect from the VSCode extension:
+and connect from the VS Code extension:
 
 ```bash
 vscode$ code --extensionDevelopmentPath=`pwd` path_to_the_maven_project
 ```
 
-## Selecting the JDK
-
-The NbCode Java part needs to run on a JDK. The JDK is being searched in
-following locations:
-
-- `netbeans.jdkhome` setting (workspace then user settings)
-- `java.home` setting (workspace then user settings)
-- `JDK_HOME` environment variable
-- `JAVA_HOME` environment variable
-- current system path
-
-As soon as one of the settings is changed, the NbCode Java part is restarted.
-
-## Conflicts with other Java Extensions
-
-Apache NetBeans Language Server extension isn't the only Java supporting
-extension. To avoid duplicated code completion and other misleading clashes
-the extension disables certain functionality known to cause problems. This
-behavior can be disabled by setting `netbeans.conflict.check` setting to 
`false`.
diff --git a/java/java.lsp.server/vscode/README.md 
b/java/java.lsp.server/vscode/README.md
index 50ca1f0..e36fdbc 100644
--- a/java/java.lsp.server/vscode/README.md
+++ b/java/java.lsp.server/vscode/README.md
@@ -1,4 +1,4 @@
-# NBCode: A NetBeans based Extension for VSCode
+# Apache NetBeans Language Server Extension for VS Code
 
 
 
+This is a technology preview of [Apache NetBeans](http://netbeans.org)
+based extension for VS Code. Use it to get all the _goodies of NetBeans_
+via the VS Code user interface! Run on __JDK8__[*], __JDK11__, __JDK15__, etc.
 
-Get all the goodies of NetBeans via the VSCode user interface!
+[*]: <http://github.com/oracle/nb-javac> "Running on JDK8 requires additional 
download of GPLv2 with ClassPath Exception code"
 
-## Building
+Invoke "Open Folder" action to open project directories with `pom.xml` or 
`build.gradle`
+build scripts. Edit, compile and debug (with the __Java 8+__ debugger 
configuration)
+the `.java` application and test files in such projects. Debug not only Java 
code,
+but JavaScript, Python, Ruby polyglot programs at once.
 
-To build the VS Code extension invoke:
+## Getting Started
 
-```bash
-netbea

[netbeans] branch delivery updated: Turning on lexer.nbbridge enables Go to declaration in VSCode

2020-11-19 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/delivery by this push:
 new 08cc316  Turning on lexer.nbbridge enables Go to declaration in VSCode
08cc316 is described below

commit 08cc3161a818e7d78d5eb644f56f3271f2b02568
Author: Jaroslav Tulach 
AuthorDate: Mon Nov 16 16:04:07 2020 +0100

Turning on lexer.nbbridge enables Go to declaration in VSCode
---
 java/java.lsp.server/nbcode/nbproject/platform.properties | 1 -
 1 file changed, 1 deletion(-)

diff --git a/java/java.lsp.server/nbcode/nbproject/platform.properties 
b/java/java.lsp.server/nbcode/nbproject/platform.properties
index 5d5e54f..7ea8766 100644
--- a/java/java.lsp.server/nbcode/nbproject/platform.properties
+++ b/java/java.lsp.server/nbcode/nbproject/platform.properties
@@ -250,7 +250,6 @@ disabled.modules=\
 org.netbeans.modules.languages.ini,\
 org.netbeans.modules.languages.manifest,\
 org.netbeans.modules.languages.yaml,\
-org.netbeans.modules.lexer.nbbridge,\
 org.netbeans.modules.localhistory,\
 org.netbeans.modules.localtasks,\
 org.netbeans.modules.lsp.client,\


-
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: Fix call to find jdkhome using /usr/libexec/java_home for macOS Big Sur.

2020-11-19 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/delivery by this push:
 new 0d499c7  Fix call to find jdkhome using /usr/libexec/java_home for 
macOS Big Sur.
0d499c7 is described below

commit 0d499c741cc526f0db563242e9863e6c81dfe708
Author: Christian Oyarzun 
AuthorDate: Tue Nov 17 14:55:03 2020 -0500

Fix call to find jdkhome using /usr/libexec/java_home for macOS Big Sur.
---
 platform/o.n.bootstrap/launcher/unix/nbexec | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/platform/o.n.bootstrap/launcher/unix/nbexec 
b/platform/o.n.bootstrap/launcher/unix/nbexec
index f59096a..dc8ca07 100755
--- a/platform/o.n.bootstrap/launcher/unix/nbexec
+++ b/platform/o.n.bootstrap/launcher/unix/nbexec
@@ -140,10 +140,13 @@ if [ -z "$jdkhome" ] ; then
 # try to find JDK
 case "`uname`" in
 Darwin*)
+# check if JAVA_HOME is empty string since java_home will return 
the value of JAVA_HOME
+if [ -z "$JAVA_HOME" ]; then
+unset JAVA_HOME
+fi
 # read Java Preferences
 if [ -x "/usr/libexec/java_home" ]; then
-jdkhome=`/usr/libexec/java_home --version 1.8.0+ --failfast`
-
+jdkhome=`/usr/libexec/java_home --version 1.8+`
 # JDK1.8 as a fallback
 elif [ -f 
"/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin/java" ] ; then
 
jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home"


-
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: Fix call to find jdkhome using /usr/libexec/java_home for macOS Big Sur.

2020-11-19 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi 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 badeff7  Fix call to find jdkhome using /usr/libexec/java_home for 
macOS Big Sur.
badeff7 is described below

commit badeff790fc663e0c1cd7596099ca12008839117
Author: Christian Oyarzun 
AuthorDate: Tue Nov 17 14:55:03 2020 -0500

Fix call to find jdkhome using /usr/libexec/java_home for macOS Big Sur.
---
 platform/o.n.bootstrap/launcher/unix/nbexec | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/platform/o.n.bootstrap/launcher/unix/nbexec 
b/platform/o.n.bootstrap/launcher/unix/nbexec
index f59096a..dc8ca07 100755
--- a/platform/o.n.bootstrap/launcher/unix/nbexec
+++ b/platform/o.n.bootstrap/launcher/unix/nbexec
@@ -140,10 +140,13 @@ if [ -z "$jdkhome" ] ; then
 # try to find JDK
 case "`uname`" in
 Darwin*)
+# check if JAVA_HOME is empty string since java_home will return 
the value of JAVA_HOME
+if [ -z "$JAVA_HOME" ]; then
+unset JAVA_HOME
+fi
 # read Java Preferences
 if [ -x "/usr/libexec/java_home" ]; then
-jdkhome=`/usr/libexec/java_home --version 1.8.0+ --failfast`
-
+jdkhome=`/usr/libexec/java_home --version 1.8+`
 # JDK1.8 as a fallback
 elif [ -f 
"/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin/java" ] ; then
 
jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home"


-
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 (b423c37 -> e6a3346)

2020-11-17 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from b423c37  Turning on lexer.nbbridge enables Go to declaration in VSCode
 add e6a3346  [NETBEANS-819] partial fix for cursor. Text selection does't 
work

No new revisions were added by this update.

Summary of changes:
 .../org/netbeans/lib/terminalemulator/Line.java| 124 ++---
 .../lib/terminalemulator/MyFontMetrics.java|  28 +++--
 .../src/org/netbeans/lib/terminalemulator/Sel.java |  22 ++--
 .../org/netbeans/lib/terminalemulator/Term.java|  64 +--
 4 files changed, 118 insertions(+), 120 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 (b423c37 -> e6a3346)

2020-11-17 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from b423c37  Turning on lexer.nbbridge enables Go to declaration in VSCode
 add e6a3346  [NETBEANS-819] partial fix for cursor. Text selection does't 
work

No new revisions were added by this update.

Summary of changes:
 .../org/netbeans/lib/terminalemulator/Line.java| 124 ++---
 .../lib/terminalemulator/MyFontMetrics.java|  28 +++--
 .../src/org/netbeans/lib/terminalemulator/Sel.java |  22 ++--
 .../org/netbeans/lib/terminalemulator/Term.java|  64 +--
 4 files changed, 118 insertions(+), 120 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 (949d9f8 -> b423c37)

2020-11-17 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from 949d9f8  Update GitHub action dependency
 add b423c37  Turning on lexer.nbbridge enables Go to declaration in VSCode

No new revisions were added by this update.

Summary of changes:
 java/java.lsp.server/nbcode/nbproject/platform.properties | 1 -
 1 file changed, 1 deletion(-)


-
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 (c954f48 -> 949d9f8)

2020-11-17 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from c954f48  Adding support for workspace/symbol to both the LSP client 
and Java LSP server.
 add 949d9f8  Update GitHub action dependency

No new revisions were added by this update.

Summary of changes:
 .github/workflows/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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 (c954f48 -> 949d9f8)

2020-11-17 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from c954f48  Adding support for workspace/symbol to both the LSP client 
and Java LSP server.
 add 949d9f8  Update GitHub action dependency

No new revisions were added by this update.

Summary of changes:
 .github/workflows/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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 (c954f48 -> 949d9f8)

2020-11-17 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from c954f48  Adding support for workspace/symbol to both the LSP client 
and Java LSP server.
 add 949d9f8  Update GitHub action dependency

No new revisions were added by this update.

Summary of changes:
 .github/workflows/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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 (c954f48 -> 949d9f8)

2020-11-17 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from c954f48  Adding support for workspace/symbol to both the LSP client 
and Java LSP server.
 add 949d9f8  Update GitHub action dependency

No new revisions were added by this update.

Summary of changes:
 .github/workflows/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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: r44510 - in /dev/netbeans: netbeans-platform/12.2/ netbeans-platform/12.2/vc1/ netbeans/12.2/ netbeans/12.2/nbms/ netbeans/12.2/vc1/ netbeans/12.2/vc1/nbms/

2020-11-15 Thread lkishalmi
Author: lkishalmi
Date: Mon Nov 16 07:44:31 2020
New Revision: 44510

Log:
Apache NetBeans 12.2 [vote candidate 1]

Added:
dev/netbeans/netbeans-platform/12.2/vc1/
dev/netbeans/netbeans-platform/12.2/vc1/netbeans-platform-12.2-bin.zip
  - copied unchanged from r44509, 
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-bin.zip
dev/netbeans/netbeans-platform/12.2/vc1/netbeans-platform-12.2-bin.zip.asc
  - copied unchanged from r44509, 
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-bin.zip.asc

dev/netbeans/netbeans-platform/12.2/vc1/netbeans-platform-12.2-bin.zip.sha512
  - copied unchanged from r44509, 
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-bin.zip.sha512
dev/netbeans/netbeans-platform/12.2/vc1/netbeans-platform-12.2-source.zip
  - copied unchanged from r44509, 
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-source.zip

dev/netbeans/netbeans-platform/12.2/vc1/netbeans-platform-12.2-source.zip.asc
  - copied unchanged from r44509, 
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-source.zip.asc

dev/netbeans/netbeans-platform/12.2/vc1/netbeans-platform-12.2-source.zip.sha512
  - copied unchanged from r44509, 
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-source.zip.sha512
dev/netbeans/netbeans/12.2/vc1/
dev/netbeans/netbeans/12.2/vc1/nbms/
  - copied from r44509, dev/netbeans/netbeans/12.2/nbms/
dev/netbeans/netbeans/12.2/vc1/netbeans-12.2-bin.zip
  - copied unchanged from r44509, 
dev/netbeans/netbeans/12.2/netbeans-12.2-bin.zip
dev/netbeans/netbeans/12.2/vc1/netbeans-12.2-bin.zip.asc
  - copied unchanged from r44509, 
dev/netbeans/netbeans/12.2/netbeans-12.2-bin.zip.asc
dev/netbeans/netbeans/12.2/vc1/netbeans-12.2-bin.zip.sha512
  - copied unchanged from r44509, 
dev/netbeans/netbeans/12.2/netbeans-12.2-bin.zip.sha512
dev/netbeans/netbeans/12.2/vc1/netbeans-12.2-source.zip
  - copied unchanged from r44509, 
dev/netbeans/netbeans/12.2/netbeans-12.2-source.zip
dev/netbeans/netbeans/12.2/vc1/netbeans-12.2-source.zip.asc
  - copied unchanged from r44509, 
dev/netbeans/netbeans/12.2/netbeans-12.2-source.zip.asc
dev/netbeans/netbeans/12.2/vc1/netbeans-12.2-source.zip.sha512
  - copied unchanged from r44509, 
dev/netbeans/netbeans/12.2/netbeans-12.2-source.zip.sha512
Removed:
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-bin.zip
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-bin.zip.asc
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-bin.zip.sha512
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-source.zip
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-source.zip.asc
dev/netbeans/netbeans-platform/12.2/netbeans-platform-12.2-source.zip.sha512
dev/netbeans/netbeans/12.2/nbms/
dev/netbeans/netbeans/12.2/netbeans-12.2-bin.zip
dev/netbeans/netbeans/12.2/netbeans-12.2-bin.zip.asc
dev/netbeans/netbeans/12.2/netbeans-12.2-bin.zip.sha512
dev/netbeans/netbeans/12.2/netbeans-12.2-source.zip
dev/netbeans/netbeans/12.2/netbeans-12.2-source.zip.asc
dev/netbeans/netbeans/12.2/netbeans-12.2-source.zip.sha512


-
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: r44509 - in /dev/netbeans: netbeans-platform/12.2/ netbeans/12.1/ netbeans/12.2/ netbeans/12.2/nbms/ netbeans/12.2/nbms/apisupport/ netbeans/12.2/nbms/cpplite/ netbeans/12.2/nbms/enterpris

2020-11-15 Thread lkishalmi
Author: lkishalmi
Date: Mon Nov 16 07:37:21 2020
New Revision: 44509

Log:
Apache NetBeans 12.2


[This commit notification would consist of 197 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

-
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   7   >