aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Turn on more warnings by defaultAqua-sama2020-05-287-27/+35
| | | | | | - fix clazy warnings - fix various other compiler warnings - bugfix: connect profiles' downloadRequested signal
* libwebengineAqua-sama2020-05-084-1/+8
| | | | | | | | | | | Make src/webengine into a static library - Add some tests - Updated manpage - Remove WebProfileManager::id and WebProfileManager::instance - Add consumable semantics checks to WebProfileManager - Add WebProfileManager::walk Add ApplicationMenu class
* Expand pluginloader test coverageAqua-sama2020-04-295-98/+216
| | | | | | | - add poi-plugin-load to test compatibility of plugins - rewrite tests to use catch2 - use cpp stdlib to read files - clang-tidy and clang-format pass
* CleanupAqua-sama2020-04-292-10/+5
| | | | | | | - Don't run configuration fuzzer as test - Remove plugins/ConfigurationEditor - Move exported interfaces to include/smolbote - Install plugin interfaces
* Add libfuzzer test to libconfigurationAqua-sama2020-04-217-37/+82
|
* Rewrite configuration tests in catch2Aqua-sama2020-04-206-164/+223
| | | | | - Drop s_conf check in operator<< as s_conf cannot be nullptr there - Add arithmetic type cast to string values
* move lib/about to src/aboutAqua-sama2020-04-197-638/+0
| | | | | - add AboutDialog test - add SVG icon in place of application icon
* Rewrite Session backendAqua-sama2020-04-134-0/+249
| | | | | | | | | | | | | | | | | | Add session.hpp, containing structs that describe session data MainWindow, SubWindow and WebView can be created from Session::structs Opening new window will automatically open a default subwindow and tab if none were specified Add lib/session_formats Add JsonSession, to serialize/deserialize Session structs into JSON - add some tests clang-tidy: - fix various warnings - disable modernize-use-trailing-return-type check
* 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)
* BookmarkModel: enable drag/drop for the root itemAqua-sama2020-01-301-1/+2
|
* Remove non-const BookmarkItem::iconAqua-sama2020-01-282-12/+9
| | | | | | | Default BookmarkItem icons will be created when creating the item, if a QApplication (and subsequently, qApp->style()) is present. - added a poi-bookmarks test
* Add bookmarks toolbarAqua-sama2020-01-285-39/+48
| | | | | Bookmarks Toolbar displays the contents of the top-level "Bookmarks Toolbar" folder.
* pluginloader: generate keys by mesonAqua-sama2020-01-272-20/+13
|
* pluginloader: add test for PluginLoader::verifyAqua-sama2020-01-275-46/+95
|
* Merge branch 'bookmarks-subcommand'Aqua-sama2020-01-182-8/+8
|\
| * Add bookmarks subcommandAqua-sama2020-01-172-8/+8
| |
* | Fix various gcc and clazy compile warningsAqua-sama2020-01-177-51/+53
|/
* Parse Tags and Descriptions in FFJsonAqua-sama2020-01-171-0/+13
|
* Add Import option to BookmarksWidgetAqua-sama2020-01-171-4/+0
|
* BookmarkItem::DateAdded and LastModified fieldsAqua-sama2020-01-175-5/+44
| | | | | | | - add read support in FFJson for DateAdded and LastModified fields - add read/write support in Xbel for DateAdded and LastModified fields - BookmarkModel: set DateAdded on appendBookmark and appendFolder - EditBookmarkDialog: set LastModified field when saving changes
* Add Firefox bookmarks.json format to libbookmarksAqua-sama2020-01-165-4/+75
| | | | | | | | - can only read folders and bookmarks, their title and uri fields Not supported by Bookmark Model: - Separator items - Date added and Date modified fields
* Move BookmarksWidget out of libbookmarksAqua-sama2020-01-157-547/+5
|
* Move/rename files for readabilityAqua-sama2020-01-1411-56/+81
| | | | - add BookmarkFormat <<|>> BookmarkModel operators
* Disable plugins as brokenAqua-sama2020-01-044-22/+16
| | | | - Fix several Qt deprecated warnings
* Merge some QoL improvements from staging branchAqua-sama2020-01-032-1/+60
| | | | | | | | - Build executable in top-level buildroot - Use meson sourceset - Pull in poi-crash and poi-update from staging - Remove extraneous scripts in tools/ - Pull in configure scripts in scripts/
* Bookmarks: move xbel implementation to formats/Aqua-sama2019-11-157-5/+69
|
* Add configuration subcommandAqua-sama2019-11-092-32/+63
| | | | --dump: Write current configuration to stdout and exit
* Move lib/webprofile into src/webengineAqua-sama2019-11-045-486/+0
|
* Fix gcc compile errors and warningsAqua-sama2019-11-032-7/+19
|
* Make gtest optional dependency and remove -DtestingAqua-sama2019-11-031-1/+1
|
* Drop boost dependencyAqua-sama2019-11-0317-895/+143
| | | | | - 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-134-17/+14
| | | | | - meson should now properly create OpenSSL signing key and hexdump before trying to compile plugin loader
* Add openssl key generation step to meson.buildAqua-sama2019-05-171-0/+14
|
* Add plugin signature verification policiesAqua-sama2019-04-194-3/+161
|
* Replace xxd with python scriptAqua-sama2019-03-221-0/+29
|
* Add WIP Python REPL interfaceAqua-sama2019-02-236-16/+11
| | | | | - Requires Python >= 3.0.0 and linenoise or linenoise-ng - WIP: not built into the browser itself
* Use spdlog for loggingAqua-sama2019-02-061-1/+0
|
* Fix all profiles being created off-the-recordAqua-sama2019-01-203-15/+1
|
* Add tools/report-clang-tidy.shAqua-sama2019-01-187-9/+10
| | | | | - Fix various clang-tidy warnings - Fix use-after-free crash when deleting profiles
* Rewrite lib/web to lib/webprofileAqua-sama2019-01-168-271/+246
| | | | | | | | | | - libweb was supposed to be a general QtWebEngine wrapper, but only turned out to do profiles and profile management. The new name should make this more obvious. - Renamed ProfileManager to WebProfileManager, and cut out duplicate code. - Temporary profiles: temporary profiles are not kept after closing the browser.
* Rewrite lib/urlfilterAqua-sama2019-01-0926-820/+733
| | | | | | - Make HostList and AdBlockList implementations independent from each other - Move urlfilter tests to lib/urlfilter
* Update license yearAqua-sama2019-01-021-1/+1
|
* Configuration: fix homepath patching for value<QString>Aqua-sama2018-12-301-8/+11
|
* Fix filter.header not workingAqua-sama2018-12-301-3/+4
|
* Bookmarks: track modified state in the model rather than the widgetAqua-sama2018-12-274-21/+34
| | | | | | | | Dragging and dropping bookmarks is done by the QTreeView rather than through the BookmarksWidget, so the widget could not track modification state correctly when items were reordered. BUG: #9 Bookmark reordering does not persist
* Fix bookmarks context menu exec positionAqua-sama2018-12-221-2/+2
|
* Add BookmarksWidget::showContextMenu signalAqua-sama2018-12-222-0/+12
| | | | | | | | | | Connected the signal to last window's current subwindow. Menu contains: - Open link in current tab - Open link in current tab with profile - Open link in new tab - Open link in new tab with profile BUG: #10 Add right-click menu for bookmarks
* Dropping bookmarks onto a folder now inserts it at the first positionAqua-sama2018-12-221-1/+4
| | | | BUG: #8 Dragging bookmarks onto folders crash