[jira] [Commented] (NETBEANS-2842) Using of deprecated pack200 tool in nbm packaging

2020-06-29 Thread Jan Lahoda (Jira)


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

Jan Lahoda commented on NETBEANS-2842:
--

[~ebresie] - not sure how using jlink or jpackage could help here. This is 
mostly about unpacking long-existing NBMs.

> Using of deprecated pack200 tool in nbm packaging
> -
>
> Key: NETBEANS-2842
> URL: https://issues.apache.org/jira/browse/NETBEANS-2842
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Critical
>
> Netbeans plugins are mostly compressed in size by the JDK internal pack200 
> tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). 
> It should be thought about an alternative as it might get removed in next JDK 
> releases.



--
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] [Comment Edited] (NETBEANS-2842) Using of deprecated pack200 tool in nbm packaging

2020-06-29 Thread Eric Bresie (Jira)


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

Eric Bresie edited comment on NETBEANS-2842 at 6/30/20, 4:29 AM:
-

Could any of the [suggestions here 
|https://issues.apache.org/jira/browse/NETBEANS-3985?focusedCommentId=17064765&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17064765]
 help?

 

>From the link:

”We assume that developers who use {{pack200}} to shrink application JARs can 
switch to either the {{jlink}} tool or the {{jpackage}} tool to create 
application-specific runtimes with an optimized form factor. See [JEP 
282|https://openjdk.java.net/jeps/282]and [JEP 
343|https://openjdk.java.net/jeps/343] for more information about these tools. 
An early-access build of JDK 14 that includes {{jpackage}} is 
[available|https://jdk.java.net/jpackage/].”


was (Author: ebresie):
link Could any of the suggestions here help?

 

>From the link in description:

”We assume that developers who use {{pack200}} to shrink application JARs can 
switch to either the {{jlink}} tool or the {{jpackage}} tool to create 
application-specific runtimes with an optimized form factor. See [JEP 
282|https://openjdk.java.net/jeps/282]and [JEP 
343|https://openjdk.java.net/jeps/343] for more information about these tools. 
An early-access build of JDK 14 that includes {{jpackage}} is 
[available|https://jdk.java.net/jpackage/].”

> Using of deprecated pack200 tool in nbm packaging
> -
>
> Key: NETBEANS-2842
> URL: https://issues.apache.org/jira/browse/NETBEANS-2842
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Critical
>
> Netbeans plugins are mostly compressed in size by the JDK internal pack200 
> tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). 
> It should be thought about an alternative as it might get removed in next JDK 
> releases.



--
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] [Comment Edited] (NETBEANS-2842) Using of deprecated pack200 tool in nbm packaging

2020-06-29 Thread Eric Bresie (Jira)


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

Eric Bresie edited comment on NETBEANS-2842 at 6/30/20, 4:25 AM:
-

link Could any of the suggestions here help?

 

>From the link in description:

”We assume that developers who use {{pack200}} to shrink application JARs can 
switch to either the {{jlink}} tool or the {{jpackage}} tool to create 
application-specific runtimes with an optimized form factor. See [JEP 
282|https://openjdk.java.net/jeps/282]and [JEP 
343|https://openjdk.java.net/jeps/343] for more information about these tools. 
An early-access build of JDK 14 that includes {{jpackage}} is 
[available|https://jdk.java.net/jpackage/].”


was (Author: ebresie):
[link Could any of the suggestions here help? 
|https://issues.apache.org/jira/browse/NETBEANS-3985?focusedCommentId=17064765&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17064765]

> Using of deprecated pack200 tool in nbm packaging
> -
>
> Key: NETBEANS-2842
> URL: https://issues.apache.org/jira/browse/NETBEANS-2842
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Critical
>
> Netbeans plugins are mostly compressed in size by the JDK internal pack200 
> tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). 
> It should be thought about an alternative as it might get removed in next JDK 
> releases.



--
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] [Comment Edited] (NETBEANS-2842) Using of deprecated pack200 tool in nbm packaging

2020-06-29 Thread Eric Bresie (Jira)


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

Eric Bresie edited comment on NETBEANS-2842 at 6/30/20, 4:24 AM:
-

[link Could any of the suggestions here help? 
|https://issues.apache.org/jira/browse/NETBEANS-3985?focusedCommentId=17064765&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17064765]


was (Author: ebresie):
https://issues.apache.org/jira/browse/NETBEANS-3985?focusedCommentId=17064765&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17064765

> Using of deprecated pack200 tool in nbm packaging
> -
>
> Key: NETBEANS-2842
> URL: https://issues.apache.org/jira/browse/NETBEANS-2842
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Critical
>
> Netbeans plugins are mostly compressed in size by the JDK internal pack200 
> tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). 
> It should be thought about an alternative as it might get removed in next JDK 
> releases.



--
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-2842) Using of deprecated pack200 tool in nbm packaging

2020-06-29 Thread Eric Bresie (Jira)


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

Eric Bresie commented on NETBEANS-2842:
---

https://issues.apache.org/jira/browse/NETBEANS-3985?focusedCommentId=17064765&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17064765

> Using of deprecated pack200 tool in nbm packaging
> -
>
> Key: NETBEANS-2842
> URL: https://issues.apache.org/jira/browse/NETBEANS-2842
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Critical
>
> Netbeans plugins are mostly compressed in size by the JDK internal pack200 
> tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). 
> It should be thought about an alternative as it might get removed in next JDK 
> releases.



--
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-4520) Enable File Chooser in non-project New File Wizard

2020-06-29 Thread Siddhesh Rane (Jira)


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

Siddhesh Rane updated NETBEANS-4520:

Labels: pull-request-available  (was: )

> Enable File Chooser in non-project New File Wizard
> --
>
> Key: NETBEANS-4520
> URL: https://issues.apache.org/jira/browse/NETBEANS-4520
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - UI
>Reporter: Siddhesh Rane
>Assignee: Siddhesh Rane
>Priority: Major
>  Labels: pull-request-available
> Attachments: before.gif
>
>
> If there is no active project, then the New File Wizard does not allow to 
> open the file chooser for selecting the folder. This patch fixes that without 
> affecting unintended side effects. This is more of feature enhancement.
>  
> !before.gif!



--
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-4520) Enable File Chooser in non-project New File Wizard

