Winston Chang
855347a5d3
Add documentation for global options
2014-10-29 11:30:28 -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
Yihui Xie
b795d7de4e
use encodeURI[Component]() and decodeURIComponent() from httpuv
2014-10-20 18:15:25 -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
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
Yihui Xie
698ad2b890
I do not see why this needs to be changed
2014-09-25 17:07:22 -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
67ab5fbc8a
return a valid response temporarily
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
Joe Cheng
b505507c35
file upload via <iframe> for IE8
2014-09-25 14:28:42 -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
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
7ac84b6a91
Switch from refclasses to R6
2014-08-28 15:45:44 -05:00
Winston Chang
2d3dd7d91d
Field type should be a string
2014-08-27 14:09:39 -05:00
Winston Chang
3ede9396da
Merge branch 'progress'
...
Conflicts:
NAMESPACE
2014-08-20 11:31:28 -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
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
bfea3201e8
Put progress stack in session object
2014-07-30 14:15:41 -05:00
Joe Cheng
e4239c924b
Remove caTools dependency
...
Instead, use base64 encoding function from httpuv
2014-07-24 10:37:14 -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
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
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
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
Joe Cheng
eb4d4d7437
Adapt to htmltools 0.2.1 API
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
1c56be3a6b
Suppress validation errors from printing at console
2014-05-21 19:51:24 -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
Joe Cheng
b00fbda1ae
Make sure random bytes are formatted with 2 chars
2014-05-14 17:11:18 -07:00
Joe Cheng
8babbd69d8
Merge branch 'session-documentation'
...
Conflicts:
inst/staticdocs/index.r
2014-05-09 19:41:19 -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
Yihui Xie
de346fd6c3
filter out some common error classes
2014-05-02 16:56:43 -05:00
Yihui Xie
0709f08d65
a custom type of errors for unsatisfied input dependencies
2014-05-01 18:13:56 -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
57b3b919a5
Don't send reactlog messages to the client unless showcase mode
2014-04-24 16:05:54 -07:00
Joe Cheng
59dbca250f
Fix roxygen
2014-04-21 16:50:06 -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
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
Joe Cheng
fa0a91a75d
Fix createUniqueId logic
2014-04-11 12:06:22 -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
07f73030c6
More reactive domain work
...
- observers' autodestroy behavior is now optional
- tests
2014-04-08 14:47:32 -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
6fb4199d37
Make the worker ID global across all sub apps
2014-04-03 21:30:56 -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
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