Activity
From 12/29/2011 to 01/04/2012
01/04/2012
-
11:56 PM Bug #5838: Segmentation fault in lib/ruby/1.9.1/net/http.rb when creating a new project with rails 3.2.0.rc1
- If you have
source 'https://rubygems.org'
in your Gemfile, then it could be because of Mac OS OpenSSL:
http://www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fault-and-openssl/ -
07:50 AM Bug #5838: Segmentation fault in lib/ruby/1.9.1/net/http.rb when creating a new project with rails 3.2.0.rc1
- It's actually Bundler that makes Ruby crash (bundle install).
-
07:39 AM Bug #5838 (Third Party's Issue): Segmentation fault in lib/ruby/1.9.1/net/http.rb when creating a new project with rails 3.2.0.rc1
- =begin
Creating a new project with Rails 3.2.0.rc1 makes Ruby crash on my computer:
$ rails new testproject
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app... -
10:53 PM Feature #5839: Proposal: Bitmap Marking GC
- まつもと ゆきひろです
In message "Re: [ruby-dev:45086] Re: [ruby-trunk - Feature #5839][Open] Proposal: Bitmap Marking GC"
on Wed, 4 Jan 2012 22:33:03 +0900, SASADA Koichi <ko1@atdot.net> writes:
|(2012/01/04 21:33), Narihiro Naka... -
10:53 PM Feature #5839: Proposal: Bitmap Marking GC
- ささだです.
bitmap marking 化ご苦労様です.2つ教えて下さい.
(2012/01/04 21:33), Narihiro Nakamura wrote:
> - 無駄な書き込みを防ぐため、なるべくfreelistを繋ぎ変えないようにした
> -- GCの時にすでにfreelistに繋ながれていたオブジェクトを再度繋ぎ直さない
> - freelistはスロットが持つようになった
> -- 不要なスロットを解放する... -
09:33 PM Feature #5839 (Closed): Proposal: Bitmap Marking GC
- あけましておめでとうございます。nariです。
ビットマップマーキングGCをRuby2.0向けに作りました。
ソースコード: https://github.com/authorNari/ruby/tree/bitmap_marking
パッチ: https://github.com/authorNari/patch_bag/blob/master/ruby/gc_bitmap_using_alignment_r33786.patch
以下の環境でr3... -
07:35 PM Feature #5361: Lice?
- add documentation for byte_slice and byte_size.
-
02:24 PM Bug #5836 (Closed): #slice results inconsistent after #force_encoding to a valid encoding
- This issue was solved with changeset r34208.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (str_nth_len): count ascii-only run at the end. this... -
10:12 AM Bug #5836: #slice results inconsistent after #force_encoding to a valid encoding
- I've reduced the code a bit, calling `force_encoding` seems to cause it, and calling `valid_encoding?` repairs the damage.
s = 'abc'
p [s.slice(3), s.slice(3, 1)]
[nil, ""]
s.force_encoding 'euc-jp'
p [s.slice(3), s.slice(... -
05:53 AM Bug #5836 (Closed): #slice results inconsistent after #force_encoding to a valid encoding
- I was not able to reduce this further. After calling #force_encoding, #slice returns inconsistent results:
ruby-1.9.3-p0 :001 > RUBY_DESCRIPTION
=> "ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]"
ruby-1.9.3-p0 :00... -
11:33 AM Bug #5819 (Closed): Windowsで空のドライブのルートディレクトリに対するFile.stat が失敗する
- This issue was solved with changeset r34205.
Masateru, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/win32.c (check_valid_dir): special case for a root di... -
09:27 AM Revision 7c3a00a1 (git): replace zero to space.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:03 AM Revision 6992be63 (git): * array.c (rb_ary_sample): add examples for Array#sample.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:33 AM Bug #5837 (Closed): IO#fsync documentation typo quickfix
- The documentation IO#fsync says:
"Immediately writes all buffered data in ios to disk. Note that fsync differs from using IO#sync=. The latter ensures that data is flushed from Ruby’s buffers, but doesn’t not guarantee that the underl... -
07:04 AM Revision e8736000 (git): sparc.c was missing in r34199
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:24 AM Revision 46052828 (git): * string.c (str_nth_len): count ascii-only run at the end. this
- bug appears only when single-byte-optimization is disabled due
to unknown coderange. [ruby-core:41896] [Bug #5836]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:54 AM Revision 94443cf5 (git): * 2012-01-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:53 AM Revision 0b18cf7f (git): fix up r34199
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:34 AM Bug #5833: [mingw] trivial patch for thread.c build warning
- Redmine appears to have chopped off your feedback and questions...inserting your questions and my answers.
> I think rb_fd_max() should return int. Is there any possibility that
> ...
In real-world usage, I don't know with 100% cer... - 02:33 AM Revision 79e0379a (git): * win32/win32.c (check_valid_dir): special case for a root directory.
- Reported by Masateru OKAMOTO at [Bug #5819].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:12 AM Bug #5776 (Assigned): irb のトップレベルで定義したメソッドが public になる
- 1.9.3-p0でも再現することを確認しました。
-
12:05 AM Bug #5696 (Closed): rexml BaseParser uses instance_eval unnecessarily on listener add
- This issue was solved with changeset r34202.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/parsers/baseparser.rb: rexml BaseParser uses
ins...
01/03/2012
- 03:21 PM Revision bd895ab1 (git): * lib/rexml/parsers/baseparser.rb: use private instead of _xxx
- method name. This is Ruby code not Python code.
refs #5696
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:05 PM Revision b53d9940 (git): * 2012-01-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:05 PM Revision 5eac5644 (git): * lib/rexml/parsers/baseparser.rb: rexml BaseParser uses
- instance_eval unnecessarily on listener add.
patch from Charles Nutter. [Bug #5696] [ruby-core:41437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:48 AM Revision c5335bd1 (git): * README: add comment for Git user. patch from Arun Agrawal.
- * README.ja: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:16 AM Revision a48e727f (git): merge revision(s) 33343:
- * test/rexml/test_sax.rb: add require rexml/document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:12 AM Revision 31cf6801 (git): merge revision(s) %s: 33757:33758
- * include/ruby/defines.h (FLUSH_REGISTER_WINDOWS): move sparc asm code
to a separete file sparc.c for preventing inlining optimization.
Patched by Jurij Smakov. [Bug #5244] [ruby-core:40685]
* sparc.c (rb_spar... -
07:39 AM Feature #5826: When the RUBY API_VERSION will be increased?
- Ruby 2.0 should be new and different and not care about 1.9.x
So I think +1 here from me, because it feels consistent with the version.
But matz will decide how he wants to have it. :) -
07:38 AM Feature #5825: Sweet instance var assignment in the object initializer
- Is this even possible with the Parser?
It would eliminate a few lines of code.
Also, I am not sure if this violates the principle of least matz surprise.
If I initially see
~~~ruby
def initialize(@name, @age, @location)
~~~... -
01:54 AM Feature #5825: Sweet instance var assignment in the object initializer
- Alexey Muranov wrote:
> +1, why only initialize?
It's just too common case. It could work for other methods as well. -
07:01 AM Revision 966d1f89 (git): * thread.c: changed documentation for "thread-local" variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:59 AM Bug #5833: [mingw] trivial patch for thread.c build warning
- > Below is a trivial patch that fixes the warning on MinGW. The patch successfully builds and tests with MinGW and Windows SDK on Win7 32bit. When building on Arch Linux, the patched build gives the same `make test && make test-all` resu...
-
04:42 AM Bug #5833 (Closed): [mingw] trivial patch for thread.c build warning
- When building with MinGW (not Windows SDK) on Win7 I get the following:
compiling ../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c
../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c: In function 'rb_fd_rcopy':
../../... -
06:53 AM Revision 9ecd19a7 (git): * process.c: Fix typo. patch from Aviv Ben-Yosef.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:59 AM Feature #5809: Benchmark#bm: remove the label_width parameter
- Yui NARUSE wrote:
> If your suggestion is to provide easy way to pretty enough benchmark
method, how about following:
Nice! That could be a new and concise way to do benchmarks (although it
might be less flexible).
My su... -
04:54 AM Revision 0239882c (git): merge revision(s) 34108:
- * ext/readline/readline.c (Init_readline): libedit check
rl_getc_function only when rl_initialize() is called, and
using_history() call rl_initialize(). This assignment should be
placed before using_history(... -
04:48 AM Revision 379a35b8 (git): merge revision(s) 33566:
- * tool/rbinstall.rb (install_recursive, bin-comm): split mere
string not path name. [ruby-core:40462] [Bug #5492]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:45 AM Revision c38dec6d (git): * tool/merger.rb: allow r0123 style revision number.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:42 AM Revision d838b0d0 (git): merge revision(s) 33556:
- * win32/Makefile.sub (CONFIG_H): have stdint.h if VC2010.
[Bug #5243]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:41 AM Revision 0b217230 (git): merge revision(s) 34190:
- * tool/merger.rb (#version_up): version.h date should be Japanese
locale date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:39 AM Revision f9042329 (git): * 2012-01-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:39 AM Revision b60a01db (git): * tool/merger.rb (#version_up): version.h date should be Japanese
- locale date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:37 AM Revision bade2a2d (git): merge revision(s) 33577:
- * configure.in: check -fno-omit-frame-pointer acceptance and usage
under MinGW. [ruby-core:39957] [Bug #5407]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:22 AM Revision b3b56503 (git): * 2012-01-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:22 AM Revision 398a718d (git): merge revision(s) 33472:
- ------------------------------------------------------------------------
r33472 | xibbar | 2011-10-17 13:33:57 -0400 (Mon, 17 Oct 2011) | 4 lines
Tue Oct 18 02:24:19 2011 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/core.rb (Que... - 01:05 AM Revision 275e7841 (git): * 2012-01-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:05 AM Revision 7444bbac (git): merge revision(s) 33532:
- * include/ruby/ruby.h (SIZE_MAX): define SIZE_MAX if not defined.
patched by The Written Word Inc. [ruby-core:40422] [Bug #5489]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34185 b2dd03c8-39d4-4d8f-98ff-82... - 01:00 AM Revision b588fc2f (git): * 2012-01-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:00 AM Revision 6bdde0e5 (git): merge revision(s) 33468:
- * ext/pty/pty.c (pty_check): should return nil until the child
terminates or stops. [ruby-dev:44600] [Bug #2642]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:27 AM Revision 9e736114 (git): * 2012-01-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:27 AM Revision d0ad683b (git): merge revision(s) 33030:
- * thread.c (update_coverage): skip coverage count up if the current
line is out of the way. rb_sourceline() is unreliable when source
code is big. [ruby-dev:44413]
* test/coverage/test_coverage.rb: add a te... - 12:09 AM Revision 60f63dc3 (git): * 2012-01-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:09 AM Revision 8d82657a (git): merge revision(s) 33693:
- * thread_pthread.c (gvl_yield): don't prevent concurrent sched_yield().
[Bug #5130] [ruby-core:38647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/02/2012
- 11:55 PM Revision 27fd7ee4 (git): * 2012-01-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:55 PM Revision 496e9a7b (git): merge revision(s) 33630:
- * win32/configure.bat: disable delayed expansion of enironment variable.
[Bug #5517] [ruby-core:40531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:41 PM Feature #5825: Sweet instance var assignment in the object initializer
- I think most of the time you need to parse or check your arguments, in which case this syntax would not be practical.
Otherwise, you could use Struct to avoid the duplication:
~~~ruby
class Me < Struct.new(:name, :age, :location)
e... -
08:40 AM Feature #5825: Sweet instance var assignment in the object initializer
- +1, why only initialize?
-
03:45 AM Feature #5825: Sweet instance var assignment in the object initializer
- +1. Common use case.
-
04:39 PM Bug #5832 (Closed): 意図しないブロック渡しが行われる
- =begin
辻本です。
invoke_block_from_cの呼び出しの際に渡していたブロックが
VM loopから続けて呼び出される別のメソッドにも渡されてしまうケースがあります。
$ ./ruby -ve "
require 'pp'
require 'pathname'
class <<File
alias realpath_orig realpath
def realpath(*args)
y... - 01:14 PM Revision c093401b (git): * tool/file2lastrev.rb (VCS::detect): Add support for Subversion
- 1.7 which adopted a whole new working directory structure.
* tool/file2lastrev.rb (VCS::detect): Simply use .each instead of
.sort.reverse_each which looks too arbitrary. If you want SVN
to be tried first, then you just have to reg... -
11:54 AM Revision 432a992a (git): * lib/securerandom.rb (random_bytes): use IO#read instead of
- IO#readpartial to make the intent more clear.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:28 AM Revision 519187a2 (git): * vm.c: fix comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:29 AM Revision e98e56e6 (git): * test/ruby/test_object.rb (test_send_with_block): add a normal case.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:25 AM Revision 66f9d5fe (git): * test/ruby/test_object.rb (test_send_with_block): moved from
- bootstraptest/test_flow.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:13 AM Revision 7d9fe82b (git): * lib/test/unit/parallel.rb: use pack("m0") instead of
- pack("m").gsub("\n","").
* lib/test/unit.rb (Test::Unit::Runner::Worker#run): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:08 AM Revision 38cee6b4 (git): * lib/test/unit.rb (Test::Unit::Runner::Worker#run): use
- File.basename with suffix instead of gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:56 AM Revision 3c969a7c (git): * 2012-01-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:56 AM Revision bb28d902 (git): * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): find may
- return nil and nil can not dup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:55 AM Bug #5777: class_eval/module_eval works differently when given a string than when given a block in 1.9.2 and 1.9.3
- As per the documentation,
-
02:58 AM Bug #5831 (Rejected): URI.extract not properly extracting URIs with trailing slash followed by single quote
- I have example failing test cases here:
https://gist.github.com/1547904
Here is my use case. I am looking to extract URIs from emails. It has been recommended to use Nokogiri and that is just fine if the email is in HTML. But if th...
01/01/2012
-
10:38 PM Bug #5559: Intermittent Seg fault when using net-ssh
- Dave Ungerer wrote:
> There's some chance that this is the same issue as:
> ...
I do not know if just reinstalling ruby will be enough. I had seg faults with ruby 1.9.3p0, and i could fix it by following
http://www.christopherirish.co... -
08:30 AM Bug #5559: Intermittent Seg fault when using net-ssh
- There's some chance that this is the same issue as:
http://bugs.ruby-lang.org/issues/4373
In which case it's not a Ruby issue, but a Macports issue. Follow these steps:
rvm remove 1.9.3
manually delete ~/.rvm/gems/ruby-1.9.3* (not... -
12:26 PM Bug #5637 (Closed): warnings of shellescape
- This issue was solved with changeset r34166.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/shellwords.rb (Shellwords#shellescape): Drop the //n fl... -
06:59 AM Bug #5830: "".byteslice(0) != "".byteslice(0, 0) - On Dec 31, 2011, at 3:32 AM, Brian Ford wrote:
> ----------------------------------------
> Bug #5830: "".byteslice(0) ! - 03:26 AM Revision 1cf47c4c (git): * 2012-01-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:26 AM Revision d367b1b9 (git): * lib/shellwords.rb (Shellwords#shellescape): Drop the //n flag
- that only causes warnings with no real effect. [Bug #5637]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:35 AM Feature #2340: Removing YAML/Syck
- The error is not in our YAML file. We are using the same code to dump our yaml file with Ruby 1.9.3 as we used to use with Ruby 1.8.6
The problem is that psych does not deal well with recursive data structures - specially when they ar...
12/31/2011
-
11:48 PM Feature #5820: Merge Onigmo to Ruby 2.0
- POSIX 文字クラスを ASCII に限定しないオプションの追加と、大文字小文字問題の修正パッチを作成しました。
特に問題なければ、Onigmo本体に反映したいと思います。 -
09:22 PM Feature #2340: Removing YAML/Syck
- Zeno Davatz wrote:
> Please take good care when you introduce a new default YAML engine to Ruby 1.9.3 so people who have been using syck for 10 years will not be waked by an avalanche of changes. Currently using Psych as a drop-in repla... -
06:31 PM Feature #2340: Removing YAML/Syck
- Please take good care when you introduce a new default YAML engine to Ruby 1.9.3 so people who have been using syck for 10 years will not be waked by an avalanche of changes. Currently using Psych as a drop-in replacement for syck will _...
-
05:55 PM Bug #5830 (Rejected): "".byteslice(0) != "".byteslice(0, 0)
- It's spec.
It follows String#slice's behavior; it returns "" for str.slice(str.length, 0).
irb(main):005:0> ["a".slice(1), "a".slice(1, 0)]
=> [nil, ""]
-
05:32 PM Bug #5830 (Rejected): "".byteslice(0) != "".byteslice(0, 0)
- Is this a bug?
See https://github.com/ruby/ruby/blob/069f7ec90a6ef/string.c#L4091 vs https://github.com/ruby/ruby/blob/069f7ec90a6ef/string.c#L4035-4036
Thanks,
Brian -
03:26 PM Feature #5825: Sweet instance var assignment in the object initializer
- I liked this 1.8-specific trick:
~~~ruby
define_method(:intialize){|@foo, @bar|}
~~~
but it was abondoned for any reason. -
02:25 AM Feature #5825: Sweet instance var assignment in the object initializer
- +1 - too common use case
-
02:20 AM Feature #5825: Sweet instance var assignment in the object initializer
- Would be nice, and should be able to coexist with normal parameters:
~~~ruby
def foo(bar, @baz, quux = @moomin)
…
end
~~~
And so on. What about splat- and block arguments? It gets a little ugly:
~~~ruby
def foo(bar, *@baz, ... -
02:32 PM Bug #5829: /dl/test_cptr.rb Segmentation fault on Ruby 1.9.3 P0
- mkmf log of dl
-
02:31 PM Bug #5829 (Closed): /dl/test_cptr.rb Segmentation fault on Ruby 1.9.3 P0
- Hi Sir,
I compiled Ruby 1.9.3 P0 with MinGW64 (GCC 4.6.1) under Windows 64, and when running test-all ,the Segmentation fault occurs again on test dl:
.........C:/msys/1.0/home/beta/ruby-1.9.3-p0/test/dl/test_cptr.rb:84: [BUG] Segm... -
10:06 AM Bug #5828 (Closed): Non anonymous classes can't be frozen, cloned and then inspected
- =begin
If you assign a class to a constant (that is, it isn't anonymous), and you freeze it and then clone it, you can't call to_s on it.
MyClass = Class.new ; MyClass.freeze.clone.to_s
RuntimeError: can't modify frozen Clas... -
08:04 AM Revision 069f7ec9 (git): Fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:46 AM Bug #5390: YAML.load が、正しく解析できないエンコーディングの文字列も受け付けてしまう
YAML::ENGINE.yamler が syck のみ再現します。
ruby1.9.2 をお使いの場合は require 'yaml' する前に require 'psych' するか YAML::ENGINE.yamler = 'psych' すると以下のようにPsych::SyntaxErrorとなります。
---- ruby 2.0.0dev
$ cat bug_5390.rb
# coding: Shift_JIS
require...-
01:23 AM Feature #5361: Lice?
- $B$"$$$6$o$G$9!#(B
byteslice$B$H$$$&%a%=%C%IL>$@$H(Bbytes lice$B$HFI$a$F$7$^$C$F%$%1$F$J$$$H$$$&$3$H$N$h$&$G$9$,!"(B
alias$B$G(Bbyte_slice$B$H$$$&%a%=%C%I$rMQ0U$9$k$N$O$$$+$,$G$7$g$&$+!#(B
$BF1$8$h$&$JM}M3$GL>A0$,JQ$... -
01:06 AM Feature #5361: Lice?
- I'm proposing patch on [ruby-dev:45068]
-
12:23 AM Feature #5826 (Closed): When the RUBY API_VERSION will be increased?
- I think RUBY_API_VERSION should be 2.0.0 for Ruby2.0.0.
In other hand, some people might think it should stay 1.9.1 becouse Ruby2.0.0 will have backward compatibility with 1.9.
12/30/2011
-
11:39 PM Feature #5820: Merge Onigmo to Ruby 2.0
- すみません。大文字小文字の問題は、Onigmo 5.11.4でcase-insensitiveなBM法を
導入したときに混入したバグと判明しました。(どう修正すべきかまだ分かっていませんが。)
これが修正できれば、/a で POSIX 文字クラスを ASCII に限定しないオプションと合わせることで、
非互換点は解決できそうです。 -
11:03 PM Feature #5820: Merge Onigmo to Ruby 2.0
- Yui NARUSE wrote:
> この状況は鬼雲でも変わりませんから、そのような形態に移行するのは不可能なんじゃないかと思います。
同意見です。エンコーディング周りの変更もそう簡単にはマージできそうにないですし。
> ...
Rubyのビルドすらしたことのない人がコミッタになるのは互いの不幸の元ではないかと。
> 既定路線では 2.0 では非互換を導入しないという予定ですので、変更されない場合は 2.0 ではマージできない、
> ...
なる... -
07:41 PM Feature #5820: Merge Onigmo to Ruby 2.0
- Motohiro KOSAKI wrote:
> ただ将来的には libonigmo.so を動的にリンクするだけで済むような形態に移行できたらなあと
> ...
Ruby は Ruby 文法挙動オプション(コンパイルオプション)を指定した鬼車を用いているので、
普通のバイナリではたとえソースが一致していてもダメです。
この状況は鬼雲でも変わりませんから、そのような形態に移行するのは不可能なんじゃないかと思います。
> k-takataさんと
> ...... -
03:37 PM Feature #5820: Merge Onigmo to Ruby 2.0
- POSIXブラケットは、Perlでは/a指定時にはASCII範囲に限定されるので、Onigmoではそれに合わせてあります。
個人的にはあまり変更したくないのですが、変更すべきでしょうか。
変更するとしたら、挙動オプションを1つ追加して、Ruby文法の場合はそれを有効にすることになると思いますが。
残りの問題は未調査です。 -
11:07 PM Feature #5825: Sweet instance var assignment in the object initializer
- I like it. No stupid assigns.
-
10:49 PM Feature #5825 (Assigned): Sweet instance var assignment in the object initializer
- I'm very excited about this feature in CoffeeScript, and think it might be a nice-to-have thing in Ruby 2.0.
That's how I think it would look like:
~~~ruby
class Me
def initialize(@name, @age, @location); end
end
~~~
So we... - 10:25 PM Revision e4513cbe (git): * 2011-12-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:25 PM Revision 82ab1e18 (git): * thread.c (rb_barrier_waiting): save the number of waiting threads
- in RBASIC()->flags. [ruby-dev:45002] [Bug #5768]
* thread.c (rb_barrier_wait): increment and decrement around
rb_mutex_lock, and use rb_barrier_waiting().
* thread.c (rb_barrier_release): use rb_barrier_waiting().
* thread.c (rb_bar... -
10:25 PM Revision 035e4949 (git): * vm.c (vm_exec): add guard to prevent optimization for LLVM clang.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:51 PM Bug #5824: Interpreter Crashes when using OmniAuth - To setup Google, you'll need to go to the following URL:
https://code.google.com/apis/console
To setup Twitter, you'll need to go to the following URL:
http://developer.twitter.com
To setup FaceBook, you'll need to fo to the followin... -
08:13 PM Bug #5824 (Third Party's Issue): Interpreter Crashes when using OmniAuth - Ruby interpreter is crashing when using the OmniAuth with Google, Twitter, and Facebook. This can be reproduced with Ruby 1.9.3p6. However, things work as expected using Ruby 1.9.2p312. I'm attaching a sample Rails project as well as ...
-
08:21 PM Bug #5401: Ruby 1.9.3 interpreter crash - Kenta Murata wrote:
> I cannot reproduce this issue because therubyracer isn't able to install on my environment, Mac OS X 10.7 with Xcode 4.1.
> ...
Kenta, I was able to install the therubyracer successfully using Xcode 4.2 when I log... -
08:15 PM Bug #5401: Ruby 1.9.3 interpreter crash - Shota Fukumori wrote:
> are you using openssl which bundled with OSX? if not, please tell what (like: installed by macports, homebrew, etc)
I'm using OpenSSL installed from MacPorts.
-
05:18 PM Bug #5355: Sync_mにBug #5195やBug #5258と同様のバグ
- スレッドまわりは振ってくれていいですよ。ほかに誰も見てくれなさそうだし。ただあからさまに優先度低そうなやつは暇なときかリリース近いときしか作業できませぬ
-
05:10 PM Bug #5355: Sync_mにBug #5195やBug #5258と同様のバグ
- #5258 とおなじく小崎さんにAssignしますよ
-
05:07 PM Bug #5125 (Closed): obj.send() documentation issue
- This issue was solved with changeset r34161.
Chris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_eval.c (rb_f_send): fix [Bug #5125] [ruby-core:38633] -
08:07 AM Revision 85bc3bdb (git): * vm_eval.c (rb_f_send): fix [Bug #5125] [ruby-core:38633]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:04 AM Revision b906a46e (git): * lib/matrix.rb (symmetric?): Trivial optimization
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:56 AM Revision cae12e5d (git): * 2011-12-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:56 AM Revision 52a70d99 (git): * vm_core.h: Fix comment about arg_opts of iseq and some typos
- * doc/re.rdoc: Rdoc small fixes
* iseq.c: Fix comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:55 AM Revision f965d513 (git): * 2011-12-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:55 AM Revision 6c38e611 (git): * vm_core.h: Fix comment about arg_opts of iseq and some typos
- * doc/re.rdoc: Rdoc small fixes
* iseq.c: Fix comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/29/2011
-
10:42 PM Bug #5822 (Closed): testunit に -j オプションを渡すと稀にテストを実行せずに終了する
- This issue was solved with changeset r34155.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit.rb (Test::Unit::Runner::Worker#_run_parallels... -
01:08 PM Bug #5822 (Closed): testunit に -j オプションを渡すと稀にテストを実行せずに終了する
- make test-all TESTS="-j2 ruby/test_require.rb"
のように test-all の引数に -j と1ファイルだけ与えると、稀にテストをひとつも実行せずに終了することがあります。
@tasks が空になった瞬間に worker が全て :prepare または :ready だと実行中の worker が居ないと判断して終了してしまうようです。
以下のような変更で一応発生しなくなりました。一応というのは status... -
01:42 PM Revision 59130ced (git): * lib/test/unit.rb (Test::Unit::Runner::Worker#_run_parallels): fix
- premature exit when all workers' status are :ready or :prepare.
[ruby-dev:45061] [Bug #5822]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:03 PM Feature #5663: Combined map/select method
- =begin
Nobuyoshi Nakada wrote:
> What about:
> (1..10).grep(->(i){i.even?}){|i|i+1}
> or
> (1..10).grep(:even?.to_proc){|i|i+1}
This looks smart. One can also write it as
(1..10).grep((proc &:even?), &:succ)
but that ... -
10:38 AM Bug #5819 (Assigned): Windowsで空のドライブのルートディレクトリに対するFile.stat が失敗する
-
02:21 AM Bug #5819 (Closed): Windowsで空のドライブのルートディレクトリに対するFile.stat が失敗する
- Windows Vista32bit版上の 1.9.3-p0,1.9.2-p290,1.8.7-p330で
File.statが失敗します。(すべてActiveScriptRubyパッケージで確認)
また、Vista 32bit + ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mingw32]
では成功しました。
ここでF:ドライブは ファイル/サブディレクトリが一切無い空っぽのFAT16の
USBドライブ(エ... -
04:23 AM Feature #5820: Merge Onigmo to Ruby 2.0
- > Ruby 1.9 では正規表現エンジンや M17N の基盤として Oniguruma を用いています。
> ...
現状 onigurumaのupstreamは活動が止まっているという認識なので乗り換え自体は賛成です。
ただ将来的には libonigmo.so を動的にリンクするだけで済むような形態に移行できたらなあと
思っており(実際にディストリからそういう要望をつい最近受けたばかりであるし)、k-takataさんと
今後どのような形態で協力していくのか一回お話し... -
02:44 AM Feature #5820: Merge Onigmo to Ruby 2.0
- = 現状の非互換について
Rubyへの取り込み方:
cd Onigmo
cp reg{comp,enc,error,exec,parse,syntax}.c reg{enc,int,parse}.h ~/ruby
cp oniguruma.h ~/ruby/include/ruby/
Onigmo: edf9df1cefc28472085a857116153529253ffab5 (tmp/ruby-2.0.x)
Ruby: r34150
> ... -
02:42 AM Feature #5820 (Closed): Merge Onigmo to Ruby 2.0
- Ruby 1.9 では正規表現エンジンや M17N の基盤として Oniguruma を用いています。
これを 2.0 では Oniguruma の改造版である、k-takata さんの Onigmo に置き換えようという話です。
https://github.com/k-takata/Onigmo/tree/tmp/ruby-2.0.x
この取り込みによる影響は以下の通りです。
* 100%互換 (既存のテストが全て無修正で通る)
* いくつかの新機能 ... -
02:22 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
- Any update on the status of this request being accepted into Ruby trunk? Thanks.