Wykres commitów

10 Commity (32fec829b2118efbc32a74844d1d2bfc7ba0d929)

Autor SHA1 Wiadomość Data
tibs 32fec829b2 Amendments suggested by alexw, to whom thanks:
1. Fix some print_msg to be print_err
2. Rename the function to make error messages go to stderr to
   redirect_output_stderr, which is more sensible.
3. Make the -stdout switch always force error messages to stderr
4. Add the "-err" switch to all programs, which allows the user
   to choose whether they prefer errors to go to stdout or stderr

That last is something I meant to do as part of the stdout/stderr
changes - thanks again to alexw for causing me to get round to it.

This now allows:

  cat data/ed24p_11.ts | ts2ps -stdin -stdout | ps2ts -stdin -stdout | mplayer -

to work -- it didn't before.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40145
2009-06-16 20:27:25 +00:00
tibs 9005adfebf This may be the last edits for IO
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40143
2009-05-04 21:21:17 +00:00
tibs 574a59f25c More transfer to the new IO model -- especially, misc.c and its implications.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40136
2009-05-03 15:57:22 +00:00
rhodri f16d7ed982 Fix command-line parsing of -output and -skew
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4096
2008-11-18 15:49:35 +00:00
tibs 0b7868f9ca Make command line handling more commensurate with the other tools.
Despite the command line, retain  the "--" forms for switches, as
well as the documented "-" forms. Provide "-skew" as a shorter
synonym for the very-long-switch - hope that makes sense.
Make command line handling more robust.
Correct the error handling if an input file is not given.
Give the -dest switch a default port (0 seems most sensible).

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4091
2008-11-11 19:45:13 +00:00
tibs 3ab74526ff Bug 14602: move to using <stdint.h> types for integers.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4069
2008-10-18 15:04:34 +00:00
tibs 223c96020a Fix continuation lines in the Makefile so it works.
Fix "if (err = EOF)", which should be a comparison.

Various pedantries (petty stuff):
* Remove compiler warning on use of build_TS_reader_with_fns - this was because
  "char *" is signed on my Mac, whilst "byte *" is not. Fixed by making it
  exepct "byte *", and whilst I'm at it make pcapreport.c use the datatypes from
  compat.h -- not because they're better than the stdint.h type, because they
  clearly aren't, but purely for consistancy (long term, I still want to move
  to stdint types - it should be easier now as we don't need to support ancient
  compilers))
* Reformat pcapreport.c (this is going to make for a big difference, oh well)
  to standard tstools indentation patterns.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4062
2008-09-09 19:01:50 +00:00
rrw aa08148c62 pcapreport can now report on disparities between PCR and
recorded packet times.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4054
2008-09-05 18:06:52 +00:00
rrw ed1c6f0783 Add licence blocks.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4052
2008-09-05 16:11:56 +00:00
rrw 025d598651 You can now run pcapreport to report on a pcap file (in a very limited
way!). Next step is to analyse PCR against the pcap timestamps.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4051
2008-09-05 16:09:58 +00:00