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

1228 Коммитов

Автор SHA1 Сообщение Дата
tbogard%aol.net de23c04922 nsWebShell now implements nsIDocShellContainer. 1999-12-01 03:41:43 +00:00
tbogard%aol.net 443ff9ab30 Changed a ->QueryInterface into a CallQueryInterface. Also cleaned up RemoveChild to return an error when an invalid child is passed in. 1999-12-01 03:37:21 +00:00
tbogard%aol.net e0eaa26429 Removed old commented out code for the now defunct nsIDocShellEdit and nsIDocShellFile interfaces. Replaced nsIDocShellContainer::GetEnumerator with nsIDocShellContainer::GetChildAt(). Also provided implementation for that function. 1999-12-01 03:08:58 +00:00
tbogard%aol.net 179b1a0c13 Removed nsIDocShellFile and nsIDocShellEdit from the include list. 1999-12-01 03:07:02 +00:00
mscott%netscape.com 6de37986e6 uri dispatching nit...if the webshell doesn't have a parent content uri listener then
return an error code instead of NS_OK.
1999-12-01 00:16:25 +00:00
tbogard%aol.net a89e251b48 Trying to put CallQueryInterface back in. Lets see if Wensleydale likes it better with a .get(). 1999-11-30 23:50:01 +00:00
erik%netscape.com 8ccf3eeb08 Adding local .cvsignore file; r=none 1999-11-30 23:22:27 +00:00
warren%netscape.com b5fd9eb350 Removed neckoutil_s.lib 1999-11-30 07:58:20 +00:00
tbogard%aol.net a1841c534f Errr, this should help baby wensleydale. 1999-11-30 06:02:46 +00:00
warren%netscape.com 3a319ae4c4 Workaround for Solaris bustage. 1999-11-30 05:58:24 +00:00
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
tbogard%aol.net 94953d2824 nsWebShell now implements nsIDocShell. This is to pave the way for getting converted over to the docshell world. r=pavlov 1999-11-30 04:32:09 +00:00
tbogard%aol.net 3f6f5b92b9 Adding new line at the end of the file to get rid of the warning. 1999-11-30 03:50:05 +00:00
tbogard%aol.net d1a0c09db4 link with jsdom.dll so we get the methods to create a new ScriptGlobalObject and context. 1999-11-30 01:08:08 +00:00
tbogard%aol.net 2ba249643b nsDocShell now implements nsIScriptContextOwner. 1999-11-30 01:06:59 +00:00
tbogard%aol.net 8a6d48f576 Declare that nsCDocShell implements nsIScriptContextOwner. 1999-11-30 01:05:28 +00:00
dougt%netscape.com 1da7d3868d fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
pinkerton%netscape.com d91059f306 First Checked In. 1999-11-30 00:12:08 +00:00
mscott%netscape.com a1850a3592 small uri dispatching nit...I needed to add nsIURIContentListener to the GetInterface method on nsIWebShell. 1999-11-30 00:09:00 +00:00
tbogard%aol.net 50fd527b60 wensleydale rides the short bus. Lets see if it can understand a basic QueryInterface since CallQueryInterface seems to be too much for it's little brain to handle. 1999-11-29 23:25:25 +00:00
tbogard%aol.net e4d0028330 A couple of changes to get building on Unix. Thanks to andreas.otte@primus-online.de for the patch. 1999-11-29 22:12:28 +00:00
tbogard%aol.net 8d95036b97 Changes to get DocShell building again with URILoader changes. 1999-11-29 22:00:35 +00:00
pavlov%netscape.com 8255011f86 build some files r=travis 1999-11-29 21:34:42 +00:00
danm%netscape.com 6ac37f82ef updated to match nsIWebShell interface change for travis@netscape.com 1999-11-29 21:15:32 +00:00
tbogard%aol.net d73d71e653 Updated the UNIX makefiles to be in sync with the Windows ones. (Not Part of the build). 1999-11-29 18:42:33 +00:00
tbogard%aol.net 263f367110 Changes to reflect the fact that the nsIDocShell API now has a GetPresShell. Used NS_STATIC_CAST on a comparison to 'this'. (Not Part of build). 1999-11-29 18:41:59 +00:00
tbogard%aol.net 4b01ec4f79 Added a readonly attribute to get the PresShell. (Not Part of the build) 1999-11-29 18:40:06 +00:00
tbogard%aol.net a101c26ce4 Implemented GetPositionAndSize.... Fixed some calls to DOMHandleEvent. 1999-11-29 07:47:20 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net b6ee44a749 nsWebShell now implements nsIBaseWindow. Part of the steps to getting call sites calling the new interfaces rather than nsIWebShell. 1999-11-27 02:14:40 +00:00
tbogard%aol.net f255b9451c Removed the set and get of the URLDispatcher. Changed a QI to using the Interface maps. 1999-11-24 09:40:56 +00:00
tbogard%aol.net a0640b60c4 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
tbogard%aol.net 2209fa5d4f Changes to get this compiling again. 1999-11-23 10:15:10 +00:00
tbogard%aol.net da31ed935d Changed the old QI map to use the new NS_INTERFACE_MAP_BEGIN, NS_INTERFACE_ENTRY, NS_INTERFACE_MAP_END type map. 1999-11-23 10:08:32 +00:00
tbogard%aol.net 82bc6d307b 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
radha%netscape.com a6a2f56072 Fix for regressed bug #, 15441. Back/Forward to anchors erratic. r=nisheeth 1999-11-22 21:42:00 +00:00
tbogard%aol.net cea3644efe A couple of comment tweaks. 1999-11-22 10:07:10 +00:00
buster%netscape.com bb015a636d don't know how this got through, I must not have saved the file from my IDE? 1999-11-19 08:43:27 +00:00
buster%netscape.com a9dad10f7f first version of interface for content-specific manipulations 1999-11-19 07:44:27 +00:00
buster%netscape.com 5e269fcf05 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 d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
mscott%netscape.com a946fdb170 Bug #14928 --> phase one of uri dispatching landing. webshell is a nsIURIContentListener.
r=travis.
1999-11-18 07:06:39 +00:00
mscott%netscape.com 84a6544353 (not part of the build)
api tweak to nsIURIContentListener::CanHandleContent
1999-11-18 01:09:56 +00:00
warren%netscape.com 1e80ec5cd7 Fix for bustage due to channel retargeting changes. 1999-11-17 09:33:13 +00:00
warren%netscape.com ccabd9fdde Fix for bustage due to channel retargeting changes. 1999-11-17 09:22:47 +00:00
tbogard%aol.net d8fc99ac1d Got the code compiling again. 1999-11-17 08:57:00 +00:00
tbogard%aol.net 8b6a06641c Replaced nsIGenericWindow with nsIBaseWindow. 1999-11-17 08:45:28 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
tbogard%aol.net 3287c72af6 Removed nsIGenericWindow.idl as is is now implemented by widget/public/nsIBaseWindow.idl. 1999-11-17 07:25:22 +00:00
tbogard%aol.net d0edc79a0e Fixed a warning. 1999-11-17 04:19:39 +00:00
tbogard%aol.net addbf2417a Removed nsIWebShell::GetRootWebShellEvenIfChrome(). Added nsIWebShell::GetTopLevelWindow(). Made GetRootWebShellEvenIfChrome implementation a protected member function. 1999-11-16 20:06:12 +00:00
tbogard%aol.net 10e0ffda02 Changed GetContainer to be performed off the nsIDocShell parent rather than try to QI to nsIContentViewerContainer. 1999-11-15 23:48:27 +00:00
tbogard%aol.net 5996fa92ea Fixed ambigous cast. 1999-11-15 23:26:50 +00:00
tbogard%aol.net c36aa8e5a7 nsIDocShell now has a readonly attribute for the currently loaded content viewer. 1999-11-15 22:54:47 +00:00
tbogard%aol.net b644d30218 Changes to reflect changes in nsIContentViewerContainer usage. 1999-11-15 10:51:57 +00:00
tbogard%aol.net 4465f2b8b2 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 b84c1c028a Removed QueryCapability to reflect removal in the nsIContentViewerContainer API. Changed call the nsIContentViewer::SetContainer() to cast to the right nsISupports. 1999-11-14 10:24:37 +00:00
tbogard%aol.net cf522b75da Removed QueryCapability to reflect changes in nsIContentViewerContainer API. Casting change when calling nsIContentViewer::SetContainer. r=pavlov 1999-11-14 10:11:26 +00:00
beard%netscape.com 54792d43d1 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
tbogard%aol.net 54dcb3ec83 Implemented a number of the Positioning / Sizing routines. 1999-11-13 08:09:16 +00:00
tbogard%aol.net ec052b8929 Changed the QueryInterface to be a QUERY using the macros. r=scc 1999-11-13 05:31:36 +00:00
tbogard%aol.net 1327f8150d Made webshell implement nsIInterfaceRequestor. This paves the way for me to start changing people to not use nsIContentViewerContainer::QueryCapability(). r=pavlov 1999-11-13 04:06:23 +00:00
tbogard%aol.net 478cebc8b7 Changed a temp XPCOM manual ref pointer to an nsCOMPtr. 1999-11-12 09:13:52 +00:00
tbogard%aol.net 7889c33117 Got more implementation for the DoContent methods. It now calls the new nsDocShell::CreateContentViewer method to kick off the content viewer creation and pairing to the stream. 1999-11-12 09:09:27 +00:00
tbogard%aol.net 5d128df319 Added CreateContentViewer and NewContentViewerObj methods for docShell. 1999-11-12 09:07:28 +00:00
tbogard%aol.net 3bd30f0e0c Now that we have decided that there is only one docshell for all content types, we needed to get rid of the base class/ content type implementation. This checkin takes and moves the nsDocShellBase to be nsDocShell. It now holds the nsIHTMLDocShell stuff. This will be going away. nsCDocShell was created to replace the previous nsCHTMLDocShell. 1999-11-12 07:28:25 +00:00
sspitzer%netscape.com d7e50e83bc fix build bustage.
#include "nsIDOMDocument.h"
not
#include "nsIDOMDOcument.h"
1999-11-12 00:19:00 +00:00
buster%netscape.com b5f6840f57 added hooking up document tree in FireEndDocumentLoad. 1999-11-11 23:30:41 +00:00
buster%netscape.com 447b50f62f 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
jdunn%netscape.com 8dc361fd80 removing ';' from the end of the macros, since the macro in nsTimer.h
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
valeski%netscape.com fda792182b 11869, r=brendan (for everything but the case where we check for keyword url load failure). Hooking up keywords to webshell. we now kick non-qualified hosts to the keyword server (if keywords are enabled (they're defaulted to off), on windows. and if a non-qualifed host lookup fails we kick that to the keyword server (on all platforms, if keywords are enabled). If keywords are disabled (default case) we do the www.*.com trick ourselves in the client. 1999-11-11 03:26:18 +00:00
buster%netscape.com 9d966abd88 tiny fix to SetDocument based on small change to semantics of underlying objects, back-ported from webshell 1999-11-11 01:27:27 +00:00
buster%netscape.com 1c3fd92903 added SetDocument implementation
added Get/SetDocLoaderObserver
added base implementation for nsIDocShellContainer methods
started filling in GetVisibility
started nsIContentViewerContainer methods, very rough
added FireStartDocumentLoad, FireEndDocumentLoad
added DestroyChildren
1999-11-11 00:42:48 +00:00
buster%netscape.com 890f472990 added charset attributes 1999-11-11 00:39:50 +00:00
buster%netscape.com d45572d157 added charset member data 1999-11-11 00:39:16 +00:00
buster%netscape.com 20fd18239c filled in charset methods
select all
some of sizeToContent
AddChild override, to handle charset stuff
1999-11-11 00:38:55 +00:00
buster%netscape.com 4093b8dacd added libs:
>  $(DIST)\lib\neckoutil_s.lib	       \
>  $(DIST)\lib\gkgfxwin.lib	           \
1999-11-11 00:36:48 +00:00
buster%netscape.com e3ac8ccb12 made childCount readonly 1999-11-11 00:36:09 +00:00
buster%netscape.com 800d6bd203 changed args to SetDocument
added attribute nsIDocumentLoaderObserver docLoaderObserver;
1999-11-11 00:35:36 +00:00
buster%netscape.com e2f501e2fe nsDocShellBase implements nsIDocShellContainer
added some member data
1999-11-11 00:34:41 +00:00
tbogard%aol.net 8a642b453f Added mLoadCookie that is used in the new URI Loader calls. 1999-11-10 21:43:58 +00:00
tbogard%aol.net 8c6354e002 Changes to call OpenURI with new parameter set. 1999-11-10 07:27:25 +00:00
tbogard%aol.net ae3b903ad2 Changed nsComponentManager::CreateInstance to use new nsCOMPtr do_CreateInstance. 1999-11-10 07:03:50 +00:00
nisheeth%netscape.com 6a7c8adf6c a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
tbogard%aol.net 0fac72fa81 Removed NewURI as it is no longer needed. Added new methods that are found in the interface for getting the currently loaded URI. Also made the changes to LoadURI* to match changes in the interface. Took advantage of the change to nsDSURIContentListener to set the presContext for the load. Made nsDSURIContentListener a friend class to avoid having to make some non-interface member functions public. 1999-11-07 10:03:51 +00:00
tbogard%aol.net f07d391a5d Added methods to set and get the presContext for the content listener. Made nsDocShellBase a friend class so we could move the constructor and all the non-interface methods into protected area. 1999-11-07 10:00:53 +00:00
tbogard%aol.net 7657253dc3 Changed loadURI to take an nsIURI instead of a wstring. Added a read-only attribute to get the currently loaded URI. 1999-11-07 09:57:56 +00:00
tbogard%aol.net 508e44c469 Changed the nsIDocShell parent attribute to not create a cycle. Added notes about this. Framed out start of usage for the uriloader. Added code for the new nsDSURIContentListener object to be the callback object for nsIURIContentListener passed to uriloader. 1999-11-06 04:51:05 +00:00
tbogard%aol.net d8d5546f27 Added parentURIContentListener. Also added comments on the nsIDocShell parent attribute to discuss the cycle situation that could occur. Added notifications about the rules that must be used when using/ implementing this member. 1999-11-06 04:48:21 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
nisheeth%netscape.com 6763fecda6 r=norris,warren,radha. a=chofmann. Fix for bug 1646. Javascript: URLS were not getting loaded properly because the webshell was changing its notion of the current document (by setting mURL and mReferrer) too eagerly. Now, it does so only after the nsDocLoader::LoadDocument() in DoLoadURL() returns successfully. 1999-11-04 22:09:46 +00:00
radha%netscape.com b1adee7da0 Fix for bug # 17893. Pass the url to nsISessionHistory::Add().Don't set
nsWebShell::mURL too early in the loading process.
r=law,nisheeth
1999-11-03 22:30:44 +00:00
valeski%netscape.com fd1f09e475 adding some keyword support back in 1999-11-02 07:18:44 +00:00
valeski%netscape.com e09ae8d711 putting www.*.com trick back in 1999-11-02 06:43:19 +00:00
valeski%netscape.com e0864a9e2d pulling non-qualified host-to-keyword server logic 1999-11-02 06:18:01 +00:00
valeski%netscape.com 66e834a3e6 missed a case 1999-11-02 04:22:12 +00:00
valeski%netscape.com 5d06f428f4 11869, r = travis. we no longer to the www.*.com trick as it is handled by the keyword protocol handler. we now kick qualifying requests to the keyword protocol handler. 1999-11-02 04:00:07 +00:00
pavlov%netscape.com 9ef4043f96 add unix makefiles for docshell r=mcafee,paulmac. also changed IDL to C++ in the two .cpp files' emacs comments and added a newline at the end of them (files not built by default) 1999-11-02 03:43:10 +00:00
radha%netscape.com 2d60762adc Remove the extra AddRef to nsHistoryLayoutState. r=pollmann, bug #16496 1999-11-01 21:47:54 +00:00
tbogard%aol.net c3d509f9ab Added some checks to verify calling of the nsIDocShellFile and nsIDocShellEdit functions. 1999-11-01 07:53:24 +00:00
tbogard%aol.net 5ead1038d8 Changed NS_ENSURE to be NS_ENSURE_TRUE. 1999-11-01 07:45:38 +00:00
tbogard%aol.net 1e517783c1 Added comment around frame stuff to explain lack of ref-counting. 1999-11-01 04:03:03 +00:00
tbogard%aol.net d26ba47d29 Implemented GetZoom and SetZoom. Removed some left over comment code. 1999-11-01 04:02:24 +00:00
tbogard%aol.net dddb70dd9b Fixed changes to use the GetPresShell rather than using the now removed member variable. 1999-10-31 02:05:21 +00:00
troy%netscape.com effb3aefb7 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
tbogard%aol.net 4a83671b62 Removed mPresShell and mPresContext from the base class. Added internal getter function GetPresShell to retrieve presShell objects. Added a pointer to mContentViewer. Changed LoadURI* to take a presContext. Changed SetDocument to take a presContext. Changed the attribute presContext to be read only. 1999-10-30 02:30:13 +00:00
beard%netscape.com 0a8da6430b Removed statically constructed nsAutoString LinkCommand, moved inside nsWebShell::LoadURL(). This prevents calling printf before main runs on MacOS, which messes up the console window. r=sfraser 1999-10-30 01:23:01 +00:00
tbogard%aol.net 3adce77597 Moved zoom attribute from nsIGenericWindow to nsIDocShell. Updated zoom documentation. 1999-10-30 00:52:57 +00:00
tbogard%aol.net bbf2412ebf Removed mDocument in favor of the preferred way of getting the document from the content viewer. 1999-10-30 00:02:38 +00:00
tbogard%aol.net 2c0660ae5e Changed a call to QueryInterface to use CallQueryInterface which helps with type checking. 1999-10-29 23:59:20 +00:00
buster%netscape.com d0b493f7b8 more implementation
some nits to conform more to seamonkey coding conventions.
1999-10-29 18:25:57 +00:00
radha%netscape.com c90d928ffe Fix for form values not maintained while going forward. bug # 16377. r=law 1999-10-28 20:29:43 +00:00
tbogard%aol.net 965f582659 Removed RemoveFocus() from nsIGenericWindow. Moved SizeToContent() to nsIHTMLDocShell. Added setCurScrollPosEx and setScrollRangeEx to nsIScrollable. Moved a bunch of code from nsHTMLDocShell into the base class. Commented out some stuff. Everything should compile now. 1999-10-28 07:51:10 +00:00
tbogard%aol.net a771b601ec Pushed many of the method implementations done by buster from nsHTMLDocShell into the base class. 1999-10-28 02:20:44 +00:00
tbogard%aol.net 4cb5c773f5 Changed nativeWindow* parentNativeWindow back to nativeWindow parentNativeWindow. 1999-10-28 00:45:13 +00:00
buster%netscape.com fa3d1d5952 added a bunch of initial implementation. does not compile yet, but that's ok because docshell isn't part of the build yet. 1999-10-27 23:50:19 +00:00
tbogard%aol.net 274f096f69 Boundary checking. 1999-10-27 02:44:01 +00:00
tbogard%aol.net e6cd8bdc20 A little more documentation. 1999-10-27 02:43:37 +00:00
tbogard%aol.net e08a7d9e0b Implemented the Destroy() method.... Which basically boils down to us returning out that we don't support the method. :) 1999-10-26 22:59:33 +00:00
tbogard%aol.net 82f5d65f7e Implemented a number of methods for the doc shell attributes. Setup and Init structure which is used to accept the settings of attributes until Create() is called. 1999-10-26 22:56:59 +00:00
tbogard%aol.net 8741475238 Updated some of the documentation. 1999-10-26 22:54:26 +00:00
tbogard%aol.net be45411dfc Added a CanHandleContentType to identify if a given instantiated docShell can handle the requested document type. 1999-10-26 09:51:36 +00:00
tbogard%aol.net 6dc5f4e4c6 Updated to use new nsDocShellBase class. Removed a bunch of code from this level so it instead can be pulled from the base class. 1999-10-26 01:46:22 +00:00
tbogard%aol.net 68a4a8f1cd Added basedocshell library to the list of bound libraries. 1999-10-26 01:45:11 +00:00
tbogard%aol.net 34a6d664d7 Created a base class library that will provide the shared docShell implmentation. 1999-10-26 01:44:00 +00:00
norris%netscape.com 4e2a1aa0f6 Expose referrer from web shell.
r=travis
needed for bug 11963.
1999-10-25 22:20:10 +00:00
tbogard%aol.net b426c05a5c Added build directory to build a DLL for various docShells. 1999-10-25 04:53:13 +00:00
tbogard%aol.net 83a85430d0 Clarified some documentation. 1999-10-25 04:51:59 +00:00
tbogard%aol.net 974c13e52e Fixed a Caps problem. 1999-10-25 04:51:15 +00:00
tbogard%aol.net c7a7f8f426 Framed out the nsHTMLDocShell implementation. Setup to build a library. 1999-10-25 04:50:22 +00:00
tbogard%aol.net 7e178d8d7f Defined what nsCHTMLDocShell implements and included the appropriate header files. 1999-10-25 04:48:14 +00:00
tbogard%aol.net c8d7e14890 Just changed some comments and function ordering. 1999-10-23 07:51:45 +00:00
radha%netscape.com 161dd56550 Clean up of Session History apis. Corresponding changes to the users of SH. r=mcafee. No bug #. 1999-10-22 20:48:07 +00:00
tbogard%aol.net 359336e48d Added nsCHTMLDocShell. 1999-10-22 02:27:42 +00:00
tbogard%aol.net 35f5149962 Added a C++ include of nsIPresContext.h 1999-10-22 02:26:35 +00:00
tbogard%aol.net 6ebda5cb09 Added changes from buster. 1999-10-21 06:59:48 +00:00
tbogard%aol.net de1a4bda8f Added nsITextScroll.idl. 1999-10-21 06:41:03 +00:00
tbogard%aol.net 1d199665f6 More changes from buster. 1999-10-21 05:52:54 +00:00
tbogard%aol.net 8f6b912566 More additions suggested by buster. Not all final, still working out the interfaces. 1999-10-21 03:23:31 +00:00
tbogard%aol.net f252aeff8a More changes to the interface. Merging in changes from buster. 1999-10-21 03:01:33 +00:00
tbogard%aol.net d625fcbc91 Added new nsIDocShellContainer.idl to the build list. 1999-10-21 03:01:10 +00:00
tbogard%aol.net 61f30d797a First Check-in. 1999-10-21 03:00:07 +00:00
tbogard%aol.net dc4bcc882c Integrated some changes made by buster. Still talking some them over, but here for now. 1999-10-20 07:37:37 +00:00
nisheeth%netscape.com f485a1ad04 Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS. 1999-10-19 22:27:20 +00:00
radha%netscape.com 27ffdf6482 Mail news regresion with replying to a message. r=mscott bug # 16550 1999-10-18 19:09:27 +00:00
tbogard%aol.net 3dfe339f0d Fixed a couple of typos. 1999-10-15 07:52:50 +00:00
tbogard%aol.net 1b78f6fb5f Changed the nativeWindowParent's to be a nativeWindow instead of a long. nativeWindow is a typedef'd voidStar. 1999-10-15 07:31:28 +00:00
tbogard%aol.net b10a05a89b First landing. 1999-10-15 07:23:53 +00:00
radha%netscape.com 4789287302 Send out OnStartDocumentLoad(0 notifications for visits to
anchors in a page. bug # 11631 15441. r=law. Got clearance from travis too
1999-10-15 03:50:47 +00:00
gagan%netscape.com 03237a9f96 Argh... fix my last fix. 1999-10-13 12:16:08 +00:00
gagan%netscape.com d78f86a72e Fix build bustage on windows. 1999-10-13 11:50:14 +00:00
gagan%netscape.com 7f425f1145 Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
radha%netscape.com 682afb5c18 XPIDised session history. Corresponding changes to users of nsISessionHistory.
Bug # 15437. r=law
1999-10-12 04:37:43 +00:00
waterson%netscape.com ab20f5e245 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
nisheeth%netscape.com ca7599a7f9 Changes not part of build. We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:33:14 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
mscott%netscape.com 6cd513ba43 Bug #12198 --> don't dereference a null ptr for the uri. return gracefully.
r=sspitzer
1999-10-07 23:29:13 +00:00
rpotts%netscape.com e198de00c6 bug #15605. Reviewed by nisheeth. Check the return code from GoToAnchor(...) :-) 1999-10-06 05:15:13 +00:00
kipp%netscape.com 4b1f6a17a6 r=dp; Added in ctor/dtor counting 1999-10-05 14:53:20 +00:00
radha%netscape.com 6b6a3fe8bf Fix for bug #13329 . Back and forward not consistent all the time.
Fix already checked in to the M10 branch. Merging changes to tip.
1999-10-05 04:49:58 +00:00
rpotts%netscape.com 248e31bd70 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 eccb08e095 r=dp; more leak tracking hooks added 1999-10-05 00:08:41 +00:00
mscott%netscape.com 03e702040e Bug #12198 --> bullet proof this code. return if we don't have a nsIURI instead of trying to dereference it. r=sspitzer 1999-09-28 22:11:26 +00:00
warren%netscape.com dacb3255d3 Fixed history state leak 1999-09-26 10:07:49 +00:00
nisheeth%netscape.com 0c537f8bad Use NSPR logging rather than printf's for stopwatch output. 1999-09-24 08:57:36 +00:00
nisheeth%netscape.com 23449e2072 a=chofmann. Add a stopwatch to measure total (layout+page load) time in the webshell. 1999-09-24 07:13:39 +00:00
briano%netscape.com 2f1c2fa6af Fixed for compilers that don't permit a comma at the end of an enum list. 1999-09-23 21:30:07 +00:00
ftang%netscape.com d1bb25d16d fix bug 13946 1999-09-23 03:27:53 +00:00
nisheeth%netscape.com d5b56cdcfa Changed the ifdef NS_DEBUG around webshell leak detection code to ifdef DETECT_WEBSHELL_LEAKS. 1999-09-22 01:24:20 +00:00
vidur%netscape.com f982113234 Changed nsIWebShell::GoTo to use LOAD_HISTORY as the load flag - going to the current entry shouldn't reload. 1999-09-21 05:27:35 +00:00
hyatt%netscape.com dca1ddfd11 chrome event stuff 1999-09-21 01:02:29 +00:00
vidur%netscape.com 2906fa4a19 webshell now gets its nsIPrompt reference from its container and not its observer. restored ftang's webshell change that i inadvertantly removed in a prior checkin. 1999-09-21 00:04:31 +00:00
radha%netscape.com 122b9b2728 Clean up leaks 1999-09-20 21:09:16 +00:00
warren%netscape.com 2b95eceabb cleaned up nsWebShell's use of services 1999-09-20 20:53:31 +00:00
beard%netscape.com dc0a1f0202 bug #6251: changed Repaint() method to call nsIViewManager::UpdateAllViews() to force a globa redraw. 1999-09-19 00:54:55 +00:00
vidur%netscape.com 580d892e67 Further corrections in referrer propagation. 1999-09-17 06:54:58 +00:00
vidur%netscape.com 384c09eb30 Document referrer propagation through webshell and docloader. 1999-09-17 04:26:02 +00:00
danm%netscape.com 1148b2e9d7 stop webshell embed if the the window in which to embed has been destroyed. fixes bug 14020 1999-09-16 23:35:05 +00:00
ftang%netscape.com d47ea310ea fix 5974 by receiving parser command as optional argument 1999-09-16 14:15:16 +00:00
radha%netscape.com d729a77d5e When invoking the mail composer upon on a click on a mailto: link, make
sure the to, cc, subject arguments are passed to the composer
1999-09-15 19:33:46 +00:00
valeski%netscape.com af333fd004 removed stream converter stuff from webshell 1999-09-15 17:46:56 +00:00
kipp%netscape.com 91849a778d Removed #ifdef NECKO noise 1999-09-15 00:23:40 +00:00
radha%netscape.com acf250aeb2 Pass OnStartDocumentLoad() notifications received for child frames up to the DocLoaderListeners 1999-09-14 21:49:21 +00:00
valeski%netscape.com 834019642a added user agent language portion initialization 1999-09-13 18:38:02 +00:00
vidur%netscape.com 7d32634780 Fixed memory leak related to UrlDispatcher 1999-09-11 02:25:59 +00:00
valeski%netscape.com 53287a21c9 adding FTP dir listing stream conv registration 1999-09-10 16:01:36 +00:00
vidur%netscape.com b7d78b67ae 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
vidur%netscape.com 2cd7f1c13c Fixed leak in LoadURL 1999-09-09 14:52:07 +00:00
vidur%netscape.com 1d13b612cb Added nsIScriptContextOwner::ReportScriptError. 1999-09-08 23:16:49 +00:00
mscott%netscape.com c6c89ad305 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
brendan%mozilla.org d31330dd99 Expand tabs to spaces per Emacs modeline; other space cleanups. 1999-09-06 22:59:11 +00:00
danm%netscape.com fe1d16cc98 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
radha%netscape.com f7b8617d26 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
kipp%netscape.com a99f5ec06a Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
beard%netscape.com 6d8c3af528 landed stream converter stuff on XP_MAC. 1999-09-01 21:50:55 +00:00
slamm%netscape.com f42f18844c Add 'select all' 1999-09-01 20:14:02 +00:00
nisheeth%netscape.com 6debf963be - 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 8506ab6296 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
rickg%netscape.com 60fd329e91 replaced call to deprecated method in nsString 1999-08-29 17:44:48 +00:00
valeski%netscape.com 8ce0e18880 changed SUCCEEDED to NS_SUCCEEDED 1999-08-29 15:35:01 +00:00
valeski%netscape.com bcadc45307 added stream converter functionality to the doc loader. also initialize/register the multipartmixedreplace stream converter in the webshell 1999-08-29 14:31:08 +00:00
radha%netscape.com babe7b777c Set title for the current entry in session history 1999-08-28 23:51:12 +00:00
scc%netscape.com da04575fe1 export 1999-08-27 14:01:44 +00:00
scc%netscape.com bf90deca2c better make that member function public 1999-08-27 12:56:52 +00:00
scc%netscape.com 319f0b5a91 all changes are NS_DEBUG only. added a private static member variable to count outstanding webshells; code in constructor and destructor to do the counting; a static member function to retrieve the value; and a global function that calls that 1999-08-27 12:32:20 +00:00
rpotts%netscape.com 3ed5c99db2 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
troy%netscape.com 71ff39d1a3 Changed GetLinkState() to remember that it failed to load the global
history service and that way it won't repeatedly try and fail. That was
causing performance problems for viewer
1999-08-24 18:20:30 +00:00
troy%netscape.com 4c669f0158 Removed nsString object that was defined but never used 1999-08-23 01:15:57 +00:00
mccabe%netscape.com 3d4917b628 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
rhp%netscape.com 81adbf65e2 Fix for I18N reload issue 1999-08-18 01:39:20 +00:00
dp%netscape.com 6a45339276 gLogModule defined only inside of NS_DEBUG. Protecting access. 1999-08-17 01:28:58 +00:00
radha%netscape.com 146a03ce48 Fix for bug 11877. Kin and ftang reviewed the code. dp approved it. Put back the old
history code in webshell since it breaks viewer.
1999-08-17 00:29:09 +00:00
danm%netscape.com 8180c75a54 open new windows from anchor links with proper chrome. fixes bug 9792. 1999-08-10 21:36:38 +00:00
vidur%netscape.com 4876025852 changed name of NS_CreateContext to NS_CreateScriptContext 1999-08-09 19:14:49 +00:00
dcone%netscape.com 620e2cdf8b took out the assert for mWindow as null, and put in support that
allows the webshell to run with a null mWindow-- needed for printing frames
1999-08-09 14:30:32 +00:00
dp%netscape.com 5ba299bb04 Fixing build error on unix. 1999-08-09 00:26:02 +00:00
radha%netscape.com 835d5f7aed Use nsISessionHistory for all history needs. This change obsoletes
mHistory and mHistoryIndex. Shall physically remove these members
at a later date.
1999-08-09 00:03:12 +00:00
radha%netscape.com 64ba7298de Fix for bug 11307. comparison between char * and XPIDLCString causing Compilation
problem in few unix platforms.
1999-08-08 02:15:53 +00:00
waterson%netscape.com 6f5ff98694 Fix compiler warning. 1999-08-06 18:28:15 +00:00
morse%netscape.com 05534f19dd cleaned up dialogs 1999-08-06 00:29:10 +00:00
waterson%netscape.com 6898ebf357 Add global history. 1999-08-05 05:14:45 +00:00
valeski%netscape.com 368ab627ee moved to the higher level LoadURL() call to get more observer handling 1999-08-05 04:49:38 +00:00
valeski%netscape.com 493ae6bd9e api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:28:30 +00:00
radha%netscape.com de9e5e65d0 Don't load a page thro' necko when going to a anchor with in the same page or going
back from an anchor to the top of the page. Modify
EqualBaseURL() so that it will do the right thing.
1999-08-04 22:46:49 +00:00
valeski%netscape.com 2336127fd1 added new url munging code. we now take a swing at the urlbar string w/ the uri parsing code first, then fallback to munging if we have to 1999-08-04 21:18:24 +00:00
valeski%netscape.com 0830bda705 10720 fix - we now do meta tag refreshes 1999-08-03 21:48:40 +00:00
mcafee%netscape.com 451c4afcee Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
nisheeth%netscape.com db76351e26 Remove DEBUG_nisheeth protected code. 1999-08-03 00:00:50 +00:00
bienvenu%netscape.com 4defdd96f5 back out fix for timing problem for Warren so OnEndLoadDocument will get called 1999-07-31 19:51:20 +00:00
warren%netscape.com af95e38fc8 Reverted yesterday's change to solve the timing/perf measurement problem. Now I think the main problem was caused by the fact that redirects weren't getting inserted into the group, causing the load to terminate prematurely. That's now solved in the http protocol code. 1999-07-31 06:33:50 +00:00
warren%netscape.com 6b3a89d3bc Fixes for the 'timing' problem, where load time is reported incorrectly. Things seem to work now, except the very first load. 1999-07-30 07:50:35 +00:00
warren%netscape.com b21ffb563b Clean up of nsDocumentBindInfo::OnStopRequest. Debug error messages for necko failure. 1999-07-30 04:20:34 +00:00
nisheeth%netscape.com 90890a0c0d Fix for bug 4559 in the Necko builds. Earlier this code change was made in code that affected non-Necko builds. 1999-07-27 21:21:13 +00:00
pavlov%netscape.com 8b8b9c3727 window creation changes 1999-07-27 04:27:17 +00:00
rickg%netscape.com 85d0902334 replaced call to deprecated string API 1999-07-26 00:40:34 +00:00
nisheeth%netscape.com 6053670fe6 Fix for bug 10028. We handle mixed case mailto urls properly now. 1999-07-22 22:34:28 +00:00
troy%netscape.com ace7880515 Removed Repaint() call from OnEndDocumentLoad() 1999-07-21 04:48:21 +00:00
nisheeth%netscape.com 9682a640d6 Fix for bug 9255. We were not trimming leading and trailing whitespace from the url typed in the location bar. Now we do. 1999-07-16 22:45:38 +00:00
warren%netscape.com c5684bf4d7 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
nisheeth%netscape.com a8266bada7 Fix for bug 4559. We would scroll the document to the named anchor target when a named anchor was clicked even when form data needed to get submitted. Now, we go ahead and submit the form data. 1999-07-15 23:17:29 +00:00
dcone%netscape.com 17e9b15e91 Added a IsBusy() method. 1999-07-15 14:22:06 +00:00
ftang%netscape.com df8cf877e4 fix 3965. The default value of the Default Character Set will look at pref first now 1999-07-14 20:57:57 +00:00
andreas.otte%primus-online.de d4fa1117ce NECKO only: fix build bustage when doing a clobber build 1999-07-14 20:47:55 +00:00
rpotts%netscape.com c4cb4be105 Removed call to NET_InitJSProtocol for NECKO only... This should help fix the build bustage when NECKO is defined. 1999-07-13 07:21:44 +00:00
nisheeth%netscape.com a26616b71d Fix for bug 9387. Reviewed by vidur. Approved by chofmann. NS_NewURL's return value is checked for error in DoLoadURL(). We no longer crash when mailto links are clicked. 1999-07-10 00:13:25 +00:00
hyatt%netscape.com 4c33e430c7 Fixing this god-damn hack. 1999-07-08 22:53:16 +00:00
hyatt%netscape.com 2670e880fa Fixes for repainting problems. This is probably the wrong thing to do, but
dammit, it works.  Making all webshells repaint when their document gets
loaded.
1999-07-08 08:16:49 +00:00
nisheeth%netscape.com bab9878a2f Fix Necko build bustage. 1999-07-08 02:09:50 +00:00
nisheeth%netscape.com a688ade905 Fix for bug 9358. Page reloads were not working because the webshell was trying to scroll the document rather than loading it via netlib. Now, we are fine. Some work needs to happen in session history to pass in a newly define url reload type so that the webshell can be smart about scrolling the document for history traversal rather than loading via netlib. Will work with Radha to make the necessary session history changes. 1999-07-08 01:40:50 +00:00
waterson%netscape.com 43f786f033 Fix necko build bustage. 1999-07-08 01:23:56 +00:00
nisheeth%netscape.com cc717c4aa5 Fix for bug 1755. Separated out functionality of nsWebShell::Stop() into two methods, StopBeforeRequestingURL() and StopAfterURLAvailabl(). The former is called before sending a new url load request to the doc loader. The latter is called once the doc loader notifies the webshell via OnStartURLLoad() that the stream created from the URL is ready to be consumed. 1999-07-07 10:47:35 +00:00
radha%netscape.com 7af21397c7 Pass mailto: urls to the Url Dispatcher 1999-07-04 23:40:15 +00:00
waterson%netscape.com 13806286ac Fix Necko bustage. 1999-07-03 03:41:34 +00:00
nisheeth%netscape.com c62c9f47b1 Fixed bug 3152. We no longer reload the document when the user goes back to a location on the currently loaded document. 1999-07-03 01:14:51 +00:00
hyatt%netscape.com 6d1130f14e Fix for a bug that doesn't seem to be assigned to me any more. 1999-07-02 08:05:52 +00:00
warren%netscape.com 8462929dda Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
pinkerton%netscape.com 3a463448b6 Changing CreatePopup to return the popup. Adding a bunch of stuff for tooltips to the popup code. Fixing some bugs in webshell with loading malformed popups. Renamed "popup" to "popupElement" in the document and added "tooltipElement" as well. 1999-07-01 00:07:41 +00:00
valeski%netscape.com 9381d90062 NECKO - nsWebShell: we were getting a unichar string back from GetBuffer(); changed it to ToNewCString(). nsDocLoader: trying to get a regular url to load. 1999-06-29 21:48:35 +00:00
warren%netscape.com f5e1196f42 Last of the necko ifdefs. Now we link with necko. 1999-06-28 10:35:57 +00:00
danm%netscape.com d445822226 adding _content target 1999-06-27 00:35:21 +00:00
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
radha%netscape.com 2919d778bd Check for trailing slash in OnEndDocumentLoad() and update history entry accordingly 1999-06-21 22:17:14 +00:00
sfraser%netscape.com 6357c6d07e Muchos leak fixing. CreateNewTopLevel window returns an AddReffed window. You must release it. Also use nsCOMPtr in a couple of other places. 1999-06-19 22:06:35 +00:00
sspitzer%netscape.com adfc2b4a48 changes to add support for the "browser.startup.page" pref and the new
"browser.startup.splash" page pref.

all that's left is to get radha to add the code to get the last page visted.
1999-06-19 21:06:59 +00:00
valeski%netscape.com 487d9ea921 NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
waterson%netscape.com cca7acb31a Fix unintialized memory read. 1999-06-16 05:52:42 +00:00
sspitzer%netscape.com 1bb6bde68f fix build bustage. sending mail to rahda so she can back this out, if necessary 1999-06-16 01:50:17 +00:00
radha%netscape.com a3ee977080 Fix the GetURL() bustage in windows 1999-06-16 01:02:19 +00:00
radha%netscape.com 7f5a845dbb More changes related to session History
A
A
A
1999-06-15 23:29:38 +00:00
radha%netscape.com c8d63fb7b6 New methods for session history 1999-06-14 22:11:47 +00:00
hyatt%netscape.com b84d2f62d5 Altering the args for createPopup. 1999-06-09 08:36:06 +00:00
kmcclusk%netscape.com e9df6a4d2f Modified nsWebShell::GetLinkState to used a cached GlobalHistory service rather
than getting and releasing the service each time GetLinkState is called. Getting
the global history service shows up as a big hit during profiling because GetLinkState
gets called each time a link is encountered while resolving style contexts.
1999-06-07 21:26:10 +00:00
danm%netscape.com fb7666ef71 protect nsWebShell's destructor from being called recursively a little earlier in the destructor. fixes a crash (bug 7157). 1999-06-01 23:02:15 +00:00
ftang%netscape.com f52f234117 change the ReloadDocument implementation by using RefreshURL do avoid reentrance problem in libnet 1999-05-28 21:32:29 +00:00
nhotta%netscape.com e2e674f6d8 Added force character set. 1999-05-28 01:31:55 +00:00
hyatt%netscape.com fcfa9123a0 Web shells now know about their enclosed chrome shell. 1999-05-27 21:05:27 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
waterson%netscape.com 32f93b7727 Re-wrote to avoid use of NS_WITH_SERVICE macro; otherwise, we'll get annoying asserts in viewer. 1999-05-19 07:22:57 +00:00
ftang%netscape.com a5f6e74bb4 add method to push necessary informaiton to implement Meta charset observeration 1999-05-19 00:23:03 +00:00
waterson%netscape.com 410f16fd7b Enable link coloring. 1999-05-18 05:21:37 +00:00
waterson%netscape.com ca62527121 Initial revision as an XPFE component. 1999-05-17 22:36:17 +00:00
vidur%netscape.com a640bb60ce Prevent onunloads from bubbling. 1999-05-17 22:14:16 +00:00
hyatt%netscape.com c575f00e29 Added an arg to createPopup. 1999-05-16 07:52:02 +00:00
hyatt%netscape.com 9f66a3ec43 Adding a method to the webshell container for creating popup/context menus. 1999-05-14 22:40:03 +00:00
joki%netscape.com e67457c7f0 Adding unload event during window closing. 1999-05-13 23:51:25 +00:00
karnaze%netscape.com 1fc631c4b5 bug 6161 - don't reinitialize mMarginWidth, mMarginHeight on doc load. 1999-05-10 02:34:17 +00:00
kipp%netscape.com fe3e8417ce Pass on SetRendering call to the content viewer if we have one 1999-05-07 19:25:58 +00:00
nisheeth%netscape.com 828efdeb93 Implement LoadDocument(), a new method that is part of the nsIWebShellServices interface. 1999-05-07 00:21:57 +00:00
nisheeth%netscape.com bd92244027 - Implemented GetContentViewerContainer() in the nsDocLoaderImpl() object.
- Added charset parameters to LoadDocument(), a method defined in nsIWebShellServices
1999-05-06 03:54:40 +00:00
nisheeth%netscape.com 066767c792 - adding stubs for the methods in nsIWebShellServices implemented by the nsWebShell object.
- adding a stub implementation of the GetContentViewerContainer() method to nsDocLoaderImpl.
1999-05-06 01:58:48 +00:00
nisheeth%netscape.com 066b4a19c0 Fix for bug 5850:
1) Add a RemoveChild() method to nsIWebshell.
2) nsWebshell::Destroy() calls this method on its parent to remove itself from the parent's child list.
3) Call nsWebshell::Destroy() from nsHTMLFrameInnerFrame's detructor.
1999-05-05 00:23:51 +00:00
hyatt%netscape.com e4fad850bc Changes to the APIS for webshellcontainers. 1999-05-04 23:34:10 +00:00
rickg%netscape.com ca4dc736b3 update to nsString2 API 1999-05-04 06:38:37 +00:00
nisheeth%netscape.com 7c03b167d0 Fix for bug 5472. Approved by chofmann. Reviewed by Kipp. 1999-05-03 23:04:50 +00:00
pinkerton%netscape.com 013355114c pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come). 1999-04-30 09:04:36 +00:00
kipp%netscape.com 98a10d26dd Use DestroyChildren instead of ReleaseChildren when destroying a webshell 1999-04-30 00:09:52 +00:00
ftang%netscape.com d7f0b65166 fix bug 5644. reviewed by nisheeth and approved by cyeh. broadcast default character set to all the children and make sure all the children set to the same value when they are added to the parent 1999-04-28 23:59:08 +00:00
nisheeth%netscape.com 4fb57d23eb Passing in nsIDocumentLoader as a parameter to all functions in nsIDocumentLoaderObserver... 1999-04-28 06:47:40 +00:00
law%netscape.com d6c956d6cb Remove reference to obsolete nsIURLListener 1999-04-28 01:40:01 +00:00
ftang%netscape.com 3477601736 set the default charset of nsWebShell to ISO-8859-1 1999-04-26 18:05:18 +00:00
rickg%netscape.com c647d65fcd updates to sync with nsString2 api 1999-04-22 00:05:59 +00:00
hyatt%netscape.com f0c29e969c window.open lives. 1999-04-20 22:35:11 +00:00
hyatt%netscape.com 83e90659ca Added a method to webshell so that a root container can find out when
new webshells are added to its hierarchy.
1999-04-20 01:50:03 +00:00
hyatt%netscape.com 47df321322 Changes to enable an asynchronous creation of a webshell in response to a
window.open call.
1999-04-19 21:08:44 +00:00
hyatt%netscape.com 2f644ddcbc Added support for chrome vs. content in the webshell. Altered some methods
so that they know how to go across the chrome vs. content boundary.
1999-04-16 08:15:04 +00:00
michaelp%netscape.com 01d3e2ea30 added zooming front end. 1999-04-16 04:25:17 +00:00
davidm%netscape.com 9ffdbed49d Remove #ifdef Mac code now that the mac uses the EventQueue Service 1999-04-12 22:49:38 +00:00
joki%netscape.com 4fe1ea4222 New argument to nsIWebShellContainer::FocusAvailable method 1999-04-12 21:25:08 +00:00
karnaze%netscape.com fcf51edf0e bug 4643, webshells reset scrolling value to prior value on reloading doc 1999-04-09 21:09:00 +00:00
joki%netscape.com 172cbc4a4e Fix for bug 4001, crashing immediately or on exit after tabbing to end of doc. A: chofmann. 1999-04-09 20:35:18 +00:00
law%netscape.com bd438feb37 File download; approved by chofmann 1999-04-08 04:21:15 +00:00
nisheeth%netscape.com 9971b4b0cf Fix for bug 3413. I had to reapply the fix because it got trashed during the
work that happened on the document load observation APIs.
1999-04-08 04:08:49 +00:00
radha%netscape.com 76ab858a99 Webshell implements the new nsIDocumentLoaderObserver interface 1999-04-06 21:01:04 +00:00
joki%netscape.com 9e03f3129c Adding unload event 1999-03-29 23:01:13 +00:00
rpotts%netscape.com 60cb857615 Added more methods to nsIDocumentLoaderObserver in the first stage toward unifying *all* of the different notification mechanisms in the WebShell... 1999-03-29 09:21:01 +00:00
joki%netscape.com 5abbeab8a7 Changing api uses in editor, rdf, and xpfe to match DOM2 api name/param changes. 1999-03-28 22:27:38 +00:00
ftang%netscape.com cb26fd22b6 add Set/GetDefaultCharacterSet to nsWebShell. Reviewed and approved by nisheeth 1999-03-22 22:21:22 +00:00
danm%netscape.com 2b6ae5d43c plug leak in CheckForTrailingSlash. r:nisheeth 1999-03-22 21:53:58 +00:00
nisheeth%netscape.com 869ae5efa7 Fix bug 3413. Approved by chofmann. Reviewed by rpotts. We check nsIURL's
address in nsWebshell::OnStartBinding() and if a trailing slash has been
added to it, we replace the topmost history entry with the new address.
1999-03-18 01:07:22 +00:00
law%netscape.com 2869302cd5 Adding url listener support 1999-03-13 03:31:55 +00:00
michaelp%netscape.com f8f65fb15e fixed memory leak. 1999-03-11 05:45:52 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
beard%netscape.com 17fa327158 Using the service manager to access the plugin manager, because it needs to be a singleton. 1999-03-08 00:01:02 +00:00
joki%netscape.com c401b7142e Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
kipp%netscape.com 4a28dcfe2b fixed up operator new usage 1999-02-26 20:02:06 +00:00
troy%netscape.com a615ee3c8a Fixed a bunch of "const" problems 1999-02-14 06:35:01 +00:00
troy%netscape.com 6bcd32e911 Factored out the code that checked for anchors within the current document so
that "back" and "forward" used it, too
1999-02-12 17:32:17 +00:00
troy%netscape.com 4bb852560f Changed LoadURL() to look at the destination anchor and see if it's an element
within the current document. If so, it calls the pres shell's GoToAnchor()
function
1999-02-12 05:43:46 +00:00
amusil%netscape.com 40822ed808 Corrected error in the use of CIIDs and IIDs 1999-02-04 00:03:18 +00:00
joki%netscape.com 93bb8ce0eb Adding new history interface method onto webshell, removing enums types from linkhandler 1999-01-28 23:13:48 +00:00
rods%netscape.com 9c6348e012 I uncommented out the progation of the EndLoadURL notification 1999-01-27 03:50:10 +00:00
amusil%netscape.com fe0abd8157 Fixing build bustage 1999-01-25 12:18:51 +00:00
troy%netscape.com c2564fa2ce Fixed a memory leak of the web shell in LoadURL() 1999-01-23 04:16:18 +00:00
radha%netscape.com 42405a3631 gWebShell_UnixEventQueue is gone. Use the Event queue service instead 1999-01-23 00:52:01 +00:00
karnaze%netscape.com 8f10d2b9c6 added GetIsFrame, SetIsFrame to distinguish <frame> documents 1999-01-19 23:14:31 +00:00
karnaze%netscape.com c1f9e8dde6 <form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working 1999-01-19 17:26:06 +00:00
rpotts%netscape.com 3ee6fff37f The DocumentLoader is now a global service. Rather than creating document loaders via the factory, they are now created as child loaders of the global DocumentLoader service which is accessable via GetService. 1999-01-17 11:48:58 +00:00
rpotts%netscape.com ea75730edd Added support for GetContainer()/SetContainer(). Added the OnStartURLLoad() notification to the DocumentLoadObserver... 1999-01-14 06:44:23 +00:00
kipp%netscape.com ff8d82dd48 Added in code from bug #1935 to improve auto-protocol handling on urls 1999-01-09 02:00:42 +00:00
rpotts%netscape.com 52a891647e Bug fix from Davide Pasetto (dipo@sis.it) for nsWebShell::Init(...). I Also changed a bunch of checks against NS_OK to use the NS_SUCCEEDED() and NS_FAILED() macros... 1999-01-08 00:32:55 +00:00
rpotts%netscape.com 8415d52247 Use the EventQueueService to get the event queue for the UI thread... 1999-01-05 09:46:33 +00:00
davidm%netscape.com fc5e08504d Add mac code to get NSPR event queue for dispatching of link click events 1998-12-16 22:05:04 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
michaelp%netscape.com f6bf74a32b we no longer tell the widgets to paint themselves as a result of
a resize operation.
1998-12-15 05:45:05 +00:00
kipp%netscape.com 8a27f5c9df Landed a patch from bobg@zanshin.com 1998-12-15 01:34:36 +00:00
kipp%netscape.com a8872a800c Implement new NewWebShell API 1998-12-08 02:39:48 +00:00
kipp%netscape.com 4defdba53e Hide some noise; pass on Stop to content-viewer 1998-11-26 18:06:47 +00:00
michaelp%netscape.com 68b544027f fixed non-painting controls on certain resize operations in xpviewer. 1998-11-25 02:52:04 +00:00
vidur%netscape.com d20521d851 Partial fix for bug 1256. A script context should always be created for each new script global object. 1998-11-23 08:09:11 +00:00
troy%netscape.com cf538295c3 Changed Destroy() to release references to and destroy its child
web shells. This fixes it so we don't leak all of the web shells for
frameset documents
1998-11-22 03:11:26 +00:00
vidur%netscape.com a349a1e4a6 Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
rickg%netscape.com c16dd335a5 enabled view-source 1998-11-11 20:31:45 +00:00
rods%netscape.com 649f5dcabd Commented out the 3D border hint for the WebShell window. 1998-11-11 20:17:09 +00:00
rpotts%netscape.com db45821759 Pass the view command as the default for the webshell to the document loader... 1998-11-11 10:58:14 +00:00
karnaze%netscape.com 44b5b9e670 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
joki%netscape.com 1569d53889 Adding focus passing method to nsIWebShellContainer 1998-11-06 01:30:07 +00:00
rods%netscape.com ba3200bc30 Made change for GetBounds to GetClientBounds conversion 1998-11-04 21:41:26 +00:00
rpotts%netscape.com 3267ac2e2a Moved the clipboard methods from nsIWebShell into a new interface called nsIClipboardCommands... 1998-11-04 08:48:22 +00:00
rpotts%netscape.com f2648dadc0 Added support of the nsInetsupport interface. The implementation simply calls out through the observer (if it supports nsInetSupport) 1998-11-03 08:03:22 +00:00
rods%netscape.com 7cd43a5ad8 Added an extra parameter to the Init to tell it whether it should have a sunken border 1998-11-02 22:19:08 +00:00
rods%netscape.com 1850a30aaa Added FindNext 1998-11-02 19:11:43 +00:00
vidur%netscape.com db8d0af370 Added GC method to script context 1998-10-26 23:22:59 +00:00
karnaze%netscape.com 87fa247490 bug 1136 1998-10-26 18:37:04 +00:00
rods%netscape.com 6ddbcf6f80 Added selection APIs 1998-10-23 20:47:57 +00:00
rpotts%netscape.com 75cfc26d3e Fixed build bustage... 1998-10-21 23:33:52 +00:00
rpotts%netscape.com d944e84304 Move the call to stop before firing the BeginLoadURL notification... This will keep the BeginLoad/EndLoad notifications paired correctly... 1998-10-19 20:41:50 +00:00
rpotts%netscape.com c1d06bb6c4 Added support for the loading of background URLs... 1998-10-10 04:33:29 +00:00
rpotts%netscape.com cc95b4ef70 renamed docloader LoadURL to LoadDocument... 1998-10-09 05:50:29 +00:00
rpotts%netscape.com 565f28c1a7 Fixed RefCounting bug where following links would decrement the WebShell ref count :-( 1998-10-07 12:15:48 +00:00
troy%netscape.com 546268c485 Changed throbber and web shell to not aggregate in the widget 1998-10-06 22:33:13 +00:00
joki%netscape.com 0ed19d3c3f Don't look for new webshell during link clicks if no target specified 1998-10-02 22:56:52 +00:00
rpotts%netscape.com cfd231f526 Added GetBrowserWindow() method and passed OnStatus and OnProgress messages out through the nsIBrowserWindow interface... 1998-10-02 18:44:56 +00:00
rpotts%netscape.com f9ecb062b8 Fire the EndLoadURL(...) notification after all of the URLs have been loaded by the doc loader... 1998-10-01 21:49:50 +00:00
michaelp%netscape.com 6b3518d778 we now defer plugin enumeration until we need to load one for real. 1998-09-30 18:59:03 +00:00
rpotts%netscape.com 0f907e346e Reworked the way that refresh URLs are handled... 1998-09-25 22:25:21 +00:00
rpotts%netscape.com 9c27907b94 Made the nsISupports and nsIRefreshURL interfaces threadsafe... 1998-09-19 07:06:07 +00:00
joki%netscape.com eb567e7269 Adding targetting of any named window 1998-09-18 00:35:55 +00:00
troy%netscape.com bb0fe2df75 Changed some AddRef/Release calls overto use XP-COM macros 1998-09-17 21:27:22 +00:00
valeski%netscape.com ad6e1f0a3f M webshell/public/nsIDocumentLoader.h
nsIDocumentLoader interface method change to LoadURL() we now accept a local ip address.


M webshell/public/nsIWebShell.h
1. Extended the nsIWebShell LoadURL() method to take an additional PRUint32 parameter which represents an ip address. If specified, this address will be bound to the socket prior to connection as the local/client ip address to be used. The caller is guarantees the validity of this address.
2. Extended the nsReloadType enumeration to allow both proxy and cache bypass.


M webshell/src/nsDocLoader.cpp
1. Extended nsDocumentBindInfo::Bind() to take an additional nsILoadAttribs pointer. (class definitaion change and implementation).

2. Extended nsDocLoaderImpl::LoadURL() to take an additional PRUint32 param which represents an optional local ip address to bind the connecting socket to, prior to connection. (class definitaion change and implementation) The docloader object maintains a pointer to an nsILoadAttribs interface.


M webshell/src/nsWebShell.cpp
Implemented new LoadURL() routine. Simple pass down to doc loader of PRUint32.


M webshell/tests/ComFactory/makefile.win
Added netlib to the list of prerequisites.
1998-09-16 00:40:20 +00:00
joki%netscape.com 58d850764d More support for capturing, minor adjustments to window.open behavior. 1998-09-15 21:31:58 +00:00
michaelp%netscape.com 3402dbd86f fixes for new plugin world. 1998-09-15 03:46:05 +00:00
kipp%netscape.com c5c6762595 Fixed log module name 1998-09-15 00:18:10 +00:00
joki%netscape.com dc112aaa32 Remove duplicate functionality of nsIBrowserWindow and nsIWebShellContainer. 1998-09-09 01:19:11 +00:00
kipp%netscape.com 19adafc300 Flush font cache before destroying device context to break circular links (ick) 1998-09-08 22:38:48 +00:00
warren%netscape.com 34f3c0ef88 Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
troy%netscape.com a2942cd289 Changed nsIDeviceContext interface to conform [more] with COM conventions 1998-08-27 05:05:03 +00:00
rpotts%netscape.com 6e109c6e91 Fixed a crash when Destroy(...) was called without first calling Init(...) 1998-08-21 06:21:52 +00:00
vidur%netscape.com 17af65fb8b Added nsIDocumentLoadInfo interface. Temporarily added service startup inside WebShell factory. 1998-08-20 22:28:52 +00:00
rpotts%netscape.com a6c5064d42 moving changes in 1.36.2.1 onto the tip... 1998-08-20 06:17:47 +00:00
troy%netscape.com f3f041afae Changed web shell widget to NOT clip children 1998-08-19 23:13:00 +00:00
valeski%netscape.com f933b44c7a webshell/public/nsIDocumentLoader.h
Extended the nsIDocumentLoader interface's LoadURL() method to take a reload type parameter.

webshell/public/nsIWebShell.h
Extended the nsIWebShell interface's LoadURL() method to take a reload type parameter.

webshell/src/nsDocLoader.cpp
1. Extended the nsIDocumentBindInfo interface's Bind() method to take a reload type parameter. The Bind() method now takes the reload parameter and passes it to the nsIUrl it creates.
2. Added support to the DocumentLoader for the extended LoadURL() parameter list. It now passes the reload type down into the Bind() method of the nsIDocumentBindInfo.

webshell/src/nsWebShell.cpp
1. Added support to the nsWebShell to use the new reload type parameter during loads.
2. Hooked up the reload type parameter in the nsWebShell::Reload() method so we actually use it.
1998-08-19 23:01:52 +00:00
michaelp%netscape.com 7786bfd32d added support for opening new windows with _blank url targets. 1998-08-19 21:00:51 +00:00
valeski%netscape.com a3dab18b8b webshell/public/nsIDocumentLoader.h
Removed support for the underlying timer/refreshurl infrastructure.

webshell/src/nsDocLoader.cpp
1. Added support in nsDocumentBindInfo for the new nsIRefreshUrl method for cancelling.
1.5 Changed the refreshurl() method so it delegates to the container's (i.e. webshell's) refreshurl() method.
2. Removed the "actual" refresh url implementation (timers) from the nsDocumentBindInfo. It's now in the webshell and nsDocumentBindInfo's implementation of nsIRefreshUrl simply delegates to the "container" (i.e. the webshell).
3. Added call to new NS_NewURL() routine which takes an nsISupports pointer as an arg, if the nsDocumentBindInfo has a container to pass along.

