Activity
From 07/09/2019 to 07/15/2019
07/15/2019
-
11:46 PM Revision 8e37ef76 (git): Fixed the library path for tools
-
11:25 PM Revision 71d5b4c3 (git): Fixed the library path for tools
-
11:15 PM Revision ca524bcd (git): Expanded f_numerator
-
10:59 PM Revision 34019a22 (git): Expanded f_denominator
-
10:53 PM Bug #8397 (Closed): TestBignum#test_interrupt_during_bigdivrem failure
-
10:52 PM Bug #8326 (Closed): Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
-
10:51 PM Bug #8285 (Closed): Resolv::DNS: TCP fallback fails with multiple resolvers
-
10:50 PM Bug #8245 (Closed): Segfault installing gems on Linux PowerPC with Ruby 2.0.0p0
-
10:50 PM Bug #8200 (Closed): Segmentation fault - rails 4 -> sidekiq-> tilt
-
10:49 PM Bug #8140 (Closed): Incorrect warning: `+' after local variable is interpreted as binary operator
-
10:48 PM Bug #8067 (Feedback): Checking a network connection in a loop never succeeds even if the connection is available.
- The script runs as expected on OpenBSD with ruby 2.6. I expect the issue you are experiencing is probably specific to your environment. Can you recreate this issue with a supported version of Ruby, and if so provide more details regard...
- 10:19 PM Revision 325d546d (git): * 2019-07-16
- 10:19 PM Revision a8e4b7b1 (git): * expand tabs.
-
10:18 PM Revision c184a1c2 (git): compile.c: add NO_CHECK for the calls to COMPILE whose result is unused
- to suppress many warnings of Coverity Scan
-
10:17 PM Revision 6aab77a7 (git): Add a /* fall through */ comment
-
10:04 PM Bug #7894 (Closed): Ruby mswin target does not build
-
10:04 PM Bug #7898 (Closed): Ruby tells me to report this bug
-
10:03 PM Bug #7855 (Closed): Rare segfault within yielding block
-
10:02 PM Bug #15620: Block argument usage affects lambda semantic
- Here is a patch which restores the 2.4 behavior:
https://github.com/ruby/ruby/pull/2289
Passes make check with VM_CHECK_MODE=1. -
09:11 PM Bug #7807 (Rejected): [PATCH] Remove duplicated load paths when empty version string is configured
-
09:07 PM Bug #7768: Inherited Array class missing
- mame (Yusuke Endoh) wrote:
> I think that it is a good idea to fix only Array#uniq first.
Looks like Array#uniq was never fixed. It still returns Array instance if length <= 1 and subclass instance otherwise. Attached is a patch th... -
08:21 PM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- > Right, I'm thinking we should just improve the documentation of `caller` and `caller_locations` then,
> ...
This is quite a common thing to do and it's not only about performance, though the performance aspect is equally important. I ... -
12:47 PM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- Right, I'm thinking we should just improve the documentation of `caller` and `caller_locations` then,
to mention `limit` should be used when possible, otherwise the impact on performance can be very high. -
10:38 AM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- @eregon the answer is in the former version of this issue - 'avoid common beginner mistakes getting full backtrace information' - it improves performance by being obvious when you look in the docs and helping people avoid getting the ful...
-
09:29 AM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- chrisseaton (Chris Seaton) wrote:
> This new method allows the user to explicitly say that they only need some of the callers.
`caller` and `caller_locations` already allow that with the `length` argument, which is more flexible.
I ... -
07:51 PM Bug #7731 (Closed): Segmentation fault when trying to start rails server
-
07:46 PM Bug #7716 (Closed): Readdressing Autoload
- autoload was modified to call `require` in commit:cd465d552c3a00341f4cb7f1d7a793d0ebcb6cde.
-
07:40 PM Bug #7703 (Closed): Segfault in 1.9.3-p362, possibly threads related
-
07:40 PM Bug #7689 (Closed): Crash @enumerator.so with ruby 1.9.3/thin/RoR 3.2.11
-
07:40 PM Bug #7653 (Closed): Array.pack ignores Big Endian modifier
-
07:39 PM Bug #7695 (Closed): Constant Lookup - For goodness sake it should at least see itself!
-
07:36 PM Bug #7279 (Closed): Zlib load error on HP-UX
-
07:34 PM Bug #5538 (Closed): ruby memory error running minitests
-
07:32 PM Bug #5497 (Closed): Math.log10(10_000) error on HP-UX/PA
-
07:31 PM Bug #4995 (Closed): 1 test fails on AIX
-
07:31 PM Bug #4611 (Closed): [BUG] Segementation fault reported
-
07:29 PM Bug #4012 (Closed): Get segmentation fault when trying to call method from 3rd party's API
-
07:28 PM Bug #3880 (Third Party's Issue): Ruby 1.9.1 - crash in timeout.rb
-
07:27 PM Bug #3784 (Closed): Seg fault in IO.select from webrick
-
07:27 PM Bug #9730 (Closed): E:/Rails/Ruby1.9.3/lib/ruby/1.9.1/webrick/server.rb:98: [BUG] Segmentation fault
-
07:27 PM Bug #4256 (Closed): [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
-
05:18 PM Bug #10146 (Closed): DateTime#jisx0301 returns corrupted string when GC.stress is set to true.
-
05:14 PM Bug #12285 (Open): Date.iso8601 does not properly handle partial date strings
-
05:13 PM Bug #11673 (Closed): Inconsistent timezone behaviour (Time.parse and DateTime.parse)
- This is expected behavior. Without a timezone offset specified, `Time` assumes local time and `DateTime` assumes UTC.
-
05:06 PM Feature #5764 (Assigned): Net::HTTP should assume HTTP/0.9 on unexpected responses
- This appears to still be the case in master, but I think this is a feature request for a "laxed" option. I'm not sure if we want to support such an option though.
-
04:51 PM Bug #4484 (Rejected): Class variables leak to Object when using class_eval
- This is still true in master, but I believe this is expected behavior/spec. This is similar to constants:
```ruby
String.class_eval {A = 1}
Object::A
# => 1
```
If you want to scope constants or class variables, you need to re... -
04:43 PM Bug #4436: FileUtils verbose mode prints output to stderr
- This was set to the Ruby 1.8 tracker, but I think it is still an issue currently for all `FileUtils` methods. Changing the default behavior could possibly be done in Ruby 3, and potentially we could add an option for `$stdout` (or anoth...
-
01:14 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- Here are the logs again. I am going to try the latest master and will report back if that helps.
-
12:52 PM Bug #16004: Kernel#lambda captured with Kernel#method doesn't create lambdas
- I think this requires matz to determine which behaviour is the valid or the
better one (as from the other linked discussion too).
I myself almost never use lambdas and only very rarely proc deliberately
so (via e. g. Proc.new or pr... -
09:22 AM Bug #16004: Kernel#lambda captured with Kernel#method doesn't create lambdas
- I would guess this is because Method#call introduces an extra frame:
```
$ ruby -e 'def foo; yield; end; method(:foo).call { raise "bar" }'
Traceback (most recent call last):
3: from -e:1:in `<main>'
2: from -e:1:in `call'
... -
04:24 AM Bug #16004 (Closed): Kernel#lambda captured with Kernel#method doesn't create lambdas
- `ruby -e 'p method(:lambda).call{}.lambda?'` prints false on 2.3.x-master(223854ebe8).
I think it should create lambdas.
-
10:39 AM Revision 0c6c9379 (git): Removed duplicate highlighting
-
09:42 AM Feature #5781: Query attributes (attribute methods ending in `?` mark)
- How about implementing it similarly to Crystal?
attr_accessor? :foo
-
08:45 AM Revision b452c03a (git): Always evaluate the expression RUBY_ASSERT_MESG_WHEN just once
-
08:22 AM Revision c20445ab (git): Require Ruby 2.4 or later because needs lex_state from Ripper
-
08:06 AM Revision c781b1b7 (git): update-deps for dependencies
-
07:53 AM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- > I would be OK with modifying Time.iso8601 to make either T or space a valid date/time separator.
In fact this was my first proposal. I firstly asked @akr about that exact modification on `Time.iso8601`, but he didn't like the idea b... -
07:45 AM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- > This seems backwards. Timezone 'Z' denotes UTC, see e.g. https://www.timeanddate.com/time/zones/z.
Indeed. My mistake. -
06:34 AM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- matsuda (Akira Matsuda) wrote:
> How about respecting local timezone with `Z`, and doing the UTC without `Z`?
This seems backwards. Timezone 'Z' denotes UTC, see e.g. https://www.timeanddate.com/time/zones/z. -
06:30 AM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- For many databases, if the timestamp has a fractional component, the fractional component will be included, and if the type includes a timezone, the timezone offset will be included. For example, on PostgreSQL:
```sql
SELECT CAST(CA... -
06:07 AM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- How about respecting local timezone with `Z`, and doing the UTC without `Z`?
-
05:39 AM Feature #16005: A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- Time object needs timezone offset.
"yyyy-MM-dd HH:mm:ss" doesn't contain it.
Always UTC?
-
05:21 AM Feature #16005 (Open): A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
- Let me propose a String to Time conversion method that can parse "yyyy-MM-dd HH:mm:ss" format, which is very much similar to `Time.iso8601`, but delimits the date part and the time part with a space character.
This format is defined a... - 07:51 AM Revision 5a42dca6 (git): * expand tabs.
-
07:49 AM Revision 5e0d27a3 (git): Removed dead code
- If `emesg` is `Qundef`, it is not a message string and then `elen`
(the length of the message) is 0. So `emesg` cannot be `Qundef` in
the `elen != 0` block. Pointed out by Coverity Scan. -
07:25 AM Revision de0f1924 (git): Add features of IRB to NEWS
-
06:49 AM Revision 574e8a68 (git): Add Reline section to NEWS
-
06:46 AM Revision 3a1d3556 (git): Fix a typo of Markdown of NEWS
-
06:07 AM Revision f73ea334 (git): Fixed ruby/spec for Logger::LogDevice changes.
-
05:47 AM Revision 5349aa23 (git): Also fixed up with 036039c8a29d3d8045207c111f9bbc481c904998
-
05:45 AM Revision 036039c8 (git): Fixed LoadError of version file.
- 05:43 AM Revision f103ed8b (git): * expand tabs.
-
05:43 AM Revision 4b345f9d (git): compile.c: ignore the result of COMPILE by marking with NO_CHECK
- to suppress many warnings of Coverity Scan
-
05:43 AM Revision 0eafa1dc (git): Fixed inconsitency locations of default gems.
-
05:43 AM Revision 1b59ed9b (git): Move helper file of logger to under the test/logger.
- 05:43 AM Revision 58065b87 (git): [ruby/logger] Add option to set the binary mode of the log device
- Without binmode strings with incompatible encoding can't be written in
the file. This is very common in applications that log user provided
parameters.
We need to allow changing the binnary mode because right now it is impossible to use... -
05:43 AM Revision f4064a0a (git): [ruby/logger] Set filename when initializing logger with a File object
- This should allow reopen to work. Requested in ruby issue #14595.
https://github.com/ruby/logger/commit/bd367aff12 - 05:43 AM Revision 2c22051b (git): [ruby/logger] Enable `frozen_string_literal: true` in `logger.rb`.
- https://github.com/ruby/logger/commit/2dc832e901
- 05:43 AM Revision 3fdb9638 (git): [ruby/logger] Prefer require_relative, it's a little bit faster.
- https://github.com/ruby/logger/commit/1e2aab4bea
-
05:43 AM Revision 7ef08562 (git): [ruby/logger] Update logger.gemspec
- https://github.com/ruby/logger/commit/1335a71d98
-
05:43 AM Revision 7f10da9d (git): [ruby/logger] require 'logger/errors' just for compat
- https://github.com/ruby/logger/commit/255a51dc10
- 05:43 AM Revision bbe157f3 (git): [ruby/logger] split logger classes/modules into separate files
- https://github.com/ruby/logger/commit/f10ce9fff2
-
05:43 AM Revision 13619678 (git): [ruby/logger] Fix to use logger and test-unit in this repo with
- `ruby test/logger/test_xxx.rb`
https://github.com/ruby/logger/commit/d3c2402340 - 05:43 AM Revision 47500f20 (git): [ruby/logger] Add support for changing severity using bang methods.
- https://github.com/ruby/logger/commit/ae4c6dfcbb
-
05:43 AM Revision 310198d6 (git): [ruby/logger] Add missing closing "
- https://github.com/ruby/logger/commit/b4b3caae40
-
05:43 AM Revision 227eae79 (git): [ruby/logger] Say that logger requires ruby >= 2.3
- Since it uses `&.`, it can't be used on older rubies
https://github.com/ruby/logger/commit/b872f90ab9 - 05:43 AM Revision b9ba07a0 (git): [ruby/logger] dont lock bundler to a specific version in travis
- https://github.com/ruby/logger/commit/eb5ac229a5
- 05:43 AM Revision 99c14fb6 (git): [ruby/logger] remove files that dont need to be included in gem releases
- https://github.com/ruby/logger/commit/9a3be8650f
-
05:29 AM Revision 3dc21289 (git): check return value of blocking_region_begin().
- blocking_region_begin() can return FALSE if it fails to acquire
GVL, so check it. -
05:17 AM Revision e4c1b199 (git): add tests for orphan/not-orphan proc/lambda.
-
05:08 AM Revision 711dfec3 (git): parse.y (here_document): remove dead code
- str is always zero when evaluating the branch.
Found by Coverity Scan. -
05:08 AM Revision 5353401c (git): thread.c (rb_thread_shield_waiting_{inc,dec}): prefer long to int
- `(unsigned int)(THREAD_SHIELD_WAITING_MASK>>THREAD_SHIELD_WAITING_SHIFT)`
is 0xffffffff, and w > 0xffffffff is always true.
Coverity Scan pointed out this issue. -
05:07 AM Bug #7425 (Closed): Execute a script by active record, the console is crash.
-
05:05 AM Bug #6283 (Closed): Segmentation fault pg_ext.bundle
-
05:05 AM Bug #7089 (Closed): Rails server refuses to start
-
05:04 AM Bug #6914 (Closed): unable to build ruby-head
-
05:03 AM Bug #6839 (Closed): 1.9.3p194 [BUG] Segmentation fault
-
05:02 AM Bug #6493 (Closed): OpenSSL::SSL ignores DN if subjectAltName is specified
-
04:59 AM Revision 62f34bd1 (git): doc/globals.rdoc: Add deprecated to TRUE,FALSE,NIL [ci skip]
- They are warned since 2.4.0.
-
04:57 AM Revision 9c38904e (git): Use consistent fetchDepth for all jobs
- a7dd6763bd1dac7952ace46be58083dbea332a0a was not applied for all jobs.
-
04:55 AM Feature #6286 (Closed): Add Exception#format method
-
04:54 AM Bug #6258 (Closed): String#succ has suprising behavior for "\u1036" (MYANMAR SIGN ANUSVARA), producing "\u1000" instead of "\u1037"
- This was fixed between 2.0 and 2.1:
```
$ ruby20 -e 'p "\u1036".succ'
"\u1000\u1000"
$ ruby21 -e 'p "\u1036".succ'
"\u1038"
``` -
04:50 AM Bug #6030 (Closed): Thread-local "leak" in rb_exec_recursive*
-
04:49 AM Revision d1e2650a (git): Force-fetch unicode update only when it's needed
- nobu said that we could be banned if we aggressively downloaded unicode
file from Travis. -
04:45 AM Revision 929fa856 (git): Add tool/leaked-globals to .gitattributes [ci skip]
-
04:44 AM Revision b401fb35 (git): Removed needless LOAD_PATH modification.
- We can use require_relative now.
-
04:42 AM Misc #15943 (Closed): Add Bug Triaging Guide
- Applied in changeset commit:git|99afea5328c61d3f212bbb684b33abf0d814f080.
----------
Add bug triaging guide
Implements [Misc #15943] -
04:41 AM Revision 99afea53 (git): Add bug triaging guide
- Implements [Misc #15943]
-
04:16 AM Revision badfbdf3 (git): Move vpath.rb into tool library direcotry.
-
03:59 AM Revision bd494ae7 (git): add tests for "break" in lambda.
-
03:06 AM Revision 8ac1c6eb (git): respect RUBY_DEBUG too
-
03:01 AM Revision 76bad330 (git): encoding.c (enc_table_expand): prefer xrealloc to realloc
- And raise an exception when failed to register an encoding
-
02:51 AM Bug #14817 (Assigned): TracePoint#parameters for bmethod's return event should return the same value as its Method#parameters
- > 2.7 で、define_method したら ISeq 作るようにするとどうかな、と思っているので、それで一気に解決します。
これでうまくいかない、ということがわかったので、ちょっと宙ぶらりんです。
考えていた解決案:
* (1) proc を受け取る
* (2) proc のパラメータとまったく同じ method iseq を作る
* (3) 受け取ったパラメータを proc に渡す
こんな感じです。
```
foo_body... -
02:42 AM Bug #6785: Documentation for RubyVM::InstructionSequence
- Attached is a documentation patch to mark this class's methods as implementation and version dependent.
-
02:30 AM Revision c23e5976 (git): respect RUBY_DEBUG.
- see RUBY_DEBUG for each debug options.
-
02:19 AM Revision d02f2fc3 (git): Added help message for test-tool target.
-
02:16 AM Revision ac6d1371 (git): Added test-tool target for the test suite of tool/test files.
-
02:16 AM Revision 41c5f9a1 (git): Put jisx0208.rb to under the library directory.
-
02:04 AM Revision 73346823 (git): Try to prevent random build failure on Travis osx
-
02:03 AM Revision 226d569e (git): doc/irb/irb.rd.ja: Update options from `irb -h` [ci skip]
-
02:01 AM Revision a7fdb223 (git): Enable RUBY_ASSERT_MESG_WHEN when RUBY_DEBUG is turned on
-
01:59 AM Feature #16003 (Closed): Remove doc/etc.rd.ja?
- doc/etc.rd.ja は
* 情報が古く、後から追加されたメソッドは載っていない
* <https://docs.ruby-lang.org/ja/latest/library/etc.html> に新しいドキュメントが存在する
という理由から、削除しても良いと思ったのですが、どうでしょうか?
しばらく待ってみて反対がなければ削除しようと思っています。 -
01:53 AM Revision 05cc87df (git): [DOC] Struct::Passwd#uclass renamed from #class at r2500 [ci skip]
-
01:41 AM Feature #15581 (Rejected): Split tool/* files to tool and script directories
- I gave up to organize this. I try to write test files under the tool directory.
-
01:40 AM Revision e2512cff (git): Move a test file of Reline to test/reline/
-
01:39 AM Revision f326b4f4 (git): simplify around GC_ASSERT()
-
01:39 AM Revision dd4f128a (git): Handle failure of opening a null device
- This issue is detected by Coverity Scan.
-
01:31 AM Revision a191009a (git): Simplify start_process by exploiting C99
- Having a block for mixing a declaration was confusing.
Also I moved `dev_null` and `pid` to limit their scope. -
01:29 AM Revision b7896488 (git): Change PROMPT_S of simple-prompt
- When input `"` or `/` with simple-prompt,
Before:
`"` or `/`
(prompt disappeared and indent is changed)
After:
`"> "` or `/> /`
(indent is unchanged since `>> `) -
01:24 AM Bug #8565 (Closed): Compiled Regexp comparation bug
-
01:21 AM Revision f6f09cbc (git): introduce RUBY_ASSERT_ALWAYS(expr).
- RUBY_ASSERT_ALWAYS(expr) ignores NDEBUG (we cannot remove this
assertion). -
01:20 AM Revision 0af897ab (git): Simplify history saving code
-
01:11 AM Bug #12196 (Closed): lib: Date.valid_date? returns incorrect response for negative day
- The pull request was merged.
-
01:11 AM Revision eed9db39 (git): Followed up e8ddbc0239.
-
12:58 AM Revision 223854eb (git): catch up e8ddbc0239.
-
12:40 AM Revision 08b340d2 (git): Separate the assertions of ruby core tests from test/unit/assertions.
-
12:40 AM Revision e8ddbc02 (git): Put colorize to library directory.
- Same as 66299e7ca83d379d13abaa5411f3e0419334cabb
-
12:40 AM Revision 0a711b0e (git): Put vcs .rb to under the lib direcotory.
- Because it's the common library for tool files.
-
12:38 AM Bug #15933 (Closed): OpenURI: Assign default charset for HTTPS as well as HTTP
- Applied in changeset commit:git|8f7884761e30c453287d73de6ea733d565635ebc.
----------
The default charset of text/* media type is UTF-8.
Thanks for the patch gareth (Gareth Adams). [Bug #15933]
-------
Combines two small, but very r... -
12:36 AM Revision 8f788476 (git): The default charset of text/* media type is UTF-8.
- Thanks for the patch gareth (Gareth Adams). [Bug #15933]
-------
Combines two small, but very related changes
1: Treat HTTPS the same as HTTP
Previously, OpenURI followed guidance in RFC2616/3.7.1:
> When no explicit charset param... -
12:35 AM Revision 00a97d94 (git): Always call va_end in form_args()
- This issue is detected by Coverity Scan.
-
12:28 AM Revision ff370403 (git): Insert a newline before `=end`
- For a certain editor which cannot handle here-document properly.
-
12:24 AM Feature #15939: Dump symbols reference to their fstr in ObjectSpace.dump()
- > Static symbol (immediate value) does not reach any objects
Yeah, I learned more about static symbols since I wrote this patch, I wouldn't include that part anymore. I'd still maintain the dynamic part though.
> ...
Sure. The usag...
07/14/2019
-
11:59 PM Bug #16002: File.writable?('/tmp/file') returns true even if it's not writable on Linux 4.19+
- I think checking permission before writing should be avoided.
It causes <https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use>. -
11:52 PM Bug #16002 (Feedback): File.writable?('/tmp/file') returns true even if it's not writable on Linux 4.19+
- `File.writable?` uses `eaccess` function of OS.
I think such OS-specific features should be implemented in OS.
Ruby cannot support all features of all OS.
For example, eaccess of GNU/Linux seems that support read-only filesystem.
... -
08:49 PM Bug #16002 (Closed): File.writable?('/tmp/file') returns true even if it's not writable on Linux 4.19+
- Well, on Linux Kernel 4.19+ the fs.protected_regular and fs.protected_fifos sysctls were introduced in order to make some data spoofing attacks harder.
https://github.com/systemd/systemd/blob/03b6fa0c5b51b0d39334ff6ba183a3391443bcf6/N... -
11:38 PM Revision a1975790 (git): addr2line.c: clarify the type of integer expression
- to suppress Coverity Scan warning.
This expression converted uint8_t to int, and then int to unsigned long.
Now it directly converts uint8_t to unsigned long. -
11:38 PM Revision 0a417248 (git): Fix unaligned help output
- 1f99274ccf31ba1f2a4b3ac20a9c6cdc5ae81152 was indenting details with a
hard tab, but other lines are using spaces. -
11:36 PM Revision 02c4ed4a (git): Stop consuming 2 entries for goruby
- similar to 364f43ab7fc5920247fc73423c1428208cf78a4a and
13cb9e6bd2c88d04fc9b21b8f8c1d192c67cd5a2 -
11:33 PM Revision 17ccda54 (git): Use #to_a for Readline::HISTORY directly
-
11:32 PM Revision 9da969ca (git): Revert "Dummy Makefile.in for CIs"
- This reverts commit c55de95ff1c4ea6313c2863037703a0e5f0d0f4f.
Probably this is not needed for CI anymore. -
11:19 PM Revision 1f99274c (git): Added the bundled gems target to make help.
-
11:19 PM Revision 13cb9e6b (git): common.mk: remove "make exam" from help
- Currently it is completely the same as "make check".
I think it is not worth mentioning now. -
10:59 PM Revision 2b78a93b (git): Add lib/irb/color.rb to destribution file list
-
10:59 PM Revision c9a59f49 (git): Add a /* fall through */ comment
-
10:57 PM Revision 772dae8b (git): Add a /* fall through */ comment
-
10:54 PM Revision 266f6cd8 (git): Remove debug print
-
10:51 PM Revision 4b7a04a5 (git): Support multiline irb_history
- A history line ends with "\" to escape newline if it's a continuous
line. -
10:34 PM Bug #16000: How to avoid the need for updating dependencies manually
- As I guess:
* `tool/update-deps` takes a pretty long time
* adding dependencies is relatively rare
* saving temporary files would not be common
So it is optional now.
It has just started in these days, and I think it is better t... -
08:50 AM Bug #16000 (Closed): How to avoid the need for updating dependencies manually
- Earlier today, I committed 369ff79394765ce198ac7cee872a8c739d895aaa to address issue #15995.
This did not lead to any testing failures, but to a dependency problem. As the source code was processed correctly and the tests worked, I di... -
10:04 PM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- > For some reason nobody seems to have commented here what I think is the original motivation for this
> ...
I think this may have been lost a bit in the discussion because typically aliases are used to use something
differentially, su... -
09:41 PM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- > it's not an alias for brevity
Definitely not brevity but clarity certainly. The `caller(1,1)` seems cryptic as compared to `direct_caller` which is more expressive.
> ...
That's a very important point. Limiting the full backtra... -
08:25 PM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- > If so, it seems like a very heavy handed way to shorten something that is already fairly short
For some reason nobody seems to have commented here what I think is the original motivation for this new method - it's not an alias for ... -
04:08 PM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- Would this be an instance method on Kernel? If so, it seems like a very heavy handed way to shorten something that is already fairly short.
I don't see `caller_locations(1,1)` or `caller(1,1)` very frequently, though.
-
11:06 AM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- Eregon (Benoit Daloze) wrote:
> Maybe `direct_caller`?
> ...
That's a very good point. I'd probably lean towards modern API of `caller_locations(1,1)` if we only used a single alias. However, we could follow a pattern and name `caller_... -
10:32 AM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- Maybe `direct_caller`?
Would it call `caller_locations(1,1)` or `caller(1,1)`? It can only be one of them. -
10:08 AM Feature #16001 (Open): Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- As it is common to use `caller_locations(1,1)` and `caller(1,1)`, this proposes aliases to help get the previous backtrace frame and improve performance by avoiding getting full backtrace information - a common mistake.
The currently ... -
09:44 PM Revision d37da601 (git): time.c (time_mdump): use another buffer for year_extend
- ruby_marshal_write_long may write 9 bytes, but buf has only 8 bytes.
So the buffer cannot be reused. This issue was found by Coverity Scan. -
09:22 PM Revision ea711285 (git): Unify documentations of `make benchmark`
-
09:17 PM Revision e8b6f630 (git): Drop `make change` and tool/change_maker.rb
- because we're not writing ChangeLog anymore.
-
09:11 PM Revision 364f43ab (git): Reduce the number of make help entries
- We've added some more things recently. It seems not worth having almost
the same two entries there anymore. -
09:08 PM Revision 0ee105f3 (git): Mention SPECOPTS variable in make help
-
05:58 PM Feature #14145: Proposal: Better Method#inspect
- znz (Kazuhiro NISHIYAMA) wrote:
> `Method#inspect` separated by ` ` (a space) and `Proc#inspect` separated by `@`.
> ...
I think ` ` (a space) is better, and it's what we use for Method#inspect in TruffleRuby.
My motivation is that se... -
01:39 PM Feature #14145: Proposal: Better Method#inspect
- `Method#inspect` separated by ` ` (a space) and `Proc#inspect` separated by `@`.
I think it is better to be unified, but I have no opinion on which is better.
```
% ruby -ve 'def m;end; p [method(:m), proc{}]'
ruby 2.7.0dev (2019-0... -
07:01 AM Feature #14145 (Open): Proposal: Better Method#inspect
- Now, I added source location information.
Adding parameter information is still open. -
06:46 AM Feature #14145 (Closed): Proposal: Better Method#inspect
- Applied in changeset commit:git|47b04557b01dc109ccafc33db8e80148f07457a9.
----------
Method#inspect with source location.
Method#inspect shows with source location.
[Feature #14145] -
05:58 PM Revision 10d7b39d (git): Check wether prompt_i is nil
-
04:16 PM Revision 078e50c5 (git): Save history in IRB is enabled by default
-
04:07 PM Revision 6d573691 (git): Auto indent in IRB is enabled by default
-
03:43 PM Revision 82b058ff (git): Version 1.1.0.pre.2
-
03:43 PM Revision d0b1a8d5 (git): Need reline-0.0.1 or later for some features
-
03:36 PM Revision cd7b99bb (git): Version 0.0.1
-
03:33 PM Revision 04e6b90d (git): Remove unused method.
-
03:32 PM Revision 423feb53 (git): [ruby/matrix] Add Matrix::VERSION constant
- Add Matrix::VERSION for the gem version, use it in the gemspec,
and make it also available for library users.
https://github.com/ruby/matrix/commit/65c2bb1fa1 -
03:32 PM Revision 44031301 (git): [ruby/matrix] Add missing `lib/matrix/' files to file list in gemspec
- https://github.com/ruby/matrix/commit/2bbb9be233
-
03:31 PM Revision 3201062a (git): Add a /* fall through */ comment
-
03:30 PM Revision 970c1255 (git): Add a /* fall through */ comment
-
03:29 PM Revision 9e3971c3 (git): Add a /* fall through */ comment
-
03:20 PM Revision deb5e582 (git): ext/stringio/stringio.c (strio_read): "binray" is always zero here
- Remove unused conditional expression to suppress Coverity Scan warnings.
-
03:18 PM Revision e6f188ea (git): Rename to Reline::History::Test.
-
03:17 PM Revision 073cc52d (git): Add `class Reline::History` and test.
-
03:13 PM Revision 9806da50 (git): Suppress warnings
-
03:11 PM Revision 83171b0e (git): [ruby/rdoc] Bump version to 6.1.1
- https://github.com/ruby/rdoc/commit/55c0627fe0
-
03:11 PM Revision 312d7200 (git): [ruby/rdoc] Correction to include regexp_handling in list of loaded files
- https://github.com/ruby/rdoc/commit/1940b2318c
-
03:10 PM Revision 09187c64 (git): Add a /* fall through */ comment
-
03:10 PM Revision 517c8a53 (git): dir.c (dir_each_entry): remove unnecessary check
- I guess that this check was to detect re-entrance (maybe callcc?).
But currently it does not work as intended. - 03:08 PM Revision 721fc849 (git): * 2019-07-15
-
03:07 PM Revision b4975693 (git): process.c (p_sys_setregid, p_sys_setresgid): remove unused tmp buffer
- To suppress Coverity Scan warning
-
02:36 PM Revision 80da68db (git): Add a /* fall through */ comment
-
02:09 PM Revision 43c337df (git): string.c (str_succ): refactoring
- Use more communicative variable name
-
02:09 PM Revision 3fd086ed (git): string.c (str_succ): remove a unnecessary assignment
- This change will suppress Coverity Scan warnings
- 02:07 PM Revision 198281a7 (git): [ruby/csv] Fix a bug that strip: true removes newlines
- https://github.com/ruby/csv/commit/5540d35a30
- 02:07 PM Revision 8c0edbd7 (git): [ruby/csv] add options doc :quote_empty (#89)
- https://github.com/ruby/csv/commit/5ca8d79f60
- 02:07 PM Revision 75620c80 (git): [ruby/csv] Add options doc: :write_converters, :write_nil_value, :write_empty_value (#87)
- https://github.com/ruby/csv/commit/5923ee08b7
- 02:07 PM Revision fe40841b (git): [ruby/csv] add document of strip (#88)
- * add document of strip
* modify typo
https://github.com/ruby/csv/commit/de0257dc31 - 02:07 PM Revision c8b82998 (git): [ruby/csv] Bump version
- https://github.com/ruby/csv/commit/3976985008
- 02:07 PM Revision 8392592a (git): [ruby/csv] Don't raise on eof?
- GitHub: fix #86
Reported by krororo. Thanks!!!
https://github.com/ruby/csv/commit/5a8d9d9297 - 02:07 PM Revision 9171f833 (git): [ruby/csv] Refactor range in delete_suffix (#85)
- https://github.com/ruby/csv/commit/7ff57a50e8
- 02:07 PM Revision 864e2a95 (git): [ruby/csv] Bump version
- https://github.com/ruby/csv/commit/312f844693
-
02:07 PM Revision 85497744 (git): Tweak upstream information of upstream commit.
-
02:02 PM Revision 0bf829c1 (git): transcode.c (rb_trans_conv): remove unnecessary assignments
- This change will suppress Coverity Scan warnings
-
01:46 PM Revision 36f2d9ba (git): numeric.c (fix_cmp): remove a unreachable return statement
-
01:29 PM Feature #13179: Deep Hash Update Method
- Gem XKeys, since 2014.
```
require 'xkeys'
h = {}.extend XKeys::Auto # auto Hash/Array
h[:accent, 2, :original] = "the value to set"
# {:accent=>[nil, nil, {:original=>"the value to set"}]}
h = {}.extend XKeys::Hash # Hash only... -
01:21 PM Revision 49362dda (git): Add a /* fall through */ comment
-
01:15 PM Revision d0f113f6 (git): doc/globals.rdoc: Add RUBY_REVISION [ci skip]
-
01:15 PM Revision ab31e13e (git): doc/globals.rdoc: Add RUBY_PATCHLEVEL [ci skip]
-
01:15 PM Revision 9a402cf6 (git): doc/globals.rdoc: Add RUBY_COPYRIGHT [ci skip]
-
01:15 PM Revision 5d606b51 (git): doc/globals.rdoc: Add TOPLEVEL_BINDING [ci skip]
-
01:12 PM Revision 7ac7685f (git): Simplify link_o_to_so arguments
- by C99 compound literal for array and non-constant array initializer
-
01:04 PM Revision b7ec77f3 (git): fix typos.
-
12:58 PM Revision 085d0e5c (git): ruby.c (name_match_p): remove unnecessary condition
- It always returns immediately when len was decremented to zero.
So len is always positive. This change will suppress Coverity Scan
warning. -
12:53 PM Revision a3493521 (git): abort sync commit history when it failed to modify commit message.
-
12:53 PM Revision 8e6a68c1 (git): Use force flag for filter-branch.
-
12:53 PM Revision c8e1be6f (git): Skip merge commit with rubygems and bundler.
-
12:53 PM Revision 46491af7 (git): Modified commit message with upstream repository name.
-
12:53 PM Revision 265e94a7 (git): Added chrry-pick feature from upstream repository.
-
12:53 PM Revision be082e28 (git): Try to sync with commit history for default gems.
-
12:51 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- Fortunately a very similar issue was reproductive on my macOS machine. I did the mjit_debug2.diff investigation on my own, and noticed the issue fixed by commit:d8cc41c43be65dd4b17e7a6e38f5a7fdf2b247d6. And the commit fixed the behavior ...
-
12:49 PM Bug #15986 (Closed): `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- Applied in changeset commit:git|d8cc41c43be65dd4b17e7a6e38f5a7fdf2b247d6.
----------
Fix a wrong buffer size to avoid stack corruption
[Bug #15986] -
12:48 PM Revision d8cc41c4 (git): Fix a wrong buffer size to avoid stack corruption
- [Bug #15986]
-
12:34 PM Revision 20a3fb3c (git): Add a /* fall through */ comment
-
11:56 AM Revision e8700b59 (git): Check the result of String#-@
-
11:51 AM Feature #14091: Remove Time#succ
- It's matz issue.
-
11:49 AM Bug #14204 (Closed): [PATCH] socket: use frozen string buffer when releasing GVL
- Applied in changeset commit:git|4900a10689036211da79c8189ff7eba11c8c81ee.
----------
socket: use frozen string buffer when releasing GVL
Thanks for the patch by normalperson (Eric Wong) [Bug #14204]. -
11:46 AM Revision 4900a106 (git): socket: use frozen string buffer when releasing GVL
- Thanks for the patch by normalperson (Eric Wong) [Bug #14204].
-
11:42 AM Revision 5bd83909 (git): Expand f_arg to use particular functions directly
-
11:42 AM Revision 1464f7a1 (git): Expand f_abs to use particular functions directly
-
11:33 AM Revision 0df4a813 (git): NEWS: RubyVM.resolve_feature_path moved [ci skip]
-
11:23 AM Revision 41e09ca4 (git): addr2line.c (binary_filename): extend the buffer for NUL terminator
-
11:20 AM Misc #15723: Reconsider numbered parameters
- I have used `@1` a bit in different code snippets and in the great majority of cases there is only one argument and "1" really feels out of place. I definitely support `@`, or anything else without a number.
That said, there's still a... -
11:17 AM Revision a7dd6763 (git): Increase fetchDepth to prevent checkout failure
- like https://dev.azure.com/rubylang/ruby/_build/results?buildId=1637
-
09:09 AM Revision 45dfd4c0 (git): Make export declaration place more consistent
-
09:07 AM Revision 2553608c (git): Removed binop macro which has not been used
-
09:04 AM Revision d30d404b (git): MJIT Support for getblockparamproxy
-
08:59 AM Feature #8459 (Rejected): Idiomatic method names for Socket
- I reject this issue because 5 years after my feedback.
-
08:58 AM Revision 043e3d2c (git): [DOC] Add missing headings [ci skip]
-
08:58 AM Revision 08c2a9dc (git): Introduce RUBY_DEBUG flag macro
- When RUBY_DEBUG is turned on, all RUBY_ASSERT() macros will be
enabled regardless RUBY_NDEBUG. -
08:58 AM Revision 715955ff (git): Include ruby/assert.h in ruby/ruby.h so that assertions can be there
-
08:56 AM Revision db64093f (git): [DOC] Fix a typo [ci skip]
-
08:54 AM Revision db1c30b3 (git): addr2line.c (main_exe_path): avoid SEGV when /proc is not available
- readlink would return -1 if /proc is not mounted.
Coverity Scan found this issue. -
08:52 AM Revision 47e571c9 (git): complement '.rb' on `test-all TESTS=test_xxx`
- for test-all rule, we can specify a file with TESTS option like
`TESTS=test_xxx.rb`. However, we can eliminate last '.rb' suffix
so this patch try with '.rb' suffix if the given path is not available. -
08:46 AM Revision b67b07bd (git): Fix links to headings
- A previous change made the header's id be fully referenced (for the sidebar I believe) but this broke links to them.
This fixes the issue. - 08:45 AM Revision 73904abb (git): * expand tabs.
-
08:45 AM Revision 32f01351 (git): Split RUBY_ASSERT and so on under include/ruby
-
08:44 AM Revision 5786df12 (git): Describe about Pathname.glob.
-
08:43 AM Feature #14405 (Closed): Add base option to Pathname.glob also
- Applied in changeset commit:git|4d9504fe13c6470d9da74540f92a247e8c1d9b99.
----------
Delegates 3 arguments for Pathname.glob.
Thanks for the patch by pocke (Masataka Kuwabara) [Feature #14405]. -
08:42 AM Revision 4d9504fe (git): Delegates 3 arguments for Pathname.glob.
- Thanks for the patch by pocke (Masataka Kuwabara) [Feature #14405].
-
08:32 AM Revision 61577fa5 (git): Add a /* fall through */ comment
-
08:22 AM Revision 6bca4437 (git): Describe warning of open-uri.
-
08:21 AM Misc #15893 (Closed): open-uri: URI.open status
- Applied in changeset commit:git|05aac90a1bcfeb180f5e78ea8b00a4d1b04d5eed.
----------
Warn open-uri's "open" method at Kernel.
Use URI.open instead.
Thanks for the patch by jeremyevans0 (Jeremy Evans) [Misc #15893]. -
08:18 AM Revision 05aac90a (git): Warn open-uri's "open" method at Kernel.
- Use URI.open instead.
Thanks for the patch by jeremyevans0 (Jeremy Evans) [Misc #15893]. - 08:16 AM Revision 9987296b (git): * expand tabs.
-
08:16 AM Revision 934e6b2a (git): Prefer `rb_error_arity` to `rb_check_arity` when it can be used
-
08:10 AM Bug #13407 (Rejected): We have recv_nonblock but not send_nonblock... can we add it?
- ioquatix (Samuel Williams) wrote:
> We can close this issue, as there exists a satisfactory alternative.
I see.
(I don't change my feeling, https://bugs.ruby-lang.org/issues/13407#note-10 , though) -
08:01 AM Bug #15564 (Rejected): Pathname#+(pathpart) returns pathpart when pathpart is absolute
- It is intentional behavior.
It intends that preserving the file by a pathname (especially for absolute pathname).
-
07:56 AM Revision 10de5f14 (git): Calculate float complex division per each part
- Arguments to f_complex_new2 should not be Complex, or violate the
assertion. -
07:31 AM Feature #15999 (Open): KeyError#inspect does not contain receiver and key
- Some exception classes accept `receiver:`, but `#inspect` does not show such information.
How about adding receiver (and key) to `#inspect`?
```
KeyError.new("message", receiver: :receiver, key: :key).inspect #=> "#<KeyError: messag... - 07:18 AM Revision 83153bbb (git): * expand tabs.
-
07:18 AM Revision 73fab16e (git): compile.c (defined_expr): return void instead of int
- It always returned 1.
-
07:18 AM Revision 95de69df (git): io.c (rb_file_open_internal): initialize all the fields
- Just for case. This will suppress the warning of Coverity Scan.
-
07:00 AM Revision 2618db30 (git): [DOC] Fix typos [ci skip]
-
06:54 AM Revision f2d99fd8 (git): [DOC] Fix indent [ci skip]
-
06:51 AM Revision 3163a078 (git): fix issue with 'SIGINT' handling in LineEditor#reset
- @old_trap is the string "DEFAULT" and not a callable object (Proc)
if there are no other signal handlers for SIGINT signal to chain. -
06:46 AM Revision 47b04557 (git): Method#inspect with source location.
- Method#inspect shows with source location.
[Feature #14145] -
06:24 AM Revision 4ce935cd (git): Removed FileUtils for file manipulations with module inclusion.
-
06:24 AM Revision a73f4524 (git): Use FileUtils.mkdir_p instead of mkdir command directoly.
-
06:24 AM Revision e91ff4db (git): Use FileUtils.cp_r instead of cp command directoly.
-
06:24 AM Revision d25f355c (git): Fixup dccb0e1ec94e7b9c13c715939ae7e0ccc4ffb23e
-
06:24 AM Revision 7d24a7ed (git): Use FileUtils.rm_rf instead of rm command directly.
-
06:24 AM Revision 7504d676 (git): Do not use hard-coded file path of default gems upstream.
-
06:05 AM Feature #15778: Expose an API to pry-open the stack frames in Ruby
- > ko1 (Koichi Sasada) What do you think of the new API caller_locations(debug: true) + Thread::Backtrace::Location#binding, doesn't it make perfect sense?
I heard that one advantage that current `debug_inspector` gem has is we can dec... -
06:01 AM Feature #15939: Dump symbols reference to their fstr in ObjectSpace.dump()
- ```
>> puts ObjectSpace.dump(:foobar)
{"address":"0x7a210c", "type":"SYMBOL", "value":"foobar", "references":["0x7f8dd482c7d8"], "dynamic": false}
```
`address` should be pointer to `RVALUE`, so it is not acceptable.
> ...
Stati... -
06:01 AM Revision 357f295a (git): Describe lambda-ness of Proc more.
-
05:59 AM Revision dda2c860 (git): [DOC] Fix link to feature [ci skip]
-
05:52 AM Revision 6da539be (git): Fix typos [ci skip]
-
05:40 AM Revision 4f351111 (git): NEWS: warning of flip-flop is reverted [ci skip]
-
05:34 AM Revision 421dd311 (git): [DOC] Fix experimental marker [ci skip]
-
05:28 AM Revision 219643c0 (git): Add a /* fall through */ comment
-
05:21 AM Feature #15931 (Open): encoding for CESU-8
- Reopened to consider whether we can make the CESU-8 encoding a dummy encoding now that we have the encoding conversion from/to UTF-8 (see issue #15995).
-
05:09 AM Revision 34b3ef29 (git): Drop obsoleted mjit_cancel_ivar debug_counter
- ivar_cancel label is handling mjit_cancel_ivar_inline instead.
- 05:04 AM Revision ff5b1494 (git): * expand tabs.
-
05:04 AM Revision ba94404f (git): Add /* fall through */ comments
- to suppress some Coverity Scan warnings
-
04:58 AM Feature #15995 (Closed): Add encoding conversion for CESU-8 from and to UTF-8
- 04:57 AM Revision 1d466424 (git): * expand tabs.
-
04:49 AM Revision 315d3adf (git): Avoid io_tell whose return value is not used
- In this case, flush_before_seek is enough.
This change will suppress a warning of Coverity Scan. -
03:55 AM Revision 18603e90 (git): Update dependencies for 369ff79394765ce198ac7cee872a8c739d895aaa
- Just copy-pasting diff from
https://travis-ci.org/ruby/ruby/jobs/558407687 -
03:53 AM Revision 4402c669 (git): Refactor mjit_worker command line with C99
- Mostly non-constatnt array initializer, and mixed declarations and code.
-
03:23 AM Feature #5400: Remove flip-flops in 2.0
- matz@ruby.or.jp wrote:
> I hear the negative feedback from the community. OK, I give up.
> The warning should be removed.
Thank you! This saves me the trouble of rewriting a bunch of
random scripts I have.
It seems your positi... -
02:52 AM Feature #11747: "bury" feature, similar to 'dig' but opposite
- Much of this has been available through my XKeys gem since Q2 2014.
```
data = {}.extend XKeys::Auto # Vs ::Hash, uses arrays for int keys
data[:users, 0, :name] # nil
data[:users, 0, :name, :raise => true] # KeyError
data[:users,... -
01:58 AM Revision 369ff793 (git): add encoding conversion from/to CESU-8
- Add encoding conversion (transcoding) from UTF-8 to CESU-8
and back. CESU-8 is an encoding similar to UTF-8, but encodes
codepoints above U+FFFF as two surrogates, these surrogates
again being encoded as if they were UTF-8 codepoints. Th...
07/13/2019
-
10:28 PM Bug #8446: sdbm fails to fetch existing key if many elements in it
- This bug still exists. With enough entries in the database, the retrieval error rate gets fairly high (almost 2% at 32k entries):
```
# missed keys, total entries, error rate
2, 4096, 0.00048828125
14, 8192, 0.00170898437
79, 163... -
06:04 PM Revision ac286600 (git): Add empty depend file if extconf.rb only exists
- 04:32 PM Revision 69a66e8a (git): * 2019-07-14
-
04:31 PM Revision dcb8c41a (git): Added depend files
-
02:36 PM Revision 1a4f7c9b (git): [DOC] Markup code in globals.rdoc
- Look forward to further improvements in RDoc to automatically mark
up global variables and global constants. -
01:47 PM Revision 6ef73c14 (git): Improve documentation in doc/globals.rdoc
-
01:39 PM Revision 237b3e00 (git): Document $~ before dependent global variables
-
01:37 PM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
- I documented the new method in [globals.rdoc](https://github.com/ruby/ruby/blob/master/doc/globals.rdoc) and added a NEWS entry.
-
10:37 AM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
- Thanks for the decision, and thanks to @nobu for already moving the method.
I noticed the documentation is still on RubyVM, I'll try to fix that. -
01:35 PM Revision b1ee7148 (git): Improve documentation of $LOAD_PATH
-
01:26 PM Revision 0a5463f7 (git): Add $LOAD_PATH.resolve_feature_path in NEWS
-
01:23 PM Revision 4a935bc6 (git): Document $LOAD_PATH.resolve_feature_path in globals.rdoc
- * RDoc does not seem to support documenting singleton object methods,
and making $LOAD_PATH a class as a workaround is too weird. -
01:16 PM Revision b0f6f330 (git): Document a few more RUBY_* constants
-
01:07 PM Revision 43677a2c (git): Document the long form of global variables and mention aliases on the same line
- * The longer forms are self-explanatory and I believe more often used.
* Same for ARGV and ARGF, describe them there and mention $* and $< just refer to them. -
10:31 AM Feature #5781: Query attributes (attribute methods ending in `?` mark)
- FWIW, a long time ago I tried to implement https://bugs.ruby-lang.org/issues/5781#note-7 in MRI but it turned out to be not so easy and I gave up.
-
10:28 AM Feature #15998: Allow String#-@ to deduplicate tainted string, but return an untainted one
- matz (Yukihiro Matsumoto) wrote:
> `taint` states will be removed from the language in the near future, along with `$SAFE`.
Do you think it will be removed for Ruby 2.7, or 3.0 maybe?
I searched for a ticket but could not find one f... -
10:18 AM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- This issue is closed, it's probably best to discuss on a new one for different ideas.
sawa (Tsuyoshi Sawada) wrote:
> but I do not think that is a big deal.
IMHO it is a big deal, Integer() should return either an `Integer` or `ni... -
03:28 AM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- nobu (Nobuyoshi Nakada) wrote:
> As for optional parameters, there are some inconsistencies.
> ...
I came up with another alternative.
Since this is about suppressing an exception, I think the concept is close to the optional second... -
09:01 AM Feature #12802: Add BLAKE2 support to Digest
- Wondering if we can review this again?
-
01:35 AM Bug #8743 (Closed): Inconsistent behaviour calling public_methods on class (Plus documentation slightly ambiguous)
- The reason for this interesting behavior is because the documentation for include flag (2nd argument) for `public_methods` is not precise. It states:
```
If the all parameter is set to false, only those methods
in the receiver will... -
12:48 AM Revision e2bee86d (git): Relaxed delta of nanosec from Float time
-
12:32 AM Feature #8853: Should String#sub(pattern) returns an Enumerator?
- If I understand this correctly, this is a feature request to make `String#sub` and `#sub!` return an `Enumerator` if given a single argument and no block. I'm not sure how useful this would be. With `#sub!`, you can use the enumerator ...
07/12/2019
-
11:47 PM Bug #8870 (Closed): Method-Missing breaking irb
-
11:47 PM Bug #8935 (Closed): Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
-
11:34 PM Bug #8955 (Closed): LocalJumpError - no block given (yield) after implementation of class hierarchy method cache invalidation
-
11:19 PM Bug #9134 (Closed): RUBY_HEAP_MIN_SLOTS does not work correctly in Ruby 2.0
-
10:25 PM Revision 331eccf3 (git): Removed useless `freeze`s from gemspec files
-
10:25 PM Revision fd9f26df (git): Drop fossil rubygems support
-
10:25 PM Revision 143581cf (git): Removed stub lines from gemspec files
- 10:22 PM Revision cbe623f1 (git): change default value of load_limit (ignore load_limit)
- 09:10 PM Revision 10d7419e (git): * 2019-07-13
-
09:09 PM Revision 1ee17782 (git): Removed binary line
-
08:35 PM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- sawa (Tsuyoshi Sawada) wrote:
> znz (Kazuhiro NISHIYAMA) wrote:
> ...
As for optional parameters, there are some inconsistencies.
> ```ruby
> ...
And other methods fall back `nil` to the default value, e.g., `File.open`. -
01:31 PM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- matz (Yukihiro Matsumoto) wrote:
> Options are:
> ...
Both sound fine to me.
nobu implemented the second option.
We can try to keep consistency in the future,
but I think we can't easily change existing methods taking a truthy/fal... -
07:05 AM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- znz (Kazuhiro NISHIYAMA) wrote:
> I think `nil` means default behavior.
That does not hold even if you just look at the `Kernel` methods:
```ruby
exit(status=true)
Kernel::exit(status=true)
Process::exit(status=true)
exit!(sta... -
03:50 AM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- I think `nil` means default behavior.
```
Integer("") # => ArgumentError
Integer("", exception: nil) # => ArgumentError
Integer("", exception: true) # => ArgumentError
Integer("", exception: false) # => nil
`... -
03:51 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- Thank you for the next information. Could you also test the new "mjit_debug2.diff" which I attached now in the same way?
> BTW a bit OT, but seeing all the information stored in the rb_mjit_min_header-2.7.0.h, I am not sure the JIT wi... -
03:08 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- BTW a bit OT, but seeing all the information stored in the rb_mjit_min_header-2.7.0.h, I am not sure the JIT will work for binary distributions such as Fedora/RHEL. There appears to be embedded a lot of information about the machine used...
-
03:04 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- Here are the logs (bit messy again, but I hope you can get the information).
-
01:09 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- Thank you. All of the information help me a lot.
It seems that the command line construction is broken for the second compilation in build-armv7hl.log and build-s390x.log, while build-x86_64 seems okay. In this ticket, I attached "mji... -
03:06 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- > UTF-8 is a strict super set of ASCII. Any valid ASCII is valid UTF-8.
So is EUC-JP (or Shift_JIS or many other encodings). Even though UTF-8 is the current default source encoding of Ruby, ALL ASCII symbols being in UTF-8 encoding m... -
02:50 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- Just to extend your example:
```ruby
p "foo".encoding # => "euc-jp"
p :foo.to_s.encoding # => "us-ascii"
p :"注意書".to_s.encoding # => "euc-jp"
#new behavior
p "foo".encoding # => "euc-jp"
p :foo.to_s.encoding # => "utf-... -
02:48 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- > If I understand your patch correctly
Yes you do.
> ...
I don't know if you are wrong, but at least we don't agree.
My reasoning is as follow:
- Simple symbols (read pure ASCII) have to be coerced into a common encoding so... -
01:46 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- If I understand your patch correctly:
```ruby
# encoding: euc-jp
#old behavior
p "foo".encoding # => "euc-jp"
p :foo.to_s.encoding # => "us-ascii"
#new behavior
p "foo".encoding # => "euc-jp"
p :foo.to_s.encoding # =>... -
01:27 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- > First of all, this pull-request itself breaks non UTF-8 programs.
Could you elaborate on this? I don't understand what breaks in non UTF-8 programs. I ran some tests with `# encoding: EUC-JP` and can't find anything breaking.
How... -
03:05 PM Feature #15998: Allow String#-@ to deduplicate tainted string, but return an untainted one
- > taint states will be removed from the language in the near future, along with $SAFE.
That is great to hear!
> ...
I'm not sure I understand. But if `taint` is going away in the next release then yes this change is worthless. If n... -
02:27 PM Feature #15998 (Feedback): Allow String#-@ to deduplicate tainted string, but return an untainted one
- `taint` states will be removed from the language in the near future, along with `$SAFE`.
I am not positive to change the behavior related to `taint`.
Matz.
-
02:08 PM Feature #15998 (Closed): Allow String#-@ to deduplicate tainted string, but return an untainted one
- Patch: https://github.com/ruby/ruby/pull/2287
There was a previous attempt by Eric Wong to allow deduplication of tainted strings, but it was reverted because of unknown CI issues: https://github.com/ruby/ruby/commit/0493b1ce3a4
Th... -
01:16 PM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- Okay, so I implemented fiber pool changes which make it more suitable for 32-bit platform. It required additional book keeping. Essentially, the allocation list and free list became double linked which allows us to remove allocations and...
-
07:55 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- I did some more research about 32-bit applications.
On Windows (32-bit), the process is limited to 2GB of memory, but address space should be 4GB. This is apparently the same for 32-bit Linux, maybe that includes arm32? There are some... -
06:18 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- > In general, we should tell this memory usage to GC with rb_gc_adjust_memory_usage(). I don't think it is needed in this case.
Maybe I don't follow you, but I believe fiber memory usage is reported correctly by `fiber_memsize` and `c... -
06:17 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- > I know you got measurements. please share us.
I added `show_limit` to bootstrap test so we can see for all platforms. However, all platforms I tested could allocate 10,000 fibers easily. e.g. all builds on Travis, AppVeyor, etc. Whe... -
04:55 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- > which size (xx KB, etc)?
```
#define RUBY_VM_FIBER_VM_STACK_SIZE ( 16 * 1024 * sizeof(VALUE)) /* 64 KB or 128 KB */
#define RUBY_VM_FIBER_VM_STACK_SIZE_MIN ( 2 * 1024 * sizeof(VALUE)) /* 8 KB or 16 KB */... -
04:41 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- @matz do you mind giving your feedback/opinion if possible?
-
02:15 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- To run benchmarks:
```
make benchmark ITEM=vm2_fiber
``` -
02:10 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- Here is a short script you can use to compare fiber allocation performance:
```
GC.disable
puts RUBY_VERSION
system("git log -1 --oneline")
start_time = Time.now
ary = []
(1..).each{|i|
if (i % 1000).zero?
puts "#{Ti... -
02:09 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- I've removed `2e7b2a0db6 Make default fiber stack size same as thread stack size.` because I think it should be separate PR.
-
01:54 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- ioquatix (Samuel Williams) wrote:
> @ko1 asked:
> ...
which size (xx KB, etc)?
> > (2) maximum allocatable size
> ...
I know you got measurements. please share us.
> > (3) GC.enable/disable usage (edited)
> ...
In general, we ... -
01:45 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- @ko1 asked:
> (1) stack size assumption
The fiber pool stack size is (guard page + vm_stack_size + fiber_machine_stack_size).
> ...
On 64-bit platform it's effectively the same, although in some situations it can be better due t... -
01:21 AM Feature #15997 (Closed): Improve performance of fiber creation by using pool allocation strategy.
- https://github.com/ruby/ruby/pull/2224
This PR improves the performance of fiber allocation and reuse by implementing a better stack cache.
The fiber pool manages a singly linked list of fiber pool allocations. The fiber pool alloc... -
10:15 AM Bug #15993: 'require' doesn't work if there are Cyrillic chars in the path to Ruby dir
- Looks like there is an **ugly workaround**.
1) Ensure to do `chcp 1251` in the current console session.
2) Run Ruby with an option `--disable=gems` so it will not fail initially.
3) Add next code at the very beginning of a script:
... -
09:30 AM Feature #15973: Let Kernel#lambda always return a lambda
- alanwu (Alan Wu) wrote:
> The idea to generate a delegating lambda seems to side-step a lot of the issues posted here.
So then, would it be the same semantics as this?
```ruby
b = proc {|x, y, k:1| x }
l = lambda { |*args, **kwa... -
05:43 AM Feature #15973: Let Kernel#lambda always return a lambda
- Eregon (Benoit Daloze) wrote:
> With current semantics, it returns `:early_return`.
> ...
I agree.
The lambda-ness of Proc object affects control flow: the behavior of "return" and "break".
If lambda(&b) changes the lambda-ness... -
05:31 AM Feature #15973: Let Kernel#lambda always return a lambda
- Yes, I can compromise with delegation scheme, as long as it leaves its own frame in the call stack. An optional method for a proc to prevent such delegation is desirable but can be added later.
-
04:11 AM Feature #15973: Let Kernel#lambda always return a lambda
- The idea to generate a delegating lambda seems to side-step a lot of the issues posted here.
For reference here are some quotes from the log in #15930 (courtesy of ko1):
```ruby
b = proc {|x| x }
lambda(&b) #=> lambda {|x| b[x] }
... -
08:57 AM Revision ae599db2 (git): * remove trailing spaces.
-
08:52 AM Revision 00b34b05 (git): Fixed duplicate test name
- 06:02 AM Revision a9ff21a2 (git): * 2019-07-12
- 06:02 AM Revision b9ad62ea (git): * remove trailing spaces.
-
03:57 AM Bug #9327 (Closed): Why FileUtils.rmdir ignores Errno::ENOTEMPTY ?
- This was fixed in commit:2635984cf2b9b7632f8b35afa2f29d219aba104a. Now Ruby raises if a directory given cannot be removed. It only ignores the exception when deleting parent directories.
Issue 3178 should also been closed, but it is... -
03:44 AM Bug #9357 (Closed): TracePoint's c_return traces return from call to 'trace'
-
03:43 AM Bug #9358 (Closed): TracePoint's raise event should throw 'not supported by this event (RuntimeError)' on calling return_value
- This is expected behavior. As the documentation states:
`raised_exception`: `Value from exception raised on the :raise event`
`return_value`: `Return value from :return, c_return, and b_return event`
You cannot call methods not s... -
03:35 AM Bug #9432 (Closed): ThreadError [ Attempt to unlock a mutex which is locked by another thread ]
-
03:32 AM Bug #9447 (Closed): Bad interaction between Fibers and Trap handlers in Ruby > 2.0.0
-
02:55 AM Bug #9541 (Closed): Markedly increased Hash memory usage if Hash is cleared before reinsertion.
- This difference is probably due to addition of the generational garbage collector introduced in Ruby 2.1, in combination with the specifics of the malloc implementation you are using. hashmemtest2 is expected to perform worse as you are...
-
02:07 AM Bug #9604 (Closed): Comparing ranges or range includes range
- Ruby 2.6 added support to `Range#cover?` to accept Range arguments, which you can use instead of `include?`:
```
$ ruby25 -e 'p (1..10).cover?(2..7)'
false
$ ruby26 -e 'p (1..10).cover?(2..7)'
true
``` -
02:02 AM Bug #9628 (Closed): Simple and isolated segfault in 2.1.0 and 2.1.1 on Mac OS X 10.9.2 (via rbenv)
-
02:01 AM Bug #9588: program name variables tainted
- It looks like `$0`, `__FILE__`, and `$PROGRAM_NAME` have been not tainted since 2.1. I'm not sure if this is still considered a bug or not.
-
01:50 AM Bug #9623 (Closed): warning: "named capture conflicts a local variable" does not allow loops with named captures
- Fixed by commit:75a68057c712897bce6d787114ffa72504556756.
07/11/2019
- 11:56 PM Revision a2adcd40 (git): Add note about `STACK_GROW_DIR_DETECTION`.
- 11:56 PM Revision 5c8061a9 (git): Make `stack_check` slightly easier to use in debugger.
- 11:56 PM Revision 012e954b (git): Improved fiber benchmarks. Increase number of iterations.
-
10:37 PM Bug #9683 (Closed): Segmentation fault when using default proc feature in ruby Hash object
-
10:27 PM Bug #9694 (Closed): Bad regexp hangs ruby
-
10:25 PM Bug #9703 (Closed): Inconsistent profile output
- The profile library was removed in commit:bc76d8a232bed2e245cd3997ebd9826938f7a738.
-
10:24 PM Bug #9731 (Closed): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
-
10:22 PM Bug #9754 (Closed): Ruby refuses to run source with Mutex locks though there is no hazard..
-
10:13 PM Bug #9850 (Feedback): FileUtils.mv shouldn't try to make sure the owner is preserved
- `FileUtils.mv` does rescue `EPERM` failures in `File.chown` for the newly created file if it is on a different file system, and it did so in Ruby 2.1. Ruby now also rescues `EACCESS` failures in `File.chown`. This behavior should be si...
-
04:27 PM Feature #15973: Let Kernel#lambda always return a lambda
- Suppose we change the spec so that `lambda(&nonlambda)` generates a lambda.
Suppose we have the following nonlambda proc:
```ruby
1: foldr = proc do |x, *xs|
2: foo(x, foldr.(xs)) if x ||! xs.empty?
3: end
```
A straight-for... -
11:57 AM Feature #15973: Let Kernel#lambda always return a lambda
- knu (Akinori MUSHA) wrote:
> I don't think the lambda flag should be altered after the creation of a proc, because it's all up to the writer of a block how `return`/`break` etc. in it should work.
akr wrote similar opinion.
This s... -
10:00 AM Feature #15973: Let Kernel#lambda always return a lambda
- I don't think the lambda flag should be altered after the creation of a proc, because it's all up to the writer of a block how `return`/`break` etc. in it should work.
What about just deprecate `lambda` in the long run in favor of the... -
08:18 AM Feature #15973: Let Kernel#lambda always return a lambda
- In my opinion, `lambda` should return `lambda` object as a principle. We need to keep the discussion.
Maybe we can generate a delegating lambda object in this case.
Matz. -
05:20 AM Feature #15973: Let Kernel#lambda always return a lambda
- I'm against it.
Changing lambda <-> proc can violate the intent of programmers who write a block.
It seems good to raise an exception at `lambda(&b)` where b is (non-lambda) proc. -
04:10 PM Bug #9931 (Assigned): irb: Really weird behavior for x = "#{x\"}" (ex: irb(main:009:-4))
- This appears to still be a problem in the master branch, though the details have changed slightly. You still need Ctrl-C to reset the state after the `x = "#{x\"}"` line:
```
irb(main):001:0> x = "#{x\"}"
irb(main):001:0> ;
irb(ma... -
03:58 PM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- Options are:
* accept normal truthy/falsey value for boolean (using `RTEST()`)
* accept `true`/`false` for boolean; exception for everything else
And we should keep consistency.
Matz.
-
03:52 PM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- It doesn't feel good for me to allow arbitrary values other than `true` as truthy.
`nil` as falsy is not so weird... -
11:15 AM Bug #15987 (Closed): Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- Applied in changeset commit:git|3e7d002118a92fad5934e11c75be6768a1476c1b.
----------
Check exception flag as a bool [Bug #15987] -
09:17 AM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- nobu (Nobuyoshi Nakada) wrote:
> this seems coming from `IO#read_nonblock` and so on.
I initially had a feeling that I had seen this opposition between `false` vs. other values somewhere else, but had forgotten where. Now that nobu h... -
08:50 AM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- Note: The rdoc of Kernel#Integer says:
> Passing `nil` raises a TypeError, while passing a String that
> ...
and states:
> This behavior can be altered by passing `exception: false`,
> ...
So the current behavior is as documented, at... -
07:30 AM Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
- It's a bug. It should be fixed.
Matz.
-
03:17 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- That's why I said **experiment**. We need to measure in the real-world application to ensure the change will reduce memory consumption before the release. If not, we should give up the idea. I worry 4% reduction in fstring table is not b...
-
02:48 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- matz (Yukihiro Matsumoto) wrote:
> If you update the pull-request to use the source encoding, we will merge it for the experiment.
@matz I thought the same, but that makes `:foo` in files with different source encodings no longer the... -
07:18 AM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
- First of all, this pull-request itself breaks non UTF-8 programs. It should be the source encoding instead of direct UTF-8.
Second, 4% of fstring table is only a fraction of total memory consumption. I am not sure how much effective.
... -
01:46 PM Feature #15897: `it` as a default block parameter
- Just a very brief comment since it was discussed in the last developer meeting, solely on the
syntax issue of %1, %2, versus @1, @2 and :1, :2:
To me personally, %1, %2 is almost the same as @1, @2. I'd still prefer @1 @2 etc... but ... -
12:39 PM Misc #15996: DevelopersMeeting20190829Japan
- Carry over.
* [Feature #11460] Unhelpful error message when naming a module with the same name as an existing class (nobu)
* [Misc #15805] Let memory sizes of the various IMEMO object types be reflected correctly (methodmissing)
*... -
12:37 PM Misc #15996: DevelopersMeeting20190829Japan
- I added the following note.
```
**A short summary of a ticket is strongly recommended. We cannot read all discussion of the ticket in a limited time.**
A proposal is often changed during the discussion, so it is very helpful to summ... -
12:35 PM Misc #15996 (Closed): DevelopersMeeting20190829Japan
- Please comment on your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your summary/comment will help us because we don't need to read all of the ticket comments)
*DO NOT* discuss then on thi... -
12:05 PM Revision 8745fa2f (git): Default to true when no exception flag [Bug #15987]
-
11:34 AM Misc #15930 (Closed): DevelopersMeeting20190711Japan
-
09:23 AM Misc #15930: DevelopersMeeting20190711Japan
- * [Misc #15805] Let memory sizes of the various IMEMO object types be reflected correctly
* Only the imemo_tmpbuf type's auxiliary malloc heap buffer is factored into `obj_memsize_of`, other imemo types also alloc on the heap
* PR:... -
11:21 AM Revision f74e23af (git): Fixed argument in the fallback function [Bug #15987]
-
11:20 AM Revision c2723e59 (git): Removed wrong argument in the fallback function [Bug #15987]
-
11:19 AM Feature #15995: Add encoding conversion for CESU-8 from and to UTF-8
- Issue #15931 mentions both https://www.unicode.org/reports/tr26/tr26-4.html and https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/types.html#modified_utf_8_strings as definitions of CESU-8, but they are not identical.
Th... -
10:19 AM Feature #15995 (Closed): Add encoding conversion for CESU-8 from and to UTF-8
- As discussed in issue #15931, encoding conversion (transcoding) from/to CESU-8 is missing, so we should add it. When then hopefully can make CESU-8 a dummy encoding.
- 11:14 AM Revision 4018eee4 (git): * expand tabs.
-
11:04 AM Revision 3e7d0021 (git): Check exception flag as a bool [Bug #15987]
-
10:46 AM Revision cd069df3 (git): File::Stat uses Time#inspect
-
09:24 AM Misc #15802: Reduce the minimum string buffer size from 127 to 63 bytes
- Apologies for the late reply - I will do some more testing and qualify with a percentage instead.
-
08:21 AM Revision 71ead078 (git): Add arg check to Reline.dig_perfect_match_proc=
-
07:34 AM Feature #15631: Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
- funny_falcon, do you have any opinion?
if no opinion, we'll discuss it one month later and will commit it.
in fact, I can't check algorithm, so we can try it.
ahorek:
could you give me more performance measurements?
* you shou... -
07:21 AM Feature #15939 (Assigned): Dump symbols reference to their fstr in ObjectSpace.dump()
- ko1 will handle this.
-
06:55 AM Bug #15994 (Rejected): irb miscalculates nest level when typing do keyword
- While typing `while`, `until` and `for`, IRB miscalculates indent level after typing `do`.
Without `do`, everything OK.
```
irb(main):001:1* while false
irb(main):002:0> end
=> nil
```
Just after typing `do` (before ENTER), ne... -
06:50 AM Feature #15966 (Rejected): Introducing experimental features behind a flag, disabled by default
- I am against adding experimental flags. The proposed benefits are:
* Stable release: Users can test new features by opt-in. But it only extends the maximum length of moratorium. If we can not decide before the release, we shouldn't me... -
06:04 AM Bug #11808: Different behavior between Enumerable#grep and Array#grep
- It is a bug. It has been hidden for 10+ years and seems to be very difficult to fix.
It should be fixed in the long run.
Matz.
-
05:52 AM Revision 4e038a7e (git): Revert "parse.y: Deprecate flip-flops"
- This reverts commit bae638ad5b782c44c80efe33834cb9039279af46.
[Feature #5400] -
05:43 AM Feature #15958: Time#inspect with frac
- I am not entirely against the idea, just worrying compatibility.
Should we experiment `Time#inspect` with fraction output?
Matz. -
05:35 AM Feature #15950: Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
- I don't see any rational use of this proposal. Rejection confirmed.
Matz.
-
05:27 AM Feature #5400 (Rejected): Remove flip-flops in 2.0
- I hear the negative feedback from the community. OK, I give up.
The warning should be removed.
Matz.
-
05:26 AM Feature #14385 (Rejected): Deprecate back-tick for Ruby 3.
- I wanted to use backquotes for the future macro-like feature. But since it's too big incompatibility, I give up.
Matz.
-
05:12 AM Feature #15903 (Closed): Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
- Applied in changeset commit:git|d77b84ca82e1cef10ef06776a207151ef864b3ca.
----------
$LOAD_PATH.resolve_feature_path
Moved from RubyVM. [Feature #15903] -
04:53 AM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
- I vote for `$LOAD_PATH.resolve_feature_path`. We need to improve the documentation as well.
Matz.
-
05:05 AM Revision d77b84ca (git): $LOAD_PATH.resolve_feature_path
- Moved from RubyVM. [Feature #15903]
-
04:20 AM Feature #15865: `<expr> in <pattern>` expression
- It's so good :)
```ruby
users = [
{ id: 1, name: "Homu", age: 13 },
{ id: 2, name: "mami", age: 14 },
{ id: 3, name: "Mado", age: 21 },
{ id: 4, name: "saya", age: 14 },
]
users.select { @1 in { name: /m/, age... -
04:04 AM Revision d34303ad (git): remove an unused variable.
-
02:58 AM Revision 26d674fd (git): Suppress warning on x64-mingw
-
02:39 AM Bug #9943 (Closed): Ruby 1.9.3 improperly reports unused variable warnings
-
02:38 AM Bug #9967 (Closed): `define_method(:name, &block)` breaks the use of the block on its own
- This was fixed between Ruby 2.2 and 2.3:
```
$ ruby22 s3.rb
ruby 2.2.10p489 (2018-03-28 revision 63023) [x86_64-openbsd]
Without define_method: foo
With define_method: s3.rb:11:in `block in foo': super called outside of method (... -
02:33 AM Bug #10006: instance_exec uses incorrect binding with curried proc
- I think the current behavior is the behavior that should be expected. It mirrors the behavior you would expect if you implemented `Proc#curry` in Ruby:
```ruby
class Test
def test_func
140
end
end # => :test_func
p ... -
02:00 AM Bug #10021 (Closed): OptParse does not handle missing arguments bracketed by valid option switches
- I believe this is the intended behavior. You are using a required argument for the `-r` option, so for `--re-run x --rerun y -r --debug` the `-r` option arguments are `['x', 'y', '--debug']`, with no regular arguments. For `--re-run x ...
-
12:18 AM Revision 50d85436 (git): WEBrick::HTTPResponse create tempfile if required.
- WEBrick::HTTPProxyServer implementes HTTP proxy using
WEBrick and Net::HTTP.
WEBrick accepts HTTP/1.0 clients and
Net::HTTP uses always HTTP/1.1.
However HTTP/1.1 supports chunked transfer coding HTTP/1.0 doesn't.
Chunked transfer codi...
07/10/2019
-
07:41 PM Bug #15993 (Open): 'require' doesn't work if there are Cyrillic chars in the path to Ruby dir
- I’m trying to build a cross-platform portable application with Ruby onboard and there is a problem on Windows.
A user usually installs it to the Roaming folder which sits inside a user folder which can often have not a Latin name or co... - 06:37 PM Revision d57ce99b (git): * 2019-07-11
-
05:03 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- So this is my hacked up test case:
~~~
$ git diff
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb
index 08494cbbbb..9ace7754d4 100644
--- a/test/ruby/test_jit.rb
+++ b/test/ruby/test_jit.rb
@@ -944,9 +944,15 @@ def as... -
04:12 PM Revision 12762b76 (git): Don't manipulate GC flags directly
- We need to disable the GC around compaction (for now) because object id
book keeping can cause malloc to happen and that can trigger GC. -
09:27 AM Feature #10463: :~@ and :!@ are not parsed correctly
- Interesting - I did not know this. sawa finds stuff. :)
Personally I would be in favour of changing the behaviour as Jeremy described (I also think this
may be a bug or perhaps an oddity), but I guess it depends on a) whether matz wa... -
09:15 AM Bug #15992 (Closed): An exception breaks monitor state and cause deadlock
- Applied in changeset commit:git|f91879a7b548284c93743168acfd11e3d2aeefac.
----------
handle_interrupt to defend monitor state [Bug #15992]
If an exception is raised from another thread for example Timeout
and this thread is just after ... -
06:55 AM Bug #15992 (Closed): An exception breaks monitor state and cause deadlock
- lib/monitor.rb provides Monitor.
But its state handling is weak for interrupts caused by Thread.kill for example timeout libraries.
Timeout exception may happen everywhere. If it raised when the thread is executing
```ruby
def ... -
09:13 AM Revision f91879a7 (git): handle_interrupt to defend monitor state [Bug #15992]
- If an exception is raised from another thread for example Timeout
and this thread is just after `mon_exit`'s `@mon_owner = nil`,
the exception breaks the state of MonitorMixin. To prevent that situation,
it need to block interruption in ... -
04:48 AM Misc #15930: DevelopersMeeting20190711Japan
- * [Bug #10463] :~@ and :!@ are not parsed correctly (jeremyevans0)
* Can we deprecate the automatic conversion of `~@` to `~` and `!@` to `!` in method names and symbols? -
04:33 AM Misc #15930: DevelopersMeeting20190711Japan
- * [Feature #15865] `<expr> in <pattern>` expression (mame)
* We have some opinions: scoping, matching strictness, the keyword `in`, and the word order. But all are not specific to the one-line matching. I think it is acceptable if `... -
04:42 AM Bug #10003 (Closed): Hash#fetch performance issue
-
04:40 AM Bug #10025 (Feedback): Incorrect wrapping of base64 output of Array.pack()
- I agree this is a bug. I am not sure if it is a documentation bug or code bug. The existing documentation for `Array#pack` does suggest the count should specify output bytes (`width of the resulting field`), while the `m` count current...
-
03:51 AM Bug #10104: Fileutils cp_r fails on sockets or fifes even if File.mknod and File.mkfifo are defined
- I agree this is a bug. This has been broken since the code was originally added in commit:18c0a86cc680929bbd8c48f4f45a197e3e68c70a. I added a pull request upstream to fix it: https://github.com/ruby/fileutils/pull/36
-
03:33 AM Revision 1d2ec4b2 (git): Added Etc::VERSION
-
03:32 AM Revision 612b7b62 (git): Removed unused files
07/09/2019
-
11:18 PM Feature #15991: Allow questionmarks in variable names
- shevegen (Robert A. Heiler) wrote:
> I do not see why this would make the design more "coherent", per se.
I guess "design coherence" is a very subjective notion \^\^"
What I meant by that is that in most cases in Ruby, whether an i... -
06:53 AM Feature #15991: Allow questionmarks in variable names
- I personally often write code like this:
```ruby
class Foobar
attr_reader :completed
def completed?
@completed
end
end
```
This feels unnecessary complex to me. In #12046 it was discussed to allow `attr_reader :... -
12:44 AM Feature #15991: Allow questionmarks in variable names
- I couldn't find an existing proposal for a local variable that ends with `?`. There are many proposals for "attr_reader :foo?" (#5781 #10720 #11167 #12046), but all the tickets have been rejected. (#5781 is still open, but I guess it i...
-
07:57 PM Feature #15897: `it` as a default block parameter
- As a user of both Kotlin and RSpec, here's my 0.01 cents: I've been using Kotlin for almost 1.5 years, and the implicit `it` is really nice shortcut, without making the code too harder to understand. Even newcomers seem to get `it` prett...
-
02:53 PM Feature #15897: `it` as a default block parameter
- I think we should listen to RSpec users here like @joallard and would welcome more users to reply on this thread.
People who maintain software defining `it` probably have a different view than their users.
If RSpec users understand `it... -
02:50 PM Feature #15897: `it` as a default block parameter
- JonRowe (Jon Rowe) wrote:
> its a "this shadows the most commonly used method in the most downloaded rubygem"[1], its not one or two people this will affect.
It only "shadows" (by that I understand "no longer works in that case") for... -
11:06 AM Feature #15897: `it` as a default block parameter
- @mame I did, I apologise for not making it clear, I'm reiterating it to add weight to the con, its not just a simple "it is somewhat fragile, it may refer to a wrong variable" its a "this shadows the most commonly used method in the most...
-
06:34 PM Feature #15899: String#before and String#after
- I'd like to add my +1 to this idea. Splitting a string by a substring (and only caring about the first result) is a use case I run into all the time. In fact, the example given by @kke of splitting a `Content-Type` HTTP header by the sem...
-
06:02 PM Revision cc936402 (git): C90 for old versions
-
05:07 PM Revision de4889ce (git): Use the found version number
-
04:57 PM Revision 9c48472b (git): Removed useless `freeze`s
-
04:53 PM Feature #10463: :~@ and :!@ are not parsed correctly
- nobu (Nobuyoshi Nakada) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> ...
Well, `foo.!@` would be a syntax error with the patch. Is there a reason other than backwards compatibility to keep this automatic aliasing of `!@` to `!` and `... -
04:40 PM Feature #10463: :~@ and :!@ are not parsed correctly
- jeremyevans0 (Jeremy Evans) wrote:
> nobu (Nobuyoshi Nakada) wrote:
> ...
Sorry, forgot `@`, I wanted to mean `!foo` and `foo.!@`. -
03:56 PM Feature #10463: :~@ and :!@ are not parsed correctly
- nobu (Nobuyoshi Nakada) wrote:
> If `:!@` and `:!` are different things, also `!foo` and `foo.!` are different things.
I don't believe that is true. With the above patch:
```ruby
class A
def !; :! end
def ~; :~ end
end
... -
03:30 PM Feature #10463: :~@ and :!@ are not parsed correctly
- If `:!@` and `:!` are different things, also `!foo` and `foo.!` are different things.
This means a backward incompatibility. -
03:58 AM Feature #10463: :~@ and :!@ are not parsed correctly
- I did some research, and this is related to the fact that Ruby allows `!@` and `~@` as method names (back to the initial SVN revision for `~@`), silently dropping the `@` from the method name:
```ruby
class A
def !@; :!@ end
de... -
04:21 PM Revision db844749 (git): Added StringIO::VERSION
-
03:54 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- FYI: RubyCI platforms include [RHEL 7.1 s390x][1] and [Ubuntu armv8 (aarch64)][2], and their results are both green at the present time. So the cause would be the other factor than CPU, I guess.
[1]: https://rubyci.org/logs/rubyci.s3... -
02:40 PM Bug #15986 (Feedback): `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- I see. Thanks for the information. At this moment I cannot do anything either, so I'll wait for you to collect the information from the CI system somehow.
-
12:48 PM Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
- I wish this was easier to debug. The problem is that this is test failure and it happens on build system, where I don't have access. Trying to reproduce it on my system, this does not work:
~~~
$ echo "
def multiply(a, b)
a *= b
... -
03:20 PM Revision 49cad676 (git): Removed duplicate assignment
- This `last_state` is set to `lex.state` just before the `switch`
statement, and `token_flush` nor `nextc` never change the state. - 03:09 PM Revision 57b8ca21 (git): * 2019-07-10
-
02:38 PM Feature #15973: Let Kernel#lambda always return a lambda
- alanwu (Alan Wu) wrote:
> `Kernel#lambda` is in a weird spot. Even though it's a method, making it behave like one has the unfortunate side-effect of allowing proc transformation.
Yes, the semantics of `Kernel#lambda` have always bee... -
02:32 PM Feature #15973: Let Kernel#lambda always return a lambda
- > Can I ask you why you need this feature?
I want to be able to forward a block to `Kernel#lambda`.
`Kernel#lambda` is in a weird spot. Even though it's a method, making it behave like one has the unfortunate side-effect of allowi... -
02:22 PM Feature #15923: New independent string without memcpy
- It should be OK when passing the buffer from callers, but doesn't work with a library which returns a buffer allocated inside.
FYI: you can allocate the buffer by `rb_str_new(NULL, size_you_want)` at once. -
02:14 PM Feature #15923: New independent string without memcpy
- Instead of working on a separate buffer then asking Ruby to take ownership, you could make changes to the buffer of a string:
```c
VALUE new_string = rb_str_new("", 0);
rb_str_resize(new_string, size_you_want);
do_work(RSTRING_PTR(... -
02:13 PM Revision d0ef5c21 (git): Check dependencies on Travis-CI
-
12:22 PM Revision b1be349b (git): Make symlink to "ruby" only from the install-name
-
12:16 PM Revision 9f275f79 (git): Restore support library for only test files that are digest and csv.
-
12:04 PM Revision f9a24408 (git): Restore support library for only test files.
-
06:55 AM Bug #15832 (Closed): IPAddr.new accepts invalid mask IP address
- I merged it.
-
05:25 AM Feature #15982 (Assigned): Remove y2racc and racc2y
-
05:16 AM Bug #10147 (Closed): URI parsing with ruby 2.2.0dev
-
05:01 AM Bug #10184 (Closed): irb terminates with no method error
- This was fixed between Ruby 2.2 and 2.3:
```
$ irb22
irb(main):001:0> def !; end
=> :!
irb(main):002:0> !
/usr/local/lib/ruby/2.2/irb/input-method.rb:151:in `gets': private method `!' called for false:FalseClass (NoMethodError)
... -
04:47 AM Revision d905ff61 (git): Update dependencies
-
04:37 AM Bug #10362 (Closed): spawn doesn't raise exception on redirection error
- `system` was made more strict for redirection errors between Ruby 2.2 and 2.3:
```
speedstar$ ruby22 -e "p system('true', out: %w(bad/file.txt w))"
nil
speedstar$ ruby23 -e "p system('true', out: %w(bad/file.txt w))"
-e:1:in `s... -
04:33 AM Bug #10374 (Closed): FileUtils.mv can't move broken symlinks
-
04:15 AM Revision 8a831e5c (git): Do not make Unicode tables timestamp phony
-
04:08 AM Bug #10429 (Closed): Ruby 2.x exponents produce wildly varying precision for integers vs decimals
-
04:01 AM Revision 515e106f (git): [DOC] Add link to Enumerable#grep from Enumerable#select
-
04:00 AM Bug #10427 (Third Party's Issue): The WebKit of QtRuby crashed
-
02:08 AM Bug #10507 (Closed): URI Error: bad URI(is not URI?) in Ruby 2.0.0, 2.1.5, 2.2.0preview1
- This was fixed between 2.1 and 2.2:
```
$ ruby21 -ruri -e "p URI 'http://localhost:3000/?url=google.com&clipRect={"top":0,"left":0,"width":1050,"height":700}'"
/usr/local/lib/ruby/2.1/uri/common.rb:176:in `split': bad URI(is not... -
02:02 AM Bug #10535 (Closed): Potential uninitialized reference pipe_open() in io.c
- I believe this issue was fixed by commit:aa107497cd379b713eba8cecdb9a882bb1e0dd89, which removed the `argc` and `argv` variables in favor of using `rb_execarg_commandline(eargp, &prog)`, and `eargp` and `prog` are always initialized.
-
01:58 AM Revision 4cda2e50 (git): Moved error messages
-
01:32 AM Bug #10567 (Closed): A fiber issue with `autoload`: `fiber called across stack rewinding barrier (FiberError)`
- This issue was fixed between Ruby 2.2 and 2.3:
```
$ ruby23 test.rb
User
$ ruby22 test.rb
.../user.rb:4:in `yield': fiber called across stack rewinding barrier (FiberError)
from .../user.rb:4:in `<top (required)>'
... -
01:20 AM Bug #10605 (Third Party's Issue): doc (Kernel rubydoc %x syntax examples mix %x and `)
- ruby-doc.org is a third party site, so this would be an issue to report to them. However, `%xdate` no longer appears on the linked page.
-
01:05 AM Bug #10614 (Closed): strpdate and Leap Days
- I don't think this is a bug, the current behavior is consistent and what I would expect. It would be inconsistent to assume the current year for `%m/%d` format in some cases and not in others. It is better to raise an exception if that...