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

1487 Коммитов

Автор SHA1 Сообщение Дата
dougt%meer.net fbe50de3e2 Removing 1080 from the block port list. b=239121, r=bbaetz, sr=darin, a=chofmann 2004-04-01 22:31:21 +00:00
jshin%mailaps.org 283d02045e bug 129726 : add a pref. entry for always sending URLs in UTF-8 (r=darin, sr=bzbarsky, a=asa) 2004-03-26 12:28:38 +00:00
ben%bengoodger.com b1960320d1 215094 - 235360 Password Manager changes to support Firefox profile automigration - add two methods to nsIPasswordManagerInternal - the ability to add an entry with details, and to read a Mozilla Password manager file from an external source. r=dveditz, sr=darin 2004-03-03 07:52:12 +00:00
cbiesinger%web.de 2a644d9c9d 183415, typo in PAC's getClassObject (double negation instead of single one);
also add nsIRequestObserver to getClassObject's interface list.
r=darin sr=bzbarsky; thanks to Nathan Kurz who suggested (the first part of) this patch
2004-03-01 21:23:45 +00:00
darin%meer.net 646e5b5ba0 landing patch for bug 233305 "Support gnome-vfs's smb: URL scheme" r=biesi sr=bryner 2004-02-28 00:05:58 +00:00
darin%meer.net 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
jst%mozilla.jstenback.com 1804c4910c Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bsmedberg%covad.net 34cd8e8bdf Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
cbiesinger%web.de 36ad5a54c0 bug 230931 - nsFileStreams.h should not #include nsReadLine.h
this forward-declares nsLineBuffer in nsFileStreams.h instead, and turns a
typedef struct { ... } nsLineBuffer into struct nsLineBuffer { ... }
r=bzbarsky sr=darin
2004-01-28 00:22:55 +00:00
peter%propagandism.org a42e149448 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 16:48:40 +00:00
darin%meer.net 37341257a8 fixes bug 226615 "PAC: cannot specify SOCKS5 proxy" r=dougt sr=bz a=tor 2003-12-16 21:23:36 +00:00
darin%meer.net 687fcec193 fixing up comment for nsIServerSocket::getAddress so it is clear that this cannot be used to determine the IP address of the local system. 2003-11-21 07:09:31 +00:00
darin%meer.net fbb7a5ba47 fixes bug 223815 "do not unescape %2e if it occurs in the filename part of the filepath" patch=andreas.otte@debitel.net r=bz sr=darin 2003-11-19 06:03:01 +00:00
darin%meer.net 5fb0075b24 fixes bug 224653 "provide cross-platform NTLM auth implementation" r=kaie sr=bryner 2003-11-18 02:20:34 +00:00
bryner%brianryner.com 51bf394037 More ports bustage fixing. Make ~nsSocketTransport() protected for the benefit of nsDerivedSafe<nsSocketTransport>. 2003-11-15 08:43:50 +00:00
bryner%brianryner.com 59d2ca8b52 Fix AIX bustage by making ~nsSocketTransportService() protected (so that nsDerivedSafe can call it). r=dbaron. 2003-11-15 05:52:32 +00:00
darin%meer.net 8b29fff90c fixes bug 92928 "Server socket support in Necko" r=dougt sr=bzbarsky 2003-11-15 00:13:59 +00:00
darin%meer.net a2d60f0a6d removing dead MacOS9 code 2003-11-11 07:32:34 +00:00
darin%meer.net bd2b068e22 fixes bug 224320 "remove bogus IsDirectory canonicalization" r=dougt 2003-11-11 07:31:47 +00:00
darin%meer.net d511e38761 fixes bug 224240 "nsURIChecker cleanup" r=biesi sr=bzbarsky 2003-11-09 22:49:57 +00:00
timeless%mozdev.org dd677ae919 Bug 49813 "threadsafe" nsDirectoryIndexStream uses nsDirEnumeratorUnix triggering "not thread-safe" assertion
r=darin sr=darin
2003-11-05 12:39:05 +00:00
darin%meer.net 08acfa4f74 fixes bug 223352 "correct condition variable and timeout logic in nsIOThreadPool::ThreadFunc" r=wtc sr=bzbarsky 2003-10-30 02:32:52 +00:00
darin%meer.net 33769a7e69 fixes bug 86846 "PAC: Cannot display alert() in autproxy config file" r=biesi sr=bzbarsky 2003-10-30 02:20:08 +00:00
darin%meer.net d1061f3de6 fixes bug 198806 "Image data memory leak resulting when images are saved (from browser tab)" r=dougt sr=bzbarsky 2003-10-30 02:18:26 +00:00
darin%meer.net 8e21fd8081 fixes bug 222588 "Mozilla creates too many threads and seems to never terminate them" r=timeless sr=bzbarsky 2003-10-22 06:38:39 +00:00
cbiesinger%web.de fadf241e34 removing obsolete comment, r+sr=darin 2003-10-17 20:56:44 +00:00
darin%meer.net b5031beec6 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky 2003-10-09 01:54:07 +00:00
darin%meer.net b6e7913f75 adding some additional documentation per bzbarsky, b=192284 2003-10-08 04:37:38 +00:00
darin%meer.net dfb4b8260b fixes bug 192284 "support nsIChannel::open for all protocols" r=dougt sr=bzbarsky 2003-10-08 04:27:13 +00:00
darin%meer.net ec28931a44 removing nsAutoLock workaround for bug 221331. 2003-10-08 03:38:46 +00:00
darin%meer.net 7e5b9f7f7d minor touch-up to patch for bug 210125. 2003-10-07 08:17:22 +00:00
darin%meer.net 93657ac421 fixes bug 219376 "Trying to resolve IP's via DNS (Failed connections stall instead of giving Connection Failure Error; pages stop/don't finish/complete loading if ad hosts/scripts fail)" r=dougt sr=bienvenu,bryner 2003-10-07 05:11:41 +00:00
darin%meer.net 7fa979fb77 correcting contributor line from initial check-in. 2003-10-06 09:17:15 +00:00
darin%meer.net 0cc34638f5 fix tinderbox Ts=NaN problem. stream transport must handle offset = -1. 2003-10-06 07:58:07 +00:00
darin%meer.net ef29eef7fa fixing win32 bustage. 2003-10-06 03:49:54 +00:00
darin%meer.net db6bd44432 correcting bustage fix. 2003-10-06 03:21:12 +00:00
darin%meer.net 6c1caf1b69 fixes win32 bustage 2003-10-06 02:50:49 +00:00
darin%meer.net 97286a337b fixing potential bustage 2003-10-06 02:14:02 +00:00
darin%meer.net 43063a6f09 bustage fix... i had this in my tree already :-( 2003-10-06 01:58:58 +00:00
darin%meer.net ac61fe09ca annotating workaround for bug 221331. 2003-10-06 01:58:08 +00:00
darin%meer.net 325b3c6de7 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
cbiesinger%web.de 56573a1871 220672. r=darin sr=bzbarsky
Convert nsIEncodedChannel::contentEncodings to nsIUTF8StringEnumerator.

Previously, it used nsISimpleEnumerator, and returned an nsISupportsCString with it.
2003-10-05 17:06:37 +00:00
bryner%brianryner.com cd60efa8ac Updating my email address 2003-09-29 06:04:02 +00:00
bzbarsky%mit.edu 9893ba871c Look for charset param on content type with a case-insensitive search. Bug
220203, r=timeless, sr=darin
2003-09-25 15:37:56 +00:00
darin%meer.net 5fde122429 removing dead code 2003-09-19 18:21:14 +00:00
cls%seawood.org bfca537521 Fix misc build issues for mingw gcc 3.3.1:
* Link non-component libs using -Wl,-enable-runtime-psuedo-relocs to workaround auto-import issues
* the last element of an enum cannot end with a comma
* PRUint16 is not interchangable with PRUnichar nor WCHAR
* cannot take the address of or call ::main() from another c++ function
* Functions declared within |class foo {};| block do not need extra |foo::| qualification
* GCC no longer implements <varargs.h>. Use <stdarg.h> instead
Bug #217009 sr=dbaron
2003-09-18 17:22:33 +00:00
darin%meer.net 3b26be75f0 fixes bug 216854 "necko should not have a compile-time dependency on exthandler" r=dougt sr=bryner 2003-09-16 16:12:59 +00:00
darin%meer.net b77f55bf26 removing files that are no longer compiled. 2003-09-15 21:56:55 +00:00
darin%meer.net c2c0089325 fixes bug 217766 "use nsIObserverService in place of nsINetModuleMgr (eliminate nsIHttpNotify)" r=dwitte sr=bzbarsky 2003-09-15 21:44:43 +00:00
cbiesinger%web.de d79ad7e944 (netwerk part of Bug 124029)
Implement nsBufferedOutputStream::WriteSegments and WriteFrom, and improve comments in other parts of necko
r=darin sr=bz
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	base/public/nsISocketTransport.idl
CVS: 	base/public/nsITransport.idl base/src/nsBufferedStreams.cpp
CVS: 	base/src/nsFileStreams.cpp protocol/http/src/nsHttpChannel.cpp
CVS: ----------------------------------------------------------------------
2003-09-14 11:55:05 +00:00
darin%meer.net 8989a2213a landing patch for bug 205726 "DNS rewrite" r=dougt sr=bryner 2003-09-11 20:32:33 +00:00
bryner%brianryner.com 70b73feae9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 23:12:15 +00:00
brendan%mozilla.org f6be8fe74f Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
bsmedberg%covad.net 117dcd4d23 Bug 211470 - need a common nsURIHashKey r=darin sr=bz 2003-07-27 15:20:11 +00:00
jaggernaut%netscape.com f1efc20ae6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
andreas.otte%debitel.net 52949da7f6 fix bug 213012, unescape %2E during path coalescing, r=dveditz@netscape.com, sr=darin@meer.net 2003-07-25 18:36:34 +00:00
cbiesinger%web.de f742c7f019 removing unused files. r+sr=darin, no bug 2003-07-25 17:31:36 +00:00
jaggernaut%netscape.com f008bc2bad Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
dwitte%stanford.edu 89911cf733 make nsStandardURL::GetFile cache its result and use nsIFile::Clone when handing
it out. we unfortunately need to clone until consumers of this method are fixed
to not modify the returned file (see bug 212724).

this should reduce Ts some...

b=122892, r=andreas.otte, sr=darin, with many thanks to biesi & mkaply for testing on other
plats.
2003-07-19 14:58:33 +00:00
andreas.otte%debitel.net 8e49c0c97d fix bug 207298 [FTP directory problems w/ URL parsing when URL root is not filesystem root] this patch changes the normal resolver for relative urls so that when asked it recognizes special root markers and retains .. that go beyond root as it is necessary for the ftp protocol. r=dougt@meer.net, sr=darin@meer.net 2003-07-16 19:09:00 +00:00
darin%netscape.com 118c114d7b removing errant printf from previous checkin 2003-07-15 14:51:43 +00:00
bzbarsky%mit.edu 5b000ba0c0 Fix bug 212277. r=caillon, sr=darin 2003-07-15 07:01:16 +00:00
darin%netscape.com f2964b1ae0 fixes bug 212598 "netwerk/ should not use nsIPref" r=dougt,caillon sr=bzbarsky 2003-07-14 21:36:24 +00:00
jaggernaut%netscape.com 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu 06dbe6f09a Optimize nsSegmentEncoder to not get an mEncoder unless it actually has
encoding to do (has a non-ascii spec segment).  Bug 212475, r=darin, sr=dbaron
2003-07-12 23:06:13 +00:00
jshin%mailaps.org 6612ac1a1e bug 212125 : factor out loading |nsIPersistentProperties|' from a URI/URIspec and add helper
functions to nsNetUtil.h  (r=rbs, sr=darin)
2003-07-11 21:31:54 +00:00
jaggernaut%netscape.com 87fecf1c93 Bug 212118: Small bug in net_ParseFileURL: Substring(inURL, schemeBeg, schemeBeg + schemeEnd). r=darin, sr=dbaron 2003-07-09 05:11:10 +00:00
jaggernaut%netscape.com c95bae9c84 Purging tabs, r+sr=darin 2003-07-09 02:28:07 +00:00
darin%netscape.com ddebbeb3aa revising nsIChannel documentation further 2003-07-08 22:43:51 +00:00
darin%netscape.com af7236f048 cleaning up some nsIChannel documentation, b=209101, r+sr=nobody 2003-07-08 22:04:32 +00:00
bzbarsky%mit.edu 32d96efdc3 Make sure that nsSimpleURI also strips newlines out of the uri spec... Bug
211599, r=dougt, sr=darin
2003-07-08 20:09:17 +00:00
kaie%netscape.com f82f7c9d38 b=195574 SSL extremely flaky if Ask for Master Password is 'Every time'
r=darin sr=brendan
2003-07-08 14:41:02 +00:00
bzbarsky%mit.edu 10e836c35b Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
origin charset.  Bug 166996, r=dbaron,darin sr=jst
2003-07-01 02:59:54 +00:00
dougt%meer.net 22843b51e3 Adding a new FTP error code to nsNetError.h. r=me, sr=darin, part of bug=209972 2003-06-27 19:02:15 +00:00
ccarlen%netscape.com bf011a6d3b Bug 197379 - take2. Take 1 allowed file:// URLs with HFS paths to work. It did not work, though, when the volume name contained an escaped character. This patch unescapes the volume name before comparison. r=dougt/sr=darin 2003-06-27 14:31:38 +00:00
timeless%mozdev.org 2546d3e495 Bug 187442 change PL_strcmp to strcmp in nsIOService
r=darin sr=darin
2003-06-25 01:13:30 +00:00
darin%netscape.com 25f0a278b0 fixes bug 209560 "Secure JS doesn't work from https JARs" r=dougt sr=alecf 2003-06-23 22:58:28 +00:00
bzbarsky%mit.edu d1447d9cc1 Make setting contentType or contentCharset act as hints if done before channel
open; use this in the CSSLoader to hint that we want text/css data.  Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +00:00
darin%netscape.com a5c849fca1 fixes bug 210119 "Browser crashes when opening URL" r=caillon sr=bzbarsky 2003-06-23 05:51:33 +00:00
darin%netscape.com f307656694 fixes bug 208845 "multiple content-type headers combined breaks mozilla" r=dougt sr=alecf 2003-06-18 23:16:17 +00:00
darin%netscape.com c0b88c3df1 fixes bug 204124 "minor codesize optimizations for nsNetUtil.h" r=dougt sr=alecf 2003-06-18 23:07:09 +00:00
ccarlen%netscape.com ccfba160c9 Bug 197379 - file:// URLs using HFS paths don't work with Mach-O Mozilla. Creating a new version of nsURLHelper for OSX which handles this. Also, some correctness and commenting of corresponding code in nsURLHelperUnix.cpp. r=alecf/sr=sfraser 2003-06-17 13:55:47 +00:00
alecf%flett.org ccf01a2786 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
dwitte%stanford.edu 149f719c00 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
darin%netscape.com 2b0c9c42b6 fixes bug 199173 "IPv6:Page fails to load. No message." r=dougt sr=alecf a=sspitzer 2003-05-15 21:27:46 +00:00
bienvenu%netscape.com 394469c6d1 remove 16K limit on ODA handler call, r=darin, sr=sspitzer,a=sspitzer should speed up local folder parsing substantialy 172786 2003-05-05 22:18:11 +00:00
darin%netscape.com 34c20a2555 fixes bug 197079 "Status bar doesn't display 'Stopped' when stop button is clicked" r=dougt sr=jag a=asa 2003-05-02 06:31:55 +00:00
kaie%netscape.com e3725ca56e b=196827 Lock icon says that site is secure when it isn't because the connection was canceled
Patch by Darin
r=kaie sr=jag a=asa
2003-04-29 16:12:18 +00:00
bzbarsky%mit.edu 68786e981e Fix rasdlg on MingW builds. Bug 203300, patch by jonwil@tpgi.com.au (Jonathan
Wilson), r=darin, sr=bzbarsky, a=sspitzer
2003-04-27 01:38:42 +00:00
darin%netscape.com 3a4bdb8f85 patch for bug 191970 "necko configuration options for footprint reduction" r=seawood sr=dbaron 2003-04-23 03:47:43 +00:00
darin%netscape.com 5a816eb572 fixes bug 202555 "ExtractProxyInfo not honoring permitHttp flag! [was: IMAP
port "disabled for security reasons"]" r=gordon sr=bz
2003-04-19 20:03:31 +00:00
darin%netscape.com f5b0d3eb47 fixes bug 200391 "roaming to a different IP address, get new mail (for pop)
stops working (silently fails)" r=dougt,gordon sr=bz
2003-04-19 19:45:17 +00:00
seawood%netscape.com 7f2e9509e0 Removing unneeded _BSD_SOURCE
Bug #202510
2003-04-19 02:12:08 +00:00
seawood%netscape.com 8893b1e6fd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
darin%netscape.com f13c2a68b7 avoid compiler warning 2003-04-18 04:46:40 +00:00
darin%netscape.com a9f3b48e39 fixes bug 84798 "PAC: Failover does not work" r=dougt sr=alecf 2003-04-15 23:07:12 +00:00
brendan%mozilla.org 36867f5dc9 Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
r=ben, sr=bryner).

- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing.  The JS engine does not need a non-null
object parameter for static scope.  That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.

- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself.  I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.

This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name.  We
need SerializeOutOfLine to handle overlay OOL scripts.	They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc.  This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons.  The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.

There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.

- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.

- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.

- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.

- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.

- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments.  The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.

But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.

- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
 This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.

/be
2003-04-12 01:34:11 +00:00
darin%netscape.com f2e5053dac fixes bug 80918 "Proxy: 'No Proxy for:' does not support ip address wildcards" r=bbaetz sr=alecf 2003-04-11 18:24:55 +00:00