745 Commits

Author SHA1 Message Date
cls%seawood.org
4ed8043f95 Fixed SHARED_LIBRARY_LIBS dependency in docshell/build.
Removed extraneous ; makefiles target.
Thanks to Justin Morey <justin@68k.org> for the patch.


git-svn-id: svn://10.0.0.236/trunk@66629 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:14:45 +00:00
radha%netscape.com
2d7c9cad08 update session history too with the title when title gets set.
git-svn-id: svn://10.0.0.236/trunk@66601 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:14:53 +00:00
danm%netscape.com
fda3acfcbd dist...chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:42:30 +00:00
tbogard%aol.net
38b7587274 Remove unused variable.
git-svn-id: svn://10.0.0.236/trunk@66359 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:31:26 +00:00
tbogard%aol.net
34be4f1d74 Don't persist "about:blank" in the session history.
git-svn-id: svn://10.0.0.236/trunk@66357 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:30:02 +00:00
waterson%netscape.com
9730aa1e21 Back out changes my changes to nsILinkHandler because of performance problems.
git-svn-id: svn://10.0.0.236/trunk@66246 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 04:34:20 +00:00
scc%netscape.com
1621a4cffc making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66194 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 11:24:01 +00:00
tbogard%aol.net
2bbfe2a06b Added more code to ShouldAddToGlobalHistory to properly weed out items such as "about", "imap", "news", and "mailbox" schemes from getting put into global history.
git-svn-id: svn://10.0.0.236/trunk@66181 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:54:09 +00:00
tbogard%aol.net
8c5b3565a9 If the same page is being loaded twice, don't add it twice to session history.
git-svn-id: svn://10.0.0.236/trunk@66160 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 02:17:42 +00:00
tbogard%aol.net
424c54ff18 Making docShell not assert when global history can't be added. Someone is doing something stupid in viewer right that makes the service fail.
git-svn-id: svn://10.0.0.236/trunk@66143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 13:01:28 +00:00
tbogard%aol.net
ce7c50e021 Making the addref and release thread safe.
git-svn-id: svn://10.0.0.236/trunk@66142 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 13:00:52 +00:00
tbogard%aol.net
8ba6a91529 DocShell is now handling all the loading and navigation. The new session history is now being used in place of the old.
git-svn-id: svn://10.0.0.236/trunk@66133 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:18:41 +00:00
tbogard%aol.net
654300ddb3 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.
git-svn-id: svn://10.0.0.236/trunk@66127 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 08:39:15 +00:00
andreas.otte%primus-online.de
be348159ac fix bug 34863 [Local Harddisks not found if I tried with C: without \], check for a drive in nsDocShell::ConvertFileToStringURI, r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66124 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 07:11:43 +00:00
tbogard%aol.net
435ed0e07a Removed the GetCanGoBack and GetCanGoForward calls from GoBack and GoForward respectively. The session history calls to get the next and previous entry will properly return error codes if navigtion in the desired direction isn't possible.
git-svn-id: svn://10.0.0.236/trunk@66122 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 05:16:16 +00:00
tbogard%aol.net
99dfff1ec5 Make sure we properly notify of window activity starting and stoping.
git-svn-id: svn://10.0.0.236/trunk@66121 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 05:09:07 +00:00
mccabe%netscape.com
5c6b7446d6 Modify nsIScriptGlobalObjectOwner::ReportScriptError to take an nsIScriptError interface, rather than separate message, file, line arguments.
Fix implementations and their callers, and restore error printing to stderr even when the error is successfully logged to the console service, to make life easier for people who go to the trouble to invoke Mozilla with -console.


