Martchus
0ef3b80447
Fix typos found via `codespell --skip .git -w`
2021-07-03 19:29:49 +02:00
Martchus
975e86c895
Allow backend libraries to be used from other projects
...
So far the backend libraries' include paths were relative within this
repository. This means the header files could not be used at their
installed location.
This change replaces them with "<>" includes to fix that problem and adds
a new include directory so building everything at once still works.
With this change it should be easier to actually split some parts into
another repository if this one would become too big.
2021-01-25 19:48:11 +01:00
Martchus
7dea132a87
Check whether self-signed certificate actually matches the expected one
...
This concerned only the built-in web view using Qt WebEngine. This change
has only effect when using Qt >= 5.14 because the API did not expose the
certificate chain before.
2020-03-29 20:38:05 +02:00
Martchus
bcb2b49b72
Don't use lower-case Qt macros
2020-03-08 13:50:32 +01:00
Martchus
34b9881ffe
Use QTWEBENGINEWIDGETS_VERSION to decide on Qt WebEngine features
...
From https://www.freshports.org/deskutils/syncthingtray (tcberner):
"When WebEngine and Core are out of sync as they tend to be for us,
this leads to compilation errors."
2019-12-12 22:38:47 +01:00
Martchus
7f307822df
Use setUrlRequestInterceptor only with Qt >= 5.13
2019-07-08 14:03:54 +02:00
Martchus
d9f5959165
Don't use deprecated Qt functions
2019-07-07 12:15:20 +02:00
Martchus
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00
Martchus
ec02a9e483
Show "Select directory ..." button in web view
2018-10-28 17:32:31 +01:00
Martchus
e59a80c0f6
Fix showing native dir selection from web view
2018-10-28 17:04:10 +01:00
Martchus
cdff9fd974
Allow forwarding JS console of web view to stderr
2018-10-28 17:03:23 +01:00
Martchus
e43a6c1c98
Adapt Qt WebKit specific code to latest adjustments
2018-10-28 16:29:11 +01:00
Martchus
900377b036
Stop web view immediately if in background and user disables this
2018-10-28 14:27:25 +01:00
Martchus
533a5d0939
Use override
2018-10-10 21:26:46 +02:00
Martchus
b12988e342
Apply clang-format from LLVM 6
2018-03-24 17:06:16 +01:00
Martchus
eeca6715de
Send API-Key when using QWebEngine
...
so when showing Syncthing via QWebEngine, the password
must not be provided.
2017-12-30 02:26:55 +01:00
Martchus
c9a9291697
Prevent segfault when attempting to view source
2017-11-01 18:25:30 +01:00
Martchus
3a81ae4f61
Show native directory selection dlg in web UI
2017-11-01 18:04:54 +01:00
Martchus
69ffaeb1f3
Apply tidy after updating to clang-format 5.0.0
...
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:48:15 +02:00
Martchus
732a5fdd8d
Apply clang-format
2017-05-01 03:34:43 +02:00
Martchus
49ff5a7b65
Move widgets from tray app to separate lib
...
So settings pages, web view and other widgets
can be used in other components such as the
Dolphin plugin and Plasmoid, too.
2017-04-23 18:31:18 +02:00