From 04/06/2013 to 04/12/2013


03:23 PM Revision 40266: * ext/etc/etc.c: fix struct name.
nobu (Nobuyoshi Nakada)
03:16 PM Revision 40265: * 2013-04-13
03:16 PM Revision 40264: etc.c: Etc namespace
* ext/etc/etc.c (Init_etc): move Passwd and Group under Etc namespace
as primary names.
nobu (Nobuyoshi Nakada)
12:07 PM Revision 40263: * pack.o depends on internal.h.
akr (Akira Tanaka)
12:01 PM Revision 40262: * bignum.c (ones): Use __builtin_popcountl if available.
* internal.h (GCC_VERSION_SINCE): Macro moved from pack.c.
* pack.c: Include internal.h for GCC_VERSION_SINCE.
akr (Akira Tanaka)
09:42 AM Revision 40261: * version.o depends on $(srcdir)/include/ruby/version.h
instead of {$(VPATH)}version.h to avoid confusion by VPATH between
top level version.h and include/ruby/version.h f...
akr (Akira Tanaka)
06:21 AM Revision 40260: vm_insnhelper.c: non-symbol key
* vm_insnhelper.c (vm_callee_setup_keyword_arg): non-symbol key is not
a keyword argument, keep it as an positional...
nobu (Nobuyoshi Nakada)
02:59 AM Revision 40259: * array.c: Document synonymous methods, by windwiny [GH-277]
* bignum.c: ditto
* complex.c: ditto
* dir.c: ditto
* encoding.c: ditto
* enumerator.c: ditto
* numeric.c: ditto
* pr...
zzak (Zachary Scott)
12:32 AM Revision 40258: fix typos


