Commit Graph

227 Commits

Author SHA1 Message Date
warren@netscape.com
1aa1ebcd48 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code. 2000-04-12 07:58:24 +00:00
mstoltz@netscape.com
d1b2e2d50b Fixed crash when calling nsJARInputStream from nsJARChannel. 2000-04-05 00:12:20 +00:00
warren@netscape.com
beaeeaadd0 Fixed sig of LoadEntry 2000-03-30 08:09:45 +00:00
warren@netscape.com
3bf4525cba Fixing bugs in jar input streams for jar: protocol. 2000-03-30 07:41:37 +00:00
sgehani@netscape.com
caa1af31e0 Restoring file dates at install time.
b = 5107
r = dbragg
2000-03-28 03:38:06 +00:00
norris@netscape.com
d5d3df9b3d Added signed script support in Mozilla. bug=7270 r=norris (this is mstoltz's checkin) 2000-03-21 04:21:28 +00:00
dveditz@netscape.com
5531693254 fixes bug 29414, all files installed read-only on Win32, r=sgehani 2000-02-28 07:22:23 +00:00
sgehani@netscape.com
c63a0a34ec Restore file mode for Win32/Unix when installing.
b = 9148
r = dveditz
a = jar
2000-02-21 20:19:16 +00:00
buster@netscape.com
21e401ebfa fixing build bustage 2000-02-14 03:41:45 +00:00
mstoltz@netscape.com
a62840198e Crasher fixes and optimizations to jar signature verification. bug=7270 r=norris 2000-02-14 01:57:01 +00:00
mstoltz@netscape.com
06d4e9a4c7 Fixed crashing bug in nsJAR.cpp - was dereferencing unallocated pointer. r=norris 2000-02-02 01:58:37 +00:00
mstoltz@netscape.com
4fe3cd03f0 Implementation of JAR manifest parser, part of signature verification for signed scripts. bug=7270 r=norris 2000-01-29 00:03:57 +00:00
warren@netscape.com
91a7abf990 Fixed error case to return error. 2000-01-27 09:21:00 +00:00
ssu@netscape.com
b46c007758 A few problems with nsJar:
1.  When opening a file via the OpenArchiveWithFileDesc() you can not
    delete the file descriptor.
2.  Mode was wrong for the extract routine.
2000-01-25 20:41:47 +00:00
dougt@netscape.com
d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
pp@ludusdesign.com
d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
sspitzer@netscape.com
e03f762b2f fix warnings 1999-12-28 19:41:57 +00:00
sgehani@netscape.com
018659ec58 Fixes for bug 18683. Libjar interfaces changed but the implementation didn't so XPInstall was horked. This fixes the runtime XP horkage. [r=dveditz]
Also, added deletion of extracted files if the CRC-32 doesn't match. Mapped 'PR_Delete' to 'remove' for STANDALONE. [r=mstoltz]
1999-11-13 00:44:56 +00:00
warren@netscape.com
6a87cf96f8 Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz 1999-11-12 06:13:13 +00:00
dmose@mozilla.org
20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
mstoltz@netscape.com
ac937eb412 Created helper class nsZipRead to hold read state information. That way
one nsJAR can support multiple input streams. r=norris
1999-11-02 23:46:09 +00:00
warren@netscape.com
36c3feb499 Minor cleanup 1999-11-01 20:50:04 +00:00
mstoltz@netscape.com
2490cfc917 Added GetInputStream function to nsJAR in order to extract files into memory rather than to disk. Created nsJARInputStream to carry this data. Most of the code for this change went into nsZipArchive, which now handles either file output or output to memory. bug=16077 r=dveditz 1999-10-26 19:43:26 +00:00
dbragg@netscape.com
47577d363e Checked for null in memory allocation per bug #9852 1999-07-15 23:06:52 +00:00
ssu@netscape.com
47ae51ef0c fixing bug #8454 and AddDirectory() function 1999-06-29 23:23:23 +00:00
sgehani@netscape.com
692f37e429 Modification to the libjar XPCOM interface in order to use it with XPInstall; facilitating ressurection of XPInstall on Unix. 1999-06-23 06:16:28 +00:00
dbragg@netscape.com
ac604f4382 XPCOM interface files for libjar 1999-06-01 21:08:32 +00:00