aboutsummaryrefslogtreecommitdiffstats
path: root/gtk2
Commit message (Collapse)AuthorAgeFilesLines
* Ignore Makefile{,.in}Tim Potter2002-11-111-0/+2
| | | | svn path=/trunk/; revision=6608
* Merge gtk and gtk2 directories.Olivier Abad2002-11-0379-26648/+0
| | | | svn path=/trunk/; revision=6552
* GtkCList to GtkTreeView conversion in color_dlg.cOlivier Abad2002-10-273-415/+451
| | | | svn path=/trunk/; revision=6514
* The versions of UCD SNMP that we now support all installGuy Harris2002-10-251-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
* Add the DCERPCSTAT stuff.Guy Harris2002-10-251-1/+2
| | | | svn path=/trunk/; revision=6500
* From Ronnie Sahlberg: Ethereal support for DCERPCSTAT.Guy Harris2002-10-255-4/+653
| | | | svn path=/trunk/; revision=6499
* At least according to the UNIX 98 spec, you need to include <unistd.h>Guy Harris2002-10-251-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
* Don't include the header file to get the SNMP version unless we'reGuy Harris2002-10-242-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
* From Ronnie Sahlberg: make the tap listeners for gtk and gtk2 redissectGuy Harris2002-10-232-2/+6
| | | | | | the packet list immediately when the tap is started. svn path=/trunk/; revision=6488
* From Ronnie Sahlberg: pass a pointer to the epan_dissect_t for a packetGuy Harris2002-10-232-4/+4
| | | | | | to taps. svn path=/trunk/; revision=6487
* From Wes Hardaker:Guy Harris2002-10-231-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
* Add (back) some #include <string.h>Jörg Mayer2002-10-104-4/+8
| | | | svn path=/trunk/; revision=6397
* From Ulf Lamping : patch to run the gtk2 port on win32.Olivier Abad2002-09-281-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
* From Ulf Lamping: Prettyfied Colorization dialog.Olivier Abad2002-09-281-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
* Update tethereal to put the filter string in the statistics table for RPC_STAT.Ronnie Sahlberg2002-09-273-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
* Change to color filters :Olivier Abad2002-09-236-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
* Add packet_list.objJörg Mayer2002-09-231-1/+2
| | | | svn path=/trunk/; revision=6320
* From Graeme Hewson:Gerald Combs2002-09-222-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
* Removed all gtk calls in file.c :Olivier Abad2002-09-216-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
* - add a new GUI preference in the gtk2 port. It allows to useOlivier Abad2002-09-1412-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
* GtkList to GtkTreeView conversion.Olivier Abad2002-09-101-733/+754
| | | | svn path=/trunk/; revision=6261
* Add a reference to gtk2 docs which recommends replacing gtk_signal_xxxOlivier Abad2002-09-101-1/+6
| | | | | | functions with their g_signal_xxx equivalent. svn path=/trunk/; revision=6260
* replace gtk_signal_emit_by_name() with g_signal_emit_by_name()Olivier Abad2002-09-101-5/+4
| | | | svn path=/trunk/; revision=6259
* Call gtk_tree_model_get() only if gtk_tree_selection_get_selected()Olivier Abad2002-09-101-5/+7
| | | | | | | returns TRUE (i.e. get data from the selected row only if something has been selected). svn path=/trunk/; revision=6258
* Add "/I$(ZLIB_DIR)" to the list of "/I" flags in the top-level directoryGuy Harris2002-09-101-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
* From Graeme Hewson:Guy Harris2002-09-095-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
* Add/fix cvs id tagsJörg Mayer2002-09-091-1/+1
| | | | svn path=/trunk/; revision=6237
* Put back missing include of <stdio.h>.Guy Harris2002-09-091-3/+2
| | | | | | Fix the RCS ID. svn path=/trunk/; revision=6235
* Explain the GTK+ developers' thinking about detecting fixed-width fontsGuy Harris2002-09-081-4/+44
| | | | | | and about making some tree view item behaviors settable by applications. svn path=/trunk/; revision=6227
* GtkCList to GtkTreeView conversion.Olivier Abad2002-09-072-138/+214
| | | | svn path=/trunk/; revision=6222
* Add missing gtk_tree_path_free()Olivier Abad2002-09-071-2/+5
| | | | svn path=/trunk/; revision=6221
* Strings copied from a TreeModel must be freed after usage.Olivier Abad2002-09-071-1/+2
| | | | svn path=/trunk/; revision=6220
* Add back stdio.hJörg Mayer2002-09-071-1/+2
| | | | svn path=/trunk/; revision=6218
* GtkList to GtkTreeView conversion.Olivier Abad2002-09-072-858/+889
| | | | svn path=/trunk/; revision=6217
* Tap system supprot for Gtk1 and both rpc_stat and rpc_progsRonnie Sahlberg2002-09-071-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
* remove old files we have renamed to proper namesRonnie Sahlberg2002-09-074-0/+0
| | | | svn path=/trunk/; revision=6213
* Change naming for rpcstat and rpcprogsRonnie Sahlberg2002-09-0711-1001/+1001
| | | | svn path=/trunk/; revision=6212
* Add back more string.h includesJörg Mayer2002-09-072-1/+3
| | | | svn path=/trunk/; revision=6205
* Patch from Oliver Abad to reduce CPU used by the redraw thread. Use g_sleep()Ronnie Sahlberg2002-09-061-5/+7
| | | | | | instead of a crude busy-wait loop. svn path=/trunk/; revision=6203
* From Vassilii Khachaturov, cleanup of redundant code.Ronnie Sahlberg2002-09-061-20/+2
| | | | svn path=/trunk/; revision=6202
* Moved two other functions from gtk2-rpc[stat|progs].c into main.c so itRonnie Sahlberg2002-09-063-7/+5
| | | | | | will be easier to reuse these functions on non-threaded gtk1-ethereal. svn path=/trunk/; revision=6196
* Gtk2 port of RPCPROGSRonnie Sahlberg2002-09-062-0/+408
| | | | svn path=/trunk/; revision=6195
* Gtk2 port of RPCPROGS statisticsRonnie Sahlberg2002-09-064-5/+15
| | | | svn path=/trunk/; revision=6194
* Moved access of the mutex protecting the critical region into gtk2/main.cRonnie Sahlberg2002-09-062-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
* Include cleanups in gtk and gtk2:Jörg Mayer2002-09-0540-214/+64
| | | | | | | Remove unneded includes Add include wrappers where missing svn path=/trunk/; revision=6191
* Added a mutex to protect a critical region in Gtk2 where the list can beRonnie Sahlberg2002-09-052-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
* Enable rpcstat in the gtk2 guiRonnie Sahlberg2002-09-042-2/+35
| | | | svn path=/trunk/; revision=6184
* Functions for the gtk2 based version of rpcstatRonnie Sahlberg2002-09-044-2/+574
| | | | svn path=/trunk/; revision=6183
* New file describing the status of the GTK+ 2.0 port.Olivier Abad2002-09-021-0/+31
| | | | svn path=/trunk/; revision=6168
* Fix accelarators/mnemonics in dialogs containing radio or check buttons.Olivier Abad2002-09-016-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