Activity
From 02/23/2016 to 02/29/2016
02/29/2016
-
11:06 PM Feature #12020: Documenting Ruby memory model
- I understand your point, I would like explore how it could be solved in MRI before relaxing the constant and method r...
-
10:03 PM Feature #12129 (Open): syntactic sugar for dynamic method dispatch `object_expression:method_name_expression(1, 2)`
-
09:34 PM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
- Although I don't understand the Japanese, the linked issue, with a similar syntax to what Shel vacu proposed above, w...
-
08:45 PM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
- I think there have been many other similar proposals. Nobu linked to other
discussions.
From what I have seen, I ... -
06:35 PM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
- I agree that there should be some syntax for doing this, but I don't think this is the proper way to do it.
Person... -
08:40 PM Feature #12125: Proposal: Shorthand operator for Object#method
- I think the `&File->basename` looks confusing since we also have
`->` standalone now.
`object->method` reminds me... -
04:40 PM Feature #12125: Proposal: Shorthand operator for Object#method
- Please don't do this!!! No need to make the language more complex just to solve such small issue!!!
If you want to... -
02:29 PM Feature #12125: Proposal: Shorthand operator for Object#method
- How about this one?
~~~ruby
class UnfoundMethod
def initialize(receiver)
@receiver = receiver
end
... -
02:14 PM Feature #12125: Proposal: Shorthand operator for Object#method
- Yukihiro Matsumoto wrote:
> but I don't think `->` is a good idea.
Other options I can think of are:
* Using `... -
12:58 PM Feature #12125: Proposal: Shorthand operator for Object#method
- For this kind of "conceptual" methods I sometimes define just one-letter shortcuts in core_ext.rb, like `.map(&File.m...
-
12:37 AM Feature #12125: Proposal: Shorthand operator for Object#method
- I like the idea of short hand notation for `Object#method()`, but I don't think `->` is a good idea.
Matz. -
08:33 PM Bug #12128: Strings in `ARGV` are frozen
- I believe that this is actually how ruby may have behaved before the transition into frozen strings
already; at the ... -
07:35 PM Bug #12128: Strings in `ARGV` are frozen
- Be advised that you can say `ARGV.map!(&:+@)` if you really want to modify the elements in-place, but that's probably...
-
06:15 PM Bug #12128: Strings in `ARGV` are frozen
- Sorry, I found that it is indeed a feature that they are frozen. Please reject this.
-
06:08 PM Bug #12128 (Rejected): Strings in `ARGV` are frozen
- It is not clear how the frozen status of strings in `ARGV` are to be described, but regardless of what I try to do (i...
-
08:13 PM Bug #11962: Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
- We are trying to transition Debian unstable to ruby2.3, it would be very helpful to have this applied to the 2.3 branch.
-
07:56 PM Feature #11625 (Assigned): Unlock GVL for SHA1 calculations
- ext/digest should use OpenSSL, which has many optimizations.
But old ruby's ext/digest/sha1 was buggy.
Through r5... -
02:14 PM Bug #12127 (Third Party's Issue): LANG environment is not respected
- Ruby 2.2:
~~~
$ ruby -v
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]
$ ruby -e "puts ''.encoding... -
01:02 PM Bug #12126 (Closed): [PATCH] openssl: accept moving write buffer for write_nonblock
- ~~~
By setting the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag.
This flag was introduced at the same time as
SSL_MODE... -
12:35 PM Feature #12113: Global method inside Delegator causes NameError
- Benoit Daloze wrote:
> Would this patch allow to remove the special case for Kernel dispatch then? Or should it be k... -
10:17 AM Feature #12113: Global method inside Delegator causes NameError
- Nobuyoshi Nakada wrote:
> Benoit Daloze wrote:
> > Would that solve the OP example code since `some_func` is define... -
08:01 AM Feature #12113: Global method inside Delegator causes NameError
- Benoit Daloze wrote:
> Would that solve the OP example code since `some_func` is defined in `Object`, not `Kernel`?
... -
12:22 PM Revision 52bdb3ce (git): fileutils.rb: LowMethods aliases
- * lib/fileutils.rb (LowMethods): make alias methods instead of
eval for each methods.
git-svn-id: svn+ssh://ci.rub... -
08:36 AM Revision efa39c3d (git): fileutils.rb: reduce private
- * lib/fileutils.rb (Verbose, NoWrite, DryRun): make overridden
methods private by each one calls.
git-svn-id: svn+... -
08:36 AM Revision 6b3e5bb0 (git): fileutils.rb: reduce public
- * lib/fileutils.rb (Verbose, NoWrite, DryRun): make extended
methods public by each one calls.
git-svn-id: svn+ssh... -
08:36 AM Revision 13dadf3f (git): fileutils.rb: unify method definition style
- * lib/fileutils.rb: Unify to coding-style for method definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5... -
08:31 AM Misc #12124: Use Automake
- On 02/29/2016 03:17 PM, Eric Wong wrote:
> [email protected] wrote:
>> - I'm afraid automake contaminates thi... -
06:48 AM Misc #12124: Use Automake
- I generally for this, but ...
C.J. Collier wrote:
> It looks like there is a lot of duplicate code that could be ... -
06:21 AM Misc #12124: Use Automake
- [email protected] wrote:
> - I'm afraid automake contaminates this project with GPL.
Not true, automake giv... -
01:14 AM Misc #12124: Use Automake
- - I'm afraid automake contaminates this project with GPL.
- I'm afraid this world is not built on top of GNU. AFAIK... -
07:51 AM Revision c31d06ee (git): array.c: [DOC] remove trailing comma [ci skip]
- * array.c (rb_ary_push_m): [DOC] Remove trailing comma from
Array#push example, as other Array examples doesn't put... -
07:31 AM Revision 199e9106 (git): mkconfig.rb: cross_compiling option
- * common.mk, tool/mkconfig.rb: set cross_compiling option from
Makefile, but not from rbconfig.rb, which is just go... -
06:46 AM Bug #12123 (Feedback): FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
- Could you show failed messages?
- 05:54 AM Revision 06efc1da (git): * 2016-02-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:54 AM Revision f7228ad8 (git): ruby-style.el: add an instruction to load
- [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:09 AM Bug #12078: Segmentation fault in did_you_mean with ruby revision 53608
- r53524 is the revision in the trunk, not 2.3.
And #11928's backport status to 2.3 is still REQUIRED. -
01:55 AM Bug #12120 (Feedback): [target/sh4] error: 'asm' operand requires impossible reload
- What constraints does `DTRACE_PROBE4` macro have?
-
01:02 AM Bug #12103: ruby process hangs while executing regular expression.
- On 02/28/2016 12:22 PM, Eric Wong wrote:
> Keep in mind the equivalent Perl terminates just fine:
Yes. But,
>...
02/28/2016
-
09:43 PM Feature #12125: Proposal: Shorthand operator for Object#method
- > The & operator lets one pass a #call-able object as block.
I meant `#to_proc`-able objects, sorry for the confus... -
09:39 PM Feature #12125 (Open): Proposal: Shorthand operator for Object#method
- Hello,
The `&` operator lets one pass a `#call`-able object as block.
Really useful feature, but at the moment,... -
02:14 PM Revision 0927f830 (git): configure.in: fold summary
- * configure.in: fold long lines in configuration summary
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53966 b2d... -
02:14 PM Revision 7b91046b (git): configure.in: summary
- * configure.in: Add summary to end of configure output.
[Fix GH-1277]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
01:54 PM Revision 1a9bc87a (git): configure.in: no leading spaces
- * configure.in (cflags, cppflags): remove unnecessary leading
spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
01:09 PM Bug #12078: Segmentation fault in did_you_mean with ruby revision 53608
- I also got a similar bug with Ruby 2.3.0p7 revision 53608. As the poster writes, this version is later than revision ...
-
11:41 AM Bug #12121: 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
- 問題が起きたライブラリは dotenv というライブラリです。
https://github.com/bkeepers/dotenv
Module.constants の戻り値として `[Substitutions::Va... -
11:07 AM Bug #12121 (Feedback): 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
- ちなみにどういうライブラリでどういう問題が起きたのでしょうか。
-
08:52 AM Bug #12121 (Rejected): 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
- `Module#constants`に順序の保証はありません。
- 11:28 AM Revision 1b34bf19 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:28 AM Revision 018f0812 (git): * lib/drb/drb.rb (error_print): Add verbose failure messages and
- avoid infamous DRb::DRbConnError. [Feature #12101]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53962 b2dd03c... -
11:28 AM Feature #12101 (Closed): Add verbose failure messages and avoid infamous DRb::DRbConnError
- Applied in changeset r53962.
----------
* lib/drb/drb.rb (error_print): Add verbose failure messages and
avoid in... -
09:50 AM Feature #12113: Global method inside Delegator causes NameError
- Would that solve the OP example code since `some_func` is defined in `Object`, not `Kernel`?
Using `Kernel.method`... -
05:17 AM Feature #12113: Global method inside Delegator causes NameError
- It's the current spec that delegator cannot call private method of the target, because it was impossible to tell it w...
-
08:24 AM Misc #12124 (Closed): Use Automake
- It looks like there is a lot of duplicate code that could be removed by making use of automake.
Are there any reas... -
04:41 AM Revision 4d9f5482 (git): NoMethodError#private_call?
- * error.c (nometh_err_initialize): add private_call? parameter.
* error.c (nometh_err_private_call_p): add private_ca... -
04:40 AM Feature #12043 (Closed): Add a method to NoMethodError that tells if private methods are callable at the time of
- Applied in changeset r53961.
----------
NoMethodError#private_call?
* error.c (nometh_err_initialize): add private_... -
03:31 AM Bug #12103: ruby process hangs while executing regular expression.
- [email protected] wrote:
> Status changed from Open to Rejected
>
> I simplified this as follows:
> regex ... -
03:00 AM Bug #12123 (Closed): FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
- when building ruby, 'test_cp_r_symlink' fail on make test-all
-
01:39 AM Revision 74e5e618 (git): test_exception.rb: split test_name_error_info
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:32 AM Feature #12110: Create a method to avoid vacuous truth?
- Martin Dürst wrote:
> Andrew Vit wrote:
>
> > This is still surprising to me, it looks like a contradiction:
> >... -
12:51 AM Feature #12110: Create a method to avoid vacuous truth?
- Andrew Vit wrote:
> This is still surprising to me, it looks like a contradiction:
>
> ```ruby
> [].any? #=> f... - 01:20 AM Revision 60c8bfb3 (git): * 2016-02-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:20 AM Revision 491c44e9 (git): Clarify set intersection and union documentation
- * array.c (rb_ary_and): clarify that set intersection returns the
unique elements common to both arrays.
* array.c...
02/27/2016
-
09:21 PM Misc #12122 (Closed): Array Documentation (set intersection, union)
- **Set Intersection**
* Most know what intersection means, but saying the operation excludes duplicates could be mi... -
07:34 PM Bug #12121 (Closed): 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
- Ruby 2.4.0-dev で、Ruby 2.3.0 以前と変わっている振る舞いについてです。
自身のモジュール定義の前に、異なる名前空間で同名の定数が定義されていると
Module.constants の結果の並びに影響を... -
02:23 PM Bug #12120 (Closed): [target/sh4] error: 'asm' operand requires impossible reload
- Hello!
ruby2.3 fails to build from source on sh4 (Hitachi/Renesas SuperH), the build fails with [1]:
```
gcc -... -
01:59 PM Feature #12110: Create a method to avoid vacuous truth?
- Waldyr de Souza wrote:
> I often find myself running into unexpected results when using #all? for example
>
> ```... -
01:53 PM Feature #12119 (Closed): next_prime for lib/prime.rb
- cf. https://github.com/ruby/ruby/pull/1272
## Rationale
To me, integer-without-limit is one of the greatest fe... -
12:07 PM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
- Update: It seems the suggested patch by Andreas Schwab does not help on ruby2.3 anymore. So, for ruby2.3, something d...
-
09:37 AM Bug #12118 (Closed): ruby2.3: Segfaults on m68k due to improper stack allocation
- Hello!
On Motorola 680x0, ruby2.2 and ruby2.3 segfault when running the Ruby interpretor:
./miniruby -I./lib -I... -
09:11 AM Bug #12103 (Rejected): ruby process hangs while executing regular expression.
- I simplified this as follows:
regex = /\(a+( ?a*)*\)/
detail = "(aaaa aaaaaaa aaaaa aaaaaaaaa aaaaa"
It still hang... -
08:06 AM Revision c4e69641 (git): * enc/unicode/case-folding.rb, casefold.h: Reducing size of TitleCase
- table by eliminating duplicates.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53957 b... -
05:10 AM Revision bafa7f90 (git): test/unit: refine output in job_status=normal
- * test/lib/test/unit.rb (Test::Unit::StatusLine#jobs_status): show
status of only changed woker, not to show same l... -
04:16 AM Revision de121968 (git): test/unit: fix for the test
- * test/lib/test/unit.rb (_run_parallel): make sure retrying
message is a separate line.
* test/lib/test/unit.rb (_... -
02:21 AM Feature #12085: [PATCH] openssl: document `exception: false' for *_nonblock
- [email protected] wrote:
> I do not plan to commit the test change since OpenSSL behavior
> may be improved in ... -
02:01 AM Revision 9c55cb2e (git): test/unit: refine output in verbose mode
- * test/lib/test/unit.rb (Test::Unit::StatusLine#_prepare_run): add
StatusLine::Output even if job_status is not rep... -
01:56 AM Revision fea80948 (git): test/unit: add --jobs-status=none
- * test/lib/test/unit.rb (Test::Unit::StatusLine#setup_options):
add :none to --jobs-status option.
git-svn-id: svn... - 01:56 AM Revision 97d90a7e (git): * 2016-02-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:56 AM Revision 0783358d (git): test/unit: no newlines to be chomped
- * test/lib/test/unit.rb (Test::Unit::StatusLine::Output#print):
matched part never contains a newline to be chomped...
02/26/2016
-
10:20 PM Feature #11666: IPAddr#private?
- IPv6 has a private range too: d00::/8 (RFC 4193)
Also, there are more IP ranges that have been reserved for specia... -
08:49 PM Bug #12117 (Closed): UDPSocket.new crash on win32 with "rb_update_max_fd: invalid fd (xxx) given"
- OS is Windows 7. The following command line reproduces the issue:
$ ruby22 -rsocket -e "UDPSocket.new(Socket::AF_I... -
06:04 PM Feature #12116 (Open): `Fixnum#divmod`, `Bignum#divmod` with multiple arguments
- Sometimes, I need to apply `divmod` repeatedly. For example, in order to convert a number expressing seconds into app...
-
06:03 PM Feature #12115: Add Symbol#call to allow to_proc shorthand with arguments
- Edited to remove `**kwargs` argument I added, which would require checking if the called method supports them.
-
05:51 PM Feature #12115 (Open): Add Symbol#call to allow to_proc shorthand with arguments
- I am a great fan of the `Symbol#to_proc` shorthand when mapping or reducing collections:
```ruby
[1,2,16].map(&:t... -
02:09 PM Bug #12112: Resolv.getname with IPv6 noop
- I'm seeing this issue on 2.0.0, 2.2.1, 2.2.2, but not 1.9.3 and 2.2.3 (I suspect all versions between 2.0.0 and 2.2.3...
-
02:00 PM Feature #12114: $VERBOSE = true is being ignored
- Thus is a spec now.
That warning is at parsing, but `BEGIN` blocks are executed after it.
It may be possible by e... -
11:18 AM Feature #12114 (Open): $VERBOSE = true is being ignored
- This programm correctly complains about "assigned but unused variable - p"
~~~ruby
#!/usr/bin/ruby -w
p=1
~~~
... -
12:32 PM Misc #12004: Code of Conduct
- Given this issue has been closed by Matz, is it possible to block further posts from all non-admins? Leaving it as a ...
-
07:26 AM Misc #12004: Code of Conduct
- I think that this https://github.com/ContributorCovenant/contributor_covenant/issues/278 and how Coraline will reply ...
-
10:00 AM Feature #12043: Add a method to NoMethodError that tells if private methods are callable at the time of
- Nobuyoshi Nakada wrote:
> This feature is **only** for "did_you_mean" gem, so I think that any name is OK, including... -
09:31 AM Feature #12075: some container#nonempty?
- Nobuyoshi Nakada wrote:
> https://github.com/ruby/ruby/compare/trunk...nobu:feature/12075-not
I like it! -
07:25 AM Feature #12075: some container#nonempty?
- https://github.com/ruby/ruby/compare/trunk...nobu:feature/12075-not
-
05:22 AM Feature #12075: some container#nonempty?
- Nobuyoshi Nakada wrote:
> First, along this line, we'll need negative forms for all predicate methods.
>
> And I ... -
04:40 AM Feature #12075: some container#nonempty?
- Or
```ruby
module Kernel
def !(*a)
a.empty? ? super() : !__send__(*a)
end
end
ary = nil; ary&.!:... -
04:33 AM Feature #12075: some container#nonempty?
- First, along this line, we'll need negative forms for all predicate methods.
And I think `nil.empty?` makes no sen... -
09:17 AM Feature #12113 (Open): Global method inside Delegator causes NameError
- ~~~ruby
def some_func
puts '12'
end
class Klass < Delegator
def initialize(obj)
@obj = obj
end
... -
07:18 AM Revision b3177141 (git): README.md: fix linked file name [ci skip]
- * README.md: fix linked file name, COPYING does not a suffix.
[Fix GH-1265]
* README.ja.md: update a link too.
gi... -
05:41 AM Revision 60dad06d (git): numeric.c: wrong type step should raise TypeError
- * numeric.c (num_step_scan_args): comparison String with Numeric
should raise TypeError. it is an invalid type, but... -
05:40 AM Bug #9810 (Closed): Numeric#step behavior with mixed Float, String arguments inconsistent with documentation
- Applied in changeset r53949.
----------
numeric.c: wrong type step should raise TypeError
* numeric.c (num_step_sca... -
01:01 AM Bug #9810: Numeric#step behavior with mixed Float, String arguments inconsistent with documentation
- [Developers' meeting log][1]
> This issue is because of invalid type, not mismatch the number of arguments.
> Compa... -
05:40 AM Revision a12e8fd2 (git): doc: editor local variables [ci skip]
- * doc/extension.rdoc, doc/extension.ja.rdoc: add editor local
variables, with commenting out by :enddoc: directives... -
03:26 AM Revision d7c46522 (git): * doc/extension.ja.rdoc: removed rendering error caused by editor specific
- configuration on http://docs.ruby-lang.org/en/trunk/extension_rdoc.html .
[Bug #12111][ruby-core:73990]
git-svn-id... -
03:26 AM Bug #12111 (Closed): [DOC] Small fix for extension.roc / extension.ja.rdoc
- Applied in changeset r53947.
----------
* doc/extension.ja.rdoc: removed rendering error caused by editor specific
... -
02:25 AM Revision 0676ce87 (git): * lib/xmlrpc.rb: Removed references to NQXML. It's obsoleted parser.
- [fix GH-1245][ruby-core:59593][Feature #9371]
* lib/xmlrpc/config.rb: ditto.
* lib/xmlrpc/parser.rb: ditto.
git-svn-... -
02:24 AM Feature #9371 (Closed): Remove NQXML from xmlrpc/parser
- Applied in changeset r53946.
----------
* lib/xmlrpc.rb: Removed references to NQXML. It's obsoleted parser.
[fix ... -
02:11 AM Revision 379c3b8b (git): * lib/tmpdir.rb: Unify to coding-style for method definition.
- [fix GH-1252]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 AM Revision 49f17cc6 (git): * README.md: update markdown syntax for anchor tag.
- [fix GH-1265] Patch by @lukBarros
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53944 b2dd03c8-39d4-4d8f-98ff-82... -
01:57 AM Revision 966e020a (git): * lib/irb.rb: avoid to needless truncation when using back_trace_limit option.
- [fix GH-1205][ruby-core:72773][Bug #11969]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53943 b2dd03c8-39d4-4d8... -
01:57 AM Bug #11969 (Closed): [PATCH] IRB: Final newline missing in truncated backtraces
- Applied in changeset r53943.
----------
* lib/irb.rb: avoid to needless truncation when using back_trace_limit optio...
02/25/2016
- 11:23 PM Revision 7a35ffec (git): * 2016-02-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 PM Bug #12112 (Closed): Resolv.getname with IPv6 noop
- Currently reverse resolving IPv6 addresses using stdlib Resolv does not work.
### How reproducible
always
### ... -
11:23 PM Revision 41020311 (git): Reduce system calls by activating the `did_you_mean` gem.
- Activating the gem puts the gem on the load path, where simply requiring
the file will search every gem that's instal... -
10:39 PM Feature #12110: Create a method to avoid vacuous truth?
- Robert A. Heiler wrote:
> Here is the biggest problem:
>
> - What name would you give it? :)
I seem to recall... -
09:29 PM Feature #12110: Create a method to avoid vacuous truth?
- Here is the biggest problem:
- What name would you give it? :) -
04:30 PM Feature #12110 (Open): Create a method to avoid vacuous truth?
- I often find myself running into unexpected results when using `#all?` for example
```ruby
[].all? { |e| false } ... -
09:44 PM Bug #11969: [PATCH] IRB: Final newline missing in truncated backtraces
- Ping again...
-
07:17 PM Bug #12111 (Closed): [DOC] Small fix for extension.roc / extension.ja.rdoc
- The patch removes the local variables list for Emacs,
since they show up in the rendered page; see the very end
of ... -
04:37 PM Feature #12075: some container#nonempty?
- I like this idea a lot, Tsuyoshi. I'm +1 for introducing nil.empty? as returning true.
-
05:12 AM Feature #12075: some container#nonempty?
- What about introducing `NilClass#empty?`:
~~~RUBY
nil.empty? # => true
~~~
The code in question can be writte... -
02:47 AM Feature #12075: some container#nonempty?
- I have just learned that zsh(1) calls this concept being "full". http://zsh.sourceforge.net/Doc/Release/Expansion.htm...
-
12:36 PM Revision 5fa5b50e (git): eval_error.c: constify
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:36 PM Revision 37d6a4dd (git): eval_error.c: remove warn_printf
- * eval_error.c (warn_printf): remove.
* eval_error.c (error_pos_str): return error position string,
split from err... - 11:04 AM Revision 4ef48a78 (git): merge revision(s) 53790,53844: [Backport #12054]
- * lib/logger.rb: Remove block from Logger.add as it's not needed
patch provided by Daniel Lobato Garcテュ [fi... -
11:03 AM Bug #12054: Remove block from Logger.add as it's not needed
- ruby_2_1 r53938 merged revision(s) 53790,53844.
- 11:00 AM Revision b58ee667 (git): merge revision(s) 53784: [Backport #11495]
- * re.c: Remove deprecated kcode argument from Regexp.new and compile
patch provided by Dylan Pulliam [Bug #... -
11:00 AM Bug #11495: [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
- ruby_2_1 r53937 merged revision(s) 53784.
- 10:58 AM Revision e41ee7cf (git): merge revision(s) 53677: [Backport #11877]
- * ext/socket/socket.c (sock_gethostname): support unlimited size
hostname.
git-svn-id: svn+ssh://ci.ruby-... -
10:57 AM Bug #11877: Socket.gethostname will fail when the hostname length == RUBY_MAX_HOST_NAME_LEN
- ruby_2_1 r53936 merged revision(s) 53677.
- 10:29 AM Revision abe1b00d (git): merge revision(s) 53318: [Backport #11489]
- * lib/xmlrpc/client.rb: Support SSL options in async methods of
XMLRPC::Client.
[Bug #11489]
... -
10:29 AM Bug #11489: XMLRPC client cannot alter SSL options for _async calls
- ruby_2_1 r53935 merged revision(s) 53318.
- 10:27 AM Revision ca8b2d26 (git): merge revision(s) 53609: [Backport #12011]
- * marshal.c (r_object0): honor Marshal.load post proc
value for TYPE_LINK. by Hiroshi Nakamura <nahi@ruby-... -
10:26 AM Bug #12011: honor Marshal.load post proc value for TYPE_LINK
- ruby_2_1 r53934 merged revision(s) 53609.
- 10:23 AM Revision 63b34ade (git): * version.h: commit miss
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@53933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:21 AM Bug #11958: TCPSocket.getsockopt().bool raises a TypeError on windows
- ruby_2_1 r53931 merged revision(s) 53561.
- 10:19 AM Revision 84f768b4 (git): * io.c (io_read_nonblock): decrement argc before calling io_readpartical() if
- kwarg is eaten in this function. fixed a test failure introduced at r53926.
see [Backport #11885]
git-svn-id: sv... - 10:16 AM Revision e86d271d (git): merge revision(s) 53561: [Backport #11958]
- * ext/socket/option.c (sockopt_bool): relax boolean size to be one
too not only sizeof(int). Winsock getso... -
10:04 AM Revision 7feb182a (git): * enc/unicode/case-folding.rb: Adding possibility for debugging output
- for TitleCase table in casefold.h.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53930... - 09:58 AM Revision 78400580 (git): merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]
- * process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter.
... -
09:57 AM Bug #11898: backport r53346-r53349
- ruby_2_1 r53929 merged revision(s) 53346,53347,53348,53349,53391,53928.
- 09:54 AM Revision 92e0377e (git): * test/ruby/test_process.rb (test_execopts_open_chdir_m17n_path): it's originally for Windows. should not ignore on the platform.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:23 AM Revision cfdb3f5c (git): merge revision(s) 53435: [Backport #11945]
- * ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_... -
09:22 AM Bug #11945: [PATCH] stringio: binmode sets encoding to ASCII-8BIT
- ruby_2_1 r53927 merged revision(s) 53435.
- 09:16 AM Revision 2b0014ca (git): merge revision(s) 53329: [Backport #11885]
- * io.c (io_getpartial): remove unused kwarg from template
* test/ruby/test_io.rb (test_readpartial_bad_args)... -
09:16 AM Bug #11885: [PATCH] IO#readpartial rejects bad args
- ruby_2_1 r53926 merged revision(s) 53329.
- 09:00 AM Revision 9c0d8283 (git): merge revision(s) 53299: [Backport #11870]
- fix common misspelling [ci skip]
compile.c, cont.c, doc, man: fix common misspelling. [Bug #11870]
git-svn-id... -
08:59 AM Bug #11870: Eradication of typical misspellings
- ruby_2_1 r53925 merged revision(s) 53299.
- 08:50 AM Revision af3ab0bb (git): merge revision(s) 53259: [Backport #11862]
- * ext/socket/init.c (rsock_init_sock): reject reserved FDs
[ruby-core:72445] [Bug #11862]
git-svn-id: svn... -
08:50 AM Bug #11862: [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs
- ruby_2_1 r53924 merged revision(s) 53259.
- 08:45 AM Revision c9eefd56 (git): merge revision(s) 53231,53244: [Backport #11854]
- * ext/socket/init.c (rsock_init_sock): check FD after validating
* test/socket/test_basicsocket.rb (test_for... -
08:44 AM Bug #11854: Socket.for_fd(-1) causes segmentaion fault on mingw32.
- ruby_2_1 r53923 merged revision(s) 53231,53244.
- 08:34 AM Revision 734ac672 (git): merge revision(s) 53023: [Backport #11313]
- * cont.c: fix a double word typo.
[Bug #11313][ruby-core:69749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
08:33 AM Bug #11313: Fixed a couple of typos
- ruby_2_1 r53922 merged revision(s) 53023.
- 08:33 AM Revision d849db29 (git): merge revision(s) 53022: [Backport #11764]
- * ext/tk/lib/multi-tk.rb: fix typos.
[Bug #11764][ruby-core:71800]
git-svn-id: svn+ssh://ci.ruby-lang.org... -
08:32 AM Bug #11764: ext/tk/lib/multi-tk.rb: fix three typos.
- ruby_2_1 r53921 merged revision(s) 53022.
- 07:48 AM Revision bf524be1 (git): merge revision(s) 53167: [Backport #11825]
- * re.c (reg_names_iter): should consider encoding of regexp.
[ruby-core:72185] [Bug #11825]
git-svn-id: s... -
07:47 AM Bug #11825: MatchData#names returns ASCII-8BIT
- ruby_2_1 r53920 merged revision(s) 53167.
-
07:22 AM Revision aa40518b (git): eval_error.c: error position format
- * eval_error.c (error_print): use same error position format when
no backtrace too.
git-svn-id: svn+ssh://ci.ruby-... -
07:01 AM Bug #12109 (Rejected): Exception during class load can cause partially-loaded class
- I noticed this bug using Rails, which lazy-loads classes (via ActiveSupport.)
Here's a minimal test case:
~~~ru... -
06:42 AM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
- Aleksandrs Ļedovskis wrote:
> Can someone clarify, what state is this feature in? Do we still need to get Matz's app... - 04:42 AM Revision 06751e43 (git): * 2016-02-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:42 AM Revision 1d581843 (git): eval_error.c: colon in message
- * eval_error.c (error_pos): include a clone after the position.
* eval_error.c (error_print, error_handle): do not p... -
01:58 AM Bug #12072 (Assigned): SortedSet#superset? raises NoMethodError if rbtree is installed
- Same code doesn't work on Ruby 2.3.0, because the cause of this bug is [r52586](https://github.com/ruby/ruby/commit/d...
02/24/2016
-
05:52 PM Feature #11816: Partial safe navigation operator
- I prefer Marc's proposal here: https://bugs.ruby-lang.org/issues/11816#note-6. I think that's the much more natural t...
-
05:18 PM Bug #12108 (Rejected): Splitting an empty string returns an empty array
-
04:21 PM Bug #12108: Splitting an empty string returns an empty array
- Sorry, it turns out that this was a feature (http://ruby-doc.org/core-2.3.0/String.html#method-i-split). I didn't kno...
-
03:56 PM Bug #12108 (Rejected): Splitting an empty string returns an empty array
- Splitting an empty string returns an empty array.
~~~RUBY
"".split("") # => []
"".split("a") # => []
"".split(/... -
03:00 PM Bug #12078 (Closed): Segmentation fault in did_you_mean with ruby revision 53608
-
02:53 PM Bug #12107 (Closed): Segmentation fault at 0x000000000000b8 - did_you_mean
-
11:51 AM Bug #12107 (Closed): Segmentation fault at 0x000000000000b8 - did_you_mean
- Today I have encounter a bug Accidentally which caused Segmentation fault. I'm using Rails 4.2.5.1 and
~~~
ruby -... - 01:32 PM Revision 35f40f53 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:32 PM Revision f1f48e61 (git): * include/ruby/oniguruma.h: Rearranging flag assignments and making
- space for titlecase indices; adding additional macros to add or
extract titlecase index; adding comments for better... -
12:30 PM Revision 169b867f (git): * random.c (limited_rand): Add a specialized path for the limit fits in 32 bit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:21 AM Revision d4819da6 (git): parse without $.
- * io.c (rb_io_gets_internal): read one line from an IO without
setting ARGF.lineno.
* parse.y (lex_io_gets): use r... -
04:33 AM Bug #12106: Behavior of double splatting of hashes with non symbol key is different according to splatted hash position
- Small correction: for the 2nd, 3rd and 4th examples on each code block the error actually is "TypeError: wrong argume...
-
04:29 AM Bug #12106 (Closed): Behavior of double splatting of hashes with non symbol key is different according to splatted hash position
- When doing double splatting with hash with non symbols keys you get different behaviors according to the position of ...
-
02:42 AM Revision 43f7eacd (git): parse.y: hide compile_option
- * parse.y (parser_set_compile_option_flag): hide compile_option
hash from ObjectSpace.
git-svn-id: svn+ssh://ci.ru... -
02:38 AM Revision 0cd34e96 (git): vm_method.c: for hidden object
- * vm_method.c (rb_method_basic_definition_p): methods of hidden
objects cannot be overridden, return TRUE.
git-svn... -
02:20 AM Revision 53ec85b5 (git): numeric.c: micro optimizations
- * numeric.c (flo_to_s, rb_fix2str): use rb_usascii_str_new instead
of rb_usascii_str_new_cstr, when the length can ... -
01:01 AM Bug #12105: JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value
- Not sure if this is an active support bug or a ruby bug. if i try to create the hash regularly, it works fine:
[19... -
12:54 AM Bug #12105 (Third Party's Issue): JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value
- As the title states, JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value. This used ...
02/23/2016
-
11:27 PM Bug #11838: Please backport r52883, r52884, r53046, r53198
- usa san,
Please note that r53198 requires #11843 (r53202) too. -
11:25 PM Revision 782b9a89 (git): merge revision(s) 53202: [Backport #11843]
- * enc/windows_1250.c: Should not use C++ style comments (C99 feature).
[Bug #11843]
git-svn-id: svn+ssh:/... -
11:25 PM Bug #11843: enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used
- Backported into `ruby_2_2` at r53909.
-
11:17 PM Bug #11843: enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used
- ruby_2_2 に r53198 をバックポートしたため、これも必要になっていました。
- 04:51 PM Revision 7c14876b (git): * 2016-02-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:51 PM Revision c8b90210 (git): * test/ruby/test_exception.rb: fix bad spawn argument (multiple
- args in single) in test_thread_signal_location.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53907 b2dd03c8-39d... -
01:29 PM Bug #12098: Accessing a two level hash with invalid keys ignores the right side of expression
- Nobuyoshi Nakada wrote:
> Fixed by r53485.
Thank you! I should have tested against master. Sorry about that :) -
12:53 PM Revision 1cc579cb (git): * enc/unicode/case-folding.rb, casefold.h: Outputting actual titlecase
- data (new table, with indices from other tables).
* enc/unicode.c: Ignoring titlecase data indices for the moment.
... -
10:26 AM Bug #12104: Procs keyword arguments affect value of previous argument
- Looking deeper now it seems to be that this is because the first argument is an Array and that when that happens it's...
-
10:19 AM Bug #12104: Procs keyword arguments affect value of previous argument
- This seems to also happen when trying to use a options Hash as the second argument:
~~~
2.3.0 :009 > p = Proc.new... -
10:15 AM Bug #12104 (Rejected): Procs keyword arguments affect value of previous argument
- This seems like a bug to me:
~~~
2.3.0 :001 > p = Proc.new {|nodes, match_array: false| puts nodes.inspect }
=>... -
09:46 AM Bug #12103 (Rejected): ruby process hangs while executing regular expression.
- The following code hangs
~~~
regex = /(\((\w+([\p{Punct}\s]{,3}\w*)*)\))/i
detail = "(said companies being fictito... -
07:59 AM Revision 3c0bb8d6 (git): iseq.h: remove trailing comma
- * iseq.h (iseq_mark_ary_index): get rid of trailing comma and name
the magic number for iseq_mark_ary_create.
git-... -
06:21 AM Revision 8aa8847b (git): * enc/unicode/case-folding.rb, casefold.h: Reading casing data from
- SpecialCasing.txt.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53904 b2dd03c8-39d4-4... -
02:03 AM Revision 0a0d4525 (git): Bump up timeout for slower-starting implementations/platforms.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:58 AM Feature #11262: Make more objects behave like "Functions"
- Fix link to the Clojure docs after they changed their URI structure.
-
12:55 AM Feature #11262: Make more objects behave like "Functions"
- Victor Shepelev wrote:
> For me, this thing looks like some kind of over-simplification (leading to ambiguity).
> B...
Also available in: Atom