Commit Graph

91606 Commits

Author SHA1 Message Date
Robert O'Callahan
d0dd680745 Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.

With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).

FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Philipp von Weitershausen
8c5077d8b8 Back out changeset c1ede9f0319e (bug 743635). a=bustage 2012-04-10 19:02:39 +08:00
Jonathan Kew
a85cf16773 bug 743767 - fix bugs in pattern matrix handling in GlyphBufferAzure. r=bas 2012-04-10 11:57:23 +01:00
Lucas Rocha
0726eb02eb Bug 739966 - Add a Debugger listener to Fennec (r=mfinkle) 2012-04-10 11:05:45 +01:00
Lucas Rocha
6e4a2008a2 Bug 739966 - Add Fennec's remote debugger actors (r=past) 2012-04-10 11:05:43 +01:00
Igor Bukanov
b600b7db2f Bug 743559 - Remove unused JSRuntime::xml_singleton fields. r=:Waldo
The patch removes unused  anynameObject and functionNamespaceObject fields in JSRuntime.
2012-04-10 11:57:29 +02:00
Chris Jones
936c3d52ae Bug 739801: Initialize the lastUpdateTime to 0 to make sure we check for an update on first startup after a fresh install (or profile clear). r=rs 2012-04-10 01:55:10 -07:00
Jacek Caban
3d52a2a823 Bug 742361 - GCC 4.7 mingw fails to compile cairo due to missing ffs declaration r=jrmuizel 2012-04-10 10:20:07 +02:00
Daniel Holbert
543f521202 Bug 742565: Cast known-to-be-nonnegative integer val to unsigned, to fix build warnings in nsRange.cpp. r=smaug 2012-04-10 00:45:59 -07:00
Henri Sivonen
19ba3a27fe Bug 741384 - Change MOZ_NOT_REACHED added in bug 732343 to MOZ_ASSERT(false). r=smaug. 2012-04-10 10:02:31 +03:00
Mark Capella
a76aa38ad5 Bug 741709 - nsAccessibleWrap::get_accParent() shouldn't use do_QueryObject, r=tbsaunde 2012-04-10 14:55:18 +09:00
Matias Juntunen
552bde7b2a Bug 743475 - Patch to fix the wrong template parameters in call to WebGLBuffer::FindMaxElementInSubArray - r=jgilbert 2012-04-09 19:51:29 -07:00
Jeff Gilbert
28a3d5f866 Bug 621036 - Remove printfs from GLContextProviderCGL - r=bjacob 2012-04-09 19:51:29 -07:00
Serge Gautherie
6178112fa0 Bug 740769. (Bv1) Convert test_bug325418.js file to LF end-of-lines, Fix nsITimer.idl documentation. r=bzbarsky.
DONTBUILD.
2012-04-10 04:32:19 +02:00
Terrence Cole
49d3da6509 Bug 743885 - Fix OOM handling regression in HashTable; r=luke
Introduced by me in bug 722946.
2012-04-09 19:07:11 -07:00
John Daggett
ba0b628aee Bug 738136. Add Lao to the list of scripts that require shaping under OSX. r=jkew 2012-04-10 11:06:31 +09:00
Philipp von Weitershausen
e21c4a86a4 Bug 743635 - B2G SMS database initialization freezes I/O thread. r=mwu 2012-04-10 09:42:50 +08:00
Ryan VanderMeulen
05fde86a48 Backout e54c650e8748 (bug 737239) due to lack of proper reviews. 2012-04-09 21:06:34 -04:00
Kyle Huey
a321486239 Refix bug 741248 harder. r=me 2012-04-09 17:41:22 -07:00
Brian Hackett
dc3c33f7c6 Don't disable call ICs with the callee frame still on the stack, bug 743088. r=luke 2012-04-09 17:33:42 -07:00
Margaret Leibovic
dd233b5d93 Bug 741590 - Database migration to combine history entries with the same URL. r=rnewman 2012-04-09 17:28:59 -07:00
Margaret Leibovic
3513da8d22 Bug 741590 - Test for new updateOrInsertHistory method. r=rnewman 2012-04-09 17:28:59 -07:00
Margaret Leibovic
33df925268 Bug 741590 - Create updateOrInsertHistory method for BrowserProvider. r=rnewman 2012-04-09 17:28:59 -07:00
Wes Johnston
3662c67fe4 Bug 739215 - Favicon for about:firefox. r=mfinkle 2012-04-09 17:19:08 -07:00
Wes Johnston
3fc4f9440b Bug 739514 - Update database version. r=mleibovic 2012-04-09 17:14:51 -07:00
Robert O'Callahan
0e7a3f34be Bug 610713. Disable acceleration in popup widgets to work around Windows/driver bugs. r=bas 2012-04-10 11:52:50 +12:00
Brian Hackett
831bd99f78 Stop precisely tracking arguments and locals beyond a 1000 variable threshold, bug 735974. r=dvander 2012-04-15 21:38:53 -07:00
Brian Hackett
a21f8c5a5d Check type compatibility when coercing RootedVar to Handle, bug 745361. r=luke 2012-04-15 21:19:44 -07:00
Max Li
4b25fda82b Bug 740702 - nsHyperTextAccessible::GetDOMPointByFrameOffset should take nsAccessible*, r=tbsaunde 2012-04-14 22:24:37 -04:00
Justin Lebar
a464c6b0c9 Bug 741378 - Part 3: Fix test_memoryReporters bustage. r=njn 2012-04-16 13:47:07 +10:00
Matthew Gregan
b5111a2ca4 Bug 742160 - Import AudioUnit cubeb backend. r=doublec 2012-04-16 15:04:42 +12:00
Matthew Gregan
c6d2de46e7 Bug 742154 - Work around media crashtest shutdown hang in cubeb_winmm. r=cpearce 2012-04-16 15:00:40 +12:00
Matthew Gregan
2e2a2c6663 Bug 723793 - Lazily initialize libcubeb on first use. r=roc 2012-04-16 15:00:12 +12:00
Justin Lebar
50b6e14575 Bug 741378 - Part 2: Update telemetry to report js-gc-heap-committed. 2012-04-16 12:20:55 +10:00
Justin Lebar
5766598758 Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 12:20:54 +10:00
Justin Lebar
b391903730 Back out changeset 21f34fdd64a3 (bug 741378) because it breaks telemetry. r=me 2012-04-16 11:34:00 +10:00
Justin Lebar
dbb7a3bbac Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 11:17:26 +10:00
Bobby Holley
1037d6c217 Bug 745483 - Don't assert that TI is enabled when the pref is disabled. r=jdm 2012-04-15 17:54:03 -07:00
Bobby Holley
b0e37aa6d8 Bug 743843 - Introduce the options object for Components.Exception. r=Ms2ger,sr=mrbkap 2012-04-15 17:51:37 -07:00
Bobby Holley
50e6634137 Bug 743843 - Ditch the confusing switch-based parsing and add some comments. r=Ms2ger 2012-04-15 17:51:36 -07:00
Bobby Holley
1e648b7690 Bug 743843 - Factor individual argument parsers into helper methods. r=Ms2ger 2012-04-15 17:51:36 -07:00
Bobby Holley
d8267ab1e1 Bug 743843 - Factor out Exception argument parsing into a helper class. r=Ms2ger
For ease of reviewing, note that there are only 2 changes to the big switch statement:
1 - return ThrowAndFail(...) -> return false.
2 - eMsgBytes -> messageBytes
2012-04-15 17:51:36 -07:00
Bobby Holley
d3e1c85a70 Bug 745422 - Factor fundamental traps into js::AbstractWrapper. r=gal 2012-04-15 16:43:14 -07:00
OHZEKI Tetsuharu
180f392424 Bug 745525 - Use handleEvent in PopupNotifications r=dolske 2012-04-15 19:21:25 -04:00
OHZEKI Tetsuharu
de9fe9524f Bug 745524 - Minor code cleanup in PopupNotifications.jsm. r=dolske 2012-04-15 19:11:41 -04:00
Josh Aas
bb65774aa4 Bug 745241: Clean up some plugin stream functions. r=bsmedberg 2012-04-15 17:34:01 -04:00
Benoit Jacob
30ec0fc1a6 Bug 734657 - Upgrade ANGLE to r1042 - no review
The upstream is at:
  http://code.google.com/p/angleproject/

This update allows to pass all conformance tests on Windows with ANGLE renderer; also fixes 2 crashes (see dependent bugs).
2012-04-15 15:05:00 -04:00
Patrick McManus
9d41be7518 bug 745379 - mistake in spdy/2 spec reversed actual priority values r=honzab 2012-04-15 13:11:23 -04:00
Jonathan Kew
26c6896858 bug 740120 - reftest for context-sensitive lowercase sigma mapping. r=smontagu 2012-04-15 15:52:47 +01:00
Jonathan Kew
99d4be6815 bug 740120 - implement context-sensitive mapping for Greek sigma in text-transform:lowercase. r=smontagu 2012-04-15 15:52:47 +01:00