From 07/23/2011 to 07/29/2011


10:40 PM Revision 32748: * ext/socket/lib/socket.rb (udp_server_sockets): unused variable
patch by Jeremy Evans. [ruby-core:38600]
akr (Akira Tanaka)
03:49 PM Revision 32747: * remove unused variables.
nobu (Nobuyoshi Nakada)
03:21 PM Revision 32745: * ChangeLog: remove trailing spaces.
nobu (Nobuyoshi Nakada)
03:01 PM Revision 32742: * 2011-07-30
03:01 PM Revision 32741: * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
based on the patch by Masahiro Tomita. [ruby-dev:44270]
akr (Akira Tanaka)
02:53 PM Revision 32740: * array.c (rb_ary_set_len): new function to set array length.
* vm_eval.c (method_missing): set the length of argv array, to mark
nobu (Nobuyoshi Nakada)
02:53 PM Revision 32739: * vm_eval.c (rb_apply): get rid of too large alloca.
nobu (Nobuyoshi Nakada)
01:14 PM Revision 32738: * test/ruby/test_process.rb (test_rlimit_nofile): fix r32734.
move return statement again. nagachika (Tomoyuki Chikanaga)
11:52 AM Revision 32737: * ext/socket/mkconstants.rb: fix typos.
akr (Akira Tanaka)
11:29 AM Revision 32736: * ext/socket/mkconstants.rb: use whitespaces as a separator.
akr (Akira Tanaka)
10:03 AM Revision 32735: * ext/socket/mkconstants.rb: add documents for constants.
patch by Eric Hodel. [ruby-core:37853] [Bug #4989] akr (Akira Tanaka)
08:01 AM Revision 32734: Fix r32731: position of definition.
naruse (Yui NARUSE)
07:17 AM Revision 32733: Run test_popen_fork on FreeBSD because it can run.
naruse (Yui NARUSE)
07:17 AM Revision 32732: * 2011-07-29
07:17 AM Revision 32731: Use setrlimit(NOFILE,1) on OpenBSD.
Because on OpenBSD it freezes if limit=0. naruse (Yui NARUSE)
07:17 AM Revision 32730: * (enable_pthread): use -pthread on OpenBSD without
explicit option. patched by Jeremy Evans. [ruby-core:38572] naruse (Yui NARUSE)


02:47 PM Revision 32725: * ext/fiddle/closure.c (callback): use rb_ary_tmp_new() instead of
xmalloc() to allocate an array for arguments of callback procedure,
to prevent arguments from being swept by GC. [r...
nagachika (Tomoyuki Chikanaga)
01:48 PM Revision 32723: * ext/openssl/ossl_cipher.c (ossl_cipher_initialize): Avoid possible
SEGV from AES encryption/decryption. Processing data by
Cipher#update without initializing key (meaningless usage o...
nahi (Hiroshi Nakamura)
05:26 AM Revision 32722: * lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): typo.
usa (Usaku NAKAMURA)
03:32 AM Revision 32721: * ext/dl/callback/mkcallback.rb (gencallback): use PTR2NUM.
nobu (Nobuyoshi Nakada)
03:32 AM Revision 32720: * ext/dl/cptr.c (rb_dlptr_aref, rb_dlptr_aset): check NULL pointer
dereference. nobu (Nobuyoshi Nakada)
03:32 AM Revision 32719: * ext/dl/cptr.c (rb_dlptr_s_to_ptr): use rb_check_funcall.
nobu (Nobuyoshi Nakada)
03:32 AM Revision 32718: * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fix wrapping condition.
nobu (Nobuyoshi Nakada)
03:25 AM Revision 32717: the code that depends on timing. [Bug #372] [Bug #4160]
seki (Masatoshi Seki)
12:23 AM Revision 32715: See __APPLE__ for __syscall.
naruse (Yui NARUSE)


07:53 PM Revision 32713: * lib/delegate.rb: Move file-level documentation to the appropriate
classes. drbrain (Eric Hodel)
05:15 PM Revision 32712: * ext/dl/cfunc.c (dlcfunc_mark), ext/dl/cptr.c (dlptr_mark):
workaround to mark wrapped object. this is not a true fix,
because [Bug #4929] is caused by the interface design o...
nobu (Nobuyoshi Nakada)
04:18 PM Revision 32711: * test/ruby/test_symbol.rb (test_no_inadvertent_symbol_creation):
remove an assertion depending on default respond_to_missing?. nobu (Nobuyoshi Nakada)
03:52 PM Revision 32710: * test/ruby/test_symbol.rb (test_no_inadvertent_symbol_creation3):
remove an assertion depending on default const_missing. nobu (Nobuyoshi Nakada)
03:30 PM Revision 32708: * 2011-07-28
03:30 PM Revision 32707: * test/fileutils/test_fileutils.rb: add OpenBSD case.
patched by Jeremy Evans [ruby-core:38530] see #5097
* test/ruby/test_process.rb: ditto.
naruse (Yui NARUSE)
02:55 PM Revision 32706: * test/ruby/test_symbol.rb (test_inspect): use %W to enable
escape. nobu (Nobuyoshi Nakada)
01:49 PM Revision 32705: * test/rinda/test_rinda.rb (test_remote_array_and_hash):
add local variables to protect objects from GC. [ruby-dev:44253]
[Bug #5104]
nagachika (Tomoyuki Chikanaga)
08:58 AM Revision 32702: * include/ruby/missing.h: define __syscall if the platform has
__syscall in the library but doesn't define it in headers
for example Mac OS X.
naruse (Yui NARUSE)
06:44 AM Revision 32700: * object.c: Add usage documentation for BasicObject. Based on patch
by Thomas Sawyer. [Ruby 1.9 - Bug #5067] drbrain (Eric Hodel)
05:21 AM Revision 32699: Use ::Syck explicitly.
lib/rubygems/requirement.rb defines YAML::Syck.
So explicitly specify the top level one.
naruse (Yui NARUSE)
03:33 AM Revision 32697: * lib/rubygems/uninstaller.rb: Add missing require and update
messaging to avoid confusion with uninstall --format-executable.
[Ruby 1.9 - Bug #4062]
drbrain (Eric Hodel)
02:04 AM Revision 32696: * vm_dump.c (VMDEBUG): suppress undefined macro warnings.
nobu (Nobuyoshi Nakada)
02:04 AM Revision 32695: * test/ruby/test_symbol.rb (TestSymbol#test_inspect): workaround for
ruby-mode.el. nobu (Nobuyoshi Nakada)
01:40 AM Revision 32693: * lib/rubygems: Update to RubyGems
drbrain (Eric Hodel)
12:31 AM Revision 32690: * test/openssl/test_pkcs12.rb: Add test and intermediate certificates.
[ Ruby 1.9 - Feature #3793 ] [ruby-core:32088] emboss


04:17 PM Revision 32688: * vm_method.c (rb_gc_mark_unlinked_live_method_entries): remove unused
variables. nobu (Nobuyoshi Nakada)
04:05 PM Revision 32686: * eval_error.c (rb_print_undef_str): new function to raise
NameError for undefined method.
* load.c (rb_mod_autoload_p), object.c (rb_mod_const_get),
variable.c (rb_f_untrace...
nobu (Nobuyoshi Nakada)
04:05 PM Revision 32685: * vm_method.c (obj_respond_to): fix the respond_to_missing? override
case. based on the patch by Jeremy Evans at [ruby-core:38417].
[Feature #5072]
nobu (Nobuyoshi Nakada)
04:05 PM Revision 32684: * parse.y (rb_check_id): make the given name a symbol or a string.
based on the second patch by Jeremy Evans at [ruby-core:38447] nobu (Nobuyoshi Nakada)
03:53 PM Revision 32681: * property.
nobu (Nobuyoshi Nakada)
03:49 PM Revision 32680: * ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
zero or negative precision is error. fixes #5098.
* test/bigdecimal/test_bigdecimal_util.rb: add ...
mrkn (Kenta Murata)
03:48 PM Revision 32679: * ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): modified for
specifying precision. fixes #5098. [ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the abo...
mrkn (Kenta Murata)
03:48 PM Revision 32678: * property.
nobu (Nobuyoshi Nakada)
03:46 PM Revision 32677: * ext/bigdecimal/lib/bigdecimal/util.rb (Integer#to_d): added
for symmetry to BigDecimal() function with an Integer.
fixes #5098. [ruby-dev:44210]
* test/bigdecimal/test_bigdec...
mrkn (Kenta Murata)
03:40 PM Revision 32676: * ext/bigdecimal/lib/bigdecimal/util.rb (BigDecimal#to_d): added
for adapting other Numeric subclasses. [ruby-dev:44245]
* test/bigdecimal/test_bigdecimal_util.rb: test for the abov...
mrkn (Kenta Murata)
03:40 PM Revision 32675: * 2011-07-27
03:40 PM Revision 32674: * bigdecimal/bigdecimal.c (VpDup) a new function for duplicating
a BigDecimal.
* bigdecimal/bigdecimal.c (BigDecimal_new): support generating a new
BigDecimal from another BigDeci...
mrkn (Kenta Murata)
02:37 PM Revision 32673: * array.c: Fix typo.
shyouhei (Shyouhei Urabe)


03:18 PM Revision 32672: * 2011-07-26
03:17 PM Revision 32671: * proc.c: pre-allocate the unlinked_method_entry_list_entry struct to
avoid memory allocation during GC. based on a patch from Eric Wong.
mame (Yusuke Endoh)
02:40 PM Revision 32670: * test/rake/test_rake_directory_task.rb (TestRakeDirectoryTask#
test_directory_win32): fixed wrong test. usa (Usaku NAKAMURA)
02:29 PM Revision 32669: * proc.c (struct METHOD), gc.c (gc_marks), vm_method.c
(rb_gc_mark_unlinked_live_method_entries): fix SEGV bug.
rb_method_entry_t was free'd even when the method is still...
mame (Yusuke Endoh)
01:23 PM Revision 32667: * forgot to add a test fixture file in r32666.
nahi (Hiroshi Nakamura)
01:21 PM Revision 32666: * lib/xmlrpc/client.rb: Fix possible HTTP header formatting failure by
'Basic' header. Long username caused the base64 String truncation in
HTTP header which is not allowed. See #5046.
nahi (Hiroshi Nakamura)
06:30 AM Revision 32664: * ext/openssl/lib/openssl.rb: End of transition period introduced by
[ruby-dev:38018]. From the next version of 1.9.3, you should use
require "openssl"
instead of
require "open...
nahi (Hiroshi Nakamura)
04:49 AM Revision 32662: * ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition
introduced in r30152 to x509-internal.rb. nahi (Hiroshi Nakamura)
04:30 AM Revision 32659: * 2011-07-25
04:30 AM Revision 32658: * ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Avoid randomly generated
SSLError from SSLSocket just after invoking SSLSocket#close.
OpenSSL's SSL_shutdown could try to send alert packet...
nahi (Hiroshi Nakamura)


11:35 AM Revision 32657: * ext/socket/extconf.rb: refine the recvmsg test.
akr (Akira Tanaka)
11:04 AM Revision 32656: * ext/socket/extconf.rb: fix the recvmsg test.
akr (Akira Tanaka)


11:57 PM Revision 32655: * ext/socket/extconf.rb: test recvmsg allocates file descriptors for
fd passing even with MSG_PEEK.
* ext/socket/ancdata.c: use the above test result.
akr (Akira Tanaka)
04:05 PM Revision 32652: * lib/rubygems/specification.rb: Restore behavior of
Gem::Specification#loaded. [Ruby 1.9 - Bug #5032] drbrain (Eric Hodel)
03:57 PM Revision 32650: revert r32647. r32649 is better one.
kosaki (Motohiro KOSAKI)
03:18 PM Revision 32647: * changed default optflags to -O0 if the compiler is
llvm-gcc. It prevent ruby crash on OS X 10.7 (Lion). kosaki (Motohiro KOSAKI)
03:05 PM Revision 32646: * 2011-07-24
03:05 PM Revision 32645: * error.c (rb_name_error_str): new function to raise NameError
with the name string but not ID.
* object.c, proc.c, variable.c: more removal of inadvertent symbol
creation. [Fea...
nobu (Nobuyoshi Nakada)
12:49 PM Revision 32644: method name
tadf (tadayoshi funaba)
12:14 PM Revision 32643: * lib/cmath.rb: should return a real number if possible.
tadf (tadayoshi funaba)
11:21 AM Revision 32642: * test/rake/test_rake_functional.rb (setup): Use __FILE__ for the base
directory. Current directory is not the top source directory when
the building process runs on other than there.
naruse (Yui NARUSE)
11:17 AM Revision 32641: * ext/date/date_core.c: an issue that is same as [ruby-dev:44071].
* ext/date/date_strftime.c: identical to [ruby-dev:44112]. tadf (tadayoshi funaba)
10:13 AM Revision 32640: * test/win32ole/test_err_in_callback.rb (test_err_in_callback):
skip test if ADODB.connection is not available. suke (Masaki Suketa)
10:03 AM Revision 32639: * parse.y (rb_enc_symname_type): :$a!, @a! and so on are not
valid symbols, so they should be inspected with quotes. naruse (Yui NARUSE)
08:13 AM Revision 32638: * io.c (rb_update_max_fd): validate fd.
* ext/socket/rubysocket.h (rsock_discard_cmsg_resource): add
msg_peek_p argument for the declaration.
* ext/socket...
akr (Akira Tanaka)
05:38 AM Revision 32636: * test/rake*: Remove dependencies on flexmock and session gems.
[Ruby 1.9 - Bug #4987] drbrain (Eric Hodel)
03:19 AM Revision 32635: * parse.y (rb_check_id): take care of attrset ID created
implicitly by local ID. [Bug #5084] nobu (Nobuyoshi Nakada)
03:12 AM Revision 32634: * parse.y (rb_check_id): conversion condition was inverse.
[Bug #5084] nobu (Nobuyoshi Nakada)

Also available in: Atom