2020-06-29 Thread Siddhesh Rane (Jira)


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

Siddhesh Rane updated NETBEANS-4520:

Component/s: ide - UI

> Enable File Chooser in non-project New File Wizard
> --
>
> Key: NETBEANS-4520
> URL: https://issues.apache.org/jira/browse/NETBEANS-4520
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - UI
>Reporter: Siddhesh Rane
>Assignee: Siddhesh Rane
>Priority: Major
> Attachments: before.gif
>
>
> If there is no active project, then the New File Wizard does not allow to 
> open the file chooser for selecting the folder. This patch fixes that without 
> affecting unintended side effects. This is more of feature enhancement.
>  
> !before.gif!



--
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-4520) Enable File Chooser in non-project New File Wizard

2020-06-29 Thread Siddhesh Rane (Jira)


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

Siddhesh Rane updated NETBEANS-4520:

Description: 
If there is no active project, then the New File Wizard does not allow to open 
the file chooser for selecting the folder. This patch fixes that without 
affecting unintended side effects. This is more of feature enhancement.

 

!before.gif!

> Enable File Chooser in non-project New File Wizard
> --
>
> Key: NETBEANS-4520
> URL: https://issues.apache.org/jira/browse/NETBEANS-4520
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Siddhesh Rane
>Assignee: Siddhesh Rane
>Priority: Major
> Attachments: before.gif
>
>
> If there is no active project, then the New File Wizard does not allow to 
> open the file chooser for selecting the folder. This patch fixes that without 
> affecting unintended side effects. This is more of feature enhancement.
>  
> !before.gif!



--
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-4520) Enable File Chooser in non-project New File Wizard

2020-06-29 Thread Siddhesh Rane (Jira)


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

Siddhesh Rane updated NETBEANS-4520:

Attachment: before.gif

> Enable File Chooser in non-project New File Wizard
> --
>
> Key: NETBEANS-4520
> URL: https://issues.apache.org/jira/browse/NETBEANS-4520
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Siddhesh Rane
>Assignee: Siddhesh Rane
>Priority: Major
> Attachments: before.gif
>
>




--
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-4520) Enable File Chooser in non-project New File Wizard

2020-06-29 Thread Siddhesh Rane (Jira)


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

Siddhesh Rane reassigned NETBEANS-4520:
---

Assignee: Siddhesh Rane

> Enable File Chooser in non-project New File Wizard
> --
>
> Key: NETBEANS-4520
> URL: https://issues.apache.org/jira/browse/NETBEANS-4520
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Siddhesh Rane
>Assignee: Siddhesh Rane
>Priority: Major
>




--
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-4520) Enable File Chooser in non-project New File Wizard

2020-06-29 Thread Siddhesh Rane (Jira)
Siddhesh Rane created NETBEANS-4520:
---

 Summary: Enable File Chooser in non-project New File Wizard
 Key: NETBEANS-4520
 URL: https://issues.apache.org/jira/browse/NETBEANS-4520
 Project: NetBeans
  Issue Type: Improvement
Reporter: Siddhesh Rane






--
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-4500) Unit tests for PHP Editor fail

2020-06-29 Thread Jira


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

Tomáš Procházka updated NETBEANS-4500:
--
Labels: pull-request-available  (was: )

> Unit tests for PHP Editor fail
> --
>
> Key: NETBEANS-4500
> URL: https://issues.apache.org/jira/browse/NETBEANS-4500
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.0
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Labels: pull-request-available
> Attachments: php.editor.indent-2020-06-26.txt, 
> php.editor.js-2020-06-26.txt, php.editor.parser-2020-06-26.txt, 
> php.editor.verification-2020-06-26.txt
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Unit tests for PHP Editor module fail.
> Run {{ant -f php/php.editor}} and it results in build failure.



--
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-3746) [FlatLaF] Change theme for FlatLaF

2020-06-29 Thread Karl Tauber (Jira)


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

Karl Tauber commented on NETBEANS-3746:
---

I use the term "theme" in FlatLaf instead of "look and feel" because it is more 
commonly used in major IDEs and editors (IntelliJ IDEA, VScode, Atom, etc). The 
term "look and feel" is only used in Java Swing (as far as I know).

Technically a "theme" is a "look and feel" in FlatLaf because you have to 
activate each FlatLaf theme with 'UIManager.setLookAndFeel(...)'.

For NetBeans it would be natural to add FlatLaf themes to the Look and Feels 
combobox.

> [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 - Options&Settings
> 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&Feel, 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.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-4486) Unit tests for Latte templates fail

2020-06-29 Thread Jira


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

Tomáš Procházka resolved NETBEANS-4486.
---
Fix Version/s: 12.1
   Resolution: Fixed

PR was merged.

> Unit tests for Latte templates fail
> ---
>
> Key: NETBEANS-4486
> URL: https://issues.apache.org/jira/browse/NETBEANS-4486
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Nette
>Affects Versions: 12.0
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.1
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Unit tests for Latte Templates module fail.
> Run {{ant -f php/php.latte}} and it results in build failure.



--
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-4478) Unit tests for PHP Code analysis fail on Windows

2020-06-29 Thread Jira


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

Tomáš Procházka resolved NETBEANS-4478.
---
Fix Version/s: 12.1
   Resolution: Fixed

PR was merged.

> Unit tests for PHP Code analysis fail on Windows
> 
>
> Key: NETBEANS-4478
> URL: https://issues.apache.org/jira/browse/NETBEANS-4478
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code Analysis
>Affects Versions: 12.0
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.1
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Unit tests for PHP Code analysis module fail on Windows.
> Run {{ant -f php/php.code.analysis test}} on Windows and it results in build 
> failure.
> Log from failure:
> {noformat}
> [junit] ?er 22, 2020 7:44:24 ODP. 
> org.netbeans.modules.php.analysis.parsers.PHPStanReportParser getCurrentFile
> [junit] WARNING: Cannot get the current file: file name 
> /home/junichi11/NetBeansProjects/PHPStan/app/Test1.php, root directory 
> C:\D\netbeans\php\php.code.analysis\build\test\unit\data\phpstan\PHPStanSupport\netbeans3022
> [junit] ?er 22, 2020 7:44:24 ODP. 
> org.netbeans.modules.php.analysis.parsers.PHPStanReportParser getCurrentFile
> [junit] WARNING: Cannot get the current file: file name 
> /home/junichi11/NetBeansProjects/PHPStan/app/Test2.php, root directory 
> C:\D\netbeans\php\php.code.analysis\build\test\unit\data\phpstan\PHPStanSupport\netbeans3022
> [junit] -  ---
>     [junit] Testcase: 
> testParseNetBeans3022WithoutWorkDir(org.netbeans.modules.php.analysis.parsers.PHPStanReportParserTest):
>FAILED
> [junit] expected:<3> but was:<0>
> [junit] junit.framework.AssertionFailedError: expected:<3> but was:<0>
> [junit] at 
> org.netbeans.modules.php.analysis.parsers.PHPStanReportParserTest.testParseNetBeans3022WithoutWorkDir(PHPStanReportParserTest.java:93)
> [junit] at 
> org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
> [junit] at 
> org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460)
> [junit] at 
> org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386)
> [junit] at java.lang.Thread.run(Thread.java:748)
> {noformat}



--
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-1721) Type and value mismatch

2020-06-29 Thread Jira


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

Tomáš Procházka resolved NETBEANS-1721.
---
Fix Version/s: 12.1
   Resolution: Fixed

PR was merged.

> Type and value mismatch
> ---
>
> Key: NETBEANS-1721
> URL: https://issues.apache.org/jira/browse/NETBEANS-1721
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 10.0
>Reporter: Bo Andersen
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.1
>
> Attachments: image-2020-06-09-23-22-54-858.png, 
> type-and-value-mismatch.PNG
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> I have a strict comparison in PHP telling it should be a boolean false value, 
> but the debugger shows integer 0, but the type is correct in the type column.
>  
> Please see attached image.
>  
> {noformat}
> PHP 7.2.11-3+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Oct 25 2018 06:44:08) 
> ( NTS )
> Copyright (c) 1997-2018 The PHP Group
> Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
> with Zend OPcache v7.2.11-3+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 
> 1999-2018, by Zend Technologies
> with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans{noformat}



--
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-4501) Unit tests for Smarty fail

2020-06-29 Thread Jira


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

Tomáš Procházka resolved NETBEANS-4501.
---
Fix Version/s: 12.1
   Resolution: Fixed

PR was merged.

> Unit tests for Smarty fail
> --
>
> Key: NETBEANS-4501
> URL: https://issues.apache.org/jira/browse/NETBEANS-4501
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Smarty
>Affects Versions: 12.0
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.1
>
> Attachments: php.smarty-2020-06-28.txt
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Unit tests for Smarty Framework module fail.
> Run {{ant -f php/php.smarty}} and it results in build failure.



--
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 release120 updated: Allow Gradle projects to be opened instantly

2020-06-29 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch release120
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/release120 by this push:
 new 7067d25  Allow Gradle projects to be opened instantly
7067d25 is described below

commit 7067d25a99ad231bb9d19932ce92033494ddbda3
Author: Laszlo Kishalmi 
AuthorDate: Mon Jun 29 09:02:56 2020 -0700

Allow Gradle projects to be opened instantly
---
 groovy/gradle/apichanges.xml   |  39 
 groovy/gradle/licenseinfo.xml  |   1 +
 groovy/gradle/manifest.mf  |   2 +-
 .../modules/gradle/ActionProviderImpl.java |   5 +
 .../modules/gradle/GradleProjectCache.java |  35 ++--
 .../gradle/GradleProjectProblemProvider.java   |  29 ++-
 .../modules/gradle/NbGradleProjectImpl.java|  28 ++-
 .../org/netbeans/modules/gradle/ProjectTrust.java  | 230 +
 .../org/netbeans/modules/gradle/ReloadAction.java  |   8 +-
 .../modules/gradle/api/execute/RunUtils.java   |  34 +++
 .../gradle/customizer/BuildActionsCustomizer.java  |   9 +-
 .../modules/gradle/customizer/Bundle.properties|   2 +
 .../customizer/GradleCustomizerProvider.java   |  60 --
 .../gradle/customizer/GradleExecutionPanel.form|  95 +
 .../gradle/customizer/GradleExecutionPanel.java| 127 
 .../modules/gradle/execute/Bundle.properties   |   1 +
 .../modules/gradle/execute/TrustProjectPanel.form  |  79 +++
 .../modules/gradle/execute/TrustProjectPanel.java  | 109 ++
 .../modules/gradle/options/Bundle.properties   |   1 +
 .../modules/gradle/options/SettingsPanel.form  |  25 ++-
 .../modules/gradle/options/SettingsPanel.java  |  26 ++-
 .../org/netbeans/modules/gradle/resources/info.png | Bin 0 -> 766 bytes
 .../modules/gradle/spi/GradleSettings.java |  56 -
 .../customizer/support/FilterPanelProvider.java|   7 +-
 .../gradle/spi/newproject/TemplateOperation.java   |   5 +-
 .../gradle/AbstractGradleProjectTestCase.java  |   3 +-
 .../modules/gradle/NbGradleProjectFactoryTest.java |   9 -
 .../netbeans/modules/gradle/ProjectTrustTest.java  |  88 
 .../modules/gradle/api/execute/RunUtilsTest.java   |   5 +
 29 files changed, 1024 insertions(+), 94 deletions(-)