04:47 PM Revision 40250: fix typo
zzak (Zachary Scott)
03:52 PM Revision 40248: * 2013-04-12
03:52 PM Revision 40247: Fix typo
naruse (Yui NARUSE)
02:42 PM Revision 40246: * Add dependencies for include/ruby.h
* tool/update-deps: Use "make -p all miniruby ruby golf" to extract
deendencies in makefiles.
akr (Akira Tanaka)
02:27 PM Revision 40245: * lib/cgi/html.rb: remove 'super {yield}' which is for old version.
xibbar (Takeyuki FUJIOKA)
02:27 PM Revision 40244: * lib/cgi/html.rb: fix indent. delete unnecessary code.
xibbar (Takeyuki FUJIOKA)
02:22 PM Revision 40243: * tool/update-deps: Use "make -p all golf" to extract deendencies in
makefiles. akr (Akira Tanaka)
01:23 PM Revision 40242: * lib/cgi/html.rb: fix tagmaker because attributes should recognize.
[Bug #8252] xibbar (Takeyuki FUJIOKA)
01:22 PM Revision 40241: * test/ruby/test_regexp.rb: use require_relative to require local library
xibbar (Takeyuki FUJIOKA)
12:03 PM Revision 40240: * Dependency updated.
* tool/update-deps: Rewritten. akr (Akira Tanaka)
11:03 AM Revision 40239: * partially revert r40183, which breaks building on
other than source directory. (its commit log also says the same
thing, but such failure is not reproducible on my e...
naruse (Yui NARUSE)
09:32 AM Revision 40238: Fix return value in example by @rkh [fix GH-284]
hsbt (Hiroshi SHIBATA)
08:04 AM Revision 40237: * lib/cgi/{core,html}.rb : Update define tagmaker
because to delete eval. xibbar (Takeyuki FUJIOKA)
07:53 AM Revision 40236: Fix if-end
naruse (Yui NARUSE)
07:51 AM Revision 40235: * test/dl/test_base.rb: typo.
usa (Usaku NAKAMURA)
07:10 AM Revision 40234: * ext/fiddle/closure.c (USE_FFI_CLOSURE_ALLOC): define 0 on
Mac OS X and Linux [Bug #3371] naruse (Yui NARUSE)
06:35 AM Revision 40233: Experimental fix for ffi_closure_free causes dumping core/SEGV naruse (Yui NARUSE)
04:21 AM Revision 40232: * test/drb/drbtest.rb (Drb{Core,Ary}#teardown): retry Process.kill
if it fails with Errno::EPERM on Windows (workaround).
[ruby-dev:47245] [Bug #8251]
usa (Usaku NAKAMURA)
02:12 AM Revision 40226: * dir.c: Fix a typo.
knu (Akinori MUSHA)
01:40 AM Revision 40225: * ext/fiddle/closure.c (USE_FFI_CLOSURE_ALLOC): add missing case:
RUBY_LIBFFI_MODVERSION is not defined (usually on Windows). naruse (Yui NARUSE)
01:11 AM Revision 40224: mkmf.rb: suppress warnings
* lib/mkmf.rb (try_func, try_var, scalar_ptr_type, scalar_type):
suppress implicit-function-declaration warnings.
nobu (Nobuyoshi Nakada)
12:27 AM Revision 40223: * dir.c (file_s_fnmatch): Document File::FNM_EXTGLOB flag.
zzak (Zachary Scott)
12:18 AM Revision 40222: * README: Fix typo by Benjamin Winkler [Fixes GH-281]
zzak (Zachary Scott)


09:59 PM Revision 40221: Explictly flush stdio
naruse (Yui NARUSE)
09:16 PM Revision 40220: * regint.h: fix typo: _M_AMD86 -> _M_AMD64.
* siphash.c: ditto.
* st.c: ditto.
naruse (Yui NARUSE)
09:15 PM Revision 40219: * ext/fiddle/extconf.rb: define RUBY_LIBFFI_MODVERSION macro.
* ext/fiddle/closure.c (USE_FFI_CLOSURE_ALLOC): define 0 or 1
with platform and libffi's version. [Bug #3371]
naruse (Yui NARUSE)
09:15 PM Revision 40218: * lib/mkmf.rb (pkg_config): Add optional argument "option".
If it is given, it returns the result of
`pkg-config --<option> <pkgname>`.
naruse (Yui NARUSE)
06:35 PM Revision 40217: * 2013-04-11
06:35 PM Revision 40216: * ext/fiddle/closure.c (initialize): check mprotect's return value.
If mprotect is failed because of PaX or something, its function call
will cause SEGV.
naruse (Yui NARUSE)
08:39 AM Revision 40215: * ext/bigdecimal/bigdecimal.c (VpCtoV): Initialize a local variable
even when overflow. akr (Akira Tanaka)
03:34 AM Revision 40214: * bignum.c (rb_ll2big): Don't overflow on signed integer negation.
* ext/bigdecimal/bigdecimal.c (MUL_OVERFLOW_SIGNED_VALUE_P): New
(AddExponent): Don't overflow on signed i...
akr (Akira Tanaka)
02:38 AM Revision 40213: parse.y: mrhs_arg
* parse.y (mrhs_arg): reduce duplicated code. nobu (Nobuyoshi Nakada)
02:10 AM Revision 40212: fix a typo and indent with tab instead of spaces


10:47 PM Revision 40211: Refactored.
akr (Akira Tanaka)
09:37 PM Revision 40210: * 2013-04-10
09:37 PM Revision 40209: * internal.h (MUL_OVERFLOW_INT_P): New macro.
* sprintf.c (GETNUM): Don't overflow on signed integer multiplication. akr (Akira Tanaka)
11:39 AM Revision 40208: * internal.h (MUL_OVERFLOW_SIGNED_INTEGER_P): New macro.
* array.c (rb_ary_product): Don't overflow on signed...
akr (Akira Tanaka)
10:53 AM Revision 40207: * lib/open-uri.rb: Support multiple fields with same field
name (like Set-Cookie).
(OpenURI::Meta#metas): New accessor to obtain fields as a Hash from
field name (string) t...
akr (Akira Tanaka)
07:21 AM Revision 40206: test_{env,hash}.rb: descriptive assertions
* test/ruby/test_{env,hash}.rb: use descriptive assertions than plain
nobu (Nobuyoshi Nakada)
06:26 AM Revision 40205: compile.c: append keyword hash to splat
* compile.c (iseq_compile_each): append keyword hash to argument array
to splat if needed. [ruby-core:54094] [Bug ...
nobu (Nobuyoshi Nakada)
01:02 AM Revision 40204: mkmf.rb: timestamp directory
* lib/mkmf.rb (timestamp_file): gather timestamp files in one
directory from each extension directories, with consi...
nobu (Nobuyoshi Nakada)
12:42 AM Revision 40203: io.c: define EWOULDBLOCK
* io.c (Init_IO): define EWOULDBLOCK alway as it is needed always.
and turn runtime branch into preprocessor condit...
nobu (Nobuyoshi Nakada)
12:29 AM Revision 40202: Finish docs for URI::FTP by @darkhelmet [fix GH-274]
hsbt (Hiroshi SHIBATA)
12:26 AM Revision 40201: Fix documentation by @jc00ke [fix GH-278]
hsbt (Hiroshi SHIBATA)
12:24 AM Revision 40200: Fixed comment typo by @qqshfox [fix GH-279]
hsbt (Hiroshi SHIBATA)


08:51 PM Revision 40199: Revert r40194 "mkmf.rb: timestamp directory"
It breaks build. naruse (Yui NARUSE)
08:27 PM Revision 40197: * properties.
nobu (Nobuyoshi Nakada)
08:27 PM Revision 40196: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
07:58 PM Revision 40195: Fix #6154 by introducing new EAGAIN/EWOULDBLOCK/EINPROGRESS
subclasses that include WaitReadable or WaitWritable rather than
extending them into the exception object each time.
headius (Charles Nutter)
06:10 PM Revision 40194: mkmf.rb: timestamp directory
* lib/mkmf.rb (timestamp_file): gather timestamp files in one
directory from each extension directories.
nobu (Nobuyoshi Nakada)
05:44 PM Revision 40193: socket/extconf.rb: add -D
* ext/socket/extconf.rb: $defs needs -D or -U. nothing is added
nobu (Nobuyoshi Nakada)
05:42 PM Revision 40192: socket/extconf.rb: check struct in_addr6
* ext/socket/extconf.rb: check struct in_addr6, which is defined in
VC6 instead of in6_addr.
nobu (Nobuyoshi Nakada)
05:40 PM Revision 40191: option.c: fix macro name
* ext/socket/option.c (optname_to_sym): fix macro name. nobu (Nobuyoshi Nakada)
03:28 PM Revision 40190: * 2013-04-09
03:28 PM Revision 40189: constants.c: fix macro name
* ext/socket/constants.c (rsock_cmsg_type_arg): fix macro name. nobu (Nobuyoshi Nakada)
02:57 PM Revision 40188: object.c: extract common code
* object.c (id_for_setter): extract common code from const, class
variable, instance variable setters.
nobu (Nobuyoshi Nakada)
02:56 PM Revision 40187: ext/depend: fix dependency for nmake
* ext/depend (ENCOBJS, TRANSOBJS): use explicit path to ruby.h for
nobu (Nobuyoshi Nakada)
02:09 PM Revision 40186: ext/depend: fix dependency
* ext/depend (ENCOBJS, TRANSOBJS): fix header dependency, VPATH has
$(srcdir)/include/ruby but not $(srcdir)/includ...
nobu (Nobuyoshi Nakada)
11:31 AM Revision 40185: * ext/depend (ENCOBJS, TRANSOBJS): Add missing dependencies.
yugui (Yuki Sonoda)
08:19 AM Revision 40184: win32ole.c: check arity
* ext/win32ole/win32ole.c (fole_missing): should check actual argument
count before accessing.
nobu (Nobuyoshi Nakada)
07:10 AM Revision 40183: Fixes a build failure of ext/ripper/ripper.c on building out of place.
* (id.h, id.c): Always generated in $(srcdir).
(ext/ripper/ripper.c): Passes $(PATH_SEPARATOR) too to the s...
yugui (Yuki Sonoda)
05:12 AM Revision 40182: test_curses.rb: add sentinel
* test/test_curses.rb (TestCurses#run_curses): add sentinel to get rid
of read pty output after the child process t...
nobu (Nobuyoshi Nakada)
04:06 AM Revision 40181: * lib/cgi/util.rb (CGI::unescapeHTML): fix Hexadecimal numeric character.
[Bug #8183] xibbar (Takeyuki FUJIOKA)
03:08 AM Revision 40180: Suppress warnings
naruse (Yui NARUSE)
03:05 AM Revision 40179: * 2013-04-08
03:05 AM Revision 40178: * object.c (rb_obj_ivar_set): call to_str for string only once.
naruse (Yui NARUSE)


12:28 PM Revision 40175: * object.c (rb_mod_const_set): call to_str for string only once.
to_str was called from rb_is_const_name and rb_to_id before. naruse (Yui NARUSE)
12:18 PM Revision 40174: * object.c (rb_mod_cvar_set): call to_str for string only once.
to_str was called from rb_is_class_name and rb_to_id before. naruse (Yui NARUSE)
05:11 AM Revision 40173: Regexp.escape(RUBY_PLATFORM)
* test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
RUBY_PLATFORM should escape as Regexp,
02:00 AM Revision 40172: * include/ruby/defines.h: Simplify the logic to include sys/select.h.
This fixes a compilation error on Haiku (gcc2 and gcc4).
* Use shared linker as $(CC) for Haiku.
akr (Akira Tanaka)
01:42 AM Revision 40171: * lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.
akr (Akira Tanaka)


07:27 PM Revision 40170: * addr2line.c: use more generic type:
* u_char -> unsigned char
* u_short -> unsigned short
* u_int -> unsigned int
* u_long -> unsigned long
* qua...
naruse (Yui NARUSE)
04:43 PM Revision 40166: Improve ruby-electric-mode.
* misc/ruby-electric.el (ruby-electric-hash): New electric
function that expands a hash sign inside a string or reg...
knu (Akinori MUSHA)
04:02 PM Revision 40165: * strftime.c (rb_strftime_with_timespec): Test yday range.
[ruby-core:44088] [Bug #6247] reported by Ruby Submit. akr (Akira Tanaka)
03:00 PM Revision 40164: * 2013-04-07
03:00 PM Revision 40163: * (AC_CHECK_HEADERS): atomic.h for Solaris atomic_ops.
* ruby_atomic.h: Skip using Solaris10 atomic_ops on Solaris 9 or earlier if atomic.h is not available. [ruby-dev:4722... ngoto (Naohisa Goto)
02:52 PM Revision 40162: * lib/resolv.rb: Support LOC resources.
[ruby-core:23361] [Feature #1436] by JB Smith. akr (Akira Tanaka)
02:45 PM Revision 40161: * addr2line.c: quad_t and u_quad_t is not available on Solaris.
__inline is not available with old compilers on Solaris.
[ruby-dev:47229] [Bug #8227]
ngoto (Naohisa Goto)
02:32 PM Revision 40160: * lib/resolv.rb: Add one-shot multicast DNS support.
[ruby-core:53387] [Feature #8089] by Eric Hodel. akr (Akira Tanaka)
01:16 PM Revision 40159: * lib/resolv.rb (Resolv::DNS.fetch_resource): New method to obtain
full result.
[ruby-dev:43587] [Feature #4788] proposed by Makoto Kishimoto.
akr (Akira Tanaka)
11:21 AM Revision 40158: * ext/socket/socket.c (rsock_sys_fail_raddrinfo): Renamed from
(rsock_sys_fail_raddrinfo_or_sockaddr): Renamed from
akr (Akira Tanaka)
11:04 AM Revision 40157: * ext/socket/socket.c (rsock_sys_fail_sockaddr): Takes struct sockaddr
and socklen_t instead of String object.
(rsock_sys_fail_addrinfo_or_sockaddr): Follow the above change.
* ext/sock...
akr (Akira Tanaka)
07:58 AM Revision 40156: socket/extconf.rb: RSTRING_SOCKLEN
* ext/socket/extconf.rb (RSTRING_SOCKLEN): macro to cast RSTRING_LEN
to socklen_t.
nobu (Nobuyoshi Nakada)
07:58 AM Revision 40155: socket.c: suppress warnings
* ext/socket/socket.c (rsock_sys_fail_sockaddr): cast down explicitly
to suppress warnings.
nobu (Nobuyoshi Nakada)
05:50 AM Revision 40154: * ext/socket/rubysocket.h (SockAddrStringValueWithAddrinfo): New macro.
(rsock_sockaddr_string_value_with_addrinfo): New declaration.
(rsock_addrinfo_inspect_sockaddr): Ditto.
akr (Akira Tanaka)
04:35 AM Revision 40153: * ext/socket/socket.c (rsock_sys_fail_sockaddr): Delete 2nd argument.
* ext/socket/rubysocket.h (rsock_sys_fail_sockaddr): Follow above
akr (Akira Tanaka)
04:14 AM Revision 40152: * ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect only
for String to avoid SEGV. akr (Akira Tanaka)
03:41 AM Revision 40151: * ext/socket/rubysocket.h (rsock_sys_fail_host_port) Wrap by NORETURN.
(rsock_sys_fail_path): Ditto.
(rsock_sys_fail_sockaddr): Ditto.
akr (Akira Tanaka)
02:50 AM Revision 40150: * ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect if the
path contains a NUL. akr (Akira Tanaka)
02:39 AM Revision 40149: * ext/socket: Improve socket exception message to show socket address.
[ruby-core:45617] [Feature #6583] proposed Eric Hodel.
* ext/socket/rubysocket.h (rsock_sys_fail_host_port): Declare...
akr (Akira Tanaka)
02:30 AM Revision 40148: * test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
fix load path for encoding to run the test as stand-alone. shirosaki
12:59 AM Revision 40147: * test/dtrace/helper.rb (DTrace::TestCase#trap_probe): needs to pass
some paths by environment variables. nobu (Nobuyoshi Nakada)
12:56 AM Revision 40146: * ChangeLog: remove duplicated entry due to git-svn conflict.
nobu (Nobuyoshi Nakada)
12:54 AM Revision 40145: pack.c: fix definition order
* pack.c (NATINT_LEN): fix definition order, must be after
nobu (Nobuyoshi Nakada)
12:10 AM Revision 40144: add a comment.
akr (Akira Tanaka)

Also available in: Atom