Commit Graph

16826 Commits

Author SHA1 Message Date
Michael Comella
de8e9e497f Bug 1170804 - Add non-final eslintrc for tests/. r=margaret
There are still some failures but it's a start.

--HG--
extra : commitid : D7RWXDkMW1C
extra : rebase_source : c52e882ff446d102680a3c4a84363bcb5b95b4f1
2015-06-25 10:40:26 -07:00
Michael Comella
92c12880b6 Bug 1170804 - Set non-final eslintrc for chrome/content. r=margaret
Still a lot of errors but it's progress.

--HG--
extra : commitid : 3quQqYyszaS
extra : rebase_source : b54a09db4087dcbcd9406e537ab1e942df89af3e
2015-06-25 10:27:38 -07:00
Michael Comella
e3b7f888ba Bug 1170804 - Get .jsm to work under eslint. r=margaret
You can now run by `cd mobile/android && eslint . --ext "[.js,.jsm]"`.

--HG--
extra : commitid : AAENN0WrJVl
extra : rebase_source : 4a7fb888ef16a29580fa7b5d394c44aabd387210
2015-06-24 23:11:11 -07:00
Michael Comella
a21054b998 Bug 1170804 - Fix bugs found by eslint in components/. r=margaret
A few errors still remain.

--HG--
extra : commitid : KwLqDylOiSh
extra : rebase_source : 3eaf4a7a8e38454ecc8dd781f597f561dd2e70a9
2015-06-24 21:56:23 -07:00
Michael Comella
4deed539cd Bug 1170804 - Add .eslintrc configuration file to mobile/android. r=margaret
eslint can be run by `cd`ing to mobile/android and running `eslint .` (assuming
eslint is installed). Note that .jsm files have not yet been configured.

Add an eslintignore to avoid the files that will take more work.

--HG--
extra : commitid : LcrYaNh2sSn
extra : rebase_source : 43a2b1988049003b1e225fa60671a04f62c3d44a
2015-06-24 22:37:55 -07:00
vivek
e66c933f70 Bug 1162650 - Unrooting and clearing bookmark on deletion. r=rnewman 2015-06-03 22:10:00 -04:00
vivek
118f620f36 Bug 1171141 : Fetch profile data for FxAccount -r=nalexander.
--HG--
extra : commitid : LUDZFzV918R
2015-06-14 15:30:25 +03:00
Gregory Szorc
3e949ee8fe Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
Nick Alexander
0a6017a1af Bug 1162191 - Add |mach artifact| for installing downloaded Fennec binaries. r=gps
DONTBUILD ON A CLOSED TREE: Android-only and the build changes are cosmetic.

Very much a first cut, but I'd like to get some Fennec early adopters testing.

This adds:

* |mach artifact install| to fetch and install Fennec binaries;
* |mach artifact last| to print details about what was last installed;
* |mach artifact {print,clear}-caches|, for debugging.

This code is exposed as a new mozbuild.artifacts Python but it's not
particularly general.  My intention was to get things out of the mach command
more than produce a general artifact fetching API.  We can leave that bike
shed to Bug 1124378.

I've been testing this with --disable-compile-environment and it works well
locally, although there's no reason a knowledgeable developer couldn't use
this in conjunction with a fully-built tree.  (I don't know when such a
situation would arise, but I know of no technical impediment.)

--HG--
extra : commitid : 1T28aVfArqF
extra : rebase_source : b8c11244de8be0a14d605853f30cd47312d0a4ba
extra : histedit_source : 78a224501cd3cf0f86707c9c9549b61b4b248ba7
2015-06-24 23:12:00 -07:00
Michael Comella
f010b96820 Bug 1177166 - Remove menu.xml with null reference. r=me
This was causing crashes on tablet devices.

I'm not sure what it was for but pretty sure it was an artifact that was never
removed in old tablet builds.

--HG--
extra : commitid : HVyBG7WSkjT
2015-06-24 15:41:31 -07:00
Martyn Haigh
efead37d5b Bug 1017338 - Swipe to close a tab from tab panel (r=s.kaspari)
--HG--
extra : rebase_source : a2972359250cd09281b854d4e4f6bcd634bf13a7
2015-06-24 12:22:28 -07:00
Sebastian Kaspari
ebb55c3c5a Bug 1175434 - Hide "Find in page" bar when browser search UI is displayed. r=mcomella
--HG--
extra : commitid : 2L7WvuzmFRu
extra : rebase_source : 89c02b217af6036c88b96a7939c80a0f63774c91
2015-06-18 20:30:14 +02:00
Michael Comella
a0f906bd01 Bug 1176886 - Remove unnecessary parents in sync code. r=nalexander
--HG--
extra : commitid : EeoByDn198G
extra : rebase_source : cc9f9ac0e041150fd1b19d35ec731698320e4d71
2015-06-24 09:28:26 -07:00
Michael Comella
e1b9066d7c Bug 1176886 - Add UselessParent ignore to tab_queue_prompt. r=mhaigh
--HG--
extra : commitid : CdwTYiJfLx4
extra : rebase_source : 4215e11755ed2f966696d89c60f1fb862a1ce1f3
2015-06-23 10:55:04 -07:00
Michael Comella
828915907f Bug 1177166 - Remove duplicate favicon_search & suggestion_item_search icons. r=jonalmeida
The icons are now called search_icon_inactive.

--HG--
extra : commitid : AAqTxhEWs7i
extra : rebase_source : efea5446fdbfb0415d328e8d076799b8078bb468
2015-06-24 12:45:36 -07:00
Michael Comella
85b2839e43 Bug 1177166 - Remove duplicated menu_tabs icons. r=jonalmeida
The duplicated icon is called menu.

--HG--
extra : commitid : 51T5XtKT4wV
extra : rebase_source : 2e5d0d0b0936951809c748112330e0586b85b8e9
2015-06-24 12:48:54 -07:00
Michael Comella
17aabfd667 Bug 1177166 - Remove duplicate icon_last_tabs_empty. r=jonalmeida
Used icon_remote_tabs_empty instead.

--HG--
extra : commitid : JVy0nOud4z
extra : rebase_source : 7c2eafb77585b6fd18c2dbcb1dc3a469f776eb6f
2015-06-24 12:10:01 -07:00
Sebastian Kaspari
f511089b41 Bug 1157539 - Create "speed dial" dynamic home panel layout. r=mhaigh
--HG--
extra : commitid : J69tandSl6o
extra : rebase_source : 0b7b26a376938ae42beb7d0f872b3f1df68eb7c3
2015-06-16 13:53:59 +02:00
Michael Comella
f84e7c9b72 Bug 1170884 - Change inner LinearLayout to wrap_content. r=mhaigh
Inside a ScrollView. According to Android Lint:

ScrollView children must set their layout_width or layout_height attributes to
wrap_content rather than fill_parent or match_parent in the scrolling dimension

--- Who am I to argue?

--HG--
extra : commitid : EomuSjCkA7a
extra : rebase_source : 7c6fb5539f96744f3dfa2bd3613ecd95fe1d6e2e
2015-06-23 10:39:55 -07:00
Carsten "Tomcat" Book
7fd037905e merge mozilla-inbound to mozilla-central a=merge 2015-06-24 16:01:47 +02:00
Michael Comella
2c907a42d3 Bug 1175388 - Disable AlwaysShowAction on a file level. r=margaret
We have a custom menu system here and interpret these attributes ourselves so
this warning isn't relevant to us.

--HG--
extra : commitid : 9iDtQH2P86
extra : rebase_source : 1f2e5c37e57057cd92971a3ff637837032f78516
2015-06-16 20:25:42 -07:00
Martyn Haigh
03247b4e71 Bug 1176883 - Fix privateBrowing translation issue (r=flod)
--HG--
extra : amend_source : d495dbfd681fa2a324052deddb4fab9ba66d3dc3
2015-06-23 10:37:45 -07:00
Carsten "Tomcat" Book
87e3154dff merge mozilla-inbound to mozilla-central a=merge 2015-06-22 14:03:17 +02:00
Ahmed Khalil
c503c4e252 Bug 1172077 - Merge tabs.db into browser.db. r=nalexander a=KWierso
This moves the tabs and clients table into the main per-profile
browser.db database.  It's a code savings but it also makes it easier
to query against open tabs when inspecting parts of the browser
database, like history and bookmarks.

--HG--
extra : commitid : GFnp5ADiaKQ
extra : rebase_source : 944afa7a2af67cb177c72fdad2d0340f470e5d23
extra : amend_source : 2a1748ed22db0d9dc984f20ef9f53385c2ce9fdb
2015-06-18 15:05:42 -07:00
Chenxia Liu
4cf955fbee Bug 1173887 - Only display one title + favicon for the first doorhanger in a popup. r=ally, a=Kwierso
--HG--
extra : commitid : GFYZDG4PxZ0
extra : rebase_source : 1ae9639284ab100e1e8348e144a99bcec80646dd
2015-06-16 14:03:09 -07:00
Chenxia Liu
ce2be88436 Bug 1150613 - Doorhanger should not reappear after being dismissed. r=margaret, a=Kwierso
--HG--
extra : commitid : 2E976j0ZsZ3
extra : rebase_source : 3012005fa03fb4bfcbd1229c7be3aac8e9562df7
2015-06-18 10:53:09 -07:00
Jonathan Almeida
11fd2b4a90 Bug 1161820 - Replace all back button presses with Solo.goBack in tests. r=liuche CLOSED TREE
--HG--
extra : amend_source : d3bdbfb4a990b187c633988f96f5bb3cc759403e
2015-06-17 17:24:48 -07:00
Ryan VanderMeulen
bbdd38fdde Merge inbound to m-c. a=merge
CLOSED TREE
2015-06-19 16:33:59 -04:00
Ryan VanderMeulen
38908bda34 Merge fx-team to m-c. a=merge 2015-06-19 16:33:00 -04:00
Eugen Sawin
4eaf9508d0 Bug 1175605 - Do not access DOMApplicationRegistry properties before it is ready. r=myk 2015-06-18 22:09:49 +02:00
Sylvestre Ledru
31098c91d9 Bug 1174506 - Bring back the version in the About:page of fennec r=glandium
Also update the configure to use MOZ_APP_VERSION for MOZ_APP_VERSION_ABOUT
if not found

--HG--
extra : rebase_source : bf511748c78577a2b84465bf4798ee635b036c22
2015-06-19 12:51:48 +02:00
Chenxia Liu
fe00972718 Bug 1175996 - Backout enable of testSettingsMenuItems for 2.3 from bug 1144898. CLOSED TREE r=orange, a=RyanVM
--HG--
extra : commitid : 1EKd20HGxjA
extra : amend_source : 768ad691076f9da74023626313d371d0d41a9dde
2015-06-18 10:54:52 -07:00
Sebastian Kaspari
1e85c546d0 Bug 1171288 - Add ability to build with RecyclerView support library. r=nalexander
--HG--
extra : rebase_source : 781c82348e9ea08183aa8560532ffb63222f8f8d
2015-06-16 19:52:44 +02:00
Chenxia Liu
9386258322 Bug 1144898 - Android 4.3 testSettingsMenuItems | Exception caught - junit.framework.AssertionFailedError: Text string: '^Mozilla$' is not found! r=mcomella
--HG--
extra : commitid : GLc0T5gB7Tv
extra : rebase_source : e6f46939bbce578f3ea2ca835ffc66db92661918
2015-06-17 09:52:49 -07:00
Mike Taylor
2429d0908e Bug 1175301: Update UA override for Youtube. r=mbrubeck 2015-06-17 13:02:30 -07:00
Nick Alexander
1175a4f453 Bug 1161234 - Pre: Add "CreateFirefoxAccountFromJSON" message. r=rnewman
We will probably grow a helper module for handling these
account-related messages, but this is enough to develop an
about:accounts style add-on.

--HG--
extra : commitid : 4w3nNnJLd59
extra : rebase_source : 2f4cf9c5700bf9555d0dec9bdbf6341b274fbfd2
2015-06-17 12:32:03 -07:00
Ryan VanderMeulen
c3ff518ee6 Merge fx-team to m-c. a=merge 2015-06-17 15:01:24 -04:00
Ryan VanderMeulen
bfad686249 Merge m-c to inbound. a=merge
CLOSED TREE
2015-06-17 12:10:37 -04:00
Michael Comella
97320bbf73 Bug 1170884 - Use 0dp for layout_w/h for perf reasons. r=mhaigh
This falls under the InefficientWeight rule.

Changes completed via Android Studio quick-fix.

--HG--
extra : commitid : 4c64Y9Q3mS3
extra : rebase_source : b888629fed9da8f7bc95e58766d395d40b2d7926
2015-06-16 20:37:17 -07:00
Michael Comella
78cc9bab41 Bug 1170884 - Add title to menu item. r=mhaigh
Part of android lint's "MenuTitle" warning.

This is a stub (according to the comments) so we don't actually need a title. I
was going to suppress the lint output but since the title is the empty string
on v11+ where this value is used, I figured an empty string title should
suffice.

--HG--
extra : commitid : IZCdKP6BgtF
extra : rebase_source : 599d608cd815cdfb09f7a636bffa52ae62a4da3c
2015-06-16 19:36:23 -07:00
Michael Comella
1d56a56d45 Bug 1170884 - Remove unnecessary namespace attribute. r=mhaigh
Part of android lint's "MissingPrefix" rule.

--HG--
extra : commitid : GGSU1tZsrqZ
extra : rebase_source : 488b7d77409e91baddc5eca036389c6fa7df77c7
2015-06-16 19:31:48 -07:00
Michael Comella
01c96292f5 Bug 1170884 - Add explicit orientation to LinearLayouts. r=mhaigh
android-lint recommends this as part of it's "Orientation" rule.

--HG--
extra : commitid : CYxhIiVkqNA
extra : rebase_source : 6551415a01926febf2d6c85c2205881eea91e084
2015-06-16 19:29:28 -07:00
Michael Comella
798df35512 Bug 1170884 - Remove obsolete layout params. r=mhaigh
Via the ObsoleteLayoutParam android Lint warning. Fixed automagically by
Android Studio.

--HG--
extra : commitid : IpVcy4sZdGc
extra : rebase_source : adc3d171ff911ccc715c14ca7c7f05adb778cf29
2015-06-12 17:27:03 -07:00
Martyn Haigh
10a086a22d Bug 1174845 - Remove purple overflow menu button (r=mcomella)
--HG--
extra : rebase_source : 2f18e26e7065561e939813d16534c8751b363bde
2015-06-17 15:36:39 +01:00
Mike Taylor
d22a598539 Bug 1169772 - Add Android version to platform identifier of Fennec's UA string. r=mfinkle, r=gerv 2015-06-11 09:38:00 -04:00
Martyn Haigh
57bb66ba9d Bug 1157978 - Remove duplicate what is private browsing messages (r=margaret)
--HG--
extra : rebase_source : 76db614388074f247685acc5f27700b7f981797a
2015-06-17 15:30:59 +01:00
Mike Taylor
39dfbc106a Bug 1175305 - Enable dynamic UA updates for Fennec. r=margaret 2015-06-18 15:00:00 +02:00
Nick Alexander
41cd99af7b Bug 1168407 - Implement a bidirectional Java addon interface. f=jchen,r=rnewman,r=mfinkle
There are several parts to this ticket:

1) Produce javaaddons-1.0.jar, a standalone JAR defining a (versioned)
Java interface suitable for consumption by third-party Java addon
implementations.

2) Support the new V1 interface in the JavaAddonManager.

3) Add Robocop JavascriptTests testing the JavaScript message passing
interface to and from Java.

This patch can be read as "not in tests/" and "everything in tests/".

--HG--
rename : mobile/android/base/JavaAddonManager.java => mobile/android/base/javaaddons/JavaAddonManager.java
extra : commitid : ApOd0Iz9BrZ
extra : rebase_source : 9808487ec3b233f31524e3694d1e997af78a0c84
extra : histedit_source : c8883a01805d7ed39ffb58e8523103260aa72d0b
2015-06-17 21:47:29 -07:00
Nick Alexander
b2342b8e9a Bug 1168407 - Pre: Add GeckoJarReader.extractStream. r=rnewman
The use case is to ship a classes.dex file in a Gecko add-on.  This
makes it easy to extract such a file from an add-on to a temporary
location.  (Sadly, the Android Dex loading classes expect files, not
streams.)

--HG--
extra : commitid : 5hvLXqQHtZz
extra : rebase_source : 6d5964253c7510f02c7ff7c3889264d341b2a61a
extra : histedit_source : f22be3f7c6a12f4aafc222e954d6cbeb466fe147
2015-06-15 16:21:55 -07:00
Nick Alexander
56e7e8be1b Bug 1168407 - Pre: Move roboextender under mobile/android/tests. r=gbrown
I want to include a file built during the Fennec build to the
roboextender extension; this is an easy way to arrange it.

I took the opportunity to make the extension file tree mirror the XPI
file tree, which always used base/.

--HG--
rename : testing/mochitest/roboextender/Makefile.in => mobile/android/tests/browser/robocop/roboextender/Makefile.in
rename : mobile/android/tests/browser/robocop/roboextender/SelectionUtils.js => mobile/android/tests/browser/robocop/roboextender/base/SelectionUtils.js
rename : mobile/android/tests/browser/robocop/roboextender/paymentsUI.html => mobile/android/tests/browser/robocop/roboextender/base/paymentsUI.html
rename : mobile/android/tests/browser/robocop/roboextender/robocop_home_banner.html => mobile/android/tests/browser/robocop/roboextender/base/robocop_home_banner.html
rename : mobile/android/tests/browser/robocop/roboextender/robocop_prompt_gridinput.html => mobile/android/tests/browser/robocop/roboextender/base/robocop_prompt_gridinput.html
rename : mobile/android/tests/browser/robocop/roboextender/testInputSelections.html => mobile/android/tests/browser/robocop/roboextender/base/testInputSelections.html
rename : mobile/android/tests/browser/robocop/roboextender/testSelectionHandler.html => mobile/android/tests/browser/robocop/roboextender/base/testSelectionHandler.html
rename : mobile/android/tests/browser/robocop/roboextender/testTextareaSelections.html => mobile/android/tests/browser/robocop/roboextender/base/testTextareaSelections.html
rename : testing/mochitest/roboextender/bootstrap.js => mobile/android/tests/browser/robocop/roboextender/bootstrap.js
rename : testing/mochitest/roboextender/chrome.manifest => mobile/android/tests/browser/robocop/roboextender/chrome.manifest
rename : testing/mochitest/roboextender/install.rdf => mobile/android/tests/browser/robocop/roboextender/install.rdf
rename : testing/mochitest/roboextender/moz.build => mobile/android/tests/browser/robocop/roboextender/moz.build
extra : commitid : 2BkQaW1ESSI
extra : rebase_source : cd7ca3327f77584542a77b26519c9a812f48c48e
extra : histedit_source : fe49f2ab0b6193b49a8c5c5cf4da51a5a4b993f7
2015-06-15 15:51:21 -07:00