Initial checkin of the latest vusb-analyzer code, after adding MIT license 
notices.
Use the default monospace font.
Add patch submission note.
Adding a new USBMon log parser, contributed by Christoph Zimmermann. Includes some small modifications by me for cleanup and for handling submission/completion properly.
Updated patch from Christoph, to fix setup data and EP0 direction in the usbmon parser.
Versioning phernalia.
Rename changelog, update usage text to mention usbmon.
[PATCH 1/4] UsbmonLogParser: remove rudimentary frame support

It only printed "fr.0" in the Time column of the first transaction in
the transaction list.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Subject: [PATCH 2/4] Storage decoder: add bInterfaceSubClass 0x05

I ran into a camera that uses bInterfaceSubClass 0x05 in USB Mass
Storage Mode.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Subject: [PATCH 3/4] Device: reorganize endpoint decoders initialization

For some reason, that I failed to discover, the current way in which all
endpoint decoders are gathered for a device fails to work properly for
the UsbmonLogParser. (The Storage decoders never were used to decode the
relevant lines in a usbmon log for a USB Mass Storage device.)

A small reorganization of the Device class somehow solves this.
Basically, it makes sure all devices always use controlDecoder for
endpoint 0 and that new decoders are added to a device whenever it turns
out they are needed. That seems to be the logical thing to do anyway.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Subject: [PATCH 4/4] UsbmonLogParser: add setup packet to correct transactions

Requests to CONTROL endpoints (ie, to enpoint 0) are logged differently
in VMX logs and in usbmon logs. VMX adds the setup packet to both the
Down part and the Up part of a transaction. usbmon only adds the setup
packet to the Down part of those transactions.

UsbmonLogParser currently tries to add the setup packet to some
transactions but doesn't only add it to the Up part of request to
endpoint 0. A simple rewrite of the way setup packets are added to
transactions in usbmon logs seems to be doing the right thing.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Bump copyright dates to 2010
Subject: [PATCH] [TRIVIAL] Storage: add READ_FORMAT_CAPACITIES SCSI command

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Subject: [PATCH] UsbmonLogParser: use VMX's byte ordering in setup

VMX and usbmon use a different byte ordering for wValue, wIndex and
wLength. Convert those three tokens to the VMX byte ordering.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
 VUsbTools/Log.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
Mention Paul Bolle's fixes in the changelog. (And test the CIA hook!)
UsbmonLogParser: correctly parse iso transactions

The comments described the current output format (with room for one
'number of isochronous frame descriptors' token and zero or more
'descriptor' tokens). The code assumed neither were present (so it expected
usbmon's legacy format).

The code to parse the current output format for isochronous transactions
is rather messy, but it is hard to see how these could be parsed more
cleanly ... (Note that we don't actually parse the descriptors as the
information they provide isn't used anywhere.)

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>

---
 VUsbTools/Log.py |   30 ++++++++++++++++++++++++++----
 1 files changed, 26 insertions(+), 4 deletions(-)
block "changed" signal when filtering

Filtering selected rows invokes the unselect_iter() method for each row
that needs to be deselected. It seems that unselect_iter() fires of a
"changed" event, which will in turn invoke the onSelectionChanged()
method. This makes filtering non-trivial selections really, really slow
(at least on my i686 laptop).

So we block the "changed" event handler while filtering and invoke
onSelectionChanged() manually when we're done.

Related (sort of) coding style changes (ie, use view.get_selection()
only once).

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
UsbmonLogParser: add TODO for timestamp wrapping

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
[PATCH 1/7] Use correct "usage" syntax

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
[PATCH 2/7] Better describe usbmon's log format in usage

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>