[netbeans] branch master updated: YAML: Step right curly and brackets when they are right to the caret
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 7f8dfdeb60 YAML: Step right curly and brackets when they are right to the caret 7f8dfdeb60 is described below commit 7f8dfdeb60ce3bec5554fc19ddb40fac0388d885 Author: Laszlo Kishalmi AuthorDate: Tue Apr 11 07:55:58 2023 -0700 YAML: Step right curly and brackets when they are right to the caret --- .../modules/languages/yaml/YamlKeystrokeHandler.java | 7 +++ .../modules/languages/yaml/YamlKeystrokeHandlerTest.java | 16 2 files changed, 23 insertions(+) diff --git a/ide/languages.yaml/src/org/netbeans/modules/languages/yaml/YamlKeystrokeHandler.java b/ide/languages.yaml/src/org/netbeans/modules/languages/yaml/YamlKeystrokeHandler.java index d547ff19a6..a6c1e8f288 100644 --- a/ide/languages.yaml/src/org/netbeans/modules/languages/yaml/YamlKeystrokeHandler.java +++ b/ide/languages.yaml/src/org/netbeans/modules/languages/yaml/YamlKeystrokeHandler.java @@ -115,6 +115,13 @@ public class YamlKeystrokeHandler implements KeystrokeHandler { return true; } +if (((c == '}') || (c == ']')) && dotPos < doc.getLength()) { +if (String.valueOf(c).equals(doc.getText(dotPos, 1))) { +caret.setDot(dotPos + 1); +return true; +} +} + if ((c == '\'') || (c == '"')) { int sstart = target.getSelectionStart(); int send = target.getSelectionEnd(); diff --git a/ide/languages.yaml/test/unit/src/org/netbeans/modules/languages/yaml/YamlKeystrokeHandlerTest.java b/ide/languages.yaml/test/unit/src/org/netbeans/modules/languages/yaml/YamlKeystrokeHandlerTest.java index fa2793ff20..5529f2c792 100644 --- a/ide/languages.yaml/test/unit/src/org/netbeans/modules/languages/yaml/YamlKeystrokeHandlerTest.java +++ b/ide/languages.yaml/test/unit/src/org/netbeans/modules/languages/yaml/YamlKeystrokeHandlerTest.java @@ -189,6 +189,22 @@ public class YamlKeystrokeHandlerTest extends YamlTestBase { insertChar("foo: '^'", '\'', "foo: ''^"); } +public void testStepCurly1() throws Exception { +insertChar("foo: {^}", '}', "foo: {}^"); +} + +public void testStepCurly2() throws Exception { +insertChar("foo: {{^}}", '}', "foo: {{}^}"); +} + +public void testStepBracket1() throws Exception { +insertChar("foo: [^]", ']', "foo: []^"); +} + +public void testStepBracket2() throws Exception { +insertChar("foo: [[^]]", ']', "foo: [[]^]"); +} + public void testDeleteSingle1() throws Exception { deleteChar("foo: '^'", "foo: ^"); } - 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: Sort overload methods in the Navigator
This is an automated email from the ASF dual-hosted git repository. junichi11 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 7567fdb00c Sort overload methods in the Navigator new a0b7c0d7c2 Merge pull request #5797 from junichi11/java-navigator-sort-overload-methods 7567fdb00c is described below commit 7567fdb00cc9adf14a1c82a21e6cfd97211ccb3f Author: Junichi Yamamoto AuthorDate: Sat Apr 8 23:01:01 2023 +0900 Sort overload methods in the Navigator --- .../src/org/netbeans/modules/java/navigation/ElementNode.java | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/java/java.navigation/src/org/netbeans/modules/java/navigation/ElementNode.java b/java/java.navigation/src/org/netbeans/modules/java/navigation/ElementNode.java index 46213077b6..37e4524df1 100644 --- a/java/java.navigation/src/org/netbeans/modules/java/navigation/ElementNode.java +++ b/java/java.navigation/src/org/netbeans/modules/java/navigation/ElementNode.java @@ -673,7 +673,15 @@ public class ElementNode extends AbstractNode implements Iterable { if (d1.posInKind != d2.posInKind) { return d1.posInKind - d2.posInKind; } -return d1.name.compareTo(d2.name); +int compareToName = d1.name.compareTo(d2.name); +if (compareToName == 0) { +// htmlHeader might stay uninitialized in ElementScanningTask +String htmlHeader1 = d1.htmlHeader != null ? d1.htmlHeader : ""; // NOI18N +String htmlHeader2 = d2.htmlHeader != null ? d2.htmlHeader : ""; // NOI18N +return htmlHeader1.compareTo(htmlHeader2); +} else { +return compareToName; +} } int k2i( ElementKind kind ) { - 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 netbeansnativetlp.groovy
This is an automated email from the ASF dual-hosted git repository. skygo 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 5ce2939 Update netbeansnativetlp.groovy 5ce2939 is described below commit 5ce2939b1a724122a08d3d4b17ffeabac4c25524 Author: Eric Barboni AuthorDate: Tue Apr 11 19:10:49 2023 +0200 Update netbeansnativetlp.groovy --- jobs/netbeansnativetlp.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jobs/netbeansnativetlp.groovy b/jobs/netbeansnativetlp.groovy index 4e4f08b..0faec3b 100644 --- a/jobs/netbeansnativetlp.groovy +++ b/jobs/netbeansnativetlp.groovy @@ -30,7 +30,9 @@ organizationFolder('NetBeans/netbeans-native-TLP') { includes('netbeans-native*') excludes('') } - gitBranchDiscovery() + gitHubBranchDiscovery { +strategyId(3) + } headRegexFilter { regex('master') } - 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 netbeansnativetlp.groovy
This is an automated email from the ASF dual-hosted git repository. skygo 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 fd2c242 Update netbeansnativetlp.groovy fd2c242 is described below commit fd2c242cc5b35101077b3dd25b56289bc62b47f9 Author: Eric Barboni AuthorDate: Tue Apr 11 18:49:09 2023 +0200 Update netbeansnativetlp.groovy --- jobs/netbeansnativetlp.groovy | 4 1 file changed, 4 insertions(+) diff --git a/jobs/netbeansnativetlp.groovy b/jobs/netbeansnativetlp.groovy index 851981e..4e4f08b 100644 --- a/jobs/netbeansnativetlp.groovy +++ b/jobs/netbeansnativetlp.groovy @@ -30,6 +30,10 @@ organizationFolder('NetBeans/netbeans-native-TLP') { includes('netbeans-native*') excludes('') } + gitBranchDiscovery() + headRegexFilter { + regex('master') + } } } } - 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 netbeansnativetlp.groovy
This is an automated email from the ASF dual-hosted git repository. skygo 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 dae2b68 Update netbeansnativetlp.groovy dae2b68 is described below commit dae2b6801c853ee48974716d7131520f0ca5eff0 Author: Eric Barboni AuthorDate: Tue Apr 11 18:23:32 2023 +0200 Update netbeansnativetlp.groovy --- jobs/netbeansnativetlp.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/jobs/netbeansnativetlp.groovy b/jobs/netbeansnativetlp.groovy index 2209e1c..851981e 100644 --- a/jobs/netbeansnativetlp.groovy +++ b/jobs/netbeansnativetlp.groovy @@ -28,6 +28,7 @@ organizationFolder('NetBeans/netbeans-native-TLP') { traits { sourceWildcardFilter { includes('netbeans-native*') +excludes('') } } } - 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: Last commit hash for branch recorded
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-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new 1549594 Last commit hash for branch recorded 1549594 is described below commit 1549594e2ed41f394b9bec4ae8c42bd0f8829c20 Author: Martin Balin AuthorDate: Tue Apr 11 18:19:39 2023 +0200 Last commit hash for branch recorded --- meta/netbeansrelease.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json index dbf89d8..e42cf6d 100644 --- a/meta/netbeansrelease.json +++ b/meta/netbeansrelease.json @@ -978,8 +978,8 @@ "plugin_url": "https://netbeans.apache.org/nb/plugins/17/catalog.xml.gz;, "publish_apidoc":"false", "milestones": { -"b3cf9b988542578e8d2c55c4d090e5fb5797fa1e": { -"version": "rc1", +"d5ba096b95520c04dcc2548ffd6751b8214dba88": { +"version": "1", "position": "1" } }, - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-jenkins-lib] branch master updated: use wildcard instead of regex
This is an automated email from the ASF dual-hosted git repository. skygo 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 46c54a2 use wildcard instead of regex 46c54a2 is described below commit 46c54a2a51f91c2dffd0592214e487cf4516ab04 Author: Eric Barboni AuthorDate: Tue Apr 11 18:12:14 2023 +0200 use wildcard instead of regex --- jobs/netbeansnativetlp.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jobs/netbeansnativetlp.groovy b/jobs/netbeansnativetlp.groovy index e6dd4b1..2209e1c 100644 --- a/jobs/netbeansnativetlp.groovy +++ b/jobs/netbeansnativetlp.groovy @@ -26,8 +26,8 @@ organizationFolder('NetBeans/netbeans-native-TLP') { apiUri('https://api.github.com') credentialsId('ASF CI for Github PRs etc') traits { - sourceRegexFilter { -regex('netbeans-native*') + sourceWildcardFilter { +includes('netbeans-native*') } } } - 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: try organization folder for netbeans-native repository
This is an automated email from the ASF dual-hosted git repository. skygo 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 cba381d try organization folder for netbeans-native repository cba381d is described below commit cba381dd3d26afa6f9acefb9df99bebcc8b9c895 Author: Eric Barboni AuthorDate: Tue Apr 11 18:00:18 2023 +0200 try organization folder for netbeans-native repository --- jobs/netbeansnativetlp.groovy | 57 +++ 1 file changed, 57 insertions(+) diff --git a/jobs/netbeansnativetlp.groovy b/jobs/netbeansnativetlp.groovy new file mode 100644 index 000..e6dd4b1 --- /dev/null +++ b/jobs/netbeansnativetlp.groovy @@ -0,0 +1,57 @@ +#!groovy +/* + * 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. + */ +organizationFolder('NetBeans/netbeans-native-TLP') { +description('Apache NetBeans native related jobs (installer,launcher)') +displayName('NetBeans-native-TLP') +organizations { + github { +repoOwner('apache') +apiUri('https://api.github.com') +credentialsId('ASF CI for Github PRs etc') +traits { + sourceRegexFilter { +regex('netbeans-native*') + } +} + } +} +projectFactories { +workflowMultiBranchProjectFactory { +// Relative location within the checkout of our Pipeline script. +scriptPath("Jenkinsfile.groovy") +} +} +orphanedItemStrategy { +discardOldItems { +numToKeep(4) +daysToKeep(5) +} +} +triggers { +periodicFolderTrigger { +interval("1d") +} +} +} +listView('NetBeans/native') { +jobs { +name('NetBeans/netbeans-native-TLP') +} +} - 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: r61177 - /dev/netbeans/netbeans-vscode-ext/17.0.301/
Author: mbalin Date: Tue Apr 11 14:49:35 2023 New Revision: 61177 Log: VSNetBeans 17.0.301 voting candidate Added: dev/netbeans/netbeans-vscode-ext/17.0.301/ dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip (with props) dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip.asc dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip.sha512 dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301.vsix (with props) dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301.vsix.asc dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301.vsix.sha512 Added: dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip == Binary file - no diff available. Propchange: dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip -- svn:mime-type = application/octet-stream Added: dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip.asc == --- dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip.asc (added) +++ dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip.asc Tue Apr 11 14:49:35 2023 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCAAdFiEE52g/vKDdQfd6FlAXIqk2+v1IbpoFAmQ1NWkACgkQIqk2+v1I +bprimQ/+IJPnuVlgus2n3kGzIEh4O1WbNPbDvS31nBBGcALGGso+oXYFkW5xn4tz ++pvOVWwDMQ39Rkf1cu89URKv/aNnn16/etYHnbx/EGkQm2CghyoljcPFMHTTojt+ +/4eR6xMkE+1i1R1zAW93kRsFtjqYTZJReSKu16AidRjX0dJeRIu0TiXQ5wq1YOv3 +ngXJ2Yo6oAzMPS3Aggh6Dq92v0VdZKGaoPuWY8qzSWkFAAHf0lfbKnK+ZGxm7i6S +vh7SIU53ZMaJlxZXXl5Ns54PSZEJG27xvVCrmbDe/QRpJpv471quCiTuqPn+mJ2a +dzhFsx9k2oSvIJl9N/UQQVqJCzYHZtAssqkN8PdluqKph8P594Spo0lXWbPB0iU+ +9wFFPf8hTyNLvmoIiNzD7okvN/bl9oWehloHJ5nURyX8g94tQ9htTpktE+aj5W1K +yu1XinrOizq80rfQW3e3sf7YWvmASkv5ey4w70Li6CVAjytxJ5AgX4NpcQKrmfC9 +aSGVbsTl9KZh+hDBNeB+Oc5j6mYqF7KDDCd6QfnnGNZc7mv6Bxq8T5kTbEGs5Nx1 +JUwKC/A4gTCiAmkTZJbIb70jhZBp+PWPHtThYYsZIEpt4wAkv/2CevC8m91YP5/l +CeaXrkYMFMBHOuV9hK1qeJv/3cM/KbQZKUXtPGi0fFL6PdBe70c= +=piBk +-END PGP SIGNATURE- Added: dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip.sha512 == --- dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip.sha512 (added) +++ dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301-source.zip.sha512 Tue Apr 11 14:49:35 2023 @@ -0,0 +1 @@ +72ea52229fc23988643e98538d60af076ac0ae02cf68f6f7ec669aec9ab4bd552c5912a6301e5c63df7edd917b92423c2b3c646e976af67f2da06a4798eea1a4 apache-netbeans-java-17.0.301-source.zip Added: dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301.vsix == Binary file - no diff available. Propchange: dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301.vsix -- svn:mime-type = application/octet-stream Added: dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301.vsix.asc == --- dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301.vsix.asc (added) +++ dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301.vsix.asc Tue Apr 11 14:49:35 2023 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCAAdFiEE52g/vKDdQfd6FlAXIqk2+v1IbpoFAmQ1NUMACgkQIqk2+v1I +bpoGaw/+NsYBN5CIj3l+AKSgl5NWtqIyIs4WPSRbiH8+lPkM0cNFkm/yG0kebn0K +xN/nr86pMfSU03Xrnnl9AbmlCDpvn/tmj/irZc44X4G7vNXr8Byf2JQ2q8R58Mqb +mClc5gRf1nlas3YGvegKYphSetmXO85w4AmDmo0NDNDFUudhoB9mDHg/KAbVUvEb +v1HNodKu3rUN3e2XLOmNPW3yiBJQI2ES3S37B3PomIVeHNyORJ9tdsLEgHijM6Iu +3slfWJyTWUqQ8yRGDlYTIgzOumCfKcoIinK9ZpqKhGH+eaJjBjeYAXjq6gcZCo43 +ZC0zcPNlw9eAK12ylGaJNlWrcXpnmD6oRCzkO7TydxwnE8Hd0F9jwkKfePPNhk4s +e0YscoaeiXHp31YKqyw50N5iIv2Hpq3fciWuEYnSsoEBaD0HvyrJyqh+KbiZkUKH +YxYVIeYdwfE89VNLbX8YGe3HobyERc+NHbMZEtXZn4ocM2/UNQ86dZnjfDXUW6Dn +WjG4dmrUiMeWe2SCjwWdBewAM/+0CieU0ryGKZuzkx41TN6y7721Ri1mfWeJOQxT +Ti//o9Q4dcCiXk9oKDnEHXCsLTJIG70qhf3wgz74EBi1O+5AY5w/VuIEM3WP+Ar4 +4v2xz03m1ndq+/uPf5B1HqSTwW5DDfEceAE0Qs8r37Hn55ltBs8= +=Awx8 +-END PGP SIGNATURE- Added: dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301.vsix.sha512 == --- dev/netbeans/netbeans-vscode-ext/17.0.301/apache-netbeans-java-17.0.301.vsix.sha512 (added) +++
[netbeans-jenkins-lib] branch master updated: make installer build jobdsl
This is an automated email from the ASF dual-hosted git repository. skygo 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 5d8fe77 make installer build jobdsl 5d8fe77 is described below commit 5d8fe77c081bc62c41b60fb76f34c35b01b7904f Author: Eric Barboni AuthorDate: Tue Apr 11 13:18:53 2023 +0200 make installer build jobdsl --- jobs/netbeansnativeinstaller.groovy | 43 + 1 file changed, 43 insertions(+) diff --git a/jobs/netbeansnativeinstaller.groovy b/jobs/netbeansnativeinstaller.groovy new file mode 100644 index 000..4c82b94 --- /dev/null +++ b/jobs/netbeansnativeinstaller.groovy @@ -0,0 +1,43 @@ +#!groovy +/* + * 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. + */ + +pipelineJob('NetBeans/native-installers') { +definition { +cpsScm { +scm { +git { +remote { + url('https://github.com/apache/netbeans-native-installers.git') +} +branch('*/master') +} +} +lightweight() +scriptPath('Jenkinsfile.groovy') +} +} +} + + +listView('NetBeans/native') { +jobs { +name('NetBeans/native-installers') +} +} - 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: Remove dependency of decl. hints on hints UI; UI plugs into hints SPI. (#5671)
This is an automated email from the ASF dual-hosted git repository. sdedic 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 c5d161220d Remove dependency of decl. hints on hints UI; UI plugs into hints SPI. (#5671) c5d161220d is described below commit c5d161220d86d4d495b8e8cfb46c4f81ab2b8c88 Author: Svatopluk Dedic AuthorDate: Tue Apr 11 02:35:58 2023 -0700 Remove dependency of decl. hints on hints UI; UI plugs into hints SPI. (#5671) --- java/java.hints.declarative/nbproject/project.xml | 8 --- .../idebinding/HintsActionProvider.java| 8 ++- .../refactoring/HintsRefactoringUIFactory.java | 59 ++ java/java.hints/nbproject/project.xml | 9 .../nbcode/nbproject/platform.properties | 1 + java/spi.java.hints/apichanges.xml | 16 ++ java/spi.java.hints/nbproject/project.properties | 2 +- .../hints/spiimpl/HintsRefactoringFactory.java | 44 .../modules/java/hints/spiimpl/Utilities.java | 35 + 9 files changed, 159 insertions(+), 23 deletions(-) diff --git a/java/java.hints.declarative/nbproject/project.xml b/java/java.hints.declarative/nbproject/project.xml index 98dbff2fdc..9b46676401 100644 --- a/java/java.hints.declarative/nbproject/project.xml +++ b/java/java.hints.declarative/nbproject/project.xml @@ -141,14 +141,6 @@ - - org.netbeans.modules.java.hints.ui - - - - - - org.netbeans.modules.java.lexer diff --git a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/idebinding/HintsActionProvider.java b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/idebinding/HintsActionProvider.java index 7547e6fe87..2b98fcda3b 100644 --- a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/idebinding/HintsActionProvider.java +++ b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/idebinding/HintsActionProvider.java @@ -24,16 +24,15 @@ import javax.swing.text.BadLocationException; import javax.swing.text.Document; import org.netbeans.modules.java.hints.declarative.DeclarativeHintRegistry; import org.netbeans.modules.java.hints.declarative.HintDataObject; -import org.netbeans.modules.java.hints.spiimpl.refactoring.InspectAndRefactorUI; import org.netbeans.modules.java.hints.providers.spi.HintDescription; import org.netbeans.modules.java.hints.providers.spi.HintMetadata; +import org.netbeans.modules.java.hints.spiimpl.Utilities; import org.netbeans.spi.project.ActionProvider; import org.openide.awt.StatusDisplayer; import org.openide.cookies.EditorCookie; import org.openide.filesystems.FileUtil; import org.openide.util.Exceptions; import org.openide.util.Lookup; -import org.openide.util.lookup.Lookups; import org.openide.util.lookup.ServiceProvider; /** @@ -80,9 +79,8 @@ public class HintsActionProvider implements ActionProvider { StatusDisplayer.getDefault().setStatusText("No hints specified in " + FileUtil.getFileDisplayName(hdo.getPrimaryFile())); return; } - -HintMetadata m = hints.entrySet().iterator().next().getKey(); -InspectAndRefactorUI.openRefactoringUI(Lookups.singleton(new InspectAndRefactorUI.HintWrap(m, DeclarativeHintRegistry.join(hints; + +Utilities.openRefactoringUIOrWarn(hints, null); } @Override diff --git a/java/java.hints.ui/src/org/netbeans/modules/java/hints/spiimpl/refactoring/HintsRefactoringUIFactory.java b/java/java.hints.ui/src/org/netbeans/modules/java/hints/spiimpl/refactoring/HintsRefactoringUIFactory.java new file mode 100644 index 00..4c9724e5ab --- /dev/null +++ b/java/java.hints.ui/src/org/netbeans/modules/java/hints/spiimpl/refactoring/HintsRefactoringUIFactory.java @@ -0,0 +1,59 @@ +/* + * 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
[netbeans] branch vsnetbeans_1703 updated: Mention Graal.JS as needed when GraalVM is runtime JDK behind proxy (#5785)
This is an automated email from the ASF dual-hosted git repository. mbalin pushed a commit to branch vsnetbeans_1703 in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/vsnetbeans_1703 by this push: new d5ba096b95 Mention Graal.JS as needed when GraalVM is runtime JDK behind proxy (#5785) d5ba096b95 is described below commit d5ba096b95520c04dcc2548ffd6751b8214dba88 Author: Martin BalĂn AuthorDate: Fri Apr 7 19:13:54 2023 +0200 Mention Graal.JS as needed when GraalVM is runtime JDK behind proxy (#5785) * Remove JDK8 as minimum for build of VSNetBeans. * Remove mention of JDK8 as lowest * Install Graal.JS when running on GraalVM --- java/java.lsp.server/vscode/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/java.lsp.server/vscode/README.md b/java/java.lsp.server/vscode/README.md index 8926dcaae5..1fd1beeb06 100644 --- a/java/java.lsp.server/vscode/README.md +++ b/java/java.lsp.server/vscode/README.md @@ -35,6 +35,8 @@ Apache NetBeans Language Server brings full featured Java development (edit-comp subprojects etc. 4. Or simply create a new Java class file with `public static void main(String[] args)` method in opened folder and start coding, compiling, debugging. Works on JDK 8 and newer. +## Proxy Issues +When running this extension on GraalVM, as its runtime JDK, behind proxy it requires GraalVM JavaScript (Graal.JS) component installed to perform automatic proxy resolution. Either install Graal.JS using GraalVM VSCode extension available on Marketplace or invoke `gu install js` for GraalVM used by VSCode. ## Supported Actions * __Java: New Project...__ allows creation of new Maven or Gradle project - 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