[jira] [Created] (NETBEANS-3113) Use released Java 13 GA Javadoc
Jose created NETBEANS-3113: -- Summary: Use released Java 13 GA Javadoc Key: NETBEANS-3113 URL: https://issues.apache.org/jira/browse/NETBEANS-3113 Project: NetBeans Issue Type: Improvement Components: java - Platform Affects Versions: 11.1, 11.0, 11.2 Reporter: Jose Assignee: Jose Fix For: 11.2, 11.1, 11.0 Java 13 was released yesterday and the javadoc needs to be changed to use the new URL. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3108] PHP: Some features(e.g. Go to declaration) do not work after "new"
This is an automated email from the ASF dual-hosted git repository. tmysik 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 3f73d67 [NETBEANS-3108] PHP: Some features(e.g. Go to declaration) do not work after "new" new 5a97c54 Merge pull request #1516 from junichi11/netbeans-3108-gotodeclaration-after-new 3f73d67 is described below commit 3f73d6746bd326ea1e6c93e75484940c013067a8 Author: Junichi Yamamoto AuthorDate: Wed Sep 18 22:20:15 2019 +0900 [NETBEANS-3108] PHP: Some features(e.g. Go to declaration) do not work after "new" --- .../php/editor/model/impl/ModelVisitor.java| 4 +- .../gotodeclaration/testNb3108/testNb3108.php | 37 ++ .../markoccurences/testNb3108/testNb3108.php | 37 ++ .../testNb3108.php.testNb3108_01a.occurrences | 2 + .../testNb3108.php.testNb3108_01b.occurrences | 2 + .../testNb3108.php.testNb3108_02a.occurrences | 2 + .../testNb3108.php.testNb3108_02b.occurrences | 2 + .../testNb3108.php.testNb3108_03a.occurrences | 3 ++ .../testNb3108.php.testNb3108_03b.occurrences | 3 ++ .../testNb3108.php.testNb3108_03c.occurrences | 2 + .../php/editor/csl/GotoDeclarationNb3108Test.java | 43 + .../csl/OccurrencesFinderImplNb3108Test.java | 56 ++ 12 files changed, 192 insertions(+), 1 deletion(-) diff --git a/php/php.editor/src/org/netbeans/modules/php/editor/model/impl/ModelVisitor.java b/php/php.editor/src/org/netbeans/modules/php/editor/model/impl/ModelVisitor.java index c9e38ae..ae278d4 100644 --- a/php/php.editor/src/org/netbeans/modules/php/editor/model/impl/ModelVisitor.java +++ b/php/php.editor/src/org/netbeans/modules/php/editor/model/impl/ModelVisitor.java @@ -575,7 +575,9 @@ public final class ModelVisitor extends DefaultTreePathVisitor { } } else { Expression name = node.getClassName().getName(); -if (name instanceof Variable) { +if (name instanceof Variable +|| name instanceof StaticFieldAccess // NETBEANS-3108 e.g. new self::staticProperty[self::getIndex()]; +|| name instanceof FieldAccess) { // NETBEANS-3108 e.g. new $this->property[$this->getIndex()]; scan(name); } else { ScopeImpl currentScope = modelBuilder.getCurrentScope(); diff --git a/php/php.editor/test/unit/data/testfiles/gotodeclaration/testNb3108/testNb3108.php b/php/php.editor/test/unit/data/testfiles/gotodeclaration/testNb3108/testNb3108.php new file mode 100644 index 000..2e3be7f --- /dev/null +++ b/php/php.editor/test/unit/data/testfiles/gotodeclaration/testNb3108/testNb3108.php @@ -0,0 +1,37 @@ +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. + */ +class Class3108 { + +private $property = [ +Class3108::class, +]; +private static $staticProperty = [ +Class3108::class, +]; + +private static function getIndex() { +return 0; +} + +public static function test() { +$instance1 = new self::$staticProperty[self::getIndex()]; +$instance2 = new $this->property[$this->getIndex()]; +} +} diff --git a/php/php.editor/test/unit/data/testfiles/markoccurences/testNb3108/testNb3108.php b/php/php.editor/test/unit/data/testfiles/markoccurences/testNb3108/testNb3108.php new file mode 100644 index 000..2e3be7f --- /dev/null +++ b/php/php.editor/test/unit/data/testfiles/markoccurences/testNb3108/testNb3108.php @@ -0,0 +1,37 @@ +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. + */ +class Class3108 { + +private $property = [ +Class3108::class, +]; +private static $staticProperty = [ +Class3108::class, +]; + +private static function getIndex() { +return 0; +} + +public static function test() { +$instance1 = new self::$staticProperty[self::getIndex()]; +$instance2 = new $this->property[$this->getIndex()]; +} +} diff --git a/php/php.editor/test/unit/data/testfiles/testNb3108.php.testNb3108_01a.occurrences b/php/php.editor/test/unit/data/testfiles/testNb3108.php.testNb3108_01a.occurrences new file mode
[netbeans-jenkins-lib] 01/01: Merge pull request #1 from apache/master-uc-patch
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-jenkins-lib.git commit 02a7769f8ce067912bb0e4620fc1985c283b25fd Merge: 09ef14e 9ed0abd Author: Neil C Smith AuthorDate: Wed Sep 18 16:27:25 2019 +0100 Merge pull request #1 from apache/master-uc-patch Fix update_url and plugin_url to match current master meta/netbeansrelease.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-jenkins-lib] branch master updated (09ef14e -> 02a7769)
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git. from 09ef14e date change for release111 add 9ed0abd Fix update_url and plugin_url to match current master new 02a7769 Merge pull request #1 from apache/master-uc-patch 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: meta/netbeansrelease.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: build branding (#1411)
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 87528d5 build branding (#1411) 87528d5 is described below commit 87528d5fbe98d2d4d91779e9bb3d1d10884cbf3c Author: Eric Barboni AuthorDate: Wed Sep 18 17:25:28 2019 +0200 build branding (#1411) * build modification * branding by build system * typo in text * Work with milestone * no hash in release means dev * Add echo to debug on travis * Work around for PR * add conditional properties to override url: metabuild.jsonurl * Remove {$netbeans.hash.code} from URL_Distribution Remove {$netbeans.hash.code} from URL_Distribution and allow to be specified in metabuild.DistributionURL instead. --- nb/ide.branding/build.xml | 21 +- .../org/netbeans/core/startup/Bundle_nb.properties | 2 +- .../core/windows/view/ui/Bundle_nb.properties | 4 +- nb/ide.launcher/netbeans.conf | 6 +- nb/updatecenters/build.xml | 9 +- .../updatecenters/resources/Bundle.properties | 5 +- nbbuild/antsrc/org/netbeans/nbbuild/HgExec.java| 2 +- .../org/netbeans/nbbuild/ParseGitBranch.java | 80 .../netbeans/nbbuild/ReleaseJsonProperties.java| 401 + .../netbeans/nbbuild/SetApidocClustersConfig.java | 54 +++ nbbuild/build.properties | 16 +- nbbuild/build.xml | 92 - 12 files changed, 666 insertions(+), 26 deletions(-) diff --git a/nb/ide.branding/build.xml b/nb/ide.branding/build.xml index 223ce17..18d73ed 100644 --- a/nb/ide.branding/build.xml +++ b/nb/ide.branding/build.xml @@ -35,8 +35,16 @@ Contributor(s): Vincent Brabant, Maxym Mykhalchuk + + + + + + + + @@ -52,9 +60,16 @@ Contributor(s): Vincent Brabant, Maxym Mykhalchuk jarfile="${cluster}/modules/org-netbeans-core-netigso.jar"> - + + + + + + + + diff --git a/nb/ide.branding/core.startup/src/org/netbeans/core/startup/Bundle_nb.properties b/nb/ide.branding/core.startup/src/org/netbeans/core/startup/Bundle_nb.properties index 0dc16b6..2630e07 100644 --- a/nb/ide.branding/core.startup/src/org/netbeans/core/startup/Bundle_nb.properties +++ b/nb/ide.branding/core.startup/src/org/netbeans/core/startup/Bundle_nb.properties @@ -62,7 +62,7 @@ SplashVersionTextHorizontalAlignment=right ### LBL_splash_window_title=Starting Apache NetBeans IDE -currentVersion=Apache NetBeans IDE Dev (Build {0}) +currentVersion=Apache NetBeans IDE @@metabuild.ComputedSplashVersion@@ MSG_warning=NetBeans IDE - Warning MSG_info=NetBeans IDE - Information diff --git a/nb/ide.branding/core.windows/src/org/netbeans/core/windows/view/ui/Bundle_nb.properties b/nb/ide.branding/core.windows/src/org/netbeans/core/windows/view/ui/Bundle_nb.properties index 02d3790..301d0a9 100644 --- a/nb/ide.branding/core.windows/src/org/netbeans/core/windows/view/ui/Bundle_nb.properties +++ b/nb/ide.branding/core.windows/src/org/netbeans/core/windows/view/ui/Bundle_nb.properties @@ -17,5 +17,5 @@ # {0} build number # {1} project name -CTL_MainWindow_Title={1} - Apache NetBeans IDE Dev {0} -CTL_MainWindow_Title_No_Project=Apache NetBeans IDE Dev {0} +CTL_MainWindow_Title={1} - Apache NetBeans IDE @@metabuild.ComputedTitleVersion@@ +CTL_MainWindow_Title_No_Project=Apache NetBeans IDE @@metabuild.ComputedTitleVersion@@ diff --git a/nb/ide.launcher/netbeans.conf b/nb/ide.launcher/netbeans.conf index 171d19f..d5681a6 100644 --- a/nb/ide.launcher/netbeans.conf +++ b/nb/ide.launcher/netbeans.conf @@ -45,8 +45,8 @@ # Cachedir must be different from userdir. The same cachedir and userdir # would cause problems. # -netbeans_default_userdir="${DEFAULT_USERDIR_ROOT}/dev" -netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/dev" +netbeans_default_userdir="${DEFAULT_USERDIR_ROOT}/@@metabuild.RawVersion@@" +netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/@@metabuild.RawVersion@@" # Options used by NetBeans launcher by default: # (can be overridden by explicit command line switches) @@ -62,7 +62,7 @@ netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/dev" # default command line arguments. # (see: https://issues.apache.org/jira/browse/NETBEANS-1344) # -netbeans_default_options="-J-XX:+UseStringDeduplication -J-Xss2m -J-Dnetbeans.logger.console=true -J-ea -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
[netbeans] branch master updated: [NETBEANS-3095] avoid null pointer exception in SplashPainter (#1496)
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 72a315a [NETBEANS-3095] avoid null pointer exception in SplashPainter (#1496) 72a315a is described below commit 72a315aae7061538e7481228b67189637c1a1b6a Author: oyarzun AuthorDate: Wed Sep 18 08:22:16 2019 -0700 [NETBEANS-3095] avoid null pointer exception in SplashPainter (#1496) * [NETBEANS-3095] avoid null pointer exception in SplashPainter * [NETBEANS-3095] add braces around if statements. add missing whitespace. * [NETBEANS-3095] check that loadContentIcon did not return a null image. * Move statusBox null check to init method --- .../src/org/netbeans/core/startup/Splash.java| 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/platform/core.startup/src/org/netbeans/core/startup/Splash.java b/platform/core.startup/src/org/netbeans/core/startup/Splash.java index 9c9e00a..c9985ca 100644 --- a/platform/core.startup/src/org/netbeans/core/startup/Splash.java +++ b/platform/core.startup/src/org/netbeans/core/startup/Splash.java @@ -244,10 +244,12 @@ public final class Splash implements Stamps.Updater { if (about) { ret = ImageUtilities.loadImage("org/netbeans/core/startup/about.png", true); } -if (ret == null) +if (ret == null) { ret = ImageUtilities.loadImage("org/netbeans/core/startup/splash.gif", true); -if (ret == null) +} +if (ret == null) { return null; +} return new ScaledBitmapIcon(ret, Integer.parseInt(NbBundle.getMessage(Splash.class, "SPLASH_WIDTH")), Integer.parseInt(NbBundle.getMessage(Splash.class, "SPLASH_HEIGHT"))); @@ -437,7 +439,8 @@ public final class Splash implements Stamps.Updater { final void init() throws MissingResourceException, NumberFormatException { assert SwingUtilities.isEventDispatchThread(); -if (maxSteps > 0) { +// check if init has already been called +if (statusBox != null) { return; } // 100 is allocated for module system that will adjust this when number @@ -541,11 +544,13 @@ public final class Splash implements Stamps.Updater { String newText = null; String newString; -if (text == null) +if (text == null) { return ; +} -if (statusBox.fm == null) +if (statusBox.fm == null) { return; +} int width = statusBox.fm.stringWidth(text); @@ -633,7 +638,10 @@ public final class Splash implements Stamps.Updater { } void paint() { -image.paintIcon(comp, graphics, 0, 0); +// loadContentIcon may return a null image +if (image != null) { +image.paintIcon(comp, graphics, 0, 0); +} // turn anti-aliasing on for the splash text graphics.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON); - 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-3097]:Corrected font-color type name for text-block(JDK-13) (#1509)
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 7bd73c9 [NETBEANS-3097]:Corrected font-color type name for text-block(JDK-13) (#1509) 7bd73c9 is described below commit 7bd73c9865d222144d2ff0552296cfd05d396254 Author: Arunava Sinha AuthorDate: Wed Sep 18 20:51:15 2019 +0530 [NETBEANS-3097]:Corrected font-color type name for text-block(JDK-13) (#1509) * [NETBEANS-3097]:Corrected font-color type name for text-block(JDK-13) * [NETBEANS-3097]:Changing display name of font-color type for text-block(JDK-13) --- .../src/org/netbeans/modules/java/editor/resources/Bundle.properties| 1 + .../src/org/netbeans/modules/java/editor/resources/fontsColors.xml | 2 +- .../src/org/netbeans/modules/java/editor/semantic/ColoringManager.java | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java/java.editor/src/org/netbeans/modules/java/editor/resources/Bundle.properties b/java/java.editor/src/org/netbeans/modules/java/editor/resources/Bundle.properties index d36fb20..82425de 100644 --- a/java/java.editor/src/org/netbeans/modules/java/editor/resources/Bundle.properties +++ b/java/java.editor/src/org/netbeans/modules/java/editor/resources/Bundle.properties @@ -76,6 +76,7 @@ mod-class-declaration=Class Declaration mod-interface-declaration=Interface Declaration mod-annotation-type-declaration=Annotation Declaration mod-enum-declaration=Enum Declaration +mod-unindented-text-block=Text Block # Code Templates CT_iff=if (exp) { ...| } diff --git a/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml b/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml index 4f9c647..668ecb7 100644 --- a/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml +++ b/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml @@ -87,7 +87,7 @@ - +
[netbeans] branch master updated: [NETBEANS-2788] The link provided for downloading Groovy is obsolete (#1477)
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 086c43b [NETBEANS-2788] The link provided for downloading Groovy is obsolete (#1477) 086c43b is described below commit 086c43bd417523c811ef624071e1f37388f5fe38 Author: Rami Swailem AuthorDate: Wed Sep 18 17:19:55 2019 +0200 [NETBEANS-2788] The link provided for downloading Groovy is obsolete (#1477) * Update SupportPanel.java * Update Bundle.properties * Update Bundle.properties --- .../src/org/netbeans/modules/groovy/support/Bundle.properties | 2 +- .../src/org/netbeans/modules/groovy/support/options/Bundle.properties | 2 +- .../src/org/netbeans/modules/groovy/support/options/SupportPanel.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/groovy/groovy.support/src/org/netbeans/modules/groovy/support/Bundle.properties b/groovy/groovy.support/src/org/netbeans/modules/groovy/support/Bundle.properties index 996dec6..ab92e53 100644 --- a/groovy/groovy.support/src/org/netbeans/modules/groovy/support/Bundle.properties +++ b/groovy/groovy.support/src/org/netbeans/modules/groovy/support/Bundle.properties @@ -36,7 +36,7 @@ OpenIDE-Module-Display-Category=Tools OpenIDE-Module-Short-Description=Enables editing and running of scripts written in Groovy language. OpenIDE-Module-Long-Description=The Groovy Support module enables editing and running of \ user application files written in Groovy language. This module requires groovy installation \ -on the computer. Groovy home page: http://groovy.codehaus.org/ +on the computer. Groovy home page: https://groovy.apache.org/download.html #MakeGroovyWebApp CTL_MakeGroovyWebAppAction=Make WebApp Groovy Compliant diff --git a/groovy/groovy.support/src/org/netbeans/modules/groovy/support/options/Bundle.properties b/groovy/groovy.support/src/org/netbeans/modules/groovy/support/options/Bundle.properties index 2fd155b..b2aff8c 100644 --- a/groovy/groovy.support/src/org/netbeans/modules/groovy/support/options/Bundle.properties +++ b/groovy/groovy.support/src/org/netbeans/modules/groovy/support/options/Bundle.properties @@ -16,7 +16,7 @@ # under the License. # Followed by a URL where Groovy can be downloaded -SupportPanel.jLabel2.text=Get Groovy at: http://groovy.codehaus.org +SupportPanel.jLabel2.text=Get Groovy at: https://groovy.apache.org/download.html OptionsCategory_Name_Groovy=Groovy OptionsCategory_Title_Groovy=Groovy diff --git a/groovy/groovy.support/src/org/netbeans/modules/groovy/support/options/SupportPanel.java b/groovy/groovy.support/src/org/netbeans/modules/groovy/support/options/SupportPanel.java index 9b1034a..b24fdee 100644 --- a/groovy/groovy.support/src/org/netbeans/modules/groovy/support/options/SupportPanel.java +++ b/groovy/groovy.support/src/org/netbeans/modules/groovy/support/options/SupportPanel.java @@ -196,7 +196,7 @@ private void chooseDocButtonActionPerformed(java.awt.event.ActionEvent evt) {//G private void jLabel2MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel2MousePressed try { -HtmlBrowser.URLDisplayer.getDefault().showURL(new URL("http://groovy.codehaus.org;)); // NOI18N +HtmlBrowser.URLDisplayer.getDefault().showURL(new URL("https://groovy.apache.org/download.html;)); // NOI18N } catch (MalformedURLException murle) { Exceptions.printStackTrace(murle); } - 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: Delaying ParameterNameProvider registration to time when TreeLoader is installed, as installing the ParameterNameProvider prevents the TreeLoader installation.
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 926fd6e Delaying ParameterNameProvider registration to time when TreeLoader is installed, as installing the ParameterNameProvider prevents the TreeLoader installation. new 1b37984 Merge pull request #1515 from jlahoda/register-TreeLoader 926fd6e is described below commit 926fd6eda9a6e86a21af161b93f9f0ca15719f95 Author: Jan Lahoda AuthorDate: Wed Sep 18 07:05:13 2019 +0200 Delaying ParameterNameProvider registration to time when TreeLoader is installed, as installing the ParameterNameProvider prevents the TreeLoader installation. --- .../src/org/netbeans/modules/java/source/parsing/JavacParser.java | 2 +- .../org/netbeans/modules/java/source/nbjavac/parsing/TreeLoader.java | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java b/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java index 62f3156..71ca855 100644 --- a/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java +++ b/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java @@ -794,6 +794,7 @@ public class JavacParser extends Parser { .lookupAll(TreeLoaderRegistry.class) .stream() .forEach(r -> r.enhance(javacTask.getContext(), cpInfo, detached)); +ParameterNameProviderImpl.register(javacTask, cpInfo); return javacTask; } } @@ -962,7 +963,6 @@ public class JavacParser extends Parser { } NBEnter.preRegister(context); NBMemberEnter.preRegister(context, backgroundCompilation); -ParameterNameProviderImpl.register(task, cpInfo); TIME_LOGGER.log(Level.FINE, "JavaC", context); return task; } diff --git a/java/java.source.nbjavac/src/org/netbeans/modules/java/source/nbjavac/parsing/TreeLoader.java b/java/java.source.nbjavac/src/org/netbeans/modules/java/source/nbjavac/parsing/TreeLoader.java index 63d3677..93b0c5a 100644 --- a/java/java.source.nbjavac/src/org/netbeans/modules/java/source/nbjavac/parsing/TreeLoader.java +++ b/java/java.source.nbjavac/src/org/netbeans/modules/java/source/nbjavac/parsing/TreeLoader.java @@ -101,9 +101,7 @@ public class TreeLoader extends LazyTreeLoader { private static final ThreadLocal isTreeLoading = new ThreadLocal(); public static void preRegister(final Context context, final ClasspathInfo cpInfo, final boolean detached) { -LazyTreeLoader instance = context.get(lazyTreeLoaderKey); -if (instance == null) -context.put(lazyTreeLoaderKey, new TreeLoader(context, cpInfo, detached)); +context.put(lazyTreeLoaderKey, new TreeLoader(context, cpInfo, detached)); } public static TreeLoader instance (final Context ctx) { - 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-3112) Exception on Startup
Kevin Penrose created NETBEANS-3112: --- Summary: Exception on Startup Key: NETBEANS-3112 URL: https://issues.apache.org/jira/browse/NETBEANS-3112 Project: NetBeans Issue Type: Bug Components: ide - UI Affects Versions: 11.1 Environment: Ubuntu Linux Reporter: Kevin Penrose Received an exception on startup - -->Log Session: Wednesday, September 18, 2019 10:48:18 AM EDT>System Info: Product Version = Apache NetBeans IDE 11.1 Operating System = Linux version 4.15.0-62-generic running on amd64 Java; VM; Vendor = 1.8.0_171; Java HotSpot(TM) 64-Bit Server VM 25.171-b11; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0_171-b11 Java Home = /usr/lib/jvm/java-8-oracle/jre System Locale; Encoding = en_US (nb); UTF-8 Home Directory = /home/kpenrose Current Directory = /home/kpenrose/netbeans/bin User Directory = /home/kpenrose/.netbeans/11.1 Cache Directory = /home/kpenrose/.cache/netbeans/11.1 Installation = /home/kpenrose/netbeans/nb /home/kpenrose/netbeans/ergonomics /home/kpenrose/netbeans/ide /home/kpenrose/netbeans/extide /home/kpenrose/netbeans/java /home/kpenrose/netbeans/apisupport /home/kpenrose/netbeans/webcommon /home/kpenrose/netbeans/websvccommon /home/kpenrose/netbeans/enterprise /home/kpenrose/netbeans/profiler /home/kpenrose/netbeans/php /home/kpenrose/netbeans/harness /home/kpenrose/netbeans/groovy /home/kpenrose/netbeans/javafx /home/kpenrose/netbeans/platform Boot & Ext. Classpath = /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/classes:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar Application Classpath = /home/kpenrose/netbeans/platform/lib/boot.jar:/home/kpenrose/netbeans/platform/lib/org-openide-modules.jar:/home/kpenrose/netbeans/platform/lib/org-openide-util.jar:/home/kpenrose/netbeans/platform/lib/org-openide-util-lookup.jar:/home/kpenrose/netbeans/platform/lib/org-openide-util-ui.jar:/usr/lib/jvm/java-8-oracle/lib/dt.jar:/usr/lib/jvm/java-8-oracle/lib/tools.jar Startup Classpath = /home/kpenrose/netbeans/platform/core/asm-all-5.0.1.jar:/home/kpenrose/netbeans/platform/core/org-openide-filesystems-compat8.jar:/home/kpenrose/netbeans/platform/core/core-base.jar:/home/kpenrose/netbeans/platform/core/core.jar:/home/kpenrose/netbeans/platform/core/org-openide-filesystems.jar:/home/kpenrose/netbeans/platform/core/org-netbeans-libs-asm.jar:/home/kpenrose/netbeans/nb/core/org-netbeans-upgrader.jar:/home/kpenrose/netbeans/nb/core/locale/core_nb.jar---WARNING [org.netbeans.core.startup.NbEvents]: The extension /home/kpenrose/netbeans/ide/modules/ext/jcodings-1.0.18.jar may be multiply loaded by modules: [/home/kpenrose/netbeans/ide/modules/org-netbeans-libs-bytelist.jar, /home/kpenrose/netbeans/ide/modules/org-netbeans-modules-textmate-lexer.jar]; see: http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#class-pathINFO [org.netbeans.modules.netbinox]: Install area set to file:/home/kpenrose/netbeans/WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.java.editor.lib, org.netbeans.modules.web.core.syntax, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use
[jira] [Updated] (NETBEANS-3111) Copying a Maven project creates a copy with the same name
[ https://issues.apache.org/jira/browse/NETBEANS-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikolaus Schüler updated NETBEANS-3111: --- Description: Go onto an exiting project in the _Projects_ tab. Lets assume it is named _myproject._ Right-click on it. In the dialog that opens, give it a new name, like _newproject_. Now you have two projects named _myproject._ In the filesystem, the project _newproject_ has the new name. To fix the naming in the projects tab, rename it in the Maven _pom.xml_. Best add a file in the shell so you know which is which. You can, for example, do: {{touch newproject/NEW}} Go to the _Files_ tab in NB. In the new project, open the _pom.xml_ and change the artifact ID to {\{ newproject}} As soon as you save the file, the project name will change in NBs project tab. Looks like this only affect Maven projects. I also checked with an Ant project. The problem does not occur with such a project. was: Go onto an exiting project in the _Projects_ tab. Lets assume it is named _myproject._ Right-click on it. In the dialog that opens, give it a new name, like _newproject_. Now you have two projects named _myproject._ In the filesystem, the project new has the new name. To fix that, rename it in the Maven _pom.xml_. Best add a file in the shell so you know which is which. You can, for example, do: {{touch newproject/NEW}} Go to the _Files_ tab in NB. In the new project, open the _pom.xml_ and change the artifact ID to {\{ newproject}} As soon as you save the file, the project name will change in NBs project tab. Looks like this only affect Maven projects. I also checked with an Ant project. The problem does not occur with such a project. > Copying a Maven project creates a copy with the same name > - > > Key: NETBEANS-3111 > URL: https://issues.apache.org/jira/browse/NETBEANS-3111 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.1 > Environment: Mac OS Mojave 10.14.6 >Reporter: Nikolaus Schüler >Priority: Minor > > Go onto an exiting project in the _Projects_ tab. Lets assume it is named > _myproject._ > Right-click on it. In the dialog that opens, give it a new name, like > _newproject_. > Now you have two projects named _myproject._ > In the filesystem, the project _newproject_ has the new name. > To fix the naming in the projects tab, rename it in the Maven _pom.xml_. Best > add a file in the shell so you know which is which. You can, for example, do: > > {{touch newproject/NEW}} > Go to the _Files_ tab in NB. In the new project, open the _pom.xml_ and > change the artifact ID to > > {\{ newproject}} > As soon as you save the file, the project name will change in NBs project tab. > Looks like this only affect Maven projects. I also checked with an Ant > project. The problem does not occur with such a project. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3111) Copying a Maven project creates a copy with the same name
[ https://issues.apache.org/jira/browse/NETBEANS-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikolaus Schüler updated NETBEANS-3111: --- Description: Go onto an exiting project in the _Projects_ tab. Lets assume it is named _myproject._ Right-click on it. In the dialog that opens, give it a new name, like _newproject_. Now you have two projects named _myproject._ In the filesystem, the project new has the new name. To fix that, rename it in the Maven _pom.xml_. Best add a file in the shell so you know which is which. You can, for example, do: {{touch newproject/NEW}} Go to the _Files_ tab in NB. In the new project, open the _pom.xml_ and change the artifact ID to {\{ newproject}} As soon as you save the file, the project name will change in NBs project tab. Looks like this only affect Maven projects. I also checked with an Ant project. The problem does not occur with such a project. was: Go onto an exiting project in the _Projects_ tab. Lets assume it is named _myproject_ Right click on it. In the dialog that opens, give it a new name, like _newproject_. Now you have two projects named _myproject._ In the filesystem, the project new has the new name. To fix that, rename it in the Maven _pom.xml_. Best add a file in the shell so you know which is which. You can, for example, do: {{touch newproject/NEW}} Go to the _Files_ tab in NB. In the new project, open the _pom.xml_ and change the artifact ID to {{newproject}} As soon as you save the file, the project name will change in NBs project tab. Looks like this only affect Maven projects. I also checked with an Ant project. The problem does not occur with such a project. > Copying a Maven project creates a copy with the same name > - > > Key: NETBEANS-3111 > URL: https://issues.apache.org/jira/browse/NETBEANS-3111 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.1 > Environment: Mac OS Mojave 10.14.6 >Reporter: Nikolaus Schüler >Priority: Minor > > Go onto an exiting project in the _Projects_ tab. Lets assume it is named > _myproject._ > Right-click on it. In the dialog that opens, give it a new name, like > _newproject_. > Now you have two projects named _myproject._ > In the filesystem, the project new has the new name. > To fix that, rename it in the Maven _pom.xml_. Best add a file in the shell > so you know which is which. You can, for example, do: > > {{touch newproject/NEW}} > Go to the _Files_ tab in NB. In the new project, open the _pom.xml_ and > change the artifact ID to > > {\{ newproject}} > As soon as you save the file, the project name will change in NBs project tab. > Looks like this only affect Maven projects. I also checked with an Ant > project. The problem does not occur with such a project. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3111) Copying a Maven project creates a copy with the same name
Nikolaus Schüler created NETBEANS-3111: -- Summary: Copying a Maven project creates a copy with the same name Key: NETBEANS-3111 URL: https://issues.apache.org/jira/browse/NETBEANS-3111 Project: NetBeans Issue Type: Bug Affects Versions: 11.1 Environment: Mac OS Mojave 10.14.6 Reporter: Nikolaus Schüler Go onto an exiting project in the _Projects_ tab. Lets assume it is named _myproject_ Right click on it. In the dialog that opens, give it a new name, like _newproject_. Now you have two projects named _myproject._ In the filesystem, the project new has the new name. To fix that, rename it in the Maven _pom.xml_. Best add a file in the shell so you know which is which. You can, for example, do: {{touch newproject/NEW}} Go to the _Files_ tab in NB. In the new project, open the _pom.xml_ and change the artifact ID to {{newproject}} As soon as you save the file, the project name will change in NBs project tab. Looks like this only affect Maven projects. I also checked with an Ant project. The problem does not occur with such a project. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3108) PHP: Some features(e.g. Go to declaration) do not work after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-3108: - Labels: pull-request-available (was: ) > PHP: Some features(e.g. Go to declaration) do not work after "new" > -- > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Assignee: Junichi Yamamoto >Priority: Major > Labels: pull-request-available > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. *Nothing > of the following works*: "find usages"/refactoring/go to declaration > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3110) Netbeans warns of missing persistance unit on a Spring project
Alessandro Polverini created NETBEANS-3110: -- Summary: Netbeans warns of missing persistance unit on a Spring project Key: NETBEANS-3110 URL: https://issues.apache.org/jira/browse/NETBEANS-3110 Project: NetBeans Issue Type: Bug Components: editor - Hints Annotations, java - Hints Affects Versions: 11.1 Environment: Java 11, Netbeans 11.1, Linux Reporter: Alessandro Polverini When working on a Spring or Spring Boot project, where the persistance unit is handled automatically by the framework (the default), every @Entity class in the project has the hint: "The project does not contain a persistance unit" and we are prompted to create one. The IDE should understand that this is not an error when using Spring. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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] [Commented] (NETBEANS-3070) Netbeans unable to copy context XML file from Temp folder to Catalina/localhost
[ https://issues.apache.org/jira/browse/NETBEANS-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16932335#comment-16932335 ] Pramod Chandra commented on NETBEANS-3070: -- Hey guys need a little help. > Netbeans unable to copy context XML file from Temp folder to > Catalina/localhost > --- > > Key: NETBEANS-3070 > URL: https://issues.apache.org/jira/browse/NETBEANS-3070 > Project: NetBeans > Issue Type: Bug > Components: javaee - Maven >Affects Versions: 11.1 > Environment: Windows 10, 64 bit, Apache Netbeans 11.1, JDK 11, JRE > 8u221 >Reporter: Pramod Chandra >Assignee: Thurman Turner >Priority: Major > Labels: beginner, newbie > Fix For: 11.1 > > Attachments: Catalina log.JPG, Maven.JPG > > > Steps to reproduce: > > Create a new web application using maven on Apache Netbeans 11.1 > Choose the Server as Tomcat 9.0 > Right Click on the project and select Clean and Build > After the message "Build Successful" run the project > Error in Netbeans: > In-place deployment at C:\Users\Pramod > Chandra\Documents\NetBeansProjects\mavenTest\target\mavenTest-1 > Deployment is in progress... > deploy?config=file%3A%2FC%3A%2FUsers%2FPramod%2520Chandra%2FAppData%2FLocal%2FTemp%2Fcontext11250002610202739917.xml=/mavenTest > FAIL - Failed to deploy application at context path [/mavenTest] > > Error in server.log > > 06-Sep-2019 09:41:51.080 SEVERE [http-nio-8080-exec-158] > org.apache.catalina.startup.ExpandWar.copy Error copying > [C:\Users\Pramod%20Chandra\AppData\Local\Temp\context11250002610202739917.xml] > to [C:\Program Files\Apache Software Foundation\Tomcat > 9.0\conf\Catalina\localhost\mavenTest.xml]06-Sep-2019 09:41:51.080 SEVERE > [http-nio-8080-exec-158] org.apache.catalina.startup.ExpandWar.copy Error > copying > [C:\Users\Pramod%20Chandra\AppData\Local\Temp\context11250002610202739917.xml] > to [C:\Program Files\Apache Software Foundation\Tomcat > 9.0\conf\Catalina\localhost\mavenTest.xml] java.io.FileNotFoundException: > C:\Users\Pramod%20Chandra\AppData\Local\Temp\context11250002610202739917.xml > (The system cannot find the path specified) at > java.base/java.io.FileInputStream.open0(Native Method) at > java.base/java.io.FileInputStream.open(FileInputStream.java:219) at > java.base/java.io.FileInputStream.(FileInputStream.java:157) at > org.apache.catalina.startup.ExpandWar.copy(ExpandWar.java:276) at > org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:1002) > at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:355) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:643) > at > org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348) > at > org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:53) at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) > at > org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) > at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) > at > org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) > at > org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860) > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587) > at > org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > at >
[jira] [Resolved] (NETBEANS-3103) Formatting is broken with class constant code completion(self::)
[ https://issues.apache.org/jira/browse/NETBEANS-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junichi Yamamoto resolved NETBEANS-3103. Fix Version/s: 11.2 Resolution: Fixed > Formatting is broken with class constant code completion(self::) > > > Key: NETBEANS-3103 > URL: https://issues.apache.org/jira/browse/NETBEANS-3103 > Project: NetBeans > Issue Type: Bug > Components: php - Editor, php - Formatting Indentation >Affects Versions: 11.2 >Reporter: Junichi Yamamoto >Assignee: Junichi Yamamoto >Priority: Major > Labels: pull-request-available > Fix For: 11.2 > > Time Spent: 40m > Remaining Estimate: 0h > > h2. Example code > {code:php} > class ClassName { > // ^ is the caret position > // select "self::" or "parent::" in CC list > private const CONSTANT = ^; > } > {code} > h2. Expected result > {code:php} > class ClassName { > private const CONSTANT = self::; > } > {code} > h2. Actual result > {code:php} > class ClassName { > private const CONSTANT = self > ::; > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3102) Wrong encoding for files in include path
[ https://issues.apache.org/jira/browse/NETBEANS-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gonçalo Peres updated NETBEANS-3102: Description: I've a PHP Project with a bunch of PHP files on a directory "D:/www/project_php" with Encoding in UTF-8 and PHP Version 7.3.4 . I add a directory (D:/www/include_path) with some other PHP files to the include path. These files are in UTF-8 enconding, but show in the Netbeans Editor as ANSI with all the accentuated characters with encoding errors. {code:java} return array('status'=>0, 'http_code'=>$httpCode, 'msg'=>"Erro: não foi possÃvel obter o código fonte da página.\n", 'html'=>$html);{code} {{it should be:}} {code:java} return array('status'=>0, 'http_code'=>$httpCode, 'msg'=>"Erro: não foi possível obter o código fonte da página.\n", 'html'=>$html);{code} Tested this by opening a file on the include path in Notepad++ and converting it to ANSI, it then shows OK on the Netbeans Editor, withou garbage characters, confirming that although the project is in UTF-8 and all files in the project directory are rendered in UTF-8, the Netbeans Editor show the files on the include path as ANSI. h4. Workaround: Navigate to {{/etc}} and open the {{netbeans.conf}} file. Add " {{-J-Dfile.encoding=UTF-8}}" at the end of the line that starts with {{netbeans_default_options}} (make sure to include the leading space). Restart Netbeans and it should be in UTF-8. Anyway, files on the included path of a project should be opened by Netbeans using the same encoding as the project settings. Please correct this. Thank you! was: I've a PHP Project with a bunch of PHP files on a directory "D:/www/project_php" with Encoding in UTF-8 and PHP Version 7.3.4 . I add a directory (D:/www/include_path) with some other PHP files to the include path. These files are in UTF-8 enconding, but show in the Netbeans Editor as ANSI with all the accentuated characters with encoding errors. {code:java} return array('status'=>0, 'http_code'=>$httpCode, 'msg'=>"Erro: não foi possÃvel obter o código fonte da página.\n", 'html'=>$html);{code} {{it should be:}} {code:java} return array('status'=>0, 'http_code'=>$httpCode, 'msg'=>"Erro: não foi possível obter o código fonte da página.\n", 'html'=>$html);{code} Tested this by opening a file on the include path in Notepad++ and converting it to ANSI, it then shows OK on the Netbeans Editor, withou garbage characters, confirming that although the project is in UTF-8 and all files in the project directory are rendered in UTF-8, the Netbeans Editor show the files on the include path as ANSI. Please correct this. Thank you! > Wrong encoding for files in include path > > > Key: NETBEANS-3102 > URL: https://issues.apache.org/jira/browse/NETBEANS-3102 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 11.0 > Environment: Windows 7, Java 8 update 211, NetBeans 11.0 >Reporter: Gonçalo Peres >Priority: Major > > I've a PHP Project with a bunch of PHP files on a directory > "D:/www/project_php" with Encoding in UTF-8 and PHP Version 7.3.4 . > I add a directory (D:/www/include_path) with some other PHP files to the > include path. These files are in UTF-8 enconding, but show in the Netbeans > Editor as ANSI with all the accentuated characters with encoding errors. > {code:java} > return array('status'=>0, 'http_code'=>$httpCode, 'msg'=>"Erro: não foi > possÃvel obter o código fonte da página.\n", 'html'=>$html);{code} > {{it should be:}} > {code:java} > return array('status'=>0, 'http_code'=>$httpCode, 'msg'=>"Erro: não foi > possível obter o código fonte da página.\n", 'html'=>$html);{code} > Tested this by opening a file on the include path in Notepad++ and converting > it to ANSI, it then shows OK on the Netbeans Editor, withou garbage > characters, confirming that although the project is in UTF-8 and all files in > the project directory are rendered in UTF-8, the Netbeans Editor show the > files on the include path as ANSI. > h4. Workaround: > Navigate to {{/etc}} and open the > {{netbeans.conf}} file. Add " {{-J-Dfile.encoding=UTF-8}}" at the end of the > line that starts with {{netbeans_default_options}} (make sure to include the > leading space). Restart Netbeans and it should be in UTF-8. > Anyway, files on the included path of a project should be opened by Netbeans > using the same encoding as the project settings. > Please correct this. Thank you! -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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,
[jira] [Updated] (NETBEANS-3108) PHP: Some features(e.g. Go to declaration) do not work after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junichi Yamamoto updated NETBEANS-3108: --- Summary: PHP: Some features(e.g. Go to declaration) do not work after "new" (was: PHP: parser in some cases not recognize symbols(identifiers) after "new") > PHP: Some features(e.g. Go to declaration) do not work after "new" > -- > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Assignee: Junichi Yamamoto >Priority: Major > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. *Nothing > of the following works*: "find usages"/refactoring/go to declaration > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3108) PHP: parser in some cases not recognize symbols(identifiers) after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junichi Yamamoto updated NETBEANS-3108: --- Component/s: (was: php - Refactoring) (was: php - Code Analysis) php - Editor > PHP: parser in some cases not recognize symbols(identifiers) after "new" > > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Assignee: Junichi Yamamoto >Priority: Major > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. *Nothing > of the following works*: "find usages"/refactoring/go to declaration > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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] [Commented] (NETBEANS-3108) PHP: parser in some cases not recognize symbols(identifiers) after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16932237#comment-16932237 ] Junichi Yamamoto commented on NETBEANS-3108: Reproducible. Thanks for reporting it. > PHP: parser in some cases not recognize symbols(identifiers) after "new" > > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Refactoring >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Assignee: Junichi Yamamoto >Priority: Major > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. *Nothing > of the following works*: "find usages"/refactoring/go to declaration > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3109) Starting Up Netbeans
Joseph Jones created NETBEANS-3109: -- Summary: Starting Up Netbeans Key: NETBEANS-3109 URL: https://issues.apache.org/jira/browse/NETBEANS-3109 Project: NetBeans Issue Type: Bug Affects Versions: 11.1 Reporter: Joseph Jones Attachments: startupBugs.txt Netbeans told me to report, so have attached a log of everything that happens on startup -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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] [Commented] (NETBEANS-3037) Git repository created with worktree does not work
[ https://issues.apache.org/jira/browse/NETBEANS-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16932202#comment-16932202 ] Martin Desruisseaux commented on NETBEANS-3037: --- Seems duplicated of NETBEANS-1129. > Git repository created with worktree does not work > -- > > Key: NETBEANS-3037 > URL: https://issues.apache.org/jira/browse/NETBEANS-3037 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Git >Affects Versions: 11.1 >Reporter: Enrico Scantamburlo >Priority: Major > > I created a copy of my GIT repository using the [worktree > |https://git-scm.com/docs/git-worktree] option but NetBeans does not like it. > For instance, I cannot see my modified lines on the bar on the side -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3108) PHP: parser in some cases not recognize symbols(identifiers) after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SL EF updated NETBEANS-3108: Description: Simple example: {code:php} new self::$test['test']; {code} This code is *valid* but not actually supported by Netbeans parser. *Nothing of the following work*: "find usages"/refactoring/go to declaration *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with Intelephense plugin) was: Simple example: {code:php} new self::$test['test']; {code} This code is *valid* but not actually supported by Netbeans parser. Nothing of the following work: "find usages"/refactoring/go to declaration *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with Intelephense plugin) > PHP: parser in some cases not recognize symbols(identifiers) after "new" > > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Refactoring >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Priority: Major > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. *Nothing > of the following work*: "find usages"/refactoring/go to declaration > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3108) PHP: parser in some cases not recognize symbols(identifiers) after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SL EF updated NETBEANS-3108: Description: Simple example: {code:php} new self::$test['test']; {code} This code is *valid* but not actually supported by Netbeans parser. *Nothing of the following works*: "find usages"/refactoring/go to declaration *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with Intelephense plugin) was: Simple example: {code:php} new self::$test['test']; {code} This code is *valid* but not actually supported by Netbeans parser. *Nothing of the following work*: "find usages"/refactoring/go to declaration *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with Intelephense plugin) > PHP: parser in some cases not recognize symbols(identifiers) after "new" > > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Refactoring >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Priority: Major > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. *Nothing > of the following works*: "find usages"/refactoring/go to declaration > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3108) PHP: parser in some cases not recognize symbols(identifiers) after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SL EF updated NETBEANS-3108: Attachment: (was: Test.php) > PHP: parser in some cases not recognize symbols(identifiers) after "new" > > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Refactoring >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Priority: Major > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. Nothing > of the following work: "find usages"/refactoring/go to declaration > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3108) PHP: parser in some cases not recognize symbols(identifiers) after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SL EF updated NETBEANS-3108: Description: Simple example: {code:php} new self::$test['test']; {code} This code is *valid* but not actually supported by Netbeans parser. Nothing of the following work: "find usages"/refactoring/go to declaration *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with Intelephense plugin) was: Simple example: {code:php} new self::$test['test']; {code} This code is *valid* but not actually supported by Netbeans parser. *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with Intelephense plugin) > PHP: parser in some cases not recognize symbols(identifiers) after "new" > > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Refactoring >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Priority: Major > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. Nothing > of the following work: "find usages"/refactoring/go to declaration > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3108) PHP: parser in some cases not recognize symbols(identifiers) after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SL EF updated NETBEANS-3108: Attachment: Test.php > PHP: parser in some cases not recognize symbols(identifiers) after "new" > > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Refactoring >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Priority: Major > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. Nothing > of the following work: "find usages"/refactoring/go to declaration > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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] [Commented] (NETBEANS-3108) PHP: parser in some cases not recognize symbols(identifiers) after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16932175#comment-16932175 ] SL EF commented on NETBEANS-3108: - for more complex example attached [^Test.php] > PHP: parser in some cases not recognize symbols(identifiers) after "new" > > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Refactoring >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Priority: Major > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3108) PHP: parser in some cases not recognize symbols(identifiers) after "new"
[ https://issues.apache.org/jira/browse/NETBEANS-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SL EF updated NETBEANS-3108: Attachment: Test.php > PHP: parser in some cases not recognize symbols(identifiers) after "new" > > > Key: NETBEANS-3108 > URL: https://issues.apache.org/jira/browse/NETBEANS-3108 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Refactoring >Affects Versions: 8.2, 9.0, 10.0, 11.0, 11.1 >Reporter: SL EF >Priority: Major > Attachments: Test.php > > > Simple example: > {code:php} > new self::$test['test']; > {code} > This code is *valid* but not actually supported by Netbeans parser. > *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with > Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-3108) PHP: parser in some cases not recognize symbols(identifiers) after "new"
SL EF created NETBEANS-3108: --- Summary: PHP: parser in some cases not recognize symbols(identifiers) after "new" Key: NETBEANS-3108 URL: https://issues.apache.org/jira/browse/NETBEANS-3108 Project: NetBeans Issue Type: Bug Components: php - Code Analysis, php - Refactoring Affects Versions: 11.1, 11.0, 10.0, 9.0, 8.2 Reporter: SL EF Simple example: {code:php} new self::$test['test']; {code} This code is *valid* but not actually supported by Netbeans parser. *Other IDE*: worked fine at least in PhpStorm, Visual Studio Code(with Intelephense plugin) -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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