Commit graph

186 commits

Author SHA1 Message Date
Sake Blok
516bfe3363 Fix marking functionality (bug 5279)
svn path=/trunk/; revision=35244
2010-12-22 17:25:06 +00:00
Guy Harris
a4cc25f84d Move main_statusbar.h to the top-level directory; none of its routines
use GTK+ data types, so, at least in theory, it could be implemented
atop another toolkit.

Make statusbar_push_temporary_msg() take a format string and format
arguments.  Use it instead of simple_status(), and change one call to
just take a format string and arguments rather than to take the result
of using that format string and arguments with g_strdup_printf() and
passing the result to statusbar_push_temporary_msg().

svn path=/trunk/; revision=35041
2010-11-27 21:50:49 +00:00
Stig Bjørlykke
4ce3021a07 Prefix window title with "Wireshark".
svn path=/trunk/; revision=34445
2010-10-09 18:37:31 +00:00
Stig Bjørlykke
ccfe41300c Added "Edit Column Details" functions to the packet list heading popup.
Removed "Rename Column Title" as this is moved to "Edit Column Details".

svn path=/trunk/; revision=34444
2010-10-09 15:22:53 +00:00
Stig Bjørlykke
06a60e48c3 Show custom column occurrence in the packet list heading tooltips.
svn path=/trunk/; revision=34434
2010-10-08 11:08:36 +00:00
Stig Bjørlykke
2e560e12a9 Ensure we always show the selected frame when changing sort order.
svn path=/trunk/; revision=34337
2010-10-02 16:41:20 +00:00
Stig Bjørlykke
f5ab6c1930 Store "Show Resolved" setting for custom columns.
svn path=/trunk/; revision=34220
2010-09-23 19:41:55 +00:00
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
Stig Bjørlykke
3061558a4c Disable sorting while capturing.
svn path=/trunk/; revision=34216
2010-09-23 18:07:49 +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
Bill Meier
8b7784d08e Remove what appear to be two redundant lines of code (AFAIKT).
svn path=/trunk/; revision=34090
2010-09-09 17:30:35 +00:00
Anders Broman
0042c07d2a Doxygen changes.
svn path=/trunk/; revision=33993
2010-08-29 15:14:38 +00:00
Bill Meier
254135d807 (Trivial) Whitespace cleanup.
svn path=/trunk/; revision=33889
2010-08-23 14:36:01 +00:00
Bill Meier
539712c5ad new_packet_list_column_button_pressed_cb(): return gboolean (not void): it's an event callback;
Note:
 the original code:
   static void new_packet_list_column_button_pressed_cb() {
     ...
     packet_list_popup(...);
     }
 the revised code:
   static gboolean new_packet_list_column_button_pressed_cb() {
     ...
     return packet_list_popup(...);
     }

 My guess is that the original code happened to work 
 on some?/all? supported platforms depending upon the actual
 details of the generated calling_sequence/return code.
---------------
Also: 
- new_packet_list_column_button_pressed_cb(): 'path' arg is unused;
- new_packet_list_double_click_cb(): user_data arg is unused so 
  don't supply same in the g_signal_connect.

svn path=/trunk/; revision=33888
2010-08-23 14:08:35 +00:00
Anders Broman
d5460f420d From Cal Turney:
Restores Mark All Displayed item when all packets are displayed.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5115

svn path=/trunk/; revision=33836
2010-08-18 07:48:37 +00:00
Anders Broman
46cd4a8507 From Cal Turney:
1. Restore the functionality of <Ctrl>A and <Ctrl>X to the filter textbox.  
2. Assign intuitive shortcuts without consuming any new shortcut letters.  
3. Add 'Un-Time Reference All Packets' to the menu.
4. Disallow the marking or ignoring of all packets in the capture.  
5. Make the Mark/Ignore/Time Reference-related menu items context sensitive. 
6. Add 'ref_time_count' to the capture_file structure
7. Utilize marked/ignored/ref_time_count vars to prevent needless looping thru
   the entire packet list by exiting the loop when it becomes zero.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5115

svn path=/trunk/; revision=33817
2010-08-16 18:17:45 +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
Stig Bjørlykke
0c2e3652e6 Recreate the packet list on DND columns.
This is a quick'n'dirty fix and not optimal, but it fixes the problems we
have with DND columns.  We have to rewrite new_packet_list_recreate() to
handle both new, delete and reorder columns.

svn path=/trunk/; revision=33400
2010-07-01 14:33:36 +00:00
Stig Bjørlykke
6b5a031808 Fetch filter and copy summary from correct column after DND columns.
This does not recreate the internal structures, but we we fix the problem
with fetching wrong data.  Printing still uses the configured column order.

svn path=/trunk/; revision=33399
2010-07-01 12:21:29 +00:00
Stig Bjørlykke
9877a63dc7 Remove some double GTK_TREE_VIEW casts.
svn path=/trunk/; revision=33398
2010-07-01 11:31:24 +00:00
Stig Bjørlykke
2ae635a51a Cleanup some whitespace.
svn path=/trunk/; revision=33333
2010-06-26 21:42:12 +00:00
Stig Bjørlykke
5a69e41f6e Enable "Show Resolved" for custom OID columns.
svn path=/trunk/; revision=33320
2010-06-25 10:44:12 +00:00
Stig Bjørlykke
beb4314276 Introduce "Show Resolved" as an option in custom columns. This will determine
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-25 06:42:34 +00:00
Stig Bjørlykke
d3e1e2df1e Added "Hide Column" functionality.
svn path=/trunk/; revision=33266
2010-06-20 16:23:43 +00:00
Gerald Combs
074b9660b6 Have new_packet_list_queue_draw() redraw the packet detail as well. Call
new_packet_list_queue_draw() whenever we mark/unmark frames. Fixes bug
4669.

svn path=/trunk/; revision=32981
2010-05-26 19:44:40 +00:00
Anders Broman
6c10366a1d Try to get the status bar to update the "Displayed:" field when if and when a display filter is applied.
svn path=/trunk/; revision=31752
2010-02-01 12:55:45 +00:00
Anders Broman
cb1f3e6986 - Back out the change to restore the selection after freeze/thaw.
- Move packets_bar_update(); to new_packet_list_append() as
 we may not freeze/thaw the list.

svn path=/trunk/; revision=31747
2010-02-01 06:27:24 +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
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