Patch Detail
Show a patch.
GET /api/patches/281/?format=api
{ "id": 281, "url": "https://patchwork.libcamera.org/api/patches/281/?format=api", "web_url": "https://patchwork.libcamera.org/patch/281/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20190121005930.10112-2-laurent.pinchart@ideasonboard.com>", "date": "2019-01-21T00:59:25", "name": "[libcamera-devel,1/6] Documentation: coding_style: Add move semantics to C++11 features", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "90162e01926b10e7584ac66baff8ac6b41bbff65", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/281/mbox/", "series": [ { "id": 96, "url": "https://patchwork.libcamera.org/api/series/96/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=96", "date": "2019-01-21T00:59:24", "name": "Extend the logger with categories and configuration", "version": 1, "mbox": "https://patchwork.libcamera.org/series/96/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/281/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/281/checks/", "tags": {}, "headers": { "Return-Path": "<laurent.pinchart@ideasonboard.com>", "Received": [ "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 23F3560C82\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Jan 2019 01:59:35 +0100 (CET)", "from pendragon.bb.dnainternet.fi\n\t(dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id B2487D80\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 21 Jan 2019 01:59:34 +0100 (CET)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1548032374;\n\tbh=JHXITrYgTIpvNyao7vFSpf4PhKqGA7PwqPtbJzNUobg=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=IM/9jJAXLtixLO9ffmFis5z5Qa4t6sRvyTNYDFlh3CEbV71tVMUzrgBhrLQjpunxH\n\t92ihGhc8jXQZ+wxqpAkwaRhA5eZ/98La2KErcO3txjiYef5sYATSfwZEOAW0gz0ndb\n\tRnAnZZDj6bciYUaPQmVvxrc8P9YpLA3uoa3g2FGg=", "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Mon, 21 Jan 2019 02:59:25 +0200", "Message-Id": "<20190121005930.10112-2-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.19.2", "In-Reply-To": "<20190121005930.10112-1-laurent.pinchart@ideasonboard.com>", "References": "<20190121005930.10112-1-laurent.pinchart@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH 1/6] Documentation: coding_style: Add move\n\tsemantics to C++11 features", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.23", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "X-List-Received-Date": "Mon, 21 Jan 2019 00:59:35 -0000" }, "content": "Add the move semantics (move constructor and move assignment) to the\nallowed C++11 features, as we extensively use them for the unique and\nshared pointers.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n Documentation/coding-style.rst | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst\nindex 66db3cebe132..30a1455d8c65 100644\n--- a/Documentation/coding-style.rst\n+++ b/Documentation/coding-style.rst\n@@ -80,6 +80,7 @@ C++-11-specific features:\n Smart pointers, as well as shared pointers and weak pointers, shall not be\n overused.\n * Variadic class and function templates\n+* rvalue references, move constructor and move assignment\n \n Object Ownership\n ~~~~~~~~~~~~~~~~\n", "prefixes": [ "libcamera-devel", "1/6" ] }