Project

General

Profile

Activity

From 02/04/2018 to 02/10/2018

02/10/2018

11:38 PM Bug #14461: Public SecureRandom.alphanumeric method does not appear in rdoc generated documentation
Apologies, this looks like a bug in rdoc that was resolved late 2017:
https://github.com/ruby/rdoc/pull/435
I've confirmed I can see `.alphanumeric` method in my own local rdoc (v6.0.1) output. Informed the maintainers of http://r...
f3ndot (Justin Bull)
07:46 PM Bug #14461 (Rejected): Public SecureRandom.alphanumeric method does not appear in rdoc generated documentation
The `private def` keywords for methods above the `SecureRandom.alphanumeric` definition (method via #10849) appear to have caused rdoc generation to not output anything for the method.
See http://ruby-doc.org/stdlib-2.5.0/libdoc/secur...
f3ndot (Justin Bull)
09:23 PM Feature #14462 (Closed): MJIT enabled should be displayed in the version string
Whether or not MJIT is enabled will probably be an important part of diagnosing bugs. It's also useful for when benchmarking - we often run benchmarks with `-v`, and other implementations that have JITs give information about whether the... chrisseaton (Chris Seaton)
04:54 PM Revision aea14e68 (git): insns.def: cache nil const
* insns.def (getinlinecache): Qnil is a valid value as a constant.
this can be observable when accessing a deprecated constant
which is nil. non-nil constant is warned just once for each
location, but every time if it is nil.
git...
nobu (Nobuyoshi Nakada)
04:09 PM Revision 7b6f0478 (git): * 2018-02-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:09 PM Revision 92413440 (git): test_jit.rb: cover most insn compilations
test_compile_insns has only basic tests to improve coverage.
Other severer tests should be added with different names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
10:07 AM Revision b40f9d55 (git): mjit_config.h: show content if verbose
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:07 AM Revision a16e93fb (git): mjit.c: constified command arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:42 AM Revision 1a873c6a (git): vcs.rb: dryrun: option of GIT::SVN#commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:38 AM Revision 9a63e76b (git): select each files for architectures
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:22 AM Revision f6ca5edf (git): mjit_config.h
* Makefie.in, win32/Makefile.sub: make mjit_config.h from
configured variables, including necessary options, e.g., `-m32`
for 32bit binary on 64bit platform.
* mjit.c: always use configured CC command. as config.h depends
on the ...
nobu (Nobuyoshi Nakada)
06:02 AM Revision 61f26a1b (git): .gdbinit (print_lineno): support a succinct bitvector implementation [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
01:55 AM Revision 5b794fee (git): mjit.c: replaced magic numbers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:28 AM Revision 0e1a5ece (git): mjit_compile.c: original_body_iseq
* mjit_compile.c (mjit_compile): name the original iseq pointer to
eliminate magic numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:23 AM Revision 9da6b8df (git): mjit.c: chomp suffix first
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:07 AM Revision b30b1c13 (git): mjit.c: binary mode
* mjit.c (convert_unit_to_func): write source code in binary
mode. not conversion is needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:31 AM Feature #14460 (Closed): Speed up `require` and reduce memory usage
Hi,
I've attached a patch that speeds up require and reduces memory usage. Before this patch, we could copy copy keys using `rb_strdup` for the `loaded_features_index` table. This patch changes the hash population functions to just ...
tenderlovemaking (Aaron Patterson)

02/09/2018

03:28 PM Revision 72ebd855 (git): append_str don't look the length of string
* mjit.c (compile_c_to_so): use append_str2() and pass the length of
so_name. append_str() uses the size of the 2nd argument, not the
length of it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62337 b2dd03c8-3...
U.Nakamura
03:21 PM Revision 660e1dca (git): * 2018-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision 57c1d434 (git): mjit.c: set umask
* mjit.c (start_process): set umask so other users cannot access
generated files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:21 PM Revision 932f46ae (git): mjit.c: exclusively create
* mjit.c (convert_unit_to_func): create new file exclusively.
overwriting existing file could cause security issues.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:10 PM Bug #14459 (Closed): Unexpected compile error in 2.5.0
Applied in changeset trunk|r62333.
----------
compile.c: popped hash
* compile.c (compile_array): skip creating new hash if preceeding
elements are popped all. [ruby-core:85486] [Bug #14459]
nobu (Nobuyoshi Nakada)
03:36 AM Bug #14459: Unexpected compile error in 2.5.0
`git bisect` tells that this is since r61329 [Bug #14201].
```
$ git checkout 5c3f9641c0475b6ec2e26c8e6df921abf47856ca~
Previous HEAD position was 5c3f9641c0... compile.c: side effect in splat
HEAD is now at 494b3aeaea... Use syswr...
wanabe (_ wanabe)
12:20 AM Bug #14459 (Closed): Unexpected compile error in 2.5.0
I created this script as test.rb.
~~~ ruby
h = { us: 'dollar', india: 'rupee' }
# 変数hのキーと値を**で展開させる
{ japan: 'yen', **h } #=> {:japan=>"yen", :us=>"dollar", :india=>"rupee"}
# **を付けない場合は構文エラーになる
# { japan: 'yen', h }
#=> Synta...
jnchito (Junichi Ito)
02:09 PM Revision 63abedab (git): compile.c: popped hash
* compile.c (compile_array): skip creating new hash if preceeding
elements are popped all. [ruby-core:85486] [Bug #14459]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:14 PM Revision 1a45a3a7 (git): transform_mjit_header.rb: fix typo in r62326
Today's AIX CI failed due to this... :innocent:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
11:21 AM Bug #8082 (Rejected): Ruby i686-nacl builds but doesn't run correctly
nacl support was removed at Ruby 2.5. hsbt (Hiroshi SHIBATA)
06:06 AM Bug #8274 (Assigned): No tests for PKCS7::write_smime
hsbt (Hiroshi SHIBATA)
03:51 AM Revision f6ea9726 (git): Makefile.sub: MESSAGE_BEGIN/END redirection
* win32/Makefile.sub (MESSAGE_BEGIN, MESSAGE_END): group the whole
`for` command, to redirect all lines but not overwrite line by
line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:37 AM Revision 19647698 (git): Makefile.in: removed duplicate SET_LC_MESSAGES
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:15 AM Revision 1fd1fb2f (git): debug_counter.h: include __FILE__ to recurse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:15 AM Revision d4d966f9 (git): sprintf.c: overflow check
* sprintf.c (ruby_do_vsnprintf): pathologically, get rid of
negative value when the result length exceeds INT_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:32 AM Revision bf618557 (git): .travis.yml: force to execute JIT test on Travis
test_jit.rb: with environment variable RUBY_FORCE_TEST_JIT, we can force
to test JIT availability.
I wanted to have such CI, but Travis was the only option which I can
modify easily.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62...
k0kubun (Takashi Kokubun)
12:00 AM Revision 211ff949 (git): transform_mjit_header.rb: pass -std=c99 for AIX gcc
I heard `error: conflicting types for 'restrict'` can be solved by
adding `-std=c99`.
Ideally we should use the same cflags which are used to compile vm.c,
but let me try this and see what happens on AIX.
git-svn-id: svn+ssh://ci.ruby-...
k0kubun (Takashi Kokubun)

02/08/2018

08:04 PM Bug #14458: RubyVM::InstructionSequence compilation loses Regexp encoding
Aha!
I remember several months ago having had some problems with
encoding + regexes. I do not remember what was the ultimate cause, and
it may be totally unrelated to what you described above; but I also
wholeheartedly agree with ...
shevegen (Robert A. Heiler)
02:40 PM Bug #14458 (Rejected): RubyVM::InstructionSequence compilation loses Regexp encoding
We appear to be losing encoding information for a Regexp object when we pass it through the compiler:
~~~ ruby
irb(main):001:0> "Test".encoding
=> #<Encoding:UTF-8>
irb(main):002:0> RubyVM::InstructionSequence.compile("'Test'.encod...
dannyfallon (Danny Fallon)
06:51 PM Revision 0c8a6c91 (git): refoctoring
* mjit.c (compile_c_to_so): refactored.
* mjit.c (init_header_filename): xmalloc never returns NULL.
* mjit.c (init_header_filename): report the filename of the header if failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6232...
U.Nakamura
06:48 PM Revision 355b147f (git): missing macro definition
* win32/Makefile.sub (RUBY_VERSION_NAME): used in this file but not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:47 PM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Two comments:
1. having block form only defeats any performance gain as executing blocks have a measurable cost. It may be nice to have though in addition to simple nil return form.
1. it would be really nice if Ruby had some API co...
enebo (Thomas Enebo)
12:49 PM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Since `Integer()` has `radix` optional argument, new optional argument might be confusing.
A keyword argument or a block would be better, I think.
nobu (Nobuyoshi Nakada)
03:47 PM Revision d2b9f5b3 (git): mjit.c: rb_w32_system_tmpdir is not in headers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:46 PM Revision 60ea4d03 (git): mjit.c: revert r62316 partially
* mjit.c (compile_c_to_so): libs is not constant on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:22 PM Revision 472d910a (git): Fix compile error when USE_COPY_FILE_RANGE is defined but not USE_SENDFILE
io.c: Variable and label definition are necessary in both cases.
From: Lars Kanis <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:21 PM Bug #14357: thread_safe tests suite segfaults
On 02/07/2018 06:19 PM, Eric Wong wrote:
> [email protected] wrote:
>> The GIL guarantees all C code is executed with the GIL held, so C code always perfectly sees effects performed by C code of other threads
>> (except rb_thread_ca...
vmakarov (Vladimir Makarov)
03:19 PM Revision 4b8719c1 (git): MJIT header for multiarch
* configure.ac: MJIT_HEADER_INSTALL_DIR to rubyarchhdrdir to
support multiarch.
* Makefile.in (MJIT_HEADER_INSTALL_DIR): configured by multiarch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62320 b2dd03c8-39d4-4d8f-98ff-823fe69...
nobu (Nobuyoshi Nakada)
03:19 PM Revision 251f8be7 (git): mkconfig.rb: hide MJIT configurations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:00 PM Revision b2104fa8 (git): mjit.c: ruby_version from version.c
* mjit.c (init_header_filename): get version name from the
particular global variable, not from the macro in version.h.
to get rid of re-compilation for each revision.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62318 b2dd03c8...
nobu (Nobuyoshi Nakada)
03:00 PM Revision 4f6e16bd (git): * 2018-02-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision cb2fd073 (git): mjit.c: argument arrays
* mjit.c (compile_c_to_so): constified constat array and make
variable arrays local.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:59 PM Revision a124f33d (git): gmake.mk: tool/ifchange needs miniruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:15 PM Bug #14446: Solaris 10 上の Oracle Developer Studio 12.5 および 12.6 の64ビットコンパイル時のmjit関係のエラー
Close済ですが追記します。
r62240 にて -m64 などの ARCH_FLAG がmjitヘッダ生成時に渡るようになり、(r62285 より前の時点で)Ruby本体のビルド自体はエラー無く正常終了するようになっていました。(r62265 にて確認)
なお、生成されたヘッダを使ったJITは残念ながら上手くいかないようでしたが詳細は未確認です。それが必要になったら別チケットを切ります。
ngoto (Naohisa Goto)
01:56 PM Revision 5e091255 (git): test_jit.rb: don't force to test --jit-wait
for platforms which can't use JIT. Such platforms can time out with
eval_with_jit.
http://ci.rvm.jp/results/trunk_gcc5@silicon-docker/509911
http://ci.rvm.jp/results/trunk_gcc4@silicon-docker/509904
git-svn-id: svn+ssh://ci.ruby-lang.o...
k0kubun (Takashi Kokubun)
01:54 PM Revision 288b4432 (git): Export some missing symbols for MJIT
tool/ruby_vm/views/_insn_name_info.erb: on Linux, rb_vm_insn_name_offset
was needed to compile with --jit-debug (Usually --jit-debug requires
more symbols than the situation without --jit-debug because -O2 skips
some functions to compile...
k0kubun (Takashi Kokubun)
01:40 PM Revision 7c388740 (git): test_jit.rb: fix typo
This is notified by zns-san.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:20 PM Bug #14445: MJIT: Determine path of mjit header and libruby at runtime
[email protected] wrote (but seems not posted to redmine):
> Thank you Vladimir for this hint! I also think that profiling gcc makes sense, to find the root cause of this slowness, before adding iseq batching. Anyhow with the RT...
k0kubun (Takashi Kokubun)
01:02 PM Bug #14433: Error with Trailblazer Wrap using ruby 2.5.0
k0kubun (Takashi Kokubun) wrote:
> Please quote the actual line in the library to report an issue.
> ...
I use Wrap in a such way:
Unroot (Vladisalv Volkov)
01:01 PM Revision 1491ef54 (git): test_jit.rb: add forgotten check
I was going to check this in r62310...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:58 PM Revision 7e57ff99 (git): test_jit.rb: check JIT support more conservatively
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
12:43 PM Revision 0468f136 (git): test_jit.rb: remove unnecessary require
At first I was going to check the name of `RbConfig::CONFIG['CC']` and
use shellwords for it, but I decided not to do so.
Thus removing obsoleted require in r62307.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62309 b2dd03c8-39d4-...
k0kubun (Takashi Kokubun)
12:40 PM Revision 9bb4e31d (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:40 PM Revision 1b83975a (git): test_jit.rb: try to test JIT again
This commit reverts r62297, revising the check if JIT is supported or
not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:51 AM Feature #8263: Support discovering yield state of individual Fibers
You can solve your issue by using [anti google gravity underwater](http://www-googlegravity.com/) googlefeud (google feud (spammer, locked))
09:46 AM Feature #9686: Syntax for symbols used in hashes
You can solve your issue by using [oogle classroom login](http://www-googleclassroom.com/) googlefeud (google feud (spammer, locked))
08:09 AM Revision ec0a0da8 (git): internal.h: moved ruby_null_device declaration
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:49 AM Revision c4d09fb2 (git): thread.c: suppress a warning
* thread.c (do_select): initialize timespec variable to suppress a
false positive maybe-uninitialized warning by gcc 7 and 8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:49 AM Revision d9533a08 (git): common.mk: add dependencies and timestamp
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:34 AM Revision db0a4df6 (git): revert r62302 and force to define the version constant
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:23 AM Revision db528860 (git): no need to set bundled bundler unless Gem::USE_BUNDLER_FOR_GEMDEPS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:14 AM Revision 7410e17f (git): test_gem_commands_setup_command.rb: BUNDLER_VERS
* test/rubygems/test_gem_commands_setup_command.rb: run bundled
gem command, instead of installed one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:56 AM Feature #14362: use BigDecimal instead of Float by default
I think it would be good if some of the proponents of this feature would do a careful speed analysis. My personal guess is that it would get considerably, and unpredictably, slower in many cases. After all, floating point numbers are sup... duerst (Martin Dürst)
02:08 AM Revision 4695019a (git): ifchange: --debug option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:08 AM Revision d34e5057 (git): ifchange.bat: --color option
* win32/ifchange.bat: added --color option for the compatibility
with tool/ifchange. do nothing right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:00 AM Revision e5f0a4b2 (git): mjit.c: make filename in allocated buffer
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:55 AM Revision 571bb734 (git): revert r62291 for now
While some of CIs are succeeding and the test succeeds on my laptop,
some other CIs are failing. As I don't have time to fix it until I come
back to home, reverting this for now.
Failures:
https://rubyci.org/logs/www.rubyist.net/~akr/ch...
k0kubun (Takashi Kokubun)
12:25 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> How long does it release the GVL for?
I would see it heavily depends on workload, but usually for our loads it is milliseconds for v8 work, in PGs case shortest duration is probably 0.5ms with a median more around 4-5ms
I would...
sam.saffron (Sam Saffron)
12:22 AM Bug #14457: --jit outputs error when script changes $TMPDIR
I also confirmed to fix my error report. hsbt (Hiroshi SHIBATA)

02/07/2018

11:21 PM Bug #14357: thread_safe tests suite segfaults
[email protected] wrote:
> The GIL guarantees all C code is executed with the GIL held, so C code always perfectly sees effects performed by C code of other threads
> (except rb_thread_call_without_gvl but it is not used here, is it?...
normalperson (Eric Wong)
10:50 PM Bug #14357: thread_safe tests suite segfaults
The GIL guarantees all C code is executed with the GIL held, so C code always perfectly sees effects performed by C code of other threads
(except rb_thread_call_without_gvl but it is not used here, is it?).
In this case: is the code ...
Eregon (Benoit Daloze)
05:22 PM Bug #14357: thread_safe tests suite segfaults
Vladimir Makarov <[email protected]> wrote:
> On 02/06/2018 02:38 PM, Eric Wong wrote:
> >Vladimir Makarov <[email protected]> wrote:
> >>On 02/06/2018 05:00 AM, Eric Wong wrote:
> >>>during rebuild. Disabling the free(tab->ent...
normalperson (Eric Wong)
03:51 PM Bug #14357: thread_safe tests suite segfaults
On 02/06/2018 02:38 PM, Eric Wong wrote:
> Vladimir Makarov <[email protected]> wrote:
>> On 02/06/2018 05:00 AM, Eric Wong wrote:
>>> during rebuild. Disabling the free(tab->entries) at line
>>> st.c:792 (patch below) seems to i...
vmakarov (Vladimir Makarov)
11:05 PM Feature #14362: use BigDecimal instead of Float by default
I don't think anyone is arguing that this fixes everything or is "a magic bullet". I think most developers are familiar with the inaccurate nature of division on computers. Most would expect that "1/3" will be something like "0.33". Howe... AaronLasseigne (Aaron Lasseigne)
08:33 PM Bug #14456: Dir.glob with FNM_CASEFOLD gives ArgumentError: invalid byte sequence in UTF-8
shevegen (Robert A. Heiler) wrote:
> Not sure if it can be removed, but I think you can change the status
> ...
Someone did, thanks!
> To the bug report, just out of curiosity, can you avoid the UTF
> ...
Yes: `Dir.glob('*a'.encode...
Gondolin (Damien Robert)
07:23 PM Bug #14435: Time#gettime slow performance in forked process
Ah, interesting. I looked around for other issues related to `tzset` and found this:
https://stackoverflow.com/questions/41353532/why-is-time-utc-slower-in-a-forked-process-in-ruby-on-os-x-and-not-in-python/41371753
I did confirm t...
bryanp (Bryan Powell)
07:17 PM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Something like `Integer(x, rescue: default_value)` is fine for me too, (or `Integer(x, ->() { default_value })`, which is similar to `[].find(->() { missing_value }) { ... }`) Configuring with a default value seems more flexible. tenderlovemaking (Aaron Patterson)
06:12 PM Bug #14453: Crash in w32_cmdvector() if MS Application Verifier is enabled
Thanks for the link, the change in git indeed looks like a fix.
I will try the new version and let you know.
PetrH (Petr Hluzin)
10:38 AM Bug #14453 (Closed): Crash in w32_cmdvector() if MS Application Verifier is enabled
It seems fixed at r57637, https://github.com/ruby/ruby/commit/9019934c64c723e0f09e5cfe30e87d44ee116391. nobu (Nobuyoshi Nakada)
04:56 PM Revision 2d6807ac (git): error.c: export rb_assert_failure
to test JIT with `VM_CHECK_MODE=1`
It's failing on CI which enables VM_CHECK_MODE.
: 1)
: TestJIT#test_jit [/home/ko1/ruby/src/trunk-vm-asserts/test/ruby/test_jit.rb:10]:
: Expected 1 times of JIT success, but succeeded 0 times.
: ...
k0kubun (Takashi Kokubun)
04:39 PM Revision 4d0ce03c (git): .travis.yml: try `make install` to test JIT
If header is not available, JIT won't be tested.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
04:28 PM Revision 686424ea (git): test_jit.rb: make JIT count test optional
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
04:15 PM Revision 89352607 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:15 PM Revision d58a2500 (git): * 2018-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:15 PM Revision af278e8a (git): test_jit.rb: add initial test for JIT
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
02:54 PM Bug #14457 (Closed): --jit outputs error when script changes $TMPDIR
It seems that it's no longer reproductive. I guess it's fixed by r62278. k0kubun (Takashi Kokubun)
02:25 PM Revision cf03675c (git): transform_mjit_header.rb: very verbose error log
for debugging AIX..... I have no idea why AIX's gcc is failing to
transform MJIT header....
Today's CI output:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20180207T113303Z.log.html.gz#make
git-svn-id: svn+s...
k0kubun (Takashi Kokubun)
02:13 PM Revision 93f06137 (git): mjit.c: untabified [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:08 PM Revision 612985f5 (git): mjit.c: fix -Wdiscarded-qualifiers warning
../mjit.c: In function ‘system_tmpdir’:
../mjit.c:1231:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
tmpdir = "/tmp";
^
../mjit.c: At top level:
git-svn-id: svn+ssh://ci.r...
k0kubun (Takashi Kokubun)
02:01 PM Revision 13b376c5 (git): transform_mjit_header.rb: apply Regexp.escape
to prevent future breakage
Following up r62285
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:57 PM Revision 4d351c7b (git): Remove redundant RTEST
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:48 PM Bug #14446 (Closed): Solaris 10 上の Oracle Developer Studio 12.5 および 12.6 の64ビットコンパイル時のmjit関係のエラー
Applied in changeset trunk|r62285.
----------
transform_mjit_header.rb: ignore unsupported cc
to generate MJIT header.
Even if we can't build MJIT header, Ruby's build should success. And
compilers which are not explicitly supported a...
k0kubun (Takashi Kokubun)
01:48 PM Revision 646b24a9 (git): transform_mjit_header.rb: ignore unsupported cc
to generate MJIT header.
Even if we can't build MJIT header, Ruby's build should success. And
compilers which are not explicitly supported are likely to fail to
transform MJIT header.
Also you can pass only gcc or clang to --jit-cc=xxx...
k0kubun (Takashi Kokubun)
01:45 PM Revision ec993c1e (git): defs/gmake.mk: make universal mjit_min_header link
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:41 PM Revision a8c03c45 (git): mjit.c: system_tmpdir
* mjit.c (system_tmpdir): use system provided temporary directory,
and TMPDIR as well as mktemp(1), before TMP and "/tmp".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:27 PM Revision 4651988d (git): .gitignore: ignore min header for in-place build
In some revision, the build directory of minimized header is changed,
and then it's no longer ignored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:26 PM Revision 0dd0971e (git): mjit.c: fix buffer overflow
* mjit.c (sprint_uniq_filename): get rid of silent buffer
overflow.
* mjit.c (get_uniq_filename, convert_unit_to_func): allocate
enough buffer before formatting.
* mjit.c (convert_unit_to_func): use DLEXT instead of hard coded
ex...
nobu (Nobuyoshi Nakada)
12:34 PM Bug #14447: Solaris 10 上の古いFujitsu C Compiler(fcc)のmjit関係のエラー
標準出力に出るのであれば、 `make 'CPPOUTFLAG=>' mjit-heaers` などでできないでしょうか。 nobu (Nobuyoshi Nakada)
11:44 AM Revision a08ab9d1 (git): mjit.c: windows should include fcntl.h too
Fixing build failure on mswin by r62279
mjit.c
../mjit.c(1137) : error C2065: 'O_RDONLY' : undeclared identifier
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
...
k0kubun (Takashi Kokubun)
08:14 AM Revision 2cb31e53 (git): mjit.c: FD instead of FILE
* mjit.c (init_header_filename): just FD instead of FILE to check
file is accessible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:48 AM Revision 039db0d2 (git): mjit.c: fd is no longer valid after fclose
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:29 AM Revision c5e11452 (git): mjit.c: fix declaration of ruby_null_device
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:49 AM Revision 76c5787c (git): thread.c: int32_t instead of suseconds_t
* thread.c (timeval_for): cast to int32_t instead of suseconds_t,
which is not defined non-POSIX platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:14 AM Revision b0cf1c23 (git): fix up r62272
* thread.c (timeval_for): tv_usec is suseconds_t which may be
smaller than long.
* thread_pthread.c (native_cond_timeout): ret is now used in
CLOCK_MONOTONIC case only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62275 b2dd03...
nobu (Nobuyoshi Nakada)
04:04 AM Revision 714836c1 (git): remove declaration of ruby_engine from internal.h
* internal.h (ruby_engine): remove declaration of ruby_engine because
it's declared at ruby/version.h.
* ruby.c: include ruby/version.h for ruby_engine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62274 b2dd03c...
U.Nakamura
03:21 AM Revision da83d210 (git): mjit mswin support (WIP)
* mjit.c (compile_c_to_so): fixed broken xfree position.
* mjit.c (init_header_filename): refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:00 AM Bug #14403: Crash and coredump (Stack consistency error) on ruby 2.5.0
Hello jonathan,
This ticket was marked as duplicated with [Bug #14273] by nobu.
[Bug #14273] was closed by changesets r61617 and r61618.
I hope this issue was fixed in trunk.
nobu also mark this ticket as "REQUIRED to be backport...
nagachika (Tomoyuki Chikanaga)
01:57 AM Feature #14452 (Closed): [PATCH] thread.c: favor timespec internally
Applied in changeset trunk|r62272.
----------
thread.c: favor timespec internally
This results in fewer conversion on common modern systems with
support for clock_gettime, pthread_cond_timedwait and ppoll.
gettimeofday is declared obso...
Anonymous
01:57 AM Revision 0abd9b7f (git): thread.c: favor timespec internally
This results in fewer conversion on common modern systems with
support for clock_gettime, pthread_cond_timedwait and ppoll.
gettimeofday is declared obsolete by POSIX.1-2008, so it is yet
another reason to move away from it. This also a...
Eric Wong
12:56 AM Bug #14454 (Closed): Dir.glob with FNM_CASEFOLD gives ArgumentError: invalid byte sequence in UTF-8
duerst (Martin Dürst)
12:55 AM Bug #14455 (Closed): Dir.glob with FNM_CASEFOLD gives ArgumentError: invalid byte sequence in UTF-8
duerst (Martin Dürst)

02/06/2018

11:52 PM Revision b16eaf86 (git): lib/ostruct.rb: Use `FrozenError` instead of `RuntimeError`.
Patch by Yuuji Yaginuma. [Fixes GH-1808]
In other classes, `FrozenError` will be raised if change the frozen
object.
In order to match the behavior, I think that `FrozenError` should
use in `OpenStruct`.
git-svn-id: svn+ssh://ci.ruby-l...
Marc-Andre Lafortune
11:48 PM Feature #12032 (Closed): Matrix.rb ruby documentation
marcandre (Marc-Andre Lafortune)
11:47 PM Revision d3513d31 (git): lib/matrix.rb: Document deprecated methods [#12032] [doc] [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:40 PM Revision d3a76565 (git): common.mk: can't rescue NotImplementedError by default
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:40 PM Revision f0137f05 (git): share ruby_null_device
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:29 PM Bug #14403: Crash and coredump (Stack consistency error) on ruby 2.5.0
Hello, can you explain why this issue closed?
I hope it is seen as a bug? While small changes make it not reproduce, I believe a core dump crash is a bug regardless? Especially when did not that cause that on earlier versions of ruby?
jrochkind (jonathan rochkind)
09:30 PM Bug #14435: Time#gettime slow performance in forked process
After searching around, it looks like this is related to `tzset` implementation on macOS:
https://stackoverflow.com/questions/27932330/why-is-tzset-a-lot-slower-after-forking-on-mac-os-x
This seems like something that should be f...
tenderlovemaking (Aaron Patterson)
08:53 PM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
Please add as related: https://bugs.ruby-lang.org/issues/6739
That's a proposal to eliminate the problem described here (antipattern usage because it swallows exceptions) by extending the one-line rescue statement with a possibility t...
Quintus (Marvin Gülker)
07:42 PM Bug #14357: thread_safe tests suite segfaults
Vladimir Makarov <[email protected]> wrote:
> On 02/06/2018 05:00 AM, Eric Wong wrote:
> >during rebuild. Disabling the free(tab->entries) at line
> >st.c:792 (patch below) seems to indicate success with the
> >thread_safe test s...
normalperson (Eric Wong)
03:12 PM Bug #14357: thread_safe tests suite segfaults
On 02/06/2018 05:00 AM, Eric Wong wrote:
> Eric Wong <[email protected]> wrote:
>> [email protected] wrote:
>>> https://bugs.ruby-lang.org/issues/14357
>>>
>>> The thread_safe gem is not maintained anymore, but I don't see
...
vmakarov (Vladimir Makarov)
10:12 AM Bug #14357: thread_safe tests suite segfaults
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > https://bugs.ruby-lang.org/issues/14357
> >
> > The thread_safe gem is not maintained anymore, but I don't see
> > any reason why its test suite should seg...
normalperson (Eric Wong)
01:51 AM Bug #14357: thread_safe tests suite segfaults
Eric Wong <[email protected]> wrote:
> Could be a GC problem related to coverage (also [Bug #14334])

Nope, not a fault of coverage. Commented simplecov and
coveralls from spec/spec_helper.rb in thread_safe-0.3.6 and
asan stil...
normalperson (Eric Wong)
06:59 PM Revision d8c19c3e (git): mjit mswin support (WIP)
* win32/Makefile.sub (LIBRUBYARG_SHARED): define for MJIT because it is used in
common.mk.
* mjit.c (make_pch): skip temporary for mswin.
* mjit.c (compile_c_to_so, init_header_filename, mjit_init): mswin support.
* mjig_compile.c (...
U.Nakamura
05:29 PM Bug #14457 (Closed): --jit outputs error when script changes $TMPDIR
Shibata-san reported the following output when running bundler's test with --jit (it looks implicitly passed).
~~~
~/D/g/b/bundler (master) > rspec spec/resolver/basic_spec.rb
Run options: exclude {:bundler=>"=< 2.0", :rubygems_mas...
k0kubun (Takashi Kokubun)
04:57 PM Revision 36991485 (git): mjit.c: make null device portable
for future mswin support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
04:16 PM Revision e31eedbd (git): mjit.c: prefix "_ruby" to precompiled header too
for consistency and to clarify who created it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
04:03 PM Revision 75eff500 (git): ruby.c: add MJIT_FORCE_ENABLE macro
to always enable MJIT for testing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
04:03 PM Revision 54de0079 (git): common.mk: clean mjit headers by clean-local
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:03 PM Revision 15ede8ae (git): mjit.c: try installed header only
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:55 PM Revision 7449619d (git): moved MJIT_CPPFLAGS
* Makefile.in, win32/Makefile.sub (XCFLAGS): moved MJIT_CPPFLAGS
from CPPFLAGS. MJIT_CPPFLAGS is only for mjit.c, unused in
extension libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62261 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
03:31 PM Revision 87b0af2a (git): common.mk: link or copy MJIT_MIN_HEADER under include
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:19 PM Bug #14441 (Closed): Dir.chroot results in segfault when used with --jit
Applied in changeset trunk|r62258.
----------
mjit.c: handle fopen error
[Bug #14441]
k0kubun (Takashi Kokubun)
05:06 AM Bug #14441: Dir.chroot results in segfault when used with --jit
Reproduced on my environment, `ruby 2.6.0dev (2018-02-06 trunk 62242) [x86_64-linux]`.
I guess this is due to missing error-handling for `c_file`.
https://github.com/ruby/ruby/blob/88035b997930bd00c30be7b69de9d855a7f2322e/mjit.c#L701...
wanabe (_ wanabe)
03:19 PM Revision 9f4e80ef (git): * 2018-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 1a64f842 (git): mjit.c: handle fopen error
[Bug #14441]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:12 PM Bug #14445: MJIT: Determine path of mjit header and libruby at runtime
On 02/05/2018 07:25 PM, [email protected] wrote:
> Issue #14445 has been updated by k0kubun (Takashi Kokubun).
>
>
> I agree above batching ideas are worth trying, but I understand current bottleneck of compilation time on MinGW...
vmakarov (Vladimir Makarov)
12:25 AM Bug #14445: MJIT: Determine path of mjit header and libruby at runtime
I agree above batching ideas and having multiple tiers are worth trying, but I understand current bottleneck of compilation time on MinGW comes from the fact that we give up transforming header for Windows.
I guess adding static to non-...
k0kubun (Takashi Kokubun)
02:58 PM Revision 7536797f (git): transform_mjit_header.rb: resurrect `exit false`
which was just unintentionally dropped at r62252.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:45 PM Revision d3e6af00 (git): common.mk: MJIT_CPPFLAGS
* common.mk (MJIT_CPPFLAGS): moved common definition flags for
mjit compilation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:27 PM Revision d409017b (git): mjit_compile.c: fix inconsistent indentation
and style of generated code.
I've used 2-space indentation at first but at some moment I started to
use insns.def contents for generated code. So the 4-space indentation
was introduced. But it does no longer make sense.
git-svn-id: svn...
k0kubun (Takashi Kokubun)
02:07 PM Revision 3cb196f4 (git): mjit_compile.c: share the definition of macros
(IS_ARGS_SPLAT, IS_ARGS_KEYWORD) with vm_args.c.
vm_args.c: share them with mjit_compile.c.
vm_insnhelper.h: get those definitions, with CALLER_SETUP_ARG too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62254 b2dd03c8-39d4-4d8f-98...
k0kubun (Takashi Kokubun)
02:05 PM Bug #14456: Dir.glob with FNM_CASEFOLD gives ArgumentError: invalid byte sequence in UTF-8
> I don't know how to erase the other bug reports.
Not sure if it can be removed, but I think you can change the status
to "closed" (or someone from the ruby core team probably could).
To the bug report, just out of curiosity, can...
shevegen (Robert A. Heiler)
01:48 PM Bug #14456: Dir.glob with FNM_CASEFOLD gives ArgumentError: invalid byte sequence in UTF-8
Apologies for the spam, my browser submitted this bug several times and I don't know how to erase the other bug reports. Gondolin (Damien Robert)
01:43 PM Bug #14456 (Closed): Dir.glob with FNM_CASEFOLD gives ArgumentError: invalid byte sequence in UTF-8
With ruby 2.5.0p0, in a folder that contains a file encoded in latin-1, I get the following error:
~~~ ruby
Dir.glob('*a', File::FNM_CASEFOLD)
ArgumentError: invalid byte sequence in UTF-8
~~~
Note that `Dir.glob('*', File::FNM_...
Gondolin (Damien Robert)
01:58 PM Revision 1c8d2379 (git): Fix wrong comment
`ruby_strdup` does not return NULL.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
01:47 PM Revision dbb63aee (git): transform_mjit_header.rb: add output for debug
AIX's header build is failing like:
./miniruby -I./lib -I. -I.ext/common ./tool/transform_mjit_header.rb "/usr/bin/gcc " rb_mjit_header.h .ext/include/powerpc-aix7.1.3.0/rb_mjit_min_header-2.6.0.h
error in initial header file:
/home/od...
k0kubun (Takashi Kokubun)
01:42 PM Bug #14455 (Closed): Dir.glob with FNM_CASEFOLD gives ArgumentError: invalid byte sequence in UTF-8
With ruby 2.5.0p0, in a folder that contains a file encoded in latin-1, I get the following error:
~~~ ruby
Dir.glob('*a', File::FNM_CASEFOLD)
ArgumentError: invalid byte sequence in UTF-8
~~~
Note that `Dir.glob('*', File::FNM_...
Gondolin (Damien Robert)
01:41 PM Bug #14454 (Closed): Dir.glob with FNM_CASEFOLD gives ArgumentError: invalid byte sequence in UTF-8
With ruby 2.5.0p0, in a folder that contains a file encoded in latin-1, I get the following error:
~~~ ruby
Dir.glob('*a', File::FNM_CASEFOLD)
ArgumentError: invalid byte sequence in UTF-8
~~~
Note that `Dir.glob('*', File::FNM_...
Gondolin (Damien Robert)
01:23 PM Revision 2b90469a (git): mjit.c: suppress unused-value warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:15 PM Feature #13581: Syntax sugar for method reference
sevos (Artur Roszczyk) wrote:
> phluid61 (Matthew Kerwin) wrote:
> ...
Personally I hate it, and never use it. I like my code to say `lambda` when I make a Lambda, and (more often) `proc` when I make a Proc.
> >
> ...
Actually I ...
phluid61 (Matthew Kerwin)
10:52 AM Feature #13581: Syntax sugar for method reference
phluid61 (Matthew Kerwin) wrote:
> sevos (Artur Roszczyk) wrote:
> ...
I totally agree, but we still like -> {} syntax for lambdas, right? Let's play with ideas, maybe we can find something nice for a method selector, too ;)
>
> ....
sevos (Artur Roszczyk)
08:39 AM Feature #13581: Syntax sugar for method reference
sevos (Artur Roszczyk) wrote:
>
> ...
I have two:
1. As always: do we really need more magic symbols? I like reading Ruby because it's *not* Perl.
2. If you're adding new syntax, you don't have to be clever. Symbol has `:"#{x}"...
phluid61 (Matthew Kerwin)
08:19 AM Feature #13581: Syntax sugar for method reference
After a while I am becoming a bigger fan of the triple colon operator. We could implement a class MethodSelector for handling the logic and the operator would be expected to return an instance of the class:
~~~ruby
class MethodSelect...
sevos (Artur Roszczyk)
06:14 AM Feature #13581: Syntax sugar for method reference
Note that `&:` isn't a single operator, but combination of `&` prefix + a part of `:symbol`.
So it should be valid syntax solely without `&`.
nobu (Nobuyoshi Nakada)
12:40 PM Revision 49d78735 (git): Remove unused capture
Because `Regexp#to_s` add `(?-mix:)`, it is not unnecessary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
11:37 AM Feature #11388: SMTP Service Extension for Delivery Status Notifications
evserykh (Evgeniy Serykh) wrote:
>
> ...
No, it's not Postfix's job, it's the client that should be able to specify RCPT extensions, including delivery notifications.
This is a missing feature, affecting me too.
vihai (Daniele Orlandi)
10:36 AM Revision 94d89c27 (git): mjit.c: fixed missing variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:30 AM Revision 4917aef0 (git): mjit.c: build dir prefix
* mjit.c (init_header_filename): prepend basedir to header build
dir too, so that the header can be found when running not in the
build directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62248 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
08:00 AM Revision 427b2ac2 (git): configure.ac: removed unnecessary pushdef/popdef
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:42 AM Revision 422cf109 (git): test_gem_util.rb: fix broken test
* test/rubygems/test_gem_util.rb: no guarantee that tmpdir is
always underneath the root directory at all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:30 AM Feature #12913: A way to configure the default maximum width of pp
nobu (Nobuyoshi Nakada) wrote:
> What about this?
> ...
It seems fine.
akr (Akira Tanaka)
04:47 AM Feature #12913: A way to configure the default maximum width of pp
What about this?
* affects `PP.pp` and `Kernel#pp` only
* try console window size, `COLUMNS` environment variable, then old good 80
```diff
diff --git a/lib/pp.rb b/lib/pp.rb
indiff --git a/lib/pp.rb b/lib/pp.rb
index 85401c8aa...
nobu (Nobuyoshi Nakada)
03:19 AM Revision 88035b99 (git): mjit headers for universal binary
* common.mk (MJIT_HEADER, MJIT_MIN_HEADER): added hook to separate
intermediate headers per archs.
* defs/gmake.mk: build mjit headers per -arch options, and then
merge the headers with `#ifdef`s.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
02:58 AM Revision 7112c6a1 (git): Merge RubyGems-2.7.5 from upstream.
Please see its details: http://blog.rubygems.org/2018/02/06/2.7.5-released.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:33 AM Bug #14448 (Closed): Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
Closed. Thank you for the report! shyouhei (Shyouhei Urabe)
02:29 AM Bug #14448: Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
Shyouhei,
Thank you. Started a local build, and it's gotten past where it failed before. The next Appveyor build runs at Noon JST (~30 minutes from now?)...
Again, thanks for the help. I hate posting about things I can't fix, bu...
MSP-Greg (Greg L)
02:12 AM Bug #14448: Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
@MSP-Greg
I think I fixed this in r62243. Can you try?
shyouhei (Shyouhei Urabe)
01:30 AM Bug #14448: Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
@shyouhei,
Not sure if you're referring to fixing it in ruby/ruby or ruby-loco PKGBUILD. Feel free to make suggestions as to the build script. For someone who doesn't know c, I did the best I could, given that MinGW isn't mswin, but...
MSP-Greg (Greg L)
01:09 AM Bug #14448: Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
Thank you. It seems the problem is autoreconf. I guess it clobbers aclocal.m4 file.
Hang on, I think I can fix it.
shyouhei (Shyouhei Urabe)
01:07 AM Bug #14448: Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
@shyouhei,
You did use the term 'show'. The code (in total) generates all the logs and the Appveyor built title and messages. It also applies a lot of patches, mostly to the test system. The 'PKGBUILD' file is just the prepare/build...
MSP-Greg (Greg L)
12:46 AM Bug #14448: Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
@shyouhei,
Given that I'm not really a c type, please have a look. It's at:
https://github.com/MSP-Greg/ruby-loco/blob/master/PKGBUILD
I can attached it if that would be helpful. The last 'real' commit to the script was in Oct...
MSP-Greg (Greg L)
12:33 AM Bug #14448: Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
RUBY_CHECK_VA_COPY is me. However it's strange because I cannot reproduce. Is it possible for you to show us your build script? shyouhei (Shyouhei Urabe)
02:22 AM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
#13873 seems reverted in order to avoid test changes (incompabitility of the order).
My patch (0001-dir.c-performance-fix-with-braces.patch) passes test-all and test-rubyspec without test changes.
It would be more similar to trunk beha...
h.shirosaki (Hiroshi Shirosaki)
02:21 AM Feature #14370: Directly mark instruction operands and avoid mark_ary usage on rb_iseq_constant_body
[email protected] wrote:
> https://gist.githubusercontent.com/tenderlove/f7fe6e09d6f9cacd3299abdd39fb65b7/raw/9b7dd3718278f7be0eb18bedf94590573e313ab2/resize_array.diff

> Unfortunately this patch also made more calls to mal...
normalperson (Eric Wong)
12:36 AM Feature #14370: Directly mark instruction operands and avoid mark_ary usage on rb_iseq_constant_body
ko1 (Koichi Sasada) wrote:
> > Approximately 60% of the instruction sequences have 0 markable objects. Those 60% account for 35% of the total iseq_encoded that needs to be walked:
> ...
I tried this approach to compare, here is the pat...
tenderlovemaking (Aaron Patterson)
02:08 AM Revision eb537609 (git): deal with aclocal(1)
This commit updates files so that aclocal.m4 generated by aclocal(1)
works well with our configure.ac
* ac_checking.m4: merged back to configure.ac because
aclocal(1) cannot handle this macro.
* ruby_append_op...
shyouhei (Shyouhei Urabe)
01:42 AM Revision 1f003810 (git): thread_pthread.c: cast inside rb_thread_create_mjit_thread
* thread_pthread.c (rb_thread_create_mjit_thread): cast
worker_func pointer to void pointer inside. adjusted to the
declaration in mjit.c and the definition in thread_win32.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62242...
nobu (Nobuyoshi Nakada)
01:42 AM Revision 75ffce28 (git): mjit.c: use ruby_strdup as get_string
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:47 AM Revision 63bbd8ee (git): common.mk: ARCH_FLAG to mjit headers
* common.mk (rb_mjit_header.h, rb_mjit_min_header.h): $(ARCH_FLAG)
is necessary to compile for non-default architecture, e.g.,
32bit build on 64bit platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62240 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
12:19 AM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
Thank you :)
I hope this will work well with your current project.
k0kubun (Takashi Kokubun)

02/05/2018

10:25 PM Bug #14453 (Closed): Crash in w32_cmdvector() if MS Application Verifier is enabled
On Windows, Application Verifier (AV) is a tool by Microsoft that detects common bugs in applications. When AV detects a bug, it usually crashes the process, depending on a kind of the bug.
Steps to reproduce:
1. Enable verification ...
PetrH (Petr Hluzin)
10:22 PM Bug #14445: MJIT: Determine path of mjit header and libruby at runtime
On 02/05/2018 01:10 PM, [email protected] wrote:
> Issue #14445 has been updated by larskanis (Lars Kanis).
>
>
> I have to thank you for getting the whole MJIT train forward!
>
> Unfortunately on Windows the startup times o...
vmakarov (Vladimir Makarov)
06:10 PM Bug #14445: MJIT: Determine path of mjit header and libruby at runtime
I have to thank you for getting the whole MJIT train forward!
Unfortunately on Windows the startup times of GCC are so crazy slow, that MJIT is rarely useful. An idea is to bundle several iseq units from the queue to one compiler run....
larskanis (Lars Kanis)
04:55 PM Bug #14445: MJIT: Determine path of mjit header and libruby at runtime
Thank you for the initial Windows port and your work on this patch. I agree that we need support for pre-compiled binary.
As this patch worked well on my MinGW environment, I merged your patch at r62238 with a comment and #ifdef addition.
k0kubun (Takashi Kokubun)
04:51 PM Bug #14445 (Closed): MJIT: Determine path of mjit header and libruby at runtime
Applied in changeset trunk|r62238.
----------
mjit.c: determine prefix of MJIT header at runtime
so that MJIT can work if Ruby is distributed as prebuilt binary.
Now mjit_init() depends on the internal const TMP_RUBY_PREFIX which is
o...
k0kubun (Takashi Kokubun)
10:56 AM Bug #14445 (Closed): MJIT: Determine path of mjit header and libruby at runtime
I'm pleased to see that the MJIT pull request has been merged and that my [initial Windows port](https://github.com/vnmakarov/ruby/pull/4) has been integrated as well! One part of this patch was to avoid builtin absolute paths in the bin... larskanis (Lars Kanis)
10:22 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
On 02/04/2018 09:08 AM, [email protected] wrote:
> Issue #14235 has been updated by k0kubun (Takashi Kokubun).
>
>
> I committed Vladimir's MJIT works in r62187 and r62189, and current YARV-MJIT in r62197. The problems in this t...
vmakarov (Vladimir Makarov)
09:51 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> Excited to see this awesome feature! I'm implemented
> fiber-auto-schedule at ruby
> userland([light](https://github.com/socketry/lightio)) few
> month ago(using monkey patch). Due to ruby complexity IO AP...
normalperson (Eric Wong)
07:50 PM Feature #14452 (Closed): [PATCH] thread.c: favor timespec internally
This results in fewer conversion on common modern systems with
support for clock_gettime, pthread_cond_timedwait and ppoll.
gettimeofday is declared obsolete by POSIX.1-2008, so it is yet
another reason to move away from it. This als...
normalperson (Eric Wong)
07:41 PM Bug #14357: thread_safe tests suite segfaults
Eric Wong <[email protected]> wrote:
> Could be a GC problem related to coverage (also [Bug #14334])
> since there's minimal changes in st.c from v2_4_0..v2_5_0 and
> I'm not hitting it with the 2.4 branch.

Or not... Hard to t...
normalperson (Eric Wong)
07:07 PM Bug #14451 (Third Party's Issue): HTTP responses with Content-Length: 0 cause a failure
When a web server responds with a 200 OK without a body, if read_timeout is not set to nil, a Net::Timeout exception is thrown after 60 seconds. This is because ruby is stuck looping in rbuf_fill (https://github.com/ruby/ruby/blob/814daf... jdshewey (James Shewey)
06:36 PM Bug #14450: Enchance MatchData docs
Actually your wording seems a bit more complicated than the original one to
me. Or perhaps I got used to the succinct japanese-english style already. :D
The content "It encapsulates all the results of a pattern match, results
normal...
shevegen (Robert A. Heiler)
05:52 PM Bug #14450 (Closed): Enchance MatchData docs
The wording is changed from stating something like "This is (unimporant) helper, which is a wrapper for (primary) global variables" more to the "This is (primary) regexp matching result, which also (eventually) related to global variable... zverok (Victor Shepelev)
06:12 PM Bug #14448: Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
@k0kubun
Ran some local builds. The problem is 62220, build script error is as above:
```
ruby 2.6.0dev 2018-02-05 62220
configure: loading site script /etc/config.site
../ruby/configure: line 15109: syntax error near unexpected...
MSP-Greg (Greg L)
04:51 PM Bug #14448: Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
ruby-loco is built three times a day on Appveyor.
See https://ci.appveyor.com/project/MSP-Greg/ruby-loco/history. A list of Appveyor packages is at https://ci.appveyor.com/project/MSP-Greg/appveyor-ruby, but the build does update som...
MSP-Greg (Greg L)
04:30 PM Bug #14448 (Feedback): Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
Hmm, I couldn't reproduce this with r62237, aclocal v1.51.1, autoconf v2.69, gcc 7.2.0 on MinGW.
Does this happen even if you build from clean build directory? And doesn't this happen with r62223?
k0kubun (Takashi Kokubun)
01:35 PM Bug #14448 (Closed): Build Failure - MinGW gcc 7.3.0 ~ svn 62220 - RUBY_CHECK_VA_COPY
Seem to be having build failures with MinGW / gcc 7.3.0. Log shown below:
```
==> Starting build()...
ruby 2.6.0dev 2018-02-05 62230
configure: loading site script /etc/config.site
../ruby/configure: line 15109: syntax error near...
MSP-Greg (Greg L)
05:39 PM Feature #13581: Syntax sugar for method reference
Have we ruled out `map(&obj:method)` syntax? Intuitively I find it consistent with `Symbol#to_proc`
~~~ ruby
class Foo
def initialize(array)
@array = array
end
def call
@array
.map(&Math:sqrt)
.map(...
sevos (Artur Roszczyk)
05:00 PM Revision b64f7258 (git): mjit.c: fix MinGW warning by r62221
mjit.c: In function 'worker':
mjit.c:126:64: warning: passing argument 1 of '_InterlockedExchangePointer' from incompatible pointer type [-Wincompatible-pointer-types]
# define MJIT_ATOMIC_SET(var, val) InterlockedExchangePointer(&(var...
k0kubun (Takashi Kokubun)
04:51 PM Revision 1fd0a7a6 (git): mjit.c: determine prefix of MJIT header at runtime
so that MJIT can work if Ruby is distributed as prebuilt binary.
Now mjit_init() depends on the internal const TMP_RUBY_PREFIX which is
only available after ruby_init_loadpath_safe() (L1608) and before
ruby_init_prelude() (L1681). So th...
k0kubun (Takashi Kokubun)
04:24 PM Feature #14449 (Closed): error when trying to run rails s
This is an error that happen in ruby 2.2.2, 2.2.3, 2.3.1 and i used bundler 1.14.6, also bundler 1.16
i use another laptop and this does not happen to this specific project i'm running
```
Fetching gem metadata from https://rubygems...
bilel-kedidi (bilel kedidi)
04:09 PM Feature #14444: MatchData: alias for #[]
Idiomaticity of `&.` is from the same point of view as `yield_self`'s ([here](http://zverok.github.io/blog/2018-01-24-yield_self.html) is my small blog post about the latter and why it is idiomatic): It allows to express data processing ... zverok (Victor Shepelev)
03:38 PM Feature #14444: MatchData: alias for #[]
> After introduction of safe navigation operator and other latest features,
> ...
This of course assumes that the safe navigation operator is "idiomatic". ;-)
I guess one can say that every possible feature of ruby is "idiomatic", bu...
shevegen (Robert A. Heiler)
10:16 AM Feature #14444 (Closed): MatchData: alias for #[]
After introduction of safe navigation operator and other latest features, it could be pretty idiomatic to do this:
```ruby
next_page = response.dig('meta', 'pagination', 'next')&.match(/&page=(\d+)/)&.[](1)
```
The ugly thing her...
zverok (Victor Shepelev)
04:00 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
Is there any progress on this, I see feature #13873 is related, but it looks like that got reverted again? https://bugs.ruby-lang.org/issues/13873
I ran into this issue with Rails; when a request doesn't specify the format Rails uses ...
sfcgeorge (Simon George)
03:55 PM Bug #14446: Solaris 10 上の Oracle Developer Studio 12.5 および 12.6 の64ビットコンパイル時のmjit関係のエラー
https://github.com/ruby/ruby/blob/68baf9551e5d7bb43d1a7cce8e80ecb5f06e8724/tool/transform_mjit_header.rb#L130 この行を、
~~~
cflags = '-S -DMJIT_HEADER -fsyntax-only -Werror=implicit-function-declaration -Werror=implicit-int -Wfatal-err...
k0kubun (Takashi Kokubun)
03:02 PM Bug #14446: Solaris 10 上の Oracle Developer Studio 12.5 および 12.6 の64ビットコンパイル時のmjit関係のエラー
現時点の最新の r62232 にて、$(CFLAGS_NO_ARCH) を $(CFLAGS) に変更、を試しましたが、同様でした。
~~~
cc -E -errtags=yes -xO4 -xtarget=sparc64xplus -m64 -DRUBY_DEVEL=1 -DRUBY_EXPORT -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include -D_XOPEN_SOUR...
ngoto (Naohisa Goto)
01:39 PM Bug #14446: Solaris 10 上の Oracle Developer Studio 12.5 および 12.6 の64ビットコンパイル時のmjit関係のエラー
https://github.com/ruby/ruby/blob/a3225c6eba7979822a4c1ea28581079256d5cf28/common.mk#L200 の $(CFLAGS_NO_ARCH) を $(CFLAGS) に変更した場合も再現しますか? k0kubun (Takashi Kokubun)
01:32 PM Bug #14446: Solaris 10 上の Oracle Developer Studio 12.5 および 12.6 の64ビットコンパイル時のmjit関係のエラー
r62224 です。書き漏らしていました、すみません。 ngoto (Naohisa Goto)
01:16 PM Bug #14446: Solaris 10 上の Oracle Developer Studio 12.5 および 12.6 の64ビットコンパイル時のmjit関係のエラー
再現するリビジョンを書いていただけますか? 少なくとも https://rubyci.org/ ではr62224のビルドは通っていますが、現在のtrunk(r62230)でもビルドが失敗しますか? k0kubun (Takashi Kokubun)
01:07 PM Bug #14446 (Closed): Solaris 10 上の Oracle Developer Studio 12.5 および 12.6 の64ビットコンパイル時のmjit関係のエラー
Solaris 10 上にて、Oracle Developer Studio 12.5 または 12.6 にて64ビットコンパイル時、以下のエラーでコンパイルに失敗します。
64ビットバイナリの作成には -m64 (もっと古いバージョンのコンパイラでは -xarch=v9)をCFLAGSやLDFLAGSに付ける必要があるのですが、 ./tool/transform_mjit_header.rb がそれに対応していない(CFLAGS相当が決め打ち)なのが原因のように...
ngoto (Naohisa Goto)
03:49 PM Revision 68baf955 (git): vm_insnhelper.c: prefix rb_ to simple_iseq_p
which is started to be used by mjit_compile.c in r62197.
Related to r62235, this intends to transform the function to static.
Of course we shouldn't pollute the namespace anyway.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62237 ...
k0kubun (Takashi Kokubun)
03:39 PM Bug #14439 (Closed): build failed on NetBSD 7.1 with MJIT
Applied in changeset trunk|r62235.
----------
transform_mjit_header.rb: restrict transformation
to whitelisted patterns. This fix is for NetBSD.
[Bug #14439]
k0kubun (Takashi Kokubun)
03:39 PM Revision 43866a33 (git): * 2018-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:39 PM Revision e23aefe2 (git): transform_mjit_header.rb: restrict transformation
to whitelisted patterns. This fix is for NetBSD.
[Bug #14439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:26 PM Feature #14443: Omit 'pattern' parameter in '(g)sub(!)' when 'hash' is given
To quote from the other issue and what shyouhei wrote there:
"While I claimed the use of regular expression is an implementation detail that I don't want to care about, attendees there said it is better to expose compiled structure (b...
shevegen (Robert A. Heiler)
07:03 AM Feature #14443: Omit 'pattern' parameter in '(g)sub(!)' when 'hash' is given
I remember this was rejected. shyouhei (Shyouhei Urabe)
06:02 AM Feature #14443: Omit 'pattern' parameter in '(g)sub(!)' when 'hash' is given
If creation of the union is done within C-Ruby code, I believe that should be more efficient than having the `pattern` argument explicitly given and interpreted. sawa (Tsuyoshi Sawada)
05:58 AM Feature #14443 (Closed): Omit 'pattern' parameter in '(g)sub(!)' when 'hash' is given
When `(g)sub(!)` takes a hash as the second argument, in almost all use cases, the first argument expresses the union of keys of the hash. In the following, `/[abc]/` is the union of the keys `"a"`, `"b"`, `"c"`.
```ruby
"blahblah".s...
sawa (Tsuyoshi Sawada)
02:36 PM Bug #14447 (Rejected): Solaris 10 上の古いFujitsu C Compiler(fcc)のmjit関係のエラー
出力ファイルの拡張子を .i にすると、コマンドはエラーにならないことが判明しましたが、
そもそも、 "-E" オプションの解釈が標準的なUNIX上のCコンパイラと異なるため、無理でした。
(何らかのラッパースクリプトをかませば大丈夫かもしれません)
古いコンパイラをいつまでも使い続けるほうが悪いので、諦めてRejectします。
man fcc より抜粋:
~~~
-E This option performs preproce...
ngoto (Naohisa Goto)
02:07 PM Bug #14447: Solaris 10 上の古いFujitsu C Compiler(fcc)のmjit関係のエラー
-Eを渡しているため実際に生成しているのはプリプロセッサの結果なのですが、vm.newとなっている箇所をvm.oに変えるとその後のコンパイルプロセスも通りますか? k0kubun (Takashi Kokubun)
01:21 PM Bug #14447 (Rejected): Solaris 10 上の古いFujitsu C Compiler(fcc)のmjit関係のエラー
Solaris 10 にて、古いバージョン(5.6)のFujitsu C Compiler(fcc)にてr62224をコンパイルしようとすると、以下のエラーが出ました。
オプジェクトファイル vm.new の作成を、拡張子が違反だとして拒否されてしまっています。
このコンパイラでは、オブジェクトファイルの拡張子は任意には指定できないようです。
~~~
fcc -E -O2 -KV9 -KVIS2 -DRUBY_DEVEL=1 -DRUBY_EXPORT...
ngoto (Naohisa Goto)
02:21 PM Bug #14232: Unused refinement still breaks method search
ruby_2_4 r62234 merged revision(s) 61484. nagachika (Tomoyuki Chikanaga)
02:21 PM Revision 3b3d4b6b (git): merge revision(s) 61484: [Backport #14232]
vm_method.c: fix super in refined module
* vm_method.c (rb_method_entry_complement_defined_class): clone
the original method entry of refined module instance method with
the active ICLASS, to track super meth...
nagachika (Tomoyuki Chikanaga)
02:05 PM Bug #14070: Refining a module dumps core
ruby_2_4 r62233 merged revision(s) 60980,60984. nagachika (Tomoyuki Chikanaga)
01:54 PM Bug #14070: Refining a module dumps core
You cannot refine Module on 2.3.x.
I set DONTNEED for 2.3.
nagachika (Tomoyuki Chikanaga)
02:05 PM Revision 652e695a (git): merge revision(s) 60980,60984: [Backport #14070]
Modules should not have subclasses.
When refining a module, the module was set to the superclass of its refinement,
and a segmentation fault occurred.
The superclass of the refinement should be an iclass of the m...
nagachika (Tomoyuki Chikanaga)
01:58 PM Revision da79033a (git): transform_mjit_header.rb: same command after error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:24 PM Revision 349e7fcb (git): tool/downloader.rb: retry SocketError
I would like to stabilize RubyCI.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/fedora26/ruby-trunk/log/20180205T123003Z.fail.html.gz
downloading did_you_mean-1.2.0.gem ... /home/hsbt/chkbuild/tmp/build/20180205T123003Z/tmp/ruby-snap...
k0kubun (Takashi Kokubun)
12:57 PM Bug #14440 (Closed): --jit does not work by default on OpenBSD due to use of gcc instead of clang
Applied in changeset trunk|r62230.
----------
mjit.c: prefer using --jit-cc=clang if __clang__
is defined. This is basically for OpenBSD.
Failure on using the compiler which is
not used for Ruby compilation is not supported.
[Bug #1...
k0kubun (Takashi Kokubun)
04:40 AM Bug #14440: --jit does not work by default on OpenBSD due to use of gcc instead of clang
k0kubun (Takashi Kokubun) wrote:
> Whether is the ruby compiled from gcc or clang? A known issue is that using MJIT header generated from different compiler may not work. So I may drop selecting cc in the future.
> ...
clang is the sys...
jeremyevans0 (Jeremy Evans)
01:30 AM Bug #14440: --jit does not work by default on OpenBSD due to use of gcc instead of clang
Whether is the ruby compiled from gcc or clang? A known issue is that using MJIT header generated from different compiler may not work. So I may drop selecting cc in the future.
If the ruby is built from the old gcc and broken with --...
k0kubun (Takashi Kokubun)
12:57 PM Revision 82732256 (git): mjit.c: prefer using --jit-cc=clang if __clang__
is defined. This is basically for OpenBSD.
Failure on using the compiler which is
not used for Ruby compilation is not supported.
[Bug #14440]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:34 PM Revision 1ddaa1ce (git): Fix undefined behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:34 PM Revision 5a68bd7f (git): Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:33 PM Revision d7195ec5 (git): mjit.c: try changing the order of includes
Hoping to fix the AIX's build failure like:
In file included from ./include/ruby/defines.h:139:0,
from ./include/ruby/ruby.h:29,
from ./include/ruby.h:33,
from internal.h:15,
...
k0kubun (Takashi Kokubun)
12:19 PM Revision 9895f694 (git): transform_mjit_header.rb: check initial code
separating the macros. Applying the kept macros to code which is already
affected by the macros may cause errors in initial code.
This is hopefully the final fix for icc build failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
k0kubun (Takashi Kokubun)
12:05 PM Revision 70a7bc39 (git): transform_mjit_header.rb: remove predefined macros
semi-automatically.
This is basically for icc's __DATE__, __TIME__, and many other families.
It causes an error by predefined macro redefinition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
10:29 AM Bug #14409 (Assigned): インストール手順の改善
bison や gcc などまずは最小限必要なコンポーネントを洗い出した上で要求バージョンを明示して行くと良さそうに思いました。
ひとまず私の方で進めます。
hsbt (Hiroshi SHIBATA)
05:22 AM Revision a3225c6e (git): need shell's escape instead of M4's.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
04:58 AM Revision 08332d53 (git): Makefile.sub: va_copy in old version
* win32/Makefile.sub: va_copy is available since VS12 (VC 18.00).
simple copy same as VC1 19.00.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:58 AM Revision 961569b9 (git): transform_mjit_header.rb: no extra CRs
* tool/transform_mjit_header.rb (MJITHeader.check_code!): open
temporary file in binary mode too, not to include extra CRs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:17 AM Revision 8427fca4 (git): assigning void* to a function pointer is a POSIXism
No implicit cast is defined between these types. Should be explicit.
Also, NULL is defined to be ((void*)0) so not usable as a function
pointer value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62221 b2dd03c8-39d4-4d8f-98ff-823f...
shyouhei (Shyouhei Urabe)
04:07 AM Revision 779c18bf (git): va_copy is a C99ism
Should provide appropriate fallback implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
04:02 AM Revision bb6c0f03 (git): comma at the end of enum is a C99ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
03:19 AM Revision 59cc9e3a (git): vcs.rb: no meaningless splat
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:19 AM Revision 3a4183d2 (git): vcs.rb: for old ruby
* tool/vcs.rb (DebugSystem#system): pop option hash for old
version ruby which does not support `system` options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:18 AM Bug #14442 (Closed): report a bug when I run ruby project
I use ruby-version2.2.7 rails-version5.0
I use rubymine on ubuntu17.10 to deveolp
I ofen encounter a bug when I run my project,it the frequency is very high
this bug detail following:
/home/chrisyu/.rvm/gems/ruby-2.2.7/gems/acti...
chrisyu (chris yu)
02:07 AM Revision 5c6162ad (git): transform_mjit_header.rb: take program name from $0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:02 AM Revision 3f45bbfe (git): transform_mjit_header.rb: read/write in binmode
* tool/transform_mjit_header.rb: read and write as ASCII-8BIT to
make single-byte-optimizable always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:52 AM Revision 70ae83f8 (git): transform_mjit_header.rb: separate macro and code
* tool/transform_mjit_header.rb (separate_macro_and_code): return
macro and code separately as the name, and concat before output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:52 AM Revision a38b3307 (git): transform_mjit_header.rb: scan by regexp
* tool/transform_mjit_header.rb (find_decl): scan by regexp
instead of char-by-char loop. return nil when finished.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:09 AM Revision e743b363 (git): Use system option instead of shell redirect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

02/04/2018

09:12 PM Feature #13581: Syntax sugar for method reference
landongrindheim (Landon Grindheim) wrote:
> Is `map(&Math.&(:sqrt)` viable? Perhaps it would be confused with the safe navigation operator.
No. It would break backward compatibility, as that is currently interpreted as:
~~~
Math....
jeremyevans0 (Jeremy Evans)
08:10 PM Feature #13581: Syntax sugar for method reference
> * `map(&Math->sqrt)` (and just `each(&->puts)` probably?) -- Matz is explicitly against it;
Is `map(&Math.&(:sqrt)` viable? Perhaps it would be confused with the safe navigation operator.
landongrindheim (Landon Grindheim)
06:26 PM Bug #14440: --jit does not work by default on OpenBSD due to use of gcc instead of clang
Agreed. May be simpler to just notify the user which GCC versions are
currently supported; and if it works the modern GCC, one can look to
see that older GCC versions could also use --jit.
shevegen (Robert A. Heiler)
04:44 PM Bug #14440 (Closed): --jit does not work by default on OpenBSD due to use of gcc instead of clang
On OpenBSD, when using just `--jit`, ruby issues a warning message to `$stderr`:
~~~
$ ruby --jit -e 'p 1'
.ext/include/x86_64-openbsd/rb_mjit_min_header-2.6.0.h:2924: error: wrong number of arguments specified for '...
jeremyevans0 (Jeremy Evans)
04:50 PM Bug #14441 (Closed): Dir.chroot results in segfault when used with --jit
Example code:
~~~
$ ruby --jit --jit-cc=clang -e 'a = 0; Dir.chroot("."); 50000000.times{|i| a += i }; p a
-e:1: [BUG] Segmentation fault at 0x0000000000000058
ruby 2.6.0dev (2018-02-05 trunk 62211) [x86_64-openbsd]
-- Control f...
jeremyevans0 (Jeremy Evans)
03:40 PM Revision 2c179b12 (git): mjit.c: define __EXTENSIONS__ earlier
Another try of r62204 and r62192.
As far as I can see from solaris's signal.h and sys/procset.h, the only
possibility that causes the following error would be that sys/procset.h
is included without __EXTENSIONS__ and signal.h included i...
k0kubun (Takashi Kokubun)
03:34 PM Revision 1f2293df (git): MINIRUBY dependency
* common.mk ($(MJIT_MIN_HEADER)): add dependency for $(MINIRUBY).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:23 PM Revision 67f12c5f (git): use MINIRUBY
* common.mk ($(MJIT_MIN_HEADER)): use $(MINIRUBY) at build time.
$(BASERUBY) may not be available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:17 PM Revision 24fcc027 (git): common.mk: CPPOUTFLAG
* common.mk (rb_mjit_header.h): use $(CPPOUTFLAG).
* win32/Makefile.sub (CPPOUTFLAG): needs -Fi to let cl.exe name
preprocessed file, instead of -Fo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62208 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
03:05 PM Revision bfae4b5d (git): * 2018-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision ec115506 (git): common.mk: use vm.i as the temporary filename
because `cl -P vm.c` always produces vm.i regardless of -o XXX and
currently mswin build is failing.
Fixing r62202. If this commit does not work, I'll revert this and
r62202.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62206 b2dd...
k0kubun (Takashi Kokubun)
02:38 PM Bug #14437: Integer == doesn't work with coerce since 2.4 (and != since 1.9). Should it?
nobu (Nobuyoshi Nakada) wrote:
> `==` and `!=` have never called `coerce`.
> ...
You're right about coerce not being involved here, my theory was wrong.
Looking at the code fix_equal(x,y) when y was of non-core class used to call nu...
taw (Tomasz Wegrzanowski)
08:51 AM Bug #14437: Integer == doesn't work with coerce since 2.4 (and != since 1.9). Should it?
`==` and `!=` have never called `coerce`.
Only `+`, `-`, `<`, `>` and so on.
nobu (Nobuyoshi Nakada)
02:08 PM Feature #14235: Merge MJIT infrastructure with conservative JIT compiler
I committed Vladimir's MJIT works in r62187 and r62189, and current YARV-MJIT in r62197. The problems in this ticket's description would be solved.
Right now I'm fixing trunk to improve portability, seeing RubyCI.
k0kubun (Takashi Kokubun)
11:22 AM Feature #14235 (Closed): Merge MJIT infrastructure with conservative JIT compiler
Applied in changeset trunk|r62197.
----------
mjit_compile.c: merge initial JIT compiler
which has been developed by Takashi Kokubun <takashikkbn@gmail> as
YARV-MJIT. Many of its bugs are fixed by wanabe <[email protected]>.
This JIT...
k0kubun (Takashi Kokubun)
01:51 PM Revision e8168752 (git): transform_mjit_header.rb: refactor messages and exit
* tool/transform_mjit_header.rb: print non-error messages to
STDOUT instead of STDERR. exit with false or abort instead of
exit 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:49 PM Revision ec7dd299 (git): mjit.c: another try for fixing solaris build
Reverted r62192 and added another try.
I prepared Solaris environment but I couldn't reproduce the RubyCI build
failure. So I'm testing on trunk.
I found the following article and it fixed the same problem with passing
`-D__EXTENSIONS__...
k0kubun (Takashi Kokubun)
01:47 PM Revision 7f7a49fe (git): common.mk: phony target mjit-headers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:43 PM Revision 29c9dc31 (git): common.mk: rb_mjit_header.h
* common.mk (rb_mjit_header.h): moved from Makefile.in and
win32/Makefile.sub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 PM Revision 1a5470e9 (git): Makefile.sub: CFLAGS_NO_ARCH
* win32/Makefile.sub: split CFLAGS into CFLAGS_NO_ARCH and
ARCH_FLAG, as well as Makefile.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:15 PM Revision 25a82d79 (git): vm.c: feedback control frame size change
to VM_ASSERT. r62197 is adding bp.
I'll try to remove bp, but let's pass CI which enables assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:12 PM Revision e35ff789 (git): match whole word
* tool/transform_mjit_header.rb: add word boundary anchors and
match whole word to get rid of false `static` declarations,
e.g., rb_str_new_static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62199 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
01:05 PM Feature #14417: String#sub / String#gsub に『キーが Symbol の Hash』を渡せるようにする提案
Hanmac (Hans Mackowiak) wrote:
> @duerst: what about my example where it does transform the keye internal for the given Hash?
> ...
If the hash is called many times from gsub, those integers shold be converted as String before gsub.
B...
naruse (Yui NARUSE)
12:52 PM Bug #14439: build failed on NetBSD 7.1 with MJIT
手元のconfigureには該当行は存在するので、たぶん関係ないかと。 usa (Usaku NAKAMURA)
12:51 PM Bug #14439: build failed on NetBSD 7.1 with MJIT
In message <redmine.issue-14439.20180204122852.8b177c62b00fc2c1@ruby-lang.org>
on Sun, 04 Feb 2018 12:28:54 +0000 (UTC),
[email protected] wrote:
> というわけで手元のNetBSD/i386 7.1で試そうとしたら、残念ながらビルドエラーになりました。
http://cvsweb.netbsd.org/b...
taca (Takahiro Kambe)
12:28 PM Bug #14439 (Closed): build failed on NetBSD 7.1 with MJIT
MJITマージおめでとうございます。
というわけで手元のNetBSD/i386 7.1で試そうとしたら、残念ながらビルドエラーになりました。
```
error in final header file:
/tmp/20180204-20715-187ick.c:4961:1: error: static declaration of ‘sigaddset’ follows non-static declaration
sigaddset(sigset_...
usa (Usaku NAKAMURA)
12:37 PM Feature #14430: net/http: use Socket.tcp with connect_timeout, instead of TCPSocket.open wrapped in Timeout.timeout
normalperson (Eric Wong) wrote:
>
> ...
Right, good catch.
>
> ...
Looking into this i realize that /etc/nsswitch.conf has be to taken into account first. And then maybe nscd, but very few distros (if any?) install it by defau...
carl.hoerberg (Carl Hörberg)
11:59 AM Revision 83a9ccb0 (git): Fix typos and remove redundant `/#{}/`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:30 AM Bug #14438 (Closed): TestTimeTZ: failures with recent version of tzdata
This has beeen reported in [Debian as Debian bug #889046](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889046)
Recent tzdata has fixed some definitions about the Japan timezone in the 50s:
> http://mm.icann.org/pipermail/tz-...
terceiro (Antonio Terceiro)
11:22 AM Revision ed935aa5 (git): mjit_compile.c: merge initial JIT compiler
which has been developed by Takashi Kokubun <takashikkbn@gmail> as
YARV-MJIT. Many of its bugs are fixed by wanabe <[email protected]>.
This JIT compiler is designed to be a safe migration path to introduce
JIT compiler to MRI. So this...
k0kubun (Takashi Kokubun)
09:48 AM Revision 56530b54 (git): Makefile.in: use CFLAGS_NO_ARCH for cpp
Using $(CFLAGS) breaks the build when multiple `-arch` options are
given. Then we should omit arch flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:34 AM Revision b421f1a7 (git): common.mk: MJIT_MIN_HEADER
* common.mk ($(MJIT_MIN_HEADER)): moved duplicate recipe from
Makefile.in and win32/Makefile.sub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:13 AM Revision 5dc3da08 (git): use ifchange tool for rb_mjit_header.h
* Makefile.in, win32/Makefile.sub (rb_mjit_header.h): use ifchange
tool. cmp command is not available on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:24 AM Revision 329776cd (git): mjit.c: use InterlockedExchangePointer
for Windows, if it's available.
Before this commit, Windows builds printed following warnings.
mjit.c
../mjit.c(802) : warning C4047: 'function' : 'volatile LONG *' differs in levels of indirection from 'void **'
../mjit.c(802) : warnin...
k0kubun (Takashi Kokubun)
07:52 AM Revision 328666a6 (git): mjit.c: try to fix Solaris build failure
In file included from vm_core.h:87:0,
from mjit.c:81:
/usr/include/signal.h:71:29: error: unknown type name 'procset_t'
extern int sigsendset(const procset_t *, int);
^
In file included from...
k0kubun (Takashi Kokubun)
07:43 AM Revision 8a0678b4 (git): mjit.c: try porting va_copy
for non C99 conforming environments.
The behavior of this macro is undefined, but I heard this works on many
architectures. Let me check the Ruby CI result with this change.
(My Windows environment has only Visual Studio 2015 and va_cop...
k0kubun (Takashi Kokubun)
06:58 AM Revision 4342fd3d (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:58 AM Revision fd44a577 (git): mjit.c: merge MJIT infrastructure
that allows to JIT-compile Ruby methods by generating C code and
using C compiler. See the first comment of mjit.c to know what this
file does.
mjit.c is authored by Vladimir Makarov <[email protected]>.
After he invented great metho...
k0kubun (Takashi Kokubun)
06:14 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Excited to see this awesome feature! I'm implemented fiber-auto-schedule at ruby userland([light](https://github.com/socketry/lightio)) few month ago(using monkey patch). Due to ruby complexity IO API (like: `getc`, `getbyte`, `put,c`, `... jjyr (Jinyang Jiang)
05:49 AM Revision b2de4e0b (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:49 AM Revision 0af44e72 (git): common.mk: install a single header file for JIT
compilation which is created by transforming a preprocessed vm.c.
This file will be used by JIT compiler's generated code which we are
going to have from succeeding commits.
Makefile.in: generate MJIT header for UNIX environments.
win32...
k0kubun (Takashi Kokubun)
05:21 AM Bug #14357: thread_safe tests suite segfaults
Eric Wong wrote:
> ST_DEBUG doesn't reveal anything nor does switching to
> QUADRATIC_PROBE. Waiting for valgrind which is very slow
> and I need to go afk to do other things...

Could be a GC problem related to coverage (also [Bu...
normalperson (Eric Wong)
01:31 AM Revision 0718f53b (git): thread.c: timespec_for is used only if poll() is used
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:39 AM Bug #14162: Invoking binding.irb destructively shifts ARGV
ruby_2_4 r62185 merged revision(s) 61149,61150,61151,61167. nagachika (Tomoyuki Chikanaga)
12:39 AM Revision 82031fa8 (git): merge revision(s) 61149,61150,61151,61167: [Backport #14162]
irb.rb: preserve ARGV on binding.irb
This is not perfectly good solution (at least we don't want to have ARGV
as default value of `argv` argument), but unfortunately IRB.setup and
IRB.parse_opts are public method...
nagachika (Tomoyuki Chikanaga)
 

Also available in: Atom