Skip to content

Commit d70464b

Browse files
committed
Update latest version.
1 parent e56f4fd commit d70464b

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

Build.PL

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ my $build = $class->new(
3030

3131
dist_abstract => 'Create Sorting Networks',
3232
dist_author => ['John M. Gamble <[email protected]>'],
33-
dist_version => '2.01',
33+
dist_version => '2.02',
3434

3535
provides => {
3636
'Algorithm::Networksort' => {

Changes

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
Revision history for Perl extension Algorithm::Networksort.
22

3-
2.10
3+
2.02
4+
Thu June 21 2018
5+
- Changed colorsettings(), which wasn't following the
6+
documentation correctly.
7+
- Encapsulated Postscript works again.
8+
- Encapsulated Postscript now can have color.
9+
- At some point when I was new to Perl, I learned the
10+
unpack("B32", pack("N", $x))
11+
idiom, not realizing that sprintf() had added a "%b"
12+
flag to its format. Sigh. Made the changes everywhere.
13+
414
Fri Feb 9 2018
515
- Keys 'radius' and 'stroke_width' of graphsettings() split
616
into two each for the input lines and the comparator lines,
@@ -13,17 +23,10 @@ Revision history for Perl extension Algorithm::Networksort.
1323
with function textsettings(), as making graphsettings()
1424
handle it all was ridiculous, not to mention the key
1525
collisions with the changes above.
16-
- Changed colorsettings(), which wasn't following the
17-
documentation correctly.
1826
- Check for "monotone" diagrams. If all the colors are
1927
the same, just set the color once in the SVG or
2028
EPS output instead of setting the color for each part
21-
of the diagram. (If you want each color set even though
22-
the colors are the same, simply set each part's color
23-
in colorsettings(), then set 'foreground' to a different
24-
color. Since 'foreground' is used as a default, it
25-
won't change anything if there is nothing to default.)
26-
- Encapsulated Postscript now can have color.
29+
of the diagram, resulting in a smaller file.
2730
- Update the t/ and eg/ files to use the above changes.
2831

2932
Sun Jan 14 2018

MANIFEST

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ t/pod.t
1616
t/svg.t
1717
t/zero_one.pl
1818
eg/algtest.pl
19+
eg/best.pl
1920
eg/bruteforce.pl
2021
eg/eps.pl
2122
eg/fmt00.pl

README

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Algorithm::Networksort version 2.01
1+
Algorithm::Networksort version 2.02
22
===================================
33

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

4949
The usual way. Unpack the archive:
50-
gzip -d Algorithm-Networksort-2.01.tar.gz
51-
tar xvf Algorithm-Networksort-2.01.tar
50+
gzip -d Algorithm-Networksort-2.02.tar.gz
51+
tar xvf Algorithm-Networksort-2.02.tar
5252

5353
Go into the resulting directory, and type:
5454
perl Build.PL

0 commit comments

Comments
 (0)