JJ Allaire
e92ed4af85
add renderHTML function
2014-05-13 14:00:11 -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
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