467698 Commits

Author SHA1 Message Date
Matt Woodrow
dd1236dd0d Bug 1258843 - Don't build SVG display items if their visibility is hidden. r=dholbert
--HG--
extra : rebase_source : 633ea5ea0661c9532a1b630300b24788daa8667e
2016-03-24 18:15:40 +13:00
Matt Woodrow
9ea78cbc9b Bug 1238928 - Don't assume that our child list is unchanged in nsDisplayPerspective::BuildLayer. r=tnikkel
--HG--
extra : rebase_source : 80c25d1bfca68986294aae5b35c1e204237a33f4
2016-03-24 18:14:44 +13:00
Martin Thomson
2238c2d4d1 Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: K97lKyhlsW8
2016-03-24 16:12:56 +11:00
Sotaro Ikeda
ccef41ec11 Bug 1254897 - Recycle back buffer in BasicCompositor r=jrmuizel 2016-03-23 21:41:43 -07:00
Nicholas Nethercote
916e86a26e Bug 1257128 (part 4) - Remove unused nsIAtomService references in toolkit/. r=froydnj. 2016-03-16 21:11:10 +11:00
Nicholas Nethercote
3b2b1196b3 Bug 1257128 (part 3) - Remove unused createAtom() function in a test. r=tbsaunde. 2016-03-16 21:10:10 +11:00
Nicholas Nethercote
ea7e61e63c Bug 1257128 (part 2) - Remove nsIAtomService.get{,Permanent}AtomUTF8. r=froydnj. 2016-03-16 21:09:18 +11:00
Nicholas Nethercote
41e924c6e0 Bug 1257128 (part 1) - Remove nsIAtom.equalsUTF8. r=froydnj.
It's only used in tests.
2016-03-16 21:05:30 +11:00
Nicholas Nethercote
ab34e9bd7a Bug 1257207 - Increase ATOM_HASHTABLE_INITIAL_LENGTH. r=froydnj.
This avoids one gAtomTable resizing.

--HG--
extra : rebase_source : 136e9db9653d4632986c2462f51c5c008475e1de
2016-03-24 09:17:55 +11:00
Heiher
83da00f716 Bug 1258910 - OdinMonkey: MIPS64: Implement AsmSelectI64. r=bbouvier
---
 js/src/jit/mips64/CodeGenerator-mips64.cpp | 21 +++++++++++++++++++++
 js/src/jit/mips64/CodeGenerator-mips64.h   |  1 +
 2 files changed, 22 insertions(+)
2016-03-24 11:51:30 +08:00
Heiher
2de1fdd4f0 Bug 1258910 - OdinMonkey: MIPS: Implement AsmSelect. r=bbouvier
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 41 ++++++++++++++++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  1 +
 js/src/jit/mips-shared/Lowering-mips-shared.cpp    | 21 +++++++++++
 js/src/jit/mips-shared/Lowering-mips-shared.h      |  1 +
 4 files changed, 64 insertions(+)
2016-03-24 11:51:25 +08:00
Heiher
cb6c8447ab Bug 1258910 - IonMonkey: MIPS: Implement float-point conditional move instructions. r=huangwenjun06
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 30 ++++++++++++++++++++++++
 js/src/jit/mips-shared/Assembler-mips-shared.h   | 12 ++++++++++
 2 files changed, 42 insertions(+)
2016-03-24 11:51:20 +08:00
Phil Ringnalda
fd64e52ef9 Back out 1726498035c1 (bug 1258299) for xpcshell failures in test_rtcIdentityProvider.js
CLOSED TREE
2016-03-23 19:25:39 -07:00
Boris Zbarsky
12e6e3f600 Followup for bug 1246091 to fix the rooting hazard, get us closer to reopening the CLOSED TREE, and reduce philor's blood pressure. 2016-03-23 22:15:05 -04:00
Jeff Walden
7192c2be5a Bug 1256027 - Windows, why you gotta hate. r=scumbag-windows in a CLOSED TREE 2016-03-23 18:40:01 -07:00
Jeff Muizelaar
edb70c82c6 Bug 1259248. Follow up to fix static analysis bustage
CLOSED TREE
2016-03-23 21:38:39 -04:00
Jeff Muizelaar
96d3663f32 Bug 1259248. Add an ArrayView class. r=botond 2016-03-23 21:20:41 -04:00
Kartikaya Gupta
90029b5133 Bug 1254134 - Follow-up to take care of clang Winconsistent-missing-override warning. r=me 2016-03-23 21:12:05 -04:00
Kartikaya Gupta
233e4bca52 Bug 1254134 - Remove unused mask flag. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Kartikaya Gupta
26c14e876a Bug 1254134 - Use the full image size as the bounds for image layers during layer tree invalidation. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Kartikaya Gupta
b2333e8bb4 Bug 1254134 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Gregory Szorc
449929f5a5 Bug 1124033 - Replace blanket disabling of VS2015 warnings with C5026 and C5027; r=ehsan
Wv:18 was added in bug 1119072 as a quick way to get the tree building
with VS2015. Now that we're closer to rolling out VS2015 support, we
want to expose its new warnings.

This patch replaces the blanket disabling of new warnings in VS2015 with
just disabling C5026 and C5027, which relate to symbols being implicitly
defined as deleted.

MozReview-Commit-ID: 8uniydfNJns

--HG--
extra : rebase_source : 5ca239cd20216e89115d1faeffc036b6eecb85ca
2016-03-23 17:12:56 -07:00
Gregory Szorc
6a9168778b Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.

MozReview-Commit-ID: 2cwWrjMD6B9

--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Jeff Walden
3b8b70a765 Bug 1256027 - Cast a few things in varargs to the expected types for MSVC 2015 warning-compatibility. r=froydnj
--HG--
extra : rebase_source : 5caa63bb236b4840fda4f2c6bf91e987c7905195
2016-03-23 13:21:02 -07:00
Gregory Szorc
916dddfb76 Bug 1257350 - Use intptr_t to avoid C4312 on VS2015; r=tbsaunde
Without this, we get several warnings like:

reinterpret_cast': conversion from 'int32_t' to 'void *' of
greater size

MozReview-Commit-ID: sy2eTB2fjs

--HG--
extra : rebase_source : 16bd44fba1666c68c2fa163e57ed703eb0c823ed
extra : histedit_source : ea51ff0f6c2498d4ac87c50ede0ce70958d37a07
2016-03-23 16:42:29 -07:00
Gregory Szorc
11c9bc4603 Bug 1257303 - Cast to intptr_t to avoid C4312 on VS2015; r=tbsaunde
Without this, we get: C4312: 'reinterpret_cast': conversion from
'const LONG' to 'void *' of greater size

MozReview-Commit-ID: 4WXmvVUd5c8

--HG--
extra : rebase_source : 2f4211f4e752ef0ac2a1213075af6b62ecc8080f
extra : histedit_source : a1c91d27d8a97f141f07e89513262256104388ea
2016-03-23 15:46:40 -07:00
Nicholas Nethercote
f80479d54a Bug 1011826 - Split Prefable into two pieces. r=bz.
The fields in Prefable relating to disabling are usually all zero. This patch
moves them into a new struct PrefableDisablers. This reduces static data size
by 92 KB, which applies to every process. It might also make isEnabled() faster
because the common case only involves one test instead of two.

--HG--
extra : rebase_source : 004eb8221e23b741c4837dd95af93e437edb4587
2016-03-24 06:09:24 +11:00
Timothy Nikkel
5afe8e5453 Bug 1257101. imgFrame::IsImageComplete says whether we've had pixels decoded to the whole image rect, but it's used to check if the frame is finished decoding. These are different things when the image has more than one progress pass. r=seth
This means that in RasterImage::LookupFrame when we are asked to do a sync decode (if needed) we use WaitUntilComplete to wait until the frame is finished decoding.  But we would actually return after the next progressive pass notified the monitor to wake up. Thus, we would draw a not-fully-decoded image even though the sync decode flag was passed.

The change in FrameAnimator means that we won't draw the next frame in an animated image until all progressive passes of that image are complete. This seems like what we want anyways.

There is one real use of IsImageComplete left, in imgFrame::Draw, where we need to know if the decoded image data covers the whole image frame. (There are a couple of uses of IsImageComplete in asserts.)
2016-03-23 19:31:42 -05:00
Brian Birtles
5785877883 Bug 1245260 - Add crashtest; r=hiro
MozReview-Commit-ID: IBe0zbsCJJy

--HG--
extra : rebase_source : 9045ca886302026220dec365e63203c538c14e9a
2016-03-24 09:04:53 +09:00
Mike Hommey
90692a1ac0 Bug 1257823 - Move add_old_configure_assignment() to the global scope. r=nalexander
Similar to set_config, set_define and imply_option, but this is a
sandboxed function that stays sandboxed.
2016-03-24 09:04:28 +09:00
Mike Hommey
6a8ed3e4a8 Bug 1257823 - Move imply_option() to the global scope. r=nalexander
Like set_config and set_define, we move imply_option to the global
scope.
2016-03-24 09:04:28 +09:00
Mike Hommey
92c7aa3e65 Bug 1257823 - Keep track of the dependencies of @depends functions. r=nalexander
@depends functions are declared like the following:

  @depends('--option', other_function, '--other-option', ...)
  def ...

To simplify some of the processing related to those arguments it's
passed, keep a tuple of Option and DummyFunction objects corresponding
to those arguments.
2016-03-24 09:04:28 +09:00
Mike Hommey
e5cde501da Bug 1257823 - Move set_define() to the global scope. r=nalexander
For the same reasons as set_config is being moved to the global scope,
we're moving set_define to the global scope here. An additional change
is that set_define is now part of the sandbox itself instead of being
defined within the sandbox, which makes it share the implementation
details with set_config.
2016-03-24 09:04:28 +09:00
Mike Hommey
7cd6c430c1 Bug 1257823 - Move set_config() to the global scope. r=nalexander
The way set_config is set currently makes it difficult to introspect
moz.configure files to know what configuration items are being set,
because they're hidden in the control flow of functions.

This makes some of the moz.configure more convoluted, but this is why
there are templates, and we can improve the recurring cases afterwards.
2016-03-24 09:04:28 +09:00
Mike Hommey
8e6cfd60f3 Bug 1257823 - Split ConfigureSandbox._db. r=nalexander
Currently, ConfigureSandbox._db stores two different kind of
information. This split those in two different instance variables
instead, making things clearer.
2016-03-24 09:04:28 +09:00
Mike Hommey
ed5e2c39f5 Bug 1257823 - Move set_define() to the sandbox. r=nalexander
In order to make the transition to global set_define easier, move its
current definition from inside the sandbox to the sandbox itself.
2016-03-24 09:04:28 +09:00
Gregory Szorc
3f5defbd02 Bug 1256552 - Disable C4577 to unblock compilation on VS2015; r=jrmuizel
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: BNhXxMhJaZh

--HG--
extra : rebase_source : 6d3746d99d0d058716a58f1ed1f0349e09866758
extra : source : cb49a303f86d6446bf1ed87d6e022e72a2ba25c7
2016-03-23 16:39:56 -07:00
Aaron Klotz
2dda5ebe20 Bug 1249849: Make sure the correct implementations of malloc and free are used in DLL blocklist; r=glandium
MozReview-Commit-ID: 7piMI6MwOZh

--HG--
extra : rebase_source : 35318273fc00d8aa539133823c276ff7bef42172
2016-03-07 14:12:31 -08:00
Martin Thomson
15fbbd24ab Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: EP1fCvQlYqH

--HG--
extra : rebase_source : df44c64ca5614b1ff351d3aa9ffc78e513f97d58
2016-03-24 03:03:06 +11:00
Gregory Szorc
ab955c4662 Bug 1256502 - Use a uint32_t cast to avoid C4319 on VS2015; r=botond
The sizeof() was creating a size_t which made VS complain about a
mismatch between uint32_t and size_t. The sizeof() should never be
larger than a uint32_t, so just cast it.

MozReview-Commit-ID: 5HrFOfQhAMp

--HG--
extra : rebase_source : ad4306d8a9a0c20fc803db3a057de822f52076ef
2016-03-23 15:12:30 -07:00
Ehsan Akhgari
3c28741897 Bug 1259025 - Enable test_reftests_with_caret.html on e10s; r=mrbkap 2016-03-23 19:42:59 -04:00
Jeff Walden
b02d8dd82e Bug 1257779 - Lower a loop-limit (number selected by some local experimentation) to avoid cgc timeouts. r=orange in a CLOSED TREE 2016-03-23 16:29:46 -07:00
Wes Kocher
b2731dca9e Backed out 3 changesets (bug 1254134) for build failures in LayerTreeInvalidation.cpp, entirely unrelated to the current CLOSED TREE
Backed out changeset 5a0d2c853e13 (bug 1254134)
Backed out changeset f650dd293a4b (bug 1254134)
Backed out changeset 3b6b646ea0e2 (bug 1254134)

MozReview-Commit-ID: 2iQvX8NsARG
2016-03-23 15:55:20 -07:00
Nicholas Nethercote
57f7f7948c Bug 1259182 - Shrink keyCodeData. r=bz.
This reduces static data size by 1480 B per process.

--HG--
extra : rebase_source : 74bb52af763cb96cd9a58a37d8adad9667dbb4db
2016-03-16 14:36:37 +11:00
Kartikaya Gupta
8fbae911a0 Bug 1254134 - Remove unused mask flag. r=mattwoodrow
MozReview-Commit-ID: BmUyzuxDg0M

--HG--
extra : rebase_source : ccdba6e1f761042c649fc05be16dca7f13e8859f
2016-03-23 11:05:42 -04:00
Kartikaya Gupta
004e0c734e Bug 1254134 - Use the full image size as the bounds for image layers during layer tree invalidation. r=mattwoodrow
MozReview-Commit-ID: DBF3H3I4rbS

--HG--
extra : rebase_source : 9fff4e9252027f354d6490d429085e11b0536212
2016-03-23 11:05:42 -04:00
Kartikaya Gupta
e34c252409 Bug 1254134 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow
MozReview-Commit-ID: F6BBwjjx9eP

--HG--
extra : rebase_source : 46373d299558dac759f1840761565e50bfdb071f
2016-03-23 11:05:41 -04:00
Gregory Szorc
ae750c26b0 Bug 1256473 - Cast values to avoid C4838 on VS2015; r=mayhemer
MozReview-Commit-ID: DM4nChFJVWF

--HG--
extra : rebase_source : d609955f07bbfc122e58b08e5cd3c5422fce907f
2016-03-23 15:17:44 -07:00
Ralph Giles
9a3b850c14 Bug 1258796 - Re-enable rust on win32 builds. r=mshal
We're still using a i686-pc-windows-msvc rust stdlib,
but now that bug 1255869 we have runtime protection against
calling the sse2 code it contains.

Reverts bug 1253456.

--HG--
extra : rebase_source : 28c7399eb9f90f2865c41eb394a5949e05a632ff
2016-03-22 11:53:00 -07:00
Andrea Marchesini
dffe78c29b Bug 1246091 - patch 7/7 - Correct use of JSCompartment in Console.cpp, r=bz 2016-03-23 22:55:07 +01:00