Commit graph

114 commits

Author SHA1 Message Date
Martin Gallwey
1ad713ebac #89303# optimisations 2001-09-14 14:10:38 +00:00
Martin Gallwey
67a0964af8 #89303# many optimisations 2001-09-14 14:07:38 +00:00
Martin Gallwey
ff5a40c661 #89303# Small struct to allow me to avoid using Anys as much as possible 2001-09-14 13:33:38 +00:00
Martin Gallwey
1e92e832a4 #91797# If we are doing a straight write (ie, not packed), we can just copy the temp file to the real file without doing a byte-by-byte write 2001-09-06 11:26:49 +00:00
Martin Gallwey
d80f6e0b79 #91797# remove unused object files 2001-09-06 08:42:31 +00:00
Martin Gallwey
10a98b81a9 #90699# Support for digest 2001-09-06 08:22:44 +00:00
Martin Gallwey
dab95c2c47 #90699# Export a digest of the unencrypted stream 2001-09-05 18:13:50 +00:00
Martin Gallwey
e9e01272e3 #91797# Move code back into ZipPackage from OutputThread, as we don't need a threaded solution any longer 2001-09-05 18:10:58 +00:00
Martin Gallwey
17e516c755 #91844# hide the META-INF directory from upper layers 2001-09-03 12:58:24 +00:00
Martin Gallwey
e93a190262 #91769# reccomended change: InteractiveFileIOException to InteractiveAugmentedIOException 2001-08-31 09:01:28 +00:00
Martin Gallwey
c0aba12aab #91514# return code from getVolumeInformation is not useful, so check if we have valid attributes instead 2001-08-30 14:59:45 +00:00
Martin Gallwey
b54c50be69 #91604# truncate files if over-writing 2001-08-30 13:39:56 +00:00
Martin Gallwey
38192c9c27 #91474# do not explicitly export Directories 2001-08-30 12:45:19 +00:00
Martin Gallwey
a9f4db10c4 #91383# oops, remove the MTG_DEBUG define 2001-08-22 18:21:42 +00:00
Martin Gallwey
4c6d14718f #91383# clear the Content which holds onto a reference to the first disk segment so that we can unmount the disk correctly 2001-08-22 18:18:39 +00:00
Martin Gallwey
c7bc70ed97 #86708# handle variable spanning to hard drive and change suffixes to being numeric 2001-08-22 15:12:18 +00:00
Martin Gallwey
235529ee36 #86708# use only random pool for all calls to saveContents 2001-08-08 17:32:39 +00:00
Martin Gallwey
de8cb713b0 #86708#,#87673#,#88979# write the full zip file to a tempfile before over-writing, thus fixing 87673 and 88979. Also, some new code for pack'n'go (should work on windows now) 2001-08-08 17:29:56 +00:00
Martin Gallwey
e522c10e3d #89731# Ensure that the Content has given us a 'real' stream 2001-07-19 12:17:15 +00:00
Martin Gallwey
fefe4a7b2c #89838# get the pre-compiler to hide some debugging information from everyone else...also handle a bad URL in the initialize function 2001-07-18 15:54:37 +00:00
Jens-Heiner Rechtien
7a23964399 #65293#: rURL -> rMountPath 2001-07-12 10:56:11 +00:00
Martin Gallwey
1157563ae8 #86708# changes for pack'n'go feature (incomplete) 2001-07-04 13:56:37 +00:00
Martin Gallwey
2d212fe048 #87667# The if encrypted then compress check should be done here 2001-06-22 10:48:03 +00:00
Martin Gallwey
258efc65a0 #87667# The if encrypted then compress check should be done when writing not here, as we don't know here if we have an encryption key or not 2001-06-22 10:46:49 +00:00
Martin Gallwey
3203cca098 #88228# improve exception handling 2001-06-15 14:26:10 +00:00
Martin Gallwey
c4b00bf081 #87187# add two catch's to support new UCB error stuff 2001-06-12 10:24:24 +00:00
Rüdiger Timm
2060767eea #87576# changed for gcc 2001-06-05 14:14:23 +00:00
Martin Gallwey
7fa0c288d1 #87099# Make sure we compress all STORED streams that are supposed to be encrypted 2001-05-31 09:29:31 +00:00
Martin Gallwey
b93185adc3 #87099# Added ThreadedBuffer and OutputThread 2001-05-31 09:28:09 +00:00
Martin Gallwey
a9e3305015 #87099# Must calculate the size and CRC32 for STORED streams here as it can no longer be done in ZipOutputStream 2001-05-31 09:27:26 +00:00
Martin Gallwey
2ee7e4552b #87099# Remove unused code and only initialise the buffer when we need to 2001-05-31 09:25:58 +00:00
Martin Gallwey
fed8ec37d3 #87099# Use the new ThreadedBuffer class and let it do all the work 2001-05-31 09:24:50 +00:00
Martin Gallwey
033a4d7e7e #86409# Change storage method for encrypted compressed streams pretending to be plain text 2001-05-17 15:17:06 +00:00
Martin Gallwey
0f928c494c #86409# Add parantheses to clarify when exceptions should be thrown 2001-05-16 15:23:48 +00:00
Martin Gallwey
b66f73d7d1 #86409# Allow EncryptionKey's of any length 2001-05-15 14:33:22 +00:00
Martin Gallwey
adaf24e004 #86409# Support 'HasEncryptedEntries property 2001-05-15 14:18:49 +00:00
Martin Gallwey
e8f99d4c4e readBytes is responsible for reallocing the calling stream 2001-05-15 12:05:28 +00:00
Martin Gallwey
5eadc19940 Remove unnecessary parameter in call to getRawStream 2001-05-15 12:04:04 +00:00
Martin Gallwey
0371b5cd9b Remove unnecessary parameter from getRawStream (rEntry should always be aEntry) 2001-05-15 12:03:04 +00:00
Martin Gallwey
26e0332d5a Support encryption of streams! 2001-05-08 13:04:49 +00:00
Martin Gallwey
776aa370d4 made getEncryptionKey inline 2001-05-08 13:04:03 +00:00
Martin Gallwey
b6eb650d3d Clean up inline methods 2001-05-08 13:02:21 +00:00
Martin Gallwey
c5dbb2c73b retrieve and use encryption data recieved from the manifest 2001-05-08 13:01:33 +00:00
Martin Gallwey
37f5b913ed #86337# fix name setting 2001-05-02 17:11:27 +00:00
Martin Gallwey
344db257f5 fix manifest entry 2001-04-30 18:42:15 +00:00
Martin Gallwey
b0401a2302 Fix raw copying of streams 2001-04-30 17:22:56 +00:00
Martin Gallwey
0802bc6db5 set default to be compressed 2001-04-30 17:22:27 +00:00
Martin Gallwey
4fd8fd103e Fix import of mediatype and make the manifest.xml compressed 2001-04-30 17:21:41 +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
822705fec1 Make function conform to prior exception specification 2001-04-23 14:34:21 +00:00