Project

General

Profile

Activity

From 02/01/2017 to 02/07/2017

02/07/2017

11:47 PM Bug #13200 (Closed): Ruby 2.4.0 Stable Fails to Build from Source on openSUSE

An excerpt of a "make" console output
from a LLVM/clang based build session of the
https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.gz
that has the SHA256 sum of
152fd0bd15a90b4a18213448f485d4b53e9f7662e1508190aa5b702446b...
martin_vahi (Martin Vahi)
10:21 PM Bug #13188: Reinitialize Ruby VM.
SASADA Koichi <ko1@atdot.net> wrote:
> On 2017/02/06 10:10, shyouhei@ruby-lang.org wrote:
> > VM-stored pointers
>
> More correctly, thread-local variables (on pthread).

Was it function call overhead from pthread_getspecific?

...
normalperson (Eric Wong)
09:07 PM Bug #13195: bigdecimal/util.rb: [DOC] Fix documentation errors

I guess the GitHub repo is now the correct place for issues concerning bigdecimal...? Or isn't it?
Anyhow, I opened a PR there, see https://github.com/ruby/bigdecimal/pull/57.
_Update: merged upstream_
stomar (Marcus Stollsteimer)
05:39 PM Bug #12613: iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
ruby_2_3 r57572 merged revision(s) 57368. nagachika (Tomoyuki Chikanaga)
05:39 PM Revision 8e25d645 (git): merge revision(s) 57368: [Backport #12613]
compile.c: check err_info
* compile.c (iseq_setup): bail out if any errors found.
[ruby-core:76531] [Bug #12613]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:29 PM Bug #12604: Win32::Resolv.get_resolv_info returns unavailable DNS servers
ruby_2_3 r57571 merged revision(s) 55781,55783. nagachika (Tomoyuki Chikanaga)
05:28 PM Revision c59b3913 (git): merge revision(s) 55781,55783: [Backport #12604]
* ext/win32/resolv/resolv.c (get_dns_server_list): [Win32] get DNS
servers only for connected network devices by GetNetworkParams
API. [Bug #12604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@5757...
nagachika (Tomoyuki Chikanaga)
05:18 PM Bug #12478: ruby2.2.5でオブジェクトに対して def_delegatorを行うとNoMethodError undefined method `method_defined?' が発生する。
ruby_2_3 r57570 merged revision(s) 53383,55366. nagachika (Tomoyuki Chikanaga)
05:18 PM Revision 1034b6d2 (git): merge revision(s) 53383,55366: [Backport #12478]
* 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_...
nagachika (Tomoyuki Chikanaga)
05:02 PM Bug #13054: MatchData segfaults if RMatch::regexp is nil
ruby_2_3 r57569 merged revision(s) 57123. nagachika (Tomoyuki Chikanaga)
05:02 PM Revision 161f08ba (git): merge revision(s) 57123: [Backport #13054]
re.c: consider the case of RMatch::regexp is nil
Follow r49675, r57098 and r57110. Don't assume RMatch::regexp always
contains a valid Regexp instance; it will be Qnil if the MatchData is
created by rb_backref_se...
nagachika (Tomoyuki Chikanaga)
04:45 PM Bug #12991: Documentation of Thread.abort_on_exception is wrong: it raises error again in main thread
ruby_2_3 r57568 merged revision(s) 56928. nagachika (Tomoyuki Chikanaga)
04:45 PM Revision 13a55f43 (git): merge revision(s) 56928: [Backport #12991]
thread.c: fix doc of abort_on_exception [ci skip]
* thread.c (rb_thread_s_abort_exc, rb_thread_s_abort_exc_set):
[DOC] the raised exception will be re-raised in the main thread,
and then follows the ordinary exception sequen...
nagachika (Tomoyuki Chikanaga)
04:44 PM Bug #13066: 2.4.0-rc1, VC14, Segmentation fault on RSS::TestRSS10Core#test_to_xml
ruby_2_3 r57567 merged revision(s) 57172. nagachika (Tomoyuki Chikanaga)
04:44 PM Revision 15fbd0aa (git): merge revision(s) 57172: [Backport #13066]
time.c: fix type of usec2subsecx
* time.c (usec2subsecx): fix return type, which is a numeric
object but not a long int. [ruby-dev:49912] [Bug #13066]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57567 b2dd0...
nagachika (Tomoyuki Chikanaga)
04:42 PM Bug #12910: TestFileUtils#test_chown_R_force might get stuck when process has no supplementary groups
ruby_2_3 r57566 merged revision(s) 56892. nagachika (Tomoyuki Chikanaga)
04:42 PM Revision 24a57580 (git): merge revision(s) 56892: [Backport #12910]
test_fileutils.rb: fix deadlock
* test/fileutils/test_fileutils.rb (assert_output_lines): ensure
that write pipe is closed, not the reader thread to deadlock
when an exception raised in the given block.
[ruby-core:78053] [...
nagachika (Tomoyuki Chikanaga)
04:38 PM Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
ruby_2_3 r57565 merged revision(s) 56224. nagachika (Tomoyuki Chikanaga)
04:38 PM Revision 7d3b03f9 (git): merge revision(s) 56224: [Backport #12785]
* test/misc/test_ruby_mode.rb (assert_indent): since write-region
in Emacs 25.1 no longer displays the "Wrote file" message, shows
the explicit message to check if successfully finished.
[ruby-core:77355] [B...
nagachika (Tomoyuki Chikanaga)
12:49 PM Revision 026ded93 (git): {ext,test}/zlib: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:56 AM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Although it does not solve Aaron's use case, I would suggest to have a `Integer.try_convert`, `Float.try_convert`, `Rational.try_convert`, and `Complex.try_convert` which do not raise exceptions, but just return `nil`. To keep consistenc... rbjl (Jan Lelis)
10:13 AM Feature #13199 (Closed): Gemify strscan
Commited at r57560 hsbt (Hiroshi SHIBATA)
07:09 AM Feature #13199 (Closed): Gemify strscan
This issue is tracking for gem release of StringScanner class. hsbt (Hiroshi SHIBATA)
08:16 AM Revision 75111307 (git): test/unit.rb: old GNU make
* test/lib/test/unit.rb (Test::Unit::Parallel#non_options):
support old GNU make, which uses --jobserver-fds option instead
of --jobserver-auth.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57563 b2dd03c8-39d4-4d8f-98ff-823fe69...
nobu (Nobuyoshi Nakada)
08:09 AM Revision d686b022 (git): test_parallel.rb: match the count
* test/testunit/test_parallel.rb (test_should_run_all_without_any_leaks):
match the final test count instead of progressing indicators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:55 AM Bug #13198 (Assigned): Tempfile#size is nil when nothing is written, expected 0
It is because `Fie.size?` is used instead of `File.size`, since r50682.
I suspect that it would be a typo and unintentional.
```diff
diff --git i/lib/tempfile.rb w/lib/tempfile.rb
index d068dd603c..b36c6638b6 100644
--- i/lib/temp...
nobu (Nobuyoshi Nakada)
07:14 AM Revision 2507e900 (git): Fix a required ruby version on gemspec of gemified libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
07:14 AM Revision 4a02608b (git): Added initial gemspec for StringScanner class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:35 AM Feature #13197: Gemify fileutils
Note: Pathname class depends FileUtils. If we added breaking changes to `FileUtils`, Pathname is also broken.
https://github.com/ruby/ruby/blob/trunk/ext/pathname/lib/pathname.rb#L569
So, We need to add dependency FileUtils to Path...
hsbt (Hiroshi SHIBATA)
02:49 AM Feature #13197 (Assigned): Gemify fileutils
hsbt (Hiroshi SHIBATA)
05:19 AM Revision a02a8dfa (git): test/unit.rb: most-asserted
* test/lib/test/unit.rb (Statistics#record): record most asserted
tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:24 AM Revision 950d15bc (git): TRUE is not defined here...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:14 AM Revision 361edea7 (git): remove compare with enum value.
* vm_core.h (vm_block_handler_verify): some compilers warn about comparison
with enum value and 0. Real assertion is in vm_block_handler_type() so
we only need to call vm_block_handler_type() and the value should be TRUE.
git-svn-i...
ko1 (Koichi Sasada)
03:58 AM Revision 8dedf08b (git): test/unit.rb: defined
* test/lib/test/unit.rb (Test::Unit::Statistics#record): check if
@longest is set first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:55 AM Revision 406c5252 (git): test/unit: record in parallel
* test/lib/test/unit.rb (Test::Unit::Parallel#deal): deal with
record.
* test/lib/test/unit/parallel.rb (Test::Unit::Worker#record):
report test records to the master.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57555 b2dd03c...
nobu (Nobuyoshi Nakada)
02:49 AM Revision 10c51ff5 (git): test/unit.rb: statistics
* test/lib/test/unit.rb (Test::Unit::Statistics): show statistics.
only --longest option is implemented right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:49 AM Revision ad57f92f (git): * 2017-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:49 AM Revision 8ebdec34 (git): rbinstall.rb: umask hack
* tool/rbinstall.rb (Gem::Installer#install): moved umask hack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/06/2017

09:10 PM Bug #13193: [DOC] Revise docs for Date and DateTime
A shorter version:
```
Date.new(2001,1,31) >> 2 # => #<Date: 2001-03-31 ...>
Date.new(2001,1,31) >> 1 >> 1 # => #<Date: 2001-03-28 ...>
```
_Update:_ See #13225.
stomar (Marcus Stollsteimer)
09:05 PM Bug #13193: [DOC] Revise docs for Date and DateTime
Nobuyoshi Nakada wrote:
> To "demonstrate that different dates can result in the same return value", isn't `Date.new(2001,1,28)` better?
Agreed.
Maybe there even should be an extra paragraph that explicitly points this out.
And m...
stomar (Marcus Stollsteimer)
07:34 AM Bug #13193 (Closed): [DOC] Revise docs for Date and DateTime
Applied in changeset r57549.
----------
date_core.c: [DOC] revise docs [ci skip]
* fix malformed rdoc for Date#today, Date._strptime,
and DateTime._strptime
* add code examples for Date#<< and Date#>> to demonstrate
that different ...
nobu (Nobuyoshi Nakada)
02:48 AM Bug #13193: [DOC] Revise docs for Date and DateTime
To "demonstrate that different dates can result in the same return value", isn't `Date.new(2001,1,28)` better? nobu (Nobuyoshi Nakada)
02:44 AM Bug #13193: [DOC] Revise docs for Date and DateTime
Thank you for the great contribution.
Just curious what differs in examples of Jan 30 and Jan 31.
```diff
+ * Date.new(2001,1,30) >> 1 #=> #<Date: 2001-02-28 ...>
+ * Date.new(2001,1,31) >> 1 #=> #<Date: 2001-02-28 ...>...
nobu (Nobuyoshi Nakada)
07:03 PM Bug #13198 (Closed): Tempfile#size is nil when nothing is written, expected 0
~~~ ruby
require 'tempfile'
tmp = Tempfile.new
tmp.write ''
tmp.close
tmp.size # => nil
File.size(tmp.path) # => 0
~~~
I'm not sure if this is actually a bug, but this behavior really surprised me. I think it would be bette...
kyledrake (Kyle Drake)
01:45 PM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
Another implementation:
```diff
diff --git a/lib/erb.rb b/lib/erb.rb
index 9483711024..9813b4dc71 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -887,6 +887,11 @@
# code evaluation.
#
def result(b=new_toplevel)
+ if ...
nobu (Nobuyoshi Nakada)
01:23 PM Revision a4fde3b6 (git): {ext,test}/strscan: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:21 PM Feature #8643: Add Binding.from_hash
If #8631 was accepted, I think it could be okay to close this one as this is the only use-case for this I've needed so far. But before #8631 is accepted, this one would be also a good alternative... rosenfeld (Rodrigo Rosenfeld Rosas)
03:29 AM Feature #8643 (Feedback): Add Binding.from_hash
Can I close this issue?
ko1 (Koichi Sasada)
09:51 AM Feature #13197 (Closed): Gemify fileutils
Applied in changeset r57550.
----------
Added initial gemspec for FileUtils module.
[Feature #13197]
hsbt (Hiroshi SHIBATA)
09:43 AM Feature #13197 (Closed): Gemify fileutils
This issue is tracking for gem release of FileUtils module. hsbt (Hiroshi SHIBATA)
09:51 AM Revision 52dbede2 (git): Added initial gemspec for FileUtils module.
[Feature #13197]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:54 AM Feature #12760: Optional block argument for `itself`
Hello.
Is there any movement?
Nondv (Dmitry Non)
07:34 AM Revision bcad5a51 (git): date_core.c: [DOC] revise docs [ci skip]
* fix malformed rdoc for Date#today, Date._strptime,
and DateTime._strptime
* add code examples for Date#<< and Date#>> to demonstrate
that different dates can result in the same return value
* use Date::ITALY in call-seq instead of ...
nobu (Nobuyoshi Nakada)
04:09 AM Bug #13196: Improve keyword argument errors when non-keyword arguments given
How about this?
```
$ ./miniruby -e 'def explode(code:)end' -e 'explode(1)'
-e:1:in `explode': wrong number of arguments (given 1, expected 0 with required keyword code) (ArgumentError)
from -e:2:in `<main>'
```
```diff
diff ...
nobu (Nobuyoshi Nakada)
03:24 AM Bug #13196: Improve keyword argument errors when non-keyword arguments given
I guess the error-reporting there did not yet account for the possibility that keyword arguments can be
mandatory too, so I agree that the message "wrong number of arguments (given 1, expected 0)" appears to
be incorrect, since one ind...
shevegen (Robert A. Heiler)
03:46 AM Bug #9262 (Closed): global_method_cache should be configurable or grow automatically
I close this issue because I want to try another approach.
Otherwise, current MRI has global variable to configure this size.
ko1 (Koichi Sasada)
03:19 AM Feature #8576: Add optimized method type for constant value methods
Actually, I tried this approach, but I couldn't find good improvement. I'll try it again. ko1 (Koichi Sasada)
03:17 AM Feature #8556 (Rejected): MutexedDelegator as a trivial way to make an object thread-safe
Sorry for long absence.
> The only way to ever make +=, ||=, and others be atomic in Ruby proper would be to change the way they're parsed and potentially add a method that could be called. But this is even unpredictable because for v...
ko1 (Koichi Sasada)
02:58 AM Feature #8263: Support discovering yield state of individual Fibers
It seems nice. ko1 (Koichi Sasada)
02:55 AM Bug #10232 (Rejected): Trivial change of IMMEDIATE VALUE bits layout
Reject it and revisit sometime. ko1 (Koichi Sasada)
02:49 AM Bug #10212 (Closed): MRI is not for lambda calculus
ko1 (Koichi Sasada)
02:41 AM Bug #13188: Reinitialize Ruby VM.
On 2017/02/06 10:10, shyouhei@ruby-lang.org wrote:
> VM-stored pointers

More correctly, thread-local variables (on pthread).

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
01:10 AM Bug #13188: Reinitialize Ruby VM.
Martin Dürst wrote:
> Shyouhei Urabe wrote:
> ...
Nobu and myself each once tried to move those global variables into the VM struct, to make it possible to have multiple VMs at once (mvm). My try changed hundreds of thousands of lines...
shyouhei (Shyouhei Urabe)
02:35 AM Revision 84012757 (git): rdoc: suppress warnings in eval
* lib/rdoc/markup/to_html.rb (RDoc::Markup::ToHtml): the argument
text may contain warnings, which are useless to check if
parseable. merge rdoc/rdoc#440.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57548 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
02:35 AM Revision 65e5321a (git): common.mk: suppress debugging messages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

02/05/2017

11:52 PM Revision fa20fd84 (git): rbinstall.rb: Gem::Installer lacks dir_mode option
* tool/rbinstall.rb (bundle-gems): Gem::Installer does not support
directory permission option, set umask to owner writable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:52 PM Revision b9eb7063 (git): rbinstall.rb: rename tags
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:18 PM Bug #13196 (Closed): Improve keyword argument errors when non-keyword arguments given
Given the following method definition:
```ruby
def explode(code:)
puts "Boom!"
end
```
If a Ruby user doesn't provide any arguments when calling the `explode` method, the following helpful feedback is given:
```ruby
exp...
olivierlacan (Olivier Lacan)
04:23 PM Bug #13194 (Closed): LIBRUBY_ALIASESのアクセス権が所有者のみになっている
Applied in changeset r57543.
----------
rbinstall.rb: default umask
* tool/rbinstall.rb: revert r49841 and default umask to just
prohibit all from writing. symlink(2) has no argument to set
permissions but is affected by umask.
...
nobu (Nobuyoshi Nakada)
01:34 PM Bug #13194 (Closed): LIBRUBY_ALIASESのアクセス権が所有者のみになっている
LIBRUBY_ALIASESとして作成されるシンボリックリンクの
アクセス権が所有者のみになっています。
たぶん意図された変更ではないと思うのですが、いかがでしょうか?
~~~
/Users/kimuraw/tmp/ruby-2.5-dev/lib:
total 8392
drwxr-xr-x 7 kimuraw staff 238 Feb 5 20:34 ./
drwxr-xr-x 6 kimuraw staff 20...
kimuraw (Wataru Kimura)
04:23 PM Revision 604df3e2 (git): tool/rbinstall.rb: add new tags
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:23 PM Revision 00742d2c (git): rbinstall.rb: default umask
* tool/rbinstall.rb: revert r49841 and default umask to just
prohibit all from writing. symlink(2) has no argument to set
permissions but is affected by umask.
[ruby-dev:49975] [Bug #13194]
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
04:07 PM Revision 48732df5 (git): * 2017-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:07 PM Revision 643a935e (git): @job_tokens is defined iff @jobserver is true
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:34 PM Bug #13195 (Closed): bigdecimal/util.rb: [DOC] Fix documentation errors
```
bigdecimal/util.rb: [DOC] Fix documentation errors
* ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] fix errors
in rdoc for 'bigdecimal/util'.
Fix two errors in the docs: it's bigdecimal/util that does
extend the native class...
stomar (Marcus Stollsteimer)
02:45 PM Feature #13097: Deprecate Socket.gethostbyaddr and Socket.gethostbyname
```
$ ruby -rsocket -e 'host = "ci.ruby-lang.org"; ai = Addrinfo.ip(host); p Socket.gethostbyname(host), Socket.getaddrinfo(host, nil), ai, ai.canonname'
["ci.ruby-lang.org", [], 2, "4\xC0P\xDB"]
[["AF_INET", 0, "52.192.80.219", "52.1...
nobu (Nobuyoshi Nakada)
01:02 PM Feature #13097: Deprecate Socket.gethostbyaddr and Socket.gethostbyname
https://github.com/ruby/ruby/compare/trunk...nobu:feature/deprecate_method nobu (Nobuyoshi Nakada)
02:16 PM Revision 48d61170 (git): node.c: Fix a typo
* node.c (dump_node): Fix a typo of || operator example
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
11:15 AM Bug #11752 (Closed): Bug in Rational documentation
Applied in changeset r57539.
----------
rational.c: fix rdoc [ci skip]
* rational.c (rb_rational_plus): [DOC] fix an example.
A patch by Trygve Flathen <at.ruby-lang AT flathen.net> in
[ruby-core:71755]. [Bug #11752]
nobu (Nobuyoshi Nakada)
10:02 AM Bug #11752: Bug in Rational documentation
Any reason not to apply?
An obvious typo, but already 2 issues, one of them more than a year old...
stomar (Marcus Stollsteimer)
11:15 AM Revision 93254f4a (git): rational.c: fix rdoc [ci skip]
* rational.c (rb_rational_plus): [DOC] fix an example.
A patch by Trygve Flathen <at.ruby-lang AT flathen.net> in
[ruby-core:71755]. [Bug #11752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57539 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
11:01 AM Feature #13122: Special syntax for Hash#default_proc
Maybe both of elements and a block would be nice. nobu (Nobuyoshi Nakada)
09:51 AM Bug #13193 (Closed): [DOC] Revise docs for Date and DateTime
```
ext/date/date_core.c: [DOC] revise docs for Date and DateTime
* fix malformed rdoc for Date#today, Date._strptime,
and DateTime._strptime
* add code examples for Date#<< and Date#>> to demonstrate
that different dates can ...
stomar (Marcus Stollsteimer)
07:54 AM Revision e3300dce (git): {ext,test}/ripper: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:26 AM Revision cd6d9193 (git): pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: leap exited child process.
[ruby-dev:49974] [Bug #13191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:35 AM Bug #13192 (Closed): [DOC] Add example for Symbol#to_s
Applied in r57536 (oops, forgot bug number in commit :x)
normalperson (Eric Wong)
12:22 AM Revision a6b9b360 (git): doc: Add example for Symbol#to_s
* string.c: add example for Symbol#to_s.
The docs for Symbol#to_s only include an example for
Symbol#id2name, but not for #to_s which is an alias;
the docs should include examples for both methods.
From: Marcus Stollsteimer <sto.mar@we...
Eric Wong

02/04/2017

06:14 PM Revision 559b51ff (git): * 2017-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:14 PM Revision 68e10755 (git): fix description for current implementation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:25 PM Bug #13192 (Closed): [DOC] Add example for Symbol#to_s
The docs for Symbol#to_s only include an example for
Symbol#id2name, but not for #to_s which is an alias;
the docs should include examples for both methods.
stomar (Marcus Stollsteimer)
12:22 PM Bug #13189: [DOC] Restore class documentation for Struct
Thanks for the explanation and the hint to `git format-patch`; I'll try that for the next PR. stomar (Marcus Stollsteimer)
09:11 AM Bug #13189: [DOC] Restore class documentation for Struct
sto.mar@web.de wrote:
> @normal (@Anonymous)
>
> Regarding commit messages / further explanations:
>
> I wasn't aware that the complete description would be included
> in the commit message; is there a preferred way on
> bugs.r...
normalperson (Eric Wong)
08:12 AM Bug #13189: [DOC] Restore class documentation for Struct
@normal (@Anonymous)
Regarding commit messages / further explanations:
I wasn't aware that the complete description would be included
in the commit message; is there a preferred way on
bugs.ruby-lang.org for providing a (suggeste...
stomar (Marcus Stollsteimer)
10:48 AM Bug #13191 (Closed): sample/pty/shl.rb がうまく動かない
Applied in changeset r57531.
----------
pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: stop writer loop when the child exited.
PTY::ChildExited no longer raises asynchronously since r20298.
[ruby-dev:49974] [Bug #13191]
nobu (Nobuyoshi Nakada)
07:12 AM Bug #13191 (Closed): sample/pty/shl.rb がうまく動かない
sample/pty/shl.rb で c で起動したシェルを exit で終了した時に終了がうまく検知できないようです。
r57530 の修正がないと 1.8.6 でも動かなかったので、その修正をしたもので試したのですが、1.8.6 や 1.8.7 で試すとメインスレッドに `PTY::ChildExited` が発生して、`writer` メソッドの `STDIN.getc` が中断して rescue 節で `'Exit'` が返り、うまく終了が検知できました...
znz (Kazuhiro NISHIYAMA)
10:48 AM Revision b163b3ff (git): pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: do not manage array length separately.
[ruby-dev:49974] [Bug #13191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:48 AM Revision 69b64711 (git): pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: use io/console instead of stty.
[ruby-dev:49974] [Bug #13191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:48 AM Revision 0d98fd88 (git): pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: stop writer loop when the child exited.
PTY::ChildExited no longer raises asynchronously since r20298.
[ruby-dev:49974] [Bug #13191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57531 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
08:19 AM Bug #13188: Reinitialize Ruby VM.
Shyouhei Urabe wrote:
> AFAIK the ruby interpreter uses lots of global variables, which makes it practically impossible to re-initialize.
How difficult would it be to fix this?
duerst (Martin Dürst)
05:43 AM Bug #13188: Reinitialize Ruby VM.
AFAIK the ruby interpreter uses lots of global variables, which makes it practically impossible to re-initialize.
This is of course not a good thing (antique design). I think mruby is much modern here.
shyouhei (Shyouhei Urabe)
06:49 AM Revision 5b540799 (git): sample/pty/shl.rb: update sample
* Specify frozen_string_literal: true.
* Fix TypeError of raise.
* Use a character literal instead of Integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
06:49 AM Revision af2009a5 (git): sample/pty/script.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:49 AM Revision 2cc0461b (git): sample/pty/expect_sample.rb: Update sample
* Fix regexp capture scope bug.
* Specify frozen_string_literal: true.
* Use passive mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
06:49 AM Revision 411083a9 (git): ext/pty: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:23 AM Revision d4502a67 (git): test/unit.rb: jobserver for workers
* test/lib/test/unit.rb (Test::Unit::Parallel#process_args):
initialize @run_options to pass jobserver auth pipes to worker
processes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:28 AM Revision 1f23dd01 (git): test/unit.rb: job tokens
* test/lib/test/unit.rb (_run_parallel): deal with job tokens for
each workers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:17 AM Revision 36037442 (git): test/unit.rb: initialize instance variable
* test/lib/test/unit.rb (Test::Unit::Parallel#non_options):
initialize @jobserver instance variable to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 AM Feature #7882 (Closed): Allow rescue/else/ensure in do..end
nobu (Nobuyoshi Nakada)
01:04 AM Revision fbdec818 (git): test_gem.rb: exclude default gems
* test/rubygems/test_gem.rb: check difference to exclude default
gems from the expected results. [Feature #13186]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/03/2017

11:58 PM Bug #13189 (Closed): [DOC] Restore class documentation for Struct
Applied in changeset r57522.
----------
doc: restore class documentation for Struct
* struct.c: restore class documentation for Struct
that disappeared with r46663.
Due to r46663, the class documentation for Struct disappeared.
(The...
Anonymous
08:47 PM Bug #13189 (Closed): [DOC] Restore class documentation for Struct
```
* struct.c: restore class documentation for Struct
that disappeared with r46663.
```
Due to r46663, the class documentation for Struct disappeared.
(The revision inserted the definition of `InitVM_Struct` between
the rdoc a...
stomar (Marcus Stollsteimer)
11:58 PM Revision 02887a56 (git): doc: restore class documentation for Struct
* struct.c: restore class documentation for Struct
that disappeared with r46663.
Due to r46663, the class documentation for Struct disappeared.
(The revision inserted the definition of `InitVM_Struct` between
the rdoc and the definiti...
Eric Wong
11:55 PM Revision b0cfa46b (git): symbol.c (rb_id2str): eliminate branch to set class
Since the fstring table encompasses all strings in the
symbol table, we may reuse the fstring table walk to set
the class and eliminate the branch in rb_id2str.
* string.c (Init_String): use rb_cString immediately after definition
* sym...
Eric Wong
11:50 PM Bug #13184 (Closed): unused parameter in ruby.h - native ruby extension compilation failure on ruby 2.4
Applied in changeset r57520.
----------
ruby.h: unused parameter
* include/ruby/ruby.h (rb_scan_args_set): remove unused parameter
for more pedantic extension libraries.
[ruby-core:79399] [Feature #13184]
nobu (Nobuyoshi Nakada)
12:45 AM Bug #13184 (Closed): unused parameter in ruby.h - native ruby extension compilation failure on ruby 2.4
platform and version:
x86_64-darwin14
2.4.0
When compiling a ruby c-extension on the above ruby platform and version, the compilation fails with an error:
In file included from ../../../../src/ruby/ext/grpc/rb_byte_buffer.c:34:
/u...
apolcyn (alex polcyn)
11:50 PM Revision 257bf9c0 (git): ruby.h: unused parameter
* include/ruby/ruby.h (rb_scan_args_set): remove unused parameter
for more pedantic extension libraries.
[ruby-core:79399] [Feature #13184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:40 PM Revision 0e987881 (git): .gitignore: add ext/rbconfig/sizeof/limits.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
11:40 PM Revision bd09f790 (git): ext/rbconfig/sizeof: add limits.c to svn:ignore
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
11:34 PM Bug #13190 (Closed): [DOC] Fix error for escape sequences in string literals
Applied in changeset r57517.
----------
doc: Fix error for escape sequences in string literals
Backslash goes first in escape sequences, so it must be
"any other character following a backslash is interpreted as ...",
while the doc say...
Anonymous
10:12 PM Bug #13190 (Closed): [DOC] Fix error for escape sequences in string literals
Small change:
Backslash goes first in escape sequences, so it must be "any other character following a backslash is interpreted as ...", while the doc says "...followed by...".
stomar (Marcus Stollsteimer)
11:34 PM Revision 90fdfec1 (git): doc: Fix error for escape sequences in string literals
Backslash goes first in escape sequences, so it must be
"any other character following a backslash is interpreted as ...",
while the doc says "...followed by...".
Author: Marcus Stollsteimer <sto.mar@web.de>
[ruby-core:79418] [Bug #1319...
Eric Wong
11:28 PM Bug #13187 (Feedback): In rails console ,excute "User.all" or "User.new",remind a bugreport
No necessary information.
Maybe [Bug #12781]?
nobu (Nobuyoshi Nakada)
02:22 PM Bug #13187: In rails console ,excute "User.all" or "User.new",remind a bugreport
In rails console ,excute "User.all" or "User.new",remind a bugreport
1670 /Users/xiaodong/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/psych/y.rb
1671 /Users/xiaodong/.rvm/scripts/irbrc.rb
[NOTE]
You may have encountered a bug in th...
dongge (dongge dongge)
02:19 PM Bug #13187 (Third Party's Issue): In rails console ,excute "User.all" or "User.new",remind a bugreport
In rails console ,excute "User.all" or "User.new",remind a bugreport dongge (dongge dongge)
11:25 PM Bug #13175 (Closed): Building --with-jemalloc on FreeBSD fails
nobu (Nobuyoshi Nakada)
09:03 PM Bug #13159: [DOC] Revise documentation for OpenStruct
Patch updated to reflect r57515 (return value of each_pair). stomar (Marcus Stollsteimer)
06:27 PM Bug #13169: Fix OpenStruct#each_pair return value
Thank you for the great patch :-) marcandre (Marc-Andre Lafortune)
06:25 PM Bug #13169 (Closed): Fix OpenStruct#each_pair return value
Applied in changeset r57515.
----------
lib/ostruct.rb: Fix returned value of each_pair.
From a patch by Marcus Stollsteimer. [Fixes #13169]
marcandre (Marc-Andre Lafortune)
06:25 PM Revision d1d79f17 (git): * 2017-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:25 PM Revision 4d7b999c (git): lib/ostruct.rb: Fix returned value of each_pair.
From a patch by Marcus Stollsteimer. [Fixes #13169]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:58 PM Bug #13188 (Rejected): Reinitialize Ruby VM.
It appears that by following what appears to be a pretty standard setup procedure:
~~~
ruby_init_stack(variable_in_this_stack_frame)
ruby_init();
ruby_init_loadpath();

rb_require("enc/encdb");
rb_require("enc/trans/tra...
joedaniels29 (Joe Daniels)
04:47 PM Feature #7882: Allow rescue/else/ensure in do..end
So... Is there any movement? Nondv (Dmitry Non)
02:31 PM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
It would be nice to backport this, so we don't need to carry the patch around in Fedora. vo.x (Vit Ondruch)
02:30 PM Bug #13168 (Closed): Marshaling broken with GCC 7.x
vo.x (Vit Ondruch)
12:52 PM Revision 0fe47fad (git): test/unit.rb: share job slots
* test/lib/test/unit.rb (Test::Unit::Parallel#_run_parallel):
share job slots with GNU 'make'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:52 PM Revision 953093e2 (git): test/unit.rb: job testing flag
* test/lib/test/unit.rb (Parallel#non_options): split testing flag
and job count by OptionParser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:39 PM Feature #13186 (Closed): Gemify zlib
Applied in changeset r57512.
----------
Added initial gemspec for zlib module.
[Feature #13186]
hsbt (Hiroshi SHIBATA)
12:38 PM Feature #13186 (Closed): Gemify zlib
This issue is tracking for gem release of zlib module. hsbt (Hiroshi SHIBATA)
12:39 PM Revision 367acdaa (git): Added initial gemspec for zlib module.
[Feature #13186]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:48 AM Revision bb3d7949 (git): ensured.c: fix conflict
* ext/-test-/exception/ensured.c (exc_raise): get rid of conflict
with raise(2) in the standard. [ruby-core:79371] [Bug #13176]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:28 AM Bug #13185 (Third Party's Issue): Message: You may have encountered a bug in the Ruby interpreter or extension libraries.
Seems embedded in something called NWNX.
Please ask the author of nwnx_ruby.
nobu (Nobuyoshi Nakada)
06:06 AM Bug #13185 (Third Party's Issue): Message: You may have encountered a bug in the Ruby interpreter or extension libraries.
```
NWNX2lib: Init
NWNX2lib: org SetString() at 81f41b4, new SetString() at f769a5c1
NWNX2lib: org GetObj() at 81f40bc, new GetObj() at f769a5e8
* Parsing configuration...
NWN Extender v2.8-dev
(c) 2004 by the APS/NWNX Linux Conver...
MetaPhaze (Gabriel Homeier)
06:23 AM Bug #13176 (Closed): Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
Applied in changeset r57510.
----------
eval.c: hide internal objects
* eval.c (rb_ensure): veil internal exception objects not to leak
in ensure functions. [ruby-core:79371] [Bug #13176]
nobu (Nobuyoshi Nakada)
05:48 AM Bug #13176: Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
`Timeout.timeout` doesn't appear to be called directly, though I didn't audit all code involved. The problematic code uses `rb_ensure` and inside the ensure function it uses `rb_exc_raise`: https://github.com/jeremyevans/sequel_pg/blob/... jeremyevans0 (Jeremy Evans)
04:40 AM Bug #13176: Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
Nor `Timeout.timeout`? nobu (Nobuyoshi Nakada)
06:23 AM Revision 2aaca105 (git): eval.c: hide internal objects
* eval.c (rb_ensure): veil internal exception objects not to leak
in ensure functions. [ruby-core:79371] [Bug #13176]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:11 AM Revision c2a6adc5 (git): internal.h: fix r57507
* internal.h (rb_overflowed_fix_to_int): invert sign bit. should
not set LSB of fixnum value, which is always set, to MSB.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:05 AM Feature #13179: Deep Hash Update Method
Any method name four or less characters long is a big win. Using bury would be much nicer than my current update_deep_hash calls.
I wasn't aware of dig in the other classes. I may be overlooking something but why not just use the cla...
bettisworth (wurde _)
04:22 AM Feature #13179: Deep Hash Update Method
> Regarding the name, bury occurred to me.
.dig and .bury - I can already feel on Halloween the .zombies() coming up!
shevegen (Robert A. Heiler)
03:11 AM Feature #13045: Passing a Hash with String keys as keyword arguments
Robert A. Heiler wrote:
> Perhaps this would also reduce the need for strange things such as
> ...
First of all, why do you want to access them indifferently?
It just sounds a diabolical habit, to me.
nobu (Nobuyoshi Nakada)

02/02/2017

06:59 PM Revision 0db6b623 (git): io.c: remove rb_ensure usage for rb_str_tmp_frozen_* calls
Using rb_ensure pessimizes the common case and makes the code
more difficult to read and follow. If we hit an exceptions
during write, just let the GC handle cleanup as the exception
is already bad for garbage.
* io.c (io_fwrite): call...
Eric Wong
06:32 PM Bug #13176: Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
Neither sequel, sequel_pg, nor pg appear to use throw according to grep.
I can confirm that the patch does fix the issue. After a fix is committed to trunk, it will also need to be backported to 2.4.
jeremyevans0 (Jeremy Evans)
02:25 PM Bug #13176 (Feedback): Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
`IMEMO` as an exception is `struct vm_throw_data`, which is used by `Kernel#throw`.
Does sequel use `throw`?
```diff
diff --git a/eval.c b/eval.c
index e16d59b8bb..514413a14c 100644
--- a/eval.c
+++ b/eval.c
@@ -455,7 +455,7 @@ ...
nobu (Nobuyoshi Nakada)
05:07 PM Revision c0837cb7 (git): fix typo and argument of r57506
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 PM Revision 038ccbd1 (git): Use carry flag to reduce instructions
NOTE:
(1) Fixnum's LSB is always 1.
It means you can always run `x - 1` without overflow.
(2) Of course `z = x + (y-1)` may overflow.
Now z's LSB is always 1, and the MSB of true result is also 1.
You can get true result in l...
naruse (Yui NARUSE)
03:19 PM Bug #13180: 'superclass mismatch for class' on nested classes
Thanks for the quick patches. Would those likely be released in upcoming bug fixes? I can keep using my forked versions and reinstall once releases are out. adamdecaf (Adam Shannon)
04:27 AM Bug #13180 (Third Party's Issue): 'superclass mismatch for class' on nested classes
(Assuming you are using Bundler...) It is because openssl is loaded two times.
https://github.com/bundler/bundler/pull/5388
Regarding the error:
~~~
$ ruby -e'2.times{class A; class A < A; end end}'
-e:1:in `<class:A>': ...
rhenium (Kazuki Yamaguchi)
04:07 AM Bug #13180: 'superclass mismatch for class' on nested classes
I wonder if it has something to do with issue #11547? Might be fixed in the latest trunk if that is the case. shyouhei (Shyouhei Urabe)
03:12 PM Revision b36f5ba1 (git): * 2017-02-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 PM Revision 5eb5afb6 (git): ext/fcntl: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:51 PM Feature #6602: Tail call optimization: enable by default?
Benoit Daloze wrote:
> I think losing the backtrace is fairly bad in a mostly-imperative language.
> ...
Agreed. There are few cases in Ruby where tail-call optimization is really useful. I still believe that any explicit syntax to m...
mame (Yusuke Endoh)
12:38 PM Revision 14ccf126 (git): Add class name to assert messages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:39 AM Feature #13183 (Closed): Gemify date
Applied in changeset r57502.
----------
Added initial gemspec for Date module.
[Feature #13183]
hsbt (Hiroshi SHIBATA)
08:36 AM Feature #13183 (Closed): Gemify date
This issue is tracking for gem release of date module. hsbt (Hiroshi SHIBATA)
08:38 AM Revision c3d27b59 (git): Added initial gemspec for Date module.
[Feature #13183]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:04 AM Feature #13166: Feature Request: Byte Arrays for Ruby 3
Usually on such use case I use String as a Int8Array.
I can access a Nth bit by `str.getbyte(n/8)[n%8]`.
If you need further API, please share use cases.
naruse (Yui NARUSE)
06:56 AM Feature #13166: Feature Request: Byte Arrays for Ruby 3
How about:
```ruby
class Array8 < String
def initialize(size, value = 0)
[value].pack("C") * size
end
alias [] getbyte
alias []= setbyte
end
```
nobu (Nobuyoshi Nakada)
08:02 AM Revision c3738664 (git): escape.c: check argument
* ext/cgi/escape/escape.c (optimized_unescape): check
accept_charset encoding argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:49 AM Feature #13182 (Closed): Gemify cmath
Applied in changeset r57500.
----------
Added initial gemspec for CMath module.
[Feature #13182]
hsbt (Hiroshi SHIBATA)
07:28 AM Feature #13182 (Closed): Gemify cmath
This issue is tracking for gem release of cmath module. hsbt (Hiroshi SHIBATA)
07:49 AM Revision ffcb389d (git): Added initial gemspec for CMath module.
[Feature #13182]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:03 AM Revision 7d0d0d58 (git): test_cgi_util.rb: encoding tests
* test/cgi/test_cgi_util.rb (test_cgi_unescape): \u is useless on
old versions.
* test/cgi/test_cgi_util.rb (test_cgi_include_unescape): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:50 AM Feature #13179 (Feedback): Deep Hash Update Method
`dig` is not only for `Hash` but also for `Array`, `Struct`, and `OpenStruct`.
What objects would you expect as intermediate containers if not present?
Regarding the name, `bury` occurred to me.
`Hash#dig=` might fit if `obj.method(...
nobu (Nobuyoshi Nakada)
05:56 AM Revision c4770f1a (git): compile.c: restore catch entry sp
* compile.c (iseq_build_from_ary_exception): restore stack depth
of catch entries. accurate stack depths cannot be calculated
from dumped array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57498 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
05:54 AM Bug #13181 (Closed): Unexpected line in rescue backtrace
~~~ ruby
def foo # 1
puts 'hello' # 2
raise 'x' # 3
puts 'goodbye' # 4
rescue # 5
raise 'y' # 6
end # 7
# 8
foo # 9
~~~
~~~
hello
b...
tsmith (Tim Smith)
05:45 AM Revision 4de49603 (git): compile.c: restore misc params
* compile.c (rb_iseq_build_from_ary): restore misc params.
accurate stack depths cannot be calculated from dumped array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:45 AM Revision 6bff3ce3 (git): compile.c: keyword table for required kwarg
* compile.c (iseq_build_kw): keyword table is necessary also when
required keyword argumetns only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:43 AM Revision 57b6d603 (git): test_iseq_load.rb: refine test_require_integration
* test/-ext-/iseq_load/test_iseq_load.rb (test_require_integration):
assert with diff.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:34 AM Bug #13178: CGI.unescape change in behavior
It's an older bug than it.
```
$ ruby2.1 -rcgi -e 'CGI.accept_charset = "ISO-8859-15"; p CGI.unescape("foo").encoding'
#<Encoding:UTF-8>
```
There are different `@@accept_charset` variables.
nobu (Nobuyoshi Nakada)

02/01/2017

10:18 PM Revision ab6a38c9 (git): test_time.rb: use UTC
* test/ruby/test_time.rb (test_strftime_no_hidden_garbage): fix
failure due to timezone offset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:14 PM Revision 991a57b1 (git): * 2017-02-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:14 PM Revision 1a0eaede (git): test_queue.rb: fix portability
* test/thread/test_queue.rb (test_queue_with_trap): fix
portability. use SIGINT instead of SIGUSR2 which is supported
on not all platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:49 PM Feature #13166: Feature Request: Byte Arrays for Ruby 3
Why not write native extension? it is not hard if you know C. funny_falcon (Yura Sokolov)
08:42 PM Bug #13180 (Third Party's Issue): 'superclass mismatch for class' on nested classes
I've been seeing the following errors when attempting to run different ruby projects.
~~~
/usr/local/Cellar/ruby/2.4.0/lib/ruby/2.4.0/openssl/digest.rb:57:in `<class:Digest>': superclass mismatch for class Digest (TypeError)
from ...
adamdecaf (Adam Shannon)
08:32 PM Bug #13164: A second `SystemStackError` exception results in `Segmentation fault (core dumped)`
What about flattening recursion in core types (Hash, Array and Set)?
I know this won't resolve the issue, but it will prevent `eql?` and `hash` from exploding the stack, so the issue is less likely to occur when there isn't an error i...
myst (Boaz Segev)
06:46 PM Feature #13179 (Rejected): Deep Hash Update Method
I came across a scenario where I needed the ability to update a deeply nested hash (Rails i18n yaml files). This seemed like something that would exist naturally in the DSL of ruby, but I could only find dig() method which only retrieves... bettisworth (wurde _)
02:36 PM Feature #6602: Tail call optimization: enable by default?
I think losing the backtrace is fairly bad in a mostly-imperative language.
Tail calls would allow tail-recursion, but this is not very frequent in Ruby.
In my opinion, recursion becomes really interesting when you can invoke it from...
Eregon (Benoit Daloze)
02:16 PM Bug #13139: bug in the Ruby interpreter or extension for new AIX VM chef-client run.
Actually, to confirm, the problem went away with the update for all three of these. The important change was for data= -1. Just doing rss and nofiles does not work.
chsec -f /etc/security/limits -s default -a "rss=-1"
chsec -f /etc/s...
ibellinf (Ian Bellinfantie)
11:18 AM Bug #13178 (Closed): CGI.unescape change in behavior
CGI.unescape does not work anymore when just "cgi/util" is required.
~~~
$ ruby -v -rcgi/util -e 'CGI.unescape("foo=bar&foo=baz&page=1")'
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]
$ ruby -v -rcgi/util -e 'CGI.unes...
vo.x (Vit Ondruch)
09:12 AM Feature #13177 (Closed): Gemify csv
Applied in changeset r57491.
----------
Prepare to make CSV module to default gem.
* lib/csv.gemspec: initial gemspec for csv gem.
* tool/rbinstall.rb: support gemspec located under lib direcotry like `lib/foo.gemspec`
[Feature ...
hsbt (Hiroshi SHIBATA)
09:10 AM Feature #13177 (Closed): Gemify csv
This issue is tracking for gem release of csv module. hsbt (Hiroshi SHIBATA)
09:12 AM Revision 8395d5a7 (git): Prepare to make CSV module to default gem.
* lib/csv.gemspec: initial gemspec for csv gem.
* tool/rbinstall.rb: support gemspec located under lib direcotry like `lib/foo.gemspec`
[Feature #13177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57491 b2dd03c8-39d4-4d8f-98f...
hsbt (Hiroshi SHIBATA)
07:40 AM Revision a106278e (git): configure.in: use AC_SEARCH_LIBS
* configure.in (--with-gmp, --with-jemalloc): use AC_SEARCH_LIBS
to check if no library is required, instead of AC_CHECK_LIB.
[ruby-core:79368] [Bug #13175]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57490 b2dd03c8-39d4-4d8f-...
nobu (Nobuyoshi Nakada)
07:33 AM Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
Matthew Kerwin wrote:
> Eric Barendt wrote:
> ...
https://tools.ietf.org/html/draft-yevstifeyev-ftp-uri-scheme-08 is a draft.
https://bugs.ruby-lang.org/issues/7310#note-6 though some edge cases are still different...
naruse (Yui NARUSE)
07:12 AM Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
Eric Barendt wrote:
> I disagree that it's correct. But it's also inconsistent with HTTP. Further, where does the "/" come from anyway?
> ...
About instance variables,
```ruby
irb(main):005:0> URI.parse("ftp://example.com").inst...
naruse (Yui NARUSE)
05:29 AM Bug #13175 (Rejected): Building --with-jemalloc on FreeBSD fails
You needn't --with-jemalloc; don't specify --with-jemalloc on FreeBSD. naruse (Yui NARUSE)
04:54 AM Revision c2310e85 (git): common.mk: remove explicit MFLAGS
It is unnecessary to pass MFLAGS to sub-makes, because it is
evaluated implicitly if set by make. GNU make 4.2 sets both of
-jN and --jobserver-auth (or --jobserver-fds in older versions)
options which conflict. And it is useless for c...
nobu (Nobuyoshi Nakada)
04:54 AM Revision e704fc82 (git): win32/setup.mak: reorder
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
 

Also available in: Atom