Граф коммитов

338 Коммитов

Автор SHA1 Сообщение Дата
pinkerton%netscape.com f53d582d4a clean up interface, per directions. adding copyLinkLocation(), and specifying semantics of selectNone() wrt insertion point location. Implemented selectNone(). r=saari/a=hyatt. bug#s 46867, 63001 2000-12-22 01:13:46 +00:00
disttsc%bart.nl 87187c390c Moving nsIContentViewer over from webshell to docshell, converting from .h to .idl. Needed for bug 46200, r=moa=adam@netscape.com, a=alecf 2000-11-09 20:30:35 +00:00
mscott%netscape.com 61575fcf7b Bug #56938 --> add a method for setting up a refresh uri given just a channel.
r=sspitzer, sr=rpotts
2000-11-01 08:03:22 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
edburns%acm.org 8ee33dddde 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
vidur%netscape.com e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
dbaron%fas.harvard.edu a09c77e4d1 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963 2000-07-27 23:17:53 +00:00
valeski%netscape.com 0c15f59ae9 fixing IID collision, a=leaf 2000-07-19 17:23:20 +00:00
valeski%netscape.com c7cfdbf6bf adding xpidl module 2000-07-19 00:45:53 +00:00
valeski%netscape.com a5544d3404 do not need the dot specifier for unix 2000-07-19 00:04:25 +00:00
valeski%netscape.com bb7748fcb4 45723. idl'ized some ifaces and removed some cruft 2000-07-18 23:21:25 +00:00
valeski%netscape.com 175fa58cd9 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
pinkerton%netscape.com bbe35aaac6 remove .h files that have been moved into idl. r=valeski (bug #45723). 2000-07-18 23:11:33 +00:00
pinkerton%netscape.com 9eeed8a001 First Checked In. 2000-07-18 23:02:39 +00:00
valeski%netscape.com c00cebef15 not part of the build. adding idl'ized version of this iface 2000-07-18 15:03:16 +00:00
valeski%netscape.com 37ba2e6454 not in build. removing this one as one in docshell is going to replace it 2000-07-18 06:59:30 +00:00
valeski%netscape.com df0d3cf91a 45723. not part of the build. idl'izing some interfaces. will throw the switch tomorrow 2000-07-18 00:35:55 +00:00
cls%seawood.org bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
rpotts%netscape.com cf3e824449 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
waterson%netscape.com 548a65c864 Back out changes my changes to nsILinkHandler because of performance problems. 2000-04-18 04:34:20 +00:00
tbogard%aol.net 03f055f36a Removed the methods dealing with the old session history that is going away. 2000-04-16 11:18:39 +00:00
waterson%netscape.com a06a8ee723 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 09e4e7acea Removed the remaining methods on nsIWebShellContainer as they are no longer used. 2000-04-11 23:52:27 +00:00
tbogard%aol.net c82044b570 Removed ProgressLoadURL as it is no longer needed (the rest of nsIWebShellContainer will go away when we finish landing the nsIWebProgressListener interfaces.) Removed CaptureHistoryState, GetHistoryState and SetHistoryState as they shouldn't be called from the outside. 2000-04-02 01:19:26 +00:00
nisheeth%netscape.com 0d2b4b4b46 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:31:13 +00:00
tbogard%aol.net b5a86d525b 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
alecf%netscape.com 1829d31bed remove bogus nsIPref dependancies 2000-03-29 09:49:24 +00:00
tbogard%aol.net 2e8b47e6ea Removed the command member as it is no longer needed. 2000-03-27 02:34:51 +00:00
pollmann%netscape.com 0be5605d38 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 1b902bc213 Removing this as the interface is no longer used and should no longer be used. 2000-03-15 05:03:35 +00:00
rhp%netscape.com 4e23d61267 Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589 2000-03-15 01:47:36 +00:00
tbogard%aol.net 509907d4d2 Removed nsIBrowserWindow.h from the export list. 2000-03-14 11:09:48 +00:00
tbogard%aol.net 10feb1dffd Tweaked a comment to not mention nsIBrowserWindow which is going away. 2000-03-14 03:58:45 +00:00
tbogard%aol.net 381178b1ab Removed Back(), Forward(), CanBack(), and CanForward(). People wanting to do these things can use the nsIWebNavigation interface. 2000-03-11 12:00:33 +00:00
norris%netscape.com 9b2edd3c59 Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis
2000-03-11 02:57:39 +00:00
tbogard%aol.net 8caddbb7e7 Removed the HandleUnknownContentType from the interface. 2000-03-11 01:19:40 +00:00
tbogard%aol.net a676f8f5a8 ContentViewer now takes an nsIWidget instead of a native window. Don't pass the scrolling preferences through the intialization as they are always the same and ignored. 2000-03-11 01:19:12 +00:00
tbogard%aol.net a57c4603d1 Remove Init, SetDocLoaderObserver, GetDocLoaderObserver, SetParent, GetParent, GetChildCount, AddChild, RemoveChild, ChildAt, GetName, SetName, FindChildWithName, SetChromeEventHandler, GetContentViewer, IsBusy, SetDocument, StopBeforeRequestingURL, StopAfterURLAvailable, GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight, SetZoom, GetZoom. These should no longer be used. The docShell APIs should be used intead. 2000-03-11 01:04:28 +00:00
tbogard%aol.net 4eec4fb506 nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
pollmann%netscape.com 982af48162 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
tbogard%aol.net 7ed5fc5209 Removed RemoveFocus, Stop, Reload, and SetContentViewer as these functions are no longer called. Work for 13374 and landing of new session history/ uriloading. r=mscott a=jevering 2000-02-24 04:15:48 +00:00
mscott%netscape.com 567b91995a Bug #17468 --> LoadURL needs to pass around the window target for now.
r=travis
2000-02-16 07:29:50 +00:00
joki%netscape.com 512277b8af Fix bug 4167. Fire unload event before all data is gone to allow action during event handlers. r:travis 2000-02-15 22:55:36 +00:00
tbogard%aol.net fc8a8d5156 Removed unused method from the interface. r=pavlov 2000-02-14 09:42:30 +00:00
tbogard%aol.net d6712bba0e Remove a number of now defunct methods on nsIWebShellContainer. And a couple more from nsIWebShell. r=hyatt 2000-02-11 08:29:02 +00:00
mscott%netscape.com 53a556cc79 remove files that are moving to the uri loader as idl files. 2000-01-29 06:05:43 +00:00
mscott%netscape.com fe58a9d4b6 remove these files from the build.
They are being re-added to the uri loader as idl files.
r=travis
2000-01-29 06:05:22 +00:00
mscott%netscape.com cbb675dd1b Remove nsIDocumentloader, nsIDocumentLoaderObserver from the builds. These files are now
in the uriloader
r=travis
2000-01-29 06:04:35 +00:00
mscott%netscape.com 645dfa8f72 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
This header file containst the remanents of stuff that was in nsIDocumentLoader but wasn't really
part of nsIDocumentLoader the interface.
r=travis
(not part of the build yet)
2000-01-29 04:27:32 +00:00
hyatt%netscape.com 50bf875c47 Getting rid of createPopup. 2000-01-28 03:05:17 +00:00
dcone%netscape.com e31204f271 support for regression testing. r=rods 2000-01-26 15:14:41 +00:00
danm%netscape.com e86a4b53fb adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt 2000-01-15 02:30:34 +00:00
rpotts%netscape.com af4f9c2189 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
rpotts%netscape.com 38fc9e5e0f Removed obsolete method nsIDocumentLoader::LoadOpenedDocument. 1999-12-29 05:10:21 +00:00
tbogard%aol.net 0a09dc3e3f Removed GetWebShellType() form the API. 1999-12-21 00:12:46 +00:00
tbogard%aol.net 4ade8151df Started removing functions that should no longer be used. Call sites are now using the new docshell interfaces. 1999-12-18 02:24:45 +00:00
tbogard%aol.net a87a5dcb15 Removed nsIMarkupDocumentViewer.h as it is now copied from the docshell directory as part of the parsing of nsIMarkupDocumentViewer.idl. 1999-12-02 09:11:40 +00:00
tbogard%aol.net dafffb90cc Stop copying the nsIMarkupDocumentViewer.h from this directory into the public directory. Rely on the IDL file in the docshell directory to copy it out. 1999-12-02 09:10:32 +00:00
tbogard%aol.net 0ce76837f3 Put a couple of what were protected member functions of nsWebShell into the public API. This was needed during the period of rebuilding the webshell. 1999-11-30 04:32:42 +00:00
tbogard%aol.net b31903250e Changed GetDocumentLoaderObserver to return a ** instead of a *&. This is in sync with the nsIDocShell::GetDocumentLoaderObserver. r=pavlov 1999-11-29 21:09:47 +00:00
tbogard%aol.net 5209114e72 Removed the const from GetTitle to reflect the fact that the implementation should return an allocated string. 1999-11-27 02:21:43 +00:00
tbogard%aol.net d1f4cb3e8a Removed the const to reflect the fact that the implementation will return an allocated string, not a pointer to the internal string. 1999-11-27 02:08:42 +00:00
tbogard%aol.net 8346684a29 Slight re-arrangement of some methods. Mainly just removed Set and GetURLDispatcher. 1999-11-24 09:39:58 +00:00
tbogard%aol.net 515e4d9739 Changed the concept of the webshell holding an mChromeElement object to it holding a nsIChromeEventHandler interface. This is more generic and allows other apps to plugin nicer into the API.r=hyatt 1999-11-23 09:57:47 +00:00
rpotts%netscape.com 8026dca974 bug #15342 and #15560. Refactored the LoadGroup and DocumentLoader... 1999-11-22 05:46:03 +00:00
buster%netscape.com 93551f1751 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 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
mscott%netscape.com e911d3f3df Bug #14928 --> phase one of uri dispatching landing. add ability to get/set content listener parent on the webshell
r=travis
1999-11-18 07:06:07 +00:00
mscott%netscape.com 65c51b2064 Bug #14928 --> phase one of uri dispatching landing. add ability for doc loader to load
an opened channel
r=travis
1999-11-18 07:05:47 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
tbogard%aol.net d972c34518 Removed nsIWebShell::GetRootWebShellEvenIfChrome(). Added nsIWebShell::GetTopLevelWindow(). Made GetRootWebShellEvenIfChrome implementation a protected member function. 1999-11-16 20:06:12 +00:00
tbogard%aol.net 0145acf6d4 Moved GetContainer() from nsIContentViewerContainer to nsIWebShell. r=pavlov 1999-11-16 01:02:17 +00:00
tbogard%aol.net c1c0a44226 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
tbogard%aol.net 870636b2e2 Changed Set and GetContainer to deal with nsISupports instead of nsIContentViewerContainer. r=pavlov 1999-11-14 10:10:32 +00:00
tbogard%aol.net 67d2ca4ced Removed QueryCapability as it is no longer used. r=pavlov 1999-11-14 10:10:05 +00:00
buster%netscape.com e9f930c225 added nsIWebShell::SetDocument, a new interface for loading a pre-fabricated content model
into a webshell synchronously.
This has NOT yet been reviewed, and is not yet used anywhere in the system.
I *will* get a formal code review before enabling it's use.  However, I want to get the code into
the tree because keeping my tree in synch is becoming a burden.
1999-11-11 22:32:13 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
cls%seawood.org bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
bienvenu%netscape.com 7a53af86e4 add accessor for load group on doc loader r=rpotts 1999-10-27 04:44:42 +00:00
norris%netscape.com 906d924312 Expose referrer from web shell.
r=travis
needed for bug 11963.
1999-10-25 22:20:10 +00:00
danm%netscape.com 140296a2c5 no longer used 1999-10-20 20:51:16 +00:00
danm%netscape.com 504b2a8862 removing nsIModalWindowSupport r:hyatt@netscape.com 1999-10-18 15:05:17 +00:00
rpotts%netscape.com 89f54ea1ae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
kipp%netscape.com 2848f39658 Don't export nuked nsIThrobber 1999-09-25 20:08:21 +00:00
nisheeth%netscape.com 1965d582ce Changed the ifdef NS_DEBUG around webshell leak detection code to ifdef DETECT_WEBSHELL_LEAKS. 1999-09-22 01:24:20 +00:00
hyatt%netscape.com 0dd1266ea1 chrome event stuff 1999-09-21 01:02:29 +00:00
davidm%netscape.com 5b8ba03b42 Add extra chrome flag for the sidebar and taskbar 1999-09-18 03:23:52 +00:00
rpotts%netscape.com 9886532136 Removed NECKO ifdefs... 1999-09-17 07:54:11 +00:00
vidur%netscape.com 21477c4cd3 Document referrer propagation through webshell and docloader. 1999-09-17 04:26:02 +00:00
ftang%netscape.com 65c7799cdb fix 5974 by receiving parser command as optional argument 1999-09-16 14:15:16 +00:00
vidur%netscape.com 56c104a8a3 Fixed circular references. nsDocLoader now supports weak references to it. Init() method moves out of constructor. nsDocLoader now has Destroy() method to start breakdown process. 1999-09-09 23:53:55 +00:00
briano%netscape.com 6074b8b8a4 Removed the obsolete non-NECKO leftovers. 1999-09-09 00:11:48 +00:00
mscott%netscape.com 79046fde76 LoadDocument and LoadSubDocument now take nsIURIs instad of unicode strings. This is part of a webshell optimization
to cut down on the number of nsIURI objects which we currently create in order to run a url in the webshell.
1999-09-08 04:00:08 +00:00
mscott%netscape.com d8ee120a9e Support LoadURI which is a new method on the webshell which takes a nsIURI. This is part of a webshell optimization
to cut down on the number of nsIURI objects which we currently create in order to run a url in the webshell.
1999-09-08 03:59:21 +00:00
danm%netscape.com e68f60f671 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
radha%netscape.com dd092fdc48 Hook up session history with the history state object.
Let LoadURL() accept a historystate as an argument
1999-09-02 21:39:01 +00:00
cyeh%netscape.com 1729151e74 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:24:51 +00:00
nisheeth%netscape.com 7cd59d0ec7 - Added a setter for history state to nsIWebShell. The history state should be set before loading a document on which state needs to be restored. If the history state is set, the webshell will set that history state on the pres shell inside nsWebShell::Embed() once the document viewer has been created. 1999-08-31 14:49:21 +00:00
nisheeth%netscape.com 9a163fb67f Added a GetHistoryState method to be use by session history to ask layout for
the current document's state.
1999-08-30 22:45:46 +00:00
scc%netscape.com 19f8875aae added a declaration for a global function that reports the number of webshells that have been created but have not yet been destroyed 1999-08-27 12:32:18 +00:00