Commit Graph

19 Commits

Author SHA1 Message Date
Evan Huus 36f9bb412b dvb_chartbl: remove wmem_packet_scope
Short-circuit on a null tree, so that we can reliably use
PNODE_POOL(tree) for a memory pool instead of the global packet scope.
2021-09-07 17:06:08 +00:00
Guy Harris 20800366dd HTTPS (almost) everywhere.
Change all wireshark.org URLs to use https.

Fix some broken links while we're at it.

Change-Id: I161bf8eeca43b8027605acea666032da86f5ea1c
Reviewed-on: https://code.wireshark.org/review/34089
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-07-26 18:44:40 +00:00
Gerald Combs 8d3ac3af86 epan: Convert our PROTO_ITEM_ macros to inline functions.
Convert our various PROTO_ITEM_ macros to inline functions and document
them.

Change-Id: I070b15d4f70d2189217a177ee8ba2740be36327c
Reviewed-on: https://code.wireshark.org/review/32706
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-04-04 04:03:38 +00:00
Dario Lombardo 55c68ee69c epan: use SPDX indentifiers.
Skipping dissectors dir for now.

Change-Id: I717b66bfbc7cc81b83f8c2cbc011fcad643796aa
Reviewed-on: https://code.wireshark.org/review/25694
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-08 19:29:45 +00:00
Michael Mann 51360b5380 Eliminate proto_tree_add_text from odds and ends.
A few calls in the epan directory and comments in the ui directory

Change-Id: Ia8f8830ac6909ab94d3a03283bfd173456bc9718
Reviewed-on: https://code.wireshark.org/review/10492
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-09-15 02:20:13 +00:00
Michael Mann 98d3b1494b Replace bytes_to_ep_str_punct with wmem equivalent.
Change-Id: I8aa7d7374db94685fd875cbf358c3bfbc83f3255
Reviewed-on: https://code.wireshark.org/review/6370
Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-01-07 18:12:35 +00:00
Alexis La Goutte 296591399f Remove all $Id$ from top of file
(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>
2014-03-04 14:27:33 +00:00
Guy Harris 50d9d2f94f Support all the DVB ISO 8859-x encodings, now that we have ENC_ values
for all of them.

svn path=/trunk/; revision=54346
2013-12-21 22:10:49 +00:00
Martin Kaiser 73f1356275 use small negative values for the error defines
(such constants are signed ints by default)

svn path=/trunk/; revision=54300
2013-12-20 15:02:23 +00:00
Martin Kaiser 0f59960219 we can display UTF-8 encoded ISO 10646 BMP without any mapping
svn path=/trunk/; revision=54299
2013-12-20 15:00:26 +00:00
Martin Kaiser d8fd9f7ace add Asian DVB-SI character tables
minor whitespace changes

svn path=/trunk/; revision=54298
2013-12-20 14:59:34 +00:00
Martin Kaiser cf3276b1fc simplify the defines for DVB chartables
there's no need for their values to match the values in the DVB-SI spec
we can summarize basic and extended table definitions

svn path=/trunk/; revision=54297
2013-12-20 14:58:43 +00:00
Evan Huus a6415ece0a Rename a couple of to_str functions to have ep_ in the name. This makes it
obvious that the returned string is ephemeral, and opens up the original names
in the API for versions that take a wmem pool (and thus can work in any scope).

svn path=/trunk/; revision=54249
2013-12-19 15:49:09 +00:00
Jakub Zawadzki 099294dd16 Add charset table for ISO/IEC 8859-9 (ENC_ISO_8859_9)
svn path=/trunk/; revision=54239
2013-12-18 23:32:06 +00:00
Martin Kaiser 71b281ae8c when the default character table is used,
don't add af hf entry with len 0 to the tree
add a text element instead

svn path=/trunk/; revision=54145
2013-12-16 16:49:37 +00:00
Martin Kaiser afc0d8af03 use ISO 8859-5 for DVB-SI
svn path=/trunk/; revision=54133
2013-12-15 19:19:30 +00:00
Martin Kaiser 9f22d3a558 improve DVB-SI string handling
new function dvb_add_chartbl() adds a tree entry for an encoding
use FT_BTYES as type for encoding hfs
string hfs for DVB-SI strings must have STR_UNICODE, not BASE_NONE
make dvb_string_encoding_vals[] internal to dvb_chartbl.c

svn path=/trunk/; revision=54128
2013-12-15 18:38:35 +00:00
Martin Kaiser f98af2794b remove a line that sneaked in from some tests
svn path=/trunk/; revision=54116
2013-12-15 12:51:33 +00:00
Martin Kaiser db1b70f168 as requested, move the functions/defines for DVB character tables
to separate files

svn path=/trunk/; revision=54113
2013-12-15 12:05:50 +00:00