Age | Commit message (Collapse) | Author | Files | Lines |
|
so get rid of the select_flag argument, and rename it
new_packet_list_select_row_from_data().
It's also always passed a frame_data *, so make its argument a
frame_data *.
Its return value is used only to detect whether the packet was found in
the display or not, so make it a gboolean. Check it in *all* cases
where it's called, and change the dialog message a bit (the most likely
cause is that the user cancelled a redissection of the packets, so not
all packets in the capture file are in the display.
Also, in the find case, pass it the new packet we found.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36839 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
It compiles with "./configure without options" on my Mac. Let's see what the buildbots have to say about it :-)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36161 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Optionally display Wireshark version in the main window's title bar.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5040
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33729 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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()
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29782 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29760 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29758 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29705 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Caveat: we jump to first frame when auto scroll is stopped
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29685 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
selecting the last packet.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29670 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
- Compute and cache color/custom filters dynamically.
- Delay column construction.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29370 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
to store (most) of the underlying data rather than the strings in the store and render it when we need it, thuss saving storage space and loading time.
Idealy we should not store the complete fdata or pinfo structures
but rather just the data relevant to the currently selected/used columns. I'm not entierly sure how to accomplish that however.
Dynamically allocated array to hold pointers to the actual data?
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29237 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Enable popup menu in packet list view.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29223 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29212 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Only clear packet list store if we need to redissect.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29195 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Include needed header (unbreak OSX buildbot)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29192 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
packet_goto_next_previous_frame
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29191 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
New packet list: enable goto first/last packet (Optimized)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29190 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
complete. This should take care of the crash when closing WS.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29186 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Pass column_info as a pointer (new packet list).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29169 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Goto frame should work now.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29147 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
enabling/disabling the coloring of the packet list from the menus, the user
has to drag the mouse cursor over each displayed row to take away/add the
coloring. Dragging the scroll bar up or down will also take care of this as
only the displayed rows are colored.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29142 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28929 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28909 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28907 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
To use the GTK2 based packet list, define NEW_PACKET_LIST when compiling.
To do this with gcc, set the environment variable CPPFLAGS to
"-DNEW_PACKET_LIST" and re-run configure.
Many features do not yet work. This work began with prototypes by Ulf
quite a while back. I've put quite a bit of work into this so far and
as discussed with a few of the core team members at Sharkfest09 and it was
decided that it would be best to commit what I have so far to allow others to
help work on this.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28892 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Not implemented for conversation relative and delta time yet, because this
will need a reload as they are set by the dissectors and does not exist in
the frame data.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25452 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
correctly reflect the auto scroll state. Re-enable the ability to use
the auto scroll toolbar button and menu item during a live capture.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23777 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
"Automatic scrolling in live capture" are both enabled, make the scroll
bar behavior more natural. If the packet list is scrolled to the
bottom, scroll automatically. If the user scrolls back, keep the packet
list scrolled at that point instead of jumping back to the end.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22277 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21938 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
state to "no packets", "file open", or "live capture in progress".
Instead, to update the main window title when the user-specified prefix
for the title changes:
save the un-decorated title as a data value attached to the main
window in set_main_window_name();
have a new routine to update the title, which fetches the
un-decorated title, decorates it, and sets the title to the
decorated value.
This fixes bug 1608.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21876 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20394 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
header files in the gtk dir, as these declarations are obsolete and only confuses (at least me)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16687 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15481 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15470 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
array of "const char *" rather than to an array of "char *", and make
the second argument of "col_set_str()" a "const char *" - there's no
guarantee that "col_data" points to something you're allowed to modify.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12880 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11400 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
implemented Win32 "Capture Stop" when using
"update list of packets in realtime" while capturing
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9777 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9642 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
captures, as it has to compute the width of an auto-resizing column in
every row. Just pick fixed widths for the columns (and tune the width
of the "Protocol" column so that it's not narrower than the column
title).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9219 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
time stamp format.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9179 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
- moved color_filter_t in color.h
- change color_filter_t to use color_t instead of GdkColor
This changed allowed to remove the last gtk includes in file.c. It is
now completely free of any gtk related code.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6324 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
- created a few packet_list_xxx functions (ui_util.h gtk/packet_list.c
gtk2/packet_list.c) ;
- removed almost all "gtk/xxx" and "gtk2/xxx" includes in file.c
The only remaining includes are related to color filters. We have to
make color_filter_t GUI independent by replacing GdkColor with color_t.
I'll work on this later.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6311 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
winapi_cleanup tool written by Patrik Stridvall for the wine
project.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6117 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
has an API that depends on GTK+. "set_main_window_name()" is
UI-toolkit-independent. Declare the former in a new "gtk/ui_util.h"
file, rather than in "ui_util.h"; this helps separate
UI-toolkit-independent stuff from UI-toolkit-dependent stuff.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3181 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
"gtk/packet_win.h", along with the declarations of the other packet
window manipulation routines; put it there.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3180 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
as, on a large capture, it could take a significant amount of time.
Let the user stop the computation and, if they do, don't pop up the
statistics dialog box.
Create a new header file declaring the routines to create, update, and
destroy progress dialog boxes; those routines' APIs don't depend on
GTK+, but others declared in "ui_util.h" do, and we don't want to oblige
a source file to depend on GTK+ headers unless it uses a GTK+ API or an
API that depends on GTK+.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3179 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
dialog box; that lets us do some type-checking, but we can still typedef
it to an incompletely-defined structure to hide the implementation
details from the caller.
Make "create_progress_dlg()" take, as an argument, the title to put in
the "stop the operation" button, and use "Stop" rather than "Cancel" if
stopping the operation doesn't undo all the work it's done.
Thaw the clist if we break out of a "read the file" operation, as we
freeze it before the operation.
Have the handler for the "delete" event on the progress dialog box
return FALSE, to let GTK+ know that it should, in fact, delete the
window. ("delete" event handlers should return TRUE if the window
shouldn't actually be deleted, FALSE if it should; they should not
return "void".)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2120 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
potentially long-running operation that has a progress indicator, pop up
a modal dialog box with
an indication of what is being done;
a progress bar;
a "Cancel" button to stop the operation.
This:
leaves more room on the status line for a filter expression;
provides a mechanism to allow the user to cancel long-running
operations (although the way we do so may not back out of them
as nicely as the user might like, if it's not obvious what the
"right" way is or if the "right" way is difficult to implement
or involves doing as much work as letting the operation
continue);
means that, because the dialog box is modal, we don't have to
worry about the user performing arbitrary UI operations out from
under the operation and changing arbitrary bits of state being
used by that operation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2103 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
window showing the protocol tree and hex/ASCII data for the currently
selected packet.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1670 f5534014-38df-0310-8fa8-9805f1628bb7
|