Project

General

Profile

Activity

From 09/27/2017 to 10/03/2017

10/03/2017

11:58 PM Feature #13936: Make regular expressions debugable
I am inclined to agree with Martin. In general introspection is awesome; I remember many years ago having used Steve ... shevegen (Robert A. Heiler)
11:48 PM Feature #13963 (Closed): [] file.c: release GVL around lstat(2)
Applied in changeset trunk|r60110.
----------
file.c: release GVL around lstat(2)
Like stat(2), lstat(2) can be exp...
Anonymous
11:47 PM Revision fbb34327 (git): file.c: release GVL around lstat(2)
Like stat(2), lstat(2) can be expensive on slow filesystems and
should not block other threads. There should be a mi...
Eric Wong
11:47 PM Revision 15edf2b3 (git): * 2017-10-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:47 PM Revision 27cced70 (git): file.c: release GVL in File.{setuid?,setgid?,sticky?}
* file.c (check3rdbyte): use rb_stat to release GVL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60108 b2dd03c8...
Eric Wong
10:21 PM Feature #13697: []: futex based thread primitives
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/13697
> Assigning to kosaki since he wrote the cu...
normalperson (Eric Wong)
08:42 PM Misc #13968 (Open): [Ruby 3.x perhaps] - A (minimal?) static variant of ruby
Hello ruby core team and everyone else,
I think this has been brought up before, in one way or the other, but
jus...
shevegen (Robert A. Heiler)
07:24 PM Bug #13967 (Closed): Recent Ripper changes, sexp broken?
With some recent changes, (svn 60103 +), Ripper.sexp has changed. With 60103 +, the second lex shown below no longer... MSP-Greg (Greg L)
01:18 PM Bug #13956: Segmentation fault when calling Method#using with a non-module argument and block
`using` は top level (`main`) の特異メソッド (と `Module#using`) なので、`Object` のインスタンスメソッドより優先されるため、上書きするなら `def self.using` にす... znz (Kazuhiro NISHIYAMA)
01:06 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
I object the current behavior which prints backtrace in reverse order for STDERR. It is confusing. sonots (Naotoshi Seo)
12:36 PM Bug #13966: configure.in still needed ?!
By running `./config.status`, Makefile should be updated.
nobu (Nobuyoshi Nakada)
09:04 AM Bug #13966 (Closed): configure.in still needed ?!
When compiling trunk on cygwin, I get the following error:
```
make[2]: Entering directory '/cygdrive/c/Data/ruby...
duerst (Martin Dürst)
12:06 PM Revision 5f6b0422 (git): Fix file descriptor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:51 AM Revision 7f6e18fa (git): test_parser_events.rb: backref_assign_error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:56 AM Revision 1ef2ca5a (git): parse.y: extract callback results
* parse.y: stripping wrapping NODEs from ripper callback results,
when storing in Array objects. NODEs must not ap...
nobu (Nobuyoshi Nakada)
04:47 AM Revision 75318f31 (git): parse.y: set ripper event IDs to keyword variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:44 AM Bug #13965 (Rejected): Surprising behavior when using Tempfile.open
Yes, it's a nature of buffering. nobu (Nobuyoshi Nakada)
12:17 AM Bug #13965: Surprising behavior when using Tempfile.open
To workaround the unexpected behavior, either use `IO#sync = true` or `IO#flush` after writing to the file. davemyron (Dave Myron)
12:12 AM Bug #13965: Surprising behavior when using Tempfile.open
This appears to be the behavior of `File.open` + block, as well:
```
>> File.open("/tmp/test.txt","w+"){|f| (1..1...
davemyron (Dave Myron)
12:03 AM Bug #13965 (Rejected): Surprising behavior when using Tempfile.open
I was trying to write the contents of an array to a Tempfile using the #open() + block syntax: Tempfile.open { |f| my... davemyron (Dave Myron)
01:38 AM Revision 3efbda77 (git): * 2017-10-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:38 AM Revision e8e5a450 (git): parse.y: set ripper event ID symbols to operators
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

10/02/2017

08:09 PM Feature #13958: [] Dir.empty? releases GVL
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/13958

Updated with benchmark:
https://80x24.or...
normalperson (Eric Wong)
01:11 PM Bug #13962: Change http://unicode.org to https
shevegen (Robert A. Heiler) wrote:
> Secure our emojis! \o/
Yeah, I've lost a few nights' sleep worrying about th...
MSP-Greg (Greg L)
03:15 AM Bug #13962: Change http://unicode.org to https
Secure our emojis! \o/ shevegen (Robert A. Heiler)
01:03 AM Bug #13962: Change http://unicode.org to https
MSP-Greg (Greg L) wrote:
> I believe downloads from unicode.org can be done via https.
Yes, that seems to be the ...
duerst (Martin Dürst)
12:23 PM Revision 4fb1438b (git): use rb_hash_new_with_size()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:43 AM Revision 54869839 (git): test_call.rb: refine test_safe_call
* test/ruby/test_call.rb (test_safe_call): rhs should not be
evaluated when the receiver is nil. simplified the as...
nobu (Nobuyoshi Nakada)
10:14 AM Bug #13917 (Assigned): Comparable#clamp is slower than using Array#min,max.
The main topic "Comparable#clamp is slower than using Array#min,max." is valid.
@nobu Could you check the ?
naruse (Yui NARUSE)
08:33 AM Bug #13964 (Closed): [BUG] Stack consistency error
Applied in changeset trunk|r60099.
----------
compile.c: fix stack consitency error
* compile.c (iseq_compile_each0...
nobu (Nobuyoshi Nakada)
05:51 AM Bug #13964 (Closed): [BUG] Stack consistency error
You get "[BUG] Stack consistency error" when you run attached 'bug_repro.rb'.
If you change line 44 in the script
...
md1961 (Naoyuki Kumagai)
08:33 AM Revision 896e7f2d (git): compile.c: fix stack consitency error
* compile.c (iseq_compile_each0): fix stack consitency error on
attr-assign with safe navigation operator when the ...
nobu (Nobuyoshi Nakada)
07:51 AM Revision f5740d18 (git): Revert "vm_eval.c: add rb_yield_assoc_or_values()"
This reverts commit r60095 to prevent performance degradation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@600...
Glass_saga (Masaki Matsushita)
06:46 AM Bug #13960 (Closed): ARGF.inplace_mode= が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
Applied in changeset trunk|r60097.
----------
io.c: check null char
* io.c (ruby_set_inplace_mode): check if null i...
nobu (Nobuyoshi Nakada)
06:46 AM Revision 8148b701 (git): io.c: check null char
* io.c (ruby_set_inplace_mode): check if null is contained. based
on the by tommy (Masahiro Tomita) in [ruby...
nobu (Nobuyoshi Nakada)
06:46 AM Revision 85847e78 (git): test_argf.rb: indent here docs
* test/ruby/test_argf.rb (assert_src_expected): default line
number to caller's location.
* test/ruby/test_argf.rb...
nobu (Nobuyoshi Nakada)
05:29 AM Revision 7ae65b24 (git): vm_eval.c: add rb_yield_assoc_or_values()
The new function rb_yield_assoc_or_values() will reduce branching.
* vm_eval.c: add rb_yield_assoc_or_values()
* in...
Glass_saga (Masaki Matsushita)
04:06 AM Revision 487dfb9d (git): ruby-additional.el: shorten here-doc markers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:57 AM Revision da4f041e (git): use `ra` instead of new variables.
* file.c (rb_file_s_rename): `struct rename_args ra` already has members
which contain C ptrs. Pointed by MSP-Greg....
ko1 (Koichi Sasada)
01:22 AM Revision d0566062 (git): catch up r60088 for DOSISH.
* file.c (rb_file_s_rename): src and dst are used only on DOSISH env.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
ko1 (Koichi Sasada)

10/01/2017

10:06 PM Feature #13963 (Closed): [] file.c: release GVL around lstat(2)
Like stat(2), lstat(2) can be expensive on slow filesystems and
should not block other threads. There should be a m...
normalperson (Eric Wong)
09:29 PM Feature #13951 (Closed): [] File#rename releases GVL
Applied in changeset trunk|r60091.
----------
NEWS: entries for GVL release in File and Dir
(more to come)
* NEWS:...
Anonymous
12:43 PM Feature #13951: [] File#rename releases GVL
normalperson (Eric Wong) wrote:
> I consider the performance trade off acceptable as cases are avoided.
I agree t...
nobu (Nobuyoshi Nakada)
04:08 AM Feature #13951: [] File#rename releases GVL
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/13951

Updated v2 with casts for 64-bit:

http...
normalperson (Eric Wong)
09:29 PM Revision 6c29f232 (git): NEWS: entries for GVL release in File and Dir
(more to come)
* NEWS: updates for [Bug #13941] and [Feature #13951]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Eric Wong
09:19 PM Revision 4e602696 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:19 PM Revision 2270eb56 (git): * 2017-10-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:19 PM Revision e552afc3 (git): File#rename releases GVL
rename(2) requires two pathname resolution operations which can
take considerable time on slow filesystems, release t...
Eric Wong
08:10 PM Bug #13962 (Closed): Change http://unicode.org to https
I believe downloads from unicode.org can be done via https.
See attached .
Thank you.
MSP-Greg (Greg L)
03:01 PM Bug #13961 (Closed): String#unpack の warning メッセージが SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
String#unpack で不正なディレクティブが指定された時のwarningメッセージが指定文字列ではなくNUL終端まで出力してしまいます。
```
% ruby -we '"hoge".unpack(("o"*100)[...
tommy (Masahiro Tomita)
02:24 PM Bug #13960 (Closed): ARGF.inplace_mode= が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
SHARABLE_MIDDLE_SUBSTRING=1 でコンパイルしたRubyで、ARGF.inplace_mode= がNUL終端まで文字列を使用してしまいます。
```
% echo hoge > hoge
% rub...
tommy (Masahiro Tomita)
01:44 PM Revision f01846cd (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:44 PM Revision 8320be10 (git): string.c: avoid unnecessary call of str_strlen()
* string.c (rb_strseq_index): refactor and avoid
call of str_strlen() when offset == 0.
it will improve performan...
Glass_saga (Masaki Matsushita)
05:36 AM Bug #13959 (Rejected): IO.write(filename, Marshal.dump(obj), :encoding => 'binary') != File.open(filename, 'wb') { |fil| Marshal.dump(obj, fil) }
For some complex objects,
IO.write(filename, Marshal.dump(obj), :encoding => 'binary') and File.open(filename...
fitmap (Justin Peal)
04:26 AM Revision 8875e0ca (git): use rb_hash_new_with_size()
* hash.c: use rb_hash_new_with_size().
* marshal.c: ditto
* struct.c: ditto
* vm_args.c: ditto
git-svn-id: svn+ss...
Glass_saga (Masaki Matsushita)
04:24 AM Feature #13958 (Closed): [] Dir.empty? releases GVL
This converts all slow syscalls in the Dir.empty? implementation
to release GVL. We avoid unnecessarily GVL release...
normalperson (Eric Wong)
03:46 AM Revision cb0f3183 (git): common.mk (UNICODE_DOWNLOAD): set cache directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:39 AM Revision 213fa8ec (git): generic_erb.rb: -i option
* tool/generic_erb.rb: -i option to merge multiple template files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
02:36 AM Bug #13794: Infinite loop of sched_yield
[email protected] wrote:
> But I might have found a different bug. I did kill -ABRT a
> spinning child and gav...
normalperson (Eric Wong)
02:27 AM Bug #13957 (Closed): readline が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
nobu (Nobuyoshi Nakada)
02:26 AM Bug #13955 (Closed): NKF.nkf のオプション文字列が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
nobu (Nobuyoshi Nakada)
02:25 AM Bug #13954 (Closed): Etc.getpwnam, getgrnam が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
nobu (Nobuyoshi Nakada)
02:24 AM Revision 2eb23675 (git): test_refinement.rb: test for r59946
* test/ruby/test_refinement.rb (test_dsym_literal): test for
r59946, interning dynamic symbol should not be affecte...
nobu (Nobuyoshi Nakada)
01:44 AM Revision dbb55956 (git): file.c: remove unnecessary volatile use
For apply2files, all callers use the `path' VALUE for
generating exceptions, so there is no need to guard it.
In real...
Eric Wong

09/30/2017

10:08 PM Bug #13794: Infinite loop of sched_yield
[email protected] wrote:
> Anyone can use Gregory's sched_yield_loop.rb to check for the
> bug. If the weaker ...
normalperson (Eric Wong)
09:50 PM Bug #13794 (Closed): Infinite loop of sched_yield
Applied in changeset trunk|r60079.
----------
thread_pthread.c: do not wakeup inside child processes
* thread_pthre...
Anonymous
03:21 AM Bug #13794: Infinite loop of sched_yield
Gregory Potamianos wrote:
> `while true; do nice -n19 ruby sched_yield_loop.rb; [ $? -ne 0 ] && break; done`
With...
kernigh (George Koehler)
10:04 PM Feature #13946: Rename configure.in to configure.ac
kernigh (George Koehler) wrote:
> I had an old Makefile before I pulled this change (rename configure.in to configur...
nobu (Nobuyoshi Nakada)
12:26 AM Feature #13946: Rename configure.in to configure.ac
I had an old Makefile before I pulled this change (rename configure.in to configure.ac). The old Makefile can't find ... kernigh (George Koehler)
09:50 PM Revision 000169c5 (git): * 2017-10-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:50 PM Revision b860f064 (git): thread_pthread.c: do not wakeup inside child processes
* thread_pthread.c (rb_thread_wakeup_timer_thread): check
ownership before incrementing
(rb_thread_wakeup_timer_t...
Eric Wong
02:33 PM Bug #13957 (Closed): readline が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
SHARABLE_MIDDLE_SUBSTRING=1 でコンパイルしたRubyで、Readline.insert_text の文字列が正しく扱われません。
```
% ruby -rreadline -e 'p Readli...
tommy (Masahiro Tomita)
01:14 PM Revision 8efc4132 (git): hash.c: use rb_hash_new_with_size()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
12:53 PM Feature #13395: Add a method to check for not nil
I believe the english equivalent to `not_nil` would be `exist` (instead of exists, to follow prev use). I believe co... MSP-Greg (Greg L)
05:44 AM Feature #13395: Add a method to check for not nil
I think `Array#nitems` is like this. But it was removed since ruby 1.9.1.
In doc/NEWS-1.9.1:
> o Array#nitems w...
znz (Kazuhiro NISHIYAMA)
12:26 PM Bug #13956 (Closed): Segmentation fault when calling Method#using with a non-module argument and block
Applied in changeset trunk|r60077.
----------
eval.c: check type
* eval.c (ignored_block): check argument type, whi...
nobu (Nobuyoshi Nakada)
11:32 AM Bug #13956 (Closed): Segmentation fault when calling Method#using with a non-module argument and block
Module#usingをモジュールでない引数とブロックをつけて呼び出すとクラッシュします。
再現プログラムは以下です。
~~~ ruby
def using(x)
yield x
end
using(1)...
minoritea (Minori Tokuda)
12:26 PM Revision 327b22ad (git): eval.c: check type
* eval.c (ignored_block): check argument type, which must be
Module. [ruby-dev:50270] [Bug #13956]
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
11:58 AM Revision c879b601 (git): hash.c: remove special treatments on deletion
st.c was improved in r56650 that it permits deletion during iteration.
In this commit, special treatments for previou...
Glass_saga (Masaki Matsushita)
11:50 AM Revision e7c8073a (git): dbm.c: suppress unused-but-set-variable warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:06 AM Revision c0a58759 (git): gdbm.c: use the default external encoding
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:27 AM Revision 7f2fd38b (git): configure.ac: remove --enable-pthread option.
* configure.ac: remove --enable-pthread option.
it was obsoleted in 2009.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
Glass_saga (Masaki Matsushita)
09:07 AM Revision 1b7e9704 (git): dbm.c: removed useless assignments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:35 AM Bug #13953 (Closed): gdbm が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
Applied in changeset trunk|r60071.
----------
ext: check if null byte is contained
[ruby-dev:50267] [Bug #13953]
nobu (Nobuyoshi Nakada)
04:37 AM Bug #13953 (Closed): gdbm が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
SHARABLE_MIDDLE_SUBSTRING=1 でコンパイルしたRubyで、GDBM.new が指定した文字列ではなく共有元の文字列終端までファイル名として使用してしまいます。
~~~
% ruby -rgdbm -e...
tommy (Masahiro Tomita)
08:35 AM Revision 1852b4a8 (git): ext: check if null byte is contained
[ruby-dev:50267] [Bug #13953]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60071 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
08:01 AM Bug #13955 (Closed): NKF.nkf のオプション文字列が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
SHARABLE_MIDDLE_SUBSTRING=1 でコンパイルしたRubyで、NKF.nkf のオプション文字列が正しく扱われません。
```
% ruby -rnkf -e 'opt="--ic=UTF-8 --oc=...
tommy (Masahiro Tomita)
07:23 AM Bug #13954 (Closed): Etc.getpwnam, getgrnam が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
SHARABLE_MIDDLE_SUBSTRING=1 でコンパイルしたRubyで Etc.getpwnam, getgrnam が共有元の文字列終端まで使用してしまいます。
```
% sudo useradd abcdef...
tommy (Masahiro Tomita)
06:45 AM Revision d00c9d7e (git): configure.ac: remove unused macro
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
06:42 AM Revision 3ca9f25b (git): ripper/lexer.rb: remove double quotes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:30 AM Revision 9189cf57 (git): configure.ac: use m4_version_prereq
* configure.ac: use m4_version_prereq to check
running autoconf version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
Glass_saga (Masaki Matsushita)
03:31 AM Revision 917bc687 (git): test_find.rb: improve branch coverage
* test/test_find.rb (test_to_path): add a test
for to_path conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
ktsj (Kazuki Tsujimoto)
12:01 AM Bug #13952 (Closed): String#succ not updating code range
Applied in changeset trunk|r60066.
----------
string.c: fix ASCII-only on succ
* string.c (str_succ): clear coderan...
nobu (Nobuyoshi Nakada)
12:01 AM Revision 16759238 (git): string.c: fix ASCII-only on succ
* string.c (str_succ): clear coderange cache when no alpha-numeric
character case, carried part may become ASCII-on...
nobu (Nobuyoshi Nakada)

09/29/2017

11:41 PM Revision 623cf297 (git): sizes.c.tmpl:
* template/sizes.c.tmpl (Init_limits): turned a K&R style
declaration into a declaration.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
05:19 PM Revision da7303e5 (git): * 2017-09-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:19 PM Revision b5b2bd86 (git): test_etc.rb: fix test_getgrnam for duplicated group names
* test/etc/test_etc.rb: Etc.getgrnam would not return the first entry in the order of Etc.group for duplicated group ... sonots (Naotoshi Seo)
01:46 PM Bug #13952 (Closed): String#succ not updating code range
I'm seeing some strange behavior with `String#succ` and updating code ranges. I haven't yet traced the code to see wh... nirvdrum (Kevin Menard)
01:21 PM Feature #13946 (Closed): Rename configure.in to configure.ac
Applied in changeset trunk|r60062.
----------
configure.ac
* configure.ac: renamed configure.in. [Feature #13946]
...
nobu (Nobuyoshi Nakada)
03:32 AM Feature #13946: Rename configure.in to configure.ac
[email protected] wrote:
> trunk is currently using `configure.in` - so i would like to
> propose we renam...
normalperson (Eric Wong)
12:33 AM Feature #13946: Rename configure.in to configure.ac
If there are no side effects of problems then this may be fine. I can't say
though since I know next to nothing abou...
shevegen (Robert A. Heiler)
01:21 PM Revision 3133a5c9 (git): configure.ac
* configure.ac: renamed configure.in. [Feature #13946]
* Makefile.in, common.mk, ext/rbconfig/sizeof/depend: use
...
nobu (Nobuyoshi Nakada)
11:00 AM Feature #13943 (Closed): Use unpack1 instead of unpack(template)[0] in erb.rb
Applied in changeset trunk|r60061.
----------
Use unpack1 instead of unpack and `[0]`
[Feature #13943][ruby-core:83...
Anonymous
11:00 AM Revision 5723d9fd (git): Use unpack1 instead of unpack and `[0]`
[Feature #13943][ruby-core:83027]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60061 b2dd03c8-39d4-4d8f-98ff-82...
znz (Kazuhiro NISHIYAMA)
10:20 AM Bug #13794: Infinite loop of sched_yield
Hi,
We are also affected by this bug, running Debian's ruby 2.3.3p222. We are encountering it with Exec resources ...
gregoryp (Gregory Potamianos)
08:54 AM Feature #13951 (Closed): [] File#rename releases GVL
rename(2) requires two pathname resolution operations which can
take considerable time on slow filesystems, release ...
normalperson (Eric Wong)
08:16 AM Bug #13950 (Closed): String#tr incorrectly marks strings as CR_7BIT
Applied in changeset trunk|r60060.
----------
string.c: ASCII-incompatible is not ASCII only
* string.c (tr_trans):...
nobu (Nobuyoshi Nakada)
08:15 AM Revision 2d421199 (git): string.c: ASCII-incompatible is not ASCII only
* string.c (tr_trans): ASCII-incompatible encoding strings cannot
be ASCII-only even if valid. [ruby-core:83056] [...
nobu (Nobuyoshi Nakada)
08:00 AM Bug #13949 (Closed): String#unpack with 'M' directive can create strings with wrong code range
Applied in changeset trunk|r60059.
----------
pack.c: unpack "M" may be ASCII only
* pack.c (pack_unpack_internal):...
nobu (Nobuyoshi Nakada)
08:00 AM Revision d35b5a47 (git): pack.c: unpack "M" may be ASCII only
* pack.c (pack_unpack_internal): set ASCII only properly on "M",
may be ASCII only. [ruby-core:83055] [Bug #13949]...
nobu (Nobuyoshi Nakada)
07:43 AM Feature #13884 (Closed): Reduce number of memory allocations for "and", "or" and "diff" operations on small arrays
Applied in changeset trunk|r60057.
----------
array.c: improve operations on small arrays
[Feature #13884]
Reduce ...
nobu (Nobuyoshi Nakada)
07:43 AM Revision b455b839 (git): * 2017-09-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:43 AM Revision 9bc73cd8 (git): array.c: improve operations on small arrays
[Feature #13884]
Reduce number of memory allocations for "and", "or" and "diff"
operations on small arrays
Very oft...
nobu (Nobuyoshi Nakada)

09/28/2017

08:56 PM Bug #13950: String#tr incorrectly marks strings as CR_7BIT
For what it's worth, I may have the root cause of this wrong. It looks like setting to `CR_7BIT` might be designed to... nirvdrum (Kevin Menard)
08:47 PM Bug #13950 (Closed): String#tr incorrectly marks strings as CR_7BIT
String#tr has a curious bit of code attributable to r22547, dating back to Ruby 1.9.2. It seems to blindly change the... nirvdrum (Kevin Menard)
08:26 PM Bug #13949 (Closed): String#unpack with 'M' directive can create strings with wrong code range
I've noticed that `String#unpack` with the `'M'` directive can create strings that should be `CR_7BIT` as `CR_VALID`.... nirvdrum (Kevin Menard)
08:23 PM Bug #13948 (Closed): Segfault instead of recursion depth error
Repro instructions:
~~~ ruby
# (using Ruby 2.4.2)
# 1. $ git clone [email protected]:thoughtbot/factory_girl.git ...
rpon (Ryan Pon)
07:44 PM Bug #13947: Incorreсt string parsing in Date.parse
shevegen (Robert A. Heiler) wrote:
> On my system ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux] I get:
...
jeremyevans0 (Jeremy Evans)
07:18 PM Bug #13947: Incorreсt string parsing in Date.parse
On my system ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux] I get:
Date.parse('Some random string...
shevegen (Robert A. Heiler)
04:33 PM Bug #13947 (Rejected): Incorreсt string parsing in Date.parse
There is no exception when parsing random lorem ipsum string to date. But if parse any another string everithing work... gregory (Gregory Tereshko)
03:50 PM Feature #13943: Use unpack1 instead of unpack(template)[0] in erb.rb
Thank you for showing benchmark result.
While the impact is not so large with that benchmark, this would be expected...
k0kubun (Takashi Kokubun)
02:19 PM Feature #13943: Use unpack1 instead of unpack(template)[0] in erb.rb
Using benchmark_driver gem, `unpack1(template)` is about 1.07x faster than `unpack(template)[0]`.
```
% cat url_e...
znz (Kazuhiro NISHIYAMA)
01:37 AM Feature #13943: Use unpack1 instead of unpack(template)[0] in erb.rb
I think a benchmark would be great. There are some ruby hackers/devs that almost always add benchmarks to their chang... shevegen (Robert A. Heiler)
03:45 PM Feature #13884: Reduce number of memory allocations for "and", "or" and "diff" operations on small arrays
I like the idea. Nobu, could you review?
Matz.
matz (Yukihiro Matsumoto)
03:32 PM Feature #13884: Reduce number of memory allocations for "and", "or" and "diff" operations on small arrays
Send request to https://.com/ruby/ruby/pull/1709 DmitryBochkarev (Dmitry Bochkarev)
01:56 PM Bug #13642 (Closed): MinGW - Bug::Win32::TestDln#test_check_imported & misc
Applied in changeset trunk|r60056.
----------
test_dln.rb: fix path separator on MinGW
* test/-ext-/win32/test_dln....
Anonymous
01:55 PM Revision ff6573b6 (git): test_dln.rb: fix path separator on MinGW
* test/-ext-/win32/test_dln.rb (TestDln#test_check_imported):
RbConfig::CONFIG["PATH_SEPARATOR"] is : which is a se...
h.shirosaki (Hiroshi Shirosaki)
01:43 PM Bug #13856 (Closed): MinGW / mswin intermittent failure in test/socket/test_socket.rb
Applied in changeset trunk|r60055.
----------
io.c: fix segfault with closing socket on Windows
* io.c (fptr_finali...
Anonymous
01:43 PM Revision fd50c2ee (git): io.c: fix segfault with closing socket on Windows
* io.c (fptr_finalize_flush): add an argument to keep GVL.
* io.c (fptr_finalize): adjust for above change.
* io.c (i...
h.shirosaki (Hiroshi Shirosaki)
01:35 PM Feature #13946 (Closed): Rename configure.in to configure.ac
Hello ruby team!
In my quest to learn about Ruby-lang's src i was reading through [autoconf's documentation](http:...
colby (Colby Swandale)
01:32 PM Feature #12125: Proposal: Shorthand operator for Object#method
`File[&:basename]` and `File.&basename` are valid syntax already. nobu (Nobuyoshi Nakada)
01:23 PM Feature #12125: Proposal: Shorthand operator for Object#method
A colon does too many things already, a ternary operator, a symbol literal, and a keyword argument. nobu (Nobuyoshi Nakada)
12:07 PM Feature #12125: Proposal: Shorthand operator for Object#method
Is it possible to use a single colon for this?
object:name
File:basename
URI:parse
As far as ...
vassilevsky (Ilya Vassilevsky)
10:52 AM Bug #13944 (Closed): Appveyor fix PR 1708
naruse (Yui NARUSE)
12:33 AM Bug #13944: Appveyor fix PR 1708
Applied via svn 60047, [ commit be4bfe4](https://.com/ruby/ruby/commit/be4bfe4a85527c047e1010af09f7cb7c7b... MSP-Greg (Greg L)
10:51 AM Feature #11195 (Closed): Add "no_proxy" parameter to Net::HTTP.new
Applied in changeset trunk|r60054.
----------
Net::HTTP.new: Support no_proxy parameter [Feature #11195]
naruse (Yui NARUSE)
10:51 AM Revision c4130b09 (git): Net::HTTP.new: Support no_proxy parameter [Feature #11195]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:51 AM Revision ec7c76c4 (git): URI::Generic: Separate no_proxy handling
To share with Net::HTTP. see #11195
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60053 b2dd03c8-39d4-4d8f-98ff-...
naruse (Yui NARUSE)
09:20 AM Revision e4136c7b (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:19 AM Revision 52d2636f (git): Update to ruby/spec@691755d
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
09:19 AM Revision c555bd7f (git): Update to ruby/mspec@c135328
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
07:26 AM Feature #8771 (Closed): Start does not use proxy configuration form ENV variables
Implemented as r58798 naruse (Yui NARUSE)
06:27 AM Bug #13942: Illegal instruction at 0xb66d6b3b ___bug
Sorry, no idea about therubyracer. nobu (Nobuyoshi Nakada)
05:02 AM Bug #13942: Illegal instruction at 0xb66d6b3b ___bug
nobu (Nobuyoshi Nakada) wrote:
> Have you asked the therubyracer's author?
no response
nksr (nk sr)
04:34 AM Bug #13942 (Third Party's Issue): Illegal instruction at 0xb66d6b3b ___bug
Have you asked the therubyracer's author? nobu (Nobuyoshi Nakada)
03:29 AM Bug #13942 (Open): Illegal instruction at 0xb66d6b3b ___bug
nksr (nk sr)
03:25 AM Bug #13942: Illegal instruction at 0xb66d6b3b ___bug
nobu (Nobuyoshi Nakada) wrote:
> Seems a problem related to therubyracer.
>
> ```
> -- C level backtrace informa...
nksr (nk sr)
03:21 AM Bug #13942: Illegal instruction at 0xb66d6b3b ___bug
nksr (nk sr) wrote:
> this output happens while run
> rake db:blabla(any)
shevegen (Robert A. Heiler) wrote...
nksr (nk sr)
02:36 AM Bug #13942 (Third Party's Issue): Illegal instruction at 0xb66d6b3b ___bug
Seems a problem related to therubyracer.
```
-- C level backtrace information -----------------------------------...
nobu (Nobuyoshi Nakada)
02:51 AM Revision 140daa52 (git): test_io_console.rb: flush
* test/io/console/test_io_console.rb: flush to ensure the second
data is sent.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
01:08 AM Feature #13618: [] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
I've updated the series to support FIBER_USE_NATIVE=0 (along
with the proposed fix for [Bug #13887]).

The primar...
normalperson (Eric Wong)

09/27/2017

10:25 PM Feature #13943: Use unpack1 instead of unpack(template)[0] in erb.rb
It should implicitly be faster, as it avoids the array creation, insertion, and dereferencing that occurs with:
m....
wyhaines (Kirk Haines)
01:49 PM Feature #13943: Use unpack1 instead of unpack(template)[0] in erb.rb
Could you put benchmark result? k0kubun (Takashi Kokubun)
12:56 PM Feature #13943 (Closed): Use unpack1 instead of unpack(template)[0] in erb.rb
I think `unpack1(template)` is faster than `unpack(template)[0]`.
Attached for `lib/erb.rb`.
znz (Kazuhiro NISHIYAMA)
09:55 PM Revision d21aab2d (git): * 2017-09-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:55 PM Revision be4bfe4a (git): Remove DevKit path, change zlib link
by MSP-Greg <[email protected]>
fix https://.com/ruby/ruby/pull/1708
git-svn-id: svn+ssh://ci....
naruse (Yui NARUSE)
09:48 PM Bug #13945 (Closed): Backport r60024
```
vm.c: fetch retval iff necessary
* vm.c (rb_vm_make_jump_tag_but_local_jump): get rid of fetching
retval w...
naruse (Yui NARUSE)
04:15 PM Bug #13942: Illegal instruction at 0xb66d6b3b ___bug
Do you think you could try other ruby versions as well, just to see whether the bug is still there? It may give the r... shevegen (Robert A. Heiler)
12:50 PM Bug #13942: Illegal instruction at 0xb66d6b3b ___bug
this output happens while run
rake db:blabla(any)
nksr (nk sr)
12:36 PM Bug #13942 (Third Party's Issue): Illegal instruction at 0xb66d6b3b ___bug
See bug-13942.log nksr (nk sr)
02:33 PM Bug #13944 (Closed): Appveyor fix PR 1708
Available at https://.com/ruby/ruby/pull/1708
'Devkit' is use with RubyInstaller builds, but not with RubyIn...
MSP-Greg (Greg L)
12:32 PM Revision 8aebd7e9 (git): Fix exception class [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:47 AM Revision dbb6e0a4 (git): improve grammar in documentation of Array#bsearch [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
05:27 AM Revision a59837dd (git): pty.c: shrink repeated device names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:27 AM Revision 37a9da68 (git): objspace_dump.c: remove unnecessary break
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:08 AM Revision 253fd5fe (git): ext: adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:56 AM Misc #13938: [ANN] Rolling MinGW trunk build
> Does it work? :>
For several months. Used in Appveyor testing by rubygems/rubygems and ruby/spec. Hopefully, m...
MSP-Greg (Greg L)
02:55 AM Revision 65d74799 (git): complex.c: no overflow
* complex.c (rb_complex_infinite_p): get rid of overflow and
unnecessary multiplication.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
02:38 AM Revision 241ba38d (git): complex.c: no overflow
* complex.c (rb_complex_finite_p): get rid of overflow and
unnecessary multiplication.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
01:01 AM Revision 9eed577c (git): * 2017-09-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:01 AM Revision ea5e91b5 (git): * complex.c: fix Complex#infinite? return value. Because nucomp_abs never returns negative value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
 

Also available in: Atom