Commit Graph

27205 Commits

Author SHA1 Message Date
Bill Meier bee5d93ed9 packet_sccp.c: Init an uninit'd variable which was the cause of intermittent crashes.
Fixes Bug #3409 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3409)

svn path=/trunk/; revision=28058
2009-04-15 20:01:45 +00:00
Gerald Combs 89fc73b081 Fix the Buildbot.
svn path=/trunk/; revision=28057
2009-04-15 18:14:34 +00:00
Gerald Combs beede77106 Associate .pcapng files with Wireshark.
svn path=/trunk/; revision=28056
2009-04-15 18:10:30 +00:00
Gerald Combs d2949c461c Try to fix bug 3279 (initialize a time_t to a sane value).
svn path=/trunk/; revision=28055
2009-04-15 16:02:35 +00:00
Martin Mathieson efbf22009e Dissect more than one Via entry if found in a single line.
Fixes bug 3406.

svn path=/trunk/; revision=28054
2009-04-15 13:10:55 +00:00
Bill Meier 576e5ae0a5 packet-rlc-lte.c: keep vc6 happy: use gboolean instead of guint8 in several places.
svn path=/trunk/; revision=28053
2009-04-15 02:28:55 +00:00
Bill Meier 871c9c7152 ep_strbuf usage: ep_strbuf_new_label("") --> ep_strbuf_new_label(NULL);
ep_strbuf_append() --> ep_strbuf_append_c() in a few cases.

svn path=/trunk/; revision=28052
2009-04-14 18:31:02 +00:00
Bill Meier 14980f1592 checkAPIs: Add additional GLib deprecated functions;
Update comments.

svn path=/trunk/; revision=28051
2009-04-14 18:22:43 +00:00
Anders Broman d225d4821f guint8 -> guint16
svn path=/trunk/; revision=28050
2009-04-14 18:14:24 +00:00
Anders Broman 43b00c00f5 Dissect PDN address, fix typos.
svn path=/trunk/; revision=28049
2009-04-14 18:11:41 +00:00
Anders Broman e5d6ac8615 Use G_GINT64_CONSTANT in stead of G_GUINT4_CONSTANT
svn path=/trunk/; revision=28048
2009-04-14 18:10:45 +00:00
Gerald Combs c3befe3a37 From Jakub Zawadzki: Fix a logic error.
svn path=/trunk/; revision=28047
2009-04-14 17:52:22 +00:00
Sake Blok 1aa850f274 Add a note for -z io,stat,<interval>,<filter>,<filter>,... to use "." as
a decimal separator, as the "," will make the command fail.

(of course it would be nice to have this fixed, but for now, it at least
informs the user how to work around the issue)



svn path=/trunk/; revision=28046
2009-04-14 16:38:08 +00:00
Martin Mathieson 9c0555d110 Begin to do some per-channel sequence analysis (so far, only for UM).
svn path=/trunk/; revision=28045
2009-04-14 14:38:20 +00:00
Bill Meier fdda6e8778 ep_strbuf: fix some bugs and additional changes
-Bugs
  * str->len not set correctly in some cases;
  * trailing '\0' not always accounted for;
  * (issues relating to determining when & how much 
     to expand string buffer).
-Other
  * Change append, append_c, truncate to return 
    pointer to ep_strbuf (similar to the corresponding
    GString functions);
  * Rename certain variables to clarify usage (as I understand
    the intended usage);
  * ep_strbuf_grow: use current allocated length and not current
    string length as the starting point;
  * Optimizations;
  * Add some additional comments to emem.h ep_strbuf section

  * Use consistent indentation throughout emem.c;

svn path=/trunk/; revision=28044
2009-04-14 14:08:19 +00:00
Tomas Kukosa b555f92211 do not report encoding error for sequence extension with length 0
highlight one byte also for NULL type

svn path=/trunk/; revision=28043
2009-04-14 07:38:02 +00:00
Tomas Kukosa 3d8d91d80c support UINT64 constants for upper value bounds
svn path=/trunk/; revision=28042
2009-04-14 07:34:56 +00:00
Guy Harris e99e0bc9bb Section 11 of RFC 3550, "RTP over Network and Transport Protocols",
speaks only of destination ports; in the heuristic dissectors, don't
check whether the source port is even or odd.

The total length of an RTCP packet is in tvb_reported_length(), not
tvb_length() - the latter includes only the actual captured data, which
might be cut short by a snapshot length.

svn path=/trunk/; revision=28041
2009-04-13 22:37:35 +00:00
Anders Broman a02bbff000 Add XiMeta Technology's ethertype.
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3392)

svn path=/trunk/; revision=28040
2009-04-13 18:32:24 +00:00
Anders Broman 4dd4f565ce From Abhik Sarkar:
Diameter SRT stats - split by command
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3403

svn path=/trunk/; revision=28039
2009-04-13 18:14:25 +00:00
Anders Broman d457cf380f Try to please the build bot, fix indentation.
svn path=/trunk/; revision=28038
2009-04-13 18:09:20 +00:00
Anders Broman 662bf774f9 From Andreas Heise:
add SIP URI PARTS dissection to packet-sip.c
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3399

svn path=/trunk/; revision=28037
2009-04-13 14:31:13 +00:00
Gerald Combs 9f863ce6fa [Automatic manuf and enterprise-numbers update for 2009-04-12]
svn path=/trunk/; revision=28035
2009-04-12 15:03:32 +00:00
Bill Meier b6366d45f3 gtk_label_get() --> gtk_label_get_text() with related code changes;
Also: Fix indentation to be consistent.

