[jira] [Created] (NETBEANS-352) Platform Applications cannot customize their displayed version in About without breaking other things

2018-02-02 Thread Austin Stephens (JIRA)
Austin Stephens created NETBEANS-352:


 Summary: Platform Applications cannot customize their displayed 
version in About without breaking other things
 Key: NETBEANS-352
 URL: https://issues.apache.org/jira/browse/NETBEANS-352
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: 8.2, 9.0, Next
Reporter: Austin Stephens


See https://github.com/apache/incubator-netbeans/pull/393



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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



[incubator-netbeans-html4j] branch master updated: Don't convert primitive types

2018-02-02 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 21a9551  Don't convert primitive types
21a9551 is described below

commit 21a9551205fd07fe1c58e2c4a9acc9286efc9218
Author: Jaroslav Tulach 
AuthorDate: Fri Feb 2 18:47:45 2018 +0100

Don't convert primitive types
---
 boot/src/test/java/org/netbeans/html/boot/impl/JsUtils.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/boot/src/test/java/org/netbeans/html/boot/impl/JsUtils.java 
b/boot/src/test/java/org/netbeans/html/boot/impl/JsUtils.java
index 47e8fc6..1a732f1 100644
--- a/boot/src/test/java/org/netbeans/html/boot/impl/JsUtils.java
+++ b/boot/src/test/java/org/netbeans/html/boot/impl/JsUtils.java
@@ -45,6 +45,9 @@ final class JsUtils {
 }
 
 static java.lang.Object toJava(ScriptEngine eng, java.lang.Object js) {
+if (js instanceof Boolean || js instanceof String || js instanceof 
Number) {
+return js;
+}
 try {
 Number len = (Number) ((Invocable) 
eng).invokeFunction("checkArray", js, null);
 if (len != null && len.intValue() >= 0) {

-- 
To stop receiving notification emails like this one, please contact
jtul...@apache.org.

-
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-181) NetBeans should be aware of WSL (Ubuntu on Windows 10)

2018-02-02 Thread Bo Andersen (JIRA)

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

Bo Andersen commented on NETBEANS-181:
--

Just a note, so you are aware of it:

 

https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/

> NetBeans should be aware of WSL (Ubuntu on Windows 10)
> --
>
> Key: NETBEANS-181
> URL: https://issues.apache.org/jira/browse/NETBEANS-181
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Terminalemulator
>Affects Versions: Next
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Major
>
> Yeah Ubuntu on Windows is, I think still in beta but I use it for my daily 
> work. At home and at work. It is really handy to setup enviroment stuff 
> easily. So for this, NetBeans should be aware of installed stuff inside the 
> ubuntu on windows. The path is "C:\Users\Chrizzly\AppData\Local\lxss (hidden 
> folder)". So if NetBeans are aware of a cygwin installation, it should be 
> treated like that too.
> And for everything else like I installed node, c/c++ stuff, php and so on.
> Would be great enhancement. I created such ticket for Terminal integration 
> too, because of the Cygwin thing: 
> http://netbeans.org/bugzilla/show_bug.cgi?id=267478
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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



svn commit: r24638 - /release/incubator/netbeans/KEYS

2018-02-02 Thread geertjan
Author: geertjan
Date: Fri Feb  2 13:53:45 2018
New Revision: 24638

Log:
Adding Geertjan Wielenga KEY to the KEYS file

Modified:
release/incubator/netbeans/KEYS

Modified: release/incubator/netbeans/KEYS
==
--- release/incubator/netbeans/KEYS (original)
+++ release/incubator/netbeans/KEYS Fri Feb  2 13:53:45 2018
@@ -72,3 +72,41 @@ wh4upC9bBEZDbMV4Q5C338qTqkruLH8Rrk7OkCg1
 Os9anRk/V1hDjbJob52Gz1bKddAzOVI8fAsHYAv1GspE4wfPq9hIAMXVTeoigq/u
 =k1sF
 -END PGP PUBLIC KEY BLOCK-
+
+pub   rsa2048 2018-02-01 [SC] [expires: 2020-02-01]
+  D9403A7D417B3FA847CD2975D3F831E7680F8D3D
+uid   [ultimate] Geertjan Wielenga 
+sig 3D3F831E7680F8D3D 2018-02-01  Geertjan Wielenga 

+sub   rsa2048 2018-02-01 [E] [expires: 2020-02-01]
+sig  D3F831E7680F8D3D 2018-02-01  Geertjan Wielenga 

+
+-BEGIN PGP PUBLIC KEY BLOCK-
+
+mQENBFpyzMUBCACiwT1iQYdgBN1uGeDikiNyef1F54vx5/f+h3LD1SGIxOPda91G
+E98Pf8tS38sl1dyruolQLvznFdTjXsFhxirI4UwScgrTsw0Vs71NOoL3w75V2tnh
+nD8xUzvdJjQw3mezHy3NEQTMHRDcZLtv54UZFxacbUWAHfw3LaqeNUYyFAb7JJGR
+O7jpZwwBv9uJYdBTgY2XWW3Lx/4IfEFDPB5ESWPkzVZG77fiwOKxh58WNZt7PXIL
+4DuHyUyWUJGHfp4kPMxky6ZCHrGWaEQ9jf1OS5A0wlBUMZwct61xbMz5WvqqIcI+
+nt9auRFab727HAQ/7Soe0glFFBAYgKj3mShbABEBAAG0J0dlZXJ0amFuIFdpZWxl
+bmdhIDxnZWVydGphbkBhcGFjaGUub3JnPokBVAQTAQoAPhYhBNlAOn1Bez+oR80p
+ddP4MedoD409BQJacszFAhsDBQkDwmcABQsJCAcDBRUKCQgLBR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+0doMnIVlrjuzosarh9hb7+jFuoqabCNCnZusMPyG+/HOPfcXs
+2IUMahAv0+XUD+0N0mGTg9+xtkoBMKpmRx2lWgLIE3YFiukNIR4nP/KyI6T8k7o=
+=3/Ld
+-END PGP PUBLIC KEY BLOCK-



-
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



[incubator-netbeans-html4j] branch master updated: Report the error only when the URL is really read

2018-02-02 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new a1e64b7  Report the error only when the URL is really read
 new dd664c0  Let the boot-script tests that don't need URL pass
a1e64b7 is described below

commit a1e64b78c1bdf8d0468858ae71b85623e3473478
Author: Jaroslav Tulach 
AuthorDate: Fri Feb 2 09:35:08 2018 +0100

Report the error only when the URL is really read
---
 .../org/netbeans/html/boot/fx/AbstractFXPresenter.java |  1 +
 boot/src/main/java/net/java/html/boot/BrowserBuilder.java  | 14 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git 
a/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java 
b/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java
index fc99d40..d9752df 100644
--- a/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java
+++ b/boot-fx/src/main/java/org/netbeans/html/boot/fx/AbstractFXPresenter.java
@@ -26,6 +26,7 @@ import java.lang.ref.Reference;
 import java.lang.ref.WeakReference;
 import java.lang.reflect.Array;
 import java.net.URL;
+import java.net.URLConnection;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.HashMap;
diff --git a/boot/src/main/java/net/java/html/boot/BrowserBuilder.java 
b/boot/src/main/java/net/java/html/boot/BrowserBuilder.java
index e534184..1bf9c28 100644
--- a/boot/src/main/java/net/java/html/boot/BrowserBuilder.java
+++ b/boot/src/main/java/net/java/html/boot/BrowserBuilder.java
@@ -27,6 +27,7 @@ import java.net.JarURLConnection;
 import java.net.MalformedURLException;
 import java.net.URL;
 import java.net.URLConnection;
+import java.net.URLStreamHandler;
 import java.security.ProtectionDomain;
 import java.util.Arrays;
 import java.util.Collection;
@@ -233,7 +234,18 @@ public final class BrowserBuilder {
 IOException mal[] = { null };
 URL url = findLocalizedResourceURL(resource, locale, mal, myCls);
 if (url == null) {
-throw new NullPointerException("Cannot find page " + resource + " 
to display");
+final IOException ex = new IOException("Cannot find page " + 
resource + " to display");
+class InvalidHandler extends URLStreamHandler {
+@Override
+protected URLConnection openConnection(URL u) throws 
IOException {
+throw ex;
+}
+}
+try {
+url = new URL("resource", null, -1, resource, new 
InvalidHandler());
+} catch (MalformedURLException malformed) {
+throw new IllegalStateException(malformed);
+}
 }
 
 Fn.Presenter dfnr = null;

-- 
To stop receiving notification emails like this one, please contact
jtul...@apache.org.

-
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