In perl.git, the branch smoke-me/khw-locale has been created <https://perl5.git.perl.org/perl.git/commitdiff/aac7067939befa745c76acacf3e75cce7d511320?hp=0000000000000000000000000000000000000000>
at aac7067939befa745c76acacf3e75cce7d511320 (commit) - Log ----------------------------------------------------------------- commit aac7067939befa745c76acacf3e75cce7d511320 Author: Karl Williamson <k...@cpan.org> Date: Wed Feb 14 22:50:51 2018 -0700 more14 commit 06e6f80bb87c2c1e79c4f658ca3866db5136dc7c Author: Karl Williamson <k...@cpan.org> Date: Wed Feb 14 21:28:51 2018 -0700 perl.h: Add, revise some locale debugging info commit 599bf143a90cf10b46ce05b3134f808cd4f2705f Author: Karl Williamson <k...@cpan.org> Date: Wed Feb 14 21:25:41 2018 -0700 XXX don't push t/un/locale.t: Add debugging code commit bba9dc7fb513c655667fca0ceac27ec1712ebad7 Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 22:11:51 2018 -0700 XXX merge perl.h comments commit a3ae975483dfcce308c7539b632de021a4c876da Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 12:32:41 2018 -0700 lib/locale_threads.t: Add safe thread test commit 3f602b4ee10add912ec319face1342aa72aaf24e Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 21:42:01 2018 -0700 XXX merge USE_POSIX_2008 defn, emulate_set commit 25a0160e02fc735a955b35a08333ceba20d6839e Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 21:04:04 2018 -0700 XXX merge some locale.c stuff commit 7f7fd9c39f4cc8be3c8cb5b0e52e06a868f2449b Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 20:54:17 2018 -0700 XXX merge, but incomplete: dist/ExtUtils-ParseXS/lib/perlxs.pod commit 6411f0d7599a27ba718ef3124644d8e39d90be10 Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 20:30:32 2018 -0700 XXX merge perllocale commit 039d50ad9cd4bb2356b09eec0bfc5ada1435b370 Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 20:26:17 2018 -0700 XXX merge intrpvar.h PL_curlocales commit ecf615a0e52d18ac3ba302c571f591944c689971 Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 20:23:57 2018 -0700 XXX merge POSIX.pod commit 9591d9ebd127cc0d23ca14edd29b83b27d27b428 Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 20:19:43 2018 -0700 XXX merge PL_curlocales embedvar.h commit 548c2652b10bddcc175be3dde399b0e925649c5e Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 20:18:53 2018 -0700 XXX merge dist/threads/threads.xs commit b6adcaa809c2ca5e0adde3de435660149af5a617 Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 20:16:21 2018 -0700 XXX merge, vutil.h, probably combine with final vutil.c commit 281bf82fa574f30804bf24d4b4c25e07580f8acb Author: Karl Williamson <k...@cpan.org> Date: Wed Jan 17 13:47:17 2018 -0700 XXX merge locale.c: #ifdef'd out code for making thread safe on not equipped platforms commit 711a39dc92dc78ff914a80de80bf35e4eeb9c543 Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 20:09:24 2018 -0700 XXX merge vutil.c commit 9acfa5c8974afe29157ac92849649c676e8595ee Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 15:48:43 2018 -0700 XXX merge: sv.c curlocales dup commit 42b726f7b37536c469f80a08caf103b602bb67c5 Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 15:46:37 2018 -0700 XXX merge threads.pm: docs commit fcb68406b293cdfdd550b93804e517bb1431344b Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 12:35:02 2018 -0700 XXX merge: pod changes commit 735baf38adb197f3ec2e2077a64fef7025b405e7 Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 12:33:55 2018 -0700 XXX merge perl.c: free PL_curlocales commit d08ba5e9f198d46a3e37e480075e757d3f568478 Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 22:01:35 2018 -0700 perl.h: Add dTHX_DEBUGGING which is a NOOP except on DEBUGGING builds commit 2c2c13a90968497e2b1238ad71ae49d0e9573158 Author: Karl Williamson <k...@cpan.org> Date: Tue Feb 13 16:34:27 2018 -0700 underlying commit 79c8a3d1f782b6315fd2b61d6628a1ab9d17f46b Author: Karl Williamson <k...@cpan.org> Date: Tue Feb 13 16:53:43 2018 -0700 perl.h: Add debugging statements for mutex ops commit 6c9621535fcec1a7937627dc99b7ec095ba96634 Author: Karl Williamson <k...@cpan.org> Date: Tue Feb 13 13:12:50 2018 -0700 Latch LC_NUMERIC during critical sections It is possible for operations on threaded perls which don't 'use locale' to still change the locale. This happens when calling POSIX::localeconv() and I18N::Langinfo(), and in earlier perls, it can happen for other operations when perl has been initialized with the environment causing the various locale categories to not have a uniform locale. This commit causes the areas where the locale for this category should predictably be in one or the other state to be a critical section where another thread can't interrupt and change it. This is a separate mutex, so that only these particular operations will be held up. commit a6703f01a240af9792b1550a1e6da9572dbe56df Author: Karl Williamson <k...@cpan.org> Date: Tue Feb 13 16:25:14 2018 -0700 perl.h Move some #defines These are used so that they appear ahead of #include intrpvar.h, so they can be used by that file. This enables this commit to simplify some #ifdefs commit d994f613f3a5c122598eeecf2cfcca6d169aecca Author: Karl Williamson <k...@cpan.org> Date: Mon Feb 5 21:52:54 2018 -0700 Make new_numeric() static This core-only function is now used only in one file. commit 7cf29af4c92f60b1db1ca47b8df6baf95dff0d1e Author: Karl Williamson <k...@cpan.org> Date: Tue Feb 13 12:44:02 2018 -0700 vutil.c: Revise locale version handling This can be called from applications that have changed the locale behind perl's back. Prior to this commit, the code kind of assumed that some things weren't borken, and that it should update perl's records to correspond with the status of things. But this may be an intermediate state, and assuming perl should know about it is assuming too much. We might update perl, and the application restores the state, and control gets transferred back in the wrong state. So simply change the locale to what it needs to be, if necessary, and change back. commit e36e66cb17e21241c5500c3cb8d1c1e3d0e41949 Author: Karl Williamson <k...@cpan.org> Date: Tue Feb 6 10:32:07 2018 -0700 locale.c: Add debugging info This adds some information to a debugging statement, but mostly it adds an audit of the utf8ness cache structure, invoked under -DLv. commit c952b222de8e4af2140c8d16b983b7d5f73b6ff8 Author: Karl Williamson <k...@cpan.org> Date: Wed Feb 14 21:15:40 2018 -0700 Add ${^SAFE_LOCALES} This read-only variable returns a boolean as to whether it is safe to use locales in this perl. Without threads it returns 1; when a future commit adds thread-safe locale handling, it will also return 1 if that is enabled. commit 5e0890acad5a6c55f1c19a7e3a232bf5e6d3b94d Author: Karl Williamson <k...@cpan.org> Date: Wed Feb 14 21:18:52 2018 -0700 Revise when POSIX 2008 ops on FreeBSD It appears that bugs in FreeBSD are not fully fixed until later than we thought, and so this commit updates the hints file to exclude POSIX 2008 operations on releases previously permitted. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211743 commit 6533205cab136893520d2f85581fe947dae67087 Author: Karl Williamson <k...@cpan.org> Date: Wed Feb 14 22:43:51 2018 -0700 Add information to warning msgs If we have nl_langinfo, this adds the codeset it returns to the messages generated when there are anomalies in locales that are coming into effect commit 2b167f6fc2e7d4aca9218eaac2aa69301f157cce Author: Karl Williamson <k...@cpan.org> Date: Wed Feb 14 22:39:47 2018 -0700 locale.c: White-space only This indents properly because of changes in the previous commit commit b88f7dcf4aa5499b69251ec1be964bb51dfb17fd Author: Karl Williamson <k...@cpan.org> Date: Wed Feb 14 22:09:13 2018 -0700 locale.c: Check for anomalies in UTF-8 locales Perl has, for some releases now, checked for anomalies in non-UTF-8 locales and raised warnings if any are found when such a locale actually gets used. This came about because it turns out that vendors have defective locale definitions (that Perl has no control over, besides reporting them as bugs to the proper places). I was surprised to stumble across UTF-8 locales that don't adhere strictly to Unicode, and so this commit now checks for such things and raises an appropriate message. Some of this is understandable because Turkish and related languages have a locale-dependent exemption for them in the Unicode standard, but others are simply defective locale definitions. Perl will use the standard Unicode rules, but the user is now warned that these aren't what the locale specified. An example is that there are some UTF-8 locales where the common punctuation characters like ",", "$" aren't marked as punctuation. commit 73e95581492a67820b13d2d8b50eb8b9ad855f11 Author: Karl Williamson <k...@cpan.org> Date: Wed Feb 14 21:40:24 2018 -0700 locale.c: Rmv unnecessary locale toggle I don't know why this code thought it needed to change to the C locale for LC_CTYPE, in order to output a fully formed warning message, and then to switch back. So remove the toggles. commit 4675e7d6e0db7b95b0df9af62b13c41d26188877 Author: Karl Williamson <k...@cpan.org> Date: Mon Aug 28 18:01:43 2017 -0600 XXX may include other things after final edits: ExtUtils::ParseXS/lib/perlxs.pod: Nits This removes extra blanks following colons that don't mean the normal thing for colons that traditionally have two spaces after them, and capitalizes Perl. ----------------------------------------------------------------------- -- Perl5 Master Repository