| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Replace args.hxx with QCommandLineParser.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
smolblok is a replacement for the current lib/urlfilter AdBlockPlus
and hostlist format filter parser. It is a library that uses plugins to
provide support for different filter formats.
staging/adblock: AdBlockPlus parser plugin
plugins/smolblok_hostlist: hostlist format parser plugin
Headers will be installed to include/smolbote/
Remove lib/urlfilter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
| |
Default BookmarkItem icons will be created when creating the item, if a
QApplication (and subsequently, qApp->style()) is present.
- added a poi-bookmarks test
|
|
|
|
|
| |
Bookmarks Toolbar displays the contents of the top-level "Bookmarks
Toolbar" folder.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- can only read folders and bookmarks, their title and uri fields
Not supported by Bookmark Model:
- Separator items
- Date added and Date modified fields
|
|
|
|
|
|
| |
- Remove WebProfileManager::Profile::value
- Make WebProfile constructors protected, and WebProfileManager friend
class
|
|
|
|
|
| |
- wrote not-invented-here config file parser and conf class
- spent obscene amount of time plugging in said conf class
|
|
|
|
|
|
| |
- Make HostList and AdBlockList implementations independent from each
other
- Move urlfilter tests to lib/urlfilter
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add optional load list benchmark
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
FilterTree is a class that holds filter rules, sorted by the domain they
are to be applied on. The rules are to follow FilterLeaf as interface.
- Add a hostlist rule format to FilterTree.
- Add a test for hostlist format.
|
|
|
|
| |
- add more adblock filter options
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Add parse() free function to UrlRequestInterceptor
- hostlists are loaded in parallel via QtConcurrent
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixed bugs in bookmarks dialog
|
|
|
|
| |
Additional locations are searched for configuration
|
|
|
|
|
|
| |
Some code commenting
Moved Blocker files for src/blocker
Keyboard shortcut for Blocker dialog
|
| |
|
| |
|