Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-30 | Suppress unused variable warnings | Nobuyoshi Nakada | |
2019-06-30 | Wait for the helper thread to terminate | Nobuyoshi Nakada | |
2019-06-30 | Add parentheses to suppress warnings | Nobuyoshi Nakada | |
2019-06-30 | Removed unused variables | Nobuyoshi Nakada | |
2019-06-29 | Escape control codes in regexp warning message | Nobuyoshi Nakada | |
2019-06-29 | Should not warn massign parameters as unused | Nobuyoshi Nakada | |
2019-06-29 | Rmove old TestTimeTZ::TZ#abbr attribute | Nobuyoshi Nakada | |
2019-06-29 | Add max option to TestProtocol#create_mockio | Nobuyoshi Nakada | |
* test/net/protocol/test_protocol.rb (TestProtocol#create_mockio): max option to limit maximum writable size at once, and unify mock method in test_write0_multibyte. | |||
2019-06-29 | Fixed String#grapheme_clusters with wide encodings | Nobuyoshi Nakada | |
* string.c (get_reg_grapheme_cluster): make regexp from properly encoded sources fro wide-char encodings. [Bug #15965] * regparse.c (node_extended_grapheme_cluster): suppress false duplicated range warning for the time being. | |||
2019-06-29 | Hoisted out WIDE_ENCODINGS | Nobuyoshi Nakada | |
2019-06-29 | Set file name and line number | Nobuyoshi Nakada | |
2019-06-29 | Adjust caller's line number, expect the next line as here-doc | Nobuyoshi Nakada | |
2019-06-28 | Removed unused variables | Nobuyoshi Nakada | |
2019-06-28 | Add parentheses to suppress a warning | Nobuyoshi Nakada | |
2019-06-28 | Test string content | Nobuyoshi Nakada | |
2019-06-28 | Removed unused variables | Nobuyoshi Nakada | |
2019-06-28 | Fixed a variable name | Nobuyoshi Nakada | |
2019-06-28 | Removed excess spaces | Nobuyoshi Nakada | |
2019-06-28 | Fixed name conflict between helper classes | Nobuyoshi Nakada | |
2019-06-28 | Skip instead of return | Nobuyoshi Nakada | |
2019-06-28 | Suppress unused variable warnings | Nobuyoshi Nakada | |
2019-06-28 | Use assert_separately instead of invoke_ruby | Nobuyoshi Nakada | |
2019-06-28 | Define singleton method on each new objects | Nobuyoshi Nakada | |
2019-06-28 | Suppress redefinition and void context warnings | Nobuyoshi Nakada | |
2019-06-28 | Use assigned local variable | Nobuyoshi Nakada | |
2019-06-28 | Wait for the helper thread to terminate | Nobuyoshi Nakada | |
2019-06-28 | Fixed the test-case class name for zsh | Nobuyoshi Nakada | |
2019-06-28 | Use block instead of explicit close | Kazuhiro NISHIYAMA | |
2019-06-28 | Add `require 'test/unit'` | Kazuhiro NISHIYAMA | |
2019-06-28 | Suppress void context warning in verbose mode | Nobuyoshi Nakada | |
2019-06-28 | Close leaked file descriptor | Nobuyoshi Nakada | |
2019-06-28 | Suppress unused variable warning with RUBYOPT=-w | Nobuyoshi Nakada | |
2019-06-28 | O_EXCL has no meaning for fdopen | Nobuyoshi Nakada | |
"exclusive access mode is not supported" exception has resulted in empty "rubyheap-*.json" files after test/objspace/test_objspace.rb. | |||
2019-06-27 | Fix ripper fatal | Nobuyoshi Nakada | |
* parse.y (parser_yylex): return END_OF_INPUT at unterminated here document instead of an error. [Bug #15962] | |||
2019-06-27 | Test for unterminated here-docs | Nobuyoshi Nakada | |
2019-06-26 | test/ruby/test_array.rb (test_sort_with_replace): run in a subprocess | Yusuke Endoh | |
This test invokes GC.start 100 times, which takes approx. six minutes in Solaris. This change runs the test in a separated process, which makes GC.start faster. | |||
2019-06-26 | Resize capacity for fstring | John Hawthorn | |
When a string is #frozen, it's capacity is resized to fit (if it is much larger), since we know it will no longer be mutated. > puts ObjectSpace.dump(String.new("a"*30, capacity: 1000)) {"type":"STRING", "class":"0x7feaf00b7bf0", "bytesize":30, "capacity":1000, "value":"... > puts ObjectSpace.dump(String.new("a"*30, capacity: 1000).freeze) {"type":"STRING", "class":"0x7feaf00b7bf0", "frozen":true, "bytesize":30, "value":"... (ObjectSpace.dump doesn't show capacity if capacity is equal to bytesize) Previously, if we dedup into an fstring, using String#-@, capacity would not be reduced. > puts ObjectSpace.dump(-String.new("a"*30, capacity: 1000)) {"type":"STRING", "class":"0x7feaf00b7bf0", "frozen":true, "fstring":true, "bytesize":30, "capacity":1000, "value":"... This commit makes rb_fstring call rb_str_resize, the same as rb_str_freeze does. Closes: https://github.com/ruby/ruby/pull/2256 | |||
2019-06-25 | test/net/imap/test_imap.rb: use Thread#stop? to wait for server thread | Yusuke Endoh | |
Still timeout occurs. Retry for 5dd8fdd3f328f741fae4abba00c478e8a51d2a7e. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20190625T032405Z.fail.html.gz | |||
2019-06-25 | Do not allocate a string to check if a scalar is an integer | Jean Boussier | |
2019-06-25 | Add test to demonstrate issue deserializing hash with ivar | Jordan Owens | |
Currently the elements of a hash are revived before any ivar values. This causes an issue when the `[]=` method references an instance variable. | |||
2019-06-25 | Round trip exception backtraces | Aaron Patterson | |
This commit allows exception backtraces to round trip | |||
2019-06-25 | Fix IO#scanf on pipes on Windows | Jeremy Evans | |
IO.seek on a pipe on Windows raises Errno::EINVAL instead of Errno::ESPIPE. Fixes Ruby Bug #15199 | |||
2019-06-24 | Add new encoding CESU-8 [Feature #15931] | NARUSE, Yui | |
2019-06-24 | httpstatus.rb 100% coverage | masakazutakewaka | |
2019-06-24 | Remove extraneous spaces at the end of status line | Nobuyoshi Nakada | |
Remove extraneous spaces after the status code that is non-compliant with RFC, i.e `HTTP 200 OK `, to unnecessary confusion for WEBrick users, by a risk that WEBrick instances in the wild will have server responses flagged as suspicious or malicious due to a similar bug in [Cobalt Strike misconfiguration]. Reported by Matt Tennis <mtennis@paloaltonetworks.com> [Cobalt Strike misconfiguration]: https://blog.fox-it.com/2019/02/26/identifying-cobalt-strike-team-servers-in-the-wild/ | |||
2019-06-23 | array.c: always check frozenness in Array#unshift. Fixes [Bug #15952] | Luke Gruber | |
Closes: https://github.com/ruby/ruby/pull/2251 | |||
2019-06-23 | Get rid of error with frozen string literal | Nobuyoshi Nakada | |
[Bug #14194] | |||
2019-06-23 | Disable frozen-string-literal to disable deduplication | Nobuyoshi Nakada | |
[Bug #14194] | |||
2019-06-23 | Get rid of error with frozen string literal | MSP-Greg (Greg L) | |
[Bug #14194] | |||
2019-06-23 | Module#constant_source_location [Feature #10771] | Nobuyoshi Nakada | |