Commit Graph

15893 Commits

Author SHA1 Message Date
Jonathan Chan
4b87f11bd9 Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''

Then:

  hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h

... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.

MozReview-Commit-ID: ZV6jyvmLfA

--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-16 18:37:48 -07:00
Gregory Szorc
1794619188 Backed out changesets dcdb85fc5517, 702bca0deee2, 9cKX8gC1ATA (bug 1293739) for build bustage; a=bustage
The merge from inbound to central conflicted with the merge from
autoland to central, it appears. Per tree rules, the commit from the
autoland repo wins and the inbound commit gets backed out.

CLOSED TREE

--HG--
extra : amend_source : 927e1cdfa8e55ccbd873d404d905caf6871c8c4f
extra : histedit_source : 07095868c3f767258e1d7d2645193bf4811b13bb%2Ca49ae5a28bf6e67298b6208ee9254c25a2539712
2016-08-16 17:50:40 -07:00
Wes Kocher
48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Wes Kocher
57773cd69e Backed out 4 changesets (bug 1295192) for being a possible cause of crashtest assertions CLOSED TREE
Backed out changeset 7f10779fe019 (bug 1295192)
Backed out changeset e683dce4197a (bug 1295192)
Backed out changeset 67d12eaa8074 (bug 1295192)
Backed out changeset 44f143a01f78 (bug 1295192)
2016-08-16 11:22:04 -07:00
Mason Chang
6478db3b8a Bug 1294121 - Backed out changeset 635d266614ad for windows build failures. r=me. CLOSED TREE 2016-08-16 09:17:25 -07:00
Mason Chang
423fb81bd4 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Manish Goregaokar
f054dcd843 Bug 1275913 - Use already_addrefed properly when dealing with arcs sent from servo to gecko; r=bholley
MozReview-Commit-ID: 5FDS8J2Fo1G

--HG--
extra : rebase_source : d58c4a9ceeaa64c522bd25452d607e3593eab619
2016-08-16 10:38:46 +05:30
Phil Ringnalda
0ba1763460 Backed out 2 changesets (bug 1275913) for static analysis bustage
CLOSED TREE

Backed out changeset 4420244e8fba (bug 1275913)
Backed out changeset 324554b04f19 (bug 1275913)
2016-08-15 22:27:16 -07:00
Manish Goregaokar
3f96d89612 Bug 1275913 - Use already_addrefed properly when dealing with arcs sent from servo to gecko; r=bholley
MozReview-Commit-ID: 5FDS8J2Fo1G

--HG--
extra : rebase_source : ecbcb3c2eff5a390a24ab97f93899c87a463c791
2016-08-16 10:38:46 +05:30
Xidorn Quan
ff0f0fef3b Bug 1295111 part 2 - Add static_assert to ensure that is updated properly. r=dbaron
MozReview-Commit-ID: G2RNUcXs4yQ

--HG--
extra : rebase_source : 0ecbe3e09a8783c7149959c3580116d9e3ecd449
2016-08-15 20:52:05 +10:00
Xidorn Quan
5a21631fe3 Bug 1295111 part 1 - Add UpdateBackgroundPosition hint to ChangeHintToString. r=dbaron
MozReview-Commit-ID: 3AeIoad5XE4

--HG--
extra : rebase_source : 16336f07a549e22a22721776c53765f2afd17bab
2016-08-15 20:51:32 +10:00
Jessica Jong
5a9b39d967 Bug 1278738 - Add 'week' to the list of valid types attributes for <input>. r=smaug 2016-08-15 23:15:00 -04:00
Nathan Froyd
223e5e148b Bug 1295192 - part 4 - use a non-null-checked placement new operator in layout code; r=dholbert
The standard placement new function is declared to not throw, which
means that, per spec, a null check on its result is required.  There are
a number of places throughout layout/ where we know that we are passing
non-null pointers to placement new (and receiving them as a return
value), and we are therefore doing useless work performing these null
checks.

Therefore, we should be using an operator new overload that doesn't
require the null check.  MFBT has just such an overload, so use that.
2016-08-16 17:05:38 -04:00
Nathan Froyd
e9d0c9e656 Bug 1295192 - part 3 - remove CPP_THROW_NEW from display list code; r=dholbert
nsDisplayListBuilder::Allocate is infallible.  Therefore,
nsDisplayListItem::operator new, which calls Allocate to obtain memory,
does not need to declare itself as throwing.  And so on for functions
that call nsDisplayListBuilder::Allocate.
2016-08-16 17:05:38 -04:00
Mason Chang
e7ead846af Backed out changeset aaaab9a073a4 for build failures. r=me 2016-08-15 20:38:40 -07:00
Mason Chang
8c9fb35901 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-15 19:59:26 -07:00
Seth Fowler
21f89abe61 Bug 1293449 - Stop exposing SurfaceCache implementation code outside of ImageLib. r=dholbert 2016-08-15 18:19:39 -07:00
Towkir Ahmed
63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Jonathan Chan
9c62a2c11c Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''

Then:

  hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h

... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.

MozReview-Commit-ID: ZV6jyvmLfA

--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-09 16:28:19 -07:00
Wes Kocher
2253eb9510 Merge m-c to inbound, a=merge 2016-08-15 14:53:49 -07:00
Wes Kocher
d602abb016 Merge inbound to central, a=merge 2016-08-15 14:20:38 -07:00
Igor
175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor
a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Xidorn Quan
3ea5e42f51 Bug 1274158 part 1 - Handle zero perspective gracefully. r=mattwoodrow
MozReview-Commit-ID: CEX39wo6oX8

--HG--
extra : rebase_source : 07dc609dc2a23672dde2a2ea0705cc620068f102
2016-08-12 14:51:10 +10:00
L. David Baron
d8d459481c Bug 1294918 - Use helper method nsIFrame::IsFixedPosContainingBlock. r=dholbert
MozReview-Commit-ID: 5fdGqLSOjvs

--HG--
extra : rebase_source : c06406f5022b45e9bc995af8e867fe3f44441d23
2016-08-12 18:39:45 -07:00
L. David Baron
6660436867 Bug 1294918 - Fix spelling of method name nsIFrame::IsAbsPosContainingBlock. r=dholbert
This misspelling was introduced in bug 1125767, changeset b9951cca6d1f.

MozReview-Commit-ID: KQNlLelY2Kn

--HG--
extra : rebase_source : 7b2b8379da23b06737b462dd4c316b5758d807a9
2016-08-12 18:39:45 -07:00
Timothy Nikkel
036fc88239 Bug 1294133. Null check animated geometry root. r=mattwoodrow 2016-08-11 00:52:56 -05:00
Emilio Cobos Álvarez
b09bf7a6b6 Bug 1292930: stylo: Make change hint processing more straight-forward. r=heycam
MozReview-Commit-ID: 4ZcCMKSc6Tv
2016-08-10 22:02:00 -07:00
Emilio Cobos Álvarez
48d2ee6a9e Bug 1292930: stylo: Remove expected warning. r=heycam
This should actually have been a followup for bug 1290335.

MozReview-Commit-ID: GIl67fSMRQg
2016-08-10 22:01:49 -07:00
Emilio Cobos Álvarez
ace33150af Bug 1292930: stylo: Fix handling of eRestyle_LaterSiblings when not combined with other change hints. r=heycam
MozReview-Commit-ID: AeLLm64d5aP
2016-08-10 22:01:06 -07:00
Emilio Cobos Álvarez
ffa9466398 Bug 1292930: Hoist ChangeHintToString to RestyleManagerBase. r=heycam
MozReview-Commit-ID: BLW40PYhc0o
2016-08-10 22:00:49 -07:00
Emilio Cobos Álvarez
3f8ce6d753 Bug 1292930: stylo: Reuse RestyleManager::PostRestyleEventInternal. r=heycam
MozReview-Commit-ID: J6rw1feAYWh
2016-08-10 22:00:33 -07:00
Nicholas Nethercote
bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Stone Shih
0936be8e70 Bug 1293175 - [Pointer Event] Add Element.hasPointerCapture API. r=smaug
--HG--
extra : rebase_source : 25dcafa70e5260259fd7703134b376c3351595c0
2016-08-10 15:31:43 +08:00
Stone Shih
728f58c68b Bug 1258804 - Part 3: Update related test case for PE spec changes. r=smaug
--HG--
extra : rebase_source : 920401957f69e334323ef7ab4548b9f98437b59f
2016-08-01 15:41:42 +08:00
Stone Shih
6a29290e1b Bug 1258804 - Part 2: Attributes of gotpointercapture and lostpointercapture should be the same as the pointer event that causes them. r=smaug
--HG--
extra : rebase_source : 8f72d77e100e50c8a4d0354e82733cca900282ea
2016-08-01 15:12:11 +08:00
Stone Shih
ae0a4d32bf Bug 1258804 - Part 1: Process pending pointer capture when firing pointer events. r=smaug
--HG--
extra : rebase_source : 0fae1842c3080c45ff65af83bd6f282f20cb5777
2016-08-01 09:16:27 +08:00
Joel Maher
c89f909079 backout 4e8a67e61102 (bug 1289829) for performance regression
MozReview-Commit-ID: HELRLZmHY7n
2016-08-15 11:54:43 -04:00
Wes Kocher
fa1a1180c4 Merge autoland to central, a=merge 2016-08-10 16:29:26 -07:00
Wes Kocher
bd62f08814 Merge inbound to central, a=merge 2016-08-10 16:15:17 -07:00
Wes Kocher
46da1ae628 Backed out changeset cc88b920a387 (bug 1278957) for making browser_notifications.js permafail on linux64 debug a=backout CLOSED TREE 2016-08-10 15:36:45 -07:00
Carsten "Tomcat" Book
553a2da922 merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02:00
Carsten "Tomcat" Book
781af68024 Merge mozilla-central to autoland 2016-08-10 16:05:21 +02:00
Sylvestre Ledru
9b809e028f Bug 1294015 - Identical code for different branches in nsCSSRenderingBorders.cpp r=arai
MozReview-Commit-ID: DNwiCkUhWt6

--HG--
extra : rebase_source : b5bd7dcc59e7b57fc90e4c8557f6bcfd6382e433
2016-08-10 14:46:25 +02:00
Jamie Nicol
a2741d30bf Bug 1292856 - Don't cast scale to int in nsDisplayTransform::ShouldPrerenderTransformedContent; r=mstange
Casting the scale components to integers before multiplying meant that
nsDisplayTransform::ShouldPrerenderTransformedContent was incorrectly
calculating the scaled frame size. This was especially bad when scale <
(1.0, 1.0), as it would calculate a size of (0, 0), leading us to
prerender the frame even if it was too large.

Calculate the frame's size using floating point scale components so as
to avoid this problem.

MozReview-Commit-ID: KhbP8tJ8qYx

--HG--
extra : transplant_source : %E6%BD%80l%D9O%CE%B0%12%D8%94R%AB%C0%13%A0%E7%B9%01E
2016-08-09 14:55:45 +01:00
Nicholas Nethercote
e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Matt Woodrow
193414f9a8 Bug 1237102 - Make sure we don't generate invalidations for children of opacity:0 frames, even when plugins are present. r=tnikkel 2016-08-10 15:15:28 +12:00
Matt Woodrow
5c967cf2fc Bug 1237097 - Don't invalidate opacity:0 nsDisplayOpacity items. r=tnikkel 2016-08-10 15:12:27 +12:00
Lee Salzman
dfa9fefa78 Bug 1278957 - enable Skia content for Linux and Android. r=mchang
MozReview-Commit-ID: KFb81rVM0ik
2016-08-09 15:56:28 -04:00
Ting-Yu Lin
6346d9e755 Bug 1293950 - Update mozilla wiki link in AccessibleCaret headers. r=mtseng
Change only comments so DONTBUILD (NPOTB).

MozReview-Commit-ID: 3UOtYyOxg3

--HG--
extra : rebase_source : 242ed41c006ce13c3f148a4d165f5c64f43b7cbb
2016-08-10 15:46:27 +08:00