Skip to content

A fast file manager for Windows and macOS that never freezes: tabs, dual panes, archives as folders, Quick Look-style previews. A File Explorer and Finder alternative written in Rust.

Merge branch 'pr-699' into pr-merge-night

gelenmedya79583601d1bf
diff --cc crates/rf-app/src/i18n_en.rs
index 4819c7e7,200bcc7b..ef5150ca
--- a/crates/rf-app/src/i18n_en.rs
+++ b/crates/rf-app/src/i18n_en.rs
@@@ -849,14 -841,26 +849,34 @@@ pub const EN: &[(&str, &str)] = &
("Bir öğenin kendi resmi gelene kadar ve önizleme bölmesinde, rustyfiles'ın simgeleri yerine Windows'un o türün simgesi gösterilir (klasörün, dosya türünün, kişiselleştirilmiş simgenin)", "Until an item's own picture comes, and in the preview pane, Windows' icon for its type (the folder's, the file type's, a custom one) instead of rustyfiles' own"),
("ClearType yazı", "ClearType text"),
("Pencereler ve düz menüler opak olur, yazılar Windows'un ClearType yumuşatmasıyla çizilir. Yeniden açılan pencerelerde geçerli olur.", "Windows and solid menus become opaque, and their text is drawn with Windows' ClearType smoothing. Applies to windows opened after the change."),
+ ("Dosya Gezgini'nin ölçüleri", "File Explorer's measures"),
+ ("Windows Dosya Gezgini görünümünde onun ölçüleri: listede ve kenar çubuğunda 12 piksel Segoe UI (açık temada siyah), Ayrıntılar satırları 28, kenar çubuğu satırları 32 piksel", "With the Windows File Explorer look, its measures: 12 px Segoe UI in the list and the sidebar (black in the light theme), Details rows 28 px apart, the sidebar's 32"),
+ ("Kompakt menüler", "Compact menus"),
+ ("Windows Dosya Gezgini görünümünde menüler Windows'un kendi menüsü boyutunda olur: daha sık satırlar ve 12 piksel yazı", "With the Windows File Explorer look, menus at the size of Windows' own: closer rows and 12 px text"),
+ ("Komut çubuğu yalnızca listenin üstünde", "The command bar over the list only"),
+ ("Windows Dosya Gezgini görünümünde komut çubuğu kenar çubuğunun üstüne uzanmaz, bu görünüm kapalıyken olduğu gibi yalnızca listenin üstünde durur", "With the Windows File Explorer look, the command bar doesn't run over the sidebar: it stands over the list only, as without that look"),
+ ("Komut çubuğunun yüksekliği", "Command bar height"),
+ ("Görünümün kendi yüksekliği", "The look's own"),
+ ("Yer imleri çubuğu", "Bookmarks bar"),
+ ("Adres çubuğunun altında, tarayıcılardaki gibi; tarayıcıların yer imi dosyalarını (HTML) içe ve dışa aktarır", "Under the address bar, as in browsers; imports and exports browsers' bookmark files (HTML)"),
+ ("Sürüklenen yer imine yer açılsın", "Bookmarks make room for a dragged one"),
+ ("Sürüklenen yer imi yeni yerini hemen alır, diğerleri kayar (tarayıcı sekmeleri gibi)", "A dragged bookmark takes its new place as it moves, the others sliding aside (as browser tabs do)"),
+ ("Klasörleri saklamak için buraya sürükleyin ya da yer imlerini içe aktarmak için sağ tıklayın", "Drag folders here to keep them, or right-click to import bookmarks"),
+ ("{n} yer imi", "{n} bookmarks"),
+ ("Sola taşı", "Move left"),
+ ("Sağa taşı", "Move right"),
+ ("Çubuktan kaldır", "Remove from the bar"),
+ ("Bu klasörü çubuğa ekle", "Add this folder to the bar"),
+ ("Yer imlerini içe aktar…", "Import bookmarks…"),
+ ("Yer imlerini dışa aktar…", "Export bookmarks…"),
+ ("Yer imlerini içe aktar", "Import bookmarks"),
+ ("Yer imlerini dışa aktar", "Export bookmarks"),
+ ("Yer imleri (HTML)", "Bookmarks (HTML)"),
+ ("İçe aktarılanlar", "Imported"),
+ ("Çubuğun yüksekliği", "Bar height"),
+ ("Otomatik, yazıya göre", "Automatic, from the text"),
+ ("Sekme satırı kadar", "As the tab row"),
+ ("Yer imleri çubuğunu gizle", "Hide the bookmarks bar"),
("Varsayılan", "Default"),
("Arka plan rengi", "Background color"),
("Arka plan resmi", "Background image"),
diff --cc crates/rf-app/src/lib.rs
index b6ebc0fe,13479b9e..319d6007
--- a/crates/rf-app/src/lib.rs
+++ b/crates/rf-app/src/lib.rs
@@@ -19,8 -18,8 +19,9 @@@ mod hyperdownload
mod hd_history;
mod downloads_view;
mod archive_view;
+ mod bookmarks;
mod bulk_rename;
+mod calc;
mod command_palette;
mod conflict_dialog;
mod ctx_menu;
diff --cc crates/rf-app/src/workspace.rs
index 48f655f8,332720a3..de11556c
--- a/crates/rf-app/src/workspace.rs
+++ b/crates/rf-app/src/workspace.rs
@@@ -215,10 -218,12 +218,14 @@@ pub struct Workspace
drag_hover_tab: Option<(usize, u64)>,
/// Files are being dragged over the window: the sidebar shows its "drop here to pin" row.
sidebar_ext_drag: bool,
+ /// The bookmark whose name is being edited on the bookmarks bar, its text field and the field's events.
+ bookmark_rename: Option<(usize, Entity<InputState>, Subscription)>,
+ /// With "live" dragging on the bookmarks bar, where what is dragged over it would land (the others make room).
+ bookmark_drop: Option<bookmarks_bar::DropPreview>,
/// The sidebar's folder tree (empty unless the setting is on).
side_tree: sidebar_tree::Holder,
+ /// The libraries opened in the sidebar to their folders (Discussion 710), by their `.library-ms` file.
+ open_libraries: std::collections::HashSet<PathBuf>,
/// This window answers another app's Open/Save dialog (see `picker`).
picker: Option<std::rc::Rc<crate::picker::PickSession>>,
/// Counts the dialog's size changes: only the last one is kept (`set_picker`).
@@@ -1134,8 -1103,9 +1141,10 @@@ impl Workspace
tab_anim_serial: 0,
drag_hover_tab: None,
sidebar_ext_drag: false,
+ bookmark_rename: None,
+ bookmark_drop: None,
side_tree: Default::default(),
+ open_libraries: Default::default(),
picker: None,
picker_size_gen: 0,
viewport_w: 1300.,
@@@ -4756,8 -4689,10 +4769,10 @@@
let mut head = v_flex()
.id("sidebar-pins")
.w_full()
- .gap_0p5()
+ .when(!metrics || rail, |d| d.gap_0p5())
.when(explorer_look, |d| d.flex_shrink_0())
+ // a bookmark dropped on the pinned folders is pinned too (it stays on the bookmarks bar)
+ .on_drop(cx.listener(|this, d: &bookmarks_bar::BookmarkDrag, _, cx| this.pin_bookmark(d, cx)))
.on_drag_move::<ExternalPaths>(cx.listener(|this, _: &DragMoveEvent<ExternalPaths>, _, cx| {
if !this.sidebar_ext_drag {
this.sidebar_ext_drag = true;