Commit graph

5865 commits

Author SHA1 Message Date
Stig Bjørlykke
64c2355b67 Removed the protocol registration updates in the splash screen for Python
dissectors, because it does not work as expected and causes an assert.

Added generic splash updates for python register and handoff instead.

This should fix bug 5431.

svn path=/trunk/; revision=39221
2011-10-02 16:19:55 +00:00
Stig Bjørlykke
3e75b436a0 Added register action for loading Lua plugins.
Removed an unused argument to wslua_init().

svn path=/trunk/; revision=39214
2011-10-02 13:39:35 +00:00
Stig Bjørlykke
18ed55e1e6 Always update splash screen when action has changed.
svn path=/trunk/; revision=39213
2011-10-02 13:39:15 +00:00
Gerald Combs
45859cc378 In drag_and_drop.c use accessor functions for GtkSelectionData. In
main_menubar.c use gtk_osxapplication_insert_app_menu_item instead of
gtk_osxapplication_add_app_menu_item. Fixes deprecation-related errors
when compiling with HAVE_GTKOSXAPPLICATION defined.

svn path=/trunk/; revision=39180
2011-09-28 20:58:56 +00:00
Anders Broman
6905d73180 Put in "#if 0":s to make it compile, these widgets are not vissible on my system so I have no idea what the GUI looks like with these changes.
svn path=/trunk/; revision=39142
2011-09-26 04:56:24 +00:00
Jörg Mayer
da0bb6b044 gkvumeter got removed, don't try to build it.
svn path=/trunk/; revision=39141
2011-09-25 22:20:41 +00:00
Jörg Mayer
684195abc9 Remove gtkvumeter.[hc]
This may cause windows builds to fail. If nobody picks up the task
of getting it to compile again I'll start doing that tomorrow morning
with the help of the buildbot.

svn path=/trunk/; revision=39139
2011-09-25 21:54:04 +00:00
Jörg Mayer
576ab168c9 Get rid of (hopefully) all configure options to enable MAIN_MENU_USE_UIMANAGER
as it is the only option left.

svn path=/trunk/; revision=39138
2011-09-25 21:27:19 +00:00
Jörg Mayer
420acb2fba We now always build with MAIN_MENU_USE_UIMANAGER, so remove all code using
the old ways except the proto_help.c file, which is kept for now in case someone
is willing to reimplement the help menus using non-deprecated methods.

svn path=/trunk/; revision=39137
2011-09-25 21:19:45 +00:00
Jörg Mayer
0d4abaa59c Fix for
/home/jmayer/work/wireshark/svn/trunk/gtk/capture_if_dlg.c:522:3: error: ISO C90 forbids mixed declarations and code


svn path=/trunk/; revision=39135
2011-09-25 19:56:42 +00:00
Michael Tüxen
6d46e5d01b Use the new remote capturing icon also in the interfaces dialog box.
svn path=/trunk/; revision=39122
2011-09-24 14:16:37 +00:00
Michael Tüxen
66517c8e57 Use one of the new icons for remote interfaces.
svn path=/trunk/; revision=39118
2011-09-24 12:39:09 +00:00
Guy Harris
8a0e6dbaf0 Mark the "adjustment" argument to scroll callbacks as unused. (Is
redrawing sufficient?  Could the adjustment be used to optimize what's
drawn?)

svn path=/trunk/; revision=39117
2011-09-24 00:26:58 +00:00
Guy Harris
5d096579e5 Get rid of duplicate call.
svn path=/trunk/; revision=39115
2011-09-23 23:56:21 +00:00
Anders Broman
c936cbebe8 Grr make it work if GTK < 2.22
svn path=/trunk/; revision=39112
2011-09-23 17:33:04 +00:00
Anders Broman
2dfabbf7f1 Redraw when vertical scroll is used.
svn path=/trunk/; revision=39111
2011-09-23 17:29:01 +00:00
Anders Broman
3d03e94cba Update the draw area as well.
svn path=/trunk/; revision=39107
2011-09-23 14:55:26 +00:00
Anders Broman
4fd46f6f0b Remove duplicated code.
svn path=/trunk/; revision=39102
2011-09-23 11:35:37 +00:00
Stig Bjørlykke
155de63f73 Add an option -d to specify display filter from the command line.
This was requested in bug 2463.

svn path=/trunk/; revision=39090
2011-09-22 18:39:29 +00:00
Anders Broman
ded5c901fa Store a pointer to frame_data rather than the time.
svn path=/trunk/; revision=39086
2011-09-22 08:46:09 +00:00
Bill Meier
e6bd9d1a8c Whitespace cleanup:
Use consistent indentation;
 Convert "4 space tabs" to spaces;
 Remove trailing whitespace.

svn path=/trunk/; revision=39082
2011-09-21 18:55:03 +00:00
Bill Meier
781129806f Fix ex "modeline" so it works;
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748

svn path=/trunk/; revision=39081
2011-09-21 17:49:11 +00:00
Chris Maynard
ee167d7363 Don't pop up an error dialog box for every file that can't be saved. Before, this could have potentially meant having to manually close far too many of them.
svn path=/trunk/; revision=39080
2011-09-21 17:41:12 +00:00
Bill Meier
6e66257c5d Fix ex "modeline" so it works;
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748

Convert "4 space tabs" to spaces;
Use consistent indentation.

svn path=/trunk/; revision=39079
2011-09-21 17:32:35 +00:00
Bill Meier
a58121db53 Fix vi "modeline" so it works;
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748