webshell/src/nsWebShell.cpp
Added support for the nsIRefreshUrl interface to nsWebShell (this includes the underlying timers and callback mechanism).
1998-08-18 23:25:17 +00:00
scullin%netscape.com 1c67c70c5d Checked in api changes and some other small changes from the branch. 1998-08-14 23:08:54 +00:00
valeski%netscape.com 732cc1445e webshell/src/nsDocLoader.cpp -
310133 - 1. added LoadURLOnTimer() and CancelLoadURLTimer() implementations to the nsDocLoaderImpl class.
2. Changed nsDocumentBindInfo class to support the nsIRefreshUrl interface.
3. Changed the nsDocumentBindInfo contructor to set the m_ExtraInfo variable to the aExtraInfo pointer passed in. This must have been an oversight on the part of the original implementor.
4. Added a simple data placeholder class to hold the data that will be used to load the url on the timer.

webshell/src/nsWebShell.cpp -
1. 310133 - When the webshell is destructed or about to load a new url, the loader now calls CancelLoadURLTimer() which cancels and releases the timers.
1998-08-13 20:08:19 +00:00
vidur%netscape.com 2c5b071138 Implemented Reload() on nsIWebShell 1998-08-13 04:49:16 +00:00
vidur%netscape.com 177ffce3ef Added modifyHistory option to LoadURL. 1998-08-13 04:36:42 +00:00
michaelp%netscape.com ba84f1fafa with -np plugins will no longer be initialized due to frames. 1998-08-12 22:06:00 +00:00
kmcclusk%netscape.com 05b38ad9d4 Added unix support for PR_ProcessPendingEvents. 1998-08-12 19:54:39 +00:00
joki%netscape.com 939f9a50d7 Adding partial load event support, removing script context Run_GC method adding partial script error support 1998-08-12 04:56:40 +00:00
joki%netscape.com d41161cea4 Fix possible addref on null pointer 1998-08-10 01:30:29 +00:00
karnaze%netscape.com 46e9b25173 added GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight to web widget, frameset codes calls it. 1998-08-10 01:01:27 +00:00
valeski%netscape.com 552110779f moved http:// assumption code into nsWebShell.cpp from nsBrowserWindow.cpp 1998-08-09 21:22:18 +00:00
joki%netscape.com 0e164d9aca Partial fix for frame based and general memory leaks of webshells and prescontexts 1998-08-09 07:43:22 +00:00
joki%netscape.com 20d06b486a Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
michaelp%netscape.com 446cb50e92 changes for plugins. 1998-08-05 04:23:21 +00:00
michaelp%netscape.com 7c38ee7552 tiny change to see if the unix build will come back to life. 1998-08-01 22:19:05 +00:00
rpotts%netscape.com 5b28fd5115 Added check to see if DocLoader exists before dereferencing the pointer... 1998-08-01 06:45:43 +00:00
michaelp%netscape.com ea6a9e4341 turned on plugins. 1998-08-01 05:47:34 +00:00
peterl%netscape.com 70e291739a connected prefs 1998-07-31 06:02:06 +00:00
kipp%netscape.com c0e063cc3f Make gamma 1.0 1998-07-30 16:07:18 +00:00
rpotts%netscape.com f28d663a66 Added a Destroy() method which is called when the WebShell container is going away... 1998-07-29 10:49:01 +00:00
michaelp%netscape.com 3bc803ac1f hooked up the plugin manager to the webshell. 1998-07-27 23:08:52 +00:00
kostello%netscape.com 5c50f275b7 Implemented DoCopy to put HTML on the pasteboard
Added Dialog for DoDebugSave
1998-07-27 18:17:07 +00:00
karnaze%netscape.com 0c57bd7dac more robust frameset layout; <frame>, <iframe> borders; reenabled scrolling attr for <iframe> 1998-07-27 05:59:37 +00:00
joki%netscape.com d13c8981c1 Fix for unitialized var and missing add/release ref pair in the GetScriptGlobalObject call 1998-07-25 01:53:54 +00:00
rpotts%netscape.com f82bae51c2 Get rid of those unix warnings... 1998-07-24 21:03:33 +00:00
joki%netscape.com 850d3b8fb9 Adding GetScriptGlobalObject function to nsIScriptContextOwner interface 1998-07-24 05:07:51 +00:00
rpotts%netscape.com 39531522c3 Added GetDocumentLoader(...) and support for creating nested document loaders if the webshell is nested itself... 1998-07-23 04:24:36 +00:00
kipp%netscape.com 4b9570572a Implement GetURL 1998-07-22 23:40:54 +00:00
rpotts%netscape.com ea58f0fc69 nsIWebShell now supports a single observer for all document loads...The DocLoader now stops any pending binds when a new document is requested... 1998-07-22 11:24:50 +00:00
kipp%netscape.com 1165824f2b Support aggregation (sort of) 1998-07-21 16:44:45 +00:00
kipp%netscape.com 2309a870b9 Implement IScriptContextOwner API 1998-07-21 04:46:55 +00:00
kipp%netscape.com 2ac6c52a54 Added a reminder comment 1998-07-19 04:07:59 +00:00
kipp%netscape.com b11190411d Implement new title API's; normalized factory code 1998-07-19 01:18:40 +00:00
kipp%netscape.com 8caa3ef533 new 1998-07-18 21:43:02 +00:00