Commit Graph

320 Commits

Author SHA1 Message Date
Dima Kogan
48254eefa8 test harness prints out the actual command being executed 2013-10-19 23:56:12 -07:00
Dima Kogan
54862ec2fd added --timefmt tests 2013-10-19 23:55:47 -07:00
Dima Kogan
74e95d8e6f If using --timefmt then --xlen MUST have an integer argument
I use strftime() and strptime() to deal with xlen in the timefmt case, and those
functions only work with integers
2013-10-19 23:37:17 -07:00
Dima Kogan
6f23f89c28 minor update to the timefmt doc 2013-10-19 22:52:55 -07:00
Dima Kogan
0f4fc69835 removed load test, since the functional tests all supersede it
This allows me to drop the dependency on Test::Script::Run
2013-10-19 22:47:48 -07:00
Dima Kogan
f83d8db27a added streaming tests 2013-10-19 22:45:43 -07:00
Dima Kogan
59625675f7 test now uses IPC::Run directly instead of Test::Script::Run
This is required for the streaming tests I'm about to write. Test::Script::Run
doesn't know how to feed input from one process to another as the data comes in
2013-10-19 22:45:43 -07:00
Dima Kogan
0863998848 streaming data now has an 'exit' command 2013-10-19 22:45:43 -07:00
Dima Kogan
f2fa0bf14c added --hardcopy tests 2013-10-19 22:45:43 -07:00
Dima Kogan
ffd19b9b87 --hardcopy now handles piped output
If we tell gnuplot to plot to a file whose name starts with '|', gnuplot writes
to a a process, not to a file. This is now supported by feedgnuplot
2013-10-19 22:45:43 -07:00
Dima Kogan
669fb8dee6 '--stream --hardcopy' is now an error, not a warning 2013-10-19 22:45:43 -07:00
Dima Kogan
deaa85dbd3 expanded test suite 2013-10-19 22:45:43 -07:00
Dima Kogan
99369d1542 y2-axis curves no longer have a thicker line by default
This was causing an issue where gnuplot would complain if a points-only
--curvestyle was plotted on the y2 axis. This is because --linewidth makes no
sense for a points-only curve
2013-10-19 22:45:33 -07:00
Dima Kogan
f4976bd0f7 --circles explicitly not supported for 3d plots 2013-10-19 22:45:33 -07:00
Dima Kogan
acd6de507c fixed doc reformatting typo 2013-10-19 22:45:33 -07:00
Dima Kogan
faaeac7990 made POD less verbose 2013-10-19 22:45:33 -07:00
Dima Kogan
1acb30c3cd first (very early) cut at a functional testing script 2013-10-18 15:17:58 -07:00
Dima Kogan
1252315598 tweaked a recipe to use --timefmt 2013-10-18 13:38:52 -07:00
Dima Kogan
fad78b60b0 slightly improved --timefmt documentation 2013-09-20 23:13:55 -07:00
Dima Kogan
809442e2dc reformatted docs. no content changes 2013-09-20 22:55:04 -07:00
Dima Kogan
f022590344 added timefmt documentation 2013-09-20 22:45:53 -07:00
Dima Kogan
3c0743c192 Updated bash, zsh completions with new commands. zsh completion has better prompts 2013-09-20 22:31:15 -07:00
Dima Kogan
c615c8d65e reordered bash completion entries in alphabetical order. removed duplicate --zlabel 2013-09-20 22:10:38 -07:00
Dima Kogan
c169330fca timefmt plots now work with streaming and with --xlen 2013-09-20 22:06:18 -07:00
Dima Kogan
d76f163be4 even simpler data storage
The data for each curve is now stored as one big string that has ALL the data;
this string is easily sent to gnuplot at once. There's also a bit of attached
meta-data to allow streaming --xlen culling to work
2013-09-20 19:32:44 -07:00
Dima Kogan
386c5f6d41 slightly simpler raw data parsing. Hopefully a bit quicker. 2013-09-20 03:46:41 -07:00
Dima Kogan
720c332dd9 Simplified data storage
I'm no longer storing the options as the first data point. That was silly, and
things are now clearer
2013-09-20 02:41:26 -07:00
Dima Kogan
4e823e7de5 I no longer grab the gnuplot version if I don't need it 2013-09-20 00:31:25 -07:00
Dima Kogan
3badf920b6 explicitly fail if we try --stream --xlen --xmin 2013-09-19 15:51:02 -07:00
Dima Kogan
756d934058 Simplified use of %options. I now use the global instead of passing it down 2013-09-19 15:42:29 -07:00
Dima Kogan
b43c9b985f added preliminary support for timefmt 2013-09-10 20:40:35 -07:00
Dima Kogan
2f5e9d95ca adusted help message for --exit 2013-08-12 17:22:22 -07:00
Eric Schulte
08d2f79fba added --exit option allowing feedgnuplot to return 2013-08-12 16:39:21 -06:00
Dima Kogan
ef2bff2af6 minor POD fixes, added some recipes 2013-06-27 13:15:49 -07:00
Dima Kogan
70b7c98124 better handling of non-timer-based replots
Previously I was ALWAYS replotting when triggered, ALWAYS replotting on a timer
and NEVER replotting on domain rollover with --monotonic.

I now have logic to do the right thing in all these cases. I now replot on
domain rollover, unless it's happening too quickly.
2013-06-15 01:33:00 -07:00
Dima Kogan
3146dbdfe7 cleared up --stream option logic
- minor refactoring
- --hardcopy and --stream together now generate a warning and turn off --stream
2013-06-15 01:33:00 -07:00
Dima Kogan
707196580a I now always 'exit -1' on error 2013-06-15 01:33:00 -07:00
Dima Kogan
103b47454c Added README.pod symlink for github 2013-02-08 02:18:09 -08:00
Dima Kogan
ef3272eb6d minor documentation updates 2013-02-08 02:18:09 -08:00
Dima Kogan
ef5a158144 version bump 2013-02-08 02:18:09 -08:00
Dima Kogan
28742230b6 main script now has the version 2013-02-08 02:18:09 -08:00
Dima Kogan
24a56fd617 usage message now goes to STDOUT if --help given 2013-02-08 02:18:09 -08:00
Dima Kogan
e8e92082a1 moved POD back into the main source file
Separating it made pod2usage not work
2013-02-08 02:18:09 -08:00
Dima Kogan
751d902844 resetting latestX when clearing out data due to --monotonic
--monotonic wasn't working correctly, since the x-variable wasn't being reset
when monotonicity was broken. fixed
2012-12-14 10:29:58 -08:00
Dima Kogan
1a15457b81 changelog bump 2012-09-29 16:31:48 -07:00
Dima Kogan
6397548515 --curvestyle no longer adds on top of --curvestyleall 2012-09-29 14:52:05 -07:00
Dima Kogan
ba4cc66fe8 --extracmds no longer accepts comma-separated lists
This caused issues with commands that had commas in them
2012-09-24 17:44:40 -07:00
Dima Kogan
116eb8fbc0 default package definition no longer post-dates the debian upload 2012-09-13 16:12:01 -07:00
Dima Kogan
8c39242986 added explicit LICENSE file 2012-09-11 13:04:45 -07:00
Dima Kogan
2934a76fdd fixed install instructions to work with the moved debian directory 2012-09-11 12:57:41 -07:00