svn path=/trunk/; revision=39076
2011-09-21 16:44:10 +00:00
Chris Maynard
46ded6ec8f From DeCount via bug 6362: Increase maximum allowable number of duplicate filesi from 10 to 1000. I modified his patch to avoid appending anything to the first filename, and other minor changes.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6362

svn path=/trunk/; revision=39061
2011-09-20 16:28:21 +00:00
Stig Bjørlykke
c3cb0e6dd9 From Dirk via bug 6361:
Add a File/Directory Dialog as a field type for UAT preferences.

svn path=/trunk/; revision=39058
2011-09-20 10:14:58 +00:00
Chris Maynard
5b85e16735 Move the return out of the for() loop so all values are freed. Fixes Coverity CID 1277 (loop increment j++ is unreachable).
svn path=/trunk/; revision=39053
2011-09-19 20:19:43 +00:00
Michael Tüxen
fbe6cdc5db Fix a crash when zooming into a TSN plot.
Provided by Irene Ruengeler.
From me: remove tailing whitespaces.

svn path=/trunk/; revision=39043
2011-09-19 10:23:36 +00:00
Anders Broman
a7a7d01191 Remove debug code.
svn path=/trunk/; revision=39035
2011-09-19 05:13:06 +00:00
Michael Tüxen
207297d913 Fix a crash when analysing SCTP TSNs.
Provided by Irene Ruengeler.

svn path=/trunk/; revision=39028
2011-09-16 15:32:28 +00:00
Anders Broman
09b08a4f37 Store frame_data_t instead of nstime_t, now it should be possible
to implement using the same time format as chosen in the packetlist.

svn path=/trunk/; revision=38999
2011-09-15 05:59:09 +00:00
Jörg Mayer
b2ae3d3b16 Trivial fix that would create one of the three GDK_DEPRECATED errors.
Use the #define instead of "font"

svn path=/trunk/; revision=38998
2011-09-14 21:36:29 +00:00
Bill Meier
dbae8e445c Update based upon latest names "packet-type-codes" list from the IANA:
- Change some type-code names to match IANA list;
- Handle additional type-codes as given in the IANA list;
- Don't consider certain "attribute types" to be valid packet-type codes
  See Bug 6335: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6335
- Minor code cleanup.

svn path=/trunk/; revision=38997
2011-09-14 18:45:06 +00:00
Martin Mathieson
958df0d82a Show total ACKs/UE in UE table.
svn path=/trunk/; revision=38994
2011-09-14 13:32:42 +00:00
Gerald Combs
9e7dae04ad Fix a typo in a comment.
svn path=/trunk/; revision=38988
2011-09-13 17:10:12 +00:00
Anders Broman
2c20392169 Use Frame_data also in graph_analysis_item_t, this should ultimately
make it possible to use absolute time in the graph.

svn path=/trunk/; revision=38984
2011-09-13 12:39:11 +00:00
Anders Broman
187d5c34a6 Store a pointer to frame_data which holds the timing and frame number info rather than making copies. Move a structure only used internaly from voip_calls.h to .c
svn path=/trunk/; revision=38982
2011-09-13 05:29:56 +00:00
Anders Broman
0c2bb6e388 Store a pointer to frame_data which holds the timing and frame number info rather than making copies.
svn path=/trunk/; revision=38981
2011-09-12 19:32:49 +00:00
Michael Tüxen
6ecc4235f1 Use the correct name for the airpcap interface.
While there, clean up some whitespaces.

svn path=/trunk/; revision=38975
2011-09-12 13:39:14 +00:00
Michael Tüxen
c21ae05d4f Fix the wireless settings button for AirPCap devices in the
Edit Interface dialog box.

Obtained from Irene Ruengeler.

svn path=/trunk/; revision=38974
2011-09-12 13:13:08 +00:00
Chris Maynard
f4c675f712 Fix locale problem with "Rel Start" time, both with display and copy to CSV, by replacing rel_time_to_secs_str() with nstime_to_sec(). Problem reported on ask by packethunter.
Ref: http://ask.wireshark.org/questions/6207/decimal-point-vs-decimal-comma

svn path=/trunk/; revision=38948
2011-09-09 02:11:53 +00:00
Stig Bjørlykke
00486493c3 Add syntax check and autocompletion to "Save Filter as".
svn path=/trunk/; revision=38939
2011-09-08 11:16:18 +00:00
Stig Bjørlykke
8c73abd028 Avoid crash when pressing the help button in the "Save Filter" dialog.
Documentation TBD.

svn path=/trunk/; revision=38938
2011-09-08 10:38:58 +00:00
Stig Bjørlykke
1a046d693b From Edwin Groothuis via bug 6207:
Added Filter Toolbar Save functionality.

From me:
Removed unused code.

svn path=/trunk/; revision=38937
2011-09-08 09:35:10 +00:00
Jörg Mayer
001d5b5989 "Fix" an unjustified gcc might-be-used-unused warning.
svn path=/trunk/; revision=38920
2011-09-07 17:26:03 +00:00
Anders Broman
67210b0731 Try to improve the tooltip a bit.
svn path=/trunk/; revision=38898
2011-09-06 15:28:07 +00:00
Guy Harris
bd82608737 g_slist_free_full() didn't appear until GLib 2.28.
svn path=/trunk/; revision=38885
2011-09-05 19:39:34 +00:00
Stig Bjørlykke
9fb5d05d21 From Kurnia Hendrawan via bug 2931:
Added an option to save "decode as" entries.

svn path=/trunk/; revision=38883
2011-09-05 19:05:14 +00:00
Anders Broman
bceafeaeda Try to fix the buildbot.
svn path=/trunk/; revision=38882
2011-09-05 13:48:54 +00:00