Project

General

Profile

Activity

From 04/18/2013 to 04/24/2013

04/24/2013

10:12 PM Revision 017f0ffe (git): * array.c: Improve rdoc for eql?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
09:35 PM Bug #8320 (Third Party's Issue): Ruby interpreter crashes when running pcaprub
Here's the code (taken from examples) that caused the crash:
require 'rubygems'
require 'pcaprub'
capture = PCAPRUB::Pcap.open_live('eth0', 65535, true, 0)
capture.setfilter('icmp')
capture.each do |packet|
puts capture.dump(...
crondaemon (Dario Lombardo)
08:58 PM Feature #8237: Logical method chaining via inferred receiver
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> So, how the "trying" approach would be implemented?
I overlooked the earlier null pattern discussion here. Apologies. I read Avdi's text months
ago, and I remember Avdi sayin, that null ...
Anonymous
07:33 PM Feature #8237: Logical method chaining via inferred receiver
phluid61 (Matthew Kerwin) wrote:
> I find myself drifting more to the -1 side for this feature.
> ...
Apologies for replying to myself, but I've just convinced myself against this whole proposal. In the above code I originally had the...
phluid61 (Matthew Kerwin)
05:53 PM Feature #8237: Logical method chaining via inferred receiver
On 24/04/13 01:10, wardrop (Tom Wardrop) wrote:
>
> Issue #8237 has been updated by wardrop (Tom Wardrop).
>
>
> Law of Demeter is blurry in Ruby. In Ruby, almost everything is a
> method call. Technically, (({5 + 5 + 5})) i...
regularfry (Alex Young)
12:10 PM Feature #8237: Logical method chaining via inferred receiver
wardrop (Tom Wardrop) wrote:
> =begin
> ...
I don't like the "last object to receive a method" idea. For one you'd have to refine it to "the last object receive a method in the current scope", possibly with a "but not in the current e...
phluid61 (Matthew Kerwin)
09:10 AM Feature #8237: Logical method chaining via inferred receiver
=begin
Law of Demeter is blurry in Ruby. In Ruby, almost everything is a method call. Technically, (({5 + 5 + 5})) is a violation of the Law of Demeter if it's to be taken literally. The fact that Ruby also uses plain-old methods as acce...
wardrop (Tom Wardrop)
08:21 PM Feature #8295: Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
metanest (Makoto Kishimoto) wrote:
> > IEEE754 の環境において BigDecimal(0.1, nil) で何が与えられることを期待していますか?
> ...
なるほど〜。理屈はわかりました。Rational とやり方は同じなので難しくありませんね。
やってみます。
mrkn (Kenta Murata)
08:16 PM Feature #8295 (Assigned): Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
mrkn (Kenta Murata)
06:31 PM Feature #8295: Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
> IEEE754 の環境において BigDecimal(0.1, nil) で何が与えられることを期待していますか?
```
#=> #<BigDecimal:8011820c8,'0.1000000000 0000000555 1115123125 7827021181 5834045410 15625E0',63(72)>
```
を期待しているのですが、やはりちょっと無茶ですかねぇ。
metanest (Makoto Kishimoto)
06:24 PM Bug #8313: rubygem 2.0 can't communicate with remote sources http://rubygems.org/
With wireshark I test and capture all traffic with the http://production.s3.rubygems.org server. The firewalls aren't the problem. All packets send/receive with success. And the last TCP/HTTP exchange send a result "HTTP/1.1 200 OK", siz... legerf (Frederic Leger)
04:11 AM Bug #8313: rubygem 2.0 can't communicate with remote sources http://rubygems.org/
>$ sudo gem list --remote -V --backtrace
Password:
*** REMOTE GEMS ***
GET http://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
connection reset after 1 request...
legerf (Frederic Leger)
12:21 AM Bug #8313 (Third Party's Issue): rubygem 2.0 can't communicate with remote sources http://rubygems.org/
I try to use Ruby 2.0 on my MAC OSX Mountain Lion with macports. The "sudo port install ruby2.0" and "sudo port select --set ruby ruby2.0" was success. But when I try to install gem package I have these errors:
>$ sudo gem list -r --deb...
legerf (Frederic Leger)
05:23 PM Revision 2667cb2d (git): configure.in: RUBY_RM_RECURSIVE
* configure.in (RUBY_RM_RECURSIVE): this hack is needed by only
autoconf 2.69 or earlier on darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:22 PM Revision 096d5273 (git): tracer.rb: File.readlines
* lib/tracer.rb (get_line): simply read by File.readlines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:21 PM Revision 181a4ea8 (git): debug.rb: Fix debug listing
* lib/debug.rb (script_lines): get source lines from SCRIPT_LINES__ or
read from the file.
* lib/debug.rb (display_list): use script_lines instead of recursion.
[Bug #8318]
* lib/debug.rb (line_at): use script_lines same as display_l...
nobu (Nobuyoshi Nakada)
04:19 PM Revision 7dd8c1f2 (git): * 2013-04-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:19 PM Revision 9e97f6ca (git): debug.rb: Fix debug listing
* lib/debug.rb (display_list): Fix debug listing when called from the
same file it has been required. patch by Dario Bertini <berdario AT
gmail.com> [Bug #8318] [fix GH-280]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40450 ...
nobu (Nobuyoshi Nakada)
04:05 PM Bug #8299: Minor error in float parsing
I found the issue is due to the difference of the floating point precision.
Here is a patch for this issue:
diff --git a/numeric.c b/numeric.c.new
index 97ba104..c548c0f 100644
--- a/numeric.c
+++ b/numeric.c.new...
phasis68 (Heesob Park)
03:43 PM Revision 7cc4acd4 (git): merge revision(s) 40441:
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:42 PM Revision 917f13a9 (git): merge revision(s) 40440:
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:40 PM Revision 02d1ebe3 (git): merge revision(s) 40437:
* numeric.c: Fix wiki link on Float imprecision in overview, patched
by Makoto Kishimoto [Bug #8304] [ruby-dev:47280]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:40 PM Revision 8a4fa092 (git): merge revision(s) 40435:
Typo by @windwiny [Fixes GH-295]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:39 PM Revision 072ac9a2 (git): merge revision(s) 40434:
* string.c: Document String#setbyte return value by @gjmurakami-10gen
[Fixes GH-294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:38 PM Revision 1914720c (git): merge revision(s) 40431:
* ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:58 PM Bug #8316 (Assigned): Can't pass hash to first positional argument; hash interpreted as keyword arguments
nobu (Nobuyoshi Nakada)
07:52 AM Bug #8316: Can't pass hash to first positional argument; hash interpreted as keyword arguments
TylerRick (Tyler Rick) wrote:
> I'm able to pass any other type of object to my first argument:
> ...
Additionally, calling foo({opt:1}) throws ArgumentError: wrong number of arguments (0 for 1)
This issue can be worked around by ca...
phluid61 (Matthew Kerwin)
07:44 AM Bug #8316: Can't pass hash to first positional argument; hash interpreted as keyword arguments
=begin
http://jp.rubyist.net/magazine/?Ruby200SpecialEn-kwarg#f01 said:
Be careful when passing hashes to methods with both variable length argument lists and keyword arguments.
but in this example, the argument list is ((*not*))...
TylerRick (Tyler Rick)
07:41 AM Bug #8316 (Closed): Can't pass hash to first positional argument; hash interpreted as keyword arguments
I'm able to pass any other type of object to my first argument:
def foo(hash, opt: true)
puts "hash: #{hash}, opt: #{opt.inspect}"
end

foo 'a' # => hash: a, opt: true
foo [{a:1}] # => hash: [{...
TylerRick (Tyler Rick)
02:57 PM Bug #8315: mkmf does not include include paths from pkg_config anymore
ups i assiged it to the wrong nobu, can someone change that? Hanmac (Hans Mackowiak)
05:51 AM Bug #8315 (Closed): mkmf does not include include paths from pkg_config anymore
#6504 does that, for cpp files `$CFLAGS` is not used anymore, so the problems are the include paths:
* there is no `$CXXFLAGS` global variable defined
* pkg_config does not add the includes paths to the correct `*FLAGS`
so my ge...
Hanmac (Hans Mackowiak)
02:08 PM Bug #8304 (Closed): follow RDP floats_imprecise URL changed (patch)
This issue was solved with changeset r40437.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c: Fix wiki link on Float imprecision in overview, pa...
zzak (zzak _)
01:22 PM Revision 66ad210d (git): describe the reason to check mblen().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:52 PM Revision 4ddce7a6 (git): * configure.in: Check mblen().
* eval_intern.h (CharNext): Don't use mblen() is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:50 PM Revision 2265bdfa (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:44 PM Bug #8318 (Closed): Fix debug listing when called from the same file the debug module has been required from
=begin
From ((<GitHub#280|URL:https://github.com/ruby/ruby/pull/280>))
with this minimal ruby code
require 'debug'
puts
when trying to list the code, it'll fail like so:
(rdb:1) l
[-3, 6] in script.rb
No sourcefil...
zzak (zzak _)
12:41 PM Revision 83c10e89 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:40 PM Feature #8317 (Closed): URI: no_proxy with whitespaces and leading dots.
From [GitHub#285](https://github.com/ruby/ruby/pull/285)
The previous implementation wouldn't allow for white-spaces nor a leading dot
in the `no_proxy` list. The latter is described in the wget documentation as a valid case.
By b...
zzak (zzak _)
08:37 AM Bug #8312: Fix weird performance of Hash#shift
+1 sam.saffron (Sam Saffron)
12:21 AM Bug #8312: Fix weird performance of Hash#shift
Other way to fix: add st_shift method, which shifts first element in one step.
Patch attached.
funny_falcon (Yura Sokolov)
08:16 AM Bug #8314 (Closed): Segmentation fault
Duplicate of #8100. This will be fixed in the next patchlevel of 2.0.0 Anonymous
04:56 AM Bug #8314 (Closed): Segmentation fault
Occasionally happens on Travis CI with 2.0.0p0
By occasionally i mean that same code sometimes works sometimes does not.
Full backtrace here - https://travis-ci.org/espresso/rear/jobs/6530839
Never happens on 1.9x
=====
...
slivu (Silviu Rusu)
06:22 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
I should mention that Exception#backtrace_locations is implemented in JRuby on master (1.7.4) in ruby 2.0 mode. I had not intended to add it before MRI, but it's there. We may remove it before release, but this would give folks a change ... headius (Charles Nutter)
06:19 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
JRuby master (1.7.4) now has a new ext io/try_nonblock that implements just the IO portion of wycats's patch (I did not implement the StringIO and SSLSocket logic).
Numbers for each of the three modes (errnos with backtraces (slow due...
headius (Charles Nutter)
05:25 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Trying to kick this one forward. I'm going to implement this in JRuby, perhaps via an ext (require 'io/try_nonblock' or something). It will give an opportunity to play with the API in-place using JRuby master builds or JRuby 1.7.4+.
W...
headius (Charles Nutter)
05:22 AM Revision 498c8763 (git): parse.y: setup_fake_str
* parse.y (setup_fake_str): extract function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:15 AM Revision 6edde68b (git): * io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:13 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
I'm not sure this is really a CommonRuby feature. It would bend some existing behavior (relevant Errno raised by nonblock would no long have a valid trace, except in debug or verbose mode) but other than that behavior remains largely the... headius (Charles Nutter)
05:08 AM Revision 704abdc3 (git): * numeric.c: Fix wiki link on Float imprecision in overview, patched
by Makoto Kishimoto [Bug #8304] [ruby-dev:47280]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:04 AM Revision 531329a2 (git): parse.y: disallow $-
* parse.y (parser_yylex): disallow $- without following identifier
character. [ruby-talk:406969]
* parse.y (is_special_global_name): mere $- is not a valid global
variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@404...
nobu (Nobuyoshi Nakada)
05:01 AM Revision c262fda9 (git): Typo by @windwiny [Fixes GH-295]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:55 AM Revision 6dc1ee17 (git): * string.c: Document String#setbyte return value by @gjmurakami-10gen
[Fixes GH-294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:51 AM Revision 6500760b (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:47 AM Revision 0b4214ad (git): * class.c: Example of Object#methods by @windwiny [Fixes GH-293]
* ruby.c: Document return values of Kernel #sub, #gsub, and #chop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:55 AM Revision 360843ef (git): * ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:28 AM Revision 00ecebe6 (git): * array.c: Fix documentation for Array#index and #replace aliases
Based on a patch by @phiggins [Fixes GH-282]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:27 AM Bug #8308: Segmentation fault
Please find the crash report in this gist.
https://gist.github.com/jaredbeck/5446063#file-ruby_2013-04-22-104237_clover-crash
I have included the Gemfile and Gemfile.lock in the same gist, though I have updated my bundle once since y...
jaredbeck (Jared Beck)

04/23/2013

11:45 PM Bug #8312 (Closed): Fix weird performance of Hash#shift
rb_hash_shift has an optimization for case when #shift is called outside hash iteration.
But in fact it is deoptimization, cause it uses rb_hash_foreach, which initiate safe
iteration, so that deletion is delayed and whole hash travers...
funny_falcon (Yura Sokolov)
09:59 PM Feature #8295 (Rejected): Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
> Rational も分母が 2 と 5 以外の約数を持たない場合
これを実現するパッチはすでに持っていて、精度の問題を解決してから取り込もうと考えていました。
先に入れても良さそうなので、近いうちにマージします。
> ...
IEEE754 の環境において BigDecimal(0.1, nil) で何が与えられることを期待していますか?
> Rationalについては、任意の n 進法 を指定して正確な文字列表現にできる場合には変換するという機...
mrkn (Kenta Murata)
09:36 PM Bug #8308 (Feedback): Segmentation fault
What Gemfile and Gemfile.lock are you using?
mrkn (Kenta Murata)
04:54 PM Bug #8308: Segmentation fault
Could you please attach a crash log? Anonymous
08:29 PM Revision 913f3204 (git): * 2013-04-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:29 PM Revision cd9e93d4 (git): * Typo in defining EWOULDBLOCKWaitReadable on platforms where
EAGAIN != EWOULDBLOCK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
headius (Charles Nutter)
05:47 PM Bug #8309: Editorializing in rexml::ie_hack documentation
The new text now reads:
# ie_hack::
# This hack inserts a space before the /> on empty tags to address
# a limitation of Internet Explorer. Defaults to false
I suspect that this was an old version of Internet Exp...
duerst (Martin Dürst)
05:41 PM Bug #8309 (Closed): Editorializing in rexml::ie_hack documentation
This issue was solved with changeset r40420.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
lib/rexml/document.rb, lib/rexml/element.rb,
lib/rexml/formatt...
duerst (Martin Dürst)
04:54 PM Bug #8309: Editorializing in rexml::ie_hack documentation
Don't hold back...
http://www.mikeperham.com/2010/12/08/contributing-to-ruby/
henry.maddocks (Henry Maddocks)
04:07 AM Bug #8309 (Closed): Editorializing in rexml::ie_hack documentation
I noticed some rather shameful editorializing while perusing the official documentation for REXML::Document, specifically in the description of the ie_hack parameter. See here: http://ruby-doc.org/stdlib-1.9.3/libdoc/rexml/rdoc/REXML/Doc... cbeckmann (Charles Beckmann)
03:22 PM Bug #8306 (Rejected): Bug In OptionParser accepted parsing
Use placed argument "--a_param [A]". nobu (Nobuyoshi Nakada)
02:32 PM Revision c967493b (git): merge revision(s) 40346: [Backport #8284]
* vm_method.c (rb_mod_public_method): fix visibility on anonymous
module. set visibility of singleton method, not method in base
class. [ruby-core:54404] [Bug #8284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran...
nagachika (Tomoyuki Chikanaga)
01:51 PM Revision 96de351e (git): merge revision(s) 40419: [Backport #8281]
* lib/net/imap.rb (getacl_response): parse the mailbox of an ACL
response correctly. [ruby-core:54365] [Bug #8281]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:26 PM Revision 69da79fa (git): merge revision(s) 40418:
typo s/Singelton/Singleton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:25 PM Revision 71fba687 (git): merge revision(s) 40411:
fix minor code comment typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:24 PM Revision a5fadaad (git): * string.c (rb_str_inspect): refix r40413, on Ruby 1.9 usual character
escape uses hex/Unicode escapes, so fix to use Unicode escape on
Unicode strings and hex on others. [ruby-core:54458] [Bug #8290]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:27 AM Revision bac8fa5f (git): * missing/isnan.c (isnan): Don't define if isnan() macro is defined.
This fixes a compilation failure on uClibc based Gentoo system.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:19 AM Revision 7194acb6 (git): merge revision(s) 40182,40221: [Backport #8311]
test_curses.rb: add sentinel
* test/test_curses.rb (TestCurses#run_curses): add sentinel to get rid
of read pty output after the child process terminated, which causes
EIO on Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nagachika (Tomoyuki Chikanaga)
11:15 AM Bug #8299: Minor error in float parsing
I guess this is a compiler specific issue.
I tested some cases with different compilers with Ruby 1.9.3-p392 on the same machine.
gcc 4.5.2 built version(rubyinstaller version) shows not disired result.
But gcc 4.7.2 and MSVC v16.0 ...
phasis68 (Heesob Park)
08:59 AM Feature #8237: Logical method chaining via inferred receiver
I don't care about Law of Demeter, I only care about how good my code reads. If it reads nice even though it violates LoD, then it's fine. Most of the time my code respects LoD, but that just happens by accident, not because I target it. rosenfeld (Rodrigo Rosenfeld Rosas)
07:40 AM Feature #8237: Logical method chaining via inferred receiver
I don't want to detract from the request/discussion too much, but I have a question about whether the Law of Demeter applies to structured data provided by a third party (e.g. a data API). The other day I wrote the following code in a r... phluid61 (Matthew Kerwin)
06:34 AM Feature #8237: Logical method chaining via inferred receiver
@enebo I care about the Law of Demeter too and seriously don't like that this encourages ignoring sound practice so freely.
I feel that this 'syntax' exposes Ruby developers and existing software to far more problems than it solves an...
parndt (Philip Arndt)
02:26 AM Feature #8237: Logical method chaining via inferred receiver
I don't know how many people care about Law of Demeter, but this operator would encourage violating it. Does Ruby want to actively help violate it? enebo (Thomas Enebo)
08:41 AM Revision e5ce9579 (git): lib/rexml/document.rb, lib/rexml/element.rb,
lib/rexml/formatters/pretty.rb: remove opinionated
language in documentation. [Bug #8309],
reported by Charles Beckmann
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
06:38 AM Bug #8310: resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
To clarify, after running resque-web, you have to wait 1-5 minutes for it to crash. Typically I click on "live-poll" at the bottom-left part of the webpage that opened, though that might be unnecessary. vaharoni (Amit Aharoni)
06:26 AM Bug #8310 (Rejected): resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
To reproduce (assuming redis-server is running on your computer):
$ rvm use 2.0@clean
$ gem install resque
$ gem install redis
$ resque-web -F
This works on 1.9.3.
See crash reports and further details here:
https://github.com...
vaharoni (Amit Aharoni)
05:07 AM Revision 8541ed6d (git): * lib/net/imap.rb (getacl_response): parse the mailbox of an ACL
response correctly. [ruby-core:54365] [Bug #8281]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
04:02 AM Revision 3ae96e8c (git): typo s/Singelton/Singleton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
02:58 AM Revision 596ca948 (git): string.c: fix for UTF-32
* string.c (rb_str_scrub): fix for UTF-32. strlen() on strings
contain NUL returns wrong result, use sizeof operator instead.
[ruby-dev:45975] [Feature #6752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40417 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
02:58 AM Revision eae1366b (git): string.c: suppress warnings
* string.c (rb_str_scrub): suppress maybe-uninitialized and empty body
in an else-statement. [ruby-dev:45975] [Feature #6752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:27 AM Revision 0a13d383 (git): * test/ruby/test_module.rb
(TestModule#test_const_get_invalid_name)
(test_const_defined_invalid_name): Fix expected values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
12:54 AM Revision 8c5b6ca5 (git): Add references.
* string.c (rb_str_inspect): NUL should not be represented as "\0"
when octal digits may follow. [ruby-core:54458] [Bug #8290]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
12:52 AM Revision ade2ba57 (git): * string.c (rb_str_inspect): NUL should not be represented as
"\0" when octal digits may follow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA

04/22/2013

11:53 PM Bug #8299: Minor error in float parsing
(2013/04/22 12:43), David MacMahon wrote:
> Do Float constants like EPSILON, MIN, and MAX differ between x87 systems and modern FPUs?

On i486-linux,
DBL_EPSILON: 2.22045e-16
DBL_MAX: 1.79769e+308
DBL_MIN: 2.22507e-308
DBL...
naruse (Yui NARUSE)
04:05 PM Bug #8299: Minor error in float parsing
The story on x87 is not precisely as you say. Yes, everything is stored in 80 bits. However, you can set precision as well as rounding mode. If the precision is set to DP, the mantissa is rounded to 53 bits, just like double precision... Student (Nathan Zook)
02:53 PM Bug #8299: Minor error in float parsing
I wrongly sent previous mail.

2013年4月22日月曜日 David MacMahon davidm@astro.berkeley.edu:

>
> On Apr 21, 2013, at 7:18 PM, naruse (Yui NARUSE) wrote:
>
> > marcandre (Marc-Andre Lafortune) wrote:
> >> For any float f, the ...
naruse (Yui NARUSE)
02:23 PM Bug #8299: Minor error in float parsing
2013年4月22日月曜日 David MacMahon davidm@astro.berkeley.edu:

>
> On Apr 21, 2013, at 7:18 PM, naruse (Yui NARUSE) wrote:
>
> > marcandre (Marc-Andre Lafortune) wrote:
> >> For any float f, the two following conditions should hol...
naruse (Yui NARUSE)
12:53 PM Bug #8299: Minor error in float parsing
On Apr 21, 2013, at 7:18 PM, naruse (Yui NARUSE) wrote:

> marcandre (Marc-Andre Lafortune) wrote:
>> For any float f, the two following conditions should hold:
>> (1) f.to_s.to_f == f (round trips)
>
> Yeah, unless you tr...
david_macmahon (David MacMahon)
11:18 AM Bug #8299: Minor error in float parsing
I wrote this is because of x87.
Did you read it?
marcandre (Marc-Andre Lafortune) wrote:
> naruse (Yui NARUSE) wrote:
> ...
Yeah, unless you transfer the result of to_s to another environment.
> (2) f.to_s.chop.to_f != f (mini...
naruse (Yui NARUSE)
01:58 AM Bug #8299: Minor error in float parsing
Can anyone on [i386-mingw32] report which of the two following is false:
-1.1505945e-05 != -1.1505945000000001e-05
"\xBE\xE8!5\n\x1D\x17A".unpack('G').first.to_s == "-1.1505945e-05"
If the first is false, then parsing is buggy ...
marcandre (Marc-Andre Lafortune)
01:57 AM Bug #8299 (Open): Minor error in float parsing
naruse (Yui NARUSE) wrote:
> > 1) Float#to_s must be minimal while round-tripping. This is clearly not the case in the given examples.
> ...
Sorry, I do not understand what you said. What I meant to say is ([ruby-core:30145]):
For a...
marcandre (Marc-Andre Lafortune)
11:52 PM Bug #8308 (Rejected): Segmentation fault
$ be rails s
=> Booting WEBrick
=> Rails 3.2.13 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-04-22 10:42:30] INFO WEBrick 1.3.1
[2013-04-22 10:42:30] INFO ...
jaredbeck (Jared Beck)
09:52 PM Feature #8237: Logical method chaining via inferred receiver
> And the pattern isn't a && a.b && a.b.c, but (a.nil ? nil : (a.b.nil? ? nil : a.b.c)).
class NullObject
def method_missing sym, *a, &b; self end
def to_s; "null" end
end
class Integer # patch it with #b, #c
def b; self + 1 end
...
Anonymous
07:40 PM Revision 1f4e5348 (git): * 2013-04-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:40 PM Revision 5d85df5d (git): fix minor code comment typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tmm1 (Aman Karmani)
06:36 PM Bug #8207 (Closed): Array#delete_if docs can be confusing to beginners
Thanks for your patch. I applied this patch at r40409. hsbt (Hiroshi SHIBATA)
03:06 PM Feature #8269: stdlib: Add Find.each_file to accompany Find.find
Is there a use-case for each_directory as well?
(Attached patch is only for each_file method, and includes basic tests)
phluid61 (Matthew Kerwin)
01:57 PM Revision 4f683e16 (git): * insns.def (opt_mod): Use % operator if both operands are positive for
a significant performance improvement. Thanks to @samsaffron.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
09:35 AM Revision e9b63c1a (git): enhanced Array#delete_if docs by johnnymugs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:09 AM Revision 67b18074 (git): marshal.c: fix marshal_load ivar
* marshal.c (r_object0): copy all instance variables not only generic
ivars, before calling post proc. [ruby-core:51163] [Bug #7627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:13 AM Revision 16dc6c29 (git): More tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:59 AM Revision 18adfc7d (git): * 2013-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:59 AM Revision ca57db4c (git): Specify --disable-gems
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:59 AM Revision f544ca4e (git): * util.c (ruby_hdtoa): revert r29729.
If you want ruby to behave as before on x86, specify to use SSE like
-msse2 -mfpmath=sse for gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:23 AM Bug #8306 (Rejected): Bug In OptionParser accepted parsing
=begin
program:
require 'optparse'
options = {}
OptionParser.new do |opts|
opts.on("-a", "--a_param A", "A") do |a|
options[:a] = a
end
opts.on("-b", "--b_param B", "B") do |b|
options[:b] = b
...
chaye (Roi Illouz)

04/21/2013

11:53 PM Bug #8254: Ruby segfaults on second SystemStackError from parser
charliesome discovered that the reason of this issues is longjmp from
segv handler.

After receiving SIGSEGV, segv handler runs on the altstack.
And returns by *longjmp* ruby's world if it is caused by stack overflow.
https://...
ko1 (Koichi Sasada)
09:35 PM Bug #8254 (Closed): Ruby segfaults on second SystemStackError from parser
This issue was solved with changeset r40402.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* configure.in: Use sigsetjmp by default so jumping out of sig...
Anonymous
11:52 PM Bug #8305 (Closed): Segfault on Mac OS X
mrkn (Kenta Murata)
11:52 PM Bug #8305: Segfault on Mac OS X
It's been fixed at r39727, which is Backport #7999.
Use the latest ruby_2_0_0 branch.
mrkn (Kenta Murata)
01:43 PM Bug #8305 (Closed): Segfault on Mac OS X
=begin
Running this piece of ((<test|URL:https://github.com/headius/thread_safe/blob/master/test/test_cache_loops.rb>)) segfaults happen on every run.
This behaviour exists in thread_safe gem, use by rails internally.
Crash Repo...
vipulnsward (Vipul Amler)
03:57 PM Bug #8299: Minor error in float parsing
Student (Nathan Zook) wrote:
> Double calculations are not in themselves platform dependent except in the IEEE-754 boundary cases. These boundaries are extremely narrow, such as half way from min normal to max denormal. If there is a ...
naruse (Yui NARUSE)
12:44 PM Bug #8299: Minor error in float parsing
Double calculations are not in themselves platform dependent except in the IEEE-754 boundary cases. These boundaries are extremely narrow, such as half way from min normal to max denormal. If there is a platform dependence, then the li... Student (Nathan Zook)
10:30 AM Bug #8299 (Rejected): Minor error in float parsing
marcandre (Marc-Andre Lafortune) wrote:
> Actually, this is a bug.
> ...
If the given value cannot be represented by binary, it won't be minimal while round-tripping.
> 2) Float#to_s must be platform independent
double calculatio...
naruse (Yui NARUSE)
07:41 AM Bug #8299 (Open): Minor error in float parsing
Actually, this is a bug.
1) Float#to_s must be minimal while round-tripping. This is clearly not the case in the given examples.
2) Float#to_s must be platform independent
On OS X, I get the correct string conversion.
$ ruby -v...
marcandre (Marc-Andre Lafortune)
02:23 PM Revision e9679c9a (git): * configure.in: Revert using sigsetjmp by default due to performance
problems on some systems (eg. older Linux)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
12:35 PM Revision c032cf6e (git): * configure.in: Use sigsetjmp by default so jumping out of signal
handlers properly restores the signal mask and SS_ONSTACK flag.
[ruby-core:54175] [Bug #8254]
* configure.in: Manually check for presence of sigsetjmp. It is not a
function on some systems, so AC_CHECK_FUNCS cannot be used.
git-svn...
Charlie Somerville
10:12 AM Bug #8304 (Closed): follow RDP floats_imprecise URL changed (patch)
Floatのドキュメントの参考先URLの移動に追随(see patch) metanest (Makoto Kishimoto)
10:04 AM Revision 595825dc (git): Replace use of obsolete variable `last-command-char` by @maser [fix GH-290]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

04/20/2013

11:47 PM Bug #8303 (Closed): YAML does not persist Exception#backtrace
require 'yaml'
begin
raise "omg"
rescue
# yaml loses the backtrace
YAML.load(YAML.dump $!).backtrace # => nil

# marshal persists the backtrace
Marshal.load(Marshal.dump $!).backtrace # => ["-:4:in `<main>'"]
end
josh.cheek (Josh Cheek)
11:03 PM Revision 8f671120 (git): * test/csv/test_features.rb, test/logger/test_logger.rb
test/mkmf/test_have_macro.rb, test/net/http/test_http.rb,
test/openssl/test_config.rb, test/psych/test_encoding.rb,
test/psych/test_exception.rb, test/psych/test_psych.rb,
test/psych/test_tainted.rb, test/readline/test_readline.rb,...
akr (Akira Tanaka)
11:00 PM Feature #7767 (Closed): Tempfileで自動的にファイルを削除する
akr (Akira Tanaka)
10:50 PM Feature #5707 (Closed): temporary file creation without finalizer and delegate.
This issue was solved with changeset r40393.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/tempfile.rb (Tempfile.create): New method.
The method na...
akr (Akira Tanaka)
08:36 PM Feature #8263: Support discovering yield state of individual Fibers
I have implemented Fiber#backtrace in Rubinius and have a demo of what I wanted to achieve.
https://gist.github.com/halorgium/c770d3cf27f6279e5e43
This depends on another change, Thread#root_fiber, which returns the root_fiber of ...
halorgium (Tim Carey-Smith)
05:29 PM Bug #8302 (Closed): REXML::Text の entity_filter が有効でない
REXML::Text の initialize や to_s のドキュメントによると、
添付したファイル(text_entity_filter.rb)を実行すると
"&f; &b;"
"foo &b;"
と出力されるはずですが、実際には
"&f; &b;"
"&f; &b;"
と出力されます。
添付したパッチで修正されると思います。
しかし、この機能は何に使うのでしょうか?
ohai (Ippei Obayashi)
04:39 PM Bug #8301 (Closed): REXML::Attributes#to_a
添付したコード(attributs_to_a.rb)を実行すると、REXML::Attributes#to_a という名前から期待される結果は
[foo:att='1', bar:att='2', att='&lt;', baz='4']
だと思うのですが、実際には
[{"foo"=>foo:att='1', "bar"=>bar:att='2', ""=>att='&lt;'}, baz='4']
という結果になります。これは意図した結果ではないと思う...
ohai (Ippei Obayashi)
04:22 PM Feature #8300 (Third Party's Issue): rails server request no working
> dlopen(/Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (LoadError)
> ...
It's unacceptable to make libmysqlclient built-in as the language specification. ;-p
nobu (Nobuyoshi Nakada)
03:17 PM Feature #8300 (Third Party's Issue): rails server request no working
Can anyone help me figure out this error.
sk8devine$ rails server
/Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle: dlopen(/Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle, 9): Library not loaded: ...
a.devine (Aaron Devine)
03:16 PM Revision 65261bda (git): * lib/tempfile.rb (Tempfile.create): Close when the block exits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:14 PM Revision 88d0a18c (git): merge revision(s) 40135,40148,40173: [Backport #8165]
* load.c (features_index_add): use rb_str_subseq() to specify C string
position properly to fix require non ascii path.
[ruby-core:53733] [Bug #8165]
* test/ruby/test_require.rb (TestRequire#test_require_nona...
nagachika (Tomoyuki Chikanaga)
03:13 PM Revision c1ca05af (git): merge revision(s) 39644,39646,39647,39874,39898: [Backport #8048]
* load.c (features_index_add_single, rb_feature_p): store single index
as Fixnum to reduce the number of arrays for the indexes. based on
the patch by tmm1 (Aman Gupta) in [ruby-core:53216] [Bug #8048].
* lo...
nagachika (Tomoyuki Chikanaga)
03:10 PM Revision 45e02258 (git): * 2013-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 5fb8bb16 (git): * lib/webrick/httpauth/htpasswd.rb: Use Tempfile.create to avoid
unintentional unlink() by the finalizer.
lib/webrick/httpauth/htdigest.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:40 PM Revision 80ecaa17 (git): merge revision(s) 40345: [Backport #8283]
* dir.c (glob_helper): should skip dot directories only for recursion,
but should not if matching to the given pattern. [ruby-core:54387]
[Bug #8283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@...
nagachika (Tomoyuki Chikanaga)
01:50 PM Revision 5388fb64 (git): * lib/tempfile.rb (Tempfile.create): New method.
The method name is proposed by Shugo Maeda. [ruby-dev:47220]
[ruby-core:41478] [Feature #5707]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:31 AM Bug #8299 (Rejected): Minor error in float parsing
Just -1.1505945e-5 is not accurately representable in binary format. nobu (Nobuyoshi Nakada)
07:41 AM Bug #8299 (Closed): Minor error in float parsing
I encountered a float that either parses [slightly] differently (or converts to string differently) in Ruby than it does in Python or Java. This looks like a Ruby bug since the result "looks" incorrect.
It is easily reproduced by ent...
bobjalex (Bob Alexander)
06:10 AM Bug #8298 (Rejected): Module include inconsistency
It has been suggested that I report this as a violation of the object model:
module M ; end
module N ; end
class C ; include M ; end
module M ; include N ; end
c = C.new
c.extend M
d = class << c ; self ; end
d.ancestors
=>[N,...
Student (Nathan Zook)
05:50 AM Bug #8148 (Rejected): [patch] reduce allocations due to __FILE__ and {class,module}_eval
> Is there a simpler solution instead of adding NODE_FILE?
To fix this simple case, NODE_FILE is unnecessary:
def test__FILE__shared
assert_equal __FILE__.object_id, __FILE__.object_id
end
Here we can just ensure parse...
tmm1 (Aman Karmani)
05:44 AM Bug #7940: Mistaken use of inline rescues in stdlib
I've tweeted @david_a_black asking him to check this ticket.
He has been inactive for a long time, though.
zzak (zzak _)
05:22 AM Revision 8c77e58b (git): marshal.c: use ivars of marshal_dump data
* marshal.c (w_object): dump no ivars to the original by marshal_dump.
[ruby-core:54334] [Bug #8276]
* marshal.c (r_object0): copy all ivars of marshal_dump data to the
result object instead. [ruby-core:51163] [Bug #7627]
git-svn-i...
nobu (Nobuyoshi Nakada)
05:21 AM Feature #6752 (Closed): Replacing ill-formed subsequencce
This issue was solved with changeset r40391.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Add example for String#scrub
[Feature #6321] [Feature #6752] [Bug...
naruse (Yui NARUSE)
05:21 AM Feature #6321 (Closed): Find and repair bad bytes in encodings, without transcoding
This issue was solved with changeset r40391.
jonathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Add example for String#scrub
[Feature #6321] [Feature #6752]...
naruse (Yui NARUSE)

04/19/2013

11:29 PM Bug #7940: Mistaken use of inline rescues in stdlib
Related issue for the C counterpart: #7688. Eregon (Benoit Daloze)
02:27 PM Bug #7940 (Assigned): Mistaken use of inline rescues in stdlib
update only my part.
please consider your part > dblack.
xibbar (Takeyuki FUJIOKA)
02:25 PM Bug #7940 (Closed): Mistaken use of inline rescues in stdlib
This issue was solved with changeset r40367.
Mon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/session.rb: update rescue in delete session file
only ...
xibbar (Takeyuki FUJIOKA)
01:51 PM Bug #7940: Mistaken use of inline rescues in stdlib
Sorry I was misunderstanding that lib/scanf.rb does not have a maintainer. xibbar (Takeyuki FUJIOKA)
12:24 PM Bug #7940: Mistaken use of inline rescues in stdlib
xibbar (Takeyuki FUJIOKA) wrote:
> I am maintainer of cgi* but not maintainer of lib/scanf.rb
> ...
Commit your part and assign this to dblack.
naruse (Yui NARUSE)
12:18 PM Bug #7940: Mistaken use of inline rescues in stdlib
I am maintainer of cgi* but not maintainer of lib/scanf.rb
May I commit with lib/scanf.rb ?
xibbar (Takeyuki FUJIOKA)
11:23 PM Bug #8230: Segmentation fault: at_exit
Reproduced on 1.9.3p392, but not trunk or 2.0.0p0 Anonymous
11:15 PM Feature #8237: Logical method chaining via inferred receiver
Exactly, Martin. That was exactly my point. It is not because Charles don't like this particular code styling that it makes it unuseful for everyone out there. I use this pattern a lot in both Groovy and CoffeeScript and I don't find it ... rosenfeld (Rodrigo Rosenfeld Rosas)
08:53 PM Feature #8237: Logical method chaining via inferred receiver
On 2013/04/18 1:42, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>
> Issue #8237 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).
>
>
> Charles, I understand that you don't like this code style. But I'm pretty sure you c...
duerst (Martin Dürst)
09:12 PM Bug #8297: extend & inherited class variable issue
=begin
By the current documentation, Object#extend method has to (only) add instance methods of a module given as a parameter.
In the following example, the class ((*C*)) is extended with module ((*M*)).
By ((*class_variables*)) metho...
dunric (David Unric)
09:02 PM Bug #8297 (Closed): extend & inherited class variable issue
=begin
By the current documentation, (({Object#extend})) method has to (only) add instance methods of a module given as a parameter.
In the following example, the class ((|C|)) is extended with module ((|M|)).
By (({class_variables}))...
dunric (David Unric)
08:21 PM Revision 1e8a05c1 (git): Add example for String#scrub
[Feature #6321] [Feature #6752] [Bug #7967]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:55 PM Feature #8263: Support discovering yield state of individual Fibers
There was some confusion about what I am proposing.
I realised I didn't even explain this!
I would like to be able to see the backtrace of individual Fibers.
This would allow our Celluloid.stack_dump to show each point at which th...
halorgium (Tim Carey-Smith)
03:49 PM Feature #8263: Support discovering yield state of individual Fibers
Should this be in common-ruby?
Could someone move it?
halorgium (Tim Carey-Smith)
06:02 PM Bug #8167 (Closed): net/imap failing to parse IMAP response containing one BODYSTRUCTURE
This issue was solved with changeset r40372.
Nathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (body_type_msg): should accept
message/deli...
shugo (Shugo Maeda)
05:50 PM Revision 394d5dfa (git): * string.c (str_scrub): add ruby method String#scrub which verify and
fix invalid byte sequence.
* string.c (str_compat_and_valid): check given string is compatible
and valid with given encoding.
* transcode.c (str_transcode0): If invalid: :replace is specified for
String#encode, replace invalid byte...
naruse (Yui NARUSE)
05:41 PM Revision 62ff805f (git): merge revision(s) 40362: [Backport #7997]
* lib/cgi/cookie.rb(CGI::Cookie.parse): add require
for standalone require 'cgi/cookie' .[Bug #7997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:39 PM Revision 2bc82894 (git): merge revision(s) 40117,40118,40333: [Backport #8222]
* test/test_curses.rb: tests for getch.
* ext/curses/curses.c (Init_curses): fix implementation function,
crmode should be same as cbreak. [ruby-core:54013] [Bug #8222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra...
nagachika (Tomoyuki Chikanaga)
05:26 PM Feature #8295 (Assigned): Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
=begin
たまに、Float を正確に表現する BigDecimal が欲しいことがあります。
(有効数字の考え方からは邪道ですが。また普通は printf の "%a" による
十六進表現で用が足りることも多いでしょう)
十進でも桁数を必要なだけ伸ばせば、普通の 2 進の浮動小数点数なら正確に
表現できます。また、Rational も分母が 2 と 5 以外の約数を持たない場合に
限っては、正確に BigDecimal に変換できます。
...
metanest (Makoto Kishimoto)
05:16 PM Revision 2e607b7f (git): merge revision(s) 40304: [Backport #8240]
* ext/openssl/ossl_ssl.c: Correct shutdown behavior w.r.t GC.
* test/openssl/test_ssl.rb: Add tests to verify correct behavior.
[Bug #8240] Patch provided by Shugo Maeda. Thanks!
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nagachika (Tomoyuki Chikanaga)
05:03 PM Revision 6ba7e6cc (git): merge revision(s) 40102: [Backport #8234]
* thread_pthread.c (ruby_init_stack): Avoid using uninitialized value.
stackaddr and size are not set if get_stack() fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40386 b2dd03c8-39d4-4d8f-98ff-823fe69...
nagachika (Tomoyuki Chikanaga)
04:54 PM Revision 7e970d34 (git): merge revision(s) 40103: [Backport #8235]
* thread_pthread.c: Fixes wrong scopes of #if USE_SLEEPY_TIMER_THREAD
.. #endif sections. This fixes a build error on NativeClient.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40385 b2dd03c8-39d4-4d8f-98f...
nagachika (Tomoyuki Chikanaga)
04:40 PM Revision 8c43fc02 (git): merge revision(s) 40276: [Backport #8210]
* Merge Onigmo 5.13.4 f22cf2e566712cace60d17f84d63119d7c5764ee.
[bug] fix problem with optimization of \z (Issue #16) [Bug #8210]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40384 b2dd03c8-39d4-4d8f-98ff-8...
nagachika (Tomoyuki Chikanaga)
04:36 PM Revision 57ffc79c (git): * 2013-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:36 PM Revision 2ea4ed63 (git): * lib/matrix.rb: Fix typo in rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:28 PM Revision 80002f8e (git): merge revision(s) 40260,40377: [Backport #8260]
* vm_insnhelper.c (vm_callee_setup_keyword_arg): non-symbol key is not
a keyword argument, keep it as an positional argument.
a keyword argument, keep it as a positional argument.
git-svn-id: svn+ssh://ci.ruby-lang....
nagachika (Tomoyuki Chikanaga)
04:23 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
On 2013/04/19 15:50, halorgium (Tim Carey-Smith) wrote:
>
> Issue #8215 has been updated by halorgium (Tim Carey-Smith).
>
>
> I realised that this might be better in common-ruby.

This isn't issue specific: I propose that...
duerst (Martin Dürst)
03:50 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
I realised that this might be better in common-ruby.
I originally proposed the idea with RBX.
Could someone move it?
halorgium (Tim Carey-Smith)
04:16 PM Revision 26de6120 (git): merge revision(s) 40000: [Backport #8097]
* thread.c (rb_mutex_synchronize_m): yield no block params. patch by
splattael (Peter Suschlik) in [ruby-core:53773] [Bug #8097].
fix GH-266.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40380 b2...
nagachika (Tomoyuki Chikanaga)
04:02 PM Revision a569165d (git): merge revision(s) 40205: [Backport #8236]
* compile.c (iseq_compile_each): append keyword hash to argument array
to splat if needed. [ruby-core:54094] [Bug #8236]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:53 PM Feature #8291 (Open): Allow retrieving the root Fiber of a Thread
=begin
Currently (({Thread.backtrace})) returns the stack frames for the currently running (({Fiber})).
It is not possible to retrieve the backtrace.
Building on http://bugs.ruby-lang.org/issues/8263, this would allow for this fea...
halorgium (Tim Carey-Smith)
03:32 PM Revision 1ccf489a (git): merge revision(s) 40374: [Backport #8292]
* README.EXT.ja (Data_Wrap_Struct): Remove a description about
orphan argument. Oh, I renamed the argument name without
changing description at r36180... Sorry....
Patch by Makoto Kishimoto. Thanks!!! [ruby-...
nagachika (Tomoyuki Chikanaga)
02:40 PM Revision af58fd44 (git): Fixed ChangeLog typo found by @Nami-Doc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
02:32 PM Revision ff6eb8fe (git): Fixed comment typo, found by @ThePablick
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:06 PM Revision 17817e9d (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:02 PM Revision 46e17f4c (git): * README.EXT.ja (Data_Wrap_Struct): Remove a description about
orphan argument. Oh, I renamed the argument name without
changing description at r36180... Sorry....
Patch by Makoto Kishimoto. Thanks!!! [ruby-dev:47269] [Bug #8292]
* README.EXT.ja (Data_Make_Struct): Add a sample code that describ...
Sutou Kouhei
12:31 PM Feature #6752: Replacing ill-formed subsequencce
OK, I agree with enhancement of String#encoding and String#scrub.
Matz.
matz (Yukihiro Matsumoto)
11:38 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
Seems failing with -ggdb3 and -fstack-protector.
Setting CFLAGS excludes $debugflags from it.
Try r40364.
nobu (Nobuyoshi Nakada)
11:37 AM Bug #8268 (Closed): ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
This issue was solved with changeset r40364.
Matt, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: -g and -fstack-protector flags can't work
togethe...
nobu (Nobuyoshi Nakada)
10:41 AM Revision d6674f8f (git): Add --disable-gems for tests which doesn't use rubygems
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:02 AM Revision 3f927dec (git): * lib/net/imap.rb (body_type_msg): should accept
message/delivery-status with extra data.
[ruby-core:53741] [Bug #8167]
* test/net/imap/test_imap_response_parser.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
08:27 AM Feature #8096: introduce Time.current_timestamp
headius (Charles Nutter) wrote:
> phluid61 (Matthew Kerwin) wrote:
> ...
That would be really handy. I've been fiddling a bit more the past couple of days, and I can't quite get it to work properly. I don't know if the failure is in ...
phluid61 (Matthew Kerwin)
08:23 AM Bug #8225 (Assigned): Missing RI file for Kernel.open
=begin
This actually seems like a bug in RDoc, so I'm assigning it to Eric.
You can easily reproduce this by the following:
(({ri open})) from trunk
=end
zzak (zzak _)
08:15 AM Bug #8289 (Rejected): [].join.encoding # => US-ASCII (I expect also UTF-8
It is intended.
Strings always generated as an ASCII only string has US-ASCII encoding.
It shall not cause any meaningful side effects.
naruse (Yui NARUSE)
07:10 AM Bug #8289 (Rejected): [].join.encoding # => US-ASCII (I expect also UTF-8
May be related to http://bugs.ruby-lang.org/issues/5379
$ date
Thu Apr 18 23:56:54 CEST 2013
$ rvm get stable
$ rvm install ruby-head
... long compile process ...
$ rvm use ruby-head
Using /Users/peter_v/.rvm/gems/ruby-hea...
peter_v (Peter Vandenabeele)
08:09 AM Revision 3c1b8a1b (git): test_module.rb: rename
* test/ruby/test_module.rb (test_visibility_by_public_class_method):
rename because anonymousness is not a point.
[ruby-core:54404] [Bug #8284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40371 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
06:17 AM Revision 0e102a66 (git): * lib/cgi/session.rb: update use rescue nil all because
session delete shoud try all pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
05:46 AM Revision 683c5fdf (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:43 AM Revision 6c3a57a1 (git): * lib/cgi/session.rb: update use rescue Errno::ENOENT because
session delete shoud try all pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
05:25 AM Revision 42546869 (git): * lib/cgi/session.rb: update rescue in delete session file
only Errno::ENOENT.[Bug #7940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
04:03 AM Revision 1dd06612 (git): marshal.c: no duplicated encoding
* marshal.c (w_object): do not dump encoding which is dumped with
marshal_dump data. [ruby-core:54334] [Bug #8276]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:53 AM Bug #7737 (Closed): problem with generated rbconfig.rb for Haiku
naruse (Yui NARUSE)
03:52 AM Bug #7737: problem with generated rbconfig.rb for Haiku
Closed because no feedback. naruse (Yui NARUSE)
03:52 AM Revision 597aa8ba (git): ChangeLog: remove garbage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:31 AM Misc #8288 (Closed): Ruby 2.1.0 release engeneering
This is meta issue for releasing Ruby 2.1.0
see also https://bugs.ruby-lang.org/versions/27
naruse (Yui NARUSE)
02:37 AM Revision 526ffc53 (git): configure.in: -g and -fstack-protector flags can't work
together on SmartOS
* configure.in (stack_protector): control use of -fstack-protector.
* configure.in (debugflags): let -fstack-protector precede and disable
debugflags, because they can't work together on SmartOS. [Bug #8268]
git-s...
nobu (Nobuyoshi Nakada)
02:22 AM Feature #8262 (Closed): Confusing "undefined method" exception when using - operator on a string
Perfect. I'll close this then, unless someone comes up with a better proposal. marcandre (Marc-Andre Lafortune)
02:10 AM Feature #8262: Confusing "undefined method" exception when using - operator on a string
OK, this makes perfect sense now! I'd never come across the "-@" syntax for unary operators. Thanks! ajack (Jack Weeden)
01:44 AM Bug #8286: Can't decode non-MIME Base64
Excuses for the shameless plug, but I thought it might help Alan:
In krypt[1], we follow the lenient parsing/strict encoding principle.
require 'krypt'
decoded1 = Krypt::Base64.decode("TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZX...
MartinBosslet (Martin Bosslet)

04/18/2013

11:47 PM Revision 1f12e407 (git): * lib/cgi/cookie.rb: refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
11:38 PM Revision 1f2c3b8a (git): * lib/cgi/cookie.rb(CGI::Cookie.parse): add require
for standalone require 'cgi/cookie' .[Bug #7997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
10:45 PM Revision 053e85e2 (git): * test/openssl/test_cipher.rb: Correct a typo
by jgls <joerg@joergleis.com>
https://github.com/ruby/ruby/pull/291 fix GH-291
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:13 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
It has been pointed out to me that the patched ruby will likely crash when the patched code run on a sigaltstack.
I'm working to sort this out.
drkaes (Stefan Kaes)
08:48 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
I can add "rb_cv_have_signbit=no" to workaround the make error for now. mattconnolly (Matt Connolly)
08:35 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
Actually, I just found this page: http://docs.oracle.com/cd/E19082-01/819-0690/chapter4-29405/index.html
It appears that using CFLAGS="-R -fPIC" might help...
That makes configure succeed, but make fails with missing symbol "signbi...
mattconnolly (Matt Connolly)
08:30 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
Hello naruse and nobu, thank you for looking into this issue.
I have recorded a log of attempting to build ruby-2.0.0-p0 in a clean SmartOS instance at this gist: https://gist.github.com/mattconnolly/5411998
This includes config.lo...
mattconnolly (Matt Connolly)
06:04 PM Revision 46d19a3a (git): Fix .travis.yml for current known Linux failure
And revert branches and notification change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:33 PM Bug #8286 (Closed): Can't decode non-MIME Base64
nobu (Nobuyoshi Nakada)
01:23 PM Bug #8286: Can't decode non-MIME Base64
2013/4/18 adacosta (Alan Da Costa) <alandacosta@gmail.com>

>
> Issue #8286 has been updated by adacosta (Alan Da Costa).
>
>
> My confusion on this issue might have stemmed from a client sending Base64
> without padding, ...
naruse (Yui NARUSE)
10:02 AM Bug #8286: Can't decode non-MIME Base64
duerst (Martin Dürst) wrote:
> On 2013/04/18 8:20, naruse (Yui NARUSE) wrote:
> ...
Oops, correct one is "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4=".
naruse (Yui NARUSE)
09:53 AM Bug #8286: Can't decode non-MIME Base64
On 2013/04/18 8:20, naruse (Yui NARUSE) wrote:
>
> Issue #8286 has been updated by naruse (Yui NARUSE).
>
> Status changed from Open to Rejected
>
> Your Base64Compatible.encode64 is buggy.
>
> Base64Compatibleencode64("...
duerst (Martin Dürst)
09:47 AM Bug #8286: Can't decode non-MIME Base64
My confusion on this issue might have stemmed from a client sending Base64 without padding, and decode64 not managing to decode the base64, for example:
> Base64.decode64 "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2...
adacosta (Alan Da Costa)
09:29 AM Bug #8286: Can't decode non-MIME Base64
Hi Naruse, thank you for looking at my issue and sorry for wasting your time. I should have spent more time verifying my code. adacosta (Alan Da Costa)
08:20 AM Bug #8286 (Rejected): Can't decode non-MIME Base64
Your Base64Compatible.encode64 is buggy.
Base64Compatibleencode64("Lorem ipsum dolor sit amet, consectetur adipiscing elit.") returns
"TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4",
but its length is 75.
I...
naruse (Yui NARUSE)
08:14 AM Bug #8286: Can't decode non-MIME Base64
Could you show self-contained reproducible example? naruse (Yui NARUSE)
07:49 AM Bug #8286 (Closed): Can't decode non-MIME Base64
=begin
In https://github.com/ruby/ruby/blob/trunk/lib/base64.rb#L42 , RFC 2045 is mentioned for encode64/decode64 support, which is the MIME RFC. I don't believe this is the correct RFC to reference, as RFC 4648 is the correct RFC for B...
adacosta (Alan Da Costa)
03:29 PM Revision 38dccee1 (git): * 2013-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision df9e72b2 (git): test_rinda.rb: use spawn
* test/rinda/test_rinda.rb (TupleSpaceProxyTest#test_take_bug_8215):
use more portable spawn instead of fork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:57 PM Feature #8110: Regex methods not changing global variables
headius (Charles Nutter) wrote:
> naruse (Yui NARUSE) wrote:
> ...
On such case, Regexp::SKIP_GLOBALS is useless.
Without it JRuby would optimize to skip globals.
> As an example of how much it helps... MRI 2.0.0 was changed to not...
naruse (Yui NARUSE)
01:20 AM Feature #8110: Regex methods not changing global variables
sam.saffron (Sam Saffron) wrote:
> @naruse @charlie should this be moved to ruby common?
If CommonRuby officially becomes the host project for features...yes, it should. I'm not sure we've had a final decision yet.
headius (Charles Nutter)
01:19 AM Feature #8110: Regex methods not changing global variables
naruse (Yui NARUSE) wrote:
> You may misunderstand, unlike Perl, Ruby's setting global variable cost is small.
> ...
That ignores the fact that without $~, the scope wouldn't need to be allocated either. In JRuby, when we know there's ...
headius (Charles Nutter)
02:45 PM Revision 4987e849 (git): "garbage" (noun) is uncountable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:58 PM Revision a1d59a60 (git): Fix ChangeLog duplicated by wrong merge
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:56 PM Revision 26e92343 (git): Overwrite Ruby's path for cgi in tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:56 PM Revision 9d72f265 (git): * common.mk (clean-ext): remove timestamps.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:56 PM Revision 6e24f177 (git): * ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:56 PM Revision 3f75750c (git): Oops, I forgot to use JST in the ChangeLog entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:55 PM Revision b69f1fb6 (git): iseq: reduce array allocations for simple sequences
* compile.c (iseq_add_mark_object): Use new rb_iseq_add_mark_object().
* insns.def (setinlinecache): Ditto.
* iseq.c (rb_iseq_add_mark_object): New function to allocate
iseq->mark_ary on demand. [Bug #8142]
* iseq.h (rb_iseq_add_mar...
naruse (Yui NARUSE)
01:55 PM Revision 5f628a07 (git): iseq.c: remove duplicated strings for file paths
* iseq.c (iseq_location_setup): re-use existing string when iseq has
the same path and absolute_path. [Bug #8149]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:55 PM Revision 226e145e (git): assertions.rb: remove UNASSIGNED
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
UNASSIGNED is not a valid message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:55 PM Revision b2fcb9da (git): thread.c: fix overflow on Windows
* thread.c (sleep_timeval): get rid of overflow on Windows where
timeval.tv_sec is not time_t but mere long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:55 PM Revision 08a6ef73 (git): Run test-all on travis-ci
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:38 PM Bug #8287 (Rejected): Regexp performance issue
ADDRESS = # RFC-5322 : http://tools.ietf.org/html/rfc5322
/
(?<mailbox>
(?<name_addr>
(?<display_name>
(?<phrase>
(?<word>
(?<atom>
#\g<CFWS>?
#\g<atext>+
...
mghomn (Justin Peal)
01:26 PM Feature #8237: Logical method chaining via inferred receiver
Wow, inferred reciever, cool. But wait, in Ruby, there is already self! When you type often
fred.do_this && fred.do_that
# why not teach fred
fred.do_it_all
How about if we finally allow Japanese into Ruby along with English, and intro...
Anonymous
01:42 AM Feature #8237: Logical method chaining via inferred receiver
Charles, I understand that you don't like this code style. But I'm pretty sure you consider bad several other code styles used on Ruby by people out there, right? This is what I like about Ruby. It doesn't try to provide you a single obv... rosenfeld (Rodrigo Rosenfeld Rosas)
01:29 AM Feature #8237: Logical method chaining via inferred receiver
I believe this has been suggested and rejected before. It's similar to Groovy's ?. operator, which only proceeds with calls if the LHS is non-null. That particular syntax is incompatible with Ruby since methods can end in ? but a differe... headius (Charles Nutter)
07:59 AM Revision 335dfa12 (git): vm_method.c: fix visibility on anonymous module
* vm_method.c (rb_mod_public_method): fix visibility on anonymous
module. set visibility of singleton method, not method in base
class. [ruby-core:54404] [Bug #8284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40346 b2dd03c8-...
nobu (Nobuyoshi Nakada)
07:44 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
Also, ruby -v actually is: ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin11]
julian.mehnle (Julian Mehnle)
07:42 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
Why has @monospace@ formatting been disabled in this Redmine? Bleh! julian.mehnle (Julian Mehnle)
07:36 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
The problem is caused by my original TCP fallback code reusing a Resolv::DNS::Requester::TCP::Sender object that was initialized for one (the first) nameserver with a Resolv::DNS::Requester::TCP object that was initialized for another (t... julian.mehnle (Julian Mehnle)
07:15 AM Bug #8285 (Closed): Resolv::DNS: TCP fallback fails with multiple resolvers
Since my TCP fallback support patch from #3835 was merged Resolv::DNS would sometimes fail with a @"host/port don't match: <nameserver>:<port>"@ @Resolv::DNS::Requester::RequestError@ exception in @resolv.rb@, line 818 (Ruby 1.9.1). Thi... julian.mehnle (Julian Mehnle)
07:20 AM Revision a4188556 (git): dir.c: not skip dot directories if matching
* dir.c (glob_helper): should skip dot directories only for recursion,
but should not if matching to the given pattern. [ruby-core:54387]
[Bug #8283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40345 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
07:20 AM Revision c3db44dc (git): pack.c: refix unpack base64
* pack.c (pack_unpack): increase buffer size to fix buffer overflow,
and fix garbages just after unpacking without missing paddings.
[Bug #8286]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40344 b2dd03c8-39d4-4d8f-98ff-823fe69...
nobu (Nobuyoshi Nakada)
06:23 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
On Wed, Apr 17, 2013 at 11:49 AM, Eric Wong <normalperson@yhbt.net> wrote:
> "headius (Charles Nutter)" <headius@headius.com> wrote:
>> I'd like to work with you to find more places we could be sharing
>> frozen strings. A change ...
tmm1 (Aman Karmani)
03:53 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
"headius (Charles Nutter)" <headius@headius.com> wrote:
> I'd like to work with you to find more places we could be sharing
> frozen strings. A change over the summer made defined? results always
> be shared frozen strings, and ap...
normalperson (Eric Wong)
12:51 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
I'd like to work with you to find more places we could be sharing frozen strings. A change over the summer made defined? results always be shared frozen strings, and apparently that was a source of lots and lots of extra string creation ... headius (Charles Nutter)
06:11 AM Revision ca743196 (git): Increase capacity for skipping paddings
fix for r40342
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:49 AM Bug #8159: Build failure introduced by Rinda changes
Could you temporally commit the patch because it causes test failure? naruse (Yui NARUSE)
05:03 AM Revision 3e2fdaf1 (git): * pack.c (pack_unpack): output characters even if the input doesn't
have paddings. [Bug #8286]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:06 AM Feature #8259: Atomic attributes accessors
Having some discussions with dbussink on IRC...
I think the most universally correct option is to have two different paths for reference CAS and value CAS, and rely upon users to choose the right one. As dbussink points out, the peopl...
headius (Charles Nutter)
02:50 AM Feature #8259: Atomic attributes accessors
dbussink (Dirkjan Bussink) wrote:
> I highly doubt the neverending complaints case, since this I think people using CAS would usually know what they are doing (at least my experience with using constructs like this). The overhead is act...
headius (Charles Nutter)
02:26 AM Feature #8259: Atomic attributes accessors
I highly doubt the neverending complaints case, since this I think people using CAS would usually know what they are doing (at least my experience with using constructs like this). The overhead is actually bigger for the numeric case whe... dbussink (Dirkjan Bussink)
01:08 AM Feature #8259: Atomic attributes accessors
dbussink (Dirkjan Bussink) wrote:
> What I'm wondering is, do we want to enforce the overhead of numeric CAS for all applications of CAS? Also in the case of numeric handling, the pattern in which I've used CAS most often is that I base...
headius (Charles Nutter)
01:00 AM Feature #8259: Atomic attributes accessors
What I'm wondering is, do we want to enforce the overhead of numeric CAS for all applications of CAS? Also in the case of numeric handling, the pattern in which I've used CAS most often is that I base the old value on the existing one, w... dbussink (Dirkjan Bussink)
 

Also available in: Atom