Commit Graph

2244 Commits

Author SHA1 Message Date
WarmUpTill
e6a3f98ab7 use source_id to identify meida sources 2020-06-02 20:45:46 +02:00
WarmUpTill
5e60cefd1c update current selection on media tab when selecting a different row 2020-06-02 19:34:15 +02:00
Myned
fabb7406bd
Merge remote-tracking branch 'WarmUpTill/master' 2020-06-02 00:48:01 -04:00
Myned
cfb0a44b1f
Change UI to specify greater than
Scene locking can occur when interval is equal to transition time due to inconsistencies in timers
2020-06-02 00:40:22 -04:00
Myned
78ed7415f5
Fix allocation error 2020-06-02 00:39:14 -04:00
Myned
d6380b865e
Fix some windows (Steam) not being found on Linux
Reverts part of commit e61905d02f

Fallback to WM_NAME if _NET_WM_NAME does not exist

Also fixes some BadWindow errors that were due to some apps like Steam only populating WM_NAME, and only for certain windows (tooltips count as windows due to the odd way the GUI works on Linux, so they don't have either property)
2020-06-02 00:38:35 -04:00
WarmUpTill
80cc8ba06c
fix install_name_tool path for libobs 2020-06-01 15:21:45 +02:00
WarmUpTill
f1d5b110b8 adjustments for macos installer
adjust default install path
adjust lib lookup paths
2020-06-01 14:56:59 +02:00
WarmUpTill
2e475b8059 add first draft of thread priority 2020-06-01 14:54:08 +02:00
WarmUpTill
99b5c16406 add Time scene switching 2020-05-31 12:43:34 +02:00
Myned
55d8303ecf
Fix isFullscreen() logic error for Linux
Not sure why this arose in the first place
2020-05-26 02:44:12 -04:00
Myned
23201100fa
Fix macOS build error (again)
Adds to f0cf5a5c19

Forgot to remove vestigial code
2020-05-23 00:34:40 -04:00
Myned
3959e41e88
Add clearing of passed window list like with other platforms 2020-05-23 00:27:19 -04:00
Myned
f0cf5a5c19
Fix Windows and macOS build errors
Adds to e4b640903d and de5b6f8eb4
2020-05-23 00:25:30 -04:00
Myned
87da123c19
Change default focus value to true 2020-05-23 00:00:04 -04:00
Myned
2a0e9e9d9a
Change wording 2020-05-22 23:58:18 -04:00
WarmUpTill
9bedeedcb6 fix issue with out-of-tree builds not being able to find *ui on some platforms 2020-05-22 19:41:48 +02:00
WarmUpTill
a88a5bb2da adjust macos pkg name 2020-05-21 21:04:26 +02:00
WarmUpTill
cfd6be2ba0 fix mac and linux builds
ignore data/ dir as it is not used by this plugin
adjust path to .so in SceneSwitcher.pkgproj
2020-05-21 20:53:49 +02:00
WarmUpTill
3658efff20 add missing env. 2020-05-21 20:16:37 +02:00
WarmUpTill
8331b50c5a try to resovle github actions issues
add CI/ for mac
use LIB_NAME instead of PLUGIN_NAME when saving results
2020-05-21 20:11:17 +02:00
WarmUpTill
7a343c2070
try setting up actions 2020-05-21 19:19:08 +02:00
Myned
a7a8adb91b
Remove whitespace 2020-05-21 00:54:49 -04:00
Myned
e61905d02f
Change window title property on Linux to align with freedesktop spec
Freedesktop recommends using _NET_WM_NAME instead of WM_NAME, and on KDE, for example, the difference between them is including the application name for some windows (e.g. "freedesktop - Google Search - Vivaldi" compared to "freedesktop - Google Search")
2020-05-21 00:53:47 -04:00
Myned
f00c244bfa
Change wording slightly 2020-05-21 00:52:41 -04:00
Myned
463b54f1fb
Remove sorting when adding switches 2020-05-21 00:52:11 -04:00
Myned
70894f9302
Add regex matching to reverted isInFocus() for Windows
Reverts part of a4de8c0c59
2020-05-21 00:42:58 -04:00
Myned
de5b6f8eb4
Fix fullscreen check only returning true if window is focused on Linux 2020-05-21 00:40:37 -04:00
Myned
be83232caa
Update UI for focus addition, add/change warnings, and move exe tab 2020-05-21 00:37:03 -04:00
Myned
e4b640903d
Add ability to choose focus state to window title switcher 2020-05-21 00:34:22 -04:00
Myned
a4de8c0c59
Change isInFocus() check to be OS-agnostic
isInFocus() can utilize the platform-dependent GetCurrentWindowTitle() instead of re-implementing the same functionality.

Tested on Linux and macOS without issues
2020-05-18 00:11:07 -04:00
Myned
ac051a42a8
Remove unnecessary spaces 2020-05-18 00:06:19 -04:00
Myned
e33e93fd18
Change UI warning to allow direct matches and disable list sorting 2020-05-17 13:47:48 -04:00
Myned
d5052c94ca
Add direct matching to window, executable, and ignored switches
Reverts part of commit 5f87a61177

Direct matching occurs in the same loop as regex in order to allow the list order to function as indicated in the UI
2020-05-17 13:44:50 -04:00
Myned
f0aa76517a
Change executable switcher warning to regex requirement
Also change wording to align with Window Title, and fix an inconsequential error
2020-05-17 00:27:01 -04:00
Myned
a2543f1b85
Add ability to use existing window ignore for executable switching
Also cleaned up some logic
2020-05-17 00:24:24 -04:00
Myned
5f87a61177
Remove direct match from window switcher and reorganize
Direct matching before regex has the potential to interfere with some usecases. For example, if a user wants to enter regex syntax such as `shell[1]`, a direct match would return a window matching `shell[1]` exactly instead of `shell1`. Granted, the odds of the two conflicting each other are slim, but the core logic shouldn't prevent a user from utilizing regex to its full potential. One can always escape reserved characters if they want to match it directly. I have also added a warning and link to https://regexr.com in the UI should this be accepted.

The rest of what has changed is simply to align with the executable switcher's matching, namely the use of `QRegularExpression` to drop the need for a try/catch block and moving the check for fullscreen to the if statement in order to remove the possibility of a race condition.
2020-05-17 00:18:28 -04:00
Myned
451bb6518c
Revert "Move forms/advanced-scene-switcher.ui to src/headers/"
This reverts commit 318502d8d0.
2020-05-16 23:42:26 -04:00
Myned
318502d8d0
Move forms/advanced-scene-switcher.ui to src/headers/
Out-of-tree building (at least) fails without this file in this location, and builds successfully without it under forms
2020-05-14 19:11:04 -04:00
Myned
e9b1ef58ba
Change executable list to disable sorting
This allows the UI to show the order in which the executables will be checked
2020-05-14 18:56:39 -04:00
Myned
26c24d4d53
Change executable entry box to be editable 2020-05-14 18:56:39 -04:00
Myned
3654f39247
Fix scene not switching with multiple executables 2020-05-14 18:56:39 -04:00
Myned
b45b38cf6a
Add ability to use regex for executable switching
Previously, only exact matches to a window title would switch scenes
2020-05-14 18:56:39 -04:00
WarmUpTill
228a18eb77 fix media switch not saving when using previous scene as target 2020-04-27 20:51:58 +02:00
WarmUpTill
4ed12db12b add support for previous scene on media tab 2020-04-27 20:20:50 +02:00
WarmUpTill
b20b894b2f add hint about install_name_tool for MacOS builds 2020-04-27 19:39:05 +02:00
WarmUpTill
7c052f2633 do not link against X11 for MAC in-tree builds 2020-04-27 18:46:32 +02:00
WarmUpTill
9305576789
Merge pull request #18 from exeldro/media
add media
2020-04-26 15:09:51 +02:00
Exeldro
38bd59c1fd add media 2020-04-25 13:55:53 +02:00
WarmUpTill
7f84de64d8
README.md: add BUILD_OUT_OF_TREE variable to Compiling out of tree section 2020-04-12 23:33:12 +02:00