Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1519a32d331ba33e08291e4938bdff9e2247fc08
      
https://github.com/Perl/perl5/commit/1519a32d331ba33e08291e4938bdff9e2247fc08
  Author: Karl Williamson <[email protected]>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M ext/XS-APItest/t/utf8_setup.pl
    M ext/XS-APItest/t/utf8_warn_base.pl
    M utf8.h

  Log Message:
  -----------
  utf8.h Reorder some bit flags

This changes the ordering of these bits (whose names are in the public
API, but whose values are perl's to set).  This is enables a future
commit which will replace a series of

if else if else ...

lines with a switch() statement, by placing the bit positions in the
order those existing clauses should be executed in.  The new ordering
will cause the switch() to preserve the current if clause execution
order.


  Commit: 551ac51e6d816f981a92b8b77d95ccd1f82f1dfb
      
https://github.com/Perl/perl5/commit/551ac51e6d816f981a92b8b77d95ccd1f82f1dfb
  Author: Karl Williamson <[email protected]>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M ext/XS-APItest/t/utf8_setup.pl
    M utf8.h

  Log Message:
  -----------
  utf8.h Sort some #defines

The previous commit changed the values of some flag bits.  This commit
reorders the statements so that the lowest numbered #defines come first.


  Commit: a9374cebfc97097b9761f4b5a36d352e96eee5c8
      
https://github.com/Perl/perl5/commit/a9374cebfc97097b9761f4b5a36d352e96eee5c8
  Author: Karl Williamson <[email protected]>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M utf8.c
    M utf8.h

  Log Message:
  -----------
  utf8.c: Replace elseif ...elseif by switch()

The previous two commits paved the way for this, which also helps with
future commits.


  Commit: 41e43bc5898c111efe4fbe94179ebaf5ec28ebc0
      
https://github.com/Perl/perl5/commit/41e43bc5898c111efe4fbe94179ebaf5ec28ebc0
  Author: Karl Williamson <[email protected]>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M utf8.c

  Log Message:
  -----------
  utf8.c: Extract out common statement

Each case: in the switch has this statement which can be handled outside
it, once.


Compare: https://github.com/Perl/perl5/compare/080baaf2960e...41e43bc5898c

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to