Newer
Older
NetAddr-IP / Changes
@Michael Robinton Michael Robinton on 21 Oct 2014 5 KB Import of MIKER/NetAddr-IP-4.018 from CPAN.
  1. Revision history for Perl extension NetAddr::IP
  2.  
  3. 4.018 Fri Nov 28 23:19:01 PST 2008
  4. revised XS code to be full re-entrant, thread safe in Util.xs v1.26
  5. removed all traces of mutex locks in Util.xs v1.26
  6. removed function 'threads' here an in UtilPP v1.6
  7.  
  8. 4.017 Sun Nov 23 19:32:59 PST 2008
  9. Extended the capability of 'splitref' to allow splitting of
  10. objects into multiple pieces with differing CIDR masks.
  11. Returned object list can be split from bottom to top
  12. or from top to bottom depending on which method is called
  13.  
  14. split, rsplit, splitref, rsplitref
  15.  
  16. Thanks to kashmish <kashmish@gmail.com> for the idea on
  17. improving functionality of 'split'.
  18.  
  19. Thanks to Rob Riepel <riepel@networking.Stanford.EDU>
  20. for a faster and more accurate _compV6 function.
  21.  
  22. in UtitPP v1.5
  23. correct documentation error
  24. add threads reporting (empty string)
  25.  
  26. in Util v1.25
  27. add threads reporting that returns a comma separated
  28. string of build headers.
  29.  
  30. added what is hopefully thread safe operation via
  31. serializaton. Must be invoked by "--with-threads"
  32.  
  33. in Lite v1.12
  34. corrected missing Zeros subroutine
  35. Zeros and Zero both will work
  36.  
  37. in Lite v1.12
  38. added minus (-) overloading to allow the subtraction
  39. of two NetAddr::IP objects to get the difference between
  40. the object->{addr}'s as a numeric value
  41. Thanks to Rob Riepel <riepel@networking.Stanford.EDU>
  42. for the initial code and inspiration for this enhancement
  43.  
  44. 4.016 Wed Nov 5 18:13:20 PST 2008
  45. in Util/ version 1.24
  46. Clean up Makefile.PL to check actual required link
  47. libraries against the perl build for consistency
  48.  
  49. 4.015 Sun Nov 2 10:10:38 PST 2008
  50. in Util v1.23 add missing headers in configure and localconf.h
  51. for Solaris inet_xton
  52. thanks to Karl Bunch <karl@digilink.net> for spotting the bug.
  53.  
  54. 4.014 Sat Nov 1 15:13:48 PST 2008
  55. in Lite.pm v1.11, add test for characters not allowed by
  56. rfc952 before the call to gethostbyname in sub new() for those
  57. people that insist on using deprecated functionality :aton
  58. and OS's that fail to notice calls to gethostbyname with
  59. binary arguments.
  60.  
  61. 4.013 Wed Oct 22 15:04:49 PDT 2008
  62. In Lite.pm v1.10, add new no octal method for
  63. improperly formatted ipV4 addresses
  64.  
  65. In Util.pm v1.22, eliminated dependance on PL_sawampersand
  66. thanks to Mark Martinec <Mark.Martinec@ijs.si>
  67. for spotting this and submitting a patch.
  68.  
  69. In Util.pm v1.22, force -noxs mode for Win32
  70.  
  71. In Util.pm v1.22, use autoconf to configure 'C' build
  72.  
  73. 4.012 Thu Oct 16 19:35:33 PDT 2008
  74. clear build bug for Win32 in Util.pm v 1.21
  75.  
  76. 4.011 released Oct 6 13:10
  77.  
  78. 4.010 Sat Sep 27 17:00:28 PDT 2008
  79. in NetAddr::IP::Util v0.19
  80. updated test for ENDIANess in siteconf
  81.  
  82. add test in inet_aton to detect overange IP dot quad values
  83. missed by some broken Socket implementations
  84. i.e. 256.1.1.1 would fail to return undef
  85.  
  86. NOTE: Versions 4.008 and 4.009 had limited release to tester only
  87. and were not uploaded to CPAN. All of the v4.008, 4.009
  88. changes are incorporated in v4.010
  89.  
  90. 4.009 Tue Sep 2 19:09:57 PDT 2008
  91. In NetAddr::IP::Lite v1.07,
  92. in the off chance that NetAddr::IP::Lite objects are created
  93. and the caller later loads NetAddr::IP and expects to use
  94. those objects, let the AUTOLOAD routine find and redirect
  95. NetAddr::IP::Lite method and subroutine calles to NetAddr::IP.
  96.  
  97. updated Lite/t/v4-wnew.t so that non-existent
  98. domains are "really" not there
  99.  
  100. 4.008 Sat Jun 7 14:01:55 PDT 2008
  101. inherit method "new_from_aton" from NetAddr::IP::Lite
  102. add related documentation
  103.  
  104. Inherited methods from Lite.pm updated as follows:
  105. comparisons of the form <, >, <=, >=
  106. 10.0.0.0/24 {operator} 10.0.0.0/16
  107. return now return the comparision of the cidr value
  108. when the address portion is equal.
  109. NOTE: this comparison returns the comparison of the NUMERIC
  110. value of the CIDR. This produces the counter intuitive result
  111. that /24 > /16. There is logic to this, really! For proper
  112. operation of commands like "Compact" and "Coalesce", lists of
  113. netaddr objects must sort in ascending order. However, this
  114. conflicts with the requirement for larger netblocks to sort
  115. FIRST so as to include smaller ones. This logic extends to
  116. any requirement for a sort of netaddr objects. It should be
  117. further noted that the mixing of netaddr objects with varying
  118. IP addresses and CIDR allocations can lead to unexpected
  119. results since the comparisons done first on the IP portion
  120. and then on the CIDR portion. The documentation has been
  121. updated appropriately.
  122. Thanks to Peter DeVries for spotting this discrepancy
  123.  
  124. 4.007 Wed Jun 6 16:41:11 VET 2007
  125. Update copyright dates
  126.  
  127. 4.006 Wed Jun 6 15:58:04 VET 2007
  128.  
  129. A patch from Michael got rid of $& and $` as reported by Daryl
  130. O'Shea and documented at
  131. http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5312
  132.  
  133. 4.004 Wed Aug 16 16:01:54 PDT 2006
  134. update to include/exclude files in corrupted distro
  135.  
  136. 4.003 Sun Aug 6 10:48:25 PDT 2006
  137. correct SYNOPSIS documentation
  138. add :old_nth
  139.  
  140. update Lite.pm documentation
  141. update Util.pm documentation
  142. Imported into distribution CVS tree - Some revision number
  143. mismatches are to be expected
  144. Latin-1 is back
  145. Fixed some angle brackets so that they show up in the docs
  146.  
  147. 4.002 Fri Aug 4 14:14:16 PDT 2006
  148. remove unused global variable $isV6
  149.  
  150. update Lite.pm to v1.02
  151. $isV6 global converted to a lexical variable within sub "_xnew"
  152. $Class global removed and replaced by calls to UNIVERSAL::isa
  153. Thanks to julian@mehnle.net for spotting problems related to
  154. using the Lite.pm with mod_perl
  155.  
  156. 4.001 Thu Jul 6 14:09:01 PDT 2006
  157. various bug fixes courtesy of Luis Munoz:
  158. changes to Lite.pm v1.01, Util.pm v0.17 see Changes in those distros.
  159. update t/v6-re.t, addconst called as a scalar, should be called to
  160. return the address value ()[1]
  161.  
  162. 4.000 Mon Jun 19 21:51:10 PDT 2006
  163. initial release of version 4.000 which includes
  164. full support of ipV6 addresses and drops the requirement
  165. for Math::BigInt and will run on older versions of Perl
  166. at least back to 5.005_03
  167.