develooper Front page | perl.perl5.changes | Postings from September 2021

[Perl/perl5] 813ab4: Implement new style readline and the slowfallback

From:
Leon Timmermans via perl5-changes
Date:
September 20, 2021 15:52
Subject:
[Perl/perl5] 813ab4: Implement new style readline and the slowfallback
Message ID:
Perl/perl5/push/refs/heads/leont/perlio-various/0a23d1-804fd0@github.com
  Branch: refs/heads/leont/perlio-various
  Home:   https://github.com/Perl/perl5
  Commit: 813ab4ca0a171f9885a89224cb6cbc5a3db271b2
      https://github.com/Perl/perl5/commit/813ab4ca0a171f9885a89224cb6cbc5a3db271b2
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M perlio.c
    M perliol.h
    M proto.h
    M sv.c

  Log Message:
  -----------
  Implement new style readline and the slow fallback


  Commit: 301acdc760bf3a0bf9ab7cfc12895bb9290d29b3
      https://github.com/Perl/perl5/commit/301acdc760bf3a0bf9ab7cfc12895bb9290d29b3
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M perlio.c
    M perliol.h

  Log Message:
  -----------
  Add fast readdelim to main buffering layers


  Commit: 0f0ccedbf4dcfaa8a0fa36b9038fe99f8d336d29
      https://github.com/Perl/perl5/commit/0f0ccedbf4dcfaa8a0fa36b9038fe99f8d336d29
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M ext/PerlIO-encoding/encoding.pm
    M ext/PerlIO-encoding/encoding.xs

  Log Message:
  -----------
  Make :encoding use the new readdelim method


  Commit: ee61926b89846fcdb30c853be6dcef86846a9d44
      https://github.com/Perl/perl5/commit/ee61926b89846fcdb30c853be6dcef86846a9d44
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M cpan/CPAN-Meta-YAML/t/11_read_string.t
    M lib/PerlIO.pm
    M perlio.c
    M perliol.h
    M pod/perldiag.pod
    M pod/perlfunc.pod
    M pod/perliol.pod
    M pod/perlrun.pod
    M pod/perlunifaq.pod
    M pod/perluniintro.pod
    M t/io/crlf.t
    M t/io/layers.t
    M t/io/utf8.t
    M t/op/print.t
    M universal.c

  Log Message:
  -----------
  Made :utf8 an actual layer

It will check the input for validity, by default strict validity though less strict forms are provided. This also means PerlIO::get_layers doesn't return a "utf8" pseudo-layer anymore, which can break some code making that assumption.


  Commit: 4ba1887b9f5dc06d6f7e9822d598cdf53252f6e6
      https://github.com/Perl/perl5/commit/4ba1887b9f5dc06d6f7e9822d598cdf53252f6e6
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M ext/PerlIO-scalar/scalar.pm
    M ext/PerlIO-scalar/scalar.xs
    M ext/PerlIO-via/via.pm
    M ext/PerlIO-via/via.xs
    M lib/PerlIO.pm

  Log Message:
  -----------
  Make :via and :scalar use readdelim


  Commit: fb6f5e16a8e18d670cce898c372036c389154a02
      https://github.com/Perl/perl5/commit/fb6f5e16a8e18d670cce898c372036c389154a02
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M perlio.c

  Log Message:
  -----------
  Speed up slurping binary files


  Commit: 804fd081286b0e59f2d1d81ac165721e9248d30f
      https://github.com/Perl/perl5/commit/804fd081286b0e59f2d1d81ac165721e9248d30f
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M sv.c

  Log Message:
  -----------
  WIP


Compare: https://github.com/Perl/perl5/compare/0a23d1655f2b...804fd081286b



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About