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

19483 Коммитов

Автор SHA1 Сообщение Дата
Jim Chen 684d4be80d Bug 1257319 - Convert broadcast event usage in HomeConfig.java; r=margaret
HomeConfig.java saved a list of events to be sent later in a batch. This
patch makes it save a pair of strings instead, and the strings are later
used to make calls to GeckoAppShell.

The patch also makes two small optimizations. It makes the queue an
ArrayList instead of a LinkedList to save memory. It also makes copying
the queue a swap instead of a true copy.
2016-03-22 22:24:31 -04:00
Jim Chen 08f23ae943 Bug 1257319 - Convert existing broadcast events to calls; r=margaret
Convert existing places where we use broadcast events to use
new GeckoAppShell calls.
2016-03-22 22:24:31 -04:00
Jim Chen 2025f2f89b Bug 1257319 - Add notifyObservers methods to GeckoAppShell; r=snorp
Add notifyObservers and the synchronous syncNotifyObservers methods to
GeckoAppShell to replace the BROADCAST event.
2016-03-22 22:24:31 -04:00
Mike Hommey 521861c0e2 Bug 1258618 - Use True instead of '1' for set_config. r=nalexander 2016-03-23 09:24:50 +09:00
Mike Hommey c5fa99076d Fixup for bug 1256995 after bug 1258615 landed. r=me 2016-03-23 09:24:46 +09:00
Nick Alexander 7a603c196f Bug 1258760 - Update Gradle and Maven repository archives in tooltool. r=gps
On a CLOSED TREE -- Android and automation only.

MozReview-Commit-ID: AU8bt4CDC1V

--HG--
extra : amend_source : ff83d4b0513102abf095949a79bf7f7616bbfa14
extra : histedit_source : 576ce07d4f7d2ea9d1ae1997736cfe59d751be6d
2016-03-22 10:17:26 -07:00
Nick Alexander 4085a8469b Bug 1258760 - Include Robocop support files when building --with-gradle. r=gps
The initial --with-gradle support disabled building the Android test
directories; everything was built from
mobile/android/app/build.gradle.  That doesn't declare support files
that need to be packaged for Robocop tests.  This patch stops building
instrumentation test APKs, which aren't used in automation under any
circumstance and which aren't packaged when building with Gradle; and
avoids building the Robocop APK by tweaking the Makefile.  That gets
support files in place while not using moz.build in place of Gradle.

I would have declared the support files elsewhere, but there are path
requirements that I couldn't make work, so in robocop/ they stay.

MozReview-Commit-ID: KCpXvqzYBsY

--HG--
extra : rebase_source : b99be8fada7787ee473f68265824cca2250c70a1
extra : histedit_source : fa19d3ede51e14707f400ab8527d44f5bf550f85
2016-03-15 16:02:01 -07:00
Nick Alexander 40132bc444 Bug 1256995 - Move --with-gradle to mobile/android/moz.configure. r=glandium
This also adds a GRADLE_FLAGS environment variable for use in
automation.

Manually tested.

MozReview-Commit-ID: 8nDkqz2VnJn

--HG--
extra : rebase_source : 32626a7dc0c0a6a440e300d92c31670f14319325
extra : amend_source : fe134e25f079851b4c648b53a7a485ee20c15c18
2016-03-17 11:04:08 -07:00
Nick Alexander 164643fa61 Bug 1256615 - Partially restore removed <activity-alias>. r=sebastian
Bug 1242213 removed the entire <activity-alias>.  Sadly, users who
added the Firefox icon to their dock (for example, Samsung's Touchwiz
dock) will see the icon disappear when they upgrade, because the
intent filter disappears.  (That is, the icon is connected to .App and
action MAIN, not to the package and action MAIN.)

This patch restores the .App <activity-alias> for action MAIN.  It
doesn't add the launcher and other categories, which could lead to
multiple launcher icons.  New users that add the Firefox icon to their
dock will use .BrowserApp, but sadly we'll need to maintain this alias
essentially forever to support existing dock icons.

MozReview-Commit-ID: 1o9XS5MEs1s

--HG--
extra : rebase_source : 8f4e1321da475bf2dcfca88c5807bf26c940b1c5
extra : amend_source : 3429ff0eaec0edb02e5e47678252bf5a2de74d3f
2016-03-21 13:42:08 -07:00
Mark Capella ba6c9b3a1e Bug 1252465 - Link taps don't work at the bottom of reader view page, r=margaret 2016-03-22 10:50:04 -04:00
Shatur 834de0fe4e Bug 1213147 - Use Roboto Light for title in Share Overlay dialog on API 16+. r=sebastian
MozReview-Commit-ID: 8X8Rv1GCPk2

--HG--
extra : amend_source : a7b614717ad08b8468eec0cc84c9b2bc2679e67d
2016-03-15 22:01:15 +05:30
Carsten "Tomcat" Book 5d83e31d04 merge mozilla-inbound to mozilla-central a=merge 2016-03-22 12:14:15 +01:00
Maurya Talisetti 34690e6c7f Bug 1241857 - Add calls to super implementation to address lint warnings. r=mcomella 2016-03-14 01:25:00 -04:00
Nick Alexander e90bd4aabb Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
MozReview-Commit-ID: 63yJGdgPbhe

--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Nick Alexander a06e89f5a6 Bug 1256401 - Part 1: Remove mobile/android/b2gdroid. r=fabrice
MozReview-Commit-ID: AUnqHFr017n

--HG--
extra : rebase_source : 739270c96d0d288280260ffff591f096ba2a14ff
extra : histedit_source : 31ba47a9d58175af61e473b1ec7e8abefe8b3cd8
2016-03-18 14:20:24 -07:00
Narek Babajanyan d10220e17f Bug 1257901 - Remove references to Old Sync. r=nalexander
MozReview-Commit-ID: 9WGu7NzmIOa

--HG--
extra : rebase_source : e6fd5329292e72797df2d23ed2189b15ba4ef039
2016-03-21 12:54:27 -07:00
Dinesh Polathula b7f062d41f Bug 1255204 - Use sentence casing in Settings prefs. r=margaret
- Clear Private Data > Clear private data

Sync
-----
 - Terms of Service > Terms of service
 - Privacy Notice > Privacy notice

Privacy
-----
 - Tracking protection > Tracking Protection

--HG--
extra : histedit_source : 0dba954af1df974035430fb589570501b88a8272
2016-03-20 01:54:00 -04:00
Petr Marek c3c709e60a Bug 1111663 - Remove calling of an obsolete onClicked method. r=margaret 2016-03-18 13:04:00 -04:00
Nick Alexander 0b9f03564c Bug 1258452 - Explicitly request READ_EXTERNAL_STORAGE permission. r=sebastian
This permission was added in API 16, and is only enforced in API 19+.
(It's benign to add it to APKs installed on API 15.)

We want to declare it explicitly so that the bouncer APK and the main
APK have the same permission set.  There appears to be some fanciness
with Gradle's implied permission system where the bouncer APK does not
request READ implicitly where-as the main APK does request READ
implicitly.  This just makes things explicit (and uniform).

MozReview-Commit-ID: LBblAPa0duV

--HG--
extra : rebase_source : 616fa58ccd9063088abb14240265a20ac4e48da7
extra : histedit_source : abf6211896e99cc7b53f9c36714d056f0d44d63f
2016-03-14 14:23:56 -07:00
Andrzej Hunt 2304a9088e Bug 1254797 - Post: Ensure we ignore deleted sites in pinned query r=rnewman
Pinned sites should be deleted directly, however I'm not confident enough
in my knowledge of sync to be certain that we won't end up with deleted
pinned sites in our table.

(We use normal bookmark deletion for removing pinned sites.)

MozReview-Commit-ID: SSLDkSXWlI
2016-03-15 14:44:13 -07:00
Andrzej Hunt 1916a1090c Bug 1254797 - Intersperse blank sites between pinned sites if needed r=rnewman
This fixes an edge case that is most likely to happen to new users if they pin a site followed
by removing one or more suggested sites. This results in the topsites table containing
less sites than needed, leading to some pinned sites being displayed in a higher
than expected position. This also broke unpinning since our code assumes
that a topsites physical position corresponds to its DB position (which prior
to this patch was not the case).

MozReview-Commit-ID: JgTUa55eXnz
2016-03-15 14:41:15 -07:00
Andrzej Hunt 1bf3fbebe5 Bug 1254797 - Pre: fix variable name being negation of value r=rnewman
This variable was renamed to be positive instead of negative but the value/usage wasn't adapted.

MozReview-Commit-ID: H1DeZMmvTXC

--HG--
extra : amend_source : a83d5ae3f1c7525031c17cdb4fa0f4950f6aa7c2
2016-03-09 20:10:34 -08:00
Sebastian Kaspari d9987b06e1 Bug 1257936 - TabsPanel: Do not hold static references to views. r=ahunt
MozReview-Commit-ID: F6srFGDG5wx

--HG--
extra : rebase_source : 60da71765cd6a24c083d0cb2942aa5c3485b5f1b
extra : amend_source : 26e9fb9a6f4a88cdb43998dbb79712bd48449b8a
2016-03-18 20:09:32 +01:00
Sebastian Kaspari 85bb5808c6 Bug 1257941 - Use LeakCanary to watch for fragment leaks. r=ahunt
MozReview-Commit-ID: GhqcSH1SML

--HG--
extra : rebase_source : 9439dd3cd0aae5e68f647289ac67619cf13230e7
extra : amend_source : 3afffb2fc47600cfba6fce61452830500c3d6d3a
2016-03-18 20:00:49 +01:00
Ryan VanderMeulen a3c1075fc6 Merge fx-team to m-c. a=merge 2016-03-19 11:23:43 -04:00
Jim Chen 15ee4d0aaa Bug 1255461 - Notify pref handlers when pseudo-prefs change; r=snorp
When "pseudo-prefs" change, the Java side expects the same change
notification as regular prefs.
2016-03-18 15:18:51 -04:00
Jim Chen ed8e672f0d Bug 1255461 - Use PrefsHelper to set master password; r=margaret 2016-03-18 15:18:51 -04:00
Carsten "Tomcat" Book ed69b56ca5 Merge mozilla-central to mozilla-inbound 2016-03-18 16:10:42 +01:00
Carsten "Tomcat" Book 0e533b219a merge mozilla-inbound to mozilla-central a=merge 2016-03-18 15:51:43 +01:00
Andi-Bogdan Postelnicu 79dc9ca689 Bug 1256701 - prevent null pointer dereference |selectedTab| in BrowserApp::enterEditingMode. r=sebastian
MozReview-Commit-ID: CS7i40ErsPJ

--HG--
extra : rebase_source : 710f856963cf38c093d3bcc0655dd720cc35c0ff
2016-03-18 11:45:54 +02:00
Gijs Kruitbosch 6be7372f93 Bug 1252855 - make reader mode use AsyncPrefs, r=margaret
MozReview-Commit-ID: U6ZTyQQSHG

--HG--
extra : rebase_source : bf2aa2f40777611f2b89e9d2f57d2f4f2544f53b
2016-03-15 20:40:14 +00:00
Gijs Kruitbosch ecf49e7e77 Bug 1252855 - allow setting a specific list of prefs from the content process, r=mrbkap,margaret,haik
MozReview-Commit-ID: DihkBXqlLQl

--HG--
extra : rebase_source : 32b2513847c0338164a98353fa5901b7857d473a
2016-03-13 13:10:16 +00:00
Tushar Saini 55bca2eed6 Bug 1192788 - Can't install add-on panel at position 0. r=margaret
--HG--
extra : amend_source : 6fe6839cff3763fd35b64c1a1814a3c81bc0f3d8
2016-03-18 09:20:07 +05:30
Krishna 88169859cd Bug 1242624 - Use our color palette for toolbar and URL bar text. r=sebastian 2016-03-17 01:25:49 +08:00
Ray Lin 4b6c1eeaa1 Bug 1065076 - Update icons to SVG for video controls. r=margaret
--HG--
extra : rebase_source : 90db92e279fd5f3b65c429380e724281cb2e6baf
2016-03-18 17:48:38 +08:00
Andrzej Hunt 95e911418a Bug 1257618 - Kill bogus "level should increase" when charging message r=snorp
The battery level can decrease while we're trying to charge. Most commonly
many devices oscillate between 99% and 100% when fully charged. This situation
could also happen if the device is receiving less power than it's using. Therefore
we shouldn't treat this as an extraordinary situation.

MozReview-Commit-ID: eN3W9P5oty

--HG--
extra : amend_source : abd0231d8514a9bbe9d8ad21ed2de7dba68bbc91
2016-03-17 11:33:41 -07:00
Andrzej Hunt 2d75916664 Bug 1257667 - Try to catch stale cursor usage using LeakCanary r=sebastian
The ordering in this commit is now correct, whereas the previously pushed
commit hadn't addressed the review comment.

MozReview-Commit-ID: Ga5lPgwpIxp

--HG--
extra : source : ca8d1e1caeefdcd45bd608adec7a10c3632ceab5
extra : amend_source : 39a2ef44130138eb664d4af679ffe49433749de7
2016-03-17 13:55:00 -07:00
Andrzej Hunt 51bde91b05 Backed out changeset ca8d1e1caeef for not fixing review comments
I managed to land the unfixed version - we should be closing the cursor before adding
a LeakCanary watcher, or else we have a greater probability of a race condition.

MozReview-Commit-ID: JuP15Tkj1hz
2016-03-18 11:42:08 -07:00
Andrzej Hunt 4ca8060282 Bug 1257667 - Try to catch stale cursor usage using LeakCanary r=sebastian
MozReview-Commit-ID: Ga5lPgwpIxp
2016-03-18 11:33:35 -07:00
Andrzej Hunt 1df58c3516 Bug 1257667 - Pre: Allow retrieving GeckoApplication's RefWatcher for leak-spotting r=sebastian
MozReview-Commit-ID: GmGxDt72ljq
2016-03-18 11:33:27 -07:00
Carsten "Tomcat" Book 4bfd2c3573 Merge mozilla-central to fx-team 2016-03-18 16:11:32 +01:00
Mark Finkle d3e30a85d1 Bug 1255202 - Add UI Telemetry probes for DoorHangers. r=margaret
MozReview-Commit-ID: 5gsoxiMlFr1
2016-03-18 10:46:19 -04:00
Mike Hommey a92eca8dfe Bug 1257385 - Stop b2gdroid builds on automation. r=jlund,r=nalexander 2016-03-18 09:06:42 +09:00
Mike Hommey fe53ffa77b Bug 1257416 - Move MOZTTDIR to moz.configure. r=gps 2016-03-18 09:05:53 +09:00
Wes Kocher dd288c5851 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 8OPSNnf1LiA
2016-03-17 14:46:24 -07:00
Carsten "Tomcat" Book 7f34f4c017 Backed out changeset 8e9ad372486b (bug 1257416) 2016-03-17 16:03:32 +01:00
Carsten "Tomcat" Book f298917442 merge mozilla-inbound to mozilla-central a=merge 2016-03-17 11:00:17 +01:00
Mike Hommey 686509e193 Bug 1257416 - Move MOZTTDIR to moz.configure. r=gps 2016-03-17 14:08:12 +09:00
Dale Harvey 5b87f86e00 Bug 730941 - Add 'View Image' to image context menu. r=nalexander 2016-03-16 22:41:03 +00:00
Wes Kocher b582bcefb4 Merge m-c to fx-team, a=merge CLOSED TREE
MozReview-Commit-ID: ADtHQYhIQKk
2016-03-17 14:46:55 -07:00