Nicholas Cameron
87a457843f
Bug 758561 - Don't build a mask for an empty layer. r=roc
2012-05-28 21:10:08 -04:00
Nicholas Cameron
d2dd125d17
Bug 757346 - Change from clipping the mask to drawing it. r=roc
2012-05-27 16:55:22 -04:00
Takanori MATSUURA
4e1026d682
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Alexander Surkov
a644c2f36d
Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde
2012-05-24 15:57:16 +09:00
Kartikaya Gupta
8a9a864a95
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Neil Deakin
b9d2d5f9e3
Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz
2012-05-23 14:46:04 -04:00
Kartikaya Gupta
0f2c633486
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
6ab5f951cd
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Robert O'Callahan
9d09bfe7c0
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
2012-05-04 17:00:57 +12:00
Nicholas Cameron
8e7e5c8a18
Bug 753784; force mask layers to have a single tile - misc bits and pieces. r=roc
2012-05-17 10:30:10 +12:00
Nicholas Cameron
ff3f144642
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Jeff Muizelaar
b2782e5074
Bug 757039. Handle non-uniform scales when doing device space blurs. r=roc
...
The Java screenshoting code draws pages at non-uniform scales. It's not much
work to handle these so let's do it.
--HG--
extra : rebase_source : 6b3a2a6db21f9cff4ce97a5a10c368d95f730387
2012-05-22 11:32:08 -04:00
David Zbarsky
74e0408fed
Bug 756813: Prevent creation of ImageLayer if ImageContainer is null r=gal
2012-05-21 10:47:40 -07:00
Ed Morley
c5acb642c1
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
692b93095e
Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
...
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
L. David Baron
54995e2a8e
Remove width determination parameters from font inflation methods. (Bug 747720, patch 5) r=roc
...
These are no longer needed since we're getting the width from the
nsFontInflationData.
2012-05-20 22:18:28 -07:00
L. David Baron
4fa0c843c9
Use the same width basis for font inflation throughout a font inflation flow root. (Bug 747720, patch 3) r=roc
...
Font inflation flow roots are similar to block formatting contexts,
though I'm trying to make not all block formatting contexts be flow
roots in later patches on this bug, bug 707195, and related bugs.
This will lead to more consistent font size inflation in a flow of text
where the blocks vary in width (e.g., because some of the blocks have
horizontal margins) but we determine the text to comprise a single flow.
2012-05-20 22:18:27 -07:00
L. David Baron
88a762e752
Replace AutoMaybeNullInflationContainer with AutoMaybeDisableInflationForShrinkWrap since the concept of the pres context's current inflation container will be going away. (Bug 747720, patch 2) r=roc
2012-05-20 22:18:27 -07:00
Phil Ringnalda
e5bd6b809a
Bug 688128 - Don't run test_flush_on_paint.html on OS X, where it mostly fails, r=roc
2012-05-18 22:22:55 -07:00
Benjamin Smedberg
4f91700da9
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jeff Muizelaar
cf350bd099
Bug 754985. Draw shadows in device space when using a uniform scale. r=roc
...
--HG--
extra : rebase_source : 9d5bf7c1e6a2373718724ace6da1229b2213c1b6
2012-05-16 16:45:25 -04:00
David Zbarsky
dc658d2398
Bug 756229 - Fix some layout warnings. r=roc
2012-05-18 11:42:39 -04:00
Robert Longson
3ca6774243
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron
2012-05-18 09:33:40 +01:00
Aryeh Gregor
81df634941
Bug 756045 - Turn "ASSERTION: anonymous nodes should not be in child lists" into an NS_WARNING; r=bz
2012-05-18 09:20:49 +03:00
Robert Longson
3d82caf05b
Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt
2012-05-17 11:02:41 +01:00
Jonathan Watt
75835eecfc
Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc.
2012-05-17 05:05:09 +01:00
Nicholas Cameron
b9c7de3bfd
Bug 755078 - Disable mask layers on Android. r=roc
2012-05-17 10:30:10 +12:00
Mats Palmgren
6e5d59a73f
Bug 754480 - Remove PresShell members associated with mContentToScrollTo, put that data in a temporary content property instead. part=3/3 r=bz
2012-05-16 19:32:40 +02:00
Mats Palmgren
29312bf552
Bug 754480 - Sort members in size order. Use narrower types where possible. part=2/3 r=bz
2012-05-16 19:32:40 +02:00
Mats Palmgren
48c17889f4
Bug 754480 - Remove unused mDragService member. part=1/3 r=bz
2012-05-16 19:32:40 +02:00
Trevor Saunders
60316084b6
bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug
2012-04-06 17:54:38 -04:00
Robert O'Callahan
2c785185e1
Bug 754196. If ScrollToShowRect has no need to scroll, don't call ScrollTo, so pending smooth scrolls won't be interrupted. r=matspal
2012-05-16 17:40:57 +12:00
Ed Morley
8fd6f302fe
Merge mozilla-central to mozilla-inbound
2012-05-15 18:19:25 +01:00
Serge Gautherie
ac415c0597
Bug 632408. (Bv1) Improve newer test code some more. r=roc.
2012-05-15 15:33:55 +02:00
Vincent LAMOTTE
bcc3cf4e81
Bug 657953 (1/2) - Implement the layout part of the meter element. r=roc
2012-05-16 17:47:10 +02:00
Matt Woodrow
46963a8632
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
Ehsan Akhgari
5634d262e2
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
946c3ed9e9
Bug 754488 - Fix warning in FrameLayerBuilder.cpp. r=dholbert
2012-05-14 19:01:05 -04:00
Mats Palmgren
c6512a9065
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
Matt Woodrow
5939c267ea
Bug 722603 - Improve dirty rect calculation with 3d transforms and preserve-3d. r=roc
2012-05-11 19:49:14 +12:00
Robert O'Callahan
338537b43a
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
b4c51b5b14
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
1b94d7fe2c
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
1c3d441a1d
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
Robert O'Callahan
43cffcf97d
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
a86b9ab41d
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
2e3a0eefe3
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
Mats Palmgren
cdd7c645a3
Bug 751356 - Make presshell arena allocation methods inline and non-virtual. r=bz
2012-05-09 21:53:15 +02:00
Mats Palmgren
20063bafbd
Bug 752953 - Simplify IntersectRect calculations. r=roc
2012-05-09 21:53:15 +02:00
Mats Palmgren
8d873e3e77
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
Ehsan Akhgari
d50878a182
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
6ed0590635
Bug 747508 - Count PresContexts in about:memory; r=njn
2012-05-07 16:09:11 -04:00
Simon Montagu
2be0ebd6db
Make unicode-bidi: [-moz-]plaintext apply to inline elements. Bug 746987, r=roc
2012-05-09 11:44:52 +03:00
Jeff Muizelaar
b86c4d522e
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
Chris Pearce
b3d3b85810
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
1379e2c7dc
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
2a08ff1378
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
Makoto Kato
ae4279cc0e
Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu
2012-05-07 12:18:23 -07:00
L. David Baron
efa60346db
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
e0f7819e29
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
55af249e28
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
Scott Johnson
9d44d76b7d
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
Ed Morley
87c7ae65b6
Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures
2012-05-04 14:26:09 +01:00
Robert O'Callahan
02b9f4cdf5
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
f1052e524a
backing out patches for bug 607417 due to build bustage
2012-05-04 17:29:05 +12:00
Robert O'Callahan
2e766e37ce
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
2012-05-04 17:00:57 +12:00
Phil Ringnalda
78732b79ad
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
Mats Palmgren
f86f27bb38
Bug 751227 - Remove nsPresShell::mStackArena, make it a separate stack class. r=roc
2012-05-04 02:14:02 +02:00
Mats Palmgren
3a8a0731b4
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
59250ec053
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
bdf3368941
Bug 750745 - Rename nsPresArena::AllocateByCode/FreeByCode to AllocateByFrameID/FreeByFrameID. part=1/3 r=roc
2012-05-04 02:14:02 +02:00
Andreas Gal
f02dd1247e
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
decc52b9a1
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
6ced71cf11
Do image scaling on the GPU (bug 650988, r=roc,cjones).
2012-05-03 07:05:55 -07:00
Nicholas Cameron
925f7ef466
Bug 716439; load a mask texture in the OGL backend. r=BenWa
2012-03-19 09:08:49 +13:00
Nicholas Cameron
06d16ddac0
Bug 716439; creating mask layers. r=roc
2012-02-08 11:27:44 +13:00
Nicholas Cameron
30a8eb0b61
Bug 716439; recycling mask layers. r=roc
2012-02-08 11:26:40 +13:00
Nicholas Cameron
32f2aad481
Bug 716439; User data for mask layers. r=roc
2012-02-08 11:26:33 +13:00
Robert O'Callahan
12e3b37b2f
Bug 749075. Part 2: Skip the guts of Accumulate if we're adding a display item in an area of the layer that's already opaque and visible. r=mattwoodrow
...
This patch moves some stuff that needs to be done for every item up to the front of the function, then checks to
see if the item is being added in an area that's already opaque and visible. If so (and assuming the
color-layer optimization has already been disabled), none of the rest of the method would do anything so we
can exit early. In particular we avoid calling IsUniform and GetOpaqueRegion on the item, and we also avoid
some expensive region manipulation.
2012-05-03 16:29:05 +12:00
Robert O'Callahan
3e30bf4a46
Bug 749075. Part 1: Refactor the nsDisplayItem API for testing whether the item needs to be rendered to a transparent surface. r=mattwoodrow
...
Currently we return an extra out parameter on GetOpaqueRegion. This is ugly and it's also going to be inefficient
because in a followup patch I'm going to avoid calls to GetOpaqueRegion, but we still need to know whether the item
needs a transparent surface. So this patch removes that out parameter. Instead, we rely on the fact that only
Windows' glass-window-background display item needs to force a transparent surface, and there can only be one
of those per window. So we store a reference to it in the nsDisplayListBuilder if there is one, and then we can
efficiently tell if any leaf display item is the one that forces a transparent surface. For display items that
wrap a list, we continue to store whether they need to force a transparent surface in a boolean in the list.
2012-05-03 16:29:05 +12:00
Timothy Nikkel
674735aa60
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
Thomas Powell
c9dde4a2f2
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
Andreas Gal
0c2b4c6934
Render active layers at full resolution and transform them on the GPU (bug 750006, r=roc).
2012-04-29 14:41:13 -07:00
Matt Woodrow
af34986dc9
Bug 747718 - Disable ColorLayer optimizations when we have rounded-rect clipping. r=roc
2012-04-27 12:24:53 +12:00
Matt Woodrow
3585a9ddba
Bug 740072 - Make perspective-origin check the style parent instead of frame parent. r=roc
2012-04-27 12:24:53 +12:00
Wes Johnston
7a5cda5328
Bug 741247 - Dispatch touch events to the active tabs presShell. r=smaug
2012-04-26 14:40:05 -07:00
Chris Lord
8f9b90984f
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
68fdd39a98
Back out 4114c654f5d0 (bug 745177) because of Mac build errors
2012-04-24 20:18:50 -07:00
Masayuki Nakano
ba56663cd3
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Masayuki Nakano
f7ded730f8
Bug 731878 part.1 Implement D3E initMouseEvent() and getModifierState() but they shouldn't be public r=smaug
2012-04-25 12:00:01 +09:00
Chris Lord
7f2c8c3737
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Patrick Wong
30fd6e9e6a
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Timothy Nikkel
5fce132cd1
Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc
2012-04-24 13:52:35 -05:00
Simon Montagu
9dcf8f9502
bug 738101 - Use the new mozilla::unicode::GetBidiCat instead of the old GetBidiCat. r=jfkthame
2012-04-18 21:54:54 -07:00
Jeff Muizelaar
de2c1757b4
Bug 745864. Add SAMPLE_LABELs to layout code. r=roc, a=joe
...
--HG--
extra : rebase_source : d826780c34692d333442b6bf563791b53bf3aa3d
2012-04-16 14:37:59 -04:00
George Wright
12d88421d4
Bug 747274 - Add a pref (default to true on Android) to forcible use nearest pixel filtering for background drawing. r=jrmuizel,ajuma a=blassey
2012-04-24 10:28:46 -04:00
Ehsan Akhgari
bf39be2f45
Backout 190fc7cd65c6 (bug 747274) for breaking Android R1; a=bustage
2012-04-23 19:06:10 -04:00
Joe Drew
59b12ae642
Backout 492d12fa8b65 (bug 732016) for regressions. a=regression
...
--HG--
extra : rebase_source : cda0401baa2c3e5f6192f76c1cd25eca8187a9a0
2012-04-23 11:13:33 -07:00
George Wright
97e5839e99
Bug 747274 - Add a pref (default to true on Android) to forcibly use nearest pixel filtering for background drawing. r=jrmuizel,ajuma a=blassey
2012-04-23 11:50:29 -04:00