Граф коммитов

39390 Коммитов

Автор SHA1 Сообщение Дата
Benoit Jacob 61df69f208 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 aebf0bb92a 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 ed427f9600 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 e5ed95579b 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 562cb87289 Bug 959380 - 1/5 - Make gfxBreakPriority a typed enum - r=jrmuizel 2014-01-23 13:26:39 -05:00
Benoit Jacob 0f318259cc Bug 963198 - Don't mix up byte-size and array-length - r=tn 2014-01-23 17:34:04 -05:00
Andrew Halberstadt d43f476473 Bug 958533 - Add b2g desktop to the reftest sandbox, r=jgriffin 2014-01-23 16:02:22 -05:00
Ryan VanderMeulen 9ad7bf9573 Backed out changeset 07e5bf2cb7c8 (bug 913597) for desktop B2G failures.
CLOSED TREE
2014-01-22 12:48:44 -05:00
Dan Glastonbury ff05196cac 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 4923504486 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 18489c67b2 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 ddc963a2e5 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 fa809234df Backed out changeset 31ef6f1090fd (bug 916350) for android reftest bustage on a CLOSED TREE 2014-01-21 15:37:02 -08:00
Daniel Holbert 25c7be4d53 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 6d77f726d5 Bug 783470 part 4: reftests for visibility:collapse on flex items. r=mats 2014-01-21 14:52:30 -08:00
Daniel Holbert 23a7b2bd07 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 2781ee2855 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 8e6318cf6a 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 65b190d25f Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-21 17:25:20 -05:00
Ehsan Akhgari c5f22afad7 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 8307cab9c4 Backed out changeset 0e34a26a4353 (bug 924972) because of more test failures 2014-01-21 14:33:57 -05:00
Ehsan Akhgari c209e6d871 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 cf3277421c Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Ehsan Akhgari e0812319f4 Backed out changeset 746018b05d67 (bug 924972) because of test failures 2014-01-21 11:33:28 -05:00
Ehsan Akhgari da1007e9c3 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 ca52f0f989 Backout 2c24dc80aa00 (bug 916350) for Android reftest/crashtest orange on this CLOSED TREE 2014-01-20 20:08:43 -05:00
Andrew Halberstadt 9ba71d3248 Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-20 17:44:44 -05:00
Ehsan Akhgari 67c9084c33 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 940bc988cd 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 3713935b99 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 5752cf4397 Bug 961354 part 1: Move nsCSSOffsetState constructor definition to .cpp file. r=mats 2014-01-20 14:02:18 -08:00
Robert Longson 418f841cdb Bug 826114 - Support Filter Effects specification feColorMatrix saturate type range. r=mstange 2014-01-20 12:42:47 +00:00
Ms2ger 2320cf3218 Merge central to inbound. 2014-01-20 09:36:09 +01:00
Ms2ger 384f5ca9e3 Merge latest PGO-green changeset from inbound to central. 2014-01-20 09:30:38 +01:00
Ms2ger 4f1e9b830b Bug 956015 - Add an infallible nsIDocShellTreeItem::ItemType; r=bz 2014-01-20 08:58:26 +01:00
Timothy Nikkel 382342f71e 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 4d480a3fbd Bug 941095 - Restore subpixelaa on HIDPI. r=backout 2014-01-19 22:31:02 -05:00
Timothy Nikkel eeeb31d1b6 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 81bb2e8383 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) 381b7d7753 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 096a8e10cf 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 e421987df1 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 c7347c2369 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 5015c16747 merge m-c to fx-team 2014-01-19 10:42:28 +01:00
Markus Stange 9d0bded724 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 029b2ba6b4 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 974bbc4dfb 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 11747f4e5c 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 d3685fbd39 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
Cameron McCormack 859698bb4e Backout 3635e6adde70, 8600c8ad593f and 1f72556326be (bug 960848 and bug 960899) for lots of red. 2014-01-18 19:03:30 +11:00
Cameron McCormack b7fbb111c5 Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron 2014-01-18 18:08:22 +11:00
Cameron McCormack cb9169a995 Bug 960848 - Part 2: Swap NS_BLOCK_HAS_FIRST_LETTER_CHILD and NS_BLOCK_FRAME_HAS_INSIDE_BULLET bit values. r=dbaron 2014-01-18 18:08:03 +11:00
Cameron McCormack 32f0532fc2 Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron 2014-01-18 18:07:54 +11:00
Ryan VanderMeulen 9752f3f2a2 Merge m-c to fx-team. 2014-01-17 15:20:15 -05:00
Jan Beich 91d1a01aac Bug 960664 - Unbreak libc++ build after 358f4a9aac18 (bug 157846) by using mozilla::Abs in nsTextControlFrame::CalcIntrinsicSize. r=roc 2014-01-17 10:03:44 -05:00
Tom Schuster e939a46cb8 Bug 691614 - Make content zooming work with e10s Firefox. r=felipe 2014-01-13 18:36:26 +01:00
Robert Longson 99ae20a737 Bug 951268 - Test. 2014-01-17 11:06:13 +01:00
Peiyong Lin 14bf63554d Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert 2014-01-16 17:34:44 -08:00
Horia Iosif Olaru d457045f4b Bug 959674 - Add reftests. r=roc 2014-01-14 23:02:56 +02:00
Horia Iosif Olaru 67a4b6100d Bug 959674 - Check if any blend mode other than normal should be applied to the image and draw the background-color if so. r=roc 2014-01-14 22:57:49 +02:00
Ryan VanderMeulen fdd6001939 Merge m-c to inbound. 2014-01-16 15:07:22 -05:00
Ryan VanderMeulen 127438a7eb Merge inbound to m-c. 2014-01-16 15:06:12 -05:00
Neil Rashbrook f341e7e843 Bug 940040 Pressing and releasing "Alt" should not open the File menu on Linux r=enndeakin 2014-01-16 19:31:12 +00:00
Gijs Kruitbosch 0daa541342 Bug 956524
--HG--
extra : rebase_source : 1bfe727a03a06a90a49c7002a9d2a71bc17acbfe
2014-01-16 16:57:13 +01:00
Vivien Nicolas 7ba68b386c Bug 942246 - Event fluffing fails to generate a click under certain conditions. r=smaug 2014-01-16 15:52:27 +01:00
Olli Pettay 124795557f Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Nathan Froyd 986b7160ef Bug 960631 - delete some dead templates in nsRuleNode.cpp; r=dholbert 2014-01-16 12:52:10 -05:00
Alive Kuo 1c71633710 Bug 959945 - Fix box-sizing warning in html.css. r=bz 2014-01-16 08:45:22 -05:00
Ryan VanderMeulen e4e6ae0380 Backed out changeset 347d5704cbe1 (bug 930793) for frequent Linux mochitest-bc orange.
CLOSED TREE
2014-01-15 14:11:20 -05:00
Tom Schuster f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Gian-Carlo Pascutto 86b9a69241 Bug 783047 - Update SafeBrowsing URLs to use HTTPS. r=mmc,dcamp sr=gavin 2014-01-16 09:27:59 +01:00
Daniel Holbert 90a02bd73b Bug 959948: Drop unused forward-declarations and includes in layout/forms/nsI*Frame.h r=mats 2014-01-15 21:28:33 -08:00
Cameron McCormack 7f595ed104 Bug 960312 - Rename TEXT_IS_IN_SINGLE_CHAR_MI to NS_FRAME_IS_IN_SINGLE_CHAR_MI to make it clear it's global. r=roc 2014-01-16 16:10:09 +11:00
Cameron McCormack 6b4bf8fa52 Backout rev 994659cbc145 (bug 960312) for various test failures. 2014-01-16 14:45:01 +11:00
Alex Henrie 9886906ee1 Bug 157846. Main patch: Propagate text <input> padding down to its scrolled child and add 1px left/right padding to stylesheets as needed. Fix tests. r=roc
Original patch by Charly Molter. Help from Robert O'Callahan and Jim Mathies.

