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

392 Коммитов

Автор SHA1 Сообщение Дата
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 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
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 e1d5196ed3 Implemented GetZoom and SetZoom. Removed some left over comment code. 1999-11-01 04:02:24 +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 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 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 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 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 e95768fa04 Added a C++ include of nsIPresContext.h 1999-10-22 02:26:35 +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
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