[jira] [Commented] (NETBEANS-4302) Netbeans 11.3 AND Java 14 Windows-10 64-bit

2020-05-02 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4302:
-

As stated on the Download page, the installer for 11.3 does not support JDK 14. 
Use a different JDK to install 11.3 and after installation, you can run and use 
JDK 14 with 11.3.

> Netbeans 11.3 AND Java 14 Windows-10 64-bit
> ---
>
> Key: NETBEANS-4302
> URL: https://issues.apache.org/jira/browse/NETBEANS-4302
> Project: NetBeans
>  Issue Type: Bug
> Environment: Windows-10 Pro x64
>Reporter: Michael J Reeves
>Priority: Critical
>  Labels: 14, Java, Windows-10, compatibility, x64
>
> According to latest documentation, Netbeans 11.3 is compatible  with Java 14. 
>  Both versions are 64-bit.
> The installation program for Java 14 completed.
> The installation program for Netbeans 11.3 cannot recognize the installation.
> Are there solutions for this problem?
>  
> Am I forced to continue using 32-bit versions?



--
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-4276) hint: ClassCastException: JCMethodInvocation not cast to StatementTree

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael resolved NETBEANS-4276.
--
Resolution: Invalid

Add semicolon to  and  and it works.

> hint: ClassCastException: JCMethodInvocation not cast to StatementTree 
> ---
>
> Key: NETBEANS-4276
> URL: https://issues.apache.org/jira/browse/NETBEANS-4276
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: repo build with commits as of 4/28; jdk14.0.1; win7
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Minor
> Attachments: RefactorReflect.zip, messages.log
>
>
> Attached a simple single java file project that causes the problem. 
> message.log with Exception also attached. Probably comes down to these lines:
> {code:java}
>   Field f = OptUtil1.class.getDeclaredField("baz");
>   f.setInt(null, 123);
> {code}
> Using a custom hint; issue2.hint is in the project at top level. Fails both 
> with clicking on bulb and inspect&transform.
> Those two lines above, reflection, have nothing to do with it. Delete them, 
> leave only the two lines that match the hint. Exception still happens.



--
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-4276) hint: ClassCastException: JCMethodInvocation not cast to StatementTree

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4276:
-
Priority: Minor  (was: Major)

> hint: ClassCastException: JCMethodInvocation not cast to StatementTree 
> ---
>
> Key: NETBEANS-4276
> URL: https://issues.apache.org/jira/browse/NETBEANS-4276
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: repo build with commits as of 4/28; jdk14.0.1; win7
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Minor
> Attachments: RefactorReflect.zip, messages.log
>
>
> Attached a simple single java file project that causes the problem. 
> message.log with Exception also attached. Probably comes down to these lines:
> {code:java}
>   Field f = OptUtil1.class.getDeclaredField("baz");
>   f.setInt(null, 123);
> {code}
> Using a custom hint; issue2.hint is in the project at top level. Fails both 
> with clicking on bulb and inspect&transform.
> Those two lines above, reflection, have nothing to do with it. Delete them, 
> leave only the two lines that match the hint. Exception still happens.



--
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-2446) New project wizard with wrong project location

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-2446.

Resolution: Fixed

Works with pre 12.0 repo

{noformat}
changeset:   4228:03cf67e46d05
tag: upstream/master
date:Thu Apr 30 18:33:23 2020 +0200
{noformat}


> New project wizard with wrong project location
> --
>
> Key: NETBEANS-2446
> URL: https://issues.apache.org/jira/browse/NETBEANS-2446
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 11.0
>Reporter: James Z
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> New Project wizard has bug, it used wrong Project Location, and when navigate 
> with 'Next >', '< Back', the project location will become longer and longer. 
> It also create lots of directories.
> Such as: ~/NetBeansProjects/mavenproject1/mavenproject1/mavenproject1/.../...



--
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-4152) Constant exceptions while editting

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-4152:
--

and running jdk14

> Constant exceptions while editting
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,12.0beta3,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: 12b3-NB13-NO-messages.log, NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{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] [Closed] (NETBEANS-4083) Exception creating NewProject JavaWithMaven

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-4083.

Resolution: Fixed

works with repo
{noformat}
o  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  user:Benjamin Graf 
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}

