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

467851 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd 418aa2af4f Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-23 10:40:53 -04:00
Jan-Ivar Bruaroey 55cbfcbe09 Bug 1259236 - test pc.addTrack of track in constructed stream. r=bwc
MozReview-Commit-ID: E1qFH7xYY0H

--HG--
extra : rebase_source : 1a60fe32b364baa4396aeed3d654c33b313f3e07
2016-03-24 13:32:10 -04:00
Jan-Ivar Bruaroey 9ff449087b Bug 1259236 - throw NotSupportedError on pc.addTrack of track in constructed stream. r=bwc
MozReview-Commit-ID: LBP9CybRmrI

--HG--
extra : rebase_source : f9deb3cca7e891562a3cbe5766f027dabcdf6ed9
2016-03-24 12:45:22 -04:00
Nathan Froyd 0e58a8d0a5 Bug 1255438 - create nsI{Mutable,}Array directly; r=keeler 2016-03-25 09:36:25 -04:00
Dustin J. Mitchell dc44a4a95c Bug 1238704: remove special-casing of clobber jobs; r=wcosta
For each of macosx64, linux32, and linux64, this creates a new
base_<platform>.yml file that is then specialized into opt, opt st-in,
artifact, and dbg variants.  The base contains the workspace cache,
but the `mach taskcluster-graph` removes it for try jobs.

MozReview-Commit-ID: 7Ndw4NnNZgD

--HG--
rename : testing/taskcluster/tasks/builds/linux64_clobber.yml => testing/taskcluster/tasks/builds/base_linux64.yml
extra : rebase_source : 0199669cce185e449f35259ab596333c0a03bba3
2016-03-24 18:08:21 +00:00
Patrick McManus f2d272afa3 Bug 1259459 - h2 0 length options puts end-stream on headers r=hurley 2016-03-18 14:08:01 -04:00
Jan de Mooij f0acf4dfcc Bug 1247312 - Don't generate invalid LDRD instructions on ARM. r=nbp 2016-03-25 12:25:52 +01:00
Jeremy Chen ca58c7482d Bug 1247777 - Part4.2: add compatible webkit prefixed properties in
CSS properties ordering check test. r=bz

--HG--
extra : commitid : 3L1KflCYhR3
2016-03-25 15:54:50 +08:00
Jeremy Chen b28e75fd40 Bug 1247777 - Part4.1: replace windows-style line endings with unix-style line endings. r=bz
This commit only replace windows-style line endings w/ unix-style ones.
"git diff -w" would see no difference in this commit.

--HG--
extra : commitid : 3L1KflCYhR3
2016-03-25 15:54:50 +08:00
Jeremy Chen a2cca1e9d0 Bug 1247777 - Part3: reftests for -webkit-text-fill-color. r=jfkthame
Add this test into web-platform-tests.

Since -webkit-text-fill-color is on compat spec, we might want this
feature to be tested on different browsers.

--HG--
extra : commitid : 3L1KflCYhR3
2016-03-25 15:54:50 +08:00
Jeremy Chen ac81ba2c95 Bug 1247777 - Part2: implement -webkit-text-fill-color rendering. r=jfkthame
--HG--
extra : commitid : 3L1KflCYhR3
2016-03-25 15:54:50 +08:00
Jeremy Chen 4134ed5760 Bug 1247777 - Part1: parse and compute -webkit-text-fill-color property. r=heycam
--HG--
extra : commitid : 3L1KflCYhR3
2016-03-25 15:54:49 +08:00
Phil Ringnalda fb9390dfa5 Merge m-c to a CLOSED TREE m-i 2016-03-24 22:41:12 -07:00
Phil Ringnalda 48e56cf3be Back out 7b0bb5c3ab01 (bug 1259245) for very frequent OS X 10.10 e10s mochitest-5 crashes, a=backout
CLOSED TREE
2016-03-24 22:36:31 -07:00
Ryan VanderMeulen 44b1cf2f67 Backed out 4 changesets (bug 1254134) for causing bug 1259645.
Backed out changeset bc443e4eaeca (bug 1254134)
Backed out changeset 49b1c3749ae6 (bug 1254134)
Backed out changeset 24789e0f5331 (bug 1254134)
Backed out changeset 0c191e03195d (bug 1254134)

