Commit Graph

18131 Commits

Author SHA1 Message Date
Sebastian Kaspari
220f8575d6 Bug 1204851 - Inline back button in tabs panel layout. r=margaret
Previously we used a ViewStub to only show the back button for some configurations. Now we
show the button always, so we can get rid of the ViewStub.

--HG--
extra : commitid : EcIVAzNG08l
extra : rebase_source : 4bf70217fee2c8913a8343da1bf579b183c81693
2015-10-20 12:48:16 +02:00
Sebastian Kaspari
b20d449c97 Bug 1204917 - Remove Nightly flag for back button in tabs tray. r=margaret
--HG--
extra : commitid : 3eWonkL2jBq
extra : rebase_source : e641b2c31b7082175851eb99c396af56ad2d613c
2015-10-20 12:43:33 +02:00
Nick Alexander
d8b296faa4 Bug 1216434 - Don't symlink to objdir in |mach gradle-install|. r=sebastian
DONTBUILD NPOTB

This has always been possible with Gradle -- Gradle doesn't care where
in the file tree resources are found.  (Gradle is perfectly happy to
take resources from outside of the root project directory.)  IntelliJ,
however, displays resources outside of known "content roots" in
special and frankly unhelpful ways.  Here, we avoid that on a
technicality: IntelliJ doesn't acknowledge (or even register a content
root!) for the non-standard AndroidManifest.xml locations set in
build.gradle.  This means we don't see odd content roots in unexpected
places in IntelliJ.

With this change, the formerly failing command

mach clobber && mach configure && mach gradle-install

completes successfully.  That gets us one step closer to being able to
open Fennec in IntelliJ without running additional commands.

--HG--
extra : commitid : 6KuAzJIpq3Y
extra : rebase_source : 0b85181412d86fa49ee52cf7d612dd3c4028dfb6
extra : histedit_source : 6b8d8171810501a0af053df080b336af70c456b6
2015-10-18 16:44:04 -07:00
Nick Alexander
3d37255928 Bug 1216430 - Use Gradle version 2.7. r=sebastian
DONTBUILD NPOTB

--HG--
extra : commitid : A0aZcd0tZL8
extra : rebase_source : df35101b7ee2164837c98f9e8f768d2f8ea8aeb0
extra : histedit_source : 57291b70b841c84d6542ded8f2a3fa0263ae4732
2015-10-18 17:05:29 -07:00
Nick Alexander
6b0e257278 Bug 1208793 - Part 4: Remove 'preprocessed_code' Gradle project. r=sebastian
DONTBUILD NPOTB

This needed the same dependency changes that the previous part did.
There's a nice simplification here because some of the code is now
being compiled in the containing project (base) and not the (now
removed) sibling project.

--HG--
extra : commitid : IHKXiR8SpLr
extra : rebase_source : 0b2e03f0a76ed17782f0bbaba61adbfa547a6ba2
extra : histedit_source : 0c3420152b2c37dfcbb6e11e6ca58e6c03ad7aca
2015-10-19 18:22:32 -07:00
Nick Alexander
8f151be29c Bug 1208793 - Part 3: Remove 'preprocessed_resources' Gradle project. r=sebastian
While testing, I found some issues with the existing dependencies.  To
address them, I've made all project preBuild tasks depend on the
(single) root generateCodeAndResources; this should ensure that the
Make integration happens as early as possible.  In addition, I fixed
the dependencies syncing the generated resources into the build
directory, which weren't quite right.  This works well locally now.

--HG--
extra : commitid : 4Kblf9h0yst
extra : rebase_source : e9e6fa415939f2622a7cfc09f5945e31269338e4
extra : histedit_source : 4cdf1470a0d99b1f805a4fda69d57f425f613421
2015-10-19 18:06:10 -07:00
Nick Alexander
960750c909 Bug 1208793 - Part 2: Remove 'branding' Gradle project. r=sebastian
Technically, branding should be part of the App and not GeckoView, but
we don't have separated resources yet, so in it goes.

--HG--
extra : commitid : 5r00T6BTBRE
extra : rebase_source : ca1411809bb5352617814bc136689d77358fd29c
extra : histedit_source : a435587e3bf16ad3f5457936a0e4efeffa69f9a4
2015-10-19 17:10:53 -07:00
Nick Alexander
b27086641f Bug 1208793 - Part 1: Fix gradle-targets dependencies. r=sebastian
We were both lazy and incomplete before.  Lazy because .aapt.deps is a
sentinel, and doesn't necessarily see relevant changes, due to
timestamps and deletions.  Incomplete because we never forced
generated Java code to be fresh.

--HG--
extra : commitid : JXLe9uWqjhN
extra : rebase_source : 8eaa2d012915ad59d5cd03d7e4a6552ae4db13c1
extra : histedit_source : 231ca7ad88e7965424a8c8a3e80dac68a32980a7
2015-10-19 17:01:26 -07:00
Carsten "Tomcat" Book
c6d3789b06 Merge m-c to fx-team 2015-10-20 12:33:28 +02:00
Carsten "Tomcat" Book
3198b767f9 merge mozilla-inbound to mozilla-central a=merge 2015-10-20 12:00:53 +02:00
Mark Finkle
4f8370bb2f Bug 1216265 - Remove any UI telemetry probes that reveal a user has entered private browsing r=margaret 2015-10-19 17:42:50 -04:00
Mark Finkle
58be207ba8 Bug 1216047 - Add tests for BrowserApp.selectOrAddTab r=margaret 2015-10-20 01:09:30 -04:00
Mark Finkle
b08325144f Bug 1216047 - Fix handling of undefined aFlags in getTabWithURL r=margaret 2015-10-20 01:08:59 -04:00
Margaret Leibovic
f6018c9552 Bug 1216265 - Only record tracking protection telemetry in non-private tabs. r=mfinkle
--HG--
extra : commitid : HGTLaZekyfw
extra : rebase_source : 776a5f88eb8fd6e00ced8d3bac2e25878e867a94
2015-10-19 15:30:17 -04:00
vivek
c6f4757cca Bug 993698 Update target density while reading BitmapDrawable from stream r=sebastian
--HG--
extra : commitid : BQjbGZ7UqS6
extra : rebase_source : 20af2f03335c2be2c8b2dd08433fe2189066ddbf
extra : amend_source : 653eb8a5203906a2fed5772b7b13328a3d9ff944
2015-10-13 19:52:15 +03:00
Sebastian Kaspari
c96f0af751 Bug 1214602 - Bring back single column layout for tabs tray. r=margaret
This patch will use the single column list on phones in portrait mode
again. In landscape mode the multi column grid will be used.

In addition to that this patch removes the Nightly flag (Bug 1204917).

--HG--
extra : commitid : Cw6uqgLYChb
extra : rebase_source : d9e45369adb0bba89f0376c6756eddafc6d71ae1
2015-10-19 11:23:43 +02:00
Michael Comella
7e6130a355 Bug 1208956 - Only open http* scheme in intent fallback uris. r=nalexander
This follows Chrome's behavior.
2015-10-05 17:25:19 -04:00
Kershaw Chang
f182f7563e Bug 1200132 - Part2: Get IP address by calling InetAddress.getHostAddress(), r=mcmanus, rnewman 2015-10-21 02:53:00 +02:00
Carsten "Tomcat" Book
ec9c88ad1d Merge m-c to mozilla-inbound 2015-10-22 11:55:01 +02:00
Liang-Heng Chen
9f41e090ae Bug 1205237 - Part 2: add PresentationNetworkHelper; r=schien 2015-10-18 23:06:00 +02:00
Liang-Heng Chen
44982d9a0a Bug 1205237 - Part 1: get Wi-Fi IP address via Android API; r=rnewman 2015-10-19 19:46:00 +02:00
Carsten "Tomcat" Book
1ee391eb20 Merge m-c to mozilla-inbound on a CLOSED TREE 2015-10-21 15:34:18 +02:00
Carsten "Tomcat" Book
4dfc4e00c8 Backed out changeset 1aca15a8d20d (bug 1205237) for mulet 3 test failures on a CLOSED TREE 2015-10-21 11:15:31 +02:00
Carsten "Tomcat" Book
f7cf52bdc6 Backed out changeset 2c0b212a2879 (bug 1205237) 2015-10-21 11:14:49 +02:00
Liang-Heng Chen
2611240343 Bug 1205237 - Part 2: add PresentationNetworkHelper; r=schien
--HG--
extra : rebase_source : 7e5e6f1dd260cf530b2da33b4025ecbeda793c15
2015-10-18 23:06:00 +02:00
Liang-Heng Chen
e998adb4cf Bug 1205237 - Part 1: get Wi-Fi IP address via Android API; r=rnewman
--HG--
extra : rebase_source : 2455c29e1c9e0ef6afd94776d31dfeeb42bcd5b2
2015-10-19 19:46:00 +02:00
Daniel Holbert
fe03de9f57 (no bug) Fix typo (s/Geck/Gecko/) in log tag for Android PasswordsProvider. r=nalexander 2015-10-20 14:30:29 -07:00
Sebastian Kaspari
b53c517d4e Bug 1190375 - Disable Android (Auto) Backup. r=mfinkle
--HG--
extra : commitid : 5fxRU8aNOyU
extra : rebase_source : f5c613702cd7028bef1ae1b343bdb7810947e533
2015-07-24 16:09:19 +02:00
Jonathan Almeida [:jonalmeida]
2bf986ee4e Bug 1217997 - Remove sharing and copying image when using tap-to-load images r=mfinkle
--HG--
extra : transplant_source : %7C%F9%D1%E4%2C%7Ba%B2%1A%27B%0E_l%CA%ABc%AF%B7%EB
2015-10-23 18:20:01 -04:00
Daosheng Mu
b30e47d627 Bug 1215147 - Enable VR API's on FF for Android by default. r=snorp 2015-10-26 23:09:00 +01:00
Jonathan Almeida
0df5c69880 Bug 1174366 - Remove "Edit Site Settings" from Page menu. r=liuche
--HG--
extra : transplant_source : %5Dg%14%236Z%D4%CE%8B%D9%88H8%27z%87%01%18%AC%3F
2015-06-30 17:37:41 -07:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Phil Ringnalda
9ea53214d8 Merge f-t to m-c, a=merge 2015-10-17 11:19:46 -07:00
Masatoshi Kimura
9621a78c93 Bug 1207137 - Implement weak crypto override UI. r=ttaubert 2015-10-17 09:38:31 +09:00
Michael Comella
c6f48afc97 Bug 1147653 - Review - add exit animation to AnimationSet. r=me
--HG--
extra : commitid : 5AMLDg3mBGv
extra : rebase_source : 2f17576585e1e3ff18163d7266828e483913c39a
2015-10-16 15:06:48 -07:00
Wes Kocher
1662b03a4f Merge m-c to inbound, a=merge 2015-10-16 12:30:35 -07:00
Carsten "Tomcat" Book
f56a925c1e Merge m-c to fx-team 2015-10-16 15:01:23 +02:00
Carsten "Tomcat" Book
15c4d32dd7 merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Ehsan Akhgari
9dd6f325b3 Bug 1215601 - Enable service workers for non-release builds on Fennec similar to desktop; r=bkelly 2015-10-16 14:08:08 -04:00
Michael Comella
dc1b55b9c2 Bug 1201770 - Update google search engine icon. r=margaret
I added a wiki page to note how to do this in the future:
  https://wiki.mozilla.org/Mobile/Fennec/Android/Updating_search_engine_icons

--HG--
extra : commitid : Ip8CADRg3gF
extra : rebase_source : f5d87e1b53971f30e655044c55d2ade0799532d8
2015-10-15 11:01:45 -07:00
Michael Comella
445ee88b6f Bug 1147653 - Set fullscreen click listener to dismiss animation early. r=sebastian
--HG--
extra : commitid : IycTe4VwjtF
extra : rebase_source : 4d237b6625bd41b71414b1bae454c28758a4337e
2015-10-14 15:48:21 -07:00
Michael Comella
a82b40fa1b Bug 1147653 - Update share overlay confirmation screen. r=sebastian
This new screen better fits the style of the share overlay.

--HG--
extra : commitid : Cmru9467h5K
extra : rebase_source : b3658b71eafa13ded04dc9bb7da4a3355054450f
2015-10-14 16:03:34 -07:00
Michael Comella
79a3ec8611 Bug 1147653 - Remove newly unused Strings. r=sebastian
These Strings' callsites were removed in the previous commit.

--HG--
extra : commitid : 80m2nfG6q7p
extra : rebase_source : a012df2154652404380c3221191953fd2353ef63
2015-10-14 16:03:19 -07:00
Michael Comella
e3974ba2af Bug 1147653 - Remove share overlay toast code. r=sebastian
The upcoming commits will replace the toast with an alternative confirmation.
Note that this new confirmation will occur *before* the share event, meaning we
can't show the user whether the share actually passed or failed. However,
failure is essentially non-existent so we don't care.

--HG--
extra : commitid : CpdtyrIVEcy
extra : rebase_source : da6721fa6e5af3cd0241167ad629b90cdb7b4f26
2015-10-14 16:00:03 -07:00
Michael Comella
b2a368cf3d Bug 1147653 - Add larger green check assets. r=sebastian
Note that these assets will be consolidated in bug 1212629.

--HG--
extra : commitid : 4Bns1UBRvrs
extra : rebase_source : 8bf8f5fefc5c586386c2b720037c9f5cb23366f6
2015-10-13 16:38:02 -07:00
Michael Comella
5365d2ffca Bug 1214401 - Remove android: prefix from several attributes. r=sebastian
This should make these attributes compatible with Theme.AppCompat.

--HG--
extra : commitid : IsmpzvpV3ox
extra : rebase_source : 92eed417ac1067cd962c57624d8b2530cdba8fd6
2015-10-15 10:08:45 -07:00
Michael Comella
0033ed3909 Bug 1214401 - Make CrashReporter extend AppCompatActivity. r=sebastian
--HG--
extra : commitid : A8iTVHqDA0P
extra : rebase_source : 5e30005fcbe79e05ee8df1d6157ca6fd3158683a
2015-10-14 17:14:49 -07:00
Michael Comella
d4e507bc0a Bug 1214401 - Move accentColor to non-API specific application styles. r=sebastian
We override this in most places so it shouldn't affect the application too much.

--HG--
extra : commitid : 21btkn6GZap
extra : rebase_source : 600f66cc5836ad040a4ec497569f6cb6d6b2df19
2015-10-14 16:13:28 -07:00
Kalpesh Krishna
2a09224700 Bug 1205817 - Fixing ellipsis issue. r=vivek
--HG--
extra : commitid : ByrbxJa6dWE
extra : amend_source : 5bf88b8f79be6971faf0de9f9685168fbcc467be
2015-10-15 18:35:54 +03:00
Sebastian Kaspari
557dca1b5e Bug 1214630 - Rename 'tabContentStart' attribute of TabMenuStripLayout. r=mcomella
This will resolve conflicts when introducing the android design support library
in bug 1189306.

--HG--
extra : commitid : 6mkNPj0xng4
extra : rebase_source : 3feee4e9f361cb3e18e7c7c02f6ec206de6cb015
2015-10-15 12:11:09 +02:00
Alexandre Poirot
89cb263b54 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
Carsten "Tomcat" Book
9e9666b762 merge mozilla-inbound to mozilla-central a=merge 2015-10-15 11:52:40 +02:00
Mark Finkle
d0fb347fcf Bug 1194182 - Add some toast telemetry r=margaret 2015-10-14 16:08:29 -04:00
Mark Finkle
8a4bae3106 Bug 1194182 - Implement switch-to-tab for add-on toast notifications r=margaret 2015-10-14 16:08:26 -04:00
Mark Finkle
e8aec8d2ac Bug 1194182 - Change DownloadNotifications.jsm to support newer selectOrAddTab r=margaret 2015-10-14 16:08:21 -04:00
Allison Naaktgeboren
b54510f21d Bug 1207845 - bold part of the suggestion button that is not mUserSearchTerm for search suggestions.r=mcomella 2015-10-14 14:57:48 -04:00
Jim Chen
b61049781c Bug 1211600 - Queue disposeNative call for GeckoView if Gecko is not ready; r=snorp
If Gecko is not ready, we should queue the disposeNative call in
GeckoView.onDetachedFromWindow instead of calling it right away. We use
the PROFILE_READY state here to correspond to
GeckoView.onAttachedToWindow, where we make the open call on
PROFILE_READY.
2015-10-15 15:49:49 -04:00
Carsten "Tomcat" Book
ca6314e244 merge fx-team to mozilla-central to pick up rc1 bustage fix on a CLOSED TREE 2015-10-14 16:18:07 +02:00
Sebastian Kaspari
78e59ca46f Bug 1213921 - Only check application restrictions to determine whether the user is on a restricted profprofile. r=ally
--HG--
extra : commitid : H9Pc5CaMXHf
extra : rebase_source : e224982841f87052d751a7fa7cabeac4d6b9a93f
2015-10-14 12:46:51 +02:00
Carsten "Tomcat" Book
e4f4a66c39 Merge m-c to fx-team 2015-10-14 12:48:50 +02:00
Carsten "Tomcat" Book
0ecf764867 merge mozilla-inbound to mozilla-central a=merge 2015-10-14 12:46:09 +02:00
Carsten "Tomcat" Book
b89882ad11 merge fx-team to mozilla-central a=merge 2015-10-14 12:31:33 +02:00
Reuben Morais
d6a61b2628 Bug 1213170 - Re-enable WebSMS on B2GDroid. 2015-10-13 21:51:56 -03:00
Reuben Morais
5fcd0fe0cf Bug 1213170 - Always generate JNI stubs for GeckoSmsManager. r=nalexander 2015-10-13 21:51:50 -03:00
Fabrice Desré
05c67f4d70 Bug 1213170 - Disable the sms backend for now r=me 2015-10-13 09:56:12 -07:00
Carsten "Tomcat" Book
18b99bf0cf merge fx-team to mozilla-central a=merge 2015-10-13 11:59:55 +02:00
Reuben Morais
1e26ba3392 Bug 748391 - Implement markMessageRead on the Android backend. r=snorp 2015-10-13 01:08:51 -03:00
Michael Comella
ebe708381a Bug 1213366 - Remove android: prefix from colorPrimary*. r=sebastian
This changes the color of the settings action bar to grey, as expected.

Note that I was unaware of this no-prefix convention when I wrote the previous
patch and added an "android:actionBarStyle" which may be confusing things
further. We may also benefit from removing the prefix there and fixing the
results.

--HG--
extra : commitid : 6aYSAKTkbkB
extra : rebase_source : cc66caa6da48dce95b58f4fd225ac01f1ffa9ee7
2015-10-09 14:25:57 -07:00
Mike Hommey
9af046b5b4 Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg
The configure option has explicitly thrown an error for more than a year now,
and it happens that the remaining way to still forcefully use it has been
broken for more than 8 months.
2015-10-14 08:02:34 +09:00
Allison Naaktgeboren
277923d09f Bug 12084105 - Remove 'Firefox Marketplace' from the list of default Top Sites thumbnails.r=mcomella 2015-10-09 12:08:00 +02:00
Carsten "Tomcat" Book
5e3c101647 Backed out changeset 308e28cb1d94 (bug 1208410) for permanent rc1 test failures 2015-10-14 15:51:14 +02:00
Sebastian Kaspari
4ea55df479 Bug 1211848 - GeckoInputConnection: Re-request focus if GeckoView is not active view for the input method. r=jchen
On (at least) Android 6.0 it can happen that GeckoView has focus but is not the active view for the input
method. As a consequence InputMethodManager will ignore the call to showSoftInput().

--HG--
extra : commitid : 6Gkhejuli6g
extra : rebase_source : bd5486bc60af060f058b0335a524a1b9aafe1b8f
2015-10-13 13:57:43 +02:00
Richard Newman
178c7e32be Bug 1208410 - Follow-up: fix bustage from 308e28cb1d94 and add a comment to avoid it in the future. a=bustage, landing on a CLOSED TREE
--HG--
extra : commitid : Cjpy5hSbYnM
2015-10-13 20:48:05 -07:00
Carsten "Tomcat" Book
b340b15978 merge fx-team to mozilla-central a=merge 2015-10-12 11:05:43 +02:00
Margaret Leibovic
e76ac1bda3 Bug 1209352 - Update FAQ page URL. r=liuche
--HG--
extra : commitid : ZSIh9D7uhB
extra : rebase_source : 330c77cd7f306ebd33111eaf9d1350cb83276441
2015-10-06 17:36:13 -04:00
Martyn Haigh
0b49f3d776 Bug 1205335 - Allow homepage to be set by distributions. r=nalexander
--HG--
extra : commitid : 2iVaLDVp6m5
extra : rebase_source : b2b8ec9d34109d0df56ea92c66fe8df4f4490eb0
2015-10-08 16:35:32 +01:00
Allison Naaktgeboren
36a79394f2 Bug 948937 - crash in java.lang.ClassCastException: org.mozilla.gecko.home.TwoLinePageRow...r=sebastian 2015-10-13 20:19:28 -04:00
Allison Naaktgeboren
b3d2674630 Bug 12084105 - Remove 'Firefox Marketplace' from the list of default Top Sites thumbnails.r=mcomella 2015-10-13 20:05:12 -04:00
Mark Capella
e6110504b2 Bug 1212363 - Add Telemetry to |Bookmark Added| Dialog and its actions, r=mfinkle 2015-10-13 17:46:55 -04:00
Prateek Arora
5fdf0cb8c5 Bug 1164879 - Use system UI for request desktop site checkbox.r=mcomella 2015-10-03 01:24:46 +05:30
Nick Alexander
b47fb2c75a Bug 1213418 - Part 1: Use mozregression to download in |mach artifact|. r=me
DONTBUILD NPOTB

--HG--
extra : commitid : LU7F5VjVj4m
extra : rebase_source : 5c9e36c01c7aa757d41a9994877b6f7d7568f4e3
2015-10-09 17:47:17 -07:00
Mark Finkle
00f87cff3c Bug 1213430 - Add more Toast telemetry r=liuche 2015-10-09 19:54:32 -04:00
Mark Finkle
a9e2300f1e Bug 1213416 - Add a specific Extra to LOAD_URL telemetry in the Awesomescreen r=liuche 2015-10-09 19:54:29 -04:00
Dipti Nirmale
fc11977a3a Bug 1140048 - Add "Send to other device" Shareplane to top level menu. r=mcomella
--HG--
extra : commitid : 4xRGvDayrUV
extra : rebase_source : 895f0b3443a9a8b73a403a604e9ea84adc47f317
2015-10-09 16:07:36 -07:00
Dipti Nirmale
8e3c298727 Bug 1140048 - Move 'share' button down, replacing quick share view in menu. r=mcomella
--HG--
extra : commitid : 5GfoZXzBPJX
extra : rebase_source : 1fb1319b4e7fde6892acd81a9c7752834ad03c16
2015-10-09 16:07:35 -07:00
Dipti Nirmale
6c24b057da Bug 1140048 - Remove 'Send to other device' menu item from share menu. r=mcomella
--HG--
extra : commitid : 7f4gdqpKcWF
extra : rebase_source : 8ab9a9cabeee8280b7bdc0bba0ceeeb2fb381864
2015-10-09 16:07:35 -07:00
Dipti Nirmale
8c14390cdd Bug 1140048 - Remove quick share bar and set the action view to Default. r=mcomella
--HG--
extra : commitid : DhTv3E2Q7cN
extra : rebase_source : c067db307548e736c437e1a767ff37ef0ad86333
2015-10-09 16:07:35 -07:00
Dipti Nirmale
cbefb95577 Bug 1140048 - Add 'send to device' and remove quick share item in toolbar menu. r=mcomella
--HG--
extra : commitid : 5uEroTeLbIF
extra : rebase_source : c524953b4bbcfb28f79880ba5a1c779359ecc79f
2015-10-09 16:07:35 -07:00
Fabrice Desré
17b2f50fee Bug 1213480 - b2gdroid builds broken after bug 1201206 r=nalexander 2015-10-09 16:34:16 -07:00
Carsten "Tomcat" Book
d652ecd66e merge mozilla-inbound to mozilla-central a=merge 2015-10-09 11:43:07 +02:00
Michael Comella
20babcff4f Bug 1208268 - Move tab received notifications to a broadcast receiver. r=nalexander
I tested multi-locale builds and the notification is in the new language as
expected.

--HG--
extra : commitid : H4ESwDwwebb
extra : rebase_source : 172fc75d5430d250b6b1cf2082da8da833ac230f
2015-10-01 15:37:36 -04:00
Mark Finkle
1eca0d11ff Bug 1214234 - Be explicit about LOAD_URL telemetry from Home Panels r=liuche 2015-10-13 13:45:21 -04:00
Carsten "Tomcat" Book
2803b80084 Merge m-c to fx-team 2015-10-13 12:43:53 +02:00
dominique vincent
5ae3c65766 Bug 1208370 - Deactivate the size heuristic in cluster detection. r=mcomella
--HG--
extra : commitid : 6PHrtUzoaU5
extra : rebase_source : fd90c4652af704f40deaa6dba2e4d34360d02578
2015-09-30 12:31:29 +02:00
Allison Naaktgeboren
c46d4a4081 Bug 12084095 Remove 'Firefox Marketplace' from the list of default bookmarks.r=mcomella 2015-10-09 14:19:31 -07:00
Michael Comella
54d10e513e Bug 1213223 - Remove android prefix from accentColor. r=sebastian
--HG--
extra : commitid : 9Ure3mKBZE2
extra : rebase_source : ab195ef08257a72c33842670297967cd27277a56
2015-10-09 09:23:56 -07:00
Sebastian Kaspari
1074c8e3f6 Bug 1197189 - Tab queues: Just show a toast if permission to draw over apps is not granted. r=mcomella
--HG--
extra : commitid : DyFEWRXN9b6
extra : rebase_source : 6ea6f3826422d0a1ded813bb23674c374fe0150b
2015-10-09 19:15:32 +02:00
slayerjain
cfa915817b Bug 1208470 - HistoryPanel: Used Android resource system to pick layout. r=sebastian
--HG--
rename : mobile/android/base/resources/layout/home_history_split_pane_panel.xml => mobile/android/base/resources/layout-sw600dp-land/home_history_panel.xml
2015-10-12 09:14:21 +05:30
Michael Comella
36e2d46a15 Bug 1173147 - Explicitly show Android chooser when there is more than one intent URI match in pb. r=sebastian
After this changeset series, the expected flow for web links is:
  * If not pb, open the Intent URI
  * If pb and no matching applications, open about:neterror
  * If pb and one matching application, show this dialog
  * If pb and > 1 matching application, show the Android system chooser

When the user explicitly chooses to share (and thus should infer they're
exiting Private Browsing), we don't show the dialog.

Custom URIs sort of work: I tested `mailto` and it worked as expected but `tel`
does not work as expected (i.e. it doesn't show the dialog). Perhaps there's an
explicit "Open dialer" code path. To figure this out, I tested this patch
against my Intent URI test page [1].

Decisions around explicitly showing the Android chooser:
When there are multiple application matches to an Intent URI, we
want to show the Android Intent Chooser. However, we have no way
of distinguishing regular tabs from private tabs to the chooser.
Thus, if a user chooses "Always" in regular browsing mode, the
chooser will not be shown and the URL will be opened. Therefore we
explicitly show the chooser (which notably does not have an "Always"
option).

[1]: https://people.mozilla.org/~mcomella/test/uri.html

--HG--
extra : commitid : DobYxI7BEnZ
extra : rebase_source : 12c30732a07e20f29ad67ce153cdbd13fc143e73
2015-09-23 14:48:28 -07:00
Michael Comella
4a83ff024d Bug 1173147 - Show prompt for GeckoAppShell.openUriExternal. r=sebastian
--HG--
extra : commitid : KRygkmIjsVz
extra : rebase_source : 1cdc9062847fcd133d06650cf15fa91bd5f3b314
2015-09-18 17:21:07 -07:00
Michael Comella
e64ae0a462 Bug 1173147 - Prompt user when opening market intent. r=sebastian
--HG--
extra : commitid : KrRWxo4p6pp
extra : rebase_source : f037728c28d925a354deb1e2bbf3c7f6c6e72333
2015-09-17 18:42:07 -07:00
Michael Comella
cf289a073e Bug 1173147 - Add DialogFragment to prompt user when clicking Intent link in private browsing. r=sebastian
Note that the DialogFragment is currently unused and will be used in the
followup changesets.

--HG--
extra : commitid : UYPRTIGSfk
extra : rebase_source : dc1e45275f41280df6fceb11c1afad0834777064
2015-09-17 18:41:53 -07:00
Michael Comella
2ddb314bda Bug 1173147 - Add Intent in private browsing prompt string. r=sebastian
--HG--
extra : commitid : GBkTRbXp5Ev
extra : rebase_source : 5e60d60f23edc725317428dff3ac0bfcc07afc35
2015-09-16 15:57:48 -07:00
Michael Comella
bb70bcdf43 Bug 1210862 - Move search suggestion button & tab thumbnail radius to standard. r=ally
--HG--
extra : commitid : BIVj7vnd57q
extra : rebase_source : c28cc07350f07e1c79d53bec203ec67c8e82d35b
2015-10-08 12:05:23 -07:00
Michael Comella
ee49e0a320 Bug 1210862 - Move tablet corner radius to standard_button_radius. r=ally
--HG--
extra : commitid : 49glJkpLulR
extra : rebase_source : 1cff301297f80ba44c91addf047c717846a2d5f5
2015-10-06 09:13:10 -04:00
Michael Comella
69e98b7eb0 Bug 1210862 - Rename button_corner_radius -> standard_corner_radius & update value. r=ally
--HG--
extra : commitid : HTFsMz3UgrC
extra : rebase_source : b952cf67bb70dc88a0b3a8707e125c16a70e919a
2015-10-06 09:10:04 -04:00
Allison Naaktgeboren
192690c713 Bug 1208520 - Add missing CATEGORY_BROWSABLE.r=mcomella 2015-10-08 17:24:14 -07:00
Michael Comella
5c64dc16fc Bug 1201206 - Correct menu button background on 2.3. r=mhaigh
One fear is that different devices set different menu colors and text colors.
Since we're using the default text color and set an explicit menu color, the
text color may not look good on these devices. I was unable to find a way to
override the menu text color.

It seems the best way to find out if this is a problem is to land
it and test though!

--HG--
extra : commitid : ylxnVEA269
extra : source : c01f712e3d98c74a03f1dcf9c5133c0c8982d32d
2015-09-15 16:46:58 -07:00
Michael Comella
8a0721f138 Bug 1201206 - Inherit from appCompat on v21 prefs and restore action bar style. r=mhaigh
--HG--
extra : commitid : 61T7SZ2qk2V
extra : source : 2d7962287928829803e68fe5cd1aeabd69003837
2015-09-15 15:07:05 -07:00
Michael Comella
bb99cec3ae Bug 1201206 - Inherit from version specific styles for prefs. r=mhaigh
This excludes Material design in v21+, which will be overridden with AppCompat
in the following changeset.

--HG--
extra : commitid : 6NvfKORKfyr
extra : source : bfc7e7f997eb2a4f5bbfea4e817aa4e738900d5b
2015-09-22 16:26:29 -07:00
Michael Comella
540dfeb84a Bug 1201206 - Inherit from Theme.AppCompat style at all API levels. r=mhaigh
--HG--
extra : commitid : 9MMRtstxJIl
extra : source : ebc006342c9e0654a2900e952299341251f01ad7
2015-09-15 14:33:45 -07:00
Wes Kocher
1f985be7a9 Backed out 5 changesets (bug 1173147) because bug 1201206 got backed out CLOSED TREE
Backed out changeset e0db94364c19 (bug 1173147)
Backed out changeset afd881fc08a2 (bug 1173147)
Backed out changeset 5a4df2457628 (bug 1173147)
Backed out changeset a43a907c02fe (bug 1173147)
Backed out changeset 494ff0d7f3bb (bug 1173147)
2015-10-08 12:37:17 -07:00
Wes Kocher
badbc48d7a Backed out 4 changesets (bug 1201206) for android x86 bustage CLOSED TREE
Backed out changeset c01f712e3d98 (bug 1201206)
Backed out changeset 2d7962287928 (bug 1201206)
Backed out changeset bfc7e7f997eb (bug 1201206)
Backed out changeset ebc006342c9e (bug 1201206)
2015-10-08 12:36:15 -07:00
Michael Comella
034b23ff41 Bug 1173147 - Explicitly show Android chooser when there is more than one intent URI match in pb. r=sebastian
After this changeset series, the expected flow for web links is:
  * If not pb, open the Intent URI
  * If pb and no matching applications, open about:neterror
  * If pb and one matching application, show this dialog
  * If pb and > 1 matching application, show the Android system chooser

When the user explicitly chooses to share (and thus should infer they're
exiting Private Browsing), we don't show the dialog.

Custom URIs sort of work: I tested `mailto` and it worked as expected but `tel`
does not work as expected (i.e. it doesn't show the dialog). Perhaps there's an
explicit "Open dialer" code path. To figure this out, I tested this patch
against my Intent URI test page [1].

Decisions around explicitly showing the Android chooser:
When there are multiple application matches to an Intent URI, we
want to show the Android Intent Chooser. However, we have no way
of distinguishing regular tabs from private tabs to the chooser.
Thus, if a user chooses "Always" in regular browsing mode, the
chooser will not be shown and the URL will be opened. Therefore we
explicitly show the chooser (which notably does not have an "Always"
option).

[1]: https://people.mozilla.org/~mcomella/test/uri.html

--HG--
extra : commitid : 1cCVQe5jmNx
extra : rebase_source : 146766c2ac5cf8814288377453253debc2ff3f8a
2015-09-23 14:48:28 -07:00
Michael Comella
14976187e7 Bug 1173147 - Show prompt for GeckoAppShell.openUriExternal. r=sebastian
--HG--
extra : commitid : F5I6wEmuVQ0
extra : rebase_source : f4b765020bade09cb21947564f2019ccd15766e6
2015-09-18 17:21:07 -07:00
Michael Comella
4381829811 Bug 1173147 - Prompt user when opening market intent. r=sebastian
--HG--
extra : commitid : LAHfBaVOPJF
extra : rebase_source : cc82b8545f89af172d22c8d301fbb7c57b071a08
2015-09-17 18:42:07 -07:00
Michael Comella
96854cc08c Bug 1173147 - Add DialogFragment to prompt user when clicking Intent link in private browsing. r=sebastian
Note that the DialogFragment is currently unused and will be used in the
followup changesets.

--HG--
extra : commitid : 2SboY6SbK0Y
extra : rebase_source : 601bd61bcaec304477fc8ed6e99b555f9d3fe404
2015-09-17 18:41:53 -07:00
Michael Comella
751a0413c5 Bug 1173147 - Add Intent in private browsing prompt string. r=sebastian
--HG--
extra : commitid : KvDRx3sad2p
extra : rebase_source : bb3c31be873de8b7354277f5e049ee32d1c59002
2015-09-16 15:57:48 -07:00
Michael Comella
c867621459 Bug 1201206 - Correct menu button background on 2.3. r=mhaigh
One fear is that different devices set different menu colors and text colors.
Since we're using the default text color and set an explicit menu color, the
text color may not look good on these devices. I was unable to find a way to
override the menu text color.

It seems the best way to find out if this is a problem is to land
it and test though!

--HG--
extra : commitid : AOkx9ROJDf7
extra : rebase_source : 49318e2d179a4da16933cb8248b4b9b00a606226
2015-09-15 16:46:58 -07:00
Michael Comella
36118bf87e Bug 1201206 - Inherit from appCompat on v21 prefs and restore action bar style. r=mhaigh
--HG--
extra : commitid : 5SK4Xnxr9zQ
extra : rebase_source : 6c1e62467916df067161229b47e8e7d59e84adb5
2015-09-15 15:07:05 -07:00
Michael Comella
9e877054db Bug 1201206 - Inherit from version specific styles for prefs. r=mhaigh
This excludes Material design in v21+, which will be overridden with AppCompat
in the following changeset.

--HG--
extra : commitid : JL19c4EJfVf
extra : rebase_source : b9030c31b99bd2e1613fc7898e7ef4f9c275003c
2015-09-22 16:26:29 -07:00
Michael Comella
923dfe3379 Bug 1201206 - Inherit from Theme.AppCompat style at all API levels. r=mhaigh
--HG--
extra : commitid : LdRIYIN0kaP
extra : rebase_source : c0489dcd702696ffdc4fb6ed56c4689103f989cd
2015-09-15 14:33:45 -07:00
Michael Comella
8c10acc9fb Bug 1212347 - Disable GeckoView globally by default. r=nalexander
--HG--
extra : commitid : HZjRP5udwAL
extra : rebase_source : 6dd40f59fc757fc4da7c67fa382634a60a3f45ab
2015-10-07 10:25:23 -04:00
Friedger Müffke
a3f749e22c Bug 1208519 - Add smooth scrolling of item list on range item click. r=sebastian 2015-10-05 12:58:00 +02:00
Sebastian Kaspari
73218f6916 Bug 1207194 - Temporarily hardcode targetSdkVersion to 22 in AndroidManifest.xml. r=nalexander
--HG--
extra : commitid : 7ZESTPWAQxZ
extra : rebase_source : 4475b58e3f69a14b4077704fde35d1ae50937f25
2015-10-08 17:57:48 +02:00
Carsten "Tomcat" Book
6e07fc601b Merge m-c to fx-team 2015-10-08 16:11:56 +02:00
Carsten "Tomcat" Book
634dc488d6 merge mozilla-inbound to mozilla-central a=merge 2015-10-08 15:26:54 +02:00
Carsten "Tomcat" Book
d3711e3ba1 merge fx-team to mozilla-central a=merge 2015-10-08 11:55:31 +02:00
Mark Capella
466a9d607e Bug 1130646 - Find non-hacky way to make back button dismiss reader mode popup, r=bnicholson 2015-10-07 19:55:33 -04:00
Mark Capella
670995286a Bug 1130646 - Find non-hacky way to make back button dismiss reader mode popup, r=bnicholson 2015-10-07 19:55:33 -04:00
Carsten "Tomcat" Book
0e8f7824dc Backed out changeset 6dbb76e6a3a4 (bug 1200426) 2015-10-08 10:07:17 +02:00
Carsten "Tomcat" Book
049a35a49c Backed out changeset 2e8206d7352e (bug 1200426) for Android Perma Failures 2015-10-08 10:07:11 +02:00
Carsten "Tomcat" Book
cc75e4c5de Backed out changeset 3c7265546800 (bug 1209574) for Android Perma Failures 2015-10-08 10:06:35 +02:00
Carsten "Tomcat" Book
d2be5e93a8 Backed out changeset 161f9ab0c5e7 (bug 1209574) for Android Perma Failures 2015-10-08 10:06:19 +02:00
Carsten "Tomcat" Book
cb33e03f39 Backed out changeset 6763177287ca (bug 1209574) for Android perma failures 2015-10-08 10:05:44 +02:00
Wes Kocher
c23069f318 Merge m-c to fx-team a=merge
--HG--
rename : mobile/android/config/tooltool-manifests/android/releng.manifest => mobile/android/config/tooltool-manifests/b2gdroid/releng.manifest
extra : rebase_source : 10508628a76cecbf86b54dd2e27fca8c39cfa37b
2015-10-07 11:33:10 -07:00
Wes Kocher
400e33f154 Merge m-c to b2ginbound, a=merge 2015-10-07 11:11:10 -07:00
Wes Kocher
399a23b6c1 Merge inbound to m-c a=merge 2015-10-07 10:29:41 -07:00
Wes Kocher
75ff20f5af Backed out changeset 91d4539e00ce (bug 1207245)
--HG--
rename : mfbt/RefPtr.h => mfbt/nsRefPtr.h
2015-10-07 10:19:19 -07:00
Wes Kocher
9d0985e9fd Merge fx-team to central, a=merge 2015-10-07 09:58:09 -07:00
Nathan Froyd
89a69c829a Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-07 16:50:25 -04:00
Allison Naaktgeboren
4bff588846 Bug 1201325 - remove nightly only flag from savedsearch feature.r=? 2015-10-07 09:49:19 -07:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Reuben Morais
8c408a1045 Bug 1197010 - Implement Android backend for createMessageCursor/createThreadCursor. r=snorp 2015-10-06 19:40:38 -03:00
Chenxia Liu
0b07bf438d Bug 1211412 - Home panel tabs are misaligned on tablets. r=sebastian
--HG--
extra : commitid : BO31vrp08pn
extra : rebase_source : ea73e660b6b083fcd7aad8ea5dddecb97042c03e
2015-10-05 11:56:10 -04:00
Michael Comella
37769f52fe Bug 1208790 - Add lint ignore for compound drawables in search preference. r=me
The regression is fixed by the backout of bug 1175354 and this
should ensure it doesn't happen again.

--HG--
extra : commitid : 7mVa6zNb0uq
extra : rebase_source : b83744e2fc37fbf41a1d91104861b3bc41c00a05
2015-10-06 09:41:49 -04:00
Michael Comella
dac84a513c Backout changeset 7635a2e4fa64 for regressions in bug 1208790.
--HG--
extra : commitid : 9glmrm88OoL
extra : rebase_source : 16975787fcb93012b4b130a43ad98646646a28fb
2015-10-06 09:37:23 -04:00
Mark Finkle
3656c863e9 Bug 1026669 - Limit SSDP polling to when Firefox is in the foreground r=margaret 2015-10-06 08:11:52 -04:00
Carsten "Tomcat" Book
e424a0e150 Merge m-c to fx-team 2015-10-06 12:22:48 +02:00