Project

General

Profile

Activity

From 04/20/2014 to 04/26/2014

04/26/2014

06:02 PM Feature #9777 (Feedback): Feature Proposal: Proc#to_lambda
Currently different block objects such as a lambda can be converted into to a proc: http://www.ruby-doc.org/core-1.9.... schneems (Richard Schneeman)
02:21 PM Feature #9772: IO#statfs and File::Statfs
Takahiro Kambe wrote:
> 「NetBSD はどうなのかなぁ。」とは、どのような意味でしょう??
NetBSD で動かないのはよろしくないんじゃないか、という意味です。
akr (Akira Tanaka)
09:48 AM Feature #9772: IO#statfs and File::Statfs
In message <redmine.journal-46305.20140424231120.f745bb8a50ac0750@ruby-lang.org>
on Thu, 24 Apr 2014 23:11:20 +000...
taca (Takahiro Kambe)
08:36 AM Feature #9711: Remove test-unit and minitest from stdlib.
I update my patch. this patch copy test-unit and minitest to test/lib and separate to dependecy from stdlib.
Could...
hsbt (Hiroshi SHIBATA)
07:38 AM Bug #9648: Dir.glob('../*') shows unexpected result in a symbolic linked directory on Windows
Hi,

In message "[ruby-core:62170] [ruby-trunk - Bug #9648] Dir.glob('../*') shows unexpected result in a symbolic...
usa (Usaku NAKAMURA)
07:22 AM Bug #9648: Dir.glob('../*') shows unexpected result in a symbolic linked directory on Windows
Usaku NAKAMURA wrote:
> I've tested on 1.9.3-p545, 2.0.0-p451, 2.1.1 and found they are ok.
‘OK’ means it globs a...
nobu (Nobuyoshi Nakada)
07:02 AM Bug #9648: Dir.glob('../*') shows unexpected result in a symbolic linked directory on Windows
I've tested on 1.9.3-p545, 2.0.0-p451, 2.1.1 and found they are ok.
This problem is only with trunk.
usa (Usaku NAKAMURA)
06:46 AM Bug #9648 (Feedback): Dir.glob('../*') shows unexpected result in a symbolic linked directory on Windows
Is there any files at `V:/`? nobu (Nobuyoshi Nakada)
02:53 AM Revision 24065577 (git): * test/ruby/test_enum.rb (test_flat_map): Added test for flat_map.
Contribute from @igaiga. [fix GH-598]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45725 b2dd03c8-39d4-4d8f-98f...
hsbt (Hiroshi SHIBATA)
01:55 AM Bug #9776 (Closed): Ruby double-splat operator unexpectedly modifies hash
Applied in changeset r45724.
----------
compile.c: non-destructive keyword splat
* compile.c (compile_array_): make...
nobu (Nobuyoshi Nakada)
01:55 AM Revision 37e432b5 (git): compile.c: non-destructive keyword splat
* compile.c (compile_array_): make copy a first hash not to modify
the argument itself. keyword splat should be no...
nobu (Nobuyoshi Nakada)
01:24 AM Feature #8956 (Rejected): Allow hash members delimited by \n inside of {}
It seems this issue has diverged so far from the original.
I reject it for now.
nobu (Nobuyoshi Nakada)
12:21 AM Revision 3bd10c6e (git): update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:07 AM Bug #9757: Segfault in 2.1.1 from RSpec expect_any_instance_of
Sorry I missed the notification about your message. I've retried this with trunk (ruby 2.2.0dev (2014-04-25 trunk 45... dafaber (David Faber)

04/25/2014

11:07 PM Revision bb565a20 (git): * 2014-04-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:07 PM Revision 79c09eb5 (git): * test/ruby/test_process.rb (test_rlimit_nofile): Don't limit
RLIMIT_NOFILE too small.
This fix sporadic "[ASYNC BUG] thread_timer: select" on GNU/Linux.
git-svn-id: svn+ssh:...
akr (Akira Tanaka)
08:30 PM Bug #9776: Ruby double-splat operator unexpectedly modifies hash
Origin:
http://stackoverflow.com/questions/23282342/ruby-double-splat-operator-destructive-vs-nondestructive
jessesielaff (Jesse Sielaff)
08:12 PM Bug #9776 (Closed): Ruby double-splat operator unexpectedly modifies hash
I noticed what I find to be a very surprising behavior with the double-splat (`**`) operator in Ruby 2.1.1.
When k...
jessesielaff (Jesse Sielaff)
06:40 PM Feature #9772: IO#statfs and File::Statfs
2014-04-24 19:11 GMT-04:00 <[email protected]>:
> Issue #9772 has been updated by Akira Tanaka.
>
>
> こういうときは先人の...
kosaki (Motohiro KOSAKI)
03:46 PM Feature #9704: Refinements as files instead of modules
Ah, attack the problem from the other way round. That's a great idea!
trans (Thomas Sawyer)
07:00 AM Feature #9704: Refinements as files instead of modules
Monkey-patching style has another problem that super cannot be supported in monkey patching.
I prefer another appr...
shugo (Shugo Maeda)
02:29 PM Bug #9571 (Closed): "Error: TestFileUtils#test_rmdir: Errno::EEXIST: File exists @ dir_s_rmdir - data" on Solaris
Applied in changeset r45720.
----------
* lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to
ENOTEMPTY ...
ngoto (Naohisa Goto)
02:26 PM Bug #9571: "Error: TestFileUtils#test_rmdir: Errno::EEXIST: File exists @ dir_s_rmdir - data" on Solaris
SUSv3 に以下の記述があり、Solaris以外でもエラーになるOSがあるかもしれません。
> If the directory is not an empty directory, rmdir() shall fail an...
ngoto (Naohisa Goto)
02:28 PM Revision 1377f38c (git): * lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to
ENOTEMPTY (and ENOENT), because SUSv3 describes that "If the
directory is not an empty directory, rmdir() shall fai...
ngoto (Naohisa Goto)
10:17 AM Revision 2f60d085 (git): * lib/webrick/utils.rb: Don't rescue LoadError for 'etc' extension.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:23 AM Bug #9775 (Closed): Segmentation Fault
Segmentation Fault while running RoR 4 in debugging mode with 'thin' server.
See attachment for backtrace.
gshilin (Gregory Shilin)
07:12 AM Revision ef9408d8 (git): node.c: indent
* node.c (dump_node): adjust indent to "ruby-style.el".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45718 b2dd...
nobu (Nobuyoshi Nakada)
07:11 AM Revision 7cd7cfae (git): mkmf.rb: workaround for tmpdir
* lib/mkmf.rb (try_link0): workaround for miniruby as 'tmpdir.rb'
always requires 'etc.so' now.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
06:43 AM Feature #9768 (Assigned): Method that is visible only within a certain module/class
Tsuyoshi Sawada wrote:
> Seeing that these custom methods are used only in the context of a certain module/class, I ...
shugo (Shugo Maeda)
06:23 AM Bug #9626 (Rejected): alias, prepend and super cause unexpected SystemStackError
It differs from #7842, since you overwrites `C#foo` itself.
`C#orig_foo` is an alias of `M#foo`, but not of the form...
nobu (Nobuyoshi Nakada)
05:56 AM Bug #9665 (Closed): Ruby 2.1.1 fails to build on PowerPC darwin, due to __builtin_unreachable
Applied in changeset r45716.
----------
`configure.in`: refine `__builtin_unreachable` check
* `configure.in` ...
nobu (Nobuyoshi Nakada)
05:55 AM Bug #9665: Ruby 2.1.1 fails to build on PowerPC darwin, due to __builtin_unreachable
With MacPorts apple-gcc42, `__builtin_unreachable` seems detected as `no`, successfully.
nobu (Nobuyoshi Nakada)
05:56 AM Revision e4cde469 (git): configure.in: refine __builtin_unreachable check
* configure.in (rb_cv_func___builtin_unreachable): try with an
external variable not only by a warning, which might...
nobu (Nobuyoshi Nakada)
04:13 AM Revision b4682ea3 (git): * configure.in: NetBSD's ksh, used by configure, needs escapes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:06 AM Bug #9586 (Closed): Unable to build Ruby 2.1.1 on NetBSD
Applied in changeset r45713.
----------
* configure.in: correct pthread_setname_np's prototype on NetBSD.
[Bug #9586]
naruse (Yui NARUSE)
04:06 AM Revision 1944f1d6 (git): * 2014-04-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:06 AM Revision b87df1bf (git): * configure.in: correct pthread_setname_np's prototype on NetBSD.
[Bug #9586]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

04/24/2014

11:11 PM Feature #9772: IO#statfs and File::Statfs
こういうときは先人の知恵ということで探してみると coreutils の src/stat.h になにかそれっぽいコメントがありました。
```
212 /* Return the type of the specified...
akr (Akira Tanaka)
09:23 PM Feature #9772: IO#statfs and File::Statfs
POSIX的には、statvfsで取れるのは以下のメンバで他はoptional。つまり一番欲しいfs typeが
取れないわけです。
なので、statvfsはmisleadingだと思います。
それよりもstatfsで有益な...
kosaki (Motohiro KOSAKI)
09:13 AM Feature #9772: IO#statfs and File::Statfs
ruby-core:62137 で Eric Wong も尋ねていますが、なぜ POSIX で定義されている statvfs じゃなくて、statfs なのか、というのは私も最初に疑問に思いました。
理由を参照できる形で残してお...
akr (Akira Tanaka)
04:03 AM Feature #9772 (Rejected): IO#statfs and File::Statfs
IO#statfs and File::Statfs を追加しませんか。
(テストで statfs.f_type が必要だったのでとりあえず追加してしまっていますが)
statfs(2) は Unix 系 OS でそこそこ普及...
naruse (Yui NARUSE)
06:25 PM Feature #9770: Etc.uname
If you don't want to use WMI, you could get the same type of information using a combination of GetVersionEx and GetS... djberg96 (Daniel Berger)
04:28 PM Feature #9770: Etc.uname
Already available in the sys-uname gem if anyone is interested. On Windows I return much more information using WMI. djberg96 (Daniel Berger)
03:03 PM Feature #9770: Etc.uname
As far as the current usages are guraded by platform test such as /linux/ =~ RUBY_PLATFORM,
it seems that emulation ...
akr (Akira Tanaka)
02:39 PM Bug #9774 (Closed): Net::HTTP failure to validate certificate
I'm trying to make an https connection to a host that uses a self-signed certificate. I've downloaded the certificate... dougalcorn (Doug Alcorn)
02:19 PM Revision 3c00fe9f (git): * lib/fileutils.rb (fu_get_uid, fu_get_gid): Etc.getpwnam/getgrnam may
returns nil.
* lib/webrick/utils.rb (su): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45712 b2dd03c8-...
U.Nakamura
01:56 PM Revision a87c3b48 (git): * bootstraptest/test_io.rb: Add etc.so to $" before require 'tmpdir'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:54 PM Revision 917681a3 (git): revert r45709.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:40 PM Revision b3cd42ed (git): * bootstraptest/test_io.rb: Don't use tmpdir because etc.so is not
usable from miniruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:33 PM Bug #9773 (Closed): broken link in man/ruby.1
Two broken link `https://github.com/languages/Ruby` exist in `./man/ruby.1`.
I do not know what it was, and I can't ...
znz (Kazuhiro NISHIYAMA)
12:11 PM Revision defcc5aa (git): * man/ruby.1: fix broken link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:53 AM Revision 869c7ce0 (git): * lib/tmpdir.rb: Don't need to rescue LoadError for etc.so.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:47 AM Revision 7f87816a (git): suppress warnings: assigned but unused variable - pos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:47 AM Revision 25ae5cc3 (git): suppress warnings: ambiguous first argument; put parentheses or even spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:46 AM Revision f83d51d8 (git): * file.c (statfs_inspect): suppress warnings.
assume those values won't be larger than LONG_LONG_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45704 b2dd...
naruse (Yui NARUSE)
06:54 AM Bug #7807: [PATCH] Remove duplicated load paths when empty version string is configured
Recent version of the patch:
http://pkgs.fedoraproject.org/cgit/ruby.git/tree/ruby-2.1.0-Prevent-duplicated-paths-...
vo.x (Vit Ondruch)
04:24 AM Revision d182cd30 (git): parse.y: resurrect dynamic symbol and name
* parse.y (lookup_id_str): resurrect the dynamic symbol before
accessing its content, and its name before returning...
nobu (Nobuyoshi Nakada)
03:08 AM Revision a680ee9f (git): parse.y: check for symbol
* parse.y (rb_sym2id, rb_sym2id_without_pindown): reject
non-symbol values.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
02:53 AM Bug #9771 (Closed): SYM2ID(Qnil)
Applied in changeset r45701.
----------
ossl_asn1.c: fix undefined behavior
* ext/openssl/ossl_asn1.c (ossl_asn1_in...
nobu (Nobuyoshi Nakada)
02:50 AM Bug #9771 (Closed): SYM2ID(Qnil)
`ext/openssl/ossl_asn1.c:ossl_asn1_initialize()` allows `Qnil` as `tagging` since r31699.
But `SYM2ID()` is defined ...
nobu (Nobuyoshi Nakada)
02:53 AM Revision e923de6d (git): ossl_asn1.c: fix undefined behavior
* ext/openssl/ossl_asn1.c (ossl_asn1_initialize): SYMID on a value
other than Symbol is an undefined behavior. fix...
nobu (Nobuyoshi Nakada)
02:21 AM Revision 34c35bf1 (git): parse.y: check for symbol
* parse.y (rb_sym2id, rb_sym2id_without_pindown): return 0 for
non-symbol values, for the time being.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
02:16 AM Revision 313e34b4 (git): Add test for r45492, r45693, r45698
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:04 AM Revision 977a5147 (git): parse.y: resurrect before pindown
* parse.y (rb_pin_dynamic_symbol): resurrect the dynamic symbol
which may be unmarked already and swept at next tim...
nobu (Nobuyoshi Nakada)
02:04 AM Revision 91c6d41a (git): parse.y: trivial optimization
* parse.y (rb_str_dynamic_intern): branch by same condition as
rb_id2sym to reduce unnecessary branch.
git-svn-id:...
nobu (Nobuyoshi Nakada)
01:01 AM Revision 8c3b0102 (git): call to_i
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:35 AM Revision ca258c86 (git): file.c: statfs_inspect
* file.c (statfs_inspect): add File::Statfs#inspect method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45695 ...
nobu (Nobuyoshi Nakada)

04/23/2014

09:51 PM Bug #9586: Unable to build Ruby 2.1.1 on NetBSD
Attached is the config.log for 2.1.1. djberg96 (Daniel Berger)
08:59 PM Revision d8bb478e (git): * 2014-04-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:59 PM Revision 2dca886a (git): * parse.y (dsym_node_gen): like r45492, call rb_gc_resurrect().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:06 PM Feature #9770: Etc.uname
Should I implement an emulation for Windows?
Which of an emulation or NotImplementedError do you think as desiable, ...
usa (Usaku NAKAMURA)
02:16 PM Feature #9770 (Closed): Etc.uname
How about Etc.uname method to call the uname(2) system call?
```
% ./ruby -rpp -retc -e 'pp Etc.uname'
{:sysname...
akr (Akira Tanaka)
11:53 AM Revision 708e1bd4 (git): * ext/etc/extconf.rb: Build ext/etc unconditionally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:34 AM Bug #9762 (Closed): keywork argument do not work in some situation
Eregon (Benoit Daloze)
06:05 AM Revision 474e9869 (git): skip on SEEK_HOLE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:31 AM Revision 53a91a00 (git): add uname -r
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:25 AM Revision 297fe29f (git): * file.c (statfs_fsid): remove statfs.f_fsid because it doesn't return
meaningful value portably. http://togetter.com/li/658517
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45689 b2d...
naruse (Yui NARUSE)
05:01 AM Revision 62713618 (git): travis doesn't have /proc/version_signature
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:48 AM Revision 9d4a89e1 (git): show versions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:31 AM Revision 1e67cd2d (git): fix to rescue when test-all runs without installation
https://api.travis-ci.org/jobs/23564212/log.txt?deansi=true
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45686 ...
naruse (Yui NARUSE)
04:31 AM Revision c5fef273 (git): file.c: unpack in binary
* file.c (statfs_fsid): convert with rb_integer_unpack.
* configure.in: fsid_t is no longer used.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
04:14 AM Revision 3254b0f3 (git): win32ole.c: suppress warnings
* ext/win32ole/win32ole.c (ole_excepinfo2msg, lcid_installed):
cast to suppress warnings, SCODE varies on cygwin an...
nobu (Nobuyoshi Nakada)
03:53 AM Revision 73706907 (git): check Linux version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:26 AM Revision cf72be26 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:51 AM Revision 9036b58c (git): win32ole.c: fix format
* ext/win32ole/win32ole.c (ole_excepinfo2msg, lcid_installed): fix
format to suppress warnings.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
02:47 AM Revision 6f477bcc (git): * configure.in, win32/Makefile.sub: fsid_t is defined in include/ruby/win32.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:41 AM Revision d4c6c4c8 (git): check whther ext4+ or not
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:32 AM Revision 0f69c184 (git): file.c: fsid_t may not be defined
* configure.in: check if fsid_t is defined.
* file.c (statfs_fsid): fsid_t may not be defined, assume long in
that...
nobu (Nobuyoshi Nakada)
02:03 AM Revision 2c14872b (git): stringio.c: use rb_str_append other than ASCII-8BIT
* ext/stringio/stringio.c (strio_write): use rb_str_append to
reuse coderange bits other than ASCII-8BIT, and keep
...
nobu (Nobuyoshi Nakada)
02:03 AM Revision 3ec18aa2 (git): stringio.c: move GC guard
* ext/stringio/stringio.c (strio_write): move GC guard after the
last using position.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
02:03 AM Revision 43326170 (git): ruby-additional.el: ruby-encode-unicode
* misc/ruby-additional.el (ruby-encode-unicode): convert non-ascii
string to \\u{} form.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)

04/22/2014

06:44 PM Revision 506c6f52 (git): Revert r45670 "stringio.c: use rb_str_append"
It breaks test-all.
http://u64b.rubyci.org/~chkbuild/ruby-trunk/log/20140422T143301Z.diff.html.gz
rb_str_conv_enc() ...
naruse (Yui NARUSE)
03:57 PM Feature #9704: Refinements as files instead of modules
I realized there is a downside to this approach.
~~~
# a.rb
require 'b'
class String
def ab
self + "a" ...
trans (Thomas Sawyer)
02:39 AM Feature #9704: Refinements as files instead of modules
Just FYI, I created this project https://github.com/rubyworks/reusing. I don't much care for what I had to do to impl... trans (Thomas Sawyer)
03:45 PM Revision 7804656e (git): * 2014-04-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 PM Revision 86dc863b (git): * win32/win32.c, include/ruby/win32.h (ustatfs): implementation of
statfs(2) clone. [EXPERIMENTAL]
* file.c (rb_io_statfs): use above function.
* configure.in, win32/Makefile.sub (st...
U.Nakamura
02:57 PM Revision 900ede40 (git): * file.c (rb_io_stafs): use statfs(2) if fstatfs(2) is unavailable.
* configure.in (fstatfs): check it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45671 b2dd03c8-39d4-4d8f-98ff...
U.Nakamura
02:14 PM Bug #9769 (Closed): un-infection in StringIO#write
Applied in changeset r45670.
----------
stringio.c: use rb_str_append
* ext/stringio/stringio.c (strio_write): use ...
nobu (Nobuyoshi Nakada)
01:47 PM Bug #9769: un-infection in StringIO#write
念のため: このバグ報告は[email protected]に送られていたものですが、中の人たちの判断によりこちらにて議論されることになりました。 shyouhei (Shyouhei Urabe)
11:51 AM Bug #9769 (Closed): un-infection in StringIO#write
StringIO#write において、汚染された文字列を与えても汚染状態が伝播しません。
* 文字列の拡張を伴わない書き込み (こちらは伝播する)
$ ruby -r stringio -e 'str = "abcdef...
dearblue (宗介 相良)
02:14 PM Revision a1975817 (git): stringio.c: use rb_str_append
* ext/stringio/stringio.c (strio_write): use rb_str_append to
reuse coderange bits and keep taintedness.
[ruby-de...
nobu (Nobuyoshi Nakada)
02:01 PM Revision c143b9a0 (git): file.c: suppress a warning
* file.c (statfs_fsid): use union to suppress strict-aliasing
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
01:19 PM Revision 026b0b94 (git): * file.c (rb_io_statfs): need to define even if the system doesn't have
fstatfs(2).
* test/ruby/test_file.rb (TestFile#test_statfs): skip if IO#stafs is not
implemented.
git-svn-id: sv...
U.Nakamura
12:57 PM Revision 3b1862e6 (git): define File::Statfs only if HAVE_STRUCT_STATFS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:55 PM Revision 82b69180 (git): check statfs and skip
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:46 PM Bug #9762: keywork argument do not work in some situation
Yes!
Thank you.
felix125 (felix chang)
12:32 PM Revision 482dd826 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:46 AM Revision 856dc678 (git): refix the point is seek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:59 AM Revision e3a57e06 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:37 AM Revision d863be7c (git): show what filesystem it is on failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:35 AM Revision 035a4e7d (git): * file.c: newly added a class File::Statfs. (experimental)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:57 AM Feature #9768 (Assigned): Method that is visible only within a certain module/class
Some frameworks/libraries monkeypatch their own methods on Ruby core classes like `String`, `Hash`, `Array`, etc., an... sawa (Tsuyoshi Sawada)
09:52 AM Revision e419c88b (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:47 AM Bug #9767 (Closed): test-all parallel fails if a test is skipped after raise
DL::TestFunc#test_sinf is skipped after raise on mingw ruby.
But it causes Mashal.load failure due to undefined cl...
h.shirosaki (Hiroshi Shirosaki)
07:36 AM Bug #7987 (Closed): Method#parameters should consider a prepended or refined methd
Seems fixed already. nobu (Nobuyoshi Nakada)
03:56 AM Bug #9766 (Assigned): Add force_encoding option to csv
I'd rather think it a bug. nobu (Nobuyoshi Nakada)
02:37 AM Feature #9711: Remove test-unit and minitest from stdlib.
We discussed about this on [[ruby:DevelopersMeeting20140418Japan]]:
- we use test/unit (with minitest) for our tes...
naruse (Yui NARUSE)
12:44 AM Feature #9711: Remove test-unit and minitest from stdlib.
I agree to do this :+1: sorah (Sorah Fukumori)
02:27 AM Revision c37ac198 (git): test_io.rb: test with holes
* test/ruby/test_io.rb (test_seek, test_seek_symwhence): add tests
of SEEK_DATA and SEEK_HOLE with holes.
git-svn-...
nobu (Nobuyoshi Nakada)
01:38 AM Revision 28747c67 (git): enable test-all and add -j2 on travis-ci
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:07 AM Revision eb85645a (git): Add to check ruby_2_0_0 and ruby_2_1 (and ruby_2_2) branch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

04/21/2014

11:37 PM Revision d32ad2ef (git): * gc.c (objspace_malloc_increase): don't cause GC by malloc_increase
when memop type is MEMOP_TYPE_REALLOC.
GC at realloc is not well maintained.
We need a time to make it safe.
[r...
ko1 (Koichi Sasada)
09:56 PM Feature #8429: Options requests in net/http should be able to accept a response body
Can we get an update on this? Not sure why it's just sitting here... rubyjoel (Joel Ruby)
09:54 PM Revision 5890cb9d (git): gc.c: full mark after malloc/realloc
* gc.c (objspace_malloc_increase): run full mark if 0x04 bit is
set in ruby_gc_stress. [ruby-core:62103] [Feature ...
nobu (Nobuyoshi Nakada)
09:53 PM Feature #9761 (Closed): TRY_WITH_GC with ruby_gc_stress
Applied in changeset r45653.
----------
gc.c: GC.stress after realloc
* gc.c (objspace_malloc_increase): run GC aft...
nobu (Nobuyoshi Nakada)
03:23 PM Feature #9761 (Open): TRY_WITH_GC with ruby_gc_stress
Nobuyoshi Nakada wrote:
> Seems `objspace_malloc_increase()` already runs GC after `xmalloc` and `xcalloc` if `ruby_...
wanabe (_ wanabe)
01:05 AM Feature #9761 (Feedback): TRY_WITH_GC with ruby_gc_stress
Seems `objspace_malloc_increase()` already runs GC after `xmalloc` and `xcalloc` if `ruby_gc_stress` is set.
You may...
nobu (Nobuyoshi Nakada)
09:53 PM Revision 2abb976d (git): * 2014-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:53 PM Revision a633ed28 (git): gc.c: GC.stress after realloc
* gc.c (objspace_malloc_increase): run GC after realloc not only
malloc and calloc by GC.stress. [ruby-core:62103]...
nobu (Nobuyoshi Nakada)
05:03 PM Bug #9764: Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
@Tadayoshi funaba,
I think i understand part of the issue now related to some of the confusion.
Date.Comercial(...
StephenOTT (Steve R)
04:56 PM Bug #9764: Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
Okay great. Thank you for the quick and detailed response. This seems to be a documentation confusion as we had ab... StephenOTT (Steve R)
11:26 AM Bug #9764 (Rejected): Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
tadf (tadayoshi funaba)
11:24 AM Bug #9764: Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
~~~
first of all, you have to know there are three systems of week.
the following thee are proper/typical combina...
tadf (tadayoshi funaba)
10:48 AM Bug #9764 (Assigned): Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
tadf (tadayoshi funaba)
04:38 AM Bug #9764: Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
Same issue with: ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-darwin12.5.0] StephenOTT (Steve R)
04:25 AM Bug #9764 (Rejected): Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
Date and DateTime strftime and strptime are not supporting %U (0-53 Week Numbers as defined in strptime):
http://ww...
StephenOTT (Steve R)
10:16 AM Revision a72bf51b (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:15 AM Revision df645bf7 (git): * string.c (rb_str_coderange_scan_restartable): coderange is always
ENC_CODERANGE_VALID if the string is ASCII-8BIT and already has a non
ASCII character.
git-svn-id: svn+ssh://ci.ru...
naruse (Yui NARUSE)
10:15 AM Revision 9f2ddef2 (git): * string.c (coderange_scan): remove useless condtion `p < e` after
search_nonascii.
* string.c (rb_str_coderange_scan_restartable): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
naruse (Yui NARUSE)
10:14 AM Revision c71019f8 (git): * ext/-test-/string/coderange.c: add Bug::String.new#coderange_scan
to explicitly scan coderange.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45649 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)
10:14 AM Revision 8377e9e4 (git): * string.c (coderange_scan): remove unused logic.
* string.c (rb_str_coderange_scan_restartable): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45648 b2dd0...
naruse (Yui NARUSE)
08:31 AM Revision 8581ce32 (git): string.c: rename rb_str_splice as rb_str_update
* string.c (rb_str_update): rename rb_str_splice as exported name
rb_str_update, and make the former an alias macro...
nobu (Nobuyoshi Nakada)
07:39 AM Bug #9766: Add force_encoding option to csv
The method to reproduce this should be `CSV.generate` in the code blocks.
I wish it could be merged in all the ver...
dtaniwaki (DAISUKE TANIWAKI)
07:37 AM Bug #9766 (Closed): Add force_encoding option to csv
Hi there,
I have a trouble when I use csv#generate with encoding 'Shift-JIS' option. I investigated it for a long ...
dtaniwaki (DAISUKE TANIWAKI)
05:11 AM Bug #9765 (Closed): StringIO#putc is unnaware of encoding
Applied in changeset r45646.
----------
stringio.c: non-ascii encoding
* ext/stringio/stringio.c (strio_putc): fix ...
nobu (Nobuyoshi Nakada)
05:06 AM Bug #9765 (Closed): StringIO#putc is unnaware of encoding
`IO#putc`はエンコーディングを意識しますが、`StringIO#putc`がしていません。
~~~ruby
IO.pipe{|r,w| w.putc("\u{3042}"); w.putc(0x3044); w.clo...
nobu (Nobuyoshi Nakada)
05:11 AM Revision 90e393b3 (git): stringio.c: non-ascii encoding
* ext/stringio/stringio.c (strio_putc): fix for non-ascii
encoding, like as IO#putc. [ruby-dev:48114] [Bug #9765]
...
nobu (Nobuyoshi Nakada)
12:39 AM Revision 862618d2 (git): * 2014-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:39 AM Revision 6f3bd427 (git): gc.c: fixnum GC stress
* gc.c (garbage_collect_body): name magic numbers.
* gc.c (gc_stress_set): GC.stress accepts not only boolean but
...
nobu (Nobuyoshi Nakada)

04/20/2014

10:31 AM Revision dce4bdf1 (git): ChangeLog: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:41 AM Bug #9763 (Third Party's Issue): Windows上のirbで「金」と入力できない
Windowsのirb上で日本語の入力は基本的にはできるのですが
「金」と入力すると何も入力されず、次に全角文字を入力した時点で2文字同時に表示されます。
「金」に続いて半角文字を入力すると別の文字になってしまうようです。
ironsand (Tetsuya Yuasa)
04:55 AM Bug #9762: keywork argument do not work in some situation
felix chang wrote:
> I dont know this is an issue or not. Here is my code.
>
> [...]
>
> It will not work, but...
phluid61 (Matthew Kerwin)
03:59 AM Bug #9762 (Rejected): keywork argument do not work in some situation
I dont know this is an issue or not. Here is my code.
`
class String
def last(size)
self[-size..-1]
en...
felix125 (felix chang)
03:58 AM Bug #9646 (Closed): Infinite loop at Hash#each
Applied in changeset r45642.
----------
* st.c (st_foreach_check): chnage start point of search at check
from top...
tarui (Masaya Tarui)
03:58 AM Bug #9729 (Closed): Hash#each が無限ループする
Applied in changeset r45642.
----------
* st.c (st_foreach_check): chnage start point of search at check
from top...
tarui (Masaya Tarui)
03:58 AM Revision c94cb8b8 (git): * st.c (st_foreach_check): chnage start point of search at check
from top to current. [ruby-dev:48047] [Bug #9646]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45642 b2dd03c8-...
Masaya Tarui
01:45 AM Feature #9761 (Open): TRY_WITH_GC with ruby_gc_stress
I have written but I have not been able to avoid both temporary assignment and duplication of garbage_collect_with_gv... wanabe (_ wanabe)
12:56 AM Feature #9761 (Feedback): TRY_WITH_GC with ruby_gc_stress
Patches are welcome. nobu (Nobuyoshi Nakada)
12:49 AM Feature #9761 (Closed): TRY_WITH_GC with ruby_gc_stress
I hope `TRY_WITH_GC()` may use `ruby_gc_stress` value.
Currently, `ruby_gc_stress` doesn't affect simple `xmalloc(...
wanabe (_ wanabe)
12:34 AM Bug #9757: Segfault in 2.1.1 from RSpec expect_any_instance_of
Set the category to "doc" by mistake. nobu (Nobuyoshi Nakada)
12:12 AM Revision 24252ff4 (git): win32ole.c: suppress warnings
* ext/win32ole/win32ole.c: use LONG instead of long to suppress
incompatible pointer warnings.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom