Commit Graph

460924 Commits

Author SHA1 Message Date
Thomas Zimmermann
a635d5ed48 Bug 1194721: Add registry interface and module for Gonk sensors, r=gsvelto
A system daemon can contain several services. One of them is the registry
service that manages all other services. This patch adds support for this
service in the Gonk sensors daemon.
2016-02-04 12:35:13 +01:00
Thomas Zimmermann
24f81344e9 Bug 1194721: Add helpers for Gonk sensors daemon, r=gsvelto
This patch adds helpers for using the Gonk sensors daemon. The types
and functions allow for packing and unpacking messages of the daemon's
IPC protocol.
2016-02-04 12:35:13 +01:00
Thomas Zimmermann
3df84ac272 Bug 1194721: Add additional PDU pack and unpack functions, r=shuang
This patch adds PDU pack and unpack functions for 64-bit integer
values and floating-point values.
2016-02-04 12:35:13 +01:00
Thomas Zimmermann
3b094a9795 Bug 1194721: Add |DaemonRunnable8|, r=shuang
The runnable template |DaemonRunnable8| runs an operation with 8
arguments.
2016-02-04 12:35:13 +01:00
Thomas Zimmermann
92239ff4ba Bug 1194721: Add PDU_ prefix to daemon PDU constants, r=shuang
Something defines HEADER_SIZE when including the PDU headers from
hal/gonk. This break the HEADER_SIZE constant in |DaemonSocketPDU|.

This patch adds the prefix PDU_ to all PDU constants.
2016-02-04 12:35:13 +01:00
Thomas Zimmermann
ad6d42d817 Bug 1194721: Add |Saturate| template for saturation arithmetics, r=nfroyd
|Saturate<T>| implements saturation arithmetics for arbitrary basic
types. Operations on its value won't over- or underflow the type's
range.
2016-02-04 12:35:12 +01:00
Carsten "Tomcat" Book
43ec756ee5 Merge mozilla-central to mozilla-inbound 2016-02-04 12:05:03 +01:00
Carsten "Tomcat" Book
55b4ed8c4c merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Nick Alexander
b266bd6df2 Backed out 2 changesets (bug 1163082) for Robocop rc1 failures.
Backed out changeset baf25be8d491 (bug 1163082)
Backed out changeset e228040a044b (bug 1163082)

