Project

General

Profile

Activity

From 07/18/2010 to 07/24/2010

07/24/2010

11:16 PM Bug #3612 (Rejected): windows: unable to run path with spaces on it anymore.
=begin
With 1.8.6 and 1.9.1, this worked:

IO.popen("c:\\Program Files\\Internet Explorer\\iexplore")

I assume it's a bug that it not work anymore, but am actually ok either way since...it's a bit surprising to *not* need quote...
rogerdpack (Roger Pack)
09:10 PM Bug #3607: [trunk/r28731] Gem.path has disappeared?
=begin
I think this is fixed in trunk could you try it there?
=end
rogerdpack (Roger Pack)
12:40 AM Bug #3607: [trunk/r28731] Gem.path has disappeared?
=begin
I can confirm that out-of-the-box (from branches/1.9.2), Gem#path still exists:

343 [17:35] roberto@roberto-al:ruby-1.9.2/build> ./ruby -I../lib
print Gem.methods
[:dir, :path, :post_install, :post_uninstall, :pre_instal...
roberto (Ollivier Robert)
12:14 AM Bug #3607: [trunk/r28731] Gem.path has disappeared?
=begin
We -- RubyInstaller for Windows project http://rubyinstaller.org/ -- appear to be seeing the same failure

http://groups.google.com/group/rubyinstaller/browse_thread/thread/66df81c7737fcab3

when attempting to build with ...
jonforums (Jon Forums)
08:37 PM Revision 7bfa1146 (git): * numeric.c (flo_cmp): honor the result of infinite? method of the
other. [ruby-core:31470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:26 PM Revision 8d3bb806 (git): * test/ruby/envutil.rb (EnvUtil#.suppress_warning): added.
* test/ruby/test_float.rb (TestFloat#test_Float): suppress
warnings under --verbose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:37 PM Bug #3423: Inconsistent behaviour of Module#const_get with included modules
=begin

=end
yugui (Yuki Sonoda)
01:14 PM Bug #3609 (Closed): Float Infinity comparisons in 1.9
=begin
The way <=> works on pretty much everything in Ruby
is that if a <=> b return 0, 1, or -1, it completely
determines the entire set of comparisons
a==b, a>=b, a>b, a<=b, a<b,
b<=>a, b==a, b>=a, b>a, b<=a, b<a.
(and if it...
taw (Tomasz Wegrzanowski)
10:39 AM Revision bbc1f25c (git): merges r28730 from trunk into ruby_1_9_2.
--
* configure.in (RUBY_MINGW32): ignore msvc suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:39 AM Revision 3ee46075 (git): merges r28728 from trunk into ruby_1_9_2.
--
* re.c (rb_reg_expr_str): fixed out-of-boundary access at invalid
multibyte characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:39 AM Revision b4f1675c (git): merges r28715 from trunk into ruby_1_9_2.
--
* re.c (rb_reg_expr_str): fix broken Regexp#inspect when it
is ASCII-8BIT and non-ASCII character.
The length of character should be from original byte string.
[ruby-core:31431]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
yugui (Yuki Sonoda)
10:39 AM Revision f06d71b5 (git): merges r28705 from trunk into ruby_1_9_2.
--
Fix signature of rb_ensure and rb_rescue to match the implementation in README.EXT
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:38 AM Revision 1069e98a (git): merges r28688 from trunk into ruby_1_9_2.
--
* ext/socket/raddrinfo.c (rb_getaddrinfo): according to my valgrind output this variable should be initialized beforehand.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:38 AM Revision 0956a6f4 (git): merges r28687 from trunk into ruby_1_9_2.
--
* io.c (io_flush_buffer): write and buffer operations should be
monolithic. [ruby-core:31348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:38 AM Revision d1a5bcd8 (git): merges r28685 from trunk into ruby_1_9_2.
--
* lib/fileutils.rb (FileUtils::Entry_#copy): check file name
spearator boundary. [ruby-core:31360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:37 AM Revision 7252a95e (git): merges r28679 from trunk into ruby_1_9_2.
--
* NEWS (Kernel#instance_eval): add an incompatible change since
the 1.9.1 release. [ruby-core:31336]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:37 AM Revision 41aaafd3 (git): merges r28675 from trunk into ruby_1_9_2.
--
* gc.c (rb_objspace_each_objects): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:37 AM Revision 0aaeb414 (git): merges r28654 from trunk into ruby_1_9_2.
--
* tool/rbinstall.rb (ext-arch): prune directories start with '-'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:27 AM Feature #3608 (Assigned): Enhancing Pathname#each_child to be lazy
=begin
Right now it lists entire directory, then yields
every element, that is x.each_child(&b) means x.children.each(&b).

This is too slow for directories mounted over networked file systems etc.,
and there is currently no wa...
taw (Tomasz Wegrzanowski)
10:18 AM Bug #3606: Thread.stop and puts fail to work as documented.
=begin

On 24 Jul 2010, at 01:52, Heesob Park wrote:
> I think that the sample code should be modified like this.
>
> t1.rb
> ====================================================
> a = Thread.new { puts "a"; Thread.stop; puts "c"...
raggi (James Tucker)
09:53 AM Bug #3606: Thread.stop and puts fail to work as documented.
=begin
2010/7/23 James Tucker <jftucker@gmail.com>:
>
> On 23 Jul 2010, at 05:55, Heesob Park wrote:
>
>> Bug #3606: Thread.stop and puts fail to work as documented.
>> http://redmine.ruby-lang.org/issues/show/3606
>>
>> Author: ...
phasis68 (Heesob Park)
06:49 AM Revision 1c96d2cf (git): * 2010-07-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:49 AM Revision 81400825 (git): * ext/win32ole/win32ole.c (fev_initialize): initialize pTypeInfo.
[ruby-core:31304][Bug #3576].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
05:33 AM Revision 25380b0a (git): merges r28637 from trunk into ruby_1_9_2.
--
* regexec.c (match_at): add end point to enclen's argument.
This only effect on compilinig with -DONIG_DEBUG_MATCH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
05:33 AM Revision b0d5064d (git): merges r28625 from trunk into ruby_1_9_2.
--
* ext/dl/handle.c (rb_dlhandle_close): should not pass a dynamic
string to rb_raise directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
05:33 AM Revision 9d58823a (git): merges r28617 from trunk into ruby_1_9_2.
--
* README.EXT{,.ja} (rb_block_call): fixed about third/fourth
arguments to the block. based on [ruby-core:31192] by Asher
Haig. [Bug #3558]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28735 b2dd03c8-39d4-4d8f...
yugui (Yuki Sonoda)
05:32 AM Revision 0aeb2a32 (git): * 2010-07-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:32 AM Revision 1dc8b7d1 (git): merges r28616 from trunk into ruby_1_9_2.
--
* include/ruby/ruby.h (rb_cRandom): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:40 AM Revision b2d009fc (git): * test/test_mutex_m.rb: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

07/23/2010

11:01 PM Bug #3607 (Rejected): [trunk/r28731] Gem.path has disappeared?
=begin
Any attempt to use rubygems is failing there:

519 [15:51] roberto@roberto-al:yarv/build> /usr/local/bin/gem list
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:68:in `installed_spec_directories': undefined me...
roberto (Ollivier Robert)
10:25 PM Bug #3606: Thread.stop and puts fail to work as documented.
=begin

On 23 Jul 2010, at 05:55, Heesob Park wrote:

> Bug #3606: Thread.stop and puts fail to work as documented.
> http://redmine.ruby-lang.org/issues/show/3606
>
> Author: Heesob Park
> Status: Open, Priority: Normal
> Cate...
raggi (James Tucker)
10:23 PM Bug #3606: Thread.stop and puts fail to work as documented.
=begin

On 23 Jul 2010, at 05:55, Heesob Park wrote:
> on Ruby 1.8.6
>
> $ ruby -v
> ruby 1.8.6 (2009-06-08 patchlevel 369) [i686-linux]
> $ ruby -v t1.rb
> a
> Got here
> c
> $ ruby -v t2.rb
> abc$ ruby -v t3.rb
> ...
raggi (James Tucker)
02:51 PM Bug #3606: Thread.stop and puts fail to work as documented.
=begin

=end
nobu (Nobuyoshi Nakada)
01:55 PM Bug #3606 (Closed): Thread.stop and puts fail to work as documented.
=begin
I have tested following three codes which are the sample code in RDoc Documentation.

t1.rb
====================================================
a = Thread.new { puts "a"; Thread.stop; puts "c" }
Thread.pass
puts "Go...
phasis68 (Heesob Park)
09:07 AM Bug #3605 (Closed): undefined symbol: strlcpy
=begin
This issue was solved with changeset r28727.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
06:43 AM Bug #3605 (Closed): undefined symbol: strlcpy
=begin
以下のように test_pty.rb で undefined symbol: strlcpy になります。

% ./ruby test/test_pty.rb
Loaded suite test/test_pty
Started
./ruby: symbol lookup error:
/home/akr/chkbuild/tmp/build/ruby-trunk/20100723T040700/lib/ruby/1.9.1/i686-li...
akr (Akira Tanaka)
07:14 AM Revision 8621d090 (git): * lib/mutex_m.rb (sleep): added Mutex_m#sleep to support ConditionVariable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
06:09 AM Revision 38c4242c (git): * configure.in (RUBY_MINGW32): ignore msvc suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:08 AM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
On Jul 22, 2010, at 12:42 PM, Roger Pack wrote:

> I think his original complaint was that if he's passing back data from a method, like
>
> def give_me_your_binary_data
> end
>
> The *can't* pass back a string that is m...
jballanc (Joshua Ballanco)
04:42 AM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
I think his original complaint was that if he's passing back data from a method, like

def give_me_your_binary_data
end

The *can't* pass back a string that is marked as BINARY encoding, since querying for its encoding ...
rogerdpack (Roger Pack)
06:05 AM Revision b4080cf9 (git): * configure.in (RUBY_TRY_CFLAGS): try with werror turned on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:02 AM Revision 8044ac7b (git): * re.c (rb_reg_expr_str): fixed out-of-boundary access at invalid
multibyte characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:00 AM Revision 85bf9bed (git): * configure.in (XCFLAGS): reverted mistakenly removed option.
[ruby-dev:41872]
* include/ruby/missing.h: needs ruby/config.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

07/22/2010

11:48 PM Revision a58890c1 (git): * 2010-07-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:48 PM Revision 95c6a8a3 (git): * complex.c (nucomp_to_i): allow complex with imaginary zero to be
converted.
* complex.c (nucomp_to_f, nucomp_to_r): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
08:17 PM Bug #3566 (Closed): memory leak when spawning+joining Threads in a loop
=begin
This issue was solved with changeset r28716.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
07:54 PM Bug #3600 (Rejected): HP-UX compilation
=begin
Hi,

I've had reasonable success with compiling 1.9.1 on HP-UX. But 1.9.2 has been problematic since preview3 came out. It seems the main issue is with threads. A very simple example (as follows) works fine on 1.9.1 but t...
graza (Graham Agnew)
06:02 PM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
On Jul 22, 2010, at 1:46 AM, Joshua Ballanco wrote:

> On Jul 21, 2010, at 11:41 AM, Dreamcat Four wrote:
>
>> Issue #3595 has been updated by Dreamcat Four.
>>
>>
>> And lets face it, if Encoding::BINARY were its own s...
jballanc (Joshua Ballanco)
05:46 PM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
On Jul 21, 2010, at 11:41 AM, Dreamcat Four wrote:

> Issue #3595 has been updated by Dreamcat Four.
>
>
> And lets face it, if Encoding::BINARY were its own seperate encoding that shouldnt really hurt anybody. Given the d...
jballanc (Joshua Ballanco)
05:38 PM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
On Jul 21, 2010, at 11:26 PM, Dreamcat Four wrote:

> Issue #3595 has been updated by Dreamcat Four.
>
>
> Hi,
> Well I was unaware of this. In that case the argument Bill has can be seen as an issue. Reading a file with ...
jballanc (Joshua Ballanco)
05:04 PM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin

Dreamcat Four wrote:
>
> It seems that the correct thing to do when reading a file through an
> IO object is set the encoding to Encoding::BINARY and ignore the
> ascii tags. Unless the ASCII tag says its a text file, then...
spatulasnout (B Kelly)
04:40 PM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
2010/7/22 Dreamcat Four <redmine@ruby-lang.org>:
> Well I was unaware of this. In that case the argument Bill has can be seen as an issue.
> Reading a file with the IO object would read the ASCII tags, and you wouldn't know wha...
naruse (Yui NARUSE)
03:26 PM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
Hi,
Well I was unaware of this. In that case the argument Bill has can be seen as an issue. Reading a file with the IO object would read the ASCII tags, and you wouldn't know what to do. The tags map to both Ascii 7-bit and asc...
dreamcat4 (Dreamcat Four)
11:51 AM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
Bill explains the reason.

Please show your use case.
I can't understand what troubles you.
=end
naruse (Yui NARUSE)
08:26 AM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
Dreamcat Four wrote:
>
> Its simply a very poor assumption to say that the Encoding "BINARY" is
> an alias of ASCII-8-bit.
>
> Its true that Ruby would store the string as an octet stream identically
> to an 8-bit ASCII o...
spatulasnout (B Kelly)
03:41 AM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
And lets face it, if Encoding::BINARY were its own seperate encoding that shouldnt really hurt anybody. Given the definition of what binary data is. If a ruby programmer wants to continue using 8-Bit Ascii strings that shouldn't ...
dreamcat4 (Dreamcat Four)
03:23 AM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
Let me re-phase this another way:

Its simply a very poor assumption to say that the Encoding "BINARY" is an alias of ASCII-8-bit.

Its true that Ruby would store the string as an octet stream identically to an 8-bit ASCI...
dreamcat4 (Dreamcat Four)
02:29 AM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
In the world of encodings, a String in Ruby is an array of bytes and those bytes may represent a character, part of a multibyte character, or an invalid character. Which of those three possibilities depends on the byte and the en...
jballanc (Joshua Ballanco)
01:34 AM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
Sorry but I asked for an encoding for BINARY data. Not 'octets'. Not 'ascii-anything'. You seem to have misunderstood.

01101110110 ?
11011110 ?

Think about it, the correct encoding BINARY should always only ever be a ...
dreamcat4 (Dreamcat Four)
04:37 PM Bug #3599 (Closed): Incorrect Regexp inspect for ASCII-8BIT String
=begin
This issue was solved with changeset r28715.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
04:21 PM Bug #3599: Incorrect Regexp inspect for ASCII-8BIT String
=begin
Here is a simple patch for this bug.


--- re.c 2010-07-22 16:12:01.536788151 +0900
+++ re.c.new 2010-07-22 16:13:15.229038356 +0900
@@ -373,7 +373,8 @@
int l;
if (resenc) ...
phasis68 (Heesob Park)
12:10 PM Bug #3599 (Closed): Incorrect Regexp inspect for ASCII-8BIT String
=begin
irb(main):001:0> a = Regexp.new("\xF1\xF2\xF3".force_encoding('ASCII-8BIT'))
=> /\xF1/
irb(main):002:0> puts a.inspect
/\xF1/
=> nil
irb(main):003:0> "\xF0\xF1".force_encoding('ASCII-8BIT') =~ a
=> nil
irb(main):004...
phasis68 (Heesob Park)
03:54 PM Revision 3a9a8ffa (git): * 2010-07-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision 13361ec5 (git): merges r28714 from trunk into ruby_1_9_2.
--
* include/ruby/missing.h: add prototype for ruby_close().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:58 PM Revision a4f2d6fe (git): merge revision(s) 28702:
* sprintf.c: add short documentation about named reference.
[ruby-core:31294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:37 PM Revision 7909d9d0 (git): merge revision(s) 28648:
* regexec.c (onig_search): don't skip non-ANYCHARs when
.* fails to match. This causes to fail matching
ANYCHAR_STAR with LOOK_BEHIND. This fix is workaround
and disable the optimization. [ruby-dev:41851]
...
mame (Yusuke Endoh)
01:16 PM Bug #3589 (Assigned): Converting Bignums to Float for equality checks is wrong
=begin
> Integer 10 means exactly 10, not everything that would end up as 10 if rounded. 10 == 10.2 #=> false

but 10 == 10.0. 100000000000000000000000 should == 100000000000000000000000.0

You know, if you think it should not, ...
shyouhei (Shyouhei Urabe)
03:01 AM Bug #3589: Converting Bignums to Float for equality checks is wrong
=begin
> You should think of floats as a range of values.

This is a very common misunderstanding about floats, but it
is exactly the opposite of how IEEE 754 specifies floats to work.
They are exact numbers, and every basic flo...
taw (Tomasz Wegrzanowski)
12:55 AM Bug #3589: Converting Bignums to Float for equality checks is wrong
=begin
Hi,

On Wed, Jul 21, 2010 at 9:52 AM, Tomasz Wegrzanowski <redmine@ruby-lang.org> wrote:
> And r1800 is wrong. 100000000000000000000000.to_f is a precise number 99999999999999991611392,
> and it doesn't equal 100000000000...
marcandre (Marc-Andre Lafortune)
01:13 PM Revision 94339a8f (git): merge revision(s) 28716:
* thread_pthread.c (get_stack): fix memory leak; pthread_attr_destory
must be called even when pthread_getattr_np is used.
[ruby-core:31269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28720 b2dd...
mame (Yusuke Endoh)
12:31 PM Revision 3aa7b3fb (git): * 2010-07-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:31 PM Revision 537d0cab (git): merges r28698 from trunk into ruby_1_9_2.
--
* lib/cmath.rb (CMath#cbrt): cbrt should accept a negative real
numbers. [ruby-core:31234]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:29 PM Bug #3523: win32 exception c0000029 on exit using fibers
=begin
U.Nakamura wrote:
>
> So, now I can say only that you should not switch fibers
> with the posibility to be called in C++ destructor.

Ah. Thank you for the clarification!



Regards,

Bill


=end
spatulasnout (B Kelly)
09:44 AM Bug #3523: win32 exception c0000029 on exit using fibers
=begin
Hello,

In message "[ruby-core:31403] Re: [Bug #3523][Assigned] win32 exception c0000029 on exit using fibers"
on Jul.21,2010 21:41:45, <billk@cts.com> wrote:
> Interesting.
>
> Do we know why it is unsafe to use run_i...
usa (Usaku NAKAMURA)
11:59 AM Revision 1b1041f8 (git): * configure.in (RUBY_EXTERN): unnecessary after all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:15 AM Revision 6e7f56fd (git): * thread_pthread.c (get_stack): fix memory leak; pthread_attr_destory
must be called even when pthread_getattr_np is used.
[ruby-core:31269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:29 AM Revision 203ebcbb (git): * re.c (rb_reg_expr_str): fix broken Regexp#inspect when it
is ASCII-8BIT and non-ASCII character.
The length of character should be from original byte string.
[ruby-core:31431]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:54 AM Feature #3591: Adding Numeric#divisor? (Have working implementation)
Toss out some more ideas/opinions, I'll make a patch for the one that the most people agree with :)
duckinator (Ellen Dash)
05:41 AM Revision 24b17a2e (git): * include/ruby/missing.h: add prototype for ruby_close().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:45 AM Bug #3596 (Rejected): Can Marshal nested Hash from 1.9.2 --> 1.8.7
=begin

=end
nobu (Nobuyoshi Nakada)
04:38 AM Bug #3596: Can Marshal nested Hash from 1.9.2 --> 1.8.7
=begin
Hi,
Actually this turned out to be a bug in the program receiving the data. I have now re-tested and there is no problem with the marshal.c sources in either direction between these Ruby versions. Sorry for the mistake.
=end
dreamcat4 (Dreamcat Four)
04:36 AM Bug #3596 (Feedback): Can Marshal nested Hash from 1.9.2 --> 1.8.7
=begin

=end
nobu (Nobuyoshi Nakada)
04:36 AM Bug #3596: Can Marshal nested Hash from 1.9.2 --> 1.8.7
=begin
Hi,

At Thu, 22 Jul 2010 01:06:42 +0900,
Dreamcat Four wrote in [ruby-core:31410]:
> The loaded Hash object has empty values where the inner hashes should be:

I can't reproduce it with any combination of [latest 1.9.2 and
...
nobu (Nobuyoshi Nakada)
03:22 AM Bug #3596: Can Marshal nested Hash from 1.9.2 --> 1.8.7
=begin

On 21 Jul 2010, at 17:06, Dreamcat Four wrote:

> Bug #3596: Can Marshal nested Hash from 1.9.2 --> 1.8.7
> http://redmine.ruby-lang.org/issues/show/3596
>
> Author: Dreamcat Four
> Status: Open, Priority: Normal
> ruby...
raggi (James Tucker)
01:06 AM Bug #3596 (Rejected): Can Marshal nested Hash from 1.9.2 --> 1.8.7
=begin
Hi,
The loaded Hash object has empty values where the inner hashes should be:

expected:
{"HashKeyA"=>{"StringA"=>"a"}, "HashKeyB"=>{"StringA"=>"a"}, "HashKeyC"=>{"StringA"=>"a"}, "HashKeyD"=>{"StringA"=>"a"}, "HashKeyE"=...
dreamcat4 (Dreamcat Four)
03:58 AM Revision d5a1efdc (git): * configure.in (RUBY_EXTERN): ignore invalid attribute.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 AM Revision cc703f2d (git): * configure.in: fix for older autoconf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:09 AM Revision 0563ae86 (git): * test/ruby/test_rubyoptions.rb (test_unused_variable): unused
variable in toplevel and eval are no longer warned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:02 AM Revision 062b4d67 (git): * include/ruby/{intern,io}.h: add missing prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:25 AM Bug #3462: gem activation fails for native gems
=begin
Seems to work now. Since it doesn't pre-load $: with any gem lib paths anymore, probably quite a bit of gem_prelude could now be removed as well.

Thanks much.
-r
=end
rogerdpack (Roger Pack)

07/21/2010

11:35 PM Feature #3591: Adding Numeric#divisor? (Have working implementation)
On Jul 21, 2010, at 3:55 AM, Nobuyoshi Nakada wrote:
> Hi,
> ...
"divisible" and "divisor" should not mean the same thing, and I vote for `Numeric#divisible?` (or more verbosely, `Numeric#divisible_by?`) for the present concept under di...
hasari (Hiro Asari)
04:56 PM Feature #3591: Adding Numeric#divisor? (Have working implementation)
Hi,
At Wed, 21 Jul 2010 16:35:49 +0900,
Nick Markwell wrote in [ruby-core:31391]:
> I agree, `Numeric#multiple?` seems more appropriate.
Or `Numeric#divisible?`, I'm not sure which is better. Maybe
define both?
And, it's arguable abo...
nobu (Nobuyoshi Nakada)
04:38 PM Feature #3591: Adding Numeric#divisor? (Have working implementation)
On 21 July 2010 08:22, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> Hi,
> ...
+1 for multiple?
injekt (Lee Jarvis)
04:35 PM Feature #3591: Adding Numeric#divisor? (Have working implementation)
I agree, `Numeric#multiple?` seems more appropriate.
Different patch providing `Numeric#multiple?` with the same usage: http://gist.github.com/raw/484193/65ffa0cb48ca4b838900dc105b246ced5bc0ac80/Numeric_multiple.patch
duckinator (Ellen Dash)
04:22 PM Feature #3591: Adding Numeric#divisor? (Have working implementation)
Hi,
At Wed, 21 Jul 2010 15:28:35 +0900,
Nick Markwell wrote in [ruby-core:31385]:
> Example usage:
> ...

I suspect if `Float#divisor?` makes a sense, and the name doesn't feel appropriate very much. The first example seems ‘four is a...
nobu (Nobuyoshi Nakada)
03:35 PM Feature #3591: Adding Numeric#divisor? (Have working implementation)
> I think this would be a very nice feature to add, and would make code using the old (num % other == 0) method much cleaner and easier to understand.

+1, I have written tons of such code.
shyouhei (Shyouhei Urabe)
03:28 PM Feature #3591 (Rejected): Adding Numeric#divisor? (Have working implementation)
=begin
On the 'duckinator' branch of my fork of ruby on github, I have added Numeric#divisor?:
num.divisor?(other)
is the same as:
(num % other == 0)

Example usage:
4.divisor?(2) #=> true
1.divisor?(2) #=...
duckinator (Ellen Dash)
10:52 PM Bug #3589: Converting Bignums to Float for equality checks is wrong
=begin
This isn't how Floats and other numbers work. No numerical type can represent every real number, and many operations are implicitly followed by rounding to nearest representable value. But once rounded a number corresponds to a p...
taw (Tomasz Wegrzanowski)
02:44 PM Bug #3589: Converting Bignums to Float for equality checks is wrong
=begin
For a record: Akira Tanaka kindly told me that this behaviour was intentionally introduced since revision r1800, to make 100000000000000000000000 == 100000000000000000000000.0

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tr...
shyouhei (Shyouhei Urabe)
11:33 AM Bug #3589 (Rejected): Converting Bignums to Float for equality checks is wrong
=begin
irb(main):001:0> x = 10.0 ** 20
=> 1.0e+20
irb(main):002:0> y = x + 1
=> 1.0e+20
irb(main):003:0> y == x
=> true
irb(main):004:0>

Welcome to the Real world. It is a Float's "fault". Do not blame us.
=end
shyouhei (Shyouhei Urabe)
04:48 AM Bug #3589 (Closed): Converting Bignums to Float for equality checks is wrong
=begin
In all versions of Ruby, when comparing Bignums with Floats, Bignum get converted to Floats first. This naturally results in wrong results, as this conversion is lossy. Not only will some unequal number be reported as equal, tra...
taw (Tomasz Wegrzanowski)
09:41 PM Bug #3523: win32 exception c0000029 on exit using fibers
=begin
Hi,

U.Nakamura wrote:
>
> But I've found a workaround for you, Bill.
>
> In definition of ZZZZ::PROTO::RPCMessageDispatcher#rpc_connection_unbind,
> you should use
> @msg_portmap[MSGPORT_ROOT].call(true, :rpc_unbin...
spatulasnout (B Kelly)
06:31 PM Bug #3523: win32 exception c0000029 on exit using fibers
=begin
Hello,

In message "[ruby-core:31366] Re: [Bug #3523][Assigned] win32 exception c0000029 on exit using fibers"
on Jul.20,2010 15:11:56, <usa@garbagecollect.jp> wrote:
> Thus, I have not found the cause yet.

But I've fo...
usa (Usaku NAKAMURA)
09:38 PM Revision 0bd71ff3 (git): * configure.in (XCFLAGS): use -fvisibility=hidden if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:26 PM Revision 6abe539c (git): * configure.in (RMDIR): use --ignore-fail-on-non-empty if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:23 PM Feature #3595 (Rejected): Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
For octet stream, use ASCII-8BIT; it means ASCII compatible octet string.
If it is not ASCII compatible, we can't write simply like "\x00\x00".force_encoding("ASCII-8BIT") == "\x00".
So it is intentional that the name 'ASCII-...
naruse (Yui NARUSE)
07:33 PM Feature #3595: Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
The encoding name 'ASCII-8BIT' is a bit, pun unintentional, of a misnomer as it has little to do with ASCII. It indicates, in effect, the absence of an encoding whereby one byte always constitutes one character, and all byte sequ...
runpaint (Run Paint Run Run)
06:34 PM Feature #3595 (Rejected): Theres no encoding to differentiate a stream of Binary data from an 8-Bit ASCII string
=begin
Hi,
It would help if we could have a seperate encoding for binary strings to mark them as binary data and not lump it in with ASCII.

Why cant we do this?

As things stand, I have to re-open String and add an attribute ...
dreamcat4 (Dreamcat Four)
06:23 PM Revision 3afa0125 (git): * configure.in (RUBY_EXTERN): FUNCTION-BODY was missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:06 PM Bug #3594 (Closed): URI class doesn't do file URL's properly.
=begin
URI doesn't seem to output file URLs properly where there is an absolute path part.

For example.

require 'uri'

my_url = URI.parse("file:///var/lib/libvirt/images/")
p my_url.to_s

"file:/var/lib/libvirt/imag...
NeilW (Neil Wilson)
06:03 PM Revision 90bf911f (git): * 2010-07-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:03 PM Revision 3befc304 (git): Fix signature of rb_ensure and rb_rescue to match the implementation in README.EXT
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
05:47 PM Bug #3590: RubyGems is Broken
=begin
I checked it. Thank you! :-)

On Wed, Jul 21, 2010 at 3:35 PM, Evan Phoenix <evan@fallingsnow.net> wrote:
>
> On Jul 20, 2010, at 8:04 PM, Sora Harakami wrote:
>
>> Hi, Evan.
>>
>> Thanks for fix and waiting for that. :-)...
sorah (Sorah Fukumori)
03:37 PM Bug #3590 (Closed): RubyGems is Broken
=begin
This issue was solved with changeset r28703.
Sora, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Anonymous
03:35 PM Bug #3590: RubyGems is Broken
=begin

On Jul 20, 2010, at 8:04 PM, Sora Harakami wrote:

> Hi, Evan.
>
> Thanks for fix and waiting for that. :-)

I've just committed the fix, not sure why the issue wasn't automatically closed. Still figure out how the ruby-...
evanphx (Evan Phoenix)
12:04 PM Bug #3590: RubyGems is Broken
=begin
Hi, Evan.

Thanks for fix and waiting for that. :-)

On Wed, Jul 21, 2010 at 11:16 AM, Evan Phoenix <evan@fallingsnow.net> wrote:
> I have a fix for this, sorry about the breakage. I'll commit the fix later this evening (Pac...
sorah (Sorah Fukumori)
11:16 AM Bug #3590: RubyGems is Broken
=begin
I have a fix for this, sorry about the breakage. I'll commit the fix later this evening (Pacific time).

- Evan // via iPhone


On Jul 20, 2010, at 6:17 PM, Sora Harakami <redmine@ruby-lang.org> wrote:

> Bug #3590: Rub...
evanphx (Evan Phoenix)
10:17 AM Bug #3590 (Closed): RubyGems is Broken
=begin
Hi,

Rubygems is broken in ruby 1.9.3dev.
This problem can occur in any gems (I expect).

--
The following code reproduces this problem:

begin # Can't load active_record
p require 'active_record'
rescue Loa...
sorah (Sorah Fukumori)
05:38 PM Bug #3593: cont.cで"PAGE_SIZE" redefined
=begin

=end
naruse (Yui NARUSE)
05:20 PM Bug #3593 (Closed): cont.cで"PAGE_SIZE" redefined
=begin
cont.cで以下のようなwarningがでます。
ifndefを使うべきか、RB_PAGE_SIZEなどと別の名前を使うべきか迷ったので、対処お願いします。
../../ruby/cont.c:45:1: warning: "PAGE_SIZE" redefined
In file included from /usr/include/sys/param.h:110,
from /usr/include...
naruse (Yui NARUSE)
04:03 PM Feature #3592 (Closed): "1.0+0.0i".to_c.to_f can't converted into Float
=begin
Hi,

(1.0+0i).to_f results to 1.0, whereas (1.0+0.0i).to_f generate RangeError.

irb(main):001:0> "1.0+0i".to_c.to_f
=> 1.0
irb(main):002:0> "1.0+0.0i".to_c == 1.0
=> true
irb(main):003:0> "1.0+0.0i".to_c.to_f
R...
phasis68 (Heesob Park)
03:17 PM Bug #3574 (Closed): Missing documentation for sprintf named argument support
=begin
This issue was solved with changeset r28702.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
02:07 PM Revision 2527936c (git): * template/fake.rb.in: get rid of embeding an absolute path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:07 PM Bug #3562 (Closed): regression in respond_to?
=begin
This issue was solved with changeset r28700.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
12:47 PM Bug #3563 (Closed): problems with exponentiation, cbrt
=begin
This issue was solved with changeset r28698.
Kevin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
06:30 AM Revision 6113a5ad (git): Load gems properly. Fixes [ruby-core:31377]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Evan Phoenix
06:16 AM Revision 6e2850aa (git): * sprintf.c: add short documentation about named reference.
[ruby-core:31294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:00 AM Revision 3f606b9a (git): * parse.y (local_push_gen): disable unused variable warnings in
eval. [ruby-dev:41869]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:00 AM Revision ad717fa7 (git): * vm_method.c (rb_method_boundp): revert r28543, r28564.
They may be merged in Ruby 2.0. [ruby-core:31217]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:38 AM Revision 5647b2cd (git): * lib/uri/common.rb: Have URI#route_to, URI#route_from accept
string-like arguments [ruby-core:30961]
* lib/uri/generic.rb: ditto for URI.join, URI#merge
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
03:45 AM Bug #3462: gem activation fails for native gems
=begin
I've committed a slightly revised version of the patch that nobu and I worked on into trunk. It solves the gem activation issues because it loads all of rubygems to perform any gem activation.

Hopefully we can have this backpo...
evanphx (Evan Phoenix)
01:34 AM Bug #3462: gem activation fails for native gems
=begin

On Jul 20, 2010, at 9:32 AM, Yusuke Endoh wrote:

> Issue #3462 has been updated by Yusuke Endoh.
>
>
> Hi,
>
> 2010/7/21 Evan Phoenix <evan@fallingsnow.net>:
>>> Hi, Evan
>>>
>>> This ticket is about gem_prelude....
evanphx (Evan Phoenix)
01:32 AM Bug #3462: gem activation fails for native gems
=begin
Hi,

2010/7/21 Evan Phoenix <evan@fallingsnow.net>:
>> Hi, Evan
>>
>> This ticket is about gem_prelude.rb.
>> Do you think this should be fixed in 1.9.2?
>> And what do you think about nobu's patch?
>
> Nobu's p...
mame (Yusuke Endoh)
01:23 AM Bug #3462: gem activation fails for native gems
=begin

On Jul 20, 2010, at 6:25 AM, Yusuke Endoh wrote:

> Issue #3462 has been updated by Yusuke Endoh.
>
> Assigned to changed from Eric Hodel to Evan Phoenix
>
> Hi, Evan
>
> This ticket is about gem_prelude.rb.
> Do yo...
evanphx (Evan Phoenix)
03:43 AM Revision c618db17 (git): * lib/cmath.rb (CMath#cbrt): cbrt should accept a negative real
numbers. [ruby-core:31234]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:32 AM Revision 770af864 (git): * lib/uri/common.rb: Have URI() and URI.join accept URI objects in addition
to strings. [ruby-core:30960]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
02:55 AM Revision 9a89e864 (git): * util.c (ruby_hdtoa): renamed from BSD__hdtoa.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:43 AM Bug #3555: segvs since r28570
=begin
On Tue, Jul 20, 2010 at 01:47:09PM +0900, Narihiro Nakamura wrote:
> Issue #3555 has been updated by Narihiro Nakamura.
>
>
> I found memory error on trunk:
>
> $ cat /tmp/t.rb
> require "/tmp/f.rb"
>
> module Kernel...
tenderlovemaking (Aaron Patterson)

07/20/2010

10:25 PM Bug #3462: gem activation fails for native gems
=begin
Hi, Evan

This ticket is about gem_prelude.rb.
Do you think this should be fixed in 1.9.2?
And what do you think about nobu's patch?

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
06:36 PM Revision 9d0d4d8a (git): Be sure to load the custom require even if --disable-rubygems was used
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Evan Phoenix
06:30 PM Revision ca7a11e8 (git): * 2010-07-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:30 PM Revision bb43e689 (git): Pull rubygem's custom require into gem_prelude
This solves the gem loading issue by never touching $LOAD_PATH
in gem_prelude and instead loading all of rubygems more quickly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Evan Phoenix
05:29 PM Bug #3565 (Assigned): make test-all fails to run
=begin
Should be backported to 1.9.2 as well.
=end
shyouhei (Shyouhei Urabe)
03:17 PM Bug #3555 (Closed): segvs since r28570
=begin
This issue was solved with changeset r28689.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Anonymous
01:47 PM Bug #3555: segvs since r28570
=begin
I found memory error on trunk:

$ cat /tmp/t.rb
require "/tmp/f.rb"

module Kernel
def require
end
GC.start
GC.stress = true
10.times{ "a".dup }
end

$ cat /tmp/f.rb
require "/tmp/t"

$ v...
authorNari (Narihiro Nakamura)
03:12 PM Bug #3523: win32 exception c0000029 on exit using fibers
=begin
Hello,

In message "[ruby-core:31351] Re: [Bug #3523][Assigned] win32 exception c0000029 on exit using fibers"
on Jul.19,2010 18:30:23, <billk@cts.com> wrote:
> When I put the test in a loop, and if I don't get the
> 0xC...
usa (Usaku NAKAMURA)
09:47 AM Revision b117475e (git): * ext/json/generator/generator.c (fbuffer_free): removed unused function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:39 AM Revision 06e935a1 (git): * include/ruby/ruby.h (RSTRING_GETMEM): new macro to get ptr and
len at once.
* string.c (rb_str_cmp, str_eql, rb_str_eql): trivial improvements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:32 AM Bug #3562: regression in respond_to?
=begin
I'll commit following revert patch.

diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb
index d135577..da17ef5 100644
--- a/test/ruby/test_method.rb
+++ b/test/ruby/test_method.rb
@@ -371,7 +371,7 @@ cla...
naruse (Yui NARUSE)
09:23 AM Revision 6de2f601 (git): * ext/fiddle/closure.c (closure_data_type),
ext/fiddle/function.c (function_data_type): rb_data_type_t has
changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:14 AM Revision 81cc3b26 (git): * gc.c: don't call after_gc_sweep() after when garbage_collect()
was called, because rb_sweep_method_entry() free live unlinked
method entries. [ruby-core:31169]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
05:24 AM Feature #3587: windows: unable to sleep < 0.015s
=begin

=end
nobu (Nobuyoshi Nakada)
01:31 AM Feature #3587: windows: unable to sleep < 0.015s
=begin

On 19 Jul 2010, at 16:19, KOSAKI Motohiro wrote:

> Hi
>
> 2010/7/19 Roger Pack <redmine@ruby-lang.org>:
>> Bug #3587: windows: unable to sleep < 0.015s
>> http://redmine.ruby-lang.org/issues/show/3587
>>
>> Author: R...
raggi (James Tucker)
12:19 AM Feature #3587: windows: unable to sleep < 0.015s
=begin
Hi

2010/7/19 Roger Pack <redmine@ruby-lang.org>:
> Bug #3587: windows: unable to sleep < 0.015s
> http://redmine.ruby-lang.org/issues/show/3587
>
> Author: Roger Pack
> Status: Open, Priority: Normal
> ruby -v: ruby 1.9....
kosaki (Motohiro KOSAKI)
04:00 AM Revision a52dd6cc (git): * ext/socket/raddrinfo.c (rb_getaddrinfo): according to my valgrind output this variable should be initialized beforehand.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
03:50 AM Revision a3419bc9 (git): * io.c (io_flush_buffer): write and buffer operations should be
monolithic. [ruby-core:31348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:28 AM Revision 1433c13b (git): * 2010-07-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:27 AM Revision 87838448 (git): * lib/fileutils.rb (FileUtils::Entry_#copy): check file name
spearator boundary. [ruby-core:31360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:35 AM Bug #3586: Using Nokogiri-1.4.2 with ruby 1.9.2dev (2010-07-06 revision 28549) and Rails3.beta4
=begin
On Mon, Jul 19, 2010 at 11:59:04PM +0900, TJ Koblentz wrote:
> Issue #3586 has been updated by TJ Koblentz.
>
>
> Hello Aaron,
>
> Thanks for getting back to me. I have to head to work right now but as soon as I get back...
tenderlovemaking (Aaron Patterson)

07/19/2010

11:59 PM Bug #3586: Using Nokogiri-1.4.2 with ruby 1.9.2dev (2010-07-06 revision 28549) and Rails3.beta4
=begin
Hello Aaron,

Thanks for getting back to me. I have to head to work right now but as soon as I get back I'll look into this problem again. I think my error could stem from the fact that I attempted to package Nokogiri with Bu...
tjko (TJ Koblentz)
01:53 PM Bug #3586: Using Nokogiri-1.4.2 with ruby 1.9.2dev (2010-07-06 revision 28549) and Rails3.beta4
=begin
Hi TJ,

On Mon, Jul 19, 2010 at 01:30:41PM +0900, TJ Koblentz wrote:
> Bug #3586: Using Nokogiri-1.4.2 with ruby 1.9.2dev (2010-07-06 revision 28549) and Rails3.beta4
> http://redmine.ruby-lang.org/issues/show/3586
>
> Au...
tenderlovemaking (Aaron Patterson)
01:30 PM Bug #3586 (Closed): Using Nokogiri-1.4.2 with ruby 1.9.2dev (2010-07-06 revision 28549) and Rails3.beta4
=begin
This error occurs when I start the local rails server. I saw an error similar to this regarding Nokogiri mentioning this was a ruby problem, although I'm unsure. I apologize if it isn't.

=== CONSOLE OUTPUT ===

project ...
tjko (TJ Koblentz)
09:45 PM Feature #3587 (Closed): windows: unable to sleep < 0.015s
=begin
>> sleep 0.0001; Hitimes::Interval.measure { 2.times { sleep 0.000001}}
=> 0.03124279761813303

(it's always 0.03s)
This surprised me a bit, since it differed from Linux behavior.
Thanks!
=end
rogerdpack (Roger Pack)
06:30 PM Bug #3523: win32 exception c0000029 on exit using fibers
=begin
Hi,

Bill Kelly wrote:
>
> ... and now the 0xC0000374 happens again, every time,
> after the FIRST time through the loop.
>
> (I already had the GC.stress = true, before.)
>
>
> Currently MemoryValidator isn't helpin...
spatulasnout (B Kelly)
02:20 PM Bug #3583: rb_data_type_t should be extensible
=begin
遠藤です。

追加したほうがいいと思います。
trunk に入れて revision を伝えてください。
反対がなければ backport します。


2010年7月18日16:39 SASADA Koichi <ko1@atdot.net>:
> その旨のコメントを include/ruby.h に追加しても良いでしょうか.
>
> (2010/07/18 16:23), Nobuyoshi Nakada wrote::
>> ...
mame (Yusuke Endoh)
11:36 AM Revision b698066b (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:35 AM Revision a0d5258d (git): * ext/pathname/pathname.c (get_strpath): check the type.
(path_initialize): bypass to_path call for T_STRING.
(path_freeze): implemented.
* ext/pathname/lib/pathname.rb (Pathname#freeze): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:45 AM Revision 79dfc605 (git): * random.c (DEFAULT_SEED_LEN): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:54 AM Revision 8ef7bb8c (git): * ext/syck/lib/syck.rb: fixing unused variable warnings
* ext/syck/lib/syck/basenode.rb: ditto
* ext/syck/lib/syck/rubytypes.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
03:33 AM Revision 87d8a3b9 (git): * array.c (rb_ary_clear): should not unshare embedded array, and
should make unshared array embedded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:01 AM Revision 4d5eee36 (git): * NEWS (Kernel#instance_eval): add an incompatible change since
the 1.9.1 release. [ruby-core:31336]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

07/18/2010

08:46 PM Revision cc6294a7 (git): * include/ruby/ruby.h (rb_data_type_t): add new feature macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:44 PM Feature #3010: slow require gems in ruby 1.9.1
=begin
Hello,

I am using ruby 1.9.2dev (2010-07-11 revision 28618) [i686-linux]
and this problem seems to be solved in this version. Ruby starts
up just as fast both with and without RubyGems. This is readily
noticeable on ...
sunaku (Suraj Kurapati)
04:39 PM Bug #3583: rb_data_type_t should be extensible
=begin
その旨のコメントを include/ruby.h に追加しても良いでしょうか.

(2010/07/18 16:23), Nobuyoshi Nakada wrote::
> なかだです。
>
> At Sun, 18 Jul 2010 01:58:17 +0900,
> Nobuyoshi Nakada wrote in [ruby-dev:41862]:
>> そこで、dmarkからdsizeまでもreservedと一緒にstruct...
ko1 (Koichi Sasada)
04:37 PM Bug #3583 (Closed): rb_data_type_t should be extensible
=begin
This issue was solved with changeset r28676.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
04:24 PM Bug #3583: rb_data_type_t should be extensible
=begin
なかだです。

At Sun, 18 Jul 2010 01:58:17 +0900,
Nobuyoshi Nakada wrote in [ruby-dev:41862]:
> そこで、dmarkからdsizeまでもreservedと一緒にstructに入れてしまい
> たいと思います。{}が必要になりますが、上記のような不揃いさは回避
> できますし、バイナリ互換性も保たれます。
>
> 幸いrb_data_type_tは1.9.1...
nobu (Nobuyoshi Nakada)
02:12 AM Bug #3583: rb_data_type_t should be extensible
=begin

=end
nobu (Nobuyoshi Nakada)
02:11 AM Bug #3583 (Assigned): rb_data_type_t should be extensible
=begin

=end
nobu (Nobuyoshi Nakada)
01:58 AM Bug #3583 (Closed): rb_data_type_t should be extensible
=begin
なかだです。

現在rb_data_type_tにはreservedがありますが、配列になっていること
とその後にdataがあることのために実際に拡張するのは難しくなってい
ます。

typedef struct rb_data_type_struct {
const char *wrap_struct_name;
void (*dmark)(void*);
void (*dfree)(void...
nobu (Nobuyoshi Nakada)
12:20 PM Revision 10a90fbc (git): * array.c (rb_ary_clear): no need to duplicate buffer just before
clearing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:31 AM Revision 25b9eb5e (git): * include/ruby/ruby.h (rb_data_type_t): restructured. [ruby-dev:41862]
add parent member.
* error.c (rb_typeddata_inherited_p): new function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:23 AM Revision ad654fe5 (git): * gc.c (rb_objspace_each_objects): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:53 AM Bug #3582 (Closed): test file don't run test.
=begin
Fixed at r28668.
=end
nobu (Nobuyoshi Nakada)
 

Also available in: Atom