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

21623 Коммитов

Автор SHA1 Сообщение Дата
Jim Chen d79992b10f Bug 1307816 - 7. Flush text before sending focus event; r=esawin
We used to flush the Java side text upon receiving the acknowledge-focus
event, at which point the Java side is waiting on the Gecko side.
Because of the async IME refactoring, we can no longer wait on the Java
side, so we have to flush the text early, before sending the first focus
notification. Also, the acknowledge-focus event is no longer needed as a
result.

Our call to InputMethodManager to restart input also has to changed due
to the change in calling sequence between notifyIME and
notifyIMEContext.
2016-10-25 12:28:53 -04:00
Jim Chen 336c81d4d5 Bug 1307816 - 6. Remove ActionQueue and switch to AsyncText; r=esawin
Due to async IME refactoring, we no longer need the blocking mechanism
in ActionQueue. As a result of the simplified code, we can remove
ActionQueue entirely and move its code to under GeckoEditable.
ActionQueue.offer() is now icOfferAction().

This patch also makes mText an instance of AsyncText, and change all
accesses to mText to reflect the new async interface, i.e. accesses on
the Gecko thread go through getCurrentText() and the current*** methods,
and accesses on the IC thread go through getShadowText() and the
shadow*** methods.
2016-10-25 12:28:53 -04:00
Jim Chen ecc67bcfe8 Bug 1307816 - 5. Add AsyncText class for handling asynchronous text editing; r=esawin
AsyncText keeps two copies of the text - the current copy on the Gecko
thread that is the authoritative version of the text, and the shadow
copy on the IC thread that reflects what we think the current text is.

When editing the text on the IC thread, the shadow copy is modified
directly, and then the modification is sent to the Gecko thread, which
modifies the current copy concurrently. Depending on what Gecko does to
the text, the current copy may diverge from the shadow copy, but
periodically, the shadow copy is synced to the current copy through
AsyncText.syncShadowText() to make the two copies identical again.
2016-10-25 12:28:53 -04:00
Jim Chen 9dc213e960 Bug 1307816 - 4. Stop sending separate composition updates; r=esawin
As part of async IME refactoring, we will no longer send composition
updates separately. Instead, composition updates will be integrated into
the set-span and remove-span events, similar to what we already do for
replace-text events.
2016-10-25 12:28:53 -04:00
Jim Chen 1ee888a6b6 Bug 1307816 - 3. Don't implement GeckoEditableListener in GeckoEditable; r=esawin
GeckoEditable implemented GeckoEditableListener because GeckoAppShell
called its methods through GeckoEditableListener, but now we use JNI to
call GeckoEditable methods directly, so GeckoEditable no longer has to
implement GeckoEditableListener.

This change also lets us simplify GeckoEditableListener by making
onTextChange and onSelectionChange no longer have any parameters.
2016-10-25 12:28:53 -04:00
Jim Chen 8ad0835dc6 Bug 1307816 - 2. Make clearSpans call go through Gekco; r=esawin
Currently, clearSpans calls are carried out immediately, but that makes
it out of order in relation to other calls, which have to go through
Gecko. This patch fixes this issue.
2016-10-25 12:28:53 -04:00
Jim Chen db7d4844ae Bug 1307816 - 1. Remove legacy IME code; r=esawin
Remove the event listener in GeckoEditable that was used for old text
selection code. It's no longer relevant for the new accessible carets
code.
2016-10-25 12:28:52 -04:00
Carsten "Tomcat" Book 59a29b8b1c merge mozilla-inbound to mozilla-central a=merge 2016-10-25 10:31:03 +02:00
Carsten "Tomcat" Book 68791df42a merge fx-team to mozilla-central a=merge 2016-10-25 10:28:08 +02:00
Andrzej Hunt 19f83cb748 Bug 1300144 - Implement Activity Stream "context" bottomsheet menu r=sebastian
MozReview-Commit-ID: ARvuWk7H99m

--HG--
extra : histedit_source : 52f83c7f40bb448855e0dc6dd749e9a08efe8c4d
2016-10-24 10:17:14 -07:00
Carsten "Tomcat" Book b9e15ec151 Merge mozilla-central to mozilla-inbound 2016-10-24 16:56:37 +02:00
Tushar Saini (:shatur) 551edc4ced Bug 1312795 - Remove shouldUseTransactions method and related code. r=sebastian
MozReview-Commit-ID: xRXPi9yvff

--HG--
extra : rebase_source : 822069c5ffe676d1abd6a5d6b07c79a14ae6794a
2016-10-25 22:54:59 +05:30
Kartikaya Gupta 213392281d Bug 1312743 - Remove more code that's unused after the removal of JPZ. r=snorp
MozReview-Commit-ID: 6lbyoAIGP6H

--HG--
extra : rebase_source : 12eab3f8c5d952e88ea03bdac964869aeda50e47
2016-10-25 13:07:22 -04:00
Kartikaya Gupta 0ac93be86f Bug 1301593 - Fix typo in model number. r=sebastian
MozReview-Commit-ID: IZTk57YxCRb
2016-10-24 08:52:23 -04:00
Andrzej Hunt c14d36e55b Bug 1300144 - Import Activity Stream (VectorDrawable) menu icons r=sebastian
MozReview-Commit-ID: 66TGmjHYkeD

--HG--
extra : histedit_source : 3e53dcb48ca23e7182d8a07c2fb3ef0b5be14b0f
2016-10-07 16:01:26 +02:00
Andrzej Hunt 63cbca5ca4 Bug 1300144 - Pre: pass mUrlOpenInBackgroundListener into HighlightsItem r=sebastian
This will be needed for opening background/private tabs from the highlights menu.

MozReview-Commit-ID: 8wvFuTgl2SP

--HG--
extra : histedit_source : de4024ee986c5a48d9da4206160cf960b1d7bc3c
2016-10-19 15:41:44 -07:00
Andrzej Hunt 38b08f88b4 Bug 1300144 - Increase touch area for menu button r=sebastian
MozReview-Commit-ID: GBdLisIwFuH

--HG--
extra : histedit_source : a07bc6793d299d036b9bbce8d420327ac7698f59
2016-10-19 16:32:29 -07:00
Andrzej Hunt 0c4033a18b Bug 1311741 - Remove "--non-constant-id" from aapt invocations r=nalexander
This flag seems to no longer be needed, and prevents the use of switch statements for resource ID's. It was first introduced for mach based geckoview builds, however geckoview now seems to be built using gradle which is able to invoke aapt to produce better R.java's, resulting in constant Resource ID's in Fennec.

MozReview-Commit-ID: EjWCX4nvlht

--HG--
extra : rebase_source : 3eb30debbc76c39bd8e367bf8709eaaf1592f42a
2016-10-24 09:39:43 -07:00
Rob Wu 67b8230b49 Bug 1287007 - Remove .contentWindow from ProxyContext r=billm
MozReview-Commit-ID: ASNigrM07yz

--HG--
extra : rebase_source : e9169090ec8cb1d9822f235faa15516403576dde
2016-09-13 16:02:03 -07:00
Andrzej Hunt d5dfc69ce9 Bug 1311561 - Add basic AS context menu robocop tests r=sebastian
MozReview-Commit-ID: A90BvpuHJHb

--HG--
extra : rebase_source : a8cc551a54539cdeb0461f591b10c2b26d3ce302
2016-10-20 09:22:04 -07:00
Andrzej Hunt f4033b9482 Bug 1311561 - Pre: add design support library to robocop r=nalexander,sebastian
We want to access ActivityStreamContextMenu directly in our new test. That menu
extends BottomSheetDialog which is contained in the design support library, hence
we need to make that library available in robocop builds in order to access
the AS context menu.

MozReview-Commit-ID: EPyv7wvkJAE

--HG--
extra : rebase_source : cafe1e7dd6fbdcfb471cf5f66a1c0522e796c3aa
2016-10-20 09:19:22 -07:00
Tushar Saini (:shatur) 84a83b607a Bug 1264596 - GeckoApp: Remove mCameraView and related code. r=gcp,sebastian
MozReview-Commit-ID: ACgp4iIAigw

--HG--
extra : rebase_source : e0c92b6d8e68d82b7db3c195e22a457dbc43d95d
2016-10-20 19:27:59 +05:30
John Lin b1959d4411 Bug 1306483 - Part 2: send notification immediately when caller sender shares looper with buffer poller. r=esawin
MozReview-Commit-ID: 9hZB6TI4A6X

--HG--
extra : rebase_source : 721b571b4f606cf2d1766a175d1085d78f61197a
2016-10-20 15:43:25 +08:00
John Lin beefbc8533 Bug 1306483 - Part 1: use concurrent queue to fix race condition. r=snorp
MozReview-Commit-ID: HRus9Sn7k6q

--HG--
extra : rebase_source : 2b5330bf4e97182e6026aaac85eb9c5dc85a89db
2016-10-20 15:25:44 +08:00
Rob Wu 8a87af36f9 Bug 1287007 - Require "async" in schemas to match name r=billm
In the pageAction and browserAction schemas, several methods are
declared with `"async": true` but without a specified callback in the
`"parameters"` object, so callbacks are not allowed. However, when a
callback is proxied, the `ParentAPIManager` will mirror the call by
passing in an extra callback to the proxied API - and break.

This patch fixes the issue by removing uses of async:true.  Also for
consistency between the browserAction and pageAction methods, the
methods that were not declared as async have also been marked as async.

MozReview-Commit-ID: JQqzmTUAotB

--HG--
extra : rebase_source : 62d1cbc4843dd6c792318337158e4311f8df94a4
2016-09-02 03:37:55 -07:00
Sylvestre Ledru 8a08c99745 Bug 1312421 - Rename of the aurora version in the app launcher r=sebastian
MozReview-Commit-ID: yufnOHQoeG

--HG--
extra : rebase_source : d4f1b9a772e78254d170786a52497e51aa279215
2016-10-24 16:12:40 +02:00
Francesco Lodolo (:flod) 137b1b3a57 Bug 1311693 - Remove Belarusian (be) from nightly single locale builds. r=delphine 2016-10-20 07:12:00 -04:00
Michelangelo De Simone 07411b2cc6 Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA

--HG--
extra : rebase_source : a178eee07034fb2aa1415b64bec1946230fd1c5e
2016-10-17 17:26:51 -07:00
Andrzej Hunt 1b71b782de Bug 1311533 - Switch Activity Stream topsites card back to FilledCardView r=sebastian
This ensures no white borders around the favicons when on Android 4, no changes
on Android 5. Read FilledCardView for the full background on the border/corner
issue that happens on Android <= 4.

MozReview-Commit-ID: IsBcp7xxwjn

--HG--
extra : rebase_source : c37fbfe63eba9d8af4bc0c7b4d4535a380b6d3bd
2016-10-19 14:56:51 -07:00
KuoE0 685b64a883 Bug 1282003 - (Part 3) Add screen ID to nsWindow and GeckoView to get the correct nsScreen and density. r=snorp
MozReview-Commit-ID: Cd9MS2I1RRQ

--HG--
extra : rebase_source : 3e557dc9bb3836cee6ecb86ddeb3c9647221195c
2016-09-29 14:23:56 +08:00
KuoE0 8ebc7fc433 Bug 1282003 - (Part 2) Add screenManagerHelper in Java. r=snorp
MozReview-Commit-ID: BLw6e7dgldt

--HG--
extra : rebase_source : ee5b4bc83e055836b5a739e519d1873252ce6b53
2016-09-23 23:03:00 +08:00
Phil Ringnalda 6c91017f20 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FA9OZyjP59N
2016-10-18 19:36:18 -07:00
Ehsan Akhgari e3186e29a7 Bug 1310910 - Remove ChromeNotifications; r=baku
This partially backs out bug 967475.
2016-10-18 09:41:56 -04:00
Kartikaya Gupta d9a7400119 Bug 1311030 - Remove more code unused since the deletion of JPZ. r=snorp
MozReview-Commit-ID: 1p8aWShTrQf

--HG--
extra : rebase_source : 49d83e86dc9c2b38c7486a04bd7e830d165c34db
2016-10-18 12:34:25 -04:00
Benjamin Smedberg ed2a6c5769 Bug 1307445 part A - Don't ever show "A plugin is needed to display this content." or "This plugin is disabled." - Just always use fallback content or empty content. r=mconley+sebastian
MozReview-Commit-ID: ClnOkK3sWIK

--HG--
extra : rebase_source : 0325b830088bef3a7ee5a506041c8eafafbf50e2
2016-10-18 08:42:12 -04:00
Carsten "Tomcat" Book 5c08a87874 merge mozilla-inbound to mozilla-central a=merge 2016-10-18 10:38:37 +02:00
Wes Kocher 9abb1e1c41 Merge m-c to inbound, a=merge 2016-10-17 15:37:34 -07:00
James Willcox 632ab10f06 Bug 1308534 - Use e10s in GeckoView r=jchen 2016-10-17 15:05:35 -05:00
Ehsan Akhgari ea467855d3 Bug 1310721 - Remove support for the b2g PAC generator; r=mcmanus
This effectively backs out bug 1115495.
2016-10-17 14:10:45 -04:00
Carsten "Tomcat" Book 54cb47289d Merge mozilla-central to autoland 2016-10-17 11:38:07 +02:00
Carsten "Tomcat" Book d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
Mike Taylor 08a11e7624 Bug 1310252. Update webcompatURL to point to new simplified reporting endpoint. r=sebastian 2016-10-17 11:44:18 +08:00
Sebastian Kaspari b600b36c33 Bug 1308525 - Update activity stream panel to follow new UX mocks. r=Grisha
Okay, this patch is much bigger than I anticipated. However at this point it is impossible
to separate all the interweaved changes.

* Update sizes and colors
* Use a dynamic number of top sites tiles to adjust to the screen size
* Do not keep references (to possible outdated) Cursors from every top sites page
* Remove unused bottom panel
* Add menu button to highlights items

MozReview-Commit-ID: 2CeEGCOXBKl

--HG--
extra : rebase_source : a780ec20fa6f87520c3418403ae4fe259ff39d69
2016-10-12 15:07:26 +02:00
Ralph Giles b6f0cf80ab Bug 1306438 - Update builders to rust 1.12.0 stable; r=mshal
Update builders to repacks of the upstream stable builds.
2016-10-15 22:16:13 +00:00
Sebastian Kaspari 439863da4e Bug 1308631 - UpdateService: Do not apply update without update path. r=Grisha
Update path can be null. In this case we fallback to using the last saved path. However
if this doesn't exist either then we just continue with a null path and eventually crash
the service.

MozReview-Commit-ID: Kuihp496TEo

--HG--
extra : rebase_source : 96e2182571f4b2235b3fea25f449b2dbb3e17bb8
2016-10-17 11:19:14 +02:00
Tom Klein e321ee77d6 Bug 1116415 - 6. Provide fixed TouchDelegate class. r=sebastian
The Android version of TouchDelegate never resets the value of its
mDelegateTargeted, which means that once an event is delegated, future events
can get delegated as well, regardless of whether the event occurs within the
TouchDelegate's bounds.  Because of the geometry this is more of an issue with
the (future RecyclerView version of) TabsGridLayout, but it can occur on
TabsLinearLayout as well where we use a TouchDelegate to increase the hit size
of the close button on a tab - once a close button is hit by delegation and the
tab is closed, the next time that tab is recycled it will continue to delegate
ACTION_UP events to the close button (in which case they're silently dropped)
even if the ACTION_DOWN was not in the close button's delegation area.

This commit introduces TouchDelegateWithReset, which is simply an override copy
of TouchDelegate with one extra block (commented in the new class) to reset
mDelegateTargeted on each new gesture received.

MozReview-Commit-ID: 5xrPBAdAK6D

--HG--
extra : rebase_source : d1b9c7a443b0590c63433ea6855c8a1ae0662455
extra : source : 0c267676cb0824d916f398155b0d5b7dec6f346c
2016-09-21 17:49:06 -05:00
Tom Klein 00fcb583c9 Bug 1116415 - 5. Send the index of an added tab as data. r=sebastian
Use the index in TabsLayout to specify where a tab was inserted instead of just
replacing the entire tabs list on a tab add.

MozReview-Commit-ID: Feft0RlN97r

--HG--
extra : rebase_source : 1ff47946d9e94d08dfcee34364c65ae7f8c02e7a
2016-10-13 10:26:53 -05:00
Sebastian Kaspari c895647145 Bug 1310603 - Activity Stream highlights: Add "Visited" and "Bookmarked" icons. r=Grisha
MozReview-Commit-ID: I6lIIRLBXeA

--HG--
extra : rebase_source : eb784ad5efda2bdc8fe3d1cec8447c7efdddac6d
2016-10-13 15:11:21 +02:00
Carsten "Tomcat" Book 2a3218cb9a Merge mozilla-central to autoland 2016-10-18 10:45:57 +02:00
Mark Banner 56a7b3961a Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I

--HG--
rename : .eslintrc => .eslintrc.js
rename : accessible/.eslintrc => accessible/.eslintrc.js
rename : accessible/tests/browser/.eslintrc => accessible/tests/browser/.eslintrc.js
rename : browser/.eslintrc => browser/.eslintrc.js
rename : browser/base/content/test/alerts/.eslintrc => browser/base/content/test/alerts/.eslintrc.js
rename : browser/base/content/test/chrome/.eslintrc => browser/base/content/test/chrome/.eslintrc.js
rename : browser/base/content/test/general/.eslintrc => browser/base/content/test/general/.eslintrc.js
rename : browser/base/content/test/newtab/.eslintrc => browser/base/content/test/newtab/.eslintrc.js
rename : browser/base/content/test/plugins/.eslintrc => browser/base/content/test/plugins/.eslintrc.js
rename : browser/base/content/test/popupNotifications/.eslintrc => browser/base/content/test/popupNotifications/.eslintrc.js
rename : browser/base/content/test/referrer/.eslintrc => browser/base/content/test/referrer/.eslintrc.js
rename : browser/base/content/test/social/.eslintrc => browser/base/content/test/social/.eslintrc.js
rename : browser/components/contextualidentity/test/browser/.eslintrc => browser/components/contextualidentity/test/browser/.eslintrc.js
rename : browser/components/customizableui/test/.eslintrc => browser/components/customizableui/test/.eslintrc.js
rename : browser/components/dirprovider/tests/unit/.eslintrc => browser/components/dirprovider/tests/unit/.eslintrc.js
rename : browser/components/downloads/test/browser/.eslintrc => browser/components/downloads/test/browser/.eslintrc.js
rename : browser/components/downloads/test/unit/.eslintrc => browser/components/downloads/test/unit/.eslintrc.js
rename : browser/components/extensions/.eslintrc => browser/components/extensions/.eslintrc.js
rename : browser/components/extensions/test/browser/.eslintrc => browser/components/extensions/test/browser/.eslintrc.js
rename : browser/components/extensions/test/xpcshell/.eslintrc => browser/components/extensions/test/xpcshell/.eslintrc.js
rename : browser/components/feeds/test/.eslintrc => browser/components/feeds/test/.eslintrc.js
rename : browser/components/feeds/test/chrome/.eslintrc => browser/components/feeds/test/chrome/.eslintrc.js
rename : browser/components/feeds/test/unit/.eslintrc => browser/components/feeds/test/unit/.eslintrc.js
rename : browser/components/migration/tests/unit/.eslintrc => browser/components/migration/tests/unit/.eslintrc.js
rename : browser/components/newtab/tests/browser/.eslintrc => browser/components/newtab/tests/browser/.eslintrc.js
rename : browser/components/newtab/tests/xpcshell/.eslintrc => browser/components/newtab/tests/xpcshell/.eslintrc.js
rename : browser/components/originattributes/test/browser/.eslintrc => browser/components/originattributes/test/browser/.eslintrc.js
rename : browser/components/places/tests/browser/.eslintrc => browser/components/places/tests/browser/.eslintrc.js
rename : browser/components/places/tests/chrome/.eslintrc => browser/components/places/tests/chrome/.eslintrc.js
rename : browser/components/places/tests/unit/.eslintrc => browser/components/places/tests/unit/.eslintrc.js
rename : browser/components/preferences/in-content/tests/.eslintrc => browser/components/preferences/in-content/tests/.eslintrc.js
rename : browser/components/privatebrowsing/test/browser/.eslintrc => browser/components/privatebrowsing/test/browser/.eslintrc.js
rename : browser/components/safebrowsing/content/test/.eslintrc => browser/components/safebrowsing/content/test/.eslintrc.js
rename : browser/components/search/test/.eslintrc => browser/components/search/test/.eslintrc.js
rename : browser/components/selfsupport/test/.eslintrc => browser/components/selfsupport/test/.eslintrc.js
rename : browser/components/sessionstore/test/.eslintrc => browser/components/sessionstore/test/.eslintrc.js
rename : browser/components/sessionstore/test/unit/.eslintrc => browser/components/sessionstore/test/unit/.eslintrc.js
rename : browser/components/shell/test/.eslintrc => browser/components/shell/test/.eslintrc.js
rename : browser/components/shell/test/unit/.eslintrc => browser/components/shell/test/unit/.eslintrc.js
rename : browser/components/tests/browser/.eslintrc => browser/components/tests/browser/.eslintrc.js
rename : browser/components/translation/test/.eslintrc => browser/components/translation/test/.eslintrc.js
rename : browser/components/translation/test/unit/.eslintrc => browser/components/translation/test/unit/.eslintrc.js
rename : browser/components/uitour/test/.eslintrc => browser/components/uitour/test/.eslintrc.js
rename : browser/experiments/test/xpcshell/.eslintrc => browser/experiments/test/xpcshell/.eslintrc.js
rename : browser/extensions/formautofill/.eslintrc => browser/extensions/formautofill/.eslintrc.js
rename : browser/extensions/formautofill/test/browser/.eslintrc => browser/extensions/formautofill/test/browser/.eslintrc.js
rename : browser/extensions/pdfjs/test/.eslintrc => browser/extensions/pdfjs/test/.eslintrc.js
rename : browser/modules/test/.eslintrc => browser/modules/test/.eslintrc.js
rename : browser/modules/test/unit/social/.eslintrc => browser/modules/test/unit/social/.eslintrc.js
rename : browser/modules/test/xpcshell/.eslintrc => browser/modules/test/xpcshell/.eslintrc.js
rename : devtools/.eslintrc => devtools/.eslintrc.js
rename : devtools/.eslintrc.mochitests => devtools/.eslintrc.mochitests.js
rename : devtools/.eslintrc.xpcshell => devtools/.eslintrc.xpcshell.js
rename : devtools/client/aboutdebugging/test/.eslintrc => devtools/client/aboutdebugging/test/.eslintrc.js
rename : devtools/client/animationinspector/test/.eslintrc => devtools/client/animationinspector/test/.eslintrc.js
rename : devtools/client/animationinspector/test/unit/.eslintrc => devtools/client/animationinspector/test/unit/.eslintrc.js
rename : devtools/client/canvasdebugger/test/.eslintrc => devtools/client/canvasdebugger/test/.eslintrc.js
rename : devtools/client/commandline/test/.eslintrc => devtools/client/commandline/test/.eslintrc.js
rename : devtools/client/debugger/new/test/mochitest/.eslintrc => devtools/client/debugger/new/test/mochitest/.eslintrc.js
rename : devtools/client/debugger/test/.eslintrc => devtools/client/debugger/test/.eslintrc.js
rename : devtools/client/dom/.eslintrc => devtools/client/dom/.eslintrc.js
rename : devtools/client/dom/test/.eslintrc => devtools/client/dom/test/.eslintrc.js
rename : devtools/client/framework/test/.eslintrc => devtools/client/framework/test/.eslintrc.js
rename : devtools/client/inspector/.eslintrc => devtools/client/inspector/.eslintrc.js
rename : devtools/client/inspector/components/test/.eslintrc => devtools/client/inspector/components/test/.eslintrc.js
rename : devtools/client/inspector/computed/test/.eslintrc => devtools/client/inspector/computed/test/.eslintrc.js
rename : devtools/client/inspector/fonts/test/.eslintrc => devtools/client/inspector/fonts/test/.eslintrc.js
rename : devtools/client/inspector/markup/test/.eslintrc => devtools/client/inspector/markup/test/.eslintrc.js
rename : devtools/client/inspector/rules/test/.eslintrc => devtools/client/inspector/rules/test/.eslintrc.js
rename : devtools/client/inspector/shared/test/.eslintrc => devtools/client/inspector/shared/test/.eslintrc.js
rename : devtools/client/inspector/test/.eslintrc => devtools/client/inspector/test/.eslintrc.js
rename : devtools/client/jsonview/.eslintrc => devtools/client/jsonview/.eslintrc.js
rename : devtools/client/jsonview/test/.eslintrc => devtools/client/jsonview/test/.eslintrc.js
rename : devtools/client/memory/test/browser/.eslintrc => devtools/client/memory/test/browser/.eslintrc.js
rename : devtools/client/memory/test/unit/.eslintrc => devtools/client/memory/test/unit/.eslintrc.js
rename : devtools/client/netmonitor/.eslintrc => devtools/client/netmonitor/.eslintrc.js
rename : devtools/client/netmonitor/har/test/.eslintrc => devtools/client/netmonitor/har/test/.eslintrc.js
rename : devtools/client/netmonitor/test/.eslintrc => devtools/client/netmonitor/test/.eslintrc.js
rename : devtools/client/performance/test/.eslintrc => devtools/client/performance/test/.eslintrc.js
rename : devtools/client/performance/test/unit/.eslintrc => devtools/client/performance/test/unit/.eslintrc.js
rename : devtools/client/projecteditor/test/.eslintrc => devtools/client/projecteditor/test/.eslintrc.js
rename : devtools/client/promisedebugger/test/.eslintrc => devtools/client/promisedebugger/test/.eslintrc.js
rename : devtools/client/responsive.html/test/browser/.eslintrc => devtools/client/responsive.html/test/browser/.eslintrc.js
rename : devtools/client/responsive.html/test/unit/.eslintrc => devtools/client/responsive.html/test/unit/.eslintrc.js
rename : devtools/client/responsivedesign/test/.eslintrc => devtools/client/responsivedesign/test/.eslintrc.js
rename : devtools/client/scratchpad/test/.eslintrc => devtools/client/scratchpad/test/.eslintrc.js
rename : devtools/client/shadereditor/test/.eslintrc => devtools/client/shadereditor/test/.eslintrc.js
rename : devtools/client/shared/components/.eslintrc => devtools/client/shared/components/.eslintrc.js
rename : devtools/client/shared/components/test/browser/.eslintrc => devtools/client/shared/components/test/browser/.eslintrc.js
rename : devtools/client/shared/components/test/mochitest/.eslintrc => devtools/client/shared/components/test/mochitest/.eslintrc.js
rename : devtools/client/shared/shim/test/.eslintrc => devtools/client/shared/shim/test/.eslintrc.js
rename : devtools/client/shared/test/.eslintrc => devtools/client/shared/test/.eslintrc.js
rename : devtools/client/shared/test/unit/.eslintrc => devtools/client/shared/test/unit/.eslintrc.js
rename : devtools/client/sourceeditor/.eslintrc => devtools/client/sourceeditor/.eslintrc.js
rename : devtools/client/sourceeditor/test/.eslintrc => devtools/client/sourceeditor/test/.eslintrc.js
rename : devtools/client/storage/test/.eslintrc => devtools/client/storage/test/.eslintrc.js
rename : devtools/client/styleeditor/test/.eslintrc => devtools/client/styleeditor/test/.eslintrc.js
rename : devtools/client/webaudioeditor/test/.eslintrc => devtools/client/webaudioeditor/test/.eslintrc.js
rename : devtools/client/webconsole/net/.eslintrc => devtools/client/webconsole/net/.eslintrc.js
rename : devtools/client/webconsole/net/test/mochitest/.eslintrc => devtools/client/webconsole/net/test/mochitest/.eslintrc.js
rename : devtools/client/webconsole/net/test/unit/.eslintrc => devtools/client/webconsole/net/test/unit/.eslintrc.js
rename : devtools/client/webconsole/new-console-output/test/.eslintrc => devtools/client/webconsole/new-console-output/test/.eslintrc.js
rename : devtools/client/webconsole/test/.eslintrc => devtools/client/webconsole/test/.eslintrc.js
rename : devtools/client/webide/test/.eslintrc => devtools/client/webide/test/.eslintrc.js
rename : devtools/server/tests/browser/.eslintrc => devtools/server/tests/browser/.eslintrc.js
rename : devtools/server/tests/mochitest/.eslintrc => devtools/server/tests/mochitest/.eslintrc.js
rename : devtools/server/tests/unit/.eslintrc => devtools/server/tests/unit/.eslintrc.js
rename : devtools/shared/heapsnapshot/tests/unit/.eslintrc => devtools/shared/heapsnapshot/tests/unit/.eslintrc.js
rename : devtools/shared/platform/content/.eslintrc => devtools/shared/platform/content/.eslintrc.js
rename : devtools/shared/platform/content/test/.eslintrc => devtools/shared/platform/content/test/.eslintrc.js
rename : devtools/shared/security/tests/unit/.eslintrc => devtools/shared/security/tests/unit/.eslintrc.js
rename : devtools/shared/tests/browser/.eslintrc => devtools/shared/tests/browser/.eslintrc.js
rename : devtools/shared/tests/unit/.eslintrc => devtools/shared/tests/unit/.eslintrc.js
rename : devtools/shared/transport/tests/unit/.eslintrc => devtools/shared/transport/tests/unit/.eslintrc.js
rename : devtools/shared/webconsole/test/unit/.eslintrc => devtools/shared/webconsole/test/unit/.eslintrc.js
rename : devtools/shared/worker/tests/browser/.eslintrc => devtools/shared/worker/tests/browser/.eslintrc.js
rename : mobile/android/components/extensions/.eslintrc => mobile/android/components/extensions/.eslintrc.js
rename : mobile/android/components/extensions/test/mochitest/.eslintrc => mobile/android/components/extensions/test/mochitest/.eslintrc.js
rename : security/manager/.eslintrc.json => security/manager/.eslintrc.js
rename : security/manager/ssl/tests/.eslintrc.json => security/manager/ssl/tests/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/browser/.eslintrc.json => security/manager/ssl/tests/mochitest/browser/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.json => security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.json => security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.js
rename : security/manager/ssl/tests/unit/.eslintrc.json => security/manager/ssl/tests/unit/.eslintrc.js
rename : security/manager/tools/.eslintrc.json => security/manager/tools/.eslintrc.js
rename : storage/.eslintrc => storage/.eslintrc.js
rename : testing/mochitest/browser.eslintrc => testing/mochitest/browser.eslintrc.js
rename : testing/mochitest/chrome.eslintrc => testing/mochitest/chrome.eslintrc.js
rename : testing/mochitest/mochitest.eslintrc => testing/mochitest/mochitest.eslintrc.js
rename : testing/xpcshell/xpcshell.eslintrc => testing/xpcshell/xpcshell.eslintrc.js
rename : toolkit/.eslintrc => toolkit/.eslintrc.js
rename : toolkit/components/aboutmemory/tests/.eslintrc => toolkit/components/aboutmemory/tests/.eslintrc.js
rename : toolkit/components/aboutperformance/tests/browser/.eslintrc => toolkit/components/aboutperformance/tests/browser/.eslintrc.js
rename : toolkit/components/addoncompat/tests/browser/.eslintrc => toolkit/components/addoncompat/tests/browser/.eslintrc.js
rename : toolkit/components/alerts/test/.eslintrc => toolkit/components/alerts/test/.eslintrc.js
rename : toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc => toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc.js
rename : toolkit/components/autocomplete/tests/unit/.eslintrc => toolkit/components/autocomplete/tests/unit/.eslintrc.js
rename : toolkit/components/captivedetect/test/unit/.eslintrc => toolkit/components/captivedetect/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit/.eslintrc => toolkit/components/commandlines/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_unix/.eslintrc => toolkit/components/commandlines/test/unit_unix/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_win/.eslintrc => toolkit/components/commandlines/test/unit_win/.eslintrc.js
rename : toolkit/components/contentprefs/tests/mochitest/.eslintrc => toolkit/components/contentprefs/tests/mochitest/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit/.eslintrc => toolkit/components/contentprefs/tests/unit/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit_cps2/.eslintrc => toolkit/components/contentprefs/tests/unit_cps2/.eslintrc.js
rename : toolkit/components/crashes/tests/xpcshell/.eslintrc => toolkit/components/crashes/tests/xpcshell/.eslintrc.js
rename : toolkit/components/crashmonitor/test/unit/.eslintrc => toolkit/components/crashmonitor/test/unit/.eslintrc.js
rename : toolkit/components/ctypes/tests/chrome/.eslintrc => toolkit/components/ctypes/tests/chrome/.eslintrc.js
rename : toolkit/components/ctypes/tests/unit/.eslintrc => toolkit/components/ctypes/tests/unit/.eslintrc.js
rename : toolkit/components/downloads/test/unit/.eslintrc => toolkit/components/downloads/test/unit/.eslintrc.js
rename : toolkit/components/extensions/.eslintrc => toolkit/components/extensions/.eslintrc.js
rename : toolkit/components/extensions/test/mochitest/.eslintrc => toolkit/components/extensions/test/mochitest/.eslintrc.js
rename : toolkit/components/extensions/test/xpcshell/.eslintrc => toolkit/components/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/components/feeds/test/.eslintrc => toolkit/components/feeds/test/.eslintrc.js
rename : toolkit/components/filepicker/test/unit/.eslintrc => toolkit/components/filepicker/test/unit/.eslintrc.js
rename : toolkit/components/filewatcher/tests/xpcshell/.eslintrc => toolkit/components/filewatcher/tests/xpcshell/.eslintrc.js
rename : toolkit/components/formautofill/test/browser/.eslintrc => toolkit/components/formautofill/test/browser/.eslintrc.js
rename : toolkit/components/formautofill/test/chrome/.eslintrc => toolkit/components/formautofill/test/chrome/.eslintrc.js
rename : toolkit/components/formautofill/test/xpcshell/.eslintrc => toolkit/components/formautofill/test/xpcshell/.eslintrc.js
rename : toolkit/components/jsdownloads/test/browser/.eslintrc => toolkit/components/jsdownloads/test/browser/.eslintrc.js
rename : toolkit/components/jsdownloads/test/data/.eslintrc => toolkit/components/jsdownloads/test/data/.eslintrc.js
rename : toolkit/components/jsdownloads/test/unit/.eslintrc => toolkit/components/jsdownloads/test/unit/.eslintrc.js
rename : toolkit/components/lz4/tests/xpcshell/.eslintrc => toolkit/components/lz4/tests/xpcshell/.eslintrc.js
rename : toolkit/components/mediasniffer/test/unit/.eslintrc => toolkit/components/mediasniffer/test/unit/.eslintrc.js
rename : toolkit/components/narrate/.eslintrc => toolkit/components/narrate/.eslintrc.js
rename : toolkit/components/narrate/test/.eslintrc => toolkit/components/narrate/test/.eslintrc.js
rename : toolkit/components/osfile/tests/mochi/.eslintrc => toolkit/components/osfile/tests/mochi/.eslintrc.js
rename : toolkit/components/osfile/tests/xpcshell/.eslintrc => toolkit/components/osfile/tests/xpcshell/.eslintrc.js
rename : toolkit/components/passwordmgr/.eslintrc => toolkit/components/passwordmgr/.eslintrc.js
rename : toolkit/components/passwordmgr/test/.eslintrc => toolkit/components/passwordmgr/test/.eslintrc.js
rename : toolkit/components/passwordmgr/test/browser/.eslintrc => toolkit/components/passwordmgr/test/browser/.eslintrc.js
rename : toolkit/components/passwordmgr/test/unit/.eslintrc => toolkit/components/passwordmgr/test/unit/.eslintrc.js
rename : toolkit/components/perf/.eslintrc => toolkit/components/perf/.eslintrc.js
rename : toolkit/components/perfmonitoring/tests/browser/.eslintrc => toolkit/components/perfmonitoring/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/.eslintrc => toolkit/components/places/tests/.eslintrc.js
rename : toolkit/components/places/tests/bookmarks/.eslintrc => toolkit/components/places/tests/bookmarks/.eslintrc.js
rename : toolkit/components/places/tests/browser/.eslintrc => toolkit/components/places/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/chrome/.eslintrc => toolkit/components/places/tests/chrome/.eslintrc.js
rename : toolkit/components/places/tests/expiration/.eslintrc => toolkit/components/places/tests/expiration/.eslintrc.js
rename : toolkit/components/places/tests/favicons/.eslintrc => toolkit/components/places/tests/favicons/.eslintrc.js
rename : toolkit/components/places/tests/history/.eslintrc => toolkit/components/places/tests/history/.eslintrc.js
rename : toolkit/components/places/tests/migration/.eslintrc => toolkit/components/places/tests/migration/.eslintrc.js
rename : toolkit/components/places/tests/network/.eslintrc => toolkit/components/places/tests/network/.eslintrc.js
rename : toolkit/components/places/tests/queries/.eslintrc => toolkit/components/places/tests/queries/.eslintrc.js
rename : toolkit/components/places/tests/unifiedcomplete/.eslintrc => toolkit/components/places/tests/unifiedcomplete/.eslintrc.js
rename : toolkit/components/places/tests/unit/.eslintrc => toolkit/components/places/tests/unit/.eslintrc.js
rename : toolkit/components/promiseworker/tests/xpcshell/.eslintrc => toolkit/components/promiseworker/tests/xpcshell/.eslintrc.js
rename : toolkit/components/prompts/test/.eslintrc => toolkit/components/prompts/test/.eslintrc.js
rename : toolkit/components/remotebrowserutils/tests/browser/.eslintrc => toolkit/components/remotebrowserutils/tests/browser/.eslintrc.js
rename : toolkit/components/satchel/test/.eslintrc => toolkit/components/satchel/test/.eslintrc.js
rename : toolkit/components/satchel/test/browser/.eslintrc => toolkit/components/satchel/test/browser/.eslintrc.js
rename : toolkit/components/satchel/test/unit/.eslintrc => toolkit/components/satchel/test/unit/.eslintrc.js
rename : toolkit/components/search/tests/xpcshell/.eslintrc => toolkit/components/search/tests/xpcshell/.eslintrc.js
rename : toolkit/components/social/test/xpcshell/.eslintrc => toolkit/components/social/test/xpcshell/.eslintrc.js
rename : toolkit/components/sqlite/tests/xpcshell/.eslintrc => toolkit/components/sqlite/tests/xpcshell/.eslintrc.js
rename : toolkit/components/startup/tests/browser/.eslintrc => toolkit/components/startup/tests/browser/.eslintrc.js
rename : toolkit/components/startup/tests/unit/.eslintrc => toolkit/components/startup/tests/unit/.eslintrc.js
rename : toolkit/components/telemetry/tests/unit/.eslintrc => toolkit/components/telemetry/tests/unit/.eslintrc.js
rename : toolkit/components/terminator/tests/xpcshell/.eslintrc => toolkit/components/terminator/tests/xpcshell/.eslintrc.js
rename : toolkit/components/thumbnails/test/.eslintrc => toolkit/components/thumbnails/test/.eslintrc.js
rename : toolkit/components/timermanager/tests/unit/.eslintrc => toolkit/components/timermanager/tests/unit/.eslintrc.js
rename : toolkit/components/url-classifier/tests/mochitest/.eslintrc => toolkit/components/url-classifier/tests/mochitest/.eslintrc.js
rename : toolkit/components/url-classifier/tests/unit/.eslintrc => toolkit/components/url-classifier/tests/unit/.eslintrc.js
rename : toolkit/components/urlformatter/tests/unit/.eslintrc => toolkit/components/urlformatter/tests/unit/.eslintrc.js
rename : toolkit/components/viewsource/test/.eslintrc => toolkit/components/viewsource/test/.eslintrc.js
rename : toolkit/components/viewsource/test/browser/.eslintrc => toolkit/components/viewsource/test/browser/.eslintrc.js
rename : toolkit/components/workerloader/tests/.eslintrc => toolkit/components/workerloader/tests/.eslintrc.js
rename : toolkit/components/xulstore/tests/chrome/.eslintrc => toolkit/components/xulstore/tests/chrome/.eslintrc.js
rename : toolkit/components/xulstore/tests/xpcshell/.eslintrc => toolkit/components/xulstore/tests/xpcshell/.eslintrc.js
rename : toolkit/content/tests/browser/.eslintrc => toolkit/content/tests/browser/.eslintrc.js
rename : toolkit/content/tests/chrome/.eslintrc => toolkit/content/tests/chrome/.eslintrc.js
rename : toolkit/content/tests/unit/.eslintrc => toolkit/content/tests/unit/.eslintrc.js
rename : toolkit/content/tests/widgets/.eslintrc => toolkit/content/tests/widgets/.eslintrc.js
rename : toolkit/crashreporter/test/browser/.eslintrc => toolkit/crashreporter/test/browser/.eslintrc.js
rename : toolkit/crashreporter/test/unit/.eslintrc => toolkit/crashreporter/test/unit/.eslintrc.js
rename : toolkit/crashreporter/test/unit_ipc/.eslintrc => toolkit/crashreporter/test/unit_ipc/.eslintrc.js
rename : toolkit/forgetaboutsite/test/browser/.eslintrc => toolkit/forgetaboutsite/test/browser/.eslintrc.js
rename : toolkit/forgetaboutsite/test/unit/.eslintrc => toolkit/forgetaboutsite/test/unit/.eslintrc.js
rename : toolkit/identity/tests/chrome/.eslintrc => toolkit/identity/tests/chrome/.eslintrc.js
rename : toolkit/identity/tests/unit/.eslintrc => toolkit/identity/tests/unit/.eslintrc.js
rename : toolkit/modules/addons/.eslintrc => toolkit/modules/addons/.eslintrc.js
rename : toolkit/modules/subprocess/.eslintrc => toolkit/modules/subprocess/.eslintrc.js
rename : toolkit/modules/subprocess/test/xpcshell/.eslintrc => toolkit/modules/subprocess/test/xpcshell/.eslintrc.js
rename : toolkit/modules/tests/browser/.eslintrc => toolkit/modules/tests/browser/.eslintrc.js
rename : toolkit/modules/tests/chrome/.eslintrc => toolkit/modules/tests/chrome/.eslintrc.js
rename : toolkit/modules/tests/mochitest/.eslintrc => toolkit/modules/tests/mochitest/.eslintrc.js
rename : toolkit/modules/tests/xpcshell/.eslintrc => toolkit/modules/tests/xpcshell/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/chrome/.eslintrc => toolkit/mozapps/downloads/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/unit/.eslintrc => toolkit/mozapps/downloads/tests/unit/.eslintrc.js
rename : toolkit/mozapps/extensions/.eslintrc => toolkit/mozapps/extensions/.eslintrc.js
rename : toolkit/mozapps/extensions/test/browser/.eslintrc => toolkit/mozapps/extensions/test/browser/.eslintrc.js
rename : toolkit/mozapps/extensions/test/mochitest/.eslintrc => toolkit/mozapps/extensions/test/mochitest/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpcshell/.eslintrc => toolkit/mozapps/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpinstall/.eslintrc => toolkit/mozapps/extensions/test/xpinstall/.eslintrc.js
rename : toolkit/mozapps/update/tests/chrome/.eslintrc => toolkit/mozapps/update/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_aus_update/.eslintrc => toolkit/mozapps/update/tests/unit_aus_update/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_base_updater/.eslintrc => toolkit/mozapps/update/tests/unit_base_updater/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_service_updater/.eslintrc => toolkit/mozapps/update/tests/unit_service_updater/.eslintrc.js
rename : toolkit/profile/test/.eslintrc => toolkit/profile/test/.eslintrc.js
rename : toolkit/themes/osx/mochitests/.eslintrc => toolkit/themes/osx/mochitests/.eslintrc.js
rename : toolkit/xre/test/.eslintrc => toolkit/xre/test/.eslintrc.js
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc.js
extra : rebase_source : 60affc4b9bf436bba7e0e21a8da3a85d16c9fc06
2016-10-18 08:38:10 +01:00
John Lin 9d4d55e04d Bug 1295106 - Part 5: allocate samples from a pool. r=snorp
MozReview-Commit-ID: CIn9CH9k9i4

--HG--
extra : rebase_source : 6e0178881ee8c46832c064027907f43310f6f548
2016-10-06 17:05:20 +08:00
John Lin ce9e7de84b Bug 1295106 - Part 4: implement JNI methods for shared memory buffers. r=nalexander
MozReview-Commit-ID: 7tXhV6KHzO8

--HG--
extra : rebase_source : c3f97ff1b31011e67c13dbc72a382b0f8bcd53fd
2016-10-06 16:21:24 +08:00
John Lin 4b2aac0604 Bug 1295106 - Part 3: introduce shared memory implemented with MemoryFile and support it in Sample. r=jchen,snorp
MozReview-Commit-ID: H33MJRgFvGB

--HG--
extra : rebase_source : 9b18f469a4e62cd734f081ec8a8a2388fe258651
2016-10-06 15:48:39 +08:00
John Lin ea7f78cbde Bug 1295106 - Part 2: add dequeueInput() and releaseOutput() to codec interface. r=snorp
MozReview-Commit-ID: 90ga1skGfT2

--HG--
extra : rebase_source : e8a06ad446d7bb7bc423032b03c37293a9a98894
2016-10-04 17:10:36 +08:00
Tom Klein affe009c82 Bug 1116415 - 4. Add an item animator to the tabs list for removes. r=sebastian
MozReview-Commit-ID: 6MGoEQSlmK1

--HG--
extra : rebase_source : 252707222b13f3d30c33005eeef0439fe879d2fd
extra : source : c7ce98269ea9692c922b11f3d2ec619dc55dccee
2016-09-12 10:50:04 -05:00
Tom Klein 6c54eb4796 Bug 1116415 - 3. Add an ItemTouchHelper to the tabs panel list for swipe to close. r=sebastian
MozReview-Commit-ID: 8QlbSg7qsZK

--HG--
extra : rebase_source : 40f57bbb8f2a97903cf52c5ce5d134d67ab957bb
extra : source : 332092b1cb5ecb3d99f93a21edce5ab3bcb00fd5
2016-09-12 10:46:30 -05:00
Tom Klein 2664442b26 Bug 1116415 - 2. Make the linear tabs list a RecyclerView. r=sebastian
Also make a temporary testing adjustment to handle the fact that TabsListLayout
and TabsGridLayout don't currently share a common usable base.

MozReview-Commit-ID: HPExAnehKRq

--HG--
extra : rebase_source : 4d9d0ce9fff216090ae676163e22645cd45c92a5
extra : source : 411a8ac7368e3b69e8191812fb53f0d1b8aa3247
2016-09-12 10:37:14 -05:00
Tom Klein 7cd84f8bb9 Bug 1116415 - 1. Create new RecyclerView and adapter base classes for tabs panels. r=sebastian
TabsListRecyclerAdapter.java will replace TabsLayoutAdapter.java when the time
comes.

Note from the future: the previous tabs layouts did a scroll each time an item
was added or selected, but GridLayoutManager sometimes does scrolls that aren't
necessary (like even when the position being scrolled to is already completely
in view), so we've adopted the approach of only scrolling when RecyclerView
makes it necessary.


MozReview-Commit-ID: JisX974zt88

--HG--
extra : rebase_source : 4105762cdd743d5120385e246350fc4059b6bcfc
extra : source : e4e74d6ae6da7dddda9a95e50c26656b07e67287
2016-09-12 10:33:02 -05:00
Carsten "Tomcat" Book e90a683f18 Backed out changeset 9c7364b4579d (bug 1308615) for suspicion that this caused pgo windows test crashes 2016-10-14 14:59:36 +02:00
Carsten "Tomcat" Book fed18a42c0 Backed out changeset 5af415bbb107 (bug 1308615) 2016-10-14 14:58:51 +02:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Eric Rahm b8cfe3a083 Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva
2016-10-13 22:02:58 -07:00
Eric Rahm 441292eb71 Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59
2016-10-13 22:02:47 -07:00
Sebastian Hengst 675427e45f Backed out changeset 46db039dbe10 (bug 1305439) for failing testAboutPage on Android. r=backout 2016-10-13 22:16:53 +02:00
Dylan Roeh 6415e8f510 Bug 1305439 - Store the last selected tab in GeckoApp in onPause and switch back to it in onResume. r=sebastian 2016-10-13 12:49:44 -05:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Sebastian Hengst 83c48072d6 Backed out changeset 6a4cf8732cb1 (bug 1308615) for failing browser-chrome tests like browser_devices_get_user_media.js. r=backout on a CLOSED TREE 2016-10-14 01:17:08 +02:00
Sebastian Hengst 47dffb47bc Backed out changeset dbf7653be16f (bug 1308615) 2016-10-14 01:16:08 +02:00
Eric Rahm 06a26b0b8c Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva

--HG--
extra : rebase_source : afc25d91dfcabf6f8f5c9aca6828d41acac9e97e
2016-10-10 13:14:38 -07:00
Eric Rahm 62ae2ac79e Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59

--HG--
extra : rebase_source : 069b6ec173bb98ab08d93279b5e983494184f8c0
2016-10-10 13:14:34 -07:00
Jan Henning be957a257a Bug 1308946 - Part 1 - Ensure that empty views not matching the current panel level are hidden. r=liuche
Setting an empty view's visibility only for the view corresponding to the current PanelLevel was intended to make sure the empty view doesn't get hidden because of an unrelated status update - e.g. to prevent the history empty view hiding itself because the recent tabs count changes.

This approach however doesn't work for switching between panel levels (the user moving into and out of the sync/recent tabs folders) - in that case we always need to turn off the empty view of the previous panel level, which is not possible with the above approach.

So instead, we revert to always updating the visibility of the empty views, but at the same time initialise the desired state of current PanelLevel's empty view with its current visibility instead of simply defaulting to false.

MozReview-Commit-ID: 6Xsnuo29srk

--HG--
extra : rebase_source : d540c128df51ae0315f9ee05c3fb87cfcf44877a
2016-10-11 21:00:36 +02:00
Jan Henning e56a644db8 Bug 1308946 - Part 0 - Import PanelLevel enum. r=liuche
MozReview-Commit-ID: 32Qvym2Neh1

--HG--
extra : rebase_source : 81de12d6c4c0f06353bb65620ba3d330e91b2966
2016-10-11 20:41:47 +02:00
John Lin ce8e57f426 Bug 1295106 - Part 1: abstract payload in Sample to support both Java byte array and shared memory. r=snorp
MozReview-Commit-ID: GFcwSyHlR4

--HG--
extra : rebase_source : 442487fcee43d86f974f87c69466e5fbb5d2793f
2016-09-08 11:20:34 +08:00
Eric Rahm e4b0439502 Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva
2016-10-14 10:06:37 -07:00
Eric Rahm b9acba878d Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59
2016-10-14 10:06:27 -07:00
Andrzej Hunt 3605a0c8df Bug 1309821 - Enable VectorDrawable support r=nalexander, sebastian
This allows us the use of VectorDrawable's (which can be created by converting SVG files) in a
limited set of circumstances.

MozReview-Commit-ID: 4n4dXnZYn9W

--HG--
extra : amend_source : 8fbf2579260590a26ecd0112d6fce1055e929bd7
2016-10-07 15:59:11 +02:00
Sebastian Kaspari db5236065d Bug 1295340 - Custom tabs string: Use &brandShortName; instead of 'Firefox'. r=flod,Grisha
MozReview-Commit-ID: LNn1WscodjQ

--HG--
extra : rebase_source : 687756c15bde318cbe3dcf5de668f965d11943b1
2016-10-12 11:13:17 +02:00
Sebastian Kaspari bc505a808c Bug 1299201 - Introduce ActivityStream.extractLabel() to extravt a label from a URL. r=Grisha
MozReview-Commit-ID: 8IM7qppwmJ6

--HG--
extra : rebase_source : 411bd9b8126caf0af06eb37d9c932f20089a2c93
2016-10-11 13:47:45 +02:00
Sebastian Kaspari 99ee5fa11a Bug 1299201 - Add helper method for stripping the public suffix from a domain. r=Grisha
MozReview-Commit-ID: H2ajfSZg6aE

--HG--
extra : rebase_source : 3657e7c88592f01020e4409e1ec902bed4b62268
2016-10-11 12:19:45 +02:00
Sebastian Kaspari d6301cd000 Bug 1299201 - StringUtils: Add helper method for joining strings with a separator. r=Grisha
MozReview-Commit-ID: Fzrap4wkeWk

--HG--
extra : rebase_source : c0d6495d825ad0a8a80d05a39e38d841d758e115
2016-10-11 11:52:43 +02:00
Sebastian Kaspari e495b04c9e Bug 1299201 - TestStringUtils: Remove unneeded Assert prefix. r=Grisha
MozReview-Commit-ID: LdxMX8cEU9e

--HG--
extra : rebase_source : 1ac414ebad90113b2f15908111dbee6aeeec02ad
2016-10-11 11:25:50 +02:00
Sebastian Kaspari 28c995ddba Bug 1305984 - Only show "family friendly browsing" first run for restricted profiles. r=Grisha
MozReview-Commit-ID: 9TzMD6eJIxU

--HG--
extra : rebase_source : 1d2e01161e0ad900bfcd667da729d0a0bfef19e0
2016-10-06 13:53:50 +02:00
Kartikaya Gupta 52890eb2b5 Bug 1309228 - Now that the width and height arguments are no longer needed in browser.js, remove those too. r=rbarker
MozReview-Commit-ID: 8F4qiq1qEmk

--HG--
extra : rebase_source : 497851c3b85b00858e493e282157003af75f3ac4
2016-10-11 10:17:28 -04:00
Kartikaya Gupta b0a89edebb Bug 1309228 - Remove the setScrollClampingSize function in browser.js that's not used since JPZ was replaced by APZ. r=rbarker
Also this makes the gScreenWidth/gScreenHeight variables unused, so those can
come out too and the Window:Resize handler can be simplified a bit.

MozReview-Commit-ID: 96iF16jSKBB

--HG--
extra : rebase_source : 01db1de5cc548db107267d84dda5b774cd652883
2016-10-11 10:17:26 -04:00
Phil Ringnalda 25afef5692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HlGgqNI8vwD
2016-10-10 19:07:58 -07:00
Eugen Sawin 06c47357d2 Bug 1298090 - [1.6] Extract and cache native libraries on APK update. r=glandium,snorp 2016-10-10 22:59:27 +02:00
Dylan Roeh a216f00000 Bug 1306742 - Use singleton EventDispatcher for ClosedTabs:Data listener. r=jchen 2016-10-04 15:46:29 -05:00
Dylan Roeh 52ad1516c6 Bug 1308633 - Use predefined strings for package name and class name when we cannot get the ComponentName in NotificationClient.showNotification. r=jchen 2016-10-10 15:27:14 -05:00
Mike de Boer 05f70d10ef Bug 1303008 - refactor Fennec Finder.jsm integration to always show the correct match count results in the findbar. r=nalexander
MozReview-Commit-ID: KZIstsbHAyT

--HG--
extra : rebase_source : 24972d38daa947d62410b43d14f0da6c7662e5da
2016-10-10 11:53:25 +02:00
Phil Ringnalda 080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Kartikaya Gupta 23b7dc83e4 Bug 1292034 - Make the StackScroller flywheel detection code more robust to real user behaviour when flinging. r=rbarker
MozReview-Commit-ID: DdI17RyIxiq
2016-10-07 21:43:52 -04:00
Sebastian Hengst 44dd1f666b Backed out changeset 71445b7c3044 (bug 1292034) for GTest failing APZScrollHandoffTester.ScrollgrabFlingAcceleration1. r=backout 2016-10-08 00:43:03 +02:00
Kartikaya Gupta b34e078007 Bug 1292034 - Make the StackScroller flywheel detection code more robust to real user behaviour when flinging. r=rbarker
MozReview-Commit-ID: 6OBCkd9bwRt
2016-10-07 17:44:18 -04:00
Kit Cambridge 571f3e8c08 No bug - Fix variable shadowing in `messageAndCryptoParams`. r=me
MozReview-Commit-ID: 5ax6AbENE4l

--HG--
extra : rebase_source : 381f81707c24283ffcb726d45e9c5b94649a0c79
extra : histedit_source : 3a3fd20a67a87cb6d5fee56c57ecacbcee28c9ac
2016-10-07 12:01:32 -07:00
Kartikaya Gupta 9bd097b609 Bug 1308371 - Remove unused files. rs=sebastian
MozReview-Commit-ID: GiKQPYEA3op
2016-10-07 10:46:23 -04:00
Phil Ringnalda ef58a75ffd Merge m-c to autoland 2016-10-06 20:24:09 -07:00
Phil Ringnalda fd672b97f1 Merge f-t to m-c, a=merge
MozReview-Commit-ID: HiqZsOM1Bcz
2016-10-06 19:59:02 -07:00
Sebastian Hengst 01979eecf3 Backed out changeset 13db73034f80 (bug 1282003) 2016-10-06 20:37:05 +02:00
Sebastian Hengst a93f492bd9 Backed out changeset 1d7748535fa3 (bug 1282003) 2016-10-06 20:37:00 +02:00
Andrzej Hunt 49c647af94 Bug 1307534 - Test that homepanel migration keep hidden panels hidden r=sebastian
MozReview-Commit-ID: 3s4aM2g4XTi

--HG--
extra : rebase_source : 285dcc75a8c827d6895b4800af806fe681a28bca
2016-10-05 21:41:38 +02:00
Carsten "Tomcat" Book 0afee402c6 Merge mozilla-central to fx-team 2016-10-06 12:28:52 +02:00
Carsten "Tomcat" Book 5f7f7c6912 merge fx-team to mozilla-central a=merge 2016-10-06 11:57:36 +02:00
Jim Chen bfe19431c6 Bug 1305498 - Refactor notification code to be more concise; r=sebastian
Bug 1305498 - 1. Remove NotificationClient task queue; r=sebastian

Not sure why we needed a task queue for NotificationClient actions. The
actions all go through IPC and are non-blocking, so it's perfectly fine
to perform them off of whatever thread we're on.

Bug 1305498 - 2. Integrate NotificationHandler et al into NotificationCllient; r=sebastian

There's no reason to have NotificationHandler, AppNotificationClient,
and ServiceNotificationClient all separate from the base
NotificationClient class. This patch adds the functionality of
those three classes to NotificationClient.

The notifications hash map is changed from a ConcurrentHashMap to a
regular HashMap with synchronization because I think the use case here
doesn't warrant the added performance and overhead of ConcurrentHashMap.

NotificationService is changed to match the new NotificationClient. Now
the only job for NotificationService is to set a notification as
foreground, rather than to manage all notifications like before.

NotificationHandler, AppNotificationClient, and
ServiceNotificationClient will be removed in a later patch.

Bug 1305498 - 3. Set NotificationListener in GeckoApplication; r=sebastian

Set NotificationListener once in GeckoApplication.onCreate, instead of
spreading it out in GeckoApp, BrowserApp, and GeckoService. This is
possible because there's no longer a distinction between
AppNotificationClient and ServiceNotificationClient in the new,
consolidated NotificationClient.

Bug 1305498 - 4. Remove obsolete notification classes; r=sebastian

Remove AppNotificationClient, ServiceNotificationClient, and
NotificationHandler, now that they've all been replaced by the new,
consolidated NotificationClient.

Bug 1305498 - 5. Use NotificationReceiver for web notification callbacks; r=sebastian

Previously, web notification callbacks went to GeckoApp directly, but
that presented some problems such as not being able to implement the
on-close callback, because we don't want to launch GeckoApp when the
notification is closed by swiping. This patch makes us use
NotificationReceiver for callbacks, and let NotificationReceiver launch
GeckoApp if necessary.

Bug 1305498 - 6. Don't keep notification cookie in native code; r=sebastian

Keep the notification cookie a single location (in the notification
intent itself), and simplify the native notification handling code.

Bug 1305498 - 7. Use NotificationReceiver for persistent notifications; r=sebastian

Currently, persistent notification callbacks go through a different code
path, but it'd be more consistent and correct to let persistent
notification callbacks go through NotificationReceiver as well.

This takes care of some housekeeping work that was missing for
persistent notifications, such as deleting the mNotifications entry when
the notification is closed.
2016-10-05 21:52:32 -04:00
Carsten "Tomcat" Book 3522f1d38a merge mozilla-inbound to mozilla-central a=merge 2016-10-05 15:42:48 +02:00
Andrzej Hunt 2d6f446c93 Bug 1306784 - Don't set a default panel during fixup migration if all panels are disabled r=sebastian
The fixup migration assumes that there must be a default panel, and sets the history panel as default if not.
This assumption is wrong in the case where no panels are visible: in this case there is no default.
Before this commit, that migration will make the history panel visible for all users who had no
visible panels, with this commit that migration will retain the all-panels-hidden state.

Note: it's impossible for us to recover the all-panels-hidden state for clients that have already
run the migration, however we can at least prevent this issue from happening for users who
have not yet migrated (i.e. in release).

MozReview-Commit-ID: 9JlmltPW2Ly

--HG--
extra : rebase_source : 4e608910775c971ec09c0f9096b8ae36e9f7b877
2016-10-04 09:12:37 -07:00
Alastor Wu 5619d26af8 Bug 1305430 - part2 : replace action checking with isMediaPlaying(). r=sebastian
MozReview-Commit-ID: F2WyASzWAMJ

--HG--
extra : rebase_source : 07a9a41ab745907306baf420a747423d995ab9d4
2016-10-06 14:02:03 +08:00
Alastor Wu 4677833a54 Bug 1305430 - part1 : send the notification again after tab got its favicon. r=sebastian
Sometimes the tab doesn't get its favicon yet when we send the notification.
Therefore, we would listen the FAVICON event and then re-send the notification again if we used the default cover icon in previous notification.

MozReview-Commit-ID: JSphLBEhGy2

--HG--
extra : rebase_source : 55f12e30583480a1d0d7f2743974a05180198ad5
2016-10-06 14:01:43 +08:00
KuoE0 55ce4ad9bf Bug 1282003 - (Part 3) Add screen ID to nsWindow and GeckoView to get the correct nsScreen and density. r=snorp
MozReview-Commit-ID: Cd9MS2I1RRQ

--HG--
extra : transplant_source : %27%C1%B7R%03%F9%CA%BC%8D%9D%8D%28u%FAU%92%B5%B7%0A%C2
2016-09-29 14:23:56 +08:00
KuoE0 2a9698fad6 Bug 1282003 - (Part 2) Add screenManagerHelper in Java. r=snorp
MozReview-Commit-ID: BLw6e7dgldt

--HG--
extra : transplant_source : %A9bl%C1%95q%C8Zv%93%191%9B%CA%2B%0C%CA%2BU%FB
2016-09-23 23:03:00 +08:00
Nick Alexander b4c52f8bca Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian
We need to bump the Gradle Deps task, which fetches dependencies, to
include new test dependencies; and use freshly uploaded tooltool
archives (manually uploaded) containing the new test dependencies.

MozReview-Commit-ID: 8bNOVQPHlk6

--HG--
extra : rebase_source : 0c80117fb58e43f9c857027941f0a14f03b97f13
2016-10-05 20:23:38 -07:00
Gian-Carlo Pascutto 4ab187d14a Bug 1304975 - Use the renamed gUM permission token. r=florian
MozReview-Commit-ID: 5pJorbXrtkP

--HG--
extra : rebase_source : baaadf6c86ca37993a311a9198b14459fccc291d
extra : histedit_source : 3bd1340f79135058314e9dab3f5b856705c38851
2016-09-23 12:31:53 +02:00
Tushar Saini (:shatur) d57c05a9ea Bug 1261041 - Remove feature11Plus-feature15Plus flags. r=sebastian
MozReview-Commit-ID: J4uXtUrjuKr

--HG--
extra : rebase_source : e21e02831ddc3c32a2d0be508b217e8c7b08cb12
2016-09-22 21:20:23 +05:30
Sebastian Kaspari 8a899e5b22 Bug 1301715 - Only extract metadata if the Activity Stream or Nightly flag is enabled. r=ahunt
MozReview-Commit-ID: 7Ic8v1M6AAy

--HG--
extra : rebase_source : aec2ce74749b19abf21f5f1f1ed098af60eaf3af
2016-09-30 11:58:25 -04:00
Kit Cambridge a69ba96059 Bug 1301469 - Add localized decryption errors for invalid headers and padding. r=mt
Web Crypto returns an unhelpful "operation failed for an
operation-specific reason" error if the actual decryption fails, but
we can report more useful errors for missing and invalid header
values.

MozReview-Commit-ID: JRdGHBUodmb

--HG--
extra : rebase_source : 8f1b047b6f01c89a852aefbb1349a608f1178ab8
2016-10-05 08:57:52 -07:00
Wes Kocher a0ecf84551 Merge m-c to inbound, a=merge 2016-10-04 17:42:22 -07:00
Wes Kocher 5a2fb874ca Merge inbound to central, a=merge 2016-10-04 17:32:01 -07:00
Kartikaya Gupta eaa695580b Bug 1307098 - Fix the positioning of the floating toolbar so that it doesn't overlap the selection and carets. r=rbarker
MozReview-Commit-ID: SY9c4X4QUf

--HG--
extra : rebase_source : 34e0e7791e7fcea4013211ffb5b564c53d3c70cf
2016-10-04 13:24:22 -04:00
Dylan Roeh cc503bd207 Bug 1306743 - Make PushService use the singleton EventDispatcher. r=jchen 2016-09-30 17:33:56 -05:00
Kartikaya Gupta 5a688fe072 Bug 1304263 - On Windows, fire the eMouseLongTap event as soon as APZ detects the long-press. r=TYLin
On Windows, the contextmenu event is fired when the finger is lifted after a
long-press. However, there are various bits of code, such as the AccessibleCaret
or potential fixes for bug 1147335, which would benefit from knowing when the
long-press gesture was detected. By moving eMouseLongTap event up we can satisfy
that need. An alternative approach considered was to fire the eMouseLongTap
before the contextmenu on all platforms unconditionally, but that makes it harder
to implement platform-specific text selection behaviour the way we want. In
particular we would have to add an extra message or notification for non-Windows
platforms that initiated text selection if the contextmenu event was not
consumed.

MozReview-Commit-ID: 2lmwxmmGrVD
2016-10-04 09:31:15 -04:00
Christoph Kerschbaumer bef2aa6909 Bug 1307235 - Import sessionstore/Utils into android/components/SessionStore. r=jchen 2016-10-04 09:54:10 +02:00
Kartikaya Gupta ce3cbbcf73 Bug 1235513 - Remove the old Fennec SelectionHandler now that it has been replaced by the AccessibleCaret code in platform. r=snorp
MozReview-Commit-ID: FkOmXznyESM

--HG--
extra : rebase_source : 1b3e23eab9d14799b3e60ab2166442667df0b16f
2016-10-06 08:07:02 -04:00
Ryan VanderMeulen ef3b2f209c Bug 1306732 - Update StringHelper.java with the new branding string to avoid Aurora test failures. r=sebastian 2016-10-04 14:41:36 -04:00
Sebastian Kaspari 2e775e23a6 Bug 1301715 - BrowserApp: Receive metadata from event. r=ahunt
MozReview-Commit-ID: 7rND7R09Pj6

--HG--
extra : rebase_source : cbc2d1dedfcac4177d683eaa038a02f598f88ea2
2016-09-08 10:20:44 +02:00
Sebastian Kaspari 63a89783cc Bug 1301715 - Extract website metadata and make it available. r=ahunt
This patch introduces WebsiteMetadata.jsm which imports fathom and page-metadata-parser.
The code has been slightly modified to not depend on more node libraries.

On DOMContentLoaded the module will extract the metadata asynchronously and send it with
a 'Website:Metadata' event.

MozReview-Commit-ID: LxhYOTvvdsF

--HG--
extra : rebase_source : e31286bd7268ad62d55f1a5318cde79442e9acba
2016-09-08 10:20:24 +02:00
Wes Kocher b4e6b8fba5 Merge m-c to autoland, a=merge 2016-10-04 17:42:48 -07:00
Andrzej Hunt 8001b5d314 Bug 1307779 - Only start long-press timer for back button r=sebastian
Huge oversight in my original patch. Pressing any hardware button will result
in the history list being shown after the long-press delay (regardless of long-pressing).

MozReview-Commit-ID: KO8u0NzTxaO

--HG--
extra : rebase_source : 6f6932c4f35b9e580a84a2d68a7688abe4da79de
2016-10-05 18:14:12 +02:00
Sylvestre Ledru f0bf16f1a7 Bug 1306732 - Renaming of the aurora version r=sebastian
MozReview-Commit-ID: GvalAF0ceo6

--HG--
extra : rebase_source : a5807b9aabb433070392057241dcaaea552ccbb3
2016-09-30 22:50:58 +02:00
Ting-Yu Lin 12ef09026a Bug 1307027 - Fix vertical position for caret images. r=mtseng
After the splitting of text overlay and the caret images, the caret image should
be placed from the top of #image div.

Delete those "top" style for Fennec since they're not needed anymore in current
setup.

MozReview-Commit-ID: Dn6jgqaFfek

--HG--
extra : rebase_source : 92b697db26cb7311fbd22a63e9f0ed71e6a434f4
2016-10-03 15:26:40 +08:00
Andrzej Hunt 8f2b2148c6 Bug 1267884 - Update TestColorProcessor to reflect update palette library colour extraction r=sebastian
It looks like the update (23.4) version of palette returns the actual dominant colour
for a red mock (FF0000). Previously it returned a more muted red (F80000).

MozReview-Commit-ID: 5VpRavyooHY

--HG--
extra : rebase_source : ab55e787a305481f890d00739de2843b87063bed
2016-10-04 09:51:18 -07:00
Kartikaya Gupta 1929c7c930 Bug 1307522 - Remove a bunch of unnecessary methods from the PanZoomTarget interface now that JPZ is gone. r=snorp
MozReview-Commit-ID: CPIDkGX3jhr

--HG--
extra : rebase_source : 158f4b5a744d54fa5914589a86db8d2be4786ce9
2016-10-04 14:41:15 -04:00
Kartikaya Gupta 1320fdc1a4 Bug 1307522 - Delete a bunch of classes and related goop no longer used now that JPZ is gone. r=snorp
MozReview-Commit-ID: Jq6xJEO0u9x

--HG--
extra : rebase_source : 3ae338de85676c8c846b393661ce319f3dde86c3
2016-10-04 14:41:13 -04:00
Jim Chen 26526e7e66 Bug 1306083 - 2. Pass in window object for nsIAndroidBridge calls; r=snorp
Make contentDocumentChanged and isContentDocumentDisplayed calls require
the caller to pass in a window object, so that we can get the widget and
GeckoLayerClient from the window object. This way these calls no longer
depend on having a global layer client in AndroidBridge.
2016-10-03 12:26:00 -04:00
Ryan VanderMeulen e980397fb4 Merge m-c to autoland. a=merge 2016-10-07 23:22:46 -04:00
Phil Ringnalda e6f43c4543 Backed out 2 changesets (bug 1308615) for failures in browser_devices_get_user_media.js
CLOSED TREE

Backed out changeset 85689c52301c (bug 1308615)
Backed out changeset ec8e67234efb (bug 1308615)
2016-10-07 19:42:01 -07:00
Eric Rahm 28dd079343 Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59

--HG--
extra : rebase_source : a8beed043989f6e69e89d17c0db1864c6d7258ac
2016-10-07 14:52:48 -07:00
Andrzej Hunt eea171debc Bug 1308390 - Upgrade geckoview_example to support libraries 23.4 r=nalexander
I've also updated espresso versions. For some reason using espress results in test-app
defaulting to annotations 23.0.1 or 23.1.1 (depending on espresso version), but we can
override this with the actual annotations library version to make gradle happy again.

MozReview-Commit-ID: 6rFtvVgceJV

--HG--
extra : rebase_source : 3c9fb20cad396eebbfbd890cc37a4931221488d9
2016-10-07 08:09:35 +02:00
Sebastian Kaspari 5f32403b2b Bug 1301466 - Make Activity Stream highlights clickable. r=ahunt
MozReview-Commit-ID: 1kVxu8aCdiC

--HG--
extra : rebase_source : cc27dc064df354d2095e764f7ced9954fbabcd97
2016-10-05 20:19:29 +02:00
Sebastian Kaspari 249bd223a6 Bug 1306609 - Rename CompactItem to HighlightsItem. r=ahunt
MozReview-Commit-ID: JX76g6HnG7g

--HG--
extra : rebase_source : 304d90556fcb454e992f977b8b34b17e8abcc48e
2016-10-05 14:19:49 +02:00
Sebastian Kaspari f1b0653da5 Bug 1306609 - Remove unused HighlightsItem. r=ahunt
Going forward there will be just one highlights item/layout with an optional image.

MozReview-Commit-ID: BmtUTtanjJr

--HG--
extra : rebase_source : e80edea42af9bdc9c3a79b3bd9588d0a91f8faf7
2016-10-05 14:14:40 +02:00
Sebastian Kaspari b07c491681 Bug 1306609 - Show source label next to highlights (Visited, Bookmarked). r=ahunt
MozReview-Commit-ID: BRGESCA5sbq

--HG--
extra : rebase_source : 94c43ad3b348f6887ffc5c8fd3e0d6d9f2436364
2016-10-05 14:00:19 +02:00
Sebastian Kaspari 26e0697196 Bug 1306609 - BrowserProvider.getHighlights(): Reorder columns. r=ahunt
The UNION operator requires the two result sets to have the columns in the same order.

MozReview-Commit-ID: JRtw0LDZ5ib

--HG--
extra : rebase_source : a2cc6b2a9190cf9fb8ec75351446e0a91e613710
2016-10-05 13:46:31 +02:00
Sebastian Kaspari f5638f7d34 Bug 1306609 - Activity Stream highlights card: Update text colors. r=ahunt
MozReview-Commit-ID: FROHMxV3woL

--HG--
extra : rebase_source : 00f0eca38e1b27ef2529a0c4ec8a8538bc02cca1
2016-10-04 15:14:42 +02:00
Sebastian Kaspari 1bb734c90b Bug 1306609 - Activity Stream: Update color of divider and circle page indicator. r=ahunt
MozReview-Commit-ID: iecrGffzKz

--HG--
extra : rebase_source : cd1de514757a29de52841c774383417d8e659e09
2016-10-04 15:11:37 +02:00
Sebastian Kaspari ac82622bf0 Bug 1306609 - Activity Stream: Update padding/margin of highlights cards. r=ahunt
MozReview-Commit-ID: 95YXz1IONLU

--HG--
extra : rebase_source : 41b17ceec5a6f1af70e2517794e635ae4fbe65a5
2016-10-04 15:09:17 +02:00
Sebastian Kaspari 1e7f11e40c Bug 1306609 - Activity Stream: Update look and feel of highlights headline. r=ahunt
MozReview-Commit-ID: DKacqgyLQXk

--HG--
extra : rebase_source : b949898eeb678625eeaddebc660d6b35c95331bb
2016-10-04 14:30:37 +02:00
Sebastian Kaspari b197ec34c2 Bug 1306609 - Remove MORE link from activity stream panel. r=ahunt
MozReview-Commit-ID: 7TMGKX4pXrO

--HG--
extra : rebase_source : 682eedc14b30113b04b051d14e1836aa97da0fa3
2016-10-04 14:11:39 +02:00
Sebastian Kaspari ae479daed9 Bug 1295340 - Update copy for "Custom Tabs" in Settings. r=Grisha
MozReview-Commit-ID: L47Mh2gDcYz

--HG--
extra : rebase_source : abc2ccce58f8ecdc659a3716c7b479d2ad82e848
2016-10-06 19:30:50 +02:00
Andrzej Hunt d455287bd6 Bug 1267884 - Add empty updateVisuals() to GeckoCustomTabsService to match customtabs-23.4 r=sebastian
MozReview-Commit-ID: FCDCqOLJDDt

--HG--
extra : rebase_source : 2dab1c5b02b7f9f4af1c7f422ebe3822c8c06589
extra : source : abc52d4c5f87d7c768e6bd9d1409eb327937238a
2016-09-30 09:18:10 -07:00
Andrzej Hunt e04f1b07d7 Bug 1267884 - Upgrade support libraries to 23.4 r=sebastian
MozReview-Commit-ID: C7LWrLfYlQU

--HG--
extra : rebase_source : 78648f60d13d662fd804cf004204389f5b2fc5a2
extra : source : 25e1ca9427995e770e8821b148e83bdab95521bd
2016-09-30 09:16:23 -07:00
Sebastian Hengst 256c9cf9ff Merge mozilla-central to autoland 2016-10-05 17:15:26 +02:00
Ting-Yu Lin 1e34a8b238 Bug 1307100 - Add handlesOffset only if height > 0. r=sebastian
Per bug 1307100 comment 3, we use "height equals to 0" to hide the floating
toolbar so we only need to adjust the handlesOffset when height > 0.

MozReview-Commit-ID: AdIOxIFUrI

--HG--
extra : rebase_source : c62658c19362e5b49b1b36829cd4b1ef81be87e4
2016-10-05 13:47:11 +08:00
James Cheng 7472ef82a6 Bug 1306219-Part3 Add logic to determine if Widevine keysystem is supported on Fennec. r=cpearce
MozReview-Commit-ID: 7lquhpJPYfW

--HG--
extra : rebase_source : 17f97d1574771fb52cece8d4331d6bc5c31cbad4
2016-10-04 11:45:34 +08:00
James Cheng 6e3e960784 Bug 1306219-Part2 Add utility function to invoke MediaDrm and MediaCrypto checking API. r=cpearce,jchen
MozReview-Commit-ID: FFDjmKQh2gP

--HG--
extra : rebase_source : 5ad9a90d78632c6bff6457a38efa7d41d1624992
2016-10-26 10:55:16 +08:00
Phil Ringnalda 400813c30b Merge m-i to m-c, a=merge 2016-09-30 23:24:52 -07:00
Gregory Szorc d0e135f5d1 Backed out changesets cc4bdd6afea0, abc52d4c5f87, and 25e1ca942799 (bug 1267884) for Android bustage
CLOSED TREE

--HG--
extra : amend_source : 1f0c7bbb5aa8a3dab38f0785e13e32f59e8f8c79
extra : histedit_source : ca99420cac7019a4b6fd6aab781b93151092a8bc%2C0ef091317a27688c734f20417875406726e35de7
2016-09-30 15:01:13 -07:00
Phil Ringnalda a5c0ab382f Bug 1278581 followup, placate checkstyle
CLOSED TREE

MozReview-Commit-ID: Apt89thqPfX

--HG--
extra : source : 548560e9e76273fa6df17415e9b29bfd0361e61b
extra : amend_source : c8022b27421c033809ce5b543f49c0af2ed91020
extra : histedit_source : 22ec0210605b62ef3990e6ee9007d1816cd2a722
2016-09-30 08:21:55 -07:00
Dylan Roeh cd9b07a37b Bug 1306497 - Check that the GeckoInterface and instance EventDispatcher are non-null before dispatching events. r=jchen 2016-09-30 12:01:56 -05:00
Phil Ringnalda c0aa43cf5d Bug 1278581 followup, placate checkstyle 2016-09-30 08:21:55 -07:00
Eugen Sawin a0d9e7bbca Bug 1305461 - [2.2] Replace @JNITarget annotation with @Keep for native reference field. r=sebastian 2016-09-30 16:55:40 +02:00
Eugen Sawin 965c522297 Bug 1305461 - [1.2] Add Android support annotation JAR to mozglue and import Android ProGuard config for extended annotation support. r=sebastian 2016-09-30 16:55:40 +02:00
Kevin Lam 63e52fcef6 Bug 1219393 - Left aligned search icons only when there are less icons than required to fill the search icon bar. r=sebastian
MozReview-Commit-ID: JXBGJuT2bN0
2016-09-30 09:56:55 -04:00
Andrzej Hunt d25a94bfb6 Bug 1267884 - Add empty updateVisuals() to GeckoCustomTabsService to match customtabs-23.4 r=sebastian
MozReview-Commit-ID: FCDCqOLJDDt

--HG--
extra : rebase_source : 3f6cb469c10035bbbacba85413ee9ec95835076b
2016-09-30 09:18:10 -07:00
Andrzej Hunt 04780a2df0 Bug 1267884 - Upgrade support libraries to 23.4 r=sebastian
MozReview-Commit-ID: C7LWrLfYlQU

--HG--
extra : rebase_source : 164b33c147fd57c63e00c82738eaa9d3b21c6800
2016-09-30 09:16:23 -07:00
Andrzej Hunt 216129b6af Bug 1306104 - Disable LeakCanary for localOld builds to keep single-dex gradle builds under 65k methods r=nalexander,sebastian
MozReview-Commit-ID: KmMgaHC37cj

--HG--
extra : rebase_source : b1b0ba8a5fea3d22edd830379296dd4a292021ed
2016-09-28 13:43:29 -07:00
Andrzej Hunt 4696fefe72 Bug 1306140 - Add tests for HomeConfig migration r=sebastian
I am open to replacing "constellations" with a different name, but it was the best
I could come up with so far.

MozReview-Commit-ID: 9pljV8nC6O8

--HG--
extra : rebase_source : 781b5e1776adf457c92cacfecc09dc7afe03ad41
2016-09-29 11:36:57 -07:00
Andrzej Hunt 2472fb0d2a Bug 1306140 - Pre: make HomeConfig VERSION package-private to allow access for testing r=sebastian
MozReview-Commit-ID: LT5E22L009Y

--HG--
extra : rebase_source : 83e2488e6a76470caa3e0a25a9ba84c92df9254a
2016-09-30 10:14:01 -07:00
Andrzej Hunt 2ea24d1e1f Bug 1306140 - Pre: move HomeConfig migration loop into separate method to help with testing r=sebastian
MozReview-Commit-ID: 4CDdqXPAae0

--HG--
extra : rebase_source : 320044b7338c149d36b16311450d48fca5225309
2016-09-29 11:32:51 -07:00
Andrzej Hunt 08a55bdaad Bug 1304688 - Implement long-press timer to workaround broken onKeyLongPress on Android N r=sebastian
Note: we also change the return value of a long-press when the tab history fragment is showing:
we want to completely ignore long-presses in this case, previously we used to return false in this
case, which suggests that we didn't handle the event - however we explicitly consider this a no-op,
so should return a value reflecting that (in reality: no one else handles the long-press, so this
makes no effective difference).

MozReview-Commit-ID: FYrCVsNHfjv

--HG--
extra : rebase_source : d1af525a119264ea820b665198f45ff32898e8e1
2016-09-27 09:42:44 -07:00
Andrzej Hunt 26e91fdaeb Bug 1304688 - Pre: add Versions.preN to AppConstants r=sebastian
MozReview-Commit-ID: Awh9db04xW

--HG--
extra : rebase_source : c640ed3edcb16383548911c7ec0e5af5a523001c
2016-09-27 09:06:26 -07:00
dlim@mozilla.com 4fd116a405 Bug 730142 - Download batching. r=Grisha,rnewman
MozReview-Commit-ID: BhMmynysoKa

--HG--
extra : rebase_source : c62eb8bdd93bf38281aa13d37e6a49b271029e09
2016-09-30 09:33:08 -07:00
Carsten "Tomcat" Book 6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Andrzej Hunt e6399718e5 Bug 1298783 - Pre: add notificationUri to highlights query r=Grisha
This ensures that a DB modification will trigger a refresh of any clients
using getHighlights().

MozReview-Commit-ID: Cauc89ryDHr

--HG--
extra : rebase_source : e70401ba51ea406ab339f02abec73ec9bf1b3332
2016-09-08 16:54:43 -07:00
Andrzej Hunt e3c528759c Bug 1298783 - Add activity stream blocklist tests r=Grisha
MozReview-Commit-ID: 3W51oPtdsxw

--HG--
extra : rebase_source : 0eb895068599d262f9706a94039214a16b5e1189
2016-09-27 12:32:22 -07:00
Andrzej Hunt c19ddbdfc3 Bug 1298783 - Implement expiry for activity stream blocklist r=Grisha
MozReview-Commit-ID: CfBIvX1ml05

--HG--
extra : rebase_source : 3ae36abf11a66607d1d7f71affda3e164f21cdac
2016-09-21 14:57:11 -07:00
Andrzej Hunt 00b1aee19e Bug 1298783 - Implement adding pages to highlights blocklist r=Grisha
MozReview-Commit-ID: 5dCLHx2UJ5

--HG--
extra : rebase_source : f4ed88a8133b677a4a2aff91790cb11ffb8bfc56
2016-09-21 12:12:06 -07:00
Andrzej Hunt d360e38495 Bug 1298783 - Exclude blocklist sites from highlights query r=Grisha
MozReview-Commit-ID: 9xBX9zZApfT

--HG--
extra : rebase_source : f569b373eed10abaf6dbdd990a64ca79213c3df2
2016-09-27 12:30:08 -07:00
Andrzej Hunt 30ca845852 Bug 1298783 - Add highlights blocklist table r=Grisha
MozReview-Commit-ID: 6Cng37HFCLO

--HG--
extra : rebase_source : d51cd40515abfff83bd6d68425af294d547e822a
2016-09-28 14:56:23 -07:00
Carsten "Tomcat" Book 5b45193594 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Carsten "Tomcat" Book d282a3c477 merge fx-team to mozilla-central a=merge 2016-09-29 11:43:57 +02:00
Phil Ringnalda 5cf9c22a5e No bug, placate Android checkstyle test 2016-09-28 19:56:49 -07:00
Tuhina 047e64c6dc Bug 1270162 - Empty view flashes when navigating to history panel. r=JanH 2016-09-26 00:59:19 +05:30
Andrzej Hunt 4e3a9ee531 Bug 1306021 - Remove unneeded R.java copies to reduce field wastage r=nalexander
MozReview-Commit-ID: GHYCqzaMaGe

--HG--
extra : amend_source : bf65ed253bcc353c7fb77fa5029d85e862695491
2016-09-28 10:04:48 -07:00
Carsten "Tomcat" Book 572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Dylan Roeh f2d63fa10f Bug 1294821 - De-singletonize EventDispatcher and make it application-specific. r=jchen 2016-09-27 11:07:24 -05:00
Cory Price 8ec7ee57a1 Bug 1302414 - Theme preview is not working. r=sebastian
--HG--
extra : rebase_source : 53c8b40b3666e30d53852ce8633c91e1eaf7c25e
2016-09-23 09:56:26 -07:00
Eugen Sawin 905a450ea2 Bug 1291424 - [1.4] Extract and cache libs on first run. r=glandium,snorp 2016-09-27 14:02:37 +02:00
Jim Chen dc65b25659 Bug 1305271 - 3. Use @JNITarget for Distribution.getDistributionDirectories; r=snorp
Distribution.getDistributionDirectories is currently annotated with
@WrapForJNI, but because it's used from JS through JNI.jsm, the
@JNITarget annotation is more appropriate.
2016-09-28 23:49:25 -04:00
Dylan Roeh 6e5193f571 Bug 1305086 - Move code from GeckoApp.onDestroy() to BrowserApp.onDestroy() so that finishing a CustomTabsActivity doesn't kill the process. r=snorp 2016-09-28 15:44:26 -05:00
Carsten "Tomcat" Book b5206d37f5 Merge mozilla-central to mozilla-inbound 2016-09-28 16:25:01 +02:00
Geoff Brown c07f3f97e3 Bug 1305715 - Remove unused robocop logging code; r=jmaher 2016-09-28 07:45:31 -06:00
Geoff Brown 0e6cb7d2ec Bug 1304681 - Do not clear robocop test name between tests; r=jmaher 2016-09-28 07:45:30 -06:00
Grigory Kruglov bd06fa760b Bug 1304914 - Don't show "offline version" notifications on error pages r=ahunt
MozReview-Commit-ID: BE6GPLCAU3h

--HG--
extra : rebase_source : 4fd79c95f202b6ed550968acdaf31dc9efae56e5
2016-09-26 13:53:52 -07:00
Dylan Roeh b9e7ae8f83 Bug 1303776 - Call closeTab on the active tab when finishing a CustomTabsActivity. r=snorp 2016-09-23 11:02:45 -05:00
James Willcox 23d3601666 Bug 1278581 - Show neterror page if you enter an unknown URI scheme into urlbar on Android r=sebastian 2016-09-29 08:27:54 -05:00
Grigory Kruglov 41727dee14 Bug 1305615 - Use correct database in tests, and close db connection in TestLegacyLoader r=ahunt
We need to ensure we can explicitely close any database connections we open in the TestLegacyLoader,
so we initialize a BrowserProvider instance so that we can then call .shutdown() on it once we're done,
which will close any open connections.

Additionally, we need to make sure to use correct authority when registering (using AUTHORITY_URI produces dual mapping
of providers, from content://org.fennec... and from org.fennec...), and wrap our providers in a DelegatingTestContentProvider,
which will append PARAM_IS_TEST param to wrapped URIs -  when present this ensure we won't try to load a per-profile database.

MozReview-Commit-ID: LnzPhGOe6OY

--HG--
extra : rebase_source : 76eaadaa78bed7918b90012f8bdcc996dc3b2024
2016-09-26 20:26:59 -07:00
Andrzej Hunt 00c5b84a39 Bug 1304777 - Part 2: Fix panel removal migration to not discard DEFAULT flag if set r=sebastian
If the replacement panel was DEFAULT, then the migration should retain the DEFAULT flag.
By trying to ensure visibility of the default panel, we accidentally discarded the DEFAULT flag.
This patch provides a minimal fix for not discarding the default flag. It might be better
to rearchitect the whole method, but a minimal solution is preferred for now since this requires
uplifting to beta.

MozReview-Commit-ID: EkbDD7pipgJ

--HG--
extra : rebase_source : 4d6981feefef988fe2a4cb9d3ec294d71896c2b3
2016-09-26 13:16:03 -07:00
Andrzej Hunt 52cd9d958f Bug 1304777 - Part 1: Perform homeconfig cleanup to ensure default still exists r=sebastian
Bug 1251362 can result in there no default panel being set (this happens if the history
panel was the default panel before the panel migration). We can reuse the code from a previous
bug which sets history as the default panel if no other panel is set as default.

A second commit fixes the broken migration to ensure that history remains the default
homepanel, however this cleanup migration will help ensure existing clients get fixed.

MozReview-Commit-ID: EcUb2uUfOeJ

--HG--
extra : rebase_source : 41a313d1c0c55900cd3a075128b1d861a155b52e
2016-09-26 13:12:16 -07:00
Sebastian Kaspari 8f6b9fd821 Bug 1303292 - Media notification: Use icons that have at least the target size. r=ahunt
MozReview-Commit-ID: 7pNfrFEtyUd

--HG--
extra : rebase_source : 9e5362c0e9d90f4eaa74afd3ef20d73cc72d76f3
2016-09-23 13:36:27 +02:00
Sebastian Kaspari 572ea64cb9 Bug 1289140 - LauncherActivity: Exclude from recents and filter flags. r=ahunt
MozReview-Commit-ID: 2brjUGbl7hx

--HG--
extra : rebase_source : 5f86031192d2a6815a103cc50ff6f3efc0cdf492
2016-09-09 10:13:14 +02:00