Project

General

Profile

Activity

From 06/20/2015 to 06/26/2015

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://github.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://github.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_leak):
NO_MEMORY_LEAK_ENVS is moved to Memory::NO_MEMORY_LEAK_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: [PATCH] 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: [PATCH] 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: [PATCH] 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): [PATCH] 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 patch.
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] Patch 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: [PATCH] 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): [PATCH] 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): [PATCH] 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: [PATCH] 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: [PATCH] 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: [PATCH] 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: [PATCH] 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): [PATCH] 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): [PATCH] 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): [PATCH] 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 patch 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://github.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

06/22/2015

11:20 PM Bug #11294 (Rejected): Possible bug in Object.const_get
Toplevel constants are defined under `Object` context, which are inherited by every contexts.
Your results are sam...
nobu (Nobuyoshi Nakada)
09:23 PM Bug #11294 (Rejected): Possible bug in Object.const_get
~~~ruby
module Foo; end
module Foo::Baz; end
module Bar; end
module Bar::Qux; end
Object.const_get "Foo::Baz::...
nepalez (Andrew Kozin)
10:54 PM Bug #11293 (Rejected): Integer('0123') => 83
Try `Integer('0123', 10)`. nobu (Nobuyoshi Nakada)
03:20 PM Bug #11293: Integer('0123') => 83
Matt Di Pasquale wrote:
> Is this the correct behavior?
>
> irb(main):001:0> Integer('0123')
> => 83
> ...
jeremyevans0 (Jeremy Evans)
03:02 PM Bug #11293 (Rejected): Integer('0123') => 83
Is this the correct behavior?
irb(main):001:0> Integer('0123')
=> 83
Shouldn't the return value be `123`?
mattdipasquale (Matthew Mario Di Pasquale)
10:38 PM Feature #10585: struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs
Thanks, I've committed 0002, 0003, and would like to commit a
slightly-updated 0004 soon unless somebody else objec...
normalperson (Eric Wong)
09:50 PM Revision 099e6e78 (git): struct.c: cache member definition in a subclass
Since getting Qnil is already error, it is safe to use rb_attr_get.
* struct.c (struct_ivar_get): cache member defin...
Eric Wong
08:10 PM Revision 8b71b4e5 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:10 PM Revision 1a8e3ba1 (git): * 2015-06-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:10 PM Revision a63c5b26 (git): add benchmarks for struct[:name]
* benchmark/bm_vm2_struct_big_href_hi.rb: new benchmark
* benchmark/bm_vm2_struct_big_href_lo.rb: ditto
* benchmark/b...
Eric Wong
07:38 PM Feature #11139: [PATCH] socket: support accept `sock_nonblock: (true|false)'
I don't think the flag matters for second-tier OSes, as the underlying
descriptor does not matter with our current ...
normalperson (Eric Wong)
07:38 PM Misc #11276: [RFC] compile.c: convert to use ccan/list
SASADA Koichi <[email protected]> wrote:
> I have no opinion about that, if there are no behavior changes.
> All of op...
normalperson (Eric Wong)
06:07 PM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Marc-Andre Lafortune wrote:
> Franck Verrot wrote:
> > Isn't there way to much overhead to include `Enumerable` in ...
cesario (Franck Verrot)
09:28 AM Revision 63dda7f9 (git): fix typo aroud Bug numbering format
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
09:25 AM Bug #11288 (Closed): start_watchdog in test/lib/test/unit.rb is meaningless
r36385 (2012/7/14) にて、launch_worker の行が watchdog = start_watchdog の後ろに移動していました。
大丈夫そうなので、r50994 にて削除しました。
ngoto (Naohisa Goto)
09:21 AM Revision 05f78a6f (git): * test/lib/test/unit.rb (Test::Unit::Parallel#start_watchdog): removed
because it has been meaningless since r36385. [Bug:11288]
* test/lib/test/unit.rb (Test::Unit::Parallel#_run_paralle...
ngoto (Naohisa Goto)
04:22 AM Feature #11292: objspace: Dump type of special consts
Could you add use-case of this patch?
ko1 (Koichi Sasada)
12:21 AM Revision cc934fc3 (git): * 2015-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:21 AM Revision a2cd78a5 (git): win32.c: use numberof
* win32/win32.c (open_dir_handle): use numberof() macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50992 b2d...
nobu (Nobuyoshi Nakada)

06/21/2015

02:55 PM Revision 2431ad55 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:53 PM Revision 68f4385d (git): * NEWS: mention Array#bsearch_index and Hash#fetch_values. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:48 PM Revision b86b3624 (git): * NEWS: add a reference to a ticket. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:48 PM Revision c0f571e0 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:30 PM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
Can't you compile with debug symbols enabled? nobu (Nobuyoshi Nakada)
11:00 AM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
Zachary Scott wrote:
> Do you know how to reproduce it?
>
> Rails+Ruby 2.2 isn't enough for me to make a crash.
...
netronix (Michaël Rigart)
12:28 PM Revision 4a686ebc (git): array.c: use ALLOCV_N
* array.c (rb_ary_permutation): use ALLOCV_N instead of ALLOCV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50...
nobu (Nobuyoshi Nakada)
11:28 AM Revision bbe805f0 (git): internal.h: roomof
* internal.h (roomof): extract from type_roomof, and move from
bignum.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
10:52 AM Revision e9482963 (git): runruby.rb: don't close other fds
* tool/runruby.rb: rubyspec now requires other FDs not to be
closed since 7b6ce1fee.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
09:32 AM Revision 9767eb30 (git): ruby_atomic.h: refine ATOMIC_PTR_CAS
* ruby_atomic.h (ATOMIC_PTR_CAS): define by generic CAS macro, not
via size_t, to suppress a warning by mingw gcc.
...
nobu (Nobuyoshi Nakada)
07:13 AM Feature #11181: Add a line directive to Ruby
Today on IRC someone else also wanted such a feature:
sphex> hey. does ruby support something like "#line" direc...
shevegen (Robert A. Heiler)
03:21 AM Revision e833adaa (git): ext/objspace/objspace_dump.c: adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

06/20/2015

09:03 PM Feature #11292 (Assigned): objspace: Dump type of special consts
related to #11291, fix at r50982 doesn't put passed immediate value's type on output. This patch changes to include t... sorah (Sorah Fukumori)
08:50 PM Bug #11291 (Closed): [PATCH] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV
Applied in changeset r50982.
----------
* ext/objspace/objspace_dump.c(dump_object): Return empty JSON object when
...
sorah (Sorah Fukumori)
05:06 PM Bug #11291 (Closed): [PATCH] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV
https://github.com/ruby/ruby/pull/943
It fixes SEGV when a special constant is passed to `ObjectSpace.dump` .
I t...
eagletmt (Kohei Suzuki)
08:50 PM Revision cc77375d (git): * ext/objspace/objspace_dump.c(dump_object): Return empty JSON object when
passed object is a special const, instead of SEGV.
Based patch by Kohei Suzuki (eagletmt). [ruby-core:69692] [Bug #...
sorah (Sorah Fukumori)
03:48 PM Revision a2e4c418 (git): * 2015-06-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:48 PM Revision 54d4de67 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:35 PM Bug #11290 (Closed): Abort: 6 error running sample app
Going through Ruby on Rails course, working through initial install.
Running into an issue running sample_app... ...
airmol11 (aaron henderson)
09:41 AM Bug #11282: ruby.exe never run. ebtry point not found
Diamond Star wrote:
> Unable to find gmtime64_s_ in msvcrt.dll library"
If you've used the RubyInstaller, this th...
cesario (Franck Verrot)
08:32 AM Revision f7547ae6 (git): * object.c (rb_obj_taint): [DOC] $SAFE=3 is obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
02:11 AM Bug #11288: start_watchdog in test/lib/test/unit.rb is meaningless
なくて今誰も困ってないのですから削除に一票。
欲しくなったら戻すのはいつでも出来るでしょ。そのためにバージョン管理してるんだから。
kosaki (Motohiro KOSAKI)
01:13 AM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
I knew the call to `rb_check_arity()` should come first, but your very nice solution to doing so without mixing decla... 0x0dea (D.E. Akers)
12:12 AM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
D.E. Akers wrote:
> I assumed `*argv` would resolve to `Qnil` in the case of no arguments, but this is indeed not th...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom