Skip to content

Release 1.7.1: hinted text, faster big working trees, packed-refs lock fix - #20

Merged
oops1 merged 10 commits into
mainfrom
develop
Oct 25, 2026
Merged

oops1 merged 10 commits into
mainfrom
develop

Conversation

@oops1

@oops1 oops1 commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Release 1.7.1. CI on develop (434e1a7) is green.

What changed

  • Engine v3.43.0 and sharper text. App.New turns on vertical hinting with the recommended contrast boost (SetTextQuality). Line widths and layout do not change; LCD smoothing stays off because it is useless over RDP. GG-94 from v3.42.0 is fixed upstream, so the toolbar golden frames are back to their v3.39 state.
  • Faster status on big working trees. Attribute lookups answer from the cache before building the rule stack, and Status asks only for FilterUnsupported. The untracked pass reuses the directory listings of the tracked pass, so each tracked directory is listed once per scan. Status of 50k files with unchanged entries: 103 ms -> 53 ms, 122 MB -> 41 MB.
  • Watcher off the UI thread. The first snapshot is taken in the background and the working scan waits for Ready(), so no change right after opening is lost. New ignored directories reach the running watcher through SetSkipDirs instead of a restart with a full walk. Opening a repository with 80k files blocks the UI for 19 ms instead of 250-440 ms.
  • packed-refs.lock on Windows. Creating the lock while Windows is still deleting the old one fails with access denied; lockPacked now retries that within its one-second window and reports the original error when it lasts longer. This was the race-rest (windows-latest) failure on 0823b11.
  • Earlier on develop: journal paging keeps the selection, Blame opens a commit with a single click, the TLS handshake waits a minute on slow links.

For the reviewer

  • CHANGELOG.md, RELEASE_NOTES.md, README*.md, USER_GUIDE.md and winres.json are updated for 1.7.1.
  • Checked locally: full test run with -tags oracle and coverage, -race and oracle in WSL for the touched packages, golangci-lint for Windows and Linux.
  • After the merge the tag v1.7.1 goes on the merge commit.

Чукалин Валерий added 10 commits October 16, 2026 19:42
…imer after the request is sent

On a slow link the 15 s handshake limit cut off clones that git finishes,
and the error surfaced as a bare "context deadline exceeded". The handshake
now reports ErrTLSHandshakeTimeout, and the discovery header timer no longer
spends its 30 s on connecting.
The engine draws small text as before unless asked, so App.New enables
vertical hinting with the recommended contrast boost right after creating
the engine. LCD smoothing stays off: it is useless over RDP.
…UI thread

Attributes.Lookup answers from its cache before it builds the rule stack,
single values are read without a throwaway map, and Status asks only for
FilterUnsupported instead of the whole conversion policy. The untracked
pass reuses the directory listings the tracked pass already read, so each
tracked directory is listed once per scan.

The watcher takes its first snapshot in the background and the working
scan waits for it, so no change made right after opening is lost. A new
set of ignored directories reaches the running watcher through
SetSkipDirs instead of restarting it with a full walk.

On 80 000 files opening a repository blocks the UI for 19 ms instead of
250-440 ms, a repeated scan takes about 115 ms instead of 240 ms and
allocates a third of the memory.
…ng it

On Windows a removed file stays pending deletion while any handle is open,
and creating a file of the same name meanwhile fails with access denied.
lockPacked treated that as a final write error, so a commit right after
git or a scanner let go of packed-refs.lock failed. Access denied is now
retried within the same one-second window and reported as it is when it
outlasts the window. Linux keeps failing at once.
@oops1
oops1 merged commit 0126d6a into main Oct 25, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant