713 Commits

Author SHA1 Message Date
ruslan%netscape.com
4b5228b83d Fix 37800
git-svn-id: svn://10.0.0.236/trunk@67977 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:21:51 +00:00
cls%seawood.org
7b09f0a0a3 OS/2 Makefile.in tweaks. Batch 10 & 11. Bug #34106
git-svn-id: svn://10.0.0.236/trunk@67813 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:18:46 +00:00
mscott%netscape.com
f467b64b5d Bug #36371 --> clear refresh timers when loading new documents into the
docshell. This fixes the problem where after visiting a page with a refresh,
we would later always try to refresh that page even if you had moved on.


git-svn-id: svn://10.0.0.236/trunk@67733 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:33:49 +00:00
nisheeth%netscape.com
8a6a52bef1 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.


git-svn-id: svn://10.0.0.236/trunk@67709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:58:53 +00:00
attinasi%netscape.com
232d899893 Removed the rest of the PERF_METRICS stuff that was removed when the WebShell changes were landed (the code is now in the Viewer itself).
git-svn-id: svn://10.0.0.236/trunk@67592 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:07:40 +00:00
scc%netscape.com
ba4a0d48d1 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67410 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:59:12 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
tbogard%aol.net
3e9a277be7 Added comment for when to add win_start in just like the win_stop.
git-svn-id: svn://10.0.0.236/trunk@66963 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 05:06:51 +00:00
cls%seawood.org
edfdaaa3a8 General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).


git-svn-id: svn://10.0.0.236/trunk@66931 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 17:48:04 +00:00
mscott%netscape.com
d464cd0c36 Bug #33156 --> webshell no longer implements nsIProgressEventSink, the doc loader does.
it's getting smaller! *yeah*


git-svn-id: svn://10.0.0.236/trunk@66883 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:19:40 +00:00
mscott%netscape.com
83ea2e4cb1 Bug #33156 --> the doc loader now implements nsIProgressEventSink. Add this support to getInterface for the docshell.
git-svn-id: svn://10.0.0.236/trunk@66882 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:18:18 +00:00
gagan%netscape.com
7265366ff3 Small HTTP api change.
git-svn-id: svn://10.0.0.236/trunk@66817 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:40:21 +00:00
tbogard%aol.net
fd2d55735d Removed the static Create method since the generic factory handles that. Changed GetStringBundle to GetPromptAndStringBundle since most people are always wanting to get both the prompt and the string bundle. Removed EnsureGlobalHistory. Global History is now instantiated on startup.
git-svn-id: svn://10.0.0.236/trunk@66801 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:32:11 +00:00
tbogard%aol.net
cbdaeff8a6 Creation of the docshell now uses the generic factory rather than it's own private Create method for instantiation of the nsDocShell class.
git-svn-id: svn://10.0.0.236/trunk@66800 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:31:42 +00:00
tbogard%aol.net
16119f1693 Removed some old ifdef 0 code. Removed some unused variables. Some cleanup to OnStart and OnEndDocumentLoad to get ready to move them over to the progress interface code.
git-svn-id: svn://10.0.0.236/trunk@66799 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:31:41 +00:00
tbogard%aol.net
5ccd89354b 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.
git-svn-id: svn://10.0.0.236/trunk@66798 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:31:40 +00:00
tbogard%aol.net
2cb76151cf Fixed the duplicates in the enum.
git-svn-id: svn://10.0.0.236/trunk@66795 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:23:17 +00:00
scc%netscape.com
14ddf6b38a making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66655 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:35:42 +00:00
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