333 Commits

Author SHA1 Message Date
michaelp%netscape.com
22e651792f we no longer tell the widgets to paint themselves as a result of
a resize operation.


git-svn-id: svn://10.0.0.236/trunk@16416 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:45:05 +00:00
kipp%netscape.com
b079346b21 Landed a patch from bobg@zanshin.com
git-svn-id: svn://10.0.0.236/trunk@16392 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 01:34:36 +00:00
kipp%netscape.com
264d8928b8 Implement new NewWebShell API
git-svn-id: svn://10.0.0.236/trunk@15957 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:39:48 +00:00
kipp%netscape.com
444a1435da Hide some noise; pass on Stop to content-viewer
git-svn-id: svn://10.0.0.236/trunk@15363 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:06:47 +00:00
michaelp%netscape.com
db5101c6cd fixed non-painting controls on certain resize operations in xpviewer.
git-svn-id: svn://10.0.0.236/trunk@15287 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:52:04 +00:00
vidur%netscape.com
097c7c3402 Partial fix for bug 1256. A script context should always be created for each new script global object.
git-svn-id: svn://10.0.0.236/trunk@15160 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 08:09:11 +00:00
troy%netscape.com
3cbfe7948e 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


git-svn-id: svn://10.0.0.236/trunk@15120 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 03:11:26 +00:00
vidur%netscape.com
19d3032d70 Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface.
git-svn-id: svn://10.0.0.236/trunk@14640 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 00:21:19 +00:00
rickg%netscape.com
208f37c790 enabled view-source
git-svn-id: svn://10.0.0.236/trunk@14454 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:31:45 +00:00
rods%netscape.com
0da80c4e85 Commented out the 3D border hint for the WebShell window.
git-svn-id: svn://10.0.0.236/trunk@14449 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:17:09 +00:00
rpotts%netscape.com
40ea51753a Pass the view command as the default for the webshell to the document loader...
git-svn-id: svn://10.0.0.236/trunk@14423 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 10:58:14 +00:00
karnaze%netscape.com
c723661f91 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.


git-svn-id: svn://10.0.0.236/trunk@14312 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:30:16 +00:00
joki%netscape.com
b7f7229b49 Adding focus passing method to nsIWebShellContainer
git-svn-id: svn://10.0.0.236/trunk@14181 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 01:30:07 +00:00
rods%netscape.com
b8f65f898c Made change for GetBounds to GetClientBounds conversion
git-svn-id: svn://10.0.0.236/trunk@14102 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:41:26 +00:00
rpotts%netscape.com
a15efa757c Moved the clipboard methods from nsIWebShell into a new interface called nsIClipboardCommands...
git-svn-id: svn://10.0.0.236/trunk@14071 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 08:48:22 +00:00
rpotts%netscape.com
a616b0c737 Added support of the nsInetsupport interface. The implementation simply calls out through the observer (if it supports nsInetSupport)
git-svn-id: svn://10.0.0.236/trunk@13963 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:03:22 +00:00
rods%netscape.com
afb0729ff5 Added an extra parameter to the Init to tell it whether it should have a sunken border
git-svn-id: svn://10.0.0.236/trunk@13919 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:19:08 +00:00
rods%netscape.com
6509224cb1 Added FindNext
git-svn-id: svn://10.0.0.236/trunk@13898 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:11:43 +00:00
vidur%netscape.com
1e98e9a663 Added GC method to script context
git-svn-id: svn://10.0.0.236/trunk@13514 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:22:59 +00:00
karnaze%netscape.com
cbef624550 bug 1136
git-svn-id: svn://10.0.0.236/trunk@13457 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 18:37:04 +00:00
rods%netscape.com
67620830db Added selection APIs
git-svn-id: svn://10.0.0.236/trunk@13401 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 20:47:57 +00:00
rpotts%netscape.com
46c68e910e Fixed build bustage...
git-svn-id: svn://10.0.0.236/trunk@13288 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 23:33:52 +00:00
rpotts%netscape.com
a551ed02ac Move the call to stop before firing the BeginLoadURL notification... This will keep the BeginLoad/EndLoad notifications paired correctly...
git-svn-id: svn://10.0.0.236/trunk@13118 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:41:50 +00:00
rpotts%netscape.com
1186f79958 Added support for the loading of background URLs...
git-svn-id: svn://10.0.0.236/trunk@12504 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:33:29 +00:00
rpotts%netscape.com
df9ec020e8 renamed docloader LoadURL to LoadDocument...
git-svn-id: svn://10.0.0.236/trunk@12414 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 05:50:29 +00:00
rpotts%netscape.com
4362b9b650 Fixed RefCounting bug where following links would decrement the WebShell ref count :-(
git-svn-id: svn://10.0.0.236/trunk@12187 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 12:15:48 +00:00
troy%netscape.com
3e2fc3f001 Changed throbber and web shell to not aggregate in the widget
git-svn-id: svn://10.0.0.236/trunk@12105 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:33:13 +00:00
joki%netscape.com
243c9f3a96 Don't look for new webshell during link clicks if no target specified
git-svn-id: svn://10.0.0.236/trunk@11819 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:56:52 +00:00
rpotts%netscape.com
c6827c6adb Added GetBrowserWindow() method and passed OnStatus and OnProgress messages out through the nsIBrowserWindow interface...
git-svn-id: svn://10.0.0.236/trunk@11782 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:44:56 +00:00
rpotts%netscape.com
600c7d04a4 Fire the EndLoadURL(...) notification after all of the URLs have been loaded by the doc loader...
git-svn-id: svn://10.0.0.236/trunk@11709 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:49:50 +00:00
michaelp%netscape.com
43810cc9dd we now defer plugin enumeration until we need to load one for real.
git-svn-id: svn://10.0.0.236/trunk@11579 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:59:03 +00:00
rpotts%netscape.com
f7730500f8 Reworked the way that refresh URLs are handled...
git-svn-id: svn://10.0.0.236/trunk@11105 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:25:21 +00:00
rpotts%netscape.com
1ff3503847 Made the nsISupports and nsIRefreshURL interfaces threadsafe...
git-svn-id: svn://10.0.0.236/trunk@10502 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:06:07 +00:00
joki%netscape.com
44d5557928 Adding targetting of any named window
git-svn-id: svn://10.0.0.236/trunk@10327 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 00:35:55 +00:00
troy%netscape.com
54d2e9932f Changed some AddRef/Release calls overto use XP-COM macros
git-svn-id: svn://10.0.0.236/trunk@10315 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 21:27:22 +00:00
valeski%netscape.com
893604c431 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.


git-svn-id: svn://10.0.0.236/trunk@10104 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:40:20 +00:00
joki%netscape.com
cc5aacfa27 More support for capturing, minor adjustments to window.open behavior.
git-svn-id: svn://10.0.0.236/trunk@10077 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:31:58 +00:00
michaelp%netscape.com
6adb1c959c fixes for new plugin world.
git-svn-id: svn://10.0.0.236/trunk@10034 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:46:05 +00:00
kipp%netscape.com
4a9593e1f6 Fixed log module name
git-svn-id: svn://10.0.0.236/trunk@10014 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:18:10 +00:00
joki%netscape.com
c5e8af16d8 Remove duplicate functionality of nsIBrowserWindow and nsIWebShellContainer.
git-svn-id: svn://10.0.0.236/trunk@9586 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 01:19:11 +00:00
kipp%netscape.com
1e5e004c86 Flush font cache before destroying device context to break circular links (ick)
git-svn-id: svn://10.0.0.236/trunk@9565 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:38:48 +00:00
warren%netscape.com
d623edaca1 Renamed NSRepository to nsRepository.
git-svn-id: svn://10.0.0.236/trunk@8922 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:26:28 +00:00
troy%netscape.com
9b42ea4cb1 Changed nsIDeviceContext interface to conform [more] with COM conventions
git-svn-id: svn://10.0.0.236/trunk@8597 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:05:03 +00:00
rpotts%netscape.com
c88eb2fd9c Fixed a crash when Destroy(...) was called without first calling Init(...)
git-svn-id: svn://10.0.0.236/trunk@8302 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 06:21:52 +00:00
vidur%netscape.com
74ab64f3f0 Added nsIDocumentLoadInfo interface. Temporarily added service startup inside WebShell factory.
git-svn-id: svn://10.0.0.236/trunk@8273 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:28:52 +00:00
rpotts%netscape.com
b142e0f478 moving changes in 1.36.2.1 onto the tip...
git-svn-id: svn://10.0.0.236/trunk@8248 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 06:17:47 +00:00
troy%netscape.com
3dd6745dd7 Changed web shell widget to NOT clip children
git-svn-id: svn://10.0.0.236/trunk@8213 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:13:00 +00:00
valeski%netscape.com
277cec0087 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.


git-svn-id: svn://10.0.0.236/trunk@8211 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:01:52 +00:00
michaelp%netscape.com
a59b85078e added support for opening new windows with _blank url targets.
git-svn-id: svn://10.0.0.236/trunk@8203 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:00:51 +00:00
valeski%netscape.com
b4eb4f5402 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).


git-svn-id: svn://10.0.0.236/trunk@8164 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 23:25:17 +00:00