[jira] [Assigned] (NETBEANS-1440) BadLocationException on triple click to select text at EOF
[ https://issues.apache.org/jira/browse/NETBEANS-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ARUNAVA SINHA reassigned NETBEANS-1440: --- Assignee: ARUNAVA SINHA > BadLocationException on triple click to select text at EOF > --- > > Key: NETBEANS-1440 > URL: https://issues.apache.org/jira/browse/NETBEANS-1440 > Project: NetBeans > Issue Type: Bug > Components: editor - CSL (API infrastructure), editor - Other >Affects Versions: 10.0 >Reporter: Christian Lenz >Assignee: ARUNAVA SINHA >Priority: Critical > Attachments: badLocationException.gif > > > I got a BadLocationException, when I'm at the end of the file, doing triple > click and try to select the text from the bottom: > {code} > javax.swing.text.BadLocationException: Invalid offset=1228 not within <0, > 1227> > at > org.netbeans.modules.editor.lib2.DocUtils.checkOffsetValid(DocUtils.java:214) > at > org.netbeans.modules.editor.lib2.DocUtils.checkOffsetValid(DocUtils.java:209) > at > org.netbeans.modules.editor.lib2.DocUtils.getRowStart(DocUtils.java:45) > [catch] at > org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting$CaretRowHighlighting.getCurrentBlockPositions(CaretBasedBlockHighlighting.java:278) > at > org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting.updateLineInfo(CaretBasedBlockHighlighting.java:191) > at > org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting.stateChanged(CaretBasedBlockHighlighting.java:179) > at > org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:331) > at > org.netbeans.api.editor.caret.EditorCaret$6.run(EditorCaret.java:1733) > at > org.netbeans.modules.editor.lib2.view.ViewUtils.runInEDT(ViewUtils.java:411) > at > org.netbeans.api.editor.caret.EditorCaret.fireStateChanged(EditorCaret.java:1742) > at > org.netbeans.api.editor.caret.EditorCaret.runTransaction(EditorCaret.java:1664) > at > org.netbeans.api.editor.caret.EditorCaret.moveDot(EditorCaret.java:634) > at > org.netbeans.api.editor.caret.EditorCaret.moveDot(EditorCaret.java:604) > at > org.netbeans.api.editor.caret.EditorCaret.selectEnsureMinSelection(EditorCaret.java:2458) > at > org.netbeans.api.editor.caret.EditorCaret.access$4200(EditorCaret.java:143) > at > org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.mouseDragged(EditorCaret.java:3145) > at > java.desktop/java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:328) > at > java.desktop/java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:327) > at > java.desktop/java.awt.Component.processMouseMotionEvent(Component.java:6637) > at > java.desktop/javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3360) > at java.desktop/java.awt.Component.processEvent(Component.java:6358) > at java.desktop/java.awt.Container.processEvent(Container.java:2261) > at > java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966) > at > java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) > at > java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914) > at > java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4560) > at > java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484) > at > java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305) > at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) > at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) > at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) > at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at
[incubator-netbeans-html4j] branch master updated (63507d7 -> 6959261)
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git. from 63507d7 Show status of Travis verification add ef6e774 Using Apache parent pom to upload bits to Apache Nexus repository add 96092fe Changes needed to prepare a release add 6959261 Merge branch 'master' into UploadMaven No new revisions were added by this update. Summary of changes: pom.xml | 70 + 1 file changed, 22 insertions(+), 48 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
[jira] [Comment Edited] (NETBEANS-1505) Change icon for mimetype text/karmaconf+javascript
[ https://issues.apache.org/jira/browse/NETBEANS-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667631#comment-16667631 ] Christian Lenz edited comment on NETBEANS-1505 at 10/29/18 7:24 PM: Doesn't seem that easy. Uses an own resolver.xml and it is not a DataObject for this file type. Don't know how to set the icon for that. was (Author: chrizzly): Doesn't seem that easy. Uses an own resolver.xml and it is not a DataObject for this file type. > Change icon for mimetype text/karmaconf+javascript > -- > > Key: NETBEANS-1505 > URL: https://issues.apache.org/jira/browse/NETBEANS-1505 > Project: NetBeans > Issue Type: Sub-task > Components: javascript - Other, platform - Filesystems >Affects Versions: Next >Reporter: Christian Lenz >Assignee: Christian Lenz >Priority: Major > Labels: help, help-requested, help-wanted > Attachments: image-2018-10-22-15-04-39-157.png > > > I would like to change the icon for karma config files (mimetype: > text/karmaconf+javascript) to this one: !image-2018-10-22-15-04-39-157.png! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1505) Change icon for mimetype text/karmaconf+javascript
[ https://issues.apache.org/jira/browse/NETBEANS-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667631#comment-16667631 ] Christian Lenz commented on NETBEANS-1505: -- Doesn't seem that easy. Uses an own resolver.xml and it is not a DataObject for this file type. > Change icon for mimetype text/karmaconf+javascript > -- > > Key: NETBEANS-1505 > URL: https://issues.apache.org/jira/browse/NETBEANS-1505 > Project: NetBeans > Issue Type: Sub-task > Components: javascript - Other, platform - Filesystems >Affects Versions: Next >Reporter: Christian Lenz >Assignee: Christian Lenz >Priority: Major > Labels: help, help-requested, help-wanted > Attachments: image-2018-10-22-15-04-39-157.png > > > I would like to change the icon for karma config files (mimetype: > text/karmaconf+javascript) to this one: !image-2018-10-22-15-04-39-157.png! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1498) Change icon for pom.xml file.
[ https://issues.apache.org/jira/browse/NETBEANS-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz updated NETBEANS-1498: - Fix Version/s: Next > Change icon for pom.xml file. > - > > Key: NETBEANS-1498 > URL: https://issues.apache.org/jira/browse/NETBEANS-1498 > Project: NetBeans > Issue Type: Sub-task >Affects Versions: Next >Reporter: Christian Lenz >Assignee: Christian Lenz >Priority: Major > Labels: pull-request-available > Fix For: Next > > Attachments: image-2018-10-22-11-50-18-135.png > > Time Spent: 0.5h > Remaining Estimate: 0h > > I would like to use this icon. !image-2018-10-22-11-50-18-135.png! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1505) Change icon for mimetype text/karmaconf+javascript
[ https://issues.apache.org/jira/browse/NETBEANS-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz updated NETBEANS-1505: - Labels: help help-requested help-wanted (was: ) > Change icon for mimetype text/karmaconf+javascript > -- > > Key: NETBEANS-1505 > URL: https://issues.apache.org/jira/browse/NETBEANS-1505 > Project: NetBeans > Issue Type: Sub-task > Components: javascript - Other, platform - Filesystems >Affects Versions: Next >Reporter: Christian Lenz >Assignee: Christian Lenz >Priority: Major > Labels: help, help-requested, help-wanted > Attachments: image-2018-10-22-15-04-39-157.png > > > I would like to change the icon for karma config files (mimetype: > text/karmaconf+javascript) to this one: !image-2018-10-22-15-04-39-157.png! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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
[incubator-netbeans] 03/03: [NETBEANS-1147, NETBEANS-1298] Autoupdated fragment restarts only if its host is already ON
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch release100 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit 33c13f7dc16257bfaa375da52b6ab9e150cfb2b5 Author: Svata Dedic AuthorDate: Thu Sep 20 09:41:59 2018 +0200 [NETBEANS-1147,NETBEANS-1298] Autoupdated fragment restarts only if its host is already ON --- .../autoupdate/services/InstallSupportImpl.java| 47 +++ .../services/OperationContainerImpl.java | 2 + .../modules/autoupdate/services/Utilities.java | 36 +++- .../updateprovider/AutoupdateCatalogParser.java| 17 ++-- .../updateprovider/AutoupdateInfoParser.java | 4 + .../updateprovider/InstalledModuleItem.java| 5 +- .../autoupdate/updateprovider/ModuleItem.java | 10 +++ .../autoupdate/updateprovider/UpdateItemImpl.java | 6 +- .../netbeans/api/autoupdate/DefaultTestCase.java | 6 +- .../autoupdate/data/org-yourorghere-fragment.nbm | Bin 0 -> 3303 bytes .../data/{updates.xml => updates-bad-fragment.xml} | 4 + .../org/netbeans/api/autoupdate/data/updates.xml | 4 + .../services/FragmentDisabledNoRestartTest.java| 57 + .../services/FragmentIEnabledRestartTest.java | 49 +++ .../services/FragmentInstallHostModuleTest.java| 53 .../FragmentMissingInCatalogRestartTest.java | 55 .../services/FragmentModuleTestBase.java | 93 + 17 files changed, 434 insertions(+), 14 deletions(-) diff --git a/platform/autoupdate.services/src/org/netbeans/modules/autoupdate/services/InstallSupportImpl.java b/platform/autoupdate.services/src/org/netbeans/modules/autoupdate/services/InstallSupportImpl.java index 656f929..e70e04c 100644 --- a/platform/autoupdate.services/src/org/netbeans/modules/autoupdate/services/InstallSupportImpl.java +++ b/platform/autoupdate.services/src/org/netbeans/modules/autoupdate/services/InstallSupportImpl.java @@ -34,6 +34,7 @@ import java.security.cert.Certificate; import java.util.*; import java.util.concurrent.*; import java.util.concurrent.atomic.AtomicLong; +import java.util.jar.Attributes; import java.util.jar.JarEntry; import java.util.jar.JarFile; import java.util.logging.Level; @@ -46,8 +47,12 @@ import org.netbeans.api.autoupdate.InstallSupport.Validator; import org.netbeans.api.autoupdate.OperationContainer.OperationInfo; import org.netbeans.api.autoupdate.OperationSupport.Restarter; import org.netbeans.api.progress.ProgressHandle; +import org.netbeans.modules.autoupdate.updateprovider.AutoupdateInfoParser; +import org.netbeans.modules.autoupdate.updateprovider.ModuleItem; import org.netbeans.modules.autoupdate.updateprovider.NetworkAccess; import org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.Task; +import org.netbeans.modules.autoupdate.updateprovider.UpdateItemImpl; +import org.netbeans.spi.autoupdate.UpdateItem; import org.netbeans.updater.ModuleDeactivator; import org.netbeans.updater.ModuleUpdater; import org.netbeans.updater.UpdateTracking; @@ -59,6 +64,7 @@ import org.openide.filesystems.FileUtil; import org.openide.util.Exceptions; import org.openide.util.NbBundle; import org.openide.util.NbCollections; +import org.xml.sax.SAXException; /** * @@ -1083,6 +1089,8 @@ public class InstallSupportImpl { break; } } +updateFragmentStatus(impl, nbmFile); + } catch (IOException ioe) { LOG.log (Level.INFO, ioe.getMessage (), ioe); res = "BAD_DOWNLOAD"; @@ -1099,6 +1107,45 @@ public class InstallSupportImpl { return el.getDownloadSize (); } +private void updateFragmentStatus(UpdateElementImpl el, File nbmFile) throws IOException { +UpdateItemImpl impl = el.getInstallInfo().getUpdateItemImpl(); +if (!(impl instanceof ModuleItem)) { +return; +} +ModuleItem mod = (ModuleItem)impl; +if (mod.isFragment()) { +String fhost = mod.getFragmentHost(); +Module m = Utilities.toModule(fhost); +if (m != null && m.isEnabled()) { +impl.setNeedsRestart(Boolean.TRUE); +} +} + +Map items; +try { +items = AutoupdateInfoParser.getUpdateItems(nbmFile); +} catch (SAXException ex) { +throw new IOException(ex); +} +for (UpdateItem realItem : items.values()) { +UpdateItemImpl realImpl = Trampoline.SPI.impl(realItem); +if (realImpl instanceof ModuleItem) { +ModuleItem realMod = (ModuleItem)realImpl; +if (!realMod.getCodeName().equals(el.getCodeName())) { +continue; +} +String fhost = realMod.getFragmentHost(); +if (fhost != null && !impl.isFragment()) { +
[incubator-netbeans] branch release100 updated (f1b743b -> 33c13f7)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch release100 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git. from f1b743b [NETBEANS-49] Avoid large scroll pane jumps on Windows (#881) new beec62d [NETBEANS-1386]: Fixing handling of non-modularized repositories in project.ActionProviderImpl. new 558b2e7 [NETBEANS-804]: Support for JDK 11 classfiles changes new 33c13f7 [NETBEANS-1147,NETBEANS-1298] Autoupdated fragment restarts only if its host is already ON The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../apisupport/project/universe/AbstractEntry.java | 1 + java/classfile/apichanges.xml | 12 ++ java/classfile/manifest.mf | 3 +- .../modules/classfile/CPConstantDynamicInfo.java | 54 ++ .../netbeans/modules/classfile/ConstantPool.java | 10 +- .../modules/classfile/JDK11ClassFilesTest.java | 183 + .../debugger/jpda/projects/ConstantPool.java | 11 ++ .../moduletask/classfile/ConstantPool.java | 43 + .../java/openjdk/project/ActionProviderImpl.java | 7 +- .../autoupdate/services/InstallSupportImpl.java| 47 ++ .../services/OperationContainerImpl.java | 2 + .../modules/autoupdate/services/Utilities.java | 36 +++- .../updateprovider/AutoupdateCatalogParser.java| 17 +- .../updateprovider/AutoupdateInfoParser.java | 4 + .../updateprovider/InstalledModuleItem.java| 5 +- .../autoupdate/updateprovider/ModuleItem.java | 10 ++ .../autoupdate/updateprovider/UpdateItemImpl.java | 6 +- .../netbeans/api/autoupdate/DefaultTestCase.java | 6 +- .../autoupdate/data/org-yourorghere-fragment.nbm | Bin 0 -> 3303 bytes .../data/{updates.xml => updates-bad-fragment.xml} | 4 + .../org/netbeans/api/autoupdate/data/updates.xml | 4 + .../services/FragmentDisabledNoRestartTest.java| 57 +++ .../services/FragmentIEnabledRestartTest.java | 49 ++ .../services/FragmentInstallHostModuleTest.java| 53 ++ .../FragmentMissingInCatalogRestartTest.java | 55 +++ .../services/FragmentModuleTestBase.java | 93 +++ .../src/org/netbeans/PatchByteCode.java| 1 + 27 files changed, 754 insertions(+), 19 deletions(-) create mode 100644 java/classfile/src/org/netbeans/modules/classfile/CPConstantDynamicInfo.java create mode 100644 java/classfile/test/unit/src/org/netbeans/modules/classfile/JDK11ClassFilesTest.java create mode 100644 platform/autoupdate.services/test/unit/src/org/netbeans/api/autoupdate/data/org-yourorghere-fragment.nbm copy platform/autoupdate.services/test/unit/src/org/netbeans/api/autoupdate/data/{updates.xml => updates-bad-fragment.xml} (91%) create mode 100644 platform/autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/services/FragmentDisabledNoRestartTest.java create mode 100644 platform/autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/services/FragmentIEnabledRestartTest.java create mode 100644 platform/autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/services/FragmentInstallHostModuleTest.java create mode 100644 platform/autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/services/FragmentMissingInCatalogRestartTest.java create mode 100644 platform/autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/services/FragmentModuleTestBase.java - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] 02/03: [NETBEANS-804]: Support for JDK 11 classfiles changes
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch release100 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit 558b2e79abae0f82780a5858b22b31580b74cbe6 Author: arusinha AuthorDate: Tue Sep 25 23:00:22 2018 -0700 [NETBEANS-804]: Support for JDK 11 classfiles changes --- .../apisupport/project/universe/AbstractEntry.java | 1 + java/classfile/apichanges.xml | 12 ++ java/classfile/manifest.mf | 3 +- .../modules/classfile/CPConstantDynamicInfo.java | 54 ++ .../netbeans/modules/classfile/ConstantPool.java | 10 +- .../modules/classfile/JDK11ClassFilesTest.java | 183 + .../debugger/jpda/projects/ConstantPool.java | 11 ++ .../moduletask/classfile/ConstantPool.java | 43 + .../src/org/netbeans/PatchByteCode.java| 1 + 9 files changed, 315 insertions(+), 3 deletions(-) diff --git a/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/universe/AbstractEntry.java b/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/universe/AbstractEntry.java index 7ae4a36..d8eaa38 100644 --- a/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/universe/AbstractEntry.java +++ b/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/universe/AbstractEntry.java @@ -194,6 +194,7 @@ abstract class AbstractEntry implements ModuleEntry { case 10: // CONSTANT_Methodref case 11: // CONSTANT_InterfaceMethodref case 12: // CONSTANT_NameAndType +case 17: // CONSTANT_ConstantDynamic case 18://CONSTANT_InvokeDynamic skip(input, 4); break; diff --git a/java/classfile/apichanges.xml b/java/classfile/apichanges.xml index 7c72598..37f6916 100644 --- a/java/classfile/apichanges.xml +++ b/java/classfile/apichanges.xml @@ -83,6 +83,18 @@ is the proper place. + + +Support for Java 11 classfile enhancements. + + + + + + Java 11 added a new constant pool entry type to support the constantDynamic instruction. + + + Introduced ModulePackages, ModuleMainClass, ModuleTarget attributes diff --git a/java/classfile/manifest.mf b/java/classfile/manifest.mf index bdfd746..566b41d 100644 --- a/java/classfile/manifest.mf +++ b/java/classfile/manifest.mf @@ -1,5 +1,4 @@ Manifest-Version: 1.0 OpenIDE-Module: org.netbeans.modules.classfile/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/classfile/Bundle.properties -OpenIDE-Module-Specification-Version: 1.55.1 - +OpenIDE-Module-Specification-Version: 1.55.2 diff --git a/java/classfile/src/org/netbeans/modules/classfile/CPConstantDynamicInfo.java b/java/classfile/src/org/netbeans/modules/classfile/CPConstantDynamicInfo.java new file mode 100644 index 000..036b221 --- /dev/null +++ b/java/classfile/src/org/netbeans/modules/classfile/CPConstantDynamicInfo.java @@ -0,0 +1,54 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.netbeans.modules.classfile; + +/** + * A class representing the CONSTANT_ConstantDynamic constant pool type. + * + * @author arusinha + * @since 1.56 + */ +public class CPConstantDynamicInfo extends CPEntry { +int iBootstrapMethod; +int iNameAndType; + +CPConstantDynamicInfo(ConstantPool pool, int iBootstrapMethod, int iNameAndType) { +super(pool); +this.iBootstrapMethod = iBootstrapMethod; +this.iNameAndType = iNameAndType; +} + +public int getTag() { +return ConstantPool.CONSTANT_ConstantDynamic; +} + +public int getBootstrapMethod() { +return iBootstrapMethod; +} + +public int getNameAndType() { +return iNameAndType; +} + +@Override +public String toString() { +return getClass().getName() + ": bootstrapMethod=" + iBootstrapMethod //NOI18N ++ ", nameAndType="
[incubator-netbeans] 01/03: [NETBEANS-1386]: Fixing handling of non-modularized repositories in project.ActionProviderImpl.
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch release100 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit beec62d48e09e072b0c2369417ae84c95b0cba30 Author: Jan Lahoda AuthorDate: Tue Oct 9 07:57:44 2018 +0200 [NETBEANS-1386]: Fixing handling of non-modularized repositories in project.ActionProviderImpl. --- .../netbeans/modules/java/openjdk/project/ActionProviderImpl.java | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/java/java.openjdk.project/src/org/netbeans/modules/java/openjdk/project/ActionProviderImpl.java b/java/java.openjdk.project/src/org/netbeans/modules/java/openjdk/project/ActionProviderImpl.java index 9f71140..fae5bb8 100644 --- a/java/java.openjdk.project/src/org/netbeans/modules/java/openjdk/project/ActionProviderImpl.java +++ b/java/java.openjdk.project/src/org/netbeans/modules/java/openjdk/project/ActionProviderImpl.java @@ -112,7 +112,7 @@ public class ActionProviderImpl implements ActionProvider { genericScript = FileUtil.toFileObject(scriptFile); -if (project.moduleRepository.isConsolidatedRepo()) { +if (project.currentModule != null && project.moduleRepository.isConsolidatedRepo()) { String repoName = ShortcutUtils.getDefault().inferLegacyRepository(project); File fastBuild = InstalledFileLocator.getDefault().locate("scripts/build-" + repoName + "-consol.xml", "org.netbeans.modules.java.openjdk.project", false); if (fastBuild != null && ShortcutUtils.getDefault().shouldUseCustomBuild(repoName, FileUtil.getRelativePath(repo, project.getProjectDirectory( { @@ -185,7 +185,10 @@ public class ActionProviderImpl implements ActionProvider { command = COMMAND_BUILD_FAST; //XXX: should only do this if genericScript supports it } Properties props = new Properties(); -props.put("basedir", FileUtil.toFile(scriptFO == genericScript ? project.moduleRepository.getJDKRoot() : repository).getAbsolutePath()); +FileObject basedirFO = project.currentModule != null ? scriptFO == genericScript ? project.moduleRepository.getJDKRoot() + : repository + : repository.getParent(); +props.put("basedir", FileUtil.toFile(basedirFO).getAbsolutePath()); props.put("CONF", project.configurations.getActiveConfiguration().getLocation().getName()); props.put("nb.jdk.project.target.java.home", BuildUtils.findTargetJavaHome(project.getProjectDirectory()).getAbsolutePath()); RootKind kind = getKind(context); - 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-1438) java.lang.StackOverflowError in JavaScript
[ https://issues.apache.org/jira/browse/NETBEANS-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667555#comment-16667555 ] Junichi Yamamoto commented on NETBEANS-1438: I had a look at it. Perhaps, the exception does not occur but I don't think it is a good way... because just ignore the problem. So someone else should also review it. I've requested the review in the GitHub. https://github.com/apache/incubator-netbeans/pull/994. > java.lang.StackOverflowError in JavaScript > -- > > Key: NETBEANS-1438 > URL: https://issues.apache.org/jira/browse/NETBEANS-1438 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor >Affects Versions: 10.0 > Environment: Windows 10 AND Debian 9 > Core i5 6600 > 8GB DDR4 >Reporter: Rodrigo Teixeira Andreotti >Assignee: Reema Taneja >Priority: Blocker > Labels: pull-request-available > Attachments: Mail Attachment.gif, Mail Attachment.gif, > bibliotecas.zip, debian.log, windows.log > > Time Spent: 50m > Remaining Estimate: 0h > > When I create a PHP project from remote sources, the project is created > correctly, the files are downloaded, however when the download is finished > netbeans throws an stackoverflow exception. > This problem occurs both by running Netbeans in Debian 9 and in Windows 10. > Attached are the logs generated on each of the systems. > In both cases after closing the warning window with the exception Netbeans > remains fully functional, the files are downloaded and project is created > correctly. > > *Edit:* Attached library that causes the error (CKEditor) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1438) java.lang.StackOverflowError in JavaScript
[ https://issues.apache.org/jira/browse/NETBEANS-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] geertjan.wiele...@oracle.com updated NETBEANS-1438: --- Attachment: Mail Attachment.gif Mail Attachment.gif Geertjan Wielenga | Senior Principal Product Manager Phone: +31620320056 | Oracle Developer Tools ORACLE Netherlands | Hertogswetering 163-167 | 3543 AS Utrecht | Netherlands Oracle is committed to developing practices and products that help protect the environment > java.lang.StackOverflowError in JavaScript > -- > > Key: NETBEANS-1438 > URL: https://issues.apache.org/jira/browse/NETBEANS-1438 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor >Affects Versions: 10.0 > Environment: Windows 10 AND Debian 9 > Core i5 6600 > 8GB DDR4 >Reporter: Rodrigo Teixeira Andreotti >Assignee: Reema Taneja >Priority: Blocker > Labels: pull-request-available > Attachments: Mail Attachment.gif, Mail Attachment.gif, > bibliotecas.zip, debian.log, windows.log > > Time Spent: 40m > Remaining Estimate: 0h > > When I create a PHP project from remote sources, the project is created > correctly, the files are downloaded, however when the download is finished > netbeans throws an stackoverflow exception. > This problem occurs both by running Netbeans in Debian 9 and in Windows 10. > Attached are the logs generated on each of the systems. > In both cases after closing the warning window with the exception Netbeans > remains fully functional, the files are downloaded and project is created > correctly. > > *Edit:* Attached library that causes the error (CKEditor) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1359) Profiling the IDE hangs when saving snapshot
[ https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667529#comment-16667529 ] Mandy Chung commented on NETBEANS-1359: --- [https://bugs.openjdk.java.net/browse/JDK-8212795] has been fixed in 12 and backport to 11.0.2. Sven has verified that the fix for JDK-8212795 has resolved this NetBeans issue. > Profiling the IDE hangs when saving snapshot > > > Key: NETBEANS-1359 > URL: https://issues.apache.org/jira/browse/NETBEANS-1359 > Project: NetBeans > Issue Type: Bug > Components: platform - JDK Problems >Affects Versions: 10.0 >Reporter: Glenn Holmer >Assignee: Glenn Holmer >Priority: Blocker > Labels: netcat > Attachments: stacktrace.txt > > > 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling > the IDE. > 2) Open some projects, files within them, etc. to create some activity for > the profiler. > 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a > Snapshot"). > This last action should create and open a profiler snapshot, but the "Saving > snapshot" progress bar in the status area of NetBeans never goes anywhere and > a snapshot is not opened. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1438) java.lang.StackOverflowError in JavaScript
[ https://issues.apache.org/jira/browse/NETBEANS-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667522#comment-16667522 ] Geertjan Wielenga commented on NETBEANS-1438: - Well, if the PR is there, that's great news. Have you tried it, does it solve the problem? > java.lang.StackOverflowError in JavaScript > -- > > Key: NETBEANS-1438 > URL: https://issues.apache.org/jira/browse/NETBEANS-1438 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor >Affects Versions: 10.0 > Environment: Windows 10 AND Debian 9 > Core i5 6600 > 8GB DDR4 >Reporter: Rodrigo Teixeira Andreotti >Assignee: Reema Taneja >Priority: Blocker > Labels: pull-request-available > Attachments: bibliotecas.zip, debian.log, windows.log > > Time Spent: 40m > Remaining Estimate: 0h > > When I create a PHP project from remote sources, the project is created > correctly, the files are downloaded, however when the download is finished > netbeans throws an stackoverflow exception. > This problem occurs both by running Netbeans in Debian 9 and in Windows 10. > Attached are the logs generated on each of the systems. > In both cases after closing the warning window with the exception Netbeans > remains fully functional, the files are downloaded and project is created > correctly. > > *Edit:* Attached library that causes the error (CKEditor) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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
[incubator-netbeans] branch release100 updated: [NETBEANS-49] Avoid large scroll pane jumps on Windows (#881)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch release100 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git The following commit(s) were added to refs/heads/release100 by this push: new f1b743b [NETBEANS-49] Avoid large scroll pane jumps on Windows (#881) f1b743b is described below commit f1b743b99cfedf55c9623d8608291004d3826eae Author: Eirik Bakke AuthorDate: Wed Oct 3 19:08:02 2018 -0400 [NETBEANS-49] Avoid large scroll pane jumps on Windows (#881) [NETBEANS-49] Handle precise scroll events in all scroll panes on Windows. This commit adapts a patch originally written by Pavel Fatin, for IntelliJ, to NetBeans. See http://mail.openjdk.java.net/pipermail/awt-dev/2017-January/012507.html . The main utility of this patch is to avoid scroll panes scrolling a too large number of lines when using a touch pad or mouse wheel on Windows. See the bug report at NETBEANS-49. (Adjustments after pull request comments: Adjust license and notice per pull request comments. Use 4-space indentation.) --- platform/o.n.swing.plaf/licenseinfo.xml| 11 ++ .../src/org/netbeans/swing/plaf/Startup.java | 9 ++ .../swing/plaf/util/SmoothScrollPaneUI.java| 132 + 3 files changed, 152 insertions(+) diff --git a/platform/o.n.swing.plaf/licenseinfo.xml b/platform/o.n.swing.plaf/licenseinfo.xml index 2461eb5..4542462 100644 --- a/platform/o.n.swing.plaf/licenseinfo.xml +++ b/platform/o.n.swing.plaf/licenseinfo.xml @@ -44,4 +44,15 @@ + +src/org/netbeans/swing/plaf/util/SmoothScrollPaneUI.java + + + +This software includes code from IntelliJ IDEA Community Edition +Copyright (C) JetBrains s.r.o. +https://www.jetbrains.com/idea/ + + diff --git a/platform/o.n.swing.plaf/src/org/netbeans/swing/plaf/Startup.java b/platform/o.n.swing.plaf/src/org/netbeans/swing/plaf/Startup.java index bb64eba..5daf055 100644 --- a/platform/o.n.swing.plaf/src/org/netbeans/swing/plaf/Startup.java +++ b/platform/o.n.swing.plaf/src/org/netbeans/swing/plaf/Startup.java @@ -255,6 +255,15 @@ public final class Startup { } curCustoms.disposeValues(); } +installSmoothScrollPane(); +} + +private void installSmoothScrollPane() { + UIDefaults defaults = UIManager.getDefaults(); + final String SCROLL_PANE_UI_CLASS_ID = "ScrollPaneUI"; + Object existingValue = defaults.get(SCROLL_PANE_UI_CLASS_ID); + if ("javax.swing.plaf.basic.BasicScrollPaneUI".equals(existingValue)) +defaults.put(SCROLL_PANE_UI_CLASS_ID, "org.netbeans.swing.plaf.util.SmoothScrollPaneUI"); } private void loadAllLazyValues (LFCustoms customs) { diff --git a/platform/o.n.swing.plaf/src/org/netbeans/swing/plaf/util/SmoothScrollPaneUI.java b/platform/o.n.swing.plaf/src/org/netbeans/swing/plaf/util/SmoothScrollPaneUI.java new file mode 100644 index 000..333c8ed --- /dev/null +++ b/platform/o.n.swing.plaf/src/org/netbeans/swing/plaf/util/SmoothScrollPaneUI.java @@ -0,0 +1,132 @@ +/* + * Copyright 2000-2016 JetBrains s.r.o. + * + * Licensed 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. + */ +/* This file is based in part on the commit + * https://github.com/JetBrains/intellij-community/commit/34b9dfd0585937c3731e06a89554d1dc86f7f235 + * from 2016-12-14 in the IntelliJ IDEA Community Edition repository, as referenced by Pavel Fatin + * on the AWT Dev mailing list on 2017-01-04 + * ( http://mail.openjdk.java.net/pipermail/awt-dev/2017-January/012507.html ), and retrieved on + * 2018-09-17. The source files in question are as follows: + * com.intellij.ui.components.SmoothScrollPane (author Pavel Fatin) + * com.intellij.ui.components.JBScrollPane + * + * The original code has been modified by Eirik Bakke (eba...@ultorg.com) for standalone use outside + * the IntelliJ IDE. In particular, we use here a custom ScrollPaneUI implementation instead of the + * original approach of accessing the mouseScrollListener by reflection. + * + * The complete license header for the original files (identical for both files) is included above. + * The NOTICE file is pasted in licenseinfo.xml. + */ +package org.netbeans.swing.plaf.util; + +import java.awt.Point; +import java.awt.Rectangle; +import java.awt.event.MouseWheelEvent; +import
[jira] [Commented] (NETBEANS-1438) java.lang.StackOverflowError in JavaScript
[ https://issues.apache.org/jira/browse/NETBEANS-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667521#comment-16667521 ] Junichi Yamamoto commented on NETBEANS-1438: I think this is a blocker because there is no workaround... (We cannot edit a JS file has a problem because the exception occurs many times) I suppose Reema is working on this now. The PR has been created. > java.lang.StackOverflowError in JavaScript > -- > > Key: NETBEANS-1438 > URL: https://issues.apache.org/jira/browse/NETBEANS-1438 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor >Affects Versions: 10.0 > Environment: Windows 10 AND Debian 9 > Core i5 6600 > 8GB DDR4 >Reporter: Rodrigo Teixeira Andreotti >Assignee: Reema Taneja >Priority: Blocker > Labels: pull-request-available > Attachments: bibliotecas.zip, debian.log, windows.log > > Time Spent: 40m > Remaining Estimate: 0h > > When I create a PHP project from remote sources, the project is created > correctly, the files are downloaded, however when the download is finished > netbeans throws an stackoverflow exception. > This problem occurs both by running Netbeans in Debian 9 and in Windows 10. > Attached are the logs generated on each of the systems. > In both cases after closing the warning window with the exception Netbeans > remains fully functional, the files are downloaded and project is created > correctly. > > *Edit:* Attached library that causes the error (CKEditor) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1369) Unshelve changes does not work
[ https://issues.apache.org/jira/browse/NETBEANS-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667501#comment-16667501 ] Alexander Romanenko commented on NETBEANS-1369: --- Not in recent netcat test through. Will close. > Unshelve changes does not work > -- > > Key: NETBEANS-1369 > URL: https://issues.apache.org/jira/browse/NETBEANS-1369 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Code >Affects Versions: 10.0 >Reporter: Alexander Romanenko >Priority: Blocker > > [NetCAT specification > |http://netbeans-vm.apache.org/synergy/client/app/#/title/%255Bvcs%255D_git/] > Test Suite 5.2 and 5.3 > Attempt to unshelve, right after shelving fails with "The patch cannot be > applied to the selected context" > Also, first time I tried it, it kept on trying to unshelve against my > operating system user profile's temporary directory. After trying a few > times, it just started failing. > Also, the wording of initial stashing dialogue is not clear: > "You may shelve changes instead using git stash" > Is it supposed to be "instead OF using git stash" ? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Closed] (NETBEANS-1369) Unshelve changes does not work
[ https://issues.apache.org/jira/browse/NETBEANS-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Romanenko closed NETBEANS-1369. - Resolution: Cannot Reproduce > Unshelve changes does not work > -- > > Key: NETBEANS-1369 > URL: https://issues.apache.org/jira/browse/NETBEANS-1369 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Code >Affects Versions: 10.0 >Reporter: Alexander Romanenko >Priority: Blocker > > [NetCAT specification > |http://netbeans-vm.apache.org/synergy/client/app/#/title/%255Bvcs%255D_git/] > Test Suite 5.2 and 5.3 > Attempt to unshelve, right after shelving fails with "The patch cannot be > applied to the selected context" > Also, first time I tried it, it kept on trying to unshelve against my > operating system user profile's temporary directory. After trying a few > times, it just started failing. > Also, the wording of initial stashing dialogue is not clear: > "You may shelve changes instead using git stash" > Is it supposed to be "instead OF using git stash" ? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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
[incubator-netbeans-html4j] 04/04: [maven-release-plugin] prepare release release-1.6
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to annotated tag release-1.6 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git commit e47a95b410ab27f426d71c13606532fa3d2d8598 Author: Jaroslav Tulach AuthorDate: Mon Oct 29 18:28:54 2018 +0100 [maven-release-plugin] prepare release release-1.6 --- boot-agent-test/pom.xml | 2 +- boot-fx/pom.xml | 4 ++-- boot-script/pom.xml | 4 ++-- boot/pom.xml| 4 ++-- context/pom.xml | 4 ++-- equinox-agentclass-hook/pom.xml | 2 +- geo/pom.xml | 4 ++-- html4j-maven-plugin/pom.xml | 4 ++-- json-tck/pom.xml| 6 +++--- json/pom.xml| 4 ++-- ko-felix-test/pom.xml | 2 +- ko-osgi-test/pom.xml| 2 +- ko-ws-tyrus/pom.xml | 4 ++-- ko4j/pom.xml| 4 ++-- pom.xml | 4 ++-- sound/pom.xml | 4 ++-- xhr4j/pom.xml | 4 ++-- 17 files changed, 31 insertions(+), 31 deletions(-) diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml index d070c90..a7fbd07 100644 --- a/boot-agent-test/pom.xml +++ b/boot-agent-test/pom.xml @@ -24,7 +24,7 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 boot-agent-test jar diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml index f486bc4..49b8044 100644 --- a/boot-fx/pom.xml +++ b/boot-fx/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 org.netbeans.html net.java.html.boot.fx - 2.0-SNAPSHOT + 1.6 FX WebView Bootstrap bundle http://maven.apache.org diff --git a/boot-script/pom.xml b/boot-script/pom.xml index ab65024..d26a47c 100644 --- a/boot-script/pom.xml +++ b/boot-script/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 Presenter via javax.script net.java.html.boot.script -2.0-SNAPSHOT +1.6 bundle NONE diff --git a/boot/pom.xml b/boot/pom.xml index c86d162..abae40e 100644 --- a/boot/pom.xml +++ b/boot/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 org.netbeans.html net.java.html.boot - 2.0-SNAPSHOT + 1.6 bundle Browser Bootstrap http://maven.apache.org diff --git a/context/pom.xml b/context/pom.xml index 1f1cc29..8a2a96e 100644 --- a/context/pom.xml +++ b/context/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 org.netbeans.html net.java.html - 2.0-SNAPSHOT + 1.6 bundle HTML Context http://maven.apache.org diff --git a/equinox-agentclass-hook/pom.xml b/equinox-agentclass-hook/pom.xml index 9522247..5f32a1b 100644 --- a/equinox-agentclass-hook/pom.xml +++ b/equinox-agentclass-hook/pom.xml @@ -24,7 +24,7 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 AgentClass Hook for Equinox equinox-agentclass-hook diff --git a/geo/pom.xml b/geo/pom.xml index 928ece3..d925f30 100644 --- a/geo/pom.xml +++ b/geo/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 org.netbeans.html net.java.html.geo - 2.0-SNAPSHOT + 1.6 bundle Geolocation API http://maven.apache.org diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml index 491cb09..2322275 100644 --- a/html4j-maven-plugin/pom.xml +++ b/html4j-maven-plugin/pom.xml @@ -24,12 +24,12 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 maven-plugin org.netbeans.html html4j-maven-plugin - 2.0-SNAPSHOT + 1.6 Html for Java Maven Plugin http://maven.apache.org Maven plugin to post process the classes with @JavaScriptBody annotations diff --git a/json-tck/pom.xml b/json-tck/pom.xml index 20e5612..f110b6e 100644 --- a/json-tck/pom.xml +++ b/json-tck/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 org.netbeans.html net.java.html.json.tck - 2.0-SNAPSHOT + 1.6 bundle HTML for Java TCK http://maven.apache.org @@ -70,7 +70,7 @@ org.netbeans.html net.java.html.json - 2.0-SNAPSHOT + 1.6 jar diff --git a/json/pom.xml b/json/pom.xml index 0c84eac..52f16c7 100644 --- a/json/pom.xml +++ b/json/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 org.netbeans.html net.java.html.json - 2.0-SNAPSHOT + 1.6 bundle JSON Model in Java http://maven.apache.org diff --git a/ko-felix-test/pom.xml b/ko-felix-test/pom.xml index 6f2a9cd..7739031 100644 --- a/ko-felix-test/pom.xml +++ b/ko-felix-test/pom.xml @@ -24,7 +24,7 @@ org.netbeans.html pom -2.0-SNAPSHOT +1.6 KO Tests in Felix OSGi Container
[incubator-netbeans-html4j] annotated tag release-1.6 created (now ebd200f)
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a change to annotated tag release-1.6 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git. at ebd200f (tag) tagging e47a95b410ab27f426d71c13606532fa3d2d8598 (commit) by Jaroslav Tulach on Mon Oct 29 18:28:54 2018 +0100 - Log - [maven-release-plugin] copy for tag release-1.6 --- This annotated tag includes the following new commits: new ef6e774 Using Apache parent pom to upload bits to Apache Nexus repository new 96092fe Changes needed to prepare a release new 6959261 Merge branch 'master' into UploadMaven new e47a95b [maven-release-plugin] prepare release release-1.6 The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-html4j] 02/04: Changes needed to prepare a release
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to annotated tag release-1.6 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git commit 96092fe26ceb17128ac5114d3d864675301f3cb0 Author: Jaroslav Tulach AuthorDate: Sun Oct 28 17:45:47 2018 +0100 Changes needed to prepare a release --- pom.xml | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index 2977664..70d68d3 100644 --- a/pom.xml +++ b/pom.xml @@ -93,16 +93,13 @@ - -maven-release-plugin -2.4 - - forked-path - false - -Pjvnet-release -Pgpg - release-${releaseVersion} - - + + maven-release-plugin + 2.4 + + release-${releaseVersion} + + org.apache.maven.plugins maven-javadoc-plugin @@ -197,6 +194,7 @@ org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context. +release.properties **/target/** .gitignore **/.git/** - 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
[incubator-netbeans-html4j] 01/04: Using Apache parent pom to upload bits to Apache Nexus repository
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to annotated tag release-1.6 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git commit ef6e7742de883d197f71eba047fa68dcd64fe527 Author: Jaroslav Tulach AuthorDate: Sun Oct 28 16:56:03 2018 +0100 Using Apache parent pom to upload bits to Apache Nexus repository --- pom.xml | 52 ++-- 1 file changed, 14 insertions(+), 38 deletions(-) diff --git a/pom.xml b/pom.xml index 3e59bab..2977664 100644 --- a/pom.xml +++ b/pom.xml @@ -27,9 +27,9 @@ pom HTML APIs via Java -net.java -jvnet-parent - 3 + org.apache + apache + 10 UTF-8 @@ -223,41 +223,17 @@ org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context. org.apache.maven.plugins maven-remote-resources-plugin 1.4 - - -per-module-deps - -process - -validate - - - - org.apache:apache-jar-resource-bundle:1.4 - - org.apache:apache-incubator-disclaimer-resource-bundle:1.1 - - - - -all-deps - -process - -validate - - true - org.netbeans.html - - - org.apache:apache-jar-resource-bundle:1.4 - - ko4j/src/main/appended-resources - - - + + + org.apache:apache-jar-resource-bundle:1.4 + org.apache:apache-incubator-disclaimer-resource-bundle:1.1 + +org.netbeans.html + + org.apache:apache-jar-resource-bundle:1.4 + + ko4j/src/main/appended-resources + - 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
[incubator-netbeans-html4j] 03/04: Merge branch 'master' into UploadMaven
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to annotated tag release-1.6 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git commit 6959261a6c6037775035e7db33fa4f609940a9c5 Merge: 96092fe 63507d7 Author: Jaroslav Tulach AuthorDate: Mon Oct 29 18:25:25 2018 +0100 Merge branch 'master' into UploadMaven README.md | 4 +- .../org/netbeans/html/json/impl/SimpleList.java| 18 +- .../java/org/netbeans/html/json/spi/Proto.java | 63 --- .../java/org/netbeans/html/json/spi/ProtoTest.java | 198 + 4 files changed, 256 insertions(+), 27 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
[jira] [Commented] (NETBEANS-882) Exception running under JDK 11
[ https://issues.apache.org/jira/browse/NETBEANS-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667482#comment-16667482 ] Geertjan Wielenga commented on NETBEANS-882: I believe this is the same as this one: https://issues.apache.org/jira/browse/NETBEANS-1359 What do we do with this for Apache NetBeans 10? Document it in the release notes as a JDK bug in JDK 11, change 'blocker' to 'major', and make sure to keep track of it? > Exception running under JDK 11 > -- > > Key: NETBEANS-882 > URL: https://issues.apache.org/jira/browse/NETBEANS-882 > Project: NetBeans > Issue Type: Bug > Components: platform - JDK Problems >Affects Versions: 10.0 >Reporter: Sven Reimers >Priority: Blocker > Fix For: 10.0 > > Attachments: Screenshot_20180918_104806.png, > Screenshot_20180918_104851.png, Screenshot_20181002_095023.png, > exception_on_openjdk11.txt, image-2018-05-30-11-34-53-526.png, > image-2018-05-30-12-20-16-090.png, image-2018-09-18-11-15-45-588.png > > > Installed some modules and got this - no code no nothing done.. > {code:java} > javax.management.openmbean.OpenDataException: Argument value of wrong type > for item lineNumber: value java.lang.ref.Reference, type > javax.management.openmbean.SimpleType(name=java.lang.Integer) > at > java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:235) > at > java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118) > at > java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:91) > Caused: java.lang.AssertionError > at > java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:96) > at > java.management/sun.management.StackTraceElementCompositeData.toCompositeData(StackTraceElementCompositeData.java:74) > at > java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:82) > at > java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72) > Caused: java.lang.reflect.InvocationTargetException > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:569) > at > org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178) > Caused: java.lang.RuntimeException > at > org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184) > at > org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44) > at > org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285) > at > org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253) > at > org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202) > at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231) > at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197) > [catch] at > org.netbeans.core.TimableEventQueue$1R.run(TimableEventQueue.java:223) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1359) Profiling the IDE hangs when saving snapshot
[ https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667481#comment-16667481 ] Geertjan Wielenga commented on NETBEANS-1359: - What do we do with this for Apache NetBeans 10? Document it in the release notes as a JDK bug in JDK 11, change 'blocker' to 'major', and make sure to keep track of it? > Profiling the IDE hangs when saving snapshot > > > Key: NETBEANS-1359 > URL: https://issues.apache.org/jira/browse/NETBEANS-1359 > Project: NetBeans > Issue Type: Bug > Components: platform - JDK Problems >Affects Versions: 10.0 >Reporter: Glenn Holmer >Assignee: Glenn Holmer >Priority: Blocker > Labels: netcat > Attachments: stacktrace.txt > > > 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling > the IDE. > 2) Open some projects, files within them, etc. to create some activity for > the profiler. > 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a > Snapshot"). > This last action should create and open a profiler snapshot, but the "Saving > snapshot" progress bar in the status area of NetBeans never goes anywhere and > a snapshot is not opened. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1438) java.lang.StackOverflowError in JavaScript
[ https://issues.apache.org/jira/browse/NETBEANS-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667466#comment-16667466 ] Geertjan Wielenga commented on NETBEANS-1438: - This is a blocker for the Apache NetBeans 10 release. Is it a blocker, should it be 'major', what's its status? > java.lang.StackOverflowError in JavaScript > -- > > Key: NETBEANS-1438 > URL: https://issues.apache.org/jira/browse/NETBEANS-1438 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor >Affects Versions: 10.0 > Environment: Windows 10 AND Debian 9 > Core i5 6600 > 8GB DDR4 >Reporter: Rodrigo Teixeira Andreotti >Assignee: Reema Taneja >Priority: Blocker > Labels: pull-request-available > Attachments: bibliotecas.zip, debian.log, windows.log > > Time Spent: 40m > Remaining Estimate: 0h > > When I create a PHP project from remote sources, the project is created > correctly, the files are downloaded, however when the download is finished > netbeans throws an stackoverflow exception. > This problem occurs both by running Netbeans in Debian 9 and in Windows 10. > Attached are the logs generated on each of the systems. > In both cases after closing the warning window with the exception Netbeans > remains fully functional, the files are downloaded and project is created > correctly. > > *Edit:* Attached library that causes the error (CKEditor) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1369) Unshelve changes does not work
[ https://issues.apache.org/jira/browse/NETBEANS-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667464#comment-16667464 ] Geertjan Wielenga commented on NETBEANS-1369: - So, far, not able to reproduce it. Are you able to? Are/were you using 10 vc1? > Unshelve changes does not work > -- > > Key: NETBEANS-1369 > URL: https://issues.apache.org/jira/browse/NETBEANS-1369 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Code >Affects Versions: 10.0 >Reporter: Alexander Romanenko >Priority: Blocker > > [NetCAT specification > |http://netbeans-vm.apache.org/synergy/client/app/#/title/%255Bvcs%255D_git/] > Test Suite 5.2 and 5.3 > Attempt to unshelve, right after shelving fails with "The patch cannot be > applied to the selected context" > Also, first time I tried it, it kept on trying to unshelve against my > operating system user profile's temporary directory. After trying a few > times, it just started failing. > Also, the wording of initial stashing dialogue is not clear: > "You may shelve changes instead using git stash" > Is it supposed to be "instead OF using git stash" ? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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
[incubator-netbeans-html4j] branch master updated: Show status of Travis verification
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git The following commit(s) were added to refs/heads/master by this push: new 63507d7 Show status of Travis verification 63507d7 is described below commit 63507d7649c1d5acc5b5e9284493cc738ce30f32 Author: Jaroslav Tulach AuthorDate: Mon Oct 29 16:06:33 2018 +0100 Show status of Travis verification --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1373f8b..f975754 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ In need of cross platform, client side interaction between Java and JavaScript? -[![Build Status](https://builds.apache.org/buildStatus/icon?job=incubator-netbeans-html4j-linux)](https://builds.apache.org/job/incubator-netbeans-html4j-linux/) +[![Travis](https://travis-ci.org/apache/incubator-netbeans-html4j.svg?branch=master)](https://travis-ci.org/apache/incubator-netbeans-html4j) +[![Linux](https://builds.apache.org/buildStatus/icon?job=incubator-netbeans-html4j-linux)](https://builds.apache.org/job/incubator-netbeans-html4j-linux/) +[![Windows](https://builds.apache.org/buildStatus/icon?job=incubator-netbeans-html4j-windows)](https://builds.apache.org/job/incubator-netbeans-html4j-windows) The HTML/Java library provides [basic building blocks](https://builds.apache.org/job/incubator-netbeans-html4j-linux/javadoc/net/java/html/js/package-summary.html) as well as advanced [high level concepts](https://builds.apache.org/job/incubator-netbeans-html4j-linux/javadoc/net/java/html/json/Model.html) - 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-1343) It is not possible to create a new JavaFX project in JDK 11
[ https://issues.apache.org/jira/browse/NETBEANS-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667408#comment-16667408 ] Geertjan Wielenga commented on NETBEANS-1343: - For JDK 11, this is not a blocker, there are workarounds, see the YouTube clips, and JDK 11 simply does not support JavaFX. In subsequent releases, we can evaluate whether/if/how openjfx should be downloaded to support this scenario. > It is not possible to create a new JavaFX project in JDK 11 > --- > > Key: NETBEANS-1343 > URL: https://issues.apache.org/jira/browse/NETBEANS-1343 > Project: NetBeans > Issue Type: Bug > Components: javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1 >Reporter: Michal Rama >Priority: Major > Labels: javafx, pull-request-available > Attachments: picture1.png, picture10.png, picture11.png, > picture12.png, picture13.png, picture14.png, picture15.png, picture2.png, > picture3.png, picture4.png, picture5.png, picture6.png, picture7.png, > picture8.png, picture9.png > > Time Spent: 20m > Remaining Estimate: 0h > > Hello, > Unable to create projects. > New Java Project > !picture1.png! > New JavaFX project > !picture2.png! > Please advise. > Thank you > PS. Projects in HTML / CSS / JS / PHP can be created without any problem. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1343) It is not possible to create a new JavaFX project in JDK 11
[ https://issues.apache.org/jira/browse/NETBEANS-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Geertjan Wielenga updated NETBEANS-1343: Priority: Major (was: Blocker) > It is not possible to create a new JavaFX project in JDK 11 > --- > > Key: NETBEANS-1343 > URL: https://issues.apache.org/jira/browse/NETBEANS-1343 > Project: NetBeans > Issue Type: Bug > Components: javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, Incubator NetBeans Linux 886, Java 11.0.1 >Reporter: Michal Rama >Priority: Major > Labels: javafx, pull-request-available > Attachments: picture1.png, picture10.png, picture11.png, > picture12.png, picture13.png, picture14.png, picture15.png, picture2.png, > picture3.png, picture4.png, picture5.png, picture6.png, picture7.png, > picture8.png, picture9.png > > Time Spent: 20m > Remaining Estimate: 0h > > Hello, > Unable to create projects. > New Java Project > !picture1.png! > New JavaFX project > !picture2.png! > Please advise. > Thank you > PS. Projects in HTML / CSS / JS / PHP can be created without any problem. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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
[incubator-netbeans-html4j] branch master updated: Allow additional registrations of properties and functions into a Proto.Type
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git The following commit(s) were added to refs/heads/master by this push: new 7cb1712 Allow additional registrations of properties and functions into a Proto.Type 7cb1712 is described below commit 7cb171279dbb1fbb81c2c7c1781d3f9efc64a130 Author: Jaroslav Tulach AuthorDate: Mon Oct 29 15:51:04 2018 +0100 Allow additional registrations of properties and functions into a Proto.Type --- .../org/netbeans/html/json/impl/SimpleList.java| 18 +- .../java/org/netbeans/html/json/spi/Proto.java | 63 --- .../java/org/netbeans/html/json/spi/ProtoTest.java | 198 + 3 files changed, 253 insertions(+), 26 deletions(-) diff --git a/json/src/main/java/org/netbeans/html/json/impl/SimpleList.java b/json/src/main/java/org/netbeans/html/json/impl/SimpleList.java index 0950c7e..566397c 100644 --- a/json/src/main/java/org/netbeans/html/json/impl/SimpleList.java +++ b/json/src/main/java/org/netbeans/html/json/impl/SimpleList.java @@ -239,9 +239,9 @@ public class SimpleList implements List { } } -private void ensureAccess(int reqSize) { +private int ensureAccess(int reqSize) { if (reqSize < size) { -return; +return size; } int newSize = arr == null ? 0 : arr.length; @@ -257,6 +257,11 @@ public class SimpleList implements List { } arr = newArr; +return reqSize; +} + +private void ensureSize(int newSize) { +this.size = ensureAccess(newSize); } @Override @@ -404,6 +409,15 @@ public class SimpleList implements List { return sb.toString(); } +public static void ensureSize(List list, int size) { +if (list instanceof SimpleList) { +((SimpleList) list).ensureSize(size); +return; +} +while (list.size() < size) { +list.add(null); +} +} private final class Sub implements List { private final int from; diff --git a/json/src/main/java/org/netbeans/html/json/spi/Proto.java b/json/src/main/java/org/netbeans/html/json/spi/Proto.java index d54cf58..dfa1ab7 100644 --- a/json/src/main/java/org/netbeans/html/json/spi/Proto.java +++ b/json/src/main/java/org/netbeans/html/json/spi/Proto.java @@ -18,6 +18,7 @@ */ package org.netbeans.html.json.spi; +import java.util.Arrays; import java.util.Collection; import java.util.List; import net.java.html.BrwsrCtx; @@ -32,6 +33,7 @@ import org.netbeans.html.json.impl.JSONList; import org.netbeans.html.json.impl.PropertyBindingAccessor; import org.netbeans.html.json.impl.RcvrJSON; import org.netbeans.html.json.impl.RcvrJSON.MsgEvnt; +import org.netbeans.html.json.impl.SimpleList; /** Object associated with one instance of a model generated by the * {@link Model} annotation. Contains methods the generated class can @@ -141,7 +143,7 @@ public final class Proto { }); } -/** Whenever model changes a propertyit should notify the +/** Whenever model changes a property it should notify the * associated technology. Either by calling this method * (if the new value is known and different to the old one) or * via (slightly ineffective) {@link #valueHasMutated(java.lang.String)} @@ -486,17 +488,19 @@ public final class Proto { final Bindings initBindings(Object originalObject) { if (ko == null) { Bindings b = Bindings.apply(context); -PropertyBinding[] pb = new PropertyBinding[type.propertyNames.length]; +PropertyBinding[] pb = new PropertyBinding[type.properties.size()]; for (int i = 0; i < pb.length; i++) { -pb[i] = b.registerProperty( -type.propertyNames[i], i, obj, type, type.propertyType[i] -); +final PropertyInfo info = (PropertyInfo) type.properties.get(i); +if (info != null) { +pb[i] = b.registerProperty(info.name, i, obj, type, info.type); +} } -FunctionBinding[] fb = new FunctionBinding[type.functions.length]; +FunctionBinding[] fb = new FunctionBinding[type.functions.size()]; for (int i = 0; i < fb.length; i++) { -fb[i] = FunctionBinding.registerFunction( -type.functions[i], i, obj, type -); +final String fnName = (String) type.functions.get(i); +if (fnName != null) { +fb[i] = FunctionBinding.registerFunction(fnName, i, obj, type); +} } ko = b; b.finish(obj, originalObject, pb, fb); @@ -519,6 +523,16 @@ public final class Proto { return observers; } +private static class
[jira] [Commented] (NETBEANS-1438) java.lang.StackOverflowError in JavaScript
[ https://issues.apache.org/jira/browse/NETBEANS-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667182#comment-16667182 ] Reema Taneja commented on NETBEANS-1438: Thanks a lot Junichi for your help. I have added check to exit recursion if it goes beyond a count. Didn't add logger as I'm not sure if having that would be much helpful. For any missing goto functionality, filer can provide sample code. > java.lang.StackOverflowError in JavaScript > -- > > Key: NETBEANS-1438 > URL: https://issues.apache.org/jira/browse/NETBEANS-1438 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor >Affects Versions: 10.0 > Environment: Windows 10 AND Debian 9 > Core i5 6600 > 8GB DDR4 >Reporter: Rodrigo Teixeira Andreotti >Assignee: Reema Taneja >Priority: Blocker > Labels: pull-request-available > Attachments: bibliotecas.zip, debian.log, windows.log > > Time Spent: 10m > Remaining Estimate: 0h > > When I create a PHP project from remote sources, the project is created > correctly, the files are downloaded, however when the download is finished > netbeans throws an stackoverflow exception. > This problem occurs both by running Netbeans in Debian 9 and in Windows 10. > Attached are the logs generated on each of the systems. > In both cases after closing the warning window with the exception Netbeans > remains fully functional, the files are downloaded and project is created > correctly. > > *Edit:* Attached library that causes the error (CKEditor) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1438) java.lang.StackOverflowError in JavaScript
[ https://issues.apache.org/jira/browse/NETBEANS-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-1438: - Labels: pull-request-available (was: ) > java.lang.StackOverflowError in JavaScript > -- > > Key: NETBEANS-1438 > URL: https://issues.apache.org/jira/browse/NETBEANS-1438 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor >Affects Versions: 10.0 > Environment: Windows 10 AND Debian 9 > Core i5 6600 > 8GB DDR4 >Reporter: Rodrigo Teixeira Andreotti >Assignee: Reema Taneja >Priority: Blocker > Labels: pull-request-available > Attachments: bibliotecas.zip, debian.log, windows.log > > > When I create a PHP project from remote sources, the project is created > correctly, the files are downloaded, however when the download is finished > netbeans throws an stackoverflow exception. > This problem occurs both by running Netbeans in Debian 9 and in Windows 10. > Attached are the logs generated on each of the systems. > In both cases after closing the warning window with the exception Netbeans > remains fully functional, the files are downloaded and project is created > correctly. > > *Edit:* Attached library that causes the error (CKEditor) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1568) Move all sourcecode references of old site to the new Apache one.
[ https://issues.apache.org/jira/browse/NETBEANS-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil C Smith updated NETBEANS-1568: --- Summary: Move all sourcecode references of old site to the new Apache one. (was: Move all sourcode references of old site to the new Apache one.) > Move all sourcecode references of old site to the new Apache one. > - > > Key: NETBEANS-1568 > URL: https://issues.apache.org/jira/browse/NETBEANS-1568 > Project: NetBeans > Issue Type: Task >Reporter: Laszlo Kishalmi >Priority: Major > > In the current source code there are some user visible references to the old > netbeans.org site. > These references (mostly Wiki pages) shall be migrated to the Apache > site/Netbeans Confluence Wiki and replace the URL in the source code. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1568) Move all sourcode references of old site to the new Apache one.
[ https://issues.apache.org/jira/browse/NETBEANS-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667103#comment-16667103 ] Neil C Smith commented on NETBEANS-1568: As per comment on dev@ list, there is a plan for the domain migration to redirect netbeans.org to the Apache site, and then proxy back to Oracle for 404s as and until all web content is migrated. There's a good chance that a lot of this content will end up available at the same link. A collated list of all references that we can review, add redirects if required, etc. is probably a better idea in the short term. I had a similar list from NB9 of all the links from the UI - need to update and expand that I guess. > Move all sourcode references of old site to the new Apache one. > --- > > Key: NETBEANS-1568 > URL: https://issues.apache.org/jira/browse/NETBEANS-1568 > Project: NetBeans > Issue Type: Task >Reporter: Laszlo Kishalmi >Priority: Major > > In the current source code there are some user visible references to the old > netbeans.org site. > These references (mostly Wiki pages) shall be migrated to the Apache > site/Netbeans Confluence Wiki and replace the URL in the source code. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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] [Assigned] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junichi Yamamoto reassigned NETBEANS-1576: -- Assignee: Junichi Yamamoto > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Assignee: Junichi Yamamoto >Priority: Major > Labels: autocompletion, php > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4 > > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1578) CompletionFailure during autocompletion
Aldo Brucale created NETBEANS-1578: -- Summary: CompletionFailure during autocompletion Key: NETBEANS-1578 URL: https://issues.apache.org/jira/browse/NETBEANS-1578 Project: NetBeans Issue Type: Bug Components: java - Editor Affects Versions: 10.0 Reporter: Aldo Brucale With NB 10-vc1: {noformat}com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.checkerframework.checker.nullness.compatqual.NullableDecl not found at jdk.compiler/com.sun.tools.javac.code.ClassFinder.newCompletionFailure(ClassFinder.java:400) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.classFileNotFound(ClassFinder.java:388) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:381) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:284) at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633) at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1308) at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.getRawAttributes(Symbol.java:1253) at jdk.compiler/com.sun.tools.javac.code.Symbol.getAnnotationMirrors(Symbol.java:674) at jdk.compiler/com.sun.tools.javac.code.Symbol$TypeSymbol.getAnnotationMirrors(Symbol.java:738) at org.netbeans.api.java.source.ui.ElementJavadoc.isDocumented(ElementJavadoc.java:685) at org.netbeans.api.java.source.ui.ElementJavadoc.appendAnnotation(ElementJavadoc.java:664) at org.netbeans.api.java.source.ui.ElementJavadoc.lambda$getMethodHeader$5(ElementJavadoc.java:521) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at org.netbeans.api.java.source.ui.ElementJavadoc.getMethodHeader(ElementJavadoc.java:520) at org.netbeans.api.java.source.ui.ElementJavadoc.getElementHeader(ElementJavadoc.java:426) at org.netbeans.api.java.source.ui.ElementJavadoc.(ElementJavadoc.java:366) at org.netbeans.api.java.source.ui.ElementJavadoc.create(ElementJavadoc.java:172) at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery$3.create(JavaCompletionProvider.java:235) at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery$3.create(JavaCompletionProvider.java:231) at org.netbeans.modules.java.completion.JavaDocumentationTask.resolve(JavaDocumentationTask.java:90) at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:93) at org.netbeans.modules.java.completion.JavaDocumentationTask.run(JavaDocumentationTask.java:41) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) Caused: org.netbeans.modules.parsing.spi.ParseException at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:186) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) [catch] at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:243) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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] [Reopened] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz reopened NETBEANS-1576: -- Oki thx for clarification. > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Priority: Major > Labels: autocompletion, php > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4 > > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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] [Comment Edited] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1980#comment-1980 ] Nameless edited comment on NETBEANS-1576 at 10/29/18 10:37 AM: --- [~Chrizzly] sorry again, I pressed ctrl+enter and the form went before it was ready… Had filled it now. was (Author: nameless): [~Chrizzly] sorry again, I pressed ctrl+enter and the form went before it was ready… > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Priority: Major > Labels: autocompletion, php > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4 > > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1980#comment-1980 ] Nameless commented on NETBEANS-1576: [~Chrizzly] sorry again, I pressed ctrl+enter and the form went before it was ready… > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Priority: Major > Labels: autocompletion, php > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4 > > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nameless updated NETBEANS-1576: --- Affects Version/s: 10.0 9.0 Attachment: PhpAutocompletionProblems.zip autocompletion_problem_screencast.mp4 Description: It seems that autocompletion partially broken for PHP project. In project's properties PHP version 7.2 selected for my example. Here is [screencast|https://streamable.com/auldi] (attached also). Screencast was made with NB v10#890, but I'm getting the same troubles with Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are specified. Textual description (in comments): {code:php} getRepo(); /* @var $repo \Repo\RepoClass */ $obj = $repo->findOrCreate($params); // for now all goes fine, ctrl+space after `->` shows methods // `getAll()` and `findOrCreate(array $params)` $obj-> // but no autocompletion here :( } } {code} {panel:title=Versions} Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-890-on-20181029) Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) {panel} was: Sorry, too early submit, but I'll edit it now {panel:title=Versions} Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-890-on-20181029) Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) {panel} Component/s: php - Editor Summary: PHP autocompletion partially broken (was: PHP autocompletion broken) > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Priority: Major > Labels: autocompletion, php > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4 > > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1577) Assertion Error in Java autocompletion
Aldo Brucale created NETBEANS-1577: -- Summary: Assertion Error in Java autocompletion Key: NETBEANS-1577 URL: https://issues.apache.org/jira/browse/NETBEANS-1577 Project: NetBeans Issue Type: Bug Components: java - Editor Affects Versions: 10.0 Environment: Netbeans 10.0-vc1 Reporter: Aldo Brucale Attachments: messages.log Often when I hit ctrl-space I get this exception: {noformat} java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:155) at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62) at com.sun.tools.javac.comp.Annotate.fromAnnotations(Annotate.java:167) at com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1031) at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194) at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144) at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1173) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736) at com.sun.tools.javac.comp.Attr.visitForeachLoop(Attr.java:1402) at com.sun.tools.javac.tree.JCTree$JCEnhancedForLoop.accept(JCTree.java:1166) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736) at org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:651) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:430) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:344) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:320) at org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeSuggestions(HintsInvoker.java:450) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:221) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128) at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114) at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65) at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273) at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) [catch] at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {noformat} When the exception appears, subsequent attempts fail with the same exception. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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] [Resolved] (NETBEANS-1576) PHP autocompletion broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz resolved NETBEANS-1576. -- Resolution: Invalid Missing information. > PHP autocompletion broken > - > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Priority: Major > Labels: autocompletion, php > > Sorry, too early submit, but I'll edit it now > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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] [Comment Edited] (NETBEANS-1576) PHP autocompletion broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1948#comment-1948 ] Christian Lenz edited comment on NETBEANS-1576 at 10/29/18 10:03 AM: - Missing information, no steps to reproduce. was (Author: chrizzly): Missing information. > PHP autocompletion broken > - > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Priority: Major > Labels: autocompletion, php > > Sorry, too early submit, but I'll edit it now > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1576) PHP autocompletion broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nameless updated NETBEANS-1576: --- Description: Sorry, too early submit, but I'll edit it now {panel:title=Versions} Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-890-on-20181029) Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) {panel} was: {panel:title=Versions} Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-890-on-20181029) Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) {panel} > PHP autocompletion broken > - > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Priority: Major > Labels: autocompletion, php > > Sorry, too early submit, but I'll edit it now > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1563) Error while parsing HEREDOC
[ https://issues.apache.org/jira/browse/NETBEANS-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1945#comment-1945 ] Junichi Yamamoto commented on NETBEANS-1563: Thank you for your verification! > Error while parsing HEREDOC > --- > > Key: NETBEANS-1563 > URL: https://issues.apache.org/jira/browse/NETBEANS-1563 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 10.0 >Reporter: Los Vitaly >Assignee: Junichi Yamamoto >Priority: Blocker > Labels: pull-request-available > Fix For: 10.0 > > Attachments: heredoc.png, heredoc1.png, mytest.png > > Time Spent: 20m > Remaining Estimate: 0h > > Reproducible code: > {code:java} > $code = <after: ] > break; > } > EOF; > {code} > Same error in Laravel project in vendor directory. Full path > > /var/www/html/laravel/vendor/symfony/routing/Matcher/Dumper/PhpMatcherDumper.php > And the same errors in Composer library > {code:java} > $code .= << default: > \$routes = array( > {$this->indent($default, 4)}); > if (!isset(\$routes[\$pathinfo])) { // Syntax error unexpected: String > after: ] > break; > } > list(\$ret, \$requiredHost, \$requiredMethods, \$requiredSchemes) = > \$routes[\$pathinfo]; > {$this->compileSwitchDefault(false, $matchHost) > } > EOF; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1576) PHP autocompletion broken
Nameless created NETBEANS-1576: -- Summary: PHP autocompletion broken Key: NETBEANS-1576 URL: https://issues.apache.org/jira/browse/NETBEANS-1576 Project: NetBeans Issue Type: Bug Environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-890-on-20181029) Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) Reporter: Nameless {panel:title=Versions} Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-890-on-20181029) Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1563) Error while parsing HEREDOC
[ https://issues.apache.org/jira/browse/NETBEANS-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1901#comment-1901 ] Los Vitaly commented on NETBEANS-1563: -- Everything OK in syntax on this issue It's only errors on PHPUnit library, and malformed.json > Error while parsing HEREDOC > --- > > Key: NETBEANS-1563 > URL: https://issues.apache.org/jira/browse/NETBEANS-1563 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 10.0 >Reporter: Los Vitaly >Assignee: Junichi Yamamoto >Priority: Blocker > Labels: pull-request-available > Fix For: 10.0 > > Attachments: heredoc.png, heredoc1.png, mytest.png > > Time Spent: 20m > Remaining Estimate: 0h > > Reproducible code: > {code:java} > $code = <after: ] > break; > } > EOF; > {code} > Same error in Laravel project in vendor directory. Full path > > /var/www/html/laravel/vendor/symfony/routing/Matcher/Dumper/PhpMatcherDumper.php > And the same errors in Composer library > {code:java} > $code .= << default: > \$routes = array( > {$this->indent($default, 4)}); > if (!isset(\$routes[\$pathinfo])) { // Syntax error unexpected: String > after: ] > break; > } > list(\$ret, \$requiredHost, \$requiredMethods, \$requiredSchemes) = > \$routes[\$pathinfo]; > {$this->compileSwitchDefault(false, $matchHost) > } > EOF; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1575) Change twig and smarty file icons
[ https://issues.apache.org/jira/browse/NETBEANS-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1840#comment-1840 ] Christian Lenz commented on NETBEANS-1575: -- Would be nice, if we can use the official gras Icon of twig for the file, w/o using the white piece of paper behind it. And for latte the {latte} icon. Just a proposal. > Change twig and smarty file icons > - > > Key: NETBEANS-1575 > URL: https://issues.apache.org/jira/browse/NETBEANS-1575 > Project: NetBeans > Issue Type: Task > Components: php - Smarty, php - Twig >Affects Versions: 10.0 >Reporter: Junichi Yamamoto >Assignee: Junichi Yamamoto >Priority: Major > Attachments: netbeans-twig-smarty-file-icon.png > > > Change twig and smarty file icons. I guess that these are changed > accidentally. I don't think that these are third-party icons because these > are similar to other file icons (e.g. php, js, latte,...). > !netbeans-twig-smarty-file-icon.png! > I'm going to add them as CDDL again. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1575) Change twig and smarty file icons
Junichi Yamamoto created NETBEANS-1575: -- Summary: Change twig and smarty file icons Key: NETBEANS-1575 URL: https://issues.apache.org/jira/browse/NETBEANS-1575 Project: NetBeans Issue Type: Task Components: php - Smarty, php - Twig Affects Versions: 10.0 Reporter: Junichi Yamamoto Assignee: Junichi Yamamoto Attachments: netbeans-twig-smarty-file-icon.png Change twig and smarty file icons. I guess that these are changed accidentally. I don't think that these are third-party icons because these are similar to other file icons (e.g. php, js, latte,...). !netbeans-twig-smarty-file-icon.png! I'm going to add them as CDDL again. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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