(netbeans) branch master updated: Better Gradle Project Creation Wizard

2024-04-12 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new e7545a9284 Better Gradle Project Creation Wizard
e7545a9284 is described below

commit e7545a928426991d6120f4609266c1b2f6f2c023
Author: Laszlo Kishalmi 
AuthorDate: Wed Apr 10 19:37:33 2024 -0700

Better Gradle Project Creation Wizard
---
 extide/gradle/manifest.mf  |   1 +
 extide/gradle/nbproject/project.properties |   3 +-
 .../execute/EscapeProcessingOutputStream.java  |   2 +-
 .../gradle/execute/GradlePlainEscapeProcessor.java |  67 +---
 .../modules/gradle/newproject/Bundle.properties|  10 +
 .../modules/gradle/newproject/GradleInitPanel.java |  69 
 .../gradle/newproject/GradleInitPanelVisual.form   | 236 +
 .../gradle/newproject/GradleInitPanelVisual.java   | 384 +
 .../gradle/newproject/NewProjectSettings.java  |  76 
 .../gradle/output/GradleProcessorFactory.java  | 132 ---
 .../spi/newproject/BaseGradleWizardIterator.java   |   7 +-
 .../gradle/spi/newproject/GradleInitWizard.java| 231 +
 .../gradle/spi/newproject/TemplateOperation.java   |  45 ++-
 .../gradle/output/GradleProcessorFactoryTest.java  |  52 +--
 java/gradle.java/nbproject/project.xml |   2 +-
 .../newproject/SimpleApplicationProjectWizard.java |  83 -
 .../newproject/SimpleLibraryProjectWizard.java |  57 ---
 .../modules/gradle/java/newproject/Wizards.java|  78 +
 18 files changed, 1254 insertions(+), 281 deletions(-)

diff --git a/extide/gradle/manifest.mf b/extide/gradle/manifest.mf
index 4588b852e9..396a65a814 100644
--- a/extide/gradle/manifest.mf
+++ b/extide/gradle/manifest.mf
@@ -3,4 +3,5 @@ AutoUpdate-Show-In-Client: true
 OpenIDE-Module: org.netbeans.modules.gradle/2
 OpenIDE-Module-Layer: org/netbeans/modules/gradle/layer.xml
 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/gradle/Bundle.properties
+OpenIDE-Module-Java-Dependencies: Java > 17
 OpenIDE-Module-Specification-Version: 2.40
diff --git a/extide/gradle/nbproject/project.properties 
b/extide/gradle/nbproject/project.properties
index 54dab6898e..8666db6808 100644
--- a/extide/gradle/nbproject/project.properties
+++ b/extide/gradle/nbproject/project.properties
@@ -17,7 +17,8 @@
 
 
file.reference.netbeans-gradle-tooling.jar=release/modules/gradle/netbeans-gradle-tooling.jar
 is.autoload=true
-javac.source=1.8
+javac.source=17
+javac.target=17
 javac.compilerargs=-Xlint -Xlint:-serial
 javadoc.arch=${basedir}/arch.xml
 javadoc.apichanges=${basedir}/apichanges.xml
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/execute/EscapeProcessingOutputStream.java
 
b/extide/gradle/src/org/netbeans/modules/gradle/execute/EscapeProcessingOutputStream.java
index b6deb583b2..98e60c67cb 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/execute/EscapeProcessingOutputStream.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/execute/EscapeProcessingOutputStream.java
@@ -32,7 +32,7 @@ import org.openide.util.RequestProcessor;
  *
  * @author Laszlo Kishalmi
  */
-class EscapeProcessingOutputStream extends OutputStream {
+public class EscapeProcessingOutputStream extends OutputStream {
 
 private static final RequestProcessor RP = new 
RequestProcessor(EscapeProcessingOutputStream.class);
 
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/execute/GradlePlainEscapeProcessor.java
 
b/extide/gradle/src/org/netbeans/modules/gradle/execute/GradlePlainEscapeProcessor.java
index 924b5ad290..ccd562fdfb 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/execute/GradlePlainEscapeProcessor.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/execute/GradlePlainEscapeProcessor.java
@@ -28,9 +28,8 @@ import java.util.Collection;
 import java.util.Iterator;
 import java.util.LinkedHashSet;
 import java.util.Set;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
 import org.netbeans.api.project.Project;
+import org.netbeans.modules.gradle.output.GradleProcessorFactory;
 import org.openide.util.Lookup;
 import org.openide.windows.IOColorPrint;
 import org.openide.windows.IOColors;
@@ -57,13 +56,20 @@ public class GradlePlainEscapeProcessor implements 
EscapeProcessor {
 public GradlePlainEscapeProcessor(InputOutput io, RunConfig cfg, boolean 
error) {
 this.io = io;
 output = new IODisplayer();
-Project prj = cfg.getProject();
-if (prj != null) {
-processorsFromLookup(prj.getLookup(), cfg);
+if (cfg != null) {
+Project prj = cfg.getProject();
+if (prj != null) {
+processorsFromLookup(prj.getLookup(), cfg);
+}
 }
 outType = error ? ERROR : OUTPUT;
-processors.add(TASK_LINE_PROCESSOR);
-

(netbeans) 01/01: Merge pull request #7261 from apache/revert-6866-jtulach/TruffleBreakpoints

2024-04-12 Thread mbien
This is an automated email from the ASF dual-hosted git repository.

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

commit ecc3f234600201cf03a35df3977b09855b91b445
Merge: ae79e6b478 e19ed990d4
Author: Michael Bien 
AuthorDate: Fri Apr 12 16:39:41 2024 +0200

Merge pull request #7261 from apache/revert-6866-jtulach/TruffleBreakpoints

Revert "Allow user to manipulate Truffle breakpoints"

 .../modules/debugger/jpda/truffle/RemoteServices.java   |  3 +--
 .../debugger/jpda/truffle/TruffleDebugManager.java  | 17 +
 .../debugger/jpda/truffle/access/TruffleAccess.java |  5 ++---
 .../jpda/truffle/actions/StepActionProvider.java|  3 +--
 .../breakpoints/impl/TruffleBreakpointsHandler.java |  3 +--
 5 files changed, 10 insertions(+), 21 deletions(-)


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

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



(netbeans) branch master updated (ae79e6b478 -> ecc3f23460)

2024-04-12 Thread mbien
This is an automated email from the ASF dual-hosted git repository.

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


from ae79e6b478 Merge pull request #7255 from 
mhalachev/editor-bg-shortcut-colour
 add e19ed990d4 Revert "Allow user to manipulate Truffle breakpoints"
 new ecc3f23460 Merge pull request #7261 from 
apache/revert-6866-jtulach/TruffleBreakpoints

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.


Summary of changes:
 .../modules/debugger/jpda/truffle/RemoteServices.java   |  3 +--
 .../debugger/jpda/truffle/TruffleDebugManager.java  | 17 +
 .../debugger/jpda/truffle/access/TruffleAccess.java |  5 ++---
 .../jpda/truffle/actions/StepActionProvider.java|  3 +--
 .../breakpoints/impl/TruffleBreakpointsHandler.java |  3 +--
 5 files changed, 10 insertions(+), 21 deletions(-)


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

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



(netbeans) branch master updated (e8fb660e9f -> ae79e6b478)

2024-04-12 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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


from e8fb660e9f Merge pull request #7222 from matthiasblaesing/ns_jsf4
 add c125dea339 Fix editor background shortcut colour for some non-default 
LAFs
 new ae79e6b478 Merge pull request #7255 from 
mhalachev/editor-bg-shortcut-colour

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.


Summary of changes:
 .../core.windows/src/org/netbeans/core/windows/view/EditorView.java| 3 +++
 1 file changed, 3 insertions(+)


-
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: Merge pull request #7255 from mhalachev/editor-bg-shortcut-colour

2024-04-12 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.git

commit ae79e6b4787cd9a09a76c2ea1092b30ed07c6acd
Merge: e8fb660e9f c125dea339
Author: Neil C Smith 
AuthorDate: Fri Apr 12 13:46:38 2024 +0100

Merge pull request #7255 from mhalachev/editor-bg-shortcut-colour

Fix editor background shortcut colour for some non-default LAFs

 .../core.windows/src/org/netbeans/core/windows/view/EditorView.java| 3 +++
 1 file changed, 3 insertions(+)



-
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