[Guile-Lib PATCH 6/6] logger: Call flush-log at the end of accept-log.

2024-02-05 Thread Maxim Cournoyer
This is to avoid long block buffering of log messages, which would causes the log messages to be delayed, which is likely to confuse users attempting to follow the logs in real time (see: https://lists.gnu.org/archive/html/guile-devel/2024-01/msg0.html). * src/logging/logger.scm (accept-log):

[Guile-Lib PATCH 2/6] Use /bin/sh in update-api script shebang.

2024-02-05 Thread Maxim Cournoyer
* unit-tests/update-api: Replace /bin/bash with /bin/sh. --- unit-tests/update-api | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit-tests/update-api b/unit-tests/update-api index 8824c3f..392ce8b 100755 --- a/unit-tests/update-api +++ b/unit-tests/update-api @@ -1,4 +1,4

[Guile-Lib PATCH 4/6] logging: Allow passing source properties to `log-msg'.

2024-02-05 Thread Maxim Cournoyer
Note: this changes the API of the `accept-log' method by adding a new positional argument to it. `accept-log' is a "weak" public interface (mostly intended for internal uses or logging handler implementors), so this is deemed acceptable. * src/logging/logger.scm (log-helper) [source-properties]:

[Guile-Lib PATCH 3/6] tests: guile-library.api: Re-generate.

2024-02-05 Thread Maxim Cournoyer
The file was regenerated by running 'make -C unit-tests guile-library.api.update'. * unit-tests/guile-library.api: Regenerate. --- unit-tests/guile-library.api | 239 +-- 1 file changed, 5 insertions(+), 234 deletions(-) diff --git a/unit-tests/guile-library.api

[Guile-Lib PATCH 0/6] Make log-msg accept source properties for displaying source location

2024-02-05 Thread Maxim Cournoyer
The main change of this series is adding the ability to pass source properties (such as can be obtained via syntax-source in macros) to the `log-msg' call, and have the default log formatter use it to display the source location of the corresponding call. It also fixes a few minor issues spotted

[Guile-Lib PATCH 1/6] configure.ac: Fix typo in message.

2024-02-05 Thread Maxim Cournoyer
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7171296..e8f1bba 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ dnl distcheck' are aware it is a wip version. AC_INIT( [guile-lib], [0.2.7], -

[Guile-Lib PATCH 5/6] logging: Adjust default log-formatter output.

2024-02-05 Thread Maxim Cournoyer
The log level is always in uppercase, and its surrounding parentheses are dropped. * src/logging/logger.scm (default-log-formatter): Uppercase level and strip its surrounding parens. * unit-tests/logging.logger.scm: Adjust expected output accordingly. --- src/logging/logger.scm| 6

[Guile-Lib PATCH v2 2/6] Use /bin/sh in update-api script shebang.

2024-02-05 Thread Maxim Cournoyer
* unit-tests/update-api: Replace /bin/bash with /bin/sh. --- (no changes since v1) unit-tests/update-api | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit-tests/update-api b/unit-tests/update-api index 8824c3f..392ce8b 100755 --- a/unit-tests/update-api +++

[Guile-Lib PATCH v2 4/6] logging: Allow passing source properties to `log-msg'.

2024-02-05 Thread Maxim Cournoyer
Note: this changes the API of the `accept-log' method by adding a new positional argument to it. `accept-log' is a "weak" public interface (mostly intended for internal uses or logging handler implementors), so this is deemed acceptable. * src/logging/logger.scm (log-helper) [source-properties]:

[Guile-Lib PATCH v2 0/6] Make log-msg accept source properties for displaying source location

2024-02-05 Thread Maxim Cournoyer
The main change of this series is adding the ability to pass source properties (such as can be obtained via syntax-source in macros) to the `log-msg' call, and have the default log formatter use it to display the source location of the corresponding call. It also fixes a few minor issues spotted

[Guile-Lib PATCH v2 1/6] configure.ac: Fix typo in message.

2024-02-05 Thread Maxim Cournoyer
--- (no changes since v1) configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7171296..e8f1bba 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ dnl distcheck' are aware it is a wip version. AC_INIT( [guile-lib],

[Guile-Lib PATCH v2 6/6] logger: Call flush-log at the end of accept-log.

2024-02-05 Thread Maxim Cournoyer
This is to avoid long block buffering of log messages, which would causes the log messages to be delayed, which is likely to confuse users attempting to follow the logs in real time (see: https://lists.gnu.org/archive/html/guile-devel/2024-01/msg0.html). * src/logging/logger.scm (accept-log):

[Guile-Lib PATCH v2 5/6] logging: Adjust default log-formatter output.

2024-02-05 Thread Maxim Cournoyer
The log level is always in uppercase, and its surrounding parentheses are dropped. * src/logging/logger.scm (default-log-formatter): Uppercase level and strip its surrounding parens. * unit-tests/logging.logger.scm: Adjust expected output accordingly. --- (no changes since v1)

[Guile-Lib PATCH v2 3/6] tests: guile-library.api: Re-generate.

2024-02-05 Thread Maxim Cournoyer
The file was regenerated by running 'make -C unit-tests guile-library.api.update'. * unit-tests/guile-library.api: Regenerate. --- (no changes since v1) unit-tests/guile-library.api | 239 +-- 1 file changed, 5 insertions(+), 234 deletions(-) diff --git

Re: Guile 64-bit Windows support, redux

2024-02-05 Thread Dr. Arne Babenhauserheide
Jonas Hahnfeld via "Developers list for Guile, the GNU extensibility library" writes: > On Tue, 2023-11-28 at 22:04 +0100, Jonas Hahnfeld wrote: >> On Sun, 2023-10-29 at 22:34 +0100, Jonas Hahnfeld wrote: >> > I would like to propose a different approach: It turns out to be >> > possible to