Winston Chang
54bd3d480f
Fixes for R CMD check
2016-07-29 15:59:56 -05:00
Winston Chang
b281f8fa32
Merge branch 'master' into bookmarkable-state
2016-07-29 15:47:31 -05:00
Winston Chang
a3732f845e
Update bookmarking documentation
2016-07-27 16:17:21 -05:00
Winston Chang
38f6d0a020
When restoring modules, only provide state$dir if present
2016-07-26 16:24:36 -05:00
Winston Chang
a0e5da758a
Ensure that state$values can't be replaced
2016-07-26 16:24:02 -05:00
Winston Chang
dcbe10c1c7
Keep state$values as an environment for save and restore
2016-07-26 14:33:04 -05:00
Joe Cheng
1f823d2a1b
Fix #931 : Observer memory leak ( #1256 )
...
* Fix #931 : Observer memory leak
Observers were being prevented from being garbage collected by
their own onReactiveDomainEnded() event handlers. This commit
fixes that by making sure that those event handlers are only
registered when autoDestroy=TRUE, and that they are unregistered
both on destruction and when autoDestroy is changed.
* Remove extraneous self$ prefixes
* Add comment explaining autoDestroyHandle
2016-07-26 11:56:47 -07:00
Winston Chang
12d0a9e11a
For session_proxy, add [[ and disallow $<- and [[<- ( #1262 )
2016-07-26 11:21:38 -07:00
Winston Chang
50f213ae71
Fixes for R CMD check
2016-07-26 10:32:13 -05:00
Winston Chang
91d4fd8849
Fix behavior when onBookmark() is called multiple times in a module
2016-07-25 22:29:55 -05:00
Winston Chang
3f1985a9dc
Allow modules to exclude their inputs
2016-07-25 22:10:38 -05:00
Winston Chang
573a71f09d
New version of reactiveValuesToList
2016-07-25 16:32:01 -05:00
Winston Chang
57900fa287
Move methods out of ShinySaveState
2016-07-25 16:31:47 -05:00
Winston Chang
fa721d9614
More informative comments
2016-07-25 16:31:47 -05:00
Winston Chang
e64bbacf68
Define filterNamespace and unNamespace locally
2016-07-25 16:31:47 -05:00
Winston Chang
6ee2edc757
Add namespace support to reactiveValuesToList
2016-07-25 13:58:21 -05:00
Winston Chang
9ec4faf0d0
Allow modules to call onBookmark, onRestore, onRestored
2016-07-25 10:52:41 -05:00
Winston Chang
5be3ba2ffa
Use Callbacks objects for bookmarking callbacks
2016-07-21 15:28:43 -05:00
Winston Chang
a5ee96656b
Add onFlush, onFlushed, and onSessionEnded functions
2016-07-21 14:33:43 -05:00
Winston Chang
dcf321047f
When bookmarkStore="disable", don't restore
2016-07-21 13:55:45 -05:00
Winston Chang
4982110be9
configureBookmarking affect next shinyApp object creation
2016-07-21 12:49:36 -05:00
Winston Chang
28547e90d1
Fix memory leak ( #1254 )
...
* When observer is destroyed, invalidate context. Closes #1253
* Update NEWS
2016-07-20 21:01:29 -07:00
Joe Cheng
f70187597f
Merge pull request #1222 from rstudio/joe/bugfix/chrome-unsafe-ports
...
Don't use randomly-chosen port numbers that Chrome deems unsafe
2016-07-20 13:36:05 -07:00
Winston Chang
1c970c8176
Remove configureBookmarking; add onBookmark, onBookmarked, onRestore, onRestored
2016-07-19 14:31:57 -05:00
Dean Attali
faccc42b22
fix typo
2016-07-17 02:42:41 -04:00
Winston Chang
460f4769a5
Add _inputs_ for url-encoded state
2016-07-12 12:30:37 -05:00
Winston Chang
f465643b75
Rename 'type' argument to 'store'
2016-07-11 23:00:19 -05:00
Winston Chang
a8afd71f96
Rename shiny_persist to shiny_bookmarks
2016-07-08 16:36:58 -05:00
Winston Chang
2274d60207
Change function(req) to function(request)
2016-07-08 16:23:52 -05:00
Winston Chang
57159bccfd
Show copy instructions in bookmark dialog
2016-07-08 16:22:09 -05:00
Winston Chang
2888124752
Capture and log errors in initializing RestoreContext
2016-07-08 15:22:58 -05:00
Winston Chang
408e751dcf
Capture and log errors in bookmarking/restoring
2016-07-08 15:22:21 -05:00
Winston Chang
af5dcc38a4
Add onRestored argument
2016-07-07 12:44:10 -05:00
Winston Chang
81434640d6
Use name 'bookmark' in more places
2016-07-07 12:04:53 -05:00
Barbara Borges Ribeiro
2c5e9a5e76
moved multiple to 4th argument
2016-07-06 21:44:52 +01:00
Barbara Borges Ribeiro
26d6e4da2c
allows callback to be garbage collected
2016-07-06 21:29:12 +01:00
Barbara Borges Ribeiro
24aab4d5d3
Merge branch 'master' of https://github.com/rstudio/shiny
2016-07-06 14:18:49 +01:00
Barbara Borges Ribeiro
2eb69d421a
fix to outputOptions
2016-07-06 14:18:38 +01:00
Winston Chang
cb52706f2f
Add bookmarking example with arbitrary values
2016-07-05 16:35:00 -05:00
Winston Chang
f44d232e8b
Add check that UI is a function when restoring state
2016-07-05 16:28:09 -05:00
Winston Chang
a0ac79b9dd
Documentation updates
2016-07-05 15:30:42 -05:00
Joe Cheng
8b3aff599b
Don't use randomly-chosen port numbers that Chrome deems unsafe
...
Still OK to use these ports if the user asks for them explicitly
2016-06-25 22:37:22 -07:00
Joe Cheng
deb9b74f27
Do equivalent of "mkdir -p" when making state dir
2016-06-25 14:25:22 -07:00
Winston Chang
591de3cbe8
Don't restore state if in a subapp
2016-06-20 16:00:25 -05:00
Winston Chang
f7151e2132
Change '_state_id' to '__state_id__'
2016-06-20 15:12:10 -05:00
Winston Chang
44521be6dd
Gracefully handle errors in restoring state
2016-06-20 12:54:04 -05:00
Winston Chang
d04da2d256
Add asList method
2016-06-16 12:44:09 -05:00
Winston Chang
231d8a1949
Move loading and decoding of query string into RestoreContext
2016-06-16 10:39:45 -05:00
Winston Chang
3207bec805
Add ShinyRestoreContext class
2016-06-15 15:08:33 -05:00
Winston Chang
425a71e382
Replace bookmarkConfig with bookmarkObserver
2016-06-15 14:55:29 -05:00