Branch: refs/heads/smoke-me/khw-env
  Home:   https://github.com/Perl/perl5
  Commit: a2cfa7d61dea96c734d18e666b6c7493126fe580
      
https://github.com/Perl/perl5/commit/a2cfa7d61dea96c734d18e666b6c7493126fe580
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M ext/POSIX/t/time.t

  Log Message:
  -----------
  time.t


  Commit: 4fe25ec42498f01b5da9a988f50a778a7651551c
      
https://github.com/Perl/perl5/commit/4fe25ec42498f01b5da9a988f50a778a7651551c
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M ext/POSIX/t/time.t

  Log Message:
  -----------
  POSIX/t/time.t: Remove no longer necessary code

POSIX::strftime() now automatically handles the case where the locales of
LC_TIME and LC_CTYPE aren't the same.  So no need to explicitly do this
in the test file.


  Commit: f9cd4dca2da39611260ea798b63418b6a9da87b1
      
https://github.com/Perl/perl5/commit/f9cd4dca2da39611260ea798b63418b6a9da87b1
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M ext/POSIX/t/time.t

  Log Message:
  -----------
  XXX see how affects earlier commits: time.t: Add more strftime tests


  Commit: 548cc8dfcaa21e477379559fcaaac25ab13ee3c3
      
https://github.com/Perl/perl5/commit/548cc8dfcaa21e477379559fcaaac25ab13ee3c3
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M embed.fnc
    M embed.h
    M locale.c
    M proto.h

  Log Message:
  -----------
  locale.c: Split my_strftime into 2 functions

Future commits will want the individual functionality the two provided
separately.


  Commit: 9df7a623ddfff19ad026e0055ecd9bdf3de0c6c7
      
https://github.com/Perl/perl5/commit/9df7a623ddfff19ad026e0055ecd9bdf3de0c6c7
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Move my_strftime() within the file

This will be more logically placed after future commits


  Commit: 27e51743f203be3194a5740185d582e7046662cc
      
https://github.com/Perl/perl5/commit/27e51743f203be3194a5740185d582e7046662cc
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M embed.fnc
    M embed.h
    M ext/POSIX/POSIX.xs
    M locale.c
    M proto.h

  Log Message:
  -----------
  Implement sv_strftime_tm and sv_strftime_ints

These two functions are designed to free the caller from having to know
anything about the intricacies of handling UTF-8 in using strftime(), as
they take SV inputs and return an SV with the UTF-8 flag appropriately
set.

They differ only in that one takes a bunch of integer arguments that
define the various components of the time; and the other takes a pointer
to a struct tm.

The POSIX implementation of strftime is converted to use these.


  Commit: 201f313805aa45255329e769309d75c85fc37a04
      
https://github.com/Perl/perl5/commit/201f313805aa45255329e769309d75c85fc37a04
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M cpan/Time-Piece/Piece.pm
    M cpan/Time-Piece/Piece.xs
    M cpan/Time-Piece/Seconds.pm
    M dist/Module-CoreList/lib/Module/CoreList.pm

  Log Message:
  -----------
  Time::Piece: Add critical sections

This calls various macros to make certain libc calls uninterruptible, so
that they can be used safely in threaded applications, when this module
is loaded with a perl that supports this.

The macros are defined to do nothing if the perl doesn't contain working
versions of them.  In such perls, the macros are also defined to do
nothing except on configurations that could have races.

Typically, an extra problem is that the libc calls return in a global
static buffer, subject to being overwritten by another thread.  But an
earlier commit defined PERL_REENTRANT, which makes those functions
transparently return in a thread-local buffer instead.  That doesn't
help if the function gets interrupted by another thread; this commit
completes the process.


  Commit: fca2fc4a58250d8699a618e22cd0e1491f0cf606
      
https://github.com/Perl/perl5/commit/fca2fc4a58250d8699a618e22cd0e1491f0cf606
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M cpan/Time-Piece/Piece.xs

  Log Message:
  -----------
  Implement sv_strftime_tm and sv_strftime_ints

These two functions are designed to free the caller from having to know
anything about the intricacies of handling UTF-8 in using strftime(), as
they take SV inputs and return an SV with the UTF-8 flag appropriately
set.

They differ only in that one takes a bunch of integer arguments that
define the various components of the time; and the other takes a pointer
to a struct tm.

The POSIX implementation of strftime is converted to use these.


  Commit: aef0f5480b7c08908c02bb58cb4545e7d2b0f316
      
https://github.com/Perl/perl5/commit/aef0f5480b7c08908c02bb58cb4545e7d2b0f316
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  S_get_locale_string_utf8ness_i: Fix return

If the input is NULL, the utf8ness of the string isn't NO, but actually,
IMMATERIAL, as there is nothing there that matters


  Commit: 12a0546ec0201bb69e453068a59188b2a948eefd
      
https://github.com/Perl/perl5/commit/12a0546ec0201bb69e453068a59188b2a948eefd
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Avoid work that would be thrown away

If the caller to this function doesn't care about the UTF-8ness of the
result, no need to calculate it.


  Commit: 5be83a049799c8daae107e18b7b012b355d2bd46
      
https://github.com/Perl/perl5/commit/5be83a049799c8daae107e18b7b012b355d2bd46
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M cpan/Time-Piece/Piece.xs

  Log Message:
  -----------
  Time-Piece: notes to myself


  Commit: aabb1eabc72d6c15613e2a6f6afb86f5c106d620
      
https://github.com/Perl/perl5/commit/aabb1eabc72d6c15613e2a6f6afb86f5c106d620
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  dregs


  Commit: 4503ca866e4c9181c95cd1e99536e8fb00f7a29c
      
https://github.com/Perl/perl5/commit/4503ca866e4c9181c95cd1e99536e8fb00f7a29c
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Slightly change wording of DEBUG messages

This makes them more consistent with the other messages in this file.


  Commit: 4d24b9388864d63f73d0e0daa7215f9981ab36e3
      
https://github.com/Perl/perl5/commit/4d24b9388864d63f73d0e0daa7215f9981ab36e3
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M util.c

  Log Message:
  -----------
  util.c: Better panic messages


  Commit: bc178cc5b9d84740335ce8e88f46d99561c187a9
      
https://github.com/Perl/perl5/commit/bc178cc5b9d84740335ce8e88f46d99561c187a9
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M win32/Makefile

  Log Message:
  -----------
  win32 Makefile


  Commit: 40c924289d5f91725455c32deefde203a9977008
      
https://github.com/Perl/perl5/commit/40c924289d5f91725455c32deefde203a9977008
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M ext/XS-APItest/t/locale.t

  Log Message:
  -----------
  XS-APItest/t/locale.t: Skip tests if pre-req not met

Rather than have them all failing, if the test that tries to set things
up fails, skip the ones that depend on it having succeeded


  Commit: 59559a77315e0db1fb37599dbe55a72661d3cd52
      
https://github.com/Perl/perl5/commit/59559a77315e0db1fb37599dbe55a72661d3cd52
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M ext/XS-APItest/t/locale.t

  Log Message:
  -----------
  XS-APItest/t/locale.t: White space only

Indent to correspond with a new block added in the previous commit


  Commit: 78659a27c8b653a45033e33520c9bd915cb9579a
      
https://github.com/Perl/perl5/commit/78659a27c8b653a45033e33520c9bd915cb9579a
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M lib/locale.t

  Log Message:
  -----------
  lib/locale.t: Avoid duplicate effort

By searching for a bigger set of locales first, then looking only within
that set for a restricted set, we avoid scanning twice.  This matters on
Windows machines where the scan is slow.


  Commit: 2629ad1ee586b31caba1f042930c92976d20e033
      
https://github.com/Perl/perl5/commit/2629ad1ee586b31caba1f042930c92976d20e033
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M t/op/lc.t

  Log Message:
  -----------
  t/op/lc.t: Avoid duplicate effort

By searching for a bigger set of locales first, then looking only within
that set for a restricted set, we avoid scanning twice.  This matters on
Windows machines where the scan is slow.


  Commit: 4b090ee727efd9e733a95923fc802446c0115459
      
https://github.com/Perl/perl5/commit/4b090ee727efd9e733a95923fc802446c0115459
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M t/re/pat.t

  Log Message:
  -----------
  re/pat.t: Avoid duplicate effort

This scalar was being computed twice, and the computation is slow on
Windows.


  Commit: d7d03225d0558dc02c3537c608afbde659356a91
      
https://github.com/Perl/perl5/commit/d7d03225d0558dc02c3537c608afbde659356a91
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M t/re/pat.t

  Log Message:
  -----------
  re/pat.t: Fix typo in comment


  Commit: 261a6e42569fde45567f507fc50a02d410041259
      
https://github.com/Perl/perl5/commit/261a6e42569fde45567f507fc50a02d410041259
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M t/run/locale.t

  Log Message:
  -----------
  fdregs


  Commit: 3188d6bf86fd77e5ef3d0613c7e41d5abf9680f8
      
https://github.com/Perl/perl5/commit/3188d6bf86fd77e5ef3d0613c7e41d5abf9680f8
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M ext/POSIX/t/time.t

  Log Message:
  -----------
  POSIX/t/time.t: Avoid duplicate effort

By searching for a bigger set of locales first, then looking only within
that set for a restricted set, we avoid scanning twice.  This matters on
Windows machines where the scan is slow.


  Commit: 7d0fb0cc9ef1a24c3d23fdc4161c52c567541556
      
https://github.com/Perl/perl5/commit/7d0fb0cc9ef1a24c3d23fdc4161c52c567541556
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  perl.h: Add UNLESS_PERL_MEM_LOG()

This is to be used to wrap code that should not be compiled if
PERL_MEM_LOG is defined.  Some things don't play well with that, and
this keeps them from being compiled automatically without extra #ifdefs


  Commit: 767e50daf5637bf324c88d09ec63a53833a064e1
      
https://github.com/Perl/perl5/commit/767e50daf5637bf324c88d09ec63a53833a064e1
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  perl.h: Use UNLESS_PERL_MEM_LOG()

These debugging statements for mutex locking are done at such a low
level that if PERL_MEM_LOG is used, infinite recursion would be
attempted.


  Commit: a40731751d29fd5d392173f9326e7f5c9650c3ef
      
https://github.com/Perl/perl5/commit/a40731751d29fd5d392173f9326e7f5c9650c3ef
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M inline.h

  Log Message:
  -----------
  Revert #if 0 in inline.h

I don't remember why this was done


  Commit: 6a457cb72a53ffae2663c75eacd78e218dc9e4c4
      
https://github.com/Perl/perl5/commit/6a457cb72a53ffae2663c75eacd78e218dc9e4c4
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  XXX why no failures:locale.c: Quit early on failure to set the locale

When trying to set the locale under Windows (only), the code prior to
this commit would continue on to set PL_cur_LC_ALL to NULL, whereas the
failure means nothing changed, so this variable shouldn't either.


  Commit: 7c9e202548c2f6531354024de4cfad6bb44b8bb6
      
https://github.com/Perl/perl5/commit/7c9e202548c2f6531354024de4cfad6bb44b8bb6
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Avoid unnecessary freeing and reallocating

Check first if an interpreter variable has actually changed before
going to the trouble of freeing its memory and reallocating and
populating it.


  Commit: af8c4792e163ddccad5417a92c5c364ec16e7026
      
https://github.com/Perl/perl5/commit/af8c4792e163ddccad5417a92c5c364ec16e7026
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  Return from win32_setlocale() needs to be stable

Prior to this commit it was subject to freeing when the scope was
exited.

This commit repurposes the already-existing per-thread buffer that holds
the return of setlocale(), stable until the next call to it.  Instead of
being used for setlocale() which isn't called directly on Windows
platforms, it uses it for win32_setlocale().


  Commit: 1ea7e603f7e0ef17253847b5cd1baa34bde5d1d6
      
https://github.com/Perl/perl5/commit/1ea7e603f7e0ef17253847b5cd1baa34bde5d1d6
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M util.c
    M win32/perlhost.h

  Log Message:
  -----------
  XXX Win32 mem log


  Commit: 2a8c3d5f0b7ac54a0a6a38b37d25081a97de49a2
      
https://github.com/Perl/perl5/commit/2a8c3d5f0b7ac54a0a6a38b37d25081a97de49a2
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M util.c

  Log Message:
  -----------
  XXX util add thread to mem_log


  Commit: e126f8595e7fa5bdcc990b2618cdfaec1a8291a7
      
https://github.com/Perl/perl5/commit/e126f8595e7fa5bdcc990b2618cdfaec1a8291a7
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  XXX mv: initialize PL_cur_LC_ALL


  Commit: 5dad97ea446c886f7525bc69d8f9766e0c92c4c4
      
https://github.com/Perl/perl5/commit/5dad97ea446c886f7525bc69d8f9766e0c92c4c4
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  Debug wrap wset


  Commit: 6db76a08dbf2caa34957b4f7dc22f950b77ebf7b
      
https://github.com/Perl/perl5/commit/6db76a08dbf2caa34957b4f7dc22f950b77ebf7b
  Author: Karl Williamson <[email protected]>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  more dregs


Compare: https://github.com/Perl/perl5/compare/65ef39f969ea...6db76a08dbf2

Reply via email to