-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathChangeLog
1574 lines (1279 loc) · 48.9 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
Author: Girish Palya <[email protected]>
Date: Wed, 29 Nov 2023 01:31:02 +0100
Remove cran errors
M src/Makevars
M src/Makevars.win
M tools/RE2Syntax.md
commit a9e9565c42593e4b6cba6bd2f051d5737b55d5c3
Author: Girish Palya <[email protected]>
Date: Tue Nov 28 18:23:21 2023 +0100
Remove compile error from Rprintf
-Wformat-security was removed
M DESCRIPTION
Update version
M src/re2google/util/logging.h
Add format string parameter
commit a7244f2ec726df048d656218f943a41e1722b8ba
Author: Girish Palya <[email protected]>
Date: Tue Mar 29 10:32:39 2022 +0200
Fix linux compile issue & Rcpp fn signature
Fix linux compile issue where unique_ptr was not picked up from
GNU STL with g++.
Fix Rcpp::compileAttributes() complaint with R_PosInf.
M DESCRIPTION
Update date and use newer Rcpp
M src/re2_match_cpp.cpp
M src/re2_re2proxy.h
Fix compile issue on linux
M src/re2_split.cpp
Use new export signature
M src/util/GNUmakefile
Bumped version of tarball
commit b871778bffc7237f64877cbd45ae554d6bff2362
Author: Girish Palya <[email protected]>
Date: Wed Mar 16 10:38:24 2022 +0100
Updated for R-devel/R 4.2 to work on Windows
Patched file so that R-devel/R 4.2 to work on Windows, following the
recent switch to UCRT and Rtools42.
Bumped minor version number.
M DESCRIPTION
M src/re2google/util/mutex.h
commit 80b212f289c4ef75408b1510b9fc85e6cb9a447c
Author: Girish Palya <[email protected]>
Date: Tue May 11 21:46:21 2021 +0200
Fix UBSAN and Valgrid issues requested by CRAN
Flexible arrays do not play nice with CRAN compiler options. Earlier
change to convert array[] into array[1] caused UBSAN to fail with
'index 1 out of bounds' message.
M src/Makevars
Enabled valgrind flag that initializes arrays and stops valgrind from
complaining.
M src/re2google/re2/dfa.cc
Changed flexible array into a pointer (to an array). This fixes UBSAN
problem.
M src/re2google/re2/onepass.cc
Changed flexible array into a size 256 array. This is the maximum size
this array can have. In reality the size of array is much smaller, but
this does not create any memory penality since array pointer is cast
to a preexisting data.
M tests/GNUmakefile
Removed repeat test.
commit 6c9e9f2a4e8348e36c6db7d85f6d4a5c36c7f82f
Author: Girish Palya <[email protected]>
Date: Sun May 9 07:39:59 2021 +0200
Enhance gitignore
M .gitignore
M src/re2_do_match.cpp
commit dc3e1789d347d51d4c5892e9ddad84a6e6532295
Author: Girish Palya <[email protected]>
Date: Sun May 9 07:35:22 2021 +0200
Edit readme file for clarity
M tests/GNUmakefile
M tests/README
commit d8e41740a19a1e2896f00df89d1007796763c98b
Author: Girish Palya <[email protected]>
Date: Mon May 3 23:37:58 2021 +0200
Fix compiler warning
Fix compiler warning as requested by CRAN and minor edits to readme.
M src/re2google/re2/walker-inl.h
Fix clang warning: ISO C++ requires the name after '::~' to be
found in the same scope as the name before '::~' [-Wdtor-name]
M DESCRIPTION
M src/util/GNUmakefile
Up the release
M README.Rmd
M README.md
M vignettes/re2_intro.Rmd
Edits.
commit 53bcd4840d6198191ff4b1d93691d63e08e84e75
Author: Girish Palya <[email protected]>
Date: Sun May 2 15:48:07 2021 +0200
Edit description of package
M DESCRIPTION
commit c4a1b617b6ff17ba1eca53bf7eae89ccea52ff10
Author: Girish Palya <[email protected]>
Date: Sat May 1 12:00:48 2021 +0200
Fix url formatting
M DESCRIPTION
commit ae5814a17109f603bdf941c5dcb76bca297aab4f
Author: Girish Palya <[email protected]>
Date: Sat May 1 11:40:55 2021 +0200
Fix issues requested by CRAN
M DESCRIPTION
commit 96d63a38945747d3c5ca853decc4f16e3e7a87c0
Author: Girish Palya <[email protected]>
Date: Sat May 1 11:20:18 2021 +0200
Edit for clarity
M DESCRIPTION
commit 6bd27b36e829c4d0234311aa57f4e33e8b6b25fb
Author: Girish Palya <[email protected]>
Date: Sat May 1 11:06:02 2021 +0200
Fix typo
M DESCRIPTION
commit 3154a95bf694e48380653e9421187939eb08c274
Author: Girish Palya <[email protected]>
Date: Sat May 1 09:44:38 2021 +0200
Minor edits to package description
Edit for clarity.
M DESCRIPTION
M README.Rmd
M README.md
M vignettes/re2_intro.Rmd
commit 7fdbfa0cb1ef70a5067f7fbffbf5a62ab949514e
Author: Girish Palya <[email protected]>
Date: Sat May 1 08:27:27 2021 +0200
Fix makefile warning
Remove unneeded option to R CMD build
M src/util/GNUmakefile
commit ddd097ed6e90eb9ab7609842ac54d730e369a975
Author: Girish Palya <[email protected]>
Date: Sat May 1 08:22:18 2021 +0200
Fix markdown list
Numbered list does not render properly in R markdown when code
chunks are present. Change to unnumbered list.
M README.Rmd
M README.md
M vignettes/re2_intro.Rmd
commit 51915d1a204de0d29acb0f69470923009e76c6c5
Author: Girish Palya <[email protected]>
Date: Fri Apr 30 20:17:12 2021 +0200
Fix broken url in README and vignette
Fix broken url and minor edits
M DESCRIPTION
M README.Rmd
M README.md
M vignettes/re2_intro.Rmd
commit 7c66ff0b7e88ce91bdce05a6e149ac90169c2913
Author: Girish Palya <[email protected]>
Date: Fri Apr 30 18:20:27 2021 +0200
Remove trailing white spaces
M DESCRIPTION
commit 73e27414f8eb8b71bae28f77741898e105c7d4eb
Author: Girish Palya <[email protected]>
Date: Fri Apr 30 18:03:49 2021 +0200
Update date
M DESCRIPTION
commit 2ada080636f7e12c4c17d206fa7a5a70b1ab8476
Author: Girish Palya <[email protected]>
Date: Fri Apr 30 17:57:29 2021 +0200
Minor edits to package description
Minor edits to package description
M DESCRIPTION
M README.Rmd
M README.md
M vignettes/re2_intro.Rmd
commit e83cefb4d3bd6502ba22c575b4a471e023da6815
Author: Girish Palya <[email protected]>
Date: Fri Apr 30 17:15:20 2021 +0200
Add description to package
Add package description and edit for clarity.
M DESCRIPTION
M README.Rmd
M README.md
M vignettes/re2_intro.Rmd
commit 6cd30bc3eba3eef2471343a854c63ac56ca09e45
Author: Girish Palya <[email protected]>
Date: Fri Apr 30 16:35:29 2021 +0200
Small edits to README
M README.Rmd
M README.md
commit 1532ee795d280fac84c20c81fa59695b916a8f96
Author: Girish Palya <[email protected]>
Date: Fri Apr 30 16:31:01 2021 +0200
Fix documentation
Various small corrections to documentation.
M R/re2-package.R
M README.Rmd
M README.md
M src/re2_detect.cpp
M src/re2_extract_replace.cpp
M src/re2_locate.cpp
M src/re2_match.cpp
M src/re2_match_cpp.cpp
M src/re2_regexp.cpp
M src/re2_replace.cpp
M src/re2_split.cpp
M src/util/GNUmakefile
M tools/convert.py
M vignettes/re2_intro.Rmd
M vignettes/re2_syntax.Rmd
D vignettes/re2_tests.Rmd
commit 0514b1da87a844534042ab5a22cfee1d323801db
Author: Girish Palya <[email protected]>
Date: Fri Apr 30 11:34:46 2021 +0200
Generate README.md file
Rstudio can knit a Rmd file, but automate it through makefile.
M ChangeLog
M README.Rmd
M README.md
M src/util/GNUmakefile
commit 663de3ea7160cff6bbde66ca6d50b5521f0cada2
Author: Girish Palya <[email protected]>
Date: Fri Apr 30 09:04:11 2021 +0200
Add documentation, examples and tests
Add documentation to functions, and examples. Put examples in
separate files, and have test to verify the output (R CMD check
can compare Rout.save but it is not reliable -- missed some
differences which happened to be bugs).
Have clang-format format files.
Add vignette and README.Rmd (to generate README.md) to help users.
Add package level documentation.
Refactor code and consolidate test related functions into fewer
files.
Add cleanup file to remove objects generated during vignette
generation.
A README.Rmd
M README.md
M R/re2-package.R
Add user guide.
A cleanup
Cleanup after vignettes.
A inst/examples/count.R
A inst/examples/detect.R
A inst/examples/extract_replace.R
A inst/examples/locate.R
A inst/examples/match.R
A inst/examples/regexp.R
A inst/examples/replace.R
A inst/examples/split.R
A inst/examples/which.R
Examples in their own files so they can reused.
A src/re2_capturing_group.cpp
D src/re2_capturing_group_names.cpp
D src/re2_check_rewrite_string.cpp
M src/re2_detect.cpp
M src/re2_do_match.h
M src/re2_extract_replace.cpp
M src/re2_get_options.cpp
M src/re2_locate.cpp
M src/re2_match.cpp
M src/re2_match_cpp.cpp
M src/re2_max_submatch.cpp
D src/re2_named_capturing_groups.cpp
D src/re2_number_of_capturing_groups.cpp
D src/re2_possible_match_range.cpp
M src/re2_quote_meta.cpp
M src/re2_random_text.cpp
M src/re2_re2proxy.cpp
M src/re2_re2proxy.h
M src/re2_regexp.cpp
M src/re2_replace.cpp
D src/re2_replace_all.cpp
M src/re2_split.cpp
Add documentation to functions and clang-format.
M src/util/GNUmakefile
Fix bugs.
A tests/examples_test.R
A test to make sure examples have correct output. This
is not quite unit test. (A full suite of Google's RE2
C++ unit tests are run using RInside.)
M tests/re2_R.cc
R src/util/RE2Syntax.md -> tools/RE2Syntax.md
R tests/benchmark.R -> tools/benchmark.R
R src/util/convert.py -> tools/convert.py
D vignettes/re2_benchmark.Rmd
M vignettes/re2_intro.Rmd
M .Rbuildignore
M src/Makevars
M src/Makevars.win
Reflect changes.
commit b86d898fe3fcc3e51bebd05fdc49cc472c8f19fe
Author: Girish Palya <[email protected]>
Date: Mon Apr 19 23:06:08 2021 +0200
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #
Add new functionality
# Remember blank line between title and body.
# Body: Explain *what* and *why* (not *how*). Include task ID (Jira issue).
# Wrap at 72 chars. ################################## which is here: #
Add detect, count, split, which, subset, locate functions.
Vectorize pattern string.
Add benchmarking test.
A src/re2_do_match.cpp
A src/re2_do_match.h
Abstract matching logic so it can be reused for other related
functions.
M src/re2_detect.cpp
A src/re2_split.cpp
M src/re2_match.cpp
M src/re2_match_cpp.cpp
A src/re2_locate.cpp
Add new functions.
M src/re2_re2proxy.cpp
M src/re2_re2proxy.h
Vectorize regexp pattern.
D src/re2_extract.cpp
A src/re2_extract_replace.cpp
D src/re2_global_replace.cpp
M src/re2_max_submatch.cpp
M src/re2_named_capturing_groups.cpp
M src/re2_number_of_capturing_groups.cpp
M src/re2_possible_match_range.cpp
M src/Makevars
M src/re2_capturing_group_names.cpp
M src/re2_check_rewrite_string.cpp
M tests/re2_R.cc
M src/re2_replace.cpp
A src/re2_replace_all.cpp
Reflect changes related to vectorization of regexp.
M src/re2_random_text.cpp
Add benchmark.
D src/re2_re2container.cpp
D src/re2_re2container.h
D src/re2_rewrite.cpp
Nuke.
M src/re2_regexp.cpp
Fix doc.
M src/util/GNUmakefile
Cleanup.
commit 7527ff00ec42306d5299684899ca5fc9ba0b1100
Author: Girish Palya <[email protected]>
Date: Fri Apr 16 08:05:04 2021 +0200
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #
Refactor and fix documentation
# Remember blank line between title and body.
# Body: Explain *what* and *why* (not *how*). Include task ID (Jira issue).
# Wrap at 72 chars. ################################## which is here: #
Add re2_match_cpp to isolate hairy options.
Add re2_detect as a convenient wrapper for re2_match_cpp.
Rename re2_re2 to re2_regexp (more intuitive).
Fix documentation.
M src/Makevars
A src/re2_detect.cpp
M src/re2_match.cpp
A src/re2_match_cpp.cpp
M src/re2_re2proxy.cpp
R src/re2_re2.cpp -> src/re2_regexp.cpp
M tests/re2_R.cc
commit d198d43a2a36df2e72e17b6e09cc9501eb61fdf0
Author: Girish Palya <[email protected]>
Date: Thu Apr 15 10:06:36 2021 +0200
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #
Leftover from previous commit
# Remember blank line between title and body.
# Body: Explain *what* and *why* (not *how*). Include task ID (Jira issue).
# Wrap at 72 chars. ################################## which is here: #
Compile random text generator file
M src/Makevars
commit 5dcc40530bf17dbdc6fe0671bea897c0793cda5c
Author: Girish Palya <[email protected]>
Date: Thu Apr 15 10:05:14 2021 +0200
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #
Add benchmark and isolate test functions
# Remember blank line between title and body.
# Body: Explain *what* and *why* (not *how*). Include task ID (Jira issue).
# Wrap at 72 chars. ################################## which is here: #
Add R code to benchmark RE2 against stringr.
Some R functions should only be used for unit testing from RInside.
Change NAMESPACE file so that these functions get exported only
during testing. This change is done through makefile.
M src/re2_match.cpp
Refactor code.
A src/re2_random_text.cpp
Add random text generator for benchmark test
M src/re2_re2proxy.cpp
M src/re2_re2proxy.h
set functions return bool instead of void. Minor optimization.
M src/re2google/re2/testing/regexp_benchmark.cc
Add new benchmark test for non-cached RE2.
M src/util/GNUmakefile
Make changes for NAMESPACE file.
D src/util/benchlog.macbook-air
Not needed.
A tests/benchmark.R
Add test.
commit df7364720ca34da2336e46184b2e9f2c93aa3413
Author: Girish Palya <[email protected]>
Date: Sat Apr 10 16:47:51 2021 +0200
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #
Remove generated files
# Remember blank line between title and body.
# Body: Explain *what* and *why* (not *how*). Include task ID (Jira issue).
# Wrap at 72 chars. ################################## which is here: #
No need to version control generated files.
M .gitignore
D R/RcppExports.R
D src/RcppExports.cpp
Remove files, and update .gitignore.
commit 9faa5e082aa5536cf56c377096a8acb52457e800
Author: Girish Palya <[email protected]>
Date: Sat Apr 10 13:59:04 2021 +0200
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #
Unexported some R functions
# Remember blank line between title and body.
# Body: Explain *what* and *why* (not *how*). Include task ID (Jira issue).
# Wrap at 72 chars. ################################## which is here: #
Some functions are used only for testing through RInside interface.
They are exported only when testing flag is set, but otherwise
not needed for general distribution.
M src/re2_capturing_group_names.cpp
M src/re2_check_rewrite_string.cpp
M src/re2_max_submatch.cpp
M src/re2_named_capturing_groups.cpp
M src/re2_number_of_capturing_groups.cpp
M src/re2_possible_match_range.cpp
M src/re2_quote_meta.cpp
M src/util/GNUmakefile
Add .function as RcppExport variable. In DESCRIPTION file
these can be unexported through suitable regexp (modified
through the GNUmakefile above.
M .Rbuildignore
M R/RcppExports.R
M tests/README
M tests/re2_R.cc
Updated
commit 557de01839cfc373041f2619ae4693b20c45c4ac
Author: Girish Palya <[email protected]>
Date: Sat Apr 10 09:46:05 2021 +0200
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #
Fix makefile bug
# Remember blank line between title and body.
# Body: Explain *what* and *why* (not *how*). Include task ID (Jira issue).
# Wrap at 72 chars. ################################## which is here: #
Fix self referencing variable bug, and other cleanup.
M src/Makevars
M tests/GNUmakefile
commit f7e13d01825f1bcaecc35da69e3fab2597a04df6
Author: Girish Palya <[email protected]>
Date: Sat Apr 10 08:48:09 2021 +0200
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #
Update vignettes
# Remember blank line between title and body.
# Body: Explain *what* and *why* (not *how*). Include task ID (Jira issue).
# Wrap at 72 chars. ################################## which is here: #
Add more content to vignettes and fix errors.
M vignettes/re2_benchmark.Rmd
M vignettes/re2_syntax.Rmd
M vignettes/re2_tests.Rmd
Add content.
Escape \ so knittr/pandoc is happy
M src/Makevars
Add pthread option, since RE2 uses it and it gives a slight
performance boost.
M src/re2google/GNUmakefile
M src/util/GNUmakefile
M src/util/RE2Syntax.md
M src/util/convert.py
Reflect changes.
commit c59dd2a3fb1d5094c19d7b24fa8c3bed4845b3bd
Author: Girish Palya <[email protected]>
Date: Thu Apr 8 15:15:52 2021 +0200
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #
Add vignettes
# Remember blank line between title and body.
# Body: Explain *what* and *why* (not *how*). Include task ID (Jira issue).
# Wrap at 72 chars. ################################## which is here: #
Add vignettes and cleanup docs.
A vignettes/re2_benchmark.Rmd
A vignettes/re2_intro.Rmd
A vignettes/re2_syntax.Rmd
A vignettes/re2_tests.Rmd
Add vignettes.
M src/RcppExports.cpp
M src/re2_check_rewrite_string.cpp
M src/re2_extract.cpp
M src/re2_global_replace.cpp
M src/re2_match.cpp
M src/re2_max_submatch.cpp
M src/re2_named_capturing_groups.cpp
M src/re2_number_of_capturing_groups.cpp
M src/re2_possible_match_range.cpp
M src/re2_re2.cpp
M src/re2_replace.cpp
Fix examples section.
M src/re2google/GNUmakefile
M src/util/GNUmakefile
M src/util/README
M .Rbuildignore
M .gitignore
M DESCRIPTION
M R/re2-package.R
M tests/README
Update.
M R/RcppExports.R
Generated file.
A src/util/benchlog.macbook-air
Performance benchmark log.
M src/util/convert.py
To create R document frile from markdown.
A vignettes/.gitignore
Add file.
commit 9913a5f62e2194a369160c48b3768b1270cfc595
Author: Girish Palya <[email protected]>
Date: Tue Apr 6 20:33:20 2021 +0200
Update ChangeLog
Update Changelog.
commit f54189db9c2c161850173a3feeb1c4d3241dc3e3
Author: Girish Palya <[email protected]>
Date: Tue Apr 6 20:28:22 2021 +0200
Add RE2 regexp syntax documentation
Add file RE2Syntax.md with regexp syntax. Add a python script to
convert markdown to R document file. Add links in other files.
M src/re2_extract.cpp
M src/re2_global_replace.cpp
M src/re2_match.cpp
M src/re2_re2.cpp
M src/re2_replace.cpp
Add links to re2_regexp syntax.
A src/util/RE2Syntax.md
Add regexp syntax document.
A src/util/convert.py
Add script to convert markdown to R document.
M src/util/GNUmakefile
Reflect changes.
M R/RcppExports.R
Generated file
commit 0ae00cebb75c026ba84f380a0d46077c7a79571d
Author: Girish Palya <[email protected]>
Date: Tue Apr 6 12:51:18 2021 +0200
Add roxygen comments to document functions
Add roxygen comments to document functions, and misc cleanup.
Add roxygen comments to document functions
src/re2_replace.cpp
src/re2_re2.cpp
src/re2_capturing_group_names.cpp
src/re2_check_rewrite_string.cpp
src/re2_extract.cpp
src/re2_get_options.cpp
src/re2_global_replace.cpp
src/re2_match.cpp
src/re2_max_submatch.cpp
src/re2_named_capturing_groups.cpp
src/re2_number_of_capturing_groups.cpp
src/re2_possible_match_range.cpp
src/re2_quote_meta.cpp
Add dummy R file for package level documentation and remove file
created by package skeleton
R/re2-package.R
man/re2-package.Rd
Rename input parameter for better readability.
src/re2_replace.cpp
src/re2_extract.cpp
src/re2_global_replace.cpp
src/re2_match.cpp
Remove from exporting, since this function is redundant.
src/re2_rewrite.cpp
Update to generate roxygen documents.
src/util/GNUmakefile
Change test directory name to avoid conflict with R CMD check.
tests/GNUmakefile
Update.
tests/README
.Rbuildignore
.gitignore
DESCRIPTION
Stop logging when regexp has errors.
src/re2_re2proxy.cpp
Generated files.
R/RcppExports.R
src/RcppExports.cpp
Change name of option value to be more concise, and cleanup.
tests/re2_R.cc
src/re2_re2proxy.cpp
src/re2_get_options.cpp
Add file.
ChangeLog
commit fbca1e72033ff5a15f18d4b974b569f753e60b44
Author: Girish Palya <[email protected]>
Date: Tue Mar 30 19:50:03 2021 +0200
Fix R CMD check warnings on windows
Various cleanup.
M .Rbuildignore
Exclude obj dir
D man/rcpp_hello_world.Rd
Remove template rtifact
M src/re2_capturing_group_names.cpp
Change int to unsigned int
M src/util/GNUmakefile
Remove .o before creating tarball
commit 732249316adccc8c82a58de6dfaf47ac744440ff
Author: Girish Palya <[email protected]>
Date: Tue Mar 30 18:39:25 2021 +0200
Fix R CMD check warnings on Windows
Fix R CMD check warnings on Windows
M src/Makevars.win
Copy approprite flags as used in google re2
M src/re2_named_capturing_groups.cpp
M src/re2_number_of_capturing_groups.cpp
Redeclared an int to unsigned int to suppress warning
M src/re2google/util/logging.h
M src/re2google/util/mutex.h
Replaced Rcpp with Rprintf and std::exception, since
Rcpp conflicted with "include <windows.h>" by redefining
Free() and Ralloc()
commit 226296e500be509f70493162ad7c4873061be3cd
Author: Girish Palya <[email protected]>
Date: Tue Mar 30 13:34:37 2021 +0200
Remove README.md from tarball
Remove README.md from tarball since it requires pandoc (another
R CMD check warning).
M .Rbuildignore
Ignore README.md
M src/util/GNUmakefile
Fix readability
commit 389669130018c72f7a688b1785a0bee88d8fc38b
Author: Girish Palya <[email protected]>
Date: Tue Mar 30 13:25:35 2021 +0200
Fix R CMD check pragma warning and other fixes
Removed pragmas. Improve build process.
M src/re2google/re2/re2.h
M src/re2google/util/pcre.cc
Removed pragmas
M src/util/GNUmakefile
Install from tarball. When tarball is created by 'build'
command, it ignores files from .Rbuildignore.
"R CMD INSTALL re2" does not consider .Rbuildignore
file. Using tarball, it takes longer
to build (no incremental build) but it is closer
to user installation. It will catch if some file
is accidentally ignored by .Rbuildignore
M .Rbuildignore
Fixed path to exempt test dir
commit 1ac78d13723d9ea26f95a9f2924dcacb4d256340
Author: Girish Palya <[email protected]>
Date: Tue Mar 30 12:09:10 2021 +0200
Fix R CMD check warnings
Excluded pragmas from re2 source files, and converted a variable
length array to use dynamic allocation.
M src/re2_rewrite.cpp
Replace variable length array with dynamic allocation with a smart
pointer
M src/re2google/re2/re2.h
M src/re2google/util/pcre.cc
Removed pragmas.
commit c3e756ee23977fd1f8e476aa4a2f48d5112f17dc
Author: Girish Palya <[email protected]>
Date: Tue Mar 30 11:38:44 2021 +0200
Fix R CMD check license warning
Moved license text from LICENSE file to LICENSE.md and added it to
.Rbuildignore. Reflected change in cpp files.
M .Rbuildignore
M LICENSE
A LICENSE.md
M src/re2_capturing_group_names.cpp
M src/re2_check_rewrite_string.cpp
M src/re2_extract.cpp
M src/re2_get_options.cpp
M src/re2_global_replace.cpp
M src/re2_match.cpp
M src/re2_max_submatch.cpp
M src/re2_named_capturing_groups.cpp
M src/re2_number_of_capturing_groups.cpp
M src/re2_possible_match_range.cpp
M src/re2_quote_meta.cpp
M src/re2_re2.cpp
M src/re2_re2container.cpp
M src/re2_re2container.h
M src/re2_re2proxy.cpp
M src/re2_re2proxy.h
M src/re2_replace.cpp
M src/re2_rewrite.cpp
commit 13b5c93e2bdc1dc938121266d197c3edd28286a5
Author: Girish Palya <[email protected]>
Date: Tue Mar 30 10:33:12 2021 +0200
Fix R CMD check warnings
Fix miscellaneous warnings from R CMD check
A .Rbuildignore
* Exclude git and others from R CMD build
M DESCRIPTION
* Fix title
D src/README
D src/make.util
R src/re2google/Makefile.orig -> src/re2google/GNUmakefil
A src/util/GNUmakefile
A src/util/README
R tests/make.local -> tests/GNUmakefile
* Rename makefile to gnu makefile and hide it away from R build process
* Hide README file so R CMD check does not complain
* makefile add .Rbuildignore processing
M src/re2google/util/logging.h
* Remove unused variable
commit 19ada5f16d5c0c585cb39ba5df2ac9fa7dc50963
Author: Girish Palya <[email protected]>
Date: Mon Mar 29 23:31:21 2021 +0200
Add license header
Added a link to license file in the following source files.
M src/re2_check_rewrite_string.cpp
M src/re2_extract.cpp
M src/re2_get_options.cpp
M src/re2_global_replace.cpp
M src/re2_match.cpp
M src/re2_max_submatch.cpp
M src/re2_named_capturing_groups.cpp
M src/re2_number_of_capturing_groups.cpp
M src/re2_possible_match_range.cpp
M src/re2_quote_meta.cpp
M src/re2_re2.cpp
M src/re2_re2container.cpp
M src/re2_re2container.h
M src/re2_re2proxy.cpp
M src/re2_re2proxy.h
M src/re2_replace.cpp
M src/re2_rewrite.cpp
M src/make.util
cleanup.
commit b4f17605906d02f4d50aefcd4b7e1612390a420b
Author: Girish Palya <[email protected]>
Date: Mon Mar 29 23:13:27 2021 +0200
Added license text
Added short license text.
M LICENSE
Included full MIT license text.
M src/re2_capturing_group_names.cpp
Added license link.
M tests/make.local
M tests/re2_R.cc
M tests/re2_R.h
Cleanup
commit 2e21b17f7b64a44cfcf1aeb2f6ddf2a0f6c023d7
Author: Girish Palya <[email protected]>
Date: Mon Mar 29 22:31:17 2021 +0200
Fix warnings from R CMD check and added license
Make R CMD check happy. Removed stderr and abort symbols.
M .gitignore
Added new entries.
M DESCRIPTION
Updated fields.
A LICENSE
Added file.
M src/Makevars
M src/Makevars.win
Added a new flag to exclude abort and stderr.
M src/README
Removed unneeded info.
M src/make.util
Added target for R CMD check.
D src/re2google/.gitignore
Not needed, removed.