Debian Codegraph @

Changes

raw
1 Revision history for Perl extension Tree::Simple.
2
3 1.34 2021-02-02T12:22:00
4 - Reformat Makefile.PL.
5 - Update Makefile.PL and POD to change RT to github.
6
7 1.33 2018-01-06T16:57:00
8 - Fix traverse() so it does not assume user functions and traverse() itself return a defined
9 value. This stops undef warnings when the return value is tested for error propagation.
10 Thanx to Jason Tibbitts for reporting this.
11 - Add t/00.versions.* to display the version #s of all pre-reqs.
12
13 1.32 2017-12-19T15:20:00
14 - Change traverse() to handle the case of its 1st parameter returning 'ABORT'. This code was
15 from a pull request.
16
17 1.31 2017-04-17T09:11:00
18 - Add 3 new methods: getSiblingCount(), isFirstChild() and isLastChild().
19 Warning: getSiblingCount() does not include the invocant, unlike getAllSiblings().
20 - Add t/24_Tree_Simple_sibling_test.t.
21 - These methods are used by Tree::Simple::View::HTML V 0.19 to output HTML compatible with the
22 HTML5 standard for nested lists. See https://www.w3.org/wiki/HTML_lists#Nesting_lists.
23 Thanx to Ekkehard Plicht for suggesting this, and for the patches, which I have reworked.
24 See RT#121099.
25
26 1.30 2017-03-15T09:45:00
27 - Add convenience method generateChild($scalar) which simply does addChild(new($scalar) ).
28 Thanx to Rene Nyffenegger for this suggestion.
29 Add matching test t/22_Tree_Simple_generate_child.t.
30 - Reduce pre-req version of Test::More from 1.001014 to 1.001002.
31
32 1.29 2016-05-04T08;15:00
33 - Correct physical address of Free Software Foundation in LICENSE file. See RT#114149.
34 Thanx to Petr Pisar.
35
36 1.28 2016-04-27T17:35:00
37 - No code changes.
38 - Adopt workflow techniques suggested by Kent Fredric. This means a cleaner workdir and a
39 much more reliable dist. The latter now has auto-generated MANIFEST and META.* files.
40
41 1.27 2016-04-25T09:26:00
42 - No code changes.
43 - Fix my licence (sic) mess so all references are to Perl. This involves edits to Makefile.PL
44 and LICENSE. See RT#113949. Thanx Kent Fredric.
45 - Fix Makefile.PL so modules only used for testing are in TEST_REQUIRES and not PREREQ_PM.
46 See RT#113948. Thanx Kent Fredric.
47 - Fix README so it more-or-less conforms to the Perl Foundation's guidelines at
48 http://www.perlfoundation.org/cpan_licensing_guidelines.
49
50 1.26 2015-11-28T09:30:00
51 - No code changes.
52 - Accept patches from Manwar via github. See https://github.com/stevan/tree-simple/pull/10.
53 - I (Ron) followed github's advice on handling merge conflicts from the command line, but could
54 not see the patches after the merge.
55 - So, create github repo https://github.com/ronsavage/Tree-Simple.
56 - Remove Build.PL.
57 - Reformat dates in this file.
58 - Oops. Can't get Test::Stream to work in 10_Tree_Simple_test.t. Logged issue, but it's
59 probably a problem with the way I tried to use Test::Stream. Revert to Test::More.
60 - Add xt/author/changes.t to MANIFEST.
61
62 1.25 2014-01-13T08:51:00
63 - Fix logic in sub DESTROY for when children are/are not present. Reported by astortz.
64 See https://github.com/stevan/tree-simple/issues/8.
65
66 1.24 2014-09-06T09:27:00
67 - Abandon Test::Version and hence delete t/version.t. Putting version.t in xt/author/ is not a
68 solution, because Test::Version has problems with Test::EOL and Test::Builder.
69 Thanx to Kent Fredric for the github issue which started me investigating this issue.
70
71 1.23 2013-11-09T10:43:00
72 - No code changes.
73 - Accept spelling corrections from the Debian Perl Group, with thanx. See RT#90171.
74 Note: The change to lib/Tree/Simple/Visitor.pm had already been made.
75 - Add t/version.t, which uses Test::Version, to cross-check version #s.
76
77 1.22 2013-09-30T08:35:00
78 - Metadata fixes in Build.PL and correct bugtracker queue in Makefile.PL. Thanx to dsteinbrunner
79 (via github).
80
81 1.21 2013-09-26T13:08:00
82 - Fix syntax error in Makefile.PL.
83
84 1.20 2013-09-26T11:16:00
85 - Merge source from https://github.com/stevan/tree-simple.
86 - Close github issues.
87 - Add bugtracker and license to Build.PL and Makefile.PL.
88
89 1.19 2013-09-23T08:26:00
90 - Maintenance now by Ron Savage.
91 - Rectify datestamp format in this file.
92 - Add Changelog.ini.
93 - Make Simple.pm and Visitor.pm have the same version #.
94 - Reformat Build.PL and Makefile.PL.
95 - Move t/pod* into xt/author/.
96 - Minor doc patches.
97 - Add t/17_Tree_Simple_width_test.t. This code was attached to RT#40407, to demonstrate a bug in
98 keeping a running total of the width (leaf count) of a tree during node additions to leaves.
99 Thanx to David Cryer for the test code and patch.
100 - Add t/21_Tree_Simple_Visitor_test.t. This code was attached to RT#30032, to demonstrate a bug
101 in including the root in a traversal after calling $visitor -> includeTruck(1).
102 - RT#30032: Adopt patch from Moses Amaro. With thanx.
103 - RT#38607: Reject. Suppressing deep recursion warnings should not normally be done. Sub-class!
104 - RT#40407: Adopt patch from David Cryer. With thanx.
105 - RT#84797: Reject. Changing the return value of setUID could break any amount of code.
106
107 1.18 2007-11-11T12:00:00
108 - fixing version string to not choke on 5.10 (RT #29746).
109
110 1.17 2006-10-23T12:00:00
111 - Make loading of Scalar::Util::weaken, completely optional
112 - Added a $post_func optional arg to &traverse. Thanks to Mark Lawrence for the patch, docs and
113 tests :).
114
115 1.16 2006-02-06T12:00:00
116 - Converted to use Module::Build (Rob Kinyon)
117 - Refactored &addChild and &addChildren to be implemented in terms of &insertChild and
118 &insertChildren (Rob Kinyon)
119 - Other misc. refactorings (Rob Kinyon)
120 - Updated Scalar::Util version dependency (Stevan Little)
121 - Updated copyrights for the new year (Stevan Little)
122
123 1.15 2005-05-26T12:00:00
124 - Added optional use of weakened parent references and improved the old circular reference
125 DESTROY model to make more sense. See the documentation for more info.
126 - Fixed bug in the fixDepth() function.
127
128 1.14 2004-11-18T12:00:00
129 - Now using Scalar::Util::blessed() instead of the convoluted UNIVERSAL::isa() stuff.
130 - Added Scalar::Util as a dependency.
131
132 1.13 2004-11-15T12:00:00
133 - Added width functionality (with getWidth). Thanks to Mark Thomas for his insight/suggestions.
134 - Added tests for this.
135 - Added documentation for this.
136 - Improved the height functionality, thanks again to Mark Thomas for his insight/suggestions.
137 - Deprecated the 'height' method in favor of the more consistent 'getHeight' method.
138 - Added tests for this.
139 - Added documentation for this.
140 - Added some info in the docs to explain the depth value for ROOT trees.
141 - Cleaned up and improved the following test files:
142 11_Tree_Simple_fixDepth_test.t
143 13_Tree_Simple_clone_test.t
144
145 1.12 2004-10-07T12:00:00
146 - Fixed the clone method, it was not correctly cloning parental relationships.
147 - Added tests and docs for this.
148 - Improved clone and cloneShallow with the addition of the _cloneNode utility function, we now
149 deep clone the nodes.
150 - Added test and docs for this.
151
152 1.11 2004-10-04T12:00:00
153 - Some documentation changes, no code changes.
154
155 1.10 2004-08-31T12:00:00
156 - Streamlined the DESTROY method to avoid method calls as this can sometimes cause issues
157 during global destruction with subclasses.
158
159 1.09 2004-08-31T12:00:00
160 - Fixed DESTROY to avoid memory leaks (RT-BUG: #7512).
161 - Added documentation to explain when to call the DESTROY method to properly clean up any
162 circular references.
163 - Added test (14_Tree_Simple_leak_test.t) to verify this fix. Needs Test::Memory::Cycle to run.
164
165 1.08 2004-08-25T12:00:00
166 - Added the 'height' and 'size' methods.
167 - Added tests for these.
168 - Added documentation for these.
169
170 1.07 2004-07-28T12:00:00
171 - Added the getUID and setUID methods to Tree::Simple. Thanks to Brett Nuske for that
172 suggestion.
173 - Added documentation for these methods.
174 - Added tests for those methods.
175 - Added t/pod.t and t/pod_coverage.t to the test suite.
176
177 1.06 2004-07-06T12:00:00
178 - Changed what the Tree::Simple accept method accepts.
179 - Added tests for this.
180 - Completely Revised the Tree::Simple::Visitor object so that it is a better base class.
181 This coincides with the release of the Tree::Simple::VisitorFactory collection of Visitor
182 objects.
183 - Added tests for this.
184
185 1.05 2004-06-06T12:00:00
186 - Fixed some vagueness in the documentation as well as made sure that the ROOT constant could
187 be given as a the $parent argument.
188
189 1.04 2004-05-18T12:00:00
190 - The second argument to the Tree::Simple constructor was a parent, and that argument was not
191 getting properly type checked before attempting to call 'addChild' on it. Now it is
192 properly type checked and will throw an exception if it is not correct.
193
194 1.03 2004-05-09T12:00:00
195 - I have added a new method 'getIndex', which will fetch the index of the current tree within
196 it's parent's child list. I have also added documentation and tests for this.
197
198 1.02 2004-05-02T12:00:00
199 - I thought about the API change, and I decided that the new method (removeChildAt($index) )
200 did not make sense. It made more sense for removeChild to accept both $child and an $index,
201 and do the right thing based upon which one was given. This of course is how it works
202 anyway since I maintained backwards compatibility. But take note, removeChildAt($index)
203 will not be supported. The method is still there, but it will very soon go away.
204 I think this is a cleaner way to do this in the end.
205
206 1.01 2004-04-28T12:00:00
207 - Made API change:
208 - removeChild($index) is now removeChildAt($index) and removeChild($child) has replaced it.
209 See the documentation for more info.
210 - Backwards compatibility maintained under change.
211 - New tests written to test the new code and to test the backwards compatibility.
212 - Test suite is not at 99% coverage (with 415 tests).
213 - Moved object initialization code from Tree::Simple::Visitor::new to
214 Tree::Simple::Visitor::_init. This keeps in line with the Tree::Simple code and the
215 seperation of object creation and initialization.
216
217 1.00 2004-04-05T12:00:00
218 - I dont know why, but I was wary of calling this 1.0 but that is really what it is. I think
219 too many module avoid that number, but I am not gonna do that. So here goes, its 1.0 baby!!
220 - Note: Being new to this versioning thing, I was actually going for a "minor" version thing
221 with the jump from 0.3 to 0.14. I realized that was not only dumb, but incorrect. But in
222 realizing this, I decided this is really 1.0 code anyway and took the plunge.
223
224 0.15 2004-04-05T12:00:00
225 - Made a few adjustments:
226 - Changed to UNIVERSAL::isa($object, "Class") so as to avoid warnings if non-object refs are
227 passed.
228 - Added more tests to the Tree::Simple::Visitor object.
229 - Added more tests to check for non-object-refs passed where they shouldn't be.
230
231 0.14 2004-04-04T12:00:00
232 - I feel this module is ready for serious use. I have been using it in production environments
233 for almost 2 years now, and I have recently beefed up the test suite as well. It now
234 has 371 tests with approx. 95% code coverage. I feel the code is solid as is the API
235 (although some people dont like my Java-esque naming style, but hey whatta ya do). Most of
236 this release is just tweaking and fine tuning of code, and updating of the documentation.
237
238 0.03 2004-04-01T12:00:00
239 - Like an idiot I forgot to change the version number from version 0.01 to 0.02 and because of
240 CPAN's security-type restriction about uploading files with a duplicate name I have to up
241 the version number.
242
243 0.02 2004-04-01T12:00:00
244 - First revision:
245 - Fixed a few bugs.
246 - Improved error messages.
247 - Added tests:
248 - Test for exceptions.
249 - Checked test coverage with Devel::Cover.
250
251 0.01 2004-03-11T10:46:33
252 - Original version; created by h2xs 1.22 with options -X -n Tree::Simple.