Commit Graph

1676 Commits

Author SHA1 Message Date
Oleg Shparber
de5ba7bd0c fix(ui): fix docset storage writable check
Checks if the directly is writable by attempting to write.

Fixes #1036 and #1059.
2020-05-26 01:37:32 -04:00
Oleg Shparber
bc390d3570 fix(browser): silence web console 2020-05-26 00:37:16 -04:00
Oleg Shparber
384d94ac66 fix(browser): always use off-the-record profile 2020-05-20 01:03:20 -04:00
Oleg Shparber
794e2373b7 fix(core,ui): do not use deprecated QWebSettings::globalSettings() 2020-05-20 01:00:38 -04:00
Oleg Shparber
404c3aa0c7 chore(app): update FontAwesome to v5.13.0, switch to WOFF2 fonts 2020-05-17 10:41:09 -04:00
Oleg Shparber
b735405fd4 ci(github): unify configure & build steps 2020-05-17 09:56:03 -04:00
Oleg Shparber
8a125bc698 fix(registry): fix page TOC 2020-05-17 09:50:13 -04:00
Oleg Shparber
dbd1230499 fix(browser): add missing namespace declaration 2020-05-17 09:47:44 -04:00
Oleg Shparber
0c47b3bbb1 feat(browser): log blocked requests 2020-05-10 11:28:47 -04:00
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