Commit Graph

14 Commits

Author SHA1 Message Date
Luis Ontanon c63b0a6bc6 From Peter Johansson:
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-14 19:21:37 +00:00
Luis Ontanon b26c1c4ca2 Add a description of UAT fields, and have it as a tooltip in the New/Edit Dialog.
svn path=/trunk/; revision=20797
2007-02-12 19:57:41 +00:00
Luis Ontanon 5db2005993 Have Aply, Cancel and OK buttons instead of the save and ok button.
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-11 16:09:21 +00:00
Luis Ontanon 7c57c05ed5 * Add a Submenu (/Views/User Tables) where UATs can be accessed.
* 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-09 03:11:14 +00:00
Luis Ontanon 5ec87e6eef no gtk_window_set_resizable in GTK1
svn path=/trunk/; revision=20735
2007-02-07 13:55:34 +00:00
Luis Ontanon bc2ca61083 Add ENUM and HEXBYTES modes
svn path=/trunk/; revision=20733
2007-02-07 03:39:40 +00:00
Luis Ontanon 2b22bcb1a3 * Add a help facility for UATs
* export help_topic_html()


svn path=/trunk/; revision=20717
2007-02-05 05:06:21 +00:00
Luis Ontanon b7a16926d7 Add a confirm dialog when the user closes the window with unsaved data.
svn path=/trunk/; revision=20716
2007-02-05 04:22:06 +00:00
Luis Ontanon fbc8912b87 Move (Up/Down) & Save buttons
svn path=/trunk/; revision=20708
2007-02-04 05:19:02 +00:00
Luis Ontanon d70a58f881 second iteration:
* 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-03 14:25:02 +00:00
Ulf Lamping e9dd661b18 use window_present() as discussed
svn path=/trunk/; revision=20639
2007-01-31 03:05:03 +00:00
Ulf Lamping 99209b76ce call gtk_window_present() only on GTK >= 2.x, should fix current compilation problems.
I don't have tested this on a GTK 1.x system...

svn path=/trunk/; revision=20615
2007-01-29 23:29:11 +00:00
Luis Ontanon 3e924d9def Finish (?) UAT's GUI
svn path=/trunk/; revision=20605
2007-01-29 14:14:01 +00:00
Luis Ontanon 8f48cb6364 Actually this is the UAT GUI...
svn path=/trunk/; revision=20599
2007-01-29 10:25:54 +00:00