Activity
From 01/31/2017 to 02/06/2017
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. -
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... -
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 ... -
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?
-
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 ...>... -
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... -
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 ... -
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
-
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...
-
03:29 AM Feature #8643 (Feedback): Add Binding.from_hash
- Can I close this issue?
-
09:51 AM Feature #13197 (Closed): Gemify fileutils
- Applied in changeset r57550.
----------
Added initial gemspec for FileUtils module.
[Feature #13197] -
09:43 AM Feature #13197 (Closed): Gemify fileutils
- This issue is tracking for gem release of FileUtils module.
-
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 -
08:54 AM Feature #12760: Optional block argument for `itself`
- Hello.
Is there any movement? -
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 ... -
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 ... -
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... -
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. -
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.
-
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... -
02:58 AM Feature #8263: Support discovering yield state of individual Fibers
- It seems nice.
-
02:55 AM Bug #10232 (Rejected): Trivial change of IMMEDIATE VALUE bits layout
- Reject it and revisit sometime.
-
02:49 AM Bug #10212 (Closed): MRI is not for lambda calculus
-
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 -
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... -
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... -
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
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 -
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
-
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... -
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.
... -
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... -
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
-
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/... - 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
-
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
-
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... -
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... -
01:02 PM Feature #13097: Deprecate Socket.gethostbyaddr and Socket.gethostbyname
- https://github.com/ruby/ruby/compare/trunk...nobu:feature/deprecate_method
-
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 -
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] -
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... -
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... -
11:01 AM Feature #13122: Special syntax for Hash#default_proc
- Maybe both of elements and a block would be nice.
-
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 ... -
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
-
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 -
12:35 AM Bug #13192 (Closed): [DOC] Add example for Symbol#to_s
- Applied in r57536 (oops, forgot bug number in commit :x)
- 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...
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
-
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
-
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. -
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.
-
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... -
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... -
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] -
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'` が返り、うまく終了が検知できました... -
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 -
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 -
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... -
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? -
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. -
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 -
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
-
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 -
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
-
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 -
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 -
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 -
01:33 AM Feature #7882 (Closed): Allow rescue/else/ensure in do..end
-
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
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... -
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... - 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... - 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... -
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] -
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... -
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 - 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
- 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
-
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... -
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...". - 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... -
11:28 PM Bug #13187 (Feedback): In rails console ,excute "User.all" or "User.new",remind a bugreport
- No necessary information.
Maybe [Bug #12781]? -
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... -
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
-
11:25 PM Bug #13175 (Closed): Building --with-jemalloc on FreeBSD fails
-
09:03 PM Bug #13159: [DOC] Revise documentation for OpenStruct
- Patch updated to reflect r57515 (return value of each_pair).
-
06:27 PM Bug #13169: Fix OpenStruct#each_pair return value
- Thank you for the great patch :-)
-
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] - 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
- 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 -
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... -
04:47 PM Feature #7882: Allow rescue/else/ensure in do..end
- So... Is there any movement?
-
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.
-
02:30 PM Bug #13168 (Closed): Marshaling broken with GCC 7.x
-
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 -
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 -
12:39 PM Feature #13186 (Closed): Gemify zlib
- Applied in changeset r57512.
----------
Added initial gemspec for zlib module.
[Feature #13186] -
12:38 PM Feature #13186 (Closed): Gemify zlib
- This issue is tracking for gem release of zlib module.
-
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 -
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 -
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. -
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... -
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] -
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/...
-
04:40 AM Bug #13176: Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
- Nor `Timeout.timeout`?
-
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 -
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 -
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... -
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! -
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.
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... -
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. -
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 @@ ... -
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
-
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... -
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.
-
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>': ... -
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.
- 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
-
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
-
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... -
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
-
08:39 AM Feature #13183 (Closed): Gemify date
- Applied in changeset r57502.
----------
Added initial gemspec for Date module.
[Feature #13183] -
08:36 AM Feature #13183 (Closed): Gemify date
- This issue is tracking for gem release of date module.
-
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 -
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.
-
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
``` -
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 -
07:49 AM Feature #13182 (Closed): Gemify cmath
- Applied in changeset r57500.
----------
Added initial gemspec for CMath module.
[Feature #13182] -
07:28 AM Feature #13182 (Closed): Gemify cmath
- This issue is tracking for gem release of cmath module.
-
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 -
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 -
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(... -
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... -
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... -
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 -
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 -
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 -
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.
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 - 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
-
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 -
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.
-
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 ... -
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... -
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...
-
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... -
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... -
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... -
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 ... -
09:10 AM Feature #13177 (Closed): Gemify csv
- This issue is tracking for gem release of csv module.
-
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... -
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-... -
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... -
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... -
05:29 AM Bug #13175 (Rejected): Building --with-jemalloc on FreeBSD fails
- You needn't --with-jemalloc; don't specify --with-jemalloc on FreeBSD.
-
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... -
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
01/31/2017
-
11:37 PM Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
- Eric Barendt wrote:
>
> ...
How so? If we can identify the precise issue, it could be useful as a seed for updating the code and/or the specs.
> But it's also inconsistent with HTTP.
That's to be expected; the HTTP URI scheme is... -
11:26 PM Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
- Eric Barendt wrote:
>
> ...
It's in #to_s
~~~ruby
URI.parse("ftp://example.com").to_s
#=> "ftp://example.com/"
~~~
i.e. it's presentational, and doesn't affect the semantic meaning. -
05:26 PM Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
- Robert A. Heiler wrote:
> Should .to_s ever change the representation or given input to tokens that were not part of the original input?
> ...
I disagree that it's correct. But it's also inconsistent with HTTP. Further, where does the ... -
11:46 AM Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
- If you take the URI object as a data structure with components then any stringification that round-trips through parsing is fine. This is true of any normalisation or canonicalisation.
It's only an issue if you think of the URI as a s... -
11:07 AM Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
- Guess the behaviour is then correct because it is specified.
But I still consider it unintuitive, in particular in regards to ruby.
Should .to_s ever change the representation or given input to tokens that were not part of the orig... -
01:02 AM Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
- Comments about RFC 1738 being "obsolete" notwithstanding, the slash between host/port and url-path is optional when the url-path is empty. Specifically, there is no prohibition on including it.
Section 3.1 ("Common Internet Scheme Syn... -
12:23 AM Bug #13171 (Rejected): URI::FTP path has a trailing slash when just hostname and scheme provided
- As with HTTP uris, the trailing slash on a FTP uri should be optional, per RFC 1738 (ftp://ftp.funet.fi/pub/doc/rfc/rfc1738.txt). However, under the current implementation, URI::FTP#to_s always has a trailing slash when only a hostname i...
-
09:48 PM Bug #13176 (Closed): Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
- There appears to be a problem in ruby 2.4.0 and ruby 2.5.0dev (ruby 2.5.0dev (2017-01-31 trunk 57485) [x86_64-openbsd]) where rb_thread_t.errinfo gets set to an IMEMO object, and later used as the cause of an exception, which blows up wh...
-
09:06 PM Feature #13166: Feature Request: Byte Arrays for Ruby 3
- Whatever naming/syntax is used will be totally acceptable to me.
FYI, for what its worth, I translated a method from a rubygem I wrote
to Crystal using Int32 elements for 2 arrays of essentially boolean data,
just to get it to work ... - 05:46 PM Revision af078b93 (git): * 2017-02-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:46 PM Revision ef76e3cf (git): Add IMEMO type to heap dump output.
- IMEMO objects have many types. Without this change, we cannot see what
types of IMEMO objects are being used when dumping the heap. Adding the
type to the IMEMO object will allow us to gather statistics about IMEMO
objects being used.
... -
04:18 PM Bug #13175 (Closed): Building --with-jemalloc on FreeBSD fails
- Building Ruby 2.3 on FreeBSD 11 with --with-jemalloc leads to linking issues.
As of FreeBSD 10.0 jemalloc is in FreeBSD's libc and thus -ljemalloc will trigger a linktime error.
Removing -ljemalloc from the linker solves the issue
... -
02:14 PM Feature #12180: switch id_table.c variant
- Created https://bugs.ruby-lang.org/issues/13174 with implementation smaller in memory.
-
02:05 PM Feature #13174 (Open): Smaller id_table on 64bit platform
- Reduce size of id_table by 25% on 64bit platform (19% on smallest table):
- embed collision bit into key
- use array of keys + array of values instead of array of struct item_t.
Both arrays allocated at once, and pointer to values i... -
01:53 PM Bug #10540 (Closed): Yielded fibers do not execute ensure blocks
- See #595
-
12:55 PM Revision c7c1f371 (git): ruby.c: defining DATA
- * ruby.c (load_file_internal): define DATA here instead of ensure
func.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:54 PM Revision 3408e3b4 (git): ruby.c: forbid options
- * ruby.c (forbid_setid): constified.
* ruby.c (process_options): forbid if setid earlier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:37 AM Revision 94e89325 (git): Describe about RUBY_CODESIGN
- With RUBY_CODESIGN people can avoid pushing many OK button of firewall
dialogs on macOS through test-all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:17 AM Bug #13080: [mingw regression] broken openssl extension in 2.4.0p0
- The patch is committed to ruby/openssl:
https://github.com/ruby/openssl/commit/a2dc925ac646f30e7d518158d7931ff422444ffe
and imported to Ruby tree at r57482.
2.4 branch maintainer: Could you backport r57482? It fixes this issue... -
10:08 AM Bug #13080 (Closed): [mingw regression] broken openssl extension in 2.4.0p0 - Applied in changeset r57482.
----------
openssl: import v2.0.3
Import Ruby/OpenSSL 2.0.3. Only bugfixes. The full commit log since
2.0.2 (imported at r57146) can be found at:
https://github.com/ruby/openssl/compare/v2.0.2...v2.0.3
... -
10:08 AM Bug #13170 (Closed): OpenSSL::X509::Name#eql? broken in Ruby 2.4.0 - Applied in changeset r57482.
----------
openssl: import v2.0.3
Import Ruby/OpenSSL 2.0.3. Only bugfixes. The full commit log since
2.0.2 (imported at r57146) can be found at:
https://github.com/ruby/openssl/compare/v2.0.2...v2.0.3
... -
10:08 AM Revision 8795838f (git): openssl: import v2.0.3
- Import Ruby/OpenSSL 2.0.3. Only bugfixes. The full commit log since
2.0.2 (imported at r57146) can be found at:
https://github.com/ruby/openssl/compare/v2.0.2...v2.0.3
----------------------------------------------------------------
... -
09:44 AM Feature #8639 (Closed): Add Queue#each
- No discussion.
-
09:42 AM Feature #6602 (Feedback): Tail call optimization: enable by default?
- I hope someone propose smart answers.
-
09:38 AM Feature #6710 (Rejected): new special binding specifier :isolated
-
09:37 AM Bug #8484: Restoring conditions through the ruby method call during VM processing
- まだ考え直してない。この間も tailcall で同じような問題があった。
-
09:36 AM Bug #8012 (Closed): Performance degradation in 2.0.0p0
- Please reopen it if you find this issue remaining.
-
09:33 AM Feature #7434 (Closed): Allow caller_locations and backtrace_locations to receive negative params
- Maybe ok.
-
09:31 AM Feature #7424 (Closed): an embedded Ruby interpreter doesn't get the full Ruby environment unless it calls ruby_process_options() (which is not documented)
- Continue it at #3731.
-
09:30 AM Bug #7356 (Closed): ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
- がんばれなかった...
もし、どなたかがんばってくれるなら...。 -
09:29 AM Feature #6714 (Closed): Code injection framework
- I hope someone try this idea :p
-
09:23 AM Bug #6117: Transfers allowed into Fibers that have resumed into other fibers
- Can we change this spec yet?
-
09:21 AM Bug #5719 (Closed): Hash::[] can't handle 100000+ args
- See #4040 and close this ticket.
-
09:17 AM Bug #5527 (Feedback): set_trace_func binding incorrect
- Should we change it?
-
09:14 AM Bug #5240 (Closed): Hang when using threads + forks on Debian GNU/kFreeBSD
- No discussion.
-
09:12 AM Bug #4630 (Closed): PROCDEBUG to non-zero values causes segmentation faults in check_env in trunk
- Now, we don't see this issue.
-
09:10 AM Feature #4589 (Closed): add Queue#each() method and include Enumerable
- No discussion.
-
09:10 AM Bug #4537: Incorrectly creating private method via attr_accessor
- So we should choose
> (2) All "attr_*" methods define all methods in public.
(on #3), right? -
09:03 AM Bug #4492 (Closed): Segfault on successive stack overflows
- It was fixed.
-
09:01 AM Bug #4443: odd evaluation order in a multiple assignment
- 今更ですが、考えます(いつだろう...)。
-
08:59 AM Bug #4379 (Closed): [patch] eval(s, b, "(eval)", n) discards location
- No feedback.
-
08:57 AM Bug #4040: SystemStackError with Hash[*a] for Large _a_
- Current implementation: now splatting huge parameters (and receive rest arguments) for Ruby methods are fine. However, C methods doesn't support this pattern. It should be fixed.
-
08:54 AM Bug #4008 (Closed): Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2
- Sorry I didn't check it.
Please reopen this ticket if someone has trouble yet. -
08:51 AM Feature #3944 (Rejected): Add Fiber#root? method
- > To decide if I need to resume the loop or yield to it, I need to know if the request originated from the root fiber or from one of the request fibers of the loop.
For same reason of #16, you shouldn't use it. -
08:47 AM Feature #3944: Add Fiber#root? method
- Sorry for very late response.
Victor Maslov wrote:
> Now I want to reuse the `method_that_gets_data` without fibers -- to know whether to yield or to work until done I need to know if I'm running inside Fiber or not.
You shouldn't... -
08:48 AM Feature #13173 (Closed): Gemify webrick
- Applied in changeset r57481.
----------
Initial commit for gem release of webrick.
[Feature #13173] -
08:45 AM Feature #13173 (Closed): Gemify webrick
- This issue is tracking for gem release of webrick module.
-
08:48 AM Revision b8afbf5e (git): Initial commit for gem release of webrick.
- [Feature #13173]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:40 AM Bug #3841 (Closed): RubyVM::InstructionSequence.to_a() and disasm() do not work properly for "for <var> in <list>"
- I'm not sure who fix this issue, but 2.5dev doesn't have this issue.
-
08:32 AM Feature #6694: Thread.new without block.
- Existing Ideas:
* (1) allow keywords for `new()` (like `new(name: "worker-thread")`)
* (1-1) introducing it immediately and break compatibility
* (1-2) introducing it and introduce proper keyword semantics (I doubt we can close th... -
08:03 AM Revision df5d84bb (git): mkmf.rb: message format string
- * lib/mkmf.rb (checking_for): message needs format string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:22 AM Bug #595: Fiber ignores ensure clause
- そろそろ手をつけようかなぁ。
-
07:19 AM Bug #11656 (Closed): ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
- No feedback. Please reopen this ticket if you have this trouble on recent versions.
-
07:13 AM Feature #11768 (Closed): Add a polymorphic inline cache
- I close this issue. Please file another ticket if you can find improvements on practical applications.
-
07:12 AM Bug #11822 (Closed): Semantics of Queue#pop after close are wrong
- Now close this issue and please file another ticket if someone need to change it.
-
07:02 AM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
- Nobu and I discussed about this issue and Nobu is trying to fix this issue by simplify lambda arg spec.
-
07:01 AM Bug #12405: Queue doesn't work inside of trap
- We need to check Queue status change after trap handler.
Sorry for my late response and thank you for your reporting it. -
07:00 AM Bug #12405 (Closed): Queue doesn't work inside of trap
- Applied in changeset r57479.
----------
allow Queue operation in trap.
* thread_sync.c: allow spurious wakeup to check Queue status just after trap.
[Bug #12405]
* test/thread/test_queue.rb: add a test for it. -
07:00 AM Revision bfdfc99c (git): allow Queue operation in trap.
- * thread_sync.c: allow spurious wakeup to check Queue status just after trap.
[Bug #12405]
* test/thread/test_queue.rb: add a test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:39 AM Revision 6897b3b9 (git): define rb_thread_sleep_deadly_allow_spurious_wakeup().
- * thread.c, thread_sync.c: define new function
rb_thread_sleep_deadly_allow_spurious_wakeup() and use it instead of
using sleep_forever() directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57478 b2dd03c8-39d4-4d8f-98ff-823... -
06:31 AM Revision 919a9d9e (git): use TRUE/FALSE.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:14 AM Feature #13172: Method that yields object to block and returns result
- Matthew Kerwin wrote:
> * #6721
> ...
Well, obviously I can't use searching:D
So, what about naming?
#12760 suggests `yield_self` name, but imho it's too long.
Check https://github.com/ruby/ruby/pull/1521 pls.
-
03:57 AM Feature #13172: Method that yields object to block and returns result
- * #6721
* #6684
* #7388
* #10095
* #11717
* #12760 -
03:45 AM Feature #13172: Method that yields object to block and returns result
- Oh, I forgot to notice. There's `#instance_eval` method, which do the job, but it evaluates block in object context, so it doesn't fit
-
03:40 AM Feature #13172 (Closed): Method that yields object to block and returns result
- Hi everyone!
There's a `#tap` method, that yields reciever to block and returns reciever itself.
I would like to see method, which would return yield's result.
~~~
some_object.some_method.pass { |x| x && another_object.another_me... -
02:51 AM Bug #13085: io.c io_fwrite creates garbage
- Eric Wong <normalperson@yhbt.net> wrote:
> nobu@ruby-lang.org wrote:
> > Seems nice, let's try it.
>
> Thanks, r57469. I'll work on syswrite and send* (socket) next.
I guess send* in socket never froze the string. I guess it
... - 02:18 AM Revision 9b69e9fa (git): time.c (time_strftime): avoid garbage in common case
- strftime format strings which are dynamically-generated will benefit
from avoiding garbage, here.
* time.c (time_strftime): use rb_str_tmp_frozen_{acquire,release}
* test/ruby/test_time.rb (test_strftime_no_hidden_garbage): new test
gi... -
02:14 AM Bug #13146: Float::NANs in Hashes are confusing (more than usual).
- Linus Sellberg wrote:
> 1: NaN is given a random hash (to avoid hash key collisions).
> ...
It doesn't work right now as you expect, since the hash assumes same elements are always equal, regardless their hash values. -
12:29 AM Bug #13146: Float::NANs in Hashes are confusing (more than usual).
- I reported similar issue on bigdecimal.
I want to discuss this issue here.
https://github.com/ruby/bigdecimal/issues/31 -
02:01 AM Revision ed28d151 (git): limits.c.tmpl: fallback ULLONG_MAX
- * template/limits.c.tmpl (ULLONG_MAX): add a fallback definition.
On old CentOS lacks ULLONG_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:18 AM Revision bef93a2d (git): test_io.rb: separate a test
- * test/ruby/test_io.rb (test_closed_stream_in_rescue): run in a
separated process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:41 AM Revision ba5aa606 (git): sprintf.c: avoid garbage in common (no exception) case
- Format strings which are dynamically-generated will benefit
from this. This won't cover exceptions, but exceptions for
sprintf should be too uncommon to care about (unlike IO)
* sprintf.c (rb_str_format): use rb_str_tmp_frozen_{acquire...