Bill Meier
ac06ea0517
find_dlg: handler_id returned from g_signal_connect is gulong (not int)
...
svn path=/trunk/; revision=28189
2009-04-28 03:00:40 +00:00
Bill Meier
9428d8a7d0
follow_stream: Oops: revert making functions static.
...
svn path=/trunk/; revision=28178
2009-04-27 14:56:07 +00:00
Bill Meier
37a45966a9
follow_stream: Don't load follow text twice when initially building the window;
...
Also: Define various internal functions as static;
svn path=/trunk/; revision=28177
2009-04-27 14:39:10 +00:00
Stig Bjørlykke
0d40f4c4ee
From Artem Tamazov (bug 3436):
...
Initialize some pointers.
svn path=/trunk/; revision=28147
2009-04-24 16:51:38 +00:00
Guy Harris
043b2b20ac
More float-constant-not-double-constant fixes.
...
svn path=/trunk/; revision=28116
2009-04-22 00:49:00 +00:00
Gerald Combs
7573d2215f
From Artem Tamazov: Fix compilation for Visual C++ 7.1.
...
svn path=/trunk/; revision=28110
2009-04-21 21:15:52 +00:00
Guy Harris
54c159cb41
Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
...
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats). Hopefully this will catch at least
some P64 issues on UN*X.
svn path=/trunk/; revision=28108
2009-04-21 16:57:52 +00:00
Martin Mathieson
9efe4d12f1
Also show number of RAR bodies/entries in stats.
...
svn path=/trunk/; revision=28104
2009-04-21 12:35:50 +00:00
Gerald Combs
28276f43d0
Try to get Visual C++ 6.0 builds working again.
...
svn path=/trunk/; revision=28078
2009-04-17 18:19:10 +00:00
Bill Meier
bec77516a2
file_dlg_win32.c: A fix for VC6 compilation.
...
svn path=/trunk/; revision=28075
2009-04-17 15:56:53 +00:00
Martin Mathieson
c5db90ba60
Show RARs. For now show frame count in common channel section, although it may be possible to associate RAR bodies with UEs if the context info is available...
...
svn path=/trunk/; revision=28073
2009-04-17 13:27:25 +00:00
Gerald Combs
c0ebf76780
Fix (and likely re-break) the Windows builds:
...
- Use the latest WinPcap Developer's Pack.
- In file_dlg_win32.c, try to fix Visual C++ 6.0 compilation.
- #if 0 out a bunch of definitions in capture_if_details_dlg_win32.c
that already exist in Ntddndis.h.
svn path=/trunk/; revision=28067
2009-04-16 18:14:38 +00:00
Gerald Combs
605ef095f9
Fix the last of the Win64 problems in the gtk directory.
...
svn path=/trunk/; revision=28063
2009-04-16 03:18:10 +00:00
Gerald Combs
1582e052a1
More Win64 fixes.
...
svn path=/trunk/; revision=28062
2009-04-16 00:45:26 +00:00
Gerald Combs
36e002f7e8
Check for _WIN64 instead of _NTDDNDIS_.
...
svn path=/trunk/; revision=28061
2009-04-15 23:47:46 +00:00
Gerald Combs
0036e670d4
In capture_if_details_dlg_win32.c, don't define a bunch of stuff if
...
_NTDDNDIS_ is defined. In file_dlg_win32.c, use GetWindowLongPtr()
instead of GetWindowLong().
svn path=/trunk/; revision=28060
2009-04-15 23:23:21 +00:00
Gerald Combs
9c9db36825
size_t fixes.
...
svn path=/trunk/; revision=28059
2009-04-15 21:35:51 +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
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
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
f7bcdea0e5
gtk_widget_ref() --> g_object_ref()
...
svn path=/trunk/; revision=28027
2009-04-10 14:10:49 +00:00
Bill Meier
0528b8a243
Use consistent indentation.
...
svn path=/trunk/; revision=28021
2009-04-09 13:07:05 +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
Bill Meier
daa18e33fc
Use consistent indentation
...
svn path=/trunk/; revision=28009
2009-04-08 19:47:09 +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
Bill Meier
62f9c749c2
(Trivial): fix a typo
...
svn path=/trunk/; revision=27865
2009-03-27 14:47:49 +00:00
Jeff Morriss
8ca1535f3e
Move iax2_analysis.c from WIRESHARK_GTK_SRC to WIRESHARK_TAP_SRC
...
svn path=/trunk/; revision=27849
2009-03-26 13:30:58 +00:00
Martin Mathieson
b9449d68d9
Show number of UEs in label above table.
...
svn path=/trunk/; revision=27846
2009-03-25 15:36:23 +00:00
Martin Mathieson
d1fec1b985
Only report CRC Status when we know it to be valid.
...
svn path=/trunk/; revision=27841
2009-03-24 17:28:30 +00:00
Martin Mathieson
f474eaedd8
Add CRC error flag to frames, and show in stats window.
...
svn path=/trunk/; revision=27837
2009-03-23 22:16:25 +00:00
Anders Broman
45799ebc34
Get rid of another Clist.
...
svn path=/trunk/; revision=27834
2009-03-23 17:33:20 +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
27024a1d5a
As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a numeric constant in various places;
...
svn path=/trunk/; revision=27800
2009-03-19 17:49:11 +00:00
Bill Meier
fa9e9a5e33
-As suggested by Jakub Zawadzki: use sizeof(...) rather than a numeric constant in various places;
...
Also:
- Change indentation to be consistent;
svn path=/trunk/; revision=27799
2009-03-19 17:47:00 +00:00
Bill Meier
e63e93b27e
-As suggested by Jakub Zawadzki: use sizeof(...) rather than a numeric constant in various places;
...
Also:
- Change ct_port_to_str to be slightly simpler and more efficient;
- Change indentation to be consistent;
svn path=/trunk/; revision=27798
2009-03-19 17:44:57 +00:00
Martin Mathieson
5433caadbe
Use retx info in stats window.
...
User guide help not added yet, as having trouble building...
svn path=/trunk/; revision=27776
2009-03-18 16:21:45 +00:00
Bill Meier
460957c687
From Jakub Zawadzki: g_gnprintf & etc: Use size of buffer [not size -1];
...
From me:
- As suggested by Jakub actually use sizeof(...) rather than a numeric constant
in various places;
- Use #if 0 rather than /* */ to comment out code;
- Fix indentation to be consistent.
svn path=/trunk/; revision=27773
2009-03-18 15:25:19 +00:00
Bill Meier
4f34bb9b15
From Jakub Zawadzki: g_gnprintf & etc: Use size of buffer [not size -1];
...
- As suggested actually use sizeof(...) rather than a numeric constant.
- g_snprintf() and g_vsnprintf() since glib 1.3.12 do not return -1.
svn path=/trunk/; revision=27772
2009-03-18 15:03:46 +00:00
Bill Meier
734ec176e1
From Jakub Zawadzki: Use size of buffer [not size -1];
...
Also: as suggested actually use sizeof() rather than a constant.
From me:
-Rework hostlist_port_to_str slightly to be simpler and
more efficient;
-Fix indentation to be consistent.
svn path=/trunk/; revision=27771
2009-03-18 14:44:15 +00:00
Guy Harris
5ccab9cbcb
Clean up indentation.
...
Cast the num_msus and num_bytes values to double before dividing them by
the appropriate divisor, to make sure the division is done in floating
point; that's only necessary in one case (when dividing by an integer),
but we do it in all cases for regularity.
g_strdup_printf() g_mallocs the string; use g_strdup() for the
zero-divisor case, so that the string is g_mallocated in all cases.
Note in a comment that they need to be freed.
Make the array to which the strings in question are allocated arrays of
"char *" rather than "const char *", to catch cases where a constant
string is assigned to them.
svn path=/trunk/; revision=27760
2009-03-17 19:37:10 +00:00
Anders Broman
7a9ca393fb
Get rid of another Clist.
...
svn path=/trunk/; revision=27757
2009-03-17 18:36:00 +00:00
Anders Broman
5a7b5889f6
Commited by mistake, reverting.
...
svn path=/trunk/; revision=27752
2009-03-17 05:56:59 +00:00
Guy Harris
adfaba2cb4
Fix syntax error.
...
svn path=/trunk/; revision=27747
2009-03-16 21:17:53 +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