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

324 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com ab20f5e245 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
nisheeth%netscape.com ca7599a7f9 Changes not part of build. We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:33:14 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
mscott%netscape.com 6cd513ba43 Bug #12198 --> don't dereference a null ptr for the uri. return gracefully.
r=sspitzer
1999-10-07 23:29:13 +00:00
rpotts%netscape.com e198de00c6 bug #15605. Reviewed by nisheeth. Check the return code from GoToAnchor(...) :-) 1999-10-06 05:15:13 +00:00
kipp%netscape.com 4b1f6a17a6 r=dp; Added in ctor/dtor counting 1999-10-05 14:53:20 +00:00
radha%netscape.com 6b6a3fe8bf Fix for bug #13329 . Back and forward not consistent all the time.
Fix already checked in to the M10 branch. Merging changes to tip.
1999-10-05 04:49:58 +00:00
rpotts%netscape.com 248e31bd70 bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
kipp%netscape.com eccb08e095 r=dp; more leak tracking hooks added 1999-10-05 00:08:41 +00:00
mscott%netscape.com 03e702040e Bug #12198 --> bullet proof this code. return if we don't have a nsIURI instead of trying to dereference it. r=sspitzer 1999-09-28 22:11:26 +00:00
warren%netscape.com dacb3255d3 Fixed history state leak 1999-09-26 10:07:49 +00:00
nisheeth%netscape.com 0c537f8bad Use NSPR logging rather than printf's for stopwatch output. 1999-09-24 08:57:36 +00:00
nisheeth%netscape.com 23449e2072 a=chofmann. Add a stopwatch to measure total (layout+page load) time in the webshell. 1999-09-24 07:13:39 +00:00
briano%netscape.com 2f1c2fa6af Fixed for compilers that don't permit a comma at the end of an enum list. 1999-09-23 21:30:07 +00:00
ftang%netscape.com d1bb25d16d fix bug 13946 1999-09-23 03:27:53 +00:00
nisheeth%netscape.com d5b56cdcfa Changed the ifdef NS_DEBUG around webshell leak detection code to ifdef DETECT_WEBSHELL_LEAKS. 1999-09-22 01:24:20 +00:00
vidur%netscape.com f982113234 Changed nsIWebShell::GoTo to use LOAD_HISTORY as the load flag - going to the current entry shouldn't reload. 1999-09-21 05:27:35 +00:00
hyatt%netscape.com dca1ddfd11 chrome event stuff 1999-09-21 01:02:29 +00:00
vidur%netscape.com 2906fa4a19 webshell now gets its nsIPrompt reference from its container and not its observer. restored ftang's webshell change that i inadvertantly removed in a prior checkin. 1999-09-21 00:04:31 +00:00
radha%netscape.com 122b9b2728 Clean up leaks 1999-09-20 21:09:16 +00:00
warren%netscape.com 2b95eceabb cleaned up nsWebShell's use of services 1999-09-20 20:53:31 +00:00
beard%netscape.com dc0a1f0202 bug #6251: changed Repaint() method to call nsIViewManager::UpdateAllViews() to force a globa redraw. 1999-09-19 00:54:55 +00:00
vidur%netscape.com 580d892e67 Further corrections in referrer propagation. 1999-09-17 06:54:58 +00:00
vidur%netscape.com 384c09eb30 Document referrer propagation through webshell and docloader. 1999-09-17 04:26:02 +00:00
danm%netscape.com 1148b2e9d7 stop webshell embed if the the window in which to embed has been destroyed. fixes bug 14020 1999-09-16 23:35:05 +00:00
ftang%netscape.com d47ea310ea fix 5974 by receiving parser command as optional argument 1999-09-16 14:15:16 +00:00
radha%netscape.com d729a77d5e When invoking the mail composer upon on a click on a mailto: link, make
sure the to, cc, subject arguments are passed to the composer
1999-09-15 19:33:46 +00:00
valeski%netscape.com af333fd004 removed stream converter stuff from webshell 1999-09-15 17:46:56 +00:00
kipp%netscape.com 91849a778d Removed #ifdef NECKO noise 1999-09-15 00:23:40 +00:00
radha%netscape.com acf250aeb2 Pass OnStartDocumentLoad() notifications received for child frames up to the DocLoaderListeners 1999-09-14 21:49:21 +00:00
valeski%netscape.com 834019642a added user agent language portion initialization 1999-09-13 18:38:02 +00:00
vidur%netscape.com 7d32634780 Fixed memory leak related to UrlDispatcher 1999-09-11 02:25:59 +00:00
valeski%netscape.com 53287a21c9 adding FTP dir listing stream conv registration 1999-09-10 16:01:36 +00:00
vidur%netscape.com b7d78b67ae Fixed circular references. nsDocLoader now supports weak references to it. Init() method moves out of constructor. nsDocLoader now has Destroy() method to start breakdown process. 1999-09-09 23:53:55 +00:00
vidur%netscape.com 2cd7f1c13c Fixed leak in LoadURL 1999-09-09 14:52:07 +00:00
vidur%netscape.com 1d13b612cb Added nsIScriptContextOwner::ReportScriptError. 1999-09-08 23:16:49 +00:00
mscott%netscape.com c6c89ad305 Support LoadURI which is a new method on the webshell which takes a nsIURI. This is part of a webshell optimization
to cut down on the number of nsIURI objects which we currently create in order to run a url in the webshell.
1999-09-08 03:59:21 +00:00
brendan%mozilla.org d31330dd99 Expand tabs to spaces per Emacs modeline; other space cleanups. 1999-09-06 22:59:11 +00:00
danm%netscape.com fe1d16cc98 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
radha%netscape.com f7b8617d26 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 a99f5ec06a Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
beard%netscape.com 6d8c3af528 landed stream converter stuff on XP_MAC. 1999-09-01 21:50:55 +00:00
slamm%netscape.com f42f18844c Add 'select all' 1999-09-01 20:14:02 +00:00
nisheeth%netscape.com 6debf963be - 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 8506ab6296 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 60fd329e91 replaced call to deprecated method in nsString 1999-08-29 17:44:48 +00:00
valeski%netscape.com 8ce0e18880 changed SUCCEEDED to NS_SUCCEEDED 1999-08-29 15:35:01 +00:00
valeski%netscape.com bcadc45307 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 babe7b777c Set title for the current entry in session history 1999-08-28 23:51:12 +00:00
scc%netscape.com da04575fe1 export 1999-08-27 14:01:44 +00:00
scc%netscape.com bf90deca2c better make that member function public 1999-08-27 12:56:52 +00:00
scc%netscape.com 319f0b5a91 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 3ed5c99db2 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
troy%netscape.com 71ff39d1a3 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 4c669f0158 Removed nsString object that was defined but never used 1999-08-23 01:15:57 +00:00
mccabe%netscape.com 3d4917b628 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 81adbf65e2 Fix for I18N reload issue 1999-08-18 01:39:20 +00:00
dp%netscape.com 6a45339276 gLogModule defined only inside of NS_DEBUG. Protecting access. 1999-08-17 01:28:58 +00:00
radha%netscape.com 146a03ce48 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 8180c75a54 open new windows from anchor links with proper chrome. fixes bug 9792. 1999-08-10 21:36:38 +00:00
vidur%netscape.com 4876025852 changed name of NS_CreateContext to NS_CreateScriptContext 1999-08-09 19:14:49 +00:00
dcone%netscape.com 620e2cdf8b 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 5ba299bb04 Fixing build error on unix. 1999-08-09 00:26:02 +00:00
radha%netscape.com 835d5f7aed 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 64ba7298de 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 6f5ff98694 Fix compiler warning. 1999-08-06 18:28:15 +00:00
morse%netscape.com 05534f19dd cleaned up dialogs 1999-08-06 00:29:10 +00:00
waterson%netscape.com 6898ebf357 Add global history. 1999-08-05 05:14:45 +00:00
valeski%netscape.com 368ab627ee moved to the higher level LoadURL() call to get more observer handling 1999-08-05 04:49:38 +00:00
valeski%netscape.com 493ae6bd9e 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 de9e5e65d0 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 2336127fd1 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 0830bda705 10720 fix - we now do meta tag refreshes 1999-08-03 21:48:40 +00:00
mcafee%netscape.com 451c4afcee 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 db76351e26 Remove DEBUG_nisheeth protected code. 1999-08-03 00:00:50 +00:00
bienvenu%netscape.com 4defdd96f5 back out fix for timing problem for Warren so OnEndLoadDocument will get called 1999-07-31 19:51:20 +00:00
warren%netscape.com af95e38fc8 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 6b3a89d3bc 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 b21ffb563b Clean up of nsDocumentBindInfo::OnStopRequest. Debug error messages for necko failure. 1999-07-30 04:20:34 +00:00
nisheeth%netscape.com 90890a0c0d 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 8b8b9c3727 window creation changes 1999-07-27 04:27:17 +00:00
rickg%netscape.com 85d0902334 replaced call to deprecated string API 1999-07-26 00:40:34 +00:00
nisheeth%netscape.com 6053670fe6 Fix for bug 10028. We handle mixed case mailto urls properly now. 1999-07-22 22:34:28 +00:00
troy%netscape.com ace7880515 Removed Repaint() call from OnEndDocumentLoad() 1999-07-21 04:48:21 +00:00
nisheeth%netscape.com 9682a640d6 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 c5684bf4d7 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 a8266bada7 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 17e9b15e91 Added a IsBusy() method. 1999-07-15 14:22:06 +00:00
ftang%netscape.com df8cf877e4 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 d4fa1117ce NECKO only: fix build bustage when doing a clobber build 1999-07-14 20:47:55 +00:00
rpotts%netscape.com c4cb4be105 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 a26616b71d 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 4c33e430c7 Fixing this god-damn hack. 1999-07-08 22:53:16 +00:00
hyatt%netscape.com 2670e880fa 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 bab9878a2f Fix Necko build bustage. 1999-07-08 02:09:50 +00:00
nisheeth%netscape.com a688ade905 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 43f786f033 Fix necko build bustage. 1999-07-08 01:23:56 +00:00
nisheeth%netscape.com cc717c4aa5 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 7af21397c7 Pass mailto: urls to the Url Dispatcher 1999-07-04 23:40:15 +00:00