Age | Commit message (Collapse) | Author | Files | Lines |
|
too many bits."
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6878
From me: Correct the indentation to match the rest of the file.
svn path=/trunk/; revision=41230
|
|
svn path=/trunk/; revision=41228
|
|
epan/tvbuff.c: In function ‘tvb_get_bits16’:
epan/tvbuff.c:1736:82: error: unused parameter ‘encoding’ [-Werror=unused-parameter]
Compilation still fails with:
epan/tvbuff.c: In function ‘_tvb_get_bits64’:
epan/tvbuff.c:1829:19: error: ‘value’ may be used uninitialized in this function [-Werror=uninitialized
svn path=/trunk/; revision=41227
|
|
Overhaul of tvb_get_bitsxx() functions.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6878
svn path=/trunk/; revision=41226
|
|
svn path=/trunk/; revision=40473
|
|
svn path=/trunk/; revision=40278
|
|
- Essentially no changes from current dissector de facto tvbuff usage;
- Do away with 'usage_counts' and with 'used_in' GSLists;
- Manage tvb chains via a simple doubly linked list.
- API changes:
a. tvb_increment_usage_count() and tvb_decrement_usage_count() no
longer exist;
b. tvb_free_chain() can only be called for the 'top-level' (initial)
tvb of a chain) or for a tvb not in a chain.
c. tvb_free() now just calls tvb_free_chain() [should have no impact
on existing dissectors].
svn path=/trunk/; revision=40264
|
|
tvb_get_ephemeral_unicode_string().
svn path=/trunk/; revision=39528
|
|
appropriately; the only valid encoding is big-endian, so we don't
actually do anything different with the argument, so as not to break
code that passed it a gboolean endian flag.
svn path=/trunk/; revision=39237
|
|
svn path=/trunk/; revision=39161
|
|
svn path=/trunk/; revision=39155
|
|
When building the last byte, the remaining number of bits isn't masked.
svn path=/trunk/; revision=39152
|
|
svn path=/trunk/; revision=39150
|
|
in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove
tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and
reassemble_cleanup() since they were only used for older GLib versions
which didn't support GSlices. Assume we always support the "matches"
operator.
svn path=/trunk/; revision=37978
|
|
make FT_STRING and FT_UINT_STRING handle string encodings.
Get rid of FT_EBCDIC in favor of FT_STRING with ENC_EBCDIC.
Add some URLs for DRDA.
Clean up some stuff in TN3270 and TN5250, including using ENC_ values
for proto_tree_add_item().
svn path=/trunk/; revision=37909
|
|
tvb_get_ephemeral_string() but takes an ENC_ value for the character
encoding. Use it in the MQ dissector to fetch strings to put, for
example, into the Info column, so we properly handle EBCDIC strings
there.
svn path=/trunk/; revision=37876
|
|
svn path=/trunk/; revision=37685
|
|
Convert TVB_RAW_OFFSET() and TVB_GET_DS_TVB() into functions.
svn path=/trunk/; revision=37422
|
|
svn path=/trunk/; revision=37264
|
|
- Add lsb0 (read: least significant bit is 0) parameter to tvb_get_bits_buf()
(not tested, might be buggy...)
svn path=/trunk/; revision=37254
|
|
svn path=/trunk/; revision=37217
|
|
compr is also freed outside loop. So free it only when returning.
Might be related with bug #5908, but I don't have access to that bug ;-)
svn path=/trunk/; revision=37081
|
|
I've fixed composite tests #0 and #2
svn path=/trunk/; revision=36440
|
|
svn path=/trunk/; revision=35713
|
|
svn path=/trunk/; revision=35689
|
|
("Value stored to 'xxx' during its initialization is never read")
svn path=/trunk/; revision=35598
|
|
svn path=/trunk/; revision=35538
|
|
directly.
svn path=/trunk/; revision=35509
|
|
pointer to a NULL-terminated string in the TVB. It is no safer than dissectors
which call tvb_get_strsize() and then tvb_get_ptr() but it makes it clear that
this usage of tvb_get_ptr() is safe.
This function is slightly more efficient than tvb_get_ephemeral_stringz()--but
only as long as we're not using composite TVBs.
svn path=/trunk/; revision=35493
|
|
tvb_get_unicode_string()
tvb_get_ephemeral_unicode_string()
These function like their counterparts, tvb_get_string and
tvb_get_epemeral_string, for standard strings.
Also update comment on what the first such function,
tvb_get_ephemeral_unicode_stringz does regarding updating lengthp.
svn path=/trunk/; revision=35344
|
|
/*
* Given a tvbuff, an offset into the tvbuff, and a length that starts
* at that offset (which may be -1 for "all the way to the end of the
* tvbuff"), fetch BCD encoded digits from a tvbuff starting from either
* the low or high half byte, formating the digits according to an input digit set,
* if NUll a default digit set of 0-9 returning "?" for overdecadic digits will be used.
* A pointer to the EP allocated string will be returned.
* Note a tvbuff content of 0xf is considered a 'filler' and will end the conversion.
*/
svn path=/trunk/; revision=35286
|
|
variable is counting UTF-16 characters vs. normal bytes.
svn path=/trunk/; revision=35256
|
|
and change comments to fit within 80 column display.
svn path=/trunk/; revision=35255
|
|
is a unicode (UTF-16) version of tvb_get_ephemeral_stringz(). It scans
a tvbuff for a UTF-16 string and converts it to UTF-8 upon return.
svn path=/trunk/; revision=35253
|
|
Bug in tvb_get_bits32(), The last bitshift is too large, which causes the least significant bits to be 0 all the time.
svn path=/trunk/; revision=35015
|
|
before calling ensure_contiguous_no_exception() (also in tvb_strneql()).
svn path=/trunk/; revision=34727
|
|
now-unnecessary casts.
svn path=/trunk/; revision=34725
|
|
svn path=/trunk/; revision=33814
|
|
tvb_get_bits32 produces malformed_packet if no_of_bits < 25 and tvb remaining = 3
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5080
svn path=/trunk/; revision=33811
|
|
"representation" - we already use "representation" to refer to the text
representation of fields.
Change some routines with an endianness argument to make it a
representation argument instead;
svn path=/trunk/; revision=32929
|
|
- use Glibc:s highly optimized memchr()
svn path=/trunk/; revision=32584
|
|
- optimize guint8_pbrk().
svn path=/trunk/; revision=32583
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422
From me: Fix a number of instances where the function prototype or
the function definition wasn't changed so there was a mismatch
thus causing Windows (but not gcc) compilation errors.
svn path=/trunk/; revision=32365
|
|
svn path=/trunk/; revision=32361
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422
svn path=/trunk/; revision=32360
|
|
svn path=/trunk/; revision=32144
|
|
svn path=/trunk/; revision=31720
|
|
svn path=/trunk/; revision=31658
|
|
svn path=/trunk/; revision=31059
|
|
About GSM system information type 2quater
Modified to use newly defined tvb_get_bits() in tvbuff.c
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4219
svn path=/trunk/; revision=30962
|