[netbeans] branch php81-support created (now d29bc86)

2021-11-07 Thread junichi11
This is an automated email from the ASF dual-hosted git repository.

junichi11 pushed a change to branch php81-support
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at d29bc86  Merge pull request #3284 from mbien/generic_iterator

No new revisions were added by this update.

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-6183) Profiler does not work on Apple Silicon

2021-11-07 Thread Santiago Ontanon (Jira)
Santiago Ontanon created NETBEANS-6183:
--

 Summary: Profiler does not work on Apple Silicon
 Key: NETBEANS-6183
 URL: https://issues.apache.org/jira/browse/NETBEANS-6183
 Project: NetBeans
  Issue Type: Bug
  Components: profiler - Base
Affects Versions: 12.5
 Environment: MacBook Pro 13-inch, M1, 2020

MacOS Big Sur Version 11.6

Netbeans 12.5

java 17.0.1 2021-10-19 LTS
Reporter: Santiago Ontanon


Upon attempting to profile an application, the pop up with the message 
"Connecting to the target VM..." appears, and I believe Netbeans attempts to 
calibrate the profiler, but this times out after a while.

I noticed that a command appeared in the console, which I assume is what 
Netbeans executed to launch the profiler. So, I attempted to execute that 
command on the command line, which looked like this:

/Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home/bin/java 
-agentpath:/Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib
 -Xbootclasspath/a:/Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/profiler/lib/jfluid-server.jar:/Applications/NetBeans/Apache
 NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/profiler/lib/jfluid-server-15.jar 
org.netbeans.lib.profiler.server.ProfilerServer /Applications/NetBeans/Apache 
NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/profiler/lib/deployed/jdk16/mac 
5141 10 Profiler+Calibration+Run

 

When running this on a shell I get the following error:

 

Error occurred during initialization of VM
Could not find agent library /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib
 in absolute path, with error: dlopen(/Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib,
 1): no suitable image found.  Did find:
    /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib:
 no matching architecture in universal wrapper
    /Applications/NetBeans/Apache NetBeans 
12.5.app/Contents/Resources/NetBeans/netbeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib:
 no matching architecture in universal wrapper

 

Could it be that there is no native ARM version of the 
"libprofilerinterface.jnilib" file, and hence it fails to run on Apple Silicon 
machines?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-6180) Improve PSR-4 Namespace rules

2021-11-07 Thread Junichi Yamamoto (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto updated NETBEANS-6180:
---
Component/s: php - Editor
 (was: apisupport - Project)
 (was: cnd - Editor)

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-6180) Improve PSR-4 Namespace rules

2021-11-07 Thread Junichi Yamamoto (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17440095#comment-17440095
 ] 

Junichi Yamamoto commented on NETBEANS-6180:


Please attach your example project.

> Improve PSR-4 Namespace rules
> -
>
> Key: NETBEANS-6180
> URL: https://issues.apache.org/jira/browse/NETBEANS-6180
> Project: NetBeans
>  Issue Type: Improvement
>  Components: apisupport - Project, cnd - Editor
>Affects Versions: 12.5
>Reporter: Alessio Ferri
>Priority: Minor
>
> PSR-4 require namespace corrispondence to the directory structure only for 
> the contiguos subnamespaces after the namespace prefix. There should be a 
> method to set/infer the namespace prefix of the project.
> https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5783) NPE opening Gradle project

2021-11-07 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-5783:
-
Labels: pull-request-available  (was: )

> NPE opening Gradle project
> --
>
> Key: NETBEANS-5783
> URL: https://issues.apache.org/jira/browse/NETBEANS-5783
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 12.4
> Environment: NetBeans 12.4
> OpenJDK 16
> macOS 11.4
>Reporter: Scott Palmer
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> I have an existing Gradle project that builds fine from the command line, but 
> causes a NPE related to the project name when I try to load it into NetBeans:
> java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because 
> the return value of 
> "org.netbeans.api.project.ProjectInformation.getDisplayName()" is null
>   at 
> org.netbeans.modules.project.ui.actions.SetMainProject.checkProjectNames(SetMainProject.java:277)
>   at 
> org.netbeans.modules.project.ui.actions.SetMainProject.access$200(SetMainProject.java:66)
>   at 
> org.netbeans.modules.project.ui.actions.SetMainProject$5.run(SetMainProject.java:303)
>   at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>   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(AccessController.java:391)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
> There are spaces in the path to the project but not the project folder itself.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-6182) Implement abstract methods -> java.lang.NoSuchMethodError

2021-11-07 Thread Bartosz Tomasik (Jira)
Bartosz Tomasik created NETBEANS-6182:
-

 Summary: Implement abstract methods -> java.lang.NoSuchMethodError
 Key: NETBEANS-6182
 URL: https://issues.apache.org/jira/browse/NETBEANS-6182
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor, java - Hints
Affects Versions: 12.5
Reporter: Bartosz Tomasik


*Product Version:* Apache NetBeans IDE 12.5

*Java:* 1.8.0_292; OpenJDK 64-Bit Server VM 25.292-b10

*Runtime:* OpenJDK Runtime Environment 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

 

I'm unable to use `implement abstract methods` hint - it throws:

 
{quote}SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.modules.editor.hints.HintsUI$1
java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
at 
org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
at 
org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
at 
org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
at 
org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:2747)
at 
org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotations(VeryPretty.java:2766)
at 
org.netbeans.modules.java.source.pretty.VeryPretty.visitMethodDef(VeryPretty.java:985)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:908)
at 
org.netbeans.modules.java.source.pretty.VeryPretty.doAccept(VeryPretty.java:421)
at org.netbeans.modules.java.source.pretty.VeryPretty.print(VeryPretty.java:283)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:4259)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffClassDef(CasualDiff.java:1102)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5549)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5443)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5370)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5341)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:4176)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTopLevel(CasualDiff.java:594)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5522)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5443)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5370)
at 
org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5353)
at org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:350)
at 
org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920)
at org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:676)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
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)
at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
at 
org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
at 
org.netbeans.modules.java.hints.errors.ImplementAllAbstractMethods$ImplementFixBase.implement(ImplementAllAbstractMethods.java:342)
at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:810)
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)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
{quote}
 



--
This 

[jira] [Updated] (NETBEANS-6181) How to install QT in apache netbeans 12.5 in CentOS 6.8

2021-11-07 Thread getche (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

getche updated NETBEANS-6181:
-
Issue Type: New Feature  (was: Bug)

> How to install QT in apache netbeans 12.5 in CentOS 6.8
> ---
>
> Key: NETBEANS-6181
> URL: https://issues.apache.org/jira/browse/NETBEANS-6181
> Project: NetBeans
>  Issue Type: New Feature
>Reporter: getche
>Priority: Major
> Attachments: ntbn12.5.PNG, ntbn8.2.PNG
>
>
> I was using netbeans 8.2 for programming in C++ using QT 4 .Netbeans 8.2 has 
> build in support of C++ and QT 4 .I run QT 4 in netbeans using by setting 
> this path of *qmake* file that is located in this directory 
> {*}/usr/lib64/qt4/bin/qmake{*}.That is shown is this images(ntbn8.2)
>  
> Now i have shifted to latest netbeans version that is 12.5 .After 
> installation of netbeans-12.5 on CentOS 6.8 i didnot found *C++ support* and 
> *QT support* in it .
> Just like in this images(ntbn12.5)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-6181) How to install QT in apache netbeans 12.5 in CentOS 6.8

