dveditz%cruzio.com
1e85f9ad8d
bug 422118 crash reading malformed zip archives. r=biesi, sr=bzbarsky, a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@248177 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 19:28:38 +00:00
jwalden%mit.edu
dda6ff3c99
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.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
dbaron%dbaron.org
246c67a2e7
Bustage fix for 333129 more in module style.
...
git-svn-id: svn://10.0.0.236/trunk@212251 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 17:33:10 +00:00
gavin%gavinsharp.com
92ccebf6dc
Temporary hack to fix bustage from bug 333129
...
git-svn-id: svn://10.0.0.236/trunk@212247 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 15:53:37 +00:00
gavin%gavinsharp.com
8ae5dd2994
Bug 333129: libjar: Only create synthetic entries when really needed, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=biesi
...
git-svn-id: svn://10.0.0.236/trunk@212243 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 15:22:36 +00:00
cbiesinger%web.de
79c83755e2
bug 337763 fix memory leak in ZIP_OpenArchive
...
patch by Ehsan Akhgari <ehsan.akhgari@gmail.com> r=waldo sr=biesi
git-svn-id: svn://10.0.0.236/trunk@209215 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-05 23:04:49 +00:00
mark%moxienet.com
3c3039eafa
342577 nsZipArchive::SeekToItem can fail due to thread race. Work around by separating nsZipItem's headerOffset and dataOffset. r=darin sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@200766 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 23:20:16 +00:00
ajschult%verizon.net
76343a87d7
Bug 336691: nsZipArchive::Test shouldn't try to ExtractFile on directories. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@196096 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 04:19:27 +00:00
darin%meer.net
3966a05c25
fixes bug 336593 "Firefox crashes when it starts [@ PL_FinishArenaPool]" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@196046 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 20:44:52 +00:00
darin%meer.net
78b4d016b3
fixes bug 214672 "Further optimization and correctness improvements of libjar: streamlining nsJarInputStream" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=jwalden, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@195829 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 19:33:09 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
jwalden%mit.edu
9c66ec0e1d
Bug 309296 - RFE: directory listing for jar:. r=darin, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193219 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 22:10:37 +00:00
timeless%mozdev.org
f9bdb44b34
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
cbiesinger%web.de
fd32ae606a
bug 315188 make libjar use symlinks on BeOS too
...
patch by tqh <thesuckiestemail@yahoo.se> r=fyysik sr=darin
git-svn-id: svn://10.0.0.236/trunk@184199 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-05 23:23:01 +00:00
dbaron%dbaron.org
59e7e34558
Fix issues with extraction of file permissions, especially in standalone. b=231083, 235781 r+sr=dveditz a=asa
...
git-svn-id: svn://10.0.0.236/trunk@160840 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-17 00:12:04 +00:00
gerv%gerv.net
586f796c2a
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
bmlk%gmx.de
1a1cc3d8ec
build warning fix, bug 229456, r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@150747 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-27 08:44:10 +00:00
mkaply%us.ibm.com
36249b362e
#201226
...
r/sr=alecf
Patch from Alfred Keyser - optimize time stuff in nsZipArchive
git-svn-id: svn://10.0.0.236/trunk@144892 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 22:18:04 +00:00
seawood%netscape.com
5921049139
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
alecf%netscape.com
60f040f6f4
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
git-svn-id: svn://10.0.0.236/trunk@139797 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 22:17:40 +00:00
alecf%netscape.com
f5cd7d93da
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
git-svn-id: svn://10.0.0.236/trunk@139458 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 18:59:51 +00:00
dveditz%netscape.com
ab31a8158e
reading from corrupt zip archives leaks memory (bug 190996) r=ssu, sr=heikki,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@137217 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 21:53:39 +00:00
dveditz%netscape.com
bc174c9e1c
bug 157646 corrupt zip archive filesize can lead to heap overrun r=mstoltz, sr=daring, a=roc (plus tab removals)
...
git-svn-id: svn://10.0.0.236/trunk@132765 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 06:27:20 +00:00
bryner%netscape.com
79c62ac5b7
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.
...
git-svn-id: svn://10.0.0.236/trunk@127585 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 03:50:27 +00:00
timeless%mac.com
123f127341
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
git-svn-id: svn://10.0.0.236/trunk@121347 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 17:29:30 +00:00
timeless%mac.com
cf3f4b0ae8
Bug 87965 Can't expand chrome/*.jar files on ARM
...
patch by jeroen.dobbelaere@acunia.com
r=dveditz sr=brendan
git-svn-id: svn://10.0.0.236/trunk@120697 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 14:50:46 +00:00
dp%netscape.com
36d368d794
making linux and mac compilers happy.
...
git-svn-id: svn://10.0.0.236/trunk@116341 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 21:09:12 +00:00
dp%netscape.com
68ad48b2a0
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
git-svn-id: svn://10.0.0.236/trunk@116337 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 20:18:35 +00:00
dp%netscape.com
24dfb34dae
bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@112669 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 07:00:07 +00:00
dp%netscape.com
d69c8b61af
bug 115986 Thread safe zlib allocator. r=waterson, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@111347 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 05:46:48 +00:00
dp%netscape.com
e08908028c
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
git-svn-id: svn://10.0.0.236/trunk@110962 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 05:57:39 +00:00
seawood%netscape.com
e3e5848fc7
Declaring callback functions appropriately.
...
Fixing OS/2 tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@110544 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 13:15:24 +00:00
dp%netscape.com
317e478e12
bug 113393 zlib allocator implementation. Eliminates about 1200+
...
allocations done by zlib by recycling previously allocated
memory. r=darin sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@110529 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 06:31:49 +00:00
seawood%netscape.com
f60b40a46b
Fixing typo & tindebrox bustage
...
git-svn-id: svn://10.0.0.236/trunk@109944 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:45:19 +00:00
blythe%netscape.com
9136ac3981
Fix bug 109157, nsZipArchive::BuildFileList footprint reduction
...
R=dp, SR=dveditz,alecf
git-svn-id: svn://10.0.0.236/trunk@109928 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:16:20 +00:00
dp%netscape.com
e1b00fa978
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
git-svn-id: svn://10.0.0.236/trunk@109425 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:50:13 +00:00
dp%netscape.com
1544df4261
backing out previous change. Causes installer to fail with crc
...
errors.
git-svn-id: svn://10.0.0.236/trunk@109217 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:51:50 +00:00
dp%netscape.com
71ad48391f
bug 112312 removing 32k allocs from libjar. darin&dp r=dbaron, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@109094 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 03:23:16 +00:00
idk%eng.sun.com
a420243c8a
fix for 57337 [libjar does not retrieve link information]
...
r = dveditz@netscape.com
sr = brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@103378 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 23:33:23 +00:00
gerv%gerv.net
ae1d5501a1
Oops.
...
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03
bug #98089 : ripped new license
...
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
dveditz%netscape.com
efbf1b32a6
Fix 72551 speed up zip archive opening. r=ssu,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@91107 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:35:13 +00:00
shaver%mozilla.org
5dbf4c4ed5
72495: libjar/"regexp" cleanup (r=dveditz,sr=brendan)
...
git-svn-id: svn://10.0.0.236/trunk@89981 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 04:08:12 +00:00
dbaron%fas.harvard.edu
63bf4cc356
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@85655 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:31:15 +00:00
ssu%netscape.com
fc6813053a
fixing tree redness
...
git-svn-id: svn://10.0.0.236/trunk@85292 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:53:31 +00:00
ssu%netscape.com
74a3ed8284
fixing bug 59105 - chrome install hangs when target is not an install file. sr=mscott, r=dveditz.
...
git-svn-id: svn://10.0.0.236/trunk@85284 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:15:49 +00:00
sgehani%netscape.com
5a95479440
Add ZIP_TestArchive support for CRC32 verification of all or individual items.
...
b = 61544
r = dveditz
sr = alecf
git-svn-id: svn://10.0.0.236/trunk@84091 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 07:05:55 +00:00
sgehani%netscape.com
9d7b2a4cb3
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]
git-svn-id: svn://10.0.0.236/trunk@77014 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:48:34 +00:00
sgehani%netscape.com
212a57768a
Building standalone libjar for installer use.
...
[nsbeta3+ b=48109; r=ssu]
git-svn-id: svn://10.0.0.236/trunk@76657 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 22:09:26 +00:00
warren%netscape.com
626ae9634a
Fixing bugs in nsZipReaderCache. Bug 18433
...
git-svn-id: svn://10.0.0.236/trunk@71712 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 09:05:22 +00:00