[jira] [Updated] (NETBEANS-420) Intelligent source code diff comparison based on items in navigator needed
[ https://issues.apache.org/jira/browse/NETBEANS-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] codelite updated NETBEANS-420: -- Description: The graphical diff comparison in git can only deal with small changes in source code files now, if there is a big change in source code, the diff tool can hardly find the corresponding code parts for comparison, instead it focuses on irrelevant single line characters like \{ and } as same lines. I wish it could be improved by figuring out source code items(just as those in the navigator) for two source code files/versions, and create a jump function when double clicking the item text if the element(function or class) in the left file is not in the nearby position of the right file, then the right file jumps to position of the same function or class, resulting a meaningful comparison. The difference graph lines should be drawn for each element no matter the difference occurs in nearby positions naturally or after double clicking the element text. was: The graphical diff comparison in git can only deal with small changes in source code files now, if there is a big change in source code, the diff tool can hardly find the corresponding code parts for comparison, instead it focuses on irrelevant single line characters like \{ and } as same lines. I wish it could be improved by figuring out source code items(just as those in the navigator) for two source code files/versions, and create a jump button in the middle if the element(function or class) in the left file is not in the nearby position of the right file, then the right file jumps to position of the same function or class, resulting a meaningful comparison. The difference graph lines should be drawn for each element no matter the difference occurs in nearby positions naturally or after clicking the jump button. > Intelligent source code diff comparison based on items in navigator needed > -- > > Key: NETBEANS-420 > URL: https://issues.apache.org/jira/browse/NETBEANS-420 > Project: NetBeans > Issue Type: Bug > Components: utilities - Diff >Reporter: codelite >Priority: Major > > The graphical diff comparison in git can only deal with small changes in > source code files now, if there is a big change in source code, the diff tool > can hardly find the corresponding code parts for comparison, instead it > focuses on irrelevant single line characters like \{ and } as same lines. > I wish it could be improved by figuring out source code items(just as those > in the navigator) for two source code files/versions, and create a jump > function when double clicking the item text if the element(function or class) > in the left file is not in the nearby position of the right file, then the > right file jumps to position of the same function or class, resulting a > meaningful comparison. The difference graph lines should be drawn for each > element no matter the difference occurs in nearby positions naturally or > after double clicking the element text. -- 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-420) Intelligent source code diff comparison based on items in navigator needed
[ https://issues.apache.org/jira/browse/NETBEANS-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] codelite updated NETBEANS-420: -- Issue Type: Bug (was: Improvement) > Intelligent source code diff comparison based on items in navigator needed > -- > > Key: NETBEANS-420 > URL: https://issues.apache.org/jira/browse/NETBEANS-420 > Project: NetBeans > Issue Type: Bug > Components: utilities - Diff >Reporter: codelite >Priority: Major > > The graphical diff comparison in git can only deal with small changes in > source code files now, if there is a big change in source code, the diff tool > can hardly find the corresponding code parts for comparison, instead it > focuses on irrelevant single line characters like \{ and } as same lines. > I wish it could be improved by figuring out source code items(just as those > in the navigator) for two source code files/versions, and create a jump > button in the middle if the element(function or class) in the left file is > not in the nearby position of the right file, then the right file jumps to > position of the same function or class, resulting a meaningful comparison. > The difference graph lines should be drawn for each element no matter the > difference occurs in nearby positions naturally or after clicking the jump > button. -- 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-420) Intelligent source code diff comparison based on items in navigator needed
codelite created NETBEANS-420: - Summary: Intelligent source code diff comparison based on items in navigator needed Key: NETBEANS-420 URL: https://issues.apache.org/jira/browse/NETBEANS-420 Project: NetBeans Issue Type: Improvement Components: utilities - Diff Reporter: codelite The graphical diff comparison in git can only deal with small changes in source code files now, if there is a big change in source code, the diff tool can hardly find the corresponding code parts for comparison, instead it focuses on irrelevant single line characters like \{ and } as same lines. I wish it could be improved by figuring out source code items(just as those in the navigator) for two source code files/versions, and create a jump button in the middle if the element(function or class) in the left file is not in the nearby position of the right file, then the right file jumps to position of the same function or class, resulting a meaningful comparison. The difference graph lines should be drawn for each element no matter the difference occurs in nearby positions naturally or after clicking the jump button. -- 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-419) Netbeans 9 spalsh screen has incorrect grammar
Robert created NETBEANS-419: --- Summary: Netbeans 9 spalsh screen has incorrect grammar Key: NETBEANS-419 URL: https://issues.apache.org/jira/browse/NETBEANS-419 Project: NetBeans Issue Type: Improvement Components: ide - Welcome Affects Versions: 9.0 Reporter: Robert Fix For: 9.0 Attachments: nb_splash.png The current text says: Netbeans IDE and Netbeans Platform are base on software from Apache Software Foundation and is licensed under Apache License Version 2.0. It should say something like: The Netbeans IDE and the Netbeans Platform are based on software from the Apache Software Foundation and are licensed under the Apache License Version 2.0. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans-website] branch multisite-test updated: Multisite test licenses (#5)
This is an automated email from the ASF dual-hosted git repository. vieiro pushed a commit to branch multisite-test in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git The following commit(s) were added to refs/heads/multisite-test by this push: new 243bf7a Multisite test licenses (#5) 243bf7a is described below commit 243bf7a528f4edca610e8ec2aab1c9adcf93c7c7 Author: Antonio VieiroAuthorDate: Fri Feb 23 20:25:45 2018 +0100 Multisite test licenses (#5) * Added licenses and a simple card component for the main page. * Arranged some minor broken links. Centering of cards. * Complying with Apache specific download page guidelines - The download page for Apache projects has to link to sources, binaries, ASC, MD5 and SHA1 files. - Release specific page. - Some other minor improvements to CSS - Some broken links - Some minor visual enhancements. --- .../src/content/download/index.asciidoc| 34 +++-- .../src/content/download/nb90-beta.asciidoc| 85 ++ .../src/content/help/commercial-support.asciidoc | 4 +- .../src/content/participate/submit-pr.asciidoc | 2 +- .../src/content/scss/common/_netbeans.scss | 2 +- .../src/content/templates/footer.gsp | 2 +- netbeans.apache.org/src/content/templates/news.gsp | 2 +- .../src/content/templates/slider.gsp | 2 +- 8 files changed, 121 insertions(+), 12 deletions(-) diff --git a/netbeans.apache.org/src/content/download/index.asciidoc b/netbeans.apache.org/src/content/download/index.asciidoc index 48c5092..66618fc 100644 --- a/netbeans.apache.org/src/content/download/index.asciidoc +++ b/netbeans.apache.org/src/content/download/index.asciidoc @@ -1,17 +1,41 @@ + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + + + +NOTE: +See https://www.apache.org/dev/release-download-pages.html +for important requirements for download pages for Apache projects. + + = Downloads / Apache NetBeans :jbake-type: page -:jbake-tags: community +:jbake-tags: download :jbake-status: published :keywords: Apache NetBeans download :description: Apache NetBeans Download page :toc: left :toc-title: -== Apache NetBeans 9.0 Beta - -You can download the latest release, link:https://www.apache.org/dyn/closer.cgi/incubator/netbeans/incubating-netbeans-java/incubating-9.0-beta/[Apache NetBeans 9.0 Beta] from the Apache Mirror System. +[[releases]] +== Releases -For the this beta release we are not providing platform-specific installers. See link:https://blogs.apache.org/netbeans/date/20180216[our blog] for more information about this release. +- link:nb90-beta.html[Apache NetBeans 9.0 Beta], released on the 22nd of February, 2018. [[latest]] == Latest Builds diff --git a/netbeans.apache.org/src/content/download/nb90-beta.asciidoc b/netbeans.apache.org/src/content/download/nb90-beta.asciidoc new file mode 100644 index 000..a6656ba --- /dev/null +++ b/netbeans.apache.org/src/content/download/nb90-beta.asciidoc @@ -0,0 +1,85 @@ + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + + + +NOTE: +See https://www.apache.org/dev/release-download-pages.html +for important requirements for download pages for Apache projects. + + += Apache NetBeans 9.0 Beta / Apache NetBeans
[jira] [Commented] (NETBEANS-407) "Dereferencing possible null pointer" after doing instanceof on variable (false positive)
[ https://issues.apache.org/jira/browse/NETBEANS-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16374352#comment-16374352 ] Eirik Bakke commented on NETBEANS-407: -- > Your code doesn't actually check if k might be null or not. That's correct. But the general existing policy of the null checking warning is to only warn if there some positive indication that k may be null, e.g. a "@Nullable" annotation on the return type on getFoo(), or where the compiler can see that k might be null due to an earlier assignment. The checker should not (and currently does not, except for this bug) give a warning simply because every method _might_ return null. > If you add the if and the warning goes away, then everything should be fine, > since instanceof also implies != null. Sorry, I was a little unclear here. The warning goes away even if the method invocation on k is outside the if statement. As in the following variation of the code: {code:java} public class TestClass { private Number getFoo() { return 3; } public void testFoo() { Number k = getFoo(); if (k instanceof Integer) { System.out.println("It's an Integer (and thus not null)"); } // No warning here now. System.out.println(k.doubleValue()); } } {code} > "Dereferencing possible null pointer" after doing instanceof on variable > (false positive) > - > > Key: NETBEANS-407 > URL: https://issues.apache.org/jira/browse/NETBEANS-407 > Project: NetBeans > Issue Type: Bug > Components: java - FindBugs, java - Hints >Affects Versions: 8.2, 9.0 >Reporter: Eirik Bakke >Priority: Minor > > In the following example, the "boolean foo = k instanceof Integer" assignment > causes a spurious "Dereferencing possible null pointer" warning to occur on > the "k.doubleValue()" expression. I believe this did not happen in earlier > NetBeans versions (pre-8.2). Note that if the assignment to "boolean foo" is > replaced by an if statement ("if (k instanceof Integer)"), the warning goes > away. > {code:java} > public class TestClass { > private Number getFoo() { > return 3; > } > public void testFoo() { > Number k = getFoo(); > // The warning only occurs if this assignment is present. > boolean foo = k instanceof Integer; > // Warning on .doubleValue() here: "Dereferencing possible null pointer" > System.out.println(k.doubleValue()); > } > } > {code} > This bug was previously described at > https://netbeans.org/bugzilla/show_bug.cgi?id=269324 . -- 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-407) "Dereferencing possible null pointer" after doing instanceof on variable (false positive)
[ https://issues.apache.org/jira/browse/NETBEANS-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16374243#comment-16374243 ] Tobias Oelgarte commented on NETBEANS-407: -- Your code doesn't actually check if _k_ might be _null_ or not. If _getFoo()_ would return _null_, then you would dereference _null_, because the line with "_k instanceof Integer_" does nothing to prevent it from happening. If you add the _if_ and the warning goes away, then everything should be fine, since _instanceof_ also implies _!= null_. If it would still happen, then it is a bug. > "Dereferencing possible null pointer" after doing instanceof on variable > (false positive) > - > > Key: NETBEANS-407 > URL: https://issues.apache.org/jira/browse/NETBEANS-407 > Project: NetBeans > Issue Type: Bug > Components: java - FindBugs, java - Hints >Affects Versions: 8.2, 9.0 >Reporter: Eirik Bakke >Priority: Minor > > In the following example, the "boolean foo = k instanceof Integer" assignment > causes a spurious "Dereferencing possible null pointer" warning to occur on > the "k.doubleValue()" expression. I believe this did not happen in earlier > NetBeans versions (pre-8.2). Note that if the assignment to "boolean foo" is > replaced by an if statement ("if (k instanceof Integer)"), the warning goes > away. > {code:java} > public class TestClass { > private Number getFoo() { > return 3; > } > public void testFoo() { > Number k = getFoo(); > // The warning only occurs if this assignment is present. > boolean foo = k instanceof Integer; > // Warning on .doubleValue() here: "Dereferencing possible null pointer" > System.out.println(k.doubleValue()); > } > } > {code} > This bug was previously described at > https://netbeans.org/bugzilla/show_bug.cgi?id=269324 . -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] branch master updated (4c4b3cf -> ccc9b5f)
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git. from 4c4b3cf [NETBEANS-411] remove Xylophone sample with potentially problematic licensing of wav files (#432) add 07f96ca [NETBEANS-206] Make sure the JavaScript coloring prevails inside of Java strings add feeab51 Refactoring the colorization into own method new ccc9b5f Merge pull request #431 from JaroslavTulach/jtulach/RemoveOtherStringEmbeddings The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../netbeans/modules/editor/htmlui/JSEmbeddingProvider.java | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact jtul...@apache.org. - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] 01/01: Merge pull request #431 from JaroslavTulach/jtulach/RemoveOtherStringEmbeddings
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit ccc9b5f92776c62e7e7b40e8429e09c30d20406c Merge: 4c4b3cf feeab51 Author: Jaroslav TulachAuthorDate: Fri Feb 23 12:21:05 2018 +0100 Merge pull request #431 from JaroslavTulach/jtulach/RemoveOtherStringEmbeddings Make sure the JavaScript coloring prevails inside of Java strings .../netbeans/modules/editor/htmlui/JSEmbeddingProvider.java | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact jtul...@apache.org. - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-181) NetBeans should be aware of WSL (Ubuntu on Windows 10)
[ https://issues.apache.org/jira/browse/NETBEANS-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16374225#comment-16374225 ] Bo Andersen commented on NETBEANS-181: -- Yes, but I thought of using Netbeans, to run tests and debugging... > NetBeans should be aware of WSL (Ubuntu on Windows 10) > -- > > Key: NETBEANS-181 > URL: https://issues.apache.org/jira/browse/NETBEANS-181 > Project: NetBeans > Issue Type: New Feature > Components: cnd - Terminalemulator >Affects Versions: Next > Environment: NetBeans 8.2, Windows 10 x64 >Reporter: Christian Lenz >Priority: Major > > Yeah Ubuntu on Windows is, I think still in beta but I use it for my daily > work. At home and at work. It is really handy to setup enviroment stuff > easily. So for this, NetBeans should be aware of installed stuff inside the > ubuntu on windows. The path is "C:\Users\Chrizzly\AppData\Local\lxss (hidden > folder)". So if NetBeans are aware of a cygwin installation, it should be > treated like that too. > And for everything else like I installed node, c/c++ stuff, php and so on. > Would be great enhancement. I created such ticket for Terminal integration > too, because of the Cygwin thing: > http://netbeans.org/bugzilla/show_bug.cgi?id=267478 > Regards > Chris -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists