aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-04From Michael Mann:etxrab1-2/+14
Added ability to display UTC time or UTC time with date. I liked having the difference between UTC and local time, not just setting local=UTC. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2629 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37898 f5534014-38df-0310-8fa8-9805f1628bb7
2010-10-09Added "Edit Column Details" functions to the packet list heading popup.stig1-0/+59
Removed "Rename Column Title" as this is moved to "Edit Column Details". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34444 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-22When using a custom column, make it possible to select which occurrence to ↵sake1-0/+17
show if the field has multiple occurrences. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34186 f5534014-38df-0310-8fa8-9805f1628bb7
2010-06-25Introduce "Show Resolved" as an option in custom columns. This will determinestig1-0/+28
if we show the value or the string representing the value. This setting is not stored in the preferences file yet, and the option is not available in the columns preferences window. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33317 f5534014-38df-0310-8fa8-9805f1628bb7
2010-06-20Added "Hide Column" functionality.stig1-0/+28
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33266 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-03 From Yaniv Kaul: constify parameterswmeier1-12/+12
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422 From me: Fix a number of instances where the function prototype or the function definition wasn't changed so there was a mismatch thus causing Windows (but not gcc) compilation errors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32365 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-02Revert SVN #32360 until Windows compilation errors corrected.wmeier1-11/+11
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32361 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-02From Yaniv Kaul: constify parameterswmeier1-11/+11
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32360 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-26Move underscore escaping/unscaping function to strutil.c;dimeg1-52/+0
Update decoding of IS-801 Request GPS Acquisition Assistance git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31685 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-25Handle underscore escaping/unescaping for old packet list; Simplifydimeg1-7/+4
and make more robust the unescaping function. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31668 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-25Change the prefix of the underscore escaping/unescapingdimeg1-2/+2
functions from g_ to ws_; Insert function names in libwireshark.def git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31662 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-24Handle underscore escaping/unescaping of the column titlesdimeg1-0/+56
under the new packet list git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31649 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-12Corrected some return values.stig1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30534 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-12Added check for valid column in get_column_title() andstig1-5/+15
get_column_custom_field(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30531 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-12Return from get_column_format() when invalid column requested.stig1-0/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30530 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-08Make tshark and rawshark use build_column_format_array() instead of ↵krj1-156/+156
duplicating the code git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29803 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-25Note in dlist[] that COL_BSSGP_TLLI is deprecated.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29547 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-25 Custom columnfication:etxrab1-1/+1
* Deprecate COL_BSSGP_TLLI (GPRS BSSGP IE TLLI). Use bssgp.tlli git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29546 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-23Custom columnfication:krj1-2/+2
* Deprecate COL_REL_CONV_TIME (Relative time (conversation)). Use tcp.time_relative git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29523 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-23Custom columnfication:krj1-2/+2
* Deprecate COL_FR_DLCI (Frame Relay DLCI). Use fr.dlci git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29522 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-23Custom columfication:krj1-2/+2
* Deprecate COL_HPUX_DEVID (HP-UX Device ID). Use nettl.devid git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29517 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-23Custom columfication:krj1-2/+2
* Deprecate COL_HPUX_SUBSYS (HP-UX Nettl Subsystem). Use nettl.subsys git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29516 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-23Custom columfication:krj1-2/+2
* Deprecate COL_COS_VALUE (L2 COS Value (802.1p)). Use vlan.priority git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29513 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-23From Kovarththanan Rajaratnam:etxrab1-0/+7
Precompile custom columns filters. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3767 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29174 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-07size_t fixes.gerald1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27984 f5534014-38df-0310-8fa8-9805f1628bb7
2009-02-09Make "Copy as Filter" on the packet list actually work.jake1-0/+3
Up till now every packet in the packet list got a copy of the pointer to the filter expressions for the last packets' columns. Hence any 'Copy as Filter" on a column got the expression of the last packet in the packet list. Instead every packet needs to get a pointer to the filter expressions for its own columns. This requires making a copy of the filter expressions themselves. Since this is a bug in 1.0 as well the GLIB1 code is provided for backporting, which can later be dropped from the development tree. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27396 f5534014-38df-0310-8fa8-9805f1628bb7
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