aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2007-01-29The UAT gui starts to workLuis Ontanon4-49/+13
set the macros_dlg to use it add a dummy dfilter_macros file to supress a warning at startup svn path=/trunk/; revision=20598
2007-01-28remove unused "cant_get_if_list_errstr" warningUlf Lamping1-1/+1
svn path=/trunk/; revision=20594
2007-01-28From Douglas Pratley:Stephen Fisher7-49/+313
This is a patch adding items to the context menus for the packet list and packet details panes for copying packet data to the clipboard. New menu item on packet list pane: Copy (sub menu) -> Summary (Text) Copies fields displayed in the packet list, tab separated Summary (CSV) Copies fields displayed in the packet list, comma separated Hex and Text Copies data for the selected frame in hex-editor style (similar to Copy\All Information in packet bytes pane) Text Only Copies data for the selected frame, dropping non-printable characters other than line breaks (similar to Copy\Text Only in packet bytes pane) Hex Columns As Hex and Text but without text Hex Stream Copies data for the selected frame as an unpunctuated list of hex values Binary Stream Copies raw packet bytes to the clipboard as MIME type application/octet-stream svn path=/trunk/; revision=20581
2007-01-26Fix handling when both endpoints use the same port number.Michael Tüxen1-10/+10
svn path=/trunk/; revision=20570
2007-01-26Spelling fixes.Gerald Combs1-2/+2
svn path=/trunk/; revision=20561
2007-01-26Massive indentation fixes.Gerald Combs1-2608/+2610
svn path=/trunk/; revision=20560
2007-01-25Fix Coverity CIDs 217 and 218, and fix filter dialog autoselection inGerald Combs1-28/+30
the process. This change assumes that you can make a copy of a GtkTreeIter and use it later (which may not be valid), and hasn't been tested using GTK 1. svn path=/trunk/; revision=20550
2007-01-24Instead of checking for WinPcap 4.x versions, assume that if the versionGerald Combs1-53/+57
is greater than 3 we can get detailed interface information. This should limit the amount of work we have to do when new WinPcap releases come out. svn path=/trunk/; revision=20542
2007-01-23Propagate the recent interface list changes (r20521) to the AirPcap code.Gerald Combs3-7/+7
Fix a mismatched declaration found by Gisle Vanem. svn path=/trunk/; revision=20535
2007-01-23Have build succeed even if portaudio is located somewhere else than any ↵Luis Ontanon1-1/+2
other libraries in use. svn path=/trunk/; revision=20533
2007-01-22as Bill Meier noted:Ulf Lamping1-1/+0
"The Help ! Contents and the Help ! User's Guide both display the User's Guide." Remove the duplicate Help!/User's Guide item svn path=/trunk/; revision=20523
2007-01-22Fix various compiler warningsStephen Fisher6-6/+5
svn path=/trunk/; revision=20522
2007-01-21Have the routines to get interface lists take a pointer to a "gchar *"Guy Harris4-89/+69
as an argument, and, on an error, if they have an error message, have them set that "gchar *" to point to a g_malloc()ed string containing the error message, rather than taking a pointer to a buffer for that message as an argument. That's more like what's done in Wiretap, and doesn't impose an upper limit on the lengths of those error messages. If that pointer is null, don't allocate the message string and return it. Have that error message already have the "cant_get" processing applied to it, so nobody other than those routines need to call the "cant_get" routines to process the error messages. Have get_airpcap_interface_list() explicitly set "*err" to the appropriate error code. Clean up indentation. svn path=/trunk/; revision=20521
2007-01-20Fix a bug where the size of each column was being computed with the GTK+Stephen Fisher1-0/+5
default font of Sans 10 instead of the setting in Wireshark (such as Monospace 10). On some systems this bug was causing the contents of columns such as the command line specified (CLS) time to be cut off. svn path=/trunk/; revision=20512
2007-01-20from Stephen Fisher:Ulf Lamping1-1/+1
A user asked what file format the flow graph is saved as, which isn't apparent by looking at the dialog. I had to try saving a file and check its type -- plain text file. Could someone please apply the attached patch or similar change to graph_analysis.c. My patch updates the title of the dialog box from "Wireshark: Save graph to file" to "Wireshark: Save graph to text file". However, I used the term "plain text file" instead ;-) svn path=/trunk/; revision=20510
2007-01-20Trying to get buildbot Windows-XP-x86 to build again.Jaap Keuter1-15/+1
Reverting GTK2 to GTK1.2 functionname svn path=/trunk/; revision=20508
2007-01-20Recent versions of GTK+ have added a "gtk-label-select-on-focus"Gerald Combs4-16/+60
property, which selects the entire contents of a label when it comes into focus. This property annoyingly defaults to TRUE, which meant that the labels in simple dialogs and the about box would unexpectedly show up selected. Work around this by setting the focus on the "OK" button in the about dialog and the first button specified in simple dialogs. svn path=/trunk/; revision=20507
2007-01-18Change save & restart requirement sentence in column preferences to say justStephen Fisher1-2/+1
that you must restart wireshark for the changes to take effect. The sentence used to say to hit the save button first, which is now gone by default. svn path=/trunk/; revision=20489
2007-01-18Add separate union entries to fvalue.value for signed and unsignedMartin Mathieson3-4/+13
32-bit numbers. Separate signed and unsigned accessors have been added and used where appropriate. Definitely not for 0.99.5. svn path=/trunk/; revision=20472
2007-01-18Trying to get buildbot Ubuntu-5.10-x86 to build again.Jaap Keuter1-1/+1
Fix typo. svn path=/trunk/; revision=20471
2007-01-18NOT for 0.99.5Luis Ontanon1-0/+1
macro_dlg.h was in this other file! svn path=/trunk/; revision=20470
2007-01-18not for 0.99.5Luis Ontanon1-0/+1
add macro_dlg.h and macro_dlg.c svn path=/trunk/; revision=20469
2007-01-18display filter macros.Luis Ontanon3-0/+110
NOT to be copied over to release 0.99.5 svn path=/trunk/; revision=20467
2007-01-16Should have done this in the last checkin: wrap help_topic_html() in ↵Jeff Morriss1-0/+2
#ifdef(GLIB2) as it's only used (and only works) there svn path=/trunk/; revision=20454
2007-01-16help_topic_gtk() is needed in GTK 1.2 builds so don't #ifdef(GKT2) it outJeff Morriss1-2/+0
svn path=/trunk/; revision=20451
2007-01-16in effect use the User's Guide as the online help system now (for GTK > V1)!Ulf Lamping2-5/+7
remove ENABLE_WSUG setting from config.nmake and replace it with GLIB_MAJOR_VERSION >= 2 (as Glib 1.x cannot open a browser to show a HTML file - it's just currently? not implemented) svn path=/trunk/; revision=20446
2007-01-15Help:Ulf Lamping1-50/+59
- Win32 only: try to load help page from local user-guide.chm (if HHC_DIR is set in config.nmake) and if that fails: - show corresponding help page directly from www.wireshark.org in the configured web browser. The "internet way" will be the only way for all UNIX based versions, as they cannot read .chm files. svn path=/trunk/; revision=20445
2007-01-14fix #301: Windows file dialog should:Ulf Lamping2-22/+11
- initially show the "My Documents" folder - don't use the "open folder" preference setting on save and alike dialogs (we don't do it in the GTK versions either) svn path=/trunk/; revision=20433
2007-01-14fix a bug when freeing newpath - don't g_free(NULL)Ulf Lamping1-1/+1
svn path=/trunk/; revision=20432
2007-01-14Trying to get buildbot Ubuntu-5.10-x86 distcheck to build again.Jaap Keuter1-0/+1
svn path=/trunk/; revision=20425
2007-01-14bugfix: show the "placesbar" (the one with e.g. "My Documents" button) for ↵Ulf Lamping1-182/+236
the various win32 file dialogs. As a nice side effect, the dir/file part of the dialogs is bigger now, which makes handling of the dialogs much nicer/faster. Yes, it still fits into 800*600 screen resolution. Needs testing, I might have placed a g_free() call at the wrong place ... svn path=/trunk/; revision=20423
2007-01-13U3 support for "recent" files.Graeme Lunt4-3/+87
When the "recent" file is written, any references to files on the U3 device itself are modified to have the drive replace with "$U3_DEVICE_PATH". Similarly, when the recent file is read, "$U3_DEVICE_PATH" is replaced with the current U3 device path. This ensures that if/when the U3 device path changes when inserting it into different machines, recent captures on the U3 device itself can still be opened from the recent menu. svn path=/trunk/; revision=20417
2007-01-13New "decode as ..." feature for BER-encoded files (WTAP_FILE_BER). Graeme Lunt4-1/+217
A BER-encoded file can be dissected as one of a number of registered syntaxes (registered using register_ber_syntax_dissector()). Syntaxes may also be associated with OIDs (or other strings) using register_ber_oid_syntax(). A default syntax with which to dissect a BER-encoded file is determined from its filename (extension). For example, ".cer" and ".crt" files will be dissected as "Certificate". svn path=/trunk/; revision=20414
2007-01-12update ssl-dlg.c in accordance with changes in SSL dissectorTomas Kukosa1-7/+26
svn path=/trunk/; revision=20408
2007-01-12Win32: MSVC > 6 doesn't work well with Unicode filenames!Ulf Lamping1-2/+2
fix this, by providing required functions in the new file file_util.c - it's mostly copied from GLib (g_open alike - that take UTF8 as filename format but don't use msvcrt.dll V6 for this as the glib files do) "link" to these functions in file_util.h: #define eth_open eth_stdio_open revert changes (from SVN 20282) throughout the code related to these file functions which were introduced with the first tries of MSVC 2005 ... Hopefully I've done everything right with the new file_util.c ... svn path=/trunk/; revision=20402
2007-01-11Fix compilation problems under Windows. In the GTK code, convert SSIDsGerald Combs1-599/+601
to GByteArrays. Add format_uri() to strutil, which formats a byte string with percent-escapes. Fixup whitespace and indentation. svn path=/trunk/; revision=20397
2007-01-11Fix for bug #1140: Filtering messes up packet list sort orderStephen Fisher1-0/+13
svn path=/trunk/; revision=20394
2007-01-08fix compilation for:Ulf Lamping1-3/+2
- Visual Studio .NET (2002) - Visual Studio .NET 2003 svn path=/trunk/; revision=20349
2007-01-06fix sockaddr_storage problem for MSVC 7.1 (hmmm, maybe it's a platform SDK ↵Ulf Lamping1-4/+6
issue - time will tell) svn path=/trunk/; revision=20331
2007-01-03from Laurent Rabret:Ulf Lamping1-2/+2
I posted a patch about 1.5 years ago for the formerly Ethereal to successfully compiled with Visual > 6. I have always successfully used this patched Ethereal/Wireshark compiled with VS 2003 and have just checked when compiled with Visual C++ 2005 Express svn path=/trunk/; revision=20282
2007-01-02More ethereal --> wiresharkBill Meier1-1/+1
svn path=/trunk/; revision=20270
2007-01-02Add a WIRESHARK_RUN_FROM_BUILD_DIRECTORY environment variable on UN*X;Guy Harris2-4/+7
if set, and if the program isn't running with additional privileges, it'll treat the directory in which the program is found as the data directory. If, on Windows, the version-number subdirectory of {data directory}\plugins doesn't exist (which is assumed to mean that the program is being run from the build directory), or if, on UN*X, WIRESHARK_RUN_FROM_BUILD_DIRECTORY is set, the plugin directory is the "plugins" subdirectory of the data directory, and all subdirectories of that directory are scanned for plugins, as the "plugins" subdirectory of the build directory contains subdirectories for the plugins; this means that if we're running from the build directory, we'll find the plugins we built in the build tree. When generating the wireshark-filter man page, run tshark with WIRESHARK_RUN_FROM_BUILD_DIRECTORY set, so it uses the plugins from the build to generate the list of filters. svn path=/trunk/; revision=20261
2007-01-02MSVC2006 defines sockaddr_storage, so we shouldn't define this on our own ↵Ulf Lamping1-0/+7
for MSVC2006 this might be depending on the Platform SDK and not on MSVC version - I don't really know svn path=/trunk/; revision=20259
2006-12-29Fix for bug #1278: Stephen Fisher5-5/+14
"When analysing a trace with 802.11 packages (made by airpcap) and selecting Statistics->Conversation List->WLAN all wlan conversations are listed. When after this selecting Apply as filter->Selected->A<->B a display filter is created as eth.addr==<A> && eth.addr==<B> when if should be wlan.addr==<A> && wlan.addr==<B>" svn path=/trunk/; revision=20234
2006-12-28Move the contents of airpdcap to epan/crypt. Try to fix the currentGerald Combs3-50/+49
distcheck failure. Move the nmake build targets for airpdcap from epan/dissectors to epan. This will probably break the Windows build. svn path=/trunk/; revision=20231
2006-12-27Prepare to move the airpdcap code to epan/crypt (SVN won't let me actuallyGerald Combs1-1/+1
move the files until these changes are checked in). Add an AC_DEFINE for airpdcap (which will be removed once the changes have settled). Update the airpdcap code to compile on non-Windows systems. Fix up comments and whitespace to conform more closely to the rest of the code base. Verified to compile under Windows and OS X. svn path=/trunk/; revision=20227
2006-12-27+ browser_open_url()Luis Ontanon1-1/+4
+ browser_open_data_file() svn path=/trunk/; revision=20223
2006-12-26fix unused warningsUlf Lamping1-1/+1
svn path=/trunk/; revision=20217
2006-12-22Make fix for bug 771 compatible with GTK1Jaap Keuter1-3/+6
svn path=/trunk/; revision=20201
2006-12-22hmmRonnie Sahlberg1-0/+1
best to revert this for a while. revert all changes from previous patch. svn path=/trunk/; revision=20195