Commit Graph

16765 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
706065f96d Bug 1286472: Replace serializing nsISHEntry.owner with nsISHEntry.triggeringPrincipal. r=bz,mikedeboer 2016-07-28 09:23:25 +02:00
Christoph Kerschbaumer
caedb13ef1 Bug 1286472: Replace owner with triggeringPrincipal within docshell. r=bz 2016-07-28 09:20:41 +02:00
Matthew Wein
9db4b394c8 Bug 1285063 - Part 2: Switch to using the Category Manager to register scripts/schemas in order to load them in time for Fennec. r=kmag
MozReview-Commit-ID: 2U8cTYeH8kg

--HG--
extra : rebase_source : 32ffedca29caeb1154d9d1712795f18fc74dbe2a
2016-07-22 12:44:40 -07:00
Carsten "Tomcat" Book
7293066753 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Nick Alexander
c6f2ef4d51 Bug 1268944 - Remove GeckoView packaging. r=chmanchester
The best kind of patch: bulk deletion.  This removes two separate but
similar build flags, and an unsupported integration piece.  The first
packaged Fennec's resources into an ill-defined GeckoView archive; the
second built on the first to produce an Android ARchive for external
consumption.  Neither of these artifacts are supported or have
consumers; in fact, they mislead potential consumers, since they're
known to be broken.  The Gradle build work under the --with-gradle
flag, and significant follow-up, is the path forward if Mozilla wants
to invest in packaging GeckoView on Android for external consumption.
That is, rather than hacking together AAR files, we'll use the
well-supported Gradle mechanisms for building and publishing such
libraries.

MozReview-Commit-ID: 4Z1jJ8z0cyJ

--HG--
extra : rebase_source : b8e65f39c286313fe8963bf3832d9b6977ef188f
2016-07-25 11:54:03 -07:00
Sebastian Kaspari
5ff7384025 Bug 1220773 - Do not run our updater if app was installed from Google Play. r=ahunt,esawin
MozReview-Commit-ID: Bz4kErHzhen

--HG--
extra : rebase_source : 292887fa4de4ba604f6b966ef0296857078bba2b
2016-07-26 10:36:37 +02:00
Grigory Kruglov
483b42a995 Bug 1277333 - Keep track of a reference to GeckoApplication to eliminate "no context NPE" crashes r=sebastian
MozReview-Commit-ID: 7jzOflrIcLZ

--HG--
extra : rebase_source : 431be9b673c1a1a0bce9f072b1a83497d19bdc4b
2016-07-26 10:40:57 -07:00
Jan Henning
e1d0bb4c41 Bug 1288186 - Do the RecentTabsAdapter wait from a separate thread. r=jchen
When reading the previous session file, the RecentTabsAdapter waits for GeckoApp (initialisation runs on the main thread) to have actually moved the previous session file to its correct location (happens from the background thread). Hence we can't do the wait from either of those two threads, because we risk a deadlock otherwise if the RecentTabsAdapter happens to be initialised *before* GeckoApp.

MozReview-Commit-ID: 3GBeReP2iQW

--HG--
extra : transplant_source : %96%DC%08n%F3%CC%0A%9A%B1%E5%22f%19/%EF%A2Q_%E2%0F
2016-07-22 19:07:41 +02:00
Cykesiopka
8297eb8984 Bug 1281665 - Change nsIClientAuthDialogs.chooseCertificate() to use hostname instead of CN. r=keeler
chooseCertificate() currently uses a concatenation of the Common Name of the
server cert and the port of the server to allow the user to identify the server
requesting client authentication. Unfortunately, this approach is flawed, since
it doesn't take into account things like SAN entries, which might be very
different from the CN.

Using the hostname instead avoids this problem.

MozReview-Commit-ID: 6XjGCknWNi9

--HG--
extra : transplant_source : k%10N%7B%E8%A4%9B%C9%9A%23Q%D1%99%D2%A3%C0.%2B%7F%A5
2016-07-26 20:16:58 +08:00
Michael Comella
7e2617e508 Bug 1289006 - Add code to assert potential crashing case never happens & tests. r=grisha
I expect the crashes occurred because one of the following:
  * the store already existed as a file
  * the store was a directory that did not have the appropriate permissions

In the telemetry code, none of the cases above should happen so I assert that
they never do.

If the crashes did occur for these reasons, the user will unfortunately
continue to crash but at least we'll know where our assumptions are going wrong.

I originally intended to write a regression test for listFiles returning null
but it requires the application code to be modified in non-trivial ways (e.g.
accessor methods we might forget to use) so I decided against it.

MozReview-Commit-ID: 9V9H84ehbdO

--HG--
extra : rebase_source : 8290e515c9010bef639e92d1b0420bebe5c7d61c
2016-07-25 14:24:03 -07:00
Michael Comella
bd05d8b08b Bug 1289006 - Return gracefully if listFiles returns null in telemetry store. r=grisha
This changeset will correct the crash we're seeing in the bug.

The docs support that File.listFiles can return null.

MozReview-Commit-ID: FHYGErshhoP

--HG--
extra : rebase_source : 15d0c4a3d283924627f1f97a1f99637244c49c08
2016-07-25 13:57:45 -07:00
Andrzej Hunt
cccfcddf71 Bug 1288124 - Add basic/blank Activity Stream panel and show if flag is enabled r=jonalmeida,sebastian
MozReview-Commit-ID: JqbOywOFsoF

--HG--
extra : rebase_source : 10e51f16996c347872a8319861fe13de5368ca05
2016-07-21 11:31:57 -07:00
Andrzej Hunt
7233b62257 Bug 1288103 - Add experimental MOZ_ANDROID_ACTIVITY_STREAM build flag r=chmanchester
This will be used to enable the activity stream panel in place of the HomePager. We are
likely to migrate this to a switchboard flag in future once the new panel becomes
shippable (we are still investigating other distribution mechanisms, so it is entirely
possible this will completely change in future).

MozReview-Commit-ID: I9VSliO0IXE

--HG--
extra : rebase_source : 5c6578e41d7bc4849a7aa4a74c4be6cebc966231
2016-07-22 16:16:41 -07:00
Carsten "Tomcat" Book
b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Carsten "Tomcat" Book
42933ba381 merge fx-team to mozilla-central a=merge
--HG--
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
2016-07-25 15:49:05 +02:00
Makoto Kato
034db5a8b2 Bug 1094729 - Fix bustage. r=me
MozReview-Commit-ID: ExUWhdl6Z3Y

--HG--
extra : rebase_source : 07d7ce5a1c8126065ad48eafc7a8f7ab301d12ee
2016-07-25 16:32:24 +09:00
Geoff Lankow
b013f58f80 Bug 1284166 - <setting>s do not properly handle non-ASCII characters. r=kmag 2016-07-22 12:12:11 +12:00
Sebastian Kaspari
a6af10feb9 Bug 1221646 - Report getInstallerPackageName() in telemetry. r=ahunt,liuche
MozReview-Commit-ID: EiPNDsVam0x

--HG--
extra : rebase_source : 88f99dc42117ad024051eef8786caa2125763e23
2016-07-20 11:58:35 +02:00
Sebastian Kaspari
d3f6c0eed6 Bug 1284387 - Remove audio control notification after playing tab has been closed. r=ahunt
MozReview-Commit-ID: 9nrlKpcedzQ

--HG--
extra : rebase_source : 06b3e7b26ca4e5007150780446346eedc9a63653
2016-07-21 15:33:48 +02:00
Makoto Kato
b1da9d4a6c Bug 1094729 - Part 2. Support floating candidate window for hardware keyboard on Android 5+. r=jchen
MozReview-Commit-ID: G148os7J9wO

--HG--
extra : rebase_source : 1cbf1cb1a2a6897439effa7f3edf720adc184e15
extra : histedit_source : 2d84917b32d5eca4066e426f94ece36e81c0bdea
2016-07-20 16:19:05 +09:00
Makoto Kato
06b363b5be Bug 1094729 - Part 1. Add utility function to convert Gecko's coords to Layer view coords. r=snorp
MozReview-Commit-ID: 7CzyHQkVVDz

--HG--
extra : rebase_source : 5c19e53fdc5b2bc544648cea9bc46b2394681d0c
2016-07-01 15:37:37 +09:00
Geoff Brown
35dde125dd Bug 1266562 - Remove robocop testAwesomebar; r=snorp 2016-07-22 08:18:50 -06:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book
53b9562c23 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Andrzej Hunt
e8b5a4e8dd Bug 1288256 - Post: add comments explaining HomePager specific methods in HomeScreen r=sebastian
MozReview-Commit-ID: 5hgTMzff6zq

--HG--
extra : rebase_source : a89d18e6cf5e06ae7845a8373535b5fda89fbb59
2016-07-21 08:03:37 -07:00
Andrzej Hunt
12a3fc81a8 Bug 1288256 - Part 3: update BrowserApp to use HomeScreen interface instead of
HomePager r=sebastian

MozReview-Commit-ID: 7h6s6ewfSOu

