Commit Graph

17684 Commits

Author SHA1 Message Date
Nick Alexander
e172582e0e Bug 1204937 - Part 2: Extract Accounts: messages to AccountsHelper. r=sebastian
There are enough Accounts: messages to separate them from BrowserApp,
and the list is only growing.

This has also the small advantage of removing some non-native event
listeners.
2015-08-20 10:03:20 -07:00
Nick Alexander
2ab0360c92 Bug 1204937 - Part 1: Redirect native account UI launches through action intent filters. r=sebastian
This patch stops referring to package/class objects to identify
Android components directly and instead launches through action intent
filters.  The intent filters are scoped to the package, but not marked
as private or as requiring a permission.  A malicious package could
inject itself into an account flow, but I don't think there's much
advantage: the only time a secret is passed between activities is when
the native sign up (CreateAccount) and sign in (SignIn) activities
link between themselves, and in this instance I didn't route through
the action intent filters.  (This is entirely native -- there's no web
analog -- so I didn't use the indirection.)
2015-09-15 14:18:46 -04:00
Nick Alexander
49c4c93026 Bug 1204937 - Pre: use native account UI in Fennec. r=me 2015-09-15 13:35:06 -04:00
Martyn Haigh
55b45bac8b Bug 1204875 - Hide Tabs Panel thumbnail height change behind nightly flag; r=mfinkle 2015-09-15 15:46:23 +01:00
Carsten "Tomcat" Book
039287e013 Merge mozilla-central to fx-team 2015-09-09 14:10:46 +02:00
Carsten "Tomcat" Book
c7883cea3b merge mozilla-inbound to mozilla-central a=merge 2015-09-09 14:04:59 +02:00
Bob Clary
06abb2c2a3 Bug 1201061 - Autophone - set robocop_autophone.ini to run flash test, r=gbrown. 2015-09-08 22:53:11 -07:00
Mark Finkle
91a5e2ec19 Bug 1202154 - Switchboard does not catch Locale related exceptions r=nalexander 2015-09-08 23:49:07 -04:00
Mark Finkle
c18eaff865 Bug 1201384 - Add support for determining Switchboard buckets locally r=chenxia 2015-09-08 23:28:01 -04:00
Christian Schmitz
117e41f1e6 Bug 1197428 - Remove UrlBar.ImageButton.Icon style and change inheritors. r=mcomella 2015-09-02 03:14:00 +02:00
Prateek Arora
f2fcfdfa42 Bug 1197427 - Move UrlBar.ImageButton.TabCount out of styles. r=mcomella 2015-09-04 22:26:48 +05:30
Michael Comella
cadab87243 Bug 1155855 - Don't override animations when opening the browser from the share overlay. r=liuche
When used to do our own animation when opening the browser from the
share overlay. That caused this bug: we didn't call `finish` until
`onAnimationEnd` but since `startActivity` was called, the application
was switched before `onAnimationEnd`, and thus `finish`, could be
called. When we returned to the share overlay, it was in an unexpected
state (`isAnimating` was true) and the user could no longer interact
with it, blocking access to the app the ShareOverlay was opened from.

We fix this by not doing our custom animations and just calling `finish`.

Note: in any case, overriding the animation when opening the browser
could be unintuitive to users because they might expect a consistent
app-switch animation throughout the system.
2015-08-28 17:32:23 -07:00
Kartikaya Gupta
61e2dbec5c Bug 1201416 - Remove incorrect call to setResolution. r=snorp
The call to setResolution has (I believe) not been needed since bug 732971. Prior
to that resolutions used to be applied on the root document in Fennec, and so
browser.js would have to reapply the desired resolution on every tabswitch.
After that bug, the resolution was saved on the content documents for each tab
and so browser.js no longer needed to reapply the resolution. Until recently
doing this was redundant but harmless.

With bug 1180267 though the browser.js code that tracks the resolution may have
the wrong resolution initially, because that is determined in C++ code. Only
after the Java-side code process the setFirstPaintViewport message and sends
that information to browser.js does everything have the correct resolution. In
the case where a tab loaded in the background is brought into the foreground, the
tab-selected code runs before the setFirstPaintViewport code, and therefore uses
an incorrect resolution. This then screws up the viewport clamping code and causes
the page to get scrolled.
2015-09-08 14:04:54 -04:00
Kartikaya Gupta
e53c26755a Bug 1202652 - Remove redundant and incorrect check when setting displayport margins. r=snorp
The intent of this check is to avoid setting the same margins more than once.
However this is redundant because the code in nsLayoutUtils::SetDisplayPortMargins
already has an equivalent check. Further, this code is wrong because it stores
the old margins per-tab, and so once a new document is loaded the margins may be
the same as "before" but they apply to a different element. In order to be correct
the check would have to track the target element as well as the margin values,
but it's easier to just get rid of this and let nsLayoutUtils handle it.
2015-09-08 14:04:48 -04:00
Kartikaya Gupta
f6fec4cdc7 Bug 1201569 - Remove unused fields. r=snorp 2015-09-08 14:04:42 -04:00
Michael Comella
5a2e205212 Bug 1199041 - Clarify comment in DrawableUtil. r=liuche 2015-09-01 16:26:19 -07:00
Allison Naaktgeboren
310a78f16b Bug 1201324 - Hide savedsearch feature in a nightly flag.r? 2015-09-08 09:54:21 -07:00
Carsten "Tomcat" Book
f76708346b merge mozilla-inbound to mozilla-central a=merge 2015-09-08 15:37:12 +02:00
Martyn Haigh
c2da5e6393 Bug 1201619 - Fix some tab tray dimen issues; r=mcomella 2015-09-03 18:47:58 +01:00
Prateek Arora
852f1655d8 Bug 1197441 - Remove BrowserToolbarBase.setButtonEnabled. r=mcomella 2015-09-01 22:12:31 +05:30
Gian-Carlo Pascutto
a87ceb68d3 Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-09-08 08:22:10 +02:00
Phil Ringnalda
10105b6697 Merge m-c to m-i
CLOSED TREE
2015-09-10 15:30:31 -07:00
Mark Goodwin
25d06c35c0 Bug 1016555 - Disable OCSP checking for certificates covered by OneCRL r=keeler
1) Added some comments to firefox.js to explain the relationship between
extensions.blocklist.interval and security.onecrl.maximum_staleness_in_seconds
2) Modified default values in firefox.js and mobile.js to set maximum staleness
to 1.25x blocklist interval
3) modified the tests_ev_certs.js xpcshell test to cope with larger maximum
staleness values to address test failures
2015-09-10 11:10:07 +01:00
Ms2ger
d10f7a3adc Bug 1193270 - Use lower-case variables for local variables in geckoview_library's Makefile.in; r=nalexander
This makes it easier to distinguish this local variable from standardized
variables.
2015-09-10 13:49:19 +02:00
Ehsan Akhgari
9b8ecdaafa Bug 1203160 - Part 1: Turn service workers and fetch interception on in Fennec Nightly; r=nsm 2015-09-10 01:05:16 -04:00
Kartikaya Gupta
d9051e0e5d Bug 1151102 - Add some diagnostic logging. r=snorp 2015-09-09 23:22:19 -04:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Chenxia Liu
da628ab1a1 Bug 1199859 - Add Import option for Firstrun. r=mfinkle 2015-04-16 14:49:40 -07:00
Nick Alexander
5297645b72 Bug 1205334 - Part 2: Show an error message in about:accounts when restricted. r=antlam,sebastian 2015-09-17 14:51:54 -04:00
Nick Alexander
f1feb634f8 Bug 1205334 - Part 1: Don't register FxA WebChannel or listen for Accounts:* messages when restricted. r=sebastian 2015-09-17 13:53:05 -04:00
Nick Alexander
a0b02c1dc0 Bug 1191067 - Add Fennec version of about:accounts. r=antlam,margaret
This is a Fennec version of about:accounts, cribbed largely from
Desktop's implementation.  This implementation serves two purposes:

One, it allows all fxa-content-server pref handling to remain in
Gecko.  Java-side consumers redirect to about:accounts?action=... and
have pref munging and parameter addition (like context=fx_fennec_v1,
etc) handled by about:accounts itself.

Two, it handles network connectivity display and error handling.  When
a request is started, we display an animated spinner.  We transition
smoothly from the spinner to the iframe display if we can, and if not
we hide any network error and offer to retry.  This is more important
in Fennec than it is on Desktop.  This approach agrees with Firefox
for iOS.

Some additional notes:

The spinner to iframe transition uses the WebChannel listener to send
LOADED messages to the appropriate XUL <browser> element.  It's worth
remembering that Fennec's Gecko is single process, so the <browser> in
question is in the same process.  None-the-less, we are close to e10s
safe.

There are four actions: signup/signin/force_reauth, and manage.  The
first three try to produce a LOGIN message.  The last uses the
fxa-content-server to manage the Account settings.  *This is not how
this is arranged on Desktop: Desktop redirects to a new tab, not
wrapped in about:accounts.*
2015-09-18 16:28:14 -04:00
Nick Alexander
1a7eedda36 Bug 1205706 - Part 2: Add entrypoint parameter to selected Firefox Account activities. r=sebastian
This list is not meant to be exhaustive.  There are many ways to get
to the Get Started activity; not all of them are interesting.  We're
just trying to capture the significant entrypoints, like firstrun and
preferences.
2015-09-17 16:22:26 -04:00
Nick Alexander
c7cd80776c Bug 1205706 - Part 1: Pass-through white-listed intent extras to about:accounts. r=sebastian
Pretty straight-forward.  It's possible that getStringExtra is not
safe in the face of malicious data; the worst we might expect is a
crash on the Java side; a large memory allocation on the JS side; or
significant URL data transfer.  The first is valuable because we'd see
abusers in crash-stats; and the second two are already possible when
opening any URL.
2015-09-17 16:21:07 -04:00
Nick Alexander
5e74edee77 Bug 1191064 - Follow-up: Always skip tab queues when opening about:accounts. r=me
This also skips the tab queue when opening other links internally,
like the FxA Terms of Service and Privacy Policy.
2015-09-17 15:52:06 -04:00
Nick Alexander
3aa8c58b90 Bug 1191064 - Follow-up: s/signin/signup/, s/settings/manage/. r=me 2015-09-17 15:02:52 -04:00
Nick Alexander
6014e14cac Bug 1204510 - Replace animated SVG spinner with non-SVG equivalent. r=ally
The spinner itself is 60px square, colored like fennec_ui_orange.

The HTML and CSS was hacked out of
https://github.com/lightningtgc/material-refresh, tree
6b1be0046d.
The original code is licensed MIT.  I pruned things we don't use,
adjusted the box model for our use, changed the spinner color, and
simplified the CSS.
2015-09-18 16:07:38 -04:00
Wes Kocher
9de1c195f2 Merge m-c to b2ginbound, a=merge 2015-09-14 17:27:31 -07:00
Fabrice Desré
52d1c0fd88 Bug 1200445 - Expose android native apps trough the navigator.mozApps api r=snorp,ferjm 2015-09-14 09:30:28 -07:00
Wes Kocher
70fa24eece Backed out 2 changesets (bug 1200445) for test_operator_app_install.xul bustage
Backed out changeset a1f7f70e87bd (bug 1200445)
Backed out changeset fd2a42de5203 (bug 1200445)
2015-09-14 12:49:03 -07:00
Fabrice Desré
5ffb3fba25 Bug 1200445 - Expose android native apps trough the navigator.mozApps api r=snorp,ferjm 2015-09-14 09:30:28 -07:00
James Willcox
a0e96ceae4 Bug 1182665 - Adjust tile sizes depending on the screen size r=nical 2015-09-11 09:09:19 -05:00
James Willcox
cd11506884 Bug 1182665 - Use a direct JNI call to determine screen size in nsScreenManagerAndroid r=jchen 2015-09-11 09:09:18 -05:00
Wes Kocher
1ffac71f86 Merge m-c to b2ginbound, a=merge 2015-09-04 15:41:50 -07:00
Wes Kocher
f8ff1e61cb Merge inbound to central, a=merge 2015-09-04 15:34:42 -07:00
Fabrice Desré
bfcb2e2e41 Bug 1201145 - Make android intent & web activities coexist peacefully r=snorp 2015-09-04 14:06:49 -07:00
Fabrice Desré
486eb86701 Bug 1200513 - Route http(s) url to gaia r=snorp 2015-09-04 14:06:44 -07:00
Allison Naaktgeboren
da9b0cbd87 Bug 1200371 - ContentResolver.query()'s wildcard % not performing as expected.r=mcomella 2015-09-03 20:17:41 -07:00
Wes Kocher
49ee79c244 Merge m-c to fx-team, a=merge 2015-09-03 14:12:23 -07:00
Carsten "Tomcat" Book
bab23a9d3c Backed out changeset b317ee483a64 (bug 1107372) for causing test failures in test_home_provider.html 2015-09-03 17:02:20 +02:00
Kartikaya Gupta
67033a6721 Bug 1197824 - Remove/simplify more code in browser.js dealing with viewport metadata. r=snorp 2015-09-03 10:30:41 -04:00
Kartikaya Gupta
41b98b3a21 Bug 1197824 - Switch Fennec over to using the zoom constraints from Gecko. r=snorp
Now Fennec can use the message from Gecko with the zoom constraints and we can
delete a bunch of code that did the equivalent job in browser.js
2015-09-03 10:30:41 -04:00
Kartikaya Gupta
1f4c6a816d Bug 1197824 - Stop propagating the default zoom around unnecessarily. r=snorp
The default zoom value is only used on the Java side to clamp the min/max zoom
values in the case where zooming is disabled. We can do this much earlier in
the flow, when we are computing the metadata, and reduce the amount of
redundant information being passed around.
2015-09-03 10:30:40 -04:00
Kartikaya Gupta
f90caaab5c Bug 1201539 - Remove Fennec front-end code to deal with reflow-on-zoom. r=mfinkle 2015-09-04 11:49:48 -04:00
Florian Quèze
ecb2f187fc Bug 1169459 - remove the loadFromJars/jarURIs prefs, r=Mossop. 2015-09-04 11:50:49 +02:00
Gian-Carlo Pascutto
88e8796590 Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-09-03 15:36:06 +02:00
Carsten "Tomcat" Book
a6ff6a0c61 merge mozilla-inbound to mozilla-central a=merge 2015-09-03 13:14:37 +02:00
Kartikaya Gupta
cb3b122036 Bug 1201217 - Don't fiddle with the resolution on tab switch when using APZ in fennec. r=rbarker 2015-09-02 16:31:06 -04:00
Carsten "Tomcat" Book
08015ac700 Merge mozilla-central to fx-team 2015-09-02 14:52:27 +02:00
Carsten "Tomcat" Book
81935f3431 merge mozilla-inbound to mozilla-central a=merge 2015-09-02 13:53:06 +02:00
dominique vincent
1dc9e98f9f Bug 1200177 - Form Assistant is not always correctly closed. r=mcomella 2015-08-31 14:28:58 +02:00
Sebastian Kaspari
56a9bf3fa2 Bug 1199596 - Only install "Parental Controls Theme" for restricted profiles and not guest profiles. r=ally
From browser.js's point of view there's no difference between restricted and guest profiles. Both use the
parental controls API. So there are only two "simple" solutions here:

* 1) Add a method to nsIParentalControlsService to determine whether the current profiles is a restricted or
  a guest profile (Something like isGuest()). But then every platform using this interface would require
  to at least implement a stub for this method.

* 2) Add a new restriction that controls installing the theme.

This patch implements option 2. While this restriction is not of much use besides deciding whether we need
to install a specialized theme (DISALLOW_DEFAULT_THEME), it still offers the most flexibility. In a
follow-up bug we could decide to make the restriction configurable by the device admin (requires localized
strings).
2015-08-31 18:09:42 +02:00
Sebastian Kaspari
26d61cfbf5 Bug 1196198 - Use ordered list to find new default panel. r=mhaigh 2015-08-31 14:26:46 +02:00
Sebastian Kaspari
32b4889eaa Bug 1199639 - Block access to about:addons for guest profiles. r=mhaigh 2015-08-28 16:37:35 +02:00
Sebastian Kaspari
cad54d5209 Bug 1195287 - Fix wrong colors in text selection toolbar on v21+. r=mhaigh
This patch creates a copy of the GeckoAppBase style in v21/themes.xml and removes
the custom icons for copy, cut and paste we use on v11+. Instead the system icons,
that match the look&feel of the ActionBar, will be used.
2015-08-28 16:22:11 +02:00
Sebastian Kaspari
d1f60fe006 Bug 1197721 - Restricted profiles: Hide "Display" menu items in non-"split pane" settings list too. r=mhaigh 2015-08-28 13:31:45 +02:00
Sebastian Kaspari
3385433bf5 Bug 1196708 - Restricted profiles: Hide Remove context menu item from Top Sites. r=mhaigh 2015-08-28 12:41:10 +02:00
Sebastian Kaspari
00eeeeb903 Bug 1197171 - Remove "Mark as read/unread" options from Top Sites grid view context menu. r=mhaigh 2015-08-28 10:02:25 +02:00
Sebastian Kaspari
58203743f2 Bug 1200151 - Restricted profiles: Hide developer tools based on restriction. r=ally 2015-08-31 13:52:32 +02:00
Margaret Leibovic
4c4a603dbb Bug 1190301 - Use compound drawables instead of ImageButton views for tab audio indicator. r=mhaigh 2015-08-24 10:12:06 -06:00
Margaret Leibovic
2085d0e695 Bug 1190301 - Enable tab audio indicator by default. r=mcomella 2015-08-24 09:30:00 -06:00
Margaret Leibovic
f3ec535d50 Bug 1190301 - Remove mute button functionality from tab audio indicator. r=mcomella 2015-08-24 08:55:43 -06:00
Michael Comella
a8dad1da57 Bug 1186020 - Convert download animation icons to white. r=liuche
To do this, I ran:
  convert <image> -alpha extract -alpha on <image>

The resultant images were slightly larger than their previous
counterparts so I then compressed them with ImageOptim.
2015-08-26 15:45:06 -07:00
Nick Alexander
a067f87693 No bug - Add |mach android| command. r=me
DONTBUILD NPOTB

This adds a pass-thru |mach android| command.  It's just here to make
it easier to add and remove Android SDK packages: since most folks
don't have the Android tools on their PATH, this saves them having to
root through the object directory to find the path to the tool.
2015-08-26 10:57:49 -07:00
Nick Alexander
2ae57f0216 No bug - Make project-wide default language level be Java 1.7 in IntelliJ. r=me
DONTBUILD NPOTB

Straight from http://stackoverflow.com/a/24751182 and the linked
IntelliJ tickets.
2015-08-21 16:16:16 -07:00
Ryan VanderMeulen
c1dcfb7c4c Merge m-c to fx-team. a=merge 2015-09-01 21:22:15 -04:00
Ryan VanderMeulen
92baa91037 Merge fx-team to m-c. a=merge 2015-09-01 21:15:09 -04:00
Allison Naaktgeboren
22e4820036 CLOSED TREE missing space in commit from Bug 1197054 2015-09-01 16:28:47 -07:00
Allison Naaktgeboren
8a23e8793a Bug 1197054 - Build changes to get rid of bookmarks.inc.r=nalexander 2015-09-01 15:52:26 -07:00
Allison Naaktgeboren
348dde3d42 Bug 1189719 - Recall and display search history within main browser UI.r=mcomella 2015-09-01 15:32:33 -07:00
Ryan VanderMeulen
65057a2bd1 Merge m-c to fx-team. a=merge 2015-09-01 15:20:21 -04:00
Fabrice Desré
6c6553885f Bug 1199873 - Map the screen on/off events to gaia events r=snorp 2015-09-01 07:45:47 -07:00
Mark Finkle
6f9d0c80b6 Bug 1129614 - Thumbnails in the tabs drawer are expired r=nalexander 2015-08-31 18:54:59 -04:00
Mark Finkle
f1d30d1a2f Bug 1078432 - Use Android print service to enable cloud printing r=sebastian 2015-08-31 17:54:23 -04:00
Ryan VanderMeulen
bea8f74710 Merge m-c to inbound. a=merge 2015-09-01 15:19:34 -04:00
Martyn Haigh
369373a0ea Bug 1196254 - Contextual hint shown the first time tracking protection is triggered is cut off in landscape r=sebastian 2015-08-21 15:55:34 +01:00
Kartikaya Gupta
680f5210da Bug 1149000. r=mfinkle 2015-09-01 13:17:25 -04:00
Michael Comella
1d1b0768ed Bug 1148550 - Remove add_tab private browsing and dark assets. r=mhaigh
Replace dark assets with tinting.
2015-08-25 15:18:54 -07:00
Michael Comella
c0873ab7e6 Bug 1148550 - Replace new tab asset with Material one. r=mhaigh 2015-08-25 10:05:47 -07:00
Michael Comella
12315bff7b Bug 1148550 - Update 3-dot menu icon to Material in tabs panel. r=mhaigh 2015-08-24 16:13:21 -07:00
Michael Comella
bed19a1882 Bug 1148550 - Update 3-dot menu icon to Material on toolbar. r=mhaigh
Other 3-dot menu button locations to follow.

I tested that the colors are correct in the various states (e.g. private
browsing).

This patch additionally:
* Restructured the menu button (which allowed the removal of a setVisibility
  call
* Removed the now unused tablet assets.
2015-08-21 17:34:00 -07:00
Michael Comella
ccdbc90470 Bug 1148550 - Add new Material 3-dot menu assets. r=mhaigh
And replace the older assets.

These are the 36dp icons from Google's material design page:
  https://www.google.com/design/icons/#ic_more_vert

Then we trim off the whitespace with image magick:
  convert icon.png -trim out.png

And compress with ImageOptim.
2015-08-21 17:36:50 -07:00
Michael Comella
20b7132cc1 Bug 1148550 - Update GeckoMenu pressed color. r=mhaigh
This also involved moving a redundant background declaration to only the
containing style.
2015-08-20 12:43:48 -07:00
Michael Comella
a60afcdb02 Bug 1148550 - Change menu padding left to 15dp. r=mhaigh 2015-08-19 16:49:01 -07:00
Martyn Haigh
85bb863813 Bug 1193745 - Implement the tablet tabs tray grid view on mobile r=mcomella 2015-09-01 13:57:44 +01:00
Garvan Keeley
00dbf67707 Bug 1200696 - Don't use VERSION_CODE as it can break the build with older sdks. r=sebastian 2015-09-01 14:17:08 -04:00
Michael Comella
7d3ab3026f Bug 1198084 - Set appropriate content description on tabs playing audio. r=mhaigh
Tested using TalkBack on N4 Android 5.1.
2015-09-02 18:34:25 -07:00
Michael Comella
90bf5c7adf Bug 1198084 - Add strings for tab playing audio. r=mhaigh 2015-09-02 18:28:07 -07:00
Michael Comella
60177911bf Bug 1198084 - Remove unused tab audio strings. r=mhaigh
These appear to have been added in the initial implementation of this feature.
2015-09-02 18:12:30 -07:00
Allison Naaktgeboren
76d0a6c603 Bug 1200299 - Change background color of header block on edit logins page.r=mfinkle 2015-09-03 10:48:14 -07:00
vivek
5084f0b91b Bug 1142171: Split history List view for tablet landscape mode r=sebastian. 2015-08-13 02:49:11 +03:00
vivek
ac7cb567eb Bug 1142171 - Pre: Refactor HistoryAdapter to a separate class and defined section ranges r=sebastian. 2015-08-12 20:16:07 +03:00
Ryan VanderMeulen
aa1decaaea Merge inbound to m-c. a=merge 2015-08-31 15:21:02 -04:00
Carsten "Tomcat" Book
7e37149ecb Backed out changeset 2734a3110b4a (bug 1107372) for Talos Bustage on a CLOSED TREE 2015-08-31 16:19:39 +02:00
dominique vincent
1ff2d12828 Bug 1190332 - Zoomed View appears in input fieds. r=mcomella 2015-08-29 08:14:43 +02:00
dominique vincent
62940771bf Bug 1191041 - Increase the likelihood of zoomed view triggering for small elements but decreased the likelihood for large elements. r=kats 2015-08-28 22:54:41 +02:00
Ryan VanderMeulen
92f8121d2d Merge fx-team to m-c. a=merge 2015-08-30 15:24:02 -04:00
Fabrice Desré
7c8c325a53 Bug 1199784 - Enable the mozContact api r=snorp 2015-08-28 14:11:54 -07:00
Kartikaya Gupta
9cb0c8558d Bug 1199768 - Read the translation from the parent element which actually has the translation rather than the ViewFlipper itself. r=wesj 2015-08-28 17:22:17 -04:00
Kartikaya Gupta
f4fc293da3 Bug 1197811 - Turn the LayerView into a ScrollView that scrolls to shift the surface rather than using setTranslation. r=rbarker
On Gingerbread devices (Android API 9 or 10) the ViewHelper.setTranslationY code
doesn't work to move the SurfaceView. In order to acheive that effect I turned
LayerView into a ScrollView with a dummy element at the top, and allow it to
scroll. This allows the SurfaceView to move as desired. A few places in the code
were assuming that the LayerView and SurfaceView were always at the same screen
location (which was true before but not any more) and so those sites needed
some updating as well.
2015-08-28 17:22:17 -04:00
Kartikaya Gupta
76ba3bb8b6 Bug 1197811 - Extract a wrapper for setting the background color on the SurfaceView. r=rbarker 2015-08-28 17:22:17 -04:00
Kartikaya Gupta
40d8fa5bbd Bug 1197811 - Extract a wrapper for getting/setting the translation on the LayerView. r=rbarker 2015-08-28 17:22:17 -04:00
Michael Comella
9c3725332d Bug 1198955 - Remove FENNEC_TITLE_IN_TITLEBAR_ENABLED probe. r=ally 2015-08-26 14:11:11 -07:00
Mantaroh Yoshinaga
2f6b701db9 Bug 1177510 - Add max/min mechanism to DateTimePicker.java in order to prevent inputting invalid Date values. r=wesj 2015-07-22 03:26:00 -04:00
Mark Finkle
79bf4cf273 Bug 1196897 - Switch to async config loading for Switchboard r=rnewman 2015-08-27 23:57:53 -04:00
Mark Finkle
12db91beb3 Bug 1196897 - Initialize Switchboard in BrowserApp.onCreate r=liuche 2015-08-27 13:50:03 -04:00
Mark Finkle
f752bc7384 Bug 1196897 - Add flags to control using Switchboard in Fennec r=nalexander 2015-08-27 13:49:48 -04:00
Mark Finkle
c4bedeb81b Bug 1196897 - Integrate Switchboard SDK (A/B Testing) into Fennec r=nalexander
Pulled from 38361eb4dc
2015-08-27 13:49:30 -04:00
Myk Melez
d4cf1e19fb Bug 1197920 - import AppsServiceChild.DOMApplicationRegistry for its getAll method; r=esawin 2015-08-27 15:22:44 -07:00
Nick Alexander
2fc886a158 Bug 1180461 - Part 2: Package gaia into b2gdroid APK. r=glandium 2015-08-25 13:23:51 -07:00
Fabrice Desré
8f683e0300 Bug 1180461 - Part 1: Build gaia during b2gdroid build. r=glandium 2015-07-05 19:01:00 -07:00
Fabrice Desré
01d3da022e Bug 1181209 - Make changes to Gecko needed for b2gdroid to boot. r=fabrice 2015-08-25 13:42:24 -07:00
Nick Alexander
7bd17bfc5d Bug 1180358 - Part 2: Build the b2gdroid APK. r=glandium,fabrice 2015-08-25 13:41:07 -07:00
Fabrice Desré
fcb93a3281 Bug 1180358 - Part 1: Add the b2gdroid sub-product. r=fabrice 2015-08-25 13:40:04 -07:00
Allison Naaktgeboren
1dd77e38cf Bug 1197979 - Tools > Logins menu item is not visible.r=mfinkle 2015-08-27 15:19:50 -07:00
Michael Comella
fe6d4b3b71 Bug 1105563 - Move Themed* to widget.themed package. r=nalexander 2015-08-26 14:28:05 -07:00
Gian-Carlo Pascutto
4c1312c14f Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-08-27 10:05:23 +02:00
Garvan Keeley
0a84d6c72b Bug 1195854: getNeighboringCells() is deprecated on Android M. r=sebastian 2015-08-31 00:35:53 -04:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Ryan VanderMeulen
9f2b3a8953 Merge m-c to inbound. a=merge 2015-09-01 21:16:28 -04:00
Geoff Brown
8b60b03872 Bug 1164596 - Add mach android-emulator command; r=ahal 2015-09-01 15:07:53 -06:00
Michael Comella
62b76c48ef Bug 1155331 - Annotate MediaPlayerManager with @ReflectionTarget. r=nalexander
The annotated methods were using @JNITarget, which would do the same thing.
However, @ReflectionTarget is clearer (like a good variable name).

proguard.cfg states a class with an annotated member will be kept so we
shouldn't need to worry about not being able to retrieve the class via
reflection.
2015-04-15 11:46:20 -07:00
Michael Comella
75d941f9f4 Bug 1155331 - Add ReflectionTarget annotation. r=nalexander
This is a clone of @JNITarget and @RobocopTarget.
2015-04-16 10:10:25 -07:00
Michael Comella
81f8350b05 Bug 1196553 - Set secondary action bar colors on phone. r=margaret
I previously set this for tablet but didn't (for an unknown reason) set this
for phones as well.
2015-08-25 17:22:11 -07:00
Michael Comella
ec72b6e35e Bug 1198369 - Go to fallback url before searching store for Intent handler. r=margaret
This behavior mimics Chrome's.
2015-08-25 13:56:29 -07:00
Michael Comella
f74d95896f Bug 1195517 - Remove unused ic_menu_quit from gecko_app. r=liuche
This doesn't appear in Fennec builds and I don't know which web apps "quit"
could appear in so I didn't test this in a web app. I can confirm no issues
with a typical Fennec build, however.
2015-08-17 15:56:53 -07:00
Michael Comella
698e4dbae7 Bug 1195517 - Remove unused ic_menu_addons_filler. r=liuche
This also removes code to set an icon from an addon, which is unused because,
afaik, addons' icons are also hidden. iirc, there was a bug open on whether we
want addons to be able to show icons (e.g. could be used to show status), but
we can reimplement this if that bug is ever decided.

I was not able to test this with an addon that sets an icon but I did test that
the application did not crash with no addons installed.
2015-08-17 15:29:52 -07:00
Michael Comella
523b9b39d1 Bug 1195517 - Remove unused desktop_mode menu icons. r=liuche 2015-08-17 15:11:13 -07:00
Michael Comella
53383784e6 Bug 1195517 - Remove simple unused menu drawables. r=liuche
On GB devices, ic_menu_new_*tab is in the base menu, unlike the other
configurations, so it stayed on GB.

More complex removals to follow.

I tested this by clicking on all of the base menu items on a Lollipop phone,
KitKat large tablet, and a GB phone.
2015-08-17 14:50:58 -07:00
Ryan VanderMeulen
0ce5af912d Backed out changeset 159775bbf798 (bug 1193745) for robocop crashes.
CLOSED TREE
2015-08-27 10:55:28 -04:00
Sebastian Kaspari
440688ecce Bug 1189402 - RestrictionProvider: Ignore location service restriction if stumbler is disabled at build time. r=ally 2015-08-14 17:31:47 +02:00
Martyn Haigh
0da89f0315 Bug 1193745 - Implement the tablet tabs tray grid view on mobile r=mcomella 2015-08-27 13:09:28 +01:00
Martyn Haigh
55ca1a0d5f Bug 1164723 - Inherit from Tablet UI on Mobile UI (aka compact tabs); r=mcomella 2015-08-25 12:43:43 +01:00
Ahmed Khalil
12e9eb0168 Bug 1180287 - Hide client records that are likely to be duplicates or stale. r=rnewman 2015-08-26 11:16:00 -04:00
Ryan VanderMeulen
8f8d05680f Merge m-c to fx-team. a=merge 2015-08-26 14:34:15 -04:00
Chenxia Liu
561138525c Bug 1186037 - Import bookmarks and history from stock browser (Samsung S4, Android 4.4.2) doesn't work. r=mhaigh 2015-08-13 11:45:23 -07:00
Sebastian Kaspari
17fe38677b Bug 1182514 - Add Lightweight theme for restricted profiles. r=margaret 2015-08-07 13:23:18 +02:00
Margaret Leibovic
eb78c70bcf Bug 1185927 - Don't show extra dialog when user cancels add-on download. r=sebastian 2015-08-20 13:15:35 -07:00
Justin Inouye
f4db1db7b5 Bug 1146735 - Change outer container to FrameLayout. r=liuche 2015-08-24 18:23:29 -07:00
Ryan VanderMeulen
79736fcdf0 Merge fx-team to m-c. a=merge 2015-08-24 20:57:36 -04:00
Yury Delendik
74294b6bce Bug 1192831 - Remove PlayPreview API. r=jet, r=peterv 2015-08-20 15:15:18 -05:00