Age | Commit message (Collapse) | Author | Files | Lines |
|
use GTK+ data types, so, at least in theory, it could be implemented
atop another toolkit.
Make statusbar_push_temporary_msg() take a format string and format
arguments. Use it instead of simple_status(), and change one call to
just take a format string and arguments rather than to take the result
of using that format string and arguments with g_strdup_printf() and
passing the result to statusbar_push_temporary_msg().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35041 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34626 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34564 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Continue to use the data offset ((uncompressed) bytes read) as our progress
indicator, at least until we get a progress value greater than 1.0. Then,
in addition to checking if the size of the file changed, check our position in
the file and use that as our progress indicator.
This optimizes uncompressed file accesses (avoiding an lseek()) at the "expense"
of switching progress measures (from data read to position in the file) while
loading a file. Tests have shown that the progress bar never shows the data
offset number when loading a compressed file, so this should be okay.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34563 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33951 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
1. Restore the functionality of <Ctrl>A and <Ctrl>X to the filter textbox.
2. Assign intuitive shortcuts without consuming any new shortcut letters.
3. Add 'Un-Time Reference All Packets' to the menu.
4. Disallow the marking or ignoring of all packets in the capture.
5. Make the Mark/Ignore/Time Reference-related menu items context sensitive.
6. Add 'ref_time_count' to the capture_file structure
7. Utilize marked/ignored/ref_time_count vars to prevent needless looping thru
the entire packet list by exiting the loop when it becomes zero.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5115
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33817 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33802 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33791 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33555 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
http://anonsvn.wireshark.org/viewvc?view=rev&revision=29861
seems to fix the scrolling in live captures issue.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4891
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33384 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
because we update the the packets bar when adding the packet.
This fixes bug 4896.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33331 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
updates are off and which sets the capture file state to a value that
won't cause an assertion when the user stops capturing. Fixes bug 4035.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33005 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
timestamp when we're recalculating reference times.
Remove an unused variable. Add whitespace & comment fixups.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32985 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32980 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
a file. Use it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32716 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Altho no tabs use tab-width=8 anyway.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32590 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
we can use it in the main window title during and after capture. Add a
"-X" option for providing a description for stdin.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32357 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32310 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
variables
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32195 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Enhance decoding of TS2 channel list
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31993 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Call col_custom_prime_edt() when having custom columns on print and
export to csv and psml.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31990 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
we apply a display filter. Display the load time as "Load time:
M:SS.SSS" instead of "Time: HH:MM:SS.SSS".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31909 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31754 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31748 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Wireshark GUI not reporting filename after save of new capture file.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4406
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31587 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
This will remove the package from the dissection functions without
removing it from the capture file.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31287 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31269 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Invalidate cfile.current_row instead(revert 30910).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30925 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30810 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
old packet list. This bug was introduced in r30052.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30758 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30616 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
can extract the field value correctly.
This fixes bug 4058.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30252 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30074 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
calling it
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30072 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30071 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30067 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30060 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30055 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30053 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30052 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
with capture_file.plist_end
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30047 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30046 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
of #ifndef NEW_PACKET_LIST
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30045 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30043 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
'prev_dis_ts'
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30042 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30041 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30040 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30039 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30038 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
add_packet_to_packet_list(). The old one contained too many #ifdef NEW_PACKET_LIST which reduced readability
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30036 f5534014-38df-0310-8fa8-9805f1628bb7
|