Branch: refs/heads/yves/ws_cleanup_headers
  Home:   https://github.com/Perl/perl5
  Commit: 70ff313113863fa9e7538db1360b5460cb14edb7
      
https://github.com/Perl/perl5/commit/70ff313113863fa9e7538db1360b5460cb14edb7
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 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.

For instance, some of the defines that are parsed by this code are
rather long and if they get broken into a multiline statement with
C pre processor style line continuations they would get dropped from
regnodes.h and our debug output.


  Commit: 7b62ca1a4265147f15be723830b3626dba923d28
      
https://github.com/Perl/perl5/commit/7b62ca1a4265147f15be723830b3626dba923d28
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M ext/XS-APItest/t/locale.t

  Log Message:
  -----------
  XS-APItest/t/locale.t - deal with indented values properly

The old code used a regex that would split on exactly one space, so if
the data was changed to have more than one then it would get absorbed
into the name that was parsed out of the header file, leading the code
to test for things like "FOO ", which of course don't exist. Likely this
could have caused other issues too, but the defines in practice are
single symbols.


  Commit: bc152023bc479ea4d5f7883dd129dfa758df7f08
      
https://github.com/Perl/perl5/commit/bc152023bc479ea4d5f7883dd129dfa758df7f08
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M XSUB.h

  Log Message:
  -----------
  XSUB.h - line up properly

and make sure they are shorter than 80 cols


  Commit: 2faf97d6f27162f32864699dbc1e67f6d899f421
      
https://github.com/Perl/perl5/commit/2faf97d6f27162f32864699dbc1e67f6d899f421
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h - remove unused macros

None of these are used anymore. See c62fdeb784c7643c90d2ea8c2ec0f03a548da338
for more details.


  Commit: f898450b9512e5b52bb8c672c07f7fa3d3a6a2b2
      
https://github.com/Perl/perl5/commit/f898450b9512e5b52bb8c672c07f7fa3d3a6a2b2
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M perlio.h

  Log Message:
  -----------
  perlio.h - break long comment line


  Commit: 65809fec57a5ad3d8cfd23cc133a03a4d24d4a91
      
https://github.com/Perl/perl5/commit/65809fec57a5ad3d8cfd23cc133a03a4d24d4a91
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M cop.h

  Log Message:
  -----------
  cop.h - fix incorrect var name in comment (PL_in_eval)

Someone missed an '_' in the name in the comment, the correct
name is 'PL_in_eval' not 'PL in_eval'.


  Commit: 8f47355c840efd6a77e4d8ff2d37baa9bcab7429
      
https://github.com/Perl/perl5/commit/8f47355c840efd6a77e4d8ff2d37baa9bcab7429
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h - join a comment together into one line

a later commit will resplit this again


  Commit: a3428f4a8905a05c81bad80650bf980aebc78f34
      
https://github.com/Perl/perl5/commit/a3428f4a8905a05c81bad80650bf980aebc78f34
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M utfebcdic.h

  Log Message:
  -----------
  utfebcdic.h - fix comment indent


  Commit: 5bccd036a1c60e3f1578dc572f445bd29266ce88
      
https://github.com/Perl/perl5/commit/5bccd036a1c60e3f1578dc572f445bd29266ce88
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h - fix typo in comment


  Commit: b74cbcd2814167bc239f3c5b4ecefffb77d34d14
      
https://github.com/Perl/perl5/commit/b74cbcd2814167bc239f3c5b4ecefffb77d34d14
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M intrpvar.h

  Log Message:
  -----------
  intrpvar.h - break comment over multiple lines


  Commit: 25292696712089e6d07f2911860f5ebe43741e04
      
https://github.com/Perl/perl5/commit/25292696712089e6d07f2911860f5ebe43741e04
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M pad.h

  Log Message:
  -----------
  pad.h - reword comment to be more legible

The prevous verbiage ended the comment with the term "padnamelist *",
which put the "*" right next to the end comment marker, which was
a bit confusing. This wording put the * in the middle of the sentence
where it is clear it is not a mistake.

Also note that the previous text used tabs internally, and so this change
/looks/ like it is off indent, it is not, it is lined up with the surrounding
lines.


  Commit: 7907f5701cb0423b7a679eab5161f072dad71c73
      
https://github.com/Perl/perl5/commit/7907f5701cb0423b7a679eab5161f072dad71c73
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M intrpvar.h

  Log Message:
  -----------
  intrpvar.h - reword comment to be easier to understand and wrap.

The old text was difficult to wrap and a little disjointed in terms of
readibility. This captures the same essence but in a more concise and
easier to wrap form.


  Commit: 76050da1fc1ffcf9b0d473c091f626eb5352385b
      
https://github.com/Perl/perl5/commit/76050da1fc1ffcf9b0d473c091f626eb5352385b
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M zaphod32_hash.h

  Log Message:
  -----------
  zaphod32_hash.h - rework comment to be more legible


  Commit: 6b8c19ed30737750824c5107d8d6fa2f763bc1e4
      
https://github.com/Perl/perl5/commit/6b8c19ed30737750824c5107d8d6fa2f763bc1e4
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M regen/regcomp.pl

  Log Message:
  -----------
  regen/regcomp.pl - deal with multiline comment

Changing a long single line comment to a multiline comment would cause
the comment to be dropped from regnodes.h. This ensures the comment
is included in the regnodes output.


  Commit: f412c0c14fe0f340c01dc38553ca96ac6f02dbcf
      
https://github.com/Perl/perl5/commit/f412c0c14fe0f340c01dc38553ca96ac6f02dbcf
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M util.h

  Log Message:
  -----------
  util.h - remove slash to make line easier to autowrap later


  Commit: ccf256978f5910cec53ade89898bce98e2d1e78e
      
https://github.com/Perl/perl5/commit/ccf256978f5910cec53ade89898bce98e2d1e78e
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M cv.h

  Log Message:
  -----------
  cv.h - remove left sidecomment star


  Commit: 5a00312d2c049ee30b7d4c1ab88f4b5dc5ed37b0
      
https://github.com/Perl/perl5/commit/5a00312d2c049ee30b7d4c1ab88f4b5dc5ed37b0
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    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 inline.h
    M intrpvar.h
    M invlist_inline.h
    M mg.h
    M mydtrace.h
    M op.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 perlstatic.h
    M perlvars.h
    M pp.h
    M regcomp.h
    M regexp.h
    M sbox32_hash.h
    M scope.h
    M sv.h
    M thread.h
    M unixish.h
    M utf8.h
    M utfebcdic.h
    M util.h
    M vutil.h

  Log Message:
  -----------
  WS Cleanup Stage #1 - simple ws fixups


  Commit: 828e657a8da05d17786fb4919f7c07ae8080c00f
      
https://github.com/Perl/perl5/commit/828e657a8da05d17786fb4919f7c07ae8080c00f
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  WS Cleanup Stage #2 - remove right stars from comments


  Commit: c1caada3bb4ca5bfc23eb2a05623b585da8e88a7
      
https://github.com/Perl/perl5/commit/c1caada3bb4ca5bfc23eb2a05623b585da8e88a7
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 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:
  -----------
  WS Cleanup Stage #3 - break multiline define


  Commit: e6f32de35d2c16897589d08593936f45fa4c94c0
      
https://github.com/Perl/perl5/commit/e6f32de35d2c16897589d08593936f45fa4c94c0
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M XSUB.h
    M av.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 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 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 unixish.h
    M utf8.h
    M utfebcdic.h
    M util.h
    M vutil.h
    M zaphod32_hash.h

  Log Message:
  -----------
  WS Cleanup Stage #4 - fix line continuation and related ws issues


  Commit: a648f0b81fc0d5df5b78e6cf43994d8d47d13b92
      
https://github.com/Perl/perl5/commit/a648f0b81fc0d5df5b78e6cf43994d8d47d13b92
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 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:
  -----------
  WS Cleanup Stage #5 - break long define

For long define statements put the replacement part on their own line.
Also wrap comments on long lines.


  Commit: 0b079df534c8e274d0e161415f621a70a2a331b5
      
https://github.com/Perl/perl5/commit/0b079df534c8e274d0e161415f621a70a2a331b5
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 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 form.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 op_reg_common.h
    M pad.h
    M parser.h
    M perl.h
    M perl_inc_macro.h
    M perl_langinfo.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.h
    M unixish.h
    M utf8.h
    M utfebcdic.h
    M util.h
    M vutil.h
    M zaphod32_hash.h

  Log Message:
  -----------
  WS Cleanup Stage #6 - line up simple defs


  Commit: e2281e251e8f5648d5cbe733cb1457800f94525a
      
https://github.com/Perl/perl5/commit/e2281e251e8f5648d5cbe733cb1457800f94525a
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 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:
  -----------
  WS Cleanup Stage #7 - join short continuations


  Commit: 742deeca3af0ce695ebbe00f9a32f636e94b1954
      
https://github.com/Perl/perl5/commit/742deeca3af0ce695ebbe00f9a32f636e94b1954
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M av.h
    M cop.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
    M util.h

  Log Message:
  -----------
  WS Cleanup Stage #8 - reformat structs


  Commit: 8e7506ca44d305456a868681d139140afa20e727
      
https://github.com/Perl/perl5/commit/8e7506ca44d305456a868681d139140afa20e727
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M XSUB.h
    M cop.h
    M cv.h
    M form.h
    M gv.h
    M handy.h
    M hv.h
    M hv_func.h
    M hv_macro.h
    M intrpvar.h
    M iperlsys.h
    M op.h
    M op_reg_common.h
    M pad.h
    M parser.h
    M perl.h
    M perlvars.h
    M regcomp.h
    M regexp.h
    M sbox32_hash.h
    M sv.h
    M sv_inline.h
    M thread.h
    M utf8.h
    M util.h
    M zaphod32_hash.h

  Log Message:
  -----------
  WS Cleanup Stage #9 - break remaining long line comments


  Commit: d2bff1ffec50bb53494c9a83c5e0464b86102852
      
https://github.com/Perl/perl5/commit/d2bff1ffec50bb53494c9a83c5e0464b86102852
  Author: Yves Orton <[email protected]>
  Date:   2022-09-09 (Fri, 09 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 intrpvar.h
    M invlist_inline.h
    M iperlsys.h
    M op.h
    M op_reg_common.h
    M pad.h
    M parser.h
    M perl.h
    M perl_inc_macro.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 unixish.h
    M utf8.h
    M util.h
    M zaphod32_hash.h

  Log Message:
  -----------
  WS Cleanup Stage #10 - reformat comments using Text::Autoformat


Compare: https://github.com/Perl/perl5/compare/c219c35d1152...d2bff1ffec50

Reply via email to