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
Go to file
Gerald Squelart 41c580344f Bug 1572027 - Make BlocksRingBuffer::EntryReader move-only - r=gregtatum
After some bad experiences, I think EntryReader should be move-only:
- It needs to be moveable so it can be created from a function, and move-
  constructed into a Maybe<> if needed.
- It can be passed around as a reference.

Previously, it could be passed by value, but it was too easy to create bugs,
e.g.: A function delegates to a sub-function to read something at the beginning,
then the first function wants to read more past that, but if the reader was
passed by value the first function would not see past what the sub-function did
read.

As a bonus, `mRing` can now be a reference instead of a pointer, and other
members can be const.

Differential Revision: https://phabricator.services.mozilla.com/D40958

--HG--
extra : moz-landing-system : lando
2019-08-07 21:33:09 +00:00
.cargo Bug 1571464: Bump Cranelift to c927680fd42a56efcc9a5ee59e814d9eef6c5b4f; r=jseward 2019-08-07 14:20:48 +00:00
.vscode Bug 1563848 - Recommend a VSCode plugin for prettier. r=vporof 2019-07-06 07:33:28 +00:00
accessible Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
browser Bug 1555233 - Update browser_trackingUI_categories.js test for blocking/not-blocking UI split. r=johannh 2019-08-07 22:21:03 +00:00
build Bug 1473498 - More support for py3. r=firefox-build-system-reviewers,mshal 2019-08-06 21:26:54 +00:00
caps Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
chrome Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
config Bug 1572046 - Build shared libraries in a separate target. r=nalexander 2019-08-07 22:50:14 +00:00
devtools Bug 1172572 - teach debugger to step into calls at the beginning of statements (part 2). r=loganfsmyth 2019-08-07 22:22:42 +00:00
docshell Bug 1571063 - Simplify BrowsingContext field sync logic, r=farre 2019-08-07 17:07:19 +00:00
dom Bug 1570151 - WebXR: Implement VRManagerEventObserver r=imanol 2019-08-07 08:29:32 +00:00
editor Bug 1571621 - Convert VarCache prefs in HTMLEditor.cpp to static prefs. r=masayuki 2019-08-06 08:49:32 +00:00
extensions Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
gfx Backed out changeset 87890c29a8ea (bug 1570230) for crashes on mozilla::gfx::VRShMem::CreateShMem(bool) . CLOSED TREE 2019-08-08 01:19:51 +03:00
gradle/wrapper Bug 1522795 - Update android gradle plugin to 3.4.2. r=nalexander 2019-07-24 18:48:54 +00:00
hal Bug 1289211 - Rename InfallibleTArray to nsTArray in hal/ r=gsvelto 2019-07-10 03:30:52 +00:00
image Bug 1558915 - Use infallible nsIURI::SchemeIs in image/ r=tnikkel 2019-08-03 09:44:12 +00:00
intl Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod 2019-08-02 16:07:44 +00:00
ipc Bug 1571875: Part 2 - Change over all existing static local uses of DynamicallyLinkedFunctionPtr to use StaticDynamicallyLinkedFunctionPtr instead; r=mhowell 2019-08-07 15:58:09 +00:00
js Bug 1564168 - [jsdbg2] Debugger.prototype.enabled should be removed. 2019-08-07 20:45:46 +00:00
layout Bug 1569252 Part 2 - Let mHasColumnSpanSiblings propagate to all the continuations. r=dbaron 2019-08-07 20:20:25 +00:00
media Bug 1570673 - Add an active state to VideoFrameConverter and propagate it from MediaPipeline. r=bwc 2019-08-05 18:00:48 +00:00
memory Bug 1571505 - Properly add dbghelp where needed. r=nalexander 2019-08-06 18:14:12 +00:00
mfbt Bug 1570725 - Show type of assertion in crashreporter MozCrashReason, r=froydnj 2019-08-06 20:33:34 +00:00
mobile Bug 1570661 - Don't save GeckoView state in Fennec r=geckoview-reviewers,droeh 2019-08-07 14:54:46 +00:00
modules Bug 1571934 - Remove redundant security.tls.enable_0rtt_data definition. r=mbirghan 2019-08-07 17:35:33 +00:00
mozglue Bug 1572027 - Make BlocksRingBuffer::EntryReader move-only - r=gregtatum 2019-08-07 21:33:09 +00:00
netwerk Bug 1572082 - Remove unused params in HttpChannelOpenArgs r=kershaw 2019-08-07 13:47:03 +00:00
nsprpub Bug 1562330 - Upgrade Firefox 70 to NSPR 4.22 beta1. r=me 2019-07-09 17:40:27 +02:00
other-licenses Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium 2019-07-11 16:40:13 +00:00
parser Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
python Bug 1572046 - Build shared libraries in a separate target. r=nalexander 2019-08-07 22:50:14 +00:00
remote bug 1570378: remote: add bc test helper setup() for empty documents r=remote-protocol-reviewers,jdescottes 2019-08-05 11:43:58 +00:00
security Bug 1571934 - Inline security-prefs.js into all.js. r=keeler 2019-08-07 17:41:22 +00:00
services Bug 1568353 - set the default rest.js timeout to be 5 minutes. r=rfkelly 2019-08-07 05:25:49 +00:00
servo Bug 1563555 - Use static_prefs::pref! in Stylo. r=emilio 2019-08-07 22:58:55 +00:00
startupcache Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
storage Bug 1567739 - Stop using deprecated rust libc integer types in storage_variant and kvstore. r=lina 2019-07-23 00:13:43 +00:00
taskcluster Bug 1571769 - [marionette] Enable Mn jobs with Fission enabled on try. r=ahal 2019-08-07 20:27:56 +00:00
testing Bug 1571659 - [marionette] Explain why certain flags for drawWindow() cannot be used right now. r=webdriver-reviewers,jgraham 2019-08-07 21:00:58 +00:00
third_party Bug 1571464: Bump Cranelift to c927680fd42a56efcc9a5ee59e814d9eef6c5b4f; r=jseward 2019-08-07 14:20:48 +00:00
toolkit Bug 1569135 Fix --screenshot r=kmag 2019-08-07 21:33:49 +00:00
tools Bug 1571348 - ProfilerMarkerPayload::Set...() can be replaced with constructor arguments - r=gregtatum 2019-08-07 01:53:55 +00:00
uriloader Bug 1558915 - Use infallible nsIURI::SchemeIs in uriloader/ r=bzbarsky 2019-08-05 20:08:21 +00:00
view Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
widget Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
xpcom Bug 1571875: Part 2 - Change over all existing static local uses of DynamicallyLinkedFunctionPtr to use StaticDynamicallyLinkedFunctionPtr instead; r=mhowell 2019-08-07 15:58:09 +00:00
xpfe/appshell Bug 1561015: Part 1 - Use BrowsingContext in window provider APIs. r=bzbarsky,mossop 2019-08-02 20:48:33 +00:00
.arcconfig
.clang-format Bug 1547143 - Force the pointer style declaration r=Ehsan 2019-05-01 08:46:08 +00:00
.clang-format-ignore Bug 1563903 - Remove libmar from the clang ignore list r=Ehsan 2019-07-08 15:39:24 +00:00
.cron.yml Bug 1568232 - Run raptor cold page-load test job on fenix and refbrow. r=perftest-reviewers,davehunt 2019-07-31 16:31:42 +00:00
.eslintignore Bug 1571934 - Inline security-prefs.js into all.js. r=keeler 2019-08-07 17:41:22 +00:00
.eslintrc.js Bug 1564555 - Enable some more ESLint rules for layout. r=Standard8,dholbert 2019-07-18 21:00:21 +00:00
.flake8 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester 2019-05-28 14:22:20 +00:00
.gdbinit
.gdbinit_python Bug 1564314 - Move gdbpp back to python/. r=nalexander 2019-07-11 02:39:31 +00:00
.git-blame-ignore-revs Bug 1564862 - Update .git-blame-ignore-revs to ignore reformatting m-c using Prettier (bug 1561435) in blame/annotate, r=sylvestre 2019-07-10 13:47:38 +00:00
.gitattributes Bug 770286: Prevent git LF-to-CRLF autoconversion r=glandium 2019-07-06 02:36:03 +00:00
.gitignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hg-annotate-ignore-revs Bug 1563763 - Ignore reformatting m-c using Prettier (bug 1561435) in in blame/annotate, r=standard8, CLOSED TREE, DONTBUILD 2019-07-05 17:53:06 +02:00
.hg-format-source Bug 1556393 - Pre 1 (m-c): Update .hg-format-source to use Prettier when running format-source, r=andi, CLOSED TREE 2019-07-03 20:48:37 +02:00
.hgignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hgtags No bug - Tagging mozilla-central e596664275d5e3e2fdcb7fa8d1447289f99269c3 with FIREFOX_NIGHTLY_69_END a=release DONTBUILD CLOSED TREE 2019-07-08 16:13:40 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1571934 - Inline security-prefs.js into all.js. r=keeler 2019-08-07 17:41:22 +00:00
.prettierrc Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast 2019-05-17 15:51:36 +00:00
.taskcluster.yml Bug 1542233 - Add link to treeherder for all notification emails r=tomprince 2019-07-08 18:47:27 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4 Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester 2019-06-12 22:30:46 +00:00
AUTHORS
build.gradle Bug 1571326 - Update to apilint 0.2.5. r=droeh 2019-08-05 17:48:21 +00:00
Cargo.lock Bug 1563555 - Use static_prefs::pref! in Stylo. r=emilio 2019-08-07 22:58:55 +00:00
Cargo.toml Bug 1571464: Bump Cranelift to c927680fd42a56efcc9a5ee59e814d9eef6c5b4f; r=jseward 2019-08-07 14:20:48 +00:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-07-08 17:27:36 +00:00
configure.in
configure.py Bug 1559975 - Make configure.py lint with 'py2' and 'py3' r=catlee 2019-07-08 17:34:09 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach
Makefile.in Bug 1570798 - Restore relative path for MOZ_FETCHES_DIR. r=nalexander 2019-08-03 07:08:39 +09:00
moz.build Bug 1560425 - Remove old performance measurement API r=jorendorff 2019-07-02 14:37:17 +00:00
moz.configure Bug 1560340 - Only add confvars.sh as a dependency to config.status when it exists. r=chmanchester 2019-06-20 18:43:25 +00:00
mozilla-config.h.in
old-configure.in Bug 1569330 - Disable telemetry check in Normandy recipe runner r=mythmon,nalexander 2019-08-06 23:54:34 +00:00
package-lock.json Bug 1567134 - Update the node modules packages for the builders. r=ahal 2019-07-18 13:10:40 +00:00
package.json Bug 1564138 - Fix DevTools PropTypes errors when updating eslint. r=Ola. 2019-07-17 10:35:44 +00:00
README.txt
settings.gradle Bug 1543982 - Part 1: Avoid re-configuring from within Gradle. r=emilio 2019-05-09 20:38:48 +00:00
test.mozbuild

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.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.