> Exception creating NewProject JavaWithMaven
> ---
>
> Key: NETBEANS-4083
> URL: https://issues.apache.org/jira/browse/NETBEANS-4083
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Assignee: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>
> Dialog has incomplete validation for "Project Folder:". Also incomplete 
> validation for "Package:". These problems affect several new project types
> To reproduce "Project Folder:" problem
>  # touch /tmp/xxx # create some random file
>  # NewProject > JavaWithMaven > JavaApplication
>  # Enter "Project Location:" as "/tmp"
>  # Enter "Project Name:" as "xx
>  # click Finish
> Observe exception (last few lines)
> {code:java}
> java.lang.IllegalArgumentException: Attempted to pass a non-directory to 
> findProject: F:\tmp\xx@6b3ef9bc:3669eed1
>   at 
> org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:140)
> [catch] at 
> org.netbeans.modules.maven.newproject.ArchetypeWizardUtils.processProjectFolder(ArchetypeWizardUtils.java:208)
> {code}
> To reproduce "Package:" problem (several ways)
>  # NewProject > JavaWithMaven > JavaApplication
>  # Enter "Project Name:" as "xx-yy-8", notice that "Package:" has a trailing 
> dot
>  # click Finish
> Project is created with invalid package name.



--
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-4206) Maven Create New Module action uses wrong location

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-4206.

Resolution: Fixed

works with repo
{noformat}
o  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  user:Benjamin Graf 
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}

> Maven Create New Module action uses wrong location
> --
>
> Key: NETBEANS-4206
> URL: https://issues.apache.org/jira/browse/NETBEANS-4206
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 12.0
>Reporter: Neil C Smith
>Assignee: Ernie Rael
>Priority: Major
> Fix For: 12.0
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> The fix for #2446 seems to result in the Create New Module action inside a 
> parent Maven project creating the project in the wrong place.
> See use of CommonProjectActions.PROJECT_PARENT_FOLDER in 
> [https://github.com/apache/netbeans/blob/master/java/maven/src/org/netbeans/modules/maven/nodes/ModulesNode.java#L334]



--
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-4152) Constant exceptions while editting

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-4152.

Resolution: Fixed

works with repo
{noformat}
o  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  user:Benjamin Graf 
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}

> Constant exceptions while editting
> --
>
> Key: NETBEANS-4152
> URL: https://issues.apache.org/jira/browse/NETBEANS-4152
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
> Environment: Win7,12.0beta3,jdk-13
>Reporter: Ernie Rael
>Assignee: Jan Lahoda
>Priority: Major
> Attachments: 12b3-NB13-NO-messages.log, NB13-NO-messages.log
>
>
> Built the repo with latest commits (see below). Empty Cachedir. No nb-javac. 
> IDE running on jdk-13. Attached log is after startup, no keystrokes. Might be 
> related to NETBEANS-4146 since similar stack. Any edits brings up dialog 
> (after short pause)
> {code:java}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2091)
> {code}
> At startup open project with file:
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> {code:java}
> @ changeset: 4145:d6a5ef54df74
> | bookmark: FixTermStartup
> | tag: tip
> | user: Ernie Rael 
> | date: Fri Apr 10 04:46:35 2020 +0100
> | summary: [NETBEANS-4143] Dont quote args in common case; fixes terminal 
> startup in cygwin.
> |
> o changeset: 4144:2f8e25e43d06
> | tag: upstream/master
> | user: Laszlo Kishalmi 
> | date: Sun Apr 05 12:37:42 2020 -0700
> | summary: [NETBEANS-4118] Moved Gradle Tooling into it's own module and to 
> version 6.3
> |
> o changeset: 4143:062d22019b93
> |\ parent: 4139:da89e72d
> | | parent: 4142:5b30fd7dd99f
> | | user: Eric Barboni 
> | | date: Fri Apr 10 11:18:14 2020 +0200
> | | summary: Merge pull request #2060 from DevCharly/flatlaf-0.29
> | |
> ...
> |
> o changeset: 4139:da89e72d
> |\ parent: 4124:6066a52b01ff
> | | parent: 4138:400df9905951
> | | user: Eric Barboni 
> | | date: Thu Apr 09 15:14:08 2020 +0200
> | | summary: Merge pull request #2013 from 
> jlahoda/fix-refactoring-vanilla-javac
> | |{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] [Closed] (NETBEANS-4143) "Tools > Open in Terminal" fails with cygwin

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-4143.

Resolution: Fixed

Works with repo
{noformat}
o  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  user:Benjamin Graf 
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}

> "Tools > Open in Terminal" fails with cygwin
> 
>
> Key: NETBEANS-4143
> URL: https://issues.apache.org/jira/browse/NETBEANS-4143
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Terminalemulator
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty 
> process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; 
> args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec 
> /cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program 
> "F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded 
> quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"
> This is NOT related to NETBEANS-3254 (AFAICT); I tried setting those 
> properties.
> Ran into this, following a youtube video posted last week.



--
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-4174) Custom hint not getting badge

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael closed NETBEANS-4174.

Resolution: Fixed

Closing. Works with current repo running jdk14.

{noformat}
o  changeset:   4228:03cf67e46d05
|  tag: upstream/master
|  user:Benjamin Graf 
|  date:Thu Apr 30 18:33:23 2020 +0200
{noformat}


> Custom hint not getting badge
> -
>
> Key: NETBEANS-4174
> URL: https://issues.apache.org/jira/browse/NETBEANS-4174
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints & Annotations, java - Hints
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>
> Custom hint, options show it as "WARNING", but no badges. Regression from 
> 11.3.
> "Refactor > Inspect&Transform" work with it.
> Given this file
> {code:java}
> package play;
> import javax.swing.text.Segment;
> public class NewClass
> {
> void t(Segment s, int col)
> {
> char c;
> c = s.array[col + s.offset];
> c = s.array[s.offset + col];
> }
> }
> {code}
> and in userdir/config/rules
> {code:java}
> 
> $seg.array[$val + $seg.offset]
> ::
> $seg instanceof javax.swing.text.Segment
> =>
> $seg.charAt($val)
> ;;
> $seg.array[$seg.offset + $val]
> ::
> $seg instanceof javax.swing.text.Segment
> =>
> $seg.charAt($val)
> ;;
> {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] [Created] (NETBEANS-4302) Netbeans 11.3 AND Java 14 Windows-10 64-bit

2020-05-02 Thread Michael J Reeves (Jira)
Michael J Reeves created NETBEANS-4302:
--

 Summary: Netbeans 11.3 AND Java 14 Windows-10 64-bit
 Key: NETBEANS-4302
 URL: https://issues.apache.org/jira/browse/NETBEANS-4302
 Project: NetBeans
  Issue Type: Bug
 Environment: Windows-10 Pro x64
Reporter: Michael J Reeves


According to latest documentation, Netbeans 11.3 is compatible  with Java 14.  
Both versions are 64-bit.

The installation program for Java 14 completed.

The installation program for Netbeans 11.3 cannot recognize the installation.

Are there solutions for this problem?

 

Am I forced to continue using 32-bit versions?



--
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-4299) hint "Use @NbBundle.Messages" causes casual diff error; corrupts .java file

2020-05-02 Thread Ernie Rael (Jira)


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

Ernie Rael updated NETBEANS-4299:
-
Labels: pull-request-available regression  (was: regression)

> hint "Use @NbBundle.Messages" causes casual diff error; corrupts .java file
> ---
>
> Key: NETBEANS-4299
> URL: https://issues.apache.org/jira/browse/NETBEANS-4299
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available, regression
> Fix For: 12.0
>
> Attachments: CasualDiff.messages.log, OptionsPlayHackCasualDiff.zip
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> In addition to the CasualDiff exception (see attached log), in the java file 
> a chunk of source gets copied to the fix location.
> Attached tiny project that reproduces the problem.
>  # in Menu > Tools > Options > Editor > Hints > NetBeansDevelopment
>  enable "Use @NbBundle.Messages" hint
>  # unzip sources; open OptionsPlayHackCasualDiff in IDE
>  # open file OptionsPlayHackOptionsPanelController.java
>  # go to the line with hint,
> {noformat}
>   keywords = "#OptionsCategory_Keywords_OptionsPlayHack",
> {noformat}
> and accept the hint "Use NbBundle.Message"
> Observe:
> CasualDiff generated, source file messed up.



--
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-3973) Code auto formatting for lambda arrows

2020-05-02 Thread Michel Graciano (Jira)


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

Michel Graciano commented on NETBEANS-3973:
---

It was a regression of issue NETBEANS-3204. I am still investigating how to fix 
it.

> Code auto formatting for lambda arrows
> --
>
> Key: NETBEANS-3973
> URL: https://issues.apache.org/jira/browse/NETBEANS-3973
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: Arch Linux and the included "jdk11-openjdk" package, 
> official NB 11.3 bin download
>Reporter: Bernd Michaely
>Priority: Major
> Attachments: image-2020-05-02-17-52-49-898.png
>
>
> Since NB 11.3, code auto formatting for lambda errors is broken. NB adds an 
> additional space before the lambda arrow. To reproduce the problem choose
> Menu Tools -> Options -> Editor -> Formatting ->
> Language: Java
> Category: Wrapping ->
> - "Lambda Arrow" : Never
> - Check "Wrap After Lambda Arrow"
> Category: Spaces -> Around Operators
> -> "Lambda Arrow" unchecked:
> {{11.2: BinaryOperator plus = (a, b)->a+b;}}
> {{11.3: BinaryOperator plus = (a, b)_->a+b;}}{{}}
> -> or "Lambda Arrow" checked:
> {{11.2: BinaryOperator plus = (a, b) -> a+b;}}
> {{11.2: BinaryOperator plus = (a, b)_ -> a+b;}}{{}}
> ... the underscore chars indicating the additional space char.
> Note, that the additional space only appears, if "Wrap After Lambda Arrow" is 
> checked.
> (This problem causes a lot of noise in Diff and VCS for existing code, so 
> this is pretty annoying and currently prevents me from upgrading to NB 11.3)
>  



--
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-3973) Code auto formatting for lambda arrows

2020-05-02 Thread Michel Graciano (Jira)


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

Michel Graciano commented on NETBEANS-3973:
---

I am investigating this issue and just found a workaround. If you disable 'Wrap 
After Lambda Arrow' it works as expected.

 

!image-2020-05-02-17-52-49-898.png!

> Code auto formatting for lambda arrows
> --
>
> Key: NETBEANS-3973
> URL: https://issues.apache.org/jira/browse/NETBEANS-3973
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: Arch Linux and the included "jdk11-openjdk" package, 
> official NB 11.3 bin download
>Reporter: Bernd Michaely
>Priority: Major
> Attachments: image-2020-05-02-17-52-49-898.png
>
>
> Since NB 11.3, code auto formatting for lambda errors is broken. NB adds an 
> additional space before the lambda arrow. To reproduce the problem choose
> Menu Tools -> Options -> Editor -> Formatting ->
> Language: Java
> Category: Wrapping ->
> - "Lambda Arrow" : Never
> - Check "Wrap After Lambda Arrow"
> Category: Spaces -> Around Operators
> -> "Lambda Arrow" unchecked:
> {{11.2: BinaryOperator plus = (a, b)->a+b;}}
> {{11.3: BinaryOperator plus = (a, b)_->a+b;}}{{}}
> -> or "Lambda Arrow" checked:
> {{11.2: BinaryOperator plus = (a, b) -> a+b;}}
> {{11.2: BinaryOperator plus = (a, b)_ -> a+b;}}{{}}
> ... the underscore chars indicating the additional space char.
> Note, that the additional space only appears, if "Wrap After Lambda Arrow" is 
> checked.
> (This problem causes a lot of noise in Diff and VCS for existing code, so 
> this is pretty annoying and currently prevents me from upgrading to NB 11.3)
>  



--
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-3973) Code auto formatting for lambda arrows

2020-05-02 Thread Michel Graciano (Jira)


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

Michel Graciano updated NETBEANS-3973:
--
Attachment: image-2020-05-02-17-52-49-898.png

> Code auto formatting for lambda arrows
> --
>
> Key: NETBEANS-3973
> URL: https://issues.apache.org/jira/browse/NETBEANS-3973
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: Arch Linux and the included "jdk11-openjdk" package, 
> official NB 11.3 bin download
>Reporter: Bernd Michaely
>Priority: Major
> Attachments: image-2020-05-02-17-52-49-898.png
>
>
> Since NB 11.3, code auto formatting for lambda errors is broken. NB adds an 
> additional space before the lambda arrow. To reproduce the problem choose
> Menu Tools -> Options -> Editor -> Formatting ->
> Language: Java
> Category: Wrapping ->
> - "Lambda Arrow" : Never
> - Check "Wrap After Lambda Arrow"
> Category: Spaces -> Around Operators
> -> "Lambda Arrow" unchecked:
> {{11.2: BinaryOperator plus = (a, b)->a+b;}}
> {{11.3: BinaryOperator plus = (a, b)_->a+b;}}{{}}
> -> or "Lambda Arrow" checked:
> {{11.2: BinaryOperator plus = (a, b) -> a+b;}}
> {{11.2: BinaryOperator plus = (a, b)_ -> a+b;}}{{}}
> ... the underscore chars indicating the additional space char.
> Note, that the additional space only appears, if "Wrap After Lambda Arrow" is 
> checked.
> (This problem causes a lot of noise in Diff and VCS for existing code, so 
> this is pretty annoying and currently prevents me from upgrading to NB 11.3)
>  



--
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-4182) Make it possible to save all files when switching to Terminal

2020-05-02 Thread Michel Graciano (Jira)


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

Michel Graciano closed NETBEANS-4182.
-
Resolution: Duplicate

> Make it possible to save all files when switching to Terminal
> -
>
> Key: NETBEANS-4182
> URL: https://issues.apache.org/jira/browse/NETBEANS-4182
> Project: NetBeans
>  Issue Type: Improvement
>  Components: cnd - Terminalemulator
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> It would be good to have an option which can enable save all files when the 
> focus is switched to a terminal window.



--
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-3413) PHPDoc - implicit description inheritance

2020-05-02 Thread Jira


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

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

[~naitsirch] I tried your code in NetBeans 11.3 and see method description. I 
don't know what can be problem with your NetBeans.

!image-2020-05-02-19-28-14-866.png!


> PHPDoc - implicit description inheritance
> -
>
> Key: NETBEANS-3413
> URL: https://issues.apache.org/jira/browse/NETBEANS-3413
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 11.2
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
> Attachments: image-2020-04-02-10-21-00-087.png, 
> image-2020-05-02-19-28-14-866.png
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Currently NetBeans IDE supports inheritance of docblocks containing 
> @inheritdoc annotation.
> It would be useful if docblocks are inherited even in case when there is no 
> docblock present.
> Example:
> {code:java}
> class Circle {
> /**
>  * Hides circle
>  */
> public function hide() {
> }
> /**
>  * Shows circle
>  */
> public function show() {
> }
> }
> class SpecialCircle extends Circle {
> /**
>  * {@inheritdoc}
>  */
> public function hide() {
> parent::hide();
> }
> public function show() {
> parent::show();
> }
> public function redraw() {
> $this->hide(); // Text "Hides circle" is shown
> $this->show(); // Text "PHPDoc not found" is shown, expected "Shows 
> circle"
> }
> }
> {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] [Closed] (NETBEANSINFRA-188) Fix slow copies of module jar files

2020-05-02 Thread Jean-Marc Borer (Jira)


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

Jean-Marc Borer closed NETBEANSINFRA-188.
-

Successful build on Jenkins

> Fix slow copies of module jar files
> ---
>
> Key: NETBEANSINFRA-188
> URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-188
> Project: Apache NetBeans Infra
>  Issue Type: Improvement
>  Components: MU - Apache NetBeans NBM maven plugin
>Reporter: Jean-Marc Borer
>Assignee: Jean-Marc Borer
>Priority: Minor
>  Labels: pull-request-available
> Fix For: NBM Maven Plugin 4.6
>
>




--
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-3413) PHPDoc - implicit description inheritance

2020-05-02 Thread Jira


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

Tomáš Procházka updated NETBEANS-3413:
--
Attachment: image-2020-05-02-19-28-14-866.png

> PHPDoc - implicit description inheritance
> -
>
> Key: NETBEANS-3413
> URL: https://issues.apache.org/jira/browse/NETBEANS-3413
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 11.2
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
> Attachments: image-2020-04-02-10-21-00-087.png, 
> image-2020-05-02-19-28-14-866.png
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Currently NetBeans IDE supports inheritance of docblocks containing 
> @inheritdoc annotation.
> It would be useful if docblocks are inherited even in case when there is no 
> docblock present.
> Example:
> {code:java}
> class Circle {
> /**
>  * Hides circle
>  */
> public function hide() {
> }
> /**
>  * Shows circle
>  */
> public function show() {
> }
> }
> class SpecialCircle extends Circle {
> /**
>  * {@inheritdoc}
>  */
> public function hide() {
> parent::hide();
> }
> public function show() {
> parent::show();
> }
> public function redraw() {
> $this->hide(); // Text "Hides circle" is shown
> $this->show(); // Text "PHPDoc not found" is shown, expected "Shows 
> circle"
> }
> }
> {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] [Resolved] (NETBEANSINFRA-188) Fix slow copies of module jar files

2020-05-02 Thread Jean-Marc Borer (Jira)


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

Jean-Marc Borer resolved NETBEANSINFRA-188.
---
Resolution: Fixed

Merged PR: 
https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/commit/56ef3d3d69a057bc6528806127043d322b832170

> Fix slow copies of module jar files
> ---
>
> Key: NETBEANSINFRA-188
> URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-188
> Project: Apache NetBeans Infra
>  Issue Type: Improvement
>  Components: MU - Apache NetBeans NBM maven plugin
>Reporter: Jean-Marc Borer
>Assignee: Jean-Marc Borer
>Priority: Minor
>  Labels: pull-request-available
> Fix For: NBM Maven Plugin 4.6
>
>




--
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-mavenutils-nbm-maven-plugin] branch master updated (382210f -> 56ef3d3)

2020-05-02 Thread jmborer
This is an automated email from the ASF dual-hosted git repository.

jmborer pushed a change to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-plugin.git.


from 382210f  Merge pull request #9 from javawerks/bug-NETBEANSINFRA-187
 new c5930d5  Fix slow copies of module jar files
 new 81b2da9  Merge branch 'master' into fix_slow_copy
 new 56ef3d3  Merge pull request #8 from codingfred/fix_slow_copy

The 1265 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:
 .../netbeans/nbm/CreateNetBeansFileStructure.java  | 89 +-
 1 file changed, 36 insertions(+), 53 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-4301) Multiline string literals show with wrong background colour when using dark LAF

2020-05-02 Thread Scott Palmer (Jira)
Scott Palmer created NETBEANS-4301:
--

 Summary: Multiline string literals show with wrong background 
colour when using dark LAF
 Key: NETBEANS-4301
 URL: https://issues.apache.org/jira/browse/NETBEANS-4301
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor
Affects Versions: 11.3
 Environment: Windows 10 Pro
Java 14.0.1
Reporter: Scott Palmer


Using the new multiline strings literals in JDK-14 with a dark look and feel 
like either "Dark Nimbis" or "FlatLaf Dark" on Windows 10, the text in the 
multiline string has a white background.



--
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-4177) IOOBE when editing Java file with temporarily missing comma in method parameter list

2020-05-02 Thread Eirik Bakke (Jira)


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

Eirik Bakke updated NETBEANS-4177:
--
Description: 
If, during editing, a comma is momentarily deleted in the parameter list of a 
method (in certain cases), an error dialog shows up showing an 
IndexOutOfBoundsException in 
SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint. A minimized 
example exhibiting this behavior is as follows:

{code:java}
public class BugSemanticHighlighterBase {
  private Object testMethod(final String arg1 final String arg2) {
return new String("");
  }
}
{code}

This example causes the IDE to throw the following exception:

{noformat}
java.lang.IndexOutOfBoundsException: -1
at com.sun.tools.javac.util.List.get(List.java:482)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint(SemanticHighlighterBase.java:1241)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:1180)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:424)
at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2410)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:1085)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:424)
at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1820)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:495)
at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1663)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1048)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:1124)
at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:424)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:822)
at com.sun.source.util.TreePathScanne

[netbeans] branch commit_validation created (now 1c9ebd4)

2020-05-02 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

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


  at 1c9ebd4  Commit author validation

This branch includes the following new commits:

 new 1c9ebd4  Commit author validation

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

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



[netbeans] 01/01: Commit author validation

2020-05-02 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

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

commit 1c9ebd40435083e79375ed580c4425b5f2b50a9d
Author: Hector Espert 
AuthorDate: Sat May 2 17:05:38 2020 +0200

Commit author validation

Proposal of commit author validation using a GitHub action
---
 .github/workflows/commits.yml | 19 +++
 1 file changed, 19 insertions(+)

diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml
new file mode 100644
index 000..890afda
--- /dev/null
+++ b/.github/workflows/commits.yml
@@ -0,0 +1,19 @@
+name: Check commits
+on:
+  push:
+  pull_request:
+
+jobs:
+  check:
+name: Verify commits
+runs-on: ubuntu-latest
+steps:
+- name: Check author name and email
+  uses: hectorespert/check-commit-author-action@1.0.0
+  with:
+# The GITHUB_TOKEN secret
+repo-token: ${{ secrets.GITHUB_TOKEN }}
+# Fails on commits using Github private email address, like 
netbe...@users.noreply.github.com
+allow_private_email: false
+# Author name should be match this regex
+allow_name_regex: '^[A-Z]' # TODO: Improve regex


-
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 (0347bdc -> 6a82cfb)

2020-05-02 Thread jlahoda
This is an automated email from the ASF dual-hosted git repository.

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


from 0347bdc  Merge pull request #2115 from 
neilcsmith-net/mrj-missing-resources
 add 6a82cfb  Do not suggest to install nb-javac on JDK 14+

No new revisions were added by this update.

Summary of changes:
 .../modules/java/j2semodule/ui/customizer/Bundle.properties  |  2 +-
 .../modules/java/j2seproject/ui/customizer/Bundle.properties |  2 +-
 .../src/org/netbeans/modules/java/source/JBrowseModule.java  | 12 +++-
 .../org/netbeans/modules/maven/customizer/Bundle.properties  |  2 +-
 .../src/org/netbeans/modules/nbjavac/Bundle.properties   |  4 
 5 files changed, 18 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] [Commented] (NETBEANS-3413) PHPDoc - implicit description inheritance

2020-05-02 Thread Christian Naitsirch (Jira)


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

Christian Naitsirch commented on NETBEANS-3413:
---

[~Kacer], where do you see it is working? The description of the method 
"Creates the form used to edit an entity." is not inherited.

> PHPDoc - implicit description inheritance
> -
>
> Key: NETBEANS-3413
> URL: https://issues.apache.org/jira/browse/NETBEANS-3413
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 11.2
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
> Attachments: image-2020-04-02-10-21-00-087.png
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently NetBeans IDE supports inheritance of docblocks containing 
> @inheritdoc annotation.
> It would be useful if docblocks are inherited even in case when there is no 
> docblock present.
> Example:
> {code:java}
> class Circle {
> /**
>  * Hides circle
>  */
> public function hide() {
> }
> /**
>  * Shows circle
>  */
> public function show() {
> }
> }
> class SpecialCircle extends Circle {
> /**
>  * {@inheritdoc}
>  */
> public function hide() {
> parent::hide();
> }
> public function show() {
> parent::show();
> }
> public function redraw() {
> $this->hide(); // Text "Hides circle" is shown
> $this->show(); // Text "PHPDoc not found" is shown, expected "Shows 
> circle"
> }
> }
> {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] [Created] (NETBEANS-4300) Typo in "default platform" value for Maven property netbeans.hint.jdkPlatform

2020-05-02 Thread Anthony Vanelverdinghe (Jira)
Anthony Vanelverdinghe created NETBEANS-4300:


 Summary: Typo in "default platform" value for Maven property 
netbeans.hint.jdkPlatform
 Key: NETBEANS-4300
 URL: https://issues.apache.org/jira/browse/NETBEANS-4300
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: Next
Reporter: Anthony Vanelverdinghe
Assignee: Anthony Vanelverdinghe






--
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-2082) Scroll to the caret position when code fold feature is run

2020-05-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-2082:


[~skygo] [~geertjan] This may be a blocker for NetBeans 12.0 because 12.0 is 
LTS and this is regression.

> Scroll to the caret position when code fold feature is run
> --
>
> Key: NETBEANS-2082
> URL: https://issues.apache.org/jira/browse/NETBEANS-2082
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Code folding
>Affects Versions: 10.0, 11.0, 11.1, 11.2
> Environment: Netbeans 11 with OpenJDK 12. 
> Darwin MacBook-Pro-2.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 
> 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
> Netbeans 10 with OpenJDK 11.
> Darwin MacBook-Pro-2.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 
> 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
>Reporter: Pier Luigi
>Assignee: Svatopluk Dedic
>Priority: Critical
> Attachments: DemoPHPCodeFoldingProblem_NB11.php, netbeans-2082.gif
>
>
> Collapsing a block often results in a jump of the editor to an incorrect 
> editing position (and scrolling the page cause a rejump to that position 
> after a second of scroll inactivity).
> The same sources works perfectly with Netbeans 8.2.



--
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-4239) no code assistance in *.jsp files

2020-05-02 Thread Nils Huhta (Jira)


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

Nils Huhta commented on NETBEANS-4239:
--

ok !

> no code assistance in *.jsp files
> -
>
> Key: NETBEANS-4239
> URL: https://issues.apache.org/jira/browse/NETBEANS-4239
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle Java EE
>Affects Versions: 12.0, 11.3
>Reporter: Nils Huhta
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: JSP
> Fix For: 12.0
>
> Attachments: IDE.log, Maven_vs_Gradle.jpg, Skärmavbild 2020-04-28 
> kl. 18.32.51.png, Skärmavbild 2020-04-28 kl. 18.34.10.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When editing JSP files in a Gradle Java EE Web application project, no code 
> assistance, for example code below gives no error
> <% int one number = "xxx"; %>
> In same Netbeans version a Maven Web application with jsp files works as 
> expected...



--
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-4239) no code assistance in *.jsp files

2020-05-02 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4239:
-

Best to join the dev mailing list and ask/discuss there, see 
netbeans.apache.org.

> no code assistance in *.jsp files
> -
>
> Key: NETBEANS-4239
> URL: https://issues.apache.org/jira/browse/NETBEANS-4239
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle Java EE
>Affects Versions: 12.0, 11.3
>Reporter: Nils Huhta
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: JSP
> Fix For: 12.0
>
> Attachments: IDE.log, Maven_vs_Gradle.jpg, Skärmavbild 2020-04-28 
> kl. 18.32.51.png, Skärmavbild 2020-04-28 kl. 18.34.10.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When editing JSP files in a Gradle Java EE Web application project, no code 
> assistance, for example code below gives no error
> <% int one number = "xxx"; %>
> In same Netbeans version a Maven Web application with jsp files works as 
> expected...



--
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-3413) PHPDoc - implicit description inheritance

2020-05-02 Thread Jira


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

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

Assignee: Tomáš Procházka

> PHPDoc - implicit description inheritance
> -
>
> Key: NETBEANS-3413
> URL: https://issues.apache.org/jira/browse/NETBEANS-3413
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 11.2
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Major
> Attachments: image-2020-04-02-10-21-00-087.png
>
>
> Currently NetBeans IDE supports inheritance of docblocks containing 
> @inheritdoc annotation.
> It would be useful if docblocks are inherited even in case when there is no 
> docblock present.
> Example:
> {code:java}
> class Circle {
> /**
>  * Hides circle
>  */
> public function hide() {
> }
> /**
>  * Shows circle
>  */
> public function show() {
> }
> }
> class SpecialCircle extends Circle {
> /**
>  * {@inheritdoc}
>  */
> public function hide() {
> parent::hide();
> }
> public function show() {
> parent::show();
> }
> public function redraw() {
> $this->hide(); // Text "Hides circle" is shown
> $this->show(); // Text "PHPDoc not found" is shown, expected "Shows 
> circle"
> }
> }
> {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-4239) no code assistance in *.jsp files

2020-05-02 Thread Nils Huhta (Jira)


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

Nils Huhta commented on NETBEANS-4239:
--

when is beta4 planned to be build ?

