1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 19:42:45 +01:00
Commit Graph

376 Commits

Author SHA1 Message Date
Elias Steurer
23c85f926e Fix none Windows compilation 2023-10-13 06:21:51 +02:00
Elias Steurer
757b43e8c2 Add exit function for cleanup 2023-10-12 16:01:27 +02:00
Elias Steurer
5f331043e2 Fix ci compilation
error:
CMAKE_BUILD_TYPE must be set to Debug or Release
2023-10-12 15:35:59 +02:00
Elias Steurer
bf80e2eeee Add basic working keep alive ping and quit messages 2023-10-12 13:25:10 +02:00
Elias Steurer
1c152bed38 Add connection to main SP instance 2023-10-05 15:51:50 +02:00
Elias Steurer
a596ad6337 Add args parsing
Add access to ScreenPlay object to the
fjord example
2023-10-05 13:57:25 +02:00
Elias Steurer
8223eb5c36 Add Godot export
Fix paths in sidebar now that we have multiple
storage paths
Add Godot wallpaper and edit to ScreenPlay
Fix showing Godot icon in task bar
2023-09-28 15:55:11 +02:00
Elias Steurer
e2790b9fa2 Fix Wallpaper not shown if using tiled background
Thanks for BruhOP5 for reporting this issue!
2023-09-04 16:58:35 +02:00
Elias Steurer
b4a3cb806a Add argument parsing 2023-09-01 14:33:23 +02:00
Elias Steurer
1650c33a42 Add basic windows pipe support 2023-09-01 14:30:34 +02:00
Elias Steurer
c70fa6224a Add working Godot Wallpaper 2023-09-01 13:48:48 +02:00
Elias Steurer
7ecbd2e8d1 Add default Godot project with GDExtension
Add Godot Editor download
Add Godot Editor start in launch.json
2023-08-31 14:53:59 +02:00
Elias Steurer
e327f73812 Fix all formatting scripts and format files
They default to format but also can be used
for checking
2023-08-20 11:59:02 +02:00
Elias Steurer
58782fb490 Add QtWebEngineQuick::initialize again
this is only because we still don't know for sure
what is wrong here.
2023-07-29 11:21:05 +02:00
Elias Steurer
5a7f6e85d3 Change wallpaper and widget names to include type 2023-07-29 11:18:21 +02:00
Elias Steurer
9f4692b808 Update to Qt 6.5.2 and bump to 5.15.1
Default to ffmpeg on windows
2023-07-24 16:22:09 +02:00
Elias Steurer
daaeeff824 Merge remote-tracking branch 'origin/master' 2023-07-13 14:20:38 +02:00
Elias Steurer
0cdc4eefb0 Change old window scaling eyeball with new windows api 2023-07-13 11:20:05 +02:00
Elias Steurer
646733bb2c WIP: Fix window scaling
We now query ms api and not eyeball it
2023-07-10 16:09:28 +02:00
Elias Steurer
0813f6a473 Add vp9 test video
Rename mp4 video to h.264 because mp4 is only a
container
2023-07-09 11:50:22 +02:00
Elias Steurer
7f230df175 Add slight delay to wait for MM to start outputting some frames 2023-07-02 12:25:04 +02:00
Elias Steurer
ea5c5033fb Add short delay before pausing to wait for...
potential window animation to finish
2023-07-01 11:07:20 +02:00
Elias Steurer
961f648e33 Add interactive Wallpaper example (windows only) 2023-06-29 20:31:59 +02:00
Elias Steurer
82b38820f2 Add disable wallpaper playing if not visible (again)
Changed from not rendering to pause the video. This does not work if
the wallpaper contains audio, but has the advantage of not displaying
a black bar in the windows task bar.

Add audio icon to installed list if we item contains an audio.mp3
2023-06-29 20:31:35 +02:00
Elias Steurer
6b30e3f242 Formatting 2023-06-11 10:07:39 +02:00
Elias Steurer
11905a6370 Cleanup and small fixes 2023-06-02 10:19:12 +02:00
Elias Steurer
9b8b8e0374 Update to Qt 6.5.1
This removed the QWebEngine workaround and fixes ffmpeg looping,
but introduces ffmpeg crash.
2023-05-25 15:14:16 +02:00
Elias Steurer
1689931060 Add stats, weather and cuntdown widgets 2023-03-09 10:19:58 +01:00
Elias Steurer
6a4cae4e24 Add display fps in debug mode 2023-03-02 13:22:57 +01:00
Elias Steurer
2b0c959609 Add 6.5 beta 3 loop lag workaround for windows 2023-03-02 13:22:26 +01:00
Elias Steurer
580c95036e Add fadeIn workaround
lets do not call fade in every loop
2023-03-02 13:17:30 +01:00
Elias Steurer
7749486332 Add mp4 test video 2023-03-02 13:15:27 +01:00
Elias Steurer
6d491f8ee4 Fix casings 2023-02-25 14:16:45 +01:00
Elias Steurer
67557dd66d Fix live reloading
Looks like we must add all files we want to track
into the watcher
2023-02-24 16:55:35 +01:00
Elias Steurer
eccc67d0c0 Remove native rendering setting
Looks like this version is worse than not setting it. This changes
every Qt version....
2023-02-24 16:54:56 +01:00
Elias Steurer
412de3e7b2 Add first batch of default content 2023-02-18 14:30:06 +01:00
Elias Steurer
db9d319388 Add Qt 6.5 looping workaround
Remove Qt6Widgets workaround

Update to latest vcpkg
Update to latest plausible-qml
Update to latest QArchive
2023-02-16 13:06:50 +01:00
Elias Steurer
6e2cecddb3 Fix compilation and signing
Move TrayIcon back to ScreenPlay:
- This fixes the missing labs plugins when running the macdeployqt script
- We don't need it here only in the SP main folder anyway

Move building and sign of the osx version for x64 and arm64 into the
actual build script.

Remove the qml plugin path workaround from the addImportPath
2023-02-11 11:57:09 +01:00
Elias Steurer
8b10e5989f Add basic .dmg bundle support 2023-02-09 16:35:08 +01:00
Elias Steurer
abddca8685 Remove seperate .app for wallpaper and widgets 2023-02-04 17:34:59 +01:00
Elias Steurer
924819bb0b Formatting 2023-02-04 12:16:24 +01:00
Elias Steurer
e96f80c68c Fix linux compilation 2023-02-04 12:15:41 +01:00
Elias Steurer
6501a4c79f Add automatic moc include for faster compile times 2023-02-04 11:42:32 +01:00
Elias Steurer
46391d1e5d Fix osx compilation 2023-02-03 17:55:22 +01:00
Elias Steurer
d129bf5cf4 Fix long standing qml error internal crash
We now wait until the event loop is done until
we call terminate. Before ScreenPlayWallpaper would
crash internally and stay alive as a zombie process for some
reason...
2023-02-03 17:03:10 +01:00
Elias Steurer
10eabc0a56 Formatting 2023-02-03 16:18:13 +01:00
Elias Steurer
4bce0a2cab Remove QApplication in favor of QGuiApplication 2023-02-03 16:17:47 +01:00
Elias Steurer
0a1da4f4a7 Fix all wallpaper except video not showing 2023-02-03 15:44:06 +01:00
Elias Steurer
348b06e4ce Fix .5sec white frame at the beginning 2023-02-03 10:50:19 +01:00
Elias Steurer
83bb652132 Add tasks.json and format all files 2023-02-02 15:25:26 +01:00
Elias Steurer
11d89432a0 Fix Linux and OSX compilation 2023-01-30 16:46:39 +01:00
Elias Steurer
960a6db915 Remove unused Particles import 2023-01-29 13:50:21 +01:00
Elias Steurer
31005092be Bump version to 0.15.0-RC5 2023-01-29 13:26:36 +01:00
Elias Steurer
64cde196eb Update qdoc and formatting
turns out we need the Q_PROPERTY setter
in the cpp file for qdoc to recognize it
2023-01-28 11:02:10 +01:00
Elias Steurer
37db908db1 Refactor linux X11 support
Rename LinuxWindow to LinuxX11Window, for kde
we use a desktop wallpaper plugin and for
Wayland we need something else entirely.
2023-01-27 11:12:45 +01:00
Elias Steurer
4dab506b41 Fix linux compilation
- Downgrade to stable Qt for now, because linux mirrors are not yet updated
- Launch.json linux "type": "lldb" does not work for some reason...
2023-01-27 10:04:51 +01:00
Elias Steurer
8e72488f62 Merge branch '161-refactor-screenplaywallpaper-to-no-longer-inherit-from-basewindow' of https://gitlab.com/kelteseth/ScreenPlay into 161-refactor-screenplaywallpaper-to-no-longer-inherit-from-basewindow 2023-01-27 09:01:44 +01:00
Elias Steurer
64d2c3adb5 Bump to Qt 6.5.0 and use FFMPEG
FFMPEG will become default in 6.6.0 anyways
and this fixes the broken rendering on osx and performs
better on my AMD Vega VII on Windows
2023-01-27 09:01:37 +01:00
Elias Steurer
3f99f934a9 Add missing quit msg implementation for osx 2023-01-26 14:24:45 +01:00
Elias Steurer
d06f5b04c1 Add fadeIn workaround #2 2023-01-22 16:28:41 +01:00
Elias Steurer
ae845d2604 Add missing include 2023-01-22 16:28:15 +01:00
Elias Steurer
a6eb6b0660 Add fadeIn not working workaround
See https://bugreports.qt.io/browse/QTBUG-110456

Add exit codes
2023-01-22 16:27:18 +01:00
Elias Steurer
9cfc4bb154 Formatting with clang 15 2023-01-21 11:12:04 +01:00
Elias Steurer
9fcae64806 Adapt changes for osx 2023-01-20 15:55:17 +01:00
Elias Steurer
c5ec7e7bff WIP refactor ScreenPlayWallpaper
This is Windows only for now:
Make Classes default constructible. We now have:
setup():
- Can return status of the input data. This is most important, because
  we can now properly exit if this fails
- We now use the same ProjectFile struct as we do in InstalledListModel
- Gets called on all platforms
start():
- Platform specific code

Move argument parsing into main
2023-01-20 14:42:48 +01:00
Elias Steurer
1e8ca2e2d8 Refactor project struct to be self contained 2023-01-19 14:09:06 +01:00
Elias Steurer
7871573179 Update to use SPDX-License-Identifier 2023-01-19 10:33:49 +01:00
Elias Steurer
40cde43a68 Fix disable sdk on debug mode 2022-12-17 13:30:08 +01:00
Elias Steurer
e2beadb671 Fix windows wallpaper fade in calculation again 2022-12-03 17:01:50 +01:00
Elias Steurer
561986b093 Add FHD 21:9 monitor offset 2022-11-12 14:45:41 +01:00
Elias Steurer
9538023b40 Change default image offset when using WQHD 21:9 2022-11-12 14:34:58 +01:00
Elias Steurer
ad8074ed12 Fix sidebar preview if now gif is available 2022-11-04 16:21:46 +01:00
Elias Steurer
804812181e Formatting 2022-11-02 11:36:40 +01:00
Elias Steurer
8e0a3a8f50 Fix cmake format
Apparently auto format does not work via
general set variables
2022-11-02 11:33:40 +01:00
Elias Steurer
bda6716d3a Refactor build &ci script to use aqt
Refactor gitlab-ci to inherit base
Add defines.py that stores variables like versions
Bump Qt version to 6.3.2
2022-10-10 11:35:41 +02:00
Elias Steurer
73078edee6 Fix macOS universal signing 2022-08-26 15:45:49 +02:00
Elias Steurer
ff371eeba5 Add missing terminate command for osx 2022-08-14 11:58:54 +02:00
Elias Steurer
376e96f96c Add macos folder copy for qml folder 2022-07-15 13:05:47 +02:00
Elias Steurer
4da09711e6 Merge remote-tracking branch 'origin/HEAD' 2022-05-12 14:36:18 +02:00
Elias Steurer
6a40f7e69d Fix FillMode web and Qt based fillModes 2022-05-06 14:52:23 +02:00
Elias Steurer
12e3aa91ac Refactor ScreenPlaySDK and remove old QML support 2022-05-05 13:43:49 +02:00
Elias Steurer
bcfb188cf2 Remove all qml import version number
Fix sidebar
2022-05-05 13:02:54 +02:00
Elias Steurer
844a4ab676 Remove all .qrc files . We now use qt_add_qml_module
Copy fonts manually now
Fix paths
2022-04-30 13:22:17 +02:00
Elias Steurer
12b6911635 Merge and adapt change to make it runnable on linux
Move all qml components into a dedicated qml subfolder.  This was needed to fix linker
errors where we would have a folder that has the same name as our executable.
2022-04-30 12:07:54 +02:00
Elias Steurer
12053d9531 Add basic kde setup 2022-04-24 16:38:12 +02:00
Elias Steurer
5c138fa8d4 Update to latest vcpkg
Add libxkbcommon for compiling shader
Fix SysInfo not available on osx and linux
2022-04-23 20:15:32 +02:00
Elias Steurer
bb700780ef Move workshop qml files into ScreenPlayWorkshop
Move common qml stuff into ScreenPlayUtil
2022-04-23 14:32:36 +02:00
Elias Steurer
5d1c941cb3 Formatting 2022-04-04 18:09:45 +02:00
Elias Steurer
77a81451ca Multiple refactoring....
Bump Qt to 6.3 to fix video loop
Remove no longer working shader and add new
WIP: Shader compilation path is wrong for some reason
Add Steamless version content path
Remove cmake-format: sortable from CMakeLists.txt
Add Widnow scale indocator icon to the bottom right
Remove unused doctest and benchmark
Fix tests and installer cmake logic
2022-04-04 18:06:43 +02:00
Elias Steurer
42bdd7682c Fix cmake formatting script ignoring sort 2022-03-12 14:36:03 +01:00
Elias Steurer
d1b4896c0a Formatting 2022-02-20 17:59:00 +01:00
Elias Steurer
caa8daf2d8 Remove windows buggy loop hack with Qt 6.3 fix 2022-02-20 17:57:00 +01:00
Elias Steurer
fb5d6581ec Change all plugins to be QML_ELEMENT
Add ScreenPlayWeather
2022-02-20 17:55:26 +01:00
Elias Steurer
0adc9c8002 Merge remote-tracking branch 'origin/master' 2022-01-27 16:59:20 +01:00
Elias Steurer
0c837d81cb Fix linux ui loading
This was because of buggy require property and
missing Q_IMPORT_QML_PLUGIN
2022-01-27 16:59:08 +01:00
Elias Steurer
52749edb94 Add missing border width 2022-01-27 14:58:38 +01:00
Elias Steurer
c281ec5599 Add our own Dialog and Popup with blur background
Remove all => for now because the qml formatter does
not like the new syntax
Fix states auf mute/play all buttons
Remove useless playback speed option
2022-01-20 16:37:07 +01:00
Elias Steurer
0f5b310f68 Merge branch 'master' into qt6-kde
# Conflicts:
#	ScreenPlay/CMakeLists.txt
#	ScreenPlay/app.cpp
#	ScreenPlay/src/screenplaymanager.cpp
#	Tools/build.py
2021-12-31 13:32:37 +01:00
Elias Steurer
429a5b231d Merge remote-tracking branch 'origin/HEAD' 2021-12-18 13:24:18 +01:00
Elias Steurer
6bfdd9894c Fix steam plugin loading 2021-12-18 13:24:03 +01:00