summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/FileSystemModel.cpp
AgeCommit message (Collapse)Author
2021-05-07LibGUI: Convert StringBuilder::appendf() => AK::FormatAndreas Kling
2021-04-29Everywhere: "indexes" => "indices"Andreas Kling
I've wasted a silly amount of time in the past fretting over which of these words to use. Let's just choose one and use it everywhere. :^)
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-17LibGUI: Make some API's take String instead of StringViewAndreas Kling
2021-04-10LibGUI: List directories before files in FileSystemModelAndreas Kling
Instead of mixing directories and files, sorting a FileSystemModel by the Name column will now give you all the directories first, followed by all the files.
2021-04-09Base+LibGUI: Add an familiar-looking icon for the desktop directoryAndreas Kling
2021-04-09LibGUI: Allow navigating into symlinked directories in FilePickerAndreas Kling
If you double-click on a symlink to a directory while browsing with a FilePicker, you most likely want to open the directory the symlink points to, not open the symlink itself. So let's do that. :^)
2021-03-26LibGUI: Show human readable size in filemanagerFederico Guerinoni
The size is visible only in TableView mode of the filemanager.
2021-03-16LibGfx: Rename 32-bit BitmapFormats to BGRA8888 and BGRx888xAndreas Kling
The previous names (RGBA32 and RGB32) were misleading since that's not the actual byte order in memory. The new names reflect exactly how the color values get laid out in bitmap data.
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
2021-02-21LibGUI: Fix crash when previewing palette imagesBen Wiederhake
For example, navigating File Manager to a directory that contains a vaild BMP file that uses a palette, this code would end up trying to create an indexed thumbnail. However, Painter asserts that the thumbnail that we paint on is *not* indexed, usually crashing File Manager. Partially fixes #5299, as it now crashes somewhere else.
2021-02-11LibGUI: Use Core::FileWatcher in FileSystemModelDexesTTP
This replaces the manual watch_file and Notifier handling with the new Core::FileWatcher wrapper, which reduces the manual handling and makes the code easier to reason about :^)
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling