Age | Commit message (Collapse) | Author | Files | Lines |
|
While we are at it, let's centralize bytes_view_type definition
Bug: 11903
Change-Id: I606c779a8efaea668db1b440d3ae0336e6e3fc67
Reviewed-on: https://code.wireshark.org/review/12706
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
|
|
The offsetof() macro is an ANSI C library feature.
Change-Id: I2ac91b0b4c94c6f6baf14133b076fdc5ed2e182b
Reviewed-on: https://code.wireshark.org/review/12707
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
use offsetof if defined or define it ourselfs as done in other
places in our code base.
Change-Id: Ia1c72c9648336e93ba8c14d4bc0371d782835370
Reviewed-on: https://code.wireshark.org/review/8735
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
Change-Id: I8cd9d9fe5f12c284f46b8f725766f681faccd753
Reviewed-on: https://code.wireshark.org/review/7138
Reviewed-by: Bill Meier <wmeier@newsguy.com>
|
|
Both clang and gcc define __GNUC__. Make sure we account for that when
defining diagnostic macros.
Use DIAG_OFF + DIAG_ON to suppress gcc -pedantic warnings about
frame_data.
Get rid of packet_char_enc casts.
Change-Id: Idbcc61bcdb35c1d20f185461c69451dcdf73bae9
Reviewed-on: https://code.wireshark.org/review/7106
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
|
|
Change-Id: Ifd1eebff9080cd3867e44e4dcb2d2681370ed60a
Reviewed-on: https://code.wireshark.org/review/6128
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
|
|
There are protocols out there that have 64-bit wide bit mask fields, so
make the internal representation and bitfield decoders 64-bit aware.
For this, the ws_ctz() fallback and bits_count_ones() have to be tweaked
slightly.
Change-Id: I19237b954a69c9e6c55864f281993c1e8731a233
Reviewed-on: https://code.wireshark.org/review/4158
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
|
|
This moves a bunch of character set knowledge into epan/charsets.c.
Change-Id: Ieb79dcaac9753c77703af756b666ad2ca9385d9e
Reviewed-on: https://code.wireshark.org/review/1339
Reviewed-by: Guy Harris <guy@alum.mit.edu>
|
|
(Using sed : sed -i '/^ \* \$Id\$/,+1 d')
Fix manually some typo (in export_object_dicom.c and crc16-plain.c)
Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8
Reviewed-on: https://code.wireshark.org/review/497
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
svn path=/trunk/; revision=54327
|
|
svn path=/trunk/; revision=50915
|
|
hexeditor not getting key-press-event.
Generally it should be also safe for builds without packet-editor, just in case ifdef it.
svn path=/trunk/; revision=50172
|
|
svn path=/trunk/; revision=50100
|
|
svn path=/trunk/; revision=50099
|
|
svn path=/trunk/; revision=50095
|
|
Old code was broken for all pango version < 1.20
[1] http://www.wireshark.org/lists/wireshark-dev/201306/msg00015.html
svn path=/trunk/; revision=49848
|
|
GTK+ 3.8.0
to prevent double invocation causing crash.
This fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8604 .
The patch is from Jakub Zawadzki.
svn path=/trunk/; revision=49655
|
|
instead of deprecated gdk_window_set_user_data() for GTK+ 3 >= 3.8
svn path=/trunk/; revision=49633
|
|
Remove C++ incompatibilities in GTK+ 3 code.
svn path=/trunk/; revision=48606
|
|
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10404
Note: The following parts of the patch had been previously done:
asn1/snmp/packet-snmp-template.c
epan/dissectors/packet-snmp.c
epan/dissectors/packet-x11.c
Also; hostlist_table.c: code under '#ifdef HAVE_GEOIP'
didn't compile and needed a few additional patches.
svn path=/trunk/; revision=48447
|
|
svn path=/trunk/; revision=48187
|
|
svn path=/trunk/; revision=46968
|
|
Also: Do some minor whitespace and formatting changes.
svn path=/trunk/; revision=46185
|
|
svn path=/trunk/; revision=45016
|
|
Wireshark startup
Put generated, with *proper* types version of marshaler (VOID:OBJECT,OBJECT) inside bytes_view.c
It was also only blocker of #undef GTK_DISABLE_DEPRECATED, so remove it.
XXX generated version of marshaler looks portable, but it'd be best to generate it using
glib-genmarshal during compilation.
svn path=/trunk/; revision=43947
|
|
Cheat a little and always make BytesView focused to make render blue-highlight instead of grey /inactive/ one.
XXX, we should have our own BytesView class and allow user define his own style in css.
svn path=/trunk/; revision=43859
|
|
In gtk3 upper value of adjustment can't be smaller than page_size.
Otherwise strange things happens ;-)
svn path=/trunk/; revision=43856
|
|
svn path=/trunk/; revision=43826
|
|
svn path=/trunk/; revision=43824
|
|
svn path=/trunk/; revision=43823
|
|
svn path=/trunk/; revision=43821
|
|
svn path=/trunk/; revision=43767
|
|
svn path=/trunk/; revision=43766
|
|
- Fix compilation for < gtk-2.14
svn path=/trunk/; revision=43745
|
|
svn path=/trunk/; revision=43744
|
|
- ->draw for gtk-3.x (NOT TESTED!!!)
svn path=/trunk/; revision=43743
|
|
svn path=/trunk/; revision=43742
|
|
2.24.5. Remove the include of it.
Get rid of duplicate #undefs of GTK_DISABLE_DEPRECATED and GSEAL_ENABLE
- nothing in config.h should depend on them.
Make at least some of the changes that
http://developer.gnome.org/gtk3/stable/ch24s02.html#id1459694
and
http://developer.gnome.org/gtk3/stable/ch24s02.html#id1459754
seem to indicate we need to make for GTK+ 3.
svn path=/trunk/; revision=43739
|
|
3; if so, that might indicate that GTK+ 3 doesn't have gtkmarshal.h.
Try not attempting to include it with GTK+ 3.x - if that causes other
failures, well, I guess that means that, when building the BytesView
widget under GTK+ 3, we can't use the gtk_marshal_ functions....
svn path=/trunk/; revision=43737
|
|
Add some comments.
svn path=/trunk/; revision=43736
|
|
svn path=/trunk/; revision=43734
|
|
svn path=/trunk/; revision=43733
|
|
svn path=/trunk/; revision=43732
|
|
MSVC.
svn path=/trunk/; revision=43731
|
|
nodes and large byteviews
Add custom widget to render hexdump or bitsdump.
svn path=/trunk/; revision=43728
|