From 06/02/2013 to 06/08/2013


04:49 PM Revision 41189: Revert r41179 "partially revert r41163 because r41173 didn't fix failure"
r41173 is not actually tested; it seems good. naruse (Yui NARUSE)
04:00 PM Revision 41186: * hash.c (rb_hash): Use rb_integer_pack to obtain least significant
long integer. akr (Akira Tanaka)
03:57 PM Revision 41185: * 2013-06-09
03:57 PM Revision 41184: Fix a typo.
akr (Akira Tanaka)
02:57 PM Revision 41183: * numeric.c (rb_num_to_uint): Use rb_absint_size instead of
RBIGNUM_LEN. akr (Akira Tanaka)
02:26 PM Revision 41182: fix a typo of r41163
02:14 PM Revision 41181: * marshal.c (r_object0): Use rb_integer_unpack.
akr (Akira Tanaka)
01:31 PM Revision 41180: * time.c (v2w): Use rb_absint_size instead of RBIGNUM_LEN.
akr (Akira Tanaka)
01:00 PM Revision 41179: partially revert r41163 because r41173 didn't fix failure naruse (Yui NARUSE)
12:48 PM Revision 41178: * time.c (v2w_bignum): Simplified using rb_integer_pack.
(rb_big_abs_find_maxbit): Removed. akr (Akira Tanaka)
12:05 PM Revision 41177: * bignum.c (rb_absint_singlebit_p): New function.
* internal.h (rb_absint_singlebit_p): Declared.
* time.c (v2w_bignum): Use rb_absint_singlebit_p instead of
akr (Akira Tanaka)
11:25 AM Revision 41176: * time.c (rb_big_abs_find_maxbit): Use rb_absint_size.
(bdigit_find_maxbit): Removed. akr (Akira Tanaka)
10:48 AM Revision 41175: * class.c (include_modules_at): invalidate method cache if included
module contains constants
* test/ruby/test_module.rb: add test
charliesome (Charlie Somerville)
10:33 AM Revision 41174: * random.c (limited_big_rand): declare rnd, lim and mask as uint32_t
to avoid 64 bit to 32 bit shorten warnings. charliesome (Charlie Somerville)
10:26 AM Revision 41173: * win32/Makefile.sub: r41163 changed win32/win32.c and
but it didn't treat about mswin32/mswin64, so fix it.
NOTE: this needs a review by usa whether additional condition...
naruse (Yui NARUSE)
10:07 AM Revision 41172: * random.c: Unused RBignum internal accessing macros removed.
akr (Akira Tanaka)
10:05 AM Revision 41171: * random.c (limited_big_rand): The argument, limit, is changed to
VALUE. Use rb_integer_pack and rb_integer_unpack. akr (Akira Tanaka)
08:15 AM Revision 41170: * random.c (make_seed_value): Fix the length given for
rb_integer_unpack. akr (Akira Tanaka)
07:40 AM Revision 41169: * bignum.c (rb_integer_unpack): Don't use rb_funcall if possible.
* random.c: Use uint32_t for elements of seed.
(make_seed_value): Use rb_integer_unpack.
akr (Akira Tanaka)
07:01 AM Revision 41168: * random.c (rand_init): Add a cast to fix clang compile error:
random.c:410:32: error: implicit conversion loses integer precision:
'size_t' (aka 'unsigned long') to 'int' [-Werr...
akr (Akira Tanaka)
06:46 AM Backport #8072: Method#arity for keyword arguments
Ruby has outgrown #arity. Today, plain #arity should only return positive value,
when the function has only compu...
06:46 AM Revision 41167: * random.c (rand_init): Use rb_integer_pack.
(roomof): Removed. akr (Akira Tanaka)
06:00 AM Revision 41166: Remove a trailing space
akr (Akira Tanaka)
06:00 AM Revision 41165: * internal.h (INTEGER_PACK_FORCE_BIGNUM): New flag constant.
* bignum.c (rb_integer_unpack): Support INTEGER_PACK_FORCE_BIGNUM.
* random.c (int_pair_to_real_inclusive): Use
akr (Akira Tanaka)
05:40 AM Revision 41164: Re-add removed entries by r41163.
akr (Akira Tanaka)
05:17 AM Revision 41163: win32.c: NET_LUID
* check for NET_LUID. header macro varies across
complier versions.
* win32/win32.c: use configured ...
nobu (Nobuyoshi Nakada)
03:01 AM Revision 41162: * random.c (int_pair_to_real_inclusive): Use rb_funcall instead of
rb_big_mul because rb_integer_unpack can return a Fixnum. akr (Akira Tanaka)
02:18 AM Revision 41161: * random.c (int_pair_to_real_inclusive): Use rb_integer_pack.
akr (Akira Tanaka)
12:50 AM Revision 41160: * random.c (int_pair_to_real_inclusive): Use rb_integer_unpack.
akr (Akira Tanaka)


11:12 PM Revision 41159: * random.c (random_load): Use rb_integer_pack.
akr (Akira Tanaka)
10:16 PM Revision 41158: Refine error messages.
akr (Akira Tanaka)
09:16 PM Revision 41157: * random.c (numberof): Removed.
akr (Akira Tanaka)
09:01 PM Revision 41156: * random.c: include internal.h.
(mt_state): Use rb_integer_unpack. akr (Akira Tanaka)
03:56 PM Revision 41155: * bignum.c (integer_pack_loop_setup): word_num_nailbytes_ret argument
(rb_integer_pack): Follow the above change.
(rb_integer_unpack): Follow the above change.
akr (Akira Tanaka)
03:39 PM Revision 41154: * bignum.c (validate_integer_pack_format): Renamed from
(integer_pack_loop_setup): Renamed from integer_format_loop_setup.
akr (Akira Tanaka)
03:10 PM Revision 41153: Delete an empty line.
akr (Akira Tanaka)
03:02 PM Revision 41152: * 2013-06-08
03:02 PM Revision 41151: * bignum.c (rb_integer_pack): Arguments changed. Use flags to
specify word order and byte order.
(rb_integer_unpack): Ditto.
(validate_integer_format): Follow the above change...
akr (Akira Tanaka)
02:22 PM Revision 41150: * variable.c (rb_const_set): fix missing semicolon.
ktsj (Kazuki Tsujimoto)
01:25 PM Revision 41149: * variable.c (rb_const_set): fix variable type.
nobu (Nobuyoshi Nakada)
01:17 PM Revision 41148: * lib/rubygems/specification.rb (Gem::Specification#to_yaml):
use Gem::NoAliasYAMLTree.create instead of
to suppress deprecated warnings.
naruse (Yui NARUSE)
12:41 PM Revision 41147: * bignum.c (rb_integer_pack): Renamed from rb_int_export.
(rb_integer_unpack): Renamed from rb_int_import.
* internal.h, pack.c: Follow the above change.
akr (Akira Tanaka)
12:16 PM Revision 41146: Update comment.
akr (Akira Tanaka)
12:06 PM Revision 41145: * bignum.c (integer_format_loop_setup): Extracted from rb_int_export
and rb_int_import. akr (Akira Tanaka)
10:49 AM Revision 41144: * bignum.c (validate_integer_format): Extracted from rb_int_export and
rb_int_import. akr (Akira Tanaka)
10:24 AM Revision 41143: * bignum.c (rb_absint_size): Use numberof.
(rb_int_export): Ditto. akr (Akira Tanaka)
10:01 AM Revision 41142: * internal.h (numberof): Gathered from various files.
* array.c, math.c, thread_pthread.c, iseq.c, enum.c, string.c, io.c,
load.c, compile.c, struct.c, eval.c, gc.c, par...
akr (Akira Tanaka)
09:40 AM Revision 41141: Fix a typo.
akr (Akira Tanaka)
09:25 AM Revision 41140: * bignum.oc (rb_absint_size): Declare a variable, i, just before used
to suppress a warning.
(rb_int_export): Ditto.
akr (Akira Tanaka)
08:41 AM Revision 41139: * bignum.c (rb_absint_size): explicit cast to BDIGIT to avoid implicit
64 bit to 32 bit shortening warning
* bignum.c (rb_int_export): ditto
* bignum.c (int_import_push_bits): ditto
charliesome (Charlie Somerville)
08:31 AM Revision 41138: * internal.h (RCLASS_SUPER): use descriptive variable name
* internal.h (RCLASS_SET_SUPER): ditto charliesome (Charlie Somerville)
06:57 AM Revision 41137: fix a typo for r41123
06:57 AM Revision 41136: fix a typo for r41128
04:45 AM Revision 41135: * ext/json/fbuffer/fbuffer.h (fbuffer_append_str): change the place of
RB_GC_GUARD. it should be after the object is used. naruse (Yui NARUSE)
04:25 AM Revision 41134: * gc.c (before_gc_sweep): noinline can also avoid the segv instead of
-O0 of r41084. this way is expected less slow. naruse (Yui NARUSE)
02:52 AM Revision 41133: adjust style
nobu (Nobuyoshi Nakada)
02:50 AM Revision 41132: * rational.c (numeric_quo): move num_quo in numeric.c to numeric_quo
in rational.c to refer canonicalization state for mathn support.
[ruby-core:41575] [Bug #5736]
* numeric.c (num_qu...
mrkn (Kenta Murata)
02:49 AM Revision 41131: * gc.c (gc_clear_slot_bits): used only if no RGenGC.
nobu (Nobuyoshi Nakada)
02:41 AM Revision 41130: use NUM2SIZET and SIZET2NUM
* revert r41106. size_t may not be unsigned
* bignum.c (rb_absint_size_in_word, rb_int_export, rb_int...
nobu (Nobuyoshi Nakada)
02:36 AM Revision 41129: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
02:32 AM Revision 41128: * gc.c: use oldgen bitmap as initial mark bitmap when mijor gc.
so can skip oldgen bitmap check around mark & sweep.
* gc.c (slot_sweep_body): change scan algorithm for performance...
tarui (Masaya Tarui)
02:28 AM Revision 41127: * gc.c: introduce oldgen bitmap for preparing performance tuning.
tarui (Masaya Tarui)
02:25 AM Revision 41126: * gc.c (MARKED_IN_BITMAP, MARK_IN_BITMAP, CLEAR_IN_BITMAP): bring
bitmap macros in one place, and introduce BITMAP_BIT. tarui (Masaya Tarui)
02:21 AM Revision 41125: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
02:20 AM Revision 41124: * array.c (ary_new): change order of allocation in order
to remove FL_OLDGEN operation. tarui (Masaya Tarui)
02:18 AM Revision 41123: * tool/rdocbench.rb: add gc total time infomation.
tarui (Masaya Tarui)
01:23 AM Revision 41122: typo
zzak (Zachary Scott)
01:17 AM Revision 41121: * gc.c: remove "Sunny" terminology.
"Sunny" doesn't mean antonym of "Shady" (questionable, doubtful, etc).
Instead of "Suuny", use "non-shady" or "norm...
ko1 (Koichi Sasada)
12:29 AM Revision 41120: * bignum.c (rb_int_import): explicitly casting BDIGIT_DBL to BDIGIT
to prevent warning. mrkn (Kenta Murata)


11:05 PM Revision 41119: Arguments renamed.
akr (Akira Tanaka)
11:05 PM Revision 41118: Fix the class name.
akr (Akira Tanaka)
10:31 PM Revision 41117: * internal.h (rb_int_export): countp argument is split into
wordcount_allocated and wordcount.
* bignum.c (rb_int_export): Follow the above change.
* pack.c (pack_pack): Ditto.
akr (Akira Tanaka)
10:18 PM Revision 41116: * NEWS: describe a compatibility issue of Numeric#quo
introduced at r41109. mrkn (Kenta Murata)
10:16 PM Revision 41115: * NEWS: fix style.
mrkn (Kenta Murata)
09:49 PM Revision 41114: * numeric.c: remove unused ID id_to_r introduced in r41109.
Eregon (Benoit Daloze)
09:21 PM Revision 41113: * properties.
nobu (Nobuyoshi Nakada)
09:20 PM Revision 41112: * 2013-06-07
09:20 PM Revision 41111: * bignum.c (rb_int_import): New function.
(int_import_push_bits): Ditto.
* internal.h (rb_int_import): Declared.
* pack.c (pack_unpack): Use rb_int_import fo...
akr (Akira Tanaka)
02:40 PM Revision 41110: vm_method.c: change argument of set_visibility
* vm_method.c (set_visibility): use rb_method_flag_t as well as
set_method_visibility() and rename argument.
nobu (Nobuyoshi Nakada)
01:31 PM Revision 41109: * numeric.c (num_quo): Use to_r method to convert the receiver to
rational. [ruby-core:41575] [Bug #5736]
* test/ruby/test_numeric.rb: add a test for the above change.
mrkn (Kenta Murata)
01:01 PM Revision 41108: * properties.
nobu (Nobuyoshi Nakada)
12:58 PM Revision 41107: Specify dependencies.
akr (Akira Tanaka)
11:57 AM Revision 41106: * Invoke RUBY_REPLACE_TYPE for size_t.
Don't invoke RUBY_CHECK_PRINTF_PREFIX for size_t to avoid conflict
* internal.h (rb_absint...
akr (Akira Tanaka)
10:33 AM Revision 41105: * ext/date/date_core.c: fixed coding error [ruby-core:55337].
reported by Riley Lynch. tadf (tadayoshi funaba)
05:18 AM Revision 41104: * ext/objspace/object_tracing.c: rename allocation_info to
lookup_allocation_info. At times I confused "struct
allocation_info" with "function allocation_info".
05:10 AM Revision 41103: * ext/objspace/object_tracing.c: allocation_info function isn't
called by any other file. nari
04:53 AM Revision 41102: Remove empty directories.
knu (Akinori MUSHA)
03:00 AM Revision 41101: fix a typo
02:27 AM Revision 41100: vm_method.c: top_private rdoc
* vm_method.c (top_private): copy rdoc from top_public. nobu (Nobuyoshi Nakada)
01:04 AM Revision 41099: * numeric.c (num_quo): should return a Float for a Float argument.
[ruby-dev:44710] [Bug #5515]
* test/ruby/test_fixnum.rb: Add an assertion for the above change.
* test/ruby/test_bi...
mrkn (Kenta Murata)


04:16 PM Revision 41098: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
04:15 PM Revision 41097: * gc.c (gc_mark): get rid of pushing useless objests.
* gc.c (rgengc_rememberset_mark): bypass gc_mark() in order to push
sunny old object at minor gc.
* gc.c (gc_mark...
tarui (Masaya Tarui)
04:01 PM Revision 41096: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
03:57 PM Revision 41095: * gc.c (rgengc_rememberset_mark): change scan algorithm for performance:
from object's pointer base to bitmap one. tarui (Masaya Tarui)
03:32 PM Revision 41094: * win32/win32.c (NET_LUID): define it on MinGW32.
mingw-w64 has NET_LUID but mingw32 ( still doesn't have
NET_LUID. reported by taco on IRC
naruse (Yui NARUSE)
03:05 PM Revision 41093: * 2013-06-06
03:05 PM Revision 41092: * string.c (String#b): Allow code range scan to happen later so
ascii_only? on a result string returns the correct value.
[ruby-core:55315] [Bug #8496]
knu (Akinori MUSHA)
01:44 PM Revision 41091: * lib/net/imap.rb (capability_response): should ignore trailing
spaces. Thanks, Peter Kovacs. [ruby-core:55024] [Bug #8415]
* test/net/imap/test_imap_response_parser.rb: related ...
shugo (Shugo Maeda)
12:17 PM Revision 41090: * bignum.c (big_fdiv): Use nlz() instead of bdigbitsize().
(bdigbitsize): Removed. akr (Akira Tanaka)
11:53 AM Revision 41089: add description of test in comment
11:35 AM Revision 41088: * include/ruby/ruby.h: fix alignment in comment.
mrkn (Kenta Murata)
11:32 AM Revision 41087: add parentheses for clarity
charliesome (Charlie Somerville)
11:07 AM Revision 41086: * random.c (int_pair_to_real_inclusive): Add a cast to BDIGIT.
(random_load): Fix shift width for fixnums.
Re-implement bignum extraction without ifdefs.
akr (Akira Tanaka)
06:36 AM Revision 41085: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
06:31 AM Revision 41084: use attribute is more simple way for r41083
naruse (Yui NARUSE)
06:27 AM Revision 41083: * gc.c (before_gc_sweep): don't optimize it to avoid segv on Ubuntu
10.04 gcc 4.4.
naruse (Yui NARUSE)
01:43 AM Revision 41081: * tool/mkrunnable.rb: fix for native mswin compile.
nobu (Nobuyoshi Nakada)
12:48 AM Revision 41080: * test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add
EACCES for Windows. naruse (Yui NARUSE)


11:15 PM Revision 41079: * bignum.c (rb_big_pow): Don't need to multiply SIZEOF_BDIGITS.
Use nlz instead of bitlength_bdigit.
(bitlength_bdigit): Removed.
akr (Akira Tanaka)
10:18 PM Revision 41078: * ext/date/date_core.c (d_lite_cmp, d_lite_equal): simplified.
tadf (tadayoshi funaba)
10:09 PM Revision 41077: * ext/date/date_core.c: fixed a bug [ruby-core:55295]. reported
by Riley Lynch. tadf (tadayoshi funaba)
09:54 PM Revision 41076: * lib/rubygems: Update to RubyGems 2.0.3
* test/rubygems: Tests for the above.
* NEWS: Added RubyGems 2.0.3 note.
drbrain (Eric Hodel)
09:35 PM Revision 41075: * doc/marshal.rdoc: Add description of Marshal format.
drbrain (Eric Hodel)
04:16 PM Revision 41074: * array.c (Array#+): fix documentation example.
Patch by Logan Serman. [Fixes GH-324] Eregon (Benoit Daloze)
03:33 PM Revision 41071: * lib/irb/lc/ja/help-message: update help messages.
following r41028. [ruby-dev:46707] [Feature #7510] ayumin (Ayumu AIZAWA)
03:10 PM Revision 41070: * 2013-06-05
03:10 PM Revision 41069: * marshal.c (r_object0): Generalize a round up expression.
Use BDIGIT instead of int. akr (Akira Tanaka)
02:47 PM Revision 41066: * object.c (rb_Hash): fix docs. patched by Stefan Schüßler.
[ruby-core:55299] [Bug #8487] ayumin (Ayumu AIZAWA)
02:17 PM Revision 41062: * lib/irb/completion.rb: Use %w literal construction for long lists.
Patch by Dave Goodchild. [Fixes GH-299] Eregon (Benoit Daloze)
02:09 PM Revision 41061: * ext/objspace/objspace.c: improve wording and remove duplicated comment.
Based on a patch by Dave Goodchild. [Fixes GH-299] Eregon (Benoit Daloze)
09:42 AM Revision 41060: * bignum.c (bitlength_bdigit): Fix an off-by-one error.
akr (Akira Tanaka)
08:23 AM Revision 41059: adjust style
* process.c (rb_execarg_get): adjust style. nobu (Nobuyoshi Nakada)
06:37 AM Revision 41058: * ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): fix the number
of figures. Patch by Vipul A M <>. fix GH-323
* test/...
mrkn (Kenta Murata)
03:47 AM Revision 41057: Add more comment about r41041
naruse (Yui NARUSE)


03:46 PM Revision 41055: add EEXIST for Linux
* test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add
EEXIST for Linux. (suggested by nurse)
03:01 PM Revision 41053: * 2013-06-04
03:01 PM Revision 41052: FileUtils.rmdir use remove_tailing_slash
* lib/fileutils.rb (FileUtils.rmdir): use remove_tailing_slash.
* test/fileutils/test_fileutils.rb: test for above.
02:49 PM Revision 41050: * bignum.c (bitlength_bdigit): New function.
(rb_big_pow): Use bitlength_bdigit instead of ffs. akr (Akira Tanaka)
02:46 PM Revision 41049: Don't run test-all because it often happens false positive
naruse (Yui NARUSE)
02:22 PM Revision 41048: fix a typo
02:20 PM Revision 41047: * lib/fileutils.rb: fix behavior when mkdir/mkdir_p accepted "/".
* test/fileutils/test_fileutils.rb: add test for above change. ayumin (Ayumu AIZAWA)
10:02 AM Revision 41046: dir.c: use fd to fstatfs
* dir.c (is_hfs): use the file descriptor instead of a path. nobu (Nobuyoshi Nakada)
08:16 AM Revision 41045: * vm_insnhelper.c (vm_yield_setup_block_args): add comment for r41041.
nobu (Nobuyoshi Nakada)
02:38 AM Revision 41044: * lib/cgi/cookie.rb (inspect): add inspect for debug.
xibbar (Takeyuki FUJIOKA)
02:37 AM Revision 41043: add some rdoc
* add reference to spawn to fork
* add an example which runs ruby
naruse (Yui NARUSE)


10:38 PM Revision 41042: * removes AC_CHECK_FUNCS(readdir_r). readdir_r()
is only used from dir.c and it doesn't need readdir_r().
kosaki (Motohiro KOSAKI)
06:44 PM Revision 41041: * vm_insnhelper.c (vm_yield_setup_block_args): partially revert r41019.
The code is not useless. naruse (Yui NARUSE)
04:37 PM Revision 41040: * test/socket/test_sockopt.rb: change test name. follow r41037.
ayumin (Ayumu AIZAWA)
04:15 PM Revision 41039: * test/rinda/test_rinda.rb: rename functions introduced in r41009.
ayumin (Ayumu AIZAWA)
03:59 PM Revision 41038: * 2013-06-03
03:59 PM Revision 41037: follow r41034
naruse (Yui NARUSE)
02:46 PM Revision 41036: Suppress warnings: setting Encoding.default_internal
naruse (Yui NARUSE)
02:36 PM Revision 41035: * enc/trans/japanese_euc.trans, test/ruby/test_transcode.rb,
tool/transcode-tblgen.rb: change EUC-JP-2004 to EUC-JIS-2004.
This is follow up to changes in r41024.
ktsj (Kazuki Tsujimoto)
02:24 PM Revision 41034: * ext/socket/option.c: rename functions introduced in r41009
s/ip/ipv4/g because they are ipv4 functions.
(there's a policy that the name "ip" is for methods which supports
naruse (Yui NARUSE)
07:15 AM Revision 41032: dln_find.c: deprecated functions
* dln_find.c (dln_find_exe, dln_find_file): remove deprecated
non-reentrant functions.
nobu (Nobuyoshi Nakada)
07:15 AM Revision 41031: dln_find.c: unused macros
* dln_find.c: remove unused macros. nobu (Nobuyoshi Nakada)
06:06 AM Revision 41030: * lib/cgi/util.rb, lib/erb.rb: Use String#b [Feature #8394] by znz
zzak (Zachary Scott)
05:59 AM Revision 41029: math.c: ASCII minus
* math.c: use ASCII minus (-) instead of U+2212. nobu (Nobuyoshi Nakada)
05:11 AM Revision 41028: * lib/irb/lc/help-message: Apply english updates for irb --help #7510
zzak (Zachary Scott)
03:12 AM Revision 41027: fill rdocs
nobu (Nobuyoshi Nakada)
03:05 AM Revision 41026: * range.c: Fix rdoc on Range#bsearch [Bug #8242] [ruby-core:54143]
zzak (Zachary Scott)

Also available in: Atom