Winston Chang
7948a0a4fa
Merge pull request #993 from rstudio/joe/feature/reactlog-labels
...
Cleaner reactlog labels for reactives and outputs
2015-10-30 11:57:57 -05:00
Joe Cheng
ce9e95f256
Fix parseQueryString example (thanks Chris Beeley)
2015-10-29 16:15:47 -07:00
Joe Cheng
7ed5ca94a2
reactlog label code review feedback
...
- Don't clobber explicitly-provided label
- Let `reactives$x1 <- reactive(...)` work
2015-10-29 10:27:06 -07:00
Winston Chang
e635589c52
Merge pull request #992 from rstudio/joe/feature/reactlog-time
...
Add timing data to reactlog entries
2015-10-29 10:06:08 -05:00
Joe Cheng
490721437f
Merge pull request #994 from RCura/patch-1
...
Correct a regression within modules
2015-10-28 18:23:36 -07:00
Robin Cura
7e25a1566f
Correct a regression within modules
...
Commit 07f2792cf9 introduced an error, replacing `e$parent = parentSession` with `e$parent <= parentSession`, while it should have been `e$parent <- parentSession`
2015-10-29 02:03:12 +01:00
Joe Cheng
c08b3b0c30
Update metadata
2015-10-28 15:30:07 -07:00
Joe Cheng
f1de132a2a
Merge pull request #988 from rstudio/joe/feature/namespaces
...
Shiny modules
2015-10-28 15:22:57 -07:00
Joe Cheng
c440c60bdf
Cleaner reactlog labels for reactives and outputs
...
Instead of showing the code, try to just show the name
of the reactive/output. Uses a fairly flaky algorithm
for determining the name of the reactive; will only
work in cases where the definition of the reactive
begins with "foo <- reactive({".
2015-10-28 14:37:00 -07:00
Joe Cheng
c367176a17
Add timing data to reactlog entries
2015-10-28 13:49:39 -07:00
Joe Cheng
3d13c39a4c
Also override registerDataObj (essential for data table, DT, and selectize server mode)
2015-10-27 16:33:46 -07:00
Joe Cheng
07f2792cf9
Change evil = to righteous <-
2015-10-27 15:01:44 -07:00
Joe Cheng
303fce5f15
Merge pull request #983 from wch/clear-checkbox
...
updateCheckboxGroup: allow clearing all choices. Fixes #981
2015-10-27 15:00:20 -07:00
Joe Cheng
46c8bfdd34
Merge pull request #979 from wch/profiling-enhancements
...
Enhancements to help profiling
2015-10-27 14:59:59 -07:00
Winston Chang
c36a22ad5e
Add information about clearing choices
2015-10-23 16:04:17 -05:00
Winston Chang
49eba95a9c
Simplify function naming
2015-10-23 15:48:33 -05:00
Winston Chang
2dacc6ce40
Use cleaner method for generating function
2015-10-23 15:44:24 -05:00
Winston Chang
5ccf02f5c3
Merge pull request #984 from rstudio/update-jquery
...
Update to jQuery 1.11.3 and jQuery UI 1.11.4
2015-10-23 15:08:27 -05:00
Joe Cheng
86c67de8ff
Add session$ns(); some light refactoring; add tests; fix staticdocs
2015-10-20 23:49:24 -07:00
Joe Cheng
dac7eb5997
Simplify modules, by removing moduleUI and path arguments
2015-10-20 15:12:11 -07:00
Winston Chang
fd725552a5
Update to jQuery UI 1.11.4
2015-10-19 13:44:23 -05:00
Winston Chang
1e1a897970
Update to jQuery 1.11.3
2015-10-19 13:31:44 -05:00
Joe Cheng
59a643c006
Update metadata
2015-10-16 10:24:05 -07:00
Joe Cheng
1a492208e6
Merge pull request #982 from rstudio/feature/single-file-runapp
...
Let runApp accept single .R file parameters
2015-10-16 10:16:29 -07:00
Winston Chang
bc0a19f55d
updateCheckboxGroup: allow clearing all choices. Fixes #981
2015-10-16 11:44:09 -05:00
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
4af2436a0e
Rename 'func' to more descriptive name
2015-10-14 16:40:33 -05:00
Winston Chang
20c2bb9d50
Simplify try(tryCatch()) to just tryCatch()
...
This also has the benefit of printing a more helpful error message at
the console. It now indicates which output an error occurred in.
2015-10-14 16:40:33 -05:00
Winston Chang
33bac0db3c
Add function relabeler and relabel outputs
2015-10-14 16:40:33 -05: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
534bc9c6e2
Pass tests
2015-10-05 15:15:54 -04:00
Joe Cheng
bb09885237
Add callModule/moduleUI functions; scope sendInputMessage
2015-10-05 14:56:01 -04:00
Joe Cheng
3ff6aaa6db
Add namespacing functionality
...
- Need to carefully review ShinySession, think about
each and every public method and whether it should
be passthrough or do something different for a
namespaced session.
- It would be nice if we do the namespace splitting
at the server.R level and actually have numerous
reactivevalues objects for inputs, one for each
namespace. This will make the reactive hooks for
names() and reactiveValuesToList() correct, as
right now they will oversubscribe if you're in a
namespaced session. Also it would prevent outer
sessions from seeing the values of their child
namespaces. (Though is that good or bad...?)
2015-10-02 12:51:18 -07: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