Activity
From 10/04/2011 to 10/10/2011
10/10/2011
-
11:50 PM Revision 48cbe202 (git): * array.c (rb_ary_initialize): Improve explanation of Array.new
- parameters. Patch by Alvaro Pereyra Rabanal. [Ruby 1.9 - Bug #5425]
* array.c (rb_ary_s_try_convert): Fix typo (try => tries)
* array.c (rb_ary_rindex): Add spacing for block.
* array.c (rb_ary_uniq_bang): Describe block
* array.c (... -
11:14 PM Revision 84405113 (git): merge revision(s) r33265:
- * lib/pstore.rb, test/test_pstore.rb: suppress warnings with -v.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:55 PM Revision 06e3f349 (git): * array.c: Add a description to Array, minor cleanups. Patch by
- Andrea Singh. [Ruby 1.9 - Bug #5412]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 PM Revision 627c179a (git): * lib/pp.rb: Move PP documentation to top of class PP. Patch by
- Sylvain Daubert. [Ruby 1.9 - Bug #5430]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:06 PM Revision ccec5b49 (git): * ext/coverage/coverage.c (Init_coverage): Change list format and
- describe Coverage.result output. Patch by Sylvain Daubert.
[Ruby 1.9 - Bug #5428]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:54 PM Revision 55b3a88b (git): * 2011-10-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:54 PM Revision ee8fd5f1 (git): * object.c (Init_Object): Add reference to BasicObject, brief
- explanation of constant lookup. Based on patch by Alvaro Pereyra
Rabanal.
[Ruby 1.9 - Bug #5426]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:13 PM Bug #5401: Ruby 1.9.3 interpreter crash
- I cannot reproduce this issue because therubyracer isn't able to install on my environment, Mac OS X 10.7 with Xcode 4.1.
Would you please make the smallest reproduction code. -
05:23 AM Feature #5427: Not complex patch to improve `require` time (load.c)
- It's too late for 1.9.3.
Its feature is frozen on July 10.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/37865 -
04:53 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- > == Linux
> extern int ioctl (int __fd, unsigned long int __request, ...) __THROW;
> manpageは以下の通りだが、実際のヘッダは異なる。
> int ioctl(int d, int request, ...);
> https://www.kernel.org/doc/man-pages/online/pages/man2/ioctl.2.html
>
... -
01:52 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- ざっと調べてみましたが、
== POSIX
int ioctl(int fildes, int request, ... /* arg */);
http://pubs.opengroup.org/onlinepubs/9699919799/functions/ioctl.html
== AIX
int ioctl (fd, request, .../*arg*/)
int fd;
int request;
int .../*arg*/;
... -
12:39 AM Bug #5429 (Closed): 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- 64ビットなFreeBSD 8において、ioctl(2)のプロトタイプ宣言は以下のように
なっていて、
int
ioctl(int d, unsigned long request, ...);
ビット31(32ビットであればMSB)が1なリクエストでも、上位ビットがゼロ拡張
された64ビット値を期待しています。
それに対しrubyのtrunkではIO#ioctlの引数の値の範囲は符号付き32ビットに
なっていて、最終的にio.cのnogvl_... -
03:25 AM Bug #5425: Improves Array's uniq/uniq! example
- Thanks Benoit. I've fixed that typo and used the same explanation for both uniq and uniq!. Also made some other changes to other sections on the Array.
-
02:06 AM Bug #5412: Array documentation
- Hi Eric,
I made the adjustments you requested. I added the * for blank lines and linked the references to other methods where possible. In some instances, like for Array#<< or Array#[] adding the hash mark didn't create the link. Not ... -
01:37 AM Bug #5430 (Closed): [PATCH] Update documentation for PP
- Move documentation block in front of class definition.
10/09/2011
-
10:42 PM Bug #5428 (Closed): [PATCH] Update documentation for Coverage
- Format numbered list in Usage paragraph. Add a little explanation about array content from return hash.
-
09:32 PM Bug #5425: Improves Array's uniq/uniq! example
- There is a typo in the example for uniq:
b.uniq!{ ...
Also, the added description how to pass a block should be the same in uniq and uniq! (I prefer the one of uniq!).
Thanks for documenting in sentences this behavior. -
08:04 AM Bug #5425 (Closed): Improves Array's uniq/uniq! example
- Updates examples on uniq and uniq! with a more cleaner case. Changes wording to refer a block is possible.
-
05:51 PM Feature #5427: Not complex patch to improve `require` time (load.c)
- Is there any chance for it or something like it to be included in 1.9.3 release?
-
05:49 PM Feature #5427 (Closed): Not complex patch to improve `require` time (load.c)
- Currently `loaded_features` are unsorted, so that `rb_feature_p` ought to iterate over all `loaded_features` to figure: is requested feature loaded?
After this patch `loaded_features` is kept sorted by basename without extension (/usr... - 03:10 PM Revision ea627f36 (git): * 2011-10-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision b8419bf8 (git): Skip test_array_literal. [Backport #5369]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:19 PM Revision 855c6b45 (git): merges r33398 from trunk into ruby_1_9_3.
- --
* lib/time.rb (Time.strptime): use Time.at if d[:seconds] is set.
Reported by Christopher Eberz. [ruby-core:39903] Bug #5399
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:19 PM Revision 341d9e58 (git): * 2011-10-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:18 PM Revision b3da86e8 (git): merges r33379 and r33395 from trunk into ruby_1_9_3.
- --
* gc.c (rb_gc_set_params): output GC parameter change messages only
if -w/-v options are specified. these messages are output to stderr,
not to stdout. [ruby-core:39795] [Bug #5380]
* test/ruby/test_gc.rb (test_gc_parameter): add... -
01:17 PM Revision b9762ef2 (git): merges 33352 from trunk into ruby_1_9_3.
- --
* configure.in (pthread_np.h): needs pthread.h to be included
previously on OpenBSD. a patch by George Koehler <xkernigh AT
netscape.net> at [ruby-core:39752]. [Bug #5376]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ru... -
01:15 PM Revision 587016b4 (git): merges r33264 from trunk into ruby_1_9_3.
- --
* lib/pstore.rb (PStore): always open in binary mode even if
default encodings are set. [Bug #5311] [ruby-core:39503]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:49 AM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- I've merged nobu's changes, and they're at rubyforge ( http://rubyforge.org/frs/?group_id=8883 )
I'm getting a segmentation fault running the "where" command in ruby-debug19. I've traced it to this ruby code:
id = context_frame_method(... -
10:46 AM Feature #5421: -r option useless
- Eric Hodel wrote:
> You should file a new feature request like "RUBYOPT should be parsed before ARGV so require may be overridden".
-T option should prohibit RUBYOPT, so the request should like:
"libraries given by -r options in RUB... -
03:59 AM Feature #5421: -r option useless
- This is the first time you have mentioned that you are using a custom load manager.
As I've shown above with your req.rb example, a custom loader works fine with -r. It is not a special case for RubyGems. It is a problem of when you... -
08:09 AM Bug #5426 (Closed): Adds reference to BasicObject on Object
- Currently Object doesn't references BasicObject. Patch adds a couple of small changes to it. Also adds some small updates to Class.
- 02:18 AM Revision 91e013c7 (git): * 2011-10-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:18 AM Revision a30fd3b6 (git): * test/psych/test_yamldbm.rb: don't run test if the system
- don't support yaml/dbm.
* test/syck/test_yamldbm.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/08/2011
-
05:24 PM Feature #4666: set ruby compatibility version to 1.9.3 in trunk
- I this that this bug should be closed.
Either the ABI changed between 1.9.2 and 1.9.3, or it did not.
If it changed, then we are required to bump the SONAME, and that means upgrading the ruby compatibility level to 1.9.3.
If it ... -
04:55 PM Feature #5421: -r option useless
- Shall I try again to explain what should be obvious? I use a custom load manager for development. It works well and I have used it for years. However there are issues with special cases. autoload is one. -r is another. b/c of this my loa...
-
03:16 PM Feature #5421: -r option useless
- =begin
req.rb doesn't seem to match your description:
$ ruby -rmyplugin script.rb
It tells me "no such file" for myplugin.
Where is myplugin.rb? If it is in a gem this should work fine as I've shown above. If it's in th... -
09:33 AM Feature #5421: -r option useless
- How was this fixed? I updated to latest 1.9.3-rc1.
$ cat req.rb
p "Custom Require"
module Kernel
alias :require0 :require
def require(*a)
puts "Kernel#require"
p a
require0(*a)
end
... -
06:45 AM Feature #5421 (Rejected): -r option useless
- =begin
ruby -r uses RubyGems now, you probably need to upgrade your ruby:
$ gem19 which nokogiri
/usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri.rb
$ ruby19 -rnokogiri -ve 'p Nokogiri'
ruby 1.9.3dev (2011-0... -
11:59 AM Feature #5400: Remove flip-flops in 2.0
- Hi,
Under the current plan, I am not going to remove flip-flop from 2.0,
since we are not going to made incompatible changes anytime soon. We
have to wait until 3.0.
matz.
-
11:51 AM Feature #5400: Remove flip-flops in 2.0
- I'll be a little sad if the flip flop operator is removed, but it is a Perlism, and Ruby is gradually getting rid of Perlisms. I suspect it won't be around in 100 years time, and I've heard that flip-flops aren't mentioned in the Ruby sp...
-
02:53 AM Feature #5400: Remove flip-flops in 2.0
- On Tue Oct 04 2011 @ 4:43, Magnus Holm wrote:
> Nobody knows them. Nobody uses them. Let's just get rid of flip-flops,
> shall we?
As someone who came to Ruby from Perl, I also use/like the flip-flop
operator.
Having sa... -
11:34 AM Revision 27cec632 (git): merge revision(s) 33364:
- ------------------------------------------------------------------------
r33364 | naruse | 2011-09-29 20:18:18 -0400 (Thu, 29 Sep 2011) | 1 line
Fix wrong expectaion of r33363.
-----------------------------------------------------------... -
11:32 AM Revision da8a6a65 (git): merge revision(s) 33363:
- * array.c (ary_join_1): should not copy the encoding of non-string
element after string element. [ruby-core:39776] [Bug #5379]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33436 b2dd03c8-39d4-4d8f-98ff-823... -
10:53 AM Revision 54ecf81f (git): merge revision(s) 33386:
- * lib/rubygems: Update to RubyGems 1.8.11. Move Deprecate into the
Gem namespace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:38 AM Revision 370a64cf (git): merge revision(s) 33394:
- ------------------------------------------------------------------------
r33394 | naruse | 2011-10-03 21:25:04 -0400 (Mon, 03 Oct 2011) | 1 line
Fix test of gc introduced in r33379.
------------------------------------------------------... -
10:37 AM Revision 8eecb0a9 (git): merge revision(s) 33379:
- * gc.c (rb_gc_set_params): output GC parameter change messages only
if -w/-v options are specified. these messages are output to stderr,
not to stdout. [ruby-core:39795] [Bug #5380]
* test/ruby/test_gc.rb (te... -
10:26 AM Revision 0accf1fb (git): merge revision(s) 33368:
- * gc.c (add_heap_slots, init_heap): reset heaps_inc zero when
heap slots are expanded by environment variable RUBY_HEAP_MIN_SLOTS.
[ruby-core:39777] [Bug #5380]
* test/ruby/test_gc.rb (test_gc_parameter): add... -
10:20 AM Bug #5423 (Assigned): readlineの入力待機中に端末のウィンドウサイズ変更すると入力内容が乱れる
-
10:18 AM Bug #5423 (Closed): readlineの入力待機中に端末のウィンドウサイズ変更すると入力内容が乱れる
- Readline.readline("> ")の入力待機中にターミナルのウィンドウサイズを変更すると、
入力内容がウィンドウサイズ変更に合わせて変化せず、画面が乱れます。
readlineがSIGWINCHに反応しないように設定されているのが原因のようです。
revision 24140で追加されたrl_catch_sigwinch = 0;が該当部分になります。
rl_catch_signals=0を設定した場合でも、SIGWINCHは反応すべき(rl... -
09:48 AM Revision cc239463 (git): merge revision(s) 33391:
- * proc.c (proc_call): Update documentation to match argument handling
of proc/Proc.new/lambda/->()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:42 AM Revision e1960cdb (git): merge revision(s) 33390:
- * proc.c (proc_call): Fix documentation of Proc#call vs Proc#===.
[Ruby 1.9 - Bug #5349]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:56 AM Bug #5411: Some enum.c doc tweaks
- Yours is better, I applied it!
-
07:06 AM Feature #5422 (Closed): File.fnmatch != Dir.glob # {no,sets}
- Hello,
The File.fnmatch methods do not support Dir.glob's set notation:
>> Dir.glob '{.g,t}*'
=> [".gem", "test"]
> ...
=> false
>> File.fnmatch? '{.g,t}*', '.gem'
=> false
Please add set notation to fnmatch() and make it eq... -
06:54 AM Feature #2348: RBTree Should be Added to the Standard Library
- On 08/10/2011, at 1:10 AM, James Gray wrote:
> On Fri, Oct 7, 2011 at 1:20 AM, Clifford Heath <clifford.heath@gmail.com> wrote:
>> On 07/10/2011, at 1:16 PM, Kenta Murata wrote:
>>> (2011.10.07 01:50 ), David Graham wrote:
>>>> Is t... -
03:54 AM Bug #5412: Array documentation
- Overall this patch is good, but needs some small adjustments.
The new additions to the top-level documentation should include a * even for blank lines.
When you're referring to other methods they should not be surrounded by "+" or " -
03:21 AM Bug #5417 (Closed): Some documentation for Shell
- This issue was solved with changeset r33427.
Carol, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/shell.rb: Document some methods of Shell. Patch by Carol...
10/07/2011
-
11:55 PM Revision 82f1f640 (git): * enum.c (group_by): Improve group_by description. Patch by b t. [#5411]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 PM Feature #2348: RBTree Should be Added to the Standard Library - On Fri, Oct 7, 2011 at 1:20 AM, Clifford Heath <clifford.heath@gmail.com> wrote:
> On 07/10/2011, at 1:16 PM, Kenta Murata wrote:
>> (2011.10.07 01:50 ), David Graham wrote:
>>> Is there a chance RBTree can be added to the standar... -
03:23 PM Feature #2348: RBTree Should be Added to the Standard Library
- On 07/10/2011, at 1:16 PM, Kenta Murata wrote:
> (2011.10.07 01:50 ), David Graham wrote:
>> Is there a chance RBTree can be added to the standard library for Ruby 2.0?
> I agree with you if the library name is changed.
> The name o... -
11:23 AM Feature #2348: RBTree Should be Added to the Standard Library
- (2011.10.07 01:50 ), David Graham wrote:
> Is there a chance RBTree can be added to the standard library for Ruby 2.0?
I agree with you if the library name is changed.
The name of RBTree is too specific to its internal algorith... -
10:29 AM Feature #2348: RBTree Should be Added to the Standard Library - On Oct 6, 2011, at 9:07 PM, SASADA Koichi wrote:
> Some people think most of standard libraries should be in gem. I think
> you need to persuade them.
I think the intent is for RBTree to be included with the Ruby distribution via ... -
10:23 AM Feature #2348: RBTree Should be Added to the Standard Library - On Thu, Oct 6, 2011 at 8:07 PM, SASADA Koichi <ko1@atdot.net> wrote:
> Some people think most of standard libraries should be in gem. I think
> you need to persuade them.
I sympathize, but we are still adding new libraries as of R... -
10:23 AM Feature #2348: RBTree Should be Added to the Standard Library
- (2011/10/07 9:46), James Gray wrote:
> On Thu, Oct 6, 2011 at 6:34 PM, SASADA Koichi <ko1@atdot.net> wrote:
>> (2011/10/07 1:50), David Graham wrote:
>>> Is there a chance RBTree can be added to the standard library for Ruby 2.0? ... -
09:53 AM Feature #2348: RBTree Should be Added to the Standard Library - On Thu, Oct 6, 2011 at 6:34 PM, SASADA Koichi <ko1@atdot.net> wrote:
> (2011/10/07 1:50), David Graham wrote:
>> Is there a chance RBTree can be added to the standard library for Ruby 2.0? I've needed it to implement priority queues ... -
08:53 AM Feature #2348: RBTree Should be Added to the Standard Library
- (2011/10/07 1:50), David Graham wrote:
> Is there a chance RBTree can be added to the standard library for Ruby 2.0? I've needed it to implement priority queues and key range scans, but the binary gem doesn't play well with JRuby or ... -
07:23 AM Feature #2348: RBTree Should be Added to the Standard Library
- SortedSet could then depend on it properly instead of the voodoo code that ships with Ruby atm.
Konstantin
On Oct 6, 2011, at 13:22 , B Kelly wrote:
>
> Issue #2348 has been updated by B Kelly.
>
>
> I wholeheartedly agr... -
05:22 AM Feature #2348: RBTree Should be Added to the Standard Library
- I wholeheartedly agree about the usefulness of the data structure.
I'm hesitant to type this, because I don't want to impede RBTree's path toward first-class citizenship.
But last time I checked there appeared to be some API defici... -
03:03 AM Feature #2348: RBTree Should be Added to the Standard Library
- I still agree. We've literally been asking for NArray and RBTree in the standard library for years. Pretty please? :)
-
01:49 AM Feature #2348: RBTree Should be Added to the Standard Library
- Is there a chance RBTree can be added to the standard library for Ruby 2.0? I've needed it to implement priority queues and key range scans, but the binary gem doesn't play well with JRuby or Rubinius. It would help if we could count o...
-
10:54 PM Feature #5421 (Rejected): -r option useless
- Ran into a problem trying to require a plugin I had written while running a ruby scipt, e.g.
$ ruby -rmyplugin script.rb
It tells me "no such file" for myplugin. Turns out the problem is that the -r option uses internal require c... -
08:23 PM Bug #5419: FileUtils.cp_rの:preserveの動作 - On 2011/10/07, at 17:17, Nobuyoshi Nakada wrote:
>
> Issue #5419 has been updated by Nobuyoshi Nakada.
>
> Status changed from Open to Assigned
> Assignee set to Masatoshi Seki
> Target version changed from 1.9.3 to 1.9... -
08:23 PM Bug #5419: FileUtils.cp_rの:preserveの動作 - 咳といいます。
On 2011/10/07, at 17:16, Nobuyoshi Nakada wrote:
>
>
> その「もっとかっこいい方法」というのをちょっと教えて下さい。
ほんというと、よくわかってません。
木の辿りの帰りがけにmetadata_copyするのか、あるいは、あとでやるキューをつくるのか...
fu_each_src_destを二回まわるほうがずっと良いのかも。 -
05:17 PM Bug #5419 (Assigned): FileUtils.cp_rの:preserveの動作
-
05:16 PM Bug #5419: FileUtils.cp_rの:preserveの動作
- その「もっとかっこいい方法」というのをちょっと教えて下さい。
-
04:46 PM Bug #5419 (Closed): FileUtils.cp_rの:preserveの動作
- FileUtils.cp_rで:preserveとtrueに設定してディレクトリをコピーしたときに、
空でないディレクトリの時刻が設定されません。
おそらく、ディレクトリについて ent.copy_metadata した後に、そのディレクトリ以下にファイルが増えるためだと思います。
2パスで処理して、一巡目にコピー、二巡目にent.copy_metadata したら直るような気がしますが、もっとかっこいい方法もありそうです。
- 06:21 PM Revision ee1acd6a (git): * 2011-10-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:21 PM Revision 92af97c6 (git): * lib/shell.rb: Document some methods of Shell. Patch by Carol
- Nichols. [Ruby 1.9 - Bug #5417]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:07 PM Bug #5420 (Closed): RubyGems misleading error message for "update -l"
- I accidentally used option -l for "update":
11:00:34 ~$ gem19 list -l facets
*** LOCAL GEMS ***
facets (2.9.1)
11:00:44 ~$ gem19 update -l
Updating installed gems
Updating facets
ERROR: While executing gem ... (Gem::GemNotF... -
12:01 PM Bug #5418 (Rejected): Some properties of WEBrick::HTTPRequest could be malformed
- Original reported issue: CVE-2011-3187
Users may expect that properties of WEBrick::HTTPRequest to be not
malformed/faked. But at the fact, in current implementation, following
properties can be malformed and faked by HTTP header se... -
11:33 AM Bug #5412: Array documentation
- Sorry about that. I didn't notice that Textmate was deleting the tabs when I pasted the documentation text.
Anyway, I'm resubmitting the patch now. -
11:29 AM Revision d5e7b397 (git): * test/-ext-/symbol/test_inadvertent_creation.rb (noninterned_name):
- sigil of global, instance and class variable names should be
followed by non-numeric.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:57 AM Revision 881891fb (git): * test/-ext-/symbol/test_inadvertent_creation.rb: moved tests from
- test_module.rb and test_symbol.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:54 AM Revision e50c05f7 (git): * lib/test/unit/assertions.rb (assert_send, assert_not_send):
- parenthesize non-empty arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:11 AM Bug #4576 (Open): Range#step miss the last value, if end-exclusive and has float number
-
07:59 AM Feature #5372: Promote blank? to a core protocol - > Facets (and ActiveSupport) define a #blank? protocol which allows for the above to be replaced with:
>
> Â if thing.blank?
I use this all the time
if thing.present?
# ..
end
enthusiastic +1 :)
-roger- -
03:03 AM Bug #3784: Seg fault in IO.select from webrick
- I am using 1.9.2-p290 on Windows XP and have seen this crash as well. The `IO.select` call is `IO.select(nil, [socket], nil, 5)`. Uncertain if the timeout was hit. Here is the windbg backtrace (sorry, don't have the full symbols to inc...
-
01:06 AM Bug #5375: [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
- > Going to manually backport r33401 over ruby_1_9_3 and test it...
May need more than r33401.
After running `git co ruby_1_9_3 && git cherry-pick -n b7c66e3` and cleaning the conflicts, the build completed, `make test` passed, `mak... -
12:33 AM Bug #5244: Continuation causes Bus Error on Debian sparc
- I looked at it some more (ruby1.9.1-1.9.3~preview1+svn33236 now), and tried to figure out what goes wrong by comparing the binaries compiled with -O0 and -O2. The call to ruby_longjmp does not look suspicious, I've verified that in both ...
10/06/2011
-
11:41 PM Bug #5417 (Closed): Some documentation for Shell - I've added some documentation for a few Shell methods. Let me know if there are any improvements I can make. Thank you!
- 09:36 PM Revision 291bf9ad (git): * 2011-10-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:36 PM Revision 06336140 (git): * array.c: Use + for arguments described in documentation to allow
- rdoc -C2 to work better. Remove
-
09:26 PM Bug #5411: Some enum.c doc tweaks
- I find the new group_by more confusing now and changed it to this:
* Groups the collection by result of the block. Returns a hash where the
* keys are the evaluated result from the block and the values are
* arrays of elements i... -
10:01 AM Bug #5411: Some enum.c doc tweaks
- I improved group_by in r33417 based on your work.
-
09:57 AM Bug #5411 (Closed): Some enum.c doc tweaks
- This issue was solved with changeset r33416.
b, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enum.c: Clean up wording in Enumerable documentation. Patch by b... -
07:07 AM Bug #5411 (Closed): Some enum.c doc tweaks
- I tried to fix some of the method descriptions and made. Please check group_by if this is any better than the original version. I had trouble finding a concise description.
Thanks for reviewing. -
04:29 PM Feature #5112 (Closed): Remove inadvertent symbol creation from send, __send__, and public_send
- This issue was solved with changeset r33419.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_eval.c (make_no_method_execption): extract from
raise_me... -
03:03 PM Bug #5416: Improve documentation for lib/time.rb
- I merged 1 and 2, merged a small part of 3 (due to #5403) and hand-merged 4 to keep the references to needing to require 'time'.
Historically users have been confused by reading about a method on Time but having it not work. A future... -
02:59 PM Bug #5416 (Closed): Improve documentation for lib/time.rb
- This issue was solved with changeset r33418.
Jake, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/time.rb: Clean up Time documentation. Patch by Jake Gould... -
12:18 PM Bug #5416 (Closed): Improve documentation for lib/time.rb
- Documented an undocumented method and constant, as well as restored some useful documentation that was no longer being displayed. Cleaned up some strange wording and added examples to the top of the documentation.
-
11:51 AM Revision 171c708b (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:51 AM Bug #5375: [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
- Usaku NAKAMURA wrote:
> Luis, sorry for my late reply.
> ...
Recent change in trunk related to Psych and the way exceptions are rescued seems to be the cause of the issue.
This seems to have an effect on setjmp/longjmp implementatio... -
10:28 AM Bug #5375: [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
- Luis, sorry for my late reply.
My tested environment doesn't have libyaml.
Probably it's the reason why I couldn't reproduce this problem. -
01:35 AM Bug #5375: [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
- trunk versions built with 4.6.1 running under WinXP SP3 consistently work for me.
It's only the ruby_1_9_3 branch built (just tried r33347) with either TDM-GCC 4.6.1 or plain vanilla mingw.org GCC 4.6.1 that segfault on my WinXP SP3 m... -
09:32 AM Bug #5412: Array documentation
- It seems you have reindented the file by mistake, removing all the tabs. Please resubmit without changing the indentation.
See http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style for help configuring your editor. -
07:21 AM Bug #5412 (Closed): Array documentation
- As a contribution to the Mendicant University drive to enhance MRI documentation, I've tackled documentation of the Array class. I've amplified the general description of the Array class and highlighted some of the more commonly used ins...
-
09:14 AM Bug #5402 (Closed): Enhancing documentation for Time extension in stlib
- This issue was solved with changeset r33414.
Shane, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* time.c (Init_Time): Improve Time documentation. Patch by Sha... -
04:14 AM Bug #5402: Enhancing documentation for Time extension in stlib
- I've tried to implement all your suggestions. Here's an updated patch. Let me know if there's anything else you'd like changed.
-
09:14 AM Bug #5404 (Closed): Enhancing documentation for Time class in core
- This issue was solved with changeset r33414.
Shane, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* time.c (Init_Time): Improve Time documentation. Patch by Sha... -
04:15 AM Bug #5404: Enhancing documentation for Time class in core
- I've tried to implement all your suggestions. Here's an updated patch. Let me know if there's anything else you'd like changed.
-
08:59 AM Bug #5410: Enhancing documentation for Random class in core
- Please wrap to 80 columns, there were a few paragraphs that went over.
Also, indentation of blocks should be two spaces. -
08:54 AM Bug #5410 (Closed): Enhancing documentation for Random class in core
- This issue was solved with changeset r33413.
Gregory, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* random.c: Improve documentation of Random. Patch by Gregor... -
01:47 AM Bug #5410 (Closed): Enhancing documentation for Random class in core
- As part of Mendicant University's MRI Documentation Week, I've enhanced the documentation for the Random class in core.
Shane Emmons has looked this over. As this is my first patch, I feel it may benefit from further review. -
07:32 AM Revision b4298b31 (git): set properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:29 AM Revision 89fef02f (git): * vm_eval.c (make_no_method_execption): extract from
- raise_method_missing().
* vm_eval.c (send_internal): remove inadvertent symbol creation
from public_send. based on a patch by Jeremy Evans <code AT
jeremyevans.net> in [ruby-core:38576]. [Feature #5112]
* vm_insnhelper.c (vm_call_me... -
05:59 AM Revision 60d83c5d (git): * lib/time.rb: Clean up Time documentation. Patch by Jake Goulding.
- [Ruby 1.9 - Bug #5416]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:47 AM Bug #5386 (Closed): FiberオブジェクトのGC時にSEGV
- This issue was solved with changeset r33410.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* cont.c (cont_mark): mark original Thread object from saved_th... -
01:01 AM Revision 8f6cb4b4 (git): * enum.c (group_by): Improve documentation based on patch by b t.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:57 AM Revision e2974b1a (git): * enum.c: Clean up wording in Enumerable documentation. Patch by b t.
- [Ruby 1.9 - Bug #5411
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:19 AM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
- I guess it is Windows XP and GCC 4.6.1 setjmp/longjmp issue as mentioned at Bug #5375.
I can build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows 7 without error. -
12:17 AM Revision 9edfa897 (git): * time.c (Init_Time): Remove editorial comments from Time
- documentation, fix link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:14 AM Revision 0d900cec (git): * time.c (Init_Time): Improve Time documentation. Patch by Shane
- Emmons. [Ruby 1.9 - Bug #5404]
* lib/time.rb: Improve time.rb documentation including Time.strptime.
Patch by Shane Emmons. [Ruby 1.9 - Bug #5402]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33414 b2dd03c8-39d4-4d8f-98ff-823...
10/05/2011
-
11:59 PM Feature #5372: Promote blank? to a core protocol
- On 05/10/11 10:53, Nobuyoshi Nakada wrote:
> Hi,
>
> (11/10/05 17:32), Alex Young wrote:
>> I'm suggesting it because it's a generally useful concept.
>
> I'm suggesting some doubt on its generalness.
>
It's as gen... -
06:59 PM Feature #5372: Promote blank? to a core protocol
- Hi,
(11/10/05 17:32), Alex Young wrote:
> I'm suggesting it because it's a generally useful concept.
I'm suggesting some doubt on its generalness.
--
Nobu Nakada -
05:53 PM Feature #5372: Promote blank? to a core protocol
- On 05/10/11 05:59, Nobuyoshi Nakada wrote:
> Hi,
>
> (11/10/05 2:14), Alex Young wrote:
>> On 04/10/11 16:52, Nobuyoshi Nakada wrote:
>>> The "flexibility" (or ambiguity) seems the sign that it should not be
>>> in core, to... -
02:23 PM Feature #5372: Promote blank? to a core protocol
- Hi,
(11/10/05 2:14), Alex Young wrote:
> On 04/10/11 16:52, Nobuyoshi Nakada wrote:
>> The "flexibility" (or ambiguity) seems the sign that it should not be
>> in core, to me.
>
> I'm not sure I understand. Where's the ... -
02:23 AM Feature #5372: Promote blank? to a core protocol
- On 04/10/11 16:52, Nobuyoshi Nakada wrote:
> Hi,
>
> (11/10/03 6:38), Alex Young wrote:
>> Yep, that's another way to do the same sort of thing, but with a Blank
>> or Null it's more explicit and more flexible. With a bare
... -
12:59 AM Feature #5372: Promote blank? to a core protocol
- Hi,
(11/10/03 6:38), Alex Young wrote:
> Yep, that's another way to do the same sort of thing, but with a Blank
> or Null it's more explicit and more flexible. With a bare
> "case...else..." you have to handle both correct n... -
11:54 PM Revision f365f190 (git): * random.c: Improve documentation of Random. Patch by Gregory
- Parkhurst. [Ruby 1.9 - Bug #5410]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:28 PM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
- @Heesob..if you happen to be using the RubyInstaller recipes, would you try again but this time use the mingw.org GCC 4.6.1 to build? You'll need to pull updates from our repo as I just included support for that toolchain last night.
... -
10:28 AM Bug #5407 (Closed): Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
- I guess this bug is related with Bug #5375(http://redmine.ruby-lang.org/issues/5375).
First, it fails when configuring tk.
$ make
CC = gcc
LD = ld
LDSHARED = gcc -shared -s
CFLAGS = -O3 -g -Wex... -
04:49 PM Revision 2e35340c (git): * ChangeLog: fix ML link.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:47 PM Revision c9d81ed7 (git): * 2011-10-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:47 PM Revision 257d0ac8 (git): * cont.c (cont_mark): mark original Thread object from saved_thread.
- [ruby-dev:44567] [Bug #5386]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:35 PM Bug #4576 (Closed): Range#step miss the last value, if end-exclusive and has float number
- This issue was solved with changeset r33407.
Joey, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (ruby_float_step): improve floating point calculation... -
02:33 PM Bug #5384: Ruby 1.9.3-RC1 Fails to Compile on Illumos (OpenSolaris)
- It seems the problem about the use of dl_iterate_phdr issue() defined in <link.h> was already reported, but the bug report seems to be disappeared possibly due to the change of project website.
In http://gcc.gnu.org/ml/gcc-patches/201... -
12:46 PM Bug #5386: FiberオブジェクトのGC時にSEGV
- 確認いただきありがとうございます。コミットしておきます。
ただ作業できるのが夜になってからなので、先にどなたかコミットして頂いてもわたしはかまいません。 -
12:33 AM Bug #5386: FiberオブジェクトのGC時にSEGV
- 辻本です。
このパッチで再現コードでのSEGVが起きなくなることを確認しました。
よければコミットしていただけないでしょうか。 -
12:31 PM Feature #5112: Remove inadvertent symbol creation from send, __send__, and public_send
- It's been over two months and I haven't had any feedback on this. Is there a reason this patch didn't get applied when the other similar patches did (in r32621, r32645, and r32686)?
-
07:36 AM Revision 0a5ac6a4 (git): Revert r33407; half-baked patch.
- "* numeric.c (ruby_float_step): improve floating point calculations."
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:35 AM Revision 6340d633 (git): * vm_insnhelper.c (vm_call_cfunc): remove useless hack.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:35 AM Revision a635de7d (git): * numeric.c (ruby_float_step): improve floating point calculations.
- [ruby-core:35753] [Bug #4576]
* numeric.c (ruby_float_step): correct the error of floating point
numbers on the excluding case.
patched by Masahiro Tanaka [ruby-core:39608]
* numeric.c (ruby_float_step): use the end value when the ... -
06:31 AM Bug #5375: [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
- @Luis, excellent; thank you. I'll confirm your results by testing on my two native WinXP SP3 boxes tomorrow.
-
06:17 AM Bug #5375 (Feedback): [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
- @Jon:
Just tested trunk at r33401 with GCC 4.6.1 (TDM-1) under Windows XP SP2 and worked without segfaulting: -
06:23 AM Bug #5404: Enhancing documentation for Time class in core
- Like #5402, using unambiguous dates (instead of 2002-02-02…) would make this a little more clear, otherwise it is fine.
-
12:41 AM Bug #5404 (Closed): Enhancing documentation for Time class in core
- As part of Mendicant Universities MRI Documentation Week, I've enhanced the documentation for the Time class in core.
-
05:57 AM Bug #5405 (Closed): Adds top level documentation to Hash class
- This issue was solved with changeset r33406.
Alvaro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* hash.c (Init_Hash): Improve Hash documentation. Patch by Al... -
05:56 AM Bug #5405: Adds top level documentation to Hash class
- I removed
-
01:08 AM Bug #5405 (Closed): Adds top level documentation to Hash class
- As part of Doc Week at RbMU, I've added some additional top level documentation to the Hash class.
-
05:48 AM Bug #5403 (Closed): Adding Documentation Intro to Random
- This issue was solved with changeset r33405.
Brett, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* random.c (Init_Random): Add a top-level comment for Random. ... -
05:48 AM Bug #5403: Adding Documentation Intro to Random
- Please check for trailing whitespace in your patches, otherwise, it is fine.
-
12:28 AM Bug #5403 (Closed): Adding Documentation Intro to Random
- I added a simple introduction to the documentation for the Random class. I based my changes on the documentation in the Math.c file.
This is my first attempt at adding documentation so I'm open for instruction if I've done something ... -
05:38 AM Bug #5402: Enhancing documentation for Time extension in stlib
- Since the comment from time.c and time.rb will be combined for ri output the introductory sentence should be reworded. Something like:
When 'time' is required, Time is extended with additional methods for parsing and converting Tim... -
02:59 AM Bug #5393: some style fixes in enum.c docs
- orz
Nobu, I don't mean to make you feel old, but the extra space is the fashion for us young people. :)
Do you think this patch is OK? -
02:50 AM Bug #5406 (Closed): inconsistent odd-length array rejection in Hash[*ary] vs Hash[ary]
- Hello,
Hash[*ary] raises an error when given odd number of arguments:
>> Hash.[]( 1, 2, 3 )
ArgumentError: odd number of arguments for Hash
from (irb):3:in `[]'
from (irb):3
from /usr/bin/irb:12:in `<main>'
In contrast, H... -
02:23 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
- =begin
Here is a comparison of core data structure API for your reference:
| | Kernel | Implicit | Explicit | NilClass |
| Class | method | conversion | conversion | conversion |
| --------- | ... -
01:53 AM Feature #5394: Anonymous Symbols, Anonymous Methods
- Hi,
(11/10/04 4:11), Kurt Stephens wrote:
> Imagine that visit() needs dynamic hooks to visit different types:
>
> -
01:05 AM Feature #5392: Symbol GC
- Konstantin Haase wrote:
> How would you ensure identity? Do a search on every Symbol creation? Keep a hash map?
Unless I misunderstand your question, we would insure identity with the same mechanism that exists now: a String->Symbol ...
10/04/2011
-
11:33 PM Bug #5402 (Closed): Enhancing documentation for Time extension in stlib
- As part of Mendicant Universities MRI Documentation Week, I've enhanced the documentation for the Time extension module in stdlib.
-
10:50 PM Bug #5384: Ruby 1.9.3-RC1 Fails to Compile on Illumos (OpenSolaris)
- Naohisa Goto wrote:
> Solaris 10 released from Oracle (Sun Microsystems) does not have such limitation.
I'm sorry I mistook. /usr/include/libelf.h in Oracle Solaris 10 still does not support large files when _ILP32 is defined.
The... -
10:23 PM Bug #5393: some style fixes in enum.c docs
- Hi,
(11/10/04 8:28), Eric Hodel wrote:
> I would prefer spaces for both the arguments and the block like
> ((|{ |args| block }|)) as it seems to be the modern style over no
> space between the curly-brace and the pipe like ((... -
03:32 PM Bug #5393: some style fixes in enum.c docs
- ok, here is the patch with your recommended style.
-
03:00 PM Bug #5393: some style fixes in enum.c docs
- oh, I added a patch file but that must have gone awol. Sorry for that. I'll repost as soon as I changed styles later today.
-
08:28 AM Bug #5393: some style fixes in enum.c docs
- =begin
I would prefer spaces for both the arguments and the block like ((|{ |args| block }|)) as it seems to be the modern style over no space between the curly-brace and the pipe like ((|{|args| block }|)) as it seems to older.
If y... -
03:55 AM Bug #5393 (Closed): some style fixes in enum.c docs
- There isn't much consistency in the docs when it comes to blocks. So I decided to go with the style that is most often used: {|obj| block }
No spaces, only around the block.
I can fix the other classes as well but before I do this le... -
08:57 PM Revision 6f8f555d (git): * hash.c (Init_Hash): Improve Hash documentation. Patch by Alvaro
- Pereyra Rabanal. [Ruby 1.9 - Bug #5405]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:48 PM Revision 9654a4c9 (git): * random.c (Init_Random): Add a top-level comment for Random. Patch
- by Brett Bim. [Ruby 1.9 - Bug #5403]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:29 PM Feature #5400: Remove flip-flops in 2.0
- Hello,
I'm one of the few users of flip-flop.
~~~ruby
W, H = 44, 54
c = 7 + 42 * W
a = [0] * W * H
g = d = 0
f = proc do |n|
a[c] += 1
o = a.map {|z| " :#"[z, 1] * 2 }.join.scan(/.{#{W * 2}}/)
puts "\f" + o.map {|l| l.r... -
07:58 PM Feature #5400: Remove flip-flops in 2.0
- Magnus Holm wrote:
> Nobody knows them. Nobody uses them. Let's just get rid of flip-flops, shall we?
Well, the flip-flop behavior is useful, so it should not be removed.
However, I agree that the syntax is a bit confusing.
Fli... -
05:36 PM Feature #5400: Remove flip-flops in 2.0
- Magnus Holm wrote:
> Nobody knows them. Nobody uses them. Let's just get rid of flip-flops, shall we?
I disagree. The flip-flop syntax is obscure, but very useful, especially in text manipulation.
For example, I want to fetch some... -
04:43 PM Feature #5400 (Rejected): Remove flip-flops in 2.0
- Nobody knows them. Nobody uses them. Let's just get rid of flip-flops, shall we?
-
08:23 PM Bug #5279: $SAFEが3以上の時にString#encodeがSecurityErrorを発生させるケースがある
- On 04/10/2011 12:22, NARUSE, Yui wrote:
>> 例えば、
>>
>> $ ruby1.9 -ve 'a="あ";"あ".encode("euc-jp"); $SAFE=4; a.encode("euc-jp")'
>> ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-linux]
>>
>> ↑これは動きますが、
>>
>> $ ruby1.9 -... -
07:23 PM Bug #5279: $SAFEが3以上の時にString#encodeがSecurityErrorを発生させるケースがある
- 2011年10月4日19:02 Kazuhiko <kazuhiko@fdiary.net>:
> えーと、さらに調査の結果、encodingによっては上記のワークアラウンドでうま
> く動かないことがわかりました。
>
> 例えば、
>
> $ ruby1.9 -ve 'a="あ";"あ".encode("euc-jp"); $SAFE=4; a.encode("euc-jp")'
> ruby 1.9.3dev (2011-09-23 ... -
07:23 PM Bug #5279: $SAFEが3以上の時にString#encodeがSecurityErrorを発生させるケースがある
- On 28/09/2011 14:15, Kazuhiko wrote:
> On 26/09/2011 19:19, Shugo Maeda wrote:
>>>> Yuguiさんが1.9.3ブランチにバックポートしてくださって、先ほどめでたく
>>>> 1.9.3RC1が出た今ころになって気づいて、ものすごく申し訳ないのです
>>>> が、$SAFE=3の時は動くけれど、$SAFE=4だと相変わらず失敗するようです。
>> (snip)
>... -
07:59 PM Feature #5394: Anonymous Symbols, Anonymous Methods
- Hello,
To all:
This proposal aims to address pollution and collision problem of name
space, as well as refinement. But the approach is different.
Though the explanation is not so catchy :-), language designers may
want to ... -
10:31 AM Feature #5394: Anonymous Symbols, Anonymous Methods
- Related: http://redmine.ruby-lang.org/issues/show/4288
-
05:29 AM Feature #5394: Anonymous Symbols, Anonymous Methods - On Oct 3, 2011, at 3:11 PM, Kurt Stephens wrote:
>
> ...
I'm not sure about the anonymous symbols but you might want to take a look at this discussion:
<http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/34550>
regarding using... -
04:11 AM Feature #5394 (Rejected): Anonymous Symbols, Anonymous Methods
- Proposal for Anonymous Symbols and Anonymous Methods
Anonymous Methods (AnonMeths) can be used for complex orthogonal behaviors that dispatch by receiver class without patching core or other sensitive classes in a globally visible man... -
07:50 PM Bug #5375: [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
- Luis Lavena wrote:
> Independent of being mingw or mingw-w64 provided version of GCC, 4.6.x seems to segfault too.
> ...
In fact, i had sigsegv in mingw-w64 too. the problem came from msvcrt!longjmp dereferences ebp+8 which maybe inval... -
07:23 PM Feature #5372: Promote blank? to a core protocol
- On 03/10/11 22:25, Eric Hodel wrote:
> On Oct 2, 2011, at 2:38 PM, Alex Young wrote:
>> Eric Hodel wrote in post #1024462:
>>> On Sep 27, 2011, at 6:52 PM, Alex Young wrote:
>>> Can you show me a description of the opposite?
>... -
06:29 AM Feature #5372: Promote blank? to a core protocol
- On Oct 2, 2011, at 2:38 PM, Alex Young wrote:
> Eric Hodel wrote in post #1024462:
>> On Sep 27, 2011, at 6:52 PM, Alex Young wrote:
>> Can you show me a description of the opposite?
>
> What I mean by "in reverse" is that with th... -
06:07 PM Bug #5401 (Feedback): Ruby 1.9.3 interpreter crash
- are you using openssl which bundled with OSX? if not, please tell what (like: installed by macports, homebrew, etc)
-
05:36 PM Bug #5401 (Closed): Ruby 1.9.3 interpreter crash - I'm seeing the Ruby 1.9.3dev interpreter crash when I attempt to use the paypal-express gem. Next, I was not able to reproduce with Ruby 1.9.2. Finally, the steps to reproduce are as follows:
$ bundle
$ rails s
$ click on any of t... -
06:06 PM Bug #5390 (Assigned): YAML.load が、正しく解析できないエンコーディングの文字列も受け付けてしまう
- > *UTF-8 以外のエンコーディングの文字列が渡された場合に、自動的に UTF-8 に変換して処理を進める
がいいのではないかと思っています。
> ...
なお、これはYAMLの仕様にエンコーディングを与える方法が規定されていないので、YAML仕様の範囲内では不可能なはずです。 -
05:53 PM Revision 137c547c (git): * ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and
- message attributes during parse failure.
* ext/psych/parser.c: Update parser to raise exception with correct
values.
* test/psych/test_exception.rb: corresponding tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33404 b2dd03c8... -
05:41 PM Feature #5389: New method Enumerator#iterate
- Yui NARUSE wrote:
> Enumerator#next is not enough?
array = (1..10).to_a
enum = array.map!
loop do
enum.next {|n| n + 10 }
enum.next {|n| n * 2 }
enum.next {|n| -n }
end
p array # => [nil, nil, nil, nil, nil, nil, nil... -
04:46 PM Feature #5389: New method Enumerator#iterate
- Enumerator#next is not enough?
-
04:53 PM Revision 77e58a33 (git): * ext/psych/parser.c (parse): Use context_mark for indicating error
- line and column.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 PM Bug #5399 (Closed): Time.strptime does not correctly parse seconds since epoch
- This issue was solved with changeset r33398.
Christopher, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/time.rb (Time.strptime): use Time.at if d[:seconds] ... -
08:27 AM Bug #5399 (Closed): Time.strptime does not correctly parse seconds since epoch
- Reproducing the bug inside the IRB:
Time.strptime("1", "%s")
=> 2011-10-03 15:51:02 -0700
as opposed to:
Date.strptime("1", "%s").to_time
=> 1970-01-01 00:00:00 -0800
The docs read that Time.strptime relies on Date._strp... - 04:25 PM Revision fccfc4f7 (git): * 2011-10-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:24 PM Revision b7c66e31 (git): * ext/psych/lib/psych/scalar_scanner.rb: use normal begin / rescue
- since postfix rescue cannot receive the exception class. Thanks
nagachika!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 PM Feature #5392: Symbol GC
- How would you ensure identity? Do a search on every Symbol creation? Keep a hash map?
On Oct 3, 2011, at 09:41 , Kurt Stephens wrote:
>
> Issue #5392 has been reported by Kurt Stephens.
>
> ----------------------------------... -
01:41 AM Feature #5392 (Closed): Symbol GC
- I looked more into Symbol GC. The biggest problem is IDs are not VALUEs. My outburst at RubyConf based on my stupid assumption that they were -- I was trying to attack the problem using WeakRefs.
If IDs were VALUEs and Symbols were ... -
12:10 PM Revision 92a05ea2 (git): * class.c (class_alloc): allocate extra memory after containing
- object setup to get rid of rare-but-potential memory leak.
* gc.c (gc_mark_children): skip marking extended members if ptr is
NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:44 AM Revision 0688c81a (git): Revert r33397 because it cause segv.
- "* class.c (class_alloc): allocate extra memory after containing"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:33 AM Bug #5396 (Closed): Improvements to documentation for Etc module
- This issue was solved with changeset r33393.
mathew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/etc/etc.c: Document Etc, Etc.sysconfdir, Etc.systmpdir. ... -
05:58 AM Bug #5396 (Closed): Improvements to documentation for Etc module
- Improvements to Etc module documentation, following conversation on Reddit:
http://www.reddit.com/r/ruby/comments/kzmsx/this_week_is_mri_documentation_week/
Adds more overview of what /etc is, what the module does, when you should us... -
08:24 AM Bug #5388: Update Shellwords' documentation to include example
- There is no need to update ChangeLog, I will do that. Thank you for your patch!
-
08:23 AM Bug #5388 (Closed): Update Shellwords' documentation to include example
- This issue was solved with changeset r33392.
Samnang, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/shellwords.rb: Update toplevel comment with an example.... -
07:59 AM Bug #5349 (Closed): Add back documentation for Proc#call and Proc#[]
- This issue was solved with changeset r33390.
Alexander, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* proc.c (proc_call): Fix documentation of Proc#call vs Pro... -
07:58 AM Bug #5349: Add back documentation for Proc#call and Proc#[]
- I decided to keep #call and #=== separate, so I moved the === documentation above the call documentation and added a Document-method line.
-
07:44 AM Bug #5344 (Closed): Clarified Array.new Documentation
- This issue was solved with changeset r33389.
Henry, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_initalize): Make Array.new description match
... -
07:39 AM Bug #5216: added some clarification to Array.new method
- The call-seq covers all four examples, so it is fine.
-
07:35 AM Bug #5216 (Closed): added some clarification to Array.new method
- This issue was solved with changeset r33388.
Jonathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_initialize): Add output for examples. Pat... -
07:37 AM Revision 4eb497d9 (git): * lib/time.rb (Time.strptime): use Time.at if d[:seconds] is set.
- Reported by Christopher Eberz. [ruby-core:39903] Bug #5399
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:31 AM Bug #5215 (Closed): added some clarification to Array[] method
- This issue was solved with changeset r33387.
Jonathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_s_create): Add example results for Array::... -
06:04 AM Revision bf8168cf (git): * class.c (class_alloc): allocate extra memory after containing
- object setup to get rid of rare-but-potential memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:17 AM Revision e6c2da74 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:44 AM Revision 356c7cbf (git): * gc.c (rb_gc_set_params): ruby_verbose can be Qnil, so use RTEST.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:25 AM Revision f65cdf79 (git): Fix test of gc introduced in r33379.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:03 AM Bug #5380 (Closed): gc params cause Segmentation fault
- This issue was solved with changeset r33379.
saber, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (rb_gc_set_params): output GC parameter change messages o...