Commit Graph

467905 Commits

Author SHA1 Message Date
Michael Comella
b5ed0403e2 Bug 1258769 - Use soter to add checkstyle gradle task with simple checks. r=nalexander
Run checkstyle via:
 ./mach gradle app:checkstyle

This is intended to be added to automation in bug 1258787.

Concerns with this patch:
  1) I don't have a maven-metadata-local.xml. However, I didn't take the
snapshotted version and [1] seems to indicate it's unnecessary for my
particular build.

For the addition of future checks, it's worth noting Google's config is
available:
  3e4367941c/src/main/resources/google_checks.xml

And this version contains links with descriptions of each of the tasks:
  http://checkstyle.sourceforge.net/google_style.html

[1]: https://maven.apache.org/ref/3.3.3/maven-repository-metadata/

MozReview-Commit-ID: ID3X9ZA27b0

--HG--
extra : rebase_source : ad8d3d5255e366362db5cc19985434e5ab5f9559
extra : histedit_source : b0bc07b572f7010c3f15ee76d52619ff5d76ab52
2016-03-25 09:52:15 -07:00
Michael Comella
77453d3db4 Bug 1258769 - Don't wrap import line. r=nalexander
The checkstyle checks should pass now.

MozReview-Commit-ID: HMRC2D8u8JT

--HG--
extra : rebase_source : ea2c096114dd1830054eae4864ee4426dddda499
extra : histedit_source : bf0fe0b9d7b0b29bea7869c9816214c1f818bae3
2016-03-22 14:19:51 -07:00
Michael Comella
6db6628d9a Bug 1258769 - Remove tabs from various files to pass checkstyle check. r=nalexander
MozReview-Commit-ID: JAbrVoi6Cxg

--HG--
extra : rebase_source : 567fe0e7ee0be89bf370fd3872cdb32cb094d78d
extra : histedit_source : 96cde1c17f29e097a83cc7fcc89ad42eb389e80c%2Ce75e48fb62d0dfa6899a5cecb02a03fa5550111e
2016-03-25 11:41:24 -07:00
Jarda Snajdr
2b44ecc757 Bug 1220208 - Move clear button to top left corner in toolbars r=bgrins
MozReview-Commit-ID: 5xIjd2TkvP6
2016-03-25 10:01:12 -07:00
Nicolas Chevobbe
169058c32c Bug 1259777 - Remove unnecessary DOMUtils lazy load in css-angle.js . r=pbro
MozReview-Commit-ID: 3byxrCy63Pv
2016-03-25 17:34:51 +01:00
Nihanth Subramanya
bd7925b482 Bug 1254592 - [e10s] fix test_history_post.xul to run in content and remove duped test_bug_94514.html. r=mak
MozReview-Commit-ID: 1CsaPl2WiX

--HG--
rename : toolkit/components/places/tests/chrome/history_post.sjs => toolkit/components/places/tests/browser/history_post.sjs
extra : rebase_source : f986db2f73672e0050cbd286d495d4e9cd2dc0eb
2016-03-25 12:02:14 -04:00
Matthew Noorenberghe
ddff0d1937 No bug - Disable test_notifications_popup.html until its converted for e10s
MozReview-Commit-ID: CN5fgoIyDWi

--HG--
extra : rebase_source : fdc4555785ce734e59a1d49f03513b2f74599a16
2016-03-25 12:00:33 -04:00
Ryan VanderMeulen
5044fd9c12 Merge m-c to inbound. a=merge
--HG--
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-pinningroot.pem.certspec
rename : widget/gtk/gtk3drawing.c => widget/gtk/gtk3drawing.cpp
extra : rebase_source : 8ba87bb4e8b334a68152458bda8da15398c78ddc
2016-03-25 11:42:42 -04:00
Nihanth Subramanya
e3c9fad8f2 Bug 1255066 - [e10s] convert test_bug_461710_perwindowpb.html to mochitest-browser. r=mak
MozReview-Commit-ID: 4BafGjlLAe9

--HG--
rename : toolkit/components/places/tests/mochitest/bug_461710/iframe.html => toolkit/components/places/tests/browser/461710_iframe.html
rename : toolkit/components/places/tests/mochitest/bug_461710/link_page-2.html => toolkit/components/places/tests/browser/461710_link_page-2.html
rename : toolkit/components/places/tests/mochitest/bug_461710/link_page-3.html => toolkit/components/places/tests/browser/461710_link_page-3.html
rename : toolkit/components/places/tests/mochitest/bug_461710/link_page.html => toolkit/components/places/tests/browser/461710_link_page.html
rename : toolkit/components/places/tests/mochitest/bug_461710/visited_page.html => toolkit/components/places/tests/browser/461710_visited_page.html
2016-03-25 11:38:33 -04:00
Ryan VanderMeulen
39b284d947 Merge fx-team to m-c. a=merge 2016-03-25 11:36:26 -04:00
Phil Ringnalda
0d901b89d3 Merge m-c to a CLOSED TREE f-t 2016-03-24 22:43:18 -07: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
Kris Maglione
ff74727859 Bug 1258858: Fix harmless console errors in test_webextension.js. r=aswan
MozReview-Commit-ID: aDNfOANJOO

--HG--
extra : rebase_source : ce5dc8d483fb367c70bbb34dc9e24e6fda530ad2
2016-03-22 22:42:52 +01:00
Michael Comella
81f81cd352 Bug 1256427 - Backed out changeset 57572ba7a904 for crash on API 15-16.
AtomicFile is only available for API 17+ so we need to use the framework.

MozReview-Commit-ID: HBrLHvp57Uv

--HG--
extra : rebase_source : 8f42708c9ef8760aec125c4a8955cd2463ae1c51
2016-03-24 14:10:56 -07:00
J. Ryan Stinnett
72d3e813fa Bug 1233780 - Avoid CPOWs in GCLI security csp. r=jwalker
MozReview-Commit-ID: Gb6tuRL8Tcn
2016-03-24 14:10:27 -05:00
J. Ryan Stinnett
76c8287ad6 Bug 1249934 - Avoid CPOWs in GCLI cookie commands. r=jwalker
MozReview-Commit-ID: 3a1PoMDbUYW
2016-03-24 14:10:27 -05: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
Nihanth Subramanya
b45807e877 Bug 1255066 - Wrap condition fn for BrowserTestUtils.waitForCondition in Task.spawn. r=mak
MozReview-Commit-ID: 8YoDfF6d15G
2016-03-21 01:41:54 -07:00