Project

General

Profile

Activity

From 10/26/2009 to 11/01/2009

11/01/2009

11:27 PM Revision 3e364a0c (git): * 2009-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:27 PM Revision b23461b5 (git): * cont.c (fiber_free): don't free unallocated local_storage. see #1325.
* cont.c (cont_init): clear local_storage not to use current thread's.
* cont.c (fiber_t_alloc, root_fiber_alloc): link itself always for
a case that fiber_link_remove() is called before fiber_link_join().
* cont.c (fiber_init): don'...
wanabe (_ wanabe)
10:52 PM Feature #2321 (Rejected): [PATCH] Array Module sum and mean features
=begin
I have created a new patch for the Array Module of Ruby. The patch adds two complementary features: A sum function, that sums the elements in an array if they are numbers; and a mean (or average) function that finds the mean of t...
danielc192 (Daniel Cohen)
08:17 PM Bug #2318 (Closed): patch to show the rdoc's for BigDecimal
=begin
This issue was solved with changeset r25615.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
07:15 AM Bug #2318 (Closed): patch to show the rdoc's for BigDecimal
=begin
BigDecimal's rdoc's are currently in the wrong place to be picked up by newer versions of rdoc.
Attached patch fixes this.
=end
rogerdpack (Roger Pack)
08:11 PM Bug #2320: patch to trunk .document to include more readme's etc.
=begin
Where is the patch?
=end
naruse (Yui NARUSE)
07:21 AM Bug #2320 (Closed): patch to trunk .document to include more readme's etc.
=begin
This patch adds some README files to default rdoc's of trunk [ex: README and README.EXT] and I propose its consideration.
Thanks!
-r
=end
rogerdpack (Roger Pack)
03:48 PM Revision 0eb452d7 (git): merges r24949 from trunk into ruby_1_9_1.
--
* lib/matrix.rb (determinant): Bug fix where determinant failed on some matrices [ruby-core:23597]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:48 PM Revision 73678acc (git): merges r24914 from trunk into ruby_1_9_1.
--
* lib/cgi/cookie.rb (value): Keep CGI::Cookie#value in sync with the cookie itself. Based on a patch by Arthur Schreiber [ruby-core:17634]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25621 b2dd03c8-39d4-4d8f-98ff-...
yugui (Yuki Sonoda)
03:48 PM Revision 00cd3b97 (git): merges r24912 from trunk into ruby_1_9_1.
--
* lib/net/http.rb (fetch): Handle properly default values; a patch by Arthur Schreiber [ruby-core:18308]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:48 PM Revision 6f1e3cc0 (git): merges r24888 from trunk into ruby_1_9_1.
--
* include/ruby/ruby.h (SYM2ID): needs parens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:48 PM Revision 534a4192 (git): merges r24884 from trunk into ruby_1_9_1.
--
* lib/prime.rb (EratosthenesGenerator#initialize): call super.
(TrialDivisionGenerator, Generator23): ditto. [ruby-core:25539]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:48 PM Revision cb467517 (git): merges r24882 from trunk into ruby_1_9_1.
--
* ext/win32ole/win32ole.c: fix WIN32OLE_TYPELIB.new when the 1st
argument is the non-registered file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:39 PM Revision a9b1e5c2 (git): Added a test method contributed by James M Lawrence,
and merged a modification from r24868.
* test/ruby/test_module.rb (TestModule#test_method_added): new test
method. Patch by James M. Lawrence.
c.f. [ruby-core:25536], r24867 and r24868.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br...
yugui (Yuki Sonoda)
02:14 PM Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
Hi,

2009/11/1 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> A mechanism could be implemented with a thread local option, say Math.raise_on_pole = true/false, or even hook, say for example:
> Math.on_pole=lambda{|object, op...
mame (Yusuke Endoh)
12:54 PM Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
Hi,

I looked at SUSv3 a bit more carefully. I'll refer interested parties to http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap04.html#tag_04_18_02

Yui NARUSE wrote:
> So we follow SUSv3, which defines a...
marcandre (Marc-Andre Lafortune)
11:16 AM Revision 74d16cd0 (git): * ext/bigdecimal/bigdecimal.c: fixed rdoc. [ruby-core:26457]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:35 AM Bug #2313: Incomplete encoding conversion?
OK I understand now :) I was mixing up the available encoding converters... There is no `Encoding::Converter` from UTF-8 to ASCII-8BIT (or visa versa ;).
Thank you for your patience.
adamsalter (Adam Salter)
01:59 AM Bug #2313: Incomplete encoding conversion?
> ~~~ruby
> ...
OK, I'll explain step by step:
~~~ruby
str = "元気"
# You make a String which contains "元気" encode by some encoding
# str's byte data is some byte string which means "元気"
# str's encoding is a source encoding
str =...
naruse (Yui NARUSE)
08:27 AM Bug #2315 (Closed): [PATCH] gc.c: DRY machine stack calculations
=begin
This issue was solved with changeset r25604.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
08:11 AM Revision f6f49eb0 (git): * configure.in (RUBY_STACK_GROW_DIRECTION): set return variable always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:04 AM Bug #2317: ruby/config.h header file not found
=begin
The locations may be the intended ones (or not, you tell me) but I am saying that
the include files are _broken_ because if you try to compile a C program with

gcc -I/usr/include/ruby-1.9.1 ...

it _fails_ because ...
Redwind (Red Wind)
07:22 AM Bug #2317: ruby/config.h header file not found
=begin
>> ruby/st.h installed in /usr/include/ruby-1.9.1 contain '#include "ruby/config.h"'.
>> But the file ruby/config.h does not exist. Instead it is installed
>> in /usr/incude/ruby-1.9.1/{architecture}-linux/ruby/config.h.

...
rogerdpack (Roger Pack)
12:43 AM Bug #2317 (Rejected): ruby/config.h header file not found
=begin
In several Linux distributions I see that the header files ruby/ruby.h and
ruby/st.h installed in /usr/include/ruby-1.9.1 contain '#include "ruby/config.h"'.
But the file ruby/config.h does not exist. Instead it is installed
...
Redwind (Red Wind)
07:24 AM Revision 2eb5e70d (git): * configure.in (rb_cv_stack_grow_dir): fix for universal binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:23 AM Revision f6ea3142 (git): * configure.in (sitehdrdir, vendorhdrdir): fixed default values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:17 AM Bug #2319 (Closed): gethostbyname fails in windows
=begin
Unfortunately this appears to prevent me from running other tests...

C:\dev\ruby\downloads\ruby_trunk>make test-all
./miniruby.exe -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/runruby.rb --extout=.ext -- "./test...
rogerdpack (Roger Pack)
04:36 AM Revision 754462d4 (git): * win32/win32.c (overlapped_socket_io, recvmsg, sendmsg): pass handle
instead of pointer to CloseHandle().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
04:24 AM Revision 24a6752f (git): * ext/socket/socket.c (socket_s_ip_address_list): use FreeLibrary() to
free HMODULE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
04:12 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I'm attaching updated patches that reduce the
runtime overhead of stack bound correction.

Thanks for your consideration.
=end
sunaku (Suraj Kurapati)
03:32 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I'm attaching updated patches that contain better API documentation:

/*
* Binds the stack of Ruby's main thread to the region of memory that spans
* inclusively from the given lower boundary to the given upp...
sunaku (Suraj Kurapati)
04:06 AM Revision 68b23a0d (git): * object.c (convert_type): Cleanup unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:47 AM Revision a9e662ac (git): * ext/dl/cptr.c (rb_dlptr_ptr, rb_dlptr_ref) adding documentation
* test/dl/test_cptr.rb (test_ref_ptr) testing CPtr#ref and CPtr#ptr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:46 AM Revision 4b76900a (git): * ext/dl/cptr.c (rb_dlptr_to_value) added documentation
* test/dl/test_cptr.rb (test_to_value) testing DL::CPtr#to_value
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:46 AM Revision 6cf6d855 (git): * ext/dl/cptr.c (rb_dlptr_size) splitting function to reduce complexity
* ext/dl/cptr.c (rb_dlptr_null_p, rb_dlptr_aref, rb_dlptr_aset) adding
documentation
* ext/dl/dl.c (rb_dl_free) adding documentation
* test/dl/test_cptr.rb (test_null?, test_size, test_size=,
test_aref_aset) Improving test coverage
*...
tenderlovemaking (Aaron Patterson)
01:46 AM Revision 5f3d0f52 (git): * test/dl/test_dl2.rb (**) testing malloc and realloc
* ext/dl/dl.c (**) adding documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)

10/31/2009

11:17 PM Revision 0243c024 (git): * gc.c (GET_STACK_BOUNDS): refactored common code. based on a
patch from Suraj N. Kurapati <sunaku AT gmail.com> in
[ruby-core:26443].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:45 PM Bug #2313: Incomplete encoding conversion?
OK. Thank you.
I do think it makes sense to be able to do:
~~~ruby
>> "元気".encode('UTF-8').encode('ASCII-8BIT').encode('UTF-8')
~~~
.. even though it doesn't actually change the string bytes internally. But, I guess it's only ...
adamsalter (Adam Salter)
01:24 PM Bug #2313: Incomplete encoding conversion?
The data of String consist from byte string and an encoding.
`String#encode` changes both, but `String#force_encoding` changes only its encoding.
You know, "converting to ASCII-8BIT" doesn't change its byte string,
so this is `Str...
naruse (Yui NARUSE)
06:21 AM Bug #2313: Incomplete encoding conversion?
Ok. I'm still a little unclear.
The Ruby 1.9 docs say `String#encode` "returns a copy of str transcoded to encoding 'encoding'".
From James Edward Grey article on strings `String#force_encoding` 'doesn't change the data at all, jus...
adamsalter (Adam Salter)
04:14 PM Revision c0a0aa0c (git): * enum.c (enum_count): remove optimization using #size.
revert r25560.
* vm_eval.c (rb_funcall_no_recursive): remove method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:32 PM Revision 2097f56d (git): * 2009-11-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision ab32fe26 (git): * vm_eval.c (check_funcall): logic updated according to
[ruby-dev:39594]. search method entry, call if it exists;
otherwise check method_missing, call if it was overridden,
protecting exceptions; if NoMethodError happens, check method
name.
* vm_eval.c (vm_call0): use idMethodMissing....
matz (Yukihiro Matsumoto)
02:35 PM Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
=begin
Hi,

Suraj Kurapati wrote:
> Mr. Nobu, could you please answer my question about [...]

Please forgive my rudeness and childish impatience. I shall
wait quietly until you feel the time is right for this issue
to wa...
sunaku (Suraj Kurapati)
12:26 AM Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
=begin
Hi,

I created a new issue to track my ruby_bind_stack patch and
code examples: http://redmine.ruby-lang.org/issues/show/2294

Mr. Nobu, could you please answer my question about how
my code examples need to change i...
sunaku (Suraj Kurapati)
02:25 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

To reduce your risk of applying (or even considering) this patch,
I moved the refactoring of *duplicated* machine stack calculation
code into a new "get_machine_stack_bounds.patch" file on this issue:

http://r...
sunaku (Suraj Kurapati)
02:15 PM Bug #2315 (Closed): [PATCH] gc.c: DRY machine stack calculations
=begin
Hi,

This patch refactors *duplicated* machine stack calculation code from
mark_current_machine_context() and rb_gc_mark_machine_stack() in gc.c
into a new internal get_machine_stack_bounds() function.

Thanks for yo...
sunaku (Suraj Kurapati)
01:05 PM Revision 536770bf (git): merges r24865,r24866,r24869,r24872,r24875,r24876 and r24877 from trunk into ruby_1_9_1.
--
* lib/open-uri.rb (URI::FTP#buffer_open): use the port specified in
the URI.
--
test ftp over http proxy.
--
fix tests.
--
test invalid redirect location.
--
* lib/open-uri.rb (URI::FTP#buffer_open): fix the %2F handling.
--
test re...
yugui (Yuki Sonoda)
01:05 PM Revision 358b2f89 (git): merges r24855 from trunk into ruby_1_9_1.
--
* ext/win32ole/win32ole.c (EVENTSINK_Invoke): initialize result
variant value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:05 PM Revision fe5f585b (git): merges r24840 and r24841 from trunk into ruby_1_9_1.
--
* lib/net/http.rb (Net::HTTPHeader::encode_kvpair): also call to_s
to k. A patch from swdyh <youhei@gmail.com>
http://github.com/swdyh/ruby/tree/c847f43c2ccb679b9ff728f8b1b16c6ceeb57f39
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
yugui (Yuki Sonoda)
01:05 PM Revision bf3818c4 (git): merges r24839 from trunk into ruby_1_9_1.
--
* dln.c (aix_loaderror): get rid of using uninitialized value in the
case loadquery fails. fixed wrong index variable usage. see
[ruby-core:25479].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25597 b2dd03c8-...
yugui (Yuki Sonoda)
01:05 PM Revision d6eaa886 (git): merges r24834,r24837,r24853,r24857,r24858,r24862,r24863 and r24864 from trunk into ruby_1_9_1.
--
add tests for open-uri.
--
renamed.
--
more tests.
--
more tests.
--
refined.
--
add https test.
--
test proxy log.
--
test CA certs dir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25596 b2dd03c8-39d4-4d8f-98ff-8...
yugui (Yuki Sonoda)
01:05 PM Revision 592c5fa9 (git): merges r24830 from trunk into ruby_1_9_1.
--
* lib/net/http.rb (fetch): rdoc fix, patch by Arthur Schreiber, [ruby-core:18309].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:05 PM Revision f557b57e (git): merges r24828 from trunk into ruby_1_9_1.
--
* test/dl/test_cptr.rb (test_free=): test SEGV at first.
[ruby-dev:39269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:05 PM Revision cf4c2318 (git): merges r24818 from trunk into ruby_1_9_1, with small modification.
--
* test/ruby/test_require.rb (test_relative): tests for require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision 34ffc19c (git): merges r22718 from trunk into ruby_1_9_1.
--
* ext/dl/lib/dl/value.rb (DL::ValueUtil#wrap_arg): NULL for nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision d763098c (git): merges r24785 and r24833 from trunk into ruby_1_9_1, with small modification.
--
* test/dl/test_{cfunc,ptr}.rb: added tests from Aaron Patterson.
see [ruby-dev:39249].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision f7665cba (git): merges r22717 from trunk into ruby_1_9_1.
--
* test/dl: moved from ext/dl/test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision 5beab804 (git): merges r24757 and r24758 from trunk into ruby_1_9_1.
--
* compile.c (iseq_compile_each): &&= and ||= should return rhs.
[ruby-dev:39163] (#1996), [ruby-core:25143]
--
* compile.c (iseq_compile_each): &&= and ||= should return rhs.
[ruby-dev:39163] (#1996), [ruby-core:25143]
git-svn-id...
yugui (Yuki Sonoda)
01:04 PM Revision 9ee81131 (git): merges r24752 from trunk into ruby_1_9_1.
--
* test/ruby/test_io.rb (test_binmode_after_closed): test for [ruby-core:25363].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision 36857419 (git): merges r24748 from trunk into ruby_1_9_1.
--
* bignum.c (rb_big_div, rb_big_idiv): fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision 49d29476 (git): merges r24742 from trunk into ruby_1_9_1.
--
* lib/webrick/httpservlet/abstract.rb (do_OPTIONS): method names
are symbols now. [ruby-core:24580]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:01 PM Revision ea057a5b (git): * 2009-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:01 PM Revision 67491398 (git): merges r22964 from trunk into ruby_1_9_1.
--
* common.mk (.y.c): use SRC_FILE which contains slashes instead of
backslashes. [ruby-core:22891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:19 AM Revision a4127110 (git): * 2009-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:19 AM Revision 5d19cfe2 (git): * lib/net/http.rb (Net::HTTPResponse#each_response_header):
cosmetic: '?\ ' -> '?\s'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
08:18 AM Revision a28cd28c (git): * lib/net/http.rb (Net::HTTPResponse#each_response_header):
cosmetic: '?\ ' -> '?\s'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
01:17 AM Revision 9d93bc2b (git): * st.c (unpack_entries): fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

10/30/2009

07:07 PM Bug #1953 (Closed): empty range in String#tr causes unexpected behavior
=begin
This issue was solved with changeset r25576.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
09:50 AM Bug #1953 (Assigned): empty range in String#tr causes unexpected behavior
=begin

=end
naruse (Yui NARUSE)
05:07 PM Bug #2312 (Closed): NoMethodError message "no superclass method"
=begin
This issue was solved with changeset r25573.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
02:13 PM Bug #2312: NoMethodError message "no superclass method"
=begin

=end
nobu (Nobuyoshi Nakada)
12:44 PM Bug #2312 (Closed): NoMethodError message "no superclass method"
=begin
なかだです。

trunkで組み込みのメソッドからのNoMethodErrorのメッセージが"no
superclass method"になりません。

$ ./ruby -v -e 'module Enumerable;undef min;end; (1..2).min{}'
ruby 1.9.2dev (2009-10-30 trunk 25565) [universal.x86_64-darwin9.0]
-e:1:in...
nobu (Nobuyoshi Nakada)
03:55 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin

=end
sunaku (Suraj Kurapati)
05:39 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin

=end
sunaku (Suraj Kurapati)
05:37 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin

=end
sunaku (Suraj Kurapati)
05:13 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I am attaching an updated "ruby_bind_stack.patch" file which adds:

* API documentation for the ruby_bind_stack() function in ruby.h
* an assertion to ensure that upper > lower inside ruby_bind_stack()

Thanks ...
sunaku (Suraj Kurapati)
02:16 PM Bug #2313 (Rejected): Incomplete encoding conversion?
That is not a conversion; that is setting an encoding.
So you should use `String#force_encoding(enc)`.
naruse (Yui NARUSE)
02:12 PM Bug #2313 (Rejected): Incomplete encoding conversion?
=begin
I get the following error in irb:

>> "http://localhost/posts/eeé".encode('ASCII-8BIT')
Encoding::UndefinedConversionError: "\xC3\xA9" from UTF-8 to ASCII-8BIT
from (irb):7:in `encode'
from (irb):7
from /opt/loc...
adamsalter (Adam Salter)
01:40 PM Bug #2310: should ensure GVL_UNLOCK_END in rb_thread_blocking_region
=begin
なかだです。

At Fri, 30 Oct 2009 12:54:03 +0900,
SASADA Koichi wrote in [ruby-dev:39582]:
>  この変更は受け入れられません.そもそも,GVL を持っていない状態で例外を
> 発生させてはいけません.

いわれてみれば確かに。コメントに追加しておきました。

--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦...
nobu (Nobuyoshi Nakada)
12:54 PM Bug #2310: should ensure GVL_UNLOCK_END in rb_thread_blocking_region
=begin
Nobuyoshi Nakada wrote::
> This issue was solved with changeset r25566.

 この変更は受け入れられません.そもそも,GVL を持っていない状態で例外を
発生させてはいけません.

 というか,この辺は結構大きな変更なので,一言相談して下さい.

--
// SASADA Koichi at atdot dot net
=end
ko1 (Koichi Sasada)
10:57 AM Bug #2310 (Closed): should ensure GVL_UNLOCK_END in rb_thread_blocking_region
=begin
This issue was solved with changeset r25566.
_, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
09:53 AM Bug #2310 (Closed): should ensure GVL_UNLOCK_END in rb_thread_blocking_region
=begin
rb_thread_blocking_region から呼び出された関数中で例外等の大域脱出が起きると
GVL_UNLOCK_END 等の後処理が呼ばれません。
例えば、WindowsXP のような WSASendMsg がない環境では以下のようにすると固まります。

$ ruby -rsocket -ve 'begin UDPSocket.new.sendmsg "hoge";rescue Exception;p $!;end';ech...
wanabe (_ wanabe)
01:09 PM Revision d1cb4a5b (git): * lib/net/http.rb (Net::HTTPResponse#each_response_header):
accept multiline message header of HTTP response. see #1796.
cf. RFC 2616 '4.2 Message Header'.
* test/net/http/test_httpresponse.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25579 b2dd03c8-39d4-4d8f...
Hiroshi Nakamura
01:05 PM Revision bf444933 (git): * 2009-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:05 PM Revision 76af5abe (git): * lib/net/http.rb (Net::HTTPResponse#each_response_header):
accept multiline message header of HTTP response. see #1796.
cf. RFC 2616 '4.2 Message Header'.
* test/net/http/test_httpresponse.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25577 b2dd03...
Hiroshi Nakamura
12:55 PM Bug #1325: fiber tests kill windows
=begin
Thank you, Nobu. I rewrote the patch in accordance with your advise.

And finally, I found which makes disk-swapping.
File.open('large.png', 'r:ascii-8bit') in test/cgi/test_cgi_multipart.rb does.
It does realloc many tim...
wanabe (_ wanabe)
12:15 PM Bug #2311 (Closed): [BUG] cfp consistency error - send
=begin
Following r25521:

$rubydev -e '
class X
def method_missing(s); end
end
X.new.foo(:bar) rescue nil
puts "hello"
'

Generates
-e:0:in `method_missing': wrong number of arguments (2 for 1) (ArgumentError)
...
marcandre (Marc-Andre Lafortune)
10:04 AM Bug #2049 (Closed): String#upto: Possible Regression
=begin

=end
naruse (Yui NARUSE)
09:58 AM Revision 104c5f6b (git): * string.c (trnext): detect empty range and raise exception.
[ruby-dev:39108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:56 AM Bug #1901: Segfault for Enumerable#count When Aliased to #size
=begin
Hi,

At Fri, 30 Oct 2009 08:09:02 +0900,
Yukihiro Matsumoto wrote in [ruby-core:26420]:
> I fixed this by r25560, but I still consider the fix is implementation
> dependent, so that some implementation might (and can) cause ...
nobu (Nobuyoshi Nakada)
08:09 AM Bug #1901: Segfault for Enumerable#count When Aliased to #size
=begin
Hi,

In message "Re: [ruby-core:24794] [Bug #1901] Segfault for Enumerable#count When Aliased to #size"
on Thu, 6 Aug 2009 23:24:18 +0900, Run Paint Run Run <redmine@ruby-lang.org> writes:

| class E
| include Enume...
matz (Yukihiro Matsumoto)
02:17 AM Bug #1901 (Closed): Segfault for Enumerable#count When Aliased to #size
=begin
This issue was solved with changeset r25560.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
09:55 AM Bug #1760 (Assigned): Methods Expecting Paths Should Prefer #to_path Over #to_str
=begin

=end
naruse (Yui NARUSE)
09:51 AM Bug #1919 (Feedback): sparc-solaris-2.10 で 1.9.2-preview1 がビルドできない
=begin

=end
naruse (Yui NARUSE)
09:49 AM Bug #1887 (Closed): nil exception can be thrown
=begin
$! is a read-only variable now.
=end
naruse (Yui NARUSE)
09:46 AM Bug #1364 (Closed): /usr/local/lib/ruby/1.9.1/rexml/text.rb:375: [BUG] Segmentation fault
=begin

=end
naruse (Yui NARUSE)
09:45 AM Bug #1614 (Closed): startup failure with non-ascii path
=begin

=end
naruse (Yui NARUSE)
08:05 AM Revision db196eef (git): * test/ruby/test_enum.rb (test_count): marked as an implementation
specific test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:01 AM Revision 1932c590 (git): * vm_eval.c (enum call_type): get rid of last comma.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:57 AM Revision 166a53c5 (git): * vm_eval.c (vm_call0, vm_call_super, rb_f_send, rb_f_public_send):
fixed call_type. [ruby-dev:39581]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:42 AM Revision 35b88be0 (git): * vm_eval.c (rb_search_method_emtry, rb_method_call_status): split
from rb_call0().
* vm_eval.c (rb_check_funcall): get rid of raising exceptions and
hiding further exceptions. [ruby-dev:39584]
* vm_eval.c (rb_funcall_no_recursive): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25572 b...
nobu (Nobuyoshi Nakada)
07:28 AM Revision bb385e23 (git): * test/ruby/test_enum.rb (test_count): test for [ruby-core:24794].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:36 AM Revision 6116f52f (git): * thread.c (rb_thread_blocking_region): reverted r25566, and added
description that no exception is allowed inside `func', instead.
see [ruby-dev:39582]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:15 AM Revision b16e6a93 (git): * win32.c (recvmsg, sendmsg, link): shouldn't raise ruby's exceptions
in the functions expected as system API. see [ruby-dev:39579] and
[ruby-dev:39582]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:01 AM Revision 1730092f (git): * thread.c (rb_thread_blocking_region): standard C doesn't accept
preprosessing directive within macro expansion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:01 AM Revision de6d21a3 (git): * thread.c (rb_thread_blocking_region): standard C doesn't accept
preprosessing directive within macro expansion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:55 AM Revision 411b7470 (git): * thread.c (rb_thread_blocking_region): must ensure to unlock GVL.
[ruby-dev:39579]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

10/29/2009

07:47 PM Revision 22bd95de (git): * include/ruby/ruby.h (RSTRING_END): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:44 PM Revision 2aa4d69d (git): * string.c (rb_str_sub_bang): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:44 PM Revision 5e745937 (git): * string.c (rb_str_sub_bang): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:28 PM Revision 0afb3e38 (git): * test/ruby/enc/test_gb18030.rb (test_left_adjust_char_head):
String#chop no longer raises ArgumentError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:57 PM Feature #2306: split!
=begin
Hi,

In message "Re: [ruby-core:26406] [Feature #2306] split!"
on Thu, 29 Oct 2009 18:17:57 +0900, Oleg Puchinin <redmine@ruby-lang.org> writes:

|How about "split!" for "String" class ?

What exactly do you want from ...
matz (Yukihiro Matsumoto)
06:17 PM Feature #2306 (Rejected): split!
=begin
How about "split!" for "String" class ?
=end
OlegPuchinin (Oleg Puchinin)
05:16 PM Revision ec2c82ba (git): * 2009-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:16 PM Revision 7f2ef1a9 (git): * enum.c (enum_count): call #size using rb_funcall_no_recursive()
to prevent infinite recursive calls. [ruby-core:24794]
* vm_eval.c (rb_funcall_no_recursive): utility function to check
direct recursive call.
* vm_eval.c (rb_check_funcall): move from eval.c. [refactoring]
git-svn-id: svn+ssh://ci...
matz (Yukihiro Matsumoto)
11:52 AM Bug #2304 (Closed): in gem_prelude: unknown encoding name - filesystem
=begin
this is already fixed at r25555
=end
naruse (Yui NARUSE)
10:23 AM Bug #2304 (Closed): in gem_prelude: unknown encoding name - filesystem
=begin
When trying to compile Ruby, when it processes known errors, I get the following error:
ruby ./tool/generic_erb.rb -c -o known_errors.inc ./template/known_errors.inc.tmpl ./defs/known_errors.def
Error loading gem paths on loa...
duerst (Martin Dürst)
09:40 AM Revision 2f2e8455 (git): Revert set locale and filesystem encindex in Init_Encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:14 AM Revision 06346d58 (git): * encoding.c (Init_Encoding): set locale and filesystem encindex.
* ruby.c (process_options): move setting func of filesystem
encoding to Init_Encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:46 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Roman, thanks for clarifying.
=end
sunaku (Suraj Kurapati)
06:01 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Sorry for the lack of explanation, I thought that it was implicit and apparent.
After I get thread's stack_begin and stack_end I'm calling your bind stack function, of course.
=end
romanbsd (Roman Shterenzon)
12:37 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi Roman,

I did not understand your code example.
Where do you call ruby_bind_stack() ?

Without that call, I don't see how my patch
can make any difference to your program.

Thanks.
=end
sunaku (Suraj Kurapati)
06:43 AM Revision 0d9386d1 (git): * vm_core.h (rb_name_err_mesg_new): added prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:55 AM Revision 0580ba06 (git): * array.c (rb_ary_to_ary): do not use #respond_to? to detect
to_ary. Just call. [ruby-core:23738]
* eval.c (rb_check_funcall): new function with method existence
check. returns Qundef when the method does not exist.
* enumerator.c (enumerator_rewind): just call method, using
rb_check_func...
matz (Yukihiro Matsumoto)

10/28/2009

10:51 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin

=end
sunaku (Suraj Kurapati)
07:04 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
I'm embedding a Ruby 1.9.1 in my app, and it would die with segmentation fault, and I was suspicious about the stack, as it's multithreaded. I applied your patch and it looks fine so far. I'm using the following code (and assume ...
romanbsd (Roman Shterenzon)
03:02 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I am attaching two updated code examples which
test the multi-threading support of my updated
"ruby_bind_stack.patch" patch file.

One example uses UNIX System V contexts and the
other uses libpcl for embedding...
sunaku (Suraj Kurapati)
01:22 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

Nobu Nakada wrote:
> This patch does not work with multithreading at all.

Thank you for pointing out this problem. I have updated
my patch accordingly and am reattaching it to this issue.

Here is my approa...
sunaku (Suraj Kurapati)
09:36 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

At Wed, 28 Oct 2009 02:03:01 +0900,
Suraj Kurapati wrote in [ruby-core:26361]:
> I am attaching a "ruby_bind_stack.patch" patch file
> that adds a ruby_bind_stack() function to the Ruby C API.

This patch does not wo...
nobu (Nobuyoshi Nakada)
02:33 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin

=end
sunaku (Suraj Kurapati)
02:02 AM Feature #2294 (Assigned): [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I am attaching a "ruby_bind_stack.patch" patch file
that adds a ruby_bind_stack() function to the Ruby C API.

This function allows me to inform the GC about the stack
boundaries of the coroutine inside which R...
sunaku (Suraj Kurapati)
07:42 PM Revision 2bb26c11 (git): * ruby.c (process_options): call rb_filesystem_encoding().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:42 PM Revision ee15e6ee (git): * io.c (Init_IO): rb_default_rs should be US-ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:41 PM Revision bc97306e (git): * 2009-10-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:41 PM Revision 501e9360 (git): * ext/socket/extconf.rb : Compilation failure on AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yutaka Kanemoto
04:37 PM Bug #2302 (Closed): Encoding.filesystem_encoding
=begin
This issue was solved with changeset r25529.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
03:34 PM Bug #2302: Encoding.filesystem_encoding
=begin
ふーむ、確かに。
Encoding.find('filesystem') にしましょうか。
=end
naruse (Yui NARUSE)
03:23 PM Bug #2302 (Closed): Encoding.filesystem_encoding
=begin
Encoding.filesystem_encoding が追加されましたが、名前が冗長なので反対します。
Encoding.filesystem でいいのではないでしょうか。

また、Encoding.locale がいまだ存在しないことを考えると、Encoding.find('filesystem') でいいんじゃないかという気もします。
=end
usa (Usaku NAKAMURA)
04:12 PM Revision 6cf27fcf (git): merges r24726 from trunk into ruby_1_9_1.
--
* vm_eval.c (eval_string_with_cref): fix to check local_table_size.
[ruby-dev:39205] [Bug #2024]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:11 PM Revision dd73ff23 (git): merges r24719 from trunk into ruby_1_9_1.
--
* test/ruby/test_argf.rb (assert_src_expected): refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:11 PM Revision aa502dc6 (git): merges r24714 from trunk into ruby_1_9_1.
--
* parse.y (rb_enc_symname2_p): not depend on nul terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:11 PM Revision f50e791c (git): merges r24704 from trunk into ruby_1_9_1.
--
* ext/zlib/zlib.c (gzfile_read_all): use gzfile_newstr;
set and convert its encoding. [ruby-dev:38304]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:11 PM Revision 3c0e4e61 (git): merges r24684 from trunk into ruby_1_9_1.
--
* vm_method.c (rb_remove_method_id): exported.
* numeric.c (num_sadded): fix for non-ascii method name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:11 PM Revision 3750847f (git): merges r24679 from trunk into ruby_1_9_1.
--
* ext/strscan/strscan.c (strscan_set_string): set string should not be
dupped or frozen, because freezing it causes #concat method failure,
and unnecessary to dup without freezing. a patch from Aaron
Patterson at [ruby-core:251...
yugui (Yuki Sonoda)
04:11 PM Revision dbddc90b (git): merges r24659 from trunk into ruby_1_9_1.
--
* vm.c (collect_local_variables_in_env): skips internal variables.
[ruby-core:25125]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:06 PM Revision 9e049095 (git): * 2009-10-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:06 PM Revision 30cce03e (git): merges r24637 from trunk into ruby_1_9_1.
--
* st.c (st_delete_safe): deals with packed entries.
[ruby-core:25080]
* st.c (st_cleanup_safe): ditto. [ruby-core:25081]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:17 PM Bug #2178 (Closed): in gem_prelude.rb: encoding error
=begin
This issue was solved with changeset r25528.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
03:13 PM Feature #2296: Dir.home(0)でTypeErrorが出る
=begin
了解しました。UIDだけが判る状況というのは無さそうなので、このチケットは閉じてください。
=end
hasari (Hiro Asari)
02:32 PM Feature #2296: Dir.home(0)でTypeErrorが出る
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39570] [Feature #2296] Dir.home(0)でTypeErrorが出る"
on Wed, 28 Oct 2009 14:25:15 +0900, Hiro Asari <redmine@ruby-lang.org> writes:

|「FixnumをStringに変換出来ない」旨のエラーが出るのは変かなと考えたのです。他に見たような記...
matz (Yukihiro Matsumoto)
02:25 PM Feature #2296: Dir.home(0)でTypeErrorが出る
=begin
ちょっと言葉足らずだったようです。失礼しました。
「FixnumをStringに変換出来ない」旨のエラーが出るのは変かなと考えたのです。他に見たような記憶が無かったので。「有る」という指摘も勿論歓迎です。
それで、Fixnumのまま使うとしたらどんなのが有ったら便利かな、と考えました。特に必要から生じたチケットではないので、このまま不採用という事でも一向に構いません。
=end
hasari (Hiro Asari)
01:29 PM Feature #2296 (Rejected): Dir.home(0)でTypeErrorが出る
=begin

=end
matz (Yukihiro Matsumoto)
01:28 PM Feature #2296: Dir.home(0)でTypeErrorが出る
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39563] [Bug #2296] Dir.home(0)でTypeErrorが出る"
on Wed, 28 Oct 2009 09:45:04 +0900, Hiro Asari <redmine@ruby-lang.org> writes:

|現在の実装ですと
|
|$ ruby19 -v -e 'p Dir.home(0)'
|ruby 1.9...
matz (Yukihiro Matsumoto)
09:46 AM Feature #2296 (Assigned): Dir.home(0)でTypeErrorが出る
=begin
これは bug ではなく、feature request ですね
=end
naruse (Yui NARUSE)
09:45 AM Feature #2296 (Rejected): Dir.home(0)でTypeErrorが出る
=begin
現在の実装ですと

$ ruby19 -v -e 'p Dir.home(0)'
ruby 1.9.2dev (2009-10-27 trunk 25509) [x86_64-darwin10.0.0]
-e:1:in `home': can't convert Fixnum into String (TypeError)
from -e:1:in `<main>'

となっています。
中で引数についてto_sみたいなこ...
hasari (Hiro Asari)
03:07 PM Bug #2290 (Closed): File.newに与えたエンコーディングは、to_pathで保持されるでしょうか?
=begin
This issue was solved with changeset r25526.
三村, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
02:16 PM Revision b467b54e (git): merges r24628 from trunk into ruby_1_9_1.
--
* thread.c (rb_thread_schedule): don't recur infinitely.
(rb_threadptr_execute_interrupts): ditto.
[ruby-dev:38060]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:15 PM Revision 67b79d6c (git): merges r24616 from trunk into ruby_1_9_1.
--
* thread.c (rb_check_deadlock): decrease number of sleepers before
deadlock detection because the deadlock exception makes main thread
run. [ruby-dev:39142]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25541 b...
yugui (Yuki Sonoda)
02:15 PM Revision e966115c (git): merges r24594 and r24604 from trunk into ruby_1_9_1.
--
Fix: change terminal's size on Widows when the window size is changed
* ext/readline/readline.c (readline_get): add rl_prep_terminal(1).
insited by jitte [ruby-list:43546]
--
use rl_prep_terminal only on Windows. [ruby-core:25009]
...
yugui (Yuki Sonoda)
02:15 PM Revision d1154dee (git): merges r24591 from trunk into ruby_1_9_1.
--
* thread.c (rb_thread_terminate_all): do not ignore interrupt when
reaping threads on termination. [ruby-dev:39107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:15 PM Revision 8e996b79 (git): merges r24585 from trunk into ruby_1_9_1.
--
* dir.c (DEFINE_STRUCT_DIRENT): use union to allocate sufficient
memory space for Solaris. a patch from Naohisa GOTO
<ngoto at gen-info.osaka-u.ac.jp> in [ruby-dev:39132].
[ruby-dev:39062]
* configure.in (SIZEOF_STRUCT_DIRENT_...
yugui (Yuki Sonoda)
02:15 PM Revision 2f3fa385 (git): merges r24579 and r24581 from trunk into ruby_1_9_1.
--
* compile.c (NODE_RETURN): fire return event at explicit return.
[ruby-dev:38701]
--
* test/ruby/test_settracefunc.rb (test_return, test_return2): add two
tests for [ruby-dev:38701] and [ruby-core:24463].
--
* parse.y (reduce_node...
yugui (Yuki Sonoda)
02:15 PM Revision 3b6e807a (git): merges r24574 from trunk into ruby_1_9_1.
--
* vm_insnhelper.c (vm_call_cfunc): ensure hook c-return.
[Bug #1588]
* test/ruby/test_settracefunc.rb (TestSetTraceFunc#test_raise):
follow above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25536 b2dd03c8-39...
yugui (Yuki Sonoda)
02:15 PM Revision 60a8777d (git): merges r24569 from trunk into ruby_1_9_1.
--
* parse.y (lex_get_str, lex_io_gets, rb_parser_compile_string):
must be ascii compatible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:14 PM Revision 046ac45a (git): merges r24557 from trunk into ruby_1_9_1.
--
* parse.y (yylex): should dispatch scan-event even when follows
just after delayed-token. [ruby-dev:37855] [Bug #1071]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:14 PM Revision b48105fc (git): merges r24553 from trunk into ruby_1_9_1.
--
* lib/csv.rb: Change magic comment to US-ASCII in order to
make literals as US-ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:10 PM Revision 6a1718b7 (git): * 2009-10-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:10 PM Revision 192cd9cf (git): merges r24550,r24551 and r24552 from trunk into ruby_1_9_1.
--
* regparse.c (parse_char_class, parse_exp, parse_branch),
(parse_subexp): fixed memory leak. a patch from Ralf Junker
<ralfjunker AT gmx.de> at [ruby-core:24921].
--
* regparse.c: commit miss.
--
* regparse.c: commit miss again.
...
yugui (Yuki Sonoda)
01:27 PM Bug #2281 (Closed): Class#inherited Produces Misleading Error Message
=begin
This issue was solved with changeset r25521.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
01:17 PM Bug #2291 (Closed): Net::FTPでソケットをオープンする前にbinary=を呼び出すと落ちる
=begin
This issue was solved with changeset r25519.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
shugo (Shugo Maeda)
01:14 PM Bug #2291: Net::FTPでソケットをオープンする前にbinary=を呼び出すと落ちる
=begin
前田です。

2009年10月28日11:09 Shugo Maeda <shugo@ruby-lang.org>:
> (1)の方針で行くなら、FTPサーバ上のモードを表すインスタンス変数を行しく
> 導入する必要がある気がします。
>
> とりあえず、r25518のbinary=の方の修正はいったんrevertしておきます。

結局ログイン状態を表すインスタンス変数を導入して、@binaryのデフォルト値を
trueにしました。
...
shugo (Shugo Maeda)
11:14 AM Bug #2291: Net::FTPでソケットをオープンする前にbinary=を呼び出すと落ちる
=begin
前田です。

2009年10月28日11:09 Shugo Maeda <shugo@ruby-lang.org>:
> (1)の方針で行くなら、FTPサーバ上のモードを表すインスタンス変数を行しく
> 導入する必要がある気がします。

すみません、T-Codeのせいでありえないtypoをしてしまいました。
sub(/行しく/, "新しく")してください。

--
Shugo Maeda
=end
shugo (Shugo Maeda)
11:09 AM Bug #2291: Net::FTPでソケットをオープンする前にbinary=を呼び出すと落ちる
=begin
前田です。

2009年10月28日0:48 Yui NARUSE <redmine@ruby-lang.org>:
>>(1) connect前にftp.binary = trueとしたことを覚えておいて、ftp.connect時にTYPEコマンドを
>> 発行するようにする。
>
> こちらだったら以下のような感じですかね。

よく考えたらlogin後でないとTYPEコマンドを発行できないですね。
また、現状では、Net::F...
shugo (Shugo Maeda)
12:48 AM Bug #2291: Net::FTPでソケットをオープンする前にbinary=を呼び出すと落ちる
=begin
あぁ、仰るとおりです。

>(1) connect前にftp.binary = trueとしたことを覚えておいて、ftp.connect時にTYPEコマンドを
> 発行するようにする。

こちらだったら以下のような感じですかね。

diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb
index 239bd3c..351e624 100644
--- a/lib/net/ftp...
naruse (Yui NARUSE)
12:19 AM Bug #2291: Net::FTPでソケットをオープンする前にbinary=を呼び出すと落ちる
=begin
前田です。

2009年10月27日23:55 Shugo Maeda <redmine@ruby-lang.org>:
> この修正で問題ないとしたら、ちょっとAPIが変だと思うので、もうちょっと考えさせてください。

やっぱりこの修正だと、ftp.connect前にftp.binary = trueとすると、その後にloginやgetbinaryfile
などでbinary modeにセットしようとしてもTYPEコマンドが発行されなくなっ...
shugo (Shugo Maeda)
08:02 AM Revision feb34709 (git): * encoding.c (enc_find): fixed rdoc formatting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:34 AM Revision 7a884fe4 (git): * encoding.c (get_filesystem_encoding): removed.
* encoding.c (rb_locale_encindex): added.
* encoding.c (rb_filesystem_encindex): added.
* encoding.c (rb_filesystem_encindex): add an alias 'filesystem'.
[ruby-dev:39574]
* encoding.c (enc_find): add rdoc about special aliases.
* g...
naruse (Yui NARUSE)
06:11 AM Revision e2e09b81 (git): Previous commit is for [ruby-core:25959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:06 AM Revision 6790c040 (git): * gem_prelude.rb (Gem.set_home):
force_encoding(Encoding.filesystem_encoding)
[ruby-dev:39546]
* gem_prelude.rb (Gem.set_paths): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:06 AM Revision 8d9e64fb (git): * encoding.c (get_filesystem_encoding):
add Encoding.filesystem_encoding [ruby-dev:39546]
also see [ruby-core:25959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:51 AM Revision 9f5f7b87 (git): * ext/etc/etc.c (etc_each_group): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:01 AM Revision f5d9f6f7 (git): * 2009-10-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:01 AM Revision ea1b7a95 (git): * time.c: rdoc fix for <=>
* array.c: ditto
* bignum.c: ditto
* compar.c: ditto
* file.c: ditto
* numeric.c: ditto
* string.c: rdoc fix for <=> and casecmp
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:50 AM Revision 705c5671 (git): * string.c: rdoc for <=>, casecmp
* bignum.c: rdoc for <=>
* file.c: ditto
* time.c: ditto
* compar.c: rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:20 AM Revision 2e868a34 (git): * vm_insnhelper.c (vm_setup_method): should push call frame before
raising exception, to put the Ruby-defined method name in the
error message. [ruby-core:26333]
* vm_insnhelper.c (VM_CALLEE_SETUP_ARG): macro modified.
* vm_insnhelper.c (vm_yield_setup_args): modified for new
VM_CALLEE_SETUP_ARG ...
matz (Yukihiro Matsumoto)
04:09 AM Revision db115a54 (git): * 2009-10-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:09 AM Revision 91c84cda (git): * lib/net/ftp.rb (Net::FTP#initialize): sets @binary to true.
* lib/net/ftp.rb (Net::FTP#binary=): sends a TYPE command only when
logged in. [ruby-dev:39548]
* lib/net/ftp.rb (Net::FTP#send_type_command): new private method
which sends an appropriate TYPE command according to the value of
@bi...
shugo (Shugo Maeda)
03:13 AM Bug #1837 (Closed): Test failure (test_block.rb) in Ruby 1.9.2 preview1 on FreeBSD 6.0
=begin
直ったと見なします
=end
naruse (Yui NARUSE)
03:11 AM Bug #2008 (Closed): test_io.rb: test 2 fails on FreeBSD
=begin
this seems resolved.
=end
naruse (Yui NARUSE)
03:10 AM Bug #1066 (Feedback): Frequent failure: test_io.rb test 2 on OS X 10.5.6
=begin
Mike, this problem still reproduce?
=end
naruse (Yui NARUSE)
02:45 AM Feature #2032 (Assigned): Change the license to "GPLv2+ or Ruby's original".
=begin

=end
naruse (Yui NARUSE)
02:40 AM Bug #1972 (Assigned): Changing ENV['TZ'] of a running process should change behavior of Time
=begin

=end
naruse (Yui NARUSE)
02:28 AM Feature #2022: Patch for openssl-1.0
=begin

=end
naruse (Yui NARUSE)
02:07 AM Feature #2126: ruby_init_stack() - add ability to specify or query max_stack_size
=begin
Hi,

I created a new issue #2294 to summarize
this feature request and the results of
my experiments for solving issue #2126.

Please close this feature request and
refer to the new #2294 issue instead.

Thanks....
sunaku (Suraj Kurapati)

10/27/2009

11:55 PM Bug #2291 (Assigned): Net::FTPでソケットをオープンする前にbinary=を呼び出すと落ちる
=begin
この修正で問題ないとしたら、ちょっとAPIが変だと思うので、もうちょっと考えさせてください。
# 一応commit前に自分に確認してもらえるとうれしいです。
=end
shugo (Shugo Maeda)
10:57 PM Bug #2291 (Closed): Net::FTPでソケットをオープンする前にbinary=を呼び出すと落ちる
=begin
This issue was solved with changeset r25518.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
09:36 PM Bug #2291 (Assigned): Net::FTPでソケットをオープンする前にbinary=を呼び出すと落ちる
=begin
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb
index 52bd375..239bd3c 100644
--- a/lib/net/ftp.rb
+++ b/lib/net/ftp.rb
@@ -132,6 +132,7 @@ module Net
@passive = false
@debug_mode = false
@resume =...
naruse (Yui NARUSE)
09:23 PM Bug #2291 (Closed): Net::FTPでソケットをオープンする前にbinary=を呼び出すと落ちる
=begin
% cat ftp_binary.rb
require 'net/ftp'
f = Net::FTP.new
f.binary = true

% ruby ftp_binary.rb
/Users/matsuda/ruby_trunk/lib/ruby/1.9.1/net/ftp.rb:224:in `putline': undefined method `write' for nil:NilClass (NoMethodErr...
matsuda (Akira Matsuda)
10:53 PM Bug #2184 (Assigned): Blocks strange behavior
=begin

=end
naruse (Yui NARUSE)
10:27 PM Feature #2293 (Closed): StringIOにread_nonblcokが欲しいです
=begin
This issue was solved with changeset r25517.
三村, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
10:24 PM Feature #2293: StringIOにread_nonblcokが欲しいです
=begin
StringIOがIOのエミュレートということならば、
APIの互換性として欲しいと思いました。
=end
takkanm (三村 益隆)
10:11 PM Feature #2293: StringIOにread_nonblcokが欲しいです
=begin
この要望って、APIの互換性という意味でですか?
つまり、read_nonblockはreadpartial の alias でいいんですかね。
=end
naruse (Yui NARUSE)
10:04 PM Feature #2293 (Closed): StringIOにread_nonblcokが欲しいです
=begin
ミムラ aka takkanmです。

RubySpec実施中に気付いたのですが、
1.9系のStringIOにreadpartialは追加されていますが、
read_nonblockが無いです。
read_nonblockは追加されることはないのでしょうか?
=end
takkanm (三村 益隆)
10:24 PM Bug #2016: Windows (win32.c) command line argument parsing bug
=begin
In JRuby world, we don't do that additional special handling of arguments on Windows, and people keep asking about non-working single-quotes and it *is* confusing, when jruby -e "puts 5" works, but jruby -e 'puts 5 ' doesn't work...
vvs (Vladimir Sizikov)
06:21 PM Bug #2016: Windows (win32.c) command line argument parsing bug
=begin
Why it should be problem when these characters will be properly escaped if needed?
=end
vo.x (Vit Ondruch)
09:46 AM Bug #2016: Windows (win32.c) command line argument parsing bug
=begin
With "the standard way", we cannot handle single quote and special wildcard characters such as ``**'', ``[]'' and ``{}''.
Hey everyone, do you want to move to "the standard way" ?
=end
usa (Usaku NAKAMURA)
09:40 PM Bug #2279: When embedding Ruby 1.9.1 it's impossible to disable GC
=begin
Hi,

In message "Re: [ruby-core:26356] [Bug #2279] When embedding Ruby 1.9.1 it's impossible to disable GC"
on Tue, 27 Oct 2009 16:09:49 +0900, Roman Shterenzon <redmine@ruby-lang.org> writes:

|r21463 (originally r21441...
matz (Yukihiro Matsumoto)
04:09 PM Bug #2279: When embedding Ruby 1.9.1 it's impossible to disable GC
=begin
r21463 (originally r21441) still bothers me, as a GC which is triggered in C code of the embedding application (say rb_ary_new) will cause the application to exit with fatal error, as it's not ruby_native_thread_p(). Should I ope...
romanbsd (Roman Shterenzon)
08:07 AM Bug #2279 (Closed): When embedding Ruby 1.9.1 it's impossible to disable GC
=begin
This issue was solved with changeset r25498.
Roman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
02:17 AM Bug #2279 (Closed): When embedding Ruby 1.9.1 it's impossible to disable GC
=begin
The function vm_xmalloc() will call garbage_collect_with_gvl() even if dont_gc is set by rb_gc_disable().
This is ok (though wastes some CPU cycles) when the code is running in native Ruby interpreter, as later the garbage_coll...
romanbsd (Roman Shterenzon)
09:07 PM Bug #2290: File.newに与えたエンコーディングは、to_pathで保持されるでしょうか?
=begin
ファイルシステムエンコーディング (C API で言う rb_filesystem_encoding()) になります。

ちなみに、ファイルシステムエンコーディングを得る Ruby API は現在存在しません。
存在しないのは今まで要望がなかったからです。
=end
naruse (Yui NARUSE)
08:47 PM Bug #2290 (Closed): File.newに与えたエンコーディングは、to_pathで保持されるでしょうか?
=begin
ミムラ aka takkanm です。
asakusa.rbでrubyspecを実施中で気になったものがあります。
core/file/to_path_spec.rb
28 it "preserves the encoding of the path" do
29 path = File.new(__FILE__.encode('euc-jp')).to_path
30 path.encodin...
takkanm (三村 益隆)
01:50 PM Revision 249569fd (git): * lib/net/ftp.rb (Net::FTP#initialize): @sock = nil.
* lib/net/ftp.rb (Net::FTP#binary=): send command only when
socket is open. [ruby-dev:39548]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:22 PM Revision 8252adfd (git): * ext/stringio/stringio.c (Init_stringio): added read_nonblock and
write_nonblock aliases. [ruby-dev:39551]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:14 PM Revision 0d76affd (git): * ext/stringio/stringio.c (strio_data_type): typed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:05 PM Revision 20a2b656 (git): * string.c (rb_str_inspect): get rid of adding garbage to short
UTF-8 string. [ruby-dev:39550]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:22 PM Revision f582b224 (git): * ext/tk/lib/tk/variable.rb: add TkVariable#+@ and -@ method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
12:22 PM Revision aacc3364 (git): * ext/tk/lib/tk/variable.rb: add TkVariable#+@ and -@ method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
11:14 AM Bug #2278: (windows) RbConfig sitearchdir differs from $: path
=begin

From: "Nobuyoshi Nakada" <redmine@ruby-lang.org>
>
> Issue #2278 has been updated by Nobuyoshi Nakada.
>
> Status changed from Open to Closed
> % Done changed from 0 to 100
>
> This issue was solved with changeset r254...
spatulasnout (B Kelly)
03:47 AM Bug #2278 (Closed): (windows) RbConfig sitearchdir differs from $: path
=begin
This issue was solved with changeset r25492.
B, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
09:59 AM Bug #2253 (Assigned): should Class.new(Class) raise TypeError?
=begin

=end
naruse (Yui NARUSE)
09:34 AM Bug #1357 (Closed): Fixing variables into specific CPU registers deemed overrated & may disturb compilers' optimizers
=begin
r25504 fixes this.
=end
naruse (Yui NARUSE)
07:36 AM Revision 121d15dd (git): * string.c (chopped_length): get rid of unexpected exception.
see [ruby-core:26336].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 AM Revision ed58a66f (git): * gc.h (SET_MACHINE_STACK_END): use __i386.
Some compiler may not define __i386__.
Solaris 64-bit Developer's Guide:
http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:47 AM Revision 613a324f (git): * lib/net/ftp.rb (getbinaryfile, list): call to_s to convert
a Pathname instance into a string. [ruby-core:26237]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
04:36 AM Bug #1901: Segfault for Enumerable#count When Aliased to #size
=begin
This still occurs on trunk. May I suggest it block 1.9.2? (The, rather impressive, stack trace is attached).
=end
runpaint (Run Paint Run Run)
04:21 AM Bug #2281 (Closed): Class#inherited Produces Misleading Error Message
=begin
$ cat -n /tmp/inherited.rb
1 def Object.inherited
2 end
3
4 class C
5 end
$ ruby -vw /tmp/inherited.rb
ruby 1.9.2dev (2009-10-25 trunk 25456) [i686-linux]
/tmp/inherited.rb:4:in `...
runpaint (Run Paint Run Run)
03:56 AM Revision 718a78b7 (git): add commit log of r25499
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:30 AM Revision 206a9281 (git): * gc.h (SET_MACHINE_STACK_END): use __i386__ instead of __i386,
and explicit size qualifiers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:02 AM Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
=begin

=end
sunaku (Suraj Kurapati)
03:00 AM Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
=begin
Hi,

Nobu Nakada wrote:
> Ko1 is going to improve Fiber with ucontext. Wait for it.

This is good news. But I am confused. Earlier I tried to
implement Ruby as a C coroutine using fibers and ran into a
limitation...
sunaku (Suraj Kurapati)
01:29 AM Revision be6ff254 (git): * gc.c (SET_MACHINE_STACK_END): add x86_64 version by nobu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:23 AM Feature #1697: Object#<=>
=begin
Given your comment, and Eero rightly pointing out that it's better to use eql? than == for this case,

diff --git a/object.c b/object.c
index 9f7537f..8f20621 100644
--- a/object.c
+++ b/object.c
@@ -1123,7 +1123,7 @...
marcandre (Marc-Andre Lafortune)
01:09 AM Revision 130a8ebd (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:08 AM Revision 70b881b5 (git): * ChangeLog: typo. this commit fixed [ruby-core:26166]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:29 AM Revision 404ed4f8 (git): * vm_exec.c (DECL_SC_REG): use __clang__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

10/26/2009

11:56 PM Revision fb579435 (git): * mkconfig.rb: reverted r25443 because build_os is used in mkmf.rb
on some platforms. [ruby-core:26332]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:56 PM Revision 60903081 (git): * mkconfig.rb: reverted r25443 because build_os is used in mkmf.rb
on some platforms. [ruby-core:26332]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:29 PM Bug #2278 (Closed): (windows) RbConfig sitearchdir differs from $: path
=begin
Hi,

It seems in ruby 1.9.2dev, on windows, 'sitearch' may differ between
RbConfig vs. ruby_initial_load_paths[].

In RbConfig, 'sitearch' is i386-msvcr71:

arch => i386-mswin32_71
sitearch => i386-msvcr71
ruby_...
spatulasnout (B Kelly)
11:21 PM Revision 226c12d4 (git): * ext/tk/tcltklib.c: mistake on operation. sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
11:21 PM Revision db68a429 (git): * ext/tk/tcltklib.c: mistake on operation. sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
11:12 PM Revision 3c981342 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:11 PM Revision ab77f00b (git): * parse.y (ripper_filename): add Ripper#filename. [ruby-dev:37856] * test/ripper/test_filter.rb: add more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:06 PM Revision 33c5abbe (git): * gc.c (garbage_collect_with_gvl): do not garbage_collect when
dont_gc flag turned on. [ruby-core:26327]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:49 PM Feature #1697: Object#<=>
=begin
Excerpts from Yukihiro Matsumoto's message of Mon Oct 26 15:24:12 +0200 2009:
> Hi,
>
> In message "Re: [ruby-core:26318] [Feature #1697](Open) Object#<=>"
> on Mon, 26 Oct 2009 21:14:08 +0900, Marc-Andre Lafortune <redm...
rue (Eero Saynatkari)
10:24 PM Feature #1697: Object#<=>
=begin
Hi,

In message "Re: [ruby-core:26318] [Feature #1697](Open) Object#<=>"
on Mon, 26 Oct 2009 21:14:08 +0900, Marc-Andre Lafortune <redmine@ruby-lang.org> writes:

|In rb_obj_cmp, the rb_obj_equal is redundant. Did you me...
matz (Yukihiro Matsumoto)
09:14 PM Feature #1697 (Open): Object#<=>
=begin
Hi Matz,

In rb_obj_cmp, the rb_obj_equal is redundant. Did you mean the following?

diff --git a/object.c b/object.c
index 9f7537f..8f20621 100644
--- a/object.c
+++ b/object.c
@@ -1123,7 +1123,7 @@ rb_obj_not_ma...
marcandre (Marc-Andre Lafortune)
10:40 PM Revision 435f18f5 (git): * ext/tk/tcltklib.c,stubs.c: remove errors or warnings when compiled
with old ruby 1.8.x.
* ext/tk/tkutil/tkutil.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
10:40 PM Revision bb2cfd06 (git): * 2009-10-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:40 PM Revision a12849c3 (git): * ext/tk/tcltklib.c,stubs.c: remove errors or warnings when compiled
with old ruby 1.8.x.
* ext/tk/tkutil/tkutil.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
09:55 PM Bug #2016: Windows (win32.c) command line argument parsing bug
=begin
Since Ruby 1.9.2 should support wide characters arguments, I would suggest to replace call of GetCommandLine by GetCommandLineW. Then, it is possible to use CommandLineToArgvW API function, which should parse the command line by ...
vo.x (Vit Ondruch)
09:30 PM Feature #2255: unicode parameters cannot be passed to ruby
Ouch, sorry, this is patch for something bit different. Please forget about it (delete it if possible).
Thank you
vo.x (Vit Ondruch)
05:02 PM Feature #2255: unicode parameters cannot be passed to ruby
Attached patch should fix this issue.
vo.x (Vit Ondruch)
04:06 PM Feature #2255: unicode parameters cannot be passed to ruby
I tried ruby 1.9.2dev (2009-10-15) [i386-mswin32_90] from win32-unicode-test branch.
vo.x (Vit Ondruch)
08:58 PM Revision 1fe610b5 (git): * vm.c (invoke_block_from_c): return Qnil when its iseq is
SPECIAL CONST. [ruby-core:26335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:51 PM Bug #2047 (Closed): Time#<=> Raises NoMethodError on Incomparable Argument
=begin

=end
marcandre (Marc-Andre Lafortune)
08:14 PM Revision 2215293a (git): * vm_exec.c (DECL_SC_REG): check defined(__asm__) before use it.
LLVM/clang defines __GNUC__ but doesn't have __asm__..
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:03 PM Bug #2276 (Closed): Array#<=> should not raise when comparison fails
=begin
Since the addition of Object#<=>, the only comparison that raised an error was Array#<=>(not_an_array).

Array#<=>(obj) now returns nil if obj is not array-like.

Maybe this should also be applied in the 1.8 line?

No...
marcandre (Marc-Andre Lafortune)
06:45 PM Revision c21350f9 (git): * win32/Makefile.sub (config.h): added RUBY_SITEARCH to use
different name from RUBY_ARCH. [ruby-core:26324]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:40 PM Bug #2212: Using a Lambda with Inappropriate Arity for Hash#default_proc=
=begin
Hi,

In message "Re: [ruby-core:26281] [Bug #2212] Using a Lambda with Inappropriate Arity for Hash#default_proc="
on Sun, 25 Oct 2009 04:51:30 +0900, Run Paint Run Run <redmine@ruby-lang.org> writes:

|Thank you. Could ...
matz (Yukihiro Matsumoto)
12:43 PM Bug #2263: typo in man/ruby.1
=begin
遠藤です。

2009年10月26日7:57 Hideo Konami <konami@kyoto-wu.ac.jp>:
>>In message "Re: [ruby-dev:39539] Re: [Bug #2263] typo in man/ruby.1"
>> on Sun, 25 Oct 2009 11:15:17 +0900, Yusuke ENDOH <mame@tsg.ne.jp> writes:
>>
>>|man は...
mame (Yusuke Endoh)
05:12 AM Bug #2263: typo in man/ruby.1
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39539] Re: [Bug #2263] typo in man/ruby.1"
on Sun, 25 Oct 2009 11:15:17 +0900, Yusuke ENDOH <mame@tsg.ne.jp> writes:

|man はともかく -help の -W[level] の説明が 80 文字に収まってないのですが、
|もう諦めたんでしょ...
matz (Yukihiro Matsumoto)
11:06 AM Revision 8d446fe1 (git): * array.c (rb_ary_cmp): Array#<=> returns nil when comparison fails
[ruby-core:26316]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
10:32 AM Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
=begin
Hi,

At Fri, 23 Oct 2009 08:37:40 +0900,
Suraj Kurapati wrote in [ruby-core:26244]:
> I get the following error when I call Kernel#require()
> inside a Ruby script that is being run by rb_require(),
> which itself is runnin...
nobu (Nobuyoshi Nakada)
03:49 AM Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
=begin

=end
sunaku (Suraj Kurapati)
03:31 AM Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
=begin
Hi,

I am attaching a new "ruby_bind_stack.patch" file which
fixes a bug in my previous patch, adds a Changelog entry,
and renames the variables to better reflect their function.

Thanks for your consideration.
=end
sunaku (Suraj Kurapati)
10:30 AM Revision 327d58f7 (git): * hash.c (default_proc_arity_check): new support function.
* hash.c (rb_hash_initialize): should do arity check as #default_proc=.
[ruby-core:26281]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
06:44 AM Revision 66f5c5eb (git): * man/*.1: suppressed warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:26 AM Revision dc28ce1b (git): * ext/tk/lib/remote-tk.rb: typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
04:26 AM Revision 95945dbe (git): * ext/tk/lib/remote-tk.rb: typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
03:41 AM Revision 1996a4af (git): * ruby.c (usage): -T and -W descriptions updated. see
[ruby-dev:39539]
* man/ruby.1: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:06 AM Revision ce4e9dff (git): * io.c (io_fwrite): adjust stdio file position after direct write on
BSDish platforms. [ruby-core:26300]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:06 AM Revision 9350a574 (git): * io.c (io_fwrite): adjust stdio file position after direct write on
BSDish platforms. [ruby-core:26300]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom