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
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
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
83fa1ea4a6
Merge pull request #580 from wch/r6class
...
Migrate from reference classes to R6
2014-08-28 16:21:39 -05:00
Winston Chang
7ac84b6a91
Switch from refclasses to R6
2014-08-28 15:45:44 -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
Winston Chang
2d3dd7d91d
Field type should be a string
2014-08-27 14:09:39 -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
Yihui Xie
22fdc90159
add instructions for upgrading from DataTables 1.9 to 1.10
2014-08-21 14:24:39 -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
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