Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Select the first packet when doing a live capture. In the old packet list ↵ | Anders Broman | 2009-09-22 | 1 | -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 | ||||
* | dfilter_free() can handle a NULL pointer so don't guard against that before ↵ | Kovarththanan Rajaratnam | 2009-09-22 | 1 | -13/+6 |
| | | | | | | calling it svn path=/trunk/; revision=30072 | ||||
* | Introduce cap_file_add_fdata() and start using it | Kovarththanan Rajaratnam | 2009-09-22 | 1 | -10/+3 |
| | | | | svn path=/trunk/; revision=30071 | ||||
* | Switch Wireshark GUI (file.c) over to using frame_data.c | Kovarththanan Rajaratnam | 2009-09-22 | 1 | -81/+6 |
| | | | | svn path=/trunk/; revision=30067 | ||||
* | Make sure that the old packet list works with the changes introduced in r30047 | Kovarththanan Rajaratnam | 2009-09-22 | 1 | -4/+4 |
| | | | | svn path=/trunk/; revision=30060 | ||||
* | Bring frame_data_init() and add_packet_to_packet_list() more in sync by ↵ | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -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 | ||||
* | Only set cumulative bytes after passing the display filter test | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -3/+1 |
| | | | | svn path=/trunk/; revision=30053 | ||||
* | Move 'Delta timestamp to previous captured frame' calculation inside ↵ | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -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 | ||||
* | Rename capture_file.plist to capture_file.plist_start to make it consistent ↵ | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -9/+9 |
| | | | | | | with capture_file.plist_end svn path=/trunk/; revision=30047 | ||||
* | Remove second (redundant) assignment to fdata->cum_bytes | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -3/+1 |
| | | | | svn path=/trunk/; revision=30046 | ||||
* | Reverse order of NEW_PACKET_LIST guard, i.e. #ifdef NEW_PACKET_LIST instead ↵ | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -88/+86 |
| | | | | | | of #ifndef NEW_PACKET_LIST svn path=/trunk/; revision=30045 | ||||
* | Fix typo in comment | Stephen Fisher | 2009-09-21 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=30043 | ||||
* | (cosmetic change) - reset cumulative bytes together with 'first_ts' and ↵ | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -476/+474 |
| | | | | | | 'prev_dis_ts' svn path=/trunk/; revision=30042 | ||||
* | cf->dfilter is only set if it's valid so assert if that's not the case | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -20/+15 |
| | | | | svn path=/trunk/; revision=30041 | ||||
* | Reset cumulative bytes when we open the file | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -2/+2 |
| | | | | svn path=/trunk/; revision=30040 | ||||
* | Set fdata->num up front and roll back if necessary | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -4/+8 |
| | | | | svn path=/trunk/; revision=30039 | ||||
* | Shuffle NEW_PACKET_LIST guard | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -6/+4 |
| | | | | svn path=/trunk/; revision=30038 | ||||
* | Introduce a NEW_PACKET_LIST specialized version of ↵ | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -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 | ||||
* | cf_change_time_formats() is not needed with new packet list. | Anders Broman | 2009-09-21 | 1 | -27/+16 |
| | | | | svn path=/trunk/; revision=30034 | ||||
* | Add NEW_PACKET_LIST guard wrt fdata->col_text | Kovarththanan Rajaratnam | 2009-09-21 | 1 | -3/+5 |
| | | | | svn path=/trunk/; revision=30030 | ||||
* | Introduce frame_data_cleanup() and start using it | Kovarththanan Rajaratnam | 2009-09-20 | 1 | -17/+6 |
| | | | | svn path=/trunk/; revision=30023 | ||||
* | From Jakub Zawadzki: | Kovarththanan Rajaratnam | 2009-09-15 | 1 | -4/+2 |
| | | | | | | Fix copy/paste error wrt. fdata->col_text_len svn path=/trunk/; revision=29921 | ||||
* | Fix: | Anders Broman | 2009-09-15 | 1 | -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 | ||||
* | Fix warning that variable may be unused and then declare volatile so it | Stephen Fisher | 2009-09-11 | 1 | -1/+1 |
| | | | | | | | survives the TRY/CATCH code. svn path=/trunk/; revision=29863 | ||||
* | Only move to last row if it's vissible. | Anders Broman | 2009-09-11 | 1 | -2/+7 |
| | | | | svn path=/trunk/; revision=29861 | ||||
* | New_packet_list | Anders Broman | 2009-09-11 | 1 | -28/+316 |
| | | | | | | Select the correct frame in packet details when filtering. svn path=/trunk/; revision=29857 | ||||
* | Allocate col_text and col_text_len when the fdata struct is allocated. | Anders Broman | 2009-09-09 | 1 | -0/+2 |
| | | | | | | (complete the checkin). svn path=/trunk/; revision=29818 | ||||
* | Add an option to col_fill_in() to allow us to disable column expression ↵ | Kovarththanan Rajaratnam | 2009-09-08 | 1 | -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 | ||||
* | Make sure that reset the elapsed time to load a file before we reload/rescan ↵ | Kovarththanan Rajaratnam | 2009-09-07 | 1 | -17/+27 |
| | | | | | | the file svn path=/trunk/; revision=29783 | ||||
* | Rename new_packet_list_set_time_width() -> new_packet_list_resize_column() ↵ | Kovarththanan Rajaratnam | 2009-09-07 | 1 | -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 | ||||
* | Store the packet encapsulation type as gint8. Saves 3 bytes per packet | Kovarththanan Rajaratnam | 2009-09-07 | 1 | -1/+3 |
| | | | | svn path=/trunk/; revision=29767 | ||||
* | Fixed arguments to new_packet_list_set_time_width(). | Stig Bjørlykke | 2009-09-07 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=29761 | ||||
* | col_fmt not needed. | Anders Broman | 2009-09-07 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=29760 | ||||
* | Track length of columns strings. We'll need this in order to resize columns ↵ | Kovarththanan Rajaratnam | 2009-09-07 | 1 | -0/+1 |
| | | | | | | quickly svn path=/trunk/; revision=29759 | ||||
* | Automatically adjust the time column width when time format changes. | Anders Broman | 2009-09-07 | 1 | -1/+15 |
| | | | | svn path=/trunk/; revision=29758 | ||||
* | Split a bunch of init routines into init() and cleanup(). This allows us to ↵ | Kovarththanan Rajaratnam | 2009-09-06 | 1 | -8/+12 |
| | | | | | | | | free memory properly on shutdown. This is an initial step. There's still some work to do. svn path=/trunk/; revision=29754 | ||||
* | Get rid off GtkTreeModelFilter because the time to sort becomes unbearable ↵ | Kovarththanan Rajaratnam | 2009-09-05 | 1 | -0/+2 |
| | | | | | | when combined with GtkTreeSortable. This means that we now track which frames are visible in the our own packet list store. To do so, we now distinguish between physical and visible rows. All frames are added as physical rows. Only those that passes the display filter are marked as visible. svn path=/trunk/; revision=29705 | ||||
* | Remove superfluous assignment | Kovarththanan Rajaratnam | 2009-09-03 | 1 | -3/+2 |
| | | | | svn path=/trunk/; revision=29686 | ||||
* | Make sure that we stop auto scroll if we start scrolling manually. | Kovarththanan Rajaratnam | 2009-09-03 | 1 | -0/+2 |
| | | | | | | Caveat: we jump to first frame when auto scroll is stopped svn path=/trunk/; revision=29685 | ||||
* | Only try and select the last row if not already selected. This fix doesn't ↵ | Kovarththanan Rajaratnam | 2009-09-02 | 1 | -1/+1 |
| | | | | | | seem to work. Any suggestions? svn path=/trunk/; revision=29677 | ||||
* | Add seperate new_packet_list_moveto_end() which scrolls to the end _without_ ↵ | Kovarththanan Rajaratnam | 2009-09-02 | 1 | -3/+3 |
| | | | | | | selecting the last packet. svn path=/trunk/; revision=29670 | ||||
* | Make sure that we select the last row if autoscroll is enabled. The ↵ | Kovarththanan Rajaratnam | 2009-09-02 | 1 | -13/+19 |
| | | | | | | scrolling is still very jumpy. It seems that we always select the first packet before moving to the end. svn path=/trunk/; revision=29668 | ||||
* | Add volatile to avoid clobbered by longjmp warning. | Martin Mathieson | 2009-09-01 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=29651 | ||||
* | - Read a min number if packets before checking if the progress bar should be ↵ | Anders Broman | 2009-09-01 | 1 | -24/+36 |
| | | | | | | | | | | | updated. - Calculate the progess before checking if progress bar should be created or not. - Dont update the progress to often on small files. - Use data_offset rather than reading file_pos. svn path=/trunk/; revision=29648 | ||||
* | Compute the loading time and show it in the main status bar. | Anders Broman | 2009-08-28 | 1 | -0/+21 |
| | | | | | | (Modified code from Didier Gautheron). svn path=/trunk/; revision=29592 | ||||
* | Also fake empty field_info's by gracefully handling NULL field_info pointer ↵ | Kovarththanan Rajaratnam | 2009-08-21 | 1 | -0/+2 |
| | | | | | | elsewhere. svn path=/trunk/; revision=29490 | ||||
* | Use col_text in frame data. | Anders Broman | 2009-08-21 | 1 | -4/+4 |
| | | | | | | | - colum-utils needs more work, based on Didier Gautherons optimizations patch http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=29489 | ||||
* | We shouldn't conditionalise on _filtering_ tap listerners to determine ↵ | Kovarththanan Rajaratnam | 2009-08-19 | 1 | -6/+2 |
| | | | | | | | | whether tapping should be performed or not. We also need to handle _normal_ tap listerners. This change backs out the regression introduced in r29435. Thanks to Didier: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3916 svn path=/trunk/; revision=29475 | ||||
* | Inline a few checks in the add_packet_to_packet_list() function since it's ↵ | Kovarththanan Rajaratnam | 2009-08-15 | 1 | -3/+8 |
| | | | | | | called in tight loop. This will help us to avoid calling functions that simply returns. This is especially the case when we're dealing with the new packet list due to its dissect-on-demand nature where colour/column construction is delayed until the row becomes visible. svn path=/trunk/; revision=29435 | ||||
* | Make display filtering work for NEW_PACKET_LIST. This didn't work previously ↵ | Kovarththanan Rajaratnam | 2009-08-14 | 1 | -7/+19 |
| | | | | | | because we would simply append the new filtered packets onto the existing ones. svn path=/trunk/; revision=29409 |