Joe Cheng
417f7f7236
Clean up correctly after API caller leaves
2017-01-12 23:56:10 -05:00
Joe Cheng
c1d92c2767
API: Log errors; automatically print() ggplot2
2017-01-12 23:56:10 -05:00
Joe Cheng
3d2f677e2f
Accept input via JSON POST
2017-01-12 23:56:10 -05:00
Joe Cheng
b15cc6cbc0
API parameters get parsed using JSON semantics
...
This gives us more accurate data types (numbers as ints/reals instead of strings)
Also adds serveRaw (raw vectors)
2017-01-12 23:56:10 -05:00
Joe Cheng
4fbb8a436c
Import utils::write.csv
2017-01-12 23:56:10 -05:00
Joe Cheng
308b41b8e8
Improve result handling
...
- Arbitrary httpResponse can now be returned
- WebSocket API conn doesn't force everything to JSON
2017-01-12 23:56:10 -05:00
Joe Cheng
516d0cd2ca
Squelch messages
2017-01-12 23:56:10 -05:00
Joe Cheng
f9d8217f90
Better API API :)
2017-01-12 23:56:10 -05:00
Joe Cheng
58ad213a6f
Support plots
2017-01-12 23:56:10 -05:00
Joe Cheng
6ef5c7728e
Fix shared secret check
2017-01-12 23:56:10 -05:00
Joe Cheng
58a5fe9a84
API prototype
2017-01-12 23:56:10 -05:00
Winston Chang
c633c8b7dd
Update URL
2017-01-12 23:56:10 -05:00
Winston Chang
e75c99672d
Update NEWS
2017-01-09 12:38:48 -06:00
Winston Chang
7faba72ebe
Fix URL
2017-01-09 12:38:48 -06:00
Winston Chang
cbe8fc1bdf
Bump version to 1.0.0
2017-01-09 12:38:48 -06:00
Winston Chang
f66a7660e2
Merge pull request #1529 from rstudio/feature/res-path-numeric-prefix
...
Relax naming requirements for addResourcePath
2017-01-09 12:28:07 -06:00
Winston Chang
5f3159a203
Add link to PR in NEWS
2017-01-09 12:25:32 -06:00
JJ Allaire
76aeda4436
refine regex
2017-01-09 12:32:12 -05:00
JJ Allaire
fa791cd28c
Relax naming requirements for addResourcePath()
...
First character no longer needs to be a letter. See https://github.com/rstudio/tutor/issues/4 for discussion.
2017-01-09 11:04:51 -05:00
Winston Chang
d836c68ee5
Grunt
2017-01-03 16:17:48 -06:00
Winston Chang
519d90f0a7
Update NEWS
2017-01-03 16:17:28 -06:00
Winston Chang
26400be6f7
Pressing Esc in a modal in a gadget only closes the modal. Closes #1453 ( #1523 )
2017-01-03 17:14:31 -05:00
Winston Chang
92ba7e9d54
Update yarn install instructions
2017-01-03 14:29:43 -06:00
Winston Chang
25eafe1e69
NEWS: more info on testing
2017-01-03 14:16:55 -06:00
Winston Chang
118a9ca861
Update NEWS
2017-01-03 12:54:06 -06:00
Winston Chang
174a1fe834
Update to font-awesome 4.7.0
2017-01-03 12:47:23 -06:00
Winston Chang
1e0f3f40a9
Replace structure(NULL) with structure(list())
...
In R-devel 71841, structure(NULL) was deprecated.
2016-12-28 16:43:29 -06:00
Barbara Borges Ribeiro
19623694f5
Added skipFirst arg to observeEvent ( #1494 )
...
* added skipFirs arg to observeEvent
* create getCurrentObserver() function
* better NEWS entry
* made code more consistent
* implemented `once` param to `observeEvent`; extensive documentation for `getCurrentObserver`
* implement dig param to `getCurrentObserver`
* fix bug that was causing unit tests to fail
* take two
* git commit
* removed function getCurrentObserver
* delete .globals$currentObserver variable
* update docs
* typo
* remove dupes in index.r (bah humbug)
* rerun devtools::document
2016-12-19 15:51:19 -08:00
Winston Chang
55a16043e1
Merge pull request #1510 from rstudio/joe/feature/debounce
...
Add reactive debounce and throttle functions
2016-12-16 11:10:02 -06:00
Winston Chang
29943b7edd
Merge pull request #1482 from rstudio/barbara/runapp
...
Fixes #1358 : more informative error message when calling runApp inside of an app's app.R
2016-12-16 10:15:35 -06:00
Joe Cheng
a1e2af9533
Add debounce/throttle tests, priority arg
2016-12-15 14:52:07 -08:00
Barbara Borges Ribeiro
c350e2a668
Fixes #1358 : more informative error message when calling runApp inside of an app's app.R (or inside ui.R or server.R).
2016-12-15 21:50:39 +00:00
Joe Cheng
e0868ba2ab
Fix #1013 : flushReact should be called after app loads ( #1503 )
...
* Fix #1013 : flushReact should be called after app loads
* Add link to pull request
2016-12-15 13:16:18 -06:00
Joe Cheng
bcefd1fbd8
Fix #117 : Reactive expressions hold on to memory for longer than necessary ( #1504 )
...
* Fix #117 : Reactive expressions hold on to memory for longer than necessary
* Fix broken link
* Add link to pull request
2016-12-15 13:15:00 -06:00
Joe Cheng
f5fbad0abf
Add link to pull request
2016-12-15 11:14:48 -08:00
Joe Cheng
95b1a197be
Remove unnecessary namespace
2016-12-15 11:11:29 -08:00
Joe Cheng
39169a36f5
Wording tweaks
2016-12-15 11:10:28 -08:00
Joe Cheng
3b1a409f07
Remove unnecessary link qualifier
2016-12-15 11:01:35 -08:00
Joe Cheng
accd70d4b4
Add session$userData feature ( #1513 )
...
* Add session$userData
* Tweak wording of NEWS
* Fix broken links
2016-12-15 12:50:20 -06:00
Winston Chang
3c7f4b760f
Merge pull request #1514 from rstudio/joe/bugfix/fix-broken-links
...
Fix unqualified links to other packages
2016-12-15 12:42:19 -06:00
Joe Cheng
f7d7ccfd2c
Fix unqualified links to other packages
...
R-devel warns on this now, causes Travis to fail
2016-12-15 10:35:46 -08:00
Joe Cheng
de98a03887
Add limitations section to debounce/throttle docs
2016-12-13 17:48:36 -08:00
Joe Cheng
0e11c240cb
Add magrittr as Suggests because of ?debounce example
2016-12-13 17:29:29 -08:00
Joe Cheng
c0a298e484
Add reactive debounce and throttle functions
2016-12-13 17:22:12 -08:00
Winston Chang
907b9a9862
Merge pull request #1480 from rstudio/barbara/verbatim
...
Closes #1357 : verbatimTextOutput should optionally be hidden if no content
2016-12-07 10:13:04 -06:00
Barbara Borges Ribeiro
8d70d91cf4
fix #1487 : better error handling for insertUI when selector does not match anything in DOM (do console log)
2016-12-07 05:10:43 +00:00
Barbara Borges Ribeiro
6fb86859ce
use past tense in all NEWS.md entries
2016-12-07 04:55:08 +00:00
Barbara Borges Ribeiro
fe733b319f
Fixes #969 : allow navbarPage's fluid param to control both containers
2016-12-07 00:22:33 +00:00
Barbara Borges Ribeiro
08b58f3055
allow navbarPage's fluid param to control both the content *and* the header containers
2016-12-07 00:21:49 +00:00
Barbara Borges Ribeiro
9f6659f526
added a new arg (placeholder = FALSE) to verbatimTextOutput() so that by default it doesn't show up when it is empty; improved the documentation example
2016-12-07 00:02:40 +00:00
Barbara Borges Ribeiro
d28397df93
Fix #1359 : shinyApp options argument ignored when passed to runApp ( #1483 )
2016-12-06 20:52:19 +00:00
Barbara Borges Ribeiro
2e1c37146b
Add ... arg to downloadButton (merge #1492 )
...
Add ... arg to downloadButton
2016-12-05 15:37:02 +00:00
Barbara Borges Ribeiro
903adc8f97
Added ability to pass arguments to the a tag function called inside downloadButton() and downloadLink(). Closes #986 .
2016-12-05 15:35:31 +00:00
Winston Chang
fc7f454382
Merge pull request #1449 from rstudio/barbara/bugfix/insert-ui
...
Fix #1438 : `unbindAll()` should not be called when inserting content with `insertUI()`
2016-12-01 15:45:23 -06:00
Winston Chang
ef35fc63a1
Grunt
2016-12-01 15:41:51 -06:00
Barbara Borges Ribeiro
52a193b183
unbindAll() should not be called when inserting content with insertUI()
2016-12-01 15:40:17 -06:00
Winston Chang
dad401a6ec
Merge pull request #1464 from rstudio/testmode-inject-js
...
Add support for injecting JS code when in test mode
2016-12-01 14:52:12 -06:00
Winston Chang
ec3f8118db
Grunt
2016-12-01 10:47:02 -06:00
Winston Chang
cfc0194c00
Sort input, output, export by name
2016-12-01 10:46:46 -06:00
Winston Chang
dd28f52301
Add sortByName function
2016-12-01 10:46:46 -06:00
Winston Chang
9dcbd532e6
Add getTestSnapshotBaseUrl function
2016-12-01 10:46:46 -06:00
Winston Chang
16b4a2cad2
Rename testEndpointUrl to testSnapshotUrl
2016-12-01 10:46:46 -06:00
Winston Chang
bd9d8a035a
Change arguments from plural to singular
2016-12-01 10:46:46 -06:00
Winston Chang
d55ffb0212
Change default snapshot format to JSON
2016-12-01 10:46:46 -06:00
Winston Chang
e76ddfd005
Emit message when running in test mode
2016-12-01 10:46:46 -06:00
Winston Chang
59145a3b40
Add testmode as an option to runApp
2016-12-01 10:46:46 -06:00
Winston Chang
c993f5343b
Bump version to 0.14.2.9001
2016-12-01 10:46:46 -06:00
Winston Chang
b62acec5ee
Use singular form of input, export, and output
2016-12-01 10:46:46 -06:00
Winston Chang
b34ab9cdd5
Add shiny:fileuploaded JS event
2016-12-01 10:46:46 -06:00
Winston Chang
e0a8ab852e
Update NEWS
2016-12-01 10:46:46 -06:00
Winston Chang
bd5ebd0e41
Remove token check
2016-12-01 10:46:46 -06:00
Winston Chang
661e21d25b
Safer method for injecting code in test mode
2016-12-01 10:46:46 -06:00
Winston Chang
dc69a2bc94
Make sure test values are named vectors
2016-12-01 10:46:46 -06:00
Winston Chang
e6fec6b27d
Rename variable
2016-12-01 10:46:46 -06:00
Winston Chang
27b92f9838
Add args to getTestEndpointUrl
2016-12-01 10:46:46 -06:00
Winston Chang
3446def4dd
Basic code injection support
2016-12-01 10:46:46 -06:00
Barbara Borges Ribeiro
2700206715
Improve documentation for submitButton and change 07_widgets example to use an action button ( #1475 )
...
* update 07_widgets example
* improved documentation for submitButton (including a warnign section and an full-app example)
* typo
* update documentation based on Winton's feedback
2016-11-28 13:19:40 -06:00
Winston Chang
fdfc6f70f3
Merge branch 'barbara/contributing'
2016-11-22 14:56:25 -06:00
Winston Chang
065c288edb
Edits to contribution guidelines
2016-11-22 14:56:12 -06:00
Barbara Borges Ribeiro
3121d2c23e
mention support for the optgroup tag in the documention for selectInput (specifically in the choices arg). Added example app too.
2016-11-22 11:28:35 -06:00
Barbara Borges Ribeiro
7cd3bb524c
add download attribute to the a tag that generates downloadButoon and downloadLink
2016-11-18 21:00:28 -08:00
Barbara Borges Ribeiro
6b8cc97779
drafted new contribution guidelines
2016-11-19 02:22:16 +00:00
Winston Chang
b7112a1edd
Add link to NEWS
2016-11-10 15:26:46 -06:00
Jonathan
28965b7356
Render HTML dependency <meta> tag contents correctly ( #1463 )
...
* render HTML dependency <meta> tag contents correctly
* use direct address rather than loop; update NEWS
2016-11-10 15:10:18 -06:00
Dean Attali
bd3aa28416
fix typo in dateInput documentation ( #1454 )
2016-11-02 09:53:40 -05:00
Winston Chang
9fed4ce24c
Bump version to 0.14.2.9000
2016-11-01 15:40:04 -05:00
Winston Chang
90383e30dd
Bump version to 0.14.2
2016-10-31 10:19:40 -05:00
Winston Chang
13f184e957
Remove NEWS entry for change that was reverted
2016-10-31 10:17:51 -05:00
Winston Chang
a7a2c6d7ff
Add list2env wrapper, for R <3.2.0 ( #1446 )
...
* Add list2env wrapper, for R <3.2.0
* Update NEWS
2016-10-28 13:56:52 -05:00
Winston Chang
d1bf39d0ac
Add exportTestValues function ( #1436 )
...
* Add onTestSnapshot function
* Add shiny.testing option
* Add entry to staticdocs index
* Bump version to 0.14.1.9002 and update NEWS
* Document params for onTestSnapshot
* Add session$enableTestEndpoint() method
* Un-export applyInputHandlers
* Grunt
* Provide inputs, outputs, and snapshot at test endpoint
* Remove non-working example
* Fix var name in documentation
* Rename shiny.testing to shiny.testmode
* Rename onTestSnapshot to exportTestValues and add example
* Add session$getTestEndpointUrl
* Grunt
* Add module support to exportTestValues
* Test endpoint allows specifying specific values
* session$getTestEndpointUrl: add arguments for choosing which values to return
2016-10-27 21:08:34 -05:00
Joe Cheng
7dff6b8415
Merge pull request #1387 from sipemu/master
...
options render for updateSelectizeInput did not worked in modules
2016-10-27 11:11:16 -07:00
Dean Attali
656e019829
allow overriding a JS custom message handler; fixes #1419 ( #1445 )
...
* allow overriding existing custom JS message handlers
* when a JS handler gets re-defined, only use the most recent one
* JS handler overwrite: changes re winston's comments
* overwrite JS handler: add NEWS item
* fix wrong URL in NEWS
2016-10-27 13:07:34 -05:00
Winston Chang
2133b0f498
Use === in Javascript
2016-10-26 21:01:36 -05:00
Winston Chang
bc4dcee2b1
allow shiny.trace option to specify which type of messages to relay; fixes #1422 ( #1428 )
...
Squashed commit of the following:
commit bdc4080032ff6b5b2de0f799aa307272f3905003
Author: Dean Attali <daattali@gmail.com >
Date: Mon Oct 17 18:18:03 2016 -0700
add PR link to news item
commit 22c695cde2b270ba8ec37d4862ad1f30de76ce68
Author: Dean Attali <daattali@gmail.com >
Date: Mon Oct 17 15:01:24 2016 -0700
update NEWS for #1422 fix
commit e669548c13f84f0929e4131c641a8333e08baa26
Author: Dean Attali <daattali@gmail.com >
Date: Sat Oct 15 12:45:49 2016 -0700
allow shiny.trace option to specify which type of messages to relay; fixes #1422
2016-10-26 12:24:00 -05:00
Winston Chang
0e8cf95739
Pass shinysession to applyInputHandlers
...
This fixes a problem where input handlers that require a session object
would throw errors.
2016-10-25 10:27:03 -05:00
Joe Cheng
e133290c57
Fix #1399 : Duplicate binding error with insertUI and nested uiOutput ( #1402 )
...
* Fix #1399 : Duplicate binding error with insertUI and nested uiOutput
* Update NEWS.md
2016-10-18 20:22:02 -05:00
shrektan
1429b0677e
fix a typo: option() -> options()
2016-10-18 14:56:38 -05:00
Barbara Borges Ribeiro
d03ee36647
Fixes #1427 : add event delegation so that modals do not close by mistake ( #1430 )
...
* Fixes #1427 : add event delegation so that modal does not close when an element inside it is triggered as hidden
* use `this === e.target` instead
* added NEWS item
* `e.target` must be equal to `$(#shiny-modal)`, not `this`
2016-10-18 14:54:27 -05:00
Winston Chang
6e5880c642
Bump version and update NEWS
2016-10-18 13:51:43 -05:00
Winston Chang
fa93cffafb
Add entry to staticdocs
2016-10-18 13:51:43 -05:00
Winston Chang
ce9af0fb57
Export function that applies input handlers
2016-10-18 13:51:43 -05:00
Winston Chang
95700d8d51
Fix dategrange comment
2016-10-17 13:37:25 -05:00
Winston Chang
fb15e98519
Merge pull request #1429 from rstudio/slider-setvalue
...
Make sliderInputBinding.setValue update value immediately
2016-10-17 12:29:14 -05:00
Winston Chang
3054cb7971
Update NEWS
2016-10-17 12:28:36 -05:00
Winston Chang
f84587cf5a
Grunt
2016-10-17 12:22:21 -05:00
Winston Chang
538f38f314
sliderInputBinding: setValue changes value immediately
2016-10-17 12:22:21 -05:00
Winston Chang
06578349c7
Document InputBinding.subscribe's callback argument
2016-10-17 12:18:12 -05:00
Winston Chang
a807476171
sliderInputBinding: rename 'updating' to 'immediate'
2016-10-17 12:13:15 -05:00
Winston Chang
7aacf9ca89
Use Yarn instead of npm ( #1416 )
2016-10-12 12:51:05 -05:00
Winston Chang
50dae5fb83
Remove unneeded npm package
2016-10-11 13:04:38 -05:00
Winston Chang
0853c425fe
Bump version to 0.14.1.9000 in DESCRIPTION
2016-10-11 12:59:06 -05:00
Barbara Borges Ribeiro
edcc676693
add "fade" arg to modalDialog() ( #1414 )
...
* add "fade" arg to modalDialog() that can be set to FALSE to remove default modal animation
* added documentation
* reflow comments
* news item
2016-10-10 15:03:25 -05:00
Winston Chang
c8a742a121
Bump version and update NEWS
2016-10-05 09:32:36 -05:00
Winston Chang
ee14a7e15f
Merge tag 'v0.14.1'
...
Shiny 0.14.1 on CRAN
2016-10-05 09:29:07 -05:00
Winston Chang
e1eaccf409
Fix tests for compiled code on R-devel. Closes #1404
2016-10-03 16:23:11 -05:00
Winston Chang
d2aae52868
Update NEWS
2016-09-30 15:39:31 -05:00
Winston Chang
9158fb4745
Bump version to 0.14.1
2016-09-30 15:39:31 -05:00
Winston Chang
0ff5ef5337
Remove file
2016-09-30 15:39:13 -05:00
Joe Cheng
1ace145f85
Merge pull request #1392 from rstudio/ggplot-fix
...
Add plot interaction support for ggplot>2.1.0
2016-09-30 12:40:30 -07:00
Winston Chang
565eb4b450
Merge pull request #1397 from rstudio/barbara/bugfix/radio
...
Maintain names of factors when updating radio buttons' choices
2016-09-29 14:18:24 -05:00
Barbara Borges Ribeiro
f39861c43f
more comments and NEWS
2016-09-29 19:48:56 +01:00
Barbara Borges Ribeiro
72838c248f
news entry
2016-09-29 19:16:46 +01:00
Barbara Borges Ribeiro
9be8765ccf
more tests
2016-09-29 19:14:18 +01:00
Barbara Borges Ribeiro
48732c4393
deleted commented out lines
2016-09-29 19:14:18 +01:00
Barbara Borges Ribeiro
5bf0b7c920
a better fix
2016-09-29 19:14:18 +01:00
Barbara Borges Ribeiro
51a4580d0f
maintain names of factors when updating radio buttons' choices
2016-09-29 19:14:18 +01:00
Winston Chang
266e611afa
Update NEWS
2016-09-27 23:07:23 -05:00
Winston Chang
22598b693c
Add more plot interaction tests
2016-09-27 23:07:23 -05:00
Winston Chang
008fe38f10
Add support for coord_flip
2016-09-27 23:07:17 -05:00
Winston Chang
24e8123240
Add plot interaction support for ggplot>2.1.0
2016-09-27 16:02:28 -05:00
Simon Müller
6054f03c0d
Update update-input.R
2016-09-21 22:53:41 +02:00
Winston Chang
476f6d83e2
Remove no-longer-necessary CSS class
2016-09-19 10:22:40 -05:00
Winston Chang
ec57109f39
Merge pull request #1374 from rstudio/datepicker-noconflict
...
Fix datepicker conflicts
2016-09-19 09:30:22 -05:00
Winston Chang
d73488f887
Grunt
2016-09-19 09:27:28 -05:00
Winston Chang
3201380c29
Set value after min in max when updating dates
2016-09-19 09:27:28 -05:00
Winston Chang
1f04b39ae3
Rename bootstrapDP to bsDatepicker
2016-09-16 23:39:26 -05:00
Winston Chang
9e2b47027c
Update NEWS
2016-09-16 23:39:26 -05:00
Winston Chang
662149a98a
Update to jQuery UI 1.12.1
2016-09-16 23:39:26 -05:00
Winston Chang
fafa31589d
Update NEWS
2016-09-16 23:39:26 -05:00
Winston Chang
43a5940b9e
Updates to dateRangeInputBinding for new datepicker API
2016-09-16 23:39:26 -05:00
Winston Chang
33908624fd
Fix off-by-one error for datepicker's setStartDate and setEndDate
2016-09-16 23:39:26 -05:00
Winston Chang
ffef8a341f
Add workaround for bootstrap datepicker bug with setStartDate and setEndDate
2016-09-16 23:39:26 -05:00
Winston Chang
a48c5df844
Don't try to set min/max date when undefined
2016-09-16 23:39:26 -05:00
Winston Chang
37b6a668ab
Fix off-by-one dates
2016-09-16 23:39:26 -05:00
Winston Chang
2a9a7cc897
Enable noconflict for Bootstrap Datepicker. Closes #1346
2016-09-16 23:39:26 -05:00
Winston Chang
c62e6b5734
Update to Bootstrap Datepicker 1.6.4. Closes #1218
2016-09-16 23:39:26 -05:00
Winston Chang
6ec1d0b935
grunt clean && grunt
2016-09-16 23:37:31 -05:00
Winston Chang
6c5769fdd8
Add missing files to Grunt clean
2016-09-16 23:36:57 -05:00
Winston Chang
09acc5920c
Allow using no separator for sliderInput numbers. Fixes #1369
2016-09-15 12:03:25 -05:00
Winston Chang
9613c58bf8
Merge pull request #1370 from rstudio/fix-bookmark-fileinput
...
Fix bookmark fileinput
2016-09-13 15:38:52 -05:00
Winston Chang
147f9ac64b
Remove sourcetools workaround for Travis
...
This is no longer necessary because the new version of sourcetools on CRAN
does not need C++11
2016-09-13 12:52:15 -05:00
Winston Chang
cc1e8961a1
Update NEWS
2016-09-13 11:24:42 -05:00
Winston Chang
3b1b2f401d
Use createUniqueId for consistency
2016-09-13 11:14:29 -05:00
Winston Chang
58a87b9b61
Copy restored file to temp directory
2016-09-13 11:13:21 -05:00
Winston Chang
f09475a6b5
Better check for unsafe paths in restored file inputs
2016-09-13 11:12:16 -05:00
Winston Chang
750422d858
Mark restored file inputs with correct serializer. Closes #1368
2016-09-13 10:49:08 -05:00
Winston Chang
03d911d335
Use cache for AppVeyor
2016-09-13 10:47:00 -05:00
Winston Chang
2747c11a46
Bump version to 0.14.0.9000
2016-09-13 10:46:15 -05:00
Winston Chang
5a9fe2637f
Update shiny.rstudio.com URLs in NEWS
2016-09-12 09:36:32 -05:00
Winston Chang
a5787f9988
Bump version to 0.14
2016-09-08 15:03:19 -05:00
Winston Chang
85e22bb515
Ignore revdep
2016-09-08 15:03:19 -05:00
Barbara Borges Ribeiro
5e1e90ad80
fix validation bug
2016-09-07 19:22:02 +01:00
Winston Chang
fe85421c7e
Fixes for R CMD check
2016-09-06 14:43:57 -05:00
Winston Chang
38af6ce279
Merge pull request #1362 from rstudio/barbara/update-old-release-news
...
Barbara/update old release news
2016-09-06 11:05:24 -05:00
Barbara Borges Ribeiro
fe92f16da4
updated 0.12 section
2016-09-05 20:55:38 +01:00
Barbara Borges Ribeiro
edc4b562f2
removed unnecessary line breaks now that we switched to .md
2016-09-05 20:42:20 +01:00
Barbara Borges Ribeiro
7b6a91064c
updated 0.11 section
2016-09-05 19:52:28 +01:00
Winston Chang
a32414c6fc
NEWS edits
2016-09-02 21:09:39 -05:00
Winston Chang
259b4e29de
NEWS improvements ( #1354 )
2016-09-02 16:28:08 -05:00
Winston Chang
e56f80b546
Check whether hosting environment supports bookmarking ( #1360 )
...
* Check whether hosting environment supports bookmarking
* Show notification on startup if hosting environment doesn't support saved-to-server bookmarking
2016-09-02 14:19:41 -07:00
Barbara Borges Ribeiro
1ff52c5290
Merge branch 'master' of https://github.com/rstudio/shiny
2016-09-02 00:42:26 +01:00
Barbara Borges Ribeiro
70bd249f43
make explicit link to external package
2016-09-02 00:42:14 +01:00
Winston Chang
f2f7e43579
Convert validate example to single-file app. Closes #1345 ( #1347 )
2016-09-01 13:08:03 -07:00
Winston Chang
c36d60fcd4
Fix reactive highlighting in showcase mode. Closes #1350 ( #1351 )
2016-09-01 13:07:39 -07:00
Barbara Borges Ribeiro
0950f307d1
Merge pull request #1344 from rstudio/joe/feature/root-scope
...
Let modules get at the root scope (undocumented for now)
2016-09-01 04:58:17 +01:00
Joe Cheng
a9b7e4a85e
Let modules get at the root scope (undocumented for now)
2016-08-31 14:44:45 -07:00
Winston Chang
912a886539
updateQueryString: add note about not working in IE9. Closes #1336 ( #1339 )
2016-08-31 12:17:49 -07:00
Winston Chang
f7484f49e5
Fix file uploads in IE9. Closes #1332 ( #1342 )
...
* Fix file uploads in IE9. Closes #1332
* Grunt
2016-08-31 12:17:24 -07:00
Joe Cheng
9f68be1925
Merge pull request #1341 from rstudio/ie9-fix-remove-modal
...
Fix modal removal for IE 9
2016-08-31 12:02:43 -07:00
Joe Cheng
ef298f8d7a
Merge pull request #1337 from rstudio/fix-replay-plot
...
Make sure displaylist is on for recording/replaying plots
2016-08-31 12:01:32 -07:00
Winston Chang
c038f0e6ee
Grunt
2016-08-31 11:36:16 -05:00
Winston Chang
3c53a93447
Wrap DOM object in jQuery. Fixes #1335
2016-08-31 11:35:48 -05:00
Winston Chang
7e86e65cce
Make sure displaylist is on for recording/replaying plots
2016-08-30 20:09:45 -05:00
Winston Chang
ad171d6cbb
Better checks in modal example
2016-08-30 17:02:07 -05:00
Joe Cheng
76ffc20836
Merge pull request #1329 from rstudio/progress-compatibility
...
Add old-style rendering option to progress bars
2016-08-30 14:50:32 -07:00
Winston Chang
c4cc5b6dfc
Fix renderPlot's execOnResize logic
...
This was found in #1331 , but the real problem with that issue is that
the mclust::mclust2Dplot function has changed since we wrote the example
app.
2016-08-30 16:37:50 -05:00
Winston Chang
878c9210d3
Add shinyOption for progress.style
2016-08-30 16:15:55 -05:00
Winston Chang
35c982b367
Grunt
2016-08-29 19:48:56 -05:00
Winston Chang
9c4ff080af
Update NEWS
2016-08-29 19:47:12 -05:00
Winston Chang
d32ca64a03
Add old-style rendering as an option for progress
2016-08-29 16:05:43 -05:00
Winston Chang
53b89390be
Rename shiny-progress CSS class to shiny-progress-notification
2016-08-29 15:19:45 -05:00
Winston Chang
a8e09d7fe6
Add sections to NEWS and add some new items
2016-08-26 12:26:30 -05:00
Winston Chang
0c7cf20e7e
Switch NEWS to Markdown
2016-08-26 11:43:38 -05:00
Winston Chang
6ebcee33c5
Add some issue numbers to NEWS
2016-08-26 11:39:20 -05:00
Winston Chang
c73544fb59
Fix misplaced NEWS items
2016-08-26 11:29:10 -05:00
Winston Chang
37c1f93bcb
Merge pull request #1320 from rstudio/joe/docs/sendBinaryMessage
...
NEWS, doc update for sendBinaryMessage
2016-08-25 20:25:51 -05:00
Joe Cheng
95aa2e10fc
NEWS, doc update for sendBinaryMessage
2016-08-25 15:48:53 -07:00
Joe Cheng
279e6e3925
Merge remote-tracking branch 'origin/daef/feature/binary-messages'
2016-08-25 13:08:29 -07:00
Joe Cheng
8a661d5ee4
Code review feedback
2016-08-25 13:04:58 -07:00
Joe Cheng
67fcb40455
Merge pull request #1313 from rstudio/bookmarking-arg
...
Add enableBookmarking argument to shinyApp()
2016-08-25 13:00:04 -07:00
Winston Chang
641524c80e
More docs for enableBookmarking
2016-08-24 17:00:59 -05:00
Winston Chang
55802354d4
Add enableBookmarking arg to shinyApp()
2016-08-24 14:47:56 -05:00
Winston Chang
75f4f5c0bd
Merge pull request #1317 from MangoTheCat/fix/updatedaterangeinteraction
...
Fix updateDateRangeInput interaction from #1299 & #1315
2016-08-24 13:43:55 -05:00
Gábor Csárdi
382e9dee55
Grunt
2016-08-23 22:52:41 +01:00
Gábor Csárdi
6861d4029e
Fix updateDateRangeInput interaction from #1299 & #1315
2016-08-23 22:51:18 +01:00
Joe Cheng
370ef16854
Slight tweaks
...
- Rename arguments to type/message
- Check tag length after converting to bytes
2016-08-23 14:08:04 -07:00
Gábor Csárdi
9dbe434792
Fix updateDateRangeInput when only one of start/end updated ( #1315 )
2016-08-23 16:07:53 -05:00
Joe Cheng
21a0e95623
Merge commit 'd1353e8eaebc3f878fe9074919948d662caf8a89'
2016-08-23 13:58:40 -07:00
Winston Chang
57c6307479
Merge pull request #1314 from rstudio/joe/bugfix/downloadhandler-no-data
...
Fix #1122 : Do something sensible when downloadHandler doesn't create a file
2016-08-23 15:50:39 -05:00
Winston Chang
01d8b1f468
Merge pull request #1299 from MangoTheCat/fix/resetdateinput
...
Allow updateDateInput to set input fields to empty
2016-08-23 15:48:25 -05:00
Joe Cheng
ef6b82a0a3
Fix #1122 : Do something sensible when downloadHandler doesn't create a
...
file
2016-08-23 13:48:24 -07:00
Gábor Csárdi
19b7d1a7c5
Rebuild minified files
2016-08-23 21:21:35 +01:00
Gábor Csárdi
097d901191
Updates can clear date and date range inputs
2016-08-23 21:21:10 +01:00
Winston Chang
a1b5846b29
Remove extra comma
2016-08-23 10:54:37 -05:00
Winston Chang
dbdb353e69
Add updateQueryString example
2016-08-23 10:30:12 -05:00
Winston Chang
4456eac1fd
Make staticdocs tests work in R CMD check
2016-08-22 21:04:19 -05:00
Winston Chang
ba3f8f432e
Update staticdocs index. Closes #1293
2016-08-22 20:38:16 -05:00
Winston Chang
bab539f52c
Make it possible to have multiple bookmark buttons ( #1310 )
2016-08-19 21:13:27 -07:00
Winston Chang
42dbb128be
Fix handling of NULLs in updateDateInput
2016-08-19 14:36:29 -05:00
Winston Chang
5e4a6cb15f
Fix priority of onRestore observer
2016-08-19 14:12:57 -05:00
Winston Chang
73e45ce911
Clarify observer priority documentation
2016-08-19 14:10:24 -05:00
Winston Chang
1e40043456
Add travis fix for R-devel (thanks to @jimhester)
2016-08-19 12:12:42 -05:00
Winston Chang
7f3b952ec7
Documentation updates
2016-08-19 11:53:31 -05:00
Winston Chang
82887dc1c1
Do Travis checks on multiple R versions
2016-08-19 10:16:54 -05:00
Winston Chang
71380ab37a
Replace stopWithCondition with reactiveStop
2016-08-18 16:54:42 -05:00
Winston Chang
5d00804758
Add size argument to modalDialog ( #1308 )
2016-08-18 14:43:57 -07:00
Winston Chang
84364c65b0
Bookmark/restore actionButtons ( #1304 )
2016-08-18 14:42:19 -07:00
Winston Chang
1b59b705ae
Fix bookmark URL when there are no input values. Fixes #1306
2016-08-17 14:00:14 -05:00
Winston Chang
bc90fe6f99
Don't error when creating tabsets without id
...
The bug was introduced by #1296 .
2016-08-16 20:02:33 -05:00
Winston Chang
c8d6a0833e
Merge pull request #1301 from daattali/patch-2
...
fix typo in NEWS
2016-08-16 13:57:28 -05:00
Winston Chang
d8fc7d27ec
Add Dismiss button to URL modal
2016-08-16 13:00:42 -05:00
Winston Chang
1e44b19ff0
Fix typo in bookmarkButton documentation
2016-08-16 12:28:37 -05:00
Winston Chang
cc8b2cd20e
Document that enableBookamrking can be called in onStart function
2016-08-16 12:22:19 -05:00
Dean Attali
057b1e294c
fix typo in NEWS
2016-08-13 01:54:43 -07:00
Winston Chang
0653e790c7
Merge pull request #1298 from rstudio/handle-malformed-dates
...
Don't crash on malformed date input values. Closes #803
2016-08-12 21:29:00 -05:00
Winston Chang
6d72bbcb76
Don't crash on malformed date input values. Closes #803
2016-08-12 21:28:43 -05:00
Winston Chang
59e6f08455
Merge branch 'textarea'
2016-08-12 21:26:55 -05:00
Winston Chang
8fdccf50a8
Update NEWS
2016-08-12 21:26:19 -05:00
Winston Chang
1c7e11c5d9
Textarea refinements
2016-08-12 21:26:18 -05:00
Winston Chang
1756fbbb23
Merge branch 'fix-update-date'
2016-08-12 21:23:42 -05:00
Winston Chang
7bb939ab7f
Restore bookmarked tabs. Fixes #1282 ( #1296 )
2016-08-12 18:53:44 -07:00
Nuno Agostinho
4fa0abbd5a
Add arguments height, rows and cols
2016-08-12 17:19:23 -05:00
Nuno Agostinho
1e5f0266ef
Fix missing parenthesis
2016-08-12 17:19:23 -05:00
Nuno Agostinho
3dee62105e
Fix value assignment of text area input
2016-08-12 17:19:23 -05:00
Nuno Agostinho
680b2323d5
Update documentation relative to textarea input
2016-08-12 17:19:23 -05:00
Nuno Agostinho
562b4dad4d
Add textarea input
2016-08-12 17:19:23 -05:00
Joe Cheng
079a82dfe4
executeElapsed gets stuck returning TRUE even when nothing was executed
...
Fixes #1278
2016-08-12 17:19:23 -05:00
Winston Chang
16f7eb43b0
Merge branch 'joe/bugfix/too-often-flush'
2016-08-12 15:24:25 -05:00
Winston Chang
4b0ed3f224
updateDateInput: better handling of malformed dates. Closes #1179
2016-08-12 14:43:44 -05:00
Winston Chang
1d453b694d
Add documentation about using selected=character(0). Closes #1182
2016-08-12 14:22:54 -05:00
Barbara Borges Ribeiro
751e8c189e
fixes #1093 ( #1291 )
...
* fixes #1093
* check if NULL
2016-08-11 14:29:24 -07:00
Winston Chang
183e9a3d0b
Bookmarking fixes ( #1281 )
...
* Rename invalidateReactiveValue to freezeReactiveValue
* Make onFlush and onFlushed use 'once' argument
* session$flushOutput: schedule another flush if needed
* Catch all errors before they propagate to websocket
* Restore original logic for progressKeys
2016-08-11 11:58:07 -07:00
Winston Chang
5f0f4dd485
Merge pull request #1285 from rstudio/joe/bugfix/update-radio-buttons-modules
...
Fix #1144 : RadioButtons and checkBoxGroup do not work in modules when they are updated
2016-08-11 13:17:15 -05:00
Barbara Borges Ribeiro
20f05662aa
fixes #1289
2016-08-11 15:57:31 +01:00
Joe Cheng
963471b43f
Fix #1144 : RadioButtons and checkBoxGroup do not work in modules when they are updated
...
The unqualified input ID was being used to generate name attributes
on radio and checkboxes.
2016-08-10 15:52:01 -07:00
Joe Cheng
fdb52e0243
executeElapsed gets stuck returning TRUE even when nothing was executed
...
Fixes #1278
2016-08-10 15:10:31 -07:00
Winston Chang
d1e4483f98
Upgrade to Font-Awesome 4.6.3. Closes #1274
2016-08-10 15:40:10 -05:00
Winston Chang
b194ada316
Upgrade to Bootstrap 3.3.7
2016-08-10 15:34:51 -05:00
Winston Chang
3a25a2dcbf
Upgrade to jQuery 1.12.4. Closes #1251
2016-08-10 15:24:08 -05:00
Barbara Borges Ribeiro
85e4497fbe
fixes #1270 ; improves docs; export isTruthy()
2016-08-10 20:45:40 +01:00
Barbara Borges Ribeiro
0bfa5e7ea6
allow sticky nodes in reactlog if users drags them ( #1283 )
2016-08-10 20:04:37 +01:00
Barbara Borges Ribeiro
013599890f
Solve updateSelectInput bug in IE 11.0 ( #1277 )
2016-08-09 19:08:30 +01:00
Winston Chang
519e552405
Unset shinyOptions when set to NULL
2016-08-08 13:03:07 -05:00
Winston Chang
32a4ec49f7
Bump version and update NEWS
2016-08-05 16:19:57 -05:00
Winston Chang
3223332906
Merge pull request #1209 from wch/bookmarkable-state
...
Bookmarkable state
2016-08-05 16:15:12 -05:00
Winston Chang
f78bd08440
Correctly handle bookmark options for global.R and app.R
2016-08-05 16:08:49 -05:00
Winston Chang
99b5f92d7a
Add showBookmarkUrlModal
2016-08-03 16:07:49 -05:00
Barbara Borges Ribeiro
1cc5e84104
Barbara/error handling/port as socket ( #1263 )
...
* catch if `port` is being used incorrectly (see issue #971 )
* better error msg
2016-08-03 15:50:30 -05:00
Winston Chang
8346f5ab08
Fix enableBookmarking references
2016-08-03 14:41:37 -05:00
Winston Chang
dc60a39ba9
Fix tests to be order-insensitive
2016-08-02 13:47:42 -05:00
Winston Chang
16f7872553
Grunt
2016-08-02 11:18:25 -05:00
Winston Chang
75e7c4b2ca
More informative error messages
2016-08-02 11:10:17 -05:00
Barbara Borges Ribeiro
c5d5ddd7d2
Merge pull request #1267 from rstudio/barbara/remove-example-extra-line
...
had forgotten to run devtools::document for #1266...
2016-08-02 04:16:22 +01:00
Barbara Borges Ribeiro
98a81e3708
had forgotten to run devtools::document
2016-08-02 04:13:35 +01:00
Barbara Borges Ribeiro
ecdbdb944a
Merge pull request #1266 from rstudio/barbara/remove-example-extra-line
...
Barbara/remove example extra line
2016-08-02 03:51:41 +01:00
Barbara Borges Ribeiro
8a2846461b
removed extra line at end of example section
2016-08-02 03:40:56 +01:00
Winston Chang
6bfb9a2f57
More details in enableBookmarking man page
2016-08-01 20:46:43 -05:00
Winston Chang
85dfb2d4eb
urlModal: always show Ctrl/Cmd-C copy message
2016-08-01 20:00:05 -05:00
Barbara Borges Ribeiro
8f1d0c2b8f
Barbara/appveyor ( #1265 )
2016-08-02 01:26:48 +01:00
Winston Chang
829494c03e
Make bookmark button work when there's a submitButton
2016-08-01 16:13:43 -05:00
Winston Chang
f89fade28d
Rename updateLocationBar to updateQueryString
2016-08-01 16:13:25 -05:00
Winston Chang
9081b1dadd
Simplify list2env
2016-08-01 14:22:23 -05:00
Winston Chang
84dac544af
Make sure state ID doesn't have invalid chars
2016-08-01 14:16:50 -05:00
Winston Chang
49f1ac333d
Always get appDir when shinyApp object is created
2016-08-01 14:01:16 -05:00
Winston Chang
a2b761094b
Fix bookmark values tests
2016-07-29 16:07:18 -05:00
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
326b294c83
Change progress indicators to use notification API ( #1160 )
2016-07-26 11:16:08 -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
2db71d0323
Re-document
2016-07-21 14:33:42 -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
Barbara Borges Ribeiro
333e454e78
Merge pull request #1252 from rstudio/barbara/bugfix/where
...
give `where` arg a default value ("replace")
2016-07-20 19:47:00 +01:00
Barbara Borges Ribeiro
61cfd11644
give where arg a default value ("replace")
2016-07-20 19:05:20 +01:00
Winston Chang
1c970c8176
Remove configureBookmarking; add onBookmark, onBookmarked, onRestore, onRestored
2016-07-19 14:31:57 -05:00
Winston Chang
1fea54ca5a
Merge pull request #1249 from daattali/patch-1
...
fix typo
2016-07-19 13:31:12 -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
a45b58d956
Merge pull request #1239 from rstudio/joe/bugfix/insert-ui-initialize
...
Fix insertUI bug. Closes #1220 , #1231 , #1232
2016-07-06 22:04:00 +01:00
Barbara Borges Ribeiro
2c5e9a5e76
moved multiple to 4th argument
2016-07-06 21:44:52 +01:00
Barbara Borges Ribeiro
9fb847b179
Merge branch 'master' into joe/bugfix/insert-ui-initialize
2016-07-06 21:37:58 +01:00
Barbara Borges Ribeiro
b8341b2ba8
Merge pull request #1238 from rstudio/feature/pool-scheduler
...
Better pool support (minor change)
2016-07-06 21:35:21 +01:00
Barbara Borges Ribeiro
26d6e4da2c
allows callback to be garbage collected
2016-07-06 21:29:12 +01:00
Barbara Borges Ribeiro
b16ed602d5
rebased with master
...
Merge branch 'joe/bugfix/insert-ui-initialize' of https://github.com/rstudio/shiny into joe/bugfix/insert-ui-initialize
# Conflicts:
# inst/www/shared/shiny.js.map
# inst/www/shared/shiny.min.js
# inst/www/shared/shiny.min.js.map
2016-07-06 18:04:17 +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
177a2a8a1e
Input not being initialized with insertUI if beforeStart/afterEnd
2016-07-05 11:06:25 -07:00
Barbara Borges Ribeiro
8b21a87175
Update NEWS
2016-06-30 17:51:09 +01:00
Barbara Borges Ribeiro
6d2dd8e315
Merge pull request #1226 from rstudio/feature/pool-scheduler
...
Support pool package
2016-06-30 17:49:52 +01: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
30416cdbb5
Grunt
2016-06-16 12:44:28 -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
Winston Chang
daa12ab2ec
Revise how onSave is called; move persist() and encode() into ShinyState object
2016-06-15 14:55:06 -05:00
Joe Cheng
4c652389c5
Support pool package
2016-06-14 12:58:50 -07:00
Winston Chang
f69d88a656
Refinements to save button
2016-06-14 13:23:58 -05:00
Winston Chang
098cbc1456
Better splitting of state query string
2016-06-13 23:19:35 -05:00
Winston Chang
5f2da953a9
Add invalidateReactiveValue function
2016-06-13 22:12:28 -05:00
Winston Chang
638d999fcc
Replace updateQueryString with updateLocationBar
2016-06-13 16:47:24 -05:00
Winston Chang
fa80fd64da
Make 'restorable' opt-out instead of opt-in
2016-06-13 14:24:21 -05:00
Winston Chang
e4dad82dde
Rename 'save' to 'persist'
2016-06-13 12:38:43 -05:00
Winston Chang
d65ff924c8
Add bookmarkButton
2016-06-10 12:47:31 -05:00
Winston Chang
96e9661aaa
Fix reactive dependencies when restoring values
2016-06-10 10:55:18 -05:00
Winston Chang
8829d2ebd4
Properly mark actionButtons and passwordInputs as unserializable
2016-06-10 10:44:51 -05:00
Winston Chang
c019280d8a
Call onRestore only if it exists
2016-06-10 10:38:04 -05:00
Winston Chang
8d3e5fc160
Refinements
2016-06-10 10:11:55 -05:00
Winston Chang
d3f1312c0b
Remove 'enable' argument
2016-06-09 14:55:33 -05:00
Winston Chang
c58f48a1e4
Add support for bookmarking arbitrary values
2016-06-09 14:45:55 -05:00
Winston Chang
979e93509e
parseQueryString: ignore extra ampersands
2016-06-09 13:01:36 -05:00
Winston Chang
135c3709b4
Prepare things for separate values
2016-06-09 11:57:45 -05:00
Winston Chang
08400d3f18
Add configureBookmarking function
2016-06-08 12:56:03 -05:00
Winston Chang
bf52075d1b
Merge pull request #1197 from rstudio/joe/feature/resetBrush
...
Add ability to reset brush with session$resetBrush/Shiny.resetBrush
2016-06-03 13:04:01 -05:00
Winston Chang
56befda288
Remove outdated example
2016-06-03 12:48:34 -05:00
Winston Chang
3d68f1dc62
Remove bookmarkOutput; add saveStateModal and encodeStateModal
2016-06-03 12:48:33 -05:00
Winston Chang
970036ce1a
Remove clipboard.js
2016-06-03 12:48:33 -05:00
Winston Chang
62108f28f4
Fix argument defaults
2016-06-02 12:52:19 -05:00
Winston Chang
66bbb072c3
Remove createBookmark function
2016-06-02 12:48:17 -05:00
Winston Chang
6c52c26a62
Make names consistent
2016-06-02 11:47:56 -05:00
Winston Chang
d52943d1bf
Remove unused code path
2016-06-01 21:41:35 -05:00
Winston Chang
7cb1bbe3d6
Use new ID each time state is saved
2016-06-01 18:12:07 -05:00
Winston Chang
2548c46b8b
Check for '..' in restored file input path
2016-06-01 18:07:33 -05:00
Winston Chang
dd5118116b
Use wrapper functions for saving/restoring state
2016-06-01 17:10:56 -05:00
Winston Chang
77a9b66028
Merge pull request #1201 from rstudio/bugfix/avoid-radix-sort-overflow
...
avoid overflow in R 3.3.0 radix sort
2016-05-27 21:39:15 -05:00
Kevin Ushey
e813dab81c
avoid overflow in R 3.3.0 radix sort
2016-05-27 14:48:44 -07:00
Winston Chang
6696880178
Add ability to save and restore fileInputs. Also improve fileInput appearance
2016-05-27 14:42:00 -05:00
Winston Chang
8e5952d9ae
Add serializers
2016-05-26 12:43:01 -05:00
Joe Cheng
360c1d5953
Add ability to reset brush with session$resetBrush/Shiny.resetBrush
2016-05-25 15:37:27 -07:00
Winston Chang
a7aa6ced19
Save each state in a subdirectory
2016-05-20 14:52:52 -05:00
Winston Chang
97eea669d4
Better error handling when saving/restoring state
2016-05-20 14:17:23 -05:00
Winston Chang
c84777928e
Use same state ID throughout a session
2016-05-20 14:10:26 -05:00
Winston Chang
490064a953
Remove unneeded randomID function
2016-05-20 14:10:26 -05:00
Winston Chang
d5975195b3
Initial version of saving state
2016-05-20 14:10:26 -05:00
Winston Chang
9588c36abb
Merge branch 'joe/feature/insert-UI'
2016-05-18 15:53:50 -05:00
Barbara Borges Ribeiro
f9200ac135
small fixes; documentation; got rid of unnecassary things
2016-05-18 12:35:25 +01:00
Winston Chang
fffb9606ec
Merge pull request #1185 from rstudio/barbara/showcase-update
...
Barbara/showcase update
2016-05-16 10:04:24 -05:00
Winston Chang
781e15cb84
Restore values only if 'restorable' option is set
2016-05-13 21:06:06 -05:00
Winston Chang
9742001a71
Add shiny options
2016-05-13 20:37:58 -05:00
Barbara Borges Ribeiro
e92eee5ffc
removed constraint that forced elements inserted with insertUI to be wrapped in a div/span
2016-05-13 15:28:02 -05:00
Barbara Borges Ribeiro
293c1d471c
tiny fix
2016-05-13 14:34:07 -05:00
Barbara Borges Ribeiro
384240b6a4
added NEWS item for IncludeWWW
2016-05-13 14:26:45 -05:00
Winston Chang
6fd626a3ec
Disable seralizing of passwords and actionButtons
2016-05-12 17:03:25 -05:00
Winston Chang
bb4ce2f978
Don't clear bookmark DOM elements on error
2016-05-12 15:27:17 -05:00
Barbara Borges Ribeiro
2269e05058
code highliting; dropdown menu for the www files
2016-05-12 15:12:04 -05:00
Winston Chang
ca2a07b816
Add ability to invalidate a reactive value
2016-05-12 10:21:29 -05:00
Winston Chang
38c7bb35e0
Code cleanup
2016-05-12 10:06:44 -05:00
Winston Chang
4f6408f3e1
Add optional update button for bookmarkOutput
2016-05-12 10:06:44 -05:00
Winston Chang
7910d9fde4
Add argument to exclude values from bookmarking
2016-05-12 10:06:43 -05:00
Winston Chang
0258d7e24f
Make sure bookmark output is not a text input
2016-05-12 10:06:43 -05:00
Winston Chang
85556ed532
Don't error when no restore context available
2016-05-12 10:06:43 -05:00
Winston Chang
cecb04b097
Make restore context available from server code
2016-05-12 10:06:43 -05:00
Winston Chang
8a7c5c18d0
Add tooltip on copy
2016-05-12 10:06:43 -05:00
Winston Chang
14a1a3f574
Rename functions
2016-05-12 10:06:43 -05:00
Winston Chang
c19f2a7499
Add license info for clipboard.js
2016-05-12 10:05:37 -05:00
Winston Chang
df95be5455
Add bookmarkOutput
2016-05-12 10:05:37 -05:00
Winston Chang
00bef13f1c
Add ability for inputs to restore bookmarked values
2016-05-12 10:05:37 -05:00
Winston Chang
a6a35905a7
Clearer variable names
2016-05-12 10:05:37 -05:00
Winston Chang
93f28ef55c
Preserve type of bookmarked data
2016-05-12 10:05:36 -05:00
Joe Cheng
bbcb9573cd
Add example
2016-05-12 10:05:36 -05:00
Winston Chang
43cc6e19d4
Fixes
2016-05-12 10:05:36 -05:00
Joe Cheng
f4a44664c7
Bookmarkable state wip
2016-05-12 10:05:36 -05:00
Barbara Borges Ribeiro
dd7a3269ad
added wwwFiles boolean option to DESCRIPTION file
2016-05-07 17:21:59 +01:00
Winston Chang
157d1b20c5
Fixes for R CMD check
2016-05-06 15:14:09 -05:00
Winston Chang
85fe0c00c2
Fix tests
2016-05-06 15:10:45 -05:00
Winston Chang
91092b8a96
Fix function labels for profiling
2016-05-06 15:03:00 -05:00
Barbara Borges Ribeiro
1ed237cfcc
init commit
2016-05-05 16:11:43 +01:00
Barbara Borges Ribeiro
c7044498d5
added NEWS item for insertUI / removeUI
2016-05-05 14:17:45 +01:00
Joe Cheng
1d2a2fbcae
Merge remote-tracking branch 'origin/joe/feature/insert-UI'
2016-05-04 11:34:54 -07:00
Barbara Borges Ribeiro
9b015e8cae
documentation update
2016-05-03 13:57:10 +01:00
Barbara Borges Ribeiro
0a8c26fff4
call sendImageSize from unbindOutputs
2016-05-02 20:02:41 +01:00
Barbara Borges Ribeiro
506de72666
fixed typos; included argument defaults; removed 'shown', 'hidden' triggers following chat with Winston
2016-05-02 18:27:15 +01:00
Barbara Borges Ribeiro
a5b4156b56
moved insertAdjacentElement to the right place
2016-05-02 15:19:08 +01:00
Barbara Borges Ribeiro
da4b42cb1d
ran grunt
2016-05-02 14:50:46 +01:00
Barbara Borges Ribeiro
53790f8247
various updates
2016-05-02 14:48:05 +01:00
Barbara Borges Ribeiro
69780d4727
added sendImage and sendOUtputHIddenState
2016-04-29 06:33:06 +01:00
Barbara Borges Ribeiro
aa2b644684
updated documentation; added ... argument to onFlush() and onFlushed() in order to be able to pass in arguments to the func
2016-04-29 05:27:26 +01:00
Barbara Borges Ribeiro
a12e8875a6
changed everything from sendCustomMessage to session$sendMessage
2016-04-29 05:16:22 +01:00
Barbara Borges Ribeiro
9e91b265ce
sendInsertUI now uses sendMessage instead of sendCustomMessage
2016-04-29 04:46:09 +01:00
Barbara Borges Ribeiro
8c12e3ab90
added insertAdjacentElement for compatibility with Firefox
2016-04-28 12:03:15 +01:00
Winston Chang
7e303b4fc0
Merge pull request #1157 from rstudio/modal
...
Add modal dialogs
2016-04-27 15:30:02 -05:00
Winston Chang
40e0fcff30
Change modal example
2016-04-27 15:29:18 -05:00
Winston Chang
3c9e74b23e
Re-document
2016-04-26 15:30:03 -05:00
Barbara Borges Ribeiro
6b001eb7c3
updated insertUI; added removeUI
2016-04-25 23:03:18 +01:00
Winston Chang
f81621aa66
Merge pull request #1158 from rstudio/example-cleanup
...
Clean up examples
2016-04-22 13:05:36 -05:00
Winston Chang
08c7484087
Rename argument
2016-04-21 15:22:43 -05:00
Barbara Borges Ribeiro
a8c68f3e30
updated shiny-options text
2016-04-18 17:28:45 +01:00
Barbara Borges Ribeiro
0e6698d760
updated NEWS
2016-04-18 02:12:47 +01:00
Barbara Borges Ribeiro
f3d4f9ff23
Merge pull request #1156 from rstudio/barbara/error-hiding
...
Barbara/error hiding
2016-04-18 01:56:26 +01:00
Barbara Borges Ribeiro
d711f17081
changed sanitization default to FALSE (on local development)
2016-04-18 01:44:43 +01:00
Barbara Borges Ribeiro
d35eba45c5
tiny fix
2016-04-18 01:34:50 +01:00
Barbara Borges Ribeiro
cd53e79b19
removed classError argument to safeError function
2016-04-18 01:27:37 +01:00
Barbara Borges Ribeiro
3db7029534
Merge branch 'master' of https://github.com/rstudio/shiny
2016-04-15 16:50:19 +01:00
Barbara Borges Ribeiro
ad1e52bf19
got rid of warning that popped up when renderFunc took no arguments; there really isn't a good reason to require this (not at this point at least)
2016-04-15 16:49:52 +01:00
Barbara Borges Ribeiro
e08791a284
update to safeError
2016-04-14 18:20:49 +01:00
Barbara Borges Ribeiro
8d1deeb568
undo last commit to be able to merge automatically
2016-04-14 18:02:16 +01:00
Barbara Borges Ribeiro
375c7789a2
updated NEWS
2016-04-14 17:52:10 +01:00
Barbara Borges Ribeiro
ec8a81aedb
Merge pull request #1163 from bborgesr/barbara/fix-tabsetpanel
...
deprecated position arg to tabsetPanel; updated NEWS; cc @jcheng5 @wch
2016-04-14 17:49:51 +01:00
Barbara Borges Ribeiro
033d513aee
added version to shinyDeprecated call; updated NEWS
2016-04-14 17:43:24 +01:00
Barbara Borges Ribeiro
fb3e4e4881
Changed customStop to stop(safeError). Refactored some middleware.R code. Fixed downloadHandler's bug of not responding to safeError.
2016-04-14 17:31:34 +01:00
Joe Cheng
8a30c006e7
Prototype insertUI functionality
2016-04-13 16:12:30 -07:00
Barbara Borges Ribeiro
3f76679673
another update to NEWS
2016-04-07 22:22:51 +01:00
Barbara Borges Ribeiro
1cee5d4b41
deprecated position arg to tabsetPanel; updated NEWS
2016-04-07 22:15:15 +01:00
Barbara Borges Ribeiro
3107eec697
removed unnecessary line
2016-04-07 02:01:56 +01:00
Barbara Borges Ribeiro
477d46316e
updated customStop() documentation example to match Winston's pattern
2016-04-06 14:08:11 +01:00
Winston Chang
3133693a0e
Update NEWS
2016-04-05 20:58:48 -05:00
Winston Chang
bc7d701298
Make examples runnable with shinyApp()
2016-04-05 20:53:59 -05:00
Winston Chang
5d6d75b4f3
Remove shinyUI() and shinyServer() from examples
2016-04-05 15:23:23 -05:00
Winston Chang
73d48a7b37
Grunt
2016-04-05 13:19:27 -05:00
Winston Chang
ed7b9a9989
Modal dialog refinements
2016-04-05 13:18:57 -05:00
Winston Chang
e1a955752f
Add modal dialogs
2016-04-05 13:18:56 -05:00
Winston Chang
0bdc8f0b2b
Update package.json
2016-04-05 09:45:06 -05:00
Barbara Borges Ribeiro
a692b3ced8
implemented error hiding for ui.R and downloadHandler() cases
2016-04-05 15:28:05 +01:00
Winston Chang
2f5b93861d
Merge pull request #1152 from daattali/master
...
add placeholder option to passwordInput()
2016-04-04 11:23:44 -05:00
Joe Cheng
110183585c
Merge pull request #1143 from rstudio/joe/feature/output-arg-passthrough
...
Joe/feature/output arg passthrough
2016-04-03 08:10:44 -07:00
Barbara Borges Ribeiro
7eb29586a7
a few minor tweaks
2016-04-03 15:24:17 +01:00
Barbara Borges Ribeiro
401065a23e
a lot of not very productive experimentation
2016-04-03 15:00:59 +01:00
Dean Attali
4e5e0fb0ce
add placeholder option to passwordInput()
2016-04-02 18:44:10 -07:00
Barbara Borges Ribeiro
d41a06611e
fixed documentation
2016-04-01 23:57:20 +01:00
Barbara Borges Ribeiro
26c3c27726
a few tweaks to customStop()
2016-04-01 22:47:58 +01:00
Barbara Borges Ribeiro
19ab63e041
a little code refactoring and added a customStop() function
2016-04-01 02:45:41 +01:00
Barbara Borges Ribeiro
5dafdab3d7
made the tracker construct - now an R6 class - easier to understand (more obvious); fixed the shinysession and name issues related to the renderFunc's
2016-04-01 00:44:14 +01:00
Barbara Borges Ribeiro
afbb17d428
errors are now sanitized in the app by default (must use options(shiny.sanitize.errors = FALSE) to override this behavior)
2016-03-30 07:29:58 +01:00
Winston Chang
8a721fbd25
Bump version to 0.13.2.9001 and update NEWS
...
Shiny 0.13.2 was released from another branch so its changes to NEWS were
incorporated here
2016-03-29 22:46:46 -05:00
Winston Chang
5d91a409e7
Merge pull request #1150 from rstudio/navbarpage-selected
...
Allow setting selected item in navbarPage. Closes #970
2016-03-29 22:35:18 -05:00
Winston Chang
8470f7caf8
Allow setting selected item in navbarPage. Closes #970
2016-03-29 22:32:00 -05:00
Winston Chang
67e279928e
Merge pull request #1147 from rstudio/navbar-horizontal-divider
...
navbarMenu horizontal dividers
2016-03-29 22:13:24 -05:00
Winston Chang
77ac3a62b7
Check that tab arguments are unnamed
2016-03-29 12:56:43 -05:00
Winston Chang
12eaa3a162
Reconnection refinements
2016-03-29 12:41:46 -05:00
Joe Cheng
bbd5dd7b4f
Merge pull request #1132 from rstudio/joe/reactive-graph-data
...
Update reactive graph sample data to include time
2016-03-29 09:54:15 -07:00
Joe Cheng
38fcd6e267
Merge pull request #1074 from rstudio/reconnect
...
Reconnect
2016-03-29 09:53:20 -07:00
Winston Chang
fd7f683eaa
Remove bootstrapDependency function. Closes #1069
2016-03-29 11:12:05 -05:00
Winston Chang
e15f9acd91
Grunt
2016-03-28 21:30:27 -05:00
Winston Chang
7cb0882c73
Add "force" option to allowReconnect
2016-03-28 21:29:23 -05:00
Winston Chang
486d4d1c88
Add 'action' parameter to notifications
2016-03-28 15:15:07 -05:00
Winston Chang
ded8b13e96
Reconnect UI refinements
2016-03-28 14:42:44 -05:00
Barbara Borges Ribeiro
c7eb7ba861
passed error through if handler accepts it
2016-03-28 20:31:39 +01:00
Barbara Borges Ribeiro
4920bff8fd
tiny documentation update
2016-03-28 18:24:04 +01:00
Barbara Borges Ribeiro
d78edf5dda
removed func arg from render functions; fixed issue introduced by rebase a few commits ago
2016-03-28 18:19:37 +01:00
Winston Chang
7510c02d83
Update ion.RangeSlider to 2.1.2
2016-03-28 11:17:07 -05:00
Barbara Borges Ribeiro
2d7b729473
got rid of unnecessary lines
2016-03-28 15:46:55 +01:00
Barbara Borges Ribeiro
0495fe2d71
updated renderFunc's to include a shinysession arg
2016-03-28 15:31:33 +01:00
Barbara Borges Ribeiro
d7da5df734
updated integration etsts
2016-03-28 13:18:22 +01:00
Barbara Borges Ribeiro
4462b6bd39
changed a warning to an error, following the "fail fast" principle
2016-03-28 13:00:11 +01:00
Barbara Borges Ribeiro
80e1edeeb2
a better way to check which context the render function is being called from
2016-03-28 12:54:54 +01:00
Winston Chang
11af421f10
Use notification API for reconnection interface
2016-03-25 16:39:58 -05:00
Winston Chang
686ff235e7
New reconnect UI
2016-03-25 15:43:08 -05:00
Winston Chang
31f76a6d4d
Add back gray-out on disconnect
2016-03-25 15:40:46 -05:00
Winston Chang
50078078e0
Export show/hideReconnectDialog functions
2016-03-25 15:40:45 -05:00
Winston Chang
be85e1e2f7
Add onConnected and onDisconnected
2016-03-25 15:40:45 -05:00
Winston Chang
9ad1574292
Allow Shiny Server to properly override methods
2016-03-25 15:40:45 -05:00
Winston Chang
4b71825707
Increase reconnect delay time with subsequent attempts
2016-03-25 15:40:45 -05:00
Winston Chang
fb1fd88947
Tweaks to disconnection/reconnection UI
2016-03-25 15:40:45 -05:00
Winston Chang
dca527d8b6
Allow app to control reconnection behavior
2016-03-25 15:40:45 -05:00
Winston Chang
3452a445fe
Show box when trying to reconnect
2016-03-25 15:40:45 -05:00
Winston Chang
a06e9d2bef
Implement auto-reconnect
2016-03-25 15:39:31 -05:00
Winston Chang
7a3961a280
Add support for menu section headers
2016-03-25 09:29:42 -05:00
Winston Chang
54729d8fb4
Update NEWS
2016-03-24 20:11:44 -05:00
Winston Chang
c2e17ee182
Add support for horizontal dividers in navbarMenu
2016-03-24 20:11:07 -05:00
Barbara Borges Ribeiro
bc0064d4b9
harcoded colors used for the color-coding of the time labels (creditted colorbrewer)
2016-03-25 00:51:19 +00:00
Barbara Borges Ribeiro
03685dbb61
added check for valid arguments if passed via outputArgs
2016-03-25 00:22:48 +00:00
Barbara Borges Ribeiro
26fcba8ed5
really not a solution...
2016-03-24 22:42:57 +00:00
Barbara Borges Ribeiro
bc15b65538
added outputArgs to all other renderXXX functions following the pattern used for renderPlot
2016-03-24 22:42:57 +00:00
Joe Cheng
e9ab34a9c1
Provide xxxOutput args via renderXXX passthrough
...
This will allow you to customize outputs when used in an R Markdown
document
2016-03-24 22:21:48 +00:00
Winston Chang
0bf512ebdd
Grunt
2016-03-24 17:11:12 -05:00
Winston Chang
7646fbeaa0
Bump version to 0.13.1.9002
2016-03-24 17:11:02 -05:00
Winston Chang
84b4766013
Merge pull request #1141 from rstudio/notifications
...
Notification interface
2016-03-24 17:09:31 -05:00
Winston Chang
3a48734b2f
Re-document
2016-03-24 14:07:37 -05:00
Winston Chang
36ae332959
Remove some public methods for notifications
2016-03-24 14:01:28 -05:00
Winston Chang
3e0d8da9d6
Add exports.renderContent to modularize content rendering in JS
2016-03-23 15:46:44 -05:00
Winston Chang
2fcb4dbe50
Modularize dependency handling in R
2016-03-23 15:46:03 -05:00
Winston Chang
09c93bfb39
Escape ID
2016-03-23 14:34:20 -05:00
Winston Chang
34068b1598
Rename 'style' to 'type'
2016-03-23 14:34:20 -05:00
Barbara Borges Ribeiro
a67da1c99a
added color scale for time labels
2016-03-23 16:26:33 +00:00
Winston Chang
0d6754761d
Add style argument
2016-03-22 15:36:21 -05:00
Winston Chang
898f7b66cf
Rename argument from 'html' to 'ui'
2016-03-22 14:47:07 -05:00
Winston Chang
c18f3e86f0
Add note about IDs
2016-03-22 13:46:21 -05:00
Barbara Borges Ribeiro
de51922f10
Trigger
2016-03-22 17:02:38 +00:00
Winston Chang
be0cb18bfc
Merge pull request #1138 from rstudio/joe/bugfix/htmltemplate-doc-update
...
Update htmlTemplate docs for htmltools 0.3.5
2016-03-22 11:13:31 -05:00
Winston Chang
39fd1db3c0
Bump htmltools required version to 0.3.5
2016-03-22 11:07:15 -05:00
Winston Chang
b4565e7354
Fix coordmap tests
2016-03-22 11:05:59 -05:00
Winston Chang
e28cada4dd
Handle tag inputs and escape HTML text
2016-03-21 20:10:17 -05:00
Joe Cheng
6daac65968
Add missing entries to staticdocs index
2016-03-21 17:00:17 -07:00
Joe Cheng
1ecc49c450
Update htmlTemplate docs for htmltools 0.3.5
2016-03-21 16:53:46 -07:00
Barbara Borges Ribeiro
f96e7d9aaa
stored the timeElapsed float on the node instead of the fully formatted string; made sure we're not showing any time elapsed info while the node is active (it could be confusing)
2016-03-21 23:25:17 +00:00
Barbara Borges Ribeiro
c637bba867
changed time label color; updated default argument to renderReactLog
2016-03-21 22:19:45 +00:00
Barbara Borges Ribeiro
bdc6554ca8
added time argument
2016-03-21 21:53:34 +00:00
Winston Chang
ecb59e9c31
Add R notification functions
2016-03-21 16:47:55 -05:00
Winston Chang
1b39184e98
Add randomID function
2016-03-21 16:43:35 -05:00
Barbara Borges Ribeiro
2a35ba64f7
fixed y positioning
2016-03-21 21:15:32 +00:00
Barbara Borges Ribeiro
3a5123627d
updated multilineTextNode
2016-03-21 21:04:27 +00:00
Barbara Borges Ribeiro
a18eeecd59
separated text label and time label
2016-03-21 20:59:32 +00:00
Winston Chang
85e3f04738
Restyle notifications and add close button
2016-03-21 13:59:12 -05:00
Barbara Borges Ribeiro
cc59864377
experimenting
2016-03-21 18:49:47 +00:00
Barbara Borges Ribeiro
5b10cbf2e2
added 'time elapsed' to nodes' labels
2016-03-21 14:30:42 +00:00
Barbara Borges Ribeiro
fc6b83bb5d
Merge pull request #1136 from rstudio/barbara/renderTable-fixes
...
tiny update following the bigger renderTable() PR
2016-03-18 21:20:29 +00:00
Barbara Borges Ribeiro
bc509f55d9
added NEWS item documenting the change to renderTable() and fixed tiny bug (stop() message was spanning two lines with only one string)
2016-03-18 21:15:35 +00:00
Winston Chang
f81301ece6
Simplify notification API
2016-03-18 15:53:40 -05:00
Winston Chang
382e5c1f43
Rename Shiny.Notification to Shiny.notifications
2016-03-18 14:59:43 -05:00
Winston Chang
0243f74dcd
Add delay before removal
2016-03-18 14:45:21 -05:00
Winston Chang
58737ef454
Add notification JS API
2016-03-18 14:45:21 -05:00
Winston Chang
940cea82ca
Merge pull request #1133 from rstudio/es6
...
Add tooling for ES6
2016-03-18 14:44:53 -05:00
Winston Chang
5683e36733
Add estraverse-fb npm dependency
2016-03-18 14:42:03 -05:00
Winston Chang
f5137b7935
Grunt
2016-03-18 14:16:47 -05:00
Winston Chang
0c2af42c69
Make ESLint gave warnings instead of errors
2016-03-18 14:15:36 -05:00
Winston Chang
760dc5d0c6
Add babel polyfill
2016-03-18 14:15:36 -05:00
Winston Chang
5331aa08a7
Fixes for eslint
2016-03-18 14:15:36 -05:00
Winston Chang
375d7cc7b1
Update eslint rules
2016-03-18 14:15:36 -05:00
Winston Chang
a05f3dd640
Update npm packages
2016-03-18 14:15:36 -05:00
Winston Chang
b91c1b44ba
Switch from jshint to eslint
2016-03-18 14:15:36 -05:00
Winston Chang
6efb01a397
Use Babel for ES6->ES5 transpilation
2016-03-18 14:15:36 -05:00
Barbara Borges Ribeiro
1843eca6c0
Merge pull request #1134 from bborgesr/updateActionButton
...
Verify button icon format and created updateActionButton()
2016-03-18 19:01:50 +00:00
Barbara Borges Ribeiro
506e3e8a48
added another check in the JS to make sure that we're finding the correct icon
2016-03-18 18:55:38 +00:00
Barbara Borges Ribeiro
0e5a3cc5aa
throw error instead of warning in validateIcon(); updated documentation
2016-03-18 15:32:06 +00:00
Barbara Borges Ribeiro
d2dd76e13d
fixed typo
2016-03-17 21:36:51 +00:00
Barbara Borges Ribeiro
470b82fd64
compiled documentation
2016-03-17 21:20:42 +00:00
Barbara Borges Ribeiro
e04dd3a4b1
check icon validity more robustly; set icon=character(0) as the way to get rid of a previous icon; updated documentaion and NEWS
2016-03-17 21:15:49 +00:00
Barbara Borges Ribeiro
2d39e06c97
find i-tag elements with *any* class (to circumvent the issue of selecting italicized text)
2016-03-17 14:55:57 +00:00
Barbara Borges Ribeiro
e1fc74bdc1
updates to input_binding_actionbutton.js and got rid of isIcon function (substituted by simple check instead)
2016-03-17 14:47:48 +00:00
Barbara Borges Ribeiro
3ab5d7f861
verify that button icons are in the right format (not necessarily valid though) and added updateActionButton()
2016-03-15 22:19:21 +00:00
Winston Chang
d63dd6086a
Merge pull request #1129 from bborgesr/newRenderTable
...
Improved renderTable()
2016-03-15 12:43:02 -05:00
Barbara Borges Ribeiro
a8d9895a9b
updated documentation
2016-03-15 16:58:42 +00:00
Barbara Borges Ribeiro
f8a7257af3
improved defaultAlignment function and changed names of spacing value options
2016-03-15 16:47:35 +00:00
Barbara Borges Ribeiro
4703028988
actually with multiple tables, their ids would all be identical (bad), so switched back to using classes to gain specificity
2016-03-15 00:55:48 +00:00
Barbara Borges Ribeiro
87523cdbd5
created table id to add css specificity
2016-03-15 00:38:18 +00:00
Barbara Borges Ribeiro
d9567ed035
check valid spacing
2016-03-15 00:01:52 +00:00
Barbara Borges Ribeiro
0ab277662a
updated documentation
2016-03-14 23:00:15 +00:00
Barbara Borges Ribeiro
2eeb94e39c
changed bordered to spacing with four possible values, rather than only two
2016-03-14 22:48:55 +00:00
Joe Cheng
4b441d10b3
Update reactive graph sample data to include time
2016-03-14 15:37:53 -07:00
Barbara Borges Ribeiro
37a1d3d61e
improved defaultAlignment function
2016-03-14 20:24:41 +00:00
Barbara Borges Ribeiro
3839338c15
mostly spacing
2016-03-14 20:13:08 +00:00
Barbara Borges Ribeiro
bdee5790e6
added alignment default character ("?")
2016-03-14 18:39:51 +00:00
Barbara Borges Ribeiro
d0dab25dae
tried fix
2016-03-14 16:16:22 +00:00
Barbara Borges Ribeiro
b14b7b00c2
actually padding is necessary for headers too
2016-03-14 14:57:38 +00:00
Barbara Borges Ribeiro
248bfcccda
padding on all cells
2016-03-14 14:54:31 +00:00
Barbara Borges Ribeiro
9b5833205b
made the check for empty data frame more robust
2016-03-12 18:24:19 +00:00
Barbara Borges Ribeiro
07f8589090
coerce the input to a data frame (important if the input was a matrix for example, as some parts of the code might not apply)
2016-03-12 18:12:50 +00:00
Barbara Borges Ribeiro
f77f83dfeb
fixed a tiny bug introduced by the previous commit
2016-03-12 18:03:59 +00:00
Barbara Borges Ribeiro
e3d3d916ba
improved regex for substitution (less fragile, less hack-ish)
2016-03-12 17:59:45 +00:00
Barbara Borges Ribeiro
cccf219cd2
simplified alignment vector and got rid of an unnecessary variable
2016-03-12 17:55:05 +00:00
Barbara Borges Ribeiro
0896b2f7b8
initialize header_alignments in a clearer way
2016-03-12 17:36:01 +00:00
Barbara Borges Ribeiro
cc406262ac
added spaces after commas in a couple of places where they were missing
2016-03-12 17:23:43 +00:00
Barbara Borges Ribeiro
0f20063eb8
added "$" to regex to make sure we're subbing "</table>" only at the end of the input
2016-03-12 17:04:29 +00:00
Barbara Borges Ribeiro
5f32b165f2
updated createWrapper() per Joe's suggestion, added spaces between the "="
2016-03-12 16:46:59 +00:00
Winston Chang
3cadd1789b
Merge pull request #1130 from dmpe/master
...
update bootstrap to 3.3.6
2016-03-11 16:03:24 -06:00
dmpe
e486778b36
note to news file and upgrade number in R file
2016-03-11 19:21:25 +01:00
Barbara Borges Ribeiro
7fe6453bbb
vectorized form to add format args to classNames
2016-03-11 16:26:07 +00:00
Barbara Borges Ribeiro
9f88d2b6d6
made isNumber() 1000x more elegant
2016-03-11 16:19:29 +00:00
Barbara Borges Ribeiro
8f9d52699d
return NULL instead of the empty string if no data is provided
2016-03-11 16:00:00 +00:00
Barbara Borges Ribeiro
0a774a8c55
"the" changed to "of"
2016-03-11 15:52:05 +00:00
Barbara Borges Ribeiro
d4ced34a11
2nd update to width documentation (copied straight from plotOutput() )
2016-03-11 15:36:14 +00:00
Barbara Borges Ribeiro
85a762a0b9
updated width documentation
2016-03-11 15:34:34 +00:00
dmpe
b255fecc6e
update bootstrap to 3.3.6
...
see https://github.com/rstudio/shiny/issues/1056
2016-03-11 13:23:38 +01:00
Barbara Borges Ribeiro
734d2e2594
latex bug in documentation (but shouldn't this be allowed?)
2016-03-11 10:58:18 +00:00
Barbara Borges Ribeiro
2e292b4636
commenting and documenting
2016-03-11 10:44:02 +00:00
Barbara Borges Ribeiro
f0bc7356ac
made sure theader is only present the argument colnames is set to TRUE
2016-03-10 23:34:53 +00:00
Winston Chang
1bcb6ab931
Add note about grunt clean
2016-03-10 11:08:15 -06:00
Barbara Borges Ribeiro
ef65937662
replaced format argument with 4 flags (striped, bordered, hover, condensed) and made headers look like bootstrap's
2016-03-09 22:54:11 +00:00
Barbara Borges Ribeiro
3369b8b5b2
finally got headers to align nicely with columns
2016-03-09 01:44:23 +00:00
Winston Chang
28db561cd9
Bump version to 0.13.1.9001 and update NEWS
2016-03-08 17:03:55 -06:00
Winston Chang
0622326e1b
Merge pull request #1126 from rstudio/commas
...
Add code diagnostics for missing/extra commas, and for unmatched }, ), and ]
2016-03-08 17:01:36 -06:00
Winston Chang
c6e2593e4e
Streamline diagnoseCode
2016-03-08 16:54:28 -06:00
Barbara Borges Ribeiro
d0e3279a67
aesthethics
2016-03-08 17:00:42 +00:00
Winston Chang
aee5bda9ec
Add workaround for quartz res bug
...
The quartz device is hard-coded to use 72 ppi in some places, and this
causes problems with grid unit calculations when a value other than 72
is used.
2016-03-08 09:54:01 -06:00
Barbara Borges Ribeiro
979b4a8861
used row.names() function instead of rownames() to avoid naming conflicts
2016-03-07 12:56:00 +00:00
Barbara Borges Ribeiro
c10cd4b474
removed unnecessary css, and garbage collection for renderBootstrapTable
2016-03-07 12:33:43 +00:00
Barbara Borges Ribeiro
4aa1d19845
replaced renderTable with renderBootstrapTable (but kept name renderTable) and ensured backward compatibility
2016-03-07 12:29:43 +00:00
Barbara Borges Ribeiro
7ff51d89fc
check if rownames are numbers or strings
2016-03-07 12:21:39 +00:00
Winston Chang
ea9d94e42f
Add code diagnostics (missing/extra commas)
2016-03-04 15:11:34 -06:00
Barbara Borges Ribeiro
a9ba0fdb0b
added arguments, minimal functional code
2016-03-04 15:13:07 +00:00
Barbara Borges Ribeiro
af19c3331c
added more function arguments
2016-03-04 00:01:09 +00:00
Winston Chang
5e98b930ee
Move tests from inst/ to tests/
2016-03-03 15:00:51 -06:00
Barbara Borges Ribeiro
057d160392
changes to make function compatible with table demo app
2016-03-03 15:54:59 +00:00
Barbara Borges Ribeiro
6b2899c219
fixed small width bug
2016-03-02 15:22:16 +00:00
Barbara Borges Ribeiro
85290e687c
added customizable width
2016-03-02 15:05:50 +00:00
Barbara Borges Ribeiro
d778e81f42
aesthetic changes
2016-03-02 14:03:56 +00:00
Barbara Borges Ribeiro
2bfad21604
added renderBootstrapTable
2016-03-01 15:55:58 +00:00
Winston Chang
373e0d3a9f
Fix NEWS after weird merge
2016-02-22 11:37:30 -06:00
Joe Cheng
5e83403d0c
Update NEWS
2016-02-22 09:30:22 -08:00
Winston Chang
cbe76aab83
Merge pull request #1117 from rstudio/joe/feature/abort-output
...
Add ability to abort the processing of outputs
2016-02-22 11:20:17 -06:00
Joe Cheng
26de088520
s/abortOutput/cancelOutput/; add req option
2016-02-22 09:12:30 -08:00
Winston Chang
98430edb17
Merge branch 'replay-plot'
2016-02-19 13:57:38 -06:00
Winston Chang
48c6784e51
Change 'replay' option to 'execOnResize'
2016-02-19 13:52:36 -06:00
Winston Chang
dc0f5af3ef
Rename 'render' to 'plotObj'
2016-02-19 13:42:54 -06:00
Winston Chang
af85e6f2a6
Merge pull request #1116 from yihui/warn-non-UTF8
...
Closes #810 : check if the input file is encoded in UTF-8 and warn if not
2016-02-19 10:00:49 -06:00
Joe Cheng
4e91af4d64
Add ability to abort the processing of outputs
...
abortOutput() leaves the state of the output unchanged,
unlike req(), validate(), or stop().
2016-02-19 00:33:10 -08:00
Yihui Xie
faf87a5dee
Closes #810 : check if the input file is encoded in UTF-8 and warn if not
...
The validUTF8() function is still in R-devel, and they probably will never export it, so let's use iconv(x, from = 'UTF-8', to = 'UTF-8') to test if x is encoded in UTF-8
also closes #1113
2016-02-19 00:02:25 -06:00
Winston Chang
517c5d356f
Merge tag 'v0.13.1'
...
Manually bumped version to 0.13.1.9000.
2016-02-18 12:45:00 -06:00
Winston Chang
931be22247
Bump version to 0.13.1
2016-02-17 12:03:55 -06:00
Joe Cheng
8697360eb7
Really fix docs.
2016-02-17 11:46:02 -06:00
Joe Cheng
e3a867132a
Use parent.frame() instead of sys.parent()
2016-02-17 11:45:48 -06:00
Joe Cheng
c96debadc5
Fix docs/check
2016-02-17 11:45:16 -06:00
Joe Cheng
02520d4f54
Pass tests. reactive(function() { ... }) is NO LONGER supported.
2016-02-17 11:45:10 -06:00
Joe Cheng
5070b63d5b
Partial fix of debugger breakage
...
There are two problems I'm trying to solve here.
1) Somewhere along the way, exprToFunction gained a hardcoded
assumption that two stack frames up is a variable "expr",
meaning anything that called installExprFunction had to have
the first argument be exactly "expr". I think I got this
fixed, now the only assumption made by both installExprFunc
and exprToFunc is if they are called with quoted = FALSE,
then the caller is merely passing through code that originated
exactly one more level up the stack frame. If the code is
less than one level up, i.e. an end user is directly passing
code into installExprFunction or exprToFunction, then it won't
work; and if the code is more than one level up (someone is
passing code into function A which passes through to function
B which calls installExprFunction, with quoted = FALSE) then
it also won't work.
2) registerDebugHook calls were broken in various places by the
name/envir registered with the hook being different than the
name/envir through which the function was actually called.
This generally seems fixable by moving the registerDebugHook
call closer to the name/envir that will ultimately be called
(e.g. call registerDebugHook directly from wrapFunctionLabel).
There still seems to be a problem here in that breakpoints in
RStudio are hit but then the IDE automatically runs "n" multiple
times. Also the unit tests don't currently pass, I haven't
investigated that yet.
2016-02-17 11:45:01 -06:00
Joe Cheng
eaa722b10d
Fix flexCol on RStudio Desktop for Win/Linux
...
RStudio Desktop requires the older -webkit vendor-prefixed
flex box properties. I missed the one for flex-direction.
2016-02-17 11:32:47 -06:00
Winston Chang
1bc3c90286
Update NEWS
2016-02-16 14:07:49 -06:00
Winston Chang
afd00edee3
Add replay option
2016-02-16 14:07:49 -06:00
Winston Chang
b712398208
If plot code errors, re-execute on resize
2016-02-16 13:39:11 -06:00
Winston Chang
7586e91b4f
Fix coordmap tests
2016-02-15 16:01:34 -06:00
Winston Chang
9eba82c107
Fix vars
2016-02-15 16:01:15 -06:00
Winston Chang
ccdc219a09
More cleanup
2016-02-15 15:39:05 -06:00
Yihui Xie
60d01e76e9
Merge pull request #1109 from vnijs/master
...
Closes #692
2016-02-13 00:38:06 -06:00
mostly-harmless
b5cfd4152e
Fix for https://github.com/rstudio/shiny/issues/692
2016-02-12 22:15:34 -08:00
Winston Chang
32c4c8ae32
Code cleanup
2016-02-12 15:59:10 -06:00
Winston Chang
bd4c506d22
Implement replayPlot when width/height changes
2016-02-12 13:26:41 -06:00
Winston Chang
476dd7cd56
Collect needed data structures
2016-02-11 14:45:43 -06:00
Winston Chang
8176f84715
Restructure ggplot2 coordmap extraction
2016-02-11 14:25:20 -06:00
Winston Chang
6bd33721d8
Separate rendering code into a reactive
2016-02-11 12:27:16 -06:00
Winston Chang
c9d9671288
More restructuring
2016-02-11 12:25:38 -06:00
Winston Chang
2a821edf5f
Small restructure of renderPlot
2016-02-11 12:25:38 -06:00
Winston Chang
68b85bdc87
Merge branch 'fix-plot-flicker2'
2016-02-11 12:20:45 -06:00
Winston Chang
83cf5907c3
Merge pull request #1072 from rstudio/rm-do-call
...
Remove unneeded do.call
2016-02-11 10:24:47 -06:00
Winston Chang
c912b6547c
Merge pull request #1106 from yihui/travis-cache
...
Set sudo to false explicitly to enable caching
2016-02-11 10:23:08 -06:00
Yihui Xie
bf04b74f87
Set sudo to false explicitly to enable caching
2016-02-10 13:34:24 -06:00
Joe Cheng
9d1e008990
Merge pull request #1099 from rstudio/joe/bugfix/debug-fix
...
Partial fix of debugger breakage
2016-02-10 08:15:59 -08:00
Joe Cheng
d9e5285a3b
Really fix docs.
2016-02-09 16:29:15 -08:00
Joe Cheng
84937b7a0b
Use parent.frame() instead of sys.parent()
2016-02-09 16:29:15 -08:00
Joe Cheng
924b3e16cf
Fix docs/check
2016-02-09 16:29:15 -08:00
Joe Cheng
2a8cf01410
Pass tests. reactive(function() { ... }) is NO LONGER supported.
2016-02-09 16:29:14 -08:00
Joe Cheng
a3a5cfee6c
Partial fix of debugger breakage
...
There are two problems I'm trying to solve here.
1) Somewhere along the way, exprToFunction gained a hardcoded
assumption that two stack frames up is a variable "expr",
meaning anything that called installExprFunction had to have
the first argument be exactly "expr". I think I got this
fixed, now the only assumption made by both installExprFunc
and exprToFunc is if they are called with quoted = FALSE,
then the caller is merely passing through code that originated
exactly one more level up the stack frame. If the code is
less than one level up, i.e. an end user is directly passing
code into installExprFunction or exprToFunction, then it won't
work; and if the code is more than one level up (someone is
passing code into function A which passes through to function
B which calls installExprFunction, with quoted = FALSE) then
it also won't work.
2) registerDebugHook calls were broken in various places by the
name/envir registered with the hook being different than the
name/envir through which the function was actually called.
This generally seems fixable by moving the registerDebugHook
call closer to the name/envir that will ultimately be called
(e.g. call registerDebugHook directly from wrapFunctionLabel).
There still seems to be a problem here in that breakpoints in
RStudio are hit but then the IDE automatically runs "n" multiple
times. Also the unit tests don't currently pass, I haven't
investigated that yet.
2016-02-09 16:29:14 -08:00
Joe Cheng
2c04441591
Merge pull request #1105 from rstudio/travis-update
...
Take advantage of new travis features
2016-02-09 16:28:33 -08:00
Winston Chang
a4eab8e216
Grunt
2016-02-09 16:03:59 -06:00
Winston Chang
189f9589d4
Unset attributes in img that aren't present in new data
2016-02-09 16:02:39 -06:00
Hadley Wickham
880721e0d0
Take advantage of new travis features
...
This will cache package install between checks, which should make it run quite a bit faster - this is what @jimhester's has been working on
2016-02-09 14:02:33 -06:00
Winston Chang
6ab65e2031
Fix plot flickering on Safari and Firefox. Closes #776
...
Previously, a new img tag was added when a new plot was sent, but now it uses
the same img tag and changes the src attribute.
2016-02-09 11:08:25 -06:00
Winston Chang
e871934cfd
Fix package name for Travis
2016-02-06 14:46:51 -06:00
Winston Chang
686390c1f2
Merge pull request #1096 from yihui/bugfix/datatables-warning
...
Fixes #561 : make sure DataTables always gets a correct number of columns of data
2016-02-04 10:12:56 -06:00
Yihui Xie
a8b9fb1708
use the CRAN version of htmltools
2016-02-03 14:02:24 -06:00
Yihui Xie
55d3764169
Fixes #561 : should discard the query when the number of columns in the request is different with the number of columns of the actual data
2016-02-03 10:54:37 -06:00
Winston Chang
cb5bc3d631
Merge pull request #1088 from rstudio/joe/bugfix/flexcol
...
Fix flexCol on RStudio Desktop for Win/Linux
2016-01-20 12:12:51 -06:00
Joe Cheng
543e66eb00
Fix flexCol on RStudio Desktop for Win/Linux
...
RStudio Desktop requires the older -webkit vendor-prefixed
flex box properties. I missed the one for flex-direction.
2016-01-20 09:20:22 -08:00
Winston Chang
b658983fb8
Remove JavaScript events vignette
...
This vignette has been migrated to a Shiny Dev Center article.
2016-01-15 15:30:24 -06:00
Winston Chang
cfb3e42337
Merge pull request #1080 from rstudio/internal-messages
...
Don't use sendCustomMessage for messages internal to Shiny
2016-01-15 12:19:23 -06:00
Winston Chang
36815b5e43
Concat and minify shiny.js
2016-01-15 11:54:10 -06:00
Winston Chang
897e077aca
Convert internal use of sendCustomMessage to sendMessage
2016-01-15 11:53:51 -06:00
Winston Chang
f395960ffa
Add session$sendMessage wrapper function
2016-01-15 11:46:23 -06:00
Winston Chang
fb301717f5
Bump version to 0.13.0.9000
2016-01-14 10:49:08 -06:00
Winston Chang
46da93519f
Bump version to 0.13.0
2016-01-12 13:33:14 -06:00
Winston Chang
ce0f2c51a9
Use explicit namespaces
2016-01-12 13:33:14 -06:00
Winston Chang
04b4b8da4f
Use --run-donttest when checking package
2016-01-12 13:16:18 -06:00
Winston Chang
877d7451dd
Merge pull request #1073 from rstudio/joe/staticdocs-tweaks
...
Tweaks for improved staticdocs rendering
2016-01-12 13:00:07 -06:00
Joe Cheng
7e6a68a2b1
CRAN maintainers prefer \donttest over \dontrun
2016-01-12 10:10:16 -08:00
Joe Cheng
caca515ba0
Tweaks for improved staticdocs rendering
...
- \donttest -> \dontrun, otherwise staticdocs hangs
- Put NS before ns.sep so usage entries are in a better order
2016-01-11 12:20:19 -08:00
Winston Chang
d548b78dee
Remove unneeded do.call
...
It's OK to remove this do.call now that we are using R6 instead of Ref Classes.
2016-01-08 16:19:08 -06:00
Joe Cheng
f2410abc48
Merge remote-tracking branch 'origin/image-attr'
...
Conflicts:
inst/www/shared/shiny.js
inst/www/shared/shiny.js.map
inst/www/shared/shiny.min.js
inst/www/shared/shiny.min.js.map
2016-01-08 10:55:21 -08:00
Joe Cheng
483a7d34c5
Merge pull request #1071 from rstudio/fix-hidden-slider
...
Fix hidden slider
2016-01-08 10:53:00 -08:00
Winston Chang
e872411285
Build and minify shiny.js
2016-01-08 10:00:22 -06:00
Winston Chang
fc7e6bf542
Revert "Simpler fix for updating hidden sliders ( #1010 )"
...
This reverts commit 4e1caee7da .
See https://github.com/rstudio/shiny/issues/1010#issuecomment-169971201
2016-01-08 10:00:05 -06:00
Winston Chang
16d42b6421
Add bootstrapLib to staticdocs index
2016-01-07 13:51:56 -06:00
Winston Chang
2f25d25eec
Use setAttribute() function to set image attributes. Fixes #936
2016-01-06 15:03:18 -06:00
Winston Chang
be1081a4b9
Add note about printing ggplot2 graphics
2016-01-06 14:11:16 -06:00
Joe Cheng
1608b652d7
Fix unnecessary :::
2016-01-05 14:02:16 -08:00
Winston Chang
5dd19a878c
Bump version to 0.2.12.9009
2016-01-05 15:59:19 -06:00
Winston Chang
3314f4b5b8
Update NEWS
2016-01-05 15:59:11 -06:00
Winston Chang
5977e0fe89
Update NEWS
2016-01-05 15:30:59 -06:00
Winston Chang
f477dcba4a
Merge pull request #1068 from rstudio/template-bootstrap
...
Pull out bootstrapLib into separate function
2016-01-05 15:30:32 -06:00
Winston Chang
6c5f0c5379
Pull out bootstrapLib into separate function
2016-01-05 14:57:53 -06:00
Winston Chang
257eb1bed0
Merge pull request #1067 from rstudio/joe/bugfix/module-progress
...
Fix progress for Shiny modules
2016-01-05 11:59:18 -06:00
Joe Cheng
9c4d142c2d
Fix progress for Shiny modules
...
Too-specific class check was being used, interfered with the
"duck typed" session-like objects we use for modules.
2016-01-05 09:41:52 -08:00
Winston Chang
8e89a1f154
Add README file with info about jQuery UI
2016-01-05 11:03:34 -06:00
Winston Chang
b0952c0374
Use jQuery UI build without datepicker. Fixes #1042
2016-01-05 11:03:07 -06:00
Winston Chang
ac95dcb3f2
Fix head content location
2016-01-04 10:52:26 -06:00
Joe Cheng
ce4043f038
Update metadata
2015-12-31 11:07:35 -08:00
Joe Cheng
0d26857e31
Merge pull request #1031 from rstudio/template
...
Use templates from htmltools
2015-12-31 11:03:14 -08:00
Joe Cheng
85bea95f6b
Merge pull request #1029 from rstudio/joe/feature/knit_print.reactive
...
Add knit_print.reactive
2015-12-30 14:31:26 -08:00
Winston Chang
10a46c507f
Merge pull request #1059 from rstudio/joe/bugfix/gadgets
...
Fix stopApp bug, and fix flex box in RStudio
2015-12-30 09:38:24 -06:00
Joe Cheng
d35d76e1d0
Use flex box layout vendor prefixes
...
This fixes fillRow/fillCol for RStudio on Windows and Linux
2015-12-29 15:59:04 -08:00
Joe Cheng
aaa05b22df
Return stopApp value without visibility info
2015-12-29 15:57:23 -08:00
Winston Chang
c5fa30f0de
Make encoding tests work cleanly on different platforms
2015-12-29 15:41:49 -06:00
Joe Cheng
43fe1a9a0e
Merge pull request #1057 from rstudio/joe/feature/gadget-cancel
...
runGadget automatically handles cancel button
2015-12-28 14:18:17 -08:00
Joe Cheng
aa296fcb69
Don't show call when user cancels gadget
2015-12-28 13:56:01 -08:00
Joe Cheng
b9c7023489
Refactor server function arg matching
2015-12-28 12:43:06 -08:00
Joe Cheng
efcd286039
Code review feedback
2015-12-28 11:56:13 -08:00
Joe Cheng
98014f9495
Code review feedback
2015-12-28 11:53:52 -08:00
Joe Cheng
2702a18ea2
Add stopApp test
2015-12-28 11:18:15 -08:00
Joe Cheng
4a8da3e1e2
runGadget handles cancel automatically (by default)
2015-12-27 23:46:47 -08:00
Joe Cheng
cfe38c00f3
Proper visibility and error handling from stopApp
2015-12-27 23:35:09 -08:00
Joe Cheng
af0463ed46
Update metadata
2015-12-23 17:47:24 -08:00
Joe Cheng
c02f4691e0
Merge pull request #1054 from rstudio/joe/feature/runGadget
...
Migrate runGadget and viewer functions from shinygadgets
2015-12-23 17:45:12 -08:00
Joe Cheng
5d89393fff
Merge pull request #1039 from rstudio/joe/feature/fillPage
...
Add fillPage, flexRow, flexCol
2015-12-23 17:44:56 -08:00
Joe Cheng
e7ce28204b
Remove dependency on newer htmltools
...
The css function is in htmltools 0.2.11, which isn't on CRAN
yet. Due to a perfect storm of release scheduling we need to
get fillPage onto shiny master before we have a chance to
put htmltools on CRAN.
2015-12-23 17:32:46 -08:00
Joe Cheng
8fc4a75e8c
Specify remote repo for htmltools
...
Makes devtools install easier
2015-12-23 17:31:11 -08:00
Joe Cheng
26c89a09e8
Update staticdocs index
2015-12-23 17:31:11 -08:00
Joe Cheng
25a1493520
Add details to fillRow doc about containers
2015-12-23 17:31:10 -08:00
Joe Cheng
b18722f776
flex:none is more appropriate than flex:initial for weight=NA
2015-12-23 17:31:10 -08:00
Joe Cheng
3f3fd9ae21
Install htmltools from github until 0.2.11 goes to cran
2015-12-23 17:31:10 -08:00
Joe Cheng
94ea3c7dab
Require htmltools 0.2.11
2015-12-23 17:31:10 -08:00
Joe Cheng
6c2fea7926
Rename flexRow/flexCol to fillRow/fillCol, other tweaks
...
I decided against the name flexRow/flexCol as the "flex" prefix
is too general for these implementations, which are mostly just
useful for filling the space with the children. Flex box has a
lot more features than that, such as centering, wrapping,
justifying, etc., but I don't currently know how to design an
API that presents the full power of flex box without also
presenting the full complexity of it as well.
This commit also includes some tweaks to the impl of flexfill
to fix the behavior of children with 100% size along the main
axis, and also introduces support for NA flex values, which
sizes the flex item according to its contents.
2015-12-23 17:31:10 -08:00
Joe Cheng
e08fd47b0e
Add fillPage, flexRow, flexCol
2015-12-23 17:31:05 -08:00
Joe Cheng
0fd76e8768
Migrate runGadget and viewer functions from shinygadgets
2015-12-23 15:33:30 -08:00
Joe Cheng
72aaf3055a
Update NEWS
2015-12-23 11:46:03 -08:00
Winston Chang
94a943a68c
Merge pull request #1052 from rstudio/joe/font-awesome-4.5.0
...
Upgrade Font Awesome to 4.5.0
2015-12-23 13:08:27 -06:00
Joe Cheng
e867dcfdb1
Upgrade Font Awesome to 4.5.0
2015-12-23 11:03:33 -08:00
Joe Cheng
9a22a89b06
Add docs
2015-12-23 09:42:29 -08:00
Joe Cheng
791e8200bc
Install htmltools from github until 0.2.11 goes to cran
2015-12-22 14:06:51 -08:00
Joe Cheng
d96217d49a
Merge pull request #1049 from rstudio/joe/bugfix/http-iframe-stampede
...
Defer subapp iframe loading
2015-12-22 12:26:49 -08:00
Joe Cheng
6bfd65aa19
Guard against window.Shiny not being defined
2015-12-22 11:53:36 -08:00
Joe Cheng
2da9bc07ac
Defer subapp iframe loading until main app has loaded
...
Fixes #1047 defer loading of iframes
2015-12-22 11:14:12 -08:00
Joe Cheng
6d7a562b7a
Fix staticdocs
...
Without this fix, current version of staticdocs won't pull plotOutput
into the index page.
2015-12-21 11:57:01 -08:00
Joe Cheng
0aa1dfb8e1
Merge pull request #1032 from yihui/yihui/encoding-tests
...
Add some tests for character encodings
2015-12-17 13:36:26 -08:00
Winston Chang
e9e7dc298f
Merge pull request #1037 from rstudio/joe/feature/req
...
Add `req` function for validating required inputs/values
2015-12-17 14:39:40 -06:00
Joe Cheng
ed3b71e396
Remove unnecessary environment() call
2015-12-17 11:58:17 -08:00
Joe Cheng
3450a037a9
Further simplification and more tests for req()
2015-12-17 11:29:54 -08:00
Joe Cheng
f57626d256
req() simplification
2015-12-17 11:16:09 -08:00
Joe Cheng
c1c3fa4d3a
Fix a couple of req edge cases
2015-12-17 11:13:33 -08:00
Joe Cheng
300433f7de
req() now short-circuits on falsy values
2015-12-17 10:53:13 -08:00
Joe Cheng
eee6f4ed81
Add req function for validating required inputs/values
2015-12-16 10:04:05 -08:00
Joe Cheng
2eb29bd8aa
Merge pull request #1034 from rstudio/fix-hidden-slider
...
Simpler fix for updating hidden sliders (#1010 )
2015-12-15 15:57:11 -08:00
Joe Cheng
3a0ce86f51
Remove unnecessary check (feedback from @wch)
2015-12-15 15:36:43 -08:00
Joe Cheng
6041b8cbb2
Roxygenize
2015-12-14 18:00:29 -08:00
Joe Cheng
3ba8fcb7b8
Merge pull request #1036 from rstudio/joe/bugfix/validation-error-behavior
...
Fix validation error handling
2015-12-14 17:16:04 -08:00
Joe Cheng
f74d9c93a2
Merge pull request #1035 from rstudio/joe/bugfix/multiline-label
...
Fix warnings when renderXXX is called with explicit namespace
2015-12-14 17:15:50 -08:00
Joe Cheng
739c162281
Fix warnings when renderXXX is called with explicit namespace
...
Calling shiny::renderText(...) instead of renderText(...) would
cause warnings.
2015-12-14 17:11:40 -08:00
Joe Cheng
a2700c900d
Fix validation error handling
...
Validation errors were behaving too much like real errors: they were
being printed with stack traces, and passed to the options(shiny.error)
function. Also, if a reactive() cached a validation error, on future
calls the error would be re-raised (which is correct) without the
custom class names attached (which is not).
2015-12-14 16:31:57 -08:00
Winston Chang
4e1caee7da
Simpler fix for updating hidden sliders ( #1010 )
...
This also reverts the previous fix, #1026
2015-12-10 15:49:23 -06:00
Yihui Xie
76a54249bb
Add some tests for character encodings
2015-12-10 15:23:31 -06:00
Winston Chang
0e894cb043
Use templates from htmltools
2015-12-10 15:11:03 -06:00
Winston Chang
01bbee59eb
Merge pull request #1023 from yihui/bugfix/1018
...
Fixes #1018 : make sure the selected value is always returned from sever-side selectize
2015-12-10 13:44:24 -06:00
Joe Cheng
26a0c3520c
Add knit_print.reactive
...
Allows us to drop reactive expressions right into Rmd docs
with runtime:shiny and have them stay up-to-date.
2015-12-09 16:34:55 -08:00
Yihui Xie
6056c35de3
add a news item, and run grunt
2015-12-09 11:56:13 -06:00
Yihui Xie
4202991ca5
Fixes #1018 : make sure the selected value is always returned from server-side selectize
2015-12-09 11:52:50 -06:00
Joe Cheng
788931c7c7
Merge pull request #1027 from yihui/yihui/srcfilecopy
...
Check R version at runtime (#968 )
2015-12-09 09:48:59 -08:00
Yihui Xie
b2d0505c7c
Check R version at runtime ( #968 )
2015-12-08 20:33:52 -06:00
Winston Chang
8b710d651f
Merge pull request #1026 from rstudio/joe/bugfix/hidden-slider-update
...
Fix #1010 : updateSliderInput doesn't update hidden sliders
2015-12-08 19:50:12 -06:00
Joe Cheng
93697bb01d
Merge pull request #1025 from yihui/bugfix/source-utf8
...
Fixes #1003 : correctly parse source code that can be represented with native encoding
2015-12-08 15:51:51 -08:00
Joe Cheng
89cd58e4f8
Fix #1010 : updateSliderInput doesn't update hidden sliders
2015-12-08 11:13:18 -08:00
Yihui Xie
a622f029a0
Fixes #1003 : when the source code can be represented via the native encoding on Windows, rewrite the code to a temporary file with the native encoding and parse it
2015-12-07 16:28:45 -06:00
Winston Chang
97afb52904
Re-document with Roxygen2 5.0.1
2015-12-02 15:43:25 -06:00
Joe Cheng
02ea31be08
Fix #1020 : Graphics are cut off
2015-12-01 13:47:26 -08:00
david.zotloeterer
d1353e8eae
fixed custom message obj
2015-12-01 13:36:32 +01:00
david.zotloeterer
935a76d16b
cleanup
2015-12-01 13:29:41 +01:00
david.zotloeterer
db4c41f420
grunted
2015-12-01 12:59:48 +01:00
david.zotloeterer
62f5af8e0b
fixed typo
2015-12-01 12:42:05 +01:00
david.zotloeterer
ff9aefb649
more tagging
2015-12-01 12:39:41 +01:00
david.zotloeterer
2b10d03e1f
added binary tags
2015-12-01 12:11:44 +01:00
david.zotloeterer
a27efbd937
added binary messages, yes, ws can do dat!
2015-12-01 12:03:07 +01:00
Joe Cheng
b5e49a6619
Fix bugs reported by @daattali
...
- reactive srcrefToLabel call fails if code is pasted in at RStudio console
- Stack trace fails when promise (!?) is in call stack
2015-11-24 11:55:08 -08:00
Joe Cheng
179c931f85
Bump version
2015-11-23 10:58:30 -08:00
Joe Cheng
4d3fa2c8ac
Merge pull request #1011 from rstudio/joe/feature/better-errors
...
Better errors
2015-11-20 12:56:24 -08:00
Joe Cheng
8e4f7387d0
Better stack traces for observeEvent and eventReactive
2015-11-16 13:10:53 -08:00
Joe Cheng
feb630b2c5
Catch errors when trying to print stack trace
...
No known errors will occur when printing the stack trace, but since
this is fairly complicated code executing when an error has already
happened, better to be on the defensive.
2015-11-16 13:08:34 -08:00
Joe Cheng
948dfbb56b
More tests
2015-11-16 12:50:20 -08:00
Joe Cheng
5c3ac75b34
Errors in ui function should get stack traces
2015-11-16 12:46:22 -08:00
Joe Cheng
adc5c8e37a
Normalize shiny dir in smoketest stack traces
2015-11-16 12:45:59 -08:00
Joe Cheng
52d594c143
Quick and dirty smoke test infrastructure
2015-11-16 12:29:02 -08:00
Joe Cheng
1018b0d966
Errors in ui.R, server.R, server func, etc. all get stack traces
2015-11-16 10:48:16 -08:00
Joe Cheng
0ce153d788
Doc updates
...
Code had to be rearranged to make the functions show up in the
help docs in the right order
2015-11-14 00:26:23 -08:00
Joe Cheng
ff9756c739
Add more exports, tests
2015-11-14 00:17:19 -08:00
Joe Cheng
b3dd7e5397
Remove support for shiny.observer.error option
...
It is dangerous to set this on a per-process basis. If we even
still want the ability to have observer errors not kill the
session (debatable) we should do so by having an option on the
session object that is set when the shiny server function runs.
Not only does this remove support for the option, but now we
will refuse to connect and will abort the session if the option
is set to a non-NULL value. This is to prevent apps from moving
forward with the assumption that their option will work, when
it really won't. (I doubt anyone is using it anyway, it's so
obscure...)
2015-11-13 18:13:14 -08:00
Joe Cheng
6ac0a80896
Update NEWS with stack trace announcement
2015-11-13 17:58:18 -08:00
Joe Cheng
93f774c7e7
Add exports/docs
2015-11-13 17:52:26 -08:00
Joe Cheng
661c08549d
Automatically wrap installExprFunction with function labels
...
This lowers the burden on renderXXX functions having nice stack traces
2015-11-13 16:43:15 -08:00
Joe Cheng
c8acc44012
Add comments to stacktraceon/off directives indicating their partners
2015-11-13 16:25:22 -08:00
Joe Cheng
aabf00659e
Random improvements to stack traces
...
- More selective removal of frames at end of call stack
- Add withLogErrors, printError, stripStackTrace convenience funcs
- Properly capture/log errors for various levels of unhandled errors
- Unhide stacks for flush/flushed/sessionended callbacks
2015-11-13 16:03:18 -08:00
Joe Cheng
a9bc41492c
Collapse stack trace to eliminate irrelevant bits
2015-11-13 12:36:55 -08:00
Winston Chang
12b0484e9a
Merge pull request #875 from wch/rendertable-args
...
Separate xtable from print.xtable args. Closes #761
2015-11-13 11:48:41 -06:00
Joe Cheng
d3605dbcb3
Collapse parts of the stack
2015-11-12 16:40:56 -08:00
Joe Cheng
d9a016f94c
Move error-handling logic into conditions.R
2015-11-11 16:20:26 -08:00
Joe Cheng
a13657ac23
Work properly with non-call sys.call() objects
2015-11-11 15:54:03 -08:00
Joe Cheng
d6c95a9e89
wip
2015-11-11 12:14:42 -08:00
Winston Chang
825e9e04c1
Get xtable args using formals()
2015-11-05 13:04:43 -06:00
Winston Chang
c596e44c5a
Separate xtable from print.xtable args. Closes #761
2015-11-05 13:01:01 -06:00
Winston Chang
66be9004fe
Move renderTable to separate file
2015-11-05 12:59:04 -06:00
Winston Chang
119ebb0f07
Merge pull request #1005 from rstudio/joe/bootstrap-3.3.5
...
Upgrade bootstrap to 3.3.5
2015-11-05 12:43:34 -06:00
Joe Cheng
d509fcac29
Merge pull request #1004 from rstudio/joe/feature/autoreload
...
Implement autoreload
2015-11-05 10:43:13 -08:00
Joe Cheng
c79e933586
Merge pull request #1002 from rstudio/joe/bugfix/nested-scopes
...
Fix nested scopes
2015-11-05 10:32:23 -08:00
Joe Cheng
3c3cfc02a0
Merge pull request #997 from wch/download-fix
...
Update download to work correctly with R 3.2.2 on Mac. Fixes #996
2015-11-05 10:27:51 -08:00
Joe Cheng
e32de7b940
Update bootstrap htmlDependency version
2015-11-05 07:38:00 -08:00
Joe Cheng
d7b1759afb
Upgrade bootstrap to 3.3.5
2015-11-04 22:56:31 -08:00
Joe Cheng
e391c1fda3
Implement autoreload
2015-11-04 13:44:38 -08:00
Joe Cheng
46d8d3b469
Fix nested scopes
...
The session$makeScope function was not correctly taking the session's
own namespace into account (i.e. all makeScope() method calls were
being performed against the root session).
2015-11-03 12:33:39 -08:00
Joe Cheng
9fde7509fa
Merge pull request #1000 from rstudio/joe/feature/invalidatelater-default-session
...
Don't require session to be explicitly passed to invalidateLater
2015-11-02 16:21:43 -08:00
Joe Cheng
a767a61f43
Don't require session to be explicitly passed to invalidateLater
...
These functions were created before getDefaultReactiveDomain()
existed, so the only way to get ahold of the current session was
if the caller explicitly passed it.
This is slightly backwards incompatible, in that existing calls
to invalidateLater() that don't pass a session argument will
behave slightly differently (bound to the current session instead
of to no session), but those calls would have triggered a warning
for all but the very earliest versions of Shiny.
2015-11-02 14:19:29 -08:00
Joe Cheng
ad28e03536
Merge pull request #999 from yihui/bugfix/ie9-upload
...
Fixes #990 : revert to checking if FileList is supported by the browser
2015-11-02 11:13:57 -08:00
Yihui Xie
5f9e9c2e03
grunt
2015-11-02 12:21:56 -06:00
Yihui Xie
2be6d7a65c
Fixes #990 : revert to checking if FileList is supported by the browser, instead of checking IE8 literally (partially reverted a41e1dafc2)
2015-11-02 12:21:30 -06:00
Winston Chang
712c4cb985
Update download to work correctly with R 3.2.2 on Mac. Fixes #996
2015-10-30 12:08:48 -05:00
Winston Chang
7948a0a4fa
Merge pull request #993 from rstudio/joe/feature/reactlog-labels
...
Cleaner reactlog labels for reactives and outputs
2015-10-30 11:57:57 -05:00
Joe Cheng
ce9e95f256
Fix parseQueryString example (thanks Chris Beeley)
2015-10-29 16:15:47 -07:00
Joe Cheng
7ed5ca94a2
reactlog label code review feedback
...
- Don't clobber explicitly-provided label
- Let `reactives$x1 <- reactive(...)` work
2015-10-29 10:27:06 -07:00
Winston Chang
e635589c52
Merge pull request #992 from rstudio/joe/feature/reactlog-time
...
Add timing data to reactlog entries
2015-10-29 10:06:08 -05:00
Joe Cheng
490721437f
Merge pull request #994 from RCura/patch-1
...
Correct a regression within modules
2015-10-28 18:23:36 -07:00
Robin Cura
7e25a1566f
Correct a regression within modules
...
Commit 07f2792cf9 introduced an error, replacing `e$parent = parentSession` with `e$parent <= parentSession`, while it should have been `e$parent <- parentSession`
2015-10-29 02:03:12 +01:00
Joe Cheng
c08b3b0c30
Update metadata
2015-10-28 15:30:07 -07:00
Joe Cheng
f1de132a2a
Merge pull request #988 from rstudio/joe/feature/namespaces
...
Shiny modules
2015-10-28 15:22:57 -07:00
Joe Cheng
c440c60bdf
Cleaner reactlog labels for reactives and outputs
...
Instead of showing the code, try to just show the name
of the reactive/output. Uses a fairly flaky algorithm
for determining the name of the reactive; will only
work in cases where the definition of the reactive
begins with "foo <- reactive({".
2015-10-28 14:37:00 -07:00
Joe Cheng
c367176a17
Add timing data to reactlog entries
2015-10-28 13:49:39 -07:00
Joe Cheng
3d13c39a4c
Also override registerDataObj (essential for data table, DT, and selectize server mode)
2015-10-27 16:33:46 -07:00
Joe Cheng
07f2792cf9
Change evil = to righteous <-
2015-10-27 15:01:44 -07:00
Joe Cheng
303fce5f15
Merge pull request #983 from wch/clear-checkbox
...
updateCheckboxGroup: allow clearing all choices. Fixes #981
2015-10-27 15:00:20 -07:00
Joe Cheng
46c8bfdd34
Merge pull request #979 from wch/profiling-enhancements
...
Enhancements to help profiling
2015-10-27 14:59:59 -07:00
Winston Chang
c36a22ad5e
Add information about clearing choices
2015-10-23 16:04:17 -05:00
Winston Chang
49eba95a9c
Simplify function naming
2015-10-23 15:48:33 -05:00
Winston Chang
2dacc6ce40
Use cleaner method for generating function
2015-10-23 15:44:24 -05:00
Winston Chang
5ccf02f5c3
Merge pull request #984 from rstudio/update-jquery
...
Update to jQuery 1.11.3 and jQuery UI 1.11.4
2015-10-23 15:08:27 -05:00
Joe Cheng
86c67de8ff
Add session$ns(); some light refactoring; add tests; fix staticdocs
2015-10-20 23:49:24 -07:00
Joe Cheng
dac7eb5997
Simplify modules, by removing moduleUI and path arguments
2015-10-20 15:12:11 -07:00
Winston Chang
fd725552a5
Update to jQuery UI 1.11.4
2015-10-19 13:44:23 -05:00
Winston Chang
1e1a897970
Update to jQuery 1.11.3
2015-10-19 13:31:44 -05:00
Joe Cheng
59a643c006
Update metadata
2015-10-16 10:24:05 -07:00
Joe Cheng
1a492208e6
Merge pull request #982 from rstudio/feature/single-file-runapp
...
Let runApp accept single .R file parameters
2015-10-16 10:16:29 -07:00
Winston Chang
bc0a19f55d
updateCheckboxGroup: allow clearing all choices. Fixes #981
2015-10-16 11:44:09 -05:00
Jonathan McPherson
85e2e00bc4
let runApp accept single .R file parameters
2015-10-16 09:22:44 -07:00
Joe Cheng
93dd8bbf28
Merge pull request #980 from rstudio/joe/bugfix/select-value-escaping
...
Fix improperly escaped quote chars in select choices
2015-10-15 12:56:54 -07:00
Joe Cheng
2f15a219df
Fix improperly escaped quote chars in select choices
2015-10-15 12:49:50 -07:00
Yihui Xie
4fc73b1344
A news item for #968
2015-10-15 13:45:00 -05:00
Joe Cheng
48b56ba08d
Merge pull request #968 from yihui/bugfix/961-unicode
...
A more fundamental fix to the Unicode issue
2015-10-15 11:17:45 -07:00
Joe Cheng
94ca733c7c
Merge pull request #967 from rstudio/joe/bugfix/placeholder
...
Add placeholder parameter to textInput
2015-10-15 11:15:10 -07:00
Winston Chang
4af2436a0e
Rename 'func' to more descriptive name
2015-10-14 16:40:33 -05:00
Winston Chang
20c2bb9d50
Simplify try(tryCatch()) to just tryCatch()
...
This also has the benefit of printing a more helpful error message at
the console. It now indicates which output an error occurred in.
2015-10-14 16:40:33 -05:00
Winston Chang
33bac0db3c
Add function relabeler and relabel outputs
2015-10-14 16:40:33 -05:00
Winston Chang
8893db9098
Update NEWS
2015-10-12 22:39:51 -05:00
Winston Chang
c46658a5c8
Correctly handle unit and unit.list objects. Closes #962
2015-10-12 22:31:32 -05:00
Joe Cheng
5f651aed3e
LICENSE typo
2015-10-12 12:32:00 -04:00
Joe Cheng
534bc9c6e2
Pass tests
2015-10-05 15:15:54 -04:00
Joe Cheng
bb09885237
Add callModule/moduleUI functions; scope sendInputMessage
2015-10-05 14:56:01 -04:00
Joe Cheng
3ff6aaa6db
Add namespacing functionality
...
- Need to carefully review ShinySession, think about
each and every public method and whether it should
be passthrough or do something different for a
namespaced session.
- It would be nice if we do the namespace splitting
at the server.R level and actually have numerous
reactivevalues objects for inputs, one for each
namespace. This will make the reactive hooks for
names() and reactiveValuesToList() correct, as
right now they will oversubscribe if you're in a
namespaced session. Also it would prevent outer
sessions from seeing the values of their child
namespaces. (Though is that good or bad...?)
2015-10-02 12:51:18 -07:00
Joe Cheng
fa7c034d16
Merge pull request #955 from rstudio/joe/feature/reactlog-bysession
...
Fix couple of issues with reactlog
2015-09-24 09:54:35 -07:00
Joe Cheng
ca870ccd75
Merge pull request #966 from rstudio/joe/bugfix/showcase-highlighting
...
Fix highlighting of reactives in showcase mode
2015-09-24 09:54:01 -07:00
Yihui Xie
89fe2ff217
a more fundamental fix of the Unicode issue
...
for R <= 3.2.2, Unicode chars don't work for shiny mainly because we want to
preserve the source reference, and unfortunately srcfilecopy() fails because of
the bug https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16264
here I use lines = '' to get around the bug, and assign the source lines to
the srcfile object later, so there is no grep("\n", multibyte_chars) occuring
I also replaced source() with a custom version, which is much simpler and works
better with Unicode chars
2015-09-23 23:00:20 -05:00
Joe Cheng
6c6775376e
Add placeholder parameter to textInput
2015-09-23 18:28:08 -07:00
Yihui Xie
bd3b3881d8
after reading a file as UTF-8, try to convert it to native encoding on Windows only if the conversion is not lossy
2015-09-23 18:33:01 -05:00
Yihui Xie
078189599c
the check is.na(iconv(x, 'UTF-8')) does not really make sense
...
e.g. iconv('\u2264', 'UTF-8') converts the smaller than or equal sign to an
equal sign in the English (US) locale, which is lossy
we just assume the input is UTF-8 instead, and do not fall back to native
encoding any more
2015-09-23 18:31:16 -05:00
Yihui Xie
9afcd2a411
don't declare encoding on the anonymouse file connection
...
otherwise writeLines(useBytes = TRUE) may not work (#961 )
2015-09-22 01:11:38 -05:00
Yihui Xie
0afd1649c1
textConnection() can be lossy; use an anonymous file connection instead to preserve UTF-8 characters
2015-09-22 01:11:37 -05:00
Yihui Xie
0947a63103
make sure writeLines() does not convert text to native encoding
2015-09-22 01:11:32 -05:00
Yihui Xie
79223bddc5
make sure the UI HTML is rendered into a connection with UTF-8 encoding
2015-09-21 22:25:12 -05:00
Yihui Xie
1871dd6b71
convert the result of readLines() to UTF-8 using enc2utf8() instead, since enc2native() can be lossy
2015-09-21 21:49:12 -05:00
Yihui Xie
4adc3088d1
fixes #961 : the JSON string from jsonlite::toJSON() is always encoded in UTF-8, so there is no need to re-encode it
...
actually re-encoding the string with native encoding can be lossy (some UTF-8 characters may not be representable in the native encoding)
2015-09-21 21:46:11 -05:00
Yihui Xie
79dd7e1bf5
shiny requires R >= 3.0.0
2015-09-21 21:44:03 -05:00
Joe Cheng
6718d377bb
Fix and enhance reactlog
...
* Reactlog shortcut was broken due to reactlog.js not being included in
the gruntfile
* Reactlog has always shown every reactive event since the beginning of
the process (or at least since options(shiny.reactlog=TRUE)). This
commit makes it so Ctrl+F3 invocation only shows reactives that either
belong to no session (e.g. observers and reactives declared at the top
of server.R), or belong to this session.
2015-09-13 02:46:52 -07:00
Joe Cheng
d4e3329d7a
Fix highlighting of reactives in showcase mode
...
This has been broken since we switched to jsonlite. Reactives
don't highlight because their srcref is in an S3(?) class that
jsonlite doesn't recognize, whereas RJSONIO would treat it as
a numeric vector.
2015-09-12 20:20:13 -07:00
Joe Cheng
99295f0983
Bump version, update NEWS
2015-09-09 22:13:45 -07:00
Winston Chang
3606c36cb9
Merge pull request #950 from rstudio/joe/feature/grunt-clean
...
Add 'grunt clean' to delete shiny build artifacts
2015-09-09 15:49:02 -05:00
Winston Chang
3d5c184acc
Merge pull request #949 from rstudio/joe/feature/shared-brush-id
...
Allow shared brush IDs
2015-09-09 15:48:43 -05:00
Joe Cheng
9e03b17498
Add 'grunt clean' to delete shiny build artifacts
2015-09-09 12:19:43 -07:00
Joe Cheng
129714b044
Allow shared brush IDs
2015-09-09 12:12:47 -07:00
Joe Cheng
67823556d2
Merge pull request #939 from yihui/bugfix/selectize-selected
...
Fixes #929 : defer setValue() for selectize until the options have been loaded from server
2015-09-09 12:10:03 -07:00
Yihui Xie
273e71e3c4
run grunt
2015-09-09 13:38:51 -05:00
Yihui Xie
076ac26929
call setValue() only once
...
otherwise every time an Ajax response is returned (e.g. during searching), the value is set to data.value
2015-09-09 13:29:37 -05:00
Yihui Xie
5a022b0a2c
upgrade selectize.js from 0.11.2 to 0.12.1 to fix the ordering issue in #929
...
also fixes #865
2015-09-09 13:29:37 -05:00
Yihui Xie
9ab493a81f
make sure mop is numeric
...
it is funny that head(1:11,'100') produces a bunch of NA's, but head(1:11,'12') does not
2015-09-09 13:29:37 -05:00
Yihui Xie
dfc1f32595
Fixes #929 : defer setValue() for selectize until the options have been loaded from server
...
Previously I was using a hack to set the selected value of selectize, i.e. add the selected option(s) to selectize via addOptions() (because the selected option(s) may not have existed); this hack can be removed and we can set the value in the `success` callback of the Ajax request, by which time the options will be available
2015-09-09 13:29:37 -05:00
Joe Cheng
e6fd30fb78
Merge pull request #935 from yihui/doc/events-vignette
...
Add a package vignette for the JS events
2015-09-09 10:33:52 -07:00
Joe Cheng
c8d338912a
Merge pull request #918 from rstudio/joe/bugfix/binding-getid
...
Fix #676 : getId(el) not being used in output binding
2015-09-09 10:33:45 -07:00
Winston Chang
d9d9e0b33f
Add info about printing ggplot objects
2015-09-08 15:07:40 -05:00
Yihui Xie
1da7b83956
Bump version
2015-09-04 20:54:30 -05:00
Yihui Xie
29c545d2e3
Bump fontawesome version after #932
2015-09-04 20:53:54 -05:00
Joe Cheng
431b345c82
Fix #676 : getId(el) not being used in output binding
2015-09-04 15:14:04 -07:00
Joe Cheng
8773b1b38f
Merge pull request #946 from yihui/bugfix/recalculating
...
Typo: name -> message.name
2015-09-04 14:53:43 -07:00
Yihui Xie
52efb3dc16
Typo: name -> message.name
2015-09-04 15:43:21 -05:00
Yihui Xie
9ccd179b04
document the rest of events: shiny:conditional, shiny:visualchange, shiny:recalculating, shiny:recalculated
2015-09-04 15:09:34 -05:00
Joe Cheng
a8b35c49a7
Merge pull request #932 from dselivanov/master
...
Bump fontawesome version to 4.4.0, fixes #913
2015-09-04 12:15:31 -07:00
Peter K. Shultz
4e027f1a45
Update README.md
...
Add missing period.
2015-09-04 12:13:28 -07:00
Joe Cheng
119182454b
Merge pull request #943 from yihui/feature/events-more
...
Events shiny:visualchange, shiny:conditional, and shiny:recalculating
2015-09-04 11:34:48 -07:00
Yihui Xie
04e10a4f0d
Run grunt
2015-09-02 12:30:22 -05:00
Yihui Xie
4e5c5f9c5b
Move the shiny:conditional event to the top of $updateConditionals()
2015-09-02 12:29:37 -05:00
Yihui Xie
1ee2a25eca
Trigger the recalculating event on null when the binding does not exist
2015-09-02 12:29:01 -05:00
Yihui Xie
838e132515
Trigger shiny:visualchange in doSendOutputHiddenState() as well. Added a 'visible' property to the event object.
2015-08-31 17:07:11 -05:00
Yihui Xie
da76a843ee
DO not assume '# + message.name' is the element id. Find the element through this.$bindings[name].el instead.
2015-08-31 17:02:14 -05:00
Yihui Xie
b0676b8b31
Trigger shiny:recalculated after the calculation is done
2015-08-31 16:38:46 -05:00
Yihui Xie
83c3656d29
Events shiny:visualchange, shiny:conditional, and shiny:recalculating
2015-08-31 15:58:05 -05:00
Yihui Xie
5ddd6cc94e
add a summary section to the events vignette
2015-08-27 23:21:36 -05:00
Yihui Xie
90419765af
Merge pull request #938 from yihui/bugfix/933
...
Fixes #933 : make sure type is of length one
2015-08-26 11:27:05 -05:00
Yihui Xie
acad9354a6
Fixes #933 : make sure type is of length one
2015-08-26 10:48:38 -05:00
Yihui Xie
9105dd7b04
Add a package vignette for the JS events
2015-08-24 15:25:58 -05:00
Joe Cheng
71adee1f38
Merge pull request #930 from yihui/feature/events
...
More JS events
2015-08-24 12:50:10 -07:00
Yihui Xie
3cbe3831ec
Run grunt
2015-08-21 16:19:02 -05:00
Yihui Xie
619aa4f05a
Events shiny:busy and shiny:idle
...
Keep track of the number of observer callbacks during addPendingFlush() and executeFlushCallbacks(). Send a custom message when the number is 0.
2015-08-21 16:12:45 -05:00
Yihui Xie
4df37d6f3e
The shiny:updateinput event for inputs
2015-08-21 16:10:01 -05:00
Yihui Xie
58f8b482f5
The message object may be exactly false (or a falsy value), in which case shiny will fail to send the message to the handler. Use .hasOwnProperty() instead.
2015-08-21 16:09:25 -05:00
Yihui Xie
168f5e32af
The shiny:message event
2015-08-21 16:08:16 -05:00
Yihui Xie
06bf28f10c
Events shiny:value and shiny:error for outputs
2015-08-21 16:07:33 -05:00
Yihui Xie
620fdc0d9f
The shiny:inputchanged event
2015-08-21 16:06:56 -05:00
Yihui Xie
bdac0e2456
Events shiny:bound and shiny:unbound for inputs and outputs
2015-08-21 16:06:00 -05:00
Dmitry Selivanov
60a57a0a40
Bump fontawesome version to 4.4.0, fixes #913
2015-08-20 12:34:52 +03:00
Yihui Xie
a242ae3849
Merge pull request #920 from yihui/yihui/selectize-dragdrop
...
fixes #902 : add jQueryUI dependency when the drag_drop plugin is used in selectize
2015-08-06 21:46:30 -05:00
Yihui Xie
ced4060b5c
fixes #902 : add jQueryUI dependency when the drag_drop plugin is used in selectize
2015-08-06 16:59:51 -05:00
Winston Chang
0b3eb7a237
Merge tag 'v0.12.2'
...
Shiny 0.12.2
2015-08-05 15:08:21 -05:00
Winston Chang
c82f87cd76
Fix NEWS formatting
2015-08-04 23:05:30 -05:00
Winston Chang
51d8a6d9bf
Bump version to 0.12.2
2015-08-04 23:00:34 -05:00
Winston Chang
d334aa2088
Merge branch 'http-head'
2015-08-04 22:59:49 -05:00
Winston Chang
710e003bdc
Update httpuv version
2015-08-04 22:59:26 -05:00
Winston Chang
b2f5b4f861
Update NEWS
2015-08-04 22:58:21 -05:00
Winston Chang
0ac87930c8
Add support for HTTP HEAD requests
2015-08-04 22:58:21 -05:00
Winston Chang
241a482236
Add explicit namespace to non-base functions
2015-08-04 12:30:41 -05:00
Winston Chang
2abaffafcf
Move imageOutput docs to plotOutput
2015-08-04 12:23:06 -05:00
Winston Chang
4545fedf31
Update NEWS
2015-08-03 16:05:39 -05:00
Joe Cheng
a47a690a68
Merge pull request #909 from rstudio/joe/bugfix/runGist
...
Fix runGist
2015-07-22 14:08:05 -07:00
Joe Cheng
f89c44e899
Fix runGist
...
Looks like GitHub changed the format of gist downloads from .tar.gz
to .zip
2015-07-22 10:30:57 -07:00
Winston Chang
59b0df5c82
Concat and minify shiny.js
2015-07-21 13:01:16 -05:00
Yihui Xie
5ec6ffb30a
Merge pull request #905 from rstudio/joe/doc-tweaks
...
Doc tweaks (fixes #898 )
2015-07-21 12:51:28 -05:00
Winston Chang
5956d2009c
Minor code cleanup in slider JS code
2015-07-21 12:32:40 -05:00
Winston Chang
d9c7f21c02
Make updateSliderInput work with date/datetimes. Fixes #904
2015-07-21 12:32:18 -05:00
Winston Chang
926e508b8d
Fix updateSliderInput example code
2015-07-21 12:31:31 -05:00
Winston Chang
ac83772945
Don't use scientific notation for sending slider values
2015-07-21 12:31:17 -05:00
Joe Cheng
cddf5cf70f
Doc tweaks
2015-07-21 10:15:04 -07:00
Winston Chang
d53acdb46a
Update NEWS
2015-07-20 14:14:38 -05:00
Winston Chang
cfae8f4fc6
Update to ion.rangeSlider 2.0.12
2015-07-20 14:09:26 -05:00
Joe Cheng
74cd4cecbf
Merge remote-tracking branch 'yihui/feature/events'
...
Conflicts:
inst/www/shared/shiny.js
inst/www/shared/shiny.js.map
inst/www/shared/shiny.min.js
inst/www/shared/shiny.min.js.map
2015-07-16 10:24:49 -07:00
Joe Cheng
3e9e6a1389
Merge pull request #885 from rstudio/slider-improvements
...
Slider improvements
2015-07-16 10:21:25 -07:00
Joe Cheng
9788450c08
Merge pull request #874 from wch/file-remove
...
Remove uploaded files when session ends. Fixes #798
2015-07-16 10:02:27 -07:00
Yihui Xie
10b27aed34
grunt build and bump version
2015-07-14 13:52:49 -05:00
Joe Cheng
64f95be828
Merge pull request #892 from yihui/feature/events-connect
...
Events shiny:connected and shiny:disconnected
2015-07-14 11:35:49 -07:00
Yihui Xie
a54634023b
trigger shiny:connected when the socket is opened and shiny:disconnected when it is closed
2015-07-14 13:22:55 -05:00
Winston Chang
9d942b78ef
Merge pull request #881 from yihui/updateNavbarPage
...
Add two aliases of updateTabsetPanel(): updateNavbarPage() and updateNavlistPanel()
2015-07-03 11:00:33 -05:00
Winston Chang
4cd5357241
Set dragRange=TRUE as the default
2015-07-02 20:25:42 -05:00
Winston Chang
f985a96988
Concat and minify shiny.js
2015-07-02 16:50:43 -05:00
Winston Chang
0e3938da79
Add timezone support
2015-07-02 16:50:43 -05:00
Winston Chang
ec9bfc4731
sliderInput: add timeFormat argument
2015-07-02 16:50:43 -05:00
Winston Chang
9b91ebb8d2
Add strftime Javascript library
2015-07-02 16:50:43 -05:00
Winston Chang
da3f2367d7
Add range dragging functionality
2015-07-02 16:50:43 -05:00
Winston Chang
17cdeec34b
Add Date and POSIXt support to sliders
2015-07-02 16:50:43 -05:00
Winston Chang
3446afd087
Move input handlers to separate file
2015-07-02 16:50:43 -05:00
Winston Chang
b12fef652c
Update to ionRangeSlider 2.0.10
2015-07-02 16:50:43 -05:00
Winston Chang
21c7193281
Remove unneeded copy of normalize.css
2015-07-02 12:48:16 -05:00
Yihui Xie
a5e64274a2
Add two aliases of updateTabsetPanel(): updateNavbarPage() and updateNavlistPanel()
...
https://groups.google.com/d/msg/shiny-discuss/8VctqPqeurw/uAQIBvA1CpAJ
2015-07-02 01:37:14 -05:00
Winston Chang
3817202875
Make sure that directory removal is safe
2015-07-01 13:41:54 -05:00
Winston Chang
874fcb12a1
Remove uploaded files when session ends. Closes #798
2015-07-01 13:32:06 -05:00
Winston Chang
e0c5783703
Refactor fileUpoadContext to use private members
2015-07-01 13:32:05 -05:00
Winston Chang
a57e037b05
Fix docs for submitButton
2015-06-26 16:40:32 -05:00
Winston Chang
8546918cbb
Merge pull request #873 from wch/input-width
...
Add width option to input functions
2015-06-18 13:14:54 -05:00
Winston Chang
82284029f2
Update NEWS
2015-06-18 13:12:49 -05:00
Winston Chang
7c20e865a5
Add width option to input functions. Closes #834 , closes #589
2015-06-18 13:12:49 -05:00
Winston Chang
79267d4e12
Move input functions to separate files
2015-06-18 10:47:00 -05:00
Winston Chang
50aeb70597
Update NEWS with changes from 0.12.1
2015-06-18 10:46:26 -05:00
Joe Cheng
1d22a79074
Bump version
2015-06-15 08:47:49 -07:00
Joe Cheng
7f442f4206
Un-deprecate data table functions until DT stabilizes
2015-06-11 23:27:21 -07:00
Yihui Xie
985326989c
Bump version after #857
2015-06-11 00:09:13 -05:00
Joe Cheng
be8f2afa37
Merge pull request #857 from rstudio/joe/bugfix/rebind
...
Fix #856 : Outputs can not be unbound and re-bound
2015-06-08 18:08:19 -07:00
Joe Cheng
98882984b4
Fix #856 : Outputs can not be unbound and re-bound
2015-06-08 16:56:08 -07:00
Winston Chang
a6cd0fdb85
Update NEWS
2015-06-03 14:03:16 -05:00
Winston Chang
7bc5ba7e9a
Merge pull request #852 from rstudio/slider-motion
...
Slider fixes
2015-06-03 13:47:51 -05:00
Winston Chang
37e552cd36
Move sliderInput code into separate file
2015-06-02 15:36:03 -05:00
Winston Chang
51e2a4de7d
Concat and minify shiny.js
2015-06-02 14:14:54 -05:00
Winston Chang
91ce2fcb06
Remove no-longer-needed workaround
2015-06-02 14:14:54 -05:00
Winston Chang
925a379702
Don't overshoot end of slider
...
This previously resulted in a bug where the animation would loop even if
loop=FALSE.
2015-06-02 14:14:54 -05:00
Winston Chang
3153cfd0ff
Move both handles when animating double sliders
2015-06-02 14:14:54 -05:00
Winston Chang
ac8831b4c7
Use methods() instead of .S3methods(). Fixes #849
...
The .S3methods() function was introduced in R 3.2.0, so this code was broken
on older versions of R.
2015-06-02 14:14:31 -05:00
Joe Cheng
acc535e1a4
Merge pull request #850 from rstudio/min-option
...
Add shiny.minified option for minified JavaScript. Closes #826
2015-06-01 21:54:33 -07:00
Winston Chang
fdacb4fe7d
Add shiny.minified option for minified JavaScript. Closes #826
2015-06-01 20:58:10 -05:00
Winston Chang
fc7208469d
Add staticdocs entries for interactive plots
2015-05-26 22:44:26 -05:00
Winston Chang
5c38cb733a
Safer method for finding which method would be called
2015-05-26 17:05:10 -05:00
Winston Chang
515a67a320
Don't attempt to extract coordmap when print.ggplot is not used ( #841 )
2015-05-21 17:00:51 -05:00
Winston Chang
941348f1db
Override print.ggplot method in renderPlot. Fixes #841
2015-05-21 16:45:39 -05:00
Joe Cheng
8d7752b0bc
Merge pull request #840 from rstudio/joe/bugfix/methods-depend
...
Depend on methods so Rscript doesn't fail
2015-05-21 09:57:50 -07:00
Joe Cheng
15af660424
Depend on methods so Rscript doesn't fail
2015-05-21 09:56:16 -07:00
Joe Cheng
790555ae89
Bump version, NEWS
2015-05-20 14:35:04 -07:00
Joe Cheng
3cc4df4e29
Merge pull request #837 from rstudio/joe/bugfix/callbacks-fifo
...
Ensure that callbacks fire in a FIFO order
2015-05-20 14:32:46 -07:00
Joe Cheng
395d1cee70
Ensure that callbacks fire in a FIFO order
...
Version bump required so Leaflet can detect this fix
2015-05-20 13:29:56 -07:00
Yihui Xie
89bc7efbca
query$field is either an atomic vector, or a matrix, so use c() to coerce the result to a vector (previously RJSONIO::fromJSON() would return a list, but now jsonlite returns a matrix)
2015-05-20 12:44:13 -05:00
Yihui Xie
8f893a9752
bump version
2015-05-19 16:15:24 -05:00
Yihui Xie
54e02e412c
make sure q$search[['value']] is not of length zero
2015-05-19 16:14:30 -05:00
Winston Chang
808d7aab3f
Merge tag 'v0.12.0'
...
Shiny 0.12.0 released to CRAN
2015-05-19 09:52:19 -05:00
Winston Chang
24a8f8f38b
Merge pull request #830 from rstudio/check-htmlwidgets
...
Check htmlwidgets version
2015-05-18 11:58:48 -05:00
Winston Chang
90c00bed2f
Check htmlwidgets version
2015-05-18 11:56:02 -05:00
Winston Chang
054c911a1f
Clear cran comments
2015-05-18 11:07:42 -05:00
Winston Chang
c2d5432a5d
Bump version to 0.12.0
2015-05-18 10:10:53 -05:00
Winston Chang
dd64b70f5b
Concat and minify shiny.js
2015-05-18 09:49:10 -05:00
Yihui Xie
a69dbeb10f
bump version
2015-05-17 15:20:16 -05:00
Yihui Xie
976a768446
white spaces
2015-05-17 15:19:04 -05:00
Yihui Xie
5612cec91f
Merge pull request #829 from yihui/deprecate-datatables
...
closes #807 : add messages of deprecation for DataTables in shiny
2015-05-17 15:17:51 -05:00
Yihui Xie
46996eb81c
closes #807 : add messages of deprecation for DataTables in shiny
2015-05-15 18:21:58 -05:00
Winston Chang
12990f9fb2
Merge pull request #823 from yihui/bugfix/814
...
Load selectize options after initialization in the server mode
2015-05-15 15:22:39 -05:00
Yihui Xie
77ff988232
a news item for the change in server-side selectize
2015-05-15 15:17:31 -05:00
Yihui Xie
8df98c29b8
this comment is no longer true
2015-05-15 15:06:23 -05:00
Yihui Xie
7554f8395b
fixes #814 : load options after initialization of selectize in the server mode
2015-05-15 15:05:39 -05:00
Winston Chang
6fc0bac106
Properly use hoverClip option
2015-05-13 11:42:18 -05:00
Winston Chang
d252feddc9
Change nullOutside default to TRUE
2015-05-13 11:16:48 -05:00
Winston Chang
8c2645498d
Merge pull request #824 from rstudio/interaction-tweaks
...
Interaction tweaks
2015-05-13 11:14:46 -05:00
Winston Chang
528acc4aa4
Concat and minify shiny.js
2015-05-13 11:08:47 -05:00
Winston Chang
2ce45eab06
Hovering: add option to send NULL when mouse is outside
2015-05-13 11:08:16 -05:00
Winston Chang
074c24aa10
Show brush only after mouse starts moving
2015-05-11 22:31:56 -05:00
Winston Chang
79e4007732
Add option to return all selected rows for mouse interactions
2015-05-11 15:56:34 -05:00
Winston Chang
742ce6673c
Re-document with roxygen2 4.1.1
2015-05-11 15:55:51 -05:00
Winston Chang
4a74f588b9
nearPoints: add _dist column even when zero rows selected
2015-05-05 23:11:33 -05:00
Winston Chang
f876dc066c
Minify shiny.js
2015-05-05 23:11:33 -05:00
Winston Chang
65aaf386c2
Lock grunt-contrib-uglify version
...
Version changes of the grunt-contrib-uglify version can result in different
min.js output. Lock it so the minified files won't have spurious changes.
2015-05-05 23:01:24 -05:00
Winston Chang
4eae6bd362
Update NEWS
2015-05-01 14:59:23 -05:00
Joe Cheng
4f7cfd6bd4
Bump dev version for ggplot2 interactive graphics
2015-05-01 09:53:46 -07:00
Joe Cheng
1136ad09ee
Merge pull request #802 from rstudio/interact-ggplot
...
BOOM!!!!
2015-05-01 09:51:51 -07:00
Winston Chang
4a67bd945c
Concat and minify shiny.js
2015-05-01 11:29:31 -05:00
Winston Chang
a2841f7cf2
Allow selectBrush to operate in just x or y direction
2015-05-01 11:28:43 -05:00
Winston Chang
4fa6e9dafe
Fix off-by-one positioning error for base graphics
2015-05-01 11:28:43 -05:00
Winston Chang
7ebd7959f9
Document data structures for plot interactions
2015-05-01 09:58:00 -05:00
Winston Chang
4386015cff
brushedPoints and nearPoints: handle Dates and POSIXt properly
2015-05-01 09:56:24 -05:00
Winston Chang
5cd014f7e6
Fix restoring brush with new coordmap panel data format
2015-05-01 09:56:24 -05:00
Winston Chang
30d0bfbdf0
Rename selectBrush to brushedPoints
2015-05-01 09:56:24 -05:00
Joe Cheng
48cfeca220
Merge pull request #797 from rstudio/joe/input-logging
...
Add session$onInputReceived
2015-04-30 22:10:21 -07:00
Winston Chang
5fefc48a0b
Fix variable name
2015-04-29 13:19:46 -05:00
Winston Chang
42f2ae16ec
Document missing argument
2015-04-29 13:19:46 -05:00
Winston Chang
3d47b0201f
Simplify selectBrush and nearPoints code
2015-04-29 12:17:28 -05:00
Winston Chang
7607b1215f
Update tests
2015-04-29 11:49:36 -05:00
Winston Chang
eae2b40898
Add nearPoints() function
2015-04-29 11:48:33 -05:00
Winston Chang
8e253046d8
Merge pull request #813 from pvictor/master
...
Change in sliderInput
2015-04-29 10:37:02 -05:00
pvictor
b0e17f02b5
Change in sliderInput
...
Add `animate$playButton` and `animate$pauseButton` in `sliderTag` to add possibility to custom button with `animateOptions`
2015-04-29 15:30:25 +02:00
Winston Chang
3f3c131737
Automatically find var names for brush selection
2015-04-27 17:04:07 -05:00
Winston Chang
2b227fcca5
Send variable mappings in coordmap
2015-04-27 15:22:43 -05:00
Winston Chang
639e55b537
Rename underBrush to selectBrush
2015-04-25 18:00:11 -04:00
Winston Chang
8386404b25
Capture and display coordmap errors
2015-04-25 09:38:40 -04:00
Winston Chang
a093afb630
More informative comments
2015-04-23 11:53:31 -05:00
Winston Chang
7208688128
Simplify facet code
2015-04-23 11:53:31 -05:00
Winston Chang
b94d406bd9
Treat shiny.js as binary
2015-04-23 11:53:31 -05:00
Winston Chang
79188b7d62
Add underBrush() function
2015-04-23 11:53:31 -05:00
Winston Chang
85b2fc503d
Make brush div 1px larger
2015-04-20 15:06:00 -05:00
Winston Chang
57f33109b2
Change default brush color to blue
2015-04-20 15:06:00 -05:00
Winston Chang
d039547886
Fixes for R CMD check in R 3.2.0
2015-04-20 11:55:31 -05:00
Winston Chang
55621b7826
Use NULL for session$user and $groups
2015-04-17 13:23:50 -05:00
Winston Chang
854730f258
Fix restoring brush with facets in IE8/9
2015-04-17 12:15:38 -05:00
Winston Chang
9c4f73f314
Respect falsy opts for imageOutput
2015-04-16 23:43:20 -05:00
Winston Chang
e1fa491af7
Fix panel matching logic
2015-04-16 23:40:08 -05:00
Winston Chang
b909a3e05c
Allow brush resizing
2015-04-16 23:40:07 -05:00
Winston Chang
4159c539e7
Consolidate code for width/height
2015-04-16 23:40:07 -05:00
Winston Chang
d1bd232ec7
Grunt: jshint before uglify
2015-04-16 23:40:07 -05:00
Winston Chang
a47898a2c4
Fix min/max order for reversed scales
2015-04-16 23:40:07 -05:00
Winston Chang
06b69e516a
Pixelratio workaround
2015-04-16 23:40:07 -05:00
Winston Chang
312c89aaee
Fix panel scale order for facet_grid
2015-04-16 23:40:07 -05:00
Winston Chang
a5b1f020ae
Simplify sendBrushInfo
2015-04-16 23:40:07 -05:00
Winston Chang
e9cd1bef43
Send brush data when reset
2015-04-16 23:40:07 -05:00
Winston Chang
7b17ce5de1
Fix brush import for reverse scales
2015-04-16 23:40:07 -05:00
Winston Chang
ffb1b06bf4
Use 'expand' parameter
2015-04-16 23:40:06 -05:00
Winston Chang
21e9ffec97
Cleaner coordmap initialization
2015-04-16 23:40:06 -05:00
Winston Chang
7cfaa2adfc
Move clipToBounds from coordmap to panel
2015-04-16 23:40:06 -05:00
Winston Chang
4e80e35976
Get correct coordinates for panels
2015-04-16 23:40:06 -05:00
Winston Chang
e9f78f6ace
Restore brush even when scales change
2015-04-16 23:40:06 -05:00
Winston Chang
4d074c6fa9
Fix log scaling
2015-04-16 23:40:06 -05:00
Winston Chang
0b3c2e198e
Add functions to coordmap object
2015-04-16 23:40:06 -05:00
Winston Chang
48cd7200cc
Partial implementation of scale/inv
2015-04-16 23:40:06 -05:00
Winston Chang
d925702b98
Fix height/width calculation of brush div
2015-04-16 23:40:06 -05:00
Winston Chang
55cbd72a47
Gruntfile: add watch support for concat
2015-04-16 23:40:06 -05:00
Winston Chang
fbf1ba172f
Implement client-side support for facets
2015-04-16 23:40:05 -05:00
Winston Chang
abb722f405
Fix bottom/top reversal
2015-04-16 23:40:05 -05:00
Winston Chang
2c121dc2c3
Put shiftToRange in right place
2015-04-16 23:40:05 -05:00
Winston Chang
dbcdbda2ef
Modularize brush code
2015-04-16 23:40:05 -05:00
Winston Chang
03784ba82e
Partial refactoring of brush
2015-04-16 23:40:05 -05:00
Winston Chang
04768ad8fa
Encode facet information
2015-04-16 23:40:05 -05:00
Winston Chang
29943408e5
Consolidate coordinate functions
2015-04-16 23:40:05 -05:00
Winston Chang
dbadc05bef
Better function name
2015-04-16 23:40:05 -05:00
Winston Chang
2e6347b380
Safe handling of discrete scales
2015-04-16 23:40:05 -05:00
Winston Chang
6c65b1ffde
Add support for ggplot2 log coord transforms
2015-04-16 23:40:05 -05:00
Winston Chang
358416687f
Add support for ggplot2 log scales
2015-04-16 23:40:04 -05:00
Winston Chang
1dc061e1c6
Add support for ggplot2 reversed scales
2015-04-16 23:40:04 -05:00
Winston Chang
e7f2572f42
Treat minified JS and map files like binary
2015-04-16 23:40:04 -05:00
Winston Chang
463ee7e027
Add click/hover/brush support for ggplot2
2015-04-16 23:40:04 -05:00
Winston Chang
667bc95d02
Rename coordmap usr and bounds to domain and range
2015-04-16 23:40:04 -05:00
Winston Chang
3f8cc71814
Use separate function for getting coordmap
2015-04-16 23:40:04 -05:00
Winston Chang
a9a6e96a6a
Move renderPlot into separate file
2015-04-16 23:40:04 -05:00
Winston Chang
02caf05aaf
Fix formatting in flowLayout documentation
2015-04-14 11:04:50 -05:00
Joe Cheng
da88678a43
Merge pull request #796 from mikelove/patch-1
...
flowLayout's man page: % needs to be escaped
2015-04-14 09:03:15 -07:00
Mike Love
1e8a9de60a
flowLayout's man page: % needs to be escaped
...
or else it turns into a commend in the Rd file
2015-04-14 11:51:38 -04:00
Joe Cheng
1a6181cb15
Merge pull request #778 from rstudio/bugfix/clear-select-choices
...
Allow updateSelectInput(choices=character(0)) to clear select choices
2015-04-14 08:42:53 -07:00
Yihui Xie
ece69342b8
bump version
2015-04-13 10:09:59 -05:00
Yihui Xie
fe601d631b
bump version of mime to 0.3
...
due to the fact that mime < 0.3 used GPL but copied code from Rook, which is specifically GPL-2; mime >= 0.3 also uses GPL-2 since GPL implies 2 or 3, and 3 does not work with 2
2015-04-13 10:09:26 -05:00
Yihui Xie
42d2e5aaef
bump version requirement of jsonlite due to toJSON(json_verbatim = TRUE) ( #795 )
2015-04-13 10:06:39 -05:00
Winston Chang
bac7ab7f01
Merge pull request #795 from yihui/feature/verbatim-json
...
Treat the output of toJSON() as a verbatim JSON string
2015-04-09 10:29:46 -05:00
Yihui Xie
c6ac1474d4
Treat the output of toJSON() as a verbatim JSON string, and do not double-encode it
...
https://github.com/jeroenooms/jsonlite/commit/6fd201b3ad
also see ramnathv/htmlwidgets#28
2015-04-08 21:38:15 -05:00
Winston Chang
5a9c4ad8f3
Reinstate image error message fix
...
This fix for #783 seems to have gotten lost when shiny.js was split up.
2015-04-08 10:01:45 -05:00
Winston Chang
babc59f85c
Clarifcations in tools README
2015-03-30 20:00:13 -05:00
Winston Chang
982a4361cd
Merge pull request #775 from rstudio/split-js
...
Split up shiny.js into multiple files
2015-03-30 16:20:05 -05:00
Winston Chang
15e53ca55e
Remove extraneous indenting
2015-03-30 16:18:26 -05:00
Winston Chang
ceb428b8bd
Split up shiny.js
2015-03-30 16:17:04 -05:00
Winston Chang
b7fe3ed745
Update to ionRangeSlider 2.0.6. Closes #777
2015-03-27 15:31:37 -05:00
Winston Chang
817b614e61
Clear error messages in imageOuputs. Fixes #783
2015-03-27 15:11:35 -05:00
Joe Cheng
3321e95b54
Add session$onInputReceived
2015-03-26 16:04:04 -07:00
Winston Chang
fd5f536d14
Use jsonlite 0.9.15
2015-03-26 09:55:45 -05:00
Joe Cheng
fdbcb32be7
Allow updateSelectInput(choices=character(0)) to clear select choices
2015-03-24 13:00:00 -07:00
Winston Chang
a774cee1d9
Remove unused function
2015-03-21 22:19:58 -05:00
Winston Chang
1c46f227d2
Update travis config to use dev version of jsonlite
2015-03-20 15:28:36 -05:00
Winston Chang
6191c96347
Update NEWS
2015-03-20 15:13:49 -05:00
Winston Chang
12918fdfee
Actually udpate jsonlite version
2015-03-20 15:13:39 -05:00
Winston Chang
8cea246fc8
Bump version to 0.11.1.9003 and increase jsonlite version dependency
2015-03-20 15:00:07 -05:00
Winston Chang
41455a008b
Update toJSON for more RJSONIO compatibility
2015-03-20 14:58:28 -05:00
Winston Chang
be22d5c95d
Merge branch 'interactive-graphic'
...
Conflicts:
inst/www/shared/shiny.min.js
inst/www/shared/shiny.min.js.map
Re-minified the shiny.min.js file in the merge.
2015-03-20 14:51:52 -05:00
Winston Chang
b298a62e46
Merge pull request #773 from yihui/feature/json-date
...
use ISO8601 and UTC for POSIX[c|l]t time by default
2015-03-20 11:06:57 -05:00
Winston Chang
839045ed66
Clear pending event on double click
2015-03-20 10:51:01 -05:00
Yihui Xie
a4a5c61fef
use ISO8601 and UTC for POSIX[c|l]t time by default
2015-03-19 16:17:33 -05:00
Winston Chang
dd6aa9e4cf
Minify shiny.js
2015-03-19 16:00:12 -05:00
Winston Chang
e299b51779
Simplify pending event tracking
2015-03-19 15:58:35 -05:00
Winston Chang
d3f0129c3f
Expand region to start a brush
2015-03-19 15:49:25 -05:00
Winston Chang
ae938c66cc
Add overview comments
2015-03-19 15:26:15 -05:00
Winston Chang
8d662f4f89
Add distance threshold for two clicks to count as a double-click
2015-03-19 15:06:48 -05:00
Winston Chang
a1caa41fe9
Simplify conversion of options to HTML properties
2015-03-19 13:55:13 -05:00
Winston Chang
6028263681
Fix some simple issues from pull request feedback
2015-03-18 20:16:06 -05:00
Winston Chang
30f9291496
Update documentation
2015-03-17 13:08:05 -05:00
Winston Chang
2400a44ded
Minify shiny.js
2015-03-17 12:43:44 -05:00
Winston Chang
952556a9d1
Add option to reset brush on new image
2015-03-17 12:40:20 -05:00
Winston Chang
2e18b5c64b
Fix indentation
2015-03-17 12:40:20 -05:00
Winston Chang
cb499c6105
Remove no-longer-needed IE9/10 workaround
2015-03-16 22:35:31 -05:00
Winston Chang
7f87bcddc1
Rename file
2015-03-16 22:28:00 -05:00
Winston Chang
6798917bc9
Simplify namespacing of image interaction events
2015-03-16 22:25:18 -05:00
Winston Chang
cf3f32ac37
Add dblclick workaround for IE8
2015-03-16 22:00:41 -05:00
Winston Chang
a41e1dafc2
Add IE version detection code
2015-03-16 22:00:23 -05:00
Winston Chang
3ac5124e5c
Make sure a double click doesn't trigger click event
2015-03-16 21:27:13 -05:00
Winston Chang
83a472794b
Add double-click event
2015-03-16 19:44:40 -05:00
Winston Chang
af78d62b76
Change click/hover/brush arguments
2015-03-16 16:05:50 -05:00
Winston Chang
27a0708909
Add left/right or top/bottom borders for x or y brushing
2015-03-16 14:27:05 -05:00
Winston Chang
5ab58f86ba
Change event listener bindings fo IE8 compatibility
...
Binding mousemove event listeners to the window apparently doesn't work in IE8,
so bind to document instead.
2015-03-16 13:49:45 -05:00
Winston Chang
2c0bfdccf9
Restructure brushing and dragging event handlers
2015-03-16 12:52:52 -05:00
Winston Chang
581618370b
Remove unnecessary code
2015-03-16 12:52:51 -05:00
Winston Chang
bdf217c45a
Reorganize event handlers so they work properly in IE<=10
2015-03-16 12:52:51 -05:00
Winston Chang
42d6594159
Fix drag and selection on IE
2015-03-13 16:26:56 -05:00
Winston Chang
fac1750b63
Document direction argument for brushOptions
2015-03-13 16:09:52 -05:00
Winston Chang
6907d192f5
Allow mousemove and mouseup outside of the image
2015-03-13 14:32:23 -05:00
Winston Chang
0380f36489
Make sure bounds are constrained to plotting region
2015-03-13 13:48:19 -05:00
Winston Chang
1524dc2680
Add x and y brushing
...
This also contains a big refactoring of the brushing code.
2015-03-13 12:49:59 -05:00
Winston Chang
c95cc0a52b
Better function name
2015-03-11 23:13:25 -05:00
Winston Chang
a876c5a888
Fix plotting region check
2015-03-11 23:09:51 -05:00
Winston Chang
bdd925886a
Show grab and grabbing cursor with brush
2015-03-11 23:09:51 -05:00
Winston Chang
4d3d292add
Only respond to left mouse button
2015-03-11 15:58:13 -05:00
Winston Chang
48f03e79e2
Add brushOptions and hoverOptions functions
...
Also clean up help for imageOutput and plotOutput, and add examples.
2015-03-11 15:37:22 -05:00
Winston Chang
e3af622a36
Replace bind() with explicit function wrappers
2015-03-11 12:25:45 -05:00
Winston Chang
dcb300ab50
Merge pull request #763 from rstudio/joe/bugfix/slider-delay
...
Fix 250ms delay in updateSliderInput(value=...) roundtrip.
2015-03-11 00:17:08 -05:00
Winston Chang
95ffd46a63
Clear click/brush/hover values when new image is received
2015-03-10 23:19:25 -05:00
Winston Chang
6f5d4a8620
Fix off-by-one error in plot pixel coordinates
2015-03-10 22:48:57 -05:00
Winston Chang
62855cc969
Fix clipping bounds off-by-one error
2015-03-10 22:42:55 -05:00
Winston Chang
bdfe9dfab2
Fix bug where brush goes outside
2015-03-10 22:42:55 -05:00
Joe Cheng
465ddf1a01
Fix 250ms delay in updateSliderInput(value=...) roundtrip.
2015-03-10 15:17:40 -07:00
Winston Chang
18a4ac1653
Refactor click and hover handlers to use shared function
2015-03-10 16:52:27 -05:00
Winston Chang
76d55144c5
Add clip option for click, hover, and brush
2015-03-10 16:23:27 -05:00
Winston Chang
665590a2f9
Add isPending method to Throttler
2015-03-10 15:32:12 -05:00
Winston Chang
81aa9a31c6
Don't send brush info second time on mouseup
2015-03-10 14:34:57 -05:00
Winston Chang
082490708f
Consolidate image output options
2015-03-10 14:26:14 -05:00
Winston Chang
20ca4f8260
Add debounce and throttle options to brush
2015-03-10 14:16:38 -05:00
Winston Chang
eda057eb07
Disable image dragging when brushing in Firefox
2015-03-10 13:31:32 -05:00
Winston Chang
aed31c0eba
Simplify image render logic
...
Now this exits early if data is empty.
2015-03-10 11:10:25 -05:00
Winston Chang
ea585458c7
Fix offset calculation for brush dragging
2015-03-10 10:48:51 -05:00
Winston Chang
e226e1c045
Add click/hover/brush support to imageOutputs
2015-03-10 10:47:03 -05:00
Winston Chang
ef330dd613
Formatting tweaks
2015-03-10 09:52:09 -05:00
Winston Chang
1225560ccd
Streamline hover handler
2015-03-10 09:52:09 -05:00
Winston Chang
eef184e6ef
Use crosshair cursor for brush
2015-03-09 22:02:04 -05:00
Winston Chang
50337eb731
Get jQuery object just once
2015-03-09 22:01:46 -05:00
Winston Chang
77f5e7d581
Add ability to clear previous brush
2015-03-09 21:54:13 -05:00
Winston Chang
02118bac76
Add brush dragging
2015-03-09 21:48:02 -05:00
Winston Chang
8b41be238a
Refactor createBrushHandler
2015-03-09 20:39:31 -05:00
Winston Chang
8791e70c67
Add visible overlay for brush
2015-03-09 20:13:37 -05:00
Winston Chang
34a4b8f2d2
Add basic brushing support
2015-03-09 16:18:32 -05:00
Winston Chang
54c936b010
Refactor hover handler
2015-03-09 14:52:44 -05:00
Winston Chang
ed8d95e055
Move mouse coordinates to separate function
2015-03-09 14:17:12 -05:00
Winston Chang
25e8d080af
Use lists instead of named vectors
...
jsonlite 0.9.14 drops names of named vectors, so we'll use lists instead.
2015-03-09 13:29:51 -05:00
Winston Chang
4599a7ab4e
Merge pull request #759 from wch/fix-checkbox
...
Fix checkbox input binding (closes #206 )
2015-03-06 15:03:58 -06:00
Winston Chang
5a106e0e6d
Fix checkbox input binding ( closes #206 )
...
This fixes the bug introduced by #754 .
2015-03-06 14:19:48 -06:00
Winston Chang
e4a211ba02
Send HTTP errors as UTF-8
...
This fixes an issue related to #736 .
2015-03-06 10:27:30 -06:00
Joe Cheng
7ab373c942
Merge pull request #756 from rstudio/feature/port-option
...
Add shiny.port option
2015-03-06 01:41:00 -06:00
Winston Chang
18f1ebf715
Merge pull request #758 from yihui/DataTables1.10.5
...
upgrade DataTables to 1.10.5
2015-03-05 22:11:43 -06:00
Yihui Xie
2c02f44b26
upgrade DataTables to 1.10.5
...
need to be able to set $.fn.dataTableExt.errMode = 'none' to fix #561
2015-03-05 21:38:45 -06:00
Joe Cheng
8ae8168252
Merge pull request #754 from rstudio/remove-old-multiinput
...
Remove old multiInput code
2015-03-05 16:45:33 -06:00
Joe Cheng
c504f0b166
Merge pull request #755 from yihui/mimetype
...
remove the list of content types and use mime::guess_type()
2015-03-05 09:26:45 -06:00
Winston Chang
23da559d26
Add shiny.port option
2015-03-04 20:15:43 -06:00
Winston Chang
8b3ca12658
Mention app.R in runApp help
2015-03-04 20:11:16 -06:00
Yihui Xie
0f70b5662c
remove the list of content types and use mime::guess_type()
...
also fixes #575
2015-03-04 19:58:37 -06:00
Winston Chang
475541cac0
Re-generate shiny.min.js
2015-03-04 19:43:54 -06:00
Winston Chang
007d6ad9c3
Simplify return value
2015-03-04 19:43:35 -06:00
Winston Chang
79db8d91ab
Remove obsolete multiInput code ( #206 )
...
This commit removes multiInput code that was used for the HTML structure
generated in Shiny <= 0.5.0, and is now obsolete.
2015-03-04 19:39:53 -06:00
Joe Cheng
a0c6feb386
Merge pull request #753 from rstudio/bugfix/content-type
...
Fix downloading of files with no extension. Fixes #575
2015-03-04 16:23:30 -06:00
Winston Chang
1c72601123
Fix downloading of files with no extension. Fixes #575
2015-03-04 15:50:51 -06:00
Winston Chang
c6bcdd1ae1
Re-generate shiny.min.js
2015-03-04 15:09:28 -06:00
Winston Chang
e0acdba626
Remove unneeded ID attributes. Fixes #684
...
The checkboxGroup and radioButtons <input> items had an unneeded ID for the
DOM element, which could conflict with other items in the web page.
2015-03-04 15:07:38 -06:00
Winston Chang
a73e72f267
Add backward compatibility for shinysession$session ( Fixes #752 )
2015-03-04 11:13:52 -06:00
Joe Cheng
ee6682e7c8
Merge pull request #750 from rstudio/bugfix/nested-uioutput-duplicate-id
...
Fix issue #749 : Nested uiOutputs break outputs
2015-03-04 09:10:56 -06:00
Joe Cheng
6c36ea5753
Fix issue #749 : Nested uiOutputs break outputs
2015-03-03 21:28:47 -06:00
Winston Chang
3f798f1843
Update slider example for Shiny 0.11. ( Fixes #748 )
2015-03-02 16:54:35 -06:00
Winston Chang
4a806db8ae
toJSON: special case for length-1 atomic vectors
2015-02-27 21:42:43 -06:00
Winston Chang
9c12125512
Bump version to 0.11.1.9002
2015-02-27 15:53:32 -06:00
Winston Chang
51130793fe
Assign request object in self
...
The session object is now gone, so the appropriate place to assign `request`
is in `self`.
2015-02-27 15:34:55 -06:00
Winston Chang
d39c93ee7e
Set up onEnd before calling onStart
...
This fixes an annoying bug where, if the app crashes while loading (for
example, if you call library() with a missing package), R ends up in the app's
working directory instead of in the original working directory.
2015-02-27 15:25:53 -06:00
Winston Chang
e1cfb29fa0
Update NEWS
2015-02-27 15:12:39 -06:00
Winston Chang
4dde16d836
Merge pull request #746 from rstudio/session-refactor
...
Refactor ShinySession object
2015-02-27 15:04:50 -06:00
Winston Chang
1c57ef5931
Remove leading dot from private item names
2015-02-27 15:02:09 -06:00
Winston Chang
0f642fe3ad
Add class attribute to ShinySession object
2015-02-27 15:02:09 -06:00
Winston Chang
46844b516a
Remove unneeded 'session' object
...
The 'session' object is no longer needed. Now that the ShinySession object
has proper public and private members, that object can be passed directly.
2015-02-27 15:02:09 -06:00
Winston Chang
b9cef228d9
Use explicit 'self', and make ShinySession portable
2015-02-27 15:02:09 -06:00
Winston Chang
fd71d04000
Use explicit 'private'
2015-02-27 15:02:09 -06:00
Winston Chang
bedb811621
Remove leading dots from public methods
2015-02-27 15:02:09 -06:00
Winston Chang
173736fd69
Set message encoding to UTF-8 instead of native ( Fixes #742 )
2015-02-27 14:55:31 -06:00
Winston Chang
21eea27c4a
Remove duplicated 'destdir' documentation
2015-02-27 14:53:50 -06:00
Winston Chang
b39f04fbc3
Use native R config for travis
2015-02-27 11:43:30 -06:00
Winston Chang
04f898be21
Bump version to 0.11.1.9001
2015-02-23 16:43:48 -06:00
Winston Chang
defedda891
Switch from RJSONIO to jsonlite (again)
2015-02-23 16:41:36 -06:00
Winston Chang
bb2c8e5fd2
Clean up observeEvent and eventReactive examples
2015-02-23 15:57:27 -06:00
Winston Chang
7410bb9e9a
Re-document
2015-02-23 15:57:06 -06:00
Winston Chang
fd3907596b
Restore ability to dynamically set selectInput labels. Closes #741
2015-02-18 14:59:07 -06:00
Winston Chang
221a233ea4
Update NEWS
2015-02-12 13:21:16 -06:00
Winston Chang
389adda8ec
Merge pull request #688 from xbhsu/feature/runURL-destination-file
...
Specifying destination file for runURL, runGist, and runGitHub
2015-02-12 13:11:19 -06:00
bhsu
835b65740b
fixed consistency issues
2015-02-12 13:11:00 -05:00
Winston Chang
b24abffd0d
Bump version to 0.11.1.9000 for development
2015-02-12 11:39:31 -06:00
Winston Chang
2ddf578f07
Add NEWS item
2015-02-12 11:39:05 -06:00
Yihui Xie
61b83c3e34
replace `` with \code{} in Rd
2015-02-11 18:12:14 +08:00
Winston Chang
3454ddbb2a
Merge tag 'v0.11.1'
...
Shiny 0.11.1 released to CRAN
2015-02-10 19:42:58 -06:00
Winston Chang
194e4ca70d
Update cran comments
2015-02-10 13:12:13 -06:00
Winston Chang
074981a709
Update Date in DESCRIPTION
2015-02-10 13:08:44 -06:00
Winston Chang
f157200a9f
Fix Bootstrap URL
2015-02-10 10:58:31 -06:00
Winston Chang
f70fcddaad
Clarify docs for shinyServer and shinyUI
2015-02-10 10:46:51 -06:00
Winston Chang
aa2129b60e
Bump version to 0.11.1
2015-02-06 11:49:49 -06:00
Winston Chang
3794541828
Update gruntfile to watch for changes in DESCRIPTION
2015-02-06 11:49:30 -06:00
Winston Chang
b1a6dc65ba
Remove jsonlite NEWS item
2015-02-06 11:23:50 -06:00
Winston Chang
040ae293fb
Revert switch to jsonlite
...
This reverts commits deffc90 , ab4dc64 , and 0755579 , returning to RJSONIO.
The purpose of this is to prepare for a maintenance release for 0.11
without the switch to jsonlite, to reduce the risk of new bugs.
2015-02-06 10:53:54 -06:00
Winston Chang
b74e93f3a4
Update NEWS and bump version
2015-02-05 15:51:01 -06:00
Winston Chang
dd3cc29af1
Merge pull request #728 from rstudio/bugfix/tab-value-with-icon
...
Fix #725 : Tabs with icons give incorrect values
2015-02-05 15:44:02 -06:00
Joe Cheng
72b9a93088
Don't error when tabPanel has value but tabsetPanel doesn't have id
...
Causes problems now that tabPanel always has a value
2015-02-05 13:38:04 -08:00
Joe Cheng
4446f0a1f3
Merge pull request #729 from wch/feature/select-size
...
selectInput: add control for size (height)
2015-02-05 13:34:40 -08:00
Winston Chang
35802c12f6
selectInput: add control for size (height)
2015-02-05 15:30:03 -06:00
Winston Chang
f5fd30883a
Update NEWS
2015-02-05 15:28:09 -06:00
Winston Chang
f8e720d6dc
Fix tests for new HTML structure
2015-02-05 15:25:09 -06:00
Winston Chang
9f8f04caec
selectInput: use form-control for multiple and single
2015-02-05 14:51:40 -06:00
Winston Chang
69aec85882
Fix label spacing for inline checkbox and radio
2015-02-05 12:46:54 -06:00
Winston Chang
e84012ec38
Update input docs to explain NULL label ( #727 )
2015-02-05 12:40:14 -06:00
Joe Cheng
128df6a2bf
Fix #725 : Tabs with icons give incorrect values
...
When no explicit value argument was present on tabPanel,
the inner text of the HTML anchor was used. This gave
weird results when an icon was used, since it appears in
the anchor.
The fix is to always use the value parameter, defaulting
it to the title.
2015-02-05 10:23:04 -08:00
Winston Chang
7b76951461
navbarPage: Don't include empty row when header=NULL. Fixes #722
2015-02-05 10:18:24 -06:00
Winston Chang
38d87450e6
Fix typo in docs
2015-02-05 10:17:42 -06:00
Winston Chang
b9c6b84ff5
selectInput: use BS 3 styling when multiple && !selectize. Closes #724
2015-02-04 19:45:04 -06:00
Winston Chang
5ba1d57b1f
Update NEWS and bump version
2015-02-04 13:32:27 -06:00
Winston Chang
a4d567e44d
Merge pull request #704 from wch/html-replace2
...
htmlOutput: allow custom container function
2015-02-04 13:30:19 -06:00
Joe Cheng
19a62ba7e9
Merge pull request #723 from rstudio/bugfix/namespace-filtering
...
Fix oversubscription of shown/hidden events
2015-02-04 10:20:42 -08:00
Winston Chang
65d6c7b558
Minify shiny.js
2015-02-04 12:17:30 -06:00
Winston Chang
8c828e7881
Correct event namespace filtering
2015-02-04 12:15:23 -06:00
Winston Chang
b711780688
Debounce sendImageSize
2015-02-04 12:15:23 -06:00
Joe Cheng
855cdc8eda
Fix oversubscription of shown/hidden events
...
Bootstrap 3 shown/hidden events look like "shown.bs.modal",
"shown.bs.popover", etc. When subscribing to these events, you also
automatically pick up "shown" and "hidden" events. This causes a 6X
oversubscription of hidden and shown events. We fix this by filtering
out these overbroad events.
Also, don't do anything if the show/hide would be a no-op; this
also helps cut down on extraneous events.
2015-02-04 12:15:23 -06:00
Winston Chang
c930cce914
Check for unnamed arguments in ...
2015-02-03 15:55:24 -06:00
Winston Chang
424696cf96
Update NEWS
2015-02-03 10:11:34 -06:00
Joe Cheng
ea4ef45289
Merge pull request #715 from rstudio/bugfix/download-ext
...
downloadHandler temp files should have same extension as final download
2015-02-02 10:27:07 -08:00
Winston Chang
d2e13e6ac6
Merge pull request #719 from aronatkins/typo_04_mpg
...
fix "formula" spelling in 04_mpg example
2015-02-02 09:47:19 -06:00
Aron Atkins
70ff6658eb
fix spelling
2015-02-02 10:09:08 -05:00
Joe Cheng
3e1732b9c0
downloadHandler temp files should have same extension as final download file
2015-02-01 08:37:44 -08:00
Winston Chang
4eb18dc797
Update NEWS
2015-01-28 15:43:23 -06:00
Winston Chang
6e7adfadb0
Merge pull request #710 from rstudio/bugfix/fixedpanel-cursor
...
Fix fixedPanel default cursor handling
2015-01-28 14:00:07 -06:00
Winston Chang
a866224f7b
Switch to modified ion.rangeSlider 2.0.3. Closes #711
...
This includes the stopPropagation change, and the Shiny skin.
2015-01-28 13:56:31 -06:00
Winston Chang
77c50d6880
Update shiny.min.js
2015-01-28 11:36:28 -06:00
Winston Chang
4290e2e7b0
Merge pull request #702 from wch/select-width
...
Allow control over selectize width
2015-01-28 11:17:06 -06:00
Winston Chang
4e8632de73
Better documentation of plotOutput height ( #705 )
2015-01-28 11:15:08 -06:00
Joe Cheng
2792fe82a3
Fix fixedPanel default cursor handling
...
Previous to this fix, calling fixedPanel without an
explicit cursor argument would cause an error due to
the vector of possible values being passed as the
actual cursor argument to absolutePanel.
2015-01-27 18:41:29 -08:00
Winston Chang
ab6df9f8a9
Remove unused width control in shiny.js
2015-01-26 22:31:31 -06:00
Winston Chang
425489c74b
Control width for non-selectize select inputs
2015-01-26 22:31:30 -06:00
Winston Chang
9f04517801
htmlOutput: allow custom container function
2015-01-26 16:50:09 -06:00
Winston Chang
9954639096
Allow control over selectize width
...
Previously, you could set the width of a selectInput with a pixel value
like 500px, but it wouldn't respect percent widths like 100%. This
commit makes width control the wrapper container's width, so it will
respect percent values.
2015-01-26 15:35:02 -06:00
Winston Chang
cd78364c17
Merge pull request #698 from daattali/patch-1
...
parseQueryString returns a list, not a vector
2015-01-25 21:05:17 -06:00
Dean Attali
563b986591
parseQueryString returns a list, not a vector
2015-01-24 20:42:34 -08:00
Winston Chang
fe5552773d
sliderInput: use width argument ( #675 )
2015-01-23 15:30:20 -06:00
Winston Chang
b7acaf9519
Convert donttest examples; check for interactive() instead
2015-01-22 13:21:23 -06:00
Winston Chang
deffc90531
Remove remaining RJSONIO references
2015-01-22 13:15:01 -06:00
Joe Cheng
f54a6e8513
Add IE=edge to X-UA-Compatible header
2015-01-22 10:52:27 -08:00
Winston Chang
ab4dc641af
Make jsonlite::toJSON convert all objects
...
By default, toJSON won't convert objects with classes that aren't registered
explicitly. This caused errors when converting html_dependency objects.
Setting this option causes jsonlite to convert all objects, including
html_dependency objects.
2015-01-21 15:09:12 -06:00
Winston Chang
dfe725dd78
Bump version and update NEWS
2015-01-21 14:16:40 -06:00
Winston Chang
dbe1e24561
Merge pull request #606 from wch/feature/jsonlite
...
Switch from RJSONIO to jsonlite
2015-01-21 14:14:46 -06:00
Winston Chang
075557929a
Switch from RJSONIO to jsonlite
2015-01-21 14:12:53 -06:00
Winston Chang
d994db9c74
Add other authors to DESCRIPTION
2015-01-20 15:19:54 -06:00
Winston Chang
c462c61ac9
Bump version to 0.11.0.9000 for development
2015-01-20 15:19:40 -06:00
Winston Chang
1ef9719059
Merge tag 'v/0/11'
...
Shiny 0.11 released to CRAN
2015-01-18 22:25:11 -06:00
Winston Chang
3df0e7899c
Update cran-comments
2015-01-15 23:49:47 -08:00
Winston Chang
927972d889
More license updates
2015-01-15 23:34:58 -08:00
bhsu
00f409d21d
explicit parameter check
2015-01-14 13:34:27 -05:00
bhsu
6aea95b486
fixed application exit
...
fixed on.exit behavior
2015-01-14 09:59:57 -05:00
bhsu
e4dd78b9a4
renamed to destDir and documentation
...
fixed typo
2015-01-14 09:59:38 -05:00
B. Hsu
d940d5a597
updated run-url.R
...
added ability for user to change destination file when using runUrl, runGist or runGitHub
added messages
added messages informing user of final destination of app files
2015-01-13 16:47:53 -05:00
Winston Chang
5f1ea21be1
Add cran-comments file
2015-01-12 12:04:26 -06:00
Winston Chang
278851224d
Re-document with roxygen2 4.1.0
2015-01-12 12:02:24 -06:00
Winston Chang
0161bc5a4e
Update LICENSE information
2015-01-12 12:02:24 -06:00
Winston Chang
9cf5168d3f
Merge branch 'master' into v0.11-rc
2015-01-11 17:54:51 -06:00
Winston Chang
f066a4bdf4
Negative margin for checkboxes/radios only after label ( #678 )
2015-01-09 14:48:16 -06:00
Winston Chang
0009756ed9
Bump version to 0.11
2015-01-08 14:55:36 -06:00
Winston Chang
481e5437f1
Add CONTRIBUTING.md to .Rbuildignore
2015-01-08 14:55:10 -06:00
Winston Chang
238f54e011
Change name of shinyBootstrap2 package to shinybootstrap2
2015-01-08 14:55:00 -06:00
Winston Chang
180525f538
Merge pull request #685 from rstudio/bugfix/qt-radio-check
...
Suppress Bootstrap top margin around radios and checkboxes in Qt5
2015-01-08 13:47:56 -06:00
Jonathan McPherson
9a1958d19a
restrict changes to Linux (Qt5 on Windows is unaffected)
2015-01-08 11:03:30 -08:00
Jonathan McPherson
e1469a1e44
suppress Bootstrap top margin around radios and checkboxes in Qt5
2015-01-08 10:49:16 -08:00
Winston Chang
85bde2b00d
Fix reference to old shiny version number
2015-01-07 22:03:40 -06:00
Winston Chang
b20a15b4ed
Fix label class for non-inline checkbox and radios
2015-01-07 21:06:37 -06:00
Yihui Xie
a67161f521
add a pointer to the DT package
2015-01-06 14:26:19 -06:00
Yihui Xie
8d621e87a0
should inherit params from textInput instead of passwordInput
2015-01-06 14:17:57 -06:00
Winston Chang
a560034614
Fix another URL
2015-01-06 13:21:57 -06:00
Winston Chang
b329c1f94c
Fix URL
2015-01-06 11:33:07 -06:00
Winston Chang
06459c0f52
Remove duplicate text in reactive domain docs
2015-01-05 11:23:05 -06:00
Winston Chang
2655c2511d
Fix docs for slider step size
2015-01-05 11:20:38 -06:00
Winston Chang
fa9fdb01b0
Add info about using shinyApp and runApp together
2015-01-02 11:47:51 -06:00
Winston Chang
4896948d38
Update NEWS
2015-01-02 11:40:36 -06:00
Winston Chang
133a37817e
Fix class for radio buttons
2014-12-19 15:18:54 -06:00
Winston Chang
0cdee5ed7a
Add staticdocs entry for passwordInput
2014-12-15 13:09:35 -06:00
Winston Chang
2c21989b47
Don't limit width of inline inputs. Fixes #675
2014-12-15 12:22:31 -06:00
Winston Chang
17f796847d
Use correct class for inline checkbox/radio label
2014-12-15 12:22:31 -06:00
Joe Cheng
02578dbf3a
Fix tabset input; event changed for bootstrap 3
2014-12-14 09:59:23 -08:00
Yihui Xie
9f86e84830
closes #668 : emphasize that I() does not work for non-root level elements in the options list in renderDataTable()
2014-12-13 22:52:28 -06:00
Winston Chang
1ae65bb999
Fix URL
2014-12-12 22:35:00 -06:00
Winston Chang
ca72f5fa99
Update devtools install instructions
2014-12-12 17:01:42 -06:00
Winston Chang
bc9b537d84
Merge pull request #673 from wch/handler-domain
...
Make default reactive domain available in request handlers. Fixes #669
2014-12-12 14:03:24 -06:00
Winston Chang
d9336d0ba2
Make default reactive domain available in request handlers. Fixes #669
2014-12-12 10:19:25 -06:00
Joe Cheng
eb537eaa24
Merge pull request #672 from hadley/input-types
...
Add support for more html 5 input types
2014-12-11 22:23:05 -08:00
hadley
f1d814ba04
Implement passwordInput in the same style as textInput()
2014-12-11 16:21:34 -06:00
hadley
760d360e96
Listen for events on all html 5 text inputs types
2014-12-11 16:21:11 -06:00
Winston Chang
5431fa1405
Remove unused jslider css entries
2014-12-11 10:24:29 -06:00
Winston Chang
eb809e388b
withProgress: check that session is a session object
2014-12-10 15:49:32 -06:00
Winston Chang
0205ad7a4f
Fix appearance of download button
2014-12-10 11:01:11 -06:00
Winston Chang
9599b14aa8
Add note about tools in main README
2014-12-09 14:43:28 -06:00
Winston Chang
d72585e3d1
Make JSHint more lenient
2014-12-09 13:38:46 -06:00
Winston Chang
735a15d7c6
Merge tag 'v/0/10/2.2'
...
Shiny version 0.10.2.2
Conflicts:
DESCRIPTION
2014-12-08 16:51:37 -06:00
Winston Chang
0984e6ed90
Clean up importBootstrap code
2014-12-08 16:37:39 -06:00
Winston Chang
6004a4250a
README edits
2014-12-08 16:29:52 -06:00
Winston Chang
b39fcc75d0
Add minified shiny.js
2014-12-08 16:23:02 -06:00
Winston Chang
a401553c13
Re-minify datepicker
2014-12-08 15:56:19 -06:00
Winston Chang
a312abff31
Don't run shiny.js minification
2014-12-08 15:56:19 -06:00
Winston Chang
92c1722469
Simplify npm install instructions
2014-12-08 15:56:19 -06:00
Winston Chang
e48136d31e
Add grunt watch task
2014-12-08 15:56:19 -06:00
Winston Chang
b9d6f6fd9c
Update tools/README
2014-12-08 15:56:19 -06:00
Winston Chang
66c8dfe44d
Add jshint task
2014-12-08 15:56:19 -06:00
Winston Chang
5910c936b9
Use grunt for minification of datepicker
2014-12-08 15:56:19 -06:00
Winston Chang
a2645061fe
Add Gruntfile
2014-12-08 15:56:19 -06:00
Winston Chang
7b887d2fd5
Bump version
2014-12-08 11:34:52 -06:00
Winston Chang
8d2367ed82
Remove use of rstudio::viewer for R CMD check
2014-12-08 11:33:56 -06:00
Joe Cheng
075583f4be
Use minified jquery
2014-12-08 09:17:04 -08:00
Winston Chang
ce86e0a54a
Re-document
2014-12-08 10:10:17 -06:00
Winston Chang
9308f8ea69
Fix documentation typo
2014-12-08 10:10:09 -06:00
Winston Chang
cc8b425adc
Update license information
2014-12-05 14:49:24 -06:00
Winston Chang
25cf7955c9
Bump version to 0.10.2.9006
2014-12-05 14:31:06 -06:00
Winston Chang
d393865efc
Update Bootstrap link
2014-12-05 14:30:46 -06:00
Winston Chang
9d877320d8
Merge pull request #658 from wch/feature/ionslider
...
New sliders
2014-12-05 14:30:07 -06:00
Winston Chang
1f72bef393
Update license information for ion.rangeSlider
2014-12-05 14:28:21 -06:00
Winston Chang
99c1069229
Add instructions for installing old version
2014-12-05 10:33:40 -06:00
Winston Chang
28718429e3
Fix arrows for date inputs. Fixes #663
...
The date inputs used css classes like icon-arrow-right, which no longer works
with font-awesome 4.x. This change uses glyphicon arrows instead, which are
included with Bootstrap and therefore don't need a separate HTML dependency.
2014-12-02 09:53:11 -06:00
Winston Chang
e145021760
Update to ion.rangeSlider 2.0.2 (with shiny mods)
2014-12-02 09:21:47 -06:00
Winston Chang
b7dd51c594
Fix case of directory
2014-12-02 09:08:29 -06:00
Winston Chang
9ebc3e5eec
Fix file input appearance for Bootstrap 3
2014-11-26 19:34:27 -06:00
Winston Chang
4db60d7b27
Merge pull request #655 from wch/showcase-dep
...
Dynamically get font-awesome dependency from showcase body
2014-11-26 16:57:25 -06:00
Winston Chang
5d85199ae3
Dynamically get font-awesome dependency from showcase body
2014-11-26 16:54:27 -06:00
Winston Chang
088c9e5450
Better help for reactiveValues. Fixes #620
2014-11-26 15:28:16 -06:00
Winston Chang
bd51d1b2a2
Update NEWS
2014-11-26 14:20:25 -06:00
Winston Chang
0de7b6f63a
Remove web resources for jslider
2014-11-26 14:20:25 -06:00
Winston Chang
85706eac84
Re-document
2014-11-26 14:20:25 -06:00
Winston Chang
96b646b94a
Rename slider2Input to replace sliderInput
2014-11-26 14:20:25 -06:00
Winston Chang
753f6fc671
Update heuristic for step size
2014-11-26 14:19:06 -06:00
Winston Chang
3f186747ed
Add keyboard support for sliders
2014-11-26 14:19:06 -06:00
Winston Chang
e6748c0793
Re-document
2014-11-26 14:19:06 -06:00
Winston Chang
2383796c49
Add slider2Input documentation
2014-11-26 14:19:06 -06:00
Winston Chang
fb38ab4ef2
Improve tick and step heuristics
2014-11-26 14:19:06 -06:00
Winston Chang
1242a62bca
Set HTML data values to "true" and "false"
2014-11-26 14:19:06 -06:00
Winston Chang
55ceb12277
Simplify label code for slider2Input
2014-11-26 14:19:05 -06:00
Winston Chang
6dd4e7676d
Add deprecation message for format argument
2014-11-26 14:19:05 -06:00
Winston Chang
4abb58b239
Add format options to sliders
2014-11-26 14:19:05 -06:00
Winston Chang
385dab6036
Add script for updating ion.rangeSlider
2014-11-26 14:19:05 -06:00
Winston Chang
2e9291decf
Add QT-webkit touch detection workaround
...
This is from commit 813939b of ion.rangeSlider
2014-11-26 14:19:05 -06:00
Winston Chang
623036f03b
Add updateSlider2Input
2014-11-26 14:19:05 -06:00
Winston Chang
98075e9d9d
Add animation to ionsliders
2014-11-26 14:19:05 -06:00
Winston Chang
b80ce0e222
Add customized ionslider skin for Shiny
2014-11-26 14:19:05 -06:00
Winston Chang
b0162efb1f
Add slider2Input
2014-11-26 14:19:05 -06:00
Winston Chang
7b3e9ab031
Limit width of inputs
2014-11-26 14:16:40 -06:00
Winston Chang
b35e866d95
Fix appearance of DataTables examples
2014-11-26 12:49:59 -06:00
Winston Chang
2d273d1550
Merge pull request #646 from yihui/feature/DT-1.10.3
...
upgrade to DataTables 1.10.4 and use Bootstrap 3
2014-11-26 12:44:39 -06:00
Yihui Xie
6aef3eb879
update the version info of DataTables
2014-11-26 10:15:18 -06:00
Winston Chang
61b0393657
Update tests for new select input structure
2014-11-26 10:09:27 -06:00
Winston Chang
30bf6c0714
Wrap select inputs in div
2014-11-26 09:51:22 -06:00
Winston Chang
fc64b115d3
Fix DOM structure for selectize inputs
2014-11-26 09:42:00 -06:00
Yihui Xie
bdc3f24ca6
the css of the processing indicator seems to be okay with Bootstrap 3 now
2014-11-26 00:13:39 -06:00
Joe Cheng
b28300b184
Merge pull request #660 from wch/body-tag
...
Allow running apps that have a body tag
2014-11-25 11:49:29 -08:00
Winston Chang
5c1f9d03e4
Update version and NEWS
2014-11-25 13:46:22 -06:00
Winston Chang
ed368a225d
Refactor showcase ui code to handle body tags
2014-11-25 13:46:22 -06:00
Winston Chang
2f17f392d5
If UI has body tag, don't wrap in another body
2014-11-25 13:46:21 -06:00
Yihui Xie
b00a6e526e
Bootstrap 3 for DataTables
2014-11-25 00:01:13 -06:00
Yihui Xie
75031df45b
upgrade to DataTables 1.10.4
...
need the bugfix DataTables/DataTables#391
2014-11-25 00:00:55 -06:00
Winston Chang
39148a99d0
Make sure progress bars draw above other Bootstrap components
2014-11-24 13:52:08 -06:00
Winston Chang
d72f5ee2ad
Better examples and docs for renderTable and renderDataTable
2014-11-24 11:24:26 -06:00
Winston Chang
c6ea459a68
Bump version to 0.10.2.9004
2014-11-21 08:26:05 -06:00
Joe Cheng
e8525e5513
Merge pull request #611 from rstudio/feature/bootstrap3
...
Switch to Bootstrap 3
2014-11-20 14:38:09 -08:00
Winston Chang
9046b85ca4
Fix appearance of date ranges
2014-11-20 14:50:18 -06:00
Winston Chang
19257b76d2
Fix spacing of checkbox input
2014-11-20 14:27:06 -06:00
Winston Chang
fd8990b294
Fix appearance of labels for checkbox group and radio buttons
2014-11-20 13:55:53 -06:00
Winston Chang
eb34f5e058
Don't limit text/number/select input width
2014-11-20 13:48:19 -06:00
Winston Chang
f8ced7e065
Merge pull request #656 from andeek/master
...
fixed iconClass function
2014-11-20 13:15:17 -06:00
Winston Chang
bf0a2d3c6c
Fixes for progress bars with Bootstrap 3
2014-11-18 21:26:39 -06:00
Winston Chang
f5878326f7
Add CONTRIBUTING file
2014-11-18 10:50:48 -06:00
Winston Chang
1f0b439168
Add meta viewport tag
2014-11-17 16:13:55 -06:00
Winston Chang
3464e11152
Modify HTML5 shims so they are handled by htmlDependency
...
This adds conditional JS code so that the shim code isn't actually run
in browsers other than IE 8.
2014-11-17 16:13:55 -06:00
Winston Chang
b5f99be635
Add HTML5 shims for Bootstrap 3 to work with IE8
2014-11-17 14:43:35 -06:00
Winston Chang
3153b35c2a
icon: add support for glyphicon library
2014-11-17 14:43:35 -06:00
Winston Chang
c450f9abc2
Re-document
2014-11-17 14:43:35 -06:00
Winston Chang
912434b259
Update navlistPanel for Bootstrap 3
2014-11-17 14:43:35 -06:00
Winston Chang
5f61fc658a
actionButton: add btn-default class, for Bootstrap 3
2014-11-17 14:43:35 -06:00
Winston Chang
a268b74636
Update navbarPage for Bootstrap 3
2014-11-17 14:43:34 -06:00
Winston Chang
82a1bf7afd
Deprecate 'collapsable' in favor of 'collapsible'
2014-11-17 14:43:34 -06:00
Winston Chang
4392676667
Add Bootstrap 3 note to README
2014-11-17 14:43:34 -06:00
Winston Chang
c47ec2c3c0
Register callbacks for each Bootstrap 3 class
2014-11-17 14:43:34 -06:00
Winston Chang
e756fc8daa
Update NEWS
2014-11-17 14:43:34 -06:00
Winston Chang
4629262a1a
Re-document
2014-11-17 14:43:34 -06:00
Winston Chang
741aec198b
Fix inline checkboxGroupInputs and radioButtons
2014-11-17 14:43:34 -06:00
Winston Chang
c3e5b4fa36
Set width of divs inside of flowLayout
2014-11-17 14:43:34 -06:00
Winston Chang
d022907bcd
Update showcase CSS classes for Bootstrap 3
2014-11-17 14:43:34 -06:00
Winston Chang
8a7603a45c
Update slider animation buttons for Bootstrap 3
2014-11-17 14:43:34 -06:00
Winston Chang
2ade82d883
Fix headerPanel spacing
...
The titlepanel spacing also is unnecessary now with Bootstrap 3.
2014-11-17 14:43:34 -06:00
Winston Chang
3d8c38b558
Reduce spacing above sliders
2014-11-17 14:43:34 -06:00
Winston Chang
0f2d0a33b4
Adjust CSS for slider and selectize
...
This makes sliders and selectize inputs have width 100%, just like other
inputs with Bootstrap 3.
2014-11-17 14:43:34 -06:00
Winston Chang
d4ce1499cc
Wrap inputs in div with class 'form-group' to maintain bottom margin
2014-11-17 14:43:33 -06:00
Winston Chang
9ab7895772
Fix appearance of date inputs
2014-11-17 14:43:33 -06:00
Winston Chang
ee9f79e287
Update selectize's CSS to use Bootstrap 3
2014-11-17 14:43:33 -06:00
Winston Chang
ad61dafb9a
Correctly find checkboxes and radio buttons with Bootstrap 3
2014-11-17 14:43:33 -06:00
Winston Chang
b81361ff6d
Update tests for new DOM structure of choices
2014-11-17 14:43:33 -06:00
Winston Chang
52417c0a60
Fix appearance of inputs
2014-11-17 14:43:33 -06:00
Winston Chang
000beeb737
Update tab shown/hidden events for Bootstrap 3
2014-11-17 14:43:33 -06:00
Winston Chang
7cce94000b
Switch from Bootstrap 2 to 3
2014-11-17 14:43:33 -06:00
Andee Kaplan
7a4bdb4191
fixed iconClass function
2014-11-17 14:08:04 -06:00
Winston Chang
279a8ff989
Make font-awesome a dependency for icon()
2014-11-13 15:04:30 -06:00
Winston Chang
ed06a05ff0
Update font-awesome to 4.2.0
2014-11-13 14:06:45 -06:00
Joe Cheng
a56ac24cc2
Merge pull request #653 from yihui/bugfix/DT-encoding
...
encode the JSON response for DataTables/selectize with UTF-8
2014-11-13 09:03:42 -08:00
Yihui Xie
c8efd31d08
encode the JSON response for DataTables/selectize with UTF-8
...
to make sure multibyte characters in DataTables/selectize work
2014-11-13 10:27:56 -06:00
Winston Chang
d8875151e8
Un-normalize Progress values
...
This fixes an issue where Progress objects with a min and max other than
0 and 1 would not display properly.
2014-11-12 22:15:24 -06:00
Winston Chang
6082431161
Fixes for jshint
2014-11-03 15:26:59 -06:00
Joe Cheng
846c23a5a2
Merge remote-tracking branch 'origin/feature/event-reactives'
...
Conflicts:
inst/tests/test-reactivity.r
2014-10-30 14:52:39 -07:00
Joe Cheng
9a5faa92c4
Refactor for code review feedback
2014-10-30 14:50:30 -07:00
Winston Chang
f149be26ce
Add shiny-options to staticdocs index
2014-10-30 11:37:31 -05:00
Yihui Xie
c6d6ca5a5c
bump version
2014-10-29 12:34:35 -05:00
Joe Cheng
98dc8069e3
Merge pull request #627 from yihui/bugfix/DT-XSS
...
escape HTML entities to avoid XSS attacks in DataTables
2014-10-29 10:29:21 -07:00
Winston Chang
32f5d68e51
Merge pull request #638 from wch/option-docs
...
Add documentation for global options
2014-10-29 11:31:09 -05:00
Winston Chang
855347a5d3
Add documentation for global options
2014-10-29 11:30:28 -05:00
Yihui Xie
78c22cb74a
a news item for #630
2014-10-28 16:17:05 -05:00
Yihui Xie
8626a3efea
make escape support column names in renderDataTable(), per suggestion of @jcheng5
2014-10-28 16:11:06 -05:00
Yihui Xie
d7e0d64ac2
fix the issue reported by Tareef: dplyr tbl_df objects are also data frames, but the default non-standard evaluation df[, j] will fail in dataTablesJSON(), so we need to coerce such objects to data frames explicitly
2014-10-28 16:11:06 -05:00
Yihui Xie
e26b1e54c8
a news item for #627 [ci skip]
2014-10-28 16:11:06 -05:00
Yihui Xie
594024472d
apply escape to column names as well
2014-10-28 16:11:06 -05:00
Yihui Xie
5f60d09d0b
per-column escaping
2014-10-28 16:11:06 -05:00
Yihui Xie
a05abda25c
escape HTML entities to avoid XSS attacks in DataTables
...
BTW, per recommendation of http://datatables.net/manual/server-side , the parameter `draw` is coerced to integer
2014-10-28 16:11:06 -05:00
Winston Chang
daa8e44180
Update NEWS
2014-10-28 15:52:13 -05:00
Winston Chang
837a26daee
Bump version to 0.10.2.9002
2014-10-28 15:48:47 -05:00
Joe Cheng
1223d3a2b3
Merge pull request #604 from rstudio/bugfix/observer-errors
...
Better handling of observer errors
2014-10-28 13:12:13 -07:00
Joe Cheng
a4d7eaf709
Merge pull request #630 from yihui/feature/httpuv-encode
...
use encodeURI[Component]() and decodeURIComponent() from httpuv
2014-10-28 13:08:04 -07:00
Yihui Xie
4b12d5527b
increase version requirement of httpuv
2014-10-28 14:13:09 -05:00
Joe Cheng
e7553d6f15
Add observeEvent and eventReactive functions
2014-10-23 12:03:45 -07:00
Yihui Xie
b795d7de4e
use encodeURI[Component]() and decodeURIComponent() from httpuv
2014-10-20 18:15:25 -05:00
Joe Cheng
e732afd64c
Merge remote-tracking branch 'origin/feature/bootstrap-navbar-pos'
2014-10-20 13:16:42 -07:00
Winston Chang
40b25e3826
Merge pull request #597 from rstudio/selectize-0.11.0
...
Update to selectize 0.11.0
2014-10-20 15:13:13 -05:00
Winston Chang
b4d80b467a
Merge pull request #610 from yihui/bugfix/DT-POST
...
fixes #605 : send DT requests via POST instead of the default GET
2014-10-20 15:11:59 -05:00
Joe Cheng
62ef377dd1
Remove eventFilter for now
...
After discussing with @trestletech, the semantics are just not right.
When using it with a renderXXX function, it doesn't actually stop
recomputation, so the only reasonable place to use it is in a reactive
expression, but if that's true then this is a terrible looking API.
Will replace soon with something better.
2014-10-14 12:36:03 -07:00
Joe Cheng
b85b1e95b4
Fix documentation bug in ?validate
2014-10-14 12:30:11 -07:00
Joe Cheng
f2ab7001d2
Fix eventFilter logic
2014-10-14 10:10:08 -07:00
Joe Cheng
7fa6a2e9ef
Fix action button
2014-10-14 09:25:52 -07:00
Joe Cheng
c499bbaa9f
Update NEWS, bump version
2014-10-13 14:28:44 -07:00
Joe Cheng
f2b16c414f
Merge remote-tracking branch 'origin/pr/180'
...
Conflicts:
NAMESPACE
R/bootstrap.R
R/reactives.R
R/shiny.R
2014-10-13 14:24:44 -07:00
Winston Chang
2a73e28b19
Merge pull request #615 from seanchrismurphy/patch-1
...
Update shiny.R
2014-10-12 09:21:58 -05:00
Sean Murphy
9252d1290c
Update shiny.R
...
Update link to shiny tutorial (http://shiny.rstudio.com/tutorial/ )
2014-10-12 22:16:28 +10:00
Yihui Xie
049bd85b29
fixes #605 : send DT requests via POST instead of the default GET
2014-10-07 17:17:48 -05:00
Winston Chang
f95a0fa1d3
Update NEWS
2014-10-07 09:45:27 -05:00
Winston Chang
416466a0e1
Bump version to 0.10.2.9000
2014-10-07 09:44:19 -05:00
Winston Chang
bfd97c5484
Remove explicit dependency install for travis
2014-10-06 13:15:16 -05:00
Winston Chang
9c1badd6aa
Fix test to avoid printing message
...
The recent release of testthat now displays messages in test blocks, which revealed that
this test needed to be updated.
2014-10-06 12:33:09 -05:00
Winston Chang
929cb29c5b
Add global option for error handler function
2014-10-06 12:26:03 -05:00
Winston Chang
1e788962ef
Merge pull request #607 from saurfang/patch-1
...
Use ... in actionButton and actionLink
2014-10-06 11:51:52 -05:00
saurfang
26f8c11526
Add ... to actionButton and actionLink
2014-10-04 13:00:29 -04:00
Winston Chang
a9b3922061
Remove unused withCallingHandlers()
2014-10-03 16:19:03 -05:00
Winston Chang
00ebe4fab2
Add test for observer error handling
2014-10-03 16:17:49 -05:00
Joe Cheng
1bee6aece7
Better handling of observer errors
...
- Unhandled observer error no longer stops flushReact in mid-flush
- Observer errors are now warnings that include the observer label
- Session is explicitly being closed by Shiny instead of by httpuv
Also:
- session$close() is now public and closes the session
2014-10-02 11:13:23 -07:00
Winston Chang
be4eff413d
Bump version to 0.10.2.1
2014-10-01 10:44:44 -05:00
Winston Chang
e56571840b
Change some examples to donttest, to make CRAN happy
2014-10-01 10:32:10 -05:00
Winston Chang
f931222256
Update NEWS
2014-09-29 15:21:43 -05:00
Winston Chang
25ff7d430d
Bump selectize version in html dependencies
2014-09-29 15:21:43 -05:00
Winston Chang
d9cf3ceb9b
Update to Selectize 0.11.2 with computedstyle fix
...
Fixes #596
2014-09-29 15:21:43 -05:00
Winston Chang
c37a84ab4d
Bump version to 0.10.2
2014-09-29 12:18:36 -05:00
Winston Chang
cf97fc9b95
Merge pull request #598 from yihui/feature/ie8-uploads
...
IE8/9 file upload
2014-09-29 10:15:06 -05:00
Yihui Xie
03a8651cfd
use typeof(x) === 'undefined' instead of x === undefined
2014-09-26 16:57:57 -05:00
Yihui Xie
b206525f8e
add a news item for file uploading in IE8/9
2014-09-25 18:07:58 -05:00
Yihui Xie
443850b778
fileInput() works for IE8/9 now, but they do not support multiple files
2014-09-25 18:04:50 -05:00
Yihui Xie
6962fbf6f7
do not store the FileUploader in el.data('currentUploader') for IE (it does not have the .abort() method)
2014-09-25 17:47:41 -05:00
Yihui Xie
a2a7173e30
use the IE8 file uploader only for IE
2014-09-25 17:17:28 -05:00
Yihui Xie
698ad2b890
I do not see why this needs to be changed
2014-09-25 17:07:22 -05:00
Yihui Xie
dd43a82042
IE8 does not support iframe.onload; we need to use .attachEvent() instead
2014-09-25 17:02:08 -05:00
Yihui Xie
a25515dc2b
install mime for travis ci
2014-09-25 14:51:41 -05:00
Yihui Xie
e1a8e119bf
Add import for mime
2014-09-25 14:51:34 -05:00
Joe Cheng
4712b72019
Force IE8 uploads to kick off reactive flush
2014-09-25 14:28:42 -05:00
Yihui Xie
2d162b0d4e
parse the multipart form data POSTed and save the file info in .input
2014-09-25 14:28:42 -05:00
Yihui Xie
1ea4b4d0b5
the iframe does not need src, and we should attach the onload event after it is appended to body, otherwise it will be destroyed immediately
2014-09-25 14:28:42 -05:00
Yihui Xie
c75c7019a8
the key problem with the form submission was that the name was missing
2014-09-25 14:28:42 -05:00
Yihui Xie
67ab5fbc8a
return a valid response temporarily
2014-09-25 14:28:42 -05:00
Yihui Xie
31a5bee228
if evt.target.files is undefined, it is probably IE8; we will use iframe from POST to upload the files later
2014-09-25 14:28:42 -05:00
Yihui Xie
bcd7195bf5
use uploadie instead of upload2 because of regexec("^/([a-z]+)/([^?]*)" earlier ([a-z]+ won't match upload2)
2014-09-25 14:28:42 -05:00
Yihui Xie
322a9d397a
config.sessionId is in this.shinyapp instead of this
2014-09-25 14:28:42 -05:00
Yihui Xie
71e6646ea0
use encodeURI() instead of the deprecated escape()
2014-09-25 14:28:42 -05:00
Joe Cheng
b505507c35
file upload via <iframe> for IE8
2014-09-25 14:28:42 -05:00
Winston Chang
76535c1da5
Add missing entries to staticdocs index
2014-09-24 11:21:29 -05:00
Winston Chang
9edd94e1c0
Fix incomplete sentence
2014-09-16 13:59:48 -05:00
Winston Chang
32449b3c55
Re-document with roxygen2 4.0.2
2014-09-16 13:55:16 -05:00
Winston Chang
76c3d38e11
Add inc method to Progress
2014-09-16 13:54:17 -05:00
Winston Chang
0e8ed7d770
Refactor Progress to have private members
2014-09-11 14:22:01 -05:00
Winston Chang
5af4743f2f
withProgress: evaluate expression in calling env, not in a child
2014-09-11 13:30:58 -05:00
Joe Cheng
ab86232294
Add position parameter to navbarPage
2014-09-10 22:59:35 -07:00
JJ Allaire
0202daf551
bump version
2014-09-10 14:28:29 -04:00
Winston Chang
3b062de156
Update travis config: htmltools 0.2.6 is on CRAN
2014-09-08 13:49:11 -05:00
Joe Cheng
65786c4d41
Fix off-by-one error in dependency attachments
2014-09-05 14:57:49 -07:00
Yihui Xie
d3bb742308
Merge pull request #586 from trestletech/doc/serverInfo
...
Added a clarifying comment to serverInfo.
2014-09-04 17:14:41 -05:00
trestletech
f98aa3f12b
Added a clarifying comment to serverInfo.
2014-09-04 16:30:35 -05:00
Winston Chang
70881bb367
Update NEWS
2014-09-04 15:54:48 -05:00
Winston Chang
50adb5fdf5
sliderInput: Round using min value as baseline. Fixes #301
...
This uses jslider commit da06841.
2014-09-04 15:00:19 -05:00
Winston Chang
c05701fc19
sliderInput: fix rounding bug. Fixes #502
...
This uses jslider from commit 22cd17e
2014-09-04 14:37:11 -05:00
Yihui Xie
5e68b5f3e3
bump version
2014-09-03 17:22:35 -05:00
Yihui Xie
5f46d97409
fixes #306 : should use file_test('-d') to check if a directory exists, instead of file.exists(), because file.exists('foo/') is FALSE even if the directory foo exists
...
I was bitten by this once before: a874ac5b66
2014-09-03 17:21:50 -05:00
Yihui Xie
7f07e47488
update URL in DESCRIPTION
2014-09-03 17:21:50 -05:00
Jeff Allen
3999f4d3a5
Updated external links to the Shiny Dev Center.
2014-09-03 11:18:24 -05:00
Yihui Xie
b3d6220b01
fixes #581 : check for undefined instead of null
2014-08-29 15:31:10 -05:00
Winston Chang
7d88775b5a
Faster Map implementation
2014-08-28 23:12:09 -05:00
Winston Chang
2ca5d3e0df
Restore class attribute for Map
...
This is because there are S3 methods for Map.
2014-08-28 23:07:46 -05:00
Winston Chang
3f34030a12
Cleaner method of getting execCount
2014-08-28 20:21:45 -05:00
Winston Chang
11dfa3d9aa
Remove unneeded @.Data field
2014-08-28 20:21:45 -05:00
Winston Chang
6923a11038
Don't add class attribute for internal-facing classes
...
The class attribute is unneded for these classes, and this improves
performance.
2014-08-28 20:21:05 -05:00
Winston Chang
33d78fcf29
Update NEWS
2014-08-28 19:44:43 -05:00
Winston Chang
2b3cfdf18b
Migrate reactlog to use Stack
2014-08-28 19:20:10 -05:00
Winston Chang
aa7a3f7013
Reverse order of Stack as_list()
2014-08-28 19:14:15 -05:00
Winston Chang
1e1b3c8f5f
Faster stack implementation
2014-08-28 17:31:53 -05:00
Yihui Xie
a7cac36974
bump version
2014-08-28 16:58:36 -05:00
Yihui Xie
3af800e522
add the R version requirement to NEWS
2014-08-28 16:57:06 -05:00
Yihui Xie
cf135dd658
Revert "Revert "Remove caTools dependency""
...
This reverts commit 8d4b9076f7 .
The main concern for the previous reversion was the Glimmer/Spark servers (Rcpp requires R >= 3.0.0). We are able to install Rcpp/httpuv under R 2.15.3 (https://gist.github.com/yihui/43a68d811dade1d9e828 ), so it is possible to upgrade Rcpp/httpuv/shiny on Glimmer/Spark. On the other hand, we are going to shut down Glimmer/Spark by the end of this year anyway, and move to ShinyApps.io, which makes this R 3.x issue even less of concern.
2014-08-28 16:55:03 -05:00
Winston Chang
4e9d113896
Bump version to 0.10.1.9005
2014-08-28 16:31:30 -05:00
Winston Chang
af8e81d208
Update NEWS
2014-08-28 16:31:22 -05:00
Winston Chang
83fa1ea4a6
Merge pull request #580 from wch/r6class
...
Migrate from reference classes to R6
2014-08-28 16:21:39 -05:00
Winston Chang
a72f8b7b65
Merge pull request #579 from yihui/feature/DT-caseInsensitive
...
Case insensitive searching in DataTables
2014-08-28 16:21:16 -05:00
Winston Chang
1b940a3117
Install R6 for travis
2014-08-28 16:02:40 -05:00
Winston Chang
5012831e7b
Add tests for nested query strings
2014-08-28 15:59:50 -05:00
Winston Chang
85fb08e9a5
Update tests for R6
2014-08-28 15:45:56 -05:00
Winston Chang
7ac84b6a91
Switch from refclasses to R6
2014-08-28 15:45:44 -05:00
Yihui Xie
3a72526016
update news to reflect changes in DataTables
2014-08-28 15:38:55 -05:00
Yihui Xie
c3e78f41b0
implement case-[in]sensitive searching on the server side ( #400 )
...
grep2() was invented to deal with these situations:
1. case-insensitive and fixed matching
2. when the regex is incomplete
2014-08-28 15:38:47 -05:00
Yihui Xie
fdea9dddee
send search.caseInsensitive to the server to make it possible to do case-insensitve searching
2014-08-28 15:30:43 -05:00
Winston Chang
2d3dd7d91d
Field type should be a string
2014-08-27 14:09:39 -05:00
Winston Chang
2487245e94
Replace == with ===
2014-08-26 13:23:38 -05:00
Joe Cheng
a4f12691ce
Use encodeURI instead of escape
2014-08-26 09:41:00 -07:00
Winston Chang
e7e83eb8bb
Merge pull request #576 from yihui/bugfix/DT-searchbox
...
escape the placeholders of search boxes in DataTables, and strip the HTML tags off
2014-08-26 11:02:14 -05:00
Yihui Xie
e8ffb68c08
escape the placeholders of search boxes in DataTables, and strip the HTML tags off
2014-08-25 16:45:00 -05:00
Yihui Xie
283f69cb65
use the latest version of htmltools
2014-08-22 12:16:45 -05:00
Winston Chang
0fb4ab2dcf
Merge pull request #558 from yihui/feature/datatables1.10
...
DataTables 1.10.2
2014-08-22 12:02:39 -05:00
Yihui Xie
063ac989be
closes yihui/shiny#4 after cleaning it up a bit
...
use [searchField] instead of $.makeArray(), and unlist() it on the R side
2014-08-22 00:11:00 -05:00
Xin Yin
82fb11a7b5
Adopted Yihui's suggestion to use $.makeArray() to fix a bug with searchField option in selectizeInput(), caused by RJSONIO:::fromJSON()
2014-08-21 23:58:50 -05:00
Yihui Xie
d238d61906
need a newer version of htmltools due to 5f4c8cf176 and the bug rstudio/htmltools#7
2014-08-21 15:28:53 -05:00
Yihui Xie
22fdc90159
add instructions for upgrading from DataTables 1.9 to 1.10
2014-08-21 14:24:39 -05:00
Yihui Xie
b6cf4c4375
background color for selected rows
2014-08-21 12:12:34 -05:00
Yihui Xie
8aa32fff34
get rid of the ugly trick eval(parse()), and use a plain loop to create a nested list
2014-08-21 12:10:26 -05:00
Yihui Xie
76d6ffea4a
tweak doc and roxygenize
2014-08-21 12:10:26 -05:00
Yihui Xie
ea8ca8ea1e
new option names for DataTables from Hungarian to camelCase notations
2014-08-21 12:10:26 -05:00
Yihui Xie
ed9ca04c58
support [] in query strings like $_GET in PHP, because server-side DataTables 1.10 passes parameters as arrays
...
e.g. columns[0][search][value]=foo&columns[1][search][value]=bar
we need list(columns = list(`0` = list(search = list(value = 'foo')), `1` = ...)
2014-08-21 12:10:26 -05:00
Yihui Xie
093fbaa178
the names of keys and values are useless
2014-08-21 12:10:26 -05:00
Yihui Xie
5f4c8cf176
tweaking the bootstrap style copied from DataTables:
...
1. sorted columns have different colors;
2. correct position of the processing info;
3. override the width of text input (search fields), otherwise they will be too wide (206px defined in bootstrap.min.css);
2014-08-21 12:10:06 -05:00
Yihui Xie
c7ee37804c
fix a bug when the number of rows of data to show is zero
...
all(logical(0)) == TRUE!
2014-08-21 11:35:37 -05:00
Yihui Xie
e0c31aa5af
upgrade DataTables from 1.9.4 to 0.10.2; closes #487
2014-08-21 11:35:37 -05:00
Yihui Xie
ab1494777d
fixes #573 : use the new MathJax CDN
2014-08-20 16:40:00 -05:00
Winston Chang
c01fafb605
Bump version to 0.10.1.9004
2014-08-20 11:49:47 -05:00
Winston Chang
5be2ffc0b2
Update NEWS
2014-08-20 11:49:37 -05:00
Winston Chang
3ede9396da
Merge branch 'progress'
...
Conflicts:
NAMESPACE
2014-08-20 11:31:28 -05:00
Winston Chang
e400a7a15e
Update progress documentation
2014-08-20 11:25:28 -05:00
Winston Chang
2939006a9a
Merge pull request #571 from rstudio/feature/dependency-attachment
...
Add createWebDependency and renderDependencies functions
2014-08-20 09:48:44 -05:00
Winston Chang
df975a0b6b
Add missing semicolon
2014-08-20 09:48:25 -05:00
Joe Cheng
bda86de632
Update metadata
2014-08-19 09:54:32 -07:00
Joe Cheng
5738a4ba48
Add createWebDependency and renderDependencies functions
2014-08-18 13:27:55 -07:00
Joe Cheng
38cfa46131
Roxygenize
2014-08-18 13:27:15 -07:00
Winston Chang
9525df1381
Add missing semicolon
2014-08-15 16:36:45 -05:00
Winston Chang
d393577ba8
uiHttpHandler: return NULL if no ui
...
This restores missing UI detection for single-file apps, which was lost
in 0f431ed .
2014-08-13 15:39:18 -05:00
Winston Chang
f7c2a07b70
Update NEWS
2014-08-13 15:32:08 -05:00
Winston Chang
adf69b4890
Look for server.R before app.R
2014-08-13 15:30:40 -05:00
Winston Chang
593d22b640
Bump version to 0.10.9002
2014-08-13 14:48:45 -05:00
Winston Chang
7706eebafb
Remove single file example
...
The example will be moved to the gallery.
2014-08-13 14:22:26 -05:00
Joe Cheng
91bd5127fb
Merge pull request #563 from rstudio/single-file2
...
Single-file app support
2014-08-12 19:24:58 -07:00
Winston Chang
b87a0d7f25
Automatically display app.R file in showcase mode
2014-08-12 16:47:41 -05:00
Winston Chang
0f431ed384
Detect showcase mode for single-file apps
2014-08-12 16:36:00 -05:00
Winston Chang
d520921b13
Merge pull request #564 from rstudio/feature/output-resize
...
Add support for resize(el, width, height) method on output bindings
2014-08-12 15:13:22 -05:00
Joe Cheng
8d4b9076f7
Revert "Remove caTools dependency"
...
This reverts commit e4239c924b .
I totally forgot the problems this causes with R 2.15 and thus
glimmer/spark. httpuv 1.2.2 requires Rcpp 0.11 which requires
R 3.0. So existing installs (like glimmer/spark) that are
running just fine with httpuv 1.2.0 will be forced to upgrade,
which is hard to do when you don't know the provenance of
all the packages installed by your users.
2014-08-12 10:24:33 -07:00
Joe Cheng
93ebbcaf04
Merge pull request #567 from rstudio/feature/remove-prefix-warning
...
remove addResourcePath warning for overriding an existing prefix
2014-08-09 12:45:14 -07:00
JJ Allaire
ecde1580fd
remove addResourcePath warning for overriding an existing prefix
2014-08-09 06:39:27 -04:00
Joe Cheng
8f73bb222c
Add support for resize(el, width, height) method on output bindings
2014-08-08 00:43:02 -04:00
Winston Chang
1108e04eff
Update missing-UI web page to include app.R
2014-08-07 13:26:07 -05:00
Winston Chang
0f1a8f3358
Add single-file app example
2014-08-07 13:25:49 -05:00
Winston Chang
77de4df0ff
shinyApp: use NULL default for ui and server
...
This is so that, when a single-file app returns a shinyApp with a blank
`ui` argument, Shiny will not error out, and instead it can search for
a www/ subdirectory.
2014-08-07 13:18:21 -05:00
Winston Chang
0564de37ee
Add support for shinyAppDir with single-file app.R
2014-08-06 21:51:36 -05:00
Winston Chang
8c584ae0e0
Refactor file.path.ci, add find.file.ci and file.exists.ci
2014-08-06 21:19:46 -05:00
Winston Chang
30c80279c8
Remove accidental browser()
2014-08-06 21:18:45 -05:00
Winston Chang
3f0ab9a88a
Fixes to file.path.ci
...
There were two bugs, which are fixed:
* It didn't find files starting with '.' because `all.files` defaults to FALSE.
* It was too loose with file matching - the `pattern` argument to list.files
is a regexp, not string literal.
2014-08-06 12:19:08 -05:00
Winston Chang
6da3fcf446
Add container for all progress items
2014-08-04 16:01:47 -05:00
Winston Chang
26746ca303
Don't use multiline string in JS
2014-08-01 21:11:44 -05:00
Winston Chang
64158eac43
Make progress position more customizable
2014-08-01 21:11:03 -05:00
Yihui Xie
9e3a7f5eda
a typo in the news for 0.10.1
2014-08-01 17:16:47 -05:00
Yihui Xie
0a4f3db8ae
bump version
2014-08-01 16:37:20 -05:00
Yihui Xie
c095085d84
fixes #557 : choicesWithNames() turns a character vector to a list, which is no longer appropriate as a column in data.frame()
2014-08-01 16:37:20 -05:00
Yihui Xie
41cc4e68e3
no need to use wrap = FALSE for roxygen2 now
2014-08-01 16:37:20 -05:00
Winston Chang
21fb7959a5
Fix edge case with nested choices. Fixes #560
...
When the set of choices is a list containing a named vector of length 1,
choicesWithNames would return the wrong result.
2014-08-01 16:11:51 -05:00
Yihui Xie
3aa22127e0
a consequence of PR #552 is R 3.0.0
...
those who still wish to install shiny under R 2.15.x may take a look at these instructions: https://gist.github.com/yihui/43a68d811dade1d9e828
2014-08-01 15:28:43 -05:00
Winston Chang
a679a37ffa
Make progressHandlers a simple object
2014-08-01 15:16:54 -05:00
Winston Chang
649857ec28
Update NAMESPACE
2014-07-30 14:15:42 -05:00
Winston Chang
4a6136b918
Fade in bars
2014-07-30 14:15:42 -05:00
Winston Chang
6e1c468a80
Simplify R API for progress
2014-07-30 14:15:42 -05:00
Winston Chang
cadcd0c5e8
Export Progress generator
2014-07-30 14:15:42 -05:00
Winston Chang
a531c306f1
Make progress bar show on top
2014-07-30 14:15:42 -05:00
Winston Chang
b0a9449335
Simplify argument handling
2014-07-30 14:15:42 -05:00
Winston Chang
b6deb87cae
Unify binding and page-level progress interface
2014-07-30 14:15:41 -05:00
Winston Chang
7319c88674
Use new message format for progress reporting
2014-07-30 14:15:41 -05:00
Winston Chang
d36317c563
Add missing 'var'
2014-07-30 14:15:41 -05:00
Winston Chang
1917202bd0
Improve handling of closed progress
2014-07-30 14:15:41 -05:00
Winston Chang
a8338912e0
Simplify code
2014-07-30 14:15:41 -05:00
Winston Chang
bfea3201e8
Put progress stack in session object
2014-07-30 14:15:41 -05:00
Winston Chang
a9bb440e6c
Add Stack ref class
2014-07-30 14:15:41 -05:00
Winston Chang
f0942d58e8
Get session without needing to pass it in
2014-07-30 14:15:40 -05:00
Winston Chang
aa093659a0
Copy over progress code from shinyIncubator
2014-07-30 14:15:40 -05:00
Winston Chang
cccdbc05a5
Bump to development version number
2014-07-27 22:22:22 -05:00
Winston Chang
dfa32b7be4
Merge tag 'v/0/10/1'
...
Shiny 0.10.1 released to CRAN
2014-07-27 22:19:44 -05:00
Winston Chang
c7e0bd037a
Merge pull request #552 from rstudio/no-catools
...
Remove caTools dependency
2014-07-25 14:43:15 -05:00
Winston Chang
6c711b76b0
Bump version to 0.10.1
2014-07-25 14:20:43 -05:00
Winston Chang
9c914f10c4
Merge pull request #553 from wch/hidden-selectize
...
Add custom version of selectize.js to work around Firefox bug
2014-07-25 13:37:08 -05:00
Winston Chang
eda56d118a
Merge pull request #549 from yihui/bugfix/utf8-bom
...
warn against the byte order mark if exists; fixes #545
2014-07-24 16:09:56 -05:00
Winston Chang
02c7351c6d
Add custom version of selectize.js to work around Firefox bug
...
This is a workaround for issue #550 . This version is based on selectize version 0.9.1.
2014-07-24 15:29:23 -05:00
Yihui Xie
ab618235f1
one more check before we use UTF-8: see if there are embedded nul's
2014-07-24 14:48:23 -05:00
Joe Cheng
e4239c924b
Remove caTools dependency
...
Instead, use base64 encoding function from httpuv
2014-07-24 10:37:14 -07:00
Yihui Xie
ffead9ed70
add explanations of skipping *nix when checking encoding, and point to the shiny dev center article
2014-07-24 11:57:46 -05:00
Winston Chang
36aefadced
Merge pull request #550 from rstudio/bugfix/offscreen-shinyapps
...
Deal gracefully with elements that have no computed style available
2014-07-23 11:55:24 -05:00
Jonathan McPherson
75ccfe38ce
update comment with more specific browser notes
2014-07-23 09:43:42 -07:00
Jonathan McPherson
e3cb3fe2e4
deal gracefully with elements that have no computed style available
2014-07-22 14:41:34 -07:00
Yihui Xie
983e7e9b75
warn against the byte order mark if exists; fixes #545
2014-07-22 16:22:50 -05:00
Yihui Xie
3db47c076c
a news item for the optgroup feature
2014-07-18 14:40:58 -05:00
Yihui Xie
eeff285b33
add links to examples in shiny dev center
2014-07-18 14:40:31 -05:00
Yihui Xie
029595f8ea
an edge case selectInput(choices = NULL)
...
firstChoice() may fail with an error "subscript out of bounds"
2014-07-17 15:59:33 -05:00
Yihui Xie
ea2ec27724
bump version
2014-07-17 14:52:26 -05:00
Yihui Xie
f6bf4a416f
Merge pull request #537 from yihui/bugfix/native-encoding
...
Use native encoding internally
2014-07-17 14:49:53 -05:00
Yihui Xie
af978a68e3
tweak the warning message
...
and simply stop() in case the user has set option(encoding = 'UTF-8')
2014-07-17 14:39:21 -05:00
Yihui Xie
89dc1323e1
add a note section about the clickId/hoverId arguments in plotOutput(), since they seem to have been confusing grid graphics users
...
and re-wrap the roxygen comments
2014-07-16 17:27:00 -05:00
Yihui Xie
a4b5f63deb
a single quote ' was omitted here, making the Rd for plotOutput() incomplete since this line was ignored
2014-07-16 17:27:00 -05:00
Winston Chang
feaa6ccff4
Merge pull request #542 from rstudio/feature/select-optgroup
...
Feature/select optgroup (closes #520 )
2014-07-16 17:22:29 -05:00
Winston Chang
7159293337
Use consistent indentation for function definitions
2014-07-16 17:04:22 -05:00
Winston Chang
4a5b31e3a7
Simplify needOptgroup function
2014-07-16 16:57:17 -05:00
Winston Chang
6f1dc89fb3
Enable union merge for NEWS
2014-07-16 16:48:56 -05:00
Yihui Xie
29dd405fe5
the options and ... arguments are no longer needed
2014-07-16 15:50:31 -05:00
Yihui Xie
0f0b0cd3d8
explicitly define updateSelectInput() instead of using the trick to change the options argument of updateInputOptions()
2014-07-16 15:50:08 -05:00
Winston Chang
262528e36a
Add tests for deeper nesting with choicesWithNames
2014-07-16 12:07:13 -05:00
Winston Chang
597e86dd57
Make listify work on nested lists of depth > 1
2014-07-16 12:02:55 -05:00
Winston Chang
b604dba948
Add tests for default selected items
2014-07-16 00:52:29 -05:00
Winston Chang
1837a64bd2
Add tests for selectOptions
2014-07-16 00:51:57 -05:00
Winston Chang
9b413de4d8
selectOptions: handle mixed options and optgroups
2014-07-16 00:51:57 -05:00
Winston Chang
3d77cbd677
Slight clarification of comment
2014-07-16 00:51:57 -05:00
Winston Chang
62176c3218
Add tests for choicesWithNames
2014-07-16 00:51:57 -05:00
Winston Chang
d7a01c32cc
Always convert choices to a (named) list
...
Converting it to a list, and ensuring that it's a named list reduces
many checks elsewhere.
2014-07-16 00:51:57 -05:00
Yihui Xie
cc493fd545
fall back to native encoding on Windows if UTF-8 does not work
2014-07-15 16:05:23 -05:00
Yihui Xie
6b8679454d
factor out .Platform$OS.type == 'windows' as isWindows()
2014-07-15 16:04:02 -05:00
Yihui Xie
1b68d61e54
R CMD check will warn against the possibly missing variables inline and type
2014-07-11 17:36:37 -05:00
Yihui Xie
418de862e6
rename newOptions to config
2014-07-11 14:17:08 -05:00
Yihui Xie
413653858e
inherit doc for updateFooInput() from fooInput()
2014-07-11 14:03:47 -05:00
Yihui Xie
f0886a7556
when we need <optgroup> for the child elements of choices, we just generate it no matter what the child element is
...
e.g. we use <optgroup> for A even if A only has one element: list(A = 'a', B = c('b1', 'b2'))
2014-07-11 14:03:47 -05:00
Yihui Xie
0e2666948f
when choice is not a list, we need to return its first element
2014-07-11 14:03:47 -05:00
Yihui Xie
d2fc851816
make updateSelectInput(), updateCheckboxGroupInput(), and updateRadioButtons() work
...
now session$sendInputMessage() does not send options as the choices data, but as a pre-generated raw HTML string; in shiny.js, we just receive this string, and .append() it to the input after the input is emptied
2014-07-11 14:03:47 -05:00
Yihui Xie
e1fb29c8c5
factor out the code to generate options from checkboxGrouptInput() and radioButtons(), and use the new generator generateOptions() for them
2014-07-11 14:03:47 -05:00
Yihui Xie
fe3158fdd6
validateSelected() does not validate selected for the optgroup case; this function is only for shiny <= 0.9
2014-07-11 14:03:47 -05:00
Yihui Xie
721b26f80b
choicesWithNames() should also consider the optgroup case now: all optgroup nodes must be named
2014-07-11 14:03:47 -05:00
Yihui Xie
d3ecfb22ee
closes #326 : generate <optgroup> when choices is a named list of choices
...
note the nested level of optgroup can be greater than one here, however, the HTML4 spec only allows one level, i.e. optgroup must have select as its direct parent http://stackoverflow.com/q/1037732/559676
2014-07-11 14:03:47 -05:00
Yihui Xie
27a98020c9
recursively select the first choice, to make sure selected is a scalar, even when choices is a list of lists (optgroup)
2014-07-11 14:03:47 -05:00
Yihui Xie
ab56b72f39
json2.js modified and uglified from https://github.com/yihui/JSON-js via http://lisperator.net/uglifyjs/
...
I'm using the date of json2 as its version number, since it does not really have a version number
This should close rstudio/shiny-server#79
2014-07-10 17:56:23 -05:00
Yihui Xie
8063f66958
let's read ui.R, server.R, README.md, and DESCRIPTION also with UTF-8
...
the reason for this is that htmltools::htmlEscape() uses gsub(..., x, fixed =
TRUE), which does not work on Windows if x is encoded in UTF-8; fixed = TRUE
only works with the native encoding
2014-07-10 15:59:42 -05:00
Yihui Xie
bf270b9adb
convert the message to native encoding from UTF-8 before decoding it
...
on Windows, switch(input$foo, foo1 = val1) does not work even if input$foo ==
foo1 but Encoding(input$foo) is UTF-8 while foo1 is unknown (native encoding);
to prevent such problems, let's always use native encoding inside the shiny
process, and only do the UTF-8 conversion at I/O time
special thanks to @desar for the thorough tests
2014-07-10 15:59:42 -05:00
Joe Cheng
972db08740
Merge pull request #539 from yihui/doc/conditionalPanel
...
add a Note section to the documentation of conditionalPanel(), since it ...
2014-07-10 00:41:36 -07:00
Yihui Xie
6326c7cbaa
add a Note section to the documentation of conditionalPanel(), since it always confuses R users
...
e.g. https://groups.google.com/d/msg/shiny-discuss/AFItYcRXzyw/ywRy3EEtjw4J
2014-07-10 00:11:11 -05:00
Yihui Xie
4152ace514
Merge pull request #538 from rstudio/bugfix/showcase-nullref
...
fix #500 : check for null source ref highlight points
2014-07-09 11:55:02 -05:00
Jonathan McPherson
038221408c
fix #500 : check for null source ref highlight points
2014-07-09 09:26:39 -07:00
Joe Cheng
9f76def7ce
Merge pull request #533 from rstudio/bugfix/slow-options
...
Calling getOption() with default is slow
2014-07-06 16:38:25 -07:00
Joe Cheng
1b83770c5c
Merge pull request #528 from yihui/bugfix/showcase-encoding
...
use UTF-8 for showcase mode, and assume DESCRIPTION is also UTF-8
2014-07-06 12:13:05 -07:00
Joe Cheng
3458d924ca
Calling getOption() with default is slow
...
This has a measurable effect in apps with lots of reactives.
Reported by Aran Lunzer
2014-07-06 12:10:51 -07:00
Yihui Xie
0749b9500c
use UTF-8 for showcase mode, and assume DESCRIPTION is also UTF-8
...
this time we should fix #136 now; I did not find other files that have to be
read with UTF-8
2014-06-26 15:41:12 -05:00
Jonathan
b1dfc18a8c
Merge pull request #527 from rstudio/render-rmd-warning
...
Emit R Markdown warnings for render* functions as well as shinyApps
2014-06-25 11:18:41 -07:00
Jonathan McPherson
7b25c282c0
append rather than replace knit_meta with Shiny warning
2014-06-25 10:20:07 -07:00
Yihui Xie
a128ceaf2d
bump version
2014-06-25 10:41:34 -05:00
Jonathan McPherson
f266cab580
emit R Markdown warnings for render* functions as well as shinyApps
2014-06-24 16:43:58 -07:00
Yihui Xie
23bf9aaf17
Merge pull request #526 from rstudio/bugfix/plot-captures-output
...
Revert "tweak after #492 : capture.output() does withVisible() and print(...
2014-06-24 13:40:45 -05:00
Joe Cheng
1983f60ec6
Revert "tweak after #492 : capture.output() does withVisible() and print() if necessary"
...
This reverts commit 451f950d0d .
Too-aggressive capture.output was causing browser() not to work in
renderPlot().
2014-06-24 06:09:36 -07:00
Yihui Xie
27f8909406
bump version
2014-06-19 13:50:39 -05:00
Yihui Xie
9988206911
add news for #512
2014-06-19 13:50:06 -05:00
Joe Cheng
31fe1fdfa6
Merge pull request #523 from rstudio/feature/navbarPage-windowTitle
...
Add windowTitle parameter to navbarPage
2014-06-19 10:45:01 -07:00
Joe Cheng
77b125ce2d
Add windowTitle parameter to navbarPage
...
Fixes #493
2014-06-19 09:36:50 -07:00
Joe Cheng
6e68e07aa2
Merge pull request #512 from yihui/feature/inline-output
...
Inline output in R Markdown documents
2014-06-19 09:20:13 -07:00
Yihui Xie
86bb010a93
roxygenize
2014-06-19 00:24:10 -05:00
Yihui Xie
4a623b596b
ignore width/height in plotOutput() when inline=TRUE, and document required width/height values in renderPlot()
2014-06-19 00:24:10 -05:00
Yihui Xie
bcf098ea7d
merge doc of width and height in renderPlot() and plotOutput()
2014-06-19 00:24:10 -05:00
Yihui Xie
4bfb226fb5
roxygenize
2014-06-19 00:24:10 -05:00
Yihui Xie
691615108b
preserve the formal arguments of plotOutput() in outputFunc()
...
otherwise outputFunc() loses the `inline` argument, and knit_print() won't be able to produce inline plots
2014-06-19 00:24:10 -05:00
Yihui Xie
858ab00e36
closes #501 : knit_print() for inline output uses the inline argument passed from knitr
2014-06-19 00:24:10 -05:00
Yihui Xie
7023f5b145
add an inline argument to textOutput(), imageOutput(), plotOutput(), and htmlOutput()
2014-06-19 00:24:10 -05:00
Yihui Xie
eb4fabeac6
fix two more staticdocs errors
2014-06-19 00:17:55 -05:00
Joe Cheng
a5e09f9ce4
Merge tag 'v/0/10/0-staticdocs'
2014-06-18 11:12:40 -07:00
Joe Cheng
c2fe4e8b6d
Fix staticdoc errors
2014-06-18 11:11:21 -07:00
Winston Chang
5d22648d34
Merge pull request #513 from rstudio/feature/json-precision
...
Control precision of JSON numeric representation
2014-06-17 11:51:47 -05:00
Yihui Xie
066fd15184
quiet apt-get and install.packages()
2014-06-16 10:32:04 -05:00
Yihui Xie
fe90c230d5
r-base should just work, since the packages that need to be compiled are installed via apt-get
2014-06-16 10:07:54 -05:00
Yihui Xie
0b5ae92136
shiny 0.10.0 is on CRAN now, so the dependencies knitr and htmltools should be automatically detected
2014-06-16 10:05:33 -05:00
Yihui Xie
1c5565aaee
a news item for #427
2014-06-16 09:59:32 -05:00
Yihui Xie
69c177a3ec
a news item for #516
2014-06-16 09:50:59 -05:00
Joe Cheng
0645b3f65b
Merge pull request #507 from yihui/doc/runUrl
...
Merge doc for runUrl(), runGist(), and runGitHub()
2014-06-16 01:19:52 -07:00
Joe Cheng
9e7471fcc0
Merge pull request #516 from yihui/bugfix/windows-encoding
...
Fixes #136 : I18N support for Windows
2014-06-16 01:17:31 -07:00
Joe Cheng
c520f53799
Bump to development version number
2014-06-16 01:13:33 -07:00
Yihui Xie
0bf1386802
UTF8 encoding for runApp(list(ui, server)) as well
2014-06-13 18:53:36 -05:00
Yihui Xie
b2ab3797aa
the cachedSource() function is not used anywhere, so perhaps we can remove it
2014-06-13 18:08:16 -05:00
Yihui Xie
ede0ca8bd1
make sure JSON messages are always encoded and decoded with UTF8
...
- per @jcheng5's suggestion, RJSONIO::fromJSON(encoding = 'UTF-8') actually works (no longer need my markUTF8 function)
- removed the global option 'shiny.transcode.json'
2014-06-13 18:07:01 -05:00
Yihui Xie
81e35f0cc3
make sure the HTML content is encoded in UTF8
2014-06-13 18:02:20 -05:00
Yihui Xie
237522a1f7
assuming all the input R scripts are UTF8 encoded
...
ui.R, server.R, and global.R
2014-06-13 18:00:46 -05:00
Joe Cheng
2f94e1d2c9
Fix timing issue with random seed test on windows
2014-06-13 14:40:19 -07:00
Joe Cheng
2689dd32bb
Bump version to 0.10.0
2014-06-13 09:41:45 -07:00
Winston Chang
ad5e703b8f
Merge pull request #514 from yihui/doc/news-flowLayout
...
typo: flowPanel --> flowLayout
2014-06-13 11:12:07 -05:00
Yihui Xie
d3bc2e9279
typo: flowPanel --> flowLayout
2014-06-13 11:05:36 -05:00
Joe Cheng
0cd1644cf1
Control precision of JSON numeric representation
...
Uses 16 digits by default, set shiny.json.digits option to customize
2014-06-10 15:02:45 -07:00
Winston Chang
f02b405c12
Merge pull request #508 from yihui/bugfix/large-margin
...
set the margin to 0 before plot.new()
2014-06-10 11:57:07 -05:00
Yihui Xie
baa7036799
explain why par(mar = rep(0, 4)) is necessary before plot.new(), per @wch's suggestion
2014-06-10 11:50:49 -05:00
Yihui Xie
431aecaf00
set the margin to 0 before plot.new()
...
otherwise users will be unable to draw small plots because of the common error "figure margin too large", e.g. renderPlot(..., width=200, height=100)
2014-06-10 00:46:33 -05:00
Yihui Xie
f31bb56ea6
subdir=NULL is the default of runUrl()
2014-06-09 22:24:51 -05:00
Yihui Xie
cf3b805c46
the message is not very useful, given that download() will emit a message
2014-06-09 22:24:51 -05:00
Yihui Xie
517283ca58
closes #427 : runGitHub() can accept "username/repo" in its first argument
2014-06-09 22:24:51 -05:00
Yihui Xie
f416b7ba47
the name variable is not used anywhere
2014-06-09 22:21:29 -05:00
Yihui Xie
973190b7a1
let download() fail in this case (ref=NULL); since ref='master' by default, if the user provides another value, he/she is expected to have read the documentation
2014-06-09 22:21:29 -05:00
Yihui Xie
f536a9d3d3
move runGist() and runGithub() after runUrl(), and merge their descriptions into the description of runUrl()
2014-06-09 22:21:29 -05:00
Yihui Xie
1348ec3bcf
closes #213 : merge the documentation of runUrl(), runGithub(), and runGist()
...
removed the port and launch.browser arguments, and used ... instead
2014-06-09 21:45:52 -05:00
Joe Cheng
9a250a4861
Merge pull request #506 from yihui/bugfix/stats
...
stats may not have been loaded in the event of .onLoad()
2014-06-09 09:09:11 -07:00
Yihui Xie
6450927192
stats may not have been loaded in the event of .onLoad()
2014-06-09 10:56:36 -05:00
Joe Cheng
7c9dbdc802
Merge pull request #504 from rstudio/news-update
...
Update NEWS
2014-06-07 12:29:04 -07:00
Joe Cheng
8d460afe2d
Merge pull request #505 from yihui/doc/splitLayout
...
there should not be #' before @examples
2014-06-06 23:38:00 -07:00
Yihui Xie
6c44c2cf24
there should not be #' before @examples
2014-06-07 01:00:13 -05:00
Joe Cheng
cea550ebba
Update NEWS
2014-06-06 22:41:04 -07:00
Joe Cheng
911a352ee6
Bump version
2014-06-06 22:20:17 -07:00
Joe Cheng
3fadfbe06e
Merge pull request #503 from rstudio/bugfix/shinyapps-in-tags-2
...
Allow shinyApp objects to appear inside tags
2014-06-06 22:16:35 -07:00
Joe Cheng
5bf362927f
Allow shinyApp objects to appear inside tags
2014-06-06 15:23:13 -07:00
Yihui Xie
4da5ca5ba9
bump version
2014-06-06 17:07:17 -05:00
Yihui Xie
d747005b30
copy the documentation of knit_print methods from htmltools, too
2014-06-06 17:07:10 -05:00
Yihui Xie
03a395107d
export knit_print methods imported from htmltools
2014-06-06 16:59:12 -05:00
Yihui Xie
58ef4ccabf
declare the method through @method per @hadley's suggestion at klutometis/roxygen#256
2014-06-04 16:30:12 -05:00
Yihui Xie
71ed082bb5
bump version
2014-06-04 15:41:33 -05:00
Yihui Xie
0819ac8124
no need to assign a copy of these functions in shiny, because we have imported htmltools, and we only need to export the imported functions
2014-06-04 15:38:41 -05:00
Yihui Xie
0cdd223172
cosmetic changes after #481 , and roxygenize
2014-06-04 15:30:15 -05:00
Yihui Xie
571393f146
htmltools was in both Depends and Imports, against which R CMD check will warn
...
I guess it was in Depends because otherwise as.tags could not be treated as an S3 generic; sounds like a bug of roxygen2 or devtools
2014-06-04 15:30:15 -05:00
Yihui Xie
c85868c652
use @export instead of @S3method
2014-06-04 15:10:45 -05:00
Joe Cheng
a7a6f3b020
Merge pull request #499 from yihui/bugfix/456
...
Bugfix/456
2014-06-03 10:01:44 -07:00
Yihui Xie
3a0a11d55a
introduce an equivalent function to achieve set.seed(NULL) in R 2.15.x
2014-06-02 16:14:22 -05:00
Yihui Xie
7eb8ddf372
fixes #456 : use .Random.seed only if it exists in the global environment
...
e.g. the expr may not trigger the creation of .Random.seed, such as set.seed(NULL) under R 2.15.x, which will fail
2014-06-02 16:13:37 -05:00
Yihui Xie
87af63644a
bump version
2014-06-02 15:38:40 -05:00
Yihui Xie
0a9dd18070
news for #433
2014-06-02 15:36:36 -05:00
Yihui Xie
f82b061ba7
news for #481
2014-06-02 15:18:54 -05:00
Yihui Xie
c17509e2a0
news for #495
2014-06-02 15:18:54 -05:00
Yihui Xie
cb383d4f62
serverInfo() returns list(shinyServer=FALSE) by default, per suggestion of @trestletech
2014-06-02 15:18:54 -05:00
Yihui Xie
451f950d0d
tweak after #492 : capture.output() does withVisible() and print() if necessary
2014-06-02 15:18:54 -05:00
Yihui Xie
bd0eae0961
Merge pull request #481 from saurfang/master
...
Add inline option for RadioButton and checkboxGroupInput
2014-06-02 15:03:40 -05:00
Joe Cheng
53a401f847
Merge pull request #495 from yihui/feature/serverInfo
...
add functions serverInfo() (exported) and setServerInfo() (not exported)
2014-06-02 09:16:51 -07:00
JJ Allaire
b288f5ca19
bump version
2014-06-02 08:11:02 -04:00
JJ Allaire
7a2fc19c4f
bump version
2014-06-01 10:00:40 -04:00
JJ Allaire
046d712d6a
Revert "Allow Shiny apps to appear inside other tags"
...
This reverts commit 9ab2f5338e .
2014-06-01 09:59:50 -04:00
Joe Cheng
e829aaecf1
Install htmltools in travis script
2014-05-31 10:58:54 -07:00
Joe Cheng
9ab2f5338e
Allow Shiny apps to appear inside other tags
2014-05-31 09:06:54 -07:00
Joe Cheng
d7bda924be
Depend on htmltools, not just Import
...
This seems to be necessary to get the knit_print.shiny.tags to work
with Rmarkdown without an explicit library(htmltools)
2014-05-31 08:26:09 -07:00
Joe Cheng
07eb2e51b7
Bump version to 0.9.1.9009
2014-05-31 08:08:08 -07:00
Joe Cheng
dfafa7ae40
Merge branch 'htmltools-refactor'
2014-05-31 08:06:56 -07:00
Joe Cheng
dde266768c
Restore HTML generating functions
...
These functions were temporarily ripped out of Shiny and moved
to the htmltools package. We've discovered that it's safe to
keep including them in shiny; as long as the functions in shiny
and the functions in htmltools are identical, the user won't
receive a conflict warning.
2014-05-31 08:06:03 -07:00
Joe Cheng
01c81675f7
Make S3 method consistent with base
2014-05-31 08:06:03 -07:00
Joe Cheng
71972eb362
Update htmltools version
2014-05-31 08:06:03 -07:00
Joe Cheng
eb9f5f9025
Dependency fixes
...
1) Give bootstrap deps a path so they can be used in static docs
2) Resolve dependencies before rendering page (whoops)
2014-05-31 08:06:03 -07:00
Joe Cheng
eb4d4d7437
Adapt to htmltools 0.2.1 API
2014-05-31 08:06:03 -07:00
Joe Cheng
1cb5e09109
Remove obsolete entry from staticdocs index
2014-05-31 08:06:03 -07:00
Joe Cheng
cc82fff5d3
Add S3 method for turning render function into tags
2014-05-31 08:06:03 -07:00
Joe Cheng
3212e59dcc
Fix broken client-side HTML dependency rendering
2014-05-31 08:06:03 -07:00
Joe Cheng
44a795bf18
Extract HTML functionality to htmltools library
2014-05-31 08:06:03 -07:00
Joe Cheng
376e6f35a2
Merge pull request #496 from eiriksm/travis-fix
...
Use svg version of build status. Only show master build status.
2014-05-31 08:03:16 -07:00
Eirik S. Morland
3b324e9532
Use svg version of build status. Only show master build status.
2014-05-31 12:04:00 +02:00
Joe Cheng
a0df8f3490
Merge pull request #491 from rstudio/bugfix/validation-silent
...
Suppress validation errors from printing at console
2014-05-28 13:14:02 -07:00
Winston Chang
6c14789362
Merge pull request #492 from rstudio/bugfix/0.10misc
...
Miscellaneous bug fixes
2014-05-23 14:13:29 -05:00
Winston Chang
880a12b914
Merge pull request #489 from yihui/bugfix/428
...
Fixes #428
2014-05-23 14:09:43 -05:00
Joe Cheng
93d69400e6
Merge pull request #486 from yihui/feature/widget-width
...
Width of selectize and sliders
2014-05-22 15:43:34 -07:00
Joe Cheng
d4829e49ea
Doc tweak to validation
2014-05-21 19:57:18 -07:00
Joe Cheng
1c56be3a6b
Suppress validation errors from printing at console
2014-05-21 19:51:24 -07:00
Joe Cheng
07a0dfddc7
Validation error causes real errors to look like validation errors
...
The CSS class for validation errors was not being properly removed between different kinds of errors
2014-05-21 19:32:44 -07:00
Joe Cheng
b86f9086ef
Avoid black background when renderPlot doesn't actually plot
2014-05-21 19:28:51 -07:00
Joe Cheng
343ca12c6f
Don't print NULL to the console during renderPrint
2014-05-21 19:28:28 -07:00
Joe Cheng
af3c4f84b6
Merge pull request #488 from yihui/bugfix/220
...
fix #220 : the first entry in zip is not necessarily a directory
2014-05-20 00:32:11 -07:00
Yihui Xie
3679e8795f
fix #220 : the first entry is not necessarily a directory
...
in that case, we use dirname() on the first entry
2014-05-20 01:43:48 -05:00
Yihui Xie
39b4805a76
make sure the selected argument never contains names; fixes #428
2014-05-20 01:31:14 -05:00
Yihui Xie
3bdcdf96d4
upgrade selectize.js to v0.9.1 to fix the third issue in #428
2014-05-20 01:30:37 -05:00
Yihui Xie
b54e5d33bc
roxygenize
2014-05-19 11:25:40 -05:00
Yihui Xie
85e020a513
examples of the 'width' argument
2014-05-19 11:24:56 -05:00
Yihui Xie
5b6268f5bc
add width to selectInput() as well
2014-05-19 11:23:52 -05:00
saurfang
063b58eebb
Merge remote-tracking branch 'upstream/master'
2014-05-17 16:33:25 -04:00
Yihui Xie
f8b38e4683
validateCssUnit(width) for selectize and slider
2014-05-17 01:32:01 -05:00
Yihui Xie
18e85c32b4
roxygenize
2014-05-17 01:28:27 -05:00
Yihui Xie
831fba9a53
add a 'width' option to selectizeInput() and sliderInput() to specify the width of these widgets
2014-05-17 01:28:27 -05:00
Joe Cheng
b1f233cd8c
Merge remote-tracking branch 'origin/pr/485'
...
Conflicts:
NEWS
2014-05-16 23:22:01 -07:00
Yihui Xie
3d0caba695
\emph cannot be used in \code{}: only \var and \link are allowed
2014-05-17 00:53:57 -05:00
Yihui Xie
79c92f1f8e
fixes #429 , which is yet yet another WAT of RJSONIO
...
perhaps we really should consider switching to jsonlite...
2014-05-17 00:43:13 -05:00
Yihui Xie
87f26e47bb
a news item for the 'width' argument of renderPrint()
2014-05-16 14:19:55 -05:00
Yihui Xie
9d8d04ae28
add a 'width' argument so we can control the width of the text output
2014-05-16 14:17:50 -05:00
Yihui Xie
a42f046ff8
capture.output() has already considered withVisible(), and we do not need to redo it
2014-05-16 14:12:50 -05:00
Yihui Xie
01c24a578b
add functions serverInfo() (exported) and setServerInfo() (not exported)
...
we can call shiny:::setServerInfo() in Shiny Server before launching an app, so that the app author can make use of the info to decide the behavior of the app
2014-05-16 13:22:22 -05:00
saurfang
6b82354129
Merge remote-tracking branch 'upstream/master'
2014-05-15 12:30:52 -04:00
Joe Cheng
b00fbda1ae
Make sure random bytes are formatted with 2 chars
2014-05-14 17:11:18 -07:00
saurfang
bab200ff03
Merge remote-tracking branch 'upstream/master'
2014-05-14 15:44:23 -04:00
Joe Cheng
357e81aeca
Bump version
2014-05-14 09:14:19 -07:00
Joe Cheng
3189c748b5
Merge pull request #479 from rstudio/not-just-last-expressions
...
Allow shinyUI and shinyServer calls to not be the last expression in ui....
2014-05-14 09:06:28 -07:00
Joe Cheng
2700643cbf
Merge pull request #480 from jcheng5/bugfix/renderplot-height-overlap
...
Fix #477 : renderPlot in shinydoc with height > 400 overlaps subsequent c...
2014-05-14 09:06:15 -07:00
saurfang
b0f95cd9e0
Add inline options
...
inline options for radiobuttons and checkboxgroupinput to allow choices
rendered horizontally
2014-05-13 17:18:20 -04:00
Winston Chang
ff628ac0b2
Fixes for jshint
2014-05-12 20:46:24 -05:00
Joe Cheng
f21aefe9e9
Merge pull request #467 from yihui/cosmetic
...
Some cosmetic changes regarding NULL
2014-05-10 02:13:25 -07:00
Joe Cheng
8babbd69d8
Merge branch 'session-documentation'
...
Conflicts:
inst/staticdocs/index.r
2014-05-09 19:41:19 -07:00
Joe Cheng
11bf02eb56
Merge pull request #478 from rstudio/remove-literate-programming
...
Stop using literate programming
2014-05-09 19:39:58 -07:00
Joe Cheng
f5fa7d6d4b
Fix #477 : renderPlot in shinydoc with height > 400 overlaps subsequent content
2014-05-09 18:14:28 -07:00
Joe Cheng
77bff6e6c2
Allow shinyUI and shinyServer calls to not be the last expression in ui.R and server.R
2014-05-08 16:14:53 -07:00
Joe Cheng
e84a76cebd
Merge pull request #457 from yihui/feature/unsatisfied-input
...
A first attempt of the custom error type for unsatisfied input dependencies
2014-05-08 16:12:58 -07:00
Yihui Xie
342265be94
put the custom class(es) in the first as Hadley suggested
2014-05-08 15:04:49 -07:00
Yihui Xie
62ec9291d8
Merge pull request #1 from jcheng5/feature/unsatisfied-input
...
Refactoring/renaming of validation
2014-05-08 14:57:54 -07:00
Joe Cheng
dee6fbcb8f
Stop using literate programming
...
Couldn't build from source without knitr installed, and knitr
is not a required dependency
2014-05-08 14:54:11 -07:00
JJ Allaire
72fa9a2dcb
bump version
2014-05-08 12:54:20 -04:00
Joe Cheng
ca27a9e31a
Validation refactoring
...
- Move validation logic from shinywrappers.R to utils.R
- Don't coerce validation results; fail if not FALSE, NULL, or character
- Reverse order of stopWithCondition args
2014-05-07 16:20:07 -07:00
Joe Cheng
18d0f45cf9
Refactoring/renaming of validation
...
- validateInput renamed to validate
- validateCondition renamed to need
- Removed ability to provide "bare" conditions. It is
still possible to fail validation silently by passing
FALSE as the second argument to need()
- Rather than using a two-element list to convey results,
use a single result protocol; NULL is success, FALSE is
silent failure, string is failure with message
- Tweak "missing input" semantics, add tests
2014-05-07 16:09:06 -07:00
Joe Cheng
424fd515a4
Merge pull request #472 from rstudio/bugfix/delayed-assign-2
...
Remove delayedAssign which causes problems for downstream packages
2014-05-07 09:56:19 -07:00
Joe Cheng
00b40d64a1
Remove delayedAssign which causes problems for downstream packages
...
See comment on d7eb9b2d18
2014-05-06 20:40:57 -07:00
Joe Cheng
3a7d0a5a9f
Document session object
...
Also allow http handlers to return standard Rook responses instead of
httpResponse objects.
2014-05-06 11:56:23 -07:00
Joe Cheng
57a02318e3
Clearer error message when shinyAppDir is given a nonexistent path
2014-05-05 15:31:21 -07:00
Joe Cheng
8f6d8cf0d6
Slider with label=NULL doesn't have tag classes attached
2014-05-05 14:00:43 -07:00
Joe Cheng
5b6605b296
Add inputPanel to staticdocs index
2014-05-05 13:59:46 -07:00
Joe Cheng
4d83596595
Merge pull request #465 from rstudio/feature/horizontal-layout
...
New layouts for horizontal placement
2014-05-05 13:10:26 -07:00
Joe Cheng
7e12a281f5
Remove slider from bundled jquery-ui
2014-05-05 12:12:41 -07:00
Joe Cheng
c63c10e48a
Merge pull request #466 from rstudio/bugfix/space-urls
...
Encode pathname when necessary on browsers that supply it decoded
2014-05-05 11:40:06 -07:00
Joe Cheng
155554f0b7
Only double-encode on Qt
2014-05-05 11:36:27 -07:00
Yihui Xie
26b0836756
since NULL in tag() will be dropped, there is no need to check is.null(icon)
2014-05-03 01:11:32 -05:00
Yihui Xie
a87dc9bab2
cosmetic: both if (FALSE) expr and for-loops return NULL
2014-05-03 01:09:51 -05:00
Yihui Xie
9c1555a110
tweak an RStudio project option
2014-05-03 00:54:44 -05:00
Joe Cheng
fbda2db884
Only show special "No UI defined" message for shinyAppDir
2014-05-02 18:52:37 -07:00
Joe Cheng
2a229774ef
Merge pull request #463 from jcheng5/bugfix/faster-select
...
Massively faster selectInput
2014-05-02 17:31:38 -07:00
Joe Cheng
137e5b13ef
Update tests
2014-05-02 17:28:01 -07:00
Joe Cheng
7920d66cd0
Separate option tags with newline
2014-05-02 17:26:27 -07:00
Yihui Xie
9f2dae7f3b
the logic of the last commit was not correct: we should not stop immediately on a non-condition object; instead, we still need to collect all messages on all conditions before we stop
2014-05-02 18:13:35 -05:00
Yihui Xie
ffde0ad1f5
roxygenize
2014-05-02 17:56:20 -05:00
Yihui Xie
2c2658a8ec
rewrite the lapply()/vapply() with a plain dumb for-loop
2014-05-02 17:54:05 -05:00
Yihui Xie
6f2f8f6f7a
add a function validateCondition() to avoid ambiguity
...
two advantages:
1. we no longer need to worry about input$foo being a list;
2. users have to explicitly call validateCondition() when they want error messages, so we know when to silently stop;
2014-05-02 17:33:29 -05:00
Yihui Xie
4b6dcdd1b0
use shiny-output-error as the _prefix_ for CSS classes of error messages
2014-05-02 16:56:43 -05:00
Yihui Xie
de346fd6c3
filter out some common error classes
2014-05-02 16:56:43 -05:00
Yihui Xie
bf9d7c2012
use the classes of the error condition as names of CSS classes in the output
2014-05-02 16:56:43 -05:00
Yihui Xie
143803f86d
factor out stop() code to a separate function
2014-05-02 16:56:43 -05:00
Yihui Xie
311143451d
condition first, message second
2014-05-02 16:56:43 -05:00
Jonathan McPherson
c9030f401d
encode pathname when necessary on browsers that supply it decoded
2014-05-02 14:41:11 -07:00
Joe Cheng
8668ddce74
Tweak padding
2014-05-02 12:21:34 -07:00
Joe Cheng
7a495357f7
Update NEWS, tweak description for flowLayout
2014-05-02 12:06:15 -07:00
Joe Cheng
13864a811d
Add inputPanel
2014-05-02 12:06:15 -07:00
Joe Cheng
5b65e4b250
Replace horizontalLayout with flowLayout; add splitLayout
2014-05-02 12:06:15 -07:00
Joe Cheng
dfe4a80501
Update NEWS
2014-05-02 12:06:15 -07:00
Joe Cheng
bf82b9742a
Use standardized widths for selectize/jslider
...
The 100% width worked well inside of a sidebar, but in other situations
like full-width columns or zero-min-width tables a fixed width is better.
If there's demand we can add parameters for setting the width to custom
values including 100%.
2014-05-02 12:06:14 -07:00
Joe Cheng
829a466f72
New horizontalLayout function; put elements in a single table row
2014-05-02 12:06:14 -07:00
Yihui Xie
1206c70c42
we -> you
2014-05-02 12:45:35 -05:00
Joe Cheng
3c32c349b9
Always use Rscript from R_HOME
2014-05-02 09:12:28 -07:00
Yihui Xie
0709f08d65
a custom type of errors for unsatisfied input dependencies
2014-05-01 18:13:56 -05:00
Joe Cheng
50f78c6e40
Make tabsetPanel result visible
...
Without this, they don't show up in knitr documents
2014-05-01 14:31:25 -07:00
Joe Cheng
7e7afc6d38
Massively faster selectInput
2014-05-01 14:16:27 -07:00
Winston Chang
1130eadac8
Bump version
2014-04-30 14:35:08 -05:00
Winston Chang
959fc2bbb2
Merge pull request #459 from jcheng5/naked-render-in-tags
...
Allow naked renderXXX functions to be used inside other tags
2014-04-30 13:24:38 -05:00
Joe Cheng
f8ae505011
Change all "is()" calls to "inherits()"
...
According to ?inherits
2014-04-30 11:19:49 -07:00
Joe Cheng
cd183a1926
Merge branch 'feature/mask-reactive-context'
...
Conflicts:
NEWS
2014-04-30 11:14:50 -07:00
Joe Cheng
bb2796fbc3
Add tests
2014-04-30 11:14:20 -07:00
Joe Cheng
5de7103890
Upgrade jqueryui to 1.10.4 and remove datepicker
...
The jqueryui datepicker collides with our bootstrap datepicker
Reviewed by @wch
2014-04-30 11:07:51 -07:00
Joe Cheng
a78c91ba7e
Make renderPlot print result if visible
...
Reviewed by @wch
2014-04-30 10:10:06 -07:00
Joe Cheng
fca50da57b
Fix staticdoc test
2014-04-29 12:09:37 -07:00
Joe Cheng
61f2c908b1
Add maskReactiveContext function
2014-04-29 12:01:03 -07:00
Joe Cheng
4c096ac068
Merge pull request #454 from yihui/feature/selectize-more
...
Make `selected` work for server-side selectize input
2014-04-28 15:41:19 -07:00
Jonathan
2c95678be1
Merge pull request #451 from jcheng5/suppress-reactlog
...
Don't send reactlog messages to the client unless showcase mode
2014-04-28 14:52:42 -07:00
Joe Cheng
1a643cecf3
Allow naked renderXXX functions to be used inside other tags
2014-04-28 10:13:16 -07:00
Joe Cheng
aa10b2e8c4
Merge pull request #455 from trestletech/feature/subapp
...
Added extra query param to identify sub apps.
2014-04-28 09:33:37 -07:00
Joe Cheng
0b9317d047
Merge pull request #453 from yihui/feature/nocache
...
Prevent caching conditionally
2014-04-28 09:33:03 -07:00
Yihui Xie
4d58f05f38
fix the warning about stats not being imported in namespace
...
see https://travis-ci.org/rstudio/shiny/builds/23791246
but do we even have to import stats? I guess no; it is part of base R
2014-04-25 18:26:07 -05:00
trestletech
6e879c8156
Added extra query param to identify sub apps.
2014-04-25 11:30:48 -05:00
Yihui Xie
b6ee67aa41
make the selected argument of updateSelectizeInput() work even in the server mode
2014-04-25 02:38:38 -05:00
Yihui Xie
07bed0c7c7
factor out a function columnToRowData() so both updateSelectInput() and selectizeJSON() can use it
2014-04-25 02:37:45 -05:00
Yihui Xie
d2bd59d149
Make meta of length 0 when we are sure there are no dependencies
...
knitr::asis_output() will decide whether x is cacheable by checking length(meta) == 0. Some shiny tags are cacheable, such as numericInput(), because it is pure HTML without dependencies, whereas selectizeInput() is not cacheable due to the dependency on selectize.js.
2014-04-25 01:14:14 -05:00
Yihui Xie
7bdac5a44e
Make sure shiny app objects are not cacheable using asis_output(..., cacheable = FALSE)
...
This commit reverts d08a2507fa
2014-04-25 01:14:08 -05:00
Joe Cheng
51f5db4374
Bump version
2014-04-24 16:38:07 -07:00
Joe Cheng
e395ae6555
Merge branch 'html-deps'
...
Code reviewed by @jmcphers
Conflicts:
DESCRIPTION
R/bootstrap.R
R/reactives.R
2014-04-24 16:37:46 -07:00
Joe Cheng
1df9c498cf
Ensure dep.meta is an array
2014-04-24 16:32:18 -07:00
Joe Cheng
57b3b919a5
Don't send reactlog messages to the client unless showcase mode
2014-04-24 16:05:54 -07:00
Joe Cheng
00c6bbb297
Merge pull request #449 from rstudio/bugfix/knitr-cached-shiny
...
Fail when attempting to insert a Shiny app into a cached knitr chunk
2014-04-24 15:50:05 -07:00
Joe Cheng
b6536a0af3
Merge pull request #445 from wch/str
...
Add str.reactivevalues
2014-04-24 15:49:21 -07:00
Jonathan McPherson
d08a2507fa
fail when attempting to insert a shiny app into a cached chunk
2014-04-24 15:28:07 -07:00
Joe Cheng
8bc8829577
Merge pull request #448 from trestletech/rate-element
...
Add element argument to getRateCallback()
2014-04-24 10:01:42 -07:00
trestletech
c843e6f68c
Bump version
2014-04-24 10:58:36 -05:00
trestletech
84583e5501
Add element argument to getRateCallback()
2014-04-24 10:13:06 -05:00
Winston Chang
4548562138
Fix argument name for S3 method
2014-04-23 15:03:49 -05:00
Joe Cheng
32c170b10a
Remove Rmd examples
2014-04-23 13:02:40 -07:00
Joe Cheng
97dafa0a55
Include html-preserving comments in knit_print
2014-04-23 12:46:56 -07:00
Yihui Xie
0be1ee46f2
do not ignore the names of choices data
2014-04-22 17:58:19 -05:00
Winston Chang
34c9ab7643
Add str.reactivevalues
2014-04-21 21:59:49 -05:00
Joe Cheng
59dbca250f
Fix roxygen
2014-04-21 16:50:06 -07:00
Joe Cheng
4028dbfda1
Do typeset mathjax on initial load
...
Fixes initial load not being typeset on e.g.:
https://gist.github.com/jcheng5/a0d123d58737590ac21e
2014-04-21 13:59:17 -07:00
Joe Cheng
b9dbf610b0
Fix bootstrap themes
2014-04-21 13:16:34 -07:00
Joe Cheng
d443810520
Use html_dependency for date inputs, datatables
2014-04-21 12:35:12 -07:00
Joe Cheng
fcd941d33d
Use html_dependencies for showcase mode
...
For some reason, showcase mode was breaking sliders without this (e.g. 06_tabsets)
2014-04-21 12:34:54 -07:00
Yihui Xie
9c063fa37c
bump version
2014-04-21 01:02:46 -05:00
Yihui Xie
2720cfe346
should use MathJax.Hub.Queue() instead of .Typeset(): finally solved the mysterious race condition issue
...
http://docs.mathjax.org/en/latest/typeset.html
2014-04-21 01:02:05 -05:00
Joe Cheng
c39e38081e
Remove unused class
2014-04-18 16:29:13 -07:00
Joe Cheng
3deb4c3f42
Fix initial dependency handling, fix knit_print
2014-04-18 16:21:13 -07:00
Joe Cheng
6945091238
First attempt at HTML dependency management
2014-04-18 15:18:51 -07:00
JJ Allaire
c758c4785a
bump version
2014-04-17 07:38:06 -04:00
Jonathan McPherson
19269a20fb
fix subapps on portmapped URLs
...
Reviewed by @jcheng5
2014-04-16 13:08:57 -07:00
Joe Cheng
45669cacb1
Merge pull request #434 from jcheng5/private-random
...
Refactor private random seed code
2014-04-15 15:24:41 -07:00
Joe Cheng
840bc52aae
Merge pull request #433 from yihui/selectize/server
...
server-side selectize input
2014-04-15 15:22:11 -07:00
Joe Cheng
bbc36e349f
Merge pull request #439 from jcheng5/feature/uiPattern
...
Add uiPattern param to shinyApp to allow one ui to serve multiple URLs
2014-04-15 15:13:08 -07:00
Joe Cheng
a4325adcdd
Add uiPattern param to shinyApp to allow one ui to serve multiple URLs
...
Reviewed by @jmcphers
2014-04-15 12:53:18 -07:00
Yihui Xie
23f39649d0
Merge pull request #438 from jcheng5/fix-roxygen
...
Fix PriorityQueue error message during roxygenize
2014-04-15 00:12:43 -05:00
Yihui Xie
87b09a534e
Merge pull request #435 from jcheng5/null-input-labels
...
Allow NULL input labels; add actionLink
2014-04-14 22:59:28 -05:00
Yihui Xie
39f0e5ae0c
fix some JShint issues
2014-04-14 22:53:08 -05:00
Yihui Xie
62aaab0926
closes #422 : update the selectize options via updateSelectizeInput(options)
2014-04-14 22:34:48 -05:00
Yihui Xie
cddfe999aa
cosmetic changes (re-indent code)
2014-04-14 22:28:45 -05:00
Joe Cheng
fcbb658ac2
Fix PriorityQueue error message during roxygenize
2014-04-14 15:37:06 -07:00
Joe Cheng
3bbf06ba49
Don't indent HTML during knit_print
2014-04-14 15:31:45 -07:00
Yihui Xie
d9be6f1d2e
implementing the server-side selectize input
...
also added a new method shinysession$registerDataObj(), which was designed to be a general data retrieval method: we can store arbitrary data objects as "downloads", and return arbitrary http response based on the filter function; see renderDataTable() and updateSelectizeInput() for two examples
2014-04-13 00:02:08 -05:00
Yihui Xie
5d70e68a0b
the development version of knitr can be installed from rforge.net
2014-04-12 12:33:42 -05:00
Joe Cheng
529f2325b2
Fix tests
2014-04-11 15:46:32 -07:00
Joe Cheng
314d433f86
Merge pull request #436 from rstudio/feature/shiny-docs
...
Improved support for R Markdown Shiny documents
2014-04-11 15:43:43 -07:00
Jonathan McPherson
12ea950c5f
use more idiomatic syntax for resolving rmarkdown.runtime
2014-04-11 14:41:06 -07:00
Yihui Xie
f4d12220ca
Merge pull request #437 from trestletech/winslash
...
Make normalizePath calls Windows-compatible.
2014-04-11 15:41:54 -05:00
Jonathan McPherson
6a9cba90f4
have validateCssUnit treat unit-free character strings as pixel units
2014-04-11 12:59:15 -07:00
trestletech
6873e1f1cb
Make normalizePath calls Windows-compatible.
2014-04-11 14:55:51 -05:00
Joe Cheng
fa0a91a75d
Fix createUniqueId logic
2014-04-11 12:06:22 -07:00
Joe Cheng
020bb659c5
Rename tempSet to withTemporary
2014-04-11 12:00:55 -07:00
Joe Cheng
b1d6687fb0
Fix private random seed mechanism
...
- Introduce randomInt/p_randomInt to generate random integers in a half-open range
- Stop using runif to generate integers
- Explicitly reset the private seed during .onLoad. I was getting the same "random" numbers from Shiny every time I restarted R!
2014-04-11 11:57:39 -07:00
Joe Cheng
f67e17b287
Allow NULL input labels; add actionLink
2014-04-11 11:00:41 -07:00
Jonathan McPherson
81bd57c5ea
emit appropriate warnings in R Markdown mode; collect <head> contents
2014-04-11 10:53:25 -07:00
Joe Cheng
d803bae874
Bump ver
2014-04-11 10:17:51 -07:00
Joe Cheng
14606f4087
Remove unnecessary :::
2014-04-11 10:16:59 -07:00
Joe Cheng
599fdc7ee5
Refactor private random seed code
2014-04-10 15:03:18 -07:00
Joe Cheng
722e205db5
Isolate createUniqueId randomness from rest of R
...
TODO: Generalize to our own runif
Reviewed by @jmcphers
2014-04-09 17:16:36 -07:00
Joe Cheng
f67849eb47
Doc cleanup
2014-04-09 17:10:37 -07:00
Joe Cheng
662ca4e40a
Fix travis?
2014-04-09 16:28:36 -07:00
Joe Cheng
aa61be74d8
Merge pull request #432 from jcheng5/multiple-apps
...
Support reactive documents and embedded Shiny apps in rmarkdown
2014-04-09 16:23:43 -07:00
Joe Cheng
10296fcd6b
Clear handler manager anytime runApp is called
2014-04-09 16:10:43 -07:00
Joe Cheng
f8bf146b6c
Render functions can be inserted directly into .Rmd
...
All render functions need to call markRenderFunction on their
return values for this mechanism to work.
Also:
- Remove runRmdContainer (it's moved to rmarkdown)
- Remove some bad .Rbuildignore entries
- Make height/width in shinyApp respected
2014-04-09 14:53:56 -07:00
Joe Cheng
52f104c517
Automatically remove subapps when their owning session finishes
2014-04-08 16:38:45 -07:00
Joe Cheng
6c1fc224f0
Merge pull request #1 from jcheng5/reactive-domains
...
Reactive domains
2014-04-08 15:44:51 -07:00
Joe Cheng
6b9ae3a8b3
Move "@include globals.R" directives to top; slight doc fixes
2014-04-08 15:39:57 -07:00
Joe Cheng
07f73030c6
More reactive domain work
...
- observers' autodestroy behavior is now optional
- tests
2014-04-08 14:47:32 -07:00
Joe Cheng
47130c79ee
Code review feedback
2014-04-08 11:16:42 -07:00
Joe Cheng
f3a3bdfe4f
Port showcase mode execution highlighting to domains
2014-04-07 21:59:16 -07:00
Joe Cheng
e5e54fe4c1
Implement reactive domains
2014-04-07 21:55:05 -07:00
Joe Cheng
29c0f9a43a
Ignore additional knit_print parameters
2014-04-07 17:10:44 -07:00
Joe Cheng
0b78229c77
Travis!! *shakes fist*
2014-04-07 11:45:46 -07:00
Joe Cheng
c2a1d70070
Fix travis
2014-04-07 10:54:21 -07:00
Joe Cheng
260ecd1d9f
Travis: Install latest knitr master
2014-04-07 09:24:51 -07:00
Joe Cheng
3dce2e761a
Fix debugging of server files
...
.global$server becomes appvars$server
2014-04-04 10:30:42 -07:00
Joe Cheng
80a54200ce
Comment tweaks
2014-04-03 23:45:08 -07:00
Joe Cheng
51227d438a
Get rid of "incomplete final line" warnings in showcase code
2014-04-03 21:33:40 -07:00
Joe Cheng
6fb4199d37
Make the worker ID global across all sub apps
2014-04-03 21:30:56 -07:00
Joe Cheng
6ba46aff6b
Fix gitignores for literate
2014-04-03 21:02:18 -07:00
Joe Cheng
5da34d0646
Fix makefile on windows
2014-04-03 20:43:55 -07:00
Joe Cheng
f215088939
Update staticdocs index, tests pass
2014-04-03 19:43:11 -07:00
Joe Cheng
df34dcdb0c
Pass R CMD check
2014-04-03 19:37:45 -07:00
Joe Cheng
89f464af99
Fix Rmd build tooling
2014-04-03 15:31:49 -07:00
Joe Cheng
3f6f02f7d2
More docs
2014-04-03 14:41:59 -07:00
Joe Cheng
0d861e5389
Add documentation for handlers/middleware
2014-04-03 14:24:55 -07:00
Joe Cheng
b290c8700c
Allow the use of .Rmd files for shiny impl scripts
2014-04-03 11:12:16 -07:00
Joe Cheng
81b6fbe263
Remove obsolete print.shiny.appdir
2014-04-03 01:51:30 -07:00
Joe Cheng
b3af293f66
Fix scoping bug
2014-04-03 01:49:36 -07:00
Joe Cheng
b187485172
Major refactor of runApp/addSubApp pipeline
...
- shinyUI and shinyServer calls are no longer required in ui.R and server.R
- shinyAppObj renamed to shinyApp
- runApp can take pathname, list(ui=..., server=...), shinyApp, and shinyAppDir
as appDir argument
- Unify all Shiny app representations around shiny.appobj
- BREAKING CHANGE: shinyUI no longer has a "path" argument
- Instead of returning UI, ui.R can return a function that returns UI; it will
be invoked each time the page is requested. (Note that this is NOT the same
as saying ui.R will be run each time the page is requested.) The function can
take either no args or a single "req" arg which is the request.
2014-04-03 01:42:01 -07:00
Joe Cheng
b449d9759c
Minor doc updates
2014-04-01 23:02:22 -07:00
Joe Cheng
d9d63a3a2e
Painful refactoring of server.R
...
This refactor changes the level of abstraction where sub-apps are implemented.
Sub-apps can basically be thought of as routing (previously called "proxying"
which was way too confusing). A call comes in to /1e8f937a8934/ and it matches
a sub-app path--we need to change the path from /1e8f937a8934/ to / for the
duration of the sub-app's handling of the request.
We used to do routing (nee proxying) at the httpuvCallback level, which added
a lot of complexity because it meant we were compositing HTTP handlers at both
the httpHandler level, and then again at the httpuvCallback level. This
refactor changes it so nobody speaks the language of httpuv except at the very
boundary of Shiny (webserver$createHttpuvApp), everything inside is either an
httpHandler or a wsHandler. So whether you're combining or routing or whatever,
everything now works the same way.
2014-04-01 22:55:56 -07:00
Joe Cheng
fd7b54fb77
Clean up exports, examples
2014-03-31 16:40:17 -07:00
Joe Cheng
887f8a606d
Restore index.r entries for app obj
2014-03-31 12:11:16 -07:00
Joe Cheng
7e3717243f
Merge remote-tracking branch 'origin/master' into multiple-apps
...
Conflicts:
staticdocs/index.r
2014-03-31 12:08:59 -07:00
Joe Cheng
221849aa3a
More-correct impl of %OR%
2014-03-31 12:07:57 -07:00
Joe Cheng
b52d40ab28
Merge pull request #430 from rstudio/v0.10
...
V0.10
2014-03-31 11:55:29 -07:00
Joe Cheng
3ed68ffd92
knit_print tags and tagLists
2014-03-31 11:17:24 -07:00
Joe Cheng
cc3cd2c141
Implement Shiny apps embedded as iframes in knitr
2014-03-31 10:03:22 -07:00
Winston Chang
5e30f7efc4
Merge pull request #424 from rstudio/bugfix/zero-arg-sourcerefs
...
Handle zero-argument outputs gracefully
2014-03-27 12:48:41 -05:00
Yihui Xie
35090251ef
basically library(pkg) = if (!require(pkg)) stop()
2014-03-24 23:49:34 -05:00
Yihui Xie
338afb4893
change the deprecated @S3method to @export
2014-03-24 23:46:46 -05:00
Yihui Xie
194d8a05f8
using the latest master of klutometis/roxygen (d823c3a088b20ea5e38a60d78d42ccbe9f1e1eec)
...
Rd text for arguments is no longer wrapped by default
2014-03-24 23:46:46 -05:00
Winston Chang
93e276bd9b
Fix capitalization of markdown package
2014-03-24 12:35:12 -05:00
Winston Chang
a69517519c
Add more information to selectInput docs
2014-03-21 16:30:25 -05:00
Winston Chang
f646b1efb4
Bump version to 0.9.1.9000 for development
2014-03-21 16:16:53 -05:00
Jonathan McPherson
fc9bedacc0
guard against null source references
2014-03-20 16:00:51 -07:00
Jonathan McPherson
795eeee809
handle no-argument output calls gracefully
2014-03-20 15:46:25 -07:00
Joe Cheng
6d7818962e
Redirect on no trailing slash
2014-03-20 10:14:02 -07:00
Joe Cheng
068517c933
Prevent multiple apps from stomping on server func
2014-03-20 09:09:54 -07:00
Joe Cheng
5b030200df
initial prototyping of subapps
2014-03-20 08:49:18 -07:00
Joe Cheng
c732122966
Merge pull request #421 from jcheng5/bugfix/context-new
...
Fix 'Error in Context$new : could not find function "loadMethod"'
2014-03-19 11:40:19 -07:00
Joe Cheng
d7eb9b2d18
Fix 'Error in Context$new : could not find function "loadMethod"'
...
This warning was happening to dependent packages on R CMD check.
The problem is due to delayedAssign; it appears this can't be used safely, at least not to define package-level symbols that contain S4 or reference class objects.
If you call this in a package's .R file:
`delayedAssign("hello", stop("boom"))`
but don't refer to "hello" anywhere, when you run R CMD check on a dependent package you'll see the error.
If the expression needs the methods package (like Context$new()), you'll get an error unless the dependent package itself depends on methods.
2014-03-19 09:49:33 -07:00
Yihui Xie
b8b09adda1
submit shiny 0.9.0 to CRAN
2014-03-18 14:32:46 -05:00
Yihui Xie
07c8f0c4b7
use skipStartupTypeset: true for MathJax config, and call MathJax.Hub.Typeset() later
...
setTimeout() is necessary for uiOutput(); we need to wait for a short while before typesetting math, otherwise two bad things can happen:
1. a math expression may be rendered twice (static output)
2. it is not rendered at all (dynamic ui output)
so the compromise is to typeset math after a short while when the document is ready; 200 ms is an arbitrary choice here
2014-03-18 14:24:23 -05:00
Joe Cheng
2bd201de63
Refactor server logic into separate file
2014-03-17 16:08:59 -07:00
Joe Cheng
0b7e118a37
Merge branch 'staticdocs-0.9.0' into v0.10
...
Conflicts:
staticdocs/index.r
2014-03-17 14:40:45 -07:00
Joe Cheng
a546769225
Use new staticdocs packaging standards
2014-03-17 14:37:38 -07:00
Joe Cheng
81745f932d
Include withMathJax in staticdocs; improve test
2014-03-17 14:07:05 -07:00
Joe Cheng
4415bf31d2
Mention showcase mode and allow-dots in NEWS
2014-03-13 14:33:25 -07:00
Joe Cheng
5c1bcb41d8
Merge pull request #418 from jcheng5/allow-dots
...
Allow '.' character in input/output IDs
Fixes #358
2014-03-13 14:25:56 -07:00
Joe Cheng
b659c4c2bb
Proper escaping of name, value, and type queries
2014-03-13 12:18:21 -07:00
Joe Cheng
65adc8a405
Wrap for= value in double quotes
2014-03-13 10:16:07 -07:00
Joe Cheng
4141f78717
It's important to return values in JS. heh.
2014-03-13 10:13:26 -07:00
Joe Cheng
80cb02d206
Allow '.' character in input/output IDs
...
I always thought dots and colons were illegal in HTML ID attributes,
but I was wrong. They are legal and because they are commonly used
in identifier names in R, Shiny users often like to use them. Worse,
Shiny gave no warnings when using dots and only a pretty advanced
subset of functionality would NOT work when using dots, causing
everyone to think they were fully supported in Shiny.
This commit ought to bring reality in line with perception. It turns
out that jQuery has an escaping scheme in its queries that allow us
to support dots after all. As long as we are always careful to
surround IDs with $escape when putting them in a query, we'll be in
good shape.
Colons will probably still cause problems at the moment because we
use colons internally to separate input type from input name. But
we've never seen users try to use colon in IDs before, so we can
wait to fix it until that becomes a problem.
2014-03-12 17:39:05 -07:00
Joe Cheng
a5a4510a1e
Merge pull request #417 from yihui/bugfix/showcase-escape
...
fixes #416 : use tags$code() to escape the code in showcase mode
2014-03-11 21:09:48 -07:00
Yihui Xie
95c30649d3
fixes #416 : use tags$code() to escape the code in showcase mode
...
and format(..., indent = FALSE) to prevent indentation of <code>
2014-03-11 22:40:16 -05:00
Joe Cheng
8e5cbde08c
Change example licenses to MIT
2014-03-11 10:49:32 -07:00
Yihui Xie
6df8632e29
Merge pull request #414 from jcheng5/bugfix/selectize-order
...
Fix selectize misordering on updateSelectInput
2014-03-11 11:55:26 -05:00
Jonathan
3c1218fff1
Merge pull request #415 from jcheng5/bugfix/showcase-case
...
Make showcase mode work with .r files
2014-03-11 09:13:04 -07:00
Joe Cheng
69c0414791
Make showcase mode work with .r files
2014-03-11 09:08:20 -07:00
Joe Cheng
d63f83fcbb
Fix selectize misordering on updateSelectInput
...
Repro case at https://gist.github.com/jcheng5/9403917
2014-03-06 18:27:02 -08:00
Joe Cheng
75c3bf0c2f
Change version to 0.9.0
2014-03-06 10:20:25 -08:00
Joe Cheng
c9a8ab2389
Merge pull request #411 from yihui/selectize/backspace
...
Selectize backspace issue
2014-03-05 00:29:44 -08:00
Yihui Xie
2c467c00e1
10px bottom margin for selectize input
2014-03-04 16:53:29 -08:00
Yihui Xie
c63ec5a1f2
update the test for selectInput() accordingly
2014-03-03 12:02:39 -08:00
Yihui Xie
e886558cbb
roxygenize
2014-03-03 12:02:39 -08:00
Yihui Xie
8dd6dabe50
add selectize=TRUE to selectInput(), but disable deletion for single input
...
hopefully this is a good compromise for #404
2014-03-03 12:02:39 -08:00
Joe Cheng
c090c6adf9
Merge pull request #410 from wch/faster-tags-2
...
Faster tags
2014-02-28 09:43:57 -08:00
Yihui Xie
84da0befcd
fixes #306 : remove the possible trailing slash under Windows
...
the cause:
normalize('foo', '/') => C:/foo
normalize('foo/', '/') => C:/foo/
under Windows. For unix, the trailing slash will always be removed in normalizePath()
2014-02-27 18:17:50 -06:00
Yihui Xie
267751c8b9
we have specified winslash='/' before, so it is impossible that this char is \
2014-02-27 17:59:14 -06:00
Winston Chang
8add9f7188
Restructure logic and simplify
2014-02-27 16:02:30 -06:00
Yihui Xie
a100b0991b
closes #119 : we do not have to do this special treatment to the label for sliderInput, and no other inputs do as.character() for their labels
...
if users pass an HTML() object to the label argument, the HTML will be preserved instead of being escaped
2014-02-25 23:58:59 -06:00
Winston Chang
9ce9c5e535
More tag writing tweaks
2014-02-25 23:16:50 -06:00
Yihui Xie
b2d004ca1a
closes #31 : try to avoid scientific notation of numbers
2014-02-25 22:58:08 -06:00
Yihui Xie
657d50f9a3
add the missing Readme's and DESCRIPTION's for the examples
2014-02-25 21:18:16 -06:00
Joe Cheng
60e355c4f5
Faster singleton detection
2014-02-25 18:56:47 -08:00
Yihui Xie
adb444a60f
the original hello-world example makes little practical sense -- it is unclear what really changed when moving the slider, especially when obs is large (we always see a "bell-shaped" histogram)
...
let's make the number of bins reactive instead; now it is very clear what the slider really controls
a histogram with different number of bins also serves as a good demo of the property of histograms (small bins --> small variance + large bias)
2014-02-25 20:44:19 -06:00
Yihui Xie
e7e13ff70d
document the new features of DataTables in NEWS
2014-02-25 19:48:46 -06:00
Yihui Xie
a1e81db597
roxygenize
2014-02-25 19:25:48 -06:00
Yihui Xie
f23f2ff0a0
the url of selectiz.js is already in Details
2014-02-25 19:25:48 -06:00
Yihui Xie
c1b18098f1
Revert "add selectize=TRUE to selectInput(), instead of adding a separate function selectizeInput(), per suggestion of @jjallaire"
...
This reverts commit d3115a3bf3 and closes #404
2014-02-25 19:25:33 -06:00
Joe Cheng
31c39592e3
Faster tag rendering
2014-02-25 16:37:54 -08:00
Yihui Xie
82a1dad22a
roxygenize
2014-02-25 15:45:59 -06:00
Yihui Xie
1ecec24727
add a callback argument in renderDataTable() so that users can have access to the DT object
2014-02-25 15:44:00 -06:00
Yihui Xie
607841e947
cosmetic changes
2014-02-25 15:42:36 -06:00
Yihui Xie
e234b403ae
when the options is null, also show the search boxes
2014-02-25 00:41:57 -06:00
Yihui Xie
80ce7a36f8
make it possible to filter numeric columns based on the specified range of the form "lower,upper"
2014-02-24 23:59:12 -06:00
Yihui Xie
705a8666be
iDisplayLength == -1 means "display all data" ( #400 )
...
we can use this feature via several ways, e.g.
- renderDataTable(..., options = list(bPaginate = FALSE))
- iDisplayLength = -1
- aLengthMenu = list(c(10, 30, -1), list(10, 30, 'All'))
2014-02-24 23:31:28 -06:00
Yihui Xie
9167905118
respect the bRegex option (as well as bRegex_j for individual columns)
...
however, this option is not part of the initialization options, so actually users can never use it...
#400
2014-02-24 23:29:10 -06:00
Yihui Xie
bdeb6734d8
data.options is null by default
2014-02-24 21:46:50 -06:00
Yihui Xie
9a7b042594
respect the individual bSearchable_j options in datatables
2014-02-24 21:02:25 -06:00
Winston Chang
7aea256fd8
Use YYYY/MM/DD format only as a fallback
2014-02-24 16:43:49 -06:00
Yihui Xie
857b5e6932
Merge pull request #406 from wch/date-ie8
...
Add function for handling date strings in IE8
2014-02-24 16:24:35 -06:00
Winston Chang
1a2d675439
Add function for handling date strings in IE8
2014-02-24 16:02:57 -06:00
Yihui Xie
0c749643de
Merge pull request #405 from jcheng5/bugfix/ie8-debounce
...
Fix debounce error in IE8
2014-02-24 15:46:03 -06:00
Winston Chang
09bb1548f9
Fixes for jshint
2014-02-24 15:35:01 -06:00
Joe Cheng
5ffe531844
Fix debounce error in IE8
...
In the repo https://github.com/rstudio/shiny-testapp/ the test app
called "setinput" threw errors in IE8 due to the debouncer getting
triggered incorrectly. Essentially Debouncer.$invoke was being
called twice without an intervening normalCall or immediateCall,
which caused apply to be called with this.args === null. Upon
careful inspection/debugging it seems like this may be a bug in the
IE8 implementation of setTimeout/clearTimeout:
http://stackoverflow.com/questions/5853571/clarifying-cleartimeout-behavior-in-ie
In any case, the workaround is to check for a null timer id, which
means we tried to clear the timer at least.
2014-02-24 13:14:17 -08:00
Yihui Xie
fab24a3200
httpuv 1.2.3 is in marutter precise ppa now
...
hopefully this can save some time for travis ci
2014-02-23 11:09:54 -06:00
Yihui Xie
899d5e9d1d
spent two hours on this weird issue of disappearing checkboxes and radio buttons, just to find two missing backslashes for <label>
...
http://api.jquery.com/jQuery/#creating-new-elements
2014-02-22 01:01:49 -06:00
Joe Cheng
ba510884f2
Avoid using browser URL with host of 0.0.0.0
...
(reviewed by @jmcphers)
2014-02-21 14:58:19 -08:00
Joe Cheng
78e8df8e17
Fix tags$head + renderUI in IE8, which was broken
...
Repro case: https://github.com/rstudio/shiny-testapp/tree/master/dynamic_singletons
Reviewed by @jmcphers
2014-02-21 10:15:03 -08:00
Yihui Xie
deba1609c3
implement bSearchable for individual columns ( #400 )
...
if a column is not searchable, hide its search box
2014-02-20 18:29:44 -06:00
Yihui Xie
88d2425ca3
respect the bFilter option: when it is false, do not show the search boxes
2014-02-20 18:21:36 -06:00
Yihui Xie
7117f9e058
closes #392 : options in renderDataTable() can also take a function to return a list
2014-02-20 16:55:44 -06:00
Yihui Xie
c21c407416
a few cosmetic changes
...
= to <-, and camelCase instead of under_score
2014-02-20 16:44:09 -06:00
Yihui Xie
4b4ad42063
xtable was built from R < 3.0.0 in the official ubuntu repo hence fails to load
2014-02-20 15:09:42 -06:00
Yihui Xie
474d514c7d
the httpuv binary is not in the marutter/c2d4u PPA yet
...
we can wait for a couple of days and revert this commit
2014-02-20 14:48:08 -06:00
Yihui Xie
6239466da8
klutometis/roxygen#191 has been fixed, so no longer need explicit @usage
2014-02-20 14:30:51 -06:00
Yihui Xie
7746d75582
bug fix: when evalOptions is of length 1, toJSON() converts it to a scalar; we need to use I() to make sure it is always a vector so that we can later $.each()
2014-02-20 14:24:51 -06:00
Yihui Xie
642c9ded08
install some R package dependencies through apt-get instead of R to save time
2014-02-20 13:42:39 -06:00
Joe Cheng
e0ae931ddd
Merge pull request #402 from rstudio/bugfix/ie8-compatibility
...
Bugfix/ie8 compatibility
2014-02-20 10:24:10 -08:00
Jonathan McPherson
0d7727a405
fix Markdown content extraction on IE8
2014-02-20 10:22:43 -08:00
Joe Cheng
28f689498a
fix browser height detection and CSS on IE8
2014-02-20 09:16:18 -08:00
Yihui Xie
eb8fec7f2d
when searching is turned on, we need to make sure the filtering indices i are smaller than nrow(filtered data) instead of original data
...
this fixes the bug reported at https://groups.google.com/forum/#!topic/shiny-discuss/xk2Gh7KJQBM
2014-02-19 23:09:25 -06:00
Yihui Xie
2e16fa1d70
fixes #401 : pass numbers as character strings in updateNumericInput() to preserver numeric precision when possible
2014-02-19 22:11:39 -06:00
Jonathan McPherson
1b856c4909
use IE8-compatible events; turn off highlighting in IE8
2014-02-19 16:45:58 -08:00
Jonathan
585ad30af1
Merge pull request #396 from jcheng5/bugfix/395-monospace-fonts-qt
...
Fix issue #395 : Monospace fonts broken on QtWebKit
2014-02-19 16:32:38 -08:00
Joe Cheng
c0cdc4083c
Merge pull request #397 from yihui/select2
...
Selectize.js
2014-02-19 15:45:56 -08:00
Joe Cheng
9b9db4f161
Merge pull request #398 from jcheng5/feature/suppress-tag-indent
...
Add indent argument to format.shiny.tag
2014-02-19 15:21:51 -08:00
Joe Cheng
84a1d8d25e
Add comment about format.shiny.tag's indent param
2014-02-19 15:21:28 -08:00
Yihui Xie
d3115a3bf3
add selectize=TRUE to selectInput(), instead of adding a separate function selectizeInput(), per suggestion of @jjallaire
2014-02-19 12:04:23 -06:00
Yihui Xie
964789e9a6
add a note in the NEWS that DataTables also works for IE8 now
2014-02-19 11:58:34 -06:00
Yihui Xie
eeded51ff8
IE8 does not have map() and forEach() methods
...
use $.each() and $.map() instead
2014-02-19 11:58:34 -06:00
Yihui Xie
8f24f1b4d6
localize es5-shim.js
2014-02-19 11:58:34 -06:00
Yihui Xie
ad910a295a
For IE8, $.text() does not work on <script>, so use $.html() instead
2014-02-19 11:58:34 -06:00
Yihui Xie
cf14c6b1e9
add es5-shim.js for IE8
2014-02-19 11:58:34 -06:00
Yihui Xie
49da114caa
add a note about the I() options in selectizeInput()
2014-02-19 11:58:34 -06:00
Yihui Xie
b8376ebbf7
it is safer to evaluate the string inside ()
...
e.g. one cannot directly evaluate {a: 1, b: 2}, although it is legitimate JSON; eval("({a: 1, b: 2})") always works
2014-02-19 11:58:33 -06:00
Yihui Xie
29701d7295
apply checkAsIs() to selectizeInput(), and store the names in data-eval in the script
...
note we switched the order of {} and config.text() in $.extend(), so that users can overwrite the default options like labelField, valueField, ...
2014-02-19 11:58:33 -06:00
Yihui Xie
16279695a9
factor out the code to determine which options should be evaluated into a utility function checkAsIs(), so that it can be applied to selectizeInput() as well
2014-02-19 11:58:33 -06:00
Yihui Xie
999fc86bc6
news for selectizeInput()
2014-02-19 11:58:33 -06:00
Yihui Xie
0276d533fb
the search field must be renamed accordingly
2014-02-19 11:58:33 -06:00
Yihui Xie
b77fc34a7b
new function selectizeInput() to use selectize.js
...
closes #287
2014-02-18 23:25:25 -06:00
Joe Cheng
60c450d57e
Add indent argument to format.shiny.tag
2014-02-18 12:55:11 -08:00
Joe Cheng
73411c75db
Fix staticdocs test on Linux
2014-02-18 12:52:59 -08:00
Yihui Xie
8d146f7dff
Revert "math expressions may come in through renderUI()/uiOutput(), in which case we have to re-typeset the math expressions"
...
This reverts commit 58471c6971 .
2014-02-17 18:52:25 -06:00
Yihui Xie
5c34aa0bb5
remove includeMathJax() and use withMathJax() instead, per suggestion of @jcheng5
2014-02-17 18:52:25 -06:00
Joe Cheng
2b2ed8162d
Staticdocs prefers lower-case .r on linux
2014-02-17 16:40:08 -08:00
Joe Cheng
9770bd8005
Tweak two Rd titles
2014-02-17 16:01:57 -08:00
Yihui Xie
4e020818ae
white spaces
2014-02-17 14:43:33 -06:00
Yihui Xie
58471c6971
math expressions may come in through renderUI()/uiOutput(), in which case we have to re-typeset the math expressions
2014-02-17 14:43:33 -06:00
Joe Cheng
2a2e02bf56
Remove border radius on showcase well
2014-02-17 11:34:07 -08:00
Joe Cheng
75d8cee766
Fix issue #395 : Monospace fonts broken on QtWebKit
2014-02-17 11:31:39 -08:00
Joe Cheng
1aed36bd16
Revert "Merge pull request #298 from jcheng5/remove-catools"
...
This reverts commit 0ad9a5f9c6 , reversing
changes made to c31d91668a .
2014-02-14 13:35:41 -08:00
Joe Cheng
00ce58ed18
Merge pull request #390 from dmbates/patch-2
...
Update server.R
2014-02-12 13:50:49 -08:00
Douglas Bates
d11aa1a61c
Update server.R
...
Minor typo
2014-02-12 15:25:30 -06:00
Yihui Xie
56a62d3b4d
Merge pull request #356 from yihui/feature/datatables-options
...
To be able to evaluate options passed to DataTables
2014-02-11 23:19:13 -06:00
Yihui Xie
e6dd668657
news for #356
2014-02-11 23:18:32 -06:00
Yihui Xie
f60a64c8db
instead of assuming fnFooBar should be evaluated, let's use I() explicitly
2014-02-11 23:12:19 -06:00
Yihui Xie
eff1c298c9
it is okay to include README.md in an R package on CRAN now
2014-02-11 22:59:37 -06:00
Yihui Xie
358b0a122b
ignore staticdocs/ when building the source package
2014-02-11 22:59:37 -06:00
Yihui Xie
c0f7ba9d46
use Rd2roxygen to convert the two manually written Rd files to roxygen comments, so that all Rd files are automatically generated from roxygen2 now
2014-02-11 22:59:37 -06:00
Yihui Xie
c4edae8196
using roxygen2 4.0.0: the spurious changes are due to klutometis/roxygen#184 (text in Rd is no longer wrapped by default)
2014-02-11 22:59:37 -06:00
Yihui Xie
398dab808c
use @include to make sure the Collate field is correctly generated
2014-02-11 22:59:37 -06:00
Yihui Xie
3530871560
strip white spaces
2014-02-11 22:59:37 -06:00
Yihui Xie
1ba26fdb98
tweak news
2014-02-11 22:31:21 -06:00
Joe Cheng
a3b85b4e3e
Add index entry for absolutePanel
2014-02-11 14:19:04 -08:00
Joe Cheng
e37a5d0394
Merge remote-tracking branch 'jcheng5/feature/absolute-panel'
...
Conflicts:
NEWS
man/validateCssUnit.Rd
2014-02-11 14:17:58 -08:00
Yihui Xie
e5a8e77e2a
Merge pull request #364 from yihui/feature/mathjax
...
closes #25 : a new function includeMathJax()
2014-02-11 16:06:48 -06:00
Yihui Xie
314b59798f
a news item for includeMathjax()
2014-02-11 16:06:20 -06:00
Yihui Xie
e9ae16e534
closes #25 : a new function includeMathJax()
2014-02-11 15:59:23 -06:00
Joe Cheng
c971ca0ce2
Merge pull request #388 from rstudio/feature/example-display-mode
...
Allow display.mode to be provided for examples
2014-02-11 12:45:11 -08:00
Joe Cheng
0ad9a5f9c6
Merge pull request #298 from jcheng5/remove-catools
...
Remove caTools dependency
2014-02-11 12:40:09 -08:00
Joe Cheng
c31d91668a
Suppress staticdocs test when run on a built package
2014-02-10 11:58:40 -08:00
Jonathan McPherson
f5c196d717
allow display.mode to be provided for examples
2014-02-10 10:40:34 -08:00
Joe Cheng
3b90eed89f
Add check for staticdocs index correctness
2014-02-05 13:45:25 -08:00
Joe Cheng
9828c8b787
Minor doc tweaks
...
- Combine sliderInput and animationOptions topics
- Provide better staticdoc index descriptions
Sorry for the big diff, that's due to using a newer version of roxygen.
2014-02-05 13:23:57 -08:00
Winston Chang
b3e997134f
Merge branch 'bugfix/381-sendOutputHiddenState'
2014-02-05 12:30:39 -06:00
Winston Chang
f560baa69b
Add comments about debouncing
2014-02-05 12:30:25 -06:00
Winston Chang
8cf5f00c87
Remove console logging code
2014-02-05 12:12:38 -06:00
Winston Chang
482c3895d3
Udpate to jQuery 1.11.0
...
This makes the following JS console message (as noted in #271 ) go away:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
2014-02-05 12:07:28 -06:00
Joe Cheng
fc0d4bde35
Staticdocs index info
2014-02-04 16:13:37 -08:00
Joe Cheng
33ed89a036
Merge pull request #363 from yihui/text-output-container
...
fixes #90 : textOuput() can be put in any tag now
2014-02-03 16:44:08 -08:00
Joe Cheng
0a5953c104
Remove caTools dependency
2014-02-03 16:41:28 -08:00
Joe Cheng
77f6be1a8b
Fix URL for slider number format details
...
Fixes issue #384
2014-02-03 16:37:22 -08:00
Yihui Xie
5bd3f9a571
just to avoid the spurious warning in R CMD check "doRenderTags: no visible binding for global variable 'htmlResult'"
2014-01-30 21:27:43 -06:00
Yihui Xie
ef59119663
Merge pull request #383 from jcheng5/bugfix/broken-image
...
Don't show broken image when plot is empty
2014-01-30 19:09:08 -08:00
Joe Cheng
45baca7018
Don't show broken image when plot is empty
...
Repro case:
shiny::runApp(list(
ui=basicPage(plotOutput('foo')),
server=function(input, output, session) {
output$foo <- renderPlot({})
}
))
2014-01-30 16:46:07 -08:00
Joe Cheng
9b1edb7a97
Fix issue #381 : sendOutputHiddenState is called too many times
2014-01-30 10:18:43 -08:00
Yihui Xie
31c071d086
use values instead of names for radioButtons due to #340
...
the problem was revealed from #377
2014-01-27 22:55:37 -06:00
Joe Cheng
ecf4c5c104
Merge pull request #376 from wch/singleton
...
Add exports.renderHtml function
2014-01-22 14:35:23 -08:00
Winston Chang
35fbfece0d
Export renderHtml function and un-export singletons object
2014-01-21 13:14:21 -06:00
Winston Chang
b7721e42d3
Fixes for jshint
2014-01-21 10:19:50 -06:00
Winston Chang
386346cee9
Add new object for handling singletons
2014-01-21 10:19:50 -06:00
Winston Chang
bbecccc45e
Missing semicolon
2014-01-21 10:02:52 -06:00
Yihui Xie
1a8f84c134
and reactive({}) also works; closes #366
2014-01-17 22:41:00 -06:00
Yihui Xie
66181fdcdf
reactive(NULL) works now
2014-01-17 22:40:13 -06:00
Winston Chang
b9c05e8a9c
Bind both mouse and touch events for jslider
...
This brings in commit 468002a for jslider. It fixes the problem where
dragging the slider didn't work in the RStudio viewer pane.
2014-01-17 09:36:31 -06:00
Joe Cheng
9c22d6c12a
Merge pull request #371 from trestletech/no-write-closed
...
Don't attempt to write if the connection is closed.
2014-01-16 16:41:23 -08:00
trestletech
f3cedbbd6f
Don't attempt to write if the connection is closed.
2014-01-16 14:34:55 -06:00
Joe Cheng
3f3a660ca1
Merge pull request #369 from trestletech/input-handler-patch
...
Define a non-S3 input registry.
2014-01-16 11:37:28 -08:00
Joe Cheng
1c6ded8416
Merge pull request #370 from trestletech/flush-on-session-end
...
Flush react/output onSessionEnd
2014-01-16 11:13:16 -08:00
trestletech
aa63fdb26f
Flush react/output onSessionEnd
2014-01-16 12:26:29 -06:00
trestletech
3932330ce6
Added tests, stop converting NULLs to NA.
2014-01-15 14:24:13 -06:00
trestletech
3b946b1c69
Removed deprecated function documentation.
2014-01-14 21:26:04 -06:00
trestletech
14df829f18
Update inputHandler docs, revamped tests.
2014-01-14 21:19:12 -06:00
trestletech
788d024be6
Define a non-S3 input registry.
...
Revises the approach taken in #233 .
!! No longer casts NULLs in incoming JSON to NA.
2014-01-14 18:02:19 -06:00
Joe Cheng
c20b56e089
Merge pull request #367 from jcheng5/bugfix/dynamic-singleton
...
Better handling of dynamically generated singletons
2014-01-14 10:41:10 -08:00
Joe Cheng
287f4f239e
Better handling of dynamically generated singletons
...
Ref:
https://groups.google.com/d/msg/shiny-discuss/cgSHsM1FCjY/vgU1-jmkGjkJ
The user reported that on a page with multiple uiOutputs whose corresponding
renderUI calls all returned sliderInputs (but no sliderInput was present in
ui.R), some but not all of the sliders were initialized correctly; the ones
that were not didn't receive the jquery-slider treatment and just looked like
text boxes.
This was caused by a fundamental flaw in our handling of singletons in
renderUI. The implicit assumption in the old renderUI code was that:
1) Any HTML we generate in renderUI would be rendered in the client
2) Given multiple calls to renderUI, the HTML we return will be rendered in
the client in the order that we generated it
Both assumptions are incorrect. #1 would be incorrect in cases where an output
is rendered twice before flushOutput is called (this is possible when using an
observer to modify a reactive input, for example), and #2 is incorrect when
output is flushed with multiple values (very common, and exactly what was
happening to the user scenario linked above).
This commit fixes the problem by deferring singleton-handling for uiOutput to
the client. We don't assume that a singleton has been rendered until right
before we render it. The implementation uses a surroundSingletons function on
the server side to surround all singletons with <!--SHINY.SINGLETON[sig]-->
and <!--/SHINY.SINGLETON[sig]-->, which will then be parsed and removed in
the htmlOutputBinding in shiny.js. (And because singletons may contain <head>
elements, we also need to defer <head> hoisting to htmlOutputBinding as well.)
The context$filter mechanism previously used in tagWrite was not flexible
enough to handle this kind of singleton processing. The new rewriteTags
function does tag walking and rewriting much more robustly and flexibly than
context$filter, so I also refactored renderTags to use it instead.
One unrelated problem I noticed was that singleton only worked reliably on
tags, possibly on characters and definitely not on list() or tagList(). This
is because list flattening was happening at tag construction time, which
can cause singleton objects to be trampled. (Among other reasons, such as
context$filter not being called on list objects.) I changed tags.R to not do
any flattening or NULL dropping at tag construction time, but instead to do
it at the last minute during tagWrite.
2014-01-13 17:04:30 -08:00
Joe Cheng
dce66945ec
Merge pull request #340 from yihui/bug/null-choices
...
fix the bug when choices=NULL in updateCheckboxGroupInput()
2014-01-11 13:43:05 -08:00
Yihui Xie
92bd1d5200
Merge pull request #360 from jcheng5/bugfix/359-factors-as-numbers
...
Fix issue #359 : Factors in HTML attributes are being converted to their numeric, not character, equivalent
2014-01-10 19:30:33 -08:00
Yihui Xie
06d2df8211
fixes #90 : textOuput() can be put in any tag now
...
for the example, we use <span>, which is allowed in <h3>
2014-01-10 20:54:28 -06:00
Joe Cheng
36256856b5
Fix issue #359 : Factors in HTML attributes are being converted to their numeric, not character, equivalent
...
This bug was introduced in 3fc1410 . Essentially it boils down to the difference between stringifying a factor, and stringifying a list containing a factor:
> as.character(factor('a'))
[1] "a"
> as.character(list(factor('a')))
[1] "1"
The call to split that was introduced in this commit ends up generating lists of factors, not vectors of them.
The best fix I could find was to convert all the attribute values to character before doing the split.
2014-01-10 01:48:02 -08:00
Joe Cheng
a771ae853c
Remove extraneous library calls
2014-01-09 10:44:50 -08:00
Yihui Xie
ef4e10bbb1
Merge pull request #355 from jcheng5/bugfix/null-children
...
Ignore NULL tag elements
2014-01-08 18:51:20 -08:00
Yihui Xie
0dbe4d936e
cosmetic changes, just because Github is not aware of my new commits for the PR after it was down
2014-01-08 16:23:23 -06:00
Yihui Xie
731fee11d4
a missing space
2014-01-08 15:54:05 -06:00
Yihui Xie
6759df52c3
show the log files after R CMD check failures
2014-01-08 15:18:01 -06:00
Yihui Xie
914b997076
need to run roxygen2
2014-01-08 15:18:01 -06:00
Yihui Xie
0b8a2fea72
and a missing )
2014-01-08 14:47:40 -06:00
Yihui Xie
fb2538135c
an extra )
2014-01-08 14:46:57 -06:00
Yihui Xie
b4c547c278
move assignments out, per suggestion of @hadley
2014-01-08 14:22:38 -06:00
Yihui Xie
b243bc846b
also include input ID in the warning message, per suggestion of @jcheng5
2014-01-08 14:21:41 -06:00
Joe Cheng
6b8f6162b6
Unify jqueryui copies
2014-01-08 09:41:38 -08:00
Joe Cheng
158db1532b
Merge remote-tracking branch 'origin/master' into feature/absolute-panel
...
Conflicts:
DESCRIPTION
2014-01-08 09:32:14 -08:00
Jonathan
6abfdb59c6
Merge pull request #352 from rstudio/feature/showcase-mode
...
Add Shiny Showcase mode
2014-01-08 09:11:24 -08:00
Jonathan McPherson
009d1f9ced
make runApp arg take precedence over DESCRIPTION for setting showcase mode
2014-01-08 08:55:30 -08:00
Yihui Xie
555fba6598
Merge pull request #348 from rstudio/feature/navbar-input-binding
...
add id parameter to navbarPage (support for tab input binding)
2014-01-07 20:47:44 -08:00
Jonathan McPherson
f9017b72a7
remove extraneous parameter to startAppDir
2014-01-07 16:17:16 -08:00
Joe Cheng
99c3c2fc80
Ignore NULL tag elements
...
We already do the right thing for NULL tag attributes
2014-01-07 15:59:42 -08:00
Jonathan McPherson
32381679f2
update display.mode parameter and width for inputs
2014-01-07 15:50:43 -08:00
Jonathan McPherson
3d031265d1
satisfy R CMD CHECK: validate srcfile, use with(tags rather than withTags
2014-01-07 12:51:03 -08:00
Jonathan McPherson
026cda0071
change DESCRIPTION Type field from ShinyShowcase to Shiny
2014-01-07 11:16:46 -08:00
Jonathan McPherson
fb41ed5a86
make display.mode symmetric with DisplayMode in DESCRIPTION
2014-01-06 15:56:53 -08:00
Jonathan McPherson
8a08468a73
improve code density and zoomed display of inputs
2014-01-06 14:45:05 -08:00
Jonathan McPherson
f600cb4f2c
allow source highlighting in files other than server.R
2014-01-06 14:33:31 -08:00
Jonathan McPherson
f754f028dc
simplify showcase mode setting in DESCRIPTION
2014-01-06 13:43:02 -08:00
Jonathan McPherson
41b292b45b
complete refactoring of raw text output to tags$... methods
2014-01-06 13:19:07 -08:00
Jonathan McPherson
af9be9cae8
use tags functions for writing app info block
2014-01-06 11:03:53 -08:00
Jonathan McPherson
ccfaea64c5
simplify & clean up construction of markdown content
2014-01-06 10:38:05 -08:00
Yihui Xie
a86fc96730
yes, it is weird to select by names instead of values; now the weirdness has gone
2013-12-31 17:03:43 -06:00
Yihui Xie
cf51af17fd
news for #340
2013-12-31 16:50:07 -06:00
Yihui Xie
8c1b6a5cf0
update JS tests accordingly
...
note that getState() no longer includes state.options.selected/checked, which is actually redundant since there is state.value
2013-12-31 16:49:48 -06:00
Yihui Xie
bcecb8cd76
roxygenize
2013-12-31 16:48:17 -06:00
Yihui Xie
557790b0e5
selected refers to values instead of labels/names of choices
...
added validateSelected() for backward compatibility
2013-12-31 16:48:04 -06:00
Yihui Xie
8eb5a45718
per suggestion of @wch, we do not pass the selected/checked status in the message; the selected values are in message$value, and they will be set via this.setValue(el, data.value) in receiveMessage() in shiny.js
...
also note that updateSelectInput() is essentially the same as updateCheckboxGroupInput() now, because it does not matter if the attribute name is 'selected' or 'checked'
2013-12-31 15:06:17 -06:00
Yihui Xie
7b64cef73b
fixes #176 : the problem of choices=NULL also affects selectInput()
2013-12-31 15:06:17 -06:00
Yihui Xie
106203170e
pass the selected value(s) to checkbox/radio group
2013-12-31 15:06:17 -06:00
Yihui Xie
174d2bfc11
only do mapply() when length(choices) > 0, otherwise options = list(), and this will lead to an empty checkbox/radio group
2013-12-31 15:06:17 -06:00
Yihui Xie
abda9c7f97
it is not possible to do names(NULL) <- value, so return early when choices is NULL
...
https://groups.google.com/forum/?pli=1#!topic/shiny-discuss/K7chwrMCvkU
2013-12-31 15:06:17 -06:00
Yihui Xie
8e95260df9
for select input, setValue() with a nonexistent value turns its value to null
2013-12-31 15:05:22 -06:00
Jonathan McPherson
5af1ae1920
reflow comments (and a handful of code lines) to 65 characters
2013-12-30 15:18:21 -08:00
Jonathan McPherson
f0eb9d48c9
show license beneath code
2013-12-30 14:31:45 -08:00
Jonathan McPherson
0ac284009e
add Readme.md files to most examples
2013-12-30 13:05:54 -08:00
Winston Chang
fcf963639e
Update to Cairo 1.5-5
...
This version of Cairo properly uses the res argument, so it works with
resolutions higher than 72.
2013-12-27 21:41:34 -06:00
JJ Allaire
ba8c0fb1d5
change name of app start hook to be more consistent with app stop hook
2013-12-26 19:01:45 -05:00
JJ Allaire
08fe74675b
update docs on updateTabsetPanel to reflect it's applicablity to navbarPage and navlistPanel
2013-12-25 15:16:52 -05:00
JJ Allaire
f5e7fdf8aa
simplify handling of nested menus in tabInputBinding
2013-12-25 15:16:13 -05:00
Joe Cheng
f6e447d049
Merge pull request #349 from rstudio/feature/run-hook
...
add application run and stop hooks
2013-12-24 09:54:14 -08:00
JJ Allaire
531b21c012
add application run and stop hooks
2013-12-24 10:40:10 -05:00
JJ Allaire
a057456d5a
add docs for icon argument to navbarMenu
2013-12-24 09:31:24 -05:00
JJ Allaire
0f043b39f5
add id parameter to navbarPage (support for tab input binding)
2013-12-24 09:12:41 -05:00
Jonathan McPherson
dc0701e21d
update DESCRIPTION files and a Readme; tweak spacing
2013-12-23 16:23:33 -08:00
Jonathan McPherson
712f18f4e8
clean up some comments and accidentally introduced whitespace changes
2013-12-23 15:04:05 -08:00
Jonathan McPherson
e0a82b4aaf
Merge remote-tracking branch 'origin/master' into feature/showcase-mode
2013-12-23 14:46:48 -08:00
JJ Allaire
a7f238ae0b
use correct selector for navbar menu auto-collapse
2013-12-21 17:44:07 -05:00
Yihui Xie
0d99b6de7a
Merge pull request #345 from jcheng5/print-html
...
Nicer printing of HTML tags at console
2013-12-21 11:51:20 -08:00
Joe Cheng
6f627fca96
Minor doc tweak
2013-12-21 11:01:10 -08:00
Joe Cheng
339fbc482b
Smarter cursor choosing for absolutePanel
2013-12-21 10:53:23 -08:00
Joe Cheng
72e3ee1d77
Nicer printing of HTML tags at console
2013-12-21 10:26:45 -08:00
Joe Cheng
a9750fb088
Add absolutePanel and fixedPanel (and jquery-ui)
...
jQueryUI is needed for draggable functionality.
2013-12-20 14:53:11 -08:00
JJ Allaire
d80e3b0824
don't auto-hide when collapased navbar submenu is clicked
2013-12-20 17:06:42 -05:00
Jonathan McPherson
46df7a9ea0
make jshint happy (avoid leaking globals)
2013-12-20 12:23:05 -08:00
Joe Cheng
b851ce49f7
Forgot to roxygenize a previous doc change
2013-12-20 11:54:22 -08:00
Winston Chang
d9afde3e15
Merge pull request #342 from trestletech/master
...
Unlist dates to properly handle date ranges.
2013-12-19 20:34:43 -08:00
trestletech
b38c57f308
Unlist dates to properly handle date ranges.
2013-12-19 17:58:17 -06:00
Jonathan McPherson
93e7e2e06e
set height of code window based on height of surrounding window
2013-12-19 15:08:27 -08:00
Jonathan McPherson
5ac09180a5
don't emit superfluous newline at beginning of .R files
2013-12-19 14:03:07 -08:00
JJ Allaire
3819ca3a62
add descriptions for examples
2013-12-19 16:59:26 -05:00
Jonathan McPherson
00426b4c9b
fix incorrect character accounting with newlines
2013-12-19 13:39:36 -08:00
Jonathan McPherson
58d8cefcc0
set sxs mode on load if browser is wide enough
2013-12-19 12:51:08 -08:00
Jonathan McPherson
c8bb122557
hide entire well when app doens't have metadata in sxs mode
2013-12-19 12:21:17 -08:00
Jonathan McPherson
bcef603a36
new layout: remove top bar, show app info by readme
2013-12-19 11:35:27 -08:00
Jonathan McPherson
639b4d392a
coerce strings from DESCRIPTION to correct types
2013-12-19 10:18:57 -08:00
Jonathan McPherson
6d5f06a61d
initial support for showcase mode from DESCRIPTION (not complete)
2013-12-18 17:06:31 -08:00
Jonathan McPherson
3e00e2ad58
show contents of global.R if it exists
2013-12-18 15:13:11 -08:00
Jonathan McPherson
cad2be5e53
always use tabs to show code; show readme alongside code
2013-12-18 13:41:15 -08:00
Jonathan McPherson
58fe5f263f
nicer code tabs in code-alongside mode
2013-12-17 20:18:22 -08:00
Jonathan McPherson
79ec6845f8
use more bootstrap-flavored styles
2013-12-17 16:10:53 -08:00
Jonathan McPherson
0f81ba8307
use minified jquery ui
2013-12-17 15:09:26 -08:00
Jonathan McPherson
a30543b035
use rstudio fork of highlight.js
2013-12-17 14:51:44 -08:00
Jonathan McPherson
5c4473a1d9
use side-by-side code and app instead of a popup window
2013-12-17 14:07:22 -08:00
Jonathan McPherson
7ff47c8c51
use rstudio default highlight colors
2013-12-17 13:52:17 -08:00
Jonathan McPherson
2544e29be3
use show with app / show below buttons to toggle
2013-12-17 13:16:23 -08:00
Jonathan McPherson
d7bf564e8f
make initial transition a little smoother
2013-12-17 11:15:11 -08:00
Jonathan McPherson
0f135f881a
make code position toggleable
2013-12-17 10:56:40 -08:00
Jonathan McPherson
2f1bb5e1c0
begin restricting code height and scrolling relevant portion into view
2013-12-17 10:23:27 -08:00
Jonathan McPherson
02b5f96eee
move from popup window model to side-by-side model
2013-12-17 09:00:27 -08:00
JJ Allaire
3e77871539
move shinyapps gitignore to root
2013-12-16 17:38:57 -05:00
Jonathan McPherson
676affdd03
add new header-free showcase mode (use showcase=2 on query string)
2013-12-16 14:12:13 -08:00
Jonathan McPherson
5caf41c067
Merge remote-tracking branch 'origin/master' into feature/showcase-mode
2013-12-16 13:21:59 -08:00
Jonathan McPherson
58f9e89fab
restore javascript markdown formatter
2013-12-16 13:15:11 -08:00
JJ Allaire
8776f0f4a5
Merge branch 'feature/showcase-mode' of github.com:rstudio/shiny into feature/showcase-mode
2013-12-16 15:19:47 -05:00
JJ Allaire
84a8c27926
gitignore for artifacts of deploying to shinyapps
2013-12-16 15:17:13 -05:00
Jonathan McPherson
f061e3486e
move showcase-specific css to its own file
2013-12-16 09:52:58 -08:00
Jonathan McPherson
da23995343
make jshint happy
2013-12-16 09:35:31 -08:00
Yihui Xie
4e0a61bd9b
Merge pull request #319 from jcheng5/feature/console-reactivity
...
Features for easier explaining of reactivity
2013-12-16 09:28:14 -08:00
Yihui Xie
d3e2fa5df5
Merge pull request #336 from jcheng5/bugfix/335-singleton-observer
...
Fix #335 : Singleton observer shows up in reactlog
2013-12-16 09:25:50 -08:00
Joe Cheng
00b111c974
Merge remote-tracking branch 'origin/master' into feature/console-reactivity
...
Conflicts:
NAMESPACE
NEWS
2013-12-16 09:25:45 -08:00
Jonathan McPherson
bd265c00a0
add documentation for showcase mode parameter to runApp
2013-12-16 09:25:02 -08:00
Joe Cheng
ef53a63766
Merge pull request #327 from rstudio/feature/bootstrap-layout
...
fluidPage and fixedPage and related bootstrap layout functions
2013-12-16 09:18:35 -08:00
JJ Allaire
688c7f1a1c
improve docs on theme parameter
2013-12-16 12:01:22 -05:00
Winston Chang
2989922253
Bump Cairo to 1.5-4
...
This is to avoid a bug in 1.5-3, where plots wouldn't appear properly.
2013-12-16 10:36:12 -06:00
JJ Allaire
6f6619a5ab
Add type parameter to tabsetPanel to enable the use of pill style tabs
2013-12-16 10:20:34 -05:00
JJ Allaire
1594c228e8
re-roxygenize
2013-12-16 10:18:08 -05:00
JJ Allaire
fb44f52aa9
add navlistPanel function
2013-12-16 10:09:38 -05:00
JJ Allaire
045ead1728
re-roxygenzie
2013-12-16 09:58:31 -05:00
JJ Allaire
4404463e53
tweak news linebreak
2013-12-16 08:27:15 -05:00
JJ Allaire
b79b61c8c8
merge from master
...
Merge remote-tracking branch 'origin/master' into feature/bootstrap-layout
Conflicts:
NEWS
R/bootstrap.R
2013-12-16 08:26:22 -05:00
Joe Cheng
467048a0fc
Fix erroneous comments in 03_reactivity
2013-12-15 15:15:16 -08:00
Joe Cheng
2a1edffce3
Fix #335 : Singleton observer shows up in reactlog
2013-12-15 01:00:16 -08:00
Joe Cheng
ce833c39d5
setAutoflush refactor for clarity
2013-12-15 00:21:49 -08:00
Joe Cheng
721a74eee6
Fix example
2013-12-14 23:35:32 -08:00
Joe Cheng
8f9f4f894c
Incorporate code review feedback from @yihui
2013-12-14 23:35:32 -08:00
Joe Cheng
842765dad0
Features for easier explaining of reactivity
...
- makeReactiveBinding: Turns a "regular" variable into a reactive.
No need to use reactiveValues() for simple reactivity.
- setAutoflush (not exported): Causes flushReact() to be called
each time something is executed at the R console top-level.
- options(shiny.suppressMissingContextError=TRUE): Prevents the
"Operation not allowed without an active reactive context" error
when attempting to read a reactive value or expression from the
console.
2013-12-14 23:35:32 -08:00
Joe Cheng
b23cc47d95
Merge pull request #334 from rstudio/feature/font-awesome
...
icon function for embedding icons from the font-awesome icon library
2013-12-14 21:47:52 -08:00
JJ Allaire
85baa596d0
remove widths parameter from columnLayout; add width parameter to sidebarPanel and mainPanel
2013-12-14 17:26:08 -05:00
JJ Allaire
e371fff110
update NEWS
2013-12-14 10:17:33 -05:00
JJ Allaire
dffe6b4f39
Merge remote-tracking branch 'origin/master' into feature/font-awesome
2013-12-14 09:46:59 -05:00
JJ Allaire
dbf684f385
merge origin/master
2013-12-14 09:46:37 -05:00
JJ Allaire
7b20fd91ef
fix R CMD check documentation errors
2013-12-14 09:44:54 -05:00
JJ Allaire
300c25ded1
re-roxygenize
2013-12-14 09:07:37 -05:00
JJ Allaire
284e814d2a
integrate icons into the rest of the ui
2013-12-14 09:02:11 -05:00
Jonathan McPherson
d5cdaddeea
use markdown package instead of client-side md renderer
2013-12-13 16:15:10 -08:00
JJ Allaire
8635b395a1
Merge remote-tracking branch 'origin/master' into feature/bootstrap-layout
2013-12-13 17:55:59 -05:00
Jonathan McPherson
c2cf4e72f8
decouple showcase mode from app boot; factor out of shiny.js
2013-12-13 14:46:31 -08:00
Yihui Xie
92def0f71d
Merge pull request #332 from jcheng5/bugfix/no-html-class
...
Fix test breakage due to HTML() missing from rendered output
2013-12-13 14:27:36 -08:00
Joe Cheng
bccae9d71c
Fix test breakage due to HTML() missing from rendered output
2013-12-13 14:18:06 -08:00
JJ Allaire
90b6a2f82b
add documentation on host parameter to runExample
2013-12-13 15:59:46 -05:00
JJ Allaire
0462df7de2
fix documentation error in sidebarLayout
2013-12-13 15:57:40 -05:00
JJ Allaire
d4b29ab08d
initial font-awesome import
2013-12-13 15:56:18 -05:00
JJ Allaire
09f2dfe181
Merge remote-tracking branch 'origin/master' into feature/bootstrap-layout
2013-12-13 15:47:37 -05:00
Yihui Xie
317d013a0b
Merge pull request #330 from yihui/travis
...
Travis CI
2013-12-13 12:41:04 -08:00
JJ Allaire
e26b2dcd43
refer to application layout guide
2013-12-13 14:37:49 -05:00
JJ Allaire
4676dbc740
update link to component layout guide
2013-12-13 14:33:10 -05:00
JJ Allaire
778f869ddb
all functions now work with fluid or fixed layouts
2013-12-13 13:57:37 -05:00
JJ Allaire
a7e9b1f76d
eliminate columnLayout (just use fluidRow)
2013-12-13 13:40:36 -05:00
JJ Allaire
096e56aaa8
eliminate horizontalPanel and pull left/right functions
2013-12-13 13:30:52 -05:00
Jonathan McPherson
d1bcc557f0
move showcase js to its own file; fix cross-document bug on firefox
2013-12-13 10:20:50 -08:00
JJ Allaire
e041fab319
Merge remote-tracking branch 'origin/master' into feature/bootstrap-layout
2013-12-13 09:38:48 -05:00
JJ Allaire
3394e36325
cross reference component and grid layout guides from help topics
2013-12-13 09:19:02 -05:00
JJ Allaire
a501458e5a
Refer to Bootstrap without Twitter preface; link explicitly to v2.3.2 documentation
2013-12-13 08:24:11 -05:00
JJ Allaire
da08eef5ef
add title parameter to top level page functions
2013-12-13 08:19:44 -05:00
JJ Allaire
0ea714552a
update examples to use sidebarLayout rather than pageWithSidebar
2013-12-13 07:52:47 -05:00
JJ Allaire
8cba584e52
deprecation notices
2013-12-13 06:32:49 -05:00
JJ Allaire
878f07d2cf
tweak docs for theme parameter
2013-12-13 06:29:29 -05:00
Yihui Xie
d297de732f
ignore travis.yml in .Rbuildignore
2013-12-13 00:52:46 -06:00
Yihui Xie
c41d4d32b9
enable Travis CI
...
YAML copied from https://github.com/yihui/highr/blob/master/.travis.yml
2013-12-13 00:31:31 -06:00
JJ Allaire
5d34134888
update NEWS for theme parameter
2013-12-12 22:47:16 -05:00
Jonathan McPherson
f968ec4cac
fix node cloning on IE browsers
2013-12-12 17:03:21 -08:00
Jonathan McPherson
fdb256a534
fix some animation and margin problems
2013-12-12 16:16:04 -08:00
Jonathan McPherson
62a2b57613
clarify regions of app UI vs. showcase UI
2013-12-12 15:45:39 -08:00
JJ Allaire
90f5ebfa58
add support for specifying an alternative bootstrap theme
2013-12-12 17:56:07 -05:00
Jonathan McPherson
66aecee519
fix highlighting for text points inside <SPAN>s
2013-12-12 14:02:53 -08:00
JJ Allaire
f0c661d6e2
enable shiny applications to opt out of bootstrap responsive css
2013-12-12 16:23:26 -05:00
JJ Allaire
a27f5b4c15
make default arguments of navbar page header and footer NULL
2013-12-12 15:58:00 -05:00
Jonathan McPherson
95b69f0003
initial support for sending source refs for reactives (not wired)
2013-12-12 12:57:04 -08:00
JJ Allaire
6925f0bf7a
remove head paramter from page functions
...
tags$head can just be included inline as one of the elements passed to the function at the top-level
2013-12-12 15:48:35 -05:00
Jonathan McPherson
6c1a9ed83b
add showdown dependency
2013-12-12 12:18:57 -08:00
Jonathan McPherson
3ebef79313
refactor showcase outputs from renderPage
2013-12-12 12:16:01 -08:00
Jonathan McPherson
57393806b0
initial support for Readme.md
2013-12-12 11:47:04 -08:00
JJ Allaire
721d8cfa49
enhance docs
2013-12-12 14:28:21 -05:00
JJ Allaire
9e5b68444f
add support for menus on navbars (navbarMenu function)
2013-12-12 13:41:32 -05:00
Jonathan McPherson
9f6c619401
initial support for header generated from DESCRIPTION
2013-12-12 10:28:38 -08:00
Yihui Xie
1b47e40a3a
Merge pull request #328 from rstudio/feature/rproj-changes
...
Rproj changes: don't roxygenize; use --as-cran for test
2013-12-12 09:44:58 -08:00
JJ Allaire
3fc14102e5
concatenate duplicate attributes in tag definitions
2013-12-12 08:41:53 -05:00
JJ Allaire
d907992c39
Automatically concatenate multiple class attributes in tag definitions
2013-12-12 08:06:20 -05:00
JJ Allaire
ae2f35c6c5
Rproj changes: don't roxygenize; use --as-cran for test
2013-12-12 06:20:35 -05:00
JJ Allaire
ddd804041d
Rd changes for R CMD check
2013-12-12 06:16:51 -05:00
JJ Allaire
2478cbdb6f
prevent long line lengths for links to bootstrap docs
2013-12-12 06:08:29 -05:00
JJ Allaire
80e992a9fc
allow pullLeft/Right functions to take tags or lists of tags; validate that all inputs are tags
2013-12-12 06:02:31 -05:00
JJ Allaire
e4b8e08e89
use paste0 where appropriate
2013-12-12 05:51:12 -05:00
Jonathan McPherson
6c556b8a72
improve style and behavior of code popout window
2013-12-11 17:38:02 -08:00
Jonathan McPherson
9659c19b23
initial support for code pop-out
2013-12-11 17:03:27 -08:00
Jonathan McPherson
aa6e9d9bf2
find column by sibling nodes
2013-12-11 15:07:30 -08:00
Jonathan McPherson
812f0ac32c
refine source ref location (columns still need work)
2013-12-11 14:06:12 -08:00
Jonathan McPherson
296b312950
scaffolding for flashing executing outputs
2013-12-11 13:22:00 -08:00
JJ Allaire
29a06406ea
Merge remote-tracking branch 'origin/master' into feature/bootstrap-layout
2013-12-11 15:47:01 -05:00
JJ Allaire
261cb7d3cd
fix incorrect ellipses arg in hr function
2013-12-11 15:46:38 -05:00
JJ Allaire
ba5a57ac07
fix columnLayout function
2013-12-11 13:38:50 -05:00
JJ Allaire
c0ebe9d7a1
allow row functions to take a class
2013-12-11 13:07:35 -05:00
JJ Allaire
2b83012786
update roxygen docs for navbarPage fluid argument
2013-12-11 13:04:59 -05:00
Jonathan McPherson
b9761288bd
send reactive log information to the client
2013-12-11 09:48:37 -08:00
JJ Allaire
a711e83398
Merge remote-tracking branch 'origin/master' into feature/bootstrap-layout
2013-12-11 12:43:21 -05:00
Yihui Xie
2705385681
Merge pull request #320 from rstudio/feature/layout-cleanup
...
misc cleanup of new layout functions
2013-12-11 09:11:42 -08:00
JJ Allaire
4b2f3dd070
merge from master
...
Merge remote-tracking branch 'origin/master' into feature/bootstrap-layout
Conflicts:
NAMESPACE
NEWS
2013-12-11 06:05:22 -05:00
JJ Allaire
876acf2839
Merge remote-tracking branch 'origin/master' into feature/layout-cleanup
2013-12-11 06:00:43 -05:00
JJ Allaire
d0446f068c
Merge remote-tracking branch 'origin/master' into feature/layout-cleanup
2013-12-11 05:59:02 -05:00
Yihui Xie
a9396d1e2f
Merge pull request #324 from rstudio/feature/hr-tag
...
add hr tag to exported html builder tags
2013-12-10 21:01:28 -08:00
JJ Allaire
e87102e586
update NEWS
2013-12-10 20:41:17 -05:00
JJ Allaire
8b213f8d7c
update NEWS
2013-12-10 20:40:21 -05:00
JJ Allaire
9a7dc5ba86
add hr tag to exported html builder tags
2013-12-10 20:20:16 -05:00
JJ Allaire
9acb3f83f8
add fluid parameter to navbarPage to specify fluid vs. fixed layout
2013-12-10 20:04:57 -05:00
JJ Allaire
1c676211ee
more revisions to layout functions -- go back to page level constructs for fixed and fluid
2013-12-10 16:15:17 -05:00
Jonathan McPherson
89728164eb
highlight code with highlight.js
2013-12-10 12:11:40 -08:00
Jonathan McPherson
d0c4093f5a
use built-in parseQueryString
2013-12-10 10:46:03 -08:00
Jonathan McPherson
d7f680fb19
show ui.R and server.R files in showcase mode
2013-12-10 10:20:50 -08:00
JJ Allaire
48279e060c
add validation of layout function inputs
2013-12-10 12:57:56 -05:00
Jonathan McPherson
10dd0d07dc
showcase mode stub controlled by showcase=1 parameter
2013-12-10 09:50:51 -08:00
JJ Allaire
d82dc4cf77
introduce more layout functions
2013-12-10 12:02:59 -05:00
JJ Allaire
2b9553e4da
refactor functions to use fixed and fluid explicitly and to introduce the notion of "layout" functions
2013-12-10 11:35:56 -05:00
Joe Cheng
ac112ea287
Race condition where clientData$singletons can be NULL
...
Reproduced in Shiny Server load testing.
Code reviewed by @trestletech
2013-12-09 15:51:45 -08:00
JJ Allaire
4f6b099615
move page functions to the top of the bootstrap-layout file
2013-12-09 16:43:55 -05:00
JJ Allaire
d4dcb162d0
functions for creating lower-level bootstrap layouts
2013-12-09 14:35:49 -05:00
Yihui Xie
46054f513b
fixes #314 : the data passed to htmlOutputBinding could be null
2013-12-08 17:55:49 -06:00
JJ Allaire
261f67df50
update NAMESPACE For removed panelWithSidebar
2013-12-08 09:14:36 -05:00
JJ Allaire
22f9b2affe
rename tabsPosition to position
2013-12-08 09:10:50 -05:00
JJ Allaire
06c392c066
remove panelWithSidebar (this scenario will be handled by more composable top-level pages)
2013-12-08 09:10:28 -05:00
JJ Allaire
3d67b3bc17
Merge branch 'feature/remove-tab-condition' into feature/layout-cleanup
2013-12-08 09:06:47 -05:00
JJ Allaire
6cefab5d8a
Merge branch 'feature/navbar-header-footer' into feature/layout-cleanup
2013-12-08 09:06:35 -05:00
JJ Allaire
cc261de37b
remove condition attribute from tabPanel
...
the tab content visibility needs to be the union of data-display-if and whether the tab is active (the currenty implementation makes it always visible when data-display-if evaluates to true)
2013-12-07 17:16:02 -05:00
JJ Allaire
20712641a7
re-roxygenize for tabsetPanel position argument
2013-12-07 17:09:53 -05:00
JJ Allaire
e4d0b16fd5
add header and footer arguments to navbarPage
2013-12-07 17:09:26 -05:00
JJ Allaire
f8c25791e9
Merge pull request #318 from rstudio/feature/tabs-position
...
Add position parameter to tabsetPanel
2013-12-06 12:31:50 -08:00
JJ Allaire
704aa433d4
use match.arg for tabsPosition
2013-12-06 15:30:23 -05:00
Joe Cheng
3bd1003164
Merge pull request #316 from rstudio/feature/conditional-tabs
...
conditional expression to determine visibility of tabPanel
2013-12-06 11:21:58 -08:00
JJ Allaire
8dd55d7506
always assign data-display-if (it will be dropped if it's NULL)
2013-12-06 13:04:56 -06:00
Joe Cheng
6252d778c1
Merge pull request #317 from rstudio/feature/head-param
...
add optional head parameter to top-level page functions
2013-12-06 10:58:26 -08:00
Joe Cheng
942248b9e6
Merge pull request #315 from rstudio/feature/navbar-page
...
navbarPage and panelWithSidebar
2013-12-06 10:51:07 -08:00
Winston Chang
4793449105
Add example for actionButton
2013-12-06 12:13:31 -06:00
JJ Allaire
428e3bc0fc
forward head parameter in pageWithSidebar
2013-12-06 12:09:35 -06:00
Winston Chang
bf2c80cfcf
Improvements to invalidateLater docs
2013-12-06 12:09:23 -06:00
JJ Allaire
06b0685a57
change name of position parameter to tabsPosition
2013-12-06 11:33:49 -06:00
JJ Allaire
231ea25968
Add position paramter to tabsetPanel to enable positioning of tabs above, below, left, or right of tab content
2013-12-06 10:34:04 -06:00
JJ Allaire
8658eeddb2
update NEWS
2013-12-06 09:10:38 -06:00
JJ Allaire
d0769eed97
add optional head parameter to top-level page functions
2013-12-06 08:56:20 -06:00
JJ Allaire
b1fcd1f7c8
conditional expression to determine visibility of tabPanel
2013-12-06 08:12:26 -06:00
JJ Allaire
db1259b3e0
docs for collapsable and re-roxygenize
2013-12-05 10:31:03 -06:00
JJ Allaire
1a5f42b753
auto collapse navbar menu on click
2013-12-05 10:12:39 -06:00
JJ Allaire
75d061a7fa
support optional collablable navbar
2013-12-05 09:17:57 -06:00
JJ Allaire
9fb4c4140b
navbarPage and panelWithSidebar
2013-12-05 07:09:46 -05:00
JJ Allaire
0306877fb9
re-roxygenize for host parameter
2013-12-04 13:07:06 -05:00
Winston Chang
86e3b05a3f
Merge pull request #233 from trestletech/input-registry
...
Create a user-extensible registry of custom Shiny Input handlers.
2013-12-03 14:19:05 -08:00
trestletech
a4e8907c95
Merged rstudio/master into branch.
2013-12-03 15:15:14 -06:00
Yihui Xie
916ad6535a
fixes #299 : RJSONIO is unable to convert a matrix of 0 row to [], in which case we have to use an empty list() instead
...
toJSON(list(x = matrix(nrow = 0, ncol = 3))) gives '{\n "x": \n}', which is an invalid JSON expression
2013-12-03 15:03:39 -06:00
Yihui Xie
c129309937
Merge pull request #310 from yihui/master
...
closes #277 : implement actionButton.setValue()
2013-12-03 12:55:46 -08:00
trestletech
0088e9ae77
Preface shiny input classes with shiny. Refine tests to use S3 dispatch.
2013-11-30 15:19:21 -06:00
Yihui Xie
79806b5ad5
closes #277 : implement actionButton.setValue()
2013-11-26 23:51:35 -06:00
Winston Chang
7d59fbfc36
Merge pull request #302 from wch/jshint
...
Fixes to make JSHint happy
2013-11-22 12:11:07 -08:00
Winston Chang
e645bdf249
Add jshint options to suppress warnings
2013-11-22 13:51:52 -06:00
Winston Chang
0bedf26849
Check for own properties
2013-11-22 13:36:18 -06:00
Winston Chang
a153c5b4ce
Change function defs to vars
...
This makes the scoping clearer.
2013-11-22 13:32:54 -06:00
Winston Chang
44f1f3e9ae
Fixes for jshint
2013-11-21 17:07:47 -06:00
Winston Chang
8c82fa86c6
Update NEWS
2013-11-21 16:42:56 -06:00
Winston Chang
d4da934d6a
Merge branch 'renderui-head-singleton'
...
Conflicts:
NEWS
2013-11-21 16:42:42 -06:00
Winston Chang
56cc664c26
Use ===
2013-11-21 16:37:16 -06:00
Joe Cheng
eaa0bdfc62
Merge pull request #278 from yihui/changeset/source
...
use sys.source() and keep.source=TRUE
2013-11-21 13:34:08 -08:00
Yihui Xie
c538e9c6d4
use globalenv() instead of .Globalenv; remove local()
2013-11-20 18:00:24 -06:00
Winston Chang
54b9af0299
Merge branch 'localhost-only'
...
Conflicts:
NEWS
2013-11-20 13:54:47 -06:00
Winston Chang
c7d5b9211c
Merge pull request #271 from wch/bootstrap
...
Update to Bootstrap 2.3.2 and jQuery 1.10.2
2013-11-19 20:15:20 -08:00
Winston Chang
7ca22a8718
Add updated version of jslider
...
This adds compatibility with jQuery 1.9+
2013-11-19 21:47:39 -06:00
trestletech
4e37b32976
Enumerate function variables, setup Roxygen to pass R CMD CHECK, added tests.
2013-11-19 20:46:51 -06:00
Winston Chang
9725b23db1
Update NEWS
2013-11-19 14:36:21 -06:00
Winston Chang
2e60f2b2ce
Update to jQuery 1.10.2
2013-11-19 14:35:53 -06:00
Winston Chang
004776a522
Fix dateinput docs for pt-BR language
2013-11-19 11:19:12 -06:00
Joe Cheng
92fa1dde79
Fix #21 : singleton and tags$head are not really compatible with reactiveUI
...
This commit fixes two problems:
- tags$head content was not properly hoisted into the head
of the document when UI was reactively rendered
- singletons were not respected in renderUI
This makes it possible for input/output components that rely
on JavaScript libraries to simply put their script/style
dependencies in their input/output methods. This is contrary
to previous versions of Shiny where that approach would work
unless the component only appeared in renderUI/uiOutput and
not as part of the initial page render.
2013-11-09 15:11:22 -08:00
Joe Cheng
464821c4e2
Only allow access via localhost by default
...
This can be overridden via the "shiny.host" option or by explicitly
passing the host parameter to runApp/runExample.
2013-11-08 23:26:59 -08:00
Joe Cheng
e95483236a
Merge pull request #295 from wch/quiet
...
Add quiet option to runApp
2013-11-08 22:03:42 -08:00
Winston Chang
a9b97a85ad
Add quiet option to runApp
2013-11-07 11:26:27 -06:00
Yihui Xie
6170befc90
Merge pull request #289 from wch/methods
...
Move methods package to Depends
2013-11-01 12:30:39 -07:00
Winston Chang
5ecb85cb6d
Bump version to .99 for development
2013-10-30 10:34:50 -05:00
Winston Chang
d2fc04f45d
Merge branch 'v0.8.0-rc'
2013-10-30 10:33:27 -05:00
Joe Cheng
fb4da933d4
Update version number in NEWS
2013-10-29 12:31:58 -07:00
Yihui Xie
7483900db2
fixes #288 : moving shinyCallingHandlers() to a lower-level so that the shiny.error handler can be applied to observe() and isolate() as well
2013-10-28 23:17:02 -05:00
Winston Chang
9f78dbf200
Move methods package to Depends
2013-10-26 12:05:12 -05:00
Yihui Xie
ef9b9bdd6d
prepare the v0.8 release in the RC branch
2013-10-24 23:48:48 -05:00
Yihui Xie
1937aa43ba
Ah, brain poisoned by R's return() syntax; check if data is empty, then check data.colnames to make sure column names are passed in
2013-10-23 21:26:47 -05:00
Yihui Xie
293ea66784
fixes #286 : if the data passed to renderDataTable() does not have dim==2, return an empty object
2013-10-23 21:14:18 -05:00
Yihui Xie
e98d8f4ced
Merge pull request #284 from jcheng5/shiny-server-creds
...
Make Shiny Server credentials available on session object
2013-10-22 11:35:20 -07:00
Joe Cheng
418d2afb2a
Make Shiny Server credentials available on session object
2013-10-22 10:42:29 -07:00
Yihui Xie
a4c1a6187f
roxygenize and sync doc
2013-10-22 12:33:07 -05:00
Yihui Xie
123ca34040
tweak the roxygen doc for installExprFunction() (otherwise the second paragraph is treated as \description{})
2013-10-22 12:33:07 -05:00
Joe Cheng
6b3224116c
Merge pull request #279 from yihui/datatables
...
DataTables
2013-10-22 09:43:13 -07:00
Yihui Xie
635e0c9788
news for shiny v0.8
2013-10-22 10:40:29 -05:00
Yihui Xie
dd33a0e0ec
the error object may not be interesting at all; just call the handler without arguments
...
this makes it easier to set options(shiny.error = browser/recover/traceback/...), otherwise will have to do options(shiny.error = function(e) traceback()), which seems awkward
2013-10-22 10:33:01 -05:00
Yihui Xie
191deeaba6
a hack to remove the scrollbars in tab panels
2013-10-22 02:07:06 -05:00
Yihui Xie
245072f7a2
make sure colnames is an array, even when there is only one column in the data
2013-10-22 02:07:06 -05:00
Yihui Xie
6b858512b6
must empty the data table first
2013-10-22 02:07:06 -05:00
Yihui Xie
b857a01c30
save $(el) in $el
2013-10-22 02:07:06 -05:00
Yihui Xie
94c9a3e05b
should not have assigned installExprFunction() to func
2013-10-22 02:07:06 -05:00
Yihui Xie
8928d2c488
use the new installExprFunction() instead of exprToFunction()
2013-10-22 02:07:06 -05:00
Yihui Xie
25bd5654aa
display 25 rows by default, again per suggestion of JJ
2013-10-22 02:07:06 -05:00
Yihui Xie
83d5b96adf
no CSS classes for sorted columns, per suggestion of JJ
2013-10-22 02:07:06 -05:00
Yihui Xie
7eb90c5718
roxygenize
2013-10-22 02:07:06 -05:00
Yihui Xie
4b1af75724
debouncing is done single-handedly, thanks to Joe's smart debounce() function
2013-10-22 02:07:06 -05:00
Yihui Xie
8d07ab6527
roxygenize
2013-10-22 02:07:06 -05:00
Yihui Xie
ce4ea7e7a9
allow users to pass initialization options to datatables
2013-10-22 02:07:06 -05:00
Yihui Xie
50ab5e7517
BSD license for DataTables
2013-10-22 02:07:06 -05:00
Yihui Xie
431c1d7f66
css for the processing indicator
2013-10-22 02:07:06 -05:00
Yihui Xie
a55090dc2f
the searching should use intersection instead of union
2013-10-22 02:07:06 -05:00
Yihui Xie
d76cdb73b0
remove the ColumnFilter plugin; it is too heavy, and I just added the <input> by myself and implemented searching by individual columns
2013-10-22 02:07:05 -05:00
Yihui Xie
2594664330
use the nicer bootstrap style
2013-10-22 02:07:05 -05:00
Yihui Xie
f9ed075db6
write a datatable output binding; the column names and action url are passed from renderDataTable() to the output binding
2013-10-22 02:07:05 -05:00
Yihui Xie
099ced4f94
implement searching by columns
2013-10-22 02:07:05 -05:00
Yihui Xie
13d2513930
index from 0, sigh
2013-10-22 02:07:05 -05:00
Yihui Xie
2211b1c65e
now we can sort multiple columns: press Shift and click the column headers
2013-10-22 02:07:05 -05:00
Yihui Xie
1fd37ca2b2
implement sorting; the very basic features are there now, but this still needs a lot of improvement in terms of details
2013-10-22 02:07:05 -05:00
Yihui Xie
7070e3748d
disable default sorting
2013-10-22 02:07:05 -05:00
Yihui Xie
dfaef908c2
make sure the data has two dimensions
2013-10-22 02:07:05 -05:00
Yihui Xie
67540c763b
a simple implementation of global searching
2013-10-22 02:07:05 -05:00
Yihui Xie
14269bd4d9
document renderDataTable() and dataTableOutput()
2013-10-22 02:07:05 -05:00
Yihui Xie
131663032c
the ... argument is not really used
2013-10-22 02:07:05 -05:00
Yihui Xie
8ac71165e9
add dataTableOutput() and renderDataTable() for the DataTables library
...
not yet done, but at least paging is working now
2013-10-22 02:07:05 -05:00
Yihui Xie
346758d3f0
white spaces
2013-10-21 21:40:28 -05:00
trestletech
d3e7f130fb
Parse incoming NULLs as NA.
2013-10-21 21:33:25 -05:00
Yihui Xie
aef8837b5d
add .csv to fileInput() to make it consistent with the tutorial ( #280 )
2013-10-21 21:25:42 -05:00
Yihui Xie
dc0832adba
should pass a session object to invalidateLater()
2013-10-21 21:20:41 -05:00
trestletech
c0cd269322
Revert "Customize dispatch for NULL objects."
...
This reverts commit f4ada70e56 .
2013-10-21 20:43:02 -05:00
Joe Cheng
0ad3ff655e
Merge remote-tracking branch 'origin/pr/276'
...
Conflicts:
R/shiny.R
2013-10-21 10:11:05 -07:00
Yihui Xie
ef45a62cc9
Merge pull request #282 from rstudio/feature/httpuv-version
...
bump the required version of httpuv to v1.2
2013-10-20 09:56:17 -07:00
JJ Allaire
b79abbdea9
bump the required version of httpuv to v1.2
...
this is to pull the changes to httpuv that enable shiny applications to run inside the rstudio viewer pane
2013-10-20 06:34:52 -04:00
Yihui Xie
a9e4ce005d
closes #238 : use keep.source() for sys.source()
2013-10-18 22:38:32 -05:00
Yihui Xie
987f2b2a55
closes #236 : use sys.source(envir=) instead of source(local=)
2013-10-18 22:19:25 -05:00
Yihui Xie
930e2d1d9d
closes #272 : the argument ws_env was not used anywhere
2013-10-18 22:01:17 -05:00
trestletech
f4ada70e56
Customize dispatch for NULL objects.
...
Don't provide class for input objects based on `type` field. Provide real NULLs to dispatched functions rather than empty lists.
2013-10-18 17:27:28 -05:00
trestletech
97e658709d
Added S3-dispatched input parsers.
2013-10-18 17:20:24 -05:00
Joe Cheng
ec2992cd2d
Merge pull request #264 from rstudio/feature/debug-hooks
...
Export installExprFunction and add supporting documentation
2013-10-17 09:44:03 -07:00
Joe Cheng
619208565b
Merge pull request #273 from yihui/feature/callinghandlers
...
use withCallingHandlers() so that users can do error handling like recover()
2013-10-17 09:39:01 -07:00
Joe Cheng
dcd689d2ea
Don't clear timers when runApp returns
...
The lifetimes of reactive expressions and observers can span multiple
runApp calls, so timers should as well.
2013-10-16 15:34:25 -07:00
Yihui Xie
e94de15f83
well, we still have to use do.call($) on .self; closes #274
...
Winston reported the issue at https://stat.ethz.ch/pipermail/r-devel/2013-October/067744.html
partially reverted 86d61e0b44
2013-10-16 15:42:36 -05:00
Yihui Xie
6af7de51a5
another attempt to close #249 , using withCallingHandlers() instead of modifying tryCatch()
...
also closes #217 if everyone agrees with this approach
2013-10-16 00:57:54 -05:00
Winston Chang
559c6722ff
Update NEWS
2013-10-15 15:24:02 -05:00
Winston Chang
aab2cce978
Update to Bootstrap 2.3.2
2013-10-15 12:13:34 -05:00
Joe Cheng
f4a4af0fa4
Merge pull request #265 from yihui/bug/offset
...
a more reliable solution for e.offsetX/Y in Firefox
2013-10-14 11:02:20 -07:00
Joe Cheng
6934838974
Merge pull request #268 from rstudio/feature/parent-notify-disconnected
...
send disconnected message to parent frame when running on localhost
2013-10-11 07:51:34 -07:00
JJ Allaire
1aadd25cb5
notify iframe parent of disconnect when on the same domain
2013-10-10 06:20:26 -04:00
Winston Chang
0caf944668
Fix typo
2013-10-09 16:04:14 -05:00
Jonathan McPherson
6452f62b88
use a check hint (globalVariables()) in favor of modifying code in renderImage
2013-10-08 23:24:27 -07:00
Yihui Xie
e061dfd808
roxygenize
2013-10-08 23:42:19 -05:00
Yihui Xie
4da53ef219
a better solution for e.offsetX/Y in Firefox based on http://stackoverflow.com/q/12704686/559676
...
which fixes the bug reported by Greg D: https://groups.google.com/forum/#!topic/shiny-discuss/E6oYvyvx0oU
2013-10-08 23:34:34 -05:00
Jonathan McPherson
347e44f04d
look up function by name (for R CMD check --as-cran)
2013-10-08 15:29:35 -07:00
Joe Cheng
8997fa7242
Merge pull request #252 from jcheng5/random-ports2
...
Try up to 20 random ports if necessary
2013-10-08 13:58:17 -07:00
JJ Allaire
19ba6efb82
allow a custom function for the launch.browser parameter
2013-10-08 13:56:14 -07:00
Jonathan McPherson
d10cbc9984
export and add docs for installExprFunction
2013-10-08 10:36:31 -07:00
Jonathan McPherson
6c7d9ded00
simplify syntax for creating new debuggable expressions
2013-10-07 11:11:59 -07:00
Yihui Xie
6d04e89d7d
Merge pull request #262 from yihui/r-check
...
synchronize doc
2013-10-06 15:50:01 -07:00
Yihui Xie
2beb24147d
roxygenize
2013-10-06 17:47:09 -05:00
Yihui Xie
16c5f4e377
no need to expose the documentation to users; expose registerShinyDebugHook to R so that R CMD check does not complain
...
per discussion in #258 , and closes #259
2013-10-06 17:46:45 -05:00
Joe Cheng
03a6f1753c
Merge pull request #258 from rstudio/feature/debug-hooks
...
Add debug hook (when present) for functions generated by exprToFunction
2013-10-02 20:06:46 -07:00
Jonathan McPherson
9fb61d8446
tag Shiny server function for special debug treatment if needed
2013-10-02 12:27:44 -07:00
Jonathan McPherson
bc3322d3c9
allow debugging Shiny server function itself
2013-10-02 10:47:38 -07:00
Jonathan McPherson
06c7bf7514
invoke debug hook function if present after instantiating app functions
2013-10-02 08:53:45 -07:00
Yihui Xie
4c89a000e4
Merge pull request #257 from yihui/trycatch
...
rewrite some instances of do.call()
2013-10-01 23:33:44 -07:00
Yihui Xie
86d61e0b44
we do not really need do.call() in these cases
2013-10-02 01:30:31 -05:00
Joe Cheng
6407390d72
Try up to 20 random ports if necessary
2013-09-30 16:13:46 -07:00
Yihui Xie
648120cabf
Merge pull request #243 from jcheng5/master
...
Conditional panel expressions were broken for typed inputs
2013-09-28 21:30:42 -07:00
Joe Cheng
ce5b3f290a
Merge pull request #245 from rstudio/feature/random-port
...
choose a random port for runApp
2013-09-27 12:36:49 -07:00
JJ Allaire
5308ca1806
use .globals rather than .runContext
2013-09-27 15:36:02 -04:00
JJ Allaire
6df6d408d2
choose a random port for runApp and continue to use it for the duration of the session unless explicitly overridden
2013-09-27 07:59:44 -04:00
Joe Cheng
b60d6ccdd8
Conditional panel expressions were broken for typed inputs
2013-09-26 15:31:14 -07:00
Joe Cheng
de01c9685e
Merge pull request #235 from crtahlin/patch-2
...
Typo fix.
2013-09-26 10:37:56 -07:00
Joe Cheng
31d2ecc9fd
Merge pull request #234 from crtahlin/patch-1
...
Typo fix.
2013-09-26 10:37:31 -07:00
Yihui Xie
2f8502aec6
save coordmap in $el.data() so it can be dynamically retrieved
...
6161eaa was an inappropriate fix
(jcheng: cherry-picked from @yihui/master)
2013-09-26 10:33:37 -07:00
Joe Cheng
d377b04dad
Make websocket path relative to Shiny page path
...
This is necessary for proxy situations that don't override the
Shiny.createSocket function (so, not including Shiny Server,
but more like Nginx, HAProxy, and a future version of RStudio
Server).
Without the path being preserved, it's impossible for these
proxies to know that the URL should be forwarded to the host
and port that belongs to Shiny.
2013-09-19 22:53:11 -07:00
crtahlin
40cc78ae1e
Typo fix.
2013-09-14 23:12:45 +02:00
crtahlin
268f1e8472
Typo fix.
2013-09-14 22:54:20 +02:00
Winston Chang
004b7c782d
Add mailing list information to README
2013-09-11 11:09:18 -05:00
Winston Chang
33b293f0aa
Merge pull request #226 from crtahlin/patch-2
...
Fixed typo.
2013-09-05 17:53:51 -07:00
crtahlin
ad584a98ad
Fixed typo.
2013-09-05 17:25:27 +02:00
Jeff Allen
e2509eddb2
Merge pull request #225 from crtahlin/patch-1
...
Fixed typo.
2013-09-05 08:09:03 -07:00
crtahlin
b9f72d0e78
Fixed typo.
2013-09-05 16:35:04 +02:00
Joe Cheng
c839bb2db3
Merge pull request #224 from yihui/patch-1
...
websockets has been changed to httpuv
2013-09-04 10:38:04 -07:00
Yihui Xie
30161369a8
websockets has been changed to httpuv
2013-09-03 17:24:05 -05:00
Winston Chang
c65aa9732e
Bump version to 0.7.0.99 for development
2013-08-29 11:44:30 -05:00
Joe Cheng
bc72b8fd1c
Merge pull request #214 from hadley/doc-tweaks
...
Doc tweaks
2013-08-27 16:50:00 -07:00
Winston Chang
f089531bd1
Put man-roxygen in .Rbuildignore
2013-08-27 10:08:03 -05:00
Winston Chang
8d8ea53804
Fixes to imports for R-devel
2013-08-26 14:19:50 -05:00
Winston Chang
89e405e927
Bump version to 0.7.0
2013-08-26 12:03:02 -05:00
Joe Cheng
ca984a6630
Implement shiny.sharedSecret option
2013-08-25 22:20:38 -07:00
Joe Cheng
fa39a55eca
Wow, IE10 is *really* picky about websocket URLs
2013-08-23 15:42:19 -07:00
Joe Cheng
c3a1ba2f2d
Make websocket URL work with IE10
...
See https://github.com/einaros/ws/issues/131#issuecomment-15715373
2013-08-23 15:38:12 -07:00
Joe Cheng
86e291f250
Add docs for showReactLog. Un-export writeReactLog.
2013-08-23 13:11:04 -07:00
Jeff Allen
dd1d4439a9
Merge pull request #218 from wch/fix-log
...
Cleanups to reactive logging code for R CMD check
2013-08-23 12:16:23 -07:00
Joe Cheng
cbfde18f8c
More updates to NEWS
2013-08-23 12:03:11 -07:00
Winston Chang
e2c2e23d2a
Cleanups to reactive logging code for R CMD check
...
* Fix 'env' partial argument match for get().
* Fix unbound variable access of .shiny__stdout.
* Restructure if statement so test is only done once.
2013-08-23 12:16:18 -05:00
Winston Chang
40cc5d5242
Doc fixes for R CMD check
2013-08-23 12:07:34 -05:00
Winston Chang
9765194ace
Bump httpuv version dependency to 1.1.0
2013-08-23 10:16:47 -05:00
Winston Chang
628465e6b5
Update NEWS
2013-08-23 10:16:12 -05:00
Winston Chang
58706df120
Update sliderInput docs
2013-08-23 10:16:05 -05:00
Joe Cheng
b19225c747
Don't send websocket subprotocol
...
Some time recently, Google Chrome started actually caring what the
client sends for this and what the server replies with. httpuv
doesn't currently have any logic for subprotocol selection, so
it always replies with no Sec-WebSocket-Protocol header, which
now Google Chrome reacts to by closing the websocket connection.
This problem goes away if we just don't send a subprotocol at all.
2013-08-23 02:15:54 -07:00
Joe Cheng
c304889e61
Merge pull request #208 from trestletech/master
...
Add reactive timing logging, if the necessary variables are available.
2013-08-22 13:55:11 -07:00
trestletech
05a9204678
Added timestamp to reactive log.
2013-08-22 11:20:26 -05:00
hadley
ed8537bb0b
Redue duplication in docs betwee date/dateRange
2013-08-14 13:37:14 -05:00
hadley
6a9ae10fcf
Add cross-references between input types
2013-08-14 13:33:44 -05:00
hadley
05358904bf
Re-document
2013-08-14 13:31:16 -05:00
hadley wickham
1a6901c3e3
Document range slider
2013-08-14 13:25:42 -05:00
Winston Chang
7aaba8244b
Add is.reactivevalues function
2013-08-05 14:02:50 -05:00
Winston Chang
8c45dcde88
Merge pull request #205 from hadley/master
...
Class output of reactive.
2013-08-05 12:02:14 -07:00
Winston Chang
6c155b04b2
Merge pull request #197 from wch/fix-style
...
Add compatibility wrapper for getComputedStyle in IE8
2013-07-27 17:43:01 -07:00
Winston Chang
cd8ad9a2ec
Add compatibility wrapper for getComputedStyle in IE8
2013-07-27 19:41:56 -05:00
hadley
a5db7d0246
Class output of reactive.
...
Also add print method and test
2013-07-27 11:06:35 -05:00
trestletech
b84b467b96
Added logging of start/stop flushing of reactives using a param provided via HTTP headers.
2013-07-24 17:40:24 -04:00
trestletech
0812aaac88
Merge remote-tracking branch 'rstudio/master'
2013-07-24 08:59:34 -04:00
Joe Cheng
194d2f911e
Changes to public-facing session object
...
- Change from list to environment. This enables the next feature:
- Make $request a promise. websocket$request breaks on some (earlier?) versions
of httpuv. I'm not sure why this is but in the few hours since I submitted
the websocket$request change we've had a number of complaints. This way the
error only occurs if the app actually asks for session$request.
- Make the private session object accessible via `.impl`. Obviously any data or
methods on the private session object are unsupported but they are there if
you are desperate and don't mind possible future breakage.
2013-07-23 15:39:27 -07:00
Joe Cheng
e360b36b8a
Make WS request available on session object
2013-07-22 15:15:27 -07:00
trestletech
b6f66dd287
Moved print out so we can put it where it belongs.
2013-07-16 08:01:22 -07:00
trestletech
0a4bb48cd3
Added output of process ID on app start.
2013-07-15 14:26:25 -07:00
Joe Cheng
15d62d4a91
Add instructions for installing from GitHub
2013-07-12 01:32:49 +02:00
Joe Cheng
5b13c44ef9
Fix isolate return value bug (issue #200 )
2013-07-12 01:30:07 +02:00
Joe Cheng
0a4250f3b4
Merge pull request #193 from jcheng5/reactlog
...
React log
2013-07-09 00:58:53 -07:00
Joe Cheng
f79223ed58
Merge remote-tracking branch 'origin/master' into reactlog
2013-07-07 01:20:59 -07:00
Joe Cheng
2d28218a2a
Allow Cmd+F3 to launch reactlog
2013-07-07 01:20:40 -07:00
Joe Cheng
35974f2ee1
Firefox scrubbing fix
2013-07-06 23:13:25 -07:00
Joe Cheng
1f73323fb9
reactlog: Support arbitrary temporal movement
2013-07-06 23:06:38 -07:00
Joe Cheng
a3d0736eec
Use more obscure keyboard shortcut for reactlog
2013-07-06 18:27:10 -07:00
Joe Cheng
4bdd486c00
reactlog: Firefox compatibility; visual tweaks
2013-07-06 18:22:40 -07:00
Joe Cheng
c3895c9bd7
Configurable hover delay type (debounce/throttle)
2013-07-05 17:29:57 -07:00
Joe Cheng
e9ddd89b32
Simpler math
2013-07-05 15:08:42 -07:00
Joe Cheng
88a8f2d609
Fix locator Retina compatibility. Again.
...
Was working locally on Macs but not on spark.rstudio.com accessed via rMBP.
2013-07-05 13:52:56 -07:00
Joe Cheng
a5dc5c89e8
Firefox locator compat
2013-07-05 12:30:14 -07:00
Joe Cheng
3a15a35137
Merge pull request #192 from jcheng5/flush-callbacks
...
Add session$onFlush and session$onFlushed
2013-07-05 02:10:02 -07:00
Joe Cheng
b644640804
Add session$onFlush and session$onFlushed
2013-07-05 02:07:51 -07:00
Joe Cheng
aaa4f66671
Merge pull request #183 from jcheng5/plot-mouse-events
...
Click and hover on static plots. Also, fix retina compatibility and make hover delay configurable
2013-07-04 23:43:54 -07:00
Joe Cheng
07e021199e
Use crosshair cursor when plot supports hover/click
2013-07-04 23:42:44 -07:00
Joe Cheng
6b2ca7dc80
Merge pull request #182 from jcheng5/reactive-poll
...
Implement reactivePoll and reactiveFileReader
2013-07-04 23:31:16 -07:00
Joe Cheng
091d62803e
Merge pull request #191 from trestletech/master
...
Restrict the number of observations to a valid, positive number.
2013-07-04 12:15:57 -07:00
trestletech
547999bae0
Restrict the number of observations to a valid, positive number.
2013-07-03 23:06:42 -05:00
Joe Cheng
99013f7998
Launch reactlog from Shiny app with F3
2013-07-03 12:17:36 -07:00
Joe Cheng
fc396800db
reactlog: Automatically run first step
2013-07-03 08:56:28 -07:00
Joe Cheng
6d03ae57ac
reactlog: Show value changes
2013-07-03 00:05:28 -07:00
Joe Cheng
4a0aa57355
reactlog node shapes, visible labels
2013-07-02 17:48:09 -07:00
Joe Cheng
7db737494c
Reverse reactlog arrow orientation
2013-07-02 13:21:39 -07:00
Joe Cheng
b285501c44
reactlog code cleanup
2013-07-02 08:38:24 -07:00
Joe Cheng
2f9b29994f
Add showReactLog function
2013-07-02 03:17:30 -07:00
Joe Cheng
917434cb6b
Introduce shiny.reactlog function
2013-07-02 03:03:29 -07:00
Joe Cheng
28a52bb658
More visual improvements to reactlog
2013-07-02 02:59:37 -07:00
Joe Cheng
82bc19374c
Improve appearance of reactlog
2013-07-02 02:12:07 -07:00
Joe Cheng
0b23f30bb7
Work in progress
2013-07-02 01:29:33 -07:00
Joe Cheng
64a62d7aed
Add doc for workerId param
2013-06-28 13:55:45 -07:00
Joe Cheng
de31cf8e7d
Merge pull request #175 from trestletech/master
...
Add workerID to upload, download, and file URLs.
2013-06-28 13:52:38 -07:00
Winston Chang
3484f9afb3
Merge pull request #179 from wch/faster-tags
...
Faster tags
2013-06-25 09:57:34 -07:00
Winston Chang
81df0ff390
Fix typo
2013-06-25 11:40:54 -05:00
Winston Chang
d403ec7399
Make hover delay configurable
2013-06-24 16:39:04 -05:00
Winston Chang
6ac77835df
Fix Retina compatibility (revert b113119)
2013-06-24 16:31:43 -05:00
Joe Cheng
b113119a9a
Retina display compatibility
2013-06-21 21:38:23 -07:00
Joe Cheng
b713057614
Implement click and hover events on static plots
...
plotOutput now takes clickId and hoverId params that tell Shiny
where to send click and hover events for that plot. The server.R
file can listen on input$<clickId> and/or input$<hoverId>. In
both cases, the resulting value will have numeric x and y elements
that indicate the mouse position in user coordinates. In the case
of hover events, it's also possible to have a NULL value which
means the mouse is not currently hovering over the plot.
2013-06-21 16:58:43 -07:00
Winston Chang
4268570166
Add tests for escaping in tags
2013-06-20 14:13:11 -05:00
Winston Chang
ead508c0d0
Preserve attributes in child tags
2013-06-20 12:16:51 -05:00
Joe Cheng
f8e1be8565
Update shiny-package
2013-06-19 13:09:48 -07:00
Winston Chang
360f1af32f
Export tagSetChildren and tagAppendChildren
2013-06-19 15:01:45 -05:00
Joe Cheng
49a08d14c3
Code review feedback, part 1
2013-06-19 11:39:09 -07:00
Joe Cheng
d897df6a30
Implement reactivePoll and reactiveFileReader
2013-06-19 09:16:04 -07:00
Winston Chang
ba4f3a1553
Speed up input update functions
2013-06-19 00:34:57 -05:00
Winston Chang
6ba9534da4
In tag functions, drop NULL attributes
2013-06-19 00:25:46 -05:00
Winston Chang
c16ef96754
Don't use named list items for selectInput and radioButtons
...
The names aren't used anyway, and this matches previous behavior (Shiny 0.6.0)
2013-06-18 23:53:30 -05:00
Winston Chang
e728491aa2
Refactor checkboxGroupInput
2013-06-18 23:52:41 -05:00
Winston Chang
ce356fa266
Fix handling of empty tags
2013-06-18 23:52:13 -05:00
Winston Chang
5e46323ca3
Refactor tag()
...
This is much faster when there are large lists of children (and the code is
much simpler!)
2013-06-18 23:33:28 -05:00
Winston Chang
0a7d047246
Add tests for creating nested tags
2013-06-18 22:40:17 -05:00
Winston Chang
3fa534a3eb
Add tests for adding children
2013-06-18 22:39:34 -05:00
Joe Cheng
25990f59d8
Add observeEvent and eventFilter functions for handling events
2013-06-18 18:42:00 -07:00
Winston Chang
c6405f70d3
Add tagSetChildren() and tagAppendChildren()
2013-06-18 20:12:04 -05:00
Joe Cheng
acae6c2c49
Expose session$input and session$output
...
This makes it possible for packaged Shiny components to only ask
for the session variable to get access to all inputs and outputs
(along with the other good stuff on session).
2013-06-18 17:08:48 -07:00
Joe Cheng
141fdc2197
Do away with dependsOnFile error
...
This error is causing more problems than it solves.
2013-06-18 17:07:42 -07:00
Joe Cheng
a7ed8a006f
includeText should be HTML escaped
2013-06-18 17:07:08 -07:00
Joe Cheng
b1a0ebd531
Add includeCSS and includeScript functions
2013-06-18 17:06:34 -07:00
Winston Chang
e8021acccd
Speed up radioButtons when there are many choices
2013-06-17 23:49:50 -05:00
Winston Chang
39b0da2a3f
Speed up selectInput when there are many choices
2013-06-17 23:44:13 -05:00
Joe Cheng
fd3d18f6c5
Add stopApp function, for returning a value from runApp
2013-06-14 22:27:58 -07:00
trestletech
ecc27d1674
Incorporated a worker ID specification.
...
Accept this as a parameter from the runApp() function and pass it through into the shinysession object so that it can be used in file uploads, downloads, and HTTP image fallbacks on non-websocket browsers.
2013-06-13 21:34:10 -07:00
Joe Cheng
7d0514ab36
Merge pull request #172 from wch/cairo-option
...
Add option for not using Cairo
2013-06-12 10:10:14 -07:00
Winston Chang
44c3024c00
Add option for not using Cairo
2013-06-12 10:56:21 -05:00
Winston Chang
253c92bab7
Bump version to 0.6.0.99 for development
2013-06-12 10:53:51 -05:00
Joe Cheng
c10850118d
Merge pull request #170 from hadley/master
...
Fix typo
2013-06-11 13:26:14 -07:00
Joe Cheng
4f017e9173
Remove annoying title="foo" tooltip on all tabset tabs
2013-06-11 09:19:49 -07:00
Joe Cheng
5ed46c82cb
Document observer methods
2013-06-11 09:18:57 -07:00
hadley wickham
64391e906d
Update reactives.R
...
Add newline (guessing that's how it's supposed to be)
2013-06-11 10:37:02 -05:00
Joe Cheng
47b4ee07ab
Merge pull request #165 from trestletech/master
...
Export validateCSSUnit function
2013-06-10 11:32:01 -07:00
trestletech
3000cbf763
Reorder namespace using latest roxygen2 code.
2013-06-07 16:33:19 -05:00
trestletech
76b3d314a8
Exported validateCSSUnit function.
2013-06-05 15:15:54 -05:00
Winston Chang
ba646de0ad
Bump version to 0.6.0
2013-06-05 12:12:46 -05:00
Winston Chang
395f746a05
Update NEWS
2013-06-04 22:20:07 -05:00
Winston Chang
f7e57cd398
Update NEWS
2013-06-04 21:21:26 -05:00
Winston Chang
3ea6d97ed2
Documentation updates
2013-06-04 21:21:26 -05:00
Winston Chang
affc0d8b67
Remove sendJavascript
2013-05-31 10:48:39 -05:00
Joe Cheng
c637e310e9
Merge pull request #164 from jcheng5/suspend-bugfix
...
Fix several bugs relating to suspendWhenHidden
2013-05-28 08:58:52 -07:00
Joe Cheng
6ee7dcdd51
Fix several bugs relating to suspendWhenHidden
...
- If an output is bound in the UI before it exists on the server, the
server will suspend the new output until something else causes
manageHiddenOutputs to be triggered. The refactor in shiny.R sets
the suspended flag to .shouldSuspend.
- As part of the previous refactor, we don't set suspendOnHidden in
defineOutput; instead we leave it empty and .shouldSuspend knows
what the default should be.
- In shiny.js, unbound controls were not being suspended. This was
fixed by having sendOutputHiddenState be stateful; anything in
a visible state that disappears on the next iteration is marked
as hidden. Also unbindAll now calls sendOutputHiddenState.
2013-05-27 12:52:33 -07:00
Joe Cheng
23470267fe
Merge pull request #163 from jcheng5/app-object
...
Run apps without creating files on disk
2013-05-24 22:07:36 -07:00
Winston Chang
4a92bb91df
Initialize slider at correct time
2013-05-24 18:58:47 -05:00
Joe Cheng
69522c422c
Fix rendering issues when slider gets too wide
...
Synced to jslider commit (from rstudio/jslider fork):
6de6ef7b2c788cbcec74dd51e0008e12247e6638
2013-05-23 12:02:43 -07:00
Joe Cheng
bc5e3524eb
Export basicPage
2013-05-23 11:56:55 -07:00
Joe Cheng
479297fc35
Add basicPage function; like bootstrapPage with padding
2013-05-23 11:23:28 -07:00
Joe Cheng
516feafcfb
Run apps without creating files on disk
...
With this commit, runApp can now accept a list instead of a path.
This list should have elements named "ui" and "server" that contain
what would normally go in shinyUI and shinyServer, respectively.
(Note that there is no equivalent to global.R, nor should there
need to be since you can just directly execute in the global env
before calling runApp.)
Example:
runApp(list(
ui = bootstrapPage(
numericInput('n', 'Number of obs', 100),
plotOutput('plot')
),
server = function(input, output) {
output$plot <- renderPlot({ hist(runif(input$n)) })
}
))
2013-05-23 10:00:38 -07:00
Joe Cheng
a135c82ab5
Merge pull request #160 from wch/reactive-timer
...
reactiveTimer: don't invalidate when session closed
2013-05-15 14:08:56 -07:00
Winston Chang
10996f1cbd
reactiveTimer: don't invalidate when session closed
2013-05-15 15:50:37 -05:00
Joe Cheng
23b060e1f5
Merge pull request #159 from wch/session-invalidate
...
invalidateLater: don't invalidate when session closed
2013-05-15 11:32:09 -07:00
Winston Chang
622ff3a256
invalidateLater: don't invalidate when session closed
2013-05-15 12:41:07 -05:00
Winston Chang
5d457b6834
Bump httpuv version dependency
2013-05-15 12:09:21 -05:00
Winston Chang
f10f76d127
Fixes for R CMD check
2013-05-13 10:54:54 -05:00
Winston Chang
58f3382daf
Update NEWS
2013-05-10 14:09:51 -05:00
Winston Chang
0e1139446e
Merge pull request #149 from jcheng5/observer-priorities
...
Add priority levels to observers
2013-05-10 12:03:28 -07:00
Winston Chang
f433216fae
Merge pull request #156 from jcheng5/fix-submit-button
...
Fix submit button interactions with tabs, plot sizes
2013-05-10 12:02:14 -07:00
Winston Chang
ed680baaac
selectInput: correctly handle choices with duplicate names. Fixes #157
2013-05-08 18:32:05 -05:00
Winston Chang
e0a9d908ed
Update NEWS
2013-05-06 11:14:42 -05:00
Winston Chang
bfa4a46bd5
Merge pull request #154 from wch/tag
...
Add withTags function
2013-05-06 08:46:09 -07:00
Winston Chang
03f3ff991e
Update NEWS
2013-05-06 10:45:41 -05:00
Winston Chang
619b4824f0
Add tests for withTags
2013-05-06 10:45:41 -05:00
Winston Chang
021af0186b
Add withTags function
2013-05-06 10:45:41 -05:00
Winston Chang
d3caad8b8d
Add comment in test
2013-05-01 01:17:07 -04:00
Winston Chang
ec6bec3326
Fix selected items in checkboxGroupInput
2013-05-01 01:12:03 -04:00
Joe Cheng
dd54740d36
Fix submit button interactions with tabs, plot sizes
2013-04-29 13:08:04 -07:00
Winston Chang
8f65156bda
Add Makefile for building web assets
2013-04-24 12:29:46 -05:00
Winston Chang
96c7df5afa
Documentation fixes
2013-04-24 12:27:35 -05:00
Winston Chang
0c19105fbf
Add dateInput and dateRangeInput
...
Also:
* add initialize() method for input bindings
* cleanups for JShint
2013-04-24 12:18:20 -05:00
Joe Cheng
4145d83248
Merge remote-tracking branch 'jcheng5/session-close-callbacks'
...
Conflicts:
R/shiny.R
2013-04-23 15:40:38 -07:00
Winston Chang
6490705e2a
Clarification of tagList help
2013-04-23 12:06:22 -05:00
Joe Cheng
10d2432df5
Merge pull request #148 from wch/sendmessage
...
Add support for sending arbitrary messages to client
2013-04-22 16:40:01 -07:00
Joe Cheng
815db72671
Add callback for session end
2013-04-22 16:29:40 -07:00
Joe Cheng
6d0ba61c54
Add priority to outputOption
2013-04-19 15:48:56 -07:00
Joe Cheng
5f61267f75
Allow integers or numerics for priority
2013-04-19 15:42:18 -07:00
Joe Cheng
94ee42cebb
Add priority levels to observers
...
Observers can now take priority levels, which allow the user to control
the order of execution. Note that reactive expressions do not have
priority levels; since they are lazily evaluated, it wouldn't make any
sense to speak of priorities.
Another commit will be needed to add an API for changing the priorities
of outputs (probably in outputOptions?).
2013-04-19 10:34:34 -07:00
Winston Chang
b6795e5c63
Move actionbutton into Shiny proper
2013-04-18 15:11:13 -05:00
Winston Chang
ef85d063c2
Make external message handlers use 'custom'
2013-04-18 13:40:32 -05:00
Winston Chang
59755971e5
Add message handlers
2013-04-18 12:40:19 -05:00
Winston Chang
c5ab831a87
Fixes for jshint
...
Conflicts:
inst/www/shared/shiny.js
2013-04-18 11:41:52 -05:00
Winston Chang
6715dc2a5d
Merge pull request #139 from wch/set-input
...
Add ability to set inputs from server
2013-04-17 14:58:14 -07:00
Winston Chang
af6de64ec0
Add clientData to session object
2013-04-10 13:02:48 -05:00
Winston Chang
1ac2448f90
Split sendMessage into type-specific functions
2013-04-10 12:30:58 -05:00
Winston Chang
b5f34b30d3
Add documentation for input updater functions
2013-04-10 12:13:53 -05:00
Winston Chang
01f4e080df
Workaround for Cairo resolution bug
2013-04-09 17:13:26 -05:00
Winston Chang
d55335e70b
Make updateFooInput functions behave like fooInput functions
2013-04-08 18:38:16 -05:00
Winston Chang
a8c1dc4bc6
Add dropNulls function
2013-04-08 18:13:26 -05:00
Winston Chang
2897059503
Allow setting labels for all input objects
2013-04-08 18:09:40 -05:00
Winston Chang
d491f9df5a
updateCheckboxGroupInput: clean up and allow setting labels
2013-04-08 17:01:00 -05:00
Winston Chang
bc40318e40
Wrap slider in div so that it can be manipulated more easily
2013-04-08 16:01:31 -05:00
Joe Cheng
3935434f04
Merge branch 'domain-sockets'
2013-04-06 20:44:40 -07:00
Joe Cheng
4cf1f2de94
Fix bug where multiple file uploads get same path
...
https://groups.google.com/d/msg/shiny-discuss/Km_pQL87paM/4V0AiIoTgwIJ
The problem is that length(.files) gives the number of columns in the
data frame, not the number of rows. So it's always either 0 or 4.
2013-04-06 18:14:21 -07:00
Winston Chang
73156c6780
Add update-input functions
2013-04-06 09:32:01 -05:00
Winston Chang
bc52bafa8d
Add methods for setting bootstrapTabInputBinding
2013-04-06 01:00:18 -05:00
Winston Chang
5c9007b242
Streamline tests
2013-04-06 00:28:26 -05:00
Winston Chang
5857e3f75e
Allow setting value of sliders when they have range
2013-04-05 22:56:12 -05:00
Winston Chang
e202831013
Add empty message tests
2013-04-05 21:57:45 -05:00
Winston Chang
4cbbfccb6d
Make sure not to bind new-style multi-inputs
2013-04-05 21:57:45 -05:00
Winston Chang
21f3b1cf34
Add checkboxGroupInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
f7b384e9b6
Add radioInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
1e6ab47ee4
Fixes to tests for jshint
2013-04-05 21:57:45 -05:00
Winston Chang
78341ea2f1
Trigger change when message sent to input bindings
2013-04-05 21:57:45 -05:00
Winston Chang
3f8a4d4273
Add getState and receiveMessage support to selectInputBinding
2013-04-05 21:57:45 -05:00
Winston Chang
bae517c9f8
Align checkboxes with labels
2013-04-05 21:57:45 -05:00
Winston Chang
c88ccbf9bc
Put inputMessage in a queue
2013-04-05 21:57:45 -05:00
Joe Cheng
5e40f5d509
Allow listening on domain sockets
2013-04-02 15:24:24 -07:00
Winston Chang
46389131bc
Add functions for sending messages to client
2013-03-30 21:07:22 -05:00
Joe Cheng
c6a344d0d9
Add selected argument to tabsetPanel
2013-03-29 23:14:01 -07:00
Winston Chang
bcc2c377a0
Add messenge-sending support
2013-03-29 14:32:34 -05:00
Winston Chang
bb6afc847e
Add input binding tests
2013-03-29 14:30:22 -05:00
Winston Chang
e0193151db
shiny.js: allow setting inputs and getting input state
2013-03-28 16:15:24 -05:00
Winston Chang
42a80bad8e
Undo license change
2013-03-28 10:45:26 -05:00
Joe Cheng
6e3e77f65d
Code review feedback for version checking stuff
2013-03-25 11:26:16 -07:00
Winston Chang
e155f022a0
Bump version to 0.5.0
2013-03-22 22:49:55 -05:00
Joe Cheng
db65aab347
Give warning message on obsolete Shiny Server version
2013-03-22 14:33:44 -07:00
Winston Chang
a180c5f357
renderPlot: just return if width or height is NULL
2013-03-22 12:52:43 -05:00
Winston Chang
1c0279f17c
Undo commit 'Remove redundant code in shiny.js'
...
The code wasn't actually redundant.
2013-03-22 12:51:29 -05:00
Winston Chang
8866eb292b
Add section breaks in shiny.js
2013-03-21 21:09:16 -05:00
Winston Chang
6fdda3391e
Send initial value of URL hash
2013-03-20 16:53:40 -05:00
Winston Chang
fdb8dd4e5b
Remove redundant code in shiny.js
2013-03-20 13:22:21 -05:00
Joe Cheng
9a1d3783ee
Unbind controls in htmlOutput before displaying error
2013-03-19 13:32:14 -07:00
Winston Chang
3841d9e322
Update license information
2013-03-18 15:33:12 -07:00
Winston Chang
e392eadf8a
Update NEWS
2013-03-18 11:22:27 -07:00
Winston Chang
f743d5d0b5
New method for detecting hidden outputs
2013-03-17 11:08:28 -07:00
Winston Chang
4a76bf59ef
Fix access to .clientData
2013-03-17 09:54:18 -07:00
Winston Chang
205b29e2f5
Update NEWS
2013-03-15 16:44:42 -05:00
Winston Chang
d511b82264
Add imageOutput function
2013-03-15 16:44:18 -05:00
Winston Chang
aaae112e60
Add to on.exit() instead of replace
2013-03-15 16:26:05 -05:00
Winston Chang
955fd6207f
Change license to GPL>=2
2013-03-15 12:32:05 -05:00
Joe Cheng
4e56c96612
Fix allowDataUriScheme
2013-03-13 11:13:26 -07:00
Joe Cheng
dd046f3442
Merge remote-tracking branch 'jcheng5/master'
...
Conflicts:
R/shiny.R
2013-03-13 10:47:06 -07:00
Winston Chang
5a947f83a1
Separate private and public fields for input and clientData
2013-03-12 21:41:38 -05:00
Winston Chang
b87b8b54fd
Update NEWS
2013-03-12 16:14:28 -05:00
Winston Chang
233c0537a1
Merge pull request #122 from wch/url
...
Send URL components in clientData
2013-03-12 13:42:05 -07:00
Winston Chang
63d4798a50
Add tests for parseQueryString
2013-03-12 14:32:52 -05:00
Winston Chang
6c47517684
Move allowDataUriScheme into .clientdata
2013-03-12 14:24:48 -05:00
Winston Chang
c58b1a0143
Add parseQueryString function
2013-03-12 14:24:48 -05:00
Joe Cheng
f489d9131b
File uploads failed when no content type was provided
...
The simple fix for this would've been to just guess the content
type on the server (or use empty string or something), but by
doing the fix this way we're also set up to handle uploads by
servers that don't allow custom headers on AJAX calls.
2013-03-12 09:50:01 -07:00
Winston Chang
f0109c5588
Send URL in clientdata
2013-03-11 18:44:58 -05:00
Winston Chang
c16becba56
renderTable: check for empty data frame. Fixes #55
2013-03-11 18:43:57 -05:00
Winston Chang
4605788696
Add informative comments
2013-03-11 18:43:03 -05:00
Joe Cheng
87908313cc
Merge remote-tracking branch 'jcheng5/httpuv'
...
Conflicts:
R/shiny.R
2013-03-11 09:36:47 -07:00
Winston Chang
9cc2eba7b8
Merge pull request #109 from wch/retina
...
Add clientdata channel for sending data
This branch includes support for Retina-resolution displays.
2013-03-11 07:45:24 -07:00
Winston Chang
2459cee57b
Add renderImage function
2013-03-11 09:39:39 -05:00
Winston Chang
0bf6ce57ed
renderPlot: send height and width along with image
2013-03-11 09:39:38 -05:00
Winston Chang
7041424f96
Add plotPNG function
2013-03-07 17:12:24 -06:00
Winston Chang
9509285c16
Rename ShinySession to saveFile
2013-03-07 17:12:24 -06:00
Winston Chang
e55ee0e65d
Create ShinySession$sendFile() and use from renderPlot()
2013-03-07 17:12:18 -06:00
Winston Chang
9ea70497c2
Bump version to 0.4.1.99 for development
2013-03-06 17:26:35 -06:00
Joe Cheng
3389b9e9fd
Memory-efficient file downloads
2013-03-05 23:06:13 -08:00
Winston Chang
76d4d54639
Allow shinyServer() to take clientData argument
2013-03-05 19:32:10 -06:00
Winston Chang
1b692b6c37
Rename shinyapp to shinysession, and .shinyout_xx to .clientdata_output_xx
2013-03-05 19:07:36 -06:00
Winston Chang
40d8cef1a2
Rename .metadata to clientData
2013-03-05 16:21:02 -06:00
Winston Chang
23550c0062
Add manageInputs() to handle metadata and normal inputs
2013-03-05 16:07:28 -06:00
Winston Chang
949bd940ee
Partial change to reactiveValues
2013-03-04 20:33:29 -06:00
Winston Chang
79bdb9eed5
Add shiny metadata channel and send pixel ratio
...
This adds support for retina-resolution displays
2013-03-04 20:33:29 -06:00
Winston Chang
a141f08298
Bump version to 0.4.1
2013-03-04 20:27:48 -06:00
Joe Cheng
dee43a3911
Don't animate when showing file upload error
2013-03-04 14:47:26 -08:00
Joe Cheng
ef227d0139
More memory-efficient file uploading
2013-03-04 11:14:39 -08:00
Winston Chang
cbcf9ce645
reactivePlot: fix infinite recursion when height/width is function
2013-03-04 11:20:14 -06:00
Joe Cheng
0e5af2b16c
Check for excessively large uploads before they begin
...
The onHeaders callback is supposed to be able to stop large uploads before
they begin, but do not appear to be having the desired effect. The browsers
continue uploading until completion, before noticing the response. To work
around this for now, upload the sizes explicitly when the job begins and
let Shiny pre-emptively reject the whole thing. This is also beneficial
in cases where multiple files are being uploaded and not all of them
exceed the maximum upload size.
2013-03-01 19:31:18 -08:00
Joe Cheng
85ca3a3b27
Update upload docs
2013-03-01 15:54:19 -08:00
Joe Cheng
fc5f5f3b6c
Don't initiate file upload if no files were chosen
2013-02-28 21:14:06 -08:00
Joe Cheng
716fd8c0b9
File upload improvements
...
- Add "shiny.maxRequestSize" option
- Show upload progress
2013-02-28 21:06:06 -08:00
Joe Cheng
a517393c43
Remove dead upload code
2013-02-28 07:46:31 -08:00
Joe Cheng
c2311faffe
httpuv-style file uploading
...
Use HTTP POST to upload files rather than sending 4K chunks
one at a time over the websocket. This is massively faster and
also means no binary websocket support is needed. In theory
this approach should be compatible with Shiny Server.
Currently the client side code still uses File API which means
IE8 and 9 users are out of luck.
2013-02-27 16:47:18 -08:00
Joe Cheng
fe453b0d66
Restore filter functionality
2013-02-26 16:59:56 -08:00
Joe Cheng
7e75b0fc02
eventloop package renamed to httpuv
2013-02-26 16:27:26 -08:00
Joe Cheng
11b0a0a73d
Conform to API changes in eventloop package
2013-02-25 20:06:21 -08:00
Joe Cheng
82fdb5c3eb
Greatly improve responsiveness of interruption on Windows
2013-02-25 15:14:24 -08:00
Joe Cheng
3f1d532c8b
Restore startApp/serviceApp division of labor
2013-02-25 15:14:23 -08:00
Joe Cheng
f258b00aa7
Initial implementation on eventloop
...
Timers don't work yet
2013-02-25 15:13:30 -08:00
Winston Chang
4e71b9576d
Update NEWS
2013-02-25 15:11:24 -06:00
Winston Chang
f36567a5cd
reactivePlot: correctly pass width and height to renderPlot
2013-02-25 12:35:39 -06:00
Winston Chang
924ebb6c7f
Bump version to 0.4.0.99 for development
2013-02-22 15:30:04 -06:00
Winston Chang
6e7e8eb44a
Bump version to 0.4.0
2013-02-21 16:50:01 -06:00
Winston Chang
308c583254
setRatePolicy based on effectiveId. Fixes #110
...
Previously when getType() was defined for a type of object, shiny.js would
send updates immediately instead of applying the rate policy.
2013-02-20 11:39:22 -06:00
Winston Chang
97b2f7e5ca
Fix call to manageHiddenOutputs in timer callback. Fixes #112
2013-02-19 12:20:49 -06:00
Winston Chang
3ea88a07d9
sliderInputBinding inherits from text instead of number. Fixes #110
2013-02-18 22:25:38 -06:00
Winston Chang
588f8bb96a
Merge pull request #107 from wch/numeric-na
...
Empty numericInput gets converted to NA
2013-02-18 14:01:04 -08:00
Winston Chang
c93c0dd721
Update NEWS
2013-02-18 16:00:25 -06:00
Winston Chang
fc59c254fd
Merge pull request #108 from wch/unused-hidden
...
Treat unused outputs as hidden
2013-02-18 13:56:49 -08:00
Winston Chang
2f8b6a150f
Treat unused outputs as hidden
2013-02-18 15:53:31 -06:00
Winston Chang
db60ac5c17
Empty numericInput gets converted to NA
2013-02-18 15:11:41 -06:00
Winston Chang
e1f09853c5
Make shiny.deprecation.messages option actually work
2013-02-17 16:17:41 -06:00
Winston Chang
24656713a5
Remove unnecessary function() in renderXX
2013-02-17 12:02:00 -06:00
Winston Chang
7dd0269292
Update NEWS
2013-02-14 14:09:42 -06:00
Winston Chang
8b87cea7aa
Merge pull request #104 from wch/reactive-exp
...
Change reactive() and observe() to take expressions
2013-02-14 12:08:18 -08:00
Winston Chang
c7559a6946
Suspend overwritten output objects
2013-02-14 12:14:08 -06:00
Winston Chang
945c6080ad
Export exprToFunction
2013-02-14 11:48:01 -06:00
Winston Chang
44590965d1
Add renderXX Rd files
2013-02-14 11:48:01 -06:00
Winston Chang
7ab64d678f
reactivePlot: call height and width properly
2013-02-14 11:48:01 -06:00
Winston Chang
e406a76b62
Update documentation for renderXX
2013-02-14 11:48:01 -06:00
Winston Chang
e26f175a8f
Change reactiveXX to renderXX
2013-02-13 12:11:39 -06:00
Winston Chang
d4ab84745d
Make function for expr-to-function conversion
2013-02-12 15:55:51 -06:00
Winston Chang
32dbc3101e
Add shinyDeprecated function
2013-02-12 15:24:50 -06:00
Winston Chang
0a924eb718
Fix deprecation message for observe()
2013-02-12 15:24:50 -06:00
Winston Chang
a284327bfc
Re-roxygenize
2013-02-12 15:24:50 -06:00
Winston Chang
2ea38d6ecc
Clean up instances of reactive() and observe()
2013-02-12 15:24:50 -06:00
Winston Chang
6a34bbfddd
Add label argument to reactive and observe
2013-02-12 15:24:50 -06:00
Winston Chang
58323ada4b
Change references of reactive 'functions' to 'expressions'
2013-02-12 15:24:49 -06:00
Winston Chang
5fd723cb80
reactive() and observe() now take expressions
2013-02-12 15:24:49 -06:00
Winston Chang
5c626e6957
Documentation fixes
2013-02-12 15:24:39 -06:00
Winston Chang
5d949842eb
Add garbage collection tests
2013-02-11 20:26:23 -06:00
Winston Chang
b595c17d78
observe: add option to start suspended
2013-02-11 19:48:22 -06:00
Winston Chang
b84973ba2b
Remove leftover testing string
2013-02-11 19:36:06 -06:00
Winston Chang
61be49e7b2
Merge pull request #97 from wch/suspend-hidden
...
Suspend hidden outputs. Fixes #24
2013-02-11 16:48:39 -08:00
Winston Chang
8faf5659ee
Re-roxygenize
2013-02-11 18:47:53 -06:00
Winston Chang
cc9267a646
manageHiddenOutputs: check that output object exists
2013-02-11 18:45:45 -06:00
Winston Chang
55838bb032
Call manageHiddenOutputs after timer callbacks
2013-02-11 18:37:18 -06:00
Winston Chang
67619ac5e8
Don't allow another flush if currently in one
2013-02-11 18:35:32 -06:00
Winston Chang
952b342859
Better checks for hidden output objects
2013-02-11 18:31:44 -06:00
Winston Chang
c7149c460d
Add documentation for suspendWhenHidden option
2013-02-11 16:08:30 -06:00
Winston Chang
fd0613ea0e
Call manageHiddenOutputs when suspendWhenHidden is set
2013-02-11 15:16:04 -06:00
Winston Chang
36d2dddc59
Run manageHiddenOutputs on app init
2013-02-09 00:02:52 -06:00
Joe Cheng
63c5b05584
Stop extra update message from occurring on startup
2013-02-08 16:37:55 -08:00
Winston Chang
4b235e5b87
Send output hidden state on init
2013-02-07 14:29:03 -06:00
Winston Chang
6c51fffdaa
Fix tests
2013-02-07 14:29:03 -06:00
Winston Chang
5d6d638c85
Clarify suspend description
2013-02-07 14:29:03 -06:00
Winston Chang
90eb515167
Observer: .flushCallbacks to .invalidateCallbacks
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
868d6fec42
Add suspended option to Observer
2013-02-07 14:29:03 -06:00
Winston Chang
851f5854bf
Add outputOptions function
2013-02-07 14:29:03 -06:00
Winston Chang
eb5428c971
Suspend hidden outputs
2013-02-07 14:29:03 -06:00
Winston Chang
81188df7ef
Update runUrl help and re-document
2013-02-07 10:46:20 -06:00
Winston Chang
9fd365cc41
isolate help: mention debugging use and fix typos
2013-02-06 14:38:12 -06:00
Winston Chang
999df6e40f
httpResponse: make sure headers is a list. Fixes #102
2013-02-06 12:29:24 -06:00
Winston Chang
076d069568
runGist: accept new URL format with username
2013-02-06 12:06:14 -06:00
Joe Cheng
2738648197
Merge pull request #101 from jcheng5/chrome-frame
...
Chrome Frame compatibility
2013-02-05 15:18:03 -08:00
Joe Cheng
36013009a1
Chrome Frame compatibility
2013-02-05 15:15:03 -08:00
Winston Chang
1b60233862
Fix closing brace in isolate help
2013-02-05 10:56:54 -06:00
Winston Chang
2cba10dd05
Follow redirects with curl for http
...
The previous logic added the -L option to curl when downloading https, but
not for http.
2013-02-04 13:06:15 -06:00
Winston Chang
b3944127ea
Add note about using local() with isolate()
2013-02-01 15:16:33 -05:00
Winston Chang
f1674378ca
Remove unneeded reactive() wrappers
2013-01-31 15:47:02 -05:00
Winston Chang
6f0191e1cf
Block some operators for shinyoutput objects
2013-01-31 15:45:31 -05:00
Winston Chang
1848844be6
Cleaner method for creating objects with class
2013-01-30 15:06:17 -05:00
Winston Chang
8b6362c749
Add section markers
2013-01-30 15:04:55 -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
Winston Chang
40f73bbfe2
Bump version to 3.1.99 for development
2013-01-30 13:51:54 -05:00
Winston Chang
f455706d7c
Bump version to 0.3.1
2013-01-29 21:16:44 -05:00
Winston Chang
23e9672476
Update NEWS
2013-01-26 13:16:42 -06:00
Winston Chang
36f992f95f
Add [[<-.shinyoutput operator
2013-01-26 13:08:40 -06:00
Joe Cheng
b2c6d526ab
Merge pull request #92 from wch/fix-download
...
Use correct default label for contexts. Fixes #91
2013-01-25 13:17:04 -08:00
Winston Chang
fe1e833677
Use correct default label for contexts. Fixes #91
...
NULL apparently is not a valid value for a field in a reference class.
2013-01-25 14:57:05 -06:00
Joe Cheng
8df1b9e8e5
Merge pull request #85 from jcheng5/flush-all
...
Flush all shinyapp instances
2013-01-25 08:52:51 -08: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
Winston Chang
2f7dd04168
Observable: save visibility state of function
2013-01-24 21:57:49 -06:00
Winston Chang
ed3b667985
Remove unneeded eval.parent
2013-01-24 21:38:25 -06:00
Joe Cheng
6ae1d8c158
Flush all shinyapp instances
...
Allows reactivity to affect all app instances at once.
(It already does but the outputs don't currently update)
2013-01-24 13:48:05 -08:00
Winston Chang
404bced97b
Bump version to .99 for development
2013-01-24 13:58:58 -06:00
Winston Chang
5af49c8a82
Bump version and update NEWS
2013-01-23 14:54:39 -06:00
Winston Chang
85aa98e8e2
Fixes for R CMD check
2013-01-23 14:30:11 -06:00
Joe Cheng
330d102f62
Fix test on Linux (sort locale)
2013-01-23 12:17:45 -08:00
Joe Cheng
32b33a7910
Add res dir to .Rbuildignore
2013-01-23 12:13:40 -08:00
Joe Cheng
17c6a0f28a
Merge branch 'reactivePrint-invisible'
...
Conflicts:
man/plotOutput.Rd
2013-01-23 12:09:53 -08:00
Joe Cheng
7341eed1cf
Merge pull request #80 from wch/run-github
...
Add functions runGithub and runUrl
2013-01-23 12:06:46 -08:00
Joe Cheng
ff99fbfbc9
Fix #64 : Hitting Enter in textbox causes form submit
2013-01-23 11:54:06 -08:00
Winston Chang
9f67fdc771
Re-document
2013-01-23 13:44:18 -06:00
Winston Chang
521143a16b
Add subdir argument for runGitHub and runUrl
2013-01-23 13:44:17 -06:00
Winston Chang
2622a25b12
Add runGitHub and runUrl functions
2013-01-23 13:44:17 -06: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
Joe Cheng
988a91ac06
reactiveText shouldn't capture print output
2013-01-23 11:31:51 -08:00
Winston Chang
aa7c913e9a
Escape percent sign in documentation
2013-01-23 09:42:08 -06:00
Joe Cheng
56db9feaa4
reactivePrint should not display invisibles
2013-01-22 23:36:51 -08:00
Winston Chang
5ace0f13c9
Move validateCssUnit to separate function
2013-01-23 00:02:16 -06:00
Winston Chang
076e6c9479
Re-roxgenize
2013-01-22 23:25:36 -06:00
Winston Chang
8277b1192e
Update NEWS
2013-01-22 23:23:02 -06:00
Winston Chang
150b978b0e
Fix tests with reactiveValuesToList
2013-01-22 23:22:41 -06:00
Winston Chang
6c72096bfe
Better CSS unit validation
2013-01-22 19:18:18 -06:00
Winston Chang
87c18cea80
Merge pull request #79 from wch/better-deps
...
Finer grained dependencies when converting reactiveValues to list
2013-01-22 17:15:38 -08:00
Winston Chang
e658734084
Rename reactivevalues_to_list to reactiveValuesToList
2013-01-22 19:14:30 -06:00
Winston Chang
ec4f350baa
reactivevalues_to_list: add all.names option
2013-01-22 14:53:14 -06:00
Winston Chang
095f583211
Deprecate as.list.reactivevalues and add reactivevalues_to_list
2013-01-22 14:51:43 -06:00
Winston Chang
3c864cf6d2
reactiveValues(): improved check for unnamed arguments
2013-01-22 13:59:31 -06:00
Joe Cheng
eb4b21ce9f
Fix #77 : tagWriteChildren error
2013-01-21 22:40:08 -08: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
1f34ffa85d
plotOutput: check that height has proper format
2013-01-18 19:16:50 -06:00
Winston Chang
e98cab1f7c
Fix test
2013-01-17 00:11:38 -06:00
Winston Chang
aabc9659a2
Update NEWS
...
Some news items were under the wrong version heading. Those have also been
fixed.
2013-01-16 23:00:07 -06:00
Winston Chang
8d8d308f7a
Rename 'dependencies' to 'dependents'
2013-01-16 22:42:03 -06:00
Winston Chang
3ebd4595c6
Add read-write wrapper class for ReactiveValues
2013-01-16 19:02:26 -06:00
Winston Chang
7e1168946f
Re-roxygenize
2013-01-16 16:08:12 -06:00
Joe Cheng
134689d8aa
Remove subsetting operators from Map and Values
...
The correct operators would be [[/[[<- but since we don't use them I
just removed them instead.
2013-01-16 13:48:50 -08:00
Winston Chang
56282f9cbb
Merge branch 'lazy'
2013-01-16 12:32:32 -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
4fd2dade60
reactiveTable: don't return blank if first element is NA. Fixes #71
2013-01-15 16:04:18 -06:00
Joe Cheng
e12b03504c
Fix bad calls to on.exit
...
I didn't realize on.exit replaces previous calls to on.exit by default.
2013-01-15 12:07:27 -08:00
Winston Chang
153156c1fa
Add back onInvalidate to Observer class
2013-01-15 11:13:46 -06:00
Winston Chang
3ecc69da2b
Un-export execCount
2013-01-15 11:13:46 -06:00
Winston Chang
07ad29da41
Clarify isolation test
2013-01-15 11:13:46 -06:00
Winston Chang
7d0de0b26f
Remove onInvalidateHint
...
The recent changes to onInvalidate make it do almost exactly the same thing.
2013-01-15 11:13:46 -06:00
Winston Chang
77fab9c78f
Remove all pendingInvalidate
2013-01-15 11:13:46 -06:00
Winston Chang
3a8f3272c7
Don't call observers until flushReact()
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
Joe Cheng
258d13e746
Add ctx$.label to help with debugging
...
Shows the code that the context "belongs" to.
2013-01-08 14:06:10 -06:00
Winston Chang
779531da5d
Use lazy evaluation of reactive functions
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
Winston Chang
9355643554
Update NEWS
2013-01-08 14:03:23 -06:00
Winston Chang
ccc6055926
Fix reactivity for empty checkbox groups. Fixes #58
2013-01-08 13:57:10 -06:00
Joe Cheng
6639446bb8
Update README.md
2013-01-07 22:39:07 -08:00
Joe Cheng
e2925c585f
Add isolate function for accessing reactives non-reactively
2013-01-03 12:16:50 -08:00
Joe Cheng
6c76b0473c
Add implementation of reactive values
2013-01-02 16:00:21 -08:00
Joe Cheng
e1e19632a5
Update URL in DESCRIPTION
2012-12-21 14:46:52 -08:00
Winston Chang
3e5364d5c0
Bump version number to .99 for development
2012-12-18 11:17:12 -06:00
Winston Chang
6c98de4c8b
Update NEWS
2012-12-17 16:24:40 -06:00
Winston Chang
9613dde4d2
Increment version to 0.2.4
2012-12-17 15:30:08 -06:00
Winston Chang
d47df2e538
Re-roxygenize
2012-12-17 15:23:59 -06:00
Winston Chang
6fcacd5159
Use different method of accessing CairoPNG
...
R CMD check didn't like Cairo::CairoPNG. With this method, check wants
Cairo to be imported in NAMESPACE, but it shouldn't be - Cairo should
be optional.
2012-12-17 15:23:08 -06:00
Winston Chang
11b39cb020
Change maintainer
2012-12-17 14:30:47 -06:00
Winston Chang
d81f132db6
Update NEWS
2012-12-17 13:40:50 -06:00
Winston Chang
095697e789
Use new URL for runGist. Fixes #57
2012-12-17 12:18:19 -06:00
Joe Cheng
62d98c3137
Revert "Run invalidated hints only once per context"
...
This reverts commit e80d5dc172 .
The original commit could cause under-reporting of progress.
2012-12-14 16:41:12 -08:00
jeffreyhorner
e80d5dc172
Run invalidated hints only once per context
2012-12-13 16:02:47 -06:00
jeffreyhorner
421e29db2d
Suppress base64 output when tracing websocket messages
2012-12-13 16:00:58 -06:00
Joe Cheng
9e6e53583c
Merge pull request #49 from wch/png-cairo
...
For png output, try quartz and CairoPNG before plain png
2012-12-05 09:56:11 -08:00
Joe Cheng
3f59a7d84e
Fix bug where reactiveUI doesn't accept plain lists
2012-12-05 09:54:31 -08:00
Winston Chang
21ffd788ab
For png output, try quartz and CairoPNG before plain png
2012-12-03 12:06:31 -06:00
Joe Cheng
8dadfea724
Separate request parameters from path; version 0.2.3
2012-11-30 09:31:09 -08:00
Joe Cheng
00ce52ecf7
Fix CRAN warning; version 0.2.2
2012-11-30 09:05:20 -08: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
58318fec46
Update package metadata for v0.2.0
2012-11-27 16:32:27 -08:00
Joe Cheng
a49941113e
Require Shiny at app startup
...
Some of our examples omit library(shiny) from the top of ui.R and server.R,
which worked fine before but not with the namespace fix from yesterday.
Requiring shiny at startup fixes the problem.
2012-11-27 16:29:01 -08:00
Joe Cheng
595801cb99
Trivial style copy edits to example 10_download
2012-11-26 21:48:12 -08:00
Joe Cheng
0b469f09df
Fix subtle name resolution bugs
...
See in particular:
http://stackoverflow.com/questions/13575353/how-does-the-shiny-r-package-deal-with-data-frames
Also reported at different times by Dirk Eddelbuettel and Jay Emerson.
The observed behavior is that S3/S4 method dispatch does not always seem to
work; the desired methods are not invoked despite appearing to be in the
search path.
The problem was that sourcing files with local=TRUE creates a new environment
based on the parent frame, which in our case is Shiny's package environment.
What we really want is to read from the global environment but write to a
throwaway environment. The correct way to do that is to make a new environment
with .GlobalEnv as the parent.
2012-11-26 21:45:28 -08:00
Joe Cheng
1e1f4e4a47
Update metadata for 0.1.14
2012-11-24 01:47:47 -08:00
Joe Cheng
c63e2ae7c8
Fix slider animation controls
2012-11-24 00:30:44 -08:00
Joe Cheng
d3d3fa990e
Update version metadata
2012-11-23 23:47:27 -08:00
Joe Cheng
21980b7e71
Clean up PNG file when no longer needed
2012-11-23 22:44:37 -08:00
Joe Cheng
844ca0d387
I am stupid.
2012-11-21 23:02:40 -08:00
Joe Cheng
972ae35300
Update metadata for 0.1.12
2012-11-21 22:44:19 -08:00
Joe Cheng
57bfb8eb96
Bring untar operations in-house
...
Very simple tweak to R's untar2 code was all that was
required to fix the built-in untar's problems with
gists. Seemed best to just fork it and start using
the forked version directly, regardless of what is
installed on your machine.
2012-11-21 22:37:47 -08:00
Joe Cheng
ed6e6a9fb2
Squash another cygwin warning
2012-11-21 21:43:32 -08:00
Joe Cheng
ed402267b6
Fix runGist cygwin warning bug
2012-11-21 21:39:16 -08:00
Joe Cheng
6eec570828
Add CSS hooks for app-wide busy indicators
2012-11-21 00:04:16 -08:00
Joe Cheng
22fc1e3f0b
Add param docs
2012-11-20 18:08:59 -08:00
Joe Cheng
ae9bd868f1
Implement arbitrary file downloads
2012-11-20 17:42:34 -08:00
Joe Cheng
a887012aca
Update metadata for v0.1.11
2012-11-19 17:22:57 -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
c89dd6c379
Fix issue #41 : reactiveTable should allow print options too
2012-11-19 15:26:34 -08:00
Joe Cheng
9662debe5e
Dynamic plot sizing
2012-11-19 15:26:02 -08:00
Joe Cheng
057262d917
Update metadata for v0.1.10
2012-11-19 13:11:07 -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
068f3e0a43
Merge pull request #32 from edwindj/master
...
small bug: checkboxInputGroup sets html attribute "selected" in stead of "checked"
2012-11-15 23:30:28 -08:00
Joe Cheng
95635a8c47
Issue #37 : headerPanel HTML argument shows up in title
2012-11-13 01:52:33 -08:00
Joe Cheng
3ec2071820
Address issue #35 : Allow modification of untar args
2012-11-13 00:09:27 -08:00
Joe Cheng
1696db3044
Fix issue #36 : reactiveUI does not always correctly render sliders
...
There is a deeper problem here, that reactiveUI output that renders stuff to the <head> will generally not work. We're not in a position to fix that yet and this problem has been reported twice, so we'll just fix this instance by making the slider dependencies built into the framework.
2012-11-11 18:32:34 -08:00
Joe Cheng
e1a1eab2b3
More MIME types
2012-11-10 15:18:29 -08:00
Edwin de Jonge
f7865f3358
changed html attribute of checkboxInputGroup from "selected" into "checked"
2012-11-08 23:09:08 +01:00
Joe Cheng
6d5f8ed5f3
Pointer to Shiny homepage
2012-11-08 03:29:23 -08:00
Joe Cheng
96a737379f
Add linked example
2012-11-07 10:36:42 -08:00
Joe Cheng
d73feec013
Turns out GitHub doesn't like iframes
2012-11-07 10:28:47 -08:00
Joe Cheng
2ccead1da5
Add example to README
2012-11-07 10:28:06 -08:00
Joe Cheng
8885f2717e
Update version
2012-11-06 13:53:53 -08:00
Joe Cheng
4448ffc777
Add methods for including text, HTML, and Markdown files in UI
2012-11-06 13:38:52 -08:00
Joe Cheng
022d10c598
Export and document observe function
2012-11-06 10:03:11 -08:00
Joe Cheng
8e6b7043bd
Shut down timer callbacks before runApp returns
2012-11-06 09:36:49 -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
b5d333ba6c
Rev downloader code
2012-10-31 15:36:52 -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
Joe Cheng
fb784ce962
Merge pull request #28 from rstudio/list-to-vec
...
Change lists to vectors in UI elements
2012-10-31 10:00:21 -07:00
Winston Chang
5a37380900
Capture stderr in download()
2012-10-30 16:19:14 -05:00
Joe Cheng
b6300f3a5c
More robust setInternet2 workaround
2012-10-30 12:31:36 -07:00
Winston Chang
a3e8a2d623
Re-roxygenize
2012-10-30 10:49:55 -05:00
Winston Chang
7b3a4bdc39
Use vectors instead of lists in UI elements
2012-10-30 10:47:05 -05:00
Joe Cheng
cc0b5e5e0f
Remove problematic link (fails R CMD check)
...
I first attempted to remove \code, but I couldn't figure out how to get the # in the URL to work right under both web-based help and PDF.
2012-10-29 11:56:59 -07:00
Joe Cheng
5c3f7d8f94
Update NEWS
2012-10-29 11:47:27 -07:00
Joe Cheng
8c3f8cd450
Add wellPanel and bootstrapPage functions
2012-10-29 11:45:58 -07:00
Joe Cheng
046582711a
Update NEWS
2012-10-29 11:22:30 -07:00
Joe Cheng
15756ec92d
Case insensitive probing for server.R, ui.R, et al
2012-10-29 11:19:23 -07:00
Joe Cheng
fc49abc9fb
Fix issue #27 : Warnings cause reactive functions to stop executing
2012-10-29 11:09:13 -07:00
Winston Chang
4a9ff27f3e
Download gists in binary mode
2012-10-26 16:38:18 -05:00
Joe Cheng
790e6f370f
Remove RCurl dependency
2012-10-26 14:07:07 -07:00
Joe Cheng
16ccc1321d
Update docs
2012-10-26 10:46:42 -07:00
Joe Cheng
8648c94dd4
Update version to 0.1.8
2012-10-26 10:43:53 -07: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
0b891ad557
Run a GitHub gist
2012-10-25 20:41:52 -07:00
Joe Cheng
e96193ae28
Do .Random.seed restoring correctly
2012-10-24 23:19:13 -07:00
Joe Cheng
3ff9075959
Update NEWS
2012-10-24 21:11:56 -07:00
Joe Cheng
c03842056c
Convert JSON to UTF-8
...
If reactivePrint or reactiveText return non-ASCII characters on
Windows, it causes invalid UTF-8 strings to be received by the
browser which closes the websocket connection.
I'm not sure this is the right place to do encoding, but it seems
to me like this approach is likely to work best for the most
users (especially those who just aren't thinking about encoding).
If you want to handle encoding in the reactives themselves (for
example), use `options(shiny.transcode.json=F)`.
2012-10-24 21:10:09 -07:00
Joe Cheng
6df226b21c
Add repeatable utility function to stabilize RNGs
2012-10-24 16:12:08 -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
7df0e8b0f9
Update docs for 0.1.6
2012-09-25 03:08:31 -07:00
Joe Cheng
ff072ae9d9
bindAll should send initial values to server
2012-09-25 01:29:52 -07:00
Joe Cheng
f81ca39741
Add uiOutput. Tweak comments.
2012-09-25 00:33:00 -07:00
Joe Cheng
3db1f2a98c
Don't animate showing/hiding of conditionalPanel
2012-09-21 19:51:24 -07:00
Joe Cheng
4865df9be1
Mark fileInput and reactiveUI as experimental.
2012-09-21 19:50:50 -07:00
Joe Cheng
0c16f2c334
Fix broken imports
2012-09-21 14:00:03 -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
ab9401f390
Fix issue #20 : DESCRIPTION file should use Imports instead of Depends
2012-09-19 11:47:12 -05:00
Joe Cheng
3223c17b74
Update websockets dependency version
2012-09-15 00:52:04 -07:00
Joe Cheng
404035bcf0
Bump version number
2012-09-14 19:16:03 -07:00
Joe Cheng
a0185bb0b4
Introduce shiny.http.response.filter option
...
Allows post-processing of HTTP responses
2012-09-14 13:15:58 -07: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
cbfc1e8ed1
Add reactiveUI output type
2012-09-05 15:22:34 -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
76a4cf6c34
Update NEWS
2012-08-31 23:21:04 -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
036544e3ed
Eagerly evaluate output name
2012-08-31 12:33:13 -07:00
Joe Cheng
7a6784d809
Add missing param to prototype method
2012-08-31 11:48:21 -07:00
Joe Cheng
ed9301705b
Refactor JS to use more consistent OOP style
...
(function() { }).call(Foo.prototype) for extending prototypes manually, and
$.extend for extending objects manually or prototypes inheriting from each
other.
2012-08-31 10:00:20 -07:00
Joe Cheng
21f9694574
Add NEWS for file upload
2012-08-30 22:10:16 -07:00
Joe Cheng
3a0b11b89d
Add file upload feature
...
This feature is currently pretty rough. It only works in the most modern
browsers (depends on HTML5 File API, including Blob.slice) and doesn't
show upload progress.
2012-08-30 22:07:00 -07:00