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
ff99fbfbc9
Fix #64 : Hitting Enter in textbox causes form submit
2013-01-23 11:54:06 -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
Joe Cheng
50ac13d3fd
[BREAKING] Modify API of downloadHandler
...
The `content` function now takes a file path, not writable connection, as an argument.
This makes it much easier to work with APIs that only write to file paths, not
connections.
2012-11-29 17:14:44 -08:00
Joe Cheng
595801cb99
Trivial style copy edits to example 10_download
2012-11-26 21:48:12 -08:00
Joe Cheng
6eec570828
Add CSS hooks for app-wide busy indicators
2012-11-21 00:04:16 -08:00
Joe Cheng
ae9bd868f1
Implement arbitrary file downloads
2012-11-20 17:42:34 -08:00
Joe Cheng
bc73048ab9
Fix IE8 slice bug
...
IE8 doesn't like slice(0, undefined)--rather than interpreting it as slice(0),
it returns an array of length 0.
2012-11-19 17:19:51 -08:00
Joe Cheng
b6723a6219
Add per-session GET infrastructure. Allow IE8/9 to avoid data URIs.
2012-11-19 13:08:09 -08:00
Joe Cheng
66eaaff598
More customizable error display
2012-11-02 09:49:17 -07:00
Joe Cheng
478c6c134f
Much less flicker when updating plots
2012-11-02 09:48:36 -07:00
Joe Cheng
81723d55ac
Change T and F to TRUE and FALSE
...
TRUE and FALSE are keywords whereas T and F are just predefined variables that can be reassigned
2012-10-31 11:35:41 -07:00
Winston Chang
7b3a4bdc39
Use vectors instead of lists in UI elements
2012-10-30 10:47:05 -05:00
Joe Cheng
dc4eb720ae
Introduce input type hints
...
These allow the server to use custom deserialization code on a per-type basis.
2012-10-26 10:28:40 -07:00
Joe Cheng
7dfa7d7426
Fix issue #26 : Shiny.OutputBindings not correctly exported
2012-10-24 14:41:32 -07:00
Joe Cheng
b8b1a891cf
Add custom message handler support, console logging
...
If the server sends a message with a "custom" field, that field's value will
be passed to a custom window.Shiny.oncustommessage function, if it is defined.
Also add support for messages like so:
{
console: [
'line one',
'line two'
]
}
This will cause "line one" and "line two" to be printed at the browser console.
2012-10-04 17:45:20 -07:00
Joe Cheng
ff072ae9d9
bindAll should send initial values to server
2012-09-25 01:29:52 -07:00
Joe Cheng
3db1f2a98c
Don't animate showing/hiding of conditionalPanel
2012-09-21 19:51:24 -07:00
Joe Cheng
d01149620f
Fix issue #19 : Checkboxes and radios can't be added dynamically
2012-09-19 11:48:28 -05:00
Joe Cheng
1a591cd9f1
conditionalPanel now triggers show/shown/hide/hidden event
2012-09-07 00:44:20 -07:00
Joe Cheng
e9b81b2033
[BREAKING] Simplify input binding callbacks
...
InputBinding.subscribe used to have to call callbacks with at least two arguments,
now there is only one optional argument (allowDeferred). The binding argument in
particular was problematic because it required "var self=this;".
2012-09-06 12:06:15 -07:00
Joe Cheng
cb63338805
Allow htmlOutput to contain inputs/outputs
2012-09-05 11:17:39 -07:00
Joe Cheng
bcdc82ccee
Add conditionalPanel; JS API changes
...
- bindAll/unbindAll added
- bindInput/bindOutput/unbindInput/unbindOutput removed
2012-09-05 09:40:40 -07:00
Joe Cheng
872f23b0f0
Improvements for output binding/unbinding
...
- When bound, outputs receive cached error/value
- On binding, (potentially all) output plot sizes are resent
2012-08-31 23:12:20 -07:00
Joe Cheng
e61f7405fd
Upload example app should accept text/plain files
2012-08-31 22:39:45 -07:00
Joe Cheng
0714871b56
Improve blob handling browser compatibility
2012-08-31 22:39:26 -07:00
Joe Cheng
8a89fb2a1a
Expose and fix Shiny.unbindOutputs
2012-08-31 18:29:42 -07:00
Joe Cheng
7a6784d809
Add missing param to prototype method
2012-08-31 11:48:21 -07:00