Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Michael Comella 458585db53 Bug 1301718: Add StreamPageIconLayout. r=liuche
This will be used by highlights, top sites, and the AS bottom sheet to set
their icons.

I chose to use centerCrop, over centerInside, because the mocks look like they
chose to do a center crop scale pattern:
https://mozilla.invisionapp.com/share/5JCHCGXPG#/screens/224085516

To my reviewer: some of this code comes from the next commit, where it is moved
from the Highlights code to this file.

MozReview-Commit-ID: 8rtTpjW8noL

--HG--
extra : rebase_source : e0cd3213174d6cd6f42fa84e41fe7335049b6d97
2017-08-04 17:36:02 -07:00
.cargo
.vscode Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps 2017-07-03 21:55:07 +03:00
accessible Bug 1388004 - part1: Make nsContentUtils::GetHTMLEditor() return HTMLEditor* rather than nsIEditor* r=smaug 2017-08-07 16:33:59 +09:00
addon-sdk Bug 1389469 - Remove unreferenced SDK modules. r=kmag 2017-08-11 21:44:09 +09:00
browser Backed out 2 changesets (bug 1385351) for failures in browser_startup_images.js a=backout 2017-08-14 15:21:42 -07:00
build Bug 1385381 - Detect and expose Python 3 to the build system; r=chmanchester 2017-07-27 21:19:25 -07:00
caps Bug 1387805 - Remove [deprecated] nsIScriptSecurityManager.getCodebasePrincipal(). r=bz 2017-08-06 15:31:31 +09:00
chrome Bug 1322874 - Get rid of nsIURI.originCharset. r=valentin.gosu 2017-08-02 20:43:30 +09:00
config Bug 1386371 - Disable LTO by default, but enable in automation. r=froydnj 2017-08-10 11:38:10 -07:00
db Bug 1371364 - Upgrade to SQLite 3.19.3. r=mak 2017-06-08 15:23:34 -04:00
devtools Bug 1390181 - import bundles from devtools-source-map 0.11.0; r=bgrins 2017-08-14 11:19:11 -06:00
docshell Bug 1387184 - Remove nsIDOMHTMLEmbedElement; r=bz 2017-08-09 12:05:08 -07:00
dom bug 1389638 use correct input elements for summing squares of trailing unaligned input r=dminor 2017-08-11 23:42:46 +12:00
editor Bug 1388001 - part3: Remove nsIEditor argument of nsIHTMLDocument::TearingDownEditor() since it's unused r=smaug 2017-08-07 14:25:52 +09:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Merge m-c to inbound, a=merge 2017-08-11 13:25:37 -07:00
gfx Bug 1378944 - Stop running some APZ mochitests with chaos mode since it causes sandbox failures and doesn't provide much value. r=jld 2017-08-14 17:33:37 -04:00
gradle/wrapper
hal Bug 1382955 (part 3) - Remove a bunch of unused HAL stuff. r=gsvelto,kanru. 2017-08-02 10:09:32 +10:00
image Bug 1387514: Upgrade BaseRect (derived classes) width and height direct member variable use to instead use Width()/SetWidth() and Height()/SetHeight() in image/*. r=aosmond 2017-08-14 08:29:56 -04:00
intl merge mozilla-inbound to mozilla-central a=merge 2017-08-09 11:37:08 +02:00
ipc Merge inbound to central, a=merge 2017-08-11 13:15:33 -07:00
js merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-08-14 11:57:21 +02:00
layout Bug 1323320 - Skip displayport size assertions when getting the displayport for visibility testing. r=tnikkel 2017-08-14 14:29:20 -04:00
media Merge inbound to central, a=merge 2017-08-11 13:15:33 -07:00
memory Bug 1387956 - Overhaul ComputedValues measurement, and add style structs measurement. r=bholley. 2017-08-11 16:37:33 +10:00
mfbt Bug 1387002 - Replace .size() by .empty() when applicable in mfbt r=froydnj 2017-08-03 12:07:07 +02:00
mobile Bug 1301718: Add StreamPageIconLayout. r=liuche 2017-08-04 17:36:02 -07:00
modules Bug 1351148 Part12: Disable input event queue until related bugs are fixed. r=smaug. 2017-08-08 10:48:49 +08:00
mozglue Bug 1388807 - fix StackWalk.h documentation; r=keeler 2017-08-11 15:15:31 -04:00
netwerk Bug 1389738 - Remove @deprecated nsIHttpEventSink. r=mcmanus 2017-08-12 18:26:23 +09:00
nsprpub UPGRADE_NSPR_RELEASE This is a temporary change to the nspr code in mozilla-central. We believe we have identified a fix to TCP Fast open feature crashes. We would like to verify the fix before making changes in nspr and investing time in doing a proper fix in nspr. The issue has been discussed over e-mails and this push is justifiable before commiitting changes to nspr. Overwriting this push by a new nspr release will not break mozilla-central it will only disable the TCP fast open feature. Patch has been reviewed in bug 1384633. r=mcmanus r=:kaie: r=mayhemer a=jduell a=mcmanus 2017-08-10 23:25:31 +02:00
other-licenses Bug 1369255 - Part 1: Add a prompt in the stub installer for running profile cleanup. r=rstrong 2017-07-12 10:29:38 -07:00
parser Backed out changeset 5b706cd241cb (bug 483155) for Valgrind failure on Linux x64 opt. r=backout 2017-08-11 10:48:10 +02:00
probes Bug 1344878 - add BUG_COMPONENT to probes/* files. r=Ms2ger 2017-03-24 09:50:48 -04:00
python Bug 1385381 - Detect and expose Python 3 to the build system; r=chmanchester 2017-07-27 21:19:25 -07:00
rdf Backed out 2 changesets (bug 1386103) for Android x86 build bustage 2017-08-08 22:08:54 -07:00
security No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2017-08-13 09:49:25 -07:00
services Bug 1389717 - Ensure `HistoryStore#changeItemID` waits for `fetchURLInfoForGuid`. r=markh,tcsc 2017-08-11 19:08:04 -07:00
servo servo: Merge #18074 - Enqueue attribute changed callback when replacing attr (from cbrewster:set_attr_node); r=jdm 2017-08-14 16:44:22 -05:00
startupcache Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj 2017-08-08 14:41:09 -07:00
storage Bug 1388584 - Part 1: Bind ATTACH DATABASE path argument. r=adw r=markh a=Aryx 2017-08-12 02:33:09 -04:00
taskcluster Bug 1388407 - Fix timeouts in action-task graph submission r=dustin 2017-08-11 15:31:43 -07:00
testing Bug 1387828 - Reinstate support for initKeyboardEvent; r=smaug 2017-08-06 16:52:39 +03:00
third_party No bug - Revendor rust dependencies 2017-08-09 22:23:21 +00:00
toolkit Backed out 2 changesets (bug 1385351) for failures in browser_startup_images.js a=backout 2017-08-14 15:21:42 -07:00
tools Bug 1387555 - [mozlint] Make use of quickfix when using --edit with vim/nvim, r=dylan 2017-08-09 10:03:02 -04:00
uriloader Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj 2017-08-08 14:41:09 -07:00
view Backed out changeset 497dbf087ad5 (add diagnostic asserts) (bug 1354933) 2017-07-07 14:54:55 -05:00
widget Bug 1387514: Upgrade BaseRect (derived classes) width and height direct member variable use to instead use Width()/SetWidth() and Height()/SetHeight() in image/*. r=aosmond 2017-08-14 08:29:56 -04:00
xpcom Bug 1389702 - Remove MOZ_DEPRECATED. r=froydnj 2017-08-13 21:00:10 +09:00
xpfe Backed out changeset 685802013f43 (bug 1389460) for OS X bustage at widget/cocoa/nsMenuX.mm:364: no member named 'DispatchDOMEvent' in 'nsIContent'. r=backout 2017-08-11 17:46:42 +02:00
.clang-format Backed out changeset b14cbbf5256a (bug 1378250) on request from sylvestre 2017-07-05 16:55:27 +02:00
.clang-format-ignore Bug 1374730 - Follow-up to update some non-code mentions of webrender_traits to webrender_api. r=me and DONTBUILD 2017-07-26 09:56:52 -04:00
.clang-tidy
.cron.yml Backed out 7 changesets (bug 1387862) for yaml linting failures. 2017-08-09 21:31:30 -04:00
.eslintignore Bug 1386684 - Enable ESLint for toolkit/components/url-classifier (automatic fixes). r=hchang 2017-08-02 16:12:07 +01:00
.eslintrc.js Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop 2017-04-25 20:12:21 +01:00
.flake8 Bug 1288432 - Use new mozlint configuration for flake8 linter, r=bc 2017-06-02 09:46:01 -04:00
.gdbinit
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1382304: hg/gitignore captures/ dir. r=nalexander 2017-07-19 11:08:06 -07:00
.hgignore Bug 1382304: hg/gitignore captures/ dir. r=nalexander 2017-07-19 11:08:06 -07:00
.hgtags No bug - Tagging mozilla-central 320642944e42a889db13c6c55b404e32319d4de6 with FIREFOX_BETA_56_BASE a=release DONTBUILD CLOSED TREE 2017-08-02 08:35:53 +01:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.taskcluster.yml Bug 1328727: revert to --base-repository=https://hg.mozilla.org/mozilla-central; r=gps 2017-07-25 01:26:41 +00:00
.ycm_extra_conf.py
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
Android.mk
CLOBBER Bug 1340910 - pt 2+3 - Import Brotli 0.6.0 from upstream, and Gecko updates required to work with Brotli 0.6.0 API changes. r=glandium 2017-08-09 11:45:39 +01:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1382502 - Enable sccache on PGO builds. r=ted 2017-07-20 11:31:14 +09:00
README.txt
aclocal.m4 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
build.gradle Bug 1255227 - Part 1: Stop using deprecated android-sdk-manager Gradle plugin. r=sebastian 2017-07-18 09:46:09 -07:00
client.mk Bug 1382511 - Add --output-sync=line to MOZ_MAKE_FLAGS where available. r=glandium 2017-07-25 17:23:25 -07:00
client.py
configure.in
configure.py
gradle.properties
gradlew
mach
moz.build bug 1370176, generic configuration for l10n, r=flod,gps 2017-06-05 10:28:33 +02:00
moz.configure Bug 1385380 - Detect watchman more resiliently; r=glandium 2017-07-28 16:11:22 -07:00
mozilla-config.h.in Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
npm-shrinkwrap.json Bug 1388215 - Fix broken browser.js after merge. r=bustage-fix on a CLOSED TREE 2017-08-10 18:23:23 +02:00
old-configure.in Bug 1386825 - Part 5: Remove MOZ_B2G from configure. r=glandium 2017-08-08 14:41:11 -07:00
package.json Bug 1380956 - List only the directly required dependencies for ESLint in the top-level package.json. r=ahal 2017-07-14 12:21:54 +01:00
settings.gradle Backed out 2 changesets (bug 1355625) for causing bustage a=backout 2017-06-22 12:05:56 -07:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/