The NetBSD Project

CVS log for pkgsrc/textproc/R-stringi/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / R-stringi

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 23 16:21:10 2022 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

massive revision bump after textproc/icu update

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 23 14:43:57 2022 UTC (9 months, 2 weeks ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

(textproc/R-stringi) Updated 1.7.4 to 1.7.6

# What Is New in *stringi*

## 1.7.6 (2021-11-29)

* [BUILD TIME] #463: Added loongarch support in ICU's double conversion
    (@liuxiang88).

* [BUGFIX] #467: The UCRT build on Windows was not marking strings as `latin1`.


## 1.7.5 (2021-10-04)

* [DOCUMENTATION] Paper on *stringi* has been accepted for
  publication in the *Journal of Statistical Software*,
  see <https://stringi.gagolewski.com/_static/vignette/stringi.pdf>
  for a draft version.

* [DOCUMENTATION] The *stringi* website at <https://stringi.gagolewski.com>
  now features a comprehensive tutorial based on the aforementioned paper.

* [DOCUMENTATION] The *ICU* Project site has been moved to
  <https://icu.unicode.org/>.

* [BUILD TIME] #457: The `autoconf` macros `AC_LANG_CPLUSPLUS`
  and `AC_TRY_COMPILE` were obsolete.

* [BUGFIX] #458: Passing ALTREP objects no longer yields
  'embeded nul in string' errors.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 18 19:12:09 2022 UTC (9 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

revbump for textproc/icu update

Revision 1.24 / (download) - annotate - [select for diffs], Wed Dec 8 16:06:42 2021 UTC (13 months, 4 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

revbump for icu and libffi

Revision 1.23 / (download) - annotate - [select for diffs], Wed Sep 8 13:04:22 2021 UTC (16 months, 4 weeks ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored)

(textproc/R-stringi) Updated 1.4.6 to 1.7.4, make test passes

## 1.7.4 (2021-08-12)

* [BUGFIX] #449: Fixed segfaults generated by `stri_sprintf`.

* [BUILD TIME] No longer defining `USE_RINTERNALS` and `R_NO_REMAP`.


## 1.7.3 (2021-07-15)

* [BUGFIX] Fixed the previous patch of ICU55 causing a build failure on,
  amongst others, CRAN's Solaris-based target.


## 1.7.2 (2021-07-14)

* [BUGFIX] Workaround for a bug in `tools::checkFF` failing
  when `NA_character_` is passed to `.Call`.


## 1.7.1 (2021-07-14)

* [BACKWARD INCOMPATIBILITY] `%s$%` and `%stri$%` now use the new `stri_sprintf`
  (see below) function instead of `base::sprintf`.

* [BACKWARD INCOMPATIBILITY, NEW FEATURE] In `stri_sub<-` and `stri_sub_all<-`,
  providing a negative `length` from now on does not result in the corresponding
  input string being altered.

* [BACKWARD INCOMPATIBILITY, NEW FEATURE] In `stri_sub` and `stri_sub_all`,
  negative `length` results in the corresponding output being `NA`
  or not extracted at all, depending on the setting of the new argument
  `ignore_negative_length`.

* [BACKWARD INCOMPATIBILITY, BUGFIX, NEW FEATURE] In `stri_subset*`
  and their replacement versions, `pattern` and `value` cannot be longer
  than `str` (but now they are recycled if necessary).

* [BACKWARD INCOMPATIBILITY, NEW FEATURE] `stri_sub*` now accept the
  `from` argument being a matrix like `cbind(from, length=length)`.
  Unnamed columns or any other names are still interpreted as `cbind(from, to)`.
  Also, the new argument `use_matrix` can be used to disable
  the special treatment of such matrices.

* [DOCUMENTATION] It has been clarified that the syntax of `*_charclass`
  (e.g., used in `stri_trim*`) differs slightly from regex character
  classes.

* [NEW FEATURE] #420: `stri_sprintf` (alias: `stri_string_format`)
  is a Unicode-aware replacement for and enhancement of the base `sprintf`:
  it adds a customised handling of `NA`s (on demand), computing field size
  based on code point width, outputting substrings of at most given width,
  variable width and precision (both at the same time), etc. Moreover,
  `stri_printf` can be used to display formatted strings conveniently.

* [NEW FEATURE] #153: `stri_match_*_regex` now extract capture group names.

* [NEW FEATURE] #25: `stri_locate_*_regex` now have a new argument,
  `capture_groups`, which allows for extracting positions of matches
  to parenthesised subexpressions.

* [NEW FEATURE] `stri_locate_*` now have a new argument, `get_length`,
  whose setting may result in generating *from-length* matrices
  (instead of *from-to* ones).

* [NEW FEATURE] #438: `stri_trans_general` now supports rule-based
  as well as reverse-direction transliteration.

* [NEW FEATURE] #434: `stri_datetime_format` and `stri_datetime_parse`
  are now vectorised also with respect to the `format` argument.

* [NEW FEATURE] `stri_datetime_fstr` has a new argument, `ignore_special`,
  which defaults to `TRUE` for backward compatibility.

* [NEW FEATURE] `stri_datetime_format`, `stri_datetime_add`, and
  `stri_datetime_fields` now call `as.POSIXct` more eagerly.

* [NEW FEATURE] `stri_trim*` now have a new argument, `negate`.

* [NEW FEATURE] `stri_replace_rstr` converts `gsub`-style replacement strings
  to `stri_replace`-style.

* [INTERNAL] `stri_prepare_arg*` have been refactored, buffer overruns
  in the exception handling subsystem are now avoided.

* [BUGFIX] Few functions (`stri_length`, `stri_enc_toutf32`, etc.)
  did not throw an exception on an invalid UTF-8
  byte sequence (and merely issued a warning instead).

* [BUGFIX] `stri_datetime_fstr` did not honour `NA_character_`
  and did not parse format strings such as `"%Y%m%d"` correctly.
  It has now been completely rewritten (in C).

* [BUGFIX] `stri_wrap` did not recognise the width of certain Unicode sequences
  correctly.


## 1.6.2 (2021-05-14)

* [BACKWARD INCOMPATIBILITY] In `stri_enc_list()`,
  `simplify` now defaults to `TRUE`.

* [NEW FEATURE] #425: The outputs of `stri_enc_list()`, `stri_locale_list()`,
  `stri_timezone_list()`, and `stri_trans_list()` are now sorted.

* [NEW FEATURE] #428: In `stri_flatten`, `na_empty=NA` now omits missing values.

* [BUILD TIME] #431: Pre-4.9.0 GCC has `::max_align_t`,
  but not `std::max_align_t`, added a (possible) workaround, see the `INSTALL`
  file.

* [BUGFIX] #429: `stri_width()` misclassified the width of certain
  code points (including grave accent, Eszett, etc.);
  General category *Sk* (Symbol, modifier) is no longer of width 0,
  `UCHAR_EAST_ASIAN_WIDTH` of `U_EA_AMBIGUOUS` is no longer of width 2.

* [BUGFIX] #354: `ALTREP` `CHARSXP`s were not copied, and thus could have been
  garbage collected in the so-called meanwhile (with thanks to @jimhester).


## 1.6.1 (2021-05-05)

* [GENERAL] #401: stringi is now bundled with ICU4C 69.1 (upgraded from 61.1),
  which is used on most Windows and OS X builds as well as on *nix systems
  not equipped with system ICU. However, if the C++11 support is disabled,
  stringi will be built against the battle-tested ICU4C 55.1.
  The update to ICU brings Unicode 13.0 and CLDR 39 support.

* [DOCUMENTATION] A draft version of a paper on `stringi` is now available at
  https://stringi.gagolewski.com/_static/vignette/stringi.pdf

* [GENERAL] stringi now requires R >= 3.1 (`CXX_STD` of `CXX11` or `CXX1X`).

* [NEW FEATURE] #408: `stri_trans_casefold()` performs case folding;
  this is different from case mapping, which is locale-dependent.
  Folding makes two pieces of text that differ only in case identical.
  This can come in handy when comparing strings.

* [NEW FEATURE] #421: `stri_rank()` ranks strings in a character vector
  (e.g., for ordering data frames with regards to multiple criteria,
  the ranks can be passed to `order()`, see #219).

* [NEW FEATURE] #266: `stri_width()` now supports emojis.

* [NEW FEATURE] `%s$%` and `%stri$%` are now vectorised with respect to
  both arguments.

* [BUGFIX] `stri_sort_key()` now outputs `bytes`-encoded strings.

* [BUGFIX] #415: `locale=''` was not equivalent to `locale=NULL`
  in `stri_opts_collator()`.

* [INTERNAL] #414: Use `LEVELS(x)` macro instead of accessing `(x)->sxpinfo.gp`
  directly (@lukaszdaniel).


## 1.5.3 (2020-09-04)

* [DOCUMENTATION] stringi home page has moved to https://stringi.gagolewski.com
  and now includes a comprehensive reference manual.

* [NEW FEATURE] #400: `%s$%` and `%stri$%` are now binary operators
  that call base R's `sprintf()`.

* [NEW FEATURE] #399: The `%s*%` and `%stri*%` operators can be used
  in addition to `stri_dup()`, for the very same purpose.

* [NEW FEATURE] #355: `stri_opts_regex()` now accepts the `time_limit` and
  `stack_limit` options so as to prevent malformed or malicious regexes
  from running for too long.

* [NEW FEATURE] #345: `stri_startswith()` and `stri_endswith()` are now equipped
  with the `negate` parameter.

* [NEW FEATURE] #382: Incorrect regexes are now reported to ease debugging.

* [DEPRECATION WARNING] #347: Any unknown option passed to `stri_opts_fixed()`,
  `stri_opts_regex()`, `stri_opts_coll()`, and `stri_opts_brkiter()` now
  generates a warning. In the future, the `...` parameter will be removed,
  so that will be an error.

* [DEPRECATION WARNING] `stri_duplicated()`'s `fromLast` argument
  has been renamed `from_last`. `fromLast` is now its alias scheduled
  for removal in a future version of the package.

* [DEPRECATION WARNING] `stri_enc_detect2()`
  is scheduled for removal in a future version of the package.
  Use `stri_enc_detect()` or the more targeted `stri_enc_isutf8()`,
  `stri_enc_isascii()`, etc., instead.

* [DEPRECATION WARNING] `stri_read_lines()`,  `stri_write_lines()`,
  `stri_read_raw()`: use `con` argument instead of `fname` now.
  The argument `fallback_encoding` is scheduled for removal and is no longer
  used. `stri_read_lines()` does not support `encoding="auto"` anymore.

* [DEPRECATION WARNING] `nparagraphs` in `stri_rand_lipsum()` has been renamed
  `n_paragraphs`.

* [NEW FEATURE] #398: Alternative, British spelling of function parameters
  has been introduced, e.g., `stri_opts_coll()` now supports both
  `normalization` and `normalisation`.

* [NEW FEATURE] #393: `stri_read_bin()`, `stri_read_lines()`, and
  `stri_write_lines()` are no longer marked as draft API.

* [NEW FEATURE] #187: `stri_read_bin()`, `stri_read_lines()`, and
  `stri_write_lines()` now support connection objects as well.

* [NEW FEATURE] #386: New function `stri_sort_key()` for generating
  locale-dependent sort keys which can be ordered at the byte level and
  return an equivalent ordering to the original string (@DavisVaughan).

* [BUGFIX] #138: `stri_encode()` and `stri_rand_strings()`
  now can generate strings of much larger lengths.

* [BUGFIX] `stri_wrap()` did not honour `indent` correctly when
  `use_width` was `TRUE`.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Apr 21 11:42:45 2021 UTC (21 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

revbump for textproc/icu

Revision 1.21 / (download) - annotate - [select for diffs], Thu Nov 5 09:09:12 2020 UTC (2 years, 3 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

*: Recursive revbump from textproc/icu-68.1

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 31 18:44:15 2020 UTC (2 years, 6 months ago) by brook
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored)

R-stringi: update to 1.4.6.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 2 08:24:49 2020 UTC (2 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Revbump for icu

Revision 1.18 / (download) - annotate - [select for diffs], Sun Apr 12 08:29:14 2020 UTC (2 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Recursive revision bump after textproc/icu update

Revision 1.17 / (download) - annotate - [select for diffs], Thu Aug 8 19:53:57 2019 UTC (3 years, 6 months ago) by brook
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.16: +4 -6 lines
Diff to previous 1.16 (colored)

Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the
following:

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jul 31 20:56:33 2019 UTC (3 years, 6 months ago) by brook
Branch: MAIN
Changes since 1.15: +7 -9 lines
Diff to previous 1.15 (colored)

R-stringi: update to version 1.4.3.

Update to the canonical form of an R package and fix the LICENSE
field.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 3 00:33:08 2019 UTC (3 years, 10 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Recursive revbump from textproc/icu

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 9 18:52:47 2018 UTC (4 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

revbump after updating textproc/icu

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jul 28 14:40:52 2018 UTC (4 years, 6 months ago) by brook
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

Remove MASTER_SITES= from individual R package Makefiles.

Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES.  Consequently, it is redundant for the individual
packages to do the same.  Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 20 03:34:29 2018 UTC (4 years, 6 months ago) by ryoon
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Recursive revbump from textproc/icu-62.1

Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 14 07:34:42 2018 UTC (4 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

revbump after icu update

Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 5 18:52:05 2018 UTC (5 years ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

textproc/R-stringi: Update to 1.1.6

Notable changes since 1.1.2:
- `omit_na=TRUE` in `stri_sub<-` now ignores missing values in any of
  the arguments provided.
- Add support for custom rule-based break iteration, see
  `?stri_opts_brkiter`.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 30 16:45:39 2017 UTC (5 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Revbump after textproc/icu update

Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 18 09:53:35 2017 UTC (5 years, 4 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

revbump for requiring ICU 59.x

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 27 17:06:56 2017 UTC (5 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Needs pkg-config.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 22 21:03:58 2017 UTC (5 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Revbump after icu update

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 18 02:18:39 2016 UTC (6 years, 1 month ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.4: +2 -5 lines
Diff to previous 1.4 (colored)

Update to 1.1.2
Remove BROKEN mark(build without Internet access)

Upstream changes:
## 1.1.2 (2016-09-30) **CRAN**

* [BUGFIX] round(), snprintf() is not C++98

-------------------------------------------------------------------------------

## 1.1.1 (2016-05-25) **CRAN**

* [BUGFIX] #214: allow a regex pattern like `.*`  to match an empty string.

* [BUGFIX] #210: `stri_replace_all_fixed(c("1", "NULL"), "NULL", NA)`
now results in `c("1", NA)`.

* [NEW FEATURE] #199: `stri_sub<-` now allows for ignoring `NA` locations
(a new `omit_na` argument added).

* [NEW FEATURE] #207: `stri_sub<-` now allows for substring insertions
(via `length=0`).

* [NEW FUNCTION] #124: `stri_subset<-` functions added.

* [NEW FEATURE] #216: `stri_detect`, `stri_subset`, `stri_subset<-` gained
a `negate` argument.

* [NEW FUNCTION] #175: `stri_join_list` concatenates all strings
in a list of character vectors. Useful with, e.g., `stri_extract_all_regex`,
`stri_extract_all_words` etc.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 4 05:17:42 2016 UTC (6 years, 2 months ago) by ryoon
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Recursive revbump from textproc/icu 58.1

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 11 19:02:04 2016 UTC (6 years, 9 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Recursive revbump from textproc/icu 57.1

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 14 11:54:45 2016 UTC (6 years, 10 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Mark package as BROKEN, it tries to download stuff over plain HTTP
during the build:
---8<---
downloading ICU data library (icudt)
the files will be extracted to: /pkgsrc-obj/textproc/R-stringi/work/.destdir/usr/pkg/lib/R/library/stringi/libs
no icudt in a local repo
trying URL 'http://static.rexamine.com/packages/icudt55l.zip'
Warning in download.file(paste(href, fname, sep = ""), outfname, mode = "wb") :
  unable to resolve 'static.rexamine.com'
Error in download.file(paste(href, fname, sep = ""), outfname, mode = "wb"): cannot open URL 'http://static.rexamine.com/packages/icudt55l.zip'

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jan 1 12:59:19 2016 UTC (7 years, 1 month ago) by wen
Branch: MAIN

Import stringi-1.0.1 as textproc/R-stringi.

stringi (pronounced "stringy") is the R package for fast, correct,
consistent and convenient string/text processing in each locale and
any native character encoding. The use of the ICU library gives R
users a platform-independent set of functions known to Java, Perl,
Python, PHP, and Ruby programmers.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>