Commit Graph

13050 Commits

Author SHA1 Message Date
Frédéric Wang
f2d30807ae Bug 677036 - Unify parsing of length and mpadded attributes. r=karlt 2012-05-15 18:30:14 -04:00
Jeff Muizelaar
45a184cabb Bug 754364. Add bilinear non-repeat and repeat fast paths. r=joe
This gives significantly faster bilinear sampling when we
don't have NEON.
2012-05-15 18:26:16 -04:00
Ed Morley
6a622a847e Merge mozilla-central to mozilla-inbound 2012-05-15 18:19:25 +01:00
Serge Gautherie
9fa7b9f5ee Bug 632408. (Bv1) Improve newer test code some more. r=roc. 2012-05-15 15:33:55 +02:00
Robert O'Callahan
2bbcb226e2 Bug 754556. Ensure that setting scroll positions in CSS pixels doesn't unexpectedly move the scroll position, especially not in the wrong direction. r=matspal
If the current scroll position is fractional, e.g. y=N.4 CSS pixels, and something tries to read the
position in CSS pixels and scroll to that position (e.g. calling window.scrollTo(0, rootElem.scrollTop),
or equivalently window.scrollBy(0, 0)), it can actually end up scrolling backwards. So create a new
method nsIScrollableFrame::ScrollToCSSPixels which ensures that scrolling to a CSS pixel offset tries to
preserve the current fractional scroll position if that's possible, and if that's not possible at least does
not allow the scroll position to move in the wrong direction.
2012-05-15 17:58:09 +12:00
Matt Woodrow
3c6ff5136f bug 750334 - rotating image appears too big during transition, then snaps to correct size r=roc
--HG--
extra : rebase_source : a8064d474693838e68f7b865f76043e1192a07a5
2012-05-15 10:31:39 +12:00
Jeff Muizelaar
a7f8653d6a Bug 754872. Avoid using two passes to draw glyphs on mobile. r=joe
Chrome & Safari both use a single pass for overlapping glyphs. We shouldn't try
so hard when running on mobile.
2012-05-15 00:48:00 -04:00
Matt Brubeck
773ffb6265 Merge mozilla-central and mozilla-inbound 2012-05-14 21:41:08 -07:00
Matt Brubeck
bb3a6fefc7 Merge last green changeset from inbound to mozilla-central 2012-05-14 14:00:57 -07:00
Joel Maher
57605fec0f Bug 754001 - random-if r3 failures so we can unhide the tests. r=jrmuizel 2012-05-14 10:19:28 -04:00
Ehsan Akhgari
b814ee999e Bug 696229 - Adjust the hint correctly while drawing the caret for drag/drop so that it gets attached to the beginning of the lines correctly; r=roc 2012-05-11 14:50:19 -04:00
Nicholas Cameron
29f95ca6fd Bug 754488 - Fix warning in FrameLayerBuilder.cpp. r=dholbert 2012-05-14 19:01:05 -04:00
Kang-Hao (Kenny) Lu
74ab6d1729 Bug 752230 - Disallow control characters above 0x7e in CSS unquoted url() tokenization. r=dbaron 2012-05-14 19:01:05 -04:00
Matt Brubeck
a71b3949e7 Merge last green changeset from inbound to mozilla-central 2012-05-11 11:39:38 -07:00
Alexander Surkov
7ff1752972 Bug 754627 - GetBounds on bullet return wrong values, r=tbsaunde, roc 2012-05-14 13:51:45 +09:00
Olli Pettay
84d5ebb475 Bug 754089 - remote mozbrowser's messagemanager shouldn't have parent, r=jlebar 2012-05-11 10:47:40 +03:00
Christopher De Cairos
71301a9ebc Bug 517363: Make poster frames scale to size of the display frame r=roc 2012-05-11 20:32:29 +12:00
Christopher De Cairos
c484bd36db Bug 726904: Make nsVideoFrame::GetVideoIntrinsicSize return the video size before the poster size. r=cpearce 2012-05-11 20:32:15 +12:00
Matt Woodrow
ec8821b6ee Bug 722603 - Improve dirty rect calculation with 3d transforms and preserve-3d. r=roc 2012-05-11 19:49:14 +12:00
Matt Woodrow
b5086dc756 Bug 722603 - Add 3d transforms debugging code to nsBlockFrame. r=roc 2012-05-11 19:49:12 +12:00
Jeff Muizelaar
2f4b7dc2b9 Bug 689707. Use lower precision bilinear interpolation. r=joe
This takes the bilinear interpolation code from Skia. It
uses 4 bits of precision instead of 8. This lets it interpolate
two components at a time because the results fit in 16 bits.

The lower precision code is only used in the fallback code
and not in any of the specialized code for NEON. This means
pixman gives different results depending on the cpu which isn't
great. However, this was easiest and the NEON code doesn't
gain as much from using lower precision.

Skia actually uses even lower interpolation when working with
565 but that's harder to plug in right now, and this gives
a reasonable improvement.
2012-05-10 22:12:52 -04:00
Jonathan Watt
7c6b874674 Bug 753713 - Fix indentation in nsSVGOuterSVGFrame::AttributeChanged prior to touching it in bug 734082. r=me. 2012-05-10 12:47:34 +01:00
Paul ADENOT
d19763225d Bug 743720 - Import Speex's audio resampler in the tree. r=kinetik, khuey 2012-05-14 19:01:04 -04:00
Mats Palmgren
6b03870b6a Bug 749935 - Make all nsRect Union methods saturating. If width/height overflows nscoord_MAX then clamp the x/y to nscoord_MIN / 2 and try again. r=roc 2012-05-14 22:11:39 +02:00
Mats Palmgren
6c06addbe9 Bug 688897 - Add MozReftestInvalidate handler to fix orange. r=jmuizelaar 2012-05-14 22:11:39 +02:00
Robert O'Callahan
7ae2ea0471 Bug 681192. Part 17: Disable test_transformed_scrolling_repaints_2.html on Mac. r=matspal
--HG--
extra : rebase_source : 6af0be8370c0e07e55954245f6a6305d04eb2a2b
2012-05-10 17:24:21 +12:00
Robert O'Callahan
1260834bce Bug 681192. Part 16: Reduce assertion counts some more. r=matspal
--HG--
extra : rebase_source : 48cdef6c9792d6e35dcdfaecae3e3982c37171fd
2012-05-10 17:24:21 +12:00
Robert O'Callahan
c0c7a84361 Bug 681192. Part 12: more fixes to remove unnecessary rounding to pixels. r=matspal
--HG--
extra : rebase_source : 39f2c0ef3220b3f0d4f6bc2564a86daa2112dc3b
2012-05-10 17:24:20 +12:00
Robert O'Callahan
c9a4ef0f31 Bug 681192. Part 11: Don't snap scrollrange endpoints to device pixels anymore. r=matspal
--HG--
extra : rebase_source : a4ad5072fbb1a9e1e8d0fcf31268fee8812be41e
2012-05-10 17:24:20 +12:00
Robert O'Callahan
dca2ccff9c Bug 681192. Part 10: Control rounding direction of scaledOffset to try to make the residual be close to mActiveScrolledRootPosition. r=tnikkel
--HG--
extra : rebase_source : f27fb737f8956ed117df0be3a71da847cc2048c0
2012-05-10 17:24:20 +12:00
Robert O'Callahan
f8b68b95b5 Bug 681192. Part 9: Adjust assertion counts downward. r=mats
--HG--
extra : rebase_source : 5cb44d6572d19d462897b1b50037946d5d8edf67
2012-05-10 17:24:20 +12:00
Robert O'Callahan
c03a4afc08 Bug 681192. Part 8: Use a generous allowed range when scrolling in CurPosAttributeChanged. r=matspal
There was a subtle reftest failure on Mac in RTL text-overflow tests.
I tracked it down to RTL overflow:auto areas being automatically scrolled by a subpixel amount.
This was because we try to set scrollbar "curpos" attributes to an integer number of CSS pixels representing
the scroll amount, relative to the top-left of GetScrolledRect, which is a noninteger number of CSS pixels
in this case. Then in ReflowFinished() we scroll to the saved curpos values plus the top-left of GetScrolledRect.
This patch fixes the problem by making CurPosAttributeChanged pass an allowed scroll range to
ScrollToWithOrigin. We allow any scroll destination that, when rounded to CSS pixels, would give the same
value as "curpos".
This fixes the bug, ensuring that ReflowFinished's call to CurPosAttributeChanged will not normally need
to scroll because the current position will be in the acceptable range. Also, it means that code that
scrolls by setting the "curpos" attribute will be optimized to try to hit a layer pixel boundary.

