5560 Commits

Author SHA1 Message Date
Mitchell Hashimoto
c86ae79d52 core: reset left click count if mouse reporting goes on 2024-03-20 15:58:16 -07:00
Tim Culverhouse
806b33f8f2 mouse: handle switch case '0' for left_click_count
A state of '0' if a valid state for the mouse click. I'm unsure *how* we
get a 0 within this branch but I was able to reliably trigger it while
clicking and dragging. We handle the state explicitly because the `else`
prong is `unreachable`. We only handle triple clicks, and in another
function we reset to 3 if the count goes above that. Add an assert to
confirm this is the case.
2024-03-20 10:57:52 -05:00
Mitchell Hashimoto
5dc7384d57 Merge pull request #1590 from qwerasd205/fix-stream
fix(terminal/stream): correct invalid assertion
2024-03-17 16:45:39 -07:00
Qwerasd
1c87bf51a0 fix(terminal/stream): correct invalid assertion 2024-03-17 15:06:31 -06:00
Mitchell Hashimoto
4b1958bfdf Merge pull request #1582 from mitchellh/macos-responder
macos: only process key equivalents if we're focused
2024-03-15 14:17:19 -07:00
Mitchell Hashimoto
6854fe91ab macos: only process key equivalents if we're focused
Fixes #1581
2024-03-15 14:11:46 -07:00
Mitchell Hashimoto
2c448585e4 Merge pull request #1579 from mitchellh/dependabot/github_actions/namespacelabs/nscloud-cache-action-1.1.4
build(deps): bump namespacelabs/nscloud-cache-action from 1.1.3 to 1.1.4
2024-03-15 10:21:37 -07:00
dependabot[bot]
eeec17fba0 build(deps): bump namespacelabs/nscloud-cache-action from 1.1.3 to 1.1.4
Bumps [namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/namespacelabs/nscloud-cache-action/releases)
- [Commits](https://github.com/namespacelabs/nscloud-cache-action/compare/v1.1.3...v1.1.4)

---
updated-dependencies:
- dependency-name: namespacelabs/nscloud-cache-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 00:17:16 +00:00
Mitchell Hashimoto
776ba9c9b2 Merge pull request #1577 from mitchellh/update-zig
update zig
2024-03-13 13:56:59 -07:00
Mitchell Hashimoto
61424a875c nix: update cache hash 2024-03-13 13:40:42 -07:00
Mitchell Hashimoto
c2c115a768 fix some issues 2024-03-13 13:40:07 -07:00
Chris Marchesi
a2c9ac558d nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.3282+da5b16f9e).
2024-03-13 10:19:00 -07:00
Mitchell Hashimoto
b48d24a546 update zig 2024-03-13 09:14:12 -07:00
Mitchell Hashimoto
13c5a70da7 build.zig update required zig version 2024-03-12 14:32:20 -07:00
Mitchell Hashimoto
3d704837d0 Merge pull request #1574 from mitchellh/dependabot/github_actions/cachix/install-nix-action-26
build(deps): bump cachix/install-nix-action from 24 to 26
2024-03-10 20:05:01 -07:00
Mitchell Hashimoto
28559443be Merge pull request #1575 from mitchellh/dependabot/github_actions/softprops/action-gh-release-2
build(deps): bump softprops/action-gh-release from 1 to 2
2024-03-10 20:04:39 -07:00
Mitchell Hashimoto
66dac92cd6 Merge pull request #1576 from mitchellh/undefined
core: remove undefined access on variable
2024-03-10 17:48:23 -07:00
Mitchell Hashimoto
08f88a0c86 core: remove undefined access on variable
It was possible if there was no selection for `reset` to be undefined.
2024-03-10 17:29:54 -07:00
dependabot[bot]
11921c9cd4 build(deps): bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 00:29:40 +00:00
dependabot[bot]
d5eb5a88bc build(deps): bump cachix/install-nix-action from 24 to 26
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v26)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 00:29:36 +00:00
Mitchell Hashimoto
60065e4195 Merge pull request #1572 from mitchellh/update-zig
update zig
2024-03-10 16:37:54 -07:00
Chris Marchesi
bd9998809d nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.3192+e2cbbd0c2).
2024-03-10 11:23:33 -07:00
Mitchell Hashimoto
4ecb6307b7 update zig 2024-03-09 15:59:45 -08:00
Mitchell Hashimoto
bf3a9d25cc Merge pull request #1571 from mitchellh/update-zig
update zig
2024-03-08 19:01:52 -08:00
Mitchell Hashimoto
dc9bd68244 update zig 2024-03-08 18:52:35 -08:00
Mitchell Hashimoto
932a526379 Merge pull request #1569 from qwerasd205/paste-full-filepath
feat(macOS): Paste copied files as absolute paths.
2024-03-08 18:49:54 -08:00
Qwerasd
bd03b19679 style 2024-03-08 13:24:01 -05:00
Qwerasd
d1ac0aff39 feat(macOS): Paste copied files as absolute paths.
Previously files would be pasted as only the filename. This commit
introduces an extension to NSPasteboard which provides a method to
consistently get the string contents of a pasteboard so that the
behavior can stay the same anywhere where we need to do that.
2024-03-07 20:53:48 -05:00
Mitchell Hashimoto
b3e411add8 Merge pull request #1568 from mitchellh/dependabot/github_actions/namespacelabs/nscloud-cache-action-1.1.3
build(deps): bump namespacelabs/nscloud-cache-action from 1.1.2 to 1.1.3
2024-03-06 17:26:26 -08:00
dependabot[bot]
92074cf8a2 build(deps): bump namespacelabs/nscloud-cache-action from 1.1.2 to 1.1.3
Bumps [namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/namespacelabs/nscloud-cache-action/releases)
- [Commits](https://github.com/namespacelabs/nscloud-cache-action/compare/v1.1.2...v1.1.3)

---
updated-dependencies:
- dependency-name: namespacelabs/nscloud-cache-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 01:02:31 +00:00
Mitchell Hashimoto
506a23db65 Merge pull request #1567 from jparise/appcast-commit-link
dist/macos: link the commit to GitHub's history view
2024-03-05 12:08:22 -08:00
Jon Parise
ca78d197d8 dist/macos: link the commit to GitHub's history view
This makes it easy to see the build in context of the repo's commit
history.
2024-03-05 10:32:34 -08:00
Mitchell Hashimoto
42f77bd985 ci: revert back to using r2 action 2024-03-04 21:17:26 -08:00
Mitchell Hashimoto
a494cf920d ci: test 2024-03-04 21:15:21 -08:00
Mitchell Hashimoto
c37a595b81 ci: test aws for release 2024-03-04 21:10:08 -08:00
Mitchell Hashimoto
6d8fb512a5 ci: rename github release jobs for r2 2024-03-04 20:54:32 -08:00
Mitchell Hashimoto
39934dd7c2 ci: try new gha for r2 upload 2024-03-04 20:47:44 -08:00
Mitchell Hashimoto
76f2b44955 Revert "ci: try to use namespace for macos to see if that fixes builds"
This reverts commit d56bec8b9a7f11c5ed6ada5979399179b1faf794.
2024-03-04 17:41:54 -08:00
Mitchell Hashimoto
d56bec8b9a ci: try to use namespace for macos to see if that fixes builds 2024-03-04 17:34:35 -08:00
Mitchell Hashimoto
ad0f062d44 Merge pull request #1558 from mitchellh/wordboundaries
add more word boundary characters
2024-03-04 14:33:52 -08:00
Mitchell Hashimoto
eaa78477d5 terminal: fix tests for brackets on selectWord 2024-03-04 14:30:28 -08:00
Mitchell Hashimoto
8b668ac415 Merge pull request #1564 from qwerasd205/fix-render-alloc
fix(renderer): allocate enough room for fg cells
2024-03-03 18:45:38 -08:00
Qwerasd
e8460fa2c2 fix(renderer): allocate enough room for fg cells
Previously encountered OOB when screen filled with cells with glyphs,
underlines, and strikethroughs. Also clarified comment slightly.
2024-03-03 20:26:51 -05:00
Adam Stephens
59485713b4 screen/selectword: add more boundary characters 2024-02-29 22:30:30 -05:00
Mitchell Hashimoto
b5b2eac245 Merge pull request #1559 from mitchellh/zig-cache
ci: cache the Zig cache
2024-02-29 13:27:54 -08:00
Mitchell Hashimoto
4093b9e707 ci: cache zig local/global cache 2024-02-29 12:51:28 -08:00
Mitchell Hashimoto
8881cd6373 Merge pull request #1557 from mitchellh/dependabot/github_actions/namespacelabs/nscloud-cache-action-1.1.2
build(deps): bump namespacelabs/nscloud-cache-action from 1.1.1 to 1.1.2
2024-02-27 16:53:25 -08:00
dependabot[bot]
afb5c4f0a3 build(deps): bump namespacelabs/nscloud-cache-action from 1.1.1 to 1.1.2
Bumps [namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/namespacelabs/nscloud-cache-action/releases)
- [Commits](https://github.com/namespacelabs/nscloud-cache-action/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: namespacelabs/nscloud-cache-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-28 00:49:12 +00:00
Mitchell Hashimoto
bb8afe3e22 Merge pull request #1556 from der-teufel-programming/fix-build+utf8
Fix build+utf8
2024-02-27 11:33:00 -08:00
Chris Marchesi
41f670eb9b nix: update nixpkgs-zig-0-12
This updates the nixpkgs-zig-0-12 to be in line with the current overlay
Zig (0.12.0-dev.3033+031f23117).
2024-02-27 10:59:39 -08:00