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
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
Joe Cheng
5738a4ba48
Add createWebDependency and renderDependencies functions
2014-08-18 13:27:55 -07: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
adf69b4890
Look for server.R before app.R
2014-08-13 15:30:40 -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
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
JJ Allaire
ecde1580fd
remove addResourcePath warning for overriding an existing prefix
2014-08-09 06:39:27 -04: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
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
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
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
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
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
c7e0bd037a
Merge pull request #552 from rstudio/no-catools
...
Remove caTools dependency
2014-07-25 14:43:15 -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
Yihui Xie
983e7e9b75
warn against the byte order mark if exists; fixes #545
2014-07-22 16:22:50 -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
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
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
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
597e86dd57
Make listify work on nested lists of depth > 1
2014-07-16 12:02:55 -05:00