Commit Graph
19 Commits
Author SHA1 Message Date
marcoandClaude Opus 4.6 188b952be7 Fix mirrored image export with CGBitmapContext renderer
Draw base CGImage without coordinate flip, apply flip+scale only for
annotations. Save via direct NSBitmapImageRep access instead of
tiffRepresentation to avoid transform issues. Also redirect clipboard
images to saveFolder instead of temp directory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-08-30 18:52:49 +02:00
marcoandClaude Opus 4.6 8d6c2213ad Fix arrows not drawing when dragged left or upward
CGRect.maxX/maxY standardize to positive values, collapsing
the arrow endpoint onto the start point for negative width/height.
Use origin + size instead to preserve direction.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-22 07:39:56 +02:00
marcoandClaude Opus 4.6 519706dd41 Fix annotation position shift in editor and export
Use flipped container with Auto Layout for correct coordinate
mapping. Use lockFocusFlipped(true) in renderer so exported
annotations match canvas positions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-22 07:21:05 +02:00
marcoandClaude Opus 4.6 0fce3e6d28 Add Gatekeeper workaround to installation instructions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-02 09:22:52 +02:00
marcoandClaude Opus 4.6 4267650739 Add launch at login option, bump to v1.0.2
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-02 09:08:34 +02:00
marcoandClaude Opus 4.6 052663b356 Remove Logitech Options+ setup section from docs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 22:58:14 +02:00
marcoandClaude Opus 4.6 827af0b239 Add README with documentation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 22:54:56 +02:00
marcoandClaude Opus 4.6 d878e8e333 Rename app from Snipping Tool to SnipMC
Changes bundle ID, URL scheme, display name, project name,
and all user-facing references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
v1.0.1
2026-07-01 22:49:38 +02:00
marcoandClaude Opus 4.6 b55947e536 Add clipboard image editing
Open the editor with an image from the clipboard via menu
("Aus Zwischenablage bearbeiten") or URL (snippingtool://clipboard).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 18:57:30 +02:00
marcoandClaude Opus 4.6 d50a1d550a Add documentation tab to About window
Two-tab layout: Info (version, creator) and Dokumentation (capture
modes, editor tools, URL schema reference, Logitech Options+ setup
guide, permission hints).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 18:52:47 +02:00
marcoandClaude Opus 4.6 e2c3ef7f37 Add snippingtool://editlast URL to edit last capture
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 18:48:16 +02:00
marcoandClaude Opus 4.6 7a78176183 Fix flipped image in editor canvas
Use respectFlipped: true when drawing NSImage so it renders correctly
in the flipped NSView coordinate system.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 18:42:12 +02:00
marcoandClaude Opus 4.6 8c73c5fbc5 Fix editor integration and add snippingtool://edit URL
- Fix menu button by deferring NSOpenPanel to next run loop
- Add snippingtool://edit URL to open file editor directly
- Add app activation before showing open panel (LSUIElement fix)
- Remove debug logging

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 18:25:07 +02:00
marcoandClaude Opus 4.6 78d6809445 Bump version to 1.0.1 (build 2)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 17:53:17 +02:00
marcoandClaude Opus 4.6 59b3f8d2a1 Add edit parameter to URL scheme for capture-then-edit workflow
snippingtool://region?edit=true now captures a region screenshot and
immediately opens the editor. Works with all modes: fullscreen, window,
region. Without ?edit=true, behavior is unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 17:51:44 +02:00
marcoandClaude Opus 4.6 f6e90047a8 Add About window with creator and version info
Shows app icon, version, "Freeware" badge, creator (Marco Wende —
Wende.IT), and link to wende.it. Accessible via "Über Snipping Tool…"
in the menu bar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 17:47:27 +02:00
marcoandClaude Opus 4.6 062285abbf Add image editor with annotation tools
Integrates an editor accessible via "Letzte Aufnahme bearbeiten…" or
"Bild bearbeiten…" in the menu bar. Supports arrow, rectangle, ellipse,
and text annotations with color picker, line width, undo/redo, and
export to file or clipboard.

New files in Sources/Editor/:
- AnnotationItem/Document: data model and state management
- AnnotationCanvasView: NSView with CG rendering and mouse interaction
- AnnotationRenderer: shared rendering for canvas and image export
- EditorToolbarView: SwiftUI toolbar with tool selection and actions
- EditorWindowController: window lifecycle following SettingsWindowController pattern

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-01 17:44:20 +02:00
marcoandClaude ecbae7cd21 Add URL scheme support for external trigger integration
Register snippingtool:// URL scheme so external tools (Logitech Options,
Shortcuts, Stream Deck) can trigger specific capture modes directly.
Adds AppDelegate for reliable URL handling in MenuBarExtra-only apps.

Supported URLs:
  snippingtool://fullscreen
  snippingtool://window
  snippingtool://region

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-01 16:03:25 +02:00
marco 1c2b52fa30 Initial commit: Snipping Tool menu bar screenshot app 2026-07-01 15:27:57 +02:00