[netbeans] branch cnd updated (0c32da2 -> b108f57)
This is an automated email from the ASF dual-hosted git repository. vieiro pushed a change to branch cnd in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 0c32da2 Merge pull request #3638 from vieiro/feature/cnd-3.2.1 new 7e1d4d2 JSF: Declaration of the xmlns namespace is reported as missing library new 18b85fb Merge pull request #3636 from matthiasblaesing/jsf_fix new 815fe02 Cleanup warnings related to Enumeration rawtype (#3643) new 8e5d7cc LSPBindings synchronization fix new 646f84c Merge pull request #3644 from vieiro/hotfix/lsp-client-sync new 31085b5 [NETBEANS-6468] Fix LAF detection on Windows 11 and Java 17. new de854f8 update VariableMirrorTranslator to bring it up to standards (#3647) new 4ae01ea Cleanup floating-point constructor use (#3648) new 05c385c Cleanup deprecated constructor use (#3649) new 7bccd05 [NETBEANS-6425] Provide outline view for Groovy file in VSCode. (#3525) new 3b6c2e1 Added Gradle '--warning-mode all' output action new 13f2636 Update merge (#3651) new 83a929c Larger icon sizes missing in platform branding UI #3544 new 76be2da Merge pull request #3551 from aldobrucale/branding-larger-icons new c07fe19 A bogus Cyclic Reference issue resolved by making fields volatile. NETBEANS-6458 new 0431b53 [NETBEANS-6463] Code completion doesn't offer methods from the same class new 09075dc Merge pull request #3654 from ppisl/NETBEANS-6463 new 14b5836 Gradle Tooling Upgrade to 7.4 new cf6d002 Clean up the use of deprecated numeric constructors (#3656) new d2c5117 [NETBEANS-5599] PHP 8.1 Support: New in initializers (Part 4) new 73732f1 Merge pull request #3657 from junichi11/php81-new-in-initializer new aad1b8f Add Support for Gradle Configuration Cache new 7fe5a90 Export the Truffle packages explicitly, since TruffleJDKServices class was removed. new 443c86c Update project platform/favorites to JDK8 source level and remove warnings. new 3aef5ce [jackpot] declarative hints module code renovations. new 4c4a9fc [jackpot] More robust condition invocation. new 6538d5e Merge pull request #3561 from mbien/robust-hints new 46b7c20 Update antlr3 runtime to 3.5.2 and simplify CSS parse generation new 7cde6b4 Introduce partitial support for CSS Selector Level 4 (:not, :where, :is) new 7639dc8 Improve parsing of @page declarations with embedded margin declarations new b3d3266 Merge pull request #3642 from matthiasblaesing/css_ext new 10f4f12 Update GraalJS Parser new 9ee75b4 Update lexer to handle ecmascript 7-13 lexer changes new 19d61b2 Tollerate missing documentation from node.js documentation new ba79ee6 Use correct invocation for new parser new 3383cf4 Remove libs.oracle.jsparser is succeeded by libs.nashorn new 3507e8a Adjust to new language constructs in updated JS parser new da227c0 Add enums for ES8 - ES.Next and make ES.Next the default new 3c17c11 Fix code completion for private members (should be visible inside class and invisible outside) new 05d936c Implement JS hints to warn about new features new 9fb28c7 Fix empty catch new 2494ac2 Merge pull request #3599 from matthiasblaesing/update-js new ee2ceb2 Update project platform/api.search to JDK8 source level and remove warnings. new 6fb0960 Fix Windows profiler.lib workflow by using Windows10SDK.20348 new 2f32608 Merge pull request #3665 from oyarzun/profiler-gh-actions new 13dd3a4 Ignore dependencies for BOM-like projects. (#3668) new f35b829 project wide map traversal optimizations. new 06baf7f project wide Collection optimization: if contains(e) remove(e) => remove(e) new bab3f7c selected refactoring: contains + get => get + nullcheck new 98c4130 Merge pull request #3689 from mbien/optimized-map-traversal new 4183cd4 about window update. new db392b0 Merge pull request #3660 from mbien/about-panel new 63cd554 extracted java module system flag list into files, grouped by category. new 2014a7c Merge pull request #3658 from mbien/add-opens new d781b1c ide/lsp.client + MultiMimeLanguageServerProvider (#3655) new f8e4d6d gh issue template update post NB 13 release. new 162aec2 Merge pull request #3703 from mbien/issue-template-nb13-update new b36aa56 [cnd] 3.2.2 Merging master into cnd new b108f57 Merge pull request #3711 from vieiro/feature/cnd-3.2.2 The 6766 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: .github/ISSUE_TEMPLATE/netbeans_bug_report.yml | 7 +- .../workflows/native-binary-build-lib.profiler.yml | 8 +-
[netbeans] branch master updated: Adding Open Service Console action (#3674)
This is an automated email from the ASF dual-hosted git repository. dbalek 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 013691b Adding Open Service Console action (#3674) 013691b is described below commit 013691b04f0258ff1213c7c826df2389b84e84b6 Author: jhorvath AuthorDate: Mon Mar 7 17:05:41 2022 +0100 Adding Open Service Console action (#3674) --- .../oracle/{ => actions}/OpenServiceConsoleAction.java | 18 +- .../org/netbeans/modules/nbcode/integration/layer.xml | 1 + java/java.lsp.server/vscode/package.json | 18 +++--- 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/OpenServiceConsoleAction.java b/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/actions/OpenServiceConsoleAction.java similarity index 80% rename from enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/OpenServiceConsoleAction.java rename to enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/actions/OpenServiceConsoleAction.java index 2681960..8307a90 100644 --- a/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/OpenServiceConsoleAction.java +++ b/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/actions/OpenServiceConsoleAction.java @@ -16,19 +16,18 @@ * specific language governing permissions and limitations * under the License. */ -package org.netbeans.modules.cloud.oracle; +package org.netbeans.modules.cloud.oracle.actions; import org.netbeans.modules.cloud.oracle.items.DatabaseItem; -import java.awt.Desktop; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; -import java.io.IOException; -import java.net.URI; -import java.net.URISyntaxException; +import java.net.MalformedURLException; +import java.net.URL; import org.openide.awt.ActionID; import org.openide.awt.ActionReference; import org.openide.awt.ActionReferences; import org.openide.awt.ActionRegistration; +import org.openide.awt.HtmlBrowser.URLDisplayer; import org.openide.util.Exceptions; import org.openide.util.NbBundle.Messages; @@ -42,7 +41,8 @@ import org.openide.util.NbBundle.Messages; @ActionReferences(value = { @ActionReference(path = "Cloud/Oracle/Databases/Actions", position = 260) }) -@Messages("CTL_OpenServiceConsoleAction=Open Service Console") +@Messages({"CTL_OpenServiceConsoleAction=Open Service Console", +"MSG_ServiceConsole=Service Console URL: {0}"}) public final class OpenServiceConsoleAction implements ActionListener { private final DatabaseItem context; @@ -54,9 +54,9 @@ public final class OpenServiceConsoleAction implements ActionListener { @Override public void actionPerformed(ActionEvent ev) { try { -Desktop desk = Desktop.getDesktop(); -desk.browse(new URI(context.getServiceUrl())); -} catch (URISyntaxException | IOException ex) { +URLDisplayer.getDefault().showURLExternal( +new URL(context.getServiceUrl())); +} catch (MalformedURLException ex) { Exceptions.printStackTrace(ex); } } diff --git a/java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/layer.xml b/java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/layer.xml index 81f18f3..eecb444 100644 --- a/java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/layer.xml +++ b/java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/layer.xml @@ -37,6 +37,7 @@ + diff --git a/java/java.lsp.server/vscode/package.json b/java/java.lsp.server/vscode/package.json index a972753..a3ac6bd 100644 --- a/java/java.lsp.server/vscode/package.json +++ b/java/java.lsp.server/vscode/package.json @@ -505,14 +505,18 @@ "title": "Run All Tests", "category": "Test" }, -{ + { "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.DownloadWalletAction", "title": "Add DB Connection" }, -{ + { "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.CreateAutonomousDBAction", "title": "Create Autonomous Database" -}, + }, + { + "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.OpenServiceConsoleAction", + "title": "Open Service Console" + },
[jira] [Updated] (NETBEANS-6474) Real parameter names are not displayed in JavaDoc hint
[ https://issues.apache.org/jira/browse/NETBEANS-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Miksik updated NETBEANS-6474: -- Labels: javadoc (was: ) > Real parameter names are not displayed in JavaDoc hint > -- > > Key: NETBEANS-6474 > URL: https://issues.apache.org/jira/browse/NETBEANS-6474 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing Indexing, java - Javadoc >Affects Versions: 12.6, 13 >Reporter: Petr Miksik >Priority: Major > Labels: javadoc > Attachments: JavaHintParams.png > > > Parameter names are not parsed properly from JavaDoc in some classes. Instead > of real names, generated shortcuts are displayed (see picture in the > attachment). It seems that only classes in platform JDK 8 are affected. I > haven't observed it in higher JDK versions. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-6474) Real parameter names are not displayed in JavaDoc hint
[ https://issues.apache.org/jira/browse/NETBEANS-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Miksik updated NETBEANS-6474: -- Component/s: java - Javadoc > Real parameter names are not displayed in JavaDoc hint > -- > > Key: NETBEANS-6474 > URL: https://issues.apache.org/jira/browse/NETBEANS-6474 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing Indexing, java - Javadoc >Affects Versions: 12.6, 13 >Reporter: Petr Miksik >Priority: Major > Attachments: JavaHintParams.png > > > Parameter names are not parsed properly from JavaDoc in some classes. Instead > of real names, generated shortcuts are displayed (see picture in the > attachment). It seems that only classes in platform JDK 8 are affected. I > haven't observed it in higher JDK versions. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-6474) Real parameter names are not displayed in JavaDoc hint
[ https://issues.apache.org/jira/browse/NETBEANS-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Miksik updated NETBEANS-6474: -- Affects Version/s: 13 > Real parameter names are not displayed in JavaDoc hint > -- > > Key: NETBEANS-6474 > URL: https://issues.apache.org/jira/browse/NETBEANS-6474 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing Indexing >Affects Versions: 12.6, 13 >Reporter: Petr Miksik >Priority: Major > Attachments: JavaHintParams.png > > > Parameter names are not parsed properly from JavaDoc in some classes. Instead > of real names, generated shortcuts are displayed (see picture in the > attachment). It seems that only classes in platform JDK 8 are affected. I > haven't observed it in higher JDK versions. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-6474) Real parameter names are not displayed in JavaDoc hint
[ https://issues.apache.org/jira/browse/NETBEANS-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Miksik updated NETBEANS-6474: -- Description: Parameter names are not parsed properly from JavaDoc in some classes. Instead of real names, generated shortcuts are displayed (see picture in the attachment). It seems that only classes in platform JDK 8 are affected. I haven't observed it in higher JDK versions. (was: Parameter names are not parsed properly from JavaDoc in some classes. Instead of real names, some kind of generated names are used (see picture in the attachment). It seems that only classes in platform JDK 8 are affected. I haven't observed it in higher JDK versions.) Summary: Real parameter names are not displayed in JavaDoc hint (was: Parameter names are not displayed in JavaDoc hint) > Real parameter names are not displayed in JavaDoc hint > -- > > Key: NETBEANS-6474 > URL: https://issues.apache.org/jira/browse/NETBEANS-6474 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing Indexing >Affects Versions: 12.6 >Reporter: Petr Miksik >Priority: Major > Attachments: JavaHintParams.png > > > Parameter names are not parsed properly from JavaDoc in some classes. Instead > of real names, generated shortcuts are displayed (see picture in the > attachment). It seems that only classes in platform JDK 8 are affected. I > haven't observed it in higher JDK versions. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-6474) Parameter names are not displayed in JavaDoc hint
Petr Miksik created NETBEANS-6474: - Summary: Parameter names are not displayed in JavaDoc hint Key: NETBEANS-6474 URL: https://issues.apache.org/jira/browse/NETBEANS-6474 Project: NetBeans Issue Type: Bug Components: editor - Parsing Indexing Affects Versions: 12.6 Reporter: Petr Miksik Attachments: JavaHintParams.png Parameter names are not parsed properly from JavaDoc in some classes. Instead of real names, some kind of generated names are used (see picture in the attachment). It seems that only classes in platform JDK 8 are affected. I haven't observed it in higher JDK versions. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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: Comand for updating run configuration with DB env variables (#3612)
This is an automated email from the ASF dual-hosted git repository. mbalin 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 eebcd26 Comand for updating run configuration with DB env variables (#3612) eebcd26 is described below commit eebcd26b951919d4aa540c9725474c72b7938a9a Author: jhorvath AuthorDate: Mon Mar 7 13:36:43 2022 +0100 Comand for updating run configuration with DB env variables (#3612) --- .../java/lsp/server/db/DBSetEnvCommand.java| 80 ++ .../lsp/server/protocol/NbCodeClientWrapper.java | 6 ++ .../lsp/server/protocol/NbCodeLanguageClient.java | 9 +++ .../modules/java/lsp/server/protocol/Server.java | 6 ++ .../lsp/server/protocol/UpdateConfigParams.java| 77 + .../java/lsp/server/TestCodeLanguageClient.java| 7 ++ .../java/lsp/server/explorer/ProjectViewTest.java | 6 ++ .../server/progress/TestProgressHandlerTest.java | 6 ++ java/java.lsp.server/vscode/package.json | 5 ++ java/java.lsp.server/vscode/src/extension.ts | 11 ++- java/java.lsp.server/vscode/src/protocol.ts| 13 .../java.lsp.server/vscode/src/runConfiguration.ts | 17 +++-- 12 files changed, 237 insertions(+), 6 deletions(-) diff --git a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/db/DBSetEnvCommand.java b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/db/DBSetEnvCommand.java new file mode 100644 index 000..6a94a08 --- /dev/null +++ b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/db/DBSetEnvCommand.java @@ -0,0 +1,80 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.netbeans.modules.java.lsp.server.db; + +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.concurrent.CompletableFuture; +import java.util.stream.Collectors; +import org.eclipse.lsp4j.CodeAction; +import org.eclipse.lsp4j.CodeActionParams; +import org.netbeans.api.db.explorer.ConnectionManager; +import org.netbeans.api.db.explorer.DatabaseConnection; +import org.netbeans.modules.java.lsp.server.protocol.CodeActionsProvider; +import org.netbeans.modules.java.lsp.server.protocol.NbCodeLanguageClient; +import org.netbeans.modules.java.lsp.server.protocol.UpdateConfigParams; +import org.netbeans.modules.parsing.api.ResultIterator; +import org.openide.util.lookup.ServiceProvider; + +/** + * Updates Run Configuratoin with Database env variables. + * + * @author Jan Horvath + */ +@ServiceProvider(service = CodeActionsProvider.class) +public class DBSetEnvCommand extends CodeActionsProvider { +private static final String COMMAND_SET_DB_ENV = "java.db.set.env"; //NOI18N +private static final String CONFIG_SECTION = "java8+.runConfig"; //NOI18N + +private static final Set COMMANDS = new HashSet<>(Arrays.asList( +COMMAND_SET_DB_ENV +)); + +@Override +public List getCodeActions(ResultIterator resultIterator, CodeActionParams params) throws Exception { +return Collections.emptyList(); +} +@Override +public CompletableFuture processCommand(NbCodeLanguageClient client, String command, List arguments) { +if (!COMMAND_SET_DB_ENV.equals(command)) { +return null; +} +DatabaseConnection conn = ConnectionManager.getDefault().getPreferredConnection(true); +Map props = new HashMap<>(); +props.put("DATASOURCE_DEFAULT_URL", conn.getDatabaseURL()); //NOI18N +props.put("DATASOURCE_DEFAULT_USERNAME", conn.getUser()); //NOI18N +props.put("DATASOURCE_DEFAULT_PASSWORD", conn.getPassword()); //NOI18N +props.put("DATASOURCE_DEFAULT_DRIVER_CLASS_NAME", conn.getDriverClass()); //NOI18N +String values = props.entrySet().stream() +.map(e -> e.getKey() + "=" + e.getValue()) //NOI18N +.collect(Collectors.joining(",")); //NOI18N +client.configurationUpdate(new UpdateConfigParams(CONFIG_SECTION, "env",
[netbeans-website] branch nb13-remove-jdk8-reference created (now 51998ca)
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a change to branch nb13-remove-jdk8-reference in repository https://gitbox.apache.org/repos/asf/netbeans-website.git. at 51998ca Remove note about building / running on JDK 8 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