Commit Graph

228 Commits

Author SHA1 Message Date
nisheeth%netscape.com
7c3c3f7366 Fix for bug 9358. Page reloads were not working because the webshell was trying to scroll the document rather than loading it via netlib. Now, we are fine. Some work needs to happen in session history to pass in a newly define url reload type so that the webshell can be smart about scrolling the document for history traversal rather than loading via netlib. Will work with Radha to make the necessary session history changes. 1999-07-08 01:40:50 +00:00
waterson%netscape.com
7fe181791d Fix necko build bustage. 1999-07-08 01:23:56 +00:00
nisheeth%netscape.com
6f3aabd2a9 Fix for bug 1755. Separated out functionality of nsWebShell::Stop() into two methods, StopBeforeRequestingURL() and StopAfterURLAvailabl(). The former is called before sending a new url load request to the doc loader. The latter is called once the doc loader notifies the webshell via OnStartURLLoad() that the stream created from the URL is ready to be consumed. 1999-07-07 10:47:35 +00:00
radha%netscape.com
f4d1a3b534 Pass mailto: urls to the Url Dispatcher 1999-07-04 23:40:15 +00:00
waterson%netscape.com
7bc23e2689 Fix Necko bustage. 1999-07-03 03:41:34 +00:00
nisheeth%netscape.com
231552d03a Fixed bug 3152. We no longer reload the document when the user goes back to a location on the currently loaded document. 1999-07-03 01:14:51 +00:00
hyatt%netscape.com
94672686a6 Fix for a bug that doesn't seem to be assigned to me any more. 1999-07-02 08:05:52 +00:00
warren%netscape.com
bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
pinkerton%netscape.com
358bcc130a Changing CreatePopup to return the popup. Adding a bunch of stuff for tooltips to the popup code. Fixing some bugs in webshell with loading malformed popups. Renamed "popup" to "popupElement" in the document and added "tooltipElement" as well. 1999-07-01 00:07:41 +00:00
valeski%netscape.com
a084c15083 NECKO - nsWebShell: we were getting a unichar string back from GetBuffer(); changed it to ToNewCString(). nsDocLoader: trying to get a regular url to load. 1999-06-29 21:48:35 +00:00
warren%netscape.com
fbc735f510 Last of the necko ifdefs. Now we link with necko. 1999-06-28 10:35:57 +00:00
danm%netscape.com
e1ea10a32d adding _content target 1999-06-27 00:35:21 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
radha%netscape.com
92895f2297 Check for trailing slash in OnEndDocumentLoad() and update history entry accordingly 1999-06-21 22:17:14 +00:00
sfraser%netscape.com
f1cd6df086 Muchos leak fixing. CreateNewTopLevel window returns an AddReffed window. You must release it. Also use nsCOMPtr in a couple of other places. 1999-06-19 22:06:35 +00:00
sspitzer%netscape.com
4d5f8a6002 changes to add support for the "browser.startup.page" pref and the new
"browser.startup.splash" page pref.

