Commit graph

10 commits

Author SHA1 Message Date
Jakub Trllo
aa9dbf612e
Chore: Event callbacks can have order (#6080)
* EventCallback object have order

* callbacks are processed by the callback order

* safer approach to get function information

* modified docstring a little

* added tests for ordered calbacks

* fix python 2 support

* added support for partial methods

* removed unused '_get_func_info'

* formatting fix

* change test functions docstring

* added test for removement of source function when partial is used

* Allow order 'None'

* implemented 'weakref_partial'  to allow partial callbacks

* minor tweaks

* added support to pass additional arguments to 'wearkref_partial'

* modify docstring

* added 'weakref_partial' to tests

* move public method before prive methods

* added required order back but use '100' as default order

* fix typo

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2024-01-04 10:51:18 +01:00
Petr Kalis
04145020f6
Tests: fix unit tests (#5533)
* Changed test zip file location

* Updated tests and updated Unreal plugin

Unreal plugin was previously ejected into general one, which was later removed as unnecessary. In Unreal plugin were kept fixed bugs from general one (slate issue, better name pattern for clique)

* Updated raised exception type
2023-08-29 17:35:48 +02:00
Jakub Trllo
e56d3530cb
Chore: Queued event system (#5514)
* implemented queued event system

* implemented basic tests
2023-08-29 17:31:49 +02:00
Petr Kalis
c83202a023 OP-2813 - changed logic of parsing frames from names
Adhering to clique standard FRAMES patter, eg pattern is separated by .
It seems that this is most widely used (according to Discord).
2022-03-18 11:13:10 +01:00
Petr Kalis
395d567aa2 OP-2813 - fix wrong parsing when short label is used 2022-03-17 16:20:06 +01:00
Petr Kalis
87b44b4b14 OP-2813 - fix collect_frames when multiple version numbers in path
Added new test case.
2022-03-16 13:48:50 +01:00
Petr Kalis
3929630327 OP-2813 - fix hardcoded value
Updated regular expression to match version substring to be more generic.
2022-03-14 12:06:59 +01:00
Petr Kalis
9de8504c4d OP-2815 - Hound 2022-03-11 14:37:48 +01:00
Petr Kalis
f724e0ca22 OP-2813 - fix for rendering single file from AE in DL
Solves issue with rendering .mov or .avi file.
Added test cae for collect_frames
2022-03-11 13:33:17 +01:00
Petr Kalis
7c30263101 #1784 - location of existing unittests refactored for futuru use 2021-07-07 18:50:53 +02:00