Project

General

Profile

Activity

From 06/23/2015 to 06/29/2015

06/29/2015

11:25 PM Bug #11319 (Closed): "w+" is interpreted as "r+" when reopening stdio streams
Applied in changeset r51066.
----------
io.c: reopen stdio streams correctly when given "w+"
* io.c (rb_io_oflags_m...
Anonymous
10:55 PM Bug #11319 (Closed): "w+" is interpreted as "r+" when reopening stdio streams
~~~diff
diff --git a/io.c b/io.c
index dfdb422..8358c74 100644
--- a/io.c
+++ b/io.c
@@ -5046,6 +5046,9 @@ rb_io...
cremno (cremno phobia)
11:24 PM Revision af9e072c (git): io.c: reopen stdio streams correctly when given "w+"
* io.c (rb_io_oflags_modestr): handle O_TRUNC correctly
* test/ruby/test_io.rb (test_reopen_stdio): new test
-b...
Eric Wong
11:21 PM Bug #11311: STRING::Scan method badly interpret i option - Ruby 2.1.*
That's a known and [documented](http://docs.ruby-lang.org/en/2.2.0/Regexp.html#class-Regexp-label-Character+Classes) ... cremno (cremno phobia)
11:12 PM Bug #11320 (Closed): reopening stdio streams with non-ANSI filenames fails on Windows
~~~ruby
fname = 'ルビー'
File.write(fname, '')
p File.exist?(fname)
$stdin.reopen(fname, 'r')
~~~
It fails with ...
cremno (cremno phobia)
09:52 PM Feature #11318 (Closed): [] delay `exception: false' checks for minor speedup
Delay hash lookups until we are about to hit an exception. This
gives a minor speedup ratio of 2-3% in the new bm_i...
normalperson (Eric Wong)
09:32 PM Feature #6284: Add composition for procs
It would be nice to be able to compose functions in both ways, like in F#, you can do `g << f` or `g >> f`, sadly thi... pabloh (Pablo Herrero)
08:39 AM Feature #6284: Add composition for procs
Regarding the syntax: I also support `*` as the operator where `f * g = f(g(x))` (as it seems close enough to the mat... mudge (Paul Mucur)
07:12 PM Bug #11314: [BUG] Segmentaton fault
This appears to be a bug in the ffi gem. See these two bug reports on :
https://.com/mitchellh/vagrant...
MrException (Robert McBride)
10:57 AM Bug #11314: [BUG] Segmentaton fault
Priority tag is not for users. Don't touch it. usa (Usaku NAKAMURA)
07:01 PM Feature #10594: Comparable#clamp
Motohiro KOSAKI wrote:
> >```diff
> >+ double num_dbl = NUM2DBL(num);
> >+ double beg_dbl = NUM2DBL(begp);
...
nerdinand (Ferdinand Niedermann)
10:38 AM Feature #10594: Comparable#clamp
>```diff
>+ double num_dbl = NUM2DBL(num);
>+ double beg_dbl = NUM2DBL(begp);
>+ double end_dbl = NUM2DBL...
kosaki (Motohiro KOSAKI)
06:10 PM Revision 75571dc9 (git): * 2015-06-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:10 PM Revision c31b0def (git): st.c: use ccan linked-list (try 3)
This improves the bm_vm2_bighash benchmark significantly by
removing branches during insert, but slows down anything
...
Eric Wong
04:53 PM Bug #11285: Net::HTTP should handle content-coding with case-insensitive
memo: r51063 is required too. nagachika (Tomoyuki Chikanaga)
07:15 AM Bug #11285 (Closed): Net::HTTP should handle content-coding with case-insensitive
Applied in changeset r51061.
----------
* lib/net/http/response.rb (inflater): CONTENT_ENCODING can be upper
case....
naruse (Yui NARUSE)
04:34 PM Bug #11281: Unexpected behaviour in HTTP header processing
I think if the user wants to send a blank header, then the user should do that explicitly like
~~~ruby
Net::HTTP:...
shishir127 (Shishir Joshi)
10:38 AM Bug #11317 (Third Party's Issue): Segmentation fault
i have tried to execute the following code for 2.2.2
>irb
2
3 > require "selenium-webdriver"
4 => true
5
6 > br...
hitesh770 (hitesh vishal)
10:04 AM Revision 7604ca41 (git): fix previous commit for nil case
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:05 AM Bug #11316: ruby 2.2 on Windows generates incorrect BAT files for gems
I forgot to mention that this works fine with ruby 2.1. The bat file there looks like this:
~~~
@ECHO OFF
IF NOT...
jekader (Jeka Der)
09:01 AM Bug #11316 (Closed): ruby 2.2 on Windows generates incorrect BAT files for gems
In Ruby 2.2 on Windows it's impossible to install the "rhc" gem since the BAT wrapper has a typo.
steps to reprodu...
jekader (Jeka Der)
08:38 AM Revision 1a3e7ca1 (git): insns.def: no quoting
* insns.def (defineclass): do not quote unprintable characters at
raising an exception.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
07:14 AM Revision 84de36c7 (git): * lib/net/http/response.rb (inflater): CONTENT_ENCODING can be upper
case. [ruby-core:69670] [Bug #11285] ed by Andy Chu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51061 b2d...
naruse (Yui NARUSE)
05:52 AM Revision 8803c601 (git): * eval.c (add_activated_refinement): should not include the original
class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
05:05 AM Feature #11315: [] Add Array#^ for parity with other set-like operations.
`st_update` does lookup/replace/delete/insert in the callback at once.
And your es are broken, necessary spaces...
nobu (Nobuyoshi Nakada)
04:28 AM Bug #11291: [] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV
ruby_2_1 r51059 merged revision(s) 50982,50983. usa (Usaku NAKAMURA)
04:28 AM Revision 61f3baee (git): merge revision(s) 50982,50983: [Backport #11291]
* ext/objspace/objspace_dump.c(dump_object): Return empty JSON object when
passed object is a special const...
U.Nakamura
03:43 AM Revision 6cb284a2 (git): mkmf.rb: suppress warnings
* lib/mkmf.rb (check_sizeof, what_type): remove static qualifiers
to suppress unneeded-internal-declaration warning...
nobu (Nobuyoshi Nakada)
03:09 AM Revision 96c1e6ac (git): * README.md: tweak styles. [fix GH-945][ci skip] by @bryndyment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

06/28/2015

10:24 PM Revision 52436ce1 (git): sizes.c.tmpl: extract RUBY_DEFINT
* template/sizes.c.tmpl: extract RUBY_DEFINT to define sizes of
types checked by configure.in, and fix size of intp...
nobu (Nobuyoshi Nakada)
05:10 PM Revision 548b97e7 (git): insns.def: preserve encoding
* insns.def (defineclass): preserve encoding of name in error
messages for super class mismatch.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
05:10 PM Feature #11315: [] Add Array#^ for parity with other set-like operations.
I forgot to recycle the `seen` hash. This last fix should finalize the , unless there is some very clever way to... 0x0dea (D.E. Akers)
05:03 PM Feature #11315: [] Add Array#^ for parity with other set-like operations.
The original implementation did not correctly handle the case of repeated elements occurring an even number of times ... 0x0dea (D.E. Akers)
02:25 PM Feature #11315 (Open): [] Add Array#^ for parity with other set-like operations.
## Proposal
It is proposed that `Array` be given an "XOR" method which returns the symmetric difference between it...
0x0dea (D.E. Akers)
05:10 PM Revision b90a5f93 (git): insns.def: preserve encoding
* insns.def (defineclass): preserve encoding of name in error
messages for non-class super.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
05:06 PM Revision 491ace2d (git): insns.def: preserve encoding
* insns.def (defineclass): preserve encoding of name in error
messages when already defined but type mismatch.
git...
nobu (Nobuyoshi Nakada)
04:37 PM Revision 3ed6f43b (git): * 2015-06-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:35 PM Revision fe994a4d (git): test_redefinition_mismatch
* test/ruby/test_{class,module}.rb (test_redefinition_mismatch):
add tests of redefinition mismatch.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
11:46 AM Bug #11314 (Third Party's Issue): [BUG] Segmentaton fault
I'm working in Windows7 with VirtualBox,Vagrant.
But after I installed vagrant plugin "vagrant-centos7_fix", "vagr...
KeisukeSatomi (keisuke satomi)
11:45 AM Bug #11281 (Feedback): Unexpected behaviour in HTTP header processing
Why do you need to give a `nil`? nobu (Nobuyoshi Nakada)
05:26 AM Bug #11001: 2.2.1 Segmentation fault in reserve_stack() function.
> Any criteria where works on or not?
> Runtime kernel versions?
Segmentaion fault
* Ubuntu 12.04 - kernel 3.2+
...
kubo (Takehiro Kubo)
01:33 AM Bug #11001: 2.2.1 Segmentation fault in reserve_stack() function.
Takehiro Kubo wrote:
> IMO, this may be an issue of OS, not of ruby.
Any criteria where works on or not?
Runtime...
nobu (Nobuyoshi Nakada)
03:28 AM Revision da70f4d0 (git): class.c: preserve encoding
* class.c (rb_check_inheritable): preserve encoding in an error
message when the superclass is not a class.
git-sv...
nobu (Nobuyoshi Nakada)
03:07 AM Revision c70572d5 (git): * 2015-06-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 AM Revision a13ab237 (git): class.c: TypeError when superclass mismatch
* class.c (rb_define_class_id_under): raise TypeError exception
same as ruby level class definition when superclass...
nobu (Nobuyoshi Nakada)

06/27/2015

11:38 PM Bug #11001: 2.2.1 Segmentation fault in reserve_stack() function.
On 2015/06/27 15:08, Eric Wong wrote:
> Fwiw, valgrind chokes here, too.

Try it before valgrind.

$ ulimit -s ...
ko1 (Koichi Sasada)
06:08 AM Bug #11001: 2.2.1 Segmentation fault in reserve_stack() function.
[email protected] wrote:
> IMO, this may be an issue of OS, not of ruby.

Fwiw, valgrind chokes here, too.

I tes...
normalperson (Eric Wong)
04:49 AM Bug #11001: 2.2.1 Segmentation fault in reserve_stack() function.
Same issue with recent ruby versions on Ubuntu 12.04.
I tried it with recent OS versions and found that
* Ubunt...
kubo (Takehiro Kubo)
02:13 PM Bug #11291: [] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV
Backported into `ruby_2_2` branch at r51047. nagachika (Tomoyuki Chikanaga)
02:12 PM Revision 1343c89e (git): merge revision(s) 50982,50983: [Backport #11291]
* ext/objspace/objspace_dump.c(dump_object): Return empty JSON object when
passed object is a special const...
nagachika (Tomoyuki Chikanaga)
02:04 PM Bug #11303 (Third Party's Issue): [BUG] Segmentati on fault ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]
It seems that SEGV occurred in mysql.gem extension. Please report to the gem project. nagachika (Tomoyuki Chikanaga)
10:13 AM Bug #11260 (Closed): [] Net::FTP keeps a TCPServer opened when sending the data port fails
Thanks, committed in r51046. Eregon (Benoit Daloze)
09:04 AM Bug #11260 (Assigned): [] Net::FTP keeps a TCPServer opened when sending the data port fails
Benoit Daloze wrote:
> @shugo, can I commit this?
The looks fine. Please commit it.
shugo (Shugo Maeda)
10:10 AM Revision 6cdc55f4 (git): * lib/net/ftp.rb (makeport): close the TCPServer
when sending the port fails.
* test/net/ftp/test_ftp.rb: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
Eregon (Benoit Daloze)
09:55 AM Feature #10594: Comparable#clamp
Here's a pull request for this: https://.com/ruby/ruby/pull/947
nerdinand (Ferdinand Niedermann)
02:26 AM Feature #11308: Optional `include_super=true` parameter for `*method_defined?` methods
Rationale? I don't see any real-world use-case for them.
Matz.
matz (Yukihiro Matsumoto)

06/26/2015

10:52 PM Revision b8d54483 (git): Revert "st.c: use ccan linked-list (try 2)"
This reverts commit r51044
Still getting failure notices from ko1's CI machine.
ref: g3qkqn
git-svn-id: svn+ssh://ci...
Eric Wong
10:47 PM Bug #11313 (Closed): Fixed a couple of typos
tuzz (Chris Patuzzo)
10:32 PM Revision d3725a86 (git): st.c: use ccan linked-list (try 2)
This improves the bm_vm2_bighash benchmark significantly by
removing branches during insert, but slows down anything
...
Eric Wong
08:19 PM Revision 08414a6a (git): common.mk: add ccan/list headers as deps for st.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
07:01 PM Revision c803bf3a (git): * 2015-06-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:59 PM Revision c94a9480 (git): st.c: include ccan/list/list.h to test build
I suspect the build failures with r51034 ("st.c: use ccan linked-list")
on ko1's CI machine was due to me forgetting ...
Eric Wong
06:58 PM Feature #11312 (Assigned): Add Resolv::DNS::Resource::IN::SPF
The SPF type record (RFC4408 Section 3.1.1) is quite common now. The resolv library should probably support it. As a ... postmodern (Hal Brodigan)
04:13 PM Bug #11311: STRING::Scan method badly interpret i option - Ruby 2.1.*
~~~ruby
'SKYPE'.scan(/[^aeiouyAEIOUY\W]/i) #returns ["P"] instead of ["S", "K", "P"]
'SKYPE'.scan(/[^aeiouyAEIOUY\W...
gayahel (Agathe Begault)
04:10 PM Bug #11311 (Closed): STRING::Scan method badly interpret i option - Ruby 2.1.*
~~~ruby
'SKYPE'.scan(/[^aeiouyAEIOUY\W]/i) #returns ["P"] instead of ["S", "K", "P"]
~~~
Tested on Ruby 2.1.3 / 2....
gayahel (Agathe Begault)
03:16 PM Bug #11310 (Closed): CSV::Table#to_csv should use concat not +
The current implementation of CSV::Table#to_a method uses Array#+ to which is really bad on performance. It seems lik... zdennis (Zach Dennis)
02:58 PM Feature #11309: Iterator over string matches
Oops, I meant `pre_match`, not `post_match`. Sorry. sawa (Tsuyoshi Sawada)
02:55 PM Feature #11309 (Open): Iterator over string matches
This was hinted from a problem in stackoverflow (http://stackoverflow.com/questions/31074050/build-list-of-strings-co... sawa (Tsuyoshi Sawada)
10:16 AM Bug #10460: Segfault instead of stack level too deep
I think the bug is still there. I'm able to reproduce it on the nightly snapshot (dated 25 June 2015 on the FTP serve... gregnavis (Greg Navis)
08:58 AM Revision c47ef3dc (git): sprintf.c: rb_inspect returns a string
* sprintf.c (rb_str_format): rb_inspect() always returns a string.
rb_obj_as_string() has no more effect.
git-svn-...
nobu (Nobuyoshi Nakada)
08:57 AM Revision 20cecf1d (git): object.c: common prefix of converter methods
* object.c (convert_type): check common prefix of converter
method names first. shrink conv_method_names.
git-svn...
nobu (Nobuyoshi Nakada)
06:22 AM Revision e3815c47 (git): ChangeLog: doc accidentally squashed commit in r51036
Oops :x
* hash.c (rb_hash_fetch_m): remove unnecessary volatile since r41597
(env_reject_bang): trade volatile for...
Eric Wong
04:47 AM Feature #11308 (Closed): Optional `include_super=true` parameter for `*method_defined?` methods
I request the following methods in the `Module` class:
* `method_defined?`
* `private_method_defined?`
* `protec...
sawa (Tsuyoshi Sawada)
03:49 AM Bug #11277 (Closed): "code converter not found" error with multi-thread (high occurrence rate since r50887)
Applied in changeset r51037.
----------
transcode.c: fix race condition
* transcode.c (load_transcoder_entry): fix ...
nobu (Nobuyoshi Nakada)
03:48 AM Revision 9a7e4bf9 (git): transcode.c: fix race condition
* transcode.c (load_transcoder_entry): fix transcoder loading race
condition, by waiting in require. [ruby-dev:491...
nobu (Nobuyoshi Nakada)
01:25 AM Bug #11306: Segmentation fault
Thank you. This has now been reported as a gem error: https://.com/m0wfo/cups/issues/21
and I added Eric Wong'...
dsaronin (David Anderson)

06/25/2015

11:06 PM Revision 9f1c0094 (git): enum.c (enum_minmax): simplify return value creation
No need to call three functions on success when one will do.
This results in less LoC and smaller object code, too:
...
Eric Wong
11:06 PM Feature #11307 (Assigned): exception-free non-blocking Queue#pop
As we learned from the nonblocking IO APIs, exceptions are noisy with debugging
enabled and waste allocations on bac...
normalperson (Eric Wong)
07:56 PM Revision cc5547a4 (git): Revert r51034 "st.c: use ccan linked-list"
Maybe this will stop mysterious CI failures from ko1@sasada-8core:
リビジョン 51034 です。
make[1]: ディレクトリ `/mnt/sdb1/ruby/b...
Eric Wong
07:01 PM Revision d8748874 (git): st.c: use ccan linked-list
This improves the bm_vm2_bighash benchmark significantly by
removing branches during insert, but slows down anything
...
Eric Wong
03:19 PM Revision bbe6aa72 (git): * 2015-06-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision d8a203fd (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:12 PM Bug #11277: "code converter not found" error with multi-thread (high occurrence rate since r50887)
r50887 以降では、IOを使わなくても以下のようにすれば高確率で再現できました。
Converter が見つからない Error だけでなく、 Encoding のロードに失敗した Warning も出ているのがわかります。...
ngoto (Naohisa Goto)
12:43 PM Revision c00e1880 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:42 PM Revision 33a17d48 (git): * test/-ext-/popen_deadlock/test_popen_deadlock.rb: test [Bug #11265]
* ext/-test-/popen_deadlock/infinite_loop_dlsym.c: new ext to call
dlsym(3) infinitely without GVL, used in the abo...
ngoto (Naohisa Goto)
10:43 AM Bug #11265 (Closed): deadlock on Solaris 10 since r50900
Applied in changeset r51029.
----------
* configure.in: not to use vfork on Solaris to avoid deadlock
occurred in ...
ngoto (Naohisa Goto)
08:12 AM Bug #11265: deadlock on Solaris 10 since r50900
> fork だと、fork 時に運悪くロックが確保されていて子プロセスにそのロックがそのままコピーされると、
> 子プロセスにはロックを持っているスレッドが存在しないため、
> やはりロックは解除されないんじゃないかという気がす...
ngoto (Naohisa Goto)
01:52 AM Bug #11265: deadlock on Solaris 10 since r50900
ふと、fork にすると本当に解決するのだろうか、という疑問が浮かびました。
vfork でデッドロックになるのは、
(Solaris では親プロセスでvforkを呼び出したスレッドだけでなく、他のスレッドも停止するため)
...
akr (Akira Tanaka)
10:42 AM Revision d47a2b57 (git): * configure.in: not to use vfork on Solaris to avoid deadlock
occurred in vfork(2) with multi-threading and dynamic linker
on Solaris. [Bug #11265] [ruby-dev:49089]
git-svn-id...
ngoto (Naohisa Goto)
10:14 AM Bug #11306 (Third Party's Issue): Segmentation fault
A bug of that gem. nobu (Nobuyoshi Nakada)
08:28 AM Bug #11306: Segmentation fault
[email protected] wrote:
> ~~~c
> static VALUE cups_get_device_uri(VALUE self, VALUE printer)
> {
> if (...
normalperson (Eric Wong)
07:45 AM Bug #11306 (Third Party's Issue): Segmentation fault
bug is detected during CUPS call in cups gem (https://.com/m0wfo/cups) v0.1.10. The complete core dump is attac... dsaronin (David Anderson)
09:35 AM Revision 8ffefcb6 (git): * test/lib/envutil.rb (Test::Unit::Assertions#assert_no_memory_):
NO_MEMORY__ENVS is moved to Memory::NO_MEMORY__ENVS
to reduce child executions during test-all on Solaris.
...
ngoto (Naohisa Goto)
08:37 AM Revision 7bba6adc (git): * vm_method.c (rb_method_entry_create): need to call
method_definition_reset() if def is given.
Actually, `me' is a new object, so we don't need to call it.
It is jus...
ko1 (Koichi Sasada)
07:59 AM Revision f4d71ad5 (git): * vm_method.c: make a rb_method_definition_t data (def) *after* making
a rb_method_entry_t data (me).
Normally, `me' points `def'. Some Ruby objects pointed from `def'
and objects are ...
ko1 (Koichi Sasada)
07:11 AM Revision f94ed2ce (git): error.c: remove singleton method
* error.c (rb_name_err_mesg_new): remove singleton method, and
unused argument.
* vm_eval.c (make_no_method_except...
nobu (Nobuyoshi Nakada)
06:32 AM Revision f9c2adf3 (git): random.c: refactor
* random.c (fill_random_bytes): separate non-raced and raced
conditions, on Windows.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
05:26 AM Revision 2c3656f5 (git): test: refine assertions
* test/test_prime.rb (test_eratosthenes_works_fine_after_timeout):
use assert_raise to check timeout.
* test/test_...
nobu (Nobuyoshi Nakada)
05:14 AM Revision 31637f00 (git): test_prime.rb: cosmetic changes
* test/test_prime.rb (test_eratosthenes_works_fine_after_timeout):
use spaces instead of TABs in ruby codes. [Fix ...
nobu (Nobuyoshi Nakada)
04:25 AM Feature #11305 (Open): [ipaddr] include the IP address in question within the InvalidAddressError exception message
The ipaddr.rb library has a father complex and custom parser. If an IP address fails to parse, it will raise an Inval... postmodern (Hal Brodigan)
02:29 AM Feature #11139: [] socket: support accept `sock_nonblock: (true|false)'
The default behavior of accept4() is fine.
Although most Ruby-level API is nonblocking flag insensitive,
there is...
akr (Akira Tanaka)

06/24/2015

10:10 PM Revision 93a460f7 (git): * gc.c (obj_info, method_type_name): show method type name in a string
instead of a number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:53 PM Revision 04deaf5d (git): * gc.c (obj_info): show more details for T_IMEMO/imemo_ment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:44 PM Revision 988267d4 (git): * vm_method.c (rb_method_definition_reset): need a WB for
VM_METHOD_TYPE_ATTRSET.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:38 PM Revision 9a263871 (git): * gc.c (RGENGC_OBJ_INFO, obj_info): add a macro to enable/disable
rich obj_info() output.
At the default, the value of RGENGC_OBJ_INFO is
(RGENGC_DEBUG | RGENGC_CHECK_MODE).
* gc....
ko1 (Koichi Sasada)
05:44 PM Revision 8b192636 (git): * 2015-06-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:44 PM Revision 3d7473e1 (git): ext/openssl/ossl_ssl.c: raise if kwargs given in blocking mode
OpenSSL::SSL::SSLSocket#sysread does not accept kwargs in blocking
mode, inform users if they make an error.
* ext/o...
Eric Wong
03:44 PM Feature #11302: Dir.entries and Dir.foreach without [".", ".."]
Nobuyoshi Nakada wrote:
> Candidates for the methods or options?
>
> I prefer a same option for both methods, but...
red (Arnaud Rouyer)
06:41 AM Feature #11302: Dir.entries and Dir.foreach without [".", ".."]
Candidates for the methods or options?
I prefer a same option for both methods, but no concrete idea.
nobu (Nobuyoshi Nakada)
06:24 AM Feature #11302 (Closed): Dir.entries and Dir.foreach without [".", ".."]
Dir.entries returns an array of its content with "." and "..".
But as far as I met, almost all cases don't need them...
naruse (Yui NARUSE)
03:38 PM Feature #11298: [] socket: memoize common socket families in fptr->mode
[email protected] wrote:
> Did you make a mistake, or `after` is really slower?

Good catch! I mislabeled t...
normalperson (Eric Wong)
09:10 AM Feature #11298: [] socket: memoize common socket families in fptr->mode
Did you make a mistake, or `after` is really slower? funny_falcon (Yura Sokolov)
11:08 AM Bug #11304 (Closed): [] Kernel.global_variables should observe $~.
The added complexity does impact performance, but the difference is negligible, and the method should return what it ... 0x0dea (D.E. Akers)
09:08 AM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
imho, 0001 is very important, cause it gives most of performance improvement for usual case.
For now, I think twic...
funny_falcon (Yura Sokolov)
08:41 AM Bug #10398: Server Name Indication support broken when reusing a (dead) session
Same issue: #10533 a.holstvoogd (Arthur Holstvoogd)
08:41 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
Related i.e same issue: #10398 a.holstvoogd (Arthur Holstvoogd)
08:31 AM Revision 220f9d50 (git): vm_method.c: use the current visibility
* vm_method.c (rb_attr): simply use the current visibility,
instead of tests for each visibilities.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
08:29 AM Revision d92b0dc5 (git): vm_method.c: remove redundant check
* vm_method.c (rb_attr): remove redundant check. attribute names
given in ruby level should be checked before call...
nobu (Nobuyoshi Nakada)
08:28 AM Revision 43b5e3d7 (git): load.c: use RB_GC_GUARD
* load.c (rb_feature_provided): use RB_GC_GUARD for fullpath after
last use of feature.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
08:25 AM Bug #11303 (Third Party's Issue): [BUG] Segmentati on fault ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]
$ rails server
c:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/mysql-2.9.1/mysql/mysql_api.so: [BUG] ...
adrianpetrov (adrian petrov)
08:20 AM Misc #10278: [RFC] st.c: use ccan linked list
Updated v2 .
I care about this more, now, since I want to try to make unordered hash an
option with st.c in ...
normalperson (Eric Wong)
07:56 AM Revision 4a8b0481 (git): * gc.c (gc_mark_children): add additional debug code for #11244.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:17 AM Revision a12fb26f (git): string.c (rb_str_justify): use RB_GC_GUARD
See doc/extension.rdoc for justification using RB_GC_GUARD instead
of volatile.
git-svn-id: svn+ssh://ci.ruby-lang.o...
Eric Wong
06:54 AM Bug #11301: Module#prepend should have always added the module before the current
I think we have tried it some times but not made a conclusion.
Change `Module#prepend` only?
nobu (Nobuyoshi Nakada)
05:55 AM Bug #11301 (Closed): Module#prepend should have always added the module before the current
I don't think it's ideal:
~~~ruby
module M
end
class A
prepend M
end
A.ancestors
# => [M, A, Obje...
matz (Yukihiro Matsumoto)
06:53 AM Bug #11296 (Closed): Proc#arity returns weird value for non-lambda proc with optional arguments
Marc-Andre, thank you for the info. You have made the issue clear.
Now I can safely close the issue.
Matz.
matz (Yukihiro Matsumoto)
05:25 AM Bug #11296: Proc#arity returns weird value for non-lambda proc with optional arguments
This is intentional, as per #5694 (note 22). It is not really related to #7765.
FWIW, I still believe it was not t...
marcandre (Marc-Andre Lafortune)
06:07 AM Bug #11247 (Assigned): Should position of `using` affect the behavior?
Koichi Sasada wrote:
> Recent fix changed behavior of this script.
>
> * trunk in May: C and R1, C
> * current t...
shugo (Shugo Maeda)
06:02 AM Bug #11246 (Rejected): refine block doesn't respect "lexical" refinement information
Koichi Sasada wrote:
> The following program making two refinements refine class C.
>
> ```ruby
> class C
> d...
shugo (Shugo Maeda)
05:30 AM Revision 8b0cfe90 (git): * gc.c (gc_mark_ptr): add a check code for #11244.
It should be removed later. But we can remain this check
because it is only a branch.
git-svn-id: svn+ssh://ci.r...
ko1 (Koichi Sasada)
04:37 AM Bug #11244: [BUG] rb_gc_mark(): 0x00000001f34020 is T_NONE
その後、かなり高い頻度で発生するようになっています。
毎回 gc_mark_stacked_objects_all() の呼び出しから起きていて、incremental では起きないようなので、たぶんなんかその場合のみ引っかかるオブ...
usa (Usaku NAKAMURA)
03:50 AM Revision d3199656 (git): string.c: rb_fstring_cstr
* string.c (rb_fstring_cstr): new function to make a fstring from
a string literal.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
03:47 AM Revision 0161f79a (git): internal.h: rb_fstring_lit
* internal.h (rb_fstring_lit): new macro to make a fstring from a
string literal.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
03:47 AM Revision ca87ac69 (git): intern.h: rb_strlen_lit
* include/ruby/intern.h (rb_strlen_lit): new macro to get the
length of a string literal, borrowed from mruby/mruby...
nobu (Nobuyoshi Nakada)
03:21 AM Revision 7fac6912 (git): * re.c: Update documentation for Regexp class.
[fix GH-937][ci skip] by @davydovanton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51006 b2dd03c8-39d4-4...
hsbt (Hiroshi SHIBATA)
03:08 AM Feature #11300: [] Add String#bin for parity with #hex and #oct.
[email protected] wrote:
> Two points. Unlike `#hex` and `#oct`, there's little demand for 0/1 strings conversion...
normalperson (Eric Wong)
01:20 AM Feature #11300 (Feedback): [] Add String#bin for parity with #hex and #oct.
Two points. Unlike `#hex` and `#oct`, there's little demand for 0/1 strings conversion.
Besides that, `String#bin` c...
matz (Yukihiro Matsumoto)
01:00 AM Feature #11300 (Feedback): [] Add String#bin for parity with #hex and #oct.
## Proposal
It is proposed that `String#bin` be added to return the receiver's value when interpreted as a string ...
0x0dea (D.E. Akers)
12:38 AM Feature #11299: [] use Array instead of custom struct for generic ivars
[email protected] wrote:
> I agree with Ko1 here. GC pressure from object allocation is far
> higher than the pre...
normalperson (Eric Wong)
12:28 AM Feature #11299: [] use Array instead of custom struct for generic ivars
[email protected] wrote:
> I'm weakly against this proposal because it will consumes more objects
> and increase GC pr...
normalperson (Eric Wong)
12:24 AM Feature #11299: [] use Array instead of custom struct for generic ivars
I agree with Ko1 here. GC pressure from object allocation is far higher than the pressure from byte allocation.
Ma...
matz (Yukihiro Matsumoto)
12:24 AM Revision 1782dd8c (git): variable.c: remove FL_ABLE check for generic ivars
Missed this in r50758.
* variable.c (generic_ivar_set): remove FL_ABLE check
(gen_ivar_copy): ditto
[ruby-core:6...
Eric Wong

06/23/2015

11:53 PM Feature #11299: [] use Array instead of custom struct for generic ivars
I'm weakly against this proposal because it will consumes more objects and increase GC pressure.
I don't think it is...
ko1 (Koichi Sasada)
11:23 PM Feature #11299 (Assigned): [] use Array instead of custom struct for generic ivars
I'll commit this in a few days unless there's an objection.
~~~
This reduces both code and object size while redu...
normalperson (Eric Wong)
11:41 PM Feature #11263 (Closed): [] ext/socket/ancdata.c (bsock_recvmsg_internal): reduce stack use
Applied in changeset r51003.
----------
ext/socket/ancdata.c (bsock_recvmsg_internal): reduce stack use
Using 8K st...
Anonymous
11:41 PM Revision 3f172356 (git): * 2015-06-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:40 PM Revision d9d1b20d (git): ext/socket/ancdata.c (bsock_recvmsg_internal): reduce stack use
Using 8K stack is probably too much. As reference, ALLOCV falls
back to heap allocation at a mere 1K. Since
bsock_r...
Eric Wong
07:18 PM Feature #11298 (Closed): [] socket: memoize common socket families in fptr->mode
I noticed an unnecesary getsockname() syscalls for every
sendmsg_nonblock call I make on SOCK_SEQPACKET pair.
This ...
normalperson (Eric Wong)
02:47 PM Feature #6284: Add composition for procs
Attached to support composing with any object that responds to `call` (rather than raising a `TypeError` if the... mudge (Paul Mucur)
02:07 PM Bug #11296: Proc#arity returns weird value for non-lambda proc with optional arguments
Hans, thank you. That's what I meant.
Kazuhiro, #7765 suggests that seems intentional.
After hearing opnion from ot...
matz (Yukihiro Matsumoto)
01:26 PM Bug #11296: Proc#arity returns weird value for non-lambda proc with optional arguments
I think #5694 and #7765 are related issues. znz (Kazuhiro NISHIYAMA)
12:55 PM Bug #11296: Proc#arity returns weird value for non-lambda proc with optional arguments
i think matz means:
~~~ruby
Proc.new(){|x=0|}.arity # => 0
lambda {|x=0|}.arity # => -1
~~~
Hanmac (Hans Mackowiak)
11:50 AM Bug #11296 (Feedback): Proc#arity returns weird value for non-lambda proc with optional arguments
`Proc.new(x=0){}` raises an `ArgumentError` for me, in 1.8..2.3. nobu (Nobuyoshi Nakada)
05:48 AM Bug #11296 (Rejected): Proc#arity returns weird value for non-lambda proc with optional arguments
`Proc.new(x=0){}.arity` returns 0, not -1 unlike lambdas.
I don't remember if it's intentional or not. Anyone remem...
matz (Yukihiro Matsumoto)
01:27 PM Feature #11297 (Closed): Allow private method of self to be called
Ruby does not allow private method to be called if receiver is given. Calling private method with receiver is prohibi... soutaro (Soutaro Matsumoto)
12:00 PM Bug #11294: Possible bug in Object.const_get
Thank you, Nobuyoshi, for your answering. Now I see the reason.
When I told that `Foo::Bar::Qux` is "closest" to `...
nepalez (Andrew Kozin)
11:47 AM Bug #11265: deadlock on Solaris 10 since r50900
親プロセス側のスレッド l@5 内で呼ばれている dlsym() で要求しているシンボルは _ex_unwind であるのがわかりました。
(下記のdbxの出力は、上記とは別の実行時になりますが、おおむね同じです。)
~~~
...
ngoto (Naohisa Goto)
05:32 AM Revision c23a7b0d (git): error.c: ArgumentError if no receiver
* error.c (name_err_receiver): raise ArgumentError if no receiver
is available on this exception object. [Feature ...
nobu (Nobuyoshi Nakada)
05:32 AM Revision 8283e4fd (git): error.c: index numbers
* error.c (rb_name_err_mesg_new, name_err_mesg_to_str): name magic
numbers of indexes.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
01:58 AM Misc #11295: Request for comments about error messages
[email protected] wrote:
> There are several proposals to extend error messages.
>
> * https://.com/charliesom...
normalperson (Eric Wong)
01:09 AM Misc #11295 (Closed): Request for comments about error messages
(This is not a proposal, bug reports)
Ruby shows error messages when something wrong.
There are several proposa...
ko1 (Koichi Sasada)
12:49 AM Revision 3fe2773c (git): dir.c (check_dirname): avoid volatile, use return value
volatile is unnecessary since we use rb_sys_fail_path nowadays
and that prevents the path argument from being GC-ed.
...
Eric Wong
 

Also available in: Atom