Commit Graph

17676 Commits

Author SHA1 Message Date
J. Ryan Stinnett
1fcbd86174 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
Prabhjyot Sodhi
cb8caa3d14 Bug 1167382 - Reset scroll state of SearchEngineBar in BrowserSearch Fragment before it is shown everytime. r=mcomella 2015-09-05 05:06:00 +02:00
Phil Ringnalda
c44a0998bd Merge f-t to m-c, a=merge 2015-09-20 17:58:11 -07:00
Josh Matthews
798d2f27cf Bug 885982 - Part 4: Remove all traces of JS implementation. r=asuth 2015-09-20 05:57:15 -04:00
dominique vincent
36ac892eac Bug 1200181 - Zoomed view and Form Assistant should not be displayed at the same time. r=mcomella 2015-09-14 14:10:16 +02:00
Christian Schmitz
0ee73375ec Bug 1204655 - Respond to a main launcher intent with category APP_BROWSER selector. r=mcomella 2015-09-14 22:52:05 +02:00
Seth Fowler
40c407a01f Bug 1146663 (Part 1) - Remove HQ scaling, which is now dead code. r=tn 2015-09-19 16:20:56 -07:00
Dylan Roeh
4152d1c9c2 Bug 1189881 - Move GeckoJavaSampler::getProfilerTime out of AndroidJNI.cpp. r=jchen 2015-09-17 16:17:26 -05:00
Phil Ringnalda
d9222b9a18 Merge f-t to m-c, a=merge 2015-09-18 21:46:16 -07:00
Wes Kocher
74f1c7e5e2 Merge fx-team to central, a=merge 2015-09-18 13:58:09 -07:00
Jim Chen
677eff8d88 Bug 1197974 - Force Gecko to exit when explicitly quitting; r=mfinkle
Currently we "quit" by closing the last window, but this bug makes us
not quit Gecko automatically when the last window closes. Therefore we
should force Gecko to quit. This patch also makes our quit code
consistent with the addon restart code at [1], i.e. using
nsIAppShell::Quit to quit and sending the "quit-application-requested"
notification. The previous notification,
"browser-lastwindow-close-requested", appears to only be used on
desktop.

[1] mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js?rev=f61c3cc0eb8b#6287
2015-09-18 09:17:11 -04:00
Jim Chen
a3fd09461d Bug 1199444 - Add test for BundleEventListener; r=mcomella
Bug 991167 added BundleEventListener that allow dispatching an event
directly to the UI thread or to the background thread. This patch adds
tests to testEventDispatcher, to test that the events are dispatched on
the correct threads and that the Bundle messages are correct. Because
these events are asynchronous, the test waits for each event to be
processed before continuing.
2015-09-18 09:17:10 -04:00
Michael Comella
2c5cf36951 Bug 1201346 - Add class comments to ShapedButton*. r=liuche 2015-09-11 13:58:08 -07:00
Michael Comella
e3199e1db5 Bug 1201346 - Make menu button have LWT on phones. r=liuche
This was not broken on tablet.

The new ShapedButtonFrameLayout class is a duplicate of ShapedButton's LWT
code. I tried an approach that extracted this code out to an external class, to
prevent code duplication and reduce the code size but due to the access rights
on the super classes, it was really messy and, imo, not worth it.
2015-09-11 13:51:17 -07:00
Chenxia Liu
b1e134e15a Bug 1206230 - Add back android:key for Manage Logins. r=mcomella 2015-09-18 13:45:56 -07:00
Chenxia Liu
acb40e152b Bug 1199859 - Add telemetry. r=mfinkle 2015-09-18 11:36:35 -07:00
Chenxia Liu
ee76e9dfcc Bug 1199859 - Use local switchboard. r=mfinkle 2015-09-16 09:43:38 -07:00
Chenxia Liu
0ac70a5384 Bug 1199859 - Add "Next" sliding. r=mfinkle 2015-09-09 17:24:18 -07:00
Chenxia Liu
a22ce6d287 Bug 1199859 - Add two A/B testing options for Firstrun. r=mfinkle 2015-09-16 17:16:56 -07:00
Carsten "Tomcat" Book
8e55a0c90d Merge mozilla-central to mozilla-inbound 2015-09-18 13:25:30 +02:00
Mark Finkle
8f2549de23 Bug 1205878 - Update UI Telemetry document r=nalexander 2015-09-17 21:11:57 -04:00
vivek
5bfb695894 Bug 1204565 - Selectively enable unit test based on build variant r=nalexander
DONTBUILD NPOTB

Project specific test filtering is automagically handled by gradle task graph
2015-09-15 00:55:49 +03:00
Randall Barker
d6a39687fb Bug 1166961 - Show click to play button on Fennec when autoplay is blocked. r=mfinkle 2015-09-16 16:22:00 +02:00
Nick Alexander
2db17655e9 Bug 1205418 - Add "Manage account" link to Status Activity. r=vivek
This just directs to about:accounts?action=manage, which determines
the relevant URL and displays the web content.

Nota bene: about:accounts hasn't landed yet.
2015-09-10 16:36:29 -07:00
Sebastian Kaspari
c3f3c05f31 Bug 1200665 - Restricted Profiles: Update SUMO title. r=margaret 2015-09-17 10:04:52 +02:00
Carsten "Tomcat" Book
5521f244fc Merge mozilla-central to fx-team 2015-09-17 15:02:08 +02:00
Carsten "Tomcat" Book
d61e0e3273 merge fx-team to mozilla-central a=merge 2015-09-17 14:42:06 +02:00
Richard Barnes
e062e8aebf Bug 1204616 - Control Center should show full host name (w/ subdomains) in security block. r=MattN,liuche 2015-09-16 18:01:27 -07:00
Fabrice Desré
6945c6bf02 Bug 1201184 - Enable OOP apps r=me 2015-09-16 09:24:17 -07:00
Wes Kocher
8f2936989b Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-16 11:00:55 -07:00
Wes Kocher
34e9dbc511 Merge mozilla-inbound to m-c a=merge CLOSED TREE 2015-09-16 10:52:53 -07:00
Fabrice Desré
8524d4f021 Bug 1205139 - Get @mozilla.org/embedcomp/prompt-service;1 to instantiate correctly r=dhylands 2015-09-15 23:09:43 -07:00
Fabrice Desré
cce6ab38d0 Bug 1205099 - Package SettingsService r=dhylands 2015-09-15 17:39:00 -07:00
Wes Kocher
e7846b8a1b Merge m-c to b2ginbound, a=merge 2015-09-15 17:20:50 -07:00
Allison Naaktgeboren
62bd879168 Bug 1202196 Add UI Telemetry for search history items.r=mfinkle 2015-09-15 18:58:52 -07:00
Allison Naaktgeboren
e5b5818a44 Bug 1200319 - How many, which ones of which type of pills should be displayed on phones or tablets for search suggestions.r=mcomella 2015-09-15 18:58:52 -07:00
Sergej Kravcenko
ae8f452658 Bug 1186077 - Default favicon (globe) is briefly shown on about:home before updating to favicon. r=mcomella 2015-09-15 17:28:37 -07:00
Fabrice Desré
9909ecc734 Bug 1202744 - Overlapping software home buttons r=snorp 2015-09-15 11:01:03 -07:00
Carsten "Tomcat" Book
ad40d0027b merge mozilla-inbound to mozilla-central a=merge 2015-09-15 15:05:24 +02:00
Carsten "Tomcat" Book
afd0dc34b8 merge fx-team to mozilla-central a=merge 2015-09-15 14:59:25 +02:00
Sylvestre Ledru
063b45a424 Bug 1196373 - Remove useless empty line r=trivial 2015-09-16 11:45:28 +02:00
Sylvestre Ledru
07d9ab7deb Bug 1196373 - Use the globally defined version instead of using the hardcoded value r=glandium
This will fix the display the beta number in the fennec about windows/support.
2015-09-16 11:43:07 +02:00
Nick Alexander
2fedad2648 Bug 1191064 - Part 3: Handle removing Android Accounts from fxa-content-server. r=markh
This adds a new JS to Java ping-pong; exposes it via Accounts.jsm; and
uses it in response to the fxa-content-server message.
2015-09-14 17:21:19 -04:00
Nick Alexander
6086af7511 Bug 1191064 - Part 2: Handle relinking Firefox Accounts on Fennec. r=markh
The desired behaviour:

* If we have no account now, and had no account or the same account in
  the past -- no message, allow.
* If we have no account now, but had a different account in the past -- prompt.
* If we have an account, and this is the same account -- no message, allow.
* If we have an account, and this is not the same account -- toast and
  never allow.
2015-09-14 16:58:47 -04:00
Nick Alexander
2b665818ed Bug 1191064 - Part 1: Add Fennec version of FxAccountsWebChannel. r=markh
This ticket does the following things:

* register early.  If the first page that Gecko loads is
  about:accounts, the channel needs to be in place.  If we delay this,
  we can and do miss content server messages.

* listen to the following messages:

  CAN_LINK_ACCOUNT: 'fxaccounts:can_link_account'
  CHANGE_PASSWORD: 'fxaccounts:change_password'
  DELETE_ACCOUNT: 'fxaccounts:delete_account'
  LOADED: 'fxaccounts:loaded'
  LOGIN: 'fxaccounts:login'

The list of messages is from
2a78a14daf/app/scripts/models/auth_brokers/fx-desktop-v2.js (L24)
via
2a78a14daf/app/scripts/models/auth_brokers/fx-fennec-v1.js

This patch implements only LOADED, LOGIN, and CHANGE_PASSWORD.  The
messages have the following behaviour:

A LOADED message is ferried to the individual XUL <browser> element it
originated from.  In general, WebChannel is a global listener: it does
not matter where a message originates.  We want to have fine-grained
control over when an embedding <iframe> is displayed (as opposed to
loaded, in the Gecko sense of loaded).  The fxa-content-server
participates in this exchange via the LOADED message; we complete the
loop by specially handling LOADED.

A LOGIN or CHANGE_PASSWORD message either creates a new Android
Account in the Engaged state, or moves an existing Android Account to
the Engaged state.  An Android sync is not yet requested -- we'll
arrange that from the Java side.
2015-09-15 15:54:29 -04:00
Nathan Toone
4c312736eb Bug 1203800 - Allow for specifying the ANDROID_VERSION_CODE to use; r=nalexander
This patch allows you to set MOZ_APP_ANDROID_VERSION_CODE in a branding's configure.sh to specify the exact android:versionCode to use in the final (main) APK.  It does *not* modify the android:versionCode used in any other APKs.
2015-09-11 16:05:56 -06:00
Anirudh S
3a035f1436 Bug 1197874 - Remove MatchstickApp.jsm from the build. r=mfinkle 2015-09-10 20:04:50 +05:30
Eitan Isaacson
e252871c0c Bug 1203697 - Add braille navigation. r=yzen r=mfinkle 2015-09-14 23:34:30 -07:00
Prabhjyot Singh Sodhi
1641e3e31b bug 1186683 - *show* and *hide* BrowserSearch Fragment instead of creating each time to save memory. r=mcomella 2015-09-05 01:16:00 +02:00
Sebastian Kaspari
ddee26d2c6 Bug 1199177 - Restricted profiles: Reset add-on preferences if restriction is not enabled. r=margaret 2015-09-16 13:23:30 +02:00