Commit Graph

1459 Commits

Author SHA1 Message Date
Martin Mathieson 3f3743834b This is basically a rewrite from Jakub Zawadzki.
Rather than store the FrameRecord entries in a sorted linked list,
instead use an unsorted GPtrArray, then sort it all at once.

Also, there is no longer the option to limit the amount of sorting (and memory
used), but a new option means we can avoid writing the output file
altogether if the input file is found already to be in order.

svn path=/trunk/; revision=45313
2012-10-04 18:24:21 +00:00
Martin Mathieson afbf3cd596 Add a command-line option to control how large the reordering list can
become.  The default is now 0 (infinite).

svn path=/trunk/; revision=45293
2012-10-03 18:03:01 +00:00
Martin Mathieson 6a99c30e53 Fix a spelling mistake.
svn path=/trunk/; revision=45290
2012-10-03 17:06:22 +00:00
Martin Mathieson 08a1014c31 Also add the reordercap help files to CLEANFILES.
svn path=/trunk/; revision=45285
2012-10-03 14:13:02 +00:00
Jakub Zawadzki 3be454cb3b Add reordercap.pod to EXTRA_DIST
svn path=/trunk/; revision=45284
2012-10-03 13:35:00 +00:00
Jakub Zawadzki 701f33e126 Fix copy-paste bug.
it should also fix bulding error:
 Can't open ../../doc/reordercap.pod: No such file or directory at /usr/bin/pod2man line 60

svn path=/trunk/; revision=45283
2012-10-03 13:31:04 +00:00
Martin Mathieson 181cb3e036 Add a man page for reordercap.
svn path=/trunk/; revision=45282
2012-10-03 12:22:08 +00:00
Jeff Morriss f89635883f The -B option is no longer only available in Win32: remove the Win32
restriction from the Synopsis.

This is the man page for Wireshark, not Tshark (fix a cut-n-pasteo).

svn path=/trunk/; revision=45229
2012-10-01 07:14:03 +00:00
Jakub Zawadzki bf108e8d23 configure.in -> configure.ac
svn path=/trunk/; revision=45161
2012-09-26 21:34:17 +00:00
Jaap Keuter d249038a65 Implement and document the Custom plugin system. Create relevant example files and add them to the distribution. Rewrite README.plugins to describe how to use this system.
svn path=/trunk/; revision=45142
2012-09-25 21:02:13 +00:00
Chris Maynard 5dc7669451 We are using GRegex in GLib since ~r31304, so stop referencing libpcre. Also,
fix the perldoc link.  Maybe someone else can figure out how to also fix:

    http contains "http://www.wireshark.org"

Either the hyperlink should be made to work correctly by not including the
trailing quote as part of the link, or simply change it so it's not hyperlinked
at all.  Also, it should display a terminating semi-colon as follows:

    http contains "http://www.wireshark.org";


svn path=/trunk/; revision=45035
2012-09-21 03:12:38 +00:00
Jeff Morriss 22b7086fb9 We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=44997
2012-09-19 01:37:13 +00:00
Gerald Combs 2bda67e82e Implement File→Merge.
The GTK+ and native Win32 versions are slightly different. The GTK+
version lets you select an output file type and the Win32 version uses
the existing capture filetype. We do the latter for now.

Start documenting significant UI changes in README.qt. This might be
better handled on the wiki.

svn path=/trunk/; revision=44797
2012-09-06 22:58:39 +00:00
Chris Maynard b840ba44b4 Trivial typo fix and duplicate word removal.
svn path=/trunk/; revision=44695
2012-08-29 17:05:38 +00:00
Bill Meier 0035a9076b Force extended value string linear search (not binary search) in one case:
Fixed: { -2, -1, 0, 1, 3} (note gap) used a binary search (which would fail);

 Note:  { -2, -1, 0, 1, 2 ,3 } (no gap) allowed; will still do a direct access;

Also: Add a comment to README.developer extended value string section.

svn path=/trunk/; revision=44659
2012-08-24 20:44:33 +00:00
Bill Meier 7d891022e6 Minor update to tcp_dissect_pdus() section.
svn path=/trunk/; revision=44658
2012-08-24 20:22:48 +00:00
Jörg Mayer 409f711889 Add a link where to find some GUIs for git.
svn path=/trunk/; revision=44554
2012-08-17 18:13:39 +00:00
Evan Huus 81f3e4f4a8 Add note to README.developer about not passing NULL to %s format strings.
Part of wireshark-dev conversation starting with:
http://www.wireshark.org/lists/wireshark-dev/201208/msg00125.html

svn path=/trunk/; revision=44548
2012-08-17 01:12:10 +00:00
Chris Maynard 64b467543e Well, since 1 instance of wireshark was already changed to Wireshark, we might as well change the rest too for consistency.
svn path=/trunk/; revision=44047
2012-07-26 15:10:42 +00:00
Chris Maynard 5c760cce32 Fix more typos.
svn path=/trunk/; revision=44046
2012-07-26 15:05:54 +00:00
Jörg Mayer a1f2ea8726 Fix some percieved typos
svn path=/trunk/; revision=44045
2012-07-26 14:38:36 +00:00
Chris Maynard ddaee0898f Fix trivial typos and other misc. minor updates.
svn path=/trunk/; revision=44021
2012-07-26 01:50:39 +00:00
Gilbert Ramirez 1cb4b7e06a Combine the two display filter README's into one,
and add a lot of explanation about how the display filter
engine works.

Modify dftest.c to remove printing of the dfilter_t pointer,
which has absolutely no value for the user.

svn path=/trunk/; revision=43941
2012-07-23 17:10:13 +00:00
Jeff Morriss 8f12c9d7d7 First phase of fixing https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7380 :
Add a new name resolution option: whether or not use the configured (in the OS)
name resolver (e.g., DNS) to resolve network names.  When this option is disabled
but network name resolution is enabled then Wireshark will resolve only those
names that it can from local sources.  This includes (at least, AFAIK):

- name resolutions that Wireshark picks up on from DNS packets it decodes
- the "user hosts file" (~/.wireshark/hosts on *NIX)
- what Wireshark reads out of capture file (the PCAPNG name resolution block)

This new preference defaults to "use external resolvers" for backward
compatibility (so people turning on network name resolution will get the old
behavior).

This option can be set via Edit->Preferences and on the command line; there
remain several UIs (e.g., the "open capture file" dialog, the
View->Name Resolution menu, etc.) that don't have the new option yet.


Also expand on the "description" for the name resolution preferences: these
are used not only in the tooltips but are also written to the preferences
file.  The previous text didn't include enough context when written do the
preferences file.

svn path=/trunk/; revision=43605
2012-07-08 01:31:48 +00:00
Guy Harris 85f219be2e From Michael Mann:
Add a preference for the packet length statistics.

Fixes bug 3239.

svn path=/trunk/; revision=43597
2012-07-07 08:15:41 +00:00
Jakub Zawadzki bf81b42e1e Update Free Software Foundation address.
(COPYING will be updated in next commit)

svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Jeff Morriss e4599acf28 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7406 :
Build the idl2wrs man page (including the HTML version) but don't install
them: a developer might want to read the man page and the Debian development
package wants to install them.

svn path=/trunk/; revision=43498
2012-06-26 20:41:28 +00:00
Gerald Combs 085d21ec1c Remove what appears to be an errant vi/vim command and add a newline.
svn path=/trunk/; revision=43371
2012-06-19 15:44:10 +00:00
Jeff Morriss e54831aef1 Don't install idl2wrs except in Debian's special wireshark-dev package.
(Normal Wireshark installations can't be used to develop dissectors so there's
no need to install it or its man page.)

http://www.wireshark.org/lists/wireshark-dev/201206/msg00073.html

(The Debian changes are untested.)

svn path=/trunk/; revision=43370
2012-06-19 15:39:52 +00:00
Jeff Morriss 4fdc3c3cc2 Create, and start using, file name preferences.
File name preferences are basically just string preferences except that the
GUI will present a "Browse" button that allows the user to go and find the
file s/he wants (rather than having to blindly type in the full path).

svn path=/trunk/; revision=43228
2012-06-13 01:13:12 +00:00
Bill Meier 5b53b81835 Note that calls to "expert" functions should not be under 'if (tree)'.
svn path=/trunk/; revision=43224
2012-06-12 13:03:05 +00:00
Chris Maynard 11204066a8 Some minimal documentation of remote capture interface formats for both rpcap and the new TCP feature from bug 2788.
svn path=/trunk/; revision=43156
2012-06-08 13:55:14 +00:00
Guy Harris 1c7269a6d1 Mention ENC_UCS_2 and ENC_UTF_16.
svn path=/trunk/; revision=42602
2012-05-12 20:10:18 +00:00
Jakub Zawadzki 57e6b25735 From r37696 default file format for dumpcap is pcap-ng. Fix manuals.
svn path=/trunk/; revision=42600
2012-05-12 19:49:49 +00:00
Balint Reczey 4441dd7d59 Give hints to capture from stdin or pipe instead of opening it as a file
svn path=/trunk/; revision=42484
2012-05-07 19:53:49 +00:00
pascal c69d317daf Fix typo errors
svn path=/trunk/; revision=42340
2012-04-29 18:25:06 +00:00
pascal e94974887c Convert spaces to tabs
svn path=/trunk/; revision=42247
2012-04-25 21:37:10 +00:00
Guy Harris 477185a387 If we see a 5View time-stamped header with a bad key, make sure we
return the right error code and information string.

InfoVista bought Accellent Group, and, at least according to the
InfoVista Web site, it's "5View", not "5Views".

svn path=/trunk/; revision=42119
2012-04-18 02:48:23 +00:00
Jörg Mayer 31c3b1068d Small update reagarding debian builds
svn path=/trunk/; revision=41678
2012-03-19 20:49:54 +00:00
Gerald Combs ccef7158f5 Add more SDK download URLs.
svn path=/trunk/; revision=41676
2012-03-19 17:55:22 +00:00
Jeff Morriss 406e66d3bf Fix a typo or two
svn path=/trunk/; revision=41657
2012-03-19 02:04:47 +00:00
Jeff Morriss a94c84d34f Add a new environment variable (WIRESHARK_ABORT_ON_OUT_OF_MEMORY) that
prevents OutOfMemory exceptions from being thrown.  This makes it easier
to debug such conditions.

Set this variable in test-fuzzed-cap.sh but not in fuzz-test.sh; it's nice
to see the friendly out-of-memory error message in the bug reports the
latter script generates.

svn path=/trunk/; revision=41656
2012-03-19 02:00:42 +00:00
Jeff Morriss 90df1a9d94 Set eol-style to native (just to make these files readable on *NIX).
svn path=/trunk/; revision=41654
2012-03-19 01:46:24 +00:00
Jörg Mayer 4d25efa4ad i18 -> i18n
svn path=/trunk/; revision=41573
2012-03-15 21:26:16 +00:00
Chris Maynard 09f001a9b1 Sort the options.
svn path=/trunk/; revision=41567
2012-03-15 15:15:18 +00:00
Chris Maynard 2b302230de Sort the options.
svn path=/trunk/; revision=41566
2012-03-15 15:03:08 +00:00
Chris Maynard 9dd8ba6ce5 Sort the options.
svn path=/trunk/; revision=41565
2012-03-15 14:56:06 +00:00
Chris Maynard 3fc4c9cafb Correct the sorting of the options in the synopsis.
svn path=/trunk/; revision=41564
2012-03-15 14:52:49 +00:00
Chris Maynard 9c7b936e79 Sort the options. Delete all the line-terminating "g's" added in 40820.
svn path=/trunk/; revision=41563
2012-03-15 14:50:07 +00:00
Chris Maynard 2ef7d8fe83 Sort the options.
svn path=/trunk/; revision=41562
2012-03-15 14:35:36 +00:00