Joe Cheng
d4829e49ea
Doc tweak to validation
2014-05-21 19:57:18 -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
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
Joe Cheng
b00fbda1ae
Make sure random bytes are formatted with 2 chars
2014-05-14 17:11:18 -07: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
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