Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scijava/scijava-links
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: scijava/scijava-links
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: scheme-registration
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 16 files changed
  • 2 contributors

Commits on Nov 25, 2025

  1. Add Windows URI scheme registration

    Implements automatic registration of URI schemes with the Windows
    Registry, enabling users to click custom links (e.g., fiji://open)
    in browsers or other applications to launch the Java application.
    
    Key components:
    - SchemeInstaller interface for platform-independent scheme registration
    - WindowsSchemeInstaller using Windows reg commands (no JNA dependency)
    - LinkHandler.getSchemes() for handlers to declare supported schemes
    - DefaultLinkService auto-registers schemes on context initialization
    
    The launcher sets the scijava.app.executable system property to
    specify the executable path for registration.
    
    Registration uses HKEY_CURRENT_USER and requires no admin privileges.
    Includes comprehensive tests and documentation.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    ctrueden and claude committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    e742bc7 View commit details
    Browse the repository at this point in the history
  2. Always refer to "URI schemes", not "URL schemes"

    "URI scheme" is more technically correct.
    
    According to RFC 3986 (the URI specification), "scheme" is formally part
    of URI syntax, and the official IANA registry is called "Uniform
    Resource Identifier (URI) Schemes".
    
    The distinction:
    - URI = Broader term for identifying resources
    - URL = Specific type of URI that includes location/access information
    
    Custom schemes like myapp://open/file are technically URIs, and the
    myapp part is a "URI scheme". While "URL scheme" is used colloquially
    (especially in mobile app contexts), "URI scheme" is more precise.
    ctrueden committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    735fafd View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2025

  1. Add Linux URI scheme registration

    Extends URI scheme registration to Linux via .desktop file manipulation.
    The LinuxSchemeInstaller modifies the MimeType field in the .desktop file
    to add x-scheme-handler entries, then registers them using xdg-mime.
    
    Key components:
    - DesktopFile: Simple parser/writer for .desktop files
    - LinuxSchemeInstaller: Adds URI schemes to existing .desktop files
    - Updates DefaultLinkService to support both Windows and Linux
    
    The .desktop file path is specified via the scijava.app.desktop-file
    system property.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    ctrueden and claude committed Nov 26, 2025
    Configuration menu
    Copy the full SHA
    28bd729 View commit details
    Browse the repository at this point in the history
Loading