Commit Graph

18931 Commits

Author SHA1 Message Date
Margaret Leibovic
6224ebd5ef Bug 1235902 - Support actions from links in hosted feedback page. r=mfinkle 2015-12-30 16:38:10 -05:00
Margaret Leibovic
aa262cdb4a Bug 1236212 - Adjust month number spinner to account for the fact that month is 0-based. r=rnewman 2016-01-07 15:58:26 -05:00
vivek
56c4d6879f Bug 1213240 : Avoid parsing sessions json when empty r=bnicholson 2016-01-07 22:42:30 +02:00
Alessio Placitelli
d3777d94c4 Bug 1234526 - Remove services/healthreport. r=gfritzsche 2016-01-06 09:07:00 +01:00
Eugen Sawin
9286d4705f Bug 1073224 - [3.2] Add fallback mechanics for device orientation sensors on Android (and fix style). r=snorp 2016-01-07 15:23:40 +01:00
Carsten "Tomcat" Book
d1ee9c9f70 merge mozilla-inbound to mozilla-central a=merge 2016-01-07 11:50:57 +01:00
Andrzej Hunt
ba3b1fdfcb Bug 1228590 - Always show location bar when switching tabs r=margaret 2015-12-17 15:26:14 -08:00
Richard Newman
796d08255a Bug 1237342 - Drop support for Android API 14 from Firefox builds. r=nalexander 2016-01-06 10:43:46 -08:00
Andrzej Hunt
61cbb00e9b Bug 1208525 - don't fail to send LocationChange if the previous URI has no host r=margaret 2016-01-04 14:36:22 -08:00
Andrzej Hunt
c349a42fac Bug 826400 - Part 3: Simplify homescreen shortcut creation, and use apple-touch-icon if available r=nalexander,jchen 2015-12-29 11:49:54 -08:00
Andrzej Hunt
048ec6274f Bug 826400 - Part 2: Extract and store optimal apple-touch-icon during page load r=nalexander 2016-01-05 14:49:43 -08:00
Andrzej Hunt
9d38b83d91 Bug 826400 - Part 1: Add touchIcon to URLMetadataTable r=nalexander 2015-12-21 17:26:52 -08:00
Kartikaya Gupta
30ad396652 Bug 1229839 - Adjust some fling physics prefs based on UX feedback. r=snorp 2016-01-06 10:36:29 -05:00
Ryan VanderMeulen
975728d416 Merge fx-team to m-c. a=merge 2016-01-06 09:48:18 -05:00
Margaret Leibovic
28523e385b Bug 1218942 - Add histogram probe to measure state of different restrictable items in restricted profiles. r=sebastian p=mfinkle 2015-12-24 14:37:29 -05:00
Alex Johnson
d03314c958 Bug 1233412 - Fix GeckoPref crashes on Jelly Bean due to theme missing colorAccent. r=sebastian 2015-12-28 09:42:19 -05:00
kartikey0303
9207825a7a Bug 1234131 - Remove unused method, deleted the method getNativeWindow(). r=skaspari 2015-12-26 17:38:37 +05:30
Nigel Babu
93d83b8719 Bug 1226301 - Follow up to fix bustage, r=bustage ON A CLOSED TREE 2016-01-06 10:05:00 +05:30
Mike Taylor
aaa4fff28f Bug 1226301. Remove Shumway from Fennec nightly builds. r=margaret 2016-01-05 22:05:09 -06:00
Mike Taylor
add7fa4a3b Bug 1226301. Remove Shumway from b2gdroid nightly builds. r=fabrice 2016-01-05 22:05:08 -06:00
Wes Kocher
67d8b18f42 Merge m-c to inbound, a=merge CLOSED TREE 2016-01-05 16:52:09 -08:00
Richard Barnes
d561cbc3fe Bug 1236975 - Re-enable SHA-1 certificates r=keeler,rbarnes 2016-01-05 12:36:17 -05:00
Carsten "Tomcat" Book
f3a72c9035 merge mozilla-inbound to mozilla-central a=merge 2016-01-05 11:58:56 +01:00
Sebastian Kaspari
3da22a8f37 Bug 1215106 - DownloadContentService: Mark content as permanently failed after multiple errors of the same type. r=rnewman 2015-12-21 09:49:57 +01:00
Sebastian Kaspari
4f93f21957 Bug 1220145 - DownloadContentService: Check space on disk before downloading content. r=rnewman 2015-12-19 23:01:11 +01:00
Sebastian Kaspari
20241f09b7 Bug 1233785 - DownloadContentService: Skip DownloadAction if no network is available. r=rnewman 2015-12-18 20:10:26 +01:00
Sebastian Kaspari
fc340022d8 Bug 1209513 - DownloadContentService: Add support for resuming downloads. r=rnewman 2015-12-17 11:36:16 +01:00
Sebastian Kaspari
fdbfc335dd Bug 1232984 - Add basic set of tests for downloadable content. r=rnewman 2015-12-16 13:16:23 +01:00
Sebastian Kaspari
6a22718678 Bug 1232984 - Move functionality from DownloadContentService to testable *Action subclasses. r=rnewman 2015-12-16 13:11:10 +01:00
dominique vincent
94b2d97602 Bug 1234934 - Update the zoomed view UI only when the view inflation is completed. r=mcomella 2015-12-29 22:14:33 +01:00
Andrzej Hunt
f934260089 Bug 1223983 - Hide recycled search items when suggestions/history are disabled too. r=mcomella 2015-12-16 15:56:02 -08:00
Ryan VanderMeulen
f0dc54f9b2 Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Richard Newman
b59038d74b Bug 1062537 - Specify --with-android-min-sdk=15 for x86 builds. r=nalexander,mfinkle 2015-12-31 19:33:09 -08:00
Richard Newman
ff1c17f51f Bug 1155801 - Follow-up: fix b2gdroid builds for Android API 14. 2015-12-31 18:20:30 -08:00
Richard Newman
1703a86eeb Bug 1155801 - Part 4: miscellaneous SDK_INT bumps. 2015-12-30 18:59:17 -08:00
Richard Newman
fbd53e4b26 Bug 1155801 - Part 3: bump all build.gradle files to minSdkVersion 14. 2015-12-30 18:59:17 -08:00
Richard Newman
bd36f4972a Bug 1155801 - Part 1: drop Honeycomb support for ARM devices from Fennec mozconfigs. r=nalexander,mfinkle 2015-12-30 18:59:16 -08:00
Mark Finkle
9f62916e51 Bug 1072959 - Stop crashing in PinSiteDialog when rotating device r=margaret 2015-12-31 15:07:56 -05:00
SUN Haitao
36e6b9b04f Bug 1234544 - Add the menu_panel_bg drawable back. r=mcomella
The hardware-button-triggered menu of Open Web App is still using it.
2015-12-22 22:11:00 +08:00
Mark Finkle
578bd0c8fe Bug 1235642 - Don't query-then-update to bump history visit counts r=rnewman 2015-12-31 11:06:00 -05:00
Margaret Leibovic
3178307d94 Bug 1235876 - Check scheme before handling lightweight theme events. r=Gijs 2015-12-30 15:00:56 -05:00
Nigel Babu
38dfb316b7 Backed out changeset 4789d3f0bc07 (bug 1155801) on suspicion of causing b2gdroid bustage 2015-12-31 13:57:43 +05:30
Nigel Babu
09507de319 Backed out changeset 995c8eadd377 (bug 1155801) 2015-12-31 13:57:28 +05:30
Nigel Babu
7b70c6579b Backed out changeset 06a75f114c31 (bug 1155801) 2015-12-31 13:57:25 +05:30
Nick Alexander
bc6c4ce1f8 Bug 1207890 - Post: Move |mach artifact| command out of mobile/android. r=glandium 2015-12-23 17:08:49 -08:00
Nick Alexander
442044f1ce Bug 1207890 - Part 4: Download and process Mac OS X artifacts. r=glandium
This mounts the downloaded DMG and copies a subset of the libraries
into the correct places in the processed archive.  They'll be
installed, with paths, into dist/bin from there.
2015-12-23 16:41:17 -08:00
Mike Taylor
b60bececc3 Bug 1236194. Use a string rather than URL interface to prevent DNS lookups. r=mfinkle 2016-01-04 20:08:12 -06:00
Michael Comella
c327e312f5 Bug 1022464 - review: Make changes for review comments while liuche is out. r=me
There is one review comment questioning a change that, upon testing, seems to
be necessary upon testing - I didn't make any changes for that change but I
still don't entirely understand why it's necessary.
2016-01-05 10:46:59 -08:00
Chenxia Liu
0648ccf52a Bug 1022464 - Returning to URL bar containing search terms doesn't re-enter search mode. r=mcomella 2015-12-21 14:51:26 -08:00
Jim Chen
17cdf6a53d Bug 1236654 - Properly shut down GLController on nsWindow closing; r=snorp
When nsWindow closes, notify GLController to shut down. To ensure any
pending calls on the UI thread are processed first, post a Runnable to
the UI thread that disposes the GLController on the UI thread.
2016-01-06 21:33:18 -05:00
Jim Chen
e2aca4db00 Bug 1236643 - Reorder GeckoEditable destruction sequence; r=esawin
To guarantee that GeckoInputConnection and GeckoEditable are not used by
GeckoView after GeckoEditable has been destroyed, we need to make sure a
certain sequence is followed. We should first unset the
InputConnectionListener in GeckoView on the UI thread; then unset the
GeckoEditableListener on the IC thread; and finally finish destroying
the GeckoEditable instance through disposeNative. This patch merges this
logic with the initialization logic in GeckoEditable.onViewChange, so
that onViewChange can be used for both initialization and destruction.
2016-01-06 21:33:18 -05:00
Jim Chen
f08f58023b Bug 1236643 - Let GeckoInputConnection keep its view; r=esawin
Right now GeckoInputConnection uses GeckoAppShell to get its view, but
it should be keeping its own View reference to support multiple
GeckoViews.
2016-01-06 21:33:18 -05:00
Jim Chen
2a5b99c668 Bug 1236705 - Correctly handle all text change scenarios; r=esawin
Handle all text change scenarios efficiently but correctly. In
particular, when we have a pending "replace text" action, make sure we
preserve old and new spans as much as we can, and make sure we merge the
text from the pending action with the actual changed text.
2016-01-06 21:33:18 -05:00
Jim Chen
c6427f7653 Bug 1236049 - Be smarter about which Context to use for opening Intent; r=sebastian
Use an Activity as the Context when we have one. This avoids the crash
and also avoids an ugly black flash when you cancel the intent chooser.
When we don't have an activity, use an application context and add the
new task flag.
2016-01-06 21:33:18 -05:00
Jim Chen
8ab9b775f0 Bug 1235246 - Configure GeckoLayerClient after GLController is initialized; r=snorp
LayerView used to call GeckoLayerClient.onGeckoReady directly if Gecko
is sufficiently loaded. However, onGeckoReady indirectly calls
GLController.createCompositor, and it's possible for the
createCompositor event to be prioritized so that it happens before we
initialize GLController, causing a crash. This patch moves the
onGeckoReady call to the Gecko thread, after GLController is
initialized, to avoid this race condition.
2016-01-06 21:33:18 -05:00
Jim Chen
79d67bd049 Bug 1235246 - Always execute a queued call if it's overdue; r=me
GeckoThread.queueNativeCallLocked tries to execute a queued native call
if it's already overdue, but it incorrectly checked that the queue is
not empty. That check is not necessary, and an overdue native call
should always be executed. One-line patch, r=me.
2016-01-06 21:33:17 -05:00
Shu-yu Guo
f2f1b10394 Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Sebastian Kaspari
18b438684e Bug 1233693 - AppMenuComponent: Search for views with exactly matching text. r=mcomella 2015-12-18 13:08:58 +01:00
Sebastian Kaspari
ed45de6943 Bug 1236507 - DownloadContentService: Skip download if file system is not writable. r=rnewman 2015-12-22 10:28:10 +01:00
Nick Alexander
3ffcb7eef5 Bug 1216817 - Part 3: Add files from artifacts to $OBJDIR/_build_manifests/install/dist_bin. r=glandium
This allows to run |mach artifact install| immediately after |mach
configure| and not have a subsequent |mach build| delete the files
that |mach artifact install| copied into dist/bin.
2015-10-30 12:39:46 -07:00
Nick Alexander
fd3081e979 Bug 1216817 - Part 2: Narrow distdir to bindir in artifacts. r=gps 2015-10-30 12:30:35 -07:00
Richard Newman
9048cb803e Bug 1155801 - Part 4: miscellaneous SDK_INT bumps. 2015-12-30 18:59:17 -08:00
Richard Newman
884353a622 Bug 1155801 - Part 3: bump all build.gradle files to minSdkVersion 14. 2015-12-30 18:59:17 -08:00
Richard Newman
ac7eb668b2 Bug 1155801 - Part 1: drop Honeycomb support for ARM devices from Fennec mozconfigs. r=nalexander,mfinkle 2015-12-30 18:59:16 -08:00
Mark Finkle
ce191c99a7 Bug 1044289 - Update PromptService.js to handle stuff from nsPrompter.js r=margaret 2015-12-30 14:59:45 -05:00
Mark Finkle
0f8d99612c Bug 1044289 - Stop packaging Desktop versions of Mobile components r=margaret 2015-12-30 14:59:41 -05:00
Mark Finkle
65a6540f74 Bug 1044289 - Stop trying to package files that do not exist r=margaret 2015-12-30 14:59:34 -05:00
Margaret Leibovic
8a03a0d138 Bug 1235061 - Create histogram probe to measure how often users have zoomed view enabled/disabled. r=mfinkle p=vladan 2015-12-24 13:58:21 -05:00
Carsten "Tomcat" Book
a335baf068 merge mozilla-inbound to mozilla-central a=merge 2015-12-30 12:00:03 +01:00
Mark Finkle
1dc8025206 Bug 1235637 - Provide a simple way to update history without needing a cursor r=rnewman 2015-12-29 20:50:46 -05:00
Michael Comella
3f04625dc3 Bug 1177781 - Set all lint errors as warnings. r=nalexander
See added comment for motivations.
2015-12-28 12:26:36 -08:00
Michael Comella
241f66294b Bug 1177781 - Move lint config to mobile/android/app/base. r=nalexander
Since the build files moved to m/a/app/, it wasn't being used anymore.
2015-12-28 12:22:04 -08:00
Michael Comella
a326ff6ed8 Bug 1222234 - Backout 68a879c220d8 for regressions.
See bug 1222234 comment 10.
2015-12-29 10:57:14 -08:00
Jim Chen
a2a4c5d48a Bug 1235341 - Don't request rendering until compositor is created; r=me
Simple patch. Don't call into the compositor to request a rendering
until the compositor has been created.
2015-12-28 17:41:45 -05:00
Olli Pettay
a81d87113e Bug 1155730, implement History.scrollRestoration r=jst 2015-12-26 12:59:09 +02:00
Ryan VanderMeulen
61b0fac901 Merge fx-team to m-c. a=merge 2015-12-25 20:33:39 -05:00
Swaroop Rao
30a5184182 Bug 1226209 - Update order of "Clear private data" checkboxes so that default unchecked boxes are at the bottom. r=nalexander 2015-12-24 12:51:43 -05:00
Andrzej Hunt
dc9c89282f Bug 1233602 - Don't depend on search suggestions to show search history r=liuche 2015-12-17 17:14:27 -08:00
Alex Johnson
4c01c1817b Bug 1223586 - Hid web content and the home pager before making browser search visible. r=mcomella 2015-11-24 16:42:26 -05:00
Jim Chen
5326296b3f Bug 1233812 - Remove obsolete methods in GeckoAppShell; r=snorp
These methods were from the XUL Fennec days and are obsolete.
2015-12-23 22:03:35 -05:00
Jim Chen
c56eece49a Bug 1229403 - Use existing states if possible when initializing GeckoView; r=snorp
This patch changes onAttachedToWindow in GeckoView, so that if we have
states that have been restored, we use those states for initialization
instead of creating new states (e.g. opening a new nsWindow). Because
the GLController instance is associated with the nsWindow instance, we
need to keep the GLController instance as part of our saved states. This
patch also adds a reattach method to GeckoView.Window, because
GeckoEditable needs to be notified when its target View changes.
2015-12-23 22:03:35 -05:00
Jim Chen
77def6fcae Bug 1229403 - Implement save and restoring GeckoView states; r=snorp
This patch adds an implementation of onSaveInstanceState and
onRestoreInstanceState to GeckoView, so that when GeckoView is destroyed
and later recreated, we would properly save and restore necessary states
and JNI associations. The patch also fixes onDetachedFromWindow, so that
we keep the nsWindow if we saved states, and close the nsWindow if we
did not save states.
2015-12-23 22:03:35 -05:00
Jim Chen
5551279100 Bug 1229403 - Add GeckoView.StateBinder to keep states across GeckoView instances; r=snorp
As GeckoViews get destroyed and recreated, we want to carry its states
across. In particular, we want to keep a reference to our GLController
instance, and keep the association with the native nsWindow instance.
2015-12-23 22:03:35 -05:00
Jim Chen
eefbe86eb5 Bug 1232456 - Create EGL surface through widget; r=snorp
This patch makes GLContextProviderEGL create EGL surfaces through
nsWindow/nsIWidget on Android. nsWindow then calls GLController in Java
to actually create the surface.
2015-12-23 22:03:34 -05:00
Jim Chen
b605aa550c Bug 1227706 - Remove unused GLController calls and events; r=snorp
Remove GLController calls and events in GeckoAppShell and GeckoEvent
that were made obsolete by the new native calls.
2015-12-23 22:03:34 -05:00
Jim Chen
b2961d2eee Bug 1227706 - Let GeckoView manage GLController instances; r=snorp
GLController instances are associated with a particular nsWindow, rather
than a particular View. Therefore, we need to let GeckoView manage
GLController instances, as part of GeckoView's handling of saving and
restoring states.
2015-12-23 22:03:34 -05:00
Jim Chen
93813233b3 Bug 1227706 - Add native methods to GLController; r=snorp
One nsWindow will have one corresponding GLController, and using native
GLController methods instead of GeckoEvents lets us control the
compositor for each nsWindow separately.
2015-12-23 22:03:34 -05:00
Jim Chen
6125552fa3 Bug 1227706 - Rename nsWindow::Natives to nsWindow::GeckoViewSupport; r=snorp
GeckoViewSupport better reflects the purpose of the class and will match
the GLControllerSupport class that another patch is adding. This patch
also changes the way GeckoViewSupport is constructed in order to be more
encapsulating.
2015-12-23 22:03:34 -05:00
Jim Chen
9d27e8e5f3 Bug 1227706 - Make EGL initialization static; r=snorp
GLController will no longer be a singleton, but we should keep
initializing EGL only once, so this patch makes EGL initialization
static.
2015-12-23 22:03:34 -05:00
Jim Chen
7a5e86a517 Bug 1227728 - Properly order queued native calls; r=snorp
Right now, code that queues native calls through GeckoThread can
encounter a race condition, after the GeckoThread state changes but
before we flush the existing queued calls.  In that case, the new call
will be made before existing queued calls are made, and the order of
calls is disrupted. This patch moves flushing existing calls to before
the state changes, to avoid this race condition.
2015-12-23 22:03:33 -05:00
Jim Chen
0e9632f778 Bug 1227727 - Remove geckoConnected method in LayerView; r=snorp
Right now LayerView depends on geckoConnected being called by GeckoApp
or GeckoView during its initialization. However, we can get rid of it
and let LayerView handle the task itself. As part of this change, screen
depth overriding is moved to native code in nsAppShell.
2015-12-23 22:03:33 -05:00
Jim Chen
de113cbe1e Bug 1227727 - Destroy LayerView in GeckoView; r=snorp
Right now, we destroy LayerView as part of GeckoApp, but we should do it
from inside GeckoView.
2015-12-23 22:03:33 -05:00
Jim Chen
c3cf1e06c6 Bug 1227719 - Autogenerate LayerRenderer.Frame; r=snorp
This patch adds auto-generated bindings for LayerRenderer.Frame, and
uses the new bindings in nsWindow, in place of the old manual bindings
in AndroidJavaWrappers.
2015-12-23 22:03:33 -05:00
Wes Kocher
81890a0deb Backed out 4 changesets (bug 1218996) for talos svg failures CLOSED TREE
Backed out changeset ba750628c4f3 (bug 1218996)
Backed out changeset 2205cce34824 (bug 1218996)
Backed out changeset 9410cbc0545e (bug 1218996)
Backed out changeset 7839222071ac (bug 1218996)
2015-12-23 11:09:05 -08:00
Olivier Yiptong
a4f8fe8b59 Bug 1218996 - Fuse aboutNewTabService and RemoteNewTabLocation and return resource URLS r=marcosc,oyiptong 2015-12-21 16:14:29 -05:00
Carsten "Tomcat" Book
8b8104669f merge mozilla-inbound to mozilla-central a=merge 2015-12-23 12:00:09 +01:00
Mark Capella
a94051d66a Bug 1233709 - Action bar overflow menu sometimes appears with only one item, r=mcomella 2015-12-22 21:47:50 -05:00
Michael Comella
97a55737a2 Bug 1232773 - Call Adjust.onPause/onResume. r=mfinkle 2015-12-22 14:29:51 -08:00
Michael Comella
79e5bb8f12 Bug 1233614 - Remove MOZ_INSTALL_TRACKING branch around Adjust usage. r=mfinkle
We already take care of this in AdjustConstants where we return
StubAdjustHelper if MOZ_INSTALL_TRACKING is not defined.