git-svn-id: svn://10.0.0.236/trunk@66050 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 01:56:47 +00:00
waterson%netscape.com
76b91f9af2 Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre
git-svn-id: svn://10.0.0.236/trunk@65837 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:55:47 +00:00
jdunn%netscape.com
40cfe4d01b newline for hp
git-svn-id: svn://10.0.0.236/trunk@65814 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 13:35:54 +00:00
tbogard%aol.net
a92109cc36 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.
git-svn-id: svn://10.0.0.236/trunk@65757 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:11:44 +00:00
tbogard%aol.net
1799dc127e Moved the implementation of nsIRefreshURI into the docShell. When the webShell is getting destructed make sure we call Destroy.
git-svn-id: svn://10.0.0.236/trunk@65756 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:11:25 +00:00
tbogard%aol.net
34e6aace92 Make DocShell link with the timer library so it can call NS_NewTimer.
git-svn-id: svn://10.0.0.236/trunk@65755 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:05:35 +00:00
tbogard%aol.net
b65c1a8b6c WebShell no longer creates the plugin host. nsObjectFrame now gets it from the service manager instead of trying to get it from the webshell.
git-svn-id: svn://10.0.0.236/trunk@65752 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 02:56:05 +00:00
tbogard%aol.net
b6416a6dce Implemented SetFocus.
git-svn-id: svn://10.0.0.236/trunk@65751 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 02:54:38 +00:00
tbogard%aol.net
d35db358c7 Provided implementation for the file fixup work.
git-svn-id: svn://10.0.0.236/trunk@65692 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:06:58 +00:00
tbogard%aol.net
1bac2e91d8 Put the GetInterface for the uriContentListener into an ifndef for DOCSHELL_LOAD so when DOCSHELL_LOADING is turned on, we get the right handler.
git-svn-id: svn://10.0.0.236/trunk@65691 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:00:04 +00:00
tbogard%aol.net
8c7494bc47 Removed the file fixup and completely rely on docShell fro Creating the uri.
git-svn-id: svn://10.0.0.236/trunk@65688 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 09:46:40 +00:00
tbogard%aol.net
3ea4662027 Checks for when progress is called after docShell goes away. This is now going to be valid with changes made to the way the uriLoader and necko do cancelling. Bug #35505
git-svn-id: svn://10.0.0.236/trunk@65644 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 01:59:15 +00:00
tbogard%aol.net
39e0862ae5 Added an attribute for holding the charset info to be used during a load.
git-svn-id: svn://10.0.0.236/trunk@65633 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:07:04 +00:00
tbogard%aol.net
4f35b6560c Provided implementation for CreateFixupURI. Added needed parameters to DoURILoad and finished implementation. InternalLoad now takes needed parameters as well.
git-svn-id: svn://10.0.0.236/trunk@65628 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:42 +00:00
tbogard%aol.net
10067a9afc Removed nsIWebShellContainer methods that are no longer part of the interface. Removed convertFileToURL and convertURLToFileCharset as the implementation in docShell is now relied upon. LoadURL now largely relies on docShell's CreateFixupURI to get a uri. No longer call nsIWebShellContainer::BeginLoadURL or EndLoadURL as the nsIWebProgressListener interface provides all these needed listeners. No longer call nsIWebShellContainer::WillLoadURL as the uriLoader code provides the ability to cancel or stop a load from happening. DoLoadURL now relies on the implementation in docShell for talking to the uriloader. Fixed a bug with nsWebShell::GoTo pointed out by Conrad.
git-svn-id: svn://10.0.0.236/trunk@65626 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:28 +00:00
mscott%netscape.com
1229f5f777 backing out my bug fix because it appears to have broken the page cycler.
thanks to sspitzer for helping me figure this out.


