[netbeans-website] branch master updated: Fixed NetBeans 12.2 title

2021-02-06 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 85d36ed  Fixed NetBeans 12.2 title
 new 02ffe65  Merge pull request #518 from KacerCZ/patch-1
85d36ed is described below

commit 85d36ed66482278c178867557afcc329c8f9165a
Author: Tomáš Procházka 
AuthorDate: Sat Feb 6 11:05:35 2021 +0100

Fixed NetBeans 12.2 title

Fixed "feature update 1" to "feature update 2".
---
 netbeans.apache.org/src/content/download/index.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netbeans.apache.org/src/content/download/index.asciidoc 
b/netbeans.apache.org/src/content/download/index.asciidoc
index c30edce..8c78667 100644
--- a/netbeans.apache.org/src/content/download/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/index.asciidoc
@@ -40,7 +40,7 @@ Apache NetBeans is released four times a year. For details, 
see link:https://cwi
 TIP: Our annual May/June release is a
 long-term support (LTS) release that benefits from our 
link:https://cwiki.apache.org/confluence/display/NETBEANS/NetCAT+FAQ[NetCAT 
community testing process], and remains available and supported for a year.  
Our other quarterly releases provide early access to new features, which are 
tested and consolidated in the subsequent LTS release.
 
-== Apache NetBeans 12 feature update 1 (NB 12.2)
+== Apache NetBeans 12 feature update 2 (NB 12.2)
 
 Latest version of the IDE, released on December 5, 2020.
 


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

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



[jira] [Reopened] (NETBEANS-5115) "No tests executed" on maven project

2021-02-06 Thread Francesco Illuminati (Jira)


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

Francesco Illuminati reopened NETBEANS-5115:


I am sorry, the issue is still present, tests are executed but not shown in the 
`Test Results` panel.

> "No tests executed" on maven project
> 
>
> Key: NETBEANS-5115
> URL: https://issues.apache.org/jira/browse/NETBEANS-5115
> Project: NetBeans
>  Issue Type: Bug
>  Components: utilities - Test Runner
>Affects Versions: 12.2
> Environment: Linux version 5.4.0-53-generic (buildd@lcy01-amd64-007) 
> (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #59-Ubuntu SMP Wed Oct 21 
> 09:38:44 UTC 2020
> openjdk 15-ea 2020-09-15
> OpenJDK Runtime Environment (build 15-ea+32-Ubuntu-220.04)
> OpenJDK 64-Bit Server VM (build 15-ea+32-Ubuntu-220.04, mixed mode, sharing)
>Reporter: Francesco Illuminati
>Priority: Major
>
> On a maven java project executing project test or testing a single file 
> always returns "No tests executed" even if the maven goal is run (as can be 
> checked in the output window).
> This was tested with Junit Jupiter 5.6.0 and 5.7.0 and with 
> maven-surefire-plugin 3.0.0-M(1-5) and 2.22.2. 
> It worked fine on NB 12.1 but only after the maven-surefire-plugin 3.0.0-M4 
> is manually added to pom.xml (would be nice if it was added automatically).
> Unfortunately this bug severely impacts productivity: I'm forced back to NB 
> 12.1.
> Aside from that the maven-surefire-plugin 3.0.0-M5 doesn't recognize the test 
> resource folder using the default configuration (I have tried to set the 
> resource folder manually in the pom.xml file without any luck).



--
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] [Issue Comment Deleted] (NETBEANS-5115) "No tests executed" on maven project

2021-02-06 Thread Francesco Illuminati (Jira)


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

Francesco Illuminati updated NETBEANS-5115:
---
Comment: was deleted

(was: Strangely enough I performed a new try withe the same installation of nb 
12.2 and now it is  testing normally. I close the issue because it was probably 
depending on something else than the IDE.)

> "No tests executed" on maven project
> 
>
> Key: NETBEANS-5115
> URL: https://issues.apache.org/jira/browse/NETBEANS-5115
> Project: NetBeans
>  Issue Type: Bug
>  Components: utilities - Test Runner
>Affects Versions: 12.2
> Environment: Linux version 5.4.0-53-generic (buildd@lcy01-amd64-007) 
> (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #59-Ubuntu SMP Wed Oct 21 
> 09:38:44 UTC 2020
> openjdk 15-ea 2020-09-15
> OpenJDK Runtime Environment (build 15-ea+32-Ubuntu-220.04)
> OpenJDK 64-Bit Server VM (build 15-ea+32-Ubuntu-220.04, mixed mode, sharing)
>Reporter: Francesco Illuminati
>Priority: Major
>
> On a maven java project executing project test or testing a single file 
> always returns "No tests executed" even if the maven goal is run (as can be 
> checked in the output window).
> This was tested with Junit Jupiter 5.6.0 and 5.7.0 and with 
> maven-surefire-plugin 3.0.0-M(1-5) and 2.22.2. 
> It worked fine on NB 12.1 but only after the maven-surefire-plugin 3.0.0-M4 
> is manually added to pom.xml (would be nice if it was added automatically).
> Unfortunately this bug severely impacts productivity: I'm forced back to NB 
> 12.1.
> Aside from that the maven-surefire-plugin 3.0.0-M5 doesn't recognize the test 
> resource folder using the default configuration (I have tried to set the 
> resource folder manually in the pom.xml file without any luck).



--
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-4712) Missing auto completion for some HTML attribute value

2021-02-06 Thread Jira


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

Tomáš Procházka commented on NETBEANS-4712:
---

The list of all encodings is huge and only reasonable subset should be added.
I suggest to add "UTF-8", ISO-8859-1 to ISO-8859-16 and "windows-1250" to 
"windows-1258".

Do you think any other charsets are frequently used and should be added?


