Commit Graph

259 Commits

Author SHA1 Message Date
rpotts@netscape.com
5fb05da198 renamed docloader LoadURL to LoadDocument... 1998-10-09 05:50:29 +00:00
rpotts@netscape.com
545aeee04e Fixed RefCounting bug where following links would decrement the WebShell ref count :-( 1998-10-07 12:15:48 +00:00
troy@netscape.com
dd28bf5cc8 Changed throbber and web shell to not aggregate in the widget 1998-10-06 22:33:13 +00:00
joki@netscape.com
6231a14219 Don't look for new webshell during link clicks if no target specified 1998-10-02 22:56:52 +00:00
rpotts@netscape.com
ff4bf169a4 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
d94afd863c 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
5237eead89 we now defer plugin enumeration until we need to load one for real. 1998-09-30 18:59:03 +00:00
rpotts@netscape.com
bae4afe889 Reworked the way that refresh URLs are handled... 1998-09-25 22:25:21 +00:00
rpotts@netscape.com
3fb8e0f15d Made the nsISupports and nsIRefreshURL interfaces threadsafe... 1998-09-19 07:06:07 +00:00
joki@netscape.com
c50146fb72 Adding targetting of any named window 1998-09-18 00:35:55 +00:00
troy@netscape.com
aa5489f08e Changed some AddRef/Release calls overto use XP-COM macros 1998-09-17 21:27:22 +00:00
valeski@netscape.com
c49b8e6ab0 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
7d5bbac587 More support for capturing, minor adjustments to window.open behavior. 1998-09-15 21:31:58 +00:00
michaelp@netscape.com
3aa9d6e92d fixes for new plugin world. 1998-09-15 03:46:05 +00:00
kipp@netscape.com
a549862071 Fixed log module name 1998-09-15 00:18:10 +00:00
joki@netscape.com
780f8168fe Remove duplicate functionality of nsIBrowserWindow and nsIWebShellContainer. 1998-09-09 01:19:11 +00:00
kipp@netscape.com
cedde4e311 Flush font cache before destroying device context to break circular links (ick) 1998-09-08 22:38:48 +00:00
warren@netscape.com
10ebd4b998 Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
troy@netscape.com
b8b4950beb Changed nsIDeviceContext interface to conform [more] with COM conventions 1998-08-27 05:05:03 +00:00
rpotts@netscape.com
b62afd58cf Fixed a crash when Destroy(...) was called without first calling Init(...) 1998-08-21 06:21:52 +00:00
vidur@netscape.com
2820aac07d Added nsIDocumentLoadInfo interface. Temporarily added service startup inside WebShell factory. 1998-08-20 22:28:52 +00:00
rpotts@netscape.com
0e13489bd3 moving changes in 1.36.2.1 onto the tip... 1998-08-20 06:17:47 +00:00
troy@netscape.com
7592296cbf Changed web shell widget to NOT clip children 1998-08-19 23:13:00 +00:00
valeski@netscape.com
0572a6f8df 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
b078b142f5 added support for opening new windows with _blank url targets. 1998-08-19 21:00:51 +00:00
valeski@netscape.com
84bad635c1 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
58fb78605b Checked in api changes and some other small changes from the branch. 1998-08-14 23:08:54 +00:00
valeski@netscape.com
a339cacd4f 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
696224e603 Implemented Reload() on nsIWebShell 1998-08-13 04:49:16 +00:00
vidur@netscape.com
9754be217e Added modifyHistory option to LoadURL. 1998-08-13 04:36:42 +00:00
michaelp@netscape.com
ae2fc6043b with -np plugins will no longer be initialized due to frames. 1998-08-12 22:06:00 +00:00
kmcclusk@netscape.com
5a440f623c Added unix support for PR_ProcessPendingEvents. 1998-08-12 19:54:39 +00:00
joki@netscape.com
4844c8d6dd 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
ca49b0256f Fix possible addref on null pointer 1998-08-10 01:30:29 +00:00
karnaze@netscape.com
ea448c22b5 added GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight to web widget, frameset codes calls it. 1998-08-10 01:01:27 +00:00
valeski@netscape.com
87b63fdcf7 moved http:// assumption code into nsWebShell.cpp from nsBrowserWindow.cpp 1998-08-09 21:22:18 +00:00
joki@netscape.com
9dd5b658ad Partial fix for frame based and general memory leaks of webshells and prescontexts 1998-08-09 07:43:22 +00:00
joki@netscape.com
725e43b7d3 Adding window.open method, fixing editormode in release builds, various event fixes 1998-08-07 04:45:03 +00:00
michaelp@netscape.com
49b21989d2 changes for plugins. 1998-08-05 04:23:21 +00:00
michaelp@netscape.com
74c943b5e9 tiny change to see if the unix build will come back to life. 1998-08-01 22:19:05 +00:00
rpotts@netscape.com
86328b2a3e Added check to see if DocLoader exists before dereferencing the pointer... 1998-08-01 06:45:43 +00:00
michaelp@netscape.com
6e0d83b0ac turned on plugins. 1998-08-01 05:47:34 +00:00
peterl@netscape.com
0b93b8702d connected prefs 1998-07-31 06:02:06 +00:00
kipp@netscape.com
e8b5c8b51a Make gamma 1.0 1998-07-30 16:07:18 +00:00
rpotts@netscape.com
296772b3fa 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
ab12912698 hooked up the plugin manager to the webshell. 1998-07-27 23:08:52 +00:00
kostello@netscape.com
16939fee8d Implemented DoCopy to put HTML on the pasteboard
Added Dialog for DoDebugSave
1998-07-27 18:17:07 +00:00
karnaze@netscape.com
73c151fd7a more robust frameset layout; <frame>, <iframe> borders; reenabled scrolling attr for <iframe> 1998-07-27 05:59:37 +00:00
joki@netscape.com
028d254b4b 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
3c63bfe793 Get rid of those unix warnings... 1998-07-24 21:03:33 +00:00