CLOSED TREE
2016-03-24 23:49:00 -04:00
Gregory Szorc ba049d3406 Bug 1186060 - Build with Visual Studio 2015 Update 1; r=ted, ehsan a=merge
This commit switches Windows builds from Visual Studio 2013
to Visual Studio 2015 Update 1.

Previously, Visual Studio was installed on the builders as part
of the base system image. Starting with this commit, we obtain
Visual Studio from a pre-generated, self-contained archive
containing the executables, Windows SDK, and other support
files. This means that new Windows toolchains can be installed
without having to modify configuration of machines in automation!

The mozconfigs for Visual Studio 2015 are a bit different from
existing mozconfigs.

Because it appears to be completely redundant and not necessary,
the LIBPATH variable has been dropped.

The order of paths in PATH, LIB, and INCLUDE has changed. The new
order more accurately reflects what would be defined by
vcvarsall.bat.

As part of switching to Visual Studio 2015, the Universal CRT is
now required. So, the 2015 mozconfigs export WIN_UCRT_REDIST_DIR
to define the location to those files.

The switch to Visual Studio 2015 also involves the switch from
the Windows 8.1 SDK to the Windows 10 SDK. However, we still
target an old version of Windows, so this hopefully shouldn't
have any significant fallout.

It's worth noting that switching to Visual Studio 2015 makes
builds - especially PGO builds - significantly faster. Our
PGO build times in automation are ~1 hour faster. Our regular
builds appear to be a few minutes faster.

MozReview-Commit-ID: Pa5GW8V87Q

--HG--
extra : source : 56b27306d3257445f70374aa78fc5bd42ef300ce
extra : intermediate-source : 559a80645f20706e1eaaeed863e90c2d35ff7644
2016-03-24 09:12:19 -07:00
Gregory Szorc e886b7f903 Bug 1255656 - Remove expected fail for 1111111111...a (quirks) test; r=Ms2ger
According to dbaron, the deleted block smells like a workaround for
a compiler bug which no longer reproduces in VS2015. This is the last
bug blocking the landing of VS2015. So remove the apparent workaround.

MozReview-Commit-ID: zsmfFjSOxN

--HG--
extra : source : f231263334d44b912e55898be5a1d35381face5b
2016-03-24 09:10:40 -07:00
Gregory Szorc e84548dbac Bug 1256027 - Coerce VS2015 into compiling without warnings; r=froydnj
End state is Waldo's original patch, which so far has been the only
version that compiles on VS2015.

MozReview-Commit-ID: FCOaEvMqYB4

--HG--
extra : source : 8d59e338a5bd76338f0fe28ff589726bc4438fdd
2016-03-24 08:53:30 -07:00
JW Wang ed30277439 Bug 1258673. Part 2 - since mStreamOffset is not updated until the end of MediaCacheStream::Read(), we have to pass stream offset to MediaCache::NoteBlockUsage explicitly to avoid hitting the assertion. r=jya. 2016-03-24 14:59:33 +08:00
Steve Fink 7c2bf09045 Bug 1257722 - Prevent stdout/stderr from getting closed, r=jorendorff
MozReview-Commit-ID: E7ajbfS3Jsh

--HG--
extra : source : c679a879092a303f980b28b03336e91c3b076084
2016-03-23 09:23:13 -07:00
Carsten "Tomcat" Book 8427ea0354 merge mozilla-inbound to mozilla-central a=merge 2016-03-24 16:15:30 +01:00
Sebastian Hengst 4029855eed Backed out changeset e139011ede5b (bug 1254780) for crashes in mozilla::gfx::Log<1,mozilla::gfx::CriticalLogger>::WriteLog on Windows 7 debug. r=backout 2016-03-24 10:52:52 +01:00
Jeremy Chen b89a58fbd9 Bug 1239564 - fix reftest. r=mattwoodrow
Let transform property in reference file consistent with that in
test file.

