Commit Graph

1351 Commits

Author SHA1 Message Date
nhotta%netscape.com
c92bd67f61 Changed DisplayLoadError() to assume UTF-8 domain name,
also changed to unescape and convert the spec using originCharset.
bug 122705, r=shanjian, sr=darin.
2002-10-08 18:02:40 +00:00
rods%netscape.com
6ef92eab84 some changes from a nother patch was accidently checked in 2002-10-08 14:00:12 +00:00
rods%netscape.com
855fd85355 This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts
2002-10-08 13:17:56 +00:00
darin%netscape.com
c0fa264890 fixes bug 167463 "fromCacheOnly should be an attribute on nsICachingChannel"
and fixes bug 166927 "add nsICachingChannel should provide an attribute to
'load only if modified'" r=dougt sr=bzbarsky
2002-10-06 03:20:40 +00:00
rods%netscape.com
51646a434c Impl print preview for mail and addrbook
Bug 158110 r=bienvenu sr=sspitzer
2002-10-03 10:48:59 +00:00
dougt%netscape.com
1d12c0177b Move documentURI to a new interface. b=157133. r=rpotts@netscape.com, sr=darin@netscape.com 2002-09-30 23:18:43 +00:00
locka%iol.ie
9afdf9165d Fixup host:port urls that have no spec and cleanup some string calling convention mess. b=155344 r=andreas.otte@debitel.net sr=darin@netscape.com 2002-09-30 22:38:31 +00:00
locka%iol.ie
a591cb1c83 Make backslash to forward slash fixup smarter. b=127831 r=andreas.otte@debitel.net sr=darin@netscape.com 2002-09-30 21:55:36 +00:00
hewitt%netscape.com
03c418f9bc more phoenix build forking goo, sr=bryner 2002-09-28 22:12:24 +00:00
hewitt%netscape.com
64c822420c fixing phoenix build bustage 2002-09-28 21:03:44 +00:00
darin%netscape.com
2de4f81a70 fixes bug 170648 "eliminate referrer type from nsIHttpChannel in preparation
for freezing" r=dougt sr=rpotts
2002-09-25 21:28:53 +00:00
dougt%netscape.com
6ef0fe91ee fixing bustage 2002-09-25 20:49:29 +00:00
dougt%netscape.com
4ce8a1539f Moves uploadStream to nsIUploadChannel. r=neeti@netscape.com, sr=darin@netscape.com, b=100601 2002-09-25 20:15:17 +00:00
dbaron%fas.harvard.edu
5a1c2904aa Prevent docloader leaks by making mDocLoader an nsCOMPtr. b=170024 r=peterv sr=jst 2002-09-24 00:35:51 +00:00
dougt%netscape.com
50a188a67d Relanding radha's changes. 2002-09-20 21:37:38 +00:00
dougt%netscape.com
b1a0c0cfee Backing out last checkins 2002-09-20 20:06:33 +00:00
radha%netscape.com
f45a28828e Fix for bug # 159659. urlbar spoofing with wyciwyg://. r=adamlock, mstolz, sr=darin. Make sure normal loads of wyciwyg url don't go through nsDocShell::InternalLoad(). 2002-09-20 19:10:23 +00:00
radha%netscape.com
88c476c398 Additional changes related to previous checkin for bug 151061. More error checking per discussion in the bug. 2002-09-20 00:03:03 +00:00
radha%netscape.com
aa45d396af Fix for bug # 151061. Mozilla loses base uri for wyciwyg documents. r=caillon sr=jst. 2002-09-19 21:59:34 +00:00
kmcclusk%netscape.com
0db2c6960a Change PLEvent notification on WIN32 to use a native timer instead of a posted WM_APP message when documents are not loading. This fixes some DHTML paint starvation issues and lowers overall CPU usage on many pages with DHTML. bug=164931 r=rpotts@netscape.com sr=kin@netscape.com 2002-09-19 02:53:05 +00:00
peterlubczynski%netscape.com
84402a889d Fixing bug 165368: Download dialog appears for Shockwave Flash content r=av sr=heikki 2002-09-17 22:56:06 +00:00
nhotta%netscape.com
6c6138a192 Changed to call util function to unescape URI for status bar,
bug 81024, r=ftang, sr=darin.
2002-09-16 17:41:48 +00:00
darin%netscape.com
6eeda732ff fixing "oops" following my checkin for bug 45421 (thanks to cbiesinger) 2002-09-16 06:51:28 +00:00
darin%netscape.com
0c2e6c2638 fixes bug 45421 "Offline: No feedback when browsing to an uncached URL in
offline mode" r=adamlock sr=rpotts
2002-09-15 23:40:43 +00:00
akkana%netscape.com
ea487d3ccc 130337: Fix Get New Themes when browser.block.target_new_window is set. r=jfrancis sr=kin 2002-09-12 19:35:55 +00:00
caillon%returnzero.com
a5cd43f732 Add a method on the fixup object to strip off wyciwyg from nsIURIs
Fixes bug 164006, wyciwyg: should not appear in tab title
r=jag sr=bzbarsky
2002-09-11 01:44:13 +00:00
cbiesinger%web.de
21274805ed bug 167203 crash in nsDefaultURIFixup.cpp r=adamlock sr=bzbarsky a=jesup 2002-09-09 17:22:19 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com
fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
rjesup%wgate.com
a6da2110b6 Bug 126346: make iframes inherit text zoom values. Re-commiting after mods
to deal with 1.5% Tp regression in last commit.  r=dbaron, sr=jst, a=roc+moz
2002-09-06 18:46:19 +00:00
bryner%netscape.com
11659c8e1c Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst. 2002-09-06 00:19:58 +00:00
radha%netscape.com
4e1540d846 Fix for bug # 160869. Tweak load Types of subframes according to the parent's loadtype. r=adamlock sr=rpotts 2002-09-03 23:37:19 +00:00
rjesup%wgate.com
d96d8aedff Backout of 126346 because of a 1.5% Tp regression on btek and a 0.9%
regression on luna.  I don't understand how this could cause that;
SetTextZoom/GetTextZoom are cheap, and this isn't called often.
2002-08-30 21:19:13 +00:00
alecf%netscape.com
1cfdc22502 fix for bug 97470 - don't display frame/iframe urls in the global history window
r=radha, sr=darin
2002-08-30 17:51:48 +00:00
rjesup%wgate.com
24e1fab20d Bug 126346: textzoom is not inherited by iframes. r=jag, sr=blizzard/dbaron 2002-08-30 15:44:48 +00:00
shanjian%netscape.com
fd1c7b2e6c #162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.
2002-08-26 20:13:31 +00:00
bryner%netscape.com
b366f360b3 Ignore generated Makefiles. 2002-08-23 10:30:06 +00:00
alecf%netscape.com
22cd1629d5 ok, hopefully the last attempt to fix bug 12493, normalizing URLs for global history
this time cache the most common URI objects for links that appear on a webpage - http, https, ftp
r=radha, sr=darin
2002-08-15 22:21:40 +00:00
alecf%netscape.com
ad843a06ab oops, this wasn't part of my backout 2002-08-15 01:45:39 +00:00
alecf%netscape.com
5d7a8da091 back myself out to see if I caused the pageload times to go up
I'm sure its me :(
2002-08-15 01:44:51 +00:00
alecf%netscape.com
2026def530 really fix bug 12493 - sr=darin, r=radha
move the check for mIOService into its own check
2002-08-14 22:43:05 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com
fd04b4cf12 Removing unused SharedPrefix files.
Bug #160628 r=cls
2002-08-08 00:37:07 +00:00
timeless%mac.com
8a4ba78033 Bug 135811 Crash after infinite recursion:
nsContentTreeOwner::FindItemWithName -> nsDocShell::FindItemWithName ->
nsDocShell::FindItemWithName (loop back to nsContentTreeOwner) - Trunk M1BR [@ ntdll.dll -
nsDocShell::FindItemWithName] [@ MSVCRT.DLL - nsWritingIterator<unsigned short>::write]
patch by adamlock r=mjudge sr=jst
2002-08-07 08:23:46 +00:00
seawood%netscape.com
301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
alecf%netscape.com
9d46c7a238 fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
r=radha, sr=darin
2002-08-06 23:51:42 +00:00
aaronl%netscape.com
0f4ba024e4 Bug 160188. Accessibility: In Windows, use Control ID for a window to indicate whether the window is content or UI. r=saari,blythe, sr=hewitt 2002-08-01 23:12:38 +00:00
nhotta%netscape.com
9b5c55ed77 Change nsJSProtocolHandler to listen to originCharset to apply conversion if necessary,
also changed the callers to set originCharset,
bug 137182, r=caillon, sr=jst, a=asa.
2002-07-23 23:28:28 +00:00
locka%iol.ie
3291fb895d Move appstrings.properties into new docshell/resources dir. b=156988 r=brade@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org 2002-07-16 11:54:44 +00:00
mjudge%netscape.com
47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
locka%iol.ie
98b6eb2389 Ensure load error pages don't end up in the session history. b=157004 r=radha sr=rpotts a=asa 2002-07-15 19:10:13 +00:00
radha%netscape.com
ae5783c055 Fix for bug # 124245. javascript onload redirect breaks back button. r= rpotts sr=alecf, a=roc+moz 2002-07-12 21:15:51 +00:00
locka%iol.ie
1f26756e18 Support for error pages. b=28586 r=radha@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org 2002-07-11 20:59:03 +00:00
locka%iol.ie
8287d3dffd Use proper weak refs over raw pointers to hold parent URI listeners. b=144887 r=radha@netscape.com sr=alecf@netscape.com 2002-07-09 21:30:13 +00:00
locka%iol.ie
cbef215aeb Use proper weak refs over raw pointers to hold parent URI content listeners. b=144887 r=radha@netscape.com sr=alecf@netscape.com 2002-07-09 21:25:12 +00:00
locka%iol.ie
2107b1eb2b Display error message for unregistered protocols instead of fixing them up. b=100176 sr=darin@netscape.com r=brade@netscape.com 2002-06-28 18:47:20 +00:00
harishd%netscape.com
d764d0b911 Putting back the idl change that was backed out in my previous checkin 2002-06-28 00:57:03 +00:00
harishd%netscape.com
0031d01a28 Backing out my checkin to see if it fixes the Txul breakage 2002-06-27 23:32:51 +00:00
harishd%netscape.com
5ce8f55dd0 ** checking in for mstoltz **
Disable scripts on the requested docshell and containing docshells. Also, made setCurrentURI() scriptable ( approved by Adam Lock ). b=154647, r=harishd, sr=jst
2002-06-27 20:58:42 +00:00
rpotts%netscape.com
424c54035e bug #147741 (r=jst, sr=darin) Call nsIContentPolicy for toplevel and subdocuments. 2002-06-21 22:47:42 +00:00
radha%netscape.com
7d80c58dae Fix for bug # 144301. shift-reload on a frameset page causes misbehavior of back and forward on future subframe navigations on the same page. a=adamlock sr=rpotts. 2002-06-11 21:12:27 +00:00
serge%netscape.com
92f5cb89d5 fix for 147256, Crash in nsDocShell::GetRootScrollableView, r=av, sr=alecf 2002-05-30 00:46:12 +00:00
bryner%netscape.com
415ee0507d Getting rid of a useless printf that I forgot to remove before checking in. 2002-05-28 00:16:13 +00:00
locka%iol.ie
944c13b5aa Reinstate keyword fixup code to fix regression. b=143080 r=valeski@netscape.com sr=rpotts@netscape.com 2002-05-17 01:58:45 +00:00
rpotts%netscape.com
73de225b01 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener) 2002-05-16 20:57:37 +00:00
av%netscape.com
c405585a95 Fixing 143178 -- refreshing plugins before going to the plugin finder sevice, r=peterl, sr=beard 2002-05-16 20:41:26 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
radha%netscape.com
a89a95f087 Fix for bug # 135289. META http-equiv="cache-control" directives are ignored by back forward buttons. r=rpotts sr=darin. 2002-05-09 20:32:35 +00:00
darin%netscape.com
6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
radha%netscape.com
af170fb3a8 Fix for bug # 125372. Forward arrow not active when it should be. r=adamlock sr=alecf. 2002-05-06 21:01:59 +00:00
darin%netscape.com
b4b75daa66 cleaning up documentation, marking some interfaces frozen, and splitting
up some interfaces into separate IDL files (b=124465)
reviewed by dougt and bbaetz
2002-05-03 07:49:43 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
alecf%netscape.com
8d5e9bfc4c bug 136235 - comment-only change - update nsIGlobalHistory to use javadoc format, and properly document the API
r=chak, sr=dveditz
2002-04-27 01:21:09 +00:00
jst%netscape.com
18f1c685f6 Fixing regression bug 138663. Cached mail compose windows open up blank. r=harishd@netscape.com, sr=jband@netscape.com 2002-04-24 00:33:56 +00:00
radha%netscape.com
5c3c65ab89 Fix for bug # 138134. scrollbar restoration for anchor traversals broken because of few regressions in the last week. r=adamlock sr=alecf. 2002-04-19 23:14:53 +00:00
jkeiser%netscape.com
0dc252669f Close submitted files (input type=file) when done with them. (bug 126829) r=dougt@netscape.com, sr=darin@netscape.com 2002-04-18 22:02:09 +00:00
jst%netscape.com
cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
mjudge%netscape.com
678b215e1d was in 9.8 and 9.9 bs7868 SHOULD have been checked into trunk trying again. will go into 1.0 branch soonest 2002-04-16 23:02:50 +00:00
bryner%netscape.com
8b79892214 Make sure nsDocShell::GetVisibility returns false if we are inside a hidden pane of a deck; this prevents ctrl+tab from focusing these documents (which causes focus to appear lost). Bug 106123, r=jkeiser, sr=hewitt. 2002-04-15 22:25:17 +00:00
tor%cs.brown.edu
cb1d9145e3 Bug 53597 - consistent gamma correction. r=dbaron, sr=brendan 2002-04-13 10:03:59 +00:00
radha%netscape.com
c90be9bd7a Fix for bug # 135868. Null pointer reference in nsDocShell::InternalLoad. r=mcafee sr=rpotts a=valeski. Approved by ADT. 2002-04-10 14:04:02 +00:00
timeless%mac.com
e958546d80 Bug 135679 Form submit doesn't work if target is same page and current url has anchor
patch by ere@atp.fi r=jkeiser sr=attinasi a=rjesup
2002-04-10 13:56:30 +00:00
locka%iol.ie
5123b4bffa Fix an %s which should have been an %S. b=131143 r=chak@netscape.com sr=rpotts@netscape.com a=lorikaplan@netscape.com (locale) a=jaimejr@netscape.com (adt) a=asa@mozilla.org 2002-04-10 11:09:59 +00:00
timeless%mac.com
a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com
bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
radha%netscape.com
211d5e1dc1 Fix for bug 59774. Save scrollbar positions in sessionhistory when jumping from one anchor to another in a page. r=adamlock sr=alecf a=asa. Approved by ADT. 2002-04-04 22:10:10 +00:00
jst%netscape.com
020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com
aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
locka%iol.ie
807d24d1a3 Prevent www. & .com fixup for link clicks and in frames & iframes. b=34943 r=radha@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org a=jaimejr@netscape.com (adt) 2002-04-03 11:04:30 +00:00
rpotts%netscape.com
af9b1d6667 bug #40867 (r=bzarsky@mit.edu, sr=jst@netscape.com, a=asa@mozilla.org) Add new caching API to allow view-source to load from the cache and not the network. 2002-04-01 21:22:27 +00:00
jkeiser%netscape.com
364860a367 Handle errors better from DocShell loading (fixes a crash) (bug 132023), r=sicking@bigfoot.com, sr=darin@netscape.com, a=asa 2002-03-27 05:45:17 +00:00
dbaron%fas.harvard.edu
9cbe951ea6 Previous checkin was for bug 126346. 2002-03-27 04:52:12 +00:00
dbaron%fas.harvard.edu
51d80aa98c Ensure that text zoom persisted from a previous page is applied to frames. Patch from Tom Mraz <t8m@centrum.cz>. r=dbaron sr=jag a=scc 2002-03-27 03:32:41 +00:00
dbaron%fas.harvard.edu
241f60a176 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:42:00 +00:00
locka%iol.ie
b96e3dbb7a Tweaked a comment to make attribute behaviour more clear. b=131725 2002-03-22 14:48:41 +00:00
locka%iol.ie
6a8e1482d7 Make appending www. & .com during fixup more controllable via prefs. b=34943 r=brade@netscape.com sr=mscott@netscape.com a=asa@mozilla.org 2002-03-22 14:29:52 +00:00
darin%netscape.com
9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
darin%netscape.com
e0437f1e08 remove annoying "unknown error" dialog. b=131399, r=dougt, sr=bienvenu, a=asa 2002-03-19 00:06:31 +00:00
nhotta%netscape.com
c4fa3c40ac Use system charset for URL bar if the URI scheme is http, https, ftp or file,
bug 130393, r=yokoyama, sr=darin, a=asa.
2002-03-18 23:35:56 +00:00
radha%netscape.com
cae01ae533 Fix for bug 125225. locationbar and top.location updated when document.write() is done on iframes.
r=adamlock sr=rpotts a=asa.
2002-03-16 04:18:40 +00:00