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

195 Коммитов

Автор SHA1 Сообщение Дата
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