cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java

2004-12-15 Thread remm
remm2004/12/15 03:49:20 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java Log: - If the encoding is invalid, this will cause a weird NPE. This avoids it. - The usage of a bad encoding should have been logged elsewhere in all cases, so I don't see the point of

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java CharChunk.java

2004-03-08 Thread remm
remm2004/03/08 15:46:37 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java CharChunk.java Log: - The optimized write (direct writing when data appended is the size of the buffer and the buffer is empty) works good when we would want to

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java

2004-03-05 Thread remm
remm2004/03/05 05:06:13 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java Log: - In makeSpace, we should compare the desiredSpace to the limit, so that we actually allow enough. Otherwise, the amount would be slower, violating the makeSpace assertion. - This

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java

2003-12-05 Thread larryi
larryi 2003/12/05 16:50:08 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java Log: Port optimization from CharChunk to prevent needless allocation of byte arrays. Revision ChangesPath 1.16 +9 -1

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java

2003-09-12 Thread remm
remm2003/09/12 05:58:53 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java Log: - Refactor byte chunk buffering so that the written data fits inside the limit. The number of byte copies is similar to what it was before. Revision ChangesPath 1.15

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java CharChunk.java

2003-01-14 Thread remm
remm2003/01/14 10:20:02 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java CharChunk.java Log: - Add alternate substract methods. Revision ChangesPath 1.13 +22 -0

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java CharChunk.java

2003-01-05 Thread remm
remm2003/01/05 03:22:16 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java CharChunk.java Log: - Add input support to ByteChunk and CharChunk. - I don't know if the new method names are well chosen. Revision ChangesPath 1.12

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java

2002-03-15 Thread remm
remm02/03/15 21:34:57 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java Log: - Fix an off-by-one bug: if the requested string was the last bytes in the chunk, it wouldn't be found. Revision ChangesPath 1.8 +1 -1

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java

2002-03-15 Thread billbarker
billbarker02/03/15 22:37:46 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java Log: When looking at Remy's change, this caught my eye. If I'm doing something really stupid here, please -1. util/buf is not one of the packages I've studied a lot. Revision

Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java

2002-03-15 Thread Bill Barker
Just checked in to 3.3. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 15, 2002 11:03 PM Subject: Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java On 16 Mar

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java

2002-03-14 Thread remm
remm02/03/14 21:28:35 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java Log: - Made the offsets relative to the start of the chunk (instead of relative to the start of the internal byte buffer). This looks more consistent with the other indexOf. - Also fix an

cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf ByteChunk.java CharChunk.java

2002-02-06 Thread keith
keith 02/02/06 21:37:35 Modified:util/java/org/apache/tomcat/util/buf ByteChunk.java CharChunk.java Log: indexOf should return an index relative to the internal starting point of the string rather than the beginning of the array. Ported over from main