686 Commits

Author SHA1 Message Date
joki%netscape.com
ec91adc761 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
gagan%netscape.com
92104de00f Fix for bug 27930. Support for IPv6.
git-svn-id: svn://10.0.0.236/trunk@70017 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:46:03 +00:00
warren%netscape.com
1958638f6c Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse
git-svn-id: svn://10.0.0.236/trunk@69998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:35:23 +00:00
waterson%netscape.com
bad10238ec Bug 39089. Paint over the problem by special-casing 'javascript:' URIs. r=mscott
git-svn-id: svn://10.0.0.236/trunk@69752 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:14:32 +00:00
danm%netscape.com
24cc070710 top-level chrome dirs are now packages,locales,skins
git-svn-id: svn://10.0.0.236/trunk@69582 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:29:08 +00:00
andreas.otte%primus-online.de
21c28f9e31 fix bug 36455, unable to go to url with port but without http://, clean up a if statement causing the problem, r=radha@netscape.com,adamlock@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69558 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 12:09:16 +00:00
waterson%netscape.com
c058edee4d Add notation as to why the SetOriginalURI() hack is necessary.
git-svn-id: svn://10.0.0.236/trunk@69486 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:01:22 +00:00
davidm%netscape.com
90b0c858aa 21137 Hook up reload/shift-reload/back/forward buttons to load att
r = rpotts


git-svn-id: svn://10.0.0.236/trunk@69084 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:45:24 +00:00
rpotts%netscape.com
08ae9559f8 some reformatting to keep lines from wrapping...
git-svn-id: svn://10.0.0.236/trunk@68509 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 06:05:03 +00:00
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
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
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
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
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
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