Commit graph

904 commits

Author SHA1 Message Date
Bill Meier
538dd47d5d Fix various gcc -Wshadow warnings.
svn path=/trunk/; revision=31731
2010-01-29 19:09:01 +00:00
Bill Meier
7b01915b6b Fix various gcc -Wshadow warnings.
svn path=/trunk/; revision=31730
2010-01-29 16:13:26 +00:00
Anders Broman
eef24f0765 From Jim Young:
Wireshark GUI not reporting filename after save of new capture file.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4406

svn path=/trunk/; revision=31587
2010-01-20 06:44:03 +00:00
Stig Bjørlykke
ac458da257 Display the capture filter in the main window title when capturing.
svn path=/trunk/; revision=31512
2010-01-13 10:21:25 +00:00
Gerald Combs
6580e861df Rename splash_register_freq to info_update_freq. Use it to throttle name
resolution updates as well as splash screen updates.

svn path=/trunk/; revision=31351
2009-12-22 20:29:28 +00:00
Gerald Combs
4f30c2170e Change host_name_lookup_process to return TRUE if anything new has been
resolved since the last time it was called. Use this to redraw the packet
list and detail any time we have newly-resolved objects.

svn path=/trunk/; revision=31350
2009-12-22 20:01:06 +00:00
Stig Bjørlykke
fe793ed781 Added Copy Profile functionality.
svn path=/trunk/; revision=31335
2009-12-21 12:32:31 +00:00
Gerald Combs
7871c54e99 Behave more gracefully if WinPcap isn't installed. Don't assert if
we call pcap_open or pcap_open_live when WinPcap isn't loaded - just
return NULL. Don't display the "NPF driver isn't running" dialog if
we're capturing from stdin or a file.

Fix a cut-and-paste error in capture_pcap_linktype_list.

svn path=/trunk/; revision=31275
2009-12-15 19:29:21 +00:00
Jaap Keuter
81b585cf8e From Valerio Messina:
As now, when Wireshark save capture files, it show "Loading" in status bar and
in the dialog box, warning many users of lost them packets. Saving work as expected.
Is simply a GUI use interaction problem.

svn path=/trunk/; revision=31269
2009-12-14 22:05:29 +00:00
Stig Bjørlykke
39f0b9efde Improved Apply/Prepare a filter from Packet List for custom columns:
- Add quotes for strings
- Use only protocol for protocol only columns

svn path=/trunk/; revision=31158
2009-12-03 14:01:18 +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
Jörg Mayer
c34a88f0ae -G -> -J
-d -> -j
Update AUTHORS

svn path=/trunk/; revision=31037
2009-11-20 22:55:18 +00:00
Jörg Mayer
13a0a5edf9 Johanna Sochos <johanna.sochos@swissqual.com>
Add two new options to wireshark:
-G filter: Jump to the first frame matching filter
-d: make -G match the last frame matching filter

svn path=/trunk/; revision=31033
2009-11-20 18:52:01 +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
Stig Bjørlykke
9a7d0994d8 Add a custom column from the packet details popup menu.
This fixes bug 4246.

svn path=/trunk/; revision=31020
2009-11-19 18:22:26 +00:00
Stig Bjørlykke
7c5f1b80ac Introduce packet bytes bit view.
svn path=/trunk/; revision=30832
2009-11-05 10:16:49 +00:00
Stig Bjørlykke
98024a007f Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.

svn path=/trunk/; revision=30370
2009-10-06 16:01:18 +00:00
Kovarththanan Rajaratnam
d1dda18cca Guard icon_list_create()
svn path=/trunk/; revision=30363
2009-10-06 13:51:56 +00:00
Stig Bjørlykke
727f0062a7 Mark some functions static.
Removed an unused tooltips.

svn path=/trunk/; revision=30362
2009-10-06 13:26:00 +00:00
Anders Broman
ecc0cdb162 From GTK docs:
Warning
gtk_window_set_policy is deprecated and should not be used in newly-written code. Use gtk_window_set_resizable() instead.

Changes how a toplevel window deals with its size request and user resize attempts. There are really only two reasonable ways to call this function: 

1.gtk_window_set_policy (GTK_WINDOW (window), FALSE, TRUE, FALSE) means that the window is user-resizable. 

2.gtk_window_set_policy (GTK_WINDOW (window), FALSE, FALSE, TRUE) means that the window's size is program-controlled, and should simply match the current size request of the window's children. 

gtk_window_set_resizable () :
Sets whether the user can resize a window. Windows are user resizable by default.

svn path=/trunk/; revision=30311
2009-10-04 18:11:22 +00:00
Kovarththanan Rajaratnam
0ee2b7754d Rename init_cap_file() to cap_file_init()
svn path=/trunk/; revision=30073
2009-09-22 16:53:11 +00:00
Anders Broman
546014cdaf cf_change_time_formats() is not needed with new packet list.
svn path=/trunk/; revision=30034
2009-09-21 11:58:36 +00:00
Bill Meier
cf84f1840a Indicate if "with new_packet_list" in version info (for now to minimize any confusion).
svn path=/trunk/; revision=29978
2009-09-18 00:31:27 +00:00
Kovarththanan Rajaratnam
de23d92163 Add an option to col_fill_in() to allow us to disable column expression processing. This is rarely needed. It's only needed when the user right clicks on the packet list view to generate a display filter.
svn path=/trunk/; revision=29806
2009-09-08 19:00:54 +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
Stig Bjørlykke
07b1329a7c Remove an obsolete gui_time_format setting.
svn path=/trunk/; revision=29724
2009-09-05 19:42:43 +00:00
Stig Bjørlykke
8024460bc0 Move reloading pane geometry to a point where we have the correct
main_first_pane and main_second_pane.

