Commit Graph

5174 Commits

Author SHA1 Message Date
Stephen Fisher 9148bb6c53 Clarify some comments
svn path=/trunk/; revision=35279
2010-12-27 22:24:07 +00:00
Stephen Fisher 808d632345 The RTP Player shows the number of seconds since the beginning of that
call's packet flow along the x-axis.  Add " s" to the end of each number
to give the user an idea those numbers are seconds.


svn path=/trunk/; revision=35278
2010-12-27 21:44:34 +00:00
Jaap Keuter 3c9cfef565 Fix for bug 5513:
Prepare filter must take Fwd and Rev part in combined filter.

svn path=/trunk/; revision=35247
2010-12-22 20:24:51 +00:00
Sake Blok 516bfe3363 Fix marking functionality (bug 5279)
svn path=/trunk/; revision=35244
2010-12-22 17:25:06 +00:00
Jaap Keuter dfb9193526 Set default graph file format to more appropriate Portable Network Graphics.
svn path=/trunk/; revision=35236
2010-12-21 08:08:28 +00:00
Jaap Keuter 015cd4a18d From Marc Giertzsch:
Dialog RTP Graph analysis is not showing forward and reverse delta.

svn path=/trunk/; revision=35235
2010-12-21 08:07:24 +00:00
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys.  (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)

svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Jaap Keuter 5ae824fc8f From k barnard:
Flag when a packet has been dropped by the jitter buffer in the audio player,
by showing:
 D dropped packet
 W wrong timestamp
 S silence added by wireshark

To show when audio 'glitches' may have come from the processing the received
packets through the jitter buffer.

svn path=/trunk/; revision=35192
2010-12-15 18:38:17 +00:00
Balint Reczey 2118fd723c Always provide wslua_plugin_list, even if we don't have Lua configured.
svn path=/trunk/; revision=35163
2010-12-09 15:20:14 +00:00
Jeff Morriss fc47a70c65 Change includes for getenv_utf8()
svn path=/trunk/; revision=35150
2010-12-07 21:20:39 +00:00
Sake Blok 740dfb5a4d Change the accelerator keys for "goto previous/next packet in conversation" from "<ctrl>+[" and "<ctrl>+]" to "<ctrl>+," and "<ctrl>+." as the bracket keys cause problems on many keyboards where they are "hidden" behind AltGr (I was tipped by a user with a German keyboard that has that "problem"). The new keys should cause no problems on most keyboards according to http://en.wikipedia.org/wiki/Keyboard_layout.
svn path=/trunk/; revision=35143
2010-12-07 11:42:32 +00:00
Stephen Fisher 36deb61faa Revert r35132 so that a better fix can be implemented that doesn't break
non-printable non-UTF8 ASCII characters such as in binary streams.


svn path=/trunk/; revision=35136
2010-12-06 21:33:19 +00:00
Stephen Fisher a27983a413 Remove unnecessary #include "../isprint.h"
svn path=/trunk/; revision=35135
2010-12-06 21:24:25 +00:00
Stephen Fisher 8525fe0037 Change isprint() calls in follow_stream.c (shared code that supports Follow
TCP, UDP and SSL streams) to g_unichar_isprint() so that UTF-8 characters
are displayed properly.


svn path=/trunk/; revision=35132
2010-12-06 18:34:26 +00:00
Bill Meier 03b57df5a0 Fix various typos and spelling errors.
svn path=/trunk/; revision=35126
2010-12-06 01:34:58 +00:00
Stephen Fisher 5a7b4defa3 After applying GUI preferences, reset the welcome screen's header message
in case the show version in welcome screen option was toggled.


svn path=/trunk/; revision=35114
2010-12-03 22:19:58 +00:00
Stephen Fisher a3d313a967 Don't include epan/emem.h twice.
svn path=/trunk/; revision=35109
2010-12-03 18:47:10 +00:00
Stephen Fisher f4b4c45af1 Change the Wireshark stock icon description from "Auto Scroll in Live Capture"
to "Auto Scroll" to save space in the main toolbar.  Leave the rest of the
references (such as in the view menu) as they were.