However, the one downside to this is that we touch SharedPreferences on the
main thread in onCreate even if Adjust is disabled. However, our release and
beta users already have this problem (since Adjust is enabled) so who cares if
our Nightly and Aurora users also have this problem.
2015-12-22 09:47:08 -08:00
Michael Comella
473e39efbf Bug 1233614 - Adjust.setEnabled before upload can occur. r=mfinkle
See the added comment for motivations.
2015-12-22 09:45:49 -08:00
Michael Comella
bda53d488f Bug 1233614 - Remove health report flags in favor of Adjust.setEnabled. r=mfinkle 2015-12-22 09:05:28 -08:00
Margaret Leibovic
1bb1ca8702 Bug 1234238 - Restore FFB theme. r=sebastian 2015-12-21 17:09:05 -05:00
Mark Finkle
b83cd7a904 Bug 935190 - Try to show cached pages when Fennec is offline r=sebastian 2015-12-22 14:28:49 -05:00
Mark Finkle
14f40a5bd3 Bug 1234453 - More complete save.1 UI Telemetry probes r=margaret 2015-12-22 09:32:13 -05:00
Mark Finkle
2385794159 Bug 1234449 - Cleanup reader telemetry r=margaret 2015-12-22 09:32:10 -05:00
Mark Finkle
281f704559 Bug 1234449 - Cleanup import telemetry r=margaret 2015-12-22 09:32:07 -05:00
Mark Finkle
e015d87b59 Bug 1234449 - Cleanup homescreen telemetry r=margaret 2015-12-22 09:32:04 -05:00
Carsten "Tomcat" Book
a38f023bca Merge mozilla-central to fx-team 2015-12-22 12:28:35 +01:00
Carsten "Tomcat" Book
0382f6e22b merge fx-team to mozilla-central a=merge 2015-12-22 11:42:20 +01:00
Wes Kocher
fd5d0e9f28 Backed out changeset 050fbc311d98 (bug 1232632) for android build bustage 2015-12-21 13:06:49 -08:00
Sebastian Kaspari
6b311e248e Bug 1232632 - Restricted profiles: Hide 'Clear private data' if needed. r=margaret 2015-12-21 16:33:36 +01:00
Sebastian Kaspari
06fa351851 Bug 1232632 - Restricted profiles: Hide 'Clear private data' if needed. r=margaret 2015-12-21 16:33:36 +01:00
Carsten "Tomcat" Book
3cca10f430 Merge mozilla-central to b2g-inbound 2015-12-21 12:01:32 +01:00
Carsten "Tomcat" Book
97c5920693 merge mozilla-inbound to mozilla-central a=merge 2015-12-21 11:52:31 +01:00
Sebastian Kaspari
483c6dbe2d Bug 1233467 - Dismiss snackbar when user taps outside. r=mcomella 2015-12-18 17:32:21 +01:00
Margaret Leibovic
29810f518c Bug 1232761 - Expose telemetry/fhr settings directly in restricted profile admin UI. r=sebastian 2015-12-18 11:37:26 -05:00
Margaret Leibovic
54482837ee Bug 1228090 - Update traacking protection telemetry histogram to represent user setting. r=mfinkle 2015-12-18 14:30:24 -05:00
Michael Comella
5952522542 Bug 1232773 - Backout 3 changesets for build errors.
This build configuration doesn't appear to run in automation which is why it
wasn't caught.
2015-12-17 16:30:34 -08:00
Nick Alexander
ef919b3ce9 Bug 1233599 - Add build dependencies to appcompat-v7. r=mcomella 2015-12-16 13:57:05 -08:00
Carsten "Tomcat" Book
c913f81d47 Merge mozilla-central to fx-team 2015-12-21 12:00:23 +01:00
Mantaroh Yoshinaga
9827988f68 Bug 1200133 - Part1 - Change mochitest using TV Simulator Service. r=seanlin 2015-12-17 15:41:00 +01:00
Mark Finkle
b2f4665d6e Bug 1229274 - Investigate tracking when a screenshot is taken in Firefox r=liuche f=nalexander 2015-12-17 13:04:47 -05:00
Sebastian Kaspari
518f0b588b Bug 1219078 - Delegate OMA downloads to external app (if available). r=mfinkle
This patch will prevent Firefox from downloading OMA download descriptors on
its own. Instead it will prompt to complete the action with an external app
if available. An error will be shown if no external app can handle the download.
2015-12-17 14:49:37 +01:00
Samuel Mendes
d7f5fb4f10 Bug 1228037 - GeckoPreferences.PREFS_ZOOMED_VIEW_ENABLED is unused. r=mcomella 2015-12-05 15:44:51 -02:00
Carsten "Tomcat" Book
6d2a08ef4b merge mozilla-inbound to mozilla-central a=merge 2015-12-17 11:59:41 +01:00
Phil Ringnalda
29c5e19176 Back out 3 changesets (bug 1220309) for 2.3 robocop bustage in testPrivateBrowsing and testSessionHistory
CLOSED TREE

Backed out changeset 1cf6f364d319 (bug 1220309)
Backed out changeset f774157cf5f4 (bug 1220309)
Backed out changeset bd4581fe6c9d (bug 1220309)
2015-12-16 22:03:13 -08:00
Michael Comella
ee6227086b Bug 1232773 - review: Comment on Adjust usage. r=me 2015-12-16 14:50:02 -08:00
Michael Comella
f877291fd8 Bug 1232773 - Check if user is opt out from Adjust before accessing. r=mfinkle
It made sense to me to have this code inside the AdjustHelper so I moved the
existing opt out code inside the AdjustHelper as well.
2015-12-16 16:01:57 -08:00
Michael Comella
8b980a0619 Bug 1232773 - Add Adjust.onPause/onResume to record session info. r=mfinkle
I added these to BrowserApp to match the use of Adjust.onCreate in BrowserApp.

These sessions don't perfectly match the FHR sessions they replace which get
called in:
  GeckoApp.onPause (session end)
  BrowserHealthRecorder.onEnvironmentTransition (session end)
  BrowserHealthRecorder.checkForOrphanSessions (session start)
    - From BHR.initializeStorage <- BHR.handleMessage. I didn't figure out
      where this message comes from but given "initializeStorage", I assume
      this comes from a startup routine of GeckoApp.

