(netbeans) 02/02: Missing guava breaks LSP structures toString

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

sdedic pushed a commit to branch sdedic/feature/project-dependency-add_base
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 615a7a94f6f16763c5147c285779fc2b0872ae13
Author: Svata Dedic 
AuthorDate: Tue Dec 19 19:40:00 2023 +0100

Missing guava breaks LSP structures toString
---
 java/java.lsp.server/nbproject/project.xml | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/java/java.lsp.server/nbproject/project.xml 
b/java/java.lsp.server/nbproject/project.xml
index 2994df98cf..f77fd9b28b 100644
--- a/java/java.lsp.server/nbproject/project.xml
+++ b/java/java.lsp.server/nbproject/project.xml
@@ -688,6 +688,12 @@
 9.24
 
 
+
+com.google.guava
+
+27.16
+
+
 
 
 


-
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 sdedic/feature/project-dependency-add_base updated (ccf6a0cdfb -> 615a7a94f6)

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

sdedic pushed a change to branch sdedic/feature/project-dependency-add_base
in repository https://gitbox.apache.org/repos/asf/netbeans.git


from ccf6a0cdfb Compensate Lsp4j bad EnumSet deserialization.
 new 73a7f480df Added more logging
 new 615a7a94f6 Missing guava breaks LSP structures toString

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


Summary of changes:
 java/java.lsp.server/nbproject/project.xml  | 6 ++
 .../modules/java/lsp/server/protocol/TextDocumentServiceImpl.java   | 5 +
 2 files changed, 11 insertions(+)


-
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/02: Added more logging

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

sdedic pushed a commit to branch sdedic/feature/project-dependency-add_base
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 73a7f480df5fdfaa3f6429c2adf75409e2b6db94
Author: Svata Dedic 
AuthorDate: Tue Dec 19 19:39:33 2023 +0100

Added more logging
---
 .../modules/java/lsp/server/protocol/TextDocumentServiceImpl.java| 5 +
 1 file changed, 5 insertions(+)

diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
index 4a101d81ce..7cc97dd6c8 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java
@@ -1628,6 +1628,7 @@ public class TextDocumentServiceImpl implements 
TextDocumentService, LanguageCli
 
 @Override
 public void didOpen(DidOpenTextDocumentParams params) {
+LOG.log(Level.FINER, "didOpen: {0}", params);
 try {
 FileObject file = fromURI(params.getTextDocument().getUri(), true);
 if (file == null) {
@@ -1699,6 +1700,7 @@ public class TextDocumentServiceImpl implements 
TextDocumentService, LanguageCli
 
 @Override
 public void didChange(DidChangeTextDocumentParams params) {
+LOG.log(Level.FINER, "didChange: {0}", params);
 String uri = params.getTextDocument().getUri();
 Document rawDoc = server.getOpenedDocuments().getDocument(uri);
 if (rawDoc != null) {
@@ -1725,6 +1727,7 @@ public class TextDocumentServiceImpl implements 
TextDocumentService, LanguageCli
 
 @Override
 public void didClose(DidCloseTextDocumentParams params) {
+LOG.log(Level.FINER, "didClose: {0}", params);
 try {
 String uri = params.getTextDocument().getUri();
 // the order here is important ! As the file may cease to exist, 
it's
@@ -1748,6 +1751,7 @@ public class TextDocumentServiceImpl implements 
TextDocumentService, LanguageCli
 
 @Override
 public CompletableFuture> 
willSaveWaitUntil(WillSaveTextDocumentParams params) {
+LOG.log(Level.FINER, "willSaveWaitUntil: {0}", params);
 String uri = params.getTextDocument().getUri();
 JavaSource js = getJavaSource(uri);
 if (js == null) {
@@ -1775,6 +1779,7 @@ public class TextDocumentServiceImpl implements 
TextDocumentService, LanguageCli
 @Override
 public void didSave(DidSaveTextDocumentParams arg0) {
 //TODO: nothing for now?
+LOG.log(Level.FINER, "didSave: {0}", arg0);
 }
 
 CompletableFuture> superImplementations(String 
uri, Position position) {


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

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



[jira] [Closed] (NETBEANS-6143) Project Groups dialog layout problems with --fontsize 16

2023-12-19 Thread Michael Bien (Jira)


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

Michael Bien closed NETBEANS-6143.
--
Fix Version/s: 21
   Resolution: Fixed

> Project Groups dialog layout problems with --fontsize 16
> 
>
> Key: NETBEANS-6143
> URL: https://issues.apache.org/jira/browse/NETBEANS-6143
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
>Reporter: Mitch Claborn
>Priority: Minor
> Fix For: 21
>
> Attachments: groups1.png
>
>
> When *--fontsize 16* is specified in netbeans.conf on the in the 
> netbeans_default_options value, the Project Groups dialog doesn't show the 
> full text for the "Remove All" button. See attached groups1.png. Without 
> --fontsize 16 the full text "Remove All" is visible.
> PS - there really should be some white space on the right side of those 
> buttons.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
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 (82b454bb64 -> f874870091)

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

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


from 82b454bb64 Merge pull request #6864 from mbien/update-issue-template
 new 341c32de94 Fix Project Group window EDT race condition
 new b39c0de12a [NETBEANS-6143] Fix project group layout problems with 
--fontsize
 new 240e037650 New-group dialog should open manage-group dialog again
 new f874870091 Merge pull request #6772 from 
mbien/fix-project-group-window-race

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


Summary of changes:
 .../modules/project/ui/groups/GroupsMenu.java  | 100 -
 .../project/ui/groups/ManageGroupsPanel.form   |  39 +---
 .../project/ui/groups/ManageGroupsPanel.java   |  70 ---
 .../modules/project/ui/groups/NewGroupPanel.form   |  10 +--
 .../modules/project/ui/groups/NewGroupPanel.java   |  34 +++
 5 files changed, 77 insertions(+), 176 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: Issue template: make how-to-reproduce mandatory, add component field

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

mbien 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 60d1c0316a Issue template: make how-to-reproduce mandatory, add 
component field
 new 82b454bb64 Merge pull request #6864 from mbien/update-issue-template
60d1c0316a is described below

commit 60d1c0316a65ae2126a94e52821750d3dc0f2736
Author: Michael Bien 
AuthorDate: Tue Dec 19 14:20:28 2023 +0100

Issue template: make how-to-reproduce mandatory, add component field
---
 .github/ISSUE_TEMPLATE/netbeans_bug_report.yml | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml 
b/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml
index e881d0fff4..39d09225a5 100644
--- a/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml
@@ -38,12 +38,19 @@ body:
   description: Describe what happened, what you expected to happen, and 
what went wrong.
   placeholder: >
 Please provide the context in which the problem occurred and explain 
what happened.
-Explain why you think the behaviour is erroneous. It is extremely 
helpful if you copy
+Explain why you think the behaviour is erroneous. It is extremely 
helpful if you attach the messages.log file or copy
 the fragment of logs showing the exact error messages or wrong 
behaviour and screenshots for
 UI problems or YouTube link to a video of you demonstrating the 
problem. You can include files by
 dragging and dropping them here.
 validations:
   required: true
+  - type: input
+attributes:
+  label: Language / Project Type / NetBeans Component
+  description: >
+Narrow down the specific area, examples: 'Java Maven Web application 
project',
+'PHP project', 'NetBeans Platform Application wizard' or 'NetBeans 
Windows Installer'.
+  placeholder: "Java Maven Project using Java Modules (JPMS)"
   - type: textarea
 attributes:
   label: How to reproduce
@@ -54,6 +61,8 @@ body:
 Please make sure you provide a reproducible step-by-step case of how 
to reproduce the problem
 as minimally and precisely as possible. Remember that non-reproducible 
issues may be closed or
 converted into discussions. If we cannot reproduce an issue we cannot 
fix it!
+validations:
+  required: true
   - type: dropdown
 attributes:
   label: Did this work correctly in an earlier version?


-
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: Cleanup readme and a few updates.

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

mbien 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 f9c1be04cf Cleanup readme and a few updates.
 new b4db3c823a Merge pull request #6721 from mbien/small-readme-cleanup
f9c1be04cf is described below

commit f9c1be04cf81e6db0c53c3f9032756a0021d319e
Author: Michael Bien 
AuthorDate: Sat Nov 18 11:00:57 2023 +0100

Cleanup readme and a few updates.

 - add another workflow badge
 - add links to other NB repositories
 - misc cleanup / indentation
---
 README.md | 22 +-
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index 3c11b06327..374567ca43 100644
--- a/README.md
+++ b/README.md
@@ -19,8 +19,6 @@
 
 -->
 
-https://foojay.io/today/works-with-openjdk;>https://github.com/foojayio/badges/raw/main/works_with_openjdk/Works-with-OpenJDK.png;
 width="100">
-
 # Apache NetBeans
 
 Apache NetBeans is an open source development environment, tooling platform, 
and application framework.
@@ -29,6 +27,7 @@ Apache NetBeans is an open source development environment, 
tooling platform, and
* GitHub actions
  * [![Build 
Status](https://github.com/apache/netbeans/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/apache/netbeans/actions/workflows/main.yml)
  * [![Profiler Lib Native 
Binaries](https://github.com/apache/netbeans/actions/workflows/native-binary-build-lib.profiler.yml/badge.svg?branch=master)](https://github.com/apache/netbeans/actions/workflows/native-binary-build-lib.profiler.yml)
+ * [![NetBeans Native Execution 
Libraries](https://github.com/apache/netbeans/actions/workflows/native-binary-build-dlight.nativeexecution.yml/badge.svg?branch=master)](https://github.com/apache/netbeans/actions/workflows/native-binary-build-dlight.nativeexecution.yml)
* Apache Jenkins:
  * Linux: [![Build 
Status](https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/badge/icon)](https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/)
  * Windows: [![Build 
Status](https://ci-builds.apache.org/job/Netbeans/job/netbeans-windows/badge/icon)](https://ci-builds.apache.org/job/Netbeans/job/netbeans-windows)
 
@@ -95,19 +94,17 @@ $ ant tryme
 
 ### Get In Touch
 
-[Subscribe](mailto:users-subscr...@netbeans.apache.org) or 
[mail](mailto:us...@netbeans.apache.org) the 
[us...@netbeans.apache.org](mailto:us...@netbeans.apache.org) list - Ask 
questions, find answers, and also help other users.
-
-[Subscribe](mailto:dev-subscr...@netbeans.apache.org) or 
[mail](mailto:d...@netbeans.apache.org) the 
[d...@netbeans.apache.org](mailto:d...@netbeans.apache.org) list - Join 
development discussions, propose new ideas and connect with contributors.
+ * [Subscribe](mailto:users-subscr...@netbeans.apache.org) or 
[mail](mailto:us...@netbeans.apache.org) the 
[us...@netbeans.apache.org](mailto:us...@netbeans.apache.org) list - Ask 
questions, find answers, and also help other users.
+ * [Subscribe](mailto:dev-subscr...@netbeans.apache.org) or 
[mail](mailto:d...@netbeans.apache.org) the 
[d...@netbeans.apache.org](mailto:d...@netbeans.apache.org) list - Join 
development discussions, propose new ideas and connect with contributors.
 
 ### Download
 
-Developer builds can be downloaded: [Latest build 
(netbeans-xxx.zip)](https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/).
-
-Latest release (convenience binary of released source artifacts): 
https://netbeans.apache.org/download/index.html.
+ * [Developer 
builds](https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/)
 on Jenkins (NetBeans-dev-xxx.zip).
+ * [Latest release](https://netbeans.apache.org/download/index.html) 
(convenience binary of released source artifacts).
 
 ### Reporting Bugs
 
-[How to report bugs](https://netbeans.apache.org/participate/report-issue.html)
+ * [How to report 
bugs](https://netbeans.apache.org/participate/report-issue.html)
 
 ### Log, Config and Cache Locations
 
@@ -122,6 +119,13 @@ Latest release (convenience binary of released source 
artifacts): https://netbea
 
 **Note:** removing/changing the user settings directory will reset NetBeans to 
first launch defaults
 
+### Other Repositories
+
+ * [NetBeans website 
repos](https://github.com/apache/netbeans-antora?tab=readme-ov-file#basic-structure)
+ * [NBPackage](https://github.com/apache/netbeans-nbpackage)
+ * [NetBeans maven 
utilities](https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin)
+ * [NetBeans maven 
archetypes](https://github.com/apache/netbeans-mavenutils-archetypes)
+
 ### Full History
 
 The origins of the code in this repository are older than its Apache existence.


-
To 

(netbeans) branch master updated: Fix unimported command prefix.

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

jhorvath 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 91d6081157 Fix unimported command prefix.
 new b740e2e6be Merge pull request #6851 from 
jhorvath/odouda/database/propertiesView-fix
91d6081157 is described below

commit 91d6081157c5c67cba1d961dfc82ad96de851f8d
Author: Ondřej Douda 
AuthorDate: Fri Dec 15 11:52:27 2023 +0100

Fix unimported command prefix.
---
 java/java.lsp.server/vscode/src/propertiesView/propertiesView.ts | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/java.lsp.server/vscode/src/propertiesView/propertiesView.ts 
b/java/java.lsp.server/vscode/src/propertiesView/propertiesView.ts
index 98616810a3..fa8be55b05 100644
--- a/java/java.lsp.server/vscode/src/propertiesView/propertiesView.ts
+++ b/java/java.lsp.server/vscode/src/propertiesView/propertiesView.ts
@@ -29,8 +29,8 @@ function isVisualizer(node : any) : node is Visualizer {
return node?.id && node?.rootId;
 }
 export class PropertiesView {
-   private static readonly COMMAND_GET_NODE_PROPERTIES = COMMAND_PREFIX + 
".node.properties.get";  // NOI18N
-   private static readonly COMMAND_SET_NODE_PROPERTIES = COMMAND_PREFIX + 
".node.properties.set";  // NOI18N
+   private readonly COMMAND_GET_NODE_PROPERTIES = COMMAND_PREFIX + 
".node.properties.get";  // NOI18N
+   private readonly COMMAND_SET_NODE_PROPERTIES = COMMAND_PREFIX + 
".node.properties.set";  // NOI18N
 
private static extensionUri: vscode.Uri;
private static scriptPath: vscode.Uri;
@@ -148,7 +148,7 @@ export class PropertiesView {
}
 
private async get(): Promise> {
-   const resp = await 
vscode.commands.executeCommand(PropertiesView.COMMAND_GET_NODE_PROPERTIES, 
this.id);
+   const resp = await 
vscode.commands.executeCommand(this.COMMAND_GET_NODE_PROPERTIES, this.id);
if (!isObject(resp)) {
// TODO - possibly report protocol error ?
return new Map();
@@ -165,7 +165,7 @@ export class PropertiesView {
const msg: Record = {};
msg[this.properties.name] = this.properties;
 
-   
vscode.commands.executeCommand(PropertiesView.COMMAND_SET_NODE_PROPERTIES, 
this.id, msg)
+   
vscode.commands.executeCommand(this.COMMAND_SET_NODE_PROPERTIES, this.id, msg)
.then(done => {
if (isRecord(isRecord.bind(null, isString) as 
IsType>, done)) {
this.processSaveError(done);


-
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: Update netbeans_bug_report.yml

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

neilcsmith 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 9a00dd2dc4 Update netbeans_bug_report.yml
9a00dd2dc4 is described below

commit 9a00dd2dc48bfb8840cd1a14da99f26d2d854adf
Author: Neil C Smith 
AuthorDate: Tue Dec 19 11:13:52 2023 +

Update netbeans_bug_report.yml
---
 .github/ISSUE_TEMPLATE/netbeans_bug_report.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml 
b/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml
index bbeaa1d60c..e881d0fff4 100644
--- a/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml
@@ -27,8 +27,8 @@ body:
 Latest releases are always available from 
https://netbeans.apache.org/download/
   multiple: false
   options:
-- "Apache NetBeans 19"
-- "Apache NetBeans 20 release candidate"
+- "Apache NetBeans 20"
+#- "Apache NetBeans 21 release candidate"
 - "Apache NetBeans latest daily build"
 validations:
   required: 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