NetworkManager/NEWS.md
Thomas Haller 9d1772bd73 Squashed 'src/c-stdaux/' changes from 99fe83cd5698..1407a1fb2754
1407a1fb2754 ci: add clang to RTD scripts
8404c4ca6d06 ci: build documentation
044c65c2e134 docs: add sphinx-based API documentation
ad8449068d96 ci: use ci-c-util for macos runs
179987035687 build: adjust for v1.1.0 release
55d787178c84 build: prepare v1.1.0 release
29ca943e636a c-stdaux: avoid NULL arithmetic even in dead-code
c6358e956c29 c-stdaux: avoid NULL-dereference in constant expressions
7fab258bdf6a c-stdaux: improve kerneldoc comments
434b75a796c0 build: export 'version-scripts' configuration
33d56a6aecb9 c-stdaux: encapsulate C_EXPR_ASSERT()
aca7ee0ece60 ci: add macos run
0aa338b1f0de test: prefer pipe() over eventfd() for portability
adda5ff3e9d9 build: export cflags via pkg-config
7a8493bebc59 api: add c_memcpy()
a01615aefe48 build: prepare v1.0.0
1685fc39db3d api: provide c_memzero()
1257244f886a api: add c_memset()

git-subtree-dir: src/c-stdaux
git-subtree-split: 1407a1fb275494f9efc1abbef2fd19856fb1f43d
2022-07-06 10:15:51 +02:00

1.4 KiB

c-stdaux - Auxiliary macros and functions for the C standard library

CHANGES WITH 1.1.0:

    * Add c_memcpy() as a safe wrapper around memcpy(3) that supports
      empty arenas as NULL pointers.

    * Support building on MacOS-X.

    * Rework the apidoc comments and properly document the entire API.

    * Export 'version-scripts' configuration variable alongside the
      existing 'cflags' variable. It defines whether c-stdaux was built
      with GNU-linker version-scripts, or not. Dependent projects can
      use this to decide whether to use version-scripts or not.
      Additionally, the new 'version-scripts' meson-option allows
      specifying whether to use version-scripts, auto-detect whether to
      enable it, or disable it.

    * Fix the export of `cflags` to also be exported in pkg-config, not
      just meson subprojects.

    * Avoid NULL-pointers in compile-time macros. This silences possible
      false-positives from code sanitizers that otherwise trip over the
      NULL pointer dereferences.

    Contributions from: David Rheinsberg, Evgeny Vereshchagin

    - Brno, 2022-06-22

CHANGES WITH 1.0.0:

    * Initial release of c-stdaux.

    Contributions from: David Rheinsberg, Lorenzo Arena, Michele Dionisio,
                        Yuri Chornoivan

    - Dußlingen, 2022-05-12