> Missing auto completion for some HTML attribute value 
> --
>
> Key: NETBEANS-4712
> URL: https://issues.apache.org/jira/browse/NETBEANS-4712
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 12.0
>Reporter: KoKo
>Priority: Major
>
>  
> ||attribute||attribute values||
> ||e.g. UTF-8. Please see 
> [http://www.iana.org/assignments/character-sets/character-sets.xhtml] for 
> details|
>  
>  
>  



--
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-4443) PHP 8.0 Support

2021-02-06 Thread Jira


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

Tomáš Procházka commented on NETBEANS-4443:
---

[~junichi11] Thanks a lot for your work on PHP 8.0 support.
I was going through PHP 8.0 RFCs for NetBeans 12.3 [release 
page](https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+12.3).
Its safe to say that syntax of PHP 8.0 is fully supported with only remaining 
code completion for attributes and named parameters.

> PHP 8.0 Support
> ---
>
> Key: NETBEANS-4443
> URL: https://issues.apache.org/jira/browse/NETBEANS-4443
> Project: NetBeans
>  Issue Type: New Feature
>  Components: php - Editor
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available, pull-requests-available
>  Time Spent: 28h 10m
>  Remaining Estimate: 0h
>
> https://wiki.php.net/rfc#php_80



--
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-5115) "No tests executed" on maven project

2021-02-06 Thread Francesco Illuminati (Jira)


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

Francesco Illuminati updated NETBEANS-5115:
---
Attachment: nb12-test-error-2021-02-06_14.21.44.mp4

> "No tests executed" on maven project
> 
>
> Key: NETBEANS-5115
> URL: https://issues.apache.org/jira/browse/NETBEANS-5115
> Project: NetBeans
>  Issue Type: Bug
>  Components: utilities - Test Runner
>Affects Versions: 12.2
> Environment: Linux version 5.4.0-53-generic (buildd@lcy01-amd64-007) 
> (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #59-Ubuntu SMP Wed Oct 21 
> 09:38:44 UTC 2020
> openjdk 15-ea 2020-09-15
> OpenJDK Runtime Environment (build 15-ea+32-Ubuntu-220.04)
> OpenJDK 64-Bit Server VM (build 15-ea+32-Ubuntu-220.04, mixed mode, sharing)
>Reporter: Francesco Illuminati
>Priority: Major
> Attachments: nb12-test-error-2021-02-06_14.21.44.mp4
>
>
> On a maven java project executing project test or testing a single file 
> always returns "No tests executed" even if the maven goal is run (as can be 
> checked in the output window).
> This was tested with Junit Jupiter 5.6.0 and 5.7.0 and with 
> maven-surefire-plugin 3.0.0-M(1-5) and 2.22.2. 
> It worked fine on NB 12.1 but only after the maven-surefire-plugin 3.0.0-M4 
> is manually added to pom.xml (would be nice if it was added automatically).
> Unfortunately this bug severely impacts productivity: I'm forced back to NB 
> 12.1.
> Aside from that the maven-surefire-plugin 3.0.0-M5 doesn't recognize the test 
> resource folder using the default configuration (I have tried to set the 
> resource folder manually in the pom.xml file without any luck).



--
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-5326) Running tests with codelense link shows no test output

2021-02-06 Thread Francesco Illuminati (Jira)


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

Francesco Illuminati commented on NETBEANS-5326:


I have a similar problem with the IDE itself. Take a look at NETBEANS-5115 .

> Running tests with codelense link shows no test output
> --
>
> Key: NETBEANS-5326
> URL: https://issues.apache.org/jira/browse/NETBEANS-5326
> Project: NetBeans
>  Issue Type: Bug
>  Components: lsp, vscode
>Affects Versions: 12.3
>Reporter: Martin Entlicher
>Assignee: Martin Entlicher
>Priority: Critical
>  Labels: Usability, pull-request-available
> Fix For: 12.3
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently if you click on "Run test" in the editor it runs the test but no 
> output is shown and no way to obtain the output.
> This is particularly problematic if the test fails as you have no way to know 
> what failed.
> The situation is slightly better with the "Debug test" link which does show 
> test output however if a test fails for some reason there is no output about 
> the test result.



--
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 delivery updated: [NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle Projects

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

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


The following commit(s) were added to refs/heads/delivery by this push:
 new e59eca1  [NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle 
Projects
e59eca1 is described below

commit e59eca101fc840ef7d3f0c5e57483f75ba5c3736
Author: Laszlo Kishalmi 
AuthorDate: Fri Feb 5 05:36:22 2021 -0800

[NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle Projects
---
 extide/gradle/netbeans-gradle-tooling/build.gradle  | 2 +-
 extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle  | 2 +-
 .../src/test/data/simple-with-tests/build.gradle| 2 +-
 .../netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle | 2 +-
 .../org/netbeans/modules/gradle/newproject/multi-root.gradle.template   | 2 +-
 .../org/netbeans/modules/gradle/newproject/single-build.gradle.template | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/extide/gradle/netbeans-gradle-tooling/build.gradle 
b/extide/gradle/netbeans-gradle-tooling/build.gradle
index a8db3ec..23412e7 100644
--- a/extide/gradle/netbeans-gradle-tooling/build.gradle
+++ b/extide/gradle/netbeans-gradle-tooling/build.gradle
@@ -26,7 +26,7 @@ sourceCompatibility = '1.8'
 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 dependencies {
diff --git 
a/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle 
b/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle
index 1c30cea..50ceec5 100644
--- a/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle
+++ b/extide/gradle/netbeans-gradle-tooling/src/test/data/multi/build.gradle
@@ -22,7 +22,7 @@ subprojects {
 apply plugin: 'jacoco'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 }
diff --git 
a/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
 
b/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
index 5e41a81..666569d 100644
--- 
a/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
+++ 
b/extide/gradle/netbeans-gradle-tooling/src/test/data/simple-with-tests/build.gradle
@@ -28,7 +28,7 @@ import org.gradle.tooling.model.Task
 apply plugin: 'groovy'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 dependencies {
diff --git 
a/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle 
b/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle
index 857634f..38c7184 100644
--- 
a/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle
+++ 
b/extide/gradle/netbeans-gradle-tooling/src/test/data/unresolvable/build.gradle
@@ -20,7 +20,7 @@
 apply plugin: 'java'
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 dependencies {
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
 
b/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
index e834be6..ec5a458 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/newproject/multi-root.gradle.template
@@ -9,7 +9,7 @@ allprojects {
 
 
 repositories {
-jcenter()
+mavenCentral()
 }
 }
 
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
 
b/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
index e9139ab..bfefcff 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/newproject/single-build.gradle.template
@@ -22,7 +22,7 @@ sourceCompatibility = ${javaVersion}
 targetCompatibility = ${javaVersion}
 
 repositories {
-jcenter()
+mavenCentral()
 }
 
 <#if dependencies??>


-
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-419) Netbeans 9 spalsh screen has incorrect grammar

2021-02-06 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-419:

Labels: pull-request-available  (was: )

> Netbeans 9 spalsh screen has incorrect grammar
> --
>
> Key: NETBEANS-419
> URL: https://issues.apache.org/jira/browse/NETBEANS-419
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Welcome
>Affects Versions: 9.0
>Reporter: Robert
>Priority: Minor
>  Labels: pull-request-available
> Attachments: nb_splash.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The current text says:
> Netbeans IDE and Netbeans Platform are base on software from Apache Software 
> Foundation and is licensed under Apache License Version 2.0.
> It should say something like:
> The Netbeans IDE and the Netbeans Platform are based on software from the 
> Apache Software Foundation and are licensed under the Apache License Version 
> 2.0.
>  



--
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-419) Netbeans 9 spalsh screen has incorrect grammar

2021-02-06 Thread Jira


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

Tomáš Procházka reassigned NETBEANS-419:


Assignee: Tomáš Procházka

> Netbeans 9 spalsh screen has incorrect grammar
> --
>
> Key: NETBEANS-419
> URL: https://issues.apache.org/jira/browse/NETBEANS-419
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Welcome
>Affects Versions: 9.0
>Reporter: Robert
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
> Attachments: nb_splash.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The current text says:
> Netbeans IDE and Netbeans Platform are base on software from Apache Software 
> Foundation and is licensed under Apache License Version 2.0.
> It should say something like:
> The Netbeans IDE and the Netbeans Platform are based on software from the 
> Apache Software Foundation and are licensed under the Apache License Version 
> 2.0.
>  



--
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-5338) Update link to reporting issues

2021-02-06 Thread Jira
Tomáš Procházka created NETBEANS-5338:
-

 Summary: Update link to reporting issues
 Key: NETBEANS-5338
 URL: https://issues.apache.org/jira/browse/NETBEANS-5338
 Project: NetBeans
  Issue Type: Improvement
Affects Versions: 12.2
Reporter: Tomáš Procházka
Assignee: Tomáš Procházka


Menu item Help > Report Issue and also exception dialog links directly to list 
of issues in JIRA.
It would be better to link Reporting issues 
(https://netbeans.apache.org/participate/report-issue.html) on NetBeans website.
Page contains info how to report bug and what needs to be included in report.



--
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-5338) Update link to reporting issues

2021-02-06 Thread ASF GitHub Bot (Jira)


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

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

> Update link to reporting issues
> ---
>
> Key: NETBEANS-5338
> URL: https://issues.apache.org/jira/browse/NETBEANS-5338
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: 12.2
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Menu item Help > Report Issue and also exception dialog links directly to 
> list of issues in JIRA.
> It would be better to link Reporting issues 
> (https://netbeans.apache.org/participate/report-issue.html) on NetBeans 
> website.
> Page contains info how to report bug and what needs to be included in report.



--
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-17) Please add more analyse tools for JavaScript

2021-02-06 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-17:


Sooner or later, maybe :). And what you want to try to help here to move this 
forward?

> Please add more analyse tools for JavaScript
> 
>
> Key: NETBEANS-17
> URL: https://issues.apache.org/jira/browse/NETBEANS-17
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As we have it for Java, PHP and I think for C/C++, I would like to see more 
> analyse tools like dependency resolver for require modules, ES6 Modules, 
> angular modules and other module frameworks (Show dependencies is deactivated 
> for JS projects), find dead code, find duplicate code and so on.
> There is a plugin for such things called PMD but last changes was made in 
> 2012 and it doesn't work as expected. For other languages you have to add 
> rulesets which is kinda broken and so on.
> Such code analyse tools would be very great and will increase the quality of 
> big JS applications. It should be a build in functionality to search and fix 
> dead code, duplicates and so on.
> It is really needed that we have such functionality to find dead code / 
> unused variables for example.
> In angular, if you remove functionality inside a controller or a service and 
> you don't remove the arguments, like the dependend module, that you use, they 
> will be resolved at runtime and this is a bad pattern. So if you forgot to 
> remove the argument like myService, netbeans shows you "unused code". A 
> functionality to find ALL unused code in a JS project, is really needed and 
> to fix them too.
> There is a nice thing called spy.js. WebStorm has it integrated and you can 
> profile Websites with JS AND node apps. You can see the call tree where, for 
> example you click on smth and you see what happend. it's more than a 
> debugger, you see CPU usages, time and so on. Here is a link to this: 
> http://blog.jetbrains.com/webstorm/2014/04/spy-js-webstorm-secret-service/
> Here are some more links:
> http://blog.jetbrains.com/webstorm/2015/05/node-js-profiling-in-webstorm-part-1-cpu-profiling/
> http://blog.jetbrains.com/webstorm/2015/07/node-js-profiling-in-webstorm-part-2-memory-profiling/
> V8 profiling:
> https://www.jetbrains.com/help/webstorm/11.0/v8-cpu-and-memory-profiling.html?origin=old_help
> This is an other technology, which is I think built into the V8 engine.
> So keywors are: dead code detection, resolve/fix missing/unused imports (ES6 
> modles), copy paste detection, etc. We can handle this as sub tickets if you 
> want.
> Regards
> 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] [Comment Edited] (NETBEANS-17) Please add more analyse tools for JavaScript

2021-02-06 Thread Christian Lenz (Jira)


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

Christian Lenz edited comment on NETBEANS-17 at 2/6/21, 6:17 PM:
-

Sooner or later, maybe :). And what is your plan to help here to move this 
forward?


