aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-27Squelch a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=32310
2010-03-15Measure the filtering time.Anders Broman1-0/+6
svn path=/trunk/; revision=32192
2010-02-24Uh, no need to check for having custom columns to callStig Bjørlykke1-6/+3
col_custom_prime_edt(). svn path=/trunk/; revision=31991
2010-02-24Fix for bug 4323 & 4511:Stig Bjørlykke1-0/+6
Call col_custom_prime_edt() when having custom columns on print and export to csv and psml. svn path=/trunk/; revision=31990
2010-02-17Another Laura bug: Don't reset the file load time in the status bar whenGerald Combs1-6/+4
we apply a display filter. Display the load time as "Load time: M:SS.SSS" instead of "Time: HH:MM:SS.SSS". svn path=/trunk/; revision=31909
2010-02-01Don't freeze/thaw the list when stoping a live capture.Anders Broman1-2/+4
svn path=/trunk/; revision=31754
2010-02-01Don't freeze/thaw the list when doing live captures.Anders Broman1-4/+7
svn path=/trunk/; revision=31748
2010-01-20From Jim Young:Anders Broman1-1/+1
Wireshark GUI not reporting filename after save of new capture file. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4406 svn path=/trunk/; revision=31587
2009-12-17Introduce "Ignore Packet" in the packet list.Stig Bjørlykke1-0/+30
This will remove the package from the dissection functions without removing it from the capture file. svn path=/trunk/; revision=31287
2009-12-14From Valerio Messina:Jaap Keuter1-14/+23
As now, when Wireshark save capture files, it show "Loading" in status bar and in the dialog box, warning many users of lost them packets. Saving work as expected. Is simply a GUI use interaction problem. svn path=/trunk/; revision=31269
2009-11-10From Stig:Anders Broman1-0/+2
Invalidate cfile.current_row instead(revert 30910). svn path=/trunk/; revision=30925
2009-11-04Add the ability to push temporary (and highlighted) messages onto theGerald Combs1-20/+6
statusbar. This lets us notify the user about something significant without having to pop up an annoying window. Replace a few dialogs with statusbar messages. svn path=/trunk/; revision=30810
2009-10-29Fixed 'Delta timestamp to previous captured frame' calculation inStig Bjørlykke1-49/+4
old packet list. This bug was introduced in r30052. svn path=/trunk/; revision=30758
2009-10-19Made some functions static.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30616
2009-10-02Prime interesting fields when selecting a package, so Lua's ProtoFieldStig Bjørlykke1-0/+1
can extract the field value correctly. This fixes bug 4058. svn path=/trunk/; revision=30252
2009-09-22Select the first packet when doing a live capture. In the old packet list ↵Anders Broman1-0/+5
this is automatically done as the clist emits a selct-row signal. Seting focus in new_packet_list_moveto_end() seems also to be needed to make it work properly I'm not 100% sure if it should be done differently. svn path=/trunk/; revision=30074
2009-09-22dfilter_free() can handle a NULL pointer so don't guard against that before ↵Kovarththanan Rajaratnam1-13/+6
calling it svn path=/trunk/; revision=30072
2009-09-22Introduce cap_file_add_fdata() and start using itKovarththanan Rajaratnam1-10/+3
svn path=/trunk/; revision=30071
2009-09-22Switch Wireshark GUI (file.c) over to using frame_data.cKovarththanan Rajaratnam1-81/+6
svn path=/trunk/; revision=30067
2009-09-22Make sure that the old packet list works with the changes introduced in r30047Kovarththanan Rajaratnam1-4/+4
svn path=/trunk/; revision=30060
2009-09-21Bring frame_data_init() and add_packet_to_packet_list() more in sync by ↵Kovarththanan Rajaratnam1-5/+6
adding 'ref_time' handling to frame_data_init(). For tshark/rawshark this is unused because they only do a single pass through the capture file svn path=/trunk/; revision=30055
2009-09-21Only set cumulative bytes after passing the display filter testKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=30053
2009-09-21Move 'Delta timestamp to previous captured frame' calculation inside ↵Kovarththanan Rajaratnam1-6/+19
add_packet_to_packet_list(). This is done in order to streamline add_packet_to_packet_list() with frame_data_init(). Hopefully we can switch to frame_data_init() soon svn path=/trunk/; revision=30052
2009-09-21Rename capture_file.plist to capture_file.plist_start to make it consistent ↵Kovarththanan Rajaratnam1-9/+9
with capture_file.plist_end svn path=/trunk/; revision=30047
2009-09-21Remove second (redundant) assignment to fdata->cum_bytesKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=30046
2009-09-21Reverse order of NEW_PACKET_LIST guard, i.e. #ifdef NEW_PACKET_LIST instead ↵Kovarththanan Rajaratnam1-88/+86
of #ifndef NEW_PACKET_LIST svn path=/trunk/; revision=30045
2009-09-21Fix typo in commentStephen Fisher1-1/+1
svn path=/trunk/; revision=30043
2009-09-21(cosmetic change) - reset cumulative bytes together with 'first_ts' and ↵Kovarththanan Rajaratnam1-476/+474
'prev_dis_ts' svn path=/trunk/; revision=30042
2009-09-21cf->dfilter is only set if it's valid so assert if that's not the caseKovarththanan Rajaratnam1-20/+15
svn path=/trunk/; revision=30041
2009-09-21Reset cumulative bytes when we open the fileKovarththanan Rajaratnam1-2/+2
svn path=/trunk/; revision=30040
2009-09-21Set fdata->num up front and roll back if necessaryKovarththanan Rajaratnam1-4/+8
svn path=/trunk/; revision=30039
2009-09-21Shuffle NEW_PACKET_LIST guardKovarththanan Rajaratnam1-6/+4
svn path=/trunk/; revision=30038
2009-09-21Introduce a NEW_PACKET_LIST specialized version of ↵Kovarththanan Rajaratnam1-21/+138
add_packet_to_packet_list(). The old one contained too many #ifdef NEW_PACKET_LIST which reduced readability svn path=/trunk/; revision=30036
2009-09-21cf_change_time_formats() is not needed with new packet list.Anders Broman1-27/+16
svn path=/trunk/; revision=30034
2009-09-21Add NEW_PACKET_LIST guard wrt fdata->col_textKovarththanan Rajaratnam1-3/+5
svn path=/trunk/; revision=30030
2009-09-20Introduce frame_data_cleanup() and start using itKovarththanan Rajaratnam1-17/+6
svn path=/trunk/; revision=30023
2009-09-15From Jakub Zawadzki:Kovarththanan Rajaratnam1-4/+2
Fix copy/paste error wrt. fdata->col_text_len svn path=/trunk/; revision=29921
2009-09-15Fix:Anders Broman1-1/+8
cleanup_dissection() calls se_free_all(); And after that fdata->col_text (which is allocated using se_alloc0()) no longer points to valid memory. svn path=/trunk/; revision=29920
2009-09-11Fix warning that variable may be unused and then declare volatile so itStephen Fisher1-1/+1
survives the TRY/CATCH code. svn path=/trunk/; revision=29863
2009-09-11Only move to last row if it's vissible.Anders Broman1-2/+7
svn path=/trunk/; revision=29861
2009-09-11New_packet_listAnders Broman1-28/+316
Select the correct frame in packet details when filtering. svn path=/trunk/; revision=29857
2009-09-09Allocate col_text and col_text_len when the fdata struct is allocated.Anders Broman1-0/+2
(complete the checkin). svn path=/trunk/; revision=29818
2009-09-08Add an option to col_fill_in() to allow us to disable column expression ↵Kovarththanan Rajaratnam1-4/+4
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-07Make sure that reset the elapsed time to load a file before we reload/rescan ↵Kovarththanan Rajaratnam1-17/+27
the file svn path=/trunk/; revision=29783
2009-09-07Rename new_packet_list_set_time_width() -> new_packet_list_resize_column() ↵Kovarththanan Rajaratnam1-2/+2
because it contains no time format specific code. Further this change also ensures that new_packet_list_resize_columns() uses the newly introduced new_packet_list_resize_column() svn path=/trunk/; revision=29782
2009-09-07Store the packet encapsulation type as gint8. Saves 3 bytes per packetKovarththanan Rajaratnam1-1/+3
svn path=/trunk/; revision=29767
2009-09-07Fixed arguments to new_packet_list_set_time_width().Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=29761
2009-09-07col_fmt not needed.Anders Broman1-1/+1
svn path=/trunk/; revision=29760
2009-09-07Track length of columns strings. We'll need this in order to resize columns ↵Kovarththanan Rajaratnam1-0/+1
quickly svn path=/trunk/; revision=29759
2009-09-07Automatically adjust the time column width when time format changes.Anders Broman1-1/+15
svn path=/trunk/; revision=29758