1589 Commits

Author SHA1 Message Date
bryner%brianryner.com
9923520447 Fix failure to repaint on Mac with fastback enabled (bug 298112). Hide the old contentviewer before we invalidate. r=darin sr=dbaron a=asa.
git-svn-id: svn://10.0.0.236/trunk@175111 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 21:08:10 +00:00
bryner%brianryner.com
331cadb813 Fix pending-loads check for fastback so that we detect loads initiated either before or after Stop() is called. Fix assert on reload. Fix problem where the wrong load type was being checked in CanSavePresentation(). Fix problem where we cached a content viewer on the current history entry when it was equal to the new history entry. Bugs 292954 and 292950. r+sr=darin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@175110 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 20:53:43 +00:00
bryner%brianryner.com
89fff37c75 For fastback, dispatch the title change notification after we've updated our history entry in the docshell, so that we don't set the title on the wrong history entry. Bug 296745, r+sr=darin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174884 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 22:06:30 +00:00
roc+%cs.cmu.edu
e05c85a204 Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@174751 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 02:48:29 +00:00
bryner%brianryner.com
3274ca4c10 Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00
bryner%brianryner.com
285552136f Fix incorrect tinderbox popups with fastback (bug 292933). Make sure mLSHE is nulled out when we finish fastback navigation. r+sr=darin, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@174135 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 22:17:06 +00:00
bryner%brianryner.com
797bf6de91 When restoring a presentation via fast-back, where we aren't going to save the existing presentation, defer destruction on a PLEvent to avoid hangs when reentering plugin code (bug 294231). r+sr=jst, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@174012 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 00:57:54 +00:00
cbiesinger%web.de
0266fce802 295279 pass the origin charset of the URI to the error page, esp. for use by
embeddors
patch by Christian Persch <chpe@gnome.org> r=biesi sr=bz a=shaver


git-svn-id: svn://10.0.0.236/trunk@173961 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:19:01 +00:00
jag%tty.nl
69ac719674 Attempt to fix btek bustage
git-svn-id: svn://10.0.0.236/trunk@173539 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 09:54:04 +00:00
bryner%brianryner.com
7d8cc2fcc3 Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@173534 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 03:52:33 +00:00
bryner%brianryner.com
b3fad70a54 Fix crash with fast-back enabled when a reload wipes out a cached docshell (bug 293534). r+sr=bzbarsky, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173450 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-15 00:30:02 +00:00
dveditz%cruzio.com
7792b0edf7 bug 292691 plug IconURL and history.back() XSS exploits fixed in firefox 1.0.4
docshell patch by jst, r=bz,brendan;sr=dveditz,shaver;a=asa
xpinstall patch by dveditz and vlad; r=vlad,jst; sr=jst,shaver; a=asa


git-svn-id: svn://10.0.0.236/trunk@173419 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 23:08:09 +00:00
bzbarsky%mit.edu
676bea63e1 Back out the change for bug 277092, since it breaks other compat and pages.
Bug 292921, r=jst, sr+a=brendan


git-svn-id: svn://10.0.0.236/trunk@173196 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 21:44:16 +00:00
bryner%brianryner.com
c7593f2912 Don't crash when we've restored a presentation with a frame that has never loaded a document. Bug 292923, r+sr=bzbarsky, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173116 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-06 18:18:08 +00:00
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
pedemont%us.ibm.com
c9f6e9439e Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@172951 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 16:30:03 +00:00
roc+%cs.cmu.edu
131435cb9a Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
cbiesinger%web.de
e65e51f114 291876 fall back to Alert() instead of an error page when we have no nsIURI object
r=bz sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@172769 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 11:53:27 +00:00
darin%meer.net
76ed9d7ac3 fixes bug 289178 "Move show_punycode pref into nsStandardURL" r=biesi sr=dbaron a=asa
git-svn-id: svn://10.0.0.236/trunk@172760 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 01:32:36 +00:00
bzbarsky%mit.edu
fea41970b2 Reposting when expired from cache should make sure to use the right history
entry; otherwise docshell is confused about which page it currently has
loaded.  Bug 289301, r=biesi, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@172476 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 04:41:48 +00:00
darin%meer.net
d57073c4b3 patch for bug 287648 "make nsIDNSService use nsICancelable and move private methods to nsPIDNSService" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171761 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 01:33:28 +00:00
cbiesinger%web.de
5d85d7ccaa bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property


