git-arc: Add a diff subcommand
Show the differences between local commits and their associated
Phabricator reviews, i.e., what "git arc update" would upload. For
each commit, the review's current raw diff is applied to the commit's
parent in a temporary index and the resulting tree is compared against
the commit itself. An empty diff means the commit and the review are
in sync.
This makes it easy to check whether local amendments have diverged
from the posted review before updating it, or to confirm that a
review is current before landing.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D58789
databases/mysql-shell: Add New Port
MySQL Shell is an advanced client and code editor for MySQL with
support for SQL and Python scripting, both the classic and the
X protocol, and the AdminAPI. It builds its own copy of the MySQL
9.7.1 source tree to obtain the static client libraries.
JavaScript mode is not available since the GraalVM polyglot runtime
has not been ported to FreeBSD; see pkg-message.
PR: 291004
Co-authored-by: Daniel van Eeden <freebsd at myname.nl>
Co-authored-by: Dan Langille <dvl at FreeBSD.org>
Sponsored by: Netzkommune GmbH
databases/mysql-shell: Add New Port
MySQL Shell is an advanced client and code editor for MySQL with
support for SQL and Python scripting, both the classic and the
X protocol, and the AdminAPI. It builds its own copy of the MySQL
[9 lines not shown]
graphics/py-svg.py: Add New Port
Type-safe SVG drawing library for Python.
Required as a runtime dependency of the upcoming
databases/mysql-shell port.
PR: 291004
Sponsored by: Netzkommune GmbH
unix: only treat an empty sun_path as a peer descriptor for connectat(2)connect(2) passes AT_FDCWD to unp_connectat(), so the empty-path
descriptor branch added in 6563dcb6b1f5 turned any sockaddr whose
sun_path begins with a NUL byte into getsock(AT_FDCWD), failing with
EBADF where the pathname lookup historically failed with ENOENT.
Linux abstract namespace names are exactly that: the linuxulator
passes them through with the leading NUL intact, and libxcb tries the
abstract socket first, falling back to the pathname socket only on
ENOENT or ECONNREFUSED. The EBADF made every Linux X11 client fail
at startup with "Missing X server or $DISPLAY".
Restrict the descriptor interpretation to fd != AT_FDCWD, matching
the contract stated in 6563dcb6b1f5's commit message ("Accept an
empty sun_path when fd is not AT_FDCWD"): connect(2) again reaches
the pathname lookup and fails with ENOENT as it always did.
Add a regression test: a NUL-leading, nonzero-length sun_path through
[7 lines not shown]
www/gohugo: Update to 0.165.0
Bug fixes
* Fix resource transformation chaining after content access
* Fix server static file detection for deleted files/directories in the static syncer
* Fix server errors when deleting static files or directories
* Fix panic on server atomic save edits on MacOS
* markup/asciidocext: Fix TOC parsing for asciidoctor-html5s
* snap: Fix snap home environment
Improvements
* resources: Resume chained resource transformations
* resources/jsconfig: Drop source root mapping for the current source root
* circleci: Upgrade to Go 1.26.5
* Add Data.Artifacts to css.Build and js.Build
* css: Add classDark and classLight options to css.ChromaStyles and gen chromastyles
* markup/highlight: Re-emit token colors dropped by Chroma's minifier
[11 lines not shown]
libcxgb4: Use t4fw_interface.h from the cxgbe driver sources
In Linux these are maintained in separate places so a separate copy is
needed, but in FreeBSD take advantage of the shared tree to avoid
having a duplicate copy that can be stale.
Reviewed by: np
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D58575
rtld: Remove a stale #ifdef PIC
rtld has always been built PIC since commit
7ca8e6a67068e8357e251bd3ea86253c8a751d59. The stale #ifdef might
confuse a reader by thinking rtld can be built as non-PIC.
Reviewed by: kib
Sponsored by: AFRL, DARPA
Differential Revision: https://reviews.freebsd.org/D58623
libc: Implement qualifier-preserving standard library functions
Several standard library functions are specified to return an unqualified
pointer while accepting a pointer to a potentially const-qualified object.
N3020 addresses this behaviour, discarding qualifiers due to incompatible
pointer types, by introducing qualifier-preserving macros for the affected
set of standard library functions.
Add `__qualsel()` helper to `<sys/cdefs.h>`, implemented using the generic
selection, and define qualifier-preserving macros for that set of functions
in `<string.h>`, `<wchar.h>`, and `<stdlib.h>`.
Macros are gated on `_STDC_VERSION__ >= 202311L && !__cplusplus`, therefore
there is no behavioural change for earlier C modes or C++ translation units.
The kernel is likewise unaffected, as it does not include userland headers.
As function-like macros, they are transparent except at a call site where
the address-of operator is applied, the macro is suppressed via `#undef`,
or the identifier appears in parenthesised form; all of which cause the
[6 lines not shown]