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

15028 Коммитов

Автор SHA1 Сообщение Дата
Ting-Yu Lin 1889f6bc41 Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
CJKu 7b577b9c98 Bug 686281 - Rename nsStyleSVGReset::mLayers to nsStyleSVGReset::mMask; Rename nsStyleBackground::mLayers to nsStyleBackground::mImage. r=dbaron 2016-01-28 06:39:00 +01:00
CJKu a53d05d2f7 Bug 686281 - Mask CSS rendering; r=mstange 2016-01-28 06:29:00 +01:00
CJKu 538b854ad1 Bug 686281 - Rename *background* to *imagelayer*; r=dbaron. 2016-01-28 06:27:00 +01:00
CJKu 2d363d1b79 Bug 686281 - Implement nsStyleImageLayers; r=dbaron 2016-01-28 06:24:00 +01:00
Xidorn Quan 00b4af1798 Bug 1230034 part 10 - Convert remaining frame properties to by typed and remove the unsafe declaring macro. r=dbaron
--HG--
extra : source : 19140dd4f1640c4600a0f9e0ff790b44f0cd83ca
2016-01-28 14:23:59 +11:00
Xidorn Quan d0bf371cc8 Bug 1230034 part 9 - Convert FrameLayerBuilder::LayerManagerDataProperty to be typed. r=dbaron
--HG--
extra : source : 3f863ed01beb63fa8bd5d09e9d3e4afa98ad4924
2016-01-28 14:23:59 +11:00
Xidorn Quan a6ceca05bd Bug 1230034 part 7 - Convert nsIFrame::GenConProperty to be typed. r=dbaron
--HG--
extra : source : 5c803eae9303a390034dea7878beb48e6ffafbe2
2016-01-28 14:23:59 +11:00
Xidorn Quan 072dccd81f Bug 1230034 part 6 - Convert all frame properties which do not hold pointer to be typed. r=dbaron
--HG--
extra : source : f95f143e0e521ad2f8726097a484de402c834620
2016-01-28 14:23:59 +11:00
Xidorn Quan e397870be2 Bug 1230034 part 5 - Convert all frame properties which use DeleteValue and ReleaseValue as destructor to be typesafe. r=dbaron
By changing signature of those two functions, we make compiler complain about
all their existing uses, so we can find all of them and convert them.

Some of the callsites of Get() with those properties are also converted, but not
all of them. It is fine because if there is any incorrect conversion, compilers
is able to find out now. So they are completely typesafe.

--HG--
extra : source : 808415985d3d446f18941eb007a9be9d69d180ce
2016-01-28 14:23:59 +11:00
Xidorn Quan 6ad1442a53 Bug 1230034 part 4 - Make FramePropertyDescriptor to be a template. r=froydnj,dbaron
This patch makes methods of FramePropertyTable and FrameProperties to be
simple template wrapper functions. Then it converts all references to
FramePropertyDescriptor to use "void" parameter to simulate the current
unsafe behavior.

SmallValueHolder is used for storing small values like int32_t, float,
which can fit in the size of a pointer directly, and thus no lifetime
management is needed.

