Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: d4bf6b07402c770d61a5f8692f24fe944655d99f
https://github.com/Perl/perl5/commit/d4bf6b07402c770d61a5f8692f24fe944655d99f
Author: Karl Williamson <[email protected]>
Date: 2021-08-14 (Sat, 14 Aug 2021)
Changed paths:
M regcharclass.h
M regen/regcharclass.pl
M utf8.c
Log Message:
-----------
utf8.c: Rmv an EBCDIC dependency
This is now generated by regcharclass.pl
Commit: 2e5a4e5adeeaafbc8743371293762d71bf27ea15
https://github.com/Perl/perl5/commit/2e5a4e5adeeaafbc8743371293762d71bf27ea15
Author: Karl Williamson <[email protected]>
Date: 2021-08-14 (Sat, 14 Aug 2021)
Changed paths:
M utf8.c
Log Message:
-----------
utf8.c: Rmv EBCDIC dependency
There are new macros that suffice to make the determination here.
Commit: 22afef87083fc7ad1b066588f5c20637fd387805
https://github.com/Perl/perl5/commit/22afef87083fc7ad1b066588f5c20637fd387805
Author: Karl Williamson <[email protected]>
Date: 2021-08-14 (Sat, 14 Aug 2021)
Changed paths:
M embed.fnc
M inline.h
M proto.h
Log Message:
-----------
is_utf8_valid_partial_char_flags: Use DFA
The DFA macro for determining if a sequence is valid UTF-8 was
deliberately made general enough to accommodate this use-case, in which
only a partial character is acceptable. Change the code to use the DFA.
The helper function's name is changed to indicate it is private
Commit: 22f363ffd253b5142b1138438c30f34da9494d4a
https://github.com/Perl/perl5/commit/22f363ffd253b5142b1138438c30f34da9494d4a
Author: Karl Williamson <[email protected]>
Date: 2021-08-14 (Sat, 14 Aug 2021)
Changed paths:
M embed.fnc
M embed.h
M inline.h
M proto.h
M utf8.c
M utf8.h
Log Message:
-----------
Make macro isUTF8_CHAR_flags an inline fcn
This makes it use the fast DFA for this functionality.
Commit: 1aa501c28abd51b6253fb6da3caeee66320bf274
https://github.com/Perl/perl5/commit/1aa501c28abd51b6253fb6da3caeee66320bf274
Author: Karl Williamson <[email protected]>
Date: 2021-08-14 (Sat, 14 Aug 2021)
Changed paths:
M embed.fnc
M embed.h
M inline.h
M proto.h
M utf8.c
Log Message:
-----------
utf8.c: Refactor is_utf8_char_helper()
Now that the DFA is used by the only callers to this to eliminate the
need to check for e.g., wrong continuation bytes, this function can be
refactored to use a switch statement, which makes it clearer, shorter,
and faster.
The name is changed to indicate its private nature
Commit: 8010ec0d7b7fb009f75158aa28868fa2f07a4a58
https://github.com/Perl/perl5/commit/8010ec0d7b7fb009f75158aa28868fa2f07a4a58
Author: Karl Williamson <[email protected]>
Date: 2021-08-14 (Sat, 14 Aug 2021)
Changed paths:
M utf8.c
Log Message:
-----------
utf8.c: Use macros instead of reinventing them
Commit: 9be343bf32d0921e5c792cbaa2b0038f43c6e463
https://github.com/Perl/perl5/commit/9be343bf32d0921e5c792cbaa2b0038f43c6e463
Author: Karl Williamson <[email protected]>
Date: 2021-08-14 (Sat, 14 Aug 2021)
Changed paths:
M utf8.c
Log Message:
-----------
utf8.c: Rmv #undef
This is unnecessary in a .c file, and the code it referred to has been
moved away.
Compare: https://github.com/Perl/perl5/compare/8c87dbc398d8...9be343bf32d0