Commit Graph

202 Commits

Author SHA1 Message Date
Alfred Kayser
d67483290b Bug 510844 - "Remove memcpy()s for compressed jar reading" [r=tglek] 2009-09-01 14:47:00 -05:00
Alfred Kayser
9ad70fe1c0 Bug 510247 - Simplify the BuildFileList scanner logic to prevent underruns on JAR files. r=tglek 2009-08-25 00:12:02 +02:00
Taras Glek
438a96d9ae Bug 504864: mmap io for JARs r=bsmedberg 2009-08-12 13:50:12 -07:00
Serge Gautherie
512b325a93 Backed out "changeset: ff9eba3f8224" of
Bug 504864 - mmap io for JARs; r=benjamin
which does not compile on Windows
2009-08-08 12:40:50 +02:00
Taras Glek
fd006379ec Bug 504864 - mmap io for JARs; r=benjamin 2009-08-08 12:07:39 +02:00
Taras Glek
3c74e3bd8c bug 505784: nuke STANDALONE mode in libjar r=bsmedberg 2009-07-23 11:40:29 -07:00
Makoto Kato
96e75f144c Bug 500122 - cannot build libjar on Symbian. r=cbiesinger 2009-06-26 14:43:15 +09:00
Neil Rashbrook
b5c60f2182 Bug 487018 Switch to nsCString and fix other allocator mismatches r=timeless sr=dveditz 2009-04-07 10:24:58 +01:00
Doug Turner
c48fc71e7d Bug 461848 - libjar wince cleanup r+sr=dveditz 2008-12-03 08:41:12 -05:00
Arpad Borsos
1b55360c07 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
7e9c838684 bug 422118 crash reading malformed zip archives. r=biesi, sr=bzbarsky, a=schrep 2008-03-19 12:28:38 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
dbaron@dbaron.org
713775587e Bustage fix for 333129 more in module style. 2006-09-24 17:33:10 +00:00
gavin@gavinsharp.com
0d28478cf8 Temporary hack to fix bustage from bug 333129 2006-09-24 15:53:37 +00:00
gavin@gavinsharp.com
9542f5781d Bug 333129: libjar: Only create synthetic entries when really needed, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=biesi 2006-09-24 15:22:36 +00:00
cbiesinger@web.de
e804bca95d bug 337763 fix memory leak in ZIP_OpenArchive
patch by Ehsan Akhgari <ehsan.akhgari@gmail.com> r=waldo sr=biesi
2006-09-05 23:04:49 +00:00
mark@moxienet.com
5d766cc660 342577 nsZipArchive::SeekToItem can fail due to thread race. Work around by separating nsZipItem's headerOffset and dataOffset. r=darin sr=darin 2006-06-23 23:20:16 +00:00
ajschult@verizon.net
0a6b75a5d3 Bug 336691: nsZipArchive::Test shouldn't try to ExtractFile on directories. r+sr=darin 2006-05-06 04:19:27 +00:00
darin@meer.net
2bbd9c3aab fixes bug 336593 "Firefox crashes when it starts [@ PL_FinishArenaPool]" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin 2006-05-05 20:44:52 +00:00
darin@meer.net
5477d3ad91 fixes bug 214672 "Further optimization and correctness improvements of libjar: streamlining nsJarInputStream" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=jwalden, sr=darin 2006-05-02 19:33:09 +00:00
dbaron@dbaron.org
96634178f2 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
jwalden@mit.edu
8bc6ad24eb Bug 309296 - RFE: directory listing for jar:. r=darin, sr=bzbarsky 2006-03-29 22:10:37 +00:00
timeless@mozdev.org
66f4ec6854 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
cbiesinger@web.de
ecb70306ee bug 315188 make libjar use symlinks on BeOS too
patch by tqh <thesuckiestemail@yahoo.se> r=fyysik sr=darin
2005-11-05 23:23:01 +00:00
dbaron@dbaron.org
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
gerv@gerv.net
4ba0518141 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
bmlk@gmx.de
69897bf117 build warning fix, bug 229456, r/sr=bzbarsky 2003-12-27 08:44:10 +00:00
mkaply@us.ibm.com
7ebe6bbf6e #201226
r/sr=alecf
Patch from Alfred Keyser - optimize time stuff in nsZipArchive
2003-07-15 22:18:04 +00:00
seawood@netscape.com
20d5a05ab6 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
alecf@netscape.com
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
alecf@netscape.com
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
dveditz@netscape.com
b70e2b57fb reading from corrupt zip archives leaks memory (bug 190996) r=ssu, sr=heikki,a=asa 2003-01-31 21:53:39 +00:00
dveditz@netscape.com
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
bryner@netscape.com
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
timeless@mac.com
9b2ffa981f Bug 87965 Can't expand chrome/*.jar files on ARM
fixing warnings caught by ayn2@cornell.edu
patch by jeroen.dobbelaere@acunia.com
r=timeless sr=jst
2002-05-12 17:29:30 +00:00
timeless@mac.com
d91c5b2d8a Bug 87965 Can't expand chrome/*.jar files on ARM
patch by jeroen.dobbelaere@acunia.com
r=dveditz sr=brendan
2002-05-03 14:50:46 +00:00
dp@netscape.com
27e75f795d making linux and mac compilers happy. 2002-03-11 21:09:12 +00:00
dp@netscape.com
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
dp@netscape.com
c336cf23e8 bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 07:00:07 +00:00
dp@netscape.com
8d291d40c1 bug 115986 Thread safe zlib allocator. r=waterson, sr=brendan 2002-01-04 05:46:48 +00:00
dp@netscape.com
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
seawood@netscape.com
0b82a8c249 Declaring callback functions appropriately.
Fixing OS/2 tinderbox bustage
2001-12-15 13:15:24 +00:00
dp@netscape.com
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
seawood@netscape.com
0fba96da5f Fixing typo & tindebrox bustage 2001-12-07 01:45:19 +00:00
blythe@netscape.com
a8445d7c06 Fix bug 109157, nsZipArchive::BuildFileList footprint reduction
R=dp, SR=dveditz,alecf
2001-12-07 01:16:20 +00:00
dp@netscape.com
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
dp@netscape.com
2c727d0ef8 backing out previous change. Causes installer to fail with crc
errors.
2001-11-29 14:51:50 +00:00
dp@netscape.com
a957dc3899 bug 112312 removing 32k allocs from libjar. darin&dp r=dbaron, sr=darin 2001-11-28 03:23:16 +00:00
idk@eng.sun.com
88d0306cdf fix for 57337 [libjar does not retrieve link information]
r  = dveditz@netscape.com
sr = brendan@mozilla.org
2001-09-20 23:33:23 +00:00
gerv@gerv.net
30a09f1d88 Oops. 2001-09-20 00:02:59 +00:00