Commit graph

138 commits

Author SHA1 Message Date
aaron
82eec61c45 Make root() return destructor automatically 2024-10-06 15:37:05 +01:00
aaron
8142acd1c1 Add context() 2024-10-06 15:20:04 +01:00
EwDev
83db00a073
allow changing the current value of a spring (similar to sources) (#36)
* allow changing the current value of a spring (similar to sources)

* use spaces instead of tabs for identing
2024-09-11 10:11:47 +01:00
alicesaidhi
fbe2f01bb9
fix recursive queue flush (#28)
* fix recursive queue flush

* remove print from test

* swap order of flush

* simplified test case and remove error

* write more in-depth tests

* change approach flush_update_queue

* double diamond test case

* fix indent

* change naming of function

* subsequent updates do not batch test case

* simplify test case
2024-08-20 12:44:56 +01:00
alicesaidhi
b85419088c
allow fragments in implicit effects for children (#29)
* fix fragments in effects

* add test case

* more descriptive test
2024-08-20 12:40:29 +01:00
richard
72e5fbb6fe
Round UDim offset values (#30) 2024-08-19 14:56:00 +01:00
aaron
e1751fb8d0 Fix GitHub action 2024-07-27 02:03:06 +01:00
aaron
31da86c30b Allow indexes() and values() to return functions 2024-07-20 18:08:04 +01:00
aaron
2dc2814d76 Fix regression with derived sources 2024-07-19 11:21:49 +01:00
aaron
4f3fccd3bb Fix root() not showing full error trace 2024-07-17 23:28:43 +01:00
aaron
7bae2517cd Improve error reporting 2024-07-15 17:37:26 +01:00
aaron
14f8d38a35 Update docs 2024-07-03 15:34:16 +01:00
aaron
000def5bc2 Update docs 2024-07-03 15:02:53 +01:00
aaron
62f1c3a20a Update docs 2024-07-03 15:02:53 +01:00
aaron
f2de9b0e63 Refactor 2024-07-03 15:02:52 +01:00
Someon1e
67e87110c7
Delete .gitattributes (#26) 2024-06-23 18:40:24 +01:00
richard
e1d69afa20
Fix springs passing negative Color3 values (#25)
* Fix springs passing negative Color3 values

* Clamp color values between 0 and 1
2024-04-21 13:57:29 +01:00
ReturnedTrue
3d324cc30b
Update strict-mode.md (#24) 2024-02-19 21:06:06 +00:00
Aaron Smith
d682161c06 Update docs 2023-12-07 17:26:01 +00:00
Aaron Smith
3aed45212a Fix site mermaid rendering
Vitepress rc 26 breaks mermaid plugin - use rc 25.
2023-11-24 11:09:32 +00:00
aaron
50244c2bd8 Update wally version 2023-11-22 10:34:02 +00:00
aaron
c527a62ab1 Bump version to 0.2.0 2023-11-22 10:14:00 +00:00
Aaron Smith
338c66ed57 Try improve crash course 2023-11-21 18:48:47 +00:00
Aaron Smith
c288cb92c4 Minor refactors
Also fixed potential bug with `create()` being called recursively if a
property binding passed as a property to `create()` also calls
`create()`
2023-11-20 16:53:30 +00:00
Aaron Smith
8eb5f96c5b Fix recursive batch() use 2023-11-20 12:27:56 +00:00
Aaron Smith
65fe3fcf47 Fix some graph edge cases 2023-11-16 18:01:45 +00:00
Aaron Smith
ec998ccbc8 Implement batched updates
No docs yet, more testing needed.
2023-10-27 16:47:49 +01:00
Aaron Smith
7d82fe353e Fix error in test
Also misc changes
2023-10-27 15:47:43 +01:00
aaron
aca08709b6 Update tests 2023-10-25 20:02:40 +01:00
Aaron Smith
15255855c3 Add repeated read test 2023-10-25 16:58:29 +01:00
Aaron Smith
8218e4702f Fix diamond graphs 2023-10-25 15:49:35 +01:00
Alo
da85cbbac8
Fix docs typo
minor spelling mistake
2023-10-06 23:16:01 +01:00
aaron
7128b9a58b Bump version to v0.1.1 2023-09-30 01:32:14 +01:00
Aaron Smith
c03fb05779 Make changed() run initially 2023-09-28 16:46:32 +01:00
Aaron Smith
46937c6979 Update docs 2023-09-28 16:39:25 +01:00
Aaron Smith
9b6be14441 Update docs 2023-09-27 16:44:39 +01:00
Aaron Smith
3959f5119e Update cleanup() docs 2023-09-27 10:33:38 +01:00
Aaron Smith
bbda0426da Update changelog 2023-09-27 10:31:52 +01:00
Aaron Smith
2ae65a0194 Update tests
Added a case to confirm the behavior of strict mode's double evaluation
and node cached values.
2023-09-27 10:24:14 +01:00
Aaron Smith
d07c705b64 Fix switch() not working in strict mode
Fixes #20
2023-09-27 10:02:09 +01:00
Aaron Smith
fd2888afab Update docs 2023-09-26 18:24:30 +01:00
Aaron Smith
c3bc53c40a Fix typo in docs
Fixes #18
2023-09-26 14:37:48 +01:00
Aaron Smith
32fa44f4c5 Cleanup helper for instances
Closes #19
2023-09-26 14:34:27 +01:00
Aaron Smith
d1f86a3f9e Allow untrack() in non-reactive scopes
Closes #17
2023-09-26 14:11:33 +01:00
Aaron Smith
71bbaa2092 Update reactive scoping docs 2023-09-26 13:27:38 +01:00
aaron
c68d0a6c18 Allow creation of nested tracking scopes
It turns out that handling destruction of a nested tracking scope was
not as difficult as I thought and didn't need much changes
2023-09-25 23:37:51 +01:00
aaron
38342b3805 Disallow creation of nested tracking scopes 2023-09-25 11:44:24 +01:00
aaron
c0c2166edf Update testkit 2023-09-24 01:49:16 +01:00
aaron
15026b5ad3 Update todo 2023-09-22 16:57:14 +01:00
Aaron Smith
e9742e88fd Add mermaid diagrams to docs 2023-09-21 19:15:32 +01:00