Commit Graph

4394 Commits

Author SHA1 Message Date
brendan%mozilla.org
e81a02eeb2 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
967e208b55 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
nhotta%netscape.com
f2193fe99f Initialize IDN service at nsStandardURL constructor,
added pref observers for IDN related prefs,
bug 188218, r=darin, sr=alecf.
2003-04-11 17:05:56 +00:00
nhotta%netscape.com
e73e8e38b4 Adding Ascii check for mailto url recognition,
bug 201369, r=ben.bucksch, sr=darin.
2003-04-11 16:56:01 +00:00
darin%netscape.com
4701ecfd6c fixes bug 201570 "enable socket transport logging in nightly builds" r=dougt sr=brendan 2003-04-11 01:19:07 +00:00
darin%netscape.com
b98cfb0f44 fixes bug 201370 "TLS intolerance detection broken" r=kaie sr=alecf 2003-04-10 19:06:24 +00:00
cls%seawood.org
9efe5a5a45 Fix mingw bustage.
Bug #134113 r=darin
2003-04-10 05:16:51 +00:00
sspitzer%netscape.com
985e9ef0d6 fix for bug #119964. implement yEnc decoding.
note, we have no plans to support yEnc encoding.
thanks to ducarroz for the patch.  r/sr=sspitzer
2003-04-10 02:19:35 +00:00
darin%netscape.com
e3f678e96a fixes bug 201303 "Utilize new nsIAtom methods to reduce string conversions in nsCacheMetaData" r=gordon sr=alecf 2003-04-10 00:59:33 +00:00
suresh%netscape.com
70948e2ef5 removing obsolete nsIAuthenticator file. bug 182164. 2003-04-09 21:12:10 +00:00
darin%netscape.com
bfd31e83de fixes bug 194402 "publishing doesn't complete; opens multiple FTP control connetctions" r=dougt sr=sfraser 2003-04-08 22:18:10 +00:00
timeless%mozdev.org
8113eff243 Bug 199200 Make Networking Tests XP friendly by using the eventqueueservice
r=darin
2003-04-08 22:01:43 +00:00
darin%netscape.com
4597a70c05 fixes bug 201054 "SSL proxy CONNECT w/ NTLM auth fails" r=dougt sr=bz 2003-04-08 21:12:24 +00:00
dougt%netscape.com
a1da7b8665 allowing ftp URLs w/ anonymous username to automatically use anonymous password. r+sr=darin, b=196286 2003-04-08 20:31:24 +00:00
suresh%netscape.com
524bfd6dd5 fix for bug 155155 - digest authentication fails when switching between POST&GET requests. r-dougt, sr-darin. 2003-04-08 20:03:40 +00:00
axel%pike.org
7682da5d54 bug 201012, get rid of offline warning in PostEvent, r/sr=darin 2003-04-07 21:07:21 +00:00
darin%netscape.com
625a741ad3 fixes bug 200681 "Crash on <link rel=stylesheet href="mailto:foo">" r/sr=bz,sspitzer 2003-04-07 06:18:44 +00:00
darin%netscape.com
e92078ae53 fixes bug 200971 "nsConnectionEntry is leaked" patch=bryner r=dougt sr=darin 2003-04-07 06:12:42 +00:00
darin%netscape.com
3bb3970660 backing out small part of my patch for bug 159015 that shouldn't have been
checked in.
2003-04-07 06:10:47 +00:00
bzbarsky%mit.edu
327a0205c8 prettify HTML-detection a bit; make it a little less likely to detect HTML.
Bug 144672, r=bbaetz, sr=darin
2003-04-04 22:46:50 +00:00
darin%netscape.com
e601785fb3 fixes bug 191715 "PAC: did not work, after a external site is shown" r=bbaetz sr=bz 2003-04-04 20:50:46 +00:00
timeless%mozdev.org
ba9822bb11 Bug 199200 Make Networking Tests XP friendly by using the eventqueueservice
r=darin
2003-04-04 16:01:51 +00:00
darin%netscape.com
846a54d15e fixes bug 200365 "trunk topcrash [@ nsUnknownDecoder::SniffForImageMimeType]"
r=dougt sr=bz
2003-04-03 19:36:27 +00:00
suresh%netscape.com
3eab16a931 fix for bug 199910 - should HTTP null-check prompt callbacks?. r-dougt, sr-darin. 2003-04-02 23:43:12 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
nhotta%netscape.com
547e7a75b3 Initialized the output string before appending the results,
bug 200037, r=ftang, sr=darin.
2003-04-02 21:33:23 +00:00
bryner%netscape.com
7ec9b049b7 Fix a leak of the output stream and socket transport due to shutdown ordering problems (bug 200094). Patch by darin, r=dougt, sr=me. 2003-04-02 03:27:17 +00:00
bryner%netscape.com
b5197b5523 Fix a leak when the directory listing is pulled from the cache (bug 199425). r=bbaetz, sr=darin. 2003-04-02 03:17:30 +00:00
guru%startrek.com
601f904422 Fix for bug 199500 - Crash in nsHttpConnectionMgr::OnSocketEvent if PSM is not installed; p=darin r/sr=alecf a=dbaron 2003-03-28 15:02:42 +00:00
darin%netscape.com
80fa27f6d3 landing final patch for NTLM authentication based on WIN32 SSPI API, b=159015 r=kaie sr=dbaron a=asa 2003-03-27 19:31:53 +00:00
darin%netscape.com
580d22c8bc fixes topcrash bug 199492 "crash while submitting form on www.sony.com [@nsHttpConnection::CloseTransaction]" r+sr=alecf a=dbaron 2003-03-27 18:47:34 +00:00
gordon%netscape.com
ff7d2063b6 Fix bug 198267. Fix accounting of mInactiveSize to prevent assertion. rs=darin. 2003-03-26 05:14:27 +00:00
darin%netscape.com
21adc2903a landing framework changes to support NTLM authentication b=159015 r=dougt,cathleen sr=alecf 2003-03-26 05:05:49 +00:00
suresh%netscape.com
fb07bbed4d fix for 191946 - shows japanese language, instead of english. r/sr-darin 2003-03-26 01:21:26 +00:00
suresh%netscape.com
83d17cf5cf fix for 139772 - PAC: HTTP auth support. r-dbradley, sr-darin. 2003-03-26 01:19:52 +00:00
nhotta%netscape.com
913ad38177 Implements ACE to UTF-8 and modified the test program,
bug 196717, r=shanjian, sr=darin.
2003-03-25 23:18:41 +00:00
nhotta%netscape.com
4bc258adb6 Apply length check for generated ACE string,
bug 198637, r=shanjian, sr=darin.
2003-03-25 20:48:03 +00:00
darin%netscape.com
690c61bf9b fixes bug 192353 "cache meta data is bloaty" r=gordon sr=alecf 2003-03-25 15:20:10 +00:00
dbaron%dbaron.org
497a62b29c Fix shutdown leaks in FTP by freeing the elements of mRootConnectionList before going offline (during XPCOM shutdown). b=191835 r=bbaetz sr=darin 2003-03-25 14:48:57 +00:00
gordon%netscape.com
350a8ad43f Fix bug 198267 and bug 191161. r=bryner, sr=darin. 2003-03-25 07:05:33 +00:00
varga%netscape.com
a8670013de Landing bookmarks branch. Everything except mozilla/xpfe
Bug 196756 - Meta bug for major architectural changes in bookmarks code
r=jag, sr=bryner
2003-03-25 04:44:31 +00:00
darin%netscape.com
e9487262ed fixes bug 195746 "Corrupt cache / HTTP networking - Wrong images, incomplete
pages, octet-stream download dialog" r=dougt sr=bz
2003-03-25 02:23:11 +00:00
suresh%netscape.com
ab88bb861d fix for bug 48202 - HTTP 307 redirect behavior violates RFC2616 [should preserve request method]. r-dougt,sr-darin. 2003-03-25 01:19:21 +00:00
louie.zhao%sun.com
5e6fb3bac7 necko part of bug 60304 "Basic Auth doesn't work for Java"
(To complete fixing bug 60304, need another patch, which is in OJI module)
r = antonio.xu sr= darin
2003-03-24 03:59:47 +00:00
syd%netscape.com
b6737c044c http://bugzilla.mozilla.org/show_bug.cgi?id=195655
Add support for 9 new smilies, and clean up code a bit (part of multiple checkins)