diff --git a/groovy/gradle/apichanges.xml b/groovy/gradle/apichanges.xml
index 65a70c0..b0a3bbe 100644
--- a/groovy/gradle/apichanges.xml
+++ b/groovy/gradle/apichanges.xml
@@ -83,6 +83,45 @@ is the proper place.
 
 
 
+
+
+Introduce Trust relationship with Gradle Projects to 
prevent unintentional Gradle invocation.
+
+
+
+
+
+
+Gradle projects are maintaining a trust attribute from now.
+This trust is based on the NetBeans user directory and the
+a secret placed in the Gradle Root project directory.
+
+
+Trusting any project of a multi-project Gradle build means
+trust all project in that multi-project project, as the
+trust is placed on the root project.
+
+
+This change is backported to version 2.0.1 as well.
+
+
+Added 
RunUtils.isProjectTrusted(Project,boolean)
+where plugin can check if a project is trusted or request
+one time trust with interactive mode.
+
+
+There is no API/SPI to mark a project trusted/untrusted.
+Projects are not trusted by default, but become trusted 
once
+a priming build is requested or a Gradle task is invoked as
+a result of an user action.
+
+
+Added 
org.netbeans.modules.gradle.spi.GradleSettings.GradleExecutionRule
+with setter ad getter in 
org.netbeans.modules.gradle.spi.GradleSettings
+as a global option to how to treat automatic Gradle 
Execution globally.
+
+
+
 
 
 Move Gradle Tooling API to a separate module.
diff --git a/groovy/gradle/licenseinfo.xml b/groovy/gradle/licenseinfo.xml
index 93818e5..e08b8e5 100644
--- a/groovy/gradle/licenseinfo.xml
+++ b/groovy/gradle/licenseinfo.xml
@@ -25,6 +25,7 @@
 
src/org/netbeans/modules/gradle/resources/defaultFolder.gif
 
src/org/netbeans/modules/gradle/resources/defaultFolderOpen.gif
 src/org/netbeans/modules/gradle/resources/empty.png
+src/org/netbeans/modules/gradle/resources/info.png
 
src/org/netbeans/modules/gradle/resources/javadoc-bad

[netbeans] branch master updated: Allow Gradle projects to be opened instantly

2020-06-29 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 5d1da9d  Allow Gradle projects to be opened instantly
5d1da9d is described below

commit 5d1da9d54adc47e6cb4ae578dfd065c09c4994b7
Author: Laszlo Kishalmi 
AuthorDate: Mon Jun 29 09:02:56 2020 -0700

Allow Gradle projects to be opened instantly
---
 groovy/gradle/apichanges.xml   |  39 
 groovy/gradle/licenseinfo.xml  |   1 +
 groovy/gradle/manifest.mf  |   2 +-
 .../modules/gradle/ActionProviderImpl.java |   5 +
 .../modules/gradle/GradleProjectCache.java |  35 ++--
 .../gradle/GradleProjectProblemProvider.java   |  29 ++-
 .../modules/gradle/NbGradleProjectImpl.java|  28 ++-
 .../org/netbeans/modules/gradle/ProjectTrust.java  | 230 +
 .../org/netbeans/modules/gradle/ReloadAction.java  |   8 +-
 .../modules/gradle/api/execute/RunUtils.java   |  34 +++
 .../gradle/customizer/BuildActionsCustomizer.java  |   9 +-
 .../modules/gradle/customizer/Bundle.properties|   2 +
 .../customizer/GradleCustomizerProvider.java   |  60 --
 .../gradle/customizer/GradleExecutionPanel.form|  95 +
 .../gradle/customizer/GradleExecutionPanel.java| 127 
 .../modules/gradle/execute/Bundle.properties   |   1 +
 .../modules/gradle/execute/TrustProjectPanel.form  |  79 +++
 .../modules/gradle/execute/TrustProjectPanel.java  | 109 ++
 .../modules/gradle/options/Bundle.properties   |   1 +
 .../modules/gradle/options/SettingsPanel.form  |  25 ++-
 .../modules/gradle/options/SettingsPanel.java  |  26 ++-
 .../org/netbeans/modules/gradle/resources/info.png | Bin 0 -> 766 bytes
 .../modules/gradle/spi/GradleSettings.java |  56 -
 .../customizer/support/FilterPanelProvider.java|   7 +-
 .../gradle/spi/newproject/TemplateOperation.java   |   5 +-
 .../gradle/AbstractGradleProjectTestCase.java  |   3 +-
 .../modules/gradle/NbGradleProjectFactoryTest.java |   9 -
 .../netbeans/modules/gradle/ProjectTrustTest.java  |  88 
 .../modules/gradle/api/execute/RunUtilsTest.java   |   5 +
 29 files changed, 1024 insertions(+), 94 deletions(-)

diff --git a/groovy/gradle/apichanges.xml b/groovy/gradle/apichanges.xml
index 65a70c0..b0a3bbe 100644
--- a/groovy/gradle/apichanges.xml
+++ b/groovy/gradle/apichanges.xml
@@ -83,6 +83,45 @@ is the proper place.
 
 
 
