In perl.git, the branch smoke-me/khw-mktables has been created
<http://perl5.git.perl.org/perl.git/commitdiff/bb364f5ce95799afa465601da1b6d19504a668ba?hp=0000000000000000000000000000000000000000>
at bb364f5ce95799afa465601da1b6d19504a668ba (commit)
- Log -----------------------------------------------------------------
commit bb364f5ce95799afa465601da1b6d19504a668ba
Author: Karl Williamson <[email protected]>
Date: Tue Dec 31 22:41:39 2013 -0700
numeric.c: Use macros instead of strchr()
This replaces uses of strchr() (and hence its loop) with a simple array
lookup, mask, and branch. There is a downside in the hex decoding case,
an extra branch is used to get the hex value instead of a subtract.
However these two branches are likely to be fewer than the ones in
strchr().
M numeric.c
commit a94909185e4e8261b0e9c7253958db02440726e7
Author: Karl Williamson <[email protected]>
Date: Tue Dec 31 22:35:46 2013 -0700
handy.h: Add two macros
handy.h contains a "handy" macro that reads a hex digit and returning
its value with fewer branches than one might expect. This commit just
copies and modifies it to create two macro for 1) just converting the
hex value, without advancing the input; and 2) doing the same for an
octal value.
M handy.h
commit ebcd788fe4c7eb01971e57307bfc6f1644d419ff
Author: Karl Williamson <[email protected]>
Date: Tue Dec 31 22:19:45 2013 -0700
handy.h: Add debugging assertion
This macro requires the input to be a hex digit, without testing. It is
prudent to assert that under DEBUGGING.
M handy.h
commit af251cc5828443c08f5f6cb0e5209a6ce0d17483
Author: Karl Williamson <[email protected]>
Date: Tue Dec 31 22:13:06 2013 -0700
Move a macro from utf8.h to handy.h for wider use.
Future commits will want this available outside utf8.h
M handy.h
M utf8.h
commit 4fa9b02d02d6c920e957c6fc6ce68f1adb9c4040
Author: Karl Williamson <[email protected]>
Date: Tue Dec 31 21:57:53 2013 -0700
regen/warnings.pl: Add comments
These note that warnings categories should be independent in the calls
to ckWARN() and packWARN() type macros.
M regen/warnings.pl
M warnings.h
commit a4d2f628f5d738c0f092cf8a1b1fa3d56488a334
Author: Karl Williamson <[email protected]>
Date: Tue Dec 31 22:05:45 2013 -0700
ext/XS-APItest/t/utf8.t: White-space only
Indent and reflow to fit into 79 columns due to a new enclosing block in
the previous commit
M ext/XS-APItest/t/utf8.t
commit b4a888500a2533ae3f1c5d460bb16757c5a208b1
Author: Karl Williamson <[email protected]>
Date: Tue Dec 31 21:45:54 2013 -0700
utf8.c: Fix warning category and subcategory conflicts
The warnings categories non_unicode, nonchar, and surrogate are all
subcategories of 'utf8'. One should never call a packWARN() with both a
category and a subcategory of it, as it will mean that one can't
completely make the subcategory independent. For example,
use warnings 'utf8';
no warnings 'surrogate';
surrogate warnings will be output if they are tested with a
ckWARN2(WARN_UTF8, WARN_SURROGATE);
utf8.c was guilty of this.
M ext/XS-APItest/t/utf8.t
M pod/perldiag.pod
M utf8.c
commit 526b180e400cb717913522f08e97a5c1ced0dd3c
Author: Karl Williamson <[email protected]>
Date: Tue Dec 31 21:41:09 2013 -0700
utf8.c: Don't do redundant test
The test here for WARN_UTF8 is redundant, as only if one of the other
three warning categories is enabled will anything actually be output.
M utf8.c
commit d1d27b619e98dfd3e0e9522acf69d171156ff5ae
Author: Karl Williamson <[email protected]>
Date: Tue Dec 31 21:37:52 2013 -0700
utf8.c: Typo in comment, and clarification
M utf8.c
commit c56a10ab32dc3ef93eafd7aeb04f1b66c585d156
Author: Karl Williamson <[email protected]>
Date: Tue Dec 31 12:30:35 2013 -0700
Unicode::UCD::prop_aliases(): Don't generate spurious warnings
Certain inputs to prop_aliases caused spurious warning.
M lib/Unicode/UCD.pm
M lib/Unicode/UCD.t
commit 1fd0bdb076a86503342c4bd6db41a0de16c0d9c8
Author: Karl Williamson <[email protected]>
Date: Sat Dec 21 19:08:46 2013 -0700
XXX Draft patch to get Unicode::Normalize to depend on unicore files
M cpan/Unicode-Normalize/Makefile.PL
-----------------------------------------------------------------------
--
Perl5 Master Repository