--HG--
extra : commitid : FNz3fg58MOy
extra : amend_source : e24ac7d8fd3911a7e12ca71d8bb7e618aa1e78ac
2016-02-03 23:15:00 -08:00
CJKu
eae7e3b398 Bug 1244628: compare nsStyleImageLayers::mAttachmentCount in nsStyleImageLayers::CalcDifference. r=dbaron.
--HG--
extra : commitid : JlCMq3C9wwB
extra : rebase_source : f9da96c973cc556b091623611157d25d94f5fd87
2016-02-04 14:11:35 +08:00
CJKu
5690fd95cb Bug 1244598 - Move resource files of w3c-css/masking into ./support subdir. r=dbaron
--HG--
rename : layout/reftests/w3c-css/submitted/masking/blue-100x50-transparent-100X50.png => layout/reftests/w3c-css/submitted/masking/support/blue-100x50-transparent-100x50.png
rename : layout/reftests/w3c-css/submitted/masking/blue-100x50-transparent-100X50.svg => layout/reftests/w3c-css/submitted/masking/support/blue-100x50-transparent-100x50.svg
rename : layout/reftests/w3c-css/submitted/masking/transparent-100x50-blue-100X50.png => layout/reftests/w3c-css/submitted/masking/support/transparent-100x50-blue-100x50.png
rename : layout/reftests/w3c-css/submitted/masking/transparent-100x50-blue-100X50.svg => layout/reftests/w3c-css/submitted/masking/support/transparent-100x50-blue-100x50.svg
extra : commitid : 8cbhfOPgU6d
extra : rebase_source : c35dbfeae9c57d978b19ef59993efce9813a0293
2016-02-04 13:58:44 +08:00
Phil Ringnalda
e8bf2f165a Back out 3 changesets (bug 1245285) for e10s failures in test_layerization.html
Backed out changeset e0c8fb70a095 (bug 1245285)
Backed out changeset a211643de3b6 (bug 1245285)
Backed out changeset 41ea5de656a9 (bug 1245285)
2016-02-03 21:46:11 -08:00
Benjamin Bouvier
ef83272681 Bug 1243374: Don't emit moves if the MoveResolver has failed earlier; r=nbp
--HG--
extra : commitid : AV9wandxEwF
extra : rebase_source : 6677f00b5b99757e247e042fdbb671cec1ac67ef
extra : amend_source : 22445f55799662f447175ba5d231b7c9c642340f
2016-02-03 15:10:38 +01:00
Benjamin Bouvier
ee45c548fe Bug 1242342: Add If and IfElse to WebAssembly; r=luke
--HG--
extra : commitid : 1E995ieGqky
extra : rebase_source : cb81d0e6e184f45b838720b5582a1fcfbfa57f82
2016-01-27 19:34:24 +01:00
Benjamin Bouvier
f9031f1f20 Bug 1242342: Set return type accordingly to the compilation mode; r=luke
--HG--
extra : commitid : 1PsmF1KBmv5
extra : rebase_source : 2bc85e325fef65d12070d09fe10cccafff03502e
2016-02-03 18:43:38 +01:00
Benjamin Bouvier
a7b806eb75 Bug 1242342: Replace Ternary by IfElse which return expressions; r=luke
--HG--
extra : commitid : 3LVgF5i1c17
extra : rebase_source : c194e63c84227e9b4098737061a0d0a8d61a6bd2
2016-02-03 16:04:39 +01:00
Chris Pearce
ab9dc9ea26 Bug 1243878 - Null check CDMProxy::mKeys in CDMProxy::OnExpirationChange() before use. r=jwwang
All the methods in CDMProxy except CDMProxy::OnExpirationChange() that use
mKeys null check mKeys before using it because it can go away during shutdown
before the IPC message to call the methods have had a chance to run.

We should do the null check in CDMProxy::OnExpirationChange() too.
2016-01-29 10:23:45 +13:00
William Chen
a7c2c21d89 Bug 1245242 - Normalize to unit vector for DOMMatrix.rotateAxisAngleSelf. r=roc 2016-02-04 00:30:00 -08:00
Mike Hommey
9ca9b3074c Bug 1245763 - Don't emit Sources objects when there is no Linkable in the same directory. r=gps
We have very few directories where we have SOURCES declared that are not
part of a library or program in some way. In fact, there is only one
where it is legitimate because we only use the object file
(build/unix/elfhack/inject). Others are the result of moz.build control
flow (see e.g. netwerk/standalone), and we end up building more objects
than we need to.

There are other cases where we need objects without actually linking
them anywhere, but there are other sources in the same directory, and a
corresponding Linkable is emitted. And in fact, the only case I knew
about (media/libvpx), doesn't use such objects since bug 1151175.
2016-02-04 17:16:29 +09:00
Mike Hommey
bbb2388ec3 Bug 1245763 - Move the _handle_programs and _process_sources around. r=gps
The functions are going to be merged next ; this makes the change easier
to review.
2016-02-04 17:16:29 +09:00
Mike Hommey
dcd8e418ac Bug 1245763 - Group sources and linkables handling function cals in mozbuild.emitter. r=gps 2016-02-04 17:16:29 +09:00
Mark Goodwin
a96f295645 Bug 1244776 - Update moz-kinto-client.js to include recent Kinto.js changes r=rnewman
Please see the Kinto.js PR for the storage adapter changes:
https://github.com/Kinto/kinto.js/pull/303

Additions and changes to the Firefox storage adapter tests have been made
accordingly.
2016-02-01 16:11:48 +00:00
Bob Owen
bb75a620a0 Bug 1245246: Add null check for mDocViewerPrint in nsPrintEngine::FirePrintingErrorEvent. r=roc 2016-02-04 08:03:52 +00:00
Nick Alexander
3c755e524d Bug 1163082 - Part 2: Extract Android distribution from packaged assets rather than APK root. r=rnewman
This reads from "assets/distribution/**" in the APK and writes to
"distribution/**" in the data directory.  That output is the same, but
the input used to read from "distribution/**", which is not really
supported by modern build tooling (Gradle), which doesn't allow to
write files directly into the APK root.

