aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-06-05Making "had" a ptrdiff_t caused warnings, even if it eliminated aGuy Harris1-1/+6
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
2012-06-05From Jakub Zawadzki: when seeking backwards, if the seek will put you atGuy Harris1-1/+13
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
2012-06-05If we do a Save or Save As with a move, don't reread the capture file,Guy Harris4-39/+336
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
2012-06-05From Adam Langley: Add support for decrypting ECDHE-RSA-RC4-SHA. ↵Anders Broman1-0/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7331 svn path=/trunk/; revision=43100
2012-06-05From Adam Langley: Add support for CLIENT_RANDOM lines in SSL keylog. ↵Anders Broman1-2/+57
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7330 svn path=/trunk/; revision=43099
2012-06-05From Alex Lindberg: Add preference to packet-ber.c to toggle BER warning on ↵Anders Broman1-2/+7
leading zero bits. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7328 svn path=/trunk/; revision=43098
2012-06-05From Adam Langley: Clean up code for handling keylog files. ↵Anders Broman1-104/+135
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7329 svn path=/trunk/; revision=43097
2012-06-05Fix some comments.Guy Harris1-2/+2
svn path=/trunk/; revision=43096
2012-06-05Distinguish between "failed" and "user stopped it" for "save as" andGuy Harris5-83/+223
"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
2012-06-04Fix compilation.Gerald Combs1-2/+2
svn path=/trunk/; revision=43094
2012-06-04Add WSE Remote Ethernet & resort.Gerald Combs1-1/+3
svn path=/trunk/; revision=43093
2012-06-04 From Clement Marrast via ↵Alexis La Goutte1-0/+2002
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
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte5-10/+10
svn path=/trunk/; revision=43091
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-2/+2
(Manual Fix, not found how to fix the generator...) svn path=/trunk/; revision=43090
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte2-19/+21
svn path=/trunk/; revision=43089
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+59
svn path=/trunk/; revision=43088
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte2-16/+2
svn path=/trunk/; revision=43087
2012-06-04From Clement Marrast via ↵Alexis La Goutte3-0/+6
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
2012-06-04gtk3 libs for win are now available.Jörg Mayer1-6/+2
svn path=/trunk/; revision=43085
2012-06-04C++ -> C-style commentsPascal Quantin1-2/+2
svn path=/trunk/; revision=43084
2012-06-04Make it possible to build with GTK3 on WindowsAnders Broman3-11/+61
svn path=/trunk/; revision=43083
2012-06-04Add entries for Gluster.Gerald Combs1-0/+8
svn path=/trunk/; revision=43082
2012-06-04Use the modal version of the bad display filter alert box in the I/OGuy Harris8-36/+10
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
2012-06-04Use the modal bad display filter alert dialog.Guy Harris1-1/+1
svn path=/trunk/; revision=43080
2012-06-04Clean up indentation.Guy Harris1-3/+3
svn path=/trunk/; revision=43079
2012-06-04Use the modal version of the bad display filter alert box.Guy Harris1-2/+2
svn path=/trunk/; revision=43078
2012-06-04And do the same with the color filter import and export dialogs (whichGuy Harris3-162/+118
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
2012-06-04And do the same with the merge dialog.Guy Harris1-166/+123
svn path=/trunk/; revision=43076
2012-06-04Clean up indentation.Guy Harris1-3/+3
svn path=/trunk/; revision=43075
2012-06-04Do with the open dialog what we've done with the save and "exportGuy Harris3-140/+135
selected packets" dialog. svn path=/trunk/; revision=43074
2012-06-04There doesn't appear to be a way to convey the message "This library isGerald Combs2-2/+2
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
2012-06-04file_target_exist_ui() is used only on UN*Xes; on Win32, we'd use theGuy Harris2-0/+4
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
2012-06-04Update GTK 3.0 package IdAnders Broman1-2/+2
svn path=/trunk/; revision=43071
2012-06-04There's no sense in making everyone check out a large, old list ofGerald Combs1-11142/+0
changes. svn path=/trunk/; revision=43070
2012-06-04display filter: restore comparision of fields.Jakub Zawadzki2-2/+3
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
2012-06-04packet-gadu-gadu: set COL_INFO in undissected/unknown packet types.Jakub Zawadzki1-1/+23
svn path=/trunk/; revision=43068
2012-06-04Try to make the buildbot happy.Anders Broman1-1/+1
svn path=/trunk/; revision=43067
2012-06-04Get rid of a couple of warnings.Anders Broman10-32/+32
svn path=/trunk/; revision=43066
2012-06-04Get rid of a couple of warnings.Anders Broman3-73/+73
svn path=/trunk/; revision=43065
2012-06-04Get rid of a couple of warnings.Anders Broman3-21/+22
svn path=/trunk/; revision=43064
2012-06-04Get rid of a couple of warnings.Anders Broman1-1/+1
svn path=/trunk/; revision=43063
2012-06-04Revert previous change as it did not compile.Anders Broman1-1/+1
svn path=/trunk/; revision=43062
2012-06-04Try to get rid of a couple of warnings.Anders Broman1-1/+1
svn path=/trunk/; revision=43061
2012-06-04Make the "Export Selected Packets As..." code path more like the "SaveGuy Harris8-398/+292
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
2012-06-04Fix 'lvalue required as left operand of assignment' error when compiling ↵Pascal Quantin2-2/+2
with gcc 4.3.2 svn path=/trunk/; revision=43059
2012-06-04Try to get rid of a couple of warnings.Anders Broman2-4/+4
svn path=/trunk/; revision=43058
2012-06-04Get rid of a couple of warnings.Anders Broman6-623/+623
svn path=/trunk/; revision=43057
2012-06-04Clean up indentation.Guy Harris1-31/+30
svn path=/trunk/; revision=43056
2012-06-04From Niels de Vos via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7325 :Pascal Quantin3-0/+563
Add support for the Gluster CLI RPC-protocol svn path=/trunk/; revision=43055
2012-06-04Remove a few of "if (tree)" checks surrounding expert_add_info_format().Chris Maynard1-4/+3
svn path=/trunk/; revision=43054