Commit graph

48 commits

Author SHA1 Message Date
Stig Bjørlykke
a1b2b3cbcb Do not set custom occurrence in recent file, this is used for column width.
svn path=/trunk/; revision=34219
2010-09-23 19:36:09 +00:00
Sake Blok
7364bef1b3 When using a custom column, make it possible to select which occurrence to show if the field has multiple occurrences.
svn path=/trunk/; revision=34186
2010-09-22 20:56:14 +00:00
Jeff Morriss
b4c2ed1b86 Remove some unnecessary includes: a lot of things don't need globals.h and register.h
svn path=/trunk/; revision=34017
2010-08-30 16:10:01 +00:00
Bill Meier
6cdec04e59 (Minor) Cleanup some "event callback" function declarations/definitions:
- Add missing 'user_data' arg as needed;
- Use gboolean rather than int as the type of the value returned.
Also: Cleanup whitespace & reformat long lines in a few cases.

svn path=/trunk/; revision=33679
2010-07-30 12:41:56 +00:00
Stig Bjørlykke
7b64be6a80 Revert COL_DSCP_VALUE back to value set in packet-ip.c.
Right justify COL_DSCP_VALUE (and COL_DCE_CALL as in the old packet list).

svn path=/trunk/; revision=33430
2010-07-05 09:05:27 +00:00
Jeff Morriss
e76dd3ebdb Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3387 (crash
when changing the font and deleting a column at the same time while using
the old packet list):

Don't calculate the default column widths until after both the font and column
preferences have been applied.

This isn't a problem in the new packet list.

svn path=/trunk/; revision=32500
2010-04-16 22:48:33 +00:00
Bill Meier
538dd47d5d Fix various gcc -Wshadow warnings.
svn path=/trunk/; revision=31731
2010-01-29 19:09:01 +00:00
Stig Bjørlykke
ff9123acbe Cleanup the escape/unescape underscore in Packet List column headers.
We only have to do this when actually set or get the title from the widget.

svn path=/trunk/; revision=31689
2010-01-26 23:05:40 +00:00
Gerasimos Dimitriadis
c08fa6f3cf Move underscore escaping/unscaping function to strutil.c;
Update decoding of IS-801 Request GPS Acquisition Assistance

svn path=/trunk/; revision=31685
2010-01-26 18:21:17 +00:00
Gerasimos Dimitriadis
e50527b8e1 Handle underscore escaping/unescaping for old packet list; Simplify
and make more robust the unescaping function.

svn path=/trunk/; revision=31668
2010-01-25 20:30:09 +00:00
Stig Bjørlykke
a8a225d1f2 Use get_column_custom_field() to get unknown custom column field.
svn path=/trunk/; revision=31490
2010-01-11 08:27:10 +00:00
Stig Bjørlykke
5c771d6e5f Fixed the tooltip for unknown custom column field.
Apply the correction fix for the old packet list.

svn path=/trunk/; revision=31489
2010-01-11 08:16:14 +00:00
Sake Blok
2cd7003383 Add "Ignore all packets", just like "Mark all packets"
svn path=/trunk/; revision=31343
2009-12-21 23:07:14 +00:00
Stig Bjørlykke
ef92b4ec11 Added "Ignore Packet" menu items to the main menu.
Show ignored packages in the summary dialog.

svn path=/trunk/; revision=31289
2009-12-17 12:05:13 +00:00
Stig Bjørlykke
47be3577a7 Introduce "Ignore Packet" in the packet list.
This will remove the package from the dissection functions without
removing it from the capture file.

svn path=/trunk/; revision=31287
2009-12-17 01:18:14 +00:00
Stig Bjørlykke
f10882a1f8 Save column alignment in the old packet list.
svn path=/trunk/; revision=31216
2009-12-09 15:50:20 +00:00
Stig Bjørlykke
f9ef0270eb Added "No Sorting" and Align menu items to the old packet list
heading popup menu.

svn path=/trunk/; revision=31214
2009-12-09 14:40:19 +00:00
Stig Bjørlykke
bc35b6fc5a Function rename:
new_packet_list_column_clicked() -> new_packet_list_column_menu_cb() 
packet_list_column_clicked() -> packet_list_column_menu_cb() 

svn path=/trunk/; revision=31130
2009-11-30 15:58:57 +00:00
Stig Bjørlykke
a68334bcec Prefix tooltip with protocol name.
svn path=/trunk/; revision=31094
2009-11-27 13:15:41 +00:00
Stig Bjørlykke
6bcb851e06 Added a descriptive tooltip to the packet list column headers.
We should probably add some more column documentation to each column.

svn path=/trunk/; revision=31093
2009-11-27 11:29:13 +00:00
Stig Bjørlykke
5fa9b50863 Cleanup object keys.
svn path=/trunk/; revision=31090
2009-11-26 16:12:03 +00:00
Stig Bjørlykke
5f2779d7bf Added the popup menu to the old packet list heading, to make it equal to
the new packet list.

svn path=/trunk/; revision=31089
2009-11-26 14:47:05 +00:00
Anders Broman
8fc53b829b Use gtk_image_new_from_pixmap().
svn path=/trunk/; revision=30316
2009-10-04 18:33:23 +00:00
Kovarththanan Rajaratnam
8af452f83d Constify (missed in r30051)
svn path=/trunk/; revision=30054
2009-09-21 20:00:29 +00:00
Kovarththanan Rajaratnam
7ca137e294 Rename capture_file.plist to capture_file.plist_start to make it consistent with capture_file.plist_end
svn path=/trunk/; revision=30047
2009-09-21 18:09:19 +00:00
Kovarththanan Rajaratnam
b90a11bee3 Make tshark and rawshark use build_column_format_array() instead of duplicating the code
svn path=/trunk/; revision=29803
2009-09-08 17:29:57 +00:00
Kovarththanan Rajaratnam
d75778eb4a Custom columnfication:
* Deprecate COL_DCE_CTX ("Context ID). Use dcerpc.cn_ctx_id

svn path=/trunk/; revision=29797
2009-09-08 14:59:26 +00:00
Bill Meier
1bc9f19f05 Add #include <stdio.h> in a few more places for Solaris.
svn path=/trunk/; revision=29577
2009-08-27 03:54:57 +00:00
Anders Broman
f186fba577 From Jakub Zawadzki:
This patch is cut&paste code from gtk/main_packet_list.c:packet_list_compare()
to new function frame_data_compare()
+ it make use of new function inside packet_list_compare() and
packet_list_compare_records()

svn path=/trunk/; revision=29164
2009-07-22 08:09:22 +00:00
Guy Harris
3706f913f0 Fix typo.
svn path=/trunk/; revision=28894
2009-06-30 19:10:11 +00:00
Stephen Fisher
e6d0686f7b Introduce experimental new feature: GTK2 tree view based packet list
To use the GTK2 based packet list, define NEW_PACKET_LIST when compiling.
To do this with gcc, set the environment variable CPPFLAGS to
"-DNEW_PACKET_LIST" and re-run configure.

Many features do not yet work.  This work began with prototypes by Ulf
quite a while back.  I've put quite a bit of work into this so far and
as discussed with a few of the core team members at Sharkfest09 and it was
decided that it would be best to commit what I have so far to allow others to
help work on this.


svn path=/trunk/; revision=28892
2009-06-30 18:05:04 +00:00
Guy Harris
432cac16f3 "main_menu.[ch]" -> "menus.[ch]"; it handles not only the main menu, but
context menus.

Note why we have an empty hex dump pane context menu.

svn path=/trunk/; revision=28794
2009-06-21 19:16:37 +00:00
Stig Bjørlykke
6e0dc25aa9 From Didier Gautheron (bug 3126):
Update expert info icon on redissect.

svn path=/trunk/; revision=28269
2009-05-04 21:13:14 +00:00
Guy Harris
54c159cb41 Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats).  Hopefully this will catch at least
some P64 issues on UN*X.

svn path=/trunk/; revision=28108
2009-04-21 16:57:52 +00:00
Stig Bjørlykke
f596c7da35 Untabify and code cleanup.
svn path=/trunk/; revision=26942
2008-12-09 00:03:09 +00:00
Stig Bjørlykke
5498ec1dce Optimized finding current row from cfile.current_frame.
svn path=/trunk/; revision=26804
2008-11-18 14:50:51 +00:00
Stig Bjørlykke
bfd1d4e42b Check if selected packet is already selected before doing any updates.
svn path=/trunk/; revision=26803
2008-11-18 14:36:48 +00:00
Sake Blok
ff621064aa Open the packet in a new window when it is double-clcked upon in the
packet-list.

(as noted in bug 3059)


svn path=/trunk/; revision=26800
2008-11-17 23:03:58 +00:00
Stig Bjørlykke
e0740e22e5 Remove the "Save column widths" option so we always save the widths.
svn path=/trunk/; revision=25968
2008-08-09 16:14:34 +00:00
Stig Bjørlykke
f9b3982cd2 Moved setting of E_MPACKET_LIST_KEY object data to the function creating
packet_list to ensure it's created before we set it.

Applying filter from the packet list still doesn't work correctly.

svn path=/trunk/; revision=25454
2008-06-15 18:29:22 +00:00
Stig Bjørlykke
c64847fe16 Update all time columns when changing the time precision.
Not implemented for conversation relative and delta time yet, because this
will need a reload as they are set by the dissectors and does not exist in
the frame data.

svn path=/trunk/; revision=25452
2008-06-14 16:51:11 +00:00
Stig Bjørlykke
98325a69c9 Save the column width in the recent list on every change so we can
pick the correct width when changing the time precision.

svn path=/trunk/; revision=25451
2008-06-14 16:45:06 +00:00
Stig Bjørlykke
32a4a97c92 Corrected some unused arguments in case someone starts using them,
or just copy the code.

svn path=/trunk/; revision=25225
2008-05-04 22:29:41 +00:00
Ulf Lamping
38c4ebeb4a move all code from color.c into color_utils.c
remove color.c
rename colors.h into color_utils.h (hopefully this reduces confusion to /color.h)

svn path=/trunk/; revision=24974
2008-04-13 12:41:22 +00:00
Ulf Lamping
1f8e6c08be various code cleanup
svn path=/trunk/; revision=24964
2008-04-12 23:34:44 +00:00
Stig Bjørlykke
9660d9e9c2 Some packet_list.h -> main_packet_list.h changes.
svn path=/trunk/; revision=24953
2008-04-12 19:59:05 +00:00
Stig Bjørlykke
3c927a518b Reintroduced save of column width in main_packet_list.[ch],
accidentally removed in r24950.

svn path=/trunk/; revision=24952
2008-04-12 19:53:54 +00:00
Ulf Lamping
c05af9057b rename packet_list to main_packet_list
svn path=/trunk/; revision=24950
2008-04-12 19:38:29 +00:00
Renamed from gtk/packet_list.c (Browse further)