Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Tree-DAG_Node | Distribution: openSUSE Tumbleweed |
Version: 1.350.0 | Vendor: openSUSE |
Release: 1.1 | Build date: Tue May 13 07:37:11 2025 |
Group: Unspecified | Build host: reproducible |
Size: 160601 | Source RPM: perl-Tree-DAG_Node-1.350.0-1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/Tree-DAG_Node | |
Summary: An N-ary tree |
This class encapsulates/makes/manipulates objects that represent nodes in a tree structure. The tree structure is not an object itself, but is emergent from the linkages you create between nodes. This class provides the methods for making linkages that can be used to build up a tree, while preventing you from ever making any kinds of linkages which are not allowed in a tree (such as having a node be its own mother or ancestor, or having a node have two mothers).
Artistic-1.0 OR GPL-1.0-or-later
* Tue May 13 2025 Tina Müller <timueller+perl@suse.de> - updated to 1.350.0 (1.35) see /usr/share/doc/packages/perl-Tree-DAG_Node/Changelog.ini [V 1.35] Date=2025-05-12T17:00:00 Comments= <<EOT - Change sub hashref2string() line 726 so it does not generate an error or warning when the node or node name is '' (empty string), undef or 0 (zero). - Change test data so that when stringifying a tree, node names without attributes are output as (e.g.) 'lexeme: Attributes{}' rather than as just 'lexeme'. This was alleged to have been done as per the last dot point under v 1.34 below, but was not done properly. - This last point also affects the related module Data::RenderAsTree, which ships with a range of test programs and sample scripts which futher exercise these features. The point of these latter samples is so you can use them without having to fiddle about removing the test code in the corresponding test scripts. EOT [V 1.34] Date=2025-04-23T17:01:00 Comments= <<EOT - Thanx to Shawn Laffan for reporting a problem with line-endings in files read and written, by both Tree::DAG_Node and t/read.tree.t, when he tests under Strawberry Perl. - The 2 test files t/tree.with*.txt ship as ISO-8859-1 while t/tree.utf8.attributes.txt ships as UTF-8. So... - Don't explicitly use UTF-8 encoding in DAG_Node.pm's sub read_tree(). Rather, use a regexp to standardize line endings after reading. Likewise, in t/read.tree.t, do the same. - I have un-commented the 2 extra tests at the end of t/read.tree.t. Specifically, line 50 was 'for (qw/utf8/)# with without/)'. It now says 'for (qw/utf8 with without/)' - Reformat test data files t/tree.*.attributes.txt This was done with the new files share/read.write.tree.(pl, sh). And it was done because some of the test data files had been written by old code with slightly different indenting. - Add a new test data file, t/metag.cooked.tree.txt It's a copy of MarpaX::Grammar::Parser's share/metag.cooked.tree. The test program t/read.tree.t was edited to include this new file. - Patch tree::DAG_Node.format_node() to output 'Attributes: {}' and not just 'Attributes:' when the user does not want attributes reported. This makes the code match the sample trees shipped in t/. EOT * Sun Mar 30 2025 Tina Müller <timueller+perl@suse.de> - updated to 1.330.0 (1.33) see /usr/share/doc/packages/perl-Tree-DAG_Node/Changelog.ini [V 1.33] Date=2025-03-20T11:16:00 Deploy.Action=Upgrade Deploy.Reason=Security Comments= <<EOT - Replace the discouraged File::Slurp::Tiny with File::Slurper. Thanx to Marcel Telka for the report. But why not use File::Slurp? Because... https://blogs.perl.org/users/leon_timmermans/2015/08/fileslurp-is-broken-and-wrong.html - Add a security policy file SECURITY.md - Update Makefile.PL to include both ExtUtils::MakeMaker and perl. EOT * Tue Feb 02 2021 Tina Müller <timueller+perl@suse.de> - updated to 1.32 see /usr/share/doc/packages/perl-Tree-DAG_Node/Changelog.ini * Wed Feb 21 2018 pmonrealgonzalez@suse.com - Cleaned the spec file with spec-cleaner * Wed Feb 21 2018 pmonrealgonzalez@suse.com - updated to 1.31 1.31 2018-02-14T09:08:00 - Clarify licence issue by changing the reference in the DAG_Node.pm file from Artistic V 2 to Perl, so it now matches what I preemptively put in Makefile.PL and the LICENSE file. - Sean Burke has kindly agreed to this change. $thanx x $many to Gregor Herrmann (Debian Perl Group) for reporting this via github. * Thu Feb 08 2018 coolo@suse.com - updated to 1.30 see /usr/share/doc/packages/perl-Tree-DAG_Node/Changelog.ini * Sun Oct 08 2017 coolo@suse.com - updated to 1.29 see /usr/share/doc/packages/perl-Tree-DAG_Node/Changelog.ini * Fri Mar 14 2014 coolo@suse.com - updated to 1.22 - t/read.tree.t was still using File::Slurp :-(. 1.21 Thu Feb 13 11:14:00 2014 - Switch from File::Slurp to File::Slurp::Tiny, on the advice of Karen Etheridge. See RT#92976. 1.20 Fri Jan 31 09:46:00 2014 - After a private email from Paul Howarth (yea!) I see I need File::Temp V 0.19 because that's the version which introduced the newdir() method, as used in the test suite. Sorry for the churn. 1.19 Thu Jan 30 09:24:00 2014 - Set pre-req File::Temp version # to 0 (back from 0.2301). See D A Golden's blog entry: http://www.dagolden.com/index.php/2293/why-installing-distzilla-is-slow-and-what-you-can-do-about-it/. * Fri Oct 04 2013 coolo@suse.com - updated to 1.18 - No changes, code or otherwise, except for the version # in the *.pm, this file, and Changelog.ini. - Somehow a corrupted version got uploaded to search.cpan.org, so I've just changed the version #. The file on MetaCPAN was fine. - Thanx to Rob (Sisyphus) for reporting this. 1.17 Mon Sep 16 15:24:00 2013 - Write test temp files in :raw mode as well as utf-8, for MS Windows users. - Take the opportunity to change all utf8 to utf-8, as per the docs for Encode, except for 'use warnings qw(FATAL utf8);', which doesn't accept utf-8 :-(. 1.16 Mon Sep 9 09;26:00 2013 - Accept a patch (slightly modified by me) from Tom Molesworth (see RT#88501): Remove 'use open qw(:std :utf8);' because of its global effect. Replace Perl6::Slurp with File::Slurp, using the latter's binmode option for the encoding. Fix docs where I'd erroneously said File::Slurp didn't support utf8. 1.15 Fri Sep 6 11:10:00 2013 - Replace Path::Tiny with File::Spec, because the former's list of dependencies is soooo long :-(. Changed files: t/read.tree.t, Build.PL and Makefile.PL. See: RT#88435 for an explanation. - Move t/pod.t to xt/author/pod.t. 1.14 Wed Sep 4 13:44:00 2013 - Document the copy() method. - Patch the copy() method so it respects the {no_attribute_copy => 1} option. - Add method read_tree(), for text files. It uses Perl6::Slurp (which supports utf8). - Add methods read_attributes() and string2hashref($s) for use by read_tree(). - Add t/read.tree.t to test read_tree(). - Add t/tree.utf8.attrbiutes.txt, in utf8, for use by t/read.tree.t. - Add t/tree.with.attributes.txt and t/tree.without.attributes.txt for use by t/read.tree.t. - Make Perl V 5.8.1 a pre-req so we have access to the utf8 pragma. 1.13 Mon Aug 12 17:16:00 2013 - Change the values accepted for the no_attributes option from undef and 1 to 0 and 1. If undef is used, it becomes 0, so pre-existing code will not change behaviour. This makes it easier to pass 0 or 1 from the command line, since there is no default value available. * Sat Jul 27 2013 coolo@suse.com - updated to 1.12 - Change text in README referring to licence to match text in body of source, since it was in conflict with the Artistic Licence V 2.0. This was requested by Petr Pisar who packages stuff for Red Hat. - Rename CHANGES to Changes as per CPAN::Changes::SPEC. - Various spelling fixes in the docs, as kindly reported by dsteinbrunner.
/usr/lib/perl5/vendor_perl/5.40.2/Tree /usr/lib/perl5/vendor_perl/5.40.2/Tree/DAG_Node.pm /usr/share/doc/packages/perl-Tree-DAG_Node /usr/share/doc/packages/perl-Tree-DAG_Node/Changes /usr/share/doc/packages/perl-Tree-DAG_Node/README /usr/share/doc/packages/perl-Tree-DAG_Node/SECURITY.md /usr/share/licenses/perl-Tree-DAG_Node /usr/share/licenses/perl-Tree-DAG_Node/LICENSE /usr/share/man/man3/Tree::DAG_Node.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Jun 13 23:31:36 2025