all that's left is to get radha to add the code to get the last page visted.
1999-06-19 21:06:59 +00:00
valeski%netscape.com
e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
waterson%netscape.com
a24cd05fb9 Fix unintialized memory read. 1999-06-16 05:52:42 +00:00
sspitzer%netscape.com
5d3a23c418 fix build bustage. sending mail to rahda so she can back this out, if necessary 1999-06-16 01:50:17 +00:00
radha%netscape.com
f561d8a451 Fix the GetURL() bustage in windows 1999-06-16 01:02:19 +00:00
radha%netscape.com
c5d04389a5 More changes related to session History
A
A
A
1999-06-15 23:29:38 +00:00
radha%netscape.com
663ebc4df1 New methods for session history 1999-06-14 22:11:47 +00:00
hyatt%netscape.com
3c9cbf513e Altering the args for createPopup. 1999-06-09 08:36:06 +00:00
kmcclusk%netscape.com
88ad480647 Modified nsWebShell::GetLinkState to used a cached GlobalHistory service rather
than getting and releasing the service each time GetLinkState is called. Getting
the global history service shows up as a big hit during profiling because GetLinkState
gets called each time a link is encountered while resolving style contexts.
1999-06-07 21:26:10 +00:00
danm%netscape.com
5b77f19cc1 protect nsWebShell's destructor from being called recursively a little earlier in the destructor. fixes a crash (bug 7157). 1999-06-01 23:02:15 +00:00
ftang%netscape.com
7c548d5736 change the ReloadDocument implementation by using RefreshURL do avoid reentrance problem in libnet 1999-05-28 21:32:29 +00:00
nhotta%netscape.com
ff06f1799f Added force character set. 1999-05-28 01:31:55 +00:00
hyatt%netscape.com
22f73eb107 Web shells now know about their enclosed chrome shell. 1999-05-27 21:05:27 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
waterson%netscape.com
0fd45f02de Re-wrote to avoid use of NS_WITH_SERVICE macro; otherwise, we'll get annoying asserts in viewer. 1999-05-19 07:22:57 +00:00
ftang%netscape.com
5567ffe6ab add method to push necessary informaiton to implement Meta charset observeration 1999-05-19 00:23:03 +00:00
waterson%netscape.com
7f37138446 Enable link coloring. 1999-05-18 05:21:37 +00:00
waterson%netscape.com
db7a7cd3ee Initial revision as an XPFE component. 1999-05-17 22:36:17 +00:00
vidur%netscape.com
5979f5c1f1 Prevent onunloads from bubbling. 1999-05-17 22:14:16 +00:00
hyatt%netscape.com
da564cf9b7 Added an arg to createPopup. 1999-05-16 07:52:02 +00:00
hyatt%netscape.com
111a032848 Adding a method to the webshell container for creating popup/context menus. 1999-05-14 22:40:03 +00:00
joki%netscape.com
1ad14866a3 Adding unload event during window closing. 1999-05-13 23:51:25 +00:00
karnaze%netscape.com
377b424815 bug 6161 - don't reinitialize mMarginWidth, mMarginHeight on doc load. 1999-05-10 02:34:17 +00:00
kipp%netscape.com
e66be5ee7a Pass on SetRendering call to the content viewer if we have one 1999-05-07 19:25:58 +00:00
nisheeth%netscape.com
1c4142169f Implement LoadDocument(), a new method that is part of the nsIWebShellServices interface. 1999-05-07 00:21:57 +00:00
nisheeth%netscape.com
9030c63eb2 - 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
e2125bb76b - 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
18e8cf2a70 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
a6a8a9170d Changes to the APIS for webshellcontainers. 1999-05-04 23:34:10 +00:00
rickg%netscape.com
e320c2bafb update to nsString2 API 1999-05-04 06:38:37 +00:00
nisheeth%netscape.com
da356ccbae Fix for bug 5472. Approved by chofmann. Reviewed by Kipp. 1999-05-03 23:04:50 +00:00
pinkerton%netscape.com
1680448437 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
e0d247be0c Use DestroyChildren instead of ReleaseChildren when destroying a webshell 1999-04-30 00:09:52 +00:00
ftang%netscape.com
16f64c1f10 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
696fa5472d Passing in nsIDocumentLoader as a parameter to all functions in nsIDocumentLoaderObserver... 1999-04-28 06:47:40 +00:00
law%netscape.com
0fde647421 Remove reference to obsolete nsIURLListener 1999-04-28 01:40:01 +00:00
ftang%netscape.com
f92b8721bd set the default charset of nsWebShell to ISO-8859-1 1999-04-26 18:05:18 +00:00
rickg%netscape.com
f37212bffa updates to sync with nsString2 api 1999-04-22 00:05:59 +00:00
hyatt%netscape.com
7f8fb78632 window.open lives. 1999-04-20 22:35:11 +00:00
hyatt%netscape.com
085f789265 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
bdd9fd47e1 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
e6b90f3347 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
04b6780a88 added zooming front end. 1999-04-16 04:25:17 +00:00
davidm%netscape.com
66a58a43bb Remove #ifdef Mac code now that the mac uses the EventQueue Service 1999-04-12 22:49:38 +00:00
joki%netscape.com
4bece97409 New argument to nsIWebShellContainer::FocusAvailable method 1999-04-12 21:25:08 +00:00
karnaze%netscape.com
5c121e8bd6 bug 4643, webshells reset scrolling value to prior value on reloading doc 1999-04-09 21:09:00 +00:00
joki%netscape.com
56f3dc11a6 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
8fd0a4e421 File download; approved by chofmann 1999-04-08 04:21:15 +00:00
nisheeth%netscape.com
b48eb32ab9 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
711080a640 Webshell implements the new nsIDocumentLoaderObserver interface 1999-04-06 21:01:04 +00:00
joki%netscape.com
3ee2a13826 Adding unload event 1999-03-29 23:01:13 +00:00
rpotts%netscape.com
8eb73e4fce 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
e39e13cf18 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
a396c8feb7 add Set/GetDefaultCharacterSet to nsWebShell. Reviewed and approved by nisheeth 1999-03-22 22:21:22 +00:00
danm%netscape.com
493f3c64d9 plug leak in CheckForTrailingSlash. r:nisheeth 1999-03-22 21:53:58 +00:00
nisheeth%netscape.com
8256161ceb 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
58a7aafc0f Adding url listener support 1999-03-13 03:31:55 +00:00
michaelp%netscape.com
d4ba88584d fixed memory leak. 1999-03-11 05:45:52 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
beard%netscape.com
448fb5de76 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
0baca6512f Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
kipp%netscape.com
960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
troy%netscape.com
3060f3cea1 Fixed a bunch of "const" problems 1999-02-14 06:35:01 +00:00
troy%netscape.com
8525cc47d4 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
0ff08d7805 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
4ede2ec9d9 Corrected error in the use of CIIDs and IIDs 1999-02-04 00:03:18 +00:00
joki%netscape.com
785c19b2d1 Adding new history interface method onto webshell, removing enums types from linkhandler 1999-01-28 23:13:48 +00:00
rods%netscape.com
8759206a92 I uncommented out the progation of the EndLoadURL notification 1999-01-27 03:50:10 +00:00
amusil%netscape.com
350f11e0fa Fixing build bustage 1999-01-25 12:18:51 +00:00
troy%netscape.com
6810e3ae38 Fixed a memory leak of the web shell in LoadURL() 1999-01-23 04:16:18 +00:00
radha%netscape.com
00e422d147 gWebShell_UnixEventQueue is gone. Use the Event queue service instead 1999-01-23 00:52:01 +00:00
karnaze%netscape.com
44d24e235a added GetIsFrame, SetIsFrame to distinguish <frame> documents 1999-01-19 23:14:31 +00:00
karnaze%netscape.com
d29710743f <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
7dd5ee5f53 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
c62636aecb Added support for GetContainer()/SetContainer(). Added the OnStartURLLoad() notification to the DocumentLoadObserver... 1999-01-14 06:44:23 +00:00
kipp%netscape.com
5ca010bd96 Added in code from bug #1935 to improve auto-protocol handling on urls 1999-01-09 02:00:42 +00:00
rpotts%netscape.com
2b7c69f19b 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
4ac04e8dae Use the EventQueueService to get the event queue for the UI thread... 1999-01-05 09:46:33 +00:00
davidm%netscape.com
6b8a3d666d 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
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
michaelp%netscape.com
18a7ed72a7 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
831535719e Landed a patch from bobg@zanshin.com 1998-12-15 01:34:36 +00:00
kipp%netscape.com
8aff77b70d Implement new NewWebShell API 1998-12-08 02:39:48 +00:00
kipp%netscape.com
394ccd6829 Hide some noise; pass on Stop to content-viewer 1998-11-26 18:06:47 +00:00
michaelp%netscape.com
e943cafaea fixed non-painting controls on certain resize operations in xpviewer. 1998-11-25 02:52:04 +00:00