aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-13If we set "column.hidden" on the command line but don't setGuy Harris1-3/+2
"column.format" in a later argument, make sure we mark the appropriate existing columns as hidden. As part of cleaning up the infrastructure for doing this, store the COL_ code for a column in a fmt_data structure rather than a pointer to the raw column format string; this simplifies some code. Have a routine to return whether a column is visible, not hidden, as it's used to set a "visible" flag. svn path=/trunk/; revision=39822
2011-07-04From Michael Mann:Anders Broman1-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 svn path=/trunk/; revision=37898
2010-10-09Added "Edit Column Details" functions to the packet list heading popup.Stig Bjørlykke1-0/+59
Removed "Rename Column Title" as this is moved to "Edit Column Details". svn path=/trunk/; revision=34444
2010-09-22When using a custom column, make it possible to select which occurrence to ↵Sake Blok1-0/+17
show if the field has multiple occurrences. svn path=/trunk/; revision=34186
2010-06-25Introduce "Show Resolved" as an option in custom columns. This will determineStig Bjørlykke1-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. svn path=/trunk/; revision=33317
2010-06-20Added "Hide Column" functionality.Stig Bjørlykke1-0/+28
svn path=/trunk/; revision=33266
2010-04-03 From Yaniv Kaul: constify parametersBill Meier1-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. svn path=/trunk/; revision=32365
2010-04-02Revert SVN #32360 until Windows compilation errors corrected.Bill Meier1-11/+11
svn path=/trunk/; revision=32361
2010-04-02From Yaniv Kaul: constify parametersBill Meier1-11/+11
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422 svn path=/trunk/; revision=32360
2010-01-26Move underscore escaping/unscaping function to strutil.c;Gerasimos Dimitriadis1-52/+0
Update decoding of IS-801 Request GPS Acquisition Assistance svn path=/trunk/; revision=31685
2010-01-25Handle underscore escaping/unescaping for old packet list; SimplifyGerasimos Dimitriadis1-7/+4
and make more robust the unescaping function. svn path=/trunk/; revision=31668
2010-01-25Change the prefix of the underscore escaping/unescapingGerasimos Dimitriadis1-2/+2
functions from g_ to ws_; Insert function names in libwireshark.def svn path=/trunk/; revision=31662
2010-01-24Handle underscore escaping/unescaping of the column titlesGerasimos Dimitriadis1-0/+56
under the new packet list svn path=/trunk/; revision=31649
2009-10-12Corrected some return values.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=30534
2009-10-12Added check for valid column in get_column_title() andStig Bjørlykke1-5/+15
get_column_custom_field(). svn path=/trunk/; revision=30531
2009-10-12Return from get_column_format() when invalid column requested.Stig Bjørlykke1-0/+3
svn path=/trunk/; revision=30530
2009-09-08Make tshark and rawshark use build_column_format_array() instead of ↵Kovarththanan Rajaratnam1-156/+156
duplicating the code svn path=/trunk/; revision=29803
2009-08-25Note in dlist[] that COL_BSSGP_TLLI is deprecated.Guy Harris1-1/+1
svn path=/trunk/; revision=29547
2009-08-25 Custom columnfication:Anders Broman1-1/+1
* Deprecate COL_BSSGP_TLLI (GPRS BSSGP IE TLLI). Use bssgp.tlli svn path=/trunk/; revision=29546
2009-08-23Custom columnfication:Kovarththanan Rajaratnam1-2/+2
* Deprecate COL_REL_CONV_TIME (Relative time (conversation)). Use tcp.time_relative svn path=/trunk/; revision=29523
2009-08-23Custom columnfication:Kovarththanan Rajaratnam1-2/+2
* Deprecate COL_FR_DLCI (Frame Relay DLCI). Use fr.dlci svn path=/trunk/; revision=29522
2009-08-23Custom columfication:Kovarththanan Rajaratnam1-2/+2
* Deprecate COL_HPUX_DEVID (HP-UX Device ID). Use nettl.devid svn path=/trunk/; revision=29517
2009-08-23Custom columfication:Kovarththanan Rajaratnam1-2/+2
* Deprecate COL_HPUX_SUBSYS (HP-UX Nettl Subsystem). Use nettl.subsys svn path=/trunk/; revision=29516
2009-08-23Custom columfication:Kovarththanan Rajaratnam1-2/+2
* Deprecate COL_COS_VALUE (L2 COS Value (802.1p)). Use vlan.priority svn path=/trunk/; revision=29513
2009-07-23From Kovarththanan Rajaratnam:Anders Broman1-0/+7
Precompile custom columns filters. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3767 svn path=/trunk/; revision=29174
2009-04-07size_t fixes.Gerald Combs1-1/+1
svn path=/trunk/; revision=27984
2009-02-09Make "Copy as Filter" on the packet list actually work.Jaap Keuter1-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. svn path=/trunk/; revision=27396
2008-04-12various code cleanupUlf Lamping1-24/+23
svn path=/trunk/; revision=24964
2008-04-12Added an option to save column widths in the recent file.Stig Bjørlykke1-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. svn path=/trunk/; revision=24949
2008-03-01Custom column updates:Stephen Fisher1-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). svn path=/trunk/; revision=24511
2008-02-27Fix a comment that was pointing readers to the wrong file to look for infoStephen Fisher1-2/+2
svn path=/trunk/; revision=24486
2008-02-25From Chris Maynard: Alphabetize the list of column types to choose from inStephen Fisher1-118/+118
the column preferences dialog. svn path=/trunk/; revision=24458
2008-02-22Improved custom columns with custom title.Stig Bjørlykke1-0/+15
Fixed a crash when adding an empty custom field. svn path=/trunk/; revision=24438
2008-02-22Some custom column fixes:Stig Bjørlykke1-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. svn path=/trunk/; revision=24417
2008-02-13Check in changes originally checked in as SVN revision 24308 (new columnStephen Fisher1-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. svn path=/trunk/; revision=24317
2008-02-12Revert commit 24308 until I can get it to compile on Windows/Linux/SolarisStephen Fisher1-7/+2
(strangely, it compiled fine on my MacOS X machine). svn path=/trunk/; revision=24309
2008-02-12Introduce a new column type called custom, which lets you put any displayStephen Fisher1-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. svn path=/trunk/; revision=24308
2007-10-03This patch adds two new column types:Sake Blok1-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. svn path=/trunk/; revision=23058
2007-09-22Simplify the parsing of column preferences, which should make it easierGerald Combs1-152/+6
to add column prefs in the future. Fix up whitespace in a couple of places. svn path=/trunk/; revision=22923
2007-08-17Instead of converting between 802.11 frequencies and channels umpteenGerald Combs1-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. svn path=/trunk/; revision=22538
2007-07-23- add a column for the expert info severity levelUlf Lamping1-2/+12
- fix a column related bug introduced in SVN 20118 svn path=/trunk/; revision=22387
2007-06-04Fix for bug #93: changes to the columns has no effect until restartStephen Fisher1-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. svn path=/trunk/; revision=22038
2007-03-23From Sake Blok:Stephen Fisher1-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. svn path=/trunk/; revision=21154
2006-12-11From Thomas Sillaber:Stephen Fisher1-5/+28
Create two new columns: IP DSCP and L2 COS (802.1p) svn path=/trunk/; revision=20118
2006-12-11Add a new function to build column widths based not only on the maxStephen Fisher1-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.) svn path=/trunk/; revision=20117
2006-12-05From Douglas Pratley with trivial changes and documentation changes Stephen Fisher1-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 svn path=/trunk/; revision=20040
2006-11-29Froim Rene Pilz:Anders Broman1-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. svn path=/trunk/; revision=20013
2006-06-26add a new column DCE/RPC context IDUlf Lamping1-54/+107
svn path=/trunk/; revision=18578
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-03-02from Daniele Orlandi:Anders Broman1-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. svn path=/trunk/; revision=17451