mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-09-19 03:38:08 +08:00
Compare commits
11 Commits
debian/1.3
...
stir_noper
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fa997f2c16 | ||
![]() |
62a38826ee | ||
![]() |
8cc51461a3 | ||
![]() |
0c32afacfd | ||
![]() |
a9d1b533fb | ||
![]() |
0f0e51a159 | ||
![]() |
73ed9b545a | ||
![]() |
1688496f34 | ||
![]() |
498047e785 | ||
![]() |
72adba82f7 | ||
![]() |
539b2035d8 |
10
Changes
10
Changes
@@ -1,3 +1,13 @@
|
|||||||
|
feedgnuplot (1.34)
|
||||||
|
|
||||||
|
* Fix for "Use of implicit split to @_ is deprecated". Thanks to Corey
|
||||||
|
Putkunz
|
||||||
|
|
||||||
|
* Declaring feedgnuplot as a package to let MetaCPAN index this
|
||||||
|
distribution
|
||||||
|
|
||||||
|
-- Dima Kogan <dima@secretsauce.net> Wed, 14 May 2014 00:45:24 -0700
|
||||||
|
|
||||||
feedgnuplot (1.33)
|
feedgnuplot (1.33)
|
||||||
|
|
||||||
* fixed incorrect plotting of --timefmt --rangesize plots
|
* fixed incorrect plotting of --timefmt --rangesize plots
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
package feedgnuplot; # for the metacpan indexer
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
@@ -13,7 +16,7 @@ use Thread::Queue;
|
|||||||
use Pod::Usage;
|
use Pod::Usage;
|
||||||
use Time::Piece;
|
use Time::Piece;
|
||||||
|
|
||||||
my $VERSION = 1.33;
|
my $VERSION = 1.34;
|
||||||
|
|
||||||
my %options;
|
my %options;
|
||||||
interpretCommandline();
|
interpretCommandline();
|
||||||
@@ -72,6 +75,7 @@ if($options{stream})
|
|||||||
}
|
}
|
||||||
|
|
||||||
$streamingFinished = 1;
|
$streamingFinished = 1;
|
||||||
|
$dataQueue->enqueue(undef);
|
||||||
|
|
||||||
$plotThr->join() if defined $plotThr;
|
$plotThr->join() if defined $plotThr;
|
||||||
$addThr->join();
|
$addThr->join();
|
||||||
@@ -371,7 +375,7 @@ sub interpretCommandline
|
|||||||
$options{timefmt} =~ s/^\s*//;
|
$options{timefmt} =~ s/^\s*//;
|
||||||
$options{timefmt} =~ s/\s*$//;
|
$options{timefmt} =~ s/\s*$//;
|
||||||
|
|
||||||
my $Nfields = scalar split( ' ', $options{timefmt});
|
my $Nfields = () = split /\s+/, $options{timefmt}, -1;
|
||||||
$options{timefmt_Ncols} = $Nfields;
|
$options{timefmt_Ncols} = $Nfields;
|
||||||
|
|
||||||
# make sure --xlen is an integer. With a timefmt xlen goes through strptime
|
# make sure --xlen is an integer. With a timefmt xlen goes through strptime
|
||||||
@@ -410,8 +414,6 @@ sub plotUpdateThread
|
|||||||
# indicate that the timer was the replot source
|
# indicate that the timer was the replot source
|
||||||
$dataQueue->enqueue('replot timertick');
|
$dataQueue->enqueue('replot timertick');
|
||||||
}
|
}
|
||||||
|
|
||||||
$dataQueue->enqueue(undef);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub sendRangeCommand
|
sub sendRangeCommand
|
||||||
@@ -452,12 +454,6 @@ sub makeDomainNumeric
|
|||||||
sub mainThread
|
sub mainThread
|
||||||
{
|
{
|
||||||
local *PIPE;
|
local *PIPE;
|
||||||
my $dopersist = '';
|
|
||||||
|
|
||||||
if( !$options{stream} && getGnuplotVersion() >= 4.3)
|
|
||||||
{
|
|
||||||
$dopersist = '--persist';
|
|
||||||
}
|
|
||||||
|
|
||||||
if(exists $options{dump})
|
if(exists $options{dump})
|
||||||
{
|
{
|
||||||
@@ -467,7 +463,7 @@ sub mainThread
|
|||||||
{
|
{
|
||||||
my $geometry = defined $options{geometry} ?
|
my $geometry = defined $options{geometry} ?
|
||||||
"-geometry $options{geometry}" : '';
|
"-geometry $options{geometry}" : '';
|
||||||
open PIPE, "|gnuplot $geometry $dopersist" or die "Can't initialize gnuplot\n";
|
open PIPE, "|gnuplot $geometry" or die "Can't initialize gnuplot\n";
|
||||||
}
|
}
|
||||||
autoflush PIPE 1;
|
autoflush PIPE 1;
|
||||||
|
|
||||||
@@ -765,7 +761,7 @@ sub mainThread
|
|||||||
# sleep until the plot file exists, and it is closed. Sometimes the output
|
# sleep until the plot file exists, and it is closed. Sometimes the output
|
||||||
# is still being written at this point. If the output filename starts with
|
# is still being written at this point. If the output filename starts with
|
||||||
# '|', gnuplot pipes the output to that process, instead of writing to a
|
# '|', gnuplot pipes the output to that process, instead of writing to a
|
||||||
# file. In that case I don't make sure the file exists, since there IS not
|
# file. In that case I don't make sure the file exists, since there IS no
|
||||||
# file
|
# file
|
||||||
if( $options{hardcopy} !~ /^\|/ )
|
if( $options{hardcopy} !~ /^\|/ )
|
||||||
{
|
{
|
||||||
|
13
debian/changelog
vendored
13
debian/changelog
vendored
@@ -1,3 +1,16 @@
|
|||||||
|
feedgnuplot (1.34stir1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* disabled --persist because on our arm board it confuses things
|
||||||
|
|
||||||
|
-- Dima Kogan <dima@secretsauce.net> Fri, 22 Aug 2014 14:59:05 -0700
|
||||||
|
|
||||||
|
feedgnuplot (1.34-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Very minor upstream update
|
||||||
|
* gnuplot-nox can no satisfy the gnuplot dependency for feedgnuplot
|
||||||
|
|
||||||
|
-- Dima Kogan <dima@secretsauce.net> Wed, 06 Aug 2014 15:19:56 -0700
|
||||||
|
|
||||||
feedgnuplot (1.33-1) unstable; urgency=low
|
feedgnuplot (1.33-1) unstable; urgency=low
|
||||||
|
|
||||||
* Upstream update: fixed incorrect plotting of --timefmt --rangesize
|
* Upstream update: fixed incorrect plotting of --timefmt --rangesize
|
||||||
|
2
debian/control
vendored
2
debian/control
vendored
@@ -11,7 +11,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/feedgnu
|
|||||||
|
|
||||||
Package: feedgnuplot
|
Package: feedgnuplot
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}, ${perl:Depends}, gnuplot-qt | gnuplot-x11 | gnuplot
|
Depends: ${misc:Depends}, ${perl:Depends}, gnuplot-qt | gnuplot-x11 | gnuplot-nox
|
||||||
Description: Pipe-oriented frontend to Gnuplot
|
Description: Pipe-oriented frontend to Gnuplot
|
||||||
Flexible, command-line-oriented frontend to Gnuplot. Creates plots from data
|
Flexible, command-line-oriented frontend to Gnuplot. Creates plots from data
|
||||||
coming in on STDIN or given in a filename passed on the commandline. Various
|
coming in on STDIN or given in a filename passed on the commandline. Various
|
||||||
|
Reference in New Issue
Block a user