Commit Graph

1908 Commits

Author SHA1 Message Date
Oleg Shparber
821ae66980 chore: fix typos in code comments 2024-08-05 16:40:50 -04:00
Oleg Shparber
a0fdca7ea6 fix(app): do not register protocol handlers on startup 2024-08-05 16:22:11 -04:00
Oleg Shparber
1eb6548ed2 fix(ui): fix Unix build when X11 is not available
Fixes #1645.
2024-08-04 14:04:05 -04:00
Oleg Shparber
dff598cfc6 build(cmake): fix build if Qt 6 is not present 2024-08-04 13:27:26 -04:00
Oleg Shparber
04c525b3d8 build(cmake): build against Qt 6 by default
Add ZEAL_USE_QT5 option to force build against Qt 5.

Fixes #1647.
2024-08-04 13:24:54 -04:00
Oleg Shparber
4260a45fa4 build(cmake): silence unset variable warning on Linux 2024-08-04 13:17:16 -04:00
Denis Lisov
1067eae380
docs(readme): update license to GPLv3 or later (#1646) 2024-07-31 22:33:11 -04:00
Atri Bhattacharya
c432a0ac22
build(app): add missing Qt components to find_package (#1644)
Necessary since Qt 6.7.2.

Fixes #1643.
2024-07-28 00:05:51 -04:00
Oleg Shparber
b9a25f2cbe build(cpack/wix): fix protocol handler registration
Fixes #923.
2024-07-21 23:37:45 -04:00
Oleg Shparber
d014f21a07 chore(pkg): remove unused zeal.wxs file 2024-07-21 23:31:23 -04:00
Oleg Shparber
e26f3da0ae chore(git): update .gitattributes 2024-07-21 21:09:13 -04:00
Oleg Shparber
9b288c0601 ci(github): build with Qt 6.7.2 2024-07-21 20:52:00 -04:00
Oleg Shparber
76187dc7d2 fix(browser): use button release for forward/back navigation
Also check if mouse pointer is within the webview

Fixes #1564.
2024-07-21 20:48:54 -04:00
Oleg Shparber
b8066c5540 docs: fix bare markdown links 2024-06-23 13:37:12 -04:00
Oleg Shparber
ce40250b98 refactor(browser): replace WebKit specific CSS rules 2024-06-23 13:36:42 -04:00
Oleg Shparber
1e3e9adbb1 refactor(registry): add missing override specifier 2024-06-22 01:40:07 -04:00
Oleg Shparber
5081898eaa fix(core): use archive_entry_pathname_utf8
Removes Windows specific code path.
2024-06-21 22:47:18 -04:00
Oleg Shparber
07a357cab0 feat(registry,ui): show docset search keywords/prefixes 2024-06-16 23:33:59 -04:00
Oleg Shparber
4bcc896eaa refactor(registry): use class enum for index level 2024-06-16 14:43:38 -04:00
Oleg Shparber
3d40ec7d75 fix(browser): use default QWebEngineProfile for Qt 6
The default profile is off-the-record already.
2024-06-16 02:59:35 -04:00
Oleg Shparber
cae1ea7486 fix(ui): use correct QWebEngineProfile when applying font settings
Fixes #1631.
2024-06-16 02:58:23 -04:00
Oleg Shparber
2df03780a3 feat(browser): apply dark mode without restart with Qt 6.7+ 2024-06-16 02:50:15 -04:00
Oleg Shparber
f0ce90c485 chore: bump version to 0.7.2 2024-06-16 02:38:36 -04:00
Oleg Shparber
095aaebe5e build(vcpkg): do not include unnecessary metadata
Name and version in vcpkg.json are only needed for libraries.
2024-06-16 02:35:22 -04:00
Oleg Shparber
1df6826e0a ci(github): build with Qt 6.7.1 2024-06-14 03:20:06 -04:00
Oleg Shparber
418fc3b4a0 ci(github): update vcpkg to 2024.05.24 2024-06-14 03:20:06 -04:00
dependabot[bot]
a48b7988e7
ci(github): bump jurplel/install-qt-action from 3 to 4 (#1570) 2024-06-14 03:19:37 -04:00
Zhuo Zhang
8b33640fe8
chore(cmake,ui): update copyright year (#1628) 2024-05-28 08:14:35 -04:00
Oleg Shparber
7f938cf4e8 chore(assets): add release entry for v0.7.1 2024-05-27 17:45:10 -04:00
Zhuo Zhang
1ff2d6ab3e
build(cmake): find libarchive from brew on macos (#1621) 2024-05-19 11:53:40 -04:00
Oleg Shparber
cbd3208aca ci(github): build with Qt 6.6.3 2024-04-03 11:51:24 -04:00
dependabot[bot]
db781ed256
ci(github): bump softprops/action-gh-release from 1 to 2 (#1606) 2024-03-15 22:04:41 -04:00
guihkx
de213a74d8 ci(github): use appstreamcli to validate Linux metadata file
We were previously using appstream-util (from appstream-glib), which is
essentially deprecated now:

https://github.com/hughsie/appstream-glib (first line in their README)
2024-02-25 12:16:24 -05:00
guihkx
db3e941645 chore(assets): replace deprecated 'developer_name' tag in Linux metadata
Gets rid of an "information" message given by appstreamcli:

$ appstreamcli validate org.zealdocs.zeal.appdata.xml
I: org.zealdocs.Zeal:7: developer-name-tag-deprecated

https://www.freedesktop.org/software/appstream/docs/chap-Validation.html#asv-developer-name-tag-deprecated
2024-02-25 12:16:24 -05:00
guihkx
87f9448168 chore(assets): add missing 'launchable' tag in Linux metadata
Fixes a validation error given by appstreamcli:

$ appstreamcli validate org.zealdocs.zeal.appdata.xml
E: org.zealdocs.zeal:~: desktop-app-launchable-missing

https://www.freedesktop.org/software/appstream/docs/chap-Validation.html#asv-desktop-app-launchable-missing
2024-02-25 12:16:24 -05:00
guihkx
46e18c2acb ci(github): validate AppStream metadata 2024-02-19 11:10:42 -05:00
guihkx
16d113649e chore(assets): simplify content rating section
Generated by: https://hughsie.github.io/oars/generate.html
2024-02-19 11:10:42 -05:00
guihkx
6e597e6afb chore(assets): add link to release notes
This link can be shown on Linux app store frontends, such as Flathub.
2024-02-19 11:10:42 -05:00
guihkx
97c1fd7606 chore(assets): showcase a screenshot taken on Linux
The previous screenshot was taken on Windows, which is not recommended
by the AppStream specification:

https://freedesktop.org/software/appstream/docs/chap-Quickstart.html#qsr-app-screenshots-info
2024-02-19 11:10:42 -05:00
dependabot[bot]
7796e17c1c
ci(github): bump github/codeql-action from 2 to 3 (#1584) 2024-02-19 11:03:32 -05:00
dependabot[bot]
68c9efe254
ci(github): bump dessant/lock-threads from 4 to 5 (#1579) 2024-02-19 11:02:01 -05:00
dependabot[bot]
7370d61d7f
ci(github): bump actions/upload-artifact from 3 to 4 (#1586) 2024-02-19 11:00:51 -05:00
Oleg Shparber
3bbbc76c6f ci(github): update vcpkg to 2024.02.14 2024-02-18 10:33:24 -05:00
Nick Cao
9630cc94c1
refactor: replace deprecated qAsConst with std::as_const() (#1565)
Reference: https://github.com/qt/qtbase/blob/v6.6.0/src/corelib/global/qttypetraits.h#L32
2023-10-29 02:50:40 -04:00
Oleg Shparber
2cefcd4542 fix(registry): save non-zero docset revision in meta.json
Regression introduced in a fix for #1532.

Fixes #1559.
2023-10-06 23:51:29 -04:00
Oleg Shparber
f2212eb4f0 fix(browser): send key events to web view's focus proxy
Fixes regression introduced by migration to Qt WebEngine,
which caused search toolbar not to propagate navigation keys
to the web view.

Related to #703.
2023-10-05 03:32:13 -04:00
Oleg Shparber
d5ce8a0f04 fix(ui): use async selection in search edit
The smart selection logic implemented for #1033, for some reason
did not work for Ctrl+K. Calling selectAll() asynchronously
fixes that.

Related to #703.
2023-10-05 02:57:57 -04:00
Oleg Shparber
1d92d3c737 fix(ui): add tool tip when global shortcuts are not supported 2023-10-01 22:29:09 -04:00
Oleg Shparber
c507362889 chore: bump version to 0.7.1 2023-10-01 22:28:14 -04:00
Oleg Shparber
90ad776e83 chore: bump version to 0.7.0 2023-09-20 01:24:18 -04:00