--HG--
extra : commitid : GaPvlUKljfg
2016-03-24 17:25:40 +08:00
Andrea Marchesini 91e4d4e4ea Followup for bug 1246091 to fix the naming for PopulateConsoleNotificationInTheTargetScope, r=me 2016-03-24 09:29:08 +01:00
Mark Capella a9bf9d6f64 Bug 1255819 - Fix SelectionHandler copy/paste in type=number text fields, r=margaret 2016-03-23 20:03:07 -04:00
Andrzej Hunt e62ff4a49f Bug 1219343 - Enable "Always restore tabs" by default r=margaret
Note, the effect of this change varies as follows:

(A) New users:
(B) Existing users who have never opened Settings->Advanced:
- Tabs will restore by default

(D) Existing users who have explicitly set the preference to disabled:
(D) Existing users who visited Settings->Advanced, without explicitly opening this preference:
- Tabs will not restore by default
(The preference already has a value set, hence the default has no effect)

MozReview-Commit-ID: DjMeEcYhusj
2016-03-23 11:19:10 -07:00
Jonathan Kew 5bebe5a758 Bug 1259065 - Don't constrain window position (only its size) when DPI-rescaling during a move. r=emk 2016-03-23 17:54:45 +00:00
Carsten "Tomcat" Book 1896f78c07 Backed out changeset 41de0b26ddd2 (bug 1238928) for test failures in /test_pointer-events-1b.xhtml 2016-03-24 08:47:25 +01:00
Carsten "Tomcat" Book 3f5c176a1f Backed out changeset e3853bd79051 (bug 1258843) 2016-03-24 08:47:03 +01:00
Brian Birtles ded9534a6c Bug 1245748 - Add a Move constructor to Keyframe; r=heycam
I have confirmed that by adding this, we end up calling SwapElements() on the
mPropertyValues member when we build up the nsTArray<Keyframe> result in
GetKeyframeListFromPropertyIndexedKeyframe. Without this explicit move
constructor (i.e. with only the default move constructor) the copy-constructor
for mPropertyValues is called.

MozReview-Commit-ID: 6IWkP97RFUr

--HG--
extra : rebase_source : 4ac4b6545337810a3047f2cfb1dac86074116cfb
2016-03-24 10:39:29 +09:00
JW Wang b5553c6b2b Bug 1258673. Part 1 - cache mStreamOffset so we won't read at the wrong position when Other Read() interrupt the current Read(). r=jya. 2016-03-23 21:40:18 +08:00
Brian Birtles 119a18fee3 Bug 1245748 - Remove no-longer-needed code for directly setting up properties in KeyframeEffect(ReadOnly) constructor; r=heycam
MozReview-Commit-ID: 4V3LMByas9Q

--HG--
extra : rebase_source : c2c687cd39b8287e7e9cb2a4edd12c86a056a0de
2016-03-22 16:36:45 +09:00
Brian Birtles 81c73a9b4b Bug 1245748 - Use Keyframe-based utility functions when constructing KeyframeEffect(ReadOnly); r=heycam
MozReview-Commit-ID: 72vLatkFqMq

--HG--
extra : rebase_source : 5b40afe6e12b3bcb3a57ed294fc582bf7e40ba18
2016-03-22 16:35:53 +09:00
Brian Birtles 1cf303b56f Bug 1245748 - Add ApplyDistributeSpacing for Keyframe objects; r=heycam
MozReview-Commit-ID: 8KNERsl8tea

--HG--
extra : rebase_source : e48ca76aea6e93722f285bf59a8696d6a102bf99
2016-03-22 16:35:53 +09:00
Brian Birtles 93bd57b41f Bug 1245748 - Add GetAnimationPropertiesFromKeyframes; r=heycam
MozReview-Commit-ID: GUnogloqViS

--HG--
extra : rebase_source : ba999c9f9bf18683b7942dfefe0c0242124af474
2016-03-22 16:34:14 +09:00
Brian Birtles 56612fa76d Bug 1245748 - Add PropertyPriorityIterator; r=heycam
MozReview-Commit-ID: JjBWcyEG3f6

--HG--
extra : rebase_source : f3f4de1b665078112205883cb1885931b84ff6ee
2016-03-22 16:33:16 +09:00
Brian Birtles 7e9749fed0 Bug 1245748 - Split PropertyPriorityComparator into a separate (reusable) class; r=heycam
MozReview-Commit-ID: Gq5VylZoS2q

--HG--
extra : rebase_source : c47b937ef63df3dbabfe4dded9de42372c5403f6
2016-03-22 16:33:11 +09:00
Brian Birtles a1ae304c59 Bug 1245748 - Add a variant of StyleAnimationValue::ComputeValues that takes an nsCSSValue; r=heycam
MozReview-Commit-ID: 83popM8E0Q4

--HG--
extra : rebase_source : efef274a8a2a21423e6c1931d9b92739272eb72a
2016-03-22 16:31:16 +09:00
Brian Birtles b411ad9926 Bug 1245748 - Add nsStyleContext parameter to StyleAnimationValue::ComputeValue(s); r=heycam
StyleAnimationValue::ComputeValue(s) will automatically look up the style
context of the supplied element. This is mostly fine, but when we start using
this method in scenarios where we are building the initial style context
(as happens later in this patch series) it can easily land us in a situation
where we iterate indefinitely.

It would be better, instead, to just explicitly pass in the style context we
want to use, as we already do for StyleAnimationValue::ExtractComputedValue.

MozReview-Commit-ID: ZoVBlBRRBI

--HG--
extra : rebase_source : 9012cc2e405fc887f070fbfaa2f9853289882862
2016-03-22 16:31:09 +09:00
Brian Birtles 67707b72eb Bug 1245748 - Add KeyframeUtils::GetKeyframesFromObject; r=heycam
MozReview-Commit-ID: 2cl8NIMApSy

--HG--
extra : rebase_source : f0cafad483afcf36efa86f6fa137bbffd068bcb5
2016-03-22 16:25:38 +09:00
Brian Birtles 9ccb67c08b Bug 1245748 - Move keyframe handling code to a separate KeyframeUtils class; r=heycam
MozReview-Commit-ID: 2r27vCLcOhs

--HG--
extra : rebase_source : 6ba24ece944543e250728cf2b18370c277e746d0
2016-03-22 16:20:37 +09:00
Brian Birtles fa75146d8b Bug 1245748 - Add missing includes to TimingParams.{cpp,h}; r=heycam
Once we tweak moz.build in the next patch, the grouping in the unified build
will change and expose these missing includes so we fix them here, first.

MozReview-Commit-ID: GebEEociwTo

--HG--
extra : rebase_source : 18158fdf8a3c1a1dcf446118371cad1a15fd4daf
2016-03-22 16:20:31 +09:00
Brian Birtles 22923130f6 Bug 1245748 - Define the Keyframe type for storing specified keyframes; r=heycam
MozReview-Commit-ID: rejtrG0U1A

--HG--
extra : rebase_source : 24815326a6dfc8c71eda559703f791a204185ea2
2016-03-22 16:19:43 +09:00
Brian Birtles 84a59825cc Bug 1245748 - Update handling of 'composite' dictionary members to match changes to the spec; r=heycam, r=bz
Specifically, for the 'composite' member on keyframes, we now indicate "use the
composite value specified on the effect" using a missing/undefined 'composite'
member as opposed to a null value.

MozReview-Commit-ID: ZH45GvCTlP

--HG--
extra : rebase_source : 5acf081fb844f81280765a87ec019b7847ca1885
2016-03-22 16:18:22 +09:00
Brian Birtles e8806251b8 Bug 1245748 - Rename Keyframe-related IDL types to match changes to Web Animations spec; r=heycam, r=bz
In particular, the spec no longer has Keyframe and PropertyIndexedKeyframes
types but rather deals with objects. The algorithms for processing these
objects, however, define various Base* types:

  https://w3c.github.io/web-animations/#dictdef-basepropertyindexedkeyframe
  https://w3c.github.io/web-animations/#dictdef-basekeyframe
  https://w3c.github.io/web-animations/#dictdef-basecomputedkeyframe

MozReview-Commit-ID: 3RqoEO66kJ

