Project

General

Profile

Activity

From 01/06/2012 to 01/12/2012

01/12/2012

09:36 PM Feature #5185: Set#merge acts in place but Hash#merge does not
+1, I just got bitten by this. Hash#merge returns a new object, so one should expect Set#merge to behave the same way (Principle of Least Surprise).
Set#merge!, Set#update or Set#union! for in-places unions sound good to me.
tokland (Arnau Sanchez)
07:07 PM Revision edfc3526 (git): merge revision(s) 34278:
* cont.c (cont_restore_0): prevent optimizing out `sp'. sp is used for
reserving a memory space with ALLOCA_N for restoring machine stack
stored in cont->machine_stack, but clang optimized out it (and
maybe ...
kosaki (Motohiro KOSAKI)
07:01 PM Feature #5617: Allow install RubyGems into dediceted directory
Yui NARUSE wrote:
> * Show standalone patch; a patch to previous patch is difficult to inspect
Here is the squashed version.
> ...
There is no difference at all IMO.
vo.x (Vit Ondruch)
07:47 AM Feature #5617 (Assigned): Allow install RubyGems into dediceted directory
* Show standalone patch; a patch to previous patch is difficult to inspect
* How will users use gems with this patched ruby?
naruse (Yui NARUSE)
06:49 PM Revision d00fe548 (git): * lib/shellwords.rb (Shellwords#shellescape): shellescape() now
stringifies the given object using to_s.
* lib/shellwords.rb (Shellwords#shelljoin): shelljoin() accepts
non-string objects in the given array, each of which is
stringified using to_s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Akinori MUSHA
06:49 PM Revision c100aeb8 (git): * lib/shellwords.rb: Fix rdoc markups.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
06:44 PM Bug #5879 (Closed): $ignore_error use before set
This issue was solved with changeset r34279.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/mkmf.rb: fix r33904 and revert r33905. initialize glob...
nobu (Nobuyoshi Nakada)
01:19 AM Bug #5879 (Closed): $ignore_error use before set
lib/mkmf.rb で make_makefile の中で
$ignore_error = $nmake ? '' : ' 2> /dev/null || true'
と $ignore_error が設定されていますが、 make_makefile の呼び出しよりも前の
CLEANINGS への代入で $ignore_error が使われていて、
DISTCLEANDIRS の RMDIRS に ' 2...
znz (Kazuhiro NISHIYAMA)
06:42 PM Revision 8c72fc9b (git): * lib/shellwords.rb (Shellwords#shellsplit): Fix a bug where
consecutive backslashes in double quotes are all removed except
the one at the tail.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
06:28 PM Revision 44d20d61 (git): Do not define _WIN32_WINNT multiple times
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e luislavena (Luis Lavena)
06:10 PM Bug #5887 (Assigned): The documentation of Module.constants is incorrect
naruse (Yui NARUSE)
04:37 PM Bug #5887 (Closed): The documentation of Module.constants is incorrect
The documentation of Module.constants says "Returns an array of the names of all constants defined in the system. This list includes the names of all modules and classes." However, Module.constants returns the names of the constants acc... shugo (Shugo Maeda)
04:46 PM Revision 6fe410d4 (git): * 2012-01-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:46 PM Revision 160f31e5 (git): merge revision(s) 34280:
* eval.c: Improve rdoc for Module.constants [issue #5887]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:37 PM Revision 92498834 (git): * 2012-01-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:37 PM Revision dea6efb5 (git): * eval.c: Improve rdoc for Module.constants [issue #5887]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
12:16 PM Bug #5423: readlineの入力待機中に端末のウィンドウサイズ変更すると入力内容が乱れる
元報告者と現象が同じかどうかわかりませんが、Ubuntu 10.04.3 で ruby 2.0.0dev (2012-01-10 trunk 34255) [i686-linux] + GNU Readline 6.1 で以下のような現象が確認できます。
$ echo $TERM
xterm
$ ruby -rreadline -e 'Readline.readline("> ")'
> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
nagachika (Tomoyuki Chikanaga)
11:27 AM Feature #5785: Readline に pre_input_hook, insert_text, redisplay を追加
trunk の変更でパッチがあたらなくなっていたので udpate したものを再度添付します。 nagachika (Tomoyuki Chikanaga)
11:27 AM Feature #5784: Readline.special_prefixes の追加
trunk の変更でパッチがあたらなくなっていたので udpate したものを再度添付します。 nagachika (Tomoyuki Chikanaga)
11:14 AM Bug #5884: Float::NAN and 0.0/0.0 is represented differently when packed with 'g'
Yui NARUSE wrote:
> Hiro Asari wrote:
> ...
I must add one more reason; the NaN seems not what I defined.
The NaN is provided by the system's math.h.
And additional to say, you should use unpack('G') because it is double.
Hiro...
naruse (Yui NARUSE)
10:14 AM Bug #5884: Float::NAN and 0.0/0.0 is represented differently when packed with 'g'
I am not presenting a real use case. That is not my intent. My intent is to clarify the design of Float::NAN, especially in relation to 0.0/0.0. Since there is no way to distinguish the two without it, it seems to me that Array#pack is a... hasari (Hiro Asari)
09:42 AM Bug #5884: Float::NAN and 0.0/0.0 is represented differently when packed with 'g'
Hiro Asari wrote:
> Besides it being status quo, what is the rationale behind not having Float::NAN and 0.0/0.0 act identically?
* I thought it should be quiet NaN
* no reason to choose "\xFF\xC0\x00\x00" there is many NaNs and plat...
naruse (Yui NARUSE)
09:23 AM Bug #5884: Float::NAN and 0.0/0.0 is represented differently when packed with 'g'
Hi,

As far as I understand, the concept of "the NaN" itself is against the
definition of NaN in the IEEE 754 that defines NaN as set of floating
point values. Correct me if I am wrong.

matz.

In message "Re: [r...
matz (Yukihiro Matsumoto)
08:24 AM Bug #5884: Float::NAN and 0.0/0.0 is represented differently when packed with 'g'
Besides it being status quo, what is the rationale behind not having Float::NAN and 0.0/0.0 act identically?
As Brian mentioned, until the introduction of Float::NAN, 0.0/0.0 acted as a means of getting IEEE 754 NaN. If the intent for F...
hasari (Hiro Asari)
07:46 AM Bug #5884: Float::NAN and 0.0/0.0 is represented differently when packed with 'g'
I can't understand why it is nice and least confusing if 0.0/0.0 equals Float::NAN as a binary.
Could you show a use case or reasonable logic?
naruse (Yui NARUSE)
06:54 AM Bug #5884: Float::NAN and 0.0/0.0 is represented differently when packed with 'g'
While it may make some sense that Float::NAN is the quite NaN (if I understand IEEE 754 correctly), really the only way to get NaN as a value in Ruby prior to Float::NAN was to compute 0.0/0.0, which I would expect to result in signaling... brixen (Brian Shirai)
06:50 AM Bug #5884 (Rejected): Float::NAN and 0.0/0.0 is represented differently when packed with 'g'
$ ruby2.0 -e 'p [Float::NAN].pack("g")'
"\x7F\xC0\x00\x00"
$ ruby2.0 -e 'p [0.0/0.0].pack("g")'
"\xFF\xC0\x00\x00"
It would be nice to have Float::NAN and 0.0/0.0 behave identically in this regard.
hasari (Hiro Asari)
09:44 AM Revision 912b6606 (git): * lib/mkmf.rb: fix r33904 and revert r33905. initialize global
variables with init_mkmf before initializing constants.
[ruby-dev:45124] [Bug #5879]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:38 AM Bug #5883: thread bootstrap tests fail with clang 3.0 on Snow Leopard
Yui NARUSE wrote:
>
> ...
Yui, was not my intention to say you didn't want to fix this.
It will be great if a clear statement is made in relation to clang, like:
"Don't use clang with Ruby yet, Ruby code does not compile properl...
luislavena (Luis Lavena)
09:27 AM Bug #5883: thread bootstrap tests fail with clang 3.0 on Snow Leopard
Luis Lavena wrote:
> Oh bummer, where is the fun then?
I can't understand this sentence with my poor English skill but kindly speaking,
Yes, it's not work and I know to fix it is not easy because I tried to fix and reported it
to L...
naruse (Yui NARUSE)
07:37 AM Bug #5883: thread bootstrap tests fail with clang 3.0 on Snow Leopard
Oh bummer, where is the fun then? luislavena (Luis Lavena)
07:30 AM Bug #5883 (Rejected): thread bootstrap tests fail with clang 3.0 on Snow Leopard
Use gcc, clang can't work for ruby yet. naruse (Yui NARUSE)
06:46 AM Bug #5883 (Rejected): thread bootstrap tests fail with clang 3.0 on Snow Leopard
Hello,
Attempted to use clang to build latest trunk (r34277), using clang-3.0 provided by MacPorts:
luislavena (Luis Lavena)
08:51 AM Bug #5886 (Closed): OpenSSL ASN.1 time values may not round-trip their type
Martin asked me to file this ticket.
asn1time_to_time may not preserve the type of ASN.1 time (GENERALIZED vs UTC) loaded as it always returns a ruby Time without any data tagging.
drbrain (Eric Hodel)
05:12 AM Revision ca227314 (git): * cont.c (cont_restore_0): prevent optimizing out `sp'. sp is used for
reserving a memory space with ALLOCA_N for restoring machine stack
stored in cont->machine_stack, but clang optimized out it (and
maybe #5851 is also caused by this).
This affected TestContinuation#test_check_localvars.
* cont.c (...
naruse (Yui NARUSE)
04:47 AM Bug #5882 (Rejected): segfault in miniruby in ruby1.9.3 crosscompile for ARM
Trying to compile ruby 1.9.3p0 for ARM using scratchbox (v1 using arm-linux-cs2010q1-202 for arm, glibc library)
The build hangs in various places around the encoding library, and then has segfaulted with the following trace:
[sbox...
stevegoobermanhill (stephen gooberman-hill)
02:46 AM Feature #5875 (Closed): Couple of tiny changes to string
Closed by reporter's request.
kosaki (Motohiro KOSAKI)
02:19 AM Bug #5880 (Closed): Added examples for Object#instance_of? and Object#is_a?
This issue was solved with changeset r34277.
Manoj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c: Added examples for Object#is_a? and Object#instance_...
ayumin (Ayumu AIZAWA)
01:42 AM Bug #5880 (Closed): Added examples for Object#instance_of? and Object#is_a?
Added examples for Object#is_a? and Object#instance_of? xcess_denied (Manoj Kumar)

01/11/2012

06:26 PM Feature #5617: Allow install RubyGems into dediceted directory
Motohiro KOSAKI wrote:
> I meant,
> ...
RubyGems library is in charge where to install your gems. Here [1] is the logic and I am not touching it in this patch. That means only RubyGems library is installed into the custom location whi...
vo.x (Vit Ondruch)
06:02 PM Feature #5617: Allow install RubyGems into dediceted directory
Motohiro KOSAKI wrote:
> % autoconf
> ...
0003-Removed-superfluous-bracket.patch fixes the issue.
vo.x (Vit Ondruch)
04:43 PM Feature #5617: Allow install RubyGems into dediceted directory
I meant,
- the user use "--with-rubygemsdir" ruby binaries, and
- use unpatch gems
Why the gems should go into /usr/local? Who care?
kosaki (Motohiro KOSAKI)
04:29 PM Feature #5617: Allow install RubyGems into dediceted directory
Motohiro KOSAKI wrote:
> What's happen if a user install non-rpm gems? If it's installed into
> ...
I am not sure I understand your point, but I'll try to elaborate a bit. With this patch there are two scenarios:
1) The default is ...
vo.x (Vit Ondruch)
11:23 AM Feature #5617: Allow install RubyGems into dediceted directory
>> I think this should be done in RubyGems's code, instead of an option in the configuration process (it would also avoid to do the work for each implementation).
>>
>> What do you think?
>
> Actually this two patches are just s...
kosaki (Motohiro KOSAKI)
06:59 AM Feature #5617: Allow install RubyGems into dediceted directory
Benoit Daloze wrote:
> Hello,
> ...
Actually this two patches are just subset of patches I'd like to introduce into Fedora. You can find all the patches in my repository [1]. Some of them, like this one, are more Ruby specific, others ...
vo.x (Vit Ondruch)
06:27 AM Feature #5617: Allow install RubyGems into dediceted directory
Hello,
I would be very interested to have a way to tell RubyGems to install at a particular shared path by default (to avoid unnecessary duplication), but only for the gems which are not implementation-dependents (e.g.: C extension shou...
Eregon (Benoit Daloze)
06:06 AM Feature #5617: Allow install RubyGems into dediceted directory
To be precise, the github patch is fixed version of 0001-Allow-to-install-RubyGems-into-custom-location-outsi.patch. The 0002-Avoid-duplication-of-datadir.rb-which-belongs-to-Rub.patch still needs to be applied. I'll upload correct versi... vo.x (Vit Ondruch)
05:55 AM Feature #5617: Allow install RubyGems into dediceted directory
Actually I ran the patch. The updated version is available here: https://github.com/voxik/ruby.spec/blob/master/ruby-1.9.3-custom-rubygems-location.patch
vo.x (Vit Ondruch)
05:29 AM Feature #5617 (Rejected): Allow install RubyGems into dediceted directory
% autoconf
/usr/bin/gm4:configure.in:2826: Warning: too few arguments to builtin `patsubst'
autom4te: /usr/bin/gm4 failed with exit status: 1
You have to run your patch BEFORE upload it. :-/
kosaki (Motohiro KOSAKI)
12:42 AM Feature #5617: Allow install RubyGems into dediceted directory
Remove duplicated datadir.rb vo.x (Vit Ondruch)
05:19 PM Revision 32e66001 (git): * object.c: Added examples for Object#is_a? and Object#instance_of?
patcheed from Manoj Kumar. [Bug #5880] [ruby-core:42057]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
04:42 PM Revision f22910b6 (git): merge revision(s) 34253:
* test/ruby/test_io.rb (test_autoclose_true_closed_by_finalizer,
test_autoclose_true_closed_by_finalizer): skip if IO objects are
not recycled yet. [ruby-dev:45098] [Bug #5850]
git-svn-id: svn+ssh://ci.ruby-lang.org...
ayumin (Ayumu AIZAWA)
04:41 PM Revision 095ebf1d (git): merge revision(s) 34252:
* lib/tempfile.rb (Tempfile#_close): clear @tempfile and @data[1] even
when exception is raised at @tempfile.close. [ruby-dev:45113]
* lib/tempfile.rb (Tempfile#unlink): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang...
ayumin (Ayumu AIZAWA)
04:41 PM Revision 33341205 (git): merge revision(s) 34250:
* gc.c (run_finalizer): clear rb_thread_t::errinfo when ignore
an exception under rb_protect(). [ruby-dev:45113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
04:40 PM Revision 3b22a825 (git): merge revision(s) 34129:
* test/ruby/test_io.rb (TestIO#test_autoclose): Tempfile.new doesn't
accept the block argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
04:04 PM Revision c6fb7c1c (git): * lib/mkmf.rb: verbose-mode can use by RM, RMDIRS, etc.
(e.g. make V=1 realclean)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:01 PM Revision 674a6834 (git): * 2012-01-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision c5831f39 (git): * string.c (rb_str_concat): set array element after definition
to fix compile error with Fujitsu C Compiler 5.6 on Solaris 10
on Sparc. [Bug #5878] [ruby-dev:45123]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
02:09 PM Revision 28d28e84 (git): * gc.c (ruby_mimmalloc): don't set allocated size to header.
ruby_mimmalloc() doesn't increment allocated_size/allocations and
decrement them in ruby_xfree() cause inconsistency.
* gc.c (ruby_xfree): don't decrement allocated_size/allocations if
allocated size record is 0.
git-svn-id: svn+ss...
nagachika (Tomoyuki Chikanaga)
01:46 PM Revision 2afa0b4c (git): * test/readline/test_readline.rb (test_completion_proc_empty_result):
ensure clearance of Readline's line_buffer after the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:34 PM Revision 0e454c18 (git): * 2012-01-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:34 PM Revision 3551b725 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:23 AM Bug #5853 (Third Party's Issue): make test-all が OpenSSL::PKey::RSAError で止まる
Mac 添付の OpenSSL は Ruby 用には使えないので、homebrew や MacPorts から入れてください。
http://www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fault-and-openssl/
naruse (Yui NARUSE)
08:51 AM Feature #5877 (Rejected): Poor performance of initial and final UTF-8 substrings
Currently, taking the substring of a UTF-8 string always takes time proportional to the length of the string. While this is necessary in the general case, there are many common cases where it could be much faster, in particular when the ... nex3 (Natalie Weizenbaum)
02:58 AM Bug #5867 (Closed): Segfault with (likely) the new GC on OSX
naruse (Yui NARUSE)
02:48 AM Bug #5867: Segfault with (likely) the new GC on OSX
It seems to already be solved as of r34253 !
You can close this issue.
Eregon (Benoit Daloze)

01/10/2012

10:47 PM Feature #5820: Merge Onigmo to Ruby 2.0
そういえば、/u って Ruby だと UTF-8 文字コード指定で既に存在するんですよね。
これもどうするか考えなければというか、いっそ /a /u 入れないのがいいんだろうか…。
naruse (Yui NARUSE)
10:45 PM Feature #5820: Merge Onigmo to Ruby 2.0
0003-support-for-Ruby-1.9.3-compatible-b-B-and-POSIX-brac.patch で既存のテストが全て通ることを確認しました。
しかし、確かに perlre を見直すと、/d で 1.9 仕様というのもちょっと引っかかりますねぇ、うーん。
naruse (Yui NARUSE)
10:21 PM Bug #5869 (Closed): ext/dbm build error with mswin32
This issue was solved with changeset r34265.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/dbm/dbm.c (Init_dbm): fix a build error on mswin32.
us...
Anonymous
02:53 AM Bug #5869: ext/dbm build error with mswin32
>
> `extern __declspec(dllimport)` would be required for VC.
> Here is a patch.
>
>
> diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c
> index 83db7cb..4b177e6 100644
> --- a/ext/dbm/dbm.c
> +++ b/ext/dbm/dbm.c
> @@ -1086,7 ...
kosaki (Motohiro KOSAKI)
10:17 PM Feature #5474: keyword argument
Once this proposal has been implemented, would we also want to change the relevant API calls (in core, stdlib, etc.) to use keyword arguments instead of an optional Hash? yeban (Anurag Priyam)
10:00 PM Feature #5873: Adopt FFI over DL
What is the relation between DL and fiddle?
If they do the same thing, we can remove one.
phasis68 (Heesob Park)
09:53 PM Feature #5873: Adopt FFI over DL
On Tue, Jan 10, 2012 at 9:39 AM, Heesob Park <phasis@gmail.com> wrote:
>
> I suggest reimplementation of ext/DL using libffi just like Aaron Patterson did in https://github.com/tenderlove/ruby/commits/ffi.
> And providing libffi as a...
luislavena (Luis Lavena)
09:39 PM Feature #5873: Adopt FFI over DL
I suggest reimplementation of ext/DL using libffi just like Aaron Patterson did in https://github.com/tenderlove/ruby/commits/ffi.
And providing libffi as a separate library same as zlib or readline.
phasis68 (Heesob Park)
08:26 PM Feature #5873: Adopt FFI over DL
Do you mean bundling libffi itself wholly?
It doesn't sound like a nice idea, to me...
nobu (Nobuyoshi Nakada)
04:17 PM Feature #5873: Adopt FFI over DL
In order words, please replace exe/DL by libffi as Yui Naruse mentioned in
http://sourceware.org/ml/libffi-discuss/2010/msg00053.html
phasis68 (Heesob Park)
12:10 PM Feature #5873 (Feedback): Adopt FFI over DL
I don't get what you mean by "adopt internally".
I think DL also isn't used internally, and fiddle is used over DL.
Could you elaborate?
nobu (Nobuyoshi Nakada)
11:32 AM Feature #5873 (Closed): Adopt FFI over DL
Please adopt ffi internally in the place of dl.
I know there were many discussions about FFI and DL.
And the main problem is the libffi building issue on mswin32 and mswin64 compilers.
Now things have changed.
I forked Ruby FFI a...
phasis68 (Heesob Park)
10:00 PM Feature #5875 (Closed): Couple of tiny changes to string
* change capacity increment from (capa + 1) * 2 to capa * 2 + 1
previous increment formula leads to inconvenient allocation patterns: 25bytes, 51bytes, etc
new formula leads to more comfortable allocation pattern: 24b, 48b, ...
funny_falcon (Yura Sokolov)
08:03 PM Bug #5874 (Rejected): Coverity output for Ruby 1.9.3
Hi guys,
I'm not sure if you have access to Coverity [1], but I ran it on Ruby 1.9.3 and I just wanted to post the output here so you can go through it and maybe make some adjustments to make the code better.
Regards,
Bohuslav.
[...
Anonymous
06:10 PM Bug #4044 (Open): Regex matching errors when using \W character class and /i option
In reply to my analysis at https://bugs.ruby-lang.org/issues/5871#note-7, Yui Naruse suggested at https://bugs.ruby-lang.org/issues/5871#note-8 that I open this issue rather than #5871, which I'm doing herewith.
Yui also suggested tha...
duerst (Martin Dürst)
06:07 PM Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
Martin Dürst wrote:
> Shohei Urabe writes:
> ...
It is not an issue of case equivalence.
> If this doesn't match without case equivalence, why should it match with case equivalence?
> ...
irb(main):005:0> /[^a-z]/=~"A"
=> 0
irb(m...
naruse (Yui NARUSE)
05:51 PM Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
Shohei Urabe writes:
> Martin Dürst wrote:
> ...
What about /Dijkstra/.match("Dijkstra") ?
$ ruby -e "puts /D\u0133kstra/.match('Dijkstra').inspect"
nil
If this doesn't match without case equivalence, why should it match with cas...
duerst (Martin Dürst)
05:18 PM Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
Martin Dürst wrote:
> Shouhei Urabe writes:
> ...
/Dijkstra/i.match("DIJKSTRA") or something like that.
shyouhei (Shyouhei Urabe)
04:26 PM Bug #5871 (Rejected): regexp \W matches some word characters when inside a case-insensitive character class
Please suggest concreate plan.
And if you reopen, please write it to #4044.
naruse (Yui NARUSE)
04:02 PM Bug #5871 (Open): regexp \W matches some word characters when inside a case-insensitive character class
Shouhei Urabe writes:
> Quite generally speaking you are advised not to use /i in Unicode.
Are there other examples where /i is advised against? If yes, please let's look at them and try to fix them, too.
> ...
Many problems can...
duerst (Martin Dürst)
10:55 AM Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
Quite generally speaking you are advised not to use /i in Unicode. The reason? because Babylonians did something wrong.
In this specific case the [\W], which equals to [^A-Za-z], includes K and ß. So /[\W]/i includes k and SS.
shyouhei (Shyouhei Urabe)
08:12 AM Bug #5871 (Rejected): regexp \W matches some word characters when inside a case-insensitive character class
It is spec as writtein at #4044. naruse (Yui NARUSE)
02:06 AM Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
=begin
Thanks to investigation from #ruby-lang, It seems this issue only occurs with UTF-8 strings
ruby-1.9.2-p290> "KSks".encode("UTF-8").scan(/[\W]/i) != "KSks".encode("US-ASCII").scan(/[\W]/i)
=> true
=end
garethadams (Gareth Adams)
01:55 AM Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
This happens to me too with ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux] kyrylo (Kyrylo Silin)
01:46 AM Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
I've now also seen at least one report that this doesn't affect 1.9.3p0 (win32)
garethadams (Gareth Adams)
01:40 AM Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
=begin
As a simpler test case:
> "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".scan /[\W]/i
=> ["K", "S", "k", "s"] # should be []
=end
garethadams (Gareth Adams)
01:25 AM Bug #5871 (Rejected): regexp \W matches some word characters when inside a case-insensitive character class
=begin
The following replacement, which should do nothing, has removed the upper- and lower-case "K"s and "S"s from the result:
> "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".gsub(/[\W]/i,"")
=> "ABCDEFGHIJLMNOPQRT...
garethadams (Gareth Adams)
04:23 PM Bug #5865: Exception#== should return false if the classes differ
On Tue, Jan 10, 2012 at 03:34, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:

> +       obj = rb_check_funcall(obj, id_exception, 0, 0);
> +       if (obj == Qundef) return Qfalse;
> +       if (rb_obj_class(exc) != rb_obj_class(obj)...
now (Nikolai Weibull)
03:59 PM Bug #5865: Exception#== should return false if the classes differ
Hi,

OK, I like this patch. Please check in.

matz.

In message "Re: [ruby-core:42017] Re: [ruby-trunk - Bug #5865] Exception#== should return false if the classes differ"
on Tue, 10 Jan 2012 11:34:25 +0900, No...
matz (Yukihiro Matsumoto)
11:53 AM Bug #5865: Exception#== should return false if the classes differ
Hi,

(12/01/09 22:02), Nikolai Weibull wrote:
> The fix should be to also check the #class of obj against the #class
> of exc, not to simply ignore it if the rb_obj_class()es don’t match.
> I’ve attached a patch.

Fixnum#=...
nobu (Nobuyoshi Nakada)
01:21 PM Revision 9678dce5 (git): * ext/dbm/dbm.c (Init_dbm): fix a build error on mswin32.
use `extern __declspec(dllimport)` for dll link with VC.
[ruby-core:41996] [Bug #5869]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
h.shirosaki (Hiroshi Shirosaki)
12:00 PM Bug #5872 (Feedback): Memoery issue
(12/01/10 5:09), Marek Jelen wrote:
> The crash log may be found at:
> ...
As you were suggested there, what extension libraries are you using?
nobu (Nobuyoshi Nakada)
05:09 AM Bug #5872 (Rejected): Memoery issue
I am getting this error:
/usr/local/rvm/gems/ruby-1.9.3-p0/gems/amq-protocol-0.8.4/lib/amq/protocol/frame.rb:83: [BUG] rb_gc_mark(): unknown data type 0x0(0x7f3ef9855218) non object
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-li...
marek.jelen (Marek Jelen)
11:07 AM Bug #5529 (Rejected): Bus error with Fibers on OSX Lion
mrkn (Kenta Murata)
07:13 AM Revision 0634c325 (git): * 2012-01-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:13 AM Revision c511d463 (git): * 2012-01-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:13 AM Revision 1aa40897 (git): * test/ruby/test_enumerator.rb (test_nested_iteration): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:13 AM Revision 1e0e3b16 (git): * test/ruby/test_enumerator.rb (test_nested_iteration): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:13 AM Revision 1e835d1c (git): * test/ruby/test_enumerator.rb (test_nested_iteration): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:52 AM Revision a5483271 (git): * gc.c (HEAP_OBJ_LIMIT): suppress narrowing down warning from gcc 4.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:43 AM Revision 37b8092c (git): * vm.c (vm_exec): refix r34162; suppress warning and add description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:23 AM Bug #5859: incorrect return value of Pathname.realdirpath of Pathname objects created by Pathname.entries
Thank you Akira for improving the documentation.
I would have gladly helped as I made the suggestion, but I'm unfortunately pretty busy right now.
Eregon (Benoit Daloze)
06:14 AM Revision b04814bf (git): * ext/readline/readline.c (readline_attempted_completion_function):
use rb_memerror().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:50 AM Revision 931459d9 (git): * gc.c: in fact, i686-linux doesn't need to define _XOPEN_SOURCE 600.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:49 AM Revision 56dc6f5a (git): * gc.c (ruby_mimmalloc): defined for objects need not rb_objspace,
but should return pointer suitable for ruby_xfree;
main vm and main thread.
patched by Sokolov Yura. https://github.com/ruby/ruby/pull/79
* internal.h: ditto.
* vm.c (Init_BareVM): use ruby_mimmalloc.
* ext/dl/cfunc.c: #include <r...
naruse (Yui NARUSE)
03:14 AM Revision 107b7134 (git): * ext/readline/readline.c (readline_attempted_completion_function): fix compile error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:45 AM Revision 7ef154f8 (git): * test/readline/test_readline.rb (test_completion_proc_empty_result): rescue NoMemoryError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:41 AM Revision 9fa668f3 (git): * ext/readline/readline.c (readline_attempted_completion_function):
empty completion result does not mean memory error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

01/09/2012

10:23 PM Bug #5865: Exception#== should return false if the classes differ
On Mon, Jan 9, 2012 at 12:43, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:

> In message "Re: [ruby-core:41997] [ruby-trunk - Bug #5865] Exception#== should return false if the classes differ"
>    on Mon, 9 Jan 2012 15:10:16 +0900...
now (Nikolai Weibull)
08:53 PM Bug #5865: Exception#== should return false if the classes differ
Hi,

In message "Re: [ruby-core:41997] [ruby-trunk - Bug #5865] Exception#== should return false if the classes differ"
on Mon, 9 Jan 2012 15:10:16 +0900, Hiro Asari <asari.ruby@gmail.com> writes:
|
|Issue #5865 has been u...
matz (Yukihiro Matsumoto)
03:10 PM Bug #5865: Exception#== should return false if the classes differ
Can this be assigned to matz for clarification?
Thanks.
hasari (Hiro Asari)
12:31 AM Bug #5865: Exception#== should return false if the classes differ
I also wrote about this in [ruby-core:41393]. An excerpt:
The commit message says that “duck typing equal to make it
transitive”, but I don’t understand what’s meant by “transitive” in
this case. I don’t think RuntimeError.n...
now (Nikolai Weibull)
08:29 PM Feature #5856: Feature: Raise any object
C++ style raising any object does not seem like "exception handling" for me. Besides that, since exception dispatch is based on inheritance hierarchy, it is natural (for me at least) to use Exception as a root of all exceptions.
matz (Yukihiro Matsumoto)
08:28 PM Bug #5859 (Closed): incorrect return value of Pathname.realdirpath of Pathname objects created by Pathname.entries
This issue was solved with changeset r34246.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/pathname/pathname.c (path_entries): add document suggeste...
akr (Akira Tanaka)
08:11 PM Bug #5845 (Closed): Addrinfo#connect_from が Addrinfo オブジェクトを受け付けない
This issue was solved with changeset r34244.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/lib/socket.rb (family_addrinfo): return the given
...
akr (Akira Tanaka)
06:59 PM Feature #5866: ValidationError
Maybe:
```ruby
class InputFormatError < IOError
end
```
?
--
Alex
regularfry (Alex Young)
12:05 PM Feature #5866: ValidationError
Oops, that should read "but SyntaxError is not a StandardError" trans (Thomas Sawyer)
12:05 PM Feature #5866: ValidationError
SyntaxError? I suppose we might assume that's appropriate if YAML is doing it, but ScriptError is not a StandardError, rather it is a ScriptError, which I think means it's supposed to be for RUBY syntax errors only. Am I wrong to think t... trans (Thomas Sawyer)
09:57 AM Feature #5866 (Feedback): ValidationError
It sounds like an application (or library) layer story.
Why does it need to be supported in the language layer?
nobu (Nobuyoshi Nakada)
09:23 AM Feature #5866: ValidationError
On 01/08/2012 04:57 AM, Thomas Sawyer wrote:
> I've come across this from time to time, where some piece of complex
> data, often (but not always) loaded from a file, doesn't conform to
> some set of validation requirements. I've ...
Anonymous
06:36 PM Bug #5868: make failed on i686-linux from Bitmap Marking GC
My builds now pass when building r34242 from
svn co -q http://svn.ruby-lang.org/repos/ruby/trunk ruby
on 2 different PC's (Ubuntu 10.04 and 11.10).
peter_v (Peter Vandenabeele)
06:12 PM Bug #5868 (Closed): make failed on i686-linux from Bitmap Marking GC
r34242 で直しました。
CentOSの方はメモリ不足みたいですね。
http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20120109T070102Z.log.html.gz
posix_memalign()の影響でメモリ沢山使うようになったからだと思いますが、対案が思いつかないのでとりあえずcloseします。
authorNari (Narihiro Nakamura)
04:24 PM Bug #5868: make failed on i686-linux from Bitmap Marking GC
I had similar inconsistencies in building ruby head on Ubuntu 10.04.
https://gist.github.com/1580214
I presume that was r34237
peter_v (Peter Vandenabeele)
02:23 PM Bug #5868: make failed on i686-linux from Bitmap Marking GC
I've been told that this is the same issue we are seeing on travis-ci.org: http://travis-ci.org/#!/ruby/ruby/builds/495874/L664
Build history shows it started about one day ago: http://travis-ci.org/#!/ruby/ruby/builds
Sorry if that'...
antares (Michael Klishin)
10:54 AM Bug #5868 (Closed): make failed on i686-linux from Bitmap Marking GC
i686-linux に置いて、r34225 以降 make に失敗します。
http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20120109T010103Z.log.html.gz
http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20120108T230102Z.log.html.gz
http://www.rubyist.net/~akr/chkbuild/de...
naruse (Yui NARUSE)
05:25 PM Revision 71935466 (git): * test/ruby/test_io.rb (test_autoclose_true_closed_by_finalizer,
test_autoclose_true_closed_by_finalizer): skip if IO objects are
not recycled yet. [ruby-dev:45098] [Bug #5850]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:46 PM Revision c572ed2d (git): * lib/tempfile.rb (Tempfile#_close): clear @tempfile and @data[1] even
when an exception is raised at @tempfile.close. [ruby-dev:45113]
* lib/tempfile.rb (Tempfile#unlink): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:35 PM Revision 896844a0 (git): * 2012-01-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:35 PM Revision fcb05d86 (git): * gc.c (run_finalizer): clear rb_thread_t::errinfo when ignore
an exception under rb_protect(). [ruby-dev:45113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:43 PM Revision d4b29577 (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:38 PM Revision 41889c5a (git): * ext/readline/readline.c (readline_attempted_completion_function):
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:28 PM Bug #5869 (Closed): ext/dbm build error with mswin32
I had a build error of ext/dbm with mswin32.

-----------------------------------------------------------------------
C:\Users\hiroshi\work\mswin32\ext\dbm>nmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Co...
h.shirosaki (Hiroshi Shirosaki)
11:58 AM Revision b78bddee (git): * gc.c : don't embed struct heaps_slot to a heap block because it
can causes copy-on-write of memory page on heap block when its
free_next is rewirted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
11:28 AM Revision afb5eef4 (git): * ext/pathname/pathname.c (path_entries): add document suggested by
the thread [ruby-core:41959] [Bug #5859].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:18 AM Revision bb1115a2 (git): * ext/socket/lib/socket.rb (family_addrinfo): don't require protocol
equality. For example, protocol 0 and IPPROTO_TCP is not problem
for TCP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:11 AM Revision 268d1a22 (git): * ext/socket/lib/socket.rb (family_addrinfo): return the given
addrinfo object.
Patch by Ippei Obayashi. [ruby-dev:45095] [Bug #5845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:42 AM Revision 98ddbafb (git): * test/zlib/test_zlib.rb (TestZlibGzipWriter#test_writer_wrap): set
binmode explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:03 AM Bug #5853: make test-all が OpenSSL::PKey::RSAError で止まる
私の手元でも再現しました。
OSXのバージョンは10.6.8 Snow Leopardです。
MacPortsのOpenSSL 1.0.0eを使うようにしたところ発生しなくなりました。
なお、OSX 10.6.8にプリインストールされているOpenSSLは0.9.8です。
Lionで再現しなければOSX 10.6.8にプリインストールされているOpenSSLの問題ということでRubyで対応しなくてもよいのではないかと思って、詳しい調査はしていません。
...
kouji (Kouji Takao)
06:02 AM Revision 2cf2416e (git): * gc.c: free_slots is changed Singly linked list. clear
free_slots before sweep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
05:42 AM Bug #5863 (Closed): Integer#chr may return a string with multiple characters
This issue was solved with changeset r34236.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (rb_enc_uint_char): raise RangeError when added codep...
naruse (Yui NARUSE)
05:42 AM Bug #5864 (Closed): Integer#chr raises on some invalid codepoints but returns an invalidly-encoded string for others
This issue was solved with changeset r34236.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (rb_enc_uint_char): raise RangeError when added codep...
naruse (Yui NARUSE)
05:42 AM Bug #5855 (Closed): inconsistent treatment of 8 bit characters in US-ASCII
This issue was solved with changeset r34236.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (rb_enc_uint_char): raise RangeError when added codep...
naruse (Yui NARUSE)
05:28 AM Feature #5820: Merge Onigmo to Ruby 2.0
/a /u はPerlに合わせて、無指定あるいは /d だとRuby 1.9.3と同じ仕様とすると添付のパッチのような感じでしょうか。
この仕様がよいのか正直決めかねているところですが。
k_takata (Ken Takata)
05:09 AM Revision a408b64c (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:02 AM Revision 5335b4b6 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:23 AM Feature #5805: object_hexid
On Sun, Jan 8, 2012 at 17:33, Thomas Sawyer <transfire@gmail.com> wrote:

> Sorry, how does super help?

```ruby
def inspect
'#<IWhoNeedAHexID: %s>' % super.sub(/\A.*(0x[0-9a-f]+).*/, '\\1')
end
```
perhaps?
now (Nikolai Weibull)
01:33 AM Feature #5805: object_hexid
Sorry, how does super help? trans (Thomas Sawyer)
12:53 AM Feature #5861: String#version_compare
(2012/01/08 10:30), KOSAKI Motohiro wrote:
> うーん。正直ぴんときません。まずさきほどなるせさんがコミットされた
> ...
この方法がイマイチなのは以下の 2 点ですね。
* split でたくさん String ができる
* バージョン比較という意図がわかりづらい
> それに加えて、(なるせさん自身も指摘されているように)バージョン番号に規則性などないので
> ...
指摘しているのはわたしではなく、gauche の仕様...
naruse (Yui NARUSE)

01/08/2012

10:50 PM Revision 471394f6 (git): * gc.c: i686-linux needs to define _XOPEN_SOURCE 600 for posix_memalign.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:30 PM Bug #5867 (Closed): Segfault with (likely) the new GC on OSX
Hello,
I tried the new GC yesterday, and experienced a few segfaults.
I tried again with r34221 (the only significant revisions between this and r34231 are GC-related) and did not see any problem in ~2000 runs. I tried on Linux and s...
Eregon (Benoit Daloze)
09:57 PM Feature #5866 (Rejected): ValidationError
I've come across this from time to time, where some piece of complex data, often (but not always) loaded from a file, doesn't conform to some set of validation requirements. I've never been quite sure what type of error to throw if the d... trans (Thomas Sawyer)
09:02 PM Revision 88b16ceb (git): * gc.c (rb_objspace_free): global_List is allocated with xmalloc.
patched by Sokolov Yura. https://github.com/ruby/ruby/pull/78
* dln_find.c: remove useless replacement of free.
* ext/readline/readline.c (readline_attempted_completion_function):
strings for readline must allocated with malloc.
* ...
naruse (Yui NARUSE)
08:42 PM Revision a7c9064c (git): * 2012-01-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:42 PM Revision 800f04c6 (git): * numeric.c (rb_enc_uint_char): raise RangeError when added codepoint
is invalid. [Feature #5855] [Bug #5863] [Bug #5864]
* string.c (rb_str_concat): ditto.
* string.c (rb_str_concat): set encoding as ASCII-8BIT when the string
is US-ASCII and the argument is an integer greater than 127.
* regenc.c (o...
naruse (Yui NARUSE)
08:25 PM Bug #5862: Strings not encoded in -E encoding
When we design the system, -e is used through a console (terminal emulator).
So -e follows the consoles's encoding, and it is assumed to be the locale encoding.
So -E doesn't effect.
-K intends for compatibility.
It effects all enc...
naruse (Yui NARUSE)
07:55 PM Bug #5862: Strings not encoded in -E encoding
Brian Ford wrote:
> Just to be clear, the -K options do set the source-code encoding, right?
Yes, it sets all of three.
Sorry that I forgot to mention about it.
nobu (Nobuyoshi Nakada)
06:25 PM Bug #5862: Strings not encoded in -E encoding
Just to be clear, the -K options do set the source-code encoding, right?
Thanks,
Brian
brixen (Brian Shirai)
05:35 PM Bug #5862 (Rejected): Strings not encoded in -E encoding
=begin
Ruby has three types of default encodings, internal, external, and
source-code (which (({__ENCODING__})) equals to), and they are
independent each others. (({-E})) option sets the former two, but
does nothing for source-cod...
nobu (Nobuyoshi Nakada)
09:37 AM Bug #5862 (Rejected): Strings not encoded in -E encoding
If I pass the -E option, the Encoding.default_external is set to that encoding, but the string in the -e code is not set to that encoding, nor is the value of __ENCODING__ set to it.
$ ruby -v -E ascii-8bit -e 'p "abc".encoding, Encod...
brixen (Brian Shirai)
05:09 PM Feature #5856 (Feedback): Feature: Raise any object
=begin
* 3rd-party code often rescues (({Exception})); e.g. for error recovery, retry and/or logging.
* Users need the ability to raise objects that would not normally be rescued by ((*any*)) code;
e.g.: hard timeouts or custom sign...
nobu (Nobuyoshi Nakada)
04:55 PM Feature #5818 (Rejected): Feature: Raiseable
nobu (Nobuyoshi Nakada)
04:35 PM Bug #5865: Exception#== should return false if the classes differ
=begin
It seems intentional.
------------------------------------------------------------------------
r20866 | matz | 2008-12-19 08:42:00 +0900 (Fri, 19 Dec 2008) | 2 lines

* error.c (exc_equal): duck typing equal to make it ...
nobu (Nobuyoshi Nakada)
03:08 PM Bug #5865 (Closed): Exception#== should return false if the classes differ
Documentation says "If obj is not an Exception, returns false. Otherwise, returns true if exc and obj share same class, messages, and backtrace."
However,
$ ruby2.0 -v -e 'x=RuntimeError.new("msg"); y=ScriptError.new("msg"); p x==y...
hasari (Hiro Asari)
02:16 PM Feature #5861: String#version_compare
Yui NARUSE wrote:
> バージョン番号っぽい文字列を比較するメソッド、String#version_compare を追加しませんか。
> ...
Gem::Version.new("2.6.18")<=>Gem::Version.new("2.6.3") でいいんじゃないでしょうか。
nobu (Nobuyoshi Nakada)
10:53 AM Feature #5861: String#version_compare
> バージョン番号っぽい文字列を比較するメソッド、String#version_compare を追加しませんか。
> ...
うーん。正直ぴんときません。まずさきほどなるせさんがコミットされた
r34232ですが、バージョンの比較処理は1行で書けています
>```diff
> ...
それに加えて、(なるせさん自身も指摘されているように)バージョン番号に規則性などないので
意図通り動かないケースが絶対でてきてバグ対応がめんどくさそうです。また、rubyのintree...
kosaki (Motohiro KOSAKI)
07:54 AM Feature #5861 (Rejected): String#version_compare
バージョン番号っぽい文字列を比較するメソッド、String#version_compare を追加しませんか。
"2.6.18".version_compare("2.6.3") #=> 1
などと使います。
詳細な仕様は Gauche の gauche.version モジュールの version-compare 関数の仕様を丸パクリするのが良いと思います。
提案している名前も Gauche そのままです。
http://practical-scheme...
naruse (Yui NARUSE)
02:14 PM Bug #5857 (Rejected): no block given with redefined method although block given
=begin
patrick hanevold wrote:
> Please help me understand if this really is a bug or not. It seems so very like it.
Not a bug.
The yield calls the block passed to the code making the block.
You have to use block argument inst...
nobu (Nobuyoshi Nakada)
12:03 PM Bug #5855: inconsistent treatment of 8 bit characters in US-ASCII
=begin
> Maybe both of them should be ASCII-8BIT.
I would prefer not, as then String#<< with an Integer ((|i|)) can't be defined as (({self << i.chr(self.encoding)})).
I think it would make much more sense for (({"".encode("US-ASC...
john_firebaugh (John Firebaugh)
05:48 AM Bug #5855 (Assigned): inconsistent treatment of 8 bit characters in US-ASCII
> IMO, any operation that attempts to produce a US-ASCII string containing 0x80 should either fail (like "\u{80}".encode("US-ASCII")) or
> ...
In other words,
> "\u{80}".encode("US-ASCII") #=> Encoding::UndefinedConversionError
...
naruse (Yui NARUSE)
04:59 AM Bug #5855: inconsistent treatment of 8 bit characters in US-ASCII
Unless MRI has some non-standard definition of the term "codepoint", your second statement is incorrect. In US-ASCII, the codepoint 0x80 does not exist.
IMO, any operation that attempts to produce a US-ASCII string containing 0x80 sho...
john_firebaugh (John Firebaugh)
11:55 AM Revision 5393622d (git): * gc.c : consider header bytes which are used by malloc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
10:58 AM Bug #5864 (Closed): Integer#chr raises on some invalid codepoints but returns an invalidly-encoded string for others
=begin
Integer#chr raises RangeError on some invalid codepoints, but on others it returns an invalidly-encoded string.
0x0100.chr("EUC-JP") # Raises
0xA1A0.chr("EUC-JP").valid_encoding? #=> false
0x80.chr("S...
john_firebaugh (John Firebaugh)
10:18 AM Bug #5863 (Closed): Integer#chr may return a string with multiple characters
=begin
Is this a bug?
256.chr("SHIFT_JIS").length #=> 2
I think so, as it means that #chr and #ord can't be treated as inverses, and is generally confusing.
If not, the documentation for #chr should be changed, as it implies ...
john_firebaugh (John Firebaugh)
04:58 AM Bug #5860 (Rejected): Hash literal '{:a==>1}'
Well trained rubyist will see a setter-like property symbol :a=. naruse (Yui NARUSE)
03:45 AM Bug #5860 (Rejected): Hash literal '{:a==>1}'
=begin
There is an esoteric hash literal construct possible in the Ruby grammar:
{:a==>1}
Looking at ((<parse.y|URL:https://github.com/ruby/ruby/blob/731e45216ae4adf4122f0515d3056e1579efb0f9/parse.y#L8408-8418>)), I am pretty s...
hasari (Hiro Asari)
02:59 AM Revision cd73f294 (git): * gc.c (aligned_free): support MinGW. Patch by Hiroshi Shirosaki.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
02:49 AM Bug #5859: incorrect return value of Pathname.realdirpath of Pathname objects created by Pathname.entries
I was going to answer but kosaki just did it.
Anyway, #entries always return filenames.
#children return what you would expect by default(with_directory=true):
ruby -e "require 'pathname'; puts Pathname.new('/tmp/thing').children.firs...
Eregon (Benoit Daloze)
02:35 AM Bug #5859: incorrect return value of Pathname.realdirpath of Pathname objects created by Pathname.entries
A following modified script tell us why the script don't work as you expect. Pathname#entries return directly entrie, not absolute path. then, it forgot /tmp/thing.
% ./ruby--trunk -e "require 'pathname'; p Pathname.new('/tmp/thing'...
kosaki (Motohiro KOSAKI)
01:59 AM Bug #5859 (Closed): incorrect return value of Pathname.realdirpath of Pathname objects created by Pathname.entries
It appears when calling realdirpath on a Pathname object returned by Pathname#entries, the returned value is always the current working directory of the ruby process, instead of the location of the file in the filesystem
This disagrees ...
tommylommykins (Thomas Green)
02:46 AM Revision 94fd32b8 (git): * gc.c (slot_sweep): add a assertion instead of a debug print.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
01:22 AM Bug #5858 (Closed): Failure test/-ext-/old_thread_select/test_old_thread_select.rb
This issue was solved with changeset r34231.
Ayumu, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/-ext-/old_thread_select/test_old_thread_select.rb:
avoi...
ayumin (Ayumu AIZAWA)
12:40 AM Bug #5858 (Closed): Failure test/-ext-/old_thread_select/test_old_thread_select.rb
r34227 のtest-all で test_old_select_signal_safe が失敗します
47) Failure:
test_old_select_signal_safe(TestOldThreadSelect) [/Users/ayumin/github/ruby/test/-ext-/old_thread_select/test_old_thread_select.rb:91]:
interrupted or short wait: d...
ayumin (Ayumu AIZAWA)
12:39 AM Feature #5820: Merge Onigmo to Ruby 2.0
Ken Takata wrote:
> おや、おかしいですね。
> ...
あああ、その通りです。書いててごっちゃになってました。
> 私としては、Bug #5208にも書いたように\b,\Bは\w,\Wと連動しているべきだと考えていますので、マッチしていないとすれば想定外ですので、もう少し詳しく教えていただけますでしょうか。
> ...
/u /a は Perl の挙動にあってる方がいいと思うんですが、無指定だとなぁ、うーん。
naruse (Yui NARUSE)
12:11 AM Feature #5820: Merge Onigmo to Ruby 2.0
おや、おかしいですね。
手元では、/(?a)あ\b[ a]/ は "あa" にマッチしています。nilを返すべきところを返さなくなったということでしょうか。
(Ruby 1.9.3では、nilを返すようですが。)
私としては、Bug #5208にも書いたように\b,\Bは\w,\Wと連動しているべきだと考えていますので、マッチしていないとすれば想定外ですので、もう少し詳しく教えていただけますでしょうか。
#5208 note-3より
> 考えたんですが...
k_takata (Ken Takata)

01/07/2012

11:04 PM Revision 6e9a14aa (git): Cent OS 5.6 (2.6.18-238.19.1.el5xen) doesn't correctly work
sendmsg with pktinfo for link-local ipv6 addresses
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:02 PM Feature #5839 (Closed): Proposal: Bitmap Marking GC
This issue was solved with changeset r34225.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c: use Bitmap Marking algorithm to avoid copy-on-write o...
authorNari (Narihiro Nakamura)
10:40 PM Feature #5820: Merge Onigmo to Ruby 2.0
ありがとうございます、大文字小文字問題は確かに直りました。
残っているのが一点、以下がマッチしなくなっています。
Bug #5208 と関連しているような気もしますが。
/\u3042\b[ a]/=~"\u3042a" #=> nil
naruse (Yui NARUSE)
07:49 PM Bug #5855 (Rejected): inconsistent treatment of 8 bit characters in US-ASCII
U+0080 of Unicode can't be mapped to 0x80 of US-ASCII.
In US-ASCII, the codepoint 0x80 exists, but doesn't define any character.
naruse (Yui NARUSE)
06:32 AM Bug #5855 (Closed): inconsistent treatment of 8 bit characters in US-ASCII
=begin
Does Ruby allow 8 bit characters (127-255) in a US-ASCII encoded string, or not?
"\u{80}".encode("US-ASCII") #=> Encoding::UndefinedConversionError
0x80.chr("US-ASCII") #=> "\x80" (US-ASCII encoding)
...
john_firebaugh (John Firebaugh)
04:22 PM Revision 0713603b (git): * test/-ext-/old_thread_select/test_old_thread_select.rb:
avoid platform bug. [Bug #5858] [ruby-dev:45108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
03:47 PM Revision e3b07320 (git): * gc.c: get rid of implicit narrowing conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
03:21 PM Revision 8d4baab0 (git): Fix typo of rdoc of Object#inspect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:21 PM Revision 1edaa8ac (git): Add test for word boundary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:13 PM Revision 7e5cb466 (git): * 2012-01-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 411fa36c (git): * configure.in: check posix_memalign(3) and menalign(3).
* gc.c (aligned_malloc): use configure's result instead of
_POSIX_C_SOURCE and _XOPEN_SOURCE because they can't be used
to check availability at least on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34226 b2dd03c8-39d4...
naruse (Yui NARUSE)
02:02 PM Revision 50675fdb (git): * gc.c: use Bitmap Marking algorithm to avoid copy-on-write of
memory pages. See [ruby-dev:45085] [Feature #5839]
[ruby-core:41916].
* include/ruby/ruby.h : FL_MARK rename to FL_RESERVED1.
* node.h : ditto.
* debug.c : ditto.
* object.c (rb_obj_clone): FL_MARK move to a bitmap.
* class.c (rb_...
authorNari (Narihiro Nakamura)
01:47 PM Revision 6166e9cf (git): merge revision(s) 34204:
* lib/rexml/parsers/baseparser.rb: use private instead of _xxx
method name. This is Ruby code not Python code.
refs #5696
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34224 b2dd03c8-39d4-4d8f-98ff...
ayumin (Ayumu AIZAWA)
01:40 PM Revision 68fff388 (git): merge revision(s) 34202:
* lib/rexml/parsers/baseparser.rb: rexml BaseParser uses
instance_eval unnecessarily on listener add.
patch from Charles Nutter. [Bug #5696] [ruby-core:41437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub...
ayumin (Ayumu AIZAWA)
09:59 AM Feature #5856: Feature: Raise any object
Hi,

In message "Re: [ruby-core:41950] [ruby-trunk - Feature #5856][Open] Feature: Raise any object"
on Sat, 7 Jan 2012 06:51:53 +0900, Kurt Stephens <redmine@ruby-lang.org> writes:

|= Problem
|
|* The Exception subcl...
matz (Yukihiro Matsumoto)
06:52 AM Feature #5856: Feature: Raise any object
Attached patch. kstephens (Kurt Stephens)
06:51 AM Feature #5856 (Rejected): Feature: Raise any object
Feature: Raise any object
= Proposal
The ability to raise any object that conforms to the protocol of Exception.
= Problem
* The Exception subclass hierarchy is well-established.
* CRuby does not allow any object that behave...
kstephens (Kurt Stephens)
07:24 AM Bug #5857: no block given with redefined method although block given
See this thread on stack overflow on this issue:
http://stackoverflow.com/questions/8764460/ruby-re-defined-method-with-a-yield-throws-no-block-given
patrickhno (patrick hanevold)
06:54 AM Bug #5857 (Rejected): no block given with redefined method although block given
Please help me understand if this really is a bug or not. It seems so very like it.
The second yielder gives a no block given exception on the yield, and I cant see how thats right, and it is called with a code block.
class Foo
de...
patrickhno (patrick hanevold)
04:25 AM Bug #5262: invalid multibyte escapes should raise a clearer error
Nagaraj G wrote:
> This issue is not yet fixed ! I am getting the same error message in 1.9.3p0.
> ...
It seems different problem, and maybe chiliproject's issue.
naruse (Yui NARUSE)
04:08 AM Bug #5262: invalid multibyte escapes should raise a clearer error
Hi,
This issue is not yet fixed ! I am getting the same error message in 1.9.3p0.
[akshatha@localhost chiliproject]$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
[akshatha@localhost chiliproject]$ rails -v
R...
nagarajpg (Nagaraj G)
12:52 AM Bug #5852 (Closed): Failure test/test_mathn.rb
This issue was solved with changeset r34221.
Ayumu, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* configure.in: always define CANONICALIZATION_FOR_MATHN.
[rub...
nagachika (Tomoyuki Chikanaga)
12:19 AM Bug #5852: Failure test/test_mathn.rb
configure.in で CANONICALIZATION_FOR_MATHN を設定する条件に if test "$MAJOR" = "1" を使っているためのようです。
導入された経緯はよくわりませんが、この条件ははずしてしまってもいいのではないでしょうか。とりあえず以下の変更で test-all が動くようならコミットしてしまおうと思います。
diff --git a/configure.in b/configure.in
index b9f3c79...
nagachika (Tomoyuki Chikanaga)

01/06/2012

11:50 PM Bug #5853 (Third Party's Issue): make test-all が OpenSSL::PKey::RSAError で止まる
Mac OS X で make test-all を実行すると、以下のようなエラーが発生します。(1.9.3-p0 でも発生します)
Mac OS X だけで発生し、Debian 上では発生しませんでした。
% make test-all
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --...
kyanagi (Kouhei Yanagita)
11:31 PM Bug #5852 (Closed): Failure test/test_mathn.rb
r34220 にて RUBY_API_VERSION を 2.0.0 にしたところ、Mathnのテストが失敗するようになりました。
ruby ➔ make test-all TESTS=test/test_mathn.rb
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./mi...
ayumin (Ayumu AIZAWA)
11:17 PM Feature #5826 (Closed): When the RUBY API_VERSION will be increased?
Update RUBY_API_VERSION to 2.0.0 by r34220. ayumin (Ayumu AIZAWA)
05:23 AM Feature #5826: When the RUBY API_VERSION will be increased?
> I think RUBY_API_VERSION should be 2.0.0 for Ruby2.0.0.
> In other hand, some people might think it should stay 1.9.1 becouse Ruby2.0.0 will have backward compatibility with 1.9.

Please just bump it up now. I can imagine people...
kosaki (Motohiro KOSAKI)
12:54 AM Feature #5826 (Assigned): When the RUBY API_VERSION will be increased?
ayumin (Ayumu AIZAWA)
09:31 PM Feature #5820: Merge Onigmo to Ruby 2.0
前回のパッチはOnigmoのmasterブランチで作成したものでしたが、
tmp/ruby-2.0.xブランチにはそのまま適用できませんでした。
tmp/ruby-2.0.xブランチに適用できるようにパッチを作成し直しました。
k_takata (Ken Takata)
04:50 PM Bug #5849 (Third Party's Issue): Got "You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome." ...
see http://www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fault-and-openssl/ naruse (Yui NARUSE)
10:53 AM Bug #5849 (Third Party's Issue): Got "You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome." ...
on Mac OS 10.6.8 installed latest ruby, rails, gem, jquery-rails, eco, spine-rails (possibly a few more)
then when I run let's say:
$rails new foo
I'm getting that message, here's the Terminal output (see also the attached Consol...
TeofilKolev (Teofil Kolev)
04:06 PM Bug #5848 (Closed): Array#inspect having an element with non-ASCII compatible #inspect result
This issue was solved with changeset r34218.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (rb_inspect): raises Encoding::CompatibilityError if t...
naruse (Yui NARUSE)
08:21 AM Bug #5848 (Closed): Array#inspect having an element with non-ASCII compatible #inspect result
Is this a bug?
>> class O
> ...
=> nil
>> [O.new].inspect
=> "\u5B00\u6600\u6F00\u6F5D"
john_firebaugh (John Firebaugh)
03:52 PM Revision 9060e87f (git): * 2012-01-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:52 PM Revision 3ba49c9e (git): * configure.in: always define CANONICALIZATION_FOR_MATHN.
[ruby-dev:45100] [Bug #5852]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:13 PM Revision a06a1772 (git): * include/ruby/version.h: RUBY_API_VERSION 2.0.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
01:43 PM Bug #5819: Windowsで空のドライブのルートディレクトリに対するFile.stat が失敗する
r34205で失敗しなくなることを確認しました。
ありがとうございました。
yamaminami (Masateru OKAMOTO)
12:53 PM Feature #5839: Proposal: Bitmap Marking GC
2012年1月6日10:39 SASADA Koichi <ko1 / atdot.net>:
> (2012/01/05 12:30), Narihiro Nakamura wrote:
> ...
なるほど。理解しました! 私もいいと思います。
>  また,仰るとおり,別の実装を試すことが色々できるんじゃないかと.まぁ,
> ...
よろしくお願いします :P
--
Narihiro Nakamura (nari)
authorNari (Narihiro Nakamura)
10:53 AM Feature #5839: Proposal: Bitmap Marking GC
(2012/01/05 12:30), Narihiro Nakamura wrote:
> 理解力不足で申し訳ないのですが、何か具体的な目的はあるんでしょうか?
> ...
 一番具体的な話としては,簡単に今回の仕組みを外せるようになる,という感
じでしょうか.実行時に変更できる必要はないかと思いますが,開発時に試行錯
誤しやすくなるのはよいんではないかと思います.
 また,仰るとおり,別の実装を試すことが色々できるんじゃないかと.まぁ,
この辺も受益者負担という考...
ko1 (Koichi Sasada)
08:56 AM Feature #5543: rb_thread_blocking_region() API is poorly designed
I'm using rb_thread_call_with_gvl as well to support GLUT (OpenGL toolkit) callbacks.
I'd like something like this to be officially supported, not just accessible.
drbrain (Eric Hodel)
08:37 AM Feature #5543: rb_thread_blocking_region() API is poorly designed
> rb_thread_call_with_gvl() is globally-visible (but not in headers)
> ...
That is *exactly* what I need.
Thanks so much for the advice. You made my day! <3 <3 <3
mdalessio (Mike Dalessio)
07:06 AM Revision fb08cd16 (git): * 2012-01-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:06 AM Revision e9455323 (git): * object.c (rb_inspect): raises Encoding::CompatibilityError if the
result is incompatible with the default external encoding.
[ruby-core:41931] [Bug #5848]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:47 AM Bug #5847 (Closed): Old Ruby 1.8 state flag for yield node appears to be unused
=begin
This seems to be unused by ((%compile.c%)). The logic in ((%parse.y%)) seems dead (in both 1.9.3 and 2.0.0 trunk):
diff --git a/node.h b/node.h
index be91a31..0bef26f 100644
--- a/node.h
+++ b/node.h
@@ -376,7 +376,7 ...
enebo (Thomas Enebo)
 

Also available in: Atom