Project

General

Profile

Activity

From 12/11/2014 to 12/17/2014

12/17/2014

11:02 PM Bug #10613: SNI is not optional when using TLS
sorry, this was my first ticket, so didn't see the bug reporting guidelines until now:
ruby 1.9.3p484 (2013-11-22 ...
edk750 (Eddy Kim)
10:48 PM Bug #10613 (Closed): SNI is not optional when using TLS
If ruby is using openssl with TLS extensions, and we attempt to connect to a server which supports TLS, but not SNI, ... edk750 (Eddy Kim)
10:07 PM Bug #10609 (Rejected): ruby: malloc.c core dumped
It's preferable to
* read the feedbacks carefully,
* provide the necessary informations,
* and comment on the fi...
nobu (Nobuyoshi Nakada)
11:23 AM Bug #10609 (Rejected): ruby: malloc.c core dumped
ruby: malloc.c:3695: _int_malloc: Assertion `(unsigned long) (size) >= (unsigned long) (nb)' failed.
Abandon (core d...
joel23421 (joel Bernard)
06:05 PM Bug #10257: Generate X.509 certificate/request/CRL with elliptic curve keys
Just for reference. I also stepped on this issue, and there is an older bug about this issue: #5600 ereslibre (Rafael Fernández López)
05:51 PM Bug #10612: Documentation: Document behaviour of Hash#invert
For those of you who don't want to click on the link above, here
is the copy paste of the official documentation of ...
shevegen (Robert A. Heiler)
05:49 PM Bug #10612 (Closed): Documentation: Document behaviour of Hash#invert
Currently a hash loses data if an .invert is done:
{"hey"=>3, "there"=>3, "yippie"=>3, "ack"=>2, "ackack"=>9, ...
shevegen (Robert A. Heiler)
05:44 PM Feature #10600: [PATCH] Queue#close
I thought this specification would be more clear:
~~~
/*
* Document-method: Queue#close
* call-seq: close
*...
djellemah (John Anderson)
05:38 PM Bug #10450: multiple assignment in conditional
Martin Dürst wrote:
> I suggest the following:
>
> - Create a new issue that strictly concentrates on the case WI...
bughit (bug hit)
09:33 AM Bug #10450: multiple assignment in conditional
Martin Dürst wrote:
> It seems that both Matz and I got confused. That's not too surprising because the first exampl...
javawizard (Alex Boyd)
06:46 AM Bug #10450: multiple assignment in conditional
It seems that both Matz and I got confused. That's not too surprising because the first example has no parentheses.
...
duerst (Martin Dürst)
04:46 PM Bug #10611 (Rejected): "Abort trap: 6" when running "bundler exec jekyll serve" under OS X Mavericks.
This morning I received the following output:
> [NOTE]
> You may have encountered a bug in the Ruby interpreter o...
Anonymous
04:28 PM Bug #10568: segmentation fault after pack & ioctl & unpack
Attached is a patch, based on [4b146b25](https://github.com/ruby/ruby/commit/4b146b25333c52ca4503dfc3c4215b583e8e9963... bkutil (Balazs Kutil)
01:57 PM Feature #9612: Gemify OpenSSL
So will this be a default gem in 2.2? Has there been enough testing?
Because many Rubyists will now start putting ...
headius (Charles Nutter)
01:53 PM Bug #10610 (Closed): "make install" fails without zlib
I just noticed, that Ruby cannot be installed in case zlib is not available on the system:
~~~
installing bundle ...
vo.x (Vit Ondruch)
12:07 PM Misc #10553: Ruby 2.2.0 release engeneering
Vit Ondruch wrote:
> #9591 should be resolved. And this issue applies to other bundled gems as well.
Thanks for b...
vo.x (Vit Ondruch)
11:56 AM Feature #9999: Type Annotations (Static Type Checking)
How about
```ruby
def connect<Fiber>(r<Stream>, c<Client>)
```
?
recursive-madman (Recursive Madman)
07:52 AM Feature #9999: Type Annotations (Static Type Checking)
I'm not sure how type annotations, gradual type or something like that with Ruby is, but it worth thinking.
What I...
gogotanaka (Kazuki Tanaka)
06:45 AM Feature #9999: Type Annotations (Static Type Checking)
Proposed syntax above is this :
> ~~~ruby
> def connect(r -> Stream, c -> Client) -> Fiber
> def connect(Stream...
pankajdoharey (Pankaj Doharey)
11:12 AM Revision a84d3e84 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:17 AM Revision c28e5f08 (git): io-console.gemspec: bump up
* ext/io/console/io-console.gemspec: bump up to 0.4.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48878 b2dd0...
nobu (Nobuyoshi Nakada)
08:17 AM Revision ee4ca188 (git): console.c: dead code
* ext/io/console/console.c: remove dead code for old versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@488...
nobu (Nobuyoshi Nakada)
08:10 AM Misc #10608 (Closed): OptionParser documentation improvements
I tried to document some undocumented features of the OptionParser class, as well as generally make things a little m... JoelMcCracken (Joel McCracken)
07:12 AM Bug #10607 (Closed): Segmentation fault, with nokogiri craching ruby
/home/py/.rvm/gems/ruby-2.0.0-p353/gems/nokogiri-1.6.3.1/lib/nokogiri/xml/node_set.rb:244: [BUG] Segmentation fault
...
joel23421 (joel Bernard)
03:20 AM Revision 467830e8 (git): compile.c: struct accessors
* compile.c (rb_method_for_self_aref, rb_method_for_self_aset):
move from iseq.c to build from node instead of arra...
nobu (Nobuyoshi Nakada)
03:08 AM Revision fd639a4c (git): vm.c: constify
* vm.c (rb_vm_get_binding_creatable_next_cfp): constify arguments.
(rb_vm_get_ruby_level_next_cfp): ditto.
(vm_ge...
nobu (Nobuyoshi Nakada)
02:57 AM Revision 25d67042 (git): compile.c: constify
* compile.c (iseq_set_local_table): constify ID table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48874 b2dd0...
nobu (Nobuyoshi Nakada)
02:57 AM Revision 8d846933 (git): iseq.c: default option
* iseq.c (rb_iseq_new_with_opt): allow NULL option as
COMPILE_OPTION_DEFAULT.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
02:52 AM Revision d327d445 (git): iseq.c: absolute_path
* iseq.c (caller_location): separate absolute_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48872 b2dd03c8...
nobu (Nobuyoshi Nakada)
01:50 AM Revision bf299863 (git): * test/gdbm/test_gdbm.rb: Added test for each_key called without a block.
Patch by @joeyates [fix GH-783]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48871 b2dd03c8-39d4-4d8f-98ff-823f...
hsbt (Hiroshi SHIBATA)
01:20 AM Revision 6eac885e (git): * compile.c (iseq_compile_each): check
iseq->compile_data->option->specialized_instruction for opt_* insn.
* test/ruby/test_iseq.rb: check no specialized_in...
ko1 (Koichi Sasada)
12:54 AM Bug #10557 (Closed): Block not given when the argument is a string
Applied in changeset r48869.
----------
compile.c: skip opt_* insns for fstr args with block given
* compile.c (ise...
Anonymous
12:41 AM Bug #10557: Block not given when the argument is a string
On 2014/12/17 6:12, Eric Wong wrote:
> I think the following should fix it, OK to commit?

OK. Thank you.

--
...
ko1 (Koichi Sasada)
12:54 AM Revision fcf6fa87 (git): compile.c: skip opt_* insns for fstr args with block given
* compile.c (iseq_compile_each): only emit opt_str_freeze,
opt_aref_with, and opt_aset_with insn when no block is g...
Eric Wong

12/16/2014

10:48 PM Bug #10450: multiple assignment in conditional
I've submitted https://github.com/ruby/ruby/pull/786 to keep this on the radar. javawizard (Alex Boyd)
06:04 PM Bug #10450: multiple assignment in conditional
Ah, historical holdover... Those are fun. :-)
That being the case, any chance of getting my patch applied?
Mart...
javawizard (Alex Boyd)
06:00 PM Bug #10450: multiple assignment in conditional
So... that means this issue will be reopened and Alex Boyd's patch applied? recursive-madman (Recursive Madman)
05:18 PM Bug #10450: multiple assignment in conditional
I'll tell you guys the rationale: multiple assignment always used to return an array.
$ ./ruby -ve 'p((a, b = ...
mame (Yusuke Endoh)
05:01 PM Bug #10450: multiple assignment in conditional
It is indeed weird, that this isn't allowed.
A few lines below where the parse error is thrown, there is
```c
...
recursive-madman (Recursive Madman)
03:50 PM Bug #10450: multiple assignment in conditional
Martin Dürst wrote:
> bug hit wrote:
> > bug hit wrote:
> > > Yukihiro Matsumoto wrote:
> > > >
> > > > But I a...
bughit (bug hit)
08:06 AM Bug #10450: multiple assignment in conditional
bug hit wrote:
> bug hit wrote:
> > Yukihiro Matsumoto wrote:
> > >
> > > But I am afraid it's meaningless, sinc...
duerst (Martin Dürst)
09:18 PM Bug #10557: Block not given when the argument is a string
I think the following should fix it, OK to commit?

```
* compile.c (iseq_compile_each): only emit opt_str_free...
normalperson (Eric Wong)
07:07 PM Bug #10606: Ruby on consoles emulators
Luis Lavena wrote:
> Irfan Ahmed wrote:
> >
> > Sorry I am new to programming and ruby how it was fixed? when I w...
iffitheking (Irfan Ahmed)
07:01 PM Bug #10606 (Rejected): Ruby on consoles emulators
Irfan Ahmed wrote:
>
> Sorry I am new to programming and ruby how it was fixed? when I went to that thread I can n...
luislavena (Luis Lavena)
06:50 PM Bug #10606: Ruby on consoles emulators
Luis Lavena wrote:
> Correction, this was fixed in #10546 and will be part of future releases (#10546 needs to be ba...
iffitheking (Irfan Ahmed)
06:33 PM Bug #10606: Ruby on consoles emulators
Correction, this was fixed in #10546 and will be part of future releases (#10546 needs to be backported) luislavena (Luis Lavena)
06:29 PM Bug #10606: Ruby on consoles emulators
This seems related to #10408
If things works with cmd.exe, then the problem is around ConEmu/ConsoleZ hooks on the...
luislavena (Luis Lavena)
06:25 PM Bug #10606 (Closed): Ruby on consoles emulators
I am unable to use Ruby on consoles emulators, ConEmu, PowerCmd, Ruby programs execute perfect on windows default CMD... iffitheking (Irfan Ahmed)
05:53 PM Feature #10602: Support multithreaded profiling
To be clear, I want to profile a **single** thread within a running multithreaded Ruby app. This is useful for profi... mperham (Mike Perham)
04:50 PM Bug #10605 (Third Party's Issue): doc (Kernel rubydoc %x syntax examples mix %x and `)
tiny low-priority bug @ ruby-doc.org
Kernel rubydoc for %x gives examples like %xdate` (and others)
find-replac...
kanat (Kanat Bolazar)
04:08 PM Revision 61a8e7eb (git): * 2014-12-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:08 PM Revision 03021a6d (git): * ext/win32/lib/Win32API.rb (Win32API#call): need to splat. hmm, when
was this broken?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:37 PM Bug #10604: Segmentation fault, Rubymine 6.3.3, Linux xxxx-desktop 3.5.0-51-generic #76-Ubuntu SMP Thu May 15 21:19:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
About a run about of 4 does crash as is joel23421 (joel Bernard)
02:36 PM Bug #10604 (Closed): Segmentation fault, Rubymine 6.3.3, Linux xxxx-desktop 3.5.0-51-generic #76-Ubuntu SMP Thu May 15 21:19:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
/home/user/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-3.2.13/lib/active_support/core_ext/string/encoding.rb:4: [BUG... joel23421 (joel Bernard)
02:33 PM Bug #10599: http.rb:1866: Segmentation fault
Yui NARUSE wrote:
> Why did you snip C level backtrace information?
Hi, cause i dont exactly know what to report....
joel23421 (joel Bernard)
01:30 AM Bug #10599 (Rejected): http.rb:1866: Segmentation fault
Why did you snip C level backtrace information? naruse (Yui NARUSE)
08:02 AM Misc #10553: Ruby 2.2.0 release engeneering
Luis Lavena wrote:
> Got some failures on Windows (MinGW-w64, GCC 4.7.2, 32bits):
>
> https://gist.github.com/lui...
naruse (Yui NARUSE)
07:48 AM Revision 4c166687 (git): * NEWS: mention about IO#fsync (and IO#flush). adviced by kosaki.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:38 AM Revision e4cf2f32 (git): iseq.c: remove useless code
* iseq.c (rb_method_for_self_aref): remove unused declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@488...
nobu (Nobuyoshi Nakada)
06:18 AM Bug #10601 (Closed): Unexpected behaviour changes for Struct class
Applied in changeset r48864.
----------
iseq.c: struct accessors
* iseq.c (rb_method_for_self_aref, rb_method_for_s...
nobu (Nobuyoshi Nakada)
06:18 AM Revision e4717eaa (git): iseq.c: struct accessors
* iseq.c (rb_method_for_self_aref, rb_method_for_self_aset): call
accessor functions directly, not to be affected b...
nobu (Nobuyoshi Nakada)
05:54 AM Revision 97628bff (git): compile.c: wrap funcptr
* compile.c (iseq_build_from_ary_body): enclose funcptr with
Integer as raw pointer cannot appear in an Array.
* i...
nobu (Nobuyoshi Nakada)
05:05 AM Revision bad77a86 (git): .travis.yml: fix escape
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:59 AM Revision c51a3e64 (git): .travis.yml: dump crash logs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:39 AM Revision 50201018 (git): test_rubyoptions.rb: clean crash log
* test/ruby/test_rubyoptions.rb (test_segv_loaded_features): clean
crash log on OS X after intentional segv.
git-s...
nobu (Nobuyoshi Nakada)
04:23 AM Bug #10603 (Closed): Ruby process memory is crashing
I got one issue while I was writing tests in RSpec framework for my some ruby codes.
Issue I found, when I wrote t...
pritamdey (arup rakshit)
03:03 AM Revision 97877237 (git): * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
extend timeout seconds to 60 for RGENGC_CHECK_MODE > 0 environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
ko1 (Koichi Sasada)
01:18 AM Bug #10595: interrupts not handled while finalizers running
Yes, but interruptions of finalizers could cause serious undesirable results. nobu (Nobuyoshi Nakada)
12:58 AM Bug #10595: interrupts not handled while finalizers running
[email protected] wrote:
> vm_trace.c: defer interrupts while postponed jobs
>
> * vm_trace.c (rb_postponed_job...
normalperson (Eric Wong)
01:14 AM Revision 1d5c5ea1 (git): iseq.c: show function name if possible
* iseq.c (rb_insn_operand_intern): show the name of the nearest
run-time symbol if possible.
* compile.c (insn_dat...
nobu (Nobuyoshi Nakada)
01:14 AM Revision 389ea730 (git): compile.c: check funcptr
* compile.c (iseq_build_from_ary_body): cannot load dumped funcptr.
* iseq.c (iseq_data_to_ary): cannot dump funcptr...
nobu (Nobuyoshi Nakada)
12:08 AM Revision 9aeb74d0 (git): tool/vcs.rb: fix Ruby 1.8 compatibility harder
Arguments after splat do not work under 1.8, either.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48856 b2dd03c...
Eric Wong

12/15/2014

11:14 PM Feature #10602 (Closed): Support multithreaded profiling
The current `rb_profile_frames` captures the frame for whatever thread is current. This makes profiling a multithrea... mperham (Mike Perham)
10:48 PM Feature #10197: document RUBY_* stack size/GC params in ruby.1 manpage
Committed GC stuff as r48855, hopefully this all makes sense to people
who are not familiar with Ruby internals.
normalperson (Eric Wong)
10:39 PM Revision 2c2bdb8b (git): GC documentation update
* gc.c (GC_HEAP_FREE_SLOTS): move definition to match use order
(RUBY_GC_HEAP_GROWTH_SLOTS): s/factor/number of slo...
Eric Wong
10:34 PM Bug #10494 (Closed): ioctl returns EINVAL instead of ENOTTY for pipes on older linux, breaking piped test suite
Applied in changeset r48854.
----------
* test/lib/test/unit.rb: Also rescue EINVAL for older Linux that
raises it...
headius (Charles Nutter)
10:27 PM Bug #10494: ioctl returns EINVAL instead of ENOTTY for pipes on older linux, breaking piped test suite
If there are no objections I'm going to go ahead and patch test/lib/test/unit.rb the same way as we did it in JRuby. headius (Charles Nutter)
10:33 PM Revision 0a528213 (git): * test/lib/test/unit.rb: Also rescue EINVAL for older Linux that
raises it in popen. [Bug #10494]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48854 b2dd03c8-39d4-4d8f-98ff-823...
headius (Charles Nutter)
10:24 PM Misc #10553: Ruby 2.2.0 release engeneering
#9591 should be resolved. And this issue applies to other bundled gems as well. vo.x (Vit Ondruch)
06:29 PM Misc #10553: Ruby 2.2.0 release engeneering
#10585 - speedup struct.c - first 2 patches ? funny_falcon (Yura Sokolov)
01:00 PM Misc #10553: Ruby 2.2.0 release engeneering
Please judge about #10601
r48748 introduce to break faraday . I hope to revert or fix before 2.2.0 release.
hsbt (Hiroshi SHIBATA)
06:15 AM Misc #10553: Ruby 2.2.0 release engeneering
Koichi Sasada wrote:
> How about [Bug #8984] ?
>
> * nobody against it
> * matz approved it
>
> Maybe correct...
naruse (Yui NARUSE)
05:31 AM Misc #10553: Ruby 2.2.0 release engeneering
How about [Bug #8984] ?
* nobody against it
* matz approved it
Maybe correct document can be added after rc1.
ko1 (Koichi Sasada)
08:44 PM Revision 5559e75e (git): tool/vcs.rb: fix Ruby 1.8 compatibility
Symbol#to_proc is not standard in Ruby 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48853 b2dd03c8-39d4-4d8...
Eric Wong
07:59 PM Revision 0e590199 (git): * test/ruby/test_time.rb: Add test for getlocal(nil). See
jruby/jruby#2310.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
headius (Charles Nutter)
07:48 PM Bug #10601: Unexpected behaviour changes for Struct class
nobu: thanks, diff looks good and passes tests on my 32-bit x86 system normalperson (Eric Wong)
07:20 PM Bug #10601: Unexpected behaviour changes for Struct class
What do you think about this?
~~~diff
iseq.c: struct accessors

* iseq.c (rb_method_for_self_aref, ...
nobu (Nobuyoshi Nakada)
07:18 PM Bug #10601: Unexpected behaviour changes for Struct class
I was preparing to revert and refix for 2.3, but
then I see nobu working on r48849, r48850, r48851...
I guess no...
normalperson (Eric Wong)
12:57 PM Bug #10601 (Closed): Unexpected behaviour changes for Struct class
r48748 changes below code behaviour.
```ruby
class Request < Struct.new(:params, :headers)
def params=(hash)
...
hsbt (Hiroshi SHIBATA)
07:13 PM Revision a3450f47 (git): iseq.c: use caller location
* iseq.c (rb_method_for_self_aref, rb_method_for_self_aset): set
same location as the caller.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
07:13 PM Revision 20748861 (git): iseq.c: intermediate arrays
* iseq.c (rb_method_for_self_aref, rb_method_for_self_aset): hide
and clear intermediate array objects.
git-svn-id...
nobu (Nobuyoshi Nakada)
07:09 PM Revision 5f2a4d15 (git): compile.c: support for TS_FUNCPTR
* compile.c (iseq_set_sequence): support for TS_FUNCPTR.
* compile.c (insn_data_to_s_detail): ditto.
* compile.c (i...
nobu (Nobuyoshi Nakada)
06:56 PM Revision 3be63cd9 (git): * 2014-12-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:56 PM Revision 0f99627a (git): * test/ruby/test_io_m17n.rb: Add test for coderange clearing in
IO#read with buffer. See jruby/jruby#2316.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48847 b2dd03c8-39d4-4d8...
headius (Charles Nutter)
06:29 PM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
uploaded 0002 with NIL_P instead of == Qnil funny_falcon (Yura Sokolov)
04:34 PM Feature #10574: Add String#lchomp and String.lchomp!
Agreed. I was slightly lazy writing up my example... :-) javawizard (Alex Boyd)
08:27 AM Feature #10574: Add String#lchomp and String.lchomp!
Possibly also add the default without arguments in order to compare to .chomp:
"\nacbdef\n".chomp # => "\nacb...
shevegen (Robert A. Heiler)
02:37 PM Feature #10600: [PATCH] Queue#close
Koichi Sasada wrote:
> Interesting. I understand your motivation.
It's always nice to be understood ;-)
> I ha...
djellemah (John Anderson)
01:01 PM Feature #10600: [PATCH] Queue#close
(3) Shouldn't `Queue#pop` also raise an exception if the queue is empty and closed, instead of returning `nil`?
(4...
nobu (Nobuyoshi Nakada)
09:35 AM Feature #10600: [PATCH] Queue#close
Interesting. I understand your motivation.
I have several questions (design choise)
(1) should we flush all rem...
ko1 (Koichi Sasada)
09:12 AM Feature #10600 (Closed): [PATCH] Queue#close
In a multiple-producer / multiple-consumer situation using blocking enq and deq, closing a queue cleanly is difficult... djellemah (John Anderson)
10:56 AM Bug #10599: http.rb:1866: Segmentation fault
Thank you for reporting, but
1. We cannot reproduce it without your script.
2. 1.9.3-p484 is too old.
3. Normal ...
usa (Usaku NAKAMURA)
06:32 AM Bug #10599 (Rejected): http.rb:1866: Segmentation fault
/home/py/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/net/http.rb:1866: [BUG] Segmentation fault
ruby 1.9.3p484 (2013-...
joel23421 (joel Bernard)
08:54 AM Bug #8984 (Closed): ObjectSpace.memsize_of(obj) should return with sizeof(RVALUE)
Applied in changeset r48846.
----------
* ext/objspace/objspace.c: ObjectSpace.memsize_of(obj) returns
with sizeof...
ko1 (Koichi Sasada)
08:54 AM Revision 85b42fe1 (git): * ext/objspace/objspace.c: ObjectSpace.memsize_of(obj) returns
with sizeof(RVALUE). [Bug #8984]
* gc.c (obj_memsize_of): ditto.
* NEWS: add a NEWS entry.
* test/objspace/test_objsp...
ko1 (Koichi Sasada)
07:19 AM Bug #10598 (Closed): Cannot make two symbols with same bytes and different encodings
Applied in changeset r48845.
----------
string.c: fix coderange for non-endianness string
* string.c (rb_enc_str_co...
nobu (Nobuyoshi Nakada)
04:56 AM Bug #10598 (Closed): Cannot make two symbols with same bytes and different encodings
It looks like Ruby 2.1.1 introduced a bug where it is impossible create two different symbols with the same bytes but... DavidEGrayson (David Grayson)
07:19 AM Revision 020fcc95 (git): string.c: fix coderange for non-endianness string
* string.c (rb_enc_str_coderange): dummy wchar, non-endianness
encoding string cannot be ascii only.
[ruby-core:6...
nobu (Nobuyoshi Nakada)
06:17 AM Revision b2a128fa (git): comment out for x86 extended precision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:02 AM Revision 4527b18a (git): VCS::SVN#url was buggy and recent commits exposed it
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:39 AM Feature #4574: Numeric#within
Resubmitted as a new feature request here:
https://bugs.ruby-lang.org/issues/10594
findchris (Chris Johnson)
01:30 AM Revision 825680a1 (git): make-snapshot: reuse downloaded files
* tool/make-snapshot (package): reuse already downloaded files if
existing.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
01:28 AM Revision 238d8586 (git): make-snapshot: use srcdir
* tool/make-snapshot: use srcdir as checked out working directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
01:02 AM Revision fff11282 (git): vcs.rb: abstract
* tool/vcs.rb: abstract VCS interfaces from make-snapshot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48840 b...
nobu (Nobuyoshi Nakada)
01:02 AM Revision 81ac7458 (git): vcs.rb: non-string path
* tool/vcs.rb (VCS#get_revisions, VCS::SVN.get_revisions): allow
path to be other than a string.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
01:02 AM Revision 36319b4f (git): * 2014-12-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:02 AM Revision 251869bc (git): vcs.rb: IO.pread
* tool/vcs.rb (IO.pread): method to read command output without
shell.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
01:02 AM Revision e0bcfdd9 (git): make-snapshot: suppress warnings
* tool/make-snapshot: suppress warnings for uninitialized global
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)

12/14/2014

10:39 PM Bug #10596 (Rejected): gem install ssl failure
This is caused by changes on SSL certificates used by rubygems.org.
Please read the following:
https://gist.git...
luislavena (Luis Lavena)
06:35 PM Bug #10596 (Rejected): gem install ssl failure
When trying to install a gem, whether using gem install or through gemfile, I get the following error :
ERROR: Co...
robyn294 (Robyn Cantrell)
08:34 PM Bug #10450: multiple assignment in conditional
bug hit wrote:
> Yukihiro Matsumoto wrote:
> >
> > But I am afraid it's meaningless, since multiple assignment al...
bughit (bug hit)
06:31 PM Misc #10553: Ruby 2.2.0 release engeneering
Got some failures on Windows (MinGW-w64, GCC 4.7.2, 32bits):
https://gist.github.com/luislavena/086d39660851ba49d7...
luislavena (Luis Lavena)
06:18 PM Misc #10553: Ruby 2.2.0 release engeneering
Hi,

On Dec 11, 2014 6:16 PM, <[email protected]> wrote:
>
> Issue #10553 has been updated by Yui NARUSE.
>
>
...
josb (Jos Backus)
11:11 AM Revision 2de3281a (git): parse.y: warn reference after method definition
* parse.y (primary): restore current_arg so that circular
reference after a method definition is also warned.
[ru...
nobu (Nobuyoshi Nakada)

12/13/2014

11:55 PM Revision db4e9d5e (git): vcs.rb: srcdir parameter
* tool/vcs.rb (VCS#get_revisions): add srcdir optional parameter
to SVN.get_revisions and GIT.get_revisions, instea...
nobu (Nobuyoshi Nakada)
11:46 PM Revision 7c816439 (git): test_gc.rb: workaround for Windows
* test/ruby/test_gc.rb (test_interrupt_in_finalizer): use inner
process signal for Windows. [ruby-core:66825] [Bug...
nobu (Nobuyoshi Nakada)
09:55 PM Revision e50746da (git): test_gc.rb: wait
* test/ruby/test_gc.rb (test_interrupt_in_finalizer): wait longer
and send more interrupts for slower cases.
git-s...
nobu (Nobuyoshi Nakada)
09:32 PM Revision 95083356 (git): * 2014-12-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:32 PM Bug #10595 (Closed): interrupts not handled while finalizers running
Applied in changeset r48829.
----------
vm_trace.c: defer interrupts while postponed jobs
* vm_trace.c (rb_postpone...
nobu (Nobuyoshi Nakada)
05:27 AM Bug #10595 (Closed): interrupts not handled while finalizers running
Originally noted in [ruby-core:66635]
Trying to Ctrl-C something like the following loop is not always successful:...
normalperson (Eric Wong)
09:31 PM Revision 554da7fe (git): signal.c: include ucontext.h
* signal.c: include ucontext.h for ucontext_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48830 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
11:41 AM Revision 05459d1a (git): vm_trace.c: defer interrupts while postponed jobs
* vm_trace.c (rb_postponed_job_flush): mask signal trap interrupt
too to defer handling after finalizers finished.
...
nobu (Nobuyoshi Nakada)
09:33 AM Revision 6447d061 (git): * test/openssl/test_pkey_ec.rb: ignored tests with old OpenSSL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:11 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
Yes, I confirmed the performance difference too.
I have no idea why it is slow, though.
nobu (Nobuyoshi Nakada)
05:19 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
nobu, your patch looks fine to me. However, my original uses less memory
and time on Alex's test on my Phenom II
...
normalperson (Eric Wong)
01:28 AM Bug #10537 (Closed): Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
Applied in changeset r48820.
----------
gc.c (define_final0): avoid duplicate blocks
This prevents excessive memory...
Anonymous
09:01 AM Revision 02e8b4d9 (git): signal.c: stack overflow on FreeBSD
* signal.c (check_stack_overflow): check sp also on i386/x86_64
FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
08:59 AM Revision 7dc4bbc1 (git): configure.in: rb_cv_mcontext_t_ptr
* configure.in (rb_cv_mcontext_t_ptr): abstract whether mcontext_t
is a pointer type.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
07:12 AM Revision 21a40e94 (git): skip old OpenSSL
* test/open-uri/test_ssl.rb, test/webrick/test_httpproxy.rb: also
depends on test/openssl/utils.rb.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
07:08 AM Revision b392fd5c (git): test_https.rb: skip old OpenSSL
* test/net/http/test_https.rb (TestNetHTTPS): also depends on
test/openssl/utils.rb
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
04:50 AM Bug #10591: Net::HTTPResponse#read_status_line does not throw Net::HTTPBadResponse with some malformed responses.
https://github.com/ruby/ruby/pull/782
update regex to require one or more spaces (changed from zero or more) betwe...
leriksen (Leif Eriksen)
03:05 AM Revision af063813 (git): test/openssl: skip old OpenSSL
* test/openssl/utils.rb (OpenSSL::TestUtils): ignore out-of-date
OpenSSL before 1.0.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
03:05 AM Revision 88cea9f7 (git): revert r48819
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:48 AM Bug #9432: ThreadError [ Attempt to unlock a mutex which is locked by another thread ]
Can you show us a small test case? Which version of Sidekiq?

Note: this issue seems to not affect Ruby 2.1+ beca...
normalperson (Eric Wong)
01:17 AM Bug #9432: ThreadError [ Attempt to unlock a mutex which is locked by another thread ]
Note: Sidekiq does not appear to be using eventmachine, which has a similar bug at #9132. Any ideas on what is going ... [email protected] (Aaron Stone)
02:11 AM Revision 76b9d37b (git): test_object.rb: no RSS check
* test/ruby/test_object.rb (test_copied_ivar_memory_leak): ignore
RSS to disable false failure.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
01:28 AM Revision 85690385 (git): gc.c (define_final0): avoid duplicate blocks
This prevents excessive memory growth when a WeakRef
is repeatedly created
* gc.c (define_final0): avoid duplicate b...
Eric Wong
12:20 AM Revision 58d992ec (git): test_ocsp.rb: run separately
* test/openssl/test_ocsp.rb (test_new_ocsp_request): run in a
separated process to continue on CentOS 5.6 i386.
gi...
nobu (Nobuyoshi Nakada)
12:06 AM Revision 0c71e280 (git): ossl_x509store.c: typed data
* ext/openssl/ossl_x509store.c (ossl_x509stctx_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
12:06 AM Revision a3fa8715 (git): ossl_x509store.c: typed data
* ext/openssl/ossl_x509store.c (ossl_x509store_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)

12/12/2014

11:59 PM Revision 7db35b03 (git): ossl_x509revoked.c: typed data
* ext/openssl/ossl_x509revoked.c (ossl_x509rev_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
11:59 PM Revision 0b671673 (git): ossl_x509req.c: typed data
* ext/openssl/ossl_x509req.c (ossl_x509req_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
11:59 PM Revision a6eb21f8 (git): ossl_x509name.c: typed data
* ext/openssl/ossl_x509name.c (ossl_x509name_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)
11:46 PM Revision cfde2808 (git): ossl_x509ext.c: typed data
* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
11:46 PM Revision 3d0cbead (git): ossl_x509ext.c: typed data
* ext/openssl/ossl_x509ext.c (ossl_x509ext_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
11:39 PM Revision eb2cdab0 (git): ossl_x509crl.c: typed data
* ext/openssl/ossl_x509crl.c (ossl_x509crl_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
11:38 PM Revision 3bc78d5b (git): ossl_x509cert.c: typed data
* ext/openssl/ossl_x509cert.c (ossl_x509_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48...
nobu (Nobuyoshi Nakada)
11:38 PM Revision c3fdb1c3 (git): ossl_x509attr.c: typed data
* ext/openssl/ossl_x509attr.c (ossl_x509attr_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)
11:19 PM Revision 2e78e44f (git): ossl_pkey_ec.c: typed data
* ext/openssl/ossl_pkey_ec.c (ossl_ec_point_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
11:19 PM Revision 13448fdc (git): ossl_pkey_ec.c: typed data
* ext/openssl/ossl_pkey_ec.c (ossl_ec_group_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
11:19 PM Revision 68c8994a (git): ossl_pkey.c: typed data
* ext/openssl/ossl_pkey.c (ossl_evp_pkey_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48...
nobu (Nobuyoshi Nakada)
10:38 PM Revision bf368e4f (git): ossl_pkcs7.c: typed data
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_recip_info_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
10:37 PM Revision ba19bcdd (git): ossl_pkcs7.c: typed data
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_signer_info_type): use
typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
10:37 PM Revision b8897cd6 (git): ossl_pkcs7.c: typed data
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4880...
nobu (Nobuyoshi Nakada)
10:37 PM Revision 374fe20e (git): ossl_pkcs12.c: typed data
* ext/openssl/ossl_pkcs12.c (ossl_pkcs12_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48...
nobu (Nobuyoshi Nakada)
10:25 PM Feature #10594: Comparable#clamp
Example behavior:
~~~
234234234523.clamp(0..100) # => 100
12.clamp(0..100) # => 12
-38817112.cl...
findchris (Chris Johnson)
09:45 PM Feature #10594 (Closed): Comparable#clamp
This is basically a re-opening of the feature request of issue#4573 (https://bugs.ruby-lang.org/issues/4574), which w... findchris (Chris Johnson)
10:08 PM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
[email protected] wrote:
> khash were not best solution cause it doesn't store hashsum. Did you
> store strin...
normalperson (Eric Wong)
05:03 PM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
khash were not best solution cause it doesn't store hashsum. Did you store string's hashsum as a part of a key?
Bu...
funny_falcon (Yura Sokolov)
10:48 AM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
funny.falcon:

I tried using khash fstring for Feature #10096 but benefits seemed
minor. I also worry about ...
normalperson (Eric Wong)
09:39 AM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
I don't have any idea about these patch.
In fact, I like 0001.
So just comments and questions for curious.
> I...
ko1 (Koichi Sasada)
09:16 AM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
> [1/4] struct.c: speedup struct.name = v for small structs
> I agree this makes a noticeable improvement, but I am ...
funny_falcon (Yura Sokolov)
09:58 PM Revision cd96afe9 (git): ossl_ssl.c: typed data
* ext/openssl/ossl_ssl.c (ossl_ssl_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48801 b2...
nobu (Nobuyoshi Nakada)
09:58 PM Revision 060e6937 (git): ossl_ssl.c: typed data
* ext/openssl/ossl_ssl.c (ossl_sslctx_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48800...
nobu (Nobuyoshi Nakada)
09:58 PM Revision d064e7c8 (git): ossl_ssl_session.c: typed data
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_type): use
typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
09:58 PM Revision 457cd40f (git): ossl_ocsp.c: typed data
* ext/openssl/ossl_ocsp.c (ossl_ocsp_certid_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
09:58 PM Revision e97e41e3 (git): ossl_ocsp.c: typed data
* ext/openssl/ossl_ocsp.c (ossl_ocsp_basicresp_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
09:58 PM Revision c3202f63 (git): ossl_ocsp.c: typed data
* ext/openssl/ossl_ocsp.c (ossl_ocsp_response_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
09:58 PM Revision 4bb6cb76 (git): ossl_ocsp.c: typed data
* ext/openssl/ossl_ocsp.c (ossl_ocsp_request_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
09:58 PM Revision a6d16bdc (git): ossl_ns_spki.c: typed data
* ext/openssl/ossl_ns_spki.c (ossl_netscape_spki_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
09:57 PM Revision c5de5573 (git): ossl_hmac.c: typed data
* ext/openssl/ossl_hmac.c (ossl_hmac_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48793 ...
nobu (Nobuyoshi Nakada)
09:57 PM Revision b0a379e3 (git): ossl_engine.c: typed data
* ext/openssl/ossl_engine.c (ossl_engine_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48...
nobu (Nobuyoshi Nakada)
09:57 PM Revision cfa7024e (git): ossl_digest.c: typed data
* ext/openssl/ossl_digest.c (ossl_digest_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48...
nobu (Nobuyoshi Nakada)
09:57 PM Revision 0ae6db41 (git): ossl_ssl.h: accessor macros
* ext/openssl/ossl_ssl.c (GetSSLCTX): accessor macro.
* ext/openssl/ossl_ssl.h (GetSSL): ditto.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
07:59 PM Revision c420e58f (git): * 2014-12-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:59 PM Revision 8326a747 (git): erb: suppress warnings
* bin/erb (ERB::Main#run): get rid of shadowing outer local
variables. [ruby-core:65772] [Feature #10395]
git-svn...
nobu (Nobuyoshi Nakada)
05:47 PM Bug #10593 (Rejected): Emoji is been considered as comment
naruse (Yui NARUSE)
05:46 PM Bug #10593: Emoji is been considered as comment
It is spec.
At first the character is not Emoji.
The Unicode sequence "U+0023 U+20E3" consists of two Unicode cod...
naruse (Yui NARUSE)
02:49 PM Bug #10593 (Rejected): Emoji is been considered as comment
Unicode ![](https://dl.dropboxusercontent.com/u/4708852/bugs-ruby-lang/hash-emoji.png) is been considered as comment.... JuanitoFatas (Juanito Fatas)
01:00 PM Revision 1137a46a (git): * gems/bundled_gems: Upgrade to test-unit 3.0.8. assert_throw and
assert_nothing_thrown in test-unit 3.0.7 were broken by
UncaughtThrowError change introduced in Ruby 2.2.0
previe...
Sutou Kouhei
12:50 PM Bug #10592: Adding floats resluts in an incorrect result
So true. Sorry about reporting it. doma (Domokos Molnar)
09:19 AM Bug #10592 (Rejected): Adding floats resluts in an incorrect result
nobu (Nobuyoshi Nakada)
09:14 AM Bug #10592: Adding floats resluts in an incorrect result
Use Rational if you want exact results:
```ruby
1.1 * 3 #=> 3.3000000000000003
(Rational('1.1') * 3).to_f #=> ...
recursive-madman (Recursive Madman)
09:12 AM Bug #10592: Adding floats resluts in an incorrect result
This is not a ruby bug. See http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems recursive-madman (Recursive Madman)
08:56 AM Bug #10592: Adding floats resluts in an incorrect result
~~~ruby
dmolnar@domalaptop:~> irb
2.1.5 :001 > 1.1+1.1+1.1-3.3
=> 4.440892098500626e-16
~~~
doma (Domokos Molnar)
08:54 AM Bug #10592 (Rejected): Adding floats resluts in an incorrect result
~~~ruby
1.1+1.1+1.1 = 3.3
~~~
However in the current 2.1.5 this is what happens:
~~~ruby
dmolnar@domalaptop:...
doma (Domokos Molnar)
10:49 AM Feature #10395 (Closed): erb: allow variables to be set from the command line
Applied in changeset ruby-trunk:r48786.
----------
erb: set variables from the command line
* bin/erb (ARGV.switch,...
nobu (Nobuyoshi Nakada)
10:48 AM Revision 9e52416c (git): erb: set variables from the command line
* bin/erb (ARGV.switch, ERB::Main#run): allow variables to be set
from the command line. [ruby-core:65772] [Featur...
nobu (Nobuyoshi Nakada)
10:31 AM Revision e82f4195 (git): erb: lineno and location setters
* lib/erb.rb (ERB#lineno): accessor for line number to eval.
* lib/erb.rb (ERB#location=): setter of file name and li...
nobu (Nobuyoshi Nakada)
08:26 AM Bug #10583: Process.spawn stalls forever opening named pipes (fifo)
Justin Greer wrote:
> While the reduced testcase I attached previously sounds like a rare usage, it's actually prett...
nobu (Nobuyoshi Nakada)
07:23 AM Revision 4d3677e1 (git): string.c: reduce intermediate string
* string.c (rb_str_succ_bang): get rid of making intermediate
string object.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
04:09 AM Feature #10590 (Closed): GC.latest_gc_info returns GC state
Applied in changeset r48783.
----------
* gc.c (gc_latest_gc_info): return :state field to show current
GC state (...
ko1 (Koichi Sasada)
04:09 AM Revision 37b6f50a (git): * gc.c (gc_latest_gc_info): return :state field to show current
GC state (none/marking/sweeping).
[Feature #10590]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48783 b2dd0...
ko1 (Koichi Sasada)
03:15 AM Revision 80870e14 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:24 AM Revision 3b8c1004 (git): string.c: term fill
* string.c (rb_str_succ): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48781 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
02:24 AM Revision b96ff20f (git): string.c: use local variables
* string.c (rb_str_succ): extract local variables from constant
RSTRING_PTR and RSTRING_LEN.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
02:16 AM Misc #10553: Ruby 2.2.0 release engeneering
Koichi Sasada wrote:
> Give me approval for [Feature #10590]
ok
naruse (Yui NARUSE)
01:33 AM Misc #10553: Ruby 2.2.0 release engeneering
Give me approval for [Feature #10590]
ko1 (Koichi Sasada)
01:14 AM Misc #10553: Ruby 2.2.0 release engeneering
Masatoshi Seki wrote:
> コマンド版のerbの起動引数からスクリプトへ引数を渡す機能を追加したいです。
> エラー時の行番号の間違い(バグ)もなおる感じです。
>
> Nobu's patch
> h...
naruse (Yui NARUSE)
01:49 AM Revision 01e62157 (git): string.c: check arguments for crypt
* string.c (rb_str_crypt): check arguments more strictly.
* crypt() is not for wide char strings
* salt bytes sho...
nobu (Nobuyoshi Nakada)
01:32 AM Revision 9cabd72f (git): string.c: term fill
* string.c (rb_str_justify): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48778 b2dd03c8...
nobu (Nobuyoshi Nakada)
01:20 AM Revision 88ae402c (git): string.c: term fill
* string.c (tr_trans): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48777 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)

12/11/2014

11:16 PM Revision 1d60b6ef (git): * 2014-12-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:16 PM Revision eaa80a6f (git): io.c: Fix spelling [ci skip]
* io.c (io_read) Fix spelling in docco for read. [Fix GH-781]
try > tries
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
11:08 PM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
benchmark results on r48774 (Xeon E3-v1230 v3):

Speedup ratio: compare with the result of `trunk' (greater is bet...
normalperson (Eric Wong)
10:32 PM Bug #10591 (Closed): Net::HTTPResponse#read_status_line does not throw Net::HTTPBadResponse with some malformed responses.
The offending line of code appears to be this: https://github.com/ruby/ruby/blob/448c87008e1bc66a93b8f21eedea060f2818... Anonymous
10:28 PM Feature #10575: [RFC] struct: avoid all O(n) behavior on access
[email protected] wrote:
> Couple of other struct optimizations in #10585

Thanks. Btw, can you reproduce t...
normalperson (Eric Wong)
09:38 PM Feature #10575: [RFC] struct: avoid all O(n) behavior on access
speedup ratio (from benchmark/driver.rb) normalperson (Eric Wong)
06:19 PM Feature #10590 (Closed): GC.latest_gc_info returns GC state
Getting current GC state by GC.latest_gc_info is useful to know the behavior of GC.
```ruby
GC.latest_gc_info(:st...
ko1 (Koichi Sasada)
06:01 PM Bug #10583: Process.spawn stalls forever opening named pipes (fifo)
While the reduced testcase I attached previously sounds like a rare usage, it's actually pretty common any time you'r... ezran (Justin Greer)
02:01 PM Bug #10583: Process.spawn stalls forever opening named pipes (fifo)
OK, https://github.com/nobu/ruby/compare/spawn-ignore_error-option
But I'm afraid that `ignore_error`'s concern and ...
nobu (Nobuyoshi Nakada)
08:58 AM Bug #10583: Process.spawn stalls forever opening named pipes (fifo)
I feel this is rare usage too.
nobu's proposal (async option) is a possible way to use spawn method in this usage.
...
akr (Akira Tanaka)
08:22 AM Bug #10583 (Feedback): Process.spawn stalls forever opening named pipes (fifo)
The current behavior is necessary to handle exec failures properly.
Also, as it uses `vfork(2)` for huge memory apps...
nobu (Nobuyoshi Nakada)
04:27 PM Feature #10589 (Open): [TracePoint API] Make THREAD_{BEGIN, END} events return some context information
Currently the :thread_begin and thread_end events return no context information at all
TracePoint.trace(:threa...
deivid (David Rodríguez)
01:54 PM Revision a88e7872 (git): envutil.rb: kill pgroup
* test/lib/envutil.rb (invoke_ruby): kill whole group when :pgroup
option is set.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
01:52 PM Bug #10588 (Rejected): Invalid Dates
I was in the process of implementing a date-routine, which could prevent possible out-of-range/invalid date values.
...
NorthernLights (Imran "")
01:52 PM Revision c13fedf3 (git): ChangeLog: typo
* ChangeLog: fix typo, s/Strat/Start/. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48773 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
11:43 AM Misc #10553: Ruby 2.2.0 release engeneering
コマンド版のerbの起動引数からスクリプトへ引数を渡す機能を追加したいです。
エラー時の行番号の間違い(バグ)もなおる感じです。
Nobu's patch
https://github.com/nobu/ruby/compa...
seki (Masatoshi Seki)
10:54 AM Revision 9226f240 (git): add missing space [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:15 AM Revision 1b6aa03e (git): * class.c (class_alloc): Strat from age == 2.
Class and Module objects can be living long life.
* iseq.c: Same for ISeq objects.
* gc.c (RVALUE_AGE_RESET): added.
...
ko1 (Koichi Sasada)
09:53 AM Bug #10511 (Closed): fix for #9940 causes dramatic performance regression
Thank you for confirmation!
ko1 (Koichi Sasada)
09:24 AM Bug #10511: fix for #9940 causes dramatic performance regression
Oleg Sukhodolsky wrote:
> Koichi Sasada wrote:
> > could you try r48765?
>
> I've tried and it works ok for me (...
os97673 (Oleg Sukhodolsky)
05:51 AM Bug #10511: fix for #9940 causes dramatic performance regression
Koichi Sasada wrote:
> could you try r48765?
I've tried and it works ok for me (both simple benchmark and rails a...
os97673 (Oleg Sukhodolsky)
09:50 AM Bug #10587 (Third Party's Issue): Time#to_json != DateTime#to_json (Time#to_json not outputting iso8601)
The output of this program is false:
```
require 'date'
require 'json'
now = Time.now
puts now.to_json == DateTi...
bhaak (Patric Mueller)
08:10 AM Bug #10586 (Rejected): function wrongly returns nil in eval()
`foo` is a local variable. nobu (Nobuyoshi Nakada)
04:22 AM Bug #10586 (Rejected): function wrongly returns nil in eval()
In the following code, function returns nil in eval().
Getting rid of the last line, it returns 1 as we expect.
~...
tmpvar (Daisuke Kobayashi)
04:26 AM Revision 3977132b (git): test_process.rb: split
* test/ruby/test_process.rb (test_execopts_redirect): split large
test.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
03:02 AM Revision 7307c32f (git): process.c: unused variables
* process.c (rb_fork_async_signal_safe): remove initialized but
never assigned local variables.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
12:37 AM Revision 5c100b57 (git): string.c: term fill
* string.c (rb_str_squeeze_bang): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48768 b2d...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom