Skip to content

Conversation

@mewmix
Copy link
Owner

@mewmix mewmix commented Feb 2, 2026

No description provided.

google-labs-jules bot and others added 6 commits December 29, 2025 07:22
- Add drag source support to file items (list and grid) using long-press gesture
- Add drop target support to file browser panes
- Implement drag data transfer using text/plain paths
- Reuse clipboard/paste logic to perform copy on drop
- Support multi-selection dragging
- Native:
  - Optimize `calculate_dir_size_recursive` to use `getdents64` syscall instead of `readdir`, removing `DIR` allocation overhead.
  - Optimize NEON substring search (`optimized_neon_contains`) to use a dual-character filter (checking first two bytes) to reduce false positives.
  - Add logic to `nativeSearch` to detect `*text*` fuzzy patterns and downgrade them to optimized substring search.
  - Implement `nativeRunBenchmark` JNI function to allow performance verification.

- UI (`GlaiveScreen.kt`):
  - Enhance `handleDrop` to detect Recycle Bin items and perform a restore (move + clean index) to the target directory.
  - Implement `DropActionDialog` to prompt for "Move" vs "Copy" for standard files.
  - Refactor blocking UI helpers to `performAsyncOperation` to clarify non-blocking intent.
  - Add "Run Benchmark" button to `ThemeSettingsDialog`.

- Verified build with `./gradlew assembleDebug`.

Co-authored-by: mewmix <42463809+mewmix@users.noreply.github.com>
Co-authored-by: mewmix <42463809+mewmix@users.noreply.github.com>
Optimized Native Search & Contextual Binding
@mewmix mewmix merged commit 3828159 into main Feb 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant