2016-11-05 14:09:36 -04:00
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53395 | marcandre | 2015-12-31 14:37:21 +0900 (Thu, 31 Dec 2015) | 2 lines
|
|
|
|
|
|
|
|
* lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinition
|
|
|
|
[#11901]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53394 | nobu | 2015-12-31 10:49:27 +0900 (Thu, 31 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
test_module.rb: sort constants
|
|
|
|
|
|
|
|
* test/ruby/test_module.rb (test_classpath): since r53376, all
|
|
|
|
results of Module#constants should be sorted to compare.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53393 | nobu | 2015-12-31 10:38:28 +0900 (Thu, 31 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
ruby-additional.el: escape control code
|
|
|
|
|
|
|
|
* misc/ruby-additional.el (ruby-encode-unicode): escape control
|
|
|
|
code except for LF.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53392 | nobu | 2015-12-31 09:39:03 +0900 (Thu, 31 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
ruby-additional.el: encode non-ASCII code only
|
|
|
|
|
|
|
|
* misc/ruby-additional.el (ruby-encode-unicode): encode non-ASCII
|
|
|
|
code only, excluding ASCII control code, e.g. \t, \n, etc.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53391 | naruse | 2015-12-31 04:06:55 +0900 (Thu, 31 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
skip if locale is not UTF-8
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53390 | naruse | 2015-12-31 02:47:43 +0900 (Thu, 31 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
* test/ruby/test_module.rb (test_classpath): r53376 may change
|
|
|
|
the order of m.constants.
|
|
|
|
`make TESTS='-v ruby/test_class.rb ruby/test_module.rb' test-all`
|
|
|
|
may fail after that.
|
|
|
|
http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20151230T164202Z.log.html.gz
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53389 | svn | 2015-12-31 02:20:50 +0900 (Thu, 31 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* 2015-12-31
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53388 | eregon | 2015-12-31 02:20:28 +0900 (Thu, 31 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* common.mk (help): Fix typo.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53387 | hsbt | 2015-12-30 20:53:15 +0900 (Wed, 30 Dec 2015) | 2 lines
|
|
|
|
|
|
|
|
* lib/net/http/responses.rb: Added new response class for 451 status code.
|
|
|
|
* lib/net/http.rb: documentation for HTTPUnavailableForLegalReasons
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53386 | hsbt | 2015-12-30 20:45:52 +0900 (Wed, 30 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
* lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.
|
|
|
|
[fix GH-1167] Patch by @MuhammetDilmac
|
|
|
|
https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53385 | hsbt | 2015-12-30 20:26:09 +0900 (Wed, 30 Dec 2015) | 2 lines
|
|
|
|
|
|
|
|
* doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
|
|
|
|
operator. [ci skip][fix GH-1182] Patch by @dougo
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53384 | nobu | 2015-12-30 16:43:25 +0900 (Wed, 30 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
Add test for String#ord
|
|
|
|
|
|
|
|
* test/ruby/test_string.rb (test_ord): Add test for String#ord.
|
|
|
|
[Fix GH-1181]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53383 | nobu | 2015-12-30 11:28:59 +0900 (Wed, 30 Dec 2015) | 6 lines
|
|
|
|
|
|
|
|
forwardable.rb: adjust backtrace by tail call
|
|
|
|
|
|
|
|
* lib/forwardable.rb (def_instance_delegator): adjust backtrace of
|
|
|
|
method body by tail call optimization. adjusting the delegated
|
|
|
|
target is still done by deleting backtrace.
|
|
|
|
* lib/forwardable.rb (def_single_delegator): ditto.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53382 | nobu | 2015-12-30 11:26:15 +0900 (Wed, 30 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
fix commit miss
|
|
|
|
|
|
|
|
* test/test_forwardable.rb: add tests for r53381.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53381 | nobu | 2015-12-30 11:18:44 +0900 (Wed, 30 Dec 2015) | 71 lines
|
|
|
|
|
|
|
|
Forwardable: Fix delegating to 'args' and 'block'
|
|
|
|
|
|
|
|
* lib/forwardable.rb (def_instance_delegator) fix delegating to
|
|
|
|
'args' and 'block', clashing with local variables in generated
|
|
|
|
methods. [ruby-core:72579] [Bug #11916]
|
|
|
|
|
|
|
|
* lib/forwardable.rb (def_single_delegator): ditto.
|
|
|
|
|
|
|
|
If you have a class that uses Forwardable to delegate a method to
|
|
|
|
another object, and the method that returns the delegate object is
|
|
|
|
called `args` or `block`, then Forwardable will fail to work.
|
|
|
|
|
|
|
|
Here's a simple example:
|
|
|
|
|
|
|
|
class ModelCreator
|
|
|
|
extend Forwardable
|
|
|
|
|
|
|
|
attr_reader :args
|
|
|
|
|
|
|
|
def_delegator :args, :model_name
|
|
|
|
|
|
|
|
def initialize(args)
|
|
|
|
@args = args
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
ModelCreator.new.model_name
|
|
|
|
|
|
|
|
If you run the last line above, then you'll get:
|
|
|
|
|
|
|
|
NoMethodError: undefined method `model_name' for []:Array
|
|
|
|
|
|
|
|
This error occurs because `def_delegator` -- as it is written in Ruby --
|
|
|
|
uses metaprogramming to add methods to the class that will then delegate
|
|
|
|
to the delegate object. So it's as if we had written:
|
|
|
|
|
|
|
|
class ModelCreator
|
|
|
|
extend Forwardable
|
|
|
|
|
|
|
|
attr_reader :args
|
|
|
|
|
|
|
|
def model_name(*args, &block)
|
|
|
|
args.model_name(*args, &block)
|
|
|
|
end
|
|
|
|
|
|
|
|
def initialize(args)
|
|
|
|
@args = args
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
As you can see, `def_delegator` will not only forward the method call
|
|
|
|
onto the delegate object, it will also forward any arguments provided as
|
|
|
|
well. It is here that the bug arises: it splats all of the arguments
|
|
|
|
into a variable which is called `args`, and because of how variable
|
|
|
|
scope works in Ruby, it then attempts to call `model_name` on *this*
|
|
|
|
variable and *not* our delegate object method.
|
|
|
|
|
|
|
|
The fix is to call the delegate object method manually using `__send__`.
|
|
|
|
(This assumes, of course, that the given receiver is, in fact, the name
|
|
|
|
of a method and not the name of an instance variable, which is also a
|
|
|
|
possibility.) We use `__send__` because the delegate object method could
|
|
|
|
be private.
|
|
|
|
|
|
|
|
So, that looks like this:
|
|
|
|
|
|
|
|
def model_name(*args, &block)
|
|
|
|
__send__(:args).model_name(*args, &block)
|
|
|
|
end
|
|
|
|
|
|
|
|
Because `def_delegators` and `delegate` use `def_delegator` internally,
|
|
|
|
they also get this fix as well.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53380 | nobu | 2015-12-30 09:58:58 +0900 (Wed, 30 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
object.c: fix prepend cmp
|
|
|
|
|
|
|
|
* object.c (rb_class_inherited_p): search the corresponding
|
|
|
|
ancestor to prepended module from prepending class itself.
|
|
|
|
[ruby-core:72493] [Bug #11878]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53379 | nobu | 2015-12-30 09:20:03 +0900 (Wed, 30 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
test_io.rb: test for rb_io_modestr_fmode
|
|
|
|
|
|
|
|
* test/stringio/test_io.rb (test_flag): add assertion for error when
|
|
|
|
text and binary mode are mixed.
|
|
|
|
[ruby-dev:49465] [Feature #11921]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53378 | nobu | 2015-12-30 08:44:01 +0900 (Wed, 30 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
test_stringio.rb: test_initialize
|
|
|
|
|
|
|
|
* test/stringio/test_stringio.rb (test_initialize): add test for
|
|
|
|
StringIO#initialize. [ruby-core:72585] [Feature #11920]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53377 | normal | 2015-12-30 05:21:17 +0900 (Wed, 30 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
ChangeLog: add entry for r53376
|
|
|
|
|
|
|
|
Oops :x
|
|
|
|
[ruby-core:72112] [Feature #11614]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53376 | normal | 2015-12-30 05:19:14 +0900 (Wed, 30 Dec 2015) | 40 lines
|
|
|
|
|
|
|
|
use id_table for constant tables
|
|
|
|
|
|
|
|
valgrind 3.9.0 on x86-64 reports a minor reduction in memory usage
|
|
|
|
when loading only RubyGems and RDoc by running: ruby -rrdoc -eexit
|
|
|
|
|
|
|
|
before: HEAP SUMMARY:
|
|
|
|
in use at exit: 2,913,448 bytes in 27,394 blocks
|
|
|
|
total heap usage: 48,362 allocs, 20,968 frees, 9,034,621 bytes alloc
|
|
|
|
|
|
|
|
after: HEAP SUMMARY:
|
|
|
|
in use at exit: 2,880,056 bytes in 26,712 blocks
|
|
|
|
total heap usage: 47,791 allocs, 21,079 frees, 9,046,507 bytes alloc
|
|
|
|
|
|
|
|
* class.c (struct clone_const_arg): adjust for id_table
|
|
|
|
(clone_const): ditto
|
|
|
|
(clone_const_i): ditto
|
|
|
|
(rb_mod_init_copy): ditto
|
|
|
|
(rb_singleton_class_clone_and_attach): ditto
|
|
|
|
(rb_include_class_new): ditto
|
|
|
|
(include_modules_at): ditto
|
|
|
|
* constant.h (rb_free_const_table): ditto
|
|
|
|
* gc.c (free_const_entry_i): ditto
|
|
|
|
(rb_free_const_table): ditto
|
|
|
|
(obj_memsize_of): ditto
|
|
|
|
(mark_const_entry_i): ditto
|
|
|
|
(mark_const_tbl): ditto
|
|
|
|
* internal.h (struct rb_classext_struct): ditto
|
|
|
|
* object.c (rb_mod_const_set): resolve class name on assignment
|
|
|
|
* variable.c (const_update): replace with const_tbl_update
|
|
|
|
(const_tbl_update): new function
|
|
|
|
(fc_i): adjust for id_table
|
|
|
|
(find_class_path): ditto
|
|
|
|
(autoload_const_set): st_update => const_tbl_update
|
|
|
|
(rb_const_remove): adjust for id_table
|
|
|
|
(sv_i): ditto
|
|
|
|
(rb_local_constants_i): ditto
|
|
|
|
(rb_local_constants): ditto
|
|
|
|
(rb_mod_const_at): ditto
|
|
|
|
(rb_mod_const_set): ditto
|
|
|
|
(rb_const_lookup): ditto
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53375 | nagachika | 2015-12-30 04:26:52 +0900 (Wed, 30 Dec 2015) | 2 lines
|
|
|
|
|
|
|
|
* thread_pthread.c (rb_thread_create_timer_thread): destroy attr even
|
|
|
|
if pthread_create() failed.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53374 | svn | 2015-12-30 03:20:33 +0900 (Wed, 30 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* 2015-12-30
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53373 | normal | 2015-12-30 03:20:27 +0900 (Wed, 30 Dec 2015) | 36 lines
|
|
|
|
|
|
|
|
thread_pthread.c (rb_thread_create_timer_thread): fix race
|
|
|
|
|
|
|
|
This fixes an occasional [ASYNC BUG] failure in
|
|
|
|
bootstraptest/test_fork.rb '[ruby-dev:37934]'
|
|
|
|
which tests fork/pthread_create failure by setting
|
|
|
|
RLIMIT_NPROC to 1 and triggering EAGAIN on pthread_create
|
|
|
|
when attempting to recreate the timer thread.
|
|
|
|
|
|
|
|
The problem timeline is as follows:
|
|
|
|
|
|
|
|
thread 1 thread 2
|
|
|
|
---------------------------------------------------------------
|
|
|
|
rb_thread_create_timer_thread
|
|
|
|
setup_communication_pipe
|
|
|
|
rb_thread_wakeup_timer_thread_low
|
|
|
|
pthread_create fails pipe looks valid, write!
|
|
|
|
CLOSE_INVALIDATE (x4) EBADF -> ASYNC BUG
|
|
|
|
|
|
|
|
The checks in rb_thread_wakeup_timer_thread_low only tried to
|
|
|
|
guarantee proper ordering with native_stop_timer_thread, not
|
|
|
|
rb_thread_create_timer_thread :x
|
|
|
|
|
|
|
|
Now, this should allow rb_thread_create_timer_thread to
|
|
|
|
synchronize properly with rb_thread_wakeup_timer_thread_low by
|
|
|
|
delaying the validation marking of the timer_thread_pipe until
|
|
|
|
we are certain the timer thread is alive.
|
|
|
|
|
|
|
|
In this version, rb_thread_wakeup_timer_thread_low becomes a
|
|
|
|
noop. Threading is still completely broken with NPROC==1, but
|
|
|
|
there's not much we can do about it beside warn the user.
|
|
|
|
We no longer spew a scary [ASYNC BUG] message or dump core
|
|
|
|
on them.
|
|
|
|
|
|
|
|
* thread_pthread.c (setup_communication_pipe): delay setting owner
|
|
|
|
(rb_thread_create_timer_thread): until thread creation succeeds
|
|
|
|
[ruby-core:72590] [Bug #11922]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53372 | nobu | 2015-12-29 21:23:04 +0900 (Tue, 29 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
ruby.c: overriding warning options
|
|
|
|
|
|
|
|
* ruby.c (proc_options): successive -W option overrides previous
|
|
|
|
warning options.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53371 | nagachika | 2015-12-29 21:17:21 +0900 (Tue, 29 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* ChangeLog: remove duplicated entries at r53366.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53370 | nobu | 2015-12-29 19:39:53 +0900 (Tue, 29 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
ruby.c: parse -W option
|
|
|
|
|
|
|
|
* ruby.c (proc_options): parse and skip '-W' option and its
|
|
|
|
argument even if ignored.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53369 | nobu | 2015-12-29 19:12:48 +0900 (Tue, 29 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
ruby.c: command line option over RUBYOPT env
|
|
|
|
|
|
|
|
* ruby.c (proc_options): -W command line option should be able to
|
|
|
|
override -w in RUBYOPT environment variable.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53368 | nobu | 2015-12-29 17:54:18 +0900 (Tue, 29 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
eval.c: warn block for using
|
|
|
|
|
|
|
|
* eval.c (ignored_block): warn if a block is given to `using`,
|
|
|
|
which is probably for `Module.new`.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53367 | nobu | 2015-12-29 17:36:22 +0900 (Tue, 29 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
compile.c: adjust label reference
|
|
|
|
|
|
|
|
* compile.c (new_adjust_body): labels referred by adjuststack
|
|
|
|
shoud not be optimized away.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53366 | nobu | 2015-12-29 12:48:36 +0900 (Tue, 29 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
ostruct.rb: respond_to?
|
|
|
|
|
|
|
|
* lib/ostruct.rb (OpenStruct): make respond_to? working on
|
|
|
|
just-allocated objects for workaround of Psych.
|
|
|
|
[ruby-core:72501] [Bug #11884]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53365 | mrkn | 2015-12-29 10:37:20 +0900 (Tue, 29 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
* test/mkmf/test_have_func.rb (test_have_func):
|
|
|
|
Add assertion to examine the existence of HAVE_RUBY_INIT.
|
|
|
|
|
|
|
|
* test/mkmf/test_have_func.rb (test_not_have_func):
|
|
|
|
Add assertion to examine the absence of HAVE_RUBY_INIT.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53364 | normal | 2015-12-29 06:52:15 +0900 (Tue, 29 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
thread_sync.c: static classes
|
|
|
|
|
|
|
|
We do not want to waste space by exposing globals to other
|
|
|
|
objects.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53363 | normal | 2015-12-29 05:31:10 +0900 (Tue, 29 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
Resolv::IPv6.create: avoid modifying frozen string literal
|
|
|
|
|
|
|
|
* lib/resolv.rb (Resolv::IPv6.create): avoid modifying frozen
|
|
|
|
* test/resolv/test_dns.rb (test_ipv6_create): test for above
|
|
|
|
[Bug #11910] [ruby-core:72559]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53362 | a_matsuda | 2015-12-29 00:10:25 +0900 (Tue, 29 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
:warning: key "accelerator" is duplicated and overwritten in Tk samples
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53361 | a_matsuda | 2015-12-29 00:10:19 +0900 (Tue, 29 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
Missing require
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53360 | a_matsuda | 2015-12-29 00:10:10 +0900 (Tue, 29 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
parsedate is no more available since 1.9
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53359 | svn | 2015-12-29 00:10:08 +0900 (Tue, 29 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* 2015-12-29
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53358 | a_matsuda | 2015-12-29 00:09:59 +0900 (Tue, 29 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
Convert euc-jp resource file in Tk sample to utf-8
|
|
|
|
|
|
|
|
The sample program assumes the file to be encoded in utf-8
|
|
|
|
https://github.com/ruby/ruby/blob/02531898987693bd28879c78b3cb660006891186/ext/tk/sample/tkoptdb.rb#L15-L17
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53357 | a_matsuda | 2015-12-29 00:09:51 +0900 (Tue, 29 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
Documentation typo
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53356 | kazu | 2015-12-28 16:04:01 +0900 (Mon, 28 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
fix a typo [ci skip]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53355 | nobu | 2015-12-28 15:42:18 +0900 (Mon, 28 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
iseq.c: suppress warnings
|
|
|
|
|
|
|
|
* iseq.c (rb_iseq_compile_with_option): suppress "clobbered"
|
|
|
|
warnings by old gcc.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53354 | nobu | 2015-12-28 14:56:00 +0900 (Mon, 28 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
Add test for String#rstrip!
|
|
|
|
|
|
|
|
* test/ruby/test_string.rb (TestString#test_rstrip_bang): Add test
|
|
|
|
for String#rstrip!. [Fix GH-1176]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53353 | svn | 2015-12-28 09:19:11 +0900 (Mon, 28 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* 2015-12-28
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53352 | nobu | 2015-12-28 09:18:55 +0900 (Mon, 28 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
Add test for String#lstrip!
|
|
|
|
|
|
|
|
* test/ruby/test_string.rb (TestString#test_lstrip_bang): Add test
|
|
|
|
for String#lstrip!. [Fix GH-1176]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53351 | svn | 2015-12-27 23:34:16 +0900 (Sun, 27 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* remove trailing spaces.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53350 | suke | 2015-12-27 23:34:11 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
* ext/win32ole/win32ole.c (ole_variant2val): refactoring.
|
|
|
|
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53349 | usa | 2015-12-27 21:24:03 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
* test/ruby/test_process.rb (TestProcess#test_execopts_open_chdir_m17n_path):
|
|
|
|
test for r53346, r53347 and r53348.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53348 | usa | 2015-12-27 21:15:20 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
* process.c (rb_execarg_parent_start1): need to convert the encoding to
|
|
|
|
ospath's one.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53347 | usa | 2015-12-27 21:03:45 +0900 (Sun, 27 Dec 2015) | 2 lines
|
|
|
|
|
|
|
|
* process.c (rb_execarg_addopt): need to convert to ospath.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53346 | usa | 2015-12-27 20:54:59 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
|
|
|
|
reported by naruse via twitter.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53345 | hsbt | 2015-12-27 20:00:36 +0900 (Sun, 27 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* enc/x_emoji.h: fix dead-link.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53344 | hsbt | 2015-12-27 19:55:59 +0900 (Sun, 27 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* doc/NEWS-2.3.0: fix a typo.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53343 | a_matsuda | 2015-12-27 18:59:31 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
Method name typo in a Tk sample
|
|
|
|
|
|
|
|
* ext/tk/sample/tkextlib/treectrl/help.rb: kength => length
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53342 | a_matsuda | 2015-12-27 18:59:20 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
ivar name typo in a Tk sample
|
|
|
|
|
|
|
|
* ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: @Messge => @Message
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53341 | a_matsuda | 2015-12-27 18:59:13 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
Method name typo in a Tk sample
|
|
|
|
|
|
|
|
* ext/tk/sample/tktextio.rb: trancate => truncate
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53340 | a_matsuda | 2015-12-27 18:58:58 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
ivar name typo in a Tk sample
|
|
|
|
|
|
|
|
* ext/tk/sample/tktextio.rb: @opne => @open
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53339 | a_matsuda | 2015-12-27 18:58:48 +0900 (Sun, 27 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
Typo in Tk samples
|
|
|
|
|
|
|
|
* ext/tk/sample/demos-en/goldberg.rb: miliseconds => milliseconds
|
|
|
|
* ext/tk/sample/demos-jp/goldberg.rb: miliseconds => milliseconds
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53338 | a_matsuda | 2015-12-27 18:58:22 +0900 (Sun, 27 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
Method name typo in Tk samples
|
|
|
|
|
|
|
|
* ext/tk/sample/demos-en/ctext.rb: seleect_adjust => select_adjust
|
|
|
|
* ext/tk/sample/demos-jp/ctext.rb: seleect_adjust => select_adjust
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53337 | a_matsuda | 2015-12-27 18:58:14 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
Typo in a Tk sample
|
|
|
|
|
|
|
|
* ext/tk/sample/tkextlib/bwidget/tree.rb: allways => always
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53336 | a_matsuda | 2015-12-27 18:58:08 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
Typo in a Tk sample
|
|
|
|
|
|
|
|
* ext/tk/sample/demos-jp/mclist.rb: aquq => aqua
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53335 | a_matsuda | 2015-12-27 18:57:47 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
Typo in a gvar name
|
|
|
|
|
|
|
|
* ext/tk/sample/demos-jp/hscale.rb: $hscale_deom => $hscale_demo
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53334 | a_matsuda | 2015-12-27 18:57:42 +0900 (Sun, 27 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
Typo in Tk samples
|
|
|
|
|
|
|
|
* ext/tk/sample/demos-en/ttkbut.rb: happyness => happiness
|
|
|
|
* ext/tk/sample/demos-jp/ttkbut.rb: happyness => happiness
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53333 | a_matsuda | 2015-12-27 18:57:30 +0900 (Sun, 27 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
Typos in messages
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53332 | a_matsuda | 2015-12-27 18:57:21 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
Documentation typos
|
|
|
|
|
|
|
|
[ci skip]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53331 | a_matsuda | 2015-12-27 18:57:12 +0900 (Sun, 27 Dec 2015) | 8 lines
|
|
|
|
|
|
|
|
Typo: widget (?)
|
|
|
|
|
|
|
|
* ext/tk/lib/tk.rb: wiget => widget
|
|
|
|
* ext/tk/sample/demos-en/{floor.rb,floor2.rb,puzzle.rb}: widet => widget
|
|
|
|
* ext/tk/sample/demos-en/textpeer.rb: Wdget => widget
|
|
|
|
* ext/tk/sample/demos-jp/puzzle.rb: widet => widget
|
|
|
|
* ext/tk/sample/demos-jp/textpeer.rb: Wdget => widget
|
|
|
|
* ext/tk/sample/tkextlib/bwidget/basic.rb: widtet => widget
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53330 | nobu | 2015-12-27 18:08:17 +0900 (Sun, 27 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
Fix rdoc for String#rstrip!, lstrip! [ci skip]
|
|
|
|
|
|
|
|
* string.c (rb_str_lstrip_bang, rb_str_rstrip_bang): [DOC] Fix
|
|
|
|
ruby-doc comments for String#rstrip! and lstrip!. It looks like
|
|
|
|
dropped bang. [Fix GH-1175]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53329 | normal | 2015-12-27 15:15:06 +0900 (Sun, 27 Dec 2015) | 8 lines
|
|
|
|
|
|
|
|
IO#readpartial rejects bad args
|
|
|
|
|
|
|
|
Sometimes a sleepy developer will want to swap read_nonblock
|
|
|
|
for readpartial forget to remove "exception: false"
|
|
|
|
|
|
|
|
* io.c (io_getpartial): remove unused kwarg from template
|
|
|
|
* test/ruby/test_io.rb (test_readpartial_bad_args): new
|
|
|
|
[Bug #11885]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53328 | nobu | 2015-12-27 11:50:56 +0900 (Sun, 27 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
Add tests for String#lstrip and rstrip
|
|
|
|
|
|
|
|
* test/ruby/test_string.rb (test_rstrip, test_lstrip): Add tests
|
|
|
|
for String#lstrip and rstrip. The test cases are used from
|
|
|
|
string.c ruby-doc comments. [Fix GH-1174]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53327 | nobu | 2015-12-27 11:47:49 +0900 (Sun, 27 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
Add test for String#test_insert.
|
|
|
|
|
|
|
|
* test/ruby/test_string.rb (test_insert): The test cases are
|
|
|
|
written in string.c comments as a reference. [Fix GH-1173]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53326 | nobu | 2015-12-27 11:03:36 +0900 (Sun, 27 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
parse.y: show_bitstack
|
|
|
|
|
|
|
|
* parse.y (show_bitstack): trace stack_type value if yydebug.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53325 | nobu | 2015-12-27 10:51:50 +0900 (Sun, 27 Dec 2015) | 6 lines
|
|
|
|
|
|
|
|
depend: version dependency
|
|
|
|
|
|
|
|
* enc/depend (enc, trans): fix version dependency, let encoding
|
|
|
|
and transcoding shared object files depend on config.status,
|
|
|
|
instead of enc.mk which is regenerated at each build, for the
|
|
|
|
RUBY_SO_NAME value used at runtime link.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53324 | nobu | 2015-12-27 10:03:16 +0900 (Sun, 27 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
depend: version dependency
|
|
|
|
|
|
|
|
* enc/depend (enc, trans): fix version dependency, shared object
|
|
|
|
files depend on the RUBY_SO_NAME value for runtime link.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53323 | svn | 2015-12-27 09:48:25 +0900 (Sun, 27 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* remove trailing spaces.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53322 | suke | 2015-12-27 09:48:20 +0900 (Sun, 27 Dec 2015) | 6 lines
|
|
|
|
|
|
|
|
* ext/win32ole/win32ole.c (ole_vstr2wc, ole_variant2val): fix blank
|
2016-11-05 14:09:37 -04:00
|
|
|
string conversion.
|
2016-11-05 14:09:36 -04:00
|
|
|
[Bug #11880]
|
|
|
|
Thanks Akio Tajima for the patch!
|
|
|
|
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53321 | svn | 2015-12-27 09:35:12 +0900 (Sun, 27 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* 2015-12-27
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53320 | nobu | 2015-12-27 09:34:55 +0900 (Sun, 27 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
`nul` should be uppercase [ci skip]
|
|
|
|
|
|
|
|
* doc/extension.rdoc: [DOC] `nul` should be uppercase.
|
|
|
|
change 'nul' => 'NUL'. [Fix GH-1172]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53319 | naruse | 2015-12-26 19:01:35 +0900 (Sat, 26 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
Revert "* tool/post-commit.sh: copied from svn server."
|
|
|
|
|
|
|
|
manged in another repo
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53318 | kou | 2015-12-26 18:33:43 +0900 (Sat, 26 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
* lib/xmlrpc/client.rb: Support SSL options in async methods of
|
|
|
|
XMLRPC::Client.
|
|
|
|
[Bug #11489]
|
|
|
|
Reported by Aleksandar Kostadinov. Thanks!!!
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53317 | svn | 2015-12-26 18:26:08 +0900 (Sat, 26 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* properties.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53316 | naruse | 2015-12-26 18:25:58 +0900 (Sat, 26 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* tool/post-commit.sh: copied from svn server.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53315 | nobu | 2015-12-26 11:26:40 +0900 (Sat, 26 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
miniinit.c: built-in encoding aliases
|
|
|
|
|
|
|
|
* miniinit.c (Init_enc): add some common aliases of built-in
|
|
|
|
encodings. [ruby-core:72481] [Bug #11872]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53314 | nobu | 2015-12-26 01:24:43 +0900 (Sat, 26 Dec 2015) | 6 lines
|
|
|
|
|
|
|
|
program version from API version
|
|
|
|
|
|
|
|
* configure.in, version.h (RUBY_PROGRAM_VERSION): extract version
|
|
|
|
numbers from API version in include/ruby/version.h except for
|
|
|
|
TEENY, to save matz job next year.
|
|
|
|
* win32/setup.mak (-version-): use program version.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53313 | svn | 2015-12-26 00:02:19 +0900 (Sat, 26 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* 2015-12-26
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53312 | nobu | 2015-12-26 00:02:14 +0900 (Sat, 26 Dec 2015) | 7 lines
|
|
|
|
|
|
|
|
setup.mak: split release date
|
|
|
|
|
|
|
|
* win32/setup.mak (verconf.mk): split release date into year,
|
|
|
|
month, and day.
|
|
|
|
|
|
|
|
* common.mk (RUBY_RELEASE_DATE): move from Makefile.in to share
|
|
|
|
with win32/setup.mak.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53311 | nobu | 2015-12-25 23:50:26 +0900 (Fri, 25 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
setup.mak: follow up r53310
|
|
|
|
|
|
|
|
* win32/setup.mak (verconf.mk): no longer appends, and escape
|
|
|
|
dollar.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53310 | nobu | 2015-12-25 23:46:27 +0900 (Fri, 25 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
setup.mak: follow up r53303
|
|
|
|
|
|
|
|
* win32/setup.mak (verconf.mk): follow up r53303. needs STRINGIZE
|
|
|
|
now.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53309 | nobu | 2015-12-25 22:57:38 +0900 (Fri, 25 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
version.h: no bot
|
|
|
|
|
|
|
|
* version.h (RUBY_RELEASE_MONTH_STR, RUBY_RELEASE_DAY_STR): get
|
|
|
|
rid of substitution by svn bot.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53308 | svn | 2015-12-25 22:53:27 +0900 (Fri, 25 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* 2015-12-25
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53307 | nobu | 2015-12-25 22:53:06 +0900 (Fri, 25 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
version.h: no bot
|
|
|
|
|
|
|
|
* version.h (RUBY_RELEASE_MONTH_STR, RUBY_RELEASE_DAY_STR): get
|
|
|
|
rid of substitution by svn bot.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53306 | svn | 2015-12-25 22:48:56 +0900 (Fri, 25 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* 2015-12-25
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53305 | nobu | 2015-12-25 22:48:38 +0900 (Fri, 25 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
version.h: no bot
|
|
|
|
|
|
|
|
* version.h (RUBY_RELEASE_MONTH_STR, RUBY_RELEASE_DAY_STR): get
|
|
|
|
rid of substitution by svn bot.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53304 | svn | 2015-12-25 22:43:39 +0900 (Fri, 25 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* 2015-12-25
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53303 | nobu | 2015-12-25 22:43:29 +0900 (Fri, 25 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
version.h: RUBY_RELEASE_DATE from YMD
|
|
|
|
|
|
|
|
* configure.in: extract RUBY_RELEASE_DAY at generating Makefile.
|
|
|
|
* version.h (RUBY_RELEASE_DATE): construct from RUBY_RELEASE_YEAR,
|
|
|
|
RUBY_RELEASE_MONTH, and RUBY_RELEASE_DAY.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53302 | matz | 2015-12-25 21:40:38 +0900 (Fri, 25 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
version.h (RUBY_VERSION): 2.4.0 development has started.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53301 | normal | 2015-12-25 16:49:16 +0900 (Fri, 25 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
ChangeLog: typo fixes [ci skip]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53300 | duerst | 2015-12-25 14:12:16 +0900 (Fri, 25 Dec 2015) | 2 lines
|
|
|
|
|
|
|
|
doc/CangeLog-2.3.0, ext/tk/lib/txextlib/SUPPORT_STATUS,
|
|
|
|
include/ruby/version.h: minor grammar fixes [ci skip]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53299 | nobu | 2015-12-25 08:23:46 +0900 (Fri, 25 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
fix common misspelling [ci skip]
|
|
|
|
|
|
|
|
* compile.c, cont.c, doc, man: fix common misspelling.
|
|
|
|
[ruby-core:72466] [Bug #11870]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53298 | naruse | 2015-12-25 03:37:43 +0900 (Fri, 25 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
Add ruby_2_3 branch to .travis.yml [ci skip]
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53295 | usa | 2015-12-25 03:06:31 +0900 (Fri, 25 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
* doc/contributing.rdoc: removed the list of branch maintainers because it may
|
|
|
|
be too old when users see it.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53294 | naruse | 2015-12-25 02:53:11 +0900 (Fri, 25 Dec 2015) | 3 lines
|
|
|
|
|
|
|
|
ignore exception is the address is IPv6
|
|
|
|
|
|
|
|
some environments disables IPv6 even if they have IPv6 addresses.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53293 | svn | 2015-12-25 02:25:56 +0900 (Fri, 25 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* properties.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53292 | usa | 2015-12-25 02:25:26 +0900 (Fri, 25 Dec 2015) | 2 lines
|
|
|
|
|
|
|
|
* ChangeLog, NEWS: added.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53291 | usa | 2015-12-25 02:24:57 +0900 (Fri, 25 Dec 2015) | 2 lines
|
|
|
|
|
|
|
|
* doc/{ChangeLog,NEWS}-2.3.0: moved.
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53285 | svn | 2015-12-25 00:09:55 +0900 (Fri, 25 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
* 2015-12-25
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53284 | nobu | 2015-12-25 00:09:16 +0900 (Fri, 25 Dec 2015) | 4 lines
|
|
|
|
|
|
|
|
revert deprecated functions
|
|
|
|
|
|
|
|
* error.c (rb_compile_error_with_enc, rb_compile_error),
|
|
|
|
(rb_compile_bug): revert deprecate internal functions.
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53283 | kazu | 2015-12-24 23:30:13 +0900 (Thu, 24 Dec 2015) | 1 line
|
|
|
|
|
|
|
|
fix typos
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
r53282 | nobu | 2015-12-24 23:15:14 +0900 (Thu, 24 Dec 2015) | 5 lines
|
|
|
|
|
|
|
|
iseq.c: narrow down protected region
|
|
|
|
|
|
|
|
* iseq.c (rb_iseq_compile_with_option): narrow down protected
|
|
|
|
region, and check/convert/prepare arguments before setting
|
|
|
|
base_block which needs to roll back.
|
|
|
|
------------------------------------------------------------------------
|