aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/packet_list_store.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-16Add wtap_pseudo_header union to wtap_pkthdr structure.Jakub Zawadzki1-3/+3
Use pkthdr instead of pseudo_header as argument for dissecting. svn path=/trunk/; revision=45601
2012-09-23Glib type checking might be cheap, but there's no need to do it twice.Jakub Zawadzki1-12/+17
(Actually many GtkTreeModel don't check types at all). svn path=/trunk/; revision=45073
2012-09-23Speedup loading capture files by about 20%-30% (wireshark only)Jakub Zawadzki1-2/+1
Right now packetlist model is used only by one treeview, so we can check if packetlist->view has connected model if no, don't emit row-inserted signal. svn path=/trunk/; revision=45063
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-04- Replace packet_list_recreate_visible_rows -> ↵Jörg Mayer1-7/+7
packet_list_recreate_visible_rows_list - Replace new_packet_list_ -> packet_list_ svn path=/trunk/; revision=44765
2012-09-03When inserting row there's no need to call packet_list_get_iter.Jakub Zawadzki1-23/+13
Also, don't set iter.user_data[23] in packet_list_get_iter(). We don't use them in packet_list_store. svn path=/trunk/; revision=44752
2012-08-14Use frame_data_compare() to compare frame numbers.Jakub Zawadzki1-5/+5
svn path=/trunk/; revision=44493
2012-07-26Make columnized and colorized bit field.Jakub Zawadzki1-5/+5
svn path=/trunk/; revision=44034
2012-07-26Add checks if stamp values matches. Remove packet_list_visible_recordJakub Zawadzki1-31/+25
svn path=/trunk/; revision=44033
2012-07-26physical_pos is now used only for checks, ifdef it in PACKET_PARANOID_CHECKS ↵Jakub Zawadzki1-0/+12
to save some memory svn path=/trunk/; revision=44032
2012-07-26Exploit short-circuit evaluation, so first check variable, later call functionJakub Zawadzki1-2/+2
svn path=/trunk/; revision=44031
2012-07-26Move checks outside loopJakub Zawadzki1-5/+5
svn path=/trunk/; revision=44030
2012-07-26Pass record to packet_list_change_record() not physical_pos Jakub Zawadzki1-10/+3
svn path=/trunk/; revision=44029
2012-07-25Allocate col_text & col_text_len only for columns not based on frame_dataJakub Zawadzki1-45/+58
svn path=/trunk/; revision=44006
2012-07-25Remove packet_list->column_typesJakub Zawadzki1-45/+33
svn path=/trunk/; revision=44005
2012-07-25Make PacketListRecord structure private.Jakub Zawadzki1-18/+33
svn path=/trunk/; revision=44004
2012-07-25Fix bug #7347: "Resize All Columns" fails in Time ColumnJakub Zawadzki1-80/+15
If column is based on frame data packet_list_get_widest_column_string() was constructing his own frame_data with biggest *value* for given column (which might be not the longest string) and later fill column for it. Which generally should work (time precision is fixed), but in r41185 to lot col_*() function was added check if fd->flags.has_ts is set. packet_list_get_widest_column_string() was passing frame_data with flags.has_ts unset. To make maintaince easier, instead of fixing the problem with flags.has_ts, generate column buffer for each frame, and find the one which has longest string. svn path=/trunk/; revision=43991
2012-07-19Need old-gtk-compat.h for gtk_widget_get_window() in older versions ofGuy Harris1-0/+2
GTK+. svn path=/trunk/; revision=43838
2012-07-19Pass {delayed_}create_progress_dlg a pointer the top level windowGerald Combs1-1/+2
so that we can properly associate a widget with create, update, and destroy events. Only used by Qt so far but it should be easy enough to add to GTK+. Rename ui/qt/progress_dialog.{h,cpp} to progress_bar.{h,cpp}. Show a progress bar in the status bar of the main window instead of creating a separate dialog. Note that we still need to add a "cancel" mechanism and display the task and item titles somewhere. Thus began the War Against Gratuitous Dialogs. svn path=/trunk/; revision=43833
2012-06-18Fix r43338 once again :(Jakub Zawadzki1-11/+10
svn path=/trunk/; revision=43342
2012-06-18Fix r43338Jakub Zawadzki1-10/+11
svn path=/trunk/; revision=43339
2012-06-18Change record->col_text_len type to unsigned short.Jakub Zawadzki1-2/+10
Maximal length of column is defined as 256, for COL_INFO it's 4096, so limiting it to 65535 bytes in GUI is OK. XXX To save memory more, we could make col_text_len[] member of PacketList, not PacketListRecord. svn path=/trunk/; revision=43338
2012-01-16Move some headers for UI stuff, and the alert_box.c UI-specific file, toGuy Harris1-3/+3
the ui directory. (Perhaps some other files that would be used by all flavors of Wireshark, for any GUI toolkit or for someting such as ncurses, and not for any command-line tool such as TShark, should be moved there as well.) Shuffle some #includes to put the "ui/XXX.h" includes together. svn path=/trunk/; revision=40529
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-0/+1347
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518