arm1.ru

Tag: «macos»

HTMLEditor for SwiftUI 1.1.0

event Apr 6, 2026 at 17:39

HTMLEditor for SwiftUI 1.1.0

This release focuses on Swift 6.3 compatibility, a substantial rewrite of the editor's highlighting pipeline, and much better responsiveness when editing very large HTML documents.

Added

  • Added the HTMLEditorBenchmarks executable target for repeatable performance measurements.
  • Added benchmark support for full-plan highlighting, overlap reuse, edit invalidation, visible-highlight remapping, and large-document local repaint paths.
  • Added focused regression tests for:
    • planner cache reuse and document-scoped invalidation
    • invalid NSRange and UTF-16 edge cases
    • quoted and unquoted attribute value highlighting
    • visible highlight state remapping
    • block-based highlight coverage
    • large-document editing and scrolling policies

Changed

  • Refactored the editor runtime into smaller focused components, including separate coordinator lifecycle, viewport, editing, policy, coverage, structural-range, and visible-highlight-state files.
  • Refactored the syntax highlighter into planner- and builder-based components for clearer separation of scanning, planning, and application.
  • Moved the editor to an adaptive runtime model that changes behavior based on document size instead of treating all HTML documents the same way.

Improved

  • Greatly improved large-document editing performance with:
    • viewport-first highlighting
    • document-scoped planner caches and targeted invalidation
    • cached visible-range plans
    • block-based highlight coverage tracking
    • structural dirty-range alignment around edits
    • two-phase large-file editing with immediate micro-pass and deferred wider repaint
    • burst-coalesced edit repainting
    • scroll-idle semantic highlighting
    • deferred binding synchronization for large documents
    • allowsNonContiguousLayout enabled automatically in large-file mode
  • Improved highlight stability while typing in the middle of very large HTML by preserving visible overlay state and reducing repaint churn around the caret.
  • Improved performance tuning and observability for large files with dedicated benchmark coverage and runtime probes.

Fixed

  • Fixed compilation and concurrency issues needed for Swift 6.3 compatibility.
  • Fixed several editor update-path issues related to coordinator state, highlighting tasks, and main-actor behavior.
  • Fixed highlight regressions and edge cases involving:
    • partial tags
    • empty input
    • large payloads
    • attribute-value coloring
    • visible highlight loss during large-file editing
    • invalid or clipped visible ranges

Notes

  • Full-document semantic highlighting is still used for smaller HTML inputs.
  • Very large HTML inputs now automatically switch to a more conservative, performance-oriented editing mode to keep scrolling and typing responsive.

Try it on GitHub: https://github.com/makoni/HTMLEditor-SwiftUI

Star Fork

Actioneer for Linux 1.0.8

event Mar 12, 2026 at 18:02

Actioneer for Linux 1.0.8

Actioneer 1.0.8 focuses on making live GitHub Actions monitoring more reliable while using the GitHub API more efficiently.

Highlights

  • In-progress workflow runs now keep refreshing while they are still active, so expanded jobs and steps stay current before the run finishes.
  • Expanded run details are more stable and easier to read, with clearer badges, preserved job context, and contiguous step numbering.
  • Workflow status badges are now translated more consistently across the app's supported languages.
  • Background refresh is lighter on the GitHub API, reducing duplicate requests and helping preserve rate-limit headroom.

Technical improvements

  • Fixed several live-refresh lifecycle issues in the detail pane so switching repositories or rebuilding rows no longer disables the active refresh loop.
  • Removed duplicate initial jobs fetches caused by rerender races around freshly expanded runs.
  • Reduced unnecessary polling pressure by tightening selected-repo refresh ownership and job-refresh reuse.

Get it from the Snap Store
Get it on Flathub

Actineer for Linux got translations

event Mar 5, 2026 at 20:39

Actioneer for Linux 1.0.7

Actioneer for Linux has translations available in numerous languages, including Russian, Spanish, French, Portuguese (Brazil), Hindi, Simplified Chinese, Arabic, Bengali, Urdu, German, and Dutch.

It also includes a built-in crash reporter, which you can copy and paste the report or open an issue on GitHub. Additionally, there are some tweaks and improvements made under the hood.

Get it from the Snap Store
Get it on Flathub

Recent updates for Actioneer for Linux

event Feb 13, 2026 at 18:16

Actioneer for Linux

There were a bunch of updates of Actioneer for Linux recently, which I forgot to post here. Here's what's new in these updates:

1.02

  • Faster and smoother UI with refreshed repo/workflow lists and improved scrolling behavior.
  • New run filtering controls with better caching, so switching filters is instant and doesn’t reload data.
  • Better workflow auto-refresh and run status updates, including fewer duplicate fetches.
  • Notifications are more reliable across Snap/Flatpak, with improved icon handling and fallbacks.
  • Improved sandboxed credential storage using the secret portal for Snap/Flatpak.
  • Offline-friendly cache persistence for workflows, runs, and jobs.
  • Packaging and CI updates across Snap, Flatpak, and AppImage for better compatibility.
  • Dependency updates and stability fixes.

1.03

  • Job logs now render ANSI colors, grouped workflow sections, and clearer command/output formatting.
  • Aligned timestamps and command prefixes improve scanability, with stronger error highlighting.
  • Packaging CI refreshed with multi-arch updates for AppImage/Snap/Flatpak builds.
  • Dependency updates and demo log refreshes for improved accuracy.

1.04

  • Handle expired job logs (HTTP 410) with clearer messaging instead of a broken view.
  • Strip BOM markers in job logs so first-line timestamps render correctly.

1.05

  • Manual workflow triggers now support workflow_dispatch inputs with dynamic parameter fields.
  • Dependency updates for ryu, unicode-ident, and zmij.

Get it from the Snap Store
Get it on Flathub

Actioneer 1.01

event Jan 20, 2026 at 15:07

Actioneer screenshot

The first update for Actioneer has been released. Here's what's new:

  • Workflows refresh in the background so newly-dispatched runs appear automatically.
  • Reduced API usage and fewer rate-limit hits with ETag-based caching — lists load faster and your quota lasts longer.
  • The app remembers the repository you were viewing between launches.
  • Better diagnostics and reliability for smoother everyday use.

Download

Follow updates on X: https://x.com/ActioneerCI

Actioneer - Command your CI

event Oct 16, 2025 at 11:37

Actioneer screenshot

Actioneer — a lightweight macOS app for developers and DevOps engineers who want fast, reliable access to GitHub Actions from the desktop.

Key features

  • Browse your GitHub repositories and view Actions workflows and recent runs quickly.
  • Inspect run status (success, failure, queued, in progress) with clear badges and counts.
  • View job logs: download and preview run logs for quick troubleshooting.
  • Dispatch workflows, cancel running workflows, and re-run failed runs directly from the app.
  • Favorites and quick search let you focus on the repositories and workflows that matter most.
  • Desktop notifications for run completions and failures so you never miss important results.
  • In-memory caching and efficient refresh make the app responsive while respecting GitHub rate limits.
  • Secure authentication using OAuth (PKCE); tokens are stored securely in the macOS Keychain.

Privacy & security

We only request minimum GitHub scopes required for the features you use. Authentication uses OAuth PKCE and tokens are stored in the macOS Keychain. We do not send your logs or tokens to third-party servers without your explicit consent. See the app’s Privacy Policy for details.

Getting started

Sign in with your GitHub account (OAuth), grant the requested scopes, and the app will list your repositories and workflows. For CI/CD administrators and individual developers alike, Actioneer makes monitoring and simple management of GitHub Actions fast and convenient.

Download

Follow updates on X: https://x.com/ActioneerCI

HTMLEditor for SwiftUI 1.0.3

event Aug 11, 2025 at 20:50

SwiftUI text editor for macOS with HTML syntax highlighting

Spent some more time on HTMLEditor for SwiftUI. There are significant performance improvements in the new version 1.0.3 (thanks to Claude Code).

Try it on GitHub: https://github.com/makoni/HTMLEditor-SwiftUI

SwiftUI text editor for macOS with HTML syntax highlighting

event Jul 9, 2025 at 23:01

SwiftUI text editor for macOS with HTML syntax highlighting

A few months ago, I wanted to add a text editor to one of my apps with HTML syntax highlighting. I tried a couple of libs that I found on GitHub, but none of them really worked for me. Mostly, they are too heavy and try to do everything. And in the end, they are glitchy and buggy.

So inspired by vibe coding, I made my own. It works fine for me and doesn't try to be an IDE or a real code editor. Just a simple SwiftUI view with a text editor with syntax highlighting. Colors are customizable with a simple struct.

Try it on GitHub: https://github.com/makoni/HTMLEditor-SwiftUI

How to get selected text inside of TextEditor in SwiftUI on macOS

event Mar 30, 2024 at 17:59

How to get selected text inside of TextEditor in SwiftUI on macOS

TextEditor in SwiftUI still doesn’t have any API to get user selection. But since it’s using NSTextView internally we can subscribe to its notifications.

Here’s an example of getting a substring from user selection:

local_offer swiftui macos

JPG to HEIF converter

event May 21, 2018 at 23:19

JPG to HEIF converter

Today I've decided to experiment with HEIF that was introduced by Apple with macOS 10.13 and iOS 11. They said that it has the same quality with much lower file size.

It's supported in the latest versions of macOS and iOS and last models of iPhone can take pictures in that format.

I'm thinking about compressing my home archive of photos and videos. I was experimenting with HEVC (H.265) and results were great - I had reduced the size of my videos by encoding them to HEVC with an awesome util called HandBrake.

I found the only way to convert JPG to HEIF (which has HEIC extension). It's possible with the Preview app from macOS. But it would be interesting for me if I can do it by myself in Swift. So I did :)

My folder with 64 photos from my action camera was 203 mb in JPG format. And it's only 31.3 mb in HEIC.

macOS and iOS support it from the box. And what's interesting - it's easy to add pictures in this format to the Photos library and it will appear on all your devices that use iCloud. But if you want to export this picture from the Photos library - it will be converted to JPG on the fly, so it looks like you can't export the original HEIC file.

The converter is free and open source (but it's for macOS only): https://github.com/makoni/jpg-to-heif-converter