Project

General

Profile

Activity

From 03/04/2009 to 03/10/2009

03/10/2009

09:12 PM Revision 745bc1fd (git): * ruby.c (ruby_init_loadpath_safe): expands libpath and removes
last /lib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:17 PM Bug #1253 (Closed): Fix MSVC Build Issues
=begin
Applied in changeset r22877.
=end
nobu (Nobuyoshi Nakada)
05:08 PM Bug #1253: Fix MSVC Build Issues
=begin
Thanks for applying the LDFLAGS change, that is the most important one.

#2 is still open, the one about applying the -link change. I think that is a better solution than what the makefile does now. But if you choose not to...
cfis (Charlie Savage)
12:40 PM Bug #1253 (Open): Fix MSVC Build Issues
=begin
#2 and #4 is closed, but others not yet.
=end
usa (Usaku NAKAMURA)
12:37 PM Bug #1253 (Closed): Fix MSVC Build Issues
=begin
Applied in changeset r22869.
=end
nobu (Nobuyoshi Nakada)
12:06 PM Bug #1253: Fix MSVC Build Issues
=begin
Usaku,

To help push this forward, I've attached a new patch. It does two things:

1. Takes -link out of LDFLAGS
2. Passes LDFLAGS to mkmf

I realize there is some hesitancy on point #2, but I don't understand wh...
cfis (Charlie Savage)
08:05 PM Bug #1259 (Closed): Fix array.c compiler warnings
=begin
Applied at changeset r22872.
=end
nobu (Nobuyoshi Nakada)
11:58 AM Bug #1259 (Closed): Fix array.c compiler warnings
=begin
Attached patch fixes array.c compiler warnings with vc2008.

cl -nologo -nologo -MD -RTC1 -Zi -Od -W3 -wd4996 -Od -Zm600 -DRUBY_EXPORT -I. -I.ext/include/i386-mswin32_90 -I./../include -I./.. -I./../missing -D_CRT_SECURE_NO...
cfis (Charlie Savage)
07:47 PM Revision 8231655d (git): * time.c (time_to_i, time_hash): time_t may be bigger than long
and int.
* time.c (time_timeval, rb_time_timeval, obj2nsec, time_strftime),
(time_mdump, time_mload): suppress warnings.
* win32/Makefile.sub (config.h): added TIMET2NUM and NUM2TIMET.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
07:47 PM Bug #1258 (Closed): Fix callback-7 compiler warnings
=begin
Applied in changeset r22875.
=end
nobu (Nobuyoshi Nakada)
11:56 AM Bug #1258 (Closed): Fix callback-7 compiler warnings
=begin
Attached patch fixes mscv2008 compiler warnings for callback-7 in dl extension.

cl -nologo -I. -I../../../.ext/include/i386-mswin32_90 -I../../.././../include -I../../.././../ext/dl/callback -I../../.././../ext/dl/callback/....
cfis (Charlie Savage)
07:29 PM Revision 0032476a (git): * win32/win32.c: suppress warnings. based on a patch from Charlie
Savage at [ruby-core:22804].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:22 PM Revision cb434b4a (git): * signal.c (sig_trap): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:01 PM Bug #1260 (Closed): Fix win32.c compiler warnings
=begin
This patch fixes the majority of compiler warnings for win32.c.

At a minimum I'd recommend the change to include rtcapi.h. I'd also recommend the extra parentheses in:

((1 << ((filename[0] & 0x5f) - 'A')) & GetLogicalDr...
cfis (Charlie Savage)
11:42 AM Feature #1256 (Rejected): Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin

=end
nobu (Nobuyoshi Nakada)
11:13 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
Hi,

At Tue, 10 Mar 2009 04:26:51 +0900,
Wolfgang Nádasi-Donner wrote in [ruby-core:22785]:
> Afterwards I rebuilt Ruby, but the stack overflow for both examples I
> posted before are still there.
>
> Should I change add...
nobu (Nobuyoshi Nakada)
07:24 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
As far as I understand this Ticket can be closed. If RubyVM::InstructionSequence.compile_option exists (defined? RubyVM::InstructionSequence.compile_option) and the value is "true" a program can expect a working tail recursion op...
WoNaDo (Wolfgang Nádasi-Donner)
04:28 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
Nobuyoshi Nakada schrieb:
> Hi,
>
> At Mon, 9 Mar 2009 02:41:55 +0900,
> Wolfgang Nádasi-Donner wrote in [ruby-core:22748]:
>> Tail recursion optimization is an implementation detail and
>> not a language feature in genera...
WoNaDo (Wolfgang Nádasi-Donner)
11:07 AM Revision c26d21bf (git): * win32/Makefile.sub (WARNFLAGS): uses -wd4996 instead of
CRTDEFFLAGS. cf. [ruby-core:22725]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:58 AM Revision 0641a4d8 (git): * include/ruby/win32.h (strcasecmp, strncasecmp): use _ prefixed
versions to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:40 AM Revision 5bfb9a63 (git): * ext/dl/callback/mkcallback.rb (DLTYPE[FLOAT]): cast to suppress
warnings. [ruby-core:22792]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:08 AM Revision 32c140b9 (git): merge revision(s) 16465:
* ext/openssl/openssl_missing.c (HMAC_CTX_copy): adopted
prototype change in openssl bundled with newer OpenBSD.
a patch from Takahiro Kambe <taca at back-street.net> in
[ruby-dev:34691].
git-svn-id: svn+s...
shyouhei (Shyouhei Urabe)
05:43 AM Revision 2e54fe9d (git): * array.c, bignum.c, gc.c, numeric.c, string.c, util.c, insns.def,
missing/crypt.c, missing/vsnprintf.c, : suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:52 AM Revision f8147318 (git): * win32/Makefile.sub (OPTFLAGS): simplified.
forgotten to commit at r22849
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:45 AM Revision a3e3fcbc (git): * win32/Makefile.sub (LDFLAGS): moved -link to TRY_LINK, LINK_SO
and so on. based on a patch by Charlie Savage at
[ruby-core:22794]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:27 AM Revision 5157e572 (git): * win32/Makefile.sub (config.h): passes LDFLAGS to rbconfig.rb so
that extconf.rb could refer it. [ruby-core:22725]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:22 AM Bug #1238 (Feedback): invalid multibyte char (US-ASCII)
=begin

=end
nobu (Nobuyoshi Nakada)
03:02 AM Bug #1248: e.exception(e) returns self
=begin
What's the status of Unicode/culture-sensitive operations in Ruby 1.9.1?

I tried following:

# encoding: UTF-8

str = "combining mark: a\u{30a}";
p str.index("\u{e5}")
# => nil
# The result should be 16.

["a", "b", "...
tmat (Tomas Matousek)
02:36 AM Revision 6fe3eaec (git): * iseq.c (prepare_iseq_build): too few arguments to function
rb_ary_tmp_new().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:54 AM Revision 756c8038 (git): * iseq.c (rb_iseq_compile_with_option): argument may be converted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/09/2009

07:56 PM Revision ee4fbaa3 (git): * configure.in (MANGLED_PATH): defines for RUBYLIB_PREFIX.
* ruby.c (ruby_init_loadpath_safe): uses string as buffer.
* symbian/setup (config_h): defines MANGLED_PATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:53 PM Revision d9d4df41 (git): * configure.in (MINIRUBY): keep macro into Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:43 PM Revision 99bb6a3f (git): * configure.in (RUBY_CHECK_SIZEOF): fix for fallback.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:49 PM Bug #1227: [BUG] object allocation during garbage collection phase
=begin
Hi,

At Sun, 1 Mar 2009 02:00:04 +0900,
Chris Schlaeger wrote in [ruby-core:22597]:
> To reproduce:
> get ruby 1.9 and ruby-prof from svn.

Where's ruby-prof svn?

--
Nobu Nakada
=end
nobu (Nobuyoshi Nakada)
06:33 PM Bug #1227: [BUG] object allocation during garbage collection phase
=begin
Yes, I was using Ruby 1.9.1 (or rather a post 1.9.1 SVN snapshot).

Chris

On Mon, Mar 9, 2009 at 8:00 AM, Charlie Savage <redmine@ruby-lang.org> wrote:
> Issue #1227 has been updated by Charlie Savage.
>
>
> Hey Chris,
...
orem (Chris Schlaeger)
04:01 PM Bug #1227: [BUG] object allocation during garbage collection phase
=begin
Hey Chris,

Just saw this. I haven't had a chance to update ruby-prof to 1.9.1 yet. Have you tried yet? Unfortunately, I'm not sure I'll get to it anytime soon, so any help appreciated.
=end
cfis (Charlie Savage)
06:48 PM Revision 53f011e6 (git): * ext/dl/callback/depend: fix for parallel build.
* ext/dl/callback/extconf.rb: callback.h is no longer created.
* ext/dl/callback/mkcallback.rb: creates main source first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:57 PM Revision d3c4a468 (git): * ext/dl/callback/extconf.rb ($distcleanfiles): added callback.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:59 PM Revision 5a36a6a7 (git): * 2009-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:55 PM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
(gdb) file ruby1.9
Reading symbols from /home/lucas/r191-0218/ruby1.9-1.9.1.0/ruby1.9...done.
(gdb) core ~/core.32505
Reading symbols from /usr/lib/libruby1.9.so.1.9...done.
Loaded symbols for /usr/lib/libruby1.9.so.1.9...
lucas (Lucas Nussbaum)
03:16 PM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
I was looking for a decoded stack trace. If you can follow the directions I sent this should render the decode.

Thanks
Chad
=end
vipaca (Chad Dollins)
03:06 PM Revision 31d1d0a8 (git): * configure.in (load_relative): new option to enable load path
relative to libruby_so.
* ruby.c (ruby_init_loadpath_safe): added the case using dladdr().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:10 PM Revision 8421d7d8 (git): * version.h (RUBY_VERSION): Bump the version number to 1.8.8dev.
This is by no means that the release engineering process has
begun but just for naming convenience. Still a long way to go.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
02:04 PM Bug #1253: Fix MSVC Build Issues
=begin
Hi Usaku,

> They are not mutually exclusive.
> -Os sometimes makes more faster code.
> -Oy sometimes breaks our GC.

Ok. Thanks for the explanation.

> I only explained our current default warn flags. (especiall...
cfis (Charlie Savage)
01:27 PM Bug #1253: Fix MSVC Build Issues
=begin
Hello,

In message "[ruby-core:22768] [Bug #1253] Fix MSVC Build Issues"
on Mar.09,2009 11:08:06, <redmine@ruby-lang.org> wrote:
> > 4. optflags
> > Rejected. Nobu said the reason.
>
> The current setting is -O2b2xty...
usa (Usaku NAKAMURA)
11:10 AM Bug #1253: Fix MSVC Build Issues
=begin
Sorry, I meant to write Usaku not Usaka :( My apologies.
=end
cfis (Charlie Savage)
11:09 AM Bug #1253: Fix MSVC Build Issues
=begin
Hi Usaka,

Thanks for looking at this. Some more comments inline.

> 1. However, mkmf.rb is seen not to use DLDFLAGS for conftest like the bug.

And it shouldn't, since its creating executable files, right? DLDFLAGS...
cfis (Charlie Savage)
10:25 AM Bug #1253: Fix MSVC Build Issues
=begin
> 1. LDFLAGS not passed to extconf.rb

You should use DLDFLAGS, though Nobu has already answered.
However, mkmf.rb is seen not to use DLDFLAGS for conftest like the bug.


> 2. -link inconsistently handled.

W...
usa (Usaku NAKAMURA)
05:20 AM Bug #1253: Fix MSVC Build Issues
=begin
1. Makefiles for extension libraries use DLDFLAGS instead.

But that doesn't work when compiling the conftest programs. For example, say you want to compile the curses extension:

Add this to Makefile:

DLDFLAGS = -...
cfis (Charlie Savage)
11:59 AM Revision 46496ac9 (git): merge revision(s) 22646:
* ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify
returns positive value on success, not non-zero. [ruby-core:21762]
backported r22440 from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
shyouhei (Shyouhei Urabe)
11:57 AM Revision 4959105a (git): merge revision(s) 22646:
* ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify
returns positive value on success, not non-zero. [ruby-core:21762]
backported r22440 from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
shyouhei (Shyouhei Urabe)
11:54 AM Bug #883: Failure: test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref)
=begin
Hi,

At Wed, 17 Dec 2008 00:30:45 +0900,
Kazuhiro NISHIYAMA wrote in [ruby-core:20599]:
> another failure example:
>
> % cd test
> % ruby-trunk ../test/rdoc/test_rdoc_markup_to_html_crossref.rb
> nil
> Loaded suite ../t...
nobu (Nobuyoshi Nakada)
09:53 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
Hi,

At Mon, 9 Mar 2009 02:41:55 +0900,
Wolfgang Nádasi-Donner wrote in [ruby-core:22748]:
> Tail recursion optimization is an implementation detail and
> not a language feature in general. I propose to supply a
> constant ...
nobu (Nobuyoshi Nakada)
03:39 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
Shyouhei Urabe schrieb:
> I'm curious, how you can be happy if you detect your VM supports tail-call optimization or not (from your script)?
>
> I think you have to write without tail-calls anyway for compatibilities with tho...
WoNaDo (Wolfgang Nádasi-Donner)
03:13 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
I'm curious, how you can be happy if you detect your VM supports tail-call optimization or not (from your script)?

I think you have to write without tail-calls anyway for compatibilities with those no-tail-call enironment.
=...
shyouhei (Shyouhei Urabe)
02:43 AM Feature #1256 (Rejected): Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
Ruby 1.9 has the possibility to support tail recursion optimization for methods and proc objects. Due to technical problems it cannot be easy implemented for every VM or platform, which will support Ruby 1.9 functionality.

T...
WoNaDo (Wolfgang Nádasi-Donner)
07:49 AM Revision 700a2b23 (git): * lib/rake: updated to rake code to rake-0.8.4 source code base.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:03 AM Revision e09da0d0 (git): * lib/rubygems/installer.rb (Gem::Installer#initialize): env may
not be under /usr/bin.
* lib/rubygems/installer.rb (Gem::Installer#shebang): uses /bin/sh
if shebang has any options, since env shebang trick does not
work with options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22853 b2dd...
nobu (Nobuyoshi Nakada)
06:25 AM Revision 3b759e62 (git): * ext/dl/dl.c (Init_dl): protoized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:19 AM Revision 2d2cf42e (git): * instruby.rb (manpages): use basename to compare and for Tempfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:55 AM Revision 6ec4b205 (git): * instruby.rb (default gems): installs default gemspecs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:48 AM Revision 8fd13402 (git): * win32/Makefile.sub (OPTFLAGS): simplified. see [ruby-core:22725]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:33 AM Revision f2be33ac (git): * instruby.rb: prints names of the directories where files are
installed to.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:02 AM Revision c182d50e (git): merge revision(s) 21997:
* re.c (match_check): check if MatchData is initialized.
[ruby-core:18749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:01 AM Revision b8ace636 (git): merge revision(s) 21997:
* re.c (match_check): check if MatchData is initialized.
[ruby-core:18749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:56 AM Revision c2bd2760 (git): merge revision(s) 21994:
* lib/rexml/rexml.rb: incremented Ruby::VERSION. Thanks, Jeremy
Kemper. [ruby-core:20113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:56 AM Revision 8af135c5 (git): merge revision(s) 21994:
* lib/rexml/rexml.rb: incremented Ruby::VERSION. Thanks, Jeremy
Kemper. [ruby-core:20113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:55 AM Revision d9ce3805 (git): merge revision(s) 21913:
* io.c (io_getpartial): fflush after read for updating pos in FILE.
not portable, I guess. [ruby-core:21561]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:52 AM Revision 984a73a3 (git): merge revision(s) 21913:
* io.c (io_getpartial): fflush after read for updating pos in FILE.
not portable, I guess. [ruby-core:21561]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:05 AM Revision 0b85e2a0 (git): merge revision(s) 21727:
* gc.c (define_final): cannot define finalizer for immediate
values. [ruby-core:21500]
* gc.c (define_final): freezes or hides internal values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22834 b2...
shyouhei (Shyouhei Urabe)
12:04 AM Revision 15fd3268 (git): merge revision(s) 21727:
* gc.c (define_final): cannot define finalizer for immediate
values. [ruby-core:21500]
* gc.c (define_final): freezes or hides internal values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22832 b2...
shyouhei (Shyouhei Urabe)

03/08/2009

11:55 PM Revision 2d281863 (git): merge revision(s) 21688:
* parse.y (IS_BEG): EXPR_CLASS should be treated like EXPR_BEG.
[ruby-core:21453]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
11:54 PM Revision d7bacd08 (git): merge revision(s) 21688:
* parse.y (IS_BEG): EXPR_CLASS should be treated like EXPR_BEG.
[ruby-core:21453]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:29 PM Bug #1253: Fix MSVC Build Issues
=begin
Hi,

At Sun, 8 Mar 2009 08:19:23 +0900,
Charlie Savage wrote in [ruby-core:22725]:
> 1. LDFLAGS not passed to extconf.rb
>
> For example, in Makefile set LDFLAGS = -libpath:c:/msvc/lib
>
> This path is not passed to ex...
nobu (Nobuyoshi Nakada)
08:20 AM Bug #1253 (Closed): Fix MSVC Build Issues
=begin
The attached patch fixes a couple of linking bugs with MSVC 2008 against head, plus does a bit of makefile cleanup. I'm happy to split the patch into multiple parts if that would make it easier to apply. The patch includes:

...
cfis (Charlie Savage)
06:40 PM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
You wrote:
> So I guess I'll take a different approach because this didn't work.
>
> Please use gdb to decode the stack trace and attach this to the bug.

The stack trace is already available in that bug report (see com...
lucas (Lucas Nussbaum)
05:26 PM Revision d84595de (git): * test/ruby/test_proc.rb: add some tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:38 PM Revision f7258196 (git): * test/ruby/test_enum.rb: add some tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:13 PM Revision 835513a2 (git): * test/ruby/test_object.rb: add a test for Object#method_missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:12 PM Revision 4bcd1853 (git): * 2009-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:12 PM Revision 6ff04457 (git): * test/ruby/test_file_exhaustive.rb: add tests for File#size and
File.absolute_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:02 PM Revision 6ad0626d (git): * win32/Makefile.sub (LDFLAGS): always prepends -link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:30 AM Bug #1254 (Closed): MSVC 2008 Compiler warnings
=begin
Compiling with standard warning levels with vc2008 (-w3) results in a very large number of compiler warnings (see attached file, also pasted below).

Is there an interest in getting these fixed?

Charlie

------------...
cfis (Charlie Savage)
04:13 AM Revision 54a52efe (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:53 AM Bug #1251: gsub problem
=begin
Thanks a lot for clearing that up so fast !

Alexander Pettelkau
=end
pettel (Alexander Pettelkau)
02:40 AM Revision d6ffa4b9 (git): * configure.in (RUBY_CHECK_SIZEOF): dirty hack to compute multiple
sizeof, for apple's universal binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:38 AM Bug #1243: 1 is prime
=begin
On Fri, Mar 6, 2009 at 8:42 PM, Jacob Fugal <lukfugl@gmail.com> wrote:
> I have a hard time imagining a situation where asking if a negative
> number is prime would be necessary. Code the cares about prime numbers
> almost by ...
RobertDober (Robert Dober)

03/07/2009

09:02 PM Bug #1251: gsub problem
=begin
Yukihiro Matsumoto schrieb:
> To substitute one backslash into two, you have to do
>
> s.gsub!("\\","\\\\\\")
...
myprompt> irb191-p0
irb(main):001:0> puts "a\\b".gsub!("\\","\\\\\\")
a\\b
=> nil
irb(main):002:0> puts...
WoNaDo (Wolfgang Nádasi-Donner)
08:49 PM Bug #1251 (Rejected): gsub problem
=begin

=end
matz (Yukihiro Matsumoto)
06:30 PM Bug #1251: gsub problem
=begin
Alexander Pettelkau schrieb:
> Bug #1251: gsub problem
> http://redmine.ruby-lang.org/issues/show/1251
>
> Author: Alexander Pettelkau
> Status: Open, Priority: Normal
> Category: core, Target version: 1.9.1
> ruby -v: ru...
WoNaDo (Wolfgang Nádasi-Donner)
06:29 PM Bug #1251: gsub problem
=begin
HI,

In message "Re: [ruby-core:22715] [Bug #1251] gsub problem"
on Sat, 7 Mar 2009 18:08:11 +0900, Alexander Pettelkau <redmine@ruby-lang.org> writes:

|I wanted to replace "\" with "\\" in the string "\TEST":
|
|s="\...
matz (Yukihiro Matsumoto)
06:09 PM Bug #1251 (Rejected): gsub problem
=begin
I wanted to replace "\" with "\\" in the string "\TEST":

s="\\TEST"
puts s # Output --> "\TEST"
s.gsub!("\\","\\\\")
puts s # Output --> "\TEST"
# but EXPECTED Output "\\TEST"
=end
pettel (Alexander Pettelkau)
06:53 PM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
sent
=end
lucas (Lucas Nussbaum)
10:06 AM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
Send me a copy to bug1172 at cdollins dot otherinbox dot com
=end
vipaca (Chad Dollins)
05:21 PM Revision cc8b3517 (git): use ldd to find libc and libm if no information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:56 PM Revision 0d5171c5 (git): * 2009-03-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:56 PM Revision 5abafda8 (git): add 64bit solaris library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:06 PM Revision f51f35a3 (git): * configure.in (universal_binary): checks if sizes are same on all
architectures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:36 AM Revision 753f4824 (git): * test/rubygems/simple_gem.rb: updated for 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:47 AM Revision 31c2bfe8 (git): * configure.in: checks if cd really succeeded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:42 AM Bug #907: Various system() and backticks problems on Windows
=begin
backport to 1.8.x would be nice. I'm not sure if you can currently pass parameters to batch files even :)
=end
rogerdpack (Roger Pack)
05:58 AM Revision 62043071 (git): * 2009-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:58 AM Revision 5fb9d853 (git): * file.c: include fcntl.h for O_RDONLY on Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:49 AM Revision 33b9638c (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:37 AM Revision dfb1573e (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:26 AM Revision f9690e0f (git): * configure.in: don't use CONFIG_SHELL for testing shell feature in
Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:08 AM Revision 94dc341e (git): * configure.in: fix the location of cdcmd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:55 AM Revision 4210e54d (git): * configure.in: the shell which runs configure may be different from
the shell for make. configure likes bash but Makefile specifies
SHELL=/bin/sh.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:20 AM Revision ba45b0fe (git): * test/rdoc/test_rdoc_markup_to_html_crossref.rb (verify_convert):
appends backtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:35 AM Revision 466e33b8 (git): * test/erb/test_erb.rb (test/erb/test_erb.rb): removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:31 AM Revision 882900d2 (git): * test/erb/test_erb.rb: reverted space sensitive test results.
* test/rdoc/test_rdoc_parser_c.rb: ditto.
* test/rdoc/test_rdoc_ri_default_display.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:10 AM Revision 888d2947 (git): * 2009-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 AM Revision dd76b8b8 (git): don't exit even if libc/libm is not found.
check lib[cm].so.6.1 as well on linux.
add solaris lib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:42 AM Bug #1248: e.exception(e) returns self
=begin
What should be the result of calling x.exception(Exception arg) and x.exception(Class arg) then? Currently both create a new exception of type x.class with message arg (unless arg == x).

1) Passing a class:

irb(main):001:0>...
tmat (Tomas Matousek)

03/06/2009

11:12 PM Bug #1243: 1 is prime
=begin
On Wed, Mar 4, 2009 at 9:15 AM, Yugui (Yuki Sonoda) <yugui@yugui.jp> wrote:
> On 3/4/09 1:40 AM, Dave B wrote:
>> +    value = -value if value < 0  <--- NOT required ?
>> +    return false if value < 2
>>
>> I think your neg...
RobertDober (Robert Dober)
05:45 PM Bug #1248: e.exception(e) returns self
=begin
Hi,

In message "Re: [ruby-core:22698] Re: [Bug #1248] e.exception(e) returns self"
on Fri, 6 Mar 2009 16:52:47 +0900, Tomas Matousek <Tomas.Matousek@microsoft.com> writes:

|Well the reason is that arg is supposed to be...
matz (Yukihiro Matsumoto)
04:54 PM Bug #1248: e.exception(e) returns self
=begin
Well the reason is that arg is supposed to be a message, right? A message can be an arbitrary object. So if I pass e as a message, why it doesn't become a value of the message property?

irb(main):001:0> a = Exception.new
=> #...
tmat (Tomas Matousek)
03:56 PM Bug #1248: e.exception(e) returns self
=begin
Hi,

In message "Re: [ruby-core:22687] [Bug #1248] e.exception(e) returns self"
on Fri, 6 Mar 2009 04:36:56 +0900, Tomas Matousek <redmine@ruby-lang.org> writes:

|Exception#exception(arg) instance method should return a...
matz (Yukihiro Matsumoto)
04:37 AM Bug #1248 (Rejected): e.exception(e) returns self
=begin
Exception#exception(arg) instance method should return a new exception of the same class as self with message arg. It does so for any object passed in as an argument except for if e is passed in. I don't see any reason for specia...
tmat (Tomas Matousek)
04:38 PM Bug #1250 (Rejected): String#to_r and String#to_c with float number
=begin
irb(main):001:0> "1/2".to_r
=> (1/2)
irb(main):002:0> "1.5/2".to_r
=> (3/4)
irb(main):003:0> "1.5/2.5".to_r
=> (3/4)
irb(main):004:0> "15/25".to_r
=> (3/5)

I think "1.5/2.5".to_r should be (3/5)

irb(main):...
phasis68 (Heesob Park)
03:07 PM Bug #1244 (Closed): Improving the error message when Ruby crashes
=begin
Applied in changeset r22794.
=end
matz (Yukihiro Matsumoto)
02:36 PM Revision 42d25de9 (git): * lib/securerandom.rb (SecureRandom.urlsafe_base64): add optional
argument to add padding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:17 PM Feature #1212 (Closed): doc for Array#fill misses indication about negative value for the start argument
=begin
Applied in changeset r22787.
=end
matz (Yukihiro Matsumoto)
10:25 AM Revision e2421845 (git): * configure.in (RUBY_LIB_VERSION_STYLE): sets full or minor style
not to show RUBY_VERSION_MAJOR and so on.
* version.h (RUBY_LIB_VERSION): makes from RUBY_LIB_VERSION_STYLE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:53 AM Revision 4e015093 (git): * common.mk: removed a comment already has no meaning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:46 AM Revision 849c9962 (git): * Makefile.in (update-mspec): split from update-rubyspec.
* win32/Makefile.sub (update-{rubyspec,mspec}): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:37 AM Revision 2a413f97 (git): * configure.in, Makefile.in, win32/Makefile.sub (CHDIR): cd using
phisical directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:31 AM Revision 9c14f3be (git): * configure.in (MINIRUBY): use $(arch)-fake.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:17 AM Revision 4965ea4f (git): * win32/Makefile.sub (.c.asm): removed $(COUTFLAG).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:00 AM Revision 36f56996 (git): * error.c (report_bug): message updated to better English.
[ruby-core:22665]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
05:52 AM Revision f1166587 (git): * ChangeLog: reverted lines removed at r22787.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:28 AM Revision 6e000d88 (git): * Makefile.in, win32/Makefile.sub (INSNS): moved variable
definition before rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:47 AM Revision cf4f718b (git): * lib/rake/loaders/makefile.rb (Rake::MakefileLoader#load): deals with
escaped spaces. incorporated from rake 0.8.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:45 AM Revision c520d1fc (git): * lib/rake/testtask.rb (Rake::TestTask#define): passes each libs
as each arguments with expanded. incorporated from rake 0.8.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:25 AM Revision 84880187 (git): * lib/rubygems/digest/digest_adapter.rb: removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:23 AM Revision f378f104 (git): * lib/**/*.rb: removed unnecessary shbang lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:12 AM Revision 60d2f945 (git): * array.c (rb_ary_fill): doc for Array#fill misses indication
about negative value for the start argument. [ruby-core:22497]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
04:04 AM Revision 0aeb2336 (git): * test/test_syslog.rb: moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:57 AM Revision 5361beca (git): * 2009-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:56 AM Revision 287a34ae (git): * {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/05/2009

08:38 PM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
I'm not confortable with providing a core dump publicly, as it will leak information about the system I was using. I could send it to you via private mail, though. What's your email?

Regarding continuation in 1.9.1, it's the...
lucas (Lucas Nussbaum)
07:12 PM Feature #1218: New method needed to set and get the current recursion limit
=begin
Hi, I do not have access to a Windows machine because I do all my development using Unix environments.

-Conrad

=end
Anonymous
06:06 PM Feature #1193: Justified Error Messages
=begin
Hi,

In message "Re: [ruby-core:22666] [Feature #1193] Justified Error Messages"
on Thu, 5 Mar 2009 05:12:09 +0900, Ryan Davis <redmine@ruby-lang.org> writes:

|Mommy says no so you go ask Daddy? Nice end run. Still no.
...
matz (Yukihiro Matsumoto)
08:11 AM Feature #1193: Justified Error Messages
=begin
Instead of relying on whitespace, I recommend a diff style of output. Kouhei implemented this in Test::Unit 2.x and it's great.

diff:
- minitest/unit is a small and fast replaecment for ruby's huge and slow test/unit
? ...
djberg96 (Daniel Berger)
05:13 AM Feature #1193: Justified Error Messages
=begin
Mommy says no so you go ask Daddy? Nice end run. Still no.
=end
zenspider (Ryan Davis)
05:00 PM Bug #1244: Improving the error message when Ruby crashes
=begin
Thanks for picking this up, and making a concrete proposal.
I have felt the same several times in the past, and the
new text is definitely much clearer.

Regards, Martin.

At 20:00 09/03/04, you wrote:
>Bug #1244: Impro...
duerst (Martin Dürst)
09:36 AM Revision 9b52ae2e (git): * numeric.c (flo_to_s): keeps enough precision for round trip.
[ruby-core:22325]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:56 AM Revision e691ba3b (git): * lib/tmpdir.rb (Dir.tmpdir): not use USERPROFILE, and ignores
non-existent directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:52 AM Revision 90b0b8d4 (git): * win32/win32.c (rb_w32_sysinit): initializes version info first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:38 AM Revision b9e0c6ec (git): * win32/win32.c (Win32System, Win32Version): moved before get_version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:21 AM Revision f4259225 (git): * win32/win32.c (rb_w32_osid): always define for binary compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:52 AM Revision 11075c93 (git): * win32/Makefile.sub (make_insns_rules): rule to make rules for insns.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:27 AM Revision a6c117a2 (git): * win32/Makefile.sub (miniruby.exe): workaround for a failure of
mt.exe on Windows 7 beta. [ruby-talk:330284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 AM Revision 9e75b267 (git): * test/dl/test_base.rb: Add dragonfly to libc and libm switch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:29 AM Revision 3dc758d9 (git): * string.c (str_eql): extracted from rb_str_equal and rb_str_eql.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:24 AM Revision 37dd754e (git): * string.c (rb_str_chomp_bang): keeps 7bit coderange.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:10 AM Revision ec46ba5b (git): * include/ruby/encoding.h (enc_initialized_p): ENC_UNINITIALIZED
is not defined already.
* include/ruby/encoding.h (ENC_FROM_ENCINDEX): removed because
depending on a static variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

03/04/2009

10:19 PM Revision 4f39e639 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:27 PM Bug #1245 (Closed): SizedQueue can be pushed over its limit
=begin
Applied in changeset r22765.
=end
mame (Yusuke Endoh)
09:21 PM Bug #1245 (Closed): SizedQueue can be pushed over its limit
=begin
遠藤です。

SizedQueue のリミットの判定が間違っています。

$ ./miniruby -rlib/thread -e 'q = SizedQueue.new(2); q << 1; q << 1; q
<< 1; p q'
#<SizedQueue:0x81f595c @max=2, @queue_wait=[], @que=[1, 1, 1],
@waiting=[], @mutex=#<Mutex:0x81f590c>>
...
mame (Yusuke Endoh)
08:01 PM Bug #1244 (Closed): Improving the error message when Ruby crashes
=begin
This is a very minor translation of the error message emitted by Ruby when it crashes. Enclosing a patch that suggests a change from:
"You may encounter a bug of Ruby interpreter. Bug reports are welcome"
to:
"You may have ...
zmalltalker (Marius Mårnes Mathiesen)
07:43 PM Revision 0da23f4b (git): * test/ruby/test_array.rb: fix wrong test, and add a test for
sort_by!.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:33 PM Revision 62739518 (git): * test/ruby/test_array.rb: add some tests for coverage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
05:59 PM Bug #1243: 1 is prime
=begin
Ring theory defines "prime element" as a special case.
Someone else might request adding a "prime_element?" or "ring_prime?" method, later.
Maybe they could use ( -7.abs.prime? ) for their specific application.

The ordin...
daz (Dave B)
05:18 PM Bug #1243: 1 is prime
=begin
On 3/4/09 1:29 AM, Charles Nutter wrote:
> The number 1 is not considered prime:

Sorry, I wanted to mean that the implementation of Prime regarded 1 as a
prime.

--
Yugui <yugui@yugui.jp>
http://yugui.jp
=end
yugui (Yuki Sonoda)
05:17 PM Bug #1243: 1 is prime
=begin
On 3/4/09 1:40 AM, Dave B wrote:
> + value = -value if value < 0 <--- NOT required ?
> + return false if value < 2
>
> I think your negative guard is not required?

For a arbitrary positive prime number p, -p is a p...
yugui (Yuki Sonoda)
01:41 AM Bug #1243: 1 is prime
=begin
+ value = -value if value < 0 <--- NOT required ?
+ return false if value < 2

I think your negative guard is not required?

All negatives, 0 and 1 are non-prime, therefore all < 2 are non-prime.

http://en.w...
daz (Dave B)
01:30 AM Bug #1243: 1 is prime
=begin
The number 1 is not considered prime:

http://en.wikipedia.org/wiki/Prime_number#Primality_of_one
=end
headius (Charles Nutter)
01:07 AM Bug #1243 (Closed): 1 is prime
=begin
Applied in changeset r22741.
=end
yugui (Yuki Sonoda)
12:37 AM Bug #1243 (Closed): 1 is prime
=begin
Prime.prime? always returns true for n < 2
=end
yugui (Yuki Sonoda)
03:26 PM Revision 00305d36 (git): * win32/README.win32 (Requirement): VC++ 5.0 is not supported
already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:06 PM Revision 5f05be45 (git): * 2009-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision e7184e7a (git): * win32/README.win32 (Requirement): added unicows.lib and dll.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:29 PM Revision d34f9699 (git): * configure.in, win32/configure.bat (--enable-win95): new option
to enable/disable win95 support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:44 PM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
I do have access to a sparc and I will try your script for repro. However I was wondering if you could provide the core file associtated with this segfault. It may not appear in your current directory because of process throttlin...
vipaca (Chad Dollins)
07:26 AM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
Here is the full debug output:
*** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7eeea54 ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x8c)[0xf7b4a12c]
/usr/lib/libruby1.9.so.1.9(ruby_xfree+0x28)[0xf7e2...
lucas (Lucas Nussbaum)
02:15 AM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
Please provide a core file.
=end
vipaca (Chad Dollins)
12:23 PM Revision 40c2dd15 (git): * lib/thread.rb (SizedQueue#push): fix limit condition.
[ruby-dev:38135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:03 PM Bug #1242: Segfault when requiring wxruby2.0.0
=begin
I'm having trouble reproducing this issue can you please provide the platform i.e. "uname -a". Also it would be helpful if you could attach a core file decode.
=end
vipaca (Chad Dollins)
11:27 AM Revision 43ba7d00 (git): * configure.in (mingw): checks if unicows.lib is available.
* win32/Makefile.sub (LIBS): links unicows.lib if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:35 AM Revision 6e7d7bf5 (git): * include/ruby/win32.h (WIN95): moved to config.h
* win32/Makefile.sub (config.h): defines WIN95 only if unicows.lib
is available.
* win32/setup.mak (-unicows-): checks if unicows.lib is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22763 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
09:21 AM Revision 08f7b027 (git): merges r22743 from trunk into ruby_1_9_1.
--
* lib/csv.rb: A patch from Madoka Yakamamoto to prevent an infinite
loop while reading some encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:21 AM Revision 12d0248c (git): merges r22707 from trunk into ruby_1_9_1.
--
* file.c: include fcntl.h for O_RDONLY on Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:21 AM Revision 7a28371f (git): merges r22706 from trunk into ruby_1_9_1.
--
* lib/uri/common.rb (URI::Parser#escape): escaped string is ascii
only.
* lib/uri/common.rb (URI::Parser#unescape): converts bytewise.
[ruby-dev:38005], [ruby-dev:38110]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_...
yugui (Yuki Sonoda)
09:21 AM Revision 73716b9d (git): merges r22702 from trunk into ruby_1_9_1.
--
* ext/dl/handle.c (rb_dlhandle_sym): get rid of buffer overrun,
and try ASCII WINAPI versions too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:20 AM Revision f0c30cd0 (git): merges r22699 from trunk into ruby_1_9_1.
--
merged a patch from Alessandro Di Maria in [ruby-core:22560].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:20 AM Revision 63bec266 (git): merges r22695 from trunk into ruby_1_9_1.
--
* ext/dl/win32/lib/Win32API.rb (initialize): passes rest
arguments to DL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:20 AM Revision 1947a881 (git): merges r22692 from trunk into ruby_1_9_1.
--
* util.c (ruby_dtoa): allocates one more byte to get rid of buffer
overrun. a patch from Charlie Savage at [ruby-core:22604].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:20 AM Revision 9100a770 (git): merges r22691 from trunk into ruby_1_9_1.
--
* common.mk (.y.c): removed extra backslash. [ruby-core:22602]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:20 AM Revision 375d08ea (git): merges r22690 from trunk into ruby_1_9_1.
--
* ext/dl/cfunc.c (rb_dlcfunc_call): fix for stdcall and missing
argument numbers. [ruby-core:22601]
* ext/dl/dl.h (DLSTACK_PROTO0_): added.
* ext/dl/mkcallback.rb (gencallback, gen_callback_file),
(rb_dl_init_callbacks): omit s...
yugui (Yuki Sonoda)
09:20 AM Revision 4481f3c5 (git): merges r22689 from trunk into ruby_1_9_1.
--
* ext/bigdecimal/bigdecimal.c (gfDebug): uncommented out.
[ruby-core:22600]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:20 AM Revision 0253ba1a (git): merges r22688 from trunk into ruby_1_9_1.
--
* process.c (rb_waitpid): use wait_each() on no waitpid platforms.
[ruby-dev:38054]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:19 AM Revision 52c27b7b (git): merges r22687 from trunk into ruby_1_9_1.
--
* process.c (proc_daemon): stops and restarts timer thread because
daemon(3) implies fork(2). [ruby-dev:38055]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:19 AM Revision 0b624bdf (git): merges r22663 from trunk into ruby_1_9_1.
--
* util.c: fix SEGV by test_time.rb with
gcc version 4.4.0 20090219 (Red Hat 4.4.0-0.21) on Fedora 11 Alpha.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:19 AM Revision efa92c86 (git): merges r22662 from trunk into ruby_1_9_1.
--
* compile.c (cdhash_type, iseq_set_sequence): should not call
methods of the argument of case, to keep the semantics of
case/when. [ruby-dev:38079]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22749 b2dd03c8-3...
yugui (Yuki Sonoda)
09:19 AM Revision cc5164ad (git): merges r22659 from trunk into ruby_1_9_1.
--
* gc.c (ruby_get_stack_grow_direction): no needs to use thread
here, and not initialized yet. [ruby-core:22439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:19 AM Revision 079741af (git): merges r22655,r22658,r22660 and r22661 from trunk into ruby_1_9_1.
--
* file.c (file_load_ok): checks if regular file, except for the
platform disallows to open directories, e.g. cygwin.
[ruby-dev:38097], [Bug #1221]
--
* file.c (file_load_ok): cygwin allows to open directories.
git-svn-id: svn+ssh...
yugui (Yuki Sonoda)
09:19 AM Revision c9393802 (git): * 2009-03-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:19 AM Revision af2d1789 (git): merges r22611 from trunk into ruby_1_9_1.
--
* string.c (rb_str_force_encoding): should clear coderange at changing
encoding. [ruby-core:22437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:08 AM Bug #1239: build fails for OpenBSD: [BUG] register_sigaltstack. error
=begin

=end
nobu (Nobuyoshi Nakada)
09:08 AM Bug #1239 (Assigned): build fails for OpenBSD: [BUG] register_sigaltstack. error
=begin

=end
nobu (Nobuyoshi Nakada)
02:50 AM Bug #1239: build fails for OpenBSD: [BUG] register_sigaltstack. error
=begin
please change status to resolved or duped if there is an associated fix for this issue
=end
vipaca (Chad Dollins)
01:03 AM Bug #1239: build fails for OpenBSD: [BUG] register_sigaltstack. error
=begin
trunk (1.9.2dev) is already fixed.
Thank you for the report.
=end
akr (Akira Tanaka)
01:44 AM Feature #1218: New method needed to set and get the current recursion limit
=begin
On Mon, Mar 2, 2009 at 8:07 AM, Conrad Taylor <redmine@ruby-lang.org> wrote:
> Issue #1218 has been updated by Conrad Taylor.
>
>
> @Austin Ziegler - I was able to change these limits within Python using FreeBSD, Linux, and M...
austin (Austin Ziegler)
 

Also available in: Atom