WarmUpTill
1aa2425e81
Cleanup locale
2024-09-24 23:00:47 +02:00
WarmUpTill
f5eadfa39c
Add option to disable saving when switching macros
2024-09-24 23:00:47 +02:00
WarmUpTill
b60235d964
Export VariableSpinbox symbols
2024-09-24 23:00:47 +02:00
WarmUpTill
718b18248e
Add context menu entry to remove selected macro segment
2024-09-24 23:00:47 +02:00
WarmUpTill
4316e53039
Cleanup constness of MacroSegmentList
2024-09-24 23:00:47 +02:00
WarmUpTill
3a87a8d155
Hide priority settings when legacy tabs are hidden
2024-09-24 23:00:47 +02:00
WarmUpTill
91912f2aa5
Add/Move helpers to register OBS websocket vendor requests
...
Adds websocket vendor requests to start and stop the plugin.
Adds vendor events to indicate when the plugin is started or stopped.
These are ntended to be used for the StreamDeck plugin support.
2024-09-24 23:00:47 +02:00
WarmUpTill
624b841ca1
Add option for custom macro condition check interval
2024-09-24 23:00:47 +02:00
WarmUpTill
9eb4e90291
Rename and refactor macro class functions
...
LastConditionCheckTime() will be required to support custom condition
check intervals per macro
2024-09-24 23:00:47 +02:00
WarmUpTill
94263cc7a0
Work around crash in std::filesystem due to unexpected char encoding
2024-09-24 23:00:47 +02:00
WarmUpTill
2247152aa8
Remove legacy tab "Scene Triggers"
2024-09-24 23:00:47 +02:00
WarmUpTill
2528449c84
Cleanup
2024-09-24 23:00:47 +02:00
WarmUpTill
f2df3d18be
Rename locale key to better reflect its purpose
2024-09-24 23:00:47 +02:00
WarmUpTill
c7c48d03e9
Add option for short circuit evaluation of conditions
2024-09-24 23:00:47 +02:00
WarmUpTill
6fb8619671
Clear outdated highlight triggers when enabling macro segment highlights
2024-09-24 23:00:47 +02:00
WarmUpTill
36fb83246b
Add log level to log executed macros
2024-09-24 23:00:47 +02:00
WarmUpTill
e729d15e97
Remove legacy tab "Network"
2024-09-24 23:00:47 +02:00
WarmUpTill
c1ac9bb890
Resolve QCssParser::parseColorValue warning
2024-09-24 23:00:47 +02:00
WarmUpTill
2f54c2ee62
Increase volume meter scale from -100 to 0 dB
...
This was done to enable users to to use higher precision values in the
"Audio" condition type.
Previously, the UI would reset the selected values to the minimum value
possible to display in the volume meter widget, which was -60 dB.
2024-09-20 23:05:45 +02:00
Przemek Pawlas
6ccbaad41c
Add enhanced relative time to variable tab cells
2024-09-18 17:38:53 +02:00
Przemek Pawlas
57d78a996a
Add variable trim and case change actions
2024-09-16 19:42:41 +02:00
WarmUpTill
93efc7cab3
Add option to check for addition chat message properties
2024-08-24 00:23:54 +02:00
WarmUpTill
d75066df5f
Fix crash when adding new entries to the legacy tabs
2024-08-24 00:23:54 +02:00
WarmUpTill
863c84026e
Move GetSettingsWindow() to ui-helpers
2024-08-24 00:23:54 +02:00
WarmUpTill
a523081d77
Move GetIndexOfSignal() to ListEditor
2024-08-24 00:23:54 +02:00
WarmUpTill
66534519d6
Export complete RegexConfigWidget class
2024-08-24 00:23:54 +02:00
WarmUpTill
b3b2114c45
Fix SetHeightToContentHeight() not respecting diffrently sized rows
2024-08-24 00:23:54 +02:00
WarmUpTill
510f83246e
Only emit signals when value changed
...
* Fixes crash when deleting macro in case macro selection is in focus
* Prevent unnecessary create operation when switching macro segment type
2024-08-16 06:49:27 +02:00
WarmUpTill
c969b21f93
Fix MacroSelection not properly unhiding first macro in selection
2024-08-16 06:49:27 +02:00
WarmUpTill
6ec40ef8e9
Cleanup
2024-08-16 06:49:27 +02:00
WarmUpTill
27859e83b3
Fix crash when creating macro which uses macro segment factories
2024-08-16 06:49:27 +02:00
WarmUpTill
263565700a
Fix crashes related to widget highlighting
2024-08-16 06:49:27 +02:00
WarmUpTill
5bb10a4aef
Resolve unused parameter warnings
2024-08-15 01:02:03 +02:00
WarmUpTill
ee72bb192c
Improve corrupted installation detection
2024-08-15 01:02:03 +02:00
WarmUpTill
1a1028cbaa
Paste copied macro action depending on cursor position
...
If cursor is above else action section paste it there.
If cursor is above regular action section paste it there.
In case of neither paste in original position.
2024-08-14 22:02:55 +02:00
WarmUpTill
2f4f8bcc74
Add IsCursorInWidgetArea()
2024-08-14 22:02:55 +02:00
WarmUpTill
4113615cd6
Add context menu to change custom label for macro segments
2024-08-14 22:02:55 +02:00
WarmUpTill
9522d7c0b4
Adapt to new OBS dock API
...
* The plugin will no longer attempt to restore dock positions on scene
collection change.
* When a macro is being renamed the dock widget with the current name
will be removed.
A new dock with the new name will have to be opened manually.
* The status dock position will be when updating to a version containing
this changei from an older version.
2024-08-14 21:51:42 +02:00
WarmUpTill
36201cbfb4
Add API to register new macro condition and action types
2024-08-14 21:51:42 +02:00
WarmUpTill
685e28d161
Make read and write functions of variables thread-safe
2024-08-14 21:51:42 +02:00
WarmUpTill
ad322d54f0
Fix crash in case of high frequency resize events
...
I am not sure if this could really happen in normal use.
Was discovered after implementing the script properties UI widgets.
2024-08-14 21:51:42 +02:00
WarmUpTill
f9730b1bc2
Refactor DurationModifier to enable testing
2024-08-11 16:03:08 +02:00
WarmUpTill
d4025214e5
Cleanup duplicate "[advss]" log prefix
2024-08-11 16:03:08 +02:00
WarmUpTill
c431e6c31d
Show warning if default action or condition cannot be created
2024-08-11 16:03:08 +02:00
WarmUpTill
15998012e5
Change default verbosity of busy loop detection log
...
This is mostly relevant when analysing issues, so it does not make sense
to potentially spam the OBS log with this message
2024-08-11 16:03:08 +02:00
WarmUpTill
74116382b1
Enable include during unit testing
2024-08-11 16:03:08 +02:00
WarmUpTill
24f33fb0d2
Refactor condition logic to enable testing
2024-08-11 16:03:08 +02:00
WarmUpTill
bedb3b8dc6
Change plugin folder name
...
Requested by lindenkron to ease development of a plugin manager
2024-07-09 21:21:10 +02:00
WarmUpTill
8032dde045
Prevent users from accidentally enabling action cooldowns
2024-07-09 21:21:10 +02:00
WarmUpTill
17c72b772d
Display plugin load failure warning only once
2024-07-09 19:10:51 +02:00
WarmUpTill
223ce0d0a0
Fix potential crash in StatusControl
2024-07-03 13:02:34 +02:00
WarmUpTill
7f5737d03f
Use default cursor icon on macro segment control hover
...
Previously the cursor icon would be set to Qt::SplitVCursor as those
widgets were moved into the splitter handle layout
2024-06-20 21:41:28 +02:00
WarmUpTill
7702541d81
Cleanup
...
* Increase update frequency of AutoUpdateTooltipLabel
* Prevent crash in TempVariableRef::PostLoad()
* Ensure that correct widget is passed for MacroSelection connections
2024-06-20 21:41:28 +02:00
WarmUpTill
3bc15e585c
Switch QPushButton to QToolButton
...
This will be more consistent with the widget styles used throughout OBS
and solves a few layout issues
2024-06-20 21:41:28 +02:00
WarmUpTill
f50cd76493
Fix i386 build issue
2024-06-16 11:04:05 +02:00
WarmUpTill
9d4c8ab475
Fix stylesheet of StatusControl not being set to stopped state
2024-06-07 23:05:08 +02:00
WarmUpTill
3d61ea7d25
Add option to reevaluate condition state in "Macro" action
2024-06-07 21:44:21 +02:00
WarmUpTill
99c8a46296
Add option to ignore pause during condition check
2024-06-07 21:44:21 +02:00
WarmUpTill
7e1d20031c
Add HelpIcon
...
A QLabel consisting of a question mark icon and tooltip
2024-06-07 21:44:21 +02:00
WarmUpTill
0e4b000fb1
Set default action of tpye "Macro" to "Run"
2024-06-07 21:44:21 +02:00
WarmUpTill
fc2451ae08
Rename MacroProperties to MacroSettings
2024-06-07 21:44:21 +02:00
WarmUpTill
be44577967
Add option to set input variable values to Macro action
2024-06-07 21:44:21 +02:00
WarmUpTill
3480ff238e
Add macro input variable support
2024-06-07 21:44:21 +02:00
WarmUpTill
ee68427036
Add HighligthMacroSettingsButton()
2024-06-07 21:44:21 +02:00
WarmUpTill
37c32dd1ed
Move StringList from base to lib
2024-06-07 21:44:21 +02:00
WarmUpTill
c05a92d417
Refactor widget highlighting
2024-06-07 21:44:21 +02:00
WarmUpTill
d72a0c0d38
Add VariableSelectionDialog
2024-06-07 21:44:21 +02:00
WarmUpTill
235b31fccc
Add GUARD_LOADING_AND_LOCK
...
Helper macro to reduce repetition
2024-06-07 21:44:21 +02:00
WarmUpTill
286f781f4d
Add ListEditor helper widget
2024-06-07 21:44:21 +02:00
WarmUpTill
b7516cac5b
Fix crash when adding resources to resources tab
...
A crash could occur if the plugin window was closed and reopened and a
new resource was added to either the Variable, Action queue, Websocket,
or Twitch tab.
No context object was provided to the signal handlers.
The signal provider is intentionally not deleted when the UI is closed.
Because of this, the signal connections were never cleared when the
underlying tab widget was destroyed.
So, in the case of closing and reopening the settings window, the old
connection with the outdated widget pointers would be called again.
2024-06-05 01:05:31 +02:00
WarmUpTill
5e1469b0d8
Don't restore last opened tab if that tab is no longer visible
2024-06-05 01:05:31 +02:00
WarmUpTill
b3bde6c59f
Fix imported variables / actions not being added to respective tabs
2024-06-05 01:05:31 +02:00
WarmUpTill
032f5e2fe9
Improve visibility of plugin stop warning flash in status dock
2024-06-05 01:05:31 +02:00
WarmUpTill
91c053dfd8
Re-add tooltips for the "last used" cells on the variable tab
2024-06-05 01:05:31 +02:00
Przemek Pawlas
1f1ef4ca03
Add variable values swap action
2024-05-25 19:04:09 +02:00
WarmUpTill
54356d9410
Add tooltip to macro property selection in variable action
2024-05-19 01:44:10 +02:00
WarmUpTill
a01af6cfc3
Adapt code to be compatible with older MSVC redistributable versions
2024-05-18 23:31:04 +02:00
WarmUpTill
4d9c7f1054
Fix typo
2024-05-18 23:31:04 +02:00
WarmUpTill
ced36e2b5b
Add nodiscard to sync-helpers
2024-05-18 23:31:04 +02:00
WarmUpTill
8f55856fd5
Fix macro segment highlighting not being in sync
...
Each macro segment had its own internal timer to handle highlighting.
This handing was now moved centrally to the macro tab.
2024-05-10 15:11:20 +02:00
WarmUpTill
a360d53419
Enable right-click to select macro segments
...
This will be used to enable copy-paste via the context menu available
when right-clicking a macro segment
2024-05-10 15:11:20 +02:00
WarmUpTill
f723212394
Add copy-paste support for individual macro segments
2024-05-10 15:11:20 +02:00
WarmUpTill
a0cb08d18f
Fix potential crash when creating actions
2024-05-10 15:11:20 +02:00
WarmUpTill
d18044b764
Add handling for fading of else-controls
2024-05-10 15:11:20 +02:00
WarmUpTill
406b5d61f5
Add option to conditionally run action of other macros
2024-05-10 15:11:20 +02:00
WarmUpTill
9a4eef4a83
Adjust busy loop sleep to 10ms
...
This is now in line with the new minimum interval value
2024-05-10 15:11:20 +02:00
WarmUpTill
44fc5177d6
Add action queue tab
2024-05-01 19:44:57 +02:00
WarmUpTill
604a27141f
Move files
2024-05-01 19:44:57 +02:00
WarmUpTill
966b389807
Rework variable tab to use tab helpers
2024-05-01 19:44:57 +02:00
WarmUpTill
530fbdd282
Add ResourceTable class
...
Base class to be used to display items in a table
2024-05-01 19:44:57 +02:00
WarmUpTill
54f1051456
Ease detection of calling obs_module_text() too early
2024-05-01 19:44:57 +02:00
WarmUpTill
d136bf5561
Fix crash when on startup when registering new tab
2024-05-01 19:44:57 +02:00
WarmUpTill
5cba948e02
Decouple plugin init, load, cleanup handling from SwitcherData
2024-05-01 19:44:57 +02:00
WarmUpTill
d71c87535f
Add RemoveItemsByName()
...
Helper function to remove Items by name from std::queue of Item
2024-05-01 19:44:57 +02:00
WarmUpTill
ce501bd972
Move / add tabWidget related helper functions
2024-05-01 19:44:57 +02:00
WarmUpTill
cdacfc946c
Save macro segment settings in separate object
...
To avoid conflicts with other setting of the segment
2024-04-20 17:39:47 +02:00
WarmUpTill
26e854f0a3
Open macro selection dialog at plugin window location
2024-04-20 17:39:47 +02:00
WarmUpTill
2bc89364b2
Refactor NameDialog
2024-04-20 17:39:47 +02:00
WarmUpTill
e080d2de9b
Add option to set custom labels on macro segments
2024-04-20 17:39:47 +02:00
WarmUpTill
ca1262aeb7
Resize temp var selection when repopulating list
2024-04-20 17:39:47 +02:00