Commit Graph

5013 Commits

Author SHA1 Message Date
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