|
17 | 17 | }
|
18 | 18 | \item Changes in Rcpp Modules:
|
19 | 19 | \itemize{
|
20 |
| - \item New function \code{copyObject} to invoke the copy constructor of a |
21 |
| - C++ class that has been exposed by modules. (\ghpr{454}) |
22 |
| - \item New function \code{destruct} to explicitely call the |
23 |
| - destructor of the underlying C++ object without waiting for the |
24 |
| - garbage collector. (\ghpr{454}) |
25 |
| - \item New function \code{is\_destructed} to check if an object has been |
26 |
| - destructed (presumably by \code{destruct}) (Romain in \ghpr{454}) |
27 | 20 | \item An apparent race condition in Module loading seen with R 3.3.0 was
|
28 | 21 | fixed (Ben Goodrich in \ghpr{461} fixing \ghit{458}).
|
29 | 22 | }
|
30 | 23 | }
|
31 | 24 | }
|
32 |
| - |
| 25 | + |
33 | 26 | \section{Changes in Rcpp version 0.12.4 (2016-03-22)}{
|
34 | 27 | \itemize{
|
35 | 28 | \item Changes in Rcpp API:
|
|
78 | 71 | \ghpr{406} by Qiang fixing \ghit{365}).
|
79 | 72 | \item A missing \code{std::hash} function interface for
|
80 | 73 | \code{Rcpp::String} has been addded (PR \ghpr{408} by Qiang fixing
|
81 |
| - \ghit{84}). |
| 74 | + \ghit{84}). |
82 | 75 | }
|
83 | 76 | \item Changes in Rcpp Attributes:
|
84 | 77 | \itemize{
|
85 | 78 | \item Avoid invalid function names when generating C++ interfaces (PR
|
86 | 79 | \ghpr{403} by JJ fixing \ghit{402}).
|
87 |
| - \item Insert additional space around \code{&} in function interface (PR |
| 80 | + \item Insert additional space around \code{&} in function interface (PR |
88 | 81 | \ghpr{400} by Kazuki Fukui fixing \ghit{278}).
|
89 | 82 | }
|
90 | 83 | \item Changes in Rcpp Modules:
|
|
108 | 101 | by Florian)
|
109 | 102 | \item Before creating a single String object from a \code{SEXP}, ensure
|
110 | 103 | that it is from a vector of length one (PR \ghpr{376} by Dirk, fixing
|
111 |
| - \ghit{375}). |
| 104 | + \ghit{375}). |
112 | 105 | \item No longer use \code{STRING_ELT} as a left-hand side, thanks to a
|
113 | 106 | heads-up by Luke Tierney (PR \ghpr{378} by Dirk, fixing \ghit{377}).
|
114 | 107 | \item Rcpp Module objects are now checked more carefully (PR \ghpr{381}
|
|
120 | 113 | \item \code{operator<<()} now always shows decimal points (PR \ghpr{396}
|
121 | 114 | by Dan)
|
122 | 115 | \item Matrix classes now have a \code{transpose()} function (PR \ghpr{397}
|
123 |
| - by Dirk fixing \ghit{383}) |
| 116 | + by Dirk fixing \ghit{383}) |
124 | 117 | \item \code{operator<<()} for complex types was added (PRs \ghpr{398} by
|
125 | 118 | Qiang and \ghpr{399} by Dirk, fixing \ghit{187})
|
126 | 119 | }
|
|
138 | 131 | \item Changes in Rcpp Documentation:
|
139 | 132 | \itemize{
|
140 | 133 | \item The \code{NEWS} file now links to GitHub issue tickets and pull
|
141 |
| - requests. |
| 134 | + requests. |
142 | 135 | \item The \code{Rcpp.bib} file with bibliographic references was updated.
|
143 | 136 | }
|
144 | 137 | }
|
145 | 138 | }
|
146 |
| - |
| 139 | + |
147 | 140 | \section{Changes in Rcpp version 0.12.1 (2015-09-10)}{
|
148 | 141 | \itemize{
|
149 | 142 | \item Changes in Rcpp API:
|
150 | 143 | \itemize{
|
151 |
| - \item Correct use of WIN32 instead of _WIN32 to please Windows 10 |
| 144 | + \item Correct use of WIN32 instead of _WIN32 to please Windows 10 |
152 | 145 | \item Add an assignment operator to \code{DimNameProxy} (PR \ghpr{339} by Florian)
|
153 | 146 | \item Add vector and matrix accessors \code{.at()} with bounds checking
|
154 |
| - (PR \ghpr{342} by Florian) |
| 147 | + (PR \ghpr{342} by Florian) |
155 | 148 | \item Correct character vector conversion from single char (PR \ghpr{344} by
|
156 | 149 | Florian fixing issue \ghit{343})
|
157 | 150 | \item Correct on use of \code{R_xlen_t} back to \code{size_t} (PR \ghpr{348} by
|
|
199 | 192 | R expressions; this should resolve errors where calling handlers (e.g.
|
200 | 193 | through \code{suppressMessages()}) were not properly respected.
|
201 | 194 | \item All internal length variables have been changed from \code{R_len_t}
|
202 |
| - to \code{R_xlen_t} to support vectors longer than 2^31-1 elements (via |
| 195 | + to \code{R_xlen_t} to support vectors longer than 2^31-1 elements (via |
203 | 196 | PR \ghpr{303} by Qiang Kou).
|
204 | 197 | \item The sugar function \code{sapply} now supports lambda functions
|
205 | 198 | (addressing \ghit{213} thanks to Matt Dziubinski)
|
206 | 199 | \item The \code{var} sugar function now uses a more robust two-pass
|
207 | 200 | method, supports complex numbers, with new unit tests added (via PR
|
208 |
| - \ghpr{320} by Matt Dziubinski) |
| 201 | + \ghpr{320} by Matt Dziubinski) |
209 | 202 | \item \code{String} constructors now allow encodings (via PR \ghpr{310}
|
210 | 203 | by Qiang Kou)
|
211 | 204 | \item \code{String} objects are preserving the underlying \code{SEXP}
|
|
214 | 207 | \item DataFrame constructors are now a little more careful (via PR
|
215 | 208 | \ghpr{301} by Romain Francois)
|
216 | 209 | \item For R 3.2.0 or newer, \code{Rf_installChar()} is used instead of
|
217 |
| - \code{Rf_install(CHAR())} (via PR \ghpr{332}). |
| 210 | + \code{Rf_install(CHAR())} (via PR \ghpr{332}). |
218 | 211 | }
|
219 | 212 | \item Changes in Rcpp Attributes:
|
220 | 213 | \itemize{
|
|
246 | 239 | matrices (via a pull request by Dmitrii Meleshko).
|
247 | 240 | \item A new \code{empty()} string constructor was added (via another pull
|
248 | 241 | request).
|
249 |
| - \item Better support for Vectors with a storage policy different from the |
| 242 | + \item Better support for Vectors with a storage policy different from the |
250 | 243 | default, i.e. \code{NoProtectStorage}, was added.
|
251 | 244 | }
|
252 | 245 | \item Changes in Rcpp Attributes:
|
|
271 | 264 | \item The \code{Rcpp::Environment} constructor can now use a supplied
|
272 | 265 | parent environment.
|
273 | 266 | \item The \code{Rcpp::Function} constructor can now use a supplied
|
274 |
| - environment or namespace. |
| 267 | + environment or namespace. |
275 | 268 | \item The \code{attributes_hidden} macro from R is used to shield internal
|
276 | 269 | functions; the \code{R_ext/Visibility.h} header is now included as well.
|
277 |
| - \item A \code{Rcpp::print} function was added as a wrapper around \code{Rf_PrintValue}. |
| 270 | + \item A \code{Rcpp::print} function was added as a wrapper around \code{Rf_PrintValue}. |
278 | 271 | }
|
279 | 272 | \item Changes in Rcpp Attributes:
|
280 | 273 | \itemize{
|
281 | 274 | \item The \code{pkg_types.h} file is now included in \code{RcppExports.cpp}
|
282 |
| - if it is present in either the \code{inst/include} or \code{src}. |
283 |
| - \item \code{sourceCpp} was modified to allow includes of local files |
| 275 | + if it is present in either the \code{inst/include} or \code{src}. |
| 276 | + \item \code{sourceCpp} was modified to allow includes of local files |
284 | 277 | (e.g. \code{#include "foo.hpp"}). Implementation files (*.cc; *.cpp) corresponding
|
285 | 278 | to local includes are also automatically built if they exist.
|
286 | 279 | \item The generated attributes code was simplified with respect to
|
|
0 commit comments