Commit graph

62 commits

Author SHA1 Message Date
Martin Gallwey
4d650ad817 #87722# correctly handle raw streams 2001-08-02 12:01:04 +00:00
jp
07dc9e46c4 #90267#: remove old code of TF_.. defines 2001-07-30 08:48:59 +00:00
Jens-Heiner Rechtien
fce5a701b8 #65293#: never use memory.h, use string.h instead 2001-07-12 16:54:22 +00:00
Martin Gallwey
1157563ae8 #86708# changes for pack'n'go feature (incomplete) 2001-07-04 13:56:37 +00:00
Martin Gallwey
a4b32bb8af #88338# Add some try catch blocks... 2001-06-15 14:25:10 +00:00
Martin Gallwey
e51a89eb29 #88256# If we have a potentially corrupt file, just assert and then keep going 2001-06-14 16:36:15 +00:00
Martin Gallwey
2a78cea0e7 #87099# remember the exception specification 2001-06-05 09:20:42 +00:00
Martin Gallwey
4b1b42665e #87099# Since we can no longer jump around in the buffer, we will write EXT descriptors for deflated entries and calculate the CRC and size of stored entries elsewhere 2001-05-31 09:23:43 +00:00
Martin Gallwey
a4f45a88f7 #87099# Use offapi.rdb instead of applicat.rdb 2001-05-31 09:21:44 +00:00
Martin Gallwey
17f08c3195 #87099# Remove unused method 2001-05-31 08:48:20 +00:00
Martin Gallwey
ae7f43c18a #87099# Added updateStream method and change the 'using namespace' stuff 2001-05-31 08:47:40 +00:00
Martin Gallwey
35be97b4e7 #87099# OPtimise the stream operators 2001-05-31 08:46:36 +00:00
Martin Gallwey
4d46ad186c #87099# Optimise the stream operators 2001-05-31 08:46:05 +00:00
Martin Gallwey
ce28f432b5 #87256# Keep a copy of the ZipEntry struct, not a reference 2001-05-29 10:57:06 +00:00
Martin Gallwey
8a382d18a8 #87256# Neither of these classes should close the underlying stream 2001-05-28 11:52:33 +00:00
Martin Gallwey
acd3280d7b Remove an unused method, no longer write EXT descriptors for compressed streams and encrypt streams if asked to 2001-05-08 12:59:39 +00:00
Martin Gallwey
cbde1894bd Remove unused 'aSequence' member 2001-05-08 12:58:22 +00:00
Martin Gallwey
53ddbecafe If we have an encrypted stream, decrypt it! (if we can!) 2001-05-08 12:57:41 +00:00
Martin Gallwey
7a61d7abe9 fix copying of raw streams 2001-04-30 17:19:09 +00:00
Martin Gallwey
c57f906170 Fix raw copying of streams + clean up constructor 2001-04-30 17:17:44 +00:00
Martin Gallwey
e243f497f8 Fix copying of raw streams 2001-04-30 17:16:55 +00:00
Martin Gallwey
fa2de5099c #86409# Support encryption in package files + a couple of optimisations 2001-04-27 13:56:07 +00:00
Martin Gallwey
4b6f310cd7 misc code clean ups 2001-04-19 13:13:40 +00:00
Martin Gallwey
2b7c5da331 Moved these headers from main inc directory 2001-04-19 13:12:53 +00:00
Martin Gallwey
19e677a2e8 comply with MI's required change for package->packages, as package is a reserved word in Java 2001-03-16 16:11:42 +00:00
Martin Gallwey
593af212be #84734# Only allocate aSequence for deflated streams, and free the memory used afterwards 2001-03-08 15:34:27 +00:00
Martin Gallwey
6e0caeee8a #84734# Restrict the number of bytes read from a compressed stream when checking for zip file header to a 32k LZ77 window 2001-03-07 18:24:15 +00:00
Martin Gallwey
5d44dd508f re-organised support for time/date-stamping 2001-03-07 15:09:44 +00:00
Martin Gallwey
ce5fa3937f String handling optimisations 2001-02-07 09:51:26 +00:00
Martin Gallwey
1c7be225a3 Remove check for bizarre Solaris bug 2001-02-07 08:15:43 +00:00
Martin Gallwey
bfaa449c45 Allow the setting of the MediaType on the root folder 2001-02-07 08:13:57 +00:00
Martin Gallwey
3507007cba Do not write data descriptors for STORED files because Jar doesn't like them 2001-01-17 12:42:26 +00:00
Martin Gallwey
25eb58da9f removed non thread-safe statics 2000-12-20 11:36:39 +00:00
Martin Gallwey
7a03490d7b Added my name to the Contributors field of the header 2000-12-20 10:24:27 +00:00
Martin Gallwey
8d831711c6 many optimisations and memory leaks due to circular references fixed! An altogether amazing commit...tell your friends 2000-12-19 20:55:41 +00:00
Martin Gallwey
4f0d6a6710 fix a second exception specification so that this time _it really does_ compile under Solaris (honest, guv) 2000-12-13 16:21:40 +00:00
Martin Gallwey
95ed8cbae6 fixed exception specification so it compiles under solaris 2000-12-13 16:18:33 +00:00
Martin Gallwey
4b11504f4a This rather enormous commit has the following features:
1. Fixed three different memory leaks, one of them quite serious
2. Considerably streamlined the ZipPackageBuffer class - large performance
   increase, also streamlined EntryInputClass in the same way...
3. Correctly saves embedded zip files as embedded zip files instead of
   directories
4. Supports the copying of raw streams instead of de-compressing/re-
   compressing unnecessarily.

Marty
2000-12-13 16:00:47 +00:00
Martin Gallwey
d166606dce #65293# fixed extra ()'s in throw statements before obo finds them and comes after me to kill me 2000-12-08 12:40:03 +00:00
Oliver Bolte
56cc3066fd #65293# syntax error 2000-12-08 11:28:22 +00:00
Martin Gallwey
13c5235608 #81494# fixed the problem with opening empty directories in JAR 2000-12-07 10:04:07 +00:00
Oliver Bolte
f6b5d036d1 #65293# Parse error linux throw() 2000-12-04 15:04:49 +00:00
Martin Gallwey
2056f50ead #80556# improved exception handling 2000-12-04 10:30:09 +00:00
Martin Gallwey
27f0f98c4c #80556# fix moronic static_cast 2000-12-01 10:39:30 +00:00
Martin Gallwey
f2d26f84b4 #80556# fix compiler warnings 2000-12-01 09:50:49 +00:00
Mathias Bauer
5f0e2de745 #80466#: readBytes must realloc buffer 2000-11-30 12:47:49 +00:00
Martin Gallwey
2d5e27c5f1 #80556# correctly handle empty zips 2000-11-29 12:47:18 +00:00
Martin Gallwey
07c2807484 #80556# bug fixes 2000-11-29 02:21:56 +00:00
Martin Gallwey
81c60a38c4 #80556# make it build 2000-11-28 15:49:34 +00:00
Oliver Bolte
65de56e98c #65293# throw() to throw for linux 2000-11-28 15:11:37 +00:00