From patchwork Fri Sep 20 13:28:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Klug X-Patchwork-Id: 21291 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id E1521C324C for ; Fri, 20 Sep 2024 13:28:42 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C2647634FC; Fri, 20 Sep 2024 15:28:41 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="qVcsFZAa"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 009B1618E0 for ; Fri, 20 Sep 2024 15:28:39 +0200 (CEST) Received: from ideasonboard.com (unknown [IPv6:2a00:6020:448c:6c00:8ade:938d:48b1:cede]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D431A4CE; Fri, 20 Sep 2024 15:27:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1726838835; bh=1QGGo2CbpJhn6Cgk9yN3oZLchZxtH2xyKmooMIEvVRk=; h=From:To:Cc:Subject:Date:From; b=qVcsFZAaZEPj8f2pC5Nyc8Xqrc/fTCisBJKDZsCqJEv2Yo896cDEb5+FxQS8yo/f7 Jb/Hf6pa5Dnz3mNlOny/gUYd+MvuBCPva2LrLZik95gEXAaZBmdyxKZ7tLr8P+STOL XojOFvEmeeOUD8OIVqd2S1HnS4WCsxU2qxc7of5E= From: Stefan Klug To: libcamera-devel@lists.libcamera.org Cc: Stefan Klug Subject: [PATCH v3 0/3] libcamera: yaml-parser: Differentiate between empty and empty string Date: Fri, 20 Sep 2024 15:28:07 +0200 Message-ID: <20240920132823.88433-1-stefan.klug@ideasonboard.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi all, the single patch now turned into a tiny series. All the details are still inside the patches. Patch 1 could be dropped without any negative side effects (See the comment there). Best regards, Stefan Stefan Klug (3): libcamera: yaml-parser: Add additional tests libcanera: yaml-parser: Add failing test for unexpected behavior libcamera: yaml-parser: Differentiate between empty and empty string include/libcamera/internal/yaml_parser.h | 9 ++++ src/libcamera/yaml_parser.cpp | 27 +++++++++--- test/yaml-parser.cpp | 52 ++++++++++++++++++++++-- 3 files changed, 79 insertions(+), 9 deletions(-)