[jira] [Commented] (NETBEANS-4509) PHP - code completion for function returning array
[ https://issues.apache.org/jira/browse/NETBEANS-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17174088#comment-17174088 ] Czukowski commented on NETBEANS-4509: - [~Kacer] would it be possible to extend this to work with any iterable return type? > PHP - code completion for function returning array > -- > > Key: NETBEANS-4509 > URL: https://issues.apache.org/jira/browse/NETBEANS-4509 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 12.0 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Fix For: 12.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > NetBeans support code completion for array items when their type is specified. > Code completion does not work for methods which have return type {{array}} in > signature and specific type in {{@return}} annotation. > In following code methods from {{\SplFileInfo}} are offered for variable > {{$file}}. > {code:php} > /** > * @param \SplFileInfo[] $files > */ > function walkFiles(array $files) { > foreach ($files as $file) { > $file-> // Offers methods from \SplFileInfo > } > } > {code} > In following code is expected same behavior, but no methods are offered. > {code:php} > /** > * @return \SplFileInfo[] > */ > function getFiles(): array { } > foreach (getFiles() as $file) { > $file-> // Does not offer methods from \SplFileInfo > } > {code} > If return type is removed from {{getFiles()}} method, then methods are > offered for {{$file}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4701) bug
Mahdi Karami created NETBEANS-4701: -- Summary: bug Key: NETBEANS-4701 URL: https://issues.apache.org/jira/browse/NETBEANS-4701 Project: NetBeans Issue Type: Bug Reporter: Mahdi Karami 2020-08-09T20:35:35 1596989135606 5606 org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl 800 47 org.netbeans.modules.j2ee.jpa.verification.rules.entity.JPQLValidation.apply /home/mahdi/.netbeans/11.3/var/log/heapdump.hprof java.lang.reflect.InvocationTargetException sun.reflect.GeneratedMethodAccessor391 invoke sun.reflect.DelegatingMethodAccessorImpl invoke 43 ${java.home}lib/rt.jar java.lang.reflect.Method invoke 498 ${java.home}lib/rt.jar org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl createErrors 317 ${netBeansDir}modules/org-netbeans-spi-java-hints.jar org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker runHint 798 ${netBeansDir}modules/org-netbeans-spi-java-hints.jar org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker doComputeHints 563 ${netBeansDir}modules/org-netbeans-spi-java-hints.jar org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker computeHintsImpl 283 ${netBeansDir}modules/org-netbeans-spi-java-hints.jar org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker computeHints 228 ${netBeansDir}modules/org-netbeans-spi-java-hints.jar org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker computeHints 193 ${netBeansDir}modules/org-netbeans-spi-java-hints.jar org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker computeHints 166 ${netBeansDir}modules/org-netbeans-spi-java-hints.jar org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker computeHints 128 ${netBeansDir}modules/org-netbeans-spi-java-hints.jar org.netbeans.modules.java.hints.spiimpl.hints.HintsTask run 114 ${netBeansDir}modules/org-netbeans-spi-java-hints.jar org.netbeans.modules.java.hints.spiimpl.hints.HintsTask run 65 ${netBeansDir}modules/org-netbeans-spi-java-hints.jar org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper run 273 ${netBeansDir}modules/org-netbeans-modules-java-source-base.jar org.netbeans.modules.parsing.impl.TaskProcessor callParserResultTask 561 ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer run 786 ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar org.openide.util.lookup.Lookups executeWith 279 ${netbeans.home}lib/org-openide-util-lookup.jar org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer execute 702 ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob run 663 ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar java.util.concurrent.Executors$RunnableAdapter call 511 ${java.home}lib/rt.jar java.util.concurrent.FutureTask run 266 ${java.home}lib/rt.jar org.openide.util.RequestProcessor$Task run 1418 ${netbeans.home}lib/org-openide-util.jar org.netbeans.modules.openide.util.GlobalLookup execute 45 ${netbeans.home}lib/org-openide-util-lookup.jar org.openide.util.lookup.Lookups executeWith 278 ${netbeans.home}lib/org-openide-util-lookup.jar org.openide.util.RequestProcessor$Processor run 2033 ${netbeans.home}lib/org-openide-util.jar java.lang.OutOfMemoryError: GC overhead limit exceeded java.lang.String toUpperCase 2810 ${java.home}lib/rt.jar java.lang.String toUpperCase 2833 ${java.home}lib/rt.jar org.eclipse.persistence.jpa.jpql.parser.ExpressionRegistry getIdentifierRole 166 ${netBeansDir}modules/ext/eclipselink/org.eclipse.persistence.jpa.jpql-2.5.2.jar org.eclipse.persistence.jpa.jpql.parser.AbstractExpression parse 857 ${netBeansDir}modules/ext/eclipselink/org.eclipse.persistence.jpa.jpql-2.5.2.jar org.eclipse.persistence.jpa.jpql.parser.IdentificationVariableDeclaration parse 252 ${netBeansDir}modules/ext/eclipselink/org.eclipse.persistence.jpa.jpql-2.5.2.jar org.eclipse.persistence.jpa.jpql.parser.IdentificationVariableDeclarationFactory buildExpression 62 ${netBeansDir}modules/ext/eclipselink/org.eclipse.persistence.jpa.jpql-2.5.2.jar org.eclipse.persistence.jpa.jpql.parser.AbstractExpression buildExpressionFromFallingBack 313 ${netBeansDir}modules/ext/eclipselink/org.eclipse.persistence.jpa.jpql-2.5.2.jar org.eclipse.persistence.jpa.jpql.parser.AbstractExpression parse 820 ${netBeansDir}modules/ext/eclipselink/org.eclipse.persistence.jpa.jpql-2.5.2.jar org.eclipse.persistence.jpa.jpql.parser.AbstractFromClause parse 326 ${netBeansDir}modules/ext/eclipselink/org.eclipse.persistence.jpa.jpql-2.5.2.jar
[jira] [Created] (NETBEANS-4700) Generate JSF Pages and Classes throws an exception
Kristian Heitkamp created NETBEANS-4700: --- Summary: Generate JSF Pages and Classes throws an exception Key: NETBEANS-4700 URL: https://issues.apache.org/jira/browse/NETBEANS-4700 Project: NetBeans Issue Type: Bug Reporter: Kristian Heitkamp Attachments: messages.log When trying to Generate JSF Pages and Classes, I've right-clicked on the project root and chosen "New > JSF Pages from Entity Classes ..." The following dialogue runs through the steps 1 (Choose File Type) to 3 (Generate JSF Pages and Classes) and after clicking "Finish" the process creates two ...Facade.java files, while one has the correct name derived from its Entity Class, the other one is named AbstractFacade.java The first ("...Facade.java") file bears a red ! on it's icon. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173934#comment-17173934 ] Pete Whelpton commented on NETBEANS-4559: - Glad to hear that workaround works for you! Now we need to figure out which commit between NB 8.2 and NB 12.0 introduced this bug so we can fix it :) > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, > ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, > PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, image-2020-08-09-11-54-50-908.png, > messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated (61123c2 -> 6c58b10)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 61123c2 Merge pull request #2304 from Akshay-Gupta-Oracle/nbjavac14 new 56ffe7d Fix Spring Framework 3 Library new 1387f10 Remove nbjavac library definition new 6c58b10 Merge pull request #2302 from matthiasblaesing/fix-libraries The 4228 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: java/libs.javacapi/manifest.mf | 1 - .../org/netbeans/libs/javacapi/Bundle.properties | 4 --- .../org/netbeans/libs/javacapi/javac-library.xml | 32 -- .../src/org/netbeans/libs/javacapi/layer.xml | 31 - .../nbproject/project.properties | 2 -- .../libs/springframework/spring-framework300.xml | 2 -- 6 files changed, 72 deletions(-) delete mode 100644 java/libs.javacapi/src/org/netbeans/libs/javacapi/javac-library.xml delete mode 100644 java/libs.javacapi/src/org/netbeans/libs/javacapi/layer.xml - 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-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173845#comment-17173845 ] Bernard commented on NETBEANS-4559: --- Hi, I have added to the Run Project Action: Execute goals: package Properties: netbeans.deploy=true Then I can save the path which then appears in the Properties: netbeans.deploy.clientUrlPart=CinemaMonitor.html With all that, I can run the project and it launches the relative page in the browser after deploying to GlassFish. > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, > ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, > PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, image-2020-08-09-11-54-50-908.png, > messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: [NETBEANS-4693] new nb-javac with records in maven projects fix
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 8e24f65 [NETBEANS-4693] new nb-javac with records in maven projects fix new 61123c2 Merge pull request #2304 from Akshay-Gupta-Oracle/nbjavac14 8e24f65 is described below commit 8e24f65f9c16a5e047ba9fbfc8e3edbe996dc7cf Author: Akshay-Gupta-Oracle AuthorDate: Fri Aug 7 20:39:42 2020 +0530 [NETBEANS-4693] new nb-javac with records in maven projects fix --- java/libs.javacapi/external/binaries-list| 2 +- java/libs.javacimpl/external/binaries-list | 2 +- .../release/modules/ext/nb-javac-14-api.jar.external | 12 ++-- .../release/modules/ext/nb-javac-14-impl.jar.external| 12 ++-- .../src/org/netbeans/modules/nbjavac/Bundle.properties | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/java/libs.javacapi/external/binaries-list b/java/libs.javacapi/external/binaries-list index 178d876..97525d3 100644 --- a/java/libs.javacapi/external/binaries-list +++ b/java/libs.javacapi/external/binaries-list @@ -14,4 +14,4 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -1B02BEB46868327A9A107B71CCDE974FAF44 nb-javac-14-api.jar +988279FD0A258197BF24190BE44A60BA7EA1FC3C nb-javac-14-api.jar \ No newline at end of file diff --git a/java/libs.javacimpl/external/binaries-list b/java/libs.javacimpl/external/binaries-list index 8eb8b24..d270d6c 100644 --- a/java/libs.javacimpl/external/binaries-list +++ b/java/libs.javacimpl/external/binaries-list @@ -14,4 +14,4 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -E8DE691178EC01A9396DE4AF2C6D836FA47BC8F6 nb-javac-14-impl.jar +BABD4BF10C42EE321AED7393BED72C579A486CD3 nb-javac-14-impl.jar diff --git a/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-14-api.jar.external b/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-14-api.jar.external index 18af6f5..e30d396 100644 --- a/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-14-api.jar.external +++ b/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-14-api.jar.external @@ -1,6 +1,6 @@ -CRC:872844248 -SIZE:250999 -URL:https://netbeans.osuosl.org/binaries/1B02BEB46868327A9A107B71CCDE974FAF44-nb-javac-14-api.jar -URL:https://hg.netbeans.org/binaries/1B02BEB46868327A9A107B71CCDE974FAF44-nb-javac-14-api.jar -MessageDigest: SHA-256 8d2498c8fcdcf532e8bfbb74d68c8e90be965d274a9685dd4407c11d4ac69d1b -MessageDigest: SHA-512 eff974128bd9bee3946a7696a0f7f3f21083035670f900a585d0d097c3c15cbafd98726c7d81cbc0c471646e455276c9613e9ef87c2a0660c3cae0074e6bdf79 \ No newline at end of file +CRC:1160927925 +SIZE:250879 +URL:https://netbeans.osuosl.org/binaries/988279FD0A258197BF24190BE44A60BA7EA1FC3C-nb-javac-14-api.jar +URL:https://hg.netbeans.org/binaries/988279FD0A258197BF24190BE44A60BA7EA1FC3C-nb-javac-14-api.jar +MessageDigest: SHA-256 76c02474a83a61e92952548c3b59af093d20fb9de82b2aa47a458cdfab538da7 +MessageDigest: SHA-512 9a79f44cf335045a101b43ba8481070c65a5c2f8b274aa77069a751fa2c0da40c60c0b7830373f5a100205bb7d14a54f32ca3ce8c50442568e5de1474a6d5a4a \ No newline at end of file diff --git a/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-14-impl.jar.external b/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-14-impl.jar.external index fbfafc2..dc51f2f 100644 --- a/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-14-impl.jar.external +++ b/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-14-impl.jar.external @@ -1,6 +1,6 @@ -CRC:1413267252 -SIZE:3683576 -URL:https://netbeans.osuosl.org/binaries/E8DE691178EC01A9396DE4AF2C6D836FA47BC8F6-nb-javac-14-impl.jar -URL:https://hg.netbeans.org/binaries/E8DE691178EC01A9396DE4AF2C6D836FA47BC8F6-nb-javac-14-impl.jar -MessageDigest: SHA-256 d84172262f69d9c22e30c647fb86a6a644ac8011890930fad3d20597e0adb5f8 -MessageDigest: SHA-512 4b011d19151277a795aa5a7220400c95f26ad1f4daf1b178545b8ae97cc4ca3e0d299fffc657d5a78574db7b149866e6440a9cbc73dce732d4d37feb81ec9b62 \ No newline at end of file +CRC:114381 +SIZE:3683563 +URL:https://netbeans.osuosl.org/binaries/BABD4BF10C42EE321AED7393BED72C579A486CD3-nb-javac-14-impl.jar +URL:https://hg.netbeans.org/binaries/ BABD4BF10C42EE321AED7393BED72C579A486CD3-nb-javac-14-impl.jar +MessageDigest: SHA-256 b6381f69707fb12f2edbbf47d59189bbfbd3390f64d9e7ec9b5d90abc3ba5db4 +MessageDigest: SHA-512 8fee92cc0df7ae2ec034c027cc761d6ca87e609db68a269c993148bc0c611b0a4dd088ac740f7c81bfe8c7e32c0367965cf8187378c02348dd6b2532e46a005c \ No newline at end of file diff --git
[jira] [Comment Edited] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173802#comment-17173802 ] Pete Whelpton edited comment on NETBEANS-4559 at 8/9/20, 10:55 AM: --- Quick note: tested with a clean install of Netbeans 8.2, and that has the: netbeans.deploy=true set against the Run action on a fresh Maven Web Application project, so it would seem a commit since NB came over to Apache has introduced this bug. Time for more digging... !image-2020-08-09-11-54-50-908.png! was (Author: peedeeboy): Quick note: tested with a clean install of Netbeans 8.2, and that has the: netbeans.deploy=true set against the Run action on a fresh Maven Web Application project, so it would seem a commit since NB came over to Apache has introduced this bug. Time for more digging... !image-2020-08-09-11-54-16-915.png! > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, > ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, > PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, image-2020-08-09-11-54-50-908.png, > messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173802#comment-17173802 ] Pete Whelpton commented on NETBEANS-4559: - Quick note: tested with a clean install of Netbeans 8.2, and that has the: netbeans.deploy=true set against the Run action on a fresh Maven Web Application project, so it would seem a commit since NB came over to Apache has introduced this bug. Time for more digging... !image-2020-08-09-11-54-16-915.png! > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, > ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, > PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4699) Make it easy to create dynamically updated ProxyLookup
[ https://issues.apache.org/jira/browse/NETBEANS-4699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jaroslav Tulach updated NETBEANS-4699: -- Fix Version/s: (was: 12.2) 12.1 > Make it easy to create dynamically updated ProxyLookup > -- > > Key: NETBEANS-4699 > URL: https://issues.apache.org/jira/browse/NETBEANS-4699 > Project: NetBeans > Issue Type: Improvement > Components: platform - Lookup >Affects Versions: 12.0 >Reporter: Jaroslav Tulach >Assignee: Tim Boudreau >Priority: Major > Fix For: 12.1 > > > One of the most common uses of ProxyLookup is to dynamically change the set > of lookups being delegated to. The objection to exposing the > setLookups() method is straightforward it would be inviting > clients of such a Lookup to call it. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4699) Make it easy to create dynamically updated ProxyLookup
Jaroslav Tulach created NETBEANS-4699: - Summary: Make it easy to create dynamically updated ProxyLookup Key: NETBEANS-4699 URL: https://issues.apache.org/jira/browse/NETBEANS-4699 Project: NetBeans Issue Type: Improvement Components: platform - Lookup Affects Versions: 12.0 Reporter: Jaroslav Tulach Assignee: Tim Boudreau Fix For: 12.2 One of the most common uses of ProxyLookup is to dynamically change the set of lookups being delegated to. The objection to exposing the setLookups() method is straightforward it would be inviting clients of such a Lookup to call it. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated (d69f4d1 -> 55b39bd)
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from d69f4d1 Merge pull request #2297 from apache/badgecibuild add 55b39bd Fixing removal of a double-quote inside a text block. No new revisions were added by this update. Summary of changes: .../org/netbeans/modules/editor/java/TypingCompletion.java | 2 +- .../modules/editor/java/TypingCompletionUnitTest.java| 12 2 files changed, 13 insertions(+), 1 deletion(-) - 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-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173774#comment-17173774 ] Pete Whelpton commented on NETBEANS-4559: - Hi [~bht] . Apologies, I wasn't making myself clear. I had a look at the NB source code, and it seems like there is a bug. The *Relative URL* will only get saved if *Action -> Run Project* has the property: {{netbeans.deploy=true}} I think this should get set by default when a new Maven project is created. However, at the moment that doesn't seem to be happening and I haven't found a commit in the Netbeans history since the project moved to Apache that looks like it would have changed/broken this. In the meantime, you should be able to workaround your issue by manually adding the property: netbeans.deploy=true to the Run Action and click OK. Then go back into the project properties and setting the Relative URL should now correctly save the value (it also gets saved as a property in the Run Actions). Let us know if that works! > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, > ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, > PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-html4j] branch master updated: Make sure FXConsole callback never garbage collects when WebView exists
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/netbeans-html4j.git The following commit(s) were added to refs/heads/master by this push: new 7e90771 Make sure FXConsole callback never garbage collects when WebView exists 7e90771 is described below commit 7e90771bf338a5d8c8f189cdc4df709d3e0e4697 Author: Jaroslav Tulach AuthorDate: Sun Aug 9 09:39:42 2020 +0200 Make sure FXConsole callback never garbage collects when WebView exists --- .../java/org/netbeans/html/boot/fx/FXBrwsr.java| 34 ++--- .../java/org/netbeans/html/boot/fx/FXConsole.java | 55 +- .../org/netbeans/html/boot/fx/FXGCPresenter.java | 15 +- .../java/org/netbeans/html/boot/fx/PopupTest.java | 7 ++- .../java/org/netbeans/html/boot/fx/TitleTest.java | 33 +++-- 5 files changed, 84 insertions(+), 60 deletions(-) diff --git a/boot-fx/src/main/java/org/netbeans/html/boot/fx/FXBrwsr.java b/boot-fx/src/main/java/org/netbeans/html/boot/fx/FXBrwsr.java index a6f96f7..12c73a2 100644 --- a/boot-fx/src/main/java/org/netbeans/html/boot/fx/FXBrwsr.java +++ b/boot-fx/src/main/java/org/netbeans/html/boot/fx/FXBrwsr.java @@ -229,6 +229,7 @@ public class FXBrwsr extends Application { } attachHandlers(view, newStage); +final FXConsole fxConsole = new FXConsole(view, newStage); bp.setCenter(view); final Worker w = view.getEngine().getLoadWorker(); w.stateProperty().addListener(new ChangeListener() { @@ -238,7 +239,7 @@ public class FXBrwsr extends Application { public void changed(ObservableValue ov, Worker.State t, Worker.State newState) { if (newState.equals(Worker.State.SUCCEEDED)) { if (checkValid()) { -FXConsole.register(view.getEngine()); +fxConsole.register(view.getEngine()); onLoad.onPageLoad(); } } @@ -257,7 +258,7 @@ public class FXBrwsr extends Application { } }); -Title.observeView(view, stage); +fxConsole.observeWebViewTitle(); return view; } @@ -361,7 +362,8 @@ public class FXBrwsr extends Application { stage.initOwner(owner); final WebView popUpView = new WebView(); stage.setScene(new Scene(popUpView)); -Title.observeView(popUpView, stage); +FXConsole fxConsole = new FXConsole(popUpView, stage); +fxConsole.observeWebViewTitle(); stage.show(); return popUpView.getEngine(); } @@ -396,30 +398,4 @@ public class FXBrwsr extends Application { } } } -private static class Title implements ChangeListener { -private String title; -private final WebView view; -private final Stage stage; - -private Title(WebView view, Stage stage) { -super(); -this.view = view; -this.stage = stage; -} - -public static void observeView(WebView view, Stage stage) { -Title t = new Title(view, stage); -view.getEngine().titleProperty().addListener(t); -t.changed(null, null, null); -} - -@Override -public void changed(ObservableValue ov, String t, String t1) { -title = view.getEngine().getTitle(); -if (title != null) { -stage.setTitle(title); -} -} -} - } diff --git a/boot-fx/src/main/java/org/netbeans/html/boot/fx/FXConsole.java b/boot-fx/src/main/java/org/netbeans/html/boot/fx/FXConsole.java index 89f4963..8da7481 100644 --- a/boot-fx/src/main/java/org/netbeans/html/boot/fx/FXConsole.java +++ b/boot-fx/src/main/java/org/netbeans/html/boot/fx/FXConsole.java @@ -18,9 +18,15 @@ */ package org.netbeans.html.boot.fx; +import java.util.ArrayList; +import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; +import javafx.beans.value.ChangeListener; +import javafx.beans.value.ObservableValue; import javafx.scene.web.WebEngine; +import javafx.scene.web.WebView; +import javafx.stage.Stage; import netscape.javascript.JSObject; /** This is an implementation package - just @@ -31,29 +37,52 @@ import netscape.javascript.JSObject; * * @author Jaroslav Tulach */ -public final class FXConsole { +public final class FXConsole implements ChangeListener { static final Logger LOG = Logger.getLogger(FXConsole.class.getName()); - -private FXConsole() { +private String title; +final WebView view; +final Stage stage; + +private static final List all = new ArrayList(); + +FXConsole(WebView view, Stage stage) { +all.add(this); +this.view = view; +this.stage = stage; }
[jira] [Commented] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173762#comment-17173762 ] Bernard commented on NETBEANS-4559: --- Here is the project's Run, what is seen above the Actions: !ProjectPropertiesRun.png! > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, > ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, > PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bernard updated NETBEANS-4559: -- Attachment: ProjectPropertiesRun.png > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, > ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, > PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Issue Comment Deleted] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bernard updated NETBEANS-4559: -- Comment: was deleted (was: The Run above the aActions is as follows: !ProjectPropertiesActionRun.png!) > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, > ProjectPropertiesActionRun.png, PropertiesBefore.png, > PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173759#comment-17173759 ] Bernard commented on NETBEANS-4559: --- The Run above the aActions is as follows: !ProjectPropertiesActionRun.png! > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, > ProjectPropertiesActionRun.png, PropertiesBefore.png, > PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bernard updated NETBEANS-4559: -- Attachment: ProjectPropertiesActionRun.png > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, > ProjectPropertiesActionRun.png, PropertiesBefore.png, > PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173758#comment-17173758 ] Bernard commented on NETBEANS-4559: --- As shown in my previous comments, the Run properties are empty, so I would need a full set of properties there to see what happens. I don't know where you get your properties from. The attached project does not have them. > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, PropertiesBefore.png, > PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bernard updated NETBEANS-4559: -- Attachment: ProjectPropertiesActionRun.png > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, PropertiesBefore.png, > PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL
[ https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173756#comment-17173756 ] Bernard commented on NETBEANS-4559: --- !ProjectPropertiesActionRun.png! > Web Project Properties Dialog fails to save Relative URL > > > Key: NETBEANS-4559 > URL: https://issues.apache.org/jira/browse/NETBEANS-4559 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 11.3 >Reporter: Bernard >Priority: Critical > Attachments: ProjectPropertiesActionRun.png, PropertiesBefore.png, > PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, > image-2020-08-07-15-48-32-635.png, messages.log > > > Please see attached images and project. > In the project properties, there is a field "Relative URL" for the page to > load relative to the context path. > If I enter it and confirm the dialog, then after re-opening the dialog again, > the value is lost. > > The project is from > [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/] > - just adapted to run under NetBeans. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists