Re: Is there a schedule for the next release?
Personally I would like to see some more time before we cut a release, since there is, after some months of low activity, some nice momentum in our development. Further, I would like to ensure all file corruption issues in 2.5.1 are solved before we do a new release. Having said that, our release planning (and release numbering) have been somewhat inconsistent historically :), so the above is certainly likely to change! On Wed, 2005-05-18 at 00:28 +0200, Mikael Sitruk wrote: Hi I would like to know when the next release will be released? The 2.5.1 is 8 months old already Mikael.S -- - To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List:http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
DO NOT REPLY [Bug 34828] - [PATCH] FormulaEvaluator Partial Implementation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34828. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34828 --- Additional Comments From [EMAIL PROTECTED] 2005-05-18 07:11 --- The formula parser patch I can apply manually, since I know the source well. For the xdocs, just attach the changed files in their entirety for now. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. - To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List:http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
DO NOT REPLY [Bug 34828] - [PATCH] FormulaEvaluator Partial Implementation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34828. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34828 --- Additional Comments From [EMAIL PROTECTED] 2005-05-18 18:32 --- Created an attachment (id=15073) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=15073action=view) Zipped FormulaEvaluator xdocs (eval and eval-devguide) These are updated zipped xdocs. Sending them into the patch failed earlier. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. - To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List:http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
cvs commit: jakarta-poi/src/testcases/org/apache/poi/hssf/model TestFormulaParser.java
avik2005/05/18 11:58:57 Modified:src/java/org/apache/poi/hssf/model FormulaParser.java src/testcases/org/apache/poi/hssf/model TestFormulaParser.java Log: unary plus: patch by Amol Deshmukh, test added Revision ChangesPath 1.20 +6 -1 jakarta-poi/src/java/org/apache/poi/hssf/model/FormulaParser.java Index: FormulaParser.java === RCS file: /home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/model/FormulaParser.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- FormulaParser.java21 Apr 2005 13:43:51 - 1.19 +++ FormulaParser.java18 May 2005 18:58:57 - 1.20 @@ -115,7 +115,7 @@ private void Abort(String s) { Error(s); //System.exit(1); //throw exception?? -throw new RuntimeException(Cannot Parse, sorry : +s); +throw new RuntimeException(Cannot Parse, sorry : +s + [Formula String was: '+formulaString+']); } @@ -466,6 +466,11 @@ Factor(); tokens.add(new UnaryMinusPtg()); } +else if (look == '+') { +Match('+'); +Factor(); +tokens.add(new UnaryPlusPtg()); +} else if (look == '(' ) { Match('('); Expression(); 1.16 +12 -1 jakarta-poi/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java Index: TestFormulaParser.java === RCS file: /home/cvs/jakarta-poi/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- TestFormulaParser.java21 Apr 2005 13:01:29 - 1.15 +++ TestFormulaParser.java18 May 2005 18:58:57 - 1.16 @@ -36,6 +36,7 @@ import org.apache.poi.hssf.record.formula.ReferencePtg; import org.apache.poi.hssf.record.formula.StringPtg; import org.apache.poi.hssf.record.formula.UnaryMinusPtg; +import org.apache.poi.hssf.record.formula.UnaryPlusPtg; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFSheet; @@ -323,7 +324,17 @@ Ptg[] ptg = fp.getRPNPtg(); assertTrue(got 2 ptgs, ptg.length == 2); assertTrue(first ptg is reference,ptg[0] instanceof ReferencePtg); - assertTrue(second ptg is string,ptg[1] instanceof UnaryMinusPtg); + assertTrue(second ptg is Minus,ptg[1] instanceof UnaryMinusPtg); + } + +public void testUnaryPlus() +{ + FormulaParser fp = new FormulaParser(+A1, null); + fp.parse(); + Ptg[] ptg = fp.getRPNPtg(); + assertTrue(got 2 ptgs, ptg.length == 2); + assertTrue(first ptg is reference,ptg[0] instanceof ReferencePtg); + assertTrue(second ptg is Plus,ptg[1] instanceof UnaryPlusPtg); } public void testLeadingSpaceInString() - To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List:http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
POI Stream Random Access
Dear POI Developers, I am looking at using POIFileSystem's DocumentInputStream class to read data. My data is scattered throughout a stream, and so I need random access. Looking the implementation, we see a DocumentInputStream._current_offset integer, which points to the current offset. Ideally, I would like to access this. As far as I can tell, I can see three options for random access: (1) Just read the entire stream input a byte[] array, and read sections I need. This works, its fast, but is very memory inefficient. (2) Add an additional method to DocumentInputStream to set the offset (probably a bad idea), or change _current_offset from private to protected to allow to it to subclassed (better, but still involves modifying a POIFS class). (3) Write my own custom stream, with random access support, e.g. RandomAccessStream. More tricky, dont want to do this if I dont have to :-) Any suggestions for how to perform random access reads on a POI DocumentInputStream would be most appreciated. Best Regards, -- Kais -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 266.11.12 - Release Date: 17/05/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List:http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta POI Project: http://jakarta.apache.org/poi/