Activity
From 11/17/2019 to 11/23/2019
11/23/2019
-
08:20 PM Bug #16361: TestEnv#test_fetch failure
- mame (Yusuke Endoh) wrote:
> How did you run the test?
I am using the snapshot to execute the test suite. Therefore I assume that did_you_mean gem is available and the test suite should pass in this configuration. -
12:34 AM Bug #16361: TestEnv#test_fetch failure
- How did you run the test? Currently, bundled gems should be unavailable in `make test-all`, and some tests don't assume that bundled gems are loaded.
Currently, did_you_mean is a bundled gem, so should not be loaded in `make test-all... -
07:06 AM Revision b5634392 (git): Show include directive differences only when under git
- When building from tarballs, the source directory is not a git
repository. -
02:41 AM Revision 9318e1ff (git): Use realpath to try to fix failures with symlinks
-
12:44 AM Bug #16362 (Closed): Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3
- Closing as per OP's request. Thanks.
11/22/2019
-
10:22 PM Revision 818708ed (git): Stop using undefined matrix.os for macOS
- and use github.workflow instead. Applied a similar change to MJIT too.
-
08:44 PM Revision b0614a0f (git): Tracer.set_get_line_procs should support block and Proc object
- Original Tracer.set_get_line_procs is implemented by
"def set_get_line_procs(p = proc)". It means that original
Tracer.set_get_line_procs supports block and Proc object. -
08:43 PM Revision 1ee010a3 (git): Tracer.add_filter should support block and Proc object
- Original Tracer.add_filter is implemented by "def add_filter(p = proc)". It
means that original Tracer.add_filter supports block and Proc object. -
08:42 PM Revision 8e743fad (git): Count pinned slots using only bitmap
- This is significantly faster than checking BUILTIN_TYPEs because we
access significantly less memory. We also use popcount to count entire
words at a time.
The only functional difference from the previous implementation is that
T_ZOMBIE... -
08:42 PM Revision 26fd8d96 (git): Optimize pinned page sorting
- Previously we would count the pinned objects on each comparison. Since
sorting is O(N log N) and we calculated this on both left and right
pages on each comparison this resulted in a extra iterations over the
slots. -
08:42 PM Revision 3f4199b0 (git): Use value of use_verifier in gc_compact
-
08:04 PM Bug #16362: Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3
- Sorry, I discovered that something was resetting my CFLAGS. Please close this.
-
07:45 PM Bug #16362 (Closed): Unable to build Ruby 2.6.5 on Manjaro Linux 18.1.3
- Steps to reproduce:
```
$ curl -OL https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.gz
$ tar xvf ruby-2.6.5.tar.gz
$ cd ruby-2.6.5
$ ./configure
$ make
```
`./configure` summary:
```
* Installation prefix: /usr/... - 04:58 PM Revision 144bff43 (git): * 2019-11-23 [ci skip]
-
04:57 PM Revision 271cb9ac (git): Suppress git error message
- `fatal: not a git repository (or any of the parent directories): .git`
-
04:57 PM Revision d7f10022 (git): Skip test_validate_gemspec when tarball and git installed too
- `git --version` failed as expected when git is not installed,
but unexpectedly pass when git installed and pwd is not in git working directory.
So use `git rev-parse` instead, and it failed when git installed too. -
02:56 PM Revision 053f78e1 (git): internal.h: Add a prototype declaration for rb_gvar_readonly_setter
- emscripten fails to compile ruby due to lack of this.
-
02:35 PM Bug #16361 (Closed): TestEnv#test_fetch failure
- I am facing following test suite error:
~~~
1) Failure:
TestEnv#test_fetch [/builddir/build/BUILD/ruby-2.7.0-f9d20a1bf1/test/ruby/test_env.rb:123]:
[ruby-core:56062] [Feature #8649].
Expected Exception(KeyError) was raised, but ... -
01:43 PM
Bug #16359 (Closed): Psych cannot build against system libyaml.
- Applied in changeset commit:git|994435d0efa9931d0475de923c4e6c227d03e398.
----------
Revert "Update dependencies"
This reverts commit e1b234148829f65bea9f5ecc7018beb782ea6023.
This allows to build Psych against system libyaml again on... -
08:59 AM Bug #16359: Psych cannot build against system libyaml.
- The attached patch which reverts the Psych part of [1] appears to fix the issue for me.
[1]: https://github.com/ruby/ruby/commit/e1b234148829f65bea9f5ecc7018beb782ea6023 -
08:50 AM Bug #16359 (Closed): Psych cannot build against system libyaml.
- Just to be sure that we are building Ruby in Fedora against system libyaml library, the first step is to remove bundled libyaml contained in Psych [1]. Now the build started to fail:
~~~
make[2]: Entering directory '/builddir/build/B... - 01:42 PM Revision 994435d0 (git): Revert "Update dependencies"
- This reverts commit e1b234148829f65bea9f5ecc7018beb782ea6023.
This allows to build Psych against system libyaml again on Fedora.
[Bug #16359] -
12:37 PM Misc #16360 (Closed): Enabling IBM PowerPC/Z cases in Travis CI
- We added `arm64-linux` and `arm32-linux` cases to Travis CI by [the ticket](https://bugs.ruby-lang.org/issues/16234).
The `arm32-linux` case is going to be stable after [this pull-request](https://github.com/ruby/ruby/pull/2686) will be... -
10:05 AM Revision 35608760 (git): Add github repo to remove_tag
-
09:42 AM Revision a93d0a4e (git): Check -1 arity for C++
- 04:58 AM Revision f9d20a1b (git): * 2019-11-22 [ci skip]
-
04:55 AM Revision 8eb0a9e5 (git): Use jsDelivr instead of raw.githubusercontent.com
- Try to fix download error on Solaris CI
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20191121T162422Z.fail.html.gz
```
tool/downloader.rb:243:in `rescue in download': failed to download config.guess (Runti...
11/21/2019
-
04:21 PM Bug #16358 (Third Party's Issue): rails 6.0.1 db:migrate failure on Mac OS 10.13.6 using mysql2 gem
- This appears to be a bug in the mysql2 gem, please report it to their bug tracker: https://github.com/brianmario/mysql2/issues
```
/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1a) [0x7fff6241cf5a]
/Users/nukeguy5/.rbenv/vers... -
11:27 AM Bug #16358 (Third Party's Issue): rails 6.0.1 db:migrate failure on Mac OS 10.13.6 using mysql2 gem
- Hello,
I got a segmentation fault while trying to do a migration to a mysql database. I've tried versions 0.4.10 and 0.5.1 of the mysql2 gem. I have included my Gemfile, console output, and Diagnostic Reports file regarding the issue.... -
03:52 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- > There is one issue on the Travis arm32 environment. I added it as allow_failures.
I sent a PR to fix the issue on the Travis arm32 environment.
https://github.com/ruby/ruby/pull/2686
Let me explain about the issue and why this h... -
02:10 PM Revision 88d6009d (git): Use more strict regexp to avoid to match naninanirb.rb
-
01:59 PM Feature #16352: Modify Marshal to dump objects larger than 2 GiB
- > I don't understand the motivation of this limit and has a great impact in libraries that need to serialize large objects as numeric matrix.
> ...
Shyouhei already pointed out the historic reason. I believe you can quite easily convinc... -
01:54 PM Feature #16356: Method#inspect of argument forwarding
- > But names (e.g. literal :* and :&) should be excluded from parameters output anyways, right?
I am not matz, nor among the core team, but I think that the general intention is that the
information displayed here (e. g. via #inspect)... -
06:17 AM Revision ffab1bfd (git): Fixed for old git
-
01:57 AM Revision 97a5af62 (git): Skip updating revision.h when the revision is unchanged
- note: GNU make only.
-
01:32 AM Bug #14241 (Closed): Time.strptime() doesn't support the directive "%W".
- Applied in changeset commit:git|a9d4f2d03c847ec1c89dc03a5076a9fa29ffa61f.
----------
Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime
Most of these formats were documented as supported, but were not
actually supported. Document th... -
01:32 AM Bug #9836 (Closed): Bad Implementation of Time.strptime
- Applied in changeset commit:git|a9d4f2d03c847ec1c89dc03a5076a9fa29ffa61f.
----------
Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime
Most of these formats were documented as supported, but were not
actually supported. Document th... -
01:32 AM Revision a9d4f2d0 (git): Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime
- Most of these formats were documented as supported, but were not
actually supported. Document that %g and %G are supported.
If %U/%W is specified without yday and mon/mday are not specified,
then Date.strptime is used to get the appropr...
11/20/2019
-
10:28 PM Revision 8f106212 (git): Add test/reline/test_string_processing.rb
-
10:14 PM Revision 9131e62f (git): [ruby/reline] Version 0.0.7
- https://github.com/ruby/reline/commit/09d370bdc19e62f0a27c2240e19b07963afd922f
-
10:04 PM Revision f30f78e2 (git): Version 0.0.6
-
10:04 PM Revision e4127cdd (git): Version 1.1.0
-
10:01 PM Revision 95f20f46 (git): Consider escape sequence to calculate prompt width
-
08:58 PM Feature #16356: Method#inspect of argument forwarding
- @jeremyevans0 thanks for the explanation, I suspected there is something important about missing `:keyrest` there :)
But names (e.g. literal `:*` and `:&`) should be excluded from `parameters` output anyways, right?.. -
08:30 PM Feature #16356: Method#inspect of argument forwarding
- zverok (Victor Shepelev) wrote:
> `#inspect` just follows whatever `#parameters` say.
> ...
That's not how `...` is implemented, though. It is implemented so that:
```ruby
def a(...)
b(...)
end
```
means
```ruby
ruby2... -
08:11 PM Feature #16356: Method#inspect of argument forwarding
- `#inspect` just follows whatever `#parameters` say.
But I indeed find that `#parameters` return value is kinda weird for this case:
```
./ruby --disable-gems -e "def m(...); end; p method(:m).parameters"
[[:rest, :*], [:block, :... -
10:58 AM Feature #16356 (Open): Method#inspect of argument forwarding
- Current behavior includes `(**, &&)`.
Is this intentional?
```
% ruby -e 'def mf(...);end;p method(:mf)'
#<Method: main.mf(**, &&) -e:1>
```
I added tests of current behavior at https://github.com/ruby/ruby/commit/777973084e599... -
08:07 PM Feature #16355: Raise NoMatchingPatternError when `expr in pat` doesn't match
- Agree, that it could save users from unexpected behavior.
On the other hand, raising an exception drastically limits the application of online pattern matching: it won't be possible to use it with `if ... else ...` or in `select/filte... -
12:58 AM Feature #16355 (Closed): Raise NoMatchingPatternError when `expr in pat` doesn't match
- Currently, single line pattern matching(`expr in pat`) returns true or false.
```
[1, 2, 3] in [x, y, z] #=> true (with assigning 1 to x, 2 to y, and 3 to z)
[1, 2, 3] in [1, 2, 4] #=> false
```
I think `expr in pat` should rais... -
07:38 PM Revision 1197a036 (git): Add a proper cast to pass JIT tests on mswin.
- https://ci.appveyor.com/project/ruby/ruby/builds/29001248/job/ye80bsrmewdgw294
-
05:44 PM Revision eee70b41 (git): Add a warning message and --legacy of an alias of --singleline
- 05:44 PM Revision 9d6f7882 (git): Refactor filter_backtrace
- 05:44 PM Revision 04d0d93e (git): Fix filter_backtrace for context-mode 0
-
05:44 PM Revision 91bf3b7a (git): Use singleline/multiline instead of readline/reidline
-
05:18 PM Revision 9b52bacc (git): Refined inspection of argument forwarding
- 03:48 PM Revision f835a74d (git): * 2019-11-21 [ci skip]
-
03:47 PM Revision 6723aa07 (git): Change argument `Proc` to `#call` defined object.
- This is the same as the behavior of Readline.
-
03:47 PM Revision 81586a4d (git): Add <Home> <End> keys.
-
11:14 AM Bug #16357 (Closed): `Segmentation fault (core dumped)` or `[BUG] object allocation during garbage collection phase`
- How to reproduce:
```
+$ tree .
.
├── config.ru
├── Gemfile
└── Gemfile.lock
0 directories, 3 files
+$ cat config.ru
require 'json'
require 'rack'
run ->(env) do
begin
req = Rack::Request.new(env)
JSON.load(... -
10:17 AM Feature #16101 (Closed): Proc#to_s returns "... file:line" instead of "...@file:line"
- https://github.com/seattlerb/minitest/pull/798 is closed.
-
10:16 AM Feature #16295: Chainable aliases for String#-@ and String#+@
- You can use `String#-@` and `String#+@` in method chain.
```ruby
"foo"[email protected]
[email protected]?
``` -
08:57 AM Revision 77797308 (git): Add tests of argument forwarding's parameters and inspect
-
08:55 AM Revision 633625a0 (git): Mintty on Cygwin isn't a kind of command prompt, can process ANSI escape code
-
08:21 AM Revision ae818b58 (git): add a NEWS entry for Method#inspect
-
07:28 AM Revision fc22b0ea (git): Always forward declaration is needed
- `rb_resolve_refined_method_callable` is referenced in
`refine_sym_proc_call`, even when pre-compiling mjit header on
mswin. -
07:28 AM Revision 83900528 (git): Turn C4047 warning into error
- Warned at making precompiled header on mswin.
```
building rb_mjit_header-2.7.0.pch
vm.c
d:\a\ruby\ruby\src\vm_args.c(1117): warning C4047: '=': 'const rb_callable_method_entry_t *' differs in levels of indirection from 'int'
rb_mjit_he... -
06:54 AM Revision 7608baf9 (git): re-add function prototypes
- This commit reverts a part of 0e8219f591f3f17cb7ee361e8a60dbef08145883
which broke icc. See also https://rubyci.org/logs/rubyci.s3.amazonaws.com/icc-x64/ruby-master/log/20191120T010006Z.fail.html.gz -
06:37 AM Revision f90b22e3 (git): Revert the line for nextafter.c for FreeBSD make
-
05:04 AM Feature #14423: Enumerator from single object
- This one can be closed (`Enumerator#produce` was implemented in 2.7)
-
05:00 AM Misc #14581: Update JSON docs
- @hsbt
>> what's the maintenance status of the upstream?
> ...
I just noticed my documentation patches [#349](https://github.com/flori/json/pull/349) and [#347](https://github.com/flori/json/pull/347) and clarification request [#348... -
04:43 AM Feature #14145: Proposal: Better Method#inspect
- merged. Thank you!
-
12:41 AM Feature #14145: Proposal: Better Method#inspect
- @ko1 I've updated the PR to use `...` and `_`, and rebased it from recent `master`.
-
04:42 AM Revision 50cc9341 (git): Update representation (discussed on ruby tracker)
-
04:42 AM Revision baf482ba (git): Fix test_module.rb
-
04:42 AM Revision 4b583cff (git): Method parameters inspect
- Example:
def m(a, b=nil, *c, d:, e: nil, **rest, &block)
end
p method(:m)
#=> #<Method: m(a, b=<default>, *c, d:, e: <default>, **rest, &block) ...> -
02:05 AM Feature #16352: Modify Marshal to dump objects larger than 2 GiB
- This behaviour has been there since the beginning. No ruby version since 0.49 has successfully dumped such long string. Same thing happens for a very big bignum, a very long array, a class that has very long classpath (Q::W::E::R::...)...
-
01:04 AM Revision da0d7211 (git): Fix indent of a line when a newline is inserted to the next
-
12:58 AM Revision 9306602f (git): Replace typo "bock" with "block"
-
12:56 AM Revision 19a310b0 (git): A preceding token of "do" of block has EXPR_CMDARG or EXPR_ENDFN
- meth do # the preceding token of "do" has EXPR_CMDARG
end
meth() do # the preceding token of "do" has EXPR_ENDFN
end
11/19/2019
-
11:39 PM Revision 49b4507f (git): Number sign comment (# bla bla) is a kind of newline character
-
11:19 PM Revision bc0da8e3 (git): Generate history file path correctly when $HOME/.irbrc doesn't exist
-
09:50 PM Bug #16354 (Closed): Memory corruption in Enumerable#reverse_each
- Applied in changeset commit:git|ff41663403d3eb76d95f465cb94e14d2faaa04d1.
----------
Fix memory corruption in Enumerable#reverse_each [ruby-dev:50867] [Bug #16354] -
09:34 PM Bug #16354 (Closed): Memory corruption in Enumerable#reverse_each
- Enumerable#reverse_eachのブロック呼び出し中に、対象のEnumerableをto_aしたものを捕まえてサイズを変更するとSEGVすることがあります。
```
$ ruby -e '(0...1000).reverse_each {|i| i.inspect; ObjectSpace.each_object(Array) {|a| a.clear if a.length == 1000 }}'
-e:1: [BUG] Segmentatio... -
09:35 PM Revision ff416634 (git): Fix memory corruption in Enumerable#reverse_each [ruby-dev:50867] [Bug #16354]
-
06:42 PM Feature #14145: Proposal: Better Method#inspect
- @ko1 I happened to sit next to Matz on speakers' lunch at RubyConf and asked him (just in case). He agreed to both of your proposals, so I'll change it in a day or two in my patch :)
Thank you! -
09:05 AM Feature #14145: Proposal: Better Method#inspect
- Great patch!
I think `<default>` is too long. How about `...`?
```
def foo9 a, b, o1=nil, *args, p1, k1:nil, rk1:, **kw, &bl
end
p method(:foo9)
#<Method: main.foo9(a, b, o1=..., *args, p1, rk1:, k1:..., **kw, &bl) /home/ko1/src/... -
03:56 PM Revision 61131edb (git): Revert "[ripper] Quoted label without expression must be a local variable"
- This reverts commit 0b8c73aa65add5c57b46b0cfdf4e661508802172, which
seems breaking RVALUE consistency check. - 03:07 PM Revision f3c98035 (git): * 2019-11-20 [ci skip]
-
02:53 PM Revision 2439948b (git): Avoid needless object allocation
-
08:36 AM Revision 822d7ae3 (git): Add a test
- and rename from b.rb
[ruby-core:95055] [Bug #16177] -
08:18 AM Revision 0b8c73aa (git): [ripper] Quoted label without expression must be a local variable
-
08:03 AM Misc #16333 (Closed): DevelopersMeeting20191112Online to confirm Ruby 2.7 spec
- Sorry, we can not write enough discussion log.
At least for me, real time English logging is hard.
I hope enough information are added for each ticket.
Good idea or your help is welcome. -
08:01 AM Bug #16177: Some `*.rb` files on builddir cause Segmentation fault
- I fixed this issue, but no test. can anyone write it?
-
08:01 AM Bug #16177 (Closed): Some `*.rb` files on builddir cause Segmentation fault
- Applied in changeset commit:git|a5fe08fdd9d11f12a6837291ee588ab933a823b6.
----------
care about TAG_FATAL.
TAG_FATAL represents interpreter closing state and ec->errinfo
contains FIXNUM (eTerminateSignal, etc). If we need to change the... -
07:56 AM Revision a5fe08fd (git): care about TAG_FATAL.
- TAG_FATAL represents interpreter closing state and ec->errinfo
contains FIXNUM (eTerminateSignal, etc). If we need to change the
state, then errinfo is also changed because TAG_RAISE assumes that
ec->errinfo contains a Exception object.
... -
06:37 AM Bug #16353 (Closed): Backport 2a477e0e444de6344048101466fb9189b9defddc
- Please backport 2a477e0e444de6344048101466fb9189b9defddc to ruby_2_5.
It may avoid occasional errors on macos.
https://github.com/ruby/actions/runs/309307228#step:17:201
```
1) Error:
FTPTest#test_retrbinary_read_timeout_not_exc... -
06:11 AM Revision c53aec73 (git): Configure static extensions only if in charge
- Get rid of races in parallel configuration when using the
ext/Setup file. -
04:56 AM Revision f6239ce0 (git): peep-hole optimize VM instructions
- Some minor optimizations.
Calculating -------------------------------------
ours trunk
vm2_regexp 8.479M 8.346M i/s - 6.000M times in 0.707612s 0.718916s
vm2_regexp_invert ... -
04:27 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
- Dan0042 (Daniel DeLorme) wrote:
> > - Possibility #3: renders SyntaxError. This requires a massive rewrite of our parser. Theoretically possible but not in practice.
> ...
It may be possible to know at runtime whether a literal block... -
04:06 AM Revision 75e8dd58 (git): Remove TEST_BUNDLED_GEMS_ALLOW_FAILURES
- https://github.com/seattlerb/minitest/pull/798 is closed
-
03:36 AM Revision 0e8219f5 (git): make functions static
- These functions are used from within a compilation unit so we can
make them static, for better binary size. This changeset reduces
the size of generated ruby binary from 26,590,128 bytes to
26,584,472 bytes on my macihne. - 02:40 AM Revision 78e266da (git): Clarify documentation for `InstructionSequence#compile`.
- We incorrectly assumed that the `file` argument should be the file name and
caused https://github.com/scoutapp/scout_apm_ruby/issues/307 because
exception backtrace did not contain correct path. This documentation
clarifies the role of t...
11/18/2019
-
06:01 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- knu (Akinori MUSHA) wrote:
> I'm a bit surprised and confused. The change that has been made is not what this issue was originally about, and actually the opposite, I think.
Per matz's decision: https://bugs.ruby-lang.org/issues/130... -
01:36 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- I'm a bit surprised and confused. The change that has been made is not what this issue was originally about, and actually the opposite, I think.
I believe many of us have got used to the original behavior, that is, methods of a Regex... -
05:39 PM Revision cef9ebfb (git): Suppress `stty` error on Apple Terminal
- `stty` called in `Reline::ANSI.deprep` command shows the following
error message on macOS Apple Terminal, with some settings.
```
$ LANG=C irb
irb(main):001:0>
stty: 'standard input': unable to perform all requested operations
stty: 'st... -
05:38 PM Revision 473e3147 (git): Prefer dedecated assertions
-
05:31 PM Revision 0be0d90a (git): pack is not using invokebuiltin anymore
-
03:29 PM Revision fea24bbf (git): Fix glob base in bundler.gemspec
-
03:29 PM Revision 9aa75795 (git): Skip some tests if extracted from tarball
-
03:29 PM Revision e9992bca (git): Allow unknown if ruby core
- 03:27 PM Revision 9067f43c (git): * 2019-11-19 [ci skip]
-
03:25 PM Revision 0c0278b9 (git): test/-ext-/string/test_fstring.rb: suppress a warning for taint
-
03:12 PM Revision 373769c9 (git): NEWS: Add an example for the warning of "yield in singleton class"
-
02:16 PM Revision f09fc1b0 (git): Dependents on probes.h need the dummy header too
-
02:16 PM Revision e1b23414 (git): Update dependencies
-
01:16 PM Feature #15563: #dig that throws an exception if a key doesn't exist
- Removed the two discussion points in the previous edit. This edit adjusts the last sentence to reflect this.
-
01:08 PM Feature #15563: #dig that throws an exception if a key doesn't exist
- Changed naming from `#dig_e` to `#traverse`. Removed alternative options, and kept the strict version since `#fetch` is also strict. Possibility to expand upon this with a block or `:default` keyword argument is possible, but should be i...
-
11:39 AM Feature #16352 (Open): Modify Marshal to dump objects larger than 2 GiB
- Using a gem called Numo-array to handle matrix operations, I found the following error while saving a large matrix:
```
in `dump': long too big to dump (TypeError)
```
Github thread is https://github.com/ruby-numo/numo-narray/iss... -
09:42 AM Revision 39492d6c (git): Build ruby-runner
-
09:42 AM Revision 227220b2 (git): Skip dependencies on timestamp files
-
09:42 AM Revision 209164e4 (git): Renamed assembly file like as e64f71f812324d098bed12ed68c2bc1d6e780c90
-
09:28 AM Revision 7a9b2039 (git): delete unused codes
- Suppress compiler warnings.
-
08:48 AM Misc #16124: Let the transient heap belong to objspace
- > Some internal transient heap structs moved to the header file now leaks into all other reference sites where this source file (transient_heap.c) as previously just used for API
not a big issue, but I don't want to expose them...
-
04:53 AM Revision 57cd4623 (git): should not use __func__
-
03:44 AM Bug #16349 (Closed): Logger shift_age of 0 disables shift_size
-
01:39 AM Bug #16349: Logger shift_age of 0 disables shift_size
- I think this is a documentation bug, since the comment makes it explicit that shifting is always disabled if shift_age is 0. I submitted a pull request to update the documentation: https://github.com/ruby/logger/pull/43 .
-
03:42 AM Feature #16348: Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
- I personally think that we should be restrictive in adding new methods to `Symbol`. Otherwise, this very quickly becomes a slippery slope, and the distinction between `Symbol` and `String` becomes less and less clear.
I was personally... -
12:12 AM Feature #16348: Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
- naruse (Yui NARUSE) wrote:
> ```diff
> ...
`str` should be `sym`. -
02:05 AM Revision 22c95049 (git): rb_tainted_str_new_with_enc is no longer used
-
01:36 AM Revision 5e34ab54 (git): add casts.
- add casts to avoid compile error.
http://ci.rvm.jp/results/trunk_clang_39@silicon-docker/2402215 -
01:24 AM Revision c3693bba (git): catch up last commit.
- Array#pack uses `opt_invokebuiltin_delegate_leave` now.
-
01:16 AM Revision 71fee9bc (git): vm_invoke_builtin_delegate with start index.
- opt_invokebuiltin_delegate and opt_invokebuiltin_delegate_leave
invokes builtin functions with same parameters of the method.
This technique eliminate stack push operations. However, delegation
parameters should be completely same as giv... -
01:16 AM Revision 93ce4f1c (git): update deps.
- https://travis-ci.org/ruby/ruby/jobs/613242256#L2205
11/17/2019
-
11:41 PM Bug #16339: Forwardable#def_delegator warns and is incorrect on trunk when passed keyword arguments
- Looks like the forwardable keyword argument support was never merged. My previous attempt, developed before `ruby2_keywords`, added `**kw` to method definition and method calls on 2.7+. I've updated the pull request to use `ruby2_keywo...
-
11:14 PM Feature #16131 (Closed): Remove $SAFE, taint and trust
- I merged these changes at commit:4c7dc9fbe604cc0c8343b1225c96d4e5219b8147 . Still one failing CI test, but the same one that is failing in the master branch for a few days, related to makefile dependencies.
- 11:00 PM Revision b7539298 (git): * remove trailing spaces. [ci skip]
-
11:00 PM Revision 4c7dc9fb (git): Update NEWS for $SAFE/taint changes
-
11:00 PM Revision 3a0de05b (git): Remove mention of $SAFE and taint from doc [ci skip]
-
11:00 PM Revision c257303a (git): Deprecate rb_eval_cmd, add rb_eval_cmd_kw
- rb_eval_cmd takes a safe level, and now that $SAFE is deprecated,
it should be deprecated as well.
Replace with rb_eval_cmd_kw, which takes a keyword flag. Switch
the two callers to this function. -
11:00 PM Revision d03da13b (git): [ruby/strscan] Remove taint support
- Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions. -
11:00 PM Revision afbd8f38 (git): [ruby/openssl] Remove taint support
- Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions. -
11:00 PM Revision 17e8a6ef (git): [ruby/io-console] Remove taint support
- Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions. -
11:00 PM Revision 398cd3cc (git): [ruby/etc] Remove taint support
- Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions.
Still untaint the tmpdir object on Ruby <2.7, as returning
a tainted string there could cause prob... -
11:00 PM Revision 23f1fb06 (git): [ruby/rss] Only check taint on Ruby <2.7
- Ruby 2.7 deprecates taint and it no longer has an effect.
-
11:00 PM Revision 50013f7e (git): [ruby/rexml] Only taint on Ruby <2.7
- Ruby 2.7 deprecates taint and it no longer has an effect.
-
11:00 PM Revision ab42e5a4 (git): More fixes for $SAFE/taint post merging
-
11:00 PM Revision ffd0820a (git): Deprecate taint/trust and related methods, and make the methods no-ops
- This removes the related tests, and puts the related specs behind
version guards. This affects all code in lib, including some
libraries that may want to support older versions of Ruby. -
11:00 PM Revision c5c05460 (git): Warn on access/modify of $SAFE, and remove effects of modifying $SAFE
- This removes the security features added by $SAFE = 1, and warns for access
or modification of $SAFE from Ruby-level, as well as warning when calling
all public C functions related to $SAFE.
This modifies some internal functions that to... - 06:25 PM Revision 7b6a8b5b (git): * 2019-11-18 [ci skip]
-
06:23 PM Revision 7c6bedfe (git): Remove unnecessary check
-
04:49 PM Bug #16351: Why do Keyword arguments to initialize allocate a Hash, but not for other methods?
- nobu (Nobuyoshi Nakada) wrote:
> By changing the last calling line as the following with making that `initialize` method public, you could observe the same numbers as `FooWithPlainParams`.
> ...
I'd like to add a note: `allocate.initia... -
02:16 PM Bug #16351 (Closed): Why do Keyword arguments to initialize allocate a Hash, but not for other methods?
- `FooWithKeyword#initialize` method is not called directly, but via `Class#new`.
A `Hash` is needed to delegate the keyword arguments.
By changing the last calling line as the following with making that `initialize` method public, you c... -
12:54 PM Bug #16351 (Closed): Why do Keyword arguments to initialize allocate a Hash, but not for other methods?
- Hello, while working on improving memory allocations in one of my apps, I stumbled upon the following behavior. I measured three different ways of passing variables to a new `Object`, using plain params, using a hash and using keyword ar...
-
02:32 PM Revision e7c5c600 (git): [ruby/irb] Remove ruby-token.rb from spec.files
- https://github.com/ruby/irb/commit/0180dc74bc
-
02:32 PM Revision be95d591 (git): [ruby/irb] Version 1.1.0.pre.4
- https://github.com/ruby/irb/commit/4945d0e676
-
02:32 PM Revision 910f9b83 (git): [ruby/reline] Version 0.0.5
- https://github.com/ruby/reline/commit/d57c7ea252
-
02:20 PM Feature #16348: Proposal: Symbol#start_with?, Symbol#end_with?, and Symbol#include?
- ```diff
diff --git a/string.c b/string.c
index 554aabad4b..d53fdc89fd 100644
--- a/string.c
+++ b/string.c
@@ -11166,6 +11166,64 @@ sym_swapcase(int argc, VALUE *argv, VALUE sym)
return rb_str_intern(rb_str_swapcase(argc, argv... -
11:14 AM Feature #16345: Don't emit deprecation warnings by default.
- sam.saffron (Sam Saffron) wrote:
> A lot faster than no warning at all? Was just concerned looking up the callsite and a hashtable lookup might have some sort of cost. Also this technically will leak memory for the lifetime of the proce... - 04:12 AM Revision a8e4a9f0 (git): * 2019-11-17 [ci skip]
-
04:11 AM Revision 449b2b92 (git): Fix typos