Commit Graph
1556 Commits
Author SHA1 Message Date
valoq a9c7e82d24 fix: unify file permissions (#2612) 2026-06-11 13:28:46 +10:00
valoq 0462b9ace3 fix: prevent copying a directory into itself (#2608) 2026-06-11 13:18:20 +10:00
valoq 583e78b727 fix: close pipe file handles (#2606) 2026-06-11 13:00:44 +10:00
dependabot[bot] 190e305ea1 chore(deps): bump golang.org/x/term from 0.43.0 to 0.44.0 (#2611)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.43.0 to 0.44.0.
- [Commits](https://github.com/golang/term/compare/v0.43.0...v0.44.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.44.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 08:26:04 +02:00
dependabot[bot] 2b807840a7 chore(deps): bump golang.org/x/sys from 0.45.0 to 0.46.0 (#2610)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.45.0 to 0.46.0.
- [Commits](https://github.com/golang/sys/compare/v0.45.0...v0.46.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 08:17:27 +02:00
valoq 9e9a988e33 fix: prevent deadlock when watching files (#2599)
* fix deadlock

* improve patch

* re-trigger ci

* improve patch
2026-05-30 19:20:06 +10:00
CatsDeservePets c53aacf373 docs: fix typos and grammar in documentation (#2604) 2026-05-30 03:21:55 +02:00
Joe Lim d6eebeb8ad fix: handle missing cache during fileChan reload (#2602)
When saving a file in a text editor, the modification will be reported
in `fileChan` which then reloads the cached preview. However the preview
may also end up getting deleted from the cache first if the text editor
saves using a backup file instead of writing to the file directly. This
commit simply adds back the cache entry as a fallback if it is missing.

Maybe it's better to have a function similar to `getDir` that operates
for reg previews (i.e. read-through cache).
2026-05-29 14:00:50 +10:00
Joe Lim 2a802aa28b docs: update CHANGELOG.md for #2594 (#2601) 2026-05-29 13:31:07 +10:00
valoq 468b32180d fix: reload preview immediately after watch file modification (#2594)
* fix redundant reload

* optimize patch
2026-05-29 13:28:13 +10:00
Joe Lim 59a556c822 docs: update CHANGELOG.md for #2597 (#2598) 2026-05-26 15:15:50 +10:00
valoq 14e915281b fix: display loading... message for preview of modified files (#2597) 2026-05-26 15:11:21 +10:00
Joe Lim 978cb7dc03 docs: update CHANGELOG.md for #2590 (#2596) 2026-05-25 14:35:41 +10:00
valoq cedad0af7e fix: sanitize error message for rulerfile option (#2590) 2026-05-25 14:32:16 +10:00
dependabot[bot] d765bb784a chore(deps): bump golang.org/x/sys from 0.44.0 to 0.45.0 (#2593)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.44.0 to 0.45.0.
- [Commits](https://github.com/golang/sys/compare/v0.44.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-25 13:52:49 +10:00
valoq 9a60c5c89a refactor: cleanup and document sanitization functions (#2589)
* refactor sanitization functions

* reorder functions

* cleanup

* document sanitize functions
2026-05-25 12:51:29 +10:00
dependabot[bot] 3bf2f25374 chore(deps): bump github.com/gdamore/tcell/v3 from 3.3.0 to 3.4.0 (#2585)
Bumps [github.com/gdamore/tcell/v3](https://github.com/gdamore/tcell) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv3.md)
- [Commits](https://github.com/gdamore/tcell/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v3
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-19 11:39:49 +10:00
Joe Lim fb1c944207 docs: update CHANGELOG.md for #2467 and #2546 (#2588) 2026-05-19 11:31:00 +10:00
valoq 0ca4d75b9b fix: sanitize names on file operations (#2546)
* fix: sanitize names on file operations

* dont strip internal colors

* minimize sanitation

* cover history entries

* minor improvement

* fix patch

* optimize patch
2026-05-19 11:27:02 +10:00
Joe Lim 42e567abbd docs: update CHANGELOG.md (#2584) 2026-05-16 10:53:31 +10:00
valoq eebc6e4488 fix: prevent preview flicker when terminal height decreases (#2537)
* fix preview flicker

* address preview height increase

* check cached preview height

* improve patch

* improve patch

* fix patch
2026-05-16 10:47:14 +10:00
Joe Lim 39da022fcc docs: update CHANGELOG.md for #2537 and #2561 (#2583) 2026-05-15 15:48:50 +10:00
valoq 2cd4ba016a fix: prevent loading previews with outdated dimensions (#2491)
* fix preload size

* fix race

* skip height check

* fix loaded previews
2026-05-15 14:05:57 +10:00
valoq 87d067c552 fix!: enhance detection for binary previews (#2561)
* improve text detection

* update doc
2026-05-15 13:59:54 +10:00
dependabot[bot] da044df808 chore(deps): bump golang.org/x/term from 0.42.0 to 0.43.0 (#2580)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.42.0 to 0.43.0.
- [Commits](https://github.com/golang/term/compare/v0.42.0...v0.43.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-11 13:07:51 +10:00
Joe Lim be2484318f docs: update CHANGELOG.md for #2542 (#2575) 2026-05-10 12:36:27 +10:00
valoq 0cf8d597db fix: sanitize sixel previews (#2542)
* fix sixel filter

* improve sixel filter

* simplify sixel byte filter

* cleanup
2026-05-10 12:25:54 +10:00
Joe Lim 7bbdfebded docs: update CHANGELOG.md for #2540 (#2573) 2026-05-06 15:33:15 +10:00
valoq 18ae1129c3 fix: sanitize paths when writing to a terminal (#2540)
* complete missing filename sanitation

* sanitize only on stdout

* improve patch
2026-05-06 15:28:06 +10:00
Joe Lim eb0a9410ec docs: update CHANGELOG.md for #2567 (#2571) 2026-05-04 14:29:47 +10:00
valoq ac8f594f66 fix: update stale previews when preload is enabled (#2567) 2026-05-04 13:56:04 +10:00
CatsDeservePets b41a0f839b style: use modern octal literal (#2568) 2026-05-03 17:41:21 +02:00
CatsDeservePets a170ffd8d9 docs: fix typo (#2565) 2026-05-02 07:38:04 +02:00
CatsDeservePets 8d138cfd4e docs: fix outdated documentation (#2564)
* fix outdated information regarding `dircounts`

* generate docs for `sortignorecase`/`sortignoredia`
2026-05-02 05:31:29 +02:00
valoq a88d55e077 refactor: migrate from uniseg to displaywidth (#2559)
* migrate from uniseg to displaywidth

* use firstGraphemeCluster
2026-05-01 14:06:58 +10:00
valoq 54bcbca6ce fix: filter newline (#2526) 2026-04-28 07:40:10 +02:00
Joe Lim ffe1ac1cb8 docs: update CHANGELOG.md (#2555) 2026-04-28 15:31:20 +10:00
valoq 4be254042d fix: concurrency in server connection (#2549)
* improve server reliability

* manage connections
2026-04-28 15:20:05 +10:00
valoq 0822603d2b fix: watch in symlinked dirs (#2550)
* fix: watch in symlinked dirs

* remove mutex
2026-04-28 14:18:17 +10:00
Joe Lim 523359d85d docs: update CHANGELOG.md (#2553) 2026-04-27 14:44:38 +10:00
ivan 8018ebbda5 feat!: Add sortignorecase/sortignoredia options to decouple sorting from searching
* add sortignorecase option for sorting

* format code

* remove unnecessary position updates

* decouple sorting and searching sensitivity options

* Decouple sorting and searching case/diacritics sensitivity
2026-04-27 13:10:52 +10:00
Joe Lim e22aea7f33 refactor: use provided names for Tcell colors (#2548) 2026-04-26 01:05:34 +10:00
Joe Lim 0d736e5554 docs: update CHANGELOG.md (#2547) 2026-04-26 00:15:42 +10:00
valoq 452e073836 fix!: change fallback socket location to a user-specific directory (#2532)
* fix: enforce correct owner of socket

* improve socket handling

* simplify socket name
2026-04-26 00:07:02 +10:00
dependabot[bot] cef9b45a47 chore(deps): bump github.com/gdamore/tcell/v3 from 3.1.2 to 3.3.0 (#2538)
Bumps [github.com/gdamore/tcell/v3](https://github.com/gdamore/tcell) from 3.1.2 to 3.3.0.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv3.md)
- [Commits](https://github.com/gdamore/tcell/compare/v3.1.2...v3.3.0)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v3
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-23 20:50:31 +10:00
valoq cad59d9654 fix: disable pathname expansion in lfrc.example (#2544) 2026-04-23 19:04:02 +10:00
Joe Lim 73c7f1be8c docs: update CHANGELOG.md (#2530) 2026-04-16 11:50:22 +10:00
valoq 867cd99f50 feat!: remove TCP socket support for server connections (#2527)
Windows has supported Unix domain sockets for quite some time now, so falling back to TCP sockets can be removed. As a result, Unix domain sockets will be used on all platforms.
2026-04-16 11:37:30 +10:00
valoq 66bc58b4bf perf: remove redundant sort (#2510) 2026-04-15 12:43:56 +10:00
Joe Lim d90dce7e4d docs: Add -trimpath to installation instructions (#2529) 2026-04-15 12:40:15 +10:00