UUI Py 1.0.0.5 - this build
===========================
1. See what's on a drive before erasing it
   - Before Prepare or Wipe Disk erases a drive, UUI says when it appears to hold:
       * an installed Windows, macOS or Linux - by name where it can be read
         ("Windows 11", "Ubuntu 24.04", "macOS 14.5"), otherwise by what was
         found (a Windows recovery partition, APFS / HFS+ partitions, Linux
         root / swap / LVM partitions);
       * the PendriveLinux OS installed by UUI's OS Image tab;
       * BitLocker- or LUKS-encrypted partitions (UUI can't see inside them);
       * a disk image written straight to the drive (e.g. a Linux live USB).
   - Where it shows: the Step 2 card says it as soon as the drive is picked
     (checked in the background), the Prepare and Wipe Disk windows list it in a
     red box right above the erase warning, and the log records it.
   - When an OS or encrypted partition is found, the drive's name has to be typed
     to continue, even on a removable USB drive. Linux-formatted data partitions
     and written images are listed but don't need typing.
   - How it looks: files on partitions that are readable (Windows\System32 and
     ntoskrnl.exe's version, etc/os-release, macOS SystemVersion.plist),
     partition types, and on-disk signatures in each partition's first 128 KiB.
     On Windows those are read straight from the disk; on Linux they come from
     lsblk. Nothing is mounted to look, and the check never blocks anything on
     its own - it only informs.
2. Fixed (Windows): after a fresh Prepare, the theme, ventoy.json, UUIDRV lock
   and volume label could go to the wrong partition (often the small VTOYEFI),
   because Windows reassigns drive letters while Ventoy repartitions the drive.
   UUI now finds the new data partition by disk number: partition 1, at the start
   of the disk, with the filesystem Prepare formatted, never VTOYEFI. It waits up
   to 20 seconds for Windows to mount it, and skips those steps (and says so)
   rather than guess. Update uses the same lookup.
3. Fixed (Windows): with a blank (unformatted) drive plugged in, every drive could
   be listed as unformatted - on Python 3.9-3.12 the blank volume's error aborted
   the whole drive scan. Normal drives now list correctly and the blank drive
   shows as unformatted. One unreadable drive can no longer stop the others from
   being listed.
4. Fixed (Windows): a CD/DVD drive or a mounted ISO could be mistaken for Disk 0.
   They are never listed (even with all drives shown) and never counted as part
   of a disk.
5. Writes go only to the drive you picked
   - Adding, downloading and removing ISOs, the Add Multiple queue, Windows on
     VHD and the OS boot setting check that the drive at that letter / mount
     point is still the one you picked, and stop with a message if it was
     swapped, reformatted or prepared again.
   - Long jobs (downloads, copies, persistence files, the VHD) check again before
     their final writes.
   - Queued items attach to the selected drive when the queue starts; a batch of
     removals attaches when it starts.
6. Linux: Prepare (fresh install) clears the disk's whole old partition table,
   including the backup GPT, before Ventoy runs, so no old partition is left
   behind. Update never does.
7. Drag and drop of ISO files (Windows and Linux)
   - Drop .iso, .img, .vhd or .vhdx files from Explorer / your file manager:
       * on the Install tab - each file's distro is detected from its name and the
         files are added to the selected drive right away (the drive must be
         prepared). If any file isn't recognised, nothing starts: Add Multiple
         opens with those rows asking for a distro.
       * on the Add Multiple tab - they are queued; Add starts them.
     The message after a drop says what each file was detected as. Folders and
     other files are skipped.
   - Where to drop is marked: a "Drop ISO files here" pill in the Step 2 heading,
     a "Browse or drop files..." pill on Add Multiple, and a large drop area while
     the queue is empty. All of them can also be clicked to pick files. On Linux
     the area lights up while files are dragged over it; every drop area flashes
     when a drop lands.
   - Windows: works while UUI runs as Administrator. Windows blocks the usual
     (OLE) drag and drop from Explorer into an elevated program, which is why it
     didn't work before; UUI uses the older shell drop message instead and lets it
     through with ChangeWindowMessageFilterEx. Nothing extra to bundle.
   - Linux: uses tkinterdnd2 (tkdnd), which build-onefile.sh and
     build-manylinux2014-inner.sh now install and bundle. If it can't be
     installed, or doesn't load on an older system, the app works as before
     with Browse only.
8. Add Multiple queue
   - One file is written to the drive at a time, top to bottom. Parallel writes
     to one USB stick were slower overall on most drives and fragmented the
     files (which Ventoy can trip over in some boot modes), so the "Concurrent
     operations" setting is gone.
   - Waiting rows have up / down arrows to change the order.
   - Files that weren't recognised are marked in amber with a "choose a distro"
     list in their row, and wait until one is chosen. Pressing Add with some
     still waiting asks whether to put them in Linux-ISOs.
   - Before the queue starts, UUI adds up the files (and persistence) and warns
     if they won't fit in the drive's free space.
   - The queue line shows the time left for the files still to copy, from the
     speed so far, plus how many downloads are still to come.
9. Resumable downloads
   - A download that is stopped or fails keeps its partial (.part) file on the
     drive. Trying it again (Retry Failed, or downloading the same distro again)
     continues from there with an HTTP range request; if the server doesn't allow
     that, it starts over. Removing the row, Clear Queue or Clear Finished deletes
     the partial file.
10. A shorter window
   - Tighter spacing in the header, tabs and Step 1; the Step 2 heading is one
     line (like Steps 1 and 3); the distro list and the details pane are one line
     shorter; the Add Multiple heading lost its second line.
   - Create / Close now sit on the progress row instead of a row of their own at
     the bottom. The version that was shown there is in the title bar and the
     About tab. Together this saves roughly 120 px at 100% scaling.
11. Distro detection from file names
   - Fixed: an ISO whose distro isn't in the list (Alpine Linux, for example) was
     detected as "Windows 11 Installer ISO", because that entry's catch-all
     "*.iso" pattern was the first to match. This affected drag and drop, Add
     Multiple, Step 3's Browse (which then picked Windows 11 for you) and the
     list of distros already on the drive. Catch-all patterns no longer count as
     a match - such files show as not recognised - and Windows 10 / 11 installer
     ISOs are recognised by their usual names (Win11_24H2_English_x64.iso,
     en-us_windows_11_..., Windows10.iso). The catch-alls still apply in the
     Browse dialog's file filter, as before.
   - Alpine Linux added to the list (Other Distros, Linux-ISOs), with a download
     source: the standard x86_64 image from Alpine's latest-stable folder.
   - Downloads from a folder listing pick the newest version by number
     (3.24.10 beats 3.24.9) and skip release candidates / betas when a final
     release is there.
12. Step 2's heading says what to do: "Select from the list below, or drag & drop
    ->" next to the "Drop ISO files here" pill (just "Select one from the list
    below." where drag and drop isn't available).
13. The Add Multiple tab carries a small count badge: how many files are still to
    go (waiting or being added). It is blue, amber while some files wait for a
    distro to be chosen, and gone when nothing is left - so a drop on the Install
    tab, or a queue running in the background, is visible from any tab.
    (Also fixed: the line under the tabs was drawn just outside the tab strip
    after the strip was made shorter.)
14. Fixed: Step 2 said "This drive already has files on it, so it may not be the
    one you want" for freshly formatted, empty drives. It went by used space (50 MB
    or more), but a new file system uses space for itself - NTFS's file table and
    journal are often 100-300 MB, ext4's journal 128 MB or more. UUI now looks at
    the drive's top folder instead and ignores what Windows, macOS and Linux put
    there by themselves (System Volume Information, $RECYCLE.BIN, lost+found,
    .Trashes, .Trash-1000, ...). Only when the drive can't be read (not mounted) does
    used space decide, and then only 0.5 GB or more counts as files. The drive
    usage bar under Step 1 follows the same rule.
   - That check only sees the partition with the drive letter / mount point, but
     Prepare and Wipe erase the whole disk. So the "what's on this drive" check
     now also lists every other partition - hidden, unlettered or unmounted ones
     included - with its file system, label and size, for example:
         1 other partition (NTFS "Backup", 2.0 GB) - it may hold files
     It shows in the Step 2 card ("This drive has 1 other partition (...) that may
     hold files, so it may not be the one you want.") and in the red box of the
     Prepare and Wipe Disk windows. Ventoy's boot partition, EFI system partitions
     and Windows recovery partitions are named as such; the Microsoft reserved
     partition (no files) is left out, and so are the partitions of a disk image
     written to the drive. It informs only - typing the drive's name is still
     asked for an installed OS or encryption, not for extra partitions.
15. The drive is the record of what's installed
   - Manage Installed, the "already on the drive" checks and everything else now
     look at what is actually in the drive's UUI/<category>/ folders (.iso, .img,
     .vhd, .vhdx, in any letter case). Installed.txt is no longer trusted: it could
     list files that were deleted in Explorer / a file manager, which then still
     showed in Manage Installed and counted as installed.
   - Installed.txt is still written - for the original UUI, which still reads it -
     but now from the drive: after every add or remove it is rewritten from the
     folders, in the same format as before ("Category\file" lines, CRLF). So it
     also corrects itself on drives where it had gone stale. It is only rewritten
     when its content changes. The only thing UUI Py takes from it is the order
     (files it lists come first, in the order they were added).
   - Copies are written as <name>.copying and renamed once complete (downloads
     already used .part), for ISO copies and the Windows-on-VHD copy. An
     interrupted copy - drive unplugged, PC crashed - can no longer leave a
     truncated file under the real name that looks installed; a failed or
     stopped copy removes its temporary file.
16. Cleanup: removed what the changes above left unused - the parallel-queue
    progress code and checks (the queue is one at a time now), the old drive-letter
    file-system lookup from Prepare, an unused output list, and the "Linux-formatted
    partitions" note (other partitions are listed with their file system instead).
    Stopping a download row now says the partial download is kept.
    Also removed code that nothing in UUI Py used (it was already unused in
    1.0.0.4): drives.drive_prepared / drive_has_uui_or_ventoy /
    poll_drive_identities, distros.distros_in_category, iso_resolver.has_download,
    testboot.filename_from_url / find_qemu_img_binary, wintogo.WimlibError /
    _unique_vhd_label, prepare.UUI2DISK, and unused imports.
17. Tests: tests/test_1114_fixes.py, tests/test_oscheck.py, tests/test_dragdrop.py,
    tests/test_resume.py, tests/test_distros.py, tests/test_user_files.py and
    tests/test_installed.py
    (python3 -I -m unittest discover -s tests).
18. Every action that erases a whole disk now says so, naming the disk and its volumes,
    because Prepare and Wipe Disk erase the whole physical disk, not just the drive
    letter / mount point that was picked:
       * the Step 2 prepare card: "Setting it up erases everything on Disk 2 (E:),
         including any other volumes or partitions on it.";
       * the Prepare window: "Everything on Disk 2 (E:, F:) will be erased, including
         any other volumes or partitions on it. This cannot be undone.";
       * the Wipe Disk window, its tooltip and the Prepare button's tooltip;
       * Windows' Confirm drive window: "EVERYTHING ON DISK 2 WILL BE PERMANENTLY
         ERASED, INCLUDING ANY OTHER VOLUMES OR PARTITIONS ON IT.".
   - On Linux the disk is named by its device and mount points - "everything on
     /dev/sdb (/media/lance/USB), including any other partitions on it".
   - The OS Image install, which replaces only one partition, keeps its own
     partition-only warning.
   - Removing ISOs names the volume and says only those files go: "Remove
     Linux-ISOs\ubuntu.iso from E:? Only this file (and its persistence file, if it
     has one) is deleted. Your other ISOs and files stay as they are."
19. Fixed: on a drive that isn't set up, the Install tab's Step 2 prepare card was wider
    than the window and ran off its right edge - its text wrapped at fixed widths and
    the three steps (Prepare the drive > Choose a distro > Add it to the drive) were
    always side by side. The card now wraps its text to the window's width, and the
    steps go one per line when they don't fit side by side.
20. Version bumped to 1.0.0.5.
