Yihui Xie
cc493fd545
fall back to native encoding on Windows if UTF-8 does not work
2014-07-15 16:05:23 -05:00
Yihui Xie
6b8679454d
factor out .Platform$OS.type == 'windows' as isWindows()
2014-07-15 16:04:02 -05:00
Yihui Xie
ab56b72f39
json2.js modified and uglified from https://github.com/yihui/JSON-js via http://lisperator.net/uglifyjs/
...
I'm using the date of json2 as its version number, since it does not really have a version number
This should close rstudio/shiny-server#79
2014-07-10 17:56:23 -05:00
Yihui Xie
8063f66958
let's read ui.R, server.R, README.md, and DESCRIPTION also with UTF-8
...
the reason for this is that htmltools::htmlEscape() uses gsub(..., x, fixed =
TRUE), which does not work on Windows if x is encoded in UTF-8; fixed = TRUE
only works with the native encoding
2014-07-10 15:59:42 -05:00
Yihui Xie
bf270b9adb
convert the message to native encoding from UTF-8 before decoding it
...
on Windows, switch(input$foo, foo1 = val1) does not work even if input$foo ==
foo1 but Encoding(input$foo) is UTF-8 while foo1 is unknown (native encoding);
to prevent such problems, let's always use native encoding inside the shiny
process, and only do the UTF-8 conversion at I/O time
special thanks to @desar for the thorough tests
2014-07-10 15:59:42 -05:00
Joe Cheng
972db08740
Merge pull request #539 from yihui/doc/conditionalPanel
...
add a Note section to the documentation of conditionalPanel(), since it ...
2014-07-10 00:41:36 -07:00
Yihui Xie
6326c7cbaa
add a Note section to the documentation of conditionalPanel(), since it always confuses R users
...
e.g. https://groups.google.com/d/msg/shiny-discuss/AFItYcRXzyw/ywRy3EEtjw4J
2014-07-10 00:11:11 -05:00
Yihui Xie
4152ace514
Merge pull request #538 from rstudio/bugfix/showcase-nullref
...
fix #500 : check for null source ref highlight points
2014-07-09 11:55:02 -05:00
Jonathan McPherson
038221408c
fix #500 : check for null source ref highlight points
2014-07-09 09:26:39 -07:00
Joe Cheng
9f76def7ce
Merge pull request #533 from rstudio/bugfix/slow-options
...
Calling getOption() with default is slow
2014-07-06 16:38:25 -07:00
Joe Cheng
1b83770c5c
Merge pull request #528 from yihui/bugfix/showcase-encoding
...
use UTF-8 for showcase mode, and assume DESCRIPTION is also UTF-8
2014-07-06 12:13:05 -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
Yihui Xie
0749b9500c
use UTF-8 for showcase mode, and assume DESCRIPTION is also UTF-8
...
this time we should fix #136 now; I did not find other files that have to be
read with UTF-8
2014-06-26 15:41:12 -05:00
Jonathan
b1dfc18a8c
Merge pull request #527 from rstudio/render-rmd-warning
...
Emit R Markdown warnings for render* functions as well as shinyApps
2014-06-25 11:18:41 -07:00
Jonathan McPherson
7b25c282c0
append rather than replace knit_meta with Shiny warning
2014-06-25 10:20:07 -07:00
Yihui Xie
a128ceaf2d
bump version
2014-06-25 10:41:34 -05:00
Jonathan McPherson
f266cab580
emit R Markdown warnings for render* functions as well as shinyApps
2014-06-24 16:43:58 -07:00
Yihui Xie
23bf9aaf17
Merge pull request #526 from rstudio/bugfix/plot-captures-output
...
Revert "tweak after #492 : capture.output() does withVisible() and print(...
2014-06-24 13:40:45 -05:00
Joe Cheng
1983f60ec6
Revert "tweak after #492 : capture.output() does withVisible() and print() if necessary"
...
This reverts commit 451f950d0d .
Too-aggressive capture.output was causing browser() not to work in
renderPlot().
2014-06-24 06:09:36 -07:00
Yihui Xie
27f8909406
bump version
2014-06-19 13:50:39 -05:00
Yihui Xie
9988206911
add news for #512
2014-06-19 13:50:06 -05:00
Joe Cheng
31fe1fdfa6
Merge pull request #523 from rstudio/feature/navbarPage-windowTitle
...
Add windowTitle parameter to navbarPage
2014-06-19 10:45:01 -07:00
Joe Cheng
77b125ce2d
Add windowTitle parameter to navbarPage
...
Fixes #493
2014-06-19 09:36:50 -07:00
Joe Cheng
6e68e07aa2
Merge pull request #512 from yihui/feature/inline-output
...
Inline output in R Markdown documents
2014-06-19 09:20:13 -07:00
Yihui Xie
86bb010a93
roxygenize
2014-06-19 00:24:10 -05:00
Yihui Xie
4a623b596b
ignore width/height in plotOutput() when inline=TRUE, and document required width/height values in renderPlot()
2014-06-19 00:24:10 -05:00
Yihui Xie
bcf098ea7d
merge doc of width and height in renderPlot() and plotOutput()
2014-06-19 00:24:10 -05:00
Yihui Xie
4bfb226fb5
roxygenize
2014-06-19 00:24:10 -05:00
Yihui Xie
691615108b
preserve the formal arguments of plotOutput() in outputFunc()
...
otherwise outputFunc() loses the `inline` argument, and knit_print() won't be able to produce inline plots
2014-06-19 00:24:10 -05:00
Yihui Xie
858ab00e36
closes #501 : knit_print() for inline output uses the inline argument passed from knitr
2014-06-19 00:24:10 -05:00
Yihui Xie
7023f5b145
add an inline argument to textOutput(), imageOutput(), plotOutput(), and htmlOutput()
2014-06-19 00:24:10 -05:00
Yihui Xie
eb4fabeac6
fix two more staticdocs errors
2014-06-19 00:17:55 -05:00
Joe Cheng
a5e09f9ce4
Merge tag 'v/0/10/0-staticdocs'
2014-06-18 11:12:40 -07:00
Joe Cheng
c2fe4e8b6d
Fix staticdoc errors
v0.10.0-staticdocs
2014-06-18 11:11:21 -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
066fd15184
quiet apt-get and install.packages()
2014-06-16 10:32:04 -05:00
Yihui Xie
fe90c230d5
r-base should just work, since the packages that need to be compiled are installed via apt-get
2014-06-16 10:07:54 -05:00
Yihui Xie
0b5ae92136
shiny 0.10.0 is on CRAN now, so the dependencies knitr and htmltools should be automatically detected
2014-06-16 10:05:33 -05:00
Yihui Xie
1c5565aaee
a news item for #427
2014-06-16 09:59:32 -05:00
Yihui Xie
69c177a3ec
a news item for #516
2014-06-16 09:50:59 -05:00
Joe Cheng
0645b3f65b
Merge pull request #507 from yihui/doc/runUrl
...
Merge doc for runUrl(), runGist(), and runGitHub()
2014-06-16 01:19:52 -07:00
Joe Cheng
9e7471fcc0
Merge pull request #516 from yihui/bugfix/windows-encoding
...
Fixes #136 : I18N support for Windows
2014-06-16 01:17:31 -07:00
Joe Cheng
c520f53799
Bump to development version number
2014-06-16 01:13:33 -07:00
Yihui Xie
0bf1386802
UTF8 encoding for runApp(list(ui, server)) as well
2014-06-13 18:53:36 -05:00
Yihui Xie
b2ab3797aa
the cachedSource() function is not used anywhere, so perhaps we can remove it
2014-06-13 18:08:16 -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
Yihui Xie
81e35f0cc3
make sure the HTML content is encoded in UTF8
2014-06-13 18:02:20 -05:00
Yihui Xie
237522a1f7
assuming all the input R scripts are UTF8 encoded
...
ui.R, server.R, and global.R
2014-06-13 18:00:46 -05:00
Joe Cheng
2f94e1d2c9
Fix timing issue with random seed test on windows
v0.10.0
2014-06-13 14:40:19 -07:00
Joe Cheng
2689dd32bb
Bump version to 0.10.0
2014-06-13 09:41:45 -07:00