bsmedberg%covad.net
7a922f66fd
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
58eca2c86c
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
1decc3f74c
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
f3e520841e
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
664815793a
revert rev 1.136 because of regression bug 199471. code=radha r=me
2003-05-23 21:47:57 +00:00
sspitzer%netscape.com
474289abee
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
4179b1aaf9
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
1668327c97
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
31cbfd1f33
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
7a3ea6ea1e
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
093c51b923
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
1d197c1bbc
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
eaef59aaeb
some changes from a nother patch was accidently checked in
2002-10-08 14:00:12 +00:00
rods%netscape.com
b22c2c60f5
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
51c6453edf
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
12fa9e67fc
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
d94b37c68a
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
e0aa10de53
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
1102b2ae34
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
7f1d4a9b29
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
9620b3338c
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
e14143ab30
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
9c126b069b
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
5ae5965757
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
b26cb82e9b
bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
2002-03-02 01:26:49 +00:00
radha%netscape.com
cc7144395f
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
9fa8f23f34
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
a046615655
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
0444ffda5b
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
d7a72cd6c8
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
f76c0c6f15
#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
0a51b6b067
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
a33a19e3d1
bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes...
2001-11-30 22:35:33 +00:00
radha%netscape.com
89c2d43cf6
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
389ca5a708
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
5e626fd436
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
e833d177d8
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
bbbbd6f9e3
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
4df8637d13
Fix for bug 79063 r=rpotts sr=darin
2001-09-07 22:06:08 +00:00
valeski%netscape.com
ac33036169
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
d812ad1b51
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
0b9e389330
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
914543da03
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
bf82abfd11
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
radha%netscape.com
68e4002dba
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
0a7fde6bc3
Bug 82244
...
backout old patch
r= radha sr=rpotts
2001-06-29 22:12:14 +00:00
bryner%uiuc.edu
8cfe74d6bb
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
d5b20e8bb4
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
ade2376885
adding pane/frameset/frame/iframe navigation
...
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
valeski%netscape.com
47dde24cd0
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
880b29ea48
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
f3e719c2c1
bug #65777 (r=valeski, sr=mscott) - Window targeting fixes...
2001-05-14 02:16:27 +00:00
jst%netscape.com
adf1d8320a
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
58072871cc
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
0e1ace29ab
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
34c1ccac5e
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
dbfa6b68ad
fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa
2001-04-25 02:04:56 +00:00
harishd%netscape.com
6836236914
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
fe4054b4b2
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
e478b779f3
Fixes related to bug # 71756 r=rpotts, valeski
2001-03-28 03:35:38 +00:00
radha%netscape.com
36e002d883
Fix for bug # 69457 r=valeski, rpotts
2001-03-24 01:23:42 +00:00
mstoltz%netscape.com
b26a1f0451
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
a1571db287
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
eab041f43f
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
f2638b18c0
Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock
2001-02-15 19:10:16 +00:00
disttsc%bart.nl
76fbedadc5
Back out dougt's channel changes
2001-02-12 03:14:23 +00:00
dougt%netscape.com
69415757ab
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
6499aa20b0
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
8c837042a5
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
d4fb846074
bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-)
2000-12-20 23:18:03 +00:00
locka%iol.ie
b9bf2ff444
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
8e11ee5cb9
More fixes for bug # 46828. r=pollmann sr=rpotts
2000-11-02 06:34:44 +00:00
mscott%netscape.com
b783faa154
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
69fd02310b
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
17ea903430
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
7b7a548b33
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
d08376e7af
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
584d022386
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
c52f68cce4
API changes for embedding. b=46847, r=dougt, a=valeski
2000-08-25 18:39:46 +00:00
valeski%netscape.com
55f8928669
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
9eca8cab59
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
bd98ffaa86
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
072cf93bb0
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
57b8b984fb
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
5b8603911e
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
e1fc2c5789
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
f550c199eb
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
0098abd512
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
6371dad16a
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
4196eff7c5
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
e8ae3eb5ca
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
dad4eb4fd0
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
49c54755fc
Reworked the nsIWebProgress interfaces and implementation...
2000-06-19 05:54:37 +00:00
mstoltz%netscape.com
a62193e278
Fix for bug 31818. Dogfood. r=brendan
2000-06-13 23:56:30 +00:00
ruslan%netscape.com
a0cc90b5c0
Fix 41269. WIP on 31189. r/a=gagan
2000-06-02 21:02:31 +00:00
hyatt%netscape.com
560d4bdace
Adding support for weak references on docshells.
2000-05-28 09:25:55 +00:00
locka%iol.ie
fabcb5c5d6
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
c13637c4a1
New parameter for AddToSessionHistory #39668
2000-05-23 00:51:37 +00:00
sfraser%netscape.com
1fc1154443
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
9efc745de9
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
8c0297f0d5
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
ef312085a4
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
2320ecb1dd
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
17eb359088
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
bc63ef6237
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
c6f1b601bf
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
bd79d0b0ac
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
5bfd3cc997
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
f3c5352218
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
d68da2bdc7
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
78708e1cb6
Provided implementation for Add and RemoveProgressListener.
2000-03-26 04:52:06 +00:00
tbogard%aol.net
abbf7a0baa
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
3df03018f3
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
13a0c0a34b
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
e823201370
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
42800f579b
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
a5c6bcf187
Fix 29541
...
r=travis,a=jar
2000-03-03 22:55:40 +00:00
tbogard%aol.net
50e31a9326
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
3a67f9317c
Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg
2000-02-29 06:51:48 +00:00
tbogard%aol.net
8afcd5e683
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
5bcb0da090
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
83ea52d7e1
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
7812b664fc
Added GetTarget() to be used to resolve targetting.
2000-01-30 07:34:10 +00:00
rpotts%netscape.com
e4d36a4fca
Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
1999-12-29 07:32:59 +00:00
tbogard%aol.net
a2d7ce7db9
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
61e540c691
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
d5f865bc3f
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
d7c10dfc1a
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
3cde9b048d
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
648ace3e23
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
929ee8727a
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
2ba249643b
nsDocShell now implements nsIScriptContextOwner.
1999-11-30 01:06:59 +00:00
tbogard%aol.net
263f367110
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
2209fa5d4f
Changes to get this compiling again.
1999-11-23 10:15:10 +00:00
buster%netscape.com
5e269fcf05
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
d8bbb844e6
Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
1999-11-18 07:36:41 +00:00
warren%netscape.com
ccabd9fdde
Fix for bustage due to channel retargeting changes.
1999-11-17 09:22:47 +00:00
tbogard%aol.net
d8fc99ac1d
Got the code compiling again.
1999-11-17 08:57:00 +00:00
tbogard%aol.net
8b6a06641c
Replaced nsIGenericWindow with nsIBaseWindow.
1999-11-17 08:45:28 +00:00
warren%netscape.com
aaf83521f5
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
1999-11-17 08:14:52 +00:00
tbogard%aol.net
c36aa8e5a7
nsIDocShell now has a readonly attribute for the currently loaded content viewer.
1999-11-15 22:54:47 +00:00
tbogard%aol.net
b84c1c028a
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
54dcb3ec83
Implemented a number of the Positioning / Sizing routines.
1999-11-13 08:09:16 +00:00
tbogard%aol.net
5d128df319
Added CreateContentViewer and NewContentViewerObj methods for docShell.
1999-11-12 09:07:28 +00:00
tbogard%aol.net
3bd30f0e0c
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