--HG--
extra : rebase_source : 5ac3207b8030cdfcd282fccd14656b55782168a3
2016-07-21 08:48:11 -07:00
Andrzej Hunt
92918007b3 Bug 1288256 - Part 2: extract HomePager interface into HomeScreen r=sebastian
This will permit us to plug in other HomeScreen implementations as needed.

MozReview-Commit-ID: Dvmyk1sdBT6

--HG--
extra : rebase_source : bf8acdf84e35f9b2dbeaa2445121c1cfa6d974e4
2016-07-21 08:48:23 -07:00
Andrzej Hunt
fe0cd8705c Bug 1288256 - Part 1: update naming of "home pager container" to "home screen container" r=sebastian
This is to help keep the terminology more clear: this container will allow displaying any of our
home screen implementations, and not just the HomePager.

MozReview-Commit-ID: 4kqNipgvQ5I

--HG--
extra : rebase_source : 831090edf10be23baf358d778934e73534b720f2
2016-07-20 14:58:19 -07:00
Andrzej Hunt
82913b68d5 Bug 1288256 - Pre: remove unneeded imports r=me
MozReview-Commit-ID: 5q0FhQVPY8P

--HG--
extra : rebase_source : ead7477f271615d22102b9ea6ead6b9c343557db
2016-07-20 14:58:35 -07:00
Carsten "Tomcat" Book
a8e41b0eb2 Merge mozilla-central to fx-team 2016-07-21 16:27:04 +02:00
Sebastian Kaspari
94363d0dc6 Bug 1280148 - Enable Chrome Custom Tabs in Nightly be default r=glandium
MozReview-Commit-ID: E4IXJ3I0Jdo

--HG--
extra : rebase_source : e794d9de2521f53eeae4d49e75bbbd213caeffb4
extra : amend_source : 605466851ab8acb62bd4f400d8fd4beaefc94799
2016-07-15 20:36:58 +02:00
Carsten "Tomcat" Book
8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
Carsten "Tomcat" Book
668b63cbb9 merge autoland to mozilla-central a=merge 2016-07-20 10:59:12 +02:00
Carsten "Tomcat" Book
868b17897f merge fx-team to mozilla-central a=merge 2016-07-19 16:09:20 +02:00
Thomas Wisniewski
051c21928e Bug 843579 - Unprefix -moz-any-link. r=bz
--HG--
extra : rebase_source : d5ad8227cc118491f130e1fef01829c594cc9477
2016-07-19 23:13:13 -04:00
Makoto Kato
c5a642ffaa Bug 1287015 - Part 1. Remove SurfaceBits and getSurfaceBits. r=snorp
MozReview-Commit-ID: 2dFvgwxavgx

--HG--
extra : rebase_source : e1424a90e6bcc3c53985d9582ac89facc8818bc8
extra : histedit_source : f7040478e0bb6952d09cc46376441e71abe021de
2016-07-15 11:02:04 +09:00
Andrzej Hunt
4b9284487d Bug 1280382 - Catch ClassCastException that may occur on return from generic method r=mcomella
MozReview-Commit-ID: BfiAMAEY1jY

--HG--
extra : rebase_source : d7fde4380e232a19880b896234d658f60a84965d
2016-07-05 09:29:30 -07:00
Andrzej Hunt
77ed70f397 Bug 1284544 - Remove redundant flag from PackageManager.queryIntentServices r=mcomella
GET_SERVICES is already implicit in this method name. Using lint running against
sdk 24 we get a warning that GET_SERVICES isn't a permitted flag. (Previous sdks
didn't yet contain a list of allowable flags.)

MozReview-Commit-ID: LINassWOTfc

--HG--
extra : rebase_source : f3e654849fff8a1bd0e10566e5382991d47cefb4
extra : histedit_source : 1c3545c90e4351147fe2da072814c2c6b53f19d9
2016-07-05 09:12:47 -07:00
Andrzej Hunt
e360c33064 Bug 1284544 - lint: suppress useless override error caused by presence of 24 sdk r=mcomella
We're still building with the 23 sdk, but lint is now giving us errors based
on the 24 sdk. We therefore need to explicitly suppress the error (even though
in reality we don't want to suppress the error so that we don't miss adding the
@Override annotation when we switch to 24).

MozReview-Commit-ID: 3RqLMhiyAFh

