2006-02-19 John Peacock Another workaround for incomplete testing 2006-02-17 John Peacock Emergency release to fix up M::B 0.2611 problem 2006-02-16 John Peacock Neglected to clean up after XS code (since we are playing games). 2006-02-16 John Peacock No, really, the final changes before releasing to CPAN. :( 2006-02-16 John Peacock Final updates for 0.54 release to CPAN. 2006-02-14 John Peacock Merge from version-combined branch. Equivalent to RELEASE_0_53_03. 2006-02-09 John Peacock Commit changes prior to push to implement pure Perl alternative. * Build.PL Need to exclude building on all 5.9.x bleadperl releases. * lib/version.pod Forgot a quote in one of the example code fragments. * vutil/vutil.c Sync with bleadperl. Only warn if 'use warnings' is set. 2006-01-10 John Peacock Release 0.53 to CPAN. * vutil/vutil.c warn() when initialization string contains trailing characters (rather than silently ignoring them). Suggested by David Wheeler. * t/coretests.pm Test the above change. * README Document the above. * lib/version.pm lib/version/vxs.pm Bump $VERSION. 2006-01-06 John Peacock New version to deal with malformed input data that came up in bleadperl: sprintf of version objects * README lib/version/vxs.pm lib/version.pm Bump version. * vutil/vutil.c Die if input value has underscore but no decimal. * t/01base.t t/02derived.t Use no_plan so I don't need to increment tests any more. * t/coretests.pm Check for malformed input. 2006-01-05 John Peacock Ready for new release to CPAN with minor changes. * README Describe minor changes * lib/version/vxs.pm lib/version.pm Bump $VERSION. * vutil/vutil.c Eliminate code I'm never going to use. 2005-12-03 John Peacock * lib/version.pod PAUSE does so support version objects. Elaborate on support for Module::Build and lack thereof for ExtUtils::MakeMaker. 2005-12-02 John Peacock * version/vxs.pm Forgot to bump this. When am I going to have inherited props? 2005-12-02 John Peacock * Build.PL Explicit minimum version of Module::Build. Fixes * README Whoo-hoo! Remember to update this the first time. * lib/version.pm Make sure that there is no possible way that Perl will try to include the non-existant pure Perl vpp.pm * lib/version.pod Complete rewrite that is hopefully easier to understand. 2005-11-01 John Peacock * vutil/vutil.c Use trinary operator to choose power of 10, rather than pow(), which caused some problem with AIX 5.1. Resolves: * t/02derived.t Suppress unnecessary warning when overriding qv() sub. 2005-10-10 John Peacock * version/README Remember to update this for 0.49 release. 2005-10-08 John Peacock Fix Build.PL so Win32 will compile properly 2005-10-06 John Peacock * version/Build.PL Explicit call to dist_name to help Windows DTRT. Resolves ticket: * lib/version/vxs.pm lib/version.pm lib/version.pod t/01base.t t/02derived.t t/coretests.pm vutil/vutil.c Change implementation to return version objects instead of version::vxs object. Document that qv() isn't inherited and give work around. Update tests to no longer test version::vxs class directly (since it doesn't work). Resolves ticket: 2005-09-26 John Peacock Start POD rewrite. 2005-09-14 John Peacock Significant archectectural change (object hash has to contain reference to array not the array itself); see for details. Initial changes to support pure Perl variant (not included yet), see for more details. All POD moved to seperate file. Tests abstracted out for reuse by different classes. 2005-09-07 John Peacock "version" element of hash must be a reference, see: for details. Also, function name changes backported from bleadperl version. 2005-08-23 John Peacock Badly written subclasses could SEGV (reported by Andreas Koenig). Now all version objects are validated before use. Add vverify() function to validate version objects and include it before each use of a version object. Add tests for poorly written subclass that tickle the above function. Apply const'ifying from bleadperl and reformat calls to sv_[cat|set]pvf to be consistent with bleadperl source. 2005-08-22 John Peacock Leading whitespace or lack of leading zero caused the the object to be initialized incorrectly (reported by Andreas Koenig). Added POD for subclassing. Removed cruft from README file. 2005-08-03 John Peacock Don't strip trailing zeros unneccesarily 2005-08-02 John Peacock Spelling fixes from "Piotr Fusik" 2005-07-23 John Peacock Complete rename of files to prevent GCC 4.0 bug 2005-07-23 John Peacock Preliminary commit for rename of util.[ch] 2005-06-06 John Peacock Final changes to release 0.43 to CPAN * README, lib/version.pm Bump $VERSION number * t/01base.t Test that single term version expands to triplet for $v->normal. Eliminate "Exporter" from derived class. * util/util.c Various const'ifying to match Perl's own changes. Handle short and really short array outputs in vnormal(). * util/util.h const'ify Perl_scan_version(). 2005-05-23 John Peacock Complete rewrite of parser to handle CPAN-style (two significant decimal) versions, as well as finish documenting the changes. * util/util.c Simplify parser to just count digits when parsing numeric versions. * lib/version.pm Rewrite documentation on Numeric Alpha Versions and make all examples consistent. * t/01base.t Add additional tests for CPAN-style alphas as well as object->new(). 2005-05-20 John Peacock * lib/version.pm Revised POD to correspond to new behavior with regards to both Quoted Versions and Alpha Versions. * lib/version.xs Extend new() to be callable as an object method. Copy existing object if called as object method with no parameter. 2005-05-17 John Peacock Working towards a release to CPAN. * README lib/version.pm First pass at documenting the external changes. * t/01base.t Since vcmp() is working again, can restore the minimum to the use line. * util/util.c Finish up handling for vcmp to deal with alpha versions. 2005-05-17 John Peacock Almost completely working; only the comparison tests with non-objects is still failing. * lib/version.xs Simplify is_alpha() now that it is just as hash flag. * util/util.c Manually create and copy the hash elements when creating new object from old object. Forgot to make sure to display all subversion from short numeric versions. 2005-05-15 John Peacock Completed (?) to move to Module::Build * lib/typemap lib/version.xs Move XS and support files to lib/ * util/ppport.h util/util.c util/util.h Move utility functions in their own directory (c_source) * MANIFEST Updated to reflect new file locations Add additional files that were originally left out of file Alphabetize this listing (for compulsiveness) 2005-05-15 John Peacock Intermediate commit to facilitate move to Module::Build as well as work on new hash-based object (all tests do not suceed) * Makefile.PL Replace ExtUtils::MakeMaker with Module::Build wrapper * Build.PL New M::B file * version.xs Try and deal with case where no parameter was passed to new() * util.c Changes to access hash-based object (vcmp still busted) * t/01base.t Changed to prevent core dump (temporarily) 2005-05-08 John Peacock Implement alpha versions using secret array zero slot to differentiate between two place alphas (1.02_03) and three place alphas (1.002_03) so that versions which only use two significant places normally will still sort correctly with their alpha versions. * util.c (Perl_scan_version): Somehow manage to both simplify and complicate the code at the same time. (Perl_vnumify): use the new zero'th array element to distinguish between 2 and 3 significant decimal places for printing. 2005-04-21 John Peacock * util.c Handle two digit alpha versions Once a v-style or FP, always a v-style or FP * t/01base.t Altered tests to match new expectations 2005-02-06 John Peacock * Makefile.PL Windows doesn't understand the braces for shell expansion * README, lib/version.pm Change $VERSION string * t/01base.t Correctly compare to numified version (instead of stringified) * util.c Use same code as bleadperl AvReal_on required to fix problems under threaded Perl Slight rewrite of loop code to fix compiler bug on OS X Display alpha versions properly * version.xs new() returns void since it actual returns on the stack 2004-07-12 John Peacock * util.c Fix infinite loop for CVS-style versions of more than 3 decimal places. Thanks to Richard Evans * t/01base.t Test to make sure above doesn't happen again. * lib/version.pm Increment the $VERSION again. * README Remember to update this before releasing (for a change). 2004-07-11 John Peacock * lib/version.pm Increment $VERSION number; have to quote to get the tgz file named correctly (isn't that what this module is supposed to fix?) * version.xs:UNIVERSAL_VERSION() Check for null sv before attempting sv_derived_from() Thanks to Marcus Holland-Moritz for finding this. 2004-04-14 John Peacock Merge changes from version-0.39 back to trunk 2004-01-06 John Peacock * t/02AlphaBeta.t * t/01base.t Update tests to require newer version. Change test for CPAN-Style version behavior. * MANIFEST Delete 'Changes' from repository since it will now be autogenerated. * lib/version.pm Clean up POD to reflect actual behavior of code. * Makefile.PL Add new target to automatically generate the 'Changes' file. * util.c (Perl_scan_version): rewrite code to use AV * instead of SV * for internal representation; trigger CPAN-style only for second term. 2004-01-03 John Peacock Ignore MakeMaker-generated files in svn status 2004-01-03 John Peacock Ignore MakeMaker-generated files in svn status 2004-01-03 John Peacock Ignore MakeMaker-generated files in svn status 2004-01-01 John Peacock * lib/version.pm (POD): Initial documentation of CPAN-Style versions. * util.c (Perl_scan_version): Try and handle CPAN versions (two decimal places) differently from Perl-style (three or more decimal places). 2003-12-29 John Peacock * typemap Stop automatically dereferencing input variable * lib/version.pm Update $VERSION for a change * README Include warning on memory leaks * util.c (new_version): use upg_version exclusively (upg_version): move code from new_version here * version.xs Stop dereferencing input variables Stop assuming that the PV has a value 2003-12-28 John Peacock * t/01base.t Replace postfix increment with prefix increment to prevent erroneous "Attempt to free..." errors Add test of CVS $Revision: $ style versions * util.c Rewrite new_version to free temporary string variable * version.xs Rewrite version->new() to eliminate temp string for CVS $Revision: $ Rewrite version->qv() to use scan_version instead of new_version 2003-12-21 John Peacock M version.xs Go through code to ensure that there are no leaking scalars Sadly, there are still leaks from version::VERSION of unknown origins 2003-12-20 John Peacock M t/02AlphaBeta.t M lib/version/AlphaBeta.pm Implement an alternate object representation Overload stringify() with custom function 2003-10-25 John Peacock M t/02AlphaBeta.t Add empty derived class and modify tests to run M t/01base.t Work around bug with postfix increment under all Perl < bleadperl 2003-09-10 John Peacock Fix for Ticket #3764 - need to strip final term before chop() Implement qv() function and document/test 2003-09-10 John Peacock Remove the changes file from the repository. Generate it before release: svn log file:///var/svn/modules/version/trunk and eventually by 'release.pl --changes' 2003-09-10 John Peacock Finish backporting bleadperl changes Special case test for 5.005_03 Patch ppport.h to support IVSIZE for 5.005_03 2003-09-10 John Peacock No, really delete the lines from MANIFEST Last bit of clean up in the POD 2003-09-10 John Peacock Delete version::Empty module and include in t/01base.t instead Correct MANIFEST (delete missing files and add ppport.h) Make version::stringify() return at least three subversions 2003-09-09 John Peacock Integrate changes from bleadperl Combine emptyclass.t test into 01base.t Use ppport.h instead of homebrewed #define's 2003-09-07 John Peacock Extend version::new() to handle derived classes Abstract t/01base.t into external file Create and test empty derived class FIX: "attempt to free unreferenced scalar" during testing 2003-07-09 John Peacock Merge changes made accidently on branch back to head 2003-06-13 John Peacock Forgot to commit this before releasing. 2003-06-13 John Peacock Correct the example code (again) to correct for CVS update problems 2003-06-13 John Peacock Reformatted POD's from 2003-06-13 John Peacock Change reference from "beta" to "alpha" to follow PAUSE convention Add new function ->is_alpha() to test for alpha versions Add docs for all logical operations on version objects Fix example to have matching versions (old CVS issue) 2003-06-13 John Peacock Implement version::AlphaBeta module Copy repository history from CVS into subversion 2003-06-13 John Peacock To prepare to load /home/jpeacock/tmp/version-0.28 into version/trunk, perform 2 renames. * version/trunk/t/1.t: Renamed from version/trunk/t/version.t. * version/trunk/lib/version.pm: Renamed from version/trunk/version.pm. 2003-01-05 John Peacock Extract most recent log messages for main file 2003-01-05 John Peacock Rewrite POD to call a v-string a v-string Reformat POD to look nicer 2003-01-05 John Peacock Make vnumify return an actual NV (instead of an SV which looks like one) 2003-01-05 John Peacock Make warnings even more dire 2003-01-05 John Peacock change comment message to more accurately reflect the test 2002-12-27 John Peacock Rewrite to support new model of "Numeric Versions" and "String Versions" 2002-12-17 John Peacock New version to cope with GSAR's vision of bare number versions 2002-12-05 John Peacock Make -w clean tests 2002-12-05 John Peacock Bring into sync with perl-current 2002-11-18 John Peacock Bring current with repository version 2002-11-18 John Peacock Fix compile errors under threaded Perl's Supress {Unquoted string version} warnings 2002-11-18 John Peacock Fix compile errors under threaded Perls 2002-11-18 John Peacock Fix compile errors under threaded Perl's Supress {Unquoted string "version"} warnings 2002-10-14 John Peacock Fix typos Fix handling of null versions 2002-10-10 John Peacock use Perl_croak from C code 2002-10-08 John Peacock Recover gracefully to null versions (rather than core) 2002-10-08 John Peacock Recover gracefully to null versions (rather than core) 2002-10-04 John Peacock Document extended decimal version parsing 2002-10-04 John Peacock Force all files to next major revision (so the version works) 2002-10-04 John Peacock Add tests for 1.002003 => 1.2.3 2002-10-04 John Peacock Add support for 1.002003 => 1.2.3 2002-10-04 John Peacock Remove dependency on Exporter.pm 2002-09-29 John Peacock Update with version from perl-current 2002-09-29 John Peacock Change vstringify and vnumify Reword main POD slightly 2002-09-28 John Peacock Final changes to release to CPAN Merged code into perl-current 2002-09-28 John Peacock Ready to release to CPAN 2002-09-28 John Peacock POD changes 2002-09-28 John Peacock Cannot use SvPV_nolen in 5.005_03 2002-09-22 John Peacock Document the UNIVERSAL::VERSION replacement 2002-09-22 John Peacock Successfully create and test my own UNIVERSAL::VERSION replacement 2002-09-16 John Peacock Improve the testing of beta versions 2002-09-16 John Peacock More POD changes 2002-09-16 John Peacock Add additional testing Add POD 2002-09-16 John Peacock Finally works in 5.005_03, 5.6.1, and 5.8.0 2002-09-15 John Peacock Doesn't work any more? 2002-09-14 John Peacock working AV objects in 5.6.x only 2002-09-14 John Peacock *** empty log message *** 2002-09-13 John Peacock Finished for the night 2002-09-13 John Peacock almost working AV style version objects 2002-09-13 John Peacock Initial revision ;; Local Variables: ;; coding: utf-8 ;; End: