Project

General

Profile

Activity

From 09/25/2009 to 10/01/2009

10/01/2009

11:18 PM Feature #2169 (Closed): [PATCH] Improvements of Ripper's DummyParser
=begin
In order to properly test #1939, this patch makes the following changes:

* Removal scanner events which simply returned the first argument. These are already generated by Ripper.
* Many of the untested parser events had wr...
judofyr (Magnus Holm)
05:19 AM Revision 4e389756 (git): * win32/{setup.mak,Makefile.sub,win32.c},include/ruby/win32.h (RT_VER):
split compiler specification and runtime library specification.
* win32/Makefile.sub (LD_SHARED*, config.status): no need to embbed
manifest if not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25173 b2dd03c8-39d4-4d8f-9...
U.Nakamura
04:24 AM Revision ceca5abc (git): * 2009-10-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:23 AM Revision a93b36b3 (git): * win32/win32.c (rb_w32_getpid): simply call GetCurrentProcessId()
instead of calling MSVCRT's getpid().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:34 AM Feature #1999 (Closed): Improved Tempfile
=begin
Close this ticket and newly open #2166 for adding CreationError.
=end
naruse (Yui NARUSE)
12:33 AM Feature #2166 (Rejected): Add CreationError
=begin
> Here is a patch which implements the CreationError exception class,
> as documented in the Tempfile API documentation. However,
> I could not write a unit test for it because there seems
> to be no mocking/stubbing framew...
naruse (Yui NARUSE)

09/30/2009

01:17 PM Feature #2155 (Closed): improvement of method redefinition warning
=begin
Applied in changeset r25169.
=end
nobu (Nobuyoshi Nakada)
08:03 AM Feature #2155: improvement of method redefinition warning
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39400] [Feature:1.9] improvement of method redefinition warning"
on Tue, 29 Sep 2009 16:05:34 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|メソッド再定義で警告を出すときに、上書きされるほうの定義の場所も...
matz (Yukihiro Matsumoto)
08:32 AM Revision 9b192302 (git): * time.c (rb_time_succ): make Time#succ obsolete since time is not
a discrete value.
* range.c (discrete_object_p): treat time objects specially to
determine discrete values, since time objects have #succ yet are
discrete (for now at least).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25170 ...
matz (Yukihiro Matsumoto)
04:19 AM Feature #1961: Kernel#__dir__
=begin
On Mon, Sep 28, 2009 at 11:54 AM, xiong ai <redmine@ruby-lang.org> wrote:
> Issue #1961 has been updated by xiong ai.
>
>
> (1) add a toplevel constant __DIR__
> +1
> when you type "__DIR__",you type "shift __DIR__".
> whe...
manveru (Michael Fellinger)
04:15 AM Revision a71d47a3 (git): * vm_method.c (rb_add_method_def): show the location where
overwritten method was defined. [ruby-dev:39400]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:23 AM Bug #1311: YAML::dump creates strings YAML::load cannot parse
=begin
I have also been bitten by this same bug. In addition to the cases described above, this problem also occurs when the input contains just a single newline (in either unix or dos style). The patch supplied by Dave B fixes the case...
coatl (caleb clausen)
01:08 AM Revision 331fdbe8 (git): * re.c (last_match): add "thread and method" to the scope.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

09/29/2009

11:37 PM Feature #2022: Patch for openssl-1.0
=begin
Though patch applies well for compilation, it results in some random segfaults with openssl-1.0beta3, from test/openssl/test_ssl.rb, when SSLContext is garbage collected before referencing SSLSocket - in all ruby versions - 1.8.6...
nlugovoi (Nikolai Lugovoi)
08:12 PM Bug #2153 (Closed): Built issue with include/ruby/st.h (expected declaration ... before ‘uint32_t’)
=begin
I added include inttypes.h and stdint.h to st.h in r25138.
=end
naruse (Yui NARUSE)
04:46 PM Bug #2153: Built issue with include/ruby/st.h (expected declaration ... before ‘uint32_t’)
=begin
This is the error that I got in cygwin before revision 25132:

