63 Commits
Author SHA1 Message Date
Greg Shuflin 4fe4edb067 Add description 2026-10-31 01:43:00 -07:00
Greg ShuflinandClaude Opus 5.5 3731d9f3ff nix: add fontconfig and freetype for gpui-ce
gpui-ce 0.3 depends on yeslogic-fontconfig-sys and freetype-sys, whose
build scripts locate the system libraries via pkg-config.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-30 03:19:18 -07:00
Greg Shuflin 08011a8396 Update flakes 2026-10-30 02:42:26 -07:00
Greg ShuflinandClaude Opus 5.5 e61bce42cf Add TODO.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 04:14:26 -07:00
Greg ShuflinandClaude Opus 5.5 6c89a07601 Switch from gpui 0.2.2 to gpui-ce 0.3
The gpui crate on crates.io hasn't been updated since Oct 2025. Move to
the GPUI Community Edition fork, renamed to `gpui` in Cargo.toml so
imports are unchanged.

- Platform backends now live in gpui_ce_platform; enable wayland and x11
  explicitly to match the old gpui defaults.
- Application::new() -> gpui_ce_platform::application().
- window.focus() now takes cx.
- Port TextInput to the new bidi-aware text layout API (caret and
  hit-testing go through the platform layout), the palette-based color
  types, and new TextRun/ContentMask/ShapedLine::paint signatures.
- Fix character_index_for_point using the wrong offset and ignoring
  the scroll offset.
- Bump image to 0.25.10 in the lockfile; gpui_ce_linux uses
  ImageBuffer::into_raw_bgra without requiring that version.

Drops stacksafe 0.1 and with it the proc-macro-error2 future-incompat
warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 04:13:35 -07:00
Greg ShuflinandClaude Opus 5.5 cf10f4d930 Resizable fixed-width sidebar and optional file timestamps
The image was sized against the full window width and the sidebar could
shrink, so the sidebar boundary shifted as images changed. Give the
sidebar an explicit width that doesn't shrink, size images to the
remaining space, and add a draggable divider to resize it.

Add a "Timestamps" checkbox to the top bar that shows each file's
modified time in the sidebar. File metadata is now read once per
directory load and cached, so re-sorting no longer stats every file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 02:08:11 -07:00
Greg ShuflinandClaude Opus 5.5 6c232bc570 Bump infer to 0.22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 23:51:07 -07:00
Greg ShuflinandClaude Opus 5.5 58c233a232 Add sort control to filename sidebar
Sort images by name, created date, modified date, or size. Clicking the
active key toggles direction; the current image stays selected across
re-sorts. Files with missing metadata sort last in either direction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 23:50:14 -07:00
Greg Shuflin d3c523e84e Fix meganekko double-compile 2026-09-15 03:11:14 -07:00
Greg Shuflin 50f0db2420 nix: switch to crane for more efficient building 2026-08-16 22:39:07 -07:00
Greg ShuflinandClaude Sonnet 4.6 6234f5ed52 Validate file arguments: show non-images as errors in sidebar
Direct file args are now checked with is_image_file(); valid images are
displayed as before, while non-image files appear in a red "Not images"
section at the bottom of the sidebar. Directory args continue to be
scanned recursively (or shallowly with --shallow). No-arg behavior is
unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 15:56:31 -07:00
Greg ShuflinandClaude Opus 4.6 5ca5978e85 Fix hang when opening a single file from a large directory
Opening a file like ~/image.jpg would recursively scan the entire home
directory. Unify the file/directory argument handling so explicit files
are included directly and only given directories are scanned.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 00:43:09 -08:00
Greg Shuflin 34b751cb17 Keyboard movement 2026-01-13 03:30:14 -08:00
Greg Shuflin 15470ffa42 text input tweaks 2026-01-13 03:27:34 -08:00
Greg Shuflin bfc50f8c33 Use current dir with no path specified 2026-01-09 03:08:37 -08:00
Greg Shuflin de7a15d5cc Also install the same binary as 'mg' 2025-12-28 13:13:53 -08:00
Greg Shuflin 8c48b0f9cd README.md 2025-12-26 22:40:48 -08:00
Greg Shuflin 14d0be79e9 Fix sidebar 2025-12-26 00:27:23 -08:00
Greg Shuflin 258892fb0c Adjust window title 2025-12-25 16:38:33 -08:00
Greg Shuflin cae815e511 use -s flag 2025-12-25 14:04:11 -08:00
Greg Shuflin 26ad4fe409 Harmonize the list of supported image types between infer and image 2025-12-24 17:01:00 -08:00
Greg Shuflin cd464c1097 desktop file, icon, etc. 2025-12-14 01:37:05 -08:00
Greg Shuflin 4115885c7f image filename sidebar 2025-12-12 12:17:46 -08:00
Greg Shuflin 68aa77ef96 pick image directory 2025-12-12 03:15:54 -08:00
Greg Shuflin be3307590c Handle command line arguments 2025-12-11 03:07:04 -08:00
Greg Shuflin a3ccfa18c3 Correctly set window title 2025-12-11 03:00:13 -08:00
Greg Shuflin d5682d237b Rename project to meganekko 2025-12-11 02:42:03 -08:00
Greg Shuflin 53fc1b2a84 Abstract out colors 2025-12-11 00:26:34 -08:00
Greg Shuflin 586cc13487 buttons don't overlap text to be renamed 2025-12-10 23:55:32 -08:00
Greg Shuflin 8ee8fb186a remove unused set_content 2025-12-10 23:20:51 -08:00
Greg Shuflin 85cbcad883 restrict zoom to 100% 2025-12-10 23:15:51 -08:00
Greg Shuflin e7618930af Show zoom 2025-12-10 23:12:37 -08:00
Greg Shuflin ee6fb1c96a Show image dimensions 2025-12-10 23:00:51 -08:00
Greg Shuflin f82f45aff9 Show subdirs 2025-12-10 22:52:11 -08:00
Greg Shuflin 5ae575bed7 Add result to .gitignore 2025-12-10 22:49:59 -08:00
Greg Shuflin 816aa116dd Fix flake fully? 2025-12-10 22:23:00 -08:00
Greg Shuflin 86a7ebb9f2 issues with getting flake to build 2025-12-10 10:37:11 -08:00
Greg Shuflin fdbd1a1f2d Add nix flake 2025-12-10 03:14:49 -08:00
Greg Shuflin 70781499b7 renaming working? 2025-12-10 03:10:06 -08:00
Greg Shuflin 42e55b981d correct renaming 2025-12-10 01:50:52 -08:00
Greg Shuflin 701653268e no-recursive 2025-12-10 01:01:03 -08:00
Greg Shuflin cd852f3eed arrange layout 2025-12-10 00:56:03 -08:00
Greg Shuflin 610ad42051 kj as well 2025-12-10 00:48:57 -08:00
Greg Shuflin d476703116 Keyboard navigation 2025-12-10 00:44:51 -08:00
Greg Shuflin 04f2deb9ff Fix bug 2025-12-10 00:39:28 -08:00
Greg Shuflin 275e4e44c7 Update packages 2025-12-10 00:38:37 -08:00
Greg Shuflin 8eb5bf6f5c Fix overflow issue 2025-12-10 00:32:16 -08:00
Greg Shuflin 03e6045ed6 use infer to detect image files 2025-10-28 19:03:33 -07:00
Greg Shuflin 03bc9c9a11 Refactor 2025-10-28 02:21:00 -07:00
Greg Shuflin 6e5be5edee Rename modules 2025-10-28 01:07:17 -07:00