586 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
1b3e511f1c Bug 445004. Make the base and document URI of document.written documents be the
base and document URI of the document on whose current context our code is
running. r+sr=jst, r=dcamp

Bug 465752. Fix Equals() to work right on javascript: URIs. r=dcamp, sr=jst.

Both a=ss


git-svn-id: svn://10.0.0.236/trunk@255943 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-28 00:56:09 +00:00
roc+%cs.cmu.edu
66c4396103 Bug 433727. Make DocumentViewerImpl::GetFullZoom work when there's no presentation. r+sr=bzbarsky,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@251838 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-26 22:03:11 +00:00
roc+%cs.cmu.edu
211f46054a Bug 429172. Return the docshell's script global object as soon as the document's content viewer has been Closed(). r+sr=sicking,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250446 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 10:02:04 +00:00
roc+%cs.cmu.edu
851a346e99 Bug 426987. Split SaveState from nsIDocument::Destroy so that we don't do Destroy() while we're still displaying the document. r+sr=sicking,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250019 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-10 22:47:02 +00:00
roc+%cs.cmu.edu
70873f473a Bug 421432. Don't crash when we ScrollToAnchor after UnsuppressPainting tore down the document. r+sr=dbaron,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250018 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-10 22:42:03 +00:00
ajschult%verizon.net
8819bf9721 Bug 408355: Better fix for bug 396024 that doesn't leak (as much). r+sr=roc, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@249888 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 05:24:13 +00:00
jonas%sicking.cc
546ba272ce Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@247875 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 23:08:59 +00:00
reed%reedloden.com
7d38e692e5 Bug 192631 - "Animated images stop animating after Print / Print Preview" [p=martijn.martijn@gmail.com (Martijn Wargers) r+sr=roc a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@247705 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 02:58:34 +00:00
dbaron%dbaron.org
7dc00af66f Don't let the pres context's visible area get permanently set to an unconstrained height when we call ResizeReflow with an unconstrained height during SizeToContent. b=371508 r+sr=roc a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@247685 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 22:04:45 +00:00
jonas%sicking.cc
fbfd1bd5fa Back out due to failed mochitest
git-svn-id: svn://10.0.0.236/trunk@247519 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 02:18:16 +00:00
jonas%sicking.cc
99b2e4ecd5 Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst.
git-svn-id: svn://10.0.0.236/trunk@247516 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:49:20 +00:00
Olli.Pettay%helsinki.fi
23b6ed239d Bug 421294, Crash [@ DocumentViewerImpl::GetCopyable], r+sr=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247256 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 23:05:35 +00:00
roc+%cs.cmu.edu
342a643308 Bug 317189. Do the second-scroll-to-anchor on onload (i.e. subresources have loaded), not just when the document has finished loading. Also, don't do it at all if the user has scrolled manually between the first anchor scroll and the second. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246661 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 10:01:18 +00:00
Olli.Pettay%helsinki.fi
2eb9b51758 Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246410 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 10:55:39 +00:00
dolske%mozilla.com
7c1492fce7 Reland 406686, tests went green apparently before picking up the backout.
git-svn-id: svn://10.0.0.236/trunk@245256 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 20:23:06 +00:00
dolske%mozilla.com
d6483521ba Backout bug 406686 to determine cause of mochitest failures.
git-svn-id: svn://10.0.0.236/trunk@245244 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 19:07:23 +00:00
enndeakin%sympatico.ca
9047bc29c0 Bug 406686, close popups on blur, this time with nullcheck, r=roc,sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@245221 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 13:53:35 +00:00
dholbert%cs.stanford.edu
df5341b795 Bug 415012: Fix deadSpaceGap computation and restore deadSpaceGap subtraction in PrintPreviewNavigate. r+sr=roc, a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@245182 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 23:08:00 +00:00
mozilla.mano%sent.com
752a99841c Backing out 406686 again
git-svn-id: svn://10.0.0.236/trunk@245071 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 02:19:13 +00:00
mozilla.mano%sent.com
446c1b4c86 Relanding bug 406686
git-svn-id: svn://10.0.0.236/trunk@245065 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 00:55:58 +00:00
mozilla.mano%sent.com
623f0b7016 Attempt to fix orange by backing out 406686
git-svn-id: svn://10.0.0.236/trunk@245058 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-06 23:46:00 +00:00
enndeakin%sympatico.ca
9284f051c7 Bug 406686, close popups on blur, r=roc,sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@245034 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-06 21:12:01 +00:00
dholbert%cs.stanford.edu
ef156c6b75 Bug 389359: In print-preview jump-to-page, scale page-position so we arrive at correct spot. r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@244378 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 20:14:51 +00:00
roc+%cs.cmu.edu
b186cf0080 Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@244074 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-26 23:59:51 +00:00
reed%reedloden.com
45664f77fc Re-land part of the patch from bug 193001 because the printing reftest failures on Windows are most likely just symptoms of bug 388169.
git-svn-id: svn://10.0.0.236/trunk@243652 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 07:54:47 +00:00
reed%reedloden.com
ffa39342f1 Back out part of the patch from bug 193001 to help track down the cause of some failing printing reftests on Windows.
git-svn-id: svn://10.0.0.236/trunk@243650 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 06:35:31 +00:00
reed%reedloden.com
c1ba64331e Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@243641 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 03:47:28 +00:00
roc+%cs.cmu.edu
72395a3542 Bug 403565. Give each contentviewer it's own device context. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@243640 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 02:05:39 +00:00
bzbarsky%mit.edu
cc0346a98b When showing a document viewer, don't start layout on the documnt unless it's
already had layout started once.  Otherwise, just wait for the sink, or whoever
is responsible for it, to start layout once they're ready.  Bug 404470, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@243619 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-20 18:02:03 +00:00
roc+%cs.cmu.edu
3d8e8b12f1 Bug 406784. Do more presentation setup in the SetDOMDocument path to fix regressions mainly in Camino. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@242768 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 22:41:43 +00:00
roc+%cs.cmu.edu
a009af0884 Bug 405732. Fix crash in XSLT document that does an initial reflow before SetDOMDocument in the document viewer, by recreating the viewmanager, root view and root widget that were mangled when we tore down the old presshell. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@240217 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 10:42:12 +00:00
martijn.martijn%gmail.com
889bd021e7 Bug 396024 – Crash [@ nsPrintEngine::DocumentReadyForPrinting] with testcase that set print preview, then reloads the page, part 2, r=sharparrow1, sr=roc, blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@240062 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-28 22:17:12 +00:00
reed%reedloden.com
121f7293a7 Bug 404519 - "some margin and edges twips/app units confusion" [p=reg@freebsd.org (Jeremy Lea) / chpe@gnome.org (Christian Persch) r+sr=roc a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@239766 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 05:09:59 +00:00
Olli.Pettay%helsinki.fi
8af1f640a5 Bug 363265, fix comment about mTextZoom/mPageZoom members
git-svn-id: svn://10.0.0.236/trunk@239105 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 22:29:43 +00:00
Olli.Pettay%helsinki.fi
fde675f559 Bug 363265, Scroll arrows, page up/page down, home, end, and space don't work in print preview, r=roc+myk,sr=roc,a=1.9+
git-svn-id: svn://10.0.0.236/trunk@239047 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 10:19:12 +00:00
reed%reedloden.com
aab90edac0 Bug 130078 - Make chrome subdocuments of chrome parents share the view hierarchy [p=roc r+sr=bzbarsky a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238958 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:50:49 +00:00
Olli.Pettay%helsinki.fi
2e1bff074e backout Bug 373462, bug 385322. Still regress tp/talos
git-svn-id: svn://10.0.0.236/trunk@237973 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-21 16:46:56 +00:00
Olli.Pettay%helsinki.fi
ae040f9f0b Test-landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst
git-svn-id: svn://10.0.0.236/trunk@237971 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-21 14:09:31 +00:00
bzbarsky%mit.edu
dc9c2f83af Fix a few issues in bfcache and XBL when javascript is being toggled on and
off.  Bug 398668, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@237342 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 00:35:01 +00:00
Olli.Pettay%helsinki.fi
e62ab6eeb6 back out Bug 373462 / bug 385322 (again :( )
git-svn-id: svn://10.0.0.236/trunk@236922 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 17:33:24 +00:00
Olli.Pettay%helsinki.fi
8cb7efe95a Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@236920 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 15:02:58 +00:00
Olli.Pettay%helsinki.fi
8b1c629f2c backout the test patch for Bug 373462 and 385322
git-svn-id: svn://10.0.0.236/trunk@236522 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 16:10:13 +00:00
Olli.Pettay%helsinki.fi
10c4faa867 Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc'
git-svn-id: svn://10.0.0.236/trunk@236520 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 14:05:29 +00:00
martijn.martijn%gmail.com
1eed6e98b8 Bug 362734 – Crash [@ nsPrintEngine::DocumentReadyForPrinting] with testcase that sets print preview, then reloads the page, patch by Andrew Smith, r=sharparrow1, sr=roc (blocking1.9 bug)
git-svn-id: svn://10.0.0.236/trunk@233885 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 21:44:42 +00:00
martijn.martijn%gmail.com
790a118395 Bug 393696 – Crash [@ PresShell::ResizeReflow] with onbeforecut removing element, iframe and position: fixed, patch by Mathieu Fenniak, r=Olli.Pettay, sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@233541 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-01 08:53:07 +00:00
sharparrow1%yahoo.com
224e717d50 Bug 390180: Full page zoom interacts badly with bfcache. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233179 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 01:20:18 +00:00
dbaron%dbaron.org
db4ee762eb Fix leak of widgets on gmail. b=390088 r+sr=jst a=roc
git-svn-id: svn://10.0.0.236/trunk@231852 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 21:23:53 +00:00
sharparrow1%yahoo.com
a52b780012 Bug 389720: zooming frameset is poor. r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231605 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 20:38:35 +00:00
jst%mozilla.org
daccf057ae Bug 280959: Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@231016 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:14:35 +00:00
sharparrow1%yahoo.com
46080bf88d Bug 4821: Implement page zoom (backend). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@231009 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 03:34:16 +00:00