Commit Graph

19920 Commits

Author SHA1 Message Date
Michael Kaply
02282f24eb Bug 1265742 - Update Google search plugin; r=margaret
--HG--
rename : mobile/locales/en-US/searchplugins/google.xml => mobile/locales/en-US/searchplugins/google-nocodes.xml
2016-04-19 15:57:50 -05:00
Margaret Leibovic
6187e90d7c Bug 1259186 - Send DOM event when feedback page is automatically loaded, instead of custom URL params. r=grisha
MozReview-Commit-ID: 6swre6VYpdz

--HG--
extra : rebase_source : fb308af493f88e588618fb63f964f242ac2f0b03
2016-03-23 16:03:42 -04:00
Rutuja
6b35519b8f Bug 1115006 - Use Downloads.getSystemDownloadsDirectory to get download directory for about:memory on Fennec. r=mconley,margaret
MozReview-Commit-ID: JBod1Ltcz0w

--HG--
extra : rebase_source : 3fdf3b1160f36b77c10641cab4e056c2a77dc151
2016-04-19 10:39:12 -04:00
Sebastian Kaspari
fa0ac6acc2 Bug 1265351 - HomeScreenPrompt: Save rejection and send telemetry only once. r=margaret
Additionally this patch:
* unifies the telemetry for declining the prompt to always be: (cancel,back,'home_screen_promotion')
* moves saving the rejection in the database to a background thread

MozReview-Commit-ID: HywutUDtGcY

--HG--
extra : rebase_source : 107b398a84a2eed231bcf86f5075b997bf98e5ff
2016-04-18 14:38:06 +02:00
Andrzej Hunt
0879705388 Bug 1246243 - Use book icon for reading list folder r=liuche
This approach is extensible and would allow easy addition of special icons for e.g. the
screenshots folder.

MozReview-Commit-ID: 44yWq85x2HG

--HG--
extra : rebase_source : be15df11f474f4db5546b823ca4040bdb2a63b6f
extra : amend_source : be16d760fa2c32cce3af7b2985d3549f9993664b
2016-04-12 14:47:24 -07:00
Alastor Wu
b5361feb4b Bug 1249579 - part2 : audio competing suspend/resume methods. r=snorp, baku.
MozReview-Commit-ID: EjNvKELCiAy

--HG--
extra : transplant_source : %AE%20%21e%E1%94%DE%29B%9C%F5%04%13%C6%3Dr%D3%9Aj%B4
2016-04-18 18:48:41 +08:00
Alastor Wu
0d34b81b5a Bug 1249579 - part1 : request audio focus on Fennec. r=snorp.
MozReview-Commit-ID: 45qW0Wjmnad

--HG--
extra : transplant_source : %C0%D5%AE%95m%89cW%E9%F6oK%0F%BBm%8E%BD%C2%2A9
2016-04-18 18:48:19 +08:00
Tristan Martin
d753291b70 Bug 1178722 - Further fix for 1178722 that supports HIDDEN attributes and includes testing and tidying. r=Margaret
--HG--
extra : rebase_source : 076811b9b468f48cee3ffcf7fad45135134435b0
2016-04-14 14:57:00 +02:00
Gijs Kruitbosch
30a0ac0ed8 Bug 1253673, r=bz
MozReview-Commit-ID: eyZ0XvZkfM

--HG--
rename : browser/base/content/test/general/dummy_page.html => dom/tests/browser/dummy.html
extra : amend_source : 0ceb77aae62ed163362e794b9aed8f92849e3e6d
extra : histedit_source : 60dbd015a6909a0023dc26613530c89a16de6ea7%2Ca5ea96457b370e57e3a73c19bea08e157f16ac4f
2016-04-19 09:56:19 +01:00
Wes Kocher
c4afaf3404 Merge fx-team to central, a=merge
MozReview-Commit-ID: 2arsWT5oaqp
2016-04-18 15:13:18 -07:00
Jan Henning
0e70bbab51 Bug 1265011 - Add test for hardware menu key support (Bug 1229967). r=sebastian
Make sure that the app menu can be opened and closed via the hardware menu key.

MozReview-Commit-ID: 3E459eCRneY

--HG--
extra : transplant_source : %81%BB%C1%EB2%9A%2C%FDG%F4vwMw%19%D4%C6%EF%7C%F5
2016-04-15 17:46:07 +02:00
Ray Lin
4395f4febb Bug 1198935 - Set about: pages header height to 48px. r=margaret
MozReview-Commit-ID: 6KfJytmDU93

--HG--
extra : transplant_source : %1A%FF%9A%7E%80h%FBE.%D9%BF0%BDg%13X%0D%B7%F8%E2
2016-04-14 15:23:12 +08:00
Carsten "Tomcat" Book
513366a363 Merge mozilla-central to fx-team 2016-04-18 15:08:55 +02:00
Carsten "Tomcat" Book
3689b59fae merge mozilla-inbound to mozilla-central a=merge 2016-04-18 14:39:45 +02:00
Wes Kocher
115c5a357a Merge m-c to inbound, a=merge
MozReview-Commit-ID: 2zwhun4JqPs
2016-04-15 15:39:25 -07:00
Wes Kocher
4f233d527d Merge fx-team to central, a=merge
MozReview-Commit-ID: J70qG3TcPFl
2016-04-15 15:36:39 -07:00
Jonas Sicking
9c521f30da Bug 1264706: Move nsILocalCertService, and implementation, to security/manager/ssl in order to alloow use w use elsewhere in gecko. r=dkeeler
--HG--
rename : devtools/shared/security/LocalCertService.cpp => security/manager/ssl/LocalCertService.cpp
rename : devtools/shared/security/LocalCertService.h => security/manager/ssl/LocalCertService.h
rename : devtools/shared/security/nsILocalCertService.idl => security/manager/ssl/nsILocalCertService.idl
rename : devtools/shared/security/tests/unit/test_cert.js => security/manager/ssl/tests/unit/test_local_cert.js
2016-04-15 14:52:13 -07:00
Andrzej Hunt
b3549fb619 Bug 1264138 - Upgrade FxAccountStatusActivity to use AppCompatActivity too r=sebastian
Our theming inheritance around Preferences still seems quite messy, however given we'll
need to uplift this I'm planning to tackle this in a separate bug.

We add the LocaleAwareAppCompatActivity in order to avoid affecting other consumers
of LocaleAwareFragementActivity (primarily the SearchActivity). We will investigate
those separately.

MozReview-Commit-ID: KVEZbDdza1s

--HG--
extra : amend_source : 3b296714b2f1d1aa2fd09f4ea8ee7641d0bb36fb
2016-04-14 08:35:13 -07:00
Carsten "Tomcat" Book
2b4e065b02 Merge mozilla-central to fx-team 2016-04-15 14:01:06 +02:00
Carsten "Tomcat" Book
c4445ccd33 merge mozilla-inbound to mozilla-central a=merge 2016-04-15 11:41:41 +02:00
Sebastian Kaspari
d31840b1fa Bug 1262098 - Use shorter string for "Add as search engine" to avoid UI bug. r=grisha
MozReview-Commit-ID: 3G4sk0H0aKM

--HG--
extra : rebase_source : 5f2a3bb5a1ec7bd9fda422abc2efab15134d5e20
2016-04-13 14:41:50 +02:00
Sebastian Kaspari
e518bddf29 Bug 1264243 - Prevent "Add to home screen" button from overlaying page icon. r=ahunt
MozReview-Commit-ID: JPK1y5B1HbD

--HG--
extra : rebase_source : 1f2b0352351e098f379c1b072f76f9ecb40c4d31
2016-04-13 12:59:51 +02:00
Sebastian Kaspari
ed73a5f51e Bug 1260451 - AndroidManifest: Handle configuration changes for smallestScreenSize and screenLayout. r=snorp
MozReview-Commit-ID: 1X4sQDotnSG

--HG--
extra : rebase_source : ae81282350b4f8a00c50efc27d3fafe4386786e8
2016-04-14 10:26:36 +02:00
Jorick Caberio
0da17b30e1 Bug 1261040 - Remove code code guarded by AppConstants.Versions.preICS. r=sebastian
MozReview-Commit-ID: Jmwl6sfEdx0

--HG--
extra : rebase_source : 84cb774e4a2414db9f921141c253b2ec93c4e8ee
2016-04-07 17:17:21 +08:00
Sebastian Kaspari
29eeec29d0 Bug 1264869 - Request STORAGE permission before downloading images. r=liuche
MozReview-Commit-ID: KJGugrRw5iI

--HG--
extra : rebase_source : d1314e42071aeabc9fedd6c8f94a61eb9a271345
2016-04-15 10:22:22 +02:00
Nick Alexander
fba2aa9c7b Bug 1261995 - Quiet infer NullPointerException warnings. r=mcomella
MozReview-Commit-ID: C0LPj4kGbPk

--HG--
extra : rebase_source : b22a0264605eb1e82d22cb751fcbd2f37c1478ce
extra : source : 6f36a3110086453834ec269f83887b2ad5d8d846
extra : histedit_source : e143a318bd45f27b43275bdc50d1d06d88dc74a8
2016-04-05 16:32:01 -07:00
Michael Comella
d64987abc0 Bug 1262625 - Only call getDir to initialize profile. r=jchen
MozReview-Commit-ID: F8ky8G9QhUT

--HG--
extra : rebase_source : 4478ae1ecb0b72915af5bd4df6118beefb78f76f
2016-04-13 16:12:14 -07:00
Michael Comella
343dabcba8 Bug 1238785 - Start file cleanup in onStart. r=ahunt
I added some log statements to ensure this worked correctly locally - on a new
profile:
  * Log statements were printed listed the two files I expected to be deleted
and their paths
  * The log statements did not appear after closing and reopened fennec,
meaning the process short-circuited as expected.

Ideally, I'd test that a profile that currently has these files actually gets
them deleted, but it's not easy to create profiles.

The previous patches also contributed unit tests.

MozReview-Commit-ID: 1FOZraATc6x

--HG--
extra : rebase_source : f6481569ce478b64571997c7ec44ad59ea0f9d93
2016-04-12 16:59:50 -07:00
Michael Comella
1c8d441139 Bug 1238785 - Add FileCleanupController and tests. r=ahunt
This controller is under-featured (e.g. it's not scheduling cleanups for future
dates and it doesn't cache files it already deleted) in favor of simplicity.

MozReview-Commit-ID: KJqKV0OH2ID

--HG--
extra : rebase_source : 370794e6a2ef93e11d28cc1b2d835027ba382516
2016-04-14 12:54:24 -07:00
Michael Comella
a6fa8606b3 Bug 1238785 - Add FileCleanupService. r=ahunt
This is intentionally kept minimal to ensure simplicity.

MozReview-Commit-ID: IJRxrTbWN2P

--HG--
extra : rebase_source : 13f9b1ef67eaa83bed64c28e1315b15e56a55a46
2016-04-12 17:10:35 -07:00
Margaret Leibovic
e5a1c49a20 Bug 1262032 - Update description subtitle for Settings groups. r=sebastian
MozReview-Commit-ID: H25j4HKiMDC

--HG--
extra : rebase_source : 6ad665ee52cc8128b8cd31298ff943976e97474a
2016-04-14 14:49:48 -04:00
Margaret Leibovic
e34bd976e9 Bug 1210386 - Link "Make Firefox Default Browser" to Settings page. r=sebastian
MozReview-Commit-ID: 9nrVnUaqO7K

--HG--
extra : rebase_source : 0eba2c2f543ed190c2c6d87252ef227f60dc6d87
2016-04-07 13:00:55 -04:00
Michael Comella
172b0b3053 Bug 1247489 - Add tests for mandatory field validation in TelemetryPingBuilder. r=grisha
MozReview-Commit-ID: 9AtwJ3SisFT

--HG--
extra : rebase_source : 63c4c7ba2bc5678f058aafdd718a7b583c7fb13b
2016-04-11 18:35:20 -07:00
Michael Comella
fa00135f56 Bug 1247489 - Move Telemetry*Ping* to telemetry/pings pkg. r=grisha
This should help make the Builders more discoverable when looking at the
TelemetryPing class.

MozReview-Commit-ID: K1OiSuKW5fO

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryCorePingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryCorePingBuilder.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPing.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryPing.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryPingBuilder.java
extra : rebase_source : 0e9165b9230f4cc91066460cc72d12f36efe9a91
2016-04-14 11:50:57 -07:00
Michael Comella
4a899f9e1f Bug 1247489 - Replace TelemetryPingGenerator with TelemetryPingBuilder & friends. r=grisha
The Builder pattern has the following benefits:
  * Encapsulate identifying optional arguments
  * Encapsulate parameter validation
  * More fluent parameter insertion (e.g. instead as unnamed arguments to a
function)
  * My implementation makes it fairly straight-forward to construct new
telemetry pings.

MozReview-Commit-ID: EpcW3N57HJj

--HG--
extra : rebase_source : a33ef584ed47b36910417854208fa02438556467
2016-04-11 17:45:29 -07:00
Sebastian Kaspari
bc7c3c706a Bug 1262105 - Add link to SUMO article to content notifications preference. r=grisha
MozReview-Commit-ID: 3xDGpUnJw3I

--HG--
extra : rebase_source : 874cb2852df7efbfa33b83255c1aaea079f01ff9
extra : amend_source : f2e4c8454bf87ec7cca912c6fefb3ca2ff24f906
2016-04-05 14:09:25 +02:00
Jan Henning
da383eac05 Bug 1263647 - When receiving a TabPreZombify event, send out a Tab:AudioPlayingChange message only if the tab is actually playing some audio. r=margaret
MozReview-Commit-ID: 7eAc2mNgM42
2016-04-14 16:18:00 -07:00
Chenxia Liu
4451ad321e Bug 1264136 - NPE in TabMenuStripLayout:onPageSelected while closing last tab or opening new tab. r=sebastian
MozReview-Commit-ID: 59gB7bGi6oh

--HG--
extra : rebase_source : 52bd81ad7e8be03f889ca6bbbbbc024ed33c7d26
extra : amend_source : c507dec27ade57ba9d910b5a06d19e461a3deda6
2016-04-13 11:29:15 -07:00
Andrzej Hunt
cdf0ada401 Bug 1263800 - Ensure bookmark star is enabled if tab data available r=grisha
If tab data is initially null then we disable the bookmark star. We need to explicitly
reenable it when we load an actual page. All other menu items seem to be explicitly
enabled as needed below, only bookmarks was omitted (since it's expected to be enabled
~all the time) - but we still could have disabled it previously.

MozReview-Commit-ID: GpVJu4Rw2dN

--HG--
extra : rebase_source : 6f4428e4273efe8f5639c36a1cfea9c7de6db135
extra : amend_source : c9f3c560f24bd878914ffd78829d3354349319a3
2016-04-14 11:13:52 -07:00
Wes Kocher
c7c7473c06 Merge m-c to fx-team, a=merge
MozReview-Commit-ID: 7Kut3ctlo0F
2016-04-15 15:40:17 -07:00
Andrzej Hunt
e0fb00ef3f Bug 1265087 - Migrated reading list panel should have white background r=liuche
Our other home-panels have a white background. This panel was created as a copy
of one of the onboarding screens, which have a grey-ish background, and that
attribute wasn't removed.

MozReview-Commit-ID: 2tN5ySUlxex

--HG--
extra : amend_source : 18514684b3ad0e10e6e1aaaade4bc8435166c6d8
2016-04-15 14:16:57 -07:00
Andrzej Hunt
8a5b550d44 Bug 1246712 - distinguish reader view pages when bookmarking r=margaret
MozReview-Commit-ID: 8g80ElZf0rU

--HG--
extra : rebase_source : 4efb749e4ca2955dd6f8b996809db49ea6a76cf7
2016-04-11 16:23:33 -07:00
Andrzej Hunt
e2de073003 Bug 1246239 - Show "saved offline" snackbar when readermode page is bookmarked r=sebastian
MozReview-Commit-ID: IC33HwSClcI

--HG--
extra : rebase_source : 673e2632a433366fb1c3fd18eeba0080399fd6b6
2016-04-12 16:18:50 -07:00
Michael Comella
67a2976dc3 Bug 1260478 - Fixed review nits from previous commits. r=me
Taking over this bug as nalexander is not available.

MozReview-Commit-ID: 2Vkv4U6anyD

--HG--
extra : rebase_source : 1f75a3057f8f2d9559577a2628ce6df86108fc05
extra : histedit_source : 580ec2f6de51b7872f1b400d3cb0f4a37c2600ec
2016-04-14 14:38:43 -07:00
Nick Alexander
3c86f5a00e Bug 1260478 - Post: Remove TabsProvider integration tests moved into unit tests. r=mcomella
None of these were run in automation anyway.  I elected to hg rm,
rather than try to hg mv, since I reworked the tests a little for
Robolectric, including merging two into one.  The history isn't
particularly valuable here.

MozReview-Commit-ID: 47eDYvS3l1y

--HG--
extra : rebase_source : 67594b884b62081475deb7691b47b7862950a99f
extra : histedit_source : 59020ff5f6b983868143ee317dc3ce745e8f77f9
2016-03-29 10:19:58 -07:00
Nick Alexander
5db5e02917 Bug 1260478 - Part 3: Duplicate TestRemoteTabs integration test into unit tests. r=mcomella
MozReview-Commit-ID: BLVX8CUJDje

--HG--
extra : rebase_source : 1dd52543cbdba0ecf3ac1b5b05d0f4b6d5da1e60
extra : histedit_source : 0152ed5ef204ca9196168a04914b4e015d093fe2
2016-03-27 16:30:19 -07:00
Nick Alexander
bdec48be3f Bug 1260478 - Part 2: Duplicate TestTabsRecord into TestTabsProvider unit test. r=mcomella
MozReview-Commit-ID: 4V8Pfll5MfN

--HG--
extra : rebase_source : 9beb3573974f5045b79f643174457a04b228c5da
extra : histedit_source : b4f1b5e21aecd24aaf0379e121303eebdbde6d08
2016-03-27 14:24:22 -07:00
Nick Alexander
f14934994f Bug 1260478 - Part 1: Duplicate TestFennecTabsStorage integration test into TestTabsProvider unit test. r=mcomella
Notes:

* Setting the package name in robolectric.properties lets us read
  resources.  If we don't, Robolectric tries to read from
  org.mozilla.fennec_$USER or similar.

* We need DelegatingTestContentProvider not for isolation but to
  append "test=1" to all URIs.  Robolectric provides isolation by
  starting each test in a clean environment, but if we don't tell the
  CP to run in test mode, it tries to write into DBs that Robolectric
  doesn't like.

* Robolectric needs manual "shimming", i.e. the test must tell the
  ShadowContentResolver how to resolve.  We also need to handle
  shutdown() ourselves.  Basically, Robolectric doesn't try to
  duplicate the entire Android ContentProvider lifecycle.

* We might grow a "ContentProviderTest" base class to handle the
  registration and shutdown in the future.  I find such base classes
  frustrating and limiting in our Robocop tests, so I'd like to try to
  avoid them in our unit tests for as long as possible.

MozReview-Commit-ID: A0paQXA2uoy

--HG--
extra : rebase_source : 85867a460cd076bb5e77a6e40b2d8bcb7fe45f67
extra : histedit_source : e2c6e56193c96fcf42e848d636328e03c405c7dd
2016-03-27 14:20:41 -07:00
Carsten "Tomcat" Book
0a47ef22ae Merge mozilla-central to fx-team 2016-04-14 11:39:50 +02:00
Carsten "Tomcat" Book
32c25ca2da merge mozilla-inbound to mozilla-central a=merge 2016-04-14 11:38:11 +02:00