svn path=/trunk/; revision=35108
2010-12-03 17:31:58 +00:00
Jeff Morriss ad2730d302 Convert the .c file names to .obj before putting them in WIRESHARK_GTK_OBJECTS.
svn path=/trunk/; revision=35081
2010-11-30 21:32:04 +00:00
Jeff Morriss b8cb5e53ff Move the port audio source into a separate variable which is not run through checkapi.
svn path=/trunk/; revision=35080
2010-11-30 20:57:43 +00:00
Jeff Morriss c755b2fd54 Oh yeah, there's a reason we don't put targets in Makefile.common: the first target in a makefile is what you get when you just run make (without a target). Revert 35073 and 35069.
svn path=/trunk/; revision=35075
2010-11-30 02:04:55 +00:00
Sake Blok a857d6d69b Fix "colorize with filter" functionality that got broken with the new_packet_list.
svn path=/trunk/; revision=35074
2010-11-29 22:50:21 +00:00
Jeff Morriss 5f3ff94816 Move the checkapi targes to Makefile.common. Rename Makefile.nmake's WIRESHARK_GTK_SRC to WIRESHARK_GTK_ALL_SRC to avoid reusing the variable of the same name from Makefile.common; Put DIRTY_GENERATED_C_FILES back in that variable since checkapi is no longer run on it.
svn path=/trunk/; revision=35069
2010-11-29 20:53:22 +00:00
Jeff Morriss 6dc182c9d9 Remove DIRTY_GENERATED_C_FILES from WIRESHARK_GTK_SRC so we don't run checkapi on it. Also remove capture_if_details_dlg_win32.c from the checkapi list since it's in WIRESHARK_GTK_SRC (which is in the list of files checkapi is run against).
svn path=/trunk/; revision=35067
2010-11-29 20:37:24 +00:00
Jeff Morriss 564e85b8fe Remove file_dlg_win32.c and print_win32.c from the checkapi target.
svn path=/trunk/; revision=35066
2010-11-29 20:09:09 +00:00
Jeff Morriss 9f8a83e19c Add DIRTY_GENERATED_C_FILES to GENERATED_FILES (so they get cleaned up by distclean).
svn path=/trunk/; revision=35065
2010-11-29 20:07:43 +00:00
Martin Mathieson 4f5e11eaca Allow DCT error strings containing given subsets to be filtered upon.
svn path=/trunk/; revision=35059
2010-11-29 12:09:18 +00:00
Jörg Mayer 4ee8c642d6 u3.c has moved.
svn path=/trunk/; revision=35057
2010-11-28 21:44:06 +00:00
Guy Harris 9ff6526256 Partially clean up white space.
svn path=/trunk/; revision=35049
2010-11-28 00:53:23 +00:00
Guy Harris 49ddccb45b Clean up white space.
svn path=/trunk/; revision=35048
2010-11-28 00:41:47 +00:00
Stephen Fisher eda0f472c9 Move u3 code to top-level directory since it's not GTK specific
svn path=/trunk/; revision=35046
2010-11-28 00:15:21 +00:00
Guy Harris 46356d715c Don't report an error twice.
svn path=/trunk/; revision=35045
2010-11-28 00:13:38 +00:00
Guy Harris 186ce16c52 Add GCC-style printf annotation to the routines that now take a format
string and format arguments, and fix issues warned about by that.

svn path=/trunk/; revision=35044
2010-11-28 00:02:39 +00:00
Guy Harris 1a4a8ff9c3 Clean up white space.
svn path=/trunk/; revision=35043
2010-11-28 00:00:58 +00:00
Guy Harris 002a1b75fa Make some other statusbar routines take a format string and format args,
and get rid of an unnecessary string pointer.

Make the argument to welcome_header_push_msg() a const pointer.

