Project

General

Profile

Activity

From 11/08/2011 to 11/14/2011

11/14/2011

11:59 PM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
あいざわです

r33720で追加されたテストケースが Mac OSX SnowLeopardで失敗します。
以下のパッチ動くようにはなりますが、これってTempfile#openのバグなんでしょうか?

---...
ayumin (Ayumu AIZAWA)
11:53 PM Feature #5628: Module#basename
On 14 November 2011 12:58, Thomas Sawyer <[email protected]> wrote:
>
> Issue #5628 has been updated by Thomas...
Eregon (Benoit Daloze)
08:58 PM Feature #5628: Module#basename
@Andrew File::basename is a class method, where as Module#basename is an instance method, so there isn't really any "... trans (Thomas Sawyer)
07:59 PM Feature #5628: Module#basename
On 14/11/11 10:19, Benoit Daloze wrote:
> On 14 November 2011 07:32, Andrew Grimm <[email protected]> wrote...
regularfry (Alex Young)
07:23 PM Feature #5628: Module#basename
On 14 November 2011 07:32, Andrew Grimm <[email protected]> wrote:
>
> Issue #5628 has been updated by An...
Eregon (Benoit Daloze)
03:32 PM Feature #5628: Module#basename
I'm not sure about the method name. What should happen with File::basename ? Should it call super when there's no arg... agrimm (Andrew Grimm)
02:53 PM Feature #5628: Module#basename
Totally agreed. This pattern is fairly common. It would also be nice to
have Module#modules or something, such tha...
wycats (Yehuda Katz)
11:17 AM Feature #5628 (Feedback): Module#basename
Something I use fairly often:
some_module.name.split("::").last
It's useful for things like factory methods...
trans (Thomas Sawyer)
10:48 PM Bug #5619: Segfault on OS X
I verified the segmentation fault on the same version of OS X with ruby 1.9.3. I am attaching the crash report from O... valo (Valentin Mihov)
01:53 AM Bug #5619: Segfault on OS X
> File valgrind-log.txt added
>
> Here's what I get running valgrind. Let me know if I should enable some extra ...
kosaki (Motohiro KOSAKI)
08:53 PM Bug #5625: Remove profanity and pejoratives
On Mon, Nov 14, 2011 at 07:36:58AM +0900, Andrew Grimm wrote:
> I was not aiming to protect children from the f-wor...
Anonymous
05:09 PM Bug #5625: Remove profanity and pejoratives
Attached is the files with profanity, and the word "lame", and how to grep for them.
The words are in rubygems, ps...
agrimm (Andrew Grimm)
03:59 PM Bug #5625: Remove profanity and pejoratives
What words, and where? nobu (Nobuyoshi Nakada)
07:59 AM Bug #5625: Remove profanity and pejoratives
For the Japanese developers, the brothers Grimm would be more likely
known as the brothers グリム (Gurimu), unless th...
agrimm (Andrew Grimm)
07:53 AM Bug #5625: Remove profanity and pejoratives
I was not aiming to protect children from the f-word. My intention was
to ensure that parents or teachers would be ...
agrimm (Andrew Grimm)
07:38 AM Bug #5625: Remove profanity and pejoratives

Alexey Muranov wrote:
>
> I think this comment is off-topic.
It did, however, produce the best fit of surpris...
spatulasnout (B Kelly)
06:05 AM Bug #5625 (Third Party's Issue): Remove profanity and pejoratives
Parenting is outside the scope of ruby source code. Offensive words are contextual, and only a parent can teach thei... tenderlovemaking (Aaron Patterson)
03:16 AM Bug #5625: Remove profanity and pejoratives
Excuse me for commenting on a comment (double-commenting?) second time (doubly double-commenting?), but i think the i... alexeymuranov (Alexey Muranov)
01:56 AM Bug #5625: Remove profanity and pejoratives
If a child is intelligent enough to read and understand advanced C code in the Ruby interpreter, then shouldn't he/sh... mdalessio (Mike Dalessio)
01:54 AM Bug #5625: Remove profanity and pejoratives
Nikolai Weibull wrote:
> On Sun, Nov 13, 2011 at 13:54, Andrew Grimm <[email protected]> wrote:
> >
> > I...
alexeymuranov (Alexey Muranov)
08:05 PM Feature #5630 (Rejected): Missing custom transfer modes in Net::FTP
Net::FTP supports binary and text transfer modes only but some systems support another modes. For example, EBCDIC mod... Lavir_the_Whiolet (Lavir the Whiolet)
05:02 PM Revision 66f8e8bb (git): revert r33752 and fix test case based [ruby-dev:44866].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
04:10 PM Revision 40ca7a22 (git): * test/ruby/test_io.rb (test_fcntl_dupfd): fix test error on
SnowLeopard.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
04:00 PM Revision e1440769 (git): * 2011-11-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:00 PM Revision 61fe9d5c (git): added a description of NUM2SHORT() to NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
03:29 PM Feature #5583: Optionally typing
Hi,

In message "Re: [ruby-core:41006] [ruby-trunk - Feature #5583] Optionally typing"
on Mon, 14 Nov 2011...
matz (Yukihiro Matsumoto)
02:42 PM Feature #5583 (Open): Optionally typing
Let's continue this discussion as not a joke. sorah (Sorah Fukumori)
02:23 PM Feature #5583: Optionally typing
I like this idea, and I cannot think this is a joke.
I believe Ruby should have optional typing system in the future...
mrkn (Kenta Murata)
12:34 PM Feature #5583: Optionally typing
I don't think it's dull. Actually I think it is obvious future direction. Type information can be very useful for mis... trans (Thomas Sawyer)
10:24 AM Feature #5583 (Rejected): Optionally typing
No one comments on this issue for a week so that this is rejected. I'm sorry for proposing a dull issue and I'll be ... technohippy (Yasushi ANDO)
01:06 PM Revision b848d4f9 (git): * ext/openssl/ossl_pkey.c (ossl_pkey_new_from_file): set close-on-exec
flag.
* ext/openssl/ossl_x509cert.c (rb_fd_fix_cloexec): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
akr (Akira Tanaka)
11:22 AM Revision 158a828c (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:20 AM Feature #5588: add negation flag (v) to Regexp
I have explained this implementation in more detail on my blog:
http://snk.tuxfamily.org/log/oniguruma-negated-reg...
sunaku (Suraj Kurapati)
06:27 AM Feature #5588: add negation flag (v) to Regexp
I beautified my patches so they are easier to understand (especially the additions to test_regexp.rb in Ruby's test s... sunaku (Suraj Kurapati)
08:17 AM Revision 958caf18 (git): * ext/-test-/num2int/num2int.c: should return valid values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:32 AM Bug #5627 (Closed): [ASYNC BUG] thread_timer: select
Here is a link to a video for the bug: http://www.youtube.com/watch?v=T9-zLOThxds
--------------------------------...
jduckett01 (Jeff Duckett)
05:56 AM Revision ed681d3a (git): * bignum.c (rb_big2ull): fix 32bit platform breakage. we must
not assume sizeof(VALUE) == sizeof(LONG_LONG).
* test/-ext-/num2int/test_num2int.rb (class TestNum2int):
fix false ...
kosaki (Motohiro KOSAKI)
05:53 AM Revision 302220a8 (git): * numeric.c (rb_fix2ushort): fix typo. use num rb_num2ushort()
instead of num2uint().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:50 AM Bug #5626 (Closed): io/console: Cannot disable raw mode
There doesn't seem to be a way to disable tty raw mode from within a Ruby script. The tty can be stuck in raw mode on... mistydemeo (Misty De Meo)
05:38 AM Bug #5244: Continuation causes Bus Error on Debian sparc
Does it work if you replace ("flushw" : : : "%o7") with just ("flushw")? If it is, then it just has to be protected b... jurij (Jurij Smakov)
03:55 AM Revision 9debadd9 (git): * include/ruby/ruby.h: add #ifdef comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
03:54 AM Revision b2a2ba11 (git): * include/ruby/ruby.h: add NUM2SHORT(), NUM2USHORT() macros.
* numeric.c: ditto.
* test/-ext-/num2int/test_num2int.rb: add testcases for NUM2SHORT().
* ext/-test-/num2int/num2in...
kosaki (Motohiro KOSAKI)
03:51 AM Revision d3437b7c (git): * bignum.c (rb_big2ull): fix off-by-twice bug of NUM2ULL.
* test/-ext-/num2int/test_num2int.rb (class TestNum2int):
fix a testcase too.
git-svn-id: svn+ssh://ci.ruby-lang...
kosaki (Motohiro KOSAKI)
03:47 AM Revision 11137bed (git): * test/-ext-/num2int/test_num2int.rb (class TestNum2int):
add FIXNUM tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:45 AM Revision 15102dac (git): * 2011-11-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 AM Revision 74a13c76 (git): * numeric.c (check_uint): fix off-by-one bug of NUM2UINT.
* bignum.c (rb_big2ulong): fix off-by-one bug of NUM2ULONG.
* test/-ext-/num2int/test_num2int.rb: add a testcase for...
kosaki (Motohiro KOSAKI)

11/13/2011

10:23 PM Bug #5625: Remove profanity and pejoratives
On Sun, Nov 13, 2011 at 13:54, Andrew Grimm <[email protected]> wrote:
>
> Issue #5625 has been reported by...
now (Nikolai Weibull)
10:13 PM Bug #5625 (Assigned): Remove profanity and pejoratives
naruse (Yui NARUSE)
09:54 PM Bug #5625 (Third Party's Issue): Remove profanity and pejoratives
There are currently 6 lines with the f-word, 4 lines with "wtf" that weren't just random combinations of letters, and... agrimm (Andrew Grimm)
08:27 PM Bug #5619: Segfault on OS X
Here's what I get running valgrind. Let me know if I should enable some extra checks. mutru (Otto Hilska)
07:52 PM Feature #5555: rename #include? to #includes?
Andrew Grimm wrote:
> The spelling chosen was deliberate, according to this 2001 email http://blade.nagaokaut.ac.jp/c...
alexeymuranov (Alexey Muranov)
07:23 AM Feature #5555: rename #include? to #includes?
> ----------------------------------------
> Feature #5555: rename #include? to #includes?

My personal prefer...
Anonymous
12:53 AM Feature #5555: rename #include? to #includes?
I agree.



Michel Demazure (French)

[email protected]



De : Yehuda Katz [mailto:[email protected]] ...
Anonymous
12:23 AM Feature #5555: rename #include? to #includes?
I'm personally willing to accept the "no third person singular" rule at
this point, given the history.

Yehuda...
wycats (Yehuda Katz)
06:59 PM Feature #5588: add negation flag (v) to Regexp
I fixed the 'v' flag parsing in literal regexps: the problem was the value of ONIG_OPTION_NEGATE that I chose (0x100... sunaku (Suraj Kurapati)
03:14 PM Bug #5244: Continuation causes Bus Error on Debian sparc
In Solaris10, with Sun Studio 11 cc, with 64-bit compile option -xarch=v9, compile error occur with the patch.
co...
ngoto (Naohisa Goto)
02:47 PM Revision 416778c5 (git): * ext/dbm/extconf.rb: use convertible_int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:46 PM Revision a0146d1e (git): * lib/mkmf.rb (checking_for): should not modify the result.
* lib/mkmf.rb (have_struct_member): accept compiler opttions.
* lib/mkmf.rb (convertible_int): add restricted support...
nobu (Nobuyoshi Nakada)
02:22 PM Revision 4b01d611 (git): * ext/gdbm/gdbm.c (fgdbm_reorganize): set close-on-exec flag after
gdbm_reorganize(). gdbm_reorganize() opens a new database internally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
akr (Akira Tanaka)
12:32 PM Revision abe61eb0 (git): update comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:58 AM Revision bfed16a2 (git): * ext/dbm/extconf.rb: rollback for each headers for each libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:02 AM Bug #5624 (Closed): Mismatch between code example and its description in text in Regexp documentation
I found that in Regexp.html (doc/re.rdoc) under the heading Performance there is the description:
"Consider a ...
jlamberg (Jarno Lamberg)
07:25 AM Revision e8ca9cc3 (git): * ext/dbm/extconf.rb: treat libc as a choice for a library which
provide ndbm API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:41 AM Revision 3e5bff7e (git): * ext/dbm/extconf.rb: duplicate $libs and $defs when save them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:09 AM Feature #5578 (Rejected): Embedded YAML for Ruby 2.0
tenderlovemaking (Aaron Patterson)
03:47 AM Revision 2b2ef5cf (git): * ext/dbm/extconf.rb: rollback $libs and $defs when db detection is
failed. It fixes -lgdbm -lqdbm when the system has qdbm and gdbm
without gdbm_compat.
git-svn-id: svn+ssh://ci....
akr (Akira Tanaka)
03:03 AM Bug #5135 (Closed): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
This issue was solved with changeset r33730.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
kosaki (Motohiro KOSAKI)
02:43 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
Chikanaga さんのレビューコメントを反映し、r33728 をコミットしました。
kosaki (Motohiro KOSAKI)

11/12/2011

11:44 PM Feature #5623 (Closed): [PATCH] Update documentation for Complex
Add documentation to Complex sdaubert (Sylvain Daubert)
11:23 PM Feature #5622 (Closed): [PATCH] Update documentation for BigDecimal
Adding documentation for BigDecimal::INFINITY, BigDecimal::Nan, BigDecimal#hash, BigDecimal#-@ and BigDecimal#+@ sdaubert (Sylvain Daubert)
09:14 PM Feature #5555: rename #include? to #includes?
The spelling chosen was deliberate, according to this 2001 email http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ru... agrimm (Andrew Grimm)
08:04 PM Feature #5578: Embedded YAML for Ruby 2.0
> Does YAML end by "..." in middle of a line?
No. It only ends when flush left.
trans (Thomas Sawyer)
05:51 PM Feature #5578: Embedded YAML for Ruby 2.0
Does YAML end by "..." in middle of a line? nobu (Nobuyoshi Nakada)
03:54 PM Feature #5578: Embedded YAML for Ruby 2.0
Hi Thomas, this is a stunning idea for me! I attached my patches of bad quality to add the yaml literal to ruby1.9.3... technohippy (Yasushi ANDO)
06:50 PM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
なかださんがミスを直してくれました。
r33724, r33727 も追加で。
kosaki (Motohiro KOSAKI)
11:35 AM Bug #5429 (Assigned): 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
r33711 - r33721 のバックポートを依頼します kosaki (Motohiro KOSAKI)
11:24 AM Bug #5429 (Closed): 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
This issue was solved with changeset r33716.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is...
kosaki (Motohiro KOSAKI)
06:26 PM Feature #5588: add negation flag (v) to Regexp
The double-printing of ENCLOSE_OPTION node was a bug in Oniguruma 5.9.2 and not in my code, for once! ;) I have subm... sunaku (Suraj Kurapati)
05:31 PM Feature #5588: add negation flag (v) to Regexp
I have updated my patch to emit a single OP_NEGATE opcode after the negated embedded regexp (?v:...). This opcode do... sunaku (Suraj Kurapati)
06:03 PM Revision d3fc4ae7 (git): * test/webrick/test_cgi.rb (class TestWEBrickCGI): respect
RbConfig::CONFIG["LIBPATHENV"]. [Bug #5135] [ruby-core:38653]
* test/webrick/test_filehandler.rb (class WEBrick): dit...
kosaki (Motohiro KOSAKI)
05:50 PM Feature #5562: Improvement of Windows IO performance
I found that TestOpen3#test_capture3_flip error goes away by below hack.
I think this hack is not so dangerous becau...
h.shirosaki (Hiroshi Shirosaki)
05:43 PM Revision d956e6db (git): * 2011-11-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:42 PM Revision 3aaf92b5 (git): * test/ruby/test_io.rb (test_fcntl_dupfd): skip if Fcntl::DUPFD
is not defined. Pointed out by CHIKANAGA Tomoyuki. Thanks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33728...
kosaki (Motohiro KOSAKI)
05:40 PM Bug #5619: Segfault on OS X
Seems libxml related finalizer issue.
nobu (Nobuyoshi Nakada)
03:06 AM Bug #5619: Segfault on OS X
Seems memory curruption issue.
Can you try valgrind or other memory error detection tools?
kosaki (Motohiro KOSAKI)
01:37 PM Feature #5612 (Closed): bootstraptestをCtrl-Cで止まるようにしたい
This issue was solved with changeset r33722.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby ...
kosaki (Motohiro KOSAKI)
11:08 AM Bug #5244: Continuation causes Bus Error on Debian sparc
Sorry for delay. I'll try on it Solaris10 with SUN cc, Fujitsu fcc and gcc, with 32 and 64-bit compiler options. ngoto (Naohisa Goto)
06:34 AM Bug #5244 (Assigned): Continuation causes Bus Error on Debian sparc
Goto-san, ping?
kosaki (Motohiro KOSAKI)
03:10 AM Bug #5244: Continuation causes Bus Error on Debian sparc
Dear Ruby developers,
Could you follow up on this issue?
The fix that was commited is not correct, as explained i...
lucas (Lucas Nussbaum)
09:47 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
Apparently, I don't have a "practical and real world usecase" as a change in the behavior of running RubySpec doesn't... brixen (Brian Shirai)
08:26 AM Revision 80c32b23 (git): * io.c (do_ioctl, ioctl_narg_len, setup_narg, rb_ioctl): use
ioctl_req_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:23 AM Bug #3385: ext/dbm: accept various version of db
2010年6月3日23:38 Takahiro Kambe <[email protected]>:
> Bug #3385: ext/dbm: accept various version of db
> http...
akr (Akira Tanaka)
08:01 AM Revision 521f420a (git): * ext/dbm/extconf.rb (headers.db_check): reduce duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:50 AM Revision 0eb08aa0 (git): update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:49 AM Revision 99985789 (git): * ChangeLog, io.c: whitespace-cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:06 AM Revision df2e1f85 (git): * ext/dbm/extconf.rb: dbm_clearerr should be available in all ndbm
implementation. If it is not available, it is caused by
header/library mismatch such that Berkeley DB header & gdb...
akr (Akira Tanaka)
04:37 AM Revision 5c29d116 (git): * bootstraptest/runner.rb: don't suppress SIGINT.
[Feature #5612] [ruby-dev:44856]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33722 b2dd03c8-39d4-4d8f-98ff-8...
kosaki (Motohiro KOSAKI)
04:02 AM Feature #5607 (Feedback): Inconsistent reaction in Range of String
Ruby classes often play several roles, for example, Array can be array, stack or queue, according to usage of methods... matz (Yukihiro Matsumoto)
02:48 AM Bug #5135 (Assigned): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
> Sorry, didn't notice I can use that, here is the proposed patch: https://gist.github.com/1357452
If nobody put o...
kosaki (Motohiro KOSAKI)
02:33 AM Revision 33817fbc (git): * io.c (fcntl_narg_len): introduce narg calculation for fcntl instead
of hard coded 256.
* io.c (setup_narg): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33721 b2dd03c8-39...
kosaki (Motohiro KOSAKI)
02:32 AM Revision 632652a2 (git): * test/ruby/test_io.rb (test_fcntl_dupfd): add another fcntl test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:31 AM Revision f2708ce3 (git): * test/ruby/test_io.rb (test_fcntl_lock_freebsd): add a testcase
of fcntl lock for freebsd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33719 b2dd03c8-39d4-4d8f-98ff-823fe69...
kosaki (Motohiro KOSAKI)
02:29 AM Revision 791f5449 (git): * io.c (ioctl_narg_len): Linux doesn't have IOCPARM_LEN macro, but
has _IOC_SIZE. support it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33718 b2dd03c8-39d4-4d8f-98ff-823fe69...
kosaki (Motohiro KOSAKI)
02:27 AM Revision b3027d59 (git): * io.c (rb_ioctl): don't expose our sanity check value to ruby script.
It may change string value meaning if the value is string.
(e.g. MacOS X has F_GETPATH ioctl)
* io.c (rb_fcntl): d...
kosaki (Motohiro KOSAKI)
02:24 AM Revision 7e2f0491 (git): * io.c (ioctl_req_t): Type of req argument of ioctl() depend on platform.
Moreover almost all linux ioctl can't be represented by 32bit integer
(i.e. MSB is 1). We need wrap ioctl argument ...
kosaki (Motohiro KOSAKI)
02:17 AM Revision fc7bb927 (git): * io.c (struct io_cntl_arg): remove io_p member.
* io.c (nogvl_fcntl, do_fcntl, rb_fcntl): separated from ioctl functions.
* io.c (nogvl_io_cntl): remove fcntl depend...
kosaki (Motohiro KOSAKI)
02:12 AM Revision f13d10a0 (git): * io.c (setup_narg): fix off by one bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:09 AM Revision eec252e2 (git): * io.c (+setup_narg): factor out length calculation logic.
* io.c (rb_io_ctl): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33713 b2dd03c8-39d4-4d8f-98ff-823fe69...
kosaki (Motohiro KOSAKI)
02:06 AM Revision 6ed2a4df (git): * 2011-11-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:06 AM Revision 9d16ad63 (git): * io.c (+ioctl_narg_len) new helper function.
* io.c (rb_io_ctl): don't use ioctl specific length check
if caller is fcntl.
git-svn-id: svn+ssh://ci.ruby-lang...
kosaki (Motohiro KOSAKI)
01:20 AM Bug #5620 (Closed): (Net::IMAP::ResponseParseError) unexpected token LBRA (expected SPACE)
We have a found an issue with one of the IMAP servers ( IMAP4rev1) we connect to:
(Net::IMAP::ResponseParseError) ...
art.lussos (art lussos)

11/11/2011

11:18 PM Bug #5619 (Closed): Segfault on OS X
When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.
Here's how to reproduce:
$ rvm use 1.9.3
$ git ...
mutru (Otto Hilska)
10:49 PM Bug #5618 (Closed): Exceptions cause DRb connection to be closed
If an exception is thrown in a DRb server of a class that is not defined in the client process, the DRb connection is... larsch (Lars Christensen)
10:12 PM Feature #5617 (Assigned): Allow install RubyGems into dediceted directory
Hello,
I would like to propose my patch, which allows to optionally install RubyGems library into dedicated direct...
vo.x (Vit Ondruch)
07:51 PM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
I have just discovered that there is Range#cover? method which works how i would expect Range#include? to work. ... alexeymuranov (Alexey Muranov)
06:38 PM Feature #5607: Inconsistent reaction in Range of String
Anonymous wrote:
> Yes, but if "X < AB" is false, "X" should not be *between* "A" and "AB".
>
> _md
I agree. `(...
alexeymuranov (Alexey Muranov)
04:23 AM Feature #5607: Inconsistent reaction in Range of String
Yes, but if "X < AB" is false, "X" should not be *between* "A" and "AB".

_md

-----Message d'origine-----
De ...
Anonymous
02:14 AM Feature #5607: Inconsistent reaction in Range of String
This behavior of range seems consistent with
"X"<"AB" # => false
in Ruby 1.9.3.
alexeymuranov (Alexey Muranov)
06:33 PM Bug #5616 (Closed): * /lib/net/imap.rb exception in IMAP.new when get_response returns nil
The error occurred in ruby 1.8.7 when connecting to a buggy IMAP server. The error message was: Undefined method 'nam... boelen (Edsard Boelen)
05:02 PM Bug #5615 (Rejected): A memory leak in hash.c on Solaris (and every environment which defines __sun)
putenv(3)は引数で与えたポインタをそのまま使うので、この時点では解放することができません。
ちなみに、該当部分の少し上で(現時点のtrunkなら2297行目)
if (!in_origenv(str)) free...
usa (Usaku NAKAMURA)
02:56 PM Bug #5615 (Rejected): A memory leak in hash.c on Solaris (and every environment which defines __sun)
Reproducing steps: I didn't test the patch. Please do.
Result of `ruby -v`: ruby 2.0.0dev (2011-11-11 trunk 33704) [...
Anonymous
04:50 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
Nobuyoshi Nakada wrote:
> You should use RbConfig::CONFIG["LIBPATHENV"] instead of hardcoded "LD_LIBRARY_PATH".
S...
Anonymous
02:24 AM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
You should use RbConfig::CONFIG["LIBPATHENV"] instead of hardcoded "LD_LIBRARY_PATH". nobu (Nobuyoshi Nakada)
02:17 PM Bug #5614 (Closed): Proc#source_location & #inspect shows wrong line number when chained
When procs are chained, the line number for each proc is mis-calculated to be the 1st proc's line-number.
Eg.
...
ngtzeyang (TzeYang Ng)
02:01 PM Revision db48bbdf (git): * ext/dbm/extconf.rb: db_prefix is not required now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:21 PM Feature #5613 (Closed): Signal.termsigname メソッドの追加
現状、$?.termsigでシグナル番号が得られますが番号なんかもらってもちっとも嬉しくなく、
(シグナル番号はポータブルじゃないから)結局
signame = Signal.list.invert[$?.termsig]
...
kosaki (Motohiro KOSAKI)
01:12 PM Feature #5612: bootstraptestをCtrl-Cで止まるようにしたい
バグってた。こうかな?
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index df58ca5..eaed292 100755
--- a/b...
kosaki (Motohiro KOSAKI)
11:07 AM Feature #5612 (Closed): bootstraptestをCtrl-Cで止まるようにしたい
タイトルのとおりですが、make test が途中でやめたくなっても(テストを始めた所でバグに気づくとかよくありますよね?)
Ctrl-Cが効かなくてイライラします。
ようするにSEGVを 'E' にするために、握りつぶしてる...
kosaki (Motohiro KOSAKI)
12:14 PM Revision 268f6c36 (git): * ext/gdbm/gdbm.c (fgdbm_initialize): use GDBM_CLOEXEC if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:03 PM Revision 266d0983 (git): * ext/dbm/extconf.rb: fix dbm_pagfno and dbm_dirfno detection with
Berkeley DB. Macro definitions needs arguments to detect correctly.
SIZEOF_DSIZE needs -DDB_DBM_HSEARCH because db...
akr (Akira Tanaka)
11:08 AM Feature #5562: Improvement of Windows IO performance
> I checked "make test". It passed with no fails.
Good.
> Although I don't understand I/O canceling support mec...
usa (Usaku NAKAMURA)
10:48 AM Feature #5562: Improvement of Windows IO performance
> # BTW, did you check "make test"?
> # especially, bootstaptest/test_io.rb
I checked "make test". It passed wit...
h.shirosaki (Hiroshi Shirosaki)
10:12 AM Feature #5562 (Assigned): Improvement of Windows IO performance
Since this patch should repeal the existing I/O canceling support mechanism,
I am anxious about influence unexpected...
usa (Usaku NAKAMURA)
04:16 AM Feature #5562: Improvement of Windows IO performance
Hiroshi Shirosaki wrote:
> I'm not sure how to do with test-all. mingw ruby seems not to pass all tests.
That is ...
luislavena (Luis Lavena)
01:23 AM Feature #5562: Improvement of Windows IO performance
I'm not sure how to do with test-all. mingw ruby seems not to pass all tests.
Anyway I tried to make test-all.
If r...
h.shirosaki (Hiroshi Shirosaki)
09:42 AM Revision 6cedbce8 (git): * process.c (proc_seteuid): separate an internal wrapper function
from the method implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33707 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
09:00 AM Feature #5588: add negation flag (v) to Regexp
Allow me to explain the current embedded negated regexp implementation.
When parsing an embedded negated regexp (?...
sunaku (Suraj Kurapati)
08:38 AM Feature #5588: add negation flag (v) to Regexp
I did it! ^_^ Please take a look:
https://github.com/sunaku/ruby/compare/5588_regexp_v
There are a few issues ...
sunaku (Suraj Kurapati)
08:40 AM Feature #5610: Allow strings as input for Process.uid=
The request looks make sense to me.
kosaki (Motohiro KOSAKI)
06:20 AM Feature #5610: Allow strings as input for Process.uid=
Oops, sorry. Not a bug, but a feature request. Hmm not sure how to change it ... shevegen (Robert A. Heiler)
06:19 AM Feature #5610 (Closed): Allow strings as input for Process.uid=
On my unix system I often have a "debug" user account, belonging to the "debug" group.
With:
Process.euid
...
shevegen (Robert A. Heiler)
08:21 AM Revision 214fd6ce (git): * lib/mkmf.rb (have_library, find_library, have_func): allow
arguments of function to be checked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33706 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
08:09 AM Revision 05e73548 (git): * vm_dump.c (HAVE_BACKTRACE): fallback to 0.
* vm_dump.c (rb_vm_bugreport): show "Other runtime information"
header only when available.
* vm_dump.c (rb_vm_bugr...
nobu (Nobuyoshi Nakada)
07:19 AM Bug #5611 (Closed): Segfault in net/http.rb
=begin
Running a rails app with ruby 1.9.3, rails 3.1.1, with omniauth 1.0.0 and omniauth-facebook 1.0.0, I get th...
ccocchi (Christopher Cocchi)
03:41 AM Revision 0d746627 (git): * io.c (pipe_open): Remove fflush(stdin). it's no effect.
Pointed out by Ikegami Daisuke <[email protected]>.
Thank you.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
kosaki (Motohiro KOSAKI)
03:35 AM Revision 688e1b34 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

11/10/2011

11:44 PM Feature #5562: Improvement of Windows IO performance
Thank you and I will try `make test-all TESTS='-v'`
From my perspective, our challenge is to prove the patch works...
jonforums (Jon Forums)
03:24 PM Feature #5562: Improvement of Windows IO performance
Jon, thank you for your work.
I have same difficulty. I have two error dialogs while 'make test-all'. I have to clic...
h.shirosaki (Hiroshi Shirosaki)
06:52 AM Feature #5562: Improvement of Windows IO performance
I'm having a very difficult time getting you `make test-all` comparisons because of these types of failures
http...
jonforums (Jon Forums)
11:35 PM Revision da7cefb0 (git): * 2011-11-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:35 PM Revision 661a936e (git): * lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): Use symbol keys instead
of string keys to avoid duplicating parameters in
OpenSSL::SSL:SSLContext#set_params.
git-svn-id: svn+ssh://ci.ru...
drbrain (Eric Hodel)
10:35 PM Bug #5608 (Open): make -j 16 sometimes fail
naruse (Yui NARUSE)
07:55 PM Bug #5608 (Assigned): make -j 16 sometimes fail
naruse (Yui NARUSE)
07:41 PM Bug #5608 (Closed): make -j 16 sometimes fail
configureの後make -j 大きい数字でコンパイルすると時々失敗するようです。
make -j 16で3回やって2回失敗でした。
(試行の度にrm -fr ruby-1.9.3-p0して再度展開しています)
2回目...
tomoakin (Tomoaki Nishiyama)
09:53 PM Feature #5607: Inconsistent reaction in Range of String
See #2323. In particular, in note 2, Matz acknowledges that the situation is muddled when it comes to Ranges specifie... hasari (Hiro Asari)
09:23 PM Feature #5607: Inconsistent reaction in Range of String
It should be forbidden to have a Class (here Range) whose instance
methods are linked by variable axiomatic relati...
Anonymous
08:12 PM Feature #5607: Inconsistent reaction in Range of String
Hi,
This is indeed surprising.
Range#to_a is calling Range#each which has a special case for Strings to call Stri...
Eregon (Benoit Daloze)
06:46 PM Feature #5607 (Closed): Inconsistent reaction in Range of String
=begin
When I tried to access excel file, I found some inconsistent behavior about range of string.
ruby-1.9.3-p...
maso (Yen-Nan Lin)
05:37 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
Bohuslav Kabrda wrote:
> I believe that I have found a solution to this problem. The proposed patch is in the attach...
Anonymous
05:19 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
Vit Ondruch wrote:
> Motohiro KOSAKI wrote:
> > > Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. usi...
Anonymous
05:19 PM Feature #5606: String#each_match(regexp)
長い配列中のモチーフの存在位置のリストを作りたいので、位置(offset)が必要です。
String#scan ではダメかというと
longstring.scan(regex) do |matchstr|
m...
tomoakin (Tomoaki Nishiyama)
02:48 PM Feature #5606: String#each_match(regexp)
String#scan ではダメな理由を、ユースケースを添えて示す必要があると思います。 naruse (Yui NARUSE)
02:36 PM Feature #5606 (Feedback): String#each_match(regexp)
文字列上の正規表現に一致する場所のoffsetを順に処理できるような
イテレータが欲しかったのですが、
ざっと検索すると1996年
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/rub...
tomoakin (Tomoaki Nishiyama)
01:08 PM Bug #5591: Windows bug when using "shortcut" syntax with output redirection
I can reproduce this issue with trunk on Windows XP.
The changeset r33692 solves this bug too.
On Windows XP, f...
phasis68 (Heesob Park)
12:46 PM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
よく見たら、fcntlのときに IOCPARM_LEN を呼んでるのはバグですね。ioctlのcmdしか IOCPARM_LEN でデコードできません。これが動くのはfcntlの引数にstring渡す人が一人もいなかったからでしょうね。 kosaki (Motohiro KOSAKI)
08:10 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
fcntl は全プラットフォーム int のようである。めでたい
== Linux
int fcntl(int fd, int cmd, ... /* arg */ );
https://www.kernel.org/doc...
kosaki (Motohiro KOSAKI)
07:37 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
途中までやってみましたが、ioctlはunsigned longでもfcntl はintなので、もうちょっと工夫がいりますね。 kosaki (Motohiro KOSAKI)
12:29 PM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
Eric Hodel <[email protected]> wrote:
> For the chunked? half, would looping over
> (({IO.copy_stream f, sock...
normalperson (Eric Wong)
10:47 AM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
=begin
For the chunked? half, would looping over (({IO.copy_stream f, sock.io, 1024})) be faster?
=end
drbrain (Eric Hodel)
09:55 AM Feature #5605 (Closed): [PATCH] net/http: use IO.copy_stream for requests using body_stream
This significantly reduces both user and system CPU usage in the
client while making uploads. When using plain HTTP...
normalperson (Eric Wong)
11:39 AM Revision e68f4ac7 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:23 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
> The use case is any reason someone would send a signal to the process group but not want the parent process to abo... kosaki (Motohiro KOSAKI)
03:27 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
The use case is any reason someone would send a signal to the process group but not want the parent process to abort.... brixen (Brian Shirai)
02:21 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
In addition, signal handler is per-process resource. iow, changing sighandler is thread unsafe. then, we don't want u... kosaki (Motohiro KOSAKI)
02:20 AM Bug #5556 (Feedback): SIGHUP no longer ignored when sent to process group from a subprocess
kosaki (Motohiro KOSAKI)
02:19 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
> Is this change intentional? I discovered it running RubySpec, where there are specs for the behavior of sending SIG... kosaki (Motohiro KOSAKI)
11:23 AM Feature #5341: Add SSL session reuse to Net::HTTP
On Oct 26, 2011, at 6:06 AM, Hiroshi Nakamura wrote:
> On 10/26/2011 11:39 AM, Eric Hodel wrote:
>> Net::HTTP obje...
drbrain (Eric Hodel)
10:32 AM Feature #5588: add negation flag (v) to Regexp
Alas, I was unable to resist the lure of implementing this, so I'm back to give this another try.
My current appro...
sunaku (Suraj Kurapati)
09:46 AM Feature #5588: add negation flag (v) to Regexp
After several deep excursions into the regexp codebase, I've had enough. :)
As Tanaka(!) showed in 2007, negative ...
sunaku (Suraj Kurapati)
08:37 AM Bug #5604 (Closed): Remove extra ":" in errors created by ossl_raise
Callers of ossl_raise do not need to provide a ":" at the end of the error string because ossl_raise calls ossl_make_... drbrain (Eric Hodel)
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Aaron Patterson <[email protected]> wrote:
> I spoke with matz about this issue at RubyConf. I *think* he ...
normalperson (Eric Wong)
06:43 AM Revision 6c9a2359 (git): * ext/dbm/extconf.rb: set DB_DBM_HSEARCH macro to check dbm_pagfno and
dbm_dirfno on older Debian.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33699 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
06:43 AM Revision fb1836ab (git): * ext/dbm/extconf.rb: check for dsize as LONG_LONG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:13 AM Revision fc5f37f0 (git): * lib/mkmf.rb (try_func): ignore empty opts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:02 AM Revision cfe220d8 (git): * lib/mkmf.rb (have_library, have_func, have_var, have_header):
add compiler option parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33696 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
05:56 AM Bug #5493: Commit r33357 breaks build on Debian/sparc
I've noticed that a failure to create a timer thread causes the following to appear in dmesg:
[ 2047.656289] FAULT...
jurij (Jurij Smakov)
02:22 AM Bug #5082 (Closed): test_context_switch(TestMarshal) was failed on OS X 10.7 (Lion)
llvm-gcc はサポートしないと決定されたほうですので、closeします kosaki (Motohiro KOSAKI)

11/09/2011

11:45 PM Revision a5fc87bd (git): * ext/openssl/lib/openssl/ssl.rb (class OpenSSL::SSL::SSLContext):
Document #set_params.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:23 PM Bug #5591: Windows bug when using "shortcut" syntax with output redirection
Couldn't reproduce with 2.0.0 r32684 on Windows 7. nobu (Nobuyoshi Nakada)
06:38 PM Feature #5588: add negation flag (v) to Regexp
You are correct, Tanaka. I have been exploring the regexp implementation to understand why and I learned that the ne... sunaku (Suraj Kurapati)
09:53 AM Feature #5588: add negation flag (v) to Regexp
2011/11/9 Suraj Kurapati <[email protected]>:

> * We can pass '(?v:)' in embedded regexp but it does not take ef...
akr (Akira Tanaka)
08:32 AM Feature #5588: add negation flag (v) to Regexp
I tried to implement this feature in this patch:
https://github.com/sunaku/ruby/commit/79305ba55c7ece5501c9219942eaf...
sunaku (Suraj Kurapati)
06:20 PM Feature #5578: Embedded YAML for Ruby 2.0
Count me in on the "Nay" side: I strongly agree with Nikolai's and Alexey's points. Ruby as a language is already quo... angdraug (Dmitry Borodaenko)
05:30 AM Feature #5578: Embedded YAML for Ruby 2.0
I think that when two different languages are used in a same source file, especially a whitespace sensitive one and a... alexeymuranov (Alexey Muranov)
05:23 AM Feature #5578: Embedded YAML for Ruby 2.0
On Tue, Nov 8, 2011 at 19:29, Thomas Sawyer <[email protected]> wrote:

> @kurt "Why does YAML need first class ...
now (Nikolai Weibull)
04:29 AM Feature #5578: Embedded YAML for Ruby 2.0
On Nov 8, 2011, at 15:29 , Thomas Sawyer wrote:

>
> Issue #5578 has been updated by Thomas Sawyer.
>
>
> @...
rkh (Konstantin Haase)
04:21 AM Feature #5578: Embedded YAML for Ruby 2.0
=begin
This is valid ruby code:
x = ---
a
This is valid YAML:
p YAML.load "---\na: -> { Time.now }...
drbrain (Eric Hodel)
03:29 AM Feature #5578: Embedded YAML for Ruby 2.0
@kurt "Why does YAML need first class status?"
On the surface it's just more elegant. e.g.
x = ---
...
trans (Thomas Sawyer)
01:23 AM Feature #5578: Embedded YAML for Ruby 2.0
On Tue, Nov 08, 2011 at 04:14:02AM +0900, Magnus Holm wrote:
> On Mon, Nov 7, 2011 at 16:30, Kurt Stephens <ks.rub...
Anonymous
05:10 PM Revision b5167b48 (git): * 2011-11-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:10 PM Revision 871c6923 (git): * thread_pthread.c (gvl_yield): don't prevent concurrent sched_yield().
[Bug #5130] [ruby-core:38647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33693 b2dd03c8-39d4-4d8f-98ff-823f...
kosaki (Motohiro KOSAKI)
02:44 PM Bug #5571 (Rejected): Syntax Error when put String eql? with logical operation ("||") or "("&&")
Yes, because command call (method call without parentheses) has lower precedence than || operator. nobu (Nobuyoshi Nakada)
02:23 PM Revision c88d3561 (git): * io.c (rb_update_max_fd): fstat(2) can fail with other than
EBADF. [ruby-dev:44837] [Bug #5593]. Cf.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat....
nobu (Nobuyoshi Nakada)
02:20 PM Revision 1393e55d (git): * io.c (rb_update_max_fd): fstat(2) can fail with other than
EBADF. [ruby-dev:44837] [Backport #4339]. Cf.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.htm...
nobu (Nobuyoshi Nakada)
01:54 PM Revision 42b4255d (git): * io.c (rb_sysopen): max fd is updated in rb_sysopen_internal()
already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:26 PM Bug #5526 (Closed): SEGV: ./ruby -rfiber -ve'f=Fiber.new{f.resume};f.transfer'
This issue was solved with changeset r33684.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr...
ko1 (Koichi Sasada)
01:26 PM Revision 3f289d92 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:15 PM Revision 7df246bd (git): * test/ruby/test_file.rb (TestFile#test_utime_with_minus_time_segv):
fixed previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:01 PM Bug #5598 (Feedback): man pages are in mdoc format
Doesn't `make install MANTYPE=man' work? nobu (Nobuyoshi Nakada)
11:40 AM Bug #5597 (Closed): ruby build isn't completely VPATH friendly
This issue was solved with changeset r33683.
Rainer, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
11:08 AM Revision 54cb6309 (git): * test/ruby/test_file.rb (TestFile#test_utime_with_minus_time_segv):
add test for r33685.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:48 AM Bug #5602 (Closed): io/console methods are not listed in top-level IO documentation
It's very hard to find the methods that apply to IO.console from the new 'io/console' library. mistydemeo (Misty De Meo)
10:32 AM Bug #5594 (Closed): test -e in configure is unportable
This issue was solved with changeset r33681.
Rainer, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
10:25 AM Bug #5595 (Third Party's Issue): Avoid QUIET = NO in Doxyfile
nobu (Nobuyoshi Nakada)
10:02 AM Revision 0c215e34 (git): * test/ruby/test_fiber.rb: add tests for r33684 (Fiber#resume).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:41 AM Bug #5532: Compile problem for bigdecimal on cygwin
Yes, exactly. And the problem went away when I cd'd back to /cygdrive/c/Data/ruby/. Many thanks again! duerst (Martin Dürst)
08:37 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
I have updated the patch against ruby-trunk:
https://github.com/sunaku/ruby/commit/137092768af325827f3d0764325713ec5...
sunaku (Suraj Kurapati)
07:43 AM Revision 572e4807 (git): * win32/win32.c (unixtime_to_filetime): should check the return value
of localtime(). reported by snowjail at gmail.com.
[ruby-dev:44838] [Bug #5596]
git-svn-id: svn+ssh://ci.ruby-la...
U.Nakamura
04:26 AM Revision 9cd8b76e (git): * cont.c (rb_fiber_m_transfer, rb_fiber_resume): prohibit using
"resume" after "transfer" method are used. You should not mix
"resume" fiber and "transfer" fiber.
[Bug #5526]
*...
ko1 (Koichi Sasada)
02:47 AM Bug #5600 (Assigned): OpenSSL::X509::Request can't sign() an OpenSSL::PKey::EC
MartinBosslet (Martin Bosslet)
02:36 AM Bug #5600 (Closed): OpenSSL::X509::Request can't sign() an OpenSSL::PKey::EC
Unlike the PKey::DSA and PKey::RSA classes, PKey::EC provides a private_key?() rather than private?() method and is t... scaligo (Steve Caligo)
02:40 AM Revision b2c44e7a (git): * template/Doxyfile.tmpl (INCLUDE_PATH): add srcdir and include.
[ruby-core:40843] [Bug #5597]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33683 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
02:13 AM Bug #5524 (Closed): IO.wait_for_single_fd(closed fd) sticks on other than Linux
This issue was solved with changeset r33677.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr...
naruse (Yui NARUSE)
02:10 AM Bug #5524: IO.wait_for_single_fd(closed fd) sticks on other than Linux
Motohiro KOSAKI wrote:
> なるせさんのテストプロは selectのmaxfds引数が間違っているので、動かないのは期待通りではないでしょうか。以下の修正をあててFreeBSDで
> 動かしてもらえませんか
...
naruse (Yui NARUSE)
01:40 AM Bug #5524 (Feedback): IO.wait_for_single_fd(closed fd) sticks on other than Linux
kosaki (Motohiro KOSAKI)
01:40 AM Bug #5524: IO.wait_for_single_fd(closed fd) sticks on other than Linux
なるせさんのテストプロは selectのmaxfds引数が間違っているので、動かないのは期待通りではないでしょうか。以下の修正をあててFreeBSDで
動かしてもらえませんか
~/projects/test/select_eb...
kosaki (Motohiro KOSAKI)
02:06 AM Revision b10c3136 (git): * thread.c (do_select): fix cast, tv_sec is time_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:52 AM Feature #5562: Improvement of Windows IO performance
Still looking great! I'm working on getting you profiling info and `test all` results/diffs.
Results for text lin...
jonforums (Jon Forums)
01:32 AM Revision e120e375 (git): * configure.in: should not use test -e for portability.
[ruby-core:40841] [Bug #5594]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33681 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
01:32 AM Revision f9188dea (git): property
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
On Tue, Nov 08, 2011 at 06:59:38AM +0900, Eric Wong wrote:
> Yehuda Katz <[email protected]> wrote:
> > Bug #5138: ...
Anonymous

11/08/2011

11:37 PM Feature #5584: Array#sample!
パッチをちょっと改善しました. (see by_sorah.diff)
* Array#sample, Array#sample! で処理が共通な部分が多いため,内部にさらに関数呼び出しを加え,フラグによって
動作の分岐をする...
sorah (Sorah Fukumori)
10:53 PM Feature #5584: Array#sample!
まつもと ゆきひろです

In message "Re: [ruby-dev:44825] Re: [ruby-trunk - Feature #5584][Open] Array#sample!"
on Mon...
matz (Yukihiro Matsumoto)
09:52 PM Feature #5584: Array#sample!
確かにpickだけだと無作為に取り出す感じがありませんね。
pick_at_rand あるいは delete_at_rand はどうでしょう?
Glass_saga (Masaki Matsushita)
09:48 PM Feature #5584: Array#sample!
じゃあsample!になりますかねぇ...
pick からは少なくとも無作為抽出な動作を感じ取ることはできないですね.
sorah (Sorah Fukumori)
09:46 PM Feature #5584: Array#sample!
「無作為抽出」は random sampling という用語がありますので、多少長くても Enumerable#random_sampling(n) ぐらいが適切かと思います。
#sample! が駄目で、#random_sampl...
hasari (Hiro Asari)
08:53 PM Feature #5584: Array#sample!
むらたです。

(2011.11.08 15:39 ), Masaki Matsushita wrote:
> Mon, 7 Nov 2011 22:53:21 Yusuke Endoh <mame tsg.ne.jp>...
mrkn (Kenta Murata)
03:39 PM Feature #5584: Array#sample!
Mon, 7 Nov 2011 22:53:21 Yusuke Endoh <mame tsg.ne.jp>:
>sample! という名前が最大のネックのようですので、他の名前をえるといいと思います。
思いつくものとしてはp...
Glass_saga (Masaki Matsushita)
12:53 AM Feature #5584: Array#sample!
近藤です

> 配列からランダムに要素を取り出したい場合には
>
> a = (1..5).to_a
> a.delete_at(rand(a.size)) #=> 3
> p a #=> [1, 2, 4...
Anonymous
11:35 PM Bug #5598 (Closed): man pages are in mdoc format
Unfortunately, the ruby man pages are in mdoc format (as detected by grog).
The Solaris man/nroff commands cannot de...
ro (Rainer Orth)
11:33 PM Bug #5597 (Closed): ruby build isn't completely VPATH friendly
While a VPATH build of ruby 1.9.2-p290 on Solaris 10 basically worked fine, I got
a couple of warnings that could (...
ro (Rainer Orth)
11:29 PM Bug #5595 (Third Party's Issue): Avoid QUIET = NO in Doxyfile
When building ruby 1.9.2-p290 on Solaris 10, the build aborted very late:
Doxyfile updated
Warning: ignoring unsu...
ro (Rainer Orth)
11:25 PM Bug #5594 (Closed): test -e in configure is unportable
When I tried to build ruby 1.9.2-p290 on Solaris 10 (both SPARC and x86), it failed with an
error in the configure s...
ro (Rainer Orth)
09:38 PM Bug #5532: Compile problem for bigdecimal on cygwin
Hi,
I noticed that the problem started when you executed "cd /cygdrive/c/Data/Ruby"
instead of "cd /cygdrive/c/D...
phasis68 (Heesob Park)
07:25 PM Bug #5532 (Closed): Compile problem for bigdecimal on cygwin
Hello Heesob,
Many thanks for solving this problem. You are right that it is about case differences in the path na...
duerst (Martin Dürst)
01:01 AM Bug #5532: Compile problem for bigdecimal on cygwin
I managed to reproduce this issue and found that it is due to the capital letter in the path name.
If you use capi...
phasis68 (Heesob Park)
07:54 PM Revision 4c63e027 (git): * ext/psych/lib/psych/tree_builder.rb: dump complex numbers,
rationals, etc with reference ids.
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* ext/psych/lib/psych/visitors/...
tenderlovemaking (Aaron Patterson)
06:32 PM Feature #5588: add negation flag (v) to Regexp
Hello Matz,
What do you mean by positional information:
* anchors (\A, ^, $, \G, etc.) ?
* capture-group numbe...
sunaku (Suraj Kurapati)
03:59 PM Feature #5588: add negation flag (v) to Regexp
I would suggest to deal with it a new (sub)class instead: arbitrary boolean combinations of regexps, without regard f... alexeymuranov (Alexey Muranov)
02:11 PM Feature #5588: add negation flag (v) to Regexp
How do you treat positional information with v flag? matz (Yukihiro Matsumoto)
01:54 PM Feature #5588: add negation flag (v) to Regexp
Good idea, but negative lookahead isn't the same as negation:
$ irb
## ruby 1.9.3p0 (2011-10-30 revision 33570) [...
sunaku (Suraj Kurapati)
11:53 AM Feature #5588: add negation flag (v) to Regexp
It is not to hard to negate a regexp, though. Simply wrap it as negative look-ahead.

Konstantin

On Nov 7, 2011...
rkh (Konstantin Haase)
11:04 AM Feature #5588: add negation flag (v) to Regexp
Note that I am not asking for the ability to take an arbitrary regexp and construct its negated form (that is a hard ... sunaku (Suraj Kurapati)
10:59 AM Feature #5588 (Closed): add negation flag (v) to Regexp
Please add a negation flag (v) to regexps which inverts them:
"ruby" =~ /perl/v #=> true (turn on negati...
sunaku (Suraj Kurapati)
06:00 PM Bug #5591 (Closed): Windows bug when using "shortcut" syntax with output redirection
How to reproduce:
---- snip ----
# test.rb
puts test
---- snip ----
Start Command Prompt with Ruby 1...
jwille (Jens Wille)
05:52 PM Bug #5497: Math.log10(10_000) error on HP-UX/PA
The Written Word Inc wrote:
> Yui NARUSE wrote:
> > The Written Word Inc wrote:
> > > (ia64)
> > > p Math....
naruse (Yui NARUSE)
05:13 PM Revision 7bb2da2e (git): * 2011-11-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:13 PM Revision 3d855def (git): FreeBSD 8.2 sticks this [ruby-dev:44726] [Bug #5524]
http://redmine.ruby-lang.org/issues/5524
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33677 b2dd03c8-39d4-4d8f-...
naruse (Yui NARUSE)
02:34 PM Revision 0e4c2ce8 (git): * ext/dbm/dbm.c (fdbm_fetch, fdbm_key, fdbm_delete, fdbm_store)
(fdbm_has_key, fdbm_has_value): get rid of overflow.
* ext/gdbm/gdbm.c (rb_gdbm_fetch2, rb_gdbm_nextkey)
(rb_gdbm_d...
nobu (Nobuyoshi Nakada)
02:31 PM Revision 4342469e (git): * addr2line.c (PATH_MAX): define if not defined. [ruby-core:40840]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:26 PM Revision ebe02802 (git): * ext/tk/tcltklib.c (rb_thread_critical): fix type.
* ext/tk/tcltklib.c (eventloop_sleep, lib_eventloop_core): int is
enough for micro seconds. may need to check over...
nobu (Nobuyoshi Nakada)
12:59 PM Feature #5590: Proposal for sustainable branch maintenance
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(2011/11/08 0:25), Yugui wrote:
>>> == Proposal Let's paralle...
Anonymous
12:41 PM Feature #5590 (Closed): Proposal for sustainable branch maintenance
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

== Background
I have been maintaining ruby_1_9_1 and...
yugui (Yuki Sonoda)
12:43 PM Feature #5589 (Rejected): Re: Proposal for sustainable branch maintenance
Wrong ticket. See #5590 instead for this subject. nahi (Hiroshi Nakamura)
12:40 PM Feature #5589 (Rejected): Re: Proposal for sustainable branch maintenance
>> * Another committer review the request. This reviewer checks if this
>>   commit is good enough and backport i...
kosaki (Motohiro KOSAKI)
11:51 AM Revision ddb9acd9 (git): * test/dbm/test_dbm.rb: split tests for read only database.
* test/gdbm/test_gdbm.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33673 b2dd03c8-39d4-4d8f-98ff-8...
akr (Akira Tanaka)
11:33 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
Hi,
I'm the author behind Slop. Although I never considered Slop to ever hit Ruby trunk I of course think it's a g...
injekt (Lee Jarvis)
10:23 AM Feature #5562: Improvement of Windows IO performance
Looks great so far. More info and profiling snapshot tomorrow, but here's what I get so far on my Win7 32bit:
C:\p...
jonforums (Jon Forums)
07:16 AM Feature #5562: Improvement of Windows IO performance
Thank you for your help.
Previous patch have a bug of IO.copy_stream. So, many errors have occurred in rubygems an...
h.shirosaki (Hiroshi Shirosaki)
10:04 AM Revision c2c07079 (git): * ext/pty/pty.c (MasterDevice): define only when used.
(SlaveDevice): ditto.
(deviceNo): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33672 b2dd03c8-39d4-4...
akr (Akira Tanaka)
09:02 AM Revision 4d365090 (git): * ext/-test-/old_thread_select/extconf.rb: ignore deprecated
declaration warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:59 AM Revision 6bb4ddcb (git): * include/ruby/ruby.h (rb_long2int): define as a macro always, so
that cpp conditionals can tell if it is provided.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33670 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
08:30 AM Revision 7c7514b2 (git): * lib/mkmf.rb (cpp_command): remove multiple -arch flags since cpp
cannot work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:26 AM Revision 452bf3b9 (git): * ext/pty/pty.c (get_device_once): FreeBSD 8 supported O_CLOEXEC flag
for posix_openpt, but FreeBSD 9's posix_openpt doesn't support
O_CLOEXEC and fails if specified.
git-svn-id: svn+s...
naruse (Yui NARUSE)
07:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Yehuda Katz <[email protected]> wrote:
> Bug #5138: Add nonblocking IO that does not use exceptions for EOF and EWO...
normalperson (Eric Wong)
05:52 AM Revision 53881a8c (git): * io.c (io_fwrite): call rb_w32_write_console() only if FMODE_TTY is
set. this is the one of the reason of IO writing slowness of Windows
in 1.9.3 or later.
git-svn-id: svn+ssh://ci...
U.Nakamura
05:50 AM Revision 1b79efbb (git): * ChangeLog: commit miss of r33662.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:23 AM Feature #5578: Embedded YAML for Ruby 2.0
On Mon, Nov 7, 2011 at 16:30, Kurt Stephens <[email protected]> wrote:
> Why does YAML need first class sta...
judofyr (Magnus Holm)
12:30 AM Feature #5578: Embedded YAML for Ruby 2.0
Why does YAML need first class status? Define a constructor on the YAML module, and use interpolating heredoc.
re...
kstephens (Kurt Stephens)
02:03 AM Revision ce19ae0e (git): * ext/pty/pty.c (get_device_once): FreeBSD's posix_openpt doesn't
support O_CLOEXEC and fails if specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33665 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
01:58 AM Bug #5559: Intermittent Seg fault when using net-ssh
I have created a minimal rails project that demonstrates the problem here:
https://github.com/kimptoc/samples-rail...
kimptoc (Chris Kimpton)
01:37 AM Bug #5576 (Closed): [Universal Newline]改行コードが"\r\n"で出力されない
禍根を残しそうなコードだが問題の対処にはなっているという事で、r33660にてバックポートしました。 tarui (Masaya Tarui)
 

Also available in: Atom