Chris Maynard
d3c38473b9
tvb_length_remaining() can return -1 so don't cast its return value to an unsigned type when performing integer comparisons. Instead, cast strlen()'s return value to a signed type and perform the comparison that way.
...
#BACKPORT(1.10,1.8)
svn path=/trunk/; revision=49983
2013-06-17 15:39:56 +00:00
Evan Huus
b777bc825e
Misc tweaks to packet-http-urlencoded.c
...
- add modelines
- convert emem to wmem
- add cast to satisfy my version of GCC
svn path=/trunk/; revision=49982
2013-06-17 14:18:23 +00:00
Luis Ontanon
68a8a3ced5
the Licence
...
svn path=/trunk/; revision=49981
2013-06-17 09:17:48 +00:00
Luis Ontanon
b149fe141e
Checking in as it compiles...
...
svn path=/trunk/; revision=49980
2013-06-17 09:11:30 +00:00
Michael Tüxen
42e31acad2
Fix typo.
...
svn path=/trunk/; revision=49979
2013-06-17 08:08:14 +00:00
Jakub Zawadzki
f2f2f13db3
Fix for previous commit, don't use string if get_form_key_value() failed.
...
svn path=/trunk/; revision=49978
2013-06-17 07:41:48 +00:00
Jakub Zawadzki
6dd022f14f
Add small dissector for application/x-www-form-urlencoded
...
svn path=/trunk/; revision=49977
2013-06-17 07:35:30 +00:00
Stig Bjørlykke
114657b0cb
Added a missing CFRelease.
...
svn path=/trunk/; revision=49976
2013-06-17 07:20:54 +00:00
Stig Bjørlykke
632082e57d
Added a missing CFRelease.
...
svn path=/trunk/; revision=49975
2013-06-17 07:20:23 +00:00
Pascal Quantin
17fa61c36e
Use a more compact display for the status bitmap
...
svn path=/trunk/; revision=49974
2013-06-17 04:26:16 +00:00
Pascal Quantin
503f7daaa9
Remove preceding zeroes
...
svn path=/trunk/; revision=49973
2013-06-17 04:22:45 +00:00
Martin Kaiser
cee4e923ae
the dos2unix cygwin package is required for compiling on windows
...
svn path=/trunk/; revision=49972
2013-06-17 00:57:16 +00:00
Evan Huus
858cb85eb4
Fix the test to respect the new behaviour.
...
svn path=/trunk/; revision=49971
2013-06-17 00:45:44 +00:00
Evan Huus
fd22c548f5
Much smarter handling of autoreset trees.
...
svn path=/trunk/; revision=49970
2013-06-17 00:08:44 +00:00
Evan Huus
55264582be
More callback tweaks, to permit unregistering a callback from the same place
...
it was originally registered.
svn path=/trunk/; revision=49969
2013-06-16 22:37:55 +00:00
Evan Huus
ffee3af207
Fix include to use "" not <> for local headers.
...
svn path=/trunk/; revision=49968
2013-06-16 22:25:27 +00:00
Evan Huus
80c51f1df0
Update wmem README for the tree implementation.
...
svn path=/trunk/; revision=49967
2013-06-16 22:08:56 +00:00
Evan Huus
88c5b2e892
Rework the user callback code a bit to make it saner to use with the auto-reset
...
trees.
svn path=/trunk/; revision=49966
2013-06-16 22:07:24 +00:00
Luis Ontanon
3924ed9020
rename epan_child.h
...
svn path=/trunk/; revision=49965
2013-06-16 19:44:32 +00:00
Michael Mann
75420f4ab2
Prepend custom Destination IP and Source IP (ipv4 or ipv6) in the pcap. Bug 5650 ( https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5650 )
...
svn path=/trunk/; revision=49964
2013-06-16 16:50:17 +00:00
Martin Kaiser
27598e20a2
fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8806
...
assign the return values of decode_...() functions to a signed int
check for negative return values
svn path=/trunk/; revision=49963
2013-06-16 15:29:14 +00:00
Evan Huus
d0fb6aca01
Simplify the tree code slightly - just don't call the transform function
...
if it's NULL, meaning we don't need to define an identity callback.
svn path=/trunk/; revision=49962
2013-06-16 15:17:53 +00:00
Martin Mathieson
f4b3cb0917
Clarify interface/test for DL HARQ id, and remove a trailing comma from
...
an enum.
svn path=/trunk/; revision=49961
2013-06-16 15:11:21 +00:00
Martin Mathieson
562a126ddc
Improve the way PDCP status PDUs are shown.
...
For the bitmap, present and missing SNs are both
interesting, but only until the last received SN
(i.e. the last byte of the bitmap will be padded
out with zero bits).
It would be possible to use existing sequence analysis
info, where available, to decide if any zeros beyond the last
received SN are interesting...
svn path=/trunk/; revision=49959
2013-06-16 14:24:47 +00:00
Gerald Combs
f2db1cd3e5
[Automatic manuf, services and enterprise-numbers update for 2013-06-16]
...
svn path=/trunk/; revision=49957
2013-06-16 14:03:36 +00:00
Luis Ontanon
98268eb59b
some minor fixes
...
svn path=/trunk/; revision=49956
2013-06-16 04:34:38 +00:00
Martin Kaiser
69f08fd281
display some more box names
...
svn path=/trunk/; revision=49955
2013-06-16 02:52:01 +00:00
Martin Mathieson
860b920383
Make the B->A graph label show as A<-B to be consistent with the column
...
heading.
svn path=/trunk/; revision=49954
2013-06-16 02:35:51 +00:00
Martin Mathieson
b3ac3506e8
Add some comments around looking up names for port numbers.
...
(calling getservbyname() is really slow, but only called once per port
number...)
svn path=/trunk/; revision=49953
2013-06-16 01:53:43 +00:00
Evan Huus
82a13484b3
Add warning comment to tree autoreset function about allocator
...
destruction order, and note that it may need thinking about.
svn path=/trunk/; revision=49952
2013-06-16 01:47:43 +00:00
Evan Huus
28dafa414a
Fix occasional wmem_test failure, allocator destruction order matters
...
(should it?)
svn path=/trunk/; revision=49951
2013-06-16 01:44:09 +00:00
Guy Harris
ca0f8ee6da
Make the libwiretap Buffer routines usable from C++, and fix the C++ UI
...
code to handle the API changes for the seek-read routines.
svn path=/trunk/; revision=49950
2013-06-16 01:40:04 +00:00
Guy Harris
8c9edf1280
Have the seek-read routines take a Buffer rather than a guint8 pointer
...
as the "where to put the packet data" argument.
This lets more of the libwiretap code be common between the read and
seek-read code paths, and also allows for more flexibility in the "fill
in the data" path - we can expand the buffer as needed in both cases.
svn path=/trunk/; revision=49949
2013-06-16 00:20:00 +00:00
Michael Mann
3846abe34d
Replace if-else-if with switch statements
...
svn path=/trunk/; revision=49948
2013-06-16 00:14:07 +00:00
Luis Ontanon
f715a8bbbc
Further iteration
...
svn path=/trunk/; revision=49947
2013-06-15 21:28:43 +00:00
Chris Maynard
2c71f23d1e
Make use of text metrics and devmode data to properly format a page for printing. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7543
...
#BACKPORT(1.10,1.8)
svn path=/trunk/; revision=49946
2013-06-15 12:57:32 +00:00
Evan Huus
6fd601bc3b
Most of a red-black tree implementation for wmem, based heavily on the emem
...
version.
One plane trip's worth of work.
svn path=/trunk/; revision=49945
2013-06-15 10:40:56 +00:00
Guy Harris
2b3891fa3b
Pull some of the code to set the struct wtap_pkthdr into
...
parse_netscreen_hex_dump().
svn path=/trunk/; revision=49944
2013-06-15 09:05:04 +00:00
Guy Harris
2b5344666a
Fill in at least some of the struct wtap_pkthdr in both the read and
...
seek-read routines.
svn path=/trunk/; revision=49943
2013-06-15 01:51:21 +00:00
Guy Harris
25d9d55cef
Rename radcom_process_rec_header() to radcom_process_rec_header() and
...
move the code to file in a struct wtap_pkthdr there.
svn path=/trunk/; revision=49942
2013-06-14 23:59:04 +00:00
Michael Mann
f42e5bc9c0
Remove check_col() and the occasional tree.
...
This leaves just the Pidl dissectors remaining for removal of check_col() in the dissectors directory. A small handful of check_col() calls remain outside of the dissectors.
svn path=/trunk/; revision=49941
2013-06-14 19:46:54 +00:00
Luis Ontanon
c5d092ec3a
Final draft for the epan working child API
...
svn path=/trunk/; revision=49940
2013-06-14 19:19:29 +00:00
Chris Maynard
dd7b71e384
Fix IEEE802a OUI lookups.
...
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3123
#BACKPORT(1.10,1.8)
svn path=/trunk/; revision=49939
2013-06-14 17:57:08 +00:00
Michael Mann
de68fd6eea
Removed check_col() and the occasional tree.
...
svn path=/trunk/; revision=49938
2013-06-14 17:49:53 +00:00
Chris Maynard
14b65f91a4
Ensure that Wireshark isn't obscured by the system taskbar or by any other desktop toolbars. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3034
...
#BACKPORT(1.10,1.8)
svn path=/trunk/; revision=49937
2013-06-14 17:47:54 +00:00
Martin Kaiser
48dccb60ad
remove some unnecessary check_col() calls
...
svn path=/trunk/; revision=49936
2013-06-14 15:53:52 +00:00
Martin Kaiser
2de0e97d65
add editor modelines
...
svn path=/trunk/; revision=49935
2013-06-14 15:50:20 +00:00
Martin Kaiser
3fe6a50c03
new dissector for the MP4/ISOBMFF file format
...
svn path=/trunk/; revision=49934
2013-06-14 15:33:58 +00:00
Martin Kaiser
b19c7d5537
make line endings consistent
...
add svn properties
svn path=/trunk/; revision=49933
2013-06-14 15:08:10 +00:00
Evan Huus
101af7fa2d
Mark unused params as such.
...
svn path=/trunk/; revision=49932
2013-06-14 14:56:00 +00:00