--HG--
rename : dom/webidl/Keyframe.webidl => dom/webidl/BaseKeyframeTypes.webidl
extra : rebase_source : 35a586584934170c5427138a85d167258cb34993
2016-03-22 16:16:39 +09:00
Brian Birtles 2459ec4912 Bug 1245748 - Move ComputedTiming to a separate file; r=heycam
Before we begin re-arranging KeyframeEffect.h we move ComputedTiming aside
since putting it in a separate file should make navigating the source
easier.

MozReview-Commit-ID: L5GTFAo00sh

--HG--
extra : rebase_source : e88b6ea092c459afa90831de8469697454e00c5a
2016-03-22 08:11:05 +09:00
Andrzej Hunt 2f56539665 Bug 1254468 - Post: Remove unused TransitionsTracker r=sebastian
This is no longer needed - TransitionAwareCursorLoaderCallbacks was the only
consumer - it was removed as it caused race conditions. The ideal future solution
is probably to use recyclerviews to avoid jank, rather than trying to wait for
transitions to happen.

It's also extremely difficult to use this correctly - the
TransitionAwareCursorLoaderCallbacks simply held the cursor that would usually
be swapped in onLoadFinished until transitions have finished (which is incorrect,
since cursors need to be swapped in before onLoadFinished returns). It's hard to imagine
any alternative solutions, short of avoiding loading cursors in the first place (which
isn't too useful, since cursor loading happens in the background, at which point the UI
status is irrelevant), or hacking the CursorLoader to not return from its worker thread
until UI transitions are done (which would require a new thread-safe implementation of
TransitionsTracker), or maybe even hacking Android Framework's AsyncTaskLoader  to not run Loader.deliverResult
while transitions are running (which seems awfully brittle and hacky).

MozReview-Commit-ID: 3JWDcznYL4Y

--HG--
extra : rebase_source : 1b4f52d84b21e4d93ebfb2d5c8d633c6ad12cf8e
extra : histedit_source : 2625e74aa08efa085733d3d34c6a2fa8550cf9f9
2016-03-15 09:06:46 -07:00
Andrzej Hunt a208332101 Bug 1254468 - Remove broken TransitionAwareCursorLoaderCallbacks r=sebastian
TransitionAwareCursorLoaderCallbacks is fundamentally flawed: old CursorLoader
cursors _must_ not be used after onLoadFinished has been called. However
we sometimes queue the cursor swapping (which is implemented by subclasses
in onLoadFinishedAfterTransitions) until after transitions have finished.
CursorLoader.deliverResult() closes the old cursor immediately after calling
onLoadFinished (with the new cursor). At this stage the adapter is
still holding onto the old (but now closed cursor), and will crash if it tries
to read this cursor (which can happen if the adapter is still iterating over the
cursor).

Instead we should ensure that we swap the cursors during onLoadFinished - the simplest
way to do this is by eliminating TransitionAwareCursorLoader and using onLoadFinished
the way the Android framework expects.

It's worth noting that TransitionAwareCursorLoader is obsolete: at the time it was added,
home panels were placed in the HomePagerTabStrip, which notified TransitionsTracker about
its transitions. However HomePagerTabStrip no longer exists, hence there's no need
for us to care about these transitions anymore. (The crash seems to happen because we
try to hide the doorhanger every time we receive LOCATION_CHANGE, and each of these starts
a hide transition - even if no doorhanger is shown - hence we often have a transition
in progress every time we show topsites.)

MozReview-Commit-ID: HsytLpHOrp2

--HG--
extra : rebase_source : 0411e017e19bb4393368b175418a41b0129a622b
extra : histedit_source : 19e68ed7f68180122b7514849b5dad4e246784cb
2016-03-14 15:38:53 -07:00
Michael Comella 06b85c49ff Bug 1256427 - Move to AtomicFile in framework from support lib. r=sebastian
MozReview-Commit-ID: 6DOKydvvSGJ

--HG--
extra : rebase_source : 0c1619d54b2a2f40952e7b01e6b9133aaabdc991
2016-03-23 10:30:52 -07:00
Michael Comella ed5862c693 Bug 1256427 - Move to LruCache in framework from support lib. r=sebastian
MozReview-Commit-ID: HImxvIVjIhw

--HG--
extra : rebase_source : 14baf6951f4cb195edc6b5c99ffa3065eb6c9d1a
2016-03-23 10:29:25 -07:00