Commit Graph

449 Commits

Author SHA1 Message Date
0a02015f7d Base: General code cleanup 2021-06-22 15:51:52 -07:00
33137496a7 RequestHandler: Lots of code cleanup 2021-06-22 15:24:48 -07:00
5cf2b50b63 RequestHandler: Add some more requests 2021-06-21 15:31:47 -07:00
584be06398 Utils: Add CreateSceneItem and CreateInput 2021-06-21 15:26:59 -07:00
ae40c61c2b RequestHandler: Some more requests 2021-06-16 08:19:13 -07:00
cc77724229 RequestHandler: More simplification (and fix)
obs_queue_task is set to wait, so there is no need to create our
bool on the stack, as it should never go out of scope when the task
is run. Additionally, the old way didn't actually work anyway.
2021-06-16 08:16:23 -07:00
9229107bab RequestHandler: Simplify TriggerHotkeyByKeySequence checks 2021-06-16 08:10:43 -07:00
4f804baf95 Request: Consider null parameters missing 2021-06-16 06:25:20 -07:00
bc1dc807e4 RequestStatus: Add TooManyRequestParameters 2021-06-16 06:25:00 -07:00
d6aeeeea0c RequestHandler: Add SetInputSettings 2021-06-16 04:27:08 -07:00
ce8f393eb8 Request: Fix memory leak and crash in ValidateInput 2021-06-16 04:18:37 -07:00
271db036fe RequestHandler: Add GetInputSettings 2021-06-16 02:41:24 -07:00
55755ae066 Request: Minor code cleanup 2021-06-16 02:41:13 -07:00
3400bfdc9a Request: Add ValidateInput() 2021-06-16 02:22:13 -07:00
1116af128e RequestHandler: Add GetInputDefaultSettings 2021-06-16 02:07:51 -07:00
8ad009ba51 RequestHandler: Move GetInputList logic to Utils 2021-06-16 01:39:04 -07:00
4d77927ceb Utils: Add Obs::ListHelper::GetInputKindList() 2021-06-16 01:31:36 -07:00
428e437429 RequestHandler: Add unversionedInputKind to GetInputList 2021-06-16 01:26:00 -07:00
ccb69754b5 EventHandler: Add unversionedInputKind to InputCreated 2021-06-16 01:22:14 -07:00
5cc52ce704 Utils: Add isGroup to Obs::ListHelper::GetSceneList() 2021-06-16 00:57:18 -07:00
94d7df0bc1 EventHandler: Add isGroup bool to create/remove scene events 2021-06-16 00:51:24 -07:00
aac06b101e RequestHandler: Add GetInputList 2021-06-16 00:49:07 -07:00
9af7216891 RequestHandler: Don't error out on null optional parameters 2021-06-16 00:43:46 -07:00
efdea72987 RequestHandler: Add RemoveScene 2021-06-15 23:57:48 -07:00
9088cb4db8 EventHandler: Add note to SceneItemRemoved 2021-06-15 23:48:16 -07:00
b95a2e648f RequestHandler: Add more scene requests 2021-06-15 00:21:57 -07:00
c5af073780 RequestHandler: Add more scene requests 2021-06-14 23:42:18 -07:00
5e3ed3d167 Docs: Update contributing doc 2021-06-14 23:31:42 -07:00
39f2db8723 CMakeLists: Convert spaces to tabs 2021-06-14 23:00:33 -07:00
cb5ee53956 RequestHandler: Add GetSceneList 2021-06-14 22:52:23 -07:00
f26cf8f95f RequestHandler: Add screenshot requests 2021-06-14 22:33:01 -07:00
52204a9eec WebSocketServer: Log connects and disconnects 2021-06-14 20:50:50 -07:00
80b9732f94 RequestHandler: Some source stuff 2021-06-13 07:14:40 -07:00
17cbde0e48 Utils: Queue notifications in the UI thread
Soooooooooo apparently doing notifications natively shouldn't even
work. This is probably what was crashing OBS in 4.x. Fixed now I
guess...
2021-06-13 07:12:19 -07:00
aaadf4d2ff EventHandler: Remove unnecessary calldata helper 2021-06-13 04:50:04 -07:00
ebbb1391fe EventHandler: Add more scene item events 2021-06-13 04:49:49 -07:00
fb699b0414 Base: Fix missing arguments for tray notifications 2021-06-13 04:16:22 -07:00
33ba2d2415 EventHandler: Remove old logging
oops
2021-06-13 04:02:17 -07:00
abfc6f0b28 SettingsDialog: Add todo
Maybe someday I'll actually do this todo.
2021-06-13 04:01:21 -07:00
c9619ce215 Base: Add system tray notifications
Final "UI" part of the plugin to be completed. I'm annoyed at how
many includes are required in order to implement this feature. It
breaks quite a bit of the modularity of the plugin because suddenly
everything has to include obs libraries (for translations)
2021-06-13 03:58:15 -07:00
bbc504ce72 WebSocketServer: Remove unnecessary signals 2021-06-13 03:24:22 -07:00
0de3f304f0 Utils: Add platform util to send tray notification 2021-06-13 03:17:11 -07:00
57794a2bf5 SettingsDialog: Show confirmation when a custom password is used 2021-06-13 03:04:08 -07:00
5789cf6865 docs(ci): Update generated docs - 945816c [skip ci] 2021-06-13 09:43:46 +00:00
945816ce92 EventHandler: Add sceneItemIndex to certain events 2021-06-13 02:43:00 -07:00
230d25fc8b Docs: Various updates 2021-06-13 02:42:47 -07:00
1f791825ef EventHandler: Return basic list for SceneItemListReindexed
Events can be tricky when it comes to the size of payloads. Many
embedded devices can have troubles receiving large payloads, so
we should be mindful of that. It is much harder to avoid large
payload sizes as a client for events than it is for requests.
Clients that need the data not included here should either cache
it from other sources or grab it fresh.
2021-06-13 02:18:02 -07:00
971dd6713b Utils: Flip index of GetSceneList()
OBS likes to start indexes with 0 at the bottom (eg. scene items),
so it's good to match that
2021-06-13 02:15:43 -07:00
38c47bc76f EventHandler: Rename SceneListReindexed to SceneListChanged 2021-06-13 02:11:14 -07:00
129ee12542 EventHandler: More scene item events 2021-06-13 02:10:18 -07:00