Treat expert info as a <field> instead of a <proto> when exporting to pdml. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40204 f5534014-38df-0310-8fa8-9805f1628bb7
Don't close the field tag here; it's now closed with </field>. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40184 f5534014-38df-0310-8fa8-9805f1628bb7
Add missing </field> for data tree. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3809 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40162 f5534014-38df-0310-8fa8-9805f1628bb7
Fix incorrect "pos=0" pdml values. Resolves the issue reported in comment 4 of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2432 and closes the bug. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40161 f5534014-38df-0310-8fa8-9805f1628bb7
Export all data sources of a frame to a C array. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4988 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40136 f5534014-38df-0310-8fa8-9805f1628bb7
Check for valid filename in write_pdml_preamble(). Part of fix for bug 6245. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38563 f5534014-38df-0310-8fa8-9805f1628bb7
From Dirk Jagdmann via bug 5875: My attachment adds a link to a XSLT file to the preamble of the PDML. The XSLT will transform the PDML to a HTML page, and the HTML page features a look similar to Wireshark. See http://cubic.org/~doj/ebay/a.pdml for an example. The patch also contains a small perl program which converts the Wireshark colortable into javascript code which is used in the XSLT file. If you want to use a different color scheme you would execute the perl program and insert the generated javascript function into your XSLT file. To view the HTML you could either place the PDML and XSLT file on your webserver and verify that your webserver sends the PDML file as "text/xml". Then your webbrowser will find the linked XSLT file, download that as well and convert the PDML to HTML on the fly. You could also use an XSLT processor like xsltproc to convert the PDML and XSLT into a static HTML file. From me: Minor fixups. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37298 f5534014-38df-0310-8fa8-9805f1628bb7
More eradication of old-style function definitions. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37216 f5534014-38df-0310-8fa8-9805f1628bb7
Once we start printing an "opened up" (tshark -O) tree, print the entire subtree. Otherwise subitems whose abbreviation doesn't match the protocol name (such as text items) won't get printed. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36983 f5534014-38df-0310-8fa8-9805f1628bb7
From Edwin Groothuis via bug 5870: The supplied patch adds a new option -O, which specifies a list of protocols (names can be found with the "-G protocols" option) to be fully decoded while the others only show the layer header. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36947 f5534014-38df-0310-8fa8-9805f1628bb7
Added a sanity check in output_fields_set_option. Coverity 552. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36351 f5534014-38df-0310-8fa8-9805f1628bb7
Fix gcc warning. (Sorry, but VS2008EE complains a LOT less.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34809 f5534014-38df-0310-8fa8-9805f1628bb7
Ensure strings are properly quoted for CSV output. Fixes bug 1297. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34806 f5534014-38df-0310-8fa8-9805f1628bb7
Rev 29427 added packet_add_new_data_source() with a comment indicating that the data source does not need to be allocated if (!tree). Rev 30158 took the if (!tree) check out indicating that the check was invalid. So: (since packet_add_new_data_source() now only calls add_new_data_source()), remove packet_add_new_data_source(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34717 f5534014-38df-0310-8fa8-9805f1628bb7
Ensure we always print the heading when dumping PSML and CSV. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34039 f5534014-38df-0310-8fa8-9805f1628bb7
Check input string in ps_clean_string(). This fixes bug 5148. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33941 f5534014-38df-0310-8fa8-9805f1628bb7
Change font for packet information from Courier to Monaco. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33773 f5534014-38df-0310-8fa8-9805f1628bb7
Add an option to print the first, the last or all occurrences of each field (when using tshark -T fields) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33529 f5534014-38df-0310-8fa8-9805f1628bb7
Oops... forgot to update the "-E usage" text git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33528 f5534014-38df-0310-8fa8-9805f1628bb7
Make 'tshark -T fields' print all values for fields with multiple occurences. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33527 f5534014-38df-0310-8fa8-9805f1628bb7