| 1 |
0.3 Mon Aug 23 19:39:00 1999 |
| 2 |
|
| 3 |
0.4 Sun Sep 5 13:49:00 1999 |
| 4 |
|
| 5 |
0.5 Sun Sep 5 19:45:00 1999 |
| 6 |
|
| 7 |
0.6 Mon Sep 6 18:17:00 1999 |
| 8 |
- consolidate into single file |
| 9 |
|
| 10 |
------------------------------------------------------------- |
| 11 |
Revision history for Perl extension MARC. |
| 12 |
|
| 13 |
0.01 Tue Sep 7 10:48:10 1999 |
| 14 |
- original version; created by h2xs 1.18 |
| 15 |
- linux command: h2xs -A -X -n MARC |
| 16 |
|
| 17 |
0.61 Tue Sep 7 12:56:23 CDT 1999 |
| 18 |
- convert version 0.6 into CPAN format (lots of little changes) |
| 19 |
|
| 20 |
0.62 Fri Sep 10 05:18:00 1999 |
| 21 |
- revised datastructure to hash of tags plus non-tag elements |
| 22 |
like 'array' which serve as structured views into data |
| 23 |
|
| 24 |
0.63 Sun Sep 12 20:38:00 1999 |
| 25 |
- permit incremental processing to reduce memory footprint |
| 26 |
|
| 27 |
0.65 Fri Sep 17 08:07:42 1999 |
| 28 |
- add openmarc,nextmarc,closemarc,deletemarc |
| 29 |
|
| 30 |
0.7 Sun Sep 21 07:15:00 1999 |
| 31 |
- major upgrade: revise new for incremental reads and tag maps |
| 32 |
- add selectmarc,searchmarc, createrecord, _joinfield, addfield |
| 33 |
- add error processing and use Carp |
| 34 |
- add header/body/footer outputs |
| 35 |
- revise documentation |
| 36 |
|
| 37 |
0.71 Wed Sep 22 15:50:31 1999 |
| 38 |
- compute @tags once in _marc2html, fix $outputall detection |
| 39 |
- add Win32 test and install |
| 40 |
- t/test1.t uses new output file spec, tests append & $var |
| 41 |
|
| 42 |
0.72 Fri Sep 24 07:42:00 1999 |
| 43 |
- add getvalue |
| 44 |
- add doc example: xml_header, xml_body, xml_footer |
| 45 |
- add doc example: createrecord, addfield |
| 46 |
|
| 47 |
0.80 Sun Oct 3 17:14:00 1999 |
| 48 |
- add isbd and unimarc |
| 49 |
|
| 50 |
0.81 Mon Oct 4 22:25:17 CDT 1999 |
| 51 |
- update CPAN doc files: Changes, README, Makefile.PL |
| 52 |
- add isbd to t/test1.t |
| 53 |
|
| 54 |
0.82 Wed Oct 6 13:30:22 CDT 1999 |
| 55 |
- Win32 Makefile.PL improvements including automatic html install |
| 56 |
- Added single quotes to hash keys in MARC.pm and t/test1.t to |
| 57 |
eliminate nuisance warnings from Perl 5.004. |
| 58 |
|
| 59 |
0.83 Mon Oct 11 22:22:00 EST 1999 |
| 60 |
- Updated MARC.pm line 108 to store scalar references instead of |
| 61 |
scalars. This will hopefully cut down on duplication of data in |
| 62 |
the MARC object. |
| 63 |
- Also, updated the getvalue(), searchmarc() and addfield() methods to |
| 64 |
reflect the change in the way subfield data is stored. |
| 65 |
- Added line 220 to return '0 but true' instead of 0 when no records |
| 66 |
were read in. This will allow for statements like |
| 67 |
$x->openmarc("test.mrc") || die; |
| 68 |
|
| 69 |
0.84 Tue Oct 12 22:07:18 CDT 1999 |
| 70 |
- more Win32 Makefile.PL tweaks after TPJ technical review |
| 71 |
- add binmode for marc file read/write |
| 72 |
- unspecified 'increment' defaults to 0 |
| 73 |
- fix repeated subfield in field bug in addfield |
| 74 |
|
| 75 |
0.85 Wed Oct 13 21:19:00 EST 1999 |
| 76 |
- modified addfield to push scalar references instead of scalars when |
| 77 |
adding subfield data to the $x->[record]{field}{subfield} data member |
| 78 |
on line 859. |
| 79 |
- updated closemarc to return 1, to allow constructs like |
| 80 |
$x->closemarc() || die; |
| 81 |
|
| 82 |
0.9 Sun Oct 17 19:48:00 EST 1999 |
| 83 |
- modified deletemarc() to support deleting specified fields and |
| 84 |
subfields |
| 85 |
- modified addfield() to support adding fields in tag order |
| 86 |
|
| 87 |
0.91 Tue Oct 19 18:01:43 CDT 1999 |
| 88 |
- add demo addlocal.pl, microlif.001, and directory eg |
| 89 |
- closemarc() returns results of close() |
| 90 |
- filter '\r' and '\cZ' from binary input stream |
| 91 |
- fix "delete all records" bug |
| 92 |
|
| 93 |
0.911 Wed Oct 20 21:49:02 CDT 1999 <Birthisel> |
| 94 |
- add "exists" tests to getvalue() |
| 95 |
- use scalar $callno in addlocal.pl |
| 96 |
|
| 97 |
0.92 Sat Oct 23 00:00:00 CDT 1999 <Lane> |
| 98 |
- initialize loop counter in getvalue() to avoid warnings |
| 99 |
- add methods for manipulating "000" and "008" fields: |
| 100 |
unpack_ldr, bib_format, unpack_008 |
| 101 |
- add internal subroutines supporting those methods: |
| 102 |
_unpack_ldr, _bib_format, _unpack_008, |
| 103 |
- add internal update subroutines: |
| 104 |
_pack_ldr, _pack_008 |
| 105 |
|
| 106 |
0.93 Wed Oct 27 21:30:17 CDT 1999 <Birthisel> |
| 107 |
- deprecate length(), use marc_count() instead |
| 108 |
- new: bless earlier so _readxxx can use methods |
| 109 |
- add error checks to file open/close, use binmode |
| 110 |
- add lineterm for _readmarcmaker and default to DOS |
| 111 |
- always store header in $record->{'000'} tag position |
| 112 |
- fix bugs in 'i12' subfield structure |
| 113 |
- add usmarc_default, ustext_default, MARCMaker charset encode/decode |
| 114 |
- use createrecord, addfield in _readmarcmaker |
| 115 |
- fix fieldnotvalue in searchmarc |
| 116 |
- extensive changes to getvalue to cover '000' tag and indicators |
| 117 |
- use getvalue in unpack_008 |
| 118 |
- return undef instead of die in _unpack_008 |
| 119 |
- allow lineterm option in output, 'format' defaults to 'marc', |
| 120 |
lineterm to '\n' except MARCMaker (CRLF) |
| 121 |
- add nolinebreak option for MARCBreaker output |
| 122 |
- 'html_header' outputs "Content-type...", 'html_start' does "<body>" |
| 123 |
- _writemarc also updates '000' size data in structure |
| 124 |
- warnings off in addfield |
| 125 |
- update copyright |
| 126 |
- add test2.t and test3.t plus supporting files: makrbrkr.mrc, |
| 127 |
brkrtest.ref, makrtest.src |
| 128 |
- add filestring and out_cmp test utilities, MARCopt.pm stub |
| 129 |
- add MARCMaker/Breaker, getvalue, and searchmarc tests |
| 130 |
|
| 131 |
0.94 Thu Oct 28 20:23:57 CDT 1999 <Birthisel> |
| 132 |
- added numerous "exists" tests for hash queries |
| 133 |
- add 'title' parameter to html_start |
| 134 |
- extra error checking: addfield |
| 135 |
- new getupdate() method |
| 136 |
- add tests for searchmarc, deletemarc, addfield, getupdate, |
| 137 |
html_xxx formats |
| 138 |
- fix test3.t to use MARCopt everywhere |
| 139 |
|
| 140 |
0.95 Tue Nov 02 20:49:09 CST 1999 <Birthisel> |
| 141 |
- clean up the Win32 "make clean" implementation in Makefile.PL |
| 142 |
- add tests for selectmarc |
| 143 |
- add 'title' option for URLs output |
| 144 |
- terminate addfield if $subfield_id eq "\036" from getupdate() |
| 145 |
- pod updates: SYNOPSIS, Option Template, various typos |
| 146 |
- add updaterecord() |
| 147 |
- template extensions for deletemarc(), searchmarc(), getvalue() |
| 148 |
- add eg/fixlocal.pl demo and eq/specials.001 |
| 149 |
|
| 150 |
0.95d Wed Nov 03 17:00:01 EST 1999 <Lane> |
| 151 |
- Removed FF_ prefix from @LDR_FIELDS. Left package globals for |
| 152 |
fixed fields and leaders as globals: this should facilitate |
| 153 |
anybody who wants to subclass for MFHL, community, records. |
| 154 |
- Added pack_008 and pack_ldr. Added get_hash_008 and |
| 155 |
get_hash_ldr for future tied interface. Fixed bugs. |
| 156 |
(FF_ prefixes in hash keys.) |
| 157 |
- Added and updated docs for the new functions. |
| 158 |
- Added comment on how to renumber tests. |
| 159 |
- Added tests of pack_008 and pack_ldr. Fixed some test bugs |
| 160 |
with FF_ prefixes and non-existent functions. |
| 161 |
|
| 162 |
0.96 Wed Nov 3 23:04:31 CST 1999 <Birthisel> |
| 163 |
- fix typos in pod2man and pod2html output |
| 164 |
- fix test3.t like test1.t |
| 165 |
|
| 166 |
0.97 Fri Nov 5 17:44:15 CST 1999 <Birthisel> |
| 167 |
- replace '%$' construct (4 places) which designates pseudo-hash |
| 168 |
in 5.005 and fails in 5.004. Detected by CPAN-Testers |
| 169 |
- Add tests for deletemarc() subfield to t/test2.t |
| 170 |
|
| 171 |
0.98 Fri Nov 12 21:13:39 CST 1999 <Birthisel> |
| 172 |
- fix addfield reorder bug (new tag > existing) |
| 173 |
- improved eg/addlocal.pl and added eg/uclocal.pl |
| 174 |
- moved binmode from _readmarc* to openmarc() and new() to get around |
| 175 |
unwanted seek on binmode in Win32 5.00402. |
| 176 |
|
| 177 |
0.99 Sun Nov 14 21:59:00 EST 1999 <Summers> |
| 178 |
- created MARC::XML subclass to handle MARC<->XML conversions |
| 179 |
- moved _marc2xml() from MARC.pm into MARC::XML |
| 180 |
|
| 181 |
0.991 Sun Nov 21 18:49:00 EST 1999 <Summers> |
| 182 |
- removed MARC::XML specific pod from MARC.pm and added to MARC::XML |
| 183 |
|
| 184 |
1.00 Mon Nov 22 22:22:32 CST 1999 <Birthisel> |
| 185 |
- add warnings for unsupported output formats |
| 186 |
- return undef for output failure, test in place of XML |
| 187 |
|
| 188 |
1.01 Sun Dec 05 23:14:15 CST 1999 <Birthisel> |
| 189 |
- add invalid size checks to _readmarc() |
| 190 |
- add header check to _readmarcmaker() |
| 191 |
- delete length() method and CORE::length() overrides |
| 192 |
- add $TEST; replace carp with mycarp |
| 193 |
|
| 194 |
1.02u Mon Dec 20 06:52:00 EST 1999 <Lane> |
| 195 |
- added *map* series; supports a data-index view of marc. |
| 196 |
- added deletefirst and updatefirst to support ties |
| 197 |
- added getmatch and insertpos to support update or insert |
| 198 |
of subfields. |
| 199 |
- added getfields/updatefields for fine-grained access to |
| 200 |
the {array} structures. Allows "in-place" update of fields. |
| 201 |
- changed add_fields to use add_map. Lets subclasses have a |
| 202 |
policy of how they want their indices to look. |
| 203 |
- changed _readmarc and _readmarcmaker to use add_map. Good |
| 204 |
for testing. |
| 205 |
- Added simple tests for *first and *map* series as test4.t |
| 206 |
More complex and complete tests are in MARC::Tie. |
| 207 |
- Added docs for *map*, getmatch,*fields*,getmatch and insertpos. |
| 208 |
|
| 209 |
1.03 Mon Jan 17 15:21:54 CST 2000 <Birthisel> |
| 210 |
- Use fill char "|" for "none" in eg/addlocal.pl |
| 211 |
- integrate "102u" changes into CPAN format |
| 212 |
- fix bug in addfield where add_map not called if ($tag<10) |
| 213 |
|
| 214 |
1.04 Mon Jan 24 22:31:26 CST 2000 <Birthisel> |
| 215 |
- oops, had to fix the Win32 5.00402 binmode again (c.f 0.98) |
| 216 |
- added quotes to 'rebuild_map' used as hash key (5.004 warnings) |
| 217 |
- add docs for "keys" in hash returned by 'unpack_ldr' |
| 218 |
- add xml format error messages |
| 219 |
|
| 220 |
1.05 Sat Jan 29 22:59:03 EST 2000 <Lane> |
| 221 |
- Removed unnecessary quotes in various potentially tainted variables. |
| 222 |
- Removed bad references to FF_* in docs. |
| 223 |
- Updatefields() no longer assumes that fields with the same tag are |
| 224 |
contiguous (e.g. cjk). |
| 225 |
- Getfields() no longer assumes that fields with the same tag are |
| 226 |
contiguous (again, cjk). |
| 227 |
- Docs updated to reflect the relaxed assumption. |
| 228 |
- Extensive quoting of keys for a more warning-free experience. |
| 229 |
|
| 230 |
Sun Jan 30 14:34:02 EST 2000 <Lane> |
| 231 |
- Created add_005s(), _make_005(). |
| 232 |
- Inserted add_005s into output so now we are correctly datestamped. |
| 233 |
- Docs added for 005 functionality. |
| 234 |
|
| 235 |
Mon Jan 31 12:55:52 EST 2000 <Lane> |
| 236 |
- Fixed $args->{'record'} complaint if $args does not exist. |
| 237 |
- Now we return "19960221075055.7" when in $TEST mode for 005. |
| 238 |
- Fixed and updated test2.t and test files makrbrkr.mrc and |
| 239 |
makrtest.src. (now have all canonical 005's; makrtest had a |
| 240 |
17 digit time, not 16 in the first record). |
| 241 |
|
| 242 |
1.06 Sun Feb 27 22:00:00 EST 2000 <Lane> |
| 243 |
- Added getfirstvalue to avoid dependency on index for Ties. |
| 244 |
- Added from_string and as_string; mainly for Tie |
| 245 |
but also has promise for searchmarc. Added option to rebuild map. |
| 246 |
- Created MARC::Rec and started moving functions to it. |
| 247 |
|
| 248 |
Thu Mar 9 22:00:00 EST 2000 <Lane> |
| 249 |
- Finished the bulk of ::Rec-ising. |
| 250 |
- Normalised {records}-{record} handling and %params creation |
| 251 |
(_records and _params). |
| 252 |
- Updated searchmarc and deletemarc to more idiomatic Perl; fixed bugs. |
| 253 |
(Deletemarc was not updating {$tag}{$field}{subfield} information |
| 254 |
correctly; it does now since it uses rebuild_map). |
| 255 |
- Fixed one potential problem in _urls (looked at indicators when it |
| 256 |
should have only been looking at subfields). |
| 257 |
|
| 258 |
Sat Mar 11 22:00:00 EST 2000 <Lane> |
| 259 |
- Checked that a subclass of MARC(:Btrieve) works even in the presence |
| 260 |
of MARC::Rec dependencies. |
| 261 |
- Tested Tie::MARC and Tie::MARC::Btrieve against 1.06 |
| 262 |
- Fixed bugs. All tests pass. |
| 263 |
- Updated Docs to reflect pervasive MARC::Rec presence and (few) |
| 264 |
additional functions. |
| 265 |
|
| 266 |
Sun Mar 12 14:39:27 EST 2000 <Lane> |
| 267 |
- Configured shipping script for MARC. |
| 268 |
- Fixed numbering in test5.t. All tests pass. |
| 269 |
- Added option to read from a string for MARC::Rec. (nextmarc()) |
| 270 |
|
| 271 |
1.07 Sun Apr 23 16:41:46 CDT 2000A <Birthisel> |
| 272 |
- convert all usage to $MARC::TEST, $MARC::DEBUG. Clean up other |
| 273 |
"use vars" variables only needed in one package. Sync $VERSION. |
| 274 |
- Perl 5.6.0 warns on "join (//,", use "join (''," instead. |
| 275 |
- fixes to $naptime and $testfile in t/test5.t |
| 276 |
- openmarc did not set 'handle' and 'format' for MARC::Rec |