[jira] [Closed] (NETBEANS-2465) Random crashes

2019-05-30 Thread Czukowski (JIRA)


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

Czukowski closed NETBEANS-2465.
---
Resolution: Invalid

I've been testing NetBeans with the replacement RAM for over a week and haven't 
encountered any crash (the memory usage seemed to be slowly increasing over 
time though), therefore I conclude it must have been crashing due to OS memory 
management issues.

> Random crashes
> --
>
> Key: NETBEANS-2465
> URL: https://issues.apache.org/jira/browse/NETBEANS-2465
> Project: NetBeans
>  Issue Type: Bug
> Environment: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319), Windows 10
>Reporter: Czukowski
>Priority: Major
> Attachments: hs_err_pid17792.log, hs_err_pid4668.log
>
>
> I've been experiencing some random crashes after recent RAM amount increase. 
> I haven't been doing anything specific at the time of the crashes, last time 
> I've even had a different program active at that moment. Used to be stable 
> before.
> Attaching crash log files found in NetBeans directory.



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



[netbeans-tools] branch master updated: Update README.md

2019-05-30 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new b7f9f0e  Update README.md
b7f9f0e is described below

commit b7f9f0e803bfdaf32968482336ec3969930b15c8
Author: Geertjan Wielenga 
AuthorDate: Thu May 30 15:15:03 2019 +0200

Update README.md
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index cdba674..c20fd46 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
 # incubator-netbeans-tools
-Mirror of Apache NetBeans Tools (Incubating).
+Mirror of Apache NetBeans Tools.
 
 Repository of tools created and used by the Apache NetBeans community.
 


-
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-tools] branch master updated: Update README.md

2019-05-30 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 00ab1a2  Update README.md
00ab1a2 is described below

commit 00ab1a2b10b37f7490eee10958ec7527c2d3ab81
Author: Geertjan Wielenga 
AuthorDate: Thu May 30 15:16:01 2019 +0200

Update README.md
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index c20fd46..0675fd1 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ Repository of tools created and used by the Apache NetBeans 
community.
 
 ### Currently Available Tools
 
-   * 
[Converter](https://github.com/apache/incubator-netbeans-tools/tree/master/convert):
 Tool for automatically converting Sun Microsystems and Oracle licenses to 
Apache.
+   * 
[convert](https://github.com/apache/incubator-netbeans-tools/tree/master/convert):
 Tool for automatically converting Sun Microsystems and Oracle licenses to 
Apache.

* 
[licensereviewsite](https://github.com/apache/incubator-netbeans-tools/tree/master/licensereviewsite):
 Tool consisting of a Maven plugin to generate report for crosschecking Jenkins 
/ Confluence for external and licence. ([More 
details](https://github.com/apache/incubator-netbeans-tools/pull/2).)
 


-
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-2577) Maven library excluded because of disabling apache-commons module

2019-05-30 Thread ASF GitHub Bot (JIRA)


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

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

> Maven library excluded because of disabling apache-commons module 
> --
>
> Key: NETBEANS-2577
> URL: https://issues.apache.org/jira/browse/NETBEANS-2577
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 11.0
>Reporter: Svatopluk Dedic
>Priority: Major
>  Labels: pull-request-available
>
> Our NB-platform based app does the following in the *platform.properties* file
>  
> {noformat}
> cluster.path=\ 
>${nbplatform.active.dir}/extide:\    
>${nbplatform.active.dir}/harness:\    
>${nbplatform.active.dir}/ide:\ 
>    ${nbplatform.active.dir}/java
> # 
> disabled.modules=\
>    org.apache.commons.lang,\
> # 
> {noformat}
>  
> Whena I build a distribution, (*ant build-zip*), the file 
> *java/maven/lib/commons-lang-2.6.jar* is excluded, because:
>  * it is a OSGi bundle
>  * it's *Bundle-Symbolic-Name* matches the excluded module's codename
> Despite the file is in a different directory, where NB modules shouldn't be 
> placed, it's recognized as a module and excluded from the distribution.
> The bug causes *maven embedder* to fail during startup, since it can't link 
> to **its libraries.
>  
>  
>  



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



[jira] [Updated] (NETBEANS-2614) Improve icon scaling on HiDPI displays, and prepare ImageUtilities for HiDPI icons.

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2614:
--
Attachment: Windows 200pct HiDPI Scaling, Before Patch.png
Windows 200pct HiDPI Scaling, After Patch.png
Windows 150pct HiDPI Scaling, Before Patch.png
Windows 150pct HiDPI Scaling, After Patch.png

> Improve icon scaling on HiDPI displays, and prepare ImageUtilities for HiDPI 
> icons.
> ---
>
> Key: NETBEANS-2614
> URL: https://issues.apache.org/jira/browse/NETBEANS-2614
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
> Environment: Windows, Linux, and MacOS.
>Reporter: Eirik Bakke
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: Windows 150pct HiDPI Scaling, After Patch.png, Windows 
> 150pct HiDPI Scaling, Before Patch.png, Windows 200pct HiDPI Scaling, After 
> Patch.png, Windows 200pct HiDPI Scaling, Before Patch.png
>
>
> To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans 
> Platform (RCP) applications, will eventually need to provide high-resolution 
> versions of various image asset (typically icons). In the shorter term, there 
> are also a few tricks that can be applied to make the existing low-resolution 
> icons render better on HiDPI monitors, such as setting 
> RenderingHints.VALUE_INTERPOLATION_BICUBIC before painting each icon.
> Throughout the NetBeans codebase, two different APIs are used interchangeably 
> to represent icon: javax.swing.Icon and java.awt.Image. The NetBeans 
> ImageUtilities class provides methods for loading either, and for converting 
> instances of one to instances the other.
> Having now implementing scalable window system icons (NETBEANS-1238, 
> NETBEANS-1260), prototype SVG icon loading (NETBEANS-2604), and a 
> HiDPI-enabled splash screen ( https://github.com/apache/netbeans/pull/1246 ), 
> the following design seems the most feasible:
> # Scalable icon implementations (such as VectorIcon or a future SVGIcon) 
> should be implemented as custom implementations of the javax.swing.Icon 
> interface.
> # The various methods in ImageUtilities should be updated to preserve custom 
> Icon instances even as an Icon is converted to an Image and back (i.e. make 
> image2Icon(icon2image(icon)) reversible).
> # Other parts of the codebase should be updated as necessary to use 
> ImageUtilities.image2Icon(image) instead of "new ImageIcon(image)", and to 
> use "Icon.paintIcon" instead of "Graphics.drawImage". (Most of the IDE code 
> already does the right thing.)
> This issue tracks the required changes to ImageUtilities, as well as the 
> previously mentioned icon rendering improvements, which will serve as a 
> visual demonstration that the right painting code is being invoked.



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



[jira] [Updated] (NETBEANS-2614) Improve icon scaling on HiDPI displays, and prepare ImageUtilities for HiDPI icons.

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2614:
--
Description: 
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In the shorter term, there are also a 
few tricks that can be applied to make the existing low-resolution icons render 
better on HiDPI monitors, such as setting 
RenderingHints.VALUE_INTERPOLATION_BICUBIC before painting each icon. See the 
attached before/after screenshots to see the difference (be sure to view the 
screenshots at 100% scaling).

Throughout the NetBeans codebase, two different APIs are used interchangeably 
to represent icon: javax.swing.Icon and java.awt.Image. The NetBeans 
ImageUtilities class provides methods for loading either, and for converting 
instances of one to instances the other.

Having now implementing scalable window system icons (NETBEANS-1238, 
NETBEANS-1260), prototype SVG icon loading (NETBEANS-2604), and a HiDPI-enabled 
splash screen ( https://github.com/apache/netbeans/pull/1246 ), the following 
design seems the most feasible:

# Scalable icon implementations (such as VectorIcon or a future SVGIcon) should 
be implemented as custom implementations of the javax.swing.Icon interface.
# The various methods in ImageUtilities should be updated to preserve custom 
Icon instances even as an Icon is converted to an Image and back (i.e. make 
image2Icon(icon2image(icon)) reversible).
# Other parts of the codebase should be updated as necessary to use 
ImageUtilities.image2Icon(image) instead of "new ImageIcon(image)", and to use 
"Icon.paintIcon" instead of "Graphics.drawImage". (Most of the IDE code already 
does the right thing.)

This issue tracks the required changes to ImageUtilities, as well as the 
previously mentioned icon rendering improvements, which will serve as a visual 
demonstration that the right painting code is being invoked.

  was:
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In the shorter term, there are also a 
few tricks that can be applied to make the existing low-resolution icons render 
better on HiDPI monitors, such as setting 
RenderingHints.VALUE_INTERPOLATION_BICUBIC before painting each icon.

Throughout the NetBeans codebase, two different APIs are used interchangeably 
to represent icon: javax.swing.Icon and java.awt.Image. The NetBeans 
ImageUtilities class provides methods for loading either, and for converting 
instances of one to instances the other.

Having now implementing scalable window system icons (NETBEANS-1238, 
NETBEANS-1260), prototype SVG icon loading (NETBEANS-2604), and a HiDPI-enabled 
splash screen ( https://github.com/apache/netbeans/pull/1246 ), the following 
design seems the most feasible:

# Scalable icon implementations (such as VectorIcon or a future SVGIcon) should 
be implemented as custom implementations of the javax.swing.Icon interface.
# The various methods in ImageUtilities should be updated to preserve custom 
Icon instances even as an Icon is converted to an Image and back (i.e. make 
image2Icon(icon2image(icon)) reversible).
# Other parts of the codebase should be updated as necessary to use 
ImageUtilities.image2Icon(image) instead of "new ImageIcon(image)", and to use 
"Icon.paintIcon" instead of "Graphics.drawImage". (Most of the IDE code already 
does the right thing.)

This issue tracks the required changes to ImageUtilities, as well as the 
previously mentioned icon rendering improvements, which will serve as a visual 
demonstration that the right painting code is being invoked.


> Improve icon scaling on HiDPI displays, and prepare ImageUtilities for HiDPI 
> icons.
> ---
>
> Key: NETBEANS-2614
> URL: https://issues.apache.org/jira/browse/NETBEANS-2614
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
> Environment: Windows, Linux, and MacOS.
>Reporter: Eirik Bakke
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: Windows 150pct HiDPI Scaling, After Patch.png, Windows 
> 150pct HiDPI Scaling, Before Patch.png, Windows 200pct HiDPI Scaling, After 
> Patch.png, Windows 200pct HiDPI Scaling, Before Patch.png
>
>
> To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans 
> Platform (RCP) applications, will eventually need to provide high-resolution 
> versions of various image asset (typically icons). In the shorter term, there 
> are also a few

[jira] [Updated] (NETBEANS-2577) Maven library excluded because of disabling apache-commons module

2019-05-30 Thread Svatopluk Dedic (JIRA)


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

Svatopluk Dedic updated NETBEANS-2577:
--
Fix Version/s: Next

> Maven library excluded because of disabling apache-commons module 
> --
>
> Key: NETBEANS-2577
> URL: https://issues.apache.org/jira/browse/NETBEANS-2577
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 11.0
>Reporter: Svatopluk Dedic
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Our NB-platform based app does the following in the *platform.properties* file
>  
> {noformat}
> cluster.path=\ 
>${nbplatform.active.dir}/extide:\    
>${nbplatform.active.dir}/harness:\    
>${nbplatform.active.dir}/ide:\ 
>    ${nbplatform.active.dir}/java
> # 
> disabled.modules=\
>    org.apache.commons.lang,\
> # 
> {noformat}
>  
> Whena I build a distribution, (*ant build-zip*), the file 
> *java/maven/lib/commons-lang-2.6.jar* is excluded, because:
>  * it is a OSGi bundle
>  * it's *Bundle-Symbolic-Name* matches the excluded module's codename
> Despite the file is in a different directory, where NB modules shouldn't be 
> placed, it's recognized as a module and excluded from the distribution.
> The bug causes *maven embedder* to fail during startup, since it can't link 
> to **its libraries.
>  
>  
>  



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



[jira] [Updated] (NETBEANS-2565) NB-based application fails to verify NB plugin signatures

2019-05-30 Thread Svatopluk Dedic (JIRA)


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

Svatopluk Dedic updated NETBEANS-2565:
--
Fix Version/s: Next

> NB-based application fails to verify NB plugin signatures
> -
>
> Key: NETBEANS-2565
> URL: https://issues.apache.org/jira/browse/NETBEANS-2565
> Project: NetBeans
>  Issue Type: Bug
>  Components: updatecenters - Pluginportal
>Affects Versions: 11.0
>Reporter: Svatopluk Dedic
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have a NB platform app application, which includes *updatecenters* module 
> from the *nb* cluster.  
> I am now trying to upgrade to NB11 and it seems that the file 
> *nb/core/ide.ks* file is not copied to the application distribution.
> Steps to reproduce:
>  # Create NB Platform Application project
>  # include *Update Centers* module from *nb* cluster
>  # Build
>  # Package as > ZIP
>  # unzip the zipfile
> There's no *ide.ks* file.
> Effects:
>  # When run with assertion disabled, all modules downloaded from NB update 
> center or plugin portal appear unsigned
>  # When run with assertions enabled, the following assertion is thrown / 
> displayed as error dialog:
> {noformat}
> java.lang.AssertionError: File found at core/ide.ks 
>     at 
> org.netbeans.modules.updatecenters.resources.NetBeansKeyStoreProvider.getKeyStoreFile(NetBeansKeyStoreProvider.java:48)
>  
>     at 
> org.netbeans.modules.updatecenters.resources.NetBeansKeyStoreProvider.getKeyStore(NetBeansKeyStoreProvider.java:43)
>  
>     at 
> org.netbeans.modules.autoupdate.services.Utilities.getKeyStore(Utilities.java:121)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.verifyNbm(InstallSupportImpl.java:1056)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate(InstallSupportImpl.java:847)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate(InstallSupportImpl.java:800)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$900(InstallSupportImpl.java:73)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl$2.call(InstallSupportImpl.java:245)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl$2.call(InstallSupportImpl.java:218)
>  
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266){noformat}



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



[jira] [Resolved] (NETBEANS-2361) app.conf has typo preventing RCP app loading on Linux

2019-05-30 Thread Svatopluk Dedic (JIRA)


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

Svatopluk Dedic resolved NETBEANS-2361.
---
   Resolution: Fixed
Fix Version/s: Next

> app.conf has typo preventing RCP app loading on Linux
> -
>
> Key: NETBEANS-2361
> URL: https://issues.apache.org/jira/browse/NETBEANS-2361
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 10.0, 11.0
>Reporter: Steven Yi
>Assignee: Svatopluk Dedic
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> netbeans/harness/etc/app.conf has this:
>   default_cachedir=""${DEFAULT_CACHEDIR_ROOT}/dev"
>  
> The extra double quote causes RCP-generated apps from loading on Linux with:
>    Syntax error: unterminated quoted string
>  
> Changing to:
>   default_cachedir="${DEFAULT_CACHEDIR_ROOT}/dev"
>  
> in app.conf fixes the generated builds. 



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



[jira] [Resolved] (NETBEANS-2565) NB-based application fails to verify NB plugin signatures

2019-05-30 Thread Svatopluk Dedic (JIRA)


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

Svatopluk Dedic resolved NETBEANS-2565.
---
Resolution: Fixed

> NB-based application fails to verify NB plugin signatures
> -
>
> Key: NETBEANS-2565
> URL: https://issues.apache.org/jira/browse/NETBEANS-2565
> Project: NetBeans
>  Issue Type: Bug
>  Components: updatecenters - Pluginportal
>Affects Versions: 11.0
>Reporter: Svatopluk Dedic
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have a NB platform app application, which includes *updatecenters* module 
> from the *nb* cluster.  
> I am now trying to upgrade to NB11 and it seems that the file 
> *nb/core/ide.ks* file is not copied to the application distribution.
> Steps to reproduce:
>  # Create NB Platform Application project
>  # include *Update Centers* module from *nb* cluster
>  # Build
>  # Package as > ZIP
>  # unzip the zipfile
> There's no *ide.ks* file.
> Effects:
>  # When run with assertion disabled, all modules downloaded from NB update 
> center or plugin portal appear unsigned
>  # When run with assertions enabled, the following assertion is thrown / 
> displayed as error dialog:
> {noformat}
> java.lang.AssertionError: File found at core/ide.ks 
>     at 
> org.netbeans.modules.updatecenters.resources.NetBeansKeyStoreProvider.getKeyStoreFile(NetBeansKeyStoreProvider.java:48)
>  
>     at 
> org.netbeans.modules.updatecenters.resources.NetBeansKeyStoreProvider.getKeyStore(NetBeansKeyStoreProvider.java:43)
>  
>     at 
> org.netbeans.modules.autoupdate.services.Utilities.getKeyStore(Utilities.java:121)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.verifyNbm(InstallSupportImpl.java:1056)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate(InstallSupportImpl.java:847)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate(InstallSupportImpl.java:800)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$900(InstallSupportImpl.java:73)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl$2.call(InstallSupportImpl.java:245)
>  
>     at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl$2.call(InstallSupportImpl.java:218)
>  
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266){noformat}



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



[netbeans-tools] branch master updated: Delete .DS_Store

2019-05-30 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new a4c8fd9  Delete .DS_Store
a4c8fd9 is described below

commit a4c8fd983c16455805405907f8b26fa86895ae98
Author: Geertjan Wielenga 
AuthorDate: Thu May 30 16:57:25 2019 +0200

Delete .DS_Store
---
 .DS_Store | Bin 8196 -> 0 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index 0d9c46e..000
Binary files a/.DS_Store and /dev/null differ


-
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-website] branch master updated: Fix typos (#368)

2019-05-30 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 fcb8e72  Fix typos (#368)
fcb8e72 is described below

commit fcb8e724c931d9ac9a780b28665229970a2bb97d
Author: Mark Stephens 
AuthorDate: Thu May 30 17:27:31 2019 +0100

Fix typos (#368)

link:: should have been link: and pick up suggestion for past events header
---
 netbeans.apache.org/src/content/community/events.asciidoc | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/netbeans.apache.org/src/content/community/events.asciidoc 
b/netbeans.apache.org/src/content/community/events.asciidoc
index c8c8c0c..9b012db 100644
--- a/netbeans.apache.org/src/content/community/events.asciidoc
+++ b/netbeans.apache.org/src/content/community/events.asciidoc
@@ -39,20 +39,20 @@ For publicizing NetBeans events, the Apache News posts at 
https://blogs.apache.o
 
 === Upcoming NetBeans related events in 2019/2020
 
-16-19th September 2019 Oracle CodeOne conference is Oracle's big developer 
conference for Java and other languages. You have to pay to attend but there 
are lots of excellent talks. It takes place at the Moscone Center in San 
Francisco, USA. link::https://www.oracle.com/code-one/[CodeOne Website] Here 
are the NetBeans related talks 
link::https://events.rainfocus.com/widget/oracle/oow19/catalogcodeone19?search=netbeans[NetBeans
 specific talks]
+16-19th September 2019 Oracle CodeOne conference is Oracle's big developer 
conference for Java and other languages. You have to pay to attend but there 
are lots of excellent talks. It takes place at the Moscone Center in San 
Francisco, USA. link:https://www.oracle.com/code-one/[CodeOne Website] Here are 
the NetBeans related talks 
link:https://events.rainfocus.com/widget/oracle/oow19/catalogcodeone19?search=netbeans[NetBeans
 specific talks]
 
-27th September 2019 Apache NetBeans Day 2019 UK is a free one day conference 
in  London, UK. 
link::https://www.eventbrite.co.uk/e/apache-netbeans-day-2019-uk-tickets-56803479737[free
 tickets and more details]
+27th September 2019 Apache NetBeans Day 2019 UK is a free one day conference 
in  London, UK. 
link:https://www.eventbrite.co.uk/e/apache-netbeans-day-2019-uk-tickets-56803479737[free
 tickets and more details]
 
-10th January 2020 Dawscon is a one day software development conference in 
Montreal, Canada. It will have several NetBeans enthusiastists speaking and at 
least one dedicated NetBeans talk. 
link::https://www.dawsoncollege.qc.ca/dawscon/
+10th January 2020 Dawscon is a one day software development conference in 
Montreal, Canada. It will have several NetBeans enthusiastists speaking and at 
least one dedicated NetBeans talk. link:https://www.dawsoncollege.qc.ca/dawscon/
 
 This is a link to the next Apache Community major events:
 
 [caption="Apache Current Event", 
link=https://www.apache.org/events/current-event.html]
 
image::https://www.apache.org/events/current-event-234x60.png[CurrentEvent,234,60]
 
-== Reviews and reports from previous NetBeans related events
-link::https://www.omnijava.com/2019/01/20/dawscon-2019/[Dawscon 2019 write-up]
-link::https://blog.idrsolutions.com/2018/04/key-takeaways-from-apache-netbeans-day-uk/[My
 Key Takeaways from Apache NetBeans Day UK]
+== Past NetBeans related events
+link:https://www.omnijava.com/2019/01/20/dawscon-2019/[Dawscon 2019 write-up]
+link:https://blog.idrsolutions.com/2018/04/key-takeaways-from-apache-netbeans-day-uk/[My
 Key Takeaways from Apache NetBeans Day UK 2018]
 
 == Apache Software Foundation Resources For Events And Conferences
 


-
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-website] branch asf-site updated: Automated site publishing by Jenkins build 791

2019-05-30 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/asf-site by this push:
 new eba0555  Automated site publishing by Jenkins build 791
eba0555 is described below

commit eba05554d12462da2bdacd8147cb10f5be6d846f
Author: jenkins 
AuthorDate: Thu May 30 16:29:38 2019 +

Automated site publishing by Jenkins build 791
---
 content/community/events.html | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/content/community/events.html b/content/community/events.html
index 35367fd..2dad276 100644
--- a/content/community/events.html
+++ b/content/community/events.html
@@ -87,7 +87,7 @@
 Upcoming 
NetBeans related events in 2019/2020
 
 
-Reviews and 
reports from previous NetBeans related events
+Past NetBeans related 
events
 Apache 
Software Foundation Resources For Events And Conferences
 
 
@@ -119,13 +119,13 @@
 
 Upcoming NetBeans 
related events in 2019/2020
 
-16-19th September 2019 Oracle CodeOne conference is Oracle’s big 
developer conference for Java and other languages. You have to pay to attend 
but there are lots of excellent talks. It takes place at the Moscone Center in 
San Francisco, USA. link::https://www.oracle.com/code-one/[CodeOne Website] 
Here are the NetBeans related talks 
link::https://events.rainfocus.com/widget/oracle/oow19/catalogcodeone19?search=netbeans[NetBeans
 specific talks]