was (Author: chrizzly):
Sooner or later, maybe :). And what you want to try to help here to move this 
forward?

> Please add more analyse tools for JavaScript
> 
>
> Key: NETBEANS-17
> URL: https://issues.apache.org/jira/browse/NETBEANS-17
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As we have it for Java, PHP and I think for C/C++, I would like to see more 
> analyse tools like dependency resolver for require modules, ES6 Modules, 
> angular modules and other module frameworks (Show dependencies is deactivated 
> for JS projects), find dead code, find duplicate code and so on.
> There is a plugin for such things called PMD but last changes was made in 
> 2012 and it doesn't work as expected. For other languages you have to add 
> rulesets which is kinda broken and so on.
> Such code analyse tools would be very great and will increase the quality of 
> big JS applications. It should be a build in functionality to search and fix 
> dead code, duplicates and so on.
> It is really needed that we have such functionality to find dead code / 
> unused variables for example.
> In angular, if you remove functionality inside a controller or a service and 
> you don't remove the arguments, like the dependend module, that you use, they 
> will be resolved at runtime and this is a bad pattern. So if you forgot to 
> remove the argument like myService, netbeans shows you "unused code". A 
> functionality to find ALL unused code in a JS project, is really needed and 
> to fix them too.
> There is a nice thing called spy.js. WebStorm has it integrated and you can 
> profile Websites with JS AND node apps. You can see the call tree where, for 
> example you click on smth and you see what happend. it's more than a 
> debugger, you see CPU usages, time and so on. Here is a link to this: 
> http://blog.jetbrains.com/webstorm/2014/04/spy-js-webstorm-secret-service/
> Here are some more links:
> http://blog.jetbrains.com/webstorm/2015/05/node-js-profiling-in-webstorm-part-1-cpu-profiling/
> http://blog.jetbrains.com/webstorm/2015/07/node-js-profiling-in-webstorm-part-2-memory-profiling/
> V8 profiling:
> https://www.jetbrains.com/help/webstorm/11.0/v8-cpu-and-memory-profiling.html?origin=old_help
> This is an other technology, which is I think built into the V8 engine.
> So keywors are: dead code detection, resolve/fix missing/unused imports (ES6 
> modles), copy paste detection, etc. We can handle this as sub tickets if you 
> want.
> Regards
> 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-5010) Go to File search should accept paths too

2021-02-06 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-5010:
--

The performance of that window is in a state where the index should be 
improved. For this to have checkboxes to make it a bit faster is a need. I also 
don't like to change that via checkbox but I prefer to have a good user 
experience instead of poor performance when there are to many projects/files to 
search for. So for the first step it is good to go to have this checkbox. Later 
we need a change of the searching inside of the index and the repainting of the 
results.

> Go to File search should accept paths too
> -
>
> Key: NETBEANS-5010
> URL: https://issues.apache.org/jira/browse/NETBEANS-5010
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.2
>Reporter: Czukowski
>Assignee: Emilian Bold
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Go to File seems to search only by the file name. For example, it takes only 
> a double click to copy a file name including its path from a console (eg from 
> git output), and it's a shame it cannot be pasted into Go to File dialog to 
> open that file just as easily, without removing the path information first.
> Also if there are many files with the same name (eg due to some naming 
> convention), there will be many results requiring some more time to locate 
> the correct one.
> Therefore Go to File dialog should accept parts of file paths as well.
> On Windows, both forward and back slashes should be supported for directory 
> separators.



--
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-4587) Autosuggestion for HTML methods

2021-02-06 Thread ASF GitHub Bot (Jira)


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

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

> Autosuggestion for HTML methods
> ---
>
> Key: NETBEANS-4587
> URL: https://issues.apache.org/jira/browse/NETBEANS-4587
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 12.0
>Reporter: Los Vitaly
>Priority: Minor
>  Labels: pull-request-available
> Attachments: method.gif
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The two most common HTTP methods are: GET and POST.  Can its be added for 
> autosuggestion in  tag? It just one more small convenience for web 
> developers .
> I made GIF for better understanding 



--
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-5120) Javadoc blocks freezing IDE

2021-02-06 Thread Jakub Herkel (Jira)


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

Jakub Herkel commented on NETBEANS-5120:


Minor version of Netbeans are released +- every 3 months. You are right 
unfortunately there isn't any automatic update process but installation of a 
new version (for test) takes maybe 10 minutes. And I think if you want someone 
tries to fix your issue you need to recheck it with the latest version. Because 
as Netbeans User 2019 reported, it seems it is working now

> Javadoc blocks freezing IDE
> ---
>
> Key: NETBEANS-5120
> URL: https://issues.apache.org/jira/browse/NETBEANS-5120
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Javadoc
>Affects Versions: 12.0
>Reporter: Wayne Wilson
>Priority: Major
>  Labels: JavaDoc, netbeans-12
>
> When placing a Javadoc block in the first line of a file, it crashes the IDE.
>  This issue occurs in basic Java files, but also in package-info files, as 
> well.
> This issue also occurs if there are less than 3 lines following the end of 
> the Javadoc Block.



--
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-5339) Let's NetBeans Java Support work with --release X flag

