Codebase list libpdl-graphics-gnuplot-perl / d6bcc7a
Imported Upstream version 2.005 Dima Kogan 8 years ago
5 changed file(s) with 21 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
0 2.005 Codename: Spring released 6-May-2015
1
2 - Workaround for deprecation of cairo library in MacOS 10.5
3
4 - Correctly identify gnuplot 5.0
05
16 2.004 Codename: Dima released 20-Dec-2014
27
33 "Craig DeForest <craig@deforest.org>, Dima Kogan <dima@secretsauce.net>"
44 ],
55 "dynamic_config" : 1,
6 "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380",
6 "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.133380",
77 "license" : [
88 "perl_5"
99 ],
5454 "url" : "git://github.com/drzowie/PDL-Graphics-Gnuplot.git"
5555 }
5656 },
57 "version" : "2.004"
57 "version" : "2.005"
5858 }
66 configure_requires:
77 ExtUtils::MakeMaker: 0
88 dynamic_config: 1
9 generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380'
9 generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.133380'
1010 license: perl
1111 meta-spec:
1212 url: http://module-build.sourceforge.net/META-spec-v1.4.html
3131 bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=PDL-Graphics-Gnuplot
3232 homepage: http://github.com/drzowie/PDL-Graphics-Gnuplot
3333 repository: git://github.com/drzowie/PDL-Graphics-Gnuplot.git
34 version: 2.004
34 version: 2.005
549549 terminal options as an argument list.
550550
551551 The routine C<PDL::Graphics::Gnuplot::terminfo> prints a list of all
552 availale terminals or, if you pass in a terminal name, options accepted
552 available terminals or, if you pass in a terminal name, options accepted
553553 by that terminal.
554554
555555
612612 terminal options as an argument list.
613613
614614 The routine C<PDL::Graphics::Gnuplot::terminfo> prints a list of all
615 availale terminals or, if you pass in a terminal name, options accepted
615 available terminals or, if you pass in a terminal name, options accepted
616616 by that terminal.
617617
618618
19511951 our $debug_echo = 0; # If set, mock up Losedows half-duplex pipes
19521952
19531953
1954 our $VERSION = '2.004';
1954 our $VERSION = '2.005';
19551955 $VERSION = eval $VERSION;
19561956
19571957 our $gp_version = undef; # eventually gets the extracted gnuplot(1) version number.
57555755 if( $words[0] =~ s/\"?(\#[0-9a-fA-F]{6})\"?/\"$1\"/ ) {
57565756 $s .= " rgb " unless($s =~ m/rgb/);
57575757 $s .= " ".join(" ",@words);
5758 print "returning '$s' from colorspec parser\n";
57595758 return $s;
57605759 }
57615760 elsif($PDL::Graphics::Gnuplot::colornames->{lc($words[0])}) {
68286827
68296828 $s .= "\n\n FILE TERMINALS\n";
68306829 for my $k(sort keys %$termTab) {
6830 next unless($this->{valid_terms}->{$k});
68316831 next if($termTab->{$k}->{int} || $termTab->{$k}->{mouse});
68326832 $s .= sprintf(" %10.10s: %s %s\n",$k," ", $termTab->{$k}->{desc});
68336833 }
73937393 _logEvent($this, "Trying to read from gnuplot (suffix $suffix)") if $this->{options}{tee};
73947394
73957395 my $terminal =$this->{options}->{terminal};
7396 my $delay = (_def($this->{'wait'}, 0) + 0) || 5;
7396 my $delay = (_def($this->{'wait'}, 0) + 0) || 10;
73977397
73987398 if($this->{"echobuffer-$suffix"}) {
73997399 $fromerr = $this->{"echobuffer-$suffix"};
74747474
74757475 # Find, report, and strip warnings. This is complicated by the fact
74767476 # that some warnings come with a line specifier and others don't.
7477
74777478 WARN: while( $fromerr =~ m/^(\s*(line \d+\:\s*)?[wW]arning\:.*)$/m ) {
74787479 if($2){
74797480 # it's a warning with a line specifier. Break off two more lines before it.
74867487 print STDERR "Gnuplot w$3\n" if($printwarnings);
74877488 }
74887489
7489 }
7490 }
74907491
74917492 # Anything else is an error -- except on Microsoft Windows where we
74927493 # get additional chaff on the channel. Try to take it out.
74937494 if($MS_io_braindamage) {
74947495 $fromerr =~ s/^\s*Terminal type set to \'[^\']*\'.*Options are \'[^\']*\'//s;
7496 } else {
7497 # Hack to avoid spurious the pdfcairo errors in MacOS 10.5 - strip out obsolete-function errors.
7498 while( $fromerr =~ s/^.*obsolete\s*function.*system\s*performance.\s*//o ) {
7499 # do nothing
7500 }
74957501 }
74967502
74977503 if((!$ignore_errors) and (($fromerr =~ m/^\s+\^\s*$/ms or $fromerr=~ m/^\s*line/ms) or
75107516 # strip whitespace
75117517 $fromerr =~ s/^\s*//s;
75127518 $fromerr =~ s/\s*$//s;
7513
75147519 return $fromerr;
75157520 } else {
75167521 # dumping - never generate an error.