+16-19th September 2019 Oracle CodeOne conference is Oracle’s big 
developer conference for Java and other languages. You have to pay to attend 
but there are lots of excellent talks. It takes place at the Moscone Center in 
San Francisco, USA. https://www.oracle.com/code-one/";>CodeOne 
Website Here are the NetBeans related talks https://events.rainfocus.com/widget/oracle/oow19/catalogcodeone19?search=netbeans";>NetBeans
 specific talks
 
 
-27th September 2019 Apache NetBeans Day 2019 UK is a free one day 
conference in  London, UK. 
link::https://www.eventbrite.co.uk/e/apache-netbeans-day-2019-uk-tickets-56803479737[free
 tickets and more details]
+27th September 2019 Apache NetBeans Day 2019 UK is a free one day 
conference in  London, UK. https://www.eventbrite.co.uk/e/apache-netbeans-day-2019-uk-tickets-56803479737";>free
 tickets and more details
 
 
-10th January 2020 Dawscon is a one day software development conference in 
Montreal, Canada. It will have several NetBeans enthusiastists speaking and at 
least one dedicated NetBeans talk. 
link::https://www.dawsoncollege.qc.ca/dawscon/
+10th January 2020 Dawscon is a one day software development conference in 
Montreal, Canada. It will have several NetBeans enthusiastists speaking and at 
least one dedicated NetBeans talk. 
link:https://www.dawsoncollege.qc.ca/dawscon/
 
 
 This is a link to the next Apache Community major events:
@@ -139,11 +139,11 @@
 
 
 
-Reviews 
and reports from previous NetBeans related events
+Past NetBeans related events
 
 
-link::https://www.omnijava.com/2019/01/20/dawscon-2019/[Dawscon 2019 
write-up]
-link::https://blog.idrsolutions.com/2018/04/key-takeaways-from-apache-netbeans-day-uk/[My
 Key Takeaways from Apache NetBeans Day UK]
+https://www.omnijava.com/2019/01/20/dawscon-2019/";>Dawscon 2019 
write-up
+https://blog.idrsolutions.com/2018/04/key-takeaways-from-apache-netbeans-day-uk/";>My
 Key Takeaways from Apache NetBeans Day UK 2018
 
 
 


-
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-2616) remove usage of getURL() as it's deprecated

2019-05-30 Thread Brad Walker (JIRA)
Brad Walker created NETBEANS-2616:
-

 Summary: remove usage of getURL() as it's deprecated
 Key: NETBEANS-2616
 URL: https://issues.apache.org/jira/browse/NETBEANS-2616
 Project: NetBeans
  Issue Type: Improvement
Reporter: Brad Walker


I've started trying to help the NetBeans community by making some improvements 
that reduce build cruft.

In particular, we are using getURL() and it's deprecated. Over ~ 160 deprecated 
messages are flagged as a result of it's usage..
{quote}   [repeat] 
/home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/saas/RestResourceGenerator.java:130:
 warning: [deprecation] getURL() in FileObject has been deprecated
   [repeat] WsdlModeler wsdlModeler = 
WsdlModelerFactory.getDefault().getWsdlModeler(localWsdl.getURL());
   [repeat] 
{quote}
In looking at getURL() in FileObject.java it says to use toURL(). So that's 
what I did..

Once I made this change, I also had to cleanup a bunch of try-catch errors..
{quote}   [repeat] 
/home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/nodes/JaxWsClientNode.java:451:
 error: exception FileStateInvalidException is never thrown in body of 
corresponding try statement
   [repeat] } catch (FileStateInvalidException ex) {
   [repeat]   ^
   [repeat] 
/home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/nodes/JaxWsClientNode.java:495:
 error: exception FileStateInvalidException is never thrown in body of 
corresponding try statement
   [repeat] } catch (FileStateInvalidException ex) {
   [repeat]
{quote}
This is becuase getURL() throws FileStateInvalidException exception but toURL() 
does not.

 

 

 

 

 



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



[jira] [Updated] (NETBEANS-2616) remove usage of getURL() as it's deprecated

2019-05-30 Thread ASF GitHub Bot (JIRA)


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

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

> remove usage of getURL() as it's deprecated
> ---
>
> Key: NETBEANS-2616
> URL: https://issues.apache.org/jira/browse/NETBEANS-2616
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Brad Walker
>Priority: Major
>  Labels: pull-request-available
>
> I've started trying to help the NetBeans community by making some 
> improvements that reduce build cruft.
> In particular, we are using getURL() and it's deprecated. Over ~ 160 
> deprecated messages are flagged as a result of it's usage..
> {quote}   [repeat] 
> /home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/saas/RestResourceGenerator.java:130:
>  warning: [deprecation] getURL() in FileObject has been deprecated
>    [repeat] WsdlModeler wsdlModeler = 
> WsdlModelerFactory.getDefault().getWsdlModeler(localWsdl.getURL());
>    [repeat] 
> {quote}
> In looking at getURL() in FileObject.java it says to use toURL(). So that's 
> what I did..
> Once I made this change, I also had to cleanup a bunch of try-catch errors..
> {quote}   [repeat] 
> /home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/nodes/JaxWsClientNode.java:451:
>  error: exception FileStateInvalidException is never thrown in body of 
> corresponding try statement
>    [repeat] } catch (FileStateInvalidException ex) {
>    [repeat]   ^
>    [repeat] 
> /home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/nodes/JaxWsClientNode.java:495:
>  error: exception FileStateInvalidException is never thrown in body of 
> corresponding try statement
>    [repeat] } catch (FileStateInvalidException ex) {
>    [repeat]
> {quote}
> This is becuase getURL() throws FileStateInvalidException exception but 
> toURL() does not.
>  
>  
>  
>  
>  



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



[jira] [Updated] (NETBEANS-2605) Prioritize icons to vectorize for HiDPI support

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2605:
--
Attachment: Prioritization Indication.png

> Prioritize icons to vectorize for HiDPI support
> ---
>
> Key: NETBEANS-2605
> URL: https://issues.apache.org/jira/browse/NETBEANS-2605
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: Prioritization Indication.png, effort_required.png
>
>
> As part of the higher-level 
> [effort|https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements]
>  to support HiDPI for the NetBeans IDE and for NetBeans Platform 
> applications, a commonly used subset of icons should be recreated using the 
> scalable SVG format (see NETBEANS-2604).
> As of 2019-05-27, there are 2740 unique files with extension 'png' or 'gif' 
> in non-test sources in the [NetBeans codebase's master 
> branch|https://github.com/apache/netbeans]. The page at 
> https://people.csail.mit.edu/ebakke/misc/netbeans-icons shows all of these 
> images. When there are multiple files with the same SHA256 checksum, only one 
> is shown.
> With some practice, it takes on average 30 minutes to create an SVG version 
> of a typical icon in Adobe Illustrator. See the attached illustration (and 
> [this Illustrator 
> template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai]).
>  Thus it's infeasible to do this for every icon in the codebase. Instead, 
> icons commonly seen on the screen during a typical NetBeans IDE session 
> should be prioritized.
> This issue tracks the task of providing a prioritized list of icons (with 
> file names) for which we should try to provide SVG versions. For example, in 
> prioritized order:
> # Every icon in the editor toolbar
> # Every icon in the application toolbar, with default NetBeans settings.
> # Icons used in the menu bar menus.
> # Any other icon seen on the screen when a blank NetBeans IDE installation is 
> started up.
> # Icons shown in the Projects pane when working with a simple Java project.
> # Icons shown in the Projects pane when working with a Java project in a git 
> repository.
> # etc.



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



[jira] [Commented] (NETBEANS-2605) Prioritize icons to vectorize for HiDPI support

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke commented on NETBEANS-2605:
---

While working on other icon rendering improvements, it was easy to instrument 
ImageUtilities to print out a list of icons painted. Here is a proposed 
prioritization:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

To verify that the list above covers most of the icons visible in the IDE, I 
further instrumented ImageUtilities to paint the priority number on top of each 
icon. The result can be seen in the attached screenshot ("Prioritization 
Indication.png").

> Prioritize icons to vectorize for HiDPI support
> ---
>
> Key: NETBEANS-2605
> URL: https://issues.apache.org/jira/browse/NETBEANS-2605
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: Prioritization Indication.png, effort_required.png
>
>
> As part of the higher-level 
> [effort|https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements]
>  to support HiDPI for the NetBeans IDE and for NetBeans Platform 
> applications, a commonly used subset of icons should be recreated using the 
> scalable SVG format (see NETBEANS-2604).
> As of 2019-05-27, there are 2740 unique files with extension 'png' or 'gif' 
> in non-test sources in the [NetBeans codebase's master 
> branch|https://github.com/apache/netbeans]. The page at 
> https://people.csail.mit.edu/ebakke/misc/netbeans-icons shows all of these 
> images. When there are multiple files with the same SHA256 checksum, only one 
> is shown.
> With some practice, it takes on average 30 minutes to create an SVG version 
> of a typical icon in Adobe Illustrator. See the attached illustration (and 
> [this Illustrator 
> template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai]).
>  Thus it's infeasible to do this for every icon in the codebase. Instead, 
> icons commonly seen on the screen during a typical NetBeans IDE session 
> should be prioritized.
> This issue tracks the task of providing a prioritized list of icons (with 
> file names) for which we should try to provide SVG versions. For example, in 
> prioritized order:
> # Every icon in the editor toolbar
> # Every icon in the application toolbar, with default NetBeans settings.
> # Icons used in the menu bar menus.
> # Any other icon seen on the screen when a blank NetBeans IDE installation is 
> started up.
> # Icons shown in the Projects pane when working with a simple Java project.
> # Icons shown in the Projects pane when working with a Java project in a git 
> repository.
> # etc.



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



[jira] [Resolved] (NETBEANS-2605) Prioritize icons to vectorize for HiDPI support

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke resolved NETBEANS-2605.
---
Resolution: Fixed

> Prioritize icons to vectorize for HiDPI support
> ---
>
> Key: NETBEANS-2605
> URL: https://issues.apache.org/jira/browse/NETBEANS-2605
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: Prioritization Indication.png, effort_required.png
>
>
> As part of the higher-level 
> [effort|https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements]
>  to support HiDPI for the NetBeans IDE and for NetBeans Platform 
> applications, a commonly used subset of icons should be recreated using the 
> scalable SVG format (see NETBEANS-2604).
> As of 2019-05-27, there are 2740 unique files with extension 'png' or 'gif' 
> in non-test sources in the [NetBeans codebase's master 
> branch|https://github.com/apache/netbeans]. The page at 
> https://people.csail.mit.edu/ebakke/misc/netbeans-icons shows all of these 
> images. When there are multiple files with the same SHA256 checksum, only one 
> is shown.
> With some practice, it takes on average 30 minutes to create an SVG version 
> of a typical icon in Adobe Illustrator. See the attached illustration (and 
> [this Illustrator 
> template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai]).
>  Thus it's infeasible to do this for every icon in the codebase. Instead, 
> icons commonly seen on the screen during a typical NetBeans IDE session 
> should be prioritized.
> This issue tracks the task of providing a prioritized list of icons (with 
> file names) for which we should try to provide SVG versions. For example, in 
> prioritized order:
> # Every icon in the editor toolbar
> # Every icon in the application toolbar, with default NetBeans settings.
> # Icons used in the menu bar menus.
> # Any other icon seen on the screen when a blank NetBeans IDE installation is 
> started up.
> # Icons shown in the Projects pane when working with a simple Java project.
> # Icons shown in the Projects pane when working with a Java project in a git 
> repository.
> # etc.



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



[jira] [Created] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)
Eirik Bakke created NETBEANS-2617:
-

 Summary: Redraw common icons in SVG
 Key: NETBEANS-2617
 URL: https://issues.apache.org/jira/browse/NETBEANS-2617
 Project: NetBeans
  Issue Type: Improvement
  Components: platform - Other
Affects Versions: 11.0
 Environment: Windows, Linux, and MacOS
Reporter: Eirik Bakke
 Attachments: effort_required.png

Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration (and [this 
Illustrator 
template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai]).

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .



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



[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Description: 
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration, and [this 
Illustrator 
template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
 The Illustrator template includes a few icons which have already been 
converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

  was:
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration (and [this 
Illustrator 
template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai]).

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .


> Redraw common icons in SVG
> --
>
> Key: NETBEANS-2617
> URL: https://issues.apache.org/jira/browse/NETBEANS-2617
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: effort_required.png
>
>
> Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
> icons with SVG versions, for improved appearance on Retina/HiDPI displays.
> With some practice, it takes on average 30 minutes to create an SVG version 
> of a typical icon in Adobe Illustrator. See the attached illustration, and 
> [this Illustrator 
> template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
>  The Illustrator template includes a few icons which have already been 
> converted.
> In NETBEANS-2605, the following prioritized list of icons to convert was 
> produced:
> https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html
> See also the overview page for HiDPI improvements on 
> https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
>  .



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



[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Description: 
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration, and [this 
Illustrator 
template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
 The Illustrator template includes a few icons which have already been 
converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

  was:
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration, and [this 
Illustrator 
template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
 The Illustrator template includes a few icons which have already been 
converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .


> Redraw common icons in SVG
> --
>
> Key: NETBEANS-2617
> URL: https://issues.apache.org/jira/browse/NETBEANS-2617
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: effort_required.png
>
>
> Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
> icons with SVG versions, for improved appearance on Retina/HiDPI displays.
> With some practice, it takes on average 30 minutes to create an SVG version 
> of a typical icon in Adobe Illustrator. See the attached illustration, and 
> [this Illustrator 
> template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
>  The Illustrator template includes a few icons which have already been 
> converted.
> In NETBEANS-2605, the following prioritized list of icons to convert was 
> produced:
> https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html
> By redrawing the most commonly seen icons first, we can get the greatest 
> "bang for the buck" in terms of improving NetBeans' appearance on HiDPI 
> displays.
> See also the overview page for HiDPI improvements on 
> https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
>  .



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



[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Description: 
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration, and [this 
Illustrator 
template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
 The Illustrator template includes a few icons which have already been 
converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Icons


  was:
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration, and [this 
Illustrator 
template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
 The Illustrator template includes a few icons which have already been 
converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .


> Redraw common icons in SVG
> --
>
> Key: NETBEANS-2617
> URL: https://issues.apache.org/jira/browse/NETBEANS-2617
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: effort_required.png
>
>
> Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
> icons with SVG versions, for improved appearance on Retina/HiDPI displays.
> With some practice, it takes on average 30 minutes to create an SVG version 
> of a typical icon in Adobe Illustrator. See the attached illustration, and 
> [this Illustrator 
> template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
>  The Illustrator template includes a few icons which have already been 
> converted.
> In NETBEANS-2605, the following prioritized list of icons to convert was 
> produced:
> https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html
> By redrawing the most commonly seen icons first, we can get the greatest 
> "bang for the buck" in terms of improving NetBeans' appearance on HiDPI 
> displays.
> See also the overview page for HiDPI improvements on 
> https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
>  .
> h2. Proposed Style Guide for Icons



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



[netbeans] branch master updated: [NETBEANS-2616] Remove get url deprecation

2019-05-30 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 8f0da0b  [NETBEANS-2616] Remove get url deprecation
8f0da0b is described below

commit 8f0da0b57f03751df5415c50bda4acd5dbc6c5b9
Author: Brad Walker 
AuthorDate: Thu May 30 10:38:26 2019 -0600

[NETBEANS-2616] Remove get url deprecation

One of those deprecated warnings is "getURL() in FileObject has been 
deprecated".
This work is simply to remove these warnings and make the build less noisy.
---
 .../modules/j2ee/dd/api/client/DDProvider.java | 26 +++
 .../modules/j2ee/dd/api/web/DDProvider.java| 42 +--
 .../dd/impl/web/metadata/WebAppMetadataImpl.java   |  9 +--
 .../query/J2eePlatformJavadocForBinaryQuery.java   | 15 +---
 .../sharability/JavadocForBinaryQueryImpl.java | 15 +---
 .../impl/sharability/SourceForBinaryQueryImpl.java |  8 +--
 .../jaxws/client/ProjectJAXWSClientSupport.java| 84 ++
 .../websvc/core/jaxws/nodes/JaxWsChildren.java | 12 ++--
 .../websvc/core/jaxws/nodes/JaxWsClientNode.java   | 32 -
 .../websvc/jaxws/spi/ProjectJAXWSSupport.java  |  6 +-
 .../modules/websvc/rest/support/Utils.java |  6 +-
 .../tools/ant/module/xml/AntProjectSupport.java| 19 ++---
 .../modules/groovy/editor/api/GroovyIndexer.java   | 10 +--
 .../plugins/PackageDeleteRefactoringPlugin.java| 13 +---
 .../modules/tasklist/impl/TaskManagerImpl.java | 35 +
 .../dbschema/jdbcimpl/DBschemaDataObject.java  |  6 +-
 .../modules/form/editors/CustomIconEditor.java |  8 +--
 .../modules/i18n/form/I18nServiceImpl.java |  4 +-
 .../java/editor/overridden/ComputeOverriders.java  | 25 ++-
 .../modules/java/freeform/JavaActions.java |  4 +-
 .../netbeans/modules/java/freeform/TestQuery.java  | 14 +---
 .../queries/SourceJavadocAttacherUtil.java |  4 +-
 .../netbeans/api/java/source/TreePathHandle.java   | 37 +++---
 .../modules/java/classfile/CodeGenerator.java  |  4 +-
 .../java/source/tasklist/IncorrectErrorBadges.java |  6 +-
 .../saas/codegen/java/support/LibrariesHelper.java |  2 +-
 .../openide/loaders/FileEntityResolver.java| 26 +++
 .../src/org/openide/loaders/DataShadow.java|  6 +-
 .../openide/loaders/XMLDataObjectInfoParser.java   |  9 +--
 .../providers/ProfilerStorageProviderImpl.java |  2 +-
 .../projectsupport/utilities/AppletSupport.java| 54 +++---
 31 files changed, 210 insertions(+), 333 deletions(-)

diff --git 
a/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/client/DDProvider.java
 
b/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/client/DDProvider.java
index 269632f..f3c8b7d 100644
--- 
a/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/client/DDProvider.java
+++ 
b/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/api/client/DDProvider.java
@@ -118,14 +118,14 @@ public final class DDProvider {
 // preparsing
 error = ClientParseUtils.parse(fo);
 original = DDUtils.createAppClient(fo, version);
-baseBeanMap.put(fo.getURL(), new 
WeakReference(original));
-errorMap.put(fo.getURL(), error);
+baseBeanMap.put(fo.toURL(), new 
WeakReference(original));
+errorMap.put(fo.toURL(), error);
 } else {
 BigDecimal orgVersion = original.getVersion();
 if (orgVersion != null){
 version = orgVersion.toPlainString();
 }
-error = errorMap.get(fo.getURL());
+error = errorMap.get(fo.toURL());
 }
 }
 appClient = new AppClientProxy(original, version);
@@ -147,7 +147,7 @@ public final class DDProvider {
 if (cached != null) {
 return cached;
 }
-ddMap.put(fo.getURL(), new 
WeakReference(appClient));
+ddMap.put(fo.toURL(), new 
WeakReference(appClient));
 }
 return appClient;
 }
@@ -168,26 +168,26 @@ public final class DDProvider {
 if (fo == null) {
 return null;
 }
-WeakReference wr = ddMap.get(fo.getURL());
+WeakReference wr = ddMap.get(fo.toURL());
 if (wr == null) {
 return null;
 }
 AppClientProxy appClient = wr.get();
 if (appClient == null) {
-ddMap.remove(fo.getURL());
+ddMap.remove(fo.toURL());
 }
 return appClient;
 }
 
 private AppClient getOriginalFromCache(FileObject fo) throws IOException {
-WeakReference wr = baseBeanMap.get(fo.getURL());
+WeakReference wr = baseBeanMap.get(fo.toURL());
 

[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Description: 
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration. The 
Illustrator template includes a few icons which have already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See [this Illustrator 
template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
 (Adobe Illustrator comes with a free 7-day trial, after which it's $35/month. 
If cost is a problem but you want to contribute your time to draw icons, ask 
Eirik...)
* For each icon to be vectorized, place the old bitmap version of the icon in 
the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
version on top.
* Since most of the existing NetBeans icons follow a quite consistent visual 
style, and to simplify the job of creating new icons, it is best to keep the 
shape of the new vectorized icons the same as in the old bitmap icons. For 
instance, a rectangle of size 5x4px in the bitmap icon should probably become a 
rectangle of 5x4px in the vector version.
* Keep the same general colors in vectorized icons as in the corresponding old 
bitmap icons. (The color scheme is not too hard to change later, but we should 
do this only once most of the IDE icons have been vectorized.)
* If the old bitmap icon is complex, it is fine to simplify it a bit when 
drawing vectorized versions.
* Omit gradients and unnecessary drop shadows. They take more time to draw, and 
are now "out of fashion" in any case.
* Use a stroke width of 1px around the main shapes in the icon, like in the 
existing bitmap icons. The new icons should look consistent with the existing 
bitmap icons, especially since we may see bitmap icons and vector icons 
side-by-side for a long time. Within shapes, 0.5px strokes can be used for 
finer details.
* The 1px strokes that outline the icon's shapes should typically be 33% 
transparent black, or of similar darkness. See the examples in the attached 
"effort_required.png" file.
* Horizontal and vertical strokes must be aligned to the pixel grid.
* It's OK to "outline" strokes for the purposes of applying boolean operations 
(e.g. subtracting another shape) and such.
* For toolbar icons, which exist in both 16x16 and 24x24 sizes, base the vector 
version on the smaller 16x16 one, which is sometimes simpler. (This is already 
done in the prioritized icon list above.)


  was:
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration, and [this 
Illustrator 
template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
 The Illustrator template includes a few icons which have already been 
converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Icons



> Redraw common icons in SVG
> --
>
> Key: NETBEANS-2617
> URL: https://issues.apache.org/jira/browse/NETBEANS-2617
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: effort_required.png
>
>
> Once NETBEANS-2604 is done, we should start replacing commonly seen NetB

[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Description: 
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration and 
Illustrator template. The Illustrator template includes a few icons which have 
already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See the attached 
Illustrator template. (Adobe Illustrator comes with a free 7-day trial, after 
which it's $35/month. If cost is a problem but you want to contribute your time 
to draw icons, ask Eirik...)
* For each icon to be vectorized, place the old bitmap version of the icon in 
the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
version on top.
* Since most of the existing NetBeans icons follow a quite consistent visual 
style, and to simplify the job of creating new icons, it is best to keep the 
shape of the new vectorized icons the same as in the old bitmap icons. For 
instance, a rectangle of size 5x4px in the bitmap icon should probably become a 
rectangle of 5x4px in the vector version.
* Keep the same general colors in vectorized icons as in the corresponding old 
bitmap icons. (The color scheme is not too hard to change later, but we should 
do this only once most of the IDE icons have been vectorized.)
* If the old bitmap icon is complex, it is fine to simplify it a bit when 
drawing vectorized versions.
* Omit gradients and unnecessary drop shadows. They take more time to draw, and 
are now "out of fashion" in any case.
* Use a stroke width of 1px around the main shapes in the icon, like in the 
existing bitmap icons. The new icons should look consistent with the existing 
bitmap icons, especially since we may see bitmap icons and vector icons 
side-by-side for a long time. Within shapes, 0.5px strokes can be used for 
finer details.
* The 1px strokes that outline the icon's shapes should typically be 33% 
transparent black, or of similar darkness. See the examples in the attached 
"effort_required.png" file.
* Horizontal and vertical strokes must be aligned to the pixel grid.
* It's OK to "outline" strokes for the purposes of applying boolean operations 
(e.g. subtracting another shape) and such.
* For toolbar icons, which exist in both 16x16 and 24x24 sizes, base the vector 
version on the smaller 16x16 one, which is sometimes simpler. (This is already 
done in the prioritized icon list above.)


  was:
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration. The 
Illustrator template includes a few icons which have already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See [this Illustrator 
template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
 (Adobe Illustrator comes with a free 7-day trial, after which it's $35/month. 
If cost is a problem but you want to contribute your time to draw icons, ask 
Eirik...)
* For each icon to be vectorized, place the old bitmap version of the icon in 
the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
version on top.
* Since most of the existing NetBeans icons follow a quite consistent visual 
style, and to simplify the job of creating new icons, it is best to keep the 

[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Attachment: netbeans_icons_illustrator_template.ai

> Redraw common icons in SVG
> --
>
> Key: NETBEANS-2617
> URL: https://issues.apache.org/jira/browse/NETBEANS-2617
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: effort_required.png, 
> netbeans_icons_illustrator_template.ai
>
>
> Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
> icons with SVG versions, for improved appearance on Retina/HiDPI displays.
> With some practice, it takes on average 30 minutes to create an SVG version 
> of a typical icon in Adobe Illustrator. See the attached illustration. The 
> Illustrator template includes a few icons which have already been converted.
> In NETBEANS-2605, the following prioritized list of icons to convert was 
> produced:
> https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html
> By redrawing the most commonly seen icons first, we can get the greatest 
> "bang for the buck" in terms of improving NetBeans' appearance on HiDPI 
> displays.
> See also the overview page for HiDPI improvements on 
> https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
>  .
> h2. Proposed Style Guide for Vectorized Icons
> * Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
> named artboard, sized to the correct size in pixels. See [this Illustrator 
> template|https://people.csail.mit.edu/ebakke/misc/netbeans-icons/netbeans_icons_illustrator_template.ai].
>  (Adobe Illustrator comes with a free 7-day trial, after which it's 
> $35/month. If cost is a problem but you want to contribute your time to draw 
> icons, ask Eirik...)
> * For each icon to be vectorized, place the old bitmap version of the icon in 
> the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
> version on top.
> * Since most of the existing NetBeans icons follow a quite consistent visual 
> style, and to simplify the job of creating new icons, it is best to keep the 
> shape of the new vectorized icons the same as in the old bitmap icons. For 
> instance, a rectangle of size 5x4px in the bitmap icon should probably become 
> a rectangle of 5x4px in the vector version.
> * Keep the same general colors in vectorized icons as in the corresponding 
> old bitmap icons. (The color scheme is not too hard to change later, but we 
> should do this only once most of the IDE icons have been vectorized.)
> * If the old bitmap icon is complex, it is fine to simplify it a bit when 
> drawing vectorized versions.
> * Omit gradients and unnecessary drop shadows. They take more time to draw, 
> and are now "out of fashion" in any case.
> * Use a stroke width of 1px around the main shapes in the icon, like in the 
> existing bitmap icons. The new icons should look consistent with the existing 
> bitmap icons, especially since we may see bitmap icons and vector icons 
> side-by-side for a long time. Within shapes, 0.5px strokes can be used for 
> finer details.
> * The 1px strokes that outline the icon's shapes should typically be 33% 
> transparent black, or of similar darkness. See the examples in the attached 
> "effort_required.png" file.
> * Horizontal and vertical strokes must be aligned to the pixel grid.
> * It's OK to "outline" strokes for the purposes of applying boolean 
> operations (e.g. subtracting another shape) and such.
> * For toolbar icons, which exist in both 16x16 and 24x24 sizes, base the 
> vector version on the smaller 16x16 one, which is sometimes simpler. (This is 
> already done in the prioritized icon list above.)



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



[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Description: 
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration and 
Illustrator template. The Illustrator template includes a few icons which have 
already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See the attached 
Illustrator template. (Adobe Illustrator comes with a free 7-day trial, after 
which it's $35/month. If cost is a problem but you want to contribute your time 
to draw icons, ask Eirik...)
* For each icon to be vectorized, place the old bitmap version of the icon in 
the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
version on top.
* Since most of the existing NetBeans icons follow a quite consistent visual 
style, and to simplify the job of creating new icons, it is best to keep the 
shape of the new vectorized icons the same as in the old bitmap icons. For 
instance, a rectangle of size 5x4px in the bitmap icon should probably become a 
rectangle of 5x4px in the vector version.
* Keep the same general colors in vectorized icons as in the corresponding old 
bitmap icons. (The color scheme is not too hard to change later, but we should 
do this only once most of the IDE icons have been vectorized.)
* If the old bitmap icon is complex, it is fine to simplify it a bit when 
drawing vectorized versions.
* Omit gradients and unnecessary drop shadows. They take more time to draw, and 
are now "out of fashion" in any case.
* Use a stroke width of 1px around the main shapes in the icon, like in the 
existing bitmap icons. The new icons should look consistent with the existing 
bitmap icons, especially since we may see bitmap icons and vector icons 
side-by-side for a long time. Within shapes, 0.5px strokes can be used for 
finer details.
* The 1px strokes that outline the icon's shapes should typically be 33% 
transparent black, or of similar darkness. See the examples in the attached 
"style example.png" file.
* Horizontal and vertical strokes must be aligned to the pixel grid.
* It's OK to "outline" strokes for the purposes of applying boolean operations 
(e.g. subtracting another shape) and such.
* For toolbar icons, which exist in both 16x16 and 24x24 sizes, base the vector 
version on the smaller 16x16 one, which is sometimes simpler. (This is already 
done in the prioritized icon list above.)


  was:
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration and 
Illustrator template. The Illustrator template includes a few icons which have 
already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See the attached 
Illustrator template. (Adobe Illustrator comes with a free 7-day trial, after 
which it's $35/month. If cost is a problem but you want to contribute your time 
to draw icons, ask Eirik...)
* For each icon to be vectorized, place the old bitmap version of the icon in 
the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
version on top.
* Since most of the existing NetBeans icons follow a quite consistent visual 
style, and to simplify the job of creating new icons, it is best to keep the 
shape of the new vectorized icons the same as in the old bitmap i

[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Attachment: (was: effort_required.png)

> Redraw common icons in SVG
> --
>
> Key: NETBEANS-2617
> URL: https://issues.apache.org/jira/browse/NETBEANS-2617
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: netbeans_icons_illustrator_template.ai, style example.png
>
>
> Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
> icons with SVG versions, for improved appearance on Retina/HiDPI displays.
> With some practice, it takes on average 30 minutes to create an SVG version 
> of a typical icon in Adobe Illustrator. See the attached illustration and 
> Illustrator template. The Illustrator template includes a few icons which 
> have already been converted.
> In NETBEANS-2605, the following prioritized list of icons to convert was 
> produced:
> https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html
> By redrawing the most commonly seen icons first, we can get the greatest 
> "bang for the buck" in terms of improving NetBeans' appearance on HiDPI 
> displays.
> See also the overview page for HiDPI improvements on 
> https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
>  .
> h2. Proposed Style Guide for Vectorized Icons
> * Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
> named artboard, sized to the correct size in pixels. See the attached 
> Illustrator template. (Adobe Illustrator comes with a free 7-day trial, after 
> which it's $35/month. If cost is a problem but you want to contribute your 
> time to draw icons, ask Eirik...)
> * For each icon to be vectorized, place the old bitmap version of the icon in 
> the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
> version on top.
> * Since most of the existing NetBeans icons follow a quite consistent visual 
> style, and to simplify the job of creating new icons, it is best to keep the 
> shape of the new vectorized icons the same as in the old bitmap icons. For 
> instance, a rectangle of size 5x4px in the bitmap icon should probably become 
> a rectangle of 5x4px in the vector version.
> * Keep the same general colors in vectorized icons as in the corresponding 
> old bitmap icons. (The color scheme is not too hard to change later, but we 
> should do this only once most of the IDE icons have been vectorized.)
> * If the old bitmap icon is complex, it is fine to simplify it a bit when 
> drawing vectorized versions.
> * Omit gradients and unnecessary drop shadows. They take more time to draw, 
> and are now "out of fashion" in any case.
> * Use a stroke width of 1px around the main shapes in the icon, like in the 
> existing bitmap icons. The new icons should look consistent with the existing 
> bitmap icons, especially since we may see bitmap icons and vector icons 
> side-by-side for a long time. Within shapes, 0.5px strokes can be used for 
> finer details.
> * The 1px strokes that outline the icon's shapes should typically be 33% 
> transparent black, or of similar darkness. See the examples in the attached 
> "effort_required.png" file.
> * Horizontal and vertical strokes must be aligned to the pixel grid.
> * It's OK to "outline" strokes for the purposes of applying boolean 
> operations (e.g. subtracting another shape) and such.
> * For toolbar icons, which exist in both 16x16 and 24x24 sizes, base the 
> vector version on the smaller 16x16 one, which is sometimes simpler. (This is 
> already done in the prioritized icon list above.)



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



[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Attachment: style example.png

> Redraw common icons in SVG
> --
>
> Key: NETBEANS-2617
> URL: https://issues.apache.org/jira/browse/NETBEANS-2617
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: netbeans_icons_illustrator_template.ai, style example.png
>
>
> Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
> icons with SVG versions, for improved appearance on Retina/HiDPI displays.
> With some practice, it takes on average 30 minutes to create an SVG version 
> of a typical icon in Adobe Illustrator. See the attached illustration and 
> Illustrator template. The Illustrator template includes a few icons which 
> have already been converted.
> In NETBEANS-2605, the following prioritized list of icons to convert was 
> produced:
> https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html
> By redrawing the most commonly seen icons first, we can get the greatest 
> "bang for the buck" in terms of improving NetBeans' appearance on HiDPI 
> displays.
> See also the overview page for HiDPI improvements on 
> https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
>  .
> h2. Proposed Style Guide for Vectorized Icons
> * Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
> named artboard, sized to the correct size in pixels. See the attached 
> Illustrator template. (Adobe Illustrator comes with a free 7-day trial, after 
> which it's $35/month. If cost is a problem but you want to contribute your 
> time to draw icons, ask Eirik...)
> * For each icon to be vectorized, place the old bitmap version of the icon in 
> the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
> version on top.
> * Since most of the existing NetBeans icons follow a quite consistent visual 
> style, and to simplify the job of creating new icons, it is best to keep the 
> shape of the new vectorized icons the same as in the old bitmap icons. For 
> instance, a rectangle of size 5x4px in the bitmap icon should probably become 
> a rectangle of 5x4px in the vector version.
> * Keep the same general colors in vectorized icons as in the corresponding 
> old bitmap icons. (The color scheme is not too hard to change later, but we 
> should do this only once most of the IDE icons have been vectorized.)
> * If the old bitmap icon is complex, it is fine to simplify it a bit when 
> drawing vectorized versions.
> * Omit gradients and unnecessary drop shadows. They take more time to draw, 
> and are now "out of fashion" in any case.
> * Use a stroke width of 1px around the main shapes in the icon, like in the 
> existing bitmap icons. The new icons should look consistent with the existing 
> bitmap icons, especially since we may see bitmap icons and vector icons 
> side-by-side for a long time. Within shapes, 0.5px strokes can be used for 
> finer details.
> * The 1px strokes that outline the icon's shapes should typically be 33% 
> transparent black, or of similar darkness. See the examples in the attached 
> "effort_required.png" file.
> * Horizontal and vertical strokes must be aligned to the pixel grid.
> * It's OK to "outline" strokes for the purposes of applying boolean 
> operations (e.g. subtracting another shape) and such.
> * For toolbar icons, which exist in both 16x16 and 24x24 sizes, base the 
> vector version on the smaller 16x16 one, which is sometimes simpler. (This is 
> already done in the prioritized icon list above.)



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



[jira] [Updated] (NETBEANS-2004) No real Support for Gradle Modular Projects.

2019-05-30 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-2004:
--
Attachment: Screenshot from 2019-05-30 13-21-55.png

> No real Support for Gradle Modular Projects.
> 
>
> Key: NETBEANS-2004
> URL: https://issues.apache.org/jira/browse/NETBEANS-2004
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20190127-unknown-revn)
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7
> Runtime: OpenJDK Runtime Environment 11.0.2+7
>Reporter: Jose Pereda
>Assignee: Laszlo Kishalmi
>Priority: Critical
> Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de 
> pantalla 2019-01-27 a las 19.55.13.png, Screenshot from 2019-05-30 
> 13-21-55.png, gradleJava.zip
>
>
> Opening a gradle non-modular project works fine, but when the project is 
> modular, it shows errors all over the place.
> However, Clean, Build, Run, or any of the gradle tasks work fine. 
> !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789!
>  
> See OpenJFX samples 
> [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx]
>  and 
> [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx].
>  



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



[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Description: 
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration and 
Illustrator template. The Illustrator template includes a few icons which have 
already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See the attached 
Illustrator template. (Adobe Illustrator comes with a free 7-day trial, after 
which it's $35/month. If cost is a problem but you want to contribute your time 
to draw icons, ask Eirik...)
* For each icon to be vectorized, place the old bitmap version of the icon in 
the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
version on top.
* Since most of the existing NetBeans icons follow a quite consistent visual 
style, and to simplify the job of creating new icons, it is best to keep the 
shape of the new vectorized icons the same as in the old bitmap icons. For 
instance, a rectangle of size 5x4px in the bitmap icon should probably become a 
rectangle of 5x4px in the vector version.
* Keep the same general colors in vectorized icons as in the corresponding old 
bitmap icons. (The color scheme is not too hard to change later, but we should 
do this only once most of the IDE icons have been vectorized.)
* If the old bitmap icon is complex, it is fine to simplify it a bit when 
drawing vectorized versions.
* Omit gradients and unnecessary drop shadows. They take more time to draw, and 
are now "out of fashion" in any case.
* Use a stroke width of 1px around the main shapes in the icon, like in the 
existing bitmap icons. The new icons should look consistent with the existing 
bitmap icons, especially since we may see bitmap icons and vector icons 
side-by-side for a long time. Within shapes, 0.5px strokes can be used for 
finer details.
* The 1px strokes that outline the icon's shapes should typically be 33% 
transparent black on top of the shape's background color, or of similar 
darkness. See the examples in the attached "style example.png" file.
* Horizontal and vertical strokes must be aligned to the pixel grid.
* It's OK to "outline" strokes for the purposes of applying boolean operations 
(e.g. subtracting another shape) and such.
* For toolbar icons, which exist in both 16x16 and 24x24 sizes, base the vector 
version on the smaller 16x16 one, which is sometimes simpler. (This is already 
done in the prioritized icon list above.)


  was:
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration and 
Illustrator template. The Illustrator template includes a few icons which have 
already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See the attached 
Illustrator template. (Adobe Illustrator comes with a free 7-day trial, after 
which it's $35/month. If cost is a problem but you want to contribute your time 
to draw icons, ask Eirik...)
* For each icon to be vectorized, place the old bitmap version of the icon in 
the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
version on top.
* Since most of the existing NetBeans icons follow a quite consistent visual 
style, and to simplify the job of creating new icons, it is best to keep the 
shape of the new vectorize

[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.

2019-05-30 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2004:
---

!Screenshot from 2019-05-30 13-21-55.png!

> No real Support for Gradle Modular Projects.
> 
>
> Key: NETBEANS-2004
> URL: https://issues.apache.org/jira/browse/NETBEANS-2004
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20190127-unknown-revn)
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7
> Runtime: OpenJDK Runtime Environment 11.0.2+7
>Reporter: Jose Pereda
>Assignee: Laszlo Kishalmi
>Priority: Critical
> Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de 
> pantalla 2019-01-27 a las 19.55.13.png, Screenshot from 2019-05-30 
> 13-21-55.png, gradleJava.zip
>
>
> Opening a gradle non-modular project works fine, but when the project is 
> modular, it shows errors all over the place.
> However, Clean, Build, Run, or any of the gradle tasks work fine. 
> !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789!
>  
> See OpenJFX samples 
> [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx]
>  and 
> [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx].
>  



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



[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.

2019-05-30 Thread Jose Pereda (JIRA)


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

Jose Pereda commented on NETBEANS-2004:
---

Looks good!!

> No real Support for Gradle Modular Projects.
> 
>
> Key: NETBEANS-2004
> URL: https://issues.apache.org/jira/browse/NETBEANS-2004
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20190127-unknown-revn)
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7
> Runtime: OpenJDK Runtime Environment 11.0.2+7
>Reporter: Jose Pereda
>Assignee: Laszlo Kishalmi
>Priority: Critical
> Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de 
> pantalla 2019-01-27 a las 19.55.13.png, Screenshot from 2019-05-30 
> 13-21-55.png, gradleJava.zip
>
>
> Opening a gradle non-modular project works fine, but when the project is 
> modular, it shows errors all over the place.
> However, Clean, Build, Run, or any of the gradle tasks work fine. 
> !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789!
>  
> See OpenJFX samples 
> [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx]
>  and 
> [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx].
>  



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



[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.

2019-05-30 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2004:
---

This was the first trial after implementing the ClassPath support for Java 
Modularity. The implementation is based mostly how the Maven plugin does that. 
I'm not sure if that is the way to do it. it seems to have some redundancy in 
the classpath definitions there. But seems to work at first sight. Some 
additional work is required before I could make a PR out of this.

> No real Support for Gradle Modular Projects.
> 
>
> Key: NETBEANS-2004
> URL: https://issues.apache.org/jira/browse/NETBEANS-2004
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20190127-unknown-revn)
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7
> Runtime: OpenJDK Runtime Environment 11.0.2+7
>Reporter: Jose Pereda
>Assignee: Laszlo Kishalmi
>Priority: Critical
> Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de 
> pantalla 2019-01-27 a las 19.55.13.png, Screenshot from 2019-05-30 
> 13-21-55.png, gradleJava.zip
>
>
> Opening a gradle non-modular project works fine, but when the project is 
> modular, it shows errors all over the place.
> However, Clean, Build, Run, or any of the gradle tasks work fine. 
> !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789!
>  
> See OpenJFX samples 
> [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx]
>  and 
> [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx].
>  



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



[jira] [Resolved] (NETBEANS-2616) remove usage of getURL() as it's deprecated

2019-05-30 Thread Brad Walker (JIRA)


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

Brad Walker resolved NETBEANS-2616.
---
Resolution: Fixed
  Assignee: Brad Walker

Fixed as part of change

https://github.com/apache/netbeans/commit/8f0da0b57f03751df5415c50bda4acd5dbc6c5b9

> remove usage of getURL() as it's deprecated
> ---
>
> Key: NETBEANS-2616
> URL: https://issues.apache.org/jira/browse/NETBEANS-2616
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I've started trying to help the NetBeans community by making some 
> improvements that reduce build cruft.
> In particular, we are using getURL() and it's deprecated. Over ~ 160 
> deprecated messages are flagged as a result of it's usage..
> {quote}   [repeat] 
> /home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/saas/RestResourceGenerator.java:130:
>  warning: [deprecation] getURL() in FileObject has been deprecated
>    [repeat] WsdlModeler wsdlModeler = 
> WsdlModelerFactory.getDefault().getWsdlModeler(localWsdl.getURL());
>    [repeat] 
> {quote}
> In looking at getURL() in FileObject.java it says to use toURL(). So that's 
> what I did..
> Once I made this change, I also had to cleanup a bunch of try-catch errors..
> {quote}   [repeat] 
> /home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/nodes/JaxWsClientNode.java:451:
>  error: exception FileStateInvalidException is never thrown in body of 
> corresponding try statement
>    [repeat] } catch (FileStateInvalidException ex) {
>    [repeat]   ^
>    [repeat] 
> /home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/nodes/JaxWsClientNode.java:495:
>  error: exception FileStateInvalidException is never thrown in body of 
> corresponding try statement
>    [repeat] } catch (FileStateInvalidException ex) {
>    [repeat]
> {quote}
> This is becuase getURL() throws FileStateInvalidException exception but 
> toURL() does not.
>  
>  
>  
>  
>  



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



[jira] [Closed] (NETBEANS-2616) remove usage of getURL() as it's deprecated

2019-05-30 Thread Brad Walker (JIRA)


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

Brad Walker closed NETBEANS-2616.
-

Integrated..

> remove usage of getURL() as it's deprecated
> ---
>
> Key: NETBEANS-2616
> URL: https://issues.apache.org/jira/browse/NETBEANS-2616
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I've started trying to help the NetBeans community by making some 
> improvements that reduce build cruft.
> In particular, we are using getURL() and it's deprecated. Over ~ 160 
> deprecated messages are flagged as a result of it's usage..
> {quote}   [repeat] 
> /home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/saas/RestResourceGenerator.java:130:
>  warning: [deprecation] getURL() in FileObject has been deprecated
>    [repeat] WsdlModeler wsdlModeler = 
> WsdlModelerFactory.getDefault().getWsdlModeler(localWsdl.getURL());
>    [repeat] 
> {quote}
> In looking at getURL() in FileObject.java it says to use toURL(). So that's 
> what I did..
> Once I made this change, I also had to cleanup a bunch of try-catch errors..
> {quote}   [repeat] 
> /home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/nodes/JaxWsClientNode.java:451:
>  error: exception FileStateInvalidException is never thrown in body of 
> corresponding try statement
>    [repeat] } catch (FileStateInvalidException ex) {
>    [repeat]   ^
>    [repeat] 
> /home/bwalker/netbeans-11.0/enterprise/websvc.core/src/org/netbeans/modules/websvc/core/jaxws/nodes/JaxWsClientNode.java:495:
>  error: exception FileStateInvalidException is never thrown in body of 
> corresponding try statement
>    [repeat] } catch (FileStateInvalidException ex) {
>    [repeat]
> {quote}
> This is becuase getURL() throws FileStateInvalidException exception but 
> toURL() does not.
>  
>  
>  
>  
>  



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



[jira] [Commented] (NETBEANS-2515) cleanup the build issues

2019-05-30 Thread Brad Walker (JIRA)


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

Brad Walker commented on NETBEANS-2515:
---

NETBEANS-2616

- remove usage of getURL() as it's deprecated - (mostly fixed)

> cleanup the build issues
> 
>
> Key: NETBEANS-2515
> URL: https://issues.apache.org/jira/browse/NETBEANS-2515
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Brad Walker
>Priority: Major
>
> The build process has a lot of errors/warnings.
> I've created this Jira to track all the issues related to cleaning up
> The first canidate is: NETBEANS-2514



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



[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Description: 
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration and 
Illustrator template. The Illustrator template includes a few icons which have 
already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays. 
Note that in cases where an icon file has been copied around to various places 
in the NetBeans codebase, only one of the paths is shown in the list above.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See the attached 
Illustrator template. (Adobe Illustrator comes with a free 7-day trial, after 
which it's $35/month. If cost is a problem but you want to contribute your time 
to draw icons, ask Eirik...)
* For each icon to be vectorized, place the old bitmap version of the icon in 
the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
version on top.
* Since most of the existing NetBeans icons follow a quite consistent visual 
style, and to simplify the job of creating new icons, it is best to keep the 
shape of the new vectorized icons the same as in the old bitmap icons. For 
instance, a rectangle of size 5x4px in the bitmap icon should probably become a 
rectangle of 5x4px in the vector version.
* Keep the same general colors in vectorized icons as in the corresponding old 
bitmap icons. (The color scheme is not too hard to change later, but we should 
do this only once most of the IDE icons have been vectorized.)
* If the old bitmap icon is complex, it is fine to simplify it a bit when 
drawing vectorized versions.
* Omit gradients and unnecessary drop shadows. They take more time to draw, and 
are now "out of fashion" in any case.
* Use a stroke width of 1px around the main shapes in the icon, like in the 
existing bitmap icons. The new icons should look consistent with the existing 
bitmap icons, especially since we may see bitmap icons and vector icons 
side-by-side for a long time. Within shapes, 0.5px strokes can be used for 
finer details.
* The 1px strokes that outline the icon's shapes should typically be 33% 
transparent black on top of the shape's background color, or of similar 
darkness. See the examples in the attached "style example.png" file.
* Horizontal and vertical strokes must be aligned to the pixel grid.
* It's OK to "outline" strokes for the purposes of applying boolean operations 
(e.g. subtracting another shape) and such.
* For toolbar icons, which exist in both 16x16 and 24x24 sizes, base the vector 
version on the smaller 16x16 one, which is sometimes simpler. (This is already 
done in the prioritized icon list above.)


  was:
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration and 
Illustrator template. The Illustrator template includes a few icons which have 
already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See the attached 
Illustrator template. (Adobe Illustrator comes with a free 7-day trial, after 
which it's $35/month. If cost is a problem but you want to contribute your time 
to draw icons, ask Eirik...)
* For each icon to be vectorized, place the old bitmap version of the icon in 
the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
version on top.
* Since most of the exist

[jira] [Updated] (NETBEANS-2614) Improve icon scaling on HiDPI displays, and prepare ImageUtilities for HiDPI icons.

2019-05-30 Thread ASF GitHub Bot (JIRA)


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

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

> Improve icon scaling on HiDPI displays, and prepare ImageUtilities for HiDPI 
> icons.
> ---
>
> Key: NETBEANS-2614
> URL: https://issues.apache.org/jira/browse/NETBEANS-2614
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 11.0
> Environment: Windows, Linux, and MacOS.
>Reporter: Eirik Bakke
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, pull-request-available
> Attachments: Windows 150pct HiDPI Scaling, After Patch.png, Windows 
> 150pct HiDPI Scaling, Before Patch.png, Windows 200pct HiDPI Scaling, After 
> Patch.png, Windows 200pct HiDPI Scaling, Before Patch.png
>
>
> To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans 
> Platform (RCP) applications, will eventually need to provide high-resolution 
> versions of various image asset (typically icons). In the shorter term, there 
> are also a few tricks that can be applied to make the existing low-resolution 
> icons render better on HiDPI monitors, such as setting 
> RenderingHints.VALUE_INTERPOLATION_BICUBIC before painting each icon. See the 
> attached before/after screenshots to see the difference (be sure to view the 
> screenshots at 100% scaling).
> Throughout the NetBeans codebase, two different APIs are used interchangeably 
> to represent icon: javax.swing.Icon and java.awt.Image. The NetBeans 
> ImageUtilities class provides methods for loading either, and for converting 
> instances of one to instances the other.
> Having now implementing scalable window system icons (NETBEANS-1238, 
> NETBEANS-1260), prototype SVG icon loading (NETBEANS-2604), and a 
> HiDPI-enabled splash screen ( https://github.com/apache/netbeans/pull/1246 ), 
> the following design seems the most feasible:
> # Scalable icon implementations (such as VectorIcon or a future SVGIcon) 
> should be implemented as custom implementations of the javax.swing.Icon 
> interface.
> # The various methods in ImageUtilities should be updated to preserve custom 
> Icon instances even as an Icon is converted to an Image and back (i.e. make 
> image2Icon(icon2image(icon)) reversible).
> # Other parts of the codebase should be updated as necessary to use 
> ImageUtilities.image2Icon(image) instead of "new ImageIcon(image)", and to 
> use "Icon.paintIcon" instead of "Graphics.drawImage". (Most of the IDE code 
> already does the right thing.)
> This issue tracks the required changes to ImageUtilities, as well as the 
> previously mentioned icon rendering improvements, which will serve as a 
> visual demonstration that the right painting code is being invoked.



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



[jira] [Commented] (NETBEANS-2417) update Gradle logo/icon

2019-05-30 Thread Lou Hamersly (JIRA)


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

Lou Hamersly commented on NETBEANS-2417:


I've reached out to see if we can get any license clarification, etc. I guess 
we'll see what happens.

> update Gradle logo/icon
> ---
>
> Key: NETBEANS-2417
> URL: https://issues.apache.org/jira/browse/NETBEANS-2417
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Reporter: Jennifer Strater
>Assignee: Jennifer Strater
>Priority: Trivial
>  Labels: pull-request-available
> Attachments: nb1.png, nb2.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Thanks again for adding support for Gradle to Netbeans.
> The logo included in Netbeans for Gradle is the pre-2015 Gradleware logo. 
> We've recently published the newest Gradle elephant logos to 
> [https://gradle.com/brand/]. I'd be happy to help make this change if that's 
> easier for everyone.
> Please let me know how I should proceed.



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



[jira] [Updated] (NETBEANS-2617) Redraw common icons in SVG

2019-05-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-2617:
--
Description: 
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration and 
Illustrator template. The Illustrator template includes a few icons which have 
already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays. 
Note that in cases where an icon file has been copied around to various places 
in the NetBeans codebase, only one of the paths is shown in the list above.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See the attached 
Illustrator template. (Adobe Illustrator comes with a free 7-day trial, after 
which it's $35/month. If cost is a problem but you want to contribute your time 
to draw icons, ask Eirik...)
* For each icon to be vectorized, place the old bitmap version of the icon in 
the "Old Bitmap Icons" layer in Illustrator. You can then draw the vectorized 
version on top.
* Since most of the existing NetBeans icons follow a quite consistent visual 
style, and to simplify the job of creating new icons, it is best to keep the 
shape of the new vectorized icons the same as in the old bitmap icons. For 
instance, a rectangle of size 5x4px in the bitmap icon should probably become a 
rectangle of 5x4px in the vector version.
* Keep the same general colors in vectorized icons as in the corresponding old 
bitmap icons. (The color scheme is not too hard to change later, but we should 
do this only once most of the IDE icons have been vectorized.)
* If the old bitmap icon is complex, it is fine to simplify it a bit when 
drawing vectorized versions.
* Omit gradients and unnecessary drop shadows. They take more time to draw, and 
are now "out of fashion" in any case.
* Use a stroke width of 1px around the main shapes in the icon, like in the 
existing bitmap icons. The new icons should look consistent with the existing 
bitmap icons, especially since we may see bitmap icons and vector icons 
side-by-side for a long time. Within shapes, 0.5px strokes can be used for 
finer details.
* The 1px strokes that outline the icon's shapes should typically be 33% 
transparent black on top of the shape's background color, or of similar 
darkness. See the examples in the attached "style example.png" file.
* Horizontal and vertical strokes must be aligned to the pixel grid.
* While it may sometimes be necessary to "outline" strokes for the purposes of 
applying boolean operations (e.g. subtracting another shape from the stroke 
only), strokes should be left as strokes whenever possible, as this leads to 
smaller SVG files, and makes shapes within the icon easier to modify.
* For toolbar icons, which exist in both 16x16 and 24x24 sizes, base the vector 
version on the smaller 16x16 one, which is sometimes simpler. (This is already 
done in the prioritized icon list above.)


  was:
Once NETBEANS-2604 is done, we should start replacing commonly seen NetBeans 
icons with SVG versions, for improved appearance on Retina/HiDPI displays.

With some practice, it takes on average 30 minutes to create an SVG version of 
a typical icon in Adobe Illustrator. See the attached illustration and 
Illustrator template. The Illustrator template includes a few icons which have 
already been converted.

In NETBEANS-2605, the following prioritized list of icons to convert was 
produced:

https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html

By redrawing the most commonly seen icons first, we can get the greatest "bang 
for the buck" in terms of improving NetBeans' appearance on HiDPI displays. 
Note that in cases where an icon file has been copied around to various places 
in the NetBeans codebase, only one of the paths is shown in the list above.

See also the overview page for HiDPI improvements on 
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
 .

h2. Proposed Style Guide for Vectorized Icons
* Vector icons should be drawn in Adobe Illustrator. Each icon should be one 
named artboard, sized to the correct size in pixels. See the attached 
Illustrator template. (Adobe Illustrator comes wi

[jira] [Created] (NETBEANS-2618) OSGi not working in tests that enable the module system

2019-05-30 Thread Jan Lahoda (JIRA)
Jan Lahoda created NETBEANS-2618:


 Summary: OSGi not working in tests that enable the module system
 Key: NETBEANS-2618
 URL: https://issues.apache.org/jira/browse/NETBEANS-2618
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Module System
Affects Versions: 11.0
Reporter: Jan Lahoda
Assignee: Jaroslav Tulach
 Attachments: osgi-in-tests.zip

To reproduce:

-unpack the attachment

-open it in the IDE

-open the test:

osgi-in-tests/test/unit/src/osgi/in/tests/OSGiInTest.java

-do Run/Test File

the test will try to enable the module system, but as the osgi.in.tests module 
depends on the org.apache.commons.logging module, the module system startup 
fails with:

WARNING: Warning - could not install some modules:
    osgi-in-tests - The module named org.apache.commons.logging was needed and 
not found.

But org.apache.commons.logging is available without any problems, the test is 
doing:

LogFactory.getLog("OSGiInTest").info("Mam logger!");

and that works OK. It is just the module system that does not allow the OSGi 
bundle to be found/enable.



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



[jira] [Updated] (NETBEANS-2519) Wrong module name detected for automatic modules with a trailing number

2019-05-30 Thread ASF GitHub Bot (JIRA)


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

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

> Wrong module name detected for automatic modules with a trailing number
> ---
>
> Key: NETBEANS-2519
> URL: https://issues.apache.org/jira/browse/NETBEANS-2519
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12
> Runtime: OpenJDK Runtime Environment 12.0.1+12
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
>Reporter: Jessica-Aileen Alten
>Priority: Critical
>  Labels: pull-request-available
> Attachments: netbeans.png
>
>
> The module name generation for automatic modules is not correct and 
> contradicts the algorithm for the namebuilding for these modules as described 
> in 
> [ModuleFinder|[https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/module/ModuleFinder.html#of(java.nio.file.Path...)].]
>  It truncates trailing numbers which are not part of the version string.
> For Netbeans everything is OK, code completion works, no error badges in the 
> module-info.java, import statements are clean. Unfortunately *compilation of 
> these projects fails*!
> When using module names with a corresponding trailing number in the requires 
> part of module-info.java, Netbeans editor windows for module-info.java and 
> source code with imports from such a modules are full of error badges, code 
> completion does not work. But: *Compilation works fine!*
> There is a convention of not using numbers in module names, but older and 
> perhaps not well maintained and not modularized projects have these numbers 
> in their artifacts. jdom2-2.0.6.jar is an example.
> Netbeans algorithm also contradicts the behavior of the both *jdeps* and 
> *jar* tools:
> {{jar --describe-module --file=jdom2-2.0.6.jar}}
> {{jdeps --generate-module-info target jdom2-2.0.6.jar dom4j-1.6.1.jar 
> jaxen-1.2.0.jar jdom-1.1.jar xom-1.2.10.jar}}
> Both resolve jdom2-2.0.6.jar to *jdom2*
> With the help of the NETBEANS-602 issue I found at least one wrong algorithm 
> implementation:[ModuleNames|https://github.com/apache/netbeans/blob/4f168de17f3936ae5c5b2eab694b60b984037066/java/java.source.base/src/org/netbeans/modules/java/source/ModuleNames.java],
>  method autoName(@NonNull String moduleName), line 362, with the comment 
> "remove trailing version" - this regex pattern is wrong here!
> I am convinced that this is a critical bug because it breaks compatibility 
> with Java tools, generates uncompilable code and marks syntactically and 
> semantically correct code as erroneous.



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