From ab7f99d9c9183dc2be446c46c8a651009e697839 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Mon, 16 Dec 2024 02:11:41 +0300 Subject: [PATCH 1/9] failOnWarning switch on --- eo-runtime/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eo-runtime/pom.xml b/eo-runtime/pom.xml index 4ceac5f8dd..04749c7ddb 100644 --- a/eo-runtime/pom.xml +++ b/eo-runtime/pom.xml @@ -213,7 +213,7 @@ SOFTWARE. ${project.build.directory}/eo-foreign.csv csv - false + true true ${project.build.directory}/eo/unphi @@ -265,7 +265,7 @@ SOFTWARE. ${project.build.directory}/eo-test/unphi false true - false + true ${project.build.directory}/generated-test-sources false true From 7f09d8ff8908ba43e05e4f1c9c0d54dcecfc6627 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Mon, 16 Dec 2024 02:58:57 +0300 Subject: [PATCH 2/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/math/pi.eo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo-runtime/src/main/eo/org/eolang/math/pi.eo b/eo-runtime/src/main/eo/org/eolang/math/pi.eo index d9cc85928d..f4b1c9cecb 100644 --- a/eo-runtime/src/main/eo/org/eolang/math/pi.eo +++ b/eo-runtime/src/main/eo/org/eolang/math/pi.eo @@ -25,5 +25,5 @@ +package org.eolang.math +version 0.0.0 -# The PI number +# Returns an approximate PI number. 3.14159265358979323846 > pi From deb64f00adba8a9c146866b35a4e9ed4a0a385dc Mon Sep 17 00:00:00 2001 From: uchitsa Date: Mon, 16 Dec 2024 02:59:10 +0300 Subject: [PATCH 3/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/math/random.eo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo-runtime/src/main/eo/org/eolang/math/random.eo b/eo-runtime/src/main/eo/org/eolang/math/random.eo index 93836194b8..97dcce2f4f 100644 --- a/eo-runtime/src/main/eo/org/eolang/math/random.eo +++ b/eo-runtime/src/main/eo/org/eolang/math/random.eo @@ -28,7 +28,7 @@ +package org.eolang.math +version 0.0.0 -# Pseudo random number. +# Generates a pseudo-random number. [seed] > random $ > fixed # Get float value for current `seed`. From 7c0989b7b28d293978ba1ff2001108ef1509ff4a Mon Sep 17 00:00:00 2001 From: uchitsa Date: Mon, 16 Dec 2024 02:59:13 +0300 Subject: [PATCH 4/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/math/random.eo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo-runtime/src/main/eo/org/eolang/math/random.eo b/eo-runtime/src/main/eo/org/eolang/math/random.eo index 97dcce2f4f..57d43e2040 100644 --- a/eo-runtime/src/main/eo/org/eolang/math/random.eo +++ b/eo-runtime/src/main/eo/org/eolang/math/random.eo @@ -32,7 +32,7 @@ [seed] > random $ > fixed # Get float value for current `seed`. - # Divide `seed` to maximum possible value of the `seed` which is 1 << 53 + # Divide `seed` to maximum possible value of the `seed` which is 1 << 53. div. > @ seed.as-number 00-20-00-00-00-00-00-00.as-i64.as-number From 6a4bb7743d50d58ecabc3f7f99d3072fd9769e8e Mon Sep 17 00:00:00 2001 From: uchitsa Date: Mon, 16 Dec 2024 23:07:52 +0300 Subject: [PATCH 5/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/fs/path.eo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo-runtime/src/main/eo/org/eolang/fs/path.eo b/eo-runtime/src/main/eo/org/eolang/fs/path.eo index e6e05bb7e1..1939ac7922 100644 --- a/eo-runtime/src/main/eo/org/eolang/fs/path.eo +++ b/eo-runtime/src/main/eo/org/eolang/fs/path.eo @@ -327,7 +327,7 @@ # Normalization includes: # - converting multiple slashes into a single slash. # - resolving "." (current directory) and ".." (parent directory) segments. - # - handling of drive letters in Windows + # - handling of drive letters in Windows. [] > normalized ^.uri > uri-as-bytes! (^.is-drive-relative uri-as-bytes).as-bool > is-drive-relative From 65b9ce1d07b0027c2fdfffd67f0ac6d064ab283c Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 17 Dec 2024 00:21:00 +0300 Subject: [PATCH 6/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/fs/path.eo | 1 + 1 file changed, 1 insertion(+) diff --git a/eo-runtime/src/main/eo/org/eolang/fs/path.eo b/eo-runtime/src/main/eo/org/eolang/fs/path.eo index 1939ac7922..f307fbbf53 100644 --- a/eo-runtime/src/main/eo/org/eolang/fs/path.eo +++ b/eo-runtime/src/main/eo/org/eolang/fs/path.eo @@ -151,6 +151,7 @@ # | relative | absolute | other | # | relative | relative | uri + other | # |----------|----------|-------------| + # URI Resolution Rules. [other] > resolved other.as-bytes > other-as-bytes normalized. > @ From 7b6a64869c35446a47ab73bec480b680af45e380 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 17 Dec 2024 19:03:59 +0300 Subject: [PATCH 7/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/sys/getenv.eo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo-runtime/src/main/eo/org/eolang/sys/getenv.eo b/eo-runtime/src/main/eo/org/eolang/sys/getenv.eo index 0a28b3d2f1..443d03d1c0 100644 --- a/eo-runtime/src/main/eo/org/eolang/sys/getenv.eo +++ b/eo-runtime/src/main/eo/org/eolang/sys/getenv.eo @@ -31,7 +31,7 @@ # Get environment variable as `string`. # If return `string` is empty - the variable does not exist. # -# See https://man7.org/linux/man-pages/man3/getenv.3.html +# See https://man7.org/linux/man-pages/man3/getenv.3.html. [name] > getenv output. > @ if. From 8097bd543cc4fe3f2fd78b1816505bb8c8acefba Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 17 Dec 2024 23:04:15 +0300 Subject: [PATCH 8/9] failOnWarning --- eo-runtime/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo-runtime/pom.xml b/eo-runtime/pom.xml index 04749c7ddb..06297535ba 100644 --- a/eo-runtime/pom.xml +++ b/eo-runtime/pom.xml @@ -265,7 +265,7 @@ SOFTWARE. ${project.build.directory}/eo-test/unphi false true - true + false ${project.build.directory}/generated-test-sources false true From fbc7b7377c4e09cc1dd238375e7bc1de50717f15 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 18 Dec 2024 02:20:45 +0300 Subject: [PATCH 9/9] failOnWarning --- eo-runtime/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo-runtime/pom.xml b/eo-runtime/pom.xml index 06297535ba..4ceac5f8dd 100644 --- a/eo-runtime/pom.xml +++ b/eo-runtime/pom.xml @@ -213,7 +213,7 @@ SOFTWARE. ${project.build.directory}/eo-foreign.csv csv - true + false true ${project.build.directory}/eo/unphi