Activity
From 11/23/2014 to 11/29/2014
11/29/2014
-
11:41 PM Bug #10408 (Closed): [BUG] Segmentation fault ruby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32]
-
08:59 PM Bug #10408: [BUG] Segmentation fault ruby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32]
- Just was notified by another developer. This is somehow related to Conemu. There is no such issue in cmd.exe.
-
10:08 PM Feature #9390: Support for the ALPN TLS extension
- ilya@igvita.com wrote:
> +1. Anything we can do to move this forward?
A patch and test cases would be nice.
I'm mildly interested in this, too, but don't trust myself with OpenSSL. -
09:42 PM Feature #9390: Support for the ALPN TLS extension
- Carsten Bormann wrote:
> Note that RFC 7301 has published: http://tools.ietf.org/html/rfc7301
> ...
+1. Anything we can do to move this forward?
-
08:31 PM Feature #10255: Math.log: check domain of base argument
- ping
-
08:26 PM Bug #10487: [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
- ping
-
06:05 PM Bug #10556 (Closed): shebang handling
- 意図的なものです。
入れたのはr24410なので[ruby-dev:39015](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/39015)ですね。 -
05:18 PM Bug #10556 (Closed): shebang handling
- 以下のようなスクリプトを ruby で実行すると、途中の #!ruby 以降が
実行されるのは意図されない動作な気がするのですが、なにか理由がありましたっけ?
```
% cat tst.rb
#!/bin/echo
p 1
#!ruby
p 2
% ./ruby tst.rb
2
% ./ruby -v
ruby 2.2.0dev (2014-11-27 trunk 48614) [x86_64-linux]
```
昔 (1.9.2... -
03:12 PM Feature #8566 (Closed): [PATCH] Allow to configure additional preludes
- Exactly, but what you need is a way to load the gem, isn't it?
-
02:13 PM Feature #8566: [PATCH] Allow to configure additional preludes
- Actually, this is good idea. The downside is that it will not work with --disable-gems I believe (although the abrt-ruby library is a gem ;).
-
12:47 PM Feature #8566 (Feedback): [PATCH] Allow to configure additional preludes
- `rubygems/defaults/operating_system.rb` is just for that purpose, I think.
-
03:02 PM Revision 1ce81d6f (git): ruby.c: transcode program names
- * ruby.c (process_options, ruby_script): transcode script name and
program name to locale encoding as well as argv.
[ruby-dev:48752] [Bug #10555]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48652 b2dd03c8-39d4-4d8f-98ff-823fe6... -
03:02 PM Revision b4c3c317 (git): ruby.c: translit_char_bin
- * ruby.c (translit_char_bin): should not use code page dependent
CharNext on UTF-8 string. [ruby-dev:48752] [Bug #10555]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:02 PM Revision 11e75ca5 (git): * 2014-11-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:02 PM Revision 18c8bfaf (git): test_rubyoptions.rb: workaround
- * test/ruby/test_rubyoptions.rb (test_command_line_glob_nonascii):
workaround for other than cp932. [ruby-dev:48752] [Bug #10555]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:55 AM Bug #8543: new rb_iseq_load crash
- https://github.com/ruby/ruby/blob/33ea2646b98adb49ae2e1781753bf22d33729ac0/iseq.c#L1720
iseq_data_to_ary() ignores hidden variables named by id_internal().
It seems to be mismatched for the variable that recieving keyword arguments, ... -
07:53 AM Bug #10555 (Closed): '?' is not match to multibyte character at commandline globbing on Windows
- Applied in changeset r48648.
----------
win32.c: use UTF-8 for argv
* ruby.c (ruby_set_argv): convert argv from UTF-8.
* win32/win32.c (rb_w32_sysinit, cmdglob, w32_cmdvector): convert
wide char command line to UTF-8 argv, and glob i... -
07:53 AM Revision 33ea2646 (git): win32.c: use UTF-8 for argv
- * ruby.c (ruby_set_argv): convert argv from UTF-8.
* win32/win32.c (rb_w32_sysinit, cmdglob, w32_cmdvector): convert
wide char command line to UTF-8 argv, and glob in UTF-8 so that
metacharacters would match multibyte characters.
[... -
07:14 AM Revision 544d28c3 (git): ruby.h: no parent in rb_data_type_t
- * error.c (rb_typeddata_is_kind_of, rb_check_typeddata): ditto.
* error.c (rb_typeddata_inherited_p): deprecate. still keep for
potential binary compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48647 b2dd03c8-39d4-4d8f... - 06:01 AM Revision c8da47e8 (git): * test/ruby/test_const.rb (TestConst#test_redefinition_memory_leak): extend the
- timeout because mswin CI reports timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:00 AM Revision 75ec406b (git): * test_exception.rb: indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:49 AM Revision a35a256b (git): win32.c: convert by Win32 API
- * win32/win32.c (win32_direct_conv, rb_w32_readdir): convert UTF-8
and filesystem code page by using Win32 API directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:37 AM Revision 374fcff2 (git): error.c: simplify message building
- * error.c (syserr_initialize): simplify message building and get
rid of potential invalid byte sequence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:36 AM Revision 6bb52d80 (git): test/ruby: suppress warnings
- * test/ruby/test_array.rb: (need_continuation): suppress warnings
to require continuation.
* test/ruby/test_continuation.rb: ditto.
* test/ruby/test_enum.rb: ditto.
* test/ruby/test_fiber.rb: ditto.
* test/ruby/test_hash.rb: ditto....
11/28/2014
- 11:52 PM Revision 84e90deb (git): * test/ruby/test_exception.rb (TestException#test_output_string_encoding): need
- to specify the encoding of script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:36 PM Revision fe753f5f (git): * encoding.c: remove unnecessary declaration of rb_locale_charmap(). it's
- already declared in include/ruby/encoding.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:35 PM Bug #9891: infinite fibers crash Ruby
- I have only tried on OpenBSD. I updated ruby to
ruby 2.2.0dev (2014-11-29 trunk 48638) [x86_64-openbsd5.6]
OpenBSD doesn't have getcontext()/setcontext(), so I suspect that cont.c defines FIBER_USE_NATIVE to 0. I don't know if FIBE... - 10:32 PM Revision 39873921 (git): * test/ruby/test_exception.rb (TestException#test_output_string_encoding): test
- for r48637.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:50 PM Bug #10522: SSL_VERSION not handled properly in Net::Http, OpenSSL libraries
- Who is the best person to review this? AKA who should I assign this to?
- 09:11 PM Revision 0e579dd6 (git): * 2014-11-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:11 PM Revision e5658a20 (git): * eval_error.c (error_print): respect the encoding of the message.
- * io.c (rb_write_error_str): use rb_w32_write_console() on Windows
if stderr is a tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:51 PM Bug #10555 (Closed): '?' is not match to multibyte character at commandline globbing on Windows
- 以下のような現象です。
~~~
D:\test> dir ?.txt
(snip)
2014/11/29 05:46 0 あ.txt
1 個のファイル 0 バイト
0 個のディレクトリ 114,140,901,376 バイトの空き領域
D:\test> ruby -e "p ARGV" ?.txt
["?.txt"]... -
07:16 PM Bug #10554: preview2 fails to generate prelude.c
- Thanks for feedback. Let me check it once more. May be the patch from #8566 which I am applying might be troublesome.
-
06:57 PM Bug #10554: preview2 fails to generate prelude.c
- Hmm, the tarball contains prelude.c, so normally it is not necessary to generate it.
There was no problem my environment.
Sorry, it might be rude, isn't the clock of your machine off? -
06:36 PM Bug #10554 (Rejected): preview2 fails to generate prelude.c
- ~~~
generating prelude.c
echo executable host ruby is required. use --with-baseruby option.; false ./tool/generic_erb.rb -I. -c -o prelude.c \
./template/prelude.c.tmpl ./prelude.rb ./enc/prelude.rb ./gem_prelude.rb ./abrt_prelude.r... -
06:36 PM Misc #10553: Ruby 2.2.0 release engeneering
- Nobu and I want to change a feature.
Ruby 2.1 and earlier, on Windows, parsing commandline was with ANSI encoding (it's locale encoding of ruby).
This means that a script never get the correct byte sequence of a character if locale e... -
01:01 PM Misc #10553 (Closed): Ruby 2.2.0 release engeneering
- For the management of release blockers.
Current Phase: feature freeze; changing feature is not allowed unless naruse explicitly allowed.
Next release: RC1 (scheduled on 2014-12-1x)
Q: When ruby_2_2 branch is created?
A: On RC1
... -
01:33 PM Bug #10148: [TracePoint API] Extra block events generated
- I will, soon!
-
01:28 PM Bug #10449: [TracePoint API] Duplicated line events when using parenthesis
- Hi Koichi, I've looked at the patch and it seems to me that _every_ duplicated event has been removed. So if I do something like
object.method1.method2.method3
only one line event will be generated. Is this the case?
If that... -
10:49 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Koichi Sasada wrote:
> could you try r48596?
Here are results I've got.
$ ruby -v
ruby 2.2.0dev (2014-11-28 trunk 48629) [x86_64-darwin14]
$ ruby /tmp/bm.rb
6.660000 0.080000 6.740000 ( 7.153794)
$ ruby /tmp/bm.rb
... -
08:38 AM Feature #10552: [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
- Yes, I would rather see `Hash#map_values` in Ruby before `Enumerable#frequencies`. However, if both `map_values` and `frequencies` were added, then we might not need `relative_frequencies`, since calculating it becomes cleaner:
~~~rub... -
07:15 AM Feature #10552: [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
- frequencies is essentially a group_by with the values mapped with size/count.
So assuming something like issue #9970 or issue #7793 gets accepted, it could simply be written as
%w[cat bird bird horse].group_by {|x| x}.map_values {|v|... -
07:44 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
- Backported into `ruby_2_0_0` at r48636.
- 07:44 AM Revision dd7f1cdf (git): merge revision(s) 48563: [Backport #10533]
- * lib/net/http.rb: Do not attempt SSL session resumption when the
session is expired. [Bug #10533]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Bug #10524: %I segfaults with --dump=parsetree
- Backported into `ruby_2_0_0` at r48635.
- 07:37 AM Revision 3f23ee70 (git): merge revision(s) 48484: [Backport #10524]
- * parse.y (symbol_list): fix the node type of literal symbol list
with no interpolation. [ruby-core:66343]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:34 AM Bug #10223: Stack level too deep in CSV when parsing long line
- How did you make `Closed`, nobu?
-
07:33 AM Bug #10493: Wrong encoding for Etc.getlogin in Windows
- Backported into `ruby_2_0_0` at r48634.
memo:
I changed the patch a little, because 2.0.0 doesn't have rb_w32_wstr_to_mbstr().
2.1 has the function, so I guess it's no problem to backport to 2.1 from trunk. - 07:30 AM Revision bcafeef2 (git): merge revision(s) 48360,48364: [Backport #10493]
- * ext/etc/etc.c (etc_getlogin): set login name encoding properly.
[ruby-core:66163] [Bug #10493]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:22 AM Bug #10432: wrong receiver of Binding from Method
- Backported into `ruby_2_0_0` at r48633.
(元のレポートにもあるように2.0.0にはBinding#receiverがないため、テストを一部変更) - 07:20 AM Revision 7149859b (git): merge revision(s) 48160: [Backport #10432]
- * proc.c (method_proc): the receiver of binding from method should
be same as the receiver of the method.
[ruby-core:65917] [Bug #10432]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48633 b2dd03c8... - 07:13 AM Revision 3412d101 (git): merge revision(s) 47079: [Backport #10530]
- * lib/net/http.rb (Net::HTTP.proxy_uri): use initializer instead
of parser to handle IPv6 address. [Bug #9129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:11 AM Revision 32ecaac7 (git): merge revision(s) 42709: [Backport #10529]
- * io.c (copy_stream_body): should write in binary mode. based on a
patch by godfat (Lin Jen-Shin) at [ruby-core:56556].
[ruby-core:56518] [Bug #8767]
* io.c (copy_stream_body): move common open flags.
git-... - 07:04 AM Revision c5f09787 (git): * lib/rubygems/ssl_certs/AddTrustExternalCARoot{-2048,}.pem: add newer
- root CA for rubygems.org. a part of r48389 of trunk.
see also https://github.com/rubygems/rubygems/commit/98f5f44c7141881c756003e4256b1a96b200b98e .
[Backport #10516] [ruby-core:66303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/b... -
04:45 AM Feature #8919: Queue as embedded class
- By adding a line `thread` to ext/Setup file, thread.so can be statically linked to ruby (or libruby) now.
-
03:39 AM Bug #10551 (Closed): Unnecessary #undef in file.c
- Applied in changeset r48629.
----------
file.c: unnecessary #undef
* file.c (flock): remove unnecessary #undef flock, trace of green
thread polling. patched by Rohan Garg. [Bug #10551] -
03:39 AM Revision 2b92335e (git): file.c: unnecessary #undef
- * file.c (flock): remove unnecessary #undef flock, trace of green
thread polling. patched by Rohan Garg. [Bug #10551]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/27/2014
-
10:47 PM Revision 693f56bb (git): Update dependency.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:38 PM Revision 35e07b47 (git): README.EXT: fix typo
- pointed out by at:
https://github.com/ruby/ruby/commit/c262acb4e023b6cd4e06b993508ab59a5f61607c#commitcomment-8748351
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:10 PM Revision 38f3708f (git): configure.in: add --with-setup option
- * configure.in (--with-setup): add option to select ext/Setup file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:04 PM Revision e5df8e7b (git): common.mk: INITOBJS
- * common.mk (INITOBJS): rename DMYEXT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:02 PM Revision 28ad79fa (git): dmyenc.c: separate
- * dmyenc.c (Init_enc): separate from dmyext.c for statically
linked extension excluding encoding libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:58 PM Revision 3c45a567 (git): continuation.c: quiet static-linked-ext
- * ext/continuation/continuation.c (Init_continuation): start
quietly if statically linked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:29 PM Feature #10552: [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
- Thanks for the feedback David. I can see a `map` functionality being useful, but here I will play some arguments against integrating `map`:
1. In the future, I was thinking the block could be used to change the weighting: some element... -
03:03 PM Feature #10552: [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
- I like this idea, but I think it could be improved by allowing .frequencies to take a block and it will count the frequencies of the return value of the block, similar to .all?, .any? and .none?
This would allow the frequencies method... -
07:59 AM Feature #10552 (Open): [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
- Counting how many times a value appears in some collection has always been a bit clumsy in Ruby. While Ruby has enough constructs to do it in one line, it still requires knowing the folklore of the optimum solution as well as some acroba...
-
04:21 PM Revision 8299027f (git): make_encmake.rb: fix typo
- * enc/make_encmake.rb: fix typo, and use real read filename.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:39 PM Revision 5e57ff21 (git): * 2014-11-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:39 PM Revision ab6f20df (git): ChangeLog: fix a grammo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:42 PM Revision 20b93fff (git): store make output.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:59 PM Revision 7c361254 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:51 PM Revision 493d1057 (git): fix indent [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:33 PM Bug #10538: Error when trying to update gem rake
- I installed again Ruby21 and I can not reproduce the problem anymore...
-
11:43 AM Bug #10538: Error when trying to update gem rake
- FYI, I couldn't reproduce this with x64-mswin64_100 on my Windows7 box.
Is this mingw only?
-
11:15 AM Bug #10538: Error when trying to update gem rake
- Hello Luis,
I have windows 7 x64,
Cmd.exe:
> Microsoft Windows [Version 6.1.7601]
> ...
Powershell.exe:
> Name Value
> ...
System locale and Location: US
Formats (date/time/number/currency): Romania... -
12:59 PM Revision 1c6f4943 (git): * common.mk (miniprelude.c): It is not depend on prelude.rb now.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:52 PM Revision 698f329b (git): Update dependencies.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:51 PM Revision f53119b7 (git): * tool/update-deps: List up files built always in the source directory
- and source files built always in the build directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:51 PM Revision fcb1280e (git): * tool/update-deps: List up files built always in the source directory
- and source files built always in the build directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:26 PM Revision 1c87fee3 (git): * NEWS: add obsolete callcc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:22 PM Bug #10485: NoMethodError "undefined method `initialize_copy'" when trying to execute Queue#dup
- Recursive Madman wrote:
> > Not all methods in super classes always work on all subclasses.
> ...
definitely. -
11:48 AM Bug #9891: infinite fibers crash Ruby
- Only on OpenBSD?
On my linux and windows (mswin32/64) doesn't cause SEGV.
-
11:42 AM Bug #9937: Segfault in the TracePoint API
- sorry for late.
Can you make small test for it? easy to keep away from this issue, but it should be fixed.
-
11:41 AM Bug #9129: Regression in support for IPv6 literals in URIs with Net::HTTP
- according to #10531 it seems required to be backported into ruby_2_1.
-
11:40 AM Bug #9584 (Closed): RGenGC regression in CoW sharing
- we need to check it again.
-
11:36 AM Revision 6bd75113 (git): ChangeLog: fix a typo. [ruby-core:66328] [Backport #10521]
- https://github.com/ruby/ruby/pull/760
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@48610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:24 AM Misc #10249 (Closed): [PATCH] set rb_event_flag_t to uint32_t
-
11:22 AM Bug #10410 (Closed): TestGc#test_latest_gc_info often fails
-
11:18 AM Bug #10148: [TracePoint API] Extra block events generated
- Could you check it again?
-
11:17 AM Bug #10479: OpenSSL not upgrading to 1.0.1j while recompiling Ruby.
- 1. The configure warning is false positive.
The option is passed to the ext/openssl. You can just ignore the warning.
2. I guess that openssl 1.0.1j is installed at non-standard path, or 1.0.1f is still remain in the library searc... -
10:48 AM Bug #10479: OpenSSL not upgrading to 1.0.1j while recompiling Ruby.
- Any Update On This?
-
11:07 AM Bug #10449 (Closed): [TracePoint API] Duplicated line events when using parenthesis
- Applied in changeset r48609.
----------
* compile.c (iseq_compile_each): remove duplicated line event.
[Bug #10449]
* test/ruby/test_settracefunc.rb: add and fix tests. -
11:06 AM Revision ea290804 (git): * compile.c (iseq_compile_each): remove duplicated line event.
- [Bug #10449]
* test/ruby/test_settracefunc.rb: add and fix tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:15 AM Revision 6115f65d (git): * vm_args.c: fix backtrace location for keyword related exceptions.
- For example, the following program
def foo(k1: 1); end # line 1
foo(k2: 2) # line 2
causes "unknown keyword: k2 (ArgumentError)".
Before this patch, the backtrace location is only line 2.
However, error sho... -
08:32 AM Revision 955c7f06 (git): common.mk: prelude.c by BASERUBY
- * common.mk (prelude.c): no longer depends on miniruby, since not
depending on rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:12 AM Revision 98d18de4 (git): common.mk: no preludes for miniruby
- * common.mk (miniprelude.c): miniruby needs no preludes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:10 AM Revision f25c052b (git): prelude.c.tmpl: no preludes, no code.
- * template/prelude.c.tmpl: no code if no prelude code is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:08 AM Revision 1e4292a9 (git): time.c: indent
- * time.c (find_time_t): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:12 AM Bug #10491 (Closed): TestGc#test_latest_gc_info often fails on mswin CI
- 今まで概ね40%程度の確率で発生していましたが、r48586後、CIの更新を10回ほど注視していたところ、件の現象は起きていません。
なので、たぶん大丈夫なのでしょう。
ありがとうございました。 -
04:20 AM Revision 3a26241d (git): * gc.c (objspace_malloc_increase): enable lazy sweep on GC by malloc()
- (malloc_increase) to make GC incrementally.
This change can increase memory consumption. Report us if you find
any problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:51 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
- I would like to resurrect this - what do you think Luis and Usa-san? I am more happy to re-base against Ruby 2.1.5 or head, and try to solve other issues.
Just let me know what needs doing, I would really love to help with this :) -
03:48 AM Revision 15bfc6ff (git): * time.c (time_s_mkutc): [DOC] Time.utc's 10 arguments form
- doesn't examine wday, yday, isdst and tz.
(time_s_mktime): [DOC] Time.mktime's 10 arguments form
doesn't examine wday, yday and tz.
Suggested by naruse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48602 b2dd03c8-39d4-4d8f-... -
03:46 AM Revision 35748bdc (git): Describe about TSort.each_*
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:42 AM Revision 20925613 (git): generic_erb.rb: read in binary mode
- * tool/generic_erb.rb: read existing file in binary mode to
convert nothing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:42 AM Revision c158fccd (git): test_const.rb: use assert_warning
- * test/ruby/test_const.rb (test_redefinition): should use
assert_warning for warning message test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:42 AM Revision 97cfffcd (git): envutil.rb: skip if load failed
- * test/lib/envutil.rb (assert_no_memory_leak): skip when failed to
load fiddle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:08 AM Bug #8543: new rb_iseq_load crash
- Work-in-progress -v5 based on r48597:
http://80x24.org/spew/m/rb_iseq_load-fix-v5@r48597.txt
Still some failures, particularly around:
def x(a, (b, *c), d: false); end
I'm not sure if we handle ISeq#to_a correctly fo... -
03:04 AM Misc #10547 (Feedback): How to move the ruby project to git
- Your question sounds "Why CRuby doesn't migrate to git?".
The answer will be "Because there's no person who answer a question "Why CRuby should migrate to git?".
Of course some people answer like "git is now majority" or "GitHub is s... - 02:48 AM Revision a7361f9c (git): iseq.c (iseq_data_to_ary): add missing GC guard
- It seems possible for a compiler to optimize away nbody
because we only access it via RARRAY_AREF and RARRAY_LEN
macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 AM Feature #8919: Queue as embedded class
- Now, thread.rb is required from rubygems.
```
$ ./ruby -ve 'p Queue'
ruby 2.2.0dev (2014-11-20 trunk 48507) [x86_64-linux]
Thread::Queue
```
and
```
$ ./ruby --disable-gems -ve 'p Queue'
ruby 2.2.0dev (2014-11-20 trunk 485... -
12:31 AM Feature #8919: Queue as embedded class
- How about the implementation in attached patch.diff?
-
01:57 AM Feature #10549: Deprecate each_with_index and each_with_object in favor of with_index and with_object
- If Functors* (https://bugs.ruby-lang.org/issues/6594) could be built into the language proper, then what you suggest should be possible with essentially no performance penalties at all.
(* Not to be confused with the Haskell concept.) -
01:57 AM Bug #10511 (Feedback): fix for #9940 causes dramatic performance regression
- could you try r48596?
-
01:56 AM Bug #10511 (Closed): fix for #9940 causes dramatic performance regression
- Applied in changeset r48596.
----------
* vm_core.h: add rb_thread_t::local_storage_recursive_hash
to speed up Thread#[:__recursive_key__] access.
[Bug #10511]
* thread.c (threadptr_local_aref): add fast path for
:__recursive_data... -
01:56 AM Revision 9c6deac2 (git): * vm_core.h: add rb_thread_t::local_storage_recursive_hash
- to speed up Thread#[:__recursive_key__] access.
[Bug #10511]
* thread.c (threadptr_local_aref): add fast path for
:__recursive_data__.
* thread.c (threadptr_recursive_hash, threadptr_recursive_hash_set):
add special accessor for re... - 01:03 AM Revision 969057c9 (git): * lib.matrix.rb: Fix typo. Patch by Dimitrios Zorbas. [GH-772]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:44 AM Bug #10551 (Closed): Unnecessary #undef in file.c
- Hi there
I was just casually looking at the File locking implementation in ruby inside file.c and noticed that there's a unnecessary #undef flock at the end of the function, maybe it really is required, but I couldn't figure out why.
...
11/26/2014
-
11:40 PM Misc #10547: How to move the ruby project to git
- Martin Dürst wrote:
> Shyouhei Urabe wrote:
> ...
Yes. His offer is great. I didn't intend to reject that; I just wanted to say it is much difficult than it seems. It took Eric Raymond's full year of preparation plus his full 8 week... -
09:38 PM Misc #10547: How to move the ruby project to git
- The outcome of "move the ruby project to git" probably means
different things to the Ruby community at large,
you (as GitLab CEO), or I...
But first, with Matz's concerns:
> 1. Incremental numbering
"git describe" does output... -
11:28 AM Misc #10547: How to move the ruby project to git
- Shyouhei Urabe wrote:
> The situation is that no one in ruby-core is actively willing to do any dirty work to get things move to git. I think we are all OK when someone else did so.
Hello Shyouhei,
I think Sytse is offering to he... -
09:03 AM Misc #10547: How to move the ruby project to git
- I have to say sorry about this: matz do not understand the situation. The situation is that no one in ruby-core is actively willing to do any dirty work to get things move to git. I think we are all OK when someone else did so. Right?...
-
08:33 AM Misc #10547 (Rejected): How to move the ruby project to git
- I'm posting this on the bugtracker as suggested by Koichi, feel free to move or close this if I've posted in the wrong project.
During rubyconf 2013 I briefly discussed the migration of ruby from svn to git with the core team. During ... -
10:47 PM Bug #10538 (Feedback): Error when trying to update gem rake
- Hello,
Can you confirm details of your environment?
For example, which command processor (cmd.exe, PowerShell) are you using?
Can you also confirm the locale setting of your Windows installation? For reference, similar problem a... -
07:39 AM Bug #10538: Error when trying to update gem rake
- This issue can be reproduced on Windows 7 Home Basic Edition. It seems OK on Windows 8.1 Pro.
-
10:43 PM Bug #10550: Resolv::DNS.getaddresses returns no IPs when nameserver returns in differing case than query
- My pasting got stripped:
Here is the message returned
~~~
#<Resolv::DNS::Message:0x007f3eff488a88 @id=26224, @qr=1, @opcode=0, @aa=0, @tc=0, @rd=1, @ra=1, @rcode=0, @question=[[#<Resolv::DNS::Name: sendgrid.com.>, Resolv::DNS::Res... -
10:41 PM Bug #10550 (Closed): Resolv::DNS.getaddresses returns no IPs when nameserver returns in differing case than query
- Our servers are hosted with Rackspace and following patching of BIND, their DNS servers started returning different casing for the ANSWER. For example, here is me resolving sendgrid.com. You'll see the first command returns "sendgrid.com...
-
10:33 PM Bug #10460: Segfault instead of stack level too deep
- Ran into this issue today when I accidentally created a stack overflow in my RSpec tests:
* ruby 2.1.5p273 (2014-11-13 revision 48405, [i686-linux]
* rspec 2.13.1
Attached is code which (sometimes) reproduces the problem (run with... - 10:12 PM Revision 06b582a0 (git): * 2014-11-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:11 PM Revision b65c6190 (git): compile.c (iseq_calc_param_size): hoist out of iseq_set_arguments
- This will be reused for iseq loading.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:14 PM Feature #10544: Time#to_i(:millisecond)
- How about a more general `Time#to_i(scale=1)`?
Examples:
* Passing `1` for `scale` (or passing nothing) would return seconds.
* Passing `1000` for `scale` would return milliseconds.
* Passing `1/60r` for scale would return minute... -
05:41 AM Feature #10544: Time#to_i(:millisecond)
- I want this feature to give unix time to other languages like JavaScript.
Some languages expect unix time in milliseconds. -
02:43 AM Feature #10544: Time#to_i(:millisecond)
- Do you need unix time in milliseconds so often?
-
01:47 AM Feature #10544 (Rejected): Time#to_i(:millisecond)
- Currently, we have to take an indirect way to get unix_time in milliseconds.
~~~ruby
time = Time.now
milliseconds = (time.to_i * 1000) + (time.usec / 1000.0).round
~~~
I think it would be convenient if `Time#to_i` accepts unit p... -
04:12 PM Feature #10549 (Assigned): Deprecate each_with_index and each_with_object in favor of with_index and with_object
- I wonder if we can deprecate `each_with_index` and `each_with_object` and fully recommend `with_index` and `with_object` instead.
I personally like the shorter forms because they hint that they can be used with more methods than simpl... -
02:54 PM Misc #10541: Remove shorthand string interpolation syntax
- As for the argument that it should simply be used more: The interpolation shorthand has been around for a long time. The fact that it is still rarely used is a good indicator of its lack of usefulness to the community as a whole.
-
02:43 PM Misc #10541: Remove shorthand string interpolation syntax
- I agree with Daniel Morrison and Richard Schneeman. This interpolation shorthand is clever but unnecessary. While being unnecessary may not be reason enough to deprecate a feature, this particular feature also has the potential for unexp...
-
08:12 AM Misc #10541: Remove shorthand string interpolation syntax
- > It has been the cause of real problems. http://status.cloudamqp.com/incidents/vj62pnp62tj9
I'd say the "cause" of the problem described in that article is that they deployed code to production without any testing or review. It's not... -
02:31 AM Misc #10541: Remove shorthand string interpolation syntax
- Eric Wong wrote:
> Perhaps it needs to be used more so more Rubyists know about it...
And perhaps better editor's support.
"Anybody Must Not Use What I don't Use/Understand" is not a fair behavior. -
02:33 PM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
- That's a bummer!
Callcc is the most exciting toy for the functional programmers.
If Ruby had no callcc, I couldn't have been interested in Ruby.
No one think it production ready.
When callcc is used, the user is (or should be) no... -
11:52 AM Feature #10548 (Open): remove callcc (Callcc is now going obsoleted. Please use Fiber.)
-
11:51 AM Feature #10548 (Closed): remove callcc (Callcc is now going obsoleted. Please use Fiber.)
- Applied in changeset r48588.
----------
* ext/continuation/continuation.c (Init_continuation): obsolete callcc.
first step of [Feature #10548]. -
11:28 AM Feature #10548 (Open): remove callcc (Callcc is now going obsoleted. Please use Fiber.)
We are paying a lot of costs for callcc's consistency.
and currently, we can use Fiber in many situation.
In https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20140517Japan,
matz agreed to remove callcc.
If there i...- 01:31 PM Revision 18a7dade (git): * test/ruby/test_autoload.rb (class TestAutoload): change load target
- from Continuation to Date. Becouse Continuation is no longer quiet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:28 PM Revision 2128f208 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:28 PM Revision c262acb4 (git): ruby.h: export keyword argument functions
- * include/ruby/ruby.h (rb_get_kwargs, rb_extract_keywords): export
keyword argument functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:38 PM Bug #10488 (Closed): Consistency of Module#const_defined? and constant lookup
- Indeed, it looks consistent with `const_get` and it seems difficult to be more consistent while keeping the same API.
Let's close this then. -
12:18 PM Revision 3f37ba11 (git): * test/inlinetest.rb: removed unused test helper.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:50 AM Revision 262245b0 (git): * ext/continuation/continuation.c (Init_continuation): obsolete callcc.
- first step of [Feature #10548].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:32 AM Revision 307198a3 (git): Fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:03 AM Bug #10491: TestGc#test_latest_gc_info often fails on mswin CI
- ぱっと見た感じよくわからなかったので、
ちょっと r48586 でプロセス分けてみましたが、どうでしょうか。
-
11:00 AM Revision 42a15516 (git): * test/ruby/test_gc.rb (test_latest_gc_info): do test separately
- to avoid mysterious behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:54 AM Bug #10546 (Closed): Bug Segmentation Fault when input prompt on cmder
- Applied in changeset r48585.
----------
win32.c: for non-standard console
* win32/win32.c (constat_reset): do nothing on non-standard
console emurators. [ruby-core:66471] [Bug #10546] -
08:00 AM Bug #10546 (Assigned): Bug Segmentation Fault when input prompt on cmder
- OK, I could repoduce it with ConEmu 141125.
-
07:38 AM Bug #10546 (Feedback): Bug Segmentation Fault when input prompt on cmder
- Is it http://bliker.github.io/cmder/?
-
06:32 AM Bug #10546 (Closed): Bug Segmentation Fault when input prompt on cmder
- Hi,
Whenever I run a ruby file that has a prompt, I get the a bug segmentation fault. I'm using cmder, which is a console emulator for windows. I can run the files just fine if I use the standard cmd or another console emulator.
My... -
10:54 AM Revision 2e7ed803 (git): win32.c: for non-standard console
- * win32/win32.c (constat_reset): do nothing on non-standard
console emurators. [ruby-core:66471] [Bug #10546]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:47 AM Feature #10508 (Closed): Return enumerator in TSort iterators
- Applied in changeset ruby-trunk:r48584.
----------
* lib/tsort.rb: Returns an enumerator if no block is given.
[ruby-core:66270] [Feature #10508] Proposed by Andrey Savchenko. -
10:46 AM Revision 0eadc632 (git): * lib/tsort.rb: Returns an enumerator if no block is given.
- [ruby-core:66270] [Feature #10508] Proposed by Andrey Savchenko.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:07 AM Bug #10380 (Closed): Make sure 'update-gems' is called in the make process
- fixed at r48558
-
08:56 AM Bug #10470: TracePoint cannot trace attr_accessor/reader/writer method
- 遅くなりました。
こちら、性能劣化をいやがって、このような仕様にしているところがあります。
同じようなものに、Fixnum 同士の足し算などがあります。
まつもとさんからは、「出来るようにして欲しい」というリクエストを頂いているので、対応したものだか悩んでいるところです。
どなたか、ご協力頂けないでしょうか。
(1) 性能測定
(2) 何か性能劣化がない形で提供する方法はないか
-
08:25 AM Bug #10545 (Closed): SEGV: def m(A: a) end
- Applied in changeset r48583.
----------
parse.y: fix invalid keyword argument
* parse.y (f_label, f_kw, formal_argument_gen): ignore invalid
formal argument in keyword argument definition.
[ruby-dev:48742] [Bug #10545] -
02:27 AM Bug #10545 (Closed): SEGV: def m(A: a) end
- def m(A: a) end とすると SEGV するようです。
```
% ./ruby -e 'def m(A: a) end'
-e:1: formal argument must be local variable
def m(A: a) end
^
-e:1: dynamic constant assignment
def m(A: a) end
^
./ruby: [BUG] Segmen... -
08:25 AM Revision eab19104 (git): parse.y: fix invalid keyword argument
- * parse.y (f_label, f_kw, formal_argument_gen): ignore invalid
formal argument in keyword argument definition.
[ruby-dev:48742] [Bug #10545]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:22 AM Revision c7855be2 (git): use clock_gettime to avoid object creation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:22 AM Revision d3236ba3 (git): add test for r48563
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:18 AM Bug #8543: new rb_iseq_load crash
- nop; nop works, but I don't think it's an improvement (or regression).
I prefer to save 2 words entirely.
I planned to workaround the issue by doing ISeq#load twice:
first = iseq.to_a # useless jump|nop here
junk = I... -
06:49 AM Bug #8543: new rb_iseq_load crash
- I use nop insns instead of "jump to next insn" (2 words) in r48579.
How about it? -
01:48 AM Bug #8543: new rb_iseq_load crash
- ko1: thank you for checking, any comment on the extra jumps insns which
I hack around by disabling peephole optimization?
It seems caused by the following in iseq_set_sequence:
else if (orig_sp - sp == 0) {
/* jump to n... -
08:01 AM Revision 058044c2 (git): proc.c: use RUBY_SAFE_LEVEL_MAX
- * proc.c (rb_method_call_with_block): use RUBY_SAFE_LEVEL_MAX,
which is declared in include/ruby/ruby.h since 2.1. The safe
level is now limited upto 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48580 b2dd03c8-39d4-4d8f-98f... -
06:48 AM Revision f0071d3b (git): * compile.c (iseq_set_sequence): use "nop" insn instead of
- "jump to next insn".
https://bugs.ruby-lang.org/issues/8543#change-50085
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:03 AM Revision ef8c2e4b (git): iseq.c (iseq_s_compile_file): close IO when done
- This will prevent some leaked FD warnings in future tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/25/2014
-
11:41 PM Bug #10543 (Closed): ruby -c and ripper inconsistency: /(?<n>a(b|\g<n>))/
- 以下のように、/(?<n>a(b|\g<n>))/ というだけのソースは
ruby -c では問題無しとなりますが、
Ripper.sexp では構文木でなく nil が返ってきてしまいます。
```
% cat z.rb
/(?<n>a(b|\g<n>))/
% ./ruby -c z.rb
Syntax OK
% ./ruby -rripper -e 'p Ripper.sexp(STDIN.read)' <... -
11:16 PM Misc #10541: Remove shorthand string interpolation syntax
- This syntax is very confusing and while not common could possibly lead to confusing bugs. That blog post referenced an actual bug in production. If I came across this code in the wild, I would be surprised by this behavior:
~~~
requi... -
09:28 PM Misc #10541: Remove shorthand string interpolation syntax
- Eric, I think it is dangerous syntax because (to take the example from the link above) changing "foo-#@name-1" to "foo-#@name1" unexpectedly changes what variable gets used.
That mistake can't happen with "foo-#{@name}-1".
I prefe... -
08:12 PM Misc #10541: Remove shorthand string interpolation syntax
- I agree, I think this syntax exception is confusing, harder to read and most Ruby editors will insert {} after # so it is not saving any keystroke in that case.
Additionaly, it might also encourage using $global_vars, @@class_vars and @... -
06:48 PM Misc #10541: Remove shorthand string interpolation syntax
- I use it frequently. It saves me keystrokes and screen space.
I think it is more readable and less noisy this way, too.
Removing it will break existing code I have.
Perhaps it needs to be used more so more Rubyists know about it... -
04:15 PM Misc #10541 (Assigned): Remove shorthand string interpolation syntax
- I would like to see the shorthand string interpolation syntax, "foo#@bar" deprecated and then removed in 3.0.
My reasons:
1. Most experienced Ruby developers I've talked to don't even know it exists.
2. It has been the cause of re... -
10:15 PM Bug #10542 (Closed): out-of-place build from repository builds enc/trans/*.c in the source directory and the build directory
- repository から checkout した ruby を out-of-place で build すると、
enc/trans/big5.c などいくつかのファイルが
source directory と build directory の両方に生成されます。
どちらかだけに生成されるのが意図された動作なんじゃないでしょうか。
```
% cd /tmp
% mkdir r
% cd r
% svn co -q http://svn.ru... -
09:09 PM Revision b1028f7a (git): * common.mk: encdb.h and transdb.h depends on $(PREP).
- So prebuild files for them in tarball are useless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:58 PM Revision 91e2cd34 (git): vm_method.c: preserve encodings
- * vm_method.c (rb_mod_remove_method): preserve encodings of method
name and class name in error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 PM Revision 606e8556 (git): rb_id2str over rb_id2name
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:44 PM Revision d0ac6d58 (git): object.c: preserve encodings
- * object.c (inspect_i): preserve encodings in inspected result
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 PM Revision f2fc80ce (git): vm_method.c: preserve encodings
- * vm_method.c (rb_method_entry_make): preserve encodings of
constant names in warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 PM Revision 5d4aad2b (git): vm_eval.c: preserve encoding
- * vm_eval.c (rb_method_call_status): preserve encoding of called method
name in error messages.
* vm_insnhelper.c (vm_call_method): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 PM Revision ddfcb969 (git): safe.c: preserve encoding
- * safe.c (rb_secure): preserve encoding of the called method name
in error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 PM Revision f77d4023 (git): safe.c: preserve encoding
- * safe.c (rb_insecure_operation): preserve encoding of the called
method name in error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:12 PM Revision 5af1a10d (git): * tool/make-snapshot: Don't generate enc/trans/newline.c in tarball.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:55 PM Revision a08d6c5b (git): * common.mk (prereq): Don't depends on prelude.c and golf_prelude.c.
- Since they depend on $(PREP) which is miniruby, they are rebuilt
after miniruby is built, even if tarball contains them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:22 PM Revision c6d52afd (git): * 2014-11-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:22 PM Revision 7df1831b (git): * template/prelude.c.tmpl: Don't expand RbConfig::Config[...].
- It is not used now.
* common.mk: prelude.c and golf_prelude.c doesn't depend on rbconfig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:39 PM Revision afe02a2f (git): Move the description about vfork.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:02 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- I can't reproduce the error, too.
What about this patch?
~~~diff
diff --git a/gc.c b/gc.c
index 9c0dbef..f4c4e93 100644
--- a/gc.c
+++ b/gc.c
@@ -7869,10 +7869,10 @@ wmap_aset(VALUE self, VALUE wmap, VALUE orig)
TypedDat... -
08:19 AM Bug #8543: new rb_iseq_load crash
- Seems nice! Thank you!
(maybe we need fix rdoc)
-
03:09 AM Bug #8543: new rb_iseq_load crash
- Eric Wong wrote:
> Sorry, the inline patch was an extremely hacky work-in-progress,
> ...
Ah, I see.
Thanks! v3 is indeed no longer segfaulting on any of the iseq tests
I have.
Awesome!
Thanks again,
Bill
-
02:08 AM Bug #8543: new rb_iseq_load crash
- Sorry, the inline patch was an extremely hacky work-in-progress,
but I think rb_iseq_load_fix@v1.txt should've been OK with your
(non keyword) use cases.
Here is a slightly less broken, but still hacky work-in-progress:
http://8... -
08:07 AM Revision d95aae32 (git): * NEWS: add an "Implementation changes" section.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:58 AM Bug #10540: Yielded fibers do not execute ensure blocks
- This issue is a known bug.
[Bug #595]: Fiber ignores ensure clause
(3 digits!)
Rubinius supports it.
----
This feature is not impossible, but a bit difficult because there are two ENSURE points.
1. Owner thread is terminate... -
07:09 AM Bug #10533 (Closed): HTTP reconnection with SNI does not send correct hostname
- Applied in changeset r48563.
----------
* lib/net/http.rb: Do not attempt SSL session resumption when the
session is expired. [Bug #10533] -
06:55 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
- Via #ruby-core IRC:
~~~
22:53 nurse: ok > 10533
~~~
So I will commit it. -
07:09 AM Revision 711ece42 (git): * lib/net/http.rb: Do not attempt SSL session resumption when the
- session is expired. [Bug #10533]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:03 AM Revision 49cb4119 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:03 AM Revision 975bfe0a (git): * append newline at EOF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:03 AM Revision 3908d5d3 (git): * lib/rake: Update to rake 10.4.0
- * test/rake: ditto.
* NEWS: ditto.
* test/lib/minitest/unit.rb: Add compatibility shim for minitest 5.
This only provides minitest 5 unit test naming compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48560 b2dd03c8... -
06:26 AM Revision f20f84d6 (git): vcs.rb: make Time with proper offset
- * tool/vcs.rb (get_revisions): use Time.new instead of Time.mktime
which does not accept UTC offset, and offset manually for older
versions than 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48559 b2dd03c8-39d4-4d8f-98ff-82... -
04:37 AM Revision 913ed016 (git): common.mk: remove old gems
- * common.mk (update-gems): remove old version gems after
successfully downloaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:18 AM Revision 25661ef5 (git): add gem name [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 AM Revision 63aafb20 (git): process.c: initialize static IDs first
- * process.c (Init_process): initialize static IDs before constant
definitions. [ruby-core:66445]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:46 AM Revision 8f796231 (git): * 2014-11-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:46 AM Revision cbf987c8 (git): compile.c (iseq_build_callinfo_from_hash): hoist out
- iseq_build_from_ary_body indentation was too deep for my little
terminal, so extract it so it is easier to add keyword support.
* compile.c (iseq_build_callinfo_from_hash): hoist out
(iseq_build_from_ary_body): shorten callinfo case
... -
01:08 AM Bug #10539 (Rejected): Wrong pattern matching when string interpolation inside regexp is used
- You need parentheses.
-
01:03 AM Bug #10475: Array#flatten should not accept a nil argument
- I agree that this is a documentation issue.
But afraid that the negative value is worth to mention.
11/24/2014
-
11:13 PM Bug #8543: new rb_iseq_load crash
- Howdy,
Eric Wong wrote:
> That was only one of the breakages :)
> ...
Thanks so much for working on this.
Just some initial feedback -- after applying both patches to trunk,
I'm still seeing a segfault in the iseq.eval call on ... -
10:18 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- Thanks for trying. I can not reproduce your broken object issue
with my patch on Linux (x86-64 and i686). "make check" passes, but
maybe something else is missing... -
09:04 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- Getting this:
~~~
irb(main):008:0> a = Object.new
=> #<Object:0x007fe1b983a278>
irb(main):009:0> WeakRef.new a
=> #<Object:0x007fe1b983a278>
irb(main):010:0> WeakRef.new a
NotImplementedError: method `==' called on broken T_???(... -
09:08 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- Thanks, the following patch should fix it. Your test runs much in less
than 20s and uses 10M on my older x86-64 machine. It took over 2
minutes before.
(lightly tested, and I'm unfamiliar with the weakmap code):
~~~diff
--- a... -
07:25 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- Data point: tacking a `printf` onto the end of `define_final0` in `gc.c` reveals that a new finalizer is being added to `a` for each WeakRef. I expect those are what's hogging memory.
-
06:48 AM Bug #10537 (Closed): Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- ~~~ruby
require 'weakref'
a = Object.new
1_000_000.times do
WeakRef.new a
end
GC.start
~~~
The above results in Ruby consuming ~150 MB of RAM, all of which can only be freed by dropping `a`. This should not be the case - an o... -
09:08 PM Bug #10540: Yielded fibers do not execute ensure blocks
- This seems unfortunate. I'm not sure if there's a good way to do
this automatically with current APIs because `Fiber`s require
explicit scheduling.
Perhaps storing `Fiber`s in `Thread.current` and having a
`terminate_all_fibers` ... -
08:11 PM Bug #10540 (Closed): Yielded fibers do not execute ensure blocks
- When a thread has paused fibers, if an exception occurs anywhere in the thread, `ensure` blocks in the paused fibers do not execute.
The effect of this is that block-scoped resources (like File.open, Mutex#synchronize, ActiveRecord tr... -
04:07 PM Bug #10539: Wrong pattern matching when string interpolation inside regexp is used
- I think I found my error. Sorry
Please Close it.
Best regards,
Tammo
-
04:02 PM Bug #10539 (Rejected): Wrong pattern matching when string interpolation inside regexp is used
- Hello,
maybe it is my fault, but I stumble over the fact, that I get a match when I should not (have added a short example).
I use an Array to have a list of matching names like:
~~~ruby
a = ['moin','test','whatever']
~~~
and whe... - 02:03 PM Revision 7806df70 (git): * gems/bundled_gems: Update to 3.0.7.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:54 PM Bug #10475: Array#flatten should not accept a nil argument
- Jörg W Mittag wrote:
> IMO, the correct behavior would be to use `to_int`.
It *is* using `to_int`, except for `nil` which is treated specially.
> ...
Right. The documentation lists two interfaces (one with no argument, one with a ... -
10:52 AM Bug #10476: String.strip remove characters different than pure whitespace
- It looks perfect.
-
10:21 AM Feature #10489: Add inherit method for clearer and multiple inheritance
- Bráulio Bhavamitra wrote:
> A new and more intuitive syntax:
> ...
Module is "multiple inheritance" for ruby. I don't think it is a good idea.
-
09:32 AM Bug #10538: Error when trying to update gem rake
- This error seems to happen whenever an update suggests to replace a ruby binary... no matter the answer (y/n).
-
09:22 AM Bug #10538 (Closed): Error when trying to update gem rake
- when running "gem update rake" I get the following:
c:\>gem update rake
Updating installed gems
Updating rake
rake's executable "rake" conflicts with C:/Ruby21-x64/bin/rake
Overwrite the executable? [yN] C:/Ruby21-x64/lib/ruby/si... -
03:44 AM Revision 09fbd56e (git): process.c: get rid of inadvertent ID pindown
- * process.c (check_exec_redirect_fd, check_exec_redirect),
(rb_execarg_addopt): get rid of inadvertent ID pindown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:44 AM Revision a6755b6e (git): process.c: intern IDs
- * process.c (Init_process): intern IDs at initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Revision ec81f9c4 (git): marshal.c: literal method names
- * marshal.c (check_dump_arg, check_load_arg): use literal method
names, instead of converting from ID every time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/23/2014
-
05:03 PM Revision 25bab786 (git): string.c: preserve encoding of global variable
- * string.c (rb_str_setter): preserve encoding of global variable
name in error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:03 PM Revision b58802a3 (git): iseq.c: preserve encoding at disassembling
- * iseq.c (rb_insn_operand_intern): preserve encoding of method
name in CALL_INFO at disassembling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:03 PM Revision 31aed958 (git): * 2014-11-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:03 PM Revision 9519f619 (git): io.c: preserve encodings
- * io.c (must_respond_to): preserve encodings of variable name and
class name in warning message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:02 PM Revision be5bbaf5 (git): parse.y: replace with TOK_INTERN
- * parse.y (parse_gvar): replace with equivalent macro, TOK_INTERN,
as well as other places.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:13 AM Bug #10475: Array#flatten should not accept a nil argument
- Dov Murik wrote:
> Currently `Array#flatten` accepts an explicit `nil` argument which has the same meaning as `-1` (or no arguemnt) - meaning endless recursive flattening. I'd expect `flatten` to accept an integer argument only (or not ... -
05:58 AM Bug #8543: new rb_iseq_load crash
- Eric Wong <normalperson@yhbt.net> wrote:
> The following patch might be ready to commit to trunk:
>
> http://80x24.org/spew/m/rb_iseq_load_fix@v1.txt
Still some bugs related to keyword args I'm working on, but am out of
time ... -
03:37 AM Revision 8d729372 (git): * gems/bundled_gems: upgraded to power_assert 0.2.2.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:49 AM Revision 83f0e9d6 (git): trivial packing of rb_execarg, load_file_arg, args_info
- * internal.h (struct rb_execarg): 160 => 144 bytes on x86-64
* ruby.c (struct load_file_arg): 48 => 40 bytes on x86-64
* vm_args.c (struct args_info): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48543 b2dd03c8-39d4-4d8f-98ff... - 01:49 AM Revision 919b1aa5 (git): ChangeLog: fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:02 AM Bug #10536 (Rejected): RubyDoc example for Enumerable#map incorrect
-
12:00 AM Revision 5aa9eb46 (git): elementdecl.rb: suppress warnings
- * lib/rexml/dtd/elementdecl.rb (PATTERN_RE): comment out overridden
constant, and '_' is included in '\w'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e