2026-10-21 00:54:54 +00:00
|
|
|
[package]
|
|
|
|
|
name = "shift"
|
release: 0.1.4 — figures survive every conversion
Three conversion fixes since 0.1.3, all found with the same two documents:
- DOCX -> PDF kept the text and dropped the pictures, because AppKit's OOXML
reader returns an attributed string with no attachments at all. An image-bearing
DOCX now goes through Pandoc into HTML before the same printer, which keeps
headings, tables and figures. Image-only DOCX files still take the page-scan
path, and a machine without Pandoc falls back to the old text-only result
rather than failing.
- Markdown -> DOCX/RTF/HTML lost the same figures for a different reason: a
Markdown image is a path, Pandoc has to open the file to embed it, and it
resolves that path against its own working directory, which for a running Shift
is nowhere near the document. It now gets --resource-path of the source folder.
- A picture that did arrive printed as a cropped fragment. The layout sizes an
attachment from the density header in the file - 72 dpi when it carries none -
and ignores CSS, so a 1600 px screenshot asks for 1200 points on a 595 point
page. The renderer fits oversized attachments to the text column, scaled and
not resampled. Markdown and HTML documents with wide images are covered too.
The Updates panel's install and discard buttons are one matched pair now, sized to
the panel's own 12px scale instead of the dense 8.5px rows of the Runtime tab they
were borrowed from, and the row drops the discard control while an install is
counting down.
Gates: cargo test --lib 152 passed / 2 ignored, pnpm check clean, pnpm test 38
passed. Artifacts verified from the built bundles, not the build log: the DMG
carries 0.1.4, x86_64 + arm64, Signature=adhoc, and its bundled doc-render places
a wide image at 499pt inside the page; the Windows exe carries the feed URL and
the release public key.
2026-10-26 09:24:22 +00:00
|
|
|
version = "0.1.4"
|
2026-10-21 00:54:54 +00:00
|
|
|
description = "A radial file utility with screenshot, recording and OCR."
|
|
|
|
|
authors = ["Shift Contributors"]
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
name = "shift_lib"
|
|
|
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
tauri = { version = "2.11", features = ["tray-icon", "image-png", "macos-private-api", "protocol-asset", "unstable"] }
|
|
|
|
|
tauri-plugin-clipboard-manager = "2"
|
|
|
|
|
tauri-plugin-dialog = "2"
|
|
|
|
|
tauri-plugin-global-shortcut = "2"
|
|
|
|
|
tauri-plugin-opener = "2"
|
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
|
serde_json = "1"
|
|
|
|
|
image = { version = "0.25.8", default-features = false, features = ["png", "jpeg", "webp", "tiff", "bmp", "gif"] }
|
|
|
|
|
lopdf = { version = "0.45", default-features = false }
|
|
|
|
|
printpdf = { version = "0.12.8", default-features = false, features = ["images", "png", "jpeg", "webp", "tiff", "bmp", "gif"] }
|
|
|
|
|
calamine = "0.36.1"
|
|
|
|
|
quick-xml = "0.42"
|
|
|
|
|
zip = { version = "8.6", default-features = false, features = ["deflate"] }
|
|
|
|
|
base64 = "0.22"
|
|
|
|
|
chrono = { version = "0.4", features = ["clock"] }
|
|
|
|
|
uuid = { version = "1", features = ["v4"] }
|
|
|
|
|
which = "7"
|
release: 0.1.1 — update channel, settings/UI trims, macOS + Windows x64 only
Update path
- `src-tauri/src/update.rs`: manifest fetch, semver compare, optional ed25519
signature check against a key baked in at build time, then a size + SHA256
gate before an installer can run. `UpdateStatus` now reports the artifact key
it resolved so the UI can name what it will install.
- Settings → Updates panel shows the feed, the check/download state machine, and
the local OS, architecture and release artifact for this machine.
- `scripts/publish-release.sh` + `scripts/release-key.py` publish installers and a
signed `shift-update.json` onto an orphan `releases` branch.
Scope trims requested for this release
- Settings: the Radial rings tab is gone, so ring orders are read from
`settings.json` with no in-app editor for now.
- Main window: the update entry in the header bar is gone; updates live in
Settings → Updates only.
- Release targets are macOS universal and Windows x64. ARM64 and Linux stay
buildable and are no longer published; `docs/RELEASE.md` records the decision.
Gates: cargo fmt --check clean, `cargo test --lib` 142 passed / 2 ignored,
`pnpm check` clean, `pnpm test` 34 passed, `pnpm build` ok.
2026-10-25 19:06:46 +00:00
|
|
|
sha2 = "0.10"
|
|
|
|
|
hex = "0.4"
|
|
|
|
|
ed25519-dalek = { version = "3.0.0", default-features = false, features = ["alloc", "fast"] }
|
2026-10-21 00:54:54 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
|
windows-sys = { version = "0.59", features = [
|
|
|
|
|
"Win32_Foundation",
|
2026-10-25 04:24:05 +00:00
|
|
|
"Win32_Graphics_Gdi",
|
2026-10-21 00:54:54 +00:00
|
|
|
"Win32_System_Console",
|
2026-10-25 04:24:05 +00:00
|
|
|
"Win32_System_Com",
|
|
|
|
|
"Win32_System_LibraryLoader",
|
|
|
|
|
"Win32_System_Registry",
|
|
|
|
|
"Win32_System_SystemInformation",
|
2026-10-21 00:54:54 +00:00
|
|
|
"Win32_System_Threading",
|
2026-10-25 04:24:05 +00:00
|
|
|
"Win32_System_WindowsProgramming",
|
|
|
|
|
"Win32_Globalization",
|
|
|
|
|
"Win32_Security",
|
|
|
|
|
"Win32_Storage_FileSystem",
|
|
|
|
|
"Win32_UI_HiDpi",
|
2026-10-21 00:54:54 +00:00
|
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
|
|
|
"Win32_UI_WindowsAndMessaging",
|
2026-10-25 04:24:05 +00:00
|
|
|
"Win32_UI_Shell",
|
|
|
|
|
"Win32_UI_Shell_Common",
|
2026-10-21 00:54:54 +00:00
|
|
|
] }
|
|
|
|
|
|
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
|
libc = "0.2"
|
|
|
|
|
|
2026-10-25 04:24:05 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
|
flate2 = "1"
|
|
|
|
|
|
2026-10-21 00:54:54 +00:00
|
|
|
[profile.dev]
|
|
|
|
|
debug = 1
|
|
|
|
|
|
|
|
|
|
[profile.dev.package."*"]
|
|
|
|
|
debug = false
|