463 Commits

Author SHA1 Message Date
mjudge%netscape.com
40f7d1b02e 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work.
git-svn-id: svn://10.0.0.236/trunk@113507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 05:13:56 +00:00
rods%netscape.com
75f3adcd31 fix ref count bloat
Bug 123011 sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@113435 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 20:12:35 +00:00
rods%netscape.com
20b4083174 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


git-svn-id: svn://10.0.0.236/trunk@113419 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:52:11 +00:00
jaggernaut%netscape.com
4e98524ff9 Just fixing some indents/whitespace, rs=mozbot
git-svn-id: svn://10.0.0.236/trunk@113385 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 00:45:58 +00:00
radha%netscape.com
2e0a0cfd1f Changes related to wyciwyg protocol implementation. r=35340 r/sr by jst, nisheeth, darin
git-svn-id: svn://10.0.0.236/trunk@113343 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:45:01 +00:00
jst%netscape.com
b9772d48fe 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
git-svn-id: svn://10.0.0.236/trunk@112678 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:20:51 +00:00
danm%netscape.com
bf8e12030a set docshell current URI after creating a synchronous about:blank Frankendocument. bug 104361 r=brendan,jst
git-svn-id: svn://10.0.0.236/trunk@112644 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 03:38:53 +00:00
bzbarsky%mit.edu
e8f9ff7e9c Make "Open in new Window" and "Open in new Tab" set referrer correctly.
Bug 48902, r=doron, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@112628 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:35:16 +00:00
bryner%netscape.com
b286121668 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.
git-svn-id: svn://10.0.0.236/trunk@112601 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:17:04 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
darin%netscape.com
416968bb0a fixes bug 112564 "Cache-Control: no-cache should not affect back/forward
buttons" r=dougt, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@111645 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 04:18:48 +00:00
darin%netscape.com
727d4d6882 backing out the part of the patch for bug 54349 that caused the leak
regression bug 118726.


git-svn-id: svn://10.0.0.236/trunk@111591 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 20:52:30 +00:00
locka%iol.ie
dbfc30244c 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
git-svn-id: svn://10.0.0.236/trunk@111568 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 13:01:38 +00:00
darin%netscape.com
86d0fabf89 fixes bug 54349 "stylesheet do not load when in another HTTP auth realm (sometimes)"
patch=badami@netscape.com
r/sr=darin,rpotts


git-svn-id: svn://10.0.0.236/trunk@111550 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 05:18:08 +00:00
danm%netscape.com
432bf17b0a implement/support nsIEmbeddingSiteWindow2 (and its blur method). bug 57841 r=bryner,rpotts
git-svn-id: svn://10.0.0.236/trunk@111398 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 02:22:45 +00:00
shanjian%netscape.com
3356940ad2 #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


git-svn-id: svn://10.0.0.236/trunk@111062 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 03:17:59 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
danm%netscape.com
c8ecf3571f 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
git-svn-id: svn://10.0.0.236/trunk@110196 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 02:41:22 +00:00
attinasi%netscape.com
ba496b391d Prevent crash when IFRAME is reframed during layout. bug=108105 r=dbaron sr=jst
git-svn-id: svn://10.0.0.236/trunk@109903 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:02:03 +00:00
alecf%netscape.com
1f28c5a550 fix for bug 79707
code by ccarlen, sr=alecf, r=valeski
simple null-check so that embeddors don't have to implement nsIBrowserHistory


git-svn-id: svn://10.0.0.236/trunk@109594 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:42:01 +00:00
locka%iol.ie
5af218e201 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
git-svn-id: svn://10.0.0.236/trunk@109526 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 12:42:49 +00:00
rpotts%netscape.com
2faee254d0 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes...
git-svn-id: svn://10.0.0.236/trunk@109390 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:35:33 +00:00
jst%netscape.com
d86dad5995 nsDependentString(nsnull) is illegal and asserts. sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109116 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:09:40 +00:00
radha%netscape.com
73b66f889a Fix for bug # 99638. r=darin sr=rpotts. Use nsIMultiPartChannel to access
htttpChannel that is part of a multipartChannel.


git-svn-id: svn://10.0.0.236/trunk@109051 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 23:14:15 +00:00
radha%netscape.com
2e83f2071a Fix for bug # 106994. - Remove redundant code in nsDocShell to acquire handle to SH in the root docshell r=adamlock sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@108619 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 20:14:02 +00:00
locka%iol.ie
1edd6dd9f4 Restore old URI space trimming code to avoid potential regression. bug 110081 r=pchen@netscape.com sr=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108496 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 21:48:31 +00:00
locka%iol.ie
4026617021 Fix for assertions happening on every new docshell. b=110685 r=brade@netscape.com sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108491 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 21:39:40 +00:00
alecf%netscape.com
f021d78bd7 fix for bug 102043 - hide redirected URLs after adding them to global history
r=radha, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@108485 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 20:22:14 +00:00
timeless%mac.com
7b921259da 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


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
pchen%netscape.com
26d858b7f6 bug 110081, patch=adamlock, r=pchen, sr=ben, harden docshell against empty URLs
git-svn-id: svn://10.0.0.236/trunk@108433 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-18 07:45:14 +00:00
danm%netscape.com
136cb90749 plug leak of docshell. bug 110410 code=dbaron r=jst,me
git-svn-id: svn://10.0.0.236/trunk@108351 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 05:19:10 +00:00
danm%netscape.com
e48388726b hook up CreateAboutBlankContentViewer. bug 88229 r=jst,rpotts
git-svn-id: svn://10.0.0.236/trunk@108238 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:15:31 +00:00
locka%iol.ie
04d0dcd1ae 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
git-svn-id: svn://10.0.0.236/trunk@108052 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:26:43 +00:00
darin%netscape.com
424a7bd5f9 patch for bug 107789 "deprecate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@108026 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 06:45:27 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
radha%netscape.com
9c70ff699d Fix for bug # 108041. Session history misbehaves when _top is replaced after a series of subframe navigations. r=adamlock sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@107512 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 23:56:45 +00:00
locka%iol.ie
1151308cf0 Add fixup for view-source: URLs. b=78810 r=bzbarsky@mit.edu sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@107488 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 22:55:30 +00:00
blizzard%redhat.com
9b6794d44c back out darin's fix for bug #107789 since it caused blocker #108637.
git-svn-id: svn://10.0.0.236/trunk@107466 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 16:32:52 +00:00
darin%netscape.com
902546fa1d fixes bug 107789 "depracate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@107421 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 02:50:42 +00:00
danm%netscape.com
17ff11d2db initial (disabled) cut at creating about:blank documents synchronously. part of bug 88229 r=hyatt,rpotts
git-svn-id: svn://10.0.0.236/trunk@107393 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:24:39 +00:00
radha%netscape.com
adc5d6c010 Fix for bug # 103850. DocShell sets wrong cache key while loading pages with postdata. r=adamlock sr=darin
CVS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@106995 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 22:21:31 +00:00
mkaply%us.ibm.com
9c733170f9 #88100
r=simon@softel.co.il, sr=blizzard
Hookup Bidi preferences


git-svn-id: svn://10.0.0.236/trunk@106930 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 05:40:35 +00:00
rpotts%netscape.com
9c186d4664 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface...
git-svn-id: svn://10.0.0.236/trunk@106446 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 02:52:39 +00:00
radha%netscape.com
1120ee9abe 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
git-svn-id: svn://10.0.0.236/trunk@106379 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 19:04:11 +00:00
bryner%netscape.com
73a2cc7db6 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105981 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:43:52 +00:00
locka%iol.ie
c66ddad77e 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
git-svn-id: svn://10.0.0.236/trunk@105881 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 11:42:35 +00:00
radha%netscape.com
b9befe5a2d Fix for bug #101682. history.back() history.go(-1) misbehave on repeated usage and does notrestore scrollbar position. r=mcafee, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105822 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:28:57 +00:00
darin%netscape.com
d394a62ae4 fixes bug 104181 "SH should not store layout state if server sends Cache-control: no-cache"
r=radha, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@105333 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 01:03:59 +00:00
radha%netscape.com
1ec126b727 Fox for bug 96230. Back button does not preserve scroll bar positions on local files and ftp directory listings. r=adamlock sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105182 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:50:05 +00:00