From 04/24/2014 to 04/30/2014


04:45 PM Revision 45770: win32.c: add linkage
* win32/win32.c (ustatfs): need a linkage to get rid of conflict. nobu (Nobuyoshi Nakada)
04:07 PM Revision 45769: win32.c: declare for old VC
* win32/win32.c (ustatfs): declare GetVolumePathNameW for old VC. nobu (Nobuyoshi Nakada)
03:38 PM Revision 45768: * file.c (FSTATFS): check availability of struct statfs and
struct statvfs in addition to fstatfs(2) and fstatvfs(2).
This fixes error in Solaris. [Bug #9788] [ruby-dev:48145]
ngoto (Naohisa Goto)
03:37 PM Revision 45767: parse.y: show name as possible
* parse.y (rb_id_attrset): show the name of broken ID if it is
still registered.
nobu (Nobuyoshi Nakada)
03:25 PM Revision 45766: parse.y: raise with numeric ID type
* parse.y (rb_id_attrset): all valid ID types are handled
properly, raise with numeric ID type which may be broken ...
nobu (Nobuyoshi Nakada)
03:16 PM Revision 45765: * 2014-05-01
03:16 PM Revision 45764: parse.y: use rb_id2str
* parse.y (rb_id_attrset): use rb_id2str to get rid of method call. nobu (Nobuyoshi Nakada)
03:16 PM Revision 45763: test_inadvertent_creation.rb: use Symbol.find
* ext/-test-/symbol/intern.c: Symbol.find is available now.
* test/-ext-/symbol/test_inadvertent_creation.rb (nonint...
nobu (Nobuyoshi Nakada)
12:09 PM Revision 45761: parse.y: use rb_str_ellipsize
* parse.y (next_id): use rb_str_ellipsize to preserve encoding and
get rid of incomplete multibyte sequence.
nobu (Nobuyoshi Nakada)
10:58 AM Revision 45760: * gc.c (gc_after_sweep): suppress unnecessary expanding heap.
Tomb heap pages are freed pages here, so expanding heap is
not required.
09:11 AM Revision 45759: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
09:08 AM Revision 45758: * vm.c (invoke_block_from_c): add VM_FRAME_FLAG_BMETHOD to record
it is bmethod frame.
* vm.c (vm_exec): invoke RUBY_EVENT_RETURN event if rollbacked frame
ko1 (Koichi Sasada)
08:06 AM Revision 45757: * 2014-04-30
08:06 AM Revision 45756: parse.y: pin down dynamic symbol only
* parse.y (rb_id_attrset): pin down dynamic symbol only. it is
possibe that attrset ID can be registered as a stati...
nobu (Nobuyoshi Nakada)


08:42 AM Revision 45745: fix style of ChangeLog
05:19 AM Revision 45744: * (lib/tmpdir.rb): Rescue LoadError on for miniruby.
Revert r45707, r45711, r45717. akr (Akira Tanaka)
03:51 AM Revision 45743: * lib/fileutils.rb: Don't need to define fu_get_gid and fu_get_gid in
rescue LoadError on 'etc'. akr (Akira Tanaka)
01:35 AM Revision 45742: * test/ruby/test_symbol.rb (TestSymbol#test_symbol_gc_1): fix typo.
ktsj (Kazuki Tsujimoto)
01:25 AM Revision 45741: * parse.y (symbols_i): like r45492, call rb_gc_resurrect().
ktsj (Kazuki Tsujimoto)


07:35 PM Revision 45740: new macros for statfs_t
* file.c (HAVE_STRUCT_STATFS_T_F_FSTYPENAME): Add new macro for
* file.c (HAVE_STRUCT_STATFS_T_F_TYPE): d...
07:35 PM Revision 45739: fix preprocessor condition
03:20 PM Revision 45738: * 2014-04-29
03:20 PM Revision 45737: fix typo [Fix GH-603]
* bootstraptest/test_literal.rb: fix typo of "dynamic". [ci skip]
* regexp.rdoc: fix typo of "organized". [ci skip]...
nobu (Nobuyoshi Nakada)
02:13 PM Revision 45736: file.c: fix typo
* file.c (FSTATFS): fix typo and commit miss. nobu (Nobuyoshi Nakada)
02:10 PM Revision 45735: file.c: fix errors on Windows
* file.c (rb_io_statfs, rb_statfs_init, statfs_inspect): fix
compilation errors on Windows.
nobu (Nobuyoshi Nakada)
12:46 PM Revision 45734: * (HAVE_STRUCT_STATFS_F_TYPE): check struct statfs.f_type
to support OpenBSD.
* file.c (statfs_type): use above macro to switch.
* file.c (statfs_inspect): ditto.
naruse (Yui NARUSE)
09:08 AM Revision 45733: * check struct statvfs and struct statvfs.f_fstypename.
* on NetBSD fstatfs is obsoleted.
* file.c: support NetBSD for File::Statfs.
naruse (Yui NARUSE)
08:46 AM Revision 45732: * 2014-04-28
08:46 AM Revision 45731: * gc.c: This argument must be a pointer.
08:46 AM Revision 45730: * gc.c: Fix typos. These are undefined variables.


10:45 AM Revision 45729: trivial change
tadf (tadayoshi funaba)
10:44 AM Revision 45728: * ext/date/date_strptime.c (date__strptime_internal): do not overwrite century.
tadf (tadayoshi funaba)
07:35 AM Revision 45727: * 2014-04-27
07:35 AM Revision 45726: fix indent


02:53 AM Revision 45725: * test/ruby/test_enum.rb (test_flat_map): Added test for flat_map.
Contribute from @igaiga. [fix GH-598] hsbt (Hiroshi SHIBATA)
01:55 AM Revision 45724: 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)
12:21 AM Revision 45723: update comment.
akr (Akira Tanaka)


11:07 PM Revision 45722: * 2014-04-26
11:07 PM Revision 45721: * 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.
akr (Akira Tanaka)
02:28 PM Revision 45720: * 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 45719: * lib/webrick/utils.rb: Don't rescue LoadError for 'etc' extension.
akr (Akira Tanaka)
07:12 AM Revision 45718: node.c: indent
* node.c (dump_node): adjust indent to "ruby-style.el". nobu (Nobuyoshi Nakada)
07:11 AM Revision 45717: mkmf.rb: workaround for tmpdir
* lib/mkmf.rb (try_link0): workaround for miniruby as 'tmpdir.rb'
always requires '' now.
nobu (Nobuyoshi Nakada)
05:56 AM Revision 45716: refine __builtin_unreachable check
* (rb_cv_func___builtin_unreachable): try with an
external variable not only by a warning, which might...
nobu (Nobuyoshi Nakada)
04:13 AM Revision 45715: * NetBSD's ksh, used by configure, needs escapes.
naruse (Yui NARUSE)
04:06 AM Revision 45714: * 2014-04-25
04:06 AM Revision 45713: * correct pthread_setname_np's prototype on NetBSD.
[Bug #9586] naruse (Yui NARUSE)


02:19 PM Revision 45712: * lib/fileutils.rb (fu_get_uid, fu_get_gid): Etc.getpwnam/getgrnam may
returns nil.
* lib/webrick/utils.rb (su): ditto.
usa (Usaku NAKAMURA)
01:56 PM Revision 45711: * bootstraptest/test_io.rb: Add to $" before require 'tmpdir'.
akr (Akira Tanaka)
01:54 PM Revision 45710: revert r45709.
akr (Akira Tanaka)
01:40 PM Revision 45709: * bootstraptest/test_io.rb: Don't use tmpdir because is not
usable from miniruby. akr (Akira Tanaka)
12:11 PM Revision 45708: * man/ruby.1: fix broken link.
11:53 AM Revision 45707: * lib/tmpdir.rb: Don't need to rescue LoadError for
akr (Akira Tanaka)
08:47 AM Revision 45706: suppress warnings: assigned but unused variable - pos
naruse (Yui NARUSE)
08:47 AM Revision 45705: suppress warnings: ambiguous first argument; put parentheses or even spaces
naruse (Yui NARUSE)
08:46 AM Revision 45704: * file.c (statfs_inspect): suppress warnings.
assume those values won't be larger than LONG_LONG_MAX. naruse (Yui NARUSE)
04:24 AM Revision 45703: 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 45702: parse.y: check for symbol
* parse.y (rb_sym2id, rb_sym2id_without_pindown): reject
non-symbol values.
nobu (Nobuyoshi Nakada)
02:53 AM Revision 45701: 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 45700: parse.y: check for symbol
* parse.y (rb_sym2id, rb_sym2id_without_pindown): return 0 for
non-symbol values, for the time being.
nobu (Nobuyoshi Nakada)
02:16 AM Revision 45699: Add test for r45492, r45693, r45698
naruse (Yui NARUSE)
02:04 AM Revision 45698: 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 45697: parse.y: trivial optimization
* parse.y (rb_str_dynamic_intern): branch by same condition as
rb_id2sym to reduce unnecessary branch.
nobu (Nobuyoshi Nakada)
01:01 AM Revision 45696: call to_i
naruse (Yui NARUSE)
12:35 AM Revision 45695: file.c: statfs_inspect
* file.c (statfs_inspect): add File::Statfs#inspect method. nobu (Nobuyoshi Nakada)

Also available in: Atom