From 8f58f548aea33047947f8ee86616e89554bb46ac Mon Sep 17 00:00:00 2001 From: Jesper Quorning Date: Thu, 14 May 2020 11:16:59 +0200 Subject: [PATCH] Proofreading fixes (#407) * Typo: unavailability * Typo: Space after full stop in comment * Typo: strings * Typo: different * Typo: circumvent * Typo: length * Typo: R.Available * Typo: the * Rename: doc/catalog-format-spec.md --- src/alire/alire-crates.ads | 2 +- src/alire/alire-properties-labeled.ads | 2 +- src/alire/alire-properties-scenarios.adb | 2 +- src/alire/alire-releases.ads | 2 +- src/alire/alire-solver.adb | 2 +- src/alire/alire-toml_expressions-cases.adb | 2 +- src/alire/alire-utils.ads | 2 +- src/alr/alr-commands-search.adb | 2 +- src/alr/alr-commands-show.adb | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/alire/alire-crates.ads b/src/alire/alire-crates.ads index eaf72c30..8215adaf 100644 --- a/src/alire/alire-crates.ads +++ b/src/alire/alire-crates.ads @@ -23,7 +23,7 @@ package Alire.Crates with Preelaborate is ------------- -- A crate contains mandatory information, some of it overridable by its - -- releases. See doc/catalog-format-spec.rst. + -- releases. See doc/catalog-format-spec.md. type General is new Interfaces.Detomifiable with private; -- The General portion of a Crate diff --git a/src/alire/alire-properties-labeled.ads b/src/alire/alire-properties-labeled.ads index 11c32413..a2906c36 100644 --- a/src/alire/alire-properties-labeled.ads +++ b/src/alire/alire-properties-labeled.ads @@ -152,7 +152,7 @@ private not overriding procedure Validate (L : Label; From : TOML_Adapters.Key_Queue); - -- Check a just loaded label for validity (descr. lenght, email format...). + -- Check a just loaded label for validity (descr. length, email format...). -- If invalid, raise Checked_Error with appropriate context and message. function New_Label (Name : Labels; Value : String) return Label is diff --git a/src/alire/alire-properties-scenarios.adb b/src/alire/alire-properties-scenarios.adb index 862a38fd..6fac32d6 100644 --- a/src/alire/alire-properties-scenarios.adb +++ b/src/alire/alire-properties-scenarios.adb @@ -13,7 +13,7 @@ package body Alire.Properties.Scenarios is Value : TOML.TOML_Value; Key : constant String := From.Pop (Value); - -- This function both processes scenario declarations and th setting of + -- This function both processes scenario declarations and the setting of -- scenario variables, which are stored in the same type of property. -- The two following functions are devoted respectively to each case. diff --git a/src/alire/alire-releases.ads b/src/alire/alire-releases.ads index f5f46906..c759d9b1 100644 --- a/src/alire/alire-releases.ads +++ b/src/alire/alire-releases.ads @@ -155,7 +155,7 @@ package Alire.Releases with Preelaborate is function Available (R : Release) return Requisites.Tree; function Is_Available (R : Release; P : Alire.Properties.Vector) return Boolean; - -- Evaluate R.Availabel under platform properties P + -- Evaluate R.Available under platform properties P function Default_Executable (R : Release) return String; -- We encapsulate here the fixing of platform extension diff --git a/src/alire/alire-solver.adb b/src/alire/alire-solver.adb index bfb17dd6..459f50c7 100644 --- a/src/alire/alire-solver.adb +++ b/src/alire/alire-solver.adb @@ -309,7 +309,7 @@ package body Alire.Solver is -- On the solver internal operation: the solver recursively tries all -- possible dependency combinations, in depth-first order. This means -- that, for a given dependency, all satisfying releases are attempted - -- in diferent exploration branches. Once a search branch finds a + -- in different exploration branches. Once a search branch finds a -- complete solution, it is added to the following global pool of -- solutions. Likewise, if a branch cannot complete a solution, it -- simply stops its exploration. The search status in each branch is diff --git a/src/alire/alire-toml_expressions-cases.adb b/src/alire/alire-toml_expressions-cases.adb index a53688de..48d60ba3 100644 --- a/src/alire/alire-toml_expressions-cases.adb +++ b/src/alire/alire-toml_expressions-cases.adb @@ -226,7 +226,7 @@ package body Alire.TOML_Expressions.Cases is Set_Up_Loaders; return Prop : constant Conditional.Properties := Props.Load_Instance (Key, From, Loader.all'Access) - -- The Loader type is structurally equivalent, so we can circunvent + -- The Loader type is structurally equivalent, so we can circumvent -- the type check without consequences. This is merely for clarity. do if From.Unwrap.Kind = TOML.TOML_Table then diff --git a/src/alire/alire-utils.ads b/src/alire/alire-utils.ads index 5b333bf5..bc56cf3d 100644 --- a/src/alire/alire-utils.ads +++ b/src/alire/alire-utils.ads @@ -122,7 +122,7 @@ package Alire.Utils with Preelaborate is -- String_Vectors -- -------------------- - -- To simplify somewhat managing lists of strigns + -- To simplify somewhat managing lists of strings package String_Vectors is new Ada.Containers.Indefinite_Vectors (Positive, String); diff --git a/src/alr/alr-commands-search.adb b/src/alr/alr-commands-search.adb index a5511c33..9afe8c5f 100644 --- a/src/alr/alr-commands-search.adb +++ b/src/alr/alr-commands-search.adb @@ -223,7 +223,7 @@ package body Alr.Commands.Search is .Append ("U: the release is not available in the current platform.") .Append ("X: the release has dependencies that cannot be resolved.") .New_Line - .Append ("The reasons for unavalaibility (U) can be ascertained with" + .Append ("The reasons for unavailability (U) can be ascertained with" & " 'alr show ='.") .New_Line .Append ("Unresolvable releases (X) should not happen in platforms" diff --git a/src/alr/alr-commands-show.adb b/src/alr/alr-commands-show.adb index b990e11b..3848ed5c 100644 --- a/src/alr/alr-commands-show.adb +++ b/src/alr/alr-commands-show.adb @@ -82,7 +82,7 @@ package body Alr.Commands.Show is if Needed.Valid then -- Show regular dependencies in solution. When requested, - -- show also their origin kind.This is useful for crate + -- show also their origin kind. This is useful for crate -- testing to let us know that we need to update system -- repositories. It also raises awareness about the -- provenance of sources. -- 2.39.5