I manually tested this without issue.  I see no way to add meaningful
tests to our current Robocop test suite; the long term testing
approach is to develop a new test for this functionality and only run
it against the "distribution" build type that was added in Bug
1163080.  However, that's a larger project than I have time for now.

--HG--
extra : commitid : JnQ0skxiHW4
extra : rebase_source : 56bdfd947334bd03035046cb24f6bebfbce32d12
extra : histedit_source : aabcffd7434755a4978971a8da238253b15948b6
2016-01-26 10:36:09 -08:00
Nick Alexander
609e5edb32 Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.

--HG--
extra : commitid : BLgM6ZCm9AY
extra : rebase_source : 572d1ff35a02505f452fee67130b48c8df4499b5
extra : histedit_source : 0b8f087bc6d70fa42401f4a2476898139bdf606c
2016-01-27 12:25:04 -08:00
Nick Alexander
ac44079df1 Bug 1243855 - Add Java client for interacting with autopush endpoint service. r=rnewman,sebastian
A few notes: the test is live, so I've marked it @Ignore, so that it
doesn't run during |mach gradle test|.  There's some value in mocking
the service endpoint, but this is how I verify that the server works,
so it has more value right now as a live test than a mocked test.  In
the future, that probably won't be true.

There are issues running the test locally because Robolectric doesn't
provide all the cipher suites we use in GlobalConstants: in
particular, the GCM suites aren't supported.  This may improve as
Robolectric matures, or we may add a work-around in the code (like at
http://androidxref.com/4.4.4_r1/xref/libcore/support/src/test/java/libcore/java/security/StandardNames.java#68),
or we may add a test-specific flag.  For now, I'm not going to address
it directly.

Finally, I put the code in mobile/android/services, simply because the
less that goes into base, the better our build times will be.

--HG--
extra : commitid : Gw8uCqVViMC
extra : rebase_source : 7d35b78cb776fbd3892a2a95190a61846e0a3291
extra : amend_source : dfa8168eaca0a44b05a71fe6fdf4952964460d79
2016-01-29 13:47:20 -08:00
Brian Grinstead
9ebb26a99c Bug 1245287 - Add toolbox API for isToolRegistered and events for tool-registered and tool-unregistered;r=jryans
--HG--
extra : commitid : FWUAnIRnqH
2016-02-03 16:00:21 -08:00
Andrzej Hunt
970113dc9f Bug 1243307 - Post: convert AsyncTask to ThreadUtils.postToBackgroundThread r=liuche
--HG--
extra : commitid : HDD66YuzRIA
2016-02-01 15:38:35 -08:00
Andrzej Hunt
39666217d2 Bug 1243307 - Post: clarify where onPromptFinished is run r=liuche
--HG--
extra : commitid : 1ngV1DKn5ym
2016-02-01 15:37:47 -08:00
Andrzej Hunt
45f7f84915 Bug 1243307 - Part 2: Ensure homescreen shortcut creation happens on background thread r=liuche
--HG--
extra : commitid : pHSnWj1RD2
2016-02-01 15:36:38 -08:00
Andrzej Hunt
14832d54db Bug 1243307 - Part 1: Make onPromptFinished run in the UI thread again r=liuche
This seems more consistent with what Android UI callbacks do. This commit also
means all callees must be adapted to use the background thread if needed.

--HG--
extra : commitid : AlGQZ8biFZn
2016-02-01 15:07:47 -08:00
Matthew Noorenberghe
66c73b5940 Bug 1244908 - Remove privacy.clearOnShutdown.passwords migration code. r=dolske
--HG--
extra : commitid : 2HnKfq3jUZK
extra : rebase_source : 4cca79b260a18b95758bed5fbd2518b3d84d430a
2016-02-03 15:26:14 -08:00
Vladan Djeric
8d5951e924 Bug 1193535 - Store Heartbeat Scores in Unified Telemetry. r=MattN
--HG--
extra : commitid : 9Duh1Mw8t9X
extra : rebase_source : f47ea8590484c8c81409da9ba550d0a5fad51b04
2016-02-03 15:25:53 -08:00
Matthew Wein
4800c1a9aa Bug 1242588 fix how tab.create handles missing URLs. r=kmag
--HG--
extra : commitid : 9p3zXXVEsj5
extra : rebase_source : 1a02c985f3909c7ab42f87f18ffe6c9215e8c4f0
extra : amend_source : 017a1635a65747bb6b713ee341b7022e06966680
2016-01-30 17:09:49 -08:00
Michael Comella
6f74c154a6 Bug 1244293 - Don't upload telemetry if user opts out. r=mfinkle
I'm slightly concerned we're providing too much configuration information in
the debugging statements.

--HG--
extra : commitid : 6JfBA5lVkZ4
extra : rebase_source : 6cf1befef3aba37031e7fc3306b446e87114b601
2016-01-29 15:21:50 -08:00
Jordan Santell
0e5e1d2b01 Bug 1176056 - Tests for the JITOptimizations react component. r=fitzgen 2016-02-03 12:04:51 -08:00
Dão Gottwald
a007ebef44 Backed out changeset 97c27a348f09 / bug 1241837, CLOSED TREE 2016-02-03 17:59:35 +01:00
J. Ryan Stinnett
3e1c3516ad Bug 1245121 - Enable JSON Viewer on RELEASE_BUILD. r=Honza 2016-02-03 09:55:17 -06:00
AJ Kerrigan
45e6ab33d8 Bug 1244514 - webconsole.js eslint: fix spacing and line length; r=linclark 2016-02-01 14:16:04 -05:00
David Rajchenbach-Teller
17e41f6c46 Bug 1221761 - Probe.prototype.release() now swallows NS_ERROR_NOT_AVAILABLE. r=felipe
During shutdown, we may find ourselves attempting to release and shutdown a probe while the PerformanceStats service is already shutdown. In this case, since the probe is already shutdown, we can simply ignore the error.

--HG--
extra : transplant_source : %BBT%84%26.%AD%7B%23%1C%BC%3F%85%F9%18%A3%D8%84%EC%02%BE
2016-01-28 11:17:49 +01:00
Margaret Leibovic
01e2bd1f48 Bug 1241566 - Put malware download protection behind a switchboard flag. r=liuche
--HG--
extra : commitid : 284yVbI4BFQ
extra : rebase_source : 99902133788432f13cb18e4fcbdccea894e7e60b
2016-01-29 16:30:35 -05:00
Allasso Travesser
638f819fe5 Bug 1241837 - Use proxy for browsers property in tabbrowser instead of explicit array. r=dao 2016-02-03 16:05:56 +01:00
James Long
9b752e46c8 Bug 1244892 - fix unhandled promise rejection in debugger test browser_dbg_scripts-switching-03.js r=ejpbruel 2016-02-03 09:41:59 -05:00
Paolo Amadini
8b8676204b Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00:00
Marco Bonardo
00fe34957a Bug 1244723 - xpcshell should shutdown profile after all the registered cleanup functions, not before them. r=ted
--HG--
extra : commitid : 725U9rSPg8q
2016-02-03 12:35:07 +01:00
Carsten "Tomcat" Book
acbc3c41fd Merge mozilla-central to fx-team 2016-02-03 12:29:21 +01:00
Carsten "Tomcat" Book
5461ec9a92 merge mozilla-inbound to mozilla-central a=merge 2016-02-03 11:59:20 +01:00
Christoph Kerschbaumer
d8d683d81b Bug 1195173 - Test asyncopen2 security checks for stylesheets (r=bz,ehsan) 2016-02-02 20:35:42 -08:00
Christoph Kerschbaumer
c53a2ff8b7 Bug 1195173 - Apply CSP to preloaded styles within layout/style/Loader.cpp (r=bz) 2016-02-02 20:35:30 -08:00
Christoph Kerschbaumer
2f5879179c Bug 1195173 - Convert ExtensionProtocolHandler to use channel->Open2() (r=maglione) 2016-02-02 20:35:15 -08:00