aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-12various code cleanupulfl1-24/+23
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24964 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-12Added an option to save column widths in the recent file.stig1-1/+1
Not 100% implemented for usage with configuration profiles with different column layout yet, as this requires some of the recent values to be saved in each profile. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24949 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-01Custom column updates:sfisher1-3/+4
- Change apply / prepare / ... as filter to use the field's value, which is now stored in fdata as well as cinfo. Now we don't have to reprocess the entire packet list when using these features. This also prevents the use of these features from overwriting custom column information. (custom columns can now be used in apply / prepare ... as filter) - Break col_expr and col_expr_val out into a struct that is included not only in cinfo, but now also fdata. - Have col_custom_set_fstr() quote FT_STRING & FT_STRINGZ when storing the col_expr_val value (for filter creation). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24511 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-27Fix a comment that was pointing readers to the wrong file to look for infosfisher1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24486 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-25From Chris Maynard: Alphabetize the list of column types to choose from insfisher1-118/+118
the column preferences dialog. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24458 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-22Improved custom columns with custom title.stig1-0/+15
Fixed a crash when adding an empty custom field. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24438 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-22Some custom column fixes:stig1-0/+3
- In proto_tree_set_uint and proto_tree_set_int use value adjusted for bitmask. - Removed col_custom_set_fstr in proto_tree_set_boolean to get a correct adjusted value in proto_tree_set_uint. - Set a default column width shorter than COL_INFO. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24417 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-13Check in changes originally checked in as SVN revision 24308 (new columnsfisher1-2/+7
type: Custom) that were backed out in SVN revision 24309. Changes since that revision include a reworking of the handling of the cfile/cinfo variables in epan/column-utils.c, addition of three new functions to libwireshark.def and a bug fix to prevent a crash when no custom columns were not in use. Compilation verified locally on MacOS X, Linux and Windows. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24317 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-12Revert commit 24308 until I can get it to compile on Windows/Linux/Solarissfisher1-7/+2
(strangely, it compiled fine on my MacOS X machine). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24309 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-12Introduce a new column type called custom, which lets you put any displaysfisher1-2/+7
filter name in the description field and it will display that field in the packet list if it occurs in that packet. Note that the more common fields are implemented, but a number of them remain to be implemented in epan/proto.c. I will work on these other fields as I have time. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24308 f5534014-38df-0310-8fa8-9805f1628bb7
2007-10-03This patch adds two new column types:sake1-0/+8
- COL_REL_CONV_TIME which is used to display the time relative to the first frame that was seen in the conversation - COL_DELTA_CONV_TIME which is used to display the delta time from the previous frame of the conversation It also adds the function "col_set_time()" to "epan/column-utils.[ch]" which can be called from within a dissector to set either of these two columns to the appropiate time. Last but not least, it lets the tcp-dissector make use of these two columns. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23058 f5534014-38df-0310-8fa8-9805f1628bb7
2007-09-22Simplify the parsing of column preferences, which should make it easiergerald1-152/+6
to add column prefs in the future. Fix up whitespace in a couple of places. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22923 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-17Instead of converting between 802.11 frequencies and channels umpteengerald1-61/+72
different ways, add a set of common conversion routines. Add a "Frequency/Channel" column and fill it in where we can. Fix RSSI column printing in PPI. Fix up whitespace along the way. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22538 f5534014-38df-0310-8fa8-9805f1628bb7
2007-07-23- add a column for the expert info severity levelulfl1-2/+12
- fix a column related bug introduced in SVN 20118 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22387 f5534014-38df-0310-8fa8-9805f1628bb7
2007-06-04Fix for bug #93: changes to the columns has no effect until restartsfisher1-0/+46
These changes allow the packet list clist to be destroyed and recreated with the new column titles/values/order that the user changed in the preferences without restarting Wireshark. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22038 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-23From Sake Blok:sfisher1-0/+10
Fix for bug #491: Unexpected frame.time_delta behavior This patch ... fixes bug 491. It does this by changing the behaviour of the frame.time_delta field so it reflects the delta time between captured packets (tshark already did this). To keep the delta time between displayed packets, the field frame.time_delta_displayed is created. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21154 f5534014-38df-0310-8fa8-9805f1628bb7
2006-12-11From Thomas Sillaber:sfisher1-5/+28
Create two new columns: IP DSCP and L2 COS (802.1p) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20118 f5534014-38df-0310-8fa8-9805f1628bb7
2006-12-11Add a new function to build column widths based not only on the maxsfisher1-0/+12
width that is hard-coded in get_column_longest_string(), but also on the width of the user specified title of the column (in case it is wider.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20117 f5534014-38df-0310-8fa8-9805f1628bb7
2006-12-05From Douglas Pratley with trivial changes and documentation changes sfisher1-0/+31
by myself: Corrected patch; epan/column.c and epan/column_utils.c were not included. This one has now been properly tested against a clean checkout of today's code. - New menu option available under view\time display format - New sub-option (e) to -t switch for both wireshark and tshark - Extended recent settings code to handle new value - Did NOT add new explicit epoch time column git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20040 f5534014-38df-0310-8fa8-9805f1628bb7
2006-11-29Froim Rene Pilz:etxrab1-2/+22
This patch consists also the last issues. Additionally it solves: - For the SSCOP frames the AAL5 decoding was not performed due to an earlier patch. This caused that no SSCOP message was properly decoded. - As the detection between a LANE frame and a SSCOP frame is rather hard a switch within the atm dissector is included which enforce SSCOP dissecting over a LANE frame. At the moment I do not see a better solution for that. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20013 f5534014-38df-0310-8fa8-9805f1628bb7
2006-06-26add a new column DCE/RPC context IDulfl1-54/+107
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18578 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21name changesahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-02from Daniele Orlandi:etxrab1-1/+11
The attached patch adds support for LAPD frames captured using vISDN thru libpcap. The support has already been included in libpcap. The patch adds a new wiretap encapsulation, the necessary glue to decode SLL-encapsulated frames, and some minor change in the LAPD dissector in order to support the remote-to-remote frames captured on the ISDN E-Channel. Please apply ethereal-encap-table.diff before, as it fixes a misalignment in the encapsulation names table. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17451 f5534014-38df-0310-8fa8-9805f1628bb7
2006-01-20Mike Hall:jmayer1-1/+11
This will add the ability to configure a .1q vlan column in ethereal. Me: Change 1q -> 1Q git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17058 f5534014-38df-0310-8fa8-9805f1628bb7
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is ↵ulfl1-4/+0
necessary for the switch to GTK 2.6 (at least on WIN32). to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place. deleted related things from config.h.win32 As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16403 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-25timestamp display precision:ulfl1-11/+117
- automatic adjustment depending on file format - manual adjustment through menu items save the setting in the recent file git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15534 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-23More 'char*' -> 'const char*' changes to fix warnings.jmayer1-10/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15015 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-30add a new DCE/RPC related column, which contains the call_id for connection ↵ulfl1-8/+18
oriented packets or the sequence number for connectionless (datagram) packets. This is extremely useful, to keep track of the corresponding request/response packets of a DCE/RPC call (which can be quite a lot packets if fragmentation is used). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14826 f5534014-38df-0310-8fa8-9805f1628bb7
2005-05-30Fix an off-by-one error found by Steve Grubb. Steve gets the awardgerald1-1/+1
for longest standing bug found so far. This has been present since version 0.5.0. Fixes part of bug 217. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14492 f5534014-38df-0310-8fa8-9805f1628bb7
2005-04-01From Mark C Brown NETTL updatessahlberg1-1/+21
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13999 f5534014-38df-0310-8fa8-9805f1628bb7
2004-09-29Move the column preferences stuff to epan (the rest of the preferencesguy1-0/+451
stuff is already there). Update Gerald's e-mail address in column.h. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12131 f5534014-38df-0310-8fa8-9805f1628bb7