databases/rainfrog: Add new port
Rainfrog is a lightweight, terminal-based tool for interacting with databases.
Features:
- efficient navigation via vim-like keybindings and mouse controls
- query editor with keyword highlighting, session history, and favorites
- quickly copy data, filter tables, and switch between schemas
- shortcuts to view table metadata and properties
- cross-platform (Android via termux, FreeBSD, Linux, MacOS, Windows)
Supported databases:
- Postgres
- MySQL
- Sqlite
- Redshift (via wire protocol of Postgres)
- DuckDB
[3 lines not shown]
tests: sys/capsicum/functional requires mqueuefs
Skip this test if mqueuefs isn't loaded. Unfortunately, that will skip
the entire googletest test program, including test cases that don't
require mqueuefs. But the test's own skipping logic doesn't work, and
we don't yet have a googletest-compatible require_kmods() function.
MFC after: 2 weeks
Sponsored by: ConnectWise
Reviewed by: emaste, ngie
Differential Revision: https://reviews.freebsd.org/D54902
[clang][bytecode] Fix crash on __builtin_align_up with one-past-end pointers (#178652)
## Summary
Fix assertion failure when evaluating
`__builtin_align_up`/`__builtin_align_down`/`__builtin_is_aligned` with
one-past-end pointers like `&array[size]`.
## Root Cause
`getIndex()` calls `getOffset()` which asserts when `Offset ==
PastEndMark`. This happens for one-past-end element pointers.
## Fix
Check `isElementPastEnd()` before calling `getIndex()`. For past-end
pointers, use `getNumElems()` instead which gives the correct index
value.
## Test
Added test cases in `builtin-align-cxx.cpp` for one-past-end pointer
alignment.
Fixes #178647
databases/py-harlequin: Add new port
Harlequin is an easy, fast, and beautiful database client for the terminal.
It has all the features you'd expect from an SQL IDE, delightfully running
right in your terminal.
- View tables, columns, and their types across one or more attached
databases. Optionally view local files or S3 objects.
- A full-featured editor: autocomplete, open, save, format, cut, copy, paste,
and more. Supports multiple tabbed buffers!
- View 1M+ results in an interactive table. Multiple queries loaded into
separate tabs.
- Full Screen
- Export query results and configure the export using a helpful UI.
- View a list of executed queries and a summary of results. Select to insert
into a new buffer.
https://harlequin.sh/
textproc/py-textual-textarea: Add new port
Textual-textarea is a text area (multi-line input) with syntax highlighting for
Textual.
It offers a full-featured text editor experience with VS-Code-like bindings, in
your Textual App:
- Syntax highlighting and support for Pygments themes.
- Move cursor and scroll with mouse or keys (including ctrl+arrow, PgUp/Dn,
ctrl+Home/End).
- Open (ctrl+o) and save (ctrl+s) files.
- Cut (ctrl+x), copy (ctrl+c), paste (ctrl+u/v), optionally using the system
clipboard.
- Comment selections with ctrl+/.
- Indent and dedent (optionally for a multiline selection) to tab stops with
Tab and shift+Tab.
- Automatic completions of quotes and brackets.
- Select text by double-, triple-, or quadruple-clicking.
[3 lines not shown]
textproc/py-textual-fastdatatable: Add new port
Textual-fastdatatable is a performance-focused reimplementation of Textual's
DataTable widget, with a pluggable data storage backend.
https://github.com/tconbeer/textual-fastdatatable
InstCombine: Fold bitcast of vector with constant to scalar
Fold bitcast (select cond, val, const) ->
select cond, (bitcast val), (bitcast const)
Rocm device libs has an unfortunate amount of code that does bithacking
on the sign bit of double values by casting to <2 x i32> and operation
on the high element. This breaks value tracking optimizations on the
fp value.
The existing transform would only do this if the input to the select was
also a bitcast with a single use, and if it didn't convert between vector
and scalar.
shells/powershell: Install the lib/powershell/ref symlink
This fixes a error that happens when typing
Add-Type -TypeDefinition @"
using System;
"@ -Language CSharp
into PowerShell's prompt.
It is yet unclear if all .NET DLLs should actually be installed under /ref,
but this is still better than non-working Add-Type command.
Reported by: Luke Brennan <lukebrennan at outlook.com>