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
Перейти к файлу
MaximilianDauner 76d07ca4c5 servo: Merge #20404 - GamepadButtonList::sync_from_vr should use more iterators #20392 (from MaximilianDauner:issue_20392); r=jdm
<!-- Please describe your changes on the following line: -->
Used the zip function instead of iterating over both vectors with an indexing variable and using unwrap.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #20392(github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it says in the issue description no need for tests
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 5a432eaad33f36591f62c3d2671ffd9956be3594

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4aa46a5256c0be438435e5f72af0f2b3468fd97e
2018-03-23 23:15:51 -04:00
.cargo
.vscode
accessible Bug 1431256 correction: AccessibleHandler: Really return E_NOINTERFACE for IEnumVARIANT if there are no children. r=MarcoZ 2018-03-22 17:57:34 -04:00
browser Backed out changeset 6fbbb00841e4 (bug 1423757) for failing browser_ext_themes_toolbar_fields_focus.js 2018-03-24 01:49:13 +02:00
build Merge inbound to mozilla-central. a=merge 2018-03-21 00:24:33 +02:00
caps Bug 1442239 - Make URI deserialization (nsISerializable.read) happen via nsIURIMutator only r=mayhemer 2018-03-19 20:22:32 +01:00
chrome Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
config Bug 1429875 - Implement OBJ_SUFFIX overriding for the profile generation phase on linux in mozbuild. r=glandium 2018-03-20 16:44:12 -07:00
db Bug 1442370 - Change SQLITE_TEMP_FILE_PREFIX to a Mozilla unique value. r=asuth 2018-03-01 20:55:18 +01:00
devtools Merge inbound to mozilla-central. a=merge 2018-03-24 00:00:40 +02:00
docshell Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor 2018-03-21 17:39:04 -04:00
dom Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-24 00:06:17 +02:00
editor Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
embedding
extensions Bug 1446711 part 5. Get rid of nsIDOMMouseEvent::GetButton. r=qdot 2018-03-20 00:16:06 -04:00
gfx Backed out 2 changesets (bug 1446108) for build bustages on build\src\obj-firefox\dist\include\mozilla/Alignment.h(29) CLOSED TREE 2018-03-23 18:44:07 +02:00
gradle/wrapper
hal Bug 1447873 - Remove Time API backend in hal. r=gsvelto 2018-03-22 10:46:42 +09:00
image Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj 2018-03-13 14:51:33 +01:00
intl Bug 1447189 - Support BCP47 private use subtags in MozLocale. r=jfkthame 2018-03-22 15:19:15 -07:00
ipc Bug 1448053 - be more efficient in MessageChannel::RepostAllMessages; r=jld 2018-03-23 09:40:53 -04:00
js Merge inbound to mozilla-central. a=merge 2018-03-24 00:00:40 +02:00
layout Backed out 2 changesets (bug 1446108) for build bustages on build\src\obj-firefox\dist\include\mozilla/Alignment.h(29) CLOSED TREE 2018-03-23 18:44:07 +02:00
media Backed out 3 changesets (bug 1446233) for permafailing on dom/media/tests/mochitest/test_peerConnection_replaceTrack.html. a=backout 2018-03-23 15:18:23 +02:00
memory Bug 1447795 - Add some more UseItOrLoseIt to SmokeDMD.cpp. r=njn 2018-03-21 13:52:00 +02:00
mfbt Bug 1446592 - Update our local double_conversion to tip. Also remove one local patch as unnecessary as of MSVC 2010, hacking around prior versions' lack of <stdint.h> support. r=froydnj 2018-03-16 20:25:17 -07:00
mobile Merge m-c to inbound. a=merge 2018-03-22 19:44:23 -04:00
modules Backed out 3 changesets (bug 1446233) for permafailing on dom/media/tests/mochitest/test_peerConnection_replaceTrack.html. a=backout 2018-03-23 15:18:23 +02:00
mozglue Bug 1446680 - Restrict WindowsDllBlocklist's gStartAddressesToBlock to Nightly builds. r=aklotz 2018-03-17 21:14:18 +01:00
netwerk Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-23 01:00:18 +02:00
nsprpub Bug 1432480, land NSPR_4_19_RTM, no code changes, only version numbers. Require version 4.19 for building. r=me 2018-03-05 17:05:18 +01:00
other-licenses
parser Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor 2018-03-21 17:39:04 -04:00
python Merge inbound to mozilla-central. a=merge 2018-03-23 00:53:07 +02:00
rdf Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan 2018-03-16 14:29:15 +01:00
security Bug 1445731 - land NSS 1bde21f90bd1 UPGRADE_NSS_RELEASE, r=me 2018-03-22 14:40:30 -07:00
services Merge inbound to mozilla-central. a=merge 2018-03-22 01:46:39 +02:00
servo servo: Merge #20404 - GamepadButtonList::sync_from_vr should use more iterators #20392 (from MaximilianDauner:issue_20392); r=jdm 2018-03-23 23:15:51 -04:00
startupcache Bug 1439047 - Part 2: Cleanup StartupCache::PutBuffer hashtable usage. r=froydnj 2018-02-16 15:58:30 -08:00
storage Bug 1435446 - Add a default transaction type for storage connections. r=mak 2018-02-28 22:44:40 -08:00
taskcluster Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-23 01:00:18 +02:00
testing Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-24 00:06:17 +02:00
third_party No bug - Revendor rust dependencies 2018-03-21 19:17:05 +00:00
toolkit Backed out changeset 6fbbb00841e4 (bug 1423757) for failing browser_ext_themes_toolbar_fields_focus.js 2018-03-24 01:49:13 +02:00
tools Bug 1448382 - Add js/src/vtune/ to the ThirdPartyPaths and .clang-format-ignore. r=sylvestre 2018-03-23 21:38:55 +02:00
uriloader Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
view
widget Backed out changeset b4f1e88f8b6e (bug 1447196) for 2 failures in dom/events/test/pointerevents/test_bug1303704.html 2018-03-23 05:37:20 +02:00
xpcom Merge inbound to mozilla-central. a=merge 2018-03-23 11:51:38 +02:00
xpfe Backed out changeset becfb5f6388d (bug 1447875) for failing browser chrome at browser/base/content/test/performance/browser_windowopen_reflows.js on a CLOSED TREE 2018-03-22 08:54:03 +02:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1448382 - Add js/src/vtune/ to the ThirdPartyPaths and .clang-format-ignore. r=sylvestre 2018-03-23 21:38:55 +02:00
.cron.yml
.eslintignore Bug 1444926 - Move devtools/shim to devtools/startup;r=ochameau 2018-03-12 14:41:48 +01:00
.eslintrc.js Bug 1434446 - Enable no-unused-vars for global scope on jsm files in browser/. r=mossop 2018-03-01 20:06:06 +00:00
.flake8
.gdbinit
.gdbinit_python
.gitignore Bug 1439727 - Ignore third_party/python/psutil/tmp/ in VCS; r=nalexander 2018-03-07 08:59:48 -08:00
.hgignore Bug 1439727 - Ignore third_party/python/psutil/tmp/ in VCS; r=nalexander 2018-03-07 08:59:48 -08:00
.hgtags No bug - Tagging mozilla-central fdd1a0082c71673239fc2f3a6a93de889c07a1be with FIREFOX_NIGHTLY_60_END a=release DONTBUILD CLOSED TREE 2018-03-12 13:18:08 +00:00
.inferconfig
.lldbinit
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Bug 1445524 - Always embed ICU data directly into the library, not storing it in a separate file in the file system. r=ted 2018-03-19 20:33:48 -07:00
Cargo.lock Backed out 3 changesets (bug 1446233) for permafailing on dom/media/tests/mochitest/test_peerConnection_replaceTrack.html. a=backout 2018-03-23 15:18:23 +02:00
Cargo.toml Bug 1444174 - point people away from Cargo.toml for opt-level settings of Rust code; r=nalexander 2018-03-09 09:31:17 -05:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1445398 - Do not re-generate buildid.h for every Tup build. r=mshal 2018-03-22 16:03:12 -07:00
README.txt
aclocal.m4
build.gradle Bug 1447734 - Specify Google Play Services library version in Gradle r=nalexander 2018-03-22 14:35:38 -05:00
client.mk
client.py
configure.in
configure.py
gradle.properties
gradlew
mach
moz.build Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj 2018-03-14 21:44:46 +01:00
moz.configure
mozilla-config.h.in
npm-shrinkwrap.json Bug 1443093 - Update eslint-plugin-no-unsanitized to 3.0.0 / eslint to 4.18.2. r=mossop 2018-03-05 10:34:38 +00:00
old-configure.in Bug 1446270 - Android/arm target should turn on crash reporter as default. r=froydnj 2018-03-16 16:38:14 +09:00
package.json Bug 1443093 - Update eslint-plugin-no-unsanitized to 3.0.0 / eslint to 4.18.2. r=mossop 2018-03-05 10:34:38 +00:00
settings.gradle
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/