Menu

Term::ReadLine::Gnu-1.32 was released.

  • improve UTF-8 handling
    • UTF-8 decoding is done at the interface between Perl and XS. This makes it possible for UTF-8 strings to be get from the GNU Readline Library functions and variables.
    • add enableUTF8() method
    • UTF-8 support is enabled when STDIN is in UTF-8 by the -C command-line switch, or PERL_UNICODE environment -variable, or IN file handle has utf8 IO layer, or -enableUTF8 method is called.
    • pop IO layer only when stdio layer is pushed on utf8 layer to support Perl 5.8.x
  • rl_save_state(), rl_restore_state(), history_get_history_state(), and history_set_history_state() are finally implemented.
  • update RL_STATE_* definitions
  • fix rl_readline_state and history_legnth variable to be writable
  • fix rl_completion_quote_character and rl_completion_found_quate variable to be read only
  • update POD document
  • t/*.t: use Test::More and improved
    • t/utf8_binary.t, t/utf8_text.t:
      • use en_US.UTF-8 instead of en_US.utf8 for locale
      • force the GNU Readline Library 8bit through
      • add variable access test, IO layer check, verbose mode, etc.
      • use camel characters instead of Japanese kanji characters
    • t/utf8_binary.t: skip when PERL_UNICODE is set. [rt.cpan.org #114185]
    • t/utf8.txt: use camel characters instead of Japanese kanji characters
    • t/callback.t: update comments and code clean-up
  • use some modern Perl features (but still in 5.8 era)
    • use file handle references
    • define export tags
    • comment out 'use vars' for subroutine name aliase
Posted by Hiroo Hayashi 2016-06-07

Log in to post a comment.