svn path=/trunk/; revision=29719
2009-09-05 18:13:48 +00:00
Stig Bjørlykke
45bdd7577b Apply user font when changing profile with new packet list.
svn path=/trunk/; revision=29712
2009-09-05 13:30:16 +00:00
Anders Broman
a871f30434 Connect F7 and F8 for new_packet_list.
svn path=/trunk/; revision=29642
2009-08-31 19:31:04 +00:00
Bill Meier
1826a02933 Add #include <stdio.h> in a few places for Solaris
svn path=/trunk/; revision=29576
2009-08-27 02:53:13 +00:00
Kovarththanan Rajaratnam
af00c3e6da Make 'Apply as filter'/'Prepare filter' work for new packet list.
svn path=/trunk/; revision=29419
2009-08-14 19:35:01 +00:00
Kovarththanan Rajaratnam
e9004b22b1 New packet list: right clicking on a row now selects the given row.
svn path=/trunk/; revision=29415
2009-08-14 18:29:32 +00:00
Kovarththanan Rajaratnam
80a6d3fbcf Introduce epan_dissect_init()/epan_dissect_cleanup(). These are used to initialise/cleanup stack allocated 'edt' structures. This should speed up dissection since we avoid some malloc traffic.
svn path=/trunk/; revision=29404
2009-08-13 19:42:46 +00:00
Guy Harris
643adf19e6 Move one comment before all of the code to which it refers.
Update another comment with information from the corresponding comment
in tshark.c

Move some code so that it's run only if its result is used.

Add an additional comment about logging on UN*X.

svn path=/trunk/; revision=29332
2009-08-08 01:21:55 +00:00
Stig Bjørlykke
0776b9c0a1 Added new_packet_list_set_font() and initialize fonts when using
new packet list.

svn path=/trunk/; revision=29316
2009-08-06 22:06:37 +00:00
Anders Broman
94e0026e19 From Kovarththanan Rajaratnam:
Enable popup menu in packet list view.

svn path=/trunk/; revision=29223
2009-07-28 20:46:23 +00:00
Anders Broman
09c6b577f9 Set reftime without recreating the packet list.
svn path=/trunk/; revision=29220
2009-07-28 16:20:05 +00:00
Anders Broman
cb771536df From Kovarththanan Rajaratnam:
Only fill in frame_data vals when needed.

svn path=/trunk/; revision=29203
2009-07-27 08:33:26 +00:00
Stig Bjørlykke
8c4abdfb47 From didier gautheron via bug 3762:
This patch removes col_expr in frame_data structure,
it can be recomputed when needed.

svn path=/trunk/; revision=29159
2009-07-21 16:48:16 +00:00
Stig Bjørlykke
110a1e9753 Move updating menus with new recent values to a point after we have created
the new packet list, because we relay on the columns for time values.

This fixes bug 3640.

svn path=/trunk/; revision=28918
2009-07-02 09:08: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
Stig Bjørlykke
7bb637f051 Small whitespace cleanup.
svn path=/trunk/; revision=28847
2009-06-26 03:37:30 +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
a61e285004 Added a preference to capture in Pcap-NG from GUI.
svn path=/trunk/; revision=28740
2009-06-15 16:36:02 +00:00
Stig Bjørlykke
9fe70f3a2a From Didier Gautheron via bug 3532:
Reset the detail pane protocol preferences menu on profile switching.

svn path=/trunk/; revision=28719
2009-06-13 23:32:08 +00:00
Guy Harris
64432ed12b Give a routine a name that indicates in more detail exactly what the
routine does (it doesn't get arbitrary text, it gets a filter that
matches patches with a particular value of a particular column).

svn path=/trunk/; revision=28647
2009-06-06 00:21:40 +00:00
Stig Bjørlykke
28dee99cdc From Graham Bloice via bug 3504:
Fix concurrent name resolution for c-ares.

svn path=/trunk/; revision=28605
2009-06-02 18:47:36 +00:00
Stig Bjørlykke
009256c3a5 From Siddhes (bug 3483):
Throttle splash screen updates when running remote.

svn path=/trunk/; revision=28503
2009-05-27 14:13:55 +00:00
Balint Reczey
422b347862 Change button label to "Quit without Saving" from "Continue without Saving"
when exiting Wireshark and having an open, not yet saved capture file.
This fixes bug 1427.

svn path=/trunk/; revision=28502
2009-05-27 02:42:43 +00:00
Bill Meier
6cdedfddd1 gtk_exit() is deprecated; "use the standard exit() function instead"
svn path=/trunk/; revision=28444
2009-05-22 12:36:20 +00:00