In perl.git, the branch smoke-me/khw-locale has been created


        at  d6d99f2c43b8dd8ac4e9b494bdb2fa563e73f84d (commit)

- Log -----------------------------------------------------------------
commit d6d99f2c43b8dd8ac4e9b494bdb2fa563e73f84d
Author: Karl Williamson <>
Date:   Sun Mar 11 14:48:38 2018 -0600

    locale.c: Reduce too-large indent

commit b8e9663f4ca8663c3e8eb74511207798465cbe17
Author: Karl Williamson <>
Date:   Sun Mar 11 14:47:58 2018 -0600

    POSIX.pod: Fix nit

commit f372a2755a54fd59d16f61ed1d687f0b294c046d
Author: Karl Williamson <>
Date:   Sun Mar 11 14:39:04 2018 -0600

    perl.h: White-space, comment changes only

commit e2f2013d0a042602a0c6acb2cdef5d8b6fe48382
Author: Karl Williamson <>
Date:   Fri Mar 9 12:53:13 2018 -0700

    Work around Microsoft threaded locale bug for localeconv()
    Prior to Visual Studio 2015, the localeconv() function only looks at the
    global locale, not the per-thread one it should.  This works around this
    by creating critical sections, switching to the global locale to call
    localeconv(), then switching back.  For the most common usage, it avoids
    the switch by parsing a string it generates that should contain the
    desired substring.  This leaves the switch required for retrieving the
    floating point grouping separator and the currency string, plus
    POSIX::localeconv().  The first two could be avoided by extra code as
    detailed in the pod for switch_to_global_locale(); patches welcome!

commit ce7d7e61665fba2520054bf9fbbac0e31b44973e
Author: Karl Williamson <>
Date:   Fri Mar 9 12:14:43 2018 -0700

    perl.h: Move macros to earlier in the file
    There should be no other differences

commit 03edf2298d9c5a7c2ba33bf4c60a0b7f58a17c3b
Author: Karl Williamson <>
Date:   Thu Mar 8 21:57:52 2018 -0700

    perl.h: Refactor some #defines
    These put the defines dealing with locale critical sections in one
    place, more logically set out.

commit 26d015d8ad47e7773413381ab009e16fdd425f84
Author: Karl Williamson <>
Date:   Fri Mar 9 11:25:58 2018 -0700

    Resync duplicated code in perl.h
    These had gotten out of sync

commit c7713e147f1a676ffb8f4dcef580eae4c8613f34
Author: Karl Williamson <>
Date:   Fri Mar 9 12:06:30 2018 -0700

    Don't create locale object unless threaded
    PL_C_locale_obj is now only created on threaded builds on systems with
    POSIX 2008.  On unthreaded builds, we really should continue to use the
    old tried and true library calls.

commit 290b433a81b338c7970577667017c33d6979c310
Author: Karl Williamson <>
Date:   Thu Mar 8 14:43:23 2018 -0700

    perl.h: Move some locale definitions around
    For clarity, this places these locale definitions that depend solely on
    having locales or not earlier, and by themselves, so don't get mixed up
    with the definitions that have more complicated provenances.
    In moving them, I also changed white space to accepted indentations,
    and vertical alignment.

commit 40e5a79bf7a317f8e74c575de1e3220f5c242506
Author: Karl Williamson <>
Date:   Thu Mar 8 14:32:28 2018 -0700

    perl.h: Rmv dummy definitions
    These macros are core-only, so should generate a compiler error if used
    outside of core, instead of compiling as no-ops.

commit 326acf5b52591173f92ab8f22563cf4f71155e39
Author: Karl Williamson <>
Date:   Fri Mar 9 11:27:28 2018 -0700

    Don't create unneeded mutexes
    These mutexes are needed only for unsafe threaded-locale operations.

commit 447128225cfcffaf5a3107311ec317a5e3b5215f
Author: Karl Williamson <>
Date:   Thu Mar 8 13:00:40 2018 -0700

    Langinfo: Implement CODESET on Windows
    This applies to I18N::Langinfo, and the API function Perl_langinfo.
    Windows doesn't have nl_langinfo, so an emulation is used.  It turns out
    that it is easy to emulate the behavior for the CODESET item on Windows,
    as that vendor has kept things consistent.

commit da8d993a046e10a4967b41e765b31ab663498f12
Author: Karl Williamson <>
Date:   Wed Mar 7 22:48:55 2018 -0700

    PATCH: [perl #127288] I18N::Langinfo sets UTF-8 bit
    This commit will turn UTF-8 on in the returned SV if its string is legal
    UTF-8 containing something besides ASCII, and the locale is a UTF-8 one.
    It is based on the patch included in the ticket, but is generalized to
    handle edge cases.

commit 51f5475a056bacfa94dfe465b765930d15c07868
Author: Karl Williamson <>
Date:   Wed Mar 7 12:11:26 2018 -0700

    perlapi: Clarifications to Perl_langinfo

commit 89ccde974f9151679708ca1549fb568f183e0a51
Author: Karl Williamson <>
Date:   Wed Mar 7 12:08:01 2018 -0700

    APItest/t/locale.t: Store hash return for readability

commit 4d442d3dbfafcc60960b1e2188bff94ddd84cd7b
Author: Karl Williamson <>
Date:   Wed Mar 7 12:05:46 2018 -0700

    APItest/t/locale.t: Sort some tests
    These now appear in the file in their logical order

commit c5ee3b8798df20bb292777dca68cb390831cbade
Author: Karl Williamson <>
Date:   Wed Mar 7 12:04:00 2018 -0700

    I18N::Langinfo: fix pod nits
    Removing trailing space; fix typo, clarify

commit ad3acc4cfe437d87c2c8187b03f3dc8d8cc49a96
Author: Karl Williamson <>
Date:   Thu Mar 8 10:59:53 2018 -0700

    Actually make I18N::Langinfo avail on all platforms
    I thought I had done this earlier, but testing on Windows demonstrated
    that I hadn't.
    While at it, move the details in the docs for Perl_langinfo to the
    module's pod.
    This doesn't follow the paradigm for putting the Configure stuff in all
    the related configure files, but I saw no point to doing so.  If you are
    reading this because I was wrong, feel free to ticket it or fix it.

commit 7984568c90587515b55f13c308a7cd9030ae386b
Author: Karl Williamson <>
Date:   Thu Mar 8 10:51:09 2018 -0700

    Change enum names for new locale function parameters
    Earlier in the 5.27 series, I introduced Perl_langinfo which calls
    the system nl_langinfo() on platforms that have it, and emulates it
    otherwise.  For each enum parameter 'foo', I made an equivalent
    parameter PERL_foo.  I did this so that no conflicts would arise if
    any 'foo' were negative.  This is less than ideal to have to rename the
    In looking further, I realized that perl has always excluded the
    possibility of negative values for 'foo', so my precaution is
    unnecessary.  And before this new code is released is the time to fix up
    the interface.

commit 92b520f309d20ef23db1373fffe993db66536843
Author: Karl Williamson <>
Date:   Fri Feb 23 11:18:56 2018 -0700

    XXX combine with something else pp.c: Add blank line

commit 14206218fff93dda14908f088e2c67384f27c111
Author: Karl Williamson <>
Date:   Wed Feb 14 21:25:41 2018 -0700

    XXX don't push t/un/locale.t: Add debugging code


Perl5 Master Repository

Reply via email to