Activity
From 11/09/2015 to 11/15/2015
11/15/2015
-
09:08 PM Feature #11690: Update Hash during multiple assignment
- On 16/11/2015 2:32 AM, <[email protected]> wrote:
>
> This would be most useful in scenarios where a method or pr... -
04:30 PM Feature #11690 (Open): Update Hash during multiple assignment
- Given that we can assign multiple variables at once
~~~ruby
a,b,c = 1,2,3
~~~
It would be nice to be able to ... -
07:51 PM Bug #11657: Abort Trap 6 when running a test suite
- Andrew Hodgkinson wrote:
> Added by Andrew Hodgkinson 11 days ago.
This - https://bugs.ruby-lang.org/projects/r... -
06:41 PM Bug #11693: Backport r50985. (don't close others for rubyspec)
- Backported into `ruby_2_2` branch at r52580.
-
06:31 PM Bug #11693 (Closed): Backport r50985. (don't close others for rubyspec)
- Backport 管理用のチケットのため Closed で作成します。
RubySpec の エラー修正のため r50985 が必要でした。 -
06:40 PM Revision 3e895a04 (git): merge revision(s) 50985: [Backport #11693]
- runruby.rb: don't close other fds
* tool/runruby.rb: rubyspec now requires other FDs not to be
closed sinc... -
05:24 PM Bug #11692 (Closed): [PATCH] Re-enable GC if stack overflow was caught from signal handler
- We got ruby application running on our production server and noticed that it regularly crashes with out of memory err...
-
04:47 PM Bug #11691 (Closed): Permission denied @ rb_sysopen did_you_mean-1.0.0.beta3.gemspec
- When I ruby Ruby, I get this error:
~~~
/usr/local/lib/ruby/2.3.0/rubygems/stub_specification.rb:80:in `initializ... -
11:17 AM Feature #11477 (Closed): NameError#qualified_name
- Since #11252 is completely done and `NameError#receiver` now returns the receiving module in a "uninitialized constan...
-
10:08 AM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
- Sorry.
These methods are useful for inspecting Method object (e.g. debugging or documenting).
Currently if we nee... -
06:51 AM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
- What's use-case for these methods?
At least, You should describe use-case with feature request. -
04:53 AM Feature #11689 (Open): Add methods allow us to get visibility from Method and UnboundMethod object.
- Add `Method#visibility` and `UnboundMethod#visibility` for getting visibility from Method and UnboundMethod object.
... -
09:29 AM Bug #11687 (Closed): Method visibility changers works on frozen modules
- Applied in changeset r52579.
----------
vm_method.c: check if frozen [Fix GH-1096]
* vm_method.c (set_method_visibi... -
03:19 AM Bug #11687 (Closed): Method visibility changers works on frozen modules
- Method visibility changers are working after `freeze`.
Is this an intended behavior?
[patch](https://github.com/r... -
09:28 AM Revision 4ea616b3 (git): vm_method.c: check if frozen [Fix GH-1096]
- * vm_method.c (set_method_visibility): should fail if the receiver
is frozen. [ruby-core:71489] [Bug #11687]
git-... -
08:27 AM Feature #11666: IPAddr#private?
- I think private? is better than private_addr? because private_addr? seems to be redundant in following code:
```ru... -
03:30 AM Feature #11688 (Closed): Struct and OpenStruct will be able to chain the Hash#dig Array#dig
- Struct and OpenStruct are rejected with #dig? I couldn't get from [Feature #11643]
[patch](https://github.com/ruby... - 02:05 AM Revision 9fec02ad (git): * 2015-11-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:04 AM Revision c87bee1f (git): ruby.1: --dump [ci skip]
- * man/ruby.1: describe --dump option arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52577 b2dd03c8-39d... -
01:17 AM Feature #11665: Support nested functions for better code organization
- I completely forgot about the notation of defining instance methods within other instance method.
My first reactio...
11/14/2015
-
11:24 PM Bug #11686 (Closed): Segmentation fault/memory corruption with --enable-frozen-string-literal-debug --enable-frozen-string-literal
- This issue manifests when using the `ruby_parser` gem version 3.7.2.
To reproduce:
* `gem install ruby_parser -... -
06:05 PM Bug #11685 (Closed): rbinstall does not set Gem specification permission correctly
- rbinstall.rb does not set Gem specification permission while installing rubygems.
It seems line751 - 756 and 763 - a... -
01:15 PM Revision 373e87a7 (git): * ext/socket/lib/socket.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:45 PM Revision fb2a6ecf (git): * lib/time.rb: Use "<<" to reduce string allocation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:43 AM Revision af4c1ac8 (git): test/test_tsort.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:03 AM Revision 22876f4d (git): compile.c: fix variable
- * compile.c (iseq_peephole_optimize): use proper variable, without
cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
08:46 AM Revision 4c0158ac (git): * lib/tsort.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:25 AM Revision 2f7ac37b (git): * lib/resolv-replace.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:13 AM Revision 59a3fe58 (git): hash.c: compare methods [ci skip]
- * hash.c (rb_hash_{le,lt,ge,gt}): [DOC] for [Feature #10984]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52570... -
08:00 AM Revision fb7ccd69 (git): * lib/time.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:43 AM Revision 1ec54469 (git): * lib/open3.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:26 AM Revision 8aa3ac13 (git): compile.c: remove unused labels
- * compile.c (iseq_label_data): manage reference count.
* compile.c (iseq_peephole_optimize): remove unreferred label...
11/13/2015
-
08:16 PM Bug #11101 (Feedback): Forking is killing my memory when running GC
-
08:05 PM Revision db138790 (git): additional fix of comment line
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:04 PM Revision f1028f5c (git): * node.h: remove old comments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:02 PM Revision 32a96472 (git): * refactoring CREF related code.
- * eval_intern.h: remove unused setter functions.
CREF_CLASS_SET()
CREF_NEXT_SET()
CREF_SCOPE_VISI_COPY()
* eva... -
06:01 PM Revision b73e900f (git): * vm.c (vm_define_method): refactoring.
- * get CREF in this function.
* cbase is no longer needed (CREF_CLASS(cref) is enough).
* compile.c: RubyVM::Frozen... -
05:38 PM Bug #11571 (Closed): シングルトンメソッドの中で def を使用した時の可視性が変わっている
- Applied in changeset r52562.
----------
* vm.c (vm_define_method): do not use current CREF immediately,
but check ... -
05:38 PM Revision 25f5dd67 (git): * vm.c (vm_define_method): do not use current CREF immediately,
- but check CREF in environment or methods. Methods defined in methods
should be public.
[Bug #11571]
* vm_method.... -
05:20 PM Revision dd4cec36 (git): * method.h: constify rb_cref_t::scope_visi;
- * eval_intern.h (CREF_SCOPE_VISI_COPY): catch up this fix.
* vm_method.c: ditto.
git-svn-id: svn+ssh://ci.ruby-l... - 05:07 PM Revision 6687b348 (git): * 2015-11-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:07 PM Bug #11684 (Closed): Pack#unpack test failure on Solaris 10 with Oracle Solaris Studio 12.4
- Applied in changeset r52559.
----------
* pack.c (pack_unpack, AVOID_CC_BUG): Very ugly workaround for
optimizatio... -
04:48 PM Bug #11684 (Closed): Pack#unpack test failure on Solaris 10 with Oracle Solaris Studio 12.4
- On Solaris 10, when compiling ruby with Oracle Solaris Studio 12.4 with -xO4 optimization option, the following test ...
-
05:06 PM Revision 238c6c5b (git): * pack.c (pack_unpack, AVOID_CC_BUG): Very ugly workaround for
- optimization bug of Oracle Solaris Studio 12.4 on Solaris
with -xO4 optimization option. [Bug #11684]
git-svn-id:... -
02:11 PM Bug #11680 (Closed): LD_PRELOAD setting causes child process crash on mingw
- Applied in changeset r52558.
----------
Unset LD_PRELOAD on mingw
* configure.in: unset LD_PRELOAD on mingw. msys2 ... -
02:11 PM Revision f2b760e3 (git): Unset LD_PRELOAD on mingw
- * configure.in: unset LD_PRELOAD on mingw. msys2 child processes
crash at make test-all with LD_PRELOAD.
[ruby-co... -
10:46 AM Feature #11537: Introduce "Safe navigation operator"
- Yukihiro Matsumoto wrote:
> I think about this for a while, and thinking of introducing `&.` instead of `.?`, becaus... -
07:12 AM Feature #11473: Immutable String literal in Ruby 3
- Mike Pastore wrote:
> Has anyone suggested introducing new quote-like operators to define mutable strings in Ruby 2.... -
02:26 AM Feature #11473: Immutable String literal in Ruby 3
- Has anyone suggested introducing new quote-like operators to define mutable strings in Ruby 2.3 (with immutable strin...
-
07:08 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
- SASADA Koichi <[email protected]> wrote:
> On 2015/11/13 13:18, Eric Wong wrote:
> > benchmark/bm_accept_nonblock.rb ... -
05:48 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
- On 2015/11/13 13:18, Eric Wong wrote:
> benchmark/bm_accept_nonblock.rb | 17 ++
> benchmark/bm_connect_nonbloc... -
04:18 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
- Entire series for sockets
http://80x24.org/spew/20151113041012.27235-1-e%4080x24.org/t.mbox.gz
ref: [ruby-core:7... -
05:39 AM Bug #11675 (Feedback): String hash key may cause Segfault
- 2.2.0 is outdated.
Could you try with 2.2.3, or stable snapshot? -
05:37 AM Bug #11683: multi-threaded autoload and defined? sometimes fails
- I could reproduce it by iterating 10 times from `add_autoload` through `ensure` block.
-
01:51 AM Bug #11683 (Closed): multi-threaded autoload and defined? sometimes fails
- I get the following failure. This is a multi-threaded autoload and defined? method test.
If I add wait queue code in... -
05:18 AM Feature #11607: [PATCH] fiddle: release GVL for ffi_call
- So, should I commit the patch as-is, or perhaps add a new
option/method for releasing the GVL?
Naming new option... -
05:14 AM Bug #11682 (Rejected): cant create my first controller after initial rails install
- You load an extension library for older version of ruby.
2.2.1 is outdated and 2.2.3 will show more descriptive mess... -
12:54 AM Bug #11682 (Rejected): cant create my first controller after initial rails install
- hi there, i'm having difficulty in creating my first rails controller - i have just installed rails following the ins...
-
05:03 AM Revision 293aa871 (git): Commit miss from r52556
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:01 AM Bug #10735 (Closed): Memory leak in openssl ossl_pkey_sign
- Applied in changeset r52556.
----------
* ext/openssl/ossl_pkey.c: Merge ruby/openssl@b9ea8ef [Bug #10735] -
05:01 AM Revision 85dd19cf (git): * ext/openssl/ossl_pkey.c: Merge ruby/openssl@b9ea8ef [Bug #10735]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:10 AM Revision 47135def (git): * ext/openssl/ossl_ssl.c: Merge ruby/openssl@81e1a30
- * test/openssl/test_ssl.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52555 b2dd03c8-39d4-4d8f-98ff-8... -
04:05 AM Revision 2069c9e0 (git): prelude.rb: deprecate Thread.exclusive
- * prelude.rb (Thread.exclusive): warn as deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52554 b2dd03c... -
01:36 AM Revision aa4ab181 (git): parse.y: optimize condition for unless
- * parse.y (new_unless): optimize constant condition for `unless`
as well as `if`. [Fix GH-1092]
git-svn-id: svn+s... - 01:09 AM Revision 7765e2e6 (git): * 2015-11-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:08 AM Revision f1f790db (git): * ext/psych/psych.gemspec: bump version to 2.0.15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/12/2015
-
08:15 PM Misc #11681 (Closed): Refinements documentation is based on older implementation
- It seems that the refinements documentation hasn't been updated to reflect more recent changes to how refinements wor...
-
04:45 PM Bug #11662: Hash#delete causes segmentation fault at 0x00000000001ec8
- Yes, we are using threads. @tmp_handlers is only called from one other location in line #129.
~~~
@tmp_handlers[i... -
11:47 AM Bug #11632: Resolv::DNS::Message.encode fails to encode messages larger than 16383 byte
- Cool, thank you!
-
09:58 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
- Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > I am OK with the change. I don't really ... -
02:08 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
- [email protected] wrote:
> I am OK with the change. I don't really like something like
> __read_nonblock, but ac... -
02:01 AM Feature #11339 (Closed): [PATCH] io.c: avoid kwarg parsing in C API
- Applied in changeset r52541.
----------
io.c: avoid kwarg parsing in C API
* benchmark/bm_io_nonblock_noex2.rb: new... -
09:44 AM Bug #11679 (Closed): Partial name of coding is allowed at magic comment
- Applied in changeset r52550.
----------
parse.y: exact magic comment name
* parse.y (parser_magic_comment): should ... -
08:43 AM Bug #11679 (Closed): Partial name of coding is allowed at magic comment
- Encoding of magic comment is allowed by just `c: ...`.
Is this expected result or not?
```
$ cat test.rb
# -*... -
09:44 AM Revision d674e6df (git): parse.y: exact magic comment name
- * parse.y (parser_magic_comment): should match exactly.
[ruby-core:71460] [Bug #11679]
git-svn-id: svn+ssh://ci.ru... -
09:09 AM Bug #11680 (Closed): LD_PRELOAD setting causes child process crash on mingw
- I see make test-all failures on mingw with msys2.
```
TestMiniTestUnitTestCase#test_assert_equal_different_long =... -
07:16 AM Revision 2c42aac9 (git): prelude.c.tmpl: optimize
- * template/prelude.c.tmpl: enable tail call optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52549 b2... -
05:17 AM Revision 68e16ddd (git): parse.y: ANDDOT fluent interface
- * parse.y (parser_yylex): ANDDOT at the head of the line denote
line continuation from previous one to support flue... -
05:16 AM Revision 88edab89 (git): parse.y: simplify
- * parse.y (parser_yylex): reduce RIPPER ifdefs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52547 b2dd03c8-39d... -
04:50 AM Revision a2ba489e (git): * lib/rubygems: Update to RubyGems 2.5.0+ HEAD(db78980).
- this version includes #1367 , #1373 , #1375
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... -
03:50 AM Revision 8b129406 (git): Module#<=> is not suitable for Comparable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:50 AM Revision 66ef9b93 (git): add a test.
- https://bugs.ruby-lang.org/issues/10984#note-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52544 b2dd03c8-39... -
03:40 AM Feature #11558 (Closed): Time related C APIs
- 02:01 AM Revision fd36c752 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:01 AM Revision 868c9063 (git): * 2015-11-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:00 AM Revision cee7f691 (git): io.c: avoid kwarg parsing in C API
- * benchmark/bm_io_nonblock_noex2.rb: new benchmark based
on bm_io_nonblock_noex.rb
* io.c (io_read_nonblock): move ... -
01:52 AM Bug #11657: Abort Trap 6 when running a test suite
- Changing assignee after 7 days with no response, because I notice from other issues in the list that "ruby-core" neve...
-
01:16 AM Feature #8191 (Closed): Short-hand syntax for duck-typing
- this feature is supported at #11537
-
01:16 AM Feature #8237 (Closed): Logical method chaining via inferred receiver
- this feature is supported at #11537
11/11/2015
-
09:58 PM Bug #11674: `local_variables` returns buffer-overflow garbage with methods with > 10 keyword arguments
- Thanks, that was quick! I don't really understand what the above patch is doing, but it looks like you're just filter...
-
08:38 AM Bug #11674 (Closed): `local_variables` returns buffer-overflow garbage with methods with > 10 keyword arguments
- Applied in changeset r52536.
----------
vm_eval.c: skip internal names
* vm_eval.c (local_var_list_add): skip inter... -
06:57 AM Bug #11674: `local_variables` returns buffer-overflow garbage with methods with > 10 keyword arguments
- i wanted to see what symbols does appear:
~~~ruby
p 200.times.map { |n|
vars = n.times.m... -
06:20 AM Bug #11674: `local_variables` returns buffer-overflow garbage with methods with > 10 keyword arguments
- Well, this is very strange indeed. The problem does start at 11 keyword arguments and continues to present all the wa...
-
03:45 AM Bug #11674 (Closed): `local_variables` returns buffer-overflow garbage with methods with > 10 keyword arguments
- The following program appears to demonstrate a buffer overflow in `rb_f_local_variables`
~~~ruby
def with_kwargs_... -
07:27 PM Feature #11678 (Closed): ability to comment out methods in a multi-line method chain without needing a new line escape
- ```ruby
a = b
.meth1
#.meth2
.meth3
```
-
01:28 PM Revision 4a595240 (git): add ticket numbers
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:21 PM Feature #11665: Support nested functions for better code organization
- Oddly there are some people who've found the dynamic defining of methods this way useful as a state machine. This rec...
-
09:45 AM Bug #11677: 52530の変更により、sprintfの引数のhashにkeyが存在していてもvalueがnilのときにKeyErrorがでるようになってしまった。
- ありがとうございます。
-
09:30 AM Bug #11677 (Closed): 52530の変更により、sprintfの引数のhashにkeyが存在していてもvalueがnilのときにKeyErrorがでるようになってしまった。
- Applied in changeset r52537.
----------
sprintf.c: nil value is valid
* sprintf.c (rb_str_format): look up the key,... -
08:14 AM Bug #11677 (Closed): 52530の変更により、sprintfの引数のhashにkeyが存在していてもvalueがnilのときにKeyErrorがでるようになってしまった。
- ```ruby
def test_named_with_nil
h = { key: nil, key2: "key2_val" }
assert_equal("key is , key2 is key2_v... -
09:38 AM Revision 66688cde (git): compile.c: comments for r52517 [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:30 AM Revision 56e3b493 (git): sprintf.c: nil value is valid
- * sprintf.c (rb_str_format): look up the key, then get default
value and raise KeyError if the returned value is ni... -
08:38 AM Revision 9cf11364 (git): vm_eval.c: skip internal names
- * vm_eval.c (local_var_list_add): skip internal local variable
name by its type but not if it has a name. internal... -
07:46 AM Bug #11676 (Closed): Missing inspect for T_IMEMO during make with -DCPDEBUG=2
- When I pass -DCPDEBUG=2 (or higher) to the CFLAGS the compilation process fails when miniruby is invoked:
... -
07:26 AM Bug #11673 (Assigned): Inconsistent timezone behaviour (Time.parse and DateTime.parse)
-
06:11 AM Revision 66a138c2 (git): Add the ticket number to ChangeLog.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:09 AM Feature #11612 (Closed): The default mode of Net::FTP should be passive
- The default mode was changed in r52532.
-
05:33 AM Bug #10984: Hash#contain? to check whether hash contains other hash
- Akira Tanaka wrote:
> ```
> % ruby -e '
> class Hash
> def <=(other)
> self.merge(other) == other
> e... -
05:20 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
- I am OK with the change. I don't really like something like __read_nonblock, but acceptable.
Matz.
-
05:14 AM Revision ccf647f7 (git): * transcode.c: fix a typo
- [ci skip][fix GH-1091] Patch by @jwworth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52534 b2dd03c8-39d4-4d8f-... -
04:22 AM Bug #11675 (Closed): String hash key may cause Segfault
- Using the [Google API Ruby Client](https://github.com/google/google-api-ruby-client), at least one method call will s...
- 03:48 AM Revision b32a3034 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:48 AM Revision 58af10ec (git): * lib/net/ftp.rb (initialize): Connections are in passive mode per
- default now. The default mode can be changed by
Net::FTP.default_passive=.
* lib/net/ftp.rb (default_passive=, de... -
12:07 AM Revision f8cd2190 (git): time/test_new.rb: fix tests
- * test/-ext-/time/test_new.rb (test_timespec_new): fix for r52519.
swap utc and localtime.
* test/-ext-/time/test_... -
12:03 AM Bug #11661 (Closed): sprintf causes a KeyError instead of using a default value for hash substitution
- Applied in changeset r52530.
----------
sprintf.c: hash default value
* sprintf.c (rb_str_format): respect default ... -
12:03 AM Revision def4370a (git): sprintf.c: hash default value
- * sprintf.c (rb_str_format): respect default value of a hash. no
longer raises KeyError unless the default value o...
11/10/2015
-
11:21 PM Bug #11661: sprintf causes a KeyError instead of using a default value for hash substitution
- Unfortunately, this change conflict with rubyspec.
How should we do:
1. backport the fix and remove the failed sp... -
07:56 PM Bug #11661: sprintf causes a KeyError instead of using a default value for hash substitution
- Hans Mackowiak wrote:
> hm might it be possible that sprintf only uses default value/or default proc if the hash doe... -
12:34 PM Bug #11661: sprintf causes a KeyError instead of using a default value for hash substitution
- hm might it be possible that sprintf only uses default value/or default proc if the hash does has default,
but does ... -
10:29 PM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
- [email protected] wrote:
> https://bugs.ruby-lang.org/issues/11339
ko1 / matz: ping? - 05:54 PM Revision 8d9e3600 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:53 PM Revision ca6ee806 (git): * 2015-11-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:50 PM Revision 4dedfc3c (git): Add tests for rb_time_timespec_new
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:01 PM Bug #8996: pthread_mutex_lock EINVAL
- Got the same issue in the same conditions with
- ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
- ruby ... -
03:43 PM Bug #11673 (Closed): Inconsistent timezone behaviour (Time.parse and DateTime.parse)
- The source of this bug is here: https://github.com/rails/rails/issues/22171#issuecomment-155090007
behaviour betwe... -
11:48 AM Revision 68ebbbfe (git): * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true".
- * lib/pp.rb: Ditto.
* lib/prettyprint.rb: Ditto.
* lib/resolv.rb: Ditto.
* lib/securerandom.rb: Ditto.
* lib/tmpd... -
09:42 AM Revision a01b6453 (git): Rename DOTQ to ANDDOT
- * defs/id.def, parse.y: Switch internal token name to reflect
current form of safe-call operator. [Fix GH-1090]
g... -
09:25 AM Revision 16e7869d (git): hash.c: use rb_func_proc_new
- * hash.c (rb_hash_to_proc): use rb_func_proc_new to make light
weight proc. [Feature #11653]
git-svn-id: svn+ssh:... -
09:24 AM Revision bda0e2fd (git): proc.c: cfunc_proc_t
- * proc.c (cfunc_proc_t): add room for me.
* proc.c (cfunc_proc_new): generalise for cfunc proc without env.
* proc.c ... -
09:22 AM Revision a56b0f8b (git): bm_hash_to_proc.rb
- * benchmark/bm_hash_to_proc.rb: benchmark for Hash#to_proc.
[Feature #11653]
git-svn-id: svn+ssh://ci.ruby-lang.or... -
08:50 AM Revision b935a13b (git): * bootstraptest/test_fork.rb ([ruby-dev:37934]): :NPROC (RLIMIT_NPROC)
- is not supported on some platforms (e.g. Solaris 10).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52521 b2dd0... -
07:57 AM Feature #11653 (Closed): Add to_proc on Hash
- Applied in changeset r52520.
----------
hash.c: to_proc
* hash.c (rb_hash_to_proc): new method Hash#to_proc.
[Fea... -
07:57 AM Revision fbe967ec (git): hash.c: to_proc
- * hash.c (rb_hash_to_proc): new method Hash#to_proc.
[Feature #11653]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
06:42 AM Feature #11665: Support nested functions for better code organization
- apropos Procs and lambda, can't we create one which does not have a binding/access to local variables on the outside?...
-
05:36 AM Revision 911b1c6b (git): * time.c (rb_time_timespec_new): swap utc and localtime
- to generate gmt flag by INT_MAX - gmtoff.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52519 b2dd03c8-39d4-4d8f... -
05:02 AM Bug #10984 (Closed): Hash#contain? to check whether hash contains other hash
- Applied in changeset r52518.
----------
hash.c: compare methods
* hash.c (rb_hash_{le,lt,ge,gt}): new methods, Hash... -
03:45 AM Bug #10984: Hash#contain? to check whether hash contains other hash
- Nobuyoshi Nakada wrote:
> If we'll introduce `Hash#<=` and `Hash#>=`, then `Hash#<` and `Hash#>` too?
Maybe.
U... -
03:30 AM Bug #10984: Hash#contain? to check whether hash contains other hash
- If we'll introduce `Hash#<=` and `Hash#>=`, then `Hash#<` and `Hash#>` too?
`Hash` will include `Comparable` with ... -
05:02 AM Revision d68c3ecf (git): hash.c: compare methods
- * hash.c (rb_hash_{le,lt,ge,gt}): new methods, Hash#<=, Hash#<,
Hash#>=, Hash#>, to test if all elements of a hash ... -
03:45 AM Revision f11a85c7 (git): compile.c: peephole
- * compile.c (iseq_peephole_optimize): remove putting object to be
popped just soon.
git-svn-id: svn+ssh://ci.ruby-... -
03:36 AM Revision f12746d1 (git): rbi
- .gdbinit (rbi): show the content of LINK_ELEMENT*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52516 b2dd03c8-... - 03:08 AM Revision 7b8986f4 (git): * lib/drb/drb.rb: revert r52442 because it was for debugging, and after this
- target problem was misteriously disappeared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52515 b2dd03c8-39d4-... -
02:59 AM Revision f1df08e7 (git): * time.c (rb_timespec_now): added.
- * time.c (rb_time_timespec_new): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52514 b2dd03c8-39d4-4d8f-9... -
02:25 AM Revision 1ed3287a (git): Add a trick to pending for r52509
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:44 AM Bug #11672: refinement
- I tried git bisect (make bisect).
It seems r51126 causes the problem.
```
% cat test.rb
class C
end
modu...
11/09/2015
-
10:25 PM Revision 84694f3d (git): add message for assert_equal.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:16 PM Bug #11672 (Closed): refinement
- I found following script behaves different between ruby 2.2.3 and trunk.
Is this difference intentional?
```
% c... -
09:28 PM Bug #11658: Segmentation fault with activeadmin test suite
- Thanks all. Committed my 3-liner and h.shirosaki's test as r52511
-
09:19 PM Bug #11658 (Closed): Segmentation fault with activeadmin test suite
- Applied in changeset r52511.
----------
variable.c (rb_autoload_load): allow recursive calls
* variable.c (rb_autol... -
03:36 PM Bug #11658: Segmentation fault with activeadmin test suite
- I confirmed on my system.
- The proposed test deadlocks.
- The proposed 3 line patch makes the test pass.
- The ... -
05:02 AM Bug #11658: Segmentation fault with activeadmin test suite
- I found a test that causes deadlock.
~~~
diff --git a/test/ruby/test_autoload.rb b/test/ruby/test_autoload.rb
in... - 09:18 PM Revision 64c08daf (git): variable.c (rb_autoload_load): allow recursive calls
- * variable.c (rb_autoload_load): allow recursive calls
[ruby-core:71345] [Bug #11658]
* test/ruby/test_autoload.rb ... -
05:18 PM Revision 2b15d169 (git): fix comment: tobj->gmt is 0:localtime 1:utc 2:fixoff 3:init
- see also TIME_UTC_P and TIME_LOCALTIME_P
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52510 b2dd03c8-39d4-4d8f-... -
04:26 PM Bug #11671 (Closed): Net::HTTP uses closed keep-alive connection, causing EOFError
- Most HTTP servers close idle keep-alive connections after a timeout. For the client, this leads to the TCP socket rea...
-
03:57 PM Revision 13a31356 (git): add a test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:37 PM Bug #11632 (Closed): Resolv::DNS::Message.encode fails to encode messages larger than 16383 byte
- Applied in changeset r52508.
----------
* lib/resolv.rb (Resolv::DNS::Message::MessageEncoder#put_labels):
Prevent... -
09:21 AM Bug #11632: Resolv::DNS::Message.encode fails to encode messages larger than 16383 byte
- Pull submitted: https://github.com/ruby/ruby/pull/1088
-
03:37 PM Revision 60055f8d (git): * lib/resolv.rb (Resolv::DNS::Message::MessageEncoder#put_labels):
- Prevent overflow of pointer to labels.
Patch by Hannes Georg. [ruby-core:71248] [Bug #11632]
git-svn-id: svn+ss... - 03:27 PM Revision a3e4d6a5 (git): * 2015-11-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:27 PM Revision 7ecf28ca (git): * gems/bundled_gems: update to power_assert 0.2.6.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:06 PM Bug #10984: Hash#contain? to check whether hash contains other hash
- Yukihiro Matsumoto wrote:
> `Hash#contain?` has slight ambiguity problem. I'd vote for adding `>=`, along with `<=`... -
08:57 AM Bug #10984: Hash#contain? to check whether hash contains other hash
Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to con...-
08:56 AM Bug #10984: Hash#contain? to check whether hash contains other hash
- `Hash#contain?` has slight ambiguity problem. I'd vote for adding `>=`, along with `<=`.
Matz.
-
03:00 PM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- What do you mean? Isn't the number of spaces a tab is equivalent to only relevant when the first line is indented wit...
-
06:52 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- Accepted. We have to define the behavior on (hard) tabs. As a UNIX user, I'd like to tak 8 spaces for tab stops.
M... -
06:36 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to conti... -
02:39 PM Feature #11537: Introduce "Safe navigation operator"
- Nobuyoshi Nakada wrote:
> Binary operators implicitly continue the next line, without a backslash.
>
> e.g.,
>
... -
12:48 PM Revision 748abedf (git): vm_eval.c: rb_check_funcall_default
- * vm_eval.c (rb_check_funcall_default): split from
rb_check_funcall to return the given fallback value.
* object.c ... -
12:27 PM Feature #11643 (Closed): A new method on Hash to grab values out of nested hashes, failing gracefully
- Applied in changeset r52504.
----------
dig
* array.c (rb_ary_dig): new method Array#dig.
* hash.c (rb_hash_dig): n... -
07:02 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
- hm shortly patch idea: instead of
~~~
keys = keys.dup
ckey = keys.shift
~~~
wouldn't
~~~
ckey, *keys = ... -
07:01 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
- Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to conti... -
06:56 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
- The idea is accepted. The name is the problem. The current candidates are 'dig' and 'fetch_in'.
I prefer 'dig'. If... -
12:27 PM Revision 29862685 (git): dig
- * array.c (rb_ary_dig): new method Array#dig.
* hash.c (rb_hash_dig): new method Hash#dig.
* object.c (rb_obj_dig): d... -
12:24 PM Feature #11665: Support nested functions for better code organization
- > But at least, the current behavior of nested method definition is useless
I'd like to show some cases where the ... -
12:06 PM Feature #11665: Support nested functions for better code organization
- private or scope local method.
~~~ruby
class X
using Module.new {
refine X do
def a
:a
... -
07:37 AM Feature #11665: Support nested functions for better code organization
- Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to conti... -
07:37 AM Feature #11665: Support nested functions for better code organization
- I am not sure nested functions are what we need. Maybe we need "real functions" with Java|C++ private scope.
Beside... -
06:43 AM Feature #11665: Support nested functions for better code organization
- currently its possible to define methods inside of methods:
~~~ruby
class A
def start
def method1
... -
10:54 AM Feature #4840: Allow returning from require
- Thanks for the update, but I'd like to point out the description in that document is not accurate:
~~~ruby
### Be... -
06:34 AM Feature #4840: Allow returning from require
- Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to conti... -
09:20 AM Feature #8976: file-scope freeze_string directive
- Koichi Sasada wrote:
> Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/p... -
08:32 AM Feature #8976 (Closed): file-scope freeze_string directive
- Applied in changeset r52501.
----------
* compile.c (iseq_compile_each): Dynamic string literals should be
frozen.... -
06:35 AM Feature #8976: file-scope freeze_string directive
- Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to add y... - 09:02 AM Revision 50dbcf5f (git): * gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0.beta3
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:52 AM Feature #11666: IPAddr#private?
- Accepted. But we have naming issue. `private?` or `private_addr?` or something else?
Any comments?
Matz.
-
08:38 AM Revision ece64610 (git): * test/runner.rb: use official repository for coverage tool.
- * Makefile.in: ditto.
* common.mk: ditto.
* .gitignore: ignored third party repositories.
git-svn-id: svn+ssh://ci.r... -
08:32 AM Revision 0303a45d (git): * compile.c (iseq_compile_each): Dynamic string literals should be
- frozen.
[ruby-core:57574] [Feature #8976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52501 b2dd03c8-39d4-4d... -
08:08 AM Feature #11653: Add to_proc on Hash
- Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to conti... -
08:03 AM Feature #11653: Add to_proc on Hash
- Accepted.
Matz.
-
08:02 AM Feature #11588: Implement structured warnings
- For me, warning is an interface (or indication) to humans. Unlike exceptions, they rarely need to be handled by machi...
-
07:40 AM Feature #11670 (Rejected): Show warning to make nested def obsolete
- Warn without '-w' at compile time.
See https://bugs.ruby-lang.org/issues/11665
-
06:56 AM Revision 863396a5 (git): * common.mk: Use ruby organization url for simplecov repository.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:38 AM Bug #11669 (Closed): inconsitent behavior of refining frozen class
- Is this expected behavior?
```ruby
class C
def foo
p 1
end
end
module Foo
refine C do
def fo... -
04:38 AM Bug #11668 (Closed): SEGV instead of SystemStackError when using the TracePoint API
- **fixnum_monkey.rb**
~~~
class Fixnum
define_method(:to_s) do |*args|
to_default_s(*args)
end
a... -
03:17 AM Bug #11667 (Closed): Ruby process crashes when TracePoint.new(:raise) is enabled and SystemStackError is raised
- Let's say a `TracePoint.new(:raise)` is enabled. When a method that recursively calls itself, the Ruby process will j...
Also available in: Atom