git-svn-id: svn://10.0.0.236/trunk@65507 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 21:36:09 +00:00
mscott%netscape.com
a1a3736941 Bug #34769 --> don't set the refferer as the original url on the channel in the webshell.
r=warren
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65501 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 19:25:42 +00:00
tbogard%aol.net
951aea37ec Seems the conditional as a parameter was too much for speedracer's little brain.
git-svn-id: svn://10.0.0.236/trunk@65135 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 03:31:57 +00:00
tbogard%aol.net
cd915d2b75 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.
git-svn-id: svn://10.0.0.236/trunk@65088 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:04:04 +00:00
tbogard%aol.net
7398fb87ea Removed some old code that was ifdefed out. Removed the isMail test in webshell as that path is no longer being hit due to the fact that "mailto" does succeed in creating a nsIURI. Changed InternalLoadURI due to changes in the docshell parameter list.
git-svn-id: svn://10.0.0.236/trunk@65087 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:03:11 +00:00
tbogard%aol.net
dac2734b78 The layoutState is actually a nsILayoutHistoryState not just an nsISupports.
git-svn-id: svn://10.0.0.236/trunk@64970 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 00:47:15 +00:00
erik%netscape.com
eeb070b4d8 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only
git-svn-id: svn://10.0.0.236/trunk@64958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:53:46 +00:00
mscott%netscape.com
362d7c27b1 Make sure nsIWebProgressListener is added to the GetInterface method for docshell.
git-svn-id: svn://10.0.0.236/trunk@64951 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:00:26 +00:00
tbogard%aol.net
7ff6a20c43 Updated documentation to be clear about ownership model of the parentURIContentListener.
git-svn-id: svn://10.0.0.236/trunk@64947 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 20:31:12 +00:00
tbogard%aol.net
424cc3748a My webshell, your diet is working, you've lost some more weight..... Removed one of the LoadURL calls and combined it with the other. Removed the localIP address parameter as it is not used and is not the way we will specify binding. Removed ProgressLoadURL as it is no longer needed (the rest of nsIWebShellContainer will go away when we finish landing the nsIWebProgressListener interfaces.) Removed CaptureHistoryState and GetHistoryState. Prompter is now retrieved through the correct path, up the treeOwner.
git-svn-id: svn://10.0.0.236/trunk@64919 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 01:19:27 +00:00
tbogard%aol.net
1fc8b4694a Removed the unused mViewSource member. Fixed ::InternalLoad to call ::LoadURI instead of LoadURL since destroying and then re-creating the uri is pointless when it's passed in for us. Not to mention if the person calling this load had actually setup listeners on this uri then this information would be lost (which is actually causing bug 34167).
git-svn-id: svn://10.0.0.236/trunk@64911 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:28:31 +00:00
nisheeth%netscape.com
dea3118b7e Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches.
git-svn-id: svn://10.0.0.236/trunk@64828 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:15 +00:00
tbogard%aol.net
e85dbd5313 Removed all the LoadURL methods from the webshell API. Added a new API to allow loading for the old session history. This is needed until the new session history is online.
git-svn-id: svn://10.0.0.236/trunk@64819 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:29:36 +00:00
mccabe%netscape.com
0ed38a8fd3 Error reporting mechanisms for nsDocShell (xul js and content js) and mosJSComponentLoader (JS components) now pipe error objects to the JavaScript console.
git-svn-id: svn://10.0.0.236/trunk@64765 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 11:19:51 +00:00
tbogard%aol.net
0025ce45a8 Implemented EnsureWebProgressListener(). You can now call GetInterface on the docshell to get to a nsIWebProgressListener interface.
git-svn-id: svn://10.0.0.236/trunk@64692 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:11:29 +00:00
tbogard%aol.net
9bb73dba24 The OverLink handler no longer caches the current over and target link to ensure we aren't called for the same link more than once. The lower level is assuring we aren't execpt in on case where a popup is up and then you move over links. This is a small case. Since string copies were actually showing up on some profiles I'm removing this caching of the string for some small amount of performance and bloat benefit as well as code cleanup.
git-svn-id: svn://10.0.0.236/trunk@64677 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:47:04 +00:00
tbogard%aol.net
2a1fee6505 Slight re-ordering of the destruction of the children. First we kill the content viewer then release our children.
git-svn-id: svn://10.0.0.236/trunk@64658 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:19:28 +00:00
tbogard%aol.net
1ff1b067d3 Rely on the docshell for the implementation of destroy.
git-svn-id: svn://10.0.0.236/trunk@64650 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:15:55 +00:00
tbogard%aol.net
290093a2de Fully implement nsDocShell::Destroy() so that webShell can rely on it for it's implementation.
git-svn-id: svn://10.0.0.236/trunk@64648 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:15:17 +00:00