179 Commits

Author SHA1 Message Date
bryner%brianryner.com
331cadb813 Fix pending-loads check for fastback so that we detect loads initiated either before or after Stop() is called. Fix assert on reload. Fix problem where the wrong load type was being checked in CanSavePresentation(). Fix problem where we cached a content viewer on the current history entry when it was equal to the new history entry. Bugs 292954 and 292950. r+sr=darin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@175110 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 20:53:43 +00:00
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu
c980dc5f76 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


git-svn-id: svn://10.0.0.236/trunk@171627 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 03:28:54 +00:00
bzbarsky%mit.edu
b7f2b5b8a5 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


git-svn-id: svn://10.0.0.236/trunk@171363 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 04:22:00 +00:00
jst%mozilla.jstenback.com
caebf07943 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
git-svn-id: svn://10.0.0.236/trunk@170437 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 14:31:02 +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
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
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
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
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
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
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
dveditz%cruzio.com
cda3a7d10c bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst
git-svn-id: svn://10.0.0.236/trunk@164582 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 22:52:45 +00:00
cbiesinger%web.de
cf0e63224c Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@162891 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 20:48:58 +00:00
cbiesinger%web.de
7064f62327 Bug 128398 store referrer in history patch by James Andrewartha
<trs80@tartarus.uwa.edu.au> r=biesi sr=neil


git-svn-id: svn://10.0.0.236/trunk@162533 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 20:50:32 +00:00
kjh-5727%comcast.net
a04d276004 Bug 258106: nsDocShell should use nsIPrefService APIs instead of nsIPref.
Patch by Mikael Parknert (mikael@parknert.se), r=bzbarsky, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@161827 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 19:31:22 +00:00
dbaron%dbaron.org
371342cda8 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161766 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:51:21 +00:00
dbaron%dbaron.org
e53ac83c0a Back out previous round of bug 72747 changes due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161749 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
b8499fbfc0 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161744 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 06:53:36 +00:00
vladimir%pobox.com
a8b8dcc260 b=205947, proxy: mailnews does not display proxy auth dialog, r=darin, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@161642 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 05:13:25 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4 Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +00:00
cbiesinger%web.de
c3aa189b8d bug 249107 directory listings coming from session history (cache?) displayed in raw form
r=jst sr=darin


git-svn-id: svn://10.0.0.236/trunk@158648 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-01 17:04:31 +00:00
jst%mozilla.jstenback.com
472233cafb Fixing regression bug 246923. Bring back to life the fix for bug 13871, and improve on the fix for bug 246448. r=dveditz@cruzio.com, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@158368 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 17:42:31 +00:00
jst%mozilla.jstenback.com
1f25d963d2 Fixing bug 246448. Prevent loading of content into a frame from a origin different than the one owning the frame. r=dveditz@cruzio.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@157903 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-15 08:28:52 +00:00
jst%mozilla.jstenback.com
79d1747c7a Fixing bug 243213. Don't waste time looking up the nsIURIFixup service for every docshell, and move some members around to make things align up and pack better on some 64-bit platforms. r=bzbarsky@mit.edu, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@156213 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 00:12:09 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
f0f27b1fac When creating a frame after a page has loaded and loading a new document into
it, don't try to treat it as a subframe history traversal, since there is no
original history entry involved so the cloning operation fails.  Just append
the session history entry for the newly loaded frame to the history entry for
the page as we would have if the load were done during pageload.  Bug 237717,
r=adamlock, sr=darin


git-svn-id: svn://10.0.0.236/trunk@154753 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 01:42:40 +00:00
jst%mozilla.jstenback.com
d28978604e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@152654 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:09:51 +00:00
bsmedberg%covad.net
d436ad454d Bug 224829 - docshell should not require non-gecko interface nsIBrowserHistory. This was fixed by introducing a new interface nsIGlobalHistory2 to replace the current nsIGlobalHistory. There are two-way adapters so that the frozen interface still works. r=biesi sr=bz a=mscott for toolkit/ changes.
git-svn-id: svn://10.0.0.236/trunk@152632 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:10:04 +00:00
bzbarsky%mit.edu
24bc13c2c1 Implement support for the "type" attribute of <a> elements. Bug 214626,
r=adamlock, sr=darin


git-svn-id: svn://10.0.0.236/trunk@147540 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 22:11:47 +00:00
jaggernaut%netscape.com
fd04e5bb85 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
git-svn-id: svn://10.0.0.236/trunk@143070 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 00:21:01 +00:00
locka%iol.ie
ca19d857f9 Check for invalid combination of load flags. b=87353 r=radha@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@142912 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-26 12:14:17 +00:00
danm%netscape.com
c1dbc6b770 revert rev 1.136 because of regression bug 199471. code=radha r=me
git-svn-id: svn://10.0.0.236/trunk@142834 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:47:57 +00:00
sspitzer%netscape.com
b6388d7f3d fix for security bug #51631
prevent auth UI from coming up from inside messages
sr=darin, r=bienvenu, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@141834 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 23:29:17 +00:00
sfraser%netscape.com
7cbce31d05 Fix crasher bug 202439 by properly refcounting the transferable hook list. r=brade, sr=bz/me.
git-svn-id: svn://10.0.0.236/trunk@141351 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 02:03:44 +00:00
brade%netscape.com
228c73e38c docshell changes for drag/drop/copy/paste hooks (bug 197121) r=adamlock, sr=smfr
git-svn-id: svn://10.0.0.236/trunk@141302 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 13:16:05 +00:00
radha%netscape.com
e418f80882 Fix for bug # 166736. clicking on view image while page is loading causes the back button to notgo to the last page, but the page before last. r=adamlock sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@139394 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 19:58:23 +00:00
radha%netscape.com
9ad867a793 Fix for bug # 148794. Check if the load is to a iframe and if so, do not add
it to session history.


git-svn-id: svn://10.0.0.236/trunk@138976 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 21:37:20 +00:00
nisheeth%netscape.com
35d3c372ec Fix bug 193347. r/sr=alecf. a=dbaron. Remove autocomplete learning and data collection code from nsGlobalHistory.cpp now that it is no longer needed.
git-svn-id: svn://10.0.0.236/trunk@138089 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-21 05:08:12 +00:00
nisheeth%netscape.com
9e0b285c05 Ongoing work for bug 182366. Use machine learning techniques to sort autocomplete results. r=heikki. sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@136262 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 22:23:41 +00:00
rods%netscape.com
fd580a6eb2 some changes from a nother patch was accidently checked in
git-svn-id: svn://10.0.0.236/trunk@131424 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 14:00:12 +00:00
rods%netscape.com
f94983c561 This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@131423 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 13:17:56 +00:00
radha%netscape.com
3102eac96e Fix for bug # 151061. Mozilla loses base uri for wyciwyg documents. r=caillon sr=jst.
git-svn-id: svn://10.0.0.236/trunk@130083 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 21:59:34 +00:00
caillon%returnzero.com
4028442105 Add a method on the fixup object to strip off wyciwyg from nsIURIs
Fixes bug 164006, wyciwyg: should not appear in tab title
r=jag sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@129187 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 01:44:13 +00:00