272 Commits

Author SHA1 Message Date
waterson%netscape.com
e20da712ec 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
git-svn-id: svn://10.0.0.236/trunk@50413 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:10:08 +00:00
nisheeth%netscape.com
932343b896 Changes not part of build. We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
git-svn-id: svn://10.0.0.236/trunk@50371 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:33:14 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
mscott%netscape.com
53ff6e3994 Bug #12198 --> don't dereference a null ptr for the uri. return gracefully.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50167 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:29:13 +00:00
rpotts%netscape.com
c0d2a0e2f2 bug #15605. Reviewed by nisheeth. Check the return code from GoToAnchor(...) :-)
git-svn-id: svn://10.0.0.236/trunk@49954 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 05:15:13 +00:00
kipp%netscape.com
bcb12509a4 r=dp; Added in ctor/dtor counting
git-svn-id: svn://10.0.0.236/trunk@49838 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:53:20 +00:00
radha%netscape.com
ac0f716288 Fix for bug #13329 . Back and forward not consistent all the time.
Fix already checked in to the M10 branch. Merging changes to tip.


git-svn-id: svn://10.0.0.236/trunk@49804 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:49:58 +00:00
rpotts%netscape.com
fa598b6cae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer.
git-svn-id: svn://10.0.0.236/trunk@49795 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:04:16 +00:00
kipp%netscape.com
c9603305c7 r=dp; more leak tracking hooks added
git-svn-id: svn://10.0.0.236/trunk@49758 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 00:08:41 +00:00
mscott%netscape.com
82ff521b2b Bug #12198 --> bullet proof this code. return if we don't have a nsIURI instead of trying to dereference it. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@49248 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 22:11:26 +00:00
warren%netscape.com
ae8cbc1bba Fixed history state leak
git-svn-id: svn://10.0.0.236/trunk@49096 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 10:07:49 +00:00
nisheeth%netscape.com
351d8f1643 Use NSPR logging rather than printf's for stopwatch output.
git-svn-id: svn://10.0.0.236/trunk@48975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
afade16145 a=chofmann. Add a stopwatch to measure total (layout+page load) time in the webshell.
git-svn-id: svn://10.0.0.236/trunk@48970 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 07:13:39 +00:00
briano%netscape.com
0b97797e2f Fixed for compilers that don't permit a comma at the end of an enum list.
git-svn-id: svn://10.0.0.236/trunk@48923 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 21:30:07 +00:00
ftang%netscape.com
f1cf169ff9 fix bug 13946
git-svn-id: svn://10.0.0.236/trunk@48892 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 03:27:53 +00:00
nisheeth%netscape.com
bc496bb171 Changed the ifdef NS_DEBUG around webshell leak detection code to ifdef DETECT_WEBSHELL_LEAKS.
git-svn-id: svn://10.0.0.236/trunk@48718 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 01:24:20 +00:00
vidur%netscape.com
4434fdcd2f Changed nsIWebShell::GoTo to use LOAD_HISTORY as the load flag - going to the current entry shouldn't reload.
git-svn-id: svn://10.0.0.236/trunk@48510 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 05:27:35 +00:00
hyatt%netscape.com
bd258f4733 chrome event stuff
git-svn-id: svn://10.0.0.236/trunk@48457 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:02:29 +00:00
vidur%netscape.com
c1674aa040 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.
git-svn-id: svn://10.0.0.236/trunk@48425 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:04:31 +00:00
radha%netscape.com
fc0491b1d8 Clean up leaks
git-svn-id: svn://10.0.0.236/trunk@48394 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:09:16 +00:00
warren%netscape.com
748d779af5 cleaned up nsWebShell's use of services
git-svn-id: svn://10.0.0.236/trunk@48367 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:53:31 +00:00
beard%netscape.com
b25344ebc6 bug #6251: changed Repaint() method to call nsIViewManager::UpdateAllViews() to force a globa redraw.
git-svn-id: svn://10.0.0.236/trunk@48232 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 00:54:55 +00:00
vidur%netscape.com
4c4a30ec42 Further corrections in referrer propagation.
git-svn-id: svn://10.0.0.236/trunk@47937 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 06:54:58 +00:00
vidur%netscape.com
dabd4470bb Document referrer propagation through webshell and docloader.
git-svn-id: svn://10.0.0.236/trunk@47912 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 04:26:02 +00:00
danm%netscape.com
39eeb173fc stop webshell embed if the the window in which to embed has been destroyed. fixes bug 14020
git-svn-id: svn://10.0.0.236/trunk@47865 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 23:35:05 +00:00
ftang%netscape.com
2d27ae2d49 fix 5974 by receiving parser command as optional argument
git-svn-id: svn://10.0.0.236/trunk@47784 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 14:15:16 +00:00
radha%netscape.com
baa9474b17 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


git-svn-id: svn://10.0.0.236/trunk@47620 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 19:33:46 +00:00
valeski%netscape.com
be23442d7e removed stream converter stuff from webshell
git-svn-id: svn://10.0.0.236/trunk@47591 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 17:46:56 +00:00
kipp%netscape.com
47a7b8ae3f Removed #ifdef NECKO noise
git-svn-id: svn://10.0.0.236/trunk@47469 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:23:40 +00:00
radha%netscape.com
a58c66a9c2 Pass OnStartDocumentLoad() notifications received for child frames up to the DocLoaderListeners
git-svn-id: svn://10.0.0.236/trunk@47404 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 21:49:21 +00:00
valeski%netscape.com
19d94da982 added user agent language portion initialization
git-svn-id: svn://10.0.0.236/trunk@47138 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 18:38:02 +00:00
vidur%netscape.com
a2c1afec2a Fixed memory leak related to UrlDispatcher
git-svn-id: svn://10.0.0.236/trunk@46923 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 02:25:59 +00:00
valeski%netscape.com
c11c92205e adding FTP dir listing stream conv registration
git-svn-id: svn://10.0.0.236/trunk@46779 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 16:01:36 +00:00
vidur%netscape.com
5a35be98ad 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.
git-svn-id: svn://10.0.0.236/trunk@46655 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 23:53:55 +00:00
vidur%netscape.com
6383215839 Fixed leak in LoadURL
git-svn-id: svn://10.0.0.236/trunk@46571 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 14:52:07 +00:00
vidur%netscape.com
3f45ba68ae Added nsIScriptContextOwner::ReportScriptError.
git-svn-id: svn://10.0.0.236/trunk@46439 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 23:16:49 +00:00
mscott%netscape.com
4dd35ce8ac 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.


git-svn-id: svn://10.0.0.236/trunk@46294 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:59:21 +00:00
brendan%mozilla.org
69185ecae9 Expand tabs to spaces per Emacs modeline; other space cleanups.
git-svn-id: svn://10.0.0.236/trunk@46138 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 22:59:11 +00:00
danm%netscape.com
ca4da0e009 implemented intrinsic sizing method on DOM Window
git-svn-id: svn://10.0.0.236/trunk@45954 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:41:56 +00:00
radha%netscape.com
8bb87d2184 Hook up session history with the history state object.
Let LoadURL() accept a historystate as an argument


git-svn-id: svn://10.0.0.236/trunk@45753 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:39:01 +00:00
kipp%netscape.com
4b348cc604 Use nsAutoString instead of nsString for temps
git-svn-id: svn://10.0.0.236/trunk@45699 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:13:07 +00:00
beard%netscape.com
7f050dc63c landed stream converter stuff on XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@45533 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:50:55 +00:00
slamm%netscape.com
47dbabc307 Add 'select all'
git-svn-id: svn://10.0.0.236/trunk@45491 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:14:02 +00:00
nisheeth%netscape.com
b1122815d6 - 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.
git-svn-id: svn://10.0.0.236/trunk@45352 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:49:21 +00:00
nisheeth%netscape.com
4c052abfbd Added a GetHistoryState method to be use by session history to ask layout for
the current document's state.


git-svn-id: svn://10.0.0.236/trunk@45215 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:45:46 +00:00
rickg%netscape.com
da713e88f4 replaced call to deprecated method in nsString
git-svn-id: svn://10.0.0.236/trunk@45069 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 17:44:48 +00:00
valeski%netscape.com
5b8d8b8a52 changed SUCCEEDED to NS_SUCCEEDED
git-svn-id: svn://10.0.0.236/trunk@45049 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 15:35:01 +00:00
valeski%netscape.com
09be5128d6 added stream converter functionality to the doc loader. also initialize/register the multipartmixedreplace stream converter in the webshell
git-svn-id: svn://10.0.0.236/trunk@45046 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 14:31:08 +00:00
radha%netscape.com
316e3a56e9 Set title for the current entry in session history
git-svn-id: svn://10.0.0.236/trunk@45019 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 23:51:12 +00:00