Commit Graph

1596 Commits

Author SHA1 Message Date
Oleg Shparber
ccb706c9f1 refactor(ui): use QT_VERSION_CHECK macro 2019-09-05 00:08:14 -04:00
Oleg Shparber
b1ee7e21a4 refactor(app): remove unnecessary Qt version check 2019-09-05 00:07:14 -04:00
HeroicKatora
7f702e0752 docs(readme): add buymeacoffee badge (#1122) 2019-09-02 22:27:06 -04:00
Chris Rendle-Short
57908f9b45 fix(app): fix missing app icon on Wayland (#1130)
Wayland uses the .desktop file to find the app icon. Without it being
specified the correct icon is not shown. See: https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Application_Icon

Tested on Gnome/Wayland.
2019-09-02 09:54:57 -04:00
Oleg Shparber
419ef8de85 fix(ui): fix Qt 5.11 deprecation warning 2019-07-14 10:46:53 -04:00
Oleg Shparber
c46f389512 fix(ui): fix potential nullptr dereferencing (fixes #1101) 2019-05-10 00:46:49 -04:00
Oleg Shparber
0b2657c44a fix(ui): do not use QKeySequence::Close to avoid ambiguous overload
Ctrl+W will be the only supported shortcut for now.
2019-05-10 00:44:18 -04:00
Oleg Shparber
fb242c958b feat(core): add Application::configLocation() helper 2019-04-19 13:44:35 -04:00
Oleg Shparber
f0ae612315 refactor(core,ui): move cacheLocation() to Core::Application 2019-04-19 13:44:23 -04:00
Oleg Shparber
a998119a55 fix(browser): focus webview on navigation 2019-04-10 20:21:28 -04:00
Oleg Shparber
31524b0cf1 fix(ui): fix empty page title 2019-04-10 20:20:04 -04:00
Oleg Shparber
0e3e427202 feat(registry): add struct mapping for the Rust docset 2019-04-10 20:02:32 -04:00
Oleg Shparber
b22ad78658 refactor(core,util): replace Util::Version with QVersionNumber 2019-04-09 01:24:05 -04:00
Oleg Shparber
79ad7f27dc refactor(app): remove unneeded semicolon 2019-04-09 00:58:09 -04:00
Oleg Shparber
4415920509 feat(ui): provide more information for download errors
References #1088.
2019-04-09 00:45:50 -04:00
Oleg Shparber
5362fc0b6a fix(core): ignore fixed font size setting when migrating from 0.6.0
The actual bug was fixed back in 0.6.1 (#903).

Fixes #1054.
2019-04-04 01:16:34 -04:00
Oleg Shparber
40807fc07d fix(ui): make Ctrl+W the default for closing tabs
QKeySequence::Close can resolve to Ctrl+F4.
2019-04-03 01:00:17 -04:00
Oleg Shparber
680a1baa70 feat(app,core,ui): remove ads (fixes #779) 2019-04-03 00:50:29 -04:00
Oleg Shparber
f3bdf52b25 feat(registry): check JS enablement in metadata (fixes #1024) 2019-03-26 01:04:09 -04:00
Oleg Shparber
a0583a8fdb fix(browser): do not accept mouse press events (fixes #1079)
This allows to fallback to QWebKit, if Zeal doesn't handle the event.
2019-03-26 00:43:38 -04:00
Oleg Shparber
4cc0c20b32 fix(browser): fix double to float precision loss 2019-03-26 00:40:38 -04:00
Oleg Shparber
c353ff25f5 refactor(browser): s/isUrlExternal/isExternalUrl 2019-03-26 00:39:43 -04:00
Oleg Shparber
188f867fb0 refactor(ui): remove manual handling of HTTP redirects 2019-03-25 22:46:46 -04:00
Oleg Shparber
bf8ef66580 fix(ui): fix compilation on macOS 2019-03-25 22:44:45 -04:00
Oleg Shparber
07fdaec85d fix(core,ui): use HTTPS to access api.zealdocs.org 2019-03-25 22:43:39 -04:00
Oleg Shparber
407e4161e4 fix(core): enable support for HTTP redirects 2019-03-25 22:32:36 -04:00
Oleg Shparber
343c7ce078 fix(ui): fix compilation with Qt 5.9
Qt 5.9 lacks QLineEdit::selectionEnd().
2019-03-25 01:36:36 -04:00
Oleg Shparber
5ef5111bd9 feat(ui): implement smart selection in the search box (closes #1033)
Using focus shortcuts when the search box is already focus, will
result in the selection expansion depending on the current state.
2019-03-25 00:51:03 -04:00
Oleg Shparber
0b45d6ebea
feat(browser,sidebar,ui): implement real tabs (#1081)
Adds actual independent tabs instead of swapping sidebar and webview.
2019-03-24 22:14:52 -04:00
Yiding Jia
b10693888f feat(browser): make zoom scaling DPI aware (#1080) 2019-03-13 08:57:25 -04:00
Henning Schild
4bfa75abaa chore(cmake): force static linking of internal libs (#1085)
Since the application binary is the only file installed and the libs are
not used by anyone else, make sure they are always static. Otherwise
cmake can make them shared and those shared libs will be missing after
install.

Signed-off-by: Henning Schild <henning@hennsch.de>
2019-03-12 01:40:32 -04:00
Oleg Shparber
cf07113374 ci(appveyor): fix deployment condition 2019-03-03 18:13:00 -05:00
Oleg Shparber
9bee1f07e8 ci(appveyor): enable push to AppVeyor artifacts 2019-03-03 18:11:13 -05:00
Oleg Shparber
3cdb0dacc9 ci(appveyor): only deploy to BinTray from the stable branch 2019-03-03 18:10:36 -05:00
Oleg Shparber
d261423f70 ci(appveyor): do not package artifacts for pull request builds 2019-03-03 14:59:20 -05:00
Oleg Shparber
7d72dfa343 refactor(browser): disable copying and mark classes final 2019-02-10 14:54:50 -05:00
Oleg Shparber
ebc4bc8207 refactor(registry): disable copying and mark classes final 2019-02-10 14:53:14 -05:00
Oleg Shparber
949d16fb14 refactor(core): disable copying and mark classes final 2019-02-10 14:52:47 -05:00
Oleg Shparber
021b55ad73 refactor(registry,ui): limit Registry::ListModel to one instance 2019-02-09 14:48:13 -05:00
Oleg Shparber
4fd2723b15 fix(registry,ui): add SearchModel::clone() instead of copy constructor
Classes derived from QObject should never have be copied.
2019-01-27 16:02:13 -05:00
Oleg Shparber
e7ddfaf303 refactor(browser,ui): move saveHistory(), restoreHistory() into WebControl 2019-01-27 01:48:46 -05:00
Oleg Shparber
7faa77d0bf
refactor(browser,ui): move webview related classes into new library (#1074)
Also rename WebViewTab to WebControl.
2019-01-27 01:32:54 -05:00
Oleg Shparber
ab0d979c07 fix(registry,ui): fix some potential container detachments in range loops
More information:
https://github.com/KDE/clazy/blob/master/docs/checks/README-range-loop.md
2019-01-27 00:34:53 -05:00
Oleg Shparber
0be8a77db5 fix(ui): do not call QList::first() on a temporary value 2019-01-27 00:04:27 -05:00
Oleg Shparber
15c490ebaf fix(ui): disable copy assignment for MainWindow::TabState 2019-01-27 00:04:27 -05:00
Oleg Shparber
738843b689 refactor(core): remove unnecessary constant reference parameters 2019-01-27 00:04:27 -05:00
Oleg Shparber
9fe642db01 fix(ui): fix missing constant references 2019-01-27 00:04:27 -05:00
Oleg Shparber
aa5d4a19df refactor(ui): do not check for nullptr before delete 2019-01-27 00:04:27 -05:00
Oleg Shparber
abca9115c6 refactor(ui): remove unused variable 2019-01-27 00:04:27 -05:00
Oleg Shparber
355f87954f refactor(ui): do not use 0 as a null pointer 2019-01-27 00:04:27 -05:00