Commit Graph

1322 Commits

Author SHA1 Message Date
darin@meer.net
7ab9824650 patch for bug 287648 "make nsIDNSService use nsICancelable and move private methods to nsPIDNSService" r=biesi sr=bzbarsky 2005-04-06 01:33:28 +00:00
cbiesinger@web.de
2b46750acb bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
bzbarsky@mit.edu
851dba3251 Move processing of various headers from the content sink into the document so
it'll happen for all of our document types.  Bug 288921, r+sr=jst
2005-04-05 03:28:54 +00:00
roc+@cs.cmu.edu
ea36f2d55c Bug 288117. Fix regressions in nsDocShell::SetCanvasHasFocus and in nsListBoxBodyFrame/nsListBoxObject where code made obsolete assumptions about scrollframe structure. r+sr=dbaron 2005-04-03 21:02:47 +00:00
bzbarsky@mit.edu
4f1e15787f Make sure to clone the page descriptor before changing its properties. Also
some cleanup of the GetCurrentDescriptor code.  Bug 285828, r=biesi, sr=jst
2005-04-03 16:51:01 +00:00
bzbarsky@mit.edu
b7e4c92230 Don't fire onLocationChange for initial loads in subframes; reverts old
behavior.  Bug 285738, patch by William A. Gianopoulos
<wgianopoulos@yahoo.com>, r=jst, sr=bzbarsky
2005-03-30 04:22:00 +00:00
jst@mozilla.jstenback.com
8a1494191f Fixing bug 284993. Make sure the new content viewer is properly initialized before fireing location changed notifications. r=bzbarsky@mit.edu, sr=darin@meer.net 2005-03-09 14:31:02 +00:00
cbiesinger@web.de
ec9d8cfcac 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2005-03-07 19:46:06 +00:00
jst@mozilla.jstenback.com
e661d2ccbf Fixing bug 277574. Make sure all modal dialogs, not just the ones that come from DOM calls, bring the requesting tab to focus. r=dveditz@cruzio.com, sr=darin@meer.net 2005-02-23 23:31:37 +00:00
jst@mozilla.jstenback.com
b9819a8116 Fixing bug 209020. Make midas (document eiditing mode) not partially persist when leaving a page, and make it possible to turn off designMode dynamically in a page. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-02-23 21:27:20 +00:00
bzbarsky@mit.edu
c5378c11fc Remove the parentURIContentListener attribute on docshell; people not using
nsIWebBrowser can getInterface the docshells nsIURIContentListener and set its
parent.  Bug 283108, r=biesi, sr=darin
2005-02-22 19:56:11 +00:00
jshin@mailaps.org
e3f993839f bug 244754 : URL is not shown in the status bar when hovering over a url-escaped URL in an encoding different from the document enecoding (r=darin, sr=bzbarsky) 2005-02-22 18:25:12 +00:00
bzbarsky@mit.edu
b4fc1cf29b Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst
2005-02-20 17:02:02 +00:00
bzbarsky@mit.edu
1d86bacab3 Scan for plugins when we're asked whether we can handle a type, not when we
actually go to handle it.  Bug 273785, r=biesi, sr=darin
2005-02-19 02:43:03 +00:00
bzbarsky@mit.edu
ab29d7c72d Make sure that we have an mParentContentListener at all times in docshell. Bug
282644, r=biesi, sr=jst
2005-02-18 18:20:42 +00:00
danm-moz@comcast.net
f3f93e9074 unnamed windows can't be a named target. bug 278143 r=bzbarsky 2005-02-08 23:16:52 +00:00
silver@warwickcompsoc.co.uk
0aab745967 Bug 277658 - Make error pages URL a preference.
r=biesi
sr=bz
p=bugmail@q1n.org (Vidar Braut Haarr)
2005-02-02 19:42:21 +00:00
bzbarsky@mit.edu
a1d12d3aa3 Make STOP_CONTENT not only stop the content viewer, but also cancel all pending
timeouts and intervals. Bug 277092, r+sr=jst
2005-01-31 22:49:42 +00:00
bzbarsky@mit.edu
83c8f75cca Undo the checkin for bug 135811 and refix it better. Fixes bug 279495.
r=danm, sr=jst
2005-01-31 20:46:24 +00:00
cbiesinger@web.de
8282fdc8f1 157004 don't fire onLocationChange for error pages, and don't change the
docshell's currentURI either. be sure to add the failed URL to session history.

r=bz sr=darin
2005-01-31 11:26:31 +00:00
bzbarsky@mit.edu
41548c58af Session history traversals from URI with anchor to same URI without anchor
should scroll.  Bug 280215, r=biesi, sr=darin
2005-01-30 20:53:42 +00:00
bzbarsky@mit.edu
20bac0af28 When doing window access security checks, make sure to treat wyciwyg URIs as
equivalent to their creators.  Bug 270414, r+sr=jst
2005-01-21 16:58:45 +00:00
bzbarsky@mit.edu
3993526ab1 Add a webnavigation flag to allow callers to stop content, not just stop
network activity.  Make nsLocation use this so it doesn't stop content
unnecessarily.  Bug 277224, r=darin, sr=jst
2005-01-20 16:57:04 +00:00
bzbarsky@mit.edu
9e821bf62f Include the part number inside a multipart document in the state key, so that
state restoration works correctly on each part.  Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js
2005-01-15 17:47:23 +00:00
bzbarsky@mit.edu
0edb668d7f If we run into a null child SHEntry while cloning, just clone it as null into
the new tree instead of bailing out on the clone altogether.  Bug 275890,
r=biesi, sr=darin
2005-01-12 02:49:24 +00:00
jst@mozilla.jstenback.com
e022eaf9f9 Fixing bug 277564. Make sure to update the lock icon state correctly when dealing with wyciwyg: URLs. r=bugmail@sicking.cc, dveditz@cruzio.com, darin@meer.net, sr=brendan@mozilla.org, a=asa@mozilla.org 2005-01-12 00:00:53 +00:00
jst@mozilla.jstenback.com
b8059935da Fixing bug 103638 (and bug 273699). Targets with same name in different windows open in the wrong window. Patch by bzbarsky@mit.edu and myself, r=danm.moz@gmail.com, bzbarsky@mit.edu, sr=dveditz@cruzio.com, a=asa@mozilla.org 2005-01-11 19:36:40 +00:00
dveditz@cruzio.com
7b9dbe7ba6 bug 266554 need real referrer internally for various uses. patch by jst, r/sr=dveditz,darin (ported from aviary) 2005-01-05 06:04:46 +00:00
bzbarsky@mit.edu
7ca603edc2 Fix build bustage (swap() called on a cast pointer makes some compilers
unhappy, apparently....).  Bug 272471.
2004-12-08 18:02:40 +00:00
bzbarsky@mit.edu
277a392da1 Make docshell inherit from docloader; clean up related code, move toward
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst
2004-12-08 17:32:06 +00:00
bzbarsky@mit.edu
f022b5ec47 Going from foo#bar to foo shouldn't do an anchor scroll. Bug 273158, r=biesi,
sr=darin
2004-12-08 17:02:56 +00:00
danm-moz@comcast.net
299786ef85 single window mode aviary branch merge. bug 172962, 263689, 263844, 263960 r=bryner,jst,peterv 2004-12-07 16:09:08 +00:00
scott@scott-macgregor.org
4b6c3697e8 Bug #267665, Bug #260836 --> TB0.9 does not do proxy authentication for RSS feeds
RSS feeds which require HTTP authentication are rejected as invalid

Re-work the docshell auth prompt logic to disable prompts for any url running in chrome unless the chrome window
explicitly sets allowAuth on its docshell.

r=darin
sr=jst
2004-11-24 17:45:44 +00:00
darin@meer.net
46b0ed7f8b fixes bug 226972 "The LoadURI function of nsIWebnavigation does not break the read loop when readSegments returns failure code." r=biesi sr=bz 2004-11-12 03:24:24 +00:00
jst@mozilla.jstenback.com
04da222bbf Fixing bug 267249. Don't null out mPrefs in nsDocShell::Destroy() (prefs is a service). This caused a crash on the aviary branch after 172962 landed. Also remove unnecessary null check now that we know mPrefs can't be null. r=dbaron@mozilla.org, sr=brendan@mozilla.org 2004-11-10 22:07:17 +00:00
dbaron@dbaron.org
5379d51cba Null-check for unreproducable topcrash. b=267804 r+sr=jst 2004-11-06 07:59:46 +00:00
darin@meer.net
aeb8a82722 backing out part of my patch for bug 267367 that broke mailnews auth prompting 2004-11-03 22:15:48 +00:00
darin@meer.net
1e0c1e177e fixes bug 267367 "image loading from chrome results in auth prompts if src is protected" r=biesi sr=jst 2004-11-03 07:52:27 +00:00
darin@meer.net
41edd4cd6e eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
dveditz@cruzio.com
4a58f418f8 bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst 2004-10-28 22:52:45 +00:00
timeless@mozdev.org
490ae8ff53 Bug 252836 Exception ``[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: onxbldestructor :: line 402" data: no]'' thrown from function onxbldestructor(event=Event:{0}) in <chrome://global/content/bindings/browser.xml> line 402.
r=neil sr=bz
2004-10-27 08:01:48 +00:00
timeless@mozdev.org
41fba9845f Bug 252836 Exception ``[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: onxbldestructor :: line 402" data: no]'' thrown from function onxbldestructor(event=Event:{0}) in <chrome://global/content/bindings/browser.xml> line 402.
r=neil sr=bz
2004-10-27 05:23:40 +00:00
bzbarsky@mit.edu
f2e3ceaec0 Separate out the concepts of "history entries separated by just a scroll" and
"history entries with the same postdata".  The latter is implied by the former,
but not conversely.  Bug 264964, r=biesi, sr=darin
2004-10-19 21:53:54 +00:00
cbiesinger@web.de
ce49b63eca backing out part of bug 234257 checkin to fix camino orange a=shaver 2004-09-29 22:05:12 +00:00
jst@mozilla.jstenback.com
c067786c73 Fixing bug 261998. Don't fire the beforeunload event when loading a link to an anchor in the current document. r+sr=bzbarsky@mit.edu 2004-09-29 05:29:48 +00:00
cbiesinger@web.de
b7aafd5908 Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
r=bz sr=darin
2004-09-28 20:48:58 +00:00
cbiesinger@web.de
e45d732b3a Bug 128398 store referrer in history patch by James Andrewartha
<trs80@tartarus.uwa.edu.au> r=biesi sr=neil
2004-09-19 20:50:32 +00:00
jst@mozilla.jstenback.com
59d0270264 Fixing bug 259117. Prevent popups when closing a window even if the close came from a user action that would normally enable popups. r=bzbarsky@mit.edu, sr=brendan@mozilla.org 2004-09-14 06:03:34 +00:00
darin@meer.net
88dee35bec fixes bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz 2004-09-09 06:54:52 +00:00
kjh-5727@comcast.net
29831065c6 Bug 258106: nsDocShell should use nsIPrefService APIs instead of nsIPref.
Patch by Mikael Parknert (mikael@parknert.se), r=bzbarsky, sr=roc.
2004-09-06 19:31:22 +00:00