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

353 Коммитов

Автор SHA1 Сообщение Дата
jst%mozilla.jstenback.com 23b9aa362d Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
cbiesinger%web.de 3509138eb5 bug 249107 directory listings coming from session history (cache?) displayed in raw form
r=jst sr=darin
2004-07-01 17:04:31 +00:00
jst%mozilla.jstenback.com 4125c1ef7a 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 2004-06-23 17:42:31 +00:00
jst%mozilla.jstenback.com e7c9f2b51c 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 2004-06-15 08:28:52 +00:00
jst%mozilla.jstenback.com 21131fdb8f 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 2004-05-11 00:12:09 +00:00
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu 2a21577680 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
2004-04-13 01:42:40 +00:00
jst%mozilla.jstenback.com 64ad19a801 Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
bsmedberg%covad.net 814b876053 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. 2004-02-11 02:10:04 +00:00
bzbarsky%mit.edu b781b399a3 Implement support for the "type" attribute of <a> elements. Bug 214626,
r=adamlock, sr=darin
2003-10-03 22:11:47 +00:00
jaggernaut%netscape.com 756d8ef907 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
locka%iol.ie 0db1f1356e Check for invalid combination of load flags. b=87353 r=radha@netscape.com sr=blizzard@mozilla.org 2003-05-26 12:14:17 +00:00
danm%netscape.com c957c4f956 revert rev 1.136 because of regression bug 199471. code=radha r=me 2003-05-23 21:47:57 +00:00
sspitzer%netscape.com 18045adfd1 fix for security bug #51631
prevent auth UI from coming up from inside messages
sr=darin, r=bienvenu, a=sspitzer
2003-04-25 23:29:17 +00:00
sfraser%netscape.com 9f71cf85ba Fix crasher bug 202439 by properly refcounting the transferable hook list. r=brade, sr=bz/me. 2003-04-18 02:03:44 +00:00
brade%netscape.com fe69233dda docshell changes for drag/drop/copy/paste hooks (bug 197121) r=adamlock, sr=smfr 2003-04-17 13:16:05 +00:00
radha%netscape.com d3018e8bd7 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. 2003-03-13 19:58:23 +00:00
radha%netscape.com 6d5a6363c0 Fix for bug # 148794. Check if the load is to a iframe and if so, do not add
it to session history.
2003-03-05 21:37:20 +00:00
nisheeth%netscape.com 8180f7e5ba 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. 2003-02-21 05:08:12 +00:00
nisheeth%netscape.com 7b38fab678 Ongoing work for bug 182366. Use machine learning techniques to sort autocomplete results. r=heikki. sr=hewitt. 2003-01-13 22:23:41 +00:00
rods%netscape.com 6ef92eab84 some changes from a nother patch was accidently checked in 2002-10-08 14:00:12 +00:00
rods%netscape.com 855fd85355 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
2002-10-08 13:17:56 +00:00
radha%netscape.com aa45d396af Fix for bug # 151061. Mozilla loses base uri for wyciwyg documents. r=caillon sr=jst. 2002-09-19 21:59:34 +00:00
caillon%returnzero.com a5cd43f732 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
2002-09-11 01:44:13 +00:00
dougt%netscape.com fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
alecf%netscape.com 1cfdc22502 fix for bug 97470 - don't display frame/iframe urls in the global history window
r=radha, sr=darin
2002-08-30 17:51:48 +00:00
alecf%netscape.com 9d46c7a238 fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
r=radha, sr=darin
2002-08-06 23:51:42 +00:00
locka%iol.ie 1f26756e18 Support for error pages. b=28586 r=radha@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org 2002-07-11 20:59:03 +00:00
radha%netscape.com a89a95f087 Fix for bug # 135289. META http-equiv="cache-control" directives are ignored by back forward buttons. r=rpotts sr=darin. 2002-05-09 20:32:35 +00:00
radha%netscape.com 211d5e1dc1 Fix for bug 59774. Save scrollbar positions in sessionhistory when jumping from one anchor to another in a page. r=adamlock sr=alecf a=asa. Approved by ADT. 2002-04-04 22:10:10 +00:00
rpotts%netscape.com af9b1d6667 bug #40867 (r=bzarsky@mit.edu, sr=jst@netscape.com, a=asa@mozilla.org) Add new caching API to allow view-source to load from the cache and not the network. 2002-04-01 21:22:27 +00:00
jkeiser%netscape.com aeb4d3fdbb Prevent double submission of forms (bug 72906). r=darin@netscape.com, r=alexsavulov@netscape.com, sr=alecf@netscape.com, a=asa 2002-03-13 06:08:56 +00:00
morse%netscape.com 662e2a6a2e bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:26:49 +00:00
radha%netscape.com 8563362d73 Fox for bug # 109485. Meta refresh works differently than otehr browsers. r=valeski. sr=jaggernaut. 2002-02-08 22:46:09 +00:00
mkaply%us.ibm.com 9a552ecebc Someone can yell at me later if this was a totally stupid thing to do - Fixing OS/2 bustage - I need OS/2 building so we can watch the NSS_3_4 landing 2002-02-06 14:39:42 +00:00
darin%netscape.com 2d85aed21d fixes bug 54349 "stylesheet do not load when in another HTTP auth realm
(sometimes)" patch=badami@netscape.com, r/sr=rpotts,darin
2002-02-06 07:26:26 +00:00
mjudge%netscape.com 726b5e82c1 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work. 2002-02-02 05:13:56 +00:00
locka%iol.ie 87bfcf8f7f Removed huge chunks of dead webshell and cleaned up a few references to it elsewhere in the code. b=113970 r=valeski@netscape.com sr=rpotts@netscape.com 2002-01-08 13:01:38 +00:00
shanjian%netscape.com bf85c86c6a #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
danm%netscape.com b56435f4b3 move focus unsuppression in SetupNewViewer until after the viewer has been initialized. also add an assertion should we ever again get into a lazy document creation infinite loop. bugs 106820, 110856. r=bryner,hyatt 2001-12-11 02:41:22 +00:00
rpotts%netscape.com 1f0cc6e6b9 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
radha%netscape.com 155b4d617d Fix for bug # 99638. r=darin sr=rpotts. Use nsIMultiPartChannel to access
htttpChannel that is part of a multipartChannel.
2001-11-27 23:14:15 +00:00
radha%netscape.com a0d29b2978 Fix for bug # 106994. - Remove redundant code in nsDocShell to acquire handle to SH in the root docshell r=adamlock sr=rpotts 2001-11-20 20:14:02 +00:00
rpotts%netscape.com ae53430684 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface... 2001-10-27 02:52:39 +00:00
radha%netscape.com 80e12b9a8c Fix for bug # 103978. Problems with back/forward at cnn.com, mainly due to expired subframes and clicking back/forward fast. r=adamlock sr=rpotts 2001-10-26 19:04:11 +00:00
bryner%netscape.com 03cd3c194e Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
radha%netscape.com 1034cb6c92 Fix for bug 79063 r=rpotts sr=darin 2001-09-07 22:06:08 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
bryner%netscape.com d1b47d9b27 Bug 92210 - Window steals focus if you switch to another app during "Transferring data from...". r=saari, sr=hyatt. 2001-08-21 21:18:45 +00:00
radha%netscape.com cd2004720f Fix for bug # 86752. LOAD_FLAGS_BYPASS_HISTORY does not work. r=adamlock sr=rpotts 2001-08-16 23:49:50 +00:00
rpotts%netscape.com c111544a91 bug #84749. (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next... 2001-07-17 20:17:38 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
radha%netscape.com cfa09a4678 Fix for bugzilla bug 86330 r=adamock sr=rpotts. Bug with SH in frames with targets 2001-07-03 00:00:12 +00:00
yokoyama%netscape.com 85371e742c Bug 82244
backout old patch
r= radha sr=rpotts
2001-06-29 22:12:14 +00:00
bryner%uiuc.edu 89a8648447 Bug 82123 -- enable embeddors to alter the focus traversal so that the document itself receives focus first instead of last. r=saari, adamlock, sr=jst, a=chofmann. 2001-06-26 01:19:11 +00:00
nisheeth%netscape.com 73edd4ea66 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content. 2001-05-25 08:49:03 +00:00
rods%netscape.com 2945ee5e62 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
valeski%netscape.com 7f26ff6952 r=ccarlen, sr=rpotts on the mozilla/docshell/* and mozilla/embedding/* mods (81263). embedding apps can now control whether or not images are loaded in a specific nsWebBrowser window. This is done via nsIWebBrowserSetup. shaver@mozilla.org provided a nsWebBrowserContentPolicy implementation which registers for, and responds to, nsIContentPolicy callbacks giving nsIContentPolicies an opportunity to cancel a load or the processing of an element. processing isn't hooked up yet, and some of the content policy types in the switch statement won't become relevant until further nsIContentPolicy hookup is done. Those cases are handled inside the docshell/webshell until the content policy hook-up is made. 2001-05-21 22:42:46 +00:00
bstell%netscape.com 58699035e6 bug 79608, r=ftang, sr=vidur
for the embedding API: add get/set charset
2001-05-17 02:12:51 +00:00
rpotts%netscape.com f02e84c4bb bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
jst%netscape.com f7460d0269 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 16:46:42 +00:00
valeski%netscape.com 939312c7fa sr=rpotts. cookie/wallet r=morse, xmlTerm r=saravn@mozdev.org, mailnews r=mscott, activeX r=adamlock, everything else covered by the sr from rpotts. 15345. These changes remove nsIDocumentLoaderObserver.idl from the build, and all of it's implementations and registrations have been moved over to nsIWebProgressListener.idl and nsIWebProgress.idl respectively. there are two (78762, 78760) mailnews printing bugs that I overturned *before* landing this. I've run this code through the mail-news and browser smoketests among other tests outlined in the patch description attatched to the bug. 2001-05-04 20:15:38 +00:00
sfraser%netscape.com 44cbfd57f8 Fix for 76758, 63241 and 68307. Make Find search through all frames, bring the Find dialog up from JS, and make a docShell enumerator. r=adamlock, sr=kin 2001-04-27 21:11:03 +00:00
locka%iol.ie cc679ba1f5 NO CODE CHANGES. Headers reformatted to remove ugly 2/3/4 tab/space indentation mess. b=66434 2001-04-27 13:03:17 +00:00
dr%netscape.com eec73874cf fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa 2001-04-25 02:04:56 +00:00
harishd%netscape.com d4272380d9 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann
2001-04-21 22:22:15 +00:00
chak%netscape.com b9342d088b Fix for bug#66334 - Viewsource needs to be a protocol handler
r=valeski,sr=rpotts
2001-04-16 20:17:36 +00:00
radha%netscape.com 0ee149dabb Fixes related to bug # 71756 r=rpotts, valeski 2001-03-28 03:35:38 +00:00
radha%netscape.com b6e43c85cd Fix for bug # 69457 r=valeski, rpotts 2001-03-24 01:23:42 +00:00
mstoltz%netscape.com 519500116e Bugs 55069, 70951 - JS-blocking APIs for mailnews and embedding. r=mscott, sr=attinasi.
Bug 54237 - fix for event-capture bug, r=heikki, sr=jband.
2001-03-23 04:22:56 +00:00
radha%netscape.com c706e7b00c Fix for bug # 69713. Get rid of unused SH_IN_FRAMES #defines. r=timeless, adamlock 2001-02-23 00:05:54 +00:00
dougt%netscape.com 128f95aa9b Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
radha%netscape.com b2d6bb81e1 Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock 2001-02-15 19:10:16 +00:00
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 1b9ca82439 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
akkana%netscape.com 2eccaab14e 56296: Disable popping up new window on target=, pref controlled. r=dveditz, sr=brendan 2001-01-27 01:08:36 +00:00
locka%iol.ie 3131997624 Changed docshell so it turns the mouse pointer "busy" in the associated window while it is loading a document. Removed the hack in the navigator chrome that used the throbber status to set the busy pointer. b=30375 sr=rpotts@netscape.com 2001-01-26 12:35:32 +00:00
rpotts%netscape.com 79489fa096 bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-) 2000-12-20 23:18:03 +00:00
locka%iol.ie 1720949638 Moved URI fixup code out of docshell and into a global service. b=51702, sr=waterson@netscape.com 2000-11-08 21:00:37 +00:00
radha%netscape.com f2997f535f More fixes for bug # 46828. r=pollmann sr=rpotts 2000-11-02 06:34:44 +00:00
mscott%netscape.com 8a9bc0d1c9 Bug #47636 --> add methods to convert back and forth between a nsIDocShellLoadTypeInfo
and a docshell load tye. Unify nsIURILoadCommand and nsIDocShellLoadType enums so they
can be treated as the same type.
r=radha, sr=rpotts
2000-10-11 23:17:02 +00:00
locka%iol.ie b78abdf560 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
rpotts%netscape.com 7215069dbb bug #37434. Added an attribute to nsIDocShellLoadInfo to indicate whether the active document should be stopped immediately... 2000-09-10 06:00:46 +00:00
edburns%acm.org 8ee33dddde This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
2000-09-05 19:03:56 +00:00
mscott%netscape.com 6f9a9156e8 Bug #32387,47365, 46331, 46338, 23734 --> reset the load type when we get a redirected url so it gets added to
session history properly. Only add to session history if the url resulted in document being
loaded.
r=radha
2000-09-01 22:34:19 +00:00
mstoltz%netscape.com ecbc31c3d3 Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur 2000-08-31 05:53:32 +00:00
locka%iol.ie ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
valeski%netscape.com 47297ccb01 moving the docshell lib to the components dir and macro'izing some decls. 45723 2000-07-19 02:57:05 +00:00
rpotts%netscape.com a79763793b More session history cleanup... Reorganizing the code and removing SH_IN_FRAMES ifdefs... (r=radha) 2000-07-08 05:17:49 +00:00
rpotts%netscape.com 32cbe86ba8 Moved session history methods from nsIWebNavigation into a new interface called nsIDocShellHistory. Also made docshells persist layout state before being destroyed (this is necesssary for framesets). 2000-07-05 23:10:29 +00:00
radha%netscape.com 586320a4e6 Enabling feature "Session History in frameset pages". bug # 36547. Reviewer for this checkin
as well as several previous checkins related to this bug is rpotts.
2000-07-04 18:51:14 +00:00
valeski%netscape.com c38f04faf9 39474. r=rpotts,mscott. We now can load a stream directly into the uri loader (bypassing necko). built and pre-checkin tested on linux and win 2000-06-30 23:39:30 +00:00
radha%netscape.com c5dd8a6d2c More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.
2000-06-29 21:48:18 +00:00
radha%netscape.com 359b620c41 More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.
2000-06-23 23:54:30 +00:00
mscott%netscape.com 30fc5701b2 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. You must set a pref to
enable this behavior.
r=valeski
2000-06-23 04:44:36 +00:00
mscott%netscape.com 9b6efa882b Bug #10802 --> expose load types to load info class so callers can set the load type
this is needed to implement things like open attachment so we can make the doc shell
think a user click happened when it talks to the uriloader.

I removed two boolean fields which were representing two load types. Simplified the api by allowing you
to pass in any of our load types.
r=valeski
2000-06-22 07:22:23 +00:00
rpotts%netscape.com cf3e824449 DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer 2000-06-22 05:38:07 +00:00
radha%netscape.com be4230ee79 More code for feature bug 36547. CODE NOT PART OF TEH BUILD. reviewer will be provided when the feature is enabled. 2000-06-22 05:36:13 +00:00
radha%netscape.com 2de820747a More checkins for feature bug 36547. r=self(module owner) All code in this checkin are unused
ie., feature  not enabled.
2000-06-21 06:40:08 +00:00
rpotts%netscape.com 6b98fc358e Made the nsDocShell a nsIWebProgressListener. This is a first step for the Session History changes and ultimately removing the nsIDocumentLoaderObserver interface... 2000-06-20 07:59:45 +00:00
rpotts%netscape.com 44dfb4b825 Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
mstoltz%netscape.com 368bb298e8 Fix for bug 31818. Dogfood. r=brendan 2000-06-13 23:56:30 +00:00
ruslan%netscape.com 55053f0abd Fix 41269. WIP on 31189. r/a=gagan 2000-06-02 21:02:31 +00:00
hyatt%netscape.com 703294b353 Adding support for weak references on docshells. 2000-05-28 09:25:55 +00:00
locka%iol.ie bd7c2a49d8 Fixed problem with internation pages, bug 40320
Fixed problem with reloading the same page twice bug 40318
Reviewed by rahda
2000-05-23 22:36:47 +00:00
locka%iol.ie ed5e4d93c6 New parameter for AddToSessionHistory #39668 2000-05-23 00:51:37 +00:00
sfraser%netscape.com 7300ff6d9b Fix timer refcount issues in docshell, fixes bugs 39641, 39617. r=pavlov a=leaf 2000-05-17 20:24:43 +00:00
davidm%netscape.com 718dfdaa9a 21137 Hook up reload/shift-reload/back/forward buttons to load att r = rpotts 2000-05-10 22:45:24 +00:00
tbogard%aol.net 97d40fe46e Made the constructor public to allow the generic factory to be used for creation. Removed the static Create. Removed EnsureGlobalHistory. Global History is now instantiated on startup. Changed GetStringBundle to GetPromptAndStringBundle since most people are always wanting to get both the prompt and the string bundle. 2000-04-21 23:31:40 +00:00
tbogard%aol.net c701f711d3 Cached the globalHistory service as it is called a lot especially when dealing with links up in the webshell. Fixed a bug in GetInterface where we were failing to do an else if so if you were requesting a nsIURIContentListener you ended up clearing out the object. 2000-04-16 08:39:15 +00:00
tbogard%aol.net f0456d1d48 Moved the implementation of nsIRefreshURI into the docShell. Reordered CreateFixupURI to try simply creating the URI before actually doing any munging. Stop now calls CancelRefreshURITimers. String version of LoadURI now properly puts up error boxes for missing protocols. 2000-04-13 03:11:44 +00:00
tbogard%aol.net fea7ec5577 Added an attribute for holding the charset info to be used during a load. 2000-04-12 00:07:04 +00:00
tbogard%aol.net fdd6a9fca7 Provided implementation for CreateFixupURI. Added needed parameters to DoURILoad and finished implementation. InternalLoad now takes needed parameters as well. 2000-04-11 23:52:42 +00:00
tbogard%aol.net e9faf678e6 CreateContentViewer() and NewContentViewer() no longer take the uri loading command as a parameter since they don't use it. InternalLoad now takes a window target parameter. DoURILoad now takes the uriloader command and a window target. 2000-04-04 00:04:04 +00:00
tbogard%aol.net c9d2a7b3e3 Implemented EnsureWebProgressListener(). You can now call GetInterface on the docshell to get to a nsIWebProgressListener interface. 2000-03-31 04:11:29 +00:00
tbogard%aol.net 4ac35be0c1 nsIDocShell::LoadURI now takes a nsIDocShellLoadInfo parameter to do fancier loads which include replacing current history slots and passing in a referrer. In the future more things may be set on the nsIDocShellLoadInfo interface. This allows us to not have to add a new parameter for every new type of load info that might be needed in different loads. 2000-03-30 22:38:32 +00:00
tbogard%aol.net 59c2f71b03 OnLoadingSite now takes a nsIChannel instead of a nsIURI. This allows us to get information out of the channel we may need such as the referrer. We now make sure we set the referrer during OnLoadingSite. Fixed a bug where the nsIWebProgressListener was getting found on the treeOwner even for frames. This was causing the the treeOwner to get notified of all actions happening in the children. Now we make sure to only set the listener for the top level frame. 2000-03-30 02:24:17 +00:00
tbogard%aol.net b619aa5e94 Now properly enable retrieving the nsIWebProgressListener interface from the owning treeOwner. Added firing methods for all the methods in nsIWebProgressListener. onLocationChange is currently the only one that is validly firing however. 2000-03-29 10:29:58 +00:00
tbogard%aol.net 55c5691f92 Provided implementation for Add and RemoveProgressListener. 2000-03-26 04:52:06 +00:00
tbogard%aol.net 79738b793f Updated the loadURI methods to reflect changes in the nsIDocShell API. ::Reload() now makes sure to pass the type on to the InternalLoad() call. ::Destroy() makes sure to properly tear down the script objects by setting the docshell and owner on those to null. When Scrolling to an anchor, make sure to update the current URI. The ::InternalLoad function now is responsible for updating the mUpdateHistoryOnLoad member, rather than relying on callers to set it first. When loading the site, only apply histories if we mUpdateHistoryOnLoad is set. Stubbed out a new function ::ShouldPersistInSessionHistory() that allows us to put all the code in place for items pages that shouldn't be persisted in the list, meaning items that are overwritten when new ones are added. 2000-03-25 03:43:27 +00:00
tbogard%aol.net 3997f63321 Added support for setting a docShell into viewSource mode or viewNormal mode. Changed calls to creating the contentViewer to rely on the mode of the docshell for deciding the state it is in. Made docShell support the nsIWebProgress interface. Stubbed out the methods for it's implementation. 2000-03-14 04:36:55 +00:00
tbogard%aol.net e4d15301dc HandleUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface. Added a member for stating if this docShell supports plugins or not. 2000-03-11 00:55:00 +00:00
tbogard%aol.net 9b4fdbcada Don't rely on the parent widget to have a device context. Create and cache our own just like the old webShell wolrd. Since we have our own, it can now cache the zoom state too. bug #30625. r=jud, waterson a=jevering 2000-03-08 03:58:33 +00:00
mscott%netscape.com cbc6d78022 Bug #21358 --> Make sure we only call the on load handler ONCE per document. This prevents a nasty loop if
the onload handler tries to load an ftp url.
r=travis
a=jar
2000-03-07 06:02:04 +00:00
norris%netscape.com 6f23e80fcc Fix 29541
r=travis,a=jar
2000-03-03 22:55:40 +00:00
tbogard%aol.net 8b63342877 DoContent now call CreateContentViewer on the docShell to get the viewer created. Implemented CreateContentViewer(), NewContentViewer(), and SetupNewViewer() methods in the docshell. This gets docshell setup to be able to create it's own content viewers for loads. This is work to getting session history stuff working and bug 13374. r=mscott a=jevering 2000-02-29 22:32:24 +00:00
pollmann%netscape.com 982af48162 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
tbogard%aol.net ec349aa2d4 mLoadCookie is now stored on the docshell instead of the contentListener. Started framing out the different parts of a load and management of session history and global history. Reload is now live. Work for 13374 and landing of new session history/ uriloading. r=mscott a=jevering 2000-02-24 04:15:22 +00:00
tbogard%aol.net 529a145ede PDT+ Fix for Bug #27279. When the current docshell was asked to find an item of a given name, it failed to return out when it itself was the name being searched for. Also provided implementation for Set/ GetSessionHistory and and GetCurrentURI. None of these methods are called yet. Changed the mLoadCookie to only be on the contentListener. This will probably change to only be on the docshell, but regardless, there should only be one between the two of them. r=mscott, jar. a=jar 2000-02-17 02:03:02 +00:00
tbogard%aol.net cb7c2b50a4 nsDocShell now implements the nsIWebNavigation interface. Added some stubbed code to Ensure that there is a content viewer. Also added stubbed code to Setup the content viewer when a new one is created. This will eventually replace the embed method. Removed the mCreated member as it is no longer needed. The destructor calls Destroy now to centralize the destruction code. r=hyatt 2000-02-14 06:40:28 +00:00
tbogard%aol.net fe363b71b9 Added GetTarget() to be used to resolve targetting. 2000-01-30 07:34:10 +00:00
rpotts%netscape.com af4f9c2189 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
tbogard%aol.net f6bae4fcad Fixed a couple of previously unitialized member variables. Implemented the setting and getting of the ChromeEventHandler attribute. Implemented the setting and getting of the title. 1999-12-21 00:11:33 +00:00
tbogard%aol.net d8f2668f89 Changed nsresult protected functions to be NS_IMETHOD so they would be virtual thus allowing proper subclassing. Updated the algorithm for FindItemWithName. Added ChromeEventHandler attribute getter and setter stubs. 1999-12-18 02:23:31 +00:00
tbogard%aol.net f1a20118ed Implemented changes to nsIDocShellTreeItem and nsIDocShellTreeNode. FindItemWithName and FindChildWithName. Work to fix bug 21287. r=shaver a=shaver. 1999-12-12 10:15:26 +00:00
tbogard%aol.net 93668cfc38 Added some methods to nsIDocShellTreeItem... It now understands the concept of being of the chrome or content type. Added convenience methods to traverse up the tree with a restriction of same item type. 1999-12-08 04:57:23 +00:00
tbogard%aol.net e8676ab76d Added the concept of the treeItem and node. This breaks up nsIDocShell a little bit. 1999-12-03 10:29:08 +00:00
tbogard%aol.net eb96099e6d 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
mscott%netscape.com 2aa5ceb797 Pass nsURILoadCommand's instead of char * around for the command associated with the url. 1999-12-02 07:09:06 +00:00
tbogard%aol.net 2d28986f21 nsDocShell now implements nsIScriptContextOwner. 1999-11-30 01:06:59 +00:00
tbogard%aol.net 7c9a535d7a Changes to reflect the fact that the nsIDocShell API now has a GetPresShell. Used NS_STATIC_CAST on a comparison to 'this'. (Not Part of build). 1999-11-29 18:41:59 +00:00
tbogard%aol.net b6582c421e Changes to get this compiling again. 1999-11-23 10:15:10 +00:00
buster%netscape.com 93551f1751 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
warren%netscape.com 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com 7c1c028e55 Fix for bustage due to channel retargeting changes. 1999-11-17 09:22:47 +00:00
tbogard%aol.net 381ea3cffd Got the code compiling again. 1999-11-17 08:57:00 +00:00
tbogard%aol.net a1d86ae1f7 Replaced nsIGenericWindow with nsIBaseWindow. 1999-11-17 08:45:28 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
tbogard%aol.net 7f0b4a66d0 nsIDocShell now has a readonly attribute for the currently loaded content viewer. 1999-11-15 22:54:47 +00:00
tbogard%aol.net 39c0453051 Removed QueryCapability to reflect removal in the nsIContentViewerContainer API. Changed call the nsIContentViewer::SetContainer() to cast to the right nsISupports. 1999-11-14 10:24:37 +00:00
tbogard%aol.net d20964dfb8 Implemented a number of the Positioning / Sizing routines. 1999-11-13 08:09:16 +00:00
tbogard%aol.net dc64ef1f06 Added CreateContentViewer and NewContentViewerObj methods for docShell. 1999-11-12 09:07:28 +00:00
tbogard%aol.net 4c8c939f0b Now that we have decided that there is only one docshell for all content types, we needed to get rid of the base class/ content type implementation. This checkin takes and moves the nsDocShellBase to be nsDocShell. It now holds the nsIHTMLDocShell stuff. This will be going away. nsCDocShell was created to replace the previous nsCHTMLDocShell. 1999-11-12 07:28:25 +00:00