1Revision history for Perl extension Tree::Simple. 2 31.18 Sun. Nov. 11, 2007 4 - fixing version string to not choke on 5.10 5 (RT #29746) 6 71.17 Mon Oct. 23, 2006 8 - make loading of Scalar::Util::weaken, completely 9 optional 10 - added a $post_func optional arg to &traverse. Thanks 11 to Mark Lawrence for the patch, docs and tests :) 12 131.16 Mon Feb. 6, 2006 14 - converted to use Module::Build (Rob Kinyon) 15 - refactored &addChild and &addChildren to be 16 implemented in terms of &insertChild and 17 &insertChildren (Rob Kinyon) 18 - other misc. refactorings (Rob Kinyon) 19 - updated Scalar::Util version dependency (Stevan Little) 20 - updated copyrights for the new year (Stevan Little) 21 221.15 Thurs May 26, 2005 23 - added optional use of weakened parent references 24 and improved the old circular reference DESTROY 25 model to make more sense. See the documantation 26 for more info. 27 - fixed bug in the fixDepth() function 28 291.14 Thurs Nov 18 2004 30 - now using Scalar::Util::blessed() instead of 31 the convoluted UNIVERSAL::isa() stuff. 32 - added Scalar::Util as a dependency 33 341.13 Mon Nov 15 2004 35 - added width functionality (with getWidth), 36 thanks to Mark Thomas for his insight/suggestions 37 - added tests for this 38 - added documentation for this 39 - improved the height functionality, thanks again 40 to Mark Thomas for his insight/suggestions 41 - deprecated the 'height' method in favor 42 of the more consistent 'getHeight' method 43 - added tests for this 44 - added documentation for this 45 - added some info in the docs to explain the depth 46 value for ROOT trees. 47 - cleaned up and improved the following test files 48 > 11_Tree_Simple_fixDepth_test.t 49 > 13_Tree_Simple_clone_test.t 50 511.12 Thurs Oct 7 2004 52 - fixed the clone method, it was not correctly 53 cloning parental relationships 54 - added tests and docs for this 55 - improved clone and cloneShallow with the addition 56 of the _cloneNode utility function, we now deep 57 clone the nodes 58 - added test and docs for this 59 601.11 Mon Oct 4 2004 61 - some documentation changes, no code changes 62 631.10 Tues Aug 31 2004 64 - streamlined the DESTROY method to avoid method 65 calls as this can sometimes cause issues during 66 global destruction with subclasses. 67 681.09 Tues Aug 31 2004 69 - Fixed DESTROY to avoid memory leaks (RT-BUG: #7512) 70 - added documentation to explain when to call 71 the DESTROY method to properly clean up any 72 circular references 73 - added test (14_Tree_Simple_leak_test.t) to 74 verify this fix (needs Test::Memory::Cycle to run) 75 761.08 Wed Aug 25 2004 77 - added the 'height' and 'size' methods 78 - added tests for these 79 - added documentation for these 80 811.07 Wed July 28 2004 82 - Added the getUID and setUID methods to Tree::Simple, thanks 83 to Brett Nuske for that suggestion. 84 - added documentation for these methods 85 - added tests for those methods 86 - added t/pod.t and t/pod_coverage.t to the test suite 87 881.06 Mon July 6 2004 89 - Changed what the Tree::Simple accept method accepts 90 - added tests for this 91 - Completely Revised the Tree::Simple::Visitor object 92 so that it is a better base class. This coincides with 93 the release of the Tree::Simple::VisitorFactory collection 94 of Visitor objects. 95 - added tests for this 96 971.05 Sun June 6th 2004 98 - Fixed some vagueness in the documentation as well 99 as made sure that the ROOT constant could be given 100 as a the $parent argument. 101 1021.04 Tues May 18th 2004 103 - The second argument to the Tree::Simple constructor 104 was a parent, and that argument was not getting 105 properly type checked before attempting to call 106 'addChild' on it. Now it is properly type checked 107 and will throw an exception if it is not correct. 108 1091.03 Sun May 9 2004 110 - I have added a new method 'getIndex', which will 111 fetch the index of the current tree within it's 112 parent's child list. I have also added documentation 113 and tests for this. 114 1151.02 Sun May 2 2004 116 - I thought about the API change, and I decided that 117 the new method (removeChildAt($index)) did not make 118 sense. It made more sense for removeChild to accept 119 both $child and an $index, and do the right thing 120 based upon which one was given. This of course 121 is how it works anyway since I maintained backwards 122 compatability. But take note, removeChildAt($index) 123 will not be supported. The method is still there, 124 but it will very soon go away. 125 I think this is a cleaner way to do this in the end. 126 1271.01 Wed April 28 2004 128 - Made API change: 129 - removeChild($index) is now removeChildAt($index) 130 and removeChild($child) has replaced it. See the 131 documentation for more info. 132 - backwards compatability maintained under change. 133 - new tests written to test the new code and to 134 test the backwards compatability 135 - Test suite is not at 99% coverage (with 415 tests) 136 - Moved object initialization code from Tree::Simple::Visitor::new 137 to Tree::Simple::Visitor::_init. This keeps in line with the 138 Tree::Simple code and the seperation of object creation and 139 initialization. 140 1411.0 Mon April 5 2004 142 - I dont know why, but I was wary of calling this 1.0 143 but that is really what it is. I think too many modules 144 avoid that number, but I am not gonna do that. So here 145 goes, its 1.0 baby!! 146 147Note: Being new to this versioning thing, I was actually going 148for a "minor" version thing with the jump from 0.3 to 0.14. I 149realized that was not only dumb, but incorrect. But in realizing 150this, I decided this is really 1.0 code anyway and took the plunge. 151 1520.15 Mon April 5 2004 153 - Made a few adjustments: 154 - changed to UNIVERSAL::isa($object, "Class") so as to 155 avoid warnings if non-object refs are passed 156 - added more tests to the Tree::Simple::Visitor object 157 - added more tests to check for non-object-refs passed 158 where they shouldnt be. 159 1600.14 Sun April 4 2004 161 - I feel this module is ready for serious use. I have been 162 using it in production environments for almost 2 years now, 163 and I have recently beefed up the test suite as well. It now 164 has 371 tests with approx. 95% code coverage. I feel the code 165 is solid as is the API (although some people dont like my 166 Java-esque naming style, but hey whatta ya do). Most of this 167 release is just tweaking and fine tuning of code, and updating 168 of the documentation. 169 1700.03 Thu April 1 2004 171 - Like an idiot i forgot to change the version number 172 from version 0.01 to 0.02 and because of CPAN's security 173 restriction about uploading files with a duplicate name 174 I have to up the version number. 175 1760.02 Thu April 1 2004 177 - first revision: 178 - fixed a few bugs 179 - improved error messages 180 - added tests: 181 - test for exceptions 182 - checked test coverage with Devel::Cover 183 1840.01 Thu Mar 11 10:46:33 2004 185 - original version; created by h2xs 1.22 with options 186 -X -n Tree::Simple