--HG--
extra : rebase_source : 0d298d5f1245286f5946d544422b87e6a51c04ed
extra : histedit_source : 3e5e2dfb28cf9a55c006803a8df68a7942381a54
2016-07-18 18:21:41 -07:00
Andrzej Hunt
4e929753dc Bug 1284544 - lint: don't error on "OldTargetSdk", we don't want to upgrade the sdk yet r=mcomella
MozReview-Commit-ID: 7PGejjpmNWh

--HG--
extra : rebase_source : d57914dde1953670a48d5e1d024fab2581816119
extra : histedit_source : 731cea8787dbcf10c19c3094ddf49812ba693050
2016-07-05 09:04:43 -07:00
Sebastian Kaspari
7d659e0066 Backed out 3 changesets (bug 1282410)
Backed out changeset 39c367ecc144 (bug 1282410)
Backed out changeset 577309fc4bbb (bug 1282410)
Backed out changeset 339b5c5d3595 (bug 1282410)

MozReview-Commit-ID: 17IgTjbib20
2016-07-18 17:26:25 +02:00
Sebastian Kaspari
bb6eb374b4 Backed out changeset 83088b5375ae (bug 1284754)
MozReview-Commit-ID: F0AEFYIxgHI
2016-07-18 17:26:24 +02:00
Alastor Wu
a02e63bc63 Bug 1282391 - make MediaControlService to foreground service when we're playing media. r=sebastian
MozReview-Commit-ID: HYN3PTQVdhG

--HG--
extra : rebase_source : 5e9ad3fc90d0d04c72b5d5e0e958c174df056342
2016-07-19 23:02:35 +08:00
Tom Klein
c8ba465303 Bug 1117833 - Cancel pending visit and save immediately when title is updated. r=snorp
MozReview-Commit-ID: 3eSyovpfO3A

--HG--
extra : rebase_source : 7c71f099f8a138de9a9bedf2fc57d84209bee434
2016-06-30 23:39:29 -05:00
Tom Klein
693ac9734a Bug 1264347 - Refactor SnackbarHelper to use builder pattern. r=sebastian
MozReview-Commit-ID: 9WZBhhJIdNq

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/SnackbarHelper.java => mobile/android/base/java/org/mozilla/gecko/SnackbarBuilder.java
extra : rebase_source : f5bccb838b015fcb40709ab71a5ab8d42a75153e
2016-07-11 09:42:01 -05:00
Andrzej Hunt
069a4f4f33 Bug 1284587 - Distinguish normal from reader view bookmarks in telemetry r=liuche
We want to be able to detect when we've opened a reader view item. Note: this is
independent of whether or not we're in the Reading List smartfolder: it's possible
to open reader view bookmarks from any real bookmark folder, or the smartfolder.

MozReview-Commit-ID: KhqclodWSji

--HG--
extra : amend_source : 96460a430de900920dc2858dc171544657771abb
2016-07-05 15:29:55 -07:00
Jan Henning
67ad36aff0 Bug 1253654 - Part 2 - Don't show the item divider in the history panel after a section header. r=liuche
That way, the section headers (e.g. "Today", "Yesterday", "Last 7 days" etc.) blend better with the following item.

The correct hiding of the divider depends on the view type reported for the respective RecylerView child items. Because the view type is stored a simple number, this means that any other RecylerView wanting to use this divider decoration implementation must use the same item types as the history panel in order to remain compatible, otherwise the divider could be unexpectedly hidden. Therefore, we rename the DividerItemDecoration to underline its intended usage scope.

MozReview-Commit-ID: 8JUS6ke3RBL

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/widget/DividerItemDecoration.java => mobile/android/base/java/org/mozilla/gecko/widget/HistoryDividerItemDecoration.java
extra : transplant_source : %E8%B7%8E%9F%C9%E5%CCmX%22r%D7%D2%8A%DF%2A%D0%83%9Bw
2016-07-14 20:57:43 +02:00
Jan Henning
1f9969116c Bug 1253654 - Part 1 - Update home panels section header styling. r=liuche
MozReview-Commit-ID: EflkRCg0Xby

--HG--
extra : transplant_source : %F3%BEm%AD%91%26/m%5E7%90%0F%01%C9%82_HZIU
2016-07-09 15:38:23 +02:00
Carsten "Tomcat" Book
a61e84c9f3 merge fx-team to mozilla-central a=merge 2016-07-17 09:16:38 +02:00
Kris Maglione
63c5aef93a Bug 1272222: Use larger icons for browser actions in the menu panel. r=Gijs
MozReview-Commit-ID: 26lmlcrngPk

--HG--
extra : rebase_source : b9d6bfb7669d3cb826ccaa6728e153ad3e3b2b8b
2016-07-13 15:16:00 -07:00