Skip to content
Snippets Groups Projects
  1. Jul 01, 2023
  2. Jun 30, 2023
  3. Jun 29, 2023
  4. Jun 28, 2023
  5. Jun 27, 2023
  6. Jun 26, 2023
  7. Jun 25, 2023
  8. Jun 24, 2023
  9. Jun 23, 2023
    • Friedrich W. H. Kossebau's avatar
      Add KUrlRequester::nameFilters, deprecate KUrlRequester::filter · ee89c7a9
      Friedrich W. H. Kossebau authored
      For consistency with QFileDialog API and better naming given
      there are 2 kinds of filters supported, by name and by MIME type.
      
      BUG: 369542
      ee89c7a9
    • Friedrich W. H. Kossebau's avatar
      KUrlRequester::setFilter: note special filter syntax, allow unnamed filters · 6e945ed1
      Friedrich W. H. Kossebau authored
      The API dox referred to QFileDialog::setNameFilters for the syntax to use
      which is "Comment (file pattern)". The internal logic though expects
      the old KDE style syntax "file pattern|Comment".
      
      For more compatibility with Qt also allow name/comment-less filters by
      handling of non-existing "|" hit in the filter parsing.
      
      CCBUG: 464350
      CCBUG: 369542
      6e945ed1
    • Friedrich W. H. Kossebau's avatar
      KCoreDirLister::nameFilter: revert to non-partial matching again · 6b58574d
      Friedrich W. H. Kossebau authored
      Commit 192b2baf added the un-anchoring
      of the regex pattern in setNameFilter().
      
      Having unanchored matches though breaks some expectations from wildcard
      expressions as used with name filters (see also examples in the API docs
      of setNameFilter).
      E.g. for "*.po" one would only expect files with suffix "po" only, not
      also "pot" or any other suffixes starting with "po".
      Similar "*.tar" should not deliver "tar.gz" files etc.
      
      The olc QRegExp code also was just using
      QRegExp(filter, Qt::CaseInsensitive, QRegExp::Wildcard)
      so also not doing partial matches of any kind.
      6b58574d
  10. Jun 20, 2023
  11. Jun 19, 2023
  12. Jun 18, 2023
  13. Jun 15, 2023
  14. Jun 14, 2023
  15. Jun 13, 2023
  16. Jun 12, 2023
  17. Jun 10, 2023
  18. Jun 09, 2023
  19. Jun 08, 2023
  20. Jun 07, 2023
  21. Jun 06, 2023
  22. Jun 04, 2023
  23. Jun 03, 2023
  24. May 31, 2023
  25. May 30, 2023
Loading