Commit Graph

1462 Commits

Author SHA1 Message Date
rods@netscape.com
44cdb41e58 fix ref count bloat
Bug 123011 sr=hyatt
2002-02-01 20:12:35 +00:00
rods@netscape.com
5047c1117d 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson
2002-02-01 14:52:11 +00:00
jaggernaut@netscape.com
1ae145679c Just fixing some indents/whitespace, rs=mozbot 2002-02-01 00:45:58 +00:00
radha@netscape.com
418a722145 Changes related to wyciwyg protocol implementation. r=35340 r/sr by jst, nisheeth, darin 2002-01-31 19:45:01 +00:00
jst@netscape.com
74f7d6a45d Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-24 09:20:51 +00:00
danm@netscape.com
c273ff1136 set docshell current URI after creating a synchronous about:blank Frankendocument. bug 104361 r=brendan,jst 2002-01-24 03:38:53 +00:00
bzbarsky@mit.edu
8c9315d452 Make "Open in new Window" and "Open in new Tab" set referrer correctly.
Bug 48902, r=doron, sr=hyatt
2002-01-24 02:35:16 +00:00
bryner@netscape.com
56f32e9778 Part of fix for bug 91184, checked in on the 0.9.4 branch but forgot to check it in on the trunk. r=saari, sr=hyatt. 2002-01-24 01:17:04 +00:00
cathleen@netscape.com
73e0bc3ed7 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
darin@netscape.com
b03a48269b fixes bug 112564 "Cache-Control: no-cache should not affect back/forward
buttons" r=dougt, sr=brendan
2002-01-09 04:18:48 +00:00
darin@netscape.com
801ed3a998 backing out the part of the patch for bug 54349 that caused the leak
regression bug 118726.
2002-01-08 20:52:30 +00:00
locka@iol.ie
31e5638de0 Removed huge chunks of dead webshell and cleaned up a few references to it elsewhere in the code. b=113970 r=valeski@netscape.com sr=rpotts@netscape.com 2002-01-08 13:01:38 +00:00
darin@netscape.com
60793c9501 fixes bug 54349 "stylesheet do not load when in another HTTP auth realm (sometimes)"
patch=badami@netscape.com
r/sr=darin,rpotts
2002-01-08 05:18:08 +00:00
danm@netscape.com
ccddf122d0 implement/support nsIEmbeddingSiteWindow2 (and its blur method). bug 57841 r=bryner,rpotts 2002-01-05 02:22:45 +00:00
shanjian@netscape.com
a27effa4b8 #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
rjesup@wgate.com
33e3e06f9e Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
jaggernaut@netscape.com
0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
danm@netscape.com
e310d865af move focus unsuppression in SetupNewViewer until after the viewer has been initialized. also add an assertion should we ever again get into a lazy document creation infinite loop. bugs 106820, 110856. r=bryner,hyatt 2001-12-11 02:41:22 +00:00
attinasi@netscape.com
b631b4f643 Prevent crash when IFRAME is reframed during layout. bug=108105 r=dbaron sr=jst 2001-12-07 00:02:03 +00:00
alecf@netscape.com
7e762337b3 fix for bug 79707
code by ccarlen, sr=alecf, r=valeski
simple null-check so that embeddors don't have to implement nsIBrowserHistory
2001-12-04 01:42:01 +00:00
locka@iol.ie
7ea0d631a0 Add code to nullify pointers and do extra checks to catch docshell crashes most likely caused by bad weak references. b=67721 r=rpotts@netscape.com sr=mscott@netscape.com 2001-12-03 12:42:49 +00:00
rpotts@netscape.com
80eb156cb7 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
jst@netscape.com
551b74e49d nsDependentString(nsnull) is illegal and asserts. sr=rpotts@netscape.com 2001-11-28 06:09:40 +00:00
radha@netscape.com
7bf073a8e8 Fix for bug # 99638. r=darin sr=rpotts. Use nsIMultiPartChannel to access
htttpChannel that is part of a multipartChannel.
2001-11-27 23:14:15 +00:00
radha@netscape.com
54514c19fc Fix for bug # 106994. - Remove redundant code in nsDocShell to acquire handle to SH in the root docshell r=adamlock sr=rpotts 2001-11-20 20:14:02 +00:00
locka@iol.ie
9392d8be3a Restore old URI space trimming code to avoid potential regression. bug 110081 r=pchen@netscape.com sr=ben@netscape.com 2001-11-19 21:48:31 +00:00
locka@iol.ie
592bd7932f Fix for assertions happening on every new docshell. b=110685 r=brade@netscape.com sr=darin@netscape.com 2001-11-19 21:39:40 +00:00
alecf@netscape.com
1579b37b22 fix for bug 102043 - hide redirected URLs after adding them to global history
r=radha, sr=rpotts
2001-11-19 20:22:14 +00:00
timeless@mac.com
74848c768e Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
pchen@netscape.com
b078342ed4 bug 110081, patch=adamlock, r=pchen, sr=ben, harden docshell against empty URLs 2001-11-18 07:45:14 +00:00
danm@netscape.com
2a9cc04004 plug leak of docshell. bug 110410 code=dbaron r=jst,me 2001-11-17 05:19:10 +00:00
danm@netscape.com
59e32f6861 hook up CreateAboutBlankContentViewer. bug 88229 r=jst,rpotts 2001-11-16 02:15:31 +00:00
locka@iol.ie
3a44532832 Add error message when user tries to load a malformed url instead of silently ignoring it. b=89118 r=ccarlen@netscape.com sr=rpotts@netscape.com 2001-11-14 13:26:43 +00:00
darin@netscape.com
440637dc4a patch for bug 107789 "deprecate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts
2001-11-14 06:45:27 +00:00
bzbarsky@mit.edu
aa00eb2f47 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
radha@netscape.com
862e926e8b Fix for bug # 108041. Session history misbehaves when _top is replaced after a series of subframe navigations. r=adamlock sr=rpotts. 2001-11-06 23:56:45 +00:00
locka@iol.ie
d086a172a0 Add fixup for view-source: URLs. b=78810 r=bzbarsky@mit.edu sr=blizzard@mozilla.org 2001-11-06 22:55:30 +00:00
blizzard@redhat.com
d980e10228 back out darin's fix for bug #107789 since it caused blocker #108637. 2001-11-06 16:32:52 +00:00
darin@netscape.com
e5711f09a5 fixes bug 107789 "depracate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts
2001-11-06 02:50:42 +00:00
danm@netscape.com
e983afe124 initial (disabled) cut at creating about:blank documents synchronously. part of bug 88229 r=hyatt,rpotts 2001-11-06 01:24:39 +00:00
radha@netscape.com
1523a6bb00 Fix for bug # 103850. DocShell sets wrong cache key while loading pages with postdata. r=adamlock sr=darin
CVS: ----------------------------------------------------------------------
2001-11-01 22:21:31 +00:00
mkaply@us.ibm.com
f92177ca78 #88100
r=simon@softel.co.il, sr=blizzard
Hookup Bidi preferences
2001-11-01 05:40:35 +00:00
rpotts@netscape.com
b0fe97a538 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface... 2001-10-27 02:52:39 +00:00
radha@netscape.com
054c1ff02b Fix for bug # 103978. Problems with back/forward at cnn.com, mainly due to expired subframes and clicking back/forward fast. r=adamlock sr=rpotts 2001-10-26 19:04:11 +00:00
bryner@netscape.com
91e7d27adf Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
locka@iol.ie
fbbef8546f New NameEquals method on nsIDocShellTreeItem to reduce unnecessary strdup'ing as FindChildWithName walks through its children looking for a matching item. b=102576 r=radha@netscape.com sr=rpotts@netscape.com 2001-10-20 11:42:35 +00:00
radha@netscape.com
7d518c9f8f Fix for bug #101682. history.back() history.go(-1) misbehave on repeated usage and does notrestore scrollbar position. r=mcafee, sr=alecf 2001-10-19 21:28:57 +00:00
darin@netscape.com
e65927e787 fixes bug 104181 "SH should not store layout state if server sends Cache-control: no-cache"
r=radha, sr=rpotts
2001-10-13 01:03:59 +00:00
radha@netscape.com
e538d71059 Fox for bug 96230. Back button does not preserve scroll bar positions on local files and ftp directory listings. r=adamlock sr=darin. 2001-10-11 18:50:05 +00:00
dbaron@fas.harvard.edu
bdb22f32af Reduce construction of (expensive) nsAutoString objects at performance hotspots. r=jag sr=waterson b=102756 2001-10-10 05:00:36 +00:00