Winston Chang
24656713a5
Remove unnecessary function() in renderXX
2013-02-17 12:02:00 -06:00
Winston Chang
e26f175a8f
Change reactiveXX to renderXX
2013-02-13 12:11:39 -06:00
Winston Chang
2ea38d6ecc
Clean up instances of reactive() and observe()
2013-02-12 15:24:50 -06:00
Winston Chang
5fd723cb80
reactive() and observe() now take expressions
2013-02-12 15:24:49 -06:00
Winston Chang
5d949842eb
Add garbage collection tests
2013-02-11 20:26:23 -06:00
Winston Chang
6c51fffdaa
Fix tests
2013-02-07 14:29:03 -06:00
Joe Cheng
17526711a2
Change resume behavior for Observer
...
Eliminate multiple runs when resumed multiple times
2013-02-07 14:29:03 -06:00
Winston Chang
cf0118e090
Add tests for suspended observers
2013-02-07 14:29:03 -06:00
Winston Chang
b3944127ea
Add note about using local() with isolate()
2013-02-01 15:16:33 -05:00
Winston Chang
d860d13361
Add comments to test
2013-01-30 15:04:50 -05:00
Winston Chang
4b077dbf4c
Observers can be suspended/resumed
2013-01-30 14:47:19 -05:00
Joe Cheng
38b0f71b01
Merge pull request #89 from wch/reactive-invisible
...
Store visibility state of functions called from Observable
2013-01-25 00:47:42 -08:00
Winston Chang
29d2f115f8
Better reactiveText test
2013-01-24 23:10:02 -06:00
Winston Chang
0f677b4891
Add tests for reactive function return visibility
2013-01-24 22:45:07 -06:00
Joe Cheng
330d102f62
Fix test on Linux (sort locale)
2013-01-23 12:17:45 -08:00
Joe Cheng
17c6a0f28a
Merge branch 'reactivePrint-invisible'
...
Conflicts:
man/plotOutput.Rd
2013-01-23 12:09:53 -08:00
Joe Cheng
a91e925221
Remove failure comment
2013-01-23 11:33:06 -08:00
Joe Cheng
6c3289d5a5
Documentation and examples for reactivePrint/reactiveText
2013-01-23 11:32:13 -08:00
Winston Chang
5ace0f13c9
Move validateCssUnit to separate function
2013-01-23 00:02:16 -06:00
Winston Chang
150b978b0e
Fix tests with reactiveValuesToList
2013-01-22 23:22:41 -06:00
Winston Chang
ec4f350baa
reactivevalues_to_list: add all.names option
2013-01-22 14:53:14 -06:00
Winston Chang
3c864cf6d2
reactiveValues(): improved check for unnamed arguments
2013-01-22 13:59:31 -06:00
Joe Cheng
ff5349fd90
Fix #65 : tagWrite doesn't expect strings except as direct children of tags
2013-01-21 16:31:09 -08:00
Winston Chang
e98cab1f7c
Fix test
2013-01-17 00:11:38 -06:00
Winston Chang
3ebd4595c6
Add read-write wrapper class for ReactiveValues
2013-01-16 19:02:26 -06:00
Joe Cheng
b4713741b1
Two new recursion/circularity tests
2013-01-16 10:27:20 -08:00
Joe Cheng
e42fe3bd61
Fix problem with circular dependencies
...
The first of the included tests did not pass without the changes to
Observable. The problem occurred when a function read a reactive value
and then wrote it. Any dependents on the function would not receive
any invalidations, then or ever after.
The first problem was that the dirty state was unilaterally set to FALSE
after the function finished executing, which might not be accurate if
the function's newly created was invalidated during its own execution.
Instead we set dirty state to FALSE before executing. But to prevent
reentrant calls from thinking the cached value can be used, we add
a .running field that is also consulted during getValue.
The second problem was that Observable$getValue didn't register the
dependent until after updateValue. That is a problem if updateValue
creates *and* invalidates a context before returning. So now we
register the dependent before calling updateValue.
2013-01-15 17:37:26 -08:00
Winston Chang
07ad29da41
Clarify isolation test
2013-01-15 11:13:46 -06:00
Joe Cheng
2d44cbac1b
Failing overreactivity test
2013-01-08 14:06:10 -06:00
Joe Cheng
893d72677b
Try LIFO pendingInvalidates?
2013-01-08 14:06:10 -06:00
Joe Cheng
979eca4066
Add execCount
2013-01-08 14:06:10 -06:00
Winston Chang
31d71006d7
Add tests for isolate()
2013-01-08 14:06:10 -06:00
Winston Chang
64ca66c062
Add test for reactive evaluation order
2013-01-08 14:06:10 -06:00
Winston Chang
6e1a2b3427
reactive tests: count number of times observers are run
2013-01-08 14:06:10 -06:00
Winston Chang
f585235192
Add reactivity tests
2013-01-08 14:06:10 -06:00