Project

General

Profile

Activity

From 11/03/2017 to 11/09/2017

11/09/2017

11:08 PM Revision 324b6d30 (git): iseq.c: operand lvar
* iseq.c (rb_insn_operand_intern): show local variable operand
name in unified instructions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:02 PM Revision 6820727a (git): mk_call_iseq_optimized.rb: add mode string [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:24 PM Feature #10903: [PATCH] Matrix#zip returns a matrix
Wow, time flies. Sorry for not addressing this earlier.
I have some commits ready to address this: https://github.com/ruby/ruby/pull/1746
Naming: The issue I have with `zip` is not really the potential incompatibility, but that the...
marcandre (Marc-Andre Lafortune)
10:05 PM Revision 3527c863 (git): lib/matrix: Remove method catalog [doc] [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
10:04 PM Revision 6e3126d3 (git): * 2017-11-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:04 PM Revision a5abde57 (git): TracePoint.new: raise ArgumentError when no block given [#14074]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
07:29 PM Bug #14095: erb ignores attempt to set encoding
Expected output was
$ erb -U
<%= "a".encoding %>
^D
UTF-8
Ruby works that way without setting anything
$ ruby
puts "a".encoding
^D
UTF-8
Why doesn't .erb have the same default?
graywolf (Gray Wolf)
07:29 PM Bug #14095 (Closed): erb ignores attempt to set encoding
Erb seems to ignore any attempt to set encoding:
$ erb -U
<%= "a".encoding %>
^D
ASCII-8BIT
I've tried multiple ways to do this but I just can't convice it that the .erb file is in UTF-8. It insists on ASCII-8BIT.
graywolf (Gray Wolf)
07:10 PM Bug #10630: ERB tags nested in escaped blocks are skipped
Thanks!
I've reported it to Erubis a while back (https://github.com/kwatch/erubis/issues/6), but since that project is stale, I've reported it to Erubi as well (https://github.com/jeremyevans/erubi/issues/11).
tonci (Tonči Damjanić)
04:49 PM Bug #14078: Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
I've tried to repro this locally and on Appveyor.
Running the test twenty times, using runner.rb, both parallel and not, no failures, see https://ci.appveyor.com/project/MSP-Greg/testing-appveyor/build/4
Locally, I can't repro with...
MSP-Greg (Greg L)
04:46 PM Bug #14094 (Closed): IRB does not obey frame-level visibility modifiers
I noticed the following today; IRB does not appear to obey the frame-local visibility modifiers like public and private:
```
$ irb
:here
irb(main):001:0> private
=> Object
irb(main):002:0> def foo; end; self.class.public_instance...
headius (Charles Nutter)
11:50 AM Bug #14076: Installing Ruby 2.3.1 - Ubuntu 17.10
The problem stems from default gcc version (it's 7) used on Ubuntu 17.10.
Installing gcc-6 and running the install via
`CC=/usr/bin/gcc-6 rbenv install 2.3.1`
should help.
I leave the note for someone passing thru this issue with t...
kubak (Kuba Krzempek)
11:35 AM Feature #11955: Expose Object that Receives logs in Logger
So will **#logdev** will be exposed in Logger or Logger::LogDevice?
tensho (Andrew Babichev)
08:27 AM Revision 7b1f3906 (git): compile.c: optimize nested string interpolations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:57 AM Revision 1c5ae5a1 (git): insn_info/insns_info
* iseq.h (iseq_line_info_entry): rename to iseq_insn_info_entry.
* vm_core.h (rb_iseq_constant_body): rename field name line_info_table
to insns_info and also from line_info_size to insns_info_size.
* compile.c (INSN): add struct ins...
ko1 (Koichi Sasada)
05:22 AM Revision 3b7373fd (git): fix backtrace on argment error.
* vm_backtrace.c (rb_backtrace_use_iseq_first_lineno_for_last_location):
added. It modifies last location's line as corresponding iseq's first line
number.
* vm_args.c (raise_argument_error): use added function.
git-svn-id: svn+ss...
ko1 (Koichi Sasada)
04:27 AM Revision 976b6df9 (git): fix peephole optimization.
* compile.c (iseq_peephole_optimize): do not need to put `pop`
instruction.
* test/ruby/test_optimization.rb (test_peephole_optimization_without_trace):
This code "def foo; 1.times{|(a), &b| nil && a}; end" fails to compile
by sta...
ko1 (Koichi Sasada)
01:50 AM Revision 2b60e342 (git): node.c (dump_node): add an explanation of NODE_HASH's nd_alen
The field has a flag to represent if it is a keyword argument (that has
no braces, e.g., `foo(k:1)`) or hash literal (that has braces, e.g.,
`foo({k:1})`).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60723 b2dd03c8-39d4-4d8f-98ff-...
mame (Yusuke Endoh)
01:32 AM Revision f09ad1dc (git): use `rb_ast_dispose` instead of `rb_ast_free`
`rb_ast_dispose` calls `rb_gc_writebarrier_remember`. Unless we call
it, the marked objects may not be GC'ed until `rb_ast_t` is GC'ed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:42 AM Revision 3ba9e6b6 (git): Merge rubygems-2.7.2.
This version fixes some setup commands.
https://github.com/rubygems/rubygems/blob/01e797f6aa045fd09df7813d0b5448e3667172a9/History.txt#L3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

11/08/2017

11:09 PM Revision cf3329cb (git): parse.y: fix r60644
* parse.y (rb_strterm_heredoc_t): should not define sourceline as
union, to fix wrong read on big-endian platforms.
as rb_imemo_new stores all members as VALUEs, should read it as
VALUE too.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
08:03 PM Bug #14093 (Rejected): REXML doesn't implement name() and interprets nam() as an element path.
Please see the attached script.
Considering this xml:
```xml
<a><b><name/></b></a>
```
The xpath `/a/b/name()` xpath should return the name of element `a`. Instead it returns the child element `name`.
Output:
```xml
<na...
jcavalieri (John Cavalieri)
06:47 PM Feature #14092: Add extension key argument to Tempfile
It may be best to just publish your suggestion/PR anyway. I may be wrong but
the ruby core team and matz appear to be quite busy currently - see the queue of
other suggestions and changes. Perhaps they will do some "batch-discussions" ...
shevegen (Robert A. Heiler)
11:46 AM Feature #14092 (Open): Add extension key argument to Tempfile
I don't work with Tempfile often, but every time I do, I get surprised by an obscure way to pass an extension to file name.
You have to pass array, where first element is a file name and a second is a file extension *(starting with a do...
TheSmartnik (Nikita Misharin)
04:43 PM Revision b8878481 (git): * 2017-11-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:43 PM Revision d3b63f95 (git): Fix typo in doc [ci skip]
`enable` and `disable` are instance methods.
Patch by: yuuji.yaginuma <yuuji.yaginuma@gmail.com>
https://github.com/ruby/ruby/pull/1744
[Fix GH-1744]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60718 b2dd03c8-39d4-4d8f-98ff-823f...
matsuda (Akira Matsuda)
02:14 PM Revision fb5bc568 (git): fixup r60440 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:09 PM Bug #10630 (Third Party's Issue): ERB tags nested in escaped blocks are skipped
> ERB (Erubis)
ERB and Erubis are totally different things.
~~~ ruby
$ irb -rerb -rerubis -rerubi
irb(main):001:0> RUBY_VERSION
=> "2.5.0"
irb(main):002:0> erb = "<div><%%= Results: <%= 'first' %> | <%= 'second' %> | <%= 'thir...
k0kubun (Takashi Kokubun)
02:10 AM Bug #10630 (Rejected): ERB tags nested in escaped blocks are skipped
It seems an Erubis specific bug.
ERB hasn't had that issue.
nobu (Nobuyoshi Nakada)
11:40 AM Bug #14085: many redefinition warnings on test/win32ole/test_word.rb
実害ないのなら、revertまではしなくていいんじゃないかと思います。
2.5.0のリリースまでに対策するということで。
usa (Usaku NAKAMURA)
11:30 AM Bug #14085: many redefinition warnings on test/win32ole/test_word.rb
#13984 で入れたんですけど、一旦、戻しましょうか。
WIN32OLEから定数を取得するときに、Wordサーバから複数回、同じ定数を返されるので、そうなるんですよね。
warningの対策は別で考えるとして。
suke (Masaki Suketa)
10:54 AM Revision e7d37ebd (git): parse.y: remove in_single
* parse.y (parser_params): removed in_single, which is referenced
with in_def always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:57 AM Revision b0c719da (git): Fix typos in rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
12:03 AM Revision a6f372d1 (git): Omit first argument of NEW_CASE2
* node.h (NEW_CASE2): Omit first argument of NEW_CASE2,
bacause the first argument of NEW_CASE2 is always 0.
* parse.y: Ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)

11/07/2017

08:17 PM Revision 6f33cde6 (git): hash.c: improve docs for Hash#slice
* hash.c: [DOC] clarify description for Hash#slice and remove
a sentence that might suggest that the receiver is modified;
improve example to also include a case where a hash with
several elements is returned.
git-svn-id: svn+ssh:...
stomar (Marcus Stollsteimer)
08:15 PM Revision 8b1c1c55 (git): string.c: improve docs for String#{concat,<<}
* string.c: [DOC] remove a misleading call-seq for String#concat,
which suggests that all arguments must be Integers in this case;
also clarify in the example that the receiver is modified;
fix grammar for String#<<; move reference...
stomar (Marcus Stollsteimer)
08:14 PM Revision c1e1e2b6 (git): pathname.c: improve docs for Pathname
* ext/pathname/pathname.c: [DOC] improve example for Pathname.glob,
by using a more common glob pattern, and improve the reference
to the `base' keyword argument for Pathname#glob.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
stomar (Marcus Stollsteimer)
08:13 PM Revision 35bd2ad2 (git): http.rb: improve docs
* lib/net/http.rb: [DOC] fix typos and grammar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:13 PM Revision b6db783e (git): socket.c,tcpsocket.c: improve deprecation notices
* ext/socket/socket.c: [DOC] fix grammar in deprecation notices.
* ext/socket/tcpsocket.c: [DOC] ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:11 PM Revision 995fd6d7 (git): vm_dump.c: [DOC] fix grammar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:11 PM Revision 3262f491 (git): string.c: fix typos
* string.c: [DOC] fix typos in doxygen comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:10 PM Revision 086015a5 (git): file.c: improve docs for File#path
* file.c: [DOC] fix grammar in docs for File#path
and use a stronger description than "inaccurate".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:09 PM Revision bf6ea09c (git): ext/socket/ifaddr.c: [DOC] fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:08 PM Revision 0f7fed92 (git): etc.c: improve docs for sysconfdir
* ext/etc/etc.c: [DOC] small language fixes for etc_sysconfdir docs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:07 PM Revision 3b071b08 (git): README.md: fix typos and grammar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:06 PM Revision 2aecddc7 (git): NEWS: clarify "ubygems.rb" entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:04 PM Revision ea26e72a (git): * 2017-11-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:04 PM Revision 093aa9ae (git): refinements.rdoc: improve docs
* doc/syntax/refinements.rdoc: [DOC] fix typos and grammar
and remove superfluous "for the first time".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
03:07 PM Feature #14091: Remove Time#succ
Interesting.
If this is true, perhaps ruby core forgot about it.
I had a look at the current docu for Time:
https://ruby-doc.org/core/Time.html
https://ruby-doc.org/core-2.4.2/Time.html#method-i-succ
The documentation re...
shevegen (Robert A. Heiler)
02:50 PM Feature #14091 (Closed): Remove Time#succ
The method Time#succ was marked as obsolete in Ruby 1.9.3 and whilst it remains Rails has to patch Range#each and Range#step to prevent logs from being filled with the deprecation messages (see https://github.com/rails/rails/pull/11474).... pixeltrix (Andrew White)
02:36 PM Bug #10630 (Open): ERB tags nested in escaped blocks are skipped
Reopening, since there is movement on the ERB front in the upcoming v2.5.0. tonci (Tonči Damjanić)
02:23 PM Revision 17f9ad40 (git): disable GC.
* test/ruby/test_io.rb (test_write_no_garbage): malloc can cause GC
and it will reduce string object counts. So disable GC during this test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:21 AM Revision c2a08ef8 (git): tool/runruby.rb: fix RUNRUBY_USE_GDB case
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:23 AM Revision a95f4ace (git): `th` is not used.
* vm_args.c: `th` parameter is not used on the following functions:
* args_check_block_arg0
* keyword_hash_p
* args_pop_keyword_hash
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:20 AM Feature #14044: Introduce a new attribute `step` in Range
I want this feature for specifying a sliced view of a multi-dimensional array.
In Python, it can be represented by using slice notation or a slice object:
```python
>>> ary = numpy.arange(0, 36).reshape((6, 6))
> ...
array([[ 0, 1...
mrkn (Kenta Murata)
08:19 AM Revision 0c2746a7 (git): th->ec: dtrace
* vm.c (ruby_th_dtrace_setup): rename to rb_dtrace_setup()
and accept `ec`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:01 AM Revision 8dbaf1bb (git): `rb_execution_context_t *` should not be `th`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:35 AM Bug #14090 (Assigned): `TestGc#test_interrupt_in_finalizer` fails very rarely
`TestGc#test_interrupt_in_finalizer` fails very rarely, only once every handred or thousand runs.
~~~
# Running tests:
[1/1] TestGc#test_interrupt_in_finalizer = 10.13 s
1) Error:
TestGc#test_interrupt_in_finalizer:
Timeout::...
mame (Yusuke Endoh)
06:36 AM Revision a798e49f (git): Symptomatic treatment for `rb_thread_terminate_all` freeze
Under uncertain condition, `rb_thread_terminate_all` gets stuck. `make
test-all TESTOPTS="test/ruby/test_gc.rb -n test_interrupt_in_finalizer`
fails very rarely (only once every thousand runs). This IS a bug, but
seems difficult to fix...
mame (Yusuke Endoh)
06:14 AM Revision 8ea78d66 (git): th->ec: vm_once_dispatch.
* vm_insnhelper.c (vm_once_dispatch): accepts `ec`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:09 AM Revision f6c102e6 (git): th->ec: rb_threadptr_setup_exception
* eval.c (rb_threadptr_setup_exception): renamed to rb_ec_setup_exception().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:01 AM Revision 2d71889b (git): fix prefix `ruby_...()` to `rb_...()`.
* vm_core.h: fix prefix `ruby_` to `rb_` for the following functions.
* ruby_current_execution_context
* ruby_current_thread
* ruby_current_vm
* ruby_vm_check_ints
* ruby_exec_event_hook_orig
git-svn-id: svn+ssh://ci.ruby-lan...
ko1 (Koichi Sasada)
05:54 AM Revision 7285177c (git): * vm_trace.c (rb_exec_event_hooks): accepts pop_p.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:45 AM Revision 8b7f06d2 (git): th->ec: rb_load_internal0
* load.c (rb_load_internal0): accepts `ec`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:41 AM Revision 8d8e339d (git): fix comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:41 AM Revision 7e9c5aca (git): * eval_intern.h (rb_threadptr_tag_state): rename to rb_ec_tag_state.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:39 AM Revision f1ad90a5 (git): * vm_eval.c (rescue_funcall_args): th->ec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:28 AM Revision f477851b (git): Add details on the min/time parameters to the rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
05:22 AM Revision 48ce4cb4 (git): * eval_intern.h: rename macros rb_thread_raised_* to
rb_ec_raised_*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:12 AM Revision ee189904 (git): rename to rb_ec_set_raised().
* thread.c (rb_threadptr_set_raised): rename to rb_ec_set_raised
and accepts `ec`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:09 AM Revision d1013f2a (git): use GET_VM()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:08 AM Revision 4049ffb5 (git): use GET_EC() directly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:06 AM Revision da986962 (git): * vm_backtrace.c (rb_debug_inspector_t): `th` -> `ec`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:01 AM Revision af8a7df3 (git): move `rb_thread_t::method_missing_reason` to ec.
* vm_core.h (rb_thread_t): move method_missing_reason to
rb_execution_context_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:53 AM Revision 001eb22c (git): remove `rb_postponed_job_t::th`.
* vm_trace.c (rb_postponed_job_t): remove `th` field because it is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:04 AM Revision f3482dda (git): rename because it doesn't receive `th`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:01 AM Revision b6ecdf5f (git): th->ec: rb_threadptr_reset_raised()
* thread.c (rb_threadptr_reset_raised): rename to `rb_ec_reset_raised`
and accepts `ec`.
* vm_trace.c: the following functions accept `ec` instead of `th`
* exec_hooks_body
* exec_hooks_precheck
* exec_hooks_unprotected
* exec...
ko1 (Koichi Sasada)
03:41 AM Revision aa07918c (git): * 2017-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 AM Revision 8244d10f (git): prepare local variables (th and vm).
* vm_trace.c (rb_threadptr_exec_event_hooks_orig): prepare local variables
`th` and `vm` instead of using rb_ec_... functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:20 AM Feature #14079: Validate argument list without calling method
I've removed the `String#prepend` example from the description. Thanks for catching that, Benoit and Hans.
I agree with Benoit that an instance method on `Method`/`UnboundMethod` would be better than my `respond_to_arguments?` method....
nate00 (Nate Sullivan)

11/06/2017

11:15 PM Bug #14089 (Closed): Configure/build issue on OSX 10.12 w/ utimensat
For other reasons I recently installed xcode (instead of JUST using the command line developer tools). This caused builds on ruby to break.
The symptom happens when rdoc tries to build the doco:
~~~
dyld: lazy symbol binding fail...
zenspider (Ryan Davis)
05:35 PM Bug #14088 (Closed): Revisit 34739 - require 'calendar' - test-all useless info?
Is it time to revisit [svn 34739](https://github.com/ruby/ruby/commit/b67bc8d722e9351b34e68ac77d397aead29961cc#diff-b9dd4c7779e6e659753c9eea9c365135), at lease in terms of the changes to Date tests?
See https://github.com/ruby/ruby/pu...
MSP-Greg (Greg L)
03:28 PM Feature #14084: Introduce Enumerator#next?
edited the code example to be a little more readable as to michael's suggestion (https://twitter.com/__michaelg/status/927541360764342272) tessi (Philipp Tessenow)
05:50 AM Feature #14084: Introduce Enumerator#next?
I guess we have to wait how matz feels about it, that is, .next? in
this context. I personally have no problem with it - I wanted to
say something to this, though:
> I am aware that we can currently figure out if there is a next
>...
shevegen (Robert A. Heiler)
02:29 AM Feature #14084 (Open): Introduce Enumerator#next?
I'd like to propose a new method for Enumerator which returns whether there will be a next value in the enumerator when calling `Enumerator#next`.
It should work like this ruby demo:
~~~ ruby
class Enumerator
def next?
pee...
tessi (Philipp Tessenow)
02:56 PM Bug #14087 (Third Party's Issue): Program Crash when using openssl
The interpreter crashed when I assign a DH public key to X509::Certificate using gem openssl.
And I have attached a demo for this problem.
Berry (Berry Jin)
02:54 PM Bug #14086 (Rejected): Interpreter seems to sneak in a nil value when a comma is missing on a nested array wrapped in parenthesis
marcandre (Marc-Andre Lafortune)
10:57 AM Bug #14086: Interpreter seems to sneak in a nil value when a comma is missing on a nested array wrapped in parenthesis
> is this the expected behaviour?
Yes.
Try this:
```ruby
[2, 2][3, 3] # => nil
```
Why?
Because it is read as "Array of `[2,2]`, call operator [] with arguments `3, 3` (which means fetch 3 elements starting from 3rd)". As th...
zverok (Victor Shepelev)
10:51 AM Bug #14086 (Rejected): Interpreter seems to sneak in a nil value when a comma is missing on a nested array wrapped in parenthesis
I believe the title is self explanatory. But code is always louder than words:
~~~ ruby
$ ruby --version
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin16]
$ irb
2.2.4 :001 > ([[2,2], [3,3], [4,4], [5,5], [6,6]])
=> [[...
mariogintili (Mario Gintili)
10:23 AM Feature #14079: Validate argument list without calling method
String#prepend might be a bad example because in your cases it doesn't raise an ArgumentError anymore Hanmac (Hans Mackowiak)
08:22 AM Revision 49d0bbe7 (git): use `GET_EC()` directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:44 AM Revision 5dfdaa92 (git): move rb_thread_t::interrupt_flag and mask
to rb_execution_context_t.
* vm_core.h (rb_thread_t): move
`rb_thread_t::interrupt_flag` and
`rb_thread_t::interrupt_mask` to rb_execution_context_t.
RUBY_VM_CHECK_INTS() accepts `ec` instead of `th`.
* cont.c (rb_fiber_terminat...
ko1 (Koichi Sasada)
07:35 AM Revision 5845bd6a (git): show the location at intterrupted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:41 AM Revision e5e73554 (git): renmae ec::fiber to ec::fiber_ptr.
* vm_core.h (rb_execution_context_t): renmae ec::fiber to
ec::fiber_ptr make consistent with ec::thread_ptr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:21 AM Bug #14085 (Closed): many redefinition warnings on test/win32ole/test_word.rb
win32oleのテストで、以下のような警告が出ます。
警告が出るのは `WIN32OLE.const_load(w, Word)` というコードですが、
該当コードが複数回呼ばれているわけではなくて、これを1回呼ぶだけで、
定数の再定義が何度も行われてしまうようです。
実害はないような気もしますが、できれば出ないようにできないでしょうか?
D:/Users/usa/ruby/test/win32ole/test_word.rb:22: warni...
usa (Usaku NAKAMURA)
02:02 AM Revision 54e58c94 (git): Merge RubyGems 2.7.1.
* Fix `gem update --system` with RubyGems 2.7+.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

11/05/2017

11:32 PM Revision 4b7f5315 (git): enum.c: check argument first
* enum.c (enum_cycle_size): check an argument before the size of
the receiver, if it is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:27 PM Revision 6c1f1159 (git): test/ruby/test_lazy_enumerator.rb: test for [Bug #14082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:14 PM Bug #14082 (Closed): Enumerator#size from Enumerable#cycle returns 0 when the object is empty
Applied in changeset trunk|r60666.
----------
Fix size on Enumerable#cycle when the size is 0 [Bug #14082].
Patch by Kenichi Kamiya
marcandre (Marc-Andre Lafortune)
10:12 PM Bug #14082: Enumerator#size from Enumerable#cycle returns 0 when the object is empty
Good catch, great patch :-) marcandre (Marc-Andre Lafortune)
05:05 PM Bug #14082 (Closed): Enumerator#size from Enumerable#cycle returns 0 when the object is empty
github: https://github.com/ruby/ruby/pull/1742
Is this an intentional behavior?
```ruby
p([].cycle.size) #=> 0
p({}.cycle.size) #=> Infinity
```
Array#cycle already special handled empty arrays. So similar behavior in Enumer...
kachick (Kenichi Kamiya)
10:14 PM Revision dcb8a22f (git): Fix size on Enumerable#cycle when the size is 0 [Bug #14082].
Patch by Kenichi Kamiya
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
09:13 PM Revision 3280f541 (git): lexer.rb: Ripper::Lexer::State
* ext/ripper/lib/ripper/lexer.rb (Ripper::Lexer::State): wrapper
of lex_state values.
* parse.y (rb_parser_lex_state_name): return shared strings. lex
state combinations are very restricted.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
09:13 PM Revision ca551eed (git): runruby.rb: add -C/--chdir option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:36 PM Bug #14083 (Rejected): Refinement in block calling incorrect method
Tested on ruby versions 2.3.4 and 2.4.1
When a refinement is used inside a block, the scope of the refinement is not ending when the block has ended. The following example illustrates the issue:
Example:
~~~ ruby
class Example
...
bjfish (Brandon Fish)
03:10 PM Revision 0523a420 (git): * 2017-11-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 7b7243e5 (git): Modify spell miss.
Runing -> Running
Author: TomoyukiNakagawa <nakagawa.tomoyuki@gmail.com>
[Fix GH-1741] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
10:31 AM Bug #14081: Compile failure in "make install" step, at "stringio"
Hmm the above is a bit long and not easy to read ... I also put it
on a gist at github in raw format style at:
https://gist.githubusercontent.com/shevegen/512e204147d9c437e5cb16853c39e985/raw/43eb2a51b66e5569293cd2e1598b08c3bad9d486/...
shevegen (Robert A. Heiler)
10:29 AM Bug #14081 (Closed): Compile failure in "make install" step, at "stringio"
Hello Ruby core team and everyone else,
I am not sure if this was already reported or not, but I will
report it now, just to be safe.
I have a self-compiled ruby, from the URL:
ftp://ftp.ruby-lang.org/pub/ruby/2.4/ruby-2.4.2....
shevegen (Robert A. Heiler)
05:12 AM Bug #14080 (Closed): Performance issue with Marshal.dump and Array of Floats - 100x regression in 2.3.x
I am using Marshal.dump on array of Floats with Ruby 2.3.3 (same issue in 2.3.5). In our program with an Array size of 1M it seems to hang indefinitely. I take it down to 100K Floats and it takes about 10 seconds. My sample program lo... pbfein (Peter Fein)
05:11 AM Revision 80aee790 (git): runruby.rb: support run.gdb by --debugger option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:52 AM Revision cb7d9fe9 (git): Revert "Introduce rb_code_range_t and replace YYLTYPE with it"
r60655 changed the usage of bison by defining a customized YYLTYPE,
which seemed to cause a random stall at rb_thread_terminate_all.
Kazuki Tsujimoto investigated the issue and pointed out the commit that
caused it. Thanks!
git-svn-id...
mame (Yusuke Endoh)
01:02 AM Revision 6bac2765 (git): ext/win32ole/lib/win32ole.rb (metods): rescue WIN32OLEQueryInterfaceError.
test/win32ole/test_win32ole.rb: add test for WIN32OLE#methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
12:36 AM Revision 62cec329 (git): test/win32ole/test_win32ole_method.rb: remove redundant assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
12:30 AM Revision 8930a425 (git): * ext/win32ole/win32ole_error.c: add WIN32OLEQueryInterfaceError.
* ext/win32ole/win32ole_error.h: ditto.
* ext/win32ole/win32ole.c(typeinfo_from_ole): raise WIN32OLEQueryInterfaceError in ole_methods.
* ext/win32ole/win32ole_method.c(ole_methods_from_typeinfo): ditto.
M ext/win32ole/win32ole.c
M ...
suke (Masaki Suketa)

11/04/2017

07:06 PM Feature #14079: Validate argument list without calling method
Oops, I think my description was somewhat misleading. I don't expect `respond_to_arguments?` to check for lines in the method body that might raise an `ArgumentError`. I expect it to check only whether the provided list of arguments matc... nate00 (Nate Sullivan)
06:49 PM Feature #14079: Validate argument list without calling method
Hmm. Benoit, I may have misunderstood him but I think he was not
asking for argument checks per se, but instead being able to
know whether a method will respond with an ArgumentError or
possibly other errors beforehand (such as befor...
shevegen (Robert A. Heiler)
06:38 PM Feature #14079: Validate argument list without calling method
Maybe this could be some method like `check_arity` or so on a Method/UnboundMethod instance.
There is already `Method#arity` but this is limited information.
Maybe it is possible to check manually with `Method#parameters`, could you ...
Eregon (Benoit Daloze)
06:25 PM Feature #14079 (Open): Validate argument list without calling method
I would find it useful to check whether a list of arguments matches a method signature, but without calling the method.
I'd like to check the arguments list using a method called, for example, `respond_to_arguments?`. Here's an exampl...
nate00 (Nate Sullivan)
05:48 PM Revision e7535c6e (git): Workaround Travis CI issue by hardcoding localhost
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
04:34 PM Revision a9fd7d93 (git): Introduce rb_code_range_t and replace YYLTYPE with it
rb_code_range_t has two t_code_location_t, i.e., the first and last
locations.
This is used for YYLTYPE, tracked locations of bison, and will be also
used for representing the "range", the first and the last locations of
each NODE. Cur...
mame (Yusuke Endoh)
03:39 PM Revision 39a73cac (git): parse.y: fix duplicate symbol
* parse.y (rb_strterm_mark): do not define in ripper to get rid of
duplicate symbol with static-linked-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:22 PM Revision 7d586cae (git): * 2017-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:22 PM Revision 0ee24acb (git): Introduce `rb_code_location_t`
`rb_code_location_t` has two integers, lineno and column, which point to
one location on a code. Now `rb_code_location_t` is used instead of
`VALUE nd_location`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60652 b2dd03c8-39d4-4d8...
mame (Yusuke Endoh)
02:32 PM Revision 9533da6f (git): gc.c: UNEXPECTED_NODE
* gc.c (UNEXPECTED_NODE): extract rb_bug for T_NODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:24 PM Revision af9b0da1 (git): Avoid usage of the magic number `(NODE*)-1`
This magic number has two meanings depending upon the context:
* "required keyword argument (no name)" on NODE_LASGN (`def foo(x:)`)
* "rest argument (no name)" on NODE_MASGN and NODE_POSTARG
('a, b, * = ary` or `a, b, *, z = ary`)
T...
mame (Yusuke Endoh)
01:59 PM Revision 6d022ae1 (git): compile.c (setup_args): Fix a typo
* compile.c (setup_args): In this function,
an argument of nd_line is argn except this line.
And argn is a pointer of NODE. So I think this
is a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60649 b2dd03c8-39d4-4d8f-98ff...
yui-knk (Kaneko Yuichiro)
01:31 PM Revision fe9bff43 (git): gc.c (rb_free_tmp_buffer): stop accessing imemo_alloc as NODE
The fields of imemo_alloc were accessed via RNODE() cast, since the
imemo was NODE_ALLOCA traditionally. This was refactored at r60239,
so now the fields should be accessed as imemo_alloc. This prevented
change of NODE structure.
Yuic...
mame (Yusuke Endoh)
01:31 PM Revision fbc8b87e (git): parse.y (new_args_tail_gen): returns a NODE instead of imemo
`new_args_tail_gen` returned imemo, but the value was later accessed as
`NODE*`. This prevented change of NODE structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:09 PM Feature #12133: Ability to exclude start when defining a range
> where a square bracket indicates boundary inclusion and a parenthesis
> ...
I do not like the suggestion but I hope you are not too discouraged.
The reason is ... actually a weird one. I have fairly bad eyesight,
and I'd appreciat...
shevegen (Robert A. Heiler)
01:05 PM Revision 0ec91a46 (git): test/ruby/test_io.rb (test_write_no_garbage): Add detailed message
I saw this test failed once. There is no problem if `before > after`
but we cannot check it. To allow diagnosis in future, the detailed
message is added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60646 b2dd03c8-39d4-4d8f-98ff-...
mame (Yusuke Endoh)
12:07 PM Revision e92ca247 (git): parse.y: suppress warning in ripper
* parse.y (rb_discard_node_gen): rb_discard_node() is not used in
ripper right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:01 PM Revision 603a7bdc (git): parse.y: suppress warnings
* parse.y (parser_set_line): removed no longer used function.
* parse.y (rb_strterm_heredoc_t): adjust type of sourceline to
ruby_sourceline.
* parse.y (rb_strterm_t): get rid of redefinition.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
11:37 AM Revision b6e80c22 (git): Remove RNODE cast from NODE utility functions
Now, casting NODE to VALUE is not recommended. This change requires an
explicit cast from VALUE to NODE to use the NODE utility functions such
as `nd_type`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60643 b2dd03c8-39d4-4d8f-98f...
mame (Yusuke Endoh)
10:56 AM Revision 1aa34afd (git): Rename imemo_strterm to imemo_parser_strterm
Per ko1's request.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
10:56 AM Revision 739aadbb (git): ext/objspace/objspace.c: add imemo_strterm
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
10:02 AM Revision deb56931 (git): Remove NODE-related pieces of code from GC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
09:18 AM Revision 417eca10 (git): Make Ripper use NODE buffer
This is a follow-up of r60488. Not only the Ruby parser but also Ripper
now use NODE buffer instead of NODE objects managed by GC.
Now we can change the struct of NODEs so that it can keep detailed
location information, perhaps (not tr...
mame (Yusuke Endoh)
08:46 AM Bug #14078: Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
Kazuki,
> Are you sure the DLLs used at runtime are from OpenSSL 1.1.0g?
Yes. MSYS2/MinGW only allows one package to be installed at once, so Appveyor can't have two available for the build. Also, downloading the build from [App...
MSP-Greg (Greg L)
06:55 AM Bug #14078 (Feedback): Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
I don't reproduce. Are you sure the DLLs used at runtime are from OpenSSL 1.1.0g? rhenium (Kazuki Yamaguchi)
06:40 AM Bug #14078 (Rejected): Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
The most recent ruby-loco MinGW build (using OpenSSL 1.1.0g) failed with the following failure. It was the only failure/error in the build.
```
Retrying...
[1/9] OpenSSL::TestSSLSession#test_ctx_client_session_cb = 0.10 s
[2/9] Op...
MSP-Greg (Greg L)
07:21 AM Revision ee7dcd1a (git): Fix the alignment bug of r60634 for LLP64
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
07:21 AM Revision 12697c08 (git): Revert "Revert "Replace NODE_STRTERM and NODE_HEREDOC with imemo_strterm""
Retry r60634
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
06:56 AM Bug #14039 (Closed): MinGW - OpenSSL::TestSSL#test_max_version & #test_min_version, TestNetHTTPS#test_max_version
Applied in changeset trunk|r60636.
----------
openssl: pull test case from upstream commit 62af0446569a
The test case added by r60310 ("fix OpenSSL::SSL::SSLContext#min_version
doesn't work", 2017-10-21) does not pass with OpenSSL >= 1...
Anonymous
06:56 AM Bug #14039: MinGW - OpenSSL::TestSSL#test_max_version & #test_min_version, TestNetHTTPS#test_max_version
The one from net/http tests is fixed by r60380. rhenium (Kazuki Yamaguchi)
06:56 AM Revision 51423bd9 (git): openssl: pull test case from upstream commit 62af0446569a
The test case added by r60310 ("fix OpenSSL::SSL::SSLContext#min_version
doesn't work", 2017-10-21) does not pass with OpenSSL >= 1.1.0 or
LibreSSL >= 2.6.0. Check that the default 'min_version' value is
properly enforced by actually att...
rhenium (Kazuki Yamaguchi)
04:59 AM Revision 96eefc0f (git): Revert "Replace NODE_STRTERM and NODE_HEREDOC with imemo_strterm"
Due to build failure on mswin and mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:04 AM Revision c1de9fc5 (git): Replace NODE_STRTERM and NODE_HEREDOC with imemo_strterm
Just refactoring.
NODE_STRTERM and NODE_HEREDOC are not an internal node of AST, but a
temporary storage for managing termination of string literals and
heredocs. Instead of NODE abuse, I want to use imemo for the storage
in order to a...
mame (Yusuke Endoh)
01:48 AM Revision 6916254a (git): * 2017-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:48 AM Revision 996468de (git): load from relative path to __FILE__
* spec/ruby/library/pathname/empty_spec.rb: load spec_helper from
relative path to `__FILE__` same as other spec files, instead of
`__dir__` in which symlinks are resolved, to get rid of constant
redefinition warning when `srcdir` ...
nobu (Nobuyoshi Nakada)
01:09 AM Feature #13901: Add branch coverage
marcandre (Marc-Andre Lafortune) wrote:
> mame (Yusuke Endoh) wrote:
> ...
To add a little bit to the discussion: The only information that you lose when an asynchronous interrupt like Thread.raise happens are the details on which ones...
MaxLap (Maxime Lapointe)
12:13 AM Feature #13901: Add branch coverage
mame (Yusuke Endoh) wrote:
> I see... It is a very interesting approach, but it seems to completely ignore asynchronous interrupt, such as signal and `Thread#raise`. I wonder if it is not a good design decision for the embedded covera...
marcandre (Marc-Andre Lafortune)

11/03/2017

11:38 PM Feature #13901: Add branch coverage
marcandre (Marc-Andre Lafortune) wrote:
> mame (Yusuke Endoh) wrote:
> ...
The parser gem produces a good work.
> > I had no thought of counting trivial evaluation such as a literal, but if your pure-Ruby approach does not cause per...
mame (Yusuke Endoh)
04:34 PM Feature #13901: Add branch coverage
mame (Yusuke Endoh) wrote:
> `obj.foo.foo` has two NODE_CALLs. It is difficult to distinguish them by only the beginning, unless we have other information about the node in question. Honestly, I'm unsure if we can distinguish all rele...
marcandre (Marc-Andre Lafortune)
08:57 AM Feature #13901: Add branch coverage
marcandre (Marc-Andre Lafortune) wrote:
> I imagine you are planning on covering `||`, `&&`, `&.` and `? :`, right?
`? :` has been already supported. Yuichiro has experimentally implemented `&.` coverage. I think we should support...
mame (Yusuke Endoh)
06:31 AM Feature #13901: Add branch coverage
mame (Yusuke Endoh) wrote:
> What do you think about the format of `Coverage.result`?
Having a character position is a big improvement on just a line #, that's for sure. It makes it possible to pinpoint exactly what we're talking abo...
marcandre (Marc-Andre Lafortune)
10:54 PM Bug #14064: test-all with and without -j - incorrect assertions and missing test methods
While looking for a solution to the 'tests' variance, as mentioned above, there were test classes that were missing, especially when running with `-j`. Also, these missing classes varied from build to build.
I then noticed that the s...
MSP-Greg (Greg L)
09:31 PM Feature #14077: Add Encoding::FILESYSTEM and Encoding::LOCALE constants
On Fri, 2017-11-03 at 18:34 +0000, shevegen@gmail.com wrote:
> Issue #14077 has been updated by shevegen (Robert A. Heiler).
> I am in agreement with the feature-suggestion. Not sure whether
> it should be a constant or a method or b...
rrroybbbean (RRRoy BBBean)
09:00 PM Feature #14077: Add Encoding::FILESYSTEM and Encoding::LOCALE constants
shevegen (Robert A. Heiler) wrote:
> > Even changing the $LANG environment variable within the Ruby
> ...
Sorry if I wasn't clear. Both of these encoding values are dependent on the system locale at the time the process is started. T...
nirvdrum (Kevin Menard)
06:34 PM Feature #14077: Add Encoding::FILESYSTEM and Encoding::LOCALE constants
I am in agreement with the feature-suggestion. Not sure whether
it should be a constant or a method or both but I agree that it
may be useful to have direct support for this in ruby.
> Even changing the $LANG environment variable wi...
shevegen (Robert A. Heiler)
05:11 PM Feature #14077: Add Encoding::FILESYSTEM and Encoding::LOCALE constants
On Fri, 2017-11-03 at 16:35 +0000, ruby@kevin.nirvdrum.com wrote:
> Issue #14077 has been reported by nirvdrum (Kevin Menard).
> Feature #14077: Add Encoding::FILESYSTEM and Encoding::LOCALE
> constants
> https://bugs.ruby-lang.org/...
rrroybbbean (RRRoy BBBean)
04:35 PM Feature #14077 (Open): Add Encoding::FILESYSTEM and Encoding::LOCALE constants
The `Encoding` class has constants defined for all of the standard encodings, but does not have constants defined for some of the special encodings. In particular, the "filesystem" and "locale" encodings do not have a corresponding `Enco... nirvdrum (Kevin Menard)
07:14 AM Revision a5a8ba7d (git): Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:07 AM Revision 93ae4347 (git): * ext/win32ole/lib/win32ole.rb :add WIN32OLE#methods. WIN32OLE might work
well with did_you_mean gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
03:49 AM Revision 1f67ebd5 (git): node.c: Add some comments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
03:22 AM Revision f7fb0867 (git): node.c: Fix possible alignment bugs
* node.c (rb_node_buffer_new): Use offsetof for
node_buffer_t size calculation.
* node.c (rb_ast_newnode): Use offsetof for
node_buffer_elem_t size calculation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60628 b2dd03c8-39d4-4...
yui-knk (Kaneko Yuichiro)
02:17 AM Revision 77fae4b4 (git): node.h: Remove obsolete comment
* node.h: NODE_FL_CREF_PUSHED_BY_EVAL was defined as
NODE_FL_NEWLINE by r25984, redefined by r40703
and removed by r49897.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
01:47 AM Bug #13181: Unexpected line in rescue backtrace
ruby_2_4 r60626 merged revision(s) 58499,58500. nagachika (Tomoyuki Chikanaga)
01:46 AM Revision 86bfcc2d (git): merge revision(s) 58499,58500: [Backport #13181]
parse.y: fix line in rescue
* parse.y (set_line_body, primary): fix line number of bodystmt as
the beginning of the block. [ruby-core:79388] [Bug #13181]
parse.y: set_line_body is not used in ripper
git-svn-...
nagachika (Tomoyuki Chikanaga)
01:21 AM Bug #14073 (Closed): Crash on boot sice Ruby 2.4.0
nobu (Nobuyoshi Nakada)
01:00 AM Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
dgames (Dax Games) wrote:
> I'm sorry I do not understand. Maybe I wasn't clear, Node is doing EXACTLY what you say Ruby should do and works where Ruby fails when it does EXACTLY what you say it should do.
What is sent by NodeJS in ...
nobu (Nobuyoshi Nakada)
12:52 AM Revision b18c71e6 (git): test/ruby/test_eval.rb: use orphan procs
This failure has been hidden by the bug of assert_raise which is
fixed at r60614.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:24 AM Bug #14076 (Rejected): Installing Ruby 2.3.1 - Ubuntu 17.10
2.3.1 is outdated. nobu (Nobuyoshi Nakada)
 

Also available in: Atom