Commit graph

3166 commits

Author SHA1 Message Date
Martin Mathieson
6d96f6dd51 Fix some spelling errors 2023-10-03 15:43:59 +00:00
Anders Broman
14f9bcacc2 YACC: Update yacc.py to 3.11 2023-10-03 12:48:40 +02:00
Martin Mathieson
10e312fde1 More value_string fixes 2023-09-28 15:33:39 +01:00
Michael Tuexen
3f3ef7f463 macos-setup: fix uninstalling sparkle 2023-09-30 10:41:47 +02:00
Michael Tuexen
5cc394fa96 macos-setup: fix building of spandsp 2023-09-30 10:09:20 +02:00
Michael Tuexen
8ad5adb32b macos-setup: update location of zlib 2023-09-30 10:08:26 +02:00
Gerald Combs
672637758a macos-setup: Install Sparkle 2.2.2 2023-09-30 07:32:02 +00:00
Anders Broman
1d9ba7de54 IEEE 1609.2: Update asn1 descriptions and add CAMP 2023-09-29 19:21:11 +00:00
Gerald Combs
c778a99db8 Tools: Add constant conversions to convert-glib-types
Add conversions from G_GINT64_CONSTANT to INT64_C and G_GUINT64_CONSTANT
to UINT64_C to convert-glib-types. Convert instances in epan/ftypes and
wsutil.
2023-09-29 05:58:06 +00:00
John Thacker
2b4f939761 lemon: Add -- support to end options, use in our lemon
Patch lemon to stop parsing options upon encountering "--".
This prevents an issue in the unlikely situation where the
source directory or a source filename has a '=' in it, or
starts with a "-".

Redo 3716933046 but only
use the -- option in our lemon, not when using system lemon.
2023-09-27 08:37:07 -04:00
João Valverde
37697f7f4e Revert "lemon: Add -- support to end options"
This reverts commit 3716933046.

Does not work currently when cross-compiling.
2023-09-27 12:28:34 +00:00
John Thacker
3716933046 lemon: Add -- support to end options
Patch lemon to stop parsing options upon encountering "--".
This prevents an issue in the unlikely situation where the
source directory or a source filename has a '=' in it, or
starts with a "-".

This has been reported to sqlite upstream.
2023-09-27 01:16:43 +00:00
Martin Mathieson
a6c406d718 check_tfs: ignore #if 0 ... #endif region as comment 2023-09-24 21:20:58 +00:00
Gerald Combs
54e729fe6c Convert epan/dfilter to C99 types
Ping #19116
2023-09-24 06:26:10 +00:00
Gerald Combs
bc3d35cef4 Convert epan/ftypes to C99 types
Ping #19116
2023-09-22 23:43:06 +00:00
Gerald Combs
c7c58ea4f8 Tools: Add a comment about aqtinstall to macos-setup 2023-09-22 11:14:15 -07:00
João Valverde
78547a149f Make tfs_true_false the default for booleans
Instead of adding a TFS(&tfs_true_false) to every boolean
field, make it the default if "strings" is NULL.

This seems to match the already existing documentation:

    If the Boolean field is to be displayed as "False" or "True", the
    'strings' field would be set to NULL.