2021-02-06 Thread Jaroslav Tulach (Jira)
Jaroslav Tulach created NETBEANS-5339:
-

 Summary: Let's NetBeans Java Support work with --release X flag
 Key: NETBEANS-5339
 URL: https://issues.apache.org/jira/browse/NETBEANS-5339
 Project: NetBeans
  Issue Type: Improvement
  Components: java - Source
Affects Versions: 12.0
Reporter: Jaroslav Tulach
Assignee: Jan Lahoda


Since JDK9 there is {{-release}} flag which can specify which JDK API one 
wishes to compile against. Time to use it in NetBeans!

Historically NetBeans Java support tries to detect a JDK one is running on and 
decrease the requested {{--source}} level to the supported JDK. This is very 
annoying and in the context of {{--release}} flag, unnecessary.

Modern {{javac}} compiler have snapshot JDK API for each version since JDK7 to 
the latest JDK. Regardless on which version the NetBeans IDE is running, people 
should be able to select the right release/target JDK and get errors according 
to its API.

By default a specified {{--source}} (by a SourceVersionQuery) should also imply 
appropriate {{--release}}. There might be other means how to control both 
source as well as release.



--
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-5315) Copy/Paste with imports

2021-02-06 Thread Obed Vazquez (Jira)


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

Obed Vazquez updated NETBEANS-5315:
---
Description: 
I copy Annotations or some object instantiation or any kind of class-use from 
one file into another.

Expected: NetBeans usually will import the required libraries into the new file 
after a confirmation.

Obtained: NetBeans will prompt the confirmation but an exception will be thrown 
while it tries to import them and the prompt will hang with cancel as the only 
active option. 

I already checked this in the last updated installable version of NetBeans (at 
2021-02-06 the version 12.2) This is the About info:
*Product Version:* Apache NetBeans IDE 12.2

