radha@netscape.com
c64ec69b07
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
ca1a2e25b8
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
5095261d43
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
b03177ae34
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
nhotta@netscape.com
9d71e74ee1
Changed to apply UTF-8 to UCS2 conversion before assigning the string to nsString, bug 42873, r=cata.
2000-06-21 23:26:36 +00:00
rpotts@netscape.com
4435cc3c6a
Reworked the nsIWebProgress interfaces and implementation...
2000-06-19 05:54:37 +00:00
mstoltz@netscape.com
3d53385d60
Fix for bug 31818. Dogfood. r=brendan
2000-06-13 23:56:30 +00:00
mscott@netscape.com
8dc1bcc626
Bug #40160 --> fix annoying assertion in on end document load for cases where the url doesn't have a host
...
r=rpotts
2000-06-07 23:13:12 +00:00
locka@iol.ie
751da0c370
Put pointer test around smprintf to prevent crash for invalid IMG links.
...
b=40094,r=adamlock,approved valeski
2000-06-05 22:21:37 +00:00
joki@netscape.com
d99814e0c8
Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge
2000-05-26 00:26:54 +00:00
hyatt@netscape.com
33ee6d68e0
fix for making skins script-safe. r=scc
2000-05-19 04:48:43 +00:00
valeski@netscape.com
415fa3b49d
38695. r=alecf. i18n network error strings
2000-05-18 21:52:23 +00:00
heikki@citec.fi
96686d6448
Enable show=new for simple XLink. Works at least when the link is clicked, does not seem to work with actuate=onLoad. Bug 15086.
2000-05-17 05:43:14 +00:00
warren@netscape.com
aa7dcf3133
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
2000-05-16 05:35:23 +00:00
nisheeth@netscape.com
82ef56e610
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.
2000-05-01 06:58:53 +00:00
attinasi@netscape.com
eb5ca3b39b
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).
2000-04-29 00:07:40 +00:00
mjudge@netscape.com
2e85db0702
ender lite checkin.
2000-04-27 07:37:12 +00:00
mscott@netscape.com
b53cfc5a92
Bug #33156 --> webshell no longer implements nsIProgressEventSink, the doc loader does.
...
it's getting smaller! *yeah*
2000-04-22 23:19:40 +00:00
tbogard@aol.net
05a4840ab2
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.
2000-04-21 23:31:41 +00:00
waterson@netscape.com
e83ac99306
Back out changes my changes to nsILinkHandler because of performance problems.
2000-04-18 04:34:20 +00:00
scc@netscape.com
1adab36594
making string conversions explicit
2000-04-17 11:24:01 +00:00
tbogard@aol.net
c7aaa2a7d5
DocShell is now handling all the loading and navigation. The new session history is now being used in place of the old.
2000-04-16 11:18:41 +00:00
waterson@netscape.com
46754590d6
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
2000-04-13 19:55:47 +00:00
tbogard@aol.net
c1bc4130dc
Moved the implementation of nsIRefreshURI into the docShell. When the webShell is getting destructed make sure we call Destroy.
2000-04-13 03:11:25 +00:00
tbogard@aol.net
c198181a61
WebShell no longer creates the plugin host. nsObjectFrame now gets it from the service manager instead of trying to get it from the webshell.
2000-04-13 02:56:05 +00:00
tbogard@aol.net
4bc186b33b
Put the GetInterface for the uriContentListener into an ifndef for DOCSHELL_LOAD so when DOCSHELL_LOADING is turned on, we get the right handler.
2000-04-12 10:00:04 +00:00
tbogard@aol.net
3025464475
Removed the file fixup and completely rely on docShell fro Creating the uri.
2000-04-12 09:46:40 +00:00
tbogard@aol.net
496fa6b3ee
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.
2000-04-11 23:52:28 +00:00
mscott@netscape.com
ccfb83137a
backing out my bug fix because it appears to have broken the page cycler.
...
thanks to sspitzer for helping me figure this out.
2000-04-07 21:36:09 +00:00
mscott@netscape.com
b37451ad4e
Bug #34769 --> don't set the refferer as the original url on the channel in the webshell.
...
r=warren
a=leaf
2000-04-07 19:25:42 +00:00
tbogard@aol.net
174c3411d4
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.
2000-04-04 00:03:11 +00:00
tbogard@aol.net
1d36922b71
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.
2000-04-02 01:19:27 +00:00
tbogard@aol.net
7c771ffd5c
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).
2000-04-01 23:28:31 +00:00
nisheeth@netscape.com
6acce3ecc2
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.
2000-04-01 00:39:15 +00:00
tbogard@aol.net
289329c4f4
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.
2000-04-01 00:29:36 +00:00
tbogard@aol.net
50a8f66259
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.
2000-03-31 02:47:04 +00:00
tbogard@aol.net
42faf54033
Rely on the docshell for the implementation of destroy.
2000-03-31 00:15:55 +00:00
tbogard@aol.net
801543fcf6
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
9b81deff7a
the RefreshURI code now talks in terms of nsIURI instead of strings. Removed unused member variable mScrollPref. Cleaned refreshData up to follow xpcom rules better and to deal with nsIURI instead of strings. It also now talks in terms of docshells instead of webshells.
2000-03-30 05:02:28 +00:00
tbogard@aol.net
1fe3a2c980
OnLoadingSite now takes a channel instead of a uri. Also we now don't set the currentURI or the referrer during a normal load in DoLoadURL. We make sure to do it after the content has been targetted which is when DoContent is called.
2000-03-30 02:24:18 +00:00
warren@netscape.com
ed1c4fc9a0
Better fix for SetOriginalURI nsCOMPtr problem.
2000-03-29 06:43:04 +00:00
warren@netscape.com
ca2f8bafd3
Fixed linux nsCOMPtr bustage.
2000-03-29 05:40:47 +00:00
warren@netscape.com
a2fb078809
Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
2000-03-29 03:58:50 +00:00
tbogard@aol.net
3f40caccf9
Removed the command member from the nsIWebShellServices inteface as it is no longer needed. InternalLoad now has implementation that works in cases other than just the session history loading.
2000-03-27 02:35:05 +00:00
scc@netscape.com
1e52594be3
small changes to clients of string converting APIs
2000-03-26 10:23:40 +00:00
pollmann@netscape.com
e7508586d3
Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), and add GetHistoryState method, r=nisheeth
2000-03-24 03:36:58 +00:00
tbogard@aol.net
7e69365728
Adding implementation for the new method OnStartURIOpen on nsIURIContentListener.
2000-03-24 01:04:47 +00:00
radha@netscape.com
2794ef8afd
Fix for bug #s 28758, 29609. When loading a url over and over again, it is added
...
to SH each time there by causing multiple entries for that url in go menu.
r=law
2000-03-23 23:00:17 +00:00
norris@netscape.com
9f3ccec0f4
Fix a number of security bugs. (I can't see the numbers at home because
...
they have restricted visibility.)
r=mstoltz
2000-03-18 17:48:12 +00:00
scc@netscape.com
c8c97d1b47
replaced use of private type with |getter_AddRefs|, r=travis
2000-03-17 01:19:33 +00:00