Commit Graph

1667 Commits

Author SHA1 Message Date
Oleg Shparber
3ee3b9a5c4 fix(browser): fix compilation with Qt version below 5.13 2020-05-10 11:20:54 -04:00
Oleg Shparber
6c2e13828d refactor(browser): improve code readability 2020-05-10 11:20:54 -04:00
Oleg Shparber
e477c4a0c9 feat(browser): introduce centralized web settings management
Additionally fixes a number of regressions from Qt WebEngine migration.
2020-05-10 11:20:54 -04:00
Oleg Shparber
1256fd8af3 ci(github): fix Qt caching, make version configurable 2020-05-10 11:20:48 -04:00
Oleg Shparber
27e1815702 fix(browser): do not call deprecated QWebEngineProfile method
setRequestInterceptor() was replaced with setUrlRequestInterceptor().
2020-05-10 09:35:34 -04:00
Oleg Shparber
cc7bdb0d8d ci(github): build on Windows with Qt 5.14.2 2020-05-05 01:20:58 -04:00
Oleg Shparber
13fbfd1a38 fix(ui): use C++17 [[fallthrough]] attribute
Fixes MSVC complaining about [[clang::fallthrough].
2020-05-03 20:08:13 -04:00
Oleg Shparber
bf1fe43232 ci(github): do not install CMake 2020-05-03 20:04:55 -04:00
Oleg Shparber
d51cf17610 build(cmake): require C++17 2020-05-03 20:02:56 -04:00
Oleg Shparber
ddebfa9357 ci(github): add Windows build 2020-05-03 19:37:10 -04:00
Oleg Shparber
1d266b9fd9 ci(github): improve matrix build configuration 2020-05-03 12:36:55 -04:00
Oleg Shparber
4ccd82e412 refactor(app): remove old TODO comment 2020-05-02 19:04:13 -04:00
Oleg Shparber
fe31aed11e fix(browser): fix zooming with mouse wheel 2020-04-26 21:47:29 -04:00
Oleg Shparber
ce27386e7a fix(browser): fix unused variable warnings 2020-04-26 21:42:37 -04:00
Oleg Shparber
15dd07deb7 fix(browser): do not consume unhandled events in WebView 2020-04-26 21:40:46 -04:00
Oleg Shparber
341ad0a02e refactor(browser): use single QMousePressEvent handler 2020-04-26 21:37:42 -04:00
Oleg Shparber
afd0f5201f refactor(app): simplify QWebChannel usage 2020-04-26 20:21:38 -04:00
kaygdev
5360da3d7f
feat(browser,ui): port to Qt WebEngine (#1125)
Fixes #658, #776, #868, #959, #1119, #1131, #1155, #1195.
2020-04-26 19:17:12 -04:00
Oleg Shparber
4a302077f8 build(cmake): enable CMAKE_ERROR_DEPRECATED 2020-04-26 14:44:07 -04:00
Oleg Shparber
87a1a53d3f fix(ui): remove unneeded semicolon 2020-04-26 14:42:15 -04:00
Oleg Shparber
64f981dec0 refactor(browser,core): introduce new isLocalFile and isLocalUrl checks
Also hides tool tips for internal HTTP URLs.
2020-04-26 13:19:31 -04:00
Oleg Shparber
b3da132af6 chore(cmake,ui): update copyright years 2020-04-26 12:46:48 -04:00
Oleg Shparber
8fa029e185 fix(browser,core,registry): add missing QDataStream include 2020-04-25 19:59:56 -04:00
Oleg Shparber
9cad81c578 style(ui): fix spacing around pointers 2020-04-25 19:15:44 -04:00
Oleg Shparber
22173833f5 build(cmake): add missing headers
This is only needed for Qt Creator to show them in a convenient way.
2020-04-25 19:01:05 -04:00
Dmitry Atamanov
064aaa05d6
fix(ui): fix compilation error with Qt 5.15 (#1218) 2020-04-25 17:26:53 -04:00
Oleg Shparber
dd4e6e1ab8 ci(appveyor): remove Linux build 2020-04-23 23:36:56 -04:00
Oleg Shparber
daa4d2c6d5
ci(github): add Linux build check (#1215) 2020-04-23 23:33:54 -04:00
Oleg Shparber
40b830564a
ci(github): add appimage workflow (closes #1194) (#1213) 2020-04-21 01:53:37 -04:00
Alexis López Zubieta
bb4bcae552
build(appimage): add appimage-builder recipe (#1200) 2020-04-19 11:57:34 -04:00
Oleg Shparber
c2acb4241f fix(registry,ui): restore docset icons on tabs
A regression from switching to serving content over HTTP.

Reported in #1202.
2020-04-05 01:39:47 -04:00
Oleg Shparber
753ce5bb1f fix(core): bind local HTTP server to 127.0.0.1
Related to #995.
2020-03-31 00:48:08 -04:00
Pietro Fezzardi
4c813d7011
fix(app): fix Twitter links in 404, welcome pages (#1208) 2020-03-28 14:15:29 -04:00
Oleg Shparber
fc1f18f6c5 feat(core,registry): unmount HTTP server prefix on docset removal 2020-02-24 23:21:50 -05:00
Oleg Shparber
6dc75311b4 feat(registry): serve docset pages over HTTP
Fixes #1160.
2020-02-24 23:21:50 -05:00
Oleg Shparber
e3bd300761 docs(ui): add link to cpp-httplib in the about dialog 2020-02-24 23:21:50 -05:00
Oleg Shparber
090f527054 feat(core): add HttpServer
Includes cpp-httplib v0.5.6.
2020-02-24 23:21:50 -05:00
Oleg Shparber
58b92765ce fix(registry): fix regression in the index file detection 2020-02-08 22:24:17 -05:00
Oleg Shparber
cbd0d19b7a fix(resources): fix 404 page text 2020-02-08 22:12:10 -05:00
Oleg Shparber
d3abaf491a style(app,browser,registry,ui): fix coding style a bit 2020-02-08 21:51:58 -05:00
Oleg Shparber
51ae40745b fix(registry): add new type aliases for structure 2020-02-06 22:13:20 -05:00
Oleg Shparber
2d18ea5049 chore(app): sync type icons
Closes #1185.
2020-02-06 22:12:46 -05:00
Oleg Shparber
c16945bc21 feat(app,registry): improve index page detection, add 404 page 2020-02-01 19:10:16 -05:00
Oleg Shparber
096dcbf07f feat(browser): improve local file detection 2020-02-01 19:08:29 -05:00
Oleg Shparber
03e0e1e05d feat(ui): add tree view navigation with directional keys and Alt
Fixes #1007.
2020-01-03 00:31:06 -05:00
Oleg Shparber
6968e8e978 feat(ui): allow tree view keyboard navigation if query is empty 2020-01-02 23:16:38 -05:00
Oleg Shparber
31186495fa feat(ui): load search results on selection
Based on PR #749 by Stephen Holdaway (@stecman).

Closes #749.
2019-12-28 22:31:10 -05:00
Oleg Shparber
86f5350002 refactor(browser,sidebar,ui): cleanup includes 2019-11-24 16:03:42 -05:00
Oleg Shparber
ca45e0a8f9 fix(ui): restore delayed navigation functionality 2019-11-24 14:34:26 -05:00
Oleg Shparber
678f31986d fix(util): use one-off queries in SQLiteDatabase tables() and views() 2019-11-24 13:48:49 -05:00