aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2004-01-31renamed ESD_TYPE_CRIT to ESD_TYPE_ERROR toUlf Lamping17-91/+91
better reflect the real error text svn path=/trunk/; revision=9913
2004-01-31using GTK2 stock icons for dialogs instead of Ethereal specific onesUlf Lamping1-11/+10
svn path=/trunk/; revision=9911
2004-01-30slightly higher polling rate, to detect stop condition from capture taskUlf Lamping1-3/+3
svn path=/trunk/; revision=9909
2004-01-29every GUI action, which will erease a currently unsaved capture file,Ulf Lamping8-20/+260
will now raise a dialog "Save xy before z?" with Yes/No/Cancel buttons. svn path=/trunk/; revision=9908
2004-01-29added "Yes" and "No" buttons to the simple_dialog,Ulf Lamping1-30/+68
added a callback method, to be called if a button was pressed svn path=/trunk/; revision=9907
2004-01-29added GTK_STOCK_YES and GTK_STOCK_NO to the dlg_button_rowUlf Lamping2-2/+18
svn path=/trunk/; revision=9906
2004-01-28Fix a comment.Guy Harris1-3/+2
svn path=/trunk/; revision=9897
2004-01-28Clean up the comparison code a bit.Guy Harris1-129/+89
svn path=/trunk/; revision=9896
2004-01-28For columns whose data comes from the frame_data structure for a packet,Guy Harris1-9/+130
sort the columns based on that data, rather than on the raw text of the column - that's probably faster, and also doesn't get rudely surprised by "atof()" being locale-dependent. svn path=/trunk/; revision=9895
2004-01-28"gtk/main.c" no longer has any code to manage the packet list, so it noGuy Harris1-7/+1
longer needs to define the "column_arrows" structure. svn path=/trunk/; revision=9894
2004-01-27"Export Selected Packet Bytes" -> change all appearances to this text,Ulf Lamping2-11/+41
don't show up this dialog if no data *is* selected (didn't find an easy way to control sensitivity of the menus by some mechanism :-( svn path=/trunk/; revision=9891
2004-01-27Make "{byte,tree}_view_select()" return "gboolean", not "gint", as theyGuy Harris2-10/+12
return TRUE or FALSE as a success/failure indication. svn path=/trunk/; revision=9890
2004-01-27always select the current item under cursor, before showing up theUlf Lamping3-6/+74
corresponding context menu (right mouse click) svn path=/trunk/; revision=9887
2004-01-27From Lars Ruoff:Olivier Biot1-14/+16
- use create_tempfile() to create the temporary files (causes temp files to be created at the same location as other Ethereal temp files). Changed temp filenames to "ether_rtp_dXXXXXX", where d is the stream direction. - fixed a bug with temp files not being removed svn path=/trunk/; revision=9886
2004-01-27Add a detail-pane context menu item for "Export As Raw Packet Data", soGuy Harris1-1/+3
you can select something and export it without shoving the rodent up to the menu bar. svn path=/trunk/; revision=9883
2004-01-26Newlines in filter strings are a Bad Idea, as they don't display well inGuy Harris1-2/+2
the title or contents of the filtering progress bar window and don't work very well in files such as "recent" or "dfilters". svn path=/trunk/; revision=9869
2004-01-26Add support for the "matches" operator if HAVE_LIBPCRE is defined.Olivier Biot1-1/+8
svn path=/trunk/; revision=9865
2004-01-26From Lars Ruoff:Olivier Biot3-165/+224
- made streams list sortable by column - added a button "Find Reverse" that finds the reverse stream to the selected forward stream. (If different reverse streams available, pushing the button repeatedly will cycle through all of them, one after the other.) - tidied up lots of superflous code. Also get rid of a const pointer cast warning, and remove the _U_ attribute from rtpstream_reset(). svn path=/trunk/; revision=9863
2004-01-26added a tooltip to explain the behaviour of the syntax check in the filter ↵Ulf Lamping1-1/+6
string svn path=/trunk/; revision=9862
2004-01-26added a tooltip to explain the behaviour of the syntax check in the filter ↵Ulf Lamping1-2/+10
toolbar svn path=/trunk/; revision=9861
2004-01-26slightly changed the menuitem names in View->Show->Packet xyUlf Lamping1-5/+5
svn path=/trunk/; revision=9860
2004-01-26On Windows OT, interface names *can* have spaces in them; to find theGuy Harris1-17/+45
interface name, look forward in the interface string for "\Device\", not backwards for a space, on Windows. (Continue to look backwards for a space on UNIX; names don't start with "\Device\", or even "/dev/", and don't have spaces in them on any UNIX-flavored OS I know of.) svn path=/trunk/; revision=9859
2004-01-25Get rid of an unused variable.Guy Harris1-2/+1
svn path=/trunk/; revision=9854
2004-01-25In "main_filter_packets()", use the "cf" argument rather than alwaysGuy Harris1-3/+3
passing "&cfile" to "filter_packets()". Mark the "w" argument to "filter_activate_cb()" as unused. svn path=/trunk/; revision=9853
2004-01-25Have the Wiretap open, read, and seek-and-read routines return, inGuy Harris5-20/+22
addition to an error code, an error info string, for WTAP_ERR_UNSUPPORTED, WTAP_ERR_UNSUPPORTED_ENCAP, and WTAP_ERR_BAD_RECORD errors. Replace the error messages logged with "g_message()" for those errors with g_strdup()ed or g_strdup_printf()ed strings returned as the error info string, and change the callers of those routines to, for those errors, put the info string into the printed message or alert box for the error. Add messages for cases where those errors were returned without printing an additional message. Nobody uses the error code from "cf_read()" - "cf_read()" puts up the alert box itself for failures; get rid of the error code, so it just returns a success/failure indication. Rename "file_read_error_message()" to "cf_read_error_message()", as it handles read errors from Wiretap, and have it take an error info string as an argument. (That handles a lot of the work of putting the info string into the error message.) Make some variables in "ascend-grammar.y" static. Check the return value of "erf_read_header()" in "erf_seek_read()". Get rid of an unused #define in "i4btrace.c". svn path=/trunk/; revision=9852
2004-01-25adding a function to the help dialog, showing a specific topic (context help),Ulf Lamping4-87/+157
beautifying the placement of the help button in the button_row, using the context help for the filter dialog svn path=/trunk/; revision=9851
2004-01-25apply automatically generated filters strings to the recent dropdown list,Ulf Lamping7-27/+57
e.g. when applying a "Follow TCP stream", fix a bug in the recent function, discarding the newest entries when saving a full list (now discarding the oldest). svn path=/trunk/; revision=9849
2004-01-25fix some filter dialog thingsUlf Lamping1-6/+4
svn path=/trunk/; revision=9848
2004-01-25add syntax check and an "Add Expression" button to the filter toolbarUlf Lamping3-34/+70
svn path=/trunk/; revision=9839
2004-01-25added/changed some tooltipsUlf Lamping2-7/+22
svn path=/trunk/; revision=9838
2004-01-25changed the behaviour of the edit buttons to make more sense,Ulf Lamping1-209/+115
removed the no longer needed "Edit and "Copy" buttons, do a lot of code cleanup svn path=/trunk/; revision=9837
2004-01-25make resized prefs_dlg look betterUlf Lamping1-2/+2
svn path=/trunk/; revision=9836
2004-01-25minor GTK2 layout changeUlf Lamping1-1/+5
svn path=/trunk/; revision=9835
2004-01-25Report open errors when saving the contents of an RTP stream. Check forGuy Harris3-9/+34
and report write errors as well. svn path=/trunk/; revision=9833
2004-01-25Check for write errors when writing CSV data as well.Guy Harris1-10/+78
Check for write errors when opening the CSV file to write the reverse data information. For some reason (perhaps having to do with the sort indicators in titles, the column titles don't show up in the GtkCList structure, so they don't get printed; just directly use the table of column titles. svn path=/trunk/; revision=9832
2004-01-25Check whether the "fopen()" that creates a CSV file fails and, if so,Guy Harris1-1/+6
report the error and don't dismiss the file selection dialog box. svn path=/trunk/; revision=9831
2004-01-25Don't have "follow_print_text()" display the error message, leave thatGuy Harris1-211/+222
up to its caller. Show errors as such, not as warnings, and show the right error message for failures to open/create output files. svn path=/trunk/; revision=9830
2004-01-25There's no need to keep a "FILE *" for the file being printed to in aGuy Harris2-8/+27
"capture_file" structure. Keep it locally, instead. Check for errors when printing packets. Report failure to open a print destination and failure to write to a print destination differently. Don't have the "print preamble" and "print final" routines return success/failure indications - revert to the old scheme where they didn't, and have the callers use "ferror()" to check for errors. Report write errors when printing dissections in Tethereal. Report print errors as errors, not warnings. svn path=/trunk/; revision=9828
2004-01-24As with "file_write_error_message()", so withGuy Harris1-24/+87
"file_close_error_message()" - but just use "file_write_error_message()" for UNIX-style errors, under the assumption that a close will only fail because a buffer-flushing write fails or because "close()" itself fails when, for example, pushing unsynced NFS client-side writes out over the wire. Make several routines in "print.c" return success/failure indications. Check for write errors when printing "Follow TCP Stream" stuff or saving it to a file. svn path=/trunk/; revision=9825
2004-01-24As with "cf_open_error_message()"/"file_open_error_message()", so withGuy Harris1-2/+2
"cf_write_error_message()"/"file_write_error_message()". Use "file_open_error_message()" instead of "cf_open_error_message()" in some places we missed in the previous checkin. Catch ENOSPC and EDQUOT in "file_open_error_message()". Use "file_open_error_message()" rather than "file_write_error_message()" to report errors when creating the file to which we're saving the "Follow TCP Stream" data. svn path=/trunk/; revision=9823
2004-01-24From Lars Ruoff (who also contributed the previous change; my apologiesGuy Harris1-42/+79
to both Larses): - Comfort noise (CN) packets and packets following them immediately are excluded from maximum delay calculation (as well as marked packets are) - Payload changes between CN and regular packets are ignored. - Added a "Marker missing?" status warning for packets following CN that don't have the marker bit set (cf. RFC1890 4.1) - Changed status "Ok" to "[ Ok ]", so that when sorting by status column, all non-Oks are grouped together. - Minor GUI updates: reduced size of box, borders, spacing, changed highlight colors. svn path=/trunk/; revision=9819
2004-01-24Have "font_apply()" return an indication as to whether it succeeded orGuy Harris4-19/+119
failed and, if it failed, how it failed. Have it leave up to its caller the job of reporting that it couldn't load the requested font; have its callers do that, and have them set the zoom level on failure so that we have a zoom level that is at least more likely to work. Make the alert boxes for "font_apply()" failures be error boxes, not warning boxes. svn path=/trunk/; revision=9818
2004-01-23Do the font loading code as two larger sections of code, one for GTK+Guy Harris1-43/+42
1.2[.x] and one for GTK+ 2.x, rather than as one section peppered with #ifdefs. svn path=/trunk/; revision=9817
2004-01-23Include the AddStyleName information in the zoomed font name.Guy Harris1-7/+8
svn path=/trunk/; revision=9816
2004-01-23If we call "font_apply()", we don't need to callGuy Harris1-7/+9
"redraw_hex_dump_all()". svn path=/trunk/; revision=9815
2004-01-23If the zoom factor is zero, don't construct a new font name - theGuy Harris1-12/+14
supplied font name is correct. That lets us handle fonts whose size we can't change because this is GTK+ 1.2[.x] and the name isn't an XLFD name so we don't know where the size is. In "font_zoom()", remove some code from the GTK+ 1.2[.x] vs. GTK+ 2.x #ifdefs. Fix the comment for "font_zoom()". Get rid of a no-longer-used "simple_dialog()" argument. svn path=/trunk/; revision=9814
2004-01-23Clean up indentation.Guy Harris1-54/+60
Make "font_zoom()" static - it's not used outside gtk/main.c. Use "g_strdup()" rather than "strdup()", as we use "g_free()" to free the result. Put in a little more information when "font_zoom()" fails due to the font name not being an XLFD font name, and don't continue if it fails. Don't continue if the attempt to load the fonts fails, either. svn path=/trunk/; revision=9813
2004-01-23fixed various things in "View" menuUlf Lamping1-20/+20
svn path=/trunk/; revision=9809
2004-01-23added a commentUlf Lamping1-1/+3
svn path=/trunk/; revision=9808
2004-01-23fix assert, when failed loading zoomed font,Ulf Lamping1-6/+42
prepare possibility to put filter toolbar just below the main toolbar svn path=/trunk/; revision=9807