Commit graph

882 commits

Author SHA1 Message Date
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
Stig Bjørlykke
a5c7194afc Make it compile without warnings on OSX.
Removed unused wep_closed_24.xpm.

svn path=/trunk/; revision=28348
2009-05-13 10:15:18 +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
Gerald Combs
1582e052a1 More Win64 fixes.
svn path=/trunk/; revision=28062
2009-04-16 00:45:26 +00:00
Bill Meier
f7bcdea0e5 gtk_widget_ref() --> g_object_ref()
svn path=/trunk/; revision=28027
2009-04-10 14:10:49 +00:00
Sake Blok
ff65240906 Add some more "copy" functionality:
- Enabled "Copy Description" in the main menu and gave it
  accelerator key CTRL+SHIFT+D

- Added "Copy Fieldname" to copy the fieldname of the selected
  field in the detail view (Acc.Key: CTRL+SHIFT+F)

- Added "Copy Value" to copy the value of the selected
  field in the detail view (Acc.Key: CTRL+SHIFT+V)

- Updated documentation to reflect the changes



svn path=/trunk/; revision=28006
2009-04-08 18:32:11 +00:00
Bill Meier
321506c076 (Trivial) Fix some spelling & etc in comments
svn path=/trunk/; revision=27996
2009-04-08 13:41:30 +00:00
Guy Harris
c73ab7dff7 Change the signature of init_progfile_dir() so the casting of the
function pointer (to main) to an argument to dladdr() is done in
init_progfile_dir() rather than its callers.

svn path=/trunk/; revision=27814
2009-03-22 06:53:17 +00:00
Guy Harris
6f059e8cb7 In Solaris, the second argument to dladdr() is just a void *, not a
const void *.

svn path=/trunk/; revision=27813
2009-03-22 06:38:02 +00:00
Guy Harris
7c6e2155cc Attempt to use dladdr() to get the pathname of the executable image if
it's available and works.

svn path=/trunk/; revision=27812
2009-03-22 00:42:33 +00:00
Bill Meier
af0ee98880 Replace use of unneccessary (and deprecated) GtkCtree.
svn path=/trunk/; revision=27746
2009-03-16 19:43:45 +00:00
Stig Bjørlykke
62f60df6b4 From Jakub Zawadzki (bug 3331):
g_free() is NULL safe, so we don't need check against it.

svn path=/trunk/; revision=27718
2009-03-13 22:06:48 +00:00
Stig Bjørlykke
18c5caa3d4 From Jakub Zawadzki:
Use non-formatting functions when appropriate.

svn path=/trunk/; revision=27709
2009-03-12 07:56:42 +00:00
Stig Bjørlykke
570722dab3 Remember the last used profile and restore this on startup.
svn path=/trunk/; revision=27560
2009-02-26 22:26:42 +00:00
Stig Bjørlykke
adfda29e38 Don't write the recent file when leaving a deleted profile.
svn path=/trunk/; revision=27559
2009-02-26 22:24:18 +00:00
Jaap Keuter
d27c92e496 Add posibility to mark protocol as private. This prevents inadvertent Wiki access.
svn path=/trunk/; revision=27533
2009-02-24 17:24:03 +00:00
Guy Harris
ace4af44fc Add a routine to report write errors to the list of failure-reporting
routines handled by epan/report_err.c.

Move copy_binary_file() in file.c to epan/filesystem.c, and rename it to
copy_file_binary_mode() (to clarify that it *can* copy text files;
arguably, *all* files are "binary" unless you're on, say, an IBM 1401
:-)).  Have it use the report_err.c routines, so it works in
console-mode programs.

Clean up some comments while we're at it.

svn path=/trunk/; revision=27456
2009-02-15 21:47:57 +00:00
Guy Harris
82b8d25678 Move declarations of routines in gtk/capture_if_dlg.c into
gtk/capture_if_dlg.h.  Include that header when appropriate.

Get rid of include of <sys/wait.h> in gtk/capture_if_dlg.c; there's no
forking or waiting in there.

Make update_if() in gtk/capture_if_dlg.c static - it's not used outside
that file.

svn path=/trunk/; revision=27347
2009-02-01 23:14:07 +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
Stephen Fisher
e7057d72d8 Remove random ; at the end of preprocessor directive.
svn path=/trunk/; revision=26572
2008-10-27 05:24:01 +00:00
Stephen Fisher
b8b74f901d Add About, Preferences and a working Quit option to the OS X application menu
when ige mac integration is used.


svn path=/trunk/; revision=26569
2008-10-27 04:40:54 +00:00
Stephen Fisher
1fa606decf More updates to the IGE Mac OS X integration feature:
- Adds preference "MacOS X style" to the (G)UI preferences pane
 - When the preference above is enabled, the menu bar is moved from
   the Wireshark window to the top of the screen.  It is no longer displayed
   in both places at once.  This preference defaults to on.
 - Calls function to enable shortcut keys for OS X top of screen menus.
 - NOTE: The IGE Mac Integration functions change the Control key to Command
         key in the menus.  This may or may not be desirable.


svn path=/trunk/; revision=26565
2008-10-26 23:07:37 +00:00
Ronnie Sahlberg
24b76bdc14 add a -K command line option to provide the name of the kerberos keytab
file to use for decryption of Krb5 and GSS-KRB


svn path=/trunk/; revision=26343
2008-10-03 05:21:28 +00:00