From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 508A56A816E; Wed, 11 Oct 2023 19:52:45 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 508A56A816E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1697043165; bh=O++kBnWjAKz+PitK65UPg9NL9ttb1WB8COd+YxiZf9c=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ojxJA31Nvr81h0qOj685j7xAIciGeOw50UyHDhXJA+46Jx1h3xf8kHP+t7xFV90gT aZRN6yNR7YAbQ6CektdT9jBgnbzD0nPoLT+YGoDCLiYBZyk0VJIH9rDvXpFRYWM+wp 3wVsygW9/ck9qkhuvo6krjiJ98EFu8HyeIDftSvM= Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 3B5D66A816E for ; Wed, 11 Oct 2023 19:52:44 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 3B5D66A816E Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-53dfc28a2afso162349a12.1 for ; Wed, 11 Oct 2023 09:52:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697043163; x=1697647963; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AUVBtw1lhkfTzddCP/VLoDxOyyQWGn2G7lbP3Venw/4=; b=s+OCaRVlfjgPquviC6NgU2zUOlViIleSaq57leSTWOUXLfMLQK8opie212vLsQ9Gbp O1lkJLpAh82ejxH5xHJjvxvq3B94Lsk7oYXla4dVnFMFaLuXyHwftXs0s4xQmtJGSTcH 3zfRKOKI3jlL7R39Hwy18wwKILtI0R+de0x970DfVEzQwQ02JX15tG0s2hU5jx4g3BOO 5HsdVaxX15j0246dfNWDSb8y1CkZqMebwGyQi+xwpbmIe3kgge1kCm6xYV1NV9qOMxuv GxlzLgsRJ+m4rYSCf0kQGyHX3W3PZjUJYCL0p6rexvA3eI74slW4KQwA7FcaJuiF7n/Z n+Eg== X-Gm-Message-State: AOJu0YwoXRqIyAeklcDYosoUwJk6CAhQDzK+4SkyvmTHNFJ+ef1S2755 mxdhF096Gc9R+EGxzXWLV4oMFl6ivYzm/A== X-Google-Smtp-Source: AGHT+IFlxj2LOe7+qPLoHGsSkdNS1Fu1Ns4CUk5igZszprgpJaUB03yO9yK90Frz7/8dWTJcX8S3wA== X-Received: by 2002:a17:906:3004:b0:9a5:cbb2:3fab with SMTP id 4-20020a170906300400b009a5cbb23fabmr18086569ejz.2.1697043162607; Wed, 11 Oct 2023 09:52:42 -0700 (PDT) Received: from pony.. ([185.6.247.97]) by smtp.gmail.com with ESMTPSA id l12-20020a170906078c00b009b94fe3fc47sm9962409ejc.159.2023.10.11.09.52.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 09:52:42 -0700 (PDT) To: tarantool-patches@dev.tarantool.org, Sergey Kaplun , max.kokryashkin@gmail.com Date: Wed, 11 Oct 2023 19:52:25 +0300 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit 0/4][v2] Fix typos and enable codespell X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" From: Sergey Bronnikov Sometimes we do mistakes and typos. Reviewers spend a lot of time in proofreading of comments, commit messages and code itself and reports typos to authors. The idea is to automate a part of work made by reviewers and highlight all typos locally or in continuous integration, before sending patches to review. Patches fixes typos in our own source code and enables codespell in CI. Branch: https://github.com/tarantool/luajit/tree/ligurio/gh-xxxx-spellchecking Changes v2: - removed patches with checkpatch.pl integration (CMake target and Github workflow) - added codespell integration (CMake target and Github workflow) - addressed Sergey's comments Sergey Bronnikov (4): codehealth: fix typos test: fix codestyle cmake: introduce target with codespell ci: enable codespell .github/workflows/lint.yml | 3 +- CMakeLists.txt | 1 + cmake/CodeSpell.cmake | 36 +++++++++++++++++++ src/lj_memprof.c | 4 +-- src/lj_sysprof.c | 2 +- src/lj_wbuf.h | 2 +- src/luajit-gdb.py | 6 ++-- src/luajit_lldb.py | 6 ++-- test/CMakeLists.txt | 1 + test/LuaJIT-tests/src/ctest.c | 2 +- test/PUC-Rio-Lua-5.1-tests/api.lua | 4 +-- test/PUC-Rio-Lua-5.1-tests/db.lua | 2 +- test/PUC-Rio-Lua-5.1-tests/gc.lua | 2 +- test/PUC-Rio-Lua-5.1-tests/math.lua | 2 +- test/PUC-Rio-Lua-5.1-tests/strings.lua | 2 +- test/tarantool-c-tests/CMakeLists.txt | 1 - test/tarantool-c-tests/test.c | 2 +- test/tarantool-tests/CMakeLists.txt | 2 +- test/tarantool-tests/fix-emit-rma.test.lua | 2 +- .../gh-4199-gc64-fuse.test.lua | 2 +- ...-6096-external-unwinding-on-arm64.test.lua | 2 +- test/tarantool-tests/gh-6163-min-max.test.lua | 2 +- .../lj-350-sload-typecheck.test.lua | 2 +- .../lj-356-ir-khash-non-string-obj.test.lua | 2 +- .../lj-357-arm64-hrefk.test.lua | 2 +- .../lj-416-xor-before-jcc.test.lua | 2 +- ...6-arm64-incorrect-check-closed-uv.test.lua | 2 +- .../lj-512-profiler-hook-finalizers.test.lua | 4 +-- .../lj-603-err-snap-restore.test.lua | 2 +- .../misclib-memprof-lapi.test.lua | 8 ++--- test/tarantool-tests/tap.lua | 4 +-- test/tarantool-tests/unit-jit-parse.test.lua | 2 +- test/tarantool-tests/utils/jit/generators.lua | 2 +- tools/codespell-ignore-words.txt | 3 ++ tools/memprof/parse.lua | 4 +-- tools/memprof/process.lua | 4 +-- 36 files changed, 86 insertions(+), 45 deletions(-) create mode 100644 cmake/CodeSpell.cmake create mode 100644 tools/codespell-ignore-words.txt -- 2.34.1