Commit graph

3083 commits

Author SHA1 Message Date
Stephen Fisher
94af1b4929 Rest of fix for SVN revision 23487. This change also changes the callback
function for the Save/Save As button as necessary.


svn path=/trunk/; revision=23506
2007-11-20 00:34:16 +00:00
Stephen Fisher
64fe05e583 Fix my last commit (23487) to work with GTK 2.4 - 2.11+. I had accidently
used a GTK 2.12+ function in the last commit.


svn path=/trunk/; revision=23488
2007-11-19 04:37:45 +00:00
Stephen Fisher
854790d061 Fix a problem introduced with the GTK 2.4+ Toolbar API whereby the save/
save as button would disappear (leaving a blank spot on the toolbar) after
starting & stopping a capture session more than once.

This fix gets rid of the second save_as_button when using GTK 2.4+ in favor
of converting the stock id / tooltip text of the save_button to that of
the save as button when necessary and reverting it back to just save when
necessary.


svn path=/trunk/; revision=23487
2007-11-19 04:24:00 +00:00
Stephen Fisher
8a154bcfdd Fix bug #1164 again - this time for GTK1.
svn path=/trunk/; revision=23482
2007-11-18 04:20:14 +00:00
Anders Broman
f6d282b6cd Apply yet another set of the optimization patches:
- Don't call tree_view_select on first button click event, it's already done by the tree widget.
- Factorize slow gtk_text_buffer_insert_with_tags_by_name() calls

svn path=/trunk/; revision=23477
2007-11-17 08:57:20 +00:00
Stig Bjørlykke
ff0346154a Added some parentheses to clarify the gint64 cast.
svn path=/trunk/; revision=23447
2007-11-14 10:15:20 +00:00
Stig Bjørlykke
b4980a48bd From Shiang-Ming Huang:
Removed unnecessary parentheses that make the average packets size 
calculated as an integer instead of a float.

svn path=/trunk/; revision=23446
2007-11-14 09:37:44 +00:00
Stephen Fisher
dc7a454b71 From didier:
Fix for bug #1876: Resizing columns changes the currently-selected packet


svn path=/trunk/; revision=23445
2007-11-14 06:39:58 +00:00
Sake Blok
de5a407bbb Open the coloring rule edit dialog when the coloring rule is
double-clicked.


svn path=/trunk/; revision=23427
2007-11-11 00:59:19 +00:00
Sake Blok
adefd3367c Make the enable/disable buttons on the coloring rule list follow
the selection. There is a little difference between the behaviour
in GTK1 and GTK2 (As long as either one row or a block of rows with 
the same status is selected, GTK1 and GTK2 behave the same way):

GTK1:
- if the last selected row is disabled, grey out the disable button
- if the last selected row is enabled, grey out the enable button

GTK2:
- grey out both buttons when no rule is selected
- grey out the enable button when *all* selected rules are enabled
- grey out the disable button when *all* selected rules are disabled
- leave both buttons active if there is a mix of disabled and enabled
  rules



svn path=/trunk/; revision=23426
2007-11-10 23:05:35 +00:00
Stig Bjørlykke
6e3a2bdbf1 Ensure we pop any previous loaded filename from the statusbar
when loading a new file with a file already loaded.

svn path=/trunk/; revision=23425
2007-11-10 21:59:20 +00:00
Anders Broman
4093b817c6 Apply yet another set of the optimization patches:
there's two structures with the same name conversation_t, change one to conv_t

svn path=/trunk/; revision=23423
2007-11-10 16:09:10 +00:00
Sake Blok
508e268063 This patch makes it possible to disable individual coloring rules
without having to delete them. The patch has been tested on
Fedora-7 with GTK+ 1.2.10 and GTK+ 2.10.11.

Since I don't know how to use "strikethrough" in clists in GTK1
there is a little difference in how the disabled coloring rules
are displayed. In GTK2 they are striked through and in GTK1
they are shown in lightgrey on a white background.

Any info on how to use strikthrough in clists within GTK1 is more
than welcome :-)


svn path=/trunk/; revision=23421
2007-11-10 15:18:49 +00:00
Stephen Fisher
eae32f15eb Back out part of revision 23395 - leave the toolbar arrow, but remove the
preference to turn it on / off per discussion on -dev list.


