Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update to ruby/spec@e7dc804 | Benoit Daloze | 2023-02-27 | 6 | -1/+15 |
| | |||||
* | * remove trailing spaces, append newline at EOF. [ci skip] | git | 2023-01-05 | 1 | -1/+1 |
| | |||||
* | Update to ruby/spec@9d69b95 | Benoit Daloze | 2023-01-05 | 37 | -78/+610 |
| | |||||
* | [Bug #19087] Merge to "trailing garbage" case | Nobuyoshi Nakada | 2022-12-02 | 1 | -6/+3 |
| | |||||
* | [Bug #19087] Fix an assertion of `String#to_c` | Nobuyoshi Nakada | 2022-12-02 | 1 | -2/+4 |
| | |||||
* | Make String#rstrip{,!} raise Encoding::CompatibilityError for broken coderange | Jeremy Evans | 2022-11-24 | 1 | -7/+21 |
| | | | | | | | | | | | | | | | | 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] | ||||
* | Update to ruby/spec@740ccc8 | Benoit Daloze | 2022-11-07 | 11 | -86/+166 |
| | |||||
* | Update to ruby/spec@1d9d5c6 | Benoit Daloze | 2022-09-28 | 1 | -0/+26 |
| | |||||
* | [Bug #18955] format single character for `%c` | Nobuyoshi Nakada | 2022-08-20 | 1 | -2/+10 |
| | |||||
* | Update to ruby/spec@cbfaf51 | Benoit Daloze | 2022-07-27 | 19 | -11/+181 |
| | |||||
* | Update to ruby/spec@ab32a1a | Benoit Daloze | 2022-06-26 | 9 | -6/+71 |
| | |||||
* | [Feature #18595] Alias String#-@ as String#dedup | Jean Boussier | 2022-05-20 | 3 | -45/+57 |
| | |||||
* | Update to ruby/spec@3affe1e | Benoit Daloze | 2022-04-25 | 43 | -1152/+16 |
| | |||||
* | Fix a typo | Kazuhiro NISHIYAMA | 2022-04-17 | 1 | -1/+1 |
| | |||||
* | Update to ruby/spec@aaf998f | Benoit Daloze | 2022-03-28 | 7 | -5/+29 |
| | |||||
* | Update to ruby/spec@82cd3a3 | Benoit Daloze | 2022-03-03 | 1 | -0/+9 |
| | |||||
* | Update to ruby/spec@902ab83 | Benoit Daloze | 2022-01-28 | 1 | -0/+11 |
| | |||||
* | Update to ruby/spec@226cfdc | Benoit Daloze | 2022-01-10 | 5 | -14/+24 |
| | |||||
* | Update to ruby/spec@7f22a0b | Benoit Daloze | 2021-11-29 | 7 | -7/+41 |
| | |||||
* | Update to ruby/spec@21a48d9 | Benoit Daloze | 2021-10-28 | 1 | -4/+46 |
| | |||||
* | pack.c: add an offset argument to unpack and unpack1 | Jean Boussier | 2021-10-26 | 2 | -0/+40 |
| | | | | | | [Feature #18254] This is useful to avoid repeteadly copying strings when parsing binary formats | ||||
* | Update to ruby/spec@ccf0d85 | Benoit Daloze | 2021-10-05 | 9 | -2/+118 |
| | |||||
* | Update to ruby/spec@b65d01f | Benoit Daloze | 2021-07-29 | 6 | -119/+100 |
| | |||||
* | Update to ruby/spec@a0b7d0d | Benoit Daloze | 2021-06-02 | 3 | -0/+29 |
| | |||||
* | Update to ruby/spec@37e52e5 | Benoit Daloze | 2021-02-27 | 1 | -0/+14 |
| | |||||
* | Make String#{strip,lstrip}{,!} strip leading NUL bytes | Jeremy Evans | 2021-02-20 | 2 | -18/+22 |
| | | | | | | | | | | | 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] | ||||
* | Update to ruby/spec@8cafaa5 | Benoit Daloze | 2021-01-28 | 3 | -0/+25 |
| | |||||
* | Update to ruby/spec@4ce9f41 | Benoit Daloze | 2020-12-27 | 1 | -0/+6 |
| | |||||
* | Use Integer instead of Fixnum/Bignum | Nobuyoshi Nakada | 2020-12-21 | 7 | -23/+23 |
| | |||||
* | Update to ruby/spec@ac878ad | Benoit Daloze | 2020-11-27 | 3 | -0/+26 |
| | |||||
* | Use hex-encoded binaries instead of UTF-8 | Nobuyoshi Nakada | 2020-11-22 | 1 | -2/+2 |
| | | | | | Which UTF-8 char corresponds to the binary representation is nonsense for other encodings, and just confusing. | ||||
* | Add string encoding IBM720 alias CP720 (#3803) | Lars Kanis | 2020-11-22 | 1 | -0/+8 |
| | | | | | | 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 | ||||
* | Make String methods return String instances when called on a subclass instance | Jeremy Evans | 2020-11-20 | 23 | -148/+502 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] | ||||
* | Update to ruby/spec@b0b7f53 | Benoit Daloze | 2020-11-13 | 1 | -0/+8 |
| | |||||
* | Update to ruby/spec@9277d27 | Benoit Daloze | 2020-09-30 | 1 | -5/+26 |
| | |||||
* | Update to ruby/spec@e829fb0 | Benoit Daloze | 2020-09-17 | 3 | -118/+11 |
| | |||||
* | Update to ruby/spec@335eb9b | Benoit Daloze | 2020-08-28 | 1 | -0/+14 |
| | |||||
* | Update to ruby/spec@07164da | Benoit Daloze | 2020-07-27 | 1 | -5/+63 |
| | |||||
* | Update to ruby/spec@032ee74 | Benoit Daloze | 2020-05-03 | 41 | -183/+183 |
| | |||||
* | Drop support for ruby 2.4 from ruby/spec | Nobuyoshi Nakada | 2020-04-01 | 10 | -649/+596 |
| | |||||
* | Use FrozenError instead of frozen_error_class | Nobuyoshi Nakada | 2020-04-01 | 29 | -137/+137 |
| | |||||
* | Update to ruby/spec@41bf282 | Benoit Daloze | 2020-02-28 | 1 | -0/+20 |
| | |||||
* | Warn non-nil `$/` [Feature #14240] | Nobuyoshi Nakada | 2020-02-23 | 2 | -3/+11 |
| | |||||
* | Update to ruby/spec@f8a2d54 | Benoit Daloze | 2020-01-28 | 6 | -0/+97 |
| | |||||
* | Freeze Regexp literals | Jean Boussier | 2020-01-15 | 1 | -1/+1 |
| | | | | | | | [Feature #8948] [Feature #16377] Since Regexp literals always reference the same instance, allowing to mutate them can lead to state leak. | ||||
* | Update to ruby/spec@d419e74 | Benoit Daloze | 2019-12-27 | 3 | -13/+18 |
| | |||||
* | Fixed misspellings | Nobuyoshi Nakada | 2019-12-20 | 1 | -1/+1 |
| | | | | Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec. | ||||
* | Deprecate taint/trust and related methods, and make the methods no-ops | Jeremy Evans | 2019-11-18 | 43 | -670/+832 |
| | | | | | | This removes the related tests, and puts the related specs behind version guards. This affects all code in lib, including some libraries that may want to support older versions of Ruby. | ||||
* | Update to ruby/spec@34e6246 | Benoit Daloze | 2019-09-29 | 3 | -31/+30 |
| | |||||
* | Update to ruby/spec@519df35 | Benoit Daloze | 2019-09-29 | 1 | -3/+3 |
| |