Commit Graph

17622 Commits

Author SHA1 Message Date
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
Iris Hsiao
767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
Iris Hsiao
a95e0164c0 merge fx-team to mozilla-central a=merge 2016-09-26 18:29:38 +08:00
Nick Alexander
1a1eb3493b Bug 1255875 - Complain to treeherder if Android checkstyle, lint, or unittest fails. r=grisha
It's not obvious how to listen to individual errors in most cases, so
we just link to the reports for now.  Progress!

MozReview-Commit-ID: 8nGRJdpzZnO

--HG--
extra : rebase_source : e81c9b29cb03c5ba73e793512525b5c9c68ab655
extra : amend_source : ce1e2368d43d37cab8fe41cd7a978342ad3e2ea6
2016-09-23 13:58:10 -07:00
Carsten "Tomcat" Book
a65e4225ef merge mozilla-inbound to mozilla-central a=merge 2016-09-23 12:05:53 +02:00
Jim Chen
7ffb25ebc2 Bug 1304145 - 5. Implement NotificationListener in NotificationClient; r=nalexander
Provide Fennec's implementation of GeckoAppShell.NotificationListener in
NotificationClient. A lot of the code was removed in an earlier patch
from GeckoAppShell, so combined with this patch, we're essentially
moving code from GeckoAppShell to NotificationClient.
2016-09-22 16:38:19 -04:00
Jim Chen
ea53af2ebc Bug 1304145 - 4. Use string names instead of integer IDs for notifications; r=nalexander
Use string names instead of integer IDs to identify notifications. The
integer IDs came from the hashes of the string names, so they are not
guaranteed to be unique. Because the names from Gecko are a combination
of the site origin and notification tag, there can be unintentional
collisions, or worse, a site can intentionally make its notification
collide with and replace another site's notification.
2016-09-22 16:38:19 -04:00
Jim Chen
0841d97060 Bug 1304145 - 3. Move GeckoService and notification package to Fennec; r=nalexander
GeckoService and the notification package have some interdependencies,
so if we want to move the notification package, we have to move
GeckoService also. With that said, it's good to move GeckoService in any
case, because it's a Fennec component just like GeckoApp.

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoService.java => mobile/android/base/java/org/mozilla/gecko/GeckoService.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/AppNotificationClient.java => mobile/android/base/java/org/mozilla/gecko/notifications/AppNotificationClient.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationClient.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationClient.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationHandler.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationHandler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationHelper.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationHelper.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationReceiver.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationReceiver.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationService.java => mobile/android/base/java/org/mozilla/gecko/notifications/NotificationService.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/ServiceNotificationClient.java => mobile/android/base/java/org/mozilla/gecko/notifications/ServiceNotificationClient.java
2016-09-22 16:38:19 -04:00
Jim Chen
ae3538f775 Bug 1304145 - 2. Change GeckoAppShell's notification interface; r=nalexander
Instead of using NotificationClient directly from GeckoAppShell, add a
NotificationListener interface, which NotificationClient would
implement. This isolates NotificationClient (and the notification
package) from GeckoAppShell and lets us move the notification package to
Fennec. It also makes a cleaner interface for GeckoView consumers to
implement notification support.
2016-09-22 16:38:19 -04:00
Jim Chen
a513529b7c Bug 1304145 - 1. Restrict access for GeckoAppShell JNI methods; r=nalexander
General cleanup patch: make JNI methods in GeckoAppShell private if
possible, because they're not meant to be used in Java from outside of
GeckoAppShell.
2016-09-22 16:38:19 -04:00
Rob Wu
cbe00aff2e Bug 1296900 - Add test for availability of default WebExtension APIs r=kmag
MozReview-Commit-ID: LIr5Nsv51I3

--HG--
extra : rebase_source : 54e4b9169c545cb6359c7a0273dfaa54369da231
2016-08-20 22:21:45 -07:00
Grigory Kruglov
2d973e1eac Bug 1305182 - Release thumbnailClient in the unittest tearDown r=ahunt
MozReview-Commit-ID: KoW42T57gna

--HG--
extra : rebase_source : 70a80b90e88a4fb679da8c3907d78a645a7b9eaa
2016-09-23 16:43:10 -07:00
Wes Kocher
b77ba3eb2a Backed out 2 changesets (bug 1296900) for mochitest failures in test_ext_all_apis.html a=backout
Backed out changeset c37cf3cfd39c (bug 1296900)
Backed out changeset 998ed8336288 (bug 1296900)
2016-09-23 16:15:05 -07:00
Grigory Kruglov
9bc2b883fc Bug 1302601 - Fix broken tests - poor method override r=ahunt
MozReview-Commit-ID: DX2gTqXngiq

--HG--
extra : rebase_source : 506c8ac43b3ab39165614815856e4593fb668e64
2016-09-23 13:27:45 -07:00
Rob Wu
e31aa32c80 Bug 1296900 - Add test for availability of default WebExtension APIs r=kmag
MozReview-Commit-ID: LIr5Nsv51I3

--HG--
extra : rebase_source : 00f17e5b9b38b4a658b4b2a011ff6061a3f520b0
2016-08-20 22:21:45 -07:00
Grigory Kruglov
0f27194436 Bug 1300094 - Update robolectric to 3.1.2 r=sebastian
MozReview-Commit-ID: KuvzMbZ2n1q

--HG--
extra : rebase_source : e3e9fde87f69c8aa2c5f74de2c497441962486fd
2016-09-22 13:42:42 -07:00
Grigory Kruglov
1e4e8c6e6e Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian
MozReview-Commit-ID: KDimL7VeEA2

--HG--
extra : rebase_source : 713c680827562400d814ad32233b96d1a47a101a
2016-09-22 14:31:01 -07:00
Michael Comella
d5da1a9162 Bug 1290882 - Remove 'Press back to exit' snackbar when entering fullscreen mode. r=ahunt
We decided to remove it because:
 * Modern video controls include an exit fullscreen button
 * After bug 1031519, you have to swipe down from the top of the screen to
display the soft back button so the copy does not make sense.

Note that the `MozShowFullScreenWarning` event was removed previously in the
platform in [1] so we remove the listener attachment here without replacing it.

[1]: https://hg.mozilla.org/integration/fx-team/rev/a6a5f79e630d

MozReview-Commit-ID: HwyyUkWkUUH

--HG--
extra : rebase_source : 99b81c1f71aca357c3a9ea34e63fc7d20bed994f
2016-09-21 14:47:36 -07:00
Kilik Kuo
dc3bf0fbf7 Bug 1302331 - [Part2] Make CryptoInfo as an argument for method CodecProxy.input. r=jchen,jolin
MozReview-Commit-ID: JeqNNixbRvv

--HG--
extra : rebase_source : c99d875c2a992b098dc4e34d0831f4bb6f8ac7e4
2016-09-22 14:07:56 +08:00
Kilik Kuo
892fcf2a09 Bug 1302331 - [Part1] Support MediaCodec.CryptoInfo in Sample class r=jchen,jolin
MozReview-Commit-ID: LT89uvRxm4z

--HG--
extra : rebase_source : f395efbaeca9271d1574588790f9c68fea8e1335
2016-09-17 13:17:33 +08:00
Kartikaya Gupta
c0e51bca0a Bug 1301593 - Block versions of the Galaxy Note 4 from using the dynamic toolbar as well. r=sebastian
MozReview-Commit-ID: KOlIwP8xLhy

--HG--
extra : rebase_source : cda002731a14235e52e5d4b6644b3aa1bfe4acf7
2016-09-13 11:42:58 -04:00
Carsten "Tomcat" Book
cae9054451 Merge mozilla-central to autoland 2016-09-22 13:44:33 +02:00
Carsten "Tomcat" Book
cce863628d merge fx-team to mozilla-central a=merge 2016-09-22 11:54:05 +02:00
Jan Henning
94429143e5 Bug 1304168 - Use correct function name to remove event listener. r=sebastian
MozReview-Commit-ID: HJgrdLstQ3R

--HG--
extra : rebase_source : 422f45586bef02499e59864d3f449e48567bb18d
2016-09-20 22:20:23 +02:00
Carsten "Tomcat" Book
dd33962ca2 Merge mozilla-central to fx-team 2016-09-21 12:08:57 +02:00
Carsten "Tomcat" Book
4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Gregory Szorc
08197be0d0 Backed out changeset e6b3befb87a2 (bug 1300807) for eslint bustage 2016-09-20 19:10:41 -07:00
James Cheng
afa895be17 Bug 1297556 - Add telemetry to know how many crashes happens in decoding process. r=bsmedberg, r=jolin
MozReview-Commit-ID: 52hhddXOvL3

--HG--
extra : transplant_source : C%B8D%F2%DF%20%91wV%CC%D8b%5D%97%80%9E%93%92FR
2016-09-19 15:47:55 +08:00
Matthew Wein
00866fea33 Bug 1300807 - Switch to using a uuid for the PageAction ID. r=kmag
MozReview-Commit-ID: 4jlz9gdUuQd

--HG--
extra : transplant_source : %7B%96%12%EB%DF%FCvgv%25%15%EA1Z%E9%5BN%0FM%99
2016-09-13 11:13:40 -07:00
Nick Alexander
b316681623 Bug 1303468 - Follow-up: Unbust Gradle lint. r=me
MozReview-Commit-ID: IWB0CMVuNPr
2016-09-19 14:54:24 -07:00
Nick Alexander
0714ea6615 Bug 1303468 - Follow-up: Unbust Gradle builds. r=me
MozReview-Commit-ID: IbqnIC4L83A

--HG--
extra : rebase_source : 3af27bf38c5e7ec93ba1835fa3f9c6d26675551e
2016-09-19 14:24:13 -07:00
Nick Alexander
2a72ea59a4 Bug 1303468 - Part 2: Move Fennec- and Gradle-specific file back to base/. r=jchen
This is only there to silence the linter.

MozReview-Commit-ID: 8zEDsrbjyeo

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/UnusedResourcesUtil.java => mobile/android/base/java/org/mozilla/gecko/util/UnusedResourcesUtil.java
extra : rebase_source : be9a886cc2d28a4336690255279f9cf50e9ed047
extra : histedit_source : 43c4512d56f5a01f04ecada6a493107b6ac9581f
2016-09-16 15:55:01 -07:00
Nick Alexander
94886d9a99 Bug 1303468 - Part 1: Move more things into GeckoView. r=jchen
MozReview-Commit-ID: CEjyq0TFn6j

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/SysInfo.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/SysInfo.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/JNITarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/JNITarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/ReflectionTarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/ReflectionTarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/RobocopTarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/RobocopTarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/WebRTCJNITarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/WebRTCJNITarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/WrapForJNI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/WrapForJNI.java
extra : rebase_source : aa34c4b5333ed1db01ae5437946e9e48e136c9e4
extra : histedit_source : 75cc1703f895894c1a5a55f1c5cb94d4cbde5b8e
2016-09-16 15:53:39 -07:00
MDTsai
f6383735e1 Bug 1301619 - Update Firefox android User Agent override. r=miket
Remove following domains from ua-update.json.in:
 auctions.yahoo.co.jp
 news.yahoo.co.jp
 shopping.yahoo.co.jp
 travel.yahoo.co.jp
 sports.yahoo.co.jp
 mixi.jp

Update bug number inline
2016-09-12 20:57:00 -04:00
Phil Ringnalda
43631e2cd1 Backed out 2 changesets (bug 1296900) for est_ext_all_apis.html | failures
Backed out changeset fa509c880990 (bug 1296900)
Backed out changeset 06ee8b3640af (bug 1296900)
2016-09-21 18:59:22 -07:00
Rob Wu
e081e458f4 Bug 1296900 - Add test for availability of default WebExtension APIs r=kmag
MozReview-Commit-ID: LIr5Nsv51I3

--HG--
extra : rebase_source : 75791499515f797267c397ac2b9e9b0c81339a02
2016-08-20 22:21:45 -07:00
Jim Chen
93c5b51e4a Bug 1303806 - 1. Move classes from geckoview to Fennec; r=nalexander
ANRReporter is a telemetry tool that belongs in Fennec code.

GeckoJavaSampler is a developer tool that belongs in Fennec code.

SwipeDismissListViewTouchListener is only used in FormAssistPopup, which
is no longer referenced in geckoview code.

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/ANRReporter.java => mobile/android/base/java/org/mozilla/gecko/ANRReporter.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoJavaSampler.java => mobile/android/base/java/org/mozilla/gecko/GeckoJavaSampler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/widget/SwipeDismissListViewTouchListener.java => mobile/android/base/java/org/mozilla/gecko/widget/SwipeDismissListViewTouchListener.java
2016-09-20 17:42:08 -04:00
James Willcox
c660f5d482 Bug 1301043 - Remove HLS player if you switch tabs in Fennec r=ahunt 2016-09-20 15:54:00 -05:00
Carsten "Tomcat" Book
17d545681a Merge mozilla-central to mozilla-inbound 2016-09-20 12:02:20 +02:00
Matthew Wein
7c9e612290 Bug 1300807 - Switch to using a uuid for the PageAction ID. r=kmag
MozReview-Commit-ID: 4jlz9gdUuQd

--HG--
extra : rebase_source : e264242501856f7859dd5ca85bc81093d7929a25
2016-09-13 11:13:40 -07:00
James Cheng
8998232dfa Bug 1302336 - Rename ICodecManager into IMediaManager. r=jolin
MozReview-Commit-ID: JGIW3BfAwCI

--HG--
extra : rebase_source : fc520f9badfffaea77d3ed54794ff1c74c453078
2016-09-14 11:07:45 +08:00
Nicholas Hurley
57433e2050 Bug 1296280 (part 3) - Set HPACK receive buffer size appropriately for the platform r=mcmanus
MozReview-Commit-ID: DfckEZfEd10

--HG--
extra : rebase_source : 1c6915382842c35261b8800d73719cd41deb0b8d
2016-09-06 12:48:41 -07:00
Randall Barker
222a065e38 Bug 1294707 - Part 1, Revert Fennec so that it treats mouse clicks as touch events r=kats 2016-09-16 14:37:41 -07:00
Wes Kocher
0677d5dc43 Merge m-c to inbound, a=merge 2016-09-16 14:35:12 -07:00
Wes Kocher
76bf2680e6 Merge inbound to m-c a=merge CLOSED TREE 2016-09-16 14:31:34 -07:00
Jan Henning
9d8c12b79f Bug 1302424 - Check panelStateChangeListener isn't null before using it. r=Grisha
MozReview-Commit-ID: GogUQ4edJvU

--HG--
extra : rebase_source : 9b5072ab2b5b8eea5af4023e3f8de79cafe4b8b5
2016-09-16 17:38:41 +02:00
Jim Chen
cabea0c515 Bug 1291375 - 3. Separate Fennec JNI binding generation; r=nalexander r=snorp
Separate compiled JARs into GECKOVIEW_JARS and FENNEC_JARS, and run
AnnotationProcessor separately on each set. The GeckoView bindings are
put into widget/android/GeneratedJNI* (same as before), while the
Fennec-specific bindings are put into widget/android/fennec/FennecJNI*.
2016-09-16 15:13:48 -04:00
Jim Chen
3965c7e895 Bug 1291375 - 1. Compile separate gecko-view.jar; r=nalexander
Compile geckoview sources into a separate gecko-view.jar file, apart
from gecko-browser.jar. This lets us separate JNI binding generation,
among other things.
2016-09-16 15:13:47 -04:00
Dylan Roeh
0a42c7bfec Bug 1300574 - Use the back button for navigation in custom tabs when possible. r=snorp 2016-09-16 09:21:09 -05:00
Dragana Damjanovic
28e47547d6 Bug 1277895 - Remove one new line from http auth prompt message. r=dolske 2016-09-16 09:24:26 +02:00
Wes Kocher
447769a520 Merge fx-team to central, a=merge 2016-09-15 16:35:46 -07:00
Carsten "Tomcat" Book
e4ded7fc61 Merge mozilla-central to fx-team 2016-09-15 12:07:34 +02:00
Matthew Wein
56c73ad672 Bug 1300808 - Only load options pages on Android for OPTIONS_TYPE_INLINE. r=kmag
MozReview-Commit-ID: DF739YRjxOb

--HG--
extra : transplant_source : %E4M%DB%A6%CB%DC%40%F5%BC%06%84%A0%CB%E3%05%8E%AAC%2A%16
2016-09-14 13:59:40 -07:00
Jim Chen
13d9bdb41d Bug 1258472 - 2. Move guest mode state management to GeckoProfile; r=nalexander
Because guest mode is intimately tied to the profile, it'd be hard to
keep guest mode out of geckoview code entirely, But we also don't want
any dependency on GuestSession from geckoview code, so this patch moves
the part of GuestSession that manages guest mode state to GeckoProfile.
2016-09-14 13:33:09 -04:00
Jim Chen
dd14f982bb Bug 1258472 - 1. Start first-run telemetry session outside of GeckoProfile; r=nalexander
Move the first-run telemetry session from GeckoProfile to BrowserApp, so
there is no longer any dependency on Telemetry from inside GeckoProfile.
2016-09-14 13:33:09 -04:00
Jim Chen
5113e2786e Bug 1291384 - 2. Convert GeckoProfile.getDB calls to BrowserDB.from calls; r=nalexander
Mass convert GeckoProfile.getDB() calls to BrowserDB.from() calls,
whether using Context or GeckoProfile.
2016-09-14 12:46:50 -04:00
Jim Chen
fef2725577 Bug 1291384 - 1. Take BrowserDB out of GeckoProfile; r=nalexander
Remove references to BrowserDB and its factory from GeckoProfile.
Instead of keeping the DB in mDB, GeckoProfile now keeps an arbitrary
object in mData. Using a data object lets us avoid needing another map
to map profiles to DBs. This feature could be very useful for GeckoView
consumers as well.

