Commit Graph

629 Commits

Author SHA1 Message Date
buster%netscape.com
0d35e09766 fixed 20170
r=karnaze
1999-12-01 22:28:51 +00:00
tbogard%aol.net
2472113dc8 nsWebShell now implements nsIDocShellContainer. 1999-12-01 03:41:43 +00:00
tbogard%aol.net
fbd97c3675 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
11a750afde 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
e8c531fad1 Removed nsIDocShellFile and nsIDocShellEdit from the include list. 1999-12-01 03:07:02 +00:00
mscott%netscape.com
0e2ff650d6 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
df09e67688 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
7cde78d9d1 Adding local .cvsignore file; r=none 1999-11-30 23:22:27 +00:00
warren%netscape.com
18aadbf7ef Removed neckoutil_s.lib 1999-11-30 07:58:20 +00:00
tbogard%aol.net
f4f62bed05 Errr, this should help baby wensleydale. 1999-11-30 06:02:46 +00:00
warren%netscape.com
e480d13275 Workaround for Solaris bustage. 1999-11-30 05:58:24 +00:00
warren%netscape.com
2db26922a6 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
f66740f59e 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
c5a3233ffe 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
84eb2092e0 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
2d28986f21 nsDocShell now implements nsIScriptContextOwner. 1999-11-30 01:06:59 +00:00
tbogard%aol.net
09d26dc298 Declare that nsCDocShell implements nsIScriptContextOwner. 1999-11-30 01:05:28 +00:00
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
pinkerton%netscape.com
7cda389c03 First Checked In. 1999-11-30 00:12:08 +00:00
mscott%netscape.com
a260948fc1 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
ad6ba7ddf1 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
692943a50b 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
6d578fca19 Changes to get DocShell building again with URILoader changes. 1999-11-29 22:00:35 +00:00
pavlov%netscape.com
467df63664 build some files r=travis 1999-11-29 21:34:42 +00:00
danm%netscape.com
60ece7d3bb updated to match nsIWebShell interface change for travis@netscape.com 1999-11-29 21:15:32 +00:00
tbogard%aol.net
02988c2379 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
7c9a535d7a 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
e61394b1f9 Added a readonly attribute to get the PresShell. (Not Part of the build) 1999-11-29 18:40:06 +00:00
tbogard%aol.net
8abfb4a29e Implemented GetPositionAndSize.... Fixed some calls to DOMHandleEvent. 1999-11-29 07:47:20 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net
49a7dee927 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
5cf34ba8b8 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
af1ce8d410 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
b6582c421e Changes to get this compiling again. 1999-11-23 10:15:10 +00:00
tbogard%aol.net
43c07c9572 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
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
radha%netscape.com
a0810ef4c0 Fix for regressed bug #, 15441. Back/Forward to anchors erratic. r=nisheeth 1999-11-22 21:42:00 +00:00
tbogard%aol.net
33b7456c27 A couple of comment tweaks. 1999-11-22 10:07:10 +00:00
buster%netscape.com
d8a7ef6556 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
c8396a9691 first version of interface for content-specific manipulations 1999-11-19 07:44:27 +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
1e3db6851b 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
6ac15557ae (not part of the build)
api tweak to nsIURIContentListener::CanHandleContent
1999-11-18 01:09:56 +00:00
warren%netscape.com
5b5fb803e9 Fix for bustage due to channel retargeting changes. 1999-11-17 09:33:13 +00:00
warren%netscape.com
7c1c028e55 Fix for bustage due to channel retargeting changes. 1999-11-17 09:22:47 +00:00
tbogard%aol.net
381ea3cffd Got the code compiling again. 1999-11-17 08:57:00 +00:00
tbogard%aol.net
a1d86ae1f7 Replaced nsIGenericWindow with nsIBaseWindow. 1999-11-17 08:45:28 +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
2db6e40b62 Removed nsIGenericWindow.idl as is is now implemented by widget/public/nsIBaseWindow.idl. 1999-11-17 07:25:22 +00:00
tbogard%aol.net
aae2cde858 Fixed a warning. 1999-11-17 04:19:39 +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
30c87ee660 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
e34b530b18 Fixed ambigous cast. 1999-11-15 23:26:50 +00:00
tbogard%aol.net
7f0b4a66d0 nsIDocShell now has a readonly attribute for the currently loaded content viewer. 1999-11-15 22:54:47 +00:00
tbogard%aol.net
00670b90c7 Changes to reflect changes in nsIContentViewerContainer usage. 1999-11-15 10:51:57 +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
39c0453051 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
9eb64e3cf9 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
65a3476676 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
tbogard%aol.net
d20964dfb8 Implemented a number of the Positioning / Sizing routines. 1999-11-13 08:09:16 +00:00
tbogard%aol.net
1ea38abf06 Changed the QueryInterface to be a QUERY using the macros. r=scc 1999-11-13 05:31:36 +00:00
tbogard%aol.net
956aa1737e 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
8b913365e8 Changed a temp XPCOM manual ref pointer to an nsCOMPtr. 1999-11-12 09:13:52 +00:00
tbogard%aol.net
6099e4fc4d 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
dc64ef1f06 Added CreateContentViewer and NewContentViewerObj methods for docShell. 1999-11-12 09:07:28 +00:00
tbogard%aol.net
4c8c939f0b 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
56d01e76b9 fix build bustage.
#include "nsIDOMDocument.h"
not
#include "nsIDOMDOcument.h"
1999-11-12 00:19:00 +00:00
buster%netscape.com
1f43e8ed87 added hooking up document tree in FireEndDocumentLoad. 1999-11-11 23:30:41 +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
jdunn%netscape.com
0c7a249849 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
a619ab8a51 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
e9ab7e0c82 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
be9b07841c 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
501c672a51 added charset attributes 1999-11-11 00:39:50 +00:00
buster%netscape.com
c1a07db400 added charset member data 1999-11-11 00:39:16 +00:00
buster%netscape.com
70a6e3199c 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
dd8ceebaee added libs:
>  $(DIST)\lib\neckoutil_s.lib	       \
>  $(DIST)\lib\gkgfxwin.lib	           \
1999-11-11 00:36:48 +00:00
buster%netscape.com
e13da51859 made childCount readonly 1999-11-11 00:36:09 +00:00
buster%netscape.com
13e7b8c45a changed args to SetDocument
added attribute nsIDocumentLoaderObserver docLoaderObserver;
1999-11-11 00:35:36 +00:00
buster%netscape.com
1fa5e9c2ad nsDocShellBase implements nsIDocShellContainer
added some member data
1999-11-11 00:34:41 +00:00
tbogard%aol.net
acbd6607c6 Added mLoadCookie that is used in the new URI Loader calls. 1999-11-10 21:43:58 +00:00
tbogard%aol.net
900aec302c Changes to call OpenURI with new parameter set. 1999-11-10 07:27:25 +00:00
tbogard%aol.net
762e559ca9 Changed nsComponentManager::CreateInstance to use new nsCOMPtr do_CreateInstance. 1999-11-10 07:03:50 +00:00
nisheeth%netscape.com
ecf204e501 a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
tbogard%aol.net
de7aa0b6fd 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
4977cd5b19 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
5a8425b75d 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
02a0390b07 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
1052a2a5e8 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
142ac52eaf 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
5312eacf8c 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
716e6e11a8 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
a0e755871b 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
f051272c90 adding some keyword support back in 1999-11-02 07:18:44 +00:00
valeski%netscape.com
e52e34b4e3 putting www.*.com trick back in 1999-11-02 06:43:19 +00:00
valeski%netscape.com
4e76992f28 pulling non-qualified host-to-keyword server logic 1999-11-02 06:18:01 +00:00
valeski%netscape.com
00924492ac missed a case 1999-11-02 04:22:12 +00:00
valeski%netscape.com
13ec852729 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
c6f8854bd1 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
d0520f1d7f Remove the extra AddRef to nsHistoryLayoutState. r=pollmann, bug #16496 1999-11-01 21:47:54 +00:00
tbogard%aol.net
7cb48d6d87 Added some checks to verify calling of the nsIDocShellFile and nsIDocShellEdit functions. 1999-11-01 07:53:24 +00:00
tbogard%aol.net
71c2abe1fd Changed NS_ENSURE to be NS_ENSURE_TRUE. 1999-11-01 07:45:38 +00:00
tbogard%aol.net
5bbda4989a Added comment around frame stuff to explain lack of ref-counting. 1999-11-01 04:03:03 +00:00
tbogard%aol.net
e1d5196ed3 Implemented GetZoom and SetZoom. Removed some left over comment code. 1999-11-01 04:02:24 +00:00
tbogard%aol.net
0ded6e8646 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
a12c3d6c5d 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
1748f71059 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
03a2863cca 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
e668c8f56f Moved zoom attribute from nsIGenericWindow to nsIDocShell. Updated zoom documentation. 1999-10-30 00:52:57 +00:00
tbogard%aol.net
aba3d33e2a 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
09994c591d Changed a call to QueryInterface to use CallQueryInterface which helps with type checking. 1999-10-29 23:59:20 +00:00
buster%netscape.com
00bac5c8c3 more implementation
some nits to conform more to seamonkey coding conventions.
1999-10-29 18:25:57 +00:00
radha%netscape.com
7634ef385a Fix for form values not maintained while going forward. bug # 16377. r=law 1999-10-28 20:29:43 +00:00
tbogard%aol.net
97d7653cab 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
321adc8600 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
7f26c3bcd1 Changed nativeWindow* parentNativeWindow back to nativeWindow parentNativeWindow. 1999-10-28 00:45:13 +00:00
buster%netscape.com
2e8d063fb9 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
cdf38755d0 Boundary checking. 1999-10-27 02:44:01 +00:00
tbogard%aol.net
8b494159e4 A little more documentation. 1999-10-27 02:43:37 +00:00
tbogard%aol.net
fe65ab909c 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
f0735896d1 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
ebd0cb0ce6 Updated some of the documentation. 1999-10-26 22:54:26 +00:00
tbogard%aol.net
01e6506fdf 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
e8d5c19b42 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
6500b4006c Added basedocshell library to the list of bound libraries. 1999-10-26 01:45:11 +00:00
tbogard%aol.net
86ac1ef210 Created a base class library that will provide the shared docShell implmentation. 1999-10-26 01:44:00 +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
tbogard%aol.net
2118e8c467 Added build directory to build a DLL for various docShells. 1999-10-25 04:53:13 +00:00
tbogard%aol.net
9f4f54ad48 Clarified some documentation. 1999-10-25 04:51:59 +00:00
tbogard%aol.net
8edb6fbee3 Fixed a Caps problem. 1999-10-25 04:51:15 +00:00
tbogard%aol.net
593b5fae0b Framed out the nsHTMLDocShell implementation. Setup to build a library. 1999-10-25 04:50:22 +00:00
tbogard%aol.net
31cf8a2f51 Defined what nsCHTMLDocShell implements and included the appropriate header files. 1999-10-25 04:48:14 +00:00
tbogard%aol.net
53f735ac1f Just changed some comments and function ordering. 1999-10-23 07:51:45 +00:00
radha%netscape.com
9cf9ffe640 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
6d945faa29 Added nsCHTMLDocShell. 1999-10-22 02:27:42 +00:00
tbogard%aol.net
e95768fa04 Added a C++ include of nsIPresContext.h 1999-10-22 02:26:35 +00:00
tbogard%aol.net
ff0f3b8d47 Added changes from buster. 1999-10-21 06:59:48 +00:00
tbogard%aol.net
a49bcafd9d Added nsITextScroll.idl. 1999-10-21 06:41:03 +00:00
tbogard%aol.net
c19e5c9d73 More changes from buster. 1999-10-21 05:52:54 +00:00
tbogard%aol.net
ff65bd2c1d More additions suggested by buster. Not all final, still working out the interfaces. 1999-10-21 03:23:31 +00:00
tbogard%aol.net
c6bf813b2f More changes to the interface. Merging in changes from buster. 1999-10-21 03:01:33 +00:00
tbogard%aol.net
c649a9bdd9 Added new nsIDocShellContainer.idl to the build list. 1999-10-21 03:01:10 +00:00
tbogard%aol.net
c9189b1608 First Check-in. 1999-10-21 03:00:07 +00:00
tbogard%aol.net
e3261dc273 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
ef75c33b3c 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
8d24b5be4e Mail news regresion with replying to a message. r=mscott bug # 16550 1999-10-18 19:09:27 +00:00
tbogard%aol.net
268c8d73c5 Fixed a couple of typos. 1999-10-15 07:52:50 +00:00
tbogard%aol.net
187eb2ba35 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
575e116287 First landing. 1999-10-15 07:23:53 +00:00
radha%netscape.com
b3928cdd07 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
209816b7fe Argh... fix my last fix. 1999-10-13 12:16:08 +00:00
gagan%netscape.com
f488dd54a9 Fix build bustage on windows. 1999-10-13 11:50:14 +00:00
gagan%netscape.com
f1203c259d 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
c1ee066eb7 XPIDised session history. Corresponding changes to users of nsISessionHistory.
Bug # 15437. r=law
1999-10-12 04:37:43 +00:00
waterson%netscape.com
8241422540 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
7487a52273 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
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
mscott%netscape.com
c0a1bfafc4 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
73346ebf2d bug #15605. Reviewed by nisheeth. Check the return code from GoToAnchor(...) :-) 1999-10-06 05:15:13 +00:00
kipp%netscape.com
b2b1eab47b r=dp; Added in ctor/dtor counting 1999-10-05 14:53:20 +00:00
radha%netscape.com
98ab0bb7c2 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
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
ce0e9a63f0 r=dp; more leak tracking hooks added 1999-10-05 00:08:41 +00:00
mscott%netscape.com
7cec99d246 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
cdd8569e05 Fixed history state leak 1999-09-26 10:07:49 +00:00
nisheeth%netscape.com
38d524ab94 Use NSPR logging rather than printf's for stopwatch output. 1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
d0bb69aaaa 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
53bf6a9543 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
f15fddd967 fix bug 13946 1999-09-23 03:27:53 +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
vidur%netscape.com
979ab6a214 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
0dd1266ea1 chrome event stuff 1999-09-21 01:02:29 +00:00
vidur%netscape.com
46982161df 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
2c83b5f862 Clean up leaks 1999-09-20 21:09:16 +00:00
warren%netscape.com
88f126ca95 cleaned up nsWebShell's use of services 1999-09-20 20:53:31 +00:00
beard%netscape.com
04361a6b14 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
f7d252970b Further corrections in referrer propagation. 1999-09-17 06:54:58 +00:00
vidur%netscape.com
21477c4cd3 Document referrer propagation through webshell and docloader. 1999-09-17 04:26:02 +00:00
danm%netscape.com
7c7d8c7d8d 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
65c7799cdb fix 5974 by receiving parser command as optional argument 1999-09-16 14:15:16 +00:00
radha%netscape.com
9f00583602 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
a162f60fbe removed stream converter stuff from webshell 1999-09-15 17:46:56 +00:00
kipp%netscape.com
a5662fff6f Removed #ifdef NECKO noise 1999-09-15 00:23:40 +00:00
radha%netscape.com
30ae7065dc Pass OnStartDocumentLoad() notifications received for child frames up to the DocLoaderListeners 1999-09-14 21:49:21 +00:00
valeski%netscape.com
6a276ed201 added user agent language portion initialization 1999-09-13 18:38:02 +00:00
vidur%netscape.com
9749f2fcf0 Fixed memory leak related to UrlDispatcher 1999-09-11 02:25:59 +00:00
valeski%netscape.com
c6a7cf8cf3 adding FTP dir listing stream conv registration 1999-09-10 16:01:36 +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
vidur%netscape.com
0f91376aa8 Fixed leak in LoadURL 1999-09-09 14:52:07 +00:00
vidur%netscape.com
b325137126 Added nsIScriptContextOwner::ReportScriptError. 1999-09-08 23:16:49 +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
brendan%mozilla.org
a84076e44e Expand tabs to spaces per Emacs modeline; other space cleanups. 1999-09-06 22:59:11 +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
kipp%netscape.com
78bace2449 Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
beard%netscape.com
6cf9aae05b landed stream converter stuff on XP_MAC. 1999-09-01 21:50:55 +00:00
slamm%netscape.com
09d51b6c8b Add 'select all' 1999-09-01 20:14:02 +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
rickg%netscape.com
4dea02ede3 replaced call to deprecated method in nsString 1999-08-29 17:44:48 +00:00
valeski%netscape.com
dbe2768ae6 changed SUCCEEDED to NS_SUCCEEDED 1999-08-29 15:35:01 +00:00
valeski%netscape.com
53c1a87a7b 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
9515dd4321 Set title for the current entry in session history 1999-08-28 23:51:12 +00:00
scc%netscape.com
b7a6312362 export 1999-08-27 14:01:44 +00:00
scc%netscape.com
33fe68f9ed better make that member function public 1999-08-27 12:56:52 +00:00
scc%netscape.com
5a86efb7dd 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
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
troy%netscape.com
161acbaff9 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
25ea0ed397 Removed nsString object that was defined but never used 1999-08-23 01:15:57 +00:00
mccabe%netscape.com
a900e17559 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
74bc28bd69 Fix for I18N reload issue 1999-08-18 01:39:20 +00:00
dp%netscape.com
267d23573a gLogModule defined only inside of NS_DEBUG. Protecting access. 1999-08-17 01:28:58 +00:00
radha%netscape.com
71dd9b7ee4 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
ae834a75d9 open new windows from anchor links with proper chrome. fixes bug 9792. 1999-08-10 21:36:38 +00:00
vidur%netscape.com
e6f812551a changed name of NS_CreateContext to NS_CreateScriptContext 1999-08-09 19:14:49 +00:00
dcone%netscape.com
5648e95834 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
22cc3e20d1 Fixing build error on unix. 1999-08-09 00:26:02 +00:00
radha%netscape.com
7803e0b316 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
a3a21709ae 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
d56c2a024e Fix compiler warning. 1999-08-06 18:28:15 +00:00
morse%netscape.com
e3092f3888 cleaned up dialogs 1999-08-06 00:29:10 +00:00
waterson%netscape.com
7c47d57c84 Add global history. 1999-08-05 05:14:45 +00:00
valeski%netscape.com
567fee5488 moved to the higher level LoadURL() call to get more observer handling 1999-08-05 04:49:38 +00:00
valeski%netscape.com
0efb259cfa 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
f1c16eeb4f 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
5367ffe834 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
0edfda477b 10720 fix - we now do meta tag refreshes 1999-08-03 21:48:40 +00:00
mcafee%netscape.com
6da92dc13c 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
07dd1525ca Remove DEBUG_nisheeth protected code. 1999-08-03 00:00:50 +00:00
bienvenu%netscape.com
c36645bd43 back out fix for timing problem for Warren so OnEndLoadDocument will get called 1999-07-31 19:51:20 +00:00
warren%netscape.com
ec70a82de6 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
abb94bdcc3 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
4863d69146 Clean up of nsDocumentBindInfo::OnStopRequest. Debug error messages for necko failure. 1999-07-30 04:20:34 +00:00
nisheeth%netscape.com
5871849136 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
96b4208fe4 window creation changes 1999-07-27 04:27:17 +00:00
rickg%netscape.com
89911e8db8 replaced call to deprecated string API 1999-07-26 00:40:34 +00:00
nisheeth%netscape.com
a14ff6dcb2 Fix for bug 10028. We handle mixed case mailto urls properly now. 1999-07-22 22:34:28 +00:00
troy%netscape.com
9e34bfe2f7 Removed Repaint() call from OnEndDocumentLoad() 1999-07-21 04:48:21 +00:00
nisheeth%netscape.com
4b73654f45 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
84bd74a4fd 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
4065f6d487 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
c1fcc698aa Added a IsBusy() method. 1999-07-15 14:22:06 +00:00
ftang%netscape.com
f02ce2355d 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
a6747fa713 NECKO only: fix build bustage when doing a clobber build 1999-07-14 20:47:55 +00:00
rpotts%netscape.com
1df9ee3359 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
2ace78659d 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
36b3eb4b1d Fixing this god-damn hack. 1999-07-08 22:53:16 +00:00
hyatt%netscape.com
6561ffc3d8 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