svn path=/trunk/; revision=23407
2007-11-09 02:08:00 +00:00
Stephen Fisher
d7c1ba361f Add an arrow with drop-down menu including any toolbar buttons that do not
fit on the top of the screen.  This only works in GTK 2.4+ and there is
a layout preference setting to disable it.


svn path=/trunk/; revision=23395
2007-11-07 21:50:48 +00:00
Stephen Fisher
bb71da97df Fix distcheck after my prior 2 commits
svn path=/trunk/; revision=23348
2007-11-03 06:23:02 +00:00
Stephen Fisher
367b809aec The rest of the Follow UDP Stream check-in
svn path=/trunk/; revision=23347
2007-11-03 04:46:22 +00:00
Stephen Fisher
700d8194b8 - Future improve/clean up the now generic follow stream code
- Add "Follow UDP Stream" feature


svn path=/trunk/; revision=23346
2007-11-03 04:45:35 +00:00
Tomas Kukosa
9b3c5f9f03 display SRTP isntead of RTP if stream is established like a SRTP
svn path=/trunk/; revision=23337
2007-11-02 07:43:49 +00:00
Mike Duigou
7dcafc5e82 Avoid casting directly from int to pointers. (It doesn't work on 64-bit linux)
svn path=/trunk/; revision=23322
2007-10-31 15:16:33 +00:00
Stephen Fisher
487abcdf5b Remove empty #if / #endif block
svn path=/trunk/; revision=23283
2007-10-27 05:11:50 +00:00
Tomas Kukosa
d3a00ff8bf do not update call_state if new call_state == VOIP_NO_STATE
svn path=/trunk/; revision=23271
2007-10-25 12:24:01 +00:00
Tomas Kukosa
136de3920c new codec table for registering codecs by name
new codec plugin type
search registered codecs in rtp player
fix memory leak in rtp player

svn path=/trunk/; revision=23270
2007-10-25 09:38:15 +00:00
Martin Mathieson
977dbfc490 Add missing case.
svn path=/trunk/; revision=23264
2007-10-24 09:21:13 +00:00
Tomas Kukosa
97dde57b7e fix voip_calls.c:126: warning: missing initializer
svn path=/trunk/; revision=23263
2007-10-24 09:10:43 +00:00
Tomas Kukosa
28cb460c25 add common VoIP TAP listener "voip" which can be used in arbitrary experimental/proprietary protocol (implemented e.g. in plugin) and allows it to make graphs and replay streams
svn path=/trunk/; revision=23262
2007-10-24 08:30:46 +00:00
Bill Meier
09e7be9068 From Jim Young: Simple one line patch resolves compiler warning.: Bug #1929
svn path=/trunk/; revision=23240
2007-10-22 15:13:41 +00:00
Guy Harris
0ea7d1372f Silently ignore bogus geometry subkeys, just as we silently ignore other
bogus entries in the recent file.  This fixes bug 1925.

svn path=/trunk/; revision=23233
2007-10-20 02:34:41 +00:00
Tomas Kukosa
44800d2c5a H.460 new dissector implemented (H.460.2-H.460.22)
H.225
 - change RysMessage_vals to h225_Rasmessage_vals
 - use #.PDU directive for H323-UserInformation and RasMessage instead of implementing it by hands
 - register RasMessage_PDU as "h225.ras" dissector for calling it from H.460
asn2wrs make PDUs exportable

svn path=/trunk/; revision=23226
2007-10-18 13:35:57 +00:00
Sake Blok
6bec9d3d9e From tmiller@hcjbtech.org : Spelling error on GDS DB protocol dissector: "Buffer lenght:"
(recursively grepped through the source and corrected all occurences, even 
the ones just in comments)



svn path=/trunk/; revision=23211
2007-10-16 23:42:33 +00:00
Anders Broman
01fd1df04e Change mgcp include.
svn path=/trunk/; revision=23199
2007-10-16 05:45:03 +00:00
Anders Broman
fcbc9389d6 Change mgcp include.
svn path=/trunk/; revision=23197
2007-10-15 22:20:53 +00:00
Alejandro Vaquero
4bf238547f VoIP Calls changes: Add the file name to the title window in VoIP calls, Voip graph and RTP player windows. Make the calls selection using standard multiple selection using the GTK buildin functions. Add a 'Select All' buttom to the VoIP calls window.
svn path=/trunk/; revision=23089
2007-10-08 00:31:26 +00:00
Tomas Kukosa
e461d0d0e8 export more types from H.225.0 and H.245 which will be necessary for H.460.x, H.323 (Annex M,R), H.501
svn path=/trunk/; revision=23069
2007-10-05 07:44:03 +00:00
Stig Bjørlykke
8745da6ed0 - Added Tick interval 1 min and 10 min.
- Draw an empty graph if no items in given tick interval.
- Initialize interval_delta so we don't get overlaping x-scale labels.
- Some whitespace cleanup.

svn path=/trunk/; revision=22992
2007-09-26 22:50:53 +00:00
Jörg Mayer
6bb9369681 "fix" some warnings about "might be used uninitialized" variables
svn path=/trunk/; revision=22983
2007-09-26 07:09:51 +00:00
Gerald Combs
f7c4b26cb4 In newer versions of GTK+ 2.x, if you have the mouse positioned above a
button that goes from insensitive to sensitive, the button won't respond
to mouse clicks.

This caused the Coloring Rules dialog behavior reported in bug 699.  Work 
around it by not making the up/down buttons insensitive while we're moving
a rule.

Fixup whitespace.

svn path=/trunk/; revision=22946
2007-09-25 05:12:44 +00:00
Bill Meier
29c4953c11 Fix bug #1457: Undersized array causing "smashed stack".
svn path=/trunk/; revision=22942
2007-09-24 21:34:58 +00:00
Jörg Mayer
094e2a9a5f Get rid of the remains of NET-SNMP in the build process.
svn path=/trunk/; revision=22934
2007-09-24 06:59:40 +00:00
Jaap Keuter
b7d63247ad Get rid of the last warning.
svn path=/trunk/; revision=22930
2007-09-24 06:42:59 +00:00
Jaap Keuter
f2c1b7e8f0 From Chad Singer:
I fixed a bug in packet_unistim.c which was causing a 'malformed packet' to
appear when an open stream command is read with no endpoint ip (as is sometimes
done) I added a simple msg_len check to avoid this. 
I also added UFTP to the unistim dissector and adjusted the unistim call-detection 
in voip-info.c to start on an open stream as well as keypresses..

svn path=/trunk/; revision=22929
2007-09-24 06:19:56 +00:00
Gerald Combs
6805bdaed6 Spell out each of the units in the status bar. A few people have remarked
that this would be helpful for new users.

svn path=/trunk/; revision=22922
2007-09-21 23:04:56 +00:00
Stig Bjørlykke
72af3183ab Added functionality to highlight the FCS bytes in Ethernet and IEEE 802.11
packets in the Packet Details View.

This "appendix" bytes are not copied with the Copy functions or in the
Export Selected Packet Bytes.

svn path=/trunk/; revision=22887
2007-09-17 12:12:02 +00:00
Stephen Fisher
de33c21ae8 Free some recently added strings when we are done with them.
svn path=/trunk/; revision=22878
2007-09-16 05:42:02 +00:00
Gerald Combs
d2d4fcd903 Add routines under Windows to check if npf.sys is running, and to
fetch the major OS version.  If we're running Windows >= 6 (Vista)
_and_ npf.sys isn't running, warn the user in Wireshark and TShark.
Add a recent prefs item to disable the warning in Wireshark.

svn path=/trunk/; revision=22877
2007-09-15 00:18:17 +00:00
Stephen Fisher
a3202ff86b Standardize filenames and function names for Follow TCP & SSL stream functions
svn path=/trunk/; revision=22870
2007-09-13 22:25:20 +00:00
Stephen Fisher
f673626e55 Finish the major part of merging duplicate code between follow TCP & SSL
stream functions.


svn path=/trunk/; revision=22869
2007-09-13 22:11:50 +00:00
Jaap Keuter
3888c12abf Make the splash screen look just a little bit better.
svn path=/trunk/; revision=22843
2007-09-11 16:54:27 +00:00
Stephen Fisher
7e1692e230 Some more code merging / cleanup in the Follow TCP & SSL Stream features
svn path=/trunk/; revision=22841
2007-09-10 23:50:46 +00:00
Bill Meier
5efc608d28 Fix bug in View ! Color Filter ! New ! (Fore|Back)ground Color & etc code
which resulted in a GtkCritcal msg and in disabling the "(Fore|Back)ground Color"
button when esc used to close the widget.

svn path=/trunk/; revision=22840
2007-09-10 22:28:42 +00:00