svn path=/trunk/; revision=35042
2010-11-27 23:06:14 +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
Stephen Fisher 049e9e39e8 Fix the rest of the include paths after the move of native win32 code to win32 and out of the gtk directory in r35032
svn path=/trunk/; revision=35034
2010-11-26 20:57:46 +00:00
Stephen Fisher 587bd2724f Move native Win32 code to its own directory and out of gtk directory (hopefully without breaking any builds)
svn path=/trunk/; revision=35032
2010-11-26 19:16:06 +00:00
Anders Broman d65eab20bc Update comments to point to the previous commit to enhance traceabillity.
svn path=/trunk/; revision=35028
2010-11-25 15:21:24 +00:00
Anders Broman 9e277ae615 Remove threading of tap update.
See http://www.wireshark.org/lists/wireshark-dev/200611/msg00199.html

svn path=/trunk/; revision=35027
2010-11-25 13:56:29 +00:00
Jaap Keuter bc3b5e96a9 Create proper Help reference.
svn path=/trunk/; revision=35026
2010-11-25 07:01:39 +00:00
Jaap Keuter cd7c2e0241 Try to fix dummy header settings alignment.
svn path=/trunk/; revision=35019
2010-11-24 08:41:22 +00:00
Bill Meier 613efa359b Remove print_update_dynamic() decl from file_dlg_win32.h since only used in [...].c
svn path=/trunk/; revision=35008
2010-11-22 19:45:03 +00:00
Anders Broman 98fba4de6f From Jakub Zawadzki via Alexander Koeppe.
Improvement of checking available length highlighting byteview data.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5383