The new way to get a BrowserDB from a profile/context is through
BrowserDB.from(Context) or BrowserDB.from(GeckoProfile), which takes
care of creating a local DB if necessary and associating the DB with the
profile.
2016-09-14 12:46:50 -04:00
Jim Chen
3a8af38a02 Bug 1301515 - Remove FormAssistPopup dependency in geckoview; r=sebastian
Remove the input method change notification that GeckoInputConnection
sends to FormAssistPopup, so there's no dependency on FormAssistPopup
from inside GeckoInputConnection or GeckoInterface. Instead,
FormAssistPopup now actively queries the current input method, and
performs blocklisting based on that.
2016-09-14 12:43:36 -04:00
Jim Chen
cbdc48211c Bug 1291385 - 3. Don't send viewport flush message; r=snorp
We used to use it to sync viewport metrics between Gecko and Java, but I
don't think this is needed anymore.
2016-09-14 12:43:36 -04:00
Jim Chen
de52df3d2a Bug 1291385 - 2 .Move restrictions package from geckoview to Fennec; r=nalexander
The restrictions package really belongs in Fennec code rather than in
geckoview code. The move also eliminates some dependency errors because
the restrictions package references some classes in Fennec code.

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/DefaultConfiguration.java => mobile/android/base/java/org/mozilla/gecko/restrictions/DefaultConfiguration.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/GuestProfileConfiguration.java => mobile/android/base/java/org/mozilla/gecko/restrictions/GuestProfileConfiguration.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/Restrictable.java => mobile/android/base/java/org/mozilla/gecko/restrictions/Restrictable.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/RestrictedProfileConfiguration.java => mobile/android/base/java/org/mozilla/gecko/restrictions/RestrictedProfileConfiguration.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/RestrictionCache.java => mobile/android/base/java/org/mozilla/gecko/restrictions/RestrictionCache.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/RestrictionConfiguration.java => mobile/android/base/java/org/mozilla/gecko/restrictions/RestrictionConfiguration.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/RestrictionProvider.java => mobile/android/base/java/org/mozilla/gecko/restrictions/RestrictionProvider.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/restrictions/Restrictions.java => mobile/android/base/java/org/mozilla/gecko/restrictions/Restrictions.java
2016-09-14 12:43:36 -04:00
Jim Chen
fa1430b7fc Bug 1291385 - 1. Remove geckoview dependency on certain GeckoApp constants; r=sebastian
Code in geckoview depends on several string constants in GeckoApp.
This patch moves PREFS_OOM_EXCEPTION and ACTION_ALERT_CALLBACK from
GeckoApp to GeckoAppShell, to reverse the dependency. Ideally, we'd want
those constants to not be used or used differently in geckoview code,
but this is a quick workaround for now. GeckoThread uses
GeckoApp.ACTION_HOMESCREEN_SHORTCUT, but that block of code is actually
obsolete, so this patch removes the code block and the dependency.
2016-09-14 12:43:36 -04:00
Jim Chen
c51900d074 Bug 1258470 - 3. Small optimizations in ThumbnailHelper; r=nalexander
This patch includes a small memory optimization of using ArrayList and
`volatile int` for storing the pending thumbnails list and pending
width, instead of using LinkedList and AtomicInteger, respectively.

The patch also fixes a possible race condition due to calling
processNextThumbnail outside of a lock. Now it must be called inside a
lock and its name is changed to reflect that.
2016-09-14 12:43:36 -04:00
Jim Chen
3013200dba Bug 1258470 - 2. Move thumbnail code out of BitmapUtils; r=nalexander
Move the "thumbnail:" handler out of BitmapUtils and into
ThumbnailHelper and PromptListItem.

The patch adds two overloads of the getAndProcessThumbnailFor method in
ThumbnailHelper, which handle the tasks of getting a thumbnail for a
specific tab and calling a given BitmapLoader.

Because only PromptListItem makes use of the "thumbnail:" convention,
the actual handling of "thumbnail:" is moved to PromptListItem, which
calls ThumbnailHelper to get the thumbnail.
2016-09-14 12:43:36 -04:00
Jim Chen
bdb35912c7 Bug 1258470 - 1. Remove RTL and ZoomConstraints variables from gfx; r=rbarker
We no longer send viewport metadata, so we don't actually make use of
the RTL and ZoomConstraints variables we keep in Java. There is a single
usage of an RTL flag in ImmutableViewportMetrics.offsetViewportByAndClamp,
but I think the two branches are equivalent, so the RTL flag is not needed
there either.
2016-09-14 12:43:35 -04:00
Kartikaya Gupta
7522e70f83 Bug 1302452 - Rip out the filler view inside LayerView since we don't support older Android versions any more. r=rbarker
MozReview-Commit-ID: In4imULuo1t
2016-09-14 11:02:37 -04:00
Matthew Noorenberghe
d5c4cc5f59 Bug 1298543 - Fix test_prompt_http.html for e10s. r=Dolske
Don't actually test doorhanger notifications since they are only on the desktop browser and browser chrome tests already check them.

The Android notifyObservers additions aren't used in this patch but I added them for consistency and because we should start to use them for cross-platform tests that check if a doorhanger appears.

MozReview-Commit-ID: B5wK8oqu0h7

--HG--
rename : toolkit/components/passwordmgr/test/notification_common.js => toolkit/components/passwordmgr/test/chrome/notification_common.js
extra : rebase_source : 741f45a7dd64a1b7043040bec90bef4e5fd86c0e
2016-09-08 02:12:25 -07:00
Jan Henning
380db6505a Bug 1300647 - Part 2 - Test that the session store correctly handles the "Tab:KeepZombified" notification. r=ahunt
MozReview-Commit-ID: 2x9V4o5iPDg

--HG--
extra : rebase_source : 167366635e7fcd751acf1ed05e9a7c6532f5ad44
2016-09-10 23:01:10 +02:00
Jan Henning
d54010ee1f Bug 1300647 - Part 1 - Don't bother reloading a zombified tab if we're about to exit the app. r=ahunt
When pressing the back button reaches the beginning of session history for a tab opened from an external app, we both close the tab and send Firefox into background. Closing the tab leads to some other tab getting selected instead - if that other tab was zombified, this means that we'll then start restoring it.

This behaviour is
- visibly distracting, as that other tab will be visible for a split second while it starts reloading before Firefox finally disappears into the background
- wasteful of resources - while restoring a zombified tab is usually done from cache, at the very least we'll waste some CPU cycles reloading a tab even though we're in background

Therefore, in this situation the UI now alerts the session store that it needn't bother restoring that other tab if it's in a zombie state. Instead, we'll restore it the next time Firefox comes into foreground - if the tab is still selected by then.