git-svn-id: svn://10.0.0.236/trunk@171661 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 17:40:32 +00:00
bzbarsky%mit.edu
c980dc5f76 Move processing of various headers from the content sink into the document so
it'll happen for all of our document types.  Bug 288921, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@171627 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 03:28:54 +00:00
roc+%cs.cmu.edu
64b260501e Bug 288117. Fix regressions in nsDocShell::SetCanvasHasFocus and in nsListBoxBodyFrame/nsListBoxObject where code made obsolete assumptions about scrollframe structure. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171540 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:02:47 +00:00
bzbarsky%mit.edu
2c2f36952d Make sure to clone the page descriptor before changing its properties. Also
some cleanup of the GetCurrentDescriptor code.  Bug 285828, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171531 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 16:51:01 +00:00
bzbarsky%mit.edu
b7f2b5b8a5 Don't fire onLocationChange for initial loads in subframes; reverts old
behavior.  Bug 285738, patch by William A. Gianopoulos
<wgianopoulos@yahoo.com>, r=jst, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@171363 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 04:22:00 +00:00
jshin%mailaps.org
942b3b86e1 bug 283992 : keyword search for exactly one word with non-ASCII characters doesn't work (r=darin, sr=bz)
git-svn-id: svn://10.0.0.236/trunk@170775 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 13:33:27 +00:00
neil%parkwaycc.co.uk
fd6bd2688a Add HTML to the list of support flavours for Copy Image and provide an embedding interface to choose the flavours to copy b=135300 r=bz sr=smfr
git-svn-id: svn://10.0.0.236/trunk@170561 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-11 11:12:15 +00:00
jst%mozilla.jstenback.com
caebf07943 Fixing bug 284993. Make sure the new content viewer is properly initialized before fireing location changed notifications. r=bzbarsky@mit.edu, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@170437 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 14:31:02 +00:00
cbiesinger%web.de
af30395567 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@170312 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:46:06 +00:00
dougt%meer.net
9f0fea0b0d Need to link to gfx when building on WinCE. r=dougt
git-svn-id: svn://10.0.0.236/trunk@170299 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 18:23:48 +00:00
bzbarsky%mit.edu
1c1365dc03 Create a service that can be asked whether a given webnavigation (or a
"typical" webnavigation) supports loading of a certain MIME type.  Bug 283125,
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@169951 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-27 18:33:27 +00:00
jst%mozilla.jstenback.com
8c0a4e56f8 Fixing bug 277574. Make sure all modal dialogs, not just the ones that come from DOM calls, bring the requesting tab to focus. r=dveditz@cruzio.com, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@169699 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 23:31:37 +00:00
jst%mozilla.jstenback.com
4240308d76 Fixing bug 209020. Make midas (document eiditing mode) not partially persist when leaving a page, and make it possible to turn off designMode dynamically in a page. r=brade@comcast.net, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@169674 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 21:27:20 +00:00
bzbarsky%mit.edu
c368ba2ba4 Remove the parentURIContentListener attribute on docshell; people not using
nsIWebBrowser can getInterface the docshells nsIURIContentListener and set its
parent.  Bug 283108, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@169608 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 19:56:11 +00:00
jshin%mailaps.org
b918fc6323 bug 244754 : URL is not shown in the status bar when hovering over a url-escaped URL in an encoding different from the document enecoding (r=darin, sr=bzbarsky)
git-svn-id: svn://10.0.0.236/trunk@169604 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 18:25:12 +00:00
bzbarsky%mit.edu
967cea925d Remove unused and unimplemented attribute on nsIMarkupDocumentViewer. Bug
282973, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169561 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 16:39:01 +00:00
gandalf%firefox.pl
ae4762f3e8 Bug 279768: Move locales from ./docshell and ./intl to ./dom/locales ; r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@169539 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 18:10:15 +00:00
bzbarsky%mit.edu
7c49888660 Use GetAsSupports instead of STATIC_CAST. Bug 282644 followup, r=biesi
git-svn-id: svn://10.0.0.236/trunk@169534 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 17:18:22 +00:00
bzbarsky%mit.edu
72a6885a89 Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169528 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 17:02:02 +00:00
darin%meer.net
db582fcc3f documentation cleanup for bug 99625
git-svn-id: svn://10.0.0.236/trunk@169488 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 09:12:26 +00:00
bzbarsky%mit.edu
8875363039 Followup patch to bug 273785 -- don't trust the plugin service; it lies about
whether it really found new plugins.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169470 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 03:56:57 +00:00
bzbarsky%mit.edu
921bb06afc Scan for plugins when we're asked whether we can handle a type, not when we
actually go to handle it.  Bug 273785, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@169468 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 02:43:03 +00:00
bzbarsky%mit.edu
92886c33d1 Remove utterly unused member. No bug, r=biesi, sr=lxr search
git-svn-id: svn://10.0.0.236/trunk@169410 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:49:11 +00:00
bzbarsky%mit.edu
f609d7f69c Make sure that we have an mParentContentListener at all times in docshell. Bug
282644, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@169402 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:20:42 +00:00
cbiesinger%web.de
ca6411cedc Bug 237244 use location.reload for "Try Again" on error pages instead of
assigning to location.href
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@169400 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 17:53:45 +00:00
danm-moz%comcast.net
fbcab81ca7 unnamed windows can't be a named target. bug 278143 r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169020 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 23:16:52 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
silver%warwickcompsoc.co.uk
80283ef173 Bug 277658 - Make error pages URL a preference.
r=biesi
sr=bz
p=bugmail@q1n.org (Vidar Braut Haarr)


git-svn-id: svn://10.0.0.236/trunk@168714 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 19:42:21 +00:00
bzbarsky%mit.edu
3040cb0efe Make STOP_CONTENT not only stop the content viewer, but also cancel all pending
timeouts and intervals. Bug 277092, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@168587 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 22:49:42 +00:00