aboutsummaryrefslogtreecommitdiffstats
path: root/gtk2
AgeCommit message (Collapse)AuthorFilesLines
2002-11-11Ignore Makefile{,.in}Tim Potter1-0/+2
svn path=/trunk/; revision=6608
2002-11-03Merge gtk and gtk2 directories.Olivier Abad79-26648/+0
svn path=/trunk/; revision=6552
2002-10-27GtkCList to GtkTreeView conversion in color_dlg.cOlivier Abad3-415/+451
svn path=/trunk/; revision=6514
2002-10-25The versions of UCD SNMP that we now support all installGuy Harris1-13/+7
<ucd-snmp/version.h>, so get rid of the stuff to check for its presence and handle its absence. svn path=/trunk/; revision=6503
2002-10-25Add the DCERPCSTAT stuff.Guy Harris1-1/+2
svn path=/trunk/; revision=6500
2002-10-25From Ronnie Sahlberg: Ethereal support for DCERPCSTAT.Guy Harris5-4/+653
svn path=/trunk/; revision=6499
2002-10-25At least according to the UNIX 98 spec, you need to include <unistd.h>Guy Harris1-1/+5
to declare "getopt()" and the variables it uses; tethereal.c already includes it, but gtk/main.c and gtk2/main.c, which also use "getopt()", don't - make them do so. svn path=/trunk/; revision=6497
2002-10-24Don't include the header file to get the SNMP version unless we'reGuy Harris2-3/+14
building with an SNMP library. If we have Net-SNMP, include <net-snmp/version.h>, not <ucd-snmp/version.h>. Don't include any of the SNMP headers unless HAVE_SOME_SNMP is defined. Include <net-snmp/config_api.h> if we have Net-SNMP, to declare "read_premib_configs()" and "read_configs()". Supply the include directories for Net-SNMP in the Makefile.nmake for GTK 1.2 and GTK 2. svn path=/trunk/; revision=6493
2002-10-23From Ronnie Sahlberg: make the tap listeners for gtk and gtk2 redissectGuy Harris2-2/+6
the packet list immediately when the tap is started. svn path=/trunk/; revision=6488
2002-10-23From Ronnie Sahlberg: pass a pointer to the epan_dissect_t for a packetGuy Harris2-4/+4
to taps. svn path=/trunk/; revision=6487
2002-10-23From Wes Hardaker:Guy Harris1-7/+35
Define HAVE_SOME_SNMP if either HAVE_UCD_SNMP or HAVE_NET_SNMP is defined, and use HAVE_SOME_SNMP, rather than HAVE_UCD_SNMP, in most places when testing whether we have an SNMP library or not. Be more selective when including Net-SNMP header files. Fix up {gtk,gtk2}/main.c to do the same SNMP stuff that tethereal.c does - including the MIB stuff that gtk/main.c was doing but gtk2/main.c wasn't doing. Fix the copyright date in gtk/main.c. svn path=/trunk/; revision=6483
2002-10-10Add (back) some #include <string.h>Jörg Mayer4-4/+8
svn path=/trunk/; revision=6397
2002-09-28From Ulf Lamping : patch to run the gtk2 port on win32.Olivier Abad1-5/+30
- gettimeofday changed into glib's g_get_current_time (to be able to compile) - disabled multithreading (doesn't seem to work on win32) and used gtk_timeout_add() as in gtk1.2 to keep tap extensions updating. svn path=/trunk/; revision=6347
2002-09-28From Ulf Lamping: Prettyfied Colorization dialog.Olivier Abad1-139/+215
This dialog has not been ported to gtk2 yet (see gtk2/STATUS), so it's just the gtk1 code. svn path=/trunk/; revision=6346
2002-09-27Update tethereal to put the filter string in the statistics table for RPC_STAT.Ronnie Sahlberg3-19/+57
Update gtk and gtk2 versions of RPC_STAT to allow a filter string to be specified on both the command line as well as the GUI. Update the documentation for ethereal to reflect this. svn path=/trunk/; revision=6343
2002-09-23Change to color filters :Olivier Abad6-45/+48
- moved color_filter_t in color.h - change color_filter_t to use color_t instead of GdkColor This changed allowed to remove the last gtk includes in file.c. It is now completely free of any gtk related code. svn path=/trunk/; revision=6324
2002-09-23Add packet_list.objJörg Mayer1-1/+2
svn path=/trunk/; revision=6320
2002-09-22From Graeme Hewson:Gerald Combs2-20/+32
In my recent patches to set and use a default directory, I neglected to set the directory when the user enters a file name directly into the "Capture Options" and "Print" dialogs instead of using the file dialog. This set of patches corrects this. svn path=/trunk/; revision=6318
2002-09-21Removed all gtk calls in file.c :Olivier Abad6-13/+175
- created a few packet_list_xxx functions (ui_util.h gtk/packet_list.c gtk2/packet_list.c) ; - removed almost all "gtk/xxx" and "gtk2/xxx" includes in file.c The only remaining includes are related to color filters. We have to make color_filter_t GUI independent by replacing GdkColor with color_t. I'll work on this later. svn path=/trunk/; revision=6311
2002-09-14- add a new GUI preference in the gtk2 port. It allows to useOlivier Abad12-74/+113
alternating colors in all TreeView widgets (see gtk_tree_view_set_rules_hint()). - remove unused preferences in the gtk2 port (tree_expander_style and tree_line_style). svn path=/trunk/; revision=6296
2002-09-10GtkList to GtkTreeView conversion.Olivier Abad1-733/+754
svn path=/trunk/; revision=6261
2002-09-10Add a reference to gtk2 docs which recommends replacing gtk_signal_xxxOlivier Abad1-1/+6
functions with their g_signal_xxx equivalent. svn path=/trunk/; revision=6260
2002-09-10replace gtk_signal_emit_by_name() with g_signal_emit_by_name()Olivier Abad1-5/+4
svn path=/trunk/; revision=6259
2002-09-10Call gtk_tree_model_get() only if gtk_tree_selection_get_selected()Olivier Abad1-5/+7
returns TRUE (i.e. get data from the selected row only if something has been selected). svn path=/trunk/; revision=6258
2002-09-10Add "/I$(ZLIB_DIR)" to the list of "/I" flags in the top-level directoryGuy Harris1-1/+2
and the "gtk" and "gtk2" directories, so that we find "zlib.h", as we now define "HAVE_ZLIB" in the top-level "config.h.win32" and thus try to include "zlib.h" on Windows. svn path=/trunk/; revision=6246
2002-09-09From Graeme Hewson:Guy Harris5-31/+156
Currently Ethereal sets and uses a default directory for reading and writing, but only in some places. This set of patches extends the setting of the default directory to the -w option as well as the -r option, and causes all file dialogs to use and set the default consistently. (I haven't changed the Preferences/Printing/File dialog, though, as that's a special case.) There's also a fix for a bug where Ethereal was issuing the message "Ring buffer requested, but capture isn't being saved to a permanent file" even though a file was specified with -w. There also appear to be some other cleanups in his patch. svn path=/trunk/; revision=6238
2002-09-09Add/fix cvs id tagsJörg Mayer1-1/+1
svn path=/trunk/; revision=6237
2002-09-09Put back missing include of <stdio.h>.Guy Harris1-3/+2
Fix the RCS ID. svn path=/trunk/; revision=6235
2002-09-08Explain the GTK+ developers' thinking about detecting fixed-width fontsGuy Harris1-4/+44
and about making some tree view item behaviors settable by applications. svn path=/trunk/; revision=6227
2002-09-07GtkCList to GtkTreeView conversion.Olivier Abad2-138/+214
svn path=/trunk/; revision=6222
2002-09-07Add missing gtk_tree_path_free()Olivier Abad1-2/+5
svn path=/trunk/; revision=6221
2002-09-07Strings copied from a TreeModel must be freed after usage.Olivier Abad1-1/+2
svn path=/trunk/; revision=6220
2002-09-07Add back stdio.hJörg Mayer1-1/+2
svn path=/trunk/; revision=6218
2002-09-07GtkList to GtkTreeView conversion.Olivier Abad2-858/+889
svn path=/trunk/; revision=6217
2002-09-07Tap system supprot for Gtk1 and both rpc_stat and rpc_progsRonnie Sahlberg1-3/+3
Gtk1 is still single threaded so if the tap extensions need to do something time consuming or cpu intensive, then the main application will suffer. It is better than nothing. svn path=/trunk/; revision=6215
2002-09-07remove old files we have renamed to proper namesRonnie Sahlberg4-0/+0
svn path=/trunk/; revision=6213
2002-09-07Change naming for rpcstat and rpcprogsRonnie Sahlberg11-1001/+1001
svn path=/trunk/; revision=6212
2002-09-07Add back more string.h includesJörg Mayer2-1/+3
svn path=/trunk/; revision=6205
2002-09-06Patch from Oliver Abad to reduce CPU used by the redraw thread. Use g_sleep()Ronnie Sahlberg1-5/+7
instead of a crude busy-wait loop. svn path=/trunk/; revision=6203
2002-09-06From Vassilii Khachaturov, cleanup of redundant code.Ronnie Sahlberg1-20/+2
svn path=/trunk/; revision=6202
2002-09-06Moved two other functions from gtk2-rpc[stat|progs].c into main.c so itRonnie Sahlberg3-7/+5
will be easier to reuse these functions on non-threaded gtk1-ethereal. svn path=/trunk/; revision=6196
2002-09-06Gtk2 port of RPCPROGSRonnie Sahlberg2-0/+408
svn path=/trunk/; revision=6195
2002-09-06Gtk2 port of RPCPROGS statisticsRonnie Sahlberg4-5/+15
svn path=/trunk/; revision=6194
2002-09-06Moved access of the mutex protecting the critical region into gtk2/main.cRonnie Sahlberg2-6/+23
so that it would be possible to share an unmodified gtk2-rpcstat.c with any future gtk1-ethereal support for the tap system. Anyone reading this cvs entry: Perhaps someone could just try to add a draw_all_listeners() to the place in file.c where it has finished reading or rescanning all packets. That might work though it wouldnt update in semi-real time but would be simple and better than nothing. svn path=/trunk/; revision=6193
2002-09-05Include cleanups in gtk and gtk2:Jörg Mayer40-214/+64
Remove unneded includes Add include wrappers where missing svn path=/trunk/; revision=6191
2002-09-05Added a mutex to protect a critical region in Gtk2 where the list can beRonnie Sahlberg2-5/+49
modified while the draw thread is walking it. Changed the cmdline switch to -z so the same one can be used both for ethereal and tethereal. Updated man pages to reflect the RPCSTAT feature. (Try this with Tools/Statistics/ONC-RPC/RTT and load a capture containing onc-rpc. ) svn path=/trunk/; revision=6189
2002-09-04Enable rpcstat in the gtk2 guiRonnie Sahlberg2-2/+35
svn path=/trunk/; revision=6184
2002-09-04Functions for the gtk2 based version of rpcstatRonnie Sahlberg4-2/+574
svn path=/trunk/; revision=6183
2002-09-02New file describing the status of the GTK+ 2.0 port.Olivier Abad1-0/+31
svn path=/trunk/; revision=6168
2002-09-01Fix accelarators/mnemonics in dialogs containing radio or check buttons.Olivier Abad6-176/+63
The GTK+ v2 documentation says accelarators should only be used with menus. For text entries or buttons, we must use mnemonics. Replace dlg_check_button_new_with_label_with_mnemonic() and dlg_radio_button_new_with_label_with_mnemonic() with gtk_check_button_new_with_mnemonic() and gtk_radio_button_new_with_mnemonic() For radio buttons, gtk_radio_button_group is deprecated. Use gtk_radio_button_new_with_mnemonic_from_widget() to create a new button in an existing group. svn path=/trunk/; revision=6165