aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2007-03-06Export Object code/documentation updates:Stephen Fisher3-38/+34
- Note in the user's guide that export object is not available in GTK1 builds of Wireshark. - Make scanning through the slists more efficient - Use new tap.c function called have_tap_listener() to only save object payload data when the export object listener is actively listening for it. - Save objects in the HTTP dissector with g_malloc() instead of se_malloc() and free it when we're done with it - when the export object window is closed (Fixes bug #1412) - Various minor improvements svn path=/trunk/; revision=20980
2007-03-04protect callbacks of derived windows from dereferencing a null pointer if ↵Luis Ontanon1-6/+30
the main table has being closed in the meanwhile. svn path=/trunk/; revision=20970
2007-03-03Update object export code:Stephen Fisher5-263/+270
- Add to User's Guide - Add a help button - Move a lot of code into the shared export_object.c file and out of dissector specific file export_object_http.c. This will make adding additional protocols much easier. - Change comment in packet-http.c to reflect new name (Export Object) - Various other minor improvements svn path=/trunk/; revision=20961
2007-03-02Activate the File -> Export menu when a capture is inStephen Fisher1-0/+2
progress in addition to when a capture file is open. svn path=/trunk/; revision=20959
2007-03-01add export_object.h so distcheck don't failUlf Lamping1-0/+1
svn path=/trunk/; revision=20954
2007-03-01Wrap long lines in simple dialogs so that the dialog and its messageStephen Fisher1-0/+1
won't ever extend off the screen. svn path=/trunk/; revision=20953
2007-02-28Sync up my changes so far to the content list (now called objectStephen Fisher8-421/+577
list) feature for http traffic. It's now available under File-> Export->Objects->HTTP. More changes to come.. svn path=/trunk/; revision=20951
2007-02-27From Floren Drouin:Anders Broman1-0/+2
This patch add a test on the GTK version to avoid a warning with the "gtk-label-select-on-focus" configuration parameter, introduced in GTK-2.9.0. svn path=/trunk/; revision=20936
2007-02-25revert (most) changes in rev #20753, to avoid items being created on a wrong ↵Luis Ontanon8-36/+72
menu on windows. svn path=/trunk/; revision=20928
2007-02-20Treat "<NULL>" as returned from a call to se_strdup() in packet-http.c as aStephen Fisher1-1/+2
NULL value when checking if the content-type was found. svn path=/trunk/; revision=20880
2007-02-20Put the rest of the #if GTK_MAJOR_VERSION >= 2 preprocessor statements ↵Stephen Fisher1-1/+5
around parts of the Content List -> HTTP feature code. svn path=/trunk/; revision=20869
2007-02-19Initial version of the new Statistics -> Content List -> HTTP feature. ThisStephen Fisher3-0/+415
feature lists all of the content found in an HTTP stream (images, http, etc.) and displays it in a list that allows the user to save each one as a file that is already reassembled by the dissectors. svn path=/trunk/; revision=20867
2007-02-19Fix some C++ style commentsBill Meier2-3/+3
svn path=/trunk/; revision=20865
2007-02-19Squelch a few unused parameter warnings.Jeff Morriss1-1/+1
svn path=/trunk/; revision=20863
2007-02-19Oops, help_topic_gtk() is _only_ needed in GTK1.2 builds, so #ifdef it (and ↵Jeff Morriss1-102/+103
some of its helpers) out in GTK2 builds. svn path=/trunk/; revision=20859
2007-02-19Squelch a couple (false) uninitialized variable warningsJeff Morriss2-3/+3
svn path=/trunk/; revision=20858
2007-02-19Squelch a "used without being set" warning.Guy Harris1-0/+1
svn path=/trunk/; revision=20848
2007-02-19We only need the Wireshark splash image if we have the welcome page.Guy Harris1-0/+2
svn path=/trunk/; revision=20847
2007-02-15bugfix: call set_proto_selection() before actually writing the selections to ↵Ulf Lamping1-2/+9
disk. Otherwise the changes won't be written to disk correctly (when pressing the OK button). Interestingly, no complains were heard about this before ... svn path=/trunk/; revision=20818
2007-02-14From Peter Johansson:Luis Ontanon1-1/+2
I have provided a patch for a crash that occurs in uat_gui.c if from the "Edit preferences..." button when you choose Protocols -> DLT_USER -> the "Edit..." button -> the "New" button -> the "Cancel" button. The crash happens because dd gets freed prior to traversing its internal structure, hence I moved the call to g_free for dd beneath the traversal of the dd internals. svn path=/trunk/; revision=20813
2007-02-13From Sebastien Tandel:Stephen Fisher3-0/+3
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override the buggy g_strsplit() function when compiling for GTK1. Include this work-around function (ws_strsplit) in libwireshark.def. Add notes on usage to README.developer. Include epan/ws_strsplit.h in all files that use g_strsplit(). svn path=/trunk/; revision=20804
2007-02-12use g_string_append() instead of g_string_append_printf()Ronnie Sahlberg1-1/+1
we dont have g_string_append_printf() in gtk 1 svn path=/trunk/; revision=20798
2007-02-12Add a description of UAT fields, and have it as a tooltip in the New/Edit ↵Luis Ontanon1-3/+13
Dialog. svn path=/trunk/; revision=20797
2007-02-12From Albert Chin:Luis Ontanon1-1/+1
Gnutls can be located in a different place than the other libs. svn path=/trunk/; revision=20796
2007-02-12delimit each CSV output with "Ulf Lamping1-4/+15
(this should be combined into a generic function as this CSV encapsulation functionality is implemented several times) svn path=/trunk/; revision=20791
2007-02-12ooops, and here comes the actual context menu code change from Douglas ↵Ulf Lamping1-29/+26
Pratley ... already mentioned in SVN 20787 svn path=/trunk/; revision=20790
2007-02-11Have Aply, Cancel and OK buttons instead of the save and ok button.Luis Ontanon1-101/+154
Have these buttons reloading the capture file if needed. Some rearrangement of the window (the editor is still missing "ornaments" and tooltips) svn path=/trunk/; revision=20788
2007-02-09A fix from Irene Ruengeler to keep assocs selected whenMichael Tüxen5-288/+117
setting/applying filters. Remove some warnings. svn path=/trunk/; revision=20759
2007-02-09Fix build (at least for me) by removing macros_dlg.hMartin Mathieson1-1/+0
svn path=/trunk/; revision=20754
2007-02-09* Add a Submenu (/Views/User Tables) where UATs can be accessed.Luis Ontanon7-74/+44
* Remove macros_dlg, the DFMacros UAT goes in the menu with all the rest * in packet-user_encap.c WTAP_ENCAP=XXX has become useless information for the user leave just the DLT# svn path=/trunk/; revision=20753
2007-02-08some further work on the "welcome page", still far from being completeUlf Lamping1-60/+257
svn path=/trunk/; revision=20741
2007-02-07no gtk_window_set_resizable in GTK1Luis Ontanon1-7/+8
svn path=/trunk/; revision=20735
2007-02-07Add ENUM and HEXBYTES modesLuis Ontanon1-48/+241
svn path=/trunk/; revision=20733
2007-02-07don't free ofn before the last place usedUlf Lamping1-3/+5
svn path=/trunk/; revision=20732
2007-02-07fix a comment typoUlf Lamping1-1/+1
svn path=/trunk/; revision=20731
2007-02-06From Eric Hall to fix bug 1289:Jeff Morriss2-3/+3
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1289 Rename 'svnversion' to 'wireshark_svnversion' to resolve a symbol conflict with GTK 2.10.6 (hmm, shouldn't GTK not be exporting that symbol or at least naming it so as to prevent such collisions? Well, so should we, so...) From Andreas Fink: change #ifdef for size_t in airdcap_interop.h to fix compile on MacOS X. svn path=/trunk/; revision=20726
2007-02-05* Add a help facility for UATsLuis Ontanon3-2/+25
* export help_topic_html() svn path=/trunk/; revision=20717
2007-02-05Add a confirm dialog when the user closes the window with unsaved data.Luis Ontanon1-49/+197
svn path=/trunk/; revision=20716
2007-02-04Augment get_gui_runtime_info() with additional information about the U3 ↵Graeme Lunt3-0/+42
device Wireshark is being run from. svn path=/trunk/; revision=20711
2007-02-04Move (Up/Down) & Save buttonsLuis Ontanon1-22/+93
svn path=/trunk/; revision=20708
2007-02-03second iteration:Luis Ontanon4-56/+115
* fields of an uat table now are passed using an array of uat_filed_t * field callbacks take two more userdata arguments * add some macros to define uat field callbacks. * uats can be registered as preferences for a specific protocol - the preference widget is a button that opens the uat's window * dfilter-macro => reflect changes to API svn path=/trunk/; revision=20695
2007-02-02Assign the cancel button (so you can hit the escape key) on the capture/displayStephen Fisher1-0/+1
filter dialog box svn path=/trunk/; revision=20681
2007-02-01dont ifdef out main_window_exit() if we dont have PCAP since this symbol is ↵Ronnie Sahlberg1-2/+2
required even without pcap svn path=/trunk/; revision=20661
2007-01-31backup of some design work of the Wireshark "Welcome" page - the one shown ↵Ulf Lamping1-49/+243
when no trace file is loaded - this page is still disabled. This is only a "personal backup" of some design ideas / experiments for this page - and needs a lot more work / cleanup. I'm checking this in just to prevent data loss. svn path=/trunk/; revision=20640
2007-01-31use window_present() as discussedUlf Lamping1-12/+4
svn path=/trunk/; revision=20639
2007-01-31#include stdlib.h so uat.h can find size_t (at least on Solaris). Add ↵Jeff Morriss2-1/+2
newline to end of macros_dlg.h (just to prevent a compiler warning) svn path=/trunk/; revision=20638
2007-01-30Show the channel frequencies in the wireless (AirPcap) toolbar next to the ↵Stephen Fisher1-15/+15
channel number in the drop-down list. svn path=/trunk/; revision=20619
2007-01-29call gtk_window_present() only on GTK >= 2.x, should fix current compilation ↵Ulf Lamping1-0/+8
problems. I don't have tested this on a GTK 1.x system... svn path=/trunk/; revision=20615
2007-01-29Fix a typo (double ;;).Anders Broman1-1/+1
svn path=/trunk/; revision=20610
2007-01-29Improve the handling of INIT/ABORT mesage pairs.Michael Tüxen4-85/+56
svn path=/trunk/; revision=20608