Commit graph

147 commits

Author SHA1 Message Date
Lera Elvoé
b5cd7336a4 fix inspector and variable viewer not clearing in some cases when there are no decks (#172)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/172
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-07-28 11:23:59 +00:00
Lera Elvoé
616c185abf
clean up warnings 2024-07-28 13:39:09 +03:00
Lera Elvoé
e257c76dc6 add array operation nodes (#171)
- fix variable viewer deselecting error
- add array push/append
- set spinbox value AFTER setting the range in descriptor renderer
- add array pop node
- add array size node
- add array set at index node
- add array insert node
- prevent potential race condition in array pop

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/171
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-07-28 09:30:53 +00:00
Lera Elvoé
84bc201fdd add string formatting nodes (#170)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/170
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-07-24 05:13:17 +00:00
Lera Elvoé
9590b6ae4f fix passthrough sending when it's not meant to (#169)
closes #168

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/169
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-07-23 23:20:55 +00:00
Lera Elvoé
3bff8e27e6 make group io nodes 'optional' (#167)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/167
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-07-02 09:29:06 +00:00
Lera Elvoé
83f6fa1fae
add folder colors 2024-07-01 22:02:27 +03:00
Lera Elvoé
d4d17be574
remove freed decks from container dicts on exit cleanup 2024-06-14 17:13:26 +03:00
Lera Elvoé
f760cd227d
make sure node renderers exist when trying to disconnect 2024-06-14 16:59:30 +03:00
Lera Elvoé
0a564722f2
EXPERIMENTAL: add_port() now sets a default value for the port type 2024-06-14 16:58:47 +03:00
Lera Elvoé
1d6365c4bd add Collect node (#165)
allows constructing arrays

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/165
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-06-14 08:29:50 +00:00
Lera Elvoé
ac6ede2b41 make the default library group location be based on the executable location (#164)
closes #163

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/164
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-05-26 16:05:22 +00:00
Lera Elvoé
f720efcc72 lib group storage rework (#162)
saving decks that use lib groups will no longer save the whole file path to that library (at the expense of the structure needing to be the same)

also some ui/ux improvements:
- more menus in sidebar remember their collapsed state between deck/node switches
- adding a lib group will name the group node appropriately
- save dialog properly remembers the most recent path when invoked via ctrl+s and the deck hasn't been saved before

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/162
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-05-26 14:13:42 +00:00
Lera Elvoé
32bda994f6
followup to db590ac: improve group node renderer UX 2024-05-24 16:17:07 +03:00
Lera Elvoé
cb1e30d6af
don't try to send events if the deck has been freed 2024-05-24 16:14:17 +03:00
Lera Elvoé
db590acdb9
improve group node UX: skip last port, which we know don't have connections 2024-05-21 03:09:43 +03:00
Lera Elvoé
3bb1531603 fix library group saving (#161)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/161
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-05-20 08:54:19 +00:00
Lera Elvoé
92ebbe5344
fix library group io nodes not having reference to group node on load 2024-05-20 10:43:40 +03:00
Lera Elvoé
903a801ba9
add toast history *before* emitting toast signal 2024-05-20 09:18:33 +03:00
Lera Elvoé
33425e8436 don't open deck tab if the deck is null (#160)
closes #98, but crucially doesn't add any real error checking in the actual deck loading code, instead just opting to refuse to open a tab for a deck that comes out null from DeckHolder.

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/160
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-05-20 06:11:15 +00:00
Lera Elvoé
3a7facf948 make group input node use resolve instead of raw value request when getting value and disallow group output nodes having descriptors in sidebar (#159)
closes #158

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/159
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-05-20 05:25:34 +00:00
Lera Elvoé
8156e4769f group descriptors (#156)
closes #93

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/156
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-05-20 04:32:12 +00:00
Lera Elvoé
ba2dd6a837 remove RPC (#153)
bye bye

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/153
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-05-08 07:59:19 +00:00
Lera Elvoé
240750c48e library groups (#151)
~~cl0ses #51~~
~~cl0ses #93~~
~~cl0ses #98~~
~~cl0ses #150~~

another change in this PR: the Deck and DeckNode classes now use manual memory management.

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/151
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-05-08 07:43:45 +00:00
Lera Elvoé
a80af97377 add toast notifications (#148)
closes #138

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/148
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-04-17 02:06:48 +00:00
Lera Elvoé
f24906715d store connections inside the deck (#147)
- node/port connections are now stored in the deck they belong to
- share the connections object between group instances for free syncing
- add compatibility code to allow loading decks made before this change
- disabled the ability to open multiple decks in the renderer for now since it'd cause problems when opening multiple decks and one of them is incompatible; to be redesigned later

closes #140

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/147
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-04-17 00:24:55 +00:00
Lera Elvoé
1ce3cd0367 add a sidebar (#146)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/146
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-04-16 15:16:38 +00:00
Lera Elvoé
ed5a0f427b add shortcuts (#145)
closes #133

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/145
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-04-14 12:40:26 +00:00
Lera Elvoé
a56280f00a add settings dialog (#144)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/144
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-04-11 15:32:13 +00:00
Lera Elvoé
a518e46b0f add a method to make group instances unique, making them independent (#143)
closes #97

when copying group nodes across decks (including in and out of groups), they become unique and completely independent copies of the original. this is done recursively, so in the case of copying:

- group X
	- contained in Deck A
	- has another group Z

into Deck B, group X will become group Y, group Z will become group W.

there is a rare bug that will sometimes cause the deck to save with no groups at all, which i haven't been able to hunt down and don't know how to replicate at the moment.

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/143
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-04-11 14:56:33 +00:00
Lera Elvoé
2ac9db8350 fix node connections not being empty on copy/paste (#142)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/142
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-04-11 06:53:51 +00:00
Eroax
82edd774a0 Extra fixes to NoTwitch Cache handling (#136)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/136
Co-authored-by: Eroax <eroaxebusiness@duck.com>
Co-committed-by: Eroax <eroaxebusiness@duck.com>
2024-04-09 06:00:49 +00:00
Eroax
8896fed2f8 Added Handling for Invalid NoTwitch Credentials (#135)
Just a quick fix that implements handling for if your Twitch authorization is invalid by adding a new signal that gets emitted, No_Twitch.invalid_auth. Which is connected to a lambda in twitch_setup_dialog that asks for authorization and opens the browser if it's received. It's not *pretty*, but it solves the problem temporarily.

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/135
Co-authored-by: Eroax <eroaxebusiness@duck.com>
Co-committed-by: Eroax <eroaxebusiness@duck.com>
2024-04-09 05:49:54 +00:00
Lera Elvoé
5a4a62ef44
make delta work with both usage types in process node
closes #128
2024-03-19 13:54:59 +03:00
Lera Elvoé
6f19a0b335
fix vector subtract 2024-03-19 13:54:54 +03:00
Lera Elvoé
badddced3e
fix obs set source transform not working wwith trigger into xform port 2024-03-19 13:54:12 +03:00
Lera Elvoé
23ada64c4a
bump version to 0.0.6 2024-03-17 13:57:33 +03:00
Lera Elvoé
aa763fa6df
fix connections typing 2024-03-17 13:47:48 +03:00
Eroax
b94c3702cc Updates NoTwitch + Implements Twitch Get Request (#124)
Patch the Array/Dictionary/Array problem with NoTwitch
Plus tweaks the existing Connected Account Info + Chat Received Nodes.
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/124
Co-authored-by: Eroax <eroaxebusiness@duck.com>
Co-committed-by: Eroax <eroaxebusiness@duck.com>
2024-03-17 10:28:54 +00:00
Lera Elvoé
edeb8e22dc add scalar math nodes (#123)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/123
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-03-17 10:09:23 +00:00
Lera Elvoé
877e29f580 add pass if equal node (#120)
closes #119

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/120
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-03-17 06:54:45 +00:00
Lera Elvoé
dbc12e431d add get source transform node and cache transform in decompose obs transform node (#118)
closes #117

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/118
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-03-16 10:09:39 +00:00
Lera Elvoé
a29e80bb9b add passthrough node (#116)
closes #85

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/116
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-03-16 09:31:27 +00:00
Lera Elvoé
822abb3d66 fix scroll offset not loading (#114)
closes #77

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/114
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-03-16 09:02:19 +00:00
Lera Elvoé
d5550be77d turn off snap and minimap by default (#113)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/113
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-03-16 08:37:55 +00:00
Lera Elvoé
0d546f4fc4 add a way to start RPC from default renderer (#112)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/112
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-03-16 08:32:28 +00:00
Lera Elvoé
6f5454bf3a
sync NoOBSWS with upstream 2024-03-16 10:26:29 +03:00
Lera Elvoé
804abfed64 add an RPC client abstraction class (#109)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/109
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-03-16 07:20:47 +00:00
Eroax
d2d55297a9 Added RPC Node Scope (#107)
Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/107
Co-authored-by: Eroax <eroaxebusiness@duck.com>
Co-committed-by: Eroax <eroaxebusiness@duck.com>
2024-03-16 03:54:11 +00:00
Lera Elvoé
3f5a441972 add a map of operation types to event names to RPCScope (#108)
closes #104

Reviewed-on: https://codeberg.org/StreamGraph/StreamGraph/pulls/108
Co-authored-by: Lera Elvoé <yagich@poto.cafe>
Co-committed-by: Lera Elvoé <yagich@poto.cafe>
2024-03-15 07:47:45 +00:00