aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/uat_gui.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-06Fix some of the Errors/warnings detected by checkapi.Anders Broman1-1/+1
svn path=/trunk/; revision=25244
2008-04-14From Jim Young (bug 2212):Sake Blok1-4/+4
Add the profile name to the title of all the configuration windows. (this is a rewrite of Jim's patch) svn path=/trunk/; revision=25016
2008-04-13sort #includes by directoriesUlf Lamping1-12/+15
svn path=/trunk/; revision=24969
2008-04-12rename menu -> main_menuUlf Lamping1-1/+0
remove old (and unused and confusing) ../menu.h svn path=/trunk/; revision=24947
2008-04-12move stock icon code from toolbar.c into specific stock_icons file(s)Ulf Lamping1-1/+1
svn path=/trunk/; revision=24921
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-26/+26
svn path=/trunk/; revision=24918
2008-04-11replace SIGNAL_DISCONNECT_BY_FUNC with g_signal_handlers_disconnect_by_funcUlf Lamping1-12/+12
svn path=/trunk/; revision=24911
2008-04-11replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵Ulf Lamping1-5/+5
gtk_button_new_from_stock svn path=/trunk/; revision=24904
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-10/+10
svn path=/trunk/; revision=24899
2008-04-09Remove an unused function that is causing a warning/error on UnixStephen Fisher1-10/+0
svn path=/trunk/; revision=24864
2008-04-09remove GTK1 codeUlf Lamping1-51/+1
svn path=/trunk/; revision=24857
2008-04-07- Remove GLIB1 codeStephen Fisher1-6/+1
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION - Remove ws_strsplit files because we no longer need to borrow GLIB2's g_strsplit code for the no longer supported GLIB1 builds svn path=/trunk/; revision=24829
2008-01-21Fix for bug 1920:Jaap Keuter1-1/+4
Avoid double free, causing crash, and stop memory leak via normal code path. svn path=/trunk/; revision=24152
2008-01-19Cleanup the whitespace.Jaap Keuter1-205/+200
svn path=/trunk/; revision=24137
2007-11-26From Florent Drouin via ↵Jeff Morriss1-1/+1
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2015 : fix crash when editing UAT tables svn path=/trunk/; revision=23604
2007-09-04enable esc for new/edit/delete dialogs; remove some redundant code; Bill Meier1-22/+7
svn path=/trunk/; revision=22782
2007-09-02Fix my previous patch to enable esc on windowBill Meier1-1/+1
svn path=/trunk/; revision=22772
2007-08-31Enable <esc> to cancel window; remove some redundant codeBill Meier1-25/+6
svn path=/trunk/; revision=22763
2007-05-25- epan/uat.h: change the UAT_PROTO_DEF macro to handle both the name of the ↵Luis Ontanon1-4/+3
dissector and the handle - packet-user_encap.c: use the new UAT_PROTO_DEF - gtk/uat_gui.c: change the order of "containment" of the widgets to have the clist fields sized to the scrolledwindow instead of the whole window svn path=/trunk/; revision=21934
2007-04-23Add some GCC warnings to the standard set, and add some others to theGuy Harris1-3/+3
--enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526
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-02-25revert (most) changes in rev #20753, to avoid items being created on a wrong ↵Luis Ontanon1-20/+0
menu on windows. svn path=/trunk/; revision=20928
2007-02-19Squelch a "used without being set" warning.Guy Harris1-0/+1
svn path=/trunk/; revision=20848
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-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-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-09* Add a Submenu (/Views/User Tables) where UATs can be accessed.Luis Ontanon1-1/+27
* 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-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-05* Add a help facility for UATsLuis Ontanon1-1/+16
* 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-04Move (Up/Down) & Save buttonsLuis Ontanon1-22/+93
svn path=/trunk/; revision=20708
2007-02-03second iteration:Luis Ontanon1-52/+67
* 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-01-31use window_present() as discussedUlf Lamping1-12/+4
svn path=/trunk/; revision=20639
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-29Finish (?) UAT's GUILuis Ontanon1-23/+293
svn path=/trunk/; revision=20605
2007-01-29Actually this is the UAT GUI...Luis Ontanon1-0/+246
svn path=/trunk/; revision=20599