From 03/29/2013 to 04/04/2013


09:36 PM Revision 40115: * 2013-04-05
09:36 PM Revision 40114: object.c: avoid inadvertent symbol creation
* object.c (rb_mod_cvar_set): fix typo. nobu (Nobuyoshi Nakada)
02:55 PM Revision 40112: * lib/resolv.rb (bind_random_port): Rescue EACCES for SunOS.
bind() on SunOS for port 2049 (nfs) and 4045 (lockd) causes
EACCES with unprivileged process. cf. PRIV_SYS_NFS in ...
akr (Akira Tanaka)
02:25 PM Revision 40111: * ext/socket/extconf.rb: Remove condition for bcc.
akr (Akira Tanaka)
01:54 PM Revision 40110: * include/ruby/ruby.h (FIX2LONG): Parenthesize the macro body.
akr (Akira Tanaka)
01:37 PM Revision 40109: * time.c (time_strftime): Describe %L and %N truncates digits under
the specified length.
[ruby-core:52130] [Bug #7829]
akr (Akira Tanaka)
01:26 PM Revision 40108: * object.c (rb_mod_cvar_set): Reverted "avoid inadvertent
symbol creation" to avoid SEGV by, 2).
akr (Akira Tanaka)
11:12 AM Revision 40107: * ext/pathname/pathname.c (path_write): New method.
(path_binwrite): Ditto.
[ruby-core:49468] [Feature #7378]
akr (Akira Tanaka)
08:23 AM Revision 40106: envutil.rb: assert stderr if marshal failed
* test/ruby/envutil.rb (assert_separately): force to assert stderr to
be empty if marshal failed, as something is e...
nobu (Nobuyoshi Nakada)
08:23 AM Revision 40105: reduce overhead of TYPE
* array.c (ary_join_1): reduce overhead of TYPE().
* eval.c (rb_frozen_class_p, rb_mod_{append,prepend}_features): d...
nobu (Nobuyoshi Nakada)
08:18 AM Revision 40104: object.c: avoid inadvertent symbol creation
* object.c (rb_mod_const_set): fix symbol name check.
(rb_obj_ivar_set): ditto.
(rb_mod_cvar_set): ditto.
nobu (Nobuyoshi Nakada)
08:01 AM Revision 40103: * thread_pthread.c: Fixes wrong scopes of #if USE_SLEEPY_TIMER_THREAD
.. #endif sections. This fixes a build error on NativeClient. yugui (Yuki Sonoda)
08:01 AM Revision 40102: * thread_pthread.c (ruby_init_stack): Avoid using uninitialized value.
stackaddr and size are not set if get_stack() fails. yugui (Yuki Sonoda)
07:55 AM Revision 40101: struct.c: avoid inadvertent symbol creation
* struct.c (make_struct): avoid inadvertent symbol creation.
(rb_struct_aref): ditto.
(rb_struct_aset): ditto.
nobu (Nobuyoshi Nakada)
07:54 AM Revision 40100: object.c: avoid inadvertent symbol creation
* object.c (rb_mod_const_set): avoid inadvertent symbol creation.
(rb_obj_ivar_set): ditto.
(rb_mod_cvar_set): di...
nobu (Nobuyoshi Nakada)
06:46 AM Revision 40097: enum.c: avoid inadvertent symbol creation
* enum.c (enum_inject): avoid inadvertent symbol creation. nobu (Nobuyoshi Nakada)
05:37 AM Revision 40096: thread.c: avoid inadvertent symbol creation
* thread.c (rb_thread_aref): avoid inadvertent symbol creation.
(rb_thread_variable_get): ditto.
nobu (Nobuyoshi Nakada)
05:37 AM Revision 40095: thread.c: error message
* thread.c (rb_thread_variable_get): fix error message. getter
doesn't modify thread variables.
nobu (Nobuyoshi Nakada)
02:35 AM Revision 40094: * ext/openssl/ossl_bn.c (ossl_bn_to_i): Use bn2hex to speed up.
In general, binary to/from decimal needs extra cost. naruse (Yui NARUSE)


10:24 PM Revision 40092: * ext/socket/extconf.rb: Specify arguments to test functions.
akr (Akira Tanaka)
06:29 PM Revision 40091: * 2013-04-04
06:28 PM Revision 40090: * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix can't create from bn.
naruse (Yui NARUSE)
01:10 PM Revision 40086: * ext/socket/extconf.rb: Test functions and libraries after headers.
akr (Akira Tanaka)
12:36 PM Revision 40085: Add comment.
akr (Akira Tanaka)
12:25 PM Revision 40084: * io.c (rb_io_seek_m): Accept :CUR, :END, :SET as "whence" argument.
(interpret_seek_whence): New function.
[ruby-dev:45818] [Feature #6643]
akr (Akira Tanaka)
11:55 AM Revision 40083: * process.c: Describe the behavior which Ruby invokes a commandline
directly without shell if the commandline is simple enough.
[ruby-core:50459] [Bug #7489]
akr (Akira Tanaka)
11:43 AM Revision 40082: fix a typo in NEWS
11:28 AM Revision 40081: * ext/extmk.rb (extmake): Invoke Logging::log_close in a ensure
clause. akr (Akira Tanaka)
10:00 AM Revision 40080: * ext/extmk.rb (extmake): Use to switch stdout and
stderr. Delay Logging::log_close until the failure message is
written. Write the failure message only if log file...
akr (Akira Tanaka)
08:11 AM Revision 40079: win32.c: pass through unknown sequence
* win32/win32.c (constat_apply): pass through unknown sequence which
starts with ESC but is not followed by a brack...
nobu (Nobuyoshi Nakada)
08:11 AM Revision 40078: win32.c: pass through unknown sequence
* win32/win32.c (constat_apply): pass through unknown sequence which
starts with ESC but is not followed by a brack...
nobu (Nobuyoshi Nakada)
07:35 AM Revision 40077: bignum.c: hide intermediate Bignums
* bignum.c (rb_big_eq): hide intermediate Bignums not just freeing
memory. [ruby-core:53893] [Bug #8204]
* object....
nobu (Nobuyoshi Nakada)
07:34 AM Revision 40076: bignum.c: Bignum zero comparison
* bignum.c (rb_big_eq): test as Fixnum if possible and get rid of zero
length Bignum. [ruby-core:53893] [Bug #8204]
nobu (Nobuyoshi Nakada)


03:09 PM Revision 40073: * 2013-04-03
03:09 PM Revision 40072: * lib/securerandom.rb (SecureRandom.random_bytes): Use
OpenSSL::Random.random_add instead of OpenSSL::Random.seed and
specify 0.0 as the entropy.
[ruby-core:47308] [Bug...
akr (Akira Tanaka)
02:58 PM Revision 40070: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
02:58 PM Revision 40069: win32.c: missing break
* win32/win32.c (constat_attr): fix missing break. nobu (Nobuyoshi Nakada)
11:31 AM Revision 40068: add ML ref.
akr (Akira Tanaka)
11:28 AM Revision 40067: * pack.c: Support Q! and q! for long long.
(natstr): Moved to toplevel. Add q and Q if there is long long type.
(endstr): Moved to toplevel.
akr (Akira Tanaka)
10:26 AM Revision 40066: * ext/-test-/num2int/num2int.c: Define utility methods
as module methods of Num2int.
* test/-ext-/num2int/test_num2int.rb: Follow the above change.
akr (Akira Tanaka)
10:08 AM Revision 40065: * lib/securerandom.rb: Don't use Array#to_s.
[ruby-core:52058] [Bug #7811] fixed by zzak (Zachary Scott). akr (Akira Tanaka)
09:48 AM Revision 40064: update doc.
akr (Akira Tanaka)
08:44 AM Revision 40063: * re.c (rb_reg_to_s): suppress duplicated charclass warning.
Regexp#to_s suppress extra its whole regexp options by calling
onig_new with its source, but it doesn't call rb_reg...
naruse (Yui NARUSE)
07:02 AM Revision 40062: * vm_dump.c (rb_print_backtrace): separate to ease showing C backtrace.
* internal.h (rb_print_backtrace): ditto. naruse (Yui NARUSE)
06:28 AM Revision 40061: Add ignore_stderr because it outputs "circular require" warnings
naruse (Yui NARUSE)
06:28 AM Revision 40060: Use assert_separately to speed up on test-all
naruse (Yui NARUSE)
06:28 AM Revision 40059: * test/ruby/envutil.rb (assert_separately): stop_auto_run of
Test::Unit::Runner to prevent auto runner use ARGV.
* test/ruby/envutil.rb (assert_separately): add $: to separate p...
naruse (Yui NARUSE)
06:28 AM Revision 40058: Suppress warnings
naruse (Yui NARUSE)
06:28 AM Revision 40057: use long_ary to suppress warning
naruse (Yui NARUSE)
02:14 AM Revision 40049: Suppress warnings
naruse (Yui NARUSE)
02:02 AM Revision 40048: fix typo: s/@ca_cert/@cacert/
naruse (Yui NARUSE)


10:59 PM Revision 40047: Unused module removed.
akr (Akira Tanaka)
10:45 PM Revision 40046: conditional test fixed.
akr (Akira Tanaka)
10:41 PM Revision 40045: more tests.
akr (Akira Tanaka)
09:49 PM Revision 40044: * ext/-test-/num2int/num2int.c: Rename utility methods
to global functions to ease manual experiments.
* test/-ext-/num2int/test_num2int.rb: Follow the above change.
akr (Akira Tanaka)
03:10 PM Revision 40043: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
03:00 PM Revision 40042: * 2013-04-02
03:00 PM Revision 40041: test_optparse.rb: skip no_error in backtrace
* test/optparse/test_optparse.rb (TestOptionParser#assert_no_error):
prefix with assert_ so it will be skipped in b...
nobu (Nobuyoshi Nakada)
01:34 PM Revision 40040: * ext/zlib/zlib.c (rb_gzfile_set_mtime): Use NUM2UINT.
The old logic doesn't work well on LP64 platforms as:
.. -2**63-1 => error,
-2**63 .. -2**62-1 => success,
akr (Akira Tanaka)
01:08 PM Revision 40039: * ext/zlib/zlib.c (
Fix documentation syntax and naming errors.
Based on patch by Robin Dupret. Fix GH-271.
Eregon (Benoit Daloze)
12:22 PM Revision 40038: * test/-ext-/num2int/test_num2int.rb: Test small bignums.
akr (Akira Tanaka)
12:14 PM Revision 40037: * numeric.c (rb_num2ulong_internal): Don't cast a negative double value
into unsigned long, which is undefined behavior.
(rb_num2ull): Don't cast a value bigger than LLONG_MAX into
akr (Akira Tanaka)
11:58 AM Revision 40036: * ext/-test-/num2int/num2int.c: Return string for result, instead of
* test/-ext-/num2int/test_num2int.rb: updated to follow above change.
akr (Akira Tanaka)
11:08 AM Revision 40035: * numeric.c (rb_num2long): Don't use SIGNED_VALUE uselessly.
(check_int): Ditto.
(check_short): Ditto.
(rb_num2fix): Ditto.
(rb_num2ulong_internal): Add a cast.
akr (Akira Tanaka)
09:41 AM Revision 40034: prereq 2.67
* skip autoconf 2.64 and 2.66, 2.67 seems short-lived
but stick on it for Debian Squeeze.
nobu (Nobuyoshi Nakada)
09:39 AM Revision 40033: sha2.c: suppress warnings
* ext/digest/sha2/sha2.c (SHA256_Final, SHA512_Last): suppress
strict-aliasing warnings on gcc 4.8.
nobu (Nobuyoshi Nakada)
07:00 AM Revision 40032: fix a typo
05:41 AM Revision 40031: clang check
* should not use AC_COMPILE_IFELSE before
nobu (Nobuyoshi Nakada)
05:22 AM Revision 40030: clang check
* check clang version by predefined macro values.
[Bug #8192]
nobu (Nobuyoshi Nakada)
03:06 AM Revision 40029: * numeric.c (check_uint): Take the 1st argument as unsigned long,
instead of VALUE. Refine the validity test conditions.
(check_ushort): Ditto.
akr (Akira Tanaka)


11:16 PM Revision 40028: * use 'test' instead quadrigraph.
ayumin (Ayumu AIZAWA)
10:19 PM Revision 40027: * use quadrigraph to put '[' or ']'. [Bug #8192]
ayumin (Ayumu AIZAWA)
07:24 PM Revision 40026: Fix build failure introduced by previous commit
naruse (Yui NARUSE)
07:18 PM Revision 40025: * kick old clang. [ruby-dev:47204] [Bug #8192]
naruse (Yui NARUSE)
04:14 PM Revision 40024: * 2013-04-01
04:14 PM Revision 40023: * include/ruby/ruby.h (FIX2ULONG): Make it consistent with NUM2ULONG.
* ext/-test-/num2int/num2int.c: Add utility methods for FIX2XXX tests.
* test/-ext-/num2int/test_num2int.rb: Add tes...
akr (Akira Tanaka)
08:18 AM Revision 40022: proc.c: consider noex in define_method
* proc.c (rb_mod_define_method): consider visibility in define_method.
patch by mashiro <mail AT>. fix...
nobu (Nobuyoshi Nakada)
08:18 AM Revision 40021: test_method.rb: split
* test/ruby/test_method.rb (test_define_method): split for each tests. nobu (Nobuyoshi Nakada)
07:51 AM Revision 40020: more tests.
akr (Akira Tanaka)
06:40 AM Revision 40019: win32/configure.bat: option arguments
* win32/configure.bat: try to fix option arguments split by commas and
equals here. this batch file no longer run ...
nobu (Nobuyoshi Nakada)
05:28 AM Revision 40018: ChangeLog: fix typo
nobu (Nobuyoshi Nakada)
04:51 AM Revision 40017: * numeric.c (rb_num2ulong_internal): New function similart to
rb_num2ulong but integer wrap around flag is also returned.
(rb_num2ulong): Use rb_num2ulong_internal.
akr (Akira Tanaka)
02:21 AM Revision 40016: documentation by @phiggins [GH fixes #263]
* file.c: Alias File #path and #to_path. hsbt (Hiroshi SHIBATA)
02:01 AM Revision 40015: doumentation by @toolmantim [GH fixes #270]
* timeout.rb: Document Timeout::timeout 0 and nil argument behavior hsbt (Hiroshi SHIBATA)
01:47 AM Revision 40014: Document the default Net timeout values by @toolmantim [GH fixes #269]
* lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values. hsbt (Hiroshi SHIBATA)


09:27 PM Revision 40013: class.c: suppress wrong warning
* class.c (HAVE_METACLASS_P): should check FL_SINGLTON flag before get
instance variable to get rid of wrong warnin...
nobu (Nobuyoshi Nakada)
09:08 PM Revision 40012: thread.c: TYPEOF_TIMEVAL_TV_SEC
* (TYPEOF_TIMEVAL_TV_SEC): check for x64-mingw, where
timeval.tv_sec is not time_t.
* thread.c (doubl...
nobu (Nobuyoshi Nakada)
09:08 PM Revision 40011: timev.h: move time_t stuffs
* timev.h (TYPEOF_TIMEVAL_TV_SEC, unsigned_time_t): move from time.c.
* thread.c: use definitions in timev.h.
nobu (Nobuyoshi Nakada)
09:08 PM Revision 40010: thread.c: format specifiers for time_t
* thread.c (sleep_timeval): fix format specifiers for time_t.
* time.c (DEBUG_REPORT_GUESSRANGE): ditto.
nobu (Nobuyoshi Nakada)
09:08 PM Revision 40009: gc.c: _aligned_malloc
* gc.c (aligned_malloc): declare _aligned_malloc() prototype for old VC. nobu (Nobuyoshi Nakada)
05:07 PM Revision 40008: * 2013-03-31
05:07 PM Revision 40007: Specify external_encoding naruse (Yui NARUSE)
05:14 AM Revision 40006: Remove bcc32
agreed at kazu
04:33 AM Revision 40005: * test/ruby/test_class.rb: Simplify warning checks
* test/ruby/test_io.rb: ditto
* test/ruby/test_module.rb: ditto
* test/ruby/test_regexp.rb: ditto
marcandre (Marc-Andre Lafortune)
03:03 AM Revision 40004: * NEWS: Be more precise about singleton_class.ancestors change
[Feature #8035] marcandre (Marc-Andre Lafortune)


07:00 PM Revision 40003: * win32/file.c (code_page): use cp1252 instead of cp20127 as US-ASCII.
fix [ruby-core:53079] [Bug #7996]
reported and patched by mmeltner (Michael Meltner).
usa (Usaku NAKAMURA)
06:52 PM Revision 40002: * 2013-03-30
06:52 PM Revision 40001: * win32/win32.c (wrename): use MoveFileExW instead of MoveFileW,
because the latter fails on cross device file move of some
fix [ruby-core:53492] [Bug #8109]
usa (Usaku NAKAMURA)
01:09 PM Revision 40000: thread.c: Mutex#synchronize no block params
* thread.c (rb_mutex_synchronize_m): yield no block params. patch by
splattael (Peter Suschlik) in [ruby-core:5377...
nobu (Nobuyoshi Nakada)
12:02 PM Revision 39999: Makefile.sub: configurations
* win32/Makefile.sub (prog): needs to update configurations. nobu (Nobuyoshi Nakada)
09:00 AM Revision 39998: compliant is an adjective
07:51 AM Revision 39997: io.c: get rid of IOError when skipped while iteration
* io.c (argf_next_argv): set init flag if succeeded to forward, after
* io.c (argf_block_call_i, argf_blo...
nobu (Nobuyoshi Nakada)
07:51 AM Revision 39996: io.c: get rid of IOError when skipped while iteration
* io.c (argf_close): deal with init flag.
* io.c (argf_block_call_i, argf_block_call): forward next file if
nobu (Nobuyoshi Nakada)
02:09 AM Revision 39994: mkmf.rb: no CFLAGS in CXXFLAGS
* lib/mkmf.rb (configuration): not include all CFLAGS in CXXFLAGS, to
use different set than C for C++. [ruby-core...
nobu (Nobuyoshi Nakada)
01:24 AM Revision 39993: ruby/io.h: get rid of conflict on AIX
* include/ruby/io.h: undef POSIX compliants names on AIX, which are no
longer needed. patch suggested by edelsohn ...
nobu (Nobuyoshi Nakada)
12:42 AM Revision 39992: code cleanup by @vipulnsward [GH fixes #267]
* lib/cgi/core.rb: change each to each_value
* ext/bigdecimal/lib/bigdecimal/{jacobian,math}.rb:
remove unused va...
hsbt (Hiroshi SHIBATA)

Also available in: Atom