Commit graph

144 commits

Author SHA1 Message Date
Martin Gallwey
73da475667 #93877# don't use auto_ptr's anymore 2001-10-30 12:58:00 +00:00
Martin Gallwey
e633304552 #93877# derive ContentInfo from OWeakObject so we can use it in an ORef 2001-10-30 12:54:47 +00:00
Martin Gallwey
be612daef9 #92012# decode titles before passing them to the file UCP 2001-10-30 09:34:23 +00:00
Martin Gallwey
a076a3aea7 #93877# Use auto_ptrs to handle life-time of contents 2001-10-26 20:57:47 +00:00
Martin Gallwey
30f738512f 93877# use clear method instead of a temporary 2001-10-26 20:55:47 +00:00
Martin Gallwey
51276abc7f #93877# Call releaseUpwatdRef in destructor 2001-10-26 20:46:08 +00:00
Jens-Heiner Rechtien
51dc2be2be #92924#: exception specifications 2001-10-26 10:21:18 +00:00
Martin Gallwey
6296102913 #91604# also truncate when writing to non-removable media 2001-10-22 12:34:46 +00:00
Martin Gallwey
5495a8e91e #92925# the target of a transfer must be a directory...not a file! 2001-10-10 15:07:48 +00:00
Martin Gallwey
ad4cda2392 #92664# Use some methods from WeakImplHelper classes to implement XTypeProvider, to allow access to ZipPackageStreams from StarBasic 2001-10-02 21:29:08 +00:00
Martin Gallwey
b5733a80d5 #92664# Support XTypeProvider to allow access from Basic 2001-10-02 21:27:29 +00:00
Martin Gallwey
81b20b0471 #92664# remove unused header include 2001-10-02 21:23:35 +00:00
Martin Gallwey
0940f14edd #92664# remove unnecessary header files 2001-10-02 21:22:17 +00:00
Martin Gallwey
3b81b95a57 #92664# Support XTypeProvider to allow access for StarBasic 2001-10-02 21:16:04 +00:00
Martin Gallwey
fd683fae8f #92664# don't include unnecessary pure virtual functions or implementation Id anymore 2001-10-02 21:13:16 +00:00
Martin Gallwey
2077a16bbe #92664# Don't check the implementation Id of ZipPackageEntry any more 2001-10-02 21:12:05 +00:00
Martin Gallwey
844a0c1c09 #92664# Support new initialisation modes and XTypeProvider to allow access from StarBasic 2001-10-02 21:10:51 +00:00
Martin Gallwey
bc08738282 #92549# update XSeekable implementation to throw an exception if someone tries to seek past the end of the stream 2001-09-28 15:24:08 +00:00
Martin Gallwey
9eb6bc4af9 #92466# correctly parse deep directory names 2001-09-26 11:41:36 +00:00
Martin Gallwey
db128d3449 #92268# if a stream has its own encryption key use that one instead of the one from the ZipPackage 2001-09-24 17:27:53 +00:00
Martin Gallwey
d369109afa #92268# Allow EncryptionKeys to be set per stream 2001-09-24 17:25:30 +00:00
Martin Gallwey
db1557d445 #92268# Boolean flag to indicate if this stream has had an encryption key set at it 2001-09-24 17:23:40 +00:00
Martin Gallwey
97ea0e7f09 #89303# The encryption data is only created on demand 2001-09-19 14:43:48 +00:00
Martin Gallwey
ec52fd233a #89303# fix exception specification 2001-09-14 14:46:37 +00:00
Martin Gallwey
88f2fc4151 #89303# The correct flags to unline and un-optimise 2001-09-14 14:24:09 +00:00
Martin Gallwey
4e84579009 #89303# remove unnecessary inline statements/only fill EncryptionData ORef on demand 2001-09-14 14:23:03 +00:00
Martin Gallwey
0d7da6fda4 #89303# only fill the EncryptionData ORef on demand 2001-09-14 14:19:17 +00:00
Martin Gallwey
b4798f2ea1 #89303# use optimised hash map 2001-09-14 14:17:22 +00:00
Martin Gallwey
b45a26d39d #89303# Use new hash 2001-09-14 14:16:27 +00:00
Martin Gallwey
e5ce806ea4 #89303# many optimisations 2001-09-14 14:14:12 +00:00
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