aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration
Commit message (Collapse)AuthorAgeFilesLines
* Fix various compiler warningsAqua-sama2020-03-232-14/+0
|
* lib/configuration improvementsAqua-sama2020-03-228-61/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-092-32/+63
| | | | --dump: Write current configuration to stdout and exit
* Fix gcc compile errors and warningsAqua-sama2019-11-031-6/+18
|
* Drop boost dependencyAqua-sama2019-11-034-359/+127
| | | | | - wrote not-invented-here config file parser and conf class - spent obscene amount of time plugging in said conf class
* Use github.com/Taywee/args to parse command lineAqua-sama2019-10-223-139/+1
| | | | - This adds 3rd-party/args/args.git subrepository
* Improve meson.build filesAqua-sama2019-10-131-3/+2
| | | | | - meson should now properly create OpenSSL signing key and hexdump before trying to compile plugin loader
* Add WIP Python REPL interfaceAqua-sama2019-02-231-1/+1
| | | | | - Requires Python >= 3.0.0 and linenoise or linenoise-ng - WIP: not built into the browser itself
* Fix all profiles being created off-the-recordAqua-sama2019-01-201-3/+0
|
* Configuration: fix homepath patching for value<QString>Aqua-sama2018-12-301-8/+11
|
* Fix filter.header not workingAqua-sama2018-12-301-3/+4
|
* 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 crash creating ConfigurationEditorPlugin widgetAqua-sama2018-12-112-2/+2
|
* Fix navigation buttons using wrong iconsAqua-sama2018-12-111-5/+13
|
* Fix options not getting overwritten by command lineAqua-sama2018-12-082-23/+11
|
* Configuration: parse command line after parsing config fileAqua-sama2018-12-075-33/+142
| | | | - Split CommandLine off Configuration
* Add --session and --pick-sessionAqua-sama2018-11-292-5/+10
| | | | | | -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-202-30/+159
|
* Remove CMakeListsAqua-sama2018-10-252-38/+0
|
* Use vcs_tag to get version informationAqua-sama2018-10-241-2/+1
|
* Fix link errorsAqua-sama2018-10-231-3/+7
|
* Initial meson build filesAqua-sama2018-10-231-0/+11
|
* Fix config.h from regenerating on every buildAqua-sama2018-10-201-1/+4
|
* Add Kconfiglib to parse Kconfig/.configAqua-sama2018-10-202-14/+16
|
* 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
* Rewrite vendor.cmake to cmake/VendorConfig.cmakeAqua-sama2018-10-151-7/+7
| | | | | | Add menuconfig-editable .config files to platforms. VendorConfig.cmake looks for and includes .config files based on platform name.
* Update CMakeLists option namesAqua-sama2018-10-142-15/+15
|
* Disable Chromium crash handlerAqua-sama2018-10-082-0/+4
| | | | | | 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
* Expand HTTP header settings #4Aqua-sama2018-10-071-0/+7
| | | | | | | - add doc/Usage/Filter.asciidoc to explain the usage of the filter headers - add HTTP headers to Profile (section "headers") - Use request interceptor to apply filter headers, then profile headers - add insert/delete actions to ProfileEditor
* Add "subwindow.shortcuts.menu" shortcutAqua-sama2018-10-061-1/+2
|
* Update repository path in license headersAqua-sama2018-09-292-2/+2
|
* Update documentationAqua-sama2018-09-195-34/+21
|
* Some cppcheck fixesAqua-sama2018-09-032-3/+2
|
* 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-052-0/+6
|
* Add configuration/defaults.hAqua-sama2018-07-024-8/+35
|
* 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-233-12/+49
| | | | Change MainWindow to use setShortcut
* Plugin commands no longer require --commandAqua-sama2018-06-222-17/+2
|
* Better profile loadingAqua-sama2018-06-081-1/+2
| | | | | | | | First load all profiles from profile.path, and then the profile.default if missing, after which set the default profile. Profile names and whether they're otr can be set by .profile name=string and otr=bool.