--HG--
extra : rebase_source : 3a768883feee4ff2b88fe3c729ea1058e911f2ea
2012-05-10 17:24:19 +12:00
Robert O'Callahan
1b61f2c022 Bug 681192. Part 7: nsTypedSelection should be scrolling a 0,0 size into view to get a particular coordinate into view, not 1,1. r=matspal
When asked to scroll a 1,1 appunit rectangle into view, ScrollFrameRectIntoView will now actually
succeed!
For example if the window is 6000 appunits high and we ask to scroll a 1x1 rect at 0,6000 into view,
before bug 681192 was fixed we'd actually fail to do so. We'd compute a desired scroll destination of 0,1,
and ScrollTo would round that to 0,0 and we wouldn't scroll at all.
Now, we compute a desired scroll destination of 0,1 but also an allowed scroll range for y of
"1 to <someting large>", so ScrollFrameRectIntoView will scroll down by a full pixel to 0,60. This is correct ---
it gets the subpixel area into view, which the previous code didn't --- but it's not really what DoAutoScroll
wants, at least the way test_mousecapture.xul is written. test_mousecapture.xul expects DoAutoScroll to scroll
windowheight+N into view by scrolling down by exactly N pixels, so the desired point is exactly at the bottom
edge of the window rect. Using a zero-sized rect achieves this.

