Commit Graph

448 Commits

Author SHA1 Message Date
WarmUpTill
f35827de0a Fix stack buffer overrun for 512 character window titles
Size the buffer from the converted length instead of fixed 512 size.
2026-11-17 21:15:47 +01:00
WarmUpTill
b7bf68615d Use stable names for macro pause hotkeys
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
Otherwise external tools have a difficult time interacting with this
particular set of hotkeys, as the id might change when changing scene
collections.
2026-11-05 19:19:55 +01:00
WarmUpTill
6b8e666d58 Fix locale mistakes and remove unused keys
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-11-01 17:43:37 +01:00
WarmUpTill
5746a0a64a Add logging for shutdown macro handling
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-10-30 20:34:01 +01:00
WarmUpTill
830657990e Fix crash when macros run during OBS shutdown 2026-10-30 20:34:01 +01:00
WarmUpTill
8ac572b55c Fix crash when importing settings 2026-10-30 20:34:01 +01:00
nanopink
00ddbe2646 Add an option to disable inactive status blinking
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-10-25 13:34:51 +01:00
nanopink
a5c663230b Respect the drag threshold when reordering macro blocks 2026-10-25 13:13:44 +01:00
WarmUpTill
1171714aa9 Support nested macro groups in undo / redo and import / export 2026-10-25 12:03:46 +01:00
WarmUpTill
51df608edf Allow nesting macro groups 2026-10-25 12:03:46 +01:00
WarmUpTill
312f95659c Rewrite macro tree as tree model
Basically switch from list faking the group to QAbstractItemModel used
in combination with QTreeView
2026-10-25 12:03:46 +01:00
WarmUpTill
1a542f8092 Support nested macro groups in data model 2026-10-25 12:03:46 +01:00
WarmUpTill
d35c66940e Add variable action options
* Current scene
* Previous scene
* Preview scene
* Current transition
* Date / time
* Date / time with offset
* Unix timestamp
* Time since last scene change
* Json array length
* Set json field
* Format number
2026-10-24 21:32:32 +02:00
WarmUpTill
1ba1d09de9 Refactor "Variable" action 2026-10-24 21:32:32 +02:00
WarmUpTill
0a17a67ce0 Sync main checkbox in export dialog when subitem selection changes
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-10-22 20:29:27 +02:00
WarmUpTill
0924f14d20 Select variables used by exported macros by default in export dialog 2026-10-22 20:29:27 +02:00
WarmUpTill
1bfe56992b Enable search for variable in macro 2026-10-22 20:29:27 +02:00
WarmUpTill
d0f483b634 Show variable usage count on variable tab 2026-10-22 20:29:27 +02:00
WarmUpTill
561f8224fd Enable tracking variable usage 2026-10-22 20:29:27 +02:00
WarmUpTill
392aebff5c Add VariableRef wrapper and variable reference collector
Just a wrapper around weark_ptr<Variable> to make tracking usage easier
2026-10-22 20:29:27 +02:00
WarmUpTill
ccaadb0ffd Fix macro pause hotkeys not displaying macro name in OBS settings
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-10-17 12:34:06 +02:00
WarmUpTill
16ff4c5679 Add option to prompt user for input on macro import 2026-10-15 19:09:39 +02:00
WarmUpTill
2683f6bb56 Improve "Get user input" option of variable action
Now also supports ...
* file selection
* folder selection
* scene selection
* source selection
2026-10-15 19:09:39 +02:00
WarmUpTill
b9be64a853 Add ValueInputWidget 2026-10-15 19:09:39 +02:00
WarmUpTill
81683d1945 Make deps/exprtk dependency optional
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-10-13 17:48:17 +02:00
WarmUpTill
32b1fa02e0 Refactor QueueUITask helper 2026-10-12 19:47:21 +02:00
WarmUpTill
7ea944e1a3 Add undo / redo support for macros
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-10-04 13:41:00 +02:00
WarmUpTill
afd9154c84 Clear widget cache for active macro to enable undo / redo 2026-10-04 13:41:00 +02:00
WarmUpTill
75f62ed05b Fix crash when rapidly inserting / removing macro segments 2026-10-04 13:41:00 +02:00
WarmUpTill
ee7a2e764f Adaptitions for kWin support on Flatpak
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-09-28 21:01:42 +02:00
TheRealAlexV
3b63db2bde Fix crash in SendWebsocketVendorEvent during OBS shutdown
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
Guard the vendor event emission with obs_get_module("obs-websocket").
During obs_shutdown() modules are unloaded one-by-one; obs-websocket is
unloaded before advanced-scene-switcher, so the proc handler pointer (_ph)
cached in obs-websocket-api.h is already stale when FreeSceneSwitcher()
runs its stop steps. proc_handler_call() then dereferences freed memory
(use-after-free in pthread_mutex_unlock).

The existing OBSIsShuttingDown() guard does not catch this path: the
forced-exit that follows a "Source Cleanup Error" (scene collection
switch) never fires the SCRIPTING_SHUTDOWN frontend event, so the
plugin's obsIsShuttingDown flag is not set. obs_get_module() returns NULL
once the module is unloaded, which is the reliable signal that
obs-websocket's proc handler is gone.

Refs: #1404
2026-09-13 11:08:04 +02:00
WarmUpTill
fdc806be40 Convert dock window name field into a combo box
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
Should make it easier to combine docks into a single dock window without
having to know the exact dock window titles beforehand
2026-09-08 22:52:43 +02:00
WarmUpTill
d76a37c785 Add AdvancedSceneSwitcherVersion vendor request
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
Returns version and commit information
2026-08-12 20:55:34 +02:00
WarmUpTill
c2ec6848aa Fix sources of type "Group" being listed twice in filter selections
Some checks are pending
debian-build / build (push) Waiting to run
Push to master / Check Formatting 🔍 (push) Waiting to run
Push to master / Build Project 🧱 (push) Waiting to run
Push to master / Create Release 🛫 (push) Blocked by required conditions
2026-08-04 21:05:55 +02:00
WarmUpTill
f88407b731 Export Section symbols 2026-08-01 22:34:01 +02:00
WarmUpTill
c9eed5d997 Add un-/pause option to macro tab context menu
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-07-22 11:27:15 +02:00
WarmUpTill
7be2a4f544 Add support to snapshot vars before queue insertion
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-07-17 23:24:02 +02:00
WarmUpTill
616664e6f3 Add "Loop" action 2026-07-17 23:24:02 +02:00
WarmUpTill
0caf8628b7 Add HideElseSection() in preparation for loop action 2026-07-17 23:24:02 +02:00
WarmUpTill
46bf6c666f Cleanup includes
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-07-11 19:50:58 +02:00
WarmUpTill
902be7759d Speed up build times by using pre-compiled headers 2026-07-11 19:50:58 +02:00
WarmUpTill
2658ced18e Add "Audio" option to the first run wizard
Some checks failed
debian-build / build (push) Waiting to run
Push to master / Check Formatting 🔍 (push) Waiting to run
Push to master / Build Project 🧱 (push) Waiting to run
Push to master / Create Release 🛫 (push) Blocked by required conditions
Check locale / ubuntu64 (push) Has been cancelled
2026-07-03 18:57:32 +02:00
WarmUpTill
cd6ff4d52b Add "Sequence" option to the first run wizard 2026-07-03 18:57:32 +02:00
WarmUpTill
5438a6a364 Split first run wizard into multiple files 2026-07-03 18:57:32 +02:00
WarmUpTill
3a556113aa Expose API to notify about variable value change 2026-07-03 15:59:23 +02:00
WarmUpTill
6c90f517e4 Fix freeze when stopping waiting macro via "Run macro" button 2026-07-03 15:59:23 +02:00
WarmUpTill
0a2e2cd771 Add VariableColorButton
Used for color selection which also support variables
2026-06-30 20:30:50 +02:00
WarmUpTill
12f26c29e6 Clarify COPY_VAR layout to show source and destination variables
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-06-26 22:29:06 +02:00
WarmUpTill
e4f6d94247 Add option to automatically extract value from JSON query result 2026-06-26 22:29:06 +02:00
WarmUpTill
a04c51397d Fix variables of nested macros' actions not being resolved
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
2026-06-17 21:12:48 +02:00