*Updates:* NetBeans IDE is updated to version [NetBeans 8.2 Patch 
2|http://wiki.netbeans.org/NetBeans8.2PatchesInfo]

*Java:* 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10

*Runtime:* Java(TM) SE Runtime Environment 12.0.2+10

*System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

*User directory:* C:\Users\WhiteVirtual1\AppData\Roaming\NetBeans\12.2

*Cache directory:* C:\Users\WhiteVirtual1\AppData\Local\NetBeans\Cache\12.2

I'm attaching both logs.

  was:
I copy Annotations or some object instantiation or any kind of class-use from 
one file into another.

Expected: NetBeans usually will import the required libraries into the new file 
after a confirmation.

Obtained: NetBeans will prompt the confirmation but an exception will be thrown 
while it tries to import them and the prompt will hang with cancel as the only 
active option. 

   Priority: Major  (was: Minor)

> Copy/Paste with imports
> ---
>
> Key: NETBEANS-5315
> URL: https://issues.apache.org/jira/browse/NETBEANS-5315
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Virtual Machine, VirtualBox Windows 10, 64x All of my 
> projects with several java versions. All maven projects.
>Reporter: Obed Vazquez
>Priority: Major
> Attachments: IDE Log.txt, UI Log.txt
>
>
> I copy Annotations or some object instantiation or any kind of class-use from 
> one file into another.
> Expected: NetBeans usually will import the required libraries into the new 
> file after a confirmation.
> Obtained: NetBeans will prompt the confirmation but an exception will be 
> thrown while it tries to import them and the prompt will hang with cancel as 
> the only active option. 
> I already checked this in the last updated installable version of NetBeans 
> (at 2021-02-06 the version 12.2) This is the About info:
> *Product Version:* Apache NetBeans IDE 12.2
> *Updates:* NetBeans IDE is updated to version [NetBeans 8.2 Patch 
> 2|http://wiki.netbeans.org/NetBeans8.2PatchesInfo]
> *Java:* 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10
> *Runtime:* Java(TM) SE Runtime Environment 12.0.2+10
> *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> *User directory:* C:\Users\WhiteVirtual1\AppData\Roaming\NetBeans\12.2
> *Cache directory:* C:\Users\WhiteVirtual1\AppData\Local\NetBeans\Cache\12.2
> I'm attaching both logs.



--
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-5315) Copy/Paste with imports

2021-02-06 Thread Obed Vazquez (Jira)


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

Obed Vazquez updated NETBEANS-5315:
---
Attachment: IDE Log 12.2.txt
UI Log 12.2.txt

> Copy/Paste with imports
> ---
>
> Key: NETBEANS-5315
> URL: https://issues.apache.org/jira/browse/NETBEANS-5315
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Virtual Machine, VirtualBox Windows 10, 64x All of my 
> projects with several java versions. All maven projects.
>Reporter: Obed Vazquez
>Priority: Major
> Attachments: IDE Log 12.2.txt, IDE Log.txt, UI Log 12.2.txt, UI 
> Log.txt
>
>
> I copy Annotations or some object instantiation or any kind of class-use from 
> one file into another.
> Expected: NetBeans usually will import the required libraries into the new 
> file after a confirmation.
> Obtained: NetBeans will prompt the confirmation but an exception will be 
> thrown while it tries to import them and the prompt will hang with cancel as 
> the only active option. 
> I already checked this in the last updated installable version of NetBeans 
> (at 2021-02-06 the version 12.2) This is the About info:
> *Product Version:* Apache NetBeans IDE 12.2
> *Updates:* NetBeans IDE is updated to version [NetBeans 8.2 Patch 
> 2|http://wiki.netbeans.org/NetBeans8.2PatchesInfo]
> *Java:* 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10
> *Runtime:* Java(TM) SE Runtime Environment 12.0.2+10
> *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> *User directory:* C:\Users\WhiteVirtual1\AppData\Roaming\NetBeans\12.2
> *Cache directory:* C:\Users\WhiteVirtual1\AppData\Local\NetBeans\Cache\12.2
> I'm attaching both logs.



--
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-5136) double checked locking idiom wrong in inspect and transform

2021-02-06 Thread Jakub Herkel (Jira)


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

Jakub Herkel commented on NETBEANS-5136:


I don't see anything wrong with code from 
[https://bz.apache.org/netbeans/show_bug.cgi?id=248740]. Could you describe 
what the problem is?

> double checked locking idiom wrong in inspect and transform
> ---
>
> Key: NETBEANS-5136
> URL: https://issues.apache.org/jira/browse/NETBEANS-5136
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 12.2
>Reporter: Carsten Hammer
>Priority: Critical
>
> The pattern implemented in 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=248740] seems to be wrong 
> according to 
> [https://docs.google.com/document/d/1mAeEgQu4H4ADxa03k7YaVDjIP5vJBvjVIjg3DIvoc8E/edit]
> The right pattern looks like this:
>  # 334, Second code example. *_This is a serious error!_* The current code 
> can return null if multiple threads race to initialize the field. Here’s how 
> the code should look:
>  
> {code:java}
> // Double-check idiom for lazy initialization of instance fields
> private volatile FieldType field;
>  
> private FieldType getField() {
>    FieldType result = field;
>    if (result != null)    // First check (no locking)
>    return result;
>  
>    synchronized(this){    
>   if (field == null) // Second check (with locking)   
>  field = computeFieldValue();    
>    return field;    
>    }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Assigned] (NETBEANS-5090) JSF CDI bean code created without "implements Serializable"

2021-02-06 Thread Jakub Herkel (Jira)


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

Jakub Herkel reassigned NETBEANS-5090:
--

Assignee: Jakub Herkel

> JSF CDI bean code created without "implements Serializable"
> ---
>
> Key: NETBEANS-5090
> URL: https://issues.apache.org/jira/browse/NETBEANS-5090
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - JSF
>Affects Versions: 12.1
> Environment: Windows / NetBeans 12.1 
>Reporter: Stephen Brooksbank
>Assignee: Jakub Herkel
>Priority: Minor
>
> When using the file  -> new option to create "JSF CDI Bean" for View scope 
> (and others) the bean file gets created without the "implements Serializable" 
> option included on the class name. The deploy subsequently fails if this 
> doesn't get added manually. It would obviously be better if the code was 
> generated correctly.
> The relevent template file does include:
> {{ <#if passivationCapable??>}}
> {{import java.io.Serializable;}}
> {{ }}
> and
> {{public class ${name} <#if passivationCapable??>implements 
> Serializable{}}
> So behind the hood the "passivationCapable" variable is not being correctly 
> set for the CDI scope(s).



--
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-5090) JSF CDI bean code created without "implements Serializable"

2021-02-06 Thread Jakub Herkel (Jira)


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

Jakub Herkel commented on NETBEANS-5090:


copy description from documetation
{code:java}
Annotation Type ViewScoped
Use of this annotation requires that any beans stored in view scope must be 
serializable and proxyable as defined in the CDI specification. 
{code}

> JSF CDI bean code created without "implements Serializable"
> ---
>
> Key: NETBEANS-5090
> URL: https://issues.apache.org/jira/browse/NETBEANS-5090
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - JSF
>Affects Versions: 12.1
> Environment: Windows / NetBeans 12.1 
>Reporter: Stephen Brooksbank
>Priority: Minor
>
> When using the file  -> new option to create "JSF CDI Bean" for View scope 
> (and others) the bean file gets created without the "implements Serializable" 
> option included on the class name. The deploy subsequently fails if this 
> doesn't get added manually. It would obviously be better if the code was 
> generated correctly.
> The relevent template file does include:
> {{ <#if passivationCapable??>}}
> {{import java.io.Serializable;}}
> {{ }}
> and
> {{public class ${name} <#if passivationCapable??>implements 
> Serializable{}}
> So behind the hood the "passivationCapable" variable is not being correctly 
> set for the CDI scope(s).



--
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-5136) double checked locking idiom wrong in inspect and transform

2021-02-06 Thread Carsten Hammer (Jira)


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

Carsten Hammer commented on NETBEANS-5136:
--

See explanation at  
[https://github.com/jbloch/effective-java-3e-source-code/issues/8]

 

> double checked locking idiom wrong in inspect and transform
> ---
>
> Key: NETBEANS-5136
> URL: https://issues.apache.org/jira/browse/NETBEANS-5136
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 12.2
>Reporter: Carsten Hammer
>Priority: Critical
>
> The pattern implemented in 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=248740] seems to be wrong 
> according to 
> [https://docs.google.com/document/d/1mAeEgQu4H4ADxa03k7YaVDjIP5vJBvjVIjg3DIvoc8E/edit]
> The right pattern looks like this:
>  # 334, Second code example. *_This is a serious error!_* The current code 
> can return null if multiple threads race to initialize the field. Here’s how 
> the code should look:
>  
> {code:java}
> // Double-check idiom for lazy initialization of instance fields
> private volatile FieldType field;
>  
> private FieldType getField() {
>    FieldType result = field;
>    if (result != null)    // First check (no locking)
>    return result;
>  
>    synchronized(this){    
>   if (field == null) // Second check (with locking)   
>  field = computeFieldValue();    
>    return field;    
>    }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Commented] (NETBEANS-5136) double checked locking idiom wrong in inspect and transform

2021-02-06 Thread Jan Lahoda (Jira)


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

Jan Lahoda commented on NETBEANS-5136:
--

So, starting with this obviously broken code:
{code:java}
private String init;
public String get() {
if (init == null) {
synchronized (this) {
if (init == null) {
init = "";
}
}
}
return init;
}
{code}
NetBeans will (among others) offer to change it to:
{code:java}
private volatile String init;
public String get() {
String init = this.init;
if (init == null) {
synchronized (this) {
init = this.init;
if (init == null) {
this.init = init = "";
}
}
}
return init;
}

{code}
Sorry, but this is not the same code as shown in the bug you quote.  In the bug 
you quote, the local variable ("result" there) can be left null after the 
synchronized block is finished. But this is not the case here: the local 
variable ("init" here) is always assigned inside the synchronized block. So, 
not clear what is the error here. Please be more precise and describe exactly 
what is wrong. Thanks.

> double checked locking idiom wrong in inspect and transform
> ---
>
> Key: NETBEANS-5136
> URL: https://issues.apache.org/jira/browse/NETBEANS-5136
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 12.2
>Reporter: Carsten Hammer
>Priority: Critical
>
> The pattern implemented in 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=248740] seems to be wrong 
> according to 
> [https://docs.google.com/document/d/1mAeEgQu4H4ADxa03k7YaVDjIP5vJBvjVIjg3DIvoc8E/edit]
> The right pattern looks like this:
>  # 334, Second code example. *_This is a serious error!_* The current code 
> can return null if multiple threads race to initialize the field. Here’s how 
> the code should look:
>  
> {code:java}
> // Double-check idiom for lazy initialization of instance fields
> private volatile FieldType field;
>  
> private FieldType getField() {
>    FieldType result = field;
>    if (result != null)    // First check (no locking)
>    return result;
>  
>    synchronized(this){    
>   if (field == null) // Second check (with locking)   
>  field = computeFieldValue();    
>    return field;    
>    }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4637) Update PHP Code Templates

2021-02-06 Thread ASF GitHub Bot (Jira)


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

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

> Update PHP Code Templates
> -
>
> Key: NETBEANS-4637
> URL: https://issues.apache.org/jira/browse/NETBEANS-4637
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.0
>Reporter: Los Vitaly
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> For *while* loop Netbeans give obsolete auto suggestion related for mysql 
> function 
> There are my_fa, my-fo, my_fr abbreviation in PHP Code Templates that should 
> be deleted 



--
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-4637) Update PHP Code Templates

2021-02-06 Thread Jira


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

Tomáš Procházka commented on NETBEANS-4637:
---

[~junichi11] I prepared the patch. I hope it's OK with you.

> Update PHP Code Templates
> -
>
> Key: NETBEANS-4637
> URL: https://issues.apache.org/jira/browse/NETBEANS-4637
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.0
>Reporter: Los Vitaly
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> For *while* loop Netbeans give obsolete auto suggestion related for mysql 
> function 
> There are my_fa, my-fo, my_fr abbreviation in PHP Code Templates that should 
> be deleted 



--
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-4637) Update PHP Code Templates

2021-02-06 Thread Jira


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

Tomáš Procházka reassigned NETBEANS-4637:
-

Assignee: Tomáš Procházka  (was: Junichi Yamamoto)

> Update PHP Code Templates
> -
>
> Key: NETBEANS-4637
> URL: https://issues.apache.org/jira/browse/NETBEANS-4637
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 12.0
>Reporter: Los Vitaly
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> For *while* loop Netbeans give obsolete auto suggestion related for mysql 
> function 
> There are my_fa, my-fo, my_fr abbreviation in PHP Code Templates that should 
> be deleted 



--
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] [Closed] (NETBEANS-4710) Small improvement for and attribute

2021-02-06 Thread Jira


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

Tomáš Procházka closed NETBEANS-4710.
-
Fix Version/s: 12.1
   Resolution: Implemented

Both templates were added in NETBEANS-4576.

> Small improvement for  and  attribute
> ---
>
> Key: NETBEANS-4710
> URL: https://issues.apache.org/jira/browse/NETBEANS-4710
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 12.0
>Reporter: Los Vitaly
>Priority: Trivial
> Fix For: 12.1
>
>
> Just my thoughts, it more better in template
> 1)
> 
> 
> Add default text as most used, and add attribute id
> 2)
> text
> text
> But new template is really cool now, thanks
>  



--
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] [Closed] (NETBEANS-4649) Codetemplate in Plain php-html

2021-02-06 Thread Jira


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

Tomáš Procházka closed NETBEANS-4649.
-
Fix Version/s: (was: 11.3)
   (was: 12.0)
   12.1
   Resolution: Fixed

Tested and it works for me.

> Codetemplate  in Plain php-html 
> 
>
> Key: NETBEANS-4649
> URL: https://issues.apache.org/jira/browse/NETBEANS-4649
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion & Templates, php - Code, web - 
> HTML Editor
>Reporter: flexJoly
>Priority: Major
> Fix For: 12.1
>
> Attachments: OrderList_demo.tpl.php, 
> image-2020-07-28-15-33-13-351.png, image-2020-07-28-15-36-26-205.png, 
> image-2020-07-28-15-39-01-238.png, netbeans-4649-cc.png, 
> netbeans-4649-codetemplates-html-options.png
>
>
> We normally use Smarty. But we are exploring of having our own template 
> engine (togeter with smarty for now)
> So I made a file: *orderlist.tpl.php* (see in attachments)
> I tried to make a code-template: for '' .
> As suggested in: 
> [https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html]
> !image-2020-07-28-15-33-13-351.png|width=449,height=383!
> I tried to put it in: php, html, plain text etc., with/without context etc
>  Should be easy and it is. But really it WON'T show up in the code.
> Typing 'pe' and ctrl-space >>> no suggestions
> !image-2020-07-28-15-36-26-205.png|width=464,height=417!
>  
> I tried .phtml and other extensions for the file (like: orderlist.phtml). 
> Tried to change the file-type in the options to: text/x-php, html, template 
> etc
>  I cannot get this to work
> In utter desperation I made my first macro in netbeans (never needed it 
> before) and that works very nice (should have done this before :D) but every 
> macro needs an shorcut to work. pppfff
>  
>  
> How to get the codetemplate '' show up in a php/html file ??
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Assigned] (NETBEANS-4587) Autosuggestion for HTML methods

