48 Commits

Author SHA1 Message Date
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
dougt%meer.net
c3e3eda0f8 Add a scriptable hash function API. basically what this does is moves the hashing function out of the nsISignatureVerifier.idl and creates a new interface nsICryptoHash which is scriptable. Because of this change, we needed to fix up all of the call sites. r=darin, sr=dveditz, a=shaver
git-svn-id: svn://10.0.0.236/trunk@173927 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 16:06:53 +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
dougt%netscape.com
e6df6a479e expose the number of signed items a jar. r=mstoltz, sr=dveditz, b=179579
git-svn-id: svn://10.0.0.236/trunk@135265 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 22:24:12 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +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
dougt%netscape.com
6abd1d51a4 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00
shaver%mozilla.org
52c5230a7b 72495 redux: last references to xp_regexp.h, r=bryner, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@90345 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 18:54: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
dprice%netscape.com
6d9e63b473 fix for 53312 and 55893 adds a memory flusher and fixes a race condition in
zip cache code.  SR=waterson R=warren,jband


git-svn-id: svn://10.0.0.236/trunk@82110 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 22:44:20 +00:00
dprice%netscape.com
775e4470b6 backing out earlier changes for 53312
git-svn-id: svn://10.0.0.236/trunk@81178 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 01:15:24 +00:00
dprice%netscape.com
92f88bed7e added memory flusher for jar cache 53312
a=warren SR=warren,jband


git-svn-id: svn://10.0.0.236/trunk@81139 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 20:42:46 +00:00
warren%netscape.com
d2adc229cc Setting release timeout inside lock -- avoiding race condition.
git-svn-id: svn://10.0.0.236/trunk@79417 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 07:08:22 +00:00
sspitzer%netscape.com
8b0f81b576 fix for bug #51267. intermittent failure when loading files from jars.
the problem is that nsZipArchive and zlib are not thread safe.
for now, add a lock to prevent multiple threads from getting into that code
r=warren,dveditz
super-end-of-game-review=mscott


git-svn-id: svn://10.0.0.236/trunk@79367 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:56:20 +00:00
warren%netscape.com
c0418b04ba Added zip cache hit rate stats.
git-svn-id: svn://10.0.0.236/trunk@77067 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 07:38:41 +00:00
dprice%netscape.com
7f2397f6ec fixing the zipcache R=warren
git-svn-id: svn://10.0.0.236/trunk@76938 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 03:18:53 +00:00
mstoltz%netscape.com
9e2ab39e7d Fixing 40159 and 44822, both [nsbeta2+] regressions on signed scripts. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@74078 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:10:33 +00:00
cls%seawood.org
50a5bb697c Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061
git-svn-id: svn://10.0.0.236/trunk@73904 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 07:13:31 +00:00
mstoltz%netscape.com
763db43f91 Removed dependency of libjar on psm-glue, bug 36853. Fixed out parameter type problem in PSMComponent::HashEnd
git-svn-id: svn://10.0.0.236/trunk@68958 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:49:33 +00:00
mstoltz%netscape.com
1aebd93c62 Fixes for 27010, 32878, and 32948.
git-svn-id: svn://10.0.0.236/trunk@67181 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:50:07 +00:00
mstoltz%netscape.com
a8b220b370 Backing out changes until I can figure out why it's crashing on startup.
git-svn-id: svn://10.0.0.236/trunk@66937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 21:25:39 +00:00
mstoltz%netscape.com
85e8a5b8e2 Fixes for bugs 27010, 32878, 32948.
git-svn-id: svn://10.0.0.236/trunk@66935 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 20:30:29 +00:00
warren%netscape.com
22161b7197 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code.
git-svn-id: svn://10.0.0.236/trunk@65680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:58:24 +00:00
mstoltz%netscape.com
6477be8ebe Fixed crash when calling nsJARInputStream from nsJARChannel.
git-svn-id: svn://10.0.0.236/trunk@65235 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:12:20 +00:00
warren%netscape.com
abaea32d2a Fixed sig of LoadEntry
git-svn-id: svn://10.0.0.236/trunk@64590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 08:09:45 +00:00
warren%netscape.com
fe40326e73 Fixing bugs in jar input streams for jar: protocol.
git-svn-id: svn://10.0.0.236/trunk@64584 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:41:37 +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
rickg%netscape.com
7840169464 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64198 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:30:52 +00:00
norris%netscape.com
d39122eaa9 Added signed script support in Mozilla. bug=7270 r=norris (this is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63543 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:21:28 +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
ba8e1caf0b Including nsFileSpec.h directly. This prep work for the nsIFile landing.
git-svn-id: svn://10.0.0.236/trunk@56676 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:21:36 +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
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
warren%netscape.com
933e7aa1a8 Minor cleanup
git-svn-id: svn://10.0.0.236/trunk@52409 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 20:50:04 +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
mccabe%netscape.com
91543218bc First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.


git-svn-id: svn://10.0.0.236/trunk@43988 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 08:54:47 +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
sspitzer%netscape.com
4da2cf58f6 fix warnings. these classes have virtual functions but non-virtual destructors
git-svn-id: svn://10.0.0.236/trunk@36016 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 01:59:44 +00:00
dveditz%netscape.com
9d8448f9db use standard XPCOM macros
git-svn-id: svn://10.0.0.236/trunk@35713 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:49:42 +00:00
jdunn%netscape.com
e91b02a6ec added newline at end of file. HP won't compile without it
git-svn-id: svn://10.0.0.236/trunk@33452 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:48:16 +00:00
dbragg%netscape.com
78909ffc37 XPCOM interface files for libjar
git-svn-id: svn://10.0.0.236/trunk@33329 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:08:32 +00:00