forked from RcppCore/Rcpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
5606 lines (3801 loc) · 223 KB
/
ChangeLog
File metadata and controls
5606 lines (3801 loc) · 223 KB
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
2013-12-20 Kevin Ushey <kevinushey@gmail.com>
* inst/include/Rcpp/sugar/tools/mapcompare.h: Use a union for
type punning, to avoid compiler warning on aliasing. Also
switch to uint64_t to enforce 64bit comparison.
* inst/include/Rcpp/RObject.h: Add missing *this return for
RObject_impl::operator=
2013-12-20 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/RObject.h: Applied fix by Kevin Ushey (#88)
* inst/include/Rcpp/vector/Vector.h: Ditto (#89)
2013-12-01 Kevin Ushey <kevinushey@gmail.com>
* R/Rcpp.package.skeleton.R: Fixed bug relating to user-supplied
functions in 'list' argument
* inst/unitTests/runit.Rcpp.package.skeleton.R: Added unit tests
2013-11-30 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-FAQ.Rnw: Updated and corrected in several spots
2013-11-22 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/stats/nt.h: Correct expansion of (d|q|p)nt()
* inst/unitTests/runit.stats.R: Added unit tests for t dist with ncp
* inst/unitTests/cpp/stats.cpp: C++ side of expamded unit tests
2013-11-05 Dirk Eddelbuettel <edd@debian.org>
* .travis.yml: Added to support continuous integration on github
2013-10-28 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/protection/Armor.h : Armor::operator SEXP has to be const
for it to work properly with wrap.
2013-10-27 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.6
* inst/NEWS.Rd: Release 0.10.6
* inst/include/Rcpp/config.h: Release 0.10.5
* debian/*: Similarly updated for new release to Debian
2013-10-17 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: sourceCpp now correctly binds to Rtools 3.0 and 3.1
2013-10-16 Dirk Eddelbuettel <edd@debian.org>
* R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Deprecate
namespace argument which package.skeleton() no longer uses
* man/Rcpp.package.skeleton.Rd: Updated documentation accordingly
2013-10-16 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/api/meat/is.h : added missing implementation for
is<Language> and is<DottedPair>
2013-10-14 Romain Francois <romain@r-enthusiasts.com>
* inst/include/Rcpp/protection/protection.h: added
Shield/Shelter/Armor
* DESCRIPTION: bump to version 0.10.5.3
2013-10-12 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Depends): Rolled Depends: on R to "R (>= 3.0.0)" as
required by the vignette building code (with thanks to Uwe Ligges)
2013-10-08 Dirk Eddelbuettel <edd@debian.org>
* NAMESPACE: Export LdFlags as well as RcppLdFlags
* man/RcppLdFlags.Rd: Updated
2013-10-06 John M Chambers <jmc@r-project.org>
* R/exposeClass.R: avoid warning from unclosed file()
2013-10-06 John M Chambers <jmc@r-project.org>
* NAMESPACE: change classModule to exposeClass
* R/classModule.R: delete
* man/classModule.Rd: delete
* R/exposeClass.R: add
* man/exposeClass.Rd: add
* man/setRcppClass.Rd: update, clarify, recommend exposeClass()
2013-10-03 John M Chambers <jmc@r-project.org>
* R/classModule.R: new function to write module file for class
* man/classModule.Rd: documentation for new function classModule()
* NAMESPACE: export classModule
* R/loadModule.R: clean up an error message
* R/RcppClass.R: defaults for module consistent w. classModule()
* man/setRcppClass.Rd: add defaults, explain need for saveAs
2013-10-02 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/traits/is_na.h: More fixes thanks to Thomas Tse
2013-10-01 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/api/meat/is.h: Applied patch by Thomas Tse to
provide missing Character(Vector|Matrix)
* DESCRIPTION: Bump to development release 0.10.5.1
2013-09-28 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.5
* inst/NEWS.Rd: Release 0.10.5
* inst/include/Rcpp/config.h: Release 0.10.5
* debian/*: Similarly updated for new release to Debian
* vignettes/Rcpp-unitTests.Rnw: Switched to Charter font just like
the other eight vignettes
2013-09-28 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/module/Module_generated_CppMethod.h : more code bloat
to handle flexible semantics for passing parameters in methods
* include/Rcpp/module/Module_generated_Pointer_CppMethod.h : same
* inst/unitTests/cpp/Module.cpp: testing the above
* unitTests/runit.Module.R: testing
2013-09-27 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-unitTests.Rnw: Re-activated vignette
* DESCRIPTION: Version number bumped to 0.10.4.6
2013-09-27 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/module/Module_generated_CppFunction.h : regenerated to
use input_parameter traits for more flexible parameter passing strategy
* unitTests/cpp/Module.cpp : more testing
* unitTests/runit.Module.R : more testing
2013-09-22 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/sugar/functions/diff.h: Declare set_previous
const and add a missing traits:: prefix before is_na
* inst/unitTests/cpp/sugar.cpp: Unit test for diff() of int. vector
* inst/unitTests/runit.sugar.R: Invoke new test
2013-09-21 Dirk Eddelbuettel <edd@debian.org>
* vignettes/Rcpp-modules.Rnw: Remove vignette-local compilations
which again caused problems for the Windows builds at R-Forge and
win-builder. Unit tests comprise the same functionality and pass.
* vignettes/Rcpp-attributes.Rnw: Refresh look by using Bitstream
Charter, and microtype package (cf http://www.khirevich.com/latex)
* vignettes/Rcpp-extending.Rnw: Idem
* vignettes/Rcpp-FAQ.Rnw: Idem
* vignettes/Rcpp-modules.Rnw: Idem
* vignettes/Rcpp-package.Rnw: Idem
* vignettes/Rcpp-quickref.Rnw: Idem
* vignettes/Rcpp-sugar.Rnw: Idem
2013-09-20 Dirk Eddelbuettel <edd@debian.org>
* R/Module.R: More ':::' cleanups to make R CMD check happy
* R/RcppClass.R: Ditto
* NAMESPACE: Some new exports related to this
* man/setRcppClass.Rd: Document loadRcppClass()
* man/Rcpp-internal.Rd: Added in order to document
cpp_object_initializer() and cpp_object_dummy()
2013-09-19 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/longlong.h: Unbreak long long by making it (as
before) conditional on g++ (or clang) as well as C++11. The condition
can be OR'ed with another suitably-defined variable, but the default
has to be off as CRAN compliance has to remain the standard
2013-09-19 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/longlong.h: isolate all handling of long long
in a separate file which we might choose not to include by default
* include/Rcpp/traits/r_sexptype_traits.h : unsigned int wrapped as
REALSXP long standing feature request from Murray.
* R/Attributes.R : Added the helper demangle and sizeof functions
* man/demangle.Rd : Documentation for demangle and sizeof
* include/Rcpp/platform/compiler.h : less restritive support of long
long types. But still behind a test for gcc and a test for the
availability of the type, and the __extension__. -pedantic does not
warn about it
2013-09-18 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Don't search the inline package as a fallback when
loading plugins for the the Rcpp::plugins attribute
2013-09-18 Romain Francois <romain@r-enthusiasts.com>
* vignettes/Rcpp-package.Rnw: Updating the vignette. Setting
attributes to TRUE by default.
* R/Rcpp.package.skeleton.R: Setting attributes to TRUE by
default. This is what we should encourage people to use.
* include/Rcpp/as.h: add as<char> specialization
* include/Rcpp/sugar/functions/diff.h : rework the implementation of
diff so that it works even when we don't know the previous value
* unitTests/runit.sugar.R :
* unitTests/cpp/sugar.cpp :
* include/Rcpp/sugar/functions/range.h : factored out of minmax.h
* include/Rcpp/sugar/functions/min.h : factored out of minmax.h
* include/Rcpp/sugar/functions/max.h : factored out of minmax.h
* TODO : 3 less items
2013-09-17 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Call inlineCxxPlugin and Rcpp.plugin.maker without
qualification rather than with ':::'
2013-09-17 Dirk Eddelbuettel <edd@debian.org>
* NAMESPACE: Export RcppLdFlags which is often used to build Rcpp
* man/RcppLdFlags.Rd: Added required manual page
* R/Attributes.R: Call RcppLdFlags() via '::' instead of ':::'
* R/SHLIB.R: Ditto
* R/inline.R: Ditto
* vignettes/Rcpp-FAQ.Rnw: Add %\VignetteEngine{highlight::highlight}
* vignettes/Rcpp-attributes.Rnw: Idem
* vignettes/Rcpp-extending.Rnw: Idem
* vignettes/Rcpp-modules.Rnw: Idem
* vignettes/Rcpp-package.Rnw: Idem
* vignettes/Rcpp-quickref.Rnw: Idem
* vignettes/Rcpp-sugar.Rnw: Idem
* vignettes/Rcpp-package.Rnw: Altered to make use of highlight
package; also no longer build embedded demo package (which upsets R
CMD check under R-devel)
2013-09-16 JJ Allaire <jj@rstudio.org>
* R/Attributes.R : Remove calls to non-exported functions from the tools package
2013-09-16 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/internal/Exporter.h : Specific handling of containers
(std::vector, std::deque, and std::list so that we use their faster
range constructor when we can, and so let the STL optimize how data
is copied
* include/Rcpp/api/meat/export.h : Implementation of the above
* include/Rcpp/vector/Vector.h : added Vector( const char* ) ctor
* DESCRIPTION : bump to 0.10.4.5 (for RcppExtras)
2013-09-15 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/InputParameter.h (Rcpp): Add 'const' case
* inst/unitTests/cpp/Vector.cpp: New unit tests for std::vector
conversions, using both int and double arguments
* inst/unitTests/runit.Vector.R: R complement of these tests
2013-09-15 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/InputParameter.h : added the traits::input_parameter
trait to add another layer of abstration.
* include/Rcpp/macros/module.h : taking advantage of input_parameter
to specialize how to work with module objects
* src/attributes.cpp : using traits::input_parameter<T> instead of
InputParameter<T>
2013-09-14 Dirk Eddelbuettel <edd@debian.org>
* src/attributes.cpp : Precede closing '>' by space to avoid '>>'
* inst/include/Rcpp/platform/compiler.h: Further refine #if test for
'long long' by conditioning __LP64__ on also using clang/llvm
* src/attributes.cpp : Precede closing '>' by space to avoid '>>'
2013-09-13 Romain Francois <romain@r-enthusiasts.com>
* src/api.cpp : added "long long" to the capabilities function.
* include/Rcpp/platform/compiler.h : demangling is definitely
available on all mac versions using gcc. No point is testing for OSX
version.
* include/Rcpp/InputParameter.h : extra layer of abstraction to allow
for custom handling of references etc ... used in RcppArmadillo
* src/attributes.cpp : using InputParameter
* DESCRIPTION: bump to 0.10.4.4
2013-09-12 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/platform/compiler.h : patch submitted by Murray for
better support of long long type.
* include/Rcpp/platform/compiler.h : gcc 4.2.1 has tr1/unordered_map
and tr1/unordered_set. Previous test was for gcc 4.4.0 for some
reason
2013-08-31 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/*: Moved all vignettes to vignettes/*
* vignettes/*: Minor updates to some vignettes
2013-08-22 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/is_primitive.h : new trait to identify if a
type is primitive, this is a shortcut of using r_type_traits and
compare it to r_type_primitive_tag
* include/Rcpp/traits/r_type_traits.h : new tag r_type_pair_tag to
handle wrapping map<KEY, VALUE> where KEY can be converted to String
and VALUE can wrap itself
* include/Rcpp/internal/wrap.h : handling map<KEY, VALUE> and vector<T>
where T is a class handled by modules
* include/Rcpp/api/meat/wrap.h : implementations to handle map<KEY,
VALUE>
* unitTests/cpp/wrap.cpp : more tests for map<KEY, VALUE> with KEY
not a string
* unitTests/runit.wrap.R : more tests for map<KEY, VALUE> with KEY
not a string
* include/Rcpp/internal/export.h : added export_range__dispatch for
the r_type_generic_tag tag. Meaning we can now use as< vector<T> >
where T is not a primitive
* include/Rcpp/api/meat/export.h : implementation in meat because it needs as
2013-08-01 Romain Francois <romain@r-enthusiasts.com>
* unitTests/cpp/wstring.cpp: fix to re-enable wstring test suite.
* unitTests/runit.wstring.R: re-enable the wstring test suite.
2013-07-31 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Bump development version to 0.10.4.3
* inst/doc/Makefile: Rejigged pdf builds in another attempt at
pleasing whatever runs the builds on r-forge. L'espoir fait vivre.
2013-07-25 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/functions/is_na.h : added is_na for DateVector and
DatetimeVector
* include/Rcpp/Date.h : added is_na method
* include/Rcpp/Datetime.h : added is_na method
* unitTests/cpp/dates.cpp : removed the ignoreme useless parameters
* unitTests/runit.Date.R : idem
* src/attributes.cpp: collecting functions in a FunctionMap. Will use this
for dispatching
2013-07-24 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/is_module_object.h: trait class that identifies
at compile time if a given type is a type exposed by a module,
i.e. if we used the RCPP_EXPOSED_AS macro
* include/Rcpp/is.h: able to identify if an object is of a given type
exposed by a module (supports references and pointers too).
* src/Module.cpp: implementation of is_module_object_internal that
checks if an object is of a given typeid, used by is<T> where T is
module exposed
2013-07-23 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/as.h: support as<T*> and as<const T*> where T is a class
exposed by modules
* include/Rcpp/macros/module.h: idem
* include/Rcpp/traits/un_pointer.h: handle the object<T> case
* include/Rcpp/traits/r_type_traits.h: adding traits to help the with
as<T*> and as<const T*>
* unitTests/runit.Module.R: testing as<T*> and as<const T*>
* unitTests/cpp/Module.cpp: idem
* src/attributes.cpp: take advantage of a more flexible as<>. The
Type class gains a full_name() method that shows const-ness and
reference-ness
2013-07-17 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/instantiation.h: added the DoubleVector alias
to NumericVector
* include/Rcpp/is.h: added is template function
2013-07-11 Dirk Eddelbuettel <edd@debian.org>
* R/Attributes.R: Add an OpenMP plugin
2013-07-03 Romain Francois <romain@r-enthusiasts.com>
* unitTests/runit.modref.R: using sourceCpp
* unitTests/runit.Module.R: using sourceCpp
* unitTests/runit.Vector.R: no more uses of inline
* unitTests/runTests.R: we don't need inline no more for testing
* doc/unitTests/Rcpp-unitTests.R: idem
2013-07-02 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/Vector.h: fill__dispatch was mispelled (as
fill_dispatch) for the non trivial case, so it did not work
* unitTests/runit.Matrix.R: using sourceCpp
* unitTests/runit.misc.R: using sourceCpp
* unitTests/runit.wrap.R: using sourceCpp
* unitTests/runit.support.R: using sourceCpp
* unitTests/runit.rmath.R: using sourceCpp
* unitTests/runit.RObject.R: using sourceCpp
* unitTests/runit.stats.R: using sourceCpp
* unitTests/runit.XPTr.R: using sourceCpp
* unitTests/runit.Vector.R: testing List( int, IntegerVector ) which
eventually uses fill__dispatch
* include/Rcpp/traits/r_type_traits.h: support for as<T&> and as<const T&>
when T is module exposed
* include/Rcpp/as.h: as<T&> and as<const T&> when T is module exposed
* include/Rcpp/module/Module_generated_CppFunction.h: removed the
remove_const_and_reference since as<T&> and as<const T&> is supported
* src/attributes.cpp: automatically populating the environment with
the content of a module, rather than make the module object available
in the environment
2013-07-01 Romain Francois <romain@r-enthusiasts.com>
* R/unit.test.R: added helper function Rcpp:::unit_test_setup to avoid
some boiler plate code in unit test files. See e.g. runit.Function.R for
an example
* unitTests/runit.as.R: using sourceCpp
* unitTests/runit.Function.R: using sourceCpp
* unitTests/runit.DataFrame.R: remove dependency on datasets
2013-06-25 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp: Also test for #defined(__sun) when checking for system
lacking a valid backtrace() function for stack traces
2013-06-25 Romain Francois <romain@r-enthusiasts.com>
* DESCRIPTION : devel version 0.10.4.1
* src/Module.cpp : bring a simplified version of RCPP_FUNCTION 1 .. 4
* unitTests/runit.macros.R : removed, as RCPP_FUNCTION ... are deprecated
* include/Rcpp/macros/preprocessor_generated.h : deprecating RCPP_FUNCTION_... macros
2013-06-24 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/platform/compiler.h: Note the useful wiki page
http://sourceforge.net/p/predef/wiki/Home with #defines for OSs,
compilers, libraries and more
2013-06-23 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.4
* inst/NEWS.Rd: Release 0.10.4
* inst/include/Rcpp/config.h: Release 0.10.4
* debian/*: Similarly updated for new release to Debian
2013-06-19 Romain Francois <romain@r-enthusiasts.com>
* inst/NEWS.Rd: Document planned depreciation of old RCPP_FUNCION_*
macros which are redundant thanks to Rcpp Modules and Rcpp Attributes
* include/Rcpp/vector/string_proxy.h : added operator
string_proxy::operator==( const string_proxy& ) so that me may
compare x[i] and y[i] (x and y being CharacterVector)
* include/Rcpp/module/Module_generated_Pointer_CppMethod.h : remove
const and reference to OUT type in several places, that was causing
problems e.g. on making the Rcpp-modules vignette
* include/Rcpp/module/Module_generated_CppMethod.h : idem
2013-06-18 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/module/Module_generated_CppFunction.h : using
BEGIN_RCPP / END_RCPP as suggested by Ben North on Rcpp-devel. This
should reduce cross dll exceptions issues on windows.
2013-06-14 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/stats/random/runif.h : removed unused max variable
* include/Rcpp/stats/random/rf.h : removed unused n1 and n2 variables
2013-06-13 Romain Francois <romain@r-enthusiasts.com>
* src/Module.cpp: small buglet in macro. Reported on Rcpp-devel
2013-06-12 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Makefile: Force serial build of vignettes in yet another
effort to not let R-Forge fail when trying to rebuild them
2013-06-08 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp.bib: Updated entries
* inst/doc/Rcpp-introduction.Rnw: Added pointer to 'Rcpp Attributes'
vignette, as well as to 'Rcpp Sugar' and 'Rcpp Modules' vignettes.
* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Idem
2013-06-06 Romain Francois <romain@r-enthusiasts.com>
* unitTests/cpp/Vector.cpp : more unit tests for erase
* unitTests/runit.Vector.R : more unit tests for erase
2013-06-05 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/api/meat/Vector.h : fixed Vector<>::erase(iterator,
iterator) and correct return value of erase
* unitTests/cpp/Vector.cpp : added regression test for the above fix
* unitTests/runit.Vector.R : added regression test for the above fix
* include/Rcpp/module/class.h : removed useless typedef
2013-05-31 Romain Francois <romain@r-enthusiasts.com>
* unitTests/runit.sugar.R : new test for is_infinite and is_nan
* unitTests/cpp/sugar.cpp : new test for is_infinite and is_nan
* include/Rcpp/sugar/functions/is_infinite.h : new function
is_infinite
* include/Rcpp/traits/is_infinite.h : new function is_infinite
* include/Rcpp/sugar/functions/is_nan.h : new function is_nan
* include/Rcpp/traits/is_nan.h : new function is_nan
2013-05-30 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/functions/all.h : bug fixed for the NA=false
case
* include/Rcpp/sugar/functions/is_na.h : header
* include/Rcpp/sugar/functions/is_finite.h : added sugar is_finite
function
* include/Rcpp/traits/is_finite.h : added is_finite trait
* unitTests/runit.sugar.R : added test for is_finite
* unitTests/cpp/S4.cpp : new cpp file to host S4 unit tests
* unitTests/runit.S4.R : rework unit tests to use attributes
* unitTests/runit.Reference.R : unit tests for Rcpp::Reference
* unitTests/cpp/Reference.cpp : unit tests c++ code
2013-05-26 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp: Minor tweak for internal formatting
2013-05-24 J.J. Allaire <jj@rstudio.org>
* R/Attributes.R: Disallow compilation for files that don't have
extensions supported by R CMD SHLIB
2013-05-21 J.J. Allaire <jj@rstudio.org>
* R/Attributes.R: Lookup plugins in inline package if they aren't
found within the Rcpp package
* man/pluginsAttribute.Rd: Documentation updates.
2013-05-17 J.J. Allaire <jj@rstudio.org>
* src/attributes.cpp: prevent gc problems with RNGScope destructor
in attributes generated functions; don't include package header
file in generated cpp exports file
* src/api.cpp: use unsigned long for RNG scope counter
2013-04-28 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp (Rcpp): No longer use Rd_format(Real|Complex) which is
a very verboten R internal; formatting to string is now very bare
bones
2013-04-27 Dirk Eddelbuettel <edd@debian.org>
* src/Makevars: Improved use as well as a new possible overrride of
/usr/bin/install_name_tool on OS X, once again contributed by Simon
2013-04-16 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/functions/na_omit.h : new function na_omit to
remove missing values from a vector.
* src/attributes.cpp : portability fix (from Martyn Plummer)
* include/Rcpp/api/meat/Vector.h : portability fix (from Martyn
Plummer)
2013-04-14 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/is_na.h: complex version did not work.
added default for VECSXP and EXPRSXP versions
2013-04-02 Dirk Eddelbuettel <edd@debian.org>
* src/Date.cpp: Corrected operator-() for Date and Datetime objects
to behave more inline with C++ standard
* inst/include/Rcpp/Date.h: operator-() for Dates now returns a
double as the date itself is fractional double since epoch
* inst/unitTests/cpp/dates.cpp: New file with C++ portion of tests
factored out from R unit test file
* inst/unitTests/runit.Date.R: Rewritten for use with new C++ tests
2013-04-02 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/generated/DataFrame_generated.h : DateFrame::create
uses List::create and then feeds to the DataFrame constructor, which
seems to work better than the previous approach of calling back to the
data.frame function in R
* include/Rcpp/DataFrame.h : private function from_list, to help
the new implementation of DataFrame::create
* src/api.cpp : impl of DataFrame::from_list
2013-03-31 Dirk Eddelbuettel <edd@debian.org>
* debian/control (Build-Depends): Modified for Debian-only rebuilds
under (rc version of upcoming) R 3.0.0 release
* debian/changelog: Entry for Debian build 0.10.3-2
2013-03-29 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp (Rcpp): Re-enable coerce_to_string<>() for real and
complex types with Poor Man's Versions (TM) of Rf_EncodeReal and
Rf_EncodeComplex which the Powers That Be disallow from being used
2013-03-27 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/MatrixRow.h : removed unintended printed
messaged (reported on Rcpp-devel by Michaeal Love)
2013-03-23 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.3
* inst/NEWS.Rd: Release 0.10.3
* inst/include/Rcpp/config.h: Release 0.10.3
* debian/*: Similarly updated for new release to Debian
2013-03-21 Dirk Eddelbuettel <edd@debian.org>
* inst/unitTests/runit.wstring.R (test.as_vector_wstring): replace
the "€" symbol with its unicode equivalent "\u20ac"
2013-03-20 Dirk Eddelbuettel <edd@debian.org>
* inst/doc/Rcpp.bib: Updated versions for several CRAN packages
* inst/CITATION: Add information about forthcoming book
2013-03-20 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/is_wide_string.h : fixes to re-enable wrap(
vector<char> ) and wrap( vector<wchar_t> ), needed to support package
httpuv
* include/Rcpp/internal/wrap.h : same
2013-03-19 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/config.h: Define RCPP_USE_NEW_PRESERVE_RELEASE
with default value of 0 to enable/disable new preserve/release code
* src/api.cpp: Bracket the new Rcpp object preserve / release code
with the new variable RCPP_USE_NEW_PRESERVE_RELEASE and fall back
to R behaviour if not set
2013-03-12 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/Module.h: added virtual destructor to CppProperty
2013-03-08 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/platform/compiler.h: Improved g++ version
detection with thanks to Yan Zhou
2013-02-28 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp: standalone roxygen chunks (e.g. to document
a class) are now transposed into RcppExports.R
2013-02-27 JJ Allaire <jj@rstudio.org>
* R/Rcpp.package.skeleton.R: eliminated spurious empty hello world
function definition in Rcpp.package.skeleton
2013-02-24 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: add global package include file to RcppExports.cpp
if it exists; handle Rcpp module definitions in sourceCpp
* src/attributes.cpp: handle Rcpp module definitions in sourceCpp
* man/sourceCpp.Rd: documentation updates
2013-02-20 Dirk Eddelbuettel <edd@debian.org>
* inst/include/Rcpp/platform/compiler.h: As deteced by Gong-Yi Liao,
we need to test for __LONG_LONG_MAX__ (defined in limits.h) and not
LONG_LONG_MAX (defined climits which we do not include)
2013-02-19 Romain Francois <romain@r-enthusiasts.com>
* src/api.cpp : more debugging
* include/RcppCommon.h : move sexp_to_name here. Used in some debugging
* include/Rcpp/vector/MatrixRow.h : fix const version of operator[]
* include/Rcpp/vector/Vector.h : more debugging
* include/Rcpp/internal/wrap.h : more debugging. more dispatch.
2013-02-18 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/string_proxy.h : only declare operator+=
* include/Rcpp/String.h : define string_proxy::operator+=, now that
String is defined.
2013-02-15 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: Merge existing values of build related
environment variables for sourceCpp
2013-02-12 Romain Francois <romain@r-enthusiasts.com>
* src/api.cpp : More careful about RCPP_PROTECTION_STACK init
2013-02-08 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/as.h: re-enable as<std::string>(CharacterVector[int])
2013-02-07 Dirk Eddelbuettel <edd@debian.org>
* inst/THANKS: Adding Ben North for the help / bug report on iterators
2013-02-05 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/string_proxy.h : more wstring support
* include/Rcpp/XPtr.h : more debugging. removed delete_finalizer
which is no longer used
2013-02-05 JJ Allaire <jj@rstudio.org>
* src/attributes.cpp : ensure that line comments invalidate block
comments when parsing for attributes
2013-02-04 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/r_type_traits.h : make the
r_type_pairstring_string_tag tag more general, handling wstring as
well as string
* include/Rcpp/internal/wrap.h : using make_charsexp, a more generic
version of charsexp_from_wstring.
* include/Rcpp/as.h : more support fot wstring
* include/Rcpp/internal/wrap.h : rework the support of wstring
* include/Rcpp/internal/export.h : added as_string_elt to rework the
support of wstring
* include/Rcpp/traits/char_type.h : new trait to help the wstring
support
* include/Rcpp/String.h : added some support for wstring
* include/Rcpp/vector/string_proxy.h : adapt to add wstring support
* unitTests/runit.wstring.R : unit tests for wstring support
* unitTests/cpp/wstring.cpp : unit tests for wstring support
2013-02-03 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/traits/wrap_type_traits.h : support for wrap( wstring )
* include/Rcpp/internal/export.h : exporting wstring and containers
of wstring
* include/Rcpp/internal/wrap.h : support for wrap( wstring ) and
containers of wstring
* include/RcppCommon.h : definition of charsexp_from_wstring
* src/api.cpp: implementation of charsexp_from_wstring
2013-02-02 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/vector/MatrixRow.h: correct operator++(int) and
operator--(int)
* include/Rcpp/internal/Proxy_Iterator.h: correct operators ++ and --
* include/Rcpp/sugar/Range.h: correct operators ++ and --
* include/Rcpp/sugar/tools/iterator.h: correct operators ++ and --
* include/Rcpp/vector/MatrixBase.h : correct operators ++ and --
* include/Rcpp/vector/VectorBase.h : correct operators ++ and --
* unitTests/cpp/Vector.cpp: new unit tests
* unitTests/runit.Vector.R: new unit tests
* src/api.cpp: comment dropTrailing0 which is not used anymore
* include/Rcpp/as.h: support for as<wstring>
* include/Rcpp/internal/export.h: more support for wstring
2013-01-15 Dirk Eddelbuettel <edd@debian.org>
* src/api.cpp (Rcpp): Commented-out coerce_to_string() for real and
complex arguments as R-devel (as of today) dislikes use of non-API
functions Rf_EncodeComplex’, ‘Rf_EncodeReal’, ‘Rf_formatComplex’
* .Rbuildignore: Added inst/include/Rcpp/preprocessor and
sugar/functions/impl which are currently empty directories
* src/Timer.cpp (Rcpp): Avoid a 'long long' warning from a const
2014-01-15 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: don't add source directory as an include path for
sourceCpp; fix duplicate inclusion of Rcpp directory
* R/RcppLdpath.R: don't quote paths on windows
2014-01-14 JJ Allaire <jj@rstudio.org>
* DESCRIPTION: bump version to 0.10.2.3
* R/Attributes.R: handle build paths with spaces on windows
* R/RcppLdpath.R: handle build paths with spaces on windows
* R/tools.R: handle build paths with spaces on windows
* src/Timer.cpp: fix OSX build (remove __MACH__ define check)
* R/: set svn eol-style native for source files
* src/: set svn eol-style native for source files
* inst/include/: set svn eol-style native for source files
2014-01-13 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: use plugin includes in cppFunction; stop with
explicit error on Windows then the Rcpl libPath or sourceCpp target
file contains spaces in it's path; add source file directory as an
include path for sourceCpp; special handling for sourceCpp include
paths on windows
* man/pluginsAttribute.Rd: clarify which fields of plugin are
used by sourceCpp
2014-01-12 JJ Allaire <jj@rstudio.org>
* DESCRIPTION: bump version to 0.10.2.2
* NAMESPACE: add registerPlugin function
* R/Attributes.R: add registerPlugin function; add plugins parameter
to cppFunction
* man/cppFunction.Rd: documentation updates
* man/pluginsAttribute.Rd: documentation updates
* man/registerPlugin: documentation updates
2014-01-11 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: initial support for Rcpp::plugins attribute; add
built-in cpp11 plugin
* src/attributes.cpp: initial support for Rcpp::plugins attribute
2014-01-04 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: null check on pkginfo depends field
2013-01-02 Dirk Eddelbuettel <edd@debian.org>
* src/Timer.cpp (Rcpp): Applied refinement of previously applied
patch re *BSD builds, see http://bugs.debian.org/697032 for more
2012-12-30 Dirk Eddelbuettel <edd@debian.org>
* src/Timer.cpp (Rcpp): Added defined() tests for more *BSD family
members as the build also failed with the FreeBSD Kernel on Debian
2012-12-27 Dirk Eddelbuettel <edd@debian.org>
* src/Timer.cpp (Rcpp): Applied patch kindly supplied by Rainer
Hurling to support compilation on FreeBSD
2012-12-26 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: return invisibly from void functions
* src/attributes.cpp: return invisibly from void functions
2012-12-21 Romain Francois <romain@r-enthusiasts.com>
* NAMESPACE : remove C++ObjectS3 and C++ClassRepresentation classes
* R/00_classes.R: remove unused S4 classes
* src/internal.h: added Rcpp_PreserveObject, Rcpp_ReleaseObject and
Rcpp_ReplaceObject as replacements to R_ versions. The back end of the Rcpp_
version is a list (generic vector) instead of a linked list and
is faster
* src/Module.cpp: more debugging
* src/barrier.cpp: added get_Rcpp_protection_stack used in the new
stack system for protecting/releasing objects in Rcpp
* src/api.cpp: implemetation of Rcpp_PreserveObject, Rcpp_ReleaseObject
and Rcpp_ReplaceObject. RObject::setSEXP now uses the new system.
The RObject(SEXP) constructor now directly uses Rcpp_PreserveObject
More debugging for the RObject class
Changes in api classes to better use the new protection system
* unitTests/cpp/language.cpp: hosting unit test in sourceCpp form
* unitTests/runit.Language.R: update unit tests
* unitTests/runit.Module.client.package.R: remove code that has been
commented for ages
* include/Rcpp/DottedPair.h: better use of the RObject constructor
* include/Rcpp/vector/Vector.h: better use of the RObject constructor
* include/Rcpp/vector/Matrix.h: Using update_matrix instead of the virtual
update which has been removed.
* include/Rcpp/Module.h : more careful about types and constructors
* include/Rcpp/XPtr.h: more debugging
* include/Rcpp/macros/debug.h: more debugging macros
* include/Rcpp/module/class_Base.h: using classes instead of SEXP
* include/Rcpp/module/class.h: using classes instead of SEXP
* include/Rcpp/generated/Language__ctors.h : using update_language_object
instead of the virtual update which has been removed.
* include/Rcpp/api/meat/Vector.h : using update_vector instead of the
virtual update that has been removed, more debugging
* include/Rcpp/api/meat/Matrix.h : more debugging, using update_matrix
instead of the virtual update which has been removed
* include/Rcpp/Language.h : added update_language_object to
replace update which was virtual
* include/Rcpp/RObject.h : only keep declarations here
2012-12-21 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION: Release 0.10.2
* inst/NEWS.Rd: Release 0.10.2
* inst/include/Rcpp/config.h: Release 0.10.2
* debian/*: Similarly updated for new release to Debian
* inst/doc/unitTests/Rcpp-unitTests.R: added one more variable so
that unitTest vignette can be built against new sourceCpp based files
2012-12-15 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/exceptions.h: added exception_to_r_condition
* exceptions.cpp: new implementation of forward_exception_to_r that
directly calls stop rather than a function in Rcpp
* R/exceptions.R: remove code rendered useless
* src/Rcpp_init.c: less exports
* src/api.cpp: less going back to the R side
2012-12-14 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/sugar/functions/clamp.h: clamp was pretty wrong
* unitTests/runit.sugar.R: new unit test for clamp
* unitTests/cpp/sugar.cpp: new unit test for clamp
2012-12-12 JJ Allaire <jj@rstudio.org>
* src/Attributes.R: always generate new dynlib file for rebuild=TRUE
* src/attributes.cpp: set svn:eol-style to native; always generate
new dynlib file for rebuild=TRUE; don't declare attributes constant
strings extern
2012-12-12 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/Symbol.h: c_str becomes const and added
Symbol::operator==(const char* )
2012-12-11 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: always print output when shared library is not
created
* src/attributes.cpp: consolidate attributes into single file
* src/Attributes.cpp: consolidate attributes into single file
* src/AttributesGen.h: consolidate attributes into single file
* src/AttributesGen.cpp: consolidate attributes into single file
* src/AttributesParser.h: consolidate attributes into single file
* src/AttributesParser.cpp: consolidate attributes into single file
* src/AttributesTypes.h: consolidate attributes into single file
* src/AttributesUtil.h: consolidate attributes into single file
* inst/NEWS.Rd: additional notes on changes to attributes
* inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: update for changes to
attributes in 0.10.2
2012-12-11 Romain Francois <romain@r-enthusiasts.com>
* include/Rcpp/String.h: missing operator +=( const StringProxy& )
* include/Rcpp/sugar/functions/strings/strings.h : string sugar functions
* include/Rcpp/sugar/functions/strings/collapse.h : collapse
function, implementing paste( . , collapse = "" )
* include/Rcpp/complex.h: operator==( Rcomplex, Rcomplex )
* src/api.cpp: implementation of operator==(Rcomplex, Rcomplex)
* include/Rcpp/vector/Vector.h: added const version of operator[](string)
2012-12-10 JJ Allaire <jj@rstudio.org>
* R/Attributes.R: warn when depends attribute is not matched with
required entries in package description; add Rtools to PATH for
duration of sourceCpp
* src/Attributes.cpp: warn when depends attribute is not matched with
required entries in package description
* src/AttributesGen.cpp: prune unnecessary includes from RcppExports
* src/Timer.cpp: fix timer build issues on windows
2012-12-10 Romain Francois <romain@r-enthusiasts.com>
* src/api.cpp: import r_cast.cpp, coerce.cpp, RcppCommon.cpp
and debugging.cpp content
* include/platform/compiler.h: put here compiler specific deduction things
* src/internal.h: new header to host function declarations for
routines that are not exported into Rcpp.h
* src/Rcpp_init.c: export capabilities (renamed rcpp_capabilities)
* include/Rcpp/traits/traits.h: master file for all traits includes
* include/Rcpp/macros/macros.h: master file for all macros includes
* include/Rcpp/DataFrame.h: just have declaration for DataFrame
* include/Rcpp/Benchmark/Timer.h: move it into the Rcpp:: namespace
* include/Rcpp/cache.h: clean
* include/Rcpp/Reference.h : field was declared const and should not
be. added a ConstFieldProxy class for read only use
2012-12-09 Romain Francois <romain@r-enthusiasts.com>
* src/api.cpp: merge many .cpp files here to reduce compile time
* src/barrier.cpp: merge with cache.cpp to reduce compile time
* include/Rcpp/exceptions.h: drop forward_uncaught_exceptions_to_r
* src/exceptions.cpp: drop forward_uncaught_exceptions_to_r
* src/Date.cpp: merge all Date related files
2012-12-08 Romain Francois <romain@r-enthusiasts.com>
* src/Timer.cpp: implementation of Timer
* include/Rcpp/Benchmark/Timer.h: internal performance timer, based on
the code from the microbenchmark package
* include/Rcpp/api/meat/Matrix.h: move more in Matrix meat
* src/Date.cpp: import the code from posixt.cpp
2012-12-07 JJ Allaire <jj@rstudio.org>
* src/AttributesGen.cpp: use __ prefix for variables in generated
code; add RNGScope for attribute exported functions.
2012-12-07 Romain Francois <romain@r-enthusiasts.com>
* src/random.cpp: instantiations of random generators here
* include/Rcpp/stats/random/random.h: only have declarations of
random generators here. Rework the Generator template so that it
inherits RNGScope to provide automatic calls to GetRNGstate and
PutRNGstate
2012-12-06 JJ Allaire <jj@rstudio.org>