+
+
+Introduce Trust relationship with Gradle Projects to 
prevent unintentional Gradle invocation.
+
+
+
+
+
+
+Gradle projects are maintaining a trust attribute from now.
+This trust is based on the NetBeans user directory and the
+a secret placed in the Gradle Root project directory.
+
+
+Trusting any project of a multi-project Gradle build means
+trust all project in that multi-project project, as the
+trust is placed on the root project.
+
+
+This change is backported to version 2.0.1 as well.
+
+
+Added 
RunUtils.isProjectTrusted(Project,boolean)
+where plugin can check if a project is trusted or request
+one time trust with interactive mode.
+
+
+There is no API/SPI to mark a project trusted/untrusted.
+Projects are not trusted by default, but become trusted 
once
+a priming build is requested or a Gradle task is invoked as
+a result of an user action.
+
+
+Added 
org.netbeans.modules.gradle.spi.GradleSettings.GradleExecutionRule
+with setter ad getter in 
org.netbeans.modules.gradle.spi.GradleSettings
+as a global option to how to treat automatic Gradle 
Execution globally.
+
+
+
 
 
 Move Gradle Tooling API to a separate module.
diff --git a/groovy/gradle/licenseinfo.xml b/groovy/gradle/licenseinfo.xml
index 93818e5..e08b8e5 100644
--- a/groovy/gradle/licenseinfo.xml
+++ b/groovy/gradle/licenseinfo.xml
@@ -25,6 +25,7 @@
 
src/org/netbeans/modules/gradle/resources/defaultFolder.gif
 
src/org/netbeans/modules/gradle/resources/defaultFolderOpen.gif
 src/org/netbeans/modules/gradle/resources/empty.png
+src/org/netbeans/modules/gradle/resources/info.png
 
src/org/netbeans/modules/gradle/resources/javadoc-badge.png
 

[netbeans] branch master updated: [NETBEANS-4515] - remove use of proprietary API - ARRAYLENGTH

2020-06-29 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 8318c76  [NETBEANS-4515] - remove use of proprietary API - ARRAYLENGTH
 new 444badd  Merge pull request #2220 from 
BradWalker/remove_proprietary_api_ARRAYLENGTH
8318c76 is described below

commit 8318c76e4925e4341b53d46fe27e45c979ee9121
Author: Brad Walker 
AuthorDate: Sun Jun 28 22:46:49 2020 -0600

[NETBEANS-4515] - remove use of proprietary API - ARRAYLENGTH

The code has a test case that uses a proprietary API field - ARRAYLENGTH..

...
 [nb-javac] 
/home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21:
 warning: ARRAYLENGTH is internal proprietary API and may be removed in a 
future release

 [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH;

 [nb-javac]^

 [nb-javac] 
/home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21:
 warning: ARRAYLENGTH is internal proprietary API and may be removed in a 
future release

 [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH;

 [nb-javac]^

 [nb-javac] 
/home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21:
 warning: ARRAYLENGTH is internal proprietary API and may be removed in a 
future release

 [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH;

 [nb-javac]^
...

Remove the import of this class as it's not used and causes spurious 
warnings..
---
 .../test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java| 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java
 
b/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java
index ce231de..6780ccb 100644
--- 
a/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java
+++ 
b/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java
@@ -18,7 +18,6 @@
  */
 package org.netbeans.api.java.source.gen;
 
-import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;


-
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 (a50d78a -> 930cd3e)

2020-06-29 Thread lkishalmi
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 a50d78a  Merge pull request #2203 from 
KacerCZ/netbeans-4478-fix-php-code-analysis-tests
 add 930cd3e  [NETBEANS-4438] Fix new action wizard

No new revisions were added by this update.

Summary of changes:
 .../modules/apisupport/project/ui/wizard/action/DataModel.java| 8 
 1 file changed, 4 insertions(+), 4 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] [Created] (NETBEANS-4519) Maven project marked as unloadable but compiles fine.

2020-06-29 Thread Matthias Barmeier (Jira)
Matthias Barmeier created NETBEANS-4519:
---

 Summary: Maven project marked as unloadable but compiles fine.
 Key: NETBEANS-4519
 URL: https://issues.apache.org/jira/browse/NETBEANS-4519
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: 12.0
 Environment: Mac OSX Amazon Coretto 11
Reporter: Matthias Barmeier


When using an Uber POM with dependency and plugin management. Some projects 
were marked as unloadable. 

The project compiles fine on several different computers.

It is not possible to access project properties while the project is marked as 
unloadable.

The problem resolution suggests to add versions in the subproject POM to fix 
the problem.  In my understanding this is not needed, because the uber pom has 
the correct dependency management entries.



--
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-4518) Failed to run at start-up i.e. app froze, worked after restart

2020-06-29 Thread Clive (Jira)
Clive created NETBEANS-4518:
---

 Summary: Failed to run at start-up i.e. app froze, worked after 
restart
 Key: NETBEANS-4518
 URL: https://issues.apache.org/jira/browse/NETBEANS-4518
 Project: NetBeans
  Issue Type: Bug
Reporter: Clive


-->Log
 Session: Monday, June 29, 2020 at 3:41:02 PM South Africa Standard Time>System 
Info:   Product Version         = Apache NetBeans IDE 12.0  Operating System    
    = Mac OS X version 10.15.5 running on x86_64  Java; VM; Vendor        = 
14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7; Oracle Corporation  Runtime 
                = Java(TM) SE Runtime Environment 14.0.1+7  Java Home           
    = /Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home  System 
Locale; Encoding = en_GB (nb); UTF-8  Home Directory          = 
/Users/cliveviljoen  Current Directory       = /  User Directory          = 
/Users/cliveviljoen/Library/Application Support/NetBeans/12.0  Cache Directory  
       = /Users/cliveviljoen/Library/Caches/NetBeans/12.0  Installation         
   = /Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/nb                            
/Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/ergonomics                        
    /Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/ide                            
/Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/extide                            
/Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/java                            
/Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/apisupport                        
    /Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/webcommon                         
   /Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/websvccommon                      
      /Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/enterprise                        
    /Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/profiler                          
  /Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/php                            
/Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/harness                           
 /Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/groovy                            
/Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/javafx                            
/Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform  Boot & Ext. Classpath   
=   Application Classpath   = /Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/lib/boot.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/lib/org-openide-modules.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/lib/org-openide-util-lookup.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/lib/org-openide-util-ui.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/lib/org-openide-util.jar 
 Startup Classpath       = /Applications/NetBeans/Apache NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/core/org-netbeans-libs-asm.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/core/org-openide-filesystems-compat8.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/core/org-openide-filesystems.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/core/asm-7.2.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/core/asm-commons-7.2.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/core/asm-tree-7.2.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/core/core.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/platform/core/core-base.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/nb/core/org-netbeans-upgrader.jar:/Applications/NetBeans/Apache
 NetBeans 
12.0.app/Contents/Resources/NetBeans/netbeans/nb/core/locale/core_nb.jar--

[jira] [Commented] (NETBEANS-180) Please support the Language Server Protocol

2020-06-29 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-180:
-

IMHO I think it should be splitted into Textmate files and Language Servers. 
One doesn't have anyfthing todo with the other.

> Please support the Language Server Protocol
> ---
>
> Key: NETBEANS-180
> URL: https://issues.apache.org/jira/browse/NETBEANS-180
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Lexer, editor - Other, editor - Parsing & 
> Indexing
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: Screenshot from 2020-06-23 17-10-35.png, screen.jpg
>
>
> As you can see it here: 
> https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol and 
> here: https://github.com/Microsoft/language-server-protocol this stuff gets 
> very hot these days. It's about to have a commong language server, which 
> handles the language by them self and will send you errors, warnings, code 
> completion and many more without creating a new language support into the 
> IDE. This is very cool, so for netbeans it would be possible only to create 
> file templates and projects, not more, the rest will do the commong language 
> server protocol.
> Cheers
> Chris



--
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-180) Please support the Language Server Protocol

2020-06-29 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-180:
-

[~apupier] maybe [~jlahoda] can help here out, if there is a problem.

> Please support the Language Server Protocol
> ---
>
> Key: NETBEANS-180
> URL: https://issues.apache.org/jira/browse/NETBEANS-180
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Lexer, editor - Other, editor - Parsing & 
> Indexing
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: Screenshot from 2020-06-23 17-10-35.png, screen.jpg
>
>
> As you can see it here: 
> https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol and 
> here: https://github.com/Microsoft/language-server-protocol this stuff gets 
> very hot these days. It's about to have a commong language server, which 
> handles the language by them self and will send you errors, warnings, code 
> completion and many more without creating a new language support into the 
> IDE. This is very cool, so for netbeans it would be possible only to create 
> file templates and projects, not more, the rest will do the commong language 
> server protocol.
> Cheers
> Chris



--
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-180) Please support the Language Server Protocol

2020-06-29 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-180:
-

[~borwe] just go to the options and see the GUI :). It is simple and IMHO dont 
need a further explanation. I mean a tutorial would be cool, for sure, but test 
it out, it is easy. Go to options -> Editors -> Language Servers -> see the gui 
and add your Language server and your textmate file.

> Please support the Language Server Protocol
> ---
>
> Key: NETBEANS-180
> URL: https://issues.apache.org/jira/browse/NETBEANS-180
> Project: NetBeans
>  Issue Type: New Feature
>  Components: editor - Lexer, editor - Other, editor - Parsing & 
> Indexing
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: Screenshot from 2020-06-23 17-10-35.png, screen.jpg
>
>
> As you can see it here: 
> https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol and 
> here: https://github.com/Microsoft/language-server-protocol this stuff gets 
> very hot these days. It's about to have a commong language server, which 
> handles the language by them self and will send you errors, warnings, code 
> completion and many more without creating a new language support into the 
> IDE. This is very cool, so for netbeans it would be possible only to create 
> file templates and projects, not more, the rest will do the commong language 
> server protocol.
> Cheers
> Chris



--
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 (f8ad6ea -> a50d78a)

2020-06-29 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

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


from f8ad6ea  Merge pull request #2218 from 
KacerCZ/netbeans-4501-fix-smarty-tests
 new b618c33  [NETBEANS-4478] Fixed tests for PHP Code analysis on Windows
 new a50d78a  Merge pull request #2203 from 
KacerCZ/netbeans-4478-fix-php-code-analysis-tests

The 4104 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:
 .github/workflows/main.yml  |  2 +-
 .../phpstan-log-netbeans-3022-without-workdir.xml   |  4 ++--
 .../php/analysis/parsers/PHPStanReportParserTest.java   | 17 +++--
 3 files changed, 18 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



[netbeans] branch master updated: [NETBEANS-4501] Fixed tests for Smarty Framework

2020-06-29 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 6ba0df3  [NETBEANS-4501] Fixed tests for Smarty Framework
 new f8ad6ea  Merge pull request #2218 from 
KacerCZ/netbeans-4501-fix-smarty-tests
6ba0df3 is described below

commit 6ba0df3cdcabf0981b8701b245558b2038ef8b41
Author: Tomas Prochazka 
AuthorDate: Sun Jun 28 21:51:00 2020 +0200

[NETBEANS-4501] Fixed tests for Smarty Framework

https://issues.apache.org/jira/browse/NETBEANS-4501

