Till Mayer
b0b523e973
FileManager: Added properties dialog
...
The user can rename files, change the permissions and view different
properties of the file.
2019-11-20 23:23:57 +01:00
Brandon Scott
17597f4681
LibGUI: Fix GDirectoryModel lifetime bug.
...
Thumbnail generation callbacks were getting called after the class was already being destroyed causing a crash to occur.
2019-10-03 08:17:41 +02:00
Andreas Kling
3900eebf15
FileManager+LibGUI+html: Add an icon to represent HTML files
...
This also becomes the app icon for the little "html" program. :^)
2019-09-29 21:00:41 +02:00
Andreas Kling
4ea229accd
LibCore: Convert CTCPServer to ObjectPtr
...
Also get rid of the custom CNotifier::create() in favor of construct().
2019-09-21 15:25:08 +02:00
Andreas Kling
d1bacb9885
LibCore: Convert CNotifier to ObjectPtr
2019-09-20 15:39:15 +02:00
Andreas Kling
f1c4b65089
GDirectoryModel: Add on_path_change hook
2019-09-13 21:43:23 +02:00
Andreas Kling
13ca1ee8dc
GDirectoryModel: Allow retrieving an item's full path via Role::Custom
2019-09-12 18:58:52 +02:00
Andreas Kling
566eb58170
GDirectoryModel: Include directories in total byte count
...
I don't know what's really right or wrong here. It seems fine to also
include the directories in the total byte count, and it makes it a bit
easier to stay consistent when adding up size numbers elsewhere.
2019-09-12 18:41:28 +02:00
Andreas Kling
55bae788f0
GDirectoryModel: No need to clear the selected index in open()
...
Now that the view manages selection instead of the model, it's not
something GDirectoryModel needs to worry about anymore.
2019-09-07 20:01:18 +02:00
Andreas Kling
c4d59f64d1
GDirectoryModel: Add a 32x32 filetype icon for sound files
2019-09-04 21:48:03 +02:00
Sergey Bugaev
7c92f7d537
LibGUI: Port threading to LibThread
2019-08-26 11:31:14 +02:00
Ignas S
6228e18a09
GTableView and friends: API improvements for 'Sortable' flag.
2019-08-12 11:01:47 +02:00
Ignas S
405d7ddec8
GDirectoryModel: prevent sorting by icons.
2019-08-12 11:01:47 +02:00
Andreas Kling
673a98258b
GDirectoryModel: Fix redundant identical comparison.
...
Found by PVS-Studio.
2019-08-01 14:01:37 +02:00
Andreas Kling
db5a4c3409
GDirectoryModel: Tweak default width of permission bits column
...
Now that GTableView elides text content by default, this column was a
little too wide and ended up getting elided sometimes.
2019-07-31 21:21:20 +02:00
Andreas Kling
993ab84a0d
GDirectoryModel: Add "modification time" column.
...
Fixes #373 .
2019-07-31 07:09:35 +02:00
Andreas Kling
34db7067fa
GDirectoryModel: Shrink the Permissions and Inode columns a little bit.
2019-07-31 06:50:01 +02:00
Andreas Kling
b312215d33
GDirectoryModel: Don't forget to drain the watch descriptor.
2019-07-22 20:12:35 +02:00
Andreas Kling
1511cac715
GDirectoryModel: Automagically update on filesystem changes.
...
Use the new watch_file() mechanism to monitor the currently open directory
for changes and refresh the model when notified. This makes FileManager
automagically show newly added files. :^)
2019-07-22 20:08:25 +02:00
Andreas Kling
1c0669f010
LibDraw: Introduce (formerly known as SharedGraphics.)
...
Instead of LibGUI and WindowServer building their own copies of the drawing
and graphics code, let's it in a separate LibDraw library.
This avoids building the code twice, and will encourage better separation
of concerns. :^)
2019-07-18 10:18:16 +02:00
Andreas Kling
954a0b8efe
AK: Add a canonicalized_path() convenience function.
...
This is the same as calling FileSystemPath(foo).string(). The majority of
clients only care about canonicalizing a path, so let's have an easy way
to express that.
2019-07-15 06:50:32 +02:00
Andreas Kling
992272761c
LibGUI: Remove use of copy_ref().
2019-07-11 15:49:47 +02:00
Andreas Kling
04b9dc2d30
Libraries: Create top level directory for libraries.
...
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
2019-07-04 16:16:50 +02:00