misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux
Rust bittorrent-clientdebriddownload-acceleratordownload-managerdownloadmanagereguifile-downloadergallery-dlidmidm-alternativeinternet-download-managerm3u8-downloadermagnetplaylist-downloaderreal-debridrusttorrent-clientvideo-downloaderyoutube-downloaderyt-dlp
Before the release: every screenshot again on Windows and Linux, and every doc, the README and the website up to date (#186) (#282)
Ahmed Nefzaouia182e930ae07
diff --git a/.github/workflows/docs-shots.yml b/.github/workflows/docs-shots.ymlindex a388cf5c..cd67b654 100644--- a/.github/workflows/docs-shots.yml+++ b/.github/workflows/docs-shots.yml@@ -2,9 +2,11 @@# Windows runner: a stock Windows, so the file icons in them are Windows' own, not those of# programs someone installed. Run by hand (Actions → Docs screenshots → Run workflow) or by a# push to a docs-shots/** branch. Never on other pushes or pull requests. The PNGs come back as-# the "docs-shots" artifact, with what the runner had (screen, DPI, fonts, file associations);-# a person puts them in docs/images and runs tools/website/screens.py. The help pages' pictures-# come back raw in help-raw/: into target/shots/raw, then `python tools/shots/make.py build`.+# the "docs-shots" artifact, with what the runner had (screen, DPI, fonts, file associations).+# A person makes the pictures of them (tools/shots/README.md): `python tools/shots/make.py docs+# <artifact>` (docs/images/*.webp), `python tools/website/screens.py <artifact>/site-dark --light+# <artifact>/docs` (the site's), and the help pages' from help-raw/ (into target/shots/raw, then+# `python tools/shots/make.py build`).name: Docs screenshotson:@@ -43,7 +45,21 @@ jobs:restore-keys: ${{ runner.os }}-cargo-- name: Build- run: cargo build -p mdm-app -p mdm-labserver+ run: |+ cargo build -p mdm-app -p mdm-labserver -p mdm-cli -p mdm-nmhost+ if ($LASTEXITCODE) { throw "build $LASTEXITCODE" }+ # The torrent's progress window: a swarm of seeders and a tracker on this runner.+ cargo build -p mdm-torrent --example swarm+ if ($LASTEXITCODE) { throw "swarm $LASTEXITCODE" }++ # The video's progress window: yt-dlp brings a lab server file in (pinned and checked).+ - name: yt-dlp+ run: |+ $ErrorActionPreference = "Stop"+ $url = "https://github.com/yt-dlp/yt-dlp/releases/download/2026.10.26/yt-dlp.exe"+ Invoke-WebRequest -UseBasicParsing $url -OutFile "$env:RUNNER_TEMP\yt-dlp.exe"+ $sum = (Get-FileHash "$env:RUNNER_TEMP\yt-dlp.exe" -Algorithm SHA256).Hash+ if ($sum -ne "F5389D3698ECDE4EF06F4E6B1CE0294FE9AC1396228C8990B8D3416D6D177A7D") { throw "yt-dlp checksum $sum" }# The runner has no GPU and only Windows' OpenGL 1.1; the app needs 3.x. Mesa's llvmpipe# (software OpenGL 4.6) is put beside the program for this job only (mesa-dist-win,@@ -110,12 +126,24 @@ jobs:"lab server at $base answers $code" | Tee-Object -Append "$out\runner.txt"if ($code -ne 200) { throw "the lab server isn't reached at $base" }$net = @{ Port = $port; UrlHost = "downloads.example" }+ # Browser integration set up, as the installer does it, so the browser offer window shows+ # a computer where it works (this runner's own user only).+ & target\debug\misterdownloadmanager-nmhost.exe --register# On the screen, as nobody watches it: llvmpipe draws nothing off the screens.$at = "40,40"- tools\lab\docs-shots.ps1 -Exe $exe -Server $srv -Torrent $torrent -Work $work -At $at @net -OutDir "$out\docs" -Only main-light, add-torrent, properties, progress- tools\lab\docs-shots.ps1 -Exe $exe -Server $srv -Work $work -At $at @net -OutDir "$out\docs" -Only main-dark+ # Every window of docs-shots.ps1's own list, light (docs/images) and dark (the site's+ # night pictures, and the README's dark main window), then the Arabic main window.+ tools\lab\docs-shots.ps1 -Exe $exe -Server $srv -Torrent $torrent -Work $work -At $at @net -OutDir "$out\docs"+ tools\lab\docs-shots.ps1 -Exe $exe -Server $srv -Torrent $torrent -Work $work -At $at @net -Dark -OutDir "$out\site-dark"tools\lab\docs-shots.ps1 -Exe $exe -Server $srv -Work $work -At $at @net -OutDir "$out\docs" -Lang ar -Only arabic-main- tools\lab\docs-shots.ps1 -Exe $exe -Server $srv -Torrent $torrent -Work $work -At $at @net -Dark -OutDir "$out\site-dark" -Only main-dark, add-torrent, progress+ # A video's and a torrent's progress window (with the torrent's Pieces tab), light and dark.+ $bin = "target\debug"+ # One that fails is reported, and the help pages' pictures are still taken.+ foreach ($mode in "docs", "site-dark") {+ $d = if ($mode -eq "site-dark") { @{ Dark = $true } } else { @{} }+ try { tools\lab\progress-shots.ps1 -Bin $bin -OutDir "$out\$mode" -YtDlp "$env:RUNNER_TEMP\yt-dlp.exe" -Work "$work\p" -At $at -TorrentTabs pieces @d }+ catch { Write-Warning "progress-shots ($mode): $_" }+ }# The help pages' pictures (tools/shots/shots.toml), light and dark, raw: a person runs# `python tools/shots/make.py build` on them (crop, annotate, WebP) and commits that.python tools\shots\make.py shoot --bin target\debug --work $work --at $at --url-host downloads.example --port $portdiff --git a/.github/workflows/help-pictures.yml b/.github/workflows/help-pictures.ymlindex 3f4f739d..719d4a5c 100644--- a/.github/workflows/help-pictures.yml+++ b/.github/workflows/help-pictures.yml@@ -1,18 +1,24 @@# The help pages' pictures (tools/shots/): the shot list, the pages and docs/images/help agree.# Every picture in the list is on its page under its heading, with the list's alt text and-# caption; no file is left over; none is over 300 KB. Reads files only: no build, no app.+# caption; no file is left over; none is over 300 KB. With them, every picture in docs/images and+# website/assets/{screens,browser,win} (#186's budget): none over 300 KB, no PNG where lossless+# WebP belongs, none that nothing shows. Reads files only: no build, no app.name: Help pictureson:pull_request:paths:- "docs/**"+ - "README.md"+ - "website/**"- "tools/shots/**"- ".github/workflows/help-pictures.yml"push:branches: [main]paths:- "docs/**"+ - "README.md"+ - "website/**"- "tools/shots/**"permissions:@@ -26,5 +32,5 @@ jobs:- uses: actions/setup-python@v5with:python-version: "3.12"- - name: Shot list, pages and files+ - name: Shot list, pages, files and the pictures' budgetrun: python tools/shots/make.py checkdiff --git a/.png b/.pngdeleted file mode 100644index 36bf0c03..00000000Binary files a/.png and /dev/null differdiff --git a/CHANGELOG.md b/CHANGELOG.mdindex b3456d75..eb53ae16 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,58 +5,111 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see## [Unreleased]-### Security--- **Torrents: file names are checked more strictly** ([#40](https://github.com/anefzaoui/misterdownloadmanager/issues/40)):- a torrent with names the system can't write safely is refused, saying which name, and so are- torrents kept from an earlier run.-- The torrent library is updated (librqbit 9.1.0).-- **No silent overwrite**: when some of a torrent's files are already in the folder, MDM asks- before writing into them (**No** is the default). The command line's `torrent-get` stops and- names them, unless given `--use-existing`.-- **Files from torrents are marked as downloaded from the internet**, as web downloads are:- SmartScreen checks a program before it first runs, Office opens documents in Protected View,- and Gatekeeper checks apps on a Mac.-- Torrents' trackers on this computer or the local network aren't contacted, and a `.torrent`- file over 10 MB isn't read (it isn't one). Peers see MDM's major version only.+MDM's biggest release so far. Nine looks for its windows, and an interface that grows to 200 %.+The browser extension in the Chrome Web Store and on addons.mozilla.org. MDM on a server, and+from your phone. Torrents that download in order, follow RSS feeds or go through a debrid account.+Video playlists, subtitles and sign-ins, image galleries, and a link grabber that extracts+archives. Every connection held to one network adapter, with a kill switch and the DNS you+choose. And Linux, checked on a real desktop with every change.### Added+#### Themes and the look++- **Themes: View → Theme** ([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45)).+ **Classic** is MDM's look, unchanged and still the default. **Native** takes your system's+ colours: Windows' accent colour and, when it is on, its contrast theme; the desktop's accent+ colour and higher-contrast setting on Linux (GNOME 47 and later, KDE Plasma); the accent colour+ on macOS; it follows them when they change. **High contrast** is black and white with a bright+ accent, every edge drawn and text at 7:1 or more. A theme applies at once, light and dark alike,+ and theme files in the themes folder (**View → Theme → Open themes folder**) are listed too;+ High contrast is itself such a file, in the same format. Six style themes keep the layout and+ bring their own control shapes, icons and, on Windows, a title bar MDM draws (resizing, Snap+ Layouts on Maximize, double-click and Alt+Space work as with the system's):+ - **Metro**, after Windows 8's flat look: square corners, flat buttons, boxes that take an+ accent border when focused, check boxes with a tick, a bordered progress bar, scroll bars with+ their arrows always shown, one-colour icons (Microsoft's Fluent UI System Icons, MIT) and a+ title bar in the theme's colour with the title centred.+ - **Adwaita**, after GNOME's look: round corners, flat grey buttons, a rounded focus ring, boxes+ that take a ring when focused, GNOME's check boxes and radio buttons, GNOME's Adwaita icons+ (LGPL-3.0), in colour for files and categories and one colour in the toolbar, and a header bar+ with the title in bold and round buttons.+ - **Breeze**, after KDE Plasma's look: rounded corners, buttons and boxes whose edge takes the+ accent under the pointer or when focused, KDE's check boxes and radio buttons (the accent's+ edge, a tick in the text's colour), a focus frame, KDE's Breeze icons (LGPL-3.0-or-later) and+ a title bar in KDE's style: the title centred, round buttons that fill under the pointer+ (Close in red).+ - **Luna, Aero and Aqua**, after Windows XP, Windows 7 and Mac OS X (Leopard), each with a light+ and a dark side and icons drawn for MDM in its era's manner. **Luna**: buttons shaded from+ white with a dark blue edge and an orange glow under the pointer, green ticks, square text+ boxes, progress in green blocks and a deep blue title bar with the title in bold and square+ buttons (Close red). **Aero**: glossy buttons in two halves that turn light blue under the+ pointer, quiet check boxes, a glossy green progress bar and a glassy title bar, the title on+ a soft glow, its buttons hung from the top (Close wider and red). **Aqua**: gel buttons round+ at the ends (the default one blue), glossy check boxes, a blue focus ring, a blue gel progress+ bar and a grey title bar with the title centred and small round graphite buttons whose glyphs+ show under the pointer. Every glyph and shade is MDM's own drawing; none of Microsoft's or+ Apple's pictures or fonts are used.+ - **MDM's own icons where Metro, Adwaita and Breeze had none**: Metro's Hide to the+ notification area, Adwaita's PDF, torrent file and Hide to the notification area, and+ Breeze's PDF and Hide to the notification area, drawn for MDM in each one's style (the+ one-colour ones in the theme's text colour).+ - **Theme files**: every colour and size MDM's controls are drawn with (corner radii, borders,+ font sizes, the list's row height, the icons' ink) comes from the theme, by role; the classic+ look is that theme, unchanged pixel for pixel. A theme file (TOML or JSON in the data folder's+ `themes` folder) can change any role, choose each control's style (`[controls]`) and an icon+ set, and a theme can be a folder that brings its own icons. An icon set can mix PNG pictures+ with SVG drawings, and one-colour icons (`-symbolic.svg`, `-symbolic.png`, drawn in the+ theme's text colour) with coloured ones, and hold pictures at 32 and 48 pixels, used on a+ screen scaled to 150 % and more: the style themes' pictures stay sharp there. Base16 and pywal+ schemes come next.- **View → Interface size** ([#262](https://github.com/anefzaoui/misterdownloadmanager/issues/262)):every window larger, 100 % to 200 %, on top of the system's display scale; **Ctrl +**,**Ctrl −** and **Ctrl 0** in any MDM window, as in a browser. Every open window follows at once(dialogs, menus, the drop target) and MDM starts at that size, the crash report window too. Awindow larger than the screen opens as large as the screen allows and scrolls the rest, itstitle bar on the screen.-- **The website: a page for every feature, and a Themes page**- ([#260](https://github.com/anefzaoui/misterdownloadmanager/issues/260)): each feature has a page- of its own, with the real window, where to find it in the app, since which version, and what it- can't do yet; the home page lists them all, by group. The Themes page shows every built-in theme- in its light and dark side, and how to make your own theme file, try it without building MDM,- and share it, with a prompt to give an AI assistant. What isn't in a release yet says so.-- **Run MDM on a server** ([#157](https://github.com/anefzaoui/misterdownloadmanager/issues/157)):- `misterdownloadmanager --headless` runs MDM without a window (a home server, a NAS, Docker,- Unraid), its folders and port set by flags or the environment; a `Dockerfile`, a Compose file- and an Unraid template come with it. Phones pair with the code it prints (or- `misterdownloadmanager-cli pair`), and the browser extension can **send downloads to another- MDM**. [Guide](docs/server.md).-- **Control MDM from your phone** ([#141](https://github.com/anefzaoui/misterdownloadmanager/issues/141)):- **Options → Remote**, off by default. A phone or another computer on the local network, paired- with a code (or a QR code) MDM shows, opens a page MDM serves over HTTPS: it adds links, magnet- links and `.torrent` files, shows the list with its progress, pauses, starts and removes- downloads, and starts and stops the queues, in the phone's language. Only paired devices are- answered, each removable in Options, and only on the computer's private network addresses.- [Guide](docs/remote-control.md).-- The automation API's list also gives the queues, the categories and the free space; it starts- and stops a queue by name, and an added address can choose its category and queue.-- **Cookies for video sites**- ([#229](https://github.com/anefzaoui/misterdownloadmanager/issues/229)): Options → Sites Logins- can let yt-dlp read a browser's cookies on this computer (Firefox, Chrome, Edge, Brave, Opera,- Vivaldi, Chromium, Whale; Safari on macOS), with a profile by name or folder, so a pasted link- to a video that needs you signed in (YouTube's "Sign in to confirm you're not a bot") works.- Off by default. When the browser's extension passes the page's own cookies, those are used- instead. When the browser's cookies can't be read (Chrome, Edge and Brave lock them on- Windows; a locked keyring on Linux), the Download video window says so in plain words.+- **View → Always dark** ([#60](https://github.com/anefzaoui/misterdownloadmanager/issues/60)):+ MDM stays dark whatever the system says, for a desktop that reports no light or dark+ preference (MDM also reads it on Linux now, see Fixed).+- **A file-type icon before every file name or folder**+ ([#122](https://github.com/anefzaoui/misterdownloadmanager/issues/122)): the download list,+ Download File Info, Properties, Download complete (its open folder), Add torrent (the torrent and+ its tree), a torrent's Files tab, the progress window's Save To, the Scheduler's files, Batch+ download's preview, and Download video's qualities and a playlist's videos (the file each one+ gives). Each is your system's own icon for that type, the one its file manager shows: Windows+ Explorer's, macOS Finder's, or your Linux desktop's icon theme (KDE's, GNOME's or GTK's choice,+ then the themes it builds on). It is sharp at every display scale (125, 150, 200 %), taken at+ the size the screen needs. Each type is looked up once, in the background, so a long list never+ waits for it. Where the system has no icon for a type (a Linux desktop without an icon theme),+ MDM draws one of its own, from the Tango icons (public domain).+- **Windows: MDM draws with Direct3D 12** ([#89](https://github.com/anefzaoui/misterdownloadmanager/issues/89)).+ Its windows open faster (about a quarter of a second sooner on our test PC), and Direct3D may+ avoid the stalls some graphics drivers' OpenGL has+ ([#82](https://github.com/anefzaoui/misterdownloadmanager/issues/82)). **View → Draw with**+ goes back to OpenGL, as before, from the next start; a choice of OpenGL is kept. The window+ always opens: when Direct3D can't start, its first frame doesn't come within 10 seconds, or a+ start with it ends before its first frame, MDM draws with OpenGL until Direct3D is chosen+ again (the menu says so, and why); without a usable OpenGL either, it draws with Microsoft's+ software renderer (Remote Desktop, virtual machines without a graphics driver). When the+ graphics card is reset while MDM runs (a driver update), MDM starts again by itself. Freeze and+ crash reports say what was drawing. Linux and macOS keep OpenGL by default.+- **Linux: Vulkan, and macOS: Metal, in View → Draw with** ([#206](https://github.com/anefzaoui/misterdownloadmanager/issues/206)).+ Linux can draw its windows with Vulkan (on Wayland and X11), and macOS with Metal, the way+ Windows draws with Direct3D. OpenGL stays the default there until reports from real graphics+ cards are in: try it and tell us how it went. The same safety net as on Windows: when Vulkan+ or Metal can't start (no driver for it), its first frame doesn't come within 10 seconds, or a+ start with it ends before its first frame, MDM draws with OpenGL until it is chosen again, and+ the menu says why. A graphics card reset while MDM runs starts MDM again.+- **Hide to the notification area** ([#63](https://github.com/anefzaoui/misterdownloadmanager/issues/63)):+ a download's progress window has a button that hides it in the tray while the download goes+ on: on Windows in its title bar, left of Minimize (the progress window draws its own Windows 11+ title bar now, keeping the system's snapping, shaking, menu and shadow), and in its Alt+Space+ menu; on Linux and macOS at the end of its tab row. The tray menu's new **Downloads in+ progress** lists the running downloads to bring one's window back (double-clicking it in the+ list does too). With **Options → General → Minimize to the notification area** (on by+ default), Minimize hides the main window and progress windows there as well. Only where a tray+ shows MDM's icon.- **Started with the computer, MDM waits in the notification area**([#226](https://github.com/anefzaoui/misterdownloadmanager/issues/226)): with **Options →General → Launch Mister Download Manager on startup**, MDM no longer opens its window in front@@ -65,42 +118,44 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, seewindow as before. The same on Linux and macOS; where no notification area shows MDM's icon(some Linux desktops), it starts minimized, and the option's tooltip says so (it waits forone up to 30 seconds after its icon is made, its window hidden: a desktop's can come up after- MDM at sign-in). The startup entry now passes `/startup` (new on the [command line](docs/command-line.md)); an entry written by- an earlier version or its installer is written again at the next start, and the installer- writes the new one.-- **Sign-ins in the system's keychain**- ([#44](https://github.com/anefzaoui/misterdownloadmanager/issues/44)): debrid accounts, Sites- Logins' passwords and the proxy's password are kept in Windows Credential Manager, in the- system keyring on Linux (Secret Service: GNOME Keyring, KeePassXC and others) and in the- macOS keychain, and the settings keep only a reference. Those already saved move there on- the next start. A locked keyring is never unlocked and no keyring is ever asked for a- password: without one, they stay in MDM's settings as before. **Options → Accounts** says- where they are. A portable copy keeps them in its own folder, and uninstalling with **remove- the download list and settings** removes them from Credential Manager too.-- **The Scheduler wakes the computer to run a queue**- ([#142](https://github.com/anefzaoui/misterdownloadmanager/issues/142)): tick **Wake the- computer to run this queue** under the start time, and a sleeping computer is woken a minute- before the queue starts and kept awake while it runs; the line under it says when. On Windows- it needs **Allow wake timers** in the power plan: when that is off the Scheduler says so, with a- link to the setting. On Linux an administrator has to allow it once (the guide shows how); on- macOS only an administrator can schedule a wake, so the option says why it's greyed. MDM never- asks for an administrator's password. The Scheduler is 40 pixels taller for it.-- **Torrents through your debrid account**- ([#44](https://github.com/anefzaoui/misterdownloadmanager/issues/44)): with **Send torrents and- magnet links to the first account instead of to peers** ticked (**Options → Accounts**), a- magnet link or a `.torrent` file goes to the account. Real-Debrid, AllDebrid and Premiumize- download the torrent on their servers, and the list shows how far they are (**45% at- Real-Debrid**). MDM then downloads its files over HTTP, with all its connections and resume, and removes- the torrent from the account's list. Your computer never connects to the torrent's peers.- Experimental, as the accounts are.-- **Debrid accounts: one link directly, and the command line**- ([#44](https://github.com/anefzaoui/misterdownloadmanager/issues/44)): **Download File Info**- says which account a link goes through (**Download through Real-Debrid (your account)**);- untick it to download that link directly. **File Properties** has the same choice for a- download in the list, and MDM keeps it after a restart. The command line's `get` and `resume`- go through the accounts of **Options → Accounts** too, and `--direct` skips them. A download- the browser had already started stays direct after a restart, and when one service doesn't- answer, the other accounts still work.+ MDM at sign-in). The startup entry now passes `/startup` (new on the+ [command line](docs/command-line.md)); an entry written by an earlier version or its installer+ is written again at the next start, and the installer writes the new one.+- **Drop-down lists for screen readers**: a screen reader or UI Automation can now set a+ drop-down list's choice by its text, and open or close the list.++#### Downloads++- **Downloads through one network adapter, with a kill switch**+ ([#35](https://github.com/anefzaoui/misterdownloadmanager/issues/35)): **Options → Proxy /+ Socks → Network adapter**. Pick one, usually your VPN's, and every connection MDM opens goes out+ through it or not at all: downloads, FTP, the DNS you chose, MDM's own downloads and the update+ check. When the adapter disconnects, nothing goes out through your normal connection. Running+ downloads stop and start again when it's back. The command line's `get` takes `--adapter`. PAC+ scripts' `myIpAddress` no longer opens a network socket on Windows.+ - **Video pages and image galleries** go through it too, on Windows, Linux and macOS: video+ downloads (yt-dlp and the ffmpeg it starts) and galleries (gallery-dl) go through a proxy MDM+ runs on this computer, which opens their connections through the adapter as MDM opens its+ own, with the DNS you chose, IPv4 and IPv6. The same kill switch: when the adapter+ disconnects, their connections close at once and the downloads stop, then start again when+ it is back. Formats over RTMP, RTSP, MMS or FTP, which can't go through it, are refused. The+ command line's `video-get` and `gallery-get` take `--adapter`.+ - **Torrents** go through it on Windows too+ ([#143](https://github.com/anefzaoui/misterdownloadmanager/issues/143)): every torrent+ connection goes out from the adapter's address, with the same kill switch as downloads:+ peers, trackers, the DHT and the listening port. When the adapter disconnects, torrents stop,+ nothing goes out another way, and they start again when it is back.+ - Only `ftps://` (FTP with implicit TLS) can't be held to an adapter yet, so it doesn't start+ while one is chosen.+- **Choose the DNS** ([#36](https://github.com/anefzaoui/misterdownloadmanager/issues/36)):+ **Options → Connection → DNS** picks who turns names into addresses for downloads, FTP, MDM's+ own downloads and the update check. The system's (the default), Cloudflare, Google, Quad9,+ AdGuard, NextDNS (with your configuration ID) or your own, asked over HTTPS (the default), TLS,+ or plain over TCP. **Test** shows how long it takes to answer. When it can't be reached, the+ download stops with a message naming it, unless you allow falling back to the system's DNS;+ your hosts file and local names stay with the system's. The command line's `get` takes+ `--dns`. Torrent trackers still use the system's DNS, and so do video pages and galleries+ unless a network adapter is chosen.- **Where a download's server is** ([#140](https://github.com/anefzaoui/misterdownloadmanager/issues/140)):**Download File Info**, the progress window and **Properties** show the server's country, withits flag, and its round trip, such as **about 24 ms (near)**, in green, amber or red. The country@@ -110,132 +165,20 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, seeThrough a proxy MDM says so instead of guessing, and a CDN's server (Cloudflare, CloudFront,Fastly, Akamai and others) is said to be the CDN's, not the site owner's. Properties keeps whatthe last run saw. MDM is about 770 KB larger (the table 674 KB, the flags 95 KB).-- **Torrents: Download in order**- ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)): to watch a video while- it downloads, tick **Download in order** in **Add torrent**, or choose **Torrent → Download in- order** in the list's right-click menu, even while it runs. A file's start comes first, and with- **First and last pieces first** (on by default) its end comes early too, which most video files- need before they play. Slower peers take pieces a little further on, so the start isn't waiting- for them. Other torrents now download the rarest pieces first, as BitTorrent programs usually- do: on MDM's test swarms they finished just as fast, and they finished where a scarce piece's- only holder left. Torrents already in the list carry on, with nothing checked again.-- MDM now honours a peer's request to cancel a piece it no longer needs, so its upload isn't- spent on data nobody wants.-- **The extension is in the Chrome Web Store**: [Mister Download Manager](https://chromewebstore.google.com/detail/mister-download-manager/ejoleppdfgjdndddcjoehopknmlglojp), for Chrome,- Edge, Brave, Opera and Vivaldi, installed with one click and kept up to date. MDM's **Add- Mister Download Manager to your browser** window opens it in each of them (**Install it by- hand** stays there for a browser that can't use its store), Chrome offers it by itself once- MDM is installed, and the website, the help and the README offer **Add to Chrome** beside- **Add to Firefox**. The store's copy needs MDM 0.3.0: the helper of MDM 0.2.x serves only the- copy in MDM's own folder, and the browser refuses the store's- ([#208](https://github.com/anefzaoui/misterdownloadmanager/issues/208)).-- **MDM says why the browser kept a download**- ([#208](https://github.com/anefzaoui/misterdownloadmanager/issues/208)): every download left- to the browser by Options is a line in MDM's log naming the setting that decided (its type- isn't in **File types**, its site or address is excluded, it's under the minimum size, the- browser is unticked, browser integration is off, or the extension may not read the site), and- the extension's button shows the last one, with the file's name. A download from a private- window is logged without its name or site.-- **More file types taken from the browser by default**- ([#208](https://github.com/anefzaoui/misterdownloadmanager/issues/208)): today's installers and- packages (DMG and PKG for macOS, DEB, RPM and APPIMAGE for Linux, MSIX, APPX, APPXBUNDLE and CAB- for Windows, JAR), archives (XZ, ZST, TGZ, TXZ) and WEBM, FLAC and OPUS join **Options → File- types**. A list never edited gains them on the next start; one you edited stays as it is.-- **Themes: View → Theme** ([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45)).- **Classic** is MDM's look, unchanged and still the default. **Native** takes your system's- colours: Windows' accent colour and, when it is on, its contrast theme; the desktop's accent- colour and higher-contrast setting on Linux (GNOME 47 and later, KDE Plasma); the accent colour- on macOS; it follows them when they change. **High contrast** is black and white with a bright- accent, every edge drawn and text at 7:1 or more. A theme applies at once, light and dark alike,- and theme files in the themes folder (**View → Theme → Open themes folder**) are listed too;- High contrast is itself such a file, in the same format.-- **Themes: Metro** ([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45)), after- Windows 8's flat look, the layout kept: square corners, flat buttons, boxes that take an accent- border when focused, check boxes with a tick, a bordered progress bar, scroll bars with their- arrows always shown, one-colour icons (Microsoft's Fluent UI System Icons, MIT) and, on- Windows, a title bar MDM draws in the theme's colour with the title centred (resizing, Snap- Layouts on Maximize, double-click and Alt+Space work as with the system's). Theme files can now- choose each control's style (`[controls]`), an icon set, and a theme can be a folder that brings- its own icons.-- **Themes: Adwaita** ([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45)),- after GNOME's look, the layout kept: round corners, flat grey buttons, a rounded focus ring,- boxes that take a ring when focused, GNOME's check boxes and radio buttons, GNOME's Adwaita- icons (LGPL-3.0), in colour for files and categories and one colour in the toolbar, and, on- Windows, a header bar MDM draws with the title in bold and round buttons. An icon set can now- mix PNG pictures with SVG drawings, and one-colour icons (`-symbolic.svg`) with coloured ones.-- **Themes: Breeze** ([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45)), after- KDE Plasma's look, the layout kept: rounded corners, buttons and boxes whose edge takes the- accent under the pointer or when focused, KDE's check boxes and radio buttons (the accent's- edge, a tick in the text's colour), a focus frame, KDE's Breeze icons (LGPL-3.0-or-later) and,- on Windows, a title bar MDM draws in KDE's style: the title centred, round buttons that fill- under the pointer (Close in red).-- **Themes: Luna, Aero and Aqua** ([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45)),- after Windows XP, Windows 7 and Mac OS X (Leopard), the layout kept, each with a light and a- dark side and icons drawn for MDM in its era's manner. **Luna**: buttons shaded from white with- a dark blue edge and an orange glow under the pointer, green ticks, square text boxes,- progress in green blocks and, on Windows, a deep blue title bar with the title in bold and- square buttons (Close red). **Aero**: glossy buttons in two halves that turn light blue under- the pointer, quiet check boxes, a glossy green progress bar and a glassy title bar, the title- on a soft glow, its buttons hung from the top (Close wider and red). **Aqua**: gel buttons round- at the ends (the default one blue), glossy check boxes, a blue focus ring, a blue gel progress- bar and a grey title bar with the title centred and small round graphite buttons whose glyphs- show under the pointer. Every glyph and shade is MDM's own drawing; none of Microsoft's or- Apple's pictures or fonts are used.-- **Metro, Adwaita and Breeze: MDM's own icons where theirs had none**: Metro's Hide to the- notification area, Adwaita's PDF, torrent file and Hide to the notification area, and Breeze's- PDF and Hide to the notification area, drawn for MDM in each one's style (the one-colour ones- in the theme's text colour). An icon set can now hold one-colour pictures (`-symbolic.png`),- drawn in the theme's text colour as its one-colour drawings are, and pictures at 32 and 48- pixels, used on a screen scaled to 150 % and more: the style themes' pictures stay sharp there.-- **The Firefox add-on is on addons.mozilla.org**: [Mister Download Manager](https://addons.mozilla.org/firefox/addon/mister-download-manager/),- installed with one click and kept up to date by Firefox (and by Zen and LibreWolf). MDM's- **Add Mister Download Manager to your browser** window opens it for them; the website, the- help and the README offer it first.-- **Support MDM**: **Help → Support MDM** and a line in **About** open the creator's- [GitHub Sponsors](https://github.com/sponsors/anefzaoui) page in the browser; the website, the- README and the browser extension's popup link to it too. Only when asked: MDM stays free, with- no reminders, and nothing changes or unlocks.-- **Video pages and image galleries through the chosen network adapter**- ([#35](https://github.com/anefzaoui/misterdownloadmanager/issues/35)): with **Options → Proxy /- Socks → Network adapter** set, video downloads (yt-dlp and the ffmpeg it starts) and galleries- (gallery-dl) now start, on Windows, Linux and macOS, instead of being refused. They go through a- proxy MDM runs on this computer, which opens their connections through the adapter as MDM opens- its own, with the DNS you chose, IPv4 and IPv6. The same kill switch: when the adapter- disconnects, their connections close at once and the downloads stop, then start again when it- is back. Formats over RTMP, RTSP, MMS or FTP, which can't go through it, are refused. The- command line's `video-get` and `gallery-get` take `--adapter`.-- **Torrents through the chosen network adapter on Windows**- ([#143](https://github.com/anefzaoui/misterdownloadmanager/issues/143)): with **Options → Proxy /- Socks → Network adapter** set, torrents now start on Windows too, instead of being refused.- Every torrent connection goes out from the adapter's address, with the same kill switch as- downloads: peers, trackers, the DHT and the listening port. When the adapter disconnects,- torrents stop, nothing goes out another way, and they start again when it is back.-- **Windows: MDM draws with Direct3D 12** ([#89](https://github.com/anefzaoui/misterdownloadmanager/issues/89)).- Its windows open faster (about a quarter of a second sooner on our test PC), and Direct3D may- avoid the stalls some graphics drivers' OpenGL has- ([#82](https://github.com/anefzaoui/misterdownloadmanager/issues/82)). **View → Draw with**- goes back to OpenGL, as before, from the next start; a choice of OpenGL is kept. The window- always opens: when Direct3D can't start, its first frame doesn't come within 10 seconds, or a- start with it ends before its first frame, MDM draws with OpenGL until Direct3D is chosen- again (the menu says so); without a usable OpenGL either, it draws with Microsoft's software- renderer (Remote Desktop, virtual machines without a graphics driver). When the graphics card- is reset while MDM runs (a driver update), MDM starts again by itself. Freeze and crash- reports say what was drawing. Linux and macOS keep OpenGL by default.-- **Linux: Vulkan, and macOS: Metal, in View → Draw with** ([#206](https://github.com/anefzaoui/misterdownloadmanager/issues/206)).- Linux can draw its windows with Vulkan (on Wayland and X11), and macOS with Metal, the way- Windows draws with Direct3D. OpenGL stays the default there until reports from real graphics- cards are in: try it and tell us how it went. The same safety net as on Windows: when Vulkan- or Metal can't start (no driver for it), its first frame doesn't come within 10 seconds, or a- start with it ends before its first frame, MDM draws with OpenGL until it is chosen again, and- the menu now says why (on Windows too). A graphics card reset while MDM runs starts MDM again.-- **The extension lists the media a page has loaded**- ([#38](https://github.com/anefzaoui/misterdownloadmanager/issues/38)). The toolbar button's- window has **Media on this page**: the HLS and DASH streams the page's players loaded (each- once, with its qualities and length) and the video and sound files it played, with their size.- **Download** sends a stream to the Download video window and a file to the list, with the- page's cookies, the page as the referrer and the browser's User-Agent, so a stream a page won't- give up can still be saved. Copy-protected (DRM) streams are listed as **Protected** and never- sent. Nothing new to allow: the extension already watched the tab's responses.+- **More than 32 connections per download, if you want them** ([#12](https://github.com/anefzaoui/misterdownloadmanager/issues/12)):+ **Options → Connection** now takes any number from 1 to 32, typed or set with the arrows,+ and **Allow more than 32 connections** raises that to 128, for server exceptions too. Servers+ that allow fewer are still noticed and asked for fewer. The command line's `-c` takes 1 to 128.+- **Google Drive links** ([#34](https://github.com/anefzaoui/misterdownloadmanager/issues/34)):+ paste a Drive file's link (`drive.google.com/file/d/…/view`, `…/uc?id=…`, `…/open?id=…`) and+ MDM downloads the file itself, as it was uploaded, over several connections and resumable,+ with its real name and size in Download File Info. Large files get past Drive's "can't scan+ this file for viruses" page as **Download anyway** does. Google Docs, Sheets and Slides come+ as Word, Excel and PowerPoint files. A private file downloads with the sign-in the extension+ passes from the browser. When Drive won't give a file (too many downloads lately, sign-in+ needed, no access), MDM says so in your language instead of saving Drive's page. The video+ button over a Drive video downloads the original file. Folders aren't downloaded yet: MDM+ says the link is a folder. See [Google Drive links](docs/adding-downloads.md#google-drive-links).- **Link grabber, and archives extracted when they are downloaded**([#37](https://github.com/anefzaoui/misterdownloadmanager/issues/37)). The window that tookthe browser's "Download all links", Tasks → Import and dropped lists grew into Link grabber@@ -244,33 +187,15 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, seeEach link is looked up for its name, size and whether the server has it (Offline links comeunticked), and each package has its folder, an archive password, "Extract when done" and"Delete archives after extracting". **Start** or **Add to queue** (IDM's import, unchanged:- an `.ef2` file still brings each download's referrer and cookies).- MDM extracts ZIP (AES and Deflate64 too), TAR, TAR.GZ, TAR.XZ, GZ and XZ itself; 7z and RAR- need 7-Zip (split `.7z.001` and `.partN.rar` too), and a window says so when it isn't- installed. It extracts when a package says so,- for any download with **Options → Archives → Extract archives when their download completes**- (off by default), or with right-click → **Extract**. A split archive is extracted once its last- volume is in. Extracted files are marked as downloaded from the internet, as the archive is;- names that would leave the folder, links, and archives that would fill the disk are refused;- an existing file is never overwritten. The archive goes to the Recycle Bin (the Trash) only- when you ask. Options has a new **Archives** page.-- **Real-Debrid accounts, experimental** ([#44](https://github.com/anefzaoui/misterdownloadmanager/issues/44)):- Options → Accounts keeps your debrid service account. Sign in by code in the browser, or with- your API token. A link from a file host your service supports is unlocked through your account,- then downloaded with all of MDM's connections, pause and resume, from Add URL, the browser's- link menu and batch downloads. When the direct link expires, MDM asks the- service for a new one. The direct link is never shown or copied, and the sign-in is sealed for- your Windows account. See- [Debrid service accounts](docs/debrid.md). Experimental: built from Real-Debrid's public API- documentation, not yet confirmed with a real account.-- **AllDebrid and Premiumize accounts, experimental**- ([#44](https://github.com/anefzaoui/misterdownloadmanager/issues/44)): Options → Accounts now- takes all three services. AllDebrid signs in by a PIN in the browser or with an API key, and- MDM waits while it prepares a slow link. Premiumize signs in with its API key. Each service is- asked well under its request limit. Experimental like Real-Debrid: built from the services'- public API documentation, not yet confirmed with a real paid account.-- The proxy's password in Options → Proxy / Socks is now sealed on disk too on Windows, like- Sites Logins' passwords.+ an `.ef2` file still brings each download's referrer and cookies). MDM extracts ZIP (AES and+ Deflate64 too), TAR, TAR.GZ, TAR.XZ, GZ and XZ itself; 7z and RAR need 7-Zip (split `.7z.001`+ and `.partN.rar` too), and a window says so when it isn't installed. It extracts when a package+ says so, for any download with **Options → Archives → Extract archives when their download+ completes** (off by default), or with right-click → **Extract**. A split archive is extracted+ once its last volume is in. Extracted files are marked as downloaded from the internet, as the+ archive is; names that would leave the folder, links, and archives that would fill the disk are+ refused; an existing file is never overwritten. The archive goes to the Recycle Bin (the Trash)+ only when you ask. Options has a new **Archives** page.- **Image galleries** ([#58](https://github.com/anefzaoui/misterdownloadmanager/issues/58)): agallery's address in Add URL (a Wikimedia Commons category, a Flickr album, a DeviantArt orImgur gallery and more) opens **Download a gallery**, which downloads its pictures with@@ -278,147 +203,146 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, seefetches only its new pictures. gallery-dl is an optional helper like yt-dlp: installed from itsreleases only when signed by its author's key, or your own copy (Helpers). On the command line:`install-gallery-dl` and `gallery-get`.-- **RSS feeds** ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)): Tasks → RSS- feeds... watches RSS and Atom feeds of torrents, lists their articles (download one by hand), and- its download rules add the new ones whose titles they match: words or regular expressions, words- to skip, an episode filter (`1x2;1x5-8;2x1-`) that takes each episode once, a folder per rule.- A feed's backlog is never downloaded by itself.-- **Torrent commands** ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)): a- torrent's right-click menu has **Torrent → Recheck files**, **Reannounce**, **Add trackers...**- and **Copy magnet link**. Its Files tab can tick and untick files while it runs. A `.torrent`- file's web address, in Add URL or from the browser, opens Add torrent with what the file holds.- TORRENT is in Options → File types' defaults, so the browser hands `.torrent` files over; a- list saved before keeps what it had.-- **Torrents: seeding limits** ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)):- under "Keep sharing torrents after they finish", Torrent settings can stop sharing a finished- torrent at a share ratio, or after it has been shared for some minutes; both off by default. A- torrent stopped so says it in its event log and isn't shared again at the next start.- **The built-in categories are yours to change** ([#93](https://github.com/anefzaoui/misterdownloadmanager/issues/93)):Compressed, Documents, Music, Programs and Video can be renamed, given other file types anddeleted, like your own categories (right-click → Properties or Delete). A renamed category keepsits folder. Deleting one asks what happens to its downloads: move them to General, or take themoff the list; their files stay either way. **Options → Save to → Restore the built-incategories** brings them back as they came. General and Torrents still change only their folder.-- **Downloads from a browser behind a VPN or proxy extension go through it too**- ([#42](https://github.com/anefzaoui/misterdownloadmanager/issues/42)): the browser extension- passes the proxy the browser uses for a download (an extension's, or its settings' manual proxy- or auto-config script) with it. MDM downloads through the same proxy while Options → Proxy /- Socks → "Use proxy/socks from a browser's request" is on, which is the default. A proxy that- needs the VPN extension's own login can't be shared: the download says so rather than going- without it. In Firefox it is an opt-in: **Send downloads through this browser's proxy or VPN- extension** in the extension's popup asks for the browser's *proxy* permission (to read the- browser's proxy, never to change it), so the extension's update asks for no new permission.- Chrome and the other Chromium browsers can't make that permission optional, so their extension- doesn't hand the proxy over yet: set the same proxy in **Options → Proxy / Socks** there.-- **Hide to the notification area** ([#63](https://github.com/anefzaoui/misterdownloadmanager/issues/63)):- a download's progress window has a button that hides it in the tray while the download goes- on: on Windows in its title bar, left of Minimize (the progress window draws its own Windows 11- title bar now, keeping the system's snapping, shaking, menu and shadow), and in its Alt+Space- menu; on Linux and macOS at the end of its tab row. The tray menu's new **Downloads in- progress** lists the running downloads to bring one's window back (double-clicking it in the- list does too). With- **Options → General → Minimize to the notification area** (on by default), Minimize hides the- main window and progress windows there as well. Only where a tray shows MDM's icon.++#### Videos+- **Playlists and channels** ([#69](https://github.com/anefzaoui/misterdownloadmanager/issues/69)):Download video from a page lists a playlist's or a channel's videos, with their lengths, allticked, with Select all and Select none. One quality applies to all of them (the best, up to a- height, the original sound, MP3, Opus or FLAC). Each video gets its own download, in a folder named after- the list, and Download Now starts the main queue, which runs as many at once as its settings- say. A playlist is listed as its videos come in; the listing can be stopped and taken up again- (List the rest), and one the site breaks off says after how many videos and why. A channel is- listed 50 videos at a time, with Load more. Lists of thousands stay quick, and adding more than- 500 downloads asks first. On the command line: `playlist-info` and `playlist-get`.-- **Choose the DNS** ([#36](https://github.com/anefzaoui/misterdownloadmanager/issues/36)):- Options → Connection → DNS picks who turns names into addresses for downloads, FTP, MDM's own- downloads and the update check. The system's (the default), Cloudflare, Google, Quad9, AdGuard,- NextDNS (with your configuration ID) or your own, asked over HTTPS (the default), TLS, or- plain over TCP. **Test** shows how long it takes to answer. When it can't be reached, the- download stops with a message naming it, unless you allow falling back to the system's DNS;- your hosts file and local names stay with the system's. The command line's `get` takes- `--dns`. Video pages and torrent trackers still use the system's DNS.-- **Downloads through one network adapter, with a kill switch**- ([#35](https://github.com/anefzaoui/misterdownloadmanager/issues/35)): Options → Proxy / Socks- → Network adapter. Pick one, usually your VPN's, and every connection MDM opens goes out- through it or not at all: downloads, FTP, the DNS you chose, MDM's own downloads and the update- check. When the adapter disconnects, nothing goes out through your normal connection. Running- downloads stop and start again when it's back. Video pages, torrents on Windows and `ftps://`- can't be held to an adapter yet, so they don't start while one is chosen. The command line's `get` takes- `--adapter`. PAC scripts' `myIpAddress` no longer opens a network socket on Windows.-- **Drop-down lists for screen readers**: a screen reader or UI Automation can now set a- drop-down list's choice by its text, and open or close the list.-- **Torrents: upload limits, and a share ratio that lasts**- ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)): Torrent settings can- limit what all torrents together send, and a torrent's progress window can limit its own, kept- with it. Its General tab now counts what it sent and how long it shared over all its runs, so- the share ratio no longer starts again at 0 after a pause or a restart.-- **More audio choices for a video** ([#70](https://github.com/anefzaoui/misterdownloadmanager/issues/70)):- under the MP3 ones, **Audio only OPUS** (YouTube's Opus is only moved into an `.opus` file, not- converted) and **Audio only FLAC** (lossless, with an honest note in the window: it can't add- quality the site's lossy sound doesn't have, the file is only bigger). The site's own sound is- now named **Audio only, original**. The command line's `video-get` takes `-f opus:` and- `-f flac:`.-- **A file-type icon before every file name or folder**- ([#122](https://github.com/anefzaoui/misterdownloadmanager/issues/122)): the download list,- Download File Info, Properties, Download complete (its open folder), Add torrent (the torrent and- its tree), a torrent's Files tab, the progress window's Save To, the Scheduler's files, Batch- download's preview, and Download video's qualities and a playlist's videos (the file each one- gives). Each is your- system's own icon for that type, the one its file manager shows: Windows Explorer's, macOS- Finder's, or your Linux desktop's icon theme (KDE's, GNOME's or GTK's choice, then the themes it- builds on). It is sharp at every display scale (125, 150, 200 %), taken at the size the screen- needs. Each type is looked up once, in the background, so a long list never waits for it. Where- the system has no icon for a type (a Linux desktop without an icon theme), MDM draws one of its- own, from the Tango icons (public domain).+ height, the original sound, MP3, Opus or FLAC). Each video gets its own download, in a folder+ named after the list, and Download Now starts the main queue, which runs as many at once as its+ settings say. A playlist is listed as its videos come in; the listing can be stopped and taken+ up again (List the rest), and one the site breaks off says after how many videos and why. A+ channel is listed 50 videos at a time, with Load more. Lists of thousands stay quick, and adding+ more than 500 downloads asks first. On the command line: `playlist-info` and `playlist-get`.- **Video subtitles** ([#68](https://github.com/anefzaoui/misterdownloadmanager/issues/68)):Download video from a page lists the video's subtitle languages, the uploader's first, then thesite's automatic captions (in the language spoken, English and yours). They're saved beside thevideo as `<name>.<language>.srt`, or put into the video with ffmpeg (MP4, MKV), and the choice isoffered again for the next video. Subtitles a site refuses (YouTube limits how often they maybe fetched) never cost the video: MDM asks once more after a pause, then says which are missing.- On the command line: `video-get --subs`, `--auto-subs`, `--embed-subs`; `video-info` lists them. A finished video and its subtitles are now marked as- downloaded from the internet, as other downloads are.-- **View → Always dark** ([#60](https://github.com/anefzaoui/misterdownloadmanager/issues/60)):- MDM stays dark whatever the system says, for a desktop that reports no light or dark- preference (MDM also reads it on Linux now, see Fixed).-- **Torrent settings: the network is yours to choose**- ([#40](https://github.com/anefzaoui/misterdownloadmanager/issues/40)): accept incoming connections- or not, map the port with UPnP or not, a fixed port, the DHT, finding peers on the local network,- a SOCKS5 proxy from Proxy / Socks (which turns off what would go around it), an IP blocklist- (P2P or eMule format, fetched again every 7 days), and stopping the torrent engine when no- torrent runs. A new help page, [Torrents and your security](docs/torrent-security.md), says what- others can see and what each switch does.+ On the command line: `video-get --subs`, `--auto-subs`, `--embed-subs`; `video-info` lists them.+ A finished video and its subtitles are now marked as downloaded from the internet, as other+ downloads are.+- **A video's sound as MP3, Opus or FLAC**+ ([#32](https://github.com/anefzaoui/misterdownloadmanager/issues/32),+ [#70](https://github.com/anefzaoui/misterdownloadmanager/issues/70)): **Download video** lists+ **Audio only MP3** at its best variable bitrate (VBR) and at 320, 256, 192 and 128 kbps, after+ the sound in the site's own format, now named **Audio only, original**. ffmpeg converts it (on+ Windows MDM offers to install it, as for the best video qualities; on Linux and macOS it uses+ the system's), and the browser's **Download video** button offers the same. Under the MP3 ones,+ **Audio only OPUS** (YouTube's Opus is only moved into an `.opus` file, not converted) and+ **Audio only FLAC** (lossless, with an honest note in the window: it can't add quality the+ site's lossy sound doesn't have, the file is only bigger). The command line takes+ `video-get --format mp3:192` (`mp3:0` for VBR), `-f opus:` and `-f flac:`.+- **Cookies for video sites**+ ([#229](https://github.com/anefzaoui/misterdownloadmanager/issues/229)): **Options → Sites+ Logins** can let yt-dlp read a browser's cookies on this computer (Firefox, Chrome, Edge, Brave,+ Opera, Vivaldi, Chromium, Whale; Safari on macOS), with a profile by name or folder, so a pasted+ link to a video that needs you signed in (YouTube's "Sign in to confirm you're not a bot")+ works. Off by default. When the browser's extension passes the page's own cookies, those are+ used instead. When the browser's cookies can't be read (Chrome, Edge and Brave lock them on+ Windows; a locked keyring on Linux), the Download video window says so in plain words.- **Your own yt-dlp and ffmpeg** ([#51](https://github.com/anefzaoui/misterdownloadmanager/issues/51)):**Download video from a page → Helpers...** shows where each comes from, and **Use anotherprogram...** takes a copy you already have instead of MDM's own (checked once, then used bythe window and the command line alike; MDM leaves its updates to you). **Use MDM's own copy**goes back.-- **Zen, Helium and other browsers built on Firefox or Chromium** ([#41](https://github.com/anefzaoui/misterdownloadmanager/issues/41)):- the extension reaches MDM in them, also when one is the only browser on Linux or macOS (Zen- reads Firefox's folder, which MDM now creates; Helium its own). **Add Mister Download Manager- to your browser** lists them, Zen, LibreWolf, Floorp and Waterfox by their own names (Options- too), and sends Firefox's family to the right page. On Windows MDM lists the browsers Windows- itself lists, so Helium is no longer taken for Chrome. Flatpak browsers can't start MDM's- helper, which the help page now says.-- **A video's sound as MP3, at the quality you pick** ([#32](https://github.com/anefzaoui/misterdownloadmanager/issues/32)):- **Download video** lists **Audio only MP3** at its best variable bitrate (VBR) and at 320, 256,- 192 and 128 kbps, after the sound in the site's own format. ffmpeg converts it (on Windows MDM- offers to install it, as for the best video qualities; on Linux and macOS it uses the system's),- and the browser's **Download video** button offers the same. The command line takes- `video-get --format mp3:192` (`mp3:0` for VBR).-- **The Linux AppImage updates through AppImage tools too** ([#24](https://github.com/anefzaoui/misterdownloadmanager/issues/24)):- it carries the address of its updates, and each release has its `.AppImage.zsync`, so- AppImageLauncher, Gear Lever and AppImageUpdate download only the parts that changed.- **Update now** works as before.-- **More than 32 connections per download, if you want them** ([#12](https://github.com/anefzaoui/misterdownloadmanager/issues/12)):- **Options → Connection** now takes any number from 1 to 32, typed or set with the arrows,- and **Allow more than 32 connections** raises that to 128, for server exceptions too. Servers- that allow fewer are still noticed and asked for fewer. The command line's `-c` takes 1 to 128.++#### Torrents++- **Download in order** ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)): to+ watch a video while it downloads, tick **Download in order** in **Add torrent**, or choose+ **Torrent → Download in order** in the list's right-click menu, even while it runs. A file's+ start comes first, and with **First and last pieces first** (on by default) its end comes early+ too, which most video files need before they play. Slower peers take pieces a little further+ on, so the start isn't waiting for them. Other torrents now download the rarest pieces first,+ as BitTorrent programs usually do: on MDM's test swarms they finished just as fast, and they+ finished where a scarce piece's only holder left. Torrents already in the list carry on, with+ nothing checked again. MDM also honours a peer's request to cancel a piece it no longer needs,+ so its upload isn't spent on data nobody wants.+- **RSS feeds** ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)): **Tasks →+ RSS feeds...** watches RSS and Atom feeds of torrents, lists their articles (download one by+ hand), and its download rules add the new ones whose titles they match: words or regular+ expressions, words to skip, an episode filter (`1x2;1x5-8;2x1-`) that takes each episode once, a+ folder per rule. A feed's backlog is never downloaded by itself.+- **Torrent commands** ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)): a+ torrent's right-click menu has **Torrent → Recheck files**, **Reannounce**, **Add trackers...**+ and **Copy magnet link**. Its Files tab can tick and untick files while it runs. A `.torrent`+ file's web address, in Add URL or from the browser, opens Add torrent with what the file holds.+ TORRENT is in Options → File types' defaults, so the browser hands `.torrent` files over; a+ list saved before keeps what it had.+- **Seeding and upload limits, and a share ratio that lasts**+ ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)): under "Keep sharing+ torrents after they finish", Torrent settings can stop sharing a finished torrent at a share+ ratio, or after it has been shared for some minutes; both off by default. A torrent stopped so+ says it in its event log and isn't shared again at the next start. Torrent settings can limit+ what all torrents together send, and a torrent's progress window can limit its own, kept with+ it. Its General tab now counts what it sent and how long it shared over all its runs, so the+ share ratio no longer starts again at 0 after a pause or a restart.+- **Torrent settings: the network is yours to choose**+ ([#40](https://github.com/anefzaoui/misterdownloadmanager/issues/40)): accept incoming+ connections or not, map the port with UPnP or not, a fixed port, the DHT, finding peers on the+ local network, a SOCKS5 proxy from Proxy / Socks (which turns off what would go around it), an+ IP blocklist (P2P or eMule format, fetched again every 7 days), and stopping the torrent engine+ when no torrent runs. A new help page, [Torrents and your security](docs/torrent-security.md),+ says what others can see and what each switch does.+- **Torrents through your debrid account**+ ([#44](https://github.com/anefzaoui/misterdownloadmanager/issues/44)): with **Send torrents and+ magnet links to the first account instead of to peers** ticked (**Options → Accounts**), a+ magnet link or a `.torrent` file goes to the account. Real-Debrid, AllDebrid and Premiumize+ download the torrent on their servers, and the list shows how far they are (**45% at+ Real-Debrid**). MDM then downloads its files over HTTP, with all its connections and resume,+ and removes the torrent from the account's list. Your computer never connects to the torrent's+ peers. Experimental, as the accounts are.++#### Debrid accounts, experimental++- **Real-Debrid, AllDebrid and Premiumize** ([#44](https://github.com/anefzaoui/misterdownloadmanager/issues/44)):+ **Options → Accounts** keeps your debrid service accounts. Real-Debrid signs in by code in the+ browser, or with your API token; AllDebrid by a PIN in the browser or with an API key, and MDM+ waits while it prepares a slow link; Premiumize with its API key. A link from a file host your+ service supports is unlocked through your account, then downloaded with all of MDM's+ connections, pause and resume, from Add URL, the browser's link menu and batch downloads. When+ the direct link expires, MDM asks the service for a new one. The direct link is never shown or+ copied, and the sign-in is kept like your other passwords (the system's keychain, below). Each+ service is asked well under its request limit. See [Debrid service accounts](docs/debrid.md).+ Experimental: built from the services' public API documentation, not yet confirmed with a real+ paid account.+- **One link directly, and the command line**+ ([#44](https://github.com/anefzaoui/misterdownloadmanager/issues/44)): **Download File Info**+ says which account a link goes through (**Download through Real-Debrid (your account)**);+ untick it to download that link directly. **File Properties** has the same choice for a+ download in the list, and MDM keeps it after a restart. The command line's `get` and `resume`+ go through the accounts of **Options → Accounts** too, and `--direct` skips them. A download+ the browser had already started stays direct after a restart, and when one service doesn't+ answer, the other accounts still work.++#### The browser extension++- **In the stores**: the Firefox add-on is on addons.mozilla.org,+ [Mister Download Manager](https://addons.mozilla.org/firefox/addon/mister-download-manager/),+ installed with one click and kept up to date by Firefox (and by Zen and LibreWolf); the+ Chromium one is in the Chrome Web Store,+ [Mister Download Manager](https://chromewebstore.google.com/detail/mister-download-manager/ejoleppdfgjdndddcjoehopknmlglojp),+ for Chrome, Edge, Brave, Opera and Vivaldi, installed with one click and kept up to date.+ Chrome offers it by itself once MDM is installed, and the website, the help and the README+ offer **Add to Firefox** and **Add to Chrome** first. The store's copy needs this release of+ MDM: the helper of MDM 0.2.x serves only the copy in MDM's own folder, and the browser refuses+ the store's ([#208](https://github.com/anefzaoui/misterdownloadmanager/issues/208)). The+ store's copy shows no Download video button on YouTube, whose downloads the store's policy+ forbids; **Tasks → Download video from a page** still takes any page.- **MDM offers the browser extension**: until a browser's extension has reached MDM, each startshows **Add Mister Download Manager to your browser**, with a button for every browser- installed (the tutorial until the extension is listed in the Chrome Web Store, its store page- after). The window says when the extension is connected; **Don't ask again** stops it.-- The store's copy shows no Download video button on YouTube, whose downloads the store's- policy forbids; **Tasks → Download video from a page** still takes any page.+ installed, which opens its store page (**Install it by hand** stays there for a browser that+ can't use its store). The window says when the extension is connected; **Don't ask again**+ stops it.- **The extension's toolbar button** says whether the browser reaches MDM. When it doesn't, ared **!** and **How to fix it** lead to the new help page, [The browser and MDM aren'tconnected](https://misterdownloadmanager.com/help/browser-help.html), at the section for the@@ -427,40 +351,198 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see- **Options → General → Test browser integration** checks MDM's side in order (integration on,the installed copy, the browsers can find MDM, which browsers' extension connected) andoffers **Set it up** when the browsers can't find MDM.-- **Options → File types → Don't take files smaller than** leaves small files (a receipt, an- icon) to the browser, and **Edit list ...** for the addresses left to the browser works.-- **Download selected links** and **Download all links** on the browser's right-click menu: the- page's links go to Import, to tick there.-- **PDFs, music and videos the browser would open itself are taken too**, when their type is in- **Options → File types** (**Options → General → Keys...** turns it off). Hold **Alt** while- clicking a link to let the browser have it.-- **Downloads from forms** (a button that posts and gets a file back) are posted again by MDM,- with the form's data, instead of being lost. A form that sends a file (multipart) stays with- the browser.-- **Google Drive links** ([#34](https://github.com/anefzaoui/misterdownloadmanager/issues/34)):- paste a Drive file's link (`drive.google.com/file/d/…/view`, `…/uc?id=…`, `…/open?id=…`) and- MDM downloads the file itself, as it was uploaded, over several connections and resumable,- with its real name and size in Download File Info. Large files get past Drive's "can't scan- this file for viruses" page as **Download anyway** does. Google Docs, Sheets and Slides come- as Word, Excel and PowerPoint files. A private file downloads with the sign-in the extension- passes from the browser. When Drive won't give a file (too many downloads lately, sign-in- needed, no access), MDM says so in your language instead of saving Drive's page. The video- button over a Drive video downloads the original file. Folders aren't downloaded yet: MDM- says the link is a folder. See [Google Drive links](docs/adding-downloads.md#google-drive-links).+- **The extension lists the media a page has loaded**+ ([#38](https://github.com/anefzaoui/misterdownloadmanager/issues/38)). The toolbar button's+ window has **Media on this page**: the HLS and DASH streams the page's players loaded (each+ once, with its qualities and length) and the video and sound files it played, with their size.+ **Download** sends a stream to the Download video window and a file to the list, with the+ page's cookies, the page as the referrer and the browser's User-Agent, so a stream a page won't+ give up can still be saved. Copy-protected (DRM) streams are listed as **Protected** and never+ sent. Nothing new to allow: the extension already watched the tab's responses.+- **Downloads from a browser behind a VPN or proxy extension go through it too**+ ([#42](https://github.com/anefzaoui/misterdownloadmanager/issues/42)): the browser extension+ passes the proxy the browser uses for a download (an extension's, or its settings' manual proxy+ or auto-config script) with it. MDM downloads through the same proxy while **Options → Proxy /+ Socks → Use proxy/socks from a browser's request** is on, which is the default. A proxy that+ needs the VPN extension's own login can't be shared: the download says so rather than going+ without it. In Firefox it is an opt-in: **Send downloads through this browser's proxy or VPN+ extension** in the extension's popup asks for the browser's *proxy* permission (to read the+ browser's proxy, never to change it), so the extension's update asks for no new permission.+ Chrome and the other Chromium browsers can't make that permission optional, so their extension+ doesn't hand the proxy over yet: set the same proxy in **Options → Proxy / Socks** there.+- **Zen, Helium and other browsers built on Firefox or Chromium** ([#41](https://github.com/anefzaoui/misterdownloadmanager/issues/41)):+ the extension reaches MDM in them, also when one is the only browser on Linux or macOS (Zen+ reads Firefox's folder, which MDM now creates; Helium its own). **Add Mister Download Manager+ to your browser** lists them, Zen, LibreWolf, Floorp and Waterfox by their own names (Options+ too), and sends Firefox's family to the right page. On Windows MDM lists the browsers Windows+ itself lists, so Helium is no longer taken for Chrome. Flatpak browsers can't start MDM's+ helper, which the help page now says.+- **MDM says why the browser kept a download**+ ([#208](https://github.com/anefzaoui/misterdownloadmanager/issues/208)): every download left+ to the browser by Options is a line in MDM's log naming the setting that decided (its type+ isn't in **File types**, its site or address is excluded, it's under the minimum size, the+ browser is unticked, browser integration is off, or the extension may not read the site), and+ the extension's button shows the last one, with the file's name. A download from a private+ window is logged without its name or site.+- **More file types taken from the browser by default**+ ([#208](https://github.com/anefzaoui/misterdownloadmanager/issues/208)): today's installers and+ packages (DMG and PKG for macOS, DEB, RPM and APPIMAGE for Linux, MSIX, APPX, APPXBUNDLE and CAB+ for Windows, JAR), archives (XZ, ZST, TGZ, TXZ) and WEBM, FLAC and OPUS join **Options → File+ types**. A list never edited gains them on the next start; one you edited stays as it is.+ **Options → File types → Don't take files smaller than** leaves small files (a receipt, an+ icon) to the browser, and **Edit list ...** for the addresses left to the browser works.+- **PDFs, music and videos the browser would open itself are taken too**, when their type is in+ **Options → File types** (**Options → General → Keys...** turns it off). Hold **Alt** while+ clicking a link to let the browser have it.+- **Download selected links** and **Download all links** on the browser's right-click menu: the+ page's links go to Import, to tick there.+- **Downloads from forms** (a button that posts and gets a file back) are posted again by MDM,+ with the form's data, instead of being lost. A form that sends a file (multipart) stays with+ the browser.++#### Remote control, servers and scripts++- **Control MDM from your phone** ([#141](https://github.com/anefzaoui/misterdownloadmanager/issues/141)):+ **Options → Remote**, off by default. A phone or another computer on the local network, paired+ with a code (or a QR code) MDM shows, opens a page MDM serves over HTTPS: it adds links, magnet+ links and `.torrent` files, shows the list with its progress, pauses, starts and removes+ downloads, and starts and stops the queues, in the phone's language. Only paired devices are+ answered, each removable in Options, and only on the computer's private network addresses.+ [Guide](docs/remote-control.md).+- **Run MDM on a server** ([#157](https://github.com/anefzaoui/misterdownloadmanager/issues/157)):+ `misterdownloadmanager --headless` runs MDM without a window (a home server, a NAS, Docker,+ Unraid), its folders and port set by flags or the environment; a `Dockerfile`, a Compose file+ and an Unraid template come with it. Phones pair with the code it prints (or+ `misterdownloadmanager-cli pair`), and the browser extension can **send downloads to another+ MDM**. [Guide](docs/server.md).+- The automation API's list also gives the queues, the categories and the free space; it starts+ and stops a queue by name, and an added address can choose its category and queue.++#### Accounts, the Scheduler and support++- **Sign-ins in the system's keychain**+ ([#44](https://github.com/anefzaoui/misterdownloadmanager/issues/44)): debrid accounts, Sites+ Logins' passwords and the proxy's password are kept in Windows Credential Manager, in the+ system keyring on Linux (Secret Service: GNOME Keyring, KeePassXC and others) and in the+ macOS keychain, and the settings keep only a reference. Those already saved move there on+ the next start. A locked keyring is never unlocked and no keyring is ever asked for a+ password: without one, they stay in MDM's settings as before, sealed for your Windows account+ on Windows (the proxy's password now too, like Sites Logins' passwords). **Options →+ Accounts** says where they are. A portable copy keeps them in its own folder, and uninstalling+ with **remove the download list and settings** removes them from Credential Manager too.+- **The Scheduler wakes the computer to run a queue**+ ([#142](https://github.com/anefzaoui/misterdownloadmanager/issues/142)): tick **Wake the+ computer to run this queue** under the start time, and a sleeping computer is woken a minute+ before the queue starts and kept awake while it runs; the line under it says when. On Windows+ it needs **Allow wake timers** in the power plan: when that is off the Scheduler says so, with a+ link to the setting. On Linux an administrator has to allow it once (the guide shows how); on+ macOS only an administrator can schedule a wake, so the option says why it's greyed. MDM never+ asks for an administrator's password. The Scheduler is 40 pixels taller for it.+- **Support MDM**: **Help → Support MDM** and a line in **About** open the creator's+ [GitHub Sponsors](https://github.com/sponsors/anefzaoui) page in the browser; the website, the+ README and the browser extension's popup link to it too. Only when asked: MDM stays free, with+ no reminders, and nothing changes or unlocks.++#### Linux++- **The AppImage updates through AppImage tools too** ([#24](https://github.com/anefzaoui/misterdownloadmanager/issues/24)):+ it carries the address of its updates, and each release has its `.AppImage.zsync`, so+ AppImageLauncher, Gear Lever and AppImageUpdate download only the parts that changed.+ **Update now** works as before.++#### The website++- **A page for every feature, and a Themes page**+ ([#260](https://github.com/anefzaoui/misterdownloadmanager/issues/260)): each feature has a page+ of its own, with the real window, where to find it in the app, since which version, and what it+ can't do yet; the home page lists them all, by group. The Themes page shows every built-in theme+ in its light and dark side, and how to make your own theme file, try it without building MDM,+ and share it, with a prompt to give an AI assistant. What isn't in a release yet says so.### Changed+#### Downloads and the browser++- A download from the browser keeps the browser's name, size and type: Download File Info no+ longer asks the server again, so a link's own name (`download="…"`), a Unicode name and a+ download behind a sign-in show right away, and correctly. When it must ask (an address typed+ in), it asks with the cookies, referrer and User-Agent the download will use.+- The address the browser was given is kept along with where its redirects led, so an expired+ signed link (a GitHub release, a cloud drive) is renewed when resumed, and a site excluded in+ Options is left alone even when it redirects to another.+- **MDM follows every kind of redirect a browser does** ([#28](https://github.com/anefzaoui/misterdownloadmanager/issues/28)):+ any HTTP redirect (301, 302, 303, 307, 308), up to 20 in a row instead of 10, and the pages+ download sites put in between ("your download starts in a moment"), which lead on with a+ `Refresh` header or a `<meta http-equiv="refresh">`: their wait is kept (up to 10 seconds), and+ the cookies they set go along while the download runs (not into a resume later). A page that+ leads on only through its own script still stops there.+- The download button over videos passes the page's referrer, cookies and the browser's+ User-Agent to yt-dlp, so videos that need a sign-in or play only where they're embedded work.+- Files downloaded from the web are marked as downloaded from the internet, as the browser marks+ its own: Windows' Mark of the Web (SmartScreen, Office's Protected View), macOS' quarantine.+- Downloads from a private window are kept out of the saved list.+- **Torrents behind a proxy open no UDP socket toward the network**: UDP trackers were already+ left out there; now their client stays on this computer too.+- **Proxy auto-config scripts (PAC) run in QuickJS**, a much smaller JavaScript engine, with+ limits on memory and running time: a script that loops or grows forever now fails, as a broken+ script does (the download goes on with the default proxy settings), instead of holding it.+- The extension is called **Mister Download Manager**.++#### Smaller and lighter++- **MDM's programs are a third of their size, its download about half** ([#25](https://github.com/anefzaoui/misterdownloadmanager/issues/25)):+ on Windows, the programs went from 93 MB to 33 MB (`misterdownloadmanager.exe` from 61 MB to+ 29 MB, the command line from 28 MB to a 0.2 MB launcher), and setup.exe from 23 MB to 12 MB.+ On Linux the AppImage went from 36 MB to 16 MB, the .deb from 27 MB to 13 MB.+ - The command line runs in the app's own program, so the download engine ships once. Every+ command, `--json`, Ctrl+C and exit code work as before.+ - The translations (85 languages besides English) are packed, 12 MB of text in under 1 MB+ without the translators' notes, and unpacked once at start.+ - Release signatures are checked by MDM's own small verifier instead of a full OpenPGP+ library.+ - The code that draws the windows is optimised for size (the engine stays optimised for+ speed), and the programs are optimised as a whole.+ - Crash reports name functions from the release's symbol files only, without the debug-info+ reader a build from source can add.+ - The installer packs tighter, and MDM's own code no longer carries the build machine's+ folder paths (a bundled C library still keeps a few of its own).+ - Later, the program is built for size+ ([#158](https://github.com/anefzaoui/misterdownloadmanager/issues/158)), which takes the+ installer from 16.1 to 13.6 MB and the zips from 19.3 to 15.6 MB, with the same features and+ the same download speed.+- **Two smaller macOS downloads** ([#25](https://github.com/anefzaoui/misterdownloadmanager/issues/25)):+ a .dmg for Apple Silicon (`-macos-arm64`, about 10 MB) and one for Intel (`-macos-x86_64`,+ about 13 MB) instead of one universal .dmg of 80 MB. From 0.2.4 or older, update once by hand:+ **Download** in Check for updates opens the release; pick your Mac's .dmg. **Update now**+ works again after that.+- **Less memory in the notification area** ([#72](https://github.com/anefzaoui/misterdownloadmanager/issues/72)):+ closed to the tray, or minimized there (on by default), MDM gives the memory it isn't using back+ to Windows. Task Manager's **Memory** drops from about 50 MB to under 10 MB (with 500 downloads+ in the list, from 58 to about 14 MB). It gives it back again 2 minutes after hiding, when the+ clock's ticks and a one-time allocation have brought some back, then every 10 minutes while MDM+ stays there. After the language list (which needs a font for every script) closes, those fonts+ are let go: about 70 MB less than before. On Linux the heap's free memory goes back to the+ system the same way. [MDM uses a lot of memory](docs/troubleshooting.md#mdm-uses-a-lot-of-memory)+ explains Task Manager's figures.++#### Reports, translations and help++- **Freeze reports say what kind of freeze it was** ([#57](https://github.com/anefzaoui/misterdownloadmanager/issues/57)):+ MDM measures how much processor time the window got while it didn't answer. The report then+ says whether it ran all along (a loop), waited (a deadlock, or the disk or the network), or+ hardly ran at all, which means a computer too busy to run MDM or slow to load it from disk,+ most likely not a bug in MDM. Those last ones share one signature, so they find one issue+ instead of many.- **Better translations in every language.** Every machine-translated text of the program andof the website was read again against the English, with a style guide for each language (howit writes commands, questions and labels) and the terms native reviewers settled, and fixedwhere it was wrong or unnatural. Texts a person reviewed (all of Italian and Arabic) were leftas they are. New texts are translated the same way from now on.-- **Developers: the host connection limit test tells a reconnect from a connection too many**- ([#224](https://github.com/anefzaoui/misterdownloadmanager/issues/224)). A server sees that a- client dropped an answer only when it next writes to it, so on a busy computer a connection- that reconnects can be refused once while the server still counts its old answer. The lab- server now logs, with each refusal, how far the answers holding the client's slots had been- sent; the test fails only for a refusal none of them explains.+- **Translators: a reviewed translation is never replaced by machine translation.** A row whose+ `#, machine` line a person deleted is kept by `tools/i18n/translate.py` in every case (`--redo`+ included; a check it fails is printed for the person to decide), and CI fails a pull request+ that drops such a row or marks it `#, machine` again (`tools/i18n/reviewed_guard.py`). The first+ reviewed catalog is Italian ([#150](https://github.com/anefzaoui/misterdownloadmanager/pull/150)).- **The help shows what it describes** ([#228](https://github.com/anefzaoui/misterdownloadmanager/issues/228)):every guide and the main help pages now have pictures of the windows they explain, cropped towhat matters, numbered where a step points at one control, and step strips for the usual flows@@ -468,28 +550,10 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, seewebsite they follow its light or dark theme, keep their place while they load, and open largerwith a click; their descriptions and captions are translated with the page. The pictures aremade by a script from one list (`tools/shots/`), so they can all be taken again in one go.-- **Developers: `/show menu:<n>` opens the menu bar's menu even with downloads in the list**; it- opened the first download's right-click menu instead.-- **Developers: the rest of the engine tests no longer fail on a busy computer**- ([#201](https://github.com/anefzaoui/misterdownloadmanager/issues/201)). Nine tests checked a- time, a speed or a byte count that a starved CPU or a busy CI runner can't keep. Each now- checks the state itself, or times from the event it is about: a slow request's own duration, a- stop measured from Stop against a wait of minutes, the first bytes before a pause, a speed- limit against a download the server paces at the same time (and every byte paid for once),- parts asked again instead of a deadline, links that expire after a number of requests instead- of milliseconds, range attempts a server without ranges answers slowly enough not to fill the- sockets, and the bytes a sparse file takes on the drive. The slow-connection test now fails- without shedding (it passed without it before). The lab server can hand out such links- (`/redirect?uses=N`) and pace answers to range requests on their own (`range_rate`).-- **Developers: Linux builds and window shots in minutes, on WSL2** (part of- [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): `tools/lab/wsl/` sets up- `mdm-lab`, an Ubuntu 24.04 WSL2 distribution of its own, which builds any branch or pull request- for Linux at the computer's full speed (`build.sh`: about 5 minutes from scratch, under a minute- after a change, against 15 to 60 in the VirtualBox machine), shoots MDM's windows in any language- and mode on a virtual screen that never shows on Windows (`shots.sh`: about a second a window,- against 40), compares OpenGL and Vulkan pixel by pixel (`renderers.sh`), and hands a build to a- VirtualBox machine for what needs a real desktop (`deploy.ps1`).-- **Developers: a Linux test machine, scripted** (part of [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)):++#### For developers++- **A Linux test machine, scripted** (part of [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)):`tools/lab/linux-vm/` sets up an Ubuntu 24.04 desktop in VirtualBox from a Windows host(`vm.ps1`: hardware, headless start, linked clones; `setup.sh`: packages, Rust, Node, thebrowsers, UI automation, an unlocked keyring), builds any branch or pull request there with a@@ -503,284 +567,63 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, seeone running MDM in any language, mode and theme, with real clicks and keys inside the machine(`win.sh`, `win-host.sh`); and a store package is checked before it ships (`store-check.mjs`,`chrome-menu.mjs`).-- **Developers: the engine tests no longer fail on a busy computer**- ([#136](https://github.com/anefzaoui/misterdownloadmanager/issues/136)). Three end-to-end tests- depended on timing: a refused connection coming back, the learned connection limit, and a dead- address (a server without ranges was fixed earlier). Each now waits for the state it checks. The lab server- can hold a connection slot for a test (`hold_slot`), and `settled()` now also means every- slot is free.-- **Themes, the groundwork** ([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45)):- every colour and size MDM's controls are drawn with (corner radii, borders, font sizes, the- list's row height, the icons' ink) now comes from one theme, by role. The classic look is that- theme, unchanged pixel for pixel. Theme files (TOML or JSON in the data folder's `themes`- folder) can already change any role; choosing one in the app, more built-in themes, pywal and- Base16 come next.-- **A smaller download** ([#158](https://github.com/anefzaoui/misterdownloadmanager/issues/158)):- the program is built for size, which takes the installer from 16.1 to 13.6 MB and the zips- from 19.3 to 15.6 MB, with the same features and the same download speed.-- **Translators: a reviewed translation is never replaced by machine translation.** A row whose- `#, machine` line a person deleted is kept by `tools/i18n/translate.py` in every case (`--redo`- included; a check it fails is printed for the person to decide), and CI fails a pull request- that drops such a row or marks it `#, machine` again (`tools/i18n/reviewed_guard.py`). The first- reviewed catalog is Italian ([#150](https://github.com/anefzaoui/misterdownloadmanager/pull/150)).-- **Developers: two engine tests no longer fail now and then**- ([#123](https://github.com/anefzaoui/misterdownloadmanager/issues/123)): the pause-and-resume- and event-log tests no longer depend on how fast the machine is. The lab server can hold a- byte back until a test lets it go (`stall_at`), and a test can wait until every request it- made is in the server's log.-- **Torrents behind a proxy open no UDP socket toward the network**: UDP trackers were already- left out there; now their client stays on this computer too.-- **Developers: tests no longer make Windows Firewall ask about them.** The torrent tests and- test tools listen on 127.0.0.1 only (a new setting of the torrent engine, its listen address),- so each new build of a test no longer opens sockets on every address.-- **Less memory in the notification area** ([#72](https://github.com/anefzaoui/misterdownloadmanager/issues/72)):- closed to the tray, MDM gives the memory it isn't using back to Windows. Task Manager's- **Memory** drops from about 50 MB to under 10 MB (with 500 downloads in the list, from 58 to- about 14 MB), and is given back again every 10 minutes while MDM stays there. After the- language list (which needs a font for every script) closes, those fonts are let go: about 70 MB- less than before. On Linux the heap's free memory goes back to the system the same way.- [MDM uses a lot of memory](docs/troubleshooting.md#mdm-uses-a-lot-of-memory) explains- Task Manager's figures.-- **Freeze reports say what kind of freeze it was** ([#57](https://github.com/anefzaoui/misterdownloadmanager/issues/57)):- MDM measures how much processor time the window got while it didn't answer. The report then- says whether it ran all along (a loop), waited (a deadlock, or the disk or the network), or- hardly ran at all, which means a computer too busy to run MDM or slow to load it from disk,- most likely not a bug in MDM. Those last ones share one signature, so they find one issue- instead of many.-- **MDM's programs are a third of their size, its download about half** ([#25](https://github.com/anefzaoui/misterdownloadmanager/issues/25)):- on Windows, the programs went from 93 MB to 33 MB (`misterdownloadmanager.exe` from 61 MB to- 29 MB, the command line from 28 MB to a 0.2 MB launcher), and setup.exe from 23 MB to 12 MB.- On Linux the AppImage went from 36 MB to 16 MB, the .deb from 27 MB to 13 MB.- - The command line runs in the app's own program, so the download engine ships once. Every- command, `--json`, Ctrl+C and exit code work as before.- - The translations (85 languages besides English) are packed, 12 MB of text in under 1 MB- without the translators' notes, and unpacked once at start.- - Release signatures are checked by MDM's own small verifier instead of a full OpenPGP- library.- - The code that draws the windows is optimised for size (the engine stays optimised for- speed), and the programs are optimised as a whole.- - Crash reports name functions from the release's symbol files only, without the debug-info- reader a build from source can add.- - The installer packs tighter, and MDM's own code no longer carries the build machine's- folder paths (a bundled C library still keeps a few of its own).-- **Two smaller macOS downloads** ([#25](https://github.com/anefzaoui/misterdownloadmanager/issues/25)):- a .dmg for Apple Silicon (`-macos-arm64`, about 10 MB) and one for Intel (`-macos-x86_64`,- about 13 MB) instead of one universal .dmg of 80 MB. From 0.2.4 or older, update once by hand:- **Download** in Check for updates opens the release; pick your Mac's .dmg. **Update now**- works again after that.-- **Proxy auto-config scripts (PAC) run in QuickJS**, a much smaller JavaScript engine, with- limits on memory and running time: a script that loops or grows forever now fails, as a broken- script does (the download goes on with the default proxy settings), instead of holding it.-- The extension is called **Mister Download Manager**.-- A download from the browser keeps the browser's name, size and type: Download File Info no- longer asks the server again, so a link's own name (`download="…"`), a Unicode name and a- download behind a sign-in show right away, and correctly. When it must ask (an address typed- in), it asks with the cookies, referrer and User-Agent the download will use.-- The address the browser was given is kept along with where its redirects led, so an expired- signed link (a GitHub release, a cloud drive) is renewed when resumed, and a site excluded in- Options is left alone even when it redirects to another.-- The download button over videos passes the page's referrer, cookies and the browser's- User-Agent to yt-dlp, so videos that need a sign-in or play only where they're embedded work.-- Files downloaded from the web are marked as downloaded from the internet, as the browser marks- its own: Windows' Mark of the Web (SmartScreen, Office's Protected View), macOS' quarantine.-- Downloads from a private window are kept out of the saved list.-- **MDM follows every kind of redirect a browser does** ([#28](https://github.com/anefzaoui/misterdownloadmanager/issues/28)):- any HTTP redirect (301, 302, 303, 307, 308), up to 20 in a row instead of 10, and the pages- download sites put in between ("your download starts in a moment"), which lead on with a- `Refresh` header or a `<meta http-equiv="refresh">`: their wait is kept (up to 10 seconds), and- the cookies they set go along while the download runs (not into a resume later). A page that- leads on only through its own script still stops there.+- **Linux builds and window shots in minutes, on WSL2** (part of+ [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): `tools/lab/wsl/` sets up+ `mdm-lab`, an Ubuntu 24.04 WSL2 distribution of its own, which builds any branch or pull request+ for Linux at the computer's full speed (`build.sh`: about 5 minutes from scratch, under a minute+ after a change, against 15 to 60 in the VirtualBox machine), shoots MDM's windows in any language+ and mode on a virtual screen that never shows on Windows (`shots.sh`: about a second a window,+ against 40), compares OpenGL and Vulkan pixel by pixel (`renderers.sh`), and hands a build to a+ VirtualBox machine for what needs a real desktop (`deploy.ps1`).+- **The engine tests no longer fail on a busy computer**+ ([#123](https://github.com/anefzaoui/misterdownloadmanager/issues/123),+ [#136](https://github.com/anefzaoui/misterdownloadmanager/issues/136),+ [#201](https://github.com/anefzaoui/misterdownloadmanager/issues/201)):+ - the pause-and-resume and event-log tests no longer depend on how fast the machine is: the lab+ server can hold a byte back until a test lets it go (`stall_at`), and a test can wait until+ every request it made is in the server's log (#123);+ - three end-to-end tests depended on timing: a refused connection coming back, the learned+ connection limit, and a dead address (a server without ranges was fixed earlier). Each now+ waits for the state it checks. The lab server can hold a connection slot for a test+ (`hold_slot`), and `settled()` now also means every slot is free (#136);+ - nine more tests checked a time, a speed or a byte count that a starved CPU or a busy CI runner+ can't keep. Each now checks the state itself, or times from the event it is about: a slow+ request's own duration, a stop measured from Stop against a wait of minutes, the first bytes+ before a pause, a speed limit against a download the server paces at the same time (and every+ byte paid for once), parts asked again instead of a deadline, links that expire after a number+ of requests instead of milliseconds, range attempts a server without ranges answers slowly+ enough not to fill the sockets, and the bytes a sparse file takes on the drive. The+ slow-connection test now fails without shedding (it passed without it before). The lab server+ can hand out such links (`/redirect?uses=N`) and pace answers to range requests on their own+ (`range_rate`) (#201).+- **The host connection limit test tells a reconnect from a connection too many**+ ([#224](https://github.com/anefzaoui/misterdownloadmanager/issues/224)). A server sees that a+ client dropped an answer only when it next writes to it, so on a busy computer a connection+ that reconnects can be refused once while the server still counts its old answer. The lab+ server now logs, with each refusal, how far the answers holding the client's slots had been+ sent; the test fails only for a refusal none of them explains.+- **Tests no longer make Windows Firewall ask about them.** The torrent tests and test tools+ listen on 127.0.0.1 only (a new setting of the torrent engine, its listen address), so each new+ build of a test no longer opens sockets on every address.+- **`/show menu:<n>` opens the menu bar's menu even with downloads in the list**; it opened the+ first download's right-click menu instead.### Fixed+#### Windows, menus and dialogs+- **Sharper text on Windows** ([#262](https://github.com/anefzaoui/misterdownloadmanager/issues/262)):Segoe UI and Tahoma are grid-fitted across as well as up and down, and each letter starts on awhole pixel, as Windows draws its own grey text: upright strokes were two grey pixels wide at100 % and 125 %, which read as blurred.- Menus opened near the screen's right or bottom edge flip inside it at every display scale andinterface size: the screen's edge was measured in pixels and the menu in points.-- **Update now on Linux asks the package manager which package MDM is**: a copy in /usr/bin- was taken for the .deb on a Debian-like system and for the .rpm anywhere else, so a copy- installed with another package manager (pacman on Arch) would have fetched and opened an .rpm.- MDM now asks dpkg, rpm and pacman which one owns its program; the .deb and .rpm update as- before, and a copy of another package manager is left to the system's updates: Check for- updates shows the new version's notes and says to update it there.-- **Linux: menus open under their title on tiling compositors**- ([#267](https://github.com/anefzaoui/misterdownloadmanager/issues/267)): under sway (through- XWayland, MDM's default in a Wayland session), the menu bar's menus, their submenus, the- right-click menus and the drop-down lists opened in the middle of the screen, as the compositor- placed them like windows. They are now menu windows no window manager places, as X11 menus are,- so they open where MDM puts them, on every window manager.-- **Linux: a missing window library is named, with how to install it**- ([#265](https://github.com/anefzaoui/misterdownloadmanager/issues/265)): from the tar.gz or the- AppImage, on a system without libxkbcommon-x11 (or another library X11 windows need), MDM- stopped at start with a crash. It now says which library is missing and the command that- installs it (apt, dnf, zypper, pacman or apk, by the distribution), on the terminal and in a- message box (zenity or kdialog, when there is one). In a Wayland session it opens its window- on Wayland instead, saying so.-- **Linux: plain HTTP downloads work on a system without CA certificates**- ([#264](https://github.com/anefzaoui/misterdownloadmanager/issues/264)): on a minimal install- without the `ca-certificates` package (the tar.gz, the AppImage or a source build), no download- started, `http://` ones included ("No CA certificates were loaded from the system"). Plain HTTP- and FTP now work there, and each HTTPS or FTPS download fails at once, without retrying, saying- that the computer has no certificates to check the server with and to install- `ca-certificates`.-- **Signed-in videos from YouTube Music and YouTube's mobile site**- ([#229](https://github.com/anefzaoui/misterdownloadmanager/issues/229)): the button over a- video on music.youtube.com or m.youtube.com passed the page's cookies for that host only, while- yt-dlp asks www.youtube.com, so the sign-in didn't reach it. The extension now sends each- cookie with the domain the browser keeps it for, and MDM gives yt-dlp each one for that domain:- youtube.com's sign-in reaches every YouTube host, and a host's own cookie stays with that host.- With an older extension, a YouTube page's cookies (or a site's mobile page's, m. and mobile.)- go to the whole site.-- **Update now finds the Linux and macOS files by either name**: a release's AppImage, .deb,- .rpm, .tar.gz and .dmg were named `…-experimental`; MDM now looks for the name without it- first and still takes the older one, so Update now keeps working whichever a release uses.-- **The Linux .deb and .rpm bring what MDM's window needs** (part of- [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): on a system without- libxkbcommon-x11 (a minimal install, a container), MDM installed from them stopped at start- under X11 and XWayland, and without the CA certificates (Debian's minimal install) no download- started. They now require both, and EGL for Wayland windows. They also require the glibc the- programs were built against, read from the programs themselves, instead of a fixed version: a- package built on a newer system no longer installs on an older one where it can't start.-- **Get System and the Scheduler's "when done" drop-down fit in every language**- ([#192](https://github.com/anefzaoui/misterdownloadmanager/issues/192), after #247): Options →- Proxy's title takes two lines where one leaves Get System too little room (Bulgarian,- Armenian, Tamil), and where it ran over the page's icon or past the window's left edge- (Greek, Finnish, Catalan, Estonian, Latvian, Lithuanian, Malayalam, Serbian, Afrikaans). In- Greek and Malayalam, the Scheduler's "Turn off computer when done" and its choices have- shorter machine translations, so the drop-down fits beside the caption; in Belarusian, Welsh,- French, Russian, Tamil and Ukrainian, the longer ones the translation review brought (such as- Russian's Hibernate) are back to their earlier, shorter wording. English is unchanged.-- **Galleries work with the gallery-dl a Linux distribution ships**- ([#236](https://github.com/anefzaoui/misterdownloadmanager/issues/236)): with Ubuntu 24.04's- gallery-dl 1.26.9 chosen in Helpers, every gallery failed at once ("unrecognized arguments:- --no-input"): MDM passed options that only newer releases know. MDM now reads the chosen- gallery-dl's version and passes only what that release accepts, from 1.20 (Ubuntu 22.04) to- today's; checked against every release from 1.17 to 1.32. An older one (Debian 11's 1.17) is- refused when chosen, saying it is too old and which version MDM needs, and one chosen before is- passed over for MDM's own copy, which Helpers says. gallery-dl 1.30.0, whose version starts- with an empty line, is no longer taken for another program.-- **Brave Origin connects on Linux, and the AppImage's helper is always there**- ([#253](https://github.com/anefzaoui/misterdownloadmanager/issues/253)): Brave Origin keeps- its settings in a folder of its own (`~/.config/BraveSoftware/Brave-Origin`), which MDM didn't- know, so its extension said MDM wasn't installed. MDM now sets up Brave Origin, the Beta, Dev- and Nightly versions of Brave, Chrome and Edge, and Vivaldi's snapshot; on macOS, Brave reads- Chrome's folder, which MDM now writes for it. From the AppImage, MDM copies the helper program- the browsers start out of the AppImage under a new name and swaps it in, so a browser still- running the old copy no longer keeps the new one out, and puts it back at each start if it went- missing. A copy or setup that fails is written to MDM's log, and **Test browser integration**- says when the helper program is missing, when no browser was found, or why setting it up- failed.-- **The extension's popup: Open Mister Download Manager shows whole**- ([#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): on Linux, whose fonts- are wider, and in longer languages, the button was cut to "Open Mister Do…". Each button is now- as wide as its text, and Options moves below it when both don't fit on one line.-- **The crash report window's status line stays inside the window**- ([#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): the line above the- check box ("The symbols couldn't be fetched: …", an issue's title, a translation) ran past the- window's right edge, or its left edge in Persian. It is now cut with "…" at the margin and shown- whole under the pointer. Its title ("Mister Download Manager crash report") is now in MDM's- language too; it was always in the system's. On Windows that also gives its title bar MDM's- light or dark again in every language: outside English it kept Windows' own mode.-- **Leaving a submenu no longer closes the whole menu**- ([#250](https://github.com/anefzaoui/misterdownloadmanager/issues/250)): on Linux, with a- submenu open (Tasks → Import, Downloads → Speed Limiter), moving the pointer back onto its menu,- to another item, closed the menu itself as well. Some window managers (KWin, sway) give a- submenu's window the focus; when the submenu closed, its window handed the focus on, and for a- moment no window of MDM had it, which counted as MDM losing the focus. A menu now closes for- that only when the focus stays away (a click in another program). A submenu also closes when- the pointer rests on another item without moving, instead of waiting for the next move.-- **Three more controls fit their translated text**- ([#192](https://github.com/anefzaoui/misterdownloadmanager/issues/192), after #212): in Russian- and a few other languages, Download File Info's **Preview**, Options → Proxy's **Get System**- and the Scheduler's drop-down after **Turn off computer when done** still ended in "...".- Download File Info grows by what Preview's label needs (Russian, Ukrainian, Telugu, Belarusian- and a few more), the Proxy page's title moves left to give Get System its room, and the- Scheduler's drop-down widens towards its caption. English is unchanged.- **A menu shut with Escape opens again at the first click on its title**: a menu opened fromthe menu bar and shut with Escape, the pointer still on its title, was left marked open. OnLinux the next click on that title only "shut" it, and a second click was needed; on WindowsEscape seemed to do nothing (the menu came back at once). Escape, or MDM losing the focus, nowshuts the menu whatever the pointer rests on; a press on a title still shuts its own menu oropens another.-- **A video that needs a sign-in downloads from the button over it**- ([#229](https://github.com/anefzaoui/misterdownloadmanager/issues/229)): the button's cookies- reached the Download video window's look-up but not the download's own, which then failed with- "Sign in to confirm you're not a bot".-- **The window no longer freezes when the system's sleep or keychain service is slow**- (follows [#222](https://github.com/anefzaoui/misterdownloadmanager/issues/222)): a queue set to- **Wake the computer to run this queue** asks the system to keep the computer awake while it- runs. On Linux that is logind, which can be slow to answer just after the computer wakes,- exactly when such a queue starts, and MDM waited for it on the window's own thread (asking- again every 5 seconds while it refused). It is now asked in the background, on every system;- the queue's downloads, retries and log lines are the same. A keyring that doesn't answer at- start (a stopped GNOME Keyring) is now waited for once, at most 5 seconds, instead of once per- saved password, and saving the list no longer asks it at all. On Linux the check for a tray to- hide windows in, and in Download File Info the check that **Save As** isn't a folder (slow on a- network share that doesn't answer), no longer run on the window's thread on every frame.-- **Linux: Dark Mode support follows XFCE, MATE and other desktops too**- ([#156](https://github.com/anefzaoui/misterdownloadmanager/issues/156)): MDM followed the- desktop's light or dark setting only where the freedesktop portal answers (GNOME, KDE,- Cinnamon). Where it doesn't, as on XFCE, MDM stayed light under a dark theme. It now reads the- theme the desktop gives its programs (a name such as Adwaita-dark, Mint-Y-Dark or Greybird-dark- is dark), GNOME's own dark style setting when there is no portal, and GTK's settings with no- desktop at all, and it follows changes as they happen. The portal still comes first. A change- now shows at once too: the window waited for its next theme check, up to 20 s on a busy- machine, on every desktop.-- **Open folder no longer freezes the window on Linux**- ([#222](https://github.com/anefzaoui/misterdownloadmanager/issues/222)): Download complete's- **Open folder** asks the desktop's file manager (over D-Bus) to show the file, and MDM waited- for its answer on the window's own thread. A file manager slow to start, or one that never- answered (seen on Pop!_OS), froze the window until the freeze report caught it. MDM now asks in- the background and, when the file manager hasn't answered within 5 seconds, opens the folder- instead. Every other program MDM starts from a window goes the same way: Test browser- integration's **Set it up**, moving an extracted archive to the Trash (on a Mac the Finder may- ask first), putting an update in place (**Installing the update...**, with Cancel greyed while- it runs), opening pages and folders, reading the icon theme on Linux and, on a Mac, the accent- colour (every 2 seconds with the Native theme) and the system's version for a bug report.-- **A download too big for the drive is refused on a busy computer too**- ([#224](https://github.com/anefzaoui/misterdownloadmanager/issues/224)): before a download- starts, MDM checks the drive has room for it. It gave up checking after 5 seconds (a network- drive that no longer answers can hang), counted from when it asked; on a very busy computer- the check could wait longer than that just to start, and a download too big for its drive- started anyway. The 5 seconds now count from when the check runs, and it asks only the- folder's own drive instead of listing every drive, which takes well under a millisecond. A- shared network folder (`\\server\share`) is checked too, which it wasn't before, and a- folder that doesn't exist yet is checked on the drive it will be made on.-- **The crash report window in other languages**- ([#204](https://github.com/anefzaoui/misterdownloadmanager/issues/204)): in any language but- English, the report in its box ran together on a few long lines, as its line breaks were taken- for a translation's and flowed again. The report now keeps its own lines in every language, and- in Arabic and Persian it reads left to right, from the box's left edge, as the English data it- is (the window around it stays right to left). The release notes in **Check for updates** keep- their lines the same way. **End and restart MDM** showed cut in German, French, Russian and- Arabic: the buttons are now as wide as their text, the others giving back room they don't need.-- **Buttons fit their text in every language, in every window**- ([#192](https://github.com/anefzaoui/misterdownloadmanager/issues/192)): many windows gave- their buttons a width made for English, so a longer translation was cut with "..." (German- **Später herunterla...** in Download File Info, **Hilfsprogramme...** in Download a gallery,- Russian **Открыть с помощью...** in Download complete, French **Nouvelle file d’attente** in the- Scheduler). Each button is now as wide as its translated text, and the buttons beside it move- along with the same gaps, the row keeping its end; a box or caption beside a widened button- ends before it. Where a window has no room left, the buttons wider than their text give some- back first. English is unchanged, and in Arabic and the other right-to-left languages the- buttons widen the mirrored way.-- **Help opens the website's help pages, in your language**- ([#227](https://github.com/anefzaoui/misterdownloadmanager/issues/227)): **Help contents**,- **Tutorials**, **Scheduler and queues**, **Video downloads**, the **Help** buttons of Options and- the Scheduler, and the browser extension window's tutorial and help links opened the docs on- GitHub (the Options and Scheduler buttons a page that wasn't there). They open- misterdownloadmanager.com now, at the same section, in the interface language when the website- has it (else English), and **Home Page** opens the website too. The command line's and the MCP- server's help name the website's guide. Problem reports, releases and the source stay on GitHub.-- **A finished download no longer fails with "part file still in use" on a busy computer**- ([#201](https://github.com/anefzaoui/misterdownloadmanager/issues/201)): when the last bytes- came in, the connections still running were cut off. One cut off while it read or wrote the- part file (checking the bytes before a reconnect, for example) left that read or write to finish- on its own, with the file still open, and renaming the finished file failed. The connections are- now told to stop and waited for, when a download completes and when it is stopped or fails, so- none of them outlives it. A stopped download's last writes are also in its saved progress now.- **Menus and the drop target without a black band across their top**([#208](https://github.com/anefzaoui/misterdownloadmanager/issues/208)): on a Windows 11Insider build (22635), every menu and submenu showed a black band a title bar tall across its@@ -795,37 +638,56 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, seeprogress window turned black for a moment when closed with the × or Alt+F4, rather than withEsc or one of its buttons: one to several seconds on Linux, a few hundredths of a second onWindows. The window now keeps its contents until it goes.-- **A freeze while MDM handles a command is reported again**- ([#202](https://github.com/anefzaoui/misterdownloadmanager/issues/202)): since the clock and- what comes in from outside (a second launch, the browser, the automation API) run in every- window state, a freeze there opened no crash report window and wrote no freeze report, minimized- or not. The watchdog now times that part of each frame too.-- **Streams served as plain text, from addresses without .m3u8 or .mpd**- ([#171](https://github.com/anefzaoui/misterdownloadmanager/issues/171)): some players load- their stream from such an address, and the extension didn't know it as one. The button over the- video, the right-click menu and **Media on this page** then sent the page alone, which yt-dlp- answered "Unsupported URL". Now, when one of them is used and no stream is known, the extension- reads the start of what the player fetched (a few kilobytes, never on sight) and recognises an- HLS playlist or a DASH manifest.- **Dark mode: grey notes and error texts are easier to read**([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45)): they now have thecontrast WCAG asks for (4.5:1) on every dark surface, Options' failed checks no longer use lightmode's dark red on the dark dialog, and an editable drop-down's arrow is tinted dark under thepointer.-- **A minimized MDM keeps working**: with the main window minimized (not to the notification- area), queues didn't start their next file, the Scheduler's starts and stops didn't fire,- download limits, the network adapter's kill switch, the clipboard monitor, the update check, the- taskbar's progress and saving the list all waited until the window was restored. They run in- every window state now, and their windows (Download complete, a limit's notice) open at once.-- **HLS and DASH videos from the browser, as their stream**- ([#155](https://github.com/anefzaoui/misterdownloadmanager/issues/155)): a video played as a- stream (most sites' long videos) failed with yt-dlp's "Unsupported URL" when the extension sent- the page instead of the stream. **Download with Mister Download Manager** in the right-click- menu on such a video now sends the stream its player loaded, as the button over videos and- **Media on this page** do. In Firefox it did nothing at all. The cookies sent are those of the- stream's own server, not the page's.-- **Add torrent: the labels fit in every language**: in German, **Speichern unter** ran under- its field.+- **Download complete shows above other programs' windows**, as IDM's does, so the end of a+ download isn't missed ([#77](https://github.com/anefzaoui/misterdownloadmanager/issues/77)):+ it doesn't take the keyboard from the program being typed in, and once clicked it is a window+ like any other. **Options opened from the extension's Button settings... comes to the front**+ ([#77](https://github.com/anefzaoui/misterdownloadmanager/issues/77)), instead of opening+ behind the browser on Windows.+- **Dragging the file out of Download complete works in every language**+ ([#78](https://github.com/anefzaoui/misterdownloadmanager/issues/78)): the handle looked for the+ English window title, so outside English the drag did nothing. The handle now says what it does+ on hover. It is Windows only, and no longer shown on Linux and macOS, where it did nothing.+- **Help opens the website's help pages, in your language**+ ([#227](https://github.com/anefzaoui/misterdownloadmanager/issues/227)): **Help contents**,+ **Tutorials**, **Scheduler and queues**, **Video downloads**, the **Help** buttons of Options and+ the Scheduler, and the browser extension window's tutorial and help links opened the docs on+ GitHub (the Options and Scheduler buttons a page that wasn't there). They open+ misterdownloadmanager.com now, at the same section, in the interface language when the website+ has it (else English), and **Home Page** opens the website too. The command line's and the MCP+ server's help name the website's guide. Problem reports, releases and the source stay on GitHub.++#### Every language++- **Buttons fit their text in every language, in every window**+ ([#192](https://github.com/anefzaoui/misterdownloadmanager/issues/192)): many windows gave+ their buttons a width made for English, so a longer translation was cut with "..." (German+ **Später herunterla...** in Download File Info, **Hilfsprogramme...** in Download a gallery,+ Russian **Открыть с помощью...** in Download complete, French **Nouvelle file d’attente** in the+ Scheduler). Each button is now as wide as its translated text, and the buttons beside it move+ along with the same gaps, the row keeping its end; a box or caption beside a widened button+ ends before it. Where a window has no room left, the buttons wider than their text give some+ back first. English is unchanged, and in Arabic and the other right-to-left languages the+ buttons widen the mirrored way.+ - **Three more controls** (after #212): in Russian and a few other languages, Download File+ Info's **Preview**, Options → Proxy's **Get System** and the Scheduler's drop-down after+ **Turn off computer when done** still ended in "...". Download File Info grows by what+ Preview's label needs (Russian, Ukrainian, Telugu, Belarusian and a few more), the Proxy+ page's title moves left to give Get System its room, and the Scheduler's drop-down widens+ towards its caption.+ - **The last languages** (after #247): Options → Proxy's title takes two lines where one leaves+ Get System too little room (Bulgarian, Armenian, Tamil), and where it ran over the page's icon+ or past the window's left edge (Greek, Finnish, Catalan, Estonian, Latvian, Lithuanian,+ Malayalam, Serbian, Afrikaans). In Greek and Malayalam, the Scheduler's "Turn off computer+ when done" and its choices have shorter machine translations, so the drop-down fits beside+ the caption; in Belarusian, Welsh, French, Russian, Tamil and Ukrainian, the longer ones the+ translation review brought (such as Russian's Hibernate) are back to their earlier, shorter+ wording.- **Download video: the buttons fit their text in every language**([#172](https://github.com/anefzaoui/misterdownloadmanager/issues/172)): in German **ffmpeginstallieren** showed as "ffmpeg installie...", and in Russian **Helpers...** and **Install@@ -833,161 +695,218 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, seeand the page's title stops before the Install button instead of running under it. In Arabicand the other right-to-left languages, a widened **Hide tab** in a download's window now growsinto the room beside it instead of towards the window's edge.+- **"Hide tab" was cut in longer languages** (German "Registerkarte au..."): the button grows to+ fit its label where there is room, through a shared helper other buttons can use.+- **Add torrent: the labels fit in every language**: in German, **Speichern unter** ran under+ its field.+- **A long file name ran out of the progress window** ([#62](https://github.com/anefzaoui/misterdownloadmanager/issues/62)):+ on the **Options on completion** tab, a longer translation of "Save To:" (Turkish, German…)+ ran into the path, and the path ran past the window's edge. The label now takes the room its+ language needs, and the path is shortened in the middle, keeping the file's name in sight,+ and shown whole on hover; right-to-left languages included.+- **The crash report window in other languages**+ ([#204](https://github.com/anefzaoui/misterdownloadmanager/issues/204)): in any language but+ English, the report in its box ran together on a few long lines, as its line breaks were taken+ for a translation's and flowed again. The report now keeps its own lines in every language, and+ in Arabic and Persian it reads left to right, from the box's left edge, as the English data it+ is (the window around it stays right to left). The release notes in **Check for updates** keep+ their lines the same way. **End and restart MDM** showed cut in German, French, Russian and+ Arabic: the buttons are now as wide as their text, the others giving back room they don't need.+- **The crash report window's status line stays inside the window**+ ([#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): the line above the+ check box ("The symbols couldn't be fetched: …", an issue's title, a translation) ran past the+ window's right edge, or its left edge in Persian. It is now cut with "…" at the margin and shown+ whole under the pointer. Its title ("Mister Download Manager crash report") is now in MDM's+ language too; it was always in the system's. On Windows that also gives its title bar MDM's+ light or dark again in every language: outside English it kept Windows' own mode.+- **The extension's popup: Open Mister Download Manager shows whole**+ ([#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): on Linux, whose fonts+ are wider, and in longer languages, the button was cut to "Open Mister Do…". Each button is now+ as wide as its text, and Options moves below it when both don't fit on one line.+- **Numbers are written the interface language's way** ([#128](https://github.com/anefzaoui/misterdownloadmanager/issues/128)):+ counts, sizes, speeds, percentages and the list's columns group and point their digits as the+ chosen language does (German `10.200` and `1,50 MB`, French `10 200`, Hindi `1,00,000`),+ whatever the Windows region; a region in the same language keeps its own way (Swiss German+ `10’200`). English is unchanged.+- **Download complete's Open with... stayed in English** in every other language+ ([#80](https://github.com/anefzaoui/misterdownloadmanager/issues/80)). The tool that collects+ MDM's texts for translation now also finds labels given through a window's own helpers, and+ checks in CI that it keeps finding them.+- **Download File Info's errors are worded in the interface language**, as the list's are.+- Bangla shows Bangladesh's flag instead of India's, in the language picker, on the website and+ in the README ([#27](https://github.com/anefzaoui/misterdownloadmanager/issues/27)).++#### Linux++- **Ubuntu's Firefox reaches MDM** (part of [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)):+ the Snap Firefox never makes the folder MDM looked for, so browser integration wasn't set up+ for it and its extension couldn't find MDM. It is now, and the Snap goes through the desktop,+ which asks once (**Allow**); the help says how to be asked again after **Don't allow**.+ Chromium as a Snap ran MDM's helper inside its sandbox, away from MDM (it started a second,+ sandboxed MDM): MDM no longer offers it, and the help says why.+- **Brave Origin connects, and the AppImage's helper is always there**+ ([#253](https://github.com/anefzaoui/misterdownloadmanager/issues/253)): Brave Origin keeps+ its settings in a folder of its own (`~/.config/BraveSoftware/Brave-Origin`), which MDM didn't+ know, so its extension said MDM wasn't installed. MDM now sets up Brave Origin, the Beta, Dev+ and Nightly versions of Brave, Chrome and Edge, and Vivaldi's snapshot; on macOS, Brave reads+ Chrome's folder, which MDM now writes for it. From the AppImage, MDM copies the helper program+ the browsers start out of the AppImage under a new name and swaps it in, so a browser still+ running the old copy no longer keeps the new one out, and puts it back at each start if it went+ missing. A copy or setup that fails is written to MDM's log, and **Test browser integration**+ says when the helper program is missing, when no browser was found, or why setting it up+ failed.+- **Dark Mode support follows the desktop, on every desktop**+ ([#156](https://github.com/anefzaoui/misterdownloadmanager/issues/156)): **View → Dark Mode+ support** did nothing on Linux: MDM asked the window system for the desktop's light or dark+ setting, and X11 never says. It now asks the desktop itself (the freedesktop portal, which KDE,+ GNOME, Cinnamon and most others answer) and follows it as it changes. Where the portal doesn't+ answer, as on XFCE and MATE, MDM stayed light under a dark theme: it now reads the theme the+ desktop gives its programs (a name such as Adwaita-dark, Mint-Y-Dark or Greybird-dark is dark),+ GNOME's own dark style setting when there is no portal, and GTK's settings with no desktop at+ all, and follows changes as they happen. The portal still comes first. A change now shows at+ once too: the window waited for its next theme check, up to 20 s on a busy machine, on every+ desktop.+- **Menus open where they belong**: in a Wayland session they opened in the middle of the screen+ ([#50](https://github.com/anefzaoui/misterdownloadmanager/issues/50)), as Wayland lets no+ program place its windows, and MDM's menus and drop-down lists are windows it places; MDM now+ runs through XWayland when it is there (`MDM_WAYLAND=1` keeps Wayland). Under tiling+ compositors such as sway ([#267](https://github.com/anefzaoui/misterdownloadmanager/issues/267)),+ through XWayland, the menu bar's menus, their submenus, the right-click menus and the drop-down+ lists still opened in the middle of the screen, as the compositor placed them like windows. They+ are now menu windows no window manager places, as X11 menus are, so they open where MDM puts+ them, on every window manager.+- **Leaving a submenu no longer closes the whole menu**+ ([#250](https://github.com/anefzaoui/misterdownloadmanager/issues/250)): with a submenu open+ (Tasks → Import, Downloads → Speed Limiter), moving the pointer back onto its menu, to another+ item, closed the menu itself as well. Some window managers (KWin, sway) give a submenu's window+ the focus; when the submenu closed, its window handed the focus on, and for a moment no window+ of MDM had it, which counted as MDM losing the focus. A menu now closes for that only when the+ focus stays away (a click in another program). A submenu also closes when the pointer rests on+ another item without moving, instead of waiting for the next move.+- **The window couldn't be closed** on desktops without a tray, such as MangoWC+ ([#59](https://github.com/anefzaoui/misterdownloadmanager/issues/59)): closing hid it to a tray+ that wasn't there. Closing now hides to the tray only when a tray shows MDM's icon, and quits+ otherwise. (The menus and dark mode there: see #50 and #60.)+- **The first window opens seconds sooner, and no longer freezes on a busy computer**+ (part of [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): MDM asked+ fontconfig for its fonts one at a time (one program for each of some thirty scripts, more each+ time the language list opened) while the window waited, 2 s on an idle computer and long+ enough on a busy one for a freeze report on the very first start. It now asks once, all+ together, while the rest of MDM starts.+- **Open folder no longer freezes the window**+ ([#222](https://github.com/anefzaoui/misterdownloadmanager/issues/222)): Download complete's+ **Open folder** asks the desktop's file manager (over D-Bus) to show the file, and MDM waited+ for its answer on the window's own thread. A file manager slow to start, or one that never+ answered (seen on Pop!_OS), froze the window until the freeze report caught it. MDM now asks in+ the background and, when the file manager hasn't answered within 5 seconds, opens the folder+ instead. Every other program MDM starts from a window goes the same way, on every system: Test+ browser integration's **Set it up**, moving an extracted archive to the Trash (on a Mac the+ Finder may ask first), putting an update in place (**Installing the update...**, with Cancel+ greyed while it runs), opening pages and folders, reading the icon theme on Linux and, on a+ Mac, the accent colour (every 2 seconds with the Native theme) and the system's version for a+ bug report.+- **The window no longer freezes when the system's sleep or keychain service is slow**+ (follows [#222](https://github.com/anefzaoui/misterdownloadmanager/issues/222)): a queue set to+ **Wake the computer to run this queue** asks the system to keep the computer awake while it+ runs. On Linux that is logind, which can be slow to answer just after the computer wakes,+ exactly when such a queue starts, and MDM waited for it on the window's own thread (asking+ again every 5 seconds while it refused). It is now asked in the background, on every system;+ the queue's downloads, retries and log lines are the same. A keyring that doesn't answer at+ start (a stopped GNOME Keyring) is now waited for once, at most 5 seconds, instead of once per+ saved password, and saving the list no longer asks it at all. On Linux the check for a tray to+ hide windows in, and in Download File Info the check that **Save As** isn't a folder (slow on a+ network share that doesn't answer), no longer run on the window's thread on every frame.+- **The .deb and .rpm bring what MDM's window needs** (part of+ [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): on a system without+ libxkbcommon-x11 (a minimal install, a container), MDM installed from them stopped at start+ under X11 and XWayland, and without the CA certificates (Debian's minimal install) no download+ started. They now require both, and EGL for Wayland windows. They also require the glibc the+ programs were built against, read from the programs themselves, instead of a fixed version: a+ package built on a newer system no longer installs on an older one where it can't start.+- **A missing window library is named, with how to install it**+ ([#265](https://github.com/anefzaoui/misterdownloadmanager/issues/265)): from the tar.gz or the+ AppImage, on a system without libxkbcommon-x11 (or another library X11 windows need), MDM+ stopped at start with a crash. It now says which library is missing and the command that+ installs it (apt, dnf, zypper, pacman or apk, by the distribution), on the terminal and in a+ message box (zenity or kdialog, when there is one). In a Wayland session it opens its window+ on Wayland instead, saying so.+- **Plain HTTP downloads work on a system without CA certificates**+ ([#264](https://github.com/anefzaoui/misterdownloadmanager/issues/264)): on a minimal install+ without the `ca-certificates` package (the tar.gz, the AppImage or a source build), no download+ started, `http://` ones included ("No CA certificates were loaded from the system"). Plain HTTP+ and FTP now work there, and each HTTPS or FTPS download fails at once, without retrying, saying+ that the computer has no certificates to check the server with and to install+ `ca-certificates`.+- **Galleries work with the gallery-dl a Linux distribution ships**+ ([#236](https://github.com/anefzaoui/misterdownloadmanager/issues/236)): with Ubuntu 24.04's+ gallery-dl 1.26.9 chosen in Helpers, every gallery failed at once ("unrecognized arguments:+ --no-input"): MDM passed options that only newer releases know. MDM now reads the chosen+ gallery-dl's version and passes only what that release accepts, from 1.20 (Ubuntu 22.04) to+ today's; checked against every release from 1.17 to 1.32. An older one (Debian 11's 1.17) is+ refused when chosen, saying it is too old and which version MDM needs, and one chosen before is+ passed over for MDM's own copy, which Helpers says. gallery-dl 1.30.0, whose version starts+ with an empty line, is no longer taken for another program.+- **Update now asks the package manager which package MDM is**: a copy in /usr/bin was taken+ for the .deb on a Debian-like system and for the .rpm anywhere else, so a copy installed with+ another package manager (pacman on Arch) would have fetched and opened an .rpm. MDM now asks+ dpkg, rpm and pacman which one owns its program; the .deb and .rpm update as before, and a copy+ of another package manager is left to the system's updates: Check for updates shows the new+ version's notes and says to update it there.+- **Update now finds the Linux and macOS files by either name**: a release's AppImage, .deb,+ .rpm, .tar.gz and .dmg were named `…-experimental`; MDM now looks for the name without it+ first and still takes the older one, so Update now keeps working whichever a release uses.++#### Downloads++- **A minimized MDM keeps working**: with the main window minimized (not to the notification+ area), queues didn't start their next file, the Scheduler's starts and stops didn't fire,+ download limits, the network adapter's kill switch, the clipboard monitor, the update check, the+ taskbar's progress and saving the list all waited until the window was restored. They run in+ every window state now, and their windows (Download complete, a limit's notice) open at once.- **A download or magnet link sent while the window is minimized opens at once**([#162](https://github.com/anefzaoui/misterdownloadmanager/issues/162)): with the main windowminimized (not to the notification area), a download from the browser or a magnet link wasaccepted but its window waited until MDM was restored. Download File Info and Add torrent nowopen right away, as they do with the window open or in the notification area.-- **Linux: Ubuntu's Firefox reaches MDM** (part of [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)):- the Snap Firefox never makes the folder MDM looked for, so browser integration wasn't set up- for it and its extension couldn't find MDM. It is now, and the Snap goes through the desktop,- which asks once (**Allow**); the help says how to be asked again after **Don't allow**.- Chromium as a Snap ran MDM's helper inside its sandbox, away from MDM (it started a second,- sandboxed MDM): MDM no longer offers it, and the help says why.-- **Linux: the first window opens seconds sooner, and no longer freezes on a busy computer**- (part of [#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)): MDM asked- fontconfig for its fonts one at a time (one program for each of some thirty scripts, more each- time the language list opened) while the window waited, 2 s on an idle computer and long- enough on a busy one for a freeze report on the very first start. It now asks once, all- together, while the rest of MDM starts.+- MDM closed with an internal error when a window opened while the main window was minimized+ or hidden in the notification area, for example Download File Info for a download from the+ browser, or Add torrent for a magnet link opened in the browser+ ([#22](https://github.com/anefzaoui/misterdownloadmanager/issues/22),+ [#145](https://github.com/anefzaoui/misterdownloadmanager/issues/145)). The cause was in egui,+ the toolkit MDM is drawn with ([emilk/egui#8470](https://github.com/emilk/egui/issues/8470)),+ and is fixed in MDM's copy of it.+- **A finished download no longer fails with "part file still in use" on a busy computer**+ ([#201](https://github.com/anefzaoui/misterdownloadmanager/issues/201)): when the last bytes+ came in, the connections still running were cut off. One cut off while it read or wrote the+ part file (checking the bytes before a reconnect, for example) left that read or write to finish+ on its own, with the file still open, and renaming the finished file failed. The connections are+ now told to stop and waited for, when a download completes and when it is stopped or fails, so+ none of them outlives it. A stopped download's last writes are also in its saved progress now.+- **A download's progress file could be written again just after it stopped**+ ([#106](https://github.com/anefzaoui/misterdownloadmanager/issues/106)), and **a download could+ fail as it finished, with "part file still in use"**+ ([#116](https://github.com/anefzaoui/misterdownloadmanager/issues/116)). MDM saves a+ download's progress every few seconds, in a file beside it. A download paused or finished+ during one of those saves could stop before the save was done; that save then wrote an old+ progress file a moment later, or, when the last bytes arrived during it, still held the file. A+ download now stops only once its save is done.+- **A download too big for the drive is refused on a busy computer too**+ ([#224](https://github.com/anefzaoui/misterdownloadmanager/issues/224)): before a download+ starts, MDM checks the drive has room for it. It gave up checking after 5 seconds (a network+ drive that no longer answers can hang), counted from when it asked; on a very busy computer+ the check could wait longer than that just to start, and a download too big for its drive+ started anyway. The 5 seconds now count from when the check runs, and it asks only the+ folder's own drive instead of listing every drive, which takes well under a millisecond. A+ shared network folder (`\\server\share`) is checked too, which it wasn't before, and a+ folder that doesn't exist yet is checked on the drive it will be made on.- **A server without ranges no longer sends the file twice**([#136](https://github.com/anefzaoui/misterdownloadmanager/issues/136)): when the extraconnections' answers came late (a busy computer), the download could finish and then start overon one connection, fetching the whole file again. MDM now stops its other connections once everybyte is in, and a server that never said it takes ranges is known for one at its first fullanswer (a CDN that says it does and misses a range now and then still gets several connections).-- **Screen readers reach every row of a list, not only those in view**- ([#111](https://github.com/anefzaoui/misterdownloadmanager/issues/111)): a list's rows out of- view (the last qualities of Download video, a long playlist, the downloads) are there too,- named, with their place ("12 of 40"), and can be scrolled into view or selected. A list of- thousands offers 300 rows around the view, so it stays as fast.-- **Less memory in the notification area, also after Minimize**- ([#72](https://github.com/anefzaoui/misterdownloadmanager/issues/72)): a window minimized to the- notification area (on by default) now gives its memory back too, as a closed one did; and both- give it back again 2 minutes after hiding, when the clock's ticks and a one-time allocation- have brought some back (then every 10 minutes, as before).-- **Screen readers see a window's contents the first time they read it**- ([#131](https://github.com/anefzaoui/misterdownloadmanager/issues/131)): a window read for the- first time (Link grabber, Options, About...) showed only its title bar until it was drawn- again. It now answers with what it shows at once, as soon as a screen reader is running.-- **A magnet link could wait minutes for its file list** ([#92](https://github.com/anefzaoui/misterdownloadmanager/issues/92)):- in 0.2.4 on Windows, the DHT (how MDM finds peers without trackers) could stop for the rest- of the session once a computer it asked was gone, so a magnet its trackers didn't serve never- got its file list. The updated torrent library keeps going, and a test keeps it that way.- **Add torrent** now shows the wait: the peers found, from the trackers, the DHT or the local- network, and how many answered. After 30 seconds without an answer, it says what may be in- the way.-- **Numbers are written the interface language's way** ([#128](https://github.com/anefzaoui/misterdownloadmanager/issues/128)):- counts, sizes, speeds, percentages and the list's columns group and point their digits as the- chosen language does (German `10.200` and `1,50 MB`, French `10 200`, Hindi `1,00,000`),- whatever the Windows region; a region in the same language keeps its own way (Swiss German- `10’200`). English is unchanged.-- **A finished torrent's progress window lost its tabs while it was still shared**: Files, Peers,- Trackers, Pieces and General (with the share ratio) said "Shown while the torrent is- downloading." They now stay for as long as the torrent is shared.-- **"Hide tab" was cut in longer languages** (German "Registerkarte au..."): the button grows to- fit its label where there is room, through a shared helper other buttons can use.-- **Screen readers can reach the Categories pane and the menus** ([#113](https://github.com/anefzaoui/misterdownloadmanager/issues/113)):- the pane reads as a tree (each category named with its count, open or shut, selected), the menu- bar and every right-click menu as menus whose items can be run, and **Shift+F10** or the- **Menu** key opens the selected category's menu. A menu opened from the keyboard no longer stays- invisible until the mouse moves.-- **A download's progress file could be written again just after it stopped**- ([#106](https://github.com/anefzaoui/misterdownloadmanager/issues/106)). MDM saves a- download's progress every few seconds, in a file beside it. A download paused or finished- during one of those saves could stop before the save was done. That save then wrote an old- progress file a moment later. A download now stops only once its save is done.-- **A download could fail as it finished, with "part file still in use"**- ([#116](https://github.com/anefzaoui/misterdownloadmanager/issues/116)). It happened when the- last bytes arrived during a progress save, which still held the file. It has the same cause- and fix as the one above.-- **A video download could fail in MDM while yt-dlp went on and finished it**- ([#79](https://github.com/anefzaoui/misterdownloadmanager/issues/79)). A line yt-dlp printed in- the system's code page rather than UTF-8 (a title in Turkish or Russian on some Windows) ended- MDM's reading there, and the finished file was then "not said". yt-dlp now always writes- UTF-8, every line is read to the end, and the saved file is also found by its name. Whenever- MDM gives a video download up, it ends yt-dlp and everything yt-dlp started, so nothing goes- on downloading unseen.-- **YouTube: "Requested format is not available" after MDM moved a video to another server**- ([#94](https://github.com/anefzaoui/misterdownloadmanager/issues/94)). When the servers this- computer can reach don't serve the chosen quality, MDM downloads the nearest quality below it- (always a video, never the sound alone) and says so in the download's log. With no video left- at all, it tries the page's own servers. A server yt-dlp couldn't resolve or reach is avoided on- the next look-up. The log also names the qualities a move left out.-- **Lists read as blank items to screen readers** ([#95](https://github.com/anefzaoui/misterdownloadmanager/issues/95)):- the rows of Download video's qualities, Add torrent's files, the language picker, Options- (browsers, sounds, the file-type and site lists), the Scheduler and Import now have their names- (a format and its size, a file's name and size), their check boxes theirs, ticked or not, and- their selected row; Download video's list is called Quality, Add torrent's Files and the- sounds' Sounds. Choosing a row from a screen reader (UI Automation's Select) now shows the new- choice at once: it used to wait for the next mouse move.-- **List rows sit inside their list for screen readers** ([#102](https://github.com/anefzaoui/misterdownloadmanager/issues/102)):- they used to be listed beside it. A screen reader now says which row of how many ("4 of 12"),- choosing from the list itself works (UI Automation's Selection), and a tree's check box belongs- to its file's row. The language picker's list and the Options browser list and the Scheduler's- two lists have names now too.-- **Torrents: speed limits now work as they do for other downloads**- ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)): a limit set in a- torrent's progress window changed every torrent's limit, a remembered limit was ignored, the- Speed Limiter's "for one file" was shared by all torrents together, and "Limit all downloads- together" left torrents out. Each torrent now has a limit of its own, a remembered one applies- again when it resumes, and torrents and other downloads share the global cap evenly: each- side gets at least half of it, and the rest when the other side needs less. A limit under- 16 KB/s, which made a torrent drop its peers and stall, gives it 16 KB/s. A- torrent started again while its files were still being checked no longer stays paused, and- of two torrents started at the same moment, the second no longer fails with "the torrent is- no longer there".- **Stopping a download under a low speed limit took seconds**: each connection first waitedfor its turn under the limit. Stop now ends those waits at once.-- **Screen readers: the progress window's Speed Limiter** took a speed set with a screen reader- or UI Automation only after the focus moved on, and its "Remember Speed Limiter settings for- this file" check box had no name. A speed set that way applies at once, and the box is named.-- **The browser extension's Download video menu: an item's highlight ran past the menu's- edge** ([#81](https://github.com/anefzaoui/misterdownloadmanager/issues/81)).-- **A long file name ran out of the progress window** ([#62](https://github.com/anefzaoui/misterdownloadmanager/issues/62)):- on the **Options on completion** tab, a longer translation of "Save To:" (Turkish, German…)- ran into the path, and the path ran past the window's edge. The label now takes the room its- language needs, and the path is shortened in the middle, keeping the file's name in sight,- and shown whole on hover; right-to-left languages included.-- **Download complete's Open with... stayed in English** in every other language- ([#80](https://github.com/anefzaoui/misterdownloadmanager/issues/80)). The tool that collects- MDM's texts for translation now also finds labels given through a window's own helpers, and- checks in CI that it keeps finding them.-- **Download complete shows above other programs' windows**, as IDM's does, so the end of a- download isn't missed ([#77](https://github.com/anefzaoui/misterdownloadmanager/issues/77)):- it doesn't take the keyboard from the program being typed in, and once clicked it is a window- like any other.-- **Options opened from the extension's Button settings... comes to the front**- ([#77](https://github.com/anefzaoui/misterdownloadmanager/issues/77)), instead of opening behind- the browser on Windows.-- **Dragging the file out of Download complete works in every language**- ([#78](https://github.com/anefzaoui/misterdownloadmanager/issues/78)): the handle looked for the- English window title, so outside English the drag did nothing. The handle now says what it does- on hover. It is Windows only, and no longer shown on Linux and macOS, where it did nothing.-- **A Google Drive link saved Drive's web page** (a file named `view` or `download`) instead of- the file ([#34](https://github.com/anefzaoui/misterdownloadmanager/issues/34)).-- **Download File Info's errors are worded in the interface language**, as the list's are.-- **Resuming after a waiting page**: when a download's address had to be asked again (an expired- link), MDM now goes through the same waiting pages and redirects as the first time, instead- of giving up on them.-- **Linux: the window couldn't be closed** on desktops without a tray, such as MangoWC- ([#59](https://github.com/anefzaoui/misterdownloadmanager/issues/59)): closing hid it to a tray- that wasn't there. Closing now hides to the tray only when a tray shows MDM's icon, and quits- otherwise. (The menus and dark mode there: see #50 and #60.)-- **Stopping a video download left yt-dlp downloading in the background** on Windows- ([#61](https://github.com/anefzaoui/misterdownloadmanager/issues/61)): `yt-dlp.exe` starts a- second process that does the work, and only the first was ended. Resuming then failed ("yt-dlp- did not provide information") and a new try crawled, sharing the line with the old one. Each- helper now runs in a job of its own that Stop ends whole.-- **Linux: menus opened in the middle of the screen** in a Wayland session- ([#50](https://github.com/anefzaoui/misterdownloadmanager/issues/50)): Wayland lets no program- place its windows, and MDM's menus and drop-down lists are windows it places. MDM now runs- through XWayland when it is there (`MDM_WAYLAND=1` keeps Wayland).-- **ffmpeg could fail to install** with "the release has no an LGPL Windows build": BtbN, whose- builds MDM installs, publishes a dated build each day and then remakes its `latest` release,- and meanwhile GitHub's "latest" is the dated one, whose files are named differently. MDM now- reads BtbN's newest releases, either naming, and takes the newest complete build. Errors while- installing yt-dlp or ffmpeg are also worded in the interface language now.- **Links that work only once** (or hosts that allow one download at a time) failed with "403Forbidden" after Download File Info had looked them up([#28](https://github.com/anefzaoui/misterdownloadmanager/issues/28)): the window's look and the@@ -1000,18 +919,21 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see(no name from the browser, no answer to the look-up, not edited), it gets the name the servergives, as in a browser: `Call-of-Duty-Infinite-Warfare-AnkerGames.zip` rather than theaddress's token.-- Bangla shows Bangladesh's flag instead of India's, in the language picker, on the website and- in the README ([#27](https://github.com/anefzaoui/misterdownloadmanager/issues/27)).-- MDM closed with an internal error when a window opened while the main window was minimized- or hidden in the notification area, for example Download File Info for a download from the- browser, or Add torrent for a magnet link opened in the browser- ([#22](https://github.com/anefzaoui/misterdownloadmanager/issues/22),- [#145](https://github.com/anefzaoui/misterdownloadmanager/issues/145)). The cause was in egui,- the toolkit MDM is drawn with ([emilk/egui#8470](https://github.com/emilk/egui/issues/8470)),- and is fixed in MDM's copy of it.-- **View → Dark Mode support** did nothing on Linux: MDM asked the window system for the- desktop's light or dark setting, and X11 never says. It now asks the desktop itself (the- freedesktop portal, which KDE, GNOME and most others answer) and follows it as it changes.+- **Resuming after a waiting page**: when a download's address had to be asked again (an expired+ link), MDM now goes through the same waiting pages and redirects as the first time, instead+ of giving up on them.+- **A Google Drive link saved Drive's web page** (a file named `view` or `download`) instead of+ the file ([#34](https://github.com/anefzaoui/misterdownloadmanager/issues/34)).+- File names can no longer hide a right-to-left mark (`invoicefdp.exe`), and a server's+ Unicode `filename*` name wins over its plain fallback.+- **A freeze while MDM handles a command is reported again**+ ([#202](https://github.com/anefzaoui/misterdownloadmanager/issues/202)): since the clock and+ what comes in from outside (a second launch, the browser, the automation API) run in every+ window state, a freeze there opened no crash report window and wrote no freeze report, minimized+ or not. The watchdog now times that part of each frame too.++#### The browser+- A second browser download arriving while Download File Info was open replaced the first, whichwas lost (the browser had already given it up). They now wait their turn, and those stillwaiting when MDM quits are kept in the main queue (Download Later).@@ -1020,12 +942,133 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, seeseconds; MDM only starts now when it isn't running, and takes what the browser sends.- MDM listens for the browser before its window is up, and the browser's helper waits 20 secondsfor a slow first start instead of 5.-- File names can no longer hide a right-to-left mark (`invoicefdp.exe`), and a server's- Unicode `filename*` name wins over its plain fallback.- Browser downloads are no longer taken when the extension may not read the site (its access setto **On click**): without the site's cookies they would fail.- The extension's right-click menu, and its translation, are set up again cleanly after anupdate.+- **The browser extension's Download video menu: an item's highlight ran past the menu's+ edge** ([#81](https://github.com/anefzaoui/misterdownloadmanager/issues/81)).++#### Videos++- **HLS and DASH videos from the browser, as their stream**+ ([#155](https://github.com/anefzaoui/misterdownloadmanager/issues/155)): a video played as a+ stream (most sites' long videos) failed with yt-dlp's "Unsupported URL" when the extension sent+ the page instead of the stream. **Download with Mister Download Manager** in the right-click+ menu on such a video now sends the stream its player loaded, as the button over videos and+ **Media on this page** do. In Firefox it did nothing at all. The cookies sent are those of the+ stream's own server, not the page's.+- **Streams served as plain text, from addresses without .m3u8 or .mpd**+ ([#171](https://github.com/anefzaoui/misterdownloadmanager/issues/171)): some players load+ their stream from such an address, and the extension didn't know it as one. The button over the+ video, the right-click menu and **Media on this page** then sent the page alone, which yt-dlp+ answered "Unsupported URL". Now, when one of them is used and no stream is known, the extension+ reads the start of what the player fetched (a few kilobytes, never on sight) and recognises an+ HLS playlist or a DASH manifest.+- **Videos that need a sign-in** ([#229](https://github.com/anefzaoui/misterdownloadmanager/issues/229)):+ - **from the button over them**: the button's cookies reached the Download video window's+ look-up but not the download's own, which then failed with "Sign in to confirm you're not a+ bot";+ - **from YouTube Music and YouTube's mobile site**: the button over a video on+ music.youtube.com or m.youtube.com passed the page's cookies for that host only, while yt-dlp+ asks www.youtube.com, so the sign-in didn't reach it. The extension now sends each cookie with+ the domain the browser keeps it for, and MDM gives yt-dlp each one for that domain:+ youtube.com's sign-in reaches every YouTube host, and a host's own cookie stays with that+ host. With an older extension, a YouTube page's cookies (or a site's mobile page's, m. and+ mobile.) go to the whole site.+- **A video download could fail in MDM while yt-dlp went on and finished it**+ ([#79](https://github.com/anefzaoui/misterdownloadmanager/issues/79)). A line yt-dlp printed in+ the system's code page rather than UTF-8 (a title in Turkish or Russian on some Windows) ended+ MDM's reading there, and the finished file was then "not said". yt-dlp now always writes+ UTF-8, every line is read to the end, and the saved file is also found by its name. Whenever+ MDM gives a video download up, it ends yt-dlp and everything yt-dlp started, so nothing goes+ on downloading unseen.+- **Stopping a video download left yt-dlp downloading in the background** on Windows+ ([#61](https://github.com/anefzaoui/misterdownloadmanager/issues/61)): `yt-dlp.exe` starts a+ second process that does the work, and only the first was ended. Resuming then failed ("yt-dlp+ did not provide information") and a new try crawled, sharing the line with the old one. Each+ helper now runs in a job of its own that Stop ends whole.+- **YouTube: "Requested format is not available" after MDM moved a video to another server**+ ([#94](https://github.com/anefzaoui/misterdownloadmanager/issues/94)). When the servers this+ computer can reach don't serve the chosen quality, MDM downloads the nearest quality below it+ (always a video, never the sound alone) and says so in the download's log. With no video left+ at all, it tries the page's own servers. A server yt-dlp couldn't resolve or reach is avoided on+ the next look-up. The log also names the qualities a move left out.+- **ffmpeg could fail to install** with "the release has no an LGPL Windows build": BtbN, whose+ builds MDM installs, publishes a dated build each day and then remakes its `latest` release,+ and meanwhile GitHub's "latest" is the dated one, whose files are named differently. MDM now+ reads BtbN's newest releases, either naming, and takes the newest complete build. Errors while+ installing yt-dlp or ffmpeg are also worded in the interface language now.++#### Torrents++- **A magnet link could wait minutes for its file list** ([#92](https://github.com/anefzaoui/misterdownloadmanager/issues/92)):+ in 0.2.4 on Windows, the DHT (how MDM finds peers without trackers) could stop for the rest+ of the session once a computer it asked was gone, so a magnet its trackers didn't serve never+ got its file list. The updated torrent library keeps going, and a test keeps it that way.+ **Add torrent** now shows the wait: the peers found, from the trackers, the DHT or the local+ network, and how many answered. After 30 seconds without an answer, it says what may be in+ the way.+- **Speed limits now work as they do for other downloads**+ ([#39](https://github.com/anefzaoui/misterdownloadmanager/issues/39)): a limit set in a+ torrent's progress window changed every torrent's limit, a remembered limit was ignored, the+ Speed Limiter's "for one file" was shared by all torrents together, and "Limit all downloads+ together" left torrents out. Each torrent now has a limit of its own, a remembered one applies+ again when it resumes, and torrents and other downloads share the global cap evenly: each+ side gets at least half of it, and the rest when the other side needs less. A limit under+ 16 KB/s, which made a torrent drop its peers and stall, gives it 16 KB/s. A torrent started+ again while its files were still being checked no longer stays paused, and of two torrents+ started at the same moment, the second no longer fails with "the torrent is no longer there".+- **A finished torrent's progress window lost its tabs while it was still shared**: Files, Peers,+ Trackers, Pieces and General (with the share ratio) said "Shown while the torrent is+ downloading." They now stay for as long as the torrent is shared.++#### Screen readers++- **Every row of a list, not only those in view**+ ([#111](https://github.com/anefzaoui/misterdownloadmanager/issues/111)): a list's rows out of+ view (the last qualities of Download video, a long playlist, the downloads) are there too,+ named, with their place ("12 of 40"), and can be scrolled into view or selected. A list of+ thousands offers 300 rows around the view, so it stays as fast.+- **Lists read as blank items** ([#95](https://github.com/anefzaoui/misterdownloadmanager/issues/95)):+ the rows of Download video's qualities, Add torrent's files, the language picker, Options+ (browsers, sounds, the file-type and site lists), the Scheduler and Import now have their names+ (a format and its size, a file's name and size), their check boxes theirs, ticked or not, and+ their selected row; Download video's list is called Quality, Add torrent's Files and the+ sounds' Sounds. Choosing a row from a screen reader (UI Automation's Select) now shows the new+ choice at once: it used to wait for the next mouse move.+- **List rows sit inside their list** ([#102](https://github.com/anefzaoui/misterdownloadmanager/issues/102)):+ they used to be listed beside it. A screen reader now says which row of how many ("4 of 12"),+ choosing from the list itself works (UI Automation's Selection), and a tree's check box belongs+ to its file's row. The language picker's list and the Options browser list and the Scheduler's+ two lists have names now too.+- **The Categories pane and the menus** ([#113](https://github.com/anefzaoui/misterdownloadmanager/issues/113)):+ the pane reads as a tree (each category named with its count, open or shut, selected), the menu+ bar and every right-click menu as menus whose items can be run, and **Shift+F10** or the+ **Menu** key opens the selected category's menu. A menu opened from the keyboard no longer stays+ invisible until the mouse moves.+- **A window's contents the first time they read it**+ ([#131](https://github.com/anefzaoui/misterdownloadmanager/issues/131)): a window read for the+ first time (Link grabber, Options, About...) showed only its title bar until it was drawn+ again. It now answers with what it shows at once, as soon as a screen reader is running.+- **The progress window's Speed Limiter** took a speed set with a screen reader or UI Automation+ only after the focus moved on, and its "Remember Speed Limiter settings for this file" check box+ had no name. A speed set that way applies at once, and the box is named.++### Security++- **Torrents: file names are checked more strictly** ([#40](https://github.com/anefzaoui/misterdownloadmanager/issues/40)):+ a torrent with names the system can't write safely is refused, saying which name, and so are+ torrents kept from an earlier run.+- The torrent library is updated (librqbit 9.1.0).+- **No silent overwrite**: when some of a torrent's files are already in the folder, MDM asks+ before writing into them (**No** is the default). The command line's `torrent-get` stops and+ names them, unless given `--use-existing`.+- **Files from torrents are marked as downloaded from the internet**, as web downloads are:+ SmartScreen checks a program before it first runs, Office opens documents in Protected View,+ and Gatekeeper checks apps on a Mac.+- Torrents' trackers on this computer or the local network aren't contacted, and a `.torrent`+ file over 10 MB isn't read (it isn't one). Peers see MDM's major version only.## [0.2.4] - 2026-11-01diff --git a/PRODUCT.md b/PRODUCT.mdindex 2f4c53f0..a1e5dd6e 100644--- a/PRODUCT.md+++ b/PRODUCT.md@@ -13,12 +13,13 @@ The website's primary visitor is a Windows user who uses, or used, Internet Downthat works the same way. Many are not technical. Many arrive by searching "IDM alternative" intheir own language: the site is published in 21 languages, Arabic and Persian right to left.-Secondary visitors: Mac and Linux users (experimental builds), people reading the help pages+Secondary visitors: Linux users (supported, tested on GNOME, KDE Plasma, Xfce and Cinnamon), Mac+users (experimental builds), people reading the help pageswhile using the app, and contributors (code, translations, bug reports) arriving from GitHub.## Product Purpose-Mister Download Manager (MDM) is a free, open-source (GPL-3.0) download manager for Windows,+Mister Download Manager (MDM) is a free, open-source (GPL-3.0) download manager for Windows and Linux,laid out the way IDM users expect: same windows, menus and workflow, rebuilt from scratch inRust. The website's job is to get the right visitor to download it with confidence, then tohelp them use it (help pages, FAQ, tutorials).@@ -39,8 +40,8 @@ maker (Tonec), or as a crack or copy of it.## Operating Context- Visitors compare against IDM, often with IDM installed or remembered.-- Download is from GitHub Releases: a Windows installer, a portable zip, a plain zip; macOS and- Linux builds marked experimental. The browser extension ships for Chrome, Edge, Brave, Opera,+- Download is from GitHub Releases: a Windows installer, a portable zip, a plain zip; Linux+ packages (.deb, .rpm, AppImage, tar.gz); macOS builds marked experimental. The browser extension ships for Chrome, Edge, Brave, Opera,Vivaldi and Firefox.- Help pages are read alongside the running app, often to find a menu or setting.- Contact and support happen on GitHub only (issues, discussions); there is no email or form.@@ -74,7 +75,7 @@ maker (Tonec), or as a crack or copy of it.2. Prove, don't claim: every speed statement points to the benchmark; every image is the real app.3. Free means free: no dark patterns, no upsell, no data collection beyond the visit counter.4. Every language is first-class: no page reads as a translation of an English layout.-5. Honest about limits: experimental builds, missing features and IDM's own strengths are stated+5. Honest about limits: experimental builds (macOS), what Linux lacks yet, missing features and IDM's own strengths are statedplainly.## Accessibility & Inclusiondiff --git a/README.md b/README.mdindex 747e208a..1ea4f85e 100644--- a/README.md+++ b/README.md@@ -28,7 +28,7 @@</p><p align="center">- Windows 10 and 11 · macOS (Apple Silicon and Intel) · Linux (Ubuntu, Debian, Mint, Fedora, openSUSE, Arch and more)<br>+ Windows 10 and 11 · Linux (Ubuntu, Debian, Mint, Fedora, openSUSE, Arch and more) · macOS (Apple Silicon and Intel, experimental)<br>86 languages · no ads, no trial, no sign-up</p>@@ -43,8 +43,8 @@<p align="center"><picture>- <source media="(prefers-color-scheme: dark)" srcset="docs/images/main-dark.png">- <img src="docs/images/main-light.png" alt="Mister Download Manager's main window: categories, toolbar and a list of downloads" width="920">+ <source media="(prefers-color-scheme: dark)" srcset="docs/images/main-dark.webp">+ <img src="docs/images/main-light.webp" alt="Mister Download Manager's main window: categories, toolbar and a list of downloads" width="920"></picture></p>@@ -55,6 +55,7 @@<a href="https://github.com/anefzaoui/misterdownloadmanager/stargazers"><img src="https://img.shields.io/github/stars/anefzaoui/misterdownloadmanager?logo=github" alt="GitHub stars"></a><a href="https://addons.mozilla.org/firefox/addon/mister-download-manager/"><img src="https://img.shields.io/amo/v/mister-download-manager?logo=firefoxbrowser&label=Firefox%20add-on" alt="Firefox add-on"></a><a href="https://chromewebstore.google.com/detail/mister-download-manager/ejoleppdfgjdndddcjoehopknmlglojp"><img src="https://img.shields.io/chrome-web-store/v/ejoleppdfgjdndddcjoehopknmlglojp?logo=googlechrome&label=Chrome%20Web%20Store" alt="Chrome Web Store"></a>+ <a href="https://github.com/sponsors/anefzaoui"><img src="https://img.shields.io/github/sponsors/anefzaoui?logo=githubsponsors&label=Sponsors" alt="GitHub Sponsors"></a><a href="LICENSE"><img src="https://img.shields.io/github/license/anefzaoui/misterdownloadmanager" alt="GPL-3.0 license"></a></p>@@ -110,21 +111,39 @@ one:> Windows may say *"Windows protected your PC"* the first time, because this early version isn't> code-signed yet. Click **More info**, then **Run anyway**.-### On a Mac or Linux? Be the first to try it+### On Linux-Fresh builds for **macOS** (Apple Silicon and Intel) and **Linux** are on the same download page,-marked `-experimental`: they're brand new and we haven't tried them ourselves yet. Give them a go-and [tell us how it went](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose); you'll-help make them as solid as the Windows version.+MDM runs on Linux too, tested on Ubuntu 24.04, Debian 12 and Fedora with GNOME, KDE Plasma, Xfce+and Cinnamon, on X11 and in Wayland sessions: the tray, dark mode, browser integration (Ubuntu's+Snap Firefox included) and the packages' installs. Not there yet: screen readers (Orca) don't+read its windows, and Flatpak browsers can't reach it. The files still carry `-experimental` in+their names ([more](docs/getting-started.md#on-linux)).++| File | For |+| --- | --- |+| `...-linux-x86_64-experimental.deb` | Ubuntu, Debian, Mint, Pop!_OS: `sudo apt install ./<file>.deb`. |+| `...-linux-x86_64-experimental.rpm` | Fedora, openSUSE, RHEL: `sudo dnf install ./<file>.rpm`. |+| `...-linux-x86_64-experimental.AppImage` | Any Linux. Make it executable and run it. |+| `...-linux-x86_64-experimental.tar.gz` | The plain programs, for any distribution. |++<p align="center">+ <picture>+ <source media="(prefers-color-scheme: dark)" srcset="docs/images/main-linux-dark.webp">+ <img src="docs/images/main-linux.webp" alt="Mister Download Manager's main window on Ubuntu's GNOME desktop" width="620">+ </picture>+</p>++### On a Mac? Be the first to try it++Fresh builds for **macOS** (Apple Silicon and Intel) are on the same download page, marked+`-experimental`: we haven't tried them on a Mac ourselves yet. Give them a go and+[tell us how it went](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose); you'll+help make them as solid as the Windows and Linux versions.| File | For || --- | --- || `...-macos-arm64-experimental.dmg` | Mac with Apple Silicon (M1 or later). Open it and drag MDM to Applications. The first time, right-click the app and choose **Open**. || `...-macos-x86_64-experimental.dmg` | Mac with an Intel processor, the same way. |-| `...-linux-x86_64-experimental.AppImage` | Any Linux. Make it executable and run it. |-| `...-linux-x86_64-experimental.deb` | Ubuntu, Debian, Mint, Pop!_OS. |-| `...-linux-x86_64-experimental.rpm` | Fedora, openSUSE, RHEL. |-| `...-linux-x86_64-experimental.tar.gz` | The plain programs, for any distro. |## 🌍 In your language@@ -227,28 +246,28 @@ right-to-left window.<table><tr>- <td width="50%"><img src="docs/images/video-button-youtube.png" alt="The Download video button over a YouTube video in Chrome"><br><sub><b>One click on YouTube</b>: the Download video button appears over the video.</sub></td>- <td width="50%"><img src="docs/images/video-button-page.png" alt="The Download video button over a video file playing in Chrome"><br><sub><b>Any video on any page</b>: drag the button where you like, it stays there.</sub></td>+ <td width="50%"><img src="docs/images/video-button-youtube.webp" alt="The Download video button over a YouTube video in Chrome"><br><sub><b>One click on YouTube</b>: the Download video button appears over the video.</sub></td>+ <td width="50%"><img src="docs/images/video-button-page.webp" alt="The Download video button over a video file playing in Chrome"><br><sub><b>Any video on any page</b>: drag the button where you like, it stays there.</sub></td></tr><tr>- <td width="50%"><img src="docs/images/progress.png" alt="Progress window"><br><sub><b>Watch it fly</b>: every connection's share of the file, live speed and time left.</sub></td>- <td width="50%"><img src="docs/images/main-dark.png" alt="Dark mode"><br><sub><b>Dark mode</b> that follows Windows.</sub></td>+ <td width="50%"><img src="docs/images/progress.webp" alt="Progress window"><br><sub><b>Watch it fly</b>: every connection's share of the file, live speed and time left.</sub></td>+ <td width="50%"><img src="docs/images/main-dark.webp" alt="Dark mode"><br><sub><b>Dark mode</b> that follows Windows.</sub></td></tr><tr>- <td><img src="docs/images/add-url.png" alt="Add URL"><br><sub><b>Add a download</b>: paste a link, or let MDM catch it from your browser.</sub></td>- <td><img src="docs/images/add-torrent.png" alt="Add torrent"><br><sub><b>Torrents and magnet links</b>: pick the files you want, skip the rest.</sub></td>+ <td><img src="docs/images/add-url.webp" alt="Add URL"><br><sub><b>Add a download</b>: paste a link, or let MDM catch it from your browser.</sub></td>+ <td><img src="docs/images/add-torrent.webp" alt="Add torrent"><br><sub><b>Torrents and magnet links</b>: pick the files you want, skip the rest.</sub></td></tr><tr>- <td><img src="docs/images/progress-torrent.png" alt="A torrent's progress window"><br><sub><b>A torrent's progress</b>: its files, peers, trackers and pieces, in tabs.</sub></td>- <td><img src="docs/images/progress-video.png" alt="A video's progress window"><br><sub><b>A video's progress</b>: speed and time left while yt-dlp brings it in.</sub></td>+ <td><img src="docs/images/progress-torrent.webp" alt="A torrent's progress window"><br><sub><b>A torrent's progress</b>: its files, peers, trackers and pieces, in tabs.</sub></td>+ <td><img src="docs/images/progress-video.webp" alt="A video's progress window"><br><sub><b>A video's progress</b>: speed and time left while yt-dlp brings it in.</sub></td></tr><tr>- <td><img src="docs/images/language-picker.png" alt="Language picker"><br><sub><b>86 languages</b>, chosen by flag on the first start.</sub></td>- <td><img src="docs/images/arabic-main.png" alt="Arabic interface"><br><sub><b>Right to left</b> for Arabic, Hebrew, Persian, Urdu and Uyghur.</sub></td>+ <td><img src="docs/images/language-picker.webp" alt="Language picker"><br><sub><b>86 languages</b>, chosen by flag on the first start.</sub></td>+ <td><img src="docs/images/arabic-main.webp" alt="Arabic interface"><br><sub><b>Right to left</b> for Arabic, Hebrew, Persian, Urdu and Uyghur.</sub></td></tr><tr>- <td><img src="docs/images/scheduler.png" alt="Scheduler"><br><sub><b>Download overnight</b>: queues that start and stop on their own.</sub></td>- <td><img src="docs/images/options-connection.png" alt="Options"><br><sub><b>Options</b> where you expect them, every control working.</sub></td>+ <td><img src="docs/images/scheduler.webp" alt="Scheduler"><br><sub><b>Download overnight</b>: queues that start and stop on their own.</sub></td>+ <td><img src="docs/images/options-connection.webp" alt="Options"><br><sub><b>Options</b> where you expect them, every control working.</sub></td></tr></table>@@ -257,14 +276,27 @@ right-to-left window.- **Speeds up every download** by fetching parts of the file at the same time, and keepsre-balancing until the last byte.- **Resumes** after a crash, a restart or a dropped connection, without starting over.-- **Catches downloads from Firefox, Chrome, Edge and Brave**, and gives them back to- the browser when MDM isn't running.-- **Downloads videos** from web pages (a button appears over the video), and **torrents and magnet links**.-- **Downloads overnight** with queues and a scheduler, then shuts the computer down if you like.+- **Catches downloads from Firefox, Chrome, Edge, Brave, Opera and Vivaldi** (the extension is+ on Firefox Add-ons and the Chrome Web Store), and gives them back to the browser when MDM isn't+ running.+- **Downloads videos** from web pages (a button appears over the video; playlists, subtitles,+ the sound alone), **image galleries** with gallery-dl, and **torrents and magnet links**+ (sequential order, RSS feeds, sharing limits).+- **Many links at once**: the Link grabber sorts them into packages and extracts the archives+ (zip, 7z, rar) when they're in. Debrid accounts (Real-Debrid, AllDebrid, Premiumize; experimental) download+ file-host links through your own account.+- **Downloads overnight** with queues and a scheduler that can wake the computer, then shuts it+ down if you like.+- **Through your VPN only**, if you want: hold every download to one network adapter, with a kill+ switch, and choose an encrypted DNS. Each download shows its server's country.+- **From your phone, or on a server**: control MDM from a phone on your home network, or run it+ without a window on a NAS (Docker, Unraid) ([how](docs/server.md)).- **Works from scripts too**: IDM's command-line switches, a command-line tool, and a local API for other programs ([how](docs/command-line.md)).- **Works with your AI assistant**: an MCP server lets Claude, Cursor or VS Code list, add, pause and remove your downloads ([set it up](docs/ai-assistants.md)).- **Leaves you some speed**: limit one download or all of them, only while you're at the computer.-- **Day and dark mode**, 86 languages, and a portable version for USB sticks.+- **Day and dark mode, and themes**: Classic, Native, High contrast, Metro, Adwaita, Breeze,+ Luna, Aero and Aqua, or your own in a text file ([how](docs/themes.md)). Everything larger, up+ to 200 %, with **View → Interface size**. 86 languages, and a portable version for USB sticks.- **Works from the keyboard and with screen readers** (Narrator, NVDA): every window, dialog andmenu ([the keys](docs/keyboard-shortcuts.md)).- **No ads, no trial, no account**. Free and open source.@@ -352,12 +384,17 @@ pieces fit.| Crate | What it is ||---|---|| [`mdm-engine`](crates/engine) | The download engine: segmentation, connections, resume, limits |-| [`mdm-app`](crates/app) | The Windows app (egui) |+| [`mdm-app`](crates/app) | The desktop app (egui), and `--headless` for servers || [`mdm-cli`](crates/cli) | Headless downloads from the command line || [`mdm-mcp`](crates/mcp) | The MCP server, for AI assistants || [`mdm-nmhost`](crates/nmhost) | The browser's native messaging host |-| [`mdm-ipc`](crates/ipc) | Talking to a running app; shared capture rules |-| [`mdm-tools`](crates/tools) | yt-dlp and ffmpeg for video pages |+| [`mdm-ipc`](crates/ipc) | Talking to a running app; shared capture rules; the extension's IDs |+| [`mdm-remote`](crates/remote) | The remote control: the HTTPS server and page a paired phone uses |+| [`mdm-crash`](crates/crash) | Crash and freeze reports: the monitor, minidumps, stacks |+| [`mdm-debrid`](crates/debrid) | Debrid accounts through the services' official APIs |+| [`mdm-extract`](crates/extract) | Archive extraction (zip, tar, gz, xz; 7z and RAR through 7-Zip) |+| [`mdm-geo`](crates/geo) | A server's country, from an IP table on this computer |+| [`mdm-tools`](crates/tools) | yt-dlp and ffmpeg for video pages, gallery-dl for galleries || [`mdm-torrent`](crates/torrent) | BitTorrent through librqbit || [`mdm-labserver`](crates/labserver) | An HTTP test server with fault injection, for tests and benchmarks |@@ -370,6 +407,8 @@ pieces fit.| `python tools/installer/languages.py` | The installer's messages in every language || `node tools/readme/build.mjs` | This page's pictures, comparison table and flags, from the benchmark data || `tools\lab\docs-shots.ps1` | The screenshots, from a separate test instance (`/show <window>` opens each window), off the screen |+| `python tools/shots/make.py` | The help pages' pictures, from one list (`tools/shots/shots.toml`): shot, cropped, annotated, lossless WebP; `make.py check` keeps them in step |+| `tools/lab/wsl/` | A WSL2 machine that builds MDM for Linux in minutes and shoots its windows on a virtual screen ([README](tools/lab/wsl/README.md)) || `tools\lab\progress-shots.ps1` | The progress window of a video (yt-dlp) and of a torrent, from a swarm on this computer (`cargo run -p mdm-torrent --example swarm`) || `python tools/website/build.py --serve` | misterdownloadmanager.com into `target/site` (help pages from `docs/`, news from the CHANGELOG, FAQ and legal pages from `website/content/`), served on http://127.0.0.1:8765; GitHub Pages publishes it (`pages.yml`) || `python tools/readme/social.py` | The repository's social preview card (`docs/images/social-preview.png`) |@@ -382,12 +421,13 @@ pieces fit.## Status and helping out-MDM is an early preview: the engine and the main window are solid, some corners are-"good enough for now".+MDM is young: the engine, the main window and the browser integration are solid on Windows and+Linux, and some corners are still "good enough for now".- **Translations are machine-made.** Rows marked `#, machine` in [`i18n/`](i18n) wait for anative speaker; fixing one is a one-line pull request ([how](docs/languages.md)).-- Not yet: code signing. The macOS and Linux builds are untested.+- Not yet: code signing. The macOS builds are untested; on Linux, screen readers (Orca) and+ Flatpak browsers aren't supported yet.Bug reports and ideas are welcome in[Issues](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose): **Help → Report a problem**diff --git a/ROADMAP.md b/ROADMAP.mdindex 96c4b11d..2da84c35 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -7,9 +7,9 @@ issue, where the details and the discussion are. Released changes are in✅ done, not released yet · 🔄 being built · 📋 planned · 🔍 looking into it-## The next release: 0.3.0+## The next release-Everything below ships together, in one release, as version 0.3.0.+Everything below ships together, in the next release.### Done@@ -88,7 +88,7 @@ Everything below ships together, in one release, as version 0.3.0.([#229](https://github.com/anefzaoui/misterdownloadmanager/issues/229))- ✅ When the browser keeps a download, MDM says why: each one is in MDM's log with the settingthat decided, and the extension's button shows the last one. The extension from the Chrome Web- Store needs MDM 0.3.0 (0.2.x serves only the copy in MDM's folder)+ Store needs this release (0.2.x serves only the copy in MDM's folder)([#208](https://github.com/anefzaoui/misterdownloadmanager/issues/208))- ✅ More file types taken from the browser by default: DMG, PKG, DEB, RPM, APPIMAGE, MSIX, APPX,CAB, JAR, XZ, ZST, WEBM, FLAC, OPUS and others; a list never edited gains them@@ -365,21 +365,34 @@ Everything below ships together, in one release, as version 0.3.0.[Themes](https://misterdownloadmanager.com/themes.html) page with every built-in theme, light anddark, and how to make, try and share your own([#260](https://github.com/anefzaoui/misterdownloadmanager/issues/260))--### Being built--- 🔄 Themes ([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45)): today's look stays the default. Every colour, size and spacing now+- ✅ Themes ([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45)): today's look stays the default. Every colour, size and spacing nowcomes from the chosen theme (the classic look pixel for pixel the same); **View → Theme** withClassic, Native (follows the system's accent and contrast on Windows, Linux and macOS) and Highcontrast; style themes with their own control shapes, a drawn title bar on Windows and their own- icons: Metro, Adwaita, Breeze, Luna, Aero and Aqua (all six in). Next: theme files can be added- by anyone, and Base16 and pywal schemes imported-- 🔄 Linux supported like Windows, no longer experimental: every change is now checked on Ubuntu- (GNOME) as well as Windows, then on KDE, Cinnamon and Xfce ([#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164))-- 🔄 Before the release: every screenshot taken again on Windows and Linux (smaller files, WebP),- and every page of the docs, the README and the website brought up to date+ icons: Metro, Adwaita, Breeze, Luna, Aero and Aqua; and theme files anyone can make, try and+ share, in TOML or JSON, built on any theme (`inherits`), with their own icons+ ([the guide](docs/themes.md))+- ✅ Linux, no longer experimental: every change is checked on Ubuntu (GNOME) as well as Windows,+ and on KDE Plasma, Cinnamon and Xfce; Wayland sessions (through XWayland, menus under their+ titles on sway too); the .deb and .rpm installed in clean Ubuntu, Debian and Fedora systems, the+ AppImage and the tar.gz; the tray, Dark Mode support and Launch on startup on all four desktops;+ the Snap Firefox, Google Chrome and Brave reaching MDM+ ([#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)). The release files keep+ "-experimental" in their names for now+- ✅ Every screenshot taken again on Windows and Linux (smaller files, WebP), and every page of the+ docs, the README and the website brought up to date([#186](https://github.com/anefzaoui/misterdownloadmanager/issues/186))+### Being built++- 🔄 Themes: Base16 and pywal colour schemes imported as themes+ ([#45](https://github.com/anefzaoui/misterdownloadmanager/issues/45))+- 🔄 Linux, what's left ([#164](https://github.com/anefzaoui/misterdownloadmanager/issues/164)):+ screen readers (Orca) reading MDM's windows; browsers installed as a Flatpak (Firefox from+ Flathub may reach MDM through the desktop, as the Snap does: to check); native Wayland windows+ (`MDM_WAYLAND=1`) placing their menus, which needs popup windows the window library doesn't+ have yet, so XWayland stays the default; Vulkan as the default renderer (below)+### Bugs being looked into- 🔍 Menus and the drop target with a black band across their top on a Windows 11 Insider builddiff --git a/crates/app/src/crashui.rs b/crates/app/src/crashui.rsindex a2331737..50495359 100644--- a/crates/app/src/crashui.rs+++ b/crates/app/src/crashui.rs@@ -94,7 +94,9 @@ pub fn monitor_main(m: MonitorArgs) -> eframe::Result {.with_icon(crate::app_icon()),);let builder = if crate::offscreen() {- builder.with_position([-20000.0, -20000.0])+ // Where the main window goes too: on a runner's screen (MDM_OFFSCREEN_AT), whose software+ // OpenGL draws nothing off the screens (docs-shots.yml).+ builder.with_position(crate::offscreen_at())} else {builder};diff --git a/crates/app/src/main.rs b/crates/app/src/main.rsindex 216eb028..714633c5 100644--- a/crates/app/src/main.rs+++ b/crates/app/src/main.rs@@ -144,7 +144,7 @@ fn write_clipboard(off: bool, text: String) -> Option<String> {/// That is for a machine whose screen nobody watches (the docs screenshots on GitHub's runner,/// .github/workflows/docs-shots.yml): there the software OpenGL (Mesa's llvmpipe) presents/// through GDI, which draws nothing off the screens.-fn offscreen_at() -> [f32; 2] {+pub fn offscreen_at() -> [f32; 2] {std::env::var("MDM_OFFSCREEN_AT").ok().and_then(|v| {diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.mdindex fed34e84..b2604c99 100644--- a/docs/ARCHITECTURE.md+++ b/docs/ARCHITECTURE.md@@ -13,13 +13,16 @@ How Mister Download Manager's pieces fit together.| `crates/remote` | `mdm-remote` | The remote control (#141): the HTTPS server a paired phone or computer on the local network uses (its page, pairing codes, device tokens, the self-signed certificate); every request becomes an automation API command the app answers || `crates/nmhost` | `mdm-nmhost` | The browser's native messaging host: takes captured downloads from the extension and hands them to the app || `crates/ipc` | `mdm-ipc` | The single-instance channel (a token-protected local socket), the data folder, and the capture rules shared by the app and the host |+| `crates/debrid` | `mdm-debrid` | Debrid accounts (#44): the services' official APIs (Real-Debrid, AllDebrid, Premiumize) turn a file host's link into a direct one the engine downloads |+| `crates/extract` | `mdm-extract` | Archive extraction (#37): zip, tar, gz and xz in process; 7z and RAR through an installed 7-Zip, run as its own program |+| `crates/geo` | `mdm-geo` | Where a download's server is (#140): an IP-to-country range table built from DB-IP's Lite data (`tools/geo/build.py`), looked up on this computer only, and the countries' flags || `crates/tools` | `mdm-tools` | Video pages through yt-dlp and ffmpeg, image galleries through gallery-dl (run as separate programs); while a network adapter is chosen, their connections go through a proxy of MDM's on 127.0.0.1 that binds them to it (`relay.rs`) || `crates/crash` | `mdm-crash` | Crash and freeze reports: the monitor process, out-of-process minidumps, symbolicated stacks, the report's text and the release logs ([crash-reports.md](crash-reports.md)) || `crates/torrent` | `mdm-torrent` | BitTorrent and magnet links through librqbit || `crates/labserver` | `mdm-labserver` | An HTTP Range server with a request log and fault injection, and an FTP/FTPS server with its own faults, for tests and benchmarks || `extension/` | — | The Chromium (MV3) and Firefox extension || `docs/` | — | The user guide and tutorials, this file, the benchmark data; the website makes the guide its help pages, which Help opens |-| `website/` | — | A future website's pages (not published yet) |+| `website/` | — | misterdownloadmanager.com's own pages (home, download, features, themes, FAQ); `tools/website/build.py` adds the help from `docs/` and the news from the CHANGELOG, in 22 languages, and GitHub Pages publishes it |Dependencies point inward: `app`, `cli`, `mcp`, `nmhost` and `remote` use `engine` and `ipc`; the engine knowsnothing of the UI. The app sees the engine only through its events (progress, segment table@@ -65,27 +68,74 @@ their Linux and macOS counterparts to `unix.rs` (starting with the session, thesounds, show in folder, the crash handler); every other file is safe, portable Rust. Fonts come from the system:Windows' Fonts folder, macOS's system fonts, fontconfig on Linux (`theme.rs`).-Every colour and size a control is drawn with comes from the active theme (#45): `palette.rs`-declares its roles (`"button.hot"`, `"list.row"`…) with the classic look's values, the shared-painters (`winui.rs`, `chrome.rs`, `list.rs`, `scrollbar.rs`) read them through-`theme::colors()` and `theme::metrics()` and decide each control's states from them, and-`themefile.rs` reads theme files (TOML or JSON in the data folder's `themes`) that change any of-them. Where a window puts its controls stays its layout. So do the icons+### Themes++Every colour and size a control is drawn with comes from the active theme (#45). A theme is a+light and a dark palette, metrics, control styles and an icon style (`palette.rs`):++- **Palette roles.** `palette.rs` declares each role with a stable key (`"button.hot"`,+ `"list.row"`, `"caption"`…), a description and the classic look's light and dark values,+ written out (the classic look isn't derived). The shared painters (`winui.rs`, `chrome.rs`,+ `list.rs`, `scrollbar.rs`) read them through `theme::colors()` and `theme::metrics()` and decide+ each control's states from them; no painting code holds a colour of its own.+- **Derived palettes.** `derive.rs` makes a whole palette from a few seeds (background, surface,+ text, accent…), mixing every other role in OKLab and keeping WCAG contrast (4.5:1 for text, 3:1+ for edges); High contrast strengthens every edge on top. `native.rs` seeds the Native theme from+ the system's accent and contrast (Windows' settings, the freedesktop portal on Linux, macOS's+ accent).+- **Control styles.** `palette::Controls` names each control's shape (text boxes, check boxes,+ buttons, progress bars, scroll bars, the focus mark, the title bar); the style themes (Metro,+ Adwaita, Breeze, Luna, Aero, Aqua) pick theirs, and on Windows MDM then draws the title bar+ itself (the `caption.*` roles).+- **Theme files.** `themefile.rs` reads TOML or JSON from the data folder's `themes` (one file,+ or `<id>/theme.toml` with icons beside it). A file names only what it changes; the rest comes+ from the theme it `inherits` (a built-in's id or another file, the classic look by default),+ down a chain in which a cycle is refused. Unknown keys are warnings, not errors. The built-in+ style themes are such files too, carried in the program (`crates/app/assets/themes`).+- **Icon sets.** `themeicons.rs` draws a theme's icons (named by what they're for: `tb-add-url`,+ `cat-music`…, SVG or PNG at 16, 24, 32 and 48 px, `-symbolic` ones inked in the text colour)+ where the classic look draws its own; a need the set lacks keeps the classic icon.++Where a window puts its controls stays its layout. So do the iconsbefore file names (`fileicons.rs`): the Windows shell's system image lists, macOS Finder's(NSWorkspace), the Linux desktop's icon theme (`xdgicons.rs`, shared-mime-info and the IconTheme Specification). Each type is looked up once per pixel size, on a background thread. Tango'sicons (bundled) stand in until the system's icon is ready, and wherever the system has none.+### Drawing+The windows are drawn with OpenGL (eframe's glow) or with the system's own graphics API througheframe's wgpu, with that one backend only: Direct3D 12 on Windows (the default there), Vulkan on-Linux, Metal on macOS (choices there; OpenGL stays their default). View → Draw with picks one. One-code path does it on every system (`crates/app/src/renderer.rs`): when the chosen one can't start,-the other one is tried, so the windows always open; a start whose first frame doesn't come, or a-graphics card lost twice, is remembered with its reason, which the menu shows.--The download list and settings are saved atomically to `%APPDATA%\misterdownloadmanager\`-(`downloads.json`). The browser host reads the same file for the capture rules, so a change in-Options applies to the next captured download.+Linux, Metal on macOS (choices there; OpenGL stays their default until real graphics cards have+tried them, #206). View → Draw with picks one, from the next start. One code path does it on+every system (`crates/app/src/renderer.rs`): when the chosen one can't start, the other one is+tried, so the windows always open. A watched start with the system's API leaves a marker until+its first frame is drawn: a start that ends before it (a crash inside the driver), one whose+first frame doesn't come within 10 seconds (MDM then starts again with OpenGL), or a graphics+card lost twice in 10 minutes is remembered with its reason, which the menu shows.++View → Interface size (`scale.rs`, #262) is egui's zoom factor over the display's own scale:+every window is laid out in points, so it opens that much larger; one larger than the screen+scrolls.++### Data++The download list and settings are saved atomically to the data folder (`downloads.json`):+`%APPDATA%\misterdownloadmanager\` on Windows, `~/.local/share/misterdownloadmanager` on Linux,+`~/Library/Application Support/misterdownloadmanager` on macOS, a `data` folder beside a portable+copy, or `MDM_DATA_DIR` (`mdm_ipc::data_dir`). The browser host reads the same file for the+capture rules, so a change in Options applies to the next captured download.++Sign-in secrets (debrid accounts, Sites Logins' and the proxy's passwords) live in the system's+keychain (`secrets.rs`, #44): Windows Credential Manager (`win32.rs`), the Secret Service on Linux+or the macOS keychain (`unix.rs`). The settings keep a `keychain:<service>/<scope>/<key>`+reference in their place, written only once the keychain has confirmed the secret; without a+keychain (or with a locked one, never unlocked for MDM) the secret stays in the settings as+before.++A download's server location (#140) is the country of the address it connected to, looked up in+`mdm-geo`'s table on this computer (`countries.rs` names it in the interface language); the+release job builds the table again from the month's data (`tools/geo/build.py --release`).## Browser integration@@ -95,7 +145,15 @@ page ──► extension ──native messaging──► mdm-nmhost ──ipc─The extension asks the host which file types to take, checks each download against them, andcancels the browser's download only after the app has accepted it; otherwise the browser keeps-it.+it, and the extension says why.++The host serves only MDM's own extension. Its IDs are in one place, `mdm_ipc::extension`+(`crates/ipc/src/extension.rs`): the unpacked copy's (`UNPACKED_ID`, from the manifest's public+key), the Chrome Web Store's (`STORE_ID`, signed with the store's own key: `pack.ps1` leaves the+manifest's key out of the store's copy), the Firefox add-on's (`FIREFOX_ID`) and its+addons.mozilla.org page; the Edge and Opera stores' are placeholders, never served, until the+extension is listed there. The host writes each browser's manifest with those IDs, and the app+offers the store's copy (Add to Chrome, Add to Firefox) before the unpacked one.## Remote control@@ -106,6 +164,8 @@ phone ──HTTPS (paired token)──► mdm-remote ──ipc::Sink──► ap`--headless` (`headless.rs`, #157) runs the same `App` without eframe: a loop calls its`tick` (what `logic` runs at every frame) on a bare `egui::Context`, woken by the commandchannel, and never its `ui`; commands are added as the remote control adds them (no window).+The `Dockerfile` and `docker/` (Compose, Unraid's template) run it on a server+([server.md](server.md)).The server runs on the app's Tokio runtime, one listener per local network address. Each requestis checked (`Host`, `Origin`, token), turned into an `mdm_ipc::Command` marked `remote` (a field@@ -117,7 +177,19 @@ the app answers it on its next frame, as it answers the automation API. Its pageEvery text the UI shows goes through `crate::i18n` (craft-i18n catalogs, `i18n/<locale>.tsv`).`tools/i18n/extract.py` rebuilds `i18n/en.tsv` from the source, with a note for translators on-each text (what it is, where it shows, its placeholders).+each text (what it is, where it shows, its placeholders). `tools/i18n/translate.py` fills what+the other catalogs lack (rows marked `#, machine`), following each language's style guide+(`i18n/style/`) and the glossary; a row a person reviewed is never replaced, and CI+(`reviewed_guard.py`) fails a change that drops one. The website has its own catalogs+(`i18n/site/`, `tools/website/translate_site.py`).++## Pictures++The help pages' pictures (`docs/images/help/`) come from one list, `tools/shots/shots.toml`:+`tools/shots/make.py` opens each window through MDM's own `/show <window>` command line in a test+instance off the screen, crops and annotates it from the window's accessibility tree, and writes+lossless WebP; `make.py check` (CI) keeps the list, the pages and the files in step. The+published ones are taken on GitHub's Windows runner (`docs-shots.yml`).## Tests and benchmarksdiff --git a/docs/README.md b/docs/README.mdindex 96d66b98..f38e2876 100644--- a/docs/README.md+++ b/docs/README.md@@ -1,14 +1,14 @@# Mister Download Manager — documentation-Mister Download Manager (MDM) is a free download manager for Windows. It is laid out the way Internet Download Manager users expect: a toolbar, categories on the left, one list of downloads and a browser extension that hands downloads to it.+Mister Download Manager (MDM) is a free download manager for Windows and Linux (and, still experimental, macOS). It is laid out the way Internet Download Manager users expect: a toolbar, categories on the left, one list of downloads and a browser extension that hands downloads to it.These pages explain each part of the program. The tutorials walk through the things people do most, one task each.-+## Start here-- **[Getting started](getting-started.md)** — install MDM (setup, portable or zip), choose a language and find your way around the main window.+- **[Getting started](getting-started.md)** — install MDM (setup, portable or zip on Windows; the packages on Linux; the .dmg on a Mac), choose a language and find your way around the main window.- **[Your first download](guide-first-download.md)** — a two-minute walk-through from copied link to opened file.## Downloading@@ -34,14 +34,15 @@ These pages explain each part of the program. The tutorials walk through the thi- **[Image galleries](galleries.md)** — download a gallery's pictures (Wikimedia Commons, Flickr, DeviantArt and many more) with gallery-dl.- **[Torrents](torrents.md)** — magnet links and .torrent files, choosing files, and sharing.- **[Torrents and your security](torrent-security.md)** — what others can see, the network switches, blocklists, proxies.-- **[Debrid service accounts](debrid.md)** — Real-Debrid: file-host links through your own account.+- **[Debrid service accounts](debrid.md)** — Real-Debrid, AllDebrid and Premiumize: file-host links through your own account.## Settings- **[Options](options.md)** — every page of the Options window.-- **[Languages](languages.md)** — the 86 interface languages, right-to-left layouts, and how to help translate.+- **[Themes](themes.md)** — the built-in looks (Classic, Native, High contrast, Metro, Adwaita, Breeze, Luna, Aero, Aqua), and how to make your own in a text file.+- **[Languages](languages.md)** — the 86 interface languages, numbers and dates, right-to-left layouts, and how to help translate.- **[Portable mode](portable.md)** — run MDM from a folder or a USB stick without installing it.-- **[Keyboard shortcuts](keyboard-shortcuts.md)** — every key the main window answers.+- **[Keyboard shortcuts](keyboard-shortcuts.md)** — every key the main window answers, and screen readers.- **[Command line and automation](command-line.md)** — IDM's command-line switches, the `misterdownloadmanager-cli` tool, and the automation API other programs can use.- **[AI assistants (MCP)](ai-assistants.md)** — let Claude, Cursor, VS Code or another MCP assistant list, add, pause and remove your downloads.@@ -66,4 +67,4 @@ These pages explain each part of the program. The tutorials walk through the thi----> Screenshots in these docs show the light theme unless noted. MDM follows Windows' dark mode: when Windows is set to dark, MDM is dark too.+> Screenshots in these docs show Windows and the light theme unless noted; on the website each has its dark version beside it. MDM follows the system's dark mode: when Windows (or your desktop) is set to dark, MDM is dark too.diff --git a/docs/browser-help.md b/docs/browser-help.mdindex 1d471d65..8208f2c0 100644--- a/docs/browser-help.md+++ b/docs/browser-help.md@@ -15,7 +15,7 @@ The browser can't find the small helper program it talks to. It is registered wh3. The portable copy can't be connected: it writes nothing outside its own folder. Use the installed copy for browser integration. See [Portable mode](portable.md).4. On Linux and macOS, MDM sets browser integration up itself each time it starts: start MDM once. **Test browser integration** says what went wrong if it couldn't, such as **The helper program the browsers start is missing**: **Set it up** puts it back.5. Restart the browser after setting it up.-6. **Zen, Helium, Brave Origin or another browser built on Firefox or Chromium, as your only browser on Linux or macOS?** Older versions of MDM set browser integration up only for the browsers they knew (Brave Origin, and the Beta, Dev and Nightly versions of Brave, Chrome and Edge, since 0.3.0). Update MDM and start it once.+6. **Zen, Helium, Brave Origin or another browser built on Firefox or Chromium, as your only browser on Linux or macOS?** Older versions of MDM set browser integration up only for the browsers they knew; the current one also knows Brave Origin and the Beta, Dev and Nightly versions of Brave, Chrome and Edge. Update MDM and start it once.7. **The AppImage on Linux:** the AppImage's files are gone once it quits, so MDM keeps a copy of its helper program in its data folder (`~/.local/share/misterdownloadmanager/browser-host`) and points the browsers there. Start MDM once after moving or renaming the AppImage, or after an AppImage manager (Gear Lever, AppImageLauncher and the like) moved it, so the helper knows where to start it from.8. **Zen on Windows:** Zen 1.21.15b and later have a bug of their own that keeps add-ons from reaching their helper program ([zen-browser/desktop#15432](https://github.com/zen-browser/desktop/issues/15432)), with any add-on that uses one. Until Zen fixes it, Zen 1.21.14b works.@@ -41,8 +41,9 @@ The browser started MDM's helper, but it stopped before answering. Security softMDM's helper serves only its own extension. The browser says this copy isn't one it knows.-- **MDM 0.2.x with the extension from the Chrome Web Store?** The store's copy needs MDM 0.3.0- or later. Update MDM with **Help → Check for updates...**. Until then, remove the store's copy+- **MDM 0.2.x with the extension from the Chrome Web Store?** The store's copy needs a newer MDM:+ 0.2.x knows only the copy in its own folder. Update MDM with **Help → Check for updates...**.+ Until then, remove the store's copyand load the one in MDM's folder instead (`extension\chromium`, see[Browser integration](browser-integration.md#chrome-edge-brave-opera-and-vivaldi)).- **Two copies installed?** Open the browser's extensions page (`chrome://extensions`, `edge://extensions`, `brave://extensions`) and keep only one **Mister Download Manager**.diff --git a/docs/browser-integration.md b/docs/browser-integration.mdindex b9f5dba6..26d71b5f 100644--- a/docs/browser-integration.md+++ b/docs/browser-integration.md@@ -12,8 +12,8 @@ Browsers built on them work too: Chromium and Helium take the extension as ChromBrowser integration has two parts: a small helper program that the browser talks to, and the extension itself.-1. Install MDM with the setup and keep **Set up browser integration (Chrome, Edge, Brave, Firefox)** ticked. This registers the helper. (The portable copy can't do this; see [Portable mode](portable.md).)-2. Add the extension to each browser you use, as below: Firefox from its add-ons store, the others from the Chrome Web Store.+1. Install MDM with the setup and keep **Set up browser integration (Chrome, Edge, Brave, Firefox)** ticked. This registers the helper. (The portable copy can't do this; see [Portable mode](portable.md).) On Linux and macOS MDM registers it itself, each time it starts, for the browsers installed then.+2. Add the extension to each browser you use, as below: Firefox from its add-ons store, the others from the Chrome Web Store. Until a browser's extension has reached MDM, MDM's **Add Mister Download Manager to your browser** window opens at each start: it lists the browsers it found, and **Add the extension** opens the store's page in that browser. **Install it by hand** opens the steps for loading it without the store; **Don't ask again** stops the window.*MDM's own window opens each browser's store page for you.*diff --git a/docs/command-line.md b/docs/command-line.mdindex 7d66be40..4c5fe3d6 100644--- a/docs/command-line.md+++ b/docs/command-line.md@@ -8,6 +8,8 @@ MDM can be driven without its window in three ways:- **`misterdownloadmanager-cli`**, a separate command-line tool: download files, videos and torrents in a terminal, with progress, without the app.- **The automation API**: other programs list the running app's downloads (as JSON) and pause, start, remove or delete them, over a local, token-protected channel. AI assistants use it through MDM's MCP server: see [AI assistants](ai-assistants.md).+To run the whole app without a window, on a home server or a NAS, see [Run MDM on a server](server.md) (`misterdownloadmanager --headless`); to control it from a phone, [Control MDM from your phone](remote-control.md).+The examples use Windows' paths; on macOS and Linux the programs have the same names without `.exe`.## The app's command linediff --git a/docs/connections-and-speed.md b/docs/connections-and-speed.mdindex a9c8bfb8..6d994dfc 100644--- a/docs/connections-and-speed.md+++ b/docs/connections-and-speed.md@@ -6,7 +6,7 @@Each running download has its own progress window. It opens when the download starts; to open it again, double-click the download in the list.-+The **Download status** tab shows:@@ -26,6 +26,9 @@ The buttons:- **Pause** stops the download and keeps what it has; **Resume** continues it.- **Cancel** stops the download and closes the window. The download stays in the list and can be resumed.- Closing the window with its close box keeps the download running.+- **Hide to the notification area** (a short dash with an arrow down to the corner; on Windows in+ the title bar, left of Minimize) puts the window in the notification area; **Downloads in+ progress** in the tray icon's menu brings it back. See [The tray icon](getting-started.md#the-tray-icon).## Where the server is@@ -84,6 +87,24 @@ A download resumes where it stopped: after you stop it, after the connection dro[Resume a broken download](guide-resume-broken-download.md) covers expired links too.+## Through your VPN only: the network adapter and its kill switch++**Options → Proxy / Socks → Network adapter** holds every connection MDM opens to one network+adapter, usually your VPN's: downloads, FTP, torrents, video pages and galleries, MDM's own+downloads and the update check. It works as a kill switch: when the adapter disconnects, or the+VPN is switched off, nothing goes out through your normal connection. Running downloads stop with+**… is not connected**, and start again by themselves when the adapter is back. The line under+the list shows the adapter's address, or that it isn't connected. Details in+[Options → Proxy / Socks](options.md#proxy--socks) and, for torrents, in+[Torrents and your security](torrent-security.md).++## The DNS++**Options → Connection → DNS** chooses who turns the servers' names into addresses: the system's+DNS (the default), or an encrypted one (DNS over HTTPS or TLS) such as Cloudflare, Google, Quad9,+AdGuard, NextDNS or your own. With a network adapter chosen, MDM asks it through the adapter, so+the names stay inside your VPN too. See [Options → Connection](options.md#connection).+## Speed LimiterThe Speed Limiter keeps MDM from using all of your connection.@@ -105,7 +126,7 @@ In the same window, tick **Limit all downloads together to** and set the speed.Tick **Only while I'm using the computer** to apply it only while you use the mouse or keyboard. After a minute without input, MDM goes back to full speed.-+### For one downloaddiff --git a/docs/crash-reports.md b/docs/crash-reports.mdindex e7ab46c5..abc57f16 100644--- a/docs/crash-reports.md+++ b/docs/crash-reports.md@@ -4,7 +4,7 @@If Mister Download Manager closes unexpectedly or stops responding, a **crash report** window opens. It shows what happened, lets you read the whole report, and can send it to the developers on GitHub. Each report helps fix the problem for everyone.-+## What you seediff --git a/docs/download-list.md b/docs/download-list.mdindex 9b5027bc..dbb16e33 100644--- a/docs/download-list.md+++ b/docs/download-list.md@@ -20,7 +20,7 @@ branches and the category or queue you were looking at.| Column | What it shows ||---|---|| **Source** | **Web** (a web server) or **Torrent**. |-| **File Name** | The file's name, with its icon. |+| **File Name** | The file's name, after its type's icon: your system's own (Windows Explorer's, macOS Finder's, your Linux desktop's icon theme), or MDM's where the system has none. || **Q** | A queue icon when the download is in a queue. || **Size** | The file's size, when the server told it. || **Status** | How far it is, or **Complete**, **Error** and so on. |diff --git a/docs/galleries.md b/docs/galleries.mdindex 37fc23ba..234d0fef 100644--- a/docs/galleries.md+++ b/docs/galleries.md@@ -42,7 +42,8 @@ A picture's own address (one ending in `.jpg` or `.png`) downloads as a file, as- **Where it comes from:** MDM downloads gallery-dl from its releases on Codeberg. It accepts it only when the release's checksum list is signed by gallery-dl's author's key, pinned in MDM, and the program matches that list. It keeps the previous version and never goes back to an older one. On Windows and on Linux (x86-64) MDM installs it; on macOS, install it with Homebrew (`brew install gallery-dl`) or pip and choose it in **Helpers...**.- **Your own copy:** **Helpers...** (in the gallery window or the video window) lists yt-dlp, ffmpeg and gallery-dl, and **Use another program...** takes your own copy of each instead of MDM's.- **How it asks:** gallery-dl asks sites as MDM, one picture a second at most. Wikimedia's servers refuse tools that ask faster or without a name. It uses no configuration file of yours.-- **Network adapter:** like yt-dlp, gallery-dl can't be held to one network adapter. While one is chosen (**Options → Proxy / Socks → Network adapter**), galleries don't start.+- **Network adapter:** while one is chosen (**Options → Proxy / Socks → [Network adapter](options.md#proxy--socks)**), galleries go through it too, as video pages do: MDM gives gallery-dl a proxy of its own on this computer, opens every connection through the adapter and looks the names up with the DNS you chose. When the adapter disconnects, the gallery stops with the other downloads; nothing goes out through your normal connection.+- **The gallery-dl of your Linux distribution:** chosen in **Helpers...**, the one your distribution ships works too, from 1.20 (Ubuntu 22.04) on: MDM passes only the options that version knows. One older than that (Debian 11's 1.17) is refused, saying which version MDM needs.## On the command linediff --git a/docs/getting-started.md b/docs/getting-started.mdindex 183c21da..4822fcc2 100644--- a/docs/getting-started.md+++ b/docs/getting-started.md@@ -2,8 +2,8 @@[← Back to docs index](README.md)-MDM runs on 64-bit Windows 10 and Windows 11. Builds for macOS and Linux are new: see-[On a Mac or Linux](#on-a-mac-or-linux).+MDM runs on 64-bit Windows 10 and Windows 11, and on 64-bit Linux: see [On Linux](#on-linux).+Builds for macOS are new and still experimental: see [On a Mac](#on-a-mac).## Choose a download@@ -15,25 +15,61 @@ Every version is on the [Releases](https://github.com/anefzaoui/misterdownloadma| `MisterDownloadManager-<version>-portable.zip` | A portable copy. The download list and settings stay in a `data` folder next to the program, and nothing is written to the registry. Browser integration needs the installer. See [Portable mode](portable.md). || `MisterDownloadManager-<version>-x64.zip` | The same programs without an installer. It keeps its data in `%APPDATA%\misterdownloadmanager`, like an installed copy. |-### On a Mac or Linux+### On Linux-The files marked `-experimental` are fresh builds for macOS (Apple Silicon and Intel) and Linux.-We haven't tried them ourselves yet, so you'd be among the first: please-[tell us how it went](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose), good or bad.+MDM runs on 64-bit Linux with a desktop session. It is tested on Ubuntu 24.04, Debian 12 and+Fedora, with GNOME, KDE Plasma, Xfce and Cinnamon, on X11 and in Wayland sessions. The release+files still carry `-experimental` in their names:| File | What it is ||---|---|-| `...-macos-arm64-experimental.dmg` | For a Mac with Apple Silicon (M1 or later: **Apple menu → About This Mac** shows a *Chip*). Open it and drag Mister Download Manager to Applications. macOS asks before its first start, because the app isn't notarized by Apple: right-click it and choose **Open** (on macOS 15 and later: **System Settings → Privacy & Security → Open Anyway**). |-| `...-macos-x86_64-experimental.dmg` | The same, for a Mac with an Intel processor (About This Mac shows a *Processor*). |-| `...-linux-x86_64-experimental.AppImage` | Runs on most distributions: make it executable (`chmod +x`) and run it. |-| `...-linux-x86_64-experimental.deb` | For Ubuntu, Debian, Mint and Pop!_OS: `sudo apt install ./<file>.deb`. |-| `...-linux-x86_64-experimental.rpm` | For Fedora, openSUSE and RHEL: `sudo dnf install ./<file>.rpm`. |+| `...-linux-x86_64-experimental.deb` | For Ubuntu, Debian, Mint and Pop!_OS: `sudo apt install ./<file>.deb`. It brings the libraries MDM needs. |+| `...-linux-x86_64-experimental.rpm` | For Fedora, openSUSE and RHEL: `sudo dnf install ./<file>.rpm`. It brings the libraries MDM needs. |+| `...-linux-x86_64-experimental.AppImage` | Runs on most distributions: make it executable (`chmod +x`) and run it. It updates itself in place (**Help → Check for updates**). || `...-linux-x86_64-experimental.tar.gz` | The plain programs, for any distribution. |-Browser integration is set up by MDM itself at each start on Linux and macOS (the browsers installed then are found); add the extension as in [Browser integration](browser-integration.md). Firefox installed as a Snap (Ubuntu's) reaches MDM once you allow it; other Snap and Flatpak browsers can't (see [Flatpak and Snap browsers](browser-help.md#linux-sandbox)).++*MDM on Ubuntu's GNOME desktop, with the desktop's own file icons.*++Browser integration is set up by MDM itself at each start (the browsers installed then are found); add the extension as in [Browser integration](browser-integration.md). Firefox installed as a Snap (Ubuntu's) reaches MDM once you allow it; other Snap and Flatpak browsers can't (see [Flatpak and Snap browsers](browser-help.md#linux-sandbox)). The tray icon, Dark Mode support and Launch on startup work on GNOME (Ubuntu's), KDE Plasma, Xfce and Cinnamon.+++*MDM finds the browsers installed and offers each one its extension.*++In a Wayland session the windows go through XWayland (below). Not there yet on Linux: screen+readers (Orca) don't read MDM's windows; browsers installed as a Flatpak can't reach MDM (Firefox+from Flathub may, through the desktop as the Snap does, but that isn't checked yet); and **View →+Draw with → Vulkan** is a choice, OpenGL stays the default.In a Wayland session (GNOME, KDE Plasma and others), MDM's windows run through XWayland when it is there: Wayland doesn't let a program place its own windows, so MDM's menus and drop-down lists would open in the middle of the screen. To run on Wayland itself anyway, start it with `MDM_WAYLAND=1 misterdownloadmanager`. If the system lacks a library X11 windows need (such as libxkbcommon-x11, which the .deb and .rpm bring but the AppImage and the tar.gz can't), MDM opens on Wayland instead; with no window system it can use, it names what's missing and the command that installs it.+The windows are the ones described in this help, with the desktop's fonts, file icons and title+bars:++<!-- pictures -->++- + *Add URL.*+- + *A download's progress.*+- + *Add torrent.*+- + *The Scheduler.*+- + *Options.*++And on the other desktops it was checked on:++<!-- pictures -->++- + *KDE Plasma.*+- + *Cinnamon.*+- + *Xfce.*+#### Uninstall on Linux {#uninstall-linux}`sudo apt remove misterdownloadmanager` (or `sudo dnf remove misterdownloadmanager`) removes the@@ -55,6 +91,19 @@ Already uninstalled? This removes the same files:find ~/.mozilla ~/.librewolf ~/.config -name com.misterdownloadmanager.host.json -delete 2>/dev/null```+### On a Mac++The macOS builds are fresh and still experimental: we haven't tried them on a Mac ourselves yet,+so you'd be among the first. Please+[tell us how it went](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose), good or bad.++| File | What it is |+|---|---|+| `...-macos-arm64-experimental.dmg` | For a Mac with Apple Silicon (M1 or later: **Apple menu → About This Mac** shows a *Chip*). Open it and drag Mister Download Manager to Applications. macOS asks before its first start, because the app isn't notarized by Apple: right-click it and choose **Open** (on macOS 15 and later: **System Settings → Privacy & Security → Open Anyway**). |+| `...-macos-x86_64-experimental.dmg` | The same, for a Mac with an Intel processor (About This Mac shows a *Processor*). |++Browser integration is set up by MDM itself at each start (the browsers installed then are found); add the extension as in [Browser integration](browser-integration.md).+## Install with the setup1. Run `MisterDownloadManager-<version>-setup.exe`.@@ -110,11 +159,11 @@ window offers them when you first need them. More in [Videos](video.md).From top to bottom:- **Menu bar.**- - **Tasks** — add downloads, torrents, batch downloads and videos; Link grabber; show the drop target; import and export the list; exit.+ - **Tasks** — add downloads, torrents, magnet links, batch downloads and videos from a page; **Torrent settings**; **Link grabber**; **RSS feeds**; show the drop target; import and export the list; exit.- **File** — the selected download: **Stop Download**, **Remove**, **Download Now**, **Redownload**.- **Downloads** — **Pause All**, **Stop All**, **Delete All Completed**, **Find**, the **Scheduler**, queues, the **Speed Limiter** and **Options**.- **View** — show or hide the categories, sort the list (**Arrange files**), **Dark Mode support**, **Always dark**, **Theme**, **Interface size** (every window larger, 100 % to 200 %; **Ctrl +**, **Ctrl −** and **Ctrl 0** too), **Draw with** (OpenGL, or Direct3D on Windows, Vulkan on Linux, Metal on macOS) and **Language**.- - **Help** — help pages and tutorials (on the website, in your language when it has it), **Keyboard shortcuts**, **Report a problem**, **Check for updates** and **About**.+ - **Help** — help pages and tutorials (on the website, in your language when it has it), **Keyboard shortcuts**, **Report a problem**, **Check for updates**, **About**, **Tell a friend** and **Support MDM** (its creator's GitHub Sponsors page: optional, nothing in MDM changes).- **Toolbar.** **Add URL**, **Add Torrent**, **Resume**, **Stop**, **Stop All**, **Delete**, **Delete Completed**, **Options**, **Scheduler**, **Start Queue**, **Stop Queue**. The small arrow next to **Add Torrent**, **Start Queue** and **Stop Queue** opens more choices.- **Categories** (left). Choose what the list shows: **All Downloads**, **Unfinished**, **Finished** and **Queues**, each with its categories. Drag the gap between the pane and the list to make it wider.- **Download list** (right). One row per download. See [The download list](download-list.md).@@ -156,7 +205,7 @@ MDM follows your system: when Windows (or your desktop's light/dark preference oboxes, a blue focus ring, a blue gel progress bar, a grey title bar with small round buttons(on Windows), and icons drawn for MDM in that manner.-+*View → Theme switches at once, keeping the layout.*<!-- pictures -->@@ -172,17 +221,17 @@ MDM follows your system: when Windows (or your desktop's light/dark preference oEach has a light and a dark side: **Dark Mode support** and **Always dark** choose betweenthem as before. Theme files you put in the themes folder (**View → Theme → Open themes folder**)-are listed there too. A theme in a folder of its own (`<name>/theme.toml`) can bring its icons in-`icons/16` and `icons/24` (and, for PNG pictures, `icons/32` and `icons/48`, used on a screen-scaled to 150 % and more), each named for what it shows (`tb-add-url.svg`, `cat-music.png`…):-SVG or PNG files keep their colours, and `-symbolic.svg` or `-symbolic.png` ones, as GNOME and-KDE name them, take the theme's text colour.+are listed there too: [Themes](themes.md) says where that folder is, what a theme file holds+(`inherits`, colours, sizes, control shapes, icons) and how to make and share one.## The tray iconClosing the main window doesn't quit MDM. It hides in the notification area, and downloads, queues and schedules carry on.-On Linux this needs a tray, which most desktops have (KDE, GNOME with its AppIndicator extension, waybar's tray). On a desktop without one (some tiling window managers), closing the window quits MDM, since there would be nowhere to bring it back from.+On Linux this needs a tray, which most desktops have (KDE Plasma, Xfce, Cinnamon, Ubuntu's GNOME or GNOME with the AppIndicator extension, waybar's tray). On a desktop without one (some tiling window managers), closing the window quits MDM, since there would be nowhere to bring it back from.+++*The tray icon's menu on Ubuntu's GNOME.*- Click the tray icon to bring the window back.- Right-click it for **Add new download**, **Add batch download**, **Downloads in progress**, **Speed Limiter**, **Scheduler**, the main download queue, **Options** and **Exit**.@@ -200,7 +249,7 @@ To quit, choose **Tasks → Exit** or **Exit** in the tray menu.## Where MDM keeps its data-The download list and settings are in `%APPDATA%\misterdownloadmanager` (`downloads.json`). A portable copy keeps them in its `data` folder instead. Downloaded files go to your **Downloads** folder, sorted into a folder per category; you can change that in **Options → Save to**.+The download list and settings are in `%APPDATA%\misterdownloadmanager` (`downloads.json`); on Linux in `~/.local/share/misterdownloadmanager`, on a Mac in `~/Library/Application Support/misterdownloadmanager`. A portable copy keeps them in its `data` folder instead. Downloaded files go to your **Downloads** folder, sorted into a folder per category; you can change that in **Options → Save to**.## Next stepsdiff --git a/docs/guide-catch-browser-downloads.md b/docs/guide-catch-browser-downloads.mdindex b7290419..4be098a4 100644--- a/docs/guide-catch-browser-downloads.md+++ b/docs/guide-catch-browser-downloads.md@@ -6,7 +6,9 @@ Set up the extension once, and every download link you click in Firefox, Chrome,## Before you start-MDM must be installed with the setup, with **Set up browser integration (Chrome, Edge, Brave, Firefox)** ticked. It is ticked by default. If you're not sure, run the setup again. A portable copy can't do this.+On Windows, MDM must be installed with the setup, with **Set up browser integration (Chrome, Edge, Brave, Firefox)** ticked. It is ticked by default. If you're not sure, run the setup again. A portable copy can't do this. On Linux and macOS, start MDM once: it sets browser integration up itself.++MDM's **Add Mister Download Manager to your browser** window, which opens at each start until a browser's extension has reached MDM, does the steps below for you: **Add the extension** opens the store's page in that browser.Once it is set up, a download link goes like this:diff --git a/docs/images/add-torrent-linux.webp b/docs/images/add-torrent-linux.webpnew file mode 100644index 00000000..2aa118b6Binary files /dev/null and b/docs/images/add-torrent-linux.webp differdiff --git a/docs/images/add-torrent.png b/docs/images/add-torrent.pngdeleted file mode 100644index e89e5387..00000000Binary files a/docs/images/add-torrent.png and /dev/null differdiff --git a/docs/images/add-torrent.webp b/docs/images/add-torrent.webpnew file mode 100644index 00000000..cdf212f6Binary files /dev/null and b/docs/images/add-torrent.webp differdiff --git a/docs/images/add-url-linux.webp b/docs/images/add-url-linux.webpnew file mode 100644index 00000000..4e29ec56Binary files /dev/null and b/docs/images/add-url-linux.webp differdiff --git a/docs/images/add-url.png b/docs/images/add-url.pngdeleted file mode 100644index f3ff9baf..00000000Binary files a/docs/images/add-url.png and /dev/null differdiff --git a/docs/images/add-url.webp b/docs/images/add-url.webpnew file mode 100644index 00000000..4e576d58Binary files /dev/null and b/docs/images/add-url.webp differdiff --git a/docs/images/arabic-main.png b/docs/images/arabic-main.pngdeleted file mode 100644index 25c8c677..00000000Binary files a/docs/images/arabic-main.png and /dev/null differdiff --git a/docs/images/arabic-main.webp b/docs/images/arabic-main.webpnew file mode 100644index 00000000..93507a8cBinary files /dev/null and b/docs/images/arabic-main.webp differdiff --git a/docs/images/browser-offer-linux.webp b/docs/images/browser-offer-linux.webpnew file mode 100644index 00000000..374697c9Binary files /dev/null and b/docs/images/browser-offer-linux.webp differdiff --git a/docs/images/cinnamon-main-linux.webp b/docs/images/cinnamon-main-linux.webpnew file mode 100644index 00000000..47509582Binary files /dev/null and b/docs/images/cinnamon-main-linux.webp differdiff --git a/docs/images/crash-report.png b/docs/images/crash-report.pngdeleted file mode 100644index b4739128..00000000Binary files a/docs/images/crash-report.png and /dev/null differdiff --git a/docs/images/crash-report.webp b/docs/images/crash-report.webpnew file mode 100644index 00000000..c9c33670Binary files /dev/null and b/docs/images/crash-report.webp differdiff --git a/docs/images/grabber.png b/docs/images/grabber.pngdeleted file mode 100644index fe8219d7..00000000Binary files a/docs/images/grabber.png and /dev/null differdiff --git a/docs/images/grabber.webp b/docs/images/grabber.webpnew file mode 100644index 00000000..26de98afBinary files /dev/null and b/docs/images/grabber.webp differdiff --git a/docs/images/help/about-updates-dark.webp b/docs/images/help/about-updates-dark.webpindex d358fd7b..d6e78f88 100644Binary files a/docs/images/help/about-updates-dark.webp and b/docs/images/help/about-updates-dark.webp differdiff --git a/docs/images/help/about-updates.webp b/docs/images/help/about-updates.webpindex 5f278287..300bb16b 100644Binary files a/docs/images/help/about-updates.webp and b/docs/images/help/about-updates.webp differdiff --git a/docs/images/help/add-url-dark.webp b/docs/images/help/add-url-dark.webpindex f845c915..20035bf0 100644Binary files a/docs/images/help/add-url-dark.webp and b/docs/images/help/add-url-dark.webp differdiff --git a/docs/images/help/add-url.webp b/docs/images/help/add-url.webpindex 97f4f86a..087e2243 100644Binary files a/docs/images/help/add-url.webp and b/docs/images/help/add-url.webp differdiff --git a/docs/images/help/batch-dark.webp b/docs/images/help/batch-dark.webpindex d878a1fd..41ee2e52 100644Binary files a/docs/images/help/batch-dark.webp and b/docs/images/help/batch-dark.webp differdiff --git a/docs/images/help/batch.webp b/docs/images/help/batch.webpindex 49f7cd61..bc564ea5 100644Binary files a/docs/images/help/batch.webp and b/docs/images/help/batch.webp differdiff --git a/docs/images/help/browser-offer-dark.webp b/docs/images/help/browser-offer-dark.webpindex 51f181d1..2f7ded11 100644Binary files a/docs/images/help/browser-offer-dark.webp and b/docs/images/help/browser-offer-dark.webp differdiff --git a/docs/images/help/browser-offer.webp b/docs/images/help/browser-offer.webpindex db4bed8a..08c00423 100644Binary files a/docs/images/help/browser-offer.webp and b/docs/images/help/browser-offer.webp differdiff --git a/docs/images/help/catch-complete-dark.webp b/docs/images/help/catch-complete-dark.webpindex 20ccc965..4d45f90e 100644Binary files a/docs/images/help/catch-complete-dark.webp and b/docs/images/help/catch-complete-dark.webp differdiff --git a/docs/images/help/catch-complete.webp b/docs/images/help/catch-complete.webpindex dc628637..f411bfd1 100644Binary files a/docs/images/help/catch-complete.webp and b/docs/images/help/catch-complete.webp differdiff --git a/docs/images/help/catch-file-info-dark.webp b/docs/images/help/catch-file-info-dark.webpindex 75612760..4bd44e52 100644Binary files a/docs/images/help/catch-file-info-dark.webp and b/docs/images/help/catch-file-info-dark.webp differdiff --git a/docs/images/help/catch-file-info.webp b/docs/images/help/catch-file-info.webpindex 014fbe32..e9653317 100644Binary files a/docs/images/help/catch-file-info.webp and b/docs/images/help/catch-file-info.webp differdiff --git a/docs/images/help/catch-file-types-dark.webp b/docs/images/help/catch-file-types-dark.webpindex 09ec2a6a..6cab77b2 100644Binary files a/docs/images/help/catch-file-types-dark.webp and b/docs/images/help/catch-file-types-dark.webp differdiff --git a/docs/images/help/catch-file-types.webp b/docs/images/help/catch-file-types.webpindex dc416095..ede9e2ce 100644Binary files a/docs/images/help/catch-file-types.webp and b/docs/images/help/catch-file-types.webp differdiff --git a/docs/images/help/catch-progress-dark.webp b/docs/images/help/catch-progress-dark.webpindex 2cb68594..c50a5c3e 100644Binary files a/docs/images/help/catch-progress-dark.webp and b/docs/images/help/catch-progress-dark.webp differdiff --git a/docs/images/help/catch-progress.webp b/docs/images/help/catch-progress.webpindex b911ac77..77e277d4 100644Binary files a/docs/images/help/catch-progress.webp and b/docs/images/help/catch-progress.webp differdiff --git a/docs/images/help/category-properties-dark.webp b/docs/images/help/category-properties-dark.webpindex 90548651..0fa7c444 100644Binary files a/docs/images/help/category-properties-dark.webp and b/docs/images/help/category-properties-dark.webp differdiff --git a/docs/images/help/category-properties.webp b/docs/images/help/category-properties.webpindex d77801b0..f65d6885 100644Binary files a/docs/images/help/category-properties.webp and b/docs/images/help/category-properties.webp differdiff --git a/docs/images/help/delete-confirm-dark.webp b/docs/images/help/delete-confirm-dark.webpindex ff26fb2e..5d51b3db 100644Binary files a/docs/images/help/delete-confirm-dark.webp and b/docs/images/help/delete-confirm-dark.webp differdiff --git a/docs/images/help/delete-confirm.webp b/docs/images/help/delete-confirm.webpindex c11fabd0..25d16874 100644Binary files a/docs/images/help/delete-confirm.webp and b/docs/images/help/delete-confirm.webp differdiff --git a/docs/images/help/download-file-info-dark.webp b/docs/images/help/download-file-info-dark.webpindex ea557fd1..29d03ac5 100644Binary files a/docs/images/help/download-file-info-dark.webp and b/docs/images/help/download-file-info-dark.webp differdiff --git a/docs/images/help/download-file-info.webp b/docs/images/help/download-file-info.webpindex c827f200..8326dbcd 100644Binary files a/docs/images/help/download-file-info.webp and b/docs/images/help/download-file-info.webp differdiff --git a/docs/images/help/download-panels-dark.webp b/docs/images/help/download-panels-dark.webpindex 7d91c086..a6c33cc0 100644Binary files a/docs/images/help/download-panels-dark.webp and b/docs/images/help/download-panels-dark.webp differdiff --git a/docs/images/help/download-panels.webp b/docs/images/help/download-panels.webpindex 0d5bbcb8..9cf29ba2 100644Binary files a/docs/images/help/download-panels.webp and b/docs/images/help/download-panels.webp differdiff --git a/docs/images/help/draw-with-dark.webp b/docs/images/help/draw-with-dark.webpindex 49ec4243..4a58cf24 100644Binary files a/docs/images/help/draw-with-dark.webp and b/docs/images/help/draw-with-dark.webp differdiff --git a/docs/images/help/draw-with.webp b/docs/images/help/draw-with.webpindex 99cf3ab9..28d409b0 100644Binary files a/docs/images/help/draw-with.webp and b/docs/images/help/draw-with.webp differdiff --git a/docs/images/help/find-dark.webp b/docs/images/help/find-dark.webpindex dda2df97..9b8f1d68 100644Binary files a/docs/images/help/find-dark.webp and b/docs/images/help/find-dark.webp differdiff --git a/docs/images/help/find-file-dark.webp b/docs/images/help/find-file-dark.webpindex dda2df97..9b8f1d68 100644Binary files a/docs/images/help/find-file-dark.webp and b/docs/images/help/find-file-dark.webp differdiff --git a/docs/images/help/find-file.webp b/docs/images/help/find-file.webpindex beb4c287..ea9b0ae7 100644Binary files a/docs/images/help/find-file.webp and b/docs/images/help/find-file.webp differdiff --git a/docs/images/help/find.webp b/docs/images/help/find.webpindex beb4c287..ea9b0ae7 100644Binary files a/docs/images/help/find.webp and b/docs/images/help/find.webp differdiff --git a/docs/images/help/first-add-url-dark.webp b/docs/images/help/first-add-url-dark.webpindex a8b4204d..f776d8a0 100644Binary files a/docs/images/help/first-add-url-dark.webp and b/docs/images/help/first-add-url-dark.webp differdiff --git a/docs/images/help/first-add-url.webp b/docs/images/help/first-add-url.webpindex 669ab50b..1f79e96b 100644Binary files a/docs/images/help/first-add-url.webp and b/docs/images/help/first-add-url.webp differdiff --git a/docs/images/help/first-complete-dark.webp b/docs/images/help/first-complete-dark.webpindex 0756bdf5..2f7e488c 100644Binary files a/docs/images/help/first-complete-dark.webp and b/docs/images/help/first-complete-dark.webp differdiff --git a/docs/images/help/first-complete.webp b/docs/images/help/first-complete.webpindex 071a82a4..50b6adc9 100644Binary files a/docs/images/help/first-complete.webp and b/docs/images/help/first-complete.webp differdiff --git a/docs/images/help/first-file-info-dark.webp b/docs/images/help/first-file-info-dark.webpindex 75612760..4bd44e52 100644Binary files a/docs/images/help/first-file-info-dark.webp and b/docs/images/help/first-file-info-dark.webp differdiff --git a/docs/images/help/first-file-info.webp b/docs/images/help/first-file-info.webpindex 014fbe32..e9653317 100644Binary files a/docs/images/help/first-file-info.webp and b/docs/images/help/first-file-info.webp differdiff --git a/docs/images/help/first-helpers-dark.webp b/docs/images/help/first-helpers-dark.webpindex bc37f6d9..e4fb9a09 100644Binary files a/docs/images/help/first-helpers-dark.webp and b/docs/images/help/first-helpers-dark.webp differdiff --git a/docs/images/help/first-helpers.webp b/docs/images/help/first-helpers.webpindex f8cdcdd3..82d7e32f 100644Binary files a/docs/images/help/first-helpers.webp and b/docs/images/help/first-helpers.webp differdiff --git a/docs/images/help/first-language-dark.webp b/docs/images/help/first-language-dark.webpindex b7ebb803..e3518b36 100644Binary files a/docs/images/help/first-language-dark.webp and b/docs/images/help/first-language-dark.webp differdiff --git a/docs/images/help/first-language.webp b/docs/images/help/first-language.webpindex 6b7c5b5d..f807c52f 100644Binary files a/docs/images/help/first-language.webp and b/docs/images/help/first-language.webp differdiff --git a/docs/images/help/first-progress-dark.webp b/docs/images/help/first-progress-dark.webpindex 2cb68594..c50a5c3e 100644Binary files a/docs/images/help/first-progress-dark.webp and b/docs/images/help/first-progress-dark.webp differdiff --git a/docs/images/help/first-progress.webp b/docs/images/help/first-progress.webpindex b911ac77..77e277d4 100644Binary files a/docs/images/help/first-progress.webp and b/docs/images/help/first-progress.webp differdiff --git a/docs/images/help/link-grabber-dark.webp b/docs/images/help/link-grabber-dark.webpindex 564a5ed3..c230b2b2 100644Binary files a/docs/images/help/link-grabber-dark.webp and b/docs/images/help/link-grabber-dark.webp differdiff --git a/docs/images/help/link-grabber.webp b/docs/images/help/link-grabber.webpindex de2a0e42..f2a215e6 100644Binary files a/docs/images/help/link-grabber.webp and b/docs/images/help/link-grabber.webp differdiff --git a/docs/images/help/list-categories-dark.webp b/docs/images/help/list-categories-dark.webpindex 7d1c504e..2c36fcd6 100644Binary files a/docs/images/help/list-categories-dark.webp and b/docs/images/help/list-categories-dark.webp differdiff --git a/docs/images/help/list-categories.webp b/docs/images/help/list-categories.webpindex 776c405f..b8db7466 100644Binary files a/docs/images/help/list-categories.webp and b/docs/images/help/list-categories.webp differdiff --git a/docs/images/help/list-columns-dark.webp b/docs/images/help/list-columns-dark.webpindex 9d6c526d..4647dcce 100644Binary files a/docs/images/help/list-columns-dark.webp and b/docs/images/help/list-columns-dark.webp differdiff --git a/docs/images/help/list-columns.webp b/docs/images/help/list-columns.webpindex 6c5347d7..8a2bc7bb 100644Binary files a/docs/images/help/list-columns.webp and b/docs/images/help/list-columns.webp differdiff --git a/docs/images/help/main-window-dark.webp b/docs/images/help/main-window-dark.webpindex effc6ca1..e245ccac 100644Binary files a/docs/images/help/main-window-dark.webp and b/docs/images/help/main-window-dark.webp differdiff --git a/docs/images/help/main-window.webp b/docs/images/help/main-window.webpindex 0c31072f..315b288d 100644Binary files a/docs/images/help/main-window.webp and b/docs/images/help/main-window.webp differdiff --git a/docs/images/help/options-accounts-dark.webp b/docs/images/help/options-accounts-dark.webpindex e938d1e5..b6d51dbd 100644Binary files a/docs/images/help/options-accounts-dark.webp and b/docs/images/help/options-accounts-dark.webp differdiff --git a/docs/images/help/options-accounts.webp b/docs/images/help/options-accounts.webpindex 08617231..f2858bcb 100644Binary files a/docs/images/help/options-accounts.webp and b/docs/images/help/options-accounts.webp differdiff --git a/docs/images/help/options-archives-dark.webp b/docs/images/help/options-archives-dark.webpindex 630f1ca9..beeb9a17 100644Binary files a/docs/images/help/options-archives-dark.webp and b/docs/images/help/options-archives-dark.webp differdiff --git a/docs/images/help/options-archives.webp b/docs/images/help/options-archives.webpindex 4359e190..3eb8c7fc 100644Binary files a/docs/images/help/options-archives.webp and b/docs/images/help/options-archives.webp differdiff --git a/docs/images/help/options-connection-dark.webp b/docs/images/help/options-connection-dark.webpindex d92f7756..46a6169d 100644Binary files a/docs/images/help/options-connection-dark.webp and b/docs/images/help/options-connection-dark.webp differdiff --git a/docs/images/help/options-connection.webp b/docs/images/help/options-connection.webpindex bd2a71ae..0b9869c1 100644Binary files a/docs/images/help/options-connection.webp and b/docs/images/help/options-connection.webp differdiff --git a/docs/images/help/options-downloads-dark.webp b/docs/images/help/options-downloads-dark.webpindex edc45afe..90aba6bc 100644Binary files a/docs/images/help/options-downloads-dark.webp and b/docs/images/help/options-downloads-dark.webp differdiff --git a/docs/images/help/options-downloads.webp b/docs/images/help/options-downloads.webpindex 6cb8aa96..42a5d703 100644Binary files a/docs/images/help/options-downloads.webp and b/docs/images/help/options-downloads.webp differdiff --git a/docs/images/help/options-file-types-dark.webp b/docs/images/help/options-file-types-dark.webpindex 5c31855e..842254bc 100644Binary files a/docs/images/help/options-file-types-dark.webp and b/docs/images/help/options-file-types-dark.webp differdiff --git a/docs/images/help/options-file-types.webp b/docs/images/help/options-file-types.webpindex 51760c90..8ea6f41c 100644Binary files a/docs/images/help/options-file-types.webp and b/docs/images/help/options-file-types.webp differdiff --git a/docs/images/help/options-general-dark.webp b/docs/images/help/options-general-dark.webpindex da3d0043..6473624e 100644Binary files a/docs/images/help/options-general-dark.webp and b/docs/images/help/options-general-dark.webp differdiff --git a/docs/images/help/options-general.webp b/docs/images/help/options-general.webpindex bd452500..183208d8 100644Binary files a/docs/images/help/options-general.webp and b/docs/images/help/options-general.webp differdiff --git a/docs/images/help/options-integration-dark.webp b/docs/images/help/options-integration-dark.webpindex 734d886c..65f0e2fd 100644Binary files a/docs/images/help/options-integration-dark.webp and b/docs/images/help/options-integration-dark.webp differdiff --git a/docs/images/help/options-integration.webp b/docs/images/help/options-integration.webpindex 162f758f..6f17980e 100644Binary files a/docs/images/help/options-integration.webp and b/docs/images/help/options-integration.webp differdiff --git a/docs/images/help/options-logins-dark.webp b/docs/images/help/options-logins-dark.webpindex f9485464..b06fde54 100644Binary files a/docs/images/help/options-logins-dark.webp and b/docs/images/help/options-logins-dark.webp differdiff --git a/docs/images/help/options-logins.webp b/docs/images/help/options-logins.webpindex be1dcf14..520b3bb7 100644Binary files a/docs/images/help/options-logins.webp and b/docs/images/help/options-logins.webp differdiff --git a/docs/images/help/options-proxy-dark.webp b/docs/images/help/options-proxy-dark.webpindex f282e9e4..a39de15c 100644Binary files a/docs/images/help/options-proxy-dark.webp and b/docs/images/help/options-proxy-dark.webp differdiff --git a/docs/images/help/options-proxy.webp b/docs/images/help/options-proxy.webpindex 29162b93..af7c0e46 100644Binary files a/docs/images/help/options-proxy.webp and b/docs/images/help/options-proxy.webp differdiff --git a/docs/images/help/options-regional-dark.webp b/docs/images/help/options-regional-dark.webpindex 67ca4d0c..b5740334 100644Binary files a/docs/images/help/options-regional-dark.webp and b/docs/images/help/options-regional-dark.webp differdiff --git a/docs/images/help/options-regional.webp b/docs/images/help/options-regional.webpindex 55e58a87..e9e0b952 100644Binary files a/docs/images/help/options-regional.webp and b/docs/images/help/options-regional.webp differdiff --git a/docs/images/help/options-save-to-dark.webp b/docs/images/help/options-save-to-dark.webpindex 68d95a50..2aa8d22c 100644Binary files a/docs/images/help/options-save-to-dark.webp and b/docs/images/help/options-save-to-dark.webp differdiff --git a/docs/images/help/options-save-to.webp b/docs/images/help/options-save-to.webpindex fd223fb4..4f75f4d2 100644Binary files a/docs/images/help/options-save-to.webp and b/docs/images/help/options-save-to.webp differdiff --git a/docs/images/help/options-sounds-dark.webp b/docs/images/help/options-sounds-dark.webpindex 9edc0b0c..6dd7f357 100644Binary files a/docs/images/help/options-sounds-dark.webp and b/docs/images/help/options-sounds-dark.webp differdiff --git a/docs/images/help/options-sounds.webp b/docs/images/help/options-sounds.webpindex 3b950379..5f0abf9c 100644Binary files a/docs/images/help/options-sounds.webp and b/docs/images/help/options-sounds.webp differdiff --git a/docs/images/help/overnight-done-dark.webp b/docs/images/help/overnight-done-dark.webpindex a94c7667..227e3143 100644Binary files a/docs/images/help/overnight-done-dark.webp and b/docs/images/help/overnight-done-dark.webp differdiff --git a/docs/images/help/overnight-done.webp b/docs/images/help/overnight-done.webpindex bc9703df..e6fd6976 100644Binary files a/docs/images/help/overnight-done.webp and b/docs/images/help/overnight-done.webp differdiff --git a/docs/images/help/overnight-later-dark.webp b/docs/images/help/overnight-later-dark.webpindex 2dc17ffa..c0bc41a6 100644Binary files a/docs/images/help/overnight-later-dark.webp and b/docs/images/help/overnight-later-dark.webp differdiff --git a/docs/images/help/overnight-later.webp b/docs/images/help/overnight-later.webpindex 0f86c4f5..8dc8f4e4 100644Binary files a/docs/images/help/overnight-later.webp and b/docs/images/help/overnight-later.webp differdiff --git a/docs/images/help/overnight-start-dark.webp b/docs/images/help/overnight-start-dark.webpindex 80b78f4d..e891f2b9 100644Binary files a/docs/images/help/overnight-start-dark.webp and b/docs/images/help/overnight-start-dark.webp differdiff --git a/docs/images/help/overnight-start.webp b/docs/images/help/overnight-start.webpindex d5c00a67..460faa9d 100644Binary files a/docs/images/help/overnight-start.webp and b/docs/images/help/overnight-start.webp differdiff --git a/docs/images/help/properties-dark.webp b/docs/images/help/properties-dark.webpindex 114e7a50..ef22fecd 100644Binary files a/docs/images/help/properties-dark.webp and b/docs/images/help/properties-dark.webp differdiff --git a/docs/images/help/properties.webp b/docs/images/help/properties.webpindex f8a56a47..00280a96 100644Binary files a/docs/images/help/properties.webp and b/docs/images/help/properties.webp differdiff --git a/docs/images/help/resume-properties-dark.webp b/docs/images/help/resume-properties-dark.webpindex 6d10c95f..6a24028b 100644Binary files a/docs/images/help/resume-properties-dark.webp and b/docs/images/help/resume-properties-dark.webp differdiff --git a/docs/images/help/resume-properties.webp b/docs/images/help/resume-properties.webpindex 8023be43..00814687 100644Binary files a/docs/images/help/resume-properties.webp and b/docs/images/help/resume-properties.webp differdiff --git a/docs/images/help/rss-feeds-dark.webp b/docs/images/help/rss-feeds-dark.webpindex c252c8fb..b7b2edba 100644Binary files a/docs/images/help/rss-feeds-dark.webp and b/docs/images/help/rss-feeds-dark.webp differdiff --git a/docs/images/help/rss-feeds.webp b/docs/images/help/rss-feeds.webpindex 1505a2af..b00123dc 100644Binary files a/docs/images/help/rss-feeds.webp and b/docs/images/help/rss-feeds.webp differdiff --git a/docs/images/help/scheduler-dark.webp b/docs/images/help/scheduler-dark.webpindex 226ca094..752729df 100644Binary files a/docs/images/help/scheduler-dark.webp and b/docs/images/help/scheduler-dark.webp differdiff --git a/docs/images/help/scheduler.webp b/docs/images/help/scheduler.webpindex 3dbc8d1d..fc73ba4a 100644Binary files a/docs/images/help/scheduler.webp and b/docs/images/help/scheduler.webp differdiff --git a/docs/images/help/site-gallery-dark.webp b/docs/images/help/site-gallery-dark.webpindex ab7af82a..c8bee789 100644Binary files a/docs/images/help/site-gallery-dark.webp and b/docs/images/help/site-gallery-dark.webp differdiff --git a/docs/images/help/site-gallery.webp b/docs/images/help/site-gallery.webpindex b47a337f..724c8aac 100644Binary files a/docs/images/help/site-gallery.webp and b/docs/images/help/site-gallery.webp differdiff --git a/docs/images/help/site-theme-adwaita-dark.webp b/docs/images/help/site-theme-adwaita-dark.webpindex af4d4d53..40cbc4b2 100644Binary files a/docs/images/help/site-theme-adwaita-dark.webp and b/docs/images/help/site-theme-adwaita-dark.webp differdiff --git a/docs/images/help/site-theme-adwaita.webp b/docs/images/help/site-theme-adwaita.webpindex 12155f48..182d9540 100644Binary files a/docs/images/help/site-theme-adwaita.webp and b/docs/images/help/site-theme-adwaita.webp differdiff --git a/docs/images/help/site-theme-aero-dark.webp b/docs/images/help/site-theme-aero-dark.webpindex 7d3610d3..01711c5f 100644Binary files a/docs/images/help/site-theme-aero-dark.webp and b/docs/images/help/site-theme-aero-dark.webp differdiff --git a/docs/images/help/site-theme-aero.webp b/docs/images/help/site-theme-aero.webpindex e3a69598..60fb98c2 100644Binary files a/docs/images/help/site-theme-aero.webp and b/docs/images/help/site-theme-aero.webp differdiff --git a/docs/images/help/site-theme-aqua-dark.webp b/docs/images/help/site-theme-aqua-dark.webpindex a960fb0a..af8b9405 100644Binary files a/docs/images/help/site-theme-aqua-dark.webp and b/docs/images/help/site-theme-aqua-dark.webp differdiff --git a/docs/images/help/site-theme-aqua.webp b/docs/images/help/site-theme-aqua.webpindex c0475be6..b4bb29cb 100644Binary files a/docs/images/help/site-theme-aqua.webp and b/docs/images/help/site-theme-aqua.webp differdiff --git a/docs/images/help/site-theme-breeze-dark.webp b/docs/images/help/site-theme-breeze-dark.webpindex 9f8b2f61..67e3e751 100644Binary files a/docs/images/help/site-theme-breeze-dark.webp and b/docs/images/help/site-theme-breeze-dark.webp differdiff --git a/docs/images/help/site-theme-breeze.webp b/docs/images/help/site-theme-breeze.webpindex f604e2ae..dd61424a 100644Binary files a/docs/images/help/site-theme-breeze.webp and b/docs/images/help/site-theme-breeze.webp differdiff --git a/docs/images/help/site-theme-classic-dark.webp b/docs/images/help/site-theme-classic-dark.webpindex 9375c6be..2efa6b46 100644Binary files a/docs/images/help/site-theme-classic-dark.webp and b/docs/images/help/site-theme-classic-dark.webp differdiff --git a/docs/images/help/site-theme-classic.webp b/docs/images/help/site-theme-classic.webpindex 6e051e0c..af2ef778 100644Binary files a/docs/images/help/site-theme-classic.webp and b/docs/images/help/site-theme-classic.webp differdiff --git a/docs/images/help/site-theme-high-contrast-dark.webp b/docs/images/help/site-theme-high-contrast-dark.webpindex d498823d..b5bd34cd 100644Binary files a/docs/images/help/site-theme-high-contrast-dark.webp and b/docs/images/help/site-theme-high-contrast-dark.webp differdiff --git a/docs/images/help/site-theme-high-contrast.webp b/docs/images/help/site-theme-high-contrast.webpindex aa2037c6..4f887b69 100644Binary files a/docs/images/help/site-theme-high-contrast.webp and b/docs/images/help/site-theme-high-contrast.webp differdiff --git a/docs/images/help/site-theme-luna-dark.webp b/docs/images/help/site-theme-luna-dark.webpindex 962ec80c..d2841f44 100644Binary files a/docs/images/help/site-theme-luna-dark.webp and b/docs/images/help/site-theme-luna-dark.webp differdiff --git a/docs/images/help/site-theme-luna.webp b/docs/images/help/site-theme-luna.webpindex 2efa99a7..64ac2443 100644Binary files a/docs/images/help/site-theme-luna.webp and b/docs/images/help/site-theme-luna.webp differdiff --git a/docs/images/help/site-theme-metro-dark.webp b/docs/images/help/site-theme-metro-dark.webpindex e74fbfe8..c616fa1a 100644Binary files a/docs/images/help/site-theme-metro-dark.webp and b/docs/images/help/site-theme-metro-dark.webp differdiff --git a/docs/images/help/site-theme-metro.webp b/docs/images/help/site-theme-metro.webpindex 092a372f..0f430bf8 100644Binary files a/docs/images/help/site-theme-metro.webp and b/docs/images/help/site-theme-metro.webp differdiff --git a/docs/images/help/site-theme-native-dark.webp b/docs/images/help/site-theme-native-dark.webpindex d5cbff31..e3abb1d4 100644Binary files a/docs/images/help/site-theme-native-dark.webp and b/docs/images/help/site-theme-native-dark.webp differdiff --git a/docs/images/help/site-theme-native.webp b/docs/images/help/site-theme-native.webpindex 62c543cc..8ba96045 100644Binary files a/docs/images/help/site-theme-native.webp and b/docs/images/help/site-theme-native.webp differdiff --git a/docs/images/help/speed-limiter-dark.webp b/docs/images/help/speed-limiter-dark.webpindex 5711bcad..7cba5a06 100644Binary files a/docs/images/help/speed-limiter-dark.webp and b/docs/images/help/speed-limiter-dark.webp differdiff --git a/docs/images/help/speed-limiter.webp b/docs/images/help/speed-limiter.webpindex 07d98165..737c1756 100644Binary files a/docs/images/help/speed-limiter.webp and b/docs/images/help/speed-limiter.webp differdiff --git a/docs/images/help/test-integration-dark.webp b/docs/images/help/test-integration-dark.webpindex 6800834f..3fcdf6e9 100644Binary files a/docs/images/help/test-integration-dark.webp and b/docs/images/help/test-integration-dark.webp differdiff --git a/docs/images/help/test-integration.webp b/docs/images/help/test-integration.webpindex f9899e63..bfb78dac 100644Binary files a/docs/images/help/test-integration.webp and b/docs/images/help/test-integration.webp differdiff --git a/docs/images/help/theme-adwaita-dark.webp b/docs/images/help/theme-adwaita-dark.webpindex ec5a96a9..cf9f4099 100644Binary files a/docs/images/help/theme-adwaita-dark.webp and b/docs/images/help/theme-adwaita-dark.webp differdiff --git a/docs/images/help/theme-adwaita.webp b/docs/images/help/theme-adwaita.webpindex 63ab9354..73cc21a4 100644Binary files a/docs/images/help/theme-adwaita.webp and b/docs/images/help/theme-adwaita.webp differdiff --git a/docs/images/help/theme-breeze-dark.webp b/docs/images/help/theme-breeze-dark.webpindex d8f597aa..44a3fd40 100644Binary files a/docs/images/help/theme-breeze-dark.webp and b/docs/images/help/theme-breeze-dark.webp differdiff --git a/docs/images/help/theme-breeze.webp b/docs/images/help/theme-breeze.webpindex fcfd7bf6..031c6057 100644Binary files a/docs/images/help/theme-breeze.webp and b/docs/images/help/theme-breeze.webp differdiff --git a/docs/images/help/theme-classic-dark.webp b/docs/images/help/theme-classic-dark.webpindex 75871d95..d4af489f 100644Binary files a/docs/images/help/theme-classic-dark.webp and b/docs/images/help/theme-classic-dark.webp differdiff --git a/docs/images/help/theme-classic.webp b/docs/images/help/theme-classic.webpindex f0ac390a..e4cae431 100644Binary files a/docs/images/help/theme-classic.webp and b/docs/images/help/theme-classic.webp differdiff --git a/docs/images/help/theme-high-contrast-dark.webp b/docs/images/help/theme-high-contrast-dark.webpindex d6b7769a..cc2c298c 100644Binary files a/docs/images/help/theme-high-contrast-dark.webp and b/docs/images/help/theme-high-contrast-dark.webp differdiff --git a/docs/images/help/theme-high-contrast.webp b/docs/images/help/theme-high-contrast.webpindex 7d2639fb..74bebd66 100644Binary files a/docs/images/help/theme-high-contrast.webp and b/docs/images/help/theme-high-contrast.webp differdiff --git a/docs/images/help/torrent-add-dark.webp b/docs/images/help/torrent-add-dark.webpindex 249bd3b3..a2ca0b52 100644Binary files a/docs/images/help/torrent-add-dark.webp and b/docs/images/help/torrent-add-dark.webp differdiff --git a/docs/images/help/torrent-add.webp b/docs/images/help/torrent-add.webpindex 281c1a4d..99056382 100644Binary files a/docs/images/help/torrent-add.webp and b/docs/images/help/torrent-add.webp differdiff --git a/docs/images/help/torrent-files.webp b/docs/images/help/torrent-files.webpindex 7ff1f5cf..74283fb6 100644Binary files a/docs/images/help/torrent-files.webp and b/docs/images/help/torrent-files.webp differdiff --git a/docs/images/help/torrent-pieces.webp b/docs/images/help/torrent-pieces.webpindex 1b9862f7..ad3e2ea2 100644Binary files a/docs/images/help/torrent-pieces.webp and b/docs/images/help/torrent-pieces.webp differdiff --git a/docs/images/help/torrent-settings-dark.webp b/docs/images/help/torrent-settings-dark.webpindex d60cca95..4633c450 100644Binary files a/docs/images/help/torrent-settings-dark.webp and b/docs/images/help/torrent-settings-dark.webp differdiff --git a/docs/images/help/torrent-settings.webp b/docs/images/help/torrent-settings.webpindex f3a3b8f1..289cc983 100644Binary files a/docs/images/help/torrent-settings.webp and b/docs/images/help/torrent-settings.webp differdiff --git a/docs/images/help/usb-save-to-dark.webp b/docs/images/help/usb-save-to-dark.webpindex e286a02f..138db81a 100644Binary files a/docs/images/help/usb-save-to-dark.webp and b/docs/images/help/usb-save-to-dark.webp differdiff --git a/docs/images/help/usb-save-to.webp b/docs/images/help/usb-save-to.webpindex 7d3a30d2..d5573746 100644Binary files a/docs/images/help/usb-save-to.webp and b/docs/images/help/usb-save-to.webp differdiff --git a/docs/images/help/vfp-progress.webp b/docs/images/help/vfp-progress.webpindex 565a2069..56d55d1f 100644Binary files a/docs/images/help/vfp-progress.webp and b/docs/images/help/vfp-progress.webp differdiff --git a/docs/images/help/vfp-qualities-dark.webp b/docs/images/help/vfp-qualities-dark.webpindex 7a657f73..748c3989 100644Binary files a/docs/images/help/vfp-qualities-dark.webp and b/docs/images/help/vfp-qualities-dark.webp differdiff --git a/docs/images/help/vfp-qualities.webp b/docs/images/help/vfp-qualities.webpindex a877dc4e..796ca95c 100644Binary files a/docs/images/help/vfp-qualities.webp and b/docs/images/help/vfp-qualities.webp differdiff --git a/docs/images/help/video-button.webp b/docs/images/help/video-button.webpindex 455ef100..99b2024d 100644Binary files a/docs/images/help/video-button.webp and b/docs/images/help/video-button.webp differdiff --git a/docs/images/help/video-helpers-dark.webp b/docs/images/help/video-helpers-dark.webpindex bb7333bb..0292bd43 100644Binary files a/docs/images/help/video-helpers-dark.webp and b/docs/images/help/video-helpers-dark.webp differdiff --git a/docs/images/help/video-helpers.webp b/docs/images/help/video-helpers.webpindex 7a701196..4cc21309 100644Binary files a/docs/images/help/video-helpers.webp and b/docs/images/help/video-helpers.webp differdiff --git a/docs/images/help/video-lookup-dark.webp b/docs/images/help/video-lookup-dark.webpindex 976bbe02..f0e1cb0c 100644Binary files a/docs/images/help/video-lookup-dark.webp and b/docs/images/help/video-lookup-dark.webp differdiff --git a/docs/images/help/video-lookup.webp b/docs/images/help/video-lookup.webpindex 14641bb0..06144c5b 100644Binary files a/docs/images/help/video-lookup.webp and b/docs/images/help/video-lookup.webp differdiff --git a/docs/images/help/video-playlist-dark.webp b/docs/images/help/video-playlist-dark.webpindex 60132e54..df85aff7 100644Binary files a/docs/images/help/video-playlist-dark.webp and b/docs/images/help/video-playlist-dark.webp differdiff --git a/docs/images/help/video-playlist.webp b/docs/images/help/video-playlist.webpindex 1dcd3d4a..1baadaf4 100644Binary files a/docs/images/help/video-playlist.webp and b/docs/images/help/video-playlist.webp differdiff --git a/docs/images/help/video-progress.webp b/docs/images/help/video-progress.webpindex 565a2069..56d55d1f 100644Binary files a/docs/images/help/video-progress.webp and b/docs/images/help/video-progress.webp differdiff --git a/docs/images/help/video-qualities-dark.webp b/docs/images/help/video-qualities-dark.webpindex 7a657f73..748c3989 100644Binary files a/docs/images/help/video-qualities-dark.webp and b/docs/images/help/video-qualities-dark.webp differdiff --git a/docs/images/help/video-qualities.webp b/docs/images/help/video-qualities.webpindex a877dc4e..796ca95c 100644Binary files a/docs/images/help/video-qualities.webp and b/docs/images/help/video-qualities.webp differdiff --git a/docs/images/help/video-subtitles-dark.webp b/docs/images/help/video-subtitles-dark.webpindex 7ca77209..87b2a881 100644Binary files a/docs/images/help/video-subtitles-dark.webp and b/docs/images/help/video-subtitles-dark.webp differdiff --git a/docs/images/help/video-subtitles.webp b/docs/images/help/video-subtitles.webpindex f6756f55..36082f3d 100644Binary files a/docs/images/help/video-subtitles.webp and b/docs/images/help/video-subtitles.webp differdiff --git a/docs/images/help/view-dark-mode-dark.webp b/docs/images/help/view-dark-mode-dark.webpindex d4d7e9f9..df01a2cc 100644Binary files a/docs/images/help/view-dark-mode-dark.webp and b/docs/images/help/view-dark-mode-dark.webp differdiff --git a/docs/images/help/view-dark-mode.webp b/docs/images/help/view-dark-mode.webpindex a9925901..3d5ac0c8 100644Binary files a/docs/images/help/view-dark-mode.webp and b/docs/images/help/view-dark-mode.webp differdiff --git a/docs/images/help/view-theme-dark.webp b/docs/images/help/view-theme-dark.webpindex 62ca16b8..12bb3e1b 100644Binary files a/docs/images/help/view-theme-dark.webp and b/docs/images/help/view-theme-dark.webp differdiff --git a/docs/images/help/view-theme.webp b/docs/images/help/view-theme.webpindex 960449d6..d07632c8 100644Binary files a/docs/images/help/view-theme.webp and b/docs/images/help/view-theme.webp differdiff --git a/docs/images/kde-main-linux.webp b/docs/images/kde-main-linux.webpnew file mode 100644index 00000000..9ba2919fBinary files /dev/null and b/docs/images/kde-main-linux.webp differdiff --git a/docs/images/language-picker.png b/docs/images/language-picker.pngdeleted file mode 100644index dd8e2932..00000000Binary files a/docs/images/language-picker.png and /dev/null differdiff --git a/docs/images/language-picker.webp b/docs/images/language-picker.webpnew file mode 100644index 00000000..f807c52fBinary files /dev/null and b/docs/images/language-picker.webp differdiff --git a/docs/images/main-dark.png b/docs/images/main-dark.pngdeleted file mode 100644index 2097ad40..00000000Binary files a/docs/images/main-dark.png and /dev/null differdiff --git a/docs/images/main-dark.webp b/docs/images/main-dark.webpnew file mode 100644index 00000000..107fccd3Binary files /dev/null and b/docs/images/main-dark.webp differdiff --git a/docs/images/main-light.png b/docs/images/main-light.pngdeleted file mode 100644index c843ff36..00000000Binary files a/docs/images/main-light.png and /dev/null differdiff --git a/docs/images/main-light.webp b/docs/images/main-light.webpnew file mode 100644index 00000000..65db3a20Binary files /dev/null and b/docs/images/main-light.webp differdiff --git a/docs/images/main-linux-dark.webp b/docs/images/main-linux-dark.webpnew file mode 100644index 00000000..184a8a25Binary files /dev/null and b/docs/images/main-linux-dark.webp differdiff --git a/docs/images/main-linux.webp b/docs/images/main-linux.webpnew file mode 100644index 00000000..f8293879Binary files /dev/null and b/docs/images/main-linux.webp differdiff --git a/docs/images/options-connection.png b/docs/images/options-connection.pngdeleted file mode 100644index c1823b5b..00000000Binary files a/docs/images/options-connection.png and /dev/null differdiff --git a/docs/images/options-connection.webp b/docs/images/options-connection.webpnew file mode 100644index 00000000..0b9869c1Binary files /dev/null and b/docs/images/options-connection.webp differdiff --git a/docs/images/options-linux.webp b/docs/images/options-linux.webpnew file mode 100644index 00000000..be612290Binary files /dev/null and b/docs/images/options-linux.webp differdiff --git a/docs/images/options-remote.png b/docs/images/options-remote.pngdeleted file mode 100644index 698fedd8..00000000Binary files a/docs/images/options-remote.png and /dev/null differdiff --git a/docs/images/options-remote.webp b/docs/images/options-remote.webpnew file mode 100644index 00000000..a11b1691Binary files /dev/null and b/docs/images/options-remote.webp differdiff --git a/docs/images/progress-linux.webp b/docs/images/progress-linux.webpnew file mode 100644index 00000000..36dd9976Binary files /dev/null and b/docs/images/progress-linux.webp differdiff --git a/docs/images/progress-torrent-pieces.png b/docs/images/progress-torrent-pieces.pngdeleted file mode 100644index 6cebfdc9..00000000Binary files a/docs/images/progress-torrent-pieces.png and /dev/null differdiff --git a/docs/images/progress-torrent-pieces.webp b/docs/images/progress-torrent-pieces.webpnew file mode 100644index 00000000..ad3e2ea2Binary files /dev/null and b/docs/images/progress-torrent-pieces.webp differdiff --git a/docs/images/progress-torrent.png b/docs/images/progress-torrent.pngdeleted file mode 100644index 408561e2..00000000Binary files a/docs/images/progress-torrent.png and /dev/null differdiff --git a/docs/images/progress-torrent.webp b/docs/images/progress-torrent.webpnew file mode 100644index 00000000..74283fb6Binary files /dev/null and b/docs/images/progress-torrent.webp differdiff --git a/docs/images/progress-video.png b/docs/images/progress-video.pngdeleted file mode 100644index 94f17586..00000000Binary files a/docs/images/progress-video.png and /dev/null differdiff --git a/docs/images/progress-video.webp b/docs/images/progress-video.webpnew file mode 100644index 00000000..56d55d1fBinary files /dev/null and b/docs/images/progress-video.webp differdiff --git a/docs/images/progress.png b/docs/images/progress.pngdeleted file mode 100644index 92244c44..00000000Binary files a/docs/images/progress.png and /dev/null differdiff --git a/docs/images/progress.webp b/docs/images/progress.webpnew file mode 100644index 00000000..f807c52fBinary files /dev/null and b/docs/images/progress.webp differdiff --git a/docs/images/remote-phone.png b/docs/images/remote-phone.pngdeleted file mode 100644index 1294b711..00000000Binary files a/docs/images/remote-phone.png and /dev/null differdiff --git a/docs/images/remote-phone.webp b/docs/images/remote-phone.webpnew file mode 100644index 00000000..be82d7f9Binary files /dev/null and b/docs/images/remote-phone.webp differdiff --git a/docs/images/scheduler-linux.webp b/docs/images/scheduler-linux.webpnew file mode 100644index 00000000..ad78ae4aBinary files /dev/null and b/docs/images/scheduler-linux.webp differdiff --git a/docs/images/scheduler.png b/docs/images/scheduler.pngdeleted file mode 100644index 1f85914b..00000000Binary files a/docs/images/scheduler.png and /dev/null differdiff --git a/docs/images/scheduler.webp b/docs/images/scheduler.webpnew file mode 100644index 00000000..9d682ba0Binary files /dev/null and b/docs/images/scheduler.webp differdiff --git a/docs/images/social-preview.png b/docs/images/social-preview.pngindex dd9eab4e..ed4b4022 100644Binary files a/docs/images/social-preview.png and b/docs/images/social-preview.png differdiff --git a/docs/images/speed-limiter.png b/docs/images/speed-limiter.pngdeleted file mode 100644index 2bb86904..00000000Binary files a/docs/images/speed-limiter.png and /dev/null differdiff --git a/docs/images/speed-limiter.webp b/docs/images/speed-limiter.webpnew file mode 100644index 00000000..737c1756Binary files /dev/null and b/docs/images/speed-limiter.webp differdiff --git a/docs/images/tray-linux.webp b/docs/images/tray-linux.webpnew file mode 100644index 00000000..54d1e6b0Binary files /dev/null and b/docs/images/tray-linux.webp differdiff --git a/docs/images/video-button-page.png b/docs/images/video-button-page.pngdeleted file mode 100644index ef149082..00000000Binary files a/docs/images/video-button-page.png and /dev/null differdiff --git a/docs/images/video-button-page.webp b/docs/images/video-button-page.webpnew file mode 100644index 00000000..cae6c494Binary files /dev/null and b/docs/images/video-button-page.webp differdiff --git a/docs/images/video-button-youtube.png b/docs/images/video-button-youtube.pngdeleted file mode 100644index bea94112..00000000Binary files a/docs/images/video-button-youtube.png and /dev/null differdiff --git a/docs/images/video-button-youtube.webp b/docs/images/video-button-youtube.webpnew file mode 100644index 00000000..42af22edBinary files /dev/null and b/docs/images/video-button-youtube.webp differdiff --git a/docs/images/xfce-main-linux.webp b/docs/images/xfce-main-linux.webpnew file mode 100644index 00000000..593187b0Binary files /dev/null and b/docs/images/xfce-main-linux.webp differdiff --git a/docs/keyboard-shortcuts.md b/docs/keyboard-shortcuts.mdindex acabe536..ac6147ea 100644--- a/docs/keyboard-shortcuts.md+++ b/docs/keyboard-shortcuts.md@@ -10,6 +10,8 @@ Narrator and NVDA on Windows): its windows, dialogs and menus tell them what eacand its state, and the download list reads each download's name, status and size. The**Categories** pane reads as a tree (each category with its count, open or shut, selected ornot), and the menu bar and every right-click menu as menus whose items can be run from there.+On Linux, screen readers (Orca) don't read MDM's windows yet; the keyboard works there as+everywhere.## Adding and finding@@ -65,6 +67,10 @@ a branch, and **Home** / **End** go to the first / last node.| **Tab** | Move between the **Categories** pane and the download list || **Up** / **Down**, **Left** / **Right** | In the **Categories** pane: the next category; close or open a branch || **Shift+F10** or the **Menu** key | In the **Categories** pane: the selected category's menu (**Properties**, **Add category**, **Delete**) |+| **Ctrl++** / **Ctrl+−** | Make everything larger / smaller, in every window (**View → Interface size**, 100 % to 200 %) |+| **Ctrl+0** | Everything at its normal size (100 %) |++A window larger than the screen at a big interface size scrolls.## In dialogsdiff --git a/docs/languages.md b/docs/languages.mdindex b499b025..c224c6dc 100644--- a/docs/languages.md+++ b/docs/languages.md@@ -9,7 +9,7 @@ MDM's interface comes in 86 languages: every display language Windows 11 offers,- **With the setup:** the setup asks for its language first, with Windows' display language selected. MDM starts in the language you choose there.- **Without the setup** (a zip copy): on the first start, MDM shows every language with its flag and its own name. Pick yours.-+## Changing it later@@ -21,11 +21,13 @@ Open **View → Language...**. The same window as on the first start opens: everIn Arabic, Hebrew, Persian, Urdu and Uyghur the whole window is mirrored: the menus, toolbar and categories run from right to left, as Windows does for these languages. File names, addresses and folder paths keep their own direction inside translated sentences, so they stay readable.-+## Numbers and dates-Numbers and the dates in the list (**Last Try Date**, **Added**) follow the region set in Windows (**Settings → Time & language → Language & region → Regional format**), so digits, separators and the date order look the way you are used to. In English, MDM writes them as IDM does (`Oct 30 21:44:12 2026`).+**Numbers** (counts, sizes, speeds, percentages and the list's columns) are written the way the interface language writes them, whatever the Windows region: German `10.200` and `1,50 MB`, French `10 200`, Hindi `1,00,000`. When your system's region is in that same language, its own way wins (Swiss German `10’200`, or a separator you set in Windows). In English, MDM writes plain digits, as IDM does (`10200`, `1.50 MB`).++**Dates and times** in the list (**Last Try Date**, **Added**) and the Scheduler follow the system's region by default (on Windows **Settings → Time & language → Language & region → Regional format**; on macOS and Linux, your language's usual way), or your own date order, clock and first day of the week in [Options → Regional](options.md#regional). In English the list keeps IDM's own date text (`Oct 30 21:44:12 2026`).A translation longer than the English ends in **...** where it doesn't fit; point at it to read it whole.@@ -44,11 +46,11 @@ context source translation```- **source** is the English text; leave it as it is. Change only **translation**.-- A row with a `#, machine` line above it was translated by machine. When you have checked it (and corrected it if needed), delete that `#, machine` line. From then on the row is yours: machine translation never replaces it.+- A row with a `#, machine` line above it was translated by machine. When you have checked it (and corrected it if needed), delete that `#, machine` line. From then on the row is yours: machine translation never replaces it, and a check on every pull request makes sure no change drops it or marks it machine again.- Lines starting with `#.` are notes for translators: where the text appears and what it means.- Keep `{name}` slots, such as `{n}` or `{file}`, exactly as they are. You can move them within the sentence.- `&` marks the keyboard letter of a menu item or button. Keep one `&` before a letter of your translation.-- `tools/i18n/glossary.tsv` explains the key terms (download, queue, category, connection, resume…). Translate each one the same way everywhere, the way Windows says it in your language.+- `tools/i18n/glossary.tsv` explains the key terms (download, queue, category, connection, resume…). Translate each one the same way everywhere, the way Windows says it in your language. `i18n/style/<code>.md` is each language's style guide: how it writes commands, questions and labels, and the terms reviewers settled.To send your changes:diff --git a/docs/link-grabber.md b/docs/link-grabber.mdindex ce9dd6c7..9116fa2d 100644--- a/docs/link-grabber.md+++ b/docs/link-grabber.md@@ -4,7 +4,7 @@**Link grabber** gathers many links at once, sorts them into packages, and lets you tick the ones to download. MDM can then extract the archives it downloaded (zip, 7z, rar and more), by itself or when you ask.-+## Where links come fromdiff --git a/docs/options.md b/docs/options.mdindex b4074171..5e448fd5 100644--- a/docs/options.md+++ b/docs/options.md@@ -35,7 +35,8 @@ See [Browser integration](browser-integration.md).*Save to: each category's file types and folder.*- **Category** — choose a category to see and change its settings below.-- **New** — make your own category. **Edit...** changes the selected one: its folder, and for your own categories its name and file types.+- **New** — make your own category. **Edit...** changes the selected one: its name, file types and folder. The built-in categories (Compressed, Documents, Music, Programs, Video) can be renamed, given other file types and deleted like your own; a renamed one keeps its folder. General and Torrents change only their folder.+- **Restore the built-in categories** — brings the built-in categories back as they came, after you renamed, retyped or deleted them.- **Automatically put in "…" category the following file types** — the file types that go to this category.- **Default download directory for "…" category** — the category's folder. Type a path or click **Browse**.- **Change folder for "…" category on last selected** — when you pick another folder in **Download File Info**, it becomes the category's folder from then on. On by default. (It sets the first state of **Remember this path** in that window.)@@ -73,7 +74,7 @@ MDM doesn't use a temporary folder: every connection writes straight into the fi- **If it can't be reached, use the system's DNS**: off by default, so a DNS that doesn't answer stops the download with a message naming it rather than quietly showing your lookups to the system's DNS. A name the DNS says doesn't exist never falls back (that would undo a filtering DNS).- **Test** asks it for github.com and shows how long it took.- The names in your hosts file, and local names (single words, `.local`, `.lan`, `.home.arpa`, `.internal`, `localhost`), stay with the system's DNS. Video pages (yt-dlp) and torrent trackers still use the system's DNS. With a proxy, the proxy looks up the names of the sites it reaches for you.+ The names in your hosts file, and local names (single words, `.local`, `.lan`, `.home.arpa`, `.internal`, `localhost`), stay with the system's DNS. Video pages (yt-dlp) and image galleries (gallery-dl) use the DNS you chose only while a [network adapter](#proxy--socks) is chosen; otherwise, like torrent trackers, they use the system's. With a proxy, the proxy looks up the names of the sites it reaches for you.More in [Connections and speed](connections-and-speed.md).@@ -83,10 +84,10 @@ More in [Connections and speed](connections-and-speed.md).*Proxy / Socks: no proxy, the system's, or your own.*- **No proxy/socks** — connect directly. This is the default.-- **Use system settings** — use the proxy set in Windows.+- **Use system settings** — use the system's proxy: Windows' or macOS' settings, or on Linux the `https_proxy`, `http_proxy` and `all_proxy` variables of your session.- **Use automatic configuration script** — the proxy auto-config (PAC) script your network gives: type its address (`http://…/proxy.pac`, or a file). MDM fetches it and asks it which proxy each download goes through (`PROXY`, `SOCKS` or `DIRECT`), as browsers do. Until it has been fetched, or if it can't be, MDM uses the system's settings.- **Manual proxy/socks configuration** — type the proxy's address, **Port**, and a **UserName** and **Password** if it needs them, then tick the protocols it is for (**http**, **https**). For a SOCKS proxy, write the address as `socks5://host`.-- **Get System** — fill in the manual fields from Windows' proxy settings.+- **Get System** — fill in the manual fields from Windows' proxy settings (on Windows).- **Use proxy/socks from a browser's request…** — on by default. A download MDM takes from the browser goes through the proxy the browser used for it. That's the one a VPN or proxy extension set, the browser's own manual proxy, or its proxy auto-config script. Without it, the download would leave from your own address, and content limited to the VPN's country, or to its address, would fail. The browser extension reads that proxy and hands it to MDM with each download, once you allow it: in Firefox, switch on **Send downloads through this browser's proxy or VPN extension** in the extension's toolbar popup (Firefox asks you once). Chrome, Edge, Brave, Opera and Vivaldi don't hand the proxy over yet: there, set the same proxy in **Options → Proxy / Socks**.- A proxy that asks for a login the VPN extension gives itself can't be shared: no other program has that login. The download then stops and says so, rather than going without the proxy. Use the VPN's own app, or choose its adapter under **Network adapter**.- In Firefox, MDM sees the proxy the browser's own request for the file took, including the ones a VPN extension picks for each request.@@ -107,6 +108,8 @@ More in [Connections and speed](connections-and-speed.md).User names and passwords for sites that ask for them. **New** adds a row: the site (with a path if the login is only for part of it), the user name and the password. **Edit** and **Remove** change or delete the selected row. MDM uses the login for every download from that site. A login typed in **Add URL** (**Use authorization**) takes priority for that one download.+The passwords (these, the proxy's and the debrid accounts') are kept in the system's keychain: Windows Credential Manager, the keyring on Linux (Secret Service: GNOME Keyring, KeePassXC and others) or the macOS keychain; MDM's settings keep only a reference. A locked keyring is never unlocked for MDM: without one, they stay in MDM's settings, sealed for your Windows account on Windows. **Options → Accounts** says where they are. A [portable copy](portable.md) keeps them in its own folder.+**Cookies for video sites** — for videos that play only when you're signed in (YouTube's "Sign in to confirm you're not a bot"):- **Off** (the default) — yt-dlp gets cookies only from the browser's extension, when you use the button over a video.@@ -152,7 +155,7 @@ Archives (zip, 7z, rar, tar, gz, xz), and [Link grabber](link-grabber.md).## Remote-+Control MDM from your phone or another computer on the local network: see[Control MDM from your phone](remote-control.md).@@ -171,7 +174,7 @@ A few settings live outside this window:- **Downloads → Speed Limiter → Settings...** — speed limits. See [Connections and speed](connections-and-speed.md#speed-limiter).- **Tasks → Torrent settings...** — sharing and file associations. See [Torrents](torrents.md#torrent-settings).-- **View → Dark Mode support** and **View → Language**.+- **View → Dark Mode support**, **Always dark**, **Theme**, **Draw with**, **Interface size** and **Language**. See [Getting started](getting-started.md#themes) and [Troubleshooting](troubleshooting.md).- **Help → Check for updates...** — **Check for updates at every start** is in that window.## Next stepsdiff --git a/docs/portable.md b/docs/portable.mdindex 113e9ea5..86498474 100644--- a/docs/portable.md+++ b/docs/portable.md@@ -8,7 +8,8 @@ The portable copy of MDM runs from any folder, including a USB stick, without in`MisterDownloadManager-<version>-portable.zip` holds the same programs as the setup, plus a folder named `data` next to `misterdownloadmanager.exe`. When that folder is there and MDM can write to it, MDM is in portable mode:-- The download list, settings, helpers for video (yt-dlp, ffmpeg) and torrent data are kept in `data`, not in your Windows profile.+- The download list, settings, helpers for video and galleries (yt-dlp, ffmpeg, gallery-dl), torrent data, your [theme files](themes.md) (`data\themes`) and the logs are kept in `data`, not in your Windows profile.+- Passwords (Sites Logins, the proxy's, debrid accounts) stay in `data` too, instead of in Windows Credential Manager. They are sealed for your Windows account: on another computer, or another account, type them again (and sign in to a debrid account again).- Nothing is written to the registry.Delete the `data` folder (or make it read-only) and the same copy behaves like the plain zip: it keeps its data in `%APPDATA%\misterdownloadmanager`.diff --git a/docs/remote-control.md b/docs/remote-control.mdindex d10afc7f..1a6d2a53 100644--- a/docs/remote-control.md+++ b/docs/remote-control.md@@ -9,7 +9,7 @@ The remote control is **off until you turn it on**, it answers **only phones andpaired** with a code MDM shows, and it listens **only on your local network** (your Wi-Fi or yourcable), never on an address the internet can reach.-+## Turn it on@@ -39,7 +39,7 @@ A code works once, for ten minutes, and not after five wrong tries: click **Newanother. To keep the page one tap away, add it to the phone's home screen (the browser's menu:**Add to Home screen**).-+## What the page doesdiff --git a/docs/server.md b/docs/server.mdindex 3c5be59d..bd1cd1b5 100644--- a/docs/server.md+++ b/docs/server.md@@ -108,7 +108,7 @@ an address: `misterdownloadmanager /d https://example.com/file.zip`.## Send downloads from your browser-In the browser extension's menu, **Send downloads to → Another MDM**: type the server's address,+In the browser extension's menu, **Send downloads to → Another Mister Download Manager (a server)**: type the server's address,open it once in that browser to accept its certificate, then enter a pairing code (`pair`above). Downloads the extension catches, and **Download with Mister Download Manager** on a link,then go to the server instead of this computer. The browser's cookies are not sent to the server:diff --git a/docs/themes.md b/docs/themes.mdnew file mode 100644index 00000000..0782da39--- /dev/null+++ b/docs/themes.md@@ -0,0 +1,135 @@+# Themes++[← Back to docs index](README.md)++A theme changes how MDM looks and keeps everything where it was: the same windows, menus and+buttons in the same places, drawn in other colours, shapes and icons. Each theme has a light and+a dark side.++## Pick one++Open **View → Theme** and click a theme: the whole window changes at once, nothing to restart.+**View → Dark Mode support** and **View → Always dark** then choose its light or dark side, as+for the classic look ([Dark mode](getting-started.md#dark-mode)).++The built-in themes are **Classic** (MDM's own look, the default), **Native** (your system's+accent colour and contrast), **High contrast**, and the style themes **Metro**, **Adwaita**,+**Breeze**, **Luna**, **Aero** and **Aqua**, each with its own control shapes and icons, and on+Windows its own title bar. [Getting started](getting-started.md#themes) describes each one; the+website's [Themes page](https://misterdownloadmanager.com/themes.html) shows them all, light and+dark.++## Where theme files go++Theme files you make or download go in MDM's themes folder. **View → Theme → Open themes folder**+opens it (and makes it the first time). It is in MDM's data folder:++| System | Folder |+|---|---|+| Windows | `%APPDATA%\misterdownloadmanager\themes` |+| Linux | `~/.local/share/misterdownloadmanager/themes` |+| macOS | `~/Library/Application Support/misterdownloadmanager/themes` |+| [Portable copy](portable.md) | `data\themes` beside the program |++Within two seconds a new file shows in **View → Theme**, under the built-in themes, by the `name`+it gives itself. After you edit a file, pick it again in **View → Theme** to see the change.++A theme can be one file (`harbour.toml`) or a folder of its own (`harbour/theme.toml`) when it+brings icons.++## The file++A theme is one small text file in [TOML](https://toml.io/) (or JSON, `.json`). It names only what+it changes; everything else comes from the theme it `inherits`:++```toml+name = "Harbour"+inherits = "classic"+icons = "color"++[seeds.light]+background = "#eef3f6"+surface = "#ffffff"+text = "#11202b"+accent = "#0f6c8c"++[seeds.dark]+background = "#14212a"+surface = "#0e171d"+text = "#e8f0f4"+accent = "#5cc3e6"++[sizes]+radius = 6++[controls]+focus = "ring"+```++- **`name`** — what **View → Theme** lists; the file's name when there is none.+- **`inherits`** — the theme yours starts from: `classic` (the default when it's left out), a+ built-in theme's id (`metro`, `adwaita`, `breeze`, `luna`, `aero`, `aqua`, `high-contrast`), or+ another theme file in the same folder, by its file name without `.toml`. A file that inherits+ another can be inherited in turn; a theme can't inherit itself.+- **`[seeds]`** — a handful of colours (`background`, `surface`, `header`, `text`, `accent`,+ `selection`, `error`, `warning`, `success`) that MDM spreads over every control.+ `[seeds.light]` and `[seeds.dark]` give each side its own.+- **`[colors]`** — single colour roles (such as `window`, `accent` or `"segments.done"`) on both+ sides; **`[light]`** and **`[dark]`** on one side only. A colour is `#rrggbb`, or `#rrggbbaa`+ with transparency. The roles a file sets win over its seeds.+- **`[sizes]`** — corner radii, border widths, font sizes and row heights, in pixels.+- **`[controls]`** — the shape of text boxes, check boxes, buttons, progress bars, scroll bars,+ the focus mark and the title bar.+- **`icons`** — `color`, `mono` (one colour) or `accent`.+- **`contrast = "high"`** — strengthens every edge and text colour on top of the rest.++Every colour role, size and control style, with what it sets, is listed on the website's+[Themes page](https://misterdownloadmanager.com/themes.html#make-your-own) (read from MDM's own+code, so it never drifts). The built-in themes are written the same way:+[read them on GitHub](https://github.com/anefzaoui/misterdownloadmanager/tree/main/crates/app/assets/themes).++A key MDM doesn't know, or a value it can't read, is skipped and written to MDM's log (the `logs`+folder beside the themes folder), so a file made for a newer MDM still loads. A file that isn't+valid TOML or JSON doesn't load, and the log says why. A file named like a built-in theme+(`metro.toml`) is passed over: give yours a name of its own.++### Icons++A theme in a folder of its own (`harbour/theme.toml`) can bring its icons in `icons/16` and+`icons/24` (and, for PNG pictures, `icons/32` and `icons/48`, used on a screen scaled to 150 % and+more), each named for what it shows (`tb-add-url.svg`, `cat-music.png`…). SVG and PNG files keep+their colours; `-symbolic.svg` and `-symbolic.png` ones, as GNOME and KDE name them, take the+theme's text colour. An icon the set lacks is drawn as the classic look draws it. The full list of+names is in [themeicons.rs](https://github.com/anefzaoui/misterdownloadmanager/blob/main/crates/app/src/themeicons.rs) (`NEEDS`).++## Make one++1. **View → Theme → Open themes folder**, and make a new `.toml` file there (any text editor).+2. Start from the example above: change the seeds' colours, then add roles and sizes as you go.+3. Pick it in **View → Theme**, and look at both sides: **View → Always dark** on and off. Check+ that text is readable and the focus mark visible in both.++The website's [Themes page](https://misterdownloadmanager.com/themes.html#ai-prompt) has a prompt+you can give an AI assistant, with the format, every key and the rules, to write a theme for you+from a description.++## Share it++Made something others would like? Open a+[pull request](https://github.com/anefzaoui/misterdownloadmanager/pulls) that adds it to+`crates/app/assets/themes`, with:++- the `.toml` file, and its folder of icons if it has one;+- screenshots of the main window in its light and its dark side;+- a `SOURCES.txt` beside any icons, saying who drew them and under which licence. Icons must be+ your own or under a licence that lets MDM share them (GPL-3.0), never copied from another+ program.++Not sure yet? Show it in the+[discussions](https://github.com/anefzaoui/misterdownloadmanager/discussions) first.+[CONTRIBUTING.md](../CONTRIBUTING.md) explains how pull requests work here.++## Next steps++- [Getting started →](getting-started.md)+- [Options →](options.md)diff --git a/docs/torrents.md b/docs/torrents.mdindex 82c03c57..7452389d 100644--- a/docs/torrents.md+++ b/docs/torrents.md@@ -111,8 +111,12 @@ Choose **Tasks → Torrent settings...** (or the arrow next to **Add Torrent**):- **Limit uploading for all torrents to** — off by default. Caps what all your torrents together send to other peers, while they download and while they share. A torrent's own upload limit, in its progress window, applies on top of it.- **Open magnet links and .torrent files with Mister Download Manager** — Windows then opens magnet links in your browser and `.torrent` files in Explorer with MDM. This is for your Windows account only; a program you chose in Windows' **Open with** stays first. The setup can turn it on for you.+The same window has the network switches (incoming connections, the port, UPnP, the DHT, a SOCKS5 proxy) and the blocklist: see [Torrents and your security](torrent-security.md).+MDM starts its torrent engine the first time you add a torrent. If you never use torrents, it never listens for peers.+With a debrid account, torrents and magnet links can go to the service instead of to peers, and MDM downloads the files from it over HTTP: see [Torrents through the service](debrid.md#torrents-through-the-service).+## Next steps- [Queues and the Scheduler →](queues-and-scheduler.md)diff --git a/docs/troubleshooting.md b/docs/troubleshooting.mdindex eecd40a0..099dfd75 100644--- a/docs/troubleshooting.md+++ b/docs/troubleshooting.md@@ -45,7 +45,7 @@ When none of this helps, the browser keeps the download, so nothing is lost. The- MDM must be running at that time. Closing the window is fine (it stays in the tray); **Tasks → Exit** is not.- Did you click **Apply** after setting the time?- **Daily** starts only on the ticked days. **Once at** starts only on that date.-- A computer that is asleep doesn't run anything until it wakes.+- A computer that is asleep doesn't run anything until it wakes, unless the queue has **Wake the computer to run this queue** ticked (on Windows it needs **Allow wake timers** in the power plan; the Scheduler says when it's off). See [Wake the computer to run a queue](queues-and-scheduler.md#wake-the-computer-to-run-a-queue).## A video won't download@@ -83,19 +83,27 @@ On Windows, MDM draws its windows with Direct3D 12; on Linux and macOS, with Ope- If Direct3D, Vulkan or Metal can't start on your computer (no driver for it, some virtual machines), or its first window doesn't show within 10 seconds, MDM draws with OpenGL, and **View → Draw with** says so and why. Choosing it again tries it again at the next start.- On Linux, Vulkan needs your graphics card's Vulkan driver: Mesa's (`mesa-vulkan-drivers` on Ubuntu and Debian, `vulkan-radeon` or `vulkan-intel` on Arch) for AMD and Intel, NVIDIA's own driver for NVIDIA.- If neither can start, MDM draws with a software renderer (Microsoft's on Windows, Mesa's on Linux), so the window still opens (Remote Desktop, a virtual machine without a graphics driver). It works, but keeps the processor busier.-- If the graphics card is reset while MDM runs (a driver update), MDM starts again by itself.+- If the graphics card is reset while MDM runs (a driver update), MDM starts again by itself. Lost twice in 10 minutes, it goes back to OpenGL, and **View → Draw with** says why.- Updating the graphics driver from the card maker's site (Intel, AMD or NVIDIA) fixes many of these problems.-- A freeze or crash report says which one was drawing: include it when you report a problem.+- A freeze or crash report says which one was drawing: include it when you report a problem. A freeze report also says whether MDM was busy, waiting, or hardly ran at all (a computer too busy to run it); see [Crash reports](crash-reports.md).## The setup or MDM won't start- If Windows says **Windows protected your PC**, click **More info**, check that the file is `MisterDownloadManager-<version>-setup.exe` from the [Releases](https://github.com/anefzaoui/misterdownloadmanager/releases) page, then click **Run anyway**.- MDM runs only once. Starting it again brings the running copy's window to the front. If nothing appears, look for MDM's icon in the notification area.+- **Linux, from the AppImage or the tar.gz:** if the system lacks a library MDM's window needs (such as `libxkbcommon-x11`), MDM names it on the terminal and in a message box, with the command that installs it (`sudo apt install libxkbcommon-x11-0`, or your distribution's). The .deb and .rpm bring these libraries themselves. In a Wayland session MDM opens its window on Wayland instead.+- **Linux, the first start is slow:** MDM looks up the system's fonts for every script once, all together, while it starts (fontconfig); a first start on a busy computer can take a few seconds more. Install your distribution's Noto fonts if some scripts or symbols show as boxes.++## HTTPS downloads fail with "no certificates" (Linux)++A minimal Linux system (often with the AppImage, the tar.gz or a build from source) may have no CA certificates, which MDM needs to check a secure server. Plain `http://` and `ftp://` downloads still work; each `https://` or `ftps://` one stops at once saying the computer has no certificates to check the server with. Install the `ca-certificates` package (`sudo apt install ca-certificates`, `sudo dnf install ca-certificates`), then resume the download. The .deb and .rpm bring it.## Where your data is- Installed or the plain zip: `%APPDATA%\misterdownloadmanager`. The list and settings are in `downloads.json`.- Portable: the `data` folder next to `misterdownloadmanager.exe`.+- Linux: `~/.local/share/misterdownloadmanager`; a Mac: `~/Library/Application Support/misterdownloadmanager`.+- Passwords (Sites Logins, the proxy, debrid accounts) are in the system's keychain, not in `downloads.json`; see [Options → Sites Logins](options.md#sites-logins).To back up your list, quit MDM (**Tasks → Exit**) and copy `downloads.json`.diff --git a/docs/video.md b/docs/video.mdindex 73d6402c..0d3f6539 100644--- a/docs/video.md+++ b/docs/video.md@@ -88,7 +88,7 @@ A page address that points at one video inside a playlist or a mix (for example## Through a VPN's adapter-With **Options → Proxy / Socks → [Network adapter](options.md#proxy--socks)** set, video downloads go through that adapter too, with the same kill switch as other downloads: MDM hands yt-dlp (and the ffmpeg it starts) a proxy of its own on this computer, and opens every connection through the adapter. When the adapter disconnects, the video download stops, and it starts again when the adapter is back. Formats sent over RTMP, RTSP, MMS or FTP can't go through it and are refused.+With **Options → Proxy / Socks → [Network adapter](options.md#proxy--socks)** set, video downloads go through that adapter too, with the same kill switch as other downloads: MDM hands yt-dlp (and the ffmpeg it starts) a proxy of its own on this computer, and opens every connection through the adapter, looking the names up with the DNS you chose in **Options → Connection** (without an adapter, yt-dlp uses the system's DNS). When the adapter disconnects, the video download stops, and it starts again when the adapter is back. Formats sent over RTMP, RTSP, MMS or FTP can't go through it and are refused.## Sites that want you signed in@@ -99,7 +99,8 @@ signed in.- **The Download video button over the video** passes that page's cookies, from the window andprofile you're in (a private window, a Firefox container), for the look-up and the download.- Nothing to set up.+ Nothing to set up. Each cookie goes with the domain the browser keeps it for, so a sign-in on+ YouTube Music (music.youtube.com) or YouTube's mobile site reaches www.youtube.com too.- **A pasted address** (Add URL, Download video from a page, a playlist): choose your browser in**Options → Sites Logins → Cookies for video sites**. yt-dlp then reads that browser's cookieson this computer for every video it looks up or downloads. When the extension passed thediff --git a/tools/lab/docs-shots.ps1 b/tools/lab/docs-shots.ps1index 7b86ebda..16dda12d 100644--- a/tools/lab/docs-shots.ps1+++ b/tools/lab/docs-shots.ps1@@ -1,4 +1,5 @@-# Screenshots for the README and docs/ (docs/images/<name>.png). The published ones are taken on+# Screenshots for the README and docs/ (raw PNGs; `python tools/shots/make.py docs <run>` makes+# docs/images/<name>.webp of them, tools/website/screens.py the site's). The published ones are taken on# GitHub's Windows runner (.github/workflows/docs-shots.yml), a stock Windows whose file icons are# Windows' own; a run here shows this PC's. At 1x: MDM_ZOOM=2 draws the content# twice as large but Windows keeps the title bar at the display's scale, out of proportion. Runs itsdiff --git a/tools/lab/linux-vm/docs-shots-host.ps1 b/tools/lab/linux-vm/docs-shots-host.ps1new file mode 100644index 00000000..de3b666c--- /dev/null+++ b/tools/lab/linux-vm/docs-shots-host.ps1@@ -0,0 +1,111 @@+<#+The README's, docs' and site's Linux screenshots, from the Windows host: docs-shots.sh runs in a+lab VM (GNOME in mdm-ubuntu; KDE Plasma, Cinnamon and Xfce in its clones), its PNGs come back into+target\linux-shots\<vm>\, and -Publish writes them as lossless WebP where the docs and the site+show them. The host's own screen, keyboard and mouse are never used.++ tools\lab\wsl\deploy.ps1 main mdm-ubuntu # the build, from mdm-lab+ tools\lab\linux-vm\docs-shots-host.ps1 main # every shot, light and dark+ tools\lab\linux-vm\docs-shots-host.ps1 main -Only tray -TrayAt "1166 14"+ tools\lab\linux-vm\docs-shots-host.ps1 main -Publish # into docs/images and the site+ tools\lab\linux-vm\docs-shots-host.ps1 main -Vm mdm-kde -Desktop kde -Modes light -Only main -MainAt "40,30" -Publish++What was taken for #186: GNOME (mdm-ubuntu) the whole list with -TrayAt "1153 16"; KDE Plasma,+Cinnamon and Xfce (the clones) their main window with -MainAt "40,30" (Plasma keeps a login+notification at the bottom right). A shot taken while the VM is busy can show it (a far round+trip, a window still opening): look at each one, and take that one again with -Only (the others+stay).++GNOME (-Desktop gnome, the default) publishes docs/images/<shot>-linux.webp (the dark main window+as main-dark-linux.webp) and the site's pairs website/assets/screens/<main|progress|options>-linux-+<light|dark>.webp; another desktop publishes its main window as docs/images/<desktop>-main-linux.webp.++The tray's shot clicks MDM's icon in the top bar: -TrayAt "x y" is its place on the VM's screen+(a first run without it saves the top bar as topbar.png to find it). The VM's account comes from+MDM_VM_USER / MDM_VM_PASSWORD or the local file deploy.ps1 reads, and is never printed.+#>+param(+ [Parameter(Position = 0, Mandatory)] [string] $Label,+ [string] $Vm = 'mdm-ubuntu',+ [ValidateSet('gnome', 'kde', 'cinnamon', 'xfce')] [string] $Desktop = 'gnome',+ [string] $Modes = 'light,dark',+ [string] $Only = '',+ [string] $TrayAt = '',+ # Where the main window goes ("x,y"), clear of a desktop's lasting notification.+ [string] $MainAt = '',+ [switch] $Publish,+ [switch] $NoShoot+)+$ErrorActionPreference = 'Stop'+$root = (Resolve-Path (Join-Path $PSScriptRoot '..\..\..')).Path+$vbox = Join-Path $env:ProgramFiles 'Oracle\VirtualBox\VBoxManage.exe'+if ($Label -notmatch '^[A-Za-z0-9._-]+$') { throw "label: letters, digits, '.', '_' and '-' only" }+$user = $env:MDM_VM_USER; $pass = $env:MDM_VM_PASSWORD+$keys = Join-Path $env:USERPROFILE '.mdm-dev\vm-account.txt'+if ((-not $user -or -not $pass) -and (Test-Path $keys)) {+ foreach ($line in Get-Content $keys) {+ if (-not $user -and $line -match '^\s*user:\s*(\S+)') { $user = $Matches[1] }+ if (-not $pass -and $line -match '^\s*password:\s*(\S+)') { $pass = $Matches[1] }+ }+}+if (-not $user -or -not $pass) { throw "no VM account: set MDM_VM_USER and MDM_VM_PASSWORD" }+$auth = @('--username', $user, '--password', $pass)+$local = Join-Path $root "target\linux-shots\$Vm"++if (-not $NoShoot) {+ $state = (& $vbox showvminfo $Vm --machinereadable | Select-String '^VMState=').ToString()+ if ($state -notmatch 'running') { throw "$Vm is not running ($state)" }+ $guestOut = "/home/$user/lab/shots/docs-$Label"+ # The script and the torrent the Add torrent shot opens.+ & $vbox guestcontrol $Vm copyto @auth --target-directory "/home/$user/lab/" (Join-Path $PSScriptRoot 'docs-shots.sh')+ & $vbox guestcontrol $Vm copyto @auth (Join-Path $root 'tools\lab\Open Movie Night.torrent') "/home/$user/lab/docs-shots.torrent"+ if ($LASTEXITCODE) { throw "copy to $Vm failed ($LASTEXITCODE)" }+ # The guest's errors on its standard output: Windows PowerShell stops at a native command's+ # stderr under ErrorActionPreference Stop.+ $env_ = "exec 2>&1; export MDM_SUDO_PASSWORD='$pass' MDM_TRAY_AT='$TrayAt' MDM_MAIN_AT='$MainAt'; "+ & $vbox guestcontrol $Vm run --exe /bin/bash @auth --timeout 1200000 --wait-stdout --wait-stderr -- -c `+ ($env_ + "rm -rf '$guestOut'; bash ~/lab/docs-shots.sh '$Label' '$guestOut' '$Modes' '$Only'")+ if ($LASTEXITCODE) { throw "docs-shots.sh failed ($LASTEXITCODE)" }+ # A run's modes replace their folders; a run with -Only replaces those shots only.+ foreach ($m in $Modes -split ',') {+ if (-not $Only) { Remove-Item -Recurse -Force "$local\$m" -ErrorAction SilentlyContinue }+ foreach ($n in ($Only -split ',' | Where-Object { $_ })) { Remove-Item -Force "$local\$m\$n.png" -ErrorAction SilentlyContinue }+ }+ New-Item -ItemType Directory -Force $local | Out-Null+ $ErrorActionPreference = 'Continue'+ foreach ($m in $Modes -split ',') {+ & $vbox guestcontrol $Vm copyfrom @auth --recursive --target-directory "$local\" "$guestOut/$m" 2>&1 | Out-Null+ }+ $ErrorActionPreference = 'Stop'+ Get-ChildItem -Recurse -File $local | ForEach-Object { " {0}\{1}" -f $_.Directory.Name, $_.Name }+}++if ($Publish) {+ # Lossless WebP (Pillow, method 6): the same pixels as the PNG, opaque.+ $py = @'+import sys+from pathlib import Path+from PIL import Image+local, root, desktop = Path(sys.argv[1]), Path(sys.argv[2]), sys.argv[3]+docs, site = root / "docs" / "images", root / "website" / "assets" / "screens"+jobs = []+if desktop == "gnome":+ for name in ["main", "add-url", "progress", "options", "scheduler", "add-torrent", "browser-offer", "tray"]:+ jobs.append((local / "light" / f"{name}.png", docs / f"{name}-linux.webp"))+ jobs.append((local / "dark" / "main.png", docs / "main-dark-linux.webp"))+ for name in ["main", "progress", "options"]:+ for mode in ["light", "dark"]:+ jobs.append((local / mode / f"{name}.png", site / f"{name}-linux-{mode}.webp"))+else:+ jobs.append((local / "light" / "main.png", docs / f"{desktop}-main-linux.webp"))+for src, dst in jobs:+ if not src.exists():+ print(f" {dst.name}: no {src.parent.name}/{src.name}")+ continue+ im = Image.open(src).convert("RGB")+ im.save(dst, "WEBP", lossless=True, quality=100, method=6)+ kb = dst.stat().st_size / 1024+ print(f" {dst.relative_to(root).as_posix()} {im.width}x{im.height} {kb:.0f} KB" + (" OVER 300 KB" if kb > 300 else ""))+'@+ $py | python - $local $root $Desktop+}diff --git a/tools/lab/linux-vm/docs-shots.sh b/tools/lab/linux-vm/docs-shots.shnew file mode 100644index 00000000..6f903175--- /dev/null+++ b/tools/lab/linux-vm/docs-shots.sh@@ -0,0 +1,207 @@+#!/bin/bash+# The README's, docs' and site's Linux screenshots, on a real desktop: GNOME, KDE Plasma,+# Cinnamon or Xfce in a lab VM (docs-shots-host.ps1 runs this from the Windows host and makes the+# WebP files). The Linux counterpart of tools/lab/docs-shots.ps1: an MDM of its own (its own data+# folder, MDM_DATA_DIR, and download folders), its own lab server with neutral files, every window+# opened through MDM's own command line (`/show <window>`), at 1x.+#+# docs-shots.sh <label> [out folder] [light,dark] [main,add-url,...]+#+# <label>: a build in ~/lab/bin/<label>/ (tools/lab/wsl/deploy.ps1). Shots land in+# <out folder>/<mode>/<name>.png (default ~/lab/shots/docs-<label>). The list (default: all):+# main add-url progress options scheduler add-torrent browser-offer tray+# `tray` (light only) is the top right of the screen with MDM's icon in the desktop's tray and its+# menu open, clicked as a person would: real input inside the VM, never on the host.+#+# Captured inside the guest (ImageMagick's `import -window root`, cropped to the window's frame,+# title bar included, from _NET_FRAME_EXTENTS): VirtualBox's own screenshots come out black since+# the guests' kernel update. A shot is kept once two reads in a row are the same (a progress+# window, which never settles, after a few tries).+#+# MDM_SUDO_PASSWORD (set by the host side): the lab server answers as http://downloads.example on+# port 80 (a reserved name added to /etc/hosts, unprivileged ports from 80 for this boot only), so+# the addresses in the shots are neutral; without it, http://127.0.0.1:8199.+set -u+. ~/lab/env.sh+label=$1+out=${2:-$HOME/lab/shots/docs-$label}+modes=${3:-light,dark}+only=${4:-}+bin=$HOME/lab/bin/$label+app=$bin/misterdownloadmanager+# The run's folder shows in some windows (Add torrent's): short and neutral, as docs-shots.ps1's+# C:\Demo.+run=$HOME/Demo+torrent=$HOME/lab/docs-shots.torrent+want() { [ -z "$only" ] || [[ ",$only," == *",$1,"* ]]; }+sudo_() { echo "$MDM_SUDO_PASSWORD" | sudo -S -p '' "$@"; }++# ---- The lab server, at a neutral address when it can be+port=8199; host=127.0.0.1+if [ -n "${MDM_SUDO_PASSWORD:-}" ] && ! ss -ltn | grep -q '127.0.0.1:80 '; then+ grep -q 'downloads\.example' /etc/hosts || sudo_ sh -c "echo '127.0.0.1 downloads.example' >> /etc/hosts"+ sudo_ sysctl -q net.ipv4.ip_unprivileged_port_start=80+ port=80; host=downloads.example+fi+base="http://$host"; [ "$port" = 80 ] || base="http://$host:$port"+pkill -f "$bin/labserver" 2>/dev/null+setsid -f "$bin/labserver" --bind "127.0.0.1:$port" >/dev/null 2>&1 </dev/null+sleep 1++# ---- The desktop: no notification banners during the shots (put back at the end), the overview+# closed, the pointer at the screen's right edge (no hover or tooltip).+banners=$(gsettings get org.gnome.desktop.notifications show-banners 2>/dev/null)+gsettings set org.gnome.desktop.notifications show-banners false 2>/dev/null+# The dark shots on a dark desktop, as someone in dark mode sees MDM: the window manager's title+# bar follows the desktop's theme, not MDM's (GNOME; put back at the end).+gtk_theme=$(gsettings get org.gnome.desktop.interface gtk-theme 2>/dev/null | tr -d "'")+scheme=$(gsettings get org.gnome.desktop.interface color-scheme 2>/dev/null | tr -d "'")+desktop_mode() {+ [ -n "$gtk_theme" ] || return 0+ if [ "$1" = dark ]; then+ gsettings set org.gnome.desktop.interface color-scheme prefer-dark+ case "$gtk_theme" in *-dark) ;; *) gsettings set org.gnome.desktop.interface gtk-theme "$gtk_theme-dark" ;; esac+ else+ gsettings set org.gnome.desktop.interface color-scheme "$scheme"+ gsettings set org.gnome.desktop.interface gtk-theme "$gtk_theme"+ fi+ sleep 2+}+gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell \+ --method org.freedesktop.DBus.Properties.Set org.gnome.Shell OverviewActive '<false>' >/dev/null 2>&1+read -r SW SH < <(xdotool getdisplaygeometry)+park() { xdotool mousemove $((SW - 2)) $((SH / 2)); }++mine() { wmctrl -lp | awk -v p="$PID" '$3 == p {print $1}'; }+# The window's frame on the screen, "X Y W H": the client grown by the window manager's title bar+# and borders, clipped to the screen.+frame() {+ local l r t b+ read -r l r t b < <(timeout 5 xprop -id "$1" _NET_FRAME_EXTENTS | grep -o '[0-9]\+' | tr '\n' ' ')+ timeout 5 xwininfo -id "$1" | awk -v l="${l:-0}" -v r="${r:-0}" -v t="${t:-0}" -v b="${b:-0}" -v sw="$SW" -v sh="$SH" '+ /Absolute upper-left X/ {x=$4} /Absolute upper-left Y/ {y=$4} /Width:/ {w=$2} /Height:/ {h=$2}+ END { x -= l; y -= t; w += l + r; h += t + b+ if (x < 0) { w += x; x = 0 } if (y < 0) { h += y; y = 0 }+ if (x + w > sw) w = sw - x; if (y + h > sh) h = sh - y+ print x, y, w, h }'+}+# A rectangle of the screen into <file>, once two reads in a row are the same (at most 8 reads).+grab() {+ local x=$1 y=$2 w=$3 h=$4 file=$5 last="" sum+ for _ in $(seq 8); do+ import -silent -window root -crop "${w}x${h}+${x}+${y}" +repage "$file"+ sum=$(convert "$file" rgb:- 2>/dev/null | md5sum)+ [ "$sum" = "$last" ] && break+ last=$sum; sleep 0.8+ done+ echo " $(basename "$file") ${w}x${h}"+}+shoot() { # <window id> <name>+ timeout 5 wmctrl -i -a "$1"; park; sleep 1.5+ read -r x y w h < <(frame "$1")+ grab "$x" "$y" "$w" "$h" "$dir/$2.png"+}+# The window that appears after <command>, by id (up to 20 s).+opened() {+ local before new+ before=$(mine | sort)+ "$@" >/dev/null 2>&1+ for _ in $(seq 40); do+ new=$(comm -13 <(echo "$before") <(mine | sort) | tail -1)+ # Not the main window under a new id (its title: the program's name and version).+ [ -n "$new" ] && ! wmctrl -l | grep -i "^$new " | grep -q "Mister Download Manager [0-9]" && { echo "$new"; return 0; }+ sleep 0.5+ done+ return 1+}+close_dialogs() { for w in $(mine); do [ "$w" != "$MAIN" ] && timeout 5 wmctrl -i -c "$w"; done; sleep 1; }++IFS=, read -r -a mode_list <<< "$modes"+for mode in "${mode_list[@]}"; do+ dir=$out/$mode; mkdir -p "$dir"+ work=$run+ pkill -f "^$app$" 2>/dev/null; sleep 1+ desktop_mode "$mode"+ rm -rf "$work"; mkdir -p "$work/data" "$work/Downloads"+ export MDM_DATA_DIR=$work/data+ # Its own list and settings: the language chosen, light or dark whatever the desktop's mode,+ # every category's folder under the run's own, nothing reaching out (no update check; the+ # torrent engine neither listens nor uses the DHT, UPnP or local discovery).+ python3 - "$work" "$mode" <<'PY'+import json, sys+work, mode = sys.argv[1:3]+dark = mode == "dark"+cats = ["General", "Compressed", "Documents", "Music", "Programs", "Video", "Torrents"]+dirs = [[c, f"{work}/Downloads" + ("" if c == "General" else f"/{c}")] for c in cats]+settings = dict(language="en", language_asked=True, helpers_asked=True, extension_never_ask=True,+ dark_mode_support=dark, always_dark=dark, update_check=False, torrent_incoming=False,+ torrent_upnp=False, torrent_dht=False, torrent_lsd=False, torrent_stop_idle=True,+ category_dirs=dirs)+json.dump({"next_id": 1, "items": [], "version": 2, "settings": settings},+ open(f"{work}/data/downloads.json", "w"))+PY+ park+ cd ~; setsid -f "$app" >"$work/mdm.log" 2>&1 </dev/null+ PID=""; MAIN=""+ for _ in $(seq 60); do+ PID=$(pgrep -f "^$app$" | head -1)+ [ -n "$PID" ] && MAIN=$(mine | head -1) && [ -n "$MAIN" ] && break+ sleep 1+ done+ [ -n "$MAIN" ] || { echo "no main window ($mode)"; tail -5 "$work/mdm.log"; continue; }+ # MDM_MAIN_AT="x,y": the main window moved there (clear of a desktop's lasting notification).+ [ -n "${MDM_MAIN_AT:-}" ] && wmctrl -i -r "$MAIN" -e "0,$MDM_MAIN_AT,-1,-1"+ sleep 3+ # A list that looks used: finished files, one still coming in (rate-limited per connection).+ for f in big-buck-bunny-1080p.mp4:180M project-report-2026.pdf:4M holiday-photos.zip:64M \+ podcast-episode-42.mp3:38M rust-1.99.1-x86_64-unknown-linux-gnu.tar.xz:92M \+ open-data-2026.csv:12M "ubuntu-26.04-desktop-amd64.iso:6G:?rate=256K"; do+ IFS=: read -r name size q <<< "$f"+ "$app" /d "$base/gen/$size/$name${q:-}" /p "$work/Downloads" /n >/dev/null 2>&1+ sleep 0.5+ done+ # The small ones finish; their windows (Download complete, progress) close, never the main one.+ for _ in $(seq 20); do sleep 1; close_dialogs; done+ sleep 3+ echo "$mode:"+ want main && shoot "$MAIN" main+ for pair in add-url=addurl progress=progress options=options:connection scheduler=scheduler browser-offer=extension; do+ name=${pair%%=*}; show=${pair#*=}+ want "$name" || continue+ if w=$(opened "$app" /show "$show"); then sleep 2; shoot "$w" "$name"; else echo " $name: no window"; fi+ close_dialogs+ done+ if want add-torrent && [ -f "$torrent" ]; then+ cp "$torrent" "$work/Open Movie Night.torrent"+ if w=$(opened "$app" "$work/Open Movie Night.torrent"); then sleep 2; shoot "$w" add-torrent; else echo " add-torrent: no window"; fi+ close_dialogs+ fi+ # The tray: MDM's icon is the leftmost of the top bar's status icons that appeared with it. Its+ # menu opens with a click; the shot is the screen's top right (MDM_TRAY_W x MDM_TRAY_H), with+ # MDM's window hidden to the tray first, so only the desktop is behind the menu.+ if want tray && [ "$mode" = light ]; then+ tray=${MDM_TRAY_AT:-}+ if [ -n "$tray" ]; then+ # Banners back (GNOME shows a "do not disturb" bell while they're off), then a moment.+ [ -n "$banners" ] && gsettings set org.gnome.desktop.notifications show-banners "$banners" 2>/dev/null+ "$app" /show tray >/dev/null 2>&1+ sleep 3+ xdotool mousemove ${tray% *} ${tray#* } click 1; sleep 2+ grab $((SW - ${MDM_TRAY_W:-320})) 0 ${MDM_TRAY_W:-320} ${MDM_TRAY_H:-490} "$dir/tray.png"+ xdotool key Escape; park+ else+ echo " tray: MDM_TRAY_AT=\"x y\" (the icon's place in the top bar) not set"+ import -silent -window root -crop "${SW}x40+0+0" +repage "$dir/topbar.png"+ fi+ fi+ # Ended as a person would (/exit, IDM's switch): a signal reads as a crash to its monitor.+ timeout 20 "$app" /exit >/dev/null 2>&1+ for _ in $(seq 20); do pgrep -f "^$app$" >/dev/null || break; sleep 0.5; done+ pkill -f "^$app$"+done+pkill -f "$bin/labserver"+[ -n "$banners" ] && gsettings set org.gnome.desktop.notifications show-banners "$banners" 2>/dev/null+desktop_mode light+# The downloads go; the last run's log stays (mdm.log) until the next run.+rm -rf "$run/Downloads"+echo "shots in $out"diff --git a/tools/lab/progress-shots.ps1 b/tools/lab/progress-shots.ps1index 0e110054..cd13245e 100644--- a/tools/lab/progress-shots.ps1+++ b/tools/lab/progress-shots.ps1@@ -1,5 +1,5 @@-# The progress window of a video and of a torrent, for the docs (docs/images/progress-video.png,-# progress-torrent.png), at 1x and off the screens, as docs-shots.ps1 takes the others. Each+# The progress window of a video and of a torrent, for the docs (progress-video.png,+# progress-torrent.png: docs/images/*.webp through `tools/shots/make.py docs`), at 1x and off the screens, as docs-shots.ps1 takes the others. Each# runs in a Mister Download Manager instance of its own (MDM_DATA_DIR, MDM_OFFSCREEN) whose list# holds that one download; the automation API starts it and /show progress opens its window,# so nothing is clicked or typed. The video comes from the labserver through yt-dlp (copied@@ -9,6 +9,10 @@# cargo build --release -p mdm-app -p mdm-cli -p mdm-labserver# cargo build --release -p mdm-torrent --example swarm# tools\lab\progress-shots.ps1 -Bin target\release+#+# On a machine without MDM (GitHub's runner, docs-shots.yml), yt-dlp comes from -YtDlp:+#+# tools\lab\progress-shots.ps1 -Bin target\debug -YtDlp <yt-dlp.exe> -Work C:\Demo\p -At 40,40param([string]$Bin = "target\release",[string]$OutDir = "docs\images",@@ -19,8 +23,18 @@ param(# The torrent's other details tabs too ("peers", "trackers", "pieces", "general"), each# as progress-torrent-<tab>.png (/show progress:<tab>).[string[]]$TorrentTabs = @(),- # Dark mode (Windows' app mode must be dark too, as MDM follows it); the same file names.- [switch]$Dark+ # Dark mode (View → Always dark, whatever Windows' own mode); the same file names, or with+ # -Suffix ("-dark") after each.+ [switch]$Dark,+ [string]$Suffix = "",+ # A yt-dlp.exe to use instead of your own MDM's (its tools folder): on a machine without MDM+ # (GitHub's runner, docs-shots.yml).+ [string]$YtDlp = "",+ # The run's temporary folder (its path shows in the torrent's window); default+ # target\progress-shots in this checkout.+ [string]$Work = "",+ # Where the windows open instead of far off the screens (MDM_OFFSCREEN_AT, as docs-shots.ps1).+ [string]$At = "")$ErrorActionPreference = "Stop"$root = Split-Path -Parent (Split-Path -Parent $PSScriptRoot)@@ -29,7 +43,7 @@ $exe = Join-Path $bin "misterdownloadmanager.exe"$cli = Join-Path $bin "misterdownloadmanager-cli.exe"$out = if ([IO.Path]::IsPathRooted($OutDir)) { $OutDir } else { Join-Path $root $OutDir }# Under the repository (ignored target/): the temp folder's path names the user.-$work = Join-Path $root "target\progress-shots"+$work = if ($Work) { $Work } else { Join-Path $root "target\progress-shots" }Add-Type @"using System; using System.Text; using System.Collections.Generic; using System.Runtime.InteropServices;public static class PS2 {@@ -74,13 +88,18 @@ function Scenario([string]$name, [hashtable]$item, [int]$wait, [scriptblock]$pre$list = [ordered]@{next_id = 2; version = 2; items = @($item)settings = [ordered]@{- language = "en"; language_asked = $true; helpers_asked = $true; extension_never_ask = $true; dark_mode_support = [bool]$Dark; category_dirs = $dirs+ language = "en"; language_asked = $true; helpers_asked = $true; extension_never_ask = $true+ dark_mode_support = [bool]$Dark; always_dark = [bool]$Dark; update_check = $false; category_dirs = $dirs+ # The torrent engine reaches the swarm on 127.0.0.1 and listens nowhere else (no firewall+ # prompt), as docs-shots.ps1 sets it.+ torrent_incoming = $false; torrent_upnp = $false; torrent_dht = $false; torrent_lsd = $false}}if ($prepare) { & $prepare $dir }[IO.File]::WriteAllText("$dir\data\downloads.json", ($list | ConvertTo-Json -Depth 8))$env:MDM_DATA_DIR = "$dir\data"$env:MDM_OFFSCREEN = "1"+ if ($At) { $env:MDM_OFFSCREEN_AT = $At }$app = Start-Process -PassThru $exetry {Start-Sleep 3@@ -96,26 +115,26 @@ function Scenario([string]$name, [hashtable]$item, [int]$wait, [scriptblock]$preif (-not $title) { throw "${name}: no progress window (" + (([PS2]::Of([uint32]$app.Id)) -join " | ") + ")" }# Its title starts with the percentage, which changes: match what follows it.$pattern = [WildcardPattern]::Escape($title) -replace '^\d+(\.\d+)?% ', '*'- $file = Join-Path $out "progress-$name.png"+ $file = Join-Path $out "progress-$name$Suffix.png"for ($try = 0; $try -lt 20; $try++) {Start-Sleep -Milliseconds 1500& "$PSScriptRoot\cap-own.ps1" -ProcessId $app.Id -Title $pattern -Out $file | Out-Nullif (-not (Blank $file)) { break }}- " progress-$name.png ($title)"+ " progress-$name$Suffix.png ($title)"foreach ($tab in $tabs) {& $exe /show "progress:$tab"- $file = Join-Path $out "progress-$name-$tab.png"+ $file = Join-Path $out "progress-$name-$tab$Suffix.png"for ($try = 0; $try -lt 20; $try++) {Start-Sleep -Milliseconds 1500& "$PSScriptRoot\cap-own.ps1" -ProcessId $app.Id -Title $pattern -Out $file | Out-Nullif (-not (Blank $file)) { break }}- " progress-$name-$tab.png"+ " progress-$name-$tab$Suffix.png"}} finally {Stop-Process -Id $app.Id -ErrorAction SilentlyContinue- Remove-Item Env:MDM_DATA_DIR, Env:MDM_OFFSCREEN -ErrorAction SilentlyContinue+ Remove-Item Env:MDM_DATA_DIR, Env:MDM_OFFSCREEN, Env:MDM_OFFSCREEN_AT, Env:MDM_LAB_PEERS -ErrorAction SilentlyContinue}}@@ -126,7 +145,14 @@ try {if (Want "video") {$tools = Join-Path ([Environment]::GetFolderPath("ApplicationData")) "misterdownloadmanager\tools"- if (-not (Test-Path "$tools\yt-dlp\current.json")) { throw "no yt-dlp in ${tools}: install it from MDM first" }+ if ($YtDlp) {+ # A tools folder of the run's own, holding the given yt-dlp as MDM installs it.+ $tools = Join-Path $work "tools"+ New-Item -ItemType Directory -Force "$tools\yt-dlp\given" | Out-Null+ Copy-Item (Resolve-Path $YtDlp).Path "$tools\yt-dlp\given\yt-dlp.exe"+ [IO.File]::WriteAllText("$tools\yt-dlp\current.json", (@{ version = "given"; exe = "$tools\yt-dlp\given\yt-dlp.exe" } | ConvertTo-Json))+ }+ if (-not (Test-Path "$tools\yt-dlp\current.json")) { throw "no yt-dlp in ${tools}: install it from MDM first, or pass -YtDlp" }$srv = Start-Process -PassThru -WindowStyle Hidden (Join-Path $bin "labserver.exe") -ArgumentList "--bind 127.0.0.1:$Port"$video = "open-movie-trailer.mp4"$item = @{@@ -155,17 +181,20 @@ try {$log = Join-Path $work "swarm.txt"$swarm = Start-Process -PassThru -WindowStyle Hidden (Join-Path $bin "examples\swarm.exe") `-ArgumentList "`"$work\swarm`" 600 4 $TrackerPort" -RedirectStandardOutput $log- # Ready when it prints the torrent's path and its info hash (after making the files and- # checking them in every seeder).+ # Ready when it prints the torrent's path, its info hash and its seeders' addresses (after+ # making the files and checking them in every seeder).for ($i = 0; $i -lt 300; $i++) {Start-Sleep 1$lines = @(Get-Content $log -ErrorAction SilentlyContinue)- if ($lines.Count -ge 2) { break }+ if ($lines.Count -ge 3) { break }if ($swarm.HasExited) { throw "the swarm stopped" }}- if ($lines.Count -lt 2) { throw "the swarm never got ready" }+ if ($lines.Count -lt 3) { throw "the swarm never got ready" }$torrent = $lines[0]$hash = ([regex]::Match($lines[1], '[0-9a-f]{40}')).Value+ # MDM leaves out trackers on this computer (#40): an off-screen copy is handed the seeders+ # instead (MDM_LAB_PEERS, torrents.rs).+ $env:MDM_LAB_PEERS = $lines[2] -replace '^peers ', ''$name = "Open Movie Night"$folder = "$work\torrent\Downloads\Torrents\$name"$item = @{diff --git a/tools/readme/browser-shots.mjs b/tools/readme/browser-shots.mjsindex b76b44a5..ddad6b63 100644--- a/tools/readme/browser-shots.mjs+++ b/tools/readme/browser-shots.mjs@@ -6,7 +6,9 @@// for the button to ask (MDM_DATA_DIR, MDM_OFFSCREEN). Windows only.//// cargo build --release -p mdm-app -p mdm-nmhost; tools\extension\pack.ps1-// node tools/readme/browser-shots.mjs -> docs/images/video-button-*.png+// node tools/readme/browser-shots.mjs -> target/browser-shots/video-button-*.png+// python tools/shots/make.py docs --png target/browser-shots/video-button-youtube.png ...+// -> docs/images/video-button-*.webpimport { spawn, spawnSync } from "node:child_process";import fs from "node:fs";import path from "node:path";@@ -236,8 +238,8 @@ async function one(cdp, browser, shot) {} finally {clearInterval(keep);}- crop(whole, at, path.join(root, "docs", "images", `${shot.name}.png`));- console.log(`docs/images/${shot.name}.png`);+ crop(whole, at, path.join(work, `${shot.name}.png`));+ console.log(path.join(work, `${shot.name}.png`));await cdp.send("Target.closeTarget", { targetId });}diff --git a/tools/readme/social.py b/tools/readme/social.pyindex 012c8b6d..d1232ff2 100644--- a/tools/readme/social.py+++ b/tools/readme/social.py@@ -25,7 +25,7 @@ def main():draw = ImageDraw.Draw(card)# The main window, large, lower right, with a soft shadow and rounded corners.- shot = Image.open(ROOT / "docs/images/main-light.png").convert("RGB")+ shot = Image.open(ROOT / "docs/images/main-light.webp").convert("RGB")shot = shot.resize((900, round(900 * shot.height / shot.width)), Image.LANCZOS)x0, y0 = W - shot.width + 120, 250shadow = Image.new("L", (shot.width + 60, shot.height + 60), 0)diff --git a/tools/shots/README.md b/tools/shots/README.mdindex f24b0206..4337223c 100644--- a/tools/shots/README.md+++ b/tools/shots/README.md@@ -35,6 +35,36 @@ Pillow's lossless WebP otherwise), at 1x, `<id>.webp` and `<id>-dark.webp`. `makwhen a page lacks one of its pictures, an alt text or caption differs from the list, a file isleft over, or a picture is over 300 KB (#186's budget).+## Every picture for a release, from GitHub's runner++The published pictures are taken on a stock Windows, so the file icons in them are Windows' own+and not those of programs someone installed: push the branch to `docs-shots/<name>` (or run+**Actions → Docs screenshots**). The workflow takes the README's and the docs' windows light and+dark (`tools/lab/docs-shots.ps1`), a video's and a torrent's progress window+(`tools/lab/progress-shots.ps1`, its own yt-dlp and a swarm on the runner) and this list's raw+pictures, and returns them as the `docs-shots` artifact. Then, from the repository's root:++```powershell+gh run download <run id> -n docs-shots -D target\docs-shots-run+python tools/shots/make.py docs target\docs-shots-run # docs/images/*.webp+python -I tools/website/screens.py target\docs-shots-run\site-dark --light target\docs-shots-run\docs+Copy-Item -Recurse -Force target\docs-shots-run\help-raw\* target\shots\raw\+python tools/shots/make.py build # docs/images/help/*.webp+python tools/shots/make.py check+```++`make.py docs` also takes single PNGs, each as `docs/images/<its name>.webp`: the browser's+pictures (`node tools/readme/browser-shots.mjs`, a real Chrome window, so not on the runner) and+the phone's (`tools/lab/remote-page.mjs`), with `--png <file>` once for each.++`make.py check` keeps every picture in `docs/images` and the site's `website/assets/screens`,+`browser` and `win` within the budget too: none over 300 KB, no PNG where lossless WebP belongs+(only the social card, the logo and the README's icons stay PNG), and none that nothing shows. CI+runs it (`help-pictures.yml`).++The main window's title shows the version: take the pictures again once the version is the+release's.+## Adding a picture1. Add a `[[shot]]` to `shots.toml` (its header says what each key does).@@ -73,6 +103,9 @@ after a page's first picture, and the night version beside it, shown with the si## LinuxThe list's pictures are Windows'. Linux differs where the desktop takes part (the tray, the-file chooser, desktop integration), and those can't be taken on a virtual screen: the WSL2 lab's-Xvfb has no tray host and no desktop portal (`tools/lab/wsl/README.md`). They wait for a desktop-that can take them unattended (#186).+file chooser, the window frames), and those can't be taken on a virtual screen: the WSL2 lab's+Xvfb has no tray host and no desktop portal (`tools/lab/wsl/README.md`). The Linux pictures+(`docs/images/*-linux.webp`, the site's `website/assets/screens/*-linux-*.webp`) are taken on a+real desktop in the lab's virtual machines instead: `tools/lab/linux-vm/docs-shots-host.ps1`+(its header says how), GNOME for the whole list, KDE Plasma, Cinnamon and Xfce for their main+window.diff --git a/tools/shots/make.py b/tools/shots/make.pyindex 2cb05bca..88d66317 100644--- a/tools/shots/make.py+++ b/tools/shots/make.py@@ -12,6 +12,7 @@ command takes them all again, light and dark:python tools/shots/make.py build # again from the last shoot's raw picturespython tools/shots/make.py check # the list, the pages and the files agreepython tools/shots/make.py snippet add-url # the Markdown for one picture+ python tools/shots/make.py docs <run> # docs/images/*.webp from a Docs screenshots run`shoot` runs tools/lab/docs-shots.ps1 twice (light, then dark) with the list's windows: theapp's own instance with its own data folder and download folder (MDM_DATA_DIR), off the screens@@ -20,6 +21,11 @@ controls come with it (tools/lab/ui-rects.ps1, the app's accessibility tree), socontrols ("Start Download") instead of pixels, and a moved button needs no edit here. The rawpictures stay in target/shots/raw/.+`check` also keeps the budget of every picture in docs/images and website/assets (#186): none+over 300 KB, no PNG where lossless WebP belongs, none that nothing shows. `docs` writes the+README's and the docs pages' own pictures (docs/images/<name>.webp) from a Docs screenshots run+(.github/workflows/docs-shots.yml's artifact) or single PNGs.+`build` crops, annotates (drawn 4x larger, then scaled down: smooth edges) and writes losslessWebP: `cwebp -lossless -z 9 -metadata none` when cwebp is on PATH, Pillow's lossless WebP(method 6) otherwise, the same pixels either way. <id>.webp is the light picture, <id>-dark.webp@@ -280,6 +286,77 @@ def build(shots: list[dict]) -> None:print(f"{made} pictures in {OUT.relative_to(ROOT)}")+# ---- docs: the README's and the docs pages' own pictures ----------------------------------------++IMAGES = ROOT / "docs" / "images"+# docs-shots.ps1's and progress-shots.ps1's pictures that docs/images keeps (as <name>.webp),+# from a Docs screenshots run's docs/ folder; main-dark from its site-dark/ folder.+DOCS_SHOTS = ["add-torrent", "add-url", "arabic-main", "crash-report", "grabber", "language-picker",+ "main-light", "options-connection", "options-remote", "progress", "progress-torrent",+ "progress-torrent-pieces", "progress-video", "scheduler", "speed-limiter"]+DOCS_DARK = ["main-dark"]+++def docs(run: Path | None, extra: list[Path]) -> None:+ """docs/images/<name>.webp, lossless, from a Docs screenshots run (the docs-shots artifact:+ docs/*.png and site-dark/*.png) and from single PNGs (`--png`: the browser's pictures, the+ phone's, a window shot elsewhere), each by its file name. A shot the run lacks keeps its+ picture."""+ from PIL import Image+ todo = [(p, p.stem) for p in extra]+ if run:+ todo = [(run / "docs" / f"{n}.png", n) for n in DOCS_SHOTS] + \+ [(run / "site-dark" / f"{n}.png", n) for n in DOCS_DARK] + todo+ for src, name in todo:+ if not src.is_file():+ print(f" {name}: no {src}; kept")+ continue+ img = Image.open(src).convert("RGBA")+ if img.getchannel("A").getextrema() == (255, 255):+ img = img.convert("RGB")+ dst = IMAGES / f"{name}.webp"+ # A browser's picture holds a video frame: lossless would be several times larger.+ save_webp(img, dst, 90 if name.startswith("video-button") else 0)+ print(f" {dst.relative_to(ROOT).as_posix():44} {img.size[0]}x{img.size[1]} {dst.stat().st_size // 1024} KB")+++# ---- the budget: every picture in docs/images and website/assets ---------------------------------++# Pictures that stay PNG: the social card (og:image: some sites don't read WebP), the logo and+# the icons the README shows.+PNG_OK = {"docs/images/social-preview.png", "docs/images/logo.png"}+PNG_DIRS = ("docs/images/icons/", "docs/images/browsers/")+SCREEN_DIRS = ("website/assets/screens/", "website/assets/browser/", "website/assets/win/")+TEXT = (".md", ".html", ".py", ".ps1", ".mjs", ".js", ".css", ".toml", ".yml", ".json", ".sh", ".rs", ".txt")+++def budget() -> list[str]:+ """#186: no screenshot over 300 KB, no PNG where WebP belongs, no picture that nothing shows."""+ files = subprocess.run(["git", "ls-files", "-co", "--exclude-standard"], cwd=ROOT,+ capture_output=True, text=True, check=True).stdout.splitlines()+ pics = [f for f in files+ if (f.startswith("docs/images/") and not f.startswith("docs/images/help/") or f.startswith(SCREEN_DIRS))+ and f.rsplit(".", 1)[-1].lower() in ("png", "webp", "jpg", "jpeg", "gif") and (ROOT / f).is_file()]+ corpus = []+ for f in files:+ if f.endswith(TEXT) and not f.startswith(("i18n/", "docs/bench/")) and (ROOT / f).is_file():+ corpus.append((ROOT / f).read_text("utf-8", errors="replace"))+ text = "\n".join(corpus)+ bad = []+ for f in pics:+ size = (ROOT / f).stat().st_size+ ext = f.rsplit(".", 1)[-1].lower()+ if size > BUDGET:+ bad.append(f"{f}: {size // 1024} KB, over {BUDGET // 1024} KB")+ if ext != "webp" and f not in PNG_OK and not f.startswith(PNG_DIRS):+ bad.append(f"{f}: a screenshot in {ext.upper()}; lossless WebP belongs here")+ name = f.rsplit("/", 1)[-1]+ # A night picture is found beside its day one (x-dark.webp beside x-light.webp or x.webp).+ if not any(n in text for n in (name, name.replace("-dark.", "-light."), name.replace("-dark.", "."))):+ bad.append(f"{f}: nothing shows it (left over?)")+ return bad++# ---- check / snippet ----------------------------------------------------------------------------def snippet(s: dict) -> str:@@ -334,6 +411,7 @@ def check(shots: list[dict]) -> int:bad.append(f"{page.name}: links {sid}.webp; link the light picture, the site adds the dark one")elif sid not in ids:bad.append(f"{page.name}: {sid}.webp is not in the shot list")+ bad += budget()for b in bad:print(b, file=sys.stderr)print(f"{len(shots)} shots, {len(bad)} problems")@@ -342,8 +420,10 @@ def check(shots: list[dict]) -> int:def main() -> int:ap = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])- ap.add_argument("step", nargs="?", default="all", choices=["all", "shoot", "build", "check", "snippet"])- ap.add_argument("id", nargs="?", help="snippet: the shot's id")+ ap.add_argument("step", nargs="?", default="all", choices=["all", "shoot", "build", "check", "snippet", "docs"])+ ap.add_argument("id", nargs="?", help="snippet: the shot's id; docs: a Docs screenshots run's folder")+ ap.add_argument("--png", type=Path, action="append", default=[],+ help="docs: a single PNG to put in docs/images as <its name>.webp (again for more)")ap.add_argument("--only", default="", help="these shot ids (commas)")target = Path(os.environ.get("CARGO_TARGET_DIR", ROOT / "target"))ap.add_argument("--bin", type=Path, default=target / "release", help="where the release build is")@@ -357,6 +437,9 @@ def main() -> int:shots = load()if a.step == "check":return check(shots)+ if a.step == "docs":+ docs(Path(a.id) if a.id else None, a.png)+ return 0if a.step == "snippet":hit = [s for s in shots if s["id"] == a.id]if not hit:diff --git a/tools/shots/shots.toml b/tools/shots/shots.tomlindex 94658a5d..400d36ad 100644--- a/tools/shots/shots.toml+++ b/tools/shots/shots.toml@@ -62,7 +62,7 @@ id = "view-dark-mode"page = "getting-started.md"under = "Dark mode"take = "@menu:menu:3"-crop = [145, 28, 230, 280]+crop = [145, 28, 230, 300]marks = [{ at = "Dark Mode support", side = "right" }, { at = "Always dark", side = "right" }]alt = "The View menu open, with Dark Mode support and Always dark"caption = "1 Dark Mode support follows the system; 2 Always dark keeps MDM dark."@@ -72,8 +72,8 @@ id = "view-theme"page = "getting-started.md"under = "Themes"take = "@menu:menu:3:theme"-crop = [145, 28, 366, 356]-alt = "View → Theme open: Classic, Native, High contrast, Metro, Adwaita and Breeze"+crop = [145, 28, 366, 424]+alt = "View → Theme open: Classic, Native, High contrast, Metro, Adwaita, Breeze, Luna, Aero and Aqua, and Open themes folder"caption = "View → Theme switches at once, keeping the layout."[[shot]]@@ -199,7 +199,7 @@ caption = "1 must be on, and 2 your browser ticked."id = "video-button"page = "browser-integration.md"under = "The download button over videos"-from = "docs/images/video-button-youtube.png"+from = "docs/images/video-button-youtube.webp"crop = [400, 0, 720, 405]lossy = 90alt = "The Download video button over a YouTube video in Chrome"@@ -237,7 +237,7 @@ caption = "Pick a quality, then Download Now."id = "video-progress"page = "video.md"under = "Start a video download"-from = "docs/images/progress-video.png"+from = "docs/images/progress-video.webp"alt = "A video's progress window while yt-dlp brings it in"caption = "It downloads like any other file, in its own row and window."@@ -283,7 +283,7 @@ caption = "Untick what you don't want, then Download Now."id = "torrent-files"page = "torrents.md"under = "Add a torrent"-from = "docs/images/progress-torrent.png"+from = "docs/images/progress-torrent.webp"alt = "A torrent's progress window on its Files tab"caption = "Its progress window: each file and how much of it is here."@@ -291,7 +291,7 @@ caption = "Its progress window: each file and how much of it is here."id = "torrent-pieces"page = "torrents.md"under = "Add a torrent"-from = "docs/images/progress-torrent-pieces.png"+from = "docs/images/progress-torrent-pieces.webp"alt = "The Pieces tab: a square for each piece, filled once it's here"caption = "Pieces: the torrent's map, filling in."@@ -383,7 +383,7 @@ page = "troubleshooting.md"under = "The window freezes or draws wrongly"take = "@menu:menu:3:draw"# Down to Font: a computer without Direct3D (GitHub's runner) adds why under the choices.-crop = [145, 28, 306, 246]+crop = [145, 28, 306, 274]alt = "View → Draw with open: OpenGL and Direct3D"caption = "View → Draw with: the other way of drawing."@@ -609,7 +609,7 @@ caption = "MDM lists the qualities: pick one."id = "vfp-progress"page = "guide-video-from-page.md"under = "Steps"-from = "docs/images/progress-video.png"+from = "docs/images/progress-video.webp"alt = "A video's progress window"caption = "It downloads like any other file."diff --git a/tools/website/build.py b/tools/website/build.pyindex 7aeba9cd..01ad1377 100644--- a/tools/website/build.py+++ b/tools/website/build.py@@ -195,11 +195,38 @@ def esc(s: str) -> str:return html.escape(s, quote=True)+def github_slug(text: str, separator: str = "-") -> str:+ """A heading's id as GitHub makes it, so a docs link such as `options.md#proxy--socks` works+ on GitHub and here alike: lower case, punctuation dropped (letters of every script, digits,+ `-` and `_` kept), each space a dash, runs of dashes kept."""+ return re.sub(r"[^\w\- ]", "", text.strip().lower()).replace(" ", separator)+++def old_aliases(out: str) -> str:+ """Each heading whose GitHub id differs from the id this site gave it before (Python+ Markdown's own: ASCII only, a run of dashes made one) keeps that one reachable too, for the+ links already out there (`options.html#proxy-socks`)."""+ from markdown.extensions.toc import slugify++ def alias(m: re.Match) -> str:+ text = html.unescape(re.sub(r"<[^>]+>", "", m.group(3)))+ old = slugify(text, "-")+ # A heading with an id of its own (`{#not-running}`) never had another.+ if not old or old == m.group(2) or not m.group(2).startswith(github_slug(text)):+ return m.group(0)+ # Before the heading, not inside it: the heading's text stays one segment, translated+ # as it was (sitei18n).+ return f'<span id="{esc(old)}" class="anchor-alias"></span>{m.group(0)}'++ return re.sub(r'(<h[1-6] id="([^"]*)">)(.*?)(</h[1-6]>)', alias, out, flags=re.S)++def md(text: str) -> str:out = markdown.markdown(text, extensions=["tables", "fenced_code", "toc", "attr_list", "sane_lists", "md_in_html"],- extension_configs={"toc": {"permalink": False}},+ extension_configs={"toc": {"permalink": False, "slugify": github_slug}},)+ out = old_aliases(out)# A table wider than the column scrolls inside its own box, not the page (#169).return re.sub(r"<table\b.*?</table>", lambda m: f'<div class="table-wrap">{m.group(0)}</div>', out, flags=re.S)@@ -695,7 +722,7 @@ def image_size(path: Path) -> tuple[int, int] | None:def dark_of(name: str) -> str | None:"""The night version of docs/images/<name>, when there is one: x-dark.webp beside x.webp- (the help pictures, tools/shots/make.py), or main-dark.png beside main-light.png."""+ (the help pictures, tools/shots/make.py), or main-dark.webp beside main-light.webp."""p = Path(name)stem = p.stem[: -len("-light")] if p.stem.endswith("-light") else p.stemdark = p.with_name(f"{stem}-dark{p.suffix}").as_posix()diff --git a/tools/website/screens.py b/tools/website/screens.pyindex 89fa3991..275b05e2 100644--- a/tools/website/screens.py+++ b/tools/website/screens.py@@ -1,17 +1,16 @@#!/usr/bin/env python3"""Regenerates the site's screenshots (website/assets/screens/*.webp, website/assets/win/*.webp)from the app's own PNG shots, so the site never shows a window the app no longer draws and nobody-converts or crops one by hand. The day versions come from docs/images/ (the README's and the help-pages' shots, tools/lab/docs-shots.ps1); the night versions from a folder of the same shots taken-with -Dark (default target/site-shots/dark/):+converts or crops one by hand. The day versions come from a folder of tools/lab/docs-shots.ps1's+shots (--light: a Docs screenshots run's docs/ folder, .github/workflows/docs-shots.yml), the night+versions from the same shots taken with -Dark (its site-dark/ folder):- tools\\lab\\docs-shots.ps1 -Exe ... -Server ... -Dark -OutDir target\\site-shots\\dark- python -I tools/website/screens.py # docs/images + target/site-shots/dark- python -I tools/website/screens.py D:\\shots\\dark --density 2+ python -I tools/website/screens.py <run>\\site-dark --light <run>\\docs+ python -I tools/website/screens.py D:\\shots\\dark --light D:\\shots\\light --density 2A shot that isn't there is skipped and its WebP kept: the video quality window, for one, needs areal video page and can't be shot offline, so screens/video-*.webp stay as they are. Each WebP is-written lossy at quality 90 or lossless, whichever is smaller, and only when its bytes change.+lossless (#186: text and one-pixel lines stay sharp), written only when its bytes change.Every <img> in website/*.html that shows a WebP written here gets its width and height set to thepicture's size in CSS pixels (its pixels / --density: docs-shots.ps1 shoots at 1x, so 1 unless the@@ -60,13 +59,9 @@ def encode(png: Path) -> tuple[bytes, str, tuple[int, int]]:im = im.convert("RGB")elif im.mode != "RGB":im = im.convert("RGB")- best = None- for kind, opts in (("q90", {"quality": 90, "method": 6}), ("lossless", {"lossless": True, "quality": 100, "method": 6})):- buf = io.BytesIO()- im.save(buf, "WEBP", **opts)- if best is None or buf.tell() < len(best[0]):- best = (buf.getvalue(), kind)- return best[0], best[1], im.size+ buf = io.BytesIO()+ im.save(buf, "WEBP", lossless=True, quality=100, method=6)+ return buf.getvalue(), "lossless", im.sizedef write(src: Path, out: str, density: float, sizes: dict[str, tuple[int, int]]) -> None:@@ -129,7 +124,8 @@ def main() -> None:ap = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])ap.add_argument("dark", nargs="?", default=str(ROOT / "target" / "site-shots" / "dark"),help="the -Dark shots (default target/site-shots/dark)")- ap.add_argument("--light", default=str(ROOT / "docs" / "images"), help="the day shots (default docs/images)")+ ap.add_argument("--light", default=str(ROOT / "target" / "site-shots" / "light"),+ help="the day shots (default target/site-shots/light)")ap.add_argument("--density", type=float, default=1.0,help="the shots' pixels per CSS pixel: 1 for docs-shots.ps1's 1x, 2 with -Zoom 2")a = ap.parse_args()diff --git a/website/assets/browser/video-button-page.webp b/website/assets/browser/video-button-page.webpdeleted file mode 100644index 332ce397..00000000Binary files a/website/assets/browser/video-button-page.webp and /dev/null differdiff --git a/website/assets/browser/video-button-youtube.webp b/website/assets/browser/video-button-youtube.webpdeleted file mode 100644index 813928c3..00000000Binary files a/website/assets/browser/video-button-youtube.webp and /dev/null differdiff --git a/website/assets/screens/add-torrent-dark.webp b/website/assets/screens/add-torrent-dark.webpindex a1a08c62..f24840c5 100644Binary files a/website/assets/screens/add-torrent-dark.webp and b/website/assets/screens/add-torrent-dark.webp differdiff --git a/website/assets/screens/add-torrent-light.webp b/website/assets/screens/add-torrent-light.webpindex 9d46985b..cdf212f6 100644Binary files a/website/assets/screens/add-torrent-light.webp and b/website/assets/screens/add-torrent-light.webp differdiff --git a/website/assets/screens/arabic-main.webp b/website/assets/screens/arabic-main.webpindex 0ee70047..93507a8c 100644Binary files a/website/assets/screens/arabic-main.webp and b/website/assets/screens/arabic-main.webp differdiff --git a/website/assets/screens/main-dark.webp b/website/assets/screens/main-dark.webpindex 8d304236..107fccd3 100644Binary files a/website/assets/screens/main-dark.webp and b/website/assets/screens/main-dark.webp differdiff --git a/website/assets/screens/main-light.webp b/website/assets/screens/main-light.webpindex 9e65d6b8..65db3a20 100644Binary files a/website/assets/screens/main-light.webp and b/website/assets/screens/main-light.webp differdiff --git a/website/assets/screens/main-linux-dark.webp b/website/assets/screens/main-linux-dark.webpnew file mode 100644index 00000000..184a8a25Binary files /dev/null and b/website/assets/screens/main-linux-dark.webp differdiff --git a/website/assets/screens/main-linux-light.webp b/website/assets/screens/main-linux-light.webpnew file mode 100644index 00000000..f8293879Binary files /dev/null and b/website/assets/screens/main-linux-light.webp differdiff --git a/website/assets/screens/options-dark.webp b/website/assets/screens/options-dark.webpindex a056f087..46a6169d 100644Binary files a/website/assets/screens/options-dark.webp and b/website/assets/screens/options-dark.webp differdiff --git a/website/assets/screens/options-light.webp b/website/assets/screens/options-light.webpindex 898ee656..0b9869c1 100644Binary files a/website/assets/screens/options-light.webp and b/website/assets/screens/options-light.webp differdiff --git a/website/assets/screens/progress-dark.webp b/website/assets/screens/progress-dark.webpindex 249dcfc2..4fb2b411 100644Binary files a/website/assets/screens/progress-dark.webp and b/website/assets/screens/progress-dark.webp differdiff --git a/website/assets/screens/progress-light.webp b/website/assets/screens/progress-light.webpindex 05450526..f807c52f 100644Binary files a/website/assets/screens/progress-light.webp and b/website/assets/screens/progress-light.webp differdiff --git a/website/assets/screens/scheduler-dark.webp b/website/assets/screens/scheduler-dark.webpindex 5ec34491..8c648fa5 100644Binary files a/website/assets/screens/scheduler-dark.webp and b/website/assets/screens/scheduler-dark.webp differdiff --git a/website/assets/screens/scheduler-light.webp b/website/assets/screens/scheduler-light.webpindex 46aab699..9d682ba0 100644Binary files a/website/assets/screens/scheduler-light.webp and b/website/assets/screens/scheduler-light.webp differdiff --git a/website/assets/screens/torrent-dark.webp b/website/assets/screens/torrent-dark.webpindex 4f29fddb..f0de0117 100644Binary files a/website/assets/screens/torrent-dark.webp and b/website/assets/screens/torrent-dark.webp differdiff --git a/website/assets/screens/torrent-light.webp b/website/assets/screens/torrent-light.webpindex 1b9862f7..ad3e2ea2 100644Binary files a/website/assets/screens/torrent-light.webp and b/website/assets/screens/torrent-light.webp differdiff --git a/website/assets/win/language-picker.webp b/website/assets/win/language-picker.webpindex d143f2d4..f807c52f 100644Binary files a/website/assets/win/language-picker.webp and b/website/assets/win/language-picker.webp differdiff --git a/website/content/faq.md b/website/content/faq.mdindex 121e6db8..98de704f 100644--- a/website/content/faq.md+++ b/website/content/faq.md@@ -15,7 +15,7 @@ No. MDM is an independent program written from scratch in Rust, with no connecti### How is MDM different from IDM? {#mdm-vs-idm}-The layout is familiar on purpose: the toolbar, the categories, the download list, the progress window with every connection, queues and the scheduler. The differences: MDM is free and open source, downloads BitTorrent and magnet links in the same list, finished faster in [our benchmark](/benchmark.html), speaks 86 languages and has experimental builds for macOS and Linux. IDM is the more mature product, refined over many years. See the full [comparison](/idm-alternative.html).+The layout is familiar on purpose: the toolbar, the categories, the download list, the progress window with every connection, queues and the scheduler. The differences: MDM is free and open source, downloads BitTorrent and magnet links in the same list, finished faster in [our benchmark](/benchmark.html), speaks 86 languages and has builds for Linux and macOS. IDM is the more mature product, refined over many years. See the full [comparison](/idm-alternative.html).### Is it safe? Does it contain adware or spyware? {#is-it-safe}@@ -23,7 +23,7 @@ MDM contains no adware, spyware, bundled offers or tracking. Its whole source co### Does MDM collect my data? {#privacy}-No. MDM has no accounts, no analytics and no telemetry. It connects to the servers you download from and, once a week, asks GitHub whether a newer version exists (you can turn that off in Help → Check for updates). The browser extension talks only to MDM on your own computer. The details are in the [privacy policy](/privacy.html).+No. MDM has no accounts, no analytics and no telemetry. It connects to the servers you download from and, each time it starts and once a day while it runs, asks GitHub whether a newer version exists (you can turn that off in Help → Check for updates). The browser extension talks only to MDM on your own computer. The details are in the [privacy policy](/privacy.html).### Who makes Mister Download Manager? {#who-makes-it}@@ -33,7 +33,7 @@ MDM is made by Ahmed Nefzaoui, an independent developer, and is open to contribu### Which systems does it run on? {#systems}-Windows 10 and 11, 64-bit, is the main platform. Builds for macOS (one download for Apple Silicon and Intel Macs) and Linux (AppImage, .deb, .rpm and .tar.gz) come with every release too; they are marked experimental because they are new and less tested. See [Download](/download.html).+Windows 10 and 11, 64-bit, is the main platform. Builds for Linux (AppImage, .deb, .rpm and .tar.gz) and macOS (.dmg) come with every release too; today's are marked experimental. From the next release, Linux isn't experimental any more: it is checked on GNOME, KDE Plasma, Xfce and Cinnamon, in Wayland sessions too, and its packages in clean Ubuntu, Debian and Fedora systems. Still to come there: the Flatpak Firefox isn't checked yet, and screen readers (Orca) don't read MDM's windows yet. macOS stays experimental. See [Windows, Mac and Linux](/features/systems.html) and [Download](/download.html).### Does it run on Windows 7 or 8? {#windows-7}@@ -49,7 +49,7 @@ Yes. In IDM, export your list with **Tasks → Export → To IDM export file**.### How do I uninstall it? {#uninstall}-Open Windows **Settings → Apps**, find Mister Download Manager and choose Uninstall. The uninstaller asks whether to delete your download list and settings as well. Files you downloaded are never touched. For the portable copy, delete its folder.+Open Windows **Settings → Apps**, find Mister Download Manager and choose Uninstall. The uninstaller asks whether to delete your download list and settings as well. Files you downloaded are never touched. For the portable copy, delete its folder. On Linux, remove the package with your package manager, or delete the AppImage; [Uninstall on Linux](/help/getting-started.html#uninstall-linux) says what stays in your home folder and how to remove it.## Browsers@@ -97,7 +97,7 @@ Yes: `ftp://`, and FTP over TLS both ways (`ftpes://` and `ftps://`), with sever### Does it support proxies? {#proxy}-Yes: HTTP and SOCKS proxies, and proxy auto-config (PAC) scripts, in **Options → Proxy / Socks**. See [Options](/help/options.html).+Yes: HTTP and SOCKS proxies, and proxy auto-config (PAC) scripts, in **Options → Proxy / Socks**. See [Options](/help/options.html). To keep every download on a VPN, see [Network adapter](/features/network-adapter.html).## Video and torrentsdiff --git a/website/content/features/accessibility.md b/website/content/features/accessibility.mdindex bbb698e8..ba0eb7ec 100644--- a/website/content/features/accessibility.md+++ b/website/content/features/accessibility.md@@ -53,7 +53,10 @@ every row of a list, not only those in view, with its place ("12 of 40"), and linames and ticks. A window will show its contents the first time a screen reader reads it, and adrop-down's choice can be set by its text. In dark mode, grey notes and error texts will have the4.5:1 contrast WCAG asks for. **View → Theme** adds **High contrast**: black and white, a bright-accent, every edge drawn, text at 7:1 or more (see [themes](/themes.html)).+accent, every edge drawn, text at 7:1 or more (see [themes](/themes.html)). **View → Interface+size** will make every window larger, from 100 % to 200 % on top of the system's display scale,+with **Ctrl +**, **Ctrl −** and **Ctrl 0** in any MDM window, as in a browser; a window larger+than the screen scrolls the rest.*The High contrast theme.*diff --git a/website/content/features/browser-extension.md b/website/content/features/browser-extension.mdindex a2636197..84ec5b3e 100644--- a/website/content/features/browser-extension.md+++ b/website/content/features/browser-extension.md@@ -56,7 +56,9 @@ store's policy forbids; **Tasks → Download video from a page** still takes any<!--@coming 0.5-->- **The toolbar button** says whether the browser reaches MDM, and **How to fix it** opens the- help for the reason.+ help for the reason. When a setting leaves a download to the browser (its type isn't in+ **File types**, its site is excluded, it's under the minimum size), the button names the+ setting and the file, and MDM's log keeps a line for each.- **Media on this page** lists the video streams and the video and sound files a page hasloaded, so a video with no link can still be saved. Copy-protected streams are listed as**Protected** and never sent.diff --git a/website/content/features/crash-reports.md b/website/content/features/crash-reports.mdindex ba8ef753..0394532c 100644--- a/website/content/features/crash-reports.md+++ b/website/content/features/crash-reports.md@@ -8,7 +8,7 @@ description: Mister Download Manager's crash and freeze reports: readable, freegroup: apporder: 320since: 0.2.3-shot: images/crash-report.png+shot: images/crash-report.webpshot_alt: The crash report window after MDM stopped respondingwhere: Opens by itself when MDM crashes or stops respondinghelp: crash-reports.mddiff --git a/website/content/features/languages.md b/website/content/features/languages.mdindex fb2074c2..c6088d59 100644--- a/website/content/features/languages.md+++ b/website/content/features/languages.md@@ -33,7 +33,7 @@ display language, and falls back to English when MDM doesn't have it.## Right to left, done properly-+*The main window in Arabic: the menus, toolbar and categories run from right to left.*In Arabic, Hebrew, Persian, Urdu and Uyghur the whole window is mirrored, the way Windows doesdiff --git a/website/content/features/remote.md b/website/content/features/remote.mdindex db6023e7..712a142c 100644--- a/website/content/features/remote.md+++ b/website/content/features/remote.md@@ -8,7 +8,7 @@ description: Control Mister Download Manager from your phone on your home networgroup: networkorder: 230since: 0.5-shot: images/remote-phone.png+shot: images/remote-phone.webpshot_alt: MDM's page on a phone: an address box with Category and When, the queues with Start, and the downloads with their progresswhere: Options → Remotehelp: remote-control.md@@ -31,7 +31,7 @@ has it, and follows its light or dark mode.Turn it on in **Options → Remote**, then click **Pair a device...**. Scan the QR code with thephone's camera, or type the address and the 8-digit code. A code works once, for ten minutes.-+*Options → Remote: the address, the certificate's fingerprint and the paired devices.*The first time, the phone's browser warns about the certificate. That is expected: MDM made it ondiff --git a/website/content/features/server.md b/website/content/features/server.mdindex 7c85d092..9bf5606d 100644--- a/website/content/features/server.md+++ b/website/content/features/server.md@@ -35,7 +35,7 @@ The remote control is on in this mode. The log prints the address to open and awith a QR code: pair your phone as with the [remote control](/features/remote.html), and`misterdownloadmanager-cli pair` makes a new code at any time.-In the browser extension, **Send downloads to → Another MDM** sends the downloads it catches, and+In the browser extension, **Send downloads to → Another Mister Download Manager (a server)** sends the downloads it catches, and**Download with Mister Download Manager** on a link, to the server instead of your computer. Thebrowser's cookies stay behind, so a download that needs you signed in to a site stays with yourcomputer.diff --git a/website/content/features/systems.md b/website/content/features/systems.mdindex 78a465e9..c1a09793 100644--- a/website/content/features/systems.md+++ b/website/content/features/systems.md@@ -2,9 +2,9 @@name: Windows, Mac and Linuxtitle: Download manager for Windows, with macOS and Linux buildsheadline: Made for Windows. On a Mac and Linux too.-line: Stable on Windows 10 and 11, installed or portable; experimental builds for macOS and Linux.-lede: MDM is built for 64-bit Windows 10 and 11, as an installer, a portable copy or a plain zip. Experimental builds for macOS and Linux come with every release.-description: Mister Download Manager runs on Windows 10 and 11, installed or portable, with experimental macOS (.dmg) and Linux (AppImage, .deb, .rpm) builds.+line: Stable on Windows 10 and 11, installed or portable; builds for Linux and macOS with every release.+lede: MDM is built for 64-bit Windows 10 and 11, as an installer, a portable copy or a plain zip. Builds for Linux and macOS come with every release.+description: Mister Download Manager runs on Windows 10 and 11, installed or portable, with Linux (AppImage, .deb, .rpm, .tar.gz) and macOS (.dmg) builds.group: apporder: 340since: 0.1.0@@ -36,13 +36,13 @@ written to the registry. Two things need the installer instead: starting with Witaking downloads from the browser, since both go through the registry. [Carry MDM on a USBstick](guide-usb-stick.md) shows the set-up.-## Mac and Linux: experimental, and said so+## Mac and Linux: what you get today-The files marked `-experimental` are for macOS 11 and later, on Apple Silicon or Intel, and for-Linux on x86-64: an AppImage for most distributions, a `.deb` for Ubuntu, Debian, Mint and-Pop!_OS, an `.rpm` for Fedora, openSUSE and RHEL, and a `.tar.gz` of the plain programs. They-are new, so you'd be among the first: please [tell us how it-went](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose), good or bad.+Today's files marked `-experimental` are for macOS 11 and later, on Apple Silicon or Intel, and+for Linux on x86-64: an AppImage for most distributions, a `.deb` for Ubuntu, Debian, Mint and+Pop!_OS, an `.rpm` for Fedora, openSUSE and RHEL, and a `.tar.gz` of the plain programs. Please+[tell us how it went](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose), good+or bad.There, MDM connects itself to your browsers at each start, has its tray icon, follows thesystem's light or dark look and uses the system's fonts and ffmpeg. The Mac app isn't notarized@@ -51,6 +51,28 @@ macOS 15 and later, **System Settings → Privacy & Security → Open Anyway**).update opens in the system's installer. A few parts work only on Windows, and the help says sowhere it matters.+## Linux, checked on four desktops++<!--@coming 0.5-->++Linux won't be experimental any more: every change is now checked on a Linux desktop as well as+on Windows. GNOME, KDE Plasma, Xfce and Cinnamon were checked window by window: the tray icon and+its menu, **Minimize to the notification area**, Dark Mode support following the desktop, and the+browsers handing downloads over (Ubuntu's Snap Firefox, Google Chrome and Brave). A Wayland+session runs MDM through XWayland, so menus open under their titles, on tiling compositors such+as sway too. The `.deb` and `.rpm` were installed in clean Ubuntu 24.04, Debian 12 and Fedora 45+systems and bring everything MDM needs; from the AppImage or the `.tar.gz`, a missing library is+named at start with the command that installs it. **Update now** asks the package manager which+package MDM is.+++*On Ubuntu's GNOME desktop, with the desktop's own file icons.*++What's left: the Flatpak Firefox isn't checked yet; screen readers (Orca) don't read MDM's+windows on Linux yet; and native Wayland windows can't place menus, so XWayland stays the+default. macOS stays experimental: its builds are made and tested by GitHub Actions, not yet on a+Mac of ours.+## Smaller Mac downloads, lighter Linux updates<!--@coming 0.5-->diff --git a/website/content/privacy.md b/website/content/privacy.mdindex ec3c123b..0fd8ef4b 100644--- a/website/content/privacy.md+++ b/website/content/privacy.md@@ -12,7 +12,7 @@ priority: 0.4- The app and the extension **send nothing about you to us**. We don't run servers that could receive it.- This **website** counts visits with **Statcounter**, which sets a cookie and sees your IP address; it runs only on the website, never in the app.-- The app talks to **the servers you download from**, to **GitHub** to check for updates once a week (you can turn that off), and to GitHub again for **yt-dlp and ffmpeg** if you download videos.+- The app talks to **the servers you download from**, to **GitHub** to check for updates when it starts (you can turn that off), and to GitHub again for **yt-dlp and ffmpeg** if you download videos.- **Torrents** are peer to peer: other people in a torrent's swarm see your IP address, as with every torrent client.- The **browser extension** talks only to Mister Download Manager on your own computer.- Your download list and settings stay **on your computer**.@@ -25,17 +25,27 @@ Mister Download Manager ("MDM") is free, open-source software made by Ahmed Nefz### What stays on your computer-Your download list, settings, logins you save in **Sites Logins**, the history of each download and the files you download are stored only on your computer: in `%APPDATA%\misterdownloadmanager` on Windows (or the `data` folder of the portable copy), and in the usual application-data folder on macOS and Linux. Nothing is uploaded anywhere. Uninstalling offers to delete them.+Your download list, settings, logins you save in **Sites Logins**, the history of each download and the files you download are stored only on your computer: in `%APPDATA%\misterdownloadmanager` on Windows (or the `data` folder of the portable copy), and in the usual application-data folder on macOS and Linux. Nothing is uploaded anywhere. Uninstalling offers to delete them. From the next release, the passwords of Sites Logins, the proxy and debrid accounts go into the system's keychain instead (Windows Credential Manager, the keyring on Linux, the macOS keychain), still on your computer, when one is there and unlocked.### Who the app talks to, and why- **The servers you download from.** To download a file, MDM connects to the server that holds it and sends what any browser would: the request, and the cookies, referrer and browser identification the extension passed along, so downloads that need you to be signed in keep working. Those servers see your IP address, as they would if your browser downloaded the file.- **Your proxy**, if you set one in **Options → Proxy / Socks**, and your network's proxy auto-config script, if you point MDM at one.-- **GitHub, to check for updates.** Once a week MDM asks GitHub's public API for the latest release of MDM (`api.github.com/repos/anefzaoui/misterdownloadmanager/releases/latest`). The request carries MDM's version in its User-Agent and nothing else. Turn the weekly check off in **Help → Check for updates**. If you choose **Update now**, MDM downloads the new version's file and its signed checksum list from the same GitHub release. GitHub's own privacy statement applies to these requests.+- **GitHub, to check for updates.** Each time it starts, and once a day while it stays open, MDM asks GitHub's public API for the latest release of MDM (`api.github.com/repos/anefzaoui/misterdownloadmanager/releases/latest`). The request carries MDM's version in its User-Agent and nothing else. Turn the check off in **Help → Check for updates** (**Check for updates at every start**). If you choose **Update now**, MDM downloads the new version's file and its signed checksum list from the same GitHub release. GitHub's own privacy statement applies to these requests.- **GitHub, for video helpers.** If you use **Download video from a page**, MDM downloads yt-dlp (and ffmpeg, if you want merged qualities) from their official GitHub releases, checks them, and once per session asks GitHub whether yt-dlp has a newer release. yt-dlp then talks to the video site you asked for, as your browser would.- **Torrent peers and trackers.** When you download a torrent, MDM connects to the trackers listed in the torrent, to the BitTorrent DHT network and to other peers, who see your IP address and which pieces you have. To accept connections it may ask your router to open a port (UPnP). This is how BitTorrent works; it ends when the torrent stops.- **Your AI assistant, only if you connect one.** MDM's MCP server (`misterdownloadmanager-mcp`) talks only to the MDM on your computer. But if you add it to an AI assistant (Claude, Cursor, VS Code…) and turn on the automation API, the assistant can read your download list, and what it reads (file names, addresses, folders) goes to that assistant's AI service, under its privacy terms. Nothing of this happens unless you set it up; see [AI assistants](/help/ai-assistants.html).+From the next release, only if you choose them:++- **The DNS you choose.** With a DNS other than the system's in **Options → Connection → DNS** (Cloudflare, Google, Quad9, AdGuard, NextDNS or your own), MDM asks it, over HTTPS, TLS or TCP, for the addresses of the servers it downloads from. That service sees those names and your IP address, under its own privacy terms.+- **Your debrid accounts.** A link or torrent you send through a Real-Debrid, AllDebrid or Premiumize account in **Options → Accounts** goes to that service, which then serves the file. Its sign-in stays on your computer, with the passwords above.+- **Codeberg, for gallery-dl.** If you download an image gallery, MDM installs gallery-dl from its official releases on Codeberg and checks its author's signature; gallery-dl then talks to the site you asked for.+- **A torrent IP blocklist**, if you give one: MDM fetches it from the address you entered, again every 7 days.+- **Your own devices, for the remote control.** Off until you turn it on in **Options → Remote**: then MDM answers, over HTTPS on your local network, only the phones and computers you paired with its code.++The server's country that **Download File Info** and the progress window show comes from a table inside MDM: no address is sent anywhere to look it up.+MDM has **no analytics, no automatic crash reporting, no telemetry and no advertising** (a crash report goes only where you send it yourself). It never sends us your download list, the addresses you download, or anything else.### Reporting a problemdiff --git a/website/download.html b/website/download.htmlindex 0890e598..c614fbdc 100644--- a/website/download.html+++ b/website/download.html@@ -96,11 +96,18 @@<li>Start Mister Download Manager from the Start menu, then <a href="/help/guide-first-download.html">download your first file</a>.</li></ol>+ <h2 id="linux-mac">On Linux or a Mac</h2>+ <p><b>Linux</b>: install the <b>.deb</b> with <code>sudo apt install ./<file>.deb</code> (Debian, Ubuntu, Mint) or the <b>.rpm</b> with <code>sudo dnf install ./<file>.rpm</code> (Fedora), and the packages bring what MDM needs. Or make the <b>AppImage</b> executable (<code>chmod +x</code>) and run it. MDM connects itself to your browsers at each start; then add the extension from your browser's store, above. <a href="/help/getting-started.html#on-linux">More in the help</a>.</p>+ <figure class="shot"><img class="for-light" src="/assets/screens/main-linux-light.webp" width="930" height="507" alt="Mister Download Manager's main window on Ubuntu's GNOME desktop: the categories and a list of downloads." loading="lazy" decoding="async"><img class="for-dark" src="/assets/screens/main-linux-dark.webp" width="930" height="507" alt="Mister Download Manager's main window on Ubuntu's GNOME desktop, in night mode." loading="lazy" decoding="async"><figcaption>MDM on Ubuntu's GNOME desktop.</figcaption></figure>+ <p><b>macOS</b>: open the <b>.dmg</b> and drag Mister Download Manager to Applications, then right-click it and choose <b>Open</b> the first time.</p>+ <!--@coming 0.5-->+ <p>Linux won't be experimental any more. GNOME, KDE Plasma, Xfce and Cinnamon were checked window by window, with the tray and Dark Mode support, in Wayland sessions too, and the <b>.deb</b> and <b>.rpm</b> in clean Ubuntu 24.04, Debian 12 and Fedora 45 systems. What's left: the Flatpak Firefox isn't checked yet, and screen readers (Orca) don't read MDM's windows on Linux yet. macOS stays experimental. <a href="/features/systems.html">Windows, Mac and Linux</a></p>+<h2>What you need</h2><ul><li><b>Windows 10 or 11</b>, 64-bit; about 100 MB of disk space.</li><li><b>macOS 11</b> or later on Apple Silicon or Intel (experimental).</li>- <li><b>Linux</b> on x86-64 with a desktop session (experimental).</li>+ <li><b>Linux</b> on x86-64 with a desktop session, X11 or Wayland (today's files experimental).</li><li>For video pages, MDM downloads yt-dlp (and ffmpeg if you want merged qualities) on first use.</li></ul>diff --git a/website/idm-alternative.html b/website/idm-alternative.htmlindex 6394696e..f34314d2 100644--- a/website/idm-alternative.html+++ b/website/idm-alternative.html@@ -252,7 +252,7 @@<li><b>Torrents and magnet links.</b> In the same list, with a file tree to pick from. IDM's website doesn't mention BitTorrent.</li><li><b>86 languages built in.</b> Right to left included, chosen on the first start.</li><li><b>Open source.</b> Anyone can read the code, check what it does and build it. No adware, no telemetry.</li>- <li><b>Mac and Linux too.</b> As experimental builds, if you use more than Windows.</li>+ <li><b>Linux and Mac too.</b> Builds with every release, if you use more than Windows. From the next release, Linux is no longer experimental: it is checked on GNOME, KDE Plasma, Xfce and Cinnamon.</li></ul><h2>MDM and IDM, side by side</h2>@@ -282,7 +282,7 @@<tbody><tr class="vs-gh"><th colspan="3" scope="colgroup">Reach</th></tr><tr><td data-label="MDM" class="better"><span class="vs-line"><span class="vs-v"><span class="box on" aria-hidden="true"></span>86, built in</span></span></td><th scope="row">Languages</th><td data-label="IDM"><span class="vs-line"><span class="vs-v">About 40, separate downloads</span></span></td></tr>- <tr><td data-label="MDM"><span class="vs-line"><span class="vs-v">Firefox, Chrome, Edge, Brave, Opera, Vivaldi</span></span></td><th scope="row">Browsers</th><td data-label="IDM" class="better"><span class="vs-line"><span class="vs-v"><span class="box on" aria-hidden="true"></span>Chrome, Firefox, Edge and more</span></span></td></tr>+ <tr><td data-label="MDM"><span class="vs-line"><span class="vs-v">Firefox, Chrome, Edge, Brave, Opera, Vivaldi, from their stores</span></span></td><th scope="row">Browsers</th><td data-label="IDM"><span class="vs-line"><span class="vs-v">Chrome, Firefox, Edge and more</span></span></td></tr><tr><td data-label="MDM" class="better"><span class="vs-line"><span class="vs-v"><span class="box on" aria-hidden="true"></span>Windows 10/11; macOS and Linux to try</span></span></td><th scope="row">Systems</th><td data-label="IDM"><span class="vs-line"><span class="vs-v">Windows</span></span></td></tr><tr><td data-label="MDM"><span class="vs-line"><span class="vs-v">New</span></span></td><th scope="row">Maturity</th><td data-label="IDM" class="better"><span class="vs-line"><span class="vs-v"><span class="box on" aria-hidden="true"></span>Refined over many years</span></span></td></tr></tbody>@@ -300,7 +300,7 @@</ol><h2>What IDM still does that MDM doesn't</h2>- <p>We'd rather you knew. IDM has a site grabber for whole websites, store-listed browser extensions, and many years of polish and compatibility fixes. MDM is new; if something you rely on is missing, <a href="{{REPO}}/issues">ask for it</a>.</p>+ <p>We'd rather you knew. IDM has a site grabber that follows a whole website's pages (MDM's link grabber takes the links of one page), and many years of polish and compatibility fixes. MDM is new; if something you rely on is missing, <a href="{{REPO}}/issues">ask for it</a>.</p></div></section>@@ -314,7 +314,7 @@<details><summary>Is it related to IDM?</summary><p>No. Mister Download Manager is an independent project written from scratch in Rust. It has no connection to Tonec Inc. and contains none of IDM's code, artwork or text. Internet Download Manager and IDM are trademarks of their owner, named here only to compare. <a href="/faq/is-it-idm.html">More</a></p></details><details><summary>Is it really free, or a trial?</summary><p>Really free, with no time limit, paid edition, ads or sign-up. <a href="/faq/is-it-free.html">More</a></p></details><details><summary>Can I keep IDM installed too?</summary><p>Yes. They don't share settings or files. Turn off one browser extension so each download goes to one program.</p></details>- <details><summary>Does it work on Mac and Linux?</summary><p>Yes, to try: every release has builds for macOS and Linux, marked experimental while they mature. Windows 10 and 11 are the main platform. <a href="/faq/systems.html">More</a></p></details>+ <details><summary>Does it work on Mac and Linux?</summary><p>Yes: every release has builds for Linux and macOS. Today's are marked experimental; from the next release, Linux isn't, after checks on four desktops, and macOS stays experimental. Windows 10 and 11 are the main platform. <a href="/faq/systems.html">More</a></p></details></div></div></section>diff --git a/website/index.html b/website/index.htmlindex 83e6ea07..f8c9c83d 100644--- a/website/index.html+++ b/website/index.html@@ -105,11 +105,11 @@</div><div class="tour-stage" data-lightbox><figure class="tour-panel" role="tabpanel" id="tour-progress" aria-labelledby="tour-tab-progress" data-on>- <img class="for-light" src="/assets/screens/progress-light.webp" width="548" height="443" alt="The download progress window: a file over eight connections, each one's share drawn as it fills."><img class="for-dark" src="/assets/screens/progress-dark.webp" width="548" height="443" alt="The download progress window: a file over eight connections, each one's share drawn as it fills.">+ <img class="for-light" src="/assets/screens/progress-light.webp" width="380" height="477" alt="The download progress window: a file over eight connections, each one's share drawn as it fills."><img class="for-dark" src="/assets/screens/progress-dark.webp" width="548" height="443" alt="The download progress window: a file over eight connections, each one's share drawn as it fills."><figcaption class="sr-only"><b>Every connection, live</b> Each connection drawn as it fills, with the speed and the time left. Crash-safe resume picks up where it stopped.</figcaption></figure><figure class="tour-panel" role="tabpanel" id="tour-torrents" aria-labelledby="tour-tab-torrents" aria-hidden="true">- <img class="for-light" src="/assets/screens/torrent-light.webp" width="548" height="448" loading="lazy" alt="A torrent's progress window on its Pieces tab: a square for each piece, filled once it's here."><img class="for-dark" src="/assets/screens/torrent-dark.webp" width="548" height="448" loading="lazy" alt="A torrent's progress window on its Pieces tab: a square for each piece, filled once it's here.">+ <img class="for-light" src="/assets/screens/torrent-light.webp" width="548" height="449" loading="lazy" alt="A torrent's progress window on its Pieces tab: a square for each piece, filled once it's here."><img class="for-dark" src="/assets/screens/torrent-dark.webp" width="548" height="449" loading="lazy" alt="A torrent's progress window on its Pieces tab: a square for each piece, filled once it's here."><figcaption class="sr-only"><b>Torrents, built in</b> Magnet links and .torrent files in the same list. Pick the files you want, then watch the swarm piece by piece.</figcaption></figure><figure class="tour-panel" role="tabpanel" id="tour-video" aria-labelledby="tour-tab-video" aria-hidden="true">@@ -117,7 +117,7 @@<figcaption class="sr-only"><b>Video from a page</b> Paste a page's address and choose a quality, up to 4K, from YouTube, Vimeo and thousands of other sites.</figcaption></figure><figure class="tour-panel" role="tabpanel" id="tour-scheduler" aria-labelledby="tour-tab-scheduler" aria-hidden="true">- <img class="for-light" src="/assets/screens/scheduler-light.webp" width="651" height="490" loading="lazy" alt="The Scheduler: a queue started and stopped by the clock."><img class="for-dark" src="/assets/screens/scheduler-dark.webp" width="651" height="490" loading="lazy" alt="The Scheduler: a queue started and stopped by the clock.">+ <img class="for-light" src="/assets/screens/scheduler-light.webp" width="651" height="530" loading="lazy" alt="The Scheduler: a queue started and stopped by the clock."><img class="for-dark" src="/assets/screens/scheduler-dark.webp" width="651" height="530" loading="lazy" alt="The Scheduler: a queue started and stopped by the clock."><figcaption class="sr-only"><b>Downloads on a schedule</b> Queues that start at 2 a.m., stop by 7 and turn the computer off when they're done.</figcaption></figure><figure class="tour-panel" role="tabpanel" id="tour-languages" aria-labelledby="tour-tab-languages" aria-hidden="true">@@ -346,7 +346,7 @@<div class="wrap facts-inner"><div class="sec-intro"><h2 id="tldr-title">In short</h2>- <p><strong>Mister Download Manager (MDM)</strong> is a free, open-source download manager for Windows 10 and 11, with experimental builds for macOS and Linux. It looks and works like Internet Download Manager (IDM), but it is free (GPL-3.0), downloaded a 1 GiB file 5.4 times faster than IDM 6.42 in our published benchmark, and also downloads torrents, magnet links and videos from web pages. A browser extension for Chrome, Edge, Brave, Opera, Vivaldi and Firefox hands downloads to it.</p>+ <p><strong>Mister Download Manager (MDM)</strong> is a free, open-source download manager for Windows 10 and 11, with builds for Linux and macOS. It looks and works like Internet Download Manager (IDM), but it is free (GPL-3.0), downloaded a 1 GiB file 5.4 times faster than IDM 6.42 in our published benchmark, and also downloads torrents, magnet links and videos from web pages. A browser extension for Chrome, Edge, Brave, Opera, Vivaldi and Firefox hands downloads to it.</p></div><div class="sheet sheet-labelled facts-sheet"><p class="sheet-band"><b>Mister Download Manager {{VERSION}}</b><span>The facts</span></p>@@ -408,7 +408,7 @@<details><summary>Is it safe to install?</summary><p>The whole source is public, and every release is built from it on GitHub's servers. No adware, no spyware, no bundled offers. The helpers it downloads for video are verified before they run. <a href="/faq/is-it-safe.html">More</a></p></details><details><summary>Can I move my downloads over from IDM?</summary><p>Yes: export your list from IDM, then choose Tasks → Import → From IDM export file in MDM. <a href="/faq/import-from-idm.html">More</a></p></details><details><summary>Which browsers work with it?</summary><p>Firefox, Chrome, Edge, Brave, Opera and Vivaldi through the extension, from <a href="{{AMO}}">Firefox's add-ons store</a> and <a href="{{CWS}}">the Chrome Web Store</a>. Without the extension, copy a link and MDM opens the download window. <a href="/faq/browsers.html">More</a></p></details>- <details><summary>Mac or Linux?</summary><p>Yes, to try: every release has a .dmg for Apple Silicon and Intel Macs and an AppImage, .deb, .rpm and .tar.gz for Linux, marked experimental while they mature. <a href="/faq/systems.html">More</a></p></details>+ <details><summary>Mac or Linux?</summary><p>Yes: every release has an AppImage, .deb, .rpm and .tar.gz for Linux and a .dmg for Apple Silicon and Intel Macs. Today's are marked experimental; from the next release, Linux isn't, after checks on four desktops, and macOS stays experimental. <a href="/faq/systems.html">More</a></p></details><details><summary>Where can I get help?</summary><p>The <a href="/help/">user guide</a> covers every window, with step-by-step tutorials. Something broken? <a href="{{REPO}}/issues/new?template=bug.yml">Open an issue on GitHub</a>, or use Help → Report a problem in the app.</p></details></div><p class="services-links"><a class="text-link" href="/faq/">All questions</a><a class="text-link" href="/help/troubleshooting.html">Troubleshooting</a><a class="text-link" href="{{REPO}}/issues/new?template=bug.yml">Report an issue</a></p>diff --git a/website/llms.txt b/website/llms.txtindex 6c050f32..1bdd7249 100644--- a/website/llms.txt+++ b/website/llms.txt@@ -1,22 +1,25 @@# Mister Download Manager-> Mister Download Manager (MDM) is a free, open-source (GPL-3.0) download manager for Windows 10 and 11, with experimental builds for macOS and Linux. It is laid out like Internet Download Manager (IDM) — toolbar, categories, download list, progress window with every connection, queues and scheduler — and is not affiliated with Tonec Inc. In its published benchmark against IDM 6.42 on the same computer and server it was faster in all seven scenarios (5.4× on a 1 GiB file, 106× on a 256 KiB file).+> Mister Download Manager (MDM) is a free, open-source (GPL-3.0) download manager for Windows 10 and 11, with builds for Linux and macOS (today's marked experimental; Linux is no longer experimental from the next release, macOS still is). It is laid out like Internet Download Manager (IDM) — toolbar, categories, download list, progress window with every connection, queues and scheduler — and is not affiliated with Tonec Inc. In its published benchmark against IDM 6.42 on the same computer and server it was faster in all seven scenarios (5.4× on a 1 GiB file, 106× on a 256 KiB file).Key facts:- Price: free, no ads, no trial, no paid edition. Licence: GNU GPL 3.0. Source: https://github.com/anefzaoui/misterdownloadmanager- Downloads: HTTP, HTTPS, FTP, FTPS (explicit and implicit TLS), BitTorrent and magnet links, and videos from web pages via yt-dlp. Proxies, SOCKS and PAC scripts.- Engine: up to 32 connections per file (8 by default; 128 once allowed in Options), dynamic re-splitting, crash-safe resume, checksum verification, refresh of expired download links, per-server connection limits learned automatically.-- Browser extension for Chrome, Edge, Brave, Opera and Vivaldi (Firefox in testing): hands downloads over with cookies and referrer, right-click "Download with Mister Download Manager", a draggable "Download video" button over videos. Without the extension, copying a link to a file opens the download window.+- Browser extension for Firefox (from addons.mozilla.org) and Chrome, Edge, Brave, Opera and Vivaldi (from the Chrome Web Store): hands downloads over with cookies and referrer, right-click "Download with Mister Download Manager", a draggable "Download video" button over videos. Without the extension, copying a link to a file opens the download window.- 86 interface languages (every Windows 11 display language), right-to-left layouts for Arabic, Hebrew, Persian, Urdu and Uyghur.- Imports IDM's export files (.ef2). Accepts IDM's command-line switches (/d /p /f /a /n /s). Has a CLI (misterdownloadmanager-cli, with --json output for scripts and agents) and a local token-protected automation API, described by a JSON Schema.- AI assistants: an MCP server (misterdownloadmanager-mcp) lets Claude, Cursor, VS Code and other MCP clients list, add, pause, resume and remove downloads in the running app.-- Privacy: the app has no accounts, no analytics, no telemetry; a weekly update check against GitHub that can be turned off.+- Privacy: the app has no accounts, no analytics, no telemetry; an update check against GitHub at each start (and once a day while it runs) that can be turned off.+- In the source now, coming with the next release: themes (Classic, Native, High contrast, Metro, Adwaita, Breeze, Luna, Aero, Aqua), View → Interface size, a link grabber with archive extraction, image galleries via gallery-dl, RSS feeds for torrents, debrid accounts (Real-Debrid, AllDebrid, Premiumize), downloads held to one network adapter with a kill switch, a chosen DNS, the server's country and round trip, a phone remote control on the local network, a headless server mode (Docker, Unraid), and sign-ins in the system's keychain. Each has a page under https://misterdownloadmanager.com/features/.- Written in Rust with egui. Made by Ahmed Nefzaoui and contributors.## Pages- [Download](https://misterdownloadmanager.com/download.html): Windows installer and portable zip, macOS .dmg, Linux AppImage/.deb/.rpm/.tar.gz, browser extension, checksums- [Free IDM alternative](https://misterdownloadmanager.com/idm-alternative.html): Mister Download Manager as a free, open-source alternative to Internet Download Manager, compared side by side with IDM and with nine other free download managers (Free Download Manager, AB Download Manager, Motrix, Neat Download Manager, Prism, JDownloader 2, Xtreme Download Manager, Gopeed, DOWNitUP)+- [Features](https://misterdownloadmanager.com/features/): a page for each feature, with its window, where it is in the app and what it can't do yet+- [Themes](https://misterdownloadmanager.com/themes.html): every built-in theme, light and dark, and how to make your own- [Questions and answers](https://misterdownloadmanager.com/faq/)- [Help and tutorials](https://misterdownloadmanager.com/help/)- [What's new](https://misterdownloadmanager.com/news.html)