Changes from previous:
----------------------
2011-11-12 John Peacock <john.peacock@havurah-software.org>
* .hgtags:
Tagging version '0.95' using shipit.
[f76612f96814] [tip]
* README, t/coretests.pm, vutil/vxs.xs:
Turns out the XS code didn't prevent the math ops from working after
all. Add a test to make sure we catch that and update README for
release.
[9f4e1ff7704c] [0.95]
* t/06noop.t:
Forgot to add test file for math noop methods
[ca0bc8526ea5]
* MANIFEST, vperl/vpp.pm:
Restore 5.14.x behavior of UNIVERSAL::VERSION to pure Perl code
[1dd0281f09b8]
* t/coretests.pm, vutil/vutil.c, vutil/vutil.h, vutil/vxs.xs:
Fix segfault with versions that start with 'v', especially
'version'.
[868edaf0223b]
2011-10-30 John Peacock <john.peacock@havurah-software.org>
* lib/version.pm, t/01base.t, t/02derived.t, t/03require.t,
t/05sigdie.t, t/coretests.pm, vutil/lib/version/vxs.pm:
Bump $VERSION in preparation for eventual release.
[3bcfd3008cbc]
* vutil/vxs.xs:
Revert change to UNIVERSAL::VERSION replacement, pending ruling from
the bench.
[d5c1282dfe13]
* vperl/vpp.pm:
For some reason, nomethod doesn't work in pure Perl code, so be
explicit about ops that are not allowed.
[5cad9cde035e]
2011-08-21 John Peacock <john.peacock@havurah-software.org>
* .hgtags:
Tagging version '0.94' using shipit.
[743538f58cb7]
* Makefile.PL, lib/version.pod, lib/version/Internals.pod:
Tweak POD and add LICENSE to Makefile.PL. Resolves:
https://rt.cpan.org/Public/Bug/Display.html?id=70120
[3a4fae29c763] [0.94]
* MANIFEST, t/05sigdie.t:
Add test to confirm that the $SIG{__DIE__} handling is correct.
[4a421bba05c9]
* lib/version.pm, t/01base.t, t/02derived.t, t/03require.t,
vperl/vpp.pm, vutil/lib/version/vxs.pm:
Prevent DIE handlers in user code from tripping up loading version.
Don't know how this hasn't shown up until now. Resolves:
https://rt.cpan.org/Ticket/Display.html?id=70260
[754fd86858af]
* t/coretests.pm:
Reorder tests and include both positive and negative test for exception.
* README, lib/version.pm, t/01base.t, t/02derived.t, t/03require.t,
t/coretests.pm, vperl/vpp.pm, vutil/lib/version/vxs.pm,
vutil/vxs.xs:
Fix problem with UNIVERSAL::VERSION
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
version 0.8200 (upstream version 0.82).
Upstream changes:
Major Changes in 0.82 - 2010-04-13
=====================================
Still more changes to sync with Perl 5.12.0-as-released. Rewritten POD
thanks to many hands, but mostly David Golden. Vastly improved Regex
definitions from Zephram.
Major Changes in 0.81 - 2010-02-01
=====================================
Merge in changes from bleadperl that will be part of Perl 5.12.0.
Completely rewrite pure Perl code to operate exactly like the XS code,
through the creation of a character-array class called charstar. Now
the pure Perl code and XS code can be more easily be synchronized.
Upstream changes:
2010-01-21 John Peacock <john.peacock@havurah-software.org>
* Tagging version '0.80' using shipit.
* Ignore previous and existing tarballs
* Release to CPAN with just the assertion fix for older compilers.
* Bump $VERSION in all files in preparation for quick CPAN release
* Currently failed attempt to merge with bleadperl
2010-01-10 John Peacock <john.peacock@havurah-software.org>
* .hgtags:
Tagging version '0.79' using shipit.
[ec386b00d27a] [tip]
* .hgtags:
Removed tag 0.79
[824035a0f02a] [0.79]
* vutil/vutil.c, vutil/vutil.h:
Take the easy road to restore compatibility with Perl v5.10.1
[4ce98cb6eba3]
2010-01-09 John Peacock <john.peacock@havurah-software.org>
* .hgtags:
Tagging version '0.79' using shipit.
[87475097cea8]
* .hgignore:
tweaks to make mercurial happy
[7c5fd8f32175]
* .shipit, Build.PL:
Fixup to make shipit happy
[3dbce4937c28]
* .hgtags:
Rename all of the tags to be consistent
[2c38a17bfdec]
2010-01-06 John Peacock <john.peacock@havurah-software.org>
* .shipit, Build.PL, MANIFEST, MANIFEST.SKIP, README, lib/version.pm,
t/01base.t, t/02derived.t, t/03require.t, t/04lax.t, vperl/vpp.pm,
vutil/lib/version/vxs.pm, vutil/ppport.h:
Restore compatibility with Perl 5.00505 (finally). Bump all VERSION
references.
[05d5b8b44166]
2009-12-27 John Peacock <john.peacock@havurah-software.org>
* vutil/ppport.h, vutil/vutil.c, vutil/vutil.h:
Merge in changes from bleadperl. Tests do not pass with 5.005.
[0b19155e8e21]
2009-12-22 John Peacock <john.peacock@havurah-software.org>
* vutil/ppport.h:
Resolves https://rt.cpan.org/Ticket/Display.html?id=52439
[c7fc26126a1d]
2009-12-20 John Peacock <john.peacock@havurah-software.org>
* t/coretests.pm, vutil/vutil.c, vutil/vutil.h:
All tests passing except the VERSION_MAX ones.
[912515d937e8]
* lib/version.pm, vutil/vutil.c, vutil/vutil.h:
Almost completely transfer the code from scan_version to
prescan_version. Still failing some tests.
[ecd415561454]
2009-12-19 John Peacock <john.peacock@havurah-software.org>
* t/04lax.t, vutil/vutil.c:
Now handles decimal versions, too
[a1138d18495e]
* vutil/vutil.c, vutil/vutil.h:
isVERSION handles dotted-decimal version format
[8d994d73689b]
* MANIFEST, lib/version.pm, t/04lax.t:
New regexes that define the legal version strings under both $LAX,
(current code) and $STRICT (new feature for Perl 5.12.0).
[46076dadb3fb]
2010-01-02 John Peacock <john.peacock@havurah-software.org>
* .hgtags:
Removed tag trunk
[b0d50d9f1a11]
2010-01-03 convert-repo <convert-repo>
* .hgtags:
update tags
[f173c486b889]
Upstream changes:
2009-10-22 John Peacock <jpeacock@cpan.org>
Forgot to edit the README
2009-10-15 John Peacock <jpeacock@cpan.org>
Make sure we override the system version.pm in the core for perl5.10.x
2009-10-15 John Peacock <jpeacock@cpan.org>
Bump $VERSION in all files and add README text
2009-10-15 John Peacock <jpeacock@cpan.org>
Smarter handling of non-magic v-strings.
Resolves https://rt.cpan.org/Ticket/Display.html?id=50347
Upstream changes:
2009-09-07 John Peacock <jpeacock@cpan.org>
Tighten up un_vstring code to limit the number of false positives.
Bump $VERSION in anticipation of release to CPAN.
2009-09-07 John Peacock <jpeacock@cpan.org>
Stop leaking SV's. Thanks to Goro Fuji for patch
pkgsrc changes:
- Setting license to perl5 license
Upstream changes:
2009-07-28 John Peacock <jpeacock@cpan.org>
Little jog to make sure META.yml does't contain UNIVERSAL
2009-07-28 John Peacock <jpeacock@cpan.org>
Only replace use_ok() if running with Test::More < 0.48
2009-07-28 John Peacock <jpeacock@cpan.org>
Provide replacement use_ok to make the 02derived.t tests pass.
2009-07-28 John Peacock <jpeacock@cpan.org>
Fix for https://rt.cpan.org/Ticket/Display.html?id=48268
2009-07-26 John Peacock <jpeacock@cpan.org>
Script to run through all of the Perl releases in one go
2009-07-26 John Peacock <jpeacock@cpan.org>
Release 0.77 to CPAN without the warning change, for release with 5.10.1
2009-07-24 John Peacock <jpeacock@cpan.org>
Finally complete the POD rewrite. Change the behavior to throw a
warning if you try and use a v-string without a leading 'v' in a
version object declaration (this may get pulled) and rewrite the POD
to follow the New World Order.
2009-07-24 John Peacock <jpeacock@cpan.org>
Resolves https://rt.cpan.org/Public/Bug/Display.html?id=48135
2009-07-22 John Peacock <jpeacock@cpan.org>
Forgot to bump this. Always run tests before committing!
2009-07-22 John Peacock <jpeacock@cpan.org>
Revised version::Internals POD; bump $VERSION for potential last CPAN
release.
2009-07-22 John Peacock <jpeacock@cpan.org>
WIP for version::Internals
2009-07-21 John Peacock <jpeacock@cpan.org>
Don't need to load the class in order to check whether it contains package or assignments.
2009-07-18 John Peacock <jpeacock@cpan.org>
Rename Extended to Dotted-Decimal
2009-07-18 John Peacock <jpeacock@cpan.org>
Rename "Numeric" to "Decimal"
2009-07-18 John Peacock <jpeacock@cpan.org>
Fix for RT#47980. Don't check $@ if you haven't actually done the eval().
2009-07-16 John Peacock <jpeacock@cpan.org>
Apply David Golden's suggested changes with some minor massaging.
2009-07-15 John Peacock <jpeacock@cpan.org>
Another CPAN alpha release.
2009-07-15 John Peacock <jpeacock@cpan.org>
Start reworking the Internals documentation into something useful.
2009-07-14 John Peacock <jpeacock@cpan.org>
Tweakage of POD
2009-07-10 John Peacock <jpeacock@cpan.org>
Neglected to delete this directory from the repo
2009-06-29 John Peacock <jpeacock@cpan.org>
Allow the pure Perl version module to be installed on Perl 5.10.0,
and trump the core code.
2009-06-28 John Peacock <jpeacock@cpan.org>
Better heuristic for deciding when to rebless
2009-06-28 John Peacock <jpeacock@cpan.org>
Remove old file from MANIFEST
2009-06-28 John Peacock <jpeacock@cpan.org>
Convert this test to make its own Empty class
2009-06-28 John Peacock <jpeacock@cpan.org>
Missed a couple more MAGIC NUMBERS in the tests.
2009-06-28 John Peacock <jpeacock@cpan.org>
Tests all pass now in 5.005_04 in XS mode too!
Need to adapt the pure Perl release to work with 5.10.0 as well.
2009-06-27 John Peacock <jpeacock@cpan.org>
Whitespace differences from blead
2009-06-27 John Peacock <jpeacock@cpan.org>
Sync changes from bleadperl to vutil.c
2009-06-26 John Peacock <jpeacock@cpan.org>
Finally have all tests passing in 5.10.0!
2009-06-23 John Peacock <jpeacock@cpan.org>
Disable all tests for 5.10.0 for the moment, so we can release
as an alpha and not falsely claim success or failure.
2009-06-13 John Peacock <jpeacock@cpan.org>
Fix RT#46921 - locale and eval action at a distance. All tests pass
except on 5.10.0 (because the core code is broken).
2009-06-13 John Peacock <jpeacock@cpan.org>
Fix mistaken regex to convert large exponential numbers to non-exponential
form before scanning. Resolves:
https://rt.cpan.org/Ticket/Display.html?id=45241
2009-05-27 John Peacock <jpeacock@cpan.org>
More fiddling with the revised POD.
2009-05-20 John Peacock <jpeacock@cpan.org>
Resolve some more misleading warnings from vpp.pm in 5.005 and 5.6
2009-05-20 John Peacock <jpeacock@cpan.org>
Misplaced #endif caused 5.005_04 and 5.6.x to fail tests. Add
documentation for is_qv.
2009-05-18 John Peacock <jpeacock@cpan.org>
Make all test pm files use File::Temp. Change qv() to be both method and
function. All tests pass using Build.PL from perl 5.6.x forward, but
a couple of test failures using Makefile.PL in 5.6.x and 5.005_04.
2009-05-16 John Peacock <jpeacock@cpan.org>
Tests pass but POD is incomplete
2009-05-10 John Peacock <jpeacock@cpan.org>
All tests pass in all Perl's and in XS and pure Perl. Perl 5.005_04 still
throws lots of stupid warnings in pure Perl; can't help it apparently.
2009-05-10 John Peacock <jpeacock@cpan.org>
Now tests all pass on 5.005 as well (two warnings I can't prevent)
2009-05-10 John Peacock <jpeacock@cpan.org>
Now all three test files are 100% for 5.8.x and 5.10.x, but 01 and 02 fail
with 5.6.x and 5.005
2009-05-09 John Peacock <jpeacock@cpan.org>
Begin massive reorg/redesign. Tests 01 and 03 are 100%; 02 needs work.
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
Pkgsrc changes:
o Canonicalize MASTER_SITES and HOMEPAGE
o Replace perl in two installed modules
o Adjust pointer to .packlist
Upstream changes:
2008-07-18 John Peacock <jpeacock@cpan.org>
Fix segfault with core version stringification of serialized version
objects without an 'original' entry. See
http://rt.perl.org/rt3/Public/Bug/Display.html?id=56606
2008-07-08 John Peacock <jpeacock@cpan.org>
Only need to rev the underlying vstringify2() function.
2008-07-08 John Peacock <jpeacock@cpan.org>
Commit working implementation to handle badly formed version objects
thanks to Data::Dumper. :(
- ok'ed by abs
ChangeLog:
2008-06-14 John Peacock <jpeacock@cpan.org>
Interim release to correctly install under Perl v5.10.0.
2008-06-07 John Peacock <jpeacock@cpan.org>
Forgot to bump the $VERSION. Go figure.
2008-06-07 John Peacock <jpeacock@cpan.org>
Improve POD to clarify usage and prevent confusion.
2008-04-01 John Peacock <jpeacock@cpan.org>
Optionally use the more efficient XSLoader instead of DynaLoader.
Resolves http://rt.cpan.org//Ticket/Display.html?id=34590
2007-10-24 John Peacock <jpeacock@cpan.org>
Data::Dumper is sometimes too clever for its (and our) own good.
When copying an existing version object, directly set newSViv
instead of using &PL_sv_yes, since the latter has a PV slot which
looks shared to D::D's jaundiced eye.
Resolves:
http://rt.cpan.org/Public/Bug/Display.html?id=30004
2007-09-20 John Peacock <jpeacock@cpan.org>
New code to handle versions too large to fit into an IV slot.
Both the pure Perl and XS code are now safe to use with ~0
Test new functionality.
Patch provided by Mark E. Perkins in PR 36465.
2007-04-17 John Peacock <jpeacock@cpan.org>
Neglected to delete or comment out a $DB::single (again).
2007-04-17 John Peacock <jpeacock@cpan.org>
One last place that needed a leading 'v' (for non-magic v-strings).
2007-04-17 John Peacock <jpeacock@cpan.org>
v-string created version objects always stringify with a leading 'v' for
consistency's sake, since we have no way of knowing whether one was present
for 5.6.0 <= Perl < 5.8.1 (non-magic v-strings).
2007-04-17 John Peacock <jpeacock@cpan.org>
When copying an existing version object, forgot to copy the original string
representation.
2007-04-14 John Peacock <jpeacock@cpan.org>
Return original string value for all stringification cases except for
qv(1.2) which returns 'v1.2' for roundtrip purposes.
2007-04-12 John Peacock <jpeacock@cpan.org>
Output the original string form for numeric versions for XS code now.
Ready to release to CPAN.
2007-04-12 John Peacock <jpeacock@cpan.org>
It will be less surprising to overload string comparisons (now that the
default stringification is identical to the initializer) than it would be
to not overload them.
2007-04-11 John Peacock <jpeacock@cpan.org>
Better way to handle the undef initialization case.
2007-04-11 John Peacock <jpeacock@cpan.org>
Disallow string comparisons with version objects. Tests adjusted to use
numeric comparisons only.
2007-04-11 John Peacock <jpeacock@cpan.org>
Cache the original string used to initialize the version object and return
that when stringifying. Only works with pure Perl class for the moment.
2007-03-18 John Peacock <jpeacock@cpan.org>
Add more text to README on v-string support.
2007-03-18 John Peacock <jpeacock@cpan.org>
Now supports non-magical v-strings (Perl 5.6.0-5.8.0)!
Polymorphic error messages from 5.6.0 onwards.
2007-03-10 John Peacock <jpeacock@cpan.org>
Polymorphic error messages work everywhere except XS under 5.6.2. :(
2007-03-10 John Peacock <jpeacock@cpan.org>
Polymorphic error messages now working (and tested) in pure Perl module.
2007-02-13 John Peacock <jpeacock@cpan.org>
Don't need to explicitely specify the MAN3POD stuff, since EU::MM will now
do that automatically (since the POD is mentioned in PM).
Actually, magic v-strings came in at 5.8.1, not 5.8.0 (spotted in the
bleadperl variant).
2007-02-12 John Peacock
Final 0.70 release to CPAN.
2007-02-08 John Peacock
Error out on malformed input 1._1 (Andy Armstrong <andy@hexten.net>).
2007-02-08 John Peacock
Backport bleadperl changes.
2007-02-08 John Peacock
Prepare for another alpha release to CPAN
2007-02-08 John Peacock
Apply more const'ifying and code cleanup from bleadperl.
2007-02-07 John Peacock
Better regex to handle weird exponential notation under 5.6.x on OSX.
2007-02-05 John Peacock
Suppress installation (but test anyways) in bleadperl or better.
2007-01-30 John Peacock
Bump $VERSION's and update README for another dev release [0.69_02]
2007-01-30 John Peacock
XS UNIVERSAL::VERSION code now emits error messages just like the release of
Perl it is compiled against.
2007-01-30 John Peacock
Need to limit the effects of the WARN handler.
Stop testing v-strings in Perl 5.6.x until XS code is up to snuff.
2007-01-30 John Peacock
Complete rewrite of tests to confirm that version::vpp mirrors the
different Perl releases' error messages.
2007-01-30 John Peacock
Carefully replicate [almost] all error messages exactly as different Perl
releases would otherwise report. Resolves RT#24675 (once the tests are
adjusted).
2007-01-27 John Peacock
Improve documentation of v-strings as version initializers.
2007-01-27 John Peacock
Testing with Module::Build revealed problems with the boolean overload.
2007-01-27 John Peacock
Fix Makefile.PL to work correctly with 5.6.x and 5.005x.
Tests with bare v-strings can now handle 5.6.x releases.
Pure Perl release now includes same overloading as XS.
2007-01-10 John Peacock
Rewrite Makefile.PL again before releasing 0.69 to CPAN.
2007-01-09 John Peacock
Before releasing to CPAN, make sure to remove stale Makefile.* remnants
from previous runs (in case someone tries to rebuild with the pure Perl
release after building the XS release).
2007-01-08 John Peacock
Release 0.69 to CPAN
2007-01-08 John Peacock
Try to make the Makefile.PL more forgiving about evil compilers (RT#24283).
Eliminate Scalar::Util from pure Perl version (for Jos <kane@xs4all.nl>).
Latest ppport.h (newer is better, right?).
Resolve RT#24239 and 24244, related to PERL_DONT_CREATE_GVSV.
2006-11-23 John Peacock
Replace checks with Test::More with a custom module (so the tests won't
break when Test::More gets updated).
Changes since 0.6701:
2006-10-29 John Peacock <jpeacock@cpan.org>
Release 0.68 to CPAN with locale tests.
2006-10-08 John Peacock <jpeacock@cpan.org>
I was wrong. Apparently all releases of Perl require you to force the PV
to be regenerated after changing the locale.
2006-10-08 John Peacock <jpeacock@cpan.org>
Lots of changes. Problems noted in bleadperl because of locales which use
commas for the decimal point. Both XS and Perl code updated to handle
this, which was tricky for the latter because locale handling was so bad
prior to 5.8.0. Harmless warning during testing caused by bad interaction
between POSIX and Test::More's AUTOLOAD (no idea how to fix it).
Also bumped up required versions in tests and updated Makefile.PL to
correctly install the POD file.
2006-08-16 John Peacock <jpeacock@cpan.org>
Use default subclass name in Build.PL, since M::B nukes the version::
namespace during its own initialization.
2006-08-08 John Peacock <jpeacock@cpan.org>
Revert accidental whitespace change
2006-08-08 John Peacock <jpeacock@cpan.org>
One more regex to prevent patch files being added to MANIFEST
2006-08-08 John Peacock <jpeacock@cpan.org>
Dependency on changelog not in correct order with dist
2006-08-08 John Peacock <jpeacock@cpan.org>
Yet another way to structure Makefile.PL so that it autogenerates Changes.
2006-08-08 John Peacock <jpeacock@cpan.org>
Once again, fix very small version handling in pure Perl release (globally
this time).
2006-07-30 John Peacock <jpeacock@cpan.org>
Property change (don't need these to be executable).
2006-07-30 John Peacock <jpeacock@cpan.org>
Add MANIFEST.SKIP so Module::Release will be happy.
Hide vutil/Makefile.PL inside top level Makefile.PL (__DATA__).
2006-07-30 John Peacock <jpeacock@cpan.org>
Force MSVC to only compile, not link, by default.
Generate manified PODs in Makefile.PL.
Autogenerate 'Changes' from Makefile.PL.
2006-07-25 John Peacock <jpeacock@cpan.org>
Pure Perl UNIVERSAL::VERSION was throwing undef warnings when called
without a req, e.g. MODULE->VERSION.
2006-07-25 John Peacock <jpeacock@cpan.org>
More compatibility for inclusion in Module::Build.
Remove dependency to Scalar::Util (just guess if it is a v-string).
2006-07-19 John Peacock <jpeacock@cpan.org>
More Makefile tweakage. Can't use warnings in Perl < v5.6.0 and need to
protect Build.PL from being run by Makefile.PL being a little too helpful.
2006-07-17 John Peacock <jpeacock@cpan.org>
Custom Makefile.PL left debris around if ExtUtils::CBuilder, confusing the
Makefile into trying to compile/link something that wasn't there.
Also, take out the "0+" numification, which didn't work in vpp.pm, and which
I don't want to support with this module anyway.
2006-07-17 John Peacock <jpeacock@cpan.org>
Reorganize structure and provide a fully EU::MM compatible Makefile.PL
for, among other cases, bootstrap installing of Module::Build (which now
depends on version.pm). No new tests, no change to core code. Resolves
RT#20493.
2006-06-08 John Peacock <jpeacock@cpan.org>
Bump version in preparation for release to CPAN as 0.64.
2006-05-29 John Peacock <jpeacock@cpan.org>
As it turns out, the import() method *can* be inherited and DTRT.
POD adjusted to reflect the current reality.
2006-05-29 John Peacock <jpeacock@cpan.org>
Based on a suggestion by David Wheeler, test for already exported qv() in a
more inheritance friendly fashion.
Create a way to call the base import() from a subclass and have it DTRT and
provide documentation for doing so.
Ready to release to CPAN as 0.63_01.
Provides the same version objects as included in Perl v5.9.x (and
hopefully in the 5.10.0 release). In fact, if you attempt to use
this module with a version of Perl >= v5.9.0, this module will not
do anything, since the code already exists in the Perl core. Note
that the CPAN release cannot be installed with the interim 5.9.0,
5.9.1, and 5.9.2 releases (since it duplicates code in the core).
If you are testing bleadperl, you will need to check out the latest
release of 5.9.x to get the changes included in 0.50.