Commit Graph

19769 Commits

Author SHA1 Message Date
Boris Zbarsky
ade99301a4 Bug 962628. Make '+' and '~' combinators work at the top level of an anonymous content forest. r=heycam 2014-01-23 15:18:06 -05:00
Benoit Jacob
67a17b1047 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
93826fc6b0 Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3846defaec Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3369ca8bb6 Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
046f19e630 Bug 959380 - 1/5 - Make gfxBreakPriority a typed enum - r=jrmuizel 2014-01-23 13:26:39 -05:00
Cameron McCormack
57e1ae7505 Bug 962427 - Make RestyleManager.cpp's GetNextBlockInInlineSibling static. r=dbaron 2014-01-23 15:24:22 +11:00
Ehsan Akhgari
026e591974 Bug 289384 - Run the native key binding handlers from nsEditorEventListener; r=Neil,masayuki 2014-01-22 22:18:51 -05:00
Ryan VanderMeulen
4e194d306a Backed out changeset 07e5bf2cb7c8 (bug 913597) for desktop B2G failures.
CLOSED TREE
2014-01-22 12:48:44 -05:00
Dan Glastonbury
179ac4d20f Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert 2014-01-23 00:44:16 +09:00
Benoit Girard
49072be9c6 Bug 950488 - Overhaul APZ handling of overflow:hidden. r=botond
--HG--
extra : rebase_source : 6ba93899e5ac446b5c4a4cacb18574dd05c54c62
2014-01-21 12:33:52 -05:00
Jonathan Watt
c948a96d59 Bug 949891 - Make nsNumberControlFrame a leaf frame so that only its CreateAnonymousContent method can create child frames. r=dholbert 2014-01-14 12:40:01 +00:00
Daniel Holbert
ac7ee96123 Bug 962267: Move nsFlexContainerFrame.h's forward-decls into the class's scope. r=mats 2014-01-21 17:05:07 -08:00
Wes Kocher
3fdc89e897 Backed out changeset 31ef6f1090fd (bug 916350) for android reftest bustage on a CLOSED TREE 2014-01-21 15:37:02 -08:00
Daniel Holbert
93349644a3 Bug 783470 part 5: Add assertion to ensure we don't create FlexItems for abspos children. rs=mats 2014-01-21 14:52:32 -08:00
Daniel Holbert
70d18762a8 Bug 783470 part 4: reftests for visibility:collapse on flex items. r=mats 2014-01-21 14:52:30 -08:00
Daniel Holbert
ba6b5c54fa Bug 783470 part 3: Use the strut metadata we've saved to actually build special "strut" FlexItems on our second pass through reflow. r=mats 2014-01-21 14:52:27 -08:00
Daniel Holbert
d53b425443 Bug 783470 part 2: Create an array with information about each visibility:collapse "strut" that we need to build. r=mats 2014-01-21 14:51:58 -08:00
Daniel Holbert
a42f13cbbc Bug 783470 part 1: Split most of flex reflow into a helper-function, so that we can easily restart it by reinvoking that helper. r=mats 2014-01-21 14:51:57 -08:00
Andrew Halberstadt
85cd622dfd Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-21 17:25:20 -05:00
Ehsan Akhgari
d86cae744f Bug 924972 - Enforce the focus before running every subtest of test_reftests_with_caret.html 2014-01-21 15:45:18 -05:00
Ehsan Akhgari
e041880100 Backed out changeset 0e34a26a4353 (bug 924972) because of more test failures 2014-01-21 14:33:57 -05:00
Ehsan Akhgari
e680555714 Bug 924972 - Enforce the focus before running every subtest of test_reftests_with_caret.html 2014-01-21 13:27:04 -05:00
guozhu cheng
ad7c57c25d Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Ehsan Akhgari
5165b87f93 Backed out changeset 746018b05d67 (bug 924972) because of test failures 2014-01-21 11:33:28 -05:00
Ehsan Akhgari
e6ea7527a5 Bug 924972 - Enforce the focus before running every subtest of test_reftests_with_caret.html 2014-01-21 10:32:41 -05:00
Nathan Froyd
1fa44f8848 Backout 2c24dc80aa00 (bug 916350) for Android reftest/crashtest orange on this CLOSED TREE 2014-01-20 20:08:43 -05:00
Andrew Halberstadt
9464506911 Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-20 17:44:44 -05:00
Ehsan Akhgari
a0d854f7ae Backed out changeset 1e7ec87921a5 (debugging patch for bug 924972) because it's no longer needed
--HG--
extra : rebase_source : 311a86827be79de56abd61e48bac0c3268b891bb
2014-01-20 17:35:43 -05:00
Ehsan Akhgari
5e07b692be Bug 924972 - Wait for focus before running test_reftests_with_caret.html and also focus the iframe inside the test properly; r=Enn 2014-01-20 17:27:27 -05:00
Daniel Holbert
c0b5e30210 Bug 961354 part 2: Don't consider absolutely-positioned elements to be flex items, since they don't participate in normal flex layout. r=mats 2014-01-20 14:02:20 -08:00
Daniel Holbert
75786a2bcd Bug 961354 part 1: Move nsCSSOffsetState constructor definition to .cpp file. r=mats 2014-01-20 14:02:18 -08:00
Robert Longson
d20697fa25 Bug 826114 - Support Filter Effects specification feColorMatrix saturate type range. r=mstange 2014-01-20 12:42:47 +00:00
Ms2ger
3fb8078022 Merge central to inbound. 2014-01-20 09:36:09 +01:00
Ms2ger
437f4d6ea7 Merge latest PGO-green changeset from inbound to central. 2014-01-20 09:30:38 +01:00
Ms2ger
a8af3aad23 Bug 956015 - Add an infallible nsIDocShellTreeItem::ItemType; r=bz 2014-01-20 08:58:26 +01:00
Timothy Nikkel
491cf736ad Bug 931028. Remove app units per pixel argument from nsDisplayTransform::GetTransform. r=mattwoodrow
All callers were using, and should only be using, the same value.
2014-01-20 00:56:55 -06:00
Benoit Girard
b60a7290fe Bug 941095 - Restore subpixelaa on HIDPI. r=backout 2014-01-19 22:31:02 -05:00
Timothy Nikkel
b2654ec621 Bug 931028. Transform matrices when used for painting related things should be in dev pixels and not CSS pixels. r=mattwoodrow 2014-01-19 17:30:36 -06:00
Ryan VanderMeulen
d6d4c57e16 Merge m-c to inbound. 2014-01-19 15:41:22 -05:00
Cameron McCormack ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
5eb40de2bc Bug 945105 patch 4: Add reftest. r=heycam
I confirmed that the test fails as expected without the patch, and
passes with the patch.
2014-01-19 11:04:57 -08:00
L. David Baron
5b9d1c52c2 Bug 945105 patch 3: Replace changes to ComputeStyleChangeFor with a check of GetPrevContinuationWithSameStyle to avoid the duplication in a way that still doesn't break direct restyling of an element whose continuations have different styles. r=heycam 2014-01-19 11:04:56 -08:00
L. David Baron
9a38f889bc Bug 945105 patch 2: Convert RestyleManager::ComputeStyleChangeFor from while loops to for loops to make it easier to add continue statements to it. r=heycam 2014-01-19 11:04:56 -08:00
L. David Baron
a57a73469c Bug 945105 patch 1: Revert the changes to RestyleManager::ComputeStyleChangeFor from bug 898333, patch 2, since they cause skipping (in addition to the desired skipping) of continuations that do need restyling, in the case of directly restyling an element where continuations have different styles. r=heycam 2014-01-19 11:04:56 -08:00
Tim Taubert
5982a00404 merge m-c to fx-team 2014-01-19 10:42:28 +01:00
Markus Stange
9703b89906 Bug 889085 - Don’t draw CSS background color for themes root frames. r=roc. 2014-01-18 12:51:03 +01:00
Robert O'Callahan
6c29c3731b Bug 647813. XUL popups anchored to a <select> should not size themselves to the <select>. r=mats
--HG--
extra : rebase_source : 3be93d1e796ef8ec4e6565a083e9abe19879566e
2014-01-15 16:07:31 +13:00
Robert O'Callahan
bd921d1878 Bug 960277. Part 3: nsFieldSetFrame's anonymous child should not inherit CSS 'position', but should still be an abs-pos containing block if the fieldset is. r=mats
--HG--
extra : rebase_source : 9e1109c3c1216df58281b7c81447e44da97f681b
2014-01-17 23:39:04 +13:00
Robert O'Callahan
6873fe1715 Bug 960277. Part 2: Move nsFieldSetFrame declaration to nsFieldSetFrame.h. r=mats
--HG--
extra : rebase_source : 6b0da46311f24238d48c6d8045fe87c6f90d11ce
2014-01-16 15:20:20 +13:00
Robert O'Callahan
7efbad68b7 Bug 960277. Part 1: Don't optimize away frame reconstruction for 'transform' add/remove if the element has complex abs-pos container structure. r=mats
--HG--
extra : rebase_source : 4a1b57df9146a31ce8e25a7b215d2eb1edb09a55
2014-01-16 14:39:30 +13:00