520 Commits

Author SHA1 Message Date
scc%netscape.com
d91dbb787f 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
git-svn-id: svn://10.0.0.236/trunk@44816 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 12:32:20 +00:00
rpotts%netscape.com
c1eed107d9 M9 BRANCH landing...
git-svn-id: svn://10.0.0.236/trunk@44701 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 22:45:55 +00:00
troy%netscape.com
0ca4f8fd5a 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


git-svn-id: svn://10.0.0.236/trunk@44306 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:20:30 +00:00
troy%netscape.com
76ad73a855 Removed nsString object that was defined but never used
git-svn-id: svn://10.0.0.236/trunk@44104 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 01:15:57 +00:00
mccabe%netscape.com
afea99f4a0 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.


git-svn-id: svn://10.0.0.236/trunk@44096 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 23:52:07 +00:00
rhp%netscape.com
a5ac5580e4 Fix for I18N reload issue
git-svn-id: svn://10.0.0.236/trunk@43438 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 01:39:20 +00:00
dp%netscape.com
941e69bc5b gLogModule defined only inside of NS_DEBUG. Protecting access.
git-svn-id: svn://10.0.0.236/trunk@43387 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-17 01:28:58 +00:00
radha%netscape.com
de3576ba3e 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.


git-svn-id: svn://10.0.0.236/trunk@43383 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-17 00:29:09 +00:00
danm%netscape.com
ecc547c3ad open new windows from anchor links with proper chrome. fixes bug 9792.
git-svn-id: svn://10.0.0.236/trunk@43028 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 21:36:38 +00:00
vidur%netscape.com
212b213c9c changed name of NS_CreateContext to NS_CreateScriptContext
git-svn-id: svn://10.0.0.236/trunk@42780 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 19:14:49 +00:00
dcone%netscape.com
1b08eeea46 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


git-svn-id: svn://10.0.0.236/trunk@42752 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 14:30:32 +00:00
dp%netscape.com
f184d95c28 Fixing build error on unix.
git-svn-id: svn://10.0.0.236/trunk@42716 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 00:26:02 +00:00
radha%netscape.com
85b937b449 Use nsISessionHistory for all history needs. This change obsoletes
mHistory and mHistoryIndex. Shall physically remove these members
at a later date.


git-svn-id: svn://10.0.0.236/trunk@42714 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 00:03:12 +00:00
radha%netscape.com
3c68e438c8 Fix for bug 11307. comparison between char * and XPIDLCString causing Compilation
problem in few unix platforms.


git-svn-id: svn://10.0.0.236/trunk@42692 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 02:15:53 +00:00
waterson%netscape.com
b4714c5052 Fix compiler warning.
git-svn-id: svn://10.0.0.236/trunk@42486 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 18:28:15 +00:00
morse%netscape.com
992e91d2d9 cleaned up dialogs
git-svn-id: svn://10.0.0.236/trunk@42385 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 00:29:10 +00:00
waterson%netscape.com
fb7314f248 Add global history.
git-svn-id: svn://10.0.0.236/trunk@42280 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 05:14:45 +00:00
valeski%netscape.com
3adddf942c moved to the higher level LoadURL() call to get more observer handling
git-svn-id: svn://10.0.0.236/trunk@42270 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 04:49:38 +00:00
valeski%netscape.com
be8bf3fd76 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).


git-svn-id: svn://10.0.0.236/trunk@42245 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 01:28:30 +00:00
radha%netscape.com
48ad7d0565 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.


