Genealogy-Gedcom-Date

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl extension Genealogy::Gedcom::Date.

2.10  2018-05-10T08:48:00
	- Accept git pull request from Soren Lund as part of the CPAN Pull Request Challenge.
		With thanx.
		I moved his t/pod.t into xt/author/, overwriting my version, and slightly reformatted it.
	- Add t/00.versions.t and t/00.versions.tx.
	- Downgrade required version of Test::More from 1.302052 to 1.001002 to allow compatibility
		with older Perls.

2.09  2016-09-21T16:33:00
	- Clean up pre-reqs in Makefile.PL.

2.08  2016-09-14T18:23:00
	- Replace Test::Stream with Test::More in 2 test files.
	- Add 'use utf8' to test files containing German.

2.07  2016-09-14T08:35:00
	- Wind down Moo pre-req version # from 2.003004 (a typo!) to 2.003004. See RT#117821.
		Thanx to Nigel Horne for the report.

2.06  2016-08-14T11:33:00
	- Stop using Test::Stream. Use Test::More shipped in the Test::Simple distro.
		See RT#116934. Thanx to Chad Granum.
	- Update version #s in pre-reqs.
	- Adopt new repo structure. For details, see
		http://savage.net.au/Ron/html/My.Workflow.for.Building.Distros.html.
	- Update .gitignore and MANIFEST.SKIP.
	- Change licence from Artistic to Perl.
	- Move Test::Pod and Test::Simple to TEST_REQUIRES.

2.05  2016-01-10T16:34:00
	- Add method compare($other_object) for comparing dates. Returns a value in the range
		0 .. 3 (sic). See RT#110333. Thanx to Nigel Horne for the suggestion.
	- Add method normalize_date($date_hash) for use by compare(). You can override it if necessary.
	- Add scripts/compare.pl.
	- Add t/compare.t.
	- Expand slightly the error message discussed under V 2.04 just below, to explicitly say that
		values <= 0 are erroneous.

2.04  2016-01-04T09:08:00
	- Considerably expand the new ambiguity_metric() error message discussed below under V 2.03.
		Note: The message is now so detailed it contains 2 newline chars and hence 3 lines.
	- Add an item to the Trouble-shooting part of the docs explaining why you might get this error.
	- Use bommer.pl, which ships are part of File::BOM::Utils, to add a UTF-8 BOM to the source
		file lib/Genealogy/Gedcom/Date.pm.

2.03  2016-01-03T11:56:00
	- Check the input for undef and the empty string. If found, parse() returns [] and sets the
		error string to 'Input is the empty string'.
	- If, after calling Marpa's parse() method, the call to ambiguity_metric() returns <= 0, then
		the error string now includes the line and column Marpa was up to within the input stream.

2.02  2015-11-17T20:06:00
	- No (detectable) code changes.
	- Add annotations (comments) to rule actions, listing the params to each action sub.
	- Remove action day() which just returned its param, and use the reserved action ::first.
	- Fix version # within Actions.pm. It was still 1.08.
	- Reformat version-date lines in Changes from:
		2.02  Tue Nov 17 20:06:00 2015
	  to:
		2.02  2015-11-17T20:06:00.
	- Write (local) git.tag.pl to auto-add tag during (local) build.module.sh.
	- Start pushing tags to repo.

2.01  Mon Nov  9 08:03:00 2015
	- Make abstract in Makefile.PL match the NAME in the docs.
	- Fix conversion of commas to spaces, so that commas are preserved inside parentheses.
	- Vastly expand the set of characters allowed inside parentheses. A ')' is still forbidden.
	- Fix code which was correct but accidentally so. This was used, $self -> recce -> read(\$date),
		instead of $self -> recce -> read(\$self -> date). Luckily, $date was correct, but after now
		removing commas differently, it wasn't.
	- Add 'Int $date ($text)' tests to French.t, German.t and Hebrew.t.

2.00  2015-10-13T20:43:00
	- Re-write using Marpa::R2, which uses the Gedcom grammar to define dates.
	- Remove methods: parse_approximate_date(), parse_date_escape(), parse_datetime(),
		parse_date_period(), parse_date_range(), parse_date_value(), parse_interpreted_date(),
		debug(), method_index(), months_in_gregorian() and style().
	- Add methods: parse(), calendar(), error().
	- See the FAQ for the format of the value returned by parse().
	- See the FAQ for various extensions to the Gedcom grammar.
	- Accept Unicode input.
	- Add support for French and German dates.
	- Accept date escapes with or without '@#d' ... '@'.
	- Accept dates and escapes in any case.
	- Remove all reference to DateTime.
	- Remove code which supplied a default day and/or month when they were missing.
	- Add scripts/synopsis.pl.
	- Rewrite all tests. See t/English.t, etc.
	- Reduce the max line length of this file, and of the docs, to (an arbitrary) 100 chars.

1.16  2015-09-30T10:14:00
	- Expand parse_datetime() so it accepts either a string or a hash.
	- Expand docs to match.
	- Expand t/date.t to test both an American date and the above.
	- Fix bug whereby ',' in dates was deleted but should have been replaced by ' '.
		See t/date.t for this case: December 13,1668. Zapping the ',' gives December 131668!
	- Correct FAQ re Hash::FieldHash since I now use Moo.

1.15  2015-09-28T08:58:00
	- Remove \n from all die messages, as suggested by Nigel Horne. See discussion in #RT107354.
		I'm doing this assuming well-written code will capture all the dies, so the issue of
		leaking information to users of CGI scripts does not arise.



( run in 3.274 seconds using v1.01-cache-2.11-cpan-f56aa216473 )