aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/edit_packet_comment_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-17Move the epan/filesystem.c routines to wsutil; they're not specific toGuy Harris1-1/+1
packet dissection, they're specific to the entire Wireshark suite of programs. svn path=/trunk/; revision=53377
2013-08-01Remove fdata->opt_comment, add pkt_comment to pinfoJakub Zawadzki1-5/+3
Original (read from file) comments can be accessed by pkthdr->opt_comment Keep user comments in seperated BST, add new method for epan session to get it. svn path=/trunk/; revision=51090
2013-06-19update the button in the status bar when a packet comment is addedMartin Kaiser1-0/+1
(this is a quick fix, the case when the last comment is removed is still not handled correctly) svn path=/trunk/; revision=50069
2013-05-13Eliminate some includes of ui/simple_dialog.h by files that don't useGuy Harris1-1/+0
anything from it. svn path=/trunk/; revision=49277
2013-03-21From beroset:Bill Meier1-1/+1
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10404 Note: The following parts of the patch had been previously done: asn1/snmp/packet-snmp-template.c epan/dissectors/packet-snmp.c epan/dissectors/packet-x11.c Also; hostlist_table.c: code under '#ifdef HAVE_GEOIP' didn't compile and needed a few additional patches. svn path=/trunk/; revision=48447
2013-03-09Use explicit casts.Anders Broman1-5/+5
svn path=/trunk/; revision=48212
2013-02-20make function names consistentMartin Kaiser1-1/+1
edit_capture_dlg_launch() -> edit_capture_comment_dlg_launch() svn path=/trunk/; revision=47780
2013-02-20kill an "edit capture comment" popup if the underlying file is closedMartin Kaiser1-0/+7
(at the moment, the edit window remains open even if the file is closed or changed, this allows effectively to overwrite a file's capture commment with the capture comment of a previously used file) svn path=/trunk/; revision=47779
2012-12-26Move summary related stuff to summary_dlgAnders Broman1-79/+0
svn path=/trunk/; revision=46782
2012-12-23Qt: Implement packet comments. Fix packet detail updates.Gerald Combs1-4/+1
GTK+: Shorten the packet comment menu item name. Remove a couple of unneeded includes. Both: Add an arbitrary 20 MB limit when fetching all packet comments. Use a color from the Tango palette for comments. svn path=/trunk/; revision=46709
2012-12-22Remove unneeded initializations, and one redundant if condition.Evan Huus1-4/+4
svn path=/trunk/; revision=46702
2012-11-28Remove a now-unused variable.Jeff Morriss1-1/+0
svn path=/trunk/; revision=46246
2012-11-28Add a copy button that copies to clipboard.Anders Broman1-7/+27
svn path=/trunk/; revision=46245
2012-11-27Start including info from Statistics/Summary.Anders Broman1-4/+7
svn path=/trunk/; revision=46219
2012-11-26Rudimentary code to show comments summary.Anders Broman1-0/+61
svn path=/trunk/; revision=46204
2012-09-24change the capture comment icon in the statusbar from "add" to "edit"Martin Kaiser1-0/+3
when a comment was added (deletion of a comment is not recognized correctly) svn path=/trunk/; revision=45109
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
svn path=/trunk/; revision=45016
2012-09-10update the expert info entries after a packet comment was modifiedMartin Kaiser1-0/+2
the packet comment window can be opened from the expert infos by clicking on a comment, when a comment is modified in this way, we have to cf_retap_packets() to update the expert infos window https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7690 svn path=/trunk/; revision=44852
2012-09-04- Replace packet_list_recreate_visible_rows -> ↵Jörg Mayer1-2/+2
packet_list_recreate_visible_rows_list - Replace new_packet_list_ -> packet_list_ svn path=/trunk/; revision=44765
2012-09-04Rename new_packet_list.[ch] to packet_list.[ch]Jörg Mayer1-1/+1
svn path=/trunk/; revision=44764
2012-09-03add a vertical scrollbar to the text input windows for capture commentMartin Kaiser1-4/+18
and packet comment scrollbar is shown only when the text does not fit into the window this fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7677 svn path=/trunk/; revision=44754
2012-07-19Shoul be gtk_box_pack_start(GTK_BOX (vbox), message_type_fr, TRUE, TRUE, 0);Anders Broman1-2/+2
svn path=/trunk/; revision=43828
2012-07-19gtk_container_add() -> gtk_box_pack_start().Anders Broman1-2/+2
svn path=/trunk/; revision=43825
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-04Have a main_update_for_unsaved_changes() routine that, if changes areGuy Harris1-3/+2
made to the capture file (adding/removing/editing comments, for now) or if a capture file with unsaved changes are unsaved, updates the menu bar, the toolbar, *and* the titlebar, which now has a GNOME-style "*" to indicate unsaved changes. Make set_menus_for_capture_file() a private interface between main.c and main_menubar.c, and have its callers, such as main_update_for_unsaved_changes(), be responsible for updating the toolbar as well. svn path=/trunk/; revision=43051
2012-05-24Don't include a Clear button in the packet- and capture-file-comment dialogs:Jeff Morriss1-21/+4
the user can just Ctrl-A + backspace if they want to do that. svn path=/trunk/; revision=42836
2012-05-24Enable word wrapping for capture-file comments.Jeff Morriss1-2/+1
svn path=/trunk/; revision=42835
2012-05-24Word-wrap comments in the display.Guy Harris1-0/+1
svn path=/trunk/; revision=42833
2012-05-24Free the comment after calling gtk_text_buffer_set_text().Jeff Morriss1-2/+4
svn path=/trunk/; revision=42828
2012-05-05AFAICT '#include sys/types.h' is not needed for these files.Bill Meier1-3/+0
svn path=/trunk/; revision=42443
2012-04-20Replace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().Anders Broman1-2/+2
svn path=/trunk/; revision=42161
2012-03-28Add newline at end of file to fix compilation error.Stephen Fisher1-1/+1
svn path=/trunk/; revision=41820
2012-03-23Don't mark the file as unsaved unless the capture or packet comments ↵Jeff Morriss1-2/+1
actually changed. svn path=/trunk/; revision=41744
2012-03-08Create some standard definitions for dialog control spacing. Use them inGerald Combs1-4/+4
the comment dialog. svn path=/trunk/; revision=41412
2012-03-07Rename the functions and variables to go along with r41410.Jeff Morriss1-16/+16
svn path=/trunk/; revision=41411
2012-03-07Use OK, Clear, and Cancel in the comment dialogs (instead of Save, Clear, ↵Jeff Morriss1-8/+8
and Close). This makes the UI similar to our Preferences dialog. And it avoids confusion about whether Save will save the file or not. svn path=/trunk/; revision=41410
2012-03-07Set File->Save sensitivity after file or packet comments are changed.Jeff Morriss1-8/+9
svn path=/trunk/; revision=41409
2012-03-01#if out setting the help buttons' callbacks to NULL to avoid ↵Jeff Morriss1-0/+4
GLib-Object-CRITICAL warnings. svn path=/trunk/; revision=41269
2012-03-01Keep track of whether we have a "Edit Capture Comment" dialog open. If we do,Jeff Morriss1-6/+22
don't open another one. Make a couple globals static. svn path=/trunk/; revision=41268
2012-02-29- Add a LED in the statusbar to indicate that capture comments exists,Anders Broman1-3/+96
clickable to open an edit window. - Add checks for NULL pointers. Help with a different color LED possibly with Jeff's (c) in it apreceated. Should the LED be placed elsewhere or the whole thing done differently? svn path=/trunk/; revision=41242
2012-02-28Packet comments are workingAnders Broman1-1/+1
svn path=/trunk/; revision=41218
2012-02-13Mark an unused parameter.Anders Broman1-1/+1
svn path=/trunk/; revision=41016
2012-02-13Edit packet commentsAnders Broman1-4/+27
svn path=/trunk/; revision=41013
2012-02-12Capitalize the "P" in "Packet" in "Add or Edit Packet Comment". AddGuy Harris1-2/+3
"..." after it, as it pops up a dialog box to let you actually type in a comment. Add "Add or Edit Packet Comment" to the menubar's Edit menu. svn path=/trunk/; revision=41005
2012-02-12Add a button row.Anders Broman1-9/+43
svn path=/trunk/; revision=41003
2012-02-12Get it compiling.Michael Tüxen1-1/+1
svn path=/trunk/; revision=40986
2012-02-12Get the comment and put it in the textview.Anders Broman1-2/+11
svn path=/trunk/; revision=40985
2012-02-12Try to make the buildbot happy.Anders Broman1-2/+19
svn path=/trunk/; revision=40983
2012-02-12Add the edit packet comment menu entry and the empty filesAnders Broman1-0/+59
to actually handel the menu to edit the comments. svn path=/trunk/; revision=40980