[jira] [Updated] (NETBEANS-3671) IllegalArgumentException CachedHiDPIIcon
[ https://issues.apache.org/jira/browse/NETBEANS-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas updated NETBEANS-3671: - Description: Now and then I get the following exception when opening the "Tools" menu item via mouse: java.lang.IllegalArgumentException at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63) at org.openide.util.FilteredIcon.(FilteredIcon.java:50) at org.openide.util.FilteredIcon.create(FilteredIcon.java:58) at org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415) at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375) at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324) at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667) at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171) at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722) at java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486) at java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129) at java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259) at java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6629) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) at java.desktop/java.awt.Component.processEvent(Component.java:6397) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) 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:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) 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:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) was: I got the following exception when opening the "Tools" menu item via mouse: java.lang.IllegalArgumentException at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63) at org.openide.util.FilteredIcon.(FilteredIcon.java:50) at org.openide.util.FilteredIcon.create(FilteredIcon.java:58) at org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415) at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375) at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324) at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667) at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171) at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722) at java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486) at java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129) at java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259) at java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520) at jav
[jira] [Updated] (NETBEANS-3673) Java>Imports UI spinnerNumbers too narrow, can't see all the data
[ https://issues.apache.org/jira/browse/NETBEANS-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-3673: - Labels: pull-request-available (was: ) > Java>Imports UI spinnerNumbers too narrow, can't see all the data > - > > Key: NETBEANS-3673 > URL: https://issues.apache.org/jira/browse/NETBEANS-3673 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.2 >Reporter: Ernie Rael >Assignee: Ernie Rael >Priority: Trivial > Labels: pull-request-available > Attachments: OptionsFormatImports.png > > > Options>Editor>Formatting>Java>Imports. The two spinners aren't wide enough > to show reasonable input (I think my values are reasonable :) ) and their > sizes don't match; see attachment. Compare to ...>Java>TabsAndIndents. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-2940) Excessive CPU Usage during HTML/PHP project parsing.
[ https://issues.apache.org/jira/browse/NETBEANS-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-2940. --- Resolution: Abandoned > Excessive CPU Usage during HTML/PHP project parsing. > > > Key: NETBEANS-2940 > URL: https://issues.apache.org/jira/browse/NETBEANS-2940 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor >Affects Versions: 10.0, 11.1 >Reporter: E Dementiev >Assignee: Laszlo Kishalmi >Priority: Major > Labels: performance, pull-request-available > Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, > 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, > 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, > 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, > 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, > 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, > 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, > 2019-08-09-17-30-java.lang.StackOverflowError.txt, > 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, > 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, > 2019-08-13-09-00-Eception-IDE-log.txt, > 2019-08-13-09-00-java.lang.NullPointerException.txt, > 2019-08-13-12-00-NB-about.png, 2019-08-14-09-00-UI-NB10.png, > 2019-08-14-12-00-Refreshing-indices-03.png, > image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, > selfsampler15073537369378979592.npss, selfsampler15232135153799309662.npss, > selfsampler15675620776487318185.npss, selfsampler16506135220476039727.npss, > selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, > selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, > selfsampler4496583350478949316.npss, selfsampler5156665032004940801.npss, > selfsampler5156665032004940801.npss, selfsampler6110902925879607737.npss, > selfsampler6409512410806567513.npss, selfsampler7754563681117566493.npss, > selfsampler9035236510445031912.npss > > Time Spent: 2h 50m > Remaining Estimate: 0h > > Very often Netbeans would start consuming high CPU resources for the job of > Checking for external changes, which sits in suspended status. If you click > on the cross and manually cancel that job, the CPU will keep being consumed. > The only way to stop this is to completely close Netbeans. Upon closing, it > will say that it is still checking for external changes. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-3673) Java>Imports UI spinnerNumbers too narrow, can't see all the data
[ https://issues.apache.org/jira/browse/NETBEANS-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010405#comment-17010405 ] Ernie Rael commented on NETBEANS-3673: -- Using {quote}options.editor/src/org/netbeans/modules/options/indentation/IndentationPanel.form {quote} as an example I * created the integer spinners as a group with the same height/width * used the same width from IndentationPanel There are no other integer spinners in options>editor>java. pull request on the way > Java>Imports UI spinnerNumbers too narrow, can't see all the data > - > > Key: NETBEANS-3673 > URL: https://issues.apache.org/jira/browse/NETBEANS-3673 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.2 >Reporter: Ernie Rael >Assignee: Ernie Rael >Priority: Trivial > Attachments: OptionsFormatImports.png > > > Options>Editor>Formatting>Java>Imports. The two spinners aren't wide enough > to show reasonable input (I think my values are reasonable :) ) and their > sizes don't match; see attachment. Compare to ...>Java>TabsAndIndents. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-3674) BaseKit manipulates JTextComponent and NOT in EDT
Ernie Rael created NETBEANS-3674: Summary: BaseKit manipulates JTextComponent and NOT in EDT Key: NETBEANS-3674 URL: https://issues.apache.org/jira/browse/NETBEANS-3674 Project: NetBeans Issue Type: Bug Components: editor - Settings Affects Versions: 11.2 Environment: jdk1,8, win7,11.2u1 Reporter: Ernie Rael In editor.lib/.../BasKit.java a lookup listener does "c.setMap(keymap)". This is required to run in the EventDisplatchThread. KeybindingsAndPreferencesTracker::refreshShortcutsAndActions around line 4125 For example: "Editor-Setting-Files-Tracker-Keybindings" at org.netbeans.editor.BaseKit$KeybindingsAndPreferencesTracker.refreshShortcutsAndActions(BaseKit.java:4119) at org.netbeans.editor.BaseKit$KeybindingsAndPreferencesTracker.resultChanged(BaseKit.java:4081) ... at org.netbeans.modules.editor.settings.storage.SettingsProvider$MyLookup.updateContents(SettingsProvider.java:275) at org.netbeans.modules.editor.settings.storage.SettingsProvider$MyLookup.propertyChange(SettingsProvider.java:188) at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190) ... at org.netbeans.modules.editor.settings.storage.keybindings.KeyBindingSettingsImpl$Listener.propertyChange(KeyBindingSettingsImpl.java:320) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at org.netbeans.modules.editor.settings.storage.api.EditorSettingsStorage$2.call(EditorSettingsStorage.java:104) at org.netbeans.modules.editor.settings.storage.api.EditorSettingsStorage$2.call(EditorSettingsStorage.java:102) at org.netbeans.modules.editor.settings.storage.StorageImpl.refresh(StorageImpl.java:170) at org.netbeans.modules.editor.settings.storage.StorageImpl$FilesystemTracker.run(StorageImpl.java:591) 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) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-3673) Java>Imports UI spinnerNumbers too narrow, can't see all the data
[ https://issues.apache.org/jira/browse/NETBEANS-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ernie Rael updated NETBEANS-3673: - Priority: Trivial (was: Major) > Java>Imports UI spinnerNumbers too narrow, can't see all the data > - > > Key: NETBEANS-3673 > URL: https://issues.apache.org/jira/browse/NETBEANS-3673 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.2 >Reporter: Ernie Rael >Priority: Trivial > Attachments: OptionsFormatImports.png > > > Options>Editor>Formatting>Java>Imports. The two spinners aren't wide enough > to show reasonable input (I think my values are reasonable :) ) and their > sizes don't match; see attachment. Compare to ...>Java>TabsAndIndents. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Assigned] (NETBEANS-3673) Java>Imports UI spinnerNumbers too narrow, can't see all the data
[ https://issues.apache.org/jira/browse/NETBEANS-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ernie Rael reassigned NETBEANS-3673: Assignee: Ernie Rael > Java>Imports UI spinnerNumbers too narrow, can't see all the data > - > > Key: NETBEANS-3673 > URL: https://issues.apache.org/jira/browse/NETBEANS-3673 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.2 >Reporter: Ernie Rael >Assignee: Ernie Rael >Priority: Trivial > Attachments: OptionsFormatImports.png > > > Options>Editor>Formatting>Java>Imports. The two spinners aren't wide enough > to show reasonable input (I think my values are reasonable :) ) and their > sizes don't match; see attachment. Compare to ...>Java>TabsAndIndents. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-3673) Java>Imports UI spinnerNumbers too narrow, can't see all the data
Ernie Rael created NETBEANS-3673: Summary: Java>Imports UI spinnerNumbers too narrow, can't see all the data Key: NETBEANS-3673 URL: https://issues.apache.org/jira/browse/NETBEANS-3673 Project: NetBeans Issue Type: Bug Components: java - Source Affects Versions: 11.2 Reporter: Ernie Rael Attachments: OptionsFormatImports.png Options>Editor>Formatting>Java>Imports. The two spinners aren't wide enough to show reasonable input (I think my values are reasonable :) ) and their sizes don't match; see attachment. Compare to ...>Java>TabsAndIndents. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated (ad77f83 -> 1a8da0e)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from ad77f83 Merge pull request #1843 from matthiasblaesing/external-files new bded1d9 [NETBEANS-3428] FlatLaf: fixes for form designer new 941f1b1 changed `nb.formdesigner.designer.`to `nb.formdesigner.` new 1a8da0e Merge pull request #1846 from DevCharly/flatlaf-formdesigner The 3419 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: .../org/netbeans/modules/form/FormLoaderSettings.java| 13 - .../netbeans/swing/laf/flatlaf/FlatDarkLaf.properties| 16 .../org/netbeans/swing/laf/flatlaf/FlatLFCustoms.java| 10 ++ .../org/netbeans/swing/laf/flatlaf/FlatLaf.properties| 9 + .../netbeans/swing/laf/flatlaf/FlatLightLaf.properties | 6 ++ 5 files changed, 49 insertions(+), 5 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-3596) Refactoring/Rename threw java.util.ConcurrentModificationException
[ https://issues.apache.org/jira/browse/NETBEANS-3596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010113#comment-17010113 ] patastrami commented on NETBEANS-3596: -- Same error on version 11.2 happens on Mac OS X Catalina 10.15.2 as well. > Refactoring/Rename threw java.util.ConcurrentModificationException > -- > > Key: NETBEANS-3596 > URL: https://issues.apache.org/jira/browse/NETBEANS-3596 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor >Affects Versions: 11.2 > Environment: Windows 10 >Reporter: Peter Thanisch >Priority: Major > Fix For: 11.3 > > Attachments: 2019-12-15.png, messages.log > > > In the development environment, I ask for a refactoring operation. The > operation that I requested was Refactor/Rename > I get the following error message popping up: > "Module Java Refactoring threw java.util.ConcurrentModificationException. > Please report a bug against Java Refactoring module and attach your > var/log/messages.log." > See the attached screenshot for the error message displayed. > As requested by the error message, I have also attached the messages.log file -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: Allow ".external" files to define message digest values for download verification
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 017f672 Allow ".external" files to define message digest values for download verification new ad77f83 Merge pull request #1843 from matthiasblaesing/external-files 017f672 is described below commit 017f6725b5c507b9cdc28ebd1b3170585b9b0e7a Author: Matthias Bläsing AuthorDate: Sun Oct 6 19:54:04 2019 +0200 Allow ".external" files to define message digest values for download verification This formalises the format of the ".external" files and introduces a new content line, that allows specification of a message digest algorithm and the digest value, that results from applying the message digest to the referenced URL. At download time the message digest value is calculated from the downloaded data and compared. If it does not match, an exception is raised. Multiple message digest can be provided and message digests with unsupported algorithms are ignored. This allows for future evolution, when new algorithms are added and older ones are phased out. --- .../external/javafx-base-13-linux.jar.external | 2 + .../external/javafx-controls-13-linux.jar.external | 2 + .../external/javafx-graphics-13-linux.jar.external | 2 + .../external/javafx-media-13-linux.jar.external| 4 +- .../external/javafx-swing-13-linux.jar.external| 2 + .../external/javafx-web-13-linux.jar.external | 4 +- .../external/javafx-base-13-mac.jar.external | 2 + .../external/javafx-controls-13-mac.jar.external | 2 + .../external/javafx-graphics-13-mac.jar.external | 2 + .../external/javafx-media-13-mac.jar.external | 4 +- .../external/javafx-swing-13-mac.jar.external | 2 + .../external/javafx-web-13-mac.jar.external| 4 +- .../external/javafx-base-13-win.jar.external | 2 + .../external/javafx-controls-13-win.jar.external | 2 + .../external/javafx-graphics-13-win.jar.external | 2 + .../external/javafx-media-13-win.jar.external | 2 + .../external/javafx-swing-13-win.jar.external | 2 + .../external/javafx-web-13-win.jar.external| 2 + .../modules/ext/nb-javac-13-api.jar.external | 2 + .../modules/ext/nb-javac-13-impl.jar.external | 2 + .../modules/autoupdate/services/ExternalFile.java | 203 + .../autoupdate/services/InstallSupportImpl.java| 160 +++- .../services/MessageChecksumValidator.java | 93 ++ .../autoupdate/services/MessageDigestChecker.java | 152 --- .../services/MessageDigestValidator.java | 104 +++ .../autoupdate/services/MessageMultiValidator.java | 68 +++ .../autoupdate/services/MessageValidator.java | 62 +++ .../modules/autoupdate/services/Utilities.java | 21 ++- .../autoupdate/services/NbmExternalTest.java | 117 +++- ...geDigestCheckerTest.java => UtilitiesTest.java} | 13 +- 30 files changed, 778 insertions(+), 263 deletions(-) diff --git a/extra/libs.javafx.linux/external/javafx-base-13-linux.jar.external b/extra/libs.javafx.linux/external/javafx-base-13-linux.jar.external index 0590fc6..7606aae 100644 --- a/extra/libs.javafx.linux/external/javafx-base-13-linux.jar.external +++ b/extra/libs.javafx.linux/external/javafx-base-13-linux.jar.external @@ -1,2 +1,4 @@ CRC: 2492020953 URL: m2:/org.openjfx:javafx-base:13:jar:linux +MessageDigest: SHA-256 a7f93cbc67bbf33cb7553b2b793637e69ccc3d6f9af30f5b03877f67aa1dcedb +MessageDigest: SHA-512 8388e08d7f513810ad5c3e5b5d28eeb6bfc112d8198369f84fa73e65dd3e882a2e9980906ed3be2feb5693bacb98320db2362106eea8561a0a7cc078a20e9a4c \ No newline at end of file diff --git a/extra/libs.javafx.linux/external/javafx-controls-13-linux.jar.external b/extra/libs.javafx.linux/external/javafx-controls-13-linux.jar.external index 752a89e..30e1ece 100644 --- a/extra/libs.javafx.linux/external/javafx-controls-13-linux.jar.external +++ b/extra/libs.javafx.linux/external/javafx-controls-13-linux.jar.external @@ -1,2 +1,4 @@ CRC: 1135077984 URL: m2:/org.openjfx:javafx-controls:13:jar:linux +MessageDigest: SHA-256 a9cf849eaa4be2a83f59eb107d402fbba7d916d39344b629d65f3a31efdd9154 +MessageDigest: SHA-512 569ae75159eec27f849448debe701dfdc2a4ff63a31171b082e20ad3a2b8a2913c01fd876b76279f3a941fb8fec1731bca774bf14bf653879bec0cfbd9013948 \ No newline at end of file diff --git a/extra/libs.javafx.linux/external/javafx-graphics-13-linux.jar.external b/extra/libs.javafx.linux/external/javafx-graphics-13-linux.jar.external index a0c77ca..4a8666f 100644 --- a/extra/libs.javafx.linux/external/javafx-graphics-13-linux.jar.external +++ b/extra/libs.javafx.linux/external/javafx-graphics-13-linux.jar.external @@ -1,2 +1,4 @@ CRC: 336589
[netbeans] branch master updated: [NETBEANS-3670] - cleanup addElement() unchecked calls
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 7543f3b [NETBEANS-3670] - cleanup addElement() unchecked calls new da4fed6 Merge pull request #1852 from BradWalker/cleanup_unchecked_addElement 7543f3b is described below commit 7543f3b97d720b860edb6bc1f9bd49b167978f27 Author: Brad Walker AuthorDate: Mon Jan 6 15:56:21 2020 -0700 [NETBEANS-3670] - cleanup addElement() unchecked calls Cleanup a bunch of warnings related to uncheck call to addEelement() [repeat] /home/bwalker/src/netbeans/platform/api.progress/src/org/netbeans/modules/progress/spi/TaskModel.java:67: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultListModel [repeat] model.addElement(handle); [repeat] ^ [repeat] where E is a type-variable: [repeat] E extends Object declared in class DefaultListModel [repeat] 1 warning --- apisupport/apisupport.wizards/nbproject/project.properties | 2 +- .../project/ui/wizard/action/GUIRegistrationPanel.java | 2 +- .../modules/glassfish/eecommon/api/VerifierSupport.java | 11 ++- .../javaee/project/api/ant/ui/wizard/ProjectServerPanel.java | 2 +- .../modules/payara/eecommon/api/VerifierSupport.java | 11 ++- .../netbeans/modules/web/freeform/ui/WebClasspathPanel.java | 10 +- .../modules/web/project/ui/customizer/AddFrameworkPanel.java | 2 +- .../project/ui/wizards/PanelSupportedFrameworksVisual.java | 4 ++-- .../netbeans/modules/web/struts/dialogs/AddActionPanel.java | 2 +- .../modules/web/struts/dialogs/AddForwardDialogPanel.java| 4 ++-- .../src/org/netbeans/api/debugger/DebuggerManager.java | 4 ++-- .../modules/css/editor/ui/CssRuleCreateActionDialog.java | 2 +- ide/languages/nbproject/project.properties | 2 +- .../modules/languages/dataobject/GLFFilesCustomEditor.java | 2 +- .../modules/mercurial/ui/log/SearchHistoryPanel.java | 2 +- .../mercurial/ui/repository/ChangesetPickerPanel.java| 2 +- .../modules/options/editor/FolderBasedOptionPanel.java | 2 +- .../modules/options/indentation/FormattingPanel.java | 4 ++-- .../spi/project/support/ant/ui/LicenseHeadersPanel.java | 2 +- .../src/org/netbeans/modules/project/ui/ExitDialog.java | 4 ++-- ide/spellchecker/nbproject/project.properties| 2 +- .../spellchecker/options/SpellcheckerOptionsPanel.java | 2 +- .../netbeans/modules/subversion/ui/copy/BranchPicker.java| 4 ++-- ide/tasklist.ui/nbproject/project.properties | 2 +- .../modules/bugtracking/commons/AttachmentPanel.java | 2 +- .../modules/bugtracking/commons/ListValuePicker.java | 2 +- ide/versioning.ui/nbproject/project.properties | 2 +- .../modules/versioning/ui/options/GeneralOptionsPanel.java | 2 +- .../netbeans/modules/web/browser/ui/DeveloperToolbar.java| 2 +- .../j2ee/jpa/verification/fixes/CreateRelationshipPanel.java | 2 +- .../netbeans/modules/java/freeform/ui/ClasspathPanel.java| 12 ++-- .../org/netbeans/modules/java/freeform/ui/OutputPanel.java | 4 ++-- .../modules/java/hints/spiimpl/options/HintsPanelLogic.java | 4 ++-- .../src/org/netbeans/modules/javadoc/search/IndexSearch.java | 6 +++--- .../org/netbeans/modules/maven/codegen/NewLicensePanel.java | 2 +- .../org/netbeans/modules/maven/codegen/NewMirrorPanel.java | 2 +- .../modules/maven/graph/DependencyGraphTopComponent.java | 2 +- .../src/org/netbeans/modules/progress/spi/TaskModel.java | 4 ++-- platform/core.execution/nbproject/project.properties | 2 +- .../execution/beaninfo/editors/NbClassPathCustomEditor.java | 2 +- platform/o.n.core/src/org/netbeans/core/ExitDialog.java | 4 ++-- .../src/org/netbeans/swing/etable/ETable.java| 4 ++-- platform/openide.awt/src/org/openide/awt/ColorComboBox.java | 4 ++-- .../src/org/netbeans/modules/html/ojet/ui/OJETPanel.java | 2 +- .../debugger/breakpoints/ui/EventsBreakpointCustomizer.java | 4 ++-- 45 files changed, 79 insertions(+), 77 deletions(-) diff --git a/apisupport/apisupport.wizards/nbproject/project.properties b/apisupport/apisupport.wizards/nbproject/project.properties index 315878a..9f9ea40 100644 --- a/apisupport/apisupport.wizards/nbproject/project.properties +++ b/apisupport/apisupport.wizards/nbproject/project.properties @@ -14,6 +14,6 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -javac.source=1.6 +javac.source=1.8 javac.compilerargs=-Xlint -Xlint:-serial requires.nb.javac=true diff --git a/apisupport/apisupport.wizards/src/org/netbeans/modules
[jira] [Commented] (NETBEANS-2608) Graphics: Can't tell when a project has an error
[ https://issues.apache.org/jira/browse/NETBEANS-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010095#comment-17010095 ] Lou Hamersly commented on NETBEANS-2608: Wow that took a long time... this is probably resolved with NETBEANS-2417, though. [~arren] > Graphics: Can't tell when a project has an error > > > Key: NETBEANS-2608 > URL: https://issues.apache.org/jira/browse/NETBEANS-2608 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 >Reporter: Shevek >Priority: Major > Attachments: nb-gradle-icons.png > > > I care about only one thing in the project summary: Does a project have an > error. > Look at the attached image, and tell me at a glance which subprojects have > errors? > I can't see because there's too much other noise in confusing colours. > Please can you remove all unnecessary noise from the project icon EXCEPT red > for error, and something NOT-in-the-red-spectrum for OK. > The kind of dark orange coffee cup makes the icon totally useless. > Imagine 200 of these icons on a 4K screen. > I don't care if it's a gradle project or a maven project, whether anyone > thinks it contains XML or EJBs, or is upside down or written in greek. I KNOW > that stuff anyway, it's not a rapidly changing property of a project. What I > want the IDE to tell me is "Does this contain an error". There's no other > useful information there. > Please note, just for the record: None of these subprojects have errors, it's > a NetBeans synchronization or source-rescanning bug that it thinks they do. > When I ask it to compile, it's fine. But that's not what this ticket is about. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-3672) Modular project run fails with exception
Tom Prodehl created NETBEANS-3672: - Summary: Modular project run fails with exception Key: NETBEANS-3672 URL: https://issues.apache.org/jira/browse/NETBEANS-3672 Project: NetBeans Issue Type: Bug Affects Versions: 11.2 Environment: Windows 10 Reporter: Tom Prodehl Modular project builds without error, run does nothing, exception in log ide log: WARNING [org.openide.util.ImageUtilities]: Initial slashes in Utilities.loadImage deprecated (cf. #20072): /org/netbeans/modules/java/source/resources/icons/warning.png Diagnostic information Input arguments: -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -XX:+UseStringDeduplication -Djdk.lang.Process.allowAmbiguousCommands=true -Xss2m -Djdk.gtk.version=2.2 -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.java2d.noddraw=true -Dsun.java2d.dpiaware=true -Dsun.zip.disableMemoryMapping=true -Dplugin.manager.check.updates=false -Dnetbeans.extbrowser.manual_chrome_plugin_install=yes --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang.ref=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.awt.event=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=jdk.jshell/jdk.jshell=ALL-UNNAMED --add-modules=jdk.jshell --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.desktop/java.awt.peer=ALL-UNNAMED --add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED --add-exports=java.desktop/sun.swing=ALL-UNNAMED --add-exports=java.desktop/sun.awt.im=ALL-UNNAMED --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED --add-exports=java.management/sun.management=ALL-UNNAMED --add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED --add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions -Djdk.home=C:\Program Files\AdoptOpenJDK\jdk-11.0.4.11-hotspot -Dnetbeans.home=D:\DevTools\NetBeans-11.2\netbeans\platform -Dnetbeans.user=C:\Users\TomProdehl\AppData\Roaming\NetBeans\11.2 -Dnetbeans.default_userdir_root=C:\Users\TomProdehl\AppData\Roaming\NetBeans -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\Users\TomProdehl\AppData\Roaming\NetBeans\11.2\var\log\heapdump.hprof -Dsun.awt.keepWorkingSetOnMinimize=true -Dnetbeans.dirs=D:\DevTools\NetBeans-11.2\netbeans\nb;D:\DevTools\NetBeans-11.2\netbeans\ergonomics;D:\DevTools\NetBeans-11.2\netbeans\ide;D:\DevTools\NetBeans-11.2\netbeans\extide;D:\DevTools\NetBeans-11.2\netbeans\java;D:\DevTools\NetBeans-11.2\netbeans\apisupport;D:\DevTools\NetBeans-11.2\netbeans\webcommon;D:\DevTools\NetBeans-11.2\netbeans\websvccommon;D:\DevTools\NetBeans-11.2\netbeans\enterprise;D:\DevTools\NetBeans-11.2\netbeans\mobility;D:\DevTools\NetBeans-11.2\netbeans\profiler;D:\DevTools\NetBeans-11.2\netbeans\python;D:\DevTools\NetBeans-11.2\netbeans\php;D:\DevTools\NetBeans-11.2\netbeans\identity;D:\DevTools\NetBeans-11.2\netbeans\harness;D:\DevTools\NetBeans-11.2\netbeans\cnd;D:\DevTools\NetBeans-11.2\netbeans\cndext;D:\DevTools\NetBeans-11.2\netbeans\dlight;D:\DevTools\NetBeans-11.2\netbeans\groovy;D:\DevTools\NetBeans-11.2\netbeans\extra;D:\DevTools\NetBeans-11.2\netbeans\javacard;D:\DevTools\NetBeans-11.2\netbeans\javafx exit Compiler: HotSpot 64-Bit Tiered Compilers Heap memory usage: initial 384.0MB maximum 6134.0MB Non heap memory usage: initial 7.3MB maximum -1b Garbage collector: G1 Young Generation (Collections=8 Total time spent=0s) Garbage collector: G1 Old Generation (Collections=0 Total time spent=0s) Classes: loaded=10763 total loaded=10763 unloaded 0 INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 25,724,948,480 WARNING [org.openide.filesystems.Ordering]: Found same position 1,821 for both org-netbeans-modules-gradle-customPopup.shadow and org-netbeans-modules-maven-customPopup.shadow WARNING [org.netbeans.modules.editor.mimelookup.impl.FolderPathLookup]: Dangling shadow found: Editors/text/x-groovy/JavaIndexer.shadow -> Editors/text/x-java/JavaIndexer.instance INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 2,453 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 75 binary roots took: 381 ms INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: D:\DevWorkspace\Netbeans\rtexpackage\JavaModularApplication1\src\sqldb\tests took: 0 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms] INFO [org.netbeans.modules.parsing.impl.indexing.Re
[jira] [Updated] (NETBEANS-3204) Default formater behavior on switch expression
[ https://issues.apache.org/jira/browse/NETBEANS-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-3204: Fix Version/s: 11.3 > Default formater behavior on switch expression > --- > > Key: NETBEANS-3204 > URL: https://issues.apache.org/jira/browse/NETBEANS-3204 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting & Indentation >Affects Versions: 11.2 >Reporter: Benjamin Graf >Priority: Minor > Labels: pull-request-available > Fix For: 11.3 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Using JDK 13 latest switch expression preview feature works very well but > using default formatter option seems not works as I would expect by deleting > all spaces between case value and expression arrow. One space would look > nicer IMHO. > Expected: > {code:java} > switch (i) { > case 1 -> > System.out.println(""); > } > {code} > As is: > {code:java} > switch (i) { > case 1-> > System.out.println(""); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Assigned] (NETBEANS-3204) Default formater behavior on switch expression
[ https://issues.apache.org/jira/browse/NETBEANS-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf reassigned NETBEANS-3204: --- Assignee: Benjamin Graf > Default formater behavior on switch expression > --- > > Key: NETBEANS-3204 > URL: https://issues.apache.org/jira/browse/NETBEANS-3204 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting & Indentation >Affects Versions: 11.2 >Reporter: Benjamin Graf >Assignee: Benjamin Graf >Priority: Minor > Labels: pull-request-available > Fix For: 11.3 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Using JDK 13 latest switch expression preview feature works very well but > using default formatter option seems not works as I would expect by deleting > all spaces between case value and expression arrow. One space would look > nicer IMHO. > Expected: > {code:java} > switch (i) { > case 1 -> > System.out.println(""); > } > {code} > As is: > {code:java} > switch (i) { > case 1-> > System.out.println(""); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: [NETBEANS-2523] Installer creates invalid Win Registry value
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new d6823eb [NETBEANS-2523] Installer creates invalid Win Registry value new 07d4ace Merge pull request #1844 from lbruun/NETBEANS-2523-invalid-winregistry-entry d6823eb is described below commit d6823eb3a36ee2b15f6c70c1fb03a0d06d0155c9 Author: Lars Bruun-Hansen AuthorDate: Sat Jan 4 22:35:05 2020 +0100 [NETBEANS-2523] Installer creates invalid Win Registry value The WindowsRegistry_set32BitValue0() function was incorrectly using the length of the Registry name (e.g. 'NoModify') as the the length of value. Since the value we are setting is of type DWORD the length is indeed always exactly 4 bytes, regardless of OS bitness. Solution: sizeof(dword) will always return 4, but we might as well have hard-coded the 4. --- nbi/engine/native/jnilib/windows/src/jni_WindowsRegistry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbi/engine/native/jnilib/windows/src/jni_WindowsRegistry.c b/nbi/engine/native/jnilib/windows/src/jni_WindowsRegistry.c index 524a166..3608bf0 100644 --- a/nbi/engine/native/jnilib/windows/src/jni_WindowsRegistry.c +++ b/nbi/engine/native/jnilib/windows/src/jni_WindowsRegistry.c @@ -430,7 +430,7 @@ JNIEXPORT void JNICALL Java_org_netbeans_installer_utils_system_windows_WindowsR DWORD dword = (DWORD) jValue; LPBYTE byteValue = (LPBYTE) &dword; -if (!setValue(getMode(jMode),getHKEY(jSection), key, name, REG_DWORD, byteValue, sizeof(name), 0)) { +if (!setValue(getMode(jMode),getHKEY(jSection), key, name, REG_DWORD, byteValue, sizeof(dword), 0)) { throwException(jEnv, "Cannot set value"); } - 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-3671) IllegalArgumentException CachedHiDPIIcon
[ https://issues.apache.org/jira/browse/NETBEANS-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas updated NETBEANS-3671: - Description: I got the following exception when opening the "Tools" menu item via mouse: java.lang.IllegalArgumentException at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63) at org.openide.util.FilteredIcon.(FilteredIcon.java:50) at org.openide.util.FilteredIcon.create(FilteredIcon.java:58) at org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415) at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375) at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324) at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667) at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171) at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722) at java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486) at java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129) at java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259) at java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6629) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) at java.desktop/java.awt.Component.processEvent(Component.java:6397) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) 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:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) 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:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) was: I got the following exeption when opening the "Tools" menu item via mouse: java.lang.IllegalArgumentException at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63) at org.openide.util.FilteredIcon.(FilteredIcon.java:50) at org.openide.util.FilteredIcon.create(FilteredIcon.java:58) at org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415) at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375) at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324) at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667) at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171) at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722) at java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486) at java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129) at java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259) at java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520) at java.desktop/java.
[jira] [Created] (NETBEANS-3671) IllegalArgumentException CachedHiDPIIcon
Thomas created NETBEANS-3671: Summary: IllegalArgumentException CachedHiDPIIcon Key: NETBEANS-3671 URL: https://issues.apache.org/jira/browse/NETBEANS-3671 Project: NetBeans Issue Type: Bug Components: platform - Other Affects Versions: 11.1 Environment: Linux: Ubuntu 18.04.3 LTS Reporter: Thomas I got the following exeption when opening the "Tools" menu item via mouse: java.lang.IllegalArgumentException at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63) at org.openide.util.FilteredIcon.(FilteredIcon.java:50) at org.openide.util.FilteredIcon.create(FilteredIcon.java:58) at org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415) at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375) at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324) at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667) at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171) at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722) at java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486) at java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129) at java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259) at java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6629) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) at java.desktop/java.awt.Component.processEvent(Component.java:6397) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) 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:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) 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:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-3492) Allow admins to edit plugins to NetBeans versions mapping & verifications
[ https://issues.apache.org/jira/browse/NETBEANS-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Pirek resolved NETBEANS-3492. - Fix Version/s: 3.0 Assignee: Jan Pirek Resolution: Fixed > Allow admins to edit plugins to NetBeans versions mapping & verifications > - > > Key: NETBEANS-3492 > URL: https://issues.apache.org/jira/browse/NETBEANS-3492 > Project: NetBeans > Issue Type: Improvement > Components: updatecenters - Pluginportal >Affects Versions: 3.0 >Reporter: Jiří Kovalský >Assignee: Jan Pirek >Priority: Major > Labels: pull-request-available > Fix For: 3.0 > > Time Spent: 20m > Remaining Estimate: 0h > > It is important for Plugin Portal administrators to have a UI how to add > missing or fix incorrect mapping between plugin version(s) and NetBeans > version(s) and also request/cancel verifications. > *Steps to reproduce:* > # Login to [http://netbeans-vm.apache.org/pluginportal/] as administrator. > # Click Admin menu in toolbar and find some plugin e.g. _NB Figletize_ [1] > *Expected:* There is a way to change NetBeans version for the 1.0 version of > the plugin and it is also possible to remove existing verification and > request a new one. > *Actual:* You cannot change version mapping and remove/add verification > requests. > [1] http://netbeans-vm.apache.org/pluginportal/admin/?search=NB+Figletize -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-3492) Allow admins to edit plugins to NetBeans versions mapping & verifications
[ https://issues.apache.org/jira/browse/NETBEANS-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009691#comment-17009691 ] Jan Pirek commented on NETBEANS-3492: - This is now merged and deployed live [https://github.com/apache/netbeans-tools/pull/22] > Allow admins to edit plugins to NetBeans versions mapping & verifications > - > > Key: NETBEANS-3492 > URL: https://issues.apache.org/jira/browse/NETBEANS-3492 > Project: NetBeans > Issue Type: Improvement > Components: updatecenters - Pluginportal >Affects Versions: 3.0 >Reporter: Jiří Kovalský >Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > It is important for Plugin Portal administrators to have a UI how to add > missing or fix incorrect mapping between plugin version(s) and NetBeans > version(s) and also request/cancel verifications. > *Steps to reproduce:* > # Login to [http://netbeans-vm.apache.org/pluginportal/] as administrator. > # Click Admin menu in toolbar and find some plugin e.g. _NB Figletize_ [1] > *Expected:* There is a way to change NetBeans version for the 1.0 version of > the plugin and it is also possible to remove existing verification and > request a new one. > *Actual:* You cannot change version mapping and remove/add verification > requests. > [1] http://netbeans-vm.apache.org/pluginportal/admin/?search=NB+Figletize -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-tools] branch master updated: NETBEANS-3492Allow admins to edit plugins to NetBeans versions mapping & verifications
This is an automated email from the ASF dual-hosted git repository. jpirek pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-tools.git The following commit(s) were added to refs/heads/master by this push: new 5c1f830 NETBEANS-3492Allow admins to edit plugins to NetBeans versions mapping & verifications new 2f02ea0 Merge pull request #22 from jpirek/master 5c1f830 is described below commit 5c1f830733511008ac3a5bc8cb8093c7eee29656 Author: Jan Pirek AuthorDate: Tue Jan 7 12:50:01 2020 +0100 NETBEANS-3492Allow admins to edit plugins to NetBeans versions mapping & verifications --- .../src/Application/Controller/PluginVersionController.php | 12 ++-- .../src/Application/Controller/VerificationController.php| 2 +- .../Application/view/application/admin/_plugin-listrow.phtml | 6 ++ .../Application/view/application/plugin-version/edit.phtml | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/pp3/module/Application/src/Application/Controller/PluginVersionController.php b/pp3/module/Application/src/Application/Controller/PluginVersionController.php index e0c24fa..9d787cd 100644 --- a/pp3/module/Application/src/Application/Controller/PluginVersionController.php +++ b/pp3/module/Application/src/Application/Controller/PluginVersionController.php @@ -41,8 +41,9 @@ class PluginVersionController extends AuthenticatedController { public function editAction() { $pvId = $this->params()->fromQuery('id'); +$search = $this->params()->fromQuery('search'); $pluginVersion = $this->_pluginVersionRepository->find($pvId); -if (!$pluginVersion || empty($pvId) || !$pluginVersion->getPlugin()->isOwnedBy($this->getAuthenticatedUserId())) { +if ((!$pluginVersion || empty($pvId) || !$pluginVersion->getPlugin()->isOwnedBy($this->getAuthenticatedUserId())) && !$this->isAdmin()) { return $this->redirect()->toRoute('plugin', array( 'action' => 'list' )); @@ -117,18 +118,25 @@ class PluginVersionController extends AuthenticatedController { foreach($verifiedNbVersions as $v) { $verifiedNbVersionIds[]=$v['id']; } + +if ($this->isAdmin() && !empty($search)) { +$backUrl = $this->url()->fromRoute('admin', array('action' => 'index'), array('query' => array('search' => $search))); +} else { +$backUrl = $this->url()->fromRoute('plugin', array('action' => 'list')); +} return new ViewModel([ 'pluginVersion' => $pluginVersion, 'nbVersions' => $this->_nbVersionRepository->findAll(), 'verifiedNbVersionIds' => $verifiedNbVersionIds, +'return' => $backUrl, ]); } public function deleteAction() { $pId = $this->params()->fromQuery('id'); $pluginVersion = $this->_pluginVersionRepository->find($pId); -if (!$pluginVersion || empty($pId) || !$pluginVersion->getPlugin()->isOwnedBy($this->getAuthenticatedUserId())) { +if ((!$pluginVersion || empty($pId) || !$pluginVersion->getPlugin()->isOwnedBy($this->getAuthenticatedUserId())) && !$this->isAdmin()) { return $this->redirect()->toRoute('plugin', array( 'action' => 'list' )); diff --git a/pp3/module/Application/src/Application/Controller/VerificationController.php b/pp3/module/Application/src/Application/Controller/VerificationController.php index 4f8b49e..ea43a46 100644 --- a/pp3/module/Application/src/Application/Controller/VerificationController.php +++ b/pp3/module/Application/src/Application/Controller/VerificationController.php @@ -171,7 +171,7 @@ class VerificationController extends AuthenticatedController { $bailOut = true; } $plugin = $nbVersionPluginVersion->getPluginVersion()->getPlugin(); -if (!$plugin->isOwnedBy($this->getAuthenticatedUserId())) { +if (!$plugin->isOwnedBy($this->getAuthenticatedUserId()) && !$this->isAdmin()) { $bailOut = true; } if ($bailOut) { diff --git a/pp3/module/Application/view/application/admin/_plugin-listrow.phtml b/pp3/module/Application/view/application/admin/_plugin-listrow.phtml index 0cf89d9..fbb008f 100644 --- a/pp3/module/Application/view/application/admin/_plugin-listrow.phtml +++ b/pp3/module/Application/view/application/admin/_plugin-listrow.phtml @@ -64,6 +64,7 @@ echo ' Plugin Version + NB Versions Verifications @@ -73,6 +74,11 @@ echo ' foreach ($plugin->getVersions() as $version) { echo ' '.$version->getVersion().' + + + + + '; foreach ($version->getNbVersionsPluginVersions() as $nbvPv) { echo 'NB '.$nbvPv->getNbVersion()->
[jira] [Updated] (NETBEANS-3492) Allow admins to edit plugins to NetBeans versions mapping & verifications
[ https://issues.apache.org/jira/browse/NETBEANS-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-3492: - Labels: pull-request-available (was: ) > Allow admins to edit plugins to NetBeans versions mapping & verifications > - > > Key: NETBEANS-3492 > URL: https://issues.apache.org/jira/browse/NETBEANS-3492 > Project: NetBeans > Issue Type: Improvement > Components: updatecenters - Pluginportal >Affects Versions: 3.0 >Reporter: Jiří Kovalský >Priority: Major > Labels: pull-request-available > > It is important for Plugin Portal administrators to have a UI how to add > missing or fix incorrect mapping between plugin version(s) and NetBeans > version(s) and also request/cancel verifications. > *Steps to reproduce:* > # Login to [http://netbeans-vm.apache.org/pluginportal/] as administrator. > # Click Admin menu in toolbar and find some plugin e.g. _NB Figletize_ [1] > *Expected:* There is a way to change NetBeans version for the 1.0 version of > the plugin and it is also possible to remove existing verification and > request a new one. > *Actual:* You cannot change version mapping and remove/add verification > requests. > [1] http://netbeans-vm.apache.org/pluginportal/admin/?search=NB+Figletize -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-tools] branch master updated: Fetch SHA1 digest from maven central when version is created and show for verification
This is an automated email from the ASF dual-hosted git repository. jpirek pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-tools.git The following commit(s) were added to refs/heads/master by this push: new 903a47c Fetch SHA1 digest from maven central when version is created and show for verification new ed7991b Merge pull request #21 from matthiasblaesing/hash_plugin_version 903a47c is described below commit 903a47cf0e3ba292c94813c1b5172d09014504f7 Author: Matthias Bläsing AuthorDate: Wed Dec 25 22:29:59 2019 +0100 Fetch SHA1 digest from maven central when version is created and show for verification --- pp3/config/pp3.sql | 8 +++ .../Application/config/module.config.php.dist | 2 +- .../Application/Controller/PluginController.php| 15 .../src/Application/Entity/Base/PluginVersion.php | 11 +++ .../Entity/Base/PluginVersionDigest.php| 81 ++ .../Application/src/Application/Entity/Plugin.php | 76 ++-- .../src/Application/Entity/PluginVersion.php | 10 ++- .../src/Application/Entity/PluginVersionDigest.php | 31 + .../Application/src/Application/Pp/Catalog.php | 17 - .../view/application/verification/list.phtml | 11 ++- .../dtd/autoupdate-catalog-2_8.dtd}| 14 +++- 11 files changed, 215 insertions(+), 61 deletions(-) diff --git a/pp3/config/pp3.sql b/pp3/config/pp3.sql index 1dd2955..2b63cac 100644 --- a/pp3/config/pp3.sql +++ b/pp3/config/pp3.sql @@ -128,6 +128,14 @@ CREATE TABLE IF NOT EXISTS `verification_request` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci; +CREATE TABLE IF NOT EXISTS `plugin_version_digest` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `plugin_version_id` int(11) NOT NULL REFERENCES plugin_version(id), + `algorithm` varchar(50) NOT NULL, + `value` varchar(255) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci; + COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; diff --git a/pp3/module/Application/config/module.config.php.dist b/pp3/module/Application/config/module.config.php.dist index 0bb762b..b7bd6bd 100755 --- a/pp3/module/Application/config/module.config.php.dist +++ b/pp3/module/Application/config/module.config.php.dist @@ -33,7 +33,7 @@ return array( 'mavenRepoUrl' => 'https://repo1.maven.org/maven2/', 'catalogSavepath' => '/home/honza/checkout/pp3/public/data', 'catalogUrlPath' => 'http://localhost/checkout/pp3/public/data', -'dtdPath' => 'http://localhost/checkout/pp3/public/data/autoupdate-catalog-2_6.dtd' +'dtdPath' => 'http://localhost/checkout/pp3/public/dtd/autoupdate-catalog-2_8.dtd' ), 'loginConfig' => array ( array( diff --git a/pp3/module/Application/src/Application/Controller/PluginController.php b/pp3/module/Application/src/Application/Controller/PluginController.php index dc21426..ddde60d 100644 --- a/pp3/module/Application/src/Application/Controller/PluginController.php +++ b/pp3/module/Application/src/Application/Controller/PluginController.php @@ -163,23 +163,8 @@ class PluginController extends AuthenticatedController { $plugin->setHomepage($validatedData['homepage']); $plugin->setAddedAt(new \DateTime('now')); $plugin->setLastUpdatedAt(new \DateTime('now')); -// save also versions -if (!empty($plugin->tmpVersions)) { -foreach($plugin->tmpVersions as $vers) { -try { -$v = new PluginVersion(); -$v->setVersion($vers); -$v->setPlugin($plugin); -$v->setupUrl(); -$plugin->addVersion($v); -} catch (\Exception $e) { - $this->flashMessenger()->setNamespace('error')->addMessage($e->getMessage()); -} -} -} // categ $plugin->removeCategories(); -$this->_pluginRepository->persist($plugin); $cat = $this->_categoryRepository->find($validatedData['category']); if ($cat) { $plugin->addCategory($cat); diff --git a/pp3/module/Application/src/Application/Entity/Base/PluginVersion.php b/pp3/module/Application/src/Application/Entity/Base/PluginVersion.php index 9cc857b..7024176 100644 --- a/pp3/module/Application/src/Application/Entity/Base/PluginVersion.php +++ b/pp3/module/Application/src/Application/Entity/Base/PluginVersion.php @@ -22,6 +22,7 @@ namespace Application\Entity\Base; use Doctrine\ORM\Mapping as ORM; use Application\Entity\Plugin; +use Application\Entity\PluginVersionDigest; u