Commit Graph
78 Commits
Author SHA1 Message Date
[email protected] c4b961a505 Fix issues with extraction of file permissions, especially in standalone. b=231083, 235781 r+sr=dveditz a=asa 2004-08-17 00:12:04 +00:00
[email protected] 4ba0518141 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
[email protected] 69897bf117 build warning fix, bug 229456, r/sr=bzbarsky 2003-12-27 08:44:10 +00:00
[email protected] 7ebe6bbf6e #201226
r/sr=alecf
Patch from Alfred Keyser - optimize time stuff in nsZipArchive
2003-07-15 22:18:04 +00:00
[email protected] 20d5a05ab6 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
[email protected] 7a964fb226 fix bug 198133 - leaks in libjar
- stop initializing zlib when we're not decompressing
- make sure to call inflateEnd even if we don't get Z_STREAM_END
r=timeless, sr=bz
2003-03-19 22:17:40 +00:00
[email protected] c0b42cfec2 fix for bug 189528 - do on-demand decompression of items in a .jar file
instead of allocating all the data into one big buffer, keep a small input buffer around and decompress directly into a client's read buffer..
r=dougt, sr=darin
2003-03-14 18:59:51 +00:00
[email protected] b70e2b57fb reading from corrupt zip archives leaks memory (bug 190996) r=ssu, sr=heikki,a=asa 2003-01-31 21:53:39 +00:00
[email protected] 631fa695fd bug 157646 corrupt zip archive filesize can lead to heap overrun r=mstoltz, sr=daring, a=roc (plus tab removals) 2002-10-31 06:27:20 +00:00
[email protected] 3255ebf24a Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
[email protected] 9b2ffa981f Bug 87965 Can't expand chrome/*.jar files on ARM
fixing warnings caught by [email protected]
patch by [email protected]
r=timeless sr=jst
2002-05-12 17:29:30 +00:00
[email protected] d91c5b2d8a Bug 87965 Can't expand chrome/*.jar files on ARM
patch by [email protected]
r=dveditz sr=brendan
2002-05-03 14:50:46 +00:00
[email protected] 27e75f795d making linux and mac compilers happy. 2002-03-11 21:09:12 +00:00
[email protected] 54a6570d01 bug 116187 Using Arenas to cut down on small memory allocs happening
for the maintaining the zip manifest. r=dveditz/blythe, sr=alecf, a=shaver/asa
2002-03-11 20:18:35 +00:00
[email protected] c336cf23e8 bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 07:00:07 +00:00
[email protected] 8d291d40c1 bug 115986 Thread safe zlib allocator. r=waterson, sr=brendan 2002-01-04 05:46:48 +00:00
[email protected] cac665d103 bug 116191 Making nsZipItem a member of nsJarInputStream rather than a
pointer. Saves a 16 byte allocation on per jar file read. r=darin, sr=dveditz
2001-12-21 05:57:39 +00:00
[email protected] 0b82a8c249 Declaring callback functions appropriately.
Fixing OS/2 tinderbox bustage
2001-12-15 13:15:24 +00:00
[email protected] e5df09ca85 bug 113393 zlib allocator implementation. Eliminates about 1200+
allocations done by zlib by recycling previously allocated
memory. r=darin sr=dveditz
2001-12-15 06:31:49 +00:00
[email protected] 0fba96da5f Fixing typo & tindebrox bustage 2001-12-07 01:45:19 +00:00
[email protected] a8445d7c06 Fix bug 109157, nsZipArchive::BuildFileList footprint reduction
R=dp, SR=dveditz,alecf
2001-12-07 01:16:20 +00:00
[email protected] 9b3084bf95 bug 112312 Removing 32k-1 allocs when reading jar files. Saves a bunch
of time (about 10% on win2k) on startup. r=cathleen,dveditz sr=darin
2001-12-01 00:50:13 +00:00
[email protected] 2c727d0ef8 backing out previous change. Causes installer to fail with crc
errors.
2001-11-29 14:51:50 +00:00
[email protected] a957dc3899 bug 112312 removing 32k allocs from libjar. darin&dp r=dbaron, sr=darin 2001-11-28 03:23:16 +00:00
[email protected] 88d0306cdf fix for 57337 [libjar does not retrieve link information]
r  = [email protected]
sr = [email protected]
2001-09-20 23:33:23 +00:00
[email protected] 30a09f1d88 Oops. 2001-09-20 00:02:59 +00:00
[email protected] 3c364a083d bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
[email protected] 40e2497954 Fix 72551 speed up zip archive opening. r=ssu,sr=waterson 2001-04-03 06:35:13 +00:00
[email protected] 0cddbc2ddf 72495: libjar/"regexp" cleanup (r=dveditz,sr=brendan) 2001-03-21 04:08:12 +00:00
[email protected] b6c6f9da04 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 [email protected] 2001-01-27 23:31:15 +00:00
[email protected] fd7f515db2 fixing tree redness 2001-01-22 20:53:31 +00:00
[email protected] c55581b766 fixing bug 59105 - chrome install hangs when target is not an install file. sr=mscott, r=dveditz. 2001-01-22 20:15:49 +00:00
[email protected] d3928ad37c Add ZIP_TestArchive support for CRC32 verification of all or individual items.
b = 61544
 r = dveditz
sr = alecf
2000-12-27 07:05:55 +00:00
[email protected] b8e4040011 Make libjar work with Phil Katz zip archives created with Sun's 'jar' tool. (aka honor bit 3 of the general purpose bit flag in local headers when searching forthe central directory offset.)
[r=ssu,dbragg; nsbeta3+ b=20512]
2000-08-24 00:48:34 +00:00
[email protected] 2be8997f8c Building standalone libjar for installer use.
[nsbeta3+ b=48109; r=ssu]
2000-08-18 22:09:26 +00:00
[email protected] 84d748485f Fixing bugs in nsZipReaderCache. Bug 18433 2000-06-07 09:05:22 +00:00
[email protected] 48d34b74d7 Fix libjar runtime bustage on the Mac. b = 33656 2000-03-30 09:52:32 +00:00
[email protected] 9748973a19 just adding a newline at the end for hpux 2000-03-28 05:06:01 +00:00
[email protected] caa1af31e0 Restoring file dates at install time.
b = 5107
r = dbragg
2000-03-28 03:38:06 +00:00
[email protected] a62840198e Crasher fixes and optimizations to jar signature verification. bug=7270 r=norris 2000-02-14 01:57:01 +00:00
[email protected] 9bcad22639 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 2000-01-29 04:16:36 +00:00
[email protected] 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
[email protected] d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
[email protected] 166e90d53c Fixed bug accessing jar entry. 1999-12-02 01:27:48 +00:00
[email protected] 890211b4c6 Fixes bug 18887. Although the bug doesn't mention it this really is: CRC-32 checking is now fixed in libjar. [r=dveditz] 1999-11-17 05:40:00 +00:00
[email protected] 942053eaae fixing bug #18683. fixing how libjar does crc checks. It didn't work for all cases, until now. r=sgehani 1999-11-16 05:43:44 +00:00
[email protected] 1c1e5c376f added Bloaty instrumentation 1999-11-16 01:52:29 +00:00
[email protected] 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
[email protected] 6a87cf96f8 Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz 1999-11-12 06:13:13 +00:00
[email protected] 53ffe411ee Added CRC checking for every item we extract. Fixes bug 17511. [r=mstoltz] 1999-11-11 22:08:08 +00:00