34 Commits

Author SHA1 Message Date
scc%netscape.com
506e781f8f making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67400 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 19:49:53 +00:00
slamm%netscape.com
ef73f85acf Fix declaration order to quiet build warning
git-svn-id: svn://10.0.0.236/trunk@67285 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:27:52 +00:00
mstoltz%netscape.com
1aebd93c62 Fixes for 27010, 32878, and 32948.
git-svn-id: svn://10.0.0.236/trunk@67181 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:50:07 +00:00
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
mstoltz%netscape.com
a8b220b370 Backing out changes until I can figure out why it's crashing on startup.
git-svn-id: svn://10.0.0.236/trunk@66937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 21:25:39 +00:00
mstoltz%netscape.com
85e8a5b8e2 Fixes for bugs 27010, 32878, 32948.
git-svn-id: svn://10.0.0.236/trunk@66935 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 20:30:29 +00:00
warren%netscape.com
f9056257c8 Adding code to remove entries from free list when recycled.
git-svn-id: svn://10.0.0.236/trunk@65690 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 09:48:30 +00:00
warren%netscape.com
22161b7197 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.
git-svn-id: svn://10.0.0.236/trunk@65680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:58:24 +00:00
mstoltz%netscape.com
6477be8ebe Fixed crash when calling nsJARInputStream from nsJARChannel.
git-svn-id: svn://10.0.0.236/trunk@65235 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:12:20 +00:00
warren%netscape.com
abaea32d2a Fixed sig of LoadEntry
git-svn-id: svn://10.0.0.236/trunk@64590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 08:09:45 +00:00
warren%netscape.com
fe40326e73 Fixing bugs in jar input streams for jar: protocol.
git-svn-id: svn://10.0.0.236/trunk@64584 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:41:37 +00:00
sgehani%netscape.com
f6fec96c61 Restoring file dates at install time.
b = 5107
r = dbragg


git-svn-id: svn://10.0.0.236/trunk@64306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:38:06 +00:00
norris%netscape.com
d39122eaa9 Added signed script support in Mozilla. bug=7270 r=norris (this is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63543 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:21:28 +00:00
dveditz%netscape.com
edcadba758 fixes bug 29414, all files installed read-only on Win32, r=sgehani
git-svn-id: svn://10.0.0.236/trunk@61778 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 07:22:23 +00:00
sgehani%netscape.com
769633af5b Restore file mode for Win32/Unix when installing.
b = 9148
r = dveditz
a = jar


git-svn-id: svn://10.0.0.236/trunk@61385 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 20:19:16 +00:00
buster%netscape.com
1ed97296d7 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@60686 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 03:41:45 +00:00
mstoltz%netscape.com
4ed4e15d17 Crasher fixes and optimizations to jar signature verification. bug=7270 r=norris
git-svn-id: svn://10.0.0.236/trunk@60679 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 01:57:01 +00:00
mstoltz%netscape.com
f04f70c879 Fixed crashing bug in nsJAR.cpp - was dereferencing unallocated pointer. r=norris
git-svn-id: svn://10.0.0.236/trunk@59467 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:58:37 +00:00
mstoltz%netscape.com
cbd5ead858 Implementation of JAR manifest parser, part of signature verification for signed scripts. bug=7270 r=norris
git-svn-id: svn://10.0.0.236/trunk@59132 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:03:57 +00:00
warren%netscape.com
e9ed17a69b Fixed error case to return error.
git-svn-id: svn://10.0.0.236/trunk@58912 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:21:00 +00:00
ssu%netscape.com
16e7ca6d4c 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.


git-svn-id: svn://10.0.0.236/trunk@58618 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 20:41:47 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
sspitzer%netscape.com
3f096cd0c6 fix warnings
git-svn-id: svn://10.0.0.236/trunk@56571 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:41:57 +00:00
sgehani%netscape.com
fd7cff88d9 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]


git-svn-id: svn://10.0.0.236/trunk@53388 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 00:44:56 +00:00
warren%netscape.com
4695e1619c Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz
git-svn-id: svn://10.0.0.236/trunk@53330 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 06:13:13 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
mstoltz%netscape.com
fc96225344 Created helper class nsZipRead to hold read state information. That way
one nsJAR can support multiple input streams. r=norris


git-svn-id: svn://10.0.0.236/trunk@52616 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:46:09 +00:00
warren%netscape.com
933e7aa1a8 Minor cleanup
git-svn-id: svn://10.0.0.236/trunk@52409 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 20:50:04 +00:00
mstoltz%netscape.com
ea05167e43 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
git-svn-id: svn://10.0.0.236/trunk@51864 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 19:43:26 +00:00
dbragg%netscape.com
4b7d91b21a Checked for null in memory allocation per bug #9852
git-svn-id: svn://10.0.0.236/trunk@39561 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 23:06:52 +00:00
ssu%netscape.com
3a03fbbd68 fixing bug #8454 and AddDirectory() function
git-svn-id: svn://10.0.0.236/trunk@37491 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 23:23:23 +00:00
sgehani%netscape.com
0b6007b26d Modification to the libjar XPCOM interface in order to use it with XPInstall; facilitating ressurection of XPInstall on Unix.
git-svn-id: svn://10.0.0.236/trunk@36515 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 06:16:28 +00:00
dbragg%netscape.com
78909ffc37 XPCOM interface files for libjar
git-svn-id: svn://10.0.0.236/trunk@33329 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:08:32 +00:00