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

285 Коммитов

Автор SHA1 Сообщение Дата
danm%netscape.com e68f60f671 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
radha%netscape.com dd092fdc48 Hook up session history with the history state object.
Let LoadURL() accept a historystate as an argument
1999-09-02 21:39:01 +00:00
kipp%netscape.com 78bace2449 Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
beard%netscape.com 6cf9aae05b landed stream converter stuff on XP_MAC. 1999-09-01 21:50:55 +00:00
slamm%netscape.com 09d51b6c8b Add 'select all' 1999-09-01 20:14:02 +00:00
nisheeth%netscape.com 7cd59d0ec7 - Added a setter for history state to nsIWebShell. The history state should be set before loading a document on which state needs to be restored. If the history state is set, the webshell will set that history state on the pres shell inside nsWebShell::Embed() once the document viewer has been created. 1999-08-31 14:49:21 +00:00
nisheeth%netscape.com 9a163fb67f Added a GetHistoryState method to be use by session history to ask layout for
the current document's state.
1999-08-30 22:45:46 +00:00
rickg%netscape.com 4dea02ede3 replaced call to deprecated method in nsString 1999-08-29 17:44:48 +00:00
valeski%netscape.com dbe2768ae6 changed SUCCEEDED to NS_SUCCEEDED 1999-08-29 15:35:01 +00:00
valeski%netscape.com 53c1a87a7b added stream converter functionality to the doc loader. also initialize/register the multipartmixedreplace stream converter in the webshell 1999-08-29 14:31:08 +00:00
radha%netscape.com 9515dd4321 Set title for the current entry in session history 1999-08-28 23:51:12 +00:00
scc%netscape.com b7a6312362 export 1999-08-27 14:01:44 +00:00
scc%netscape.com 33fe68f9ed better make that member function public 1999-08-27 12:56:52 +00:00
scc%netscape.com 5a86efb7dd all changes are NS_DEBUG only. added a private static member variable to count outstanding webshells; code in constructor and destructor to do the counting; a static member function to retrieve the value; and a global function that calls that 1999-08-27 12:32:20 +00:00
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
troy%netscape.com 161acbaff9 Changed GetLinkState() to remember that it failed to load the global
history service and that way it won't repeatedly try and fail. That was
causing performance problems for viewer
1999-08-24 18:20:30 +00:00
troy%netscape.com 25ea0ed397 Removed nsString object that was defined but never used 1999-08-23 01:15:57 +00:00
mccabe%netscape.com a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
rhp%netscape.com 74bc28bd69 Fix for I18N reload issue 1999-08-18 01:39:20 +00:00
dp%netscape.com 267d23573a gLogModule defined only inside of NS_DEBUG. Protecting access. 1999-08-17 01:28:58 +00:00
radha%netscape.com 71dd9b7ee4 Fix for bug 11877. Kin and ftang reviewed the code. dp approved it. Put back the old
history code in webshell since it breaks viewer.
1999-08-17 00:29:09 +00:00
danm%netscape.com ae834a75d9 open new windows from anchor links with proper chrome. fixes bug 9792. 1999-08-10 21:36:38 +00:00
vidur%netscape.com e6f812551a changed name of NS_CreateContext to NS_CreateScriptContext 1999-08-09 19:14:49 +00:00
dcone%netscape.com 5648e95834 took out the assert for mWindow as null, and put in support that
allows the webshell to run with a null mWindow-- needed for printing frames
1999-08-09 14:30:32 +00:00
dp%netscape.com 22cc3e20d1 Fixing build error on unix. 1999-08-09 00:26:02 +00:00
radha%netscape.com 7803e0b316 Use nsISessionHistory for all history needs. This change obsoletes
mHistory and mHistoryIndex. Shall physically remove these members
at a later date.
1999-08-09 00:03:12 +00:00
radha%netscape.com a3a21709ae Fix for bug 11307. comparison between char * and XPIDLCString causing Compilation
problem in few unix platforms.
1999-08-08 02:15:53 +00:00
waterson%netscape.com d56c2a024e Fix compiler warning. 1999-08-06 18:28:15 +00:00
morse%netscape.com e3092f3888 cleaned up dialogs 1999-08-06 00:29:10 +00:00
waterson%netscape.com 7c47d57c84 Add global history. 1999-08-05 05:14:45 +00:00
valeski%netscape.com 567fee5488 moved to the higher level LoadURL() call to get more observer handling 1999-08-05 04:49:38 +00:00
valeski%netscape.com 0efb259cfa api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:28:30 +00:00
radha%netscape.com f1c16eeb4f Don't load a page thro' necko when going to a anchor with in the same page or going
back from an anchor to the top of the page. Modify
EqualBaseURL() so that it will do the right thing.
1999-08-04 22:46:49 +00:00
valeski%netscape.com 5367ffe834 added new url munging code. we now take a swing at the urlbar string w/ the uri parsing code first, then fallback to munging if we have to 1999-08-04 21:18:24 +00:00
valeski%netscape.com 0edfda477b 10720 fix - we now do meta tag refreshes 1999-08-03 21:48:40 +00:00
mcafee%netscape.com 6da92dc13c Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
nisheeth%netscape.com 07dd1525ca Remove DEBUG_nisheeth protected code. 1999-08-03 00:00:50 +00:00
bienvenu%netscape.com c36645bd43 back out fix for timing problem for Warren so OnEndLoadDocument will get called 1999-07-31 19:51:20 +00:00
warren%netscape.com ec70a82de6 Reverted yesterday's change to solve the timing/perf measurement problem. Now I think the main problem was caused by the fact that redirects weren't getting inserted into the group, causing the load to terminate prematurely. That's now solved in the http protocol code. 1999-07-31 06:33:50 +00:00
warren%netscape.com abb94bdcc3 Fixes for the 'timing' problem, where load time is reported incorrectly. Things seem to work now, except the very first load. 1999-07-30 07:50:35 +00:00
warren%netscape.com 4863d69146 Clean up of nsDocumentBindInfo::OnStopRequest. Debug error messages for necko failure. 1999-07-30 04:20:34 +00:00
nisheeth%netscape.com 5871849136 Fix for bug 4559 in the Necko builds. Earlier this code change was made in code that affected non-Necko builds. 1999-07-27 21:21:13 +00:00
pavlov%netscape.com 96b4208fe4 window creation changes 1999-07-27 04:27:17 +00:00
rickg%netscape.com 89911e8db8 replaced call to deprecated string API 1999-07-26 00:40:34 +00:00
nisheeth%netscape.com a14ff6dcb2 Fix for bug 10028. We handle mixed case mailto urls properly now. 1999-07-22 22:34:28 +00:00
troy%netscape.com 9e34bfe2f7 Removed Repaint() call from OnEndDocumentLoad() 1999-07-21 04:48:21 +00:00
nisheeth%netscape.com 4b73654f45 Fix for bug 9255. We were not trimming leading and trailing whitespace from the url typed in the location bar. Now we do. 1999-07-16 22:45:38 +00:00
warren%netscape.com 84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
nisheeth%netscape.com 4065f6d487 Fix for bug 4559. We would scroll the document to the named anchor target when a named anchor was clicked even when form data needed to get submitted. Now, we go ahead and submit the form data. 1999-07-15 23:17:29 +00:00
dcone%netscape.com c1fcc698aa Added a IsBusy() method. 1999-07-15 14:22:06 +00:00
ftang%netscape.com f02ce2355d fix 3965. The default value of the Default Character Set will look at pref first now 1999-07-14 20:57:57 +00:00
andreas.otte%primus-online.de a6747fa713 NECKO only: fix build bustage when doing a clobber build 1999-07-14 20:47:55 +00:00
rpotts%netscape.com 1df9ee3359 Removed call to NET_InitJSProtocol for NECKO only... This should help fix the build bustage when NECKO is defined. 1999-07-13 07:21:44 +00:00
nisheeth%netscape.com 2ace78659d Fix for bug 9387. Reviewed by vidur. Approved by chofmann. NS_NewURL's return value is checked for error in DoLoadURL(). We no longer crash when mailto links are clicked. 1999-07-10 00:13:25 +00:00
hyatt%netscape.com 36b3eb4b1d Fixing this god-damn hack. 1999-07-08 22:53:16 +00:00
hyatt%netscape.com 6561ffc3d8 Fixes for repainting problems. This is probably the wrong thing to do, but
dammit, it works.  Making all webshells repaint when their document gets
loaded.
1999-07-08 08:16:49 +00:00
nisheeth%netscape.com 843d74733d Fix Necko build bustage. 1999-07-08 02:09:50 +00:00
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