From 12/15/2012 to 12/21/2012


08:36 PM Revision 38546: * lib/net/http.rb: Requests may be created with a URI which sets the
Host header. Responses contain the requested URI for easier redirect
following. [ruby-trunk - Feature #6482]
* ...
drbrain (Eric Hodel)
05:36 PM Revision 38545: * lib/irb/slex.rb(#match): Typo, should be D_DETAIL
[ruby-core:51071] [Bug#7600] zzak (Zachary Scott)
05:29 PM Revision 38544: * lib/irb/input-method.rb, lib/irb.rb: Typo in
InputMethod#readable_atfer_eof? to #readable_after_eof?
[ruby-core:51069] [Bug #7599]
zzak (Zachary Scott)
05:21 PM Revision 38543: * vm_dump.c (rb_vm_bugreport): revert r38533.
* addr2line.c (fill_lines): add ELF sanity check.
[Bug #7597] [ruby-dev:46786]
kosaki (Motohiro KOSAKI)
05:08 PM Revision 38542: * lib/irb/inspector.rb, lib/irb/context.rb: Move IRB::INSPECTORS and
class methods to IRB::Inspector [ruby-core:51067][Bug #7598] zzak (Zachary Scott)
03:30 PM Revision 38540: * 2012-12-22
03:30 PM Revision 38539: * object.c (rb_obj_hash): shouldn't assume object_id can be long.
based on a patch by Heesob Park at [ruby-core:51060].
cf. [Backport #7454]
usa (Usaku NAKAMURA)
02:16 PM Revision 38538: * ext/fiddle/lib/fiddle/struct.rb (Fiddle::CStructEntity#set_ctypes):
CPtr -> Pointer.
* test/fiddle/test_c_struct_entry.rb
Added the te...
kou (Kouhei Sutou)
02:12 PM Revision 38537: * ext/fiddle/lib/fiddle/struct.rb (Fiddle::CStructEntity#set_ctypes):
CPtr -> Pointer.
* test/fiddle/test_c_struct_entry.rb
Added ...
kou (Kouhei Sutou)
01:44 PM Revision 38536: * ext/fiddle/lib/fiddle/import.rb (Fiddle::Importer#sizeof):
CPtr -> Pointer.
* test/fiddle/test_import.rb (Fiddle::TestImport#test_sizeof):
Added the test for the above.
kou (Kouhei Sutou)
01:36 PM Revision 38535: * test/ruby/test_iseq.rb: disable a test which checks features
removed at r38532. ko1 (Koichi Sasada)
01:06 PM Revision 38534: * win32/{dir.h,win32.c} (rb_w32_readdir): removed old rb_w32_readdir()
and renamed from rb_w32_readdir_with_enc().
[ruby-core:24864] [Feature #1927]
* dir.c (READDIR): follow above change.
usa (Usaku NAKAMURA)
12:17 PM Revision 38533: * vm_dump.c (rb_vm_bugreport): commentout addr2line call temporarily
in order to avoid segv. anyone can fix addr2line?
[Bug #7597] [ruby-dev:46786]
tarui (Masaya Tarui)
11:44 AM Revision 38532: * iseq.c (Init_ISeq): remove definition of the following methods:
ISeq#line_trace_all and ISeq#line_trace_specify because they are
half baked.
C APIs are remained as experimental....
ko1 (Koichi Sasada)
11:22 AM Revision 38531: * vm_trace.c (tracepoint_new): add code to support specified thread.
But not tested and this feature is not supported officially. ko1 (Koichi Sasada)
10:53 AM Revision 38530: Add test for r38529 [Bug #7536]
naruse (Yui NARUSE)
10:39 AM Revision 38529: * ruby.c (process_options): need to acquire env from TOPLEVEL_BINDING
each time.
`bind->env' may update after `eval()'.
[Bug #7536]
ko1 (Koichi Sasada)
09:51 AM Revision 38527: fix ChangeLog
ko1 (Koichi Sasada)
09:48 AM Revision 38526: * include/ruby/debug.h: define rb_trace_arg_t.
* vm_core.h: catch up above changes. ko1 (Koichi Sasada)
09:37 AM Revision 38525: add a ticket number
ko1 (Koichi Sasada)
09:33 AM Revision 38524: * vm_core.h, vm_trace.c: fix multi-threading bug for tracing.
Move `trace_arg' from rb_tp_t::trace_arg to rb_thread_t::trace_arg.
`trace_arg' may changed by multiple threads.
ko1 (Koichi Sasada)
07:38 AM Revision 38523: id.h.tmpl: ID2ATTRSET
* template/id.h.tmpl (ID2ATTRSET): compile time constant macro for
nobu (Nobuyoshi Nakada)
07:38 AM Revision 38522: id.def: check duplication
* defs/id.def (KeywordError): check duplication. nobu (Nobuyoshi Nakada)
07:38 AM Revision 38521: id.def: other scope ID
* defs/id.def: support for other scope IDs,
nobu (Nobuyoshi Nakada)
07:35 AM Revision 38520: test_thread.rb: descriptive assertions
* test/ruby/test_thread.rb: (test_local_barrier),
(test_status_and_stop_p, test_recursive_outer, test_stack_size): ...
nobu (Nobuyoshi Nakada)
07:35 AM Revision 38519: test_thread.rb: flush before SystemStackError
* test/ruby/test_thread.rb (TestThread#test_stack_size): need to flush
before SystemStackError.
nobu (Nobuyoshi Nakada)
07:35 AM Revision 38518: vm_trace.c: style
* vm_trace.c (rb_suppress_tracing): adjust style. nobu (Nobuyoshi Nakada)
07:31 AM Revision 38517: * properties.
nobu (Nobuyoshi Nakada)
05:45 AM Revision 38515: * lib/irb.rb, lib/irb/*: Documentation for IRB
zzak (Zachary Scott)
02:34 AM Revision 38514: * lib/rake/*: Updated to rake 0.9.6
* doc/rake/*: ditto
* test/rake/*: ditto
drbrain (Eric Hodel)


11:58 PM Revision 38513: * vm_trace.c (rb_suppress_tracing): remove unused variable 'vm_tracing'
tarui (Masaya Tarui)
04:02 PM Revision 38512: * lib/irb/completion.rb (CompletionProc): support completion of
instance variables. [ruby-dev:46710] [Bug #7520] tarui (Masaya Tarui)
03:32 PM Revision 38511: * 2012-12-21
03:32 PM Revision 38510: fix typos and tabify
12:02 PM Revision 38509: * vm_trace.c (rb_suppress_tracing): bugfix for vm->trace_running
counter. And if tracing is already true, vm_trace_running ops is
skipped to control overflow.
tarui (Masaya Tarui)
09:29 AM Revision 38499: ruby.h: RTEST NIL_P
* include/ruby/ruby.h (RTEST, NIL_P): make bare expressions without
outermost parentheses.
nobu (Nobuyoshi Nakada)
09:28 AM Revision 38498: tkutil.c: NIL_P
* ext/tk/tkutil/tkutil.c (tk_symbolkey2str, ary2list, ary2list2): do
not assume NIL_P() to be parenthesized always.
nobu (Nobuyoshi Nakada)
09:28 AM Revision 38497: ossl.c: RTEST
* ext/openssl/ossl.c (ossl_fips_mode_set): do not assume RTEST() to be
parenthesized always.
nobu (Nobuyoshi Nakada)
08:29 AM Revision 38496: * NEWS: fix the description for Refinements.
shugo (Shugo Maeda)
08:13 AM Revision 38495: * vm_core.h (rb_vm_defineclass_type_t),
compile.c (iseq_compile_each), insns.def (defineclass): change the
meaning of the third operand of defineclass as f...
shugo (Shugo Maeda)
07:54 AM Revision 38494: * NEWS: announce AEAD encryption support in the OpenSSL extension.
07:43 AM Revision 38493: * gc.c (nonspecial_obj_id): VALUE is not compatible with Fixnum on
LLP64 platform, such as 64bit Windows.
reporeted by Heesob Park at [ruby-core:50255] [Bug #7454], and the
fix is ...
usa (Usaku NAKAMURA)
07:42 AM Revision 38492: * ext/openssl/ossl_cipher.c: fix errors for installations that do not
feature Authenticated Encryption.
* ext/openssl/extconf.rb: detect presence of EVP_CTRL_GCM_GET_TAG to
determine wh...
07:00 AM Revision 38491: * ext/openssl/ossl.c: do not use FIPS_mode_set if not available.
* test/openssl/utils.rb: revise comment about setting FIPS mode to
* test/openssl/test_fips.rb: remove tests...
06:23 AM Revision 38490: * lib/rdoc/parser/ruby.rb: Ignore methods defined on constants to
prevent modules with the names of constants from appearing in the
* test/rdoc/test_rdoc_parser_ruby....
drbrain (Eric Hodel)
06:18 AM Revision 38489: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
06:03 AM Revision 38488: * ext/openssl/ossl_cipher.c: add support for Authenticated Encryption
with Associated Data (AEAD) for OpenSSL versions that support the
GCM encryption mode. It's the only mode supported...
03:57 AM Revision 38487: * lib/rdoc/markup/to_html.rb (class RDoc): Added current heading and
top links to headings.
* lib/rdoc/generator/template/darkfish/rdoc.css: ditto
* test/rdoc/test_rdoc_generator_markup...
drbrain (Eric Hodel)
03:43 AM Revision 38486: test_require.rb: clear load path
* test/ruby/test_require.rb (test_require_invalid_shared_object),
(test_require_too_long_filename, test_require_cha...
nobu (Nobuyoshi Nakada)
02:05 AM Revision 38485: envutil.rb: validate syntax
* test/ruby/envutil.rb (assert_valid_syntax): move from
* test/ruby/envutil.rb (assert_normal_exit)...
nobu (Nobuyoshi Nakada)
01:52 AM Revision 38484: vm.c: fix format
* vm.c (get_param): fix format specifier for size_t. nobu (Nobuyoshi Nakada)
01:52 AM Revision 38483: * remove trailing spaces.
nobu (Nobuyoshi Nakada)
12:32 AM Revision 38482: * test/openssl/test_pkey_dh.rb: revert special treatment of
FIPS-capable installations since FIPS mode is now disabled for the
12:31 AM Revision 38481: * properties.
nobu (Nobuyoshi Nakada)
12:29 AM Revision 38480: * ext/openssl/ossl.c: add OpenSSL.fips_mode= to allow enabling FIPS
mode manually.
* test/openssl/utils.rb: turn off FIPS mode for tests. This prevents
OpenSSL installations with FIPS...


10:33 PM Revision 38479: add ticket number
ko1 (Koichi Sasada)
10:29 PM Revision 38478: * vm.c: support variable VM/Machine stack sizes.
Specified by the following environment variaables:
- RUBY_THREAD_VM_STACK_SIZE: vm stack size used at thread creati...
ko1 (Koichi Sasada)
09:28 PM Revision 38477: * test/ruby/test_fiber.rb: remove a strange single quote character.
With this character, this script exits by SyntaxError. ko1 (Koichi Sasada)
04:04 PM Revision 38476: * 2012-12-20
04:04 PM Revision 38475: * ext/.document: Add missing ext modules to .document
Patch by Ryunosuke SATO [Fixes Github #224] zzak (Zachary Scott)
02:54 PM Revision 38474: * ruby.c (load_file_internal): use original C string as the filename
for parser.
reported by whiteleaf at [ruby-list:49085] [ruby-dev:46738]
[Bug #7562]
usa (Usaku NAKAMURA)
02:47 PM Revision 38473: * marshal.c (marshal_dump, marshal_load): fix SEGV during make rdoc
and test failure in TestMarshal#test_gc and test_context_switch
on SPARC Solaris 10 compiled with Oracle Solaris St...
ngoto (Naohisa Goto)
11:19 AM Revision 38467: style fix.
kosaki (Motohiro KOSAKI)
10:34 AM Revision 38466: object.c: nul in const name
* object.c (rb_mod_const_get): nul byte is invalid as constant name. nobu (Nobuyoshi Nakada)
09:05 AM Revision 38465: * doc/syntax/methods.rdoc: rdoc fix, patch by Dave Brown
[github:222] marcandre (Marc-Andre Lafortune)
08:54 AM Revision 38464: * vm_trace.c (rb_threadptr_exec_event_hooks): get rid of race
condition. [Bug #7589] [ruby-dev:46763] tarui (Masaya Tarui)
07:30 AM Revision 38463: * doc/syntax/literals.rdoc: Added 0d decimal format. Thanks Nobu!
drbrain (Eric Hodel)
07:19 AM Revision 38462: * doc/syntax/methods.rdoc: Fixed typo. Thanks to Josh Susser.
drbrain (Eric Hodel)
07:19 AM Revision 38461: * lib/rubygems/commands/query_command.rb: Refactored to improve
* test/rubygems/test_gem_commands_query_command.rb: Note default gems
in gem list details.
* lib...
drbrain (Eric Hodel)
06:31 AM Revision 38460: Use next in proc instead of break or return
naruse (Yui NARUSE)
06:24 AM Revision 38459: * doc/syntax/methods.rdoc: Add () around keyword arguments example for
consistency. Thanks to Josh Susser. drbrain (Eric Hodel)
05:29 AM Revision 38458: Don't check events from different files like r38456
naruse (Yui NARUSE)
02:46 AM Revision 38457: fix a typo
02:25 AM Revision 38456: Push given event only if it is right one
On parallel test-all, trace event may fire on another threads naruse (Yui NARUSE)
02:25 AM Revision 38455: Revert r38371 and r38384. they didn't solve the issue
naruse (Yui NARUSE)
02:25 AM Revision 38454: Suppress warnings
naruse (Yui NARUSE)


05:06 PM Revision 38453: * ChangeLog: fix a typo for r38452.
nagachika (Tomoyuki Chikanaga)
05:04 PM Revision 38452: * vm.c (rb_vm_jump_tag_but_local_jump): remove unnessesary 2nd
* load.c (rb_load_internal): ditto.
* eval_intern.h (rb_vm_jump_tag_but_local_jump): ditto.
nagachika (Tomoyuki Chikanaga)
03:29 PM Revision 38451: * 2012-12-19
03:29 PM Revision 38450: fix typos and styles
02:02 PM Revision 38449: * ChangeLog: add ML and ticket ref for r38441.
nagachika (Tomoyuki Chikanaga)
10:07 AM Revision 38448: * io.c (rb_io_wait_writable): don't use rb_thread_wait_fd()
because it is for waiting until io readable.
* io.c (rb_io_wait_writable): always use rb_thread_fd_writable()
kosaki (Motohiro KOSAKI)
10:07 AM Revision 38447: * thread.c (rb_thread_wait_fd_rw): fix infinite loop bug.
rb_wait_for_single_fd() never return positive number. kosaki (Motohiro KOSAKI)
08:24 AM Revision 38446: * lib/rdoc/encoding.rb: Do not remove #! line from document when
setting encoding. This allows ruby executables to be parsed as ruby
* test/rdoc/test_rdoc_encoding.rb: Tes...
drbrain (Eric Hodel)
07:46 AM Revision 38445: * doc/syntax/literals.rdoc: Used simplified heredoc example that
doesn't include method definition. Added heredoc with backticks. drbrain (Eric Hodel)
07:39 AM Revision 38444: * lib/rdoc/store.rb: Work around RDoc stores from older versions of
* test/rdoc/test_rdoc_store.rb: Test for above.
drbrain (Eric Hodel)
07:31 AM Revision 38443: * lib/rdoc/ruby_lex.rb: Return a TkHEREDOC instead of a TkSTRING when
the heredoc identifier is followed by a line-end. This allows proper
display of some HEREDOCs in source view.
* li...
drbrain (Eric Hodel)
04:31 AM Revision 38442: * properties.
nobu (Nobuyoshi Nakada)
04:30 AM Revision 38441: * vm.c (rb_vm_make_jump_tag_but_local_jump): take care of the case
TAG_JUMP() with TAG_FATAL (ex. rb_fatal()).
* test/ruby/test_fiber.rb (test_fatal_in_fiber): add a test for above.
nagachika (Tomoyuki Chikanaga)
04:18 AM Revision 38440: * vm_trace.c (tracepoint_attr_defined_class): Clean up rdoc for
TracePoint#defined_class zzak (Zachary Scott)
04:16 AM Revision 38439: typos in changelog
zzak (Zachary Scott)
03:16 AM Revision 38438: * lib/rubygems/specification.rb: Fixed ruby output of requirements
with multiple version specifiers.
* test/rubygems/test_gem_ext_cmake_builder.rb: Only look for specific
lines in c...
drbrain (Eric Hodel)
02:48 AM Revision 38437: * doc/syntax/literals.rdoc: Added 0o octal integers.
drbrain (Eric Hodel)
02:32 AM Revision 38436: * test/openssl/test_ssl.rb: Use :TLSv1_2_client explicitly in
test_tls_v1_2 to prevent upstream bug.
[Bug #7197] [ruby-dev:46240]
02:06 AM Revision 38435: Show $LOAD_PATH and RUBYLIB to debug easier
naruse (Yui NARUSE)
02:04 AM Revision 38434: * test/openssl/test_ssl.rb: Improve my grammar.
02:02 AM Revision 38433: * ext/openssl/lib/ssl.rb: Enable insertion of empty fragments as a
countermeasure for the BEAST attack by default. The default options
of OpenSSL::SSL:SSLContext are now:


10:08 PM Revision 38432: fix ChangeLog comment
ko1 (Koichi Sasada)
10:04 PM Revision 38431: * method.h: remove `VM_METHOD_TYPE_CFUNC_FRAMELESS' method type.
This method type is for optimized CFUNC such as Fixnum#+ and so on.
This feature is half-baked and no way to use th...
ko1 (Koichi Sasada)
08:28 PM Revision 38430: * vm_trace.c (fill_id_and_klass): TracePoint#defined_class returns
singleton class. `set_trace_func' passed attached class (which is
attached/modified by singleton class) by 6th bloc...
ko1 (Koichi Sasada)
06:04 PM Revision 38429: * ext/psych/lib/psych/visitors/to_ruby.rb: speed up node mapping so
common cases are evaluated first. Thanks Kevin Menard! tenderlove
05:44 PM Revision 38428: * lib/optparse.rb: Remove 'developer documentation' section from rdoc
Patch by Marcus Stollsteimer [ruby-core:50526][Bug #7504] zzak (Zachary Scott)
05:37 PM Revision 38427: typo
zzak (Zachary Scott)
05:37 PM Revision 38426: * 2012-12-18
05:36 PM Revision 38425: * lib/matrix.rb (#dup): typo in example [ruby-core:50946][Bug #7582]
zzak (Zachary Scott)
12:48 PM Revision 38424: Use EnvUtil.rubybin instead of Gem.ruby
[ruby-core:50943] [Bug #7581] naruse (Yui NARUSE)
09:49 AM Revision 38423: * class.c (rewrite_cref_stack, clone_method): rewrite a method's cref
stack when cloning into a new class to allow lexical const lookup to
work as expected [ruby-core:47834] [Bug #7107]...
charliesome (Charlie Somerville)
05:04 AM Revision 38422: * io.c (io_flush_buffer_sync2): avoid to return 0. because
rb_thread_call_without_gvl2 uses 0 internally.
* io.c (io_flush_buffer_async2): adapt the above.
kosaki (Motohiro KOSAKI)
03:05 AM Revision 38421: * doc/syntax/methods.rdoc: Added a description of singleton methods.
drbrain (Eric Hodel)
02:36 AM Revision 38420: * doc/.document: Added doc/syntax
drbrain (Eric Hodel)
02:26 AM Revision 38419: * doc/syntax.rdoc: Added syntax guide table of contents
* doc/syntax/exceptions.rdoc: Syntax guide for exceptions
* doc/syntax/literals.rdoc: Syntax guide for literals
* d...
drbrain (Eric Hodel)


11:07 PM Revision 38418: * lib/rdoc.rb: Updated VERSION.
* lib/rdoc/markup/attribute_manager.rb: Removed useless empty check.
* lib/rdoc/markup/to_markdown.rb: Support li...
drbrain (Eric Hodel)
11:00 PM Revision 38417: * 2012-12-17
11:00 PM Revision 38416: * lib/rubygems.rb: Updated VERSION
* test/rubygems/test_gem_installer.rb: Fixed ambiguous first argument
* test/rubygems/test_gem_rdoc.rb: ...
drbrain (Eric Hodel)


05:10 PM Revision 38415: * signal.c (rb_sigaltstack_size): cast sysconf() return value
explicitly. Fix compile error on Mac OS X. kosaki (Motohiro KOSAKI)
03:46 PM Revision 38414: * cont.c (rb_fiber_start): don't enqueue Qnil to async_errinfo_queue.
rb_vm_make_jump_tag_but_local_jump() could return Qnil (ex. when
finished by Thread.exit). [ruby-dev:45218] [Bug #5...
nagachika (Tomoyuki Chikanaga)
03:04 PM Revision 38413: * ext/fiddle/pointer.c (rb_fiddle_ptr2cptr): fix error message forgotten to be changed from DL to Fiddle.
ngoto (Naohisa Goto)
03:00 PM Revision 38412: * 2012-12-16
03:00 PM Revision 38411: fix a typo
02:20 PM Revision 38410: * signal.c (default_handler): remove rb_register_sigaltstack()
call. sigaltstack was already registered when creating threads. kosaki (Motohiro KOSAKI)
02:20 PM Revision 38409: * signal.c (rb_sigaltstack_size): new. calculate stack size for
sigsegv handler. enlarge value when x86 or x86_64 on Linux.
Linux has very small MINSIGSTKSZ size (2048 bytes) and
kosaki (Motohiro KOSAKI)
09:25 AM Revision 38408: * rational.c (f_round_common): should check overflow.
tadf (tadayoshi funaba)
09:01 AM Revision 38407: * ratioanl.c (float_rationalize): reduced.
tadf (tadayoshi funaba)
07:29 AM Revision 38406: test_gem_remote_fetcher.rb: restore environment variables
* test/rubygems/test_gem_remote_fetcher.rb (setup, teardown): always
restore environment variables fo http proxy, t...
nobu (Nobuyoshi Nakada)
07:18 AM Revision 38405: fix a typo
06:10 AM Revision 38404: * proc.c (rb_binding_new_with_cfp): allocate the object after envirionment check.
nobu (Nobuyoshi Nakada)
06:10 AM Revision 38403: * parse.y (yycompile0): adjust indent.
nobu (Nobuyoshi Nakada)
05:40 AM Revision 38402: fix typo
kosaki (Motohiro KOSAKI)
05:40 AM Revision 38401: * io.c (finish_writeconv): uses rb_write_internal2 if
fptr->write_lock have. kosaki (Motohiro KOSAKI)
05:40 AM Revision 38400: * thread.c (rb_mutex_owned_p): remove static.
* io.c (io_flush_buffer): don't hold mutex if already have.
Now recursive lock may occur when following scenario.
kosaki (Motohiro KOSAKI)
05:40 AM Revision 38399: * io.c (io_flush_buffer): uses io_flush_buffer_async2 instead of
* io.c (io_flush_buffer_async2): new helper function for
io_flush_buffer. It uses rb_thread_...
kosaki (Motohiro KOSAKI)
05:39 AM Revision 38398: * io.c (internal_write_func2): new helper function for rb_write_internal2().
* io.c (rb_write_internal2): new function. it uses
rb_thread_call_without_gvl2() instaed of rb_thread_io_blocking_r...
kosaki (Motohiro KOSAKI)
05:39 AM Revision 38397: * io.c (rb_io_wait_writable): add to call rb_thread_wait_fd()
likes rb_io_wait_readable. kosaki (Motohiro KOSAKI)
05:39 AM Revision 38396: * io.c (rb_io_wait_writable): don't call rb_thread_fd_writable()
when EINTR. EINTR mean signal interrupt was happen. We don't
need any wait.
kosaki (Motohiro KOSAKI)
05:39 AM Revision 38395: * thread.c (rb_thread_wait_fd_rw): remove silly rb_thread_alone()
check. kosaki (Motohiro KOSAKI)
01:39 AM Revision 38394: * (NULLCMD): check in loop.
nobu (Nobuyoshi Nakada)
01:39 AM Revision 38393: * (GNUmakefile): remove -jN option from submake.
nobu (Nobuyoshi Nakada)
01:39 AM Revision 38392: * ChangeLog: fix typo.
nobu (Nobuyoshi Nakada)
01:22 AM Revision 38391: thread.c: revert r38382 but deprecate rb_thread_polling()
* thread.c (rb_thread_polling): revert but deprecate.
* include/ruby/intern.h (rb_thread_polling): deprecate.
nobu (Nobuyoshi Nakada)

Also available in: Atom