[Orca-checkins] r375 - in trunk/orca: . packages/version-0.39 packages/version-0.41 packages/version-0.41/lib packages/version-0.41/t
Blair Zajac
blair at orcaware.com
Tue Jul 13 22:07:44 PDT 2004
Author: blair
Date: Tue Jul 13 21:59:56 2004
New Revision: 375
Added:
trunk/orca/packages/version-0.41/
- copied from r373, trunk/orca/packages/version-0.39/
Removed:
trunk/orca/packages/version-0.39/
Modified:
trunk/orca/INSTALL
trunk/orca/configure.in
trunk/orca/packages/version-0.41/Changes
trunk/orca/packages/version-0.41/META.yml
trunk/orca/packages/version-0.41/Makefile.PL
trunk/orca/packages/version-0.41/README
trunk/orca/packages/version-0.41/lib/version.pm
trunk/orca/packages/version-0.41/t/01base.t
trunk/orca/packages/version-0.41/util.c
trunk/orca/packages/version-0.41/version.xs
Log:
Upgrade the Perl version module from 0.39 to 0.41 and require the new
module for Orca.
* configure.in:
Bump version's version number to 0.41.
* INSTALL (Determine which Perl modules need compiling and installing):
Update all references to version's version number from 0.39 to
0.41.
* packages/version-0.41:
Renamed from packages/version-0.39. Directory contents updated
from version-0.41.tar.gz.
Modified: trunk/orca/INSTALL
==============================================================================
--- trunk/orca/INSTALL (original)
+++ trunk/orca/INSTALL Tue Jul 13 21:59:56 2004
@@ -178,7 +178,7 @@
RRDs >= 1.000461 >= 1.0.46 1.0.46
Storable >= 2.13 >= 2.13 2.13
Time::HiRes Not required by Orca 1.59
- version >= 0.39 >= 0.39 0.39
+ version >= 0.41 >= 0.41 0.41
All seven of these modules are included with the Orca distribution
in the packages directory. When you configure Orca in step 3),
@@ -290,10 +290,10 @@
version
- http://www.perl.com/CPAN/authors/id/J/JP/JPEACOCK/version-0.39.tar.gz
+ http://www.perl.com/CPAN/authors/id/J/JP/JPEACOCK/version-0.41.tar.gz
- % gunzip -c version-0.39.tar.gz | tar xvf -
- % cd version-0.39
+ % gunzip -c version-0.41.tar.gz | tar xvf -
+ % cd version-0.41
% perl Makefile.PL
% make
% make test
Modified: trunk/orca/configure.in
==============================================================================
--- trunk/orca/configure.in (original)
+++ trunk/orca/configure.in Tue Jul 13 21:59:56 2004
@@ -43,8 +43,8 @@
STORABLE_VER=2.13
TIME_HIRES_DIR=Time-HiRes-1.59
TIME_HIRES_VER=1.59
-VERSION_DIR=version-0.39
-VERSION_VER=0.39
+VERSION_DIR=version-0.41
+VERSION_VER=0.41
AC_SUBST(COMPRESS_ZLIB_DIR)
AC_SUBST(DATA_DUMPER_DIR)
Modified: trunk/orca/packages/version-0.41/Changes
==============================================================================
--- trunk/orca/packages/version-0.39/Changes (original)
+++ trunk/orca/packages/version-0.41/Changes Tue Jul 13 21:59:56 2004
@@ -1,439 +1,434 @@
-2004-04-13 21:15:32 John Peacock <jpeacock at cpan.org>
-
- M util.c
- Change scan_vstring to treat alpha versions like numeric if
- appropriate (only one decimal)
-
- M t/01base.t
- Alter testing and add new tests for alpha version code
-
- M lib/version.pm
- Continue to improve (hopefully) POD including new alpha version
- behavior
-
- M README
- Big red warnings about changing behavior
-
-2004-04-12 20:53:52 John Peacock <jpeacock at cpan.org>
-
- New branch to fix alpha versions
-
-2004-04-11 10:44:55 John Peacock <jpeacock at cpan.org>
-
- M MANIFEST
- Forgot to delete the version::AlphaBeta files from packing list
-
-2004-04-11 10:43:34 John Peacock <jpeacock at cpan.org>
-
- D lib/version
- D t/02AlphaBeta.t
- Delete these files and release independently on CPAN
-
- M util.c
- new() of version object makes copy
-
- M t/01base.t
- test new() on existing version object
-
- M lib/version.pm
- M README
- Document new() and elimination of version::AlphaBeta from this distro
-
- M version.xs
- Only call vnumify() if a version object in UNIVERSAL::VERSION
-
-2004-04-09 23:58:31 John Peacock <jpeacock at cpan.org>
-
- Brnach for new version
-
-2004-04-03 14:30:01 John Peacock <jpeacock at cpan.org>
-
- * lib/version.pm
- Change all uses of "new version" to "version->new()"
- Check all examples against current code/behavior
- Add doc warnings for edge cases
-
-2004-03-27 22:45:18 John Peacock <jpeacock at cpan.org>
-
- * util.c
- quoted versions, e.g qv() and v-string, always get at least 3 terms
- change vstringify() to vnormal()
- new vstringify() to display either vnumify() or vnormal() form
-
- * util.h
- Add #define for SVf (SV format) only needed for Perl 5.005_03
-
- * version.xs
- new XS class function normal()
- UNIVERSAL::VERSION warning displays both numify() and normal() forms,
- also returns exclusively numify() form
-
- * lib/version.pm
- Extensive POD rewrite to explain normal form and how stringify works
-
- * t/01base.t
- Altered tests to correspond to new stringify behavior
-
- * README
- Add warning about new stringify behavior
-
- * ppport.h
- Copied from recent bleadperl build
-
-2004-03-23 21:07:08 John Peacock <jpeacock at cpan.org>
-
- Create a new tag before changing anything
-
-2004-02-01 20:30:01 John Peacock <jpeacock at cpan.org>
-
- * README
- Include a short blurb on the qv() operator
-
- * lib/version.pm
- Reformat the description of the qv() operator
- Change the $VERSION for a release
-
- * version.xs
- Support using qv() with v-strings in Perl 5.8.1+
-
- * t/01base.t
- Tests for qv() and v-strings
-
-2004-02-01 20:29:11 John Peacock <jpeacock at cpan.org>
-
- Copy the files prior to updating to new version
-
-2004-01-29 22:35:40 John Peacock <jpeacock at cpan.org>
-
- Tag for 0.35.0 release
-
-2004-01-29 21:46:15 John Peacock <jpeacock at cpan.org>
-
- * lib/version.pm
- Update the $VERSION prior to release
-
- * MANIFEST
- Remove Changes as it is now autocreated
-
- * Makefile.PL
- Autocreate Changes as part of 'dist' target
-
- * util.c
- Correct handling of v-strings in new_version()
-
- * version.xs, util.c
- Change use of SvPV_nolen() with SvPV() so that 5.005_03 works again
-
- * t/01base.t
- Add tests for v-string creation (skipped on Perl < 5.8.0)
-
-2004-01-29 20:35:12 John Peacock <jpeacock at cpan.org>
-
- * Create a branch from which to eventually release 0.35
-
-2004-01-29 20:31:22 John Peacock <jpeacock at cpan.org>
-
- * Belately create tag for version 0.34
-
-2003-12-29 10:35:34 John Peacock <jpeacock at cpan.org>
-
- * 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 23:39:08 John Peacock <jpeacock at cpan.org>
-
- * 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 13:00:05 John Peacock <jpeacock at cpan.org>
-
- 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 19:27:00 John Peacock <jpeacock at cpan.org>
-
- M t/02AlphaBeta.t
- M lib/version/AlphaBeta.pm
- Implement an alternate object representation
- Overload stringify() with custom function
-
-2003-10-25 21:17:52 John Peacock <jpeacock at cpan.org>
-
- 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 15:05:07 John Peacock <jpeacock at cpan.org>
-
- Fix for Ticket #3764 - need to strip final term before chop()
- Implement qv() function and document/test
-
-
-2003-09-10 06:40:15 John Peacock <jpeacock at cpan.org>
-
- 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 06:36:49 John Peacock <jpeacock at cpan.org>
-
- Finish backporting bleadperl changes
- Special case test for 5.005_03
- Patch ppport.h to support IVSIZE for 5.005_03
-
-
-2003-09-10 05:13:09 John Peacock <jpeacock at cpan.org>
-
- No, really delete the lines from MANIFEST
- Last bit of clean up in the POD
-
-2003-09-10 04:59:31 John Peacock <jpeacock at cpan.org>
-
- 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 15:20:40 John Peacock <jpeacock at cpan.org>
-
- Integrate changes from bleadperl
- Combine emptyclass.t test into 01base.t
- Use ppport.h instead of homebrewed #define's
-
-
-2003-09-07 09:13:53 John Peacock <jpeacock at cpan.org>
-
- 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 10:11:57 John Peacock <jpeacock at cpan.org>
-
- Merge changes made accidently on branch back to head
-
-2003-06-13 21:34:50 John Peacock <jpeacock at cpan.org>
-
- Forgot to commit this before releasing.
-
-2003-06-13 15:02:11 John Peacock <jpeacock at cpan.org>
-
- Correct the example code (again) to correct for CVS update problems
-
-2003-06-13 14:56:27 John Peacock <jpeacock at cpan.org>
-
- Reformatted POD's from <Matthew.Persico at Lazard.com>
-
-2003-06-13 12:51:14 John Peacock <jpeacock at cpan.org>
-
- 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 12:48:05 John Peacock <jpeacock at cpan.org>
-
- Implement version::AlphaBeta module
- Copy repository history from CVS into subversion
-
-2003-06-13 12:48:02 John Peacock <jpeacock at cpan.org>
-
- 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 17:45:41 John Peacock <jpeacock at cpan.org>
-
- Extract most recent log messages for main file
-
-2003-01-05 17:43:51 John Peacock <jpeacock at cpan.org>
-
- Rewrite POD to call a v-string a v-string
- Reformat POD to look nicer
-
-2003-01-05 17:42:16 John Peacock <jpeacock at cpan.org>
-
- Make vnumify return an actual NV (instead of an SV which looks like one)
-
-2003-01-05 17:40:50 John Peacock <jpeacock at cpan.org>
-
- Make warnings even more dire
-
-2003-01-05 17:37:32 John Peacock <jpeacock at cpan.org>
-
- change comment message to more accurately reflect the test
-
-2002-12-27 10:15:29 John Peacock <jpeacock at cpan.org>
-
- Rewrite to support new model of "Numeric Versions" and "String Versions"
-
-2002-12-17 21:28:48 John Peacock <jpeacock at cpan.org>
-
- New version to cope with GSAR's vision of bare number versions
-
-2002-12-05 06:51:34 John Peacock <jpeacock at cpan.org>
-
- Make -w clean tests
-
-2002-12-05 05:41:24 John Peacock <jpeacock at cpan.org>
-
- Bring into sync with perl-current
-
-2002-11-18 05:35:54 John Peacock <jpeacock at cpan.org>
-
- Bring current with repository version
-
-2002-11-18 05:33:23 John Peacock <jpeacock at cpan.org>
-
- Fix compile errors under threaded Perl's
- Supress {Unquoted string version} warnings
-
-2002-11-18 05:33:23 John Peacock <jpeacock at cpan.org>
-
-
- Fix compile errors under threaded Perls
-
-2002-11-18 05:24:17 John Peacock <jpeacock at cpan.org>
-
- Fix compile errors under threaded Perl's
- Supress {Unquoted string "version"} warnings
-
-2002-10-14 21:27:00 John Peacock <jpeacock at cpan.org>
-
- Fix typos
- Fix handling of null versions
-
-2002-10-10 20:41:54 John Peacock <jpeacock at cpan.org>
-
- use Perl_croak from C code
-
-2002-10-08 20:51:20 John Peacock <jpeacock at cpan.org>
-
- Recover gracefully to null versions (rather than core)
-
-2002-10-08 20:44:24 John Peacock <jpeacock at cpan.org>
-
- Recover gracefully to null versions (rather than core)
-
-2002-10-04 22:57:00 John Peacock <jpeacock at cpan.org>
-
- Document extended decimal version parsing
-
-2002-10-04 21:01:45 John Peacock <jpeacock at cpan.org>
-
- Force all files to next major revision (so the version works)
-
-2002-10-04 20:53:33 John Peacock <jpeacock at cpan.org>
-
- Add tests for 1.002003 => 1.2.3
-
-2002-10-04 20:53:10 John Peacock <jpeacock at cpan.org>
-
- Add support for 1.002003 => 1.2.3
-
-2002-10-04 20:31:01 John Peacock <jpeacock at cpan.org>
-
- Remove dependency on Exporter.pm
-
-2002-09-29 19:46:23 John Peacock <jpeacock at cpan.org>
-
- Update with version from perl-current
-
-2002-09-29 19:44:47 John Peacock <jpeacock at cpan.org>
-
- Change vstringify and vnumify
- Reword main POD slightly
-
-2002-09-28 14:38:15 John Peacock <jpeacock at cpan.org>
-
- Final changes to release to CPAN
- Merged code into perl-current
-
-2002-09-28 06:21:16 John Peacock <jpeacock at cpan.org>
-
- Ready to release to CPAN
-
-2002-09-28 06:15:34 John Peacock <jpeacock at cpan.org>
-
- POD changes
-
-2002-09-28 06:15:16 John Peacock <jpeacock at cpan.org>
-
- Cannot use SvPV_nolen in 5.005_03
-
-2002-09-22 21:40:02 John Peacock <jpeacock at cpan.org>
-
- Document the UNIVERSAL::VERSION replacement
-
-2002-09-22 21:23:01 John Peacock <jpeacock at cpan.org>
-
- Successfully create and test my own UNIVERSAL::VERSION replacement
-
-2002-09-16 15:35:58 John Peacock <jpeacock at cpan.org>
-
- Improve the testing of beta versions
-
-2002-09-16 08:12:49 John Peacock <jpeacock at cpan.org>
-
- More POD changes
-
-2002-09-16 07:52:08 John Peacock <jpeacock at cpan.org>
-
- Add additional testing
- Add POD
-
-2002-09-16 06:17:41 John Peacock <jpeacock at cpan.org>
-
- Finally works in 5.005_03, 5.6.1, and 5.8.0
-
-2002-09-15 06:13:51 John Peacock <jpeacock at cpan.org>
-
- Doesn't work any more?
-
-2002-09-14 16:08:23 John Peacock <jpeacock at cpan.org>
-
- working AV objects in 5.6.x only
-
-2002-09-14 16:08:23 John Peacock <jpeacock at cpan.org>
-
- *** empty log message ***
-
-2002-09-13 23:12:25 John Peacock <jpeacock at cpan.org>
-
- Finished for the night
-
-2002-09-13 22:28:39 John Peacock <jpeacock at cpan.org>
-
- almost working AV style version objects
-
-2002-09-13 21:59:09 John Peacock <jpeacock at cpan.org>
-
- Initial revision
-
+------------------------------------------------------------------------
+r319 | jpeacock | 2004-07-12 23:07:10 -0400 (Mon, 12 Jul 2004) | 13 lines
+
+* util.c
+ Fix infinite loop for CVS-style versions of more than 3 decimal places
+ Thanks to Richard Evans <richard_david_evans at yahoo.co.uk>
+
+* 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)
+
+------------------------------------------------------------------------
+r316 | jpeacock | 2004-07-11 18:01:36 -0400 (Sun, 11 Jul 2004) | 8 lines
+
+* 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 <mhx-perl at gmx.net> for finding this
+
+------------------------------------------------------------------------
+r248 | jpeacock | 2004-04-14 13:52:42 -0400 (Wed, 14 Apr 2004) | 2 lines
+
+Merge changes from version-0.39 back to trunk
+
+------------------------------------------------------------------------
+r218 | jpeacock | 2004-01-06 21:16:42 -0500 (Tue, 06 Jan 2004) | 15 lines
+
+* 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
+
+
+------------------------------------------------------------------------
+r217 | jpeacock | 2004-01-03 22:16:15 -0500 (Sat, 03 Jan 2004) | 1 line
+
+Ignore MakeMaker-generated files in svn status
+------------------------------------------------------------------------
+r216 | jpeacock | 2004-01-03 22:10:27 -0500 (Sat, 03 Jan 2004) | 1 line
+
+Ignore MakeMaker-generated files in svn status
+------------------------------------------------------------------------
+r215 | jpeacock | 2004-01-03 22:09:44 -0500 (Sat, 03 Jan 2004) | 1 line
+
+Ignore MakeMaker-generated files in svn status
+------------------------------------------------------------------------
+r214 | jpeacock | 2004-01-01 20:54:15 -0500 (Thu, 01 Jan 2004) | 7 lines
+
+* 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)
+
+------------------------------------------------------------------------
+r213 | jpeacock | 2003-12-29 10:35:34 -0500 (Mon, 29 Dec 2003) | 13 lines
+
+* 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
+
+------------------------------------------------------------------------
+r212 | jpeacock | 2003-12-28 23:39:08 -0500 (Sun, 28 Dec 2003) | 12 lines
+
+* 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
+
+------------------------------------------------------------------------
+r209 | jpeacock | 2003-12-21 13:00:05 -0500 (Sun, 21 Dec 2003) | 4 lines
+
+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
+
+------------------------------------------------------------------------
+r208 | jpeacock | 2003-12-20 19:27:00 -0500 (Sat, 20 Dec 2003) | 5 lines
+
+M t/02AlphaBeta.t
+M lib/version/AlphaBeta.pm
+ Implement an alternate object representation
+ Overload stringify() with custom function
+
+------------------------------------------------------------------------
+r195 | jpeacock | 2003-10-25 21:17:52 -0400 (Sat, 25 Oct 2003) | 5 lines
+
+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
+
+------------------------------------------------------------------------
+r168 | jpeacock | 2003-09-10 15:05:07 -0400 (Wed, 10 Sep 2003) | 4 lines
+
+Fix for Ticket #3764 - need to strip final term before chop()
+Implement qv() function and document/test
+
+
+------------------------------------------------------------------------
+r166 | jpeacock | 2003-09-10 06:40:15 -0400 (Wed, 10 Sep 2003) | 8 lines
+
+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'
+
+
+------------------------------------------------------------------------
+r165 | jpeacock | 2003-09-10 06:36:49 -0400 (Wed, 10 Sep 2003) | 5 lines
+
+Finish backporting bleadperl changes
+Special case test for 5.005_03
+Patch ppport.h to support IVSIZE for 5.005_03
+
+
+------------------------------------------------------------------------
+r164 | jpeacock | 2003-09-10 05:13:09 -0400 (Wed, 10 Sep 2003) | 3 lines
+
+No, really delete the lines from MANIFEST
+Last bit of clean up in the POD
+
+------------------------------------------------------------------------
+r163 | jpeacock | 2003-09-10 04:59:31 -0400 (Wed, 10 Sep 2003) | 4 lines
+
+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
+
+------------------------------------------------------------------------
+r162 | jpeacock | 2003-09-09 15:20:40 -0400 (Tue, 09 Sep 2003) | 5 lines
+
+Integrate changes from bleadperl
+Combine emptyclass.t test into 01base.t
+Use ppport.h instead of homebrewed #define's
+
+
+------------------------------------------------------------------------
+r161 | jpeacock | 2003-09-07 09:13:53 -0400 (Sun, 07 Sep 2003) | 6 lines
+
+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
+
+------------------------------------------------------------------------
+r133 | jpeacock | 2003-07-09 10:11:57 -0400 (Wed, 09 Jul 2003) | 2 lines
+
+Merge changes made accidently on branch back to head
+
+------------------------------------------------------------------------
+r123 | jpeacock | 2003-06-13 21:34:50 -0400 (Fri, 13 Jun 2003) | 2 lines
+
+Forgot to commit this before releasing.
+
+------------------------------------------------------------------------
+r119 | jpeacock | 2003-06-13 15:02:11 -0400 (Fri, 13 Jun 2003) | 2 lines
+
+Correct the example code (again) to correct for CVS update problems
+
+------------------------------------------------------------------------
+r118 | jpeacock | 2003-06-13 14:56:27 -0400 (Fri, 13 Jun 2003) | 2 lines
+
+Reformatted POD's from <Matthew.Persico at Lazard.com>
+
+------------------------------------------------------------------------
+r117 | jpeacock | 2003-06-13 12:51:14 -0400 (Fri, 13 Jun 2003) | 5 lines
+
+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)
+
+------------------------------------------------------------------------
+r116 | jpeacock | 2003-06-13 12:48:05 -0400 (Fri, 13 Jun 2003) | 3 lines
+
+Implement version::AlphaBeta module
+Copy repository history from CVS into subversion
+
+------------------------------------------------------------------------
+r115 | jpeacock | 2003-06-13 12:48:02 -0400 (Fri, 13 Jun 2003) | 6 lines
+
+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.
+
+------------------------------------------------------------------------
+r90 | jpeacock | 2003-01-05 17:45:41 -0500 (Sun, 05 Jan 2003) | 2 lines
+
+Extract most recent log messages for main file
+
+------------------------------------------------------------------------
+r89 | jpeacock | 2003-01-05 17:43:51 -0500 (Sun, 05 Jan 2003) | 3 lines
+
+Rewrite POD to call a v-string a v-string
+Reformat POD to look nicer
+
+------------------------------------------------------------------------
+r88 | jpeacock | 2003-01-05 17:42:16 -0500 (Sun, 05 Jan 2003) | 2 lines
+
+Make vnumify return an actual NV (instead of an SV which looks like one)
+
+------------------------------------------------------------------------
+r87 | jpeacock | 2003-01-05 17:40:50 -0500 (Sun, 05 Jan 2003) | 2 lines
+
+Make warnings even more dire
+
+------------------------------------------------------------------------
+r86 | jpeacock | 2003-01-05 17:37:32 -0500 (Sun, 05 Jan 2003) | 2 lines
+
+change comment message to more accurately reflect the test
+
+------------------------------------------------------------------------
+r85 | jpeacock | 2002-12-27 10:15:29 -0500 (Fri, 27 Dec 2002) | 2 lines
+
+Rewrite to support new model of "Numeric Versions" and "String Versions"
+
+------------------------------------------------------------------------
+r84 | jpeacock | 2002-12-17 21:28:48 -0500 (Tue, 17 Dec 2002) | 2 lines
+
+New version to cope with GSAR's vision of bare number versions
+
+------------------------------------------------------------------------
+r83 | jpeacock | 2002-12-05 06:51:34 -0500 (Thu, 05 Dec 2002) | 2 lines
+
+Make -w clean tests
+
+------------------------------------------------------------------------
+r82 | jpeacock | 2002-12-05 05:41:24 -0500 (Thu, 05 Dec 2002) | 2 lines
+
+Bring into sync with perl-current
+
+------------------------------------------------------------------------
+r81 | jpeacock | 2002-11-18 05:35:54 -0500 (Mon, 18 Nov 2002) | 2 lines
+
+Bring current with repository version
+
+------------------------------------------------------------------------
+r80 | jpeacock | 2002-11-18 05:33:23 -0500 (Mon, 18 Nov 2002) | 3 lines
+
+Fix compile errors under threaded Perl's
+Supress {Unquoted string version} warnings
+
+------------------------------------------------------------------------
+r79 | jpeacock | 2002-11-18 05:33:23 -0500 (Mon, 18 Nov 2002) | 3 lines
+
+
+Fix compile errors under threaded Perls
+
+------------------------------------------------------------------------
+r78 | jpeacock | 2002-11-18 05:24:17 -0500 (Mon, 18 Nov 2002) | 3 lines
+
+Fix compile errors under threaded Perl's
+Supress {Unquoted string "version"} warnings
+
+------------------------------------------------------------------------
+r77 | jpeacock | 2002-10-14 21:27:00 -0400 (Mon, 14 Oct 2002) | 3 lines
+
+Fix typos
+Fix handling of null versions
+
+------------------------------------------------------------------------
+r76 | jpeacock | 2002-10-10 20:41:54 -0400 (Thu, 10 Oct 2002) | 2 lines
+
+use Perl_croak from C code
+
+------------------------------------------------------------------------
+r75 | jpeacock | 2002-10-08 20:51:20 -0400 (Tue, 08 Oct 2002) | 2 lines
+
+Recover gracefully to null versions (rather than core)
+
+------------------------------------------------------------------------
+r74 | jpeacock | 2002-10-08 20:44:24 -0400 (Tue, 08 Oct 2002) | 2 lines
+
+Recover gracefully to null versions (rather than core)
+
+------------------------------------------------------------------------
+r73 | jpeacock | 2002-10-04 22:57:00 -0400 (Fri, 04 Oct 2002) | 2 lines
+
+Document extended decimal version parsing
+
+------------------------------------------------------------------------
+r72 | jpeacock | 2002-10-04 21:01:45 -0400 (Fri, 04 Oct 2002) | 2 lines
+
+Force all files to next major revision (so the version works)
+
+------------------------------------------------------------------------
+r71 | jpeacock | 2002-10-04 20:53:33 -0400 (Fri, 04 Oct 2002) | 2 lines
+
+Add tests for 1.002003 => 1.2.3
+
+------------------------------------------------------------------------
+r70 | jpeacock | 2002-10-04 20:53:10 -0400 (Fri, 04 Oct 2002) | 2 lines
+
+Add support for 1.002003 => 1.2.3
+
+------------------------------------------------------------------------
+r69 | jpeacock | 2002-10-04 20:31:01 -0400 (Fri, 04 Oct 2002) | 2 lines
+
+Remove dependency on Exporter.pm
+
+------------------------------------------------------------------------
+r68 | jpeacock | 2002-09-29 19:46:23 -0400 (Sun, 29 Sep 2002) | 2 lines
+
+Update with version from perl-current
+
+------------------------------------------------------------------------
+r67 | jpeacock | 2002-09-29 19:44:47 -0400 (Sun, 29 Sep 2002) | 3 lines
+
+Change vstringify and vnumify
+Reword main POD slightly
+
+------------------------------------------------------------------------
+r66 | jpeacock | 2002-09-28 14:38:15 -0400 (Sat, 28 Sep 2002) | 3 lines
+
+Final changes to release to CPAN
+Merged code into perl-current
+
+------------------------------------------------------------------------
+r65 | jpeacock | 2002-09-28 06:21:16 -0400 (Sat, 28 Sep 2002) | 2 lines
+
+Ready to release to CPAN
+
+------------------------------------------------------------------------
+r64 | jpeacock | 2002-09-28 06:15:34 -0400 (Sat, 28 Sep 2002) | 2 lines
+
+POD changes
+
+------------------------------------------------------------------------
+r63 | jpeacock | 2002-09-28 06:15:16 -0400 (Sat, 28 Sep 2002) | 2 lines
+
+Cannot use SvPV_nolen in 5.005_03
+
+------------------------------------------------------------------------
+r62 | jpeacock | 2002-09-22 21:40:02 -0400 (Sun, 22 Sep 2002) | 2 lines
+
+Document the UNIVERSAL::VERSION replacement
+
+------------------------------------------------------------------------
+r61 | jpeacock | 2002-09-22 21:23:01 -0400 (Sun, 22 Sep 2002) | 2 lines
+
+Successfully create and test my own UNIVERSAL::VERSION replacement
+
+------------------------------------------------------------------------
+r60 | jpeacock | 2002-09-16 15:35:58 -0400 (Mon, 16 Sep 2002) | 2 lines
+
+Improve the testing of beta versions
+
+------------------------------------------------------------------------
+r59 | jpeacock | 2002-09-16 08:12:49 -0400 (Mon, 16 Sep 2002) | 2 lines
+
+More POD changes
+
+------------------------------------------------------------------------
+r58 | jpeacock | 2002-09-16 07:52:08 -0400 (Mon, 16 Sep 2002) | 3 lines
+
+Add additional testing
+Add POD
+
+------------------------------------------------------------------------
+r57 | jpeacock | 2002-09-16 06:17:41 -0400 (Mon, 16 Sep 2002) | 2 lines
+
+Finally works in 5.005_03, 5.6.1, and 5.8.0
+
+------------------------------------------------------------------------
+r56 | jpeacock | 2002-09-15 06:13:51 -0400 (Sun, 15 Sep 2002) | 2 lines
+
+Doesn't work any more?
+
+------------------------------------------------------------------------
+r55 | jpeacock | 2002-09-14 16:08:23 -0400 (Sat, 14 Sep 2002) | 2 lines
+
+working AV objects in 5.6.x only
+
+------------------------------------------------------------------------
+r54 | jpeacock | 2002-09-14 16:08:23 -0400 (Sat, 14 Sep 2002) | 2 lines
+
+*** empty log message ***
+
+------------------------------------------------------------------------
+r53 | jpeacock | 2002-09-13 23:12:25 -0400 (Fri, 13 Sep 2002) | 2 lines
+
+Finished for the night
+
+------------------------------------------------------------------------
+r52 | jpeacock | 2002-09-13 22:28:39 -0400 (Fri, 13 Sep 2002) | 2 lines
+
+almost working AV style version objects
+
+------------------------------------------------------------------------
+r51 | jpeacock | 2002-09-13 21:59:09 -0400 (Fri, 13 Sep 2002) | 2 lines
+
+Initial revision
+
+------------------------------------------------------------------------
Modified: trunk/orca/packages/version-0.41/META.yml
==============================================================================
--- trunk/orca/packages/version-0.39/META.yml (original)
+++ trunk/orca/packages/version-0.41/META.yml Tue Jul 13 21:59:56 2004
@@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: version
-version: 0.39
+version: 0.41
version_from: lib/version.pm
installdirs: site
requires:
Modified: trunk/orca/packages/version-0.41/Makefile.PL
==============================================================================
--- trunk/orca/packages/version-0.39/Makefile.PL (original)
+++ trunk/orca/packages/version-0.41/Makefile.PL Tue Jul 13 21:59:56 2004
@@ -12,6 +12,6 @@
# Un-comment this if you add C files to link with later:
'OBJECT' => '$(O_FILES)', # link all the C files too
dist => {
- PREOP => 'svn log | gnuify-changelog.pl > ${DISTVNAME}/Changes',
+ PREOP => 'svn log > ${DISTVNAME}/Changes',
},
);
Modified: trunk/orca/packages/version-0.41/README
==============================================================================
--- trunk/orca/packages/version-0.39/README (original)
+++ trunk/orca/packages/version-0.41/README Tue Jul 13 21:59:56 2004
@@ -1,4 +1,4 @@
-version 0.39
+version 0.41
====================
Provides the same version objects as included in Perl v5.9.0 (and hopefully in
Modified: trunk/orca/packages/version-0.41/lib/version.pm
==============================================================================
--- trunk/orca/packages/version-0.39/lib/version.pm (original)
+++ trunk/orca/packages/version-0.41/lib/version.pm Tue Jul 13 21:59:56 2004
@@ -12,7 +12,7 @@
@EXPORT = qw(qv);
-$VERSION = 0.39; # stop using CVS and switch to subversion
+$VERSION = 0.41; # stop using CVS and switch to subversion
$CLASS = 'version';
Modified: trunk/orca/packages/version-0.41/t/01base.t
==============================================================================
--- trunk/orca/packages/version-0.39/t/01base.t (original)
+++ trunk/orca/packages/version-0.41/t/01base.t Tue Jul 13 21:59:56 2004
@@ -4,7 +4,7 @@
#########################
-use Test::More tests => 168;
+use Test::More tests => 170;
diag "Tests with base class" unless $ENV{PERL_CORE};
@@ -222,6 +222,8 @@
diag "testing CVS Revision" unless $ENV{PERL_CORE};
$version = new version qw$Revision: 1.2$;
ok ( $version eq "1.2.0", 'qw$Revision: 1.2$ eq 1.2.0' );
+ $version = new version qw$Revision: 1.2.3.4$;
+ ok ( $version eq "1.2.3.4", 'qw$Revision: 1.2.3.4$ eq 1.2.3.4' );
# test reformed UNIVERSAL::VERSION
diag "Replacement UNIVERSAL::VERSION tests" unless $ENV{PERL_CORE};
Modified: trunk/orca/packages/version-0.41/util.c
==============================================================================
--- trunk/orca/packages/version-0.39/util.c (original)
+++ trunk/orca/packages/version-0.41/util.c Tue Jul 13 21:59:56 2004
@@ -117,7 +117,7 @@
}
if ( qv ) { /* quoted versions always become full version objects */
I32 len = av_len((AV *)sv);
- for ( len = 2 - len; len != 0; len-- )
+ for ( len = 2 - len; len > 0; len-- )
av_push((AV *)sv, newSViv(0));
}
return s;
Modified: trunk/orca/packages/version-0.41/version.xs
==============================================================================
--- trunk/orca/packages/version-0.39/version.xs (original)
+++ trunk/orca/packages/version-0.41/version.xs Tue Jul 13 21:59:56 2004
@@ -228,7 +228,7 @@
vnumify(req),vnormal(req),vnumify(sv),vnormal(sv));
}
- if ( sv_derived_from(sv, "version") )
+ if ( SvOK(sv) && sv_derived_from(sv, "version") )
PUSHs(vnumify(sv));
else
PUSHs(sv);
More information about the Orca-checkins
mailing list