MozReview-Commit-ID: 3FcjCZrJ0Ds

--HG--
extra : rebase_source : d071884dd1e78b7da470b042e244093e797dde61
2016-09-13 20:46:03 +02:00
Jan Henning
d4e73bbc69 Bug 1301016 - Part 2 - Test scroll position restoring on reader mode pages. r=ahunt
MozReview-Commit-ID: D36u8kUD67g

--HG--
extra : rebase_source : d088ab20975dd1babbe6e7e438c371923e6d7139
2016-09-11 16:03:26 +02:00
Jan Henning
eaed42e5c6 Bug 1301016 - Part 1 - Wait for custom event instead of pageshow for scroll position restoring in reader mode. r=ahunt
Some further post-processing happens after loading a page in reader mode, so the pageshow event is too early for restoring the scroll position.

The fix is to do the same thing that desktop does in bug 1153393 and wait for a custom event instead.

MozReview-Commit-ID: DuMA0JxnYEY

--HG--
extra : rebase_source : 4b24fedcea974cef4d916fc7e59768c160728b0c
2016-09-08 23:00:08 +02:00
Sebastian Hengst
d3a3614688 Backed out changeset 2b996739ade2 (bug 1302452) for failing test_group_mouseevents.html on Android. r=backout on a CLOSED TREE 2016-09-13 23:57:10 +02:00
Kartikaya Gupta
e1247cb010 Bug 1302452 - Rip out the filler view inside LayerView since we don't support older Android versions any more. r=rbarker
MozReview-Commit-ID: 5LrWNHmnUR5

--HG--
extra : rebase_source : 7e262a1c15ea014b646da70c731ec36fd9669dfb
2016-09-13 11:13:35 -04:00
Grigory Kruglov
01023ffde8 Bug 1300222 - Trigger heads-up notification mode for incoming tabs r=ahunt
MozReview-Commit-ID: JvEeWIizQVK

--HG--
extra : rebase_source : 8f4d4c5e07b3e2d3044ca8bcb7e6d00ffecbda45
2016-09-09 16:51:40 -07:00
Jan Henning
6e6cb544cc Bug 1277978 - Part 5 - Once we can access the panelStateChangeListener, use it to retrieve the cached tabs count when initialising the HistoryAdapter. r=liuche
While passing the cached tabs count to the HistoryAdapter in its constructor greatly simplifies getting the cached count into the adapter before the RecyclerView initialises, this relies on the History panel having the panelStateChangeListener available before the HistoryAdapter is created in onCreate().

MozReview-Commit-ID: 64IbAe6SaEq

--HG--
extra : rebase_source : fd6f9a4f1ca92804cd0bca4a355abf17bb784572
extra : source : cb1b540364d1846b58fb5f6ac329935d3f5201bc
2016-08-29 20:51:21 +02:00
Jan Henning
a9f09e54eb Bug 1277978 - Part 4 - Actually cache the recent tabs count when it updates. r=liuche
MozReview-Commit-ID: JUsM3qdxhIr

--HG--
extra : rebase_source : 77803ad4760a09088ce96440ef070ce7582673fe
extra : source : cbb19ca2d2454c1d4f938f96e0e34f54d93bf006
2016-09-10 13:51:35 +02:00
Jan Henning
61e7471407 Bug 1277978 - Part 3 - Allow the RecentTabsAdapter to indicate whether the tab count is reliable. r=liuche
After we've set the cached tabs count to display within the history adapter, we don't want to revise that number downwards as long as the RecentTabsAdapter hasn't yet checked all of its data sources.

MozReview-Commit-ID: BMpiaEb3kGQ

--HG--
extra : rebase_source : 433c041f1073fe8aff1b4dfc5620c4544e8478d8
extra : source : ec7d53dea918724ff888db3327186d6b09a5dfac
2016-08-20 17:49:34 +02:00
Jan Henning
077099afe5 Bug 1277978 - Part 2 - Allow saving a cached recent tabs count in BrowserApp. r=liuche
Getting the total number of recently closed tabs involves waiting for Gecko to actually send the closed tabs to the Java UI. This means that (unless there are some "Tabs from last time" present) when showing the history panel we always start out with the Recently closed folder hidden and then unhide (and animate) it once we've finally received the closed tabs.

Because this is visually distracting, we should cache the closed tabs count somewhere, so we can decide on the smart folder visibility as soon as the CombinedHistoryAdapter initialises.

MozReview-Commit-ID: 8uYCbM7eiSt

--HG--
extra : rebase_source : 1afe3c8a0f184272d5d05913ef3af8050b6e5d06
2016-08-29 20:03:12 +02:00
Jan Henning
35dc8e4b0e Bug 1277978 - Part 1 - Hide Recent Tabs smart folder if there aren't any closed tabs to be shown. r=liuche,rnewman
This involves making the number of visible smart folders dynamic, so the history adapter can properly display its contents.

MozReview-Commit-ID: 6b4V6IHB7BE

--HG--
extra : rebase_source : fc2e70f5ed0aa1961ffe464fcf67a1488f8eb91b
extra : source : 2b9260c4018b1005dea01e2b2c4548643db4264d
2016-09-04 15:16:20 +02:00
Jan Henning
329895d83a Bug 1277978 - Part 0b - Add target api annotation in BrowserApp. r=liuche
Otherwise Android Studio complains because it doesn't recognise our version switch.

MozReview-Commit-ID: 2QpD3nNSryK

--HG--
extra : rebase_source : 6b82ccf8c3fedee10688b4078882222cf231cb33
2016-08-20 16:59:59 +02:00
Jan Henning
bababef2dd Bug 1277978 - Part 0a - Fix typo. r=liuche
MozReview-Commit-ID: 50wzRmX7iTz

--HG--
extra : rebase_source : 4e93b0aca605427fa8adfe9a179bd93884a9a7c8
2016-08-16 20:42:20 +02:00
Patrick McManus
1d5bcef263 Bug 1301117 - update opportunisitic encryption r=hurley 2016-08-16 15:51:18 -04:00
Carsten "Tomcat" Book
0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
Alastor Wu
e9a55e8604 Bug 1290467 - part10 : update audio focus related control operations. r=sebastian
Except controlling audio focus from gecko, the MediaControlService can also
decide whether needs to request or abandon audio focus.

MozReview-Commit-ID: G3iSYwd24JZ

--HG--
extra : rebase_source : dd29207d8c08176cd7a57f08d3361e4f29c4095a
2016-09-09 09:51:12 +08:00
Alastor Wu
ff8012b391 Bug 1290467 - part9 : remove 'ACTION_REMOVE_CONTROL'. r=sebastian
Remove 'ACTION_REMOVE_CONTROL' because it's as same as 'ACTION_STOP'.

MozReview-Commit-ID: 6KOj8srEuJA

--HG--
extra : rebase_source : 3b92e0f3d6485af4e9be97b1423804401b1496c7
2016-09-09 09:51:10 +08:00
Alastor Wu
b9bcdbf114 Bug 1290467 - part8 : rename 'ACTION_PLAY' to 'ACTION_RESUME'. r=sebastian
'ACTION_RESUME' should be more suit for its operation.

MozReview-Commit-ID: 4FRHaydVKu5

--HG--
extra : rebase_source : 76b405bf0b7a27f2ea7f27283230df146b71ccfc
2016-09-09 09:51:08 +08:00
Alastor Wu
75c540b002 Bug 1290467 - part6 : remove redudant space. r=sebastian
remove one redudant space.

MozReview-Commit-ID: 1PdKL1EALAq

--HG--
extra : rebase_source : 20ab4fd13893b7515a8baebac3df9a06af7bb550
2016-09-09 09:50:32 +08:00
Alastor Wu
97207d40a6 Bug 1290467 - part5 : change service's life time. r=sebastian
Now the life time of the MediaControlService would be as same as the Fennec app.
To make code flow more easily, requesting/abandoning the audio focus wouldn't
affect the media control.

We would mainly communicate with the media control via TabEvents.

MozReview-Commit-ID: KT59bII0HuN

--HG--
extra : rebase_source : d8f2c810f24ef6ea72a274db2b432ca8f8876d8e
2016-09-09 09:50:30 +08:00
Alastor Wu
5c5e340476 Bug 1290467 - part4 : create helper function. r=sebastian
wrap some code into initialize() and shutdown().

MozReview-Commit-ID: AiyABlyDEME

--HG--
extra : rebase_source : e13f4d1eef46207edd9d8d8cc956c2644f3b1e38
2016-09-09 09:50:28 +08:00
Alastor Wu
8b77ea4d53 Bug 1290467 - part3 : notify MediaControlService with event 'MEDIA_PLAYING_CHANGE'. r=sebastian
The 'MEDIA_PLAYING_CHANGE' is used for controling media control interface and
the 'AUDIO_PLAYING_CHANGE' is used for showing the tab sound indicator.

MozReview-Commit-ID: 8hZjC77Ju71

--HG--
extra : rebase_source : 3699ea482e89a5c2535defce8ca2689a180d5c49
2016-09-09 09:50:25 +08:00
Wes Kocher
c067786818 Merge m-c to inbound, a=merge CLOSED TREE 2016-09-08 15:28:31 -07:00
Michael Kaply
a3ca166bf8 Bug 1298500 - Don't explicitly set the startpane pref. r=liuche 2016-09-08 14:49:19 -05:00
Wes Kocher
b916384275 Merge inbound to m-c a=merge 2016-09-08 15:21:19 -07:00
Wes Kocher
8fbe7c895b Merge fx-team to central, a=merge 2016-09-08 15:10:55 -07:00
Carsten "Tomcat" Book
e3c2ddf887 Merge mozilla-central to mozilla-inbound 2016-09-08 12:42:45 +02:00
Carsten "Tomcat" Book
f4a16a723a merge mozilla-inbound to mozilla-central a=merge 2016-09-08 12:01:17 +02:00
Arseny Malkov
56ceb6506c Bug 1295531 - Change insets of bookmark arrow to look like history arrow. r=sebastian
MozReview-Commit-ID: AVDEnNDXvXX

--HG--
extra : rebase_source : cfca38f394ae75410d2b49d08161533ebd04c1d8
2016-09-08 11:45:33 +02:00
Makoto Kato
57fc90802b Bug 1299755 - Remove updates.properties from APK. r=sebastian
updates.properties uses on Fennec/XUL.  But after bug 786380, we use native version for update service.

MozReview-Commit-ID: CREAeLdlrJH

--HG--
extra : rebase_source : 1412c541e4c4f9e7d1bb98e2466ae6cc60c062e0
extra : histedit_source : 7a431e1ed942d9766fcd690e4b01bc7774203ba7
2016-09-08 13:25:59 +09:00
Benjamin Dahse
831a288828 Bug 961335 - Add ICODecoder Robocop tests r=ahunt
MozReview-Commit-ID: 9jtcfZCjAbd

--HG--
extra : rebase_source : 4a10ebd2cf90c9173a18990682014ee2ee77432a
2016-09-07 15:28:06 -07:00
Kannan Vijayan
c06523ac3b Bug 1292639 - Ask user permission before allowing navigator.publishServer. r=mconley r=ehsan r=sebastian 2016-09-08 14:36:53 -04:00
Andrzej Hunt
00e0685ea6 Bug 1300532 - Post: Rename isEnteringReaderMode()'s parameters for more clarity r=sebastian
MozReview-Commit-ID: 7Wub31YLGyS

--HG--
extra : rebase_source : f6a820f6cf2ca030897daad2f6bf215a78d82704
2016-09-06 15:53:06 -07:00
Andrzej Hunt
9590f3241f Bug 1300532 - Ensure old and new URL are ordered correctly to show prompt when entering ReaderView r=sebastian
MozReview-Commit-ID: 4Yql0m3JV6M

--HG--
extra : rebase_source : adde15b6f061c6ca64021416e7d6b09c35e2b301
2016-09-06 15:52:09 -07:00
Wes Kocher
ac33516b3c Merge m-c to autoland, a=merge 2016-09-07 18:07:50 -07:00
Wes Kocher
5cbc382303 Merge inbound to m-c a=merge 2016-09-07 17:54:24 -07:00
Carsten "Tomcat" Book
7c6c7db247 Merge mozilla-central to autoland 2016-09-07 17:26:11 +02:00
Carsten "Tomcat" Book
1c61ba654e merge mozilla-inbound to mozilla-central a=merge 2016-09-07 17:20:12 +02:00
Kannan Vijayan
f671b30c0f Backout cbe18f181112 for crashes - bug 1292639 2016-09-07 13:43:40 -04:00
Carsten "Tomcat" Book
d98e95abb8 Merge mozilla-central to autoland 2016-09-08 12:51:52 +02:00
Matthew Wein
cfad685755 Bug 1298178 - Support mozAddonManager on Fennec by importing amWebAPI.js r=rhelmer
MozReview-Commit-ID: GoaYn7oJYAF

--HG--
extra : rebase_source : 3976cf2f2210e4a5c989a806e6f863ec9782547e
2016-09-01 20:50:05 +01:00
Ralph Giles
186cacb131 Bug 1296403 - Update tooltool rustc to 1.11.0. r=mshal
Repacks of upstream builds of rust 1.11.0 stable with std libraries
for the appropriate targets. Remove the separate rust-std package
references since the new repacks include the necessary targets.

Also update clang and hazard builds to the latest toolchain.

MozReview-Commit-ID: K7oBxQZnLPu

--HG--
extra : rebase_source : 9f339ff52e9e2f6c28d4bb7a734b9f0eae43a47a
2016-09-06 13:09:56 -07:00
Andrzej Hunt
ceca466475 Bug 1299524 - Disable FaviconView corner rounding in Activity Stream topsites r=sebastian
We use the FaviconView to fill the majority of the card (i.e. full width, and approx 75% of the height)
- in that scenario rounding the corners looks odd.

MozReview-Commit-ID: 1e5HAwfcV5

--HG--
extra : rebase_source : e6c5168025e1ac3ad941e8fd6207960b37442373
2016-09-06 10:48:26 -07:00
Andrzej Hunt
0bee5d51ae Bug 1299524 - Allow disabling FaviconView corner rounding via enableRoundCorners attribute r=sebastian
MozReview-Commit-ID: 1qtt7xlTsHP

--HG--
extra : rebase_source : e24982d035fb3357eb1efd4a5952b968eb7af3dd
2016-09-06 10:46:47 -07:00
Sebastian Kaspari
a5a657d556 Bug 1300543 - IconDownloader: Use final keyword where appropriate. r=ahunt
MozReview-Commit-ID: DhWIRPZf7rg

--HG--
extra : rebase_source : 797987c944e445a4ea7e00a2373c83c2003c0c1a
2016-09-06 13:58:35 +02:00
Sebastian Kaspari
58d250abaa Bug 1300543 - IconDownloader.downloadAndDecodeImage(): Correctly assign and close stream. r=ahunt
MozReview-Commit-ID: CYEOCCpraOr

--HG--
extra : rebase_source : f0e05c79c531857d73ca5aea3f1dbabedeed6e23
2016-09-06 13:53:02 +02:00
Sebastian Kaspari
10fdd6498e Bug 1300543 - Use palette library instead of BitmapUtils.getDominantColor(). r=ahunt
MozReview-Commit-ID: LTwarAG5NNm

--HG--
extra : rebase_source : 44165c8f04cc5888147c7b6e0f0996f64f99f810
2016-09-06 10:05:32 +02:00
Sebastian Kaspari
e730285a31 Bug 1300543 - FilterMimeTypes: Continue to filter mime types if one of them is empty. r=ahunt
MozReview-Commit-ID: GRFANWF1L2m

--HG--
extra : rebase_source : b4993fdfc01f04397de6c5a2d2729b4de023ce5f
2016-09-05 17:37:13 +02:00
Sebastian Kaspari
f0847016ce Bug 1300543 - LegacyLoader: Only load if there's one icon URL left. r=ahunt
Let's try to load from the legacy loader only if there's one icon left and
the other loads have failed. We will ignore the icon URL anyways and try to
receive the legacy icon URL from the database.

MozReview-Commit-ID: Kr7gHXBuAs7

--HG--
extra : rebase_source : 7fbdd507fa2c0a9aa4223db1da6aa5fbc1aa4907
2016-09-05 16:44:33 +02:00
Sebastian Kaspari
80177742b4 Bug 1300543 - LegacyLoader: Skip loading from legacy storage if network download is permitted. r=ahunt
If we are allowed to load the icon from the network then skip loading from the legacy storage and just
load a fresh icon. This will avoid touching the legacy storage (disk) every time before downloading an
icon.

MozReview-Commit-ID: C9hYqISno6U

--HG--
extra : rebase_source : 6f19839c38d37916deb351b3e080e023e532a83f
2016-09-05 15:38:27 +02:00
Sebastian Kaspari
87a7500078 Bug 1300543 - IconRequestExecutor: Resize image before extracting color. r=ahunt
Running the color extraction algorithm on a smaller image will be much faster.

MozReview-Commit-ID: A42rzuQ3FDQ

--HG--
extra : rebase_source : 560e5e1a6711d8f34f12803e5aabf4f09e769706
2016-09-05 15:25:25 +02:00
Sebastian Kaspari
2df61cba23 Bug 1300543 - IconRequestExecutor: Add custom thread pool executor and thread factory. r=ahunt
The custom executor behaves like the one returned by Executors.newSingleThreadExecutor().
However the created thread will have a unique name ("GeckoIconTask") and this will make
tracing the thread much easier.

MozReview-Commit-ID: 7y0EMGmNLkG

--HG--
extra : rebase_source : 517d329df12ff101816c3a3f8e27f28aeffb6821
2016-09-05 15:24:07 +02:00
Andrzej Hunt
b79a5e8eec Bug 1298968 - Add comment explaining why TOPSITES is handled outside of switch r=sebastian
MozReview-Commit-ID: BFvz2qTm4vL

--HG--
extra : rebase_source : 8d4e77baf5c629c0d16f97c7135fd4c85bf5a5b5
2016-09-06 10:06:58 -07:00
Jan Henning
6afa573825 Bug 1299576 - Part 2 - Cancel edit mode when restoring a recently closed tab. r=sebastian
When restoring a recently closed tab from the corresponding home panel, we normally directly switch to the freshly recreated tab. However if we've entered the home panels through editing mode (as opposed to opening a new tab with about:home), editing mode takes priority and the restored tab is opened in background instead, because we return to the originally selected tab when exiting editing mode.

To fix this inconsistency, we introduce a new parameter for opening tabs from Gecko that cancels editing mode if necessary to allow for directly switching to the new tab.

MozReview-Commit-ID: 4iqPISmtNIx

--HG--
extra : rebase_source : fab9dc911171deef1a984bd96993287d146b370a
2016-09-02 20:43:08 +02:00
Jan Henning
eefcf19c49 Bug 1299576 - Part 1 - Refactor BrowserApp's handleMessage to use a switch statement. r=sebastian
So much nicer than a chain of else ifs.

MozReview-Commit-ID: FbEtD4Odet1

--HG--
extra : rebase_source : 3083434348bdfdfd2e30a5dac212a1993cf40d25
2016-09-02 19:02:16 +02:00
Wes Kocher
819bc41348 Merge m-c to autoland, a=merge 2016-09-08 15:29:04 -07:00
Grigory Kruglov
a582ffa65a Bug 1300230 - Queue up incoming FxA push messages until FxAccountsPush is ready r=nalexander
MozReview-Commit-ID: 8BP7eWfdXte

--HG--
extra : rebase_source : a5ff5fdb848796f17389632c2ea479088098aea7
2016-09-08 14:15:34 -07:00
Sebastian Kaspari
479c995830 Bug 1280112 - LauncherActivity: Remove task flags from incoming intent. r=ahunt
MozReview-Commit-ID: 8ufNtiMc1sj

--HG--
extra : rebase_source : afa106835f508b809294a4af096893ea87980851
2016-09-06 17:58:46 +02:00
John Lin
077d1abae1 Bug 1297307 - Add extra video duration element for EOS sample. r=snorp
MozReview-Commit-ID: 4QUTABCNT06

--HG--
extra : rebase_source : db9a186de79d9fe6a307ffb125f980609224dfdc
2016-08-30 17:40:49 +08:00
Farmer Tseng
480caffe1a Bug 846203 - the user activity timer will be reset when the Wakelock is released(for Android). r=snorp
MozReview-Commit-ID: 8GN81YzNjGM

--HG--
extra : rebase_source : 95477c1560d1969b70d4feb8fe1e878dd7d4a9fe
2016-09-05 16:52:18 +08:00
Thomas Wisniewski
2b28c5e2a9 Bug 1069012 - Unprefix ::placeholder pseudo-element. r=bz 2016-09-07 19:38:38 -04:00
Wes Kocher
1989131fea Merge m-c to inbound, a=merge 2016-09-07 18:07:21 -07:00
Zero One
4473369471 Bug 1292191 - Remove unneccesary check for mShouldRestore. r=mkaply
MozReview-Commit-ID: 3amKuifhpfu

--HG--
extra : rebase_source : a4b31adc09f9f685dccdbebe63ba8a9ae30acd8c
2016-09-07 16:35:26 -05:00
Sylvestre Ledru
b542b9b41a Bug 1292595 - finalize() should be protected in NativeZip r=?sebastian
MozReview-Commit-ID: JFZCfMM6GAk

--HG--
extra : rebase_source : 12f41b06b5a11056d3345a05bdb9c83a079765fd
2016-08-05 17:43:07 +02:00
Sebastian Kaspari
9b9a3bee93 Bug 1300569 - Add palette-v7 support library to build. r=ahunt
MozReview-Commit-ID: F29cOyHsd8B

--HG--
extra : rebase_source : 0c568158a20ae34687b135ce414ccfb5f710d228
2016-09-06 08:39:16 +02:00
Sebastian Kaspari
3cf54d8f48 Bug 1300155 - IconTask: Disable debug logging. r=ahunt
MozReview-Commit-ID: 51pYsDqicNS

--HG--
extra : rebase_source : 5e8912d87f18bdcf9af48ba07e9dfe121a82c92f
2016-09-05 10:32:07 +02:00
Sebastian Kaspari
cde95c1b07 Bug 1300484 - IconResponse: Throw if bitmap is null. r=ahunt
This will crash later anyways but throwing here will allow us to identify code
that creates a response with a null bitmap (This shouldn't happen).

MozReview-Commit-ID: LJMSsW51eXo

--HG--
extra : rebase_source : 22eefdc5ba28d36142b663c03f376045fcc542fd
2016-09-05 11:46:27 +02:00
Sebastian Kaspari
c3c4c19eb4 Bug 1300484 - IconDownloader: Check if best bitmap is not null. r=ahunt
MozReview-Commit-ID: 7A1u6EefKt9

--HG--
extra : rebase_source : 36334c8dd49dcdbdf3f34edc633604d058112fb1
2016-09-05 11:43:00 +02:00
Sebastian Kaspari
14c8e61696 Bug 1300485 - DiskStorage: Re-open cache if it is closed (after clearing). r=ahunt
MozReview-Commit-ID: GX3q4YtRsDw

--HG--
extra : rebase_source : 706671be294f2a216d2932d09507abcbafcc2419
2016-09-05 11:21:21 +02:00
Julian_Chu
f9a272b954 Bug 1296748 - Do not unregister if target does not exist; r=jchen
in create(), only register listener if anchorHandle exits.
in opposite side, only unregister listener in same condition.

MozReview-Commit-ID: HHN23YcmwS

--HG--
extra : rebase_source : bdaa3e7b2a56e8e8d6a7776ff7caf3581e99ff09
2016-08-29 23:56:41 +09:00
Phil Ringnalda
3786ab03f1 Merge m-c to f-t 2016-09-05 17:05:44 -07:00
Phil Ringnalda
66b3a90750 Merge m-i to m-c, a=merge 2016-09-05 13:05:52 -07:00
Andrzej Hunt
9e859c42fc Bug 1297117 - Add documentation to stripAboutReaderUrl r=sebastian
MozReview-Commit-ID: Ibzhnk7LLmh

--HG--
extra : histedit_source : f8460143a4c00238defb68774e96ac99150779aa
2016-09-02 12:35:47 -07:00