svn path=/trunk/; revision=28034
2009-04-11 18:03:11 +00:00
Bill Meier 8fcf19fad5 prefs_dlg: gtk_label_get() --> gtk_label_get_text()
svn path=/trunk/; revision=28033
2009-04-11 15:14:55 +00:00
Anders Broman b686f1fa30 Get rid of gtk_file_selection_new and gtk_file_selection_get_filename.
svn path=/trunk/; revision=28032
2009-04-11 14:47:55 +00:00
Guy Harris 88b214d11e Get the offset of the padding count correct (it has nothing to do with
the amount of captured packet data, so calculating it must not involve
tvb_length_remaining()), and, when processing the padding, count the
padding count octet in the offset, so that the length check is correct.

svn path=/trunk/; revision=28031
2009-04-11 03:56:14 +00:00
Bill Meier 3224dc5d7a Remove unnecessary use of (deprecated) gtk_button_box_set_child_ipadding();
(In each case the arg values used [4,0] were the same as the defaults).
checkAPIs.pl: gtk_button_box_set_child_ipadding: 'W' --> 'E'

svn path=/trunk/; revision=28030
2009-04-10 18:31:01 +00:00
Bill Meier a34a055c17 color filters dialog: Remove use of deprecated gtk_button_box_set_child_size().
Also:
 - Handle buttons in the several vboxes in a consistent manner;
 - Use consistent indentation;
 - Fix some spelling in comments.

svn path=/trunk/; revision=28029
2009-04-10 17:34:30 +00:00
Bill Meier ade9f33ac5 gtk_widget_ref: 'W' --> 'E';
Also: Add GTK 2.16.0 deprecated functions

svn path=/trunk/; revision=28028
2009-04-10 14:12:29 +00:00
Bill Meier f7bcdea0e5 gtk_widget_ref() --> g_object_ref()
svn path=/trunk/; revision=28027
2009-04-10 14:10:49 +00:00
Anders Broman b1b5873c48 Handle PER constrained integer > 32 bits, show more internal PER fields.
svn path=/trunk/; revision=28026
2009-04-10 09:24:10 +00:00
Anders Broman 28b46231f6 Fix a typo.
svn path=/trunk/; revision=28023
2009-04-09 15:32:26 +00:00
Jörg Mayer 4c0e847d8c Starting cleanup in earnest
- get rid of some structure accesses
- use _item functions where possible

svn path=/trunk/; revision=28022
2009-04-09 13:58:20 +00:00
Bill Meier 0528b8a243 Use consistent indentation.
svn path=/trunk/; revision=28021
2009-04-09 13:07:05 +00:00
Bill Meier bd86780397 gtk_set_usize: W --> E;
Change 'usage' to list groups and default groups.

svn path=/trunk/; revision=28020
2009-04-09 13:04:15 +00:00
Bill Meier 08ab843143 Fix two usages of non-ascii characters.
svn path=/trunk/; revision=28019
2009-04-09 12:41:40 +00:00
Anders Broman 90e55db489 From Chris Costa:
Patch for NDMP tape_get_state dissector.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3394

svn path=/trunk/; revision=28018
2009-04-09 05:53:14 +00:00
Anders Broman caa4281da4 gtk_widget_ref() -> g_object_ref()
GTK_SIGNAL_FUNC -> G_CALLBACK()

svn path=/trunk/; revision=28017
2009-04-09 05:51:56 +00:00
Anders Broman 7d3b2bfbbd Small indentation fix.
svn path=/trunk/; revision=28016
2009-04-09 05:51:15 +00:00
Guy Harris a86f743807 Just use g_strdup_printf() to construct a pathname - and use
G_DIR_SEPARATOR_S as the pathname component separator.

svn path=/trunk/; revision=28013
2009-04-08 22:32:44 +00:00
Gerald Combs 50b4a4cd93 Try to make everyone happy about their size_t's.
svn path=/trunk/; revision=28011
2009-04-08 20:18:39 +00:00
Guy Harris de27f3a635 Compare size_t's with size_t's.
svn path=/trunk/; revision=28010
2009-04-08 19:50:15 +00:00
Bill Meier daa18e33fc Use consistent indentation
svn path=/trunk/; revision=28009
2009-04-08 19:47:09 +00:00
Gerald Combs e2cd2bf4f2 Don't assemble asm_utils_win32_x86 on x64. Export a dummy read_keytab_file
if we're not using any encryption libraries on Windows.

This fixes the last Win64 compilation problems in epan.

svn path=/trunk/; revision=28008
2009-04-08 19:15:10 +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
Gerald Combs 1f1ba3d328 size_t -> int.
svn path=/trunk/; revision=28005
2009-04-08 18:24:08 +00:00
Gerald Combs cf2b47c142 More size_t fixes.
svn path=/trunk/; revision=28004
2009-04-08 18:19:10 +00:00
Gerald Combs c86c61602a Add another Flex exception.
svn path=/trunk/; revision=28003
2009-04-08 18:10:32 +00:00
Gerald Combs 15f33eecbf Disable warnings-as-errors for Flex-generated output. Add a couple of gsize
casts.

svn path=/trunk/; revision=28002
2009-04-08 18:08:25 +00:00