Commit Graph

15533 Commits

Author SHA1 Message Date
Chris Kitching
a2bb6ffc85 Bug 1081375: Remove write-only datastructures. r=rnewman 2014-10-10 23:24:12 +01:00
Chris Kitching
0ac0172058 Bug 1107398: Stop lying about Robocop and Reflection. r=wesj 2014-12-03 21:58:39 -08:00
Chris Kitching
df440ee8a3 Bug 1081389: Stop overriding abstract methods with more abstract methods. r=rnewman 2014-10-11 00:04:25 +01:00
Nick Alexander
ab32551e6c Bug 1098239 - Rewrite mobile/android Gradle integration. r=me
This is a big patch, but it's essentially NPOTB.  The part that is POTB
is ... removing Gradle integration from the build.  I've implemented
|mach gradle-install| as a substitute for the build system stuff; it's
just so much easier to iterate on a mach command than a moz.build and
Makefile.in.

I'm landing this with self-review because this lessens the impact of the
Gradle integration on the build system and because I am the only person
who understands either the old or the new system.

You'll need to run |mach gradle-install| at top level to configure the
new Gradle integration.  But |mach gradle ...| does the right thing
configuration steps too.

This patch rewrites most of the Gradle integration.  The major changes
are:

* all .gradle files move into mobile/android/gradle;
* all the Gradle projects live in the object directory;
* mozconfig exposed to all build.gradle files;
* simplification of Android configuration between build.gradle files;
* support for user-specified version of build tools;
* first steps towards supporting builds from the source directory;
* bumps Gradle to 2.2.1;
* bumps the Android-Gradle plugin to 0.14.4.

This is seemingly a step backwards given that we'd prefer to ship the
.idea directory in the source directory.  But in fact we get closer to
that; it's possible to run ./gradlew in the source directory and get a
reasonable build.  We'll progress with this in time.  The win right now
is that the projects are nested, which makes importing work better on
Linux machines.

Unfortunately IntelliJ 13 and 14 now have conflicting Android-Gradle
plugin version requirements, so we now only support IntelliJ 14.0.2 and
above.

--HG--
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/base/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/branding/AndroidManifest.xml
rename : mobile/android/gradle/omnijar/gradle_AndroidManifest.xml => mobile/android/gradle/omnijar/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_code/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_resources/AndroidManifest.xml
rename : mobile/android/thirdparty/gradle_AndroidManifest.xml => mobile/android/gradle/thirdparty/AndroidManifest.xml
2014-12-22 19:49:04 -08:00
Ryan VanderMeulen
d5b00e6e16 Merge m-c to fx-team. a=merge 2014-12-22 17:59:25 -05:00
Ryan VanderMeulen
093bfc2f39 Merge inbound to m-c. a=merge 2014-12-22 17:55:32 -05:00
Nick Alexander
6ac540b3b8 Bug 1075797 - Move new tablet resources into regular resources. r=lucasr,rnewman,mcomella
The move command was:

$ cd mobile/android/base/newtablet/res
$ find . -type f -exec hg mv {} ../../resources/{} \;

--HG--
rename : mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_item_title.xml => mobile/android/base/resources/color-large-v11/new_tablet_tab_item_title.xml
rename : mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_bg.xml => mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_bg.xml
rename : mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_title.xml => mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_title.xml
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_menu.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_nav_back.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_close.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_close_active.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tab_new_dark.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_new_dark.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_menu.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_nav_back.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tab_close.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tab_close_active.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tab_new_dark.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tab_new_dark.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_action_bar_button.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_action_bar_button.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_site_security_level.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_site_security_level.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_site_security_unknown.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_site_security_unknown.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_item_close_button.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_item_close_button.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_add_tab.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_add_tab.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_button.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_button.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_divider.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_divider.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_url_bar_nav_button.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_url_bar_nav_button.xml
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_menu.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_nav_back.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_close.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_close_active.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tab_new_dark.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_new_dark.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_menu.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_nav_back.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tab_close.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tab_close_active.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-hdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-hdpi-v11/new_tablet_ic_menu_bookmark_add.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-hdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-hdpi-v11/new_tablet_ic_menu_bookmark_remove.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-mdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-mdpi-v11/new_tablet_ic_menu_bookmark_add.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-mdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-mdpi-v11/new_tablet_ic_menu_bookmark_remove.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-xhdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-xhdpi-v11/new_tablet_ic_menu_bookmark_add.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-xhdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-xhdpi-v11/new_tablet_ic_menu_bookmark_remove.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-xxhdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-xxhdpi-v11/new_tablet_ic_menu_bookmark_add.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-xxhdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-xxhdpi-v11/new_tablet_ic_menu_bookmark_remove.png
rename : mobile/android/base/newtablet/res/layout-large-v11/new_tablet_browser_toolbar.xml => mobile/android/base/resources/layout-large-v11/new_tablet_browser_toolbar.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tab_strip.xml => mobile/android/base/resources/layout-large-v11/new_tablet_tab_strip.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tabs_counter.xml => mobile/android/base/resources/layout-large-v11/new_tablet_tabs_counter.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tabs_panel_back_button.xml => mobile/android/base/resources/layout-large-v11/new_tablet_tabs_panel_back_button.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/tab_strip.xml => mobile/android/base/resources/layout-large-v11/tab_strip.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/tab_strip_item.xml => mobile/android/base/resources/layout-large-v11/tab_strip_item.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/tab_strip_item_view.xml => mobile/android/base/resources/layout-large-v11/tab_strip_item_view.xml
extra : amend_source : 604733b38aa0e8d9f8b5334dfa99af9f1201a2ee
2014-12-22 14:13:26 -08:00
Mark Finkle
68013a17af Bug 1078796 - Update the Matchstick casting code r=wesj 2014-12-22 15:42:11 -05:00
Mark Finkle
0b8b7d0d3b Bug 1078796 - Remove special purpose Matchstick filtering code r=wesj 2014-12-22 15:42:04 -05:00
Richard Newman
ddeb7832ae Backed out changeset 93840f9b5af8 (bug 909434) for causing five new bugs. 2014-12-22 12:40:32 -08:00
Margaret Leibovic
c6d8c7a59a Bug 1113844 - Fix parameters in showInAboutDownloads call. r=mfinkle
--HG--
extra : rebase_source : 242b937e4722c4231eac183a3910f665f898c588
2014-12-22 15:07:24 -05:00
Margaret Leibovic
6a71ea4e30 Bug 1114589 - Add compatibility layer for Uri.getQueryParameterNames. r=rnewman
--HG--
extra : rebase_source : 3b7d1fa11409cf3de9855df3a6575319b5a6f93c
2014-12-22 13:35:41 -05:00
Margaret Leibovic
940513f610 Bug 1114600 - Get rid of unnecessary reader enabled flag in Java. r=rnewman
--HG--
extra : rebase_source : c24b01b19323840694ef472bf12b71abb552c33d
2014-12-20 19:45:13 -08:00
Carsten "Tomcat" Book
c3bfd87c97 Backed out changeset 8e2bc21d3e69 (bug 1092006) for reftest failures 2014-12-22 17:17:59 +01:00
Neil Deakin
f0e5d54215 Bug 1066383, rework custom html menu item handling to support contextmenu attribute in separate process, r=janv,mconley,peterv 2014-12-16 11:21:11 -05:00
Nathan Toone
5575d112ad Bug 1091357 - Include the strings regardless of whether or not MOZ_ANDROID_SEARCH_ACTIVITY is set. r=nalexander
Bug 1080326 moved the search activity resources into the main Fennec resources. Those search activity resources require the corresponding strings; this patch makes them unconditionally available.
2014-12-03 18:29:00 +01:00
Manu Jain
8c400452b1 Bug 1092471 - Username capitalised when entering in bank logon screen; r=jchen 2014-12-04 02:33:00 +01:00
Mike Taylor
17a0eb7774 Bug 1092006 - Fix substitution variable name used in content.css. r=wesj 2014-12-16 13:00:00 +01:00
Phil Ringnalda
bb626226c0 Merge f-t to m-c, a=merge 2014-12-20 12:18:28 -08:00
Richard Newman
c4fe28a657 Bug 1093172 - Follow-up: include missing import. r=trivial 2014-12-20 07:34:07 -08:00
Geoff Brown
e42633d9ea Bug 1113751 - Rename test functions in testBackButtonInEditMode; r=vivek 2014-12-19 20:43:40 -07:00
Federico Paolinelli
986a3f66de Bug 909434 - Allow dragging the urlbar to open the tabs tray. r=wesj 2014-12-09 16:30:00 -08:00
Ryan VanderMeulen
a330fb5e95 Merge m-c to fx-team. a=merge 2014-12-19 15:13:27 -05:00
Ryan VanderMeulen
68a9b89f29 Merge inbound to m-c. a=merge 2014-12-19 15:03:54 -05:00
Geoff Brown
59bf5c1343 Bug 1107002 - Update check for home banner not visible; r=mcomella 2014-12-19 09:22:08 -07:00
Geoff Brown
0d3d04220b Bug 1085837 - Fix robocop testAppMenuPathways on Android 2.3; r=mcomella 2014-12-19 09:22:07 -07:00
Margaret Leibovic
e6872fc7f7 Bug 1108564 - Move share_overlay_background.9.png to hdpi directory to avoid crashes on resource-constrained builds. r=rnewman
--HG--
rename : mobile/android/base/resources/drawable-xhdpi/share_overlay_background.9.png => mobile/android/base/resources/drawable-hdpi/share_overlay_background.9.png
extra : rebase_source : 55095639ff6df78723fe71dc564f2222807f3bd7
extra : amend_source : 0dcfdc3af41464438de382c57e5c195dae2fb21d
2014-12-18 14:25:44 -08:00
Richard Newman
1afb05c877 Bug 1113296 - Disable match case mode for find-in-page on non-Nightly builds. r=mfinkle 2014-12-18 15:27:31 -08:00
Margaret Leibovic
1833ab7d8d Bug 1105316 - Look in Gecko chrome registry for fallback locale in search activity. r=rnewman
--HG--
extra : rebase_source : 42e908cf3c6d08cb8a108d6f7b11b169ef3ab0dd
2014-12-09 12:45:13 -08:00
Margaret Leibovic
8bc141ec58 Bug 1112189 - Additional telemetry for tracking protection shield. r=mfinkle
--HG--
extra : rebase_source : eda2d69c36118cc93540ab0bed934d53c9de0c03
2014-12-17 17:30:38 -08:00
Margaret Leibovic
d1bcfe7218 Bug 1093172 - Add test to check default status of inserted items. r=rnewman 2014-12-08 10:44:32 -08:00
Margaret Leibovic
f33d892ebf Bug 1093172 - Add status when adding reading list item from Reader.js. r=rnewman 2014-12-08 10:44:26 -08:00
Margaret Leibovic
b598b60d48 Bug 1093172 - Add CONTENT_STATUS column to reading list table. r=rnewman 2014-12-08 10:43:06 -08:00
Mark Capella
17df4a7301 Bug 1112230 - Find in page: Case insensitivity button no response to tap, r=wesj 2014-12-20 00:50:11 -05:00
Mark Capella
69499faf8a Bug 1103410 - Unhandled error for GeckoRequest FindInPage:Find, r=wesj 2014-12-20 00:50:11 -05:00
Ryan VanderMeulen
e508d075ef Backed out 3 changesets (bug 1093172) for robocop failures.
Backed out changeset 8d1c3083f7e6 (bug 1093172)
Backed out changeset 4fa27d0105df (bug 1093172)
Backed out changeset c85c0a37dcb9 (bug 1093172)
2014-12-19 23:51:18 -05:00
Margaret Leibovic
f3f8138539 Bug 1093172 - Add test to check default status of inserted items. r=rnewman
--HG--
extra : rebase_source : bca2e7843c2f5cb1ef9fc32c8004c7115aa65872
2014-12-08 10:44:32 -08:00
Margaret Leibovic
d3b6a00250 Bug 1093172 - Add status when adding reading list item from Reader.js. r=rnewman
--HG--
extra : rebase_source : ab1793ee80415c6e09028c757acd43d31426c2d4
2014-12-08 10:44:26 -08:00
Margaret Leibovic
4f742155c8 Bug 1093172 - Add CONTENT_STATUS column to reading list table. r=rnewman
--HG--
extra : rebase_source : d875e124750e6d8edb3458336c6ed737aa2324aa
2014-12-08 10:43:06 -08:00
Francisco Jordano
c86523e5fa Bug 1110310 - "Replace LightweightTheme member variable with getTheme() calls". r=michael.l.comella 2014-12-16 11:01:00 +01:00
vivek
c9f581af2b Bug 1015516 - Save closedTabs when saving session to disk. r=bnicholson 2014-12-17 20:06:50 +02:00
Jalpreet Singh Nanda
d3ead29705 Bug 966654 - Close button tap target on snippet banner is too small. r=margaret 2014-12-15 23:45:26 +05:30
Ryan VanderMeulen
025d148d80 Backed out changeset 66cc38d90f25 (bug 1112397) for making testSettingsMenuItems permafail on Android 4.0. 2014-12-17 14:34:21 -05:00
Michael Comella
c006280f8e Bug 1112397 - Go back in testSettingsMenuItems on small tablet. r=gbrown 2014-12-17 08:52:50 -08:00
Mark Finkle
2961143573 Bug 1110607 - Enable tab mirroring by default on all channels r=blassey 2014-12-17 10:04:26 -05:00
Margaret Leibovic
9952244cee Bug 793920 - (Part 2) Split up Reader.js to create shared ReaderMode.jsm in /toolkit. r=bnicholson
--HG--
rename : mobile/android/chrome/content/Reader.js => toolkit/components/reader/ReaderMode.jsm
extra : rebase_source : 5f66c449c50135d53644ebc507357ab560938bc7
extra : histedit_source : 53ad05bc9a30977399627c13f07971d7f7250814
2014-12-12 13:47:07 -08:00
Margaret Leibovic
8f71e865ec Bug 793920 - (Part 1) Move majority of Android reader mode code to a shared place in /toolkit. r=Mossop,bnicholson
--HG--
rename : mobile/android/chrome/content/JSDOMParser.js => toolkit/components/reader/content/JSDOMParser.js
rename : mobile/android/chrome/content/Readability.js => toolkit/components/reader/content/Readability.js
rename : mobile/android/chrome/content/aboutReader.html => toolkit/components/reader/content/aboutReader.html
rename : mobile/android/chrome/content/aboutReader.js => toolkit/components/reader/content/aboutReader.js
rename : mobile/android/chrome/content/readerWorker.js => toolkit/components/reader/content/readerWorker.js
rename : mobile/android/locales/en-US/chrome/aboutReader.properties => toolkit/locales/en-US/chrome/global/aboutReader.properties
extra : rebase_source : f0b900c46bb5dc894303ddf3701be7b019b61ae0
extra : histedit_source : 7417d0e4032ed3a3b1ab83af8f7e8a92951fdead
2014-12-10 16:44:53 -08:00
Michael Comella
fca6b915d2 Bug 1085837 - Open legacy "More" menu before asserting menu item is disabled; r=liuche 2014-10-31 17:08:30 -07:00
Geoff Brown
1a91e0b800 Bug 1107002 - Update robocop dismissEditingMode for tablets; r=mcomella 2014-12-19 09:22:07 -07:00
Geoff Brown
048af7b91a Bug 1105522 - Copy Robocop exception handling into UITest; r=jmaher 2014-12-19 09:22:07 -07:00
Geoff Brown
1bbb7af061 Bug 1090927 - Rename private test... functions in testGeckoProfile; r=mfinkle 2014-12-19 09:22:07 -07:00
Margaret Leibovic
ee1642a19c Bug 1105792 - Simplify testHomeBanner to account for the fact that banner view is removed when banner is dismissed; r=gbrown 2014-12-09 17:58:45 -08:00
Geoff Brown
037016ba07 Bug 1105792 - Avoid assertions in testHomeBanner; r=margaret 2014-12-19 09:22:06 -07:00
Geoff Brown
3045b56198 Bug 1105887 - Wait for panel in testAboutHomeVisibility; r=mcomella 2014-12-19 09:22:06 -07:00
Geoff Brown
79123bf70b Bug 1105795 - Avoid ClassCastException in testAboutHomeVisibility; r=mcomella 2014-12-19 09:22:06 -07:00
vivek
21f49e4b37 Bug 732752 - Restore a closed tab with previous session history r=bnicholson. 2014-12-06 13:33:34 -08:00
Jordan Lund
82d9497e96 Bug 1073772 - Releng work for two ARMv7 APKs - nonuni mozconfig fix for api 11, r=rnewman 2014-12-18 20:58:50 -08:00
Margaret Leibovic
8c26fce20f Bug 1110461 - Disable estimated reading time in reading list. r=mcomella
--HG--
extra : rebase_source : 1585925328a6636e160333dc27722dd6d289fd3a
2014-12-11 13:44:49 -08:00
Brad Lassey
584f791170 bug 1088758 - Add the ability to mirror tabs from desktop to a second screen r=mconley, mfinkle 2014-12-15 18:52:55 -05:00
Wes Johnston
1bb9220702 Bug 901360 - (Part 5) Don't allow pausing downloads without partial data. r=margaret
--HG--
extra : rebase_source : c5455e3d650711692af3f97d90dd002845dcc669
2014-12-08 11:26:36 -08:00
Wes Johnston
8eb7e0e3b0 Bug 901360 - (Part 4) Fix clicking on notifications. r=margaret
--HG--
extra : rebase_source : 6bac7cd282d7ec795d91c0dbb685027890d6e840
2014-12-08 11:26:36 -08:00
Wes Johnston
571f8032a4 Bug 901360 - (Part 2) Fix PDF downloads. r=margaret
--HG--
extra : rebase_source : c0b856edd344292fc28384e18e1474cb7198b28a
2014-12-08 11:26:35 -08:00
James Gilbertson
8568a05389 Bug 901360 - (Part 1) Use Downloads.jsm for download notifications. r=wesj
--HG--
extra : rebase_source : a05527361fcde5d7fd7b77b3bcc46955750d19e2
2014-12-08 11:26:31 -08:00
wesj
487a7a9edd Bug 1109198 - Turn on Downloads integration on release builds [r=mark.finkle] 2014-12-15 09:48:00 -08:00
Wes Johnston
65d5244641 Bug 1109165 - "Remove lock screen widget" [r=mark.finkle] 2014-12-15 10:02:00 -08:00
Michael Comella
d2201742b6 Bug 1105541 - Part 3: Change add tab button to a dark color on light themes on new tablet. r=mhaigh 2014-12-12 14:03:28 -08:00
Michael Comella
5a1f77ba87 Bug 1105541 - Part 2: Add alpha to pressed state of tabs with LWT on new tablet. r=mhaigh 2014-12-12 14:03:25 -08:00
Michael Comella
edf56dbf17 Bug 1105541 - Part 1: Use a light text color for tab titles with a dark LWT on new tablet. r=mhaigh 2014-12-12 14:03:21 -08:00
Margaret Leibovic
92c52f5107 Bug 1107133 - Expose tracking protection in Fennec privacy preferences. r=liuche
--HG--
extra : rebase_source : c871a80ba90ed7f5b4d626d4d04f64a7e6e74a4c
2014-12-08 15:17:32 -08:00
Jalpreet Singh Nanda
a4410ee2b6 Bug 1107253 - Move mBaseUrl and mRawBaseUrl from BaseTest into BaseRobocopTest. r=mcomella 2014-12-11 03:44:04 +05:30
Nivvedan S
1bbd85d2f0 Bug 1109233 - Replaced Assert.isTrue(false, ...) with Assert.fail(...) for easier readability; r=mcomella 2014-12-11 21:40:04 -08:00
Garvan Keeley
4725cb9aa8 Bug 1106584 - Part 2: for safety, make explicit prefs with context getter. r=vng
Any class that has access to a context should call Prefs.getInstance(Context) which is guaranteed to return a Prefs.
With no context, classes can call Prefs.getInstanceWithoutContext() but they must null-check the return, and handle accordingly.
Fortunately, the latter case happens in very few places, all of which require no special handling of this case.

This change:
- maintains context-less access to the Prefs
- classes internal to the service can safely call getInstanceWithoutContext(), as the service (or the MainApp in the stumbler case)
will have instantiated a Prefs so that getInstanceWithoutContext() will return a prefs
- protects against null Prefs if we have failed to consider a particular entry point to the code will require that Prefs was instatiated with a context.
2014-12-11 09:06:00 -08:00
Garvan Keeley
4cb41e998e Bug 1106584, Part 1: guard against null intent. r=vng 2014-12-09 11:48:00 -08:00
Wes Kocher
340d6a8f92 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00
J. Ryan Stinnett
688410327a Bug 1059001 - Part 1b: Update openListener callsites. r=past 2014-12-10 20:55:51 -06:00
Chenxia Liu
5bf8f05cdc Bug 1093201 - Part 2: Tests. r=margaret 2014-12-10 15:43:13 -08:00
Chenxia Liu
cd96646ffc Bug 1093201 - Part 1: Passwords management UI. r=margaret 2014-12-10 15:43:13 -08:00
Michael Comella
bedbf11462 Bug 1085771 - Part 4: Move color state selector to colors/. r=lucasr
--HG--
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_item_bg.xml => mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_bg.xml
2014-12-10 09:35:54 -08:00
Michael Comella
4529a17112 Bug 1085771 - Part 3: Update LWT UI for new tablet browser toolbar. r=lucasr 2014-12-10 09:35:37 -08:00
Carsten "Tomcat" Book
7a09aebe14 merge fx-team to mozilla-central a=merge
--HG--
extra : amend_source : 3962a6a96e6eb782f640e1eb9495192ef82883b3
2014-12-10 11:55:54 +01:00
Chris Kitching
1b1aa5dd75 Bug 1106593: Proguard third-party libraries that ship with Fennec. r=nalexander
This applies Proguard to third-party libraries such as the Android
support-v4 library and the Google Play Services libraries.
Previously, these were not Proguarded, bloating the Fennec APK.

Technically, this required a few work-arounds, including:

* stripping library debug information with a early Proguard
  invocation;
* altering the optimizations tried; and
* reducing the number of Proguard passes.

--HG--
rename : mobile/android/config/proguard.cfg => mobile/android/config/proguard/proguard.cfg
extra : rebase_source : 6d638695b6c8f759578aba5f1eda668fc9c28e9d
extra : amend_source : 96a475c0739c4b44a3df3fdfd2c59321836d9694
2014-12-05 11:50:48 -08:00
Michael Comella
84a36bb7aa Bug 1107698 - Part 2: Update alpha when updating the color in ResizeablePathDrawable. r=bnicholson 2014-12-09 15:57:54 -08:00
Lucas Rocha
b6033299b6 Bug 1109001 - Only set alpha on non-transparent colors in shaped drawable (r=mcomella) 2014-12-09 23:45:31 +00:00
Lucas Rocha
b56ee66278 Bug 1097318 - Restore tab strip to its original height (r=mfinkle) 2014-12-09 21:25:37 +00:00
Lucas Rocha
88e48f4cc2 Bug 1106118 - Replace getVerticalSpacing() call with a dimen resource (r=mfinkle) 2014-12-09 21:23:13 +00:00
Margaret Leibovic
bd588f0aaa Bug 681432 - Support all add-on types in the add-on manager. r=mfinkle
--HG--
extra : rebase_source : e5ca39397adf3364924c8b1b6ca9f53862cc7136
2014-12-08 13:47:30 -08:00
Margaret Leibovic
d12b17372c Bug 1106415 - Allow the add-on SDK to dynamically insert add-on options. r=mfinkle
--HG--
extra : rebase_source : fb958f6d6f77cd6bc2d356b6b76107fc653dff12
extra : amend_source : 67b932a1a42836cc824478ffe11f4b8f4da592a7
2014-12-08 11:24:13 -08:00
Ryan VanderMeulen
02a098fd33 Merge m-c to fx-team. a=merge
CLOSED TREE
2014-12-09 14:19:43 -05:00
Ryan VanderMeulen
98457578ce Merge fx-team to m-c. a=merge
CLOSED TREE
2014-12-09 14:16:03 -05:00
Richard Newman
0a246be074 Bug 1109000 - Split statics out of BrowserLocaleManager. r=nalexander, a=java-only on a CLOSED TREE
--HG--
rename : mobile/android/base/LocaleAware.java => mobile/android/base/Locales.java
2014-12-09 18:07:07 +00:00
Martyn Haigh
a894fba492 Bug 1100464 - Add back button to top left of the tabs panel (r=lucasr) 2014-12-09 17:07:26 +00:00
Richard Newman
c58ef4efa2 Bug 1108252 - Remove launcher icon for search activity. r=mfinkle 2014-12-09 16:37:58 +00:00
Margaret Leibovic
a38ecda195 Bug 1105290 - Add null check to createEngineFromFileList. r=rnewman
--HG--
extra : rebase_source : 5a02f71a93659a297de3f8b2a8facb7c6a32f37e
extra : amend_source : 9ff1f1b354f6a50d5d49b060d1e1eac118ad712e
2014-12-08 11:12:44 -08:00
Nick Alexander
9f48ddca50 Bug 1084098 - Add Android tools tags to some Remote Tabs home panel views. r=mcomella
These tags are used by Android tools (including IntelliJ) at design-time
to show "sample data".  They're stripped entirely at build time.
2014-12-08 19:32:51 -08:00
Nick Alexander
8166aad816 Bug 1084098 - Adjust padding/margins of Sync tabs panel items. r=mcomella
Pretty straight-forward implementation of the mock.  The mock shows a
different "bookmark star" icon, with slightly different right-margins,
and implementing that change requires changing the TwoLinePageRow layout
to not use drawableRight for the star.  (Otherwise, the star will not be
vertically centered in the container.)  I don't care to make that change
for this ticket.
2014-12-08 19:32:37 -08:00
Nick Alexander
eb243e86cb Bug 1084098 - Pre: Don't require GeckoApplication in Themed*widgets. r=mcomella
In editors (Eclipse and IntelliJ), Android View sub-classes are created
in a "Bridging" mock context.  There is no ambient GeckoApplication in
this case.  It's already okay for the LWT to be null; let's loosen the
requirement that there be an ambient GeckoApplication to let these View
sub-classes render in editors.
2014-12-08 18:58:37 -08:00
vivek
68a81c9ef2 Bug 1097098 : Get tab history calculation offloaded to JS . r=bnicholson 2014-12-05 17:59:45 -08:00
Nick Alexander
6f794e00a2 Bug 1107134 - Disable GeckoView independence testing due to Classycle inlining bug. r=ckitching
It appears that Classycle is dependent on the version of javac that
compiles the .class files.  There are real references between two
sets that are not caught by Classycle; ckitching and I theorize that
Classycle misses a reference from a set if it is a constant that is
inlined by the javac compiler.  This inlining differs between javac
compiler version.

--HG--
extra : rebase_source : 9040c77c604c8b76c4bfe1142c7efa015a82dcb5
2014-12-08 12:46:57 -08:00
Manu Jain
6cc6f7cdce Bug 1088186 - Index out of range in RecentTabsCursorLoader. r=rnewman 2014-12-06 04:57:00 -05:00
Mark Finkle
45f88e0cdd Bug 1079891 - Search widget minWidth is too big for some phones r=wesj 2014-12-07 16:21:09 -05:00