nautilus:46-alpha-1-release

Last commit made on 2024-01-28
Get this branch:
git clone -b 46-alpha-1-release https://git.launchpad.net/nautilus

Branch merges

Branch information

Name:
46-alpha-1-release
Repository:
lp:nautilus

Recent commits

37da08e... by Peter Eisenmann <email address hidden>

Release version 46.alpha.1

ea140b1... by Khalid Abu Shawarib

directory-async: Use hash tables for ready callbacks

This improves performance with directories that have a large number
of direct descendants. Also use the words 'unsatisfied' and 'ready'
instead of active and inactive to better describe the two types.

0c56975... by Khalid Abu Shawarib

directory-async: Rename misleading function name

Function implies that it only removes active requests when in
reality it doesn't even check for active flag.

950f40a... by Khalid Abu Shawarib

directory-async: Simplify function

Simplify ordered comparision function into equality since it's not
being used as ordered comparsion. Keep the name to imply that
it still treats 0 as an equal, same as GCompareFunc.

44d7837... by Khalid Abu Shawarib

Revert "The HP-UX compiler is an anal retentive bastard."

This reverts commit 6efb3bdcac19efdd2add901e6af9b5e6463bbb2a.

No one cares about that compiler anymore.

18a4166... by Khalid Abu Shawarib

file: Reuse parent for thumbnail preference calculation

Most of the time, the functions end up looking up the parent file
twice. So reuse the parent file by passing it directly to improve
performance when loading many files. This roughly improves
`get_speed_tradeoff_preference_for_file` by about 40% when having
local thumbnails only preference, which is by itself about 10%
of CPU time of loading large directories before this optimization.

7bc5655... by Khalid Abu Shawarib

file: Allow reading filesystem info for files

There's no reason for this to be restricted to directories. it was
introduced in [1] which seems to just copy the logic from [2] which
was meant for `filesystem::type`. I can't find any commit or
documentation change that states it was ever exclusive to
directories though. Also protect the reading with a check to wether
the filesystem metadata is up to date.

[1] 99f55748ef69a68df86b9a039998ee576d59b898
[2] bfd9ccf65c1b85dd6d38e17410debc23cb3c7daf

cead32c... by Khalid Abu Shawarib

properties-window: Limit the number of names added.

Put an upper limit on the number of names added to the properties
window. This improves performance when selecting large number
files. Moreover, it is unlikely for many items to fit in the
allocated text area.

780b9a5... by Khalid Abu Shawarib

properties-window: Reuse GFiles and store them in a hashtable

When displaying the properties of a large number of files that are
not nested, an inefficient code cause the dialog to take 100+
seconds to open. Instead of generating the entire list again for
every check, store them in hash table before iterating, and search
using the hash table. This provides extreme time saving factor
with large file count.

f1c683d... by =?utf-8?q?Ant=C3=B3nio_Fernandes?= <email address hidden>

files-view: Update actions immediately on selection change

In the network view, if the row is not selected, clicking the unmount
button does nothing. Indeed, the action is still disabled, despite an
elligible item being selected already.

This happens because the because actions state is updated on idle
along with the context menus. This is reasonable as the context menus
update can be expensive.

However, not updating actions state imimediately is unexpected, so
let's immediately update them when selection changes.