Age | Commit message (Collapse) | Author | Files | Lines |
|
warning about assigning the difference between two (64-bit) pointers to
a (32-bit) variable. That difference is guaranteed to fit in an
unsigned int; make "had" an unsigned int, and cast the difference to
unsigned int before assigning it to "had".
svn path=/trunk/; revision=43103
|
|
a position that's in our data buffer, just reposition within the
buffer, don't do any seeks or I/O on the underlying file. This lets us
do some backwards seeking on a pipe, to allow the rewind-and-try scheme
we use to try to identify capture file types to work, at least for some
capture file formats (those that have magic numbers at the beginning or
have heuristics that don't require much data), on pipes, allowing, for
example, TShark to read those formats from a pipe.
svn path=/trunk/; revision=43102
|
|
just tweak the elements in the capture_file structure as necessary and
poke the UI to update stuff such as the windows title.
If we do a Save or Save As with a copy, don't reread the capture file,
just close the old wtap, open a wtap for the copy, and tweak the
elements in the capture_file structure as necessary and poke the UI to
update stuff such as the windows title.
Otherwise, don't do a full read-and-dissect pass on the capture file,
just close the old wtap, open a wtap for the new file, tweak the
elements in the capture_file structure as necessary and poke the UI to
update stuff such as the windows title, and rescan the file to update
the packet offsets (and cause Wiretap to regenerate, for a gzipped file,
the information needed to support fast random access to the gzipped
file).
This should speed up Save and Save As a bit, as well as removing some
glitches in the UI (e.g., you won't see the packet list disappear and
reappear).
svn path=/trunk/; revision=43101
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7331
svn path=/trunk/; revision=43100
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7330
svn path=/trunk/; revision=43099
|
|
leading zero bits. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7328
svn path=/trunk/; revision=43098
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7329
svn path=/trunk/; revision=43097
|
|
svn path=/trunk/; revision=43096
|
|
"export specified packets". For "failed", let the user try again with a
different file, in case it failed due to, for example, running out of
space or quota (probably the most likely failure mode for writing, and
trying to a different volume might be the best workaround). For "user
stopped it", presumably they don't want to try again (the most likely
reason is "it was taking too damn long").
Put "Exporting to: ...", not "Saving: ..." in the statusbar if we're
doing "export specified packets".
In process_specified_packets(), allow a null range pointer to be
specified, meaning "save 'em all"; that avoids the possibly-expensive
(with a large capture) operation of initializing the range.
If a "safe save" atop an existing file fails or is stopped, get rid of
the temporary file we created.
svn path=/trunk/; revision=43095
|
|
svn path=/trunk/; revision=43094
|
|
svn path=/trunk/; revision=43093
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7260
New dissector for WSE Remote Ethernet protocol
From me :
* Fix Compilation under linux
* Use proto_tree_add_item*
* Make build-in dissector
* Include Status.* and Codef.* in dissector
* Reorder function (to respect Wireshark Codelines)
* Add Modelines Info and fix indent (use 4 spaces)
* Fix check* tools
* Add Clement to AUTHORS
With the dissector....
svn path=/trunk/; revision=43092
|
|
svn path=/trunk/; revision=43091
|
|
(Manual Fix, not found how to fix the generator...)
svn path=/trunk/; revision=43090
|
|
svn path=/trunk/; revision=43089
|
|
svn path=/trunk/; revision=43088
|
|
svn path=/trunk/; revision=43087
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7260
New dissector for WSE Remote Ethernet protocol
From me :
* Fix Compilation under linux
* Use proto_tree_add_item*
* Make build-in dissector
* Include Status.* and Codef.* in dissector
* Reorder function (to respect Wireshark Codelines)
* Add Modelines Info and fix indent (use 4 spaces)
* Fix check* tools
* Add Clement to AUTHORS
svn path=/trunk/; revision=43086
|
|
svn path=/trunk/; revision=43085
|
|
svn path=/trunk/; revision=43084
|
|
svn path=/trunk/; revision=43083
|
|
svn path=/trunk/; revision=43082
|
|
statistics window.
Get rid of the non-modal version (it's not being used any more), and
remove the now-redundant _modal from the modal version.
svn path=/trunk/; revision=43081
|
|
svn path=/trunk/; revision=43080
|
|
svn path=/trunk/; revision=43079
|
|
svn path=/trunk/; revision=43078
|
|
really don't belong here - they have nothing to do with capture files).
Absorb the test for the target file's existence into
file_target_exist_ui().
svn path=/trunk/; revision=43077
|
|
svn path=/trunk/; revision=43076
|
|
svn path=/trunk/; revision=43075
|
|
selected packets" dialog.
svn path=/trunk/; revision=43074
|
|
under development. Maybe you should use a stable version." via the
version number. Use the next best thing and set each number to zero.
svn path=/trunk/; revision=43073
|
|
Windows file dialog, which has its own built-in version of the "do you
want to overwrite that file?" dialog, and Notepad and WordPad, at least,
just appear to error out if you try to overwrite a file with the
read-only flag set, rather than asking whether you want to override
that.
svn path=/trunk/; revision=43072
|
|
svn path=/trunk/; revision=43071
|
|
changes.
svn path=/trunk/; revision=43070
|
|
like:
udp.srcport == udp.dstport
frame.cap_len != frame.len
(probably you can use it for better ones)
part of bug #7263
svn path=/trunk/; revision=43069
|
|
svn path=/trunk/; revision=43068
|
|
svn path=/trunk/; revision=43067
|
|
svn path=/trunk/; revision=43066
|
|
svn path=/trunk/; revision=43065
|
|
svn path=/trunk/; revision=43064
|
|
svn path=/trunk/; revision=43063
|
|
svn path=/trunk/; revision=43062
|
|
svn path=/trunk/; revision=43061
|
|
As..." code path.
Extract the code for the "do you want to overwrite this file" and "OK,
you do - are you aware it's {user-immutable, read-only}?" code paths
into a common routine for use by both of those and, potentially, other
save/export/etc. code paths in the future.
For "Save As", allow us to save atop the current capture file, as that's
just what "Save" does if there are unsaved changes, and "safe save"
makes that work. *Don't* allow that for "Export Selected Packets
As...", however.
The file chooser is run as a modal dialog, so we don't need to worry
about creating more than one of them or about the number of marked
packets etc. being changed out from under us. Get rid of a bunch of
static variables.
svn path=/trunk/; revision=43060
|
|
with gcc 4.3.2
svn path=/trunk/; revision=43059
|
|
svn path=/trunk/; revision=43058
|
|
svn path=/trunk/; revision=43057
|
|
svn path=/trunk/; revision=43056
|
|
Add support for the Gluster CLI RPC-protocol
svn path=/trunk/; revision=43055
|
|
svn path=/trunk/; revision=43054
|