Skip to content

Commit

Permalink
Update latest version.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgamble committed Jun 21, 2018
1 parent e56f4fd commit d70464b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ my $build = $class->new(

dist_abstract => 'Create Sorting Networks',
dist_author => ['John M. Gamble <jgamble@cpan.org>'],
dist_version => '2.01',
dist_version => '2.02',

provides => {
'Algorithm::Networksort' => {
Expand Down
21 changes: 12 additions & 9 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Revision history for Perl extension Algorithm::Networksort.

2.10
2.02
Thu June 21 2018
- Changed colorsettings(), which wasn't following the
documentation correctly.
- Encapsulated Postscript works again.
- Encapsulated Postscript now can have color.
- At some point when I was new to Perl, I learned the
unpack("B32", pack("N", $x))
idiom, not realizing that sprintf() had added a "%b"
flag to its format. Sigh. Made the changes everywhere.

Fri Feb 9 2018
- Keys 'radius' and 'stroke_width' of graphsettings() split
into two each for the input lines and the comparator lines,
Expand All @@ -13,17 +23,10 @@ Revision history for Perl extension Algorithm::Networksort.
with function textsettings(), as making graphsettings()
handle it all was ridiculous, not to mention the key
collisions with the changes above.
- Changed colorsettings(), which wasn't following the
documentation correctly.
- Check for "monotone" diagrams. If all the colors are
the same, just set the color once in the SVG or
EPS output instead of setting the color for each part
of the diagram. (If you want each color set even though
the colors are the same, simply set each part's color
in colorsettings(), then set 'foreground' to a different
color. Since 'foreground' is used as a default, it
won't change anything if there is nothing to default.)
- Encapsulated Postscript now can have color.
of the diagram, resulting in a smaller file.
- Update the t/ and eg/ files to use the above changes.

Sun Jan 14 2018
Expand Down
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ t/pod.t
t/svg.t
t/zero_one.pl
eg/algtest.pl
eg/best.pl
eg/bruteforce.pl
eg/eps.pl
eg/fmt00.pl
Expand Down
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Algorithm::Networksort version 2.01
Algorithm::Networksort version 2.02
===================================

"I've got to sort this out. ... There must be a list somewhere
Expand Down Expand Up @@ -47,8 +47,8 @@ in an encapsulated postscript, SVG, or text form.
INSTALLATION

The usual way. Unpack the archive:
gzip -d Algorithm-Networksort-2.01.tar.gz
tar xvf Algorithm-Networksort-2.01.tar
gzip -d Algorithm-Networksort-2.02.tar.gz
tar xvf Algorithm-Networksort-2.02.tar

Go into the resulting directory, and type:
perl Build.PL
Expand Down

0 comments on commit d70464b

Please sign in to comment.