Jonathan McPherson
85e2e00bc4
let runApp accept single .R file parameters
2015-10-16 09:22:44 -07:00
Joe Cheng
93dd8bbf28
Merge pull request #980 from rstudio/joe/bugfix/select-value-escaping
...
Fix improperly escaped quote chars in select choices
2015-10-15 12:56:54 -07:00
Joe Cheng
2f15a219df
Fix improperly escaped quote chars in select choices
2015-10-15 12:49:50 -07:00
Yihui Xie
4fc73b1344
A news item for #968
2015-10-15 13:45:00 -05:00
Joe Cheng
48b56ba08d
Merge pull request #968 from yihui/bugfix/961-unicode
...
A more fundamental fix to the Unicode issue
2015-10-15 11:17:45 -07:00
Joe Cheng
94ca733c7c
Merge pull request #967 from rstudio/joe/bugfix/placeholder
...
Add placeholder parameter to textInput
2015-10-15 11:15:10 -07:00
Winston Chang
8893db9098
Update NEWS
2015-10-12 22:39:51 -05:00
Winston Chang
c46658a5c8
Correctly handle unit and unit.list objects. Closes #962
2015-10-12 22:31:32 -05:00
Joe Cheng
5f651aed3e
LICENSE typo
2015-10-12 12:32:00 -04:00
Joe Cheng
fa7c034d16
Merge pull request #955 from rstudio/joe/feature/reactlog-bysession
...
Fix couple of issues with reactlog
2015-09-24 09:54:35 -07:00
Joe Cheng
ca870ccd75
Merge pull request #966 from rstudio/joe/bugfix/showcase-highlighting
...
Fix highlighting of reactives in showcase mode
2015-09-24 09:54:01 -07:00
Yihui Xie
89fe2ff217
a more fundamental fix of the Unicode issue
...
for R <= 3.2.2, Unicode chars don't work for shiny mainly because we want to
preserve the source reference, and unfortunately srcfilecopy() fails because of
the bug https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16264
here I use lines = '' to get around the bug, and assign the source lines to
the srcfile object later, so there is no grep("\n", multibyte_chars) occuring
I also replaced source() with a custom version, which is much simpler and works
better with Unicode chars
2015-09-23 23:00:20 -05:00
Joe Cheng
6c6775376e
Add placeholder parameter to textInput
2015-09-23 18:28:08 -07:00
Yihui Xie
bd3b3881d8
after reading a file as UTF-8, try to convert it to native encoding on Windows only if the conversion is not lossy
2015-09-23 18:33:01 -05:00
Yihui Xie
078189599c
the check is.na(iconv(x, 'UTF-8')) does not really make sense
...
e.g. iconv('\u2264', 'UTF-8') converts the smaller than or equal sign to an
equal sign in the English (US) locale, which is lossy
we just assume the input is UTF-8 instead, and do not fall back to native
encoding any more
2015-09-23 18:31:16 -05:00
Yihui Xie
9afcd2a411
don't declare encoding on the anonymouse file connection
...
otherwise writeLines(useBytes = TRUE) may not work (#961 )
2015-09-22 01:11:38 -05:00
Yihui Xie
0afd1649c1
textConnection() can be lossy; use an anonymous file connection instead to preserve UTF-8 characters
2015-09-22 01:11:37 -05:00
Yihui Xie
0947a63103
make sure writeLines() does not convert text to native encoding
2015-09-22 01:11:32 -05:00
Yihui Xie
79223bddc5
make sure the UI HTML is rendered into a connection with UTF-8 encoding
2015-09-21 22:25:12 -05:00
Yihui Xie
1871dd6b71
convert the result of readLines() to UTF-8 using enc2utf8() instead, since enc2native() can be lossy
2015-09-21 21:49:12 -05:00
Yihui Xie
4adc3088d1
fixes #961 : the JSON string from jsonlite::toJSON() is always encoded in UTF-8, so there is no need to re-encode it
...
actually re-encoding the string with native encoding can be lossy (some UTF-8 characters may not be representable in the native encoding)
2015-09-21 21:46:11 -05:00
Yihui Xie
79dd7e1bf5
shiny requires R >= 3.0.0
2015-09-21 21:44:03 -05:00
Joe Cheng
6718d377bb
Fix and enhance reactlog
...
* Reactlog shortcut was broken due to reactlog.js not being included in
the gruntfile
* Reactlog has always shown every reactive event since the beginning of
the process (or at least since options(shiny.reactlog=TRUE)). This
commit makes it so Ctrl+F3 invocation only shows reactives that either
belong to no session (e.g. observers and reactives declared at the top
of server.R), or belong to this session.
2015-09-13 02:46:52 -07:00
Joe Cheng
d4e3329d7a
Fix highlighting of reactives in showcase mode
...
This has been broken since we switched to jsonlite. Reactives
don't highlight because their srcref is in an S3(?) class that
jsonlite doesn't recognize, whereas RJSONIO would treat it as
a numeric vector.
2015-09-12 20:20:13 -07:00
Joe Cheng
99295f0983
Bump version, update NEWS
2015-09-09 22:13:45 -07:00
Winston Chang
3606c36cb9
Merge pull request #950 from rstudio/joe/feature/grunt-clean
...
Add 'grunt clean' to delete shiny build artifacts
2015-09-09 15:49:02 -05:00
Winston Chang
3d5c184acc
Merge pull request #949 from rstudio/joe/feature/shared-brush-id
...
Allow shared brush IDs
2015-09-09 15:48:43 -05:00
Joe Cheng
9e03b17498
Add 'grunt clean' to delete shiny build artifacts
2015-09-09 12:19:43 -07:00
Joe Cheng
129714b044
Allow shared brush IDs
2015-09-09 12:12:47 -07:00
Joe Cheng
67823556d2
Merge pull request #939 from yihui/bugfix/selectize-selected
...
Fixes #929 : defer setValue() for selectize until the options have been loaded from server
2015-09-09 12:10:03 -07:00
Yihui Xie
273e71e3c4
run grunt
2015-09-09 13:38:51 -05:00
Yihui Xie
076ac26929
call setValue() only once
...
otherwise every time an Ajax response is returned (e.g. during searching), the value is set to data.value
2015-09-09 13:29:37 -05:00
Yihui Xie
5a022b0a2c
upgrade selectize.js from 0.11.2 to 0.12.1 to fix the ordering issue in #929
...
also fixes #865
2015-09-09 13:29:37 -05:00
Yihui Xie
9ab493a81f
make sure mop is numeric
...
it is funny that head(1:11,'100') produces a bunch of NA's, but head(1:11,'12') does not
2015-09-09 13:29:37 -05:00
Yihui Xie
dfc1f32595
Fixes #929 : defer setValue() for selectize until the options have been loaded from server
...
Previously I was using a hack to set the selected value of selectize, i.e. add the selected option(s) to selectize via addOptions() (because the selected option(s) may not have existed); this hack can be removed and we can set the value in the `success` callback of the Ajax request, by which time the options will be available
2015-09-09 13:29:37 -05:00
Joe Cheng
e6fd30fb78
Merge pull request #935 from yihui/doc/events-vignette
...
Add a package vignette for the JS events
2015-09-09 10:33:52 -07:00
Joe Cheng
c8d338912a
Merge pull request #918 from rstudio/joe/bugfix/binding-getid
...
Fix #676 : getId(el) not being used in output binding
2015-09-09 10:33:45 -07:00
Winston Chang
d9d9e0b33f
Add info about printing ggplot objects
2015-09-08 15:07:40 -05:00
Yihui Xie
1da7b83956
Bump version
2015-09-04 20:54:30 -05:00
Yihui Xie
29c545d2e3
Bump fontawesome version after #932
2015-09-04 20:53:54 -05:00
Joe Cheng
431b345c82
Fix #676 : getId(el) not being used in output binding
2015-09-04 15:14:04 -07:00
Joe Cheng
8773b1b38f
Merge pull request #946 from yihui/bugfix/recalculating
...
Typo: name -> message.name
2015-09-04 14:53:43 -07:00
Yihui Xie
52efb3dc16
Typo: name -> message.name
2015-09-04 15:43:21 -05:00
Yihui Xie
9ccd179b04
document the rest of events: shiny:conditional, shiny:visualchange, shiny:recalculating, shiny:recalculated
2015-09-04 15:09:34 -05:00
Joe Cheng
a8b35c49a7
Merge pull request #932 from dselivanov/master
...
Bump fontawesome version to 4.4.0, fixes #913
2015-09-04 12:15:31 -07:00
Peter K. Shultz
4e027f1a45
Update README.md
...
Add missing period.
2015-09-04 12:13:28 -07:00
Joe Cheng
119182454b
Merge pull request #943 from yihui/feature/events-more
...
Events shiny:visualchange, shiny:conditional, and shiny:recalculating
2015-09-04 11:34:48 -07:00
Yihui Xie
04e10a4f0d
Run grunt
2015-09-02 12:30:22 -05:00
Yihui Xie
4e5c5f9c5b
Move the shiny:conditional event to the top of $updateConditionals()
2015-09-02 12:29:37 -05:00
Yihui Xie
1ee2a25eca
Trigger the recalculating event on null when the binding does not exist
2015-09-02 12:29:01 -05:00