Commit Graph

21914 Commits

Author SHA1 Message Date
maliu
c74bd80738 Bug 1321635 - Align history section header by left|start in styles.xml, r=sebastian
MozReview-Commit-ID: 2Zf0bGxLhzy

--HG--
extra : rebase_source : f2f91e9fda2ece390a85f6312f009959179ecb85
2016-12-16 20:56:21 +08:00
John Lin
71bdb68393 Bug 1311960 - turn on remote media decoding preference on Fennec Nightly. r=snorp
MozReview-Commit-ID: CUm6EwC1Dz9
2016-12-19 12:59:18 +08:00
Tom Klein
04ab70169c Bug 1317446 - 3. Add TabStripDividerItem for TabStripView dividers and spacing. r=sebastian
MozReview-Commit-ID: 5OC58tEGQrM

--HG--
extra : rebase_source : 50272cc5990fa3fb409a103575a2ff739daf825e
extra : source : 542d785801381ce681377c4dbb27b43edd7cdbd7
2016-10-16 21:03:50 -05:00
Tom Klein
87f9e0dca6 Bug 1317446 - 2. Add TabStripItemAnimator for TabStripView item animations. r=sebastian
MozReview-Commit-ID: AF2pwFMvWDe

--HG--
extra : rebase_source : c47ed9eae20dfa5ba5b6ce5a3e64250ef47073e1
2016-10-17 20:45:13 -05:00
Tom Klein
2a0c005f63 Bug 1317446 - 1. Make TabStripView a RecyclerView. r=sebastian
MozReview-Commit-ID: EGzDZBpAV3N

--HG--
extra : rebase_source : 629617397aa7af46ebf1bd9e0598a1214bd21b65
extra : source : f68f10436440afff40a0ecc9eceb92f025480929
2016-11-14 15:02:02 -06:00
Grisha Kruglov
eba14873a8 Bug 1319274 - Part 3: Allow pinning and unpinning of both Top Sites and Highlights r=ahunt
This commit introduces a special type of a pin, "Activity Stream pin".
It's identified by a fixed position of -1. Activity Stream pins are displayed inline
with top sites, at the very front. They are "non-positioned", as opposed to regular pins
which have a position on Top Sites grid. This approach was selected (as opposed to creating a
new kind of a "non-positioned pins bookmark folder") because it is simpler, does not
involve any migrations or sync changes, and is thus preferred in light of a moving
target that is the current vision for Activity Stream.

Two types of pins, regular ones and Activity Stream pins, are independent of each other.

Due to the fact that pins and bookmarks are almost the same thing, we can only figure our,
based on the underlying queries, the following ahead of time:
- pinned state of a pinned top site item (trivial case)
- pinned state of a non-pinned top site item (trivial case)
- bookmark state of a "bookmarked" hightlight item (trivial case)
- bookmark state of a non-pinned top site item

For all other combinations, states have to be looked up when user opens a context menu for an item.

MozReview-Commit-ID: 3KbOp9S4Pz7

--HG--
extra : rebase_source : a86893a235ee7c6c7d2215b9c8a3b56f986480a9
2016-12-14 16:23:40 -08:00
Grisha Kruglov
32c27d4420 Bug 1319274 - Part 2: Display a pin icon besides the Top Site title r=ahunt
MozReview-Commit-ID: BGpgJOeuRQn

--HG--
extra : rebase_source : e4a2f46f91c85bb4a7071361ba9da7d69f4d93da
2016-12-01 19:35:02 -08:00
Grisha Kruglov
dcd0e6721f Bug 1319274 - Part 1: Use regular getTopSites method for A-S top sites r=ahunt
Since we want to include pinned sites in A-S Top Sites, this removes the "plain top sites"
query which excludes pinned sites.

Maximum number of suggested sites displayed is set so that they will fill out at most two "pages".

MozReview-Commit-ID: 8uynmwiaPkt

--HG--
extra : rebase_source : 763633fca5f9f606a8f6cfd1f4a4332273c34dee
2016-12-01 18:53:47 -08:00
Jim Chen
57b62c6572 Bug 1322715 - Convert DownloadsIntegration event; r=sebastian
Convert the "Download:Remove" event listener in DownloadsIntegration
from a NativeEventListener to a BundleEventListener on the background
thread.
2016-12-15 18:23:54 -05:00
Jim Chen
89ed582051 Bug 1322714 - Convert RecentTabsAdapter and GeckoPreferences events; r=sebastian
Convert "ClosedTabs:Data" and "Sanitize:Finished" events used in
RecentTabsAdapter and GeckoPreferences from NativeJSObject events to
GeckoBundle events.
2016-12-15 18:23:54 -05:00
John Lin
783a4985dd Bug 1075025 - part 1: receive vsync events through Choreographer. r=snorp
MozReview-Commit-ID: 69MefRKMWmh

--HG--
extra : rebase_source : 07d9722cb6fcaf0f1b9f67a754245c7ac6ec663f
2016-12-20 14:18:35 +08:00
Tom Klein
f2ac7261a0 Bug 1313296 - Don't collect metadata for "about:" pages. r=Grisha
MozReview-Commit-ID: 6opB4lT85vs

--HG--
extra : rebase_source : 9c422ba61d4981907aa4c3068775e98de4c09fbf
2016-12-02 23:00:38 -06:00
Shubham
6da5cd3bb3 Bug 1155860 - open a shared link -r?ahunt
MozReview-Commit-ID: 6Vwfmpt4UQY

--HG--
extra : rebase_source : 20d2e8cdc22709de3cbcbfcd20f46b0b7a5c5266
2016-11-18 12:50:53 -05:00
Carsten "Tomcat" Book
fa5c335f38 merge mozilla-inbound to mozilla-central a=merge 2016-12-13 16:04:16 +01:00
Jim Chen
cc4198ee1a Bug 1322711 - 3. Convert JavascriptBridge to use Bundle events; r=gbrown
Convert JavascriptBridge, JavascriptTest, and other relevant code to use
the new Bundle events. We used the same "Robocop:JS" event for
communicating both ways before, but now that we have a unified bus, we
need two different events, "Robocop:JS" and "Robocop:Java" for two-way
communication.
2016-12-13 03:21:47 -05:00
Jim Chen
e47caac9a9 Bug 1322711 - 2. Convert test-only events to Bundle events; r=gbrown
Convert events that are only used in robocop tests to Bundle events,
which are then used through Actions.expectGlobalEvent /
expectWindowEvent.

"Content:" prefix is added to "DOMContentLoaded" to follow the event
naming convention.

SelectionHandlerTest.java is removed because it's no longer used
anywhere.
2016-12-13 03:21:47 -05:00
Jim Chen
e3b91096b5 Bug 1322710 - Don't use SpannableStringBuilder.equals; r=esawin
Don't use the system SpannableStringBuilder.equals implementation,
because of a bug in Android N+ that incorrectly compares spans.
2016-12-13 03:21:46 -05:00
Kit Cambridge
8558928fe7 Bug 1322954 - Fix incorrect instanceof negations. r=markh
MozReview-Commit-ID: PgQmAu9hbQ

--HG--
extra : rebase_source : 376b83af517442cc05bc46ff7ca36e6ac46b06e2
2016-12-12 13:50:10 -08:00
John Lin
bbc583e1aa Bug 1322628 - record EOS buffer in CodecProxy to make sure it'll be released before ICodec.stop() is called. r=snorp
MozReview-Commit-ID: J9ISYhZqAqk

--HG--
extra : rebase_source : 2fb3c8b871079a3b4b004dd84a99711a7481f865
2016-12-09 11:42:22 +08:00
Andrzej Hunt
cccfe60bef Bug 1319254 - Move Highlights title into separate item to make animation better r=sebastian
This results in the highlights title smoothly animating upwards with the remaining RecyclerView items.
Previously RV would crossfade between a panel containing both the welcome message AND the highlights
title, which means the Highlights title would vanish and reappear. This patch results in a more
correct and pleasing animation. We also upgrade to using a ViewStub for the welcome panel as part of
this commit.

MozReview-Commit-ID: GYxrSiqKeS5

--HG--
extra : rebase_source : d766347b74971874a28062b48cdf2a2880031608
2016-12-12 15:09:28 -08:00
Andrzej Hunt
f4c188c23b Bug 1319254 - Add welcome panel to Activity Stream r=sebastian
MozReview-Commit-ID: FayZbZhvT7k

--HG--
extra : rebase_source : 566fe4d1d8b51bb2c2a073d7957e413f1ff4d0e2
2016-12-12 15:52:13 -08:00
Andrzej Hunt
a984f57a13 Bug 1319254 - Pre: implement stable IDs for AS RecyclerView r=sebastian
MozReview-Commit-ID: KfAswxOU8Nw

--HG--
extra : rebase_source : 59d55261919e6b0728be5f8dd42c3661feb7846a
2016-12-12 14:25:03 -08:00
Andrzej Hunt
ecc0fe9b54 Bug 1319254 - Pre: make final r=ahunt
MozReview-Commit-ID: FTb0p2T3mdo

--HG--
extra : rebase_source : 28e3dcbc0b2fe736b5a14640abc9ab8174f4987e
2016-12-01 14:02:19 -08:00
Andrzej Hunt
312f63a0c2 Bug 1314328 - Part 2: convert remaining firstrun pngs to webp r=nechen
This helps reduce apk size by 52kb in local builds.

MozReview-Commit-ID: 3Faz0kA6TKu

--HG--
rename : mobile/android/base/resources/drawable-nodpi/firstrun_account.png => mobile/android/base/resources/drawable-nodpi/firstrun_account.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_bookmarks.png => mobile/android/base/resources/drawable-nodpi/firstrun_bookmarks.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_data_off.png => mobile/android/base/resources/drawable-nodpi/firstrun_data_off.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_data_on.png => mobile/android/base/resources/drawable-nodpi/firstrun_data_on.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_readerview.png => mobile/android/base/resources/drawable-nodpi/firstrun_readerview.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_signin.png => mobile/android/base/resources/drawable-nodpi/firstrun_signin.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_sync.png => mobile/android/base/resources/drawable-nodpi/firstrun_sync.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_tabqueue_on.png => mobile/android/base/resources/drawable-nodpi/firstrun_tabqueue_on.webp
rename : mobile/android/base/resources/drawable-nodpi/firstrun_urlbar.png => mobile/android/base/resources/drawable-nodpi/firstrun_urlbar.webp
extra : rebase_source : e9bc58a2f72f81700d914bdea5eb8701f52bb4fb
2016-12-07 12:42:06 -08:00
Andrzej Hunt
2cfb258a32 Bug 1314328 - Part 1: add solid background to reduce one firstrun png size r=nechen
Converting this image to webp results in artifacts on the rectangle, therefore
we can only try to minimise its size by removing the alpha channel. (All other
firstrun images will be converted to webp as they do not display these artifacts
after conversion.)

MozReview-Commit-ID: EdAgdfHna8C

--HG--
extra : rebase_source : 21a483c304607d6fd3876ddd52e14376c771578f
2016-12-07 12:38:52 -08:00
Andrzej Hunt
6c839a7fde Bug 1320879 - Add telemetry for AS context menu "add to homescreen" r=sebastian
MozReview-Commit-ID: G4jCpawmbTb

--HG--
extra : rebase_source : e3c366cb542874ab52becfcb4d76b79afdd73ed9
2016-11-30 10:50:36 -08:00
Andrzej Hunt
d76a2e8c4b Bug 1320879 - Pre: add telemetry for HomeFragment->context menu->add to homescreen r=sebastian
MozReview-Commit-ID: HVrJZxWOLZn

--HG--
extra : rebase_source : ae18c7acd8eadea1e2a93d47cd8f83a6b2852ae1
2016-11-30 10:50:01 -08:00
Andrzej Hunt
8a6e5470ac Bug 1321008 - Add telemetry for AS context menu bookmark/unbookmark r=sebastian
MozReview-Commit-ID: qf3NmSr8hl

--HG--
extra : rebase_source : f63515f23f60287e76f8a7fb3104df1879a0e8aa
2016-11-30 11:11:55 -08:00
Shih-Chiang Chien
b6996d911a Bug 1322605 - remove legacy TV 2.5 presentation device support. r=junior
MozReview-Commit-ID: kcXlIiWh0g

--HG--
extra : rebase_source : 377d8460d556e0e65f6971ddebb985d0aa8c75e3
2016-12-08 16:25:27 -10:00
Phil Ringnalda
0111ff534b Merge m-i to m-c, a=merge
MozReview-Commit-ID: BnSh8kutBaR
2016-12-10 08:27:52 -08:00
Eugen Sawin
c103851dcd Bug 1322765 - [1.0] Move service declarations into application scope. r=rbarker 2016-12-09 13:51:29 -10:00
Shih-Chiang Chien
7ed7acac25 Bug 1322602 - remove Fennec-to-FxOSTV video casting. r=rbarker
MozReview-Commit-ID: KjEJUPkgRLo

--HG--
extra : rebase_source : 41ecdfec4caebc18934766120501a95ae2125e2f
2016-12-08 16:02:13 -10:00
Shan
b85e053397 Bug 1316021 - Remove unnecessary static fields; r=sebastian
--HG--
extra : rebase_source : 48a89c5559d66661bac3feb517183771b88cfcab
2016-12-19 17:37:33 +01:00
Eugen Sawin
f057928823 Bug 1322509 - [2.0] Fix log typo. r=jchen 2016-12-09 09:27:19 -10:00
Eugen Sawin
b78834d7fd Bug 1322509 - [1.0] Initialize Gecko interface with the activity context instead of the application context. r=jchen 2016-12-09 09:25:44 -10:00
Jim Chen
e9532b9a3f Bug 1321418 - Use GekcoBundle events in GeckoApp/BrowserApp; r=snorp r=sebastian r=gbrown
Bug 1321418 - 1. Use GekcoBundle events in GeckoApp; r=snorp r=sebastian

Switch GeckoApp to using GeckoBundle events everywhere. UI or Gecko
events are used if the event requires the UI or Gecko thread,
respectively, and background events are used for all other events.

There are changes to some other Java classes, such as SnackbarBuilder
and GeckoAccessibility, due to the switch to GeckoBundle.

For "Snackbar:Show", we need the global EventDispatcher because the
event can be sent to both GeckoApp and GeckoPreferences. Howveer, we
only want one listener registered at the same time, so we register and
unregister in GeckoApp's and GeckoPreferences's onPause and onResume
methods.

Bug 1321418 - 2. Use appropriate JS EventDispatcher to send GeckoApp events; r=snorp r=sebastian

Change JS code that sends events to GeckoApp to use either the global
EventDispatcher or the per-window EventDispatcher.

"Session:StatePurged" is not used so it's removed. "Gecko:Ready" in
geckoview.js is not necessary because it's only used for GeckoApp, so
it's removed from geckoview.js.

Bug 1321418 - 3. Use GeckoBundle events in BrowserApp; r=snorp r=sebastian

Switch BrowserApp to using GeckoBundle events, in a similar vein as
GeckoApp. UI or Gecko events are used if the event handlers required UI
or Gecko thread, respectively, and background events are used for all
other events.

Some other Java classes also have to be modified as a result of
switching to GeckoBundle.

Bug 1321418 - 4. Use global EventDispatcher to send BrowserApp events; r=snorp r=sebastian

Change JS code that sends events to BrowserApp to use the global
EventDispatcher instead of "Messaging".

Bug 1321418 - 5. Update usages of events in tests; r=gbrown

Update cases where we use or wait for events in tests.
2016-12-09 12:32:45 -05:00
Jim Chen
87a621d48b Bug 1319558 - Add new EventDispatcher support to Robocop interface; r=gbrown
Add expectGlobalEvent, expectWindowEvent, sendGlobalEvent, and
sendWindowEvent to the Robocop Actions interface, along with changes to
EventExpecter, to support GeckoBundle events on Gecko, UI, and
background threads.
2016-12-09 12:32:45 -05:00
Carsten "Tomcat" Book
4434d5f7c1 merge mozilla-inbound to mozilla-central a=merge 2016-12-09 13:32:03 +01:00
Boris Zbarsky
162c8766a4 Bug 1310796 part 4. Get rid of 'content-targetable' values for the 'type' attribute everywhere except tabbrowser.xml. Just use 'content' instead. r=gijs 2016-12-08 16:41:45 -10:00
Tom Klein
1368b01c9d Bug 1202861 - 2. Refresh tabs panel when compact tabs configuration changes. r=sebastian
MozReview-Commit-ID: HV9EQcLtCrE

--HG--
extra : rebase_source : 4eab2b439632ad60321b480f46aa408e6c32fc42
2016-11-28 09:27:24 -06:00
Tom Klein
cb910a483d Bug 1202861 - 1. Create compact (two column) tabs tray option for portrait mode phones. r=sebastian
Changing the setting currently won't take effect until you rotate the tabs
panel (to cause it to be recreated); that will be fixed in the next commit.

MozReview-Commit-ID: HZfQRy8zubV

--HG--
extra : rebase_source : 78c3606eb55146afe3d59b0cdfa623999f09796b
2016-11-29 13:22:37 -06:00
Jim Chen
f2d55370bb Bug 1321568 - Handle null and CharSequence prompt values; r=me
Correctly handle null values and CharSequence values (that are not
Strings) returned by prompt inputs. r=me for trivial patch.
2016-12-08 14:46:08 -05:00
John Lin
0c318ba97d Bug 1299068 - part 5: release/render buffers when VideoData sent to compositor. r=snorp
MozReview-Commit-ID: JmEKLKlJnaL

--HG--
extra : rebase_source : 5177ed35206aad3423b9960ea5e9e59459540cde
2016-11-30 17:55:52 +08:00
John Lin
28b5d4c496 Bug 1299068 - part 4: on Android, send one frame to compositor at a time. r=jya
MozReview-Commit-ID: IURBwIiv0q4

--HG--
extra : rebase_source : 88c864270dc4a610d94463ef53d94a89e8ac9e99
2016-11-23 15:14:28 +08:00
John Lin
049fe08d4b bug 1299068 - part 2: add parameter to IPC method for rendering output or not. r=snorp
MozReview-Commit-ID: 7Q5hdefoXIH

--HG--
extra : rebase_source : 68f71c322f01c03eca2bbecda41883b6cc148b0b
2016-11-23 15:18:09 +08:00
John Lin
06a7377e06 Bug 1299068 - part 1: code refactoring/clean-up r=snorp
- move all buffer related code from the Callbacks class to (Input|Output)Pocessor
- don't implicitly release output buffer to codec. Do it when client calls releaseOutput()
- fix buffer management problem in reset()
- minor code formatting issue

MozReview-Commit-ID: FmMjFBQax0s

--HG--
extra : rebase_source : 88fcaa58fe1cae1a8603bdbce2ad0cd6c6f7a21e
2016-11-22 15:36:37 +08:00
Andrzej Hunt
0d8088d742 Bug 1321799 - Use decimal format placeholder for filesize r=sebastian
%l seems to be for hour in 12hr clock (i.e. 1-12), but we're applying it to a filesize.
%d seems more appropriate in order to display the actual raw filesize.

MozReview-Commit-ID: AKTpYndm81o

--HG--
extra : rebase_source : 4107bd4ebbe6169ecd3823b2613099bb73ae81a1
2016-12-02 21:57:33 -08:00
James Cheng
0a71fb4e52 Bug 1321756 - Preference on media.decoder.recycle.enabled on Fennec. r=jya
MozReview-Commit-ID: GAjbykVSaqe

--HG--
extra : rebase_source : 66928272843aeccc5feedb4f490e975899e8384c
2016-12-02 15:24:15 +08:00
maliu
a3e84536ef Bug 1317326 - Pause media playing when headset unplugged, r=alwu,sebastian
MozReview-Commit-ID: GHdFWPgPum1

--HG--
extra : rebase_source : bcc8acf49da5ffb46732233da6106513eb8ad64b
2016-11-25 21:23:05 +08:00
Nevin Chen
88effeb467 Bug 1320605 - The shrunk height just nee to cover the text itself. r=sebastian
MozReview-Commit-ID: BdoLEOKjvxw

--HG--
extra : rebase_source : 98f2be697c16d170d974ded868ad99dd1d2946c8
2016-12-02 11:12:24 +08:00
Carsten "Tomcat" Book
fadc5a3e12 merge mozilla-inbound to mozilla-central a=merge 2016-12-02 09:23:52 +01:00
Wes Kocher
b9a8598f48 Merge m-c to inbound, a=merge 2016-12-01 15:46:23 -08:00
Wes Kocher
d360bdebf5 Merge inbound to central, a=merge 2016-12-01 15:31:47 -08:00
Jim Chen
8eb5680901 Bug 1321562 - Fix bugs in GeckoBundle.fromJSONObject; r=me
Fix a crash in GeckoBundle.fromJSONObject due to wrong values array
type. Also, fix a bug where the first element of a converted array is
repeated. r=me for trivial patch.
2016-12-01 12:25:22 -05:00
David Keeler
858957f033 bug 857627 - 2/4: remove nsIX509Cert.nickname r=Cykesiopka,jcj
In general, any code that was using nsIX509Cert.nickname should be able to use
the attribute displayName (if using nickname for display purposes) or the
attribute dbKey (if using nickname as a unique identifier for a certificate).

MozReview-Commit-ID: G9CfMJDfLqe

--HG--
extra : rebase_source : 1c464dab8f028568cedd5a42cf87428b8bb63fc0
2016-11-18 13:12:29 -08:00
Jan Henning
d67b48b711 Bug 1320987 - Stop leaking tabs during test_session_zombification. r=gbrown
A subtest's cleanup function only runs at the very end, after *all* subtests have finished. This means that we cannot use it to close the test tabs if we want to reuse the tab variables during following subtests. If we did, we'd be leaking those previous tabs, meaning they remain open at the end of the test and cause possible problems for following tests as well as lots of "Unable to restore focus" messages in the log.

MozReview-Commit-ID: H87JQ5gcIAg

--HG--
extra : rebase_source : 5e870acba4c8ee05557f1ac0175bda12606b4e28
2016-11-30 21:53:33 +01:00
Julian_Chu
374e6cda76 Bug 1314835: Add more debug information to TelemetryPingStore r=sebastian
So far still cannot find the reason of causing exception. To add more
debug information to make sure it is not permssion problem.

MozReview-Commit-ID: 7hhU7Et64Qs

--HG--
extra : rebase_source : 84ac7c066468bf613afe0513b2ce00081e16f62c
2016-11-15 14:35:59 +08:00
Ting-Yu Lin
81c457de9d Bug 1321491 Part 1 - Remove unnecessary "layout.accessiblecaret.enabled" for Fennec. r=mtseng
Fennec has touch support, so enabling
"layout.accessiblecaret.enabled_on_touch" in all.js is sufficient.

MozReview-Commit-ID: 4Aa3g5eqt2F

--HG--
extra : rebase_source : c5fe085fe3d643dcf9f9a3732986954032566837
2016-12-01 15:50:26 +08:00
James Cheng
2fca45e7dc Bug 1320618 - Check if codec supports adaptive playback to determine the decoder support recycling or not. r=jolin
MozReview-Commit-ID: C3pI9NCUgiP

--HG--
extra : rebase_source : c9da5d21ee76e660ea5a18f77b1ea6bccd14286d
2016-11-30 16:30:16 +08:00
Dylan Roeh
9ff1fe4af5 Bug 1235431 - Implement windowClient.focus() for Fennec. r=catalinb 2016-11-14 17:22:13 -06:00
Andrea Marchesini
8bbeee69cf Bug 1321261 - create dom/file for File APIs, r=qdot
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/create_file_objects.js => dom/file/tests/create_file_objects.js
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_mozfiledataurl_audio.ogg => dom/file/tests/file_mozfiledataurl_audio.ogg
rename : dom/base/test/file_mozfiledataurl_doc.html => dom/file/tests/file_mozfiledataurl_doc.html
rename : dom/base/test/file_mozfiledataurl_img.jpg => dom/file/tests/file_mozfiledataurl_img.jpg
rename : dom/base/test/file_mozfiledataurl_inner.html => dom/file/tests/file_mozfiledataurl_inner.html
rename : dom/base/test/file_mozfiledataurl_text.txt => dom/file/tests/file_mozfiledataurl_text.txt
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileapi_chromeScript.js => dom/file/tests/fileapi_chromeScript.js
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_mozfiledataurl.html => dom/file/tests/test_mozfiledataurl.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 15:12:42 +01:00
Sebastian Hengst
2fff66aaac Backed out changeset d3ef6f3e9193 (bug 1321261) for build bustage (calling missing file BlobParent.h from dom/ipc/TabParent.cpp). r=backout on a CLOSED TREE
--HG--
rename : dom/file/BlobSet.cpp => dom/base/BlobSet.cpp
rename : dom/file/BlobSet.h => dom/base/BlobSet.h
rename : dom/file/File.cpp => dom/base/File.cpp
rename : dom/file/File.h => dom/base/File.h
rename : dom/file/FileList.cpp => dom/base/FileList.cpp
rename : dom/file/FileList.h => dom/base/FileList.h
rename : dom/file/FileReader.cpp => dom/base/FileReader.cpp
rename : dom/file/FileReader.h => dom/base/FileReader.h
rename : dom/file/MultipartBlobImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/file/MultipartBlobImpl.h => dom/base/MultipartBlobImpl.h
rename : dom/file/MutableBlobStorage.cpp => dom/base/MutableBlobStorage.cpp
rename : dom/file/MutableBlobStorage.h => dom/base/MutableBlobStorage.h
rename : dom/file/MutableBlobStreamListener.cpp => dom/base/MutableBlobStreamListener.cpp
rename : dom/file/MutableBlobStreamListener.h => dom/base/MutableBlobStreamListener.h
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/base/nsHostObjectProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/base/nsHostObjectProtocolHandler.h
rename : dom/file/nsHostObjectURI.cpp => dom/base/nsHostObjectURI.cpp
rename : dom/file/nsHostObjectURI.h => dom/base/nsHostObjectURI.h
rename : dom/file/nsIDOMBlob.idl => dom/base/nsIDOMBlob.idl
rename : dom/file/nsIDOMFileList.idl => dom/base/nsIDOMFileList.idl
rename : dom/file/tests/create_file_objects.js => dom/base/test/create_file_objects.js
rename : dom/file/tests/file_blobURL_expiring.html => dom/base/test/file_blobURL_expiring.html
rename : dom/file/tests/file_mozfiledataurl_audio.ogg => dom/base/test/file_mozfiledataurl_audio.ogg
rename : dom/file/tests/file_mozfiledataurl_doc.html => dom/base/test/file_mozfiledataurl_doc.html
rename : dom/file/tests/file_mozfiledataurl_inner.html => dom/base/test/file_mozfiledataurl_inner.html
rename : dom/file/tests/file_mozfiledataurl_text.txt => dom/base/test/file_mozfiledataurl_text.txt
rename : dom/file/tests/file_nonascii_blob_url.html => dom/base/test/file_nonascii_blob_url.html
rename : dom/file/tests/fileapi_chromeScript.js => dom/base/test/fileapi_chromeScript.js
rename : dom/file/tests/fileutils.js => dom/base/test/fileutils.js
rename : dom/file/tests/test_blobURL_expiring.html => dom/base/test/test_blobURL_expiring.html
rename : dom/file/tests/test_blob_fragment_and_query.html => dom/base/test/test_blob_fragment_and_query.html
rename : dom/file/tests/test_blobconstructor.html => dom/base/test/test_blobconstructor.html
rename : dom/file/tests/test_file_from_blob.html => dom/base/test/test_file_from_blob.html
rename : dom/file/tests/test_file_negative_date.html => dom/base/test/test_file_negative_date.html
rename : dom/file/tests/test_fileapi.html => dom/base/test/test_fileapi.html
rename : dom/file/tests/test_fileapi_slice.html => dom/base/test/test_fileapi_slice.html
rename : dom/file/tests/test_ipc_messagemanager_blob.html => dom/base/test/test_ipc_messagemanager_blob.html
rename : dom/file/tests/test_nonascii_blob_url.html => dom/base/test/test_nonascii_blob_url.html
rename : dom/file/ipc/Blob.cpp => dom/ipc/Blob.cpp
rename : dom/file/ipc/BlobChild.h => dom/ipc/BlobChild.h
rename : dom/file/ipc/BlobParent.h => dom/ipc/BlobParent.h
rename : dom/file/ipc/BlobTypes.ipdlh => dom/ipc/BlobTypes.ipdlh
rename : dom/file/ipc/PBlob.ipdl => dom/ipc/PBlob.ipdl
rename : dom/file/ipc/PBlobStream.ipdl => dom/ipc/PBlobStream.ipdl
rename : dom/file/ipc/nsIRemoteBlob.h => dom/ipc/nsIRemoteBlob.h
2016-12-01 12:27:28 +01:00
Andrea Marchesini
5fa67a1046 Bug 1321261 - create dom/file for File APIs, r=qdot
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/create_file_objects.js => dom/file/tests/create_file_objects.js
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_mozfiledataurl_audio.ogg => dom/file/tests/file_mozfiledataurl_audio.ogg
rename : dom/base/test/file_mozfiledataurl_doc.html => dom/file/tests/file_mozfiledataurl_doc.html
rename : dom/base/test/file_mozfiledataurl_img.jpg => dom/file/tests/file_mozfiledataurl_img.jpg
rename : dom/base/test/file_mozfiledataurl_inner.html => dom/file/tests/file_mozfiledataurl_inner.html
rename : dom/base/test/file_mozfiledataurl_text.txt => dom/file/tests/file_mozfiledataurl_text.txt
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileapi_chromeScript.js => dom/file/tests/fileapi_chromeScript.js
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 11:43:18 +01:00
Sebastian Hengst
3d3ca51d8d Backed out changeset 806c3d121dd4 (bug 1321261) for timing out in test_fileapi.html, test_mozfiledataurl.html and test_nonascii_blob_url.html on Linux x64 asan and debug. r=backout
--HG--
rename : dom/file/BlobSet.cpp => dom/base/BlobSet.cpp
rename : dom/file/BlobSet.h => dom/base/BlobSet.h
rename : dom/file/File.cpp => dom/base/File.cpp
rename : dom/file/File.h => dom/base/File.h
rename : dom/file/FileList.cpp => dom/base/FileList.cpp
rename : dom/file/FileList.h => dom/base/FileList.h
rename : dom/file/FileReader.cpp => dom/base/FileReader.cpp
rename : dom/file/FileReader.h => dom/base/FileReader.h
rename : dom/file/MultipartBlobImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/file/MultipartBlobImpl.h => dom/base/MultipartBlobImpl.h
rename : dom/file/MutableBlobStorage.cpp => dom/base/MutableBlobStorage.cpp
rename : dom/file/MutableBlobStorage.h => dom/base/MutableBlobStorage.h
rename : dom/file/MutableBlobStreamListener.cpp => dom/base/MutableBlobStreamListener.cpp
rename : dom/file/MutableBlobStreamListener.h => dom/base/MutableBlobStreamListener.h
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/base/nsHostObjectProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/base/nsHostObjectProtocolHandler.h
rename : dom/file/nsHostObjectURI.cpp => dom/base/nsHostObjectURI.cpp
rename : dom/file/nsHostObjectURI.h => dom/base/nsHostObjectURI.h
rename : dom/file/nsIDOMBlob.idl => dom/base/nsIDOMBlob.idl
rename : dom/file/nsIDOMFileList.idl => dom/base/nsIDOMFileList.idl
rename : dom/file/tests/file_blobURL_expiring.html => dom/base/test/file_blobURL_expiring.html
rename : dom/file/tests/file_nonascii_blob_url.html => dom/base/test/file_nonascii_blob_url.html
rename : dom/file/tests/fileutils.js => dom/base/test/fileutils.js
rename : dom/file/tests/test_blobURL_expiring.html => dom/base/test/test_blobURL_expiring.html
rename : dom/file/tests/test_blob_fragment_and_query.html => dom/base/test/test_blob_fragment_and_query.html
rename : dom/file/tests/test_blobconstructor.html => dom/base/test/test_blobconstructor.html
rename : dom/file/tests/test_file_from_blob.html => dom/base/test/test_file_from_blob.html
rename : dom/file/tests/test_file_negative_date.html => dom/base/test/test_file_negative_date.html
rename : dom/file/tests/test_fileapi.html => dom/base/test/test_fileapi.html
rename : dom/file/tests/test_fileapi_slice.html => dom/base/test/test_fileapi_slice.html
rename : dom/file/tests/test_ipc_messagemanager_blob.html => dom/base/test/test_ipc_messagemanager_blob.html
rename : dom/file/tests/test_mozfiledataurl.html => dom/base/test/test_mozfiledataurl.html
rename : dom/file/tests/test_nonascii_blob_url.html => dom/base/test/test_nonascii_blob_url.html
rename : dom/file/ipc/Blob.cpp => dom/ipc/Blob.cpp
rename : dom/file/ipc/BlobChild.h => dom/ipc/BlobChild.h
rename : dom/file/ipc/BlobParent.h => dom/ipc/BlobParent.h
rename : dom/file/ipc/BlobTypes.ipdlh => dom/ipc/BlobTypes.ipdlh
rename : dom/file/ipc/PBlob.ipdl => dom/ipc/PBlob.ipdl
rename : dom/file/ipc/PBlobStream.ipdl => dom/ipc/PBlobStream.ipdl
rename : dom/file/ipc/nsIRemoteBlob.h => dom/ipc/nsIRemoteBlob.h
2016-12-01 11:05:56 +01:00
Andrea Marchesini
0606c6006d Bug 1321261 - create dom/file for File APIs, r=qdot
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_mozfiledataurl.html => dom/file/tests/test_mozfiledataurl.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 09:21:54 +01:00
Phil Ringnalda
9d4fa3ee74 Merge autoland to m-c, a=merge
MozReview-Commit-ID: ZxgsQWdyOP