svn path=/trunk/; revision=34989
2010-11-21 10:41:01 +00:00
Sake Blok 831f5777b6 Repair copy (summary and as filter) functionality in the packet-list context menu. It got broken in the bulk of work required to move to the UImanager.
svn path=/trunk/; revision=34984
2010-11-20 14:55:02 +00:00
Anders Broman 2f0ee70e27 Remove comments used when editing.
svn path=/trunk/; revision=34975
2010-11-19 16:34:51 +00:00
Anders Broman 023fb81cbc [UImanager]Add missing GO to frame, and copy paste errors.
svn path=/trunk/; revision=34945
2010-11-18 15:57:12 +00:00
Chris Maynard 1e2ae5a88a Quote all fields when exporting to CSV. Fixes bug 2811.
svn path=/trunk/; revision=34920
2010-11-17 03:29:12 +00:00
Jeff Morriss d63f2559da Split libui into libui and libui_dirty. The latter contains (only)
text_import_scanner.c (which is generated and not by us so we can't guarantee
that it's clean).

svn path=/trunk/; revision=34912
2010-11-16 20:13:26 +00:00
Anders Broman 4323fa647d Try to clean up the makefile a bit.
svn path=/trunk/; revision=34898
2010-11-16 09:15:15 +00:00
Jaap Keuter 8921865a93 Accomodate older flex versions.
Make scanner compilation more environment agnostic.

svn path=/trunk/; revision=34897
2010-11-16 06:46:12 +00:00
Jörg Mayer 3f62247f78 Another unused function with MAIN_MENU_USE_UIMANAGER
svn path=/trunk/; revision=34895
2010-11-16 00:18:54 +00:00
Jörg Mayer a7f7ada049 cmake stuff:
- Fix fallout from gtk/text_import_scanner.l patch: Wireshark will
  build with cmake again.
- Update README.cmake a bit
- Running "cmake -DUI_MANAGER=ON" will give you the new ui-manager.


svn path=/trunk/; revision=34885
2010-11-15 20:25:28 +00:00
Anders Broman cc8992668c Try to fix the build for text_import_scanner.
Please check if the compile flags are OK...
3:d time lucky ?

svn path=/trunk/; revision=34862
2010-11-13 16:47:57 +00:00
Anders Broman 702a76a99b Try to fix the build for text_import_scanner.
Please check if the compile flags are OK...

svn path=/trunk/; revision=34861
2010-11-13 16:24:14 +00:00
Martin Mathieson 005248a051 Add newline at end of file.
svn path=/trunk/; revision=34860
2010-11-13 16:04:00 +00:00
Anders Broman 06d94db99f Try to fix the build for text_import_scanner,
not sure if it's correct but now it builds text_import_scanner.c
but still fails with:

c:\wireshark\gtk\text_import.h(34) : fatal error C1083: Cannot open include file
: 'glib.h': No such file or directory
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\x86_amd64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\nmake.exe"' : return code '0x2'
Stop.

svn path=/trunk/; revision=34858
2010-11-13 14:47:53 +00:00
Jaap Keuter 2e614f1143 Get the build going again from the source distribution, with text import.
svn path=/trunk/; revision=34857
2010-11-13 11:35:21 +00:00
Jaap Keuter 296e43c3eb Add text import capability, like text2pcap, directly into the GUI.
svn path=/trunk/; revision=34856
2010-11-12 22:20:12 +00:00
Martin Mathieson fb0b4efe07 Fix a column typo, and give them different menu accelerator keys.
svn path=/trunk/; revision=34851
2010-11-12 16:14:09 +00:00
Michael Tüxen c85a470dec Bugfix from Irene Ruengeler to improve the TSN plot for SCTP
when large gap reports are present.
 

svn path=/trunk/; revision=34823
2010-11-09 16:29:15 +00:00
Stig Bjørlykke 612aef89c6 Added check for valid finfo->ds_tvb in packet_hex_print(), as we do not
always have finfo->ds_tvb.

This bug was introdused in revision 34796.

svn path=/trunk/; revision=34821
2010-11-09 12:31:50 +00:00
Bill Meier c17c9fff87 Use value_string_ext fcns to access certain value_string arrays;
Sort a few value_string arrays to be in ascending order by value;
Do minor reformatting and whitespace cleanup.

svn path=/trunk/; revision=34813
2010-11-08 21:59:39 +00:00
Chris Maynard c8a1ba4c68 Make maxlen a gsize instead of a guint.
svn path=/trunk/; revision=34808
2010-11-08 17:53:13 +00:00
Chris Maynard 803910c1aa Allow objects to be saved that otherwise couldn't be due to invalid characters
in the filename, excessive filename lengths or duplicate filenames.  Fixes
bug 1671.

svn path=/trunk/; revision=34805
2010-11-08 16:53:11 +00:00
Anders Broman cab0cef11d Use value_string_ext for RTP payload types.
svn path=/trunk/; revision=34804
2010-11-08 14:43:59 +00:00
Anders Broman d7c6139d76 From Alexander Koeppe:
Patch that fixes overflowing highlighting of data.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5374

svn path=/trunk/; revision=34796
2010-11-06 15:25:34 +00:00
Bill Meier b78ec52693 Use value_string_ext fcns to access certain value_string arrays;
Sort certain value_string arrays so the values are in ascending order;
Use val_to_str_ext() instead of for loops to do value_string array lookups (voip_calls.c).
Minor whitespace cleanup.

svn path=/trunk/; revision=34794
2010-11-05 22:44:03 +00:00
Stig Bjørlykke bb4acb8fe3 Corrected an if-statement in field_select_row_cb() where checking for
hfinfo->strings and hfinfo->display.

This bug was found by clang.

svn path=/trunk/; revision=34785
2010-11-05 08:10:40 +00:00
Anders Broman 8dda79ed20 From Alexander Koeppe:
Window Scaling Graph - Fix display of x-axis in long-lasting captures
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5341

svn path=/trunk/; revision=34782
2010-11-05 07:03:40 +00:00
Stig Bjørlykke b1e1dcb54b Support empty column titles.
svn path=/trunk/; revision=34777
2010-11-04 11:37:06 +00:00
Jaap Keuter 562eb76905 From Alexis La Goutte:
Replace all *_min()/*_max() by MIN() and MAX().

svn path=/trunk/; revision=34769
2010-11-04 06:37:26 +00:00
Bill Meier 0ca948bacf Use value_string_ext fcns to access certain value_string arrays;
Some whitespace cleanup.

svn path=/trunk/; revision=34763
2010-11-03 18:28:35 +00:00
Chris Maynard 21f998ddf3 Use g_utf16_toutf8() instead of utf_16to8() to avoid the last display filter
applied from being overwritten.  Fixes bug 3894.  Also, combined the open and
merge filters into one, so we have a single most recently used filter.

svn path=/trunk/; revision=34759
2010-11-03 14:45:17 +00:00
Anders Broman 780907f9c5 (GTKUImanger)
- make the accelerators work.

svn path=/trunk/; revision=34751
2010-11-02 12:03:06 +00:00
Stig Bjørlykke b3cdd16146 Use more descriptive names for capture filter and display filter icons.
They are displayed in the toolbar dropdown when the window is too narrow.

svn path=/trunk/; revision=34741
2010-11-01 10:29:07 +00:00
Stig Bjørlykke f24037c964 Added a icon for "Edit Column Details".
svn path=/trunk/; revision=34724
2010-10-30 18:08:08 +00:00
Stig Bjørlykke c0ea7f05bf Redissect packets instead of reload file on UAT changes.
This way we can do changes while capturing.

svn path=/trunk/; revision=34709
2010-10-30 11:43:11 +00:00
Jeff Morriss 3b34edd421 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4768 :
Return an error if the user specifies a value in a range in excess of the
range-specified maximum.

Except when reading in preferences files which might have ranges that exceed
the maximum (because we didn't use to check): in that case silently lower the
out-of-range values.

svn path=/trunk/; revision=34703
2010-10-29 23:30:36 +00:00
Guy Harris 17d4d51b7d Make the third argument to a UAT copy callback a size_t (not that any of
the callbacks we have use that argument - is it really needed?).

svn path=/trunk/; revision=34694
2010-10-29 21:11:33 +00:00
Stig Bjørlykke 04b977c4e6 Added a cast from size_t to unsigned int.
svn path=/trunk/; revision=34693
2010-10-29 20:54:08 +00:00
Bill Meier f543357d14 Use value_string_ext fcns to access certain value_string arrays.
svn path=/trunk/; revision=34692
2010-10-29 20:22:02 +00:00
Stig Bjørlykke fd52258052 Added a Copy button in UAT dialogs.
Fixed setting sensitivity when having a selected row.

svn path=/trunk/; revision=34691
2010-10-29 19:48:51 +00:00
Stig Bjørlykke e111567e7e Calculate correct io->start_time.
This fixes bug 5340.

svn path=/trunk/; revision=34661
2010-10-27 07:45:31 +00:00
Anders Broman aaa7068302 #if 0 "Work in progress" code
svn path=/trunk/; revision=34638
2010-10-24 18:08:07 +00:00
Anders Broman a1e0507a63 Fix "More unused warnings in new menu code" based on code from Jörg Mayer.
svn path=/trunk/; revision=34636
2010-10-24 16:14:01 +00:00
Stig Bjørlykke 2cedc69849 Fixed "Compiled with" information in the About box.
svn path=/trunk/; revision=34601
2010-10-21 07:13:43 +00:00
Martin Mathieson 3dbfdb13cc Fix problem with creating filter expressions (where stats window is limited by existing filter).
svn path=/trunk/; revision=34567
2010-10-19 09:19:53 +00:00
Anders Broman 9ebba15246 (GUIManager) Make opening a recent file work from the recent files menu.
svn path=/trunk/; revision=34562
2010-10-18 19:19:27 +00:00
Anders Broman bcd5ed10c3 (GTKUImanger)
- Make Open file from the welocme screen work again.

svn path=/trunk/; revision=34556
2010-10-18 15:40:51 +00:00
Bill Meier 15851701e8 Rework "extended value strings":
- Allow direct access when a range of values begins with a value other than 0;
- Provide value_string_ext_new() for creating extended value strings at runtime;
- Do access to value_string_ext members via a macro (all but value_string.c);
- Update documentation.

svn path=/trunk/; revision=34514
2010-10-14 17:50:35 +00:00
Guy Harris 9ccf7e431e Make variables used only in file_dlg_win32.c static.
svn path=/trunk/; revision=34512
2010-10-14 09:01:12 +00:00
Guy Harris 55bc235b90 Make routines unused outside file_dlg_win32.c static.
svn path=/trunk/; revision=34511
2010-10-14 08:59:35 +00:00
Anders Broman 01a9d015d5 From Jörg Mayer:
(UIManger) Fix compilation warnings.

svn path=/trunk/; revision=34502
2010-10-13 19:04:14 +00:00
Anders Broman d1de327057 (GTKUImanger)
- Open file from the welocme screen.

svn path=/trunk/; revision=34498
2010-10-13 15:52:10 +00:00
Anders Broman 19e1998c2c (GTKUImanger)
- Make use of the new WIRESHARK_FILE_STOCK icon.
- Make clearing of recent files work.
- Make the recent file list in the Welcome menu work again.

svn path=/trunk/; revision=34497
2010-10-13 11:22:23 +00:00
Anders Broman 5bfb661d23 Add a wireshark file stock icon.
svn path=/trunk/; revision=34496
2010-10-13 11:15:11 +00:00
Anders Broman fde95120d2 Try to get the build going again.
svn path=/trunk/; revision=34495
2010-10-13 04:29:07 +00:00
Anders Broman ebb3a7f694 (GUIManager) Base code to get recent files to work with GUIManager.
Based on code from http://people.gnome.org/~ebassi/recent-uimanager-inline.c by Emmanuele Bassi.

svn path=/trunk/; revision=34493
2010-10-12 21:33:08 +00:00
Bill Meier 2e4f755e13 Define some vars & fcns as static;
Also: do some minor reformmating and cleanup of whitespace.

svn path=/trunk/; revision=34492
2010-10-12 19:26:07 +00:00
Bill Meier 2b0f6a63f1 Define some fcns & vars as static;
Rename g_capture_in_progress to gbl_capture_in_progress (capture_if_dlg.c)
Do some whitespace cleanup.

svn path=/trunk/; revision=34490
2010-10-12 17:39:44 +00:00
Bill Meier 2d3abb5cec Minor cleanup of the global name space:
- Define some vars as static;
- Rename some externs to be less generic;
Also: cleanup some whitespace.

svn path=/trunk/; revision=34489
2010-10-12 16:42:02 +00:00
Bill Meier c004d57361 Minor cleanup of the global namespace:
- Define some fcns and vars as static;
- Use less generic names for certain externs;
Also: Remove some usused #defines & cleanup some whitespace


svn path=/trunk/; revision=34488
2010-10-12 16:05:19 +00:00
Bill Meier c78221d4ce Rename g_resolv_flags --> gbl_resolv_flags; Also: cleanup some whitespace & indentation.
svn path=/trunk/; revision=34487
2010-10-12 13:15:08 +00:00
Anders Broman 6e31c8c406 It's no longer neccesarry to set the E_DFILTER_TE_KEY on the popup_menu objects.
svn path=/trunk/; revision=34486
2010-10-12 07:41:18 +00:00
Guy Harris 3c27b97c26 Get rid of C++-style comments; use #if 0/#endif to remove code.
svn path=/trunk/; revision=34485
2010-10-12 01:27:58 +00:00
Anders Broman 24d4eda023 menus.c: In function 'add_menu_recent_capture_file_absolute':
menus.c:4583: warning: unused variable 'recent_files_list'

svn path=/trunk/; revision=34479
2010-10-11 20:05:49 +00:00
Anders Broman eb007bae23 Get filter_te from top_level rather then from the widget.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5288

svn path=/trunk/; revision=34478
2010-10-11 19:29:52 +00:00
Stig Bjørlykke 32da2562b8 We set sensitivity on the map button in ct_nb_map_switch_page_cb().
svn path=/trunk/; revision=34469
2010-10-11 08:29:25 +00:00
Stig Bjørlykke ce8e4aa47c Don't add a border around the main window, this looks bad in the new
Ubuntu release.

svn path=/trunk/; revision=34468
2010-10-11 08:28:38 +00:00
Bill Meier 09d718f723 Rename vals_status & vals_pdu_type to wsp_vals_status & wsp_vals_pdu_type
svn path=/trunk/; revision=34463
2010-10-10 20:45:19 +00:00
Guy Harris 708e2d905b Fix build.
svn path=/trunk/; revision=34456
2010-10-10 19:42:30 +00:00
Anders Broman 45371fce82 - Fix more callbacks.
When using the GUImanager the callback signature is (GtkAction *action , gpointer user_data) which causes problems when retreiveing
object data stored with the widget such as the filter box widget.

Work around that problem by doing
	filter_cm = g_object_get_data(G_OBJECT(top_level), E_DFILTER_CM_KEY);
	filter_te = gtk_bin_get_child(GTK_BIN(filter_cm));
in the follow_udp/tcp/ssl_stream.

svn path=/trunk/; revision=34455
2010-10-10 19:33:42 +00:00
Guy Harris f9371b0e0b It's now "change column", not just "rename column"; fix build.
Clean up indentation.

svn path=/trunk/; revision=34454
2010-10-10 19:05:04 +00:00
Anders Broman dc03d627d7 Fix up a number of callbacks.
Bug: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5288
requires abit of reworking of the callbacks or a different aproach to setting object data.

svn path=/trunk/; revision=34453
2010-10-10 18:10:33 +00:00
Stig Bjørlykke 7bb2c88475 Fix menu entry.
svn path=/trunk/; revision=34447
2010-10-09 18:41:46 +00:00
Stig Bjørlykke 2ed80dc7ba Fix menu entries.
svn path=/trunk/; revision=34446
2010-10-09 18:38:25 +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 20cdf3194c From Alexander Koeppe via bug 5287:
Correct order of Window Scaling Graph in Graph control box.

svn path=/trunk/; revision=34443
2010-10-09 11:37:57 +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
Anders Broman 0135435c0f Get rid of an GUI artifact if the recent list is empty.
svn path=/trunk/; revision=34431
2010-10-08 06:05:06 +00:00
Guy Harris a9e7cb04cc Make some routines unused outside gtk/menus.c static.
svn path=/trunk/; revision=34430
2010-10-08 03:09:15 +00:00
Guy Harris e6894e3175 Fix a routine name - that menu item has nothing to do with colorization.
svn path=/trunk/; revision=34429
2010-10-08 03:00:54 +00:00
Guy Harris cf6b73afed Clean up white space.
set_menu_object_data_meat_old() is only used with main_menu_factory;
simplify it.

Add some comments to #else's and #endif's.

svn path=/trunk/; revision=34428
2010-10-08 02:38:47 +00:00
Guy Harris 186ad7c299 set_menu_sensitivity_old() is now only used for the main menu; simplify
it accordingly.

svn path=/trunk/; revision=34427
2010-10-08 02:17:37 +00:00
Guy Harris d4c3cbea6d Move a comment next to the only item to which it now refers.
svn path=/trunk/; revision=34425
2010-10-08 01:38:12 +00:00
Guy Harris 1e2d185461 Clean up white space.
svn path=/trunk/; revision=34423
2010-10-08 01:31:47 +00:00
Guy Harris bb5e9d6d01 Move menu_items[] inside the #ifdef MAIN_MENU_USE_UIMANAGER/#else/#endif
that has the main menu stuff for when we *are* using GTKUIManager.

svn path=/trunk/; revision=34422
2010-10-08 01:22:54 +00:00
Guy Harris 832f622237 Use #error to cause the build to fail for un-implemented stuff (such as
"GTKUIManager with the old packet list").

Replicate the "don't do silly stuff such as using Control+A for anything
other than Select All" comment near the place where the main menu is
defined if we're using GTKUIManager.

svn path=/trunk/; revision=34419
2010-10-08 00:33:38 +00:00
Anders Broman a7c4d6ea06 Reinsert #ifdef's removed by mistake.
svn path=/trunk/; revision=34404
2010-10-07 15:58:10 +00:00
Anders Broman 914a6d47d7 Remove #ifdef'ed code for MENUS_USE_UIMANAGER.
svn path=/trunk/; revision=34403
2010-10-07 15:23:45 +00:00
Martin Mathieson 62e6b6aceb Add more CRC failure codes.
svn path=/trunk/; revision=34401
2010-10-07 14:44:00 +00:00
Anders Broman 3e39a7382f From Alexander Koeppe:
New TCP Graph - Window Scaling.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5276

svn path=/trunk/; revision=34393
2010-10-06 05:48:01 +00:00
Jeff Morriss 5af01ed393 Add (a copy of) glib's g_strv_length() if we have glib < 2.6
svn path=/trunk/; revision=34380
2010-10-05 13:28:57 +00:00
Stig Bjørlykke fb0621683d Split some texts on the welcome page to make "Interface List" and
"Capture Help" smaller to make room for longer filenames in the
Open Recent list.

svn path=/trunk/; revision=34379
2010-10-05 06:59:11 +00:00
Stig Bjørlykke 738c0ace24 From Jose Pico via bug 5272:
Export Object SMB functionality fixes.

svn path=/trunk/; revision=34365
2010-10-04 12:19:58 +00:00
Anders Broman 5ecf33cbc6 (GUIManager)set time display format(makes file load work again).
svn path=/trunk/; revision=34364
2010-10-04 11:21:01 +00:00
Stig Bjørlykke ac7c3787b5 Explain BPF in the tooltips for "Compile BPF".
svn path=/trunk/; revision=34363
2010-10-04 11:04:13 +00:00
Anders Broman e66c219596 (GUIManager)set_menu_sensitivity_old not used when MENUS_USE_UIMANAGER defined.
svn path=/trunk/; revision=34361
2010-10-04 10:36:38 +00:00
Stig Bjørlykke 6e5dea0171 Added some defines to make it compile with MAIN_MENU_USE_UIMANAGER.
svn path=/trunk/; revision=34360
2010-10-04 08:43:15 +00:00
Anders Broman c7bce2e142 Mark unused parameters as unused.
svn path=/trunk/; revision=34359
2010-10-04 08:01:55 +00:00
Sake Blok d2ea494622 Add a cast to make the OSX-PPC buildbot happy.
Removed debugging commenting-out that slipped through...


svn path=/trunk/; revision=34353
2010-10-03 19:28:05 +00:00
Anders Broman ff72f80ecd [GTKUImanagerFix a typo and a callback.
svn path=/trunk/; revision=34352
2010-10-03 19:11:10 +00:00
Anders Broman 425ead9128 [GTKUImanager]Fix Help callbacks.
svn path=/trunk/; revision=34349
2010-10-03 17:37:43 +00:00
Stig Bjørlykke 0cb22a7c23 Added a missing separator.
svn path=/trunk/; revision=34347
2010-10-03 16:37:58 +00:00
Stig Bjørlykke 0ca8c586d3 Use UTF8_HORIZONTAL_ELLIPSIS instead of "..." in menus.
svn path=/trunk/; revision=34346
2010-10-03 16:09:25 +00:00
Stig Bjørlykke 25d8d91add Use correct text for "Not Selected".
svn path=/trunk/; revision=34344
2010-10-03 15:26:03 +00:00
Stig Bjørlykke e07ef26e9a Add the missing "... or not Selected".
svn path=/trunk/; revision=34343
2010-10-03 15:22:16 +00:00
Stig Bjørlykke 229df68593 Use correct text for "Not Selected".
svn path=/trunk/; revision=34342
2010-10-03 15:10:29 +00:00