61 Commits

Author SHA1 Message Date
Joe Cheng
b6300f3a5c More robust setInternet2 workaround 2012-10-30 12:31:36 -07:00
Joe Cheng
15756ec92d Case insensitive probing for server.R, ui.R, et al 2012-10-29 11:19:23 -07:00
Winston Chang
4a9ff27f3e Download gists in binary mode 2012-10-26 16:38:18 -05:00
Joe Cheng
790e6f370f Remove RCurl dependency 2012-10-26 14:07:07 -07:00
Joe Cheng
16ccc1321d Update docs 2012-10-26 10:46:42 -07:00
Joe Cheng
dc4eb720ae Introduce input type hints
These allow the server to use custom deserialization code on a per-type basis.
2012-10-26 10:28:40 -07:00
Joe Cheng
0b891ad557 Run a GitHub gist 2012-10-25 20:41:52 -07:00
Joe Cheng
c03842056c Convert JSON to UTF-8
If reactivePrint or reactiveText return non-ASCII characters on
Windows, it causes invalid UTF-8 strings to be received by the
browser which closes the websocket connection.

I'm not sure this is the right place to do encoding, but it seems
to me like this approach is likely to work best for the most
users (especially those who just aren't thinking about encoding).
If you want to handle encoding in the reactives themselves (for
example), use `options(shiny.transcode.json=F)`.
2012-10-24 21:10:09 -07:00
Joe Cheng
0c16f2c334 Fix broken imports 2012-09-21 14:00:03 -07:00
Joe Cheng
a0185bb0b4 Introduce shiny.http.response.filter option
Allows post-processing of HTTP responses
2012-09-14 13:15:58 -07:00
Joe Cheng
036544e3ed Eagerly evaluate output name 2012-08-31 12:33:13 -07:00
Joe Cheng
3a0b11b89d Add file upload feature
This feature is currently pretty rough. It only works in the most modern
browsers (depends on HTML5 File API, including Blob.slice) and doesn't
show upload progress.
2012-08-30 22:07:00 -07:00
Joe Cheng
5f775db40a Enhancements to Shiny transport
- JS can now do remote procedure calls (with return value or exception), not just message passing
- RPC calls can include non-JSON-compatible binary data (not compatible with IE)
2012-08-30 12:16:12 -07:00
Joe Cheng
8d9fd402be Check inheritance properly 2012-08-23 18:07:09 -07:00
Joe Cheng
73a44a4f8e Packages can register their own URL namespace
Helpful for serving up custom stylesheets, CSS, images, etc.
2012-08-23 13:08:08 -07:00
Joe Cheng
daa03999b6 Fix error when no ui.R file exists
Error message was:
'Error: argument "handler is missing, with no default'

Previously I was intentionally allowing the main dynamicHandler code to run, intending to allow ui.R to be created even after the application started. Hopefully I can bring that capability back when I figure out more deeply why the error is happening.
2012-08-02 13:55:32 -07:00
Joe Cheng
6d6c8cecd6 Fix path bug on Windows 2012-07-29 18:39:10 -07:00
JJ Allaire
ebc5a992dc remove docs for startApp 2012-07-29 05:40:48 -07:00
JJ Allaire
e0a6a6c558 remove internal functions from docs 2012-07-29 05:34:48 -07:00
JJ Allaire
30cd83662a add docs for client param to registerClient 2012-07-29 05:14:49 -07:00
JJ Allaire
ba05f03359 simple docs shims for clearClients and registerClient 2012-07-29 04:54:44 -07:00
Joe Cheng
1329136792 Get rid of R CMD CHECK warnings 2012-07-28 14:26:13 -07:00
Joe Cheng
f095700485 Rd docs for runApp, runExample, shinyServer 2012-07-28 01:17:21 -07:00
Joe Cheng
0d8d35743d Observers defer first execution until flushReact
This allows us to greatly simplify the way outputs are defined
2012-07-25 16:07:40 -07:00
Joe Cheng
cb4b45aff1 Support radio/checkbox; unlist input lists when unnamed 2012-07-25 14:53:08 -07:00
Joe Cheng
1f5fe5b570 Use Sys.time instead of C code 2012-07-24 22:09:23 -07:00
Joe Cheng
d18d2df417 More robust runExample logic 2012-07-24 21:53:16 -07:00
Joe Cheng
ef1afb482f common.R => global.R 2012-07-24 14:12:44 -07:00
Joe Cheng
b4c02f42f7 Add support for progress indication
The CSS class 'recalculating' will be added to any output elements whose content might be affected by a change to one or more of the inputs.
2012-07-24 10:45:00 -07:00
JJ Allaire
da7210f43f rename server function to shinyServer 2012-07-24 02:53:48 -07:00
Joe Cheng
8b4d62e374 Error handling support (very basic) 2012-07-23 17:10:19 -07:00
JJ Allaire
68c668615f add runExample function for easily running examples from within the tutorial 2012-07-23 09:01:36 -07:00
Joe Cheng
f0d6b6f558 Hot-reload of server.R 2012-07-20 15:59:56 -07:00
Joe Cheng
3778e01d7c Hot-reload of ui.R 2012-07-20 15:16:05 -07:00
JJ Allaire
70ebad0410 rename client.R to ui.R 2012-07-20 14:01:57 -07:00
Joe Cheng
bf397e496c Add option for printing websocket traffic 2012-07-20 12:06:42 -07:00
Joe Cheng
e736c3949a Use new client.R/server.R scheme 2012-07-19 14:26:01 -07:00
Joe Cheng
b2f9903e18 Allow dynamic rendering of front-ends 2012-07-18 13:04:35 -07:00
Joe Cheng
41716d160b Change startApp/runApp signature
Also change example apps to launch directly using runApp
2012-07-18 09:00:32 -07:00
Joe Cheng
a16f7b34ab Allow output functions to access shinyapp and their name 2012-07-17 22:57:47 -07:00
Joe Cheng
06c319d1aa remove launchApp 2012-07-16 11:24:39 -07:00
Joe Cheng
696bee13af Better interactive app lifecycle management
- When runApp returns, close the server socket
- Optionally launch browser when runApp is called
2012-07-16 09:30:35 -07:00
Joe Cheng
c5b835186c Keep R responsive when running interactively 2012-07-16 09:12:49 -07:00
JJ Allaire
7de29090db add launchApp function to run an app asynchronously and open it in a web browser 2012-07-16 06:18:57 -07:00
JJ Allaire
d982d15fbc sleep for 100ms around calls to serviceApp (makes huge improvement in IDE responsiveness while apps are running) 2012-07-16 05:30:48 -07:00
Joe Cheng
8a687851f2 Allow multiple clients to connect; doc improvements
- Multiple clients can now connect on a single port, and each one gets a unique shinyapp instance
- Improve docs for reactiveXXX functions
- Simplify interface for running an app
2012-07-13 00:29:17 -07:00
Joe Cheng
52394d61bf Add time infrastructure, reactiveTimer 2012-07-12 16:36:32 -07:00
Joe Cheng
c5b7e549ec Pass input/output args to app func 2012-07-12 01:59:50 -07:00
Joe Cheng
13c7800c8c Add function for getting sys time in millis 2012-07-12 01:46:02 -07:00
Joe Cheng
c4fdd04fb4 Allow running in package form 2012-07-04 14:24:58 -07:00