Activity
From 12/06/2017 to 12/12/2017
12/12/2017
-
11:48 PM Revision 47f1d842 (git): parse.y: Fix the locations of an empty script
- * parse.y: Fix the locations of NODE_BEGIN in
an empty script.
```
ruby --dump=p -e ''
```
* Before
```
NODE_BEGIN (line: 1, code_range: (1,1)-(1,1))
```
* After
```
NODE_BEGIN (line: 1, code_range: (1,0)-(1,0)... -
11:41 PM Revision d5874f0f (git): Capture the values of globals in EnvUtil to restore to the original
- * Avoids the thread-safety issues mentioned in r61192,
when thread concurrently modify default Encodings or $VERBOSE.
Their state will always be the original one once the test finishes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
11:41 PM Revision cf4d4c32 (git): Revert r61192 and r61193
- * More general fix coming.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:41 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Thank you, matz.
I'll try this change after 2.5 is released. -
09:05 AM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- I am sorry I missed this issue for a long time.
I agree with the rationale behind the proposal. I am slightly concerned about incompatibility.
So we need to experiment to measure how big the compatibility issue after changing the beh... -
10:37 PM Revision f356bd81 (git): Use EnvUtil.with_default_external in tests needing it
- * Reverts part of r54522.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:51 PM Revision c32ce5fc (git): Do not change Encoding.default_internal in assert_raise_with_message
- * It is not thread-safe: if two threads call it concurrently,
the default_internal Encoding might not be restored, which causes
many problems. The same applies for $VERBOSE, which might also not be
restored to its original value bu... -
09:32 PM Revision c895b54f (git): Check that global encodings are not changed in test-all
- * Check that Encoding.default_internal and Encoding.default_external
are the same before and after every test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 PM Revision 3f2305f1 (git): Remove useless assertion in TestThread#test_handle_interrupt_blocking
- * It was originally th.join(0.2), but th.join never returns nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:48 PM Revision 7cb010e3 (git): Handle exception explicitly in TestBignum#test_interrupt_during_to_s
- * Otherwise it produces a warning with Thread.report_on_exception=true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:51 PM Feature #14143: Thread.report_on_exception should be true by default
- I committed the change in r61182 and adapted test-all to fix warnings in r61188.
The tests look improved by this change, and few tests need report_on_exception = false.
I noticed oddly the main thread returns false for Thread#report_... -
06:43 PM Feature #14143 (Closed): Thread.report_on_exception should be true by default
- Applied in changeset trunk|r61183.
----------
Set Thread.report_on_exception=true by default to report exceptions in Threads
* [Feature #14143] [ruby-core:83979]
* vm.c (vm_init2): Set Thread.report_on_exception to true.
* thread.c (th... -
02:07 PM Feature #14143: Thread.report_on_exception should be true by default
- The current patch and progress is available at https://github.com/ruby/ruby/compare/trunk...eregon:thread_report_on_exception_by_default
Only the first commit (also attached as patch) is needed to "make exam"
We found a bug in DRb wi... -
01:56 PM Feature #14143: Thread.report_on_exception should be true by default
- We discussed with @ko1 and @usa to add a hint to the warning produced by Thread.report_on_exception.
I am thinking to go with @usa's suggestion. The hint is between "()":
```
#<Thread:[email protected]:3 run> terminated w... -
10:27 AM Feature #14143: Thread.report_on_exception should be true by default
- matz (Yukihiro Matsumoto) wrote:
> OK, it will be merged to 2.5RC1. If something (bad) happens, we will revert it.
Thank you!
I will provide a patch as soon as possible. -
05:58 AM Feature #14143: Thread.report_on_exception should be true by default
- Hi,
OK, it will be merged to 2.5RC1. If something (bad) happens, we will revert it.
Matz.
-
06:44 PM Revision 15689ed7 (git): Fix test-all tests to avoid creating report_on_exception warnings
- * The warnings are shown by Thread.report_on_exception defaulting to
true. [Feature #14143] [ruby-core:83979]
* Improves tests by narrowing down the scope where an exception
is expected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t... -
06:44 PM Revision 967eab83 (git): Remove extra assert_nil in Rinda tests
- * They are never executed since thread_join() raises.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 PM Revision 6671a826 (git): Fix tests which fail with extra stderr output when a Thread dies
- * [Feature #14143] [ruby-core:83979].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 PM Revision 2dfbc64f (git): Rescue expected Interrupt in TupleSpaceTestModule#test_take_bug_8215
- * test/rinda/test_rinda.rb (test_take_bug_8215): add rescue for
expected exception, which removes the warning by
Thread.report_on_exception [Feature #14143].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61185 b2dd03c8-39d4-4d8f... -
06:44 PM Bug #14171 (Closed): can't alloc thread (ThreadError) in DRbServer#main_loop
- Applied in changeset trunk|r61184.
----------
Avoid creating a Thread for shutting down a DRbServer
* lib/drb/drb.rb: avoid creating a Thread and call the shutdown logic
directly. Do not try to kill or join the current Thread.
Thre... -
01:28 PM Bug #14171 (Closed): can't alloc thread (ThreadError) in DRbServer#main_loop
- The bug can be reproduced by adding `Thread.report_on_exception = true` at the top of lib/drb/drb.rb.
```
DRbTests::TestBug4409#test_bug4409#<Thread:0x000055597db83478@ruby/lib/drb/drb.rb:1657 aborting> terminated with exception:
Tr... -
06:43 PM Revision ca1c3d41 (git): Avoid creating a Thread for shutting down a DRbServer
- * lib/drb/drb.rb: avoid creating a Thread and call the shutdown logic
directly. Do not try to kill or join the current Thread.
Thread.new { stop_service } caused "can't alloc thread (ThreadError)",
which is shown with Thread.report... -
06:43 PM Revision 5a3c024d (git): Set Thread.report_on_exception=true by default to report exceptions in Threads
- * [Feature #14143] [ruby-core:83979]
* vm.c (vm_init2): Set Thread.report_on_exception to true.
* thread.c (thread_start_func_2): Add indication the message is caused
by report_on_exception = true.
* spec/ruby: Specify the new behavior... -
04:05 PM Feature #11256: anonymous block forwarding
- nobu (Nobuyoshi Nakada) wrote:
> Just to be clear, does it require both of the definition and the use, instead of only the latter?
> ...
`def foo(&)` is more self documenting so should be legal syntax, but should not be required becaus... -
10:04 AM Feature #11256: anonymous block forwarding
- Current patch.
```diff
diff --git a/parse.y b/parse.y
index 1026d5c896..2a98016002 100644
--- a/parse.y
+++ b/parse.y
@@ -347,6 +347,8 @@ static int parser_yyerror(struct parser_params*, const char*);
#define lambda_beginnin... -
09:45 AM Feature #11256: anonymous block forwarding
- Just to be clear, does it require both of the definition and the use, instead of only the latter?
I mean this is allowed:
```ruby
def foo(&)
bar(&)
end
```
but these are not:
```ruby
def foo()
bar(&)
end
def foo... -
08:34 AM Feature #11256: anonymous block forwarding
- Accepted.
Matz.
-
04:00 PM Feature #14169: PATCH: File.lstat(filename).ino on Windows.
- merged. thx!
-
03:03 PM Feature #14169 (Closed): PATCH: File.lstat(filename).ino on Windows.
- Applied in changeset trunk|r61180.
----------
set ino at `File.lstat` on Windows
* win32/win32.c (winnt_stat): support symbolic link and others.
* win32/win32.c (w32_stati128, wstati128, name_for_stat, rb_w32_{,ul}stati128,
wutimens... -
12:22 PM Feature #14169 (Closed): PATCH: File.lstat(filename).ino on Windows.
- On Unix, the return values of File.stat(filename) and File.lstat(filename)
are same when the file isn't a symbolic link. However they are different
on Windows. File.lstat(filename).ino is always zero. The attached patch
fixes File.lst... -
03:36 PM Bug #14174 (Closed): TestProcess#test_maxgroups failures
- I observe following test error on Fedora Rawhide:
~~~
1) Failure:
TestProcess#test_maxgroups [/builddir/build/BUILD/ruby-2.5.0-r61169/test/ruby/test_process.rb:1521]:
[ArgumentError] exception expected, not.
Class: <ZeroDivision... -
03:24 PM Feature #14112: Follow style conventions for Ruby code
- ok, it is strange for me to read a documentation with different sintaxis, but it seems that it wouldn't be easy to agree on an style and that a lot of people don't have a problem with this. So, the discussion won't take us anywhere, let'...
-
03:12 PM Revision 2406207c (git): struct.c: don't explain implementation details
- of keyword_init option. [DOC] [ci skip]
It's implemented to take Hash, but it's just implementation detail and
it's intended to behave in the same way as keyword arguments (for
:keyword_init option too).
Also I unified coding style of ... -
03:08 PM Misc #14173 (Closed): 2017-12-14 61242 all good with MinGW
- To all that are working into the evening, Appveyor is a bit backed up, I just ran a manual build of ruby-loco, and all tests passed. Next scheduled run is at 1:00 JST.
Thank you, Greg
feel free to close whenever...
```
0 Total ... -
03:03 PM Revision 8411f58e (git): struct.c: show `keyword_init: true` on inspect
- for debugging if it's specified for the Struct class.
This follows up r61137.
We don't provide a method to check it because I don't think of any use
case, but showing this to inspect would be helpful for debugging if
someone is debuggin... - 03:02 PM Revision 1dcdb868 (git): set ino at `File.lstat` on Windows
- * win32/win32.c (winnt_stat): support symbolic link and others.
* win32/win32.c (w32_stati128, wstati128, name_for_stat, rb_w32_{,ul}stati128,
wutimensat): follow above change.
[Feature #14169]
From: Takehiro Kubo [email protected]... -
03:01 PM Revision c9154899 (git): Add more example of `Enumerable#one?` [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision 9982bfd1 (git): pattern and modulo are not keyword argument [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision 4ea549e8 (git): Fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision eccdc515 (git): atime,mtime,ctime of File::Stat are instance methods
- [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:01 PM Revision 38054f99 (git): Remove unnecessary `:`
- Before:
`.../irb/init.rb:280: warning: :LoadError: cannot load such file -- hoge`
After:
`.../irb/init.rb:280: warning: LoadError: cannot load such file -- hoge`
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61175 b2dd... -
03:01 PM Revision e03ea9c5 (git): Use printf instead of puts and sprintf
- [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:01 PM Revision 01c051f1 (git): * 2017-12-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision b9253be5 (git): [DOC] Process.last_status may return nil
- [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:54 PM Bug #5060: Executables in bin folder conflict with their gem versions.
- No, this is still not resolved (testing with r61169). Only Rake (which is "bundled" gem) appears to have RubyGems generated stub which won't conflict unless RubyGems change the algorithm. The remaining executables (namely bundle, bundler...
-
02:47 PM Revision f6a1ad41 (git): parse.y: Change the last location of none
- * parse.y: Change the last location of none to be
equal to the first location of none.
Sometimes none has length (`parser->tokp` does not
match `lex_p` when none is generated).
This leads to invalid code_ranges.
e.g. The locat... -
02:28 PM Feature #14022: String#surround
- @matz
Basically, in **my** practice (I can't speak for everyone of course) chaining is almost always a better way to construct value than operators, or interpolation, or something. Mostly because it follows "natural" flow of data, and... -
02:12 PM Feature #14022: String#surround
- I see `ary.join.surround("<",">")` to be no better than `"<#{ary.join}>"` or `"<"+ary.join+">"`.
If the wrapped expression is long, you can `format("<%s>", long_expression)`. I am not sure why you are so eager to chain method calls here... -
02:22 PM Bug #14172: Cannot create snapshot
- It seems that "-srcdir=." helps to workaround the issue. But I am wondering if this command is supported, since it is apparently untested? Should I use some different approach to create the snapshot tarball?
-
01:59 PM Bug #14172 (Closed): Cannot create snapshot
- ~~~
$ tool/make-snapshot -packages=xz tmp
Exporting trunk@61166
/builddir/ruby/tool/vcs.rb:317:in `realpath': no implicit conversion of URI::HTTP into String (TypeError)
from /builddir/ruby/tool/vcs.rb:317:in `export'
from tool/ma... -
02:21 PM Revision 3d6d6151 (git): parse.y: Set locations of nd_body in NODE_ITER explicitly
- * parse.y: Same as r61168, but for brace_block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 PM Bug #13962 (Assigned): Change http://unicode.org to https
- This commit break mswinci environment. https://rubyci.org/logs/mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20171212T111756Z.fail.html.gz
I reverted at r61169 -
09:01 AM Bug #13962 (Closed): Change http://unicode.org to https
-
02:10 PM Revision 774f650b (git): Revert "switch from http to https for Unicode data file downloads"
- This reverts commit 90de118a75921a08497b41de2950971073b3c924.
The environment of mswinci couldn't handle https download.
(It's certificates problem, We should upgrade its environment)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
02:10 PM Revision 46e8a8ae (git): parse.y: Set locations of nd_body in NODE_ITER explicitly
- * parse.y: Currently the location of do_body is set
by new_do_body. Sometimes the last part of do_body is
none, because bodystmt ends with opt_ensure.
Token keyword_end has been looked ahead when a tokenizer
generates none, so th... -
01:56 PM Revision 89c7e6de (git): irb/test_init.rb: add test to ensure $0
- is not changed.
At first `ARGV.unshift('something')` was suggested for r61149,
but it wasn't sufficient because it modifies $0.
Not only to preserve ARGV, but also r61149 intends to preserve $0.
This test prevents future breakage of th... -
01:47 PM Revision 64bb2b1c (git): test_struct.rb: rename constants to clarify
- the intention. Follows up r61137.
They were forgotten to be renamed when :keyword_args is renamed to
:keyword_init.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:19 PM Revision bf232141 (git): ext/coverage/coverage.c: Add test cases
- * ext/coverage/coverage.c (test_method_coverage_for_define_method):
Add test cases for method coverages which test do-end block
define_method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:07 PM Revision 1711b54b (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:07 PM Revision 6d325952 (git): NEWS: polish
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:52 PM Feature #14170: Add allbits?, anybits and nobits? to Ripper::Lexer::State
- If this request is added, I'll add supporting it at upstream:
https://github.com/ruby/rdoc
The corresponding file:
https://github.com/ruby/rdoc/blob/b477af836237a7e2750238b01a3c05d842c28227/lib/rdoc/parser/ripper_state_lex.rb
The RDo... -
12:30 PM Feature #14170 (Closed): Add allbits?, anybits and nobits? to Ripper::Lexer::State
- @nobu added Ripper::Lexer::State at @60665
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/60665/diff/ext/ripper/lib/ripper/lexer.rb
and I think it's necessary for RDoc, I commented it at ruby-core:84111.
http://bl... -
12:40 PM Revision 6c49079e (git): ignore lines (to catch up r61155).
- * spec/ruby/library/net/ftp/return_code_spec.rb: check message body only.
* spec/ruby/library/net/http/http/set_debug_output_spec.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:28 PM Feature #14168 (Closed): C call to raise FrozenError
-
12:25 PM Feature #14168: C call to raise FrozenError
- Naruse told me about rb_check_frozen(), and it completely works as I expected.
Please close this ticket.
tagomoris (Satoshi TAGOMORI) wrote:
> Currently we need to check the object is frozen or not by `isFrozen` and raise error (Run... -
12:16 PM Feature #14168 (Closed): C call to raise FrozenError
- Currently we need to check the object is frozen or not by `isFrozen` and raise error (RuntimeError or FrozenError) under its own responsibility.
Providing such c function makes us to write much safer code/extensions.
```c
/* now */
... -
12:17 PM Revision d18fb887 (git): error.c(rb_error_write): Remove ec_ from its name
- It's unrelated to rb_execution_context_t during writing the patch
r61154
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:12 PM
Feature #14142 (Closed): Add Method#===
- Applied in changeset trunk|r61158.
----------
Add Method#=== that invokes #call
Patch by osyo via [Feature #14142] -
08:25 AM Feature #14142: Add Method#===
- LGTM.
Matz.
-
12:12 PM Revision 29e1f56e (git): NEWS for Method#===
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 PM Revision 3baa1d23 (git): Unneeded assertion
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 PM Revision 476a539f (git): Add Method#=== that invokes #call
- Patch by osyo via [Feature #14142]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:10 PM Feature #12882 (Closed): Add caller/file/line information to internal Kernel#warn calls
- Applied in changeset trunk|r61156.
----------
NEWS entry for [Feature #12882] -
12:44 AM Feature #12882: Add caller/file/line information to internal Kernel#warn calls
- The previously posted patch still applies and the tests still pass with it. I would like to get this committed before 2.5.0, as it makes the change for `Kernel#warn` to call `Warning.warn` (#12944) much more useful.
-
12:10 PM Revision 2ce0847e (git): hotfix implicit-function-declaration
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:10 PM Revision 9fa87ebe (git): NEWS entry for [Feature #12882]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:58 AM Feature #13731: inode for Windows on ReFS
- 確認ありがとうございました。警告も消しておきました。
-
11:16 AM Feature #13731: inode for Windows on ReFS
- ReFS と NTFS 上での `File.stat(filename).ino` の値と、GetFileInformationByHandleEx()を使って得た FILE_ID_128 の値が一致することを確認しました。コンパイル時の以下の warning 以外は問題なしです。
~~~
compiling win32/win32.c
win32/win32.c: In function 'get_ino':
win32/win32.c:5445:11: ... -
11:56 AM Revision f2a91397 (git): Add uplevel keyword to Kernel#warn and use it
- If uplevel keyword is given, the warning message is prepended
with caller file and line information and the string "warning: ".
The use of the uplevel keyword makes Kernel#warn format output
similar to how rb_warn formats output.
This p... -
11:47 AM Feature #14141 (Closed): Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
- Applied in changeset trunk|r61154.
----------
error.c(exc_full_message): Exception#full_message
Add a method to retrieve a String expression of an exception,
formatted in the same way that Ruby prints an uncaught exception out.
[Featu... -
07:42 AM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
- Hi,
`full_message` is approved.
Matz.
-
07:28 AM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
- In [DeveloperMeeting20171212Japan]. We concluded to add `Exception#formatted` in the proposed patch, as `#full_message` in Ruby 2.5
Several considerations are pointed out:
- Q. Does the method interact with `$stderr.tty?` ?
- Ye... -
07:10 AM Feature #14141: Add a method to Exception for retrieving formatted exception for logging purpose (Exception#{formatted,display})
- How about Exception#long_message or full_message ?
-
11:47 AM Revision 0d771889 (git): error.c(exc_full_message): Exception#full_message
- Add a method to retrieve a String expression of an exception,
formatted in the same way that Ruby prints an uncaught exception out.
[Feature #14141]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61154 b2dd03c8-39d4-4d8f-98ff-823fe6... - 11:43 AM Revision 838f23ae (git): remove unused variable
- thanks kubo-san. c.f. [ruby-dev:50345]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:33 AM Feature #13224 (Closed): Add FrozenError as a subclass of RuntimeError
- Applied in changeset trunk|r61152.
----------
NEWS entry for FrozenError [Feature #13224] -
12:49 AM Feature #13224: Add FrozenError as a subclass of RuntimeError
- Sorry, I missed this patch. Applied just now.
-
12:26 AM Feature #13224: Add FrozenError as a subclass of RuntimeError
- Only two weeks until the release of 2.5.0, and this hasn't been merged yet. I've tested and the patch still applies and the tests still pass.
-
11:33 AM Revision 27c7d498 (git): NEWS entry for FrozenError [Feature #13224]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:32 AM Revision 4fe2ca38 (git): irb/init.rb: make sure ARGV refers to toplevel one
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:26 AM Feature #13173: Gemify webrick
- Note: You can build webrick gem with `gem build lib/webrick/webrick.gemspec` on root directory of ruby repository.
-
11:25 AM Feature #13173 (Assigned): Gemify webrick
- Hi, Eric.
I added owner grant of webrick gem to you.
https://rubygems.org/gems/webrick
Can you release v1.4.0 or v2.0.0 from current trunk revision before Ruby 2.5 release day(Dec 25)? -
11:25 AM Bug #14162 (Closed): Invoking binding.irb destructively shifts ARGV
- Applied in changeset trunk|r61149.
----------
irb.rb: preserve ARGV on binding.irb
This is not perfectly good solution (at least we don't want to have ARGV
as default value of `argv` argument), but unfortunately IRB.setup and
IRB.parse... - 11:25 AM Revision 660d2d99 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:25 AM Revision da1ba137 (git): irb.rb: preserve ARGV on binding.irb
- This is not perfectly good solution (at least we don't want to have ARGV
as default value of `argv` argument), but unfortunately IRB.setup and
IRB.parse_opts are public methods and we can't make breaking change to
those methods.
We may ... -
11:11 AM Feature #13248 (Closed): Gemify gdbm
- Released at r61052
-
11:00 AM Feature #5455: $SAFE should be removed
- We should warn to use `$SAFE = 1` at Ruby 2.6 for Ruby 3.0.
-
10:58 AM Feature #13197 (Closed): Gemify fileutils
- Applied in changeset trunk|r61148.
----------
Bump version to fileutils-1.0.1.
Update source code url metadata on rubygems.org.
[Feature #13197][ruby-core:79455] -
10:57 AM Revision 8d1d4e31 (git): Bump version to fileutils-1.0.1.
- Update source code url metadata on rubygems.org.
[Feature #13197][ruby-core:79455]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:17 AM Feature #14151: Make Matrix#[]= public method
- Intuitively I agree all numeric *values* should be immutable.
I'm less sure about "collections" of such numeric values, like Matrix or Vector (not just a fixed number of Integer/Float components like Rational/Complex).
All built-in c... -
02:08 AM Feature #14151: Make Matrix#[]= public method
- It is difficult for me to explain that all numeric objects are (basically) immutable because it looks obvious to me... "The Ruby Programming Language" by David Flanagan, Yukihiro Matsumoto, says:
> All numeric objects are immutable; ... -
09:12 AM Feature #12753 (Closed): Useful operator to check bit-flag is true or false
- Applied in changeset trunk|r61147.
----------
Integer#allbits?, Integer#anybits?, Integer#nobits? [Feature #12753] -
09:12 AM Revision 0da34dbb (git): Integer#allbits?, Integer#anybits?, Integer#nobits? [Feature #12753]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:01 AM Revision 91df3e9b (git): Bump version to fileutils-1.0.0 as default gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:00 AM Feature #14043 (Closed): Introduce Process.last_status as an alias for $?
- Applied in changeset trunk|r61143.
----------
process.c: add Process.last_status
* process.c (proc_s_last_status): add Process.last_status
[ruby-core:83514] [Feature #14043]
* test/ruby/test_process.rb (test_last_status): add a test... -
08:17 AM Feature #14043: Introduce Process.last_status as an alias for $?
- LGTM.
Matz.
-
09:00 AM Revision 90de118a (git): switch from http to https for Unicode data file downloads
- (patch from MSP-Greg (Greg L), this closes issue #13962)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:00 AM Revision 8adf1103 (git): NEWS: mention Process.last_status
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:00 AM Revision 8624cec9 (git): process.c: add Process.last_status
- * process.c (proc_s_last_status): add Process.last_status
[ruby-core:83514] [Feature #14043]
* test/ruby/test_process.rb (test_last_status): add a test case for
Process.last_status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk... -
08:59 AM Feature #14052: Introduce SecureRandom.with_chars
- I'd vote for `SecureRandom.random_chars(len=16, candidate_chars)`.
-
08:49 AM Feature #14052: Introduce SecureRandom.with_chars
- This function is called "sampling with replacement" in mathematics and statistics.
-
08:47 AM Feature #14052: Introduce SecureRandom.with_chars
- I don't like the name `with_chars`. It doesn't describe the intention and the behavior of the method.
Matz.
-
08:54 AM Revision 79c2e6ec (git): parse.y: Fix the locations of NODE_ITER (cmd_brace_block)
- * parse.y: Update the locations of NODE_ITER
when nd_iter is determined.
```
a (1) {|i|}
```
* Before
```
NODE_ITER (line: 1, code_range: (1,6)-(1,10))
```
* After
```
NODE_ITER (line: 1, code_range: (1,0)-(1,1... -
08:44 AM Misc #13974 (Closed): Make sure Unicode files are only downloaded once, not repeatedly, for continuous integration
- hsbt (Hiroshi SHIBATA) wrote:
> I confirmed that we didn't download unicode files on Travis CI.
Thanks for checking. So I'm closing this issue. -
08:40 AM Feature #4288 (Closed): Allow invoking arbitrary method names with foo."something" syntax
- I thought I have closed this issue long ago. Use `send`.
Matz.
-
08:35 AM Feature #14129: Feature Request: sockets - add support for recvmmsg
- Is it possible to implement recvmmsg using other (popular) system calls?
-
08:35 AM Revision a6a1d7ab (git): mention support of emoji-related Unicode character properties in NEWS
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:34 AM Bug #14163 (Closed): Pages of rdoc include files which are not documents
- I ignored them at r61140
- 08:34 AM Revision 47506881 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:34 AM Revision 84db29ce (git): Ignore gemspec under the lib directory for documentation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:31 AM Feature #6707 (Rejected): Remove checks for Ruby 1.9 in trunk
- This feature already applied other changes like r47095.
-
08:27 AM Revision ed682479 (git): NEWS: add entry for r61137
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:16 AM Feature #11925: Struct construction with kwargs
- As Matz approved, I committed only keyword_init option which is equivalent to "Point.create(x: 1, y: 2)" in original suggestion. If you still want "Point.create!" version which raises ArgumentError (keyword_init initializes unspecified f...
-
08:12 AM Feature #11925 (Closed): Struct construction with kwargs
- Applied in changeset trunk|r61137.
----------
struct.c: add keyword_init option to Struct.new
to initialize struct with keyword arguments.
[Feature #11925] [close GH-1771] -
08:06 AM Feature #11925: Struct construction with kwargs
- knu (Akinori MUSHA) wrote:
> What if `Struct.new([:a, :b])` created a class with the desired constructor?
If you'd compare the two possible constructors:
```ruby
Struct.new(:a, :b)
Struct.new([:a, :b])
```
There is nothing in ... -
07:54 AM Feature #11925: Struct construction with kwargs
- I vote for the keyword argument (e.g. `keyword_init:`) to `Struct#new`.
Matz.
-
07:42 AM Feature #11925: Struct construction with kwargs
- What if `Struct.new([:a, :b])` created a class with the desired constructor?
-
08:12 AM Feature #13272 (Closed): Keyword argument to instantiate a subclass of Struct
- Applied in changeset trunk|r61137.
----------
struct.c: add keyword_init option to Struct.new
to initialize struct with keyword arguments.
[Feature #11925] [close GH-1771] -
08:12 AM Revision 02015974 (git): struct.c: add keyword_init option to Struct.new
- to initialize struct with keyword arguments.
[Feature #11925] [close GH-1771]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Feature #13847 (Assigned): Gem activated problem for default gems
-
06:22 AM Bug #14015: Enumerable & Hash yielding arity
- Hi,
I admit inconsistency exists. The behavior has changed time to time.
I will make the compromise to minimize the confusion. But we need some time.
Matz.
- 06:15 AM Revision a679472c (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:15 AM Revision 0d862f34 (git): * remove trailing spaces, append newline at EOF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:15 AM Revision a1a20cfa (git): Merge 1-16-stable branch of bundler.
- It's rc version for bundler-1.16.1. I'm going to update it version
after official release from bundler team.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:46 AM Bug #8352: URI squeezes a sequence of slashes in merging paths when it shouldn't
- Naruse-san, could you review the attached patch?
-
05:42 AM Bug #14165 (Closed): 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- Thank you for checking, Greg!
-
05:39 AM Bug #14167 (Closed): Segmentation fault with Vagrant 2.0.1
- Please look at the attached logfile for details.
-
01:13 AM Revision f1c33950 (git): parse.y: Fix locations of NODE_ARRAY of mlhs_head
- * parse.y: Fix to only include a range of mlhs_item
(exclude ',' form range).
e.g. The locations of the NODE_ARRAY is fixed:
```
(a,) = 1,2
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,1)-(1,3))
```
* Aft... -
12:56 AM Revision a1061f55 (git): catch up r61131.
- * spec/ruby/core/kernel/autoload_spec.rb: should use FrozenError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:46 AM Revision b57915ed (git): Add FrozenError as a subclass of RuntimeError
- FrozenError will be used instead of RuntimeError for exceptions
raised when there is an attempt to modify a frozen object. The
reason for this change is to differentiate exceptions related
to frozen objects from generic exceptions such a... -
12:28 AM Revision 0b31ce00 (git): parse.y: Fix locations of NODE_ARRAY in NODE_CALL(:=~)
- * parse.y (match_op_gen): Fix to only include a range of node2.
e.g. The locations of the NODE_ARRAY is fixed:
```
re =~ s1
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,0)-(1,8))
```
* After
```
NODE_A... -
12:20 AM Revision 9b1d8ab7 (git): ext/coverage/coverage.c: remove COVERAGE_EXPERIMENTAL_MODE
- A NEWS entry is also added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:12 AM Revision e44f2b7d (git): parse.y: Fix locations of NODE_ARRAY of opt_call_args
- * parse.y: Fix to only include a range of assocs
(exclude ',' form range).
e.g. The locations of the NODE_ARRAY is fixed:
```
m1(str: "bar",)
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,3)-(1,14))
```
* ...
12/11/2017
- 11:50 PM Revision 33913f1a (git): NEWS: add changes for Matrix [ci-skip] [doc]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:38 PM Revision f9d8003c (git): parse.y: Fix locations of NODE_ARRAY in NODE_BLOCK_PASS
- * parse.y: Fix to only include a range of assocs.
e.g. The locations of the NODE_ARRAY is fixed:
```
m1(str: "bar", &blk)
```
* Before
```
NODE_ARRAY (line: 1, code_range: (1,3)-(1,19))
```
* After
```
NODE_AR... -
11:20 PM Revision 1f4ac886 (git): Fix a method name
- * test/ruby/test_optimization.rb (test_fixnum_ge):
Fix a method name to suppress method redefinition warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:13 PM Revision 2d719aef (git): parse.y: Change locations of NODE_DVAR in NODE_MASGN
- * parse.y: Change the last location of NODE_DVAR to
be equal to the first location of NODE_DVAR.
NODE_DVAR of NODE_MASGN (nd_value) is an internal variable,
so it has no length.
e.g. The locations of the NODE_DVAR is changed:
... -
10:07 PM Feature #13583 (Closed): Adding `Hash#transform_keys` method
- Nevermind, I just remembered that ActiveSupport also defines `transform_keys!`, so best match its behavior.
-
09:28 PM Feature #13583 (Open): Adding `Hash#transform_keys` method
- I'm not sure I like the current behavior of `transform_keys!`.
Two possibilities: `transform_keys!` is `each_key { delete(old_key), set(new_key) }` (as is currently) or `replace(transform_keys)` (I think I prefer this).
Matz, could... -
10:00 PM Bug #12285: Date.iso8601 does not properly handle partial date strings
- I had submitted a patch to an issue that got marked as a 'duplicate' (though it is still "open"). My ticket is not "assigned," so maybe it would help to add the patch here as well. Also, the corresponding pull-request on GitHub is https:...
-
09:59 PM Feature #9108 (Closed): Hash sub-selections
-
08:30 PM Revision 568c0a2d (git): remove vm_opt_binop_dispatch().
- * vm_insnhelper.c (vm_opt_binop_dispatch): removed because this function
has several issues for micro-benchmark. Write conditions manually.
The worst point is that we can't control value checking order.
For example, we can assume F... -
07:39 PM Feature #14151: Make Matrix#[]= public method
- Thanks mame for the input.
It's a tough case I think, in particular because matrices can be big and thus expensive to `dup`.
Do you have any extra argument to keep Matrix immutable?
An alternative solution could be a `MutableMat... -
05:12 PM Feature #14151: Make Matrix#[]= public method
- `Matrix` should be kept immutable, IMO. I guess what OP wants is [NArray](https://github.com/ruby-numo/narray).
-
04:02 PM Feature #14151: Make Matrix#[]= public method
- In summary, I'm ok to make `Matrix` mutable. I'm updating your PR.
-
03:48 PM Feature #14151: Make Matrix#[]= public method
- greggzst (Grzegorz Jakubiak) wrote:
> I see your point but Arrays are immutable
Arrays are most definitely mutable. If you freeze it, many methods will no longer work, like `[]=`, `map!`, `compact!`, etc. No method of Matrix will rai... -
12:13 PM Feature #14151: Make Matrix#[]= public method
- marcandre (Marc-Andre Lafortune) wrote:
> The method []= as it is written is also dangerous as it doesn't do any type checking. Try calling `m[1..2, 1..2] = 42` for example...
@marcandre I called it using send and it didn't change a ... -
08:27 AM Feature #14151: Make Matrix#[]= public method
- marcandre (Marc-Andre Lafortune) wrote:
> The library was originally written such that Matrices are immutable. I can't speak to the exact reason for this choice as I'm not the original author, but I suspect it was to go along with the a... -
07:23 PM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- Thanks to Usaka & Kubo, all is okay with the ruby-loco MinGW build as of 61121.
Okay to close... Greg
-
04:58 PM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- MSP-Greg (Greg L) wrote:
> I noticed that RubyGems fails on compile warnings. Does mkmf.rb do the same? The fiddle mkmf.log did have warnings in it (a local build).
mkmf sets `:werror => true` by default, which I think is a mistake... -
04:37 PM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- Usaka,
> And I do not understand why changes in Ruby affect to build libffi.
I noticed that RubyGems fails on compile warnings. Does mkmf.rb do the same? The fiddle mkmf.log did have warnings in it (a local build).
I was just ... -
04:11 PM Bug #14165 (Assigned): 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- hmm, `SIZEOF_STRUCT_STAT_ST_INO` is defined in ruby.h, so I expects that it's also defined in MinGW build.
And I do not understand why changes in Ruby affect to build libffi.
Greg, could you check r61119? -
04:06 PM Bug #14165 (Closed): 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- Applied in changeset trunk|r61119.
----------
undef previous definition of `SIZEOF_STRUCT_STAT_ST_INO`
trying to solve build problem of MinGW. see [Bug #14165] -
02:07 PM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- @kubo,
Thank you for the patch. That does allow MinGW to build. I'll add it to ruby-loco.
Both my system, ruby-loco, and Lars Kanis' RubyInstaller2 use MSYS2/MinGW. The current gcc version in that system is 7.2.0. I've gotten th... -
12:53 PM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- How about the attached patch?
It doesn't define SIZEOF_STRUCT_STAT_ST_INO in include/x64-mingw32/ruby/config.h if target_os is mingw32.
Apply the patch and create configure by autoconf.
Sorry, I have not tested it.
-
03:57 AM Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- Did a vc140 build, all okay as far as 61096/61097.
Checked again on the MinGW build, and the issue above exists, but also noticed that the MinGW libffi package is now no longer found, and hence, fiddle is not built. But, it's finding... -
07:22 PM Feature #13731: inode for Windows on ReFS
- Usaka (and Kubo),
Thank you, with 61121 ruby-loco MinGW build is passing. I'll see what happens with a local Win7 build later on.
You're embarrassed? Don't be. How about me, as all I can do re c source issues is say 'something b... -
05:32 PM Feature #13731: inode for Windows on ReFS
- kubo (Takehiro Kubo) wrote:
> stati128_handle() の以下の部分
> ...
おっしゃる通りです。お恥ずかしい。
r61121で修正しました。 -
11:26 AM Feature #13731: inode for Windows on ReFS
- 対応ありがとうございます。ReFSでの動作テストは明日行います。
stati128_handle() の以下の部分
~~~
st->st_ino = *((unsigned __int64 *)&fii);
st->st_inohigh = *((__int64 *)&fii + 1);
~~~
`&ffi` は `&ffi.FileId` の間違いでしょうか?
-
07:17 PM Revision 975e3a19 (git): do not disable `trace_` prefix insns.
- * vm.c: introduce `ruby_vm_event_enabled_flags` which represents which
event flags are enabled before.
* vm_trace.c: do not turn off `trace_` prefix instructions because turn on
overhead is a matter if a program repeats turn on and ... - 05:31 PM Revision 9e9498c2 (git): fixed typo
- * win32/win32.c (get_ino): forgotten to specify the member. thanks kubo-san.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:07 PM Revision b5d5cce1 (git): vm_exec.h: introduce macros for abstarction.
- * vm_exec.h: declare two macros
* START_OF_ORIGINAL_INSN()
* DISPATCH_ORIGINAL_INSN()
instead of inserting label and goto lines.
For OPT_CALL_THREADED_CODE, first macro is empty and second macro
is simply call the original insn... - 04:06 PM Revision f623428d (git): undef previous definition of `SIZEOF_STRUCT_STAT_ST_INO`
- trying to solve build problem of MinGW. see [Bug #14165]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:47 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
- I like this change. It's unbelievable.
I thought that I don't like this feature because I was confused Python's backtrace behavior (most recent call last).
I used trunk in a few weeks but I was not confused the current behavior. In... - 03:30 PM Revision a9aad1f8 (git): * 2017-12-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:30 PM Revision decd21c3 (git): Update test-unit to 3.2.7
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:09 PM Revision 189ecfd2 (git): extern rb_time_utc_offset to get utc offset
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:57 AM Bug #14163 (Assigned): Pages of rdoc include files which are not documents
- `*.gemspec` are still there.
-
01:04 AM Bug #14163 (Closed): Pages of rdoc include files which are not documents
- Applied in changeset trunk|r61104.
----------
Ignore to generate documentation for template files of bundler.
[Bug #14163][ruby-core:84141] -
10:17 AM Bug #14166 (Third Party's Issue): vagrant
- trying to get laravel installed on slackware14.2 .Virtualbox up & running. Installed vagrant package from slackbuilds.its vagrant-2.0.1-i586-1_SBo.tgz .normally oon a new package i run $packname or $packagename --help as a start. Did th...
-
08:37 AM Revision 848e6cfe (git): Bump version to zlib-1.0.0 as default gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:18 AM Revision 93880b4a (git): Bump version to scanf-1.0.0 as default gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:48 AM Revision 5f208392 (git): Bump version to sdbm-1.0.0 as default gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:03 AM Revision 4000f70d (git): Bump version to fcntl-1.0.0 as default gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:46 AM Revision 612af3b7 (git): lib/pp.rb: remove alias for suppressing a redefinition warning.
- Because there is now the same guard in prelude.rb (alias pp pp).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:56 AM Revision 6b669d88 (git): Bump version to date-1.0.0 as default gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:27 AM Revision 2d86fe2a (git): Bump version to cmath-1.0.0 as default gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:30 AM Revision 61045e03 (git): bccwin is no longer supported
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:30 AM Revision 4ed018d9 (git): depend on win32.h on Windows
- * lib/mkmf.rb (depend_rules): all objs should depend on win32.h on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:19 AM Revision aaf30997 (git): parse.y: Fix locations of NODE_DSTR generated by evstr2dstr_gen
- * parse.y (evstr2dstr_gen): Fix to only include a range of node.
e.g. The locations of the NODE_DSTR is fixed:
```
%W[a #{b} c]
```
* Before
```
NODE_DSTR (line: 1, code_range: (1,3)-(1,9))
```
* After
```
NOD... -
01:41 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- [email protected] wrote:
> I think that the work being done here is great. However I feel that this PR requires far more scrutiny than it's receiving.
Of course, which is why you don't see me pushing for it's
inclusion in 2.... - 01:04 AM Revision 9a742110 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:04 AM Revision ef839356 (git): Ignore to generate documentation for template files of bundler.
- [Bug #14163][ruby-core:84141]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:28 AM Revision ec073534 (git): parse.y: Remove not used argument
- * parse.y (list_append_gen): location is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:06 AM Revision 14b6dc4c (git): parse.y: Fix locations of NODE_SCOPE in NODE_MODULE
- * parse.y: Fix to only include a range of bodystmt.
e.g. The locations of the NODE_SCOPE is fixed:
```
module M
def m
end
end
```
* Before
```
NODE_SCOPE (line: 4, code_range: (1,0)-(4,3))
```
* After
...
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
- [email protected] 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/[email protected]/... -
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 への報告をお願いします。