--HG--
rename : mobile/android/config/mozconfigs/android-api-15-gradle/nightly => mobile/android/config/mozconfigs/android-api-15-gradle/nightly-artifact
rename : mobile/android/config/mozconfigs/android-api-15-gradle/nightly => mobile/android/config/mozconfigs/android-api-15/nightly-artifact
2016-11-30 19:17:54 -08:00
Wes Kocher
68fb4b9d24 Merge inbound to central, a=merge 2016-11-30 16:12:21 -08:00
Ryan VanderMeulen
7af8f38714 Merge m-c to autoland on a CLOSED TREE. a=merge 2016-11-30 13:27:46 -05:00
Nathan Froyd
0fec2a74f2 Bug 1321073 - follow-up - don't --enable-rust for android-api-15-frontend; r=me 2016-11-30 09:27:27 -05:00
Jim Chen
c1989b166e Bug 1320603 - Revert to global EventDispatcher for certain events; r=sebastian
These events are not accessed through GeckoApp, and should therefore use
the global EventDispatcher rather than the per-GeckoApp/GeckoView
EventDispatcher. Otherwise, we could run into situations where we end up
registering / unregistering the same event using different
EventDispatcher instances, causing exceptions like this one.
2016-11-30 14:01:20 -05:00
Phil Ringnalda
430ec9a870 Merge m-c to autoland 2016-11-29 19:31:34 -08:00
Phil Ringnalda
ef3cede9a5 Merge m-i to m-c, a=merge
MozReview-Commit-ID: DAm5uRF7n91
2016-11-29 19:28:12 -08:00
Ralph Giles
cd67cdf6df Bug 1320960 - Add x86 target to tooltool rust android-cross. r=mshal
Update the tooltool manifests for the android builds to include
support for the i686-linux-android target.

MozReview-Commit-ID: EyALhnfG4Kz

--HG--
extra : rebase_source : a85b8c1509458e1f5a8f8eae163e38edd1c363ce
2016-11-29 08:01:56 -08:00
Tom Klein
e9ce8f8488 Bug 1321002 - Reduce total space at top and bottom of tabs grid panels. r=sebastian
Previously for the spacing at the top and bottom of the tabs grid panel we had
the total desired vertical spacing set on the RecyclerView padding, but then
there was also an additional half spacing coming from the ItemDecoration padding
in the top and bottom rows.  Here we decrease the RecyclerView vertical padding
to account for the ItemDecoration vertical padding.

The alternative route of keeping full RecyclerView padding and then having the
ItemDecoration adjust itself depending on its position turned out to not "just
work": for example, if span count is three and you have four tabs, then the
first three tabs have half padding along their bottoms (since there are two
rows), but then when you close tab 4, there's now only one row and so the three
tabs should have no padding along their bottoms (since the RecyclerView already
has its own full padding), *but only tab 3 gets its ItemDecoration updated
automatically*, so it gets 0 bottom padding, but its row still has other tabs
with half bottom padding, so a) there's still too much bottom padding in that
row coming from tabs 1 and 2, and b) tab 3 sits too far down in its space
because it doesn't have the bottom padding that tabs 1 and 2 do.

That issue could be fixed by updating all ItemDecorations after each close, but
the patch here is both simpler and leads to less runtime work.

MozReview-Commit-ID: 2WeZ6QdfIF4

--HG--
extra : rebase_source : 85aec8adfdaacac7062827e273cf697c09167d63
2016-11-28 14:58:09 -06:00
Nathan Froyd
d82a3032cd Bug 1321073 - enable Rust on Android builds; r=mshal 2016-11-30 05:38:17 -05:00
Phil Ringnalda
4f2b77776e Merge m-c to m-i
MozReview-Commit-ID: IQH3p0Fs2su
2016-11-29 19:32:37 -08:00
Geoff Brown
dbd190562a Bug 1318171 - Catch all throwables in SearchEngineManager.createEngineFromLocale; r=sebastian 2016-11-29 16:51:31 -07:00
André Bargull
440601a995 Bug 1320143 - Remove String generics uses in mobile/android/chrome/content. r=sebastian
--HG--
extra : rebase_source : ff926dec0ab0aa1d79a13d7312808607652d1364
2016-11-24 13:18:09 -08:00
Swaroop Rao
d383686ac1 Bug 1316023 - Version 2 of fixes. Removed unreachable statements. r=sebastian
MozReview-Commit-ID: 5gQEJVmboOr

--HG--
extra : rebase_source : 12ca03e482f0328ef3e12533ca020974983c7f1d
2016-11-21 20:00:31 -05:00
Shan
6a492b92d9 Bug 1316012 - Remove unnecessary boxing/unboxing; r=sebastian
MozReview-Commit-ID: 6k9d86ioK70

--HG--
extra : rebase_source : 0730a48d7a13a6f65ec8bac7a04b775e1eff9ad7
2016-11-26 11:24:00 +05:30
Carsten "Tomcat" Book
9dd582c3dd Merge mozilla-central to autoland 2016-11-29 11:50:17 +01:00
Tomislav Jurin
8473a479e6 Bug 1316009 - Adding 'final' keyword to static fields where appropriate. r=sebastian 2016-11-25 20:02:44 +01:00
Andrew Overholt
0f5f9f1124 Bug 1311610 - Add EditorUtils.* to package-manifest; r=enndeakin 2016-11-28 11:40:54 -05:00
Jan Henning
c7fd475af5 Bug 1320449 - Enable keyboard text prediction on the awesome bar during normal browsing. r=sebastian
MozReview-Commit-ID: 17xMoyDhYmn

--HG--
extra : rebase_source : 64ee68c411c830dc5e89197e7d7fc62a50f14978
2016-11-26 15:14:22 +01:00
Sebastian Kaspari
1f07de1fd2 Bug 1320079 - Update tooltool manifests with findbugs deps. r=ahunt,maliu
MozReview-Commit-ID: 4Vu860y3Czm

--HG--
extra : rebase_source : b6fc5cf646ac7bac8ccbe59d0b445a272ebd3580
2016-11-24 20:09:03 +01:00
Sebastian Kaspari
f284d603a9 Bug 1320176 - Findbugs: Add exclude configuration for unfixed classes of bugs. r=ahunt,maliu
MozReview-Commit-ID: FXZzcht1c7A

--HG--
extra : rebase_source : af491486e2946dbcee45add115370940a34f5daa
2016-11-25 12:13:32 +01:00
Sebastian Kaspari
7bd57daa59 Bug 1320078 - Print findbugs report link for automation. r=ahunt,maliu
MozReview-Commit-ID: KKMYtDyNMkR

--HG--
extra : rebase_source : 6e96cd1f3a2b236ebe47fc0c3c39b9b54c7c9de4
2016-11-24 19:15:28 +01:00
James Cheng
9c50104423 Bug 1320271 - Some tweaks related to MediaDrmBridge. r=jchen
MozReview-Commit-ID: Nt5FEmd1p6

--HG--
extra : rebase_source : fc06dc57f57159aa6224ff0d454d1bf85752061e
2016-11-25 16:28:27 +08:00
maliu
a31c77fe3c Bug 1318663 - Don't skip load start tab during tab restore if incoming action of intent is VIEW with non-external URL. r=JanH,sebastian
MozReview-Commit-ID: 4DAYikBnzz2

--HG--
extra : rebase_source : 680137c3f2110a71ee4ff8ad9a848324f6599ee4
2016-11-29 02:25:29 +08:00
Jan Henning
0dcdc37035 Bug 1320564 - Fix the default value logic for "selected" when creating a new tab. r=sebastian
The idea is that cancelling edit mode when opening a new tab implies that we want to select it as well, otherwise we wouldn't have to cancel edit mode in the first place.

MozReview-Commit-ID: Gova1ymzlHn

--HG--
extra : rebase_source : a1d957de82a5e1ec9bf9162e1f01641e34e16ab4
2016-11-27 18:46:53 +01:00
Jim Chen
2f2df764d8 Bug 1319496 - 5. Change prompt response to use GeckoBundle; r=sebastian
Change prompt response from using JSONObject/String to using
GeckoBundle. The GeckoBundle is automatically translated to a JS object,
like before, when dispatched to JS code.
2016-11-29 12:25:53 -05:00
Jim Chen
ee7152f6a6 Bug 1319496 - 4. Fix context menu item IDs; r=sebastian
Context menu items used UUIDs as their prompt list item IDs. However,
prompt list items only support integers as IDs. This error didn't show
up before because JSONObject was silently ignoring the error. This patch
changes to using an incremental integer as the ID and fixes the error.
2016-11-29 12:25:53 -05:00
Jim Chen
edb09e5551 Bug 1319496 - 3. Convert prompts to BundleEventListener; r=sebastian
Convert prompts to use BundleEventListener and GeckoBundle.

DefaultDoorHanger.setOptions accepts a JSONObject argument, but if we
converted it to GeckoBundle, it would involve a lot of extra changes in
the other doorhanger code. So this patch adds GeckoBundle.fromJSONObject
and converts JSONObject to GeckoBundle within
DefaultDoorHanger.setOptions. In the future, another patch would convert
all doorhanger code to use GeckoBundle instead of JSONObject.
2016-11-29 12:25:53 -05:00
Jim Chen
ba7b253f47 Bug 1319496 - 2. Add more GeckoBundle tests in testEventDispatcher; r=snorp
Add more tests for edge cases in testEventDispatcher, such as null
arrays, nonexistent values, and object arrays containing only nulls.
2016-11-29 12:25:53 -05:00
Jim Chen
cc57abd3cd Bug 1319496 - 1. Fix GeckoBundle array handling; r=snorp
Fix several bugs when handling arrays in GeckoBundle.

1. Correctly return null when getting an array that is not in the
   bundle, instead of crashing.

2. Convert object arrays to GeckoBundle arrays in EventDispatcher
   instead of leaving it as a single GeckoBundle with integer keys, due
   to lack of object array support in NativeJSObject.toBundle.

3. Return error when trying to convert a JS array of arrays to
   GeckoBundle, instead of crashing.

4. Add convenience methods for setting arrays; for example, setting
   boolean arrays from Boolean[] and Collection<Boolean>.
2016-11-29 12:25:52 -05:00
Tomislav Jurin
1dff4f4f76 Bug 1316005 - fixed unused methods, made methods use actual signature and added @Override; r=sebastian 2016-11-24 22:30:04 +01:00
Nevin Chen
ca744407b1 Bug 1318222 - Updated the unit test,added more test r=sebastian
MozReview-Commit-ID: 8PvSoPJQ88n

--HG--
extra : rebase_source : 928448d1965259d1cece43f53aaf1870c6190d89
2016-11-17 16:29:23 +08:00
Nevin Chen
0da1e0220d Bug 1318222 - Add a unit test r=sebastian
MozReview-Commit-ID: Fv1e2dtPKut

--HG--
extra : rebase_source : d410228beecea6c6389f1980f849738745d81631
2016-11-17 14:44:10 +08:00
Sebastian Kaspari
e1a9c4b26c Bug 1320035 - Add gradle configuration for running findbugs. r=maliu
MozReview-Commit-ID: JATeS3zcvys

--HG--
extra : rebase_source : 6a9456d93c8a6c0786195a941772b00d89746a40
2016-11-24 11:13:54 +01:00
John Lin
8f4f3df42a Bug 1313991 - Rewrite input buffer polling logic. r=esawin
- poll all buffers when started or flushed.
- retry only for timed out.
- remove unnecessary polling

MozReview-Commit-ID: DU9vvjJkwDH

--HG--
extra : rebase_source : 54d734585e198413b2f1afbdad9b073b4e14a153
2016-11-21 15:36:06 +08:00
Nevin Chen
f306b4ac22 Bug 1314563 - Change state icon and message when url icon is clicked r=sebastian
MozReview-Commit-ID: 5KDVFVse9Tu

--HG--
extra : rebase_source : 808bc0f70841224163b9ee1b66f3fdd96ef125f6
2016-11-21 16:32:10 +08:00
Nevin Chen
2cfbaefbeb Bug 1314563 - Add info for Java to know when the url is in the exception list and show the correct icon r=sebastian
MozReview-Commit-ID: FG6a7mRCzZY

--HG--
extra : rebase_source : 998a0d60436f84df4554d62f48d985f9a03ffea0
2016-11-15 09:47:12 +08:00
Nevin Chen
7d8bc9ace3 Bug 1240560 - After shortcut is created, show the mobile desktop. r=sebastian
MozReview-Commit-ID: 21YzmJfNC6E

--HG--
extra : rebase_source : 130a84c9c01b57b730863a99b8507fb36bc93626
2016-11-24 10:57:19 +08:00
Nevin Chen
4b0c2fb780 Bug 1240560 - Extract goToHomeScreen() method to AcitvityUtils r=sebastian
MozReview-Commit-ID: 5w4ywPhDtAy

--HG--
extra : rebase_source : 048a3b5c6c0fff93ff9e92ce25d738c3de7afbdd
2016-11-24 10:54:49 +08:00
Mike Conley
e085c0e851 Bug 1320732 - Make sure borders for checkbox and radio input fields can be styled on Fennec. r=snorp
MozReview-Commit-ID: 3phE0L38exp

--HG--
extra : rebase_source : 99b7a3b71001745f404350673e3b21340db3f4ee
2016-11-28 13:22:42 -05:00
Sebastian Kaspari
7dfcff8b08 Bug 1301468 - Add activity stream session for new tab panel. r=ahunt
MozReview-Commit-ID: 45yMkb3bJfS

--HG--
extra : rebase_source : 899298bc8a26a3d2ae472d20e368756178f4356e
2016-11-23 17:24:31 +01:00
Sebastian Kaspari
600414d90f Bug 1301468 - Add telemetry to AS context menu (following the pattern of existing probes). r=ahunt
MozReview-Commit-ID: 91E0c9rPSbB

--HG--
extra : rebase_source : ca96399cc2c442113415639f082c47f15c61658b
2016-11-23 17:10:04 +01:00
Sebastian Kaspari
08059cfec8 Bug 1301468 - AS Top Sites: Add telemetry for showing context menu. r=ahunt
MozReview-Commit-ID: 9OzR2NjUnZJ

--HG--
extra : rebase_source : 41917acebefd7a7c0affd31a01e77a6011a99da0
2016-11-23 16:59:13 +01:00
Sebastian Kaspari
5cab60e280 Bug 1301468 - AS Highlights: Add LOAD_URL telemetry. r=ahunt
MozReview-Commit-ID: 4iVJXkz8L61

--HG--
extra : rebase_source : f41cdf98ad0b91e00ced69fe1f84fd34c6ccf790
2016-11-23 16:55:06 +01:00
Sebastian Kaspari
3c4f7c1f39 Bug 1301468 - AS Top Sites: Add LOAD_URL telemetry. r=ahunt
MozReview-Commit-ID: 2vgWB2KxPMK

--HG--
extra : rebase_source : 5f8209c48f4e01a13ccf6772a803dad6f2604b24
2016-11-23 16:52:20 +01:00
Jan Henning
c2c425bc88 Bug 1320550 - Part 2 - Clear closed tabs when max_tabs_undo is set to 0. r=sebastian
Currently, we stop updating closed tabs if max_tabs_undo is set to 0, however we don't clear that data and carry it around indefinitely unless the user clears the browser history.

This means that when closing a tab, we still show the "Undo close tab" snackbar, however with its contents referring to the last tab the user closed before setting browser.sessionstore.max_tabs_undo to 0.

