Activity
From 12/04/2017 to 12/10/2017
12/10/2017
-
11:59 PM Feature #14151 (Feedback): Make Matrix#[]= public method
- greggzst (Grzegorz Jakubiak) wrote:
> I don't even understand why this method hasn't been public since the beginning.
The library was originally written such that Matrices are immutable. I can't speak to the exact reason for this cho... -
11:44 PM Revision e038b794 (git): parse.y: Fix the last location of NODE_COLON2
- * parse.y: Fix to only include a range from primary_value to tCONSTANT.
e.g. The locations of the NODE_COLON2 is fixed:
```
A::B ||= 1
```
* Before
```
NODE_COLON2 (line: 1, code_range: (1,0)-(1,10))
```
* After
... - 11:28 PM Revision f1728527 (git): mention about [Feature #13726] and [Feature #13731]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:27 PM Revision ad321cde (git): parse.y: Change the first location of NODE_ARRAY in NODE_DSTR (nd_next->nd_next)
- * parse.y (list_append_gen): Change the first location to
start with the location of item if new list is generated.
e.g. The locations of the NODE_ARRAY is changed:
```
"#{a}.#{b}"
```
* Before
```
NODE_ARRAY (line: 1... -
11:24 PM Feature #13731: inode for Windows on ReFS
- 入らないかもと言いましたが、なんとか間に合わせてみました。
しかしReFSでの確認は環境がなくてできてないので、問題があったら教えてください。 -
05:27 PM Feature #13731 (Closed): inode for Windows on ReFS
- Applied in changeset trunk|r61096.
----------
support 128bit ino on Windows (if available)
* win32/win32.c, include/ruby/win32.h (stati128, rb_{,u,l,ul}stati128): rename
from stati64ns, change the type of st_ino to 64bit and added st... -
10:41 PM Feature #11286 (Closed): [PATCH] Add case equality arity to Enumerable's sequence predicates.
- Thank you Matz
D.E. Akers: thanks for the patch! I adapted it for better handling of enumerables yielding multiple arguments, and also changing Hash#any? / Array#any? which have their own versions.
Merged. - 10:36 PM Revision a9770bac (git): Add case equality arity to Enumerable#all?, any?, none? and one?,
- and specialized Array#any? and Hash#any?
Based on patch by D.E. Akers [#11286]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:30 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- I think that the work being done here is great. However I feel that this PR requires far more scrutiny than it's receiving.
It's worth considering that nio4r and friends took several years to stabilise and there is a huge amount of ha... -
07:50 PM Bug #14165 (Closed): 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- Last ruby-loco build has warnings & test failures after 61097. Build log (attached) has 329 instances of:
```
include/ruby/win32.h:197:0: warning: "SIZEOF_STRUCT_STAT_ST_INO" redefined
```
Same issue with test failures (attached... -
07:42 PM Feature #10903 (Closed): [PATCH] Matrix#zip returns a matrix
-
07:41 PM Bug #14074 (Closed): TracePoint#new without a block should not raise ThreadError
- 05:26 PM Revision 86a794a6 (git): * 2017-12-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:26 PM Revision 91de3d65 (git): support 128bit ino on Windows (if available)
- * win32/win32.c, include/ruby/win32.h (stati128, rb_{,u,l,ul}stati128): rename
from stati64ns, change the type of st_ino to 64bit and added st_inohigh.
* dir.c, file.c (stat, lstat): follow above changes.
* file.c (rb_stat_ino): supp... -
06:47 AM Feature #11925: Struct construction with kwargs
- In case that my suggestion of the name is accepted, I wrote a patch for Struct.new(:a, :b, keyword_args: true).
https://github.com/ruby/ruby/pull/1771 -
04:33 AM Bug #14078: Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
- @rhenium
Re the beta, thought I'd update with recent OpenSSL::TestSSLSession#test_ctx_server_session_cb results, all using 1.1.0g
1. Passed - MinGW trunk local when building (make test-all -j3)
2. Passed - vc140 trunk local when b... -
04:22 AM Bug #14162: Invoking binding.irb destructively shifts ARGV
- Also, the shifted value becomes $0 (and @CONF[:SCRIPT]).
I guessed they are not intentional and created a patch that skips parsing ARGV for binding.irb https://github.com/ruby/ruby/pull/1770.
12/09/2017
-
06:05 PM Feature #12275: String unescape
- I updated patch as v2.patch to satisfy 3 points that mentioned in [note-15](https://bugs.ruby-lang.org/issues/12275#note-15).
(Also https://github.com/ruby/ruby/pull/1765 is updated too.)
I also attached a simple benchmarking script ... -
05:25 PM Feature #14164: [Suggestion] Type system for ruby 3x to be usable for e. g. rubocop or autogenerating crystal code and so forth
- Here are some thoughts:
Although Crystal looks very similar syntactically, the semantics are fairly different: no runtime metaprogromming, no eval, no arbitrary precision integers by default and it is a statically-typed language (with g... -
03:40 PM Feature #14164 (Open): [Suggestion] Type system for ruby 3x to be usable for e. g. rubocop or autogenerating crystal code and so forth
- Hello everyone, especially the ruby core team, nobu and of course matz,
This is an idea for ruby 3.x, but the idea is not ... well, really
finished.
It is more of an idea.
As I am aware that working with "unfinished" ideas is n... -
01:34 PM Bug #14163 (Closed): Pages of rdoc include files which are not documents
- https://docs.ruby-lang.org/en/trunk/ includes `*.tt`, `*.gemspec`, Executable, Executable.bundler, Executable.standalone.
But it seems there are not documents nor sources including documents. -
01:13 PM Revision 4cfc1aa9 (git): parse.y: Fix locations of NODE_ARRAY in NODE_ATTRASGN (nd_args)
- * parse.y (arg_append_gen): Fix to only include a range of
node2 if new list is generated.
e.g. The locations of the NODE_ARRAY is fixed:
```
x.default = 5
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,0)-(1,13... -
11:58 AM Revision 84ae8dc9 (git): test_process.rb (test_maxgroups): add assertions
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 51d863e0 (git): parse.y: Change locations of NODE_BLOCK in NODE_RESBODY (nd_body)
- * parse.y: Change to only include a range from exc_var to compstmt.
e.g. The locations of the NODE_BLOCK is changed:
```
begin
:a
rescue E => e
:b
end
```
* Before
```
NODE_BLOCK (line: 3, code_range: (3,0)-... -
03:52 AM Revision 7a79d881 (git): parse.y: Fix locations of NODE_SCOPE in NODE_SCLASS
- * parse.y: Fix to only include a range of bodystmt.
e.g. The locations of the NODE_SCOPE is fixed:
```
class << []
def m; end
end
```
* Before
```
NODE_SCOPE (line: 3, code_range: (1,0)-(3,3))
```
* After
... - 03:46 AM Revision dceb897e (git): Dir#chdir keeps GVL if passed block
- On further examination, Dir.chdir with a block from multiple
threads is thread-unsafe given our use of the chdir_blocking and
chdir_thread global variables.
This bug was only introduced in r60583 so not part of any stable
release.
Dir.... -
03:18 AM Revision 933fabd1 (git): parse.y: Fix locations of NODE_ARRAY in NODE_OPCALL(nd_args)
- * parse.y: Fix to only include a range of arg1.
e.g. The locations of the NODE_ARRAY is fixed:
```
1 + 2
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,0)-(1,5))
```
* After
```
NODE_ARRAY (line: 1, code... -
03:03 AM Revision 79aba225 (git): parse.y: Fix locations of NODE_SCOPE in NODE_CLASS
- * parse.y: Fix to only include a range of bodystmt.
e.g. The locations of the NODE_SCOPE is fixed:
```
class A
def a; end
end
```
* Before
```
NODE_SCOPE (line: 3, code_range: (1,0)-(3,3))
```
* After
```
...
12/08/2017
-
10:51 PM Revision 80e852d8 (git): doc/syntax/refinements.rdoc: fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:43 PM Revision c66f5601 (git): bignum.c: [DOC] simplify comment
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:43 PM Revision 67d9cd73 (git): NEWS: grammar fix
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:42 PM Revision 9a26a4c1 (git): ext/strscan/strscan.c: [DOC] grammar fixes
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:54 PM Bug #4841: WEBrick threading leads to infinite loop
- Thank you for your quick response!
-
07:21 PM Bug #4841: WEBrick threading leads to infinite loop
- mame@ruby-lang.org wrote:
> normal, could you please check this ticket?
>
> ----------------------------------------
> Bug #4841: WEBrick threading leads to infinite loop
> https://bugs.ruby-lang.org/issues/4841#change-68231
Su... -
06:52 PM Bug #4841 (Closed): WEBrick threading leads to infinite loop - Applied in changeset trunk|r61083.
----------
webrick: allow shutdown after StartCallback
We must to ensure the @status ivar is set to :Running before
running StartCallback, otherwise Webrick::Server#stop will not
change the @status to... -
12:38 PM Bug #4841: WEBrick threading leads to infinite loop
- normal, could you please check this ticket?
- 06:51 PM Revision 86ea8dfe (git): * 2017-12-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:51 PM Revision 22474d8f (git): webrick: allow shutdown after StartCallback
- We must to ensure the @status ivar is set to :Running before
running StartCallback, otherwise Webrick::Server#stop will not
change the @status to :Shutdown properly.
Note: I have not been able to reproduce the original issue but
underst... -
06:03 PM Feature #14151: Make Matrix#[]= public method
- @marcandre can you take a look?
-
12:55 PM Feature #14151: Make Matrix#[]= public method
- I created pull request related to this feature/issue. - https://github.com/ruby/ruby/pull/1769
-
02:26 PM Bug #14162 (Closed): Invoking binding.irb destructively shifts ARGV
- ~~~ ruby
$ ruby -v
ruby 2.5.0dev (2017-12-05 trunk 61034) [x86_64-linux]
$ cat script.rb
binding.irb
binding.irb
$ ruby script.rb a b c
From: script.rb @ line 1 :
=> 1: binding.irb
2: binding.irb
irb(main):001:0> p A... -
02:12 PM Bug #5060: Executables in bin folder conflict with their gem versions.
- @hsbt-san, I might be wrong but has this issue been solved by default/bundled gems?
-
01:36 PM Feature #4963 (Closed): Refine and Document the Issue Tracking Process
- I'm closing this ticket since it is not about ruby's feature. I think it should be discussed at ruby-core mailing list.
-
12:31 PM Bug #14161 (Closed): Getting segmentation fault some time while running rspec
- While running rspec with Rails 5.1.1
/home/xxx/.rvm/gems/ruby-2.3.3@everyday/gems/mail-2.6.5/lib/mail/elements/content_type_element.rb:9: [BUG] Segmentation fault at 0x00000000000008
[1] 31688 abort (core dumped) rspec (last ... -
11:19 AM Bug #14160: JSON#generate documentation wrong/misleading
- You are right, the statement in the documentation that .generate() only allows "objects
or arrays" is technically not logical. Firstly, in ruby everything is an object, or
at the least, when we include Integers and Symbols, object-like... -
10:12 AM Bug #14160 (Closed): JSON#generate documentation wrong/misleading
- https://docs.ruby-lang.org/en/trunk/JSON.html#module-JSON-label-Generating+JSON
That says `JSON.generate` only allows "objects or arrays", that `to_json` allows more, and uses `1.to_json` as an example for that. But I just tried `JSON.g... -
08:50 AM Feature #4787 (Closed): Integer#each_modulo(n)
- This was resolved by #12447.
-
08:38 AM Revision 6d8f47fd (git): lib/pp.rb: no rdoc of alias to suppress a warning
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:35 AM Revision bd61ccef (git): test_file_exhaustive.rb: get rid of failures
- * test/ruby/test_file_exhaustive.rb (test_utime_symlinkfile):
under some condition, symlink file is also affected by utimes()
on Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:17 AM Revision 60771d13 (git): pp.rb: rdoc
- * lib/pp.rb (pp): move pp alias before its rdoc, not to prevent
parsing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:13 AM Revision ec74acd1 (git): test_file_exhaustive.rb: test_utime_symlinkfile
- * test_file_exhaustive.rb (test_utime_symlinkfile): investigate
failures on some platforms. wait a second to tell if symlink
atime is changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61079 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
06:24 AM Revision d52ef754 (git): test_file_exhaustive.rb: fix arguments order
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:20 AM Revision 23c86d84 (git): win32.c: check error code
- * win32/win32.c (w32_io_info): check GetFileInformationByHandleEx
error code to fallback to GetFileInformationByHandle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:51 AM Feature #13883 (Closed): Change from gperf 3.0.4 to gperf 3.1
- Applied in changeset trunk|r61076.
----------
support gperf 3.1
* tool/gperf.sed: extracted sed commands to a script. ANSI-C code
produced by gperf 3.1 declares length arguments as `size_t`. it
causes conflict with existing decla... -
05:51 AM Revision a4804fbd (git): support gperf 3.1
- * tool/gperf.sed: extracted sed commands to a script. ANSI-C code
produced by gperf 3.1 declares length arguments as `size_t`. it
causes conflict with existing declarations, and needs casts for
a local variable and return stateme... -
01:27 AM Bug #14159 (Third Party's Issue): [BUG] Segmentation fault at 0x0000000000000000 ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux] - Mailcatcher
- moskkitow (Marcelo Cruz) wrote:
> c:0010 p:---- s:0049 e:000048 CFUNC :release_machine
> ...
Hmm, seems it dies inside of eventmachine. Can you contact its authors to see if they have solutions? -
12:45 AM Revision f8659dfd (git): parse.y Fix compile error
- ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 AM Revision c6b31b76 (git): parse.y: Fix locations of modifier_rescue
- * parse.y: Fix to only include a range from modifier_rescue
to stmt (or arg).
e.g. The locations of the NODE_RESBODY is fixed:
```
a rescue 1
```
* Before
```
NODE_RESBODY (line: 1, code_range: (1,0)-(1,10))
```
...
12/07/2017
- 11:36 PM Revision 3bc080ba (git): * 2017-12-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:35 PM Revision f026add3 (git): parse.y: Fix locations of string
- * parse.y: Fix to include locations of tSTRING_BEG and tSTRING_END.
e.g. The locations of the NODE_STR is fixed:
```
"a"
```
* Before
```
NODE_STR (line: 1, code_range: (1,1)-(1,2))
```
* After
```
NODE_STR (l... -
09:02 PM Bug #14156: broken bundler install
- hsbt (Hiroshi SHIBATA) wrote:
> Can you try it with Ruby 2.2.10?
hi,
I'm sorry, I returned to ubuntu 16.04 and I can no longer replicate the problem.
However, since ruby 2.3, the problem does not arise, so i probe with ruby 2.... -
02:01 AM Bug #14156 (Feedback): broken bundler install
- Can you try it with Ruby 2.2.10?
-
08:51 PM Bug #13997 (Closed): Bundler gem binstub broken
- hsbt (Hiroshi SHIBATA) wrote:
> It fixed r60174 maybe. Can you try current HEAD(r60928)?
Hi @hsbt, thanks for looking into this. It's fixed as far as I can tell. I'm going to close it. I did a git bisect and r60171 fixed it. Thank yo... -
03:59 PM Bug #14159 (Third Party's Issue): [BUG] Segmentation fault at 0x0000000000000000 ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux] - Mailcatcher
- Good afternoon,
While trying to access the Mailcatcher service on my project, I found out a bug. I can access the Mailcatcher page without no problem, but after the page is loaded this log shows up on my terminal:
~~~ text
Startin... -
11:49 AM Bug #4487 (Closed): require_relative fails in an eval'ed file
- Now, it works. I'm unsure who changed the behavior... Anyway, closing.
-
11:37 AM Feature #13731: inode for Windows on ReFS
- 2.5 に入らないかもしれないとのこと、了解です。
ついでですが、ReFSボリュームを作ってファイルを2つ作成し、FILE_ID_INFO の128ビットの値と nFileIndexHigh/Low の64ビットの値を取得してみました。
FILE_ID_INFOの値をリトルエンディアン128ビット整数として表記すると、以下の値が取れました。(32ビット毎にアンダースコアを付与)
* 0x00000000_00000001_00000000_000006... -
08:08 AM Revision c0217435 (git): Follow up r60970 for bundler's examples.
- r60970 break Gemfile.lock format with file protocol after bundle
install/update. I addd hostname to these examples.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:06 AM Bug #9705 (Feedback): Installing ruby 2.1.1 fails while compiling (after: rvm install 2.1.1)
- Ruby 2.1 was EOL status. Can you try to build with Ruby 2.3 or 2.4?
-
07:57 AM Bug #14139 (Rejected): [BUG] Segmentation fault
- https://github.com/railsinstaller/railsinstaller-windows/issues/102 is already closed.
And this issue is same as #14047. -
07:44 AM Bug #14072 (Feedback): Ruby interpreter
- Can you try with Ruby 2.3.5 ? It's latest old-stable version.
-
07:18 AM Feature #4264 (Feedback): General type coercion protocol for Ruby
-
06:38 AM Revision 15c97780 (git): parse.y: Fix locations of array
- * parse.y (make_array): Set locations of ary to
include locations of start token (tLBRACK, tWORDS_BEG, ...)
and end token (']', tSTRING_END, ...) of array.
e.g. The locations of the NODE_ARRAY is fixed:
```
[1, 2, 3]
```
... -
06:06 AM Feature #14158 (Assigned): Update racc library with changes from upstream
-
12:00 AM Feature #14158 (Closed): Update racc library with changes from upstream
- The racc parser that is included in mri ruby currently lists version 1.4.5 as the racc version. Tenderlove's upstream of racc has released version 1.4.14 since then and there have been substantial changes in both the ruby and c parser. T...
-
04:42 AM Revision 284e3ae1 (git): win32/win32.c: removed a stale comment
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:32 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- Too late for 2.5, but I'll maintain and periodically rebase this
in hope it can be accepted for 2.6. I've updated patches for
Thriber support against latest trunk (r61067)
https://80x24.org/spew/20171207041831.29005-2-e@80x24.org/... -
04:12 AM Revision db2d28b0 (git): parse.y: fix for old compilers
- * parse.y (arg_value): initialization of aggregation type with
non-constant values is not allowed in C89.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:03 AM Revision 185133fd (git): win32.c: fallback to old API
- * win32/win32.c (w32_io_info, rb_w32_file_identical_p): fallback
to GetFileInformationByHandle if GetFileInformationByHandleEx
failed. it seems not working on network drives.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61067 ... -
03:15 AM Bug #14157 (Feedback): You may have encountered a bug in the Ruby interpreter or extension libraries.
- shevegen (Robert A. Heiler) wrote:
> I am not sure that this is enough information for the ruby core team to
I'm sure it is not enough information.
> ...
Yes, please provide more information. Otherwise, there's nothing that we can... -
03:00 AM Revision 803d1753 (git): parse.y: Fix locations of dsym
- * parse.y: Fix to only include a range from tSTRING_BEG to tLABEL_END.
e.g. The locations of the NODE_LIT is fixed:
```
{ "a": 10 }
```
* Before
```
NODE_LIT (line: 1, code_range: (1,2)-(1,9))
```
* After
```
... -
02:48 AM Revision acf7e52d (git): parse.y: Fix locations of dsym
- * parse.y (dsym_node_gen): Always set locations
to include locations of tSYMBEG and tSTRING_END.
e.g. The locations of the NODE_LIT is fixed:
```
:"a"
```
* Before
```
NODE_LIT (line: 1, code_range: (1,2)-(1,3))
```... -
02:36 AM Revision 2c018e96 (git): parse.y: Fix locations of regexp
- * parse.y (new_regexp_gen): Always set locations
to include locations of tREGEXP_BEG and tREGEXP_END.
e.g. The locations of the NODE_LIT is fixed:
```
/a/
```
* Before
```
NODE_LIT (line: 1, code_range: (1,1)-(1,2))
... -
02:25 AM Revision d2d4839a (git): parse.y: Fix locations of xstring
- * parse.y (new_xstring_gen): Always set locations
to include locations of tXSTRING_BEG and tSTRING_END.
e.g. The locations of the NODE_XSTR is fixed:
```
`a`
```
* Before
```
NODE_XSTR (line: 1, code_range: (1,1)-(1,2...
12/06/2017
-
11:56 PM Revision 04594937 (git): remove unnecessary read_timeout.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:43 PM Revision cd83444e (git): eval_intern.h: fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:40 PM Bug #14157: You may have encountered a bug in the Ruby interpreter or extension libraries.
- I am not sure that this is enough information for the ruby core team to
be able to help. Are you able to obtain some kind of stack trace that
led to the error? -
10:33 PM Bug #14157 (Closed): You may have encountered a bug in the Ruby interpreter or extension libraries.
- Logged into powershell. navigated to directory to run a newly installed version of Vagrant. Type in code Vagrant Up and get:
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcom... - 09:51 PM Revision 3f799727 (git): cont.c: update comment for ec refactoring
- * cont.c (fiber_switch): update comment (ec.fiber => ec->fiber_ptr)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:58 PM Bug #14156 (Closed): broken bundler install
- Ubuntu 17.10 | gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3) | 4.13.0-17-generic #20-Ubuntu x86_64 x86_64 x86_64 GNU/Linux | rvm 1.29.3 (manual) by Michal Papis
jj ~ $ gem install bundler
Fetching: bundler-1.16.0.gem (100%)
Successful... -
05:10 PM Feature #12753: Useful operator to check bit-flag is true or false
- In Ruby 2.5, Ripper::Lexer::State is introduced:
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/60945/entry/ext/ripper/lib/ripper/lexer.rb#L49
It is for lex_state of parse.y, and has #& and #| for bit operations ... - 03:02 PM Revision 530514fb (git): * 2017-12-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:02 PM Revision 49dc8664 (git): `Integer#pow(b)` accepts numeric
- instead of integer only and returns numeric instead of integer only
same as `Integer#**`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:57 PM Feature #11925: Struct construction with kwargs
- Similar to one commented by ko1, how about this interface?
~~~ ruby
T = Struct.new(:a, :b, keyword_argument: true)
T.new(a: 1, b: 2)
~~~
As `keyword_argument` is long, another option is:
~~~ ruby
Struct.new(:a, :b, keyword_a... -
12:36 PM Revision 956cfb97 (git): numeric.c: rb_int_powm rdoc
- * numeric.c (Init_Numeric): let rdoc know that rb_int_powm is
defined in bignum.c. [Feature #12508] [Feature #11003]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:38 AM Feature #13726: PATCH: Windows builds - fractional second file times
- @larskanis Thank you! I worried needlessly.
-
11:09 AM Feature #13726: PATCH: Windows builds - fractional second file times
- @kubo I had the same concern, but tried the latest [RubyInstaller snapshot](https://ci.appveyor.com/project/larskanis/rubyinstaller2-hbuor/branch/master/job/4gi3xnklucahhep6/artifacts). It proves that get_systemtime() is called somewhere...
-
10:01 AM Feature #13726: PATCH: Windows builds - fractional second file times
- @usa Thanks for merging the patches.
I'm afraid that `File.mtime(filename).usec` returns always zero just after ruby.exe starts up on Windows 8 or later.
`have_precisetime` is -1 at process startup.
https://github.com/ruby/ruby/bl... -
11:36 AM Revision 86f05884 (git): vcs.rb: fix r61054
- * tool/vcs.rb (VCS::SVN.get_revisions): cmd_readd_at expects the
whole arguments for IO.popen as the second argument, that is an
array of command and mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61056 b2dd03c8-39d4-4d8f-9... -
11:18 AM Revision 951ef1d4 (git): file2lastrev.rb: suppress_not_found
- * tool/file2lastrev.rb: exit successfully when command not found,
and if --suppress_not_found is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:18 AM Revision 3234d6a6 (git): vcs.rb: raise NotFoundError when command not found
- * tool/vcs.rb (cmd_pipe_at, cmd_read_at, system): moved from GIT
to VCS, and now raise VCS::NotFoundError when command not found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:35 AM Revision 9ef078e2 (git): Bump fiddle-1.0.0 for released version.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:34 AM Revision 836aaa0c (git): Bump gdbm-2.0.0 for released versionn.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:32 AM Revision 2d031181 (git): Bump dbm-1.0.0 for released version.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:26 AM Revision e0bed5f3 (git): compile.c (rb_iseq_compile_node): Move the check for imemo_ifunc to top
- Applying nd_type to imemo_ifunc object seems harmless fortunately, but
very dirty (to me).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:19 AM Revision 55f93cb6 (git): vm_core.h (RUBY_EVENT_COVERAGE_BRANCH): renamed
- This change moves RUBY_EVENT_COVERAGE from include/ruby/ruby.h to
vm_core.h and renames it to RUBY_EVENT_COVERAGE_BRANCH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:19 AM Revision 9be95d2a (git): Remove RUBY_EVENT_SPECIFIED_LINE
- Follow up of r61044
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:04 AM Revision c7e4f912 (git): insns.def (tracebranch): renamed from `trace2`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 AM Revision c3c0c074 (git): thread.c (update_branch_coverage): renamed from `update_coverage`
- Now this function only deals with branch events, so this change renames
it and remove complexity that is no longer needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:54 AM Revision ec1d41ba (git): fix last commit
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:53 AM Revision 104ca9f4 (git): remove unsupported RUBY_EVENT_SPECIFIED_LINE.
- * vm_trace.c (get_event_id): remove experimental in past, and not supported
now feature.
* vm_trace.c (tracepoint_inspect): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:39 AM Revision ec02c486 (git): thread.c (update_line_coverage): Use RUBY_EVENT_LINE
- This change makes coverage use the general event type RUBY_EVENT_LINE
instead of a special event type RUBY_EVENT_COVERAGE.
Just a refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Bug #13889 (Closed): FileUtils.rmdir が Errno::ENOTEMPTY を無視している
- 「しかし存在しない名前を FileUtils.rmdir に指定した時にエラーにならなかったのが Errno::ENOENT が発生するなるようになってしまっている」 については、fileutils はコマンドラインツールの挙動に倣うもので、rmdir(1) が存在しないパスを指定された時にはエラーになるので、r59934 後の挙動のほうが正しいということで閉じてしまいます。
一応挙動が変わるので、Backport 欄は 2.4 は DONTNEED にしておきます。 -
05:22 AM Revision 9fbd48ee (git): prelude.c.tmpl: fix line number
- * template/prelude.c.tmpl (Init_prelude): fix line number of
preludes. line of prelude_eval is an int, not a VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:06 AM Feature #11816: Partial safe navigation operator
- marcandre (Marc-Andre Lafortune) wrote:
> phluid61 (Matthew Kerwin) wrote:
> ...
Hmm, that's *almost* right, but in my mind it still doesn't quite fit. I think the problem I have is the expectation that modifying one message dispatch ... -
03:19 AM Revision 3af095f8 (git): eval_intern.h: prevent core dump with clang and make test-all
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:16 AM Revision 0e34638f (git): remove `PUSH_TAG`/`EXEC_AG`/`POP_TAG`/`JUMO_TAG`.
- * eval_intern.h: remove non-`EC_` prefix *_TAG() macros.
Use `EC_` prefix macros explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 AM Revision c1bd83ce (git): parse.y: Fix the first location of heredoc identifier
- * parse.y (parser_heredoc_identifier):
Put length of term at the head of rb_strterm_heredoc_struct.term.
* parse.y (rb_parser_set_location_from_strterm_heredoc):
Use length of term to calculate first_loc.column.
e.g. The location... -
01:41 AM Revision b7c17ad1 (git): parse.y: remove redefined typedef
- Clang told me that this is C11 feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:44 AM Revision f7899d3c (git): parse.y: Fix locations of HEREDOC
- * parse.y (rb_parser_set_location_from_strterm_heredoc):
Set locations based on rb_strterm_heredoc_t.
* parse.y (yylex): Set yylloc based on rb_strterm_heredoc_t
when parsing heredoc.
e.g. The locations of the NODE_DSTR is change... -
12:34 AM Bug #14058 (Third Party's Issue): [bundler] program-suffixを付けるとbundle gem -> rake buildなどが動作しない
- 確認ありがとうございます。
bundler がコマンドをハードコードしていることが原因なので upstream への報告をお願いします。
12/05/2017
- 11:34 PM Revision b034a9d2 (git): * 2017-12-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:34 PM Revision 5abf308a (git): test_syntax.rb: Add a test case for `not()`
- * test/ruby/test_syntax.rb (TestSyntax#test_keyword_not_parens):
Currently `not()` is tested by only TestRipper::ParserEvents#test_unary,
so I think it's better to test this syntax directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
06:23 PM Feature #13050: Readline: expose rl_completion_quote_character variable
- This has been open for a year. Is there anything I can do towards getting the patch accepted?
-
05:00 PM Bug #14058: [bundler] program-suffixを付けるとbundle gem -> rake buildなどが動作しない
- I got same error with ruby-2.4.2 and bundler-1.16.0.
~~~
$ bundle gem mygem
:
$ rake2.4 build
rake aborted!
sh: 1: gem: not found
~~~ -
04:52 PM Bug #14096: Psych allows invalid single quote escape character
- Pull request https://github.com/yaml/libyaml/pull/74 has been created for libyaml, which means this is likely to percolate up to MRI over the coming years.
It might be good to get ahead of it and patch Psych to forbid the single quote... -
01:49 PM Revision f24efa28 (git): parse.y: nd_line of new node
- * parse.y (nd_set_loc): set nd_line of the newly created node to
the first location.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:46 PM Revision 4fe720eb (git): parse.y: nd_line of call_uni_op
- * parse.y (call_uni_op): set nd_line to the unary operator
location, same as non-operator method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:42 PM Revision 2ed12304 (git): parse.y: nd_line of logop
- * parse.y (logop): set nd_line to the logical operator location,
same as non-operator method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:38 PM Revision b9e91bfb (git): parse.y: nd_line of match_op
- * parse.y (match_op): set nd_line to the match operator location,
same as non-operator method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:30 PM Revision 60bca021 (git): parse.y: nd_line of call_bin_op
- * parse.y (call_bin_op): set nd_line to the binary operator
location, same as non-operator method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:08 AM Revision 25d6a7ef (git): Bump version to rdoc-6.0.0.
- There is no changes from rdoc-6.0.0.bebta4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:45 AM Revision e5614fbc (git): iseq.c (iseq_load, iseq_data_to_ary): Fix a type error (for clang)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:58 AM Revision f9c614c6 (git): Hide ISeq#load
- I disclosed it incorrectly at r61025. Sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:56 AM Revision f6556c5c (git): ext/coverage/coverage.c: method coverage has column info. of method def.
- This change makes method coverage result have not only first lineno of
method defintion, but also code range (i.e. first lineno, first column,
last lineno, and last column).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61026 b2dd03... -
08:56 AM Revision a5e02f24 (git): vm_core.h (rb_iseq_locatoin_t): add a field `code_range`
- This change makes each ISeq keep NODE's code range. This information is
needed for method coverage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:50 AM Revision 2d592329 (git): node.c: FIELD_BLOCK
- * node.c (COMPOUND_FIELD, FIELD_BLOCK): moved block outside
arguments like as SIMPLE_FIELD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:44 AM Bug #14075 (Closed): File.dirname("path without dir".taint) returns untainted string
- I think it is intended.
`dirname` for a path without directory is ".", and this does not come from the argument string. -
07:32 AM Bug #9912: URI#to_s with an empty host formats the string incorrectly
- [I wrote this directly to ruby-core because I didn't see the issue, but want to make sure it's in the right place.]
The "postgres:" URI scheme isn't even mentioned in the registry at https://www.iana.org/assignments/uri-schemes/uri-sc... -
07:16 AM Revision 0a6816ec (git): Revamp method coverage to support define_method
- Traditionally, method coverage measurement was implemented by inserting
`trace2` instruction to the head of method iseq. So, it just measured
methods defined by `def` keyword.
This commit drastically changes the measuring mechanism of ... -
05:26 AM Bug #14154: Ruby 2.4 and support for rails 3
- See also https://www.ruby-lang.org/en/news/2013/12/21/ruby-version-policy-changes-with-2-1-0/
-
04:55 AM Bug #14154 (Closed): Ruby 2.4 and support for rails 3
- Thanks for your report. 2.4 is not fully compatible with older versions of Ruby, and that's intentional. Please refer to our maintenance policy https://bugs.ruby-lang.org/projects/ruby/wiki/GeneralMaintenancePolicy and the discussion aro...
-
04:23 AM Revision aa87ae7a (git): node.c: a simple notation for code range of NODEs
- This affects only `--dump=parsetree` and `--dump=parsetree_with_comment`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:19 AM Bug #13757 (Closed): TestBacktrace#test_caller_lev segaults on PPC
- Fixed at r61020
- 01:10 AM Revision 133b0cf2 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 AM Revision b2047f79 (git): vm_core.h: Increase the Fiber stack size on powerpc64
- Currently the Fiber stack size is small for powerpc64 and it causes
test/ruby/test_backtrace.rb test to break, since it is using a 8kb stack
size.
It breaks on powerpc64 due to the fact that a frame in the stack is
usually 50% bigger on... -
12:59 AM Revision 65c0f47f (git): Remove unnecessary read_timeout.
- http://ci.rvm.jp/results/trunk-asserts-nopara@ruby-sky1/219867
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:52 AM Feature #14153: [PATCH] resurrection of # -*- warn_past_scope: true -*-
- @shevegen Yes. You can write multiple magic comments
- at once, like this:
# -*- coding: utf-8; frozen_string_literal: true; warn_indent: true; warn_past_scope: true -*-
- or, line by line like this:
# coding:... -
12:09 AM Revision 02b7d4c5 (git): bignum.c: unified int_pow_tmp2
- * bignum.c (int_pow_tmp2): unified DLONG and none DLONG code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/04/2017
- 11:59 PM Revision 984759ef (git): * 2017-12-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:59 PM Revision faf43e37 (git): parse.y: Fix locations of NODE_*ASGN and NODE_ERRINFO
- * parse.y: Fix to only include a range of exc_var.
e.g. The locations of the NODE_DASGN_CURR and NODE_ERRINFO are fixed:
```
begin
1
rescue => e
2
end
```
* Before
```
NODE_DASGN_CURR (line: 3, first_lineno:... -
07:00 PM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
- Hi,
I've been investigating this issue, and I think I found the solution:
stack_check() is checking the lambda stack size against a very small stack size (8Kb). This is a quite small stack size, and powerpc usually have a bigger fr... -
06:04 PM Feature #14153: [PATCH] resurrection of # -*- warn_past_scope: true -*-
- Seems to me to be more appropriate as a Rubocop cop.
-
04:44 PM Feature #14153: [PATCH] resurrection of # -*- warn_past_scope: true -*-
- I have no pro or con opinion so I will not comment on the suggestion.
I have one question though, apologies for a bit of side tracking:
- Can this be combined with other comment options such as "# frozen_string_literal: true"
?
... -
10:49 AM Feature #14153: [PATCH] resurrection of # -*- warn_past_scope: true -*-
- This patch works like this:
```
% ./ruby --disable-gems -w -ve '[1, 2, 3].sample.tap { |rand| puts "Random value: #{rand}" }; puts "Another random value: #{rand}"'
ruby 2.5.0dev (2017-12-04 warn_past_scope 61011) [x86_64-darwin15]
... -
10:37 AM Feature #14153 (Open): [PATCH] resurrection of # -*- warn_past_scope: true -*-
- ```patch
From 2addeedcf8838dc15d127fffd888962b34879439 Mon Sep 17 00:00:00 2001
From: "Urabe, Shyouhei" <shyouhei@ruby-lang.org>
Date: Mon, 4 Dec 2017 19:28:55 +0900
Subject: [PATCH] resurrection of # -*- warn_past_scope: true -*-
... -
05:45 PM Bug #14015: Enumerable & Hash yielding arity
- Matz, this was on the agenda for the developers meeting, was it discussed?
-
05:43 PM Feature #11816: Partial safe navigation operator
- phluid61 (Matthew Kerwin) wrote:
> If there was a way to explicitly signal the end of the "infectious nil" I'd probably find it useful
There is one way, and it is the same as with all the cases where the precedence doesn't go the way... -
12:28 PM Feature #11816: Partial safe navigation operator
- sawa (Tsuyoshi Sawada) wrote:
>
> ...
I think `.nil?`, `.inspect`, `.tap` could all be legitimately used on a value or nil.
It makes sense to me that `&.` is just a safe version of `.`, not some sort of "infectious nil" operation t... -
11:07 AM Feature #11816: Partial safe navigation operator
- znz (Kazuhiro NISHIYAMA) wrote:
> marcandre (Marc-Andre Lafortune) wrote:
> ...
I don't think that is a real use case. The linked article mentions coding style. It suggests not to use the safe navigation operator without thinking or wh... -
01:55 PM Bug #14154 (Closed): Ruby 2.4 and support for rails 3
- After upgrading a Rails project from 2.1.5 to 2.4.2 I ran into a number of failing tests. Seems like a behavior of **ActiveSupport::Duration can't be coerced into Integer**
I’ve looked at some important changes that are part of the Ru... -
12:49 PM Revision 5a8a2706 (git): win32.c: fix error on mingw
- * win32/win32.c (FILE_ID_128): defined on mingw already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 PM Revision 378f0280 (git): [DOC] improve rdoc formatting for links [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:44 AM Bug #14075: File.dirname("path without dir".taint) returns untainted string
- I found that File.split also returns untainted string with a tainted argument.
~~~
$ ruby -e 'p File.split("foo/bar".taint).map(&:tainted?); p File.split("hoge".taint).map(&:tainted?)'
[true, true]
[false, true]
~~~
-
11:35 AM Feature #14145: Proposal: Better Method#inspect
- ko1 (Koichi Sasada) wrote:
> I don't have strong opinions on your proposal, but source location information seems also helpful. Which is important or both?
I believe that source location is less necesary. I mean, what I had in mind w... -
08:15 AM Feature #14145: Proposal: Better Method#inspect
- ko1 (Koichi Sasada) wrote:
> I don't have strong opinions on your proposal, but source location information seems also helpful. Which is important or both?
i didn't looked at the ruby source code for now, but might it be possible to ... -
07:54 AM Feature #14145: Proposal: Better Method#inspect
- I don't have strong opinions on your proposal, but source location information seems also helpful. Which is important or both?
-
11:28 AM Feature #14142: Add Method#===
- ```ruby
case value
when proc { |v| receiver.hoge(v) }
end
```
とすることもできますが、この issue にあるパッチで実現される方法のほうが Rubyish で良いと思います。
```ruby
case value
when receiver.method(:hoge).to_proc
end
```
とすれば今でも意図と同じものは可能ですが、微妙に Proc っぽいけど P... -
10:54 AM Feature #13883: Change from gperf 3.0.4 to gperf 3.1
- This issue may have been fixed with https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60976. Nobu, please close if that's true.
-
10:48 AM Misc #13702 (Closed): TZ checking in rb_w32_fstati64()
- Applied in changeset trunk|r61013.
----------
support nanosec file timestamp on newer Windows
Support nanosec file timestamp on Windows 8 or later.
Original patches are written by kubo (Kubo Takehiro).
Windows 7 and earlier also suppor... -
10:48 AM Feature #13726 (Closed): PATCH: Windows builds - fractional second file times
- Applied in changeset trunk|r61013.
----------
support nanosec file timestamp on newer Windows
Support nanosec file timestamp on Windows 8 or later.
Original patches are written by kubo (Kubo Takehiro).
Windows 7 and earlier also suppor... -
08:36 AM Feature #13726: PATCH: Windows builds - fractional second file times
- @larskanis, thank you for information.
larskanis (Lars Kanis) wrote:
> So to remove these inconsistencies we could truncate file times to 1/64 precision, when GetSystemTimePreciseAsFileTime() is not available?
OK, I'll test it. -
07:21 AM Feature #13726: PATCH: Windows builds - fractional second file times
- @usa I think the reason is, that precise file times are working as expected on Windows 7, but Time.now has a precision of 1/64 seconds only. This is because Windows 7 doesn't support GetSystemTimePreciseAsFileTime(), which is required to...
- 10:48 AM Revision ce7c1c05 (git): support nanosec file timestamp on newer Windows
- Support nanosec file timestamp on Windows 8 or later.
Original patches are written by kubo (Kubo Takehiro).
Windows 7 and earlier also supports nanosec file timestamp, but it's too
accurate than system time. so, this feature is disabled... -
10:45 AM Feature #14146: Improve performance of creating Hash object
- watson1978 (Shizuo Fujita) wrote:
> I updated the patch to keep binary compatibility.
> ...
Good. However, I think you should consider using ccan/list. It is field proven.
> And I took a benchmark on Linux. Seem that Linux's mallo... -
10:41 AM Revision b91d5b79 (git): bignum.c: explicit casts
- * bignum.c (int_pow_tmp2): explicitly cast to get rid of implicit
conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:50 AM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
- > I'm not sure this name is proper, suggestions appreciated
How about "to_formatted_s"?
Active Support has this method for some core classes, and so I guess this name may sound familiar to the Rails people. https://github.com/rails/r... -
08:20 AM Revision 4788522f (git): parse.y: Fix a location of NODE_BLOCK_PASS
- * parse.y (arg_append_gen): Update the last location of
NODE_BLOCK_PASS when NODE is appended to nd_head.
e.g. The locations of the NODE_BLOCK_PASS is fixed:
```
o[1, &bl] = :c
```
* Before
```
NODE_BLOCK_PASS (line: ... -
08:15 AM Feature #13382 (Rejected): [PATCH] Options for FTP PORT command
- osa (Shunsuke OSA) wrote:
> I used to use FTP and need this feature.
> ...
I don't have any use case of this feature either, so I close this issue.
-
06:40 AM Feature #13382: [PATCH] Options for FTP PORT command
- I used to use FTP and need this feature.
But now, I don't use it and lose motivation to implement this feature.
I'm so sorry.
Please close this issue.
(I guess I can't close this issue.) -
07:50 AM Revision 81d8c29a (git): parse.y: Fix a location of NODE_ARGSCAT
- * parse.y (arg_append_gen): Update the last location of
NODE_ARGSCAT when NODE is appended to nd_body.
e.g. The locations of the NODE_ARGSCAT is fixed:
```
m(*a, :b, :c)
```
* Before
```
NODE_ARGSCAT (line: 1, first_l... -
07:49 AM Feature #11256 (Assigned): anonymous block forwarding
- Matz:
> but there is another motivation of this feature: the simplicity of the notation
With proposal syntax, we don't need to use a variable name for block parameter. What do you think about it?
-
07:37 AM Revision 340fe20a (git): hide internal data objects
- * marshal.c (compat_allocator_table): hide the wrapper object of
compat_allocator_tbl.
* process.c (rb_execarg_new): hide wrapper objects of struct
rb_execarg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61009 b2dd03c8-39d4-4... -
07:16 AM Revision 2208c6b4 (git): parse.y: Fix a location of NODE_ARRAY in NODE_ARGSCAT
- * parse.y: Fix the first location to be equal to the location
of the first element of NODE_ARRAY.
e.g. The locations of the NODE_ARRAY is fixed:
```
m(*a, :b, :c)
```
* Before
```
NODE_ARRAY (line: 1, first_lineno: 1,... - 06:41 AM Revision b7de978e (git): try to pass compiling with VC12
- * win32/win32.c (FILE_ID_128): it's not defined in SDK with VC10, but seems to
be defined in SDK with VC12.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:08 AM Revision 7101611b (git): ifaddr.c: fix memsize
- * ext/socket/ifaddr.c (ifaddr_memsize): do not count the whole
rb_ifaddr_t array for each elements. the header size is
included in the first element for the time being.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61006 b2dd03... -
04:09 AM Bug #14148: Longstanding behavior regarding correspondence of toplevel with Object is surprising
- Hi @mame,
I agree that the change from warning to NameError is intended, and this behavior change is not the concern:
> I don't think is a problem for 2.5. The overall behavior seems consistent with 2.4, if surprising. My surprise ... -
12:37 AM Bug #14148: Longstanding behavior regarding correspondence of toplevel with Object is surprising
- This change is intended. See https://bugs.ruby-lang.org/issues/11547. Matz said in that ticket:
> I am for this proposal, but also concern about code breakage. Let's try removing top-level constant look-up in 2.4dev and see how much... -
03:36 AM Feature #13731 (Assigned): inode for Windows on ReFS
- stat構造体の変更は大掛かりなことになる上に、[Feature #13726] にはちょっと問題が発生しているので、とりあえず `File.identical?` のみ対応しました。
stat構造体の方は 2.5 には入らないかもしれません。 -
03:33 AM Feature #13731 (Closed): inode for Windows on ReFS
- Applied in changeset trunk|r61005.
----------
support `File.identical?` on ReFS
* file.c (rb_file_idenitical_p): move Windows dependent code to win32/win32.c.
* win32/win32.c (rb_w32_file_identical_p): support ReFS.
see [Feature #13... - 03:33 AM Revision 8e7560bb (git): support `File.identical?` on ReFS
- * file.c (rb_file_idenitical_p): move Windows dependent code to win32/win32.c.
* win32/win32.c (rb_w32_file_identical_p): support ReFS.
see [Feature #13731] [ruby-dev:50166]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61005 b2... -
02:35 AM Feature #12508 (Closed): Integer#mod_pow
- Applied in changeset ruby-trunk:trunk|r61003.
----------
bignum.c, numeric.c: add Integer#pow(b, m)
This commit is based on the pull-request #1320 created by Makoto Kishimoto.
[Feature #12508] [Feature #11003] [close GH-1320]
* bignum... - 02:35 AM Revision 8903ab2e (git): NEWS: add Integer#pow(b, m)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:35 AM Revision 9b09cc8a (git): bignum.c, numeric.c: add Integer#pow(b, m)
- This commit is based on the pull-request #1320 created by Makoto Kishimoto.
[Feature #12508] [Feature #11003] [close GH-1320]
* bignum.c (rb_int_powm): Added for Integer#pow(b, m).
* internal.h (rb_int_powm): Declared to refer in numer... - 12:23 AM Revision 58b3f365 (git): revert r60999
- * test/logger/test_logdevice.rb: revert r60999 because it was caused by not
committed changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e