rustc emits:
```
warning: deployment target in MACOSX_DEPLOYMENT_TARGET was set to 10.9, but the minimum supported by `rustc` is 10.12
```
and so we follow that min requirement
I want to move all the objc stuff over to the objc2 crate.
The older notification center is deprecated and doesn't
have any bindings that are supported by the objc2 crate.
This is mostly straightforward, except I lost hours running
down the delegate was being dropped. Best guess is that
there's some autorelease pool magic that I don't understand;
I tried stashing the object into a global but that still didn't
keep it retained.
In the end, the simplest solution is to take it out of its
Retained wrapper and just leak it; it doesn't hold any
meaningful amount of data anyway, but it is vital to keep
it alive for the notification center callbacks to trigger.
Note that UNUserNotificationCenter requires that the application be
code-signed in order to function. I don't like this, but that's the way
that apple want it: sponsors are supporting the cost of my apple
developer account to enable this.
Avoids a panic on startup:
```
thread 'main' panicked at config/src/config.rs:1671:86:
called `Result::unwrap()` on an `Err` value: Error(Regex(CompileError(InnerError(Syntax(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex parse error:
^(?:\s|$|[^_-/a-zA-Z0-9])
^^^
```
refs: #6391
* Select current tab option as initial choice in ShowTabNavigator
This introduces the following changes
- Select the choice corresponding to the active tab as the initial choice
* docs: Add current tab choice documentation in ShowTabNavigator
This changes the following
- Update ShowTabNavigator.md with current tab choice documentation
* refactor: remove redundant local variable
* Update log_error.md to include using ShowDebugOverlay to view logs
* Update log_info.md to include using ShowDebugOverlay to view logs
* Update log_warn.md to include using ShowDebugOverlay to view logs
This PR addresses issues with setting the WEZTERM_HOST environment variable in environments lacking certain hostname utilities, specifically hostname and hostnamectl, which may not be available in minimal or non-Systemd setups.
* fix: `Contain` not preserving aspect ratio of tall images
When both width and height is set to `Contain`, the scaling uses the
wrong direct proportional scaling formula for tall images. This is due
to `aspect` being `width / height`:
By dividing (original), the formula expands to `scaled_width /
scaled_height : height / width` which inversely scaled the width of tall
images. By multiplying instead, the formula correctly expands to
`scaled_width / scaled_height : width / height` which preserves aspect
ratio when scaling.
* refactor: simplify "Contain" and "Cover" formulas; use max for "Cover", min for "Contain"
This was derived from the principle of direct proportion `x=ky` where
`k` is the scaling factor, and `x` `y` are the dimensions. Scaling
factor is based on image's dimension relative to the window's.
Contain needs the minimum scaling factor to ensure both dimensions fit
within the window. Cover needs maximum scaling factor to ensure the
image's smaller dimension fits in the window, allowing the larger
dimension to crop, as expected.
It's not working; I suspect a cirrus environmental issue, but
have no time or energy to debug, and I want to free up the
compute credit and disable this source of noise.
* Update user-var-changed.md
By default base64 inserts a line break at some column which will truncate the user var. `-w 0` disables line wrapping
* added a note instead of changing the base64 command