Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ChangeLog
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
2022-03-14 Dirk Eddelbuettel <[email protected]>

* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem

2022-03-13 Iñaki Ucar <[email protected]>

* src/barrier.cpp: Untag tokens upon removal from the precious list,
so that the internal reference counter can be safely decremented by R

2022-03-13 Dirk Eddelbuettel <[email protected]>

* DESCRIPTION (Version, Date): Roll minor version
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
Package: Rcpp
Title: Seamless R and C++ Integration
Version: 1.0.8.3
Date: 2022-03-13
Version: 1.0.8.4
Date: 2022-03-14
Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, Qiang Kou,
Nathan Russell, Inaki Ucar, Douglas Bates and John Chambers
Maintainer: Dirk Eddelbuettel <[email protected]>
Expand Down
4 changes: 3 additions & 1 deletion inst/NEWS.Rd
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,7 @@
\newcommand{\ghpr}{\href{https://github.com/RcppCore/Rcpp/pull/#1}{##1}}
\newcommand{\ghit}{\href{https://github.com/RcppCore/Rcpp/issues/#1}{##1}}

\section{Changes in Rcpp hotfix release version 1.0.8.3 (2022-03-13)}{
\section{Changes in Rcpp hotfix release version 1.0.8.4 (2022-03-14)}{
\itemize{
\item Changes in Rcpp API:
\itemize{
Expand All@@ -13,6 +13,8 @@
\code{std::unary_function} and \code{std::binary_function} with
\code{std::function} (Dirk in \ghpr{1202} fixing \ghit{1201} and
CRAN request)
\code Upon removal from precious list, the tag is set to null
(Iñaki in \ghpr{1205} fixing \ghit{1203})
}
\item Changes in Rcpp Documentation:
\itemize{
Expand Down
4 changes: 2 additions & 2 deletions inst/include/Rcpp/config.h
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,7 +30,7 @@
#define RCPP_VERSION_STRING "1.0.8"

// the current source snapshot (using four components, if a fifth is used in DESCRIPTION we ignore it)
#define RCPP_DEV_VERSION RcppDevVersion(1,0,8,3)
#define RCPP_DEV_VERSION_STRING "1.0.8.3"
#define RCPP_DEV_VERSION RcppDevVersion(1,0,8,4)
#define RCPP_DEV_VERSION_STRING "1.0.8.4"

#endif
3 changes: 2 additions & 1 deletion src/barrier.cpp
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,7 +2,7 @@
// barrier.cpp: Rcpp R/C++ interface class library -- write barrier
//
// Copyright (C) 2010 - 2020 Dirk Eddelbuettel and Romain Francois
// Copyright (C) 2021 Dirk Eddelbuettel, Romain Francois and Iñaki Ucar
// Copyright (C) 2021 - 2022 Dirk Eddelbuettel, Romain Francois and Iñaki Ucar
//
// This file is part of Rcpp.
//
Expand DownExpand Up@@ -119,6 +119,7 @@ void Rcpp_precious_remove(SEXP token){
if (token == R_NilValue || TYPEOF(token) != LISTSXP){
return;
}
SET_TAG(token, R_NilValue);
SEXP before = CAR(token);
SEXP after = CDR(token);
SETCDR(before, after);
Expand Down
2 changes: 1 addition & 1 deletion tests/tinytest.R
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,7 +9,7 @@ if (requireNamespace("tinytest", quietly=TRUE)){

## Force tests to be executed if in dev release which we define as
## having a sub-release, eg 0.9.15.5 is one whereas 0.9.16 is not
if (FALSE && length(strsplit(packageDescription("Rcpp")$Version, "\\.")[[1]]) > 3){# dev rel, and
if (length(strsplit(packageDescription("Rcpp")$Version, "\\.")[[1]]) > 3){# dev rel, and
if (Sys.getenv("RunAllRcppTests") != "no"){# if env.var not yet set
message("Setting \"RunAllRcppTests\"=\"yes\" for development release\n")
Sys.setenv("RunAllRcppTests"="yes")
Expand Down