Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 6eb62d23ae68de0cdc243b0ef1603fc8e4fdf9b5
https://github.com/Perl/perl5/commit/6eb62d23ae68de0cdc243b0ef1603fc8e4fdf9b5
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
M numeric.c
M regcomp.c
M regexec.c
Log Message:
-----------
Change handy.h macro names to be C standard conformant
C reserves symbols beginning with underscores for its own use. This
commit moves the underscore so it is trailing, which is legal. The
symbols changed here are most of the ones in handy.h that have few uses
outside it.
Commit: 8a39b40f7807c1389b308c44bcb00a9b154db72b
https://github.com/Perl/perl5/commit/8a39b40f7807c1389b308c44bcb00a9b154db72b
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Remove the only 2 calls to internal macro
Replace isIDFIRST_LC and isWORD_CHAR_LC isIDFIRST_LC with slightly
faster implementations.
Commit: 3f0486a381e33e966195a4eb64211e4e8aa2a32d
https://github.com/Perl/perl5/commit/3f0486a381e33e966195a4eb64211e4e8aa2a32d
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Refactor some #ifdef's for commonality
This changes these compilation conditionals so that things in common
between Windows and other platforms are only defined once.
It changes the isIDFIRST_LC and isWORDCHAR_LC definitions for
non-Windows to match that platform superficially, though expanding to
what it previously did to.
Commit: af48e60e2d4b6381d124deb9441a532a0e9e6e88
https://github.com/Perl/perl5/commit/af48e60e2d4b6381d124deb9441a532a0e9e6e88
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Add some branch predictions
Commit: 81d43abf933b370241d24678f4ea5c515a37421d
https://github.com/Perl/perl5/commit/81d43abf933b370241d24678f4ea5c515a37421d
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: White-space, comment only
Commit: 5bf5e40b412e024945b916ee4d0a0b8cac2decda
https://github.com/Perl/perl5/commit/5bf5e40b412e024945b916ee4d0a0b8cac2decda
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Don't use char class if no LC_CTYPE
It is possible to compile perl to not pay attention to LC_CTYPE. This
was testing for no locales at all; whereas the stricter requirement
should be used.
Commit: 91456fff21e82fb5e4202c84a0c4ae13dbccdee7
https://github.com/Perl/perl5/commit/91456fff21e82fb5e4202c84a0c4ae13dbccdee7
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M charclass_invlists.h
M handy.h
M l1_char_class_tab.h
M lib/unicore/uni_keywords.pl
M perl.c
M perl.h
M regcomp.c
M regcomp.h
M regen/mk_PL_charclass.pl
M regexec.c
M sv.c
M uni_keywords.h
Log Message:
-----------
Change handy.h macro names to be C standard conformant
C reserves symbols beginning with underscores for its own use. This
commit moves the underscore so it is trailing, which is legal. The
symbols changed here are many of the ones in handy.h that have
significant uses outside it.
Commit: 2aa3d949d9d73dd14389e3d5e95017c1dfde13e6
https://github.com/Perl/perl5/commit/2aa3d949d9d73dd14389e3d5e95017c1dfde13e6
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Rmv internal macro
LC_CAST_ was my attempt at generality, but I didn't realize that the
POSIX standard specifies the type that this was meant to generalize, so
there isn't any need for it.
Commit: 53049083d3aadeb9e4c06d2185b2008b97f311ed
https://github.com/Perl/perl5/commit/53049083d3aadeb9e4c06d2185b2008b97f311ed
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Refactor some internal macros
This changes the parameters etc, in preparation for further changes
Commit: cfe7bb26390e8266d86ba803a4e68aaaf06b32f6
https://github.com/Perl/perl5/commit/cfe7bb26390e8266d86ba803a4e68aaaf06b32f6
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Rmv unnecessary parameter to internal macros
The cast is required to be U8 by the POSIX standard. There is no need
to have this added generality.
Commit: 837a524d9a79be513109b0e53dd6151bf2defb10
https://github.com/Perl/perl5/commit/837a524d9a79be513109b0e53dd6151bf2defb10
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: #define one macro in terms of another
These two macros are equivalent as folding and lowercasing are the same
for this input domain. Better to say so rather than to replicate the
definitions.
Commit: d277535a2cfe9b65b5df8d581f3a2a02b7880e16
https://github.com/Perl/perl5/commit/d277535a2cfe9b65b5df8d581f3a2a02b7880e16
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
No locales => don't use isspace(), toLower() etc.
This commit changes what happens on platforms without locale handling to
use our precomputed definitions of what the various character class
definitions and case changing operations are. Previously, it just
called the libc locale-dependent functions and made sure the result was
ASCII. I think this is a holdover from before we had the precomputed
definitions
Commit: ef620431e6b6679423d762667ac461f7d0ba7fd2
https://github.com/Perl/perl5/commit/ef620431e6b6679423d762667ac461f7d0ba7fd2
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Collapse two sets of macros
By redefining a wrapper macro used in one set based on compile-time
info; the other set can be defined in terms of it, and the separate
entries removed.
Commit: 4a283f4fd171ac8daa68fa3ebacb9aef8d126283
https://github.com/Perl/perl5/commit/4a283f4fd171ac8daa68fa3ebacb9aef8d126283
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Move some macro defns around
This is to make the difference listing in future commits smaller.
This change includes some comment changes, and some extra parens around
some subexpressions
Commit: 31e89ad7f626c707a0da1096752d16613f5a98a8
https://github.com/Perl/perl5/commit/31e89ad7f626c707a0da1096752d16613f5a98a8
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Collapse some macros
These 3 sets of macros can be collapsed trivially into 3 macros.
Commit: 6d432bcf16b2ea3416cf326f79cd4f521601142d
https://github.com/Perl/perl5/commit/6d432bcf16b2ea3416cf326f79cd4f521601142d
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Add wrapper layer macros for isalnum() etc
This adds a new set of macros, forming a lower layer to what is currently
there, to wrap the character classification libc functions, isdigit()
etc, and case changing ones, tolower(), toupper().
On most platforms these expand simply to the libc function call. But on
Windows, they expand to something more complex, to bring the Windows
calls into POSIX compliance. Similarly, but not as extensive, IBM
products have some non-compliant behavior, and one macro is made more
comples to fix that. Previously compliance was achieved at a higher
level, with the result that lower level calls were broken. This
resulted in parts of the test suite being skipped on Windows and IBM,
which remain for now.
The current level is rewritten to use the new lower layer, with the
result that it is simpler, as the complexity is now done further down.
Commit: 8fd8ea433fb12e11f83365f8deb205f454abf46c
https://github.com/Perl/perl5/commit/8fd8ea433fb12e11f83365f8deb205f454abf46c
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Add isCASED_LC
As a convenience to other code.
Commit: 33bdb9d365b93e59fc6d3c78402989659bb7ad37
https://github.com/Perl/perl5/commit/33bdb9d365b93e59fc6d3c78402989659bb7ad37
Author: Karl Williamson <[email protected]>
Date: 2022-06-12 (Sun, 12 Jun 2022)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Add layer for char classification/case change
This layer currently expands to just the layer below it, but that will
be changed in a future commit.
Compare: https://github.com/Perl/perl5/compare/f88fd00517a4...33bdb9d365b9