diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ # set minimum version requirements cmake_minimum_required(VERSION 3.0) set(REQUIRED_QT_VERSION 5.8.0) -set(KF5_VERSION "5.46.0") # handled by release scripts -set(KF5_DEP_VERSION "5.46.0") # handled by release scripts +set(KF5_VERSION "5.45.0") # handled by release scripts +set(KF5_DEP_VERSION "5.45.0") # handled by release scripts # set up project project(Baloo VERSION ${KF5_VERSION}) diff --git a/src/file/fileexcludefilters.cpp b/src/file/fileexcludefilters.cpp --- a/src/file/fileexcludefilters.cpp +++ b/src/file/fileexcludefilters.cpp @@ -64,17 +64,23 @@ "*.orig", ".histfile.*", ".xsession-errors*", + "*.js.map", + "*.css.map," + "*.so", + "*.db", + "*.pluginmap", // Compiled files "*.class", // Java "*.pyc", // Python "*.elc", // Emacs Lisp + "*.qrc", // QML // end of list nullptr }; -const int s_defaultFileExcludeFiltersVersion = 2; +const int s_defaultFileExcludeFiltersVersion = 3; const char* const s_defaultFolderExcludeFilters[] = { "po", @@ -96,6 +102,7 @@ ".pch", ".uic", "__pycache__", + "node_modules", //misc "core-dumps", @@ -105,7 +112,7 @@ nullptr }; -const int s_defaultFolderExcludeFiltersVersion = 1; +const int s_defaultFolderExcludeFiltersVersion = 2; const char* const s_sourceCodeMimeTypes[] = { "text/css", @@ -120,10 +127,19 @@ "text/x-ruby", "text/x-scheme", "text/x-pascal", + "text/x-fortran", + "text/x-erlang", + "text/x-cmake", + "text/x-lua", "text/x-yacc", "text/x-sed", "text/x-haskell", + "text/x-copying", // COPYING files + "text/x-readme", // README files "text/asp", + "text/jsx", + "text/csx", + "text/vnd.trolltech.linguist", "application/x-awk", "application/x-cgi", "application/x-csh", @@ -134,11 +150,18 @@ "application/x-php", "application/x-python", "application/x-sh", + "application/xml", + "application/javascript", + "application/json", + "application/geo+json", + "application/json-patch+json", + "application/ld+json", + "application/x-ipynb+json", // Jupyter notebooks // end of list nullptr }; -const int s_sourceCodeMimeTypesVersion = 1; +const int s_sourceCodeMimeTypesVersion = 2; }