--HG--
extra : source : 88b2723cddf119d73d8a442d8238b50406e9d604
2016-01-28 14:23:59 +11:00
Xidorn Quan 0b71314608 Bug 1230034 part 3 - Move some frame property declaration around. r=dbaron
--HG--
extra : source : d67dd26db9f0349d2e8ef71f8def9fad7856fe1e
2016-01-28 14:23:59 +11:00
Xidorn Quan c0de0d582b Bug 1230034 part 2 - Constify aFrame parameters of frame property functions. r=dbaron
--HG--
extra : source : c77565f815bd055a551679290da8cb985d2d2bb0
2016-01-28 14:23:59 +11:00
Nicholas Nethercote 69864216ec Bug 1187144 (part 10) - Replace nsBaseHashtable::Enumerate() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : 70a2c797f09d094efe3fff2d1059fdd4ec4eeaab
2016-01-26 22:21:30 -08:00
Nicholas Nethercote e8ec9b6cae Bug 1187144 (part 9) - Replace nsBaseHashtable::Enumerate() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : ce26a8689194178f8cd8e95c9948ad6bdf1fdc67
2016-01-24 21:13:51 -08:00
Nicholas Nethercote 79149eff2b Bug 1187144 (part 8) - Replace nsBaseHashtable::Enumerate() calls in layout/ with iterators. r=heycam.
--HG--
extra : rebase_source : 9c06cfb02d2ffccd5dcf98473f2d96d69c0c07f7
2016-01-24 18:45:29 -08:00
Xidorn Quan 3006d3929b Bug 1064843 part 10 - Create and render backdrop frame for top layer frames. r=dbaron
--HG--
extra : source : 744e89b823a925df685d4d5e94b5e2bec4bedd6f
2016-01-28 10:11:00 +11:00
Xidorn Quan 40e6a8ba55 Bug 1064843 part 9 - Change nsCSSFrameConstructor::CreatePlaceholderFrameFor to accept parent style context. r=dbaron
--HG--
extra : source : 60c4b5e2ef34d1b917b9ee33359860843f4238e2
2016-01-28 10:11:00 +11:00
Xidorn Quan 0dfd29d523 Bug 1064843 part 4 - Add a placeholder type for top layer. r=roc
--HG--
extra : source : 6a8aceee1829e243331cdf375163ae2696824a94
2016-01-28 10:11:00 +11:00
Nicholas Nethercote 26360d6c45 Bug 1239864 (part 9) - Use the new rect iterators in layout/ and ipc/. r=dholbert.
--HG--
extra : rebase_source : d5558c39bd3cfe85ee6f247eea8bab33f2f5027f
2016-01-18 17:20:59 -08:00
Carsten "Tomcat" Book 92b2943e68 Merge mozilla-central to mozilla-inbound 2016-01-27 12:10:56 +01:00
Carsten "Tomcat" Book b9e929e1a7 merge mozilla-inbound to mozilla-central a=merge 2016-01-27 11:59:49 +01:00
Matt Woodrow 738bca3b20 Bug 1240073 - Use the transformed frame as the AGR for active transform so that FrameLayerBuilder knows that they can move independently. r=tnikkel
--HG--
extra : rebase_source : ef1193b1c1ae351b910e5e4dae308698e83482e5
2016-01-21 17:02:31 +13:00
Matt Woodrow 8af69f328b Bug 1230774 - Use correct Z order to sort perspective items. r=roc
--HG--
extra : rebase_source : 77c3a0ecf14caf7db5451080a6759c572d675f7e
2016-01-27 23:34:39 +13:00
Ting-Yu Lin 79a0b3623c Bug 1121468 - Go to NoActionState after receiving release on LongTapState. r=roc
This makes the state change match the user action. No functionality
changes is expected.

--HG--
extra : commitid : 4MyRasp0lRE
extra : rebase_source : 611819cb3419ffdf76a002d937f3541dc285ef4d
2016-01-25 15:50:28 +08:00
Ting-Yu Lin 62a80ac969 Bug 1121468 - Show carets when long-pressing on selection highlight. r=roc
The blur event will hide the carets and produces a standalone selection
highlight without carets. When a user long-pressing on the highlight, we
should show carets for the original selection highlight instead of
select a new word.

The helper UpdateCaretsWithHapticFeedback() should only be needed when
long-pressing. It should suffice to live within SelectWordOrShortcut()
instead of being a member function.

--HG--
extra : commitid : 789VwIRV03I
extra : rebase_source : ef4e9dd1260cec7fd900f68aacdc405bc018b3ce
2016-01-25 15:50:28 +08:00
Ting-Yu Lin f7bd8d83d9 Bug 1121468 - Use auto* to explicit declare 'self' as a pointer. r=roc
Both 'auto' and 'auto*' do not change the type inference. However, auto*
make 'self' only accept a pointer which is our intent here.

--HG--
extra : commitid : IvzkNKYE1Q4
extra : rebase_source : 7ea447ff8dae04751afe5ab3e5c84231a5fb8649
2016-01-25 15:50:28 +08:00
Xidorn Quan 3d2d63b674 Bug 1229437 part 1 - Add a helper function to get the float containing block of a given frame. r=dbaron
--HG--
extra : source : 68184623d2b2f1eeaa17fd6d2a5114fb7caa65f8
2016-01-27 16:58:53 +11:00
Mark Capella ede11d4e28 Bug 1242349 - Provide unique AccessibleCaret pref for JS selection changes, r=TYLin 2016-01-26 09:27:36 -05:00
Matt Woodrow 10dde3e3a8 Bug 1231538 - Build a ContainerLayer for position:fixed and background-attachment:fixed content. r=roc 2016-01-26 13:36:48 +13:00
Matt Woodrow b39e11fddf Back out d79c5f78243f (bug 1240073) for reftest and crashtest crashes. CLOSED TREE 2016-01-27 10:46:55 +13:00
Matt Woodrow 68e4717417 Bug 1240073 - Use the transformed frame as the AGR for active transform so that FrameLayerBuilder knows that they can move independently. r=tnikkel
--HG--
extra : rebase_source : c36898d675d6b1a80701c5accd174a1454b51e71
2016-01-21 17:02:31 +13:00
Matt Woodrow dbff878b3d Bug 1221842 - Don't reallocate DLBI geometry objects if nothing has changed. r=roc 2015-11-06 16:57:47 +13:00
Kartikaya Gupta 846ccdb419 Bug 1242523 - Guard against GetWidget getting called with a null shell. r=snorp
--HG--
extra : commitid : EcuFF3ySzTZ
2016-01-25 14:02:53 -05:00
Matt Woodrow 472aadca54 Bug 1241394 - Follow up to fix windows build bustage.
--HG--
extra : rebase_source : c390aa3d3261edaeda3d1c0b10f8b84ad451c65e
2016-01-25 13:58:38 +13:00
Thinker K.F. Li 7f64e8def9 Bug 1241394 - Check clip for the children of the establisher. r=mattwoodrow 2016-01-25 13:39:09 +13:00
Matt Woodrow 1fdff5dabf Bug 1241394 - Hit testing with 3d transforms should use fuzzy when comparing depths. r=thinker 2016-01-25 13:37:50 +13:00
David Rajchenbach-Teller a4607bcbef Bug 1219144 - Using the nsRefreshDriver's jank indication for performance monitoring;f?froydnj r=froydnj
This patch (currently WIP) alters the way we determine whether jank is user-visible or not.

Instead of measuring the total time spent doing JS, we now use an
indicator provided by the vsync driver: how long it takes to deliver
the signal from the vsync timer to the main thread. This lets us find
out more accurately if there is user-visible jank. In the future, this
will also let us add an observer to find out whether the process
itself is janky, regardless of JS.

--HG--
extra : rebase_source : a538e3cc9d8904f52d4a0e7bad291189986e4e6d
2016-01-14 15:07:18 +01:00
Xidorn Quan 4879d85cc1 Bug 1233135 - Do not touch display value of anonymous box for ruby. r=dbaron
--HG--
extra : source : 87f3c64200ab990efe341da44b70e0fc8f1c09f0
2016-01-26 20:31:45 +11:00
Sylvestre Ledru ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Andreas Tolfsen 4b620e6208 Bug 1205687 - Add metadata about Marionette layout tests; r=Ms2ger
--HG--
extra : rebase_source : f24d24f13b2073733fb7c91b2383109653fa38dd
2015-09-18 14:57:10 +01:00
Timothy Nikkel 6a8edbd624 Bug 1241371. Don't schedule an image visibility update every time display port margins change. r=kats
Displayport margins change by small amounts on almost every single scroll. We do not want to update image visibility nearly that often.

As the comment, and the original bug (bug 1169881) suggest this is only meant to catch rather large changes in display ports as we already have means to trigger an image visibility update via a scroll position change and via any style or layout flush.
2016-01-22 00:29:17 -06:00
Timothy Nikkel aefbcd85cf Bug 1241371. Properly update mLastUpdateImagesPos on scrollframes when the image visibility pass encounters them. r=mats
This is a regression from bug 1002992 where we switch from the display list builder to the frame tree walker and didn't update mLastUpdateImagesPos in the frame walker.
2016-01-21 19:09:04 -06:00
Timothy Nikkel 6cd0b6de0f Bug 1241651. Remove nsPresContext::GetDisplayRootPresContext. r=mattwoodrow
It should no longer serve any purpose different from nsPresContext::GetRootPresContext.
2016-01-21 19:09:04 -06:00
Ting-Yu Lin 94991d3936 Bug 1241008 - Add preference to show or hide selection bars. r=mtseng
--HG--
extra : rebase_source : 87593ce1fc35e0d99e4a5b68f5fe5b3725cc25b6
2016-01-21 11:11:38 +08:00
Nicholas Nethercote 2282e33e5b Re-backout c216ff19d690 (bug 1059014 part 3) because the removed code is less dead than it first appears.
--HG--
extra : rebase_source : 22c84e309f8b9e26c359108905a2e8a6e5df2bb7
2016-01-20 22:55:37 -08:00
Tracy Walker 7c1847b3e9 Bug 1240750 - Put add button in ContentTask and modernize the rest of the test case and remove relevant skip-if in layout/base/tests/browser.ini. r=mconley 2016-01-20 13:34:07 -06:00
Randall Barker 725817b232 Bug 1231517 - part 1, Move GetBoundingContentRect to nsLayoutUtils r=botond 2016-01-20 16:24:57 -08:00
Chris H-C 24e94e2104 Bug 1235908 - measure total event wait and process time. r=smaug
Native events come with timestamps indicating when they were created or
generated by the user. Using those, we can get a full picture of how long it
takes between the user trying to do something and us responding to it.

This is currently only for ports that populate WidgetEvent's timeStamp
(presently gtk, Windows).
2016-01-18 11:13:00 +01:00
Kartikaya Gupta a1c2f88721 Bug 1226826 - Record paint times in the checkerboard event. r=botond
--HG--
extra : commitid : CygYKO4FVuh
2016-01-15 16:19:59 -05:00