2021-02-06 Thread Jira


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

Tomáš Procházka reassigned NETBEANS-4587:
-

Assignee: Tomáš Procházka

> Autosuggestion for HTML methods
> ---
>
> Key: NETBEANS-4587
> URL: https://issues.apache.org/jira/browse/NETBEANS-4587
> Project: NetBeans
>  Issue Type: Improvement
>  Components: web - HTML Editor
>Affects Versions: 12.0
>Reporter: Los Vitaly
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
> Attachments: method.gif
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The two most common HTTP methods are: GET and POST.  Can its be added for 
> autosuggestion in  tag? It just one more small convenience for web 
> developers .
> I made GIF for better understanding 



--
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-4436) Format Code in HTML script block may fail when the type attribute value is "text/html"

2021-02-06 Thread Jira


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

Tomáš Procházka updated NETBEANS-4436:
--
Affects Version/s: 12.3

> Format Code in HTML script block may fail when the type attribute value is 
> "text/html"
> --
>
> Key: NETBEANS-4436
> URL: https://issues.apache.org/jira/browse/NETBEANS-4436
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting & Indentation, web - HTML Editor
>Affects Versions: 12.0, 11.3, 12.3
>Reporter: KoKo
>Priority: Major
> Attachments: image-2020-06-13-02-53-43-819.png
>
>
> Take this HTML code below for example:
> {code:java}
> 
> 
  • >
    > > > >
    >
    >
    >
  • > {code} > If I paste this code into a HTML file, and save the file or format the file: > The code indentation is bad. > !image-2020-06-13-02-53-43-819.png! -- 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-5136) double checked locking idiom wrong in inspect and transform

    2021-02-06 Thread Carsten Hammer (Jira)
    
    
    [ 
    https://issues.apache.org/jira/browse/NETBEANS-5136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280303#comment-17280303
     ] 
    
    Carsten Hammer commented on NETBEANS-5136:
    --
    
    Hi Jan,
    
    the code that works according to the github bug description looks like this:
    
    {code:java}
    private volatile String init;
    public String get() {
    String init= this.init;
    if (init == null) { // First check (no locking)
    synchronized (this) {
    if (this.init == null) // Second check (with locking)
    this.init = init= computeFieldValue();
    else
    init= this.init;
    }
    }
    return init;
    }
    {code}
    
    So the difference is 
    
    {code:java}
    init = this.init;
    if (init == null) {
    this.init = init = "";
    }
    {code}
    
    vs
    
    {code:java}
    if (this.init == null) // Second check (with locking)
    this.init = init= computeFieldValue();
    else
    init= this.init;
    {code}
    
    within the synchronized section. Is this the same?
    It doesn't look like it is the same. But maybe similar enough and in the end 
    the netbeans variant is identical to the older code from Joshua Bloch published 
    at
    https://www.oracle.com/technical-resources/articles/javase/bloch-effective-08-qa.html
    that seems to be fine too.
    
    So - apologies - your code seems to be ok!
    
    I close this now. 
    As a sidenote I still prefer the variant in the description of this issue but 
    of course this is a matter of personal preference.
    
    
    
    
    > double checked locking idiom wrong in inspect and transform
    > ---
    >
    > Key: NETBEANS-5136
    > URL: https://issues.apache.org/jira/browse/NETBEANS-5136
    > Project: NetBeans
    >  Issue Type: Bug
    >  Components: java - Refactoring
    >Affects Versions: 12.2
    >Reporter: Carsten Hammer
    >Priority: Critical
    >
    > The pattern implemented in 
    > [https://bz.apache.org/netbeans/show_bug.cgi?id=248740] seems to be wrong 
    > according to 
    > [https://docs.google.com/document/d/1mAeEgQu4H4ADxa03k7YaVDjIP5vJBvjVIjg3DIvoc8E/edit]
    > The right pattern looks like this:
    >  # 334, Second code example. *_This is a serious error!_* The current code 
    > can return null if multiple threads race to initialize the field. Here’s how 
    > the code should look:
    >  
    > {code:java}
    > // Double-check idiom for lazy initialization of instance fields
    > private volatile FieldType field;
    >  
    > private FieldType getField() {
    >    FieldType result = field;
    >    if (result != null)    // First check (no locking)
    >    return result;
    >  
    >    synchronized(this){    
    >   if (field == null) // Second check (with locking)   
    >  field = computeFieldValue();    
    >    return field;    
    >    }
    > }
    > {code}
    
    
    
    --
    This message was sent by Atlassian Jira
    (v8.3.4#803005)
    
    -
    To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
    For additional commands, e-mail: commits-h...@netbeans.apache.org
    
    For further information about the NetBeans mailing lists, visit:
    https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
    
    
    

    [jira] [Commented] (NETBEANS-4436) Format Code in HTML script block may fail when the type attribute value is "text/html"

    2021-02-06 Thread Jira
    
    
    [ 
    https://issues.apache.org/jira/browse/NETBEANS-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280302#comment-17280302
     ] 
    
    Tomáš Procházka commented on NETBEANS-4436:
    ---
    
    Reproducible also in NetBeans 12.3 beta2.
    
    Ending {{}} should be indented by one more space and also whole 
    content of {{}} too.
    
    Thank you for the report.
    
    > Format Code in HTML script block may fail when the type attribute value is 
    > "text/html"
    > --
    >
    > Key: NETBEANS-4436
    > URL: https://issues.apache.org/jira/browse/NETBEANS-4436
    > Project: NetBeans
    >  Issue Type: Bug
    >  Components: editor - Formatting & Indentation, web - HTML Editor
    >Affects Versions: 12.0, 11.3, 12.3
    >Reporter: KoKo
    >Priority: Major
    > Attachments: image-2020-06-13-02-53-43-819.png
    >
    >
    > Take this HTML code below for example:
    > {code:java}
    >