2023-09-22 12:19:55 +00:00
Guy Harris
69e639a036 macos-setup: have CMake set the dylib install_path to the full path. [skip ci]
Libraries not built with CMake have as their install_path (meaning "the
install path recorded in the dylib file", not "the path to which the
file is installed") the full path of the library where it's installed.

CMake, at least in newer versions, defaults to @rpath/{library file name}.

This causes binaries built in the Wireshark binary process, and linked
with those libraries, not to be executable from the build directory, at
least on macOS Sonoma when built with Xcode 15.  (See comment in the
script for details.)

Define DO_CMAKE to run cmake with -D options to force libraries to have
their install_path be the full path to which the library is installed.
2023-09-21 15:04:39 -07:00
Guy Harris
fabc1b2e2d macos-setup: update zlib version to the current version. [skip ci]
At least at one point, trying to download the previous version got a
404.
2023-09-21 14:57:19 -07:00
Martin Mathieson
cd1c799228 check_typed_item_calls: take mask into account for value_string width 2023-09-21 20:39:43 +00:00
Martin Mathieson
cb4dcaef59 Check range of value_string fits into width of hf 2023-09-21 13:46:40 +00:00
Gerald Combs
533f4ac472 Tools: Add format specifiers to convert-glib-types
Convert a couple of files as well.

Ping #19116
2023-09-20 22:21:17 +00:00
Guy Harris
3d8aa5fb16 macos-setup: remove out-of-date libffi.pc files. [skip ci]
Before checking whether we need to install a .pc file for libffi, so
that GLib's configuration process finds the libffi that Apple has
shipped with at least some macOS releases (library) and Xcode releases
(headers), check whether we have one that's out-of-date due to pointing
to an SDK that was installed the last time we ran the script but that's
not installed now due to a newer Xcode release having been installed in
the interim.

(Yes, this can happen, and, yes, this did happen, causing mysterious
build failures due to code in Glib trying to include <ffi.h> rather than
<ffi/ffi.h>, as they expected libffi's .pc file to point to an ffi
include directory that exists.)
2023-09-20 19:18:19 +00:00
Martin Mathieson
05be253a4d tools/checkAPIs.py: match padding/width in forbidden %ll formats 2023-09-20 11:18:38 +00:00
Zoran Bošnjak
64b102dd82 asterix: UAP selector fix for cat001
Fixes #16720
2023-09-20 05:27:05 +00:00
Zoran Bošnjak
eea242244f asterix: update for extended item upstream change
Minor structure change in asterix-specs, revision #8364980.
Extended item handling fix.

Fixes #19145
2023-09-20 05:27:05 +00:00
Guy Harris
88436985a5 macos-setup: work around Sonoma's new libiconv. [skip ci]
Sonoma replaced the GNU libiconv with the FreeBSD iconv code; it
conforms to POSIX, but does not have the same behavior as GNU libiconv
in a case where POSIX doesn't specify the behavior.

The configure script for GNU gettext tests for GNU behavior and doesn't
use iconv if it sees non-GNU behavior; unfortunately, that causes the
build of gettext to break.  (See the comment for the details.)

Work around it the same way Homebrew does.
2023-09-19 16:35:04 -07:00
Martin Mathieson
a489239848 More fussing with item mask values 2023-09-18 11:02:07 +01:00
Martin Mathieson
35f1383857 Fix some spelling errors 2023-09-17 05:58:37 +00:00
Martin Mathieson
684f3bf979 Check whether value_string labels spuriously differ in capitalisation 2023-09-15 19:46:20 +00:00
Michael Tuexen
691184af71 macos-setup: fix building opus
The location of the sources has been changed.
2023-09-14 11:00:51 +00:00
Michael Tuexen
8d8e57c5e4 macos-setup: fix building bcg729
The location of the sources has changed and the build system is now cmake.
2023-09-14 11:00:51 +00:00
Michael Tuexen
77592f6bbc macos-setup: fix building libssh
Patch does not apply anymore and is not needed anymore.
2023-09-14 11:00:51 +00:00
Michael Tuexen
fa8daa4cf4 macos-setup: fix builing libxml2
The location of the sources has changed.
2023-09-14 11:00:51 +00:00
Michael Tuexen
6e2ba73b6c macos-setup: fix builing snappy
The current version has a bug, which needs to be patched.
2023-09-14 11:00:51 +00:00
Michael Tuexen
b8fc4cf2a3 macos-setup: fix building gnutls 2023-09-14 11:00:51 +00:00
Michael Tuexen
0e33c37c84 macos-setup: fix building nettle 2023-09-14 11:00:51 +00:00
Michael Tuexen
17f273b6d8 macos-setup: fix building p11_kit 2023-09-14 11:00:51 +00:00
Gerald Combs
e1c5a055f9 Tools: Install cmake-rpm-macros in mingw-rpm-setup
Attempt to fix the following CI job failure:

    $ mingw64-cmake -G Ninja -DENABLE_CCACHE=Yes -DFETCH_lua=Yes ..
    /usr/bin/mingw64-cmake: line 91: fg: no job control

[skip ci]
2023-09-13 00:33:25 +00:00
Gerald Combs
79ff594439 Tools: Update a bunch of macOS library versions
[skip ci]
2023-09-07 09:12:07 -07:00
Martin Mathieson
c599c0c347 Clean up some hf blurbs 2023-09-06 12:00:15 +00:00
Martin Mathieson
2c3c5448c8 check_tfs.py: fix remaining cases where case matches exactly 2023-09-05 10:57:14 +00:00
Martin Mathieson
fdd047b656
PTP: delete an include, and make a variable static 2023-09-04 09:54:44 +00:00
Martin Mathieson
d6f38c2031 Fix a couple of spelling errors 2023-09-04 10:20:14 +01:00
Martin Mathieson
fc16c74e42 check_typed_item_calls.py: some updates 2023-09-03 17:35:16 +01:00
dariusd0
c6fe72e8d7
check_tfs.py: Fix an error message. 2023-09-02 14:31:25 +00:00
Peter Wu
a1c7e84f07 manuf: constify API, improve internal documentation
* None of the OUI tables are supposed to be written to, constify them.
* Use proper types in the bsearch parameters to avoid confusion.
* Move masking outside the bsearch function as tiny optimization.
* Document the MA-L/M/S macros.
2023-08-30 18:53:47 +02:00
Gerald Combs
b3431a0504 Windows: Update our nghttp2 and nghttp3 packages
Update nghttp2 to 1.55.1 and add the nghttp3 arm64 package.
2023-08-30 08:09:07 -07:00
Omer Shapira
8564c8d525 HTTP3: Use NG-HTTP3 to dissect headers.
All code by Omer Shapira.
Copy of MR #9330 with minor fixes.
2023-08-30 10:12:10 +00:00
Anders Broman
80f9a28921 Adding HTTP/3 dissection to Wireshark.
This is a copy of MR #9330 all code and credit to Omer Shapira.
2023-08-30 10:12:10 +00:00