PaulHowarth/Blog/2015-02-01

Sunday 1st February 2015

Fedora Project

  • Imported and built perl-Apache-Session-NoSQL (0.1) for F-20, F-21, Rawhide, EPEL-6 and EPEL-7

  • Updated perl-B-Hooks-EndOfScope to 0.14 in Rawhide:

    • Line numbers in shipped code are now the same as the repository source, for easier debugging
    • More accurate dynamic prereq declarations

Local Packages

  • Updated perl-B-Hooks-EndOfScope to 0.14 as per the Fedora version

  • Updated perl-MCE to 1.600:

  • Bug Fixes

    • Die handlers (in MCE::Signal and MCE::Core::Worker) are finally 100%; furthermore, eval { die ... } statements behave correctly while running MCE itself inside an eval block, so MCE on iPerl on top of iPython is possible via Devel::IPerl

    • Fixed queues stalling from running (MCE::Queue fast => 1) on Linux

    • MCE Models now set $MCE::FREEZE, $MCE::THAW, and $MCE::TMP_DIR when overriding freeze, thaw, and tmp_dir respectively at load time

    • Pressing CTRL-D now ends STDIN the first time

  • Enhancements

    • Added seven names to CREDITS; David Farrell, Demian Riccardi, Hisham Eldai, Joel Berger, Oleksandr Kharchenko, Wei Shen, and Zakariyya Mughal

    • Refactored ->print, ->printf, and ->say; optimized ->print some more

    • Shorten $_queue to $_Q in Queue; ID is always sent first during IPC

    • The init method in MCE Models can now take an array of options

    • Optimized memory consumption in Handle.pm, Iterator.pm, and Request.pm

    • Optimized memory consumption for ->sendto, ->do, and ->gather

    • Optimized memory consumption for overall IPC in general
    • Refreshed the MCE->new method

  • New Features

    • Added a new module; MCE::Mutex providing simple semaphore

    • Added ->relay_recv, ->relay, and ->relay_final methods to the Core API

    • Refreshed cat.pl and findnull.pl examples to relay the number of lines read; workers output exclusively and orderly to STDOUT in cat.pl

    • Added several examples; biofasta (folder), mutex.pl, and relay.pl

    • The FASTA examples process by records "\n>", not by lines

    • MCE applies additional logic when RS begins with a newline character; e.g. RS => "\n>"; it trims away characters after the newline and prepends them to the next record, which happens automatically when not slurping, and otherwise, the logic is applied to the first and last records only (this is illustrated in the Core API documentation)

    • Updated the Core API documentation (RS, added relay methods)

  • Updated perl-Term-ReadLine-Gnu to 1.26:

    • Call ornaments() after rl_initialize() to set tty before calling rl_initialize() not to output some characters to STDIO (CPAN RT#96569, CPAN RT#101196)

    • Make handling of iostreams simple (make _rl_store_iostream() return void and remove _rl_fetch_iostream()) (CPAN RT#101078)

    • Fix the Prerequisites section to require Perl 5.8 (it was required since TRG 1.23)

    • t/callback.t: add some new Tk-tests from CPAN Testers' site


Recent