gcc -O3 -fomit-frame-pointer -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -I. -I.ext/include/i386-cygwin -I./include -I. -DRUBY...
duerst (Martin Dürst)
01:45 AM Bug #2153: Built issue with include/ruby/st.h (expected declaration ... before ‘uint32_t’)
=begin
On Mon, Sep 28, 2009 at 5:24 PM, Daniel Bovensiepen
<redmine@ruby-lang.org> wrote:
> The following happens during compiling:
>
>  gcc -I. -I../../.ext/include/x86_64-darwin10.0.0 -I../.././include -I../.././ext/syck -DRUBY_EX...
nlugovoi (Nikolai Lugovoi)
04:39 PM Revision 0aa57729 (git): * 2009-09-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:39 PM Revision c8f61224 (git): * re.c (last_match): Added note to the doc that last_match is local to current scope [ruby-core:25833]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:38 PM Revision b59109a8 (git): * re.c (last_match): Added note to the doc that last_match is local to current scope [ruby-core:25833]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:05 PM Feature #2155 (Closed): improvement of method redefinition warning
=begin
なかだです。

メソッド再定義で警告を出すときに、上書きされるほうの定義の場所も
出してはどうでしょうか。


Index: proc.c
===================================================================
--- proc.c (revision 25152)
+++ proc.c (working copy)
@@ -649,6 +649,8 @@ rb_pro...
nobu (Nobuyoshi Nakada)
03:37 PM Revision 40e50764 (git): * enumerator.c (enumerator_block_call): extracted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:02 PM Revision 5b2d54be (git): Escape as \x{XXXX} other than Unicode chars.
* string.c (rb_str_inspect): escape as \x{XXXX} when the encoding is
other than Unicode. [ruby-dev:39388]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:00 PM Revision e8f007e6 (git): * configure.in (THREAD_MODEL): modified message when no thread
model is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:17 PM Revision 46313c96 (git): * io.c (rb_scan_open_args): rb_utf8mac_encoding is undefined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:45 PM Revision 6ab0a791 (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:25 PM Revision 18a07e9d (git): * include/ruby/intern.h (rb_struct_iv_get): deprecated because it is
not used and access internal structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:22 PM Revision 0eddab84 (git): * lib/test/unit/assertions.rb (assert_equal): use Time#subsec if nsec
is not enough to distinguish arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:31 PM Revision ad8978fd (git): * io.c (rb_scan_open_args): add UTF8-MAC to no-convertion encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:21 PM Revision 42f0ea8c (git): * configure.in (--enable-pthread): deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:13 PM Revision 54bf027c (git): * add a reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
12:11 PM Revision c979cbfc (git): * lib/pp.rb (Kernel#pp): returns its arguments, like Kernel#p.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:02 AM Revision dc087bf8 (git): * ext/json/lib/json/common.rb (recurse_proc): removed needless
module_function, since visibility is already module_function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:03 AM Revision aed92189 (git): * test/ruby/test_class.rb (test_method_redefinition): commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:59 AM Revision 811c2d51 (git): * test/ruby/test_{class,module}.rb (test_method_redefinition): include
warned line number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:26 AM Revision e6fb96e6 (git): * test/ruby/test_{class,module}.rb (test_method_redefinition): refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:47 AM Revision f5654b4d (git): * test/ruby/test_module.rb: suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:49 AM Revision 16969412 (git): * vm_method.c (rb_method_definition_eq): non-null definition is
not equal to null definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:37 AM Revision 1fe57a4b (git): * vm_method.c (rb_add_method_def): nothing to do if old method had
same definition. [ruby-dev:39397]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:33 AM Revision 5e4d04c3 (git): * vm_method.c (rb_method_entry_eq): fixed a message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:27 AM Bug #2154 (Closed): filesystem encoding of UNIX
=begin
Applied in changeset r25140.
=end
naruse (Yui NARUSE)
03:53 AM Revision 00be97da (git): * test/ruby/test_class.rb (test_module_function): tests for warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:19 AM Revision b3854e71 (git): Refine tests arround String#inspect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:34 AM Revision 3058eec5 (git): * string.c (rb_str_inspect): dump as \uXXXX when the
string is in Unicode. [ruby-dev:39388]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:34 AM Revision f7554133 (git): * encoding.c (rb_enc_unicode_p): defined.
Returns 1 when the encoding is Unicode series
other than UTF-7 else 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

09/28/2009

11:43 PM Bug #2154 (Rejected): filesystem encoding of UNIX
=begin
「Ruby M17N の設計と実装」によると(*1)、UNIXにおけるfilesystem
encodingはlocaleであると書かれているのですが、実際には現在の
実装はdefault externalになっています。
実装の方が間違ってる気がするのですが、どうでしょうか?

*1 http://jp.rubyist.net/magazine/?0025-Ruby19_m17n#l23
=end
usa (Usaku NAKAMURA)
11:27 PM Revision 5d6696c9 (git): * lib/gauntlet_rubygems.rb: out of place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:23 PM Bug #2153 (Closed): Built issue with include/ruby/st.h (expected declaration ... before ‘uint32_t’)
=begin
With Revision 25132 there was a slightly change in include/ruby/st.h:

@@ -109,7 +109,7 @@
int st_strncasecmp(const char *s1, const char *s2, size_t n);
size_t st_memsize(const st_table *);
st_index_t st_hash...
DanielBovensiepen (Daniel Bovensiepen)
09:21 PM Bug #1679: rb_w32_getenv() invalidates previous environment pointers
=begin
ISO C and POSIX say that the returned string may be overwritten by a subsequent call of getenv().
So, the behavior of rb_w32_getenv() is collect and the wrong point is rb_init_loadpath().
=end
usa (Usaku NAKAMURA)
08:59 PM Bug #1679: rb_w32_getenv() invalidates previous environment pointers
=begin
It does not know about SetEnvironmentVariable() in ruby_setenv() / hash.c.
GetEnvironmentVariable() needs some memory management.
The following leaky version passes the test.

char *
rb_w32_getenv(const char *name)
{
...
jeremi_tu (Jarek Jurasz)
07:24 PM Revision 5f5706c3 (git): * encoding.c (rb_filesystem_encoding): On Unix systems,
filesystem encoding should be locale encoding.
[ruby-dev:39393] and see also [ruby-dev:35617]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:24 PM Revision e0af046a (git): * hash.c (rb_f_getenv): use rb_filesystem_str_new_cstr
instead of rb_str_new2.
ENV['PATH'].encoding should be Filesystem Encoding
because its content is related to filesystem.
see [ruby-dev:39393]
* hash.c (env_fetch): ditto.
* string.c (rb_filesystem_str_new): defined.
* string.c (...
naruse (Yui NARUSE)
07:24 PM Revision ff504d3c (git): * include/ruby/st.h: include inttypes.h and stdint.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:54 PM Feature #1961: Kernel#__dir__
=begin
(1) add a toplevel constant __DIR__
+1
when you type "__DIR__",you type "shift __DIR__".
when you type "__dir__",you type "shift __[release shift] dir shift __"
so,I prefer __DIR__ than __dir__
thanks
=end
axgle (xiong ai)
06:45 PM Feature #2152 (Closed): Split functionality of Float#inspect and Float#to_s
=begin
Reposting here as a feature request.

As a side note, I think I figured out why the confusion occured in posting the original--if one navigates to "feature requests" then click "new issue" it defaults to a Bug report, even t...
rogerdpack (Roger Pack)
06:40 PM Feature #1081: add File::write() convenience method
=begin
File::write(path, string, mode='wb', opt={})
+1
=end
axgle (xiong ai)
03:07 PM Revision 9ebc378e (git): * hash.c (rb_f_getenv, env_fetch): env string may be overwritten.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:31 PM Revision 4097c096 (git): * dln.c (load_lib, dln_find_exe_r): env string may be overwritten.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:46 PM Revision fc831f63 (git): * dln.c (dln_{exit,loaderror,memerror,notimplement}): renamed as
independent names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 PM Revision b957eb25 (git): * dln.c (aix_loaderror): needs format string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:37 AM Revision 51cefa38 (git): * win32/wini32.c (LK_ERR): with overlapped I/O, LockFileEx() returns
ERROR_IO_PENDING if the file is locked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:26 AM Feature #1905: How about IPAddr#<=> to take care of mask_addr?
=begin
At Sun, 27 Sep 2009 12:00:48 +0900,
Akinori MUSHA wrote:
>
>  これは受け入れられません。IPAddrはネットマスクも保持するため
> ネットワークも表現できますが、第一義はIPアドレスなので、ネット
> マスクの違いで等しくなくなるのはまずいです。

ネットマスクで思い出したのですが、

IPAddr.new("192.168.0.1/24") #=> #<IPAddr:...
znz (Kazuhiro NISHIYAMA)
10:08 AM Revision 9d7e4711 (git): include/ruby/st.h: aligned prototype of st_hash_uint32 with function
definition (fixing compiling problem on cygwin)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
05:54 AM Revision 78070bd2 (git): * ChangeLog: fixed wrong translation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:49 AM Feature #2149 (Feedback): Pathname#include?
pre-cleaning the paths of both side of this call and seeing if the RHS exists in the LHS would be a very useful feature for Pathname users; especially those who are trying to evaluate whether or not a path (after cleanup) is a child of ... erikh (Erik Hollensbe)
03:15 AM Revision bb3addfe (git): missing changelog entries added for r25128.
* method.h (enum): new method type VM_METHOD_TYPE_MISSING.
* vm_eval.c (vm_call0): invoking VM_METHOD_TYPE_MISSING method
objects.
* vm_insnhelper.c (vm_call_method): invoking method defined from
VM_METHOD_TYPE_MISSING.
* proc.c (...
matz (Yukihiro Matsumoto)
03:09 AM Revision 102918a3 (git): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:40 AM Revision 438b28d3 (git): * parse.y (parser_tokadd_string): the byte after ``\'' may be a part of
multibyte character, so pushback it. [ruby-list:46416]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:27 AM Bug #2064 (Closed): Missing exports
=begin
Applied in changeset r25124.
=end
kanemoto (Yutaka Kanemoto)
01:08 AM Revision b0765076 (git): * stringio/stringio.c (strio_read): set ASCII-8BIT encoding
when length argument is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

09/27/2009

04:32 PM Revision ea229a85 (git): * Makefile.in (miniruby): suppress duplication warning on AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yutaka Kanemoto
04:26 PM Revision 16286278 (git): * 2009-09-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision 10806f14 (git): * common.mk (ruby.imp): add text section [Bug #2064].
* common.mk (ruby.imp): do not export Init_*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Yutaka Kanemoto
02:44 PM Revision 9278fab6 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:47 AM Bug #2075 (Closed): ext/json/ext/generator/generator.c のドキュメントへの小さなパッチ
=begin
Applied in changeset r25114.
=end
naruse (Yui NARUSE)
05:37 AM Feature #2102 (Closed): String#inspect as default_internal encoding
=begin
r25113で反映しました。
=end
naruse (Yui NARUSE)
04:08 AM Revision 4319c023 (git): * lib/pp.rb (PP:ObjectMixin#pretty_print): delegates has no inspect
method. [ruby-core:25804]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:12 AM Bug #2144 (Rejected): Split functionality of Float#inspect and Float#to_s
=begin
Hi

1) I believe the current trunk always return what I think you the "pretty float" style.

0.1.to_s # ==> "0.1"

Note that 0.1 is not stored (on most platforms) as exactly 0.1 because it can't be expressed as fixnu...
marcandre (Marc-Andre Lafortune)
03:01 AM Revision 37c552e5 (git): * string.c (str_buf_cat2): optimize since all second arguments are
constant literals.
* string.c (str_cat_char): unused now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:58 AM Revision fd58dba9 (git): * string.c (rb_hash_{uint{32,},end}): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:58 AM Revision 59358185 (git): * configure.in (optflags): add -fomit-frame-pointer by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:28 AM Revision 50bbca9d (git): * enum.c (enum_minmax): use struct for memo.
(enum_minmax_by): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:58 AM Revision 0ff9cf36 (git): fix rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:21 AM Revision 810775bb (git): * configure.in (warnflags): check all flags if each are available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:17 AM Revision 6bf6f3d4 (git): * vm_method.c (rb_method_entry_eq): suppressed a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:07 AM Bug #1898 (Closed): Method#== for Methods with the Same Body
=begin
Applied in changeset r25107.
=end
matz (Yukihiro Matsumoto)

09/26/2009

11:52 PM Bug #2144 (Rejected): Split functionality of Float#inspect and Float#to_s
=begin
Currently the Float#to_s and Float#inspect return an "accurate" representation of the internal float, to help alert users of floating point inconsistencies.

This is better than the old way, however some have pointed out that...
rogerdpack (Roger Pack)
08:50 PM Bug #1898: Method#== for Methods with the Same Body
=begin
Hi,

In message "Re: [ruby-core:25755] [Bug #1898] Method#== for Methods with the Same Body"
on Fri, 25 Sep 2009 06:08:40 +0900, Marc-Andre Lafortune <redmine@ruby-lang.org> writes:

|# OK so far. The following currently...
matz (Yukihiro Matsumoto)
08:49 PM Feature #2102: String#inspect as default_internal encoding
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39343] [Feature #2102] String#inspect as default_internal encoding"
on Wed, 16 Sep 2009 01:11:39 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:

|String#inspect の結果は特定のエンコーディングに揃...
matz (Yukihiro Matsumoto)
08:37 PM Revision e662770d (git): * ext/json/ext/generator/generator.c: Documention patch by okkez.
[Bug #2075]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:17 PM Revision 036c701b (git): String#inspect's encoding should be fixed.
* string.c (rb_str_inspect): result's encoding should be fixed.
If default_internal is not nil, the encoding is default_internal.
Else if default_external is not nil, the encoding is default_external.
But the encoding is not ASCII-...
naruse (Yui NARUSE)
07:39 PM Revision 45dc99ae (git): Symbian build update to work with the latest PIPS version 1.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
07:35 PM Revision 71501822 (git): Update to work with the latest PIPS version 1.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
07:34 PM Revision 6b294268 (git): Update to work with the latest PIPS version 1.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
07:34 PM Revision 92d4a6d5 (git): Update to work with the latest PIPS version 1.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
05:02 PM Revision 6ed425d5 (git): * string.c: use rename-macro instead of RUBY_ALIAS_FUNCTION_TYPE.
Because build causes failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:59 PM Revision 3ca245a5 (git): * vm_method.c (rb_method_entry_eq): method defined from same
block/proc should be equal. [ruby-core:25755] [ruby-core:24791]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:29 PM Bug #1404 (Closed): Net::HTTP::Post failing when a post field contains ":"
=begin

=end
marcandre (Marc-Andre Lafortune)
02:29 PM Revision f2103ee4 (git): * st.c: moved murmur hash from string.c. [ruby-dev:39376]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:27 PM Revision e860f30b (git): * symbian/setup: Updated .mmp file generation due to blockinlining.c removal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
02:26 PM Revision 38473866 (git): * symbian/setup: Updated .mmp file generation due to blockinlining.c removal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
01:42 PM Revision 0ed8771a (git): * Makefile.in(test-rubyspec): explicitly executes run subcommand of
mspec.
* spec/README: typo fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:53 AM Revision 25f43f4a (git): * st.c (COLLISION): improved collision log feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:48 AM Revision bf4ab7f6 (git): * string.c (hash): updated to MurmurHash 2.0 2009-09-19.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:32 AM Revision 83672458 (git): * string.c (rb_hash_start): fixed shift width on 128bit platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:26 AM Revision f2348659 (git): * include/ruby/intern.h (rb_hash_{start,uint32,uint,end}): fixed
prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:37 AM Feature #1125 (Assigned): [*x] (array consisting only of a splat) does not necessarily return a new array
=begin

=end
marcandre (Marc-Andre Lafortune)
04:33 AM Revision 8cdc1fca (git): * lib/net/http.rb (transport_request): Handle timeout error by closing socket if exception raised. [ruby-core:20976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:27 AM Revision 3a4e1d76 (git): * lib/net/http.rb (transport_request): Handle timeout error by closing socket if exception raised. [ruby-core:20976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune

09/25/2009

11:45 PM Revision 4460a5e1 (git): * lib: updated keywords.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:45 PM Revision dd7490d5 (git): * lib: updated keywords.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:36 PM Revision f833dd2e (git): * iseq.c (compile_string): rename to parse_string(), because
this function only parse String to NODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:34 PM Bug #2129: Rational can't be coerced into BigDecimal (TypeError)
=begin
BigDecimal can represent Infinity and NaN.

main@192-20090925> Rational(1,3) * BigDecimal('NaN')
TypeError: BigDecimal can't be coerced into Rational
=end
tadf (tadayoshi funaba)
07:23 PM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin

=end
tadf (tadayoshi funaba)
06:29 PM Revision 5cc06ae8 (git): * 2009-09-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:29 PM Revision fdb3e278 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:32 PM Bug #921 (Closed): autoload is not thread-safe
=begin

=end
nobu (Nobuyoshi Nakada)
03:05 PM Bug #2142 (Closed): DL::Handle#initialize should call rb_secure(2)
=begin
DL::Handle#initialize should call rb_secure(2)
=end
tenderlovemaking (Aaron Patterson)
02:45 PM Bug #2135: File.executable? returns spurious true's in windows
=begin
for workaround, use File.stat('hanna').executable?
=end
usa (Usaku NAKAMURA)
02:37 PM Bug #2137: Dir.glob does not support unicode on Windows
=begin

=end
usa (Usaku NAKAMURA)
07:04 AM Revision d70e9a55 (git): * win32/win32.c, include/ruby/win32.h (rb_w32_access): new function to
replace MSVCRT's access().
[ruby-core:25761]
* file.c (eaccess): workaround for recent MSVCRT is no longer needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:08 AM Bug #1898: Method#== for Methods with the Same Body
=begin
I think you raise a couple of interesting questions, one of which due to the recent addition of respond_to_missing?

class A
def f1
42
end

def f2
42
end

alias_method :alias_f1, :f1

...
marcandre (Marc-Andre Lafortune)
04:53 AM Feature #1880: Hash#flatten Doesn't Operate Recursively for Hash Values
=begin
Moving this from 'bug' to 'feature request' as behavior corresponds to doc. Currently it converts to an array and (if given an argument) calls flatten on it. Array#flatten leaves hashes alone.

The question remaining: should ...
marcandre (Marc-Andre Lafortune)
04:48 AM Revision 9d72cb26 (git): * proc.c (missing_wrap): reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:05 AM Revision a943745a (git): * proc.c (missing_wrap): new_arg is already given if argc > 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:04 AM Revision 66a97945 (git): * proc.c (mnew): fix for instance method of Module, BasicObject
and subclass of a class which overrides respond_to_missing?.
based on a patch from Nikolai Lugovoi <nlugovoi AT gmail.com> in
[ruby-core:25748].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25089 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
03:57 AM Feature #994 (Closed): Hash-order preservation should be declared a feature; documentation needs to be adapted
=begin
Applied in changeset r25081.
=end
marcandre (Marc-Andre Lafortune)
03:49 AM Feature #994 (Assigned): Hash-order preservation should be declared a feature; documentation needs to be adapted
=begin

=end
marcandre (Marc-Andre Lafortune)
03:36 AM Revision 8be423f5 (git): * vm_method.c (check_definition): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:33 AM Revision 44f7a340 (git): * vm_method.c (obj_respond_to_missing): added rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:56 AM Revision 2c549ad5 (git): * vm_method.c (rb_mod_method_defined): should return true or false.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:51 AM Revision bc7123e4 (git): * vm_method.c (rb_mod_method_defined): should return true or false.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
 

Also available in: Atom