43 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
mstoltz%netscape.com
68e9bdd8c0 bug 63451 - moved signature verification functions from nsIZipReader to nsIJAR. r=sgehani, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@87730 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:15:04 +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
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
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
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
dougt%netscape.com
ffea10b15a fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@56705 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 01:55:03 +00:00
dougt%netscape.com
acbf103907 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@56702 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 01:10:33 +00:00
dougt%netscape.com
f938691498 adding include of prio.h. I am not sure how this worked before.
git-svn-id: svn://10.0.0.236/trunk@56698 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 00:00:08 +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
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
briano%netscape.com
97f9fe4ee7 File was missing the required newline at the end of file.
git-svn-id: svn://10.0.0.236/trunk@36666 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 03:13:10 +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
dveditz%netscape.com
d434b9b24c nsZipArchive.h
git-svn-id: svn://10.0.0.236/trunk@32281 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:48:19 +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
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