Граф коммитов

18203 Коммитов

Автор SHA1 Сообщение Дата
J. Ryan Stinnett 978cb5107a Bug 1203159 - Update each product's DevTools inclusion. r=glandium
A new configure option --with-devtools (which sets MOZ_DEVTOOLS) is added to
control whether all DevTools, just the server, or no DevTools are included.
This defaults to just the server.

Applications should also include /devtools within their moz.build tree, so that
DIST_SUBDIR is in effect for all DevTools files if it is used by the app.
2015-10-21 12:22:59 -05:00
Chenxia Liu 475dc21381 Bug 1201081 - Skip some code paths. r=sebastian
--HG--
extra : commitid : HwxurjoiNqz
extra : rebase_source : e18d74398f52e6b27d2c3f7ada1217f49ebc7781
2015-10-20 13:55:00 -07:00
Chenxia Liu 6ab33e0e95 Bug 1201081 - UnsupportedOperationException crash at Canvas.clipPath. r=sebastian
--HG--
extra : commitid : 190iUhWBAsK
extra : rebase_source : 527a81b99912716b81b920bf7c63409c311f91ab
extra : amend_source : 387c25b1bdde5d121b4bacb180ba1ebc687c857c
2015-10-20 12:46:58 -07:00
Jim Chen aacb32b312 Bug 1207642 - Work around Dalvik bug by realigning stack on JNI entry. r=snorp
Use the force_align_arg_pointer attribute to force realigning stack at JNI entry points.
2015-10-21 08:27:00 -04:00
Sergej Kravcenko ce48298d03 Bug 1216114 - Context menu should be attached to url input instead of to the whole BrowserToolbar. r=sebastian
--HG--
extra : transplant_source : %86z%0B%05%B4b%D7%FD%3E%81%D7i%3CbA%8EE%8C%F5%2A
2015-10-19 20:25:00 +03:00
Chenxia Liu 2bccb2b32f Bug 1207404 - First run image is too small. r=sebastian
--HG--
rename : mobile/android/base/resources/drawable-xxhdpi/firstrun_background_coffee.png => mobile/android/base/resources/drawable-nodpi/firstrun_background_coffee.png
rename : mobile/android/base/resources/drawable-xxhdpi/firstrun_background_devices.png => mobile/android/base/resources/drawable-nodpi/firstrun_background_devices.png
extra : transplant_source : 7%F5u%7C%2C%CF%9F%60%25%19e%9Da%95e%B3%8C%EF%3C%A5
2015-10-19 18:58:32 -07:00
vivek 58ec87a703 Bug 1213688 : Update password store logic for deleted local records r=nalexander,rnewman
--HG--
extra : commitid : HZJ1W0L9eBH
extra : rebase_source : a392ab5a3b4ff6e33ed437756635b3bcc454c8e7
2015-10-20 20:03:55 +03:00
vivek 8134e2e6d8 Bug 1201547 : Error popup for blocked addon install implemented r=margaret
--HG--
extra : commitid : 9EFlgFT2ARB
extra : rebase_source : b052acd672e392ce47efac35070224bc393f3329
2015-10-14 00:44:37 +03:00
vivek f2d5d00739 Bug 1215586 : Remove icon property from menu addon r=margaret
--HG--
extra : commitid : 9dF9NpHiB6O
extra : rebase_source : a84e7d9836d80a180c44bfb5933c1eb4bc7f9609
2015-10-16 20:20:36 +03:00
Sebastian Kaspari 56e65abbc0 Bug 1204917 - Remove Nightly flag: Always grow close button hit area. r=margaret
--HG--
extra : commitid : 97yxs1SMXdO
extra : rebase_source : 5beeffa3127c330514930545bcabf630c7c9ddcb
2015-10-20 13:29:03 +02:00
Sebastian Kaspari a887df9ca8 Bug 1204917 - Remove Nightly flag from tab thumbnail aspect ratio. r=margaret
--HG--
extra : commitid : 26N8ECiN3TH
extra : rebase_source : 05f3d5de32afbd55eec0c4c593c8166a8bee4f00
2015-10-20 13:04:12 +02:00
Sebastian Kaspari e0ef389b25 Bug 1204917 - Remove Nightly flag from full screen tabs tray. r=margaret
--HG--
extra : commitid : 4akotUXYFp5
extra : rebase_source : 5bcf57e7b2da318929df616b33f5f74923864eed
2015-10-20 13:01:48 +02:00
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
Christian Schmitz deda3675e6 Bug 1219416 - Display "Search" title when opening search preferences with the magnifying glass. r=margaret 2015-10-28 21:17:31 +01:00
Christian Schmitz 5f0c4cfeb2 Bug 1215750 - Add telemetry to know when SearchEngineBar label is pressed. r=margaret 2015-10-27 19:39:49 +01:00
Nick Alexander 63896e74a9 Bug 1219846 - Part 2: Make 'omnijar' project in srcdir. r=me
DONTBUILD NPOTB

The :omnijar project is for IntelliJ only; adding it neatly labels
folders we consider part of the omnijar in mobile/android.  The JAR
produced is not used.

We add an evaluation-time dependency from :app to :omnijar so that we
can declare the set of omnijar folders exactly once.  We'd prefer to
have the dependency in the other direction (to save evaluation time)
but there's an interface mismatch between the two Gradle model types.
See comments in the :omnijar project.

This is delicate.

--HG--
extra : commitid : 4TLicjMC7Bn
extra : rebase_source : 5dd4ab1e1fcdb296b46bc892b9e10414baadee61
2015-10-29 11:11:36 -07:00
Nick Alexander f76697e53c Bug 1219846 - Part 1: Add 'app' Gradle project in srcdir. r=me
DONTBUILD NPOTB

--HG--
rename : mobile/android/gradle/app/build.gradle => mobile/android/app/build.gradle
extra : commitid : LPlhL4qUWDC
extra : rebase_source : 335d1b0e7f3dadfffd0c96634d96723cb3a0b583
2015-10-28 16:01:23 -07:00
Wes Kocher def31b952c Merge m-c to fx-team, a=merge
--HG--
extra : commitid : JfOXHrexxbp
2015-10-29 17:18:38 -07:00
Michael Comella 47a106bd6d Bug 1217151 - Inherit from Gecko.Preferences in SyncStatusActivity. r=nalexander
Tested on 5, 4, & 2.3.

--HG--
extra : commitid : 1RImAkK38qx
extra : rebase_source : 205102ed52e6ddf5d0408af84a20c571c2039cda
2015-10-29 10:02:43 -07:00
Michael Comella 3e1e441a6a Bug 1218086 - Continue parsing Intent if fallback uri is invalid. r=margaret
--HG--
extra : commitid : Kw4hhXqzJPY
extra : rebase_source : 405768e0b480f23d60ee2c837e1ee5dda44a14f9
2015-10-28 17:52:01 -07:00
Mark Finkle 2695acc2ba Bug 1219895 - Cleanup the 'share.1' telemetry probes by adding extra context r=margaret 2015-10-29 18:44:44 -04:00
Mark Finkle e46a6864fb Bug 1219882 - Add a 'save.1' probe for the 'Bookmark Link' web context menu r=margaret 2015-10-29 18:44:40 -04:00
Mark Finkle 478c05d6b0 Bug 1219447 - Add a UI Telemetry probe for the 'Add to Reading List' web context menu r=margaret 2015-10-29 15:14:01 -04: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
Carsten "Tomcat" Book 71e22d0c44 merge mozilla-inbound to mozilla-central a=merge 2015-10-06 12:01:35 +02:00
Sebastian Kaspari f584a74473 Bug 1171213 - Allocator: Suppress deprecation notification for Context.MODE_MULTI_PROCESS. r=mfinkle
--HG--
extra : commitid : 5asluPIg1vv
extra : rebase_source : 37aab7a7a92531b3abaaf49b1ec8a55043770f79
2015-10-06 10:35:08 +02:00
Mike Hommey f4de6bfe91 Bug 1210642 - s/APP_BUILDID/MOZ_APP_BUILDID/ to use the same variable name across products. r=gps 2015-10-06 11:15:05 +09:00
Sergej Kravcenko 5c69b71f93 Bug 1207872 - Saved search suggestions DB query in SearchEngineRow runs on UI thread.r=ally 2015-10-01 05:16:20 +03:00
Sebastian Kaspari 455c551aba Bug 1211467 - Use new Fragment.onAttach() API (support library 23). r=mcomella
--HG--
extra : commitid : Iex7CMTsDuU
extra : rebase_source : 7b2a620cf98b39d8b9c08f1a8455ac32463311be
2015-10-07 09:14:10 +02:00
Sebastian Kaspari a595f4ee85 Bug 1193206 - Build with Android support library 23.0.1. r=nalexander
--HG--
extra : commitid : 6lU66oAQuFC
extra : rebase_source : fe145d252cb484596c2abce793a6cbb6eadc3968
2015-10-07 09:13:34 +02:00
vivek 5de9662453 Bug 1137333 Clear history button style changes r=margaret
--HG--
extra : commitid : BQPwsGgDeRN
extra : rebase_source : 13f661cb03504ceec7fe85fddb4346b413f5ba2a
2015-10-01 00:20:54 +03:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Kalpesh Krishna 3c459472a1 Bug 1205817 - Move "Remove Account" out of menu. r=vivek 2015-10-07 13:29:00 +02:00
Ahmed Khalil 3f5aa180f0 Bug 1201926 - Add support for keyed histograms to Fennec's Telemetry module, r=nalexander 2015-10-08 11:32:52 +05:30
Sebastian Kaspari 7d7128055f Bug 1210755 / Bug 1197147 / Bug 1193206 - Update releng.manifest to use latest SDK and tools. r=trivial
This will make the following SDKs, tools and libraries available:

* Android SDK 6.0 / API 23
* Android tools r24.4
* Android build tools 23.0.1
* Android Support Repository (Support Library 23.0.1)
* Google Support Repository (Google Play Services 8.1.0)

To support gradually switching the Android 5.1 SDK (API 22) and Android build tools 22.0.1
are still included in the linked archive.

--HG--
extra : commitid : ESkIoGj3q2f
extra : rebase_source : f30a24432876e839980a07fe4109b324f090c096
2015-10-05 11:34:37 +02:00
Sergej Kravcenko fa1b5078fc Bug 1207961 - Quick search bar hides behind the VKB when choosing not to display search suggestions. r=mcomella 2015-09-24 19:04:33 +03:00
Nick Alexander 324ce3718d Bug 1208534 - Part 2: Fix test. r=mfinkle
It's quite challenging to both wait for "load", and wait for something
to happen in the DOM, since the DOM isn't prepared until after "load"
has fired.  This test therefore has a small race window: it is
possible that we could wait for the mutation only after the logins
have been loaded and the 'logins-list' DOM element is inserted.  The
logging should be good enough to identify this case; and in practice,
this is very unlikely.

Since I was here, I converted this to use SpawnTask.js.

--HG--
extra : commitid : 1cCEXRuq146
extra : rebase_source : f458ec34f684bbdefa5794fcfb0b18b1ac6b0926
2015-10-02 16:39:13 -07:00
Nick Alexander 784ed43de2 Bug 1208534 - Part 1: Ensure about:logins animated CSS spinner is painted before janky main-thread load. r=ally
Right now, in response to "load" (on the window), we're:

1) updating the DOM to show the spinner;
2) loading the logins with a main-thread janking synchronous load;
3) updating the DOM to hide the spinner.

This is all on the main-thread, so we only see a layout and paint
after 3).  Thus no interstitial is ever visible, and the logins list
pops in after a long delay.

This patch ensures that 2) occurs at least one layout after 1).  This
allows a paint to occur with the interstitial visible.  Since the
animated CSS spinner is carefully designed to hit the off-main-thread
animation pipeline, it animates smoothly even though the main-thread
janking synchronous load blocks JavaScript progress.

There is a small race window between the promises resolving and the
_logins member being accessed by the filter.  It's not clear that this
was ever well guarded, so I haven't tried to mitigate.

--HG--
extra : commitid : 9nKfLhK3JOa
extra : rebase_source : 8eb67ac9322372aa6e049d7154542c31e9de0d43
2015-10-02 16:24:31 -07:00
Nick Alexander f7d615ee1d Bug 1185783 - Part 2: Move promiseNotification to head.js. r=margaret
--HG--
extra : commitid : 7WUj4UcXTRy
extra : rebase_source : 9e3d1ddbb5a9bb67b0e119a87cadaa0a19d717ed
2015-10-02 14:44:51 -07:00
Nick Alexander a9704b6bdf Bug 1185783 - Part 1: Add head.js with promiseBrowserEvent. r=margaret
--HG--
extra : commitid : An6mFh2TGgD
extra : rebase_source : 0e752d61cfc4d5bbce602fd808b8ec61277c54a7
2015-10-02 16:06:34 -07:00
Phil Ringnalda 41e2b2b6f7 Merge f-t to m-c, a=merge 2015-10-03 15:50:22 -07:00
Mark Finkle d5d3f9907e Bug 1210283 - Update the UI Telemetry docs r=liuche 2015-10-03 00:38:18 -04:00
Mark Finkle ad0deb94be Bug 1210283 - Add more UI Telemetry probes for managing Home Panels r=liuche 2015-10-03 00:37:48 -04:00
Mark Finkle fadd9365c6 Bug 1210243 - Cleanup click handlers in Fragments/Panels r=margaret 2015-10-03 00:36:04 -04:00
Nick Alexander 05dd36077b Bug 1205705 - Part 2: Collect client-side fxa-content-server LOADED Telemetry. r=mfinkle,ally p=ally
This collects client-side fxa-content-server data.  The data covers
only the about:accounts experience until:

* the fxa-content-server provides the LOADED message; or
* connection failure is observed.

Nota bene: a healthy fxa-content-server always delivers the LOADED
message!  In future, we might want to timeout the load (and observe
said timeouts) separately.

We collect no data after the fxa-content-server LOADED message.  The
intention is for the server-side metrics flow to capture the valuable
"bounce rate" metrics, since the fxa-content-server team are in
position to quickly improve the web-based UI flow.

The client-side data collected is intended to answer the following
questions:

1) How many remote content loads started;
2) How many loads completed;
3) What proportion of loads made it to the LOADED message, as opposed
to failed;
4) How long it took each successful load to observe the LOADED
message;
5) How long it took each failing load to observe failure.

All of these are keyed by the fxa-content-server endpoint path (like
'settings' or 'profile/avatar'), since I observe differences between
the time-to-LOADED for each endpoint path.

There is a privacy trade-off here.  Mozilla is collecting data to
understand the user experience when about:accounts is connecting to
the specific fxa-content-server hosted by Mozilla at
accounts.firefox.com.  However, we don't want to observe what
alternate servers users might be using, so we can't collect the whole
URL.  Here, we filter the data based on whether the user is /not/
using accounts.firefox.com, and then record just the endpoint path.
Other collected data could expose that the user is using Firefox
Accounts, and together, that leaks the number of users not using
accounts.firefox.com.  We accept this leak: Mozilla already collects
data about whether Sync (both legacy and FxA) is using a custom server
in various situations: see the WEAVE_CUSTOM_* Telemetry histograms.

--HG--
extra : commitid : 6ablpwYytrm
extra : rebase_source : bb04e263adf4fd34d36b51610ca170f3dd9c8328
2015-09-18 10:51:39 -04:00
Nick Alexander 543b5c68f0 Bug 1205705 - Part 1: Always resolve or reject the LOADED message promise. r=markh,mfinkle
This is hygiene that completes the set of paths through this part of
the code.  If we wrapper.{init,retry}, we are guaranteed to have a new
promise; and now that promise will always be fulfilled.  It is
technically possible, but not anticipated, for an in-flight promise to
be replaced.  Such a situation should not occur, but if it does, the
obsolete promise will still exist but never be fulfilled (since
loading or errors only touch the most recent promise).  Eventually it
will be safely garbage collected.

--HG--
extra : commitid : 9gE08vjgVdF
extra : rebase_source : b920d6c1ae45e28128fcc3702cba219d66f7b1ab
2015-09-17 18:46:54 -04:00
Justin Dolske 90ec2cead9 Bug 1210611 - Globally define MOZILLA_OFFICIAL. r=glandium 2015-10-02 15:18:04 -07:00
Chenxia Liu 7f1d2c0c8d Bug 1185002 - Remove unused HomePagerTabStrip code. r=mcomella
--HG--
extra : commitid : 6GByz6o0Hn0
2015-10-02 17:55:43 -04:00
Chenxia Liu efae7d4ebe Bug 1185002 - Select first panel if it exists. r=sebastian
--HG--
extra : commitid : ErHRwoFevEY
extra : rebase_source : b2d126379867ea1440315544375ba6ba5a34fb0a
2015-09-29 18:27:57 -04:00
Chenxia Liu 7db4641a5e Bug 1185002 - Add custom active/inactive colors. r=sebastian
--HG--
extra : commitid : 16iZrBqxWtb
extra : rebase_source : 4580a0364846e6703bc3d5f6b04d81ea66067c6a
2015-09-29 17:10:32 -04:00
Chenxia Liu 8c8e94258e Bug 1185002 - Use TabMenuStrip in firstrun. r=sebastian
--HG--
extra : commitid : HRT22juvpD7
extra : rebase_source : 38b322a7ecbf6727082f47c7d8c1f493b43fa91e
2015-09-24 16:07:11 -07:00
Allison Naaktgeboren d855b4df41 Bug 1209558 - Update pressed_state of search buttons.r=mcomella 2015-10-02 14:06:35 -07:00