forked from RcppCore/Rcpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
9691 lines (6456 loc) · 369 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2020-03-17 Davis Vaughan <davis@rstudio.com>
* inst/include/Rcpp/lang.h: Inline Rcpp_list6() to support R 3.3.
2020-03-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Updated
2020-03-15 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/exceptions_impl.h: Ensure <execinfo.h> is included
into global namespace; refactor detection of demangler support
2020-03-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.4
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* vignettes/rmd/Rcpp.bib: Idem
* inst/bib/Rcpp.bib: Idem
2020-03-12 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp.bib: Updated to current package versions
* inst/bib/Rcpp.bib: Idem
2020-02-24 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/exceptions_impl.h: Remove spurious semicolon
2020-02-23 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/generated/Vector__create.h: Added #nocov tags
* inst/include/Rcpp/exceptions_impl.h: Idem
* src/api.cpp: Idem plus some whitespace realignment
2020-02-13 Dirk Eddelbuettel <edd@debian.org>
* README.md: Add a Debian badge
2020-02-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* README.md: Added indirect CRAN use badge
2020-02-09 Joshua Pritikin <jpritikin@pobox.com>
* inst/include/Rcpp.h: Include exceptions_impl.h
* inst/include/Rcpp/exceptions.h: Make thread-safe
* inst/include/Rcpp/exceptions_impl.h: New home for code moved
from src/api.cpp
2020-01-05 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/exceptions.h: A few more #nocov tags
* inst/include/Rcpp/generated/Vector__create.h: Idem, plus whitespace
2020-01-04 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R: A few more #nocov tags
2020-01-01 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/module/Module.h: A few more #nocov tags
* inst/include/Rcpp/XPtr.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
2019-12-31 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2019-12-29 Qiang Kou <qkou@qkou.info>
* inst/include/Rcpp/vector/Matrix.h: Ensure scalar OP matrix do not
change right-hand side in operation
* inst/tinytest/test_matrix.R: New tests
* inst/tinytest/cpp/Matrix.cpp: Idem
2019-12-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2019-12-18 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/XPtr.h: Additional null check, refactored
2019-12-17 Kirill Müller <krlmlr@mailbox.org>
* inst/include/Rcpp/XPtr.h: Clear external pointer before finalizer
2019-12-17 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (sourceCpp): Very minor cosmetic changes
2019-12-15 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2019-12-14 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R (sourceCpp): Support new argument windowsDebugDLL to
create a debug DLL, supported on Windows only
* man/sourceCpp.Rd: Document it
* src/date.cpp: A few more #nocov tage
2019-12-13 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp: A few more #nocov tags
* src/attributes.cpp: Idem
* src/barrier.cpp: Idem
2019-12-08 Dirk Eddelbuettel <edd@debian.org>
* tests/tinytest.R: Turn verbose tests on in dev and on Travis
* inst/tinytest/test_client_package.R: Finer-grained skip messages
* inst/tinytest/test_module_client_package.R: Idem
* inst/tinytest/test_expose_class.R: Idem
* inst/tinytest/test_interface.R: Idem
* inst/tinytest/test_rcpp_package_skeleton.R: Idem
* inst/tinytest/test_reference.R: Idem
* inst/tinytest/test_*.R: Streamlined initial test and sourceCpp call
* src/attributes.cpp: Remove dangling '#nocov end'
2019-12-07 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* inst/tinytest/test_binary_package.R: Finer-grained skip messages
* inst/tinytest/test_misc.R: Add commented-out test that fails
* tests/tinytest.R: Minor edit
* docker/ci/Dockerfile: Add curl and ssl -dev packages needed for covr
2019-12-05 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/Rcpp-FAQ.Rmd (Rcpp): Add entry about "'dataptr' (or
'enterRNGScope') not provided by Rcpp" recommending proper importFrom
2019-12-03 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Lighter builds as fewer Suggests:
* docker/plus/Dockerfile: Take packages moved from ci/Dockerfile
2019-12-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* DESCRIPTION (Suggests): Remove knitr, rmarkdown, pinp
* DESCRIPTION (VignetteBuilder): Remove knitr
2019-11-26 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/test_embedded_r.R: Use sink to suppress noisy output,
reenable tests (still conditional on usual environment variable)
2019-11-25 Dirk Eddelbuettel <edd@debian.org>
* inst/tinytest/cpp/Vector.cpp (no_op): Suppress compiler warning
2019-11-24 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Suggests): Add tinytest, remove RUnit
* tests/doRUnit.R: Removed
* tests/tinytest.R: Added
* tests/tinytest.R: Converted from RUnit to tinytest
* inst/tinytest/test_algorithm.R: Idem
* inst/tinytest/test_as.R: Idem
* inst/tinytest/test_binary_package.R: Idem (but inactive for now)
* inst/tinytest/test_client_package.R: Idem (but inactive for now)
* inst/tinytest/test_dataframe.R: Idem
* inst/tinytest/test_date.R: Idem (but condition two test sets on TZ)
* inst/tinytest/test_dispatch.R: Idem
* inst/tinytest/test_embedded.R: Idem
* inst/tinytest/test_environments.R: Idem
* inst/tinytest/test_exceptions.R: Idem
* inst/tinytest/test_exceptions_nocall.R: Idem
* inst/tinytest/test_expose_class.R: Idem
* inst/tinytest/test_function.R: Idem
* inst/tinytest/test_interface.R: Idem (but inactive for now)
* inst/tinytest/test_internal_function.R: Idem
* inst/tinytest/test_internal_function_cpp11.R: Idem
* inst/tinytest/test_language.R: Idem
* inst/tinytest/test_listof.R: Idem
* inst/tinytest/test_matrix.R: Idem
* inst/tinytest/test_misc.R: Idem
* inst/tinytest/test_modref.R: Idem
* inst/tinytest/test_module.R: Idem
* inst/tinytest/test_module_client_package.R: Idem
* inst/tinytest/test_na.R: Idem
* inst/tinytest/test_quickanddirty.R: Idem
* inst/tinytest/test_rcpp_package_skeleton.R: Idem
* inst/tinytest/test_reference.R: Idem
* inst/tinytest/test_rmath.R: Idem
* inst/tinytest/test_robject.R: Idem
* inst/tinytest/test_s4.R: Idem
* inst/tinytest/test_stack.R: Idem
* inst/tinytest/test_stats.R: Idem
* inst/tinytest/test_string.R: Idem
* inst/tinytest/test_subset.R: Idem
* inst/tinytest/test_sugar.R: Idem
* inst/tinytest/test_sugar_var.R: Idem
* inst/tinytest/test_support.R: Idem
* inst/tinytest/test_system.R: Idem
* inst/tinytest/test_table.R: Idem
* inst/tinytest/test_vector.R: Idem
* inst/tinytest/test_vector_old.R: Idem
* inst/tinytest/test_wrap.R: Idem
* inst/tinytest/test_wstring.R: Idem
* inst/tinytest/test_xptr.R: Idem
* inst/tinytest/cpp/*: C++ support files for tests
* inst/tinytest/*: Other support files and directories from unitTests
* R/unitTests.R: Removed as tied to RUnit setuo
* inst/tinytest/test_attributes.R: Added test for error with
non-existing package in cppFunction
2019-11-23 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Add tinytest to ci Docker image
2019-11-20 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R: Test for and report unavailable 'LinkingTo' package
2019-11-19 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2019-11-18 Kun Ren <mail@renkun.me>
* src/attributes.cpp: Add invisible param to export attribute (#1024)
* vignettes/rmd/Rcpp-attributes.Rmd: Add an section of Returning
invisible object
2019-11-13 Dirk Eddelbuettel <edd@debian.org>
* .github/ISSUE_TEMPLATE.md: Another small edit
* .github/PULL_REQUEST_TEMPLATE.md: Idem
2019-11-13 Stephen Wade <stephematician@gmail.com>
* inst/include/Rcpp/XPtr.h: Delete delegating ctor (follow-up #1012)
* inst/unitTests/runit.XPTr.R: Reinsert self-tag test on Windows
2019-11-11 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.packageversion.R: New test
* inst/unitTests/cpp/rcppversion.cpp: Cpp portion of test
2019-11-10 Dirk Eddelbuettel <edd@debian.org>
* .github/: Add files CONTRIBUTING.md, FUNDING.yml, ISSUE_TEMPLATE.md
and PULL_REQUEST_TEMPLATE.md
* inst/include/Rcpp/config.h: Correct RCPP_VERSION and
RCPP_DEV_VERSION to 1.0.3
2019-11-09 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
2019-11-09 TJ McKinley <t.mckinley@exeter.ac.uk>
* R/Attributes.R: Correct how cppFunction() deals with multiple
depends arguments
2019-11-08 Romain Francois <romain@rstudio.com>
* inst/include/Rcpp/lang.h: Safer Rcpp_list* and Rcpp_lang*
* inst/include/Rcpp/Function.h: Add Function.invoke() for operator()
* inst/include/Rcpp/generated/Function__operator.h: Safer
Function.operator() using Function.invoke()
2019-11-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Release 1.0.3
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
2019-11-06 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/XPtr.h: Provided fallback for old constructor
when C++11 is not available (follow-up to #1003)
* inst/unitTests/runit.XPTr.R (test.XPtr): On Windows (as a proxy for
old compilers) do not test new feature
* tests/doRUnit.R: Protect printing to /tmp from Windows use
* vignettes/rmd/Rcpp.bib: Updated
* inst/bib/Rcpp.bib: Idem
2019-11-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/Reference.h: Shield Rf_mkstring inside Rf_lang2
* inst/include/Rcpp/Environment.h: Idem (inside Rf_lang4)
* inst/include/Rcpp/proxy/FieldProxy.h: Idem (inside Rf_lang3 and 4)
2019-10-31 Romain Francois <romain@rstudio.com>
* inst/include/Rcpp/DataFrame.h: Protect temporaries from gc
* inst/include/Rcpp/Environment.h: Idem
* inst/include/Rcpp/r_cast.h: Idem
2019-10-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/unitTests/runit.exposeClass.R: Updated to pass with r-devel
* vignettes/rmd/Rcpp-FAQ.Rmd: Two new short section on speedier
compilation and lack of exceptions / stop() across shared libraries
2019-10-26 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-package.Rnw: Another wrapper
* vignettes/Rcpp-jss-2011.Rnw: Idem
* vignettes/Makefile: Refinements
* vignettes/rmd/Makefile: Idem
* cleanup: Removed bashism, added invocation of make clean
2019-10-23 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-*.Rnw: Wrappers around pdf/*pdf
* vignettes/Makefile: Added
2019-10-21 Dirk Eddelbuettel <edd@debian.org>
* vignettes/rmd/*: Moved from parent directory
* vignettes/pdf/*: New target directory
2019-10-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* vignettes/Rcpp-FAQ.Rmd: Turn off knitr cache
* vignettes/Rcpp-introduction.Rmd: Idem
* vignettes/Makefile: Add simple Makefile
* .Rbuildignore: Exclude vignettes/Makefile
2019-10-19 Stephen Wade <stephematician@gmail.com>
* inst/include/Rcpp/XPtr.h: XPtr constructor split up, a single
argument does not modify tags and protected data of the external pointer
* inst/unitTests/cpp/Xptr.cpp: Added test
* inst/unitTests/runit.XPtr.R: Idem
2019-10-14 Dirk Eddelbuettel <edd@debian.org>
* README.md: Added CRAN + BioConductor badges for reverse depends,
2019-10-11 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/exceptions.h: Condition use of typeid() on
absence of RCPP_NO_RTTI in two places
* inst/include/Rcpp/r/headers.h: RCPP_NO_RTTI implies RCPP_NO_MODULES
2019-10-04 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-attributes.Rmd: Correct two unevaluated knitr C++
chunks to mode 'Rcpp' rather than the (unregistered) C++ mode
* vignettes/Rcpp-extending.Rmd: Minor white-space tweak to avoid
paragraph-spacing warnings from latex and its mdframed style
* vignettes/Rcpp-modules.Rmd: Idem
* vignettes/Rcpp-sugar.Rmd: Idem
2019-10-01 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
2019-09-30 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp.h: add RCPP_NO_MODULES
* inst/include/Rcpp/api/meat/is.h: Idem
* inst/include/Rcpp/api/meat/meat.h: Idem
2019-09-28 Dirk Eddelbuettel <edd@debian.org>
* README.md: Add a stackoverflow tag to indicate where to ask questions,
also updated package counts on CRAN and BioC for Rcpp users
2019-08-06 Riccardo Porreca <riccardo.porreca@mirai-solutions.com>
* vignettes/Rcpp-modules.Rmd: Extensive review and edit improving the
Modules vignette
2019-08-04 Dirk Eddelbuettel <edd@debian.org>
* README.md: Add thre doi badges
* inst/NEWS.Rd: Two minor edits
2019-07-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
2019-07-21 Riccardo Porreca <riccardo.porreca@mirai-solutions.com>
* R/Module.R: Use an explicit Rcpp:: in the initalize method for C++
classes wrapped inside modules to ensure proper initialization
2019-07-20 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 1.0.2
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
2019-07-18 Pierrick Roger <pk.roger@icloud.com>
* src/attributes.cpp: Correct parsing of default function values
* inst/unitTests/cpp/attributes.cpp: Added tests
* inst/unitTests/runit.attributes.R: Idem
2019-07-16 Dirk Eddelbuettel <edd@debian.org>
* debian/: Removed, see https://salsa.debian.org/edd/r-base/ instead
2019-07-04 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp.bib: Updated
* inst/bib/Rcpp.bib: Idem
2019-05-05 Dirk Eddelbuettel <edd@debian.org>
* .Rbuildignore: Small tweak
2019-04-27 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Use getRcppVersion()
2019-04-26 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* R/tools.R (getRcppVersion): More idiomatic code
2019-04-25 Dirk Eddelbuettel <edd@debian.org>
* R/tools.R (getRcppVersion): Export R (and dev) package version
* man/getRcppVersion.Rd: Documentation for new function
* inst/include/Rcpp/config.h (RCPP_VERSION_STRING): New version
and development version string #define
* src/api.cpp (getRcppVersionStrings): Expose new versions strings
* src/internal.h: Register new version string exporter
* src/rcpp_init.cpp (callEntries[]): Idem
* inst/unitTests/runit.misc.R (test.getRcppVersion): test new function
2019-03-23 Ralf Stubner <ralf.stubner@daqana.com>
* vignettes/Rcpp-modules.Rmd: Describe RCPP_EXPOSED_* macros
* vignettes/Rcpp-extending.Rmd: Reference Modules extensions
2019-03-23 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/NEWS.Rd: Updated
2019-03-20 James J Balamuta <balamut2@illinois.edu>
* inst/include/Rcpp/sugar/functions/unique.h: Added decreasing
parameter to control sort.
* inst/unitTests/runit.sugar.R: Added sort_unique() tests
* inst/unitTests/cpp/sugar.cpp: Ditto
2019-03-20 Dirk Eddelbuettel <edd@debian.org>
* src/date.cpp: Renamed from Date.cpp
* src/module.cpp: Renamed from Module.cpp
* src/rcpp_init.cpp: Renamed from Rcpp_init.cpp
2019-03-19 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* tests/doRUnit.R: On Travis always set RunAllRcppTests
* docker/ci/Dockerfile: Set environment variables container-wide
2019-03-18 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/macros/macros.h (END_RCPP_RETURN_ERROR): Add
UNPROTECT to reference nprot, also check for stop_sym
2019-03-17 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 1.0.1
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
2019-03-16 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/unitTests/runit.sugar.R: Set the sample() behaviour to R 3.5.0
as R 3.6.0 has a breaking change (for the better)
2019-03-13 Romain François <romain@purrple.cat>
* inst/include/Rcpp/macros/macros.h: Add UNPROTECT to please rchk
2019-03-12 Romain François <romain@purrple.cat>
* inst/include/Rcpp/api/meat/proxy.h: AttributeProxy::set() with
Shield<> and a few related uses of Shield<> to please rchk
* inst/include/Rcpp/clone.h: Idem
* inst/include/Rcpp/proxy/AttributeProxy.h: Idem
* inst/include/Rcpp/proxy/NamesProxy.h: Idem
* inst/include/Rcpp/vector/Matrix.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
2019-02-25 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml (after_success): Setting CODECOV_TOKEN to reenable
codecov.io coverage as detailed by Ralf in GitHub issue #941
2019-02-16 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/cbind.h: Converted CRLF to CR
2019-02-15 Dirk Eddelbuettel <edd@debian.org>
* inst/README: Moved stale file to local/
* inst/THANKS: Idem
2019-02-13 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): New minor version
2019-02-11 Kevin Ushey <kevinushey@gmail.com>
* R/Attributes.R: better handle pre-existing RcppExports.cpp,
RcppExports.R when calling compileAttributes()
2019-02-09 Ralf Stubner <ralf.stubner@daqana.com>
* Rcpp-modules.Rmd: Added example for .factory
2019-01-31 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/protection/Shelter.h (Rcpp): Only increase
nprotected count if object is not NULL (suggested by Stepan Sindelar)
2018-12-26 Zhuoer Dong <dongzhuoer@mail.nankai.edu.cn>
* vignettes/Rcpp-quickref.Rmd: Fix three bugs: use `Named()`, define
`glob`, `glob.ls(TRUE)`.
2018-12-01 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R: Added new 'c++2a' plugin for '-std=c++2a'
compilation standard supported by g++ 8 or later
2018-11-11 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/vector/Subsetter.h (check_indices): More
informative error message as suggested by KK
2018-11-09 William Nolan <will@landale.net>
* inst/include/Rcpp/vector/Subsetter.h: Fixed to use R_xlen_t instead
of int for indexing and added warning when indexing by IntegerVector
(only for large enough vectors)
2018-11-05 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Version 1.0, and happy 10th birthday!
* inst/include/Rcpp/config.h: Idem
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
2018-11-04 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* README.md: Updated stated package and test numbers
2018-10-25 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/String.h: Use Rf_mkCharLenCE() as appropriate
* inst/unitTests/cpp/String.cpp: Add unit tests
* inst/unitTests/runit.String.R: Add unit tests
2018-10-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
* tests/doRUnit.R: Simplified to something similar to what
RcppArmadillo (and other packages) had for a while now
* vignettes/Rcpp-unitTests.Rnw: Removed as less useful now
2018-10-08 JJ Allaire <jj@rstudio.com>
* R/Attributes.R: Sort the files scanned for attributes in the C locale
for stable output across systems.
2018-10-07 Ralf Stubner <ralf.stubner@daqana.com>
* vignettes/Rcpp-extending.Rmd: Correct EXPORT to EXPOSED in displays
of the corresponding macro, and remove two spurious semicolons
2018-10-02 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Roll minor version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2018-10-02 Romain Francois <romain@rstudio.com>
* inst/include/Rcpp/vector/Matrix.h: Init nrow in Matrix(no_init) ctor
* inst/unitTests/runit.Matrix.R: New test
* inst/unitTests/cpp/Matrix.cpp: Idem
2018-09-30 Dirk Eddelbuettel <edd@debian.org>
* man/RcppUnitTests.Rd: Remove \details{} with conditional code which
R-devel (as of Sep 28) warns about as empty
2018-09-28 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml (env): Set distinct build and check options to skip
tests of vignettes
2018-09-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/date_datetime/Date.h: Remove the empty destructor
to make g++-9 (prerelease) happy [CRAN request]
* inst/unitTests/runit.Matrix.R: Correct typo
2018-09-27 Romain Francois <romain@rstudio.com>
* inst/include/Rcpp/vector/Matrix.h: Fix Matrix(no_init(int,int))
constructor
* inst/unitTests/runit.Matrix.R: test for above
* inst/unitTests/cpp/Matrix.cpp: same
2018-09-26 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Set env var RunAllRcppTests=yes
* .travis.yml: Do not set env var here as needed in Docker
2018-09-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.19
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
* inst/include/Rcpp/config.h: Idem
* R/RcppLdpath.R (RcppLdPath, RcppLdFlags, CxxFlags, RcppCxx0xFlags):
After discussion with CRAN, do not mark as .Deprecated() as too many
packages are involved. This will need to be phased in more slowly.
2018-09-20 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rmd: Set 'eval=FALSE' on another
RcppArmadillo example to not create a build-time dependency
2018-09-18 JJ Allaire <jj@rstudio.com>
* src/attributes.cpp: Add support for [[Rcpp::init]] attribute
* vignettes/Rcpp-attributes.Rmd: Documentation for [[Rcpp::init]]
attribute
2018-09-17 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/r/headers.h: Define STRICT_R_HEADERS, but until
September 2019 protect by defining RCPP_NO_STRICT_HEADERS
* .travis.yml (env): Switch to rcpp/ci for ci use
2018-09-15 Dirk Eddelbuettel <edd@debian.org>
* docker/ci/Dockerfile: Move Dockerfile to docker/ci
* docker/run/Dockerfile: Add deployment Dockerfile
* docker/plus/Dockerfile: Add 'plus-sized' Dockerfile suitable for
different add-on packages requiring Rcpp{Armadillo,Eigen,GSL} or BH
2018-09-02 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml: Switch to rcpp/rcpp-testing container
2018-08-29 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml: Use Dockerfile
2018-08-28 Dirk Eddelbuettel <edd@debian.org>
* docker/Dockerfile: Add Dockerfile for use by Travis CI
2018-08-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* man/Rcpp-deprecated.Rd: Fix two-char typo/thinko in \link{}
2018-07-29 Dirk Eddelbuettel <edd@debian.org>
* README.md: Refreshed via some edits and updates
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2018-07-28 Dirk Eddelbuettel <edd@debian.org>
* R/RcppLdpath.R (RcppLdPath, RcppLdFlags, CxxFlags, RcppLdFlags)
(RcppCxx0xFlags): Marked as deprecated
* man/Rcpp-deprecated.Rd: Add exported functions LdFlags() and
RcppLdFlags() as deprecated
* man/RcppLdFlags.Rd: Idem
2018-07-27 Dirk Eddelbuettel <edd@debian.org>
* man/loadRcppModules-deprecated.Rd: Fix typo; was deprecated in
0.12.5, not 0.16.5 which does not exist
2018-07-26 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rmd: Use collapse: true
* vignettes/Rcpp-introduction.Rmd: Idem
2018-07-25 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-extending.Rmd: Use collapse: true
2018-07-24 Martin Lysy <mlysy@uwaterloo.ca>
* R/loadRcppClass.R: Search in R module for 'Class' instead of
'CppClass'.
* R/exposeClass.R: Fixed 'rename' argument to work as expected.
* inst/unitTests/runit.exposeClass.R: Added unit tests for the
above.
2018-07-23 Dirk Eddelbuettel <edd@debian.org>
* inst/bib/Rcpp.bib: More updates
* vignettes/Rcpp.bib: Idem
2018-07-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.12.18
* inst/NEWS.Rd: Idem
* inst/bib/Rcpp.bib: Idem
* vignettes/Rcpp.bib: Idem
* inst/include/Rcpp/config.h: Idem
* vignettes/Rcpp.bib: Updated other references
* inst/bib/Rcpp.bib: Idem
* inst/unitTests/runit.sugar.R: Additional min, max unit tests
* inst/unitTests/cpp/sugar.cpp: Idem
2018-07-20 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/max.h: Also consider case of an
empty vector
* inst/include/Rcpp/sugar/functions/min.h: Idem
2018-07-19 Jack Wasey <jack@jackwasey.com>
* inst/include/Rcpp/r_cast.h: Error and abort if debugging for STRSXP
2018-07-24 Martin Lysy <mlysy@uwaterloo.ca>
* R/loadRcppClass.R: Search in R module for 'Class' instead of 'CppClass'.
* R/exposeClass.R: Fixed 'rename' argument to work as expected.
* inst/unitTests/runit.exposeClass.R: Added unit tests for the above.
2018-07-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2018-07-12 Jack Wasey <jack@jackwasey.com>
* R/Attributes.R: Use case-insensitive sort of filenames to make
RcppExports more deterministic
2018-07-10 Lionel Henry <lionel@rstudio.com>
* inst/include/Rcpp/exceptions.h: Move LongjumpException from the
Rcpp::internal namespace to the public Rcpp namespace. If you have a
catch-all statement like `catch (...)`, be sure to catch and rethrow
Rcpp::LongjumpException to prevent the R longjump from being ignored.
* inst/include/Rcpp/macros/macros.h (VOID_END_RCPP): idem
* src/attributes.cpp: idem
2018-07-09 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp: Skip 'tm_gmtoff' on AIX as well (thanks to PR 876
by @ayappanec)
2018-07-05 Lionel Henry <lionel@rstudio.com>
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Rename `RCPP_PROTECTED_EVAL`
to `RCPP_USE_UNWIND_PROTECT` because the new API is now more general
than just evaluation of R code.
* inst/NEWS.Rd: idem
* inst/unitTests/runit.interface.R: idem
* R/unit.tests.R (unitTestSetup): Pass extra arguments to sourceCpp()
for easier debugging.
* R/Attributes.R (.plugins[["unwindProtect"]]): You can now add
`[[Rcpp::plugins(unwindProtect)]]` in one of your source file to enable
the new unwind-protect mechanism easily. It appends
`-DRCPP_USE_UNWIND_PROTECT` to `PKG_CPPFLAGS`.
This is safer than using a `#define` because it ensures unwind-protect
is enabled in all compilation units, including RcppExports.cpp.
* inst/unitTests/cpp/stack.cpp: Use new plugin to enable unwind-protect.
2018-06-22 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Ensure R_BaseEnv is used
2018-06-21 Lionel Henry <lionel@rstudio.com>
* inst/include/Rcpp/api/meat/unwind.h: Extract unwind protection from
Rcpp::Rcpp_fast_eval() into Rcpp::unwindProtect(). Use this function
whenever you need to call a C function that might longjump, for instance
a function from R's C API. Rcpp::unwindProtect() will protect your C++
stack and throw a Rcpp::internal::LongJump exception to ensure all
destructors are called. The R longjump is then resumed once it is safe
to do so. This function powers Rcpp_fast_eval().
You can use Rcpp::unwindProtect() in two ways. First with a C-like
callback interface that takes a `SEXP (*)(void* data)` function pointer
and a `void*` data argument that is passed to the function. Second, if
you have C++11 enabled, Rcpp::unwindProtect() implements an
`std::function<SEXP(void)>` overload. You can pass any function object
or lambda function with the right signature.
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Idem
2018-06-15 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
2018-06-13 Filip Schouwenaars <filip@datacamp.com>
* inst/unitTests/runit.embeddedR.R: Evaluate in environment derived
of baseenv
2018-06-11 Romain Francois <romain@purrple.cat>
* inst/include/Rcpp/exceptions.h: Control call and stack display
after exception / stop
* inst/unitTests/cpp/Exceptions_nocall.cpp: new test
* inst/unitTests/runit.Exceptions_nocall.R: idem
2018-06-09 Qiang Kou <qkou@umail.iu.edu>
* inst/include/Rcpp/DataFrame.h: Use Rcpp_fast_eval, not Rcpp_eval
* inst/include/Rcpp/Environment.h: Idem
* inst/include/Rcpp/Function.h: Idem
* inst/include/Rcpp/Language.h: Idem
* inst/include/Rcpp/Module.h: Idem
* inst/include/Rcpp/Reference.h: Idem
* inst/include/Rcpp/exceptions.h: Idem
* inst/include/Rcpp/generated/Function__operator.h: Idem
* inst/include/Rcpp/proxy/FieldProxy.h: Idem
* inst/include/Rcpp/proxy/NamesProxy.h: Idem
* inst/include/Rcpp/r_cast.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
* inst/examples/SugarPerformance/sugarBenchmarks.R: Idem
* inst/unitTests/cpp/language.c: Idem
* inst/unitTests/cpp/misc.c: Idem
* src/barrier.c: Idem
2018-06-09 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.embeddedR.R: Suspend test for now
2018-06-08 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Roll minor version
* inst/include/Rcpp/config.h: Idem
* Contributing.md: Minor update coding style
2018-06-07 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/config.h: bump dev version
2018-06-06 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/RNGScope.h: Allow suspension of RNG synchronization
* inst/include/Rcpp/routines.h: Idem
* src/Rcpp_init.cpp: Idem
* src/api.cpp: Idem
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Evaluate in base env
2018-06-05 Jack Wasey <jack@jackwasey.com>
* inst/include/Rcpp/r_cast.h: Error and abort if debugging
2018-06-02 Lionel Henry <lionel@rstudio.com>
* inst/unitTests/runit.interface.R: New test for the case where
the client package was compiled without protected evaluation
enabled. On R 3.5, longjump exceptions thrown from imported
functions are still caught and dealt with properly by the client
package.
* inst/unitTests/runit.interface.R: Test both Rcpp_eval() and
Rcpp_fast_eval().
2018-06-01 Lionel Henry <lionel@rstudio.com>
* inst/unitTests/runit.interface.R: New tests for interfaces and unwind.
These tests build two packages, and that exports a function via
Rcpp::interfaces(cpp) and the other that calls it. The attributes are
regenerated and the packages rebuilt each time the tests are run. The
tests check in particular that the C++ stack is properly unwound when a
long jump occurs.
2018-06-01 Romain Francois <romain@purrple.cat>
* inst/include/Rcpp/Environment.h: Make Environment::new_child() const
2018-05-31 Lionel Henry <lionel@rstudio.com>
* inst/include/Rcpp/api/meat/Rcpp_eval.h: Fix protected evaluation.
Setting `RCPP_PROTECTED_EVAL` before including Rcpp.h enables a new R
3.5 API for safe evaluation of R code. R longjumps are now correctly
intercepted and rethrown. Thanks to this the C++ stack is now safely
unwound when a longjump is detected while calling into R code. This
includes the following cases: thrown errors, caught condition of any
class, long return, restart invokation, debugger exit. Note that this is
still experimental!
When `RCPP_PROTECTED_EVAL` is enabled, Rcpp_eval() uses the
protect-unwind API under the hood in order to gain safety. It is fully
backward-compatibile and still catches errors and interrupts to rethrow
them as typed C++ exceptions. If you don't need to catch those, consider
using Rcpp_fast_eval() instead to avoid the catching overhead.
Rcpp_fast_eval() is a wrapper around Rf_eval(). Unlike Rcpp_eval(), it
does not evaluate R code within tryCatch() and thus avoids the overhead
of wrapping and evaluating the expression in a tryCatch() call. When
Rcpp is compiled with a lower version than R 3.5, Rcpp_fast_eval() falls
back to Rf_eval() without any protection from long jumps, even when
`RCPP_PROTECTED_EVAL` is set. Either add R 3.5 to your `Depends` or make
sure the legacy Rcpp_eval() function is called instead of Rcpp_fast_eval()
when your package is compiled with an older version of R.
Note that Rcpp_fast_eval() behaves a bit differently to Rcpp_eval(). The
former has the semantics of the C function Rf_eval() whereas the latter
behaves like the R function base::eval(). This has subtle implications
for control flow. For instance evaluating a return() expression within a
frame environment returns from that frame rather than from the
Rcpp_eval() call.