661 Commits

Author SHA1 Message Date
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
hyatt%netscape.com
e14b01c876 Fix for a bug that doesn't seem to be assigned to me any more.
git-svn-id: svn://10.0.0.236/trunk@38023 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 08:05:52 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
pinkerton%netscape.com
19f8e2d3b8 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.
git-svn-id: svn://10.0.0.236/trunk@37587 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 00:07:41 +00:00
valeski%netscape.com
ba09080b75 NECKO - nsWebShell: we were getting a unichar string back from GetBuffer(); changed it to ToNewCString(). nsDocLoader: trying to get a regular url to load.
git-svn-id: svn://10.0.0.236/trunk@37478 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:48:35 +00:00
warren%netscape.com
2fd605cc6f Last of the necko ifdefs. Now we link with necko.
git-svn-id: svn://10.0.0.236/trunk@37169 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 10:35:57 +00:00
danm%netscape.com
faabf1b7f8 adding _content target
git-svn-id: svn://10.0.0.236/trunk@37074 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-27 00:35:21 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
radha%netscape.com
6d81a55490 Check for trailing slash in OnEndDocumentLoad() and update history entry accordingly
git-svn-id: svn://10.0.0.236/trunk@36110 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 22:17:14 +00:00
sfraser%netscape.com
10f8d0856d Muchos leak fixing. CreateNewTopLevel window returns an AddReffed window. You must release it. Also use nsCOMPtr in a couple of other places.
git-svn-id: svn://10.0.0.236/trunk@35928 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 22:06:35 +00:00