r/sr = sspitzer, r=brade
2003-03-22 04:55:45 +00:00
cbiesinger%web.de
1376e11a13 198490 r=bbaetz rs=darin consecutive spaces are not displayed in filename "file name" -> "file name" 2003-03-21 22:26:52 +00:00
nhotta%netscape.com
cbc48d4f51 Null terminate the punycode encoded string,
bug 198437, r=shanjian, sr=darin.
2003-03-21 00:23:12 +00:00
bzbarsky%mit.edu
83e46b1a49 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
bzbarsky%mit.edu
2c56e0638e Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
bryner%netscape.com
d225e65bfb trying to fix nebiros bustage - moving inline function before its first call site 2003-03-18 06:02:10 +00:00
bryner%netscape.com
170d69ea6e Implement an LRU-SP eviction policy for the memory cache (bug 188458). r=gordon, sr=darin. 2003-03-17 23:22:29 +00:00
gordon%netscape.com
d8e0537dae fix bug 197429 "clear disk cache broken on MacOS X". Rederive mCacheDirectory from parent after moving old mCacheDirectory to Cache.Trash for deletion, rather than operate on clone of mCacheDirectory. r=bryner sr=sfraser. 2003-03-17 07:33:45 +00:00
andreas.otte%debitel.net
1bf6cb18fb fix bug 113032 [jar: anchors within pages drop the HTML file name] fix resolving relative jar urls, fix anchor handling in jar urls, r=darin, sr=bzbarsky 2003-03-15 20:00:20 +00:00
dougt%netscape.com
0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
gordon%netscape.com
4da1882eec Removing obsolete tests. These were for the old pre-NS6.1 cache. r=darin. 2003-03-14 19:29:40 +00:00
gordon%netscape.com
24184abbde removing long obsolete files. r=darin. 2003-03-14 19:27:01 +00:00
dmose%mozilla.org
432ba7d46f The fix for bug 195727 lost the const qualifier. Putting it back. r=timeless, sr=sspitzer 2003-03-14 04:20:40 +00:00
nhotta%netscape.com
0b633fd142 Change nsIIDNService to take AUTF8String and ACString,
bug 188410, r=darin, sr=alecf.
2003-03-13 23:06:14 +00:00
darin%netscape.com
1d90d52e30 fixes bug 196994 "HTTP generates spurious transport status events" r=dougt sr=jag 2003-03-13 00:52:39 +00:00
nhotta%netscape.com
0c489f0e8d Changed to use the official ACE prefix per RFC3490,
and comment changes since drafts turned to RFC,
bug 188215, r=ftang, sr=darin.
2003-03-12 21:31:39 +00:00
cls%seawood.org
92f0db3cbb Disabling autodial support for mingw buildss until a mingw release contains a rasdlg impl.
Change nsDNSEventProc callback declaration to appease both MSVC & GCC.
Bug #134113 r=bbaetz sr=darin
2003-03-12 20:24:37 +00:00
cavin%netscape.com
5b5485a5b6 Fix for 195727. Changed IsSpace() declaration from 'const char aChar' to 'PRUnichar aChar'. r=darin, sr=sspitzer. 2003-03-11 23:49:08 +00:00
gordon%netscape.com
734ccc4de8 fix bustage on OS/2. Use PR_CALLBACK for run function in PR_CreateThread. 2003-03-11 01:38:55 +00:00
gordon%netscape.com
d8058e79cb for bug 103851 "move cache deletion to another thread", r=bryner, sr=darin. 2003-03-10 23:19:05 +00:00
gordon%netscape.com
f45162d495 for bug 103851, adding new cache error. r=bryner, sr=darin. 2003-03-10 23:18:04 +00:00
cls%seawood.org
d1479589a2 Adding mingw makefile changes.
Bug #134113 r=bryner
2003-03-08 05:57:15 +00:00
cls%seawood.org
d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
darin%netscape.com
a9955c10eb fixing OS/2 bustage 2003-03-06 07:27:27 +00:00
darin%netscape.com
dde9c3e7b9 fixes bug 156909 "Possible bug in netwerk/protocol/http/src/nsHttpChannel.cpp"
patch=tenthumbs@cybernex.net r=suresh sr=darin
2003-03-06 05:42:35 +00:00
darin%netscape.com
8ba1dc8571 fixes bug 191835 "FTP leaks control socket" r=bbaetz sr=bzbarsky 2003-03-06 05:01:30 +00:00
darin%netscape.com
767e0d9b9a fixes bug 193887 "Back/Forward buttons break when a variable is used in a
javascript: URI that changes the value of location.href" r=dougt sr=brendan
2003-03-04 04:23:25 +00:00
seawood%netscape.com
d76e9fd54a Use MOZ_X11 instead of NO_X11 to signify that we're building for an X11-based toolkit.
Bug #191447 r=peterl sr=sfraser
2003-03-04 03:58:43 +00:00
darin%netscape.com
eb4a8902c5 fixes bug 194708 "Redirection limit exceeded if https is left out, doesn't follow redirects" r=dougt sr=bryner 2003-03-01 02:18:05 +00:00
suresh%netscape.com
dea34bb74a bug 173867 - http expires header with date-in-past causes miscalculation. r-dougt, sr-darin. 2003-02-28 21:54:57 +00:00
cavin%netscape.com
32e275f48d Fix for 183111. Added nsIExternalProtocolHandler interface and method handlerExists in netwerk/bae/public to be used by mozTXTToHTMLConv. Also treated 0xA0 as space in mozTXTToHTMLConv. r=darin, sr=sspitzer. 2003-02-27 22:46:42 +00:00
andreas.otte%debitel.net
0f9fa9ad78 fix bug 193477 [URL: colon ":" in URI is escaped in request (not scheme or port delimiter)] no longer escape the colon when it is part of the filename in urls, but force it's escape in links when building dir/index listings, r=bbaetz@acm.org, sr=darin@netscape.com 2003-02-27 13:15:19 +00:00
andreas.otte%debitel.net
6f076f634b fix bug 191638 [index/html: files|dirs with "%" need to be properly encoded] force escape of % as part of filenames to %25 to not be damaged by unescape, r=bbaetz@acm.org, sr=darin@netscape.com 2003-02-27 10:55:01 +00:00
kairo%kairo.at
661116311f bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard 2003-02-27 00:05:44 +00:00
alecf%netscape.com
26228c7439 fix for bug 11232 - helper function for putting the reading of a stream into the background
r=dougt, sr=darin
2003-02-25 13:57:09 +00:00
darin%netscape.com
a12a409db2 removing dead files (post bug 176919 cleanup) 2003-02-23 05:22:38 +00:00
darin%netscape.com
f45ba7c9be removing dead code 2003-02-23 05:14:06 +00:00
darin%netscape.com
4a56065e71 removing dead files (post bug 176919 cleanup) 2003-02-23 05:11:04 +00:00
darin%netscape.com
7d541baf54 fixes bug 192207 "M130B Trunk crash [@ 0x00000000 - PL_DHashTableOperate] (really in nsSocketTransportService::RememberHost)" r=dougt sr=brendan 2003-02-23 05:07:34 +00:00
bzbarsky%mit.edu
fe3e3cb6a8 Make defaultDescription and applicationDescription use the handler's leafname
if no description is set.  Bug 190409, r=pkw@us.ibm.com, sr=darin
2003-02-22 20:06:56 +00:00
bzbarsky%mit.edu
784c37bc14 That last checkin was bug 192522, r=alecf, sr=darin 2003-02-22 19:09:58 +00:00
bzbarsky%mit.edu
e45b3bba03 Just set the MIME type on the stringbundle channel after calling Open(). We
don't need necko to sniff the type.
2003-02-22 19:09:04 +00:00
seawood%netscape.com
c01ffacdd7 Add about:buildconfig
Bug #140034 r=bbaetz sr=darin
2003-02-22 05:27:42 +00:00
wtc%netscape.com
5cae1f1bc7 Bug 190960: added the DHE ciphersuites back because the underlying NSS bug
(bug 188856) that broke them has been fixed. r=kaie. sr=bryner. a=asa for
mozilla1.3.
Modified Files:
	netwerk/base/public/security-prefs.js
	security/manager/pki/resources/content/ssl3tlsciphers2.xul
	security/manager/pki/resources/locale/en-US/pref-ssl.dtd
	security/manager/ssl/src/nsNSSComponent.cpp
2003-02-19 15:08:50 +00:00
mkaply%us.ibm.com
a189b0201b #193593
r=darin, sr=bzbarsky, a=asa
Make session-logout work again for http so turbo works on OS/2
2003-02-19 14:53:11 +00:00
darin%netscape.com
d45c95c085 fixes bug 193267 "Code cleanup for nsSocketTransport2.cpp" r=dougt sr=bz a=asa 2003-02-18 21:02:49 +00:00
darin%netscape.com
ee25933de6 fixing bustage! 2003-02-17 04:38:24 +00:00
darin%netscape.com
31bd015416 fixes bug 192478 "mozilla freezes when 'View Selection Source' @ nsPipe3.cpp::nsPipeOutputStream::WriteSegments" r=dougt sr=bz a=dbaron 2003-02-17 01:37:28 +00:00
darin%netscape.com
944e096c4f fixes bug 193227 "Mozilla session hangs when trying to open website, then cannot load until restart" r=dougt sr=bz a=dbaron 2003-02-15 21:04:30 +00:00
darin%netscape.com
6f89b182bd fixes bug 189965 "ANY connection error treated as TCP RST, resulting in "the document contains no data" [was: Yahoo - The connection was refused when attempting to contact rd.yahoo.com]" r=wtc sr=bz a=dbaron 2003-02-13 21:33:58 +00:00
darin%netscape.com
d021d7d179 fixes bug 190860 "trunk topcrash [@ _PR_Getfd]" r=dougt sr=bz a=asa 2003-02-13 19:02:25 +00:00
darin%netscape.com
3091e3de1d fixes bug 192294 "hangs at various URLs (Windows 9x-specific)" r=wtc sr=bz a=asa 2003-02-13 00:06:07 +00:00
darin%netscape.com
af75627808 fixes bug 184122 "mozilla submits bug several times" r=bbaetz sr=bz a=dbaron 2003-02-09 20:13:46 +00:00
darin%netscape.com
494643aa63 fixes bug 192049 "Mozilla fails to read from sockets to this site" r=dougt sr=bz a=dbaron 2003-02-07 00:49:17 +00:00
darin%netscape.com
7ef9daec3e fixes bug 191739 "Browser does not work if loopback is disabled" r=dougt sr=bz a=asa 2003-02-06 21:20:26 +00:00
darin%netscape.com
5b9cb095a3 fixes bug 191220 "FTP: not entering directory, instead message box : 'Alert: 250 CWD command successful'" r=bbaetz,sr=dougt,a=asa 2003-02-02 02:55:30 +00:00