| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-08-26 | [Bug #19784] Fix behaviors against prefix with broken encoding | Nobuyoshi Nakada | |
| - String#start_with? - String#delete_prefix - String#delete_prefix! Notes: Merged: https://github.com/ruby/ruby/pull/8296 | |||
| 2023-08-02 | Update to ruby/spec@9e278f5 | Benoit Daloze | |
| 2023-07-15 | [Bug #19769] Fix range of size 1 in `String#tr` | alexandre184 | |
| Notes: Merged: https://github.com/ruby/ruby/pull/8080 Merged-By: nobu <nobu@ruby-lang.org> | |||
| 2023-06-26 | Update to ruby/spec@30e1c35 | Benoit Daloze | |
| 2023-05-29 | Update to ruby/spec@c3677cf | Benoit Daloze | |
| 2023-04-25 | Update to ruby/spec@7f69c86 | Benoit Daloze | |
| 2023-02-27 | Update to ruby/spec@e7dc804 | Benoit Daloze | |
| 2023-01-05 | * remove trailing spaces, append newline at EOF. [ci skip] | git | |
| 2023-01-05 | Update to ruby/spec@9d69b95 | Benoit Daloze | |
| 2022-12-02 | [Bug #19087] Merge to "trailing garbage" case | Nobuyoshi Nakada | |
| 2022-12-02 | [Bug #19087] Fix an assertion of `String#to_c` | Nobuyoshi Nakada | |
| 2022-11-24 | Make String#rstrip{,!} raise Encoding::CompatibilityError for broken coderange | Jeremy Evans | |
| It's questionable whether we want to allow rstrip to work for strings where the broken coderange occurs before the trailing whitespace and not after, but this approach is probably simpler, and I don't think users should expect string operations like rstrip to work on broken strings. In some cases, this changes rstrip to raise Encoding::CompatibilityError instead of ArgumentError. However, as the problem is related to an encoding issue in the receiver, and due not due to an issue with an argument, I think Encoding::CompatibilityError is the more appropriate error. Fixes [Bug #18931] Notes: Merged: https://github.com/ruby/ruby/pull/6282 | |||
| 2022-11-07 | Update to ruby/spec@740ccc8 | Benoit Daloze | |
| 2022-09-28 | Update to ruby/spec@1d9d5c6 | Benoit Daloze | |
| 2022-08-20 | [Bug #18955] format single character for `%c` | Nobuyoshi Nakada | |
| Notes: Merged: https://github.com/ruby/ruby/pull/6258 | |||
| 2022-07-27 | Update to ruby/spec@cbfaf51 | Benoit Daloze | |
| 2022-06-26 | Update to ruby/spec@ab32a1a | Benoit Daloze | |
| 2022-05-20 | [Feature #18595] Alias String#-@ as String#dedup | Jean Boussier | |
| Notes: Merged: https://github.com/ruby/ruby/pull/5583 | |||
| 2022-04-25 | Update to ruby/spec@3affe1e | Benoit Daloze | |
| 2022-04-17 | Fix a typo | Kazuhiro NISHIYAMA | |
| 2022-03-28 | Update to ruby/spec@aaf998f | Benoit Daloze | |
| 2022-03-03 | Update to ruby/spec@82cd3a3 | Benoit Daloze | |
| 2022-01-28 | Update to ruby/spec@902ab83 | Benoit Daloze | |
| 2022-01-10 | Update to ruby/spec@226cfdc | Benoit Daloze | |
| 2021-11-29 | Update to ruby/spec@7f22a0b | Benoit Daloze | |
| 2021-10-28 | Update to ruby/spec@21a48d9 | Benoit Daloze | |
| 2021-10-26 | pack.c: add an offset argument to unpack and unpack1 | Jean Boussier | |
| [Feature #18254] This is useful to avoid repeteadly copying strings when parsing binary formats | |||
| 2021-10-05 | Update to ruby/spec@ccf0d85 | Benoit Daloze | |
| 2021-07-29 | Update to ruby/spec@b65d01f | Benoit Daloze | |
| 2021-06-02 | Update to ruby/spec@a0b7d0d | Benoit Daloze | |
| 2021-02-27 | Update to ruby/spec@37e52e5 | Benoit Daloze | |
| 2021-02-20 | Make String#{strip,lstrip}{,!} strip leading NUL bytes | Jeremy Evans | |
| The documentation already specifies that they strip whitespace and defines whitespace to include null. This wraps the new behavior in the appropriate guards in the specs, but does not specify behavior for previous versions, because this is a bug that could be backported. Fixes [Bug #17467] Notes: Merged: https://github.com/ruby/ruby/pull/4164 | |||
| 2021-01-28 | Update to ruby/spec@8cafaa5 | Benoit Daloze | |
| 2020-12-27 | Update to ruby/spec@4ce9f41 | Benoit Daloze | |
| 2020-12-21 | Use Integer instead of Fixnum/Bignum | Nobuyoshi Nakada | |
| 2020-11-27 | Update to ruby/spec@ac878ad | Benoit Daloze | |
| 2020-11-22 | Use hex-encoded binaries instead of UTF-8 | Nobuyoshi Nakada | |
| Which UTF-8 char corresponds to the binary representation is nonsense for other encodings, and just confusing. | |||
| 2020-11-22 | Add string encoding IBM720 alias CP720 (#3803) | Lars Kanis | |
| The mapping table is generated from the ICU project: https://github.com/unicode-org/icu/blob/master/icu4c/source/data/mappings/ibm-720_P100-1997.ucm Fixes bug 16233 : https://bugs.ruby-lang.org/issues/16233 Notes: Merged-By: nurse <naruse@airemix.jp> | |||
| 2020-11-20 | Make String methods return String instances when called on a subclass instance | Jeremy Evans | |
| This modifies the following String methods to return String instances instead of subclass instances: * String#* * String#capitalize * String#center * String#chomp * String#chop * String#delete * String#delete_prefix * String#delete_suffix * String#downcase * String#dump * String#each/#each_line * String#gsub * String#ljust * String#lstrip * String#partition * String#reverse * String#rjust * String#rpartition * String#rstrip * String#scrub * String#slice! * String#slice/#[] * String#split * String#squeeze * String#strip * String#sub * String#succ/#next * String#swapcase * String#tr * String#tr_s * String#upcase This also fixes a bug in String#swapcase where it would return the receiver instead of a copy of the receiver if the receiver was the empty string. Some string methods were left to return subclass instances: * String#+@ * String#-@ Both of these methods will return the receiver (subclass instance) in some cases, so it is best to keep the returned class consistent. Fixes [#10845] Notes: Merged: https://github.com/ruby/ruby/pull/3701 | |||
| 2020-11-13 | Update to ruby/spec@b0b7f53 | Benoit Daloze | |
| 2020-09-30 | Update to ruby/spec@9277d27 | Benoit Daloze | |
| 2020-09-17 | Update to ruby/spec@e829fb0 | Benoit Daloze | |
| 2020-08-28 | Update to ruby/spec@335eb9b | Benoit Daloze | |
| 2020-07-27 | Update to ruby/spec@07164da | Benoit Daloze | |
| 2020-05-03 | Update to ruby/spec@032ee74 | Benoit Daloze | |
| 2020-04-01 | Drop support for ruby 2.4 from ruby/spec | Nobuyoshi Nakada | |
| Notes: Merged: https://github.com/ruby/ruby/pull/2892 | |||
| 2020-04-01 | Use FrozenError instead of frozen_error_class | Nobuyoshi Nakada | |
| Notes: Merged: https://github.com/ruby/ruby/pull/2892 | |||
| 2020-02-28 | Update to ruby/spec@41bf282 | Benoit Daloze | |
| 2020-02-23 | Warn non-nil `$/` [Feature #14240] | Nobuyoshi Nakada | |
| Notes: Merged: https://github.com/ruby/ruby/pull/2920 | |||
| 2020-01-28 | Update to ruby/spec@f8a2d54 | Benoit Daloze | |
