Branch: refs/heads/yves/ws_cleanup_headers
Home: https://github.com/Perl/perl5
Commit: d4d33308b6cca001a7c7d3cd8b78b7c41ce1016b
https://github.com/Perl/perl5/commit/d4d33308b6cca001a7c7d3cd8b78b7c41ce1016b
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M dquote.c
M op.c
M os2/os2ish.h
M perl.h
M t/porting/diag.t
Log Message:
-----------
porting/diag.t - improved parsing a bit
The "multiline" logic of diag.t was getting confused by define
statements that would define a symbol to call an error function but not
end in ";", this would then slurp potentially many lines errorenously,
potentially absorbing more than one message. The multi-line logic also
would undef $listed_as and lose the diag_listed_as data in some
circumstances.
Fixing those issues revealed some interesting cases. To fix one of them
I defined a new noop macro in perl.h to help: PERL_DIAG_WARN_SYNTAX(),
which helps the diag.t parser identify messages without needing to be
actually part of a specific message line. These macros are noops, they
just return their argument, but they help hint to diag.t what is going
on. Maybe in the future this can be reworked to be more generic, there
are other similar cases that are not covered.
Interestingly fixing this bug meant that at least one message that used
to be erroneously picked up was no longer identified or tested. This was
replaced with a PERL_DIAG_DIE_SYNTAX() wrapper.
Commit: 7ac337b308f33caaca23ed5902a6bccfc8bc940e
https://github.com/Perl/perl5/commit/7ac337b308f33caaca23ed5902a6bccfc8bc940e
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M regen/regcomp.pl
Log Message:
-----------
regen/regcomp.pl - make robust to line continuations in header files
I noticed that tests fail if some of these defines are changed to use a
line continuation. This fixes the problem.
Commit: c7789bc95909da31e5b593c7fbd20bcd26cab9b9
https://github.com/Perl/perl5/commit/c7789bc95909da31e5b593c7fbd20bcd26cab9b9
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M ext/XS-APItest/t/locale.t
Log Message:
-----------
XS-APItest/t/locale.t - deal with indented values properly
Commit: 268da941481731f536f711b654fd31290f3d2c89
https://github.com/Perl/perl5/commit/268da941481731f536f711b654fd31290f3d2c89
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M perl.h
Log Message:
-----------
perl.h - remove duplicated code from commented explanation
Commit: 5dc1adfb2a8d6a6b83c8803e7d172e6bfbea217b
https://github.com/Perl/perl5/commit/5dc1adfb2a8d6a6b83c8803e7d172e6bfbea217b
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M intrpvar.h
Log Message:
-----------
intrpvar.h - change "char * *" into "char **"
Uniformity in such things is good.
Commit: b215c5bc937ae63774a808240037156c9782a321
https://github.com/Perl/perl5/commit/b215c5bc937ae63774a808240037156c9782a321
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M intrpvar.h
Log Message:
-----------
intrpvar.h - move size declaration to a define
so it can be reused and so the PERLVAR() lines up better.
Commit: d55b2ef19eb2c94775939d810f6e977375bfb173
https://github.com/Perl/perl5/commit/d55b2ef19eb2c94775939d810f6e977375bfb173
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M perlvars.h
Log Message:
-----------
perlvars.h - move length computation to a define
So it can be reused if necessary, also because it makes
parsing PERLVARx() statements easier, this is the only
place where such a definition has a parameter that contains
a parenthesis. Moving it to a define makes it easier to
parse these statements externally in some ways.
Commit: b4e3cf884151e14e4a4a7a6cb7005936e9c3c9ce
https://github.com/Perl/perl5/commit/b4e3cf884151e14e4a4a7a6cb7005936e9c3c9ce
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M regexp.h
Log Message:
-----------
regexp.h - move semicolon to be before the comment.
This is the only struct in our manually maintained files where
there is a comment in front of the semicolon instead of after it.
Commit: 6b62d56ac66d6f72d54bcc4d46d159c90aea8584
https://github.com/Perl/perl5/commit/6b62d56ac66d6f72d54bcc4d46d159c90aea8584
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M XSUB.h
Log Message:
-----------
XSUB.h - put STMT_END on its own line and lined up with STMT_START
Commit: f159e0f9ce7ed56662b8d0a71378b2b64fb558ad
https://github.com/Perl/perl5/commit/f159e0f9ce7ed56662b8d0a71378b2b64fb558ad
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M perl.h
Log Message:
-----------
perl.h - put STMT_END on its own line, and lined up with STMT_START
Commit: 381c6f1d60ea24dce5ae5335ffcaca7390e10980
https://github.com/Perl/perl5/commit/381c6f1d60ea24dce5ae5335ffcaca7390e10980
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M regexp.h
Log Message:
-----------
regexp.h - put STMT_END on its own line and lined up with STMT_START
Commit: 0aa2a9e141fb5b91c82887680024a8decf08a664
https://github.com/Perl/perl5/commit/0aa2a9e141fb5b91c82887680024a8decf08a664
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M regcomp.h
Log Message:
-----------
regcomp.h - put STMT_START on its own line and lined up with STMT_END
Commit: a61e4be06e3b74c3c6a53e940deadeda31c5a91c
https://github.com/Perl/perl5/commit/a61e4be06e3b74c3c6a53e940deadeda31c5a91c
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M pp.h
Log Message:
-----------
pp.h - put STMT_END on its own line and lined up STMT_START
Commit: 32f4932f1cdf559d525a0c11af23d2f75d63354e
https://github.com/Perl/perl5/commit/32f4932f1cdf559d525a0c11af23d2f75d63354e
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M XSUB.h
Log Message:
-----------
XSUB.h - line up properly
and make sure they are shorter than 80 cols
Commit: 189d84d2f4f2db086d70f8fb6575b337f231e77c
https://github.com/Perl/perl5/commit/189d84d2f4f2db086d70f8fb6575b337f231e77c
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M EXTERN.h
M INTERN.h
M XSUB.h
M av.h
M cop.h
M cv.h
M dosish.h
M fakesdio.h
M gv.h
M handy.h
M hv.h
M hv_func.h
M hv_macro.h
M inline.h
M intrpvar.h
M invlist_inline.h
M iperlsys.h
M mg.h
M mydtrace.h
M op.h
M op_reg_common.h
M pad.h
M parser.h
M perl.h
M perl_inc_macro.h
M perl_siphash.h
M perlio.h
M perliol.h
M perlvars.h
M pp.h
M regcomp.h
M regexp.h
M sbox32_hash.h
M scope.h
M sv.h
M sv_inline.h
M thread.h
M time64_config.h
M unixish.h
M utf8.h
M utfebcdic.h
M util.h
M vutil.h
M zaphod32_hash.h
Log Message:
-----------
(1) simple ws fixups
Commit: 3a50183228988dbbdfbcd1ab5b686277c476db6c
https://github.com/Perl/perl5/commit/3a50183228988dbbdfbcd1ab5b686277c476db6c
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M XSUB.h
M cop.h
M cv.h
M dosish.h
M gv.h
M handy.h
M hv.h
M hv_func.h
M hv_macro.h
M inline.h
M iperlsys.h
M op.h
M op_reg_common.h
M perl.h
M perl_inc_macro.h
M pp.h
M regcomp.h
M regexp.h
M sbox32_hash.h
M scope.h
M sv.h
M thread.h
M utf8.h
M utfebcdic.h
M util.h
M vutil.h
M zaphod32_hash.h
Log Message:
-----------
(2) break long define
Commit: 25243e2c74f0b1a723ccb9752a852e0a0cc28a1c
https://github.com/Perl/perl5/commit/25243e2c74f0b1a723ccb9752a852e0a0cc28a1c
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M XSUB.h
M av.h
M cop.h
M cv.h
M gv.h
M handy.h
M hv.h
M hv_func.h
M hv_macro.h
M inline.h
M iperlsys.h
M mg.h
M op.h
M pad.h
M perl.h
M perl_inc_macro.h
M pp.h
M regcomp.h
M regexp.h
M sbox32_hash.h
M scope.h
M sv.h
M sv_inline.h
M unixish.h
M utf8.h
M zaphod32_hash.h
Log Message:
-----------
(3) break multiline define
Commit: f99bfd81ed3fcdd524b80e48a9651d333a037902
https://github.com/Perl/perl5/commit/f99bfd81ed3fcdd524b80e48a9651d333a037902
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M EXTERN.h
M INTERN.h
M XSUB.h
M av.h
M cop.h
M cv.h
M dosish.h
M fakesdio.h
M gv.h
M handy.h
M hv.h
M hv_func.h
M hv_macro.h
M inline.h
M intrpvar.h
M invlist_inline.h
M iperlsys.h
M mg.h
M nostdio.h
M op.h
M pad.h
M parser.h
M perl.h
M perl_inc_macro.h
M perl_langinfo.h
M perlio.h
M perlvars.h
M pp.h
M regcomp.h
M regexp.h
M scope.h
M sv.h
M sv_inline.h
M thread.h
M time64.h
M time64_config.h
M unixish.h
M utf8.h
M util.h
Log Message:
-----------
(4) join short continuations
Commit: 2254b38ff97cd528793a47fca28b2359c0027357
https://github.com/Perl/perl5/commit/2254b38ff97cd528793a47fca28b2359c0027357
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M av.h
M cop.h
M handy.h
M hv_macro.h
M op.h
M perl.h
M regcomp.h
M regexp.h
M sv.h
M util.h
Log Message:
-----------
(5) line up simple defs
Commit: e3ab7e2b5d3e831d34aa4197f092528336ffeacd
https://github.com/Perl/perl5/commit/e3ab7e2b5d3e831d34aa4197f092528336ffeacd
Author: Yves Orton <[email protected]>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M av.h
M cop.h
M cv.h
M gv.h
M hv.h
M malloc_ctl.h
M mg.h
M op.h
M pad.h
M parser.h
M perl.h
M perliol.h
M regcomp.h
M regexp.h
M sv.h
M sv_inline.h
M time64.h
Log Message:
-----------
(6) reformat structs
Compare: https://github.com/Perl/perl5/compare/178a0c8a52c1...e3ab7e2b5d3e