Commit Graph

486537 Commits

Author SHA1 Message Date
Timothy Nikkel
036fc88239 Bug 1294133. Null check animated geometry root. r=mattwoodrow 2016-08-11 00:52:56 -05:00
Nicholas Nethercote
736c7b1407 Bug 1291970 (part 2) - Tweak nsCategoryManager memory reporter handling. r=erahm.
This patch adds an assertion that makes sure that the nsCategoryManager is
destroyed after the nsMemoryReporterManager, because bad things would happen
otherwise.

Also, nsCategoryManager uses manual memory management (it's AddRef/Release are
hardwired to always return 2 and 1 respectively) so it doesn't matter if we
register it as a strong or weak memory reporter. But it's more common to use
RegisterWeakMemoryReporter when the argument is |this|, so this patch does
that.

--HG--
extra : rebase_source : 4ca33404d4c6f2b271e1ad008ea1a9a79f3ef666
2016-08-11 09:29:44 +10:00
Nicholas Nethercote
9d5a878581 Bug 1291970 (part 1) - Use MOZ_MUST_USE in nsMemoryReporterManager. r=erahm.
--HG--
extra : rebase_source : 11223e1aadb08c2ce71f783d68b37c135fe4bee5
2016-08-04 12:14:14 +10:00
Benoit Girard
f9f95c59d4 Bug 1264530 - Hold on to Plugin Instance to survive frame poisoning. r=jimm
MozReview-Commit-ID: JHbce46rDBN
2016-08-10 16:21:01 -04: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
9faca13ea4 Bug 1292930: stylo: Store the change hint generated by non-elements in their parent element. r=heycam
Otherwise, the parent style context doesn't have some inherited structs in the
cache, so it avoids comparing them entirely.

For example, the following example:

<p>Hey</p>

p { color: blue }
p:hover { color: red }

Wouldn't work as intended, because when calculating the change hint the
nsStyleColor struct in the element hasn't been accessed by layout (only the
child text frame's has), so it will report a change hint of 0 when hovering over
the paragraph, and we would ignore the nsChangeHint_ReconstructFrame generated
by the text node.

MozReview-Commit-ID: FW7Thhuh7LG
2016-08-10 22:01:35 -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
8f44c86099 Bug 1293117 (part 7) - Remove two occurrences of |static NS_IMETHODIMP|. r=froydnj.
Because it's a combination that doesn't make sense.

- ReadFuncBinaryString becomes NS_METHOD, because it's passed to ReadSegments,
  which requires a function matching NS_CALLBACK.

- IccContactListToMozContactList just changes to a vanilla nsresult return
  type, because it doesn't need __stdcall on Windows.

--HG--
extra : rebase_source : 61372c743bf5e82c5d1081f72f2d843d151bb294
2016-08-10 10:20:41 +10:00
Nicholas Nethercote
4d2f91d5f5 Bug 1293117 (part 6) - Fix a comment and return type in XPCComponents.cpp. r=froydnj.
The comment is wrong. NS_METHOD is the appropriate thing to use here.

--HG--
extra : rebase_source : 68ada96c01f7941d5266298356ba5f493bcda67c
2016-08-09 14:03:12 +10:00
Nicholas Nethercote
8f51d02c97 Bug 1293117 (part 5) - Change many NS_METHOD occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_METHOD F() override;      --> NS_IMETHOD F() override;
- NS_METHOD F() override {...} --> NS_IMETHOD F() override {...}
- NS_METHOD F() final;         --> NS_IMETHOD F() final;
- NS_METHOD 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 : 3010fade82a170eab7f13d81bf61b02cd693f3cf
2016-08-08 10:54:50 +10: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
Nicholas Nethercote
d1b1a7d71d Bug 1293117 (part 3) - Remove some unnecessary |virtual| annotations. r=froydnj.
This patch changes |virtual NS_IMETHODIMP| occurrences to |NS_IMETHOD|, which
is equivalent and the more standard way of marking in-class virtual XPCOM
methods.

--HG--
extra : rebase_source : c0ad273d8e341a7601466f33420a62742130e4a6
2016-08-08 10:45:56 +10:00
Nicholas Nethercote
cecc48a638 Bug 1293117 (part 2) - Remove unnecessary comments on some NS_IMETHODIMP instances. r=froydnj.
This patch replaces numerous |/* virtual */ NS_IMETHODIMP| occurrences with
|NS_IMETHODIMP|, because |NS_IMETHODIMP| always implies |virtual|.

--HG--
extra : rebase_source : 6ccbb2b59667718945315b671ae6236ff527a6d4
2016-08-08 10:45:37 +10:00
Nicholas Nethercote
e2b74f8d16 Bug 1293117 (part 1) - Add comment explaining how NS_IMETHOD, NS_IMETHODIMP and NS_METHOD should be used. r=froydnj.
--HG--
extra : rebase_source : 26a26409b3f0ab7adf872af6db003138837b7414
2016-08-08 10:40:42 +10:00
Dan Minor
cd36d5b8e3 Bug 1274340 - Call SetReceiveCodec for RED and ULPFEC when FEC is enabled; r=jesup
We need to call SetReceiveCodec for RED and ULPFEC so we know how to handle
those packets when received.

MozReview-Commit-ID: A9EluM7p2NH

--HG--
extra : rebase_source : 14033558254e7b8c7bc8dc38c1b77ad371b4e6a5
2016-06-30 12:20:19 -04:00
Dan Minor
05fc0cdaee Bug 1274340 - Make RED and ULPFEC payload type match sdp values; r=jesup
To be able to send and receive video with FEC enabled it appears we need to
have matching constant values here and in sdp/sipcc/ccsdp.h.

MozReview-Commit-ID: LZzAyMW9eEu

--HG--
extra : rebase_source : 1b0588b53c3906659711ab39d51533ae38db2568
2016-06-30 12:20:04 -04:00
Mason Chang
850f81d1c7 Bug 1292642 Default to skia if we have an invalid pref for a backend on OS X. r=milan 2016-08-10 17:36:25 -07:00
Kris Maglione
d63b08badc Bug 1293099: Fill panel arrow and arrow content with browser body's background color. r=bwinton ui-r=maritz
MozReview-Commit-ID: 3xf31UgUy2A

--HG--
extra : rebase_source : 4f1e4149587da7a2c0aefdde7c8880ea21330393
2016-08-08 14:06:19 -07:00
Olli Pettay
ad6d094330 Bug 1289970, ensure we don't remove valid Directionality map from textnode, r=ehsan
--HG--
extra : rebase_source : 5d784d52125daf4725cad0f0cf9fe03a8d47577a
2016-08-11 02:54:55 +03:00
Wes Kocher
a742ff6791 Merge m-c to inbound, a=merge 2016-08-10 16:55:15 -07:00
Wes Kocher
45e888ff26 Merge fx-team to central, a=merge 2016-08-10 16:53:40 -07: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
Georg Fritzsche
f912d82001 Bug 1294018 - Part 2 - Update histogram whitelists to pass the new checks. r=chutten 2016-08-10 18:23:44 +02:00
Georg Fritzsche
28e83aca81 Bug 1294018 - Part 1 - Enforce whitelist updates on Histograms.json changes. r=chutten 2016-08-10 18:23:43 +02:00
James Long
a5d5d3643d Bug 1294103 - Load source-map and pretty-print workers in new debugger r=me 2016-08-10 11:59:24 -04:00
Ehsan Akhgari
d10c483558 Bug 1293801 - Add a JS_IsInitialized() API; r=sfink
This is needed so that SpiderNode can support both being in charge of
initializing SpiderMonkey and allowing its embedder to do that.
2016-08-10 11:50:51 -04:00
Eddy Bruel
2bdbd75fa0 Bug 1288423 - Rename Actor/FrontClassWithSpec to Actor/FrontClass. r=fitzgen 2016-08-10 17:36:04 +02:00
Eddy Bruel
4946e9577a Bug 1288423 - Remove the old Actor/FrontClass constructors. r=fitzgen 2016-08-10 17:35:50 +02:00
Eddy Bruel
5f2b46097a Bug 1288423 - Decouple PerformanceEntriesActor from PerformanceEntriesFront. r=fitzgen 2016-08-10 17:35:31 +02:00
Eddy Bruel
1dc21ea38a Bug 1288423 - Decouple EventsFormActor from EventsFormFront. r=fitzgen 2016-08-10 17:35:12 +02:00
Eddy Bruel
7cafaf845a Bug 1288423 - Decouple EventsFormActor from EventsFormFront. r=fitzgen 2016-08-10 17:34:34 +02:00
Carsten "Tomcat" Book
9c3cf65d09 Merge mozilla-central to fx-team 2016-08-10 16:04:01 +02:00
Carsten "Tomcat" Book
553a2da922 merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02:00
Carsten "Tomcat" Book
5a14c558ee merge fx-team to mozilla-central a=merge 2016-08-10 15:52:07 +02:00
cku
c493fc33a4 Bug 1277788 - Part 2. Correct mochitest. r=dbaron.
MozReview-Commit-ID: CI7W7rPwirf

--HG--
extra : rebase_source : 8e9d78e537a5af4f51294de701faa97b35c15b66
2016-08-10 20:32:08 +08:00
Sebastian Hengst
7fb9314ebd Bug 1210985 - More specific error message for "useCredentials" and wildcard allowing origin. r=browser-chrome-fix 2016-08-10 14:10:45 +02:00
Sebastian Hengst
6ed5110691 Backed out changeset ff84b85aa1cb (bug 1291667) for asserting at nsRuleNode.cpp:1322 and failing mochitests and reftests. r=backout 2016-08-10 12:59:15 +02:00
Sebastian Hengst
e0e540f8a9 Backed out changeset 4453b10529a2 (bug 1291667) 2016-08-10 12:58:24 +02:00
Neil Rashbrook
f78b2736a5 Bug 1292502 Fix mismatch between mModalStateDepth and mSuspendedDoc r=smaug 2016-08-10 11:39:54 +01:00
cku
ed7978775a Bug 1277788 - Part 1. Set initial value of mask-position as center. r=dbaron.
MozReview-Commit-ID: BflQ6tz8ZjM

--HG--
extra : rebase_source : 01b05533f5c791da0987af81d5cca276ec36e3f0
2016-08-10 16:10:45 +08:00
Michael Layzell
eea03e9e4d Bug 1293364 - Refactor out duplicate typedefs in xpidl, r=mayhemer
MozReview-Commit-ID: 6lJxrqqBTk8
2016-08-10 11:11:42 -04:00
Heiher
6497612dd6 Bug 1293606 - IonMonkey: MIPS: Import Loongson optimizations to ma_load and ma_store baseindex. r=arai
---
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp | 110 +++++++++++++++++++++
 1 file changed, 110 insertions(+)
2016-08-10 14:18:22 +08:00
Ravi Shankar
7d175e35ed Bug 1291667 - Removed unused variant 'MozNone' from StyleUserSelect enum class; r=heycam
MozReview-Commit-ID: 7VxjNbunHC8
2016-08-10 13:57:32 +08:00
Ravi Shankar
049a72eb4c Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=Manishearth,heycam
MozReview-Commit-ID: 2qBMmQrtuR9
2016-08-10 13:57:32 +08:00
James Long
bf696aae6c Bug 1293325 - update Firefox debugger bundle r=me 2016-08-10 00:04:31 -04:00