git-svn-id: svn://10.0.0.236/trunk@42222 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 22:46:49 +00:00
valeski%netscape.com
efafa0f582 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
git-svn-id: svn://10.0.0.236/trunk@42204 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:18:24 +00:00
valeski%netscape.com
245522302f 10720 fix - we now do meta tag refreshes
git-svn-id: svn://10.0.0.236/trunk@42028 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 21:48:40 +00:00
mcafee%netscape.com
7ff5fdfced Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
git-svn-id: svn://10.0.0.236/trunk@42013 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 20:51:41 +00:00
nisheeth%netscape.com
31b4cebdef Remove DEBUG_nisheeth protected code.
git-svn-id: svn://10.0.0.236/trunk@41886 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:00:50 +00:00
bienvenu%netscape.com
212e945773 back out fix for timing problem for Warren so OnEndLoadDocument will get called
git-svn-id: svn://10.0.0.236/trunk@41734 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 19:51:20 +00:00
warren%netscape.com
26b85b2d2e 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.
git-svn-id: svn://10.0.0.236/trunk@41688 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 06:33:50 +00:00
warren%netscape.com
98fd24485a Fixes for the 'timing' problem, where load time is reported incorrectly. Things seem to work now, except the very first load.
git-svn-id: svn://10.0.0.236/trunk@41588 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 07:50:35 +00:00
warren%netscape.com
35f51267b9 Clean up of nsDocumentBindInfo::OnStopRequest. Debug error messages for necko failure.
git-svn-id: svn://10.0.0.236/trunk@41584 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 04:20:34 +00:00
nisheeth%netscape.com
63d63ffe02 Fix for bug 4559 in the Necko builds. Earlier this code change was made in code that affected non-Necko builds.
git-svn-id: svn://10.0.0.236/trunk@41325 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 21:21:13 +00:00
pavlov%netscape.com
947d846be6 window creation changes
git-svn-id: svn://10.0.0.236/trunk@41241 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:27:17 +00:00
rickg%netscape.com
abb5292365 replaced call to deprecated string API
git-svn-id: svn://10.0.0.236/trunk@41076 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 00:40:34 +00:00
nisheeth%netscape.com
16aa5a29e7 Fix for bug 10028. We handle mixed case mailto urls properly now.
git-svn-id: svn://10.0.0.236/trunk@40723 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 22:34:28 +00:00
troy%netscape.com
83185c9b75 Removed Repaint() call from OnEndDocumentLoad()
git-svn-id: svn://10.0.0.236/trunk@40413 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 04:48:21 +00:00
nisheeth%netscape.com
4db2f3e951 Fix for bug 9255. We were not trimming leading and trailing whitespace from the url typed in the location bar. Now we do.
git-svn-id: svn://10.0.0.236/trunk@39778 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 22:45:38 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
nisheeth%netscape.com
4ad87d9e79 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.
git-svn-id: svn://10.0.0.236/trunk@39572 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 23:17:29 +00:00
dcone%netscape.com
7a807b9a02 Added a IsBusy() method.
git-svn-id: svn://10.0.0.236/trunk@39529 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 14:22:06 +00:00
ftang%netscape.com
e5c4a2eaca fix 3965. The default value of the Default Character Set will look at pref first now
git-svn-id: svn://10.0.0.236/trunk@39370 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 20:57:57 +00:00
andreas.otte%primus-online.de
33d70d717d NECKO only: fix build bustage when doing a clobber build
git-svn-id: svn://10.0.0.236/trunk@39368 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 20:47:55 +00:00
rpotts%netscape.com
6d2f5bae77 Removed call to NET_InitJSProtocol for NECKO only... This should help fix the build bustage when NECKO is defined.
git-svn-id: svn://10.0.0.236/trunk@39061 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 07:21:44 +00:00
nisheeth%netscape.com
a9bb76c49c 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.
git-svn-id: svn://10.0.0.236/trunk@38941 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 00:13:25 +00:00
hyatt%netscape.com
f7a9c876ed Fixing this god-damn hack.
git-svn-id: svn://10.0.0.236/trunk@38823 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 22:53:16 +00:00
hyatt%netscape.com
ab7a2f3b24 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.


git-svn-id: svn://10.0.0.236/trunk@38794 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 08:16:49 +00:00
nisheeth%netscape.com
1cf4247ddc Fix Necko build bustage.
git-svn-id: svn://10.0.0.236/trunk@38765 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 02:09:50 +00:00
nisheeth%netscape.com
784f48c63d 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.
git-svn-id: svn://10.0.0.236/trunk@38761 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 01:40:50 +00:00
waterson%netscape.com
dc426df1ce Fix necko build bustage.
git-svn-id: svn://10.0.0.236/trunk@38754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 01:23:56 +00:00
nisheeth%netscape.com
3f2168031d 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.
git-svn-id: svn://10.0.0.236/trunk@38681 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 10:47:35 +00:00
radha%netscape.com
cb6a8b17eb Pass mailto: urls to the Url Dispatcher
git-svn-id: svn://10.0.0.236/trunk@38334 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 23:40:15 +00:00
waterson%netscape.com
889cb11995 Fix Necko bustage.
git-svn-id: svn://10.0.0.236/trunk@38230 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 03:41:34 +00:00
nisheeth%netscape.com
2d8830a9c6 Fixed bug 3152. We no longer reload the document when the user goes back to a location on the currently loaded document.
git-svn-id: svn://10.0.0.236/trunk@38213 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 01:14:51 +00:00