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
WarmUpTill
5ae90fe913
README.md: Add separate sections for "Compiling in and out of tree"
2020-04-12 21:37:36 +02:00
WarmUpTill
115a90196c
fix deadlock when rapidly switching scenes
2020-04-12 21:26:45 +02:00
WarmUpTill
5e92a7bcdf
use std::shuffle instead of std::random_shuffle
2020-04-12 21:25:11 +02:00
WarmUpTill
922cf95119
support both in- and out-of-tree builds
2020-04-12 21:23:30 +02:00
WarmUpTill
05540b61a1
add separate hotkey (fix for out of tree builds)
2020-02-16 20:47:55 +01:00
WarmUpTill
218ad13160
add separate hotkeys for start and stop
2020-02-16 20:35:12 +01:00
WarmUpTill
6e18eebb25
don't link against X11 on Mac
2020-01-30 21:14:51 +01:00
WarmUpTill
b7058f97a9
Merge pull request #10 from c3r1c3/out-of-tree-builds
...
Out of tree builds
2019-02-11 14:17:32 +01:00
c3r1c3
b0c00dfa98
README.md: Added Windows build instructions
2019-02-09 16:26:33 -06:00
Cephas Reis
7a074aa548
README.md: Updated the Mac and Linux build instructions.
2019-02-09 16:13:41 -06:00
c3r1c3
51c740bdc6
README.md: Updated Mac Build instructions. Still need to fix Windows and Linux.
2019-02-09 14:54:11 -06:00
Cephas Reis
826a25926c
README.md: Update with new install/build instructions
2019-02-09 01:35:47 -06:00
Cephas Reis
e2cd39315f
CMakeLists.txt: Fix-ups for out-of-tree builds.
...
CMake really likes it when you specify a minimum version. Let's do that.
Also added the ability te build and install on Linux out-of-tree.
Mac *should* work, but I can't test it.
Windows *should* work, but it has some trouble compiling on VS2017 15.9+ because
of changes MS made to their compilier. Seeing as that issue is outside the scope
and modifications made in this PR, that is an issue to address another day.
2019-02-09 01:35:46 -06:00
Cephas Reis
7665bf8872
Platform-specific commits. Basically fixes for the directories.
2019-02-09 01:35:46 -06:00
c3r1c3
14d78100c1
Most files: Move files into subdirectories
...
Almost all the files have been moved into folders and subfolders to keep everything organized and clean.
2019-02-09 01:35:46 -06:00
Cephas Reis
92d75bbddb
external/: Add OBS helper cmake files
2019-02-09 01:35:46 -06:00
Cephas Reis
14d6e6f5bf
.gitignore: Let's start by adding a normal set of ignores.
2018-12-27 01:14:37 -06:00
WarmUpTill
78fa18f22a
prevent idle switch loop when using previous scene as target
2018-08-16 12:28:10 +02:00
WarmUpTill
bbf7d4acf5
add 'previous scene' option for idle detection
2018-08-14 22:44:34 +02:00
WarmUpTill
299f7c00e0
fix save/load file for scene sequence
2018-07-20 21:00:06 +02:00
WarmUpTill
70c0a8ed57
add previous scene as option for scene round trip
2018-07-13 23:54:05 +02:00
WarmUpTill
d41868c660
cleanup
2018-07-13 22:29:01 +02:00
WarmUpTill
3381e6d62f
read any file, fix space in file switch name
2018-05-22 21:32:41 +02:00
WarmUpTill
6338aaa891
add regex, date check to file switch
2018-05-22 21:04:06 +02:00
WarmUpTill
104f74bf39
add option to switch based on file contents
2018-05-21 23:20:02 +02:00