revert to the monolithic Pyrex file, although (for the moment at
least) still with two .pxd files to abstract some wrapping of
definitions and functions.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40122
make the new printing mechanism simpler, by having functions
with void returns.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40118
per-tsreader), rather than static as it was before. This is a tentative commit,
subject to further testing, although the Python code's doctests appear to
indicate that it is probably working.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40114
common.pxd, ready for when we have more than one .pyx file. Fiddle with
the rest.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40110
in it, but eventually to allow for multiple files).
--HG--
rename : python/tstools.pyx => python/tstools/tstools.pyx
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40109
compiler warnings for the "const void*" argument to PyObject_AsReadBuffer.
Unfortunately, it doesn't look like I can do anything about the "internal
linenumber variable might be used uninitialised" which the building of the
(generated) tstools.c gives.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40106
Python methods in extension types *can* call cdef methods, so make the
cdef functions I was using, because I hadn't figured this out, be cdef
methods instead. This (a) makes the code simpler/nicer, and (b) will make
it easier to accumulate PAT (and later PMT) over repeated calls of the
(now a) method that reads the next TS packet.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4097
Tidy up reporting in general.
Make several defaults exist (and probably stop falling over behaviour).
Change the help text to be more in line with the other programs.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4094
This should really be split into pcap_defns.h and pcap_fns.h, to match other
header files, but leave it for now. Also, leave in the horrible doxygen
format comments for the nonce (not that I have any opinions on this sort
of thing...).
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4093
Move the two static functions to the top, so that forward prototyping
is not required.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4092
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
In the process, tighten up command line argument handling a bit, and
improve some error messages.
Also, make the "magic number" 0x2000 a bit more obvious.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4082
Update the documentation adding information about:
-x switch in esreport and
-cnt <pid> in tsreport
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4080
The ``-cnt`` switch is to be followed by a PID in decimal units.
It checks the values of the field continuity_counter in the specified PID,
warns in there are discontinuities and writes the values of continuity_counter in a file called
'continuity_counter.txt'. Using this automatically turns buffering on (-b).
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4079