Activity
From 07/31/2013 to 08/06/2013
08/06/2013
-
11:59 PM Bug #8744 (Closed): SIZEOF_UNSIGNED___INT128
- 気がついたのですが、config.h で、SIZEOF_UINT128_T の定義として
SIZEOF_UNSIGNED___INT128 が使われるのですが、
定義されないようです。
% grep INT128 .ext/include/x86_64-linux/ruby/config.h
#define SIZEOF___INT128 16
#define HAVE_INT128_T 1
#define SIZEOF_INT128_T SIZEOF_... -
11:32 PM Revision aecd5b67 (git): * ext/openssl/ossl_hmac.c: [DOC] Documentation for OpenSSL::HMAC
- based on a patch by @repah documenting-ruby/ruby#14
https://github.com/documenting-ruby/ruby/pull/14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:46 PM Revision 4a6bc942 (git): * lib/rss/utils.rb: [DOC] RSS::Utils by Steve Klabnik [Bug #8745]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:43 PM Revision 365ae169 (git): * 2013-08-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:43 PM Revision d35596c6 (git): * bignum.c (nlz16): Removed.
- (nlz32): Ditto.
(nlz64): Ditto.
(nlz128): Ditto.
(nlz_int): New function.
(nlz_long): New function.
(nlz_long_long): New function.
(nlz_int128): New function.
(nlz): Follow above changes.
(bitsize): Follow above changes.
... -
10:36 PM Bug #8740 (Closed): Documentation for RSS 1.0 and 2.0
- This issue was solved with changeset r42410.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rss/1.0.rb: [DOC] Document RSS110 by Steve Klabnik [Bug #8... -
02:30 AM Bug #8740: Documentation for RSS 1.0 and 2.0
- Oh no!
Adding this line fixes it:
maker.channel.about = "About my feed."
I must have copied wrong, my apologies. -
01:27 AM Bug #8740 (Assigned): Documentation for RSS 1.0 and 2.0
- Thank you Steve!
I've patched RSS::Rss and RSS::Atom, but when I tried the example for RSS::RSS10 I got an RSS::NotSetError on trunk, see this gist: https://gist.github.com/zzak/6157289
-
09:52 PM Feature #8675 (Closed): Add Readline.point=(pos)
- This issue was solved with changeset r42405.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c (readline_s_set_point, Init_readline):
... -
09:04 PM Feature #8675: Add Readline.point=(pos)
- 遅くなりましたが、関連するコミット 42146 も見ました。
「Readline.delete_text後にGNU Readlineの仕様そのままだとReadline.pointが削除されたテキストを考慮していない。そのため、test_readline.rbでは、Readline.pointがリセットされていないことに起因して、テストが失敗するケースがある。」ということですね。
提案いただいているようにReadline.point=は追加します。
でも、R... -
09:24 PM Bug #8644 (Closed): valgrind error in a readline test
- This issue was solved with changeset r42402.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c (Init_readline, readline_s_set_output)... -
09:11 PM Bug #8644: valgrind error in a readline test
- パッチありがとうございます。取り込みます。
-
09:24 PM Bug #8743 (Closed): Inconsistent behaviour calling public_methods on class (Plus documentation slightly ambiguous)
- =begin
= Background
I was trying to identify classes on which a specific class method (def self.xx) was actually defined (in the case of multiple levels of inheritance). This currently doesn't seem to be possible, although the docs ... -
07:19 PM Bug #8676: ruby 2.0 can not require or load the source file with non-ascii path name
There is a new bug from the change.
__FILE__'s encoding is wrong.
In file *ruby.c* and function *load_file_internal* type VALUE convert to char*, and lost the encoding info
(({const char *orig_fname = StringValueCStr(argp->fname);}))
an...-
07:11 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- Thanks a lot, but I think you forgot to attach the patch.
-
05:09 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- Seems fine.
And now matz considers it a bug in the ISO spec.
Attached a proposal for the NEWS and the test. -
05:33 PM Bug #8737: [BUG] Bus Error
- Full backtrace attached.
As it goes for the code I can't, I could try to create an empty rails project and maybe it will happen. -
03:22 AM Bug #8737: [BUG] Bus Error
- Is there any way that you can give some code that makes this happen? Or a full backtrace?
-
04:15 PM Bug #8722 (Closed): Refinements remain active beyond the end of an evaled string
- This issue was solved with changeset r42396.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_eval.c (eval_string_with_cref): copy cref to limit the sc... -
01:46 PM Revision 0650ecc3 (git): Typo from r42411
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:39 PM Revision 0ea2ae13 (git): * time.c: [DOC] Typo in Time overview by @sparr [Fixes GH-374]
- https://github.com/ruby/ruby/pull/374
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 PM Misc #8741: email notification on bugs.ruby-lang.org is broken
- henrikhodne (Henrik Hodne) wrote:
> This is a little hard to debug. What do you mean by "broken"? Do you not receive them? Do you only receive some? Are they garbled? I get notifications just fine, so they can't be completely broken.
... -
06:30 AM Misc #8741: email notification on bugs.ruby-lang.org is broken
- This is a little hard to debug. What do you mean by "broken"? Do you not receive them? Do you only receive some? Are they garbled? I get notifications just fine, so they can't be completely broken.
-
05:35 AM Misc #8741 (Closed): email notification on bugs.ruby-lang.org is broken
- I don't know where else to report this
-
01:36 PM Revision 4bf737cf (git): * lib/rss/1.0.rb: [DOC] Document RSS110 by Steve Klabnik [Bug #8740]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:19 PM Revision ead6b6e7 (git): * ext/readline/readline.c (readline_s_delete_text): remove
- checking "$SAFE == 4".
* ext/readline/readline.c: fix rdoc, remove "Raises SecurityError"
and add "Raises NotImplementedError".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:07 PM Revision 19efdcee (git): * ext/readline/readline.c, test/readline/test_readline.rb: fix
- indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:59 PM Revision 9deecfc4 (git): range.c: return nil for empty range
- * range.c (range_last): return nil for empty range, or in the case the
predecessor is smaller than the begin. [Bug #8739]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:56 PM Revision 814b7b54 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:52 PM Revision a78713ce (git): * ext/readline/readline.c (readline_s_set_point, Init_readline):
- add Readline.point=(pos). Patched by naruse. [ruby-dev:47535]
[Feature #8675]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:38 PM Revision b4e9b0d1 (git): json/add/range.rb: use Range#end
- * ext/json/lib/json/add/range.rb (Range#as_json): use Range#end
instead of Range#last which can be affected by Range#exclusive?.
ref [Bug #8739]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42404 b2dd03c8-39d4-4d8f-98ff-823fe69... -
12:38 PM Revision e667aaf4 (git): net/http/header.rb: remove a hack
- * lib/net/http/header.rb (Net::HTTPHeader#set_range): remove a hack
for the bug fixed at [Bug #8739].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:24 PM Revision d2fa5dff (git): * ext/readline/readline.c (Init_readline, readline_s_set_output)
- (clear_rl_outstream, readline_s_set_input, clear_rl_instream)
(readline_readline): fix causing SEGV if closed IO object that is
set Readline.input or Readline.output. Patched by akr
[ruby-dev:47509] [Bug #8644]
git-svn-id: svn+ssh:/... -
11:48 AM Feature #8572: Fiber should be a Enumerable
- I think this is a good idea, and since it's a mere addition, we don't have to worry about compatibility.
Matz.
-
10:42 AM Feature #8738 (Feedback): Integer#single_bit? (Actually Fixnum#single_bit? and Bignum#single_bit?)
- I don't see the use-case of this method. Is there any case that happens so frequently to have build-in method (maybe performance-wise)?
Matz.
-
10:39 AM Bug #8739 (Rejected): Range#last と#last(n)で挙動の統一がされていない
- 意図したものです。
引数がない時には「終端」が欲しいでしょうし、引数を指定して複数値を取り出す時に、eachで登場しない値を含めるものおかしいと思いました。
仮に変えるとして「どちらかに揃える」ことを希望されるならば、どちらに揃えるべきだとも思いますか?
その時に「揃える」ことが現状の動作よりどう嬉しいのか、非互換性を導入するだけの価値があるのか教えてください。
Matz.
-
10:09 AM Bug #8724: MinGW: ConverterNotFoundError test failure
- This issue was solved with changeset r42383.
-
10:07 AM Bug #8742 (Rejected): JSON.parse can not handle tab in string
- The following JSON file:
----
{
"I am tab": " "
}
----
does not parse when running the script:
----
require 'json'
JSON.parse IO::read 'tab.json'
----
the error message is:
----
/usr/local/lib/ruby/1.9.1/json/common.rb:... -
08:59 AM Revision b7bc4706 (git): * vm_insnhelper.c (vm_push_frame): change type of stack_max to size_t.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:42 AM Revision 2743b0d6 (git): range.c: consider exclusive
- * range.c (range_last): exclude the last number of the exclusive range
if the end is Numeric. [ruby-dev:47587] [Bug #8739]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:42 AM Revision b0391268 (git): win32.c: fix conversion
- * win32/win32.c (rb_w32_conv_from_wchar): converted string to CP_UTF8
should have UTF-8 encoding. otherwise no conversion takes place
later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:33 AM Revision 22468a4f (git): * vm_insnhelper.c (vm_push_frame): fix stack overflow check codes.
- Stack overflow check should be done *after* pushing a stack frame.
However, some stack overflow checking codes checked *before*
pushing a stack frame with iseq->stack_max.
To solve this problem, add a new parameter `stack_max' to s... -
08:02 AM Revision 8ea8dfd8 (git): win32.c: conversion from WCHAR
- * win32/win32.c (rb_w32_conv_from_wchar): use WideCharToMultiByte(),
as like as mbstr_to_wstr(), in the first step of the convertion from
WCHAR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42397 b2dd03c8-39d4-4d8f-98ff-823fe69... -
07:15 AM Revision d6228183 (git): * vm_eval.c (eval_string_with_cref): copy cref to limit the scope of
- refienements in the eval string. [ruby-core:56329] [Bug #8722]
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:04 AM Revision c837fe40 (git): string.c: fix typo
- * string.c (rb_str_ellipsize): [DOC] fix typo, "encoding" instead of
"encoded" which is probably a slip of the auto-completion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:12 AM Revision 42bd9510 (git): win32.c: supprss warning
- * win32/win32.c (rb_w32_system_tmpdir): supprss a sign-compare
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:12 AM Bug #8581 (Rejected): URI.parse can't parse URI: (URI::InvalidURIError) "bad URI(is not URI? -
03:18 AM Bug #8581: URI.parse can't parse URI: (URI::InvalidURIError) "bad URI(is not URI?
- That is correct.
I believe this should be closed. -
03:51 AM Bug #8409: Having issues compiling 2.0.0 p195
- I have attached a patch that disallows --prefix set to `pwd`, but I am not an autoconf master. It works for me, but I'm not sure if there is a better way.
-
03:33 AM Revision ba3ec382 (git): [DOC] refine a call seq.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:26 AM Revision 25336fa7 (git): * bignum.c (rb_big_realloc): Use VALGRIND_MAKE_MEM_UNDEFINED to
- declare undefined memory area.
(bignew_1): Ditto.
* internal.h (VALGRIND_MAKE_MEM_DEFINED): Moved from gc.c
(VALGRIND_MAKE_MEM_UNDEFINED): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42392 b2dd03c8-39d4-4d8f-98ff-823... -
03:16 AM Bug #8124: gem fails to install valid gems
- I believe both of these errors happen when there are network problems of some kind, but haven't been able to reproduce in any meaningful way.
-
03:11 AM Bug #7425: Execute a script by active record, the console is crash.
- It's been 8 months since some extra feedback was asked for, is there any way we can get this information?
-
03:10 AM Bug #7898: Ruby tells me to report this bug
- Ping! Any chance of getting the first half of that log? Is this still a problem?
-
03:09 AM Bug #7089: Rails server refuses to start
- Luis asked for some feedback almost a year ago, is this still an issue? Any chance you can get the info he asked for?
-
03:08 AM Bug #6839: 1.9.3p194 [BUG] Segmentation fault
- It's been quite a long time for this bug. Has it been tried on a newer Ruby? Is there any way to get a full reproduction, possibly without Rails?
-
02:44 AM Bug #7977: rails 4 crashes ruby 2.0 on Solaris
- John, can you get a small reproduction of some kind to help ngoto? It's been five months.
-
01:42 AM Bug #8550 (Closed): On Windows Process.spawn 'command', 'arg1', 'arg2', ... evals the arguments
- This issue was solved with changeset r42391.
Maurizio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* process.c: [DOC] Document caveats of command form of Proces... -
12:14 AM Bug #8550: On Windows Process.spawn 'command', 'arg1', 'arg2', ... evals the arguments
- I've attached a patch for the RDOC, what do you think?
-
12:51 AM Bug #7676: Comparison of Float::NAN in array behaves unexpectedly
- I would be happy to write a documentation patch for this if Matz can confirm which behavior is correct.
08/05/2013
-
11:55 PM Bug #8740 (Closed): Documentation for RSS 1.0 and 2.0
- As well as a tiny fix for atom.
-
11:22 PM Bug #8739 (Closed): Range#last と#last(n)で挙動の統一がされていない
- Range#lastは終端を返しますが、#last(n)は最後の要素を返します。
引数の有無で挙動が異なるのは意図したものでしょうか?
意図したものであれば、返す値を終端か要素どちらかに挙動を統一出来ないでしょうか。
#終端が返る
(1...5).last => 5
#最後の要素が返る
(1...5).last(1) => [4] -
11:17 PM Feature #8738: Integer#single_bit? (Actually Fixnum#single_bit? and Bignum#single_bit?)
- Regarding the naming, I find
8.single_bit? # => true
a little strange (that's 4 bits), power_of_2?/power_of_two? seem to be more to the point. -
10:03 PM Feature #8738 (Rejected): Integer#single_bit? (Actually Fixnum#single_bit? and Bignum#single_bit?)
- How about a new method Integer#single_bit?
(Actually Fixnum#single_bit? and Bignum#single_bit?)
n.single_bit? returns true for abs(n) is 1, 2, 4, ..., 2**i for some i.
Sometimes we need to test an integer contains only one bit or ... -
10:49 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- I agree with the proposal, so I've attached a patch.
With this patch:
* yield invokes lambda as a lambda block
* lambda block always checks the arguments
But note that it may introduce incompatibility with JIS X 3017, ISO/IEC 301... -
05:50 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- We discussed about the issue, and concluded the OP's intuition is natural.
So we seriously consider changing the behavior of return in lambda in 2.1.
But since it's incompatible change, we may give up the feature if some major incompat... -
01:16 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- mame (Yusuke Endoh) wrote:
>
> ...
You and others keep referring to some "spec" without linking or quoting it. Since you seem to respect the idea of a spec, allow me to quote again the closest thing there is to a spec, matz' "the ruby... -
12:32 PM Feature #8693 (Assigned): lambda invoked by yield acts as a proc with respect to return
-
09:57 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- rits (First Last) wrote:
> A "plain block" that "checks arguments" is an oxymoron. Obviously such a thing should not exist.
I do not agree nor disagree with your opinion.
> ...
Imagine a natural Ruby implementation of proc:
... -
04:19 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- mame (Yusuke Endoh) wrote:
> My guess:
> ...
A "plain block" that "checks arguments" is an oxymoron. Obviously such a thing should not exist.
If it behaved truly as a plain block that would be saner, however, as long as the lambda ... -
09:52 PM Bug #8737 (Third Party's Issue): [BUG] Bus Error
- When running rspec spec/<spec_file> from time to time I get this error:
/Users/n/.rvm/gems/ruby-2.0.0-p247@<gemset>/bin/ruby_noexec_wrapper: [BUG] Bus Error
I can test solutions at any time, just ping me. -
09:50 PM Feature #8658: Process.clock_gettime
- I updated the patch for Process.clock_gettime.
The patch, clock_gettime-4.patch, supports gettimeofday() and time(),
even when clock_gettime() is available.
-
09:48 PM Feature #8700: Integer#bitsize (actually Fixnum#bitsize and Bignum#bitsize)
- I updated the patch because I change the method name to bit_length.
(I added an under score.)
-
05:38 PM Bug #8733 (Closed): miniruby always reports warnings when writing to console on Windows
- This issue was solved with changeset r42385.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
win32.c: conversion to WCHAR
* win32/win32.c (rb_w32_write_cons... -
05:38 PM Bug #8733: miniruby always reports warnings when writing to console on Windows
- クロスコンパイルとかck.exe上からとかしかビルドしてませんでした(ドヤ)。
-
03:26 PM Bug #8733 (Closed): miniruby always reports warnings when writing to console on Windows
- =begin
しばらく前になかださんが組み込みエンコーディング周りをいじってからというもの、
以下のような警告が出るようになりました。
C:\ruby> miniruby -e "p ''"
-e:1: warning: failed to load encoding (UTF-16LE); use ASCII-8BIT instead
-e:1: warning: failed to load encoding (UTF-16LE); use AS... -
04:42 PM Revision 0bd6f36a (git): * process.c: [DOC] Document caveats of command form of Process.spawn
- with regard to the shell and OS. Patched by Steve Klabnik [Bug #8550]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:29 PM Revision e171d499 (git): * lib/rss/0.9.rb: [DOC] Typo in example [Bug #8732]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:25 PM Revision a8996069 (git): * 2013-08-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:25 PM Revision 196d348a (git): * lib/rss/2.0.rb: [DOC] Document RSS::Rss by Steve Klabnik #8740
- * lib/rss/atom.rb: [DOC] Typo in rdoc by Steve Klabnik
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 PM Feature #8734 (Closed): irbに複数行履歴機能が欲しい
- 現在のirbはクラス定義やメソッド定義のような複数行にわたるものを書くと、
実行結果は閉じるまで返ってこないのに、履歴は一行ごとにバラバラになってしまい、とても不便です。
なので、zshのように、複数行をまとめて履歴として扱えるようになって欲しいです。
参考: http://news.mynavi.jp/column/zsh/003/index.html -
03:23 PM Feature #8696: Process.setproctitle - At Sun, 4 Aug 2013 10:01:31 +0900,
KOSAKI Motohiro wrote:
>
> 2013/7/30 knu (Akinori MUSHA) <knu@ruby-lang.org>:
> >
> > Issue #8696 has been updated by knu (Akinori MUSHA).
私が言いたかったことを整理すると、
1. $0 のgetter/setterは非... -
02:50 PM Revision 2ae634f2 (git): * bignum.c: Rename local variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:25 PM Revision f089ea1c (git): * vm_trace.c: [DOC] Fix TracePoint return values in examples
- Based on a patch by @sho-h [Fixes GH-373]
https://github.com/ruby/ruby/pull/373
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:53 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
- Can you just write a gem?
-
08:38 AM Revision 8d564597 (git): win32.c: conversion to WCHAR
- * win32/win32.c (rb_w32_write_console): use MultiByteToWideChar() for
the last step of conversion to WCHAR, to get rid of warnings from
rb_enc_find() in miniruby. [ruby-dev:47584] [Bug #8733]
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
08:33 AM Revision 0f6cd1bb (git): win32.c: fix wrong trimming
- * win32/win32.c (wstr_to_mbstr, mbstr_to_wstr): fix wrong trimming.
WideCharToMultiByte() and MultiByteToWideChar() do not count
NUL-terminator in the size for conversion result, unless the input
length is -1.
git-svn-id: svn+ssh:... -
08:32 AM Revision db95dfbc (git): test_econv.rb: assert_separately
- * test/ruby/test_econv.rb (test_default_external): use
assert_separately for clearer messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:02 AM Revision 750b52f4 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:22 AM Bug #8720 (Rejected): ECB mode seems to be broken
- =begin
Hi Ben,
thanks for caring! But it's not really a bug of Ruby OpenSSL, the problem is that unfortunately the Cipher instance is stateful and it is important in which order you call #encrypt, #key= etc. In our defense, this is ... -
03:58 AM Bug #8732 (Closed): Docs for rss/0.9.rb
- This issue was solved with changeset r42378.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rss/0.9.rb: [DOC] Document RSS09 by Steve Klabnik [Bug #8732] -
03:52 AM Bug #8732 (Closed): Docs for rss/0.9.rb
- I wrote some top-level documentation for the 0.9 support of RSS.
-
03:37 AM Bug #8685 (Closed): Problems of the example of REXM::Attribute#namespace
- This issue was solved with changeset r42376.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/attribute.rb: [DOC] Update example for #namespace
... -
03:32 AM Bug #8729 (Rejected): Fix character literals in documentation
- This is a bug in RDOc, thank you for your patch but I cannot accept it.
- 02:51 AM Revision ac93b284 (git): * include/ruby/encoding.h: document which user flags are used by
- ENCODING_MASK for better greppability
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:02 AM Revision 5e98991f (git): * object.c (rb_class_inherited_p): allow iclasses to be tested for
- inheritance. [Bug #8686] [ruby-core:56174]
* test/ruby/test_method.rb: add test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/04/2013
-
10:20 PM Feature #8126: OpenSSL::SSL::SSLSocket does not define #recv and #send messages
- I don't know how @postmodern but I miss the getpeername the most.
-
09:49 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- My guess:
* yield invokes any block as a plain block
* lambda block always checks the arguments
Anyway, I don't recommend you to write a code that depends on this behavior because this is considered an implementation-detail.
If... -
06:42 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- @rits: i plan to stop commenting on this thread and hope that Matz or someone else will provide and authoritative explanation some time.
I want to mention however how i view blocks in Ruby. For me a block "{ |x| x + 1 }" is somewhat ... -
02:28 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return - @Alexey: The OP complaint is a spec. But in the discussion (which I thoroughly read only upon
your reminder), different issues appear. That of block "hanging around", accessible by Proc.new:
~~~ruby
l = -> {}
#<Proc:0xb85c3df8@(irb... -
06:23 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- alexeymuranov (Alexey Muranov) wrote:
>
> ...
* extracts individual elements and passes them individually, in fact the receiving method can then regroup the individual args in many different ways:
~~~ruby
irb(main):010:0> def m1(a... -
04:25 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- I agree it would be nice if Matz clarified the issue.
rits (First Last) wrote:
>
> ...
If you mean that this is not how things work, apparently it is true. But for me it would be the most natural if "`&`" was converting a lambda/p... -
03:00 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- nobu (Nobuyoshi Nakada) wrote:
> Then it's a bug in that book.
What exactly are you claiming is a bug in the book? The general rule about lambda semantics, that return in a lambda is supposed to return from the lambda? Are you sug... -
02:48 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- boris_stitnicky (Boris Stitnicky) wrote:
> @Alexey: It's spec. As soon as you unpack the block with the pretzel, it forgets about its lambda-ness. If you wish to pass lambdas inside the method, you have to do it through the argument lis... -
02:20 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- Maybe this is related to #8622?
-
12:41 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- Then it's a bug in that book.
-
09:15 PM Revision b649592c (git): * enumerator.c: [DOC] Remove reference to Enumerator::Lazy#cycle
- Patch by @kachick [Fixes GH-372]
https://github.com/ruby/ruby/pull/372
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:58 PM Revision 9fe55c12 (git): * lib/rss/0.9.rb: [DOC] Document RSS09 by Steve Klabnik [Bug #8732]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:37 PM Revision d1579219 (git): * 2013-08-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:37 PM Revision e730b1aa (git): * lib/rexml/attribute.rb: [DOC] Update example for #namespace
- Patch by Ippei Obayashi [Bug #8685] [ruby-core:56173]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:01 PM Bug #8731 (Closed): Problems when parsing notation decl and entity decl with REXML::Parsers::SAX2Parser
- 以下のコード(sax2parser_decl_error.rb)を実行すると例外が発生します。
require 'rexml/parsers/sax2parser'
require 'rexml/sax2listener'
xml = <<EOS
<!DOCTYPE root [
<!ENTITY % YN '"Yes"'>
<!NOTATION x SYSTEM "URIx">
]>
<root />
... -
01:42 PM Revision c632c925 (git): merge revision(s) 40001: [Backport #8109]
- * win32/win32.c (wrename): use MoveFileExW instead of MoveFileW,
because the latter fails on cross device file move of some
environments.
fix [ruby-core:53492] [Bug #8109]
reported by mitchellh (Mi... -
12:24 PM Revision 07e3b30c (git): * array.c (rb_ary_zip): performance implement by using
- ALLOCA_N() to allocate tmp buffer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:21 PM Revision 9a37bfce (git): * version.h: increment patchlevel for r42370.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 AM Feature #8726: Class#source_location
- 2013/8/3 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> (13/08/04 6:33), KOSAKI Motohiro wrote:
>>> なるせさん、わたし、あのバックトレースの整形処理がイマイチ理解できんのだが、
>>> あれはどういう処理を意図してるの。
>>
>> printfデバッグした感じだと
>>
>> (bt = e.backtrace).reject! {|m| ... -
10:23 AM Feature #8726: Class#source_location
- (13/08/04 6:33), KOSAKI Motohiro wrote:
>> なるせさん、わたし、あのバックトレースの整形処理がイマイチ理解できんのだが、
>> あれはどういう処理を意図してるの。
>
> printfデバッグした感じだと
>
> (bt = e.backtrace).reject! {|m| rej =~ m}
>
> の行で取り除かれてる行はないように見える。うーん、コード履歴を追う必要があ... -
06:53 AM Feature #8726: Class#source_location
- > なるせさん、わたし、あのバックトレースの整形処理がイマイチ理解できんのだが、
> あれはどういう処理を意図してるの。
printfデバッグした感じだと
(bt = e.backtrace).reject! {|m| rej =~ m}
の行で取り除かれてる行はないように見える。うーん、コード履歴を追う必要があるかなあ -
05:59 AM Feature #8726: Class#source_location
- > Classオブジェクトが生成された場所を返す Class#source_location メソッドの実装を希望いたします。
> ...
言ってることが今ひとつ理解できません。
test.rb
~~~ruby
1: require "timeout"
2:
3: def foo
4: sleep 10
5: end
6:
7: Timeout.timeout(1) {
8: foo
9: }
~~~
というコードの結果は... -
03:02 AM Feature #8726: Class#source_location
- naruse (Yui NARUSE) wrote:
> ユースケースがtimeoutだけなのでしたら、一般化したsource_locationではなく、
> ...
いや、そもそもTimeout.timeoutのrescueで自身のbacktraceを除いている処理が実はいらなくて、
ちゃんと残しておくべきなのかも。 -
02:34 AM Feature #8726: Class#source_location
- ユースケースがtimeoutだけなのでしたら、一般化したsource_locationではなく、
その無名クラスオブジェクトに作成時のcallerを返す特異メソッドをつけた方が早くありませんか。 -
10:44 AM Bug #8730 (Rejected): "rescue Exception" rescues Timeout::ExitException
- Exception全体をrescueして握り潰しているのがバグでしょう。
-
09:47 AM Bug #8730 (Rejected): "rescue Exception" rescues Timeout::ExitException
- =begin
Timeout.timeout ブロック内で rescue Exception によって例外を捕捉している箇所があると、
タイムアウト処理が内部的に利用している Timeout::ExitException クラスの無名派生クラスを補足してしまい、
正しく Timeout::Error が発生しない。
例)
timeout 1 do
begin
sleep 3
rescue Exception => ... -
10:23 AM Feature #8696: Process.setproctitle
- 2013/7/30 knu (Akinori MUSHA) <knu@ruby-lang.org>:
>
> Issue #8696 has been updated by knu (Akinori MUSHA).
>
>
> getproctitle() というAPIはないので、 Process.setproctitle() でいいんじゃないかと思います。
> $0はベタに Process.argv0 でどうでしょう。argv0という名前はT... -
08:57 AM Bug #8716 (Assigned): segmation fault 正規表現で大量のグループを利用時
- regexec.c:match_at()で呼ばれるSTACK_INITがサイズを考慮せずにxallocaしているため、スタックオーバーフローしています。
-
07:44 AM Bug #8729 (Rejected): Fix character literals in documentation
- =begin
(('('))This is my first ever patch to Ruby, tried to follow ((<this guide|URL:http://documenting-ruby.org/step-by-step-guide.html>)), hopefully I did everything right.((')'))
The RDoc tool seems to strip out the (({?})) in cha... -
06:53 AM Bug #8728 (Closed): strio_substr can put invalid pointer into substring
- This issue was solved with changeset r42366.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/stringio/stringio.c (strio_substr): Trivial fix for inva... -
06:43 AM Bug #8728: strio_substr can put invalid pointer into substring
- I will go ahead and fix this with an empty string.
-
06:30 AM Bug #8728 (Closed): strio_substr can put invalid pointer into substring
- There's a bug in strio_substr when reading a zero-length string from a StringIO when the position is past the end of the internal string.
static VALUE
strio_substr(struct StringIO *ptr, long pos, long len)
{
VALUE str = ptr->st... -
05:25 AM Bug #8159 (Closed): Build failure introduced by Rinda changes
- issue shown here no longer present in CI.
Thank you. -
05:23 AM Bug #5954 (Rejected): IO.read_nonblock on IO.pipe generates Errno::EBADF (MinGW)
- Thank you nobu, this is a platform limitation then.
-
02:46 AM Feature #3753 (Assigned): value of def-expr
-
01:31 AM Revision 0d5ec8a3 (git): * ext/tk/extconf.rb: Don't add "-ltk -ltcl" for MacOSX frameworks, because they may link improper libraries.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:30 AM Revision 95462cb0 (git): * 2013-08-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:30 AM Revision 317effe3 (git): * ext/tk/extconf.rb: Default search_versions are set 8.5 and 8.4 only. At present, Tcl/Tk8.6 is not supported.
- * ext/tk/extconf.rb: Fix typo. [ruby-core:56084] [Bug #8656]
* ext/tk/extconf.rb: Don't add "-ltk -ltcl" for MacOSX frameworks, because they may link improper libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@4... - 01:21 AM Revision 808e6b1f (git): * 2013-08-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@42369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:21 AM Revision 3eb55f28 (git): * ext/tk/extconf.rb: Default search_versions are set 8.5 and 8.4 only. At present, Tcl/Tk8.6 is not supported.
- * ext/tk/extconf.rb: Fix typo. [ruby-core:56084] [Bug #8656]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@42368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/03/2013
-
11:11 PM Bug #8715 (Closed): openssl mkmf.log filled with other data
- Hello,
I'd backported r40080 and r40081 to ruby_2_0_0.
-
10:51 PM Bug #8702: POSTLINK fails in test/mkmf/test_framework.rb although RUBY_CODESIGN is given
- Backported to ruby_2_0_0 at r42358.
-
10:33 PM Bug #8716 (Feedback): segmation fault 正規表現で大量のグループを利用時
- Backport200 は 2.0.0 ブランチへのバックポートチケット用ですので一旦 ruby-trunk へ移動します。
なお手元では trunk でも 2.0.0 でも再現しませんでした。
SEGV 発生時のバックトレースなどのメッセージを添付していただけませんか。
Mac OS X 版では C のバックトレースは ~/Library/Logs/DiagnosticReports の下にファイルで置かれますので、そちらもお願いします。 -
10:15 PM Revision 3cd16b43 (git): * README.EXT, README.EXT.ja: Mention rb_integer_pack and
- rb_integer_unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:56 PM Feature #8726: Class#source_location
- 関連して、無名クラスオブジェクトのto_s の結果として、`"#<Class:0x007f956336abc8>"` のような文字列ではなく、
Class#source_location で得られる情報を付加すれば、様々な利便性の向上が望めると思います。 -
09:54 PM Feature #8726 (Rejected): Class#source_location
- Classオブジェクトが生成された場所を返す Class#source_location メソッドの実装を希望いたします。
これによって解決される問題の例としては、Timeout::timeout が無名の例外クラスオブジェクトを raise した
場合に、どこで仕掛けられた timeout なのか、発生場所を特定できるようになります。
このようなケースでは、例外オブジェクトが保有している backtrace はtimeoutが発生した時点での
プログラム実... -
09:53 PM Revision 7974fe6a (git): * ext/stringio/stringio.c (strio_substr): Trivial fix for invalid
- pointer when len = 0 and pos outside of string. Bug #8728.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:59 PM Feature #8723: Array.any? predicate returns true for empty array.
- =========
"Do you agree at least that you initial proposal with assigning false to [].all?{...} was unreasonable?" --alexeymuranov
Well yes, I wanted it to return any false'y value, actually. Including nil. Sorry for not making it ... -
05:29 PM Feature #8723: Array.any? predicate returns true for empty array.
- Some more explanation reading on the subject - and reasons for this:
http://en.m.wikipedia.org/wiki/Universal_quantification
http://en.m.wikipedia.org/wiki/Vacuous_truth
It's a basic classic logic definition.
On Aug 3, 2013 5:02... -
05:23 PM Feature #8723: Array.any? predicate returns true for empty array.
- On 2013/08/03 15:40, nurettin (Nurettin Onur TUGCU) wrote:
>
> Issue #8723 has been updated by nurettin (Nurettin Onur TUGCU).
>
>
> I find I need to address all the questions
> However I find the result needs not be defi... -
04:09 PM Feature #8723: Array.any? predicate returns true for empty array.
- Nurettin, what would be a benefit of introducing this exception to a simple rule? You propose to make the truth value undefined where it is well defined. Can you cite some mathematical theory or natural language where it is undefined?
... -
03:40 PM Feature #8723: Array.any? predicate returns true for empty array.
- I find I need to address all the questions
=============
"If enum is empty, there is in fact *none* element which could not satisfy the predicate. " -- Eregon
none element which could not satisfy, you could interpret this as "a... -
02:23 PM Feature #8723: Array.any? predicate returns true for empty array.
- Several explanations for the correctness of how Ruby currently works
have already been given. Here's one more:
For any Enumerable, e.g. [x, y, z], Enumerable#any {|x| predicate(x) }
is essentially the Ruby way of expressing predi... -
06:23 AM Feature #8723: Array.any? predicate returns true for empty array.
- Just for fun...
# true regardless of whether [].all? returns true or false
[].all? { |x| predicate(x) } == [].all? { |x| !predicate(x) }
# true iff enum is empty, but false otherwise
enum.all? { |x| predicate(x) } == enum.... -
05:22 AM Feature #8723: Array.any? predicate returns true for empty array.
- nurettin (Nurettin Onur TUGCU) wrote:
> Yes, I meant for .all? (wasn't able to edit) and the behavior is correct according to docs, and incorrect according to my interpretation of sets. (can a predicate be true when you have empty set?)
... -
12:40 AM Feature #8723 (Rejected): Array.any? predicate returns true for empty array.
- One way to see it is
enum.all? { |e| predicate(e) } == !enum.any? { |e| !predicate(e) }
And it seems logical to have #any? be false when the array is empty, right?
Also,
enum.all? { |e| predicate(e) } == enum.none? { ... -
07:42 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- @Boris, this is what i thought first, but rits demonstrated that lambda is not forgotten. So it looks like some optimization or cheating to me: instead of properly forgetting about the lambda, it hangs around just in case (and can unexp...
-
07:15 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return - @Alexey: It's spec. As soon as you unpack the block with the pretzel, it forgets about its lambda-ness. If you wish to pass lambdas inside the method, you have to do it through the argument list:
~~~ruby
def m1 f
f.call
return ... -
07:30 PM Bug #8348: ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
- I've run test myself for 67 times and none of them finished unsuccessfully.
-
04:58 PM Revision 5a13ad03 (git): * bignum.c (BARY_TRUNC): New macro.
- (bary_cmp): Use BARY_TRUNC.
(bary_mul_toom3): Ditto.
(bary_divmod): Ditto.
(abs2twocomp): Ditto.
(bigfixize): Ditto.
(rb_cstr_to_inum): Ditto.
(big2str_karatsuba): Ditto.
(bigdivrem): Ditto.
git-svn-id: svn+ssh://ci.ruby... -
04:01 PM Revision 092511ba (git): * bignum.c (big2str_karatsuba): Don't allocate new temporary buffer
- if the buffer is enough for current invocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:41 PM Revision b3be3c29 (git): bignum.c: suppress warnings
- * bignum.c (power_cache_get_power): declare as inline before call to
suppress warnings from gcc 4.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:26 PM Revision cb516087 (git): * 2013-08-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:26 PM Revision 606a03dc (git): * bignum.c (bary2bdigitdbl): New function.
- (bdigitdbl2bary): Ditto.
(bary_mul_single): Use bdigitdbl2bary.
(power_cache_get_power): Ditto.
(bary_divmod): Use bary2bdigitdbl.
(big2str_orig): Ditto.
(bigdivrem): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
02:20 PM Revision f12ef626 (git): * bignum.c: The branch condition of selecting multiplication
- algorighms should check smaller argument because Karatsuba and Toom3
is effective only if both arguments are big.
(bary_mul_toom3_branch): Compare the smaller argument to
TOOM3_MUL_DIGITS.
(bary_mul): Compare the smaller argument... -
02:08 PM Revision 5be2e8eb (git): merge revision(s) 40080,40081: [Backport #8209]
- * ext/extmk.rb (extmake): Use Logging.open to switch stdout and
stderr. Delay Logging::log_close until the failure message is
written. Write the failure message only if log file is opened.
* lib/mkmf.rb (Lo... -
01:50 PM Revision 83466682 (git): merge revision(s) 42223: [Backport #8702]
- * lib/mkmf.rb (xsystem): expand environment variable in all macros not
expanded with RbConfig. [Bug #8702]
* test/mkmf/test_framework.rb (create_framework): replace all $@ not
only once.
git-svn-id: svn+ss... -
01:44 PM Revision ab660694 (git): merge revision(s) 41777,41779: [Backport #8593]
- * lib/mkmf.rb (have_framework): allow header file to check.
[ruby-core:55745] [Bug #8593]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:27 PM Revision f858cd8a (git): * bignum.c (big2str_orig): Receive the number to stringize as
- BDIGIT array and size.
(big2str_karatsuba): Receive the number to stringize as BDIGIT array
and size. Use an temporary array of BDIGIT.
(rb_big2str1): Follow the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4... -
01:27 PM Revision a1525108 (git): merge revision(s) 42271: [Backport #8713]
- * lib/uri/common.rb (URI.decode_www_form_component):
Don't raise error when str includes multibyte characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 PM Revision dfe7399a (git): Add missing require
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:47 AM Revision 65fcd2e7 (git): merge revision(s) 42322:
- nmake doesn't out put targets
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:31 AM Feature #8264 (Closed): define struct under the given namespace
- This issue was solved with changeset r42348.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
struct.c: rb_struct_define_under
* struct.c (rb_struct_defi... -
07:57 AM Revision e34fac64 (git): Fix test failure to follow r42347 ref #3753
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:57 AM Feature #3753 (Closed): value of def-expr
- This issue was solved with changeset r42347.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (value_expr_gen): now NODE_DEFN and NODE_DEFS are not ... -
12:04 AM Feature #3753 (Assigned): value of def-expr
- =begin
``define_method()'' と書かれると迷いが生じるんですが、Module#define_method が意図されていたということでいいんでしょうか?
で、あれば、こんなもんかと思うんですが、こちらはまだ入れてません。
Index: proc.c
===================================================================
--- proc.c (リビジョン 4233... -
04:56 AM Feature #8725 (Feedback): Possibility to get a signal handler without changing it
- in Perl
$xxxHandler = $SIG{XXX}
in Ruby it could be
xxxHandler = trap 'XXX'
-
04:40 AM Bug #8724 (Closed): MinGW: ConverterNotFoundError test failure
- =begin
Hello,
The following test is causing a failure on Windows CI environment (MinGW) both x86 and x64:
TestEncodingConverter#test_default_external [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/ruby/test_econv.... -
04:32 AM Revision 36c89c48 (git): * bignum.c (MAX_BASE36_POWER_TABLE_ENTRIES): Renamed from
- MAX_BIG2STR_TABLE_ENTRIES.
(base36_power_cache): Renamed from big2str_power_cache.
(base36_numdigits_cache): Renamed from big2str_numdigits_cache.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42351 b2dd03c8-39d4-4d8f-98ff-823... -
01:33 AM Revision 6660c5fb (git): parse.y: no reduction with 1
- * parse.y (parser_set_integer_literal): use rb_rational_raw1() for
integral rational because no reduction is needed with 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:46 AM Revision 4c009414 (git): etc.c: encodings
- * ext/etc/etc.c (setup_passwd, setup_group): set proper encodings to
string members.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 AM Revision 042e5013 (git): struct.c: rb_struct_define_under
- * struct.c (rb_struct_define_under): new function to define Struct
under the given namespace, not under Struct. [Feature #8264]
* ext/etc/etc.c: use rb_struct_define_under.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42348 b2dd...
08/02/2013
-
11:58 PM Feature #3753 (Closed): value of def-expr
- This issue was solved with changeset r42337.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c (m_core_define_method, m_core_define_singleton_method): n... - 09:57 PM Revision ccd5c3dd (git): * parse.y (value_expr_gen): now NODE_DEFN and NODE_DEFS are not void
- value expressions. get rid of wrong warning with -w, and make to
pass tests with chkbuild. ref. [Feature #3753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:50 PM Revision 2b9dbb3e (git): ChangeLog: fix typo
- * ChangeLog: fix typo in r42335, "Appry" -> "Apply".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:42 PM Feature #8723: Array.any? predicate returns true for empty array.
- Yes, I meant for .all? (wasn't able to edit) and the behavior is correct according to docs, and incorrect according to my interpretation of sets. (can a predicate be true when you have empty set?)
-
09:35 PM Feature #8723 (Feedback): Array.any? predicate returns true for empty array.
- Which version do you use? Please add your `ruby -v`.
irb for ruby 2.0.0 r36395
> [].any? { true }
=> false
I guess you meant for #all?
> ...
=> true
The doc says it well:
"The method returns true if the block never returns... -
08:38 PM Feature #8723 (Rejected): Array.any? predicate returns true for empty array.
- Are all your children redheaded?
Would this be true if you have no children?
I have no children, therefore none of my children are redheaded.
Therefore
[].any?{ true } == true makes no sense.
Expected behavior:
[].any?{ true } == ... -
08:49 PM Bug #8664: open ssl not_before failure on small set of certificates
- Backported to ruby_1_9_3 at r42328.
-
08:40 PM Bug #8669: outbuf can be "temporarily" locked forever in IO#read
- Backported to ruby_1_9_3 at r42327.
-
08:31 PM Bug #8687: mathn and round causes an segmentationfault
- Backported to ruby_1_9_3 at r42326.
-
08:00 PM Feature #8714: Non-interpolated regular expression literal
- phluid61 (Matthew Kerwin) wrote:
> That's only partly true. # only need be escaped when it is followed by $, @ or {. Therein lies the source of a lot of confusion. From what I can see, ruby-doc.org says "Arbitrary Ruby expressions ca... -
08:42 AM Feature #8714: Non-interpolated regular expression literal
- drbrain (Eric Hodel) wrote:
> What ruby version are you using? It works for me.
Ah, sorry, that was ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
After updating to -p247 it works. -
04:44 AM Feature #8714: Non-interpolated regular expression literal
- phluid61 (Matthew Kerwin) wrote:
> > %r{#$} works too.
> ...
What ruby version are you using? It works for me. Without irb (since sometimes you can't trust it):
$ ruby -ve 'p %r{#$} =~ "foo#"'
ruby 2.0.0p247 (2013-06-27 revision 41... -
07:24 PM Revision be5a436f (git): * doc/syntax/refinements.rdoc: Remove mention of instance_eval and
- module_eval from scope section per:
http://twitter.com/shugomaeda/status/363219951336693761
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:49 PM Feature #8663: Officialy alias ArgumentError to ArgError
- boris_stitnicky (Boris Stitnicky) wrote:
> Yes, but one of those characters is 'm'!
Anything in particular that's problematic about 'm'? I have tentatively classified that as a joke, but can switch it back if needed. -
11:26 AM Feature #8663: Officialy alias ArgumentError to ArgError - Yes, but one of those characters is 'm'!
-
05:56 PM Bug #8722 (Closed): Refinements remain active beyond the end of an evaled string - =begin
The [[RefinementsSpec]] states:
"When main.using is invoked in a string given as the first argument of Kernel#eval, Kernel#instance_eval, or Module#module_eval, the end of the scope is the end of the string."
However, in ... -
05:35 PM Bug #8348: ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
- JoeKun, can you retest it with the latest Sid (eglibc >= 2.17-91)? It has new implementation of libpthreads, which has fixed bug with ruby's fork().
-
05:24 PM Revision 04cf3fa3 (git): * bignum.c (big2str_orig): Refactored.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:52 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- boris_stitnicky (Boris Stitnicky) wrote:
> +1 to nobu
Boris, can you explain, please? -
11:28 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return - +1 to nobu
-
06:43 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- I don't know. I could imagine that yielding to the lambda "converted to block" could try to return from the method from which the yielding method was called.
-
06:14 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- alexeymuranov (Alexey Muranov) wrote:
> This looks strange to me too. Also this:
> ...
That a return in a lambda invoked by yield attempts to return from the method enclosing the lambda definition, has already been demonstrated. The `... -
04:47 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- This looks strange to me too. Also this:
~~~ruby
def y; yield end
L = lambda{return 0}
def f; y &lambda{return 0} end
def g; y &L end
f # => 0
g # LocalJumpError: unexpected return
~~~
-
03:58 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- nobu (Nobuyoshi Nakada) wrote:
> `return' always returns from the enclosing method.
That is not true, and so by design, from "The ruby programming language":
> ...
___________
This bug is an exception to this rule, one that doe... -
04:42 PM Revision 81f42c75 (git): * bignum.c (big2str_orig): Rename a local variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:29 PM Bug #8721 (Rejected): require digest.so on OSX
- =begin
trying to compile as much as possible static ruby on OSX, so far I got quite close with:
LDFLAGS=-Bstatic ./configure --prefix=/Users/mpapis/.rvm/rubies/ruby-2.0.0-p247 --sysconfdir=/etc --disable-shared --enable-load-relativ... -
04:22 PM Revision d0741fdf (git): * bignum.c (bigadd_core): Removed.
- (bigadd): Use bary_add instead of bigadd_core.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:59 PM Bug #8719: r42096 make bm_app_factorial.rb slow
- 2013年8月2日 12:30 Tanaka Akira <akr@fsij.org>:
> 2013/8/2 authorNari (Narihiro Nakamura) <authorNari@gmail.com>:
>> Bug #8719: r42096 make bm_app_factorial.rb slow
>> https://bugs.ruby-lang.org/issues/8719#change-40811
>
>> r420... -
12:53 PM Bug #8719: r42096 make bm_app_factorial.rb slow
- 2013/8/2 authorNari (Narihiro Nakamura) <authorNari@gmail.com>:
> Bug #8719: r42096 make bm_app_factorial.rb slow
> https://bugs.ruby-lang.org/issues/8719#change-40811
> r42096 のコミットでbm_app_factorial.rbがかなり遅くなるようです。
> しょうがないと... -
12:28 PM Bug #8719 (Closed): r42096 make bm_app_factorial.rb slow
- This issue was solved with changeset r42324.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bignum.c (bary_mul): Swap x and y for bary_mul1 if x is lon... -
10:16 AM Bug #8719 (Closed): r42096 make bm_app_factorial.rb slow
- r42096 のコミットでbm_app_factorial.rbがかなり遅くなるようです。
しょうがないということでしたらrejectしてください。
とりあえずご報告までということで。
% time ./miniruby -v benchmark/bm_app_factorial.rb
ruby 2.1.0dev (2013-07-21 trunk 42095) [x86_64-linux]
./miniruby -v benchmark/bm_app_f... -
03:55 PM Revision ebbaec96 (git): * bignum.c (rb_big2str1): Simplify power_level calculation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:36 PM Revision 633fd55c (git): * array.c (rb_ary_zip): use rb_ary_new2() to create buffer
- if rb_block_arity() > 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:13 PM Revision f5c00c14 (git): * 2013-08-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:13 PM Revision 038596b6 (git): * NEWS: Add the description that IO#seek supports SEEK_DATA
- and SEEK_HOLE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:58 PM Revision 0f0b60ea (git): * vm.c (m_core_define_method, m_core_define_singleton_method): now
- the value of def-expr is the Symbol of the name of the method, not
nil.
ref. [ruby-dev:42151] [Feature #3753]
* test/ruby/test_syntax.rb (TestSyntax#test_value_of_def): test for
above changes.
git-svn-id: svn+ssh://ci.ruby-lang.... -
02:56 PM Revision 5339293f (git): * array.c (rb_ary_zip): performance improvement by avoiding
- array creation if rb_block_arity() > 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 PM Revision 54c3b1ba (git): * bignum.c (power_cache_get_power): Appry bigtrunc to the result of
- bigsq.
(big2str_karatsuba): Fix number of leading zero characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 PM Revision 7c9a3d19 (git): parse.y: calculate powers of ten
- * parse.y (parser_yylex): calculate denominator directly as powers of
ten, not parsing string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:24 PM Revision 0eab2b46 (git): parse.y: ripper for new literals
- * parse.y (ripper_validate_object): ripper support for new literals,
tRATIONAL and tIMAGINARY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 PM Revision 2f57e806 (git): parse.y: parse precisely
- * parse.y (parser_number_literal_suffix): return bit set of found
suffixes.
* parse.y (parser_set_number_literal, parser_set_integer_literal):
split from parser_number_literal_suffix to set yyvlal.
* parse.y (parser_yylex): parse rat... -
02:14 PM Revision e176b8e1 (git): parse.y: simplify numerics
- * parse.y (simple_numeric): integrate numeric literals and simplify
numeric rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:13 PM Revision 856a9afb (git): eventids2.c: new literals
- * ext/ripper/eventids2.c (ripper_init_eventids2): ripper support for
new literals, tRATIONAL and tIMAGINARY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:10 PM Revision ba95b978 (git): bignum.c: suppress a warning
- * bignum.c (rb_cstr_to_inum): remove set but unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 PM Bug #8720 (Closed): ECB mode seems to be broken
- The reporting on this is partially from someone else's work that I found in a gist on github:
https://gist.github.com/tarcieri/5550786
But there appears to be some sort of issue with ECB mode. It works correctly in JRuby, which I ass... - 11:49 AM Revision e1e4ed4a (git): merge revision(s) 42126: [Backport #8664]
- * ext/openssl/ossl_asn1.c (asn1time_to_time): Implement YYMMDDhhmmZ
format for ASN.1 UTCTime. [ruby-trunk - Bug #8664]
* test/openssl/test_asn1.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/b... - 11:39 AM Revision c44ba832 (git): merge revision(s) 42212,42214: [Backport #8669]
- * string.c: add internal API rb_str_locktmp_ensure().
* io.c (io_fread): use rb_str_locktmp_ensure().
[ruby-core:56121] [Bug #8669]
* test/ruby/test_io.rb: add a test for above.
* io.c (io_getpartial)... - 11:30 AM Revision b13edd51 (git): merge revision(s) 42178: [Backport #8687]
- * rational.c (f_round_common): Rational is expected to be returned by
Rational#*, but mathn.rb breaks that assumption. [ruby-core:56177]
[Bug #8687]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@4... -
10:49 AM Bug #8718 (Closed): unary minus with literal suffix of Rational/Complex - Duplicate of #8717, fixed in r42323.
-
10:12 AM Bug #8718 (Closed): unary minus with literal suffix of Rational/Complex
- =begin
Unary minus is not supported?
(-1) # => -1
(-1r) # => (1/1) should be (-1/1)
(-1i) # => (0+1i) shoule be (0-1i)
=end
-
10:40 AM Bug #8717 (Closed): Negation of a rational/imaginary number literal isn't working - This issue was solved with changeset r42323.
Takuto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (negate_lit): add T_RATIONAL and T_COMPLEX to the swi... -
10:03 AM Bug #8717 (Closed): Negation of a rational/imaginary number literal isn't working
- Hello.
I've found that negation of a rational/imaginary number literal isn't working.
irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 2.1.0dev (2013-08-02 trunk 42320) [x86_64-linux]"
irb(main):002:0> -3r
=> (3/1)
... -
10:24 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
- When talking about accepting it ... two things to consider as patch has two parts, really:
Part 1 - Adding support for lutimes on *nix/POSIX operating systems[*];
Part 2 - Changing FileUtils accordingly to accommodate for File getting n... -
09:36 AM Revision bc7c0a63 (git): * bignum.c (big2str_karatsuba): Reduce power_level more than one at
- recursion, if possible.
(rb_big2str1): Follow the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:14 AM Bug #8715: openssl mkmf.log filled with other data
- yes it did fixed the log problem - please backport it
-
04:46 AM Bug #8651: /[#$]/ causes syntax error
- Yes, I meant $], it was a typo.
-
03:28 AM Revision 9e8f82e0 (git): * bignum.c (bary_mul): Swap x and y for bary_mul1 if x is longer than y.
- [ruby-dev:47565] [Bug #8719] Reported by Narihiro Nakamura.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:59 AM Feature #8430: Rational number literal
- On Aug 1, 2013, at 12:53 AM, takuto_h (Takuto Hayashi) wrote:
> If we accept "1.2r" as "Rational(12, 10)":
> 1/3r #=> (1/3)
> 0.4/1.2r #=> 0.33333333333333337
>
> I think this feature's point is that "1/3r" can be se... -
12:19 AM Feature #8430: Rational number literal
- takuto_h (Takuto Hayashi) wrote:
> Hello.
> ...
Thank you. But I'd already have a patch made by me on the last Sunday.
Although I've commited the changes based on my patch,
I really appreciate your contribution for this issue.
- 01:40 AM Revision 29c5a3b8 (git): * parse.y (negate_lit): add T_RATIONAL and T_COMPLEX to the switch
- statement, and call rb_bug() if an unknown type is passed to
negate_lit(). [ruby-core:56316] [Bug #8717]
* bootstraptest/test_literal_suffix.rb (assert_equal): add test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42323 b2dd03c8... -
01:15 AM Revision 3f109150 (git): nmake doesn't out put targets
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:15 AM Revision 63ed8371 (git): Fix test failure on Windows because of an extra warning
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:14 AM Revision c0d4ba9f (git): * doc/syntax/refinements.rdoc: Improve description of where you may
- activate refinements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/01/2013
-
11:58 PM Feature #8430 (Closed): Rational number literal
- This issue was solved with changeset r42311.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* rational.c (rb_flt_rationalize_with_prec): new public C functi... -
10:05 PM Feature #8430: Rational number literal
- takuto_h (Takuto Hayashi) wrote:
> Hello.
> ...
Great.
> and recognized that a part of the proposed feature is confusable.
> ...
IMO, it does not matter because we don't usually write a rational whose numerator and denominator are ... -
04:53 PM Feature #8430: Rational number literal
- Hello.
I wrote a patch for the rational number literal and recognized that a part of the proposed feature is confusable.
If we accept "1.2r" as "Rational(12, 10)":
1/3r #=> (1/3)
0.4/1.2r #=> 0.33333333333333337
I ... -
10:52 PM Bug #8644: valgrind error in a readline test
- http://rbci.lakewood.privs.net/ruby-trunk/log/20130801T131001Z.diff.html.gz をみると、
...
TestRange#test_bsearch_for_other_numerics = <elapsed> s = .
TestRange#test_bsearch_typechecks_return_values = <elapsed> s = .
+TestRange#test_b... -
10:49 PM Revision 474dc1e8 (git): * bignum.c (big2str_orig): Remove len argument.
- (big2str_karatsuba): Ditto.
(rb_big2str1): Follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:57 PM Bug #8716 (Closed): segmation fault 正規表現で大量のグループを利用時
- =begin
WindowsとOS Xで検証しました。
*再現手順 ruby 2.0.0p247 (2013-06-27) [x64-mingw32]
a="()"
(32767.times{a<<'()'}
eval "/#{a}/=~''"
*再現手順 ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.1]
a="()"
(1<<21).times{a<... -
09:10 PM Feature #8658: Process.clock_gettime
- I updated the patch to emulate CLOCK_REALTIME using gettimeofday.
-
08:47 PM Feature #8700: Integer#bitsize (actually Fixnum#bitsize and Bignum#bitsize)
- akr (Akira Tanaka) wrote:
> There are several software which has similar feature.
> ...
I look out more.
* Go has BitLen.
http://golang.org/pkg/math/big/#Int.BitLen
* OpenSSL has BN_num_bits.
http://www.openssl.org/docs/c... -
08:46 PM Revision 1e3a2908 (git): * NEWS: fix typos in the description of number literal suffixes.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:18 PM Bug #8711: 最近NoMemoryErrorが多い
- http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20130801T103302Z.log.html.gz
で 32bit でも安定したような気がします。
もうしばらく様子を見ます。
より多くのアドレス空間を必要とするようになった事自体は仕様って理解でいいんですよね>ささださん -
06:08 PM Bug #8711: 最近NoMemoryErrorが多い
- http://u64b.rubyci.org/~chkbuild/ruby-trunk/log/20130731T113303Z.diff.html.gz
/proc/meminfo みても特にメモリが足りなくなっているようには見えないので悩んでいたところ、
卜部さんに setrlimit と ASLR のコンボでアドレス空間が無くなっているのではないかとの示唆を受け、
LIMIT_AS を増やしてみたところ、64bit 環境では再現しなくなりました。
32... - 05:33 PM Revision 991bd133 (git): * NEWS: Add the description of number literal suffixes.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:23 PM Bug #8715: openssl mkmf.log filled with other data
- 2013/8/1 mpapis (Michal Papis) <mpapis@gmail.com>:
> Bug #8715: openssl mkmf.log filled with other data
> https://bugs.ruby-lang.org/issues/8715
> After compilation + installation of ruby I check the log: (({cat /Users/mpapis/.... -
04:33 PM Bug #8715: openssl mkmf.log filled with other data
- =begin
After applying http://www.rubyist.net/~eban/goto/r42213 from https://bugs.ruby-lang.org/issues/7948
The error changes to: (({cat /Users/mpapis/.rvm/src/ruby-2.0.0-p247/ext/openssl//mkmf.log}))
Ignore OpenSSL broken by Appl... -
04:21 PM Bug #8715 (Closed): openssl mkmf.log filled with other data
- =begin
After compilation + installation of ruby I check the log: (({cat /Users/mpapis/.rvm/src/ruby-2.0.0-p247/ext/openssl/mkmf.log}))
Failed to configure openssl. It will not be installed.
Failed to configure -test-/win32/dln. It w... -
05:11 PM Revision 6f39ca46 (git): Show more portable and detailed info on NoMemoryError ref #8711
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:41 PM Bug #8710: Segmentation fault - when migrating a database on Debian 7.1
- Not sure if you guys want to close this issue or if it's something worth looking into.
But removing the line
host: localhost
from the rails database.yml file solved the problem
production:
adapter: postgresql
encoding: utf8
da... - 03:14 PM Revision ae0181b7 (git): * bootstraptest/test_literal_suffix.rb: add two test cases to
- examine that "1if true" and "1rescue nil" are recognized as 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:04 PM Revision da5e7572 (git): Show memory usage on NoMemoryError ref #8711
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:01 PM Revision 885c7da9 (git): * 2013-08-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision 0a8cfd54 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:58 PM Revision e06407cf (git): * rational.c (rb_flt_rationalize_with_prec): new public C function
- to rationalize a Float instance with a precision.
* rational.c (rb_flt_rationalize): new public C function to
rationalize a Float instance. A precision is calculated from
the given float number.
* include/ruby/intern.h: Add rb_flt_r... -
02:57 PM Revision 9ebd675c (git): * bignum.c (rb_big2str1): Remove a local variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:34 PM Revision 69263bb7 (git): * bignum.c (rb_cstr_to_inum): Use power_cache_get_power.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:32 PM Revision 79be1047 (git): * string.c (str_rindex): remove comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:05 PM Revision d620b0b9 (git): * bignum.c (rb_big2str1): Raise an error for too big number.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:48 AM Revision 780a125f (git): * bignum.c (power_cache_get_power): Hide cached Bignum objects.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:39 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
- `return` always returns from the enclosing method.
This is not affected by if it is in a block.
Only exception is the case nowhere to return from the block as the method already has exited, but your code is not in such case.
-
10:46 AM Bug #8651: /[#$]/ causes syntax error
- =begin
Bah,
To people curious about why this does not cause error in 2.0, see #8375.
=end
-
10:42 AM Bug #8651: /[#$]/ causes syntax error
- =begin
To people curious about why this does not cause error in 2.0, see #8651.
=end
-
08:54 AM Bug #8651: /[#$]/ causes syntax error
drbrain (Eric Hodel) wrote:
$[ is not a valid global variable you get an exception.
do you mean $], not $[ ?
-
07:13 AM Bug #8651 (Rejected): /[#$]/ causes syntax error
- =begin
This is consistent with (({"[#$]"})) in 1.9.3 so I will reject this issue.
In // and "" (({#$X})) interpolates global variable (({$X})). As (({$[})) is not a valid global variable you get an exception.
=end -
10:36 AM Feature #8714: Non-interpolated regular expression literal
- nobu (Nobuyoshi Nakada) wrote:
> For other %-literals, upper cases do interpolation, e.g., %Q, %W, %I.
> ...
It is unfortunate that %r and %x buck the trend. I would suggest a different letter, such as %P, but I think that might be ju... -
10:24 AM Feature #8714: Non-interpolated regular expression literal
- For other %-literals, upper cases do interpolation, e.g., %Q, %W, %I.
I'm afraid that it would cause confusion by making %R exceptional. -
09:24 AM Feature #8714: Non-interpolated regular expression literal
- Eregon (Benoit Daloze) wrote:
> > Off the top of my head, I can't think of how to construct a regexp literal to match a hash character at the end of the string (i.e. /#$/), without first constructing a string.
> ...
Of course!
> %r{... -
09:00 AM Feature #8714: Non-interpolated regular expression literal
- > Off the top of my head, I can't think of how to construct a regexp literal to match a hash character at the end of the string (i.e. /#$/), without first constructing a string.
Well you can escape the "#": /\#$/ =~ "#" # => 0.
%r{#$} w... -
08:37 AM Feature #8714: Non-interpolated regular expression literal
- Eregon (Benoit Daloze) wrote:
> Why not Regexp.new('simple quoted string or any literal not interpolating')?
That would have to be Regexp.new(%q/.../) to avoid having to escape single quotes and double-escape backslashes in the strin... -
08:21 AM Feature #8714: Non-interpolated regular expression literal
- Why not Regexp.new('simple quoted string or any literal not interpolating')?
Also,
/[$#]/ # => /[$#]/ and
"[#$]" => "[\#$]" are fine on 2.0 and later.
(Although "[#$]".inspect should probably not escape '#' but it is harmless) -
08:07 AM Feature #8714 (Open): Non-interpolated regular expression literal
- =begin
I propose a new %string for non-interpolated regexp literals: %R
It is common to see erroneous bug reports around the use of ((%#%)) in regexp literals, for example where (({/[$#]/})) raises a syntax error "unexpected $undef... -
10:19 AM Revision 0ade4f39 (git): * bignum.c (rb_big2str1): Remove non-trim mode.
- (rb_big2str0): Non-trim mode implemented here.
(big2str_find_n1): Change the result type to long again.
(big2str_base_powerof2): Don't take arguments: len and trim.
(rb_big2str): Follow above change.
git-svn-id: svn+ssh://ci.rub... -
09:33 AM Feature #8536: Implement is_numeric? family of methods
- There is no "is_"+adjective+"?" built-in methods.
And check-then-convert seems redundant. -
08:29 AM Feature #8536: Implement is_numeric? family of methods
- =begin
I am +1, if you change (({is_rationale?})) to (({is_rational?}))
Implementation question: is it reasonable to refactor rb_cstr_to_inum (etc.) to conditionally not perform the Integer object allocation?
=end
-
04:06 AM Bug #8712 (Closed): Couldn't find file to include 'sample/curses/*.rb'
- This issue was solved with changeset r42300.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
options.rb: include root for out-place build
* lib/rdoc/opti... -
03:46 AM Revision 9037b25d (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:43 AM Revision 93055423 (git): * bignum.c (big2str_alloc): New function to allocate the result string.
- It is called after actual length is calculated.
(big2str_struct): Add fields: negative, result and ptr.
(big2str_orig): Write out the result via b2s->ptr.
(big2str_orig): Ditto.
(rb_big2str1): Don't allocate the result string at ...
07/31/2013
-
11:17 PM Bug #8712 (Closed): Couldn't find file to include 'sample/curses/*.rb'
- =begin
When builddir is not srcdir, failed to include from curses.c.
Generating RDoc documentation
Parsing sources...
Couldn't find file to include 'sample/curses/hello.rb' from .../ruby/ext/curses/curses.c
Couldn't find file ... -
10:38 PM Revision 478bd312 (git): * bignum.c (big2str_orig): Use temporary buffer when trim mode.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:33 PM Revision 39a00c67 (git): * bignum.c (big2str_orig): Simplified because RBIGNUM_LEN(x) <= 2 now.
- (big2str_struct): Two fields added: hbase2, hbase2_numdigits.
(rb_big2str1): Initialize above fields.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:06 PM Revision 835c555f (git): options.rb: include root for out-place build
- * lib/rdoc/options.rb (RDoc#finish): include root path in include
paths, to work in another directory than the source directory.
[ruby-core:56282] [Bug #8712]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42300 b2dd03c8-39d4-4d8... -
07:05 PM Revision 3d562b68 (git): test_rdoc_markup_pre_process.rb: input tempfile
- * test/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#setup):
fix input_file_name, as the test script is not pre-processed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:29 PM Feature #8632 (Closed): Remove warnings for Refinements
- This issue was solved with changeset r42272.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (rb_mod_refine, mod_using, top_using): don't show
war... -
04:48 PM Revision eed6c15a (git): * bignum.c (big2str_karatsuba): Fix a condition of power_level.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:34 PM Revision b4dd68ff (git): Fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:23 PM Feature #8707: Hash#reverse_each
- Hello Charlie,
On 2013/07/31 14:24, Charlie Somerville wrote:
> Matz: This is quite a significant performance improvement and therefore I think it is worthwhile.
Only if the new method is actually used in practice.
That's why Matz is a... -
02:29 PM Feature #8707: Hash#reverse_each - Matz: This is quite a significant performance improvement and therefore I think it is worthwhile.
-
12:48 PM Feature #8707 (Feedback): Hash#reverse_each
- Do we really need it? What is use-cases?
Matz.
-
04:21 PM Revision 278b494b (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:20 PM Revision 4f1b07e9 (git): * bignum.c (LOG2_KARATSUBA_BIG2STR_DIGITS): Removed.
- (KARATSUBA_BIG2STR_DIGITS): Removed.
(big2str_numdigits_cache): New variable.
(power_cache_get_power): Merged with power_cache_get_power0.
This function returns maxpow_in_bdigit_dbl(base)**(2**power_level).
(rb_big2str1): use pow... -
04:06 PM Bug #8711 (Closed): 最近NoMemoryErrorが多い
- 最近 rubyci で NoMemoryError を出して失敗することが多いので、それを追跡するスレ
= TestFiber#test_many_fibers
http://u64b.rubyci.org/~chkbuild/ruby-trunk/log/20130730T233301Z.diff.html.gz
http://rbci.lakewood.privs.net/ruby-trunk/log/20130731T001002Z.diff.html.... -
03:13 PM Feature #6589 (Feedback): Set#rehash
- I added some notes to the rdoc in r42265.
-
03:01 PM Revision d28913b4 (git): * bignum.c (big2str_find_n1): Change the return type to size_t.
- (big2str_orig): Ditto.
(big2str_karatsuba): Ditto.
(rb_big2str1): Follow the above changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:01 PM Revision 482a21e7 (git): * 2013-08-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision b0d4ffda (git): revert r42255 ref #8711
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:52 PM Bug #8710: Segmentation fault - when migrating a database on Debian 7.1
- I just cloned my rails app onto my Debian 7.1 server and while migrating the database, Ruby reported a Segmentation fault and mentioned that bug reports are welcome.
Here is a gist with the system and ruby info as well as the output fro... -
02:51 PM Bug #8710 (Closed): Segmentation fault - when migrating a database on Debian 7.1
- I just cloned my rails app onto my Debian 7.1 server and while migrating the database ruby reported
-
02:21 PM Revision 9e84b335 (git): * bignum.c (power_cache_get_power): Change numdigits_ret to size_t *.
- (big2str_orig): Change len argument to size_t.
(big2str_karatsuba): Ditto.
(rb_big2str1): Follow the above changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:00 PM Revision 5f8cba07 (git): * test/rexml/parse/test_notation_declaration.rb: Change class
- name to follow file name change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:58 PM Revision 6668c32a (git): * test/rexml/test_notationdecl_parsetest.rb: Rename to ...
- * test/rexml/parse/test_notation_declaration.rb: ... this.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:55 PM Revision 6b4a6fcb (git): * test/rexml/test_notationdecl_mixin.rb: Remove duplicated tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:53 PM Revision 0c1139ea (git): * test/rexml/test_notationdecl_parsetest.rb: Fix typos in expected
- value.
pubilc ->
public
^^
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:52 PM Revision 7f6c69b1 (git): * test/rexml/test_notationdecl_parsetest.rb: Add tests that focus
- system literal in external ID system notation declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:42 PM Revision 621d2b3d (git): * bignum.c (bary_cmp): Extracted from rb_big_cmp.
- (power_cache_get_power): Change n1 argument (number of digits) to
power_level which is just passed to power_cache_get_power0.
(big2str_karatsuba): Ditto.
(rb_big2str1): Calculate the initial power_level.
git-svn-id: svn+ssh://ci... - 01:05 PM Revision 806dd30f (git): * test/rexml/test_notationdecl_parsetest.rb: Fix a typo.
- Extern ID ->
ExternalID
^^
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:04 PM Revision a41ab7b3 (git): * test/rexml/test_notationdecl_parsetest.rb: Add tests that focus
- public ID in external ID notation declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:01 PM Revision 434826c0 (git): * parse.y: fix build error with bison-3.0.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:59 PM Revision 43f944dc (git): * test/rexml/test_notationdecl_parsetest.rb: Split test patterns.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:44 PM Revision 3e047699 (git): * test/rexml/test_notationdecl_parsetest.rb: Group tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:38 PM Revision 1251f51e (git): * test/rexml/test_notationdecl_mixin.rb (TestNotationDecl#test_name):
- Move to ...
* test/rexml/test_notationdecl_parsetest.rb
(TestNotationDecl#test_name): ... here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:32 PM Revision 5a5ede73 (git): * test/rexml/test_notationdecl_parsetest.rb: Remove setup because it
- doesn't share anything with other tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:25 PM Revision a9c4b0f4 (git): * test/rexml/test_attributes_mixin.rb: Remove a needless shebang.
- * test/rexml/test_notationdecl_mixin.rb: ditto.
* test/rexml/test_doctype.rb: ditto.
* test/rexml/test_xml_declaration.rb: ditto.
* test/rexml/test_changing_encoding.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42277 b2... - 12:20 PM Revision c1ada18d (git): * test/rexml/test_notationdecl_parsetest.rb: remove a needless shebang.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:18 AM Revision 0e2d0bb9 (git): * string.c (rb_str_rindex): fix bug introduced in r42269.
- "".rindex("") should return 0.
(str_rindex): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:58 AM Revision aba8c29a (git): * bignum.c (MAX_BIG2STR_TABLE_ENTRIES): Use SIZEOF_SIZE_T.
- (power_cache_get_power0): Add rb_bug call for too bit i argument.
(power_cache_get_power): Simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:34 AM Revision 601f7838 (git): * lib/uri/common.rb (URI.decode_www_form_component): Use String#b.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:33 AM Feature #8696: Process.setproctitle
- Class#nameとかぶるProcess.nameは芳しくないと思います。
Process.setproctitle()の別名ならProcess.title{,=}じゃないでしょうか。 -
02:35 AM Feature #8696: Process.setproctitle
- なお、「プロセスの名前」としては*BSDの getprogname(3)/setprogname(3) も浮かびますが、これはerr(3)によるエラー表示などで使われるものですが、その初期値は File.basename($0) なので$0の別名としては使えなさそうです。
-
02:27 AM Feature #8696: Process.setproctitle
- getproctitle() というAPIはないので、 Process.setproctitle() でいいんじゃないかと思います。
$0はベタに Process.argv0 でどうでしょう。argv0という名前はTclに先例があります。
$0=でsetproctitle()が呼ばれるのはPerlから引き継いだ仕様だと思いますが、argv[0]を初期値とする$0のsetterがsetproctitle()であるというのは実は対称性がありません。(setproct... -
12:41 AM Feature #8696: Process.setproctitle
- znz (Kazuhiro NISHIYAMA) wrote:
> 元々 DevelopersMeeting20130727Japan の時の雑談で出た話で、その時も
> ...
Thread#name はそりゃそういう名前になるよねって感じなのですが、
Process.name は Process クラスの name になるのがだいぶ違和感あるんですよね。 -
09:29 AM Revision 1c7f9073 (git): * eval.c (rb_mod_refine, mod_using, top_using): don't show
- warnings because Refinements are no longer experimental.
[ruby-core:55993] [Feature #8632]
* test/ruby/test_refinement.rb: related test.
* NEWS: fixes for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42272 b2d... -
09:00 AM Revision b30a1723 (git): * lib/uri/common.rb (URI.decode_www_form_component):
- Don't raise error when str includes multibyte characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:59 AM Revision 37c05ec3 (git): show errno on FiberError ref #8711
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:47 AM Revision 867876ab (git): * string.c (rb_str_rindex): performance improvement by using
- memrchr(3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:53 AM Revision 8b126d59 (git): * string.c (rb_str_rindex): refactoring and avoid to call str_nth() if
- pos == 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:07 AM Revision fc3b9361 (git): Show /proc/meminfo on NoMemoryError ref #8711
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:02 AM Revision 444cd6f7 (git): Add a reference to the related issue.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:58 AM Revision a5c8e086 (git): * lib/set.rb: [DOC] Add a couple of notes on Hash as storage.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:58 AM Revision b426f8eb (git): * lib/set.rb: [DOC] Fix example result. Hash is now ordered.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:58 AM Revision d950ffe5 (git): Use the term "sorted" instead "ordered" when mentioning SortSet.
- * lib/set.rb: [DOC] Use the term "sorted" instead "ordered" when
mentioning SortSet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:20 AM Revision 61898591 (git): * bignum.c (big2str_struct): New structure.
- (big2str_orig): Use big2str_struct.
(big2str_karatsuba): Ditto.
(rb_big2str1): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:06 AM Revision 7e465336 (git): add github url to changelog for r42260
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:03 AM Revision 464cf793 (git): * lib/rubygems.rb: [DOC] typo in url patch by @Red54 [Fixes #369]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:49 AM Feature #8709 (Rejected): Dir.glob should return sorted file list - `Dir.glob` is documented to return filenames in filesystem order:
> Note that case sensitivity depends on your system, *as does the order in which the results are returned.*
-
01:24 AM Feature #8709 (Closed): Dir.glob should return sorted file list
- On OS X, Dir.glob and Dir[] return an ordered list of files.
On Ubuntu Linux, they do not and one must manually sort them.
Returning a list of files that isn't in order fails the Principle of Least Astonishment.
I attach a unit ... -
12:32 AM Bug #8680: ruby crashes when built with AddressSanitizer
- If we are 100% sure that the GC is fine, then the following patch can be applied to make CRuby ASAN friendly.
diff --git a/gc.c b/gc.c
index caaf00c..de7815b 100644
--- a/gc.c
+++ b/gc.c
@@ -31,6 +31,12 @@
#include <sys/types.h>...