Commit Graph

157 Commits

Author SHA1 Message Date
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 065546cdcb Change the prefix of the underscore escaping/unescaping
functions from g_ to ws_; Insert function names in
libwireshark.def

svn path=/trunk/; revision=31662
2010-01-25 18:14:01 +00:00
Gerasimos Dimitriadis 11e340038f Handle underscore escaping/unescaping of the column titles
under the new packet list

svn path=/trunk/; revision=31649
2010-01-24 22:25:40 +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
Anders Broman 12479a1376 From Jim Young:
Wireshark crash with new packet list if unknown custom column field.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4379

svn path=/trunk/; revision=31485
2010-01-11 07:56:29 +00:00
Sake Blok 5c665874ba Only mark/ignore displayed frames when doing mark/ignore all packets
svn path=/trunk/; revision=31345
2009-12-22 07:37:00 +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 d9de90be12 Set new column minimum width and resize column when changing column title
from the packet list popup menu.

svn path=/trunk/; revision=31329
2009-12-20 23:15:04 +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 5333f8ac36 Cleanup some column alignment code.
svn path=/trunk/; revision=31217
2009-12-09 16:16:04 +00:00
Anders Broman 0f8ab929a6 When freezing/thawing selection gets lost.
svn path=/trunk/; revision=31206
2009-12-08 16:14:01 +00:00
Anders Broman c5eabf762f - Use the gtk_tree_view_column_set_min_width() method also
when crating the list.
- Set min width to the size of the title or COLUMN_WIDTH_MIN

svn path=/trunk/; revision=31167
2009-12-03 20:59:18 +00:00
Stig Bjørlykke eae70bf323 Set tooltips on the column button.
svn path=/trunk/; revision=31151
2009-12-02 14:00:04 +00:00
Stig Bjørlykke 942d6e41f8 Indicate default column alignment in the popup menu.
svn path=/trunk/; revision=31150
2009-12-02 13:53:33 +00:00
Stig Bjørlykke 8b1f93f288 Save column alignment in the recent file.
Added center and default alignment menu items.

svn path=/trunk/; revision=31143
2009-12-01 17:07:13 +00:00
Stig Bjørlykke 81ffd50409 Added three states for sorting: ascending, descending and no sorting
(ascending on first column).

svn path=/trunk/; revision=31141
2009-12-01 16:23:20 +00:00
Stig Bjørlykke 874657592c Move the heading context menu to secondary-button and preserve
primary-button to toggle sorting.

svn path=/trunk/; revision=31131
2009-11-30 16:15:48 +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 62d9adf4c3 Build for GTK older than 2.18.
svn path=/trunk/; revision=31104
2009-11-28 00:28:16 +00:00
Stig Bjørlykke be49cd13f9 Added function to align columns.
svn path=/trunk/; revision=31099
2009-11-27 18:12:30 +00:00
Stig Bjørlykke 028996daf0 Small fix in changing column title.
svn path=/trunk/; revision=31098
2009-11-27 18:00:07 +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 2e06779073 Save preferences when adding and removing columns in the main window.
svn path=/trunk/; revision=31087
2009-11-26 09:11:55 +00:00
Stig Bjørlykke 43de696a6c Added a popup menu in the packet list heading to set sort order and some
functions to rename column title, resize a single column and remove a column.

svn path=/trunk/; revision=31086
2009-11-26 09:09:07 +00:00
Stig Bjørlykke c00e12fd9d Corrected include guard in packet_list_store.h
svn path=/trunk/; revision=31083
2009-11-26 08:52:44 +00:00
Stig Bjørlykke f7425e276d packet_list_get_widest_column_string() can return NULL, so check for this.
Use get_default_col_size() to get pixel size for string.

svn path=/trunk/; revision=31062
2009-11-24 00:16:26 +00:00
Stig Bjørlykke 542a34ced8 Implement new_packet_list_recreate(). This should be reimplemented to
avoid building a new table and redissecting all packets.

svn path=/trunk/; revision=31024
2009-11-19 21:11:41 +00:00
Anders Broman cafad87fd9 From Stig:
Invalidate cfile.current_row instead(revert 30910).

svn path=/trunk/; revision=30925
2009-11-10 20:16:14 +00:00
Anders Broman 989dcf58d1 In new_packet_list_select_cb() remove the check if the packet is reselected as the row number may be the same in a filtered
list as in the previous unfiltered list.

svn path=/trunk/; revision=30910
2009-11-09 21:32:32 +00:00
Stig Bjørlykke a7e3a1b3d9 Check if selected packet is already selected before doing any updates.
This was originally added in r26803 for the old packet list.

svn path=/trunk/; revision=30749
2009-10-28 22:17:18 +00:00
Stig Bjørlykke 1c8f8b4f3d Use prefs.col_list when writing recent entries for new packet list.
This is to avoid a mismatch between cfile.cinfo and prefs.col_list.

svn path=/trunk/; revision=30529
2009-10-12 07:55:24 +00:00
Anders Broman 2d77aab376 Fix: jyoung SVN #30065; Sort order at start of new capture.
svn path=/trunk/; revision=30079
2009-09-22 20:09:04 +00:00
Anders Broman 4827316ea4 - new_packet_list_resize_column() if we get an empty string from
packet_list_get_widest_column_string() (no visible row) don't
change the colum width.
- packet_list_moveto_end() selection no longer needed.

svn path=/trunk/; revision=30077
2009-09-22 19:36:14 +00:00
Anders Broman ffcaf32074 Select the first packet when doing a live capture. In the old packet list this is automatically done as the clist emits a selct-row signal.
Seting focus in new_packet_list_moveto_end() seems also to be needed to make it work properly I'm not 100% sure if it should be done differently.

svn path=/trunk/; revision=30074
2009-09-22 18:51:33 +00:00
Anders Broman 08525e79d7 - Add new_packet_list_set_sel_browse()
- When scrolling to the end don't select the row.

svn path=/trunk/; revision=30065
2009-09-22 12:39:16 +00:00
Stephen Fisher 60b4a9a3c5 Minor white space cleanup.
svn path=/trunk/; revision=30056
2009-09-21 20:20:02 +00:00
Kovarththanan Rajaratnam 3ea9409792 Store 'color_filter' as const in 'frame_data'
svn path=/trunk/; revision=30051
2009-09-21 18:48:53 +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
Anders Broman 219ac9ebdd Add a more verbose error printout.
svn path=/trunk/; revision=30031
2009-09-21 09:25:48 +00:00
Anders Broman 4ac9d6b8c5 Try to fix(take II):
Fedora 11/Gtk2.16.6: Get two Gtk-Critical messages each time a capture fie is opened: 
(lt-wireshark:15705): Gtk-CRITICAL **: gtk_tree_view_column_set_fixed_width: assertion `fixed_width > 0' failed 
gtk_tree_view_column_set_fixed_width is incompatible with variable width columns.

svn path=/trunk/; revision=30027
2009-09-20 21:41:02 +00:00
Kovarththanan Rajaratnam f76fe1b808 From Jim Young via bug 4033:
With the "old" list if keyboard focus was initially in the details pane, the
use of the <F7>/<F8> keys will restore focus to details pane after the
prev/next move.   Without this patch "new" packet list prev/next moves simply
moves focus to summary pane.

svn path=/trunk/; revision=30025
2009-09-20 19:39:54 +00:00
Anders Broman 0474a38cc4 Add myself and Kovarththanan Rajaratnam as co authors.
svn path=/trunk/; revision=30006
2009-09-20 09:12:56 +00:00
Kovarththanan Rajaratnam 8767b75876 Use G_STRLOC
svn path=/trunk/; revision=29991
2009-09-20 07:46:12 +00:00
Anders Broman b809359c65 Try to fix:
Fedora 11/Gtk2.16.6: Get two Gtk-Critical messages each time a capture fie is opened: 
(lt-wireshark:15705): Gtk-CRITICAL **: gtk_tree_view_column_set_fixed_width: assertion `fixed_width > 0' failed 
gtk_tree_view_column_set_fixed_width is incompatible with variable width columns.

svn path=/trunk/; revision=29989
2009-09-20 07:35:55 +00:00
Guy Harris 3e9738ac89 Add support for opening separate packet window when you double-click on
a row in the packet list.

svn path=/trunk/; revision=29987
2009-09-19 22:51:42 +00:00
Anders Broman 6e56815095 Set focus to packet list when a row is selected.
svn path=/trunk/; revision=29981
2009-09-18 14:01:10 +00:00