2021-11-07 Thread getche (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

getche updated NETBEANS-6181:
-
Attachment: ntbn8.2.PNG

> How to install QT in apache netbeans 12.5 in CentOS 6.8
> ---
>
> Key: NETBEANS-6181
> URL: https://issues.apache.org/jira/browse/NETBEANS-6181
> Project: NetBeans
>  Issue Type: Bug
>Reporter: getche
>Priority: Major
> Attachments: ntbn12.5.PNG, ntbn8.2.PNG
>
>
> I was using netbeans 8.2 for programming in C++ using QT 4 .Netbeans 8.2 has 
> build in support of C++ and QT 4 .I run QT 4 in netbeans using by setting 
> this path of *qmake* file that is located in this directory 
> {*}/usr/lib64/qt4/bin/qmake{*}.That is shown is this images(ntbn8.2)
>  
> Now i have shifted to latest netbeans version that is 12.5 .After 
> installation of netbeans-12.5 on CentOS 6.8 i didnot found *C++ support* and 
> *QT support* in it .
> Just like in this images(ntbn12.5)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-6181) How to install QT in apache netbeans 12.5 in CentOS 6.8

2021-11-07 Thread getche (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

getche updated NETBEANS-6181:
-
Attachment: ntbn12.5.PNG

> How to install QT in apache netbeans 12.5 in CentOS 6.8
> ---
>
> Key: NETBEANS-6181
> URL: https://issues.apache.org/jira/browse/NETBEANS-6181
> Project: NetBeans
>  Issue Type: Bug
>Reporter: getche
>Priority: Major
> Attachments: ntbn12.5.PNG
>
>
> I was using netbeans 8.2 for programming in C++ using QT 4 .Netbeans 8.2 has 
> build in support of C++ and QT 4 .I run QT 4 in netbeans using by setting 
> this path of *qmake* file that is located in this directory 
> {*}/usr/lib64/qt4/bin/qmake{*}.That is shown is this images(ntbn8.2)
>  
> Now i have shifted to latest netbeans version that is 12.5 .After 
> installation of netbeans-12.5 on CentOS 6.8 i didnot found *C++ support* and 
> *QT support* in it .
> Just like in this images(ntbn12.5)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-6181) How to install QT in apache netbeans 12.5 in CentOS 6.8

2021-11-07 Thread getche (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

getche updated NETBEANS-6181:
-
Description: 
I was using netbeans 8.2 for programming in C++ using QT 4 .Netbeans 8.2 has 
build in support of C++ and QT 4 .I run QT 4 in netbeans using by setting this 
path of *qmake* file that is located in this directory 
{*}/usr/lib64/qt4/bin/qmake{*}.That is shown is this images(ntbn8.2)

 

Now i have shifted to latest netbeans version that is 12.5 .After installation 
of netbeans-12.5 on CentOS 6.8 i didnot found *C++ support* and *QT support* in 
it .
Just like in this images(ntbn12.5)

> How to install QT in apache netbeans 12.5 in CentOS 6.8
> ---
>
> Key: NETBEANS-6181
> URL: https://issues.apache.org/jira/browse/NETBEANS-6181
> Project: NetBeans
>  Issue Type: Bug
>Reporter: getche
>Priority: Major
> Attachments: ntbn12.5.PNG
>
>
> I was using netbeans 8.2 for programming in C++ using QT 4 .Netbeans 8.2 has 
> build in support of C++ and QT 4 .I run QT 4 in netbeans using by setting 
> this path of *qmake* file that is located in this directory 
> {*}/usr/lib64/qt4/bin/qmake{*}.That is shown is this images(ntbn8.2)
>  
> Now i have shifted to latest netbeans version that is 12.5 .After 
> installation of netbeans-12.5 on CentOS 6.8 i didnot found *C++ support* and 
> *QT support* in it .
> Just like in this images(ntbn12.5)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-6181) How to install QT in apache netbeans 12.5 in CentOS 6.8

2021-11-07 Thread getche (Jira)
getche created NETBEANS-6181:


 Summary: How to install QT in apache netbeans 12.5 in CentOS 6.8
 Key: NETBEANS-6181
 URL: https://issues.apache.org/jira/browse/NETBEANS-6181
 Project: NetBeans
  Issue Type: Bug
Reporter: getche






--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-3746) [FlatLaF] Restartless theme changing for FlatLaF

2021-11-07 Thread Eirik Bakke (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eirik Bakke updated NETBEANS-3746:
--
Summary: [FlatLaF] Restartless theme changing for FlatLaF  (was: [FlatLaF] 
Change theme for FlatLaF)

> [FlatLaF] Restartless theme changing for FlatLaF
> 
>
> Key: NETBEANS-3746
> URL: https://issues.apache.org/jira/browse/NETBEANS-3746
> Project: NetBeans
>  Issue Type: New Feature
>  Components: FlatLaf, ide - UI, platform - OptionsSettings
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>  Labels: Look, theme
> Attachments: flat-laf-changing-theme.gif
>
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-6180) Improve PSR-4 Namespace rules

2021-11-07 Thread Alessio Ferri (Jira)
Alessio Ferri created NETBEANS-6180:
---

 Summary: Improve PSR-4 Namespace rules
 Key: NETBEANS-6180
 URL: https://issues.apache.org/jira/browse/NETBEANS-6180
 Project: NetBeans
  Issue Type: Improvement
  Components: apisupport - Project, cnd - Editor
Affects Versions: 12.5
Reporter: Alessio Ferri


PSR-4 require namespace corrispondence to the directory structure only for the 
contiguos subnamespaces after the namespace prefix. There should be a method to 
set/infer the namespace prefix of the project.

https://www.php-fig.org/psr/psr-4 2.3.2. See section 3 for examples



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-3746) [FlatLaF] Change theme for FlatLaF

2021-11-07 Thread Christian Lenz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17439962#comment-17439962
 ] 

Christian Lenz commented on NETBEANS-3746:
--

I understand your point, I just wanted to say that it shouldn't be impossible 
and we need to fix those stuff first to come closer to the vision of this. 
Because this will bring an added value to NetBeans. But sure the way is long, I 
know. Step by step.

> [FlatLaF] Change theme for FlatLaF
> --
>
> Key: NETBEANS-3746
> URL: https://issues.apache.org/jira/browse/NETBEANS-3746
> Project: NetBeans
>  Issue Type: New Feature
>  Components: FlatLaf, ide - UI, platform - OptionsSettings
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
>Reporter: Christian Lenz
>Assignee: Karl Tauber
>Priority: Major
>  Labels: Look, theme
> Attachments: flat-laf-changing-theme.gif
>
>
> As far as I know, there ia theming option for FlatLaF inside the FlatLaF 
> demo. See my screencapture for more info. So it is possible via JSON to theme 
> the LaF easy and restartless. IntelliJ is doing that and it works like a 
> charm.
> The problem of NetBeans changing LaF is you often need to restart, because 
> not all components are repainted correctly. But it seems that theming of 
> FlatLaF is independent from NetBeans.
> So it would be nice, if we can switch the FlatLaF theme easy via NetBeans as 
> it is possible in the FlatLaF demo which is located here: 
> https://github.com/JFormDesigner/FlatLaf
> I already asked here: https://github.com/JFormDesigner/FlatLaf/issues/29



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans] branch master updated (9dc09a1 -> d29bc86)

2021-11-07 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 9dc09a1  Merge pull request #3305 from 
matthiasblaesing/mavenprotocolhandler_urlescapes
 new 797163f  [jackpot] added missing rule to IteratorToFor inspection 
which understands generics.
 new f1f6ca2  [jackpot] added test for while-with-generic-iterator case.
 new d29bc86  Merge pull request #3284 from mbien/generic_iterator

The 6123 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:
 .../modules/java/hints/jdk/IteratorToFor.java  | 17 +--
 .../modules/java/hints/jdk/IteratorToForTest.java  | 25 ++
 2 files changed, 35 insertions(+), 7 deletions(-)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans] branch master updated: m2 URL components need to be URL decoded before being used to create the artifact

2021-11-07 Thread matthiasblaesing
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 1950640  m2 URL components need to be URL decoded before being used to 
create the artifact
 new 9dc09a1  Merge pull request #3305 from 
matthiasblaesing/mavenprotocolhandler_urlescapes
1950640 is described below

commit 1950640659375c9de8b96afd5c1dc6a1a4885c27
Author: Matthias Bläsing 
AuthorDate: Fri Nov 5 22:51:09 2021 +0100

m2 URL components need to be URL decoded before being used to create the 
artifact

Consider this URL: m2:/com.dukescript.nbjavac:nb-javac:jdk-17%2B35:jar
it refers to the artifact with the components:

groupId:com.dukescript.nbjavac
artifactId: nb-javac
version:jdk-17+35
type:   jar

In the version string jdk-17%2B35, the + character is URL encoded and
needs to be decoded before used in the maven resolver to create the
artifact.
---
 .travis.yml|  2 +-
 java/maven.embedder/nbproject/project.xml  | 14 --
 .../maven/embedder/impl/MavenProtocolHandler.java  | 47 ++-
 .../embedder/impl/MavenProtocolHandlerTest.java| 53 ++
 .../maven/embedder/impl/NbRepositoryCacheTest.java |  4 +-
 5 files changed, 101 insertions(+), 19 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 904f8c6..e673cfa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -390,7 +390,7 @@ matrix:
 - ant $OPTS -f java/junit.ant.ui test
 - ant $OPTS -f java/lib.nbjavac test
 - ant $OPTS -f java/maven test
-#- ant $OPTS -f java/maven.embedder test
+- ant $OPTS -f java/maven.embedder test
 - ant $OPTS -f java/maven.grammar test
 #- ant $OPTS -f java/maven.hints test
 #- ant $OPTS -f java/maven.htmlui test
diff --git a/java/maven.embedder/nbproject/project.xml 
b/java/maven.embedder/nbproject/project.xml
index 65554c9..ff4513c 100644
--- a/java/maven.embedder/nbproject/project.xml
+++ b/java/maven.embedder/nbproject/project.xml
@@ -110,6 +110,10 @@
 
 unit
 
+org.netbeans.bootstrap
+
+
+
 
org.netbeans.libs.junit4
 
 
@@ -125,12 +129,12 @@
 
org.netbeans.modules.projectapi.nb
 
 
-org.openide.util.ui
+
org.openide.util.lookup
 
 
 
 
-
org.openide.util.lookup
+org.openide.util.ui
 
 
 
@@ -180,7 +184,7 @@
 
 javax.inject
 com.google.inject
-com.google.common.base
+com.google.common.base
 org.apache.maven
 org.apache.maven.artifact
 org.apache.maven.artifact.factory
@@ -264,7 +268,7 @@
 org.sonatype.plexus.components.cipher
 
org.sonatype.plexus.components.sec.dispatcher
 org.slf4j
-org.slf4j.impl
+org.slf4j.impl
 org.apache.maven.wagon.shared.http4
 
org.apache.maven.wagon.providers.http.wagon.shared
 
@@ -277,7 +281,7 @@
 external/jdom-1.0.jar
 
 
-
+
 
../maven/boot/plexus-classworlds-2.6.0.jar
 
 
diff --git 
a/java/maven.embedder/src/org/netbeans/modules/maven/embedder/impl/MavenProtocolHandler.java
 
b/java/maven.embedder/src/org/netbeans/modules/maven/embedder/impl/MavenProtocolHandler.java
index d03e114..d9a7332 100644
--- 
a/java/maven.embedder/src/org/netbeans/modules/maven/embedder/impl/MavenProtocolHandler.java
+++ 
b/java/maven.embedder/src/org/netbeans/modules/maven/embedder/impl/MavenProtocolHandler.java
@@ -21,14 +21,20 @@ package org.netbeans.modules.maven.embedder.impl;
 
 import java.io.File;
 import java.io.IOException;
+import java.io.UnsupportedEncodingException;
 import java.net.URL;
 import java.net.URLConnection;
+import java.net.URLDecoder;
 import java.net.URLStreamHandler;
+import java.util.Arrays;
 import java.util.Collections;
 import java.util.logging.Level;
 import java.util.logging.Logger;
+import java.util.stream.Collectors;
 import org.apache.maven.artifact.Artifact;
 import org.apache.maven.artifact.repository.ArtifactRepository;
+import