Commit graph

205 commits

Author SHA1 Message Date
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
a54919ae91 #86708# remove calls which are no longer necessary for pack'n'go 2001-08-08 17:24:46 +00:00
Martin Gallwey
7f3134674a #86708# optimise findEND function 2001-08-08 17:23:04 +00:00
Martin Gallwey
dfae4e9ef6 #86708# re-grab pointer everytime to make sure we don't use a stale pointer 2001-08-08 17:22:03 +00:00
Martin Gallwey
fd676f8c2f #86708# remove evil code that is thankfully no longer necessary 2001-08-08 17:21:21 +00:00
Martin Gallwey
c01cf400c4 #86708# Use the same random pool for random number generation for all calls to saveContents 2001-08-08 17:20:28 +00:00
Martin Gallwey
b204a5096b #86708# New methods for pack'n'go 2001-08-08 17:19:35 +00:00
Martin Gallwey
12538b0b25 #86708# remove methods and members that turn out not to be necessary for the pack'n'go feature 2001-08-08 17:18:45 +00:00
Martin Gallwey
cac3e5d5e6 #86708# need to re-grab the pointer every time as some underlying implementations realloc the memory 2001-08-08 17:16:32 +00:00
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
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
fce5a701b8 #65293#: never use memory.h, use string.h instead 2001-07-12 16:54:22 +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
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
c4b00bf081 #87187# add two catch's to support new UCB error stuff 2001-06-12 10:24:24 +00:00
Jens-Heiner Rechtien
b8f9457b70 <memory.h> -> <string.h> 2001-06-11 08:32:41 +00:00
Rüdiger Timm
2060767eea #87576# changed for gcc 2001-06-05 14:14:23 +00:00
Martin Gallwey
2a78cea0e7 #87099# remember the exception specification 2001-06-05 09:20:42 +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
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
96505f3ae5 #87099# Make destructor virtual and make OutputThread a 'friend', also do not realloc the buffer until we need to 2001-05-31 08:40:58 +00:00
Martin Gallwey
ee17f48992 #87099# Make OutputThread a 'friend' instead of making members public or making getter functions 2001-05-31 08:39:40 +00:00
Martin Gallwey
f23c0fc3c1 #87099# remove unused member and add offset and length parameters to 'rawWrite' 2001-05-31 08:38:31 +00:00
Martin Gallwey
7782f736c5 #87099# Added updateStream method 2001-05-31 08:37:33 +00:00
Martin Gallwey
d148b0125f #87099# Optimisation for stream operators 2001-05-31 08:36:39 +00:00
Martin Gallwey
b238840966 #87099# Initial revision 2001-05-31 08:35: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