1555 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c368ba2ba4 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


git-svn-id: svn://10.0.0.236/trunk@169608 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 19:56:11 +00:00
jshin%mailaps.org
b918fc6323 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)
git-svn-id: svn://10.0.0.236/trunk@169604 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 18:25:12 +00:00
bzbarsky%mit.edu
967cea925d Remove unused and unimplemented attribute on nsIMarkupDocumentViewer. Bug
282973, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169561 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 16:39:01 +00:00
gandalf%firefox.pl
ae4762f3e8 Bug 279768: Move locales from ./docshell and ./intl to ./dom/locales ; r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@169539 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 18:10:15 +00:00
bzbarsky%mit.edu
7c49888660 Use GetAsSupports instead of STATIC_CAST. Bug 282644 followup, r=biesi
git-svn-id: svn://10.0.0.236/trunk@169534 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 17:18:22 +00:00
bzbarsky%mit.edu
72a6885a89 Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169528 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 17:02:02 +00:00
darin%meer.net
db582fcc3f documentation cleanup for bug 99625
git-svn-id: svn://10.0.0.236/trunk@169488 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 09:12:26 +00:00
bzbarsky%mit.edu
8875363039 Followup patch to bug 273785 -- don't trust the plugin service; it lies about
whether it really found new plugins.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169470 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 03:56:57 +00:00
bzbarsky%mit.edu
921bb06afc 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


git-svn-id: svn://10.0.0.236/trunk@169468 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 02:43:03 +00:00
bzbarsky%mit.edu
92886c33d1 Remove utterly unused member. No bug, r=biesi, sr=lxr search
git-svn-id: svn://10.0.0.236/trunk@169410 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:49:11 +00:00
bzbarsky%mit.edu
f609d7f69c Make sure that we have an mParentContentListener at all times in docshell. Bug
282644, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@169402 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:20:42 +00:00
cbiesinger%web.de
ca6411cedc Bug 237244 use location.reload for "Try Again" on error pages instead of
assigning to location.href
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@169400 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 17:53:45 +00:00
danm-moz%comcast.net
fbcab81ca7 unnamed windows can't be a named target. bug 278143 r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169020 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 23:16:52 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
silver%warwickcompsoc.co.uk
80283ef173 Bug 277658 - Make error pages URL a preference.
r=biesi
sr=bz
p=bugmail@q1n.org (Vidar Braut Haarr)


git-svn-id: svn://10.0.0.236/trunk@168714 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 19:42:21 +00:00
bzbarsky%mit.edu
3040cb0efe Make STOP_CONTENT not only stop the content viewer, but also cancel all pending
timeouts and intervals. Bug 277092, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@168587 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 22:49:42 +00:00
bzbarsky%mit.edu
ac25fe7675 Undo the checkin for bug 135811 and refix it better. Fixes bug 279495.
r=danm, sr=jst


git-svn-id: svn://10.0.0.236/trunk@168576 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 20:46:24 +00:00
cbiesinger%web.de
f69f427f1a 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


git-svn-id: svn://10.0.0.236/trunk@168541 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 11:26:31 +00:00
bzbarsky%mit.edu
2395db24cd Session history traversals from URI with anchor to same URI without anchor
should scroll.  Bug 280215, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@168532 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-30 20:53:42 +00:00
cst%andrew.cmu.edu
616bcafe79 Bug 62402 Do not fixup IP address literals [was: IPv6 IPs]
r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@168483 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-29 00:38:11 +00:00
bzbarsky%mit.edu
c4da8e60d3 When doing window access security checks, make sure to treat wyciwyg URIs as
equivalent to their creators.  Bug 270414, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@168131 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 16:58:45 +00:00
bzbarsky%mit.edu
b1e96a8340 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


git-svn-id: svn://10.0.0.236/trunk@168065 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 16:57:04 +00:00
bzbarsky%mit.edu
b9910f7dd3 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


git-svn-id: svn://10.0.0.236/trunk@167788 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 17:47:23 +00:00
bzbarsky%mit.edu
d040a84fb5 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


git-svn-id: svn://10.0.0.236/trunk@167573 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 02:49:24 +00:00
jst%mozilla.jstenback.com
c490295683 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
git-svn-id: svn://10.0.0.236/trunk@167554 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 00:00:53 +00:00
jst%mozilla.jstenback.com
a15240a6ab 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
git-svn-id: svn://10.0.0.236/trunk@167537 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-11 19:36:40 +00:00
dveditz%cruzio.com
8b9d168c56 bug 266554 need real referrer internally for various uses. patch by jst, r/sr=dveditz,darin (ported from aviary)
git-svn-id: svn://10.0.0.236/trunk@167292 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 06:04:46 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
bsmedberg%covad.net
3edf9d37c8 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
git-svn-id: svn://10.0.0.236/trunk@166737 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 04:07:01 +00:00
bsmedberg%covad.net
4c08900f0e Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
git-svn-id: svn://10.0.0.236/trunk@166497 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 19:28:35 +00:00
bzbarsky%mit.edu
2ac7d9b285 Fix build bustage (swap() called on a cast pointer makes some compilers
unhappy, apparently....).  Bug 272471.


git-svn-id: svn://10.0.0.236/trunk@166437 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 18:02:40 +00:00
bzbarsky%mit.edu
90a640bdff 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


git-svn-id: svn://10.0.0.236/trunk@166435 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu
166d0c5c83 Going from foo#bar to foo shouldn't do an anchor scroll. Bug 273158, r=biesi,
sr=darin


git-svn-id: svn://10.0.0.236/trunk@166434 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 17:02:56 +00:00
danm-moz%comcast.net
cd19cffc4b single window mode aviary branch merge. bug 172962, 263689, 263844, 263960 r=bryner,jst,peterv
git-svn-id: svn://10.0.0.236/trunk@166398 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 16:09:08 +00:00
danm-moz%comcast.net
07949fbe66 single window mode aviary branch merge. bug 172962 r=jst,peterv
git-svn-id: svn://10.0.0.236/trunk@166397 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 16:08:57 +00:00
cbiesinger%web.de
df9fd3e885 Bug 261608 only search for colon in the first word of a string when checking
whether we have a url or keyword
patch by Jeff Walden (remove +bmo to email) <jwalden+bmo@mit.edu> r=caillon
sr=darin

no tp affect - checking in again


git-svn-id: svn://10.0.0.236/trunk@166254 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-04 22:38:54 +00:00
cbiesinger%web.de
870ab106bd backing out Bug 261608 to see whether it fixes the Tp regression
git-svn-id: svn://10.0.0.236/trunk@166251 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-04 20:32:08 +00:00
cbiesinger%web.de
072de30b48 Bug 261608 only search for colon in the first word of a string when checking
whether we have a url or keyword
patch by Jeff Walden (remove +bmo to email) <jwalden+bmo@mit.edu> r=caillon
sr=darin


git-svn-id: svn://10.0.0.236/trunk@166243 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-04 17:47:14 +00:00
pedemont%us.ibm.com
cac5dc3001 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@166068 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 17:33:16 +00:00
bryner%brianryner.com
e1daca3ce3 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +00:00
scott%scott-macgregor.org
54e0111013 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


git-svn-id: svn://10.0.0.236/trunk@165722 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 17:45:44 +00:00
darin%meer.net
6f0ccbc944 fixes bug 270345 "nsIDocShellTreeItem's parent and treeOwner attributes are not scriptable" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165706 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 04:56:49 +00:00
timeless%mozdev.org
23d2e1f19c Bug 250476 lowercase GetChildSHEntry and AddChildSHEntry in nsIDocShellHistory
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@165656 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 19:19:29 +00:00
darin%meer.net
9f31726c01 fixes bug 226972 "The LoadURI function of nsIWebnavigation does not break the read loop when readSegments returns failure code." r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@165291 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-12 03:24:24 +00:00
jst%mozilla.jstenback.com
78d1fa8035 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
git-svn-id: svn://10.0.0.236/trunk@165228 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 22:07:17 +00:00
cbiesinger%web.de
e0ec056ab2 bug 267079 don't use EqualsIgnoreCase for a string not containing characters;
and replace the deprecated .Mid with StringTail. r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@165064 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-06 17:28:22 +00:00
dbaron%dbaron.org
f6296b1cc9 Null-check for unreproducable topcrash. b=267804 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@165057 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-06 07:59:46 +00:00
darin%meer.net
e9c3ee8aae backing out part of my patch for bug 267367 that broke mailnews auth prompting
git-svn-id: svn://10.0.0.236/trunk@164885 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 22:15:48 +00:00
darin%meer.net
7b30970d7c fixes bug 267367 "image loading from chrome results in auth prompts if src is protected" r=biesi sr=jst
git-svn-id: svn://10.0.0.236/trunk@164841 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 07:52:27 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00