Project

General

Profile

Activity

From 07/28/2017 to 08/03/2017

08/03/2017

09:11 PM Feature #13780: String#each_grapheme
shevegen (Robert A. Heiler) wrote:
> My only concern is about the name "grapheme".
> ...
I think the term is correct and it complements #codepoints and #each_codepoint. In Elixir for example:
~~~
"🇺🇸🇦🇫" |> String.codepoints #=> ["🇺...
shan (Shannon Skipper)
07:09 PM Feature #13780: String#each_grapheme
My only concern is about the name "grapheme".
I don't know how it is for others but ... this is the first time that I even heard the
term.
shevegen (Robert A. Heiler)
06:35 PM Feature #13780 (Closed): String#each_grapheme
Ruby's regex engine has support for graphemes via `\X`:
https://github.com/k-takata/Onigmo/blob/791140951eefcf17db4e762e789eb046ea8a114c/doc/RE#L117-L124
This is really useful when working with Unicode strings. However, code like `...
rbjl (Jan Lelis)
04:00 PM Bug #13682: return inside of ensure causes [BUG]
ruby_2_4 r59493 merged revision(s) 59183,59184. nagachika (Tomoyuki Chikanaga)
04:00 PM Revision 91b51140 (git): merge revision(s) 59183,59184: [Backport #13682]
fix return in toplevel rescue/ensure
* compile.c (iseq_compile_each0): throw TAG_RETURN at return in
toplevel rescue/ensure to adjust VM stack properly.
[ruby-core:81777] [Bug #13682]
* vm_insnhelper...
nagachika (Tomoyuki Chikanaga)
03:41 PM Bug #13690: next in once causes [BUG]
ruby_2_4 r59492 merged revision(s) 59202. nagachika (Tomoyuki Chikanaga)
03:41 PM Revision b17da781 (git): merge revision(s) 59202: [Backport #13690]
compile.c: disallow next in once
* compile.c (iseq_compile_each0): turned dregx context in "once"
into "guarded" type from "block" type, to disallow `next`,
`break`, `redo` as well as outside "once".
...
nagachika (Tomoyuki Chikanaga)
03:40 PM Bug #13680: break in once causes [BUG]
ruby_2_4 r59491 merged revision(s) 59181. nagachika (Tomoyuki Chikanaga)
03:40 PM Revision 47a35742 (git): merge revision(s) 59181: [Backport #13680]
vm_insnhelper.c: break in once
* vm_insnhelper.c (vm_throw_start): size of catch table has been
included in iseq_catch_table struct, which could be NULL, since
2.2. e.g., proc-closure in `once'.
[r...
nagachika (Tomoyuki Chikanaga)
02:00 PM Bug #13678: toplevel return causes [BUG]
ruby_2_4 r59490 merged revision(s) 59169. nagachika (Tomoyuki Chikanaga)
02:00 PM Revision 9b586688 (git): merge revision(s) 59169: [Backport #13678]
compile.c: toplevel return in argument
* compile.c (iseq_compile_each0): adjust the stack before return
in an evstr/argument (reported by Balazs <balazs@kutilovi.cz>)
to fix stack consistency error. [ruby-co...
nagachika (Tomoyuki Chikanaga)
01:43 PM Bug #11033: OpenSSL related threading issues in Ruby 2.1 and 2.2
ruby_2_4 r59489 merged revision(s) 58742,59081. nagachika (Tomoyuki Chikanaga)
01:43 PM Revision b08e0ade (git): merge revision(s) 58742,59081: [Backport #11033]
Search SSL libraries by testing various filename patterns
* ext/openssl/extconf.rb (find_openssl_library): should search by more flexible
method, especially for LibreSSL on Windows.
openssl: import v2.0.4
...
nagachika (Tomoyuki Chikanaga)
01:29 PM Bug #13523: negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
ruby_2_4 r59488 merged revision(s) 58503. nagachika (Tomoyuki Chikanaga)
01:29 PM Revision 16acdaef (git): merge revision(s) 58503: [Backport #13523]
node.h: sign-extend
* node.h (nd_line): should sign-extend. shifting `VALUE` extends
with zero bits if `sizeof(VALUE)` equals to `sizeof(int)`. the
zero bits are truncated if `sizeof(VALUE)` is bigger enoug...
nagachika (Tomoyuki Chikanaga)
12:31 PM Revision 9135c8c3 (git): Use the same variable name as in dir.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:39 AM Revision 2e5f59f8 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:39 AM Revision dc7f2cd5 (git): Add initial test for lldb extension
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:11 AM Revision 4f8107a4 (git): disable rdoc for internal constants [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:09 AM Revision 1ebd2b37 (git): ruby.h: NULL as empty array
* include/ruby/ruby.h (rb_yield_values, rb_funcall): call with
NULL when no arguments, for clang which defines static array
when an empty array is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59483 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
07:08 AM Revision 2d3c3315 (git): extract IDs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:13 AM Revision 76857f8e (git): dir.c: reduce syscalls
* dir.c (glob_helper): utilize d_type even if no recursive
pattern, to reduce stat/lstat syscalls in subsequent
glob_helper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:41 AM Revision 2a5c20ac (git): fix typo in help [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:39 AM Revision 1ef613dd (git): dir.c: relative path Dir base
* dir.c (glob_helper): fix globbing based on a relative path Dir.
[Feature #13056]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:31 AM Revision 6c676acf (git): Should show the entity of $PATH_SEPARATOR
* win32/configure.bat (--help): should show the entity of $PATH_SEPARATOR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:25 AM Revision 3bec82c7 (git): Mention about `--with-opt-dir`
* win32/configure.bat (--help): mention about `--with-opt-dir`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:14 AM Revision 83a31e9e (git): dir.c: relax base option
* dir.c (dir_glob_options): relax base option. ignore when nil
or an empty string as :base option. [Feature #13056]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:53 AM Revision 432e6805 (git): spec_helper.rb: pass jobserver fds
* spec/rubyspec/optional/capi/spec_helper.rb (compile_extension):
pass jobserver fds explicitly, because other specs might have
set close_on_exec flags on these fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59475 b2dd03c8-3...
nobu (Nobuyoshi Nakada)

08/02/2017

09:48 PM Revision 46085e91 (git): fix stack storing for root fibers.
* cont.c (root_fiber_alloc): this function is called by fiber_current()
and fiber_store(). fiber_current() should clear VM stack information
in a fiber data because runnning thread knows stack information and has
responsibility to ...
ko1 (Koichi Sasada)
09:44 PM Bug #13779 (Third Party's Issue): Rails Console Crashing 2 Days in a Row
nobu (Nobuyoshi Nakada)
04:30 PM Bug #13779 (Third Party's Issue): Rails Console Crashing 2 Days in a Row
```
testlabserverold:plus_achieve admin$ rails c
Running via Spring preloader in process 21136
/Users/admin/.rvm/gems/ruby-2.4.1@global/gems/activerecord-5.1.2/lib/active_record/connection_adapters/sqlite3_adapter.rb:30: [BUG] Segment...
darkknightsds (shane stafford)
05:51 PM Feature #13570 (Closed): Using mkmf for ruby/spec C API specs
Eregon (Benoit Daloze)
03:10 PM Revision a2078e7c (git): Fix URI::FTP.build code example typo
ref https://github.com/rurema/doctree/pull/462
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:10 PM Revision c8247a6b (git): Fix variable name in example of net/pop
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:10 PM Revision b93aea84 (git): Fix net/pop code example syntax error
ref https://github.com/rurema/doctree/pull/455
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:10 PM Revision 58cef450 (git): * 2017-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 42fbe19f (git): Fix cgi/core code example missing comma
ref https://github.com/rurema/doctree/pull/448
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
05:27 AM Revision bc5d11bc (git): Port more commands from .gdbinit to lldb
* misc/lldb_cury.py (dump_node, SDR, rb_count_objects): added
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:02 AM Revision 82389879 (git): suppress warnings when RUBY_USE_SETJMPEX
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:40 AM Revision 5ba4d948 (git): eval.c: suppress warnings
* eval.c (exc_setup_message): setup exception message as an
exception instance, and a cause from a previous exception.
split from setup_exception to suppress a warning when
RUBY_USE_SETJMPEX is enabled.
* eval.c (setup_exception):...
nobu (Nobuyoshi Nakada)
02:20 AM Revision 71d16ad5 (git): ipaddr is now a default gem with an upstream at: https://github.com/ruby/ipaddr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
02:19 AM Revision 8397de00 (git): Partly reverted email notification on travis configuration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:14 AM Bug #13778 (Feedback): net/http.rb:879 TCPSocket.open fail
2.2.4 is out of date.
Could you try more recent versions?
nobu (Nobuyoshi Nakada)
02:11 AM Bug #13537: ruby crash in rb_gc_mark
could you with check recent trunk (2.5dev)? I'm not sure recent 2.4 has backport patch (r59063).
ko1 (Koichi Sasada)
12:54 AM Revision a2fcfba5 (git): eval.c: fix state type
* eval.c (setup_exception): state is a raised thread flag, not for
EXEC_TAG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:50 AM Bug #13772 (Closed): Memory leak recycling stacks for threads in 2.4.1
Applied in changeset trunk|r59462.
----------
release VM stack properly.
* cont.c: r55766 change the handling method of Fiber's VM stack.
Resumed Fiber points NULL as VM stack and running Thread has
responsibility to manage it (mar...
ko1 (Koichi Sasada)
12:50 AM Revision 92f7813a (git): release VM stack properly.
* cont.c: r55766 change the handling method of Fiber's VM stack.
Resumed Fiber points NULL as VM stack and running Thread has
responsibility to manage it (marking and releasing).
However, thread_start_func_2()@thread.c and thread_...
ko1 (Koichi Sasada)
12:20 AM Revision b7f205d5 (git): * 2017-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:20 AM Revision 3ba550c1 (git): Remove "make update-rubyspec"
because it is no-op for compatibility
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)

08/01/2017

10:30 PM Bug #13778 (Closed): net/http.rb:879 TCPSocket.open fail
I had a error on use evil-proxy in ruby 2.2.4, please see attached. fitmap (Justin Peal)
12:14 PM Misc #13704 (Assigned): [PATCH] Exclude Changelog files from documentation.
I'm not sure that html page of Changelog is not valuable.
Example, permalink of changelog: https://docs.ruby-lang.org/en/2.4.0/ChangeLog-2_4_0.html#label-2016-11-07
I'm going to discuss this issue at next Developer Meeting.
hsbt (Hiroshi SHIBATA)
11:59 AM Revision ae6625c5 (git): assertions.rb: AllFailures#message encoding
* test/lib/test/unit/assertions.rb (AllFailures#message): put
indented messages back to the original encoding, to get rid of
Encoding::CompatibilityError when key has non-ASCII characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
08:32 AM Revision 4eafec5e (git): parse.y: simplify parse_ident
* parse.y (parse_ident): simplified selecting identifier types by
the suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:15 AM Bug #13537: ruby crash in rb_gc_mark
I get the same error running the Pry rspec suite.
~~~
[BUG] rb_gc_mark(): 0x000000036d2bc8 is T_NONE
~~~
The value 0x000000036d2bc8 varies.
Using ruby 2.4.2p161 (2017-07-23 revision 59409) [x86_64-linux]
When I change RGENG...
djellemah (John Anderson)
05:08 AM Bug #13772: Memory leak recycling stacks for threads in 2.4.1
I'm going to set Backport field based on the report at https://bugs.ruby-lang.org/issues/13772#note-1
nagachika (Tomoyuki Chikanaga)
02:10 AM Bug #13775 (Closed): Ruby hangs when calling scope and belongs_to many times (with mongomapper)
Applied in changeset trunk|r59457.
----------
should not copy promoted flags.
* include/ruby/ruby.h (rb_clone_setup): should not copy some flags
(FL_PROMOTED0|FL_PROMOTED1|FL_FINALIZE).
[Bug #13775]
* test/ruby/test_object.rb: add...
ko1 (Koichi Sasada)
01:07 AM Bug #13775: Ruby hangs when calling scope and belongs_to many times (with mongomapper)
mtsmfm (Fumiaki Matsushima) wrote:
> Oops!
> ...
Thank you. reproduced.
I guess this is a GC issue.
Here is a reproducible code with cflags="-DRGENGC_CHECK_MODE=2" build.
this code works fine (= no [BUG]) without RGENGC_CHECK_MODE...
wanabe (_ wanabe)
02:10 AM Revision fb29a4dc (git): should not copy promoted flags.
* include/ruby/ruby.h (rb_clone_setup): should not copy some flags
(FL_PROMOTED0|FL_PROMOTED1|FL_FINALIZE).
[Bug #13775]
* test/ruby/test_object.rb: add a test (note that this test will fail
only when RGENGC_CHECK_MODE >= 2).
gi...
ko1 (Koichi Sasada)
12:19 AM Revision 66cc7e04 (git): * 2017-08-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:19 AM Revision 53b88cc6 (git): Use `&.` instead of modifier if
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

07/31/2017

11:59 PM Bug #13772 (Assigned): Memory leak recycling stacks for threads in 2.4.1
hsbt (Hiroshi SHIBATA)
02:28 PM Bug #13772: Memory leak recycling stacks for threads in 2.4.1
On Friday I downgraded one of our clusters, this is how it looks.
![](https://pbs.twimg.com/media/DGEfFuaWAAALSvI.jpg:large)
sam.saffron (Sam Saffron)
02:22 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
there's a good article about this
https://research.swtch.com/glob
https://perl5.git.perl.org/perl.git/commitdiff/33252c318625f3c6c89b816ee88481940e3e6f95?hp=57ab6c610267dba697199c8256f4258af7d391c1
take a look at the python's implem...
ahorek (Pavel Rosický)
11:18 AM Feature #13770: Can't create valid Cyrillic-named class/module
I'm uncertain about the usage of `mbc_case_fold`.
```diff
diff --git i/parse.y w/parse.y
index 02d9412a2c..96f25d893e 100644
--- i/parse.y
+++ w/parse.y
@@ -7790,6 +7790,8 @@ parse_atmark(struct parser_params *parser, const enum ...
nobu (Nobuyoshi Nakada)
09:21 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Just to add, Puma has a HTTP parser (and perhaps other bits) written in C, while Falcon is pure Ruby, yet Falcon has better/similar performance in my (hopefully unbiased) tests. Additionally, Falcon had significantly lower latency, and t... ioquatix (Samuel Williams)
09:19 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
I am following this thread and I find it really fascinating.
Thanks everyone for thinking about these issues and Eric for your insightful work and ideas. Just as an aside, I feel like something is being lost in translation w.r.t. the ...
ioquatix (Samuel Williams)
05:55 AM Bug #13775: Ruby hangs when calling scope and belongs_to many times (with mongomapper)
wanabe (_ wanabe) wrote:
> I couldn't reproduce because of lack of docker-compose.yml (and maybe Dockerfile).
> ...
Oops!
Sorry, I committed and pushed!
mtsmfm (Fumiaki Matsushima)
01:04 AM Bug #13775: Ruby hangs when calling scope and belongs_to many times (with mongomapper)
I couldn't reproduce because of lack of docker-compose.yml (and maybe Dockerfile).
```
$ docker-compose run ruby-2-4-1
ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in ...
wanabe (_ wanabe)
04:04 AM Revision bf87195e (git): configure.in: use libtool
* configure.in: use libtool on macOS to suppress a warning against
debug_counter.o, which has no symbols unless USE_DEBUG_COUNTER
is set to non-zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59454 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
03:35 AM Revision 2fa38c59 (git): * 2017-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:35 AM Revision d9d2bbe4 (git): Improve error message
ref [Bug #13761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)

07/30/2017

02:59 PM Revision 84d83482 (git): UNALIGNED_MEMBER_ACCESS only for clang
* eval_intern.h (UNALIGNED_MEMBER_ACCESS): enable only on clang.
gcc does not complain about pointers to member of unaligned
struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:48 PM Revision 2b582b7c (git): UNALIGNED_MEMBER_ACCESS
* eval_intern.h (UNALIGNED_MEMBER_ACCESS): suppress
address-of-packed-member warnings by clang 4.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:36 PM Feature #13777: Array#delete_all
I myself usually use .reject! and .select! and then apply the reverse prior to that
if I need to keep these entries as well (or respectively without the '!').
My approach also needs more lines.
If I understood it correctly so then...
shevegen (Robert A. Heiler)
07:12 AM Feature #13777 (Rejected): Array#delete_all
I want Array#delete_if which returns array of deleted values.
For following code,
~~~
array = ["a", "aa", "ab", "bb", "c"]
result = {}
until array.empty?
key = array.first
group, array = array.partition { |v| v.start_with?...
k0kubun (Takashi Kokubun)
02:56 AM Revision f9d5843f (git): hash.c: refactor env_enc_str_new
* hash.c (env_enc_str_new): convert to the expected encoding
without intermediate string, and set econv flags if default
internal encoding is set too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59449 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
02:56 AM Revision 8458e709 (git): string.c: rb_str_initialize
* string.c (rb_str_initialize): new function to (re)initialize a
string with data and encoding. extracted from
rb_external_str_new_with_enc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:40 AM Revision c3c215e2 (git): * 2017-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:40 AM Revision 44544c03 (git): compile.c: replace adjuststack
* compile.c (iseq_set_sequence): replace adjuststack with pop, or
remove if possible instead of two nops.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

07/29/2017

12:42 PM Bug #13776 (Closed): Refined methods ignore visibility of inherited methods
Applied in changeset trunk|r59445.
----------
visibility of inherited method
* vm_insnhelper.c (vm_call_method_each_type): honor the original
visibility of inherited methods when a refinement is defined but
not activated. [ruby-co...
nobu (Nobuyoshi Nakada)
09:19 AM Bug #13776 (Closed): Refined methods ignore visibility of inherited methods
This bug was pointed out by al2o3-cr on the #ruby IRC channel on freenode. The following code sleeps for 3 seconds, even though `String#sleep` is a private method.
```ruby
module Test
refine String do
def sleep; end
end
e...
Mon_Ouie (Mon ouïe)
12:42 PM Revision 3449d4fa (git): visibility of inherited method
* vm_insnhelper.c (vm_call_method_each_type): honor the original
visibility of inherited methods when a refinement is defined but
not activated. [ruby-core:82209] [Bug #13776]
Author: Mon_Ouie (Mon ouïe) <mon.ouie@gmail.com>
gi...
nobu (Nobuyoshi Nakada)
12:42 PM Revision 97c977de (git): adjust indent [ci skip]
* vm_insnhelper.c (vm_call_method_each_type): adjust indent of a
block in switch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:11 PM Revision 4905a62f (git): file.c: [DOC] File.mkfifo
* file.c (rb_file_s_mkfifo): enclose rdoc by ifdef so it will be
generated properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:03 AM Revision c1d5d16c (git): compile.c: fix flip-flop value
* compile.c (iseq_compile_each0): as compile_flip_flop always ends
with a jump instruction, successive instruction is never reached,
but caused stack consistency error without peephole optimization.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
12:17 AM Feature #13770: Can't create valid Cyrillic-named class/module
To distinguish non-ASCII upper/lower cases would lead non-ASCII punctuations too.
ASCII punctuations cannot be a part of identifiers, will non-ASCII versions be same?
BTW, I think Japanese has no or little concept of plural, except t...
nobu (Nobuyoshi Nakada)

07/28/2017

04:57 PM Feature #13637: [PATCH] tool/runruby.rb: test with smallest possible machine stack
I think I am using openssl-1.0.1s.
`HAVE_RB_FD_INIT` is not defined, but in fact AIX has `fd_mask`. It turned out that when defining `HAVE_RB_FD_INIT` by checking `fd_mask`, configure.in does not include sys/select.h. On AIX you have ...
ReiOdaira (Rei Odaira)
04:47 PM Revision ab6631e0 (git): * 2017-07-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:47 PM Revision 3215b27a (git): Include sys/select.h when checking HAVE_RB_FD_INIT
* configure.in: include sys/select.h for fd_mask on AIX
[Feature #13637]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Rei Odaira
02:16 PM Revision cff3941b (git): rexml: Remove needless document
[Fix GH-1671]
Patch by madblobfish. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
10:49 AM Feature #13770: Can't create valid Cyrillic-named class/module
matz (Yukihiro Matsumoto) wrote:
> And maybe it's time to relax the limitation for Non-ASCII capital letters to start constant names.
I agree. Here are some pointers for implementation:
The distinction between constants (`tCONSTAN...
duerst (Martin Dürst)
10:22 AM Feature #13770: Can't create valid Cyrillic-named class/module
shevegen (Robert A. Heiler) wrote:
> Martin Dürst could then create classes for all Emojis in Unicode. :D
Well, it's unclear whether emoji (note the Japanese plural!) are upper-case or lower-case.
I thought maybe we could make a dis...
duerst (Martin Dürst)
07:46 AM Revision 0607ccc2 (git): * 2017-07-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:46 AM Revision 32eeff17 (git): csv.rb: fix incompatibility introduced in r59428
* lib/csv.rb: fix incompatibility introduced in r59428.
CSV.new takes options as keyword arguments.
* test/csv/test_features.rb: add a test to ensure it raises error againt
unknown options
* t...
Glass_saga (Masaki Matsushita)
 

Also available in: Atom