Commit Graph

178 Commits

Author SHA1 Message Date
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
71456adba6 Bug 379841 - nsIZipReader's last modified time ignores secondsp=Dave Townsend (Mossop) <mossop.bugzilla@blueprintit.co.uk>r=biesi, sr=bsmedberg 2007-05-13 05:27:49 -07:00
dbaron@dbaron.org
552c7ce66f Don't close the same file descriptors twice. b=367817 r+sr=darin 2007-01-25 23:05:22 +00:00
darin@meer.net
a729898498 fixes bug 210564 "[nsJARInputStream::Init] leaks file descriptors" patch by sciguyryan+bugzilla@gmail.com, r=alfredkayser, sr=darin 2006-10-19 20:56:48 +00:00
gavin@gavinsharp.com
65ab2a8390 Bug 337561: Merge nsJARDirectoryInputStream into nsJARInputStream, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=darin 2006-10-10 13:24:57 +00:00
gavin@gavinsharp.com
4c84b9ad50 back out bug 337561 2006-09-24 16:23:31 +00:00
gavin@gavinsharp.com
666a38da70 Bug 337561: Merge nsJARDirectoryInputStream into nsJARInputStream, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=darin 2006-09-24 15:13:57 +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
mozilla.mano@sent.com
4387392ef9 Bug 269813 - return failure when trying to open a zipreader twice. patch by Nickolay Ponomarev <asqueella@gmail.com>, r=darin, sr=bz. 2006-04-15 14:02:12 +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
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
db48x@yahoo.com
ad7382b106 bug 296522: nsJAR.cpp uses wrong allocator
patch by john <johnli1995@hotmail.com>, r=darin, a=asa
2005-06-14 10:29:45 +00:00
dougt@meer.net
6e472ec6e7 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 2005-06-01 16:06:53 +00:00
timeless@mozdev.org
4af720e358 Bug 277741 bad copy/paste of NS_ASSERT_OWNINGTHREAD(_class)
r=dbradley sr=dbaron
2005-01-12 19:20:01 +00:00
neil@parkwaycc.co.uk
10d0ba23e0 Bug 256504 Make jar cache flushable p=ted.mielczarek@gmail.com r=darin sr=roc 2004-11-27 17:25:25 +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
ben@bengoodger.com
7ec8532326 246687 - Firefox gets stuck at Finishing Extension Installation dialog if a newer version of an extension with a smaller xpi is installed over the top of it. Fixes a bug in nsJAR.cpp to truncate files extracted over existing files. Patch by pike, r=dveditz@cruzio.com, sr=ben@mozilla.org 2004-07-03 09:10:13 +00:00
roc+@cs.cmu.edu
d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
gerv@gerv.net
4ba0518141 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
timeless@mozdev.org
82ba148889 Bug 225986 DRefTool analysis for libjar files
r=roc sr=roc
2003-11-17 20:44:14 +00:00
timeless@mozdev.org
c171a11d9c Bug 220060 Crash using nsJar w/ null mZipFile
r=darin sr=darin
2003-09-24 01:48:09 +00:00
bryner@brianryner.com
7a7e564213 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:56:05 +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
timeless@mozdev.org
f2fdbd7443 Bug 210539 mFd is not initialized in nsJAR [@ PR_Close]
r=alecf sr=alecf
2003-06-25 01:13:36 +00:00
darin@netscape.com
e291b82c27 fixes bug 209560 "Secure JS doesn't work from https JARs" r=dougt sr=alecf 2003-06-23 22:58:28 +00:00
dwitte@stanford.edu
0be0aa3679 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +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
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
dbaron@dbaron.org
207e66d177 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:05:52 +00:00
dougt@netscape.com
6cf35e63a2 expose the number of signed items a jar. r=mstoltz, sr=dveditz, b=179579 2002-12-13 22:24:12 +00:00
dveditz@netscape.com
ce54e7cd66 bug 164695 prevent heap overrun if jar manifest file has size -1 (corrupt/malicious archive). Also fixes unrelated potential memory leak. r=mstoltz, sr=darin, a=roc 2002-10-31 06:23:52 +00:00
dougt@netscape.com
46ce738546 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
mstoltz@netscape.com
64186909fc Bug 145031 - initialize CurItemMF to null to avoid uninitialized variable warning on tbox.
patch by Aleksey Nogin, r=mstoltz, sr=dveditz.
2002-08-06 00:51:46 +00:00
dougt@netscape.com
00d8c29c64 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
darin@netscape.com
cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
bzbarsky@mit.edu
0ca954f0d6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky@mit.edu
0aa43e0a4b Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details. a=mcafee
2002-02-09 19:00:56 +00:00
bzbarsky@mit.edu
3f6adfa582 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
jaggernaut@netscape.com
0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
blythe@netscape.com
8e79a7c981 fix linux build bustage that I caused with recent checkin 2001-12-07 02:08:57 +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
timeless@mac.com
5408f70625 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
pete@alphanumerica.com
6a2ea6f651 b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
dougt@netscape.com
a0ee550315 Freeze nsIMemory interface bug 99151 r=rpotts@netscape.com, sr=brendan@netscape.com 2001-10-26 00:09:22 +00:00
jaggernaut@netscape.com
93c7de5ae4 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-25 06:13:52 +00:00
dougt@netscape.com
97a37fd993 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dougt@netscape.com
19dc5b259f nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
jaggernaut@netscape.com
a29a08f141 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +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