| 1 |
Revision history for Perl extension Parse::FixedLength. |
| 2 |
5.39 Wed May 25 16:00:00 2011 |
| 3 |
- Document href option. |
| 4 |
- Allow href from href option to be used in pack. |
| 5 |
- add href.t to MANIFEST. |
| 6 |
5.38 Wed May 25 16:00:00 2011 |
| 7 |
- Allow hashref to be passed in to parser. |
| 8 |
5.37 Thu Dec 30 16:00:00 2005 |
| 9 |
- Fix bug in C/c format. |
| 10 |
5.36 Thu Dec 1 16:00:00 2005 |
| 11 |
- Was not always checking correctness of length/start/end. |
| 12 |
Added test and fixed test error triggered by this fix. |
| 13 |
5.35 Sat May 20 01:00:00 2005 |
| 14 |
- Updated Manifest. Someday I'll automate this. |
| 15 |
5.34 Fri May 20 11:00:00 2005 |
| 16 |
- Added parse_hash(), and parse_newref() convenience methods. |
| 17 |
Inspired by rt ticket by Curtis "Mr_Person" Hawthorne. |
| 18 |
- Fixes to pod, and addition of pod tests. |
| 19 |
5.33 Wed Jul 21 17:00:00 2004 |
| 20 |
- Second hash_to_obj call with same keys as first wasn't working. |
| 21 |
- Fixed tests (changed 'ref' to 'isa') which broke after previous change. |
| 22 |
- Made example in doc use strict compliant (eliminated bare word string). |
| 23 |
- Added format_str() to retrieve pack/unpack format string from parser. |
| 24 |
5.32 Fri Jun 11 17:00:00 2004 |
| 25 |
- Allow any valid pack()/unpack() format in the length field |
| 26 |
5.31 Tue Jun 8 17:00:00 2004 |
| 27 |
- To autoload an lvalue method, AUTOLOAD must be |
| 28 |
declared as an lvalue method. |
| 29 |
5.30 Fri Apr 16 17:00:00 2004 |
| 30 |
- Took out Makefile.PL code for changing name of test |
| 31 |
module (see if it shows up on CPAN). |
| 32 |
- Document hash_to_obj() method and various other doc |
| 33 |
format changes. |
| 34 |
5.29 Thu Apr 15 17:00:00 2004 |
| 35 |
- Doc glitch fix. |
| 36 |
5.28 Thu Apr 15 17:00:00 2004 |
| 37 |
- Any single parser will return the same hash ref on every |
| 38 |
call to parse(). See Caveats. |
| 39 |
- Return blessed hash ref object from parse(). |
| 40 |
- Doc cleanup. I may finally be getting the hang of this |
| 41 |
pod stuff. |
| 42 |
5.27 Mon Oct 6 17:00:00 2003 |
| 43 |
- Just doc fixes. Patch by Terrence Brannon. |
| 44 |
5.26 Tue Sep 25 17:00:00 2001 |
| 45 |
- Changed the way the subclass test module is created. It was bugging me |
| 46 |
having to un-rename the test module for a 'make tardist' after a |
| 47 |
'make test'. |
| 48 |
- added ':all' argument to import argument list. Added test. |
| 49 |
5.25 Mon Sep 24 17:00:00 2001 |
| 50 |
- Added trim option to new method. Added test. |
| 51 |
- Allow filehandle to be passed to debug option. |
| 52 |
5.24 Wed Sep 19 17:00:00 2001 |
| 53 |
- Added all_lengths option to parser new() method. |
| 54 |
- Changed subclass*.t tests so that the test module doesn't show up |
| 55 |
on CPAN. No one else that I can find has seemed to worry about this. |
| 56 |
I'll be the first :-) |
| 57 |
5.23 Fri Sep 14 18:00:00 2001 |
| 58 |
- If no_pack was true for converter object, passing false to |
| 59 |
convert method was ignored. Added another test. |
| 60 |
5.22 Fri Sep 14 15:00:00 2001 |
| 61 |
- Allow no_pack argument in convert method, added tests |
| 62 |
5.21 Fri Sep 14 08:00:00 2001 |
| 63 |
- Fixed subclass example. |
| 64 |
- Added tests for subclassing / import method. |
| 65 |
5.20 Thu Sep 13 18:00:00 2001 |
| 66 |
- Fixed docs. |
| 67 |
5.19 Thu Sep 13 15:25:22 2001 |
| 68 |
- Added import method and allow subclass name to be passed to new() |
| 69 |
for convenient subclassing. |
| 70 |
- Fixed the docs. |
| 71 |
5.18 Fri Aug 17 19:25:22 2001 |
| 72 |
- Fixed dumper() for hash-like format with right justification. Thanks |
| 73 |
to John Cotter for the catch. |
| 74 |
5.16 Mon Aug 13 20:19:36 2001 |
| 75 |
- Found bug in checking for argument type in Parse::FixedLength::new(). |
| 76 |
- took out Scalar::Util::reftype. Could not detect any benefit. |
| 77 |
- Changed croak()'s to confess()'s. |
| 78 |
5.15 Sun Aug 12 14:13:06 PDT 2001 |
| 79 |
- Better error checking on default argument types in converter method. |
| 80 |
- Added option to not pack during convert method. |
| 81 |
5.14 Wed Aug 1 Some time later... |
| 82 |
- Better error checking on start and end positions. If start is present, |
| 83 |
then both start and end need to be present. |
| 84 |
5.12 Wed Aug 1 08:31:10 PDT 2001 |
| 85 |
- More error checking, this time for duplicate fields in the format, and |
| 86 |
an option to get around the check. |
| 87 |
- Added tests for new option. |
| 88 |
5.11 Mon Jul 30 Later on... |
| 89 |
- Added more tests. |
| 90 |
- Fixed 'no_validate' option (which wasn't documented yet anyway, along |
| 91 |
with the start/end validation in general. Add info to docs about this. |
| 92 |
5.10 Mon Jul 30 08:47:49 PDT 2001 |
| 93 |
- Fixed doc examples. |
| 94 |
- Added more tests. |
| 95 |
- Right justify with no pad character was not defaulting to space. |
| 96 |
5.09 Fri Jul 27 Not much later... |
| 97 |
- Eval anonymous subs in convert() for better error reporting. |
| 98 |
5.08 Fri Jul 27 18:31:02 PDT 2001 |
| 99 |
- Some doc fixes. |
| 100 |
- Various changes after a code review with Graham Barr at TPC, |
| 101 |
e.g., like adding error checking, making ":" the default delimiter, |
| 102 |
auto-detecting the formats, and talking me into using Scalar::Util. |
| 103 |
5.07 Thu Jul 26 12:51:11 PDT 2001 |
| 104 |
- Slight efficiency in construction of pack string for (what I |
| 105 |
think is) the common case. |
| 106 |
- Allow converter() method to accept a hashref or arrayref as |
| 107 |
mapping argument. |
| 108 |
- Allow convert() method to accept a hash reference as input. |
| 109 |
5.06 Wed Jul 25 10:18:57 PDT 2001 |
| 110 |
- Added dump() method. |
| 111 |
- Separated converter objects from parser objects to make a better |
| 112 |
cleaner OO universe. |
| 113 |
- Cleaned up docs, added examples. |
| 114 |
5.05 Tue Jul 24 Later in the day... |
| 115 |
- For right justification, if the new format is shorter than the data, |
| 116 |
we need to trim leading 'pad' characters, not just whitespace. |
| 117 |
5.04 Tue Jul 24 12:31:35 PDT 2001 |
| 118 |
- Added right-justification option. |
| 119 |
- Added the questionable feature of the convert method to facilitate |
| 120 |
converting fixed length formats along with a corresponding test. |
| 121 |
- Noticed the similar functionality/purpose of Data::FixedFormat. |
| 122 |
Oh well, make up your own mind which you'd like to use...I kind |
| 123 |
of like this one :) |
| 124 |
5.03 Thu Jun 28 08:04:27 PDT 2001 |
| 125 |
- Improved documentation. |
| 126 |
- Added length method and more examples, took out some temp variables to |
| 127 |
tighten up code and obfuscate it a bit :) |
| 128 |
5.01 Wed Jun 27 12:06:00 PDT 2001 |
| 129 |
- Took up the original author's offer to rewrite this module, so I've no |
| 130 |
idea what happened before this change, there were no other notes except |
| 131 |
the 0.01 entry. |
| 132 |
- Changed to OO style, now uses unpack instead of substr for efficiency, |
| 133 |
removed some features (for now?) like the predefined parsing |
| 134 |
constants, but added others (like optionally returning a list |
| 135 |
instead of a hashref). |
| 136 |
0.01 Thu Nov 16 13:41:21 2000 |
| 137 |
- original version; created by h2xs 1.20 with options |
| 138 |
-A -X -n Parse::FixedLength |