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

<http://perl5.git.perl.org/perl.git/commitdiff/875a57f183ac1c46e31889e2c32aa0b7cfb17043?hp=0000000000000000000000000000000000000000>

        at  875a57f183ac1c46e31889e2c32aa0b7cfb17043 (commit)

- Log -----------------------------------------------------------------
commit 875a57f183ac1c46e31889e2c32aa0b7cfb17043
Author: Karl Williamson <[email protected]>
Date:   Sun Oct 23 22:03:08 2016 -0600

    lib/locale.t: Skip testing known incompatible locales
    
    Some locales are incompatible with Perl.  The only multi-byte locale
    accepted, are UTF-8 ones, for example.  ISO 646 ones also can have
    things like a '|' be a \w, which will create havoc with regular
    expressions.  This commit causes locale.t to not test such locales, and
    to note which ones are skipped, and why.  Doing the tests can create
    segfaults.  For example locales with state can have their states screwed
    up by Perl, which knows nothing about that.  One could argue that the
    locale should be immune from bad state, and not segfault, but that is
    not under Perl's control, and we will get blamed initially, anyway, when
    a segfault happens.
    
    The multi-byte locales are more incompatible with Perl than the 7-bit
    locales that aren't ASCII compatible.  So it could be argued that those
    should be tested, but I don't want to undertake the work to separate out
    the two causes from each other.  The ISO 646 locales are essentially
    obsolete, and there would be little pay off for doing that work.

M       lib/locale.t

commit dfeee4b0d2f1f5eb4663246527fce728d64283e2
Author: Karl Williamson <[email protected]>
Date:   Sun Oct 23 22:02:13 2016 -0600

    lib/locale.t: Add skip(), fail() functions

M       lib/locale.t

commit f3f8d4f3a7f2d624879904964b8ca5c93706e4f0
Author: Karl Williamson <[email protected]>
Date:   Sun Oct 23 21:27:33 2016 -0600

    t/loc_tools.pl: Complement sense of optional parameter
    
    Most often we want to only look at locales that are compatible with
    Perl.  Make that the default for the optional parameter.

M       ext/POSIX/t/wrappers.t
M       lib/locale_threads.t
M       t/loc_tools.pl
M       t/run/locale.t

commit d3a8c394348af52c008ad67a6b9d97ce3c3a5414
Author: Karl Williamson <[email protected]>
Date:   Sun Oct 23 21:18:20 2016 -0600

    t/loc_tools.pl: Fix not catching incompatible locales
    
    This is looking for a warning generated by the core when a setlocale is
    done to one that it deems incompatible with Perl.  However, the warning
    isn't generated unless locales are being used, as Perl mostly ignores
    locales, so even if the background one is incompatible, it doesn't
    matter.

M       t/loc_tools.pl

commit 8f7433d04c3b2d7a869be189de06500303c99972
Author: Karl Williamson <[email protected]>
Date:   Sun Oct 23 10:50:09 2016 -0600

    locale.c: Output warning if debugging and 'no warnings'
    
    This message is helpful if -DL even if warnings are off

M       locale.c

commit 3a13e5318cc914c98bfcfd651e4fe2d7c685ba40
Author: Karl Williamson <[email protected]>
Date:   Sun Oct 23 22:12:12 2016 -0600

    pod/perllocale: Add caution about incompatible locales
    
    Some locales aren't compatible with Perl.  Note the potential bad
    consequences of using them.

M       pod/perllocale.pod

commit d0c3499e8846089436807bfd764f97bc1b27d8af
Author: Karl Williamson <[email protected]>
Date:   Sat May 28 21:47:30 2016 -0600

    Move bulk of POSIX::setlocale to locale.c
    
    This is the first step in making an XS callable setlocale() which
    is generalized to work with POSIX 2008 locale operations while retaining
    essentially the same API.

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

commit af3b9105407a88fc36c3074bfd8aa19866cb404f
Author: Karl Williamson <[email protected]>
Date:   Thu Jul 21 22:05:56 2016 -0600

    p2008

M       locale.c

commit e9efaa9ad0b80d1ae2bd9b911ed63c3d169539e8
Author: Karl Williamson <[email protected]>
Date:   Tue Aug 9 22:36:37 2016 -0600

    kid51 debug statements

M       locale.c

commit 29f5399a7d320a36f2667fa3ccec9b608f5773dd
Author: Karl Williamson <[email protected]>
Date:   Wed Aug 10 12:08:01 2016 -0600

    XXX wait until can write diag msg showing how to override: perl.c: Add 
error test for locale

M       perl.c
M       pod/perldiag.pod
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to