Commit Graph

18442 Commits

Author SHA1 Message Date
Mike Hommey
488bd1361b Bug 1229241 - Differentiate preprocessed and non-preprocessed JS pref files. r=gps 2015-12-01 13:57:52 +09:00
Wes Kocher
d2cd12e602 Merge m-c to inbound, a=merge 2015-11-30 17:47:00 -08:00
Mike Hommey
8a05348b89 Bug 1228467 - Don't preprocess chrome files without preprocessor directives. r=gps 2015-12-01 08:25:22 +09:00
Mike Hommey
e6640e1ccd Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Sylvestre Ledru
6470f2c027 Bug 1228317 - Fix a potential error in the replaceAll call when the path contains ?dmp. r=snorp 2015-11-26 05:45:00 +01:00
dominique vincent
f4895394a0 Bug 1222638 - Don't inflate zoomed view until its needed. r=mcomella 2015-11-28 20:42:35 +01:00
Carsten "Tomcat" Book
fcbf870471 Merge mozilla-central to fx-team 2015-11-11 12:44:56 +01:00
Sebastian Kaspari
3d2f25287b Bug 1191741 - Family friendly browsing: Restrict sharing of camera and microphone with websites. r=ally 2015-11-09 16:05:09 +01:00
Mike Taylor
fa9bbe9861 Bug 1217055 - Remove UA override for Youtube. r=margaret 2015-10-21 11:43:00 +02:00
Varun Joshi
3a8120645f Bug 1203345 - Add shadow to tab previews in tabs tray. r=sebastian 2015-11-18 11:19:00 +01:00
Mike Hommey
efc0f2a15b Bug 1223412 - Make b2gdroid reliably use the some b2g components instead of Fennec's. r=fabrice 2015-11-14 08:40:54 +09:00
Mike Hommey
c248dd34b4 Bug 1222323 - Avoid passing extra defines to the compiler from config.mk. r=gps
C/C++ code should not be relying on XPI_NAME or AB_CD being defined, so
moving them out works.
2015-11-14 08:40:54 +09:00
Michael Comella
dcd4d85582 Bug 1140210 - Rename MenuItemActionView styles to new name. r=liuche 2015-10-15 14:55:28 -07:00
Michael Comella
1a14413079 Bug 1140210 - menu_item_action_view -> menu_item_switcher_layout. r=liuche 2015-10-15 14:51:26 -07:00
Michael Comella
4935905acd Bug 1140210 - Add class comment to MenuItemSwitcherLayout. r=liuche 2015-10-15 14:48:37 -07:00
Michael Comella
0fffff5ce0 Bug 1140210 - MenuItemActionView -> MenuItemSwitcherLayout. r=liuche 2015-10-15 14:48:06 -07:00
Michael Comella
54fcea8614 Bug 1210989 - Rename overlay_send_tab_icon -> shareplane. r=me
Previously landed from another user – this is a rebase after the
backout of bug 1140048.
2015-11-19 09:20:52 -08:00
Randall Barker
dbfb517f82 Bug 1223609 - Update MotionEventHelper.java to work with C++ APZ. r=kats
The functions dragAsync and flingAsync do not work with C++APZ.
Function dragAsync needs to account for the touch start tolerance when
calculating drag distance. Function flingAsync needs to ensure that
the touch up event time is later than the last touch move event time.
2015-11-18 19:35:14 -05:00
Randell Jesup
d32ed4e100 Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports.  Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
Botond Ballo
57d6791cb8 Bug 1217515 - Clean up the way touch event support is configured. r=roc
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
  platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value
2015-10-26 16:06:27 -04:00
Francois Marier
fbdf7eddc6 Bug 1228698 - Honor browser.safebrowsing.allowOverride on Fennec. r=gcp 2015-11-30 09:37:19 -08:00
Ehsan Akhgari
af981ccfd0 Bug 1226686 - Enable service workers on release builds for desktop and Android; r=baku 2015-11-30 09:46:42 -05:00
Dylan Roeh
214df76183 Bug 1221040 - Add SHA-256 support to NativeCrypto and relevant tests to robocop. r=snorp 2015-11-18 13:10:51 -06:00
Nick Alexander
f460ef1711 Bug 1208605 - Try MOZ_ANDROID_PACKAGE_NAME env var before static ANDROID_PACKAGE_NAME. r=snorp 2015-09-25 14:47:50 -07:00
Jonathan Almeida (:jonalmeida)
b06c0c4be2 Bug 1209293 - Flip default options for click-to-view images r=mfinkle 2015-11-10 00:03:55 -05:00
Allison Naaktgeboren
14dc87d0d2 Bug 1222116 - add smsto:// support to fennec.r=mcomella 2015-11-09 18:22:06 -08:00
Nick Alexander
a6949f3c1b Bug 938994 - Post: Update Gradle configurations. r=sebastian
I moved the JAR out of the root directory because I didn't want
multiple copies of things in robocop/ appearing in IntelliJ, although
this turns out to not be strictly necessary.  Keeping it as part of a
general push to move things out of the root dumping ground.
2015-11-09 10:18:45 -08:00
Nick Alexander
3ba90b4e47 Bug 938994 - Move build/mobile/robocop into mobile/android/tests/browser/robocop. r=gbrown
This builds the Robocop tests with |mach build mobile/android|, making
it easier for developers to build Fennec and the tests at the same
time.
2015-11-09 12:55:38 -08:00
Jonathan Almeida (:jonalmeida)
8c22d263b3 Bug 1209293 - Using const values instead of numbers r=mfinkle 2015-11-09 18:21:16 -05:00
Jonathan Almeida [:jonalmeida]
d02764b935 Bug 1208167 - Telemetry probe for click-to-play images r=mfinkle,ally
- A telemetry probe for when a user clicks to unblock an image.
- A second probe for sending the size of the image being unblocked.
 Since we don't have information on the image size the best option
 was to make make an XHR HEAD request. We make an approximation
 of the image size from the content length which we send in kB.
2015-10-29 02:15:41 -04:00
Jonathan Almeida [:jonalmeida]
385c51754d Bug 1209293 - Add option for click-to-play images depending on network bearer r=mfinkle
- Replaced bool pref for int list option: Never, Always, or Only over Wi-Fi
- Pref browser.image_blocking.enabled -> browser.image_blocking
- Converted the early return to check for cellular as well.
- Note that in the cellular check, I do not consider LINK_TYPE_USB as "cellular".
- Tested this on a physical device with all combinations
    of WiFi ON/OFF (falling back to cellular and each menu state.
- Tested if menu options work as well for each state mentioned above.
2015-10-29 03:20:20 -04:00
Jonathan Almeida [:jonalmeida]
22be43b2c5 Bug 1211295 - When tap-to-load images are enabled, add option to load all images r=mfinkle 2015-11-03 00:55:22 -05:00
Kalpesh Krishna
c8637b39a7 Bug 1207307 - Remove MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES flag. r=vivek,nalexander 2015-11-09 10:57:01 -08:00
Kalpesh Krishna
d9cd18e71d Bug 1188550 - Don't directly use MOZ_APP_DISPLAYNAME in User-Agent headers. r=vivek,nalexander.
It is possible for the display name to contain Unicode characters,
which not all Mozilla service endpoints handle gracefully.  This
avoids that issue.
2015-11-09 10:53:37 -08:00
Wes Kocher
3ec15bcd55 Backed out 3 changesets (bug 1107636) for android mochitest bustage CLOSED TREE
Backed out changeset ced71b78683d (bug 1107636)
Backed out changeset a1efec5e79de (bug 1107636)
Backed out changeset 6a8430385299 (bug 1107636)
2015-11-09 11:28:13 -08:00
dominique vincent
3afdfb57b5 Bug 1222234 - New size for the touch area. r=mcomella 2015-11-01 07:50:27 +01:00
Margaret Leibovic
f01885344f Bug 1217073 - Update restricted profile toggles to account for new settings organization. r=sebastian 2015-11-06 17:26:03 -05:00
Michael Comella
0234252bda Bug 1107636 - Change gecko_layout to FrameLayout. r=sebastian
Changes on first three measure passes (CPU time):
  1) 13.149ms -> 11.934ms
  2) .827ms -> .582ms
  3) 11.602 -> 12.199ms
2015-11-06 16:17:48 -08:00
Michael Comella
5eb77a6d4d Bug 1107636 - Use MarginLayoutParams where applicable. r=sebastian
MarginLayoutParams is less specific than RelativeLayout.LayoutParams
and is easier to make changes with.
2015-11-06 16:16:30 -08:00
Michael Comella
9273ac25b6 Bug 1107636 - Replace top-level RelativeLayout with <merge>. r=sebastian
Using systrace, I took 2 traces before and after. Using the slowest
of both traces, the first three measure passes had the following
improvements in CPU time:
  1) 20.583ms -> 13.149ms
  2) 1.695ms -> 0.827ms (1/2)
  3) 22.146ms -> 11.602ms (1/2)

This is to be expected – RelativeLayout requires two measure passes
so it makes sense to approximately half the measure times.
2015-11-06 15:23:47 -08:00
vivek
a505680afd Bug 1189356 : Update Settings Sync preference with avatar r=nalexander,margaret 2015-11-05 21:16:20 +02:00
crazyprodigy
8b19d878ad Bug 1220556 - No feedback after performing Copy link. r=margaret 2015-11-05 16:37:55 -05:00
crazyprodigy
28a324efc3 Bug 1210989 - SendTabDeviceListArrayAdapter.java needed to be changed to point to shareplane.png. r=mcomella 2015-11-04 17:20:31 -05:00
crazyprodigy
fac9439de1 Bug 1210989 - Removed all the instance of the unused file icon_shareplane.png. r=mcomella 2015-11-04 23:39:33 -05:00
crazyprodigy
574cb7276a Bug 1210989 - Rename overlay_send_tab_icon -> shareplane. r=mcomella 2015-11-03 20:27:29 -05:00
Sanchit Nevgi
6cf3bc6674 Bug 1193205 - Added @Override annotation to setExtras() in TopSitesCursorWrapper.java. r=sebastian 2015-10-19 09:26:00 +02:00
crazyprodigy
84d58199d6 Bug 1106903 - Move BaseTest/UITest.runTest into BaseRobocopTest. r=mcomella 2015-11-05 13:29:39 -05:00
Margaret Leibovic
b1a6b03c6b Bug 1218557 - Update copy for settings reorg. r=liuche 2015-11-04 16:09:53 -05:00
Carsten "Tomcat" Book
b99a10013e merge mozilla-inbound to mozilla-central a=merge 2015-11-09 14:55:30 +01:00
Carsten "Tomcat" Book
049e91daf7 merge fx-team to mozilla-central a=merge 2015-11-09 14:30:43 +01:00
Wes Kocher
323f28486f Merge m-c to b2ginbound, a=merge 2015-11-06 15:14:26 -08:00
sgiles
09a3f1565f Bug 1174228 - Set up TYPE_APP for navigator.getDeviceStorage for B2GDroid r=dhylands 2015-11-06 05:55:40 +00:00
Nick Alexander
429e17413f Bug 1222120 - Part 2: Use custom Robolectric test runner. r=vivek
DONTBUILD NPOTB on a CLOSED TREE

The patch is horrific, but it's just find-and-replace of the test
runner class name, followed by organizing the imports (in the way that
IntelliJ likes them.)
2015-11-05 14:01:41 -08:00
Nick Alexander
c413092090 Bug 1222120 - Part 1: Add custom Robolectric test runner. r=vivek
This exports the buildDir to Robolectric via an Android-Gradle
buildConfigField, and then lightly massages the existing test runner
to use the exported value.
2015-11-06 10:58:18 -08:00
Nick Alexander
7607c92392 No bug - Add --verbose flag to |mach artifact| commands. r=me
DONTBUILD NPOTB
2015-11-05 14:49:33 -08:00
vivek
122587a022 Bug 1218917 : Fix swipe refresh animation colors r=nalexander 2015-11-05 15:37:42 +02:00
Margaret Leibovic
2e3cda8ee7 Bug 1220833 - (Part 2) Properly select header on tablet when launching preference screen directly. r=sebastian 2015-11-04 11:29:12 -05:00
Sebastian Kaspari
5e93b6ea0a Bug 1119915 - Show toast if APK API range does not match device. r=rnewman 2015-11-03 14:09:41 +00:00
Kalpesh Krishna
f8c8776d0d Bug 1212596 - Highlight Remove account in rejection red. r=vivek 2015-11-06 00:13:44 +02:00
Margaret Leibovic
79f6174036 backout 4e951da373d7 for 2.3 build bustage 2015-11-05 17:28:04 -05:00
Nick Alexander
0e9317d123 Bug 1220887 - Make 'base' Gradle project in the srcdir. r=sebastian
This is the last Gradle project that isn't in the srcdir.  Since base/
doesn't have the correct package prefix directory structure, we still
need to symlink, but we only need one link.  This effectively
deprecates |mach gradle-install|.

This should improve the robustness of our Gradle configuration,
ensuring that we always have projects to import.  Since
settings.gradle executes very early in the IDE import project
sequence: before Gradle project evaluation time, and thus before any
Gradle task is executed, we should always see a complete project.  (It
was possible to see incomplete Gradle configurations if |mach
gradle-install| hadn't been run at just the right time.)
2015-11-03 15:04:39 -08:00
Margaret Leibovic
2bf1d66004 Bug 1220833 - (Part 2) Properly select header on tablet when launching preference screen directly. r=sebastian 2015-11-04 11:29:12 -05:00
Margaret Leibovic
79e8b8cbee Bug 1220833 - Update data reporting notification to point to privacy preference screen. r=sebastian 2015-11-04 10:48:15 -05:00
Margaret Leibovic
741ca6ed56 Bug 1219240 - Telemetry probe to measure user interaction with reader view button. r=mfinkle,vladan 2015-10-28 17:07:24 -04:00
Michael Comella
10b262a05e Bug 1183659 - Update tab received notification copy. r=nalexander
The new format is:
  $DeviceName
  $url

If "$DeviceName" is not available, "$BrandName" (e.g. Firefox, Nightly) is
used.

Multiple received tab notifications are not aggregated.
2015-11-04 12:27:20 -08:00
Chenxia Liu
44a6e74339 Bug 1221113 - Put insecure-login-form doorhanger behind a flag. r=margaret 2015-11-04 16:06:58 -08:00
Michael Comella
77fb8e446b Bug 1214942 - Change action bar colors on 5+. r=sebastian
The Preferences Activity looks as desired.

We can't get the main activity to have the desired looks because bug 1220309
prevents us from changing the Action Bar back button color from white so we
went with the default style which looks *alright*.
2015-11-02 13:43:51 -08:00
Carsten "Tomcat" Book
d47bd77a6f Merge mozilla-central to fx-team 2015-11-05 12:17:28 +01:00
Carsten "Tomcat" Book
5ec9757f0d merge fx-team to mozilla-central a=merge 2015-11-05 11:55:46 +01:00
Carsten "Tomcat" Book
97b6e25dff Merge mozilla-central to b2g-inbound 2015-11-04 12:45:40 +01:00
Carsten "Tomcat" Book
7fd446b11f merge mozilla-inbound to mozilla-central a=merge 2015-11-04 11:59:46 +01:00
crazyprodigy
036072dd30 Bug 1216307 - Remove unused method hasOtherSyncClients. r=mcomella 2015-11-03 04:28:18 -05:00
Daosheng Mu
9c4e300d28 Bug 1215147 - Enable VR API's on FF for Android by default. r=snorp, r=vlad, r=bz 2015-11-04 01:59:00 +01:00
J. Ryan Stinnett
cfecfe3268 Bug 1182722 - Move DevTools l10n files. r=ochameau,glandium,Pike,bgrins
Move DevTools l10n files under /devtools/client and /devtools/shared.
A script is attached to the bug for l10n repos to migrate their strings.
2015-11-04 15:35:53 -06:00
Chenxia Liu
97045cad2f Bug 1215739 - "Start browsing" link should bring up keyboard/highlight urlbar. r=margaret 2015-10-26 11:40:25 -07:00
Sergej Kravcenko
9201f6f2ba Bug 1210534 - Search suggestions are not refreshed after single character entered into search field 2015-10-21 19:50:15 +03:00
Nick Alexander
b695cede38 Bug 1220891 - Let web Firefox Accounts UI ride the trains. r=margaret 2015-11-02 15:04:40 -08:00
Margaret Leibovic
217fc38912 Bug 1216257 - Remove disabled tests and associated strings. r=gbrown 2015-10-23 19:03:33 -04:00
Margaret Leibovic
811ee97ffb Bug 1216257 - Move settings items that don't belong elsewhere to "Advanced". r=sebastian 2015-10-23 14:30:05 -04:00
Margaret Leibovic
7357844796 Bug 1216257 - Move data reporting prefs to "Privacy". r=sebastian 2015-10-23 13:49:42 -04:00
Margaret Leibovic
cda6aed25c Bug 1216257 - Rearrange privacy prefs to match spec. r=sebastian 2015-10-23 13:43:00 -04:00
Margaret Leibovic
e97515f38b Bug 1216257 - Rearrange search settings to match spec. r=sebastian 2015-10-23 13:35:09 -04:00
Margaret Leibovic
06dadbc8e6 Bug 1216257 - Move full-screen browsing pref to "General". r=sebastian 2015-10-23 13:22:06 -04:00
Margaret Leibovic
5310b0bdb5 Bug 1216257 - Move titlebar pref to "General". r=sebastian 2015-10-23 12:56:21 -04:00
Margaret Leibovic
3eb653e1d1 Bug 1216257 - Move tap-to-load images pref from to "Advanced". r=sebastian 2015-10-23 12:40:38 -04:00
Margaret Leibovic
d873386be9 Bug 1216257 - Move restore tabs pref from to "Advanced". r=sebastian 2015-10-23 12:26:33 -04:00
Margaret Leibovic
d7d6ab505b Bug 1216257 - Move clear private data setting to top level. r=sebastian 2015-10-21 16:54:04 -04:00
Margaret Leibovic
40e12d19be Bug 1216257 - Move "Language" settting to "General" section r=rnewman 2015-10-21 16:33:06 -04:00
Margaret Leibovic
701c42549b Bug 1216257 - Rename "Developer Tools" category to "Advanced" r=sebastian 2015-10-21 14:29:35 -04:00
Margaret Leibovic
7bd6d1ffa5 Bug 1216257 - Rename "Display" category to "Accessibility" r=sebastian 2015-10-21 14:11:31 -04:00
Margaret Leibovic
cf04a7f870 Bug 1216257 - Move "Search" category to top level r=sebastian 2015-10-21 12:07:51 -04:00
Margaret Leibovic
9c7467e2c8 Bug 1216257 - Rename "Customize" category to "General" r=sebastian 2015-10-21 10:57:15 -04:00
Michael Comella
23ad153dbd Bug 1215079 - Change gingerbread menu color to something readable. r=margaret
Each device can have different color font - this is a best guess about making
it readable everywhere.
2015-11-02 15:58:03 -08:00
Carsten "Tomcat" Book
175bd20c82 merge fx-team to mozilla-central a=merge 2015-11-03 11:59:08 +01:00
Wes Kocher
5f4722e088 Merge m-c to fx-team, a=merge 2015-11-02 15:59:07 -08:00
Wes Kocher
4339b86615 Merge m-c to b2ginbound, a=merge 2015-11-02 15:58:27 -08:00
Fabrice Desré
77458c874c Bug 1214554 - Implement getLocationListener on GeckoInterface r=reuben 2015-11-02 15:12:24 -08:00
Wes Kocher
f969d53eca Merge fx-team to central, a=merge 2015-11-02 14:26:35 -08:00
Fabrice Desré
ba232e5b22 Bug 1219032 - Rename B2GDroid to Firefox OS developer preview r=me 2015-11-02 09:54:21 -08:00
Phil Ringnalda
57ee9d8b13 Merge f-t to m-c, a=merge 2015-10-31 17:02:44 -07:00
Richard Newman
02404d5c47 Bug 643633 - Remove TTLs from form history records. r=markh,nalexander 2015-10-30 22:19:56 -07:00
Michael Comella
87222498e5 Bug 1220196 - Explicitly set AppCompatCheckBox in xml. r=sebastian
We don't extend AppCompatActivity in GeckoApp (bug 1220309) so these
edge cases are not getting auto-inflated to their AppCompat
counterparts.
2015-10-30 15:24:58 -07:00
Michael Comella
f755715e07 Bug 1214939 - Explicitly use AppCompatCheckBox in PromptInput. r=sebastian
This way it inherits from the AppCompat styles like accentColor.
2015-10-30 15:32:47 -07:00
Kartikaya Gupta
68a1daacff Bug 1218386 - Truncate rather than round the touch coordinates sent by Android because if they get rounded up they might become invalid. r=snorp 2015-11-02 12:18:58 -05:00
Michael Comella
f1f91f9041 Bug 1219950 - Remove special youtube intent handling code. r=rnewman
This code was originally added to request HTML5 video from Youtube under
certain conditions but Youtube serves HTML5 video by default and it is no
longer necessary.
2015-10-29 16:08:11 -07:00
Sebastian Kaspari
6fce65d732 Bug 1182918 - Tab Queue: Add telemetry for double tap action. r=mfinkle 2015-10-27 10:47:03 +01:00
Ahmed Khalil
485957b1c7 Bug 1217581 - Crash when using Telemetry.addToHistogram after using Telemetry.addToKeyedHistogram, r=nalexander 2015-10-30 14:31:00 +01:00
Jim Chen
4c2eb263e3 Bug 1213888 - Block LayerView descendants from interfering with focus. r=kats
Using a hardware keyboard makes Android leave "touch mode", and when
leaving touch mode from a ViewGroup that prefers descendant
focusability, which is what a ScrollView is, Android will shift the
focus to the next available View, and cause our LayerView to lose focus.
The fix is to set the descendant focusability to blocking.
2015-10-30 08:30:00 +01:00
Wes Kocher
691cc3853f Merge m-c to inbound, a=merge 2015-10-30 16:57:55 -07:00
Jim Chen
c41daac7ca Bug 1215163 - Add additional tests to testInputConnection; r=esawin
Add tests for setComposingRange and sendKeyEvent to testInputConnection.
2015-11-03 11:53:58 -05:00
Jim Chen
c04f818889 Bug 1216666 - Only send key events for single-character strings; r=esawin
GeckoEditable currently synthesizes key events when committing strings,
to improve web compatibility. However, synthesizing keys is causing
performance problems when the string is long. This patch limits key
synthesis to single-character strings. For longer strings, we commit the
string as a whole. We have other ways of ensuring web compatibility now
(sending dummy key events), so this restriction should not cause
regressions.
2015-11-03 11:53:58 -05:00
Jim Chen
40b3640c1c Bug 1216666 - Update composition as part of replacing text or changing span; r=esawin
Currently, GeckoEditable periodically fires update composition events to
update the Gecko composition styling. To make the code more efficient
and more robust in dealing with content JS code, this patch merges these
events into events like replacing text, setting span, and removing span.
As a result, a setComposingText call now results in one replacing text
event instead of a replacing text event plus an update composition event.
2015-11-03 11:53:58 -05:00
Jim Chen
16c7c58422 Bug 1216666 - Separate out Gecko selection from Java selection; r=esawin
Currently, the Gecko-side selection tries to mirror the Java-side
selection, but this is difficult because the Gecko selection has some
subtle but important behavior differences from the Java selection.
This patch separates out Gecko selection from Java selection so that
they're only loosely coupled. The two selections will periodically
synchronize through events and notifications, but at certain times they
may fall out-of-sync, for example when a composition is active. This
shouldn't affect functionality in a major way, and it's an acceptable
trade-off.
2015-11-03 11:53:57 -05:00
Ehsan Akhgari
94e1c22d9d Bug 1202085 - Part 2: Add an optional document argument to imgICache::FindEntryProperties(); r=seth 2015-10-30 16:03:09 -04:00
sgiles
e46f28c8b3 Bug 1219075 - Enable Android lockscreen for b2gdroid r=fabrice 2015-10-28 22:18:09 +00:00
Rail Aliiev
9294e62e49 Bug 1218046 - Bump b2g version. r=fabrice 2015-10-29 09:07:29 -04:00
Carsten "Tomcat" Book
bc34f8a9a0 merge mozilla-inbound to mozilla-central a=merge 2015-10-29 11:49:27 +01:00
Chenxia Liu
81177cc64b Bug 1214333 - Signal to users when they are on an insecure page with a password field. r=margaret 2015-10-27 18:23:02 -07:00
Wes Kocher
81dcce0528 Merge m-c to fx-team, a=merge 2015-10-28 17:09:14 -07:00
Nick Alexander
231ad77d9b Bug 1219058 - Part 2: Normalize Robocop test harness source layout. r=gbrown
Pretty straight-forward.  The win here is that the directory is now
sensible, so we don't need the robocop_harness symlink for the Gradle
build configuration.
2015-10-27 17:16:09 -07:00
Nick Alexander
3cf3174243 Bug 1219058 - Part 1: Normalize Robocop test source layout. r=gbrown,mfinkle
This moves the Robocop test code into src/org/mozilla/gecko/tests.
The org/mozilla/gecko/tests matches the package name we have now.
2015-10-27 16:45:00 -07:00
Nick Alexander
04c3308b4c Backed out changesets fb5765dffe01 and 0447429a5627 (Bug 1219058). r=me
I realize I wanted to shorten these paths in response to review
comments.  I'll reland shortly.
2015-10-28 14:47:14 -07:00
Nick Alexander
e04d2ebd56 Bug 1219058 - Part 2: Normalize Robocop test harness source layout. r=gbrown
Pretty straight-forward.  The win here is that the directory is now
sensible, so we don't need the robocop_harness symlink for the Gradle
build configuration.
2015-10-27 17:16:09 -07:00
Nick Alexander
81efb9df3f Bug 1219058 - Part 1: Normalize Robocop test source layout. r=gbrown,mfinkle
This moves the Robocop test code into
src/androidTest/java/org/mozilla/gecko/tests.  The
src/androidTest/java is Gradle standard; the org/mozilla/gecko/tests
matches the package name we have now.
2015-10-27 16:45:00 -07:00
Michael Comella
2a7aa90131 Bug 1218040 - Set intent redelivery on TabReceivedService. r=nalexander 2015-10-28 11:20:35 -07:00
Margaret Leibovic
5bbca3cdc7 Bug 1218858 - Update tracking protection language in about:privatebrowsing. r=mfinkle 2015-10-28 11:53:49 -04:00
Stanislas Dolcini
26f93d45fb Bug 1147197 - Fix Indentation in LoginManagerPrompter.js r=margaret 2015-10-28 11:53:46 -04:00
Kartikaya Gupta
c6ddcfebd1 Bug 1219243 - Fix typo causing scrolling of subframes to be broken on fennec. rs=xidorn 2015-10-28 10:56:21 -04:00
Carsten "Tomcat" Book
da15097e12 merge mozilla-inbound to mozilla-central a=merge 2015-10-28 10:43:33 +01:00
Nick Alexander
21e9816e85 Bug 1207708 - Part 2: Build against play-services-{basement,base,gcm} if MOZ_ANDROID_GCM. r=sebastian
Since MOZ_NATIVE_DEVICES builds against play-services-{basement,base,cast},
some ad-hoc de-duplication is necessary.
2015-10-27 17:41:49 -07:00
Nick Alexander
4e763c56da Bug 1207708 - Part 1: Add MOZ_ANDROID_GCM{_SENDERID} build flags. r=sebastian
These flags are not intended to be feature specific.  On day one, we
intend to support a single GCM-backed feature -- Push Notifications --
but the set of GCM-consuming features is potentially large (e.g.,
possibly Firefox Sync tickles and Send Tab to Device alerts).  Such
features can and will have their own build flags.

Note that GCM sender IDs are not sensitive -- see link in code
comment.  Since this is something custom branding will almost always
want to set, I don't want to bury the default value in confvars.sh.
2015-10-27 17:42:35 -07:00
Michael Comella
83ff4168f4 Bug 1213490 - review: Move BrowserApp.getOtherSyncClientCount -> TabsAccessor.getRemoteClientCount. r=me 2015-10-27 17:08:28 -07:00
Michael Comella
4d373825d1 Bug 1213490 - Handle shareplane when device list cannot be shown. r=nalexander
The handled cases are:
  * The user is not signed in (sync setup is shown)
  * The user is signed in but has no other synced devices (toast is shown)
2015-10-27 16:59:39 -07:00
Mike Hommey
1b8325b9e4 Bug 1218628 - Remove reference to non-existent desktop Firefox default theme related files from b2g and fennec package manifests. r=mshal 2015-10-29 10:26:25 +09:00
Michael Comella
1a2e7098d3 Bug 1213490 - Move send to device handling code to a separate method. r=nalexander
This makes space to do more in the upcoming patches.
2015-10-19 16:22:37 -04:00
Nick Alexander
111ea0d439 Bug 1191068 - Support "Choose what to Sync" in Fennec web sign in. r=vivek
The set operation is:

* known engines are enabled by default;
* unchecked engines from fxa-content-server are disabled;
* the "forms" engine is special: it's always the same as "history".
2015-10-26 16:37:48 -07:00
Nick Alexander
bc67abe422 Bug 1216100 - Handle "fxaccounts:sync_preferences" message in FxA WebChannel. r=vivek
The only wrinkle is that we don't always have an Activity context, so
we always start a new task.  We might want to revisit that decision.
2015-10-26 16:31:19 -07:00
Nick Alexander
1ad122e69a Bug 1218935 - Normalize background JUnit3 source layout. r=me,rnewman 2015-10-27 11:56:06 -07:00
Nick Alexander
1df2756a34 Bug 1025128 - Part 2: Fix JUnit 3 tests. r=me,vivek 2015-10-27 14:28:20 -07:00
vivek
8fcc2c103f Bug 1025128 - Part 1: Regularize tabs and clients tables. r=nalexander
This patch bumps the browser.db version to 25 and makes
tabs.client_guid a foreign key to client.guid.  It also replaces the
non-standard "rowid" with "_id".

Together, these disambiguate client_guid and guid and fix non-local
client deletion.
2015-10-27 14:44:23 -07:00
Carsten "Tomcat" Book
ebad2357f5 Backed out changeset 077054793949 (bug 1215147) for android test failures on a CLOSED TREE 2015-10-27 12:22:04 +01:00
Carsten "Tomcat" Book
5c15b64f12 Merge mozilla-central to fx-team 2015-10-27 10:59:26 +01:00
Carsten "Tomcat" Book
6e2c19312a merge mozilla-inbound to mozilla-central a=merge 2015-10-27 10:55:48 +01:00
Carsten "Tomcat" Book
bba0941691 merge fx-team to mozilla-central a=merge 2015-10-27 10:52:31 +01:00
Xidorn Quan
5227db7163 Bug 962249 part 1 - Add Element.scroll{Top,Left}Min (chrome-only) and convert most of scrollLeftMax uses and part of scrollTopMax uses to combinations with the new properties. r=roc,bz 2015-10-27 13:38:02 +09:00
Wes Kocher
9ddb296228 Merge m-c to fx-team, a=merge 2015-10-26 14:39:31 -07:00
Wes Kocher
f6556e7c20 Merge inbound to m-c a=merge 2015-10-26 14:32:00 -07:00
Fabrice Desré
3277790070 Bug 1216834 - Don't override android wallpaper at first run r=sgiles 2015-10-26 09:42:30 -07:00
Richard Newman
170a6b2f12 Bug 1218410 - Bump b2gdroid to Android API 14+. r=fabrice. b2gdroid-only on a CLOSED TREE 2015-10-26 08:15:07 -07:00
Michael Comella
a32accff68 Bug 1140210 - Rename MenuItemActionView styles to new name. r=liuche 2015-10-15 14:55:28 -07:00
Michael Comella
5f545b4e30 Bug 1140210 - menu_item_action_view -> menu_item_switcher_layout. r=liuche 2015-10-15 14:51:26 -07:00
Michael Comella
88a0566b3c Bug 1140210 - Add class comment to MenuItemSwitcherLayout. r=liuche 2015-10-15 14:48:37 -07:00
Michael Comella
cc4c8bbb64 Bug 1140210 - MenuItemActionView -> MenuItemSwitcherLayout. r=liuche 2015-10-15 14:48:06 -07:00
Michael Comella
80d1212f3e Bug 1213486 - Resize shareplane in top level menu. r=liuche
The menu code is hard to change (I filed bug 1216328) so I opted
to save time by adjusting the padding in the image with an inset
drawable. It'd be better to adjust it statically in the menu code.
2015-10-19 16:17:04 -04:00
Nick Alexander
8e9909e91c Bug 1214366 - Part 4: Add mochitest-chrome test. r=rnewman 2015-10-23 10:09:44 -07:00
Nick Alexander
86e099e294 Bug 1214366 - Part 3: Use getLastVisited equivalent in PushService.jsm. r=kitcambridge,rnewman 2015-10-23 10:07:05 -07:00
Nick Alexander
a204aebd2c Bug 1214366 - Part 2: Add getLastVisited equivalent to Fennec. r=rnewman
The approach is the same as that used on Desktop.  The function name
calls out the "prePath" and "milliseconds" since the first is likely
to be overlooked by Fennec consumers, and the second is notably
different than Desktop (where the database timestamps are microseconds).
2015-10-23 10:06:26 -07:00
vivek
2e724afe9a Bug 1218129: Added instanceof check before call to QueryInterface r=margaret
Thanks for that trick @mfinkle
2015-10-26 19:40:39 +02:00
Michael Comella
c726fd222b Bug 1215353 - Move TabReceivedBroadcastReceiver notifications to IntentService. r=nalexander 2015-10-21 14:19:49 -04:00
Christian Schmitz
6b693f6fcc Bug 1210242 - Support assist icon for Search Activity in Lollipop. r=mcomella 2015-10-15 19:26:38 +02:00
Jonathan Almeida [:jonalmeida]
8acce0561d Bug 1217232 - Hide placeholder svg path in context menu when unblocking image r=mfinkle 2015-10-23 17:32:39 -04:00
Michael Comella
31e87bb62f Bug 1216503 - Have GeckoPrefs inherit from Gecko on 5+. r=sebastian
Before we inherited from GeckoBase, which did not have the colorAccent
attribute.
2015-10-20 15:38:39 -04:00
Wes Kocher
6c59a72f4e Merge m-c to fx-team, a=merge 2015-10-23 15:52:55 -07:00
Wes Kocher
735b6de61a Merge b2ginbound to central, a=merge 2015-10-23 15:46:08 -07:00
Nick Alexander
736af7e6fa Bug 1192064 - Determine |mach artifact| job from mozconfig. r=me 2015-10-23 15:02:02 -07:00
Nick Alexander
5fb41e1225 Bug 1192064 - Add 'android-x86' job to |mach artifact|. r=jonalmeida 2015-10-23 12:55:16 -07:00
Fabrice Desré
86f7a53d90 Bug 1207421 - Find a way to access the gaia task switcher r=reuben 2015-10-23 08:57:55 -07:00
Sebastian Kaspari
be2d56c19a Bug 1202753 - Tabs tray (Grid): Scroll to selected tab if it is not visible. r=margaret 2015-10-23 12:57:17 +02:00
J. Ryan Stinnett
4268b06e64 Bug 1217687 - Revert back to including /devtools via toolkit. r=glandium 2015-10-23 06:04:45 -05:00
Carsten "Tomcat" Book
43ac9aa32c Merge m-c to fx-team 2015-10-23 11:51:27 +02:00
Sebastian Kaspari
345fd3058a Bug 1217003 - Tabs tray (List): Remove unused landscape layout. r=margaret 2015-10-23 10:26:03 +02:00
Sebastian Kaspari
943c644af4 Bug 1217003 - Tabs tray (List): Use ImageView without background for close button. r=margaret
This creates feature parity with the tab view of the grid tabs tray.

Previously the ImageButton created an unpleasant effect when the List row was pressed (due to
duplicateParentState). Rather than losing the selection state by removing duplicateParentState,
this patch will effectively remove the focus state from the close button. This ressembles the
behavior of the close button in the grid version of the tabs tray.
2015-10-22 12:41:04 +02:00
Sebastian Kaspari
3cd97f71d6 Bug 1217003 - Tabs tray (List): Use different text color and close button style if tab is selected. r=margaret
This will create feature parity with the look & feel of tabs in the grid view.
2015-10-22 12:30:54 +02:00
Sebastian Kaspari
070e6503c3 Bug 1217003 - Tabs tray (List): Add drawable padding for audio indicator. r=margaret
This patch is using the same value we use in the tabs tray grid (tabs_layout_item_view.xml).
2015-10-22 12:13:37 +02:00
Sebastian Kaspari
2d684158f8 Bug 1217003 - Tabs tray (List): Vertically center tab title. r=margaret 2015-10-22 12:07:32 +02:00
Sebastian Kaspari
694a5b0ad4 Bug 1215950 - GeckoInputConnection: Run re-focus workaround on the UI thread. r=jchen 2015-10-23 10:05:40 +02:00
Nick Alexander
677ae7ed0e Bug 1215604 - Use <intent-filter> indirection to allow native and web Sync Get Started activities. r=margaret 2015-10-21 15:32:42 -07:00
Wes Kocher
46abbaa2c9 Backed out changeset a6eb8032ebf6 (bug 1217416) for b2gdroid build bustage 2015-10-23 14:25:49 -07:00
Sebastian Kaspari
afd629b807 Bug 1208863 - CropImageView: Reset matrix before reusing it. r=margaret 2015-10-23 19:52:34 +02:00
Sebastian Kaspari
fd91eeb08c Bug 1203137 - Tabs tray (Grid): Explicitly disable fading edge. r=margaret
On newer devices there's no fading edge but on Gingerbread you can see
an ugly, misplaced fading edge effect.
2015-10-23 17:14:33 +02:00
Sebastian Kaspari
c145aa0da2 Bug 1217416 - Override Snackbar.Message style in base theme. r=margaret 2015-10-23 21:16:37 +02:00
Sebastian Kaspari
d9659674c2 Bug 1204760 - Use snackbar instead of toast for "undo close tab" notification. r=mcomella 2015-10-22 14:16:32 +02:00
Sebastian Kaspari
9e867e9587 Bug 1215026 - Create API for Snackbars. r=mfinkle 2015-10-22 14:15:42 +02:00
Wes Kocher
f78f9e2b74 Merge m-c to inbound, a=merge 2015-10-22 16:56:10 -07:00
Wes Kocher
177e80ad1c Merge fx-team to central, a=merge 2015-10-22 16:45:45 -07:00
Jim Chen
b58f3ebdd2 Bug 1211704 - Remove obsolete GeckoEvent definitions; r=esawin
Remove obsolete GeckoEvent definitions from GeckoEvent.java and
AndroidJavaWrappers.cpp/h.
2015-10-22 17:45:47 -04:00
Jim Chen
f873799294 Bug 1211704 - Let GeckoEditable call disposeNative; r=esawin
Right now we call disposeNative on GeckoEditable in the
nsWindow::Natives destructor. However, we may still have pending native
calls in the event queue at that point, and these events will cause
exceptions when handled. This patch makes GeckoEditable call
disposeNative, after ensuring there's no pending calls.
2015-10-22 17:45:47 -04:00
Jim Chen
2e0708ff26 Bug 1211704 - Convert IME events to native calls; r=esawin
Remove IME events from GeckoEvent and use the newly added native calls
in GeckoEditable.
2015-10-22 17:45:46 -04:00
Jim Chen
b9393e69ac Bug 1211704 - Add GeckoEditable native methods; r=esawin
These native methods will replace the IME events used by GeckoEditable.
2015-10-22 17:45:46 -04:00
Jim Chen
5ffcc3355f Bug 1215139 - Separate out nsWindow closing from disposeNative; r=snorp
This patch adds a separate close() call to nsWindow, and let the
GeckoView decide whether to make that call or not. This lets us use the
static version of disposeNative. If nsWindow is destroyed in the
meantime, we still want to call disposeNative, which would only be
possible using the static version of disposeNative.
2015-10-22 17:45:46 -04:00
Jim Chen
23baf7418f Bug 1210585 - Add native calls for key events; r=esawin
This patch adds a native call to GeckoEditable that will handle key
events instead of using GeckoEvent.KEY_EVENT.
2015-10-22 17:45:46 -04:00
vivek
0f5d5954e7 Bug 1217016 : Added null check in xpi install observer r=margaret
This definitely a fallout from 1201547. I failed to audit whether subject
is not null for all the notifications. Seems like it is null for
"xpi-signature-changed" [1].

[1] http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/internal/XPIProvider.jsm#2993
2015-10-21 19:34:49 +03:00
Mark Finkle
f88a190659 Bug 1210089 - Remove NIGHTLY flag for Switchboard support r=margaret 2015-10-22 01:06:19 -04:00
Mark Finkle
f57000b9b4 Bug 1210088 - Make sure the Switchboard config fetch acts like a true HTTP GET r=margaret 2015-10-22 01:06:15 -04:00
Mark Finkle
f16085a61c Bug 1210088 - Point Switchboard URLs to new mozilla-services endpoint r=margaret 2015-10-22 01:06:09 -04:00
Christian Schmitz
064be0976b Bug 1172083 - Link to "customize search providers" when user presses search label in quick search bar. r=mcomella 2015-10-15 14:20:37 +02:00
Sebastian Kaspari
d35b05d027 Bug 1189306 - Add Android Design Support library to gradle and mach builds. r=nalexander 2015-10-15 13:01:32 +02:00
Sebastian Kaspari
f49e7eb799 Bug 1217109 - TabsPanel: Remove unused methods. r=margaret 2015-10-23 14:15:50 +02:00
Sebastian Kaspari
1f47255ddc Bug 1217109 - Replace TabsLayoutContainer with FrameLayout. r=margaret 2015-10-23 14:04:09 +02:00
Sebastian Kaspari
39226bbcda Bug 1217109 - Remove OuterLayout and drag handling. r=margaret
After switching to a full screen tabs tray there's no chrome to drag anymore.
2015-10-23 13:44:37 +02:00