Project

General

Profile

Activity

From 10/14/2014 to 10/20/2014

10/20/2014

08:29 PM Feature #10351: [PATCH] prevent CVE-2014-6277
How about supporting ENV.freeze instead?
Currently ENV.freeze is a no-op, this patch changes that:

http://80x24....
normalperson (Eric Wong)
04:39 PM Feature #10351: [PATCH] prevent CVE-2014-6277
Jeremy Evans wrote:
> The costs of this proposed change are much higher than the benefits. This just makes interact...
shyouhei (Shyouhei Urabe)
03:14 PM Revision 622f31be (git): Makefile.in: update unicode files only after update source tree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:04 PM Revision 37ec3586 (git): ignore files generated in build process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:01 PM Revision 3b849880 (git): * 2014-10-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision ee4782f7 (git): * enc/prelude.rb: we sometimes run ruby without library path (especially
for test), so should permit to run ruby if unicode_normalize.rb is
missing.
git-svn-id: svn+ssh://ci.ruby-lang.or...
U.Nakamura
02:59 PM Revision 345c1408 (git): * common.mk (lib/unicode_normlize/table.rb): enable running (n)make
in non-srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:58 PM Revision a1cd2840 (git): common.mk: disable force download of unicode files by default
* tool/downloader.rb: add -a option to always download regardless
existing files.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
02:21 PM Revision 89ac9362 (git): * lib/mkmf.rb: no need to convert path separator for COPY because it's
ruby -run cp and it can treat '/' on any platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48057 b2dd03c8...
U.Nakamura
02:12 PM Feature #10406 (Rejected): Method starting with a capital is not detected when parentheses and receiver are omitted
Unlike local variables, constants are not resolved statically. That's the reason behind this behavior.
If you have f...
matz (Yukihiro Matsumoto)
12:07 PM Feature #10406: Method starting with a capital is not detected when parentheses and receiver are omitted
Oops, I see. Sorry for the noise!
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
11:51 AM Feature #10406: Method starting with a capital is not detected when parentheses and receiver are omitted
Yusuke Endoh wrote:
> I believe this is intentional. Otherwise, we would become unable to refer Array, Integer, Flo...
sawa (Tsuyoshi Sawada)
11:46 AM Feature #10406: Method starting with a capital is not detected when parentheses and receiver are omitted
I believe this is intentional. Otherwise, we would become unable to refer Array, Integer, Float, String, and Hash cl... mame (Yusuke Endoh)
11:42 AM Feature #10406 (Assigned): Method starting with a capital is not detected when parentheses and receiver are omitted
It's a ruby's naming rule. nobu (Nobuyoshi Nakada)
11:32 AM Feature #10406 (Rejected): Method starting with a capital is not detected when parentheses and receiver are omitted
A method whose name starts with a capital is not detected when parentheses and receiver are omitted.
~~~ruby
def ...
sawa (Tsuyoshi Sawada)
02:06 PM Bug #7215: Remaining messages on OpenSSL error queue after Certificate#verify
the only solution at the moment is running :
### OpenSSL.errors.clear
after certificate verifying. This clears ...
nyku.rn (Nicolae Rotaru)
01:43 PM Revision c7e1545c (git): common.mk: update unicode files every times
* common.mk (update-unicode): remove -e option to force update
every builds.
* tool/downloader.rb (Downloader.down...
nobu (Nobuyoshi Nakada)
11:50 AM Bug #10407 (Closed): Update gc stack marking for m68k
This fixes a crash due to running past the stack bounds. schwab (Andreas Schwab)
11:50 AM Revision e64a3869 (git): unicode_normalize/normalize.rb: rename variable
* lib/unicode_normalize/normalize.rb (hangul_decomp_one): use more
descriptive name. leave [SLVT]BASE and [LVTNS]C...
nobu (Nobuyoshi Nakada)
10:54 AM Revision 27cbf1f5 (git): config.mk: Added missing data files as targets for prerequisite update_unicode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
10:48 AM Revision 10cb4ca0 (git): tool/downloader.rb: Make sure we update to latest version
if network connection is available, but we don't fail if
there is no network connection but option -e is set and
we a...
duerst (Martin Dürst)
10:23 AM Bug #10405 (Closed): syntax error inconsistency between ruby -c and ripper
以下のように、a / b c という内容のファイルを
ruby -c で検査すると syntax error になるのですが
Ripper.sexp に適用するとなにか構文木が返ってきます。
```
% cat z.rb
...
akr (Akira Tanaka)
10:06 AM Revision acaafe21 (git): lib/unicode_normalize.rb: revert r48046. The s in sIndex
is not hungarian notation. The variable name sIndex is
directly taken from the relevant part of the Unicode
Standard,...
duerst (Martin Dürst)
08:14 AM Feature #10404 (Assigned): Allow individual finalizers to be removed with ObjectSpace.undefine_finalizer
Pretty self-explanatory: allow removal of individual define_finalizer blocks without removing all of them as undefine... javawizard (Alex Boyd)
07:38 AM Revision 3136025c (git): test_module.rb: test with UTF-8
* test/ruby/test_module.rb (test_uninitialized_instance_variable):
test with UTF-8 default external encoding for no...
nobu (Nobuyoshi Nakada)
07:02 AM Revision c1397c57 (git): io.c: enclose statements by ifdef
* io.c (maygvl_copy_stream_read): enclose following statements by
ifdef, not only a case label.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
06:58 AM Revision 8d9e1f9d (git): error.c: check if EWOULDBLOCK is defined
* error.c (set_syserr): EWOULDBLOCK may not be defined, check if
defined first.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
05:46 AM Bug #10368: GC mark miss on bindings
Backported into `ruby_2_0_0` at r48048. usa (Usaku NAKAMURA)
05:45 AM Revision 28f249a7 (git): merge revision(s) 48000: [Backport #10368]
* vm_core.h, vm.c, proc.c: fix GC mark miss on bindings.
[ruby-dev:48616] [Bug #10368]
* test/ruby...
U.Nakamura
05:20 AM Revision bd2d094a (git): vm_insnhelper.c: preserve encoding
* vm_insnhelper.c (vm_getivar): preserve variable name encoding in
warning message.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
05:01 AM Revision 6948188f (git): unicode_normalize/normalize.rb: remove prefix
* lib/unicode_normalize/normalize.rb (hangul_decomp_one): remove
system hungarian prefix, nonsense in ruby.
git-sv...
nobu (Nobuyoshi Nakada)
05:00 AM Revision 7f652dc6 (git): unicode_normalize/normalize.rb: simplify
* lib/unicode_normalize/normalize.rb (NF_HASH_{D,C,K}): remove
first element by Hash#shift.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
05:00 AM Revision 3a2f81cf (git): unicode_normalize/normalize.rb: remove unnecessary module names
* lib/unicode_normalize/normalize.rb (UnicodeNormalize): use self
instead of module name and remove module name if ...
nobu (Nobuyoshi Nakada)
03:46 AM Revision ce351cf0 (git): lib/unicode_normalize.rb: removing unnecessary 'self'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
03:42 AM Revision 8b99ce96 (git): unicode_norm_gen.rb: get rid of hard coded paths
* common.mk (lib/unicode_normalize/tables.rb): run at top srcdir.
* tool/unicode_norm_gen.rb: add -input and -output...
nobu (Nobuyoshi Nakada)
03:42 AM Revision f6126574 (git): tool/unicode_norm_gen.rb: for 1.8.5 BASERUBY
* tool/unicode_norm_gen.rb: get rid of new features for 1.8.5
BASERUBY.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
03:42 AM Revision 80de9591 (git): configure.in: downloader needs BASERUBY
* configure.in: try downloader only if BASERUBY is working. use
tarballs to build without BASERUBY.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
03:37 AM Revision 0fe80512 (git): lib/unicode_normalize.rb: (unicode_normalize!): change method names
in commented-out code. Followup to r48027.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48039 b2dd03c8-39d4-4d8...
duerst (Martin Dürst)
01:25 AM Feature #10084 (Assigned): Add Unicode String Normalization to String class
Sorry, I accidentally close this ticket. nagachika (Tomoyuki Chikanaga)
12:53 AM Revision 07c9ad1d (git): tool/unicode_norm_gen.rb: fix for 1.8 BASERUBY
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:39 AM Bug #10402 (Assigned): URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
nobu (Nobuyoshi Nakada)
12:38 AM Bug #10402: URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
c.f. https://bugs.ruby-lang.org/issues/2542#note-20 nobu (Nobuyoshi Nakada)

10/19/2014

08:24 PM Bug #10403 (Closed): `puts` documentation fix
Patch attached. It's a minor documentation fix after something confused me in the docs. The previous docs seem to imp... ExplodingCabbage (Mark Amery)
07:01 PM Bug #10402 (Closed): URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
~~~
$ ruby -v -ruri -e "URI 'http://example.com/?a[]=b&a[]=c'"
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-d...
JuanitoFatas (Juanito Fatas)
05:34 PM Revision b45c9f60 (git): signal.c: adjust indent of preprocessing directives
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:34 PM Revision 30c8f9dd (git): ruby_atomic.h (ATOMIC_OR): should return previous value
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:23 PM Feature #10396 (Closed): Increase instance variable retrieval performance by removing -w/$VERBOSE warning
Applied in changeset r48035.
----------
variable.c, vm_insnhelper.c: improve performance
* variable.c (rb_ivar_get)...
nobu (Nobuyoshi Nakada)
02:35 AM Feature #10396 (Closed): Increase instance variable retrieval performance by removing -w/$VERBOSE warning
This patch removes the "instance variable @foo not initialized" -w/$VERBOSE warning, increasing instance variable ret... jeremyevans0 (Jeremy Evans)
05:23 PM Revision 6e21b611 (git): variable.c, vm_insnhelper.c: improve performance
* variable.c (rb_ivar_get), vm_insnhelper.c (vm_getivar): improve
instance variable retrieval performance by checki...
nobu (Nobuyoshi Nakada)
05:18 PM Revision 11d36a49 (git): common.mk: use existing files
* common.mk (update-unicode): use downloaded files if existing,
not to require network connection always.
git-svn-...
nobu (Nobuyoshi Nakada)
04:58 PM Revision 963f1bd9 (git): vm_insnhelper.c: refactoring
* vm_insnhelper.c (vm_getivar): move common expressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48033 b2d...
nobu (Nobuyoshi Nakada)
04:07 PM Revision 398d73c7 (git): add .gitignore
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:06 PM Revision 0c31f662 (git): add dependency
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:30 PM Revision 630214f5 (git): * 2014-10-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 PM Revision 2435904d (git): common.mk (srcs-enc): generate unicode_normalize/tables.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:29 PM Revision 51af3be3 (git): lib/unicode_normalize.rb: remove BOMs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:34 PM Feature #10084 (Closed): Add Unicode String Normalization to String class
Applied in changeset ruby-trunk:r48027.
----------
* lib/unicode_normalize.rb: (unicode_normalize!): change method n...
nagachika (Tomoyuki Chikanaga)
02:34 PM Revision 3f8211a1 (git): * lib/unicode_normalize.rb: (unicode_normalize!): change method name.
catch up the method name change at r48014. [Feature #10084]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48027 ...
nagachika (Tomoyuki Chikanaga)
01:17 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
Hidetoshi Nagai wrote:
> Please apply the attached patch.
I guess that these patches are corresponding to r48018 ...
usa (Usaku NAKAMURA)
12:55 PM Bug #8000 (Closed): "require 'tk'" segfaults on 64-bit linux with Tk 8.6
Please apply the attached patch.
nagai (Hidetoshi Nagai)
12:31 PM Bug #10398 (Closed): Server Name Indication support broken when reusing a (dead) session
RFC3546 recommend that the client includes the server_name in each client hello message when possible.
The ruby op...
a.holstvoogd (Arthur Holstvoogd)
11:27 AM Revision 795cb777 (git): common.mk: fix missing quote
* common.mk (lib/unicode_normalize/tables.rb): fix missing quote
and script path.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
11:08 AM Revision 1c047683 (git): * common.mk: nmake doesn't recognize ${} form. use $() instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:06 AM Revision 36284e24 (git): * ext/tk/lib/tkextlib/tile/treeview.rb: fix syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:39 AM Revision 824670aa (git): enc/prelude.rb: Added automatic loading of lib/unicode_normalize.rb. This makes sure that all
the methods that are available on String are available without explicit require.
git-svn-id: svn+ssh://ci.ruby-lang....
duerst (Martin Dürst)
09:35 AM Revision 8c722a9a (git): lib/unicode_normalize/normalize.rb: Added a missing file extension in require statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
09:13 AM Revision 25f3baf7 (git): common.mk: Added a rule to generate lib/unicode_normalize/tables.rb.
This rule still needs to be integrated into the overall make process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
duerst (Martin Dürst)
08:54 AM Revision d72053c0 (git): lib/unicode_normalize.rb: Changed to dynamic loading of actual normalization code and tables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
08:38 AM Revision 8a252f6b (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:38 AM Revision bf0e2520 (git): * ext/tk/tcltklib.c: support Tcl/Tk8.6.
* ext/tk/lib/tk.rb: ditto.
* ext/tk/extconf.rb: ditto.
* ext/tk/lib/tk_mac.rb: add new features of Tcl/Tk8.6.
* ext/t...
nagai (Hidetoshi Nagai)
08:37 AM Revision 281bfbd9 (git): lib/unicode_normalize.rb: Small documentation fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
08:26 AM Revision f83c0b0a (git): lib/unicode_normalize.rb: Added documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
07:59 AM Bug #10397: gcc 4.1.2 for x86 can't build trunk
[email protected] wrote:
> Bug #10397: gcc 4.1.2 for x86 can't build trunk
> https://bugs.ruby-lang.org/issues/103...
normalperson (Eric Wong)
07:12 AM Bug #10397 (Closed): gcc 4.1.2 for x86 can't build trunk
Recently CentOS 5.6 x86 can't build ruby-trunk.
This is since r47562 and it hit [gcc bug](https://gcc.gnu.org/bugzil...
naruse (Yui NARUSE)
02:09 AM Revision 982f0de1 (git): tool/unicode_norm_gen.rb, lib/unicode_normalize.rb:
File name change from lib/unicode_normalize/normalize_tables.rb
to lib/unicode_normalize/tables.rb.
git-svn-id: svn+...
duerst (Martin Dürst)
01:12 AM Revision dfb68b3d (git): lib/unicode_normalize.rb: Changing method names, see https://bugs.ruby-lang.org/issues/10084#note-7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
01:10 AM Revision 588bbfd1 (git): lib/unicode_normalize.rb: Changing module name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
01:08 AM Revision b95ec57d (git): lib/unicode_normalize.rb: Changing require statement, adjusting copyright.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
01:04 AM Revision e4f71908 (git): lib/unicode_normalize.rb: Importing from
https://github.com/duerst/eprun/blob/master/lib/string_normalize.rb.
(removing trailing whitespace, fixing EOLs and a...
duerst (Martin Dürst)
12:56 AM Revision deeb1313 (git): tool/unicode_norm_gen.rb: Changed module name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
12:48 AM Revision 4bf30d29 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:48 AM Revision 4c769ce0 (git): lib/unicode_normalize/normalize.rb: Changed module name, adjusted copyright.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
12:38 AM Revision d64dc54e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:38 AM Revision 165b9120 (git): * 2014-10-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:38 AM Revision 6017de03 (git): lib/unicode_normalize/normalize.rb: Importing from
https://github.com/duerst/eprun/blob/master/lib/normalize.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4800...
duerst (Martin Dürst)

10/18/2014

10:38 PM Feature #10351: [PATCH] prevent CVE-2014-6277
I agree with Eric, this change is too likely to break things, including the principle of least surprise. No other pr... jeremyevans0 (Jeremy Evans)
07:54 PM Feature #10351: [PATCH] prevent CVE-2014-6277
Akira Tanaka wrote:
> Shyouhei Urabe wrote:
> > Akira, isn't it obvious this patch introduce a backward incompatibi...
shyouhei (Shyouhei Urabe)
06:35 PM Bug #10368: GC mark miss on bindings
Backported into `ruby_2_1` at r48004. nagachika (Tomoyuki Chikanaga)
11:46 AM Bug #10368 (Closed): GC mark miss on bindings
Applied in changeset r48000.
----------
* vm_core.h, vm.c, proc.c: fix GC mark miss on bindings.
[ruby-dev:48616] ...
ktsj (Kazuki Tsujimoto)
06:35 PM Revision 3e6dbba4 (git): merge revision(s) r48000: [Backport #10368]
* vm_core.h, vm.c, proc.c: fix GC mark miss on bindings.
[ruby-dev:48616] [Bug #10368]
* test/ruby...
nagachika (Tomoyuki Chikanaga)
06:22 PM Bug #10392: Ripper.sexp("<<'E'\n E\n\n")
Backported into `ruby_2_1` at r48003. nagachika (Tomoyuki Chikanaga)
06:21 PM Revision b090826d (git): merge revision(s) r47973: [Backport #10392]
* parse.y (parser_here_document): do not append already appended
and disposed code fragment. [ruby-dev:486...
nagachika (Tomoyuki Chikanaga)
01:55 PM Feature #10344: [PATCH] Implement Fiber#raise
> I understand this feature helps some libraries. But I can't understand why it is important.
Without Fiber#raise,...
nome (Knut Franke)
12:11 PM Feature #10344: [PATCH] Implement Fiber#raise
> At least, such feature should be located at ext/fiber.
even if ext/fiber it is still should be implemented in C ...
funny_falcon (Yura Sokolov)
11:46 AM Revision bb49cd8a (git): * 2014-10-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:46 AM Revision a2608f29 (git): * vm_core.h, proc.c, vm_backtrace.c, vm_trace.c:
remove rb_binding_new_with_cfp, and use rb_vm_make_binding instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
ktsj (Kazuki Tsujimoto)
11:46 AM Revision 231f45ad (git): * vm_core.h, vm.c, proc.c: fix GC mark miss on bindings.
[ruby-dev:48616] [Bug #10368]
* test/ruby/test_eval.rb: add a test code.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
ktsj (Kazuki Tsujimoto)
11:20 AM Feature #10341: Fiber switch performance improvements
D'oh. Thanks for fixing the win32/non-native issues.
And great to see this included. :-)
nome (Knut Franke)
05:30 AM Feature #10394: An instance method on Enumerator that evaluates the block under with self being the block variable.
If the name is less than five characters, then it would need less typing than the original form, (i.e., five-letter n... sawa (Tsuyoshi Sawada)
04:31 AM Feature #10225: [PATCH] *math.c: New method Math.normcdf
@David MacMahon
Thank you for your valuable comment.
I definitely agree with you. I really want 'built-in way...
gogotanaka (Kazuki Tanaka)
03:11 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Eric Wong <[email protected]> wrote:
> For some method names (include?/delete/key?); I see them often used with...
normalperson (Eric Wong)
02:28 AM Feature #10395: erb: allow variables to be set from the command line
Thanks Nobu, that looks like a much better implementation. Appreciate your help.
josb (Jos Backus)

10/17/2014

02:28 PM Revision 108627d9 (git): * pack.c (pack_unpack): Add casts for char references for 'u'.
Fix line ending recognition algorithm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47999 b2dd03c8-39d4-4d8f-...
akr (Akira Tanaka)
12:52 PM Revision 50650bb3 (git): * pack.c (pack_unpack): Add casts for char references for 'b' and 'h'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:49 AM Revision 0d4185f3 (git): * Avoid undefined behaviors found by gcc -fsanitize=undefined.
gcc (Debian 4.9.1-16) 4.9.1
* string.c (rb_str_sum): Avoid undefined behavior.
git-svn-id: svn+ssh://ci.ruby-lang...
akr (Akira Tanaka)
08:50 AM Revision 1efb3c31 (git): * Avoid undefined behaviors found by gcc -fsanitize=undefined.
gcc (Debian 4.9.1-16) 4.9.1
* include/ruby/ruby.h (INT2FIX): Avoid undefined behavior.
* node.h (nd_set_line): Ditt...
akr (Akira Tanaka)
08:21 AM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
なかださんが(最初の報告における前者の挙動に)直してくれたようです。
後者の挙動にしたければ、それは仕様変更なので、別のチケットにするのが適切かと思います。
akr (Akira Tanaka)
06:06 AM Bug #10382 (Closed): s = '\x80'; /#{s}/ raises an exception in US-ASCII script
Applied in changeset r47992.
----------
re.c: mak eregexps with binary escapes ASCII-8BIT
* re.c (unescape_nonascii...
nobu (Nobuyoshi Nakada)
12:52 AM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
デフォルトのソースエンコーディングが UTF-8 になったことはこっちも仕様を変更する理由になるかもしれませんね。 akr (Akira Tanaka)
08:00 AM Revision 0f67a3bb (git): symbol.c (register_sym): debug code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:40 AM Feature #10395 (Assigned): erb: allow variables to be set from the command line
No new features for maintenance branches.
And your patch doesn't allow options after variables.
https://github.co...
nobu (Nobuyoshi Nakada)
05:36 AM Feature #10395 (Closed): erb: allow variables to be set from the command line
This would make erb more useful from the command line. Granted the use of Binding#eval is dangerous so one has to be ... josb (Jos Backus)
06:30 AM Revision ae7de689 (git): erb: multiline anchors
* bin/erb (ARGV.switch, ERB::Main#run): use beginning/end of
string anchors instead of beginning/end of line anchor...
nobu (Nobuyoshi Nakada)
06:23 AM Revision 99eeaca5 (git): erb: fix -U option
* bin/erb (ERB::Main#run): fix NoMethodError at -U option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47993 b...
nobu (Nobuyoshi Nakada)
06:06 AM Revision a2797a45 (git): re.c: mak eregexps with binary escapes ASCII-8BIT
* re.c (unescape_nonascii): make dynamically compiled US-ASCII
regexps ASCII-8BIT encoding if binary (hexadecimal, ...
nobu (Nobuyoshi Nakada)
05:14 AM Revision 4f07b141 (git): signal.c: use writev
* signal.c (check_reserved_signal): print messages by writev() if
available.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
05:14 AM Revision fb10a2cb (git): signal.c: exclude terminators
* signal.c (check_reserved_signal): exclude terminator in literal
strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
04:23 AM Bug #10392: Ripper.sexp("<<'E'\n E\n\n")
Backported into `ruby_2_0_0` at r47989. usa (Usaku NAKAMURA)
04:23 AM Revision 13d3a280 (git): merge revision(s) 47973: [Backport #10392]
* parse.y (parser_here_document): do not append already appended
and disposed code fragment. [ruby-dev:486...
U.Nakamura
04:20 AM Bug #10285: StringIO with encodings broken due to #9769
Backported into `ruby_2_0_0` at r47988. usa (Usaku NAKAMURA)
04:20 AM Revision 897b2177 (git): merge revision(s) 47716: [Backport #10285]
* ext/stringio/stringio.c (strio_write): ASCII-8BIT StringIO
should be writable any encoding strings, witho...
U.Nakamura
04:13 AM Bug #10263: `super` does not work from binding eval context
Backported into `ruby_2_0_0` at r47987. usa (Usaku NAKAMURA)
04:13 AM Revision 6d886eb2 (git): merge revision(s) 47645: [Backport #10263]
* vm_eval.c (eval_string_with_cref): fix super from eval with
scope. set klass in the current control fram...
U.Nakamura
01:03 AM Bug #10393 (Rejected): String#start_with?の1.9.x非互換バグ
start_with? に nil が渡されるのはバグの可能性が高く、それが検出できないのは問題の発覚を引き延ばしているだけのように思います。2.0とメジャーバージョンアップがあったので、バグの発見を遅らせる軽微な互換性は維持する必要... matz (Yukihiro Matsumoto)

10/16/2014

06:12 PM Revision d9f3b27c (git): * 2014-10-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:11 PM Revision 585e1594 (git): Revert r47971, r47972 [ruby-core:65764]
The current implementation currently delivers signals to self
immediately and synchronously, so we do not need explic...
Eric Wong
05:05 PM Feature #10394: An instance method on Enumerator that evaluates the block under with self being the block variable.
Sounds good for me.
(Actually I face the difficulties to implement [#10318](https://bugs.ruby-lang.org/issues/10318...
gogotanaka (Kazuki Tanaka)
02:55 PM Feature #10394 (Feedback): An instance method on Enumerator that evaluates the block under with self being the block variable.
I like the idea itself. But I don't think `as_self` is a good name.
Any other name proposal? Anyone?
Matz.
matz (Yukihiro Matsumoto)
02:23 PM Feature #10394 (Feedback): An instance method on Enumerator that evaluates the block under with self being the block variable.
**Background**
There has been desire to omit the `| |` and the explicit receiver in a block used with an enumerato...
sawa (Tsuyoshi Sawada)
02:17 PM Revision b7a00385 (git): signal.c: get rid of heap corruption
* signal.c (rb_sigaltstack_size): double default size to get rid
of heap corruption by alternate stack overflow in ...
nobu (Nobuyoshi Nakada)
01:46 PM Bug #10389 (Closed): SEGV after SEGV
Applied in changeset r47983.
----------
* vm_backtrace.c (id2str): Fix a variable name.
[ruby-dev:48642] [Bug #10389]
akr (Akira Tanaka)
01:40 PM Bug #10389: SEGV after SEGV
Nobuyoshi Nakada wrote:
> 引数のIDが見つからないときに`rb_id2str()`が`Qnil`ではなく0を返すのは昔からです。
> そこはr47951で直したつもりなのですが、まだ起きるでしょうか。
...
akr (Akira Tanaka)
01:55 AM Bug #10389: SEGV after SEGV
r47971 でも以下のように発生します。
```
% ./miniruby -e 'Process.kill(:SEGV, $$)'
-e:1: [BUG] Segmentation fault at 0x0003e800...
akr (Akira Tanaka)
01:22 AM Bug #10389 (Feedback): SEGV after SEGV
引数のIDが見つからないときに`rb_id2str()`が`Qnil`ではなく0を返すのは昔からです。
そこはr47951で直したつもりなのですが、まだ起きるでしょうか。
存在するはずのIDが見つからないというのは別として。
nobu (Nobuyoshi Nakada)
01:45 PM Revision 0ee11fc6 (git): * vm_backtrace.c (id2str): Fix a variable name.
[ruby-dev:48642] [Bug #10389]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47983 b2dd03c8-39d4-4d8f-98ff-823f...
akr (Akira Tanaka)
01:19 PM Bug #10285: StringIO with encodings broken due to #9769
Backported into `ruby_2_1` at r47982. nagachika (Tomoyuki Chikanaga)
01:19 PM Revision 10a4543f (git): merge revision(s) r47716: [Backport #10285]
* ext/stringio/stringio.c (strio_write): ASCII-8BIT StringIO
should be writable any encoding strings, witho...
nagachika (Tomoyuki Chikanaga)
01:18 PM Revision 6338a3a4 (git): Set an encoding for SEGV message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:06 PM Bug #10263: `super` does not work from binding eval context
Backported into `ruby_2_1` at r47980. nagachika (Tomoyuki Chikanaga)
01:06 PM Revision e0a5ccfe (git): merge revision(s) r47645: [Backport #10263]
* vm_eval.c (eval_string_with_cref): fix super from eval with
scope. set klass in the current control fram...
nagachika (Tomoyuki Chikanaga)
12:27 PM Revision 4c02456b (git): Set ASCII-8BIT encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:18 AM Revision 53da7250 (git): * test/ruby/envutil.rb (assert_pattern_list): Show number of matched
patterns and characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:12 AM Bug #10393 (Rejected): String#start_with?の1.9.x非互換バグ
~~~
$ ruby -v
ruby 1.9.3p547 (2014-05-14 revision 45962) [x86_64-darwin13.4.0]
$ irb
> 'foo'.start_with? nil
=>...
choripon (Hideyuki Matsuyama)
08:15 AM Revision 0d88cd93 (git): signal.c: abort if nesting reserved signal
* signal.c (check_reserved_signal): abort if reserved signal
received in reserved signal handlers.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
08:01 AM Feature #8976: file-scope freeze_string directive
[email protected] wrote:
> Recent Eric Wong's effort reminds me this issue.
>
> I still think this issue is worth to ...
normalperson (Eric Wong)
06:38 AM Feature #8976: file-scope freeze_string directive
Recent Eric Wong's effort reminds me this issue.
I still think this issue is worth to consider.
Ruby 2.1 change...
akr (Akira Tanaka)
07:48 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Thank you for your explanation. Completely agree with you.
I will try to read your patch.
Thanks again,
Koichi
ko1 (Koichi Sasada)
06:29 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
[email protected] wrote:
> I can't find out which methods are target.
> How to see the list?
>
> I'm afraid that ma...
normalperson (Eric Wong)
05:52 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
I can't find out which methods are target.
How to see the list?
I'm afraid that many optimized methods becomes ov...
ko1 (Koichi Sasada)
07:36 AM Bug #9728: Regexp bug
Backported into `ruby_2_0_0` at r47976. usa (Usaku NAKAMURA)
07:35 AM Revision 7e344b0b (git): * regcomp.c, regexec.c: Optimization should be disabled not only for
/(?<=x).*/ but also for /(?!x).*/.
(merge r47598 partially. [Bug #9728])
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
U.Nakamura
07:27 AM Revision 5c3c2ddd (git): cont.c (fiber_store): fix WIN32 fibers
[ruby-core:65745] [ruby-core:65758]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47975 b2dd03c8-39d4-4d8f-98ff-...
Eric Wong
07:24 AM Bug #6716: FileUtils.mv でリンク先がないシンボリックリンクファイルを指定すると ENOENT エラーになる
Backported into `ruby_2_0_0` at r47974. usa (Usaku NAKAMURA)
07:23 AM Revision 4110e5fa (git): merge revision(s) 46783: [Backport #6716]
* lib/fileutils.rb: handle ENOENT error with symlink targeted to
non-exists file. [ruby-dev:45933] [Bug #67...
U.Nakamura
07:20 AM Feature #10341: Fiber switch performance improvements
It works fine!
Thank you.
ko1 (Koichi Sasada)
05:58 AM Feature #10341: Fiber switch performance improvements
Eric Wong wrote:
> Maybe this is a simple fix for win32, but I cannot test:
Thank you. Now, it is working. I'm ru...
ko1 (Koichi Sasada)
05:10 AM Feature #10341: Fiber switch performance improvements
Maybe this is a simple fix for win32, but I cannot test:

diff --git a/cont.c b/cont.c
index 739ec80..08acf40 100...
normalperson (Eric Wong)
04:30 AM Feature #10341: Fiber switch performance improvements
disable FIBER_USE_NATIVE works fine on mswin32. ko1 (Koichi Sasada)
04:29 AM Feature #10341 (Open): Fiber switch performance improvements
on mswin32, the following simple script doesn't work.
```ruby
p Fiber.new{
100
}.resume
```
```
#=>
C:/...
ko1 (Koichi Sasada)
12:17 AM Feature #10341 (Closed): Fiber switch performance improvements
Applied in changeset r47969.
----------
cont.c: fix compile error
* cont.c (rb_fiber_t): fix compile error caused b...
nobu (Nobuyoshi Nakada)
12:15 AM Feature #10341 (Open): Fiber switch performance improvements
I've missed this ticket, and r47964 caused compile error. nobu (Nobuyoshi Nakada)
06:05 AM Bug #10392 (Closed): Ripper.sexp("<<'E'\n E\n\n")
Applied in changeset r47973.
----------
parse.y: do not use disposed string
* parse.y (parser_here_document): do no...
nobu (Nobuyoshi Nakada)
05:20 AM Bug #10392 (Closed): Ripper.sexp("<<'E'\n E\n\n")
以下のようにすると SEGV になります。
```
% cat z.rb
require 'ripper'
Ripper.sexp("<<'E'\n E\n\n")
% ./ruby z.rb
/home/ruby/t...
akr (Akira Tanaka)
06:05 AM Revision 04e5c65f (git): parse.y: do not use disposed string
* parse.y (parser_here_document): do not append already appended
and disposed code fragment. [ruby-dev:48647] [Bug...
nobu (Nobuyoshi Nakada)
05:22 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
I could reproduce it with gcc-4.9 on either Linux and OS X.
On Linux, SIGSEGV seems masked after the first stack ove...
nobu (Nobuyoshi Nakada)
01:41 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
I can reproduce it with gcc 4.9.1 at `-Os`:
```
$ gcc-4.9 --version
gcc-4.9 (Homebrew gcc 4.9.1) 4.9.1
Copyrig...
Anonymous
04:41 AM Feature #10344: [PATCH] Implement Fiber#raise
On 2014/10/12 1:28, [email protected] wrote:
> For some more sophisticated examples, see https://github.com/nome/c...
ko1 (Koichi Sasada)
04:12 AM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
US-ASCII で色々例外があることは分かっています。しかし、例外を増やすのではなく、減らす方向で考えた方がいいかと思います。US-ASCII のではなく、 UTF-8 がデフォールトソースエンコーディングとなった今では /#{'\... duerst (Martin Dürst)
04:08 AM Feature #10391 (Open): Provide %eISO-8859-1'string \xAA literal' string literals with explicit encoding
There is occasionally a need to use a string literal with an Encoding different from the source encoding.
This propo...
duerst (Martin Dürst)
02:01 AM Revision eec651a0 (git): test/-ext-/bug_reporter/test_bug_reporter.rb: fix race
Signal delivery is not immediate, so wait for signal delivery.
* test/-ext-/bug_reporter/test_bug_reporter.rb
(tes...
Eric Wong
01:59 AM Bug #10390: BUG] Segmentation fault at 0xbf3eeedc
Get this when I try to merge.
```ruby
FactoryGirl.define do
factory :calculator_params, class: Hash do
in...
itsNikolay (Nikolay Ponomarev)
01:43 AM Bug #10390 (Closed): BUG] Segmentation fault at 0xbf3eeedc
I've got segmentation fault on ruby 1.9.3 and 2.1.2
when starting rspec task
@myronmatson said that is ruby core i...
itsNikolay (Nikolay Ponomarev)
01:10 AM Revision 720ef254 (git): test/ruby/test_rubyoptions.rb: fix race
Signal delivery is not guaranteed to be immediate, a process may
exit before receiving signal it sent itself.
* test...
Eric Wong
12:19 AM Revision 8b1955d0 (git): cont.c: fix typedef
* cont.c (rb_fiber_struct): remove useless typedef.
[Feature #10341]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
12:17 AM Revision c36e3466 (git): cont.c: fix compile error
* cont.c (rb_fiber_t): fix compile error caused by move to
vm_core.h at r47964. [Feature #10341]
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
12:06 AM Revision e03546fd (git): test/ruby/test_process.rb: avoid killing wrong parent
We must capture intended target PID before forking, since
Process.ppid may change if parent dies (e.g. due to timeout...
Eric Wong

10/15/2014

11:40 PM Revision d910af94 (git): cont.c: fix when FIBER_USE_NATIVE is 0
* cont.c (fiber_store): restore references to next_fib (fix typo)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
Eric Wong
11:27 PM Revision 397271ca (git): cont.c: fix build when FIBER_USE_NATIVE is 0
* cont.c (fiber_store): remove references to nextfib
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47966 b2dd03c...
Eric Wong
11:12 PM Revision f65a15b0 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:35 PM Revision 5c8c88a3 (git): cont.c: Optimize fiber_switch callees
Remove some unnecessary VALUE/struct conversions and aggressively inline
functions used during fiber_switch. Either o...
Eric Wong
10:35 PM Revision 71fcbf22 (git): cont.c (cont_save_thread): Sparse copying of thread data
Instead of copying the complete rb_thread_t struct (almost a kB),
selectively copy only those fields that will be nee...
Eric Wong
10:34 PM Feature #10341 (Closed): Fiber switch performance improvements
Applied in changeset r47959.
----------
cont.c: Remove unused prev_fiber/next_fiber fields
They were added in r1989...
Anonymous
10:34 PM Revision baeb94fa (git): cont.c: Small code cleanup
Remove variable that is used only once, several lines after
initialization.
* cont.c (cont_capture): remove unnecess...
Eric Wong
10:34 PM Revision 0bd492c6 (git): cont.c: Code cleanup in fiber_switch/fiber_store
Defragment code blocks depending on FIBER_USE_NATIVE in order to make
the control flow (which is already non-trivial ...
Eric Wong
10:34 PM Revision 9766fc4d (git): * 2014-10-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:34 PM Revision 6f6238a7 (git): cont.c: Remove unused prev_fiber/next_fiber fields
They were added in r19890 (8a0d53a), with the explanation that it's a
double linked list of fibers in the same thread...
Eric Wong
03:31 PM Bug #10035: Find.find no longer accepts Pathname type as argument
Backported into `ruby_2_1` at r47958. nagachika (Tomoyuki Chikanaga)
03:31 PM Revision c17ee110 (git): merge revision(s) r47900: [Backport #10035]
* lib/find.rb (Find.find): Call to_path for arguments to obtain
strings.
[ruby-core:63713] [Bug #...
nagachika (Tomoyuki Chikanaga)
03:29 PM Bug #10282: Reproducible segfault when inspecting this method
Backported into `ruby_2_1` at r47957. nagachika (Tomoyuki Chikanaga)
03:28 PM Revision 03a93ba4 (git): merge revision(s) r47715: [Backport #10282]
* object.c (rb_class_real): do not dereference 0 VALUE
* test/ruby/test_module.rb (test_inspect_segfault):
...
nagachika (Tomoyuki Chikanaga)
03:19 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
r47818 and r47832 were backported into `ruby_2_1` branch at r47956. nagachika (Tomoyuki Chikanaga)
03:18 PM Revision a732f344 (git): merge revision(s) r47818,r47832: [Backport #9820]
* signal.c (rb_f_kill): should not ignore signal unless the
default handler is registered. [ruby-dev:48592...
nagachika (Tomoyuki Chikanaga)
03:09 PM Bug #10389 (Closed): SEGV after SEGV
最近、SEGV したときに、さらに SEGV することがあります。
```
% ./miniruby -e 'Process.kill(:SEGV, $$)'
-e:1: [BUG] Segmentation fault a...
akr (Akira Tanaka)
03:07 PM Bug #9728: Regexp bug
partially backport r47598 into `ruby_2_1` branch at r47954.
nagachika (Tomoyuki Chikanaga)
03:05 PM Revision 9b9479b1 (git): * 2014-10-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision 4855b79e (git): merge r47598 partially. extracted commits are as follows. [Bug #9728]
https://github.com/k-takata/Onigmo/commit/15ddec6d18e27fdc1988236764e766fd5892ecf5
git-svn-id: svn+ssh://ci.ruby-la...
nagachika (Tomoyuki Chikanaga)
02:52 PM Bug #6716: FileUtils.mv でリンク先がないシンボリックリンクファイルを指定すると ENOENT エラーになる
Backported into `ruby_2_1` at r47953. nagachika (Tomoyuki Chikanaga)
02:51 PM Revision 3d22fe53 (git): merge revision(s) r46783: [Backport #6716]
* lib/fileutils.rb: handle ENOENT error with symlink targeted to
non-exists file. [ruby-dev:45933] [Bug #67...
nagachika (Tomoyuki Chikanaga)
02:47 PM Revision da85f4ee (git): merge revision(s) r45715: [Backport #10265]
* configure.in: NetBSD's ksh, used by configure, needs escapes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branche...
nagachika (Tomoyuki Chikanaga)
02:42 PM Feature #10327: Bool/False/True module for '==='
もっともなので Falsy/Truthy に変えてみました。
patch を作り直したので添付します。
前回の patch は壊れていました。確認が不十分でごめんなさい。
~~~
$ ./miniruby -e '[nil...
arimay (yasuhiro arima)
02:37 PM Revision 2a61ff2e (git): vm_backtrace.c: fix unknown ID name
* vm_backtrace.c (id2str): adapt rb_id2str which returns 0 on
unknown ID to return Qnil, since oldbt_arg functions ...
nobu (Nobuyoshi Nakada)
02:37 PM Revision 2d157880 (git): vm_backtrace.c: unknown name method
* vm_backtrace.c (location_format): adjust unknown name method
results to other functions.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
02:24 PM Bug #10369: [PATCH] array.c: missing RB_GC_GUARDs
Backported into `ruby_2_1` at r47949. nagachika (Tomoyuki Chikanaga)
07:20 AM Bug #10369: [PATCH] array.c: missing RB_GC_GUARDs
Backported into `ruby_2_0_0` at r47936. usa (Usaku NAKAMURA)
02:24 PM Revision b93e896d (git): merge revision(s) r47896: [Backport #10369]
* array.c (ary_recycle_hash): add RB_GC_GUARD
(rb_ary_diff): remove volatile
[Bug #10369]
git-s...
nagachika (Tomoyuki Chikanaga)
02:12 PM Revision 1c90afbc (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:12 PM Bug #10373: add RB_GC_GUARD in rb_mod_define_method() (r47891)
Backported into `ruby_2_1` at r47947. nagachika (Tomoyuki Chikanaga)
07:16 AM Bug #10373: add RB_GC_GUARD in rb_mod_define_method() (r47891)
Backported into `ruby_2_0_0` at r47935. usa (Usaku NAKAMURA)
02:12 PM Revision 43979d40 (git): merge revision(s) r47891: [Backport #10373]
proc.c: method body GC guard
* proc.c (rb_mod_define_method): guard method body to prevent its
method entr...
nagachika (Tomoyuki Chikanaga)
02:10 PM Bug #10294: Dir[] cannot be called with an array argument
Backported into `ruby_2_1` at r47946. nagachika (Tomoyuki Chikanaga)
07:14 AM Bug #10294: Dir[] cannot be called with an array argument
Backported into `ruby_2_0_0` at r47934. usa (Usaku NAKAMURA)
02:10 PM Revision 7ec073a8 (git): merge revision(s) r47850: [Backport #10294]
* dir.c (dir_s_aref): fix rdoc. `Dir.glob` allows an array but
`Dir[]` not. the former accepts an optiona...
nagachika (Tomoyuki Chikanaga)
02:09 PM Bug #9914: posix_fadvise() does not work correctly with _LARGE_FILES on 32-bit AIX
Backported r47819 into `ruby_2_1` at r47945. nagachika (Tomoyuki Chikanaga)
07:12 AM Bug #9914: posix_fadvise() does not work correctly with _LARGE_FILES on 32-bit AIX
Backported into `ruby_2_0_0` at r47933. usa (Usaku NAKAMURA)
02:08 PM Revision 54af7108 (git): merge revision(s) r47819: [Backport #9914]
* configure.in: Fix typo. [Bug #9914]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47945 b2dd03c8-...
nagachika (Tomoyuki Chikanaga)
02:06 PM Bug #10330: 例外クラス階層のドキュメントの誤り
Backported into `ruby_2_1` at r47944. nagachika (Tomoyuki Chikanaga)
07:10 AM Bug #10330: 例外クラス階層のドキュメントの誤り
Backported into `ruby_2_0_0` at r47932. usa (Usaku NAKAMURA)
02:06 PM Revision 7f6aaba7 (git): merge revision(s) r47820: [Backport #10330]
* error.c: update exception tree. [DOC]
reported by @hemge via twitter.
git-svn-id: svn+ssh://ci.ruby-lan...
nagachika (Tomoyuki Chikanaga)
01:09 PM Revision 0621ddc4 (git): * ext/etc/etc.c (etc_nprocessors_affin): Test CPU_ALLOC availability.
CentOS 5 don't have CPU_ALLOC().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47943 b2dd03c8-39d4-4d8f-98ff-8...
akr (Akira Tanaka)
11:28 AM Revision 1451377e (git): Simplify multiline condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:20 AM Feature #10298: Array#float_sum (like math.fsum of Python)
Thank you for the quick patch for enum.c.
Timing and test.
I see. performance is not improved.
```
$ uname -s...
t-nissie (Takeshi Nishimatsu)
10:57 AM Revision e67b307e (git): Simplify a regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:57 AM Revision ac719034 (git): Unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:44 AM Feature #10267: Number of processors
It seems kosaki-san is busy.
I committed etc-nprocessors-kosaki2.patch at r47939.
akr (Akira Tanaka)
09:41 AM Revision 7d9e04de (git): * ext/etc/etc.c (etc_nprocessors_affinity): use sched_getaffinity
for getting precious number of available cpus.
* ext/etc/etc.c (etc_nprocessors): use etc_nprocessors_affinity if
...
akr (Akira Tanaka)
09:06 AM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
筋が通るというのは原則どおりなのでそれはそうですが、
US-ASCII の場合は例外扱いでそうはしないことにしたという経緯があるので
筋が通るということのみではそうする理由にはならないと思います。
akr (Akira Tanaka)
09:03 AM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
UTF-8 や Windows-31J で試してみたところ、両方とも (/#{s}/ も /#{'\x80'}/ も) invalid multibyte escape となっています。なぜ US-ASCII の場合片方しかなってない... duerst (Martin Dürst)
08:59 AM Revision e1ba2d41 (git): * test/ruby/envutil.rb (assert_pattern_list) Renamed from
assert_regexp_list.
Show multiline string in multi lines.
* test/-ext-/bug_reporter/test_bug_reporter.rb: Use
as...
akr (Akira Tanaka)
08:46 AM Bug #10380: Make sure 'update-gems' is called in the make process
Hiroshi SHIBATA wrote:
> It will automatically install at ```make install``` therefore, Ruby 2.2 users can use it ...
duerst (Martin Dürst)
07:25 AM Bug #10245: TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
Backported into `ruby_2_0_0` at r47937. usa (Usaku NAKAMURA)
07:24 AM Revision 9c1588a8 (git): merge revision(s) 47111,47212,47451,47452,47680: [Backport #10245]
* test/minitest/test_minitest_unit.rb: removed obsoleted condition
for Ruby 1.8.
* test/ruby/test_...
U.Nakamura
07:19 AM Revision 6e103e84 (git): merge revision(s) 47896: [Backport #10369]
* array.c (ary_recycle_hash): add RB_GC_GUARD
(rb_ary_diff): remove volatile
[Bug #10369]
git-s...
U.Nakamura
07:16 AM Revision 46885440 (git): merge revision(s) 47891: [Backport #10373]
proc.c: method body GC guard
* proc.c (rb_mod_define_method): guard method body to prevent its
method entr...
U.Nakamura
07:13 AM Revision f173b876 (git): merge revision(s) 47850: [Backport #10294]
* dir.c (dir_s_aref): fix rdoc. `Dir.glob` allows an array but
`Dir[]` not. the former accepts an optiona...
U.Nakamura
07:12 AM Revision 94715a86 (git): merge revision(s) 47819: [Backport #9914]
* configure.in: Fix typo. [Bug #9914]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47933 b2dd03c...
U.Nakamura
07:09 AM Revision c436b465 (git): merge revision(s) 47820: [Backport #10330]
* error.c: update exception tree. [DOC]
reported by @hemge via twitter.
git-svn-id: svn+ssh://ci.ruby-lan...
U.Nakamura
06:58 AM Bug #10262: nmake love fails from tarball
Backported into `ruby_2_0_0` at r47931. usa (Usaku NAKAMURA)
06:58 AM Revision a7679182 (git): merge revision(s) 47641,47642,47644: [Backport #10262]
* win32/win32.c (VCSUP): nothing to do if this worktree is not under
any VCS (it means that the worktree ma...
U.Nakamura
06:56 AM Bug #10281: r47683 (add GC guard in rb_ary_splice())
Backported into `ruby_2_0_0` at r47930. usa (Usaku NAKAMURA)
06:55 AM Revision 172cc121 (git): merge revision(s) 47683: [Backport #10281]
array.c: GC guard
* array.c (rb_ary_splice): prevent replacing array from GC.
git-svn-id: svn+ssh://ci.ruby...
U.Nakamura
06:39 AM Revision 9c7e5a85 (git): merge revision(s) 42060: [Backport #9915]
* ext/pathname/pathname.c (path_inspect): use PRIsVALUE to preserve
the result encoding.
git-svn-id: svn+...
U.Nakamura
06:27 AM Revision 723cee93 (git): enum.c: nil if no iteration
* enum.c (enum_inject): return nil if no iteration, instead of
Qundef.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
06:18 AM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
This patch is even more important now that SSLv3 has basically been completely deprecated by the POODLE attack. reed (Reed Loden)
05:59 AM Revision e02c5f34 (git): test_rubyoptions.rb: split regexps
* test/ruby/test_rubyoptions.rb (SEGVTest::ExpectedStderrList):
split backtrace information regexps.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
05:25 AM Revision efaed8c8 (git): enum.c: use Qundef
* enum.c (enum_inject): use Qundef for no initial values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47926 b2...
nobu (Nobuyoshi Nakada)
04:27 AM Feature #10381: Pathname#mkdir_p, Pathname#makedirs が欲しい
> mkdir_p はコマンド名っぽくておすすめしたくないな、と思っています。
FIleUtils では mkdir_p のほうがコマンドの挙動がすぐ連想できるの使っています。
FileUtils からの連想で Pathnam...
takkanm (三村 益隆)
03:35 AM Bug #10388 (Rejected): Operator precedence problem in multiple assignment (massign)
I understand it wouldn't be easy to fix this, but since I happened to find it here it goes.
- `a, b = c = 1, 2` is...
knu (Akinori MUSHA)
03:27 AM Revision 23864072 (git): * test/ruby/envutil.rb (assert_regexp_list): New assertion method.
* test/ruby/test_rubyoptions.rb: Use assert_regexp_list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47925 b...
akr (Akira Tanaka)
01:32 AM Bug #10387: Overwriting an array variable doesn't release referenced objects
Seems it doesn't happen on the trunk. nobu (Nobuyoshi Nakada)
12:04 AM Revision 7643c2b3 (git): Extract assert_segv and split the big regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

10/14/2014

10:46 PM Bug #10387 (Closed): Overwriting an array variable doesn't release referenced objects
I narrowed down the following, but I'm not sure if the problem is mine or a bug:
~~~ruby
require 'objspace'
GC.s...
avit (Andrew Vit)
10:24 PM Revision 5a601ec5 (git): * enum.c: min(n) drops elements bigger than the n-th maximum element.
(struct nmin_data): New field to record the n-th maximumelement, limit
(nmin_filter): Update limit field.
(nmin_i...
akr (Akira Tanaka)
10:01 PM Revision d63a88c0 (git): test/ruby/test_optimization.rb (test_string_size): new test
String#size may be overridden, so test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47922 b2dd03c8-39d4...
Eric Wong
09:52 PM Revision a1ad7b51 (git): test/ruby/test_optimization.rb: redefinition tests for String
* test/ruby/test_optimization.rb (test_string_eq_neq): new test
(test_string_ltlt): ditto
git-svn-id: svn+ssh://ci...
Eric Wong
09:52 PM Revision 5733a574 (git): test/ruby/test_optimization.rb (test_hash_aset_with): assert assignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
09:13 PM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
This patch looks broken.
:options => -> {
opts = …
opts |= OpenSSL::SSL::OP_NO_SSLv3 if defined?(OpenSSL:...
stouset (Stephen Touset)
07:57 PM Revision f9deff97 (git): * gc.c (rb_obj_id): [DOC] Fix typo, clean up sentence, and wrap cols
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
07:54 PM Revision 329b2f47 (git): * 2014-10-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:54 PM Revision 85662422 (git): * error.c: [DOC] Fix case of type in exception message by @tricknotes
[Fixes GH-740] https://github.com/ruby/ruby/pull/740
* object.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
zzak (zzak _)
06:24 PM Feature #10386: [PATCH 3/3] There is little possibility of using m_sqrt at complex.c
p.s. From my point, `nucomp_expt` does work enough. gogotanaka (Kazuki Tanaka)
06:18 PM Feature #10386 (Open): [PATCH 3/3] There is little possibility of using m_sqrt at complex.c
As far as I research, I couldn't find the reason we should keep m_sqrt function at complex.c.
So I've removed this...
gogotanaka (Kazuki Tanaka)
05:30 PM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
I can find more useful function `f_zero_p `.
```c
static VALUE
nucomp_real_p(VALUE self)
{
get_dat1(self);...
gogotanaka (Kazuki Tanaka)
04:30 PM Bug #10159: Ruby 2.x Syslog::Logger is newer than the one in Rubygems but version is the same
Ruby 2.1.3 has the same issue. The patch is already supplied, why hasn't this been addressed? lemsx1 (Luis Mondesi)
01:46 PM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
えぇと、ここでの string 自体は US-ASCII で valid なのです。
'\x80' というのは US-ASCII な 4文字の文字列なので。
CODERANGE_BROKEN な文字列ではありません。
それを...
akr (Akira Tanaka)
01:16 PM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
RegexpはASCII-8BITになってもStringはスクリプトエンコーディングのままなので、意図的なCODERANGE_BROKENなのか、意図しないバグによるものなのか、区別する方法がないというのが問題ですね。 nobu (Nobuyoshi Nakada)
11:48 AM Bug #10382 (Closed): s = '\x80'; /#{s}/ raises an exception in US-ASCII script
以下のふたつのスクリプトの動作は一致するべきだと思うのですが、
前者と異なり後者は例外となります。
```
% cat z1.rb
# -*- encoding: US-ASCII -*-
r = /...
akr (Akira Tanaka)
01:14 PM Bug #10384 (Closed): Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on Solaris
Solarisにて、make test-all中に以下のエラーが発生することが多くなっています。
(出ないこともたまにあります。)
~~~
2) Error:
DL::TestHandle#test_static_sy...
ngoto (Naohisa Goto)
12:39 PM Bug #10383 (Closed): .gemspec files should not be world writable
Applied in changeset r47916.
----------
rbinstall.rb: fix .gemspec permissions
* tool/rbinstall.rb (gem): Fix permi...
nobu (Nobuyoshi Nakada)
11:54 AM Bug #10383 (Closed): .gemspec files should not be world writable
vo.x (Vit Ondruch)
12:39 PM Revision 3958ba3c (git): rbinstall.rb: fix .gemspec permissions
* tool/rbinstall.rb (gem): Fix permissions of bundled gems
specification files. [ruby-core:65700] [Bug #10383]
gi...
nobu (Nobuyoshi Nakada)
12:30 PM Feature #10381 (Feedback): Pathname#mkdir_p, Pathname#makedirs が欲しい
mkdir_p はコマンド名っぽくておすすめしたくないな、と思っています。
makedirs については mkdir と単語の略しかたが違っていて気に入らなかったような気がします。
あと Pathname では基本的には al...
akr (Akira Tanaka)
11:11 AM Feature #10381 (Feedback): Pathname#mkdir_p, Pathname#makedirs が欲しい
Pathname#mkpath にも FileUtils#mkpath と他の同じ挙動をするメソッド名が欲しいです。
~~~
diff --git a/ext/pathname/lib/pathname.rb b/ext/pa...
takkanm (三村 益隆)
12:15 PM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
I'm not sure that ignoring getaddrinfo()'s non-first entries is a good behavior.
akr (Akira Tanaka)
12:02 PM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
I can reproduce clang on linux.
```
[hsbt@chkbuild001 ~]$ clang -v
clang version 3.5.0 (tags/RELEASE_350/final)
...
hsbt (Hiroshi SHIBATA)
01:49 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
I can't reproduce with gcc-4.9(not clang). hsbt (Hiroshi SHIBATA)
11:18 AM Bug #10380: Make sure 'update-gems' is called in the make process
> It can be installed with
> > make update-gems
>
> but I had to do that by hand. It should be done automatically...
hsbt (Hiroshi SHIBATA)
04:08 AM Bug #10380 (Closed): Make sure 'update-gems' is called in the make process
As described among else in bug #9869, minitest was removed as a default gem.
It can be installed with
> make upda...
duerst (Martin Dürst)
10:16 AM Revision fb06f080 (git): ext/win32ole/win32ole_record.c: use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
08:56 AM Bug #9591: io-console versioning
This is still/again issue for Ruby 2.2. There are changes in io-console but its version does not reflect them. Could ... vo.x (Vit Ondruch)
07:24 AM Bug #10245 (Closed): TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
Ups, sorry. That was my fault. I forgot to remove one piece of workaround I applied before. Sorry for the noise. vo.x (Vit Ondruch)
07:02 AM Bug #10245 (Open): TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
Sorry but it does not work for me. However, the error is now different:
~~~
1) Failure:
TestTimeTZ#test_gen_li...
vo.x (Vit Ondruch)
07:23 AM Revision 65075dfe (git): symbol.c: ids array
* symbol.c (global_symbols): make ids two-dimensional array of
strings and symbols, for write-barrier.
git-svn-id:...
nobu (Nobuyoshi Nakada)
07:23 AM Revision 3e69b074 (git): symbol.c: immortal IDs
* symbol.c (global_symbols): make IDs immortal always, instead
of treating dynamic symbols as IDs.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
07:23 AM Revision 5617e317 (git): symbol.c: rename rb_str_dynamic_intern
* iseq.c, marshal.c, string.c: use rb_str_intern instead of
rb_str_dynamic_intern.
* symbol.c (rb_str_intern): rena...
nobu (Nobuyoshi Nakada)
03:18 AM Bug #9681: miniruby Bus Error at 0x3d44c4
> Hello, are there any plans to fix this issue in Ruby 2.1.4?
No, because no one can identify the cause of the pr...
ngoto (Naohisa Goto)
03:10 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
I've changed the way BOP_* flags are defined (they are now OM_* flags).
Everything is in "opt_str_lit-v2" branch of...
normalperson (Eric Wong)
02:07 AM Feature #10298: Array#float_sum (like math.fsum of Python)
https://github.com/nobu/ruby/compare/Feature%2310298-float_sum
It doesn't improve the performance as `Array.float_...
nobu (Nobuyoshi Nakada)
02:02 AM Bug #10379 (Closed): Crash in Ruby 2.1.3 (and 2.1-head), works in 2.1.2
This crash does not happen 100% consistently, but does happen very often.
This crash happens most commonly when I ...
anamba (Aaron Namba)
01:21 AM Revision 18828191 (git): test new optimizations for redefines
* test/ruby/test_optimization.rb (test_string_freeze): new test
(test_hash_aref_with): ditto
(test_hash_aset_with...
Eric Wong
 

Also available in: Atom