Feed Advanced Search

Apr 15 2020

bruns requested review of D28864: [Extractor] Better balance idle and busy mode.
Apr 15 2020, 10:24 PM · Baloo, Frameworks
bruns added a dependent revision for D28863: [Extractor] Fix idle monitoring: D28864: [Extractor] Better balance idle and busy mode.
Apr 15 2020, 10:24 PM · Baloo, Frameworks
bruns requested review of D28863: [Extractor] Fix idle monitoring.
Apr 15 2020, 10:23 PM · Baloo, Frameworks
bruns added a dependent revision for D28862: [Extractor] Remove IdleStateMonitor wrapper class: D28863: [Extractor] Fix idle monitoring.
Apr 15 2020, 10:23 PM · Baloo, Frameworks
bruns requested review of D28862: [Extractor] Remove IdleStateMonitor wrapper class.
Apr 15 2020, 10:21 PM · Baloo, Frameworks
bruns committed R293:fac46f873292: [Extractor] Remove unused KFileMetaData/PropertyInfo include (authored by bruns).
[Extractor] Remove unused KFileMetaData/PropertyInfo include
Apr 15 2020, 10:06 PM
bruns closed D28845: [OrpostingIterator] Allow skipping elements, implement skipTo.
Apr 15 2020, 10:04 PM · Baloo, Frameworks
bruns committed R293:4e7626c9488b: [OrpostingIterator] Allow skipping elements, implement skipTo (authored by bruns).
[OrpostingIterator] Allow skipping elements, implement skipTo
Apr 15 2020, 10:04 PM
bruns committed R293:c00cf2022763: [PhraseAndIterator] Replace recursive next() implementation (authored by bruns).
[PhraseAndIterator] Replace recursive next() implementation
Apr 15 2020, 10:04 PM
bruns closed D28844: [PhraseAndIterator] Replace recursive next() implementation.
Apr 15 2020, 10:04 PM · Baloo, Frameworks
bruns closed D28843: [AndPostingIterator] Replace recursive next() implementation.
Apr 15 2020, 10:03 PM · Baloo, Frameworks
bruns committed R293:5d20560ef6d6: [AndPostingIterator] Replace recursive next() implementation (authored by bruns).
[AndPostingIterator] Replace recursive next() implementation
Apr 15 2020, 10:03 PM
bruns closed D28839: [PostingIterator] Make sure skipTo also works for first element.
Apr 15 2020, 5:19 PM · Baloo, Frameworks
bruns committed R293:dd1b7a6d02a5: [PostingIterator] Make sure skipTo also works for first element (authored by bruns).
[PostingIterator] Make sure skipTo also works for first element
Apr 15 2020, 5:19 PM

Apr 14 2020

bruns requested review of D28845: [OrpostingIterator] Allow skipping elements, implement skipTo.
Apr 14 2020, 9:09 PM · Baloo, Frameworks
bruns added a dependent revision for D28839: [PostingIterator] Make sure skipTo also works for first element: D28845: [OrpostingIterator] Allow skipping elements, implement skipTo.
Apr 14 2020, 9:09 PM · Baloo, Frameworks
bruns requested review of D28844: [PhraseAndIterator] Replace recursive next() implementation.
Apr 14 2020, 9:03 PM · Baloo, Frameworks
bruns added a dependent revision for D28839: [PostingIterator] Make sure skipTo also works for first element: D28844: [PhraseAndIterator] Replace recursive next() implementation.
Apr 14 2020, 9:03 PM · Baloo, Frameworks
bruns requested review of D28843: [AndPostingIterator] Replace recursive next() implementation.
Apr 14 2020, 9:01 PM · Baloo, Frameworks
bruns added a dependent revision for D28839: [PostingIterator] Make sure skipTo also works for first element: D28843: [AndPostingIterator] Replace recursive next() implementation.
Apr 14 2020, 9:01 PM · Baloo, Frameworks
bruns requested review of D28839: [PostingIterator] Make sure skipTo also works for first element.
Apr 14 2020, 8:04 PM · Baloo, Frameworks
bruns added a comment to D20655: Use generated DBus interface.

We copy udisks xml already. I don't think it ends up any better. Otherwise we have a compile time dep on a runtime plugin, which inevitably means we need to make it optional which only introduces more real-world bugs. It also means future devs know what we were compiled against.

Marking as requesting changes for the extra include, but personally I think it's generally good to go.

Apr 14 2020, 12:00 PM · Frameworks

Apr 13 2020

bruns committed R245:3adf5d472448: [Fstab] Do not emit deviceAdded twice on fstab/mtab changes (authored by bruns).
[Fstab] Do not emit deviceAdded twice on fstab/mtab changes
Apr 13 2020, 10:31 AM
bruns closed D28782: [Fstab] Do not emit deviceAdded twice on fstab/mtab changes.
Apr 13 2020, 10:31 AM · Frameworks
bruns committed R245:62de28267684: [Fstab] Use new style connect API (authored by bruns).
[Fstab] Use new style connect API
Apr 13 2020, 10:29 AM
bruns closed D28779: [Fstab] Use new style connect API.
Apr 13 2020, 10:29 AM · Frameworks
bruns updated the summary of D28779: [Fstab] Use new style connect API.
Apr 13 2020, 10:28 AM · Frameworks
bruns committed R245:340e1ac7c38f: [FstabWatcher] Use static QStringLiteral instead of macro (authored by bruns).
[FstabWatcher] Use static QStringLiteral instead of macro
Apr 13 2020, 10:26 AM
bruns closed D28778: [FstabWatcher] Use static QStringLiteral instead of macro.
Apr 13 2020, 10:26 AM · Frameworks
bruns updated the diff for D28778: [FstabWatcher] Use static QStringLiteral instead of macro.

move statics into namespace

Apr 13 2020, 10:20 AM · Frameworks
bruns updated the diff for D28776: FstabDevice: Avoid recurrent construction of emblems QStringList.

put statics in namespace

Apr 13 2020, 10:13 AM · Frameworks

Apr 12 2020

bruns added inline comments to D28782: [Fstab] Do not emit deviceAdded twice on fstab/mtab changes.
Apr 12 2020, 9:09 PM · Frameworks
bruns added inline comments to D28780: [FstabWatcher] Fix loosing of fstab watcher.
Apr 12 2020, 8:59 PM · Frameworks
bruns requested review of D28782: [Fstab] Do not emit deviceAdded twice on fstab/mtab changes.
Apr 12 2020, 6:23 PM · Frameworks
bruns added a dependent revision for D28779: [Fstab] Use new style connect API: D28782: [Fstab] Do not emit deviceAdded twice on fstab/mtab changes.
Apr 12 2020, 6:23 PM · Frameworks
bruns added a dependent revision for D28779: [Fstab] Use new style connect API: D28780: [FstabWatcher] Fix loosing of fstab watcher.
Apr 12 2020, 6:21 PM · Frameworks
bruns requested review of D28780: [FstabWatcher] Fix loosing of fstab watcher.
Apr 12 2020, 6:21 PM · Frameworks
bruns added a dependent revision for D28778: [FstabWatcher] Use static QStringLiteral instead of macro: D28779: [Fstab] Use new style connect API.
Apr 12 2020, 6:20 PM · Frameworks
bruns requested review of D28779: [Fstab] Use new style connect API.
Apr 12 2020, 6:20 PM · Frameworks
bruns requested review of D28778: [FstabWatcher] Use static QStringLiteral instead of macro.
Apr 12 2020, 6:17 PM · Frameworks
bruns added a dependent revision for D28776: FstabDevice: Avoid recurrent construction of emblems QStringList: D28777: FstabDevice: Reevaluate emblems only when state changes.
Apr 12 2020, 6:14 PM · Frameworks
bruns requested review of D28777: FstabDevice: Reevaluate emblems only when state changes.
Apr 12 2020, 6:14 PM · Frameworks
bruns requested review of D28776: FstabDevice: Avoid recurrent construction of emblems QStringList.
Apr 12 2020, 6:13 PM · Frameworks
bruns accepted D28473: BookmarksRunner: Early return and formatting.
Apr 12 2020, 2:02 PM · Plasma
bruns added inline comments to D28590: Add a QString Solid::Device::displayName, used in Fstab Device for network mounts.
Apr 12 2020, 1:59 PM · Frameworks
bruns added inline comments to D28590: Add a QString Solid::Device::displayName, used in Fstab Device for network mounts.
Apr 12 2020, 10:39 AM · Frameworks
bruns added inline comments to D27152: Introduce FilesystemEntry class.
Apr 12 2020, 9:55 AM · Frameworks
bruns accepted D28682: rename and export newBatchTime signal in filecontentindexer.

thx

Apr 12 2020, 8:16 AM · Baloo, Frameworks

Apr 10 2020

bruns requested changes to D28682: rename and export newBatchTime signal in filecontentindexer.
Apr 10 2020, 9:19 AM · Baloo, Frameworks

Apr 9 2020

bruns added a comment to D28682: rename and export newBatchTime signal in filecontentindexer.

Regarding API, done is a little bit vague.

Apr 9 2020, 4:29 PM · Baloo, Frameworks
bruns added a comment to D28682: rename and export newBatchTime signal in filecontentindexer.

Then it's fine from my application point of view. I can add a corresponding start signal for convenience, though. Your call.

Apr 9 2020, 4:27 PM · Baloo, Frameworks
bruns added a comment to D28673: [PackageUrlInterceptor] Make QRegularExpression static.

Yeah, can probably be a startsWith

Apr 9 2020, 2:52 PM · Frameworks

Apr 8 2020

bruns added a comment to D28682: rename and export newBatchTime signal in filecontentindexer.

In general fine for me.

How will Elisa deal with the indexer maybe crashing inbetween? Do we also need a signal for a batch start?

From my (limited) understanding, the finishedIndexingFile will no be emitted when an indexers crashes, does it? Then I think it is fine without an additional signal as long as the done() signal is still emitted as it is possible to reset the applications' internal list. Or will it retry some files of the current batch?

Apr 8 2020, 7:05 PM · Baloo, Frameworks
bruns added a comment to D28682: rename and export newBatchTime signal in filecontentindexer.

In general fine for me.

Apr 8 2020, 5:42 PM · Baloo, Frameworks

Apr 7 2020

bruns added a comment to D28400: [AdvancedQueryParser] Move semantic handling of tokens to SearchStore.

Sorry, but that isn't how this works. Also, you will notice that one of the failing platforms is FreeBSD. Which is freely available and OSS.

Apr 7 2020, 8:00 PM · Baloo, Frameworks
bruns added inline comments to D28400: [AdvancedQueryParser] Move semantic handling of tokens to SearchStore.
Apr 7 2020, 7:10 PM · Baloo, Frameworks
bruns added a comment to D28400: [AdvancedQueryParser] Move semantic handling of tokens to SearchStore.

The following is notice that the following reviews/commits are being scheduled to be reverted in 24 hours due to the FTBFS on Windows and FreeBSD:

Apr 7 2020, 7:05 PM · Baloo, Frameworks
bruns committed R293:d4494ee49664: [PhraseAndIteratorTest] Cleanup, use better variable names (authored by bruns).
[PhraseAndIteratorTest] Cleanup, use better variable names
Apr 7 2020, 3:22 PM
bruns closed D28500: [PhraseAndIteratorTest] Cleanup, use better variable names.
Apr 7 2020, 3:22 PM · Baloo, Frameworks
bruns committed R293:2fa16a2865dc: [SearchStore] Handle double values in property queries (authored by bruns).
[SearchStore] Handle double values in property queries
Apr 7 2020, 3:19 PM
bruns closed D28401: [SearchStore] Handle double values in property queries.
Apr 7 2020, 3:19 PM · Baloo, Frameworks
bruns committed R293:2b9c46881645: [AdvancedQueryParser] Move semantic handling of tokens to SearchStore (authored by bruns).
[AdvancedQueryParser] Move semantic handling of tokens to SearchStore
Apr 7 2020, 3:18 PM
bruns closed D28400: [AdvancedQueryParser] Move semantic handling of tokens to SearchStore.
Apr 7 2020, 3:18 PM · Baloo, Frameworks
bruns committed R293:24e64713592a: [Inotify] Remove not-so-OptimizedByteArray (authored by bruns).
[Inotify] Remove not-so-OptimizedByteArray
Apr 7 2020, 3:16 PM
bruns closed D28328: [Inotify] Remove not-so-OptimizedByteArray.
Apr 7 2020, 3:16 PM · Baloo, Frameworks
bruns closed D28324: [Inotify] Remove dead/duplicate code.
Apr 7 2020, 3:16 PM · Baloo, Frameworks
bruns committed R293:bcb5950e958e: [Inotify] Remove dead/duplicate code (authored by bruns).
[Inotify] Remove dead/duplicate code
Apr 7 2020, 3:16 PM

Apr 6 2020

bruns added a comment to D28619: BookmarksRunner: Remove caching of profile database path.

There are two possible ways of changing the caching, and each one will break behavior for one of two different groups of users:

Apr 6 2020, 11:59 AM · Plasma

Apr 5 2020

bruns added inline comments to D28478: [FileProtocol] change statx stat_dev() to return makedev(major, minor).
Apr 5 2020, 1:37 PM · Frameworks
bruns requested changes to D28590: Add a QString Solid::Device::displayName, used in Fstab Device for network mounts.
Apr 5 2020, 1:12 PM · Frameworks
bruns added a comment to D28590: Add a QString Solid::Device::displayName, used in Fstab Device for network mounts.

Btw, label() is a bad name, it can be confused with the filesystem label to easily. Maybe shortName().

Apr 5 2020, 1:12 PM · Frameworks
bruns added a comment to D28590: Add a QString Solid::Device::displayName, used in Fstab Device for network mounts.

I think it would be better to not change behaviour for any backend, but just default label() to description() everywhere.

Apr 5 2020, 1:09 PM · Frameworks
bruns added a comment to D26113: Places: Use Solid::Device::DisplayName for DisplayRole.

As Vaults are not backed by an fstab entry, it would be the responsibility of Vaults to set a useful name (via x-gvfs-name).

What I'm saying is that I think it makes sense for Solid to provide a better default display string so each app doesn't have to do this.

What I'm saying is that Vaults should set a meaningful value via x-gvfs-name so Solid has not to invent something. Then Solid can use that, and it would be consistent everywhere.

I see, so I think we should add a "displayName" (or label() similarly to StorageVolume) function to Solid::Device, so that x-gvfs-name is used for this or the mount point when not defined and keeping description as is : a verbose description of the Device that could be used in tooltips for instance.
This displayName would default on description() so that it would be an opt-in change by Device implementation and then users can choose between description() and displayName() depending on the context and role they need. So here in kfileplacesitem we would replace description() by displayName().
Does this idea make sense to you @bruns ?

Its already there:

grep x-gvfs-name  /etc/fstab 
//pebbles/share /mnt cifs defaults,x-gvfs-show,x-gvfs-icon=yast-samba-server,x-gvfs-name=SambaShare
solid-hardware5  details /org/kde/fstab///pebbles/share
udi = '/org/kde/fstab///pebbles/share'
  parent = '/org/kde/fstab'  (string)
  vendor = 'pebbles'  (string)
  product = 'share'  (string)
  description = 'SambaShare'  (string)
  icon = 'yast-samba-server'  (string)
  StorageAccess.accessible = false  (bool)
  StorageAccess.filePath = '/mnt'  (string)
  StorageAccess.ignored = false  (bool)
  NetworkShare.type = 'Cifs'  (0x2)  (enum)
  NetworkShare.url = 'smb://pebbles/share'  (string)

A lot of users won't have a x-gvfs-name for whatever reason and we can't expect them to be take savy with root access to set up a x-gvfs-name mount option.
I see your point but my last one was how to make the display by default better (not using description()), but keeping displaying x-gvfs-name value when defined by the user.

Apr 5 2020, 11:08 AM · Frameworks
bruns committed R293:8a872e502d22: [QueryParser] Replace single-use helper with std::none_of (authored by bruns).
[QueryParser] Replace single-use helper with std::none_of
Apr 5 2020, 10:52 AM
bruns closed D28565: [QueryParser] Replace single-use helper with std::none_of.
Apr 5 2020, 10:52 AM · Baloo, Frameworks
bruns added a comment to D26113: Places: Use Solid::Device::DisplayName for DisplayRole.

As Vaults are not backed by an fstab entry, it would be the responsibility of Vaults to set a useful name (via x-gvfs-name).

What I'm saying is that I think it makes sense for Solid to provide a better default display string so each app doesn't have to do this.

What I'm saying is that Vaults should set a meaningful value via x-gvfs-name so Solid has not to invent something. Then Solid can use that, and it would be consistent everywhere.

I see, so I think we should add a "displayName" (or label() similarly to StorageVolume) function to Solid::Device, so that x-gvfs-name is used for this or the mount point when not defined and keeping description as is : a verbose description of the Device that could be used in tooltips for instance.
This displayName would default on description() so that it would be an opt-in change by Device implementation and then users can choose between description() and displayName() depending on the context and role they need. So here in kfileplacesitem we would replace description() by displayName().
Does this idea make sense to you @bruns ?

Apr 5 2020, 10:47 AM · Frameworks
bruns added a comment to D28478: [FileProtocol] change statx stat_dev() to return makedev(major, minor).

looks good to me otherwise

Apr 5 2020, 7:41 AM · Frameworks

Apr 4 2020

bruns added inline comments to D28478: [FileProtocol] change statx stat_dev() to return makedev(major, minor).
Apr 4 2020, 6:20 PM · Frameworks
bruns requested review of D28565: [QueryParser] Replace single-use helper with std::none_of.
Apr 4 2020, 3:10 PM · Baloo, Frameworks
bruns added a comment to D28555: File ioslave : use Better setting for sendfile syscall.

Sounds like the size check should stay then.

Apr 4 2020, 3:01 PM · Frameworks
bruns added a comment to D28555: File ioslave : use Better setting for sendfile syscall.

@dfaure: probably this:

Apr 4 2020, 2:09 PM · Frameworks
bruns added inline comments to D28478: [FileProtocol] change statx stat_dev() to return makedev(major, minor).
Apr 4 2020, 11:22 AM · Frameworks
bruns added inline comments to D28478: [FileProtocol] change statx stat_dev() to return makedev(major, minor).
Apr 4 2020, 11:09 AM · Frameworks
bruns added a comment to D26113: Places: Use Solid::Device::DisplayName for DisplayRole.

As Vaults are not backed by an fstab entry, it would be the responsibility of Vaults to set a useful name (via x-gvfs-name).

What I'm saying is that I think it makes sense for Solid to provide a better default display string so each app doesn't have to do this.

Apr 4 2020, 11:02 AM · Frameworks

Apr 3 2020

bruns committed R293:6a0be3910727: [SearchStore] Use categorized logging (authored by bruns).
[SearchStore] Use categorized logging
Apr 3 2020, 3:26 AM
bruns closed D28501: [SearchStore] Use categorized logging.
Apr 3 2020, 3:26 AM · Baloo, Frameworks

Apr 2 2020

bruns updated the diff for D28501: [SearchStore] Use categorized logging.

.

Apr 2 2020, 7:51 PM · Baloo, Frameworks
bruns committed R293:6be616f64b13: [QueryParser] Fix broken detection of end quote (authored by bruns).
[QueryParser] Fix broken detection of end quote
Apr 2 2020, 7:47 PM
bruns closed D28506: [QueryParser] Fix broken detection of end quote.
Apr 2 2020, 7:47 PM · Baloo, Frameworks
bruns committed R293:1f9ed1db7e27: [EngineQuery] Provide toString(Term) overload for QTest (authored by bruns).
[EngineQuery] Provide toString(Term) overload for QTest
Apr 2 2020, 7:46 PM
bruns closed D28505: [EngineQuery] Provide toString(Term) overload for QTest.
Apr 2 2020, 7:46 PM · Baloo, Frameworks
bruns committed R293:a6112063b9fa: [EngineQuery] Remove unused position member, extend tests (authored by bruns).
[EngineQuery] Remove unused position member, extend tests
Apr 2 2020, 7:46 PM
bruns closed D28504: [EngineQuery] Remove unused position member, extend tests.
Apr 2 2020, 7:46 PM · Baloo, Frameworks
bruns committed R293:36803b7199f9: [Term] Make debug output more compact and nicer to read (authored by bruns).
[Term] Make debug output more compact and nicer to read
Apr 2 2020, 7:45 PM
bruns closed D28503: [Term] Make debug output more compact and nicer to read.
Apr 2 2020, 7:45 PM · Baloo, Frameworks
bruns committed R293:d04b4cc8439c: [SearchStore] Avoid long lines and function nesting (authored by bruns).
[SearchStore] Avoid long lines and function nesting
Apr 2 2020, 7:40 PM
bruns committed R245:e468daf0d100: [Fstab] Ensure uniqueness for all filesystem types (authored by bruns).
[Fstab] Ensure uniqueness for all filesystem types
Apr 2 2020, 10:22 AM
bruns closed D28488: [Fstab] Ensure uniqueness for all filesystem types.
Apr 2 2020, 10:22 AM · Frameworks
bruns added inline comments to D28488: [Fstab] Ensure uniqueness for all filesystem types.
Apr 2 2020, 10:21 AM · Frameworks
bruns added inline comments to D28501: [SearchStore] Use categorized logging.
Apr 2 2020, 10:10 AM · Baloo, Frameworks