--HG--
extra : rebase_source : eacfe5696e9831f149157bbd7fe697c0f8020604
2014-01-13 08:13:10 -05:00
Cameron McCormack 0bc2fdc9e2 Bug 960312 - Move TEXT_IS_IN_SINGLE_CHAR_MI to a class specific frame state bit value. r=roc 2014-01-16 13:55:19 +11:00
Robert O'Callahan e5939669c9 Bug 157846. Part 0.2: Relax heuristic used to detect 'monospace' font for <input> sizing so that it at least includes 'monospace' font-family in Windows 7. r=mats
--HG--
extra : rebase_source : 70bfb8df0c582433ea786b7092536806186ca3d3
2014-01-16 14:37:41 +13:00
Robert O'Callahan 9fee26b161 Bug 157846. Part 0.1: When reflowing a non-rootframe reflow root, preserve its used padding in case that differs from its CSS computed padding for some reason. r=mats
--HG--
extra : rebase_source : 15631dc5a5f40dc2d95b1eaa7698fba635763626
2014-01-15 22:47:36 +13:00
Robert O'Callahan 748b9049f1 Bug 157846. Part 0: Make tests more robust to padding changes and clipping of overflowing glyph edges. r=mats
--HG--
extra : rebase_source : f7d8ecb0df3fbbea593e46e515db47ee705392c7
2014-01-15 22:42:05 +13:00
Bill McCloskey b6859762c2 Bug 919878 - Fix abort in graphics code if content process shuts down quickly (r=mattwoodrow) 2014-01-15 13:10:39 -08:00
Nathan Froyd b624dfcb52 Bug 813742 - add --parallel option for mach reftest-esque things; r=ted 2014-01-15 09:37:12 -05:00
Nicholas Cameron 9aa2bb4046 Bug 914847. Mini-flush for animations. r=dbaron 2013-10-22 14:14:41 +02:00
Nicholas Cameron 671bba2fbd Bug 914847. Use a mini-flush instead of a full style flush. r=dbaron 2013-10-22 14:13:26 +02:00
Botond Ballo 3de2ebacb7 Bug 959198 - Have APZ hit testing respect mozpasspointerevents. r=kats
--HG--
extra : rebase_source : aafa0b5bf9839f583b84151afc4a3c805fabee0a
2014-01-16 15:19:59 -05:00
Ali Akhtarzada cd930785a2 Bug 959123 - Implement CairoImage::GetAsSourceSurface. r=nical
Deprecate CairoImage::Data::mSurface and add an mSourceSurface.
Also change all the callers of CairoImage::SetData to set the
SourceSurface as well.

Also change scope of CairoImage::mSource to private
2014-01-17 11:22:09 -05:00
Nathan Froyd 28051e3089 Bug 813742 - add --run-tests-in-parallel option to reftests; r=ted 2013-07-31 11:07:23 -04:00
Timothy Nikkel ef53e524ae Bug 909305. Use crisp edge rendering to avoid small rounding differences in image scaling. r=emorley 2014-01-15 09:21:31 -06:00
Kartikaya Gupta 7d097f42c5 Bug 900592 - Add nsPresShell::GetCumulativeResolution r=tn
--HG--
extra : rebase_source : 335da23741801779ff23c0a2802f286dddb6f49d
2014-01-15 09:16:41 -06:00
Frédéric Wang c05a4b62fc Bug 838509 - Part 3: Update tests for mstyle/math and add more tests. r=roc 2014-01-15 10:08:00 -05:00
Frédéric Wang 36618efb4f Bug 838509 - Part 2: Remove mstyle presentation data and frame class. r=roc 2014-01-15 10:07:45 -05:00
Frédéric Wang d09cde4286 Bug 838509 - Part 1: Make MathML frames use GetAttr instead of GetAttribute. r=roc 2014-01-15 10:07:06 -05:00
Ali Akhtarzada 38031fe6db Bug 958490 - Implement ImageContainer::Lock/GetAsCurrentSurface. r=nical
Added member functions GetCurrentAsSourceSurface and
LockCurrentAsSourceSurface to return a gfx::SourceSurface instead
of a gfxASurface.

Deprecated LockCurrentAsSurface and GetCurrentAsSurface
2014-01-15 10:06:43 -05:00
Nick Lebedev 8f48b7bbc6 Bug 795567 - Part 1: Add touch-action css property to the style system. r=dbaron 2014-01-15 10:03:15 -05:00
James Kitchener 609b0e1d69 Bug 442637 - Add ssty related tests. r=fredw 2014-01-15 09:49:41 -05:00
James Kitchener 3a014bfa5f Bug 442637 - Apply ssty font feature setting to appropriate MathML elements. r=roc
--HG--
rename : layout/generic/MathVariantTextRunFactory.cpp => layout/generic/MathMLTextRunFactory.cpp
rename : layout/generic/MathVariantTextRunFactory.h => layout/generic/MathMLTextRunFactory.h
2014-01-15 09:49:20 -05:00
James Kitchener d1622128f3 Bug 442637 - MathML changes to support ssty setting. r=fredw 2014-01-15 09:49:00 -05:00
Olli Pettay 9baee632d4 Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : 5b466917ad1b1b5ef75119cfbeba75861cb49823
2014-01-15 14:00:52 +02:00
Daniel Holbert 4eee5840d2 (no bug) Drop some grammatically-incorrect apostrophe characters in comments within nsComboboxControlFrame.cpp. (comment-only, DONTBUILD) 2014-01-14 22:06:47 -08:00
Daniel Holbert e5be126284 Bug 958802 part 2: Disable CSS error reporting in mochitest test_extra_inherit_initial.html, to avoid wasting time reporting all of its (expected) parse errors. r=bz 2014-01-14 21:43:28 -08:00
Daniel Holbert 2732b88705 Bug 958802 part 1: Make mochitest test_extra_inherit_initial.html process all properties in one go. r=bz 2014-01-12 22:27:04 -08:00