Commit Graph

61977 Commits

Author SHA1 Message Date
Ehsan Akhgari
deae53f1e4 Bug 629878 - Part 2: Do not scroll the selection into view when restoring the selection offsets for a text control after a reframe; r=roc a=blocking-final+
Previously, we used to scroll the text control's selection into view after a
reframe.  This had two problems: it was not precise (in case the selection was
modified by the mouse, for example), and it lead to problems such as bug 629878
if the control's frame was reconstructed because of the control being moved
inside the DOM.

This patch disables that behavior by wrapping the selection scroll function
into nsITextControlFrame::ScrollSelectionIntoView, so that APIs such as
setSelectionRange on the text control's content node can still call it
explicitly (since they actually need this behavior), but other callers of
nsITextControlFrame::SetSelectionRange (such as the nsTextEditorState
object's selection offset restoring mechanism) don't get this behavior as
an undesired side-effect.
2011-02-04 19:29:29 -05:00
Ehsan Akhgari
cbe552f50f Bug 629878 - Part 1: Save the scroll state for text controls the standard way; r=roc a=blocking-final+ 2011-02-04 18:28:38 -05:00
Ehsan Akhgari
fa1dcf4c12 Bug 632326 - Synthesize a Paste command instead of calling the internal goDoCommand in the test for bug 520189; r=roc a=test-only 2011-02-08 21:50:51 -05:00
Ehsan Akhgari
86b83bcfc9 Bug 540360 - Split the borderhandling-rules-border.html reftest into multiple individual tests to prevent it from failing intermittently; r=bernd a=test-only 2011-02-03 16:39:31 -05:00
Frank Yan
4a3c6602d4 Bug 610080 - Border effect for tab overflow. [hardblocker] r=dao ui-r=faaborg a=blocking2.0final 2011-02-09 10:25:54 -08:00
Dave Townsend
7650e1127b Bug 591905: Update back/forward buttons correctly after inner-frame navigations. r=Unfocused, a=blocks-betaN 2011-02-09 10:25:41 -08:00
Dave Townsend
8e78a72832 Bug 563912: Allow the tab key to only move to the items relevant to the selected extension. r=Unfocused, a=blocks-final 2011-02-09 10:23:47 -08:00
Marco Bonardo
e5507515ee Backout bug 629799 due to reftest permaorange causing a=CLOSED TREE 2011-02-09 19:16:29 +01:00
Marco Bonardo
aaac8f2d4c Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
Marco Bonardo
11fdd5408d Bug 631115 - Make about:home search field re-use autocomplete values from the old page.
r+a=dolske
2011-02-09 14:02:04 +01:00
Marco Bonardo
36fae3842a Bug 620522 - Make default add-ons snippet identifiable by AMO.
r+a=mossop
2011-02-09 14:02:02 +01:00
Mark Banner
c0c160d3c4 Bustage fix for the bustage fix for bug 626602. Namespace statement is required, so just ifdef it for IPC builds. r+a=bustage fix 2011-02-09 09:40:26 +00:00
Serge Gautherie
19f67354d4 Bug 632408 - [SeaMonkey, Windows] mochitest-chrome: permanent "test_leaf_layers_partition_browser_window.xul | Leaf layers should form a non-overlapping partition of the browser window" failure, since landing; (Av1) Improve test code somewhat.
r=roc (a=test-only).
2011-02-09 10:35:25 +01:00
Mark Banner
fbfe3e1251 Non-IPC bustage fix from bug 626602 - unnecessary using namespace mozilla::plugins statement. r+a=bustage fix 2011-02-09 09:16:59 +00:00
Chris Jones
4e02e6218a Test for bug 623636. a=test-only 2011-02-09 02:32:34 -06:00
Chris Jones
47f65ba547 Bug 632696: Silently fail if we can't allocate a white-background image. r=mattwoodrow a=bustage 2011-02-09 02:32:34 -06:00
Makoto Kato
7518d2a843 Bug 627606 - Remove PGO hack on Win64. r=ted a=bsmedberg 2011-02-09 15:51:25 +09:00
Makoto Kato
cf175d594d Bug 625753 - 64-Bit Firefox 4.0b10pre Crash Reports [@ malloc_rtree_set ]. r=ted a=bsmedberg 2011-02-09 15:50:13 +09:00
Jim Mathies
d86bd45ca6 merge. a=backout 2011-02-08 23:06:32 -06:00
Jim Mathies
b173b5212d Backing out Elantech patches (bug 593372) because they broke scroll wheel functionality. a=backout 2011-02-08 23:05:43 -06:00
Matt Woodrow
503e41f4c8 Bug 632636: Initialize cond when we have needs-focus. r=cjones a=bustage 2011-02-08 18:09:00 -06:00
Bas Schouten
8a936691da Bug 612103 - Followup: Only report a failure when the call actually fails. r=jrmuizel a=blocking-final 2011-02-08 18:44:14 -06:00
Chris Jones
e569db4f34 Bug 631388: Stop trying to center plugin images in their frames. r=roc a=a 2011-02-08 18:44:14 -06:00
Chris Jones
2fcedbe49b Some tests for bug 626602. a=b 2011-02-08 18:44:14 -06:00
Chris Jones
7afc71e9a5 Bug 626602, part 9: When possible, copy from a background to an opaque surface and have transparent plugins draw directly on the copied background, instead of doing alpha recovery or hoping plugins give us alpha values. r=bsmedberg,karlt sr=roc 2011-02-08 18:44:14 -06:00
Chris Jones
8d97bfade3 Bug 626602, part 8.1: Close the XDisplay to free the gfxXlibSurface DisplayTable, for the sake of leak checkers. r=karlt 2011-02-08 18:44:14 -06:00
Chris Jones
66c0a6b21b Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-08 18:44:14 -06:00
Chris Jones
cf6aed5e65 Bug 626602, part 7: Copy the impl of < and <= from nsIntSize to gfxIntSize. Sigh. sr=roc 2011-02-08 18:44:14 -06:00
Ehsan Akhgari
d4aec5d711 Bug 593372 - Part 4: Work around the Elantech v8 driver's erroneous message timestamps for zoom gestures (v2.1) r=jmathies a=blocking-final 2011-02-08 18:07:00 -05:00
Ehsan Akhgari
ba420cb4d7 Bug 593372 - Part 3: Always process mouse and keyboard events in the right order. r=:jimm 2011-02-08 18:06:49 -05:00
Bas Schouten
88246aed65 Bug 626602, part 6: Implement asynchronous D3D10 readback. r=cjones,jrmuizel 2011-02-04 20:30:00 -06:00
Robert O'Callahan
290a193f72 Bug 626602. Part 5: Implement ReadbackLayers for D3D9. r=bas 2011-02-08 18:44:14 -06:00
Robert O'Callahan
fdb91c06bd Bug 626602. Part 4: Make the display items behind a plugin that needs readback be as visible as we can. r=tnikkel 2011-02-08 18:44:13 -06:00
Robert O'Callahan
7647e8c80b Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones 2011-02-08 18:44:13 -06:00
Robert O'Callahan
3a611eb9da Bug 626602. Part 2: BasicLayers implementation of ReadbackLayer. r=cjones 2011-02-08 18:44:13 -06:00
Robert O'Callahan
a02e22f69f Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones 2011-02-08 18:44:13 -06:00
Robert O'Callahan
5f8299aa98 Bug 626602. Part 0: Fix header guards. r=bas 2011-02-08 18:44:12 -06:00
Chris Jones
d7b67cda16 Bug 629799, part 4: Fix alpha-recovery fallback on windows and try to use the SIMD path when possible. r=roc a=b 2011-02-08 18:44:12 -06:00
Chris Jones
dcca6ef421 Bug 629799, part 3: Ensure that SharedDIBWins are aligned well for alpha recovery. r=jimm 2011-02-08 18:44:12 -06:00
Chris Jones
61c07da777 Bug 629799, part 2: Ensure that gfxImageSurfaces are aligned well for alpha recovery. r=roc 2011-02-08 18:44:12 -06:00
Chris Jones
5480c3e504 Bug 629799, part 1: Add some helpers for aligning surfaces for alpha recovery. sr=roc 2011-02-08 18:44:12 -06:00
Andreas Gal
3222023138 Expose console and InstallTrigger as content objects (bug 631225, r=dtownsend). a=blocker 2011-02-07 23:18:18 -08:00
Ehsan Akhgari
ae33a28f03 Bug 632484 - Land feedback strings for stable releases as Firefox 4.0 strings; r=Mossop a=blocking-betaN DONTBUILD as this is NPOTB yet 2011-02-08 19:12:36 -05:00
Honza Bambas
4b801dad80 Fix bug 573043. r=jmathies@mozilla.com, a=blocker.
--HG--
rename : security/manager/ssl/public/nsISSLStatus.idl => netwerk/base/public/nsISSLStatus.idl
rename : security/manager/boot/public/nsISSLStatusProvider.idl => netwerk/base/public/nsISSLStatusProvider.idl
rename : security/manager/ssl/public/nsIX509Cert.idl => netwerk/base/public/nsIX509Cert.idl
2011-02-08 16:12:29 -08:00
Matt Woodrow
9e4273202b Bug 586683 - Disable test on mac r,a=orange 2011-02-09 13:06:31 +13:00
Matt Brubeck
ccb0540dd3 Bug 632490: Use a content-type hint in mozJSSubScriptLoader::LoadSubScript. r=shaver a=blocking-fennec
--HG--
extra : rebase_source : ff4aba30c6ac11b97921c368d8220a63d698692d
2011-02-08 12:16:06 -08:00
Patrick McManus
c1c1f7e184 Bug 632061 - Firefox 4 does not always properly handle HTTP/0.9 responses r=bz a=blocking-2.0
--HG--
extra : rebase_source : 8185a73da91b5327d5826d8945a044ac87fd41be
2011-02-08 18:26:33 -05:00
Priit Laes
b92fb89afb Bug 628222 - Add support for libnotify-0.7+. r=karlt a=joe 2011-02-09 00:02:37 +01:00
Cameron McCormack
930c52d389 Bug 593372 - Part 2: Ensure that Elantech driver helper window doesn't prevent zoom gestures from working (v2.1) r=jmathies a=blocking-final 2011-01-27 19:54:30 +13:00
Cameron McCormack
e740aaad92 Bug 593372 - Part 1: Add a hack for the Elantech touchpad so that three-finger swipe left/right performs a browser back/forward action instead of page up/down (v2.2) r=jmathies a=blocking-final 2011-01-25 10:38:41 +13:00