Project

General

Profile

Activity

From 03/08/2016 to 03/14/2016

03/14/2016

11:09 PM Bug #12175 (Closed): rb_gc_mark prevents the value from being garbage collected if called outside of a GC cycle
I had some code that called rb_gc_mark in an initializer function instead of in the corresponding mark function, and ... murgatroid99 (Michael Lumish)
10:52 PM Bug #12174: Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
The description was too specific. Whenever `to_s` is defined to be not a string, the issue arises. sawa (Tsuyoshi Sawada)
05:36 PM Bug #12174 (Rejected): Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
When `to_s` is defined to return `nil`, interpolation prints the original inspection.
~~~RUBY
class A
def to_s...
sawa (Tsuyoshi Sawada)
10:24 PM Feature #12173: `Time#till_now`
Matthew Kerwin wrote:
> Please note that "till_now" is not correct spelling; it should be "until_now" or "til_now"
...
sawa (Tsuyoshi Sawada)
08:55 PM Feature #12173: `Time#till_now`
This is related to (but different from) #8640, #8096 phluid61 (Matthew Kerwin)
08:41 PM Feature #12173: `Time#till_now`
I would use both of these if they existed, and have defined my own equivalent versions in past projects.
Please no...
phluid61 (Matthew Kerwin)
07:48 PM Feature #12173: `Time#till_now`
This can also be used to wait until a preset time:
~~~RUBY
target_time = Time.new(2017, 1, 1, 0, 0, 0)
sleep(-ta...
sawa (Tsuyoshi Sawada)
04:57 PM Feature #12173 (Open): `Time#till_now`
It is very frequent to have a time instance:
~~~RUBY
t = Time.now
~~~
and then after some operations, do:
...
sawa (Tsuyoshi Sawada)
07:39 PM Revision c5228393 (git): * test/ruby/test_rubyoptions.rb (test_disable): add tests for
--disable-gems and --disable-did_you_mean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54106 b2dd03c8-39d4-4d8...
headius (Charles Nutter)
07:03 PM Feature #12026: Support warning processor
Since this will be discussed tomorrow at the developers meeting, here's a more detailed example of how this can be us... jeremyevans0 (Jeremy Evans)
06:36 PM Revision fa0e3764 (git): * marshal.c (r_object0): Fix Marshal crash for corrupt extended object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
06:09 PM Feature #12092: Allow Object#clone to yield cloned object before freezing
Since this will be discussed tomorrow at the developers meeting, here's a more detailed example of how this can be us... jeremyevans0 (Jeremy Evans)
04:46 PM Feature #12125: Proposal: Shorthand operator for Object#method
+1 for this proposal. How about `recv.:fname`?
~~~
$ ./miniruby -e 'p Dir["*/*.c"].map(&File.:basename)'
["hypo...
mame (Yusuke Endoh)
01:44 AM Feature #12125: Proposal: Shorthand operator for Object#method
It would be nice if we could find symmetric syntax for getting an `UnboundMethod` from a module. jwmittag (Jörg W Mittag)
01:42 AM Feature #12125: Proposal: Shorthand operator for Object#method
A proposal that has existed for years, if not decades, is to deprecate usage of the `::` double colon binary infix na... jwmittag (Jörg W Mittag)
04:24 PM Revision 4358ff46 (git): * 2016-03-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:24 PM Revision a4e97af6 (git): * test/ruby/test_rubyoptions.rb: make version matching support
JRuby's version output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
headius (Charles Nutter)
01:30 PM Feature #12172 (Closed): Array#max and Array#min
I propose to define `Array#max`. It is 10+ times faster than `Enumerable#max` since it skips a call to `#each`.
~...
mame (Yusuke Endoh)
10:14 AM Revision 3d5a3a23 (git): * bignum.c (big2str_2bdigits): reduce div instruction.
Fix the code so that C compiler unify div instructions of `%` and `/`.
Before:
4291b0: 48 89 f0 ...
naruse (Yui NARUSE)
09:55 AM Bug #9905 (Closed): Fiber does not work on AIX
Change status as Closed to enqueue backport. naruse (Yui NARUSE)
09:39 AM Revision 4b15b54d (git): * include/ruby/oniguruma.h, enc/unicode.c: Adjusting flag assignments
and macros to work with unified CaseMappingSpecials array.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-l...
duerst (Martin Dürst)
07:53 AM Revision ea5e885a (git): optimize named capture assignment
* compile.c (compile_named_capture_assign): optimize named capture
assignments, by replacing repeating global varia...
nobu (Nobuyoshi Nakada)
07:03 AM Revision a4e6f7d7 (git): ruby.c: reduce fstat
* file.c (ruby_is_fd_loadable): now return -1 if loadable but
may block.
* ruby.c (open_load_file): wait to read by...
nobu (Nobuyoshi Nakada)
04:41 AM Revision fcadcd3e (git): * numeric.c (fix2str): improve r54092 like rb_int2big().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:35 AM Feature #12129: syntactic sugar for dynamic method dispatch `object_expression:method_name_expression(1, 2)`
bug hit wrote:
> Yukihiro Matsumoto wrote:
>> Describe more concretely and preferably tell us why do you need it, p...
jwmittag (Jörg W Mittag)
01:32 AM Feature #12141: send and __send__
Martin Dürst wrote:
> I agree with Yusuke. The name `__send__` is chosen explicitly to show that this is an 'interna...
jwmittag (Jörg W Mittag)
01:31 AM Bug #12069: [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
Committed with a minor wording change as r54097
s/SSLSockets/SSLSocket objects/ for searchability
normalperson (Eric Wong)
01:20 AM Bug #12069 (Closed): [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
Applied in changeset r54097.
----------
document OpenSSL::SSL::SSLContext#setup as MT-unsafe
On a cursory inspectio...
Anonymous
01:20 AM Revision 9749511d (git): document OpenSSL::SSL::SSLContext#setup as MT-unsafe
On a cursory inspection, using rb_block_call for extra_chain_cert
is thread-unsafe. There may be other instances of ...
Eric Wong
12:41 AM Bug #12163 (Rejected): New to redmine & ruby, cannot get it to install
This is not language issue.
You need to setup development files like headers and shared libraries.
hsbt (Hiroshi SHIBATA)

03/13/2016

04:26 PM Revision bd618911 (git): * 2016-03-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision 3392b6c9 (git): parse.y: adjust indent
* parse.y: adjust indent and tabify spaces after tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54095 b2dd0...
nobu (Nobuyoshi Nakada)
09:50 AM Feature #12161 (Assigned): Friendly BigDecimal#inspect
mrkn (Kenta Murata)
12:43 AM Bug #12171 (Closed): TestFile#test_file_share_delete failure
Applied in changeset r54094.
----------
win32.h: fix O_SHARE_DELETE
* include/ruby/win32.h (O_SHARE_DELETE): change...
nobu (Nobuyoshi Nakada)
12:43 AM Revision e13db770 (git): win32.h: fix O_SHARE_DELETE
* include/ruby/win32.h (O_SHARE_DELETE): change to fit Fixnum
limit. [ruby-core:74285] [Bug #12171]
git-svn-id: s...
nobu (Nobuyoshi Nakada)
12:15 AM Revision f0d1787a (git): * 2016-03-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:15 AM Revision 05d91641 (git): numeric.c: fix edge case
* numeric.c (rb_fix2str): fix edge case, accidentally generated
wrong Fixnum from LONG_MIN.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)

03/12/2016

11:33 AM Bug #12171 (Closed): TestFile#test_file_share_delete failure
I got an failure in Mingw-w64 32bit.
~~~
1) Failure:
TestFile#test_file_share_delete [E:/Jenkins/jobs/RubyInstal...
moritat (Tsuyoshi Morita)
10:55 AM Feature #12165: Hash#first, Hash#last
Yes, I would concur considering that ruby hashes are ordered these days.
It may have been different in the past wh...
shevegen (Robert A. Heiler)
10:51 AM Bug #12163: New to redmine & ruby, cannot get it to install
I am not sure if this is the appropriate forum Dawes? Since this is for the ruby core team to
have a look at what ai...
shevegen (Robert A. Heiler)
08:01 AM Feature #12110: Create a method to avoid vacuous truth?
Nobuyoshi Nakada wrote:
> Anybody proposed an optional parameter for the default value to `#all?` and `#any?` ?
...
sawa (Tsuyoshi Sawada)
07:06 AM Feature #12110: Create a method to avoid vacuous truth?
Anybody proposed an optional parameter for the default value to `#all?` and `#any?` ?
nobu (Nobuyoshi Nakada)
01:35 AM Revision 8b4448e2 (git): unicode.c: off-by-one error
* enc/unicode.c (CodePointListValidP): fix off-by-one error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54091...
nobu (Nobuyoshi Nakada)
01:15 AM Revision d48f9236 (git): unicode.c: boundary check
* enc/unicode.c (CodePointListValidP): add pathological boundary
check, for gcc 4.9.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
12:50 AM Revision 12ec73ad (git): Malformed RDoc syntax in catch [ci skip]
* vm_eval.c (rb_f_catch): [DOC] fix malformed RDoc syntax, "+...+"
cannot enclose non-identifier characters.
a pa...
nobu (Nobuyoshi Nakada)

03/11/2016

06:32 PM Feature #3944: Add Fiber#root? method
For example, the Facebook Graph API server accepts POST request to calculate smth heavy and returns id of the 'async ... Nakilon (Victor Maslov)
05:58 PM Revision 2d6f1d90 (git): * 2016-03-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:58 PM Revision db271576 (git): * test/lib/test/unit.rb: describe !/REGEXP/ in the help message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:07 PM Bug #12170 (Closed): Malformed RDoc syntax in Kernel#catch description
Patch attached. skalee (Sebastian Skalacki)
01:05 PM Bug #12169 (Rejected): How to solve the following error - An error occurred while sending the digest (undefined method `length' for true:TrueClass)
It's redmine or some plugin issue. Not ruby language issue. hsbt (Hiroshi SHIBATA)
12:14 PM Bug #12169 (Rejected): How to solve the following error - An error occurred while sending the digest (undefined method `length' for true:TrueClass)
Steps to reproduce
1)Install Redmine 3
2)Install redmine_digest
3)Navigate to plugins
4)Configure redmine digest...
shruthi (shruthi ss)
08:03 AM Revision 83e36bb5 (git): testunit: negative filter
* test/lib/test/unit.rb (Options#non_options): make regexp name
options prefixed with "!" negative filters.
* commo...
nobu (Nobuyoshi Nakada)
07:11 AM Revision 59766643 (git): * enc/unicode/case-folding.rb, casefold.h: Streamlining approach to
case mapping data not available from case folding by unifying all
three cases (special title, special upper, specia...
duerst (Martin Dürst)
03:30 AM Revision a2b88f53 (git): Revert r54082 "ruby.c: load in binary mode"
DATA is expected to be text mode, but there is no ways to make a
FD to text mode from binary mode.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
01:47 AM Revision 50dd7358 (git): * 2016-03-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:47 AM Revision d661eb44 (git): ruby.c: load in binary mode
* ruby.c (open_load_file): always open in binary mode if provided,
parser deals with CRs.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
12:42 AM Bug #12164: Binding UnboundMethod to BasicObject
"Yes" was to
> Probably it is somehow related to https://bugs.ruby-lang.org/issues/11278
I guess it's a bug-fix, ...
nobu (Nobuyoshi Nakada)
12:21 AM Bug #9905: Fiber does not work on AIX
Could you back-port this to 2.1 as well? Thanks. ReiOdaira (Rei Odaira)
12:16 AM Bug #12168 (Closed): Backport r48224 to 2.1
This is a ticket to back-port r48224 (and the fixes on which it depends) to 2.1. Ruby 2.1 gets stuck in test/openssl/... ReiOdaira (Rei Odaira)

03/10/2016

08:00 PM Bug #12167 (Closed): Backport r54025 (Avoid false positive in an IMAP test)
This is a ticket to back-port r54025 to 2.3. ReiOdaira (Rei Odaira)
07:46 PM Bug #12166 (Closed): Backport r54073 (AIX does not set MSG_TRUC for recvmsg(2) with MSG_PEEK)
This is a ticket to back-port r54073 to 2.3. ReiOdaira (Rei Odaira)
06:00 PM Feature #12165 (Open): Hash#first, Hash#last
Just run into a simple problem with a colleague and was wondering why there is no Hash#last method?
~~~ruby
{a: t...
stillhart (Fabian Stillhart)
02:04 PM Bug #12164: Binding UnboundMethod to BasicObject
Nobuyoshi Nakada wrote:
> Yes.
Thank you! Well... a feature?
decuplet (Nikita Shilnikov)
01:16 PM Bug #12164 (Closed): Binding UnboundMethod to BasicObject
Yes. nobu (Nobuyoshi Nakada)
11:22 AM Bug #12164 (Closed): Binding UnboundMethod to BasicObject
I tried to bind method from Object to BasicObject and I suddenly succeeded.
For example:
```
$ irb
2.3.0 :001 ...
decuplet (Nikita Shilnikov)
09:41 AM Feature #12110: Create a method to avoid vacuous truth?
Martin Dürst wrote:
> But this isn't so much because that's how natural language works.
That is how natural langu...
sawa (Tsuyoshi Sawada)
09:06 AM Feature #12110: Create a method to avoid vacuous truth?
Tsuyoshi Sawada wrote:
> In natural language, universal quantification carries a presupposition that the domain is...
duerst (Martin Dürst)
07:24 AM Feature #12110: Create a method to avoid vacuous truth?
Thanks Martin and Tsuyoshi,
Yes, all of this makes sense when you just look at it the right way.
Otherwise this...
avit (Andrew Vit)
08:34 AM Revision cf09c0c3 (git): iseq.h: coverage_enabled flag
* iseq.c (prepare_iseq_build): enable coverage by coverage_enabled
option, not by parse_in_eval flag in the thread ...
nobu (Nobuyoshi Nakada)
07:27 AM Revision 2d39d114 (git): node.c: no nd_compile_option unless set
* node.c (dump_node): show nd_compile_option only when it is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
07:27 AM Revision 72b3e226 (git): node.c: stringize before expansion
* node.c (F_NODE, F_OPTION): stringize member names defined as
macros before expansion.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
07:06 AM Revision 46ac76b6 (git): iseq.h: bit flags
* iseq.h (rb_compile_option_struct): turn boolean flags to bit
fields.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
06:59 AM Feature #12157: Is the option hash necessary for future Rubys?
**Edited:**
_Tsuyoshi Sawada_: how do you feel about those edge cases dealing with the double splat? Do you know of ...
justcolin (Colin Fulton)
05:58 AM Feature #12157: Is the option hash necessary for future Rubys?
Note that optional hash is not just for arguments in method call. It is also used for arrays, for example:
["a...
sawa (Tsuyoshi Sawada)
06:19 AM Revision a944bdd5 (git): node.c: hidden options hash
* node.c (dump_option): nd_compile_option is a hidden hash object,
cannot call inspect on it.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
05:32 AM Revision 9871d88e (git): iseq.c: set coverage at once
* iseq.c (prepare_iseq_build): set coverage at once, not
repeatedly resetting.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
05:32 AM Revision c3900ff4 (git): thread.c: check type of coverage
* thread.c (update_coverage): check type of coverage array not
only if non-zero.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
04:10 AM Feature #12160: Extract XMLRPC library to bundled gem
As the lib/xmlrpc maintainer, I missed these issues. Sorry and thanks for handling them.
I handled issues I notice...
kou (Kouhei Sutou)
12:55 AM Revision e266279a (git): * 2016-03-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:55 AM Revision acfd12ae (git): * test/socket/test_socket.rb (test_udp_recvmsg_truncation):
AIX does not set the MSG_TRUNC flag for a message partially read
by recvmsg(2) with the MSG_PEEK flag set.
git-svn...
Rei Odaira
12:07 AM Bug #12022: Inconsistent behavior with splatted named arguments
_NOTE_: I did find a "cleaner" way to do the decorator mentioned in the **Further Information** section, but it uses ... justcolin (Colin Fulton)

03/09/2016

11:56 PM Feature #12157: Is the option hash necessary for future Rubys?
# Examples
Currently Ruby has syntactic sugar to make passing a Hash as a final argument prettier. Consider the fo...
justcolin (Colin Fulton)
09:49 PM Feature #12157: Is the option hash necessary for future Rubys?
An option hash is just an optional argument with a default value of the empty hash. You can't really remove options h... jeremyevans0 (Jeremy Evans)
09:25 PM Feature #12157: Is the option hash necessary for future Rubys?
Sorry, I accidentally marked this as a bug. Moving it to features. justcolin (Colin Fulton)
10:25 PM Feature #11997: A method to read a file with interpolations
As far as implementation, `File.eval` doesn't feel right since you may want any `IO` object—or any object with `#read... justcolin (Colin Fulton)
09:49 PM Feature #11997: A method to read a file with interpolations
~~I agree that ERB is ugly for a lot of cases, but—since there is a one liner to write this in Ruby—I don't think it ... justcolin (Colin Fulton)
09:41 PM Feature #12084: `Class#instance`
This feature would solve a lot of problems I had while doing what should have been simple meta-programming (if there ... justcolin (Colin Fulton)
07:39 PM Bug #12163 (Rejected): New to redmine & ruby, cannot get it to install
Installation output for redmine 3.2.0:
[root@localhost redmine]# /usr/local/bin/bundle install --without developmen...
GREYHELM (Dawes Graybeal)
03:25 PM Bug #12054: Remove block from Logger.add as it's not needed
r53790 and r53844 were backported into `ruby_2_2` branch at r54072. nagachika (Tomoyuki Chikanaga)
03:25 PM Revision 3d3ff04b (git): merge revision(s) 53790,53844: [Backport #12054]
* lib/logger.rb: Remove block from Logger.add as it's not needed
patch provided by Daniel Lobato Garcia [fi...
nagachika (Tomoyuki Chikanaga)
03:21 PM Bug #11495: [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
r51006 and r53784 were backported into `ruby_2_2` branch at r54071. nagachika (Tomoyuki Chikanaga)
03:20 PM Revision 3e7a554e (git): merge revision(s) 51006,53784: [Backport #11495]
* re.c: Update documentation for Regexp class.
[fix GH-937][ci skip] Patch by @davydovanton
* re.c...
nagachika (Tomoyuki Chikanaga)
03:15 PM Bug #11877: Socket.gethostname will fail when the hostname length == RUBY_MAX_HOST_NAME_LEN
Backported into `ruby_2_2` branch at r54070. nagachika (Tomoyuki Chikanaga)
03:14 PM Revision f548ea1f (git): merge revision(s) 53677: [Backport #11877]
* ext/socket/socket.c (sock_gethostname): support unlimited size
hostname.
git-svn-id: svn+ssh://ci.ruby-...
nagachika (Tomoyuki Chikanaga)
03:05 PM Bug #12162 (Third Party's Issue): OpenSSL::PKCS7 seems to create broken objects (nested asn.1 error)
When trying to read previously created OpenSSL::PKCS7 object, it fails with 'nested asn.1 error'. Seems like object i... wesoly_opos (Jarosław Górny)
02:01 PM Bug #11489: XMLRPC client cannot alter SSL options for _async calls
Backported into `ruby_2_2` branch at r54069. nagachika (Tomoyuki Chikanaga)
02:01 PM Revision eb4ed0ec (git): merge revision(s) 53318: [Backport #11489]
* lib/xmlrpc/client.rb: Support SSL options in async methods of
XMLRPC::Client.
[Bug #11489]
...
nagachika (Tomoyuki Chikanaga)
01:59 PM Bug #12011: honor Marshal.load post proc value for TYPE_LINK
Backported into `ruby_2_2` branch at r54068. nagachika (Tomoyuki Chikanaga)
01:58 PM Revision 6aad84e0 (git): merge revision(s) 53609: [Backport #12011]
* marshal.c (r_object0): honor Marshal.load post proc
value for TYPE_LINK. by Hiroshi Nakamura <nahi@ruby-...
nagachika (Tomoyuki Chikanaga)
01:46 PM Bug #11958: TCPSocket.getsockopt().bool raises a TypeError on windows
Backported into `ruby_2_2` branch at r54067. nagachika (Tomoyuki Chikanaga)
01:45 PM Revision 7d25771f (git): merge revision(s) 53561: [Backport #11958]
* ext/socket/option.c (sockopt_bool): relax boolean size to be one
too not only sizeof(int). Winsock getso...
nagachika (Tomoyuki Chikanaga)
01:30 PM Revision 75b61aa3 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:42 PM Feature #12161 (Closed): Friendly BigDecimal#inspect
Can BigDecimal's #inspect be more human-friendly? Even just `#<BigDecimal:b7ea1130,1234.5678,8(12)>` instead of `#<Bi... printercu (Max Melentiev)
10:39 AM Revision 47c00f30 (git): common.mk: dependency of prelude.o
* common.mk (prelude.o): fix missing dependency on iseq.h, for
rb_compile_option_t.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
09:24 AM Bug #12082: Tail-calling method can't catch exception raised by tail-called method
Updating my patch, because it breaks such code:
~~~ruby
def errinfo
$!
end
RubyVM::InstructionSequence.compi...
rhenium (Kazuki Yamaguchi)
07:52 AM Revision 649736de (git): driver.rb: unused variable
* benchmark/driver.rb (BenchmarkDriver.load): remove unused
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
07:49 AM Revision dc39baa9 (git): * benchmark/driver.rb: fix my last commit (syntax error).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:42 AM Revision a036c026 (git): * benchmark/driver.rb: fix output messages.
* benchmark/memory_wrapper.rb: use respond_to? because
member? does not work well.
git-svn-id: svn+ssh://ci.ruby-...
ko1 (Koichi Sasada)
07:22 AM Revision a5ca1179 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:22 AM Revision 61aa2685 (git): * benchmark/driver.rb: support memory usage benchmark.
use `--measure-target=[target]'.
Now, we can use the following targets:
* real (default): real time which retur...
ko1 (Koichi Sasada)
07:17 AM Revision 2d3a6ba6 (git): hash.c: COPY_DEFAULT
* hash.c (COPY_DEFAULT): new macro to copy the default value/proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
07:17 AM Revision e6840690 (git): hash.c: SET_PROC_DEFAULT
* hash.c (SET_PROC_DEFAULT): new macro to set the default proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 7522e064 (git): hash.c: SET_DEFAULT
* hash.c (SET_DEFAULT): new macro to set the default value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54057 ...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 921d6e26 (git): hash.c: hash_dup for rb_hash_to_h
* hash.c (rb_hash_to_h): share hash_dup to copy the contents and
the default value/proc only.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 865a326d (git): hash.c: make duplicated hash WB protected
* hash.c (hash_alloc_flags): allocate new hash with the flags and
the default value.
* hash.c (hash_dup): duplicat...
nobu (Nobuyoshi Nakada)
06:09 AM Feature #12160 (Closed): Extract XMLRPC library to bundled gem
XMLRPC library is no longer maintain actively.
I removed broken parsers in Mar. 2016. This issue opend at 2014.
N...
hsbt (Hiroshi SHIBATA)
06:05 AM Revision f937d32f (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:05 AM Revision 1228d134 (git): * benchmark/bm_vm3_gc_old_full.rb: add GC.start benchmark.
* benchmark/bm_vm3_gc_old_immediate.rb: ditto.
* benchmark/bm_vm3_gc_old_lazy.rb: ditto.
git-svn-id: svn+ssh://ci....
ko1 (Koichi Sasada)
06:02 AM Revision b0651410 (git): * benchmark/driver.rb: exit benchmarking if a benchmark process
receives signals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:14 AM Revision cccfe477 (git): test_hash.rb: tests for to_h
* test/ruby/test_hash.rb: add tests for Hash#to_h, which copies
default value/proc but not instance variables.
git...
nobu (Nobuyoshi Nakada)
04:45 AM Revision d000891e (git): hash.c: tbl_update_func
* hash.c (tbl_update_func): extract function typedef from the
declaration of tbl_update.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
04:22 AM Revision e1e223a8 (git): memory_status.rb: independent of MiniTest
* test/lib/memory_status.rb: make Memory::Status independent of
MiniTest::Skip.
* test/lib/test/unit/assertions.rb ...
nobu (Nobuyoshi Nakada)
03:48 AM Revision b3f4db92 (git): memory_status.rb: remove unused values
* test/lib/memory_status.rb: remove initial status values, which
are not used.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
01:43 AM Bug #12159: Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
Usaku NAKAMURA wrote:
> I guess that it's intentional.
> `absolute_path` guarantees to contain the absolute path, b...
tagomoris (Satoshi Tagomori)
01:40 AM Bug #12159 (Assigned): Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
I guess that it's intentional.
`absolute_path` guarantees to contain the absolute path, but `path` does not guarante...
usa (Usaku NAKAMURA)
01:27 AM Bug #12159 (Closed): Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
I expected that Thread::Backtrace::Location#path always returns base filename, but returns absolute path for files lo... tagomoris (Satoshi Tagomori)
01:16 AM Bug #12156 (Assigned): TckImage.new broken after r53077 (2.3, trunk)
hsbt (Hiroshi SHIBATA)
12:28 AM Revision 8f5cbc58 (git): * test/io/wait/test_io_wait.rb (test_wait_readwrite_timeout):
select(2) in AIX returns "readable" for the write-side fd
of a pipe, so it is not possible to use a pipe to test
...
Rei Odaira

03/08/2016

11:00 PM Revision 96e0b7d4 (git): * win32/win32.c (rb_w32_write_console): remove unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:29 PM Feature #12142: Hash tables with open addressing
Vladimir Makarov wrote:
>
> What is missing in the above calculations is the probability of collisions for *the ...
vmakarov (Vladimir Makarov)
08:15 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> > I don't like lists (through pointer or indexes). This is a disperse data structure hurting l...
vmakarov (Vladimir Makarov)
05:39 PM Feature #12142: Hash tables with open addressing
> I don't like lists (through pointer or indexes). This is a disperse data structure hurting locality and performance... funny_falcon (Yura Sokolov)
04:01 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> I think, if your intention were to reduce table size when elements counts decreased, then you ...
vmakarov (Vladimir Makarov)
03:49 AM Feature #12142: Hash tables with open addressing
I think, if your intention were to reduce table size when elements counts decreased, then you have error here:
https...
funny_falcon (Yura Sokolov)
02:16 AM Feature #12142: Hash tables with open addressing
Vladimir Makarov wrote:

> *Still the community should decide about 32-bit hashes and indexes* because it is an im...
duerst (Martin Dürst)
08:28 PM Bug #11885: [PATCH] IO#readpartial rejects bad args
r51016(partially) and r53329 were backported into `ruby_2_2` branch at r54045. nagachika (Tomoyuki Chikanaga)
08:12 PM Bug #11885: [PATCH] IO#readpartial rejects bad args
rr54041 was reverted at r54044 because r54041 breaks some openssl tests. nagachika (Tomoyuki Chikanaga)
07:14 PM Bug #11885: [PATCH] IO#readpartial rejects bad args
Backported into `ruby_2_2` branch at r54041.
`ruby_2_2` branch also requires the same patch with r53932.
nagachika (Tomoyuki Chikanaga)
08:27 PM Revision 83d705f6 (git): merge revision(s) 51016,53329: [Backport #11885]
* ext/openssl/ossl_ssl.c (ossl_ssl_read_internal):
do not process kwargs in blocking mode
* test/o...
nagachika (Tomoyuki Chikanaga)
08:11 PM Revision e23a564a (git): revert r54041. it breaks openssl tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
07:46 PM Bug #11898: backport r53346-r53349
r53346, r53347, r53348, r53349, r53391 and r53928 were backported into `ruby_2_2` branch at r54043. nagachika (Tomoyuki Chikanaga)
07:45 PM Revision 055c3336 (git): merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]
* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter.
...
nagachika (Tomoyuki Chikanaga)
07:19 PM Bug #11945: [PATCH] stringio: binmode sets encoding to ASCII-8BIT
Backported into `ruby_2_2` branch at r54042. nagachika (Tomoyuki Chikanaga)
07:19 PM Revision ebacc098 (git): merge revision(s) 53435: [Backport #11945]
* ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_...
nagachika (Tomoyuki Chikanaga)
07:12 PM Revision 117fec74 (git): merge revision(s) 53329: [Backport #11885]
* io.c (io_getpartial): remove unused kwarg from template
* test/ruby/test_io.rb (test_readpartial_bad_args)...
nagachika (Tomoyuki Chikanaga)
07:03 PM Bug #11870: Eradication of typical misspellings
Backported into `ruby_2_2` branch at r54040. nagachika (Tomoyuki Chikanaga)
07:02 PM Revision 0df86c0b (git): merge revision(s) 53299: [Backport #11870]
* cont.c, doc, man: fix common misspelling.
[ruby-core:72466] [Bug #11870]
git-svn-id: svn+ssh://ci.ruby-...
nagachika (Tomoyuki Chikanaga)
06:52 PM Bug #11862: [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs
Backported into `ruby_2_2` branch at r54039. nagachika (Tomoyuki Chikanaga)
06:51 PM Revision cb37e401 (git): merge revision(s) 53259: [Backport #11862]
* ext/socket/init.c (rsock_init_sock): reject reserved FDs
[ruby-core:72445] [Bug #11862]
git-svn-id: svn...
nagachika (Tomoyuki Chikanaga)
06:50 PM Bug #11854: Socket.for_fd(-1) causes segmentaion fault on mingw32.
r52605, r53231 and r53244 were backported into `ruby_2_2` branch at r54038. nagachika (Tomoyuki Chikanaga)
06:49 PM Revision f429ee01 (git): merge revision(s) 52605,53231,53244: [Backport #11854]
init.c: is_socket
* ext/socket/init.c (is_socket): extract predicate to see if the
given fd is a socket.
...
nagachika (Tomoyuki Chikanaga)
06:38 PM Revision d9166317 (git): * test/ruby/test_require.rb (test_require_with_loaded_features_pop):
Only remove PATH so threads don't accidentally double-pop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54037 b...
headius (Charles Nutter)
06:35 PM Bug #11825: MatchData#names returns ASCII-8BIT
Backported into `ruby_2_2` branch at r54036. nagachika (Tomoyuki Chikanaga)
06:34 PM Revision eb712553 (git): merge revision(s) 53167: [Backport #11825]
* re.c (reg_names_iter): should consider encoding of regexp.
[ruby-core:72185] [Bug #11825]
git-svn-id: s...
nagachika (Tomoyuki Chikanaga)
03:29 PM Revision 6cde2d35 (git): vm_method.c: fix aliased original name
* vm_method.c (rb_alias): the original name should be properly
available method_added method, set the name before c...
nobu (Nobuyoshi Nakada)
03:21 PM Revision 3c4ade20 (git): ruby 2.0.0 has ended
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:21 PM Revision 7b7c7b33 (git): ruby.c: extra comma
* ruby.c (feature_option, debug_option, dump_option): remove an
extra comma from option lists.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
03:07 PM Revision 7196266b (git): * 2016-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 PM Revision a435fae7 (git): logger.rb: kwd args
* lib/logger.rb (Logger::LogDevice#initialize): define using
keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
02:38 PM Revision 4c0e360d (git): test/ruby/test_array.rb: split permute + stack error tests out.
* test/ruby/test_array.rb: split out the test for no stack error
on large input for test_permutation, test_repeated...
headius (Charles Nutter)
02:25 PM Feature #2567: Net::HTTP does not handle encoding correctly
Hello,
I'm gonna give my 50 cents:
~~~
class Net::HTTPResponse
def read_body(dest = nil, &block)
if @r...
fornellas (Fabio Pugliese Ornellas)
09:15 AM Revision 1b49df0b (git): * intern.h (rb_divmod): assume compilers `/` and `%` comply C99
and reduce branching. If a compiler doesn't comply, add #ifdefs.
* intern.h (rb_div): added for Ruby's behavior.
* ...
naruse (Yui NARUSE)
08:54 AM Bug #12158 (Closed): Fixnum#% doesn't show its name on ZeroDivisionError
Applied in changeset r54028.
----------
* insns.def (opt_mod): show its method name on ZeroDivisionError.
[Bug #12...
naruse (Yui NARUSE)
08:54 AM Bug #12158 (Closed): Fixnum#% doesn't show its name on ZeroDivisionError
```
% ruby -ve'p 12345 % 0'
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-freebsd10.2]
-e:1:in `<main>': divide...
naruse (Yui NARUSE)
08:54 AM Revision 87adc59b (git): * insns.def (opt_mod): show its method name on ZeroDivisionError.
[Bug #12158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:34 AM Revision b0b2df25 (git): * win32/win32.c (rb_w32_write_console): now no need to check
ERROR_CALL_NOT_IMPLEMENTED because it is for old Win9X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54027 b2d...
U.Nakamura
08:01 AM Bug #12147 (Rejected): Time::local returns incorrect ending of US DST
usa (Usaku NAKAMURA)
01:14 AM Bug #12147 (Closed): Time::local returns incorrect ending of US DST
Ryan Mitchell wrote:
> So this isn't a bug per se and I'm happy to have it closed.
duerst (Martin Dürst)
07:55 AM Revision 693b3353 (git): * win32/win32.c (rb_w32_write_console): stop the VT100 emulation if the
console supports it natively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54026 b2dd03c8-39d4-4d8f-98ff-823fe...
U.Nakamura
05:16 AM Feature #12157 (Closed): Is the option hash necessary for future Rubys?
Option hashes were great before Ruby had named arguments, but with the addition of named arguments and the double spl... justcolin (Colin Fulton)
04:59 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
#12022 has some further exploration of this bug. justcolin (Colin Fulton)
04:32 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
The inconsistency is even more serious. See #11860. sawa (Tsuyoshi Sawada)
02:26 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
Adding to this, the current behavior results in the following inconsistent behavior: I can call an argless method usi... ozydingo (Andrew Schwartz)
04:32 AM Bug #11860: Double splat does not work on empty hash assigned via variable
This bug is related to #10708. sawa (Tsuyoshi Sawada)
02:23 AM Bug #12156 (Rejected): TckImage.new broken after r53077 (2.3, trunk)
This simple test program fails with ruby2.3, but worked in previous versions:
```
require 'tk'
require 'tkextlib...
zeha (Christian Hofstaedtler)
 

Also available in: Atom