--HG--
extra : rebase_source : 5d3d8cc4417c35dc88ad296a4f13e01d2c1c9233
2012-05-10 17:24:19 +12:00
Robert O'Callahan
412d571a68 Bug 681192. Part 6: Test that various scrolling operations inside scaled transforms don't trigger unnecessary repainting. r=matspal
--HG--
extra : rebase_source : a72afaa7ebb5e9b59cf574cd973f966eee5c7f45
2012-05-10 17:24:19 +12:00
Oleg Romashin
01f49c7c7b Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Oleg Romashin
7ad2071db0 Bug 681192. Part 4: Make ScrollFrameRectIntoView compute a generous allowed scroll destination range. r=roc,matspal
--HG--
extra : rebase_source : 524add7c1080994dd1bc2345cbd6f54c15653d27
2012-02-07 12:22:53 -08:00
Oleg Romashin
936b7eea85 Bug 681192. Part 3: Make nsListControlFrame::ScrollToFrame use ScrollFrameRectIntoView. r=roc
--HG--
extra : rebase_source : c9e0fbbd024e9fe15ca0e2dc0bad1ef90aa51edd
2012-02-07 12:21:13 -08:00
Oleg Romashin
0f88c6891c Bug 681192. Part 2: Make nsIScrollableFrame::ScrollBy automatically set a generous allowed destination range. r=roc
--HG--
extra : rebase_source : 392359b325ca0435031e8f31a47154a82943c2b4
2012-02-07 12:20:57 -08:00
Oleg Romashin
b98e2fe7f1 Bug 681192. Part 1: Add "allowed scroll destination range" to nsIScrollableFrame::ScrollTo and nsGfxScrollFrame implementation. r=roc,matspal
--HG--
extra : rebase_source : 51d04f7e7db35c02de3401a3481d4cc3827c19ec
2012-02-07 16:53:18 -08:00
Robert O'Callahan
2c975e4eb4 Bug 681192. Part 0.3: Add FrameLayerBuilder::GetThebesLayerResolutionForFrame. r=mattwoodrow
--HG--
extra : rebase_source : eea4dee6d081de5c288e295f3549fc88b10e6c39
2012-05-10 17:24:18 +12:00
Robert O'Callahan
5d9d661ae9 Bug 681192. Part 0.2: Use FuzzyEqual to check whether we need to invalidate ThebesLayers when subpixel offsets have changed. r=mattwoodrow
--HG--
extra : rebase_source : d0f8464aea9a436214d394123b1399105ccd0f66
2012-05-10 17:24:18 +12:00
Boris Zbarsky
3a47108ff7 Bug 753397. Add a field to nsCSSPropList for a preference that controls the property. r=dbaron
The actual controlling is not hooked up yet; that will happen in bug 753522 for
the DOM reflections of properties.
2012-05-09 21:29:37 -04:00
Boris Zbarsky
15639de868 Bug 751012. When saving frame state, make sure to walk through placeholders so we save the state of out-of-flow descendants properly. Also make sure to walk the continuations and special siblings of the root frame that we're saving state for. r=roc 2012-05-09 21:27:47 -04:00
Masayuki Nakano
7dbe17ec49 Bug 749563 nsMenuBarListener should ignore consumed alt key events in its keydown and keyup event handlers r=enn 2012-05-10 08:25:48 +09:00
Mats Palmgren
30ee665eeb Bug 751356 - Make presshell arena allocation methods inline and non-virtual. r=bz 2012-05-09 21:53:15 +02:00
Mats Palmgren
206b9047a9 Bug 752953 - Simplify IntersectRect calculations. r=roc 2012-05-09 21:53:15 +02:00
Mats Palmgren
d1fcc7c337 Bug 752953 - Typo in calculation of 'allowExpansion' (result will always be an empty rect) in nsDisplayScrollLayer::ComputeVisibility. r=roc 2012-05-09 21:53:15 +02:00
Heather Arthur
64c7531583 Bug 750556 - crash in mozilla::dom::Element::ClearStyleStateLocks; r=bz 2012-05-09 17:23:57 +01:00
Ehsan Akhgari
2be6b796b2 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Nathan Froyd
b55f7f45cf Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Ed Morley
f6e782e4dc Merge mozilla-central to mozilla-inbound 2012-05-09 10:16:14 +01:00
Ed Morley
a4deefe05e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-09 10:15:40 +01:00
Simon Montagu
3c6ba27d3b Make unicode-bidi: [-moz-]plaintext apply to inline elements. Bug 746987, r=roc 2012-05-09 11:44:52 +03:00
Aharon (Vladimir) Lanin
28753fffb5 Tests for bug 746987. r=smontagu, roc 2012-05-09 11:44:52 +03:00
Joe Drew
14a6d481db Back out changeset 501d38d3892c (Bug 733553) for causing crashes in xpcshell tests. 2012-05-08 21:59:30 -04:00
Adam Dane [:hobophobe]
c6313176ac Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
--HG--
extra : rebase_source : 21ebc85f26fcbc4a4a27387d1ec5007c0886c386
2012-05-08 16:19:01 -05:00
Timothy Nikkel
f1bc26826d Bug 749425. Push the scroll frame clip inside the scroll layer so it gets transformed by the shadow transform. r=roc 2012-05-08 23:15:00 -04:00
Chris Pearce
cad06a23d5 Bug 716107 part 3 - Don't dispatch 'MozShowFullScreenWarning' event upon keypress in DOM fullscreen mode. r=smaug 2012-05-09 09:47:18 +12:00
Chris Pearce
43c670b220 Bug 716107 part 2 - Remove full-screen-api.key-input-restricted keys pref. r=smaug 2012-05-09 09:47:18 +12:00
Simon Montagu
5f38593941 Fix test failures from bug 750551, r=dholbert 2012-05-08 22:36:53 +03:00
Simon Montagu
9962f91da3 Fix some cases where a bidi-isolated element was never going through bidi resolution. Bug 731594, r=roc 2012-05-08 09:22:38 -07:00
Jonathan Kew
5de36dfa91 bug 751151 - move harfbuzz to gkmedias.dll on windows. r=khuey 2012-05-08 08:46:46 +01:00
Jeff Muizelaar
3efeae39c6 Bug 753058. Add SAMPLE_LABELS for shadows. r=ehsan
This will make this things more obvious on the profile.
2012-05-08 18:10:02 -04:00
Ryan VanderMeulen
1672e0808b Mark the reftest for bug 750551 as failing on Linux due to perma-orange. rs=Ms2ger 2012-05-07 17:21:01 -04:00
Jonathan Kew
b9713f2189 Split wordbreak-7 test into two testcases, one without lam-alef ligatures and one with (marked as failing due to bug 479829). Bug 249159, r=smontagu 2012-05-07 12:18:24 -07:00
Simon Montagu
4c1ad111cb More tests for bug 249159, r=jfkthame 2012-05-07 12:18:24 -07:00
Makoto Kato
6bbd48cb4a Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu 2012-05-07 12:18:23 -07:00
Simon Montagu
f6a32bdd95 Make dir=rtl reverse layout direction in horizontal orientation only. Bug 750551, r=dholbert 2012-05-07 12:17:41 -07:00
Simon Montagu
2ac39573ec Tests for bug 750551. r=dholbert 2012-05-07 12:17:41 -07:00
Andrew Quartey
ed5d3bf079 Bug 722599 - Move change event firing to content from layout r=mounir 2012-05-07 12:27:24 -04:00
Ehsan Akhgari
6b43c10380 Backout bug 750551 because of reftest oranges
--HG--
extra : rebase_source : 8947487094a48fb53c50a3c47bdc053db63a7759
2012-05-07 12:34:37 -04:00
Simon Montagu
5a63d1b13b Make dir=rtl reverse layout direction in horizontal orientation only. Bug 750551, r=dholbert 2012-05-07 07:27:44 -07:00
Simon Montagu
0aa6342913 Tests for bug 750551. r=dholbert 2012-05-07 07:27:41 -07:00
L. David Baron
d573b50a05 Add missing GetFirstInFlow() call that was causing a crash in ComputeDescendantWidth when printing with font inflation enabled (or a debug build). (Bug 751797) r=roc
--HG--
extra : transplant_source : %ED%23%02%AFR%24tw%FE%96%D7%D3p%D8%87%F7gV%28L
2012-05-07 07:17:00 +02:00
Jonathan Kew
868ffee94a bug 752176 - only read the style array for valid offsets within the textrun. r=smontagu 2012-05-06 15:55:12 +01:00
L. David Baron
7adc6bba00 Reflow for screen size change when font.size.inflation.minTwips is set. (Bug 747231, patch 4) r=roc
--HG--
extra : transplant_source : %B2c%F2%B9%E0%1DL%DD%AF%A2%842R%F3%BB%60R%1B%9EI
2012-05-05 15:28:06 +02:00
L. David Baron
d875dda857 Expose DocumentViewerImpl::CallChildren with an API that fills an array. (Bug 747231, patch 3) r=roc
--HG--
extra : transplant_source : %FFc%40%AE%D6%22%40%1D%7F%F7%A8%BC%1A%ECG%98G%DCFf
2012-05-05 15:25:45 +02:00
L. David Baron
0b46653dbb Cache the last device width we used for font inflation on the pres context so that we can track when it changes. (Bug 747231, patch 2) r=roc
--HG--
extra : transplant_source : %19%A1%9B%BC%FD_H%5C%60%BB%88%1E%F6%D1%D5%85%24%F7%26%1B
2012-05-05 15:25:45 +02:00
L. David Baron
8e2d262657 Make effect of form controls on font size inflation text threshold not depend on user changes to their value. (Bug 747857) r=roc
--HG--
extra : transplant_source : %82%DCX%81%B2%AAM%A3%A1%A1-%87%10%B3%B6%10kw%F4%FB
2012-05-05 15:24:45 +02:00
Ms2ger
34aac6a555 Bug 716439 - Followup: remove unused variable 'sf'; r=roc 2012-05-05 11:00:06 +02:00
Ms2ger
25be92c77d Bug 732708 - Part d: Remove StorageEventObsolete, NS_NewDOMStorage; r=mayhemer 2012-05-05 11:00:05 +02:00
Ms2ger
d2344a53dc Bug 745523 - Part a: prepare for unprefixing transforms by removing the prefix from internal APIs; r=dbaron 2012-05-05 11:00:04 +02:00
Kyle Huey
c5cbdaf7d3 Bug 718539: Followup to fix MSVC warnings. r=me 2012-05-04 12:45:03 -07:00
Scott Johnson
77bfda7fb2 Bug 749186: Make the root frame always be an inflation container to prevent a crash during font inflation. [r=dbaron] 2012-05-04 12:08:23 -05:00
Scott Johnson
f80ce2f947 Bug 746966: Conditionally set NS_FRAME_IN_CONSTRAINED_HEIGHT for font inflation on percentage-based height so fonts with room to inflate can do so. [r=dbaron] 2012-05-04 12:07:37 -05:00
Ed Morley
635428fcdd Backout f8125b89352d (bug 747857) for frequent test failures 2012-05-04 15:24:42 +01:00
Ed Morley
01d2ddd5d5 Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures 2012-05-04 14:26:09 +01:00
Jeff Muizelaar
3e12f6ef5f Bug 750598. Add some heuristics to catch cases when we can use nearest filtering. r=roc
These may need some tuning to get right, but should be an improvement over
just disabling bilinear for backgrounds.