- Updated code completion tests - definition data were not donated.
- Enabled tests in Travis and Github Actions.
---
 .github/workflows/main.yml| 2 +-
 .travis.yml   | 2 +-
 .../php/smarty/editor/completion/TplCompletionQueryTest.java  | 8 ++--
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ffd3480..2399595 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -68,7 +68,7 @@ jobs:
   ant -f php/php.phpunit test
   ant -f php/php.project test
   ant -f php/php.refactoring test
-  # ant -f php/php.smarty test
+  ant -f php/php.smarty test
   ant -f php/php.symfony test
   ant -f php/php.symfony2 test
   ant -f php/php.twig test
diff --git a/.travis.yml b/.travis.yml
index 6637666..560963f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -685,7 +685,7 @@ matrix:
 - ant $OPTS -f php/php.phpunit test
 - ant $OPTS -f php/php.project test
 - ant $OPTS -f php/php.refactoring test
-#- ant $OPTS -f php/php.smarty test
+- ant $OPTS -f php/php.smarty test
 - ant $OPTS -f php/php.symfony test
 - ant $OPTS -f php/php.symfony2 test
 - ant $OPTS -f php/php.twig test
diff --git 
a/php/php.smarty/test/unit/src/org/netbeans/modules/php/smarty/editor/completion/TplCompletionQueryTest.java
 
b/php/php.smarty/test/unit/src/org/netbeans/modules/php/smarty/editor/completion/TplCompletionQueryTest.java
index ec12e88..7b298f7 100644
--- 
a/php/php.smarty/test/unit/src/org/netbeans/modules/php/smarty/editor/completion/TplCompletionQueryTest.java
+++ 
b/php/php.smarty/test/unit/src/org/netbeans/modules/php/smarty/editor/completion/TplCompletionQueryTest.java
@@ -43,11 +43,15 @@ public class TplCompletionQueryTest extends CslTestBase {
 
 // 
 public void testTagAttributeValues() throws Exception {
-assertItems("{|", arr("append", "if", "section"), Match.CONTAINS);
+// Original test fails because completion data were not donated.
+// assertItems("{|", arr("append", "if", "section"), Match.CONTAINS);
+assertItems("{|", arr(), Match.EMPTY);
 }
 
 public void testIssue22376() throws Exception {
-assertItems("{|\n", arr("append", "if", "section"), Match.CONTAINS);
+// Original test fails because completion data were not donated.
+// assertItems("{|\n", arr("append", "if", "section"), Match.CONTAINS);
+assertItems("{|\n", arr(), Match.EMPTY);
 }
 
 protected void assertItems(String documentText, final String[] 
expectedItemsNames, final Match type) throws Exception {


-
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-4517) Unable to add break-point for Java Stream methods(filter, map, etc)

2020-06-29 Thread Akhilesh Singh (Jira)
Akhilesh Singh created NETBEANS-4517:


 Summary: Unable to add break-point for Java Stream methods(filter, 
map, etc)
 Key: NETBEANS-4517
 URL: https://issues.apache.org/jira/browse/NETBEANS-4517
 Project: NetBeans
  Issue Type: Bug
  Components: debugger - Java
Affects Versions: 11.3, 12.0
 Environment: Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
Runtime: OpenJDK Runtime Environment 14+36-1461
System: Windows 10 version 10.0 running on amd64; 
Reporter: Akhilesh Singh


Consider this source code:

{{package org.netbeans.modules.learning.lambda.code.completion;}}

{{import java.util.Arrays;}}

{{public class NewClass {}}

{{    public static void main(String... args) {}}
{{    Arrays.stream(new String[] \{"a", "", "b"})}}
{{  .filter(}}{{//breakpoint here}}{{}}

{{                    s -> !s.isEmpty()) }}
{{  .forEach(System.err::println);}}

              }

}

 

Add breakpoint on the marked line. Breakpoint added to one line above not on 
the filter method(add). Source code editor should allow to add the breakpoint 
on the filter.

 

Work around:

1.Write filter and lambda expression on the single line like below

{{.filter(}}{{s -> !s.isEmpty())}}

2. Add breakpoint on this line

3. Hit enter after the ".filter("



--
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-4483] Fixed unit tests for Latte Templates

2020-06-29 Thread junichi11
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new c00efa0  [NETBEANS-4483] Fixed unit tests for Latte Templates
 new 174d84c  Merge pull request #2208 from 
KacerCZ/netbeans-4486-fix-latte-tests
c00efa0 is described below

commit c00efa0f0140b7315bce33da3a5aaeb168338453
Author: Tomas Prochazka 
AuthorDate: Sun Jun 21 08:59:50 2020 +0200

[NETBEANS-4483] Fixed unit tests for Latte Templates

https://issues.apache.org/jira/browse/NETBEANS-4486

- Deleted tests related to files removed during donation from Oracle.
- Deleted unused files.
- Fixed loading of files containig UTF-8 characters (test
  LatteCompletionTest::testCompletion_03() was failing because of this).
- Enabled tests in Travis and Github Actions.
---
 .github/workflows/main.yml |   2 +-
 .travis.yml|   2 +-
 .../netbeans/modules/csl/api/test/CslTestBase.java |  13 +-
 .../data/testfiles/indent/testRealFile_01.latte| 237 +
 .../indent/testRealFile_01.latte.formatted | 237 +
 .../data/testfiles/indent/testRealFile_02.latte|   6 +
 .../indent/testRealFile_02.latte.formatted |   6 +
 .../data/testfiles/indent/testRealFile_03.latte|  78 +++
 .../indent/testRealFile_03.latte.formatted |  78 +++
 .../data/testfiles/indent/testRealFile_04.latte|  79 +++
 .../indent/testRealFile_04.latte.formatted |  79 +++
 .../testfiles/parser/issue245728_04.latte.errors   |   0
 .../testfiles/parser/issue245728_05.latte.errors   |   0
 .../testfiles/parser/issue245728_06.latte.errors   |   0
 .../php/latte/indent/LatteIndenterTestBase.java|  10 +
 .../php/latte/parser/LatteParserErrorTest.java |   3 +
 16 files changed, 821 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ffd3480..310a5a5 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -63,7 +63,7 @@ jobs:
   ant -f php/php.dbgp test
   ant -f php/php.doctrine2 test
   # ant -f php/php.editor test
-  # ant -f php/php.latte test
+  ant -f php/php.latte test
   ant -f php/php.nette.tester test
   ant -f php/php.phpunit test
   ant -f php/php.project test
diff --git a/.travis.yml b/.travis.yml
index 6637666..e18ce22 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -680,7 +680,7 @@ matrix:
 #- ant $OPTS -f php/php.dbgp test
 - ant $OPTS -f php/php.doctrine2 test
 #- ant $OPTS -f php/php.editor test
-#- ant $OPTS -f php/php.latte test
+- ant $OPTS -f php/php.latte test
 - ant $OPTS -f php/php.nette.tester test
 - ant $OPTS -f php/php.phpunit test
 - ant $OPTS -f php/php.project test
diff --git 
a/ide/csl.api/test/unit/src/org/netbeans/modules/csl/api/test/CslTestBase.java 
b/ide/csl.api/test/unit/src/org/netbeans/modules/csl/api/test/CslTestBase.java
index e37b66a..bb1448f 100644
--- 
a/ide/csl.api/test/unit/src/org/netbeans/modules/csl/api/test/CslTestBase.java
+++ 
b/ide/csl.api/test/unit/src/org/netbeans/modules/csl/api/test/CslTestBase.java
@@ -38,7 +38,9 @@ import java.io.StringWriter;
 import java.io.Writer;
 import java.lang.reflect.Method;
 import java.net.URL;
-import java.nio.CharBuffer;
+import java.nio.charset.Charset;
+import java.nio.charset.StandardCharsets;
+import java.nio.file.Files;
 import java.util.Arrays;
 import java.util.Collection;
 import java.util.HashSet;
@@ -541,12 +543,9 @@ public abstract class CslTestBase extends NbTestCase {
 }
 
 public static String readFile(File f) throws IOException {
-FileReader r = new FileReader(f);
-int fileLen = (int)f.length();
-CharBuffer cb = CharBuffer.allocate(fileLen);
-r.read(cb);
-cb.rewind();
-return cb.toString();
+Charset charset = StandardCharsets.UTF_8;
+String content = new String(Files.readAllBytes(f.toPath()), charset);
+return content;
 }
 
 protected File getDataSourceDir() {
diff --git 
a/php/php.latte/test/unit/data/testfiles/indent/testRealFile_01.latte 
b/php/php.latte/test/unit/data/testfiles/indent/testRealFile_01.latte
new file mode 100644
index 000..e9d50b8
--- /dev/null
+++ b/php/php.latte/test/unit/data/testfiles/indent/testRealFile_01.latte
@@ -0,0 +1,237 @@
+{*
+ * New BSD License
+ * ---
+ *
+ * Copyright (c) 2009, Ondřej Brejla 
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ * * Redistributions of source code must retain the above copyright
+ 

[netbeans-website] branch master updated: Update to the new Plugin Portal URL

2020-06-29 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
 new 6c80dbe  Update to the new Plugin Portal URL
 new adede9f  Merge pull request #484 from junichi11/new-pp-url
6c80dbe is described below

commit 6c80dbe848845c6548186346bf37f917a2b77055
Author: Junichi Yamamoto 
AuthorDate: Mon Jun 29 13:58:12 2020 +0900

Update to the new Plugin Portal URL
---
 netbeans.apache.org/src/content/templates/menu.gsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netbeans.apache.org/src/content/templates/menu.gsp 
b/netbeans.apache.org/src/content/templates/menu.gsp
index afc4413..195705f 100644
--- a/netbeans.apache.org/src/content/templates/menu.gsp
+++ b/netbeans.apache.org/src/content/templates/menu.gsp
@@ -33,7 +33,7 @@
  Participate 
  https://blogs.apache.org/netbeans/";>Blog
  Get Help 
- https://netbeans-vm.apache.org/pluginportal/";>Plugins 
+ https://plugins.netbeans.apache.org/";>Plugins 

  Download 
 
 


-
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-2979) Dose not save password

2020-06-29 Thread Clifford Dann (Jira)


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

Clifford Dann commented on NETBEANS-2979:
-

No it still dose not work for me, I tried to get the source code, but it dose 
not compile out of the box, and as there are no instructions, on how to compile 
when you only have Jave 12 (it needs java 8) I gave up, and just had to live 
with you can not save passwords.

 

> Dose not save  password
> ---
>
> Key: NETBEANS-2979
> URL: https://issues.apache.org/jira/browse/NETBEANS-2979
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Keyring, platform - Other
>Affects Versions: 12.0, 11.1, 11.2, 11.3
> Environment: Mac OS X, 10.14.3, x86_64
>Reporter: Clifford Dann
>Priority: Major
>  Labels: security
> Attachments: IDE Log.txt, UI Log.txt
>
>
> Every time you click remember password.
> error is NoClassDefFoundError: Could not initialize class 
> org.netbeans.modules.keyring.mac.SecurityLibrary



--
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-4516) java.lang.ClassNotFoundException

2020-06-29 Thread Anton (Jira)
Anton created NETBEANS-4516:
---

 Summary: java.lang.ClassNotFoundException
 Key: NETBEANS-4516
 URL: https://issues.apache.org/jira/browse/NETBEANS-4516
 Project: NetBeans
  Issue Type: Bug
Reporter: Anton
 Attachments: ide.log.txt, ui.log.txt





--
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