Project

General

Profile

Activity

From 08/23/2013 to 08/29/2013

08/29/2013

08:09 PM Feature #8833 (Feedback): [] IPAddr#pred
Add a IPAddr#pred method to return the predecessor of the ip address. iosctr (Brian Burns)
08:08 PM Feature #8793: Ruby 2.0 and Threads under HPUX
On systems, I have a access to, the vps_pagesize is set to 16.
> /usr/sbin/kctune -v vps_pagesize
Tunable ...
[email protected] (Michal Rokos)
03:08 PM Feature #8793: Ruby 2.0 and Threads under HPUX
Thank you.
I'm unsure about vps_pagesize and its default value, could you check it?
And, it might be better to us...
nobu (Nobuyoshi Nakada)
07:07 PM Feature #8823 (Feedback): Run trap handler in an independent thread called "Signal thread"
After discussion, I decide to reject this feature.
How about to permit Queue operation in trap handler with [ruby-...
ko1 (Koichi Sasada)
04:53 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
>> If you mean, trap handler automatically disable nested trap, we
>> already do since 1.9.3.
>
> That's what ...
kosaki (Motohiro KOSAKI)
03:28 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
> Alternatively, queue trap handler execution in VM and make them
> uninterruptible (at Ruby-level) when running. T...
kosaki (Motohiro KOSAKI)
06:54 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
I rewrite to use T_STRUCT instead of T_DATA (attached).
Matsushita-san:
Could you check it?
Issue:
With ext/t...
ko1 (Koichi Sasada)
02:43 PM Bug #8831 (Closed): test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write retry
There is a test-all error on some environments from r42695.
It seems depend on openssl's version.
http://www.ruby...
ko1 (Koichi Sasada)
01:06 PM Bug #8830 (Closed): Cannot Build Tk / Ruby 2.0.0 p247 on OSX (Mountain Lion)
nobu (Nobuyoshi Nakada)
09:40 AM Bug #8830 (Closed): Cannot Build Tk / Ruby 2.0.0 p247 on OSX (Mountain Lion)
The file ext/tk/extconf.rb seems to contain a typo (misplaced parenthesis line 318; see output of 'diff -u ' below.
...
mceruso (Marco Ceruso)
12:55 PM Revision a653ba0a (git): merge revision(s) 42720: [Backport #8829]
* ext/zlib/zlib.c (zstream_run): Fix handling of deflate streams that
need a dictionary but are being deco...
nagachika (Tomoyuki Chikanaga)
12:52 PM Bug #8730: "rescue Exception" rescues Timeout::ExitException
kosaki (Motohiro KOSAKI) wrote:
> > 具体的にはどのように解説されてどう利用されているんでしょうか。
>
> 残念ながら紙の書籍は手元にありませんが、
>
> 一番多いのは http:/...
nobu (Nobuyoshi Nakada)
01:53 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
> 具体的にはどのように解説されてどう利用されているんでしょうか。

残念ながら紙の書籍は手元にありませんが、

一番多いのは http://kwfsws.g.hatena.ne.jp/kiwofusi/201112...
kosaki (Motohiro KOSAKI)
12:50 PM Revision 6588ba87 (git): merge revision(s) 42724: [Backport #8238]
* vm_insnhelper.c (vm_call_method): a method entry refers the based
class/module, so should search supercla...
nagachika (Tomoyuki Chikanaga)
10:04 AM Bug #8656: Cannot Build Ruby-Tk
backported to ruby_2_0_0 by r42370. nagachika (Tomoyuki Chikanaga)
09:12 AM Revision 5da55dfc (git): * struct.c (rb_struct_define_without_accessor_under): added.
This function is similar to rb_define_class_under() against
rb_define_class().
* include/ruby/intern.h: add a decla...
ko1 (Koichi Sasada)
08:03 AM Revision 74b85189 (git): vm_insnhelper.c: fix zsuper in prepended
* vm_insnhelper.c (vm_call_method): a method entry refers the based
class/module, so should search superclass from ...
nobu (Nobuyoshi Nakada)
06:14 AM Feature #8811: Counterpart to `Hash#key?` for `Array`
phluid61 (Matthew Kerwin) wrote:
> matz (Yukihiro Matsumoto) wrote:
> > Concrete use-case please? Besides that, I ...
alexeymuranov (Alexey Muranov)
05:59 AM Feature #8827: A method that flips the receiver and the first argument
I think this request is mostly a duplicate of #6721. alexeymuranov (Alexey Muranov)
01:20 AM Revision 4cdb8fd7 (git): .gdbinit: improve for displaying class/module
* .gdbinit (rp_class): show class name, if possible.
* .gdbinit (rb_ancestors): call rp_class directly.
git-svn-id:...
nobu (Nobuyoshi Nakada)
01:20 AM Revision 5c143c97 (git): .gdbinit: follow classname() change
* .gdbinit (rb_classname): follow classname() change at r36584, which
hash second argument now. reported by 36584 ...
nobu (Nobuyoshi Nakada)
12:54 AM Revision e1e46c05 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

08/28/2013

09:05 PM Feature #8793: Ruby 2.0 and Threads under HPUX
Nobu, thank you for your effort. I am going to test trunk ruby soon and I will let you know. [email protected] (Michal Rokos)
05:20 PM Feature #8793 (Closed): Ruby 2.0 and Threads under HPUX
This issue was solved with changeset r42716.
Michal, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
08:41 PM Bug #8828 (Rejected): regex matching not correct
Your bug.
Lookbehind matches the preceding part, which matches \s* in your regexp.
nobu (Nobuyoshi Nakada)
05:25 PM Bug #8828 (Rejected): regex matching not correct
str = " [1]: http://google.com/ "Google""
str =~ /\A\s*\[(.+)\]\:\ (\S+)\s*((?<=&quot;).+(?=&qu...
jjyr (Jinyang Jiang)
08:36 PM Revision 9f2f1fcb (git): * ext/zlib/zlib.c (zstream_run): Fix handling of deflate streams that
need a dictionary but are being decompressed by Zlib::Inflate.inflate
(which has no option to set a dictionary). N...
drbrain (Eric Hodel)
05:55 PM Revision c94b0e85 (git): backport Tempfile.create so psych tests will run outside ruby trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:42 PM Revision 621c6dda (git): * 2013-08-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:42 PM Revision 48602d1d (git): * ext/psych/lib/psych/scalar_scanner.rb: invalid floats should be
treated as strings.
[Fixes GH-156] https://.com/tenderlove/psych/issues/156
* test/psych/test_string.rb: tes...
tenderlovemaking (Aaron Patterson)
01:48 PM Feature #8827: A method that flips the receiver and the first argument
charliesome, that has the same problem as nobu's. It does not return the final result. It gives back the receiver. sawa (Tsuyoshi Sawada)
01:38 PM Feature #8827: A method that flips the receiver and the first argument
=begin
some_chain_of_operations_that_ends_up_with_an_array.tap(&Hash.method(:[]))
=end
Anonymous
01:35 PM Feature #8827: A method that flips the receiver and the first argument
nobu, I think you mean `tap{|ary| break ...}`, etc. That does not look concise enough for me. It might look like a sm... sawa (Tsuyoshi Sawada)
01:30 PM Feature #8827: A method that flips the receiver and the first argument
=begin
You can write as:
some_chain_of_operations_that_ends_up_with_an_array.tap {|ary| Hash[ary]}
some_chain_of...
nobu (Nobuyoshi Nakada)
01:18 PM Feature #8827 (Closed): A method that flips the receiver and the first argument
=begin
If it often happens that we need to pass to a method an argument that is the result of a long chain of operat...
sawa (Tsuyoshi Sawada)
11:25 AM Bug #8792 (Closed): HP-UX needs sys/pstat.h for missing/setproctitle.c
This issue was solved with changeset r42713.
Michal, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
10:45 AM Feature #8825 (Feedback): Symbol Argument to any?
=begin
Do you mean it is same as this?
foo.any? {|e| e.bar}
=end
nobu (Nobuyoshi Nakada)
02:54 AM Feature #8825 (Rejected): Symbol Argument to any?
It would be nice if `any?` could take a symbol much like `map`. For example:
foo.any?(&:bar)
kyledecot (Kyle Decot)
08:20 AM Revision 806ddf67 (git): thread_pthread.c: get_stack on HP-UX
* thread_pthread.c (hpux_attr_getstackaddr): basic support for the
get_stack() under HP-UX. based on the by ...
nobu (Nobuyoshi Nakada)
08:20 AM Revision b7aa49b9 (git): thread_pthread.c: dup code
* thread_pthread.c (get_stack): merge duplicated code split by ifdef.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
05:59 AM Revision 50b17c70 (git): thread_pthread.c: simplify
* thread_pthread.c (register_cached_thread_and_wait): simplify and
reduce branches.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
04:53 AM Feature #8823: Run trap handler in an independent thread called "Signal thread"
"ko1 (Koichi Sasada)" <[email protected]> wrote:
> == Disadvantage:
> * There is a small compatibility issue...
normalperson (Eric Wong)
03:43 AM Bug #8826 (Third Party's Issue): BigDecimal#div and #quo different behavior and inconsistencies
BigDecimal's #div and #quo method behave differently despite the #div documentation says: "See BigDecimal#quo"
#di...
karatedog (Földes László)
03:36 AM Feature #8773: Binding#local_variables should work like #local_variable_set and #local_variable_get
@ko1 do you have any thoughts about this? tenderlovemaking (Aaron Patterson)
02:25 AM Revision e6ece122 (git): configure.in: check for sys/pstat.h
* configure.in (sys/pstat.h): fix missing header check for
missing/setproctitle.c on HP-UX. [ruby-core:56644] [Bug...
nobu (Nobuyoshi Nakada)
01:11 AM Bug #8815: Enumerable.drop_while returns an Enumerator. Calling next twice on the Enumerator raises StopIteration even if there are still items available
Isn't that backwards?
>> [1, 2, 3].drop_while { nil }
=> [1, 2, 3]
>> [1, 2, 3].drop_while { false }...
JEG2 (James Gray)
12:07 AM Bug #6702: Date should be either required or not
Just a short update from my side: Since my issue from comment #8 was mostly caused by bad .gemspec files from gems wh... kommen (Dieter Komendera)

08/27/2013

09:23 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
2013/8/27 SASADA Koichi <[email protected]>:

> I think this spec reduce incompatibility problems.
> What do you t...
akr (Akira Tanaka)
08:53 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
(2013/08/27 20:45), Tanaka Akira wrote:
> I suspect "raise RubyLex::TerminateLineInput" doesn't work as expected a...
ko1 (Koichi Sasada)
08:53 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
2013/8/27 ko1 (Koichi Sasada) <[email protected]>:
> Feature #8823: Run trap handler in an independent thread c...
akr (Akira Tanaka)
08:52 PM Feature #8823: Run trap handler in an independent thread called "Signal thread"
I add an additonal implementation plan (called plan2) in attached PDF. ko1 (Koichi Sasada)
08:13 PM Feature #8823 (Rejected): Run trap handler in an independent thread called "Signal thread"
= Abstract
How about to make an "Signal thread" to run trap handler?
= Problem
Now, all of thread synchroniz...
ko1 (Koichi Sasada)
07:54 PM Revision f26eceab (git): * 2013-08-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:54 PM Revision 00aff4d8 (git): * ext/openssl/ossl_ssl.c (ossl_ssl_read): Replace duplicate
wait_writable with wait_readable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42711 b2dd03c8-39d4-4d8f-98ff-8...
drbrain (Eric Hodel)
06:11 PM Bug #8822: Incorrect encoding for ENV in Windows
In Ruby 2.0 when assigning to ENV, seems it double encodes it.
But in Ruby 1.9 it's interesting that after assigning...
davispuh (Dāvis Mosāns)
05:57 PM Bug #8822 (Closed): Incorrect encoding for ENV in Windows
When reading `ENV` and if it contains non-ASCII - string won't have correct encoding.
In Ruby 2.0 we can force it to...
davispuh (Dāvis Mosāns)
05:03 PM Bug #8767 (Closed): IO.copy_stream should write in binary mode.
This issue was solved with changeset r42709.
Lin, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
04:46 PM Feature #8820 (Closed): Speed up Array#index
This issue was solved with changeset r42704.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
08:19 AM Feature #8820: Speed up Array#index
Yes, sorry. I meant to use a random index with each iteration, not `i`. But per the suggestion, I think `i % 100` wou... trans (Thomas Sawyer)
06:59 AM Feature #8820: Speed up Array#index
Joel VanderWerf <[email protected]> wrote:
> On 08/26/2013 12:57 PM, Eric Wong wrote:
> >The performance ...
normalperson (Eric Wong)
05:23 AM Feature #8820: Speed up Array#index
On 08/26/2013 12:57 PM, Eric Wong wrote:
> "trans (Thomas Sawyer)" <[email protected]> wrote:
>> def ma...
Anonymous
04:59 AM Feature #8820: Speed up Array#index
"trans (Thomas Sawyer)" <[email protected]> wrote:
> def main
> n = 10000000 # ten million
> ...
normalperson (Eric Wong)
02:31 AM Feature #8820 (Closed): Speed up Array#index
I did a quick comparison:
In Ruby
def main
n = 10000000 # ten million
a = randPerm(100)
...
trans (Thomas Sawyer)
04:45 PM Bug #8592: when outputing to console, it's encoding is ignored for Windows
Raster fonts are also default for PowerShell and it does crash there too.
Is it just for my Win8 installation or e...
davispuh (Dāvis Mosāns)
04:28 PM Bug #8592: when outputing to console, it's encoding is ignored for Windows
Is it some MinGW lib's fault for this?
It's still happening with ruby 1.9.3p448 and 2.0.0p247
seems very simila...
davispuh (Dāvis Mosāns)
11:50 AM Bug #8641 (Closed): Enumerator size argument is either mis-documented or should accept any callable
This issue was solved with changeset r42698.
Avdi, thank you for reporting this issue.
Your contribution to Ruby is g...
marcandre (Marc-Andre Lafortune)
10:43 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
具体的にはどのように解説されてどう利用されているんでしょうか。 nobu (Nobuyoshi Nakada)
05:07 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
ちょっと待った。
現在の挙動は様々な書籍などでも解説されており広く共有されている挙動なので
NEWSも書かずに変えてしまうのは適切じゃないように思います。
そもそもどこで議論した結果?
kosaki (Motohiro KOSAKI)
10:21 AM Feature #8437: custom operators, unicode
boris_stitnicky (Boris Stitnicky) wrote:
> EDIT: .... Can't take my mind of this ... that unsightly dot, as in
>
...
phluid61 (Matthew Kerwin)
09:04 AM Feature #8811: Counterpart to `Hash#key?` for `Array`
matz (Yukihiro Matsumoto) wrote:
> Concrete use-case please? Besides that, I don't think #index? is a good name for...
phluid61 (Matthew Kerwin)
08:18 AM Revision ba572748 (git): timeout.rb: raise given exception
* lib/timeout.rb (Timeout#timeout): skip rescue clause only when no
exception class is given.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
08:03 AM Revision 8ef01921 (git): io.c: copy in binary mode
* io.c (copy_stream_body): should write in binary mode. based on a
by godfat (Lin Jen-Shin) at [ruby-core:56...
nobu (Nobuyoshi Nakada)
08:02 AM Revision 1e238c5a (git): io.c: common oflags
* io.c (copy_stream_body): move common open flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42708 b2dd03c8...
nobu (Nobuyoshi Nakada)
07:56 AM Revision 1af4196c (git): enumerator.c: rb_check_funcall
* enumerator.c (enumerator_size): use rb_check_funcall() instead of
respond_to? and call.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
07:56 AM Revision 9b4b5ad2 (git): enumerator.c: add comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:51 AM Revision a5f18c1f (git): enumerator.c: check arg size
* enumerator.c (enumerator_each): ensure argument array size is int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
07:46 AM Revision f25daa25 (git): array.c: optimized equality
* array.c (rb_ary_index, rb_ary_rindex): use optimized equality to
improve performance. [Feature #8820]
* vm_insnh...
nobu (Nobuyoshi Nakada)
07:41 AM Feature #5138 (Closed): Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
This issue was solved with changeset r42695.
Yehuda, thank you for reporting this issue.
Your contribution to Ruby is...
tenderlovemaking (Aaron Patterson)
07:11 AM Revision f01cef20 (git): vm_insnhelper.c: reduce duplication
* vm_insnhelper.c (vm_search_method): reduce duplicated code for the
case cache does not hit.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
07:11 AM Revision b3392daa (git): vm_insnhelper.h: RBASIC_CLASS
* vm_insnhelper.c (opt_eq_func): use RBASIC_CLASS() instead of HEAP_CLASS_OF().
* insns.def (opt_plus, opt_minus, opt...
nobu (Nobuyoshi Nakada)
07:08 AM Revision 92d7cdc2 (git): vm_eval.c: constify
* vm_eval.c (rb_check_funcall, rb_check_funcall_with_hook): constify
argv.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
06:23 AM Feature #8726: Class#source_location
> Timeoutのバグの本質は、timeoutブロック内で rescue Exception した場合に、timeoutの実装が
> 内部的に使っている Timeout::ExitException を拾ってしまうことのようで...
kosaki (Motohiro KOSAKI)
06:15 AM Bug #8821 (Closed): Add documentation for Time#w3cdtf
These monkey-es on Time weren't documented inside of RSS. Now they are. steveklabnik (Steve Klabnik)
04:04 AM Revision 69c8ab25 (git): * ext/stringio/stringio.c (strio_read_nonblock): declare local
variables at the first of function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42700 b2dd03c8-39d4-4d8f-98f...
ko1 (Koichi Sasada)
04:04 AM Bug #8819: ChangeLog includes non us-ascii character
I would suggest to change an encoding of Changelog to UTF-8.
Please remember why we credit contributor's name in Cha...
kosaki (Motohiro KOSAKI)
02:52 AM Revision 7c7b005a (git): Amend ChangeLog for r42698
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
02:50 AM Revision ca7f52a3 (git): * enumerator.c: Allow Enumerator size argument to be any callable.
by Avdi Grimm. [bug #8641] [ruby-core:56032] [fix GH-362]
* test/ruby/test_enumerator.rb: Test for above
git-...
Marc-Andre Lafortune
02:49 AM Revision c4fe5260 (git): * gc.c (gc_profile_clear): do rest_sweep() before clearing
profile.current_record.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)

08/26/2013

10:50 PM Revision 0805d73f (git): update NEWS for read / write nonblock
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
10:41 PM Revision 988ca605 (git): * io.c (io_read_nonblock): support non-blocking reads without raising
exceptions. As in: `io.read_nonblock(size, exception: false)`
[ruby-core:38666] [Feature #5138]
* ext/openssl/ossl_...
tenderlovemaking (Aaron Patterson)
08:24 PM Revision eadad2c9 (git): * 2013-08-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:24 PM Revision e487a7f5 (git): * lib/rubygems: Import RubyGems 2.1.0 Release Candidate
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:27 PM Feature #8793: Ruby 2.0 and Threads under HPUX
Nope, pthread_attr_init() populates default values. [email protected] (Michal Rokos)
04:53 PM Bug #8792: HP-UX needs sys/pstat.h for missing/setproctitle.c
Hello,
it seems that I forgot to include a for...
I am sorry for that.
Michal
[email protected] (Michal Rokos)
04:25 PM Feature #8699 (Closed): Feature request: Detect line encoding problems
This issue was solved with changeset r42691.
Matthew, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
01:27 PM Bug #8819 (Closed): ChangeLog includes non us-ascii character
This issue was solved with changeset r42687.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
10:13 AM Bug #8819 (Closed): ChangeLog includes non us-ascii character
ChangeLog should be us-ascii because local variables for emacs set "coding: us-ascii".
% ruby -e 'ARGF.each_line{|...
znz (Kazuhiro NISHIYAMA)
01:23 PM Feature #8579: Frozen string syntax
24.08.2013 23:55 пользователь "kstephens (Kurt Stephens)" <
[email protected]> написал:
>
>
> Issue #8579 ha...
funny_falcon (Yura Sokolov)
08:59 AM Revision cddd93a5 (git): fix typo of r42691
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
07:25 AM Revision a6a85a0c (git): parse.y: warn CR
* parse.y (parser_nextc): warn carriage return in middle of line.
[ruby-core:56240] [Feature #8699]
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
06:27 AM Revision 1a3bcf10 (git): timeout.rb: skip rescue
* lib/timeout.rb (Timeout#timeout): should not be caught by rescue
clause. [Bug #8730]
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
06:02 AM Revision c075b153 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:47 AM Revision ad0ef29d (git): * array.c (rb_ary_splice): use RARRAY_PTR_USE() without WB because
there are not new relations.
* enum.c (enum_sort_by): ditto.
* struct.c (setup_struct): use RARRAY_RAWPTR().
* vm_eva...
ko1 (Koichi Sasada)
04:27 AM Revision bf2a494e (git): ChangeLog: convert with `iconv -t us-ascii//translit'. [Bug #8819]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:13 AM Revision e86d9fe8 (git): * array.c (ary_ensure_room_for_push): fix typo in r42658.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:37 AM Revision 21d7cd39 (git): sizes.c.tmpl: autogenerate
* template/sizes.c.tmpl: generate automatically by extracting
RUBY_CHECK_SIZEOF from configure.in.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
01:39 AM Revision c3ab2dc6 (git): * 2013-08-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:39 AM Revision ae5ac37f (git): fix typo
* process.c (gcd_timetick_int): Renamed from gcd_timtick_int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4268...
znz (Kazuhiro NISHIYAMA)

08/25/2013

11:24 PM Feature #8726: Class#source_location
Timeoutのバグの本質は、timeoutブロック内で rescue Exception した場合に、timeoutの実装が
内部的に使っている Timeout::ExitExceptionの無名派生クラスを拾ってしまうことのようで...
takiuchi (Genki Takiuchi)
05:19 PM Bug #8816: Tempfile.new may return the same name for parallel calls
Tempfile.create may help you to create unique file name, but it's your task to guarantee that it doesn't conflict. nobu (Nobuyoshi Nakada)
04:23 AM Bug #8816: Tempfile.new may return the same name for parallel calls
"akr (Akira Tanaka)" <[email protected]> wrote:
> http://bogomips.org/kgio.git/tree/test/test_unix_connect.rb :
>
...
normalperson (Eric Wong)
12:23 AM Bug #8816 (Third Party's Issue): Tempfile.new may return the same name for parallel calls
Tempfile.new creates a normal file, not unix socket.
So, your report is questionable.
Note that Tempfile uses O_E...
akr (Akira Tanaka)
12:07 PM Revision dac8c1e5 (git): * sizes.c (Init_sizes): Define the size of clock_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:48 AM Revision 36c4a301 (git): * object.c: [DOC] remove comment about trust/untrust.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
08:29 AM Bug #8818 (Closed): BigDecimal#power
=begin
Optional argument `prec' to BigDecimal#power does not alter result precision:
b=BigDecimal.new("1.0344827...
dunric (David Unric)
04:55 AM Feature #8579: Frozen string syntax
How about something more generic? A prefix operator that memoizes and freezes any expression result in a thread-safe... kstephens (Kurt Stephens)
01:53 AM Bug #8817 (Closed): Method#owner on prepended classes is an instance rather than Class/Method
rdoc indicates that Method#owner will return a class or module that defines a method. http://www.ruby-doc.org/core-2.... soulcutter (Bradley Schaefer)
12:35 AM Feature #6216: SystemStackError backtraces should not be reduced to one line
I'm not sure @matz/@ko1 understood what @postmodern was trying to describe.
Given an `overlfow.rb` ruby program:
...
thedarkone (Vit Z)

08/24/2013

11:46 PM Feature #8579: Frozen string syntax
I have found a problem with using f-suffix syntax.
What should happen in this case?
"hello "f "world"
No...
Anonymous
10:23 PM Bug #8816 (Third Party's Issue): Tempfile.new may return the same name for parallel calls
Two simultaneous call to Tempfile.new may return the same name. This may lead
to race conditions.
There some exam...
375gnu (Hleb Valoshka)
04:51 PM Revision 92749430 (git): * 2013-08-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:51 PM Revision 5a0e4a58 (git): * bignum.c (BARY_SHORT_MUL): Renamed from BARY_MUL1.
(bary_short_mul): Renamed from bary_mul1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42679 b2dd03c8-39d4-4d...
akr (Akira Tanaka)
10:41 AM Feature #8809: Process.clock_getres
I updated the again. akr (Akira Tanaka)
09:24 AM Feature #8809: Process.clock_getres
I updated the . akr (Akira Tanaka)
09:23 AM Feature #8809: Process.clock_getres
david_macmahon (David MacMahon) wrote:
> I know it's not SI, but I often use ASCII "u" for Greek m ("µ"), so :mic...
akr (Akira Tanaka)
08:29 AM Bug #8810: GDBM.open内で処理がブロックしたらTimeout.timeout が効かない
2013/8/22 ngoto (Naohisa Goto) <[email protected]>:
>
> Issue #8810 has been reported by ngoto (Naohisa Goto...
kosaki (Motohiro KOSAKI)
02:19 AM Revision cd9f60df (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:01 AM Revision 8eb27cb1 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:38 AM Revision 46dbe3f3 (git): * 2013-08-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:38 AM Revision 811eaddf (git): * process.c (rb_clock_gettime): The emulated clock names changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

08/23/2013

09:44 PM Bug #8815 (Rejected): Enumerable.drop_while returns an Enumerator. Calling next twice on the Enumerator raises StopIteration even if there are still items available
Not a bug.
Enumerable#drop_while stops if the block returns false (or nil).
You have to feed true value to the en...
nobu (Nobuyoshi Nakada)
06:08 PM Bug #8815 (Rejected): Enumerable.drop_while returns an Enumerator. Calling next twice on the Enumerator raises StopIteration even if there are still items available
I have an enumerable (array) that contains 3 items
[1, 2, 3].
I send drop_while without a block to this array to...
ebouchut (Eric Bouchut)
08:58 PM Bug #8758: Add initial documentation for SSLServer
Hi Zachary,
Sorry for late reply.
I agree with your remarks. I will try to provide more detaled instruction and new...
lisukorin (Rafał Lisowski)
02:09 PM Revision fb9b9b18 (git): win32ole.c: ID overflow
* ext/win32ole/win32ole.c (GetIDsOfNames): check ID overflow against
DISPID, aka LONG, which is always 4 bytes.
* ...
nobu (Nobuyoshi Nakada)
01:46 PM Revision 282bbea0 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:25 PM Revision a0cac92b (git): * process.c (rb_clock_gettime): Add a cast to fix compile error by
-Werror,-Wshorten-64-to-32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42672 b2dd03c8-39d4-4d8f-98ff-823fe6...
akr (Akira Tanaka)
01:20 PM Feature #8811 (Feedback): Counterpart to `Hash#key?` for `Array`
Concrete use-case please? Besides that, I don't think #index? is a good name for the function.
Matz.
matz (Yukihiro Matsumoto)
04:04 AM Feature #8811 (Feedback): Counterpart to `Hash#key?` for `Array`
=begin
`Hash` hash `key?` to tell if a key exists without checking the value. It would be convenient if there were a...
sawa (Tsuyoshi Sawada)
01:12 PM Revision 703bd175 (git): process.c: no symbol cache
* process.c (rb_intern): no symbol cache while initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@426...
nobu (Nobuyoshi Nakada)
01:07 PM Revision 5784aaf1 (git): configure.in: clock_t
* configure.in (clock_t): needs time.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42670 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
12:46 PM Revision ca0b5118 (git): * process.c (reduce_factors): New function.
(timetick2dblnum): Use reduce_factors.
(timetick2integer): Ditto.
(make_clock_result): Follow the above change.
...
akr (Akira Tanaka)
12:06 PM Revision f0bf7f75 (git): * process.c (timetick_int_t): Renamed from timetick_giga_count_t.
(gcd_timtick_int): Renamed from gcd_ul and make the arguments
timetick_giga_count_t.
(reduce_fraction): Make the ...
akr (Akira Tanaka)
11:53 AM Revision bf9ce042 (git): Fix the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:44 AM Revision 49b9f61f (git): * process.c (gcd_ul): New function.
(reduce_fraction): Ditto.
(reduce_fraction): Ditto.
(timetick2dblnum): Ditto.
(timetick2integer): Ditto.
(mak...
akr (Akira Tanaka)
09:42 AM Revision 5bcdc68c (git): * array.c (ary_make_shared): shared ary as shady. Need more effort to
make it normal object.
* array.c (rb_ary_modify): use RARRAY_PTR_USE() without WB because
there are not new relatio...
ko1 (Koichi Sasada)
08:23 AM Feature #8809: Process.clock_getres
On Aug 22, 2013, at 3:37 PM, Tanaka Akira wrote:

> Process.clock_getres can return rational if it supports
> :ra...
david_macmahon (David MacMahon)
07:53 AM Feature #8809: Process.clock_getres
2013/8/23 David MacMahon <[email protected]>:
>>
>> Process.clock_getres(Process::CLOCK_MONOTONIC) #=> ...
akr (Akira Tanaka)
01:23 AM Feature #8809: Process.clock_getres
On Aug 22, 2013, at 7:33 AM, akr (Akira Tanaka) wrote:

> I made a pacth to invoke clock_getres function.

Thank...
david_macmahon (David MacMahon)
08:17 AM Revision f539e9cb (git): win32ole.c: store directly
* ext/win32ole/win32ole.c (ole_wc2vstr): store converted multibyte
string to string value directly.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
08:17 AM Revision dcdde335 (git): win32ole.c: suppress a warning
* ext/win32ole/win32ole.c (ole_vstr2wc): downcast to suppress a
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
08:17 AM Revision df3c472a (git): win32ole.c: check method name length
* ext/win32ole/win32ole.c (fole_missing): reject too long method name,
as Ruby string length is limited to long.
g...
nobu (Nobuyoshi Nakada)
08:17 AM Revision 91218a0e (git): win32ole.c: suppress warnings
* ext/win32ole/win32ole.c (ole_excepinfo2msg, ole_wc2vstr): get rid of
size_t with rb_enc_str_new() to suppress war...
nobu (Nobuyoshi Nakada)
08:17 AM Revision 3134c5eb (git): win32ole.c: no copy string
* ext/win32ole/win32ole.c (foletypelib_name, foletypelib_path):
WC2VSTR() returns a string in cWIN32OLE_enc, no nee...
nobu (Nobuyoshi Nakada)
08:17 AM Revision e2b08f40 (git): win32ole.c: fix type
* ext/win32ole/win32ole.c (ole_method_docinfo_from_type): fix return type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
05:26 AM Bug #8812 (Closed): RSS: document more constants
As part of my continued efforts to document RSS, here is the documentation for several of the constants relating to n... steveklabnik (Steve Klabnik)
02:27 AM Revision c50d45fc (git): * array.c: introduce ARY_SHARED_OCCUPIED(shared).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:17 AM Revision fb8b2689 (git): process.c: suppress warnings
* process.c (rb_clock_gettime): cast for tv_nsec explicitly to
suppress warnings by VC.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
02:07 AM Revision d12cf192 (git): * 2013-08-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:07 AM Revision ec026330 (git): Makefile.sub: SIZEOF_CLOCK_T
* win32/Makefile.sub (config.h): now SIZEOF_CLOCK_T is needed for
unsigned_clock_t.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
01:19 AM Bug #8806: SEGV in Date.rfc2822
r42654 で ruby_2_0_0 ブランチにバックポートしました。 nagachika (Tomoyuki Chikanaga)
12:27 AM Bug #8810 (Closed): GDBM.open内で処理がブロックしたらTimeout.timeout が効かない
GDBM.open内で処理がブロックした場合にTimeout.timeoutが効きません。
再現方法は、Solarisにて、以下のようにGDBMをオープンしたままにして、
$ ruby -r gdbm -e 'db = ...
ngoto (Naohisa Goto)
 

Also available in: Atom