Commit Graph

80 Commits

Author SHA1 Message Date
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 2eaddb0464 cli: Print own device always on top to fix test failures
* Otherwise tests fail when the name of the own device preceeds the other
  device names
* See https://github.com/Martchus/PKGBUILDs/issues/102
2021-01-11 18:49:35 +01:00
Martchus 2417746583 Update RPM download section 2020-12-05 21:08:15 +01:00
Martchus 9df2a17e5c Port Plasmoid to QCC2/PlasmaComponents3 where possible
The following uses of QCC1/PlasmaComponents2 remain:

```
…/DetailView.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for Menu and MenuItem
…/DevicesPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents  // for Menu and MenuItem
…/DirectoriesPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents  // for Menu and MenuItem
…/DownloadsPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents  // for Menu and MenuItem
…/FullRepresentation.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for vertical TabBar
…/RecentChangesPage.qml:import org.kde.plasma.components 2.0 as PlasmaComponents  // for Menu and MenuItem
…/TopLevelView.qml:import org.kde.plasma.components 2.0 as PlasmaComponents // for Highlight and DialogStatus.Closed (used with Menu and MenuItem)
```
2020-11-27 19:09:47 +01:00
Martchus 49bbebd1ad Allow configuring package suffix for qtutilities individually 2020-10-23 17:03:57 +02:00
Martchus ef4749669d Update version 2020-10-13 13:40:57 +02:00
Martchus 4711d8f91c Set major release to 1
* Syncthing Tray can be considered stable enough
* Syncthing itself also made a 1.… release some time ago
* The backend libraries still do *not* provide a stable API, see section
  "Using backend libraries" in README.md
2020-08-18 01:16:21 +02:00
Martchus d27a6c5424 Fix version 2020-07-29 10:37:04 +02:00
Martchus e62a69a2a9 Enable High-DPI scaling/pixmaps in plasmoid
* Fix too small icons, see
  https://github.com/Martchus/syncthingtray/issues/71
* Still needs testing on a real 4k screen
* Hopefully this does not distrub the rest of the shell
2020-07-23 18:47:35 +02:00
Martchus a9225c5a35 Use addCustomAction() instead of deprecated addCustomButton() 2020-07-09 20:21:54 +02:00
Martchus 418a5ca9ab Increase version 2020-07-07 17:37:19 +02:00
Martchus 3a50840a59 Extend documentation about the systemd integration
It is harder than it should be but for now extending the documentation
is all that can be done from the point of this project.
2020-05-24 17:41:53 +02:00
Martchus ed4d1fc213 Use idle status icon for button to open Syncthing web UI
That looks more consistent, especially when using a dark color theme
where the default Syncthing icon doesn't fit in very well.
2020-04-12 23:16:26 +02:00
Martchus d50cdf3a06 Use consistent icon for rescanning all folders in plasmoid 2020-03-26 22:48:54 +01:00
Martchus c152152b67 Improve comments in build scripts 2020-03-05 19:04:55 +01:00
Martchus c103174609 Make desktop files for Plasma integration from template
* Avoid redundant meta-data
* Take target suffix into account
2020-02-14 23:14:50 +01:00
Martchus 153fc24492 Fix color roles of SyncthingRecentChangesModel 2020-02-10 10:47:35 +01:00
Martchus 2d704cf765 Fix missing export macros 2020-01-10 18:01:37 +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 05e49c86ce Improve color picker for icons
* Add note about Drag & Drop
* Allow picking from multiple presets
2019-11-19 19:33:58 +01:00
Martchus 6497f74046 Use override in test fixtures 2019-10-13 18:28:32 +02:00
Martchus 1a1b907f15 Save settings immediately to disk when applied
* See https://github.com/Martchus/syncthingtray/issues/59
* QCoreApplication::aboutToQuit() does not work reliably but terminating
  only at the end of the session is a common use-case for the tray
  application. So workaround the problem by saving the settings
  immediately.
* The plasmoid already does this anyways.
2019-10-06 17:58:08 +02:00
Martchus 3b607f467a Update libsyncthing to Syncthing v1.2.2 2019-09-08 18:08:13 +02:00
Martchus 7b668ca02c Update version to 0.10.0 2019-08-05 18:45:53 +02:00
Martchus d88df866d2 Adapt to c++utilities v5 2019-05-04 21:05:21 +02:00
Martchus 1e9718ff7a Update version to 0.9.1 2019-04-05 20:06:32 +02:00
Martchus e56c950100 Show overall statistics in plasmoid 2019-02-17 23:46:03 +01:00
Martchus 2370fe1ef5 Let CMake generate code for test application 2019-01-13 22:16:23 +01:00
Martchus d763a755ac Fix typo in 'Connected to ...' 2018-11-13 18:00:30 +01:00
Martchus 521bc3f478 Update version to 0.8.3 2018-10-24 21:34:33 +02:00
Martchus f4622379ae Prevent local sync complete notification during scan 2018-05-23 23:18:39 +02:00
Martchus 2fcc94f567 Handle new folder types
See https://github.com/syncthing/syncthing/pull/4942
2018-05-12 23:08:57 +02:00
Martchus 4c9aac59ca Update version to 0.8.0 2018-05-08 18:57:14 +02:00
Martchus 6ab7662a64 Add experimental 'libsyncthing'
* This allows running C++ GUI code (as provided by this
  repository) and Syncthing itself in the same process.
* It basically seems to work. I can now run a Syncthing
  instance within the interactive C++ shell 'cling' :-)
* Syncthing and its assets are built within the usual
  CMake build process but disabled by default because still
  experimental. To enable the build, add '-DNO_LIBSYNCTHING=OFF'
  to CMake arguments.
* The Syncthing checkout with customized exports lives
  in the Git submodule under
  'libsyncthing/go/src/github.com/syncthing/syncthing'.
2018-04-08 21:36:08 +02:00
Martchus 11bf8812e0 Use only one main category in desktop file 2018-02-10 23:18:30 +01:00
Martchus 447928a018 Request device/directory completion 2018-01-24 21:46:18 +01:00
Martchus 4f58e054d5 Improve test mode (mocked SyncthingConnection)
* Add further events allowing to reproduce download
  model issues visible in Plasmoid
* Use TestApplication to find testfiles
2017-11-12 17:03:30 +01:00
Martchus 43b2f9ff22 Allow to disable formatting 2017-10-17 19:47:12 +02:00
Martchus d54ba51a7b Set minor version to 7 2017-10-07 22:08:11 +02:00
Martchus c3f7cfa88e Enable Plasmoid by default (with exceptions, like for kio) 2017-10-05 00:31:30 +02:00
Martchus 49862f2701 Make GUI everywhere mandatory 2017-09-09 21:30:18 +02:00
Martchus f9b6441a8e Add Plasmoid (still experimental and incomplete) 2017-08-30 00:04:35 +02:00
Martchus f38619c35c Disable KIO under Android, Windows, MacOS by default 2017-07-20 00:02:05 +02:00
Martchus aca7f61c84 Prevent trying to rescan paused dirs
* Exclude paused dirs when rescanning all dirs to
  prevent errors
* Disable rescanning particular dir via gui if paused
2017-07-16 21:08:38 +02:00
Martchus 9fb1e918de Bump version to 0.6.2 2017-07-14 17:54:24 +02:00
Martchus f95ad68a3a Link testhelper against connector, remove global includes 2017-07-11 22:53:45 +02:00
Martchus 5d05e9a5df Fix compatibility with Qt < 5.8 2017-06-09 12:16:25 +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
Martchus 40b8713ba6 Move test helper to separate library
Allows to share common test helper code
between tests for different components
2017-04-01 16:56:36 +02:00
Martchus 4d7c6b5a61 Enable testing at root level so all tests are executed 2017-03-29 22:17:11 +02:00