92 Commits

Author SHA1 Message Date
sgehani%netscape.com
fc606df338 Fix libjar runtime bustage on the Mac.
b = 33656


git-svn-id: svn://10.0.0.236/trunk@64593 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 09:52:32 +00:00
jdunn%netscape.com
b20ae88f6e just adding a newline at the end for hpux
git-svn-id: svn://10.0.0.236/trunk@64328 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:06:01 +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
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
sdagley%netscape.com
10468e8a31 Fixing Mac build bustage. For some unknown @#$%^ reason strdup was defined in the LibjarPrefix headers which was generally a bad idea. Moved the code to an #ifdef XP_MAC block in nsZipArchive.cpp so libjar.mcp _and_ MIW.mcp project build again. Why this ever worked I don't know, I just hacked at it until I could get it building again cause it's Friday night and I wanna go home. r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@59151 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 04:16:36 +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
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
warren%netscape.com
336ce525d7 Fixed bug accessing jar entry.
git-svn-id: svn://10.0.0.236/trunk@54991 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 01:27:48 +00:00
sgehani%netscape.com
d63405a43c Fixes bug 18887. Although the bug doesn't mention it this really is:
CRC-32 checking is now fixed in libjar. [r=dveditz]


git-svn-id: svn://10.0.0.236/trunk@53754 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 05:40:00 +00:00
ssu%netscape.com
2047a1c1f5 fixing bug #18683. fixing how libjar does crc checks. It didn't work for all cases, until now. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@53635 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 05:43:44 +00:00
dveditz%netscape.com
7fd4abbfe1 added Bloaty instrumentation
git-svn-id: svn://10.0.0.236/trunk@53595 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 01:52:29 +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
sgehani%netscape.com
ccf824f925 Added CRC checking for every item we extract. Fixes bug 17511. [r=mstoltz]
git-svn-id: svn://10.0.0.236/trunk@53253 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:08:08 +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
cls%seawood.org
7190f1f2a8 Use #elif not #elseif
git-svn-id: svn://10.0.0.236/trunk@52593 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 22:36:59 +00:00
ssu%netscape.com
857b4649d5 fixing redness on mac tinderbox. #else if doesn't work. Changed it to #elseif
git-svn-id: svn://10.0.0.236/trunk@52586 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 21:50:07 +00:00
sgehani%netscape.com
119d8e6f37 Fixed bugs 10540, 9148. Libjar now reads teh central directory headers as opposed to the local file headers. This enables us to glean permissions informationand restore file mode upon extraction. A side-effect is the bug 10540 fix where the Install.Execute() API now works on Linux since we restore the execute bits in temporarily extracted files. [r=ssu]
git-svn-id: svn://10.0.0.236/trunk@52563 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 20:37:28 +00:00
mstoltz%netscape.com
c48a5396a0 Fixed Windows breakage from converting const nsZIpItem* to nsZipItem*. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@51877 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 20:45:21 +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
sgehani%netscape.com
95d88cbf7b Fixes bug 17190: extract only core_*/* files to obtain the XPInstall engine run by the Install Wizard. [r=cathleen]
git-svn-id: svn://10.0.0.236/trunk@51810 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 02:08:56 +00:00
dveditz%netscape.com
9e8fbafe16 fixing mac bustage
git-svn-id: svn://10.0.0.236/trunk@46230 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 22:03:53 +00:00
dveditz%netscape.com
3db236e159 added blank lines for readability
git-svn-id: svn://10.0.0.236/trunk@45412 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:28:22 +00:00
briano%netscape.com
ec790d84e2 Change the undef NETSCAPE to MOZILLA_CLIENT to fix Win and Mac.
git-svn-id: svn://10.0.0.236/trunk@44597 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 01:23:10 +00:00
sgehani%netscape.com
c161a44056 Fixing Mac bustage in STANDALONE libjar.
git-svn-id: svn://10.0.0.236/trunk@43068 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:05:09 +00:00
ssu%netscape.com
67cc09c208 added ifdef win32 to win32 standalone specific code
git-svn-id: svn://10.0.0.236/trunk@42838 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 23:01:03 +00:00
ssu%netscape.com
ce62f82656 fixed blockage of windows process messages when inflating files. This affects only the standalone windows build.
git-svn-id: svn://10.0.0.236/trunk@42425 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 07:58:15 +00:00
ssu%netscape.com
b072ccdfc4 fixed problem with PR_Seek() in standalone mode
git-svn-id: svn://10.0.0.236/trunk@42341 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 22:08:29 +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
ssu%netscape.com
a9a754a3d0 added define's to deal with building standalone
git-svn-id: svn://10.0.0.236/trunk@35964 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 02:38:14 +00:00
ssu%netscape.com
d983fb8d2e backed out previous checkin due to tree closure
git-svn-id: svn://10.0.0.236/trunk@35738 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:54:13 +00:00
ssu%netscape.com
d852045e1f ifdef'ed all calls to PR_Seek() for the standalone build
git-svn-id: svn://10.0.0.236/trunk@35737 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:47:58 +00:00
ssu%netscape.com
abd1750bd2 ifdef'ed call to PR_Seek() for the standalone build
git-svn-id: svn://10.0.0.236/trunk@35565 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:24:37 +00:00
ssu%netscape.com
ac23eae97a Fixing ShExp use (0 means true)
git-svn-id: svn://10.0.0.236/trunk@34535 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:58:06 +00:00
mcmullen%netscape.com
40e8a964a4 Patches for OpenVMS and conversions to nsQuickSort(). Thanks to Colin Blake and James Lewis Nance (resp)
git-svn-id: svn://10.0.0.236/trunk@33533 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:15:53 +00:00
dveditz%netscape.com
e8f14c6429 allow multi-user finds
git-svn-id: svn://10.0.0.236/trunk@32243 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:21:03 +00:00
dveditz%netscape.com
58db8d4b19 zip archive support
git-svn-id: svn://10.0.0.236/trunk@29611 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:34:30 +00:00
dougt%netscape.com
209f30f426 ack.
git-svn-id: svn://10.0.0.236/trunk@23399 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:06:11 +00:00
dougt%netscape.com
3d7a22afdc Fixes compare from int to ptr. ANSI C++ does not like that.
git-svn-id: svn://10.0.0.236/trunk@23355 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 20:10:20 +00:00
dveditz%netscape.com
7680dbd368 initial libjar files, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@23259 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 02:13:56 +00:00