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

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

        at  b27be7167f559976d8caa05a9f12ecb472d72926 (commit)

- Log -----------------------------------------------------------------
commit b27be7167f559976d8caa05a9f12ecb472d72926
Author: Karl Williamson <[email protected]>
Date:   Mon Jul 29 13:44:42 2013 -0600

    smoke

M       lib/locale.t

commit fcc4fcad871785348531afa331f7a478a89ab1b1
Author: Karl Williamson <[email protected]>
Date:   Mon Jul 29 13:42:20 2013 -0600

    smoke

M       lib/locale.t

commit 14280b278eac03cff892636925389740c71ca39f
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 27 22:05:14 2013 -0600

    locale.c: Rmv unused variable

M       locale.c

commit aa144f7d8db318b44ef8d242ec6aa348c3aec060
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 27 14:02:40 2013 -0600

    lib/locale.t: White-space only
    
    Outdent code that no longer is in a block

M       lib/locale.t

commit d6d033901ce1ddcf58a5c799013a8331df9d1b77
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 27 13:57:04 2013 -0600

    lib/locale.t: Don't skip certain tests
    
    The removed code caused tests to be skipped when the locale doesn't add
    any \w characters beyond the C locale.  That meant in practice these
    tests were likely skipped only for the C and POSIX locales.  The problem
    is that doing this required extra complexity in figuring out how many
    tests to skip.  Removing this makes the code easier to understand and
    maintain.

M       lib/locale.t

commit ec5e4d6c55375e413c94a90dea2ed9e4d7dcf875
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 27 13:53:12 2013 -0600

    lib/locale.t: Remove useless test.
    
    This test verified that certain things matched \w.  However the list of
    those things was assembled by matching \w in the first place.  So it
    tested nothing new.

M       lib/locale.t

commit 3c613293948853d21430c87196bae0c0b46e527f
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 27 13:48:33 2013 -0600

    lib/locale.t: Add a bunch of tests.
    
    These test that various relationships that POSIX specifies are met in
    each locale, including that a class and its complement are mutually
    exclusive, that some classes are subsets of another (like [:upper:]
    being a subset of [:alpha:]), and that some things can't be in two
    conflicting classes (such as [:print:] and [:cntrl:]).

M       lib/locale.t

commit 90fd5e14ae0af44e092347a9681a462bb46a75d0
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 27 13:43:50 2013 -0600

    lib/locale.t: Better debug output
    
    This adds infrastructure and uses it to report the individual characters
    that fail tests.

M       lib/locale.t

commit ed8e70beb91462ebc3644d2e4289b7ac8acce834
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 27 13:38:18 2013 -0600

    lib/locale.t: Add test name to debug output
    
    This makes it easier to understand what is going wrong.

M       lib/locale.t

commit 1e928971d456aeaf2346da470113ec514a7142ba
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 20 12:12:01 2013 -0600

    lib/locale.t: Add omitted test cases
    
    The tests were failing to include caseless alphabetic characters;
    many languages are not cased..

M       lib/locale.t

commit 63449e9620e8a7d17bbf62942724086fee9e1576
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 20 12:03:11 2013 -0600

    lib/locale.t: Rename some internal elements
    
    I have never understood what 'neoalpha' meant.  I believe it is actually
    neo - alpha, But when I read it, I don't notice the 'a' and see it as
    "n-end-of-line".  This renames it to something I can understand.

M       lib/locale.t

commit 24ae11f032c538aa1de96d9ed5d6bd3562cea6eb
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 20 11:49:01 2013 -0600

    lib/locale.t: Add comments; clarify some test names
    
    I had to really study what these tests were doing; the new names are
    clearer.

M       lib/locale.t

commit 52f5aad9b5fa883bb95533f5a167b4269ab07f28
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 20 11:37:55 2013 -0600

    lib/locale.t: Allow turning on debug via env
    
    Instead of having to edit the file to turn on debug mode, additionally
    allow the use of an environment variable.  This makes it more
    convenient to ask someone in the field to run the test.

M       lib/locale.t

commit c748586c5105afe9529028bc896413d1731b54fd
Author: Karl Williamson <[email protected]>
Date:   Sun Jul 14 20:38:17 2013 -0600

    More changes to perllocale and POSIX.pod setlocale
    
    These address some concerns from John Peacock.

M       ext/POSIX/lib/POSIX.pod
M       pod/perllocale.pod

commit 437bc8dba6cdff452afa6e1390ccb0a7de3af6ff
Author: Karl Williamson <[email protected]>
Date:   Sat Jul 13 13:43:31 2013 -0600

    Assume UTF-8 locale if that string occurs anywhere in name
    
    When a platform doesn't have nl_langinfo(), heuristics are employed
    to see if a locale is UTF-8 .  The first heuristic is looking at the
    return value of setlocale(), which generally is the locale name.
    However, in actuality the return value is opaque and can't be relied on
    to signify the locale.  Nevertheless if it contains the string UTF-8
    (ignoring case, and with the hyphen optional), it is a safe bet that the
    locale is indeed UTF-8.  Prior to this patch, we only looked at the end
    of the name for "UTF-8".  This patch makes it not have to be
    right-anchored.  There are UTF-8 locales on our dromedary machine with
    UTF-8 in the middle of their names.

M       locale.c
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to