> no code assistance in *.jsp files
> -
>
> Key: NETBEANS-4239
> URL: https://issues.apache.org/jira/browse/NETBEANS-4239
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle Java EE
>Affects Versions: 12.0, 11.3
>Reporter: Nils Huhta
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: JSP
> Fix For: 12.0
>
> Attachments: IDE.log, Maven_vs_Gradle.jpg, Skärmavbild 2020-04-28 
> kl. 18.32.51.png, Skärmavbild 2020-04-28 kl. 18.34.10.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When editing JSP files in a Gradle Java EE Web application project, no code 
> assistance, for example code below gives no error
> <% int one number = "xxx"; %>
> In same Netbeans version a Maven Web application with jsp files works as 
> expected...



--
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-2438) Groovy project

2020-05-02 Thread Walter Kruse (Jira)


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

Walter Kruse edited comment on NETBEANS-2438 at 5/2/20, 7:04 AM:
-

[~hectorespert] I literally use it like the test case I described above.

I develop stand-alone scripts for test automation. So I don't have enterprise 
app building.

The way it works in that case is run by Ant when I press Shift +F6 using 
Geertjan's Pure Groovy Project plugin.

The way the script uses Grab (in Eclipse) is with Ivy which leverages off Maven 
if I understand correctly.


was (Author: ou_ryperd):
[~hectorespert] I literally use it like the test case I described above.

I develop stand-alone scripts for test automation. So I don't have enterprise 
app building.

The way it works in that case is run by Ant when I press Shift +F6 using 
Geertjan's Pure Groovy Project plugin.

The way the script uses Grab is with Ivy which leverages off Maven if I 
understand correctly.

> Groovy project
> --
>
> Key: NETBEANS-2438
> URL: https://issues.apache.org/jira/browse/NETBEANS-2438
> Project: NetBeans
>  Issue Type: New Feature
>  Components: apisupport - Project
>Affects Versions: 11.0
>Reporter: Walter Kruse
>Priority: Major
> Fix For: 12.0
>
>
> As a test automator using Groovy scripting, when I create a new project I 
> want to be able to:
> -create a Groovy project (with or without Maven/Ivy)
> -that will be able to run a classless script
> -execute @Grab statements to collect jars upon executing
> Test case:
> {{groovy.grape.Grape.grab(group:'org.apache.commons', module:'commons-lang3', 
> version:'3.3.2'}}
> {{def s = "A silly string with words"}}
> {{assert org.apache.commons.lang3.text.WordUtils.capitalizeFully(s) == 'A 
> Silly String With Words'}}
> or:
> {{@Grab(group='org.apache.commons', module='commons-lang3', version='3.3.2')}}
> {{def s = "A silly string with words"}}
> {{assert org.apache.commons.lang3.text.WordUtils.capitalizeFully(s) == 'A 
> Silly String With Words'}}
> At the moment I am using [~GeertjanWielenga]'s Pure Groovy Project from 
> [http://plugins.netbeans.org/plugin/49928/pure-groovy-project]
>  
>  



--
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-2438) Groovy project

2020-05-02 Thread Walter Kruse (Jira)


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

Walter Kruse commented on NETBEANS-2438:


[~hectorespert] I literally use it like the test case I described above.

I develop stand-alone scripts for test automation. So I don't have enterprise 
app building.

The way it works in that case is run by Ant when I press Shift +F6 using 
Geertjan's Pure Groovy Project plugin.

The way the script uses Grab is with Ivy which leverages off Maven if I 
understand correctly.

> Groovy project
> --
>
> Key: NETBEANS-2438
> URL: https://issues.apache.org/jira/browse/NETBEANS-2438
> Project: NetBeans
>  Issue Type: New Feature
>  Components: apisupport - Project
>Affects Versions: 11.0
>Reporter: Walter Kruse
>Priority: Major
> Fix For: 12.0
>
>
> As a test automator using Groovy scripting, when I create a new project I 
> want to be able to:
> -create a Groovy project (with or without Maven/Ivy)
> -that will be able to run a classless script
> -execute @Grab statements to collect jars upon executing
> Test case:
> {{groovy.grape.Grape.grab(group:'org.apache.commons', module:'commons-lang3', 
> version:'3.3.2'}}
> {{def s = "A silly string with words"}}
> {{assert org.apache.commons.lang3.text.WordUtils.capitalizeFully(s) == 'A 
> Silly String With Words'}}
> or:
> {{@Grab(group='org.apache.commons', module='commons-lang3', version='3.3.2')}}
> {{def s = "A silly string with words"}}
> {{assert org.apache.commons.lang3.text.WordUtils.capitalizeFully(s) == 'A 
> Silly String With Words'}}
> At the moment I am using [~GeertjanWielenga]'s Pure Groovy Project from 
> [http://plugins.netbeans.org/plugin/49928/pure-groovy-project]
>  
>  



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