However, the Adjust docs are explicit about adding these values to
onPause/onResume and presumably written under the assumption that those methods
are called in the appropriate places.

The docs also mention these calls should occur in all Activities but I followed
FHR where only the main Activity is logged - I don't predict any negative side
effects from this change.
2015-12-15 14:44:02 -08:00
Varun Joshi
d38a394d51 Bug 1128675 - Duplicate indexes in browser.db. r=rnewman 2015-12-16 15:02:13 -08:00
Nick Alexander
a1703fa503 Bug 1220309 - Follow-up: Add build dependencies to appcompat-v7. r=mcomella 2015-12-16 13:57:05 -08:00
Michael Comella
10b9c4ef91 Bug 1220309 - Correct all caps button text in Button from AppCompat. r=sebastian
AppCompat capitalizes all text in `Button`s so we have to override
that behavior to maintain the same UI. Ideally, we do this through
`android:buttonStyle` but the place I found the issue doesn't inherit
from that style so we can't and we change the style directly.

There may be issues with other `Button`s, but this is the only one I found.
2015-12-15 11:26:33 -08:00
Geoff Brown
9d13c4ac57 Bug 1232962 - Use emulator device-serial for android-emulator command only; r=jmaher 2015-12-16 13:59:11 -07:00
Geoff Brown
696e2d0c58 Bug 1231491 - Warn when android-emulator run from a non-Android context; r=jmaher 2015-12-16 13:59:09 -07:00
Nick Alexander
e7d014e578 Bug 1232468 - Add ch.boye dependency for Adjust SDK. r=me a=bustage
Pushing to try to address bustage on a CLOSED TREE.
2015-12-14 20:26:34 -08:00
Wes Kocher
3f182b45af Backed out changeset bbe415dff600 (bug 1230937) for testRestrictions failures in android rc3 2015-12-15 14:11:22 -08:00
Wes Kocher
08eb68bcef Backed out changeset 0ac99e7e0440 (bug 1222377) for testRestrictions bustage in android rc3 2015-12-15 14:11:10 -08:00
Nick Alexander
a2df8f3cff Bug 1230848 - Remove Gradle configuration rooted in the object directory. r=gps
DONTBUILD NPOTB

The top source directory configuration requires
mobile/android/gradle/m2repo/**, so it stays.  There's no value
changing the location; it contains an Android-specific Gradle plugin.

We note the removal of |mach gradle-install| and point to the new
documentation.
2015-12-06 15:02:11 -08:00
Sebastian Kaspari
559a4ea324 Bug 1222377 - Add option to enable blocking content in restricted profiles. r=margaret
(Feature only enabled in Nightly until we deployed an actual block list)
2015-12-15 13:34:49 +01:00
Sebastian Kaspari
81dfd88293 Bug 1230937 - Restricted profiles: Always allow features that are not in the configuration. r=margaret 2015-12-15 13:21:45 +01:00
Michael Comella
f93ef40233 Bug 1229958 - Remove android:panelBackground. r=sebastian
There is no noticeable difference in background color of the menu on my 4.* GS4
or my 2.3 Nexus S, though perhaps it affects more than the menu.

The menu_panel_bg drawable is now unused so I removed that too.
2015-12-02 15:32:42 -08:00
Carsten "Tomcat" Book
2c5f71c734 merge mozilla-inbound to mozilla-central a=merge 2015-12-15 12:16:29 +01:00
Michael Comella
ea0c94024c Bug 1209967 - test failures: Increase wait time when searching for a menu View. r=me 2015-12-01 16:48:09 -08:00
Michael Comella
46a2b1f6f5 Bug 1209967 - review: Set menu buttons visible in xml & remove dynamic visibility. r=me 2015-11-25 15:58:47 -08:00
Michael Comella
5d73cc04ea Bug 1209967 - Fix AppMenuComponent to work on GB. r=sebastian
This required us to use the menu button to open the menu and check
if the menu is open by looking at more menu items due to intermittent
issues where the menu would not always be scrolled to the top (I
think Robotium scrolled the menu before it finished appearing so
we couldn't see the first item and failed the isOpen test).
2015-11-25 15:52:39 -08:00
Michael Comella
d85bf9d6df Bug 1209967 - Remove Asserts from BrowserApp. r=me
We added some Asserts but the robocop tests fail for an unknown reason. The
error was:
  E/MessageQueue-JNI( 1972): java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation

I tried a few things but in the end just decided to remove them.
2015-11-25 11:39:23 -08:00
Michael Comella
560dd56c68 Bug 1209967 - Remove android:icons from GB menu. r=sebastian
ic_menu_back was not in the v11 folder so I moved the all-API asset to the v11
folder.
2015-11-17 17:03:07 -08:00
Michael Comella
6396749d5f Bug 1209967 - Remove HardwareUtils.hasMenuButton. r=sebastian 2015-11-17 16:25:39 -08:00
Michael Comella
42fa2cbbf5 Bug 1209967 - Toolbar: Always show the overflow menu.
This required us to use the custom menu inflater and panels on GB.

One side effect of this change is that the menu button no longer
closes the menu on GB. I tried to fix this but BrowserApp.onKeyDown
is not fired when the menu is open on GB and I'm not sure why that
is. However, I don't think it's worth my time to fix since it's GB.
2015-11-17 15:04:59 -08:00
vivek
ce9f7bbce1 Bug 1220904 - Message that Old Sync accounts are deprecated and going away. r=nalexander 2015-11-20 21:58:38 +02:00
Margaret Leibovic
8c81471471 Bug 1232296 - Let tap-to-load images ride the trains. r=mcomella 2015-12-14 10:00:13 -05:00
Margaret Leibovic
e3a33130b8 Bug 1231896 - Catch exception thrown if we fail to reload session state for error page. r=bnicholson 2015-12-11 09:39:32 -05:00
Richard Newman
617977a866 Bug 1230206 - Disable upload of new FHR documents. r=mcomella, a=kwierso/android-only on a CLOSED TREE 2015-12-11 13:04:41 -08:00
Richard Newman
206bec87ef No bug - Fix logging error in SwitchBoard. 2015-12-11 12:11:42 -08:00
Sebastian Kaspari
ca1e70f7b0 Bug 1229153 - GeckoApp: Unregister from Snackbar events in onDestroy(). r=jchen 2015-12-10 11:01:59 -05:00
Phil Ringnalda
e5b40b0d54 Merge m-c to b-i 2015-12-12 17:02:02 -08:00
Reuben Morais
7ea9d816d3 No bug - Fix warning when building B2GDroid with Java 8. r=sgiles 2015-12-11 14:33:33 -05:00
Etienne Segonzac
cf95ef40b8 Bug 1230550 - Enable the real APZ on b2gdroid in a safer way. r=fabrice 2015-12-11 10:04:10 -05:00
Carsten "Tomcat" Book
237c1bea42 merge mozilla-inbound to mozilla-central a=merge 2015-12-11 11:38:17 +01:00
Mark Capella
2cb19ee6d0 Bug 1226431 - Toggling find in page match case removes focus, r=margaret 2015-12-10 18:57:02 -05:00
Mark Capella
ff3c9d518e Bug 1230613 - Long-press to trigger text selection should vibrate, r=snorp 2015-12-10 18:57:02 -05:00
Jim Chen
fc1694ecf5 Bug 1051556 - Re-flush IME changes when querying text triggers more changes; r=esawin
We send query text events when flushing IME changes, and sometimes these
events make Gecko commit more pending changes. In that case, we should
try flushing again, so we pick up the new changes.

This patch also makes the process of flushing text changes
transactional, so that if we have to bail due to more pending changes,
nothing will be committed.
2015-12-12 10:18:43 -05:00
Jim Chen
b47f5547b2 Bug 1051556 - Make GeckoEditable.onTextChange more efficient; r=esawin
This patch simplifies the onTextChange method, makes it more efficient
by avoiding unnecessary text copying, and fixes some small bugs.
2015-12-12 10:18:43 -05:00
Jim Chen
6139357521 Bug 1051556 - Add test for re-flushing changes; r=esawin
This patch adds a test for triggering re-flushing IME changes to
testInputConnection, by ending a composition followed by setting the
value of the input field.
2015-12-12 10:18:43 -05:00
Jim Chen
60526d979b Bug 1051556 - Convert testInputConnection to a JS test; r=esawin
A test for this bug requires the Robocop test call some JS functions.
This patch gives testInputConnection the ability to make calls to
content JS. It also converts the existing tests to use JS instead of
using previous workarounds (e.g. using URL hash to set the initial text,
using tab key to change input focus).
2015-12-12 10:18:43 -05:00
Kartikaya Gupta
b94adf267b Bug 1230522 - Don't send events to C++ APZ if gecko isn't up yet. r=rbarker 2015-12-10 17:23:18 -05:00
Kartikaya Gupta
9b77b6b8a3 Bug 1230522 - Make some unimplemented functions not be native. r=rbarker 2015-12-10 17:23:07 -05:00
Carsten "Tomcat" Book
1243a822e4 Merge mozilla-central to fx-team 2015-12-11 11:44:43 +01:00
Nick Alexander
b0f3f38053 Bug 1231749 - Use |mach build faster| to see changes in toolkit/ in Gradle configuration. r=me f=vivek
DONTBUILD NPOTB

This also adds toolkit/ to the Gradle omnijar project.
2015-12-09 23:48:07 -05:00
Sebastian Kaspari
ed511c83d8 Bug 1230603 - GeckoPreferences: Always process matching PrefHandlers. r=margaret 2015-12-10 09:36:08 -05:00
Carsten "Tomcat" Book
392df82c41 merge fx-team to mozilla-central a=merge 2015-12-09 11:46:15 +01:00
Reuben Morais
9762b0d504 Bug 1212679 - Handle KitKat default messaging app intents. r=fabrice r=snorp 2015-12-08 14:43:09 -05:00
Reuben Morais
960f9d19cf Bug 1212679 - Import MMS PDU definition and helpers from Android telephony. r=fabrice 2015-12-08 14:43:02 -05:00
Nick Alexander
984886b612 Bug 1230786 - Make |mach doc mobile/android| work. r=ahal 2015-12-05 15:30:49 -08:00
Jonathan Almeida (:jonalmeida)
9ffc0504b5 Bug 1227117 - 'Never' -> 'Blocked' for Show Images option r=mfinkle 2015-12-06 01:59:18 -05:00
Michael Comella
685da132df Bug 1229958 - Backout 535bb5015ea1 for regression bug 1230648. r=me 2015-12-04 15:24:33 -08:00
Nick Alexander
8258eae3fd Bug 1230781 - Remove obsolete TestFxAccountAgeLockoutHelper. r=me 2015-12-05 17:46:58 -08:00
Nick Alexander
c1dd1f403b Bug 1107811 - Part 3: Fix Gradle configurations. r=me 2015-12-05 17:33:55 -08:00
Nick Alexander
978d2f0e1c Bug 1107811 - Part 2: Fix moz.build. r=mfinkle 2015-12-04 12:02:06 -08:00
Nick Alexander
5ae5992c6e Bug 1107811 - Part 1: Move Java code. r=mfinkle
#!/bin/bash
set -x
pushd mobile/android/base
# Can't be present in glob below.
rm -rf java/org/mozilla/gecko
for i in */ ; do
# But is necessary to copy into.
mkdir -p java/org/mozilla/gecko
hg mv $i java/org/mozilla/gecko ;
done
hg mv *.java java/org/mozilla/gecko
# Move back stuff we didn't want to move.
hg mv java/org/mozilla/gecko/crashreporter crashreporter
hg mv java/org/mozilla/gecko/docs docs
hg mv java/org/mozilla/gecko/locales locales
hg mv java/org/mozilla/gecko/resources resources
popd
2015-12-04 11:51:34 -08:00
alex_johnson
5034b4e76c Bug 1228414 - Replaced all the possible Toast.makeTexts with Snackbars. r=sebastian 2015-11-28 23:50:56 -05:00
sgiles
b2b5fc2c30 Bug 1230838 - Let hover events fall through to Gecko when accessibility is turned on - don't throw an exception in the NativePanZoomController when default prevented. r=kats 2015-12-10 13:20:53 -05:00
Kartikaya Gupta
d18c12eec3 Bug 1231504 - Also update b2gdroid to match b2g and fennec. r=botond 2015-12-10 15:28:51 -05:00
Kartikaya Gupta
a578859962 Bug 1231504 - Copy physics prefs from b2g.js to Fennec. r=botond 2015-12-10 15:28:50 -05:00
Kartikaya Gupta
c110b4a350 Bug 1231504 - Consolidate apz prefs that are MOZ_WIDGET_GONK into all.js so they get applied to Fennec as well. r=botond 2015-12-10 15:28:50 -05:00
Phil Ringnalda
13d8a7ca84 Back out 6 changesets (bug 1231504) for gtest bustage
Backed out changeset f37f04feb3b5 (bug 1231504)
Backed out changeset fb8652c01ef8 (bug 1231504)
Backed out changeset 6e1e5d9dcd9f (bug 1231504)
Backed out changeset b82fe31367a4 (bug 1231504)
Backed out changeset 2556ac639972 (bug 1231504)
Backed out changeset 62996518d6fb (bug 1231504)
2015-12-10 08:00:11 -08:00
Kartikaya Gupta
c0235f7dc5 Bug 1231504 - Also update b2gdroid to match b2g and fennec. r=botond 2015-12-10 10:22:05 -05:00
Kartikaya Gupta
78b4242546 Bug 1231504 - Copy physics prefs from b2g.js to Fennec. r=botond 2015-12-10 10:22:04 -05:00
Kartikaya Gupta
14c998a81c Bug 1231504 - Consolidate apz prefs that are MOZ_WIDGET_GONK into all.js so they get applied to Fennec as well. r=botond 2015-12-10 10:22:04 -05:00
Phil Ringnalda
7bffeb3b66 Back out 4 changesets (bug 1051556) for java.lang.IllegalArgumentExceptions
CLOSED TREE

Backed out changeset c89683497d23 (bug 1051556)
Backed out changeset c3f4c2d01bad (bug 1051556)
Backed out changeset 4a83a8594ddc (bug 1051556)
Backed out changeset fe3d880efce8 (bug 1051556)
2015-12-09 18:20:51 -08:00
Jim Chen
899201cf4f Bug 1051556 - Re-flush IME changes when querying text triggers more changes; r=esawin
We send query text events when flushing IME changes, and sometimes these
events make Gecko commit more pending changes. In that case, we should
try flushing again, so we pick up the new changes.

This patch also makes the process of flushing text changes
transactional, so that if we have to bail due to more pending changes,
nothing will be committed.
2015-12-09 17:46:45 -05:00
Jim Chen
aa9db9aeed Bug 1051556 - Make GeckoEditable.onTextChange more efficient; r=esawin
This patch simplifies the onTextChange method, makes it more efficient
by avoiding unnecessary text copying, and fixes some small bugs.
2015-12-09 17:46:45 -05:00
Jim Chen
8535f18422 Bug 1051556 - Add test for re-flushing changes; r=esawin
This patch adds a test for triggering re-flushing IME changes to
testInputConnection, by ending a composition followed by setting the
value of the input field.
2015-12-09 17:46:45 -05:00
Jim Chen
89e1e3e7d5 Bug 1051556 - Convert testInputConnection to a JS test; r=esawin
A test for this bug requires the Robocop test call some JS functions.
This patch gives testInputConnection the ability to make calls to
content JS. It also converts the existing tests to use JS instead of
using previous workarounds (e.g. using URL hash to set the initial text,
using tab key to change input focus).
2015-12-09 17:46:44 -05:00
Michael Comella
9896164c74 Bug 1220315 - Use alertDialogTheme on v21+ to add accentColor. r=sebastian 2015-12-02 13:50:26 -08:00
Wes Kocher
4aa50ddd49 Merge m-c to fx-team, a=merge 2015-12-03 16:12:01 -08:00
Wes Kocher
1a286948ef Merge fx-team to central, a=merge 2015-12-03 16:07:50 -08:00
Geoff Brown
76eb834c6c Bug 1201018 - Catch exception in PersistTabsRunnable; r=rnewman 2015-12-03 09:10:46 -07:00
Michael Comella
ba9f610e47 Bug 1229892 - Move SetHomepagePreference config to xml from code. r=ahunt
Setting config in XML is easier to follow and less error-prone.
2015-12-02 11:40:06 -08:00
Mark Capella
36dedbdf68 Bug 1215959 - (GeckoCarets2) - Flip on by default in nightly, r=snorp 2015-12-03 13:33:15 -05:00
Michael Comella
38570f481a Bug 1217484 - Wait for animations to finish in testNewTab. r=sebastian
By waiting an arbitrary amount of time. :(
2015-12-02 14:01:46 -08:00
Michael Comella
f620ad60d4 Bug 1229958 - Remove android:panelBackground. r=sebastian
There is no noticeable difference in background color of the menu on my 4.* GS4
or my 2.3 Nexus S, though perhaps it affects more than the menu.

The menu_panel_bg drawable is now unused so I removed that too.
2015-12-02 15:32:42 -08:00
Sebastian Kaspari
6c32aba33d Bug 1197720 - Introduce background service for downloadable content. r=rnewman
This patch introduces a background service for downloading content from a
catalog (bug 1200291). This catalog ships with the application and contains
only fonts in this first version (MOZ_ANDROID_EXCLUDE_FONTS).

For now this service is disabled by default (MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE).
2015-12-02 20:28:00 +01:00
Chenxia Liu
7bc3d38942 Bug 1232968 - Choosing to import only one option from onboarding screen will import both bookmarks and history. r=sebastian 2015-12-17 16:29:45 -08:00
Nick Alexander
eba87fe46b Bug 1229681 - Don't export any content providers. r=rnewman
We don't expect to access any providers cross-package.  (At one time
the android-sync repository did, but those days are long past.)  Not
exporting these content providers may also avoid some bugs we've seen
that look like content providers from Aurora being loaded into
Nightly's process or vice versa.
2015-12-17 15:26:35 -08:00
Nick Alexander
ec9b3a4c7a Bug 1229681 - Pre: Don't export passwords initialization receiver. r=rnewman
This patch does two things.  First, PasswordsProvider may not be able
to dispatch to the GeckoThread directly, so we stop trying to do that
directly and just triangulate through the receiver, which will
dispatch from the main process.  Second, we don't want to export this
receiver, so this patch replaces the signature-level protection
mechanism with the component's explicit package and name.
2015-12-17 15:08:58 -08:00
Mark Finkle
22416aed37 Bug 1232746 - Document process for generating inline autocomplete domain list r=margaret 2015-12-18 17:21:00 -05:00
Mark Finkle
111efa8245 Bug 1230438 - Remove code for tracking Tiles r=bnicholson 2015-12-18 14:35:35 -05:00
Sebastian Kaspari
c605e2656f Bug 1233440 - Replace toast in HelperAppDialog.js with Snackbar. r=mcomella 2015-12-17 17:33:52 +01:00
Margaret Leibovic
f9d9d28940 Bug 1232467 - Remove "Open links in Private browsing" setting from Nightly. r=mcomella 2015-12-17 11:45:12 -05:00
Margaret Leibovic
53fb1cc0b9 Bug 1229350 - Disable Import first run slide on Android M+. r=liuche 2015-12-17 13:56:36 -05:00
Carsten "Tomcat" Book
c29d9679a2 merge mozilla-inbound to mozilla-central a=merge 2015-12-03 12:00:42 +01:00
Phil Ringnalda
7692ac9d98 Backed out 7 changesets (bug 1209967) for making Android Talos hang
CLOSED TREE

Backed out changeset e78763a5c2c3 (bug 1209967)
Backed out changeset cdd9b2d4b72a (bug 1209967)
Backed out changeset ced2c85d9f09 (bug 1209967)
Backed out changeset d458396e6f06 (bug 1209967)
Backed out changeset 5cea26659e0d (bug 1209967)
Backed out changeset 035f6f5db4fe (bug 1209967)
Backed out changeset 7942bfbde7f2 (bug 1209967)
2015-12-02 20:45:26 -08:00
Matthew Noorenberghe
697d89c376 Bug 1216986 - Fix usage of nsIURI.host in password manager and prompt code to support IPv6. r=dolske,liuche,kanru 2015-12-02 16:13:18 -08:00
Nick Alexander
a0c053a354 Bug 1220892 - Part 6: Remove non-string resources. r=mcomella
I'm reluctant to mass-delete strings, since that could cause our l10n
team some grief in the event of a rollback.  And it's not obviously
easy to get them all back smoothly.  I'll delete strings separately.
2015-12-01 16:31:10 -08:00
Nick Alexander
df96e2d33a Bug 1220892 - Part 5: Remove FxAccountAgeLockoutHelper. r=mcomella 2015-11-30 15:56:03 -08:00
Nick Alexander
c4b15e514e Bug 1220892 - Part 4: Clean up FxAccountAbstractSetupActivity. r=mcomella
The web based Activity sub-classes never used the other intent extras,
and in fact, filter them out immediately; so it doesn't hurt to clean
this all up.
2015-11-30 15:51:44 -08:00
Nick Alexander
13c8b5a9bb Bug 1220892 - Part 3: Remove Task sub-classes. r=mcomella 2015-11-30 15:47:50 -08:00
Nick Alexander
fb505f7adf Bug 1220892 - Part 2: Remove Activity sub-classes. r=mcomella 2015-11-30 14:59:44 -08:00
Nick Alexander
b49f07d91d Bug 1220892 - Part 1: Remove MOZ_ANDROID_NATIVE_ACCOUNTS_UI. r=mcomella 2015-11-30 14:32:17 -08:00
Nick Alexander
a9d42a500b Bug 1225456 - Don't launch about:accounts when MOZ_ANDROID_NATIVE_ACCOUNT_UI=1. r=vivek
I haven't been able to test this, since the patch is relevant to Nightly
but the behaviour doesn't happen.
2015-11-27 12:35:36 -08:00
Michael Comella
7564cb24af Bug 1209967 - test failures: Increase wait time when searching for a menu View. r=me 2015-12-01 16:48:09 -08:00
Michael Comella
a0e41084ee Bug 1209967 - review: Set menu buttons visible in xml & remove dynamic visibility. r=me 2015-11-25 15:58:47 -08:00
Michael Comella
2732123e0b Bug 1209967 - Fix AppMenuComponent to work on GB. r=sebastian
This required us to use the menu button to open the menu and check
if the menu is open by looking at more menu items due to intermittent
issues where the menu would not always be scrolled to the top (I
think Robotium scrolled the menu before it finished appearing so
we couldn't see the first item and failed the isOpen test).
2015-11-25 15:52:39 -08:00
Michael Comella
1d20c3118c Bug 1209967 - Remove Asserts from BrowserApp. r=me
We added some Asserts but the robocop tests fail for an unknown reason. The
error was:
  E/MessageQueue-JNI( 1972): java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation

I tried a few things but in the end just decided to remove them.
2015-11-25 11:39:23 -08:00
Michael Comella
232b0533aa Bug 1209967 - Remove android:icons from GB menu. r=sebastian
ic_menu_back was not in the v11 folder so I moved the all-API asset to the v11
folder.
2015-11-17 17:03:07 -08:00
Michael Comella
d9c7cf8c5e Bug 1209967 - Remove HardwareUtils.hasMenuButton. r=sebastian 2015-11-17 16:25:39 -08:00
Michael Comella
7e741da67f Bug 1209967 - Toolbar: Always show the overflow menu.
This required us to use the custom menu inflater and panels on GB.

One side effect of this change is that the menu button no longer
closes the menu on GB. I tried to fix this but BrowserApp.onKeyDown
is not fired when the menu is open on GB and I'm not sure why that
is. However, I don't think it's worth my time to fix since it's GB.
2015-11-17 15:04:59 -08:00
Michael Comella
cb5848480e Bug 1227348 - Add default homepage radio buttons to homepage preference. r=margaret 2015-12-01 14:03:45 -08:00
Michael Comella
1ce0d7452b Bug 1227348 - Remove imports, provide better access levels. r=margaret 2015-11-24 11:26:49 -08:00
Sebastian Kaspari
6886acf9e5 Bug 1224521 - Replace all toasts created from within browser.js with snackbars. r=mcomella 2015-11-18 08:51:37 +01:00
Sebastian Kaspari
0c0d47bd04 Bug 1221534 - Add "Clear private data" sub menu on tablets. r=margaret 2015-11-30 16:46:35 +01:00
Sylvestre Ledru
1c41893a58 Bug 1228317 - Fix a potential error in the replaceAll call when the path contains ?dmp. r=snorp 2015-12-01 06:34:00 +01:00
Kit Cambridge
410b8bd00c Bug 821291 - Move libmozgnome into libxul. r=glandium,karlt 2015-11-24 12:16:33 -08:00
Michael Comella
e8c7d4eb5c Bug 1220309 - Have GeckoApp extend AppCompatActivity. r=sebastian
We're using the Theme.AppCompat styles so we have to extend AppCompatActivity.
It is a subclass of the previous class GeckoApp extended so we shouldn't run
into an ClassCastExceptions.

I tested the home panels, tabs tray, hyperlink long-press context menus,
door hangers, the 3-dot menu, and browser search to make sure there was no
change in UI appearance.
2015-10-30 12:14:00 -07:00
Sebastian Hengst
6d2fa18f6a Backed out 2 changesets (bug 1220309) for Android build bustage. r=backout
Backed out changeset 6f96c9f06a3d (bug 1220309)
Backed out changeset 736a01329729 (bug 1220309)
2015-12-16 22:42:40 +01:00
Michael Comella
f10d038fe6 Bug 1220309 - Correct all caps button text in Button from AppCompat. r=sebastian
AppCompat capitalizes all text in `Button`s so we have to override
that behavior to maintain the same UI. Ideally, we do this through
`android:buttonStyle` but the place I found the issue doesn't inherit
from that style so we can't and we change the style directly.

There may be issues with other `Button`s, but this is the only one I found.
2015-12-15 11:26:33 -08:00
Michael Comella
32ddb1a18a Bug 1220309 - Have GeckoApp extend AppCompatActivity. r=sebastian
We're using the Theme.AppCompat styles so we have to extend AppCompatActivity.
It is a subclass of the previous class GeckoApp extended so we shouldn't run
into an ClassCastExceptions.

I tested the home panels, tabs tray, hyperlink long-press context menus,
door hangers, the 3-dot menu, and browser search to make sure there was no
change in UI appearance.
2015-10-30 12:14:00 -07:00
Chenxia Liu
109eec104c Bug 1212611 - Use system notification for website notifications in Android. r=mfinkle 2015-12-03 10:56:04 -05:00
Sebastian Kaspari
59ea8f3540 Bug 1222377 - Add option to enable blocking content in restricted profiles. r=margaret
(Feature only enabled in Nightly until we deployed an actual block list)
2015-12-15 13:34:49 +01:00
Sebastian Kaspari
4628ca63b5 Bug 1230937 - Restricted profiles: Always allow features that are not in the configuration. r=margaret 2015-12-15 13:21:45 +01:00
Andrzej Hunt
115048280c Bug 1230568 - Allowing showing search suggestion opt in multiple times r=mcomella 2015-12-14 16:28:59 -08:00
Andrzej Hunt
b1de7a9060 Bug 1145858 - Rename FirstrunPane to be less confusing. r=liuche 2015-12-14 16:01:17 -08:00
Geoff Brown
4f5c6ddffd Bug 1243756 - Avoid output timeout in test_awsy_lite; r=jmaher 2016-01-29 07:53:31 -07:00
vivek
bb7cd00b20 Bug 1224708 : Update SyncPreference asynchronously using Loaders r=nalexander 2015-11-17 21:24:18 +02:00
Margaret Leibovic
79ac9e23f5 Bug 1234733 - Fix locale language tag in Honeycomb EOL url. r=liuche 2015-12-23 10:35:17 -05:00
Mark Finkle
718857af18 Bug 1234729 - Add telemetry probe for when we load a page from cache r=sebastian p=margaret 2015-12-23 11:59:11 -05:00
Swaroop Rao
d89323a164 Bug 1233048 - fix crash in AndroidImport.run(AndroidImport.java). r=liuche 2015-12-21 18:17:00 +01:00
sidbz3216
e104f0a984 Bug 1231249 - "Improper touch area on "Start Browsing"". r=liuche 2015-12-18 09:48:00 +01:00
Swaroop Rao
7bf8ef95c8 Bug 1222607 - Remove MOZ_ANDROID_TAB_QUEUE build flag. r=sebastian 2015-12-17 08:58:00 +01:00