aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration/configuration.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add libfuzzer test to libconfigurationAqua-sama2020-04-211-34/+67
|
* Rewrite configuration tests in catch2Aqua-sama2020-04-201-7/+6
| | | | | - Drop s_conf check in operator<< as s_conf cannot be nullptr there - Add arithmetic type cast to string values
* lib/configuration improvementsAqua-sama2020-03-221-32/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuration changes: - Configuration::value return type is now [[nodiscard]] - Configuration::value<T> is now a generic template that only works with the exact types of the underlying std::variant - Add Configuration::value<concept_value_t> for standard library types compatible with the types of std::variant - Add Configuration::shortcut<> placeholder, and QAction and QKeySequence specializations as a convenient way to set up shortcuts - Deprecate setShortcut - Add Configuration::read_file convenience member that takes file path as parameter Format changes: - Configuration files can now have sections, specified as [section name]. Section names are prepended to keys. Section names cannot be nested. - Configuration files can now have @@include directives, causing another file to be read as well. The included file is not treated as nested into a section, and will overwrite values previously set. Others: - add some tests for libconfiguration. QAction/QKeySequence require a QApplication be set up, so the test application may require running xorg/wayland. old coverage: lines: 15.6% (960 out of 6172) branches: 9.9% (1187 out of 12012) new coverage: lines: 17.1% (1067 out of 6254) branches: 11.0% (1388 out of 12644)
* Add configuration subcommandAqua-sama2019-11-091-10/+34
| | | | --dump: Write current configuration to stdout and exit
* Drop boost dependencyAqua-sama2019-11-031-127/+78
| | | | | - wrote not-invented-here config file parser and conf class - spent obscene amount of time plugging in said conf class
* Add browser.iconThemeAqua-sama2018-12-161-0/+1
|
* Add restore last tab shortcutAqua-sama2018-12-151-0/+1
|
* Add SaveSessionDialogAqua-sama2018-12-141-0/+3
|
* Fix options not getting overwritten by command lineAqua-sama2018-12-081-19/+10
|
* Configuration: parse command line after parsing config fileAqua-sama2018-12-071-20/+2
| | | | - Split CommandLine off Configuration
* Add --session and --pick-sessionAqua-sama2018-11-291-4/+7
| | | | | | -s,--session replaces --browser.session --pick-session shows the SessionDialog instead of creating a session on startup
* Add Session DialogAqua-sama2018-11-251-0/+2
|
* Make keyboard shortcut defaults configurableAqua-sama2018-11-201-30/+30
|
* Add Kconfiglib to parse Kconfig/.configAqua-sama2018-10-201-11/+13
|
* Integrate FilterTree into browser (#6)Aqua-sama2018-10-191-1/+1
| | | | | | - change filter.path to filter.hosts to represent that the setting is only used for hostlist-format lists - change FilterTree::match to use QUrl and not QString
* Update CMakeLists option namesAqua-sama2018-10-141-8/+8
|
* Disable Chromium crash handlerAqua-sama2018-10-081-0/+3
| | | | | | Chromium's crash handler prevents breakpad from creating crashdumps. - add browser.crash.path: set minidump location - add browser.crash.handler: call this program after crashing
* Add "subwindow.shortcuts.menu" shortcutAqua-sama2018-10-061-1/+2
|
* Update repository path in license headersAqua-sama2018-09-291-1/+1
|
* Update documentationAqua-sama2018-09-191-7/+7
|
* Some cppcheck fixesAqua-sama2018-09-031-2/+1
|
* Add move tab left/right shortcutAqua-sama2018-08-071-6/+8
|
* UrlRequestInterceptor: add filter rulesAqua-sama2018-07-241-1/+1
|
* Integrate urlfilter with urlrequestinterceptorAqua-sama2018-07-071-0/+1
|
* Add filter.headerAqua-sama2018-07-051-0/+1
|
* Update translationsAqua-sama2018-07-051-0/+4
|
* Add configuration/defaults.hAqua-sama2018-07-021-8/+9
|
* Add --no-remote optionAqua-sama2018-07-021-16/+5
|
* Code cleanupAqua-sama2018-07-011-2/+1
| | | | | | Clean up MainWindow Configuration is now a std::unique_ptr Connect downloads and request interceptor to all profiles
* Add browser.locale and browser.translationAqua-sama2018-07-011-0/+2
|
* Add browser.sessionAqua-sama2018-06-291-0/+1
|
* Add --session parameter to load a session jsonAqua-sama2018-06-281-0/+1
| | | | Add Session menu to main window
* Add Configuration::setValue and Configuration::setShortcutAqua-sama2018-06-231-5/+4
| | | | Change MainWindow to use setShortcut
* Plugin commands no longer require --commandAqua-sama2018-06-221-5/+2
|
* Back/Forward menu shortcutsAqua-sama2018-05-261-0/+2
|
* Update manpageAqua-sama2018-05-181-2/+2
|
* Plugin command-line parametersAqua-sama2018-05-161-0/+3
|
* Move help and version functions to main (out of Configuration)Aqua-sama2018-05-151-16/+3
| | | | Make loading profiles a free function in Browser
* Stylesheet load settingAqua-sama2018-05-041-0/+2
|
* Merge address bar menusAqua-sama2018-05-031-2/+1
|
* Merge CommandLine functionality into ConfigurationAqua-sama2018-04-221-20/+63
|
* Add tile and cascade actions to Window menuAqua-sama2018-04-221-1/+2
|
* Remove unknown option parsingAqua-sama2018-04-211-1/+1
|
* Remove unneeded po::storeAqua-sama2018-04-211-6/+0
|
* Add Window menuAqua-sama2018-04-191-9/+6
| | | | | | - add new tab button to tab widget - tab shortcuts are read from configuration again - updated manpage some
* Removed MainWindow::titleChangedConnectionAqua-sama2018-04-191-1/+1
|
* Search box works againAqua-sama2018-04-171-1/+1
|
* Address bar searches work againAqua-sama2018-04-171-1/+1
|
* Multiple subwindows interfaceAqua-sama2018-04-161-22/+20
| | | | | | | | | | | | Subwindows are similar to tab groups. - Rewrote Browser and MainWindow, so they should be somewhat cleaner now - Moved AboutDialog to lib/about What's broken: - loading bar - search box - address bar bookmark suggestions - plugins
* Refactoring TabBarAqua-sama2018-04-021-6/+6
| | | | | | - cleaned up code - moved to mainwindow/widgets - add Close tabs left/right to context menu