It also expectedly regresses tcheckerboard & tcheck2 because we're now
using bilinear when we were using nearest before.
2012-05-01 16:35:04 -04:00
Jonathan Watt
108436c1b2 Bug 413960, part 2 - Stop sending out unnecessary COORD_CONTEXT_CHANGED/TRANSFORM_CHANGED notifications from nsSVGOuterSVGFrame. r=longsonr.
--HG--
extra : rebase_source : fa0e8a232559e19b9a151a34a8f235154327409b
2012-05-03 17:05:53 +01:00
Jonathan Watt
86a47f143b Bug 413960, part 1 - Clean up and document various parts of misleading viewBox code. r=longsonr.
--HG--
extra : rebase_source : f9dc173b36d4afbce3a8e256f7aa90d9d231615a
2012-05-03 17:05:40 +01:00
Jonathan Watt
d29802b3a2 Bug 407495 - Make SVG documents with percentage width/height respond to page zoom. r=roc.
--HG--
extra : rebase_source : c4c139693bb5d3b9086f7571dc3363c1c8b27ed5
2012-05-03 17:05:24 +01:00
Robert O'Callahan
8d789110c9 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
--HG--
extra : rebase_source : f68d53736e65c21a30a6248abe6b2b9ec32cdb17
2012-05-04 17:00:57 +12:00
Robert O'Callahan
65e34332be backing out patches for bug 607417 due to build bustage 2012-05-04 17:29:05 +12:00
Robert O'Callahan
9367097525 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel 2012-05-04 17:00:57 +12:00
L. David Baron
3a1e49269e Add missing GetFirstInFlow() call that was causing a crash in ComputeDescendantWidth when printing with font inflation enabled (or a debug build). (Bug 751797) r=roc
--HG--
extra : transplant_source : %B5%FE%E5%DFaH%06%0F%3B%26%C0%E2%8B%3E4%F37%BFi-
2012-05-03 22:55:33 -04:00
Phil Ringnalda
5d8ce3ee63 Bug 738803 - Annotate the Windows assertions in 736924-1.html now that compartment-per-global has made them permanent on Win7 2012-05-03 19:48:06 -07:00
L. David Baron
d2b33df467 Make effect of form controls on font size inflation text threshold not depend on user changes to their value. (Bug 747857) r=roc
--HG--
extra : transplant_source : %1F%7B%3Fk%A6%F1%2C%EAZ%920%FB%FD%FB%3D%8E%9C%C9y%19
2012-05-03 20:04:30 -04:00
Mats Palmgren
6c78ae7c6b Bug 751227 - Remove nsPresShell::mStackArena, make it a separate stack class. r=roc 2012-05-04 02:14:02 +02:00
Mats Palmgren
dbb5859abd Bug 750745 - Allocate nsLineBoxes from their own presshell arena list. part=3/3 r=roc 2012-05-04 02:14:02 +02:00
Mats Palmgren
8582ded41c Bug 750745 - Introduce AllocateByObjectID/FreeByObjectID for allocating non-frame objects from per-type lists in the PresArena. part=2/3 r=roc 2012-05-04 02:14:02 +02:00
Mats Palmgren
125932d5d4 Bug 750745 - Rename nsPresArena::AllocateByCode/FreeByCode to AllocateByFrameID/FreeByFrameID. part=1/3 r=roc 2012-05-04 02:14:02 +02:00
Mats Palmgren
77eb113dbe Bug 615112 - Use correct type for a string length. r=bz 2012-05-04 02:14:01 +02:00
Mats Palmgren
04f80a03f0 Bug 735641 - No way to deselect image of image document after select all (Ctrl+A). r=bz 2012-05-04 02:14:01 +02:00
Mats Palmgren
fe52b9bdf6 Bug 747688. r=roc 2012-05-04 02:14:01 +02:00
Mats Palmgren
194408325c Bug 750066. r=roc 2012-05-04 02:14:01 +02:00
Mats Palmgren
5daf287b9f Bug 748961 - Flush styles to ensure frames are created. r=smaug,Ms2ger 2012-05-04 02:14:01 +02:00
Andreas Gal
407c0b936a Do background image scaling on the GPU. Part 2: Support turning simple background images into image layers (bug 750172, r=roc). 2012-05-03 13:13:12 -07:00
Andreas Gal
5d949cc38a Do background image scaling on the GPU. Part 1: Refactor nsCSSRendering to expose helpers we need in nsDisplayBackground::GetLayerState (bug 750172, r=roc). 2012-05-03 13:11:57 -07:00
Andreas Gal
dceb01a952 Do image scaling on the GPU (bug 650988, r=roc,cjones). 2012-05-03 07:05:55 -07:00
Bas Schouten
700c1894dd Bug 751463: Remove Azure from XUL. r=khuey 2012-05-03 21:21:52 +02:00
Ed Morley
2d35fc9b56 Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Ali Juma
d62323c372 Bug 748048 - Part 1: Remove SetInvalidationDimensions and GetInvalidationDimensions. r=roc 2012-05-03 12:33:51 -04:00
Ehsan Akhgari
7f4dd2e0c3 Bug 751273 - Part 2: Rip out cairo and pixman from libxul; r=khuey
Landing on a CLOSED TREE

--HG--
extra : rebase_source : 92b945b90bb70a020609ad8ac0ffe633076bed10
2012-05-02 16:32:16 -04:00
Ehsan Akhgari
8526beca46 Backed out changeset 27c51f14c3ed (bug 751273) because of build bustage on Linux on a CLOSED TREE 2012-05-02 16:46:25 -04:00
Ehsan Akhgari
eee858e39f Bug 751273 - Part 2: Rip out cairo and pixman from libxul; r=ted
Landing on a CLOSED TREE
2012-05-02 16:32:16 -04:00
Ehsan Akhgari
b4d56168a1 Bug 751201 - Rip out expat from libxul
Landed on a CLOSED TREE
2012-05-02 14:10:53 -04:00
Ehsan Akhgari
4e3fab9c01 Bug 751186 - Rip out qcms from libxul; r=khuey
Landed on a CLOSED TREE
2012-05-02 14:05:46 -04:00
Ehsan Akhgari
7539283b34 Bug 750747 - Rip out libpng from libxul; r=khuey
Landing on a CLOSED TREE
2012-05-02 11:02:15 -04:00
Ehsan Akhgari
123b355ccf Backout changeset e58855b90cf6 (bug 750747) because of build bustage of a CLOSED TREE 2012-05-02 10:04:33 -04:00
Ehsan Akhgari
88ef1acd20 Bug 750867 - Rip out libjpeg from libxul; r=khuey
Landing on a CLOSED TREE
2012-05-02 09:28:52 -04:00
Ehsan Akhgari
ea7d4e2708 Bug 750747 - Rip out libpng from libxul; r=khuey 2012-05-02 09:28:29 -04:00
Jonathan Kew
1ca86e38e0 bug 750728 - move graphite from libxul to libgkmedias on windows, to help with PGO problems. r=khuey a=ehsan to land on a CLOSED TREE 2012-05-01 20:00:35 +01:00
Jonathan Kew
d6a32a09a3 bug 749658 - reftest for unwanted scroll-overflow due to cropped textbox label. r=roc 2012-05-01 11:06:47 +01:00
Timothy Nikkel
a68e973cdb Bug 749816. When setting the display port for an element We only need to discard layer contents when we are hiding a document with a widget. r=roc 2012-05-01 01:43:59 -05:00
Boris Zbarsky
b6ce9bf486 Bug 748803. Don't autofocus the Try Again button in error pages if the error page is not a toplevel page. r=mounir 2012-04-30 21:57:16 -04:00
François Wang
dbc000ab3a Bug 736010 - Make downloaded fonts usable in nsMathMLChar. r=karlt 2012-03-26 17:49:44 +02:00
Ralph Giles
714e73f010 Bug 674225 - Add libopus to the mozilla build system. - r=ted
This builds the opus reference library in media/libopus.
We support both fixed and floating point builds, switched
by MOZ_OPUS_FIXED. Currently this isn't defined by anything
but should probably offer a configure option, and default
to true on arm.

Thanks to Tim Terriberry for additional review.
2012-04-30 16:20:22 -07:00
Jared Wein
0152ba6f95 Bug 702463 - Increasing the timeout of the tests due to the presence of multiple refresh drivers. r=ehsan 2012-04-30 13:44:55 -04:00
Avi Halachmi
3ecca78724 Bug 702463 - Smooth scrolling should use refresh observer instead of a timer. r=roc 2012-03-31 16:08:00 +03:00
Ehsan Akhgari
5fc72ffc39 Merge the latest green PGO changeset from mozilla-inbound to mozilla-central 2012-04-30 10:58:35 -04:00
Jonathan Kew
d522477d09 Bug 749658 - Distinguish scrollable from visual bounds for nsTextBoxFrame. r=roc 2012-04-29 20:34:09 -04:00
Frédéric Wang
5e8fb11547 Bug 657279 - Reftests. r=karlt 2012-04-28 11:02:57 -04:00
Frédéric Wang
b3284f1002 Bug 657279 - maction: transmit automatic data when the selected child changes. r=karlt 2012-04-28 11:02:22 -04:00
L. David Baron
9d59917e97 Examine parentBorder only when parentContext is non-null. (Bug 749860) r=bzbarsky 2012-04-27 21:56:31 -07:00
Ed Morley
fb66bff90a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-27 12:52:26 +01:00
Neil Rashbrook
39ef98d661 Bug 745447 XUL progress meter layout should match HTML r=Enn 2012-04-27 08:42:10 +01:00
Bas Schouten
620d2de9b3 Bug 749467 - Reftest: Add reftest for path continuation after transform changes. r=roc 2012-04-27 07:07:25 +02:00
John Daggett
a867268ca7 Bug 718539. Update reftests to use new font-feature-settings syntax. r=jkew 2012-04-26 15:27:36 +09:00
John Daggett
36057fec8a Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
1d89c211d4 Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron 2012-04-26 15:25:29 +09:00
John Daggett
55925dcb33 Bug 718539. Update layout/style tests for new font-feature-settings syntax. r=dbaron 2012-04-26 15:24:54 +09:00
John Daggett
4fb6d48482 Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron 2012-04-26 15:24:26 +09:00
Nicholas Nethercote
c33177f72e Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Boris Zbarsky
d65ff97c83 Bug 748254. When we encounter an unexpected '}' terminating a font-face descriptor's value, correctly close the font-face rule instead of eating the rest of the stylesheet. r=dbaron 2012-04-26 00:42:00 -04:00
Chris Pearce
6b9a626e74 Bug 745067 - Remove margins by default on fullscreen elements. r=bz 2012-04-26 14:35:23 +12:00
Matt Woodrow
7474fc8aa3 Bug 749055 - Add index parameter to nsDisplayMathMLCharForeground. r=roc 2012-04-27 12:24:54 +12:00
Matt Woodrow
bbc1f6b31e Bug 746421 - Make nsTextBoxFrames overflow area include the LOOSE_INK_EXTENTS of the text. r=jfkthame 2012-04-27 12:24:54 +12:00
Matt Woodrow
86a700a6ae Bug 747718 - Disable ColorLayer optimizations when we have rounded-rect clipping. r=roc 2012-04-27 12:24:53 +12:00
Matt Woodrow
c3bd0c4533 Bug 740072 - Make perspective-origin check the style parent instead of frame parent. r=roc 2012-04-27 12:24:53 +12:00
Thomas Powell
8938ffc81e Bug 742736 - Change box shadows to match rounded or sharp corners of shadowed object when round/sharp alternate corners; r=dbaron 2012-04-29 22:37:04 -04:00