Commit Graph

16942 Commits

Author SHA1 Message Date
Ryan VanderMeulen
083015b20d Merge fx-team to m-c. a=merge 2015-06-17 15:01:24 -04:00
Ryan VanderMeulen
bbdead56ea Merge m-c to inbound. a=merge
CLOSED TREE
2015-06-17 12:10:37 -04:00
Michael Comella
69fc98d1ec 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.
2015-06-16 20:37:17 -07:00
Michael Comella
22ba854cc3 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.
2015-06-16 19:36:23 -07:00
Michael Comella
cdea677e4a Bug 1170884 - Remove unnecessary namespace attribute. r=mhaigh
Part of android lint's "MissingPrefix" rule.
2015-06-16 19:31:48 -07:00
Michael Comella
e9f0c345d5 Bug 1170884 - Add explicit orientation to LinearLayouts. r=mhaigh
android-lint recommends this as part of it's "Orientation" rule.
2015-06-16 19:29:28 -07:00
Michael Comella
362c99bda6 Bug 1170884 - Remove obsolete layout params. r=mhaigh
Via the ObsoleteLayoutParam android Lint warning. Fixed automagically by
Android Studio.
2015-06-12 17:27:03 -07:00
Martyn Haigh
b1b5f860e2 Bug 1174845 - Remove purple overflow menu button (r=mcomella) 2015-06-17 15:36:39 +01:00
Mike Taylor
7771e2164c 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
1343c4c25f Bug 1157978 - Remove duplicate what is private browsing messages (r=margaret) 2015-06-17 15:30:59 +01:00
Mike Taylor
e4cb9a625b Bug 1175305 - Enable dynamic UA updates for Fennec. r=margaret 2015-06-18 15:00:00 +02:00
Nick Alexander
31b4d8f041 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/".
2015-06-17 21:47:29 -07:00
Nick Alexander
c88c530673 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.)
2015-06-15 16:21:55 -07:00
Nick Alexander
858076ed5f 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/.
2015-06-15 15:51:21 -07:00
Robert O'Callahan
eaf5448c3f Bug 1150284. Disable offsetX/offsetY properties in FxOS/Fennec. r=smaug 2015-06-18 17:04:14 +12:00
Nikhil Marathe
295faeeca9 Bug 1173389 - Disable ServiceWorker network interception by default. r=ehsan 2015-06-12 16:28:13 -07:00
Michael Comella
c7ded7fa1d Bug 963873 - Replace HashMap with SparseArray in AndroidGamepadManager. r=nalexander
I don't expect to have many devices attached to a Fennec instance so it's
unlkely we'll run into the performance issues of SparseArray when
adding/removing.
2015-06-16 15:41:22 -07:00
Phil Ringnalda
a220a87006 Back out cc46990bc189 (bug 1144898) for testSettingsMenuItems failures and crashes 2015-06-16 19:44:05 -07:00
Chenxia Liu
04fe52fc85 Bug 1144898 - Android 4.3 testSettingsMenuItems | Exception caught - junit.framework.AssertionFailedError: Text string: '^Mozilla$' is not found! r=mcomella 2015-06-16 15:49:04 -07:00
Chenxia Liu
3d2631564a Bug 1175356 - Don't log JSONException when updating the SiteIdentity info. r=trivial 2015-06-16 17:23:46 -07:00
Michael Comella
18f2f8c400 Bug 1168980 - Search app store when there is no app to handle intent:// URI. r=margaret 2015-06-16 11:39:00 -07:00
Justin Dolske
4cae8ea4c6 Bug 1109475 - Firefox should use HTTPS instead of HTTP for Safe Browsing URLs. r=gcp 2015-06-16 12:28:42 -07:00
Mike Hommey
8adfa6cd55 Bug 1173681 - Move nsIProfileUnlocker.idl to toolkit/profile and remove profile. r=bsmedberg 2015-06-23 08:55:40 -07:00
Carsten "Tomcat" Book
9a4e1b53a6 merge mozilla-inbound to mozilla-central a=merge 2015-06-16 16:08:27 +02:00
Phil Ringnalda
db9af263ce Back out cf876b6ac843 (bug 1168980) for Android xpcshell crashes in test_redirect-caching_failure.js and test_redirect_failure.js
CLOSED TREE
2015-06-15 21:00:36 -07:00
Richard Newman
1593ea0ea0 Bug 1031569 - Don't query for non-exported activities, don't crash if we fail to launch one. r=mfinkle
Tested youtube.com, send tab, sharing menu.
2015-06-15 18:56:06 -07:00
Michael Comella
595f58acb0 Bug 1168662 - Add EXTRA_APPLICATION_ID to all outgoing Intents. r=margaret 2015-06-12 16:30:20 -07:00
Michael Comella
17fa688034 Bug 1168662 - Modify all outgoing Intents with CATEGORY_BROWSABLE. r=margaret 2015-06-12 16:26:24 -07:00
Michael Comella
882413144c Bug 1168980 - Search app store when there is no app to handle intent:// URI. r=margaret 2015-06-10 17:26:27 -07:00
Michael Comella
197bbfbbbf Bug 1173228 - Suppress SetJavaScriptEnabled linter warning. r=margaret
The function is required for a greasemonkey script and the code is expected to
be secure.
2015-06-09 18:52:12 -07:00
Nick Alexander
d257109ed7 Bug 969925 - Generate an empty fennec_ids.txt. r=gbrown
Automation and some third-party tooling expects fennec_ids.txt, but an
empty file should suffice.
2015-06-15 11:34:51 -07:00
Wes Kocher
8309735e4f Merge m-c to inbound, a=merge 2015-06-15 18:34:29 -07:00
Florian Quèze
55c7ff176c Bug 1109354 - prefer Firefox default engines over profile-installed plugins with the same name, r=markh. 2015-06-15 18:32:09 +02:00
Joel Maher
d46954b0e4 Bug 1174693 - Remove old robocop talos tests which we don't run anymore. r=gbrown 2015-06-15 09:35:00 -04:00
Ryan VanderMeulen
a8413ea695 Merge m-c to inbound. a=merge 2015-06-15 15:56:20 -04:00
Margaret Leibovic
3ad169c4cc Bug 1173895 - Hide enable/disable context menu items for app disabled add-ons. r=liuche 2015-06-11 11:52:41 -04:00
Margaret Leibovic
a56616aa10 Bug 1170851 - Warn about add-ons detected as no longer signed. r=mfinkle,Mossop 2015-06-10 08:48:01 -04:00
Martyn Haigh
4329924c73 Bug 1164959 - Remove empty private tabs tray content, replace with simple empty state (r=mcomella) 2015-06-15 13:28:57 +01:00
Eugen Sawin
df6e6f3991 Bug 1171013 - Use extended defineLazyModuleGetter to import Webapps.jsm. r=mfinkle 2015-06-15 19:16:42 +02:00
Eugen Sawin
9cab95afef Bug 1171013 - Set Android apps to be launchable by default. r=mossop 2015-06-15 19:14:47 +02:00
Chenxia Liu
22e3853dcf Bug 1161200 - Only show "Edit Site Settings" when actionable. r=margaret 2015-06-12 18:03:04 -07:00
Chenxia Liu
361dcda6cb Bug 1167740 - Allow editing login from "Update login" doorhanger. r=margaret 2015-06-11 18:06:58 -07:00
Chenxia Liu
8d0cfa2e19 Bug 1141904 - Update SiteIdentity popup to match Doorhanger popup. r=ally 2015-06-10 14:57:38 -07:00
Ryan VanderMeulen
d473169250 Merge m-c to fx-team. a=merge 2015-06-12 15:00:54 -04:00
Ryan VanderMeulen
86c5c07470 Merge inbound to m-c. a=merge 2015-06-12 14:57:24 -04:00
Michael Comella
760a6b9233 Bug 1171789 - Add updated summary to tab queue preference item in test. r=liuche 2015-06-12 11:10:19 -07:00
Michael Comella
a41d84b50b Bug 1172831 - Remove unused onboarding resources. r=liuche 2015-06-11 11:59:30 -07:00
Michael Comella
60b4b53149 Bug 1170884 - valueOf instead of new in sync repo. r=nalexander 2015-06-12 11:18:31 -07:00
Michael Comella
bd41fcf50c Bug 1170884 - Replace "new Integer" with "Integer.valueOf". r=nalexander 2015-06-11 12:25:27 -07:00
Wes Kocher
909c7ffee4 Merge m-c to fx-team, a=merge CLOSED TREE 2015-06-11 17:55:46 -07:00
Wes Kocher
263ad28351 Merge fx-team to central, a=merge 2015-06-11 17:18:11 -07:00
Wes Kocher
bfea5e9dd0 Merge inbound to central, a=merge 2015-06-11 17:02:47 -07:00
vivek
f353a353f2 Bug 1055264 : Default profile image layout for sync setup screen -r=nalexander. 2015-06-10 21:23:00 -07:00
vivek
e51037aa09 Bug 1055264 : Build flags added for firefox account profile -r=nalexander. 2015-06-10 21:22:00 -07:00
Allison Naaktgeboren
3f82f1a634 Bug 1136477 - Unify terminology of Passwords/Logins for about:logins (nee about:passwords).1/2.r=margaret 2015-06-10 18:52:27 -07:00
Wes Kocher
2a1b065291 Merge m-c to fx-team, a=merge 2015-06-10 18:40:51 -07:00
Wes Kocher
a557d0fae7 Merge inbound to central, a=merge 2015-06-10 18:29:39 -07:00
Michael Comella
b7a7f42b28 Bug 1170884 - Call TypedArray.recycle after use in TextSelectionHandle. r?capella 2015-06-10 15:09:17 -07:00
Michael Comella
02c4285379 Bug 1168497 - Only run LayerMarginsAnimationTask when there is work to do. r?snorp
Before, we'd run this animate the dynamic toolbar over a specified duration
even if the dynamic toolbar was not actually animating anywhere. Thus, this
patch reduces excess work when the dynamic toolbar is not scrolled out of
place (e.g. onPanZoomStopped, onLocationChange, onTabChanged). This reduced
work includes allocating the RenderTask only when we need it.
2015-06-09 16:15:28 -07:00
Michael Comella
a65d1b57ae Bug 1168497 - Change scrollbar fade to be time-based (250ms). r?snorp
This should hopefully improve power consumption and make us act closer to the
system scrollbars.
2015-06-08 12:12:43 -07:00
Margaret Leibovic
fa317068db Bug 1170843 - Show a warning when a user attempts to install an unsigned add-on. r=mfinkle 2015-06-08 14:31:48 -04:00
Sebastian Kaspari
b5033c860d Bug 1158295 - Dynamically determine space between search engines in search engine bar. r=mcomella 2015-06-04 18:13:07 -07:00
Xidorn Quan
e02af14d81 Bug 1161802 part 2 - Split nsGlobalWindow::SetFullScreenInternal into two parts, one part before the window resizing, the other after. r=smaug,dao,margaret
This patch moves the "fullscreen" event from the original place to the
second part, which indicates two other changes:

1. When the event is triggered, the value of fullScreen would have been
toggled to the new value, which is different from before. The changes in
browser/../browser-fullScreen.js and mobile/../browser.js are for this.

2. This event is no longer preventDefault-able, since it is triggered
after the fullscreen change. This leads to the removal of the test and
the only place which calls preventDefault on that event. That place is
a workaround for bug 1079222. To address that problem, this patch fixes
the intrinsic issue via stoping handling the fullscreen change once it
finds we failed to change the state of the widget.
2015-06-10 23:13:12 +12:00
Sebastian Kaspari
4073074eb6 Bug 1170824 - Hide search engine bar if no non-primary search engine is available. r=mcomella 2015-06-02 17:19:58 -07:00
Jim Chen
63eeb5c0e8 Bug 1166452 - Convert delayed startup to using DelayedInit; r=mfinkle 2015-06-10 00:25:02 -04:00
Jim Chen
2544d1c7a0 Bug 1166452 - Add DelayedInit module for Fennec startup; r=mfinkle 2015-06-10 00:25:02 -04:00
Jim Chen
be9c2c478e Bug 1166309 - Set interface and don't load mozglue in GeckoView; r=snorp 2015-06-10 00:25:01 -04:00
Jim Chen
7a9fcd017d Bug 1166309 - Make GeckoJarReader load mozglue if necessary; r=mfinkle r=rnewman 2015-06-10 00:25:01 -04:00
Jim Chen
e44c4f499f Bug 1166309 - Move gfx mozglue dependency to after Gecko starts; r=snorp 2015-06-10 00:25:01 -04:00
Jim Chen
fff18a12b9 Bug 1166309 - Move mozglue loading to GeckoThread; r=snorp 2015-06-10 00:25:01 -04:00
Sylvestre Ledru
730c8097b4 Bug 1145175 - Include the beta version in 'About Firefox' r=glandium
This should not have any effect on nightly or aurora.
Also fix browser/installer/windows/Makefile.in
webapprt/win/Makefile.in to use the variable instead
of the file
2015-06-12 11:54:28 +02:00
Ahmed Khalil
848102ae0b Bug 1159020 - Move share overlay's access to sync to TabsProvider, r=nalexander
This includes a JUnit 3 test (not yet run in automation) to test this
functionality.
2015-05-28 14:39:16 -07:00
Amin Bandali
7427211145 Bug 1167360 - Show switch button when adding Reading List item. r=nalexander
This also shows the switch button when adding a reading list item that
is already present.
2015-05-29 19:34:00 -07:00
Margaret Leibovic
4b41c11d78 Bug 1170844 - Display error message when add-on fails to be installed because it isn't signed. r=Mossop,mfinkle 2015-06-04 10:02:48 -07:00
Carsten "Tomcat" Book
8bd8e55f0c Merge mozilla-central to fx-team 2015-06-10 15:25:21 +02:00
Wes Kocher
de4a71ed75 Merge m-c to fx-team, a=merge 2015-06-09 19:30:16 -07:00
Michael Comella
d27de2f0cd Bug 1164114 - Open Intent URIs without a specific package set. r?margaret
The Android Activity chooser dialog will appear.
2015-06-08 16:17:35 -07:00
Michael Comella
3def8765a2 Bug 1170884 - Replace android:password w/ android:inputType. r?liuche
android:password is deprecated.
2015-06-08 09:19:17 -07:00
Michael Comella
9af6833df7 Bug 1168998 - Filter intent:// URIs. r?margaret 2015-06-08 13:56:17 -07:00
Chenxia Liu
80fd92ffe9 Bug 1040948 - Show urlbar when "trying on" a lightweight theme. r=margaret 2015-06-09 11:57:16 -07:00
Chenxia Liu
c1ce312bb6 Bug 1139553 - Black overlay for doorhanger background. r=ally,a=RyanVM 2015-05-27 10:46:44 -07:00
Youngsun Suh
9d19f55c38 Bug 1170852 - Remove unused method, GeckoAppShell.decodeBase64 r=mcomella 2015-06-06 20:55:00 -07:00
P. Calligaris
2578f1387e Bug 1172086 - Check if <input> element is disabled; r=margaret 2015-06-08 20:47:50 +01:00
Geoff Brown
f6669cd304 Bug 1173180 - Guard against null selectedTab handling Viewport:FixedMarginsChanged; r=kats 2015-06-11 09:22:47 -06:00
Jim Chen
0daa2ce820 Bug 1174725 - Fix GeckoLoader synchronization; r=snorp 2015-06-16 19:45:29 -04:00
Jim Chen
93e1c902b5 Bug 1173379 - Delay loading console and AndroidLog.jsm on startup; r=mfinkle 2015-06-16 19:35:52 -04:00
Jim Chen
f753891e63 Bug 1173379 - Delay-init more things on startup; r=mfinkle 2015-06-16 19:35:52 -04:00
Jim Chen
ead38c076d Bug 1112212 - Send key events in onKeyMultiple; r=cpeterson 2015-06-16 19:02:39 -04:00
Allison Naaktgeboren
b2207e6c7d Bug 1144413 - Remove details page from about:passwords.r=liuche 2015-06-15 13:21:38 -07:00
dominique vincent
19c0458ebe Bug 1165127 - Animations for displaying/closing the zoomed view. r=mcomella 2015-06-13 22:42:20 +02:00
Chenxia Liu
080a2cede5 Bug 1168530 - Add context menu option for "Show password". r=ally 2015-06-02 17:43:20 -07:00
Sebastian Kaspari
27322bbda5 Bug 1158275 - testAddSearchEngine: Verify search engines in search result list and search engine bar. r=mcomella 2015-06-04 10:35:47 -07:00
Sebastian Kaspari
78d1ae2b49 Bug 1158275 - Remove old method of selecting non-primary search engines in BrowserSearch. r=mcomella 2015-06-02 15:43:28 -07:00
Michael Comella
ae2e73d771 Bug 1172201 - Set Android support library to 22.2.0 in config. r=me
This corrects the GradleDynamicVersion lint warning.
2015-06-08 09:15:10 -07:00
Margaret Leibovic
4316179090 Bug 1170384 - Fix copy/pasta error in reader view location change handler. r=mcomella 2015-06-02 16:28:35 -07:00
Carsten "Tomcat" Book
48583b4851 merge mozilla-inbound to mozilla-central a=merge 2015-06-08 11:55:30 +02:00
Ehsan Akhgari
a75b7c94d0 Bug 1172110 - Re-enable service workers on desktop and mobile for non-release builds; r=jst 2015-06-06 21:00:18 -04:00
Phil Ringnalda
1eb2c11be3 Back out f2ecf8c73f6f (bug 1172110) for failures in test_interfaces.html and test_worker_interfaces.html
CLOSED TREE
2015-06-05 19:40:49 -07:00
Ehsan Akhgari
7d9c13c9ce Bug 1172110 - Re-enable service workers on desktop and mobile for non-release builds; r=jdm 2015-06-05 20:40:42 -04:00
Nick Alexander
7ce1f3d19b Bug 1171566 - Part 2: Remove BrowserTestCase. rs=mcomella
This was just a remnant from earlier days.  This launched the Fennec
activity, which is absolutely *not* something we want to do during
these browser JUnit 3 tests.  That is, these should be pure
instrumentation tests that just run Java code in the correct package
and Java classloader context.  They shouldn't interact with the App
lifecycle at all.

Not all the tests pass; I took a shot at fixing one but don't care to
dig deeply right now.
2015-06-04 10:41:48 -07:00
Nick Alexander
7ebc0ca509 Bug 1171566 - Part 1: Configure Gradle and Spoon. rs=mcomella
There are few things happening here:

* A purely mechanical move of test sources into org.mozilla.test.browser.junit3.
  This is only to make it easy to specify the suite in Spoon.  (But it has the
  advantage of making it possible to move files around in IntelliJ, since the
  symlink points to src instead of org/mozilla/gecko.)

* Specifying the suite (package name) ended up requiring changes to the
  spoon-gradle-plugin anyway.  Hence, I've included this custom
  spoon-gradle-plugin version locally, while I work to upstream the changes.

* Some Gradle trickery to make |mach gradle runBrowserTests| execute Spoon with
  the correct package name.
2015-06-04 12:09:23 -07:00
Michael Comella
d6fac791d2 Bug 1165422 - Update builder configurations to android API 22. r?coop 2015-06-04 13:30:28 -07:00
Michael Comella
f8eca49445 Bug 1165422 - Update gradle build tools versions to 22.0.1. r?nalexander 2015-06-03 21:04:27 -07:00
Michael Comella
5d82559ac3 Bug 1170886 - Specify correct Locale in String.toUpperCase and remove @SuppressLint. r=rnewman 2015-06-04 17:38:51 -07:00
Michael Comella
780317b5e7 Bug 1170886 - Remove unnecessary InlinedApi suppression. r?nalexander 2015-06-02 20:09:21 -07:00
Michael Comella
15d34e0c72 Bug 1170886 - Replace use of NewApi suppression with @TargetApi. r?nalexander
TargetApi is specific, and preferred.
2015-06-02 20:02:30 -07:00
Richard Newman
7ac16c26e7 Bug 1170819 - Enable payments in Fennec release channel. r=mfinkle,AndyM 2015-06-04 12:28:23 -07:00
Richard Newman
696b4093c9 Bug 1061273 - Part 4: use SSLSocketFactory directly, rather than our own TLSSocketFactory subclass. 2015-06-04 11:07:32 -07:00
Richard Newman
f7def564fd Bug 1061273 - Part 3: enable TLSv1 for landing. 2015-06-04 11:07:32 -07:00
Richard Newman
b1c26c2950 Bug 1061273 - Part 2: use per-version DEFAULT_PROTOCOLS and DEFAULT_CIPHER_SUITES. r=nalexander 2015-06-04 11:07:32 -07:00
Richard Newman
31ee96a3bc Bug 1061273 - Part 1: put DEFAULT_PROTOCOLS and DEFAULT_CIPHER_SUITES in GlobalConstants. r=nalexander 2015-06-04 11:07:31 -07:00
Sebastian Kaspari
dbcc4fa984 Bug 1169427 - Replace FloatMath.*() calls with calls to Math.*(). r=snorp 2015-06-02 18:53:59 -07:00
Michael Comella
eb19e2c422 Bug 1165422 - Upgrade gradle support libraries to 22. r=me
Forgot to land this as part of the original, and next, changes.
2015-06-05 18:19:43 -07:00
Michael Comella
edbe64adf8 Bug 1165422 - Upgrade gradle targetSdk to 22. r=me
Forgot to land this as part of the original changes - this should allow
successful compiling in Intellij.
2015-06-05 17:36:39 -07:00
Richard Newman
f7ab4608d1 Bug 1061273 - Follow-up: fix cipher suites for Sync 1.1.
The suites used for 20+ didn't intersect with the supported suites on the ZLBs.

We now use the same suites across all versions, and they intersect.
2015-06-05 15:50:45 -07:00
Ryan VanderMeulen
d2ccbf448a Merge fx-team to m-c. a=merge 2015-06-04 09:24:15 -04:00
Michael Comella
7af4011d58 Bug 1170884 - Use fully qualified android.R.*. r?nalexander 2015-06-02 18:21:38 -07:00
Michael Comella
0b385264fe Bug 1170884 - Call super from sub-class. r?nalexander 2015-06-02 18:19:23 -07:00
Michael Comella
4252b6f5c7 Bug 1170285 - Add lint.xml config file to base sub-project. r?nalexander
While it might seem like a good idea to disable all of the checks we don't
currently pass, Intellij uses the same lint configuration file as the
command-line invocation and so we'll be more likely to write in new errors by
disabling some checks.
2015-06-03 21:12:00 -07:00
Ryan VanderMeulen
fc4ff6cdab Merge m-c to fx-team. a=merge 2015-06-03 16:06:53 -04:00
Ryan VanderMeulen
e7e473d305 Merge inbound to m-c. a=merge 2015-06-03 15:55:09 -04:00
Ryan VanderMeulen
ced34d61a9 Merge b2g-inbound to m-c. a=merge 2015-06-03 15:50:54 -04:00
"Chris AtLee"
70478235dc Bug 1171040: Enable MOZ_AUTOMATION_UPLOAD_SYMBOLS for android nightly builds r=ted a=RyanVM 2015-06-03 11:45:10 -04:00
Michael Comella
74cd076df5 Bug 1170289 - Set default search engine favicon to magnifying glass. r?Margaret
This doesn't work for the Settings screen (bug 1170346).
2015-06-01 15:33:11 -07:00
Michael Comella
faedf2869f Bug 1170289 - Use ImageView in the search engine bar. r?Margaret 2015-06-01 14:18:36 -07:00
Michael Comella
3ef41af146 Bug 1170289 - Backout Bug 1166868 (changeset b73de443b580 & fefa03e0fb9d). r?Margaret
These patches added complexity that we're removing by implementing this bug.
2015-06-01 14:16:55 -07:00
Nick Alexander
ebe9712b0b Bug 1169476 -- Implement |mach robocop --serve|. r=gbrown
This adds a flag to |mach robocop| that does everything to run a
Robocop test except launch the actual test.  Instead of launching the
test, it starts the mochi.test server and launches Fennec with a test
profile; then it sits and waits forever.

This allows regular Java IDEs (IntelliJ, but previously Eclipse) to
run Robocop tests like regular instrumentation tests, "injecting" them
into the prepared testing environment.  It's quite nice!
2015-05-29 17:18:07 -07:00
James Willcox
31e6ab664c Bug 1165460 - Prefer GCC 4.9 for Fennec builds r=glandium 2015-06-03 10:26:17 -05:00
James Willcox
4ddca400f4 Bug 1165460 - Build Fennec using NDK r10e r=coop 2015-06-03 10:26:17 -05:00
James Willcox
09d686b910 Bug 1141693 - Build and use a PIE plugin-container on Android 5.0+. Based on a patch by Mike Hommey. r=me,glandium 2015-06-03 10:26:16 -05:00
Allison Naaktgeboren
98001c2748 Bug 1065004 - Provide an option to always open tabs in Private Browsing, amendment.r=liuche 2015-06-02 14:37:20 -07:00
Chenxia Liu
8dbf112697 Bug 1147064 - Undeleted Layout inflation line. r=me 2015-06-02 13:37:40 -07:00
Chenxia Liu
68927aa118 Bug 1147064 - Clean up misc styling from feedback. r=margaret 2015-05-22 17:23:56 -07:00
Chenxia Liu
825922548b Bug 1147064 - Handle callback ids for Login doorhanger dialogs. r=margaret 2015-05-22 16:04:25 -07:00
Chenxia Liu
ae4a3b371f Bug 1147064 - Add colored buttons. r=margaret 2015-05-21 16:27:38 -07:00
Ryan VanderMeulen
39074be05e Merge m-c to inbound. a=merge 2015-06-03 16:02:11 -04:00
Eitan Isaacson
abeb4c214a Bug 879791 - Don't send touchscreen hover events to gecko when accessibility is disabled. r=kats 2015-06-03 13:00:34 -07:00
Liang-Heng Chen
0f95d0e95a Bug 1115480 - Part 1: Implement XPCOM module for mDNSProvider. r=mcmanus 2015-05-20 23:06:00 -04:00
Chenxia Liu
68367db37c Bug 1147064 - Add positive/negative to buttons. r=margaret 2015-05-18 17:40:30 -07:00
Chenxia Liu
123866ad64 Bug 1147064 - Make negative/positive button order consistent. r=margaret 2015-04-09 16:04:21 -07:00
Chenxia Liu
8cc024ece9 Bug 1147064 - Remove extra layer of layout for overdraw. r=margaret 2015-05-15 15:47:26 -07:00
Chenxia Liu
cf0d104de0 Bug 1147064 - Abstract out shared doorhanger layout. r=margaret 2015-05-27 15:48:17 -07:00
Nick Alexander
245f941fb6 Bug 1170332 - Fix |mach robocop SINGLE_TEST|. r=ahal,gbrown
This patch declares robocop.ini an instrumentation manifest.  It's not
currently possible to declare tests that don't correspond to files, so
we include the .java extension.  (This could be revisited.)

In |mach robocop|, we use the generic test resolving infrastructure to
select the 'instrumentation'/'robocop' flavor/subsuite tests.  In
|runtestsremote.py|, we fall back to robocop.ini, as we always have.
2015-06-01 14:45:48 -07:00
Carsten "Tomcat" Book
0cfe58cf94 merge mozilla-inbound to mozilla-central a=merge 2015-06-02 13:11:05 +02:00
Phil Ringnalda
f7ea504b6d Back out 7 changesets (bug 1147064) for NullPointerExceptions
Backed out changeset 1e9ce9823fd0 (bug 1147064)
Backed out changeset 17d997c1e1dc (bug 1147064)
Backed out changeset cb76155407ab (bug 1147064)
Backed out changeset 3194afdcbb92 (bug 1147064)
Backed out changeset 87af8d27e784 (bug 1147064)
Backed out changeset fd6e15eb81c3 (bug 1147064)
Backed out changeset 1175733ce0bb (bug 1147064)
2015-06-01 21:40:01 -07:00
Chenxia Liu
14435bd19d Bug 1147064 - Clean up misc styling from feedback. r=margaret 2015-05-22 17:23:56 -07:00
Chenxia Liu
09c1168b1f Bug 1147064 - Handle callback ids for Login doorhanger dialogs. r=margaret 2015-05-22 16:04:25 -07:00
Chenxia Liu
36175cd8f7 Bug 1147064 - Add colored buttons. r=margaret 2015-05-21 16:27:38 -07:00
Chenxia Liu
206f3698bd Bug 1147064 - Add positive/negative to buttons. r=margaret 2015-05-18 17:40:30 -07:00
Ted Mielczarek
ac1ae827dc bug 1162060 - add Socorro auth token to Android and B2G mozconfigs. r=mshal 2015-05-28 07:14:49 -04:00
Carsten "Tomcat" Book
a26a326fa9 Backed out changeset e91ac9a35f86 (bug 1169476) for android rc2 crashes 2015-06-01 09:38:42 +02:00
Carsten "Tomcat" Book
e99eb65f4a Backed out changeset 4fd1a129d197 (bug 1169476) 2015-06-01 09:37:46 +02:00
Nick Alexander
44d67862e4 Bug 1169476 - Add missing import. r=bustage 2015-05-29 17:18:07 -07:00
Nick Alexander
2f03d4af54 Bug 1169476 -- Implement |mach robocop --serve|. r=gbrown
This adds a flag to |mach robocop| that does everything to run a
Robocop test except launch the actual test.  Instead of launching the
test, it starts the mochi.test server and launches Fennec with a test
profile; then it sits and waits forever.

This allows regular Java IDEs (IntelliJ, but previously Eclipse) to
run Robocop tests like regular instrumentation tests, "injecting" them
into the prepared testing environment.  It's quite nice!
2015-05-25 14:27:21 -07:00
Richard Newman
17152c321b Bug 1169393 - Move Adjust-related stuff to AdjustConstants. r=nalexander 2015-05-29 15:52:42 -07:00
Ryan VanderMeulen
293c66abe7 Merge inbound to m-c. a=merge 2015-05-29 16:58:30 -04:00
Randall Barker
fe8718865b Bug 1159830 - Autophone - webappstartup should not use console.log to output WEBAPP STARTUP COMPLETE. r=snorp, r=froydnj 2015-05-29 09:58:04 -04:00
Ryan VanderMeulen
90fcd7d1ec Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
Ryan VanderMeulen
9f19207d9a Merge fx-team to m-c. a=merge 2015-05-29 09:20:52 -04:00
Andrew Osmond
2250b84012 Bug 1169342 - Remove nsIDOMDeviceStorage. Cleanup nsDOMDeviceStorage event wrappers. r=dhylands 2015-05-28 18:53:16 -04:00
Richard Newman
027d88ea33 Bug 1061273 - Pre: add 20+ to Versions. DONTBUILD 2015-05-28 15:22:08 -07:00
Nick Alexander
67fffb5b16 No bug - Don't let Gradle incrementally dex. r=me
DONTBUILD NPOTB

Unfortunately, Gradle just can't handle incremental dexing in our
multi-project and parallel configuration.  I see the dreaded
"com.android.dex.DexException: Multiple dex files define ..." error
frequently.

I'm using a downloaded Robotium package instead of the in-tree JAR
file as well, 'cuz it seems to be related.
2015-05-24 19:51:22 -07:00
Dipti Nirmale
e2fdd224c9 Bug 1116668 - Don't do file access on every call to getGuestProfile. r=rnewman 2015-05-28 09:17:35 -07:00
Ryan VanderMeulen
2c7106ee1a Backed out changesets 07cc8095956b and f591bbfa5dbf (bug 1159753) for Android debug mochitest crashes.
CLOSED TREE
2015-05-28 09:20:19 -04:00
Martyn Haigh
f0f31d3143 Bug 1159753 - Remove unused import (r=self) 2015-05-28 10:18:05 +01:00
Martyn Haigh
f69d811043 Bug 1159753 - Add telemetry for Tab Queue (r=mfinkle) 2015-05-28 10:14:19 +01:00
Blake Kaplan
80be7ba197 Bug 1024437 - Make <datalist> work in e10s. r=MattN 2015-05-28 09:55:46 -07:00
Karim Benhmida
de8173f084 Bug 1138635 - Keep keyboard up after voice input. r=liuche 2015-05-21 14:55:53 -07:00
Allison Naaktgeboren
489b1a55ac Bug 1065004 - Provide an option to always open external tabs in Private Browsing.r=margaret 2015-05-26 15:26:33 -07:00
Amin Bandali
291a189a8a Bug 1168618 - Rename immediate to isImmediate in DynamicToolbar.setVisible. r=mcomella 2015-05-28 13:29:00 -04:00
Margaret Leibovic
26fa2df2ed Bug 1150174 - Update Android reader button logic to avoid doing full readability parse on every page load. r=mcomella 2015-04-10 17:09:21 -07:00
Chenxia Liu
df79eed486 Bug 1147064 - Make negative/positive button order consistent. r=margaret 2015-04-09 16:04:21 -07:00
Chenxia Liu
ed8f173296 Bug 1147064 - Remove extra layer of layout for overdraw. r=margaret 2015-05-15 15:47:26 -07:00
Chenxia Liu
f70ba5e105 Bug 1147064 - Abstract out shared doorhanger layout. r=margaret 2015-05-27 15:48:17 -07:00
Dave Townsend
90722885fe Bug 1168570: Enable add-on signing support in Android. r=margaret 2015-05-26 13:24:23 -07:00
Martyn Haigh
f6a91ec7c9 Bug 1133755 - Final copy for Tab Queue (r=mcomella) 2015-06-01 13:52:32 +01:00
Martyn Haigh
db758926d4 Bug 1159753 - Add telemetry for Tab Queue (r=mfinkle) 2015-06-01 13:20:13 +01:00
Ryan VanderMeulen
30103e7e9d Merge m-c to inbound. a=merge
CLOSED TREE
2015-06-09 13:25:32 -04:00
Robert O'Callahan
a40be7876e Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical
There is some ambiguity about whether ScheduleComposite will necessarily
trigger a composite all the way to nsWindow::DrawWindowUnderlay. Android
robocop tests assume it will, because they rely on DrawWindowOverlay
being called so they can take a screenshot and make progress,
but this is a very fragile assumption. They also rely on the entire
window being painted, which is also a fragile assumption.

This patch improves the situation by explicitly invalidating the current
window area when Android Java code needs to trigger a composite. This avoids
regressions from future patches in this series which make composition bail
out when there is nothing invalid.

The resulting setup is still a bit fragile for my taste but I'm not sure
what the ideal solution would be.
2015-06-12 03:20:04 +12:00
vivek
b2acd2534d Bug 822979 - Bookmark popup notification improvements. r=margaret 2015-05-07 15:07:00 +02:00
Nick Desaulniers
f3fc2d8bc9 Bug 1152597 - Icons are shown for some apps. r=marco 2015-05-19 11:43:39 -07:00
Phil Ringnalda
ae0515f0a5 Merge f-t to m-c, a=merge 2015-05-23 14:28:07 -07:00
Michael Comella
762d2aaa92 Bug 1166868 - Add default favicon search assets. r=trivial
Forgot to add these in the last commits - this will fix the build bustage.
2015-05-22 16:28:20 -07:00
Michael Comella
670df6e052 Bug 1166868 - review: Add clarifying comments to FaviconView. r=trivial 2015-05-22 16:18:56 -07:00
Michael Comella
adf53f5e5e Bug 1166868 - Update default favicon for custom search engines. r=margaret" 2015-05-22 11:32:09 -07:00
Michael Comella
9a4a0c57d1 Bug 1158282 - Correct showDefaultFavicon comment. r=me
I thought the dominant color box was always used, but it is only used when it
is enabled in XML attrs.
2015-05-22 11:35:45 -07:00
Michael Comella
f6077389d6 Bug 1158282 - Clarify existing comment in FaviconView.formatImage. r=margaret 2015-05-21 14:11:41 -07:00
Michael Comella
826339c3ee Bug 1158282 - Handle the default favicon as any other favicon. r=margaret
This removes the complications of handling the "default favicon" as a special
case simplifying the code into two branches - no favicon (i.e. blank) and a
custom favicon.  Under the hood, the Android framework probably does a similar
amount of work (e.g. opening & scaling the bitmap) so I doubt this is less
efficient.

This solves the custom search engine icons changing on FaviconView reuse
(i.e. scrolling) and the incorrect scaling of the default favicon in the
search engine bar.

I attempted to solve the issue while keeping the default favicon as a special
case and it caused a lot of hard to follow code branches so it wasn't worth it.
This special casing is also why this bug existed in the first place!

One caveat to the handle-the-default-as-any-other-approach is mentioned in
the code comments (see FaviconView.showDefaultFavicon).
2015-05-21 14:03:16 -07:00
Ryan VanderMeulen
ecdd625f1a Merge inbound to m-c. a=merge 2015-05-22 14:02:47 -04:00
Karim Benhmida
11a882747d Bug 1164301 - Voice input in url activates on click and release. r=liuche 2015-05-21 10:51:37 -07:00
Aaron Raimist
a94f0a4f67 Bug 1163211 - Remove windowSoftInputMode comment in AndroidManifest.xml.in r=mcomella 2015-05-21 14:17:42 -07:00
Margaret Leibovic
6b86c2ac37 Bug 1166392 - Include about:reader strings on Android. r=mfinkle 2015-05-21 12:46:42 -07:00
Carsten "Tomcat" Book
0e09dfeb83 Merge mozilla-central to fx-team 2015-05-21 15:16:40 +02:00
Carsten "Tomcat" Book
967e6f7f03 merge mozilla-inbound to mozilla-central a=merge 2015-05-21 14:56:34 +02:00
Mark Finkle
f39f5b4167 Bug 1151786 - Intermittent testOfflinePage: Restructure test to wait for offline state to change r=margaret 2015-05-21 08:40:45 -04:00
Mike Hommey
434f0fefde Bug 1166538 - Use zip py_action in a few places. r=gps 2015-05-21 15:17:02 +09:00
dominique vincent
a5b86a8b0f Bug 1165128 - Enable zoomedview by default. r=mcomella 2015-05-15 22:20:12 +02:00
Matt King
c84b4da484 Bug 1150983 - Add "Synced Tabs" to Clear Private Data option list. r=nalexander 2015-05-04 14:08:31 +02:00
Karim Benhmida
aba78ca9c4 Bug 1159978 - Strip out old StartPane activity. r=liuche 2015-05-20 12:26:44 -07:00
Makoto Kato
d62075c412 Bug 958421 - XUL dialog for certificate is security/manager/pki/resouces is unnecessary on Firefox Android. r=snorp 2015-05-22 14:28:04 +09:00