With this patch, we clear all closed tabs (and don't reload them from disc on startup) if max_tabs_undo is 0, which also stops the snackbar from showing after closing a tab.

MozReview-Commit-ID: PEtminpW4B

--HG--
extra : rebase_source : 7c8039db1d1d7c5bc127cdc11fbc0a1387694ef9
2016-11-27 16:59:53 +01:00
Jan Henning
ebe2077f8b Bug 1320550 - Part 1 - Only try showing the "Undo close tab" snackbar if we actually have some closed tab data. r=sebastian
This can happen if the users sets browser.sessionstore.max_tabs_undo to 0 - with no closed tabs available, without this fix the resulting exception breaks browser.js's closed tab handling, meaning the tab gets closed in the UI but not in Gecko.

MozReview-Commit-ID: 7yMyIB6UzAB

--HG--
extra : rebase_source : 37ca55519b30cbd5d263127d3ecd6b893ccfafc9
2016-11-27 16:44:38 +01:00
Shan
422587fe5b Bug 1316006 - Change implicit toString() to Arrays.toString(); r=sebastian
MozReview-Commit-ID: Cgcc8UMNpCr

--HG--
extra : rebase_source : 5a145d003b8587fd99179298648e8e2806a76ed0
2016-11-25 16:50:49 +05:30
Axel Hecht
4458fe9cad bug 1280683, keep a pristine copy of en-US installer for repacks, r=glandium
Let's use a pristine unpackaged directory of the en-US package, and just
rsync that to l10n-stage. That way, all repacks start off with a copy
of en-US without modifications of the previous repack.

Removing clobber-zip, that hasn't been used in ages, on the way.

Moving the creation of the branding dir to the INNER_UNMAKE_PACKAGE,
which is the command that needs it, to simplify rulesets.

MozReview-Commit-ID: 8WJtaAqjmk1

--HG--
extra : rebase_source : 2c60a09bc09c72d5d8cf3058a66f806059c93751
2016-11-23 22:19:19 +01:00
Nick Alexander
5ebc0b666e Bug 1285608 - Part 1: Add Android moz.build and Gradle artifact build configs. r=maja_zf
MozReview-Commit-ID: AXh5ueeUs38

--HG--
rename : mobile/android/config/mozconfigs/android-api-15-gradle/nightly => mobile/android/config/mozconfigs/android-api-15-gradle/nightly-artifact
rename : mobile/android/config/mozconfigs/android-api-15-gradle/nightly => mobile/android/config/mozconfigs/android-api-15/nightly-artifact
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_artifact.py
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_gradle.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_15_gradle_artifact.py
extra : rebase_source : df6670faf970017c5a54e49392fce0c4f1f166a9
extra : source : 6185cc11608ffb623bb534a8e64b72ec08efbf4e
2016-11-29 20:10:31 -08:00
Carsten "Tomcat" Book
61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Wes Kocher
b851c06cc9 Merge m-c to inbound, a=merge 2016-11-23 16:18:24 -08:00
Hamel Joshi
b060052591 Bug 1316017 - Remove redundant nullcheck calls. r=sebastian
--HG--
extra : rebase_source : 8316fc83da782c6437028ed16088c19886370c07
2016-11-16 09:12:00 -05:00
maliu
1bf966a5c8 Bug 1319302 - RTL support for Firefox for Android, r=sebastian
MozReview-Commit-ID: bKzW07YBDy

--HG--
extra : rebase_source : 591b8f98a7a287dbf2b7748a97211c81a3ac11aa
2016-11-11 16:10:21 +08:00
Alastor Wu
cfe81f3b38 Bug 1301055 - part1 : allow to replay the same video again. r=snorp
MozReview-Commit-ID: LNz6vEeMZOL

--HG--
extra : rebase_source : f2529c77ed453a6ba14d6df6b3d0f4d504af2a08
2016-11-24 10:24:02 +08:00
Ralph Giles
6e165b8a38 Bug 1318531 - Update builders to rust 1.14.0-beta.2. r=mshal
Update tooltool manifests to repacks of upstream builds of
rustc 1.14.0-beta.2 (e627a2e6e 2016-11-16)
cargo 0.15.0-nightly (a9c23dd 2016-11-15)
for the relevent hosts and target platforms.

We prefer to use stable rust but this bump gets us debuginfo
for the rust standard library on all platforms, which we hope
will improve crash reporting (bug 1268328). That is higher
priority. The rust 1.14 version should be in stable release
before Firefox 53 goes to Aurora, so we'll still stabilize
and ship with stable rust.

This build also contains the fix for the arm code generation
bug blocking update from 1.12 on android, so we can use 1.13
language features in Firefox 53. For more information, see
https://github.com/rust-lang/rust/pull/37815

This doesn't update the native MacOS build because of an
openssl link issue with cargo. This is resolved upstream
for rust 1.15; getting that ported to a later 1.14 beta is
tracked in https://github.com/rust-lang/rust/issues/37969

MozReview-Commit-ID: JbJTd4D7VOu

--HG--
extra : rebase_source : 0690f3d4443f3fc7f224f051f910de92c54b8f60
2016-11-23 06:22:30 -08:00
Ralph Giles
dddc123f32 Bug 1318531 - Fix whitespace in tooltool manifests. r=mshal
Run the tooltool manifests through a python script to read the
json as an OrderedDict and when write it back out with normal
tooltool formatting options. This regularizes the whitespace,
fixing trailing spaces written by older versions of the python
json serializer, dos-vs-unix line endings, and regularizing
opening '[{' and closing '}]' to be on separate lines.

The android manifests have a 'versions' key which has indenting,
unlike the rest of the files. I've left that as-is.

MozReview-Commit-ID: EVW1YlgRJJL

--HG--
extra : rebase_source : 40c1992090807dc40495ebacb37ee358c1d6a6f1
2016-11-22 16:15:27 -08:00
Dylan Roeh
c02cdb63e5 Bug 1318038 - Open speculative connections for URLs supplied to GeckoCustomTabsService.mayLaunchUrl() r=snorp 2016-11-23 15:50:15 -06:00
Tom Klein
b20056ae73 Bug 1310081 - 3. Add ItemDecoration to create fixed spacing items. r=sebastian
We switch to thinking of the tabs grid layout as being determined by specifying
the spacing between the items, and then allowing the items themselves to expand
to fill whatever room that leaves available, but we also allow the spacing to be
adjusted to match the span counts of the previous GridLayout implementation
(which is a good thing).

MozReview-Commit-ID: L3fgjacMu2d

--HG--
extra : rebase_source : 72e77a44c0f0c8c9de3c9d6c5ef95aad405d27a3
extra : source : 17966f55c27550e30f2ec1aab5bc6bc849240436
2016-09-21 22:51:27 -05:00
Phil Ringnalda
feef954874 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EDVoIcyWOhi

--HG--
rename : storage/test/test_AsXXX_helpers.cpp => storage/test/gtest/test_AsXXX_helpers.cpp
rename : storage/test/test_binding_params.cpp => storage/test/gtest/test_binding_params.cpp
rename : storage/test/test_mutex.cpp => storage/test/gtest/test_mutex.cpp
2016-11-22 20:03:03 -08:00
Jim Chen
313554cbc0 Bug 1319173 - Follow-up to fix crash; r=me 2016-11-22 14:09:42 -05:00
Jim Chen
dcc44fafa4 Bug 1319173 - Register MediaPlayerManager events later; r=sebastian
Wait to register MediaPlayerManager events until we have a GeckoApp
EventDispatcher, because we only have an EventDispatcher after we create
the GeckoView in onCreate.
2016-11-22 13:39:54 -05:00
maliu
52155b4a89 Bug 1291270 - Update updater string to distinguish from download and install more clearly, r=sebastian
MozReview-Commit-ID: B4hR8aonESh

--HG--
extra : rebase_source : b753a3670ba870a6b53a3e416ebdaf45ffd5d9a9
2016-11-22 18:38:59 +08:00
Carsten "Tomcat" Book
cf6fb9d85b Merge mozilla-central to autoland 2016-11-22 16:29:49 +01:00
Carsten "Tomcat" Book
8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
maliu
921cf9fc01 Bug 1311480 - Add support to query client with order by name alphabetically, r=Grisha
MozReview-Commit-ID: 7bN7Vh3TqHU

--HG--
extra : rebase_source : 9bc01f1b0dd24595d6ff9bd45e6293742850ac40
2016-11-16 14:03:31 +08:00
Sebastian Kaspari
b88d7883e8 Bug 1318560 - ColorProcessor: Handle ArrayIndexOutOfBoundsException from Palette library. r=gbrown,maliu
MozReview-Commit-ID: GwYj1SRNytN

--HG--
extra : rebase_source : 9635b2a65b3898fbc1b64f43f69889ced5162bc2
2016-11-21 18:00:01 +01:00
Nick Alexander
3e7be895d5 Bug 1255914 - Part 2: mostly back out multiDex (changeset 6972bef6693c). r=sebastian
Since we're Proguarding the automation build now, we shouldn't need to
multiDex anymore -- even in beta.

MozReview-Commit-ID: 6Yc73Vi9Fhd

--HG--
extra : rebase_source : cdfb01a47dc05dfafc4ba67cdb30f86dbd5aa4ec
2016-11-13 14:43:00 -08:00
Nick Alexander
1e0374da73 Bug 1255914 - Part 1: Proguard (minify) Gradle builds in automation. r=sebastian
moz.build achieves better results than Gradle, and I can't fully
explain why that is.  At first I thought it was due to
-optimizationpasses, which is 6 for MOZILLA_OFFICIAL; however, it's
not -- I see no change (let alone an improvement), when I set the
number of passes to 1, 6, 10, or 100.  I think there are two things at
play.  First, moz.build strips debugging information from "libraries",
which are broadly the Google support libraries.  I don't think it's
possible to strip debug information in this fine-grained manner using
Gradle.  Second, I think the Gradle build might be including more code
than the moz.build configuration (see the follow-up patch removing
multidex support), but I can't determine what's actually different.

After APK compression, I see less than a 50kb regression in APK size
between Gradle and moz.build outputs, which I deem reasonable.

MozReview-Commit-ID: 4q4Zye2wnOF

--HG--
extra : rebase_source : dfc0f983f56ceb5907f9aafcb37d2ac63d50988b
2016-11-21 11:58:57 -08:00
Nick Alexander
6fcb908d17 Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian
MozReview-Commit-ID: DHkWkztgJZB

--HG--
extra : rebase_source : b2a5a5d698a216cdbff9fcc5999cac8d76ff0d4a
2016-11-18 18:28:58 -08:00
Mike Conley
7fb9909561 Bug 418833 - Get rid of some padding rules for checkbox and radio on Fennec that were never being applied. r=snorp
MozReview-Commit-ID: LDrUKaP0nN0

--HG--
extra : rebase_source : 8b44c035287e2ca6b03d6496f4b9edf0bcf78319
2016-11-18 13:28:49 -05:00
Mike Conley
9d00dd2f96 Bug 418833 - Make non-native checkbox and radio input styles look right in Fennec. r=snorp
<input>'s of type checkbox and radio are rendered as native widgets by default
on Desktop, but on Fennec, we fallback to using the built-in, non-native
checkboxes.

The earlier patches in this series made it possible for agent, user and page
stylesheets to make changes to the non-native checkbox and radio input fields.

Unfortunately, some of the default agent styles for those checkbox and radio
elements on Fennec were accidentally setting rules that they shouldn't. That
wasn't a problem before because the inputs couldn't be styled before. Now that
they can, we're failing a bunch of reftests because the inputs look wrong in
certain situations.

For example:

1) We were setting background: var(--form_background) for every radio and
   checkbox input. --form_background is just a colour though, and that meant
   that the rest of the background styles were being overwritten. This has
   been fixed by setting background-color: var(--form_background) instead.
   The same also applied to some usage of --form_background_disabled.

2) We were setting border-radius: var(--form_border_radius) on all input
   elements, but this was putting rounded corners on the checkbox and
   radio inputs as well. This rule has been modified to skip checkbox
   and radio inputs.

MozReview-Commit-ID: CnpTRXcCxoY

--HG--
extra : rebase_source : ee688b96270e9b2b3498f18d43f9430048b9b444
2016-11-10 20:46:46 -05:00
Carsten "Tomcat" Book
a75ebc8c52 Merge mozilla-central to autoland 2016-11-21 15:47:42 +01:00
Carsten "Tomcat" Book
59bb309e38 merge mozilla-inbound to mozilla-central a=merge 2016-11-21 15:44:20 +01:00
Tooru Fujisawa
ae8843de1e Bug 1293305 - Part 1.8: Do not use non-standard for-each. r=sebastian 2016-11-21 15:03:44 +09:00
Shih-Chiang Chien
18c0f98fc6 Bug 1318214 - enable presentation API for 1-UA mode on Fennec nightly. r=smaug.
MozReview-Commit-ID: 37ykiqcaa8d

--HG--
extra : rebase_source : 8bd1c84042012b79de282acc88e7d68b7ae86c3b
2016-11-21 14:49:30 +08:00
Sebastian Hengst
f35213e02e Backed out changeset 38cde1f5d020 (bug 1235431) for failing mochitest test_openWindow.html on Android. r=backout on a CLOSED TREE 2016-11-22 18:01:59 +01:00
Carsten "Tomcat" Book
e0f46513b6 Merge mozilla-central to mozilla-inbound 2016-11-22 16:28:50 +01:00
Dylan Roeh
fea903381b Bug 1235431 - Implement windowClient.focus() for Fennec. r=catalinb 2016-11-14 17:22:13 -06:00
Tom Klein
0b4134bdc5 Bug 1310081 - 2. Refactor TabsListTouchHelperCallback to support any swipe alpha function. r=sebastian
MozReview-Commit-ID: HqKwdpArcMm

--HG--
extra : rebase_source : 886697556d7db5f954fe0a096829dbe3f240598a
extra : source : 8873a9ba7282bf454fd6cff4bb652ea0319be09b
2016-09-12 11:01:08 -05:00
Tom Klein
36a8b1bc24 Bug 1310081 - 1. Make the tabs list grid view a RecyclerView. r=sebastian
Our previous GridLayout settings gave extra horizontal space to the padding
between items, but GridLayoutManager by default simply left aligns fixed width
items in their column, so the item's width has been changed to fill_parent
and the item title has been switched to fixed width (since otherwise it looks
broken when it expands to an item width larger than the thumbnail width).  The
drawback is that clicking on the extra width part of an item activates the tab,
even though it would seem from what's being displayed that the item should end
at the vertical edge of the thumbnail - that will be fixed in a future commit.

Both the list and grid tabs panel views are now RecyclerViews, so move
TabsLayoutRecyclerAdapter.java to TabsLayoutAdapter.java.

MozReview-Commit-ID: CBrxw1HfRcP

--HG--
extra : rebase_source : 009e98a71b1644fbe39e36dab10bfbf371329fa8
extra : source : 1c6a92e7614c2b0981db9ccfbc1d673656c88daf
2016-09-12 11:21:51 -05:00
James Cheng
a429f2b9f4 Bug 1317239 - Part2 - Config the video decoder with adaptive playback feature if it is supported. r=jolin
MozReview-Commit-ID: FORF2NNxgUH

--HG--
extra : rebase_source : 11f32b62296a53fd01182455d1abac942a8c9501
2016-11-23 14:12:05 +08:00
James Cheng
3f263dd616 Bug 1317239 - Part1 - Add an API to ask if the codec support adaptive playback. r=jolin
MozReview-Commit-ID: 7Pgj9hFE6pu

--HG--
extra : rebase_source : bc2b6b0c5052655c9e2ea0f8f44dd31169a40a75
2016-11-23 14:11:22 +08:00
Sebastian Kaspari
51161bb8fc Bug 1315076 - IconDownloader: Catch exceptions inside tryDownloadRecurse() and close connection if needed. r=Grisha
MozReview-Commit-ID: E6HUKrX37cH

--HG--
extra : rebase_source : 1e264c1a41c6a1291619acdc73f3430594e81e95
2016-11-22 14:12:16 +01:00
Sebastian Kaspari
42809e0f6d Bug 1268414 - Remove UnusedResourcesUtil.TEMPORARY_UNUSED_WHILE_MIGRATING_GRADLE and related resources. r?
MozReview-Commit-ID: 2VMQrRvvMi3

--HG--
extra : rebase_source : 4e1b65e07dc38c13ff6da790d025472b59960383
2016-11-17 15:45:31 +08:00