aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/packet_list_store.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-12Note that we should catch the OutOfMemoryError exception here to avoidGuy Harris1-0/+4
an "unhandled exception" crash if we run out of memory. svn path=/trunk/; revision=39797
2011-08-24Simplified some GTK_CHECK_VERSION to improve readability.Stig Bjørlykke1-2/+1
svn path=/trunk/; revision=38708
2011-08-18More GTK 3.0 changes.Anders Broman1-0/+3
svn path=/trunk/; revision=38593
2011-07-13make compiling with -DGTK_DISABLE_DEPRECATED workJörg Mayer1-4/+4
svn path=/trunk/; revision=38005
2011-07-04From Michael Mann:Anders Broman1-7/+4
Added ability to display UTC time or UTC time with date. I liked having the difference between UTC and local time, not just setting local=UTC. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2629 svn path=/trunk/; revision=37898
2011-05-03TShark doesn't need column text attached to each frame; move col_textGuy Harris1-22/+24
and col_text_len from the frame_data structure to the PacketRecord structure. svn path=/trunk/; revision=36967
2011-04-09From Jakub Zawadzki via bug 5809:Stig Bjørlykke1-4/+16
Compare frame number when columns are equal. svn path=/trunk/; revision=36532
2011-04-09In packet_list_dissect_and_cache_record(), set the columns toGuy Harris1-2/+27
*something* if we get an error reading the packet from the capture file, rather than leaving them as null (which will cause a crash). svn path=/trunk/; revision=36527
2011-03-12Fix bug #5189: Wireshark crashes when cancelling a large sort operation.Bill Meier1-61/+87
Essentially: Don't try to sort if the pre-requisite "columnization" step is stopped via the progressbar dialog window before the step completes. Also: Fix a (very) minor bug wherein the sort-indicator not always cleared on the "previous column" when "No Sorting" was selected from a column context menu. Also: Do minor code, comments & whitespace cleanup. svn path=/trunk/; revision=36180
2011-03-08Removal of the old packet-list in favor of the new packet list.Sake Blok1-5/+0
It compiles with "./configure without options" on my Mac. Let's see what the buildbots have to say about it :-) svn path=/trunk/; revision=36161
2011-02-18Fix a few errors found by Clang scan-build.Gerald Combs1-1/+1
svn path=/trunk/; revision=36002
2011-01-30Fix various instances of "unreachable code".Bill Meier1-1/+1
svn path=/trunk/; revision=35713
2011-01-17Remove redundant test for a non-null pointer;Bill Meier1-1/+1
svn path=/trunk/; revision=35570
2010-08-13Get rid of some no-longer-necessary includes of simple_dialog.h (nowGuy Harris1-1/+0
that cf_read_frame() and cf_read_frame_r() pop up an alert box on an error, its callers no longer do so). svn path=/trunk/; revision=33792
2010-08-13Instead of using a Boolean for the search direction, use an enum, soGuy Harris1-7/+2
that you can tell from examination whether the search is forward or backward. Make the cf_find_packet routines take the direction as an explicit argument, rather than, in the cases where you don't want to permanently set the direction, saving the direction in the capture_file structure, changing it, doing the search, and restoring the saved direction. Give more information in the Doxygen comments for those routines. Add a cf_find_packet_dfilter_string() routine, which takes a filter string rather than a compiled filter as an argument. Replace find_previous_next_frame_with_filter() with it. Have cf_read_frame_r() and cf_read_frame() pop up the error dialog if the read fails, rather than leaving that up to its caller. That lets us eliminate cf_read_error_message(), by swallowing its code into cf_read_frame_r(). Add Doxygen comments for cf_read_frame_r() and cf_read_frame(). Don't have find_packet() read the packet before calling the callback routine; leave that up to the callback routine. Add cf_find_packet_marked(), to find the next or previous marked packet, and cf_find_packet_time_reference(), to find the next or previous time reference packet. Those routines do *not* need to read the packet data to see if it matches; that lets them run much faster. Clean up indentation. svn path=/trunk/; revision=33791
2010-06-26Fixed removing a Time Reference from a column not matching the display filter.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=33334
2010-06-26Always show packets with Time Reference (as in the old packet list).Stig Bjørlykke1-4/+4
Recreate visible rows when removing a Time Reference which has not passed the display filter. svn path=/trunk/; revision=33332
2010-06-25Introduce "Show Resolved" as an option in custom columns. This will determineStig Bjørlykke1-2/+6
if we show the value or the string representing the value. This setting is not stored in the preferences file yet, and the option is not available in the columns preferences window. svn path=/trunk/; revision=33317
2010-05-28From Jakub Zawadzki via bug 4273:Gerald Combs1-3/+6
After appending new record set packet_list->columnized to FALSE. From me: Use g_ptr_array_sort_with_data instead of g_qsort_with_data in case the GPtrArray internals ever change. svn path=/trunk/; revision=33011
2010-05-26From Jakub Zawadzki:Anders Broman1-2/+1
New functions: cf_read_frame_r, cf_read_frame It's much easier to write: cf_read_frame (cf, fdata, &err, &err_info) Than: wtap_seek_read (cf->wth, fdata->file_off, &cf->pseudo_header, cf->pd, fdata->cap_len, &err, &err_info) svn path=/trunk/; revision=32980
2010-05-20Don't assume that certain address columns are always constant strings -Guy Harris1-10/+2
they're no more guaranteed to be constant strings than the columns we're *not* assuming are constant strings. Fixes bug 4771. svn path=/trunk/; revision=32906
2010-05-05Update the comment about being based on the GTK Tree View Tutorial,Stephen Fisher1-1/+2
including putting /tutorial/ at the end of the URL because the main web-site is something unrelated to the tutorial. svn path=/trunk/; revision=32668
2010-04-29Several dissectors fill in custom custom data in the source andGerald Combs1-2/+2
destination address columns. Don't clobber it in the new packet list. svn path=/trunk/; revision=32609
2010-02-09Read the packet into private areas (private pseudo-header and packetGuy Harris1-4/+6
data), rather than overwriting the information in the cinfo structure. This at least appears to fix bug 4056. svn path=/trunk/; revision=31844
2010-02-01Issue a row_inserted signal if the model is connectedAnders Broman1-6/+9
svn path=/trunk/; revision=31746
2010-01-29Fix various gcc -Wshadow warnings.Bill Meier1-5/+5
svn path=/trunk/; revision=31731
2009-11-27Added correct sorting for custom numeric columns.Stig Bjørlykke1-2/+37
svn path=/trunk/; revision=31097
2009-11-24Use the highest time value when calculating widest column string forStig Bjørlykke1-11/+11
time columns. Not the one different from the previous, which in most cases is the last one in the list. svn path=/trunk/; revision=31061
2009-11-10Removed some unused variables and unused assignments.Stig Bjørlykke1-3/+0
svn path=/trunk/; revision=30918
2009-10-27From Jakub Zawadzki:Anders Broman1-1/+10
Don't duplicate empty string in col_text svn path=/trunk/; revision=30725
2009-10-24From Jakub Zawadzki via bug 3764:Stig Bjørlykke1-3/+3
Don't call strcmp() when pointers are the same. svn path=/trunk/; revision=30685
2009-10-08Use a "String pool" in the new packet list to reduce memory usage.Anders Broman1-2/+6
svn path=/trunk/; revision=30400
2009-09-20Add myself and Kovarththanan Rajaratnam as co authors.Anders Broman1-0/+1
svn path=/trunk/; revision=30006
2009-09-20Use G_STRLOCKovarththanan Rajaratnam1-11/+3
svn path=/trunk/; revision=29991
2009-09-17Try to get the Solaris build going...Anders Broman1-0/+6
(Google is your friend) svn path=/trunk/; revision=29966
2009-09-11svn path=/trunk/; revision=29868Gerald Combs1-0/+1
2009-09-09Allocate col_text and col_text_len when the fdata struct is allocated.Anders Broman1-7/+2
svn path=/trunk/; revision=29817
2009-09-08Add an option to col_fill_in() to allow us to disable column expression ↵Kovarththanan Rajaratnam1-2/+2
processing. This is rarely needed. It's only needed when the user right clicks on the packet list view to generate a display filter. svn path=/trunk/; revision=29806
2009-09-08Custom columnfication:Kovarththanan Rajaratnam1-1/+0
* Deprecate COL_DCE_CTX ("Context ID). Use dcerpc.cn_ctx_id svn path=/trunk/; revision=29797
2009-09-08Fixed initialization of fdata.Stig Bjørlykke1-1/+2
svn path=/trunk/; revision=29788
2009-09-07Rename packet_list_dissect_and_cache => packet_list_dissect_and_cache_iterKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29781
2009-09-07Make sure that we fill in the frame_data before passing it onto ↵Kovarththanan Rajaratnam1-21/+60
col_fill_in_frame_data svn path=/trunk/; revision=29780
2009-09-07Auto resize rest of the frame_data columnsKovarththanan Rajaratnam1-22/+2
svn path=/trunk/; revision=29779
2009-09-07Auto size COL_NUMBER, COL_PACKET_LENGTH and COL_CUMULATIVE_BYTESKovarththanan Rajaratnam1-77/+149
svn path=/trunk/; revision=29778
2009-09-07Add progress bar while constructing columns (which is time consuming)Kovarththanan Rajaratnam1-11/+73
svn path=/trunk/; revision=29777
2009-09-07Track how many const strings we're storing. This is guarded by ↵Kovarththanan Rajaratnam1-1/+16
NEW_PACKET_LIST_STATISTICS svn path=/trunk/; revision=29775
2009-09-07ntroduce some seasonal address name lookup functions which we use when ↵Kovarththanan Rajaratnam1-17/+18
NEW_PACKET_LIST is defined. This change partially reverts some parts of r29768, which didn't seem to work because it assumed that get_addr_name() would always return a seasonal string. This wasn't the case if the adddress type was AT_STRINGZ. svn path=/trunk/; revision=29771
2009-09-07Use constant strings for Addresses saves some memory.Anders Broman1-0/+22
svn path=/trunk/; revision=29768
2009-09-07Auto resize non frame_data based columnsKovarththanan Rajaratnam1-0/+37
svn path=/trunk/; revision=29766
2009-09-07Track length of columns strings. We'll need this in order to resize columns ↵Kovarththanan Rajaratnam1-3/+9
quickly svn path=/trunk/; revision=29759