Граф коммитов

188 Коммитов

Автор SHA1 Сообщение Дата
gavin%gavinsharp.com 7bd1f78e76 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 14481eabf4 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 3cbd47d6ea 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 a029c04ad9 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 799d6fc8c1 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 4a94571cee 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 04b8c33eda 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 ac773c0354 Bug 309296 - RFE: directory listing for jar:. r=darin, sr=bzbarsky 2006-03-29 22:10:37 +00:00
timeless%mozdev.org db820cf720 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 eefeee2c91 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 b31f4063fe 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 8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
bmlk%gmx.de 8c0cb1276d build warning fix, bug 229456, r/sr=bzbarsky 2003-12-27 08:44:10 +00:00
mkaply%us.ibm.com a360819fa4 #201226
r/sr=alecf
Patch from Alfred Keyser - optimize time stuff in nsZipArchive
2003-07-15 22:18:04 +00:00
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
alecf%netscape.com 643683d393 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 0527238c0a 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 fb101585e7 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 8546c64322 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 025fb3a058 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 bb336a87d5 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 c7cf2499db 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 06b3ded6e8 making linux and mac compilers happy. 2002-03-11 21:09:12 +00:00
dp%netscape.com 8efa396bdc 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 63fff83ae2 bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 07:00:07 +00:00
dp%netscape.com 511f55d7ee bug 115986 Thread safe zlib allocator. r=waterson, sr=brendan 2002-01-04 05:46:48 +00:00
dp%netscape.com 75409d6e33 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 c054e1681f Declaring callback functions appropriately.
Fixing OS/2 tinderbox bustage
2001-12-15 13:15:24 +00:00
dp%netscape.com 0b130323ce 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 5c26b736c2 Fixing typo & tindebrox bustage 2001-12-07 01:45:19 +00:00
blythe%netscape.com db9576d004 Fix bug 109157, nsZipArchive::BuildFileList footprint reduction
R=dp, SR=dveditz,alecf
2001-12-07 01:16:20 +00:00
dp%netscape.com 37ff37c371 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 dcfa173ae4 backing out previous change. Causes installer to fail with crc
errors.
2001-11-29 14:51:50 +00:00
dp%netscape.com 25918871d6 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 9a5d8f446c 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 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org 102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
dveditz%netscape.com 6eb62d68de Fix 72551 speed up zip archive opening. r=ssu,sr=waterson 2001-04-03 06:35:13 +00:00
shaver%mozilla.org e5f58a96cf 72495: libjar/"regexp" cleanup (r=dveditz,sr=brendan) 2001-03-21 04:08:12 +00:00
dbaron%fas.harvard.edu c55ef35a27 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:31:15 +00:00
ssu%netscape.com 575efef70a fixing tree redness 2001-01-22 20:53:31 +00:00
ssu%netscape.com 579692e16b 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
sgehani%netscape.com 6d76941848 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
sgehani%netscape.com cdd2414ff6 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
sgehani%netscape.com 00aa10a96d Building standalone libjar for installer use.
[nsbeta3+ b=48109; r=ssu]
2000-08-18 22:09:26 +00:00
warren%netscape.com 85fe7a1825 Fixing bugs in nsZipReaderCache. Bug 18433 2000-06-07 09:05:22 +00:00
sgehani%netscape.com c0f9d1f5bc Fix libjar runtime bustage on the Mac. b = 33656 2000-03-30 09:52:32 +00:00
jdunn%netscape.com f04959ab05 just adding a newline at the end for hpux 2000-03-28 05:06:01 +00:00
sgehani%netscape.com b7c8ff5249 Restoring file dates at install time.
b = 5107
r = dbragg
2000-03-28 03:38:06 +00:00
mstoltz%netscape.com 8df8c26172 Crasher fixes and optimizations to jar signature verification. bug=7270 r=norris 2000-02-14 01:57:01 +00:00
sdagley%netscape.com 1546bc8163 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
mstoltz%netscape.com a5072b2c43 Implementation of JAR manifest parser, part of signature verification for signed scripts. bug=7270 r=norris 2000-01-29 00:03:57 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
warren%netscape.com c17a380edc Fixed bug accessing jar entry. 1999-12-02 01:27:48 +00:00
sgehani%netscape.com 73a40c9a94 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
ssu%netscape.com 830101554e 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
dveditz%netscape.com 7cfd752d34 added Bloaty instrumentation 1999-11-16 01:52:29 +00:00
sgehani%netscape.com c1541c3769 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
warren%netscape.com 4a274d01f1 Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz 1999-11-12 06:13:13 +00:00
sgehani%netscape.com 4d95211698 Added CRC checking for every item we extract. Fixes bug 17511. [r=mstoltz] 1999-11-11 22:08:08 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
mstoltz%netscape.com 54b6d77584 Created helper class nsZipRead to hold read state information. That way
one nsJAR can support multiple input streams. r=norris
1999-11-02 23:46:09 +00:00
cls%seawood.org a2f7e7231c Use #elif not #elseif 1999-11-02 22:36:59 +00:00
ssu%netscape.com 69202f5e38 fixing redness on mac tinderbox. #else if doesn't work. Changed it to #elseif 1999-11-02 21:50:07 +00:00
sgehani%netscape.com 96dca78493 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] 1999-11-02 20:37:28 +00:00
mstoltz%netscape.com efcdcfd4ad Fixed Windows breakage from converting const nsZIpItem* to nsZipItem*. r=dveditz 1999-10-26 20:45:21 +00:00
mstoltz%netscape.com 08143e312c 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 1999-10-26 19:43:26 +00:00
sgehani%netscape.com 6dcf3ee43a Fixes bug 17190: extract only core_*/* files to obtain the XPInstall engine run by the Install Wizard. [r=cathleen] 1999-10-26 02:08:56 +00:00
dveditz%netscape.com eff4c6bcca fixing mac bustage 1999-09-07 22:03:53 +00:00
dveditz%netscape.com 8595145824 added blank lines for readability 1999-09-01 01:28:22 +00:00
briano%netscape.com 0546a72da3 Change the undef NETSCAPE to MOZILLA_CLIENT to fix Win and Mac. 1999-08-26 01:23:10 +00:00
sgehani%netscape.com e669e74fe5 Fixing Mac bustage in STANDALONE libjar. 1999-08-10 23:05:09 +00:00
ssu%netscape.com caa2ec5cae added ifdef win32 to win32 standalone specific code 1999-08-09 23:01:03 +00:00
ssu%netscape.com 20b14e3b9e fixed blockage of windows process messages when inflating files. This affects only the standalone windows build. 1999-08-06 07:58:15 +00:00
ssu%netscape.com 58379d73fa fixed problem with PR_Seek() in standalone mode 1999-08-05 22:08:29 +00:00
ssu%netscape.com e6edf1444c fixing bug #8454 and AddDirectory() function 1999-06-29 23:23:23 +00:00
sgehani%netscape.com dbf800ebea Modification to the libjar XPCOM interface in order to use it with XPInstall; facilitating ressurection of XPInstall on Unix. 1999-06-23 06:16:28 +00:00
ssu%netscape.com d797377687 added define's to deal with building standalone 1999-06-20 02:38:14 +00:00
ssu%netscape.com 3b3892972e backed out previous checkin due to tree closure 1999-06-16 21:54:13 +00:00
ssu%netscape.com 744e12c6f7 ifdef'ed all calls to PR_Seek() for the standalone build 1999-06-16 21:47:58 +00:00
ssu%netscape.com 693c4f3f4d ifdef'ed call to PR_Seek() for the standalone build 1999-06-16 00:24:37 +00:00
ssu%netscape.com 2cb4ab9fec Fixing ShExp use (0 means true) 1999-06-10 01:58:06 +00:00
mcmullen%netscape.com 4b0ff2c414 Patches for OpenVMS and conversions to nsQuickSort(). Thanks to Colin Blake and James Lewis Nance (resp) 1999-06-03 18:15:53 +00:00
dveditz%netscape.com 6476604581 allow multi-user finds 1999-05-19 03:21:03 +00:00
dveditz%netscape.com af200e1fdb zip archive support 1999-04-28 00:34:30 +00:00
dougt%netscape.com 78a5a8496a ack. 1999-03-09 23:06:11 +00:00
dougt%netscape.com fa179ee346 Fixes compare from int to ptr. ANSI C++ does not like that. 1999-03-09 20:10:20 +00:00
dveditz%netscape.com b867607040 initial libjar files, NOT PART OF BUILD 1999-03-09 02:13:56 +00:00