Project

General

Profile

Activity

From 04/18/2016 to 04/24/2016

04/24/2016

11:03 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Nobu,
Regarding:
> Most of them looks different from ActiveSupport's String#blank? which is Unicode aware.
...
sam.saffron (Sam Saffron)
07:01 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Just one comment, not related to the suggestion itself but to one
other comment made above.
Richard Schneeman wr...
shevegen (Robert A. Heiler)
03:14 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Richard Schneeman wrote:
> I think this is useful outside of Rails. The Active Support module has 87 million downloa...
naruse (Yui NARUSE)
06:44 PM Bug #12286: Segfault on ruby 2.3.0p0 (2015-12-25 revision 53290) [armv7l-linux-eabihf]
Rick, could you also check it on recent stable eventmachine? They had improved cleanup process, so the issue might be... avsej (Sergey Avseyev)
06:41 PM Misc #12283: Obsolete ChangeLog and commit message in Git-style
[email protected] wrote:
> Shyouhei Urabe wrote:
> > Seems no one is against abandoning ChangeLog.
> >
> > What...
normalperson (Eric Wong)
03:47 PM Misc #12283: Obsolete ChangeLog and commit message in Git-style
Shyouhei Urabe wrote:
> Seems no one is against abandoning ChangeLog.
>
> What about "a ChangeLog-like plain-text...
naruse (Yui NARUSE)
05:44 PM Bug #12314: Backport r54716, r54719 and r54750 (don't use system round(3) on AIX)
ruby_2_3 r54754 merged revision(s) 54716,54719,54750. nagachika (Tomoyuki Chikanaga)
05:44 PM Revision 6ccc9e9f (git): merge revision(s) 54716,54719,54750: [Backport #12314]
* configure.in: don't use the system-provided round(3) on AIX.
In AIX, round(0.49999999999999994) returns 1...
nagachika (Tomoyuki Chikanaga)
03:08 PM Revision 32aa367d (git): * 2016-04-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision 9bf0f4b9 (git): Revert "common.mk: timestamp file for verconf.h"
This reverts commit r54748.
It breaks build.
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20160424T1207...
naruse (Yui NARUSE)
02:58 PM Revision 60926acd (git): Revert "vm_insnhelper.c: INLINE condition" [Bug #12316]
This reverts commit r54747.
!__clang__ is also essential.
Anyway clang inlines vm_getivar into both vm_call_ivar and
...
naruse (Yui NARUSE)
02:56 PM Bug #12316 (Third Party's Issue): clang on Linux wrongly keep the inlined symbol
Through clang-3.4 to clang-3.8 they wrongly keep the inlined symbols, and it cause compilation error.
```
compili...
naruse (Yui NARUSE)
02:32 PM Revision 8ea19402 (git): * configure.in: add missing -lm for AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Rei Odaira
01:41 PM Revision 8b8c1862 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:01 PM Revision c8d9ef86 (git): common.mk: timestamp file for verconf.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:01 PM Revision 5bd78d64 (git): vm_insnhelper.c: INLINE condition
* vm_insnhelper.c (INLINE): works with __NO_INLINE__ only,
__clang__ is not the point.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
09:42 AM Revision 5f9cf734 (git): * vm_insnhelper.c (INLINE): cosmetic change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
09:37 AM Revision 322ec847 (git): * vm_insnhelper.c (INLINE): disbale r54738 if __NO_INLINE__ is defined.
It caused "undefined reference to `vm_getivar'".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54745 b2dd03c8-39...
ktsj (Kazuki Tsujimoto)
03:42 AM Revision 3184407a (git): Revert r54742
Commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:38 AM Revision 73d7d09a (git): Disable r54738 if clang
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:56 AM Revision 33b523db (git): Fix compile error other than gcc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:10 AM Revision 84f45503 (git): regexec.c: constify
* regexec.c (match_at): constify oplabels.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54741 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
01:10 AM Revision cc0ffc55 (git): win32.c: suppress warnings
* win32/win32.c (set_pioinfo_extra): remove "/*" within comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
nobu (Nobuyoshi Nakada)
12:41 AM Bug #12315 (Feedback): OptionParser parses quoted --dash strings in 2.3.0
I can't reproduce it.
```
$ ruby -roptparse -e 'ARGV.options{|opt|opt.on("-x=STR"){|x|p x}; opt.parse!}' -- -x 'a...
nobu (Nobuyoshi Nakada)
12:32 AM Revision 7e5b1b65 (git): * test/ruby/test_array.rb: Add test cases for Array#sum with
non-numeric objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)

04/23/2016

10:30 PM Revision 65a1cdaf (git): * vm_insnhelper.c (INLINE): define as `inline` when it is optimized.
define as `static inline` when it is not optimized to keep
the symbol generated.
* vm_insnhelper.c (vm_getivar): u...
naruse (Yui NARUSE)
07:06 PM Bug #12315 (Closed): OptionParser parses quoted --dash strings in 2.3.0
Working on 2.2.4:
~~~
wmctile -c -x 'subl --new-window' --switch-to 'sublime_text.Sublime_text'
~~~
On 2.3.0,...
mreq (Petr Marek)
06:46 PM Bug #11118 (Closed): Unable to build Ruby with Visual Studio 2015 RC
Applied in changeset r54737.
----------
Support MSVC14 and 15 [Bug #11118]
Search _pioinfo which is not exported af...
naruse (Yui NARUSE)
06:46 PM Revision 9afc312b (git): Support MSVC14 and 15 [Bug #11118]
Search _pioinfo which is not exported after MSVC14.
[Bug #12014] [GH-884]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
naruse (Yui NARUSE)
06:23 PM Bug #12184: Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
ruby_2_3 r54736 merged revision(s) 54720. nagachika (Tomoyuki Chikanaga)
12:03 AM Bug #12184 (Closed): Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
Applied in changeset r54720.
----------
ruby.c: fix command line encoding on cygwin
* ruby.c: cygwin does not use w...
nobu (Nobuyoshi Nakada)
06:23 PM Revision 7b70f0e2 (git): merge revision(s) 54720: [Backport #12184]
* ruby.c: cygwin does not use w32_cmdvector, command line can be
other than UTF-8. [ruby-dev:49519] [Bug #...
nagachika (Tomoyuki Chikanaga)
06:05 PM Revision d4557cf6 (git): * 2016-04-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:05 PM Revision 8f9b8d48 (git): * tool/merger.rb: use FileUtile.rm_f to fix an error on missing temporary file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
05:24 PM Bug #12314 (Closed): Backport r54716, r54719 and r54750 (don't use system round(3) on AIX)
This is a ticket for backport management. Already fixed on trunk.
nagachika (Tomoyuki Chikanaga)
03:56 PM Bug #12313 (Closed): [DOC] Fix two code samples
Two tiny fixes of code samples, in Encoding and BigDecimal. stomar (Marcus Stollsteimer)
02:12 PM Revision 2ede24a8 (git): compile.c: remove redundant trace insn
* compile.c (iseq_peephole_optimize): remove successive line trace
instructions except for the last.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
12:33 PM Bug #12255: [DOC] Small fix for rdoc of ext/json/lib/json/add/*
ping... stomar (Marcus Stollsteimer)
12:17 PM Revision 8c3d9d99 (git): vm_insnhelper.c: getivar setivar optimization
* vm_insnhelper.c (vm_getivar, vm_setivar): remove inline.
* vm_insnhelper.c (vm_call_ivar, vm_call_attrset): tweak ...
nobu (Nobuyoshi Nakada)
11:43 AM Revision 12ef609f (git): compile.c: instruction ID predicate
* compile.c (IS_INSN_ID): add instruction ID predicate macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5473...
nobu (Nobuyoshi Nakada)
11:39 AM Revision 6871d400 (git): compile.c: ISeq element type predicates
* compile.c (IS_INSN, IS_LABEL, IS_ADJUST): add ISeq element type
predicate macros.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
11:26 AM Revision ea1cff3b (git): vm_insnhelper.c: missing static to inline
* vm_insnhelper.c (vm_getivar): add missing static to inline,
otherwise external symbol is referred and link fails ...
nobu (Nobuyoshi Nakada)
09:16 AM Revision 3de227bd (git): * vm_insnhelper.c (vm_getivar): specify inline instead of static inline.
vm_getivar is called by vm_call_ivar and vm_getinstancevariable.
At least with GCC 4.8 and 5.3 on Linux, they are i...
naruse (Yui NARUSE)
07:15 AM Revision 973ba3e8 (git): * include/ruby/ruby.h (rb_mul_size_overflow): use UNLIKELY
by user side to improve generallity.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54727 b2dd03c8-39d4-4d8f-98ff...
naruse (Yui NARUSE)
07:15 AM Revision 5587badf (git): * include/ruby/ruby.h (RB_LIKELY): use prefix in ruby.h.
* intern.h (LIKELY): define with RB_LIKELY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54726 b2dd03c8-39d4-4d...
naruse (Yui NARUSE)
04:27 AM Revision 3f7cce9f (git): * NEWS: Add descriptions for Time#to_time updates.
[Bug #12271] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
04:23 AM Revision e9db63d9 (git): * NEWS: Add descriptions for DateTime#to_time updates.
[Bug #12189] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
03:23 AM Revision e496dfe6 (git): eval.c: reuse VM tag
* eval.c (ruby_cleanup): reuse same VM tag by managing steps.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5472...
nobu (Nobuyoshi Nakada)
03:23 AM Revision 53d5f865 (git): eval_error.c: reuse threadptr
* eval_error.c (error_print, error_handle): reuse same threadptr
by passing as an argument.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
02:21 AM Bug #12311 (Closed): [DOC] Convert DateTime documentation to RDoc
Applied in changeset r54721.
----------
date_core.c: [DOC] markdown to rdoc [ci skip]
* ext/date/date_core.c (Init_...
nobu (Nobuyoshi Nakada)
02:21 AM Revision f56a2c72 (git): date_core.c: [DOC] markdown to rdoc [ci skip]
* ext/date/date_core.c (Init_date_core): [DOC] Convert DateTime
documentation to RDoc from Markdown.
[ruby-core:7...
nobu (Nobuyoshi Nakada)
01:25 AM Bug #12289 (Feedback): Segmentation fault at 0x00000000000020 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
Could you try recent versions? nobu (Nobuyoshi Nakada)
12:03 AM Revision 88783116 (git): ruby.c: fix command line encoding on cygwin
* ruby.c: cygwin does not use w32_cmdvector, command line can be
other than UTF-8. [ruby-dev:49519] [Bug #12184]
...
nobu (Nobuyoshi Nakada)
12:02 AM Revision 4558e2d1 (git): configure.in: move cache variable for AIX round
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

04/22/2016

04:19 PM Bug #12312 (Closed): Make PTY take environment variables like popen does
Need a PTY that also takes environment variables ... hacking around it with script (which works differently on OSX an... grosser (Michael Grosser)
04:10 PM Bug #12302: at_exit status status is changed by raising/rescueing a exception in at_exit
ruby_2_3 r54718 merged revision(s) 54681. nagachika (Tomoyuki Chikanaga)
10:31 AM Bug #12302: at_exit status status is changed by raising/rescueing a exception in at_exit
[removed spammer's comment and locked the account] Rokki1488 (karache deyong)
10:30 AM Bug #12302: at_exit status status is changed by raising/rescueing a exception in at_exit
[removed spammer's comment and locked the account] Rokki1488 (karache deyong)
06:09 AM Bug #12302 (Closed): at_exit status status is changed by raising/rescueing a exception in at_exit
Applied in changeset r54681.
----------
eval_jump.c: restore previous error info
* eval_jump.c (exec_end_procs_chai...
nobu (Nobuyoshi Nakada)
04:10 PM Revision ab3376b9 (git): merge revision(s) 54681: [Backport #12302]
* eval_jump.c (exec_end_procs_chain): restore previous error info
for each end procs. [ruby-core:75038] [B...
nagachika (Tomoyuki Chikanaga)
04:02 PM Revision 4c901830 (git): * 2016-04-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:02 PM Revision 35464cab (git): * configure.in: don't use the system-provided round(3) on AIX.
In AIX, round(0.49999999999999994) returns 1.0.
Use round() in numeric.c instead.
git-svn-id: svn+ssh://ci.ruby-la...
Rei Odaira
03:59 PM Bug #12082: Tail-calling method can't catch exception raised by tail-called method
ruby_2_3 r54715 merged revision(s) 54141,54542,54548. nagachika (Tomoyuki Chikanaga)
09:42 AM Bug #12082: Tail-calling method can't catch exception raised by tail-called method
ruby_2_2 r54698 merged revision(s) 54542,54548. usa (Usaku NAKAMURA)
03:59 PM Revision b8aa4100 (git): merge revision(s) 54141,54542,54548: [Backport #12082]
test_optimization.rb: tailcall
* test/ruby/test_optimization.rb (TestRubyOptimization.tailcall):
helper me...
nagachika (Tomoyuki Chikanaga)
03:40 PM Bug #12201: nkf.c static void fold_conv part of exression always true
ruby_2_3 r54714 merged revision(s) 54423,54489. nagachika (Tomoyuki Chikanaga)
09:23 AM Bug #12201: nkf.c static void fold_conv part of exression always true
ruby_2_2 r54695 merged revision(s) 54423,54489. usa (Usaku NAKAMURA)
03:39 PM Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too
ruby_2_3 r54714 merged revision(s) 54423,54489. nagachika (Tomoyuki Chikanaga)
09:23 AM Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too
ruby_2_2 r54695 merged revision(s) 54423,54489. usa (Usaku NAKAMURA)
03:39 PM Revision 9224427b (git): merge revision(s) 54423,54489: [Backport #12201] [Backport #12202]
* ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0.
ed by Anton Sivakov [Bug #12201] [Bug #12202]
...
nagachika (Tomoyuki Chikanaga)
03:30 PM Bug #12139: return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
ruby_2_3 r54713 merged revision(s) 54144,54699. nagachika (Tomoyuki Chikanaga)
09:18 AM Bug #12139: return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
ruby_2_2 r54693 merged revision(s) 54144. usa (Usaku NAKAMURA)
03:30 PM Revision a8acc95f (git): merge revision(s) 54144,54699: [Backport #12139]
* lib/securerandom.rb (gen_random): to avoid blocking on Windows.
On Windows OpenSSL RAND_bytes (underlying...
nagachika (Tomoyuki Chikanaga)
03:26 PM Bug #11872: Use 'ASCII-8BIT', not 'binary', for miniruby
ruby_2_3 r54712 merged revision(s) 53315. nagachika (Tomoyuki Chikanaga)
03:26 PM Revision dc4286a1 (git): merge revision(s) 53315: [Backport #11872]
* miniinit.c (Init_enc): add some common aliases of built-in
encodings. [ruby-core:72481] [Bug #11872]
g...
nagachika (Tomoyuki Chikanaga)
03:24 PM Bug #11916: Fix delegating to 'args' and 'block'
ruby_2_3 r54711 merged revision(s) 53382,53511,53512. nagachika (Tomoyuki Chikanaga)
05:23 AM Bug #11916: Fix delegating to 'args' and 'block'
ruby_2_2 r54673 merged revision(s) 53381,53382,53511,53512. usa (Usaku NAKAMURA)
05:11 AM Bug #11916: Fix delegating to 'args' and 'block'
naruse-san, it seems that r53382, r53511 and r53512 are also needed for ruby_2_3. usa (Usaku NAKAMURA)
03:24 PM Revision 69dc2ce6 (git): merge revision(s) 53382,53511,53512: [Backport #11916]
fix commit miss
* test/test_forwardable.rb: add tests for r53381.
* lib/forwardable.rb: Convert give...
nagachika (Tomoyuki Chikanaga)
03:12 PM Bug #12311 (Closed): [DOC] Convert DateTime documentation to RDoc
The docs for DateTime are written in Markdown, the converts it to the RDoc format.
This fixes syntax highlight...
stomar (Marcus Stollsteimer)
03:10 PM Bug #12303: No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
ruby_2_3 r54710 merged revision(s) 54657,54660. nagachika (Tomoyuki Chikanaga)
03:10 PM Revision fdd8cf97 (git): merge revision(s) 54657,54660: [Backport #12303]
* configure.in: check if succeeded in creating config.h.
* tool/ifchange: ignore failures when TEST_COLORS u...
nagachika (Tomoyuki Chikanaga)
02:53 PM Misc #12310: ctime vs asctime - Documentation Issue? - http://ruby-doc.org/core-2.3.0/Time.html
@Robert
FYI, Time#ctime and Time#asctime are aliases.
stomar (Marcus Stollsteimer)
11:34 AM Misc #12310 (Closed): ctime vs asctime - Documentation Issue? - http://ruby-doc.org/core-2.3.0/Time.html
Applied in changeset r54703.
----------
time.c: add example [ci skip]
* time.c (time_asctime): [DOC] add ctime exam...
nobu (Nobuyoshi Nakada)
10:53 AM Misc #12310 (Closed): ctime vs asctime - Documentation Issue? - http://ruby-doc.org/core-2.3.0/Time.html
All,
I was working through the Time Class documentation at http://ruby-doc.org/core-2.3.0/Time.html.
I noted a ...
robertmcginn (Robert McGinn)
02:47 PM Bug #12256: multiline regex parses '/' in a comment
ruby_2_3 r54709 merged revision(s) 54510. nagachika (Tomoyuki Chikanaga)
09:34 AM Bug #12256: multiline regex parses '/' in a comment
ruby_2_2 r54697 merged revision(s) 54510. usa (Usaku NAKAMURA)
02:47 PM Revision cce82740 (git): merge revision(s) 54510: [Backport #12256]
* doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
comments. [ruby-core:74838] [Bug #12256]
...
nagachika (Tomoyuki Chikanaga)
02:44 PM Bug #12228: [DOC] Fix errors in doc/extension*.rdoc
ruby_2_3 r54708 merged revision(s) 54434. nagachika (Tomoyuki Chikanaga)
02:44 PM Revision f3b73a8e (git): merge revision(s) 54434: [Backport #12228]
* extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors.
Renamed files, wrong method names or argument t...
nagachika (Tomoyuki Chikanaga)
02:38 PM Revision b7aceaaa (git): merge revision(s) 54706:
* test/ruby/test_time_tz.rb: Tests depends on Europe/Moscow removed
to avoid test failures due to the tzdat...
nagachika (Tomoyuki Chikanaga)
01:58 PM Bug #12309: Segmentation fault caused by OpenSSL
Maybe [Bug #12126]? nobu (Nobuyoshi Nakada)
09:18 AM Bug #12309 (Rejected): Segmentation fault caused by OpenSSL
I am consistently getting a segmentation fault whils running Sinatra. It appears to be during an net/http request to ... jhaig (Joseph Haig)
12:41 PM Bug #12305: "can't remove str from str_id" at unregister_sym
I think it is difficult to track it down if it only appears sometimes.
Perhaps you find some way to trigger it mor...
shevegen (Robert A. Heiler)
12:20 PM Revision c5c60ded (git): * test/ruby/test_time_tz.rb: Tests depends on Europe/Moscow removed
to avoid test failures due to the tzdata change.
https://.com/eggert/tz/commit/8ee11a301cf173afb0c76e0315b9f9...
akr (Akira Tanaka)
11:44 AM Revision ef6af0c9 (git): [DOC] Arrah#sum with non-numeric objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:42 AM Revision fac42e6c (git): * include/ruby/ruby.h (rb_mul_size_overflow): added to handle
mul overflow efficiently.
* include/ruby/ruby.h (rb_alloc_tmp_buffer2): use rb_mul_size_overflow
and avoid divisio...
naruse (Yui NARUSE)
11:42 AM Bug #12307 (Rejected): File.new and File.open change permissions even if the file exists on Windows
Thank you for the C example and explanation!
So indeed the behavior of MSVCRT contradicts its description:
"[...] I...
Eregon (Benoit Daloze)
11:34 AM Revision 5fd58928 (git): time.c: add example [ci skip]
* time.c (time_asctime): [DOC] add ctime example, not only
asctime. [ruby-core:75126] [Bug #12310]
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
10:21 AM Revision ed01f3c7 (git): Revert r54694 because of compatibility problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:04 AM Revision bc65dbcd (git): variable.c: fix implicit conversion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:47 AM Revision 3738fe33 (git): * variable.c: use uint32_t instead of long to avoid confusion about
the type of ivtbl->numiv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:45 AM Bug #12271: `Time#to_time` removes timezone information
Thank you for reporting.
I give up to backport this into ruby_2_2.
usa (Usaku NAKAMURA)
08:54 AM Bug #12271: `Time#to_time` removes timezone information
(It is up to the branch maintainers but) given the actual Rails breakage, my feeling is negative to classify this as ... shyouhei (Shyouhei Urabe)
08:24 AM Bug #12271: `Time#to_time` removes timezone information
I feel this is a like feature change.
For example, it seems a rubyist felt this change be incompatibility.
https...
yui-knk (Kaneko Yuichiro)
09:45 AM Revision 70038431 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:42 AM Revision bb7fa59e (git): merge revision(s) 54542,54548: [Backport #12082]
* compile.c (iseq_optimize): disable tail call optimization in
rescued, rescue, and ensure blocks.
...
U.Nakamura
09:34 AM Revision 3a2effbd (git): merge revision(s) 54510: [Backport #12256]
* doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
comments. [ruby-core:74838] [Bug #12256]
...
U.Nakamura
09:32 AM Revision 77e74bef (git): * extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors.
Renamed files, wrong method names or argument types; the example
GetDBM macro is now updated to the current version...
U.Nakamura
09:23 AM Revision 42569dd4 (git): merge revision(s) 54423,54489: [Backport #12201] [Backport #12202]
* ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0.
ed by Anton Sivakov [Bug #12201] [Bug #12202]
...
U.Nakamura
09:20 AM Bug #12189: DateTime#to_time removes timezone information
ruby_2_2 r54694 merged revision(s) 54169. usa (Usaku NAKAMURA)
09:20 AM Revision 59fadede (git): merge revision(s) 54169: [Backport #12189]
* ext/date/date_core.c (datetime_to_time): preserve timezone info
[Bug #12189] [Fix GH-1295]
git-svn-id: ...
U.Nakamura
09:17 AM Revision cb66eaab (git): merge revision(s) 54144: [Backport #12139]
* lib/securerandom.rb (gen_random): to avoid blocking on Windows.
On Windows OpenSSL RAND_bytes (underlying...
U.Nakamura
09:15 AM Bug #12193: ruby 2.3 on windows test-all failed
ruby_2_2 r54692 merged revision(s) 54307. usa (Usaku NAKAMURA)
08:49 AM Bug #12193: ruby 2.3 on windows test-all failed
ruby_2_1 r54689 merged revision(s) 54307. usa (Usaku NAKAMURA)
09:15 AM Revision 34a72a75 (git): merge revision(s) 54307: [Backport #12193]
* lib/rubygems/test_case.rb: Fix test on Windows for inconsistent temp path.
https://.com/rubygems/ru...
U.Nakamura
09:10 AM Revision 6d728bda (git): * 2016-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:10 AM Revision 6968f3a0 (git): Revert previous commit because it was a mistake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:49 AM Revision 54c011a9 (git): merge revision(s) 54307: [Backport #12193]
* lib/rubygems/test_case.rb: Fix test on Windows for inconsistent temp path.
https://.com/rubygems/ru...
U.Nakamura
08:22 AM Feature #12032: Matrix.rb ruby documentation
Hi Megan O'Neill,
I think it's better to mention that these 3 methods are deprecated now :)
gogotanaka (Kazuki Tanaka)
07:37 AM Bug #12288: [Backport] r49576: check RAND_egd to support libressl
ruby_2_2 r54688 merged revision(s) 49576. usa (Usaku NAKAMURA)
07:37 AM Revision dadc253d (git): merge revision(s) 49576: [Backport #12288]
* ext/openssl/extconf.rb: check RAND_edg to support libressl.
* ext/openssl/ossl_rand.c (ossl_rand_egd): def...
U.Nakamura
07:33 AM Bug #12249: Math.gamma(-0.0) should return -Infinity
ruby_2_2 r54687 merged revision(s) 49913,54492,54494,54495,54496,54499,54503. usa (Usaku NAKAMURA)
07:33 AM Revision 4eba3445 (git): merge revision(s) 49913,54492,54494,54495,54496,54499,54503: [Backport #12249]
math.c: fix tgamma on mingw
* math.c (mingw_tgamma): tgamma(3) on mingw returns a NaN for a
big number, no...
U.Nakamura
07:11 AM Bug #8851: alias/undef で % リテラルによるシンボルが使えない
ruby_2_2 r54686 merged revision(s) 54131. usa (Usaku NAKAMURA)
07:11 AM Revision e102f563 (git): merge revision(s) 54131: [Backport #8851]
* defs/keywords (alias, undef): symbol literals are allowed.
* parse.y (parse_percent): should parse symbol ...
U.Nakamura
06:59 AM Bug #12291: Struct member accessor is not consistent with hash access when keys are repeated
ruby_2_2 r54685 merged revision(s) 54611,54612. usa (Usaku NAKAMURA)
06:59 AM Revision 88efadca (git): merge revision(s) 54611,54612: [Backport #12291]
* struct.c (struct_make_members_list): extract making member name
list from char* va_list, with creating sy...
U.Nakamura
06:24 AM Bug #12264: Win32::Registry::API.DeleteKey and DeleteValue reference renamed constants
ruby_2_2 r54684 merged revision(s) 54529. usa (Usaku NAKAMURA)
06:24 AM Revision 8d9e1ca9 (git): merge revision(s) 54529: [Backport #12264]
* ext/win32/lib/win32/registry.rb (DeleteValue, DeleteKey): fix
API names. [ruby-core:74863] [Bug #12264]
...
U.Nakamura
06:18 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
ruby_2_2 r54683 merged revision(s) 54484. usa (Usaku NAKAMURA)
06:18 AM Revision b0f5d2eb (git): merge revision(s) 54484: [Backport #12095]
* vm_core.h (rb_vm_struct): make at_exit a single linked list but
not RArray, not to mark the registered fu...
U.Nakamura
06:14 AM Revision ff4cec3c (git): tk: suppress progress indicators
* ext/tk/extconf.rb: hack to disable progress indicators with
parallel build, not to interleave other messages.
gi...
nobu (Nobuyoshi Nakada)
06:09 AM Bug #12237: Coverage keeps tracking counts even after Coverage.result
ruby_2_2 r54680 merged revision(s) 54465. usa (Usaku NAKAMURA)
06:09 AM Revision 1fbe0943 (git): eval_jump.c: restore previous error info
* eval_jump.c (exec_end_procs_chain): restore previous error info
for each end procs. [ruby-core:75038] [Bug #1230...
nobu (Nobuyoshi Nakada)
06:09 AM Revision aef285f5 (git): merge revision(s) 54465: [Backport #12237]
* thread.c (update_coverage): Do not track coverage in loaded files
after Coverage.result. Avoids out-of-bo...
U.Nakamura
06:07 AM Revision 219f68ab (git): * tool/redmine-backporter.rb: the fullpath of merger.rb is too long to
copy&paste on Windows. show shorter name instead on the platform.
I'm sure that the user of this command on Window...
U.Nakamura
06:03 AM Bug #12233: Please consider adding documentation to DateTime, one line, require 'date'
ruby_2_2 r54678 merged revision(s) 54444. usa (Usaku NAKAMURA)
06:03 AM Revision 658cd087 (git): merge revision(s) 54444: [Backport #12233]
* ext/date/date_core.c (Init_date_core): [DOC] fix misplaced doc
of DateTime. [ruby-core:74729] [Bug #1223...
U.Nakamura
05:52 AM Revision 696adbcc (git): * tool/merger.rb: remove temporary file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:51 AM Bug #12073: local variable interferes with keyword arguments
ruby_2_2 r54676 merged revision(s) 53834,53835,53836. usa (Usaku NAKAMURA)
05:51 AM Revision 3df0e54b (git): merge revision(s) 53834,53835,53836: [Backport #12073]
parse.y: simplify local ID condition
* parse.y (tokenize_ident, parse_ident): ident in tokenize_ident()
ca...
U.Nakamura
05:38 AM Bug #12068: raise overwrites exception cause even if exception is not new
ruby_2_2 r54675 merged revision(s) 53819,53822. usa (Usaku NAKAMURA)
05:38 AM Revision 22a97cbf (git): merge revision(s) 53819,53822: [Backport #12068]
* eval.c (setup_exception): set the cause only if it is explicitly
given or not set yet. [Bug #12068]
gi...
U.Nakamura
05:33 AM Bug #12287: [Backport] r53619: libdir_basename on Windows
ruby_2_2 r54674 merged revision(s) 53619,53620,53621,53622,53623,53624,53626,53627. usa (Usaku NAKAMURA)
05:33 AM Revision 82e65291 (git): merge revision(s) 53619,53620,53621,53622,53623,53624,53626,53627: [Backport #12287]
configure.bat: --with-libdir
* win32/configure.bat: add --with-libdir option for basename of
libdir. on W...
U.Nakamura
05:22 AM Revision 4c81b109 (git): merge revision(s) 53381,53382,53511,53512: [Backport #11916]
* lib/forwardable.rb (def_instance_delegator) fix delegating to
'args' and 'block', clashing with local var...
U.Nakamura
05:04 AM Bug #12253: tkとmechanizeを併用してTkButtonを押すと"TypeError: allocator undefined for TkEvent::Event"エラーが起こる
ruby_2_2 r54672 merged revision(s) 50338. usa (Usaku NAKAMURA)
05:04 AM Revision 1cca2abf (git): merge revision(s) 50338: [Backport #12253]
tkutil.c: revert r48250
* ext/tk/tkutil/tkutil.c (Init_tkutil): TkUtil::CallbackSubst and
TkUtil::Callback...
U.Nakamura
05:01 AM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
ruby_2_2 r54671 merged revision(s) 53495. usa (Usaku NAKAMURA)
05:01 AM Revision 01828cf4 (git): merge revision(s) 53495: [Backport #11970]
* compile.c (compile_massign_lhs): when index ends with splat,
append rhs value to it like POSTARG, since V...
U.Nakamura
02:31 AM Bug #12308 (Closed): segfault in add_signal_thread_list
Greetings:
On very rare occasions, my Ruby 2.1.9 segfaults when calling `malloc` from `add_signal_thread_list` wit...
ice799 (Joe Damato)
02:27 AM Revision 44dc0f32 (git): * lib/net/http.rb: Improve documentation for SSL requests via GET method.
[fix GH-1325][ci skip] by @jsyeo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54670 b2dd03c8-39d4-4d8f-98...
hsbt (Hiroshi SHIBATA)
01:51 AM Revision 8a77a41f (git): * lib/webrick/ssl.rb: Support to add SSLCiphers option.
[fix GH-1321] by @rhadoo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54669 b2dd03c8-39d4-4d8f-98ff-823fe...
hsbt (Hiroshi SHIBATA)
01:43 AM Revision 48d22f83 (git): * file.c, win32/file.c: Removed obsoleted safe level checks.
[fix GH-1327] by @cremno
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54668 b2dd03c8-39d4-4d8f-98ff-823fe...
hsbt (Hiroshi SHIBATA)
01:02 AM Revision 6f6e35f4 (git): * benchmark/bm_so_meteor_contest.rb: fix a typo.
[fix GH-1330][ci skip] by @sachin21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54667 b2dd03c8-39d4-4d8f...
hsbt (Hiroshi SHIBATA)

04/21/2016

11:17 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
> The document does not explicitly forbids to change file permissions (except for O_TRUNC but the motivation seems to... usa (Usaku NAKAMURA)
11:00 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
> Does open(2) in MSVCRT causes this bug?
No.
Ruby always call `open(2)` with `O_CREAT` when opening files with `...
usa (Usaku NAKAMURA)
10:31 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
Usaku NAKAMURA wrote:
> This behavior is derived from the implementation of MSVCRT.
> Changing this is a little dif...
Eregon (Benoit Daloze)
10:28 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
FWIW, Ruby documentation of File.open and File.new is also phrased the same way:
"If a file is being created, its in...
Eregon (Benoit Daloze)
10:25 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
Usaku NAKAMURA wrote:
> To my understanding, POSIX doesn't say so.
> It only says that the mode is not changed when...
Eregon (Benoit Daloze)
09:51 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
To my understanding, POSIX doesn't say so.
It only says that the mode is not changed when specified O_TRUNC for an e...
usa (Usaku NAKAMURA)
09:14 PM Bug #12307 (Rejected): File.new and File.open change permissions even if the file exists on Windows
For instance:
~~~
# New file
File.open("abc", "w", 0666) { |f|
puts f.stat.mode.to_s(8) # => 100666, OK
}
...
Eregon (Benoit Daloze)
09:59 PM Revision 673e470d (git): default.mspec: OBJDIR
* spec/default.mspec: set object directory for optional/capi, not
to pollute the source directory.
https://...
nobu (Nobuyoshi Nakada)
09:38 PM Revision 27f74fe7 (git): spec/default.mspec: reduce expand_path
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:59 PM Revision feaa82a4 (git): * gc.c (rb_alloc_tmp_buffer_with_count): added like xmalloc2 to
avoid duplicated check of size.
* gc.c (ruby_xmalloc2): added to keep separate layers.
* include/ruby/ruby.h (rb_al...
naruse (Yui NARUSE)
08:59 PM Revision f056071c (git): * 2016-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:59 PM Revision 54c1f479 (git): * include/ruby/ruby.h (LIKELY): moved from internal.h.
* include/ruby/ruby.h (UNLIKELY): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54662 b2dd03c8-39d4-4d8f-...
naruse (Yui NARUSE)
08:59 PM Revision fe120ac1 (git): * gc.c (objspace_malloc_prepare): remove size check because it is
used by objspace_xmalloc and objspace_xcalloc.
objspace_xmalloc introduces its own check in this commit.
objspace...
naruse (Yui NARUSE)
08:48 PM Bug #12258: RDoc bug when handling comments in C code examples
Also opened an issue for RDoc: https://.com/rdoc/rdoc/issues/402 stomar (Marcus Stollsteimer)
07:33 PM Bug #12305: "can't remove str from str_id" at unregister_sym
Nobuyoshi Nakada wrote:
> How to reproduce it?
> Couldn't you show simplified/reduced script?
This is a web appl...
ks (Konstantin Starodubtsev)
01:57 AM Bug #12305 (Feedback): "can't remove str from str_id" at unregister_sym
How to reproduce it?
Couldn't you show simplified/reduced script?
nobu (Nobuyoshi Nakada)
06:06 PM Bug #12278: Sometimes I have segmentation fault with procs reducer
wind winy wrote:
> Did you had use jemalloc compile ruby?
I've installed Ruby using RVM
newmen (Gleb Averchuk)
04:37 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Just my 2 cents here but any time I've been writing a pure ruby application, I ended up including active support or c... PSchambacher (Pierre Schambacher)
03:29 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
I think this is useful outside of Rails. The Active Support module has 87 million downloads on rubygems.org while Rai... schneems (Richard Schneeman)
07:16 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Rafael's comment about non-Rails use case of .strip.empty? is very interesting. This shows that adding blank method ... shyouhei (Shyouhei Urabe)
04:17 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Seems that even Ruby itself would benefits from `String#blank?`
https://.com/ruby/ruby/search?utf8=%E2%9C%93...
rafaelfranca (Rafael França)
04:10 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Also as a point of reference, have a look at all the calls to String #blank? made from Redmine, the very software pow... sam.saffron (Sam Saffron)
04:09 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
> Your examples don't seem reasonable.
Both are real examples, being used in a lot of applications for years, so t...
rafaelfranca (Rafael França)
04:07 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Nobu,
There is a subtle change validation wise with user names:
"Please enter a username, username must not b...
sam.saffron (Sam Saffron)
03:52 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Rafael França wrote:
> You want to validate if a username is provided in the form and your user submitted three whit...
nobu (Nobuyoshi Nakada)
02:50 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Other real wold examples:
You want to validate if a username is provided in the form and your user submitted three...
rafaelfranca (Rafael França)
02:29 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Nobuyoshi Nakada wrote:
> I think that `String#blank?` equals to `/\P{space}/ !~ self`.
> Is it slow, especially th...
sam.saffron (Sam Saffron)
02:12 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
I think that `String#blank?` equals to `/\P{space}/ !~ self`.
Is it slow, especially than `strip`?
nobu (Nobuyoshi Nakada)
12:52 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
I agree with making `strip` etc. encoding aware, as we did for `upcase` etc., although priority is low.
I don't se...
matz (Yukihiro Matsumoto)
12:20 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
What about non-Unicode strings? shyouhei (Shyouhei Urabe)
12:16 PM Revision f6e3f361 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:16 PM Revision 616c4159 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:49 AM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
Updated.
```
$ ./ruby -e 'begin eval("this.is -> not -> valid $ruby:syntax"); rescue SyntaxError => e; e.failures...
nobu (Nobuyoshi Nakada)
03:33 AM Bug #12303: No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
Thank you for the fix, Nakada-san.
Workaround for ruby-2.3.0 may be `./configure TEST_COLORS=pass=32:fail=31:skip=43...
t-nissie (Takeshi Nishimatsu)
03:14 AM Bug #12303 (Closed): No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
Applied in changeset r54657.
----------
ifchange: ignore unmatch TEST_COLORS
* configure.in: check if succeeded in ...
nobu (Nobuyoshi Nakada)
03:14 AM Revision 0386e09a (git): * 2016-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 AM Revision 6e8a14dc (git): ifchange: ignore unmatch TEST_COLORS
* configure.in: check if succeeded in creating config.h.
* tool/ifchange: ignore failures when TEST_COLORS unmatched....
nobu (Nobuyoshi Nakada)
12:29 AM Feature #12304 (Feedback): String#split with a block
There are methods like String.each_char.slice_when (and friends). See http://ruby-doc.org/core-2.3.0/Enumerable.html#... shyouhei (Shyouhei Urabe)

04/20/2016

11:33 PM Feature #12306 (Assigned): Implement String #blank? #present? and improve #strip and family to handle unicode
Time and again there have been rejected feature requests to Ruby core to implement `blank` and `present` protocols ac... sam.saffron (Sam Saffron)
08:21 PM Bug #12305 (Closed): "can't remove str from str_id" at unregister_sym
I'm experiencing random occurrences of "can't remove str from str_id" crash.
Message string looks like this one:
...
ks (Konstantin Starodubtsev)
07:21 PM Revision 6b34f723 (git): merge revision(s) 54653:
assertions.rb: return the exception
* test/lib/test/unit/assertions.rb (assert_syntax_error): return
the r...
nagachika (Tomoyuki Chikanaga)
06:17 PM Bug #12298: Indeterministic ruby behavior when another thread is killed
In ruby_cleanup:
First we mark the main thread as killed: https://.com/ruby/ruby/blob/trunk/eval.c#L186
T...
drbrain (Eric Hodel)
07:35 AM Bug #12298: Indeterministic ruby behavior when another thread is killed
Eric Hodel wrote:
> This is not a ruby bug. Thread scheduling is inherently non-deterministic.
>
> Sometimes you...
rupert (Robert Pankowecki)
06:09 AM Bug #12298: Indeterministic ruby behavior when another thread is killed
Hmm. Although the report was already rejected, and even if we all may agree that
the honeybadger code was not brill...
shevegen (Robert A. Heiler)
05:40 PM Feature #12020: Documenting Ruby memory model
Thank you for responding and for taking time to read the proposal.
Let me start by elaborating more on the motivat...
pitr.ch (Petr Chalupa)
03:11 PM Feature #12304 (Feedback): String#split with a block
I would like `String#split` to take an optional block, similar to `String#scan` with a block.
Suppose I have a reg...
sawa (Tsuyoshi Sawada)
03:04 PM Bug #12303 (Closed): No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
I could not find any document describing
how to use TEST_COLORS environment variable in Ruby.
I could change the co...
t-nissie (Takeshi Nishimatsu)
08:36 AM Bug #12278: Sometimes I have segmentation fault with procs reducer
Did you had use jemalloc compile ruby? windwiny (wind winy)
07:18 AM Bug #12278: Sometimes I have segmentation fault with procs reducer
Seems a GC bug of a `Proc` created by `Symbol#to_proc`.
I suspect that it is a fixed bug, but can't find the ticket ...
nobu (Nobuyoshi Nakada)
08:33 AM Revision 20cd25c8 (git): cgi/util.rb: remove CGI::Util#_unescape
* ext/cgi/escape/escape.c (cgiesc_unescape): define unescape
method instead of _unescape, and should pass the optio...
nobu (Nobuyoshi Nakada)
06:52 AM Revision 86b1179a (git): error.c: SyntaxError#initialize
* error.c (syntax_error_initialize): move the default message,
"compile error", from parse.y. the default paramete...
nobu (Nobuyoshi Nakada)
04:37 AM Revision e06aaf69 (git): assertions.rb: return the exception
* test/lib/test/unit/assertions.rb (assert_syntax_error): return
the rescued exception object as well as assert_rai...
nobu (Nobuyoshi Nakada)
04:01 AM Feature #12275 (Feedback): String unescape
We looked at this ticket on this month's developer meeting. I then started to think that the "escape" you refer to i... shyouhei (Shyouhei Urabe)
03:51 AM Feature #12080: Enumerable#first, Array#last with block
We looked at this on this month's developer meeting but I remember there was no concrete consensus for this request. shyouhei (Shyouhei Urabe)
03:45 AM Bug #12302 (Closed): at_exit status status is changed by raising/rescueing a exception in at_exit
~~~ruby
at_exit do
puts "1 #{$!}"
end
at_exit do
puts "2 #{$!}"
raise 'x' rescue nil
end
at_exit do...
grosser (Michael Grosser)
02:52 AM Revision 9e8dfaa8 (git): compile.c: make SyntaxError after formatting
* compile.c (append_compile_error): make SyntaxError instance by
rb_syntax_error_append on demand after formatting ...
nobu (Nobuyoshi Nakada)
02:07 AM Bug #12301 (Rejected): Path Check Causes Overhead and Unwanted and Unnecessary Warnings By Default
I meant that "Cocos" application's fault, by "third party's issue". nobu (Nobuyoshi Nakada)
02:01 AM Bug #12301: Path Check Causes Overhead and Unwanted and Unnecessary Warnings By Default
I think this isn't even a third party's issue. The warning is because of OP's insecure PATH setting, which is not an... shyouhei (Shyouhei Urabe)
01:50 AM Bug #12301 (Third Party's Issue): Path Check Causes Overhead and Unwanted and Unnecessary Warnings By Default
> Why was it checking random directories like `/Applications/`, anyway?!
Not random.
It's because your `PATH` env...
nobu (Nobuyoshi Nakada)
01:39 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
Seems no one is against abandoning ChangeLog.
What about "a ChangeLog-like plain-text file" part?
shyouhei (Shyouhei Urabe)
01:35 AM Feature #12300: Allow Object#clone to take freeze: false keyword argument to not freeze the clone
Sounds much simpler than the previous one to understand what is happening. Also it seems backwards-compatible.
Gi...
shyouhei (Shyouhei Urabe)
01:25 AM Revision 7f5f5e80 (git): * 2016-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:25 AM Revision 97177a2d (git): refactor syntax error
* compile.c (append_compile_error): use rb_syntax_error_append.
* error.c (rb_syntax_error_append): append messages i...
nobu (Nobuyoshi Nakada)
12:44 AM Bug #11924: $ gem server is broken for documentation browsing
FYI Zachary taught me that this is fixed upstream https://.com/rdoc/rdoc/pull/360. shyouhei (Shyouhei Urabe)
12:16 AM Bug #12284: io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
Note:
rubygems prevents to ship to default gem now.
see. https://.com/rubygems/rubygems.org/pull/1221
hsbt (Hiroshi SHIBATA)

04/19/2016

09:07 PM Bug #12284: io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
The new gem appears to have installed without problems, thank you! Will rubygems pick it up when the version number ... hobart (Jon Bailey)
06:47 PM Bug #12298 (Rejected): Indeterministic ruby behavior when another thread is killed
This is not a ruby bug. Thread scheduling is inherently non-deterministic.
Sometimes you'll switch to the work th...
drbrain (Eric Hodel)
02:04 PM Bug #12301 (Rejected): Path Check Causes Overhead and Unwanted and Unnecessary Warnings By Default
The title says it all. My solution is to disable path checking by default by defining `ENABLE_PATH_CHECK` as `1` by d... Coder-256 (Jacob G)
10:02 AM Feature #12281: Allow lexically scoped use of refinements with `using {}` block syntax
I found a way to use refinements in a block anywhere! Yay :-)
~~~ruby
module Moo
refine Fixnum do
def to...
danielpclark (Daniel P. Clark)
08:42 AM Revision 51c19594 (git): refactor parser error
* error.c (err_vcatf): rename, and separate appending message from
creating a string buffer.
* error.c (rb_syntax_e...
nobu (Nobuyoshi Nakada)
04:46 AM Revision 51612505 (git): appending compile error without rb_errinfo
* compile.c (append_compile_error, compile_bug): pass iseq and get
error info and file from it, not by the thread e...
nobu (Nobuyoshi Nakada)
04:33 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
I am positive this proposal, too. ChangeLog often conflicts and I encountered with conflicts today, too. sonots (Naotoshi Seo)
04:23 AM Bug #12190 (Rejected): DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
Reverted with r54647, and changed status to Rejected. sonots (Naotoshi Seo)
03:38 AM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
Thank you for pointing out behavior differences. I was supposed that this should not break backward compatibilities, ... sonots (Naotoshi Seo)
02:35 AM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
I think current Time.parse doesn't match the document.
```
# Since there are numerous conflicts among locally def...
akr (Akira Tanaka)
01:25 AM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
I verified that new codes cover all ZoneOffset which covered before with test codes https://.com/ruby/ruby/pull... sonots (Naotoshi Seo)
04:20 AM Revision 64231b49 (git): * lib/time.rb: revert r54167 because it would break
backward compatibilities, and it is documented that
Time.parse does not take into account time zone
abbreations o...
sonots (Naotoshi Seo)
04:14 AM Revision b48c212e (git): use more descriptive assertions
* test/logger/test_logdevice.rb: use assert_predicate,
assert_not_predicate, and assert_file instead of bare assert...
nobu (Nobuyoshi Nakada)
04:13 AM Revision eb20a743 (git): * ChangeLog: Fix dates of previous commits
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sonots (Naotoshi Seo)
04:01 AM Misc #12124: Use Automake
C.J. Collier wrote:
> I had a meeting yesterday at Microsoft in Redmond with members of the Visual Studio team. The...
naruse (Yui NARUSE)
03:55 AM Revision 7bb03997 (git): * ChangeLog: Add descriptions for logger updates
* NEWS: Add descriptions for logger updates
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54644 b2dd03c8-39d4-4d...
sonots (Naotoshi Seo)
03:49 AM Feature #10772 (Closed): Add ability to change rotated log file extention
fixed via https://.com/ruby/ruby/commit/2c6f15b1ad90af37d7e0eefff7b3f5262e0a4c0b sonots (Naotoshi Seo)
12:40 AM Feature #12300 (Closed): Allow Object#clone to take freeze: false keyword argument to not freeze the clone
This allows Object#clone to not freeze the resulting object, which fixes a long standing problem in ruby in that you ... jeremyevans0 (Jeremy Evans)

04/18/2016

10:59 PM Feature #12299 (Closed): Add Warning module for customized warning handling
This is another attempt to provide the same type of support for customized warning handling as #12026. matz had a co... jeremyevans0 (Jeremy Evans)
05:46 PM Bug #12249: Math.gamma(-0.0) should return -Infinity
ruby_2_3 r54643 merged revision(s) 54492,54494,54495,54496,54499,54503. nagachika (Tomoyuki Chikanaga)
05:46 PM Revision e824b05b (git): merge revision(s) 54492,54494,54495,54496,54499,54503: [Backport #12249]
* math.c (ruby_tgamma): fix tgamma(-0.0) on mingw.
[ruby-core:74817] [Bug #12249]
* math.c (ruby_l...
nagachika (Tomoyuki Chikanaga)
05:38 PM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
I also thought in the same way.
So, I did not backport this into 2.1.
usa (Usaku NAKAMURA)
05:26 PM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
I wonder if this change could break existing codes.
Any thoughts? If there's no real demand, I'll marks this as WONT...
nagachika (Tomoyuki Chikanaga)
05:14 PM Feature #11816: Partial safe navigation operator
Oh, thanks for the fix. That was really fast. joanbm (Joan Blackmoore)
04:38 PM Feature #11816 (Assigned): Partial safe navigation operator
naruse (Yui NARUSE)
08:53 AM Feature #11816 (Closed): Partial safe navigation operator
Applied in changeset ruby_2_3|r54635.
----------
merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peep...
naruse (Yui NARUSE)
07:13 AM Feature #11816 (Open): Partial safe navigation operator
nobu (Nobuyoshi Nakada)
07:07 AM Feature #11816 (Closed): Partial safe navigation operator
Applied in changeset r54628.
----------
compile.c: fix dangling link
* compile.c (iseq_peephole_optimize): should n...
nobu (Nobuyoshi Nakada)
05:34 AM Feature #11816: Partial safe navigation operator
@Matthew
Thought about it again and would agree with the last paragraph. Direct substitution is not appropriate he...
joanbm (Joan Blackmoore)
01:11 AM Feature #11816: Partial safe navigation operator
I don't necessarily disagree with the rest of Joan's post, but for this point:
Joan Blackmoore wrote:
>
> It ma...
phluid61 (Matthew Kerwin)
12:36 AM Feature #11816: Partial safe navigation operator
I can understand the intention behind the proposal, but would like to express a (strong) disagreement with it.
The...
joanbm (Joan Blackmoore)
05:12 PM Bug #8851: alias/undef で % リテラルによるシンボルが使えない
ruby_2_3 r54642 merged revision(s) 53753,54131. nagachika (Tomoyuki Chikanaga)
05:12 PM Revision b7c90baf (git): merge revision(s) 53753,54131: [Backport #8851]
lex.c.blt: update
* lex.c.blt: follows r52429, not removing casts to int.
* defs/keywords (alias, un...
nagachika (Tomoyuki Chikanaga)
03:54 PM Revision dd4f5901 (git): * test/logger/test_logdevice.rb: fix tests to pass on windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sonots (Naotoshi Seo)
03:07 PM Revision 7b2d4713 (git): * 2016-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 PM Revision 2c6f15b1 (git): * lib/logger.rb: Add shift_period_suffix option [Fix GH-10772]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sonots (Naotoshi Seo)
01:16 PM Feature #11955: Expose Object that Receives logs in Logger
I am wondering of the interface yet.
Users pass an io object to Logger constructor as `logdev` like `Logger.new(lo...
sonots (Naotoshi Seo)
01:00 PM Bug #12298: Indeterministic ruby behavior when another thread is killed
Related Honeybadger bug: https://.com/honeybadger-io/honeybadger-ruby/issues/186 rupert (Robert Pankowecki)
12:58 PM Bug #12298 (Rejected): Indeterministic ruby behavior when another thread is killed
```
#!ruby
require 'securerandom'
class MyThread < ::Thread; end
def delay
15
end
def run
loop { work...
rupert (Robert Pankowecki)
12:54 PM Bug #12297 (Rejected): Ruby stdlib date can parse non-existent date with year 0
Ruby date lib can parse date with year 0
`$ pry
[1] pry(main)> shitdate=Date.strptime('0000-01-07','%Y-%m-%d')
=> ...
globi (t b)
10:45 AM Feature #12224 (Closed): logger: Allow specifying log level in constructor
Applied in changeset r54638.
----------
Allow specifying logger parameters in constructor
* lib/logger.rb: Allow sp...
sonots (Naotoshi Seo)
10:45 AM Revision a0409533 (git): Allow specifying logger parameters in constructor
* lib/logger.rb: Allow specifying logger prameters such as level,
progname, datetime_format, formatter in construct...
sonots (Naotoshi Seo)
09:13 AM Bug #12291: Struct member accessor is not consistent with hash access when keys are repeated
ruby_2_3 r54637 merged revision(s) 54611,54612. naruse (Yui NARUSE)
09:12 AM Revision 9dc33b83 (git): merge revision(s) 54611,54612: [Backport #12291]
* struct.c (struct_make_members_list): extract making member name
list from char* va_list, with creating sy...
naruse (Yui NARUSE)
09:02 AM Bug #12238 (Rejected): Logger writes progname if log message is nil
sonots (Naotoshi Seo)
09:02 AM Bug #12238: Logger writes progname if log message is nil
Seems intended, so let me close.
(It is okay to change the behavior, but it looks also okay not to change the behavior)
sonots (Naotoshi Seo)
09:00 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
I welcome this proposal. It makes committing easier. Can you please tell us when this proposal will actually start? I... duerst (Martin Dürst)
08:55 AM Bug #12264: Win32::Registry::API.DeleteKey and DeleteValue reference renamed constants
ruby_2_3 r54636 merged revision(s) 54529. naruse (Yui NARUSE)
08:54 AM Revision 79e826d7 (git): merge revision(s) 54529: [Backport #12264]
* ext/win32/lib/win32/registry.rb (DeleteValue, DeleteKey): fix
API names. [ruby-core:74863] [Bug #12264]
...
naruse (Yui NARUSE)
08:53 AM Bug #12296 (Closed): [Backport] fix dangling link
Applied in changeset ruby_2_3|r54635.
----------
merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peep...
naruse (Yui NARUSE)
08:53 AM Bug #12296: [Backport] fix dangling link
ruby_2_3 r54635 merged revision(s) 54628. naruse (Yui NARUSE)
07:17 AM Bug #12296 (Closed): [Backport] fix dangling link
Backport r54628 to fix infinite loop by dangling link.
c.f. https://bugs.ruby-lang.org/issues/11816#change-58120
nobu (Nobuyoshi Nakada)
08:53 AM Revision 4989a071 (git): merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replace...
naruse (Yui NARUSE)
08:26 AM Bug #12279: cont.c: wrong _MSC_VER check
ruby_2_3 r54634 merged revision(s) 54574. naruse (Yui NARUSE)
08:26 AM Revision 892deeb5 (git): merge revision(s) 54574: [Backport #12279]
* cont.c (fiber_initialize_machine_stack_context): fix wrong
_MSC_VER check, should be decimal but not hexa...
naruse (Yui NARUSE)
08:17 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
ruby_2_3 r54633 merged revision(s) 54484. naruse (Yui NARUSE)
08:15 AM Revision 157401a9 (git): merge revision(s) 54484: [Backport #12095]
* vm_core.h (rb_vm_struct): make at_exit a single linked list but
not RArray, not to mark the registered fu...
naruse (Yui NARUSE)
08:00 AM Bug #12237: Coverage keeps tracking counts even after Coverage.result
ruby_2_3 r54632 merged revision(s) 54465. naruse (Yui NARUSE)
08:00 AM Revision 1b327a08 (git): merge revision(s) 54465: [Backport #12237]
* thread.c (update_coverage): Do not track coverage in loaded files
after Coverage.result. Avoids out-of-bo...
naruse (Yui NARUSE)
07:34 AM Bug #12233: Please consider adding documentation to DateTime, one line, require 'date'
ruby_2_3 r54631 merged revision(s) 54444. naruse (Yui NARUSE)
07:33 AM Revision 0e30b44a (git): merge revision(s) 54444: [Backport #12233]
* ext/date/date_core.c (Init_date_core): [DOC] fix misplaced doc
of DateTime. [ruby-core:74729] [Bug #1223...
naruse (Yui NARUSE)
07:08 AM Revision ec2f6316 (git): error.c: warn_vsprintf
* error.c (warn_vsprintf, warning_string): share common code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5463...
nobu (Nobuyoshi Nakada)
07:08 AM Revision 5a0543e8 (git): error.c: compile_vsprintf
* error.c (compile_vsprintf): rename compile_snprintf, following
the argument changes.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
07:07 AM Revision 6ee3a2cd (git): compile.c: fix dangling link
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangli...
nobu (Nobuyoshi Nakada)
04:57 AM Bug #12199: About msys2 path conversion measures in make test-all
ruby_2_3 r54627 merged revision(s) 54086,54211,54233. naruse (Yui NARUSE)
04:57 AM Revision ffcad81c (git): merge revision(s) 54086,54211,54233: [Backport #12199]
* test/lib/test/unit.rb (Options#non_options): make regexp name
options prefixed with "!" negative filters....
naruse (Yui NARUSE)
03:57 AM Revision 0a38e38a (git): numeric.c: numeric ndigits
* numeric.c (num_floor, num_ceil, num_truncate): add an optional
parameter, digits, as well as Numeric#round. [Fea...
nobu (Nobuyoshi Nakada)
03:56 AM Revision fe96a249 (git): numeric.c: flo_truncate
* numeric.c (flo_truncate): add an optional parameter, digits, as
well as Float#round. [Feature #12245]
git-svn-i...
nobu (Nobuyoshi Nakada)
03:55 AM Revision 39f31b8c (git): numeric.c: int_truncate
* numeric.c (int_truncate): add an optional parameter, digits, as
well as Integer#round. [Feature #12245]
git-svn...
nobu (Nobuyoshi Nakada)
03:40 AM Revision adc7cb24 (git): test_float.rb: assertions for negative floats
* test/ruby/test_float.rb: add assertions for round,floor,ceil on
negative floats. [Feature #12245]
git-svn-id: s...
nobu (Nobuyoshi Nakada)
02:38 AM Revision b25f06d3 (git): * 2016-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:38 AM Revision ae4eb682 (git): numeric.c: update doc [ci skip]
* numeric.c (int_to_i): [DOC] floor and ceil are no longer
synonyms. [Feature #12245]
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom