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

3047 Коммитов

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