Failed to parse the expression when we have repeated function invocations

2013-07-18 Thread Violeta Georgieva
Hi, Let's have a lambda expression: x-y-x-y Let's now assign it and invoke it indirectly: f = x-y-x-y; f(2)(1) From the spec we have: If the result of evaluating the function name is a LambdaExpression, the LambdaExpression is invoked with the supplied arguments. If the result of evaluating

svn 1.8 and auto props

2013-07-18 Thread Rainer Jung
I just saw sebb doing a little experiment in the JMeter repository with svn:auto-props. Infra updated our svn repos to svn 1.8 and 1.8 has Repository Dictated Configuration: http://blogs.collab.net/subversion/the-road-to-repository-dictated-configuration-day-2-autoprops Thinking about the

Re: Various shell-scripting idioms in bin/daemon.sh

2013-07-18 Thread Rainer Jung
On 18.07.2013 06:04, Mladen Turk wrote: On 07/17/2013 11:59 PM, sebb wrote: Regardless, please consider documenting the script to explain why it does not use -n/-z if that is necessary to avoid bugs. It would be the same as documenting why one uses a+=1 instead a++ :) I don't see where its

svn commit: r1504437 - in /tomcat/trunk/java/org/apache/el: Messages.properties lang/ExpressionBuilder.java parser/AstFunction.java parser/ELParser.java parser/ELParser.jjt

2013-07-18 Thread markt
Author: markt Date: Thu Jul 18 11:40:26 2013 New Revision: 1504437 URL: http://svn.apache.org/r1504437 Log: Modify the grammar for function to permit multiple sets of parameters for lambda expressions. Implementing that handling is still a TODO. Modified:

svn commit: r1504475 - in /tomcat/trunk: java/org/apache/el/parser/AstFunction.java java/org/apache/el/parser/AstLambdaExpression.java test/org/apache/el/parser/TestAstLambdaExpression.java

2013-07-18 Thread markt
Author: markt Date: Thu Jul 18 13:57:17 2013 New Revision: 1504475 URL: http://svn.apache.org/r1504475 Log: Fix handling expressions of the form: v = (x-y-x-y); v(2)(1) There is still some further clean-up that can be done. Modified: tomcat/trunk/java/org/apache/el/parser/AstFunction.java

Re: Failed to parse the expression when we have repeated function invocations

2013-07-18 Thread Mark Thomas
On 18/07/2013 08:00, Violeta Georgieva wrote: Hi, Let's have a lambda expression: x-y-x-y Let's now assign it and invoke it indirectly: f = x-y-x-y; f(2)(1) Several problems here. 1. The grammar didn't support functions having multiple sets of parameters. 2. The lambda expression

svn commit: r1504483 - in /tomcat/trunk/java/org/apache/el/parser: AstFunction.java AstLambdaExpression.java

2013-07-18 Thread markt
Author: markt Date: Thu Jul 18 14:12:49 2013 New Revision: 1504483 URL: http://svn.apache.org/r1504483 Log: Simplify. Update comments. Modified: tomcat/trunk/java/org/apache/el/parser/AstFunction.java tomcat/trunk/java/org/apache/el/parser/AstLambdaExpression.java Modified:

[Bug 55268] daemon.sh only waits for 10 seconds

2013-07-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55268 Mark Thomas ma...@apache.org changed: What|Removed |Added Component|Integration |Catalina

8.0-SNAPSHOT updated

2013-07-18 Thread Mark Thomas
Given recent progress, I have uploaded a snapshot of the current state of trunk to the Maven snapshot repository. Note that our Maven builds include full binary distributions (.zip .tar.gz) so if folks want to test the latest Tomcat 8, they can without having to build from svn. The snapshot repo

Re: 8.0-SNAPSHOT updated

2013-07-18 Thread Henri Gomez
+1 Show must go one, really exited to take a look at this new cat :) 2013/7/18 Nick Williams nicho...@nicholaswilliams.net No objection here. Things seem to be working well. I'm rather excited about it. :-) Nick On Jul 18, 2013, at 11:11 AM, Mark Thomas wrote: Given recent progress, I

Re: 8.0-SNAPSHOT updated

2013-07-18 Thread Nick Williams
No objection here. Things seem to be working well. I'm rather excited about it. :-) Nick On Jul 18, 2013, at 11:11 AM, Mark Thomas wrote: Given recent progress, I have uploaded a snapshot of the current state of trunk to the Maven snapshot repository. Note that our Maven builds include full

Re: Failed to parse the expression when we have repeated function invocations

2013-07-18 Thread Violeta Georgieva
2013/7/18 Mark Thomas wrote: On 18/07/2013 08:00, Violeta Georgieva wrote: Hi, Let's have a lambda expression: x-y-x-y Let's now assign it and invoke it indirectly: f = x-y-x-y; f(2)(1) Several problems here. 1. The grammar didn't support functions having multiple sets of

svn commit: r1504558 - /tomcat/trunk/res/findbugs/filter-false-positives.xml

2013-07-18 Thread markt
Author: markt Date: Thu Jul 18 17:34:37 2013 New Revision: 1504558 URL: http://svn.apache.org/r1504558 Log: Filter out three false positives (the only warnings the trunk code base currently generates) Modified: tomcat/trunk/res/findbugs/filter-false-positives.xml Modified:

Re: Failed to parse the expression when we have repeated function invocations

2013-07-18 Thread Mark Thomas
On 18/07/2013 18:24, Violeta Georgieva wrote: 2013/7/18 Mark Thomas wrote: On 18/07/2013 08:00, Violeta Georgieva wrote: Hi, Let's have a lambda expression: x-y-x-y Let's now assign it and invoke it indirectly: f = x-y-x-y; f(2)(1) Several problems here. 1. The grammar didn't

Re: 8.0-SNAPSHOT updated

2013-07-18 Thread Christopher Schultz
Henri, On 7/18/13 12:16 PM, Henri Gomez wrote: +1 Show must go one, really exited to take a look at this new cat :) Agreed. Great job lately, Mark, with pushing everything through. I'm glad to see that the bits you left until the end (because they looked like they might be ugly) turned out

svn commit: r1504657 - in /tomcat/trunk: java/org/apache/el/parser/AstFunction.java java/org/apache/el/parser/AstLambdaExpression.java test/org/apache/el/parser/TestAstLambdaExpression.java

2013-07-18 Thread markt
Author: markt Date: Thu Jul 18 20:56:44 2013 New Revision: 1504657 URL: http://svn.apache.org/r1504657 Log: Yet more adventures with lambda expressions. I suspect - but haven't yet checked - that there is scope to make the code more efficient and/or reduce duplication. Modified:

Re: Failed to parse the expression when we have repeated function invocations

2013-07-18 Thread Mark Thomas
On 18/07/2013 18:36, Mark Thomas wrote: On 18/07/2013 18:24, Violeta Georgieva wrote: 2013/7/18 Mark Thomas wrote: I look forward to your next brain teaser :) ;) If I modify the example above like this f = ()-y-2-y; f()(1) Thanks for all the testing. I'll convert all the the

Re: 8.0-SNAPSHOT updated

2013-07-18 Thread santoshmanya
Great news. I had successfully implemented webrtc with tomcat7 websockets. looking forward to build a complete telephony solutions using tomcat8 -- View this message in context: http://tomcat.10.x6.nabble.com/8-0-SNAPSHOT-updated-tp5001961p5001977.html Sent from the Tomcat - Dev mailing list

svn commit: r1504753 - in /tomcat/trunk/java/org/apache: catalina/startup/ContextConfig.java tomcat/util/descriptor/web/FragmentJarScannerCallback.java

2013-07-18 Thread jboynes
Author: jboynes Date: Fri Jul 19 03:11:40 2013 New Revision: 1504753 URL: http://svn.apache.org/r1504753 Log: Extract FragmentJarScannerCallback to descriptor package so it can be reused by Jasper Added:

svn commit: r1504755 - /tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java

2013-07-18 Thread jboynes
Author: jboynes Date: Fri Jul 19 03:15:47 2013 New Revision: 1504755 URL: http://svn.apache.org/r1504755 Log: Check needs to happen after call to scan Modified: tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java Modified: