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

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

        at  cf753a284cf92afc913b9731044c157be56f3b3a (commit)

- Log -----------------------------------------------------------------
commit cf753a284cf92afc913b9731044c157be56f3b3a
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 b9d291a8b6ff531d1c0c4dd0fc0dbcd770b560f8
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 46a366938836c09c2e434e400b1f24a6f961d049
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 00859117a62d354980e012a8e1409f0785141c8f
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 8a1a5e1a72c3c6ae4ce9aa7fe45bdd7d5a5ff17f
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 bd98d2831e5429fb72d8e1386b6bd6bafcb77430
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 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