Activity
From 03/05/2012 to 03/11/2012
03/11/2012
-
11:59 PM Bug #5570: Encoding of environment variables on Windows
- On Sun, Mar 11, 2012 at 15:36, Yui NARUSE <naruse@airemix.jp> wrote:
>
> Issue #5570 has been updated by Yui NARUSE.
>
> Status changed from Open to Rejected
>
> Ruby uses AreFileApisANSI() ? GetACP() : GetOEMCP() on Windows... -
11:36 PM Bug #5570 (Rejected): Encoding of environment variables on Windows
- Ruby uses AreFileApisANSI() ? GetACP() : GetOEMCP() on Windows, not environment variables.
-
11:35 PM Feature #6129 (Closed): String#each_lineにおけるmemmem()の利用
- memmem()というGNU拡張のライブラリ関数がありますが、string.cのrb_str_each_line()で可能であればこのmemmem()を利用する事を提案します。
次のベンチマークを実行しました。
require 'benchmark'
str = "hogehifuga" * 100_0000
Benchmark.bm do |x|
x.report do
str.each_line("hi") {}
end... -
10:37 PM Revision 48b5b163 (git): * lib/tmpdir.rb: update document for changing
- FileUtils.remove_entry_secure to FileUtils.remove_entry.
* NEWS: add incompatiblity note for lib/tmpdir.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:36 PM Bug #5846 (Closed): JSON.parse with :object_class causes SEGV
- This issue was solved with changeset r34971.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/json: Merge 164a75c8bd2007d32c4d7665d53140d8fc126dcd.
... -
10:19 PM Revision bcb9e567 (git): * lib/tmpdir.rb (Dir.tmpdir): should not use world-writable but
- non-sticky directory.
* lib/tmpdir.rb (Dir.mktmpdir): check the parent directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:04 PM Revision 42437780 (git): * random.c (Init_Random): removed rb_Random_DEFAULT and register as
- mark-object instead of global variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:03 PM Revision b87f2fe1 (git): * random.c (random_s_rand): ensure default PRNG is re-initialized
- after fork. patched by Eric Wong. [ruby-core:41209][Bug #5661]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:52 PM Revision 06279f0e (git): * ext/json: properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:48 PM Revision 1100fdfc (git): * lib/fileutils.rb: remove tailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:53 PM Bug #5577 (Assigned): test/testunit/test_parallel.rb causes NoMethodError when file descriptor is limited to 30.
- とりあえず根本の原因である worker の起動に失敗したときはエラーメッセージを表示して exit 1 するようにしました。 (r34968)
ただ、(ulimit -n 30; make test-all TESTS='test/testunit/test_parallel.rb') は治す前から OS X だと刺さって
timeout 待ちになるのでそこを調査してます。
lib/test/unit.rb:464 の while _io=IO.sele... -
05:28 PM Bug #5577 (Closed): test/testunit/test_parallel.rb causes NoMethodError when file descriptor is limited to 30.
- This issue was solved with changeset r34968.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit.rb: Put error message into STDERR if failed to l... -
06:36 PM Bug #4044 (Feedback): Regex matching errors when using \W character class and /i option
-
06:29 PM Bug #5684 (Rejected): [[Ruby 1.9:]] Socket doesn't respect default external encoding
-
06:01 PM Bug #6128 (Rejected): Thread#run does not work within signal handler
- trap handler (registered block) run on main thread. So Thread#run for main thread doesn't work.
You should use other ways to communicate trap handler and main thread, for example, Queue.
$q = Queue.new
trap(:INT){$q.push nil}... -
12:10 PM Bug #6128 (Rejected): Thread#run does not work within signal handler
- If I stop Thread.main, calling Thread.main.run in a signal handler does not wake up the main thread.
Please see this gist with a simple reproducible example:
https://gist.github.com/2014773
- 05:42 PM Revision 966eacca (git): * 2012-03-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:42 PM Revision 199d1fa9 (git): Add missing files of r34971,
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:35 PM Bug #6046 (Third Party's Issue): Berkeley DB dbm_open in libc is called even if --with-dbm-type=gdbm_compat is specified on FreeBSD
- 田中さんが 3rd party issue で良いといったので,
このチケットは 3rd party issue. -
05:27 PM Bug #5939 (Rejected): ActiveSupport::Callbacks で SEGV
- では一旦Rejectしておきます。
-
05:25 PM Bug #5939: ActiveSupport::Callbacks で SEGV
- この現象ですが 2/16 に 1.9.3p125 を使うようにしてから現在まで再現はしていません。
-
05:26 PM Bug #5932: gc_mark_children で SEGV が発生
- #5939 同様に 2/16 以降 1.9.3p125 を使うようにしてから再現していません。
-
05:24 PM Bug #5985: miniruby skews "make benchmark" results
- I'll change it.
-
05:20 PM Bug #5914 (Rejected): Calling extend with an anonymous module requires use of parentheses
-
05:18 PM Bug #5882: segfault in miniruby in ruby1.9.3 crosscompile for ARM
- Nice "ruby -v".
-
05:12 PM Bug #5828: Non anonymous classes can't be frozen, cloned and then inspected
- Tanaka-san says he found the reason of this issue.
-
05:08 PM Bug #5780: test/fileutils/test_fileutils.rb:86: [BUG] Segmentation fault
- We need ARM maintainer.
Endo-san, could you deliver this issue?
-
04:57 PM Bug #5703 (Assigned): Ruby 1.9.3p0 segmentation fault (during autoload?)
-
04:56 PM Bug #5689 (Rejected): class variables inside of instance methods inside of "class_eval"
-
04:47 PM Bug #5627 (Feedback): [ASYNC BUG] thread_timer: select
-
04:45 PM Bug #5616 (Assigned): * /lib/net/imap.rb exception in IMAP.new when get_response returns nil
-
04:41 PM Bug #5544 (Assigned): Lookup scope for class variables in class_eval'd procs changed in 1.9.3
-
04:40 PM Bug #5538: ruby memory error running minitests
- I cannot reproduce this issue.
Please give me the simple way for reproducing.
-
04:38 PM Bug #5527 (Assigned): set_trace_func binding incorrect
- Maybe it is implicit incompatibility between 1.8 and 1.9. No one can find out about it.
What should we do on 2.0?
-
04:36 PM Bug #5708 (Closed): Tempfile.new(pre) with block in test_autoclose
- r34129 で修正済みのようですので閉じます。
-
04:34 PM Bug #5519 (Feedback): Enumerator#next skips c-return hooks
-
04:30 PM Bug #5493 (Assigned): Commit r33357 breaks build on Debian/sparc
-
04:29 PM Bug #5487 (Assigned): popen3 + timeout regression in ruby 1.9
-
04:27 PM Bug #5486 (Assigned): rb_stat() doesn’t respect input encoding
-
04:24 PM Bug #5473 (Assigned): Raise in method_missing causes infinite loop
-
04:23 PM Bug #5468 (Assigned): IPSocket#valid_v6? in ipaddr.rb contains incorrect regexps
-
04:20 PM Bug #5449 (Assigned): nested constant opasign not working
-
04:17 PM Bug #5437: Using fibers leads to huge memory leak
- I'll review it later. however, i think it is libc (malloc) issue...
-
04:15 PM Feature #5431 (Feedback): Check issue with ruby-1.9.3-rc1
-
04:14 PM Bug #5406 (Assigned): inconsistent odd-length array rejection in Hash[*ary] vs Hash[ary]
-
04:12 PM Bug #5385 (Feedback): ~/gems/gems/posix-spawn-0.3.6/lib/posix_spawn_ext.bundle: [BUG] Segmentation fault ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.1.0]
-
04:05 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
- 今日,非同期例外の話が出たので,それと交えて考えます.
多分. -
03:52 PM Bug #5357 (Assigned): Indentation of nested operators should nest
-
03:51 PM Bug #5356 (Assigned): Add ? to ruby-operator-re
-
03:51 PM Bug #5353 (Assigned): TLS v1.0 and less - Attack on CBC mode
-
03:49 PM Bug #5782 (Closed): File.binwrite doc and hash argument
- This issue was solved with changeset r34967.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c: fix rdoc of `IO.binwrite` to show same as `IO.write... -
03:47 PM Bug #5350 (Assigned): WeakRef で謎の NoMethodError
-
03:46 PM Bug #5339 (Assigned): ERB generates extra newlines on Windows
-
03:45 PM Bug #5334 (Assigned): Segmentation fault in InternetExplorer IServiceProvider interface
-
03:39 PM Bug #5328 (Assigned): Splat args are treated wrongly in instance_exec and class_exec
-
03:33 PM Bug #5304 (Assigned): Array#pack handles objects for eg format 'E' differently than 1.8
- Please discuss with matz.
However, I assign this ticket to Murata-san, because matz will ignore assignment.
Murata-san:
Please lead discussion about this issue.
-
03:30 PM Bug #5283 (Assigned): クラスオブジェクトの clone に関する質問
-
03:27 PM Bug #5263 (Assigned): Ruby crash when installing yard-0.7.2 installation
-
03:27 PM Bug #5249 (Assigned): C の Proc の比較のバグ
-
03:24 PM Bug #5238 (Assigned): installation failure if --with-sitedir=no or --with-vendordir=no
-
03:22 PM Bug #5224 (Assigned): Yard seems to be crashing ruby.
-
03:14 PM Bug #4413 (Rejected): Segmentation fault when using deliver for GMAIL SMTP
- Rejecting because we have no feedback.
-
03:14 PM Bug #4820 (Rejected): EXC_CRASH (SIGABRT)
- Rejecting because we have no feedback.
-
03:14 PM Bug #4912 (Rejected): Segmentation fault while HTTPS request
- Rejecting because we have no feedback.
-
03:07 PM Bug #953: 深い入れ子の配列の取り扱いで落ちる
- 頑張ります.
-
02:59 PM Revision b7df3e9f (git): * pack.c (pack_unpack): when unpack('M') occurs an illegal byte
- sequence, output the "=" character and the following character in
the decoded data without any transformation.
[ruby-dev:44875] [Bug #5635]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 PM Revision 4d8d3184 (git): * ext/json: Merge 164a75c8bd2007d32c4d7665d53140d8fc126dcd.
- [ruby-core:41917] [Bug #5846]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:59 PM Revision 9d9ab5a3 (git): * ChangeLog: fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:23 AM Feature #6126: Introduce yes/no constants aliases for true/false
- Hi,
(12/03/11 6:03), Yusuke Endoh wrote:
> I really hate the names "true" and "false" for another reason:
> their length should be equal. For the same reason, I also hate
> yes/no, in/out, width/height, left/right, etc.
... -
06:23 AM Feature #6126: Introduce yes/no constants aliases for true/false
- Off topic.
I really hate the names "true" and "false" for another reason:
their length should be equal. For the same reason, I also hate
yes/no, in/out, width/height, left/right, etc.
I want to see these BUGS were fixed i... -
08:38 AM Revision cfbdbd9b (git): * ChangeLog: fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:28 AM Revision 42b1df08 (git): * lib/test/unit.rb: Put error message into STDERR if failed to lanch
- worker (job) process. [ruby-dev:44802] [Bug #5577]
* lib/test/unit/parallel.rb: If failed to increment_io, exit with code
2. [ruby-dev:44802] [Bug #5577]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34968 b2dd03c8-39d4-4d8f-98ff... -
06:49 AM Revision 605f4bae (git): * io.c: fix rdoc of `IO.binwrite` to show same as `IO.write` except
- it opens file with mode "wb:ASCII-8BIT". [Bug #5782] [ruby-core:42592]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:53 AM Revision 290f7cd7 (git): * 2012-03-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:53 AM Revision ed924d2f (git): cosmetic change.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/10/2012
-
09:40 PM Feature #6126 (Rejected): Introduce yes/no constants aliases for true/false
-
03:37 PM Feature #6126: Introduce yes/no constants aliases for true/false
- @Dave wow, you win.
I just was jealous to this obj-c thing.
Anybody pls close the issue -
02:00 PM Feature #6126: Introduce yes/no constants aliases for true/false
#- You can please yourself in your own programs by
#- adding a couple of lines at the top.
#====================#
class Object
def yes?; self end
def no?; !self end
end
#====================#
def test(proposal_ac...-
01:20 PM Feature #6126: Introduce yes/no constants aliases for true/false
- Egor Homakov wrote:
> 2. do you like it?
false
-
09:20 AM Feature #6126: Introduce yes/no constants aliases for true/false
- @ujihisa hrm.. Are you trying to inject english grammar in the logic? And, What is wrong with
"Didn't you eat sushi?": "Yes I did" = false
There is an ambiguity if you only use x.didnt_you_do_y? instead of x.did_you_do_y? and that is a v... -
08:53 AM Feature #6126: Introduce yes/no constants aliases for true/false
- I don't agree with the suggestion.
yes = either true or false
"Did you eat sushi?": "Yes I did" = true
"Didn't you eat sushi?": "Yes I did" = false
Giving Hai/Iie as true/false makes more sense in this case. Yes/no are ambiguous. -
08:39 AM Feature #6126: Introduce yes/no constants aliases for true/false
- It is good point but would you consider it like if/unless? they do same job but used in proper places.
p 1 if yes
p 2 unless no
Newbies learn rapidly. And 'yes/no' thing will be the first thing they will like in ruby(in the same tim... -
08:32 AM Feature #6126: Introduce yes/no constants aliases for true/false
- New aliases lead to more code mess and mixing yes/no and true/false styles. Newbies would get only more confused seeing things like this.
-
07:00 AM Feature #6126: Introduce yes/no constants aliases for true/false
- @sebastian Yes they are for programmers. And there were no need for C/C++/... because assembler commands were very well known among programmers. Is it fair enough?
PLs need to evolve. And move on with standards too.
I don't mind jokes ... -
06:42 AM Feature #6126: Introduce yes/no constants aliases for true/false
- That wasn't offense at all. There was a hype on Twitter about your Borat-like sentences (which were treated positive and funny) so this was a little pinch to them.
Anyway, to say something on topic. I don't like the idea.
"much mor... -
06:21 AM Feature #6126: Introduce yes/no constants aliases for true/false
- References:
http://www.otierney.net/objective-c.html
it's common practice to define constants YES Yes in all languages and it seems widely used.
Plain and straight syntax. It's all about ruby, isn't it? :
puts -> p
null -> nil
... -
05:57 AM Feature #6126: Introduce yes/no constants aliases for true/false
- @sebastian will you forgive me if I ask you to align topic?
-
05:45 AM Feature #6126: Introduce yes/no constants aliases for true/false
- Considering your poor english I'm able to belive that you are not joking.
-
05:29 AM Feature #6126 (Rejected): Introduce yes/no constants aliases for true/false
- I propose to have predefined constants of TrueClass and FalseClass - yes/no accordingly.
Benefits:
1. 'truefalse'.size - 'yesno'.size = 4 (!)
2. much more understandable and reasonable words. Well known by everybody on this planet.
3... -
02:52 PM Revision 3007acfb (git): * st.c: pack tables also generic keys. patched by Sokolov Yura at
- https://github.com/ruby/ruby/pull/84
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 PM Revision a73d958c (git): * st.c: add st_foreach_check for fixing iteration over packed table
- and st_delete_safe. patched by Sokolov Yura at
https://github.com/ruby/ruby/pull/84
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 PM Revision efae6194 (git): * st.c: fix packed num_entries on delete_safe. patched by Sokolov
- Yura at https://github.com/ruby/ruby/pull/84
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:33 PM Revision 0934e6c0 (git): * enumerator.c: remove trailing space.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:17 AM Bug #5973: Bus Error in simple project requiring YARD
- Gabriel Gilder wrote:
> Sorry for the delay, I did not receive any email notification of an update on this thread.
> ...
As I wrote in [ruby-core:42390], ruby 1.9.3-p26 fixes some bugs around LLVM/clang's optimization.
So your issue s... -
12:02 AM Feature #4514: #deep_clone and #deep_dup for Objects
- Marc-Andre Lafortune wrote:
> Shyouhei Urabe wrote:
> ...
See https://github.com/kstephens/red_steak/blob/master/lib/red_steak/copier.rb
The problem is how to control how "deep" a copier should go, which objects need to have identit...
03/09/2012
-
07:21 PM Revision c7c91247 (git): typo fix.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:54 PM Revision 05630f51 (git): * 2012-03-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:54 PM Revision 4dbafb0d (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:20 AM Feature #5096: offer Logger-compatibility for syslog ext
- Ugh, I meant "Syslog::Logger comment"
-
08:19 AM Feature #5096: offer Logger-compatibility for syslog ext
- I think the implementation is fine, but the Syslog::Logger constant should be updated since the name was changed.
Also, should the rails references be removed or changed? -
07:24 AM Feature #5096: offer Logger-compatibility for syslog ext
- I've attached a patch. It imports sysloglogger as Syslog::Logger. Syslog::Logger is a logger that logs to Syslog, but has the same API as Logger.
-
06:21 AM Bug #5978 (Closed): YAML.load_stream should process documents as they are read
- This issue was solved with changeset r34953.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/psych/lib/psych.rb (parse_stream, load_stream): if a bloc... -
05:52 AM Revision 3c45e3f1 (git): Rescue even if it test_readpartial_locktmp RuntimeError. [Bug#6099]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:34 AM Revision a21d0f72 (git): * enumerator.c (lazy_flat_map): add Enumerable::Lazy#flat_map.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:14 AM Feature #4514: #deep_clone and #deep_dup for Objects
- Hi,
Shyouhei Urabe wrote:
> * It is not always obvious what a "deep" copy is. For instance it is very hard to define one for a Proc instance.
Agreed, but since Procs do no "contain" anything, I'd say Proc#deep_dup == Proc#dup (ex... -
01:13 AM Revision 5452b18f (git): * test/ruby/test_lazy_enumerator.rb: tests for r34951 and r34952.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:30 AM Feature #4890 (Closed): Enumerable#lazy
- This issue was solved with changeset r34951.
Yutaka, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c: add Enumerable#lazy. based on the patch by
In...
03/08/2012
-
09:31 PM Revision 240c9acb (git): * ext/psych/lib/psych.rb (load, parse): stop parsing or loading after
- the first document has been parsed.
* test/psych/test_stream.rb: pertinent tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:21 PM Revision a2e3de1b (git): * ext/psych/lib/psych.rb (parse_stream, load_stream): if a block is
- given, documents will be yielded to the block as they are parsed.
[ruby-core:42404] [Bug #5978]
* ext/psych/lib/psych/handlers/document_stream.rb: add a handler that
yields documents as they are parsed
* test/psych/test_stream.rb: ... -
07:50 PM Bug #6125 (Feedback): Exception Report
- We need more information on the origin of this exception. The more code you provide that recreates the crash the better we will be able to help you.
The information you provided do not under which circumstances this failed.
Please ... -
05:32 PM Bug #6125 (Rejected): Exception Report
- 问题签名:
问题事件名称: APPCRASH
应用程序名: ruby.exe
应用程序版本: 1.9.3.125
应用程序时间戳: 4f3d0330
故障模块名称: msvcrt-ruby191.dll
故障模块版本: 1.9.3.125
故障模块时间戳: 4f3d032f
异常代码: c0000005
异常偏移: 0014cc8a
OS 版本: 6.1.7600.2.0.0.256.48
区域设置 ID... -
07:09 PM Feature #4514: #deep_clone and #deep_dup for Objects
- Some thoughts
* #deep_merge is a Rails method. If you only need Arrays + Hashs to be deep_dup'able, chances are they also should go into Rails.
* It is not always obvious what a "deep" copy is. For instance it is very hard to defin... -
06:35 PM Feature #4514: #deep_clone and #deep_dup for Objects
- No one wants to add anything?
-
07:04 PM Feature #5481: Gemifying Ruby standard library
- Vit Ondruch wrote:
> Eric Hodel wrote:
> ...
And one more note. From Fedora's point of view, there is no difference between gems which originally comes with Ruby and the other Gems maintained by RPM. So it should be easy to merge the "... -
04:23 PM Feature #5481: Gemifying Ruby standard library
- Eric Hodel wrote:
> =begin
> ...
Actually if the default gems will be in some directory which is accessible using GEM_PATH and it is not current GEM_HOME, the user will not be able to uninstall the default gems. Problem solved. No new ... -
11:16 AM Feature #5481: Gemifying Ruby standard library
- Just let it follow URL change.
-
06:50 PM Feature #6096: Parser tweak - curly braces followed by a coma...
- I agree, that would be nice, especially given that it would work the other way around, e.g. assert_equal do_stuff, {}. However, there are contexts in which a block literal followed by a comma is valid, e.g. var1, var2 = my_method { }, :s...
-
05:02 PM Bug #5973: Bus Error in simple project requiring YARD
- Sorry for the delay, I did not receive any email notification of an update on this thread.
I've just tried with ruby 1.9.3p0 and it does work fine. However, I did see the same issue with 1.9.3 in a larger project... sorry, I know that... -
04:34 PM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
- Hiroshi Nakamura wrote:
> I wrote some existing issues of "fake gem" at https://bugs.ruby-lang.org/issues/5481#note-1 which is excerpted from https://bugs.ruby-lang.org/projects/ruby/wiki/StdlibGem.
> ...
Hiroshi,
I am aware of #548... -
11:14 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
- I wrote some existing issues of "fake gem" at https://bugs.ruby-lang.org/issues/5481#note-1 which is excerpted from https://bugs.ruby-lang.org/projects/ruby/wiki/StdlibGem.
Please let us know at #5481 when you find additional issue of e... -
08:19 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
- Just for comparison, I did the same for Arel, but I'm sure you can use other non-bundled gems:
C:\>gem list | find "arel"
arel (2.2.1, 2.0.10)
C:\>ruby -rarel -e "puts Arel::VERSION"
2.2.1 -
08:17 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
- Let's take json for example:
C:\>gem list | find "json"
json (1.6.3, 1.5.4)
C:\>ruby -rjson -e "puts JSON::VERSION"
1.5.4
RubyGems always loads the newest version if not specified otherwise, but it does not apply for gems whic... -
07:53 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby) - On Thu, Mar 08, 2012 at 05:38:05AM +0900, Vit Ondruch wrote:
>
> Issue #6124 has been updated by Vit Ondruch.
>
>
> Yes, the availability of gems in stdlib loadpath is wrong, since everything what is in loadpath is loaded prior ... -
05:42 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
- Anonymní wrote:
> On Wed, Mar 07, 2012 at 10:50:51PM +0900, Vit Ondruch wrote:
> ...
BTW it does not answer the original question :) If they are not in load path, they don't need to be gems and vice versa. -
05:38 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
- Yes, the availability of gems in stdlib loadpath is wrong, since everything what is in loadpath is loaded prior gems. RubyGems loading mechanism is just fallback.
Regarding the backward compatibly, it comes into play only when you use... -
01:53 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby) - On Wed, Mar 07, 2012 at 10:50:51PM +0900, Vit Ondruch wrote:
>
> Issue #6124 has been reported by Vit Ondruch.
>
> ----------------------------------------
> Bug #6124: What is the purpose of "fake" gems in Ruby
> https://bugs.r... -
03:35 PM Revision e7d4e659 (git): * enumerator.c (lazy_initialize, enumerable_lazy): no additional
- arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:30 PM Revision 0b2c4f43 (git): * enumerator.c: add Enumerable#lazy. based on the patch by
- Innokenty Mikhailov at <https://github.com/ruby/ruby/pull/101>
[ruby-core:37164] [Feature #4890]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:26 PM Revision e1606102 (git): * enumerator.c (enumerator_each, generator_each): pass arguments to
- the block with yielder.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:25 PM Revision 0aa05d97 (git): * 2012-03-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 PM Revision e78ff089 (git): * array.c (rb_ary_cat): new function to concat objects into array.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:34 PM Bug #6122: OpenSSL::PKCS7 verify
- # not_after can not later than 2038-01-19 11:14:07
require 'OpenSSL'
class Rsa
attr_reader :key, :cert
@@sha = OpenSSL::Digest::SHA1.new
@@aes = OpenSSL::Cipher.new("aes-128-ofb")
def initialize serial, issuer... - 07:44 AM Revision 729e66b3 (git): * 2012-03-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:44 AM Revision eec65961 (git): * .gdbinit (rb_numtable_entry): update for recent refactoring of
- st_table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/07/2012
-
10:51 PM Bug #6123: Properly gemify BigDecimal
- Happily: #6124
Thank you. -
10:42 PM Bug #6123: Properly gemify BigDecimal
- Vit Ondruch wrote:
> Could you please enlighten me what is the purpose of fake gem then? Even if you install updated BigDecimal from rubygems.org, the bundled version will won unless you use "gem 'bidgecimal'" somewhere in the code. Thi... -
10:27 PM Bug #6123: Properly gemify BigDecimal
- Could you please enlighten me what is the purpose of fake gem then? Even if you install updated BigDecimal from rubygems.org, the bundled version will won unless you use "gem 'bidgecimal'" somewhere in the code. This makes no sense.
-
10:15 PM Bug #6123 (Rejected): Properly gemify BigDecimal
- This is not only for bigdecimal but also io-console, json, minitest, psych, rake, and rdoc.
It is because they are not true gem, they are fake gem. -
10:06 PM Bug #6123: Properly gemify BigDecimal
- Please note that I picked the BigDecimal just randomly. It applies to all other "gems" which are currently bundled in Ruby.
-
10:05 PM Bug #6123: Properly gemify BigDecimal
- Better to say, the expected behavior is:
$ ruby --disable-gems -e "puts require('bigdecimal')"
-e:1:in `require': cannot load such file -- bigdecimal (LoadError)
from -e:1:in `<main>'
-
10:02 PM Bug #6123 (Rejected): Properly gemify BigDecimal
- BigDecimal is available as a gem, however, the version in Ruby is crippled. It just tries to mimic gems, but it is not gem. So currently:
$ ruby -e "puts require('bigdecimal')"
true
$ ruby --disable-gems -e "puts require('bigdecimal... -
10:50 PM Bug #6124 (Closed): remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
- As I tried to point out in #6123, the "fake" gems which are distributed with Ruby breaks user's expectations. The following example should fail:
$ ruby --disable-gems -e "puts require('bigdecimal')"
true
However, it is not failing... -
10:37 PM Bug #6120: Float and BigDecimal bug in remainder in corner cases
- Ruby's math should portably follow SuS. [ruby-core:28206]
You can fix it for Float/Math if it is obviously wrong and the right implementation is clear.
BigDecimal is little another world and it is up to mrkn. -
02:51 PM Bug #6120 (Closed): Float and BigDecimal bug in remainder in corner cases
- Currently:
4.2.remainder(+Float::INFINITY) # => 4.2, ok
4.2.remainder(-Float::INFINITY) # => NaN, should be 4.2
# (same with all signs reversed)
Reasons the remainder should be 4.2 and not NaN:
1) foo.remainder(bar) ... -
10:25 PM Bug #6121 (Assigned): [[Ruby 1.9:]] Etc.sysconfdir hides sysconfdir on windows
-
03:16 PM Bug #6121 (Closed): [[Ruby 1.9:]] Etc.sysconfdir hides sysconfdir on windows
- While checking on this issue https://gist.github.com/1981223 I found out that Etc.sysconfdir is inconsistently behaving between Linux and Windows.
This issue is related to rubygems also: https://github.com/rubygems/rubygems/pull/291
... -
08:10 PM Bug #6122 (Closed): OpenSSL::PKCS7 verify
- # not_after can not later than 2038-01-19 11:14:07
# verify can pass wrong certificate
require 'OpenSSL'
class Rsa
attr_reader :key, :cert
@@sha = OpenSSL::Digest::SHA1.new
@@aes = OpenSSL::Cipher.new("aes-128-ofb")... -
01:45 PM Revision 0c8ae916 (git): * lib/xmlrpc/client.rb (module XMLRPC): fix typo.
- * test/xmlrpc/test_client.rb (test_async_call): add test for
XMLRPC::Client#call_async to check above fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:10 AM Feature #5922: Migrate equal? to identical?
- =begin
The name of #equal? is part of a pattern.
In Common Lisp:
(eq a b) ; most strict
(eql a b)
(equal a b)
(equalp a b) ; least strict
In Ruby:
a == b # least strict
a.eql? b
a.equal? b # most stri... -
10:49 AM Bug #6099 (Assigned): [BUG] probable buffer overflow
- Masaki Matsushita wrote:
> IO#readpartialにも同様の問題があるようです。
> ...
IO#readpartial は
* It blocks only if <em>ios</em> has no data immediately available.
* The later means that readpartial is nonblocking-flag insensitive.
* It blocks... -
10:13 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- たいして長くないので添付じゃなくインラインにしますが、
SNDCTL_DSP_SPEED = 0xc0045002 - 0x1_0000_0000
SNDCTL_DSP_STEREO = 0xc0045003 - 0x1_0000_0000
SNDCTL_DSP_SETFMT = 0xc0045005 - 0x1_0000_0000
AFMT_S16_LE = 0x00000010
open("/dev/dsp", "w:ASCII-... -
08:41 AM Feature #5221 (Closed): LoadEerror#path
- Applied in r34938
-
08:21 AM Feature #5221: LoadEerror#path
- I agree.
-
08:30 AM Feature #3090 (Closed): xml-rpc support for i8 data type
- This issue was solved with changeset r34936.
Stas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/xmlrpc/parser.rb: support i8 types. Thanks Stas Kelvich!
... -
08:26 AM Feature #5096: offer Logger-compatibility for syslog ext
- The repository is here: https://github.com/seattlerb/sysloglogger
I will attach a patch to this issue soon. -
08:22 AM Bug #5354 (Closed): Module#remove_const documentation is confusing
- Fixed by Nobu in r29519. Thanks for reporting this issue.
-
08:07 AM Bug #5324 (Closed): Bug in CreateChild in win32.c
- Duplicate of #5325
-
08:07 AM Bug #5323 (Closed): Bug in CreateChild in win32.c
- Duplicate of #5325
-
07:45 AM Bug #5660 (Closed): xmlrpc/client.rb issue
- This issue was solved with changeset r34935.
Nathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/xmlrpc/client.rb: assume servers that do not send a Conte... -
07:43 AM Bug #5252 (Closed): Segmentation Fault
- Closing this, as apparently due to faulty proprietary C extension.
-
07:30 AM Revision 075d98c7 (git): * error.c (rb_load_fail): should honor encoding.
- * load.c (load_failed): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:33 AM Bug #6119: Usage of CPPFLAGS during configure result in duplicated values for RbConfig CPPFLAGS information
- I bet $CPPFLAGS and $cppflags are doing a two step. See if you have something similar to the following (from trunk) in the `lib\ruby\1.9.1\i386-mingw32\rbconfig.rb` file:
grep "S\[\"CPPFLAGS" config.status
S["CPPFLAGS"]="-DFD_SETSIZE... -
04:22 AM Bug #6119 (Closed): Usage of CPPFLAGS during configure result in duplicated values for RbConfig CPPFLAGS information
- When attempted to use FD_SETSIZE preprocesor definition under Windows to increase number of file descriptions, found that configure script replicated it.
A simple configure invoke with `sh configure --enable-shared CPPFLAGS='-DFD_SETS... -
05:22 AM Revision 8e07edf3 (git): * load.c (load_failed): no need to guard fname, it's stored in the exception to be raised.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 AM Revision 81809e27 (git): * ChangeLog: commit miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:26 AM Revision 72de92d1 (git): rb_load_fail
- * error.c (rb_load_fail): use path as a string, not char*.
* internal.h: (rb_load_fail): moved from ruby/intern.h.
* ruby.c (load_file_internal): fname cannot be NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34941 b2dd03c8-39d... -
01:28 AM Revision 293249fb (git): * test/xmlrpc/data/blog.xml: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/06/2012
-
11:49 PM Revision a555b762 (git): updating changelog with ruby-core number
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:38 PM Revision d576a25c (git): * error.c (rb_loaderror_with_path): Adding the missing file as an
- instance variable to the LoadError exception.
* load.c: call rb_loaderror_with_path so that the missing path is
added to the exception.
* ruby.c: call rb_loaderror rather than raising our own LoadError
exception.
* include/ruby/in... -
11:30 PM Revision c95cfa0a (git): use factory method for constructing Net::HTTP objects
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:30 PM Revision ce2f6986 (git): * lib/xmlrpc/parser.rb: support i8 types. Thanks Stas Kelvich!
- [ruby-core:29246] [Feature #3090]
* test/xmlrpc/test_client.rb: supporting test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:45 PM Revision 9e9264c8 (git): * lib/xmlrpc/client.rb: assume servers that do not send a Content-Type
- header are sending 'text/xml'. Thanks Nathan Leavitt!
[ruby-core:41204] [Bug #5660]
* test/xmlrpc/test_client.rb: supporting test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:40 PM Revision 8029539d (git): * 2012-03-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:40 PM Revision 1ac1163f (git): * test/xmlrpc/test_client.rb: adding a test for performing an XMLRPC
- call.
* test/xmlrpc/data/blog.xml: supporting XML document for the response.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:40 PM Bug #5626 (Closed): io/console: Cannot disable raw mode
-
05:55 PM Feature #6118 (Feedback): Hash#keys_of(values), returns related keys of given values
- Hash#key(value) の複数版がほしいです。
{a: 1, b: 2, c: 3, d: 1}.key(1)
=> :a
というメソッドはあるのですが、
{a: 1, b: 2, c: 3, d: 1}.keys_of(1)
=> [:a, :d]
というメソッドは現状ありません。
Ruby での実装例は以下のような感じになります。
どうでしょうか。
class Hash
def keys_of(*a)
each_... -
04:19 PM Bug #4525 (Closed): Exponential performance when summing Enumerable
- Hi,
Ivo Wever wrote:
> When you sum an Enumerable (using .inject(:+) or in a more verbose fashion), 1.8.7 and 1.9.2 show exponential performance, where JRuby and Rubinius show the expected linear behavior.
This is unrelated to `i... -
04:18 PM Bug #6117 (Closed): Transfers allowed into Fibers that have resumed into other fibers
- Consider the following code:
```ruby
require 'fiber'
def foo
order = []
main_fiber = Fiber.current
a = Fiber.new do
order << 2
x = Fiber.new do
order << 4
main_fiber.transfer
... -
02:48 PM Bug #2788: nil.instance_eval pushes nil onto cref
- test-all also points out that `@@class_level_variable` would then refer to `NilClass`/`FalseClass`/`TrueClass`'s class variables, contrary to other singleton classes. This would be consistent with `class << nil` vs `class << my_string`.
-
02:27 PM Bug #2788: nil.instance_eval pushes nil onto cref
- Behavior is intended, as per tests in bootstraptest/test_eval.rb and [ruby-core:16808], but I'm don't think it's the right way to go, since `nil`, `true` and `false` do have singleton classes.
Koichi, do you agree the following patch ... -
01:46 PM Feature #4234: Hash#default_proc= Doesn't Accept nil Argument
- Changing this to 'feature'.
I'm in favor of this change, with a small change to the doc. The interface should be read:
hsh.default_proc = proc_obj or nil
I think it is indeed not clear how to clear a default_proc. See:
http:/... -
01:32 PM Bug #3844 (Closed): Kernel.methods(false) not documented
- Fixed in r33939. Thank you for reporting this issue.
-
01:20 PM Feature #6079 (Rejected): Hash#each_sorted
- Closing as no implementation can improve on simple `sort.each`.
-
01:09 PM Bug #6106 (Closed): Ruby documentation ambiguous about mixed sign ranges in indexes
- This issue was solved with changeset r34927.
Perry, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (rb_str_aref): Improve rdoc, as per [bug #6106] -
10:11 AM Bug #6116 (Closed): IO#raw {|io| ...} で文字入力がエコーバックしない
- This issue was solved with changeset r34917.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/io/console/console.c (set_rawmode): clear ECHOE and ECHOK
... -
09:56 AM Revision f4cda1e5 (git): merge revision(s) 33251,33259,33424:
- * lib/test/unit/assertions.rb (assert_send): make arguments in
the default message clearer.
* lib/test/unit/assertions.rb (assert_send, assert_not_send):
parenthesize non-empty arguments.
git-svn-id: svn+ss... -
09:47 AM Revision 2fbc01fb (git): Fix typo.
- reported by Nobuhiro IMAI.$
https://twitter.com/no6v/status/176959588531314688
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:44 AM Revision f35fa238 (git): Comment out unused lines.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:24 AM Revision bc6dde94 (git): * parse.y (parser_tokadd_string): escape simple regexp meta
- character termninators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:11 AM Revision a872bd3d (git): merge revision(s) 34927:
- * string.c (rb_str_aref): Improve rdoc, as per [bug #6106]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:09 AM Revision 8a4de7ab (git): * string.c (rb_str_aref): Improve rdoc, as per [bug #6106]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:48 AM Revision 4257124d (git): merge revision(s) 34917:
- * ext/io/console/console.c (set_rawmode): clear ECHOE and ECHOK
bits too.
* ext/io/console/console.c (echo_p): ignore ECHOE and ECHOK bits.
[ruby-dev:45309] [Bug #6116]
* ext/io/console/console.c (co... -
03:40 AM Revision 9f8a7d00 (git): merge revision(s) 33786:
- * ext/io/console/console.c (console_raw, console_set_raw)
(console_getch): optional parameters. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:39 AM Revision 7a208f4b (git): merge revision(s) 33785:
- * ext/io/console/console.c (console_cooked, console_set_cooked):
new methods to reset cooked mode. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:32 AM Revision c7495f99 (git): merge revision(s) 34376:
- * ext/io/console/console.c (io_getch): default delegating method
for StringIO. https://github.com/nobu/io-console/issues/4
* ext/stringio/stringio.c: moved some methods to hidden modules.
git-svn-id: svn+ssh://ci.ru... -
03:31 AM Revision 9ca160c1 (git): merge revision(s) 33172,33968:
- * ext/io/console/console.c (console_set_winsize): remove
unused variable.
* io.c (Init_IO): Mention io/console methods. [Ruby 1.9 - Bug #5602]
* ext/io/console/console.c: Mention that io/console must be required
... -
03:27 AM Revision 0c493edc (git): merge revision(s) 32747:
- * remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:06 AM Revision acc55c25 (git): merge revision(s) 34919:
- * lib/yaml/rubytypes.rb (Exception.yaml_new): fix bug that causes
YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so call the m... -
03:03 AM Revision 383ad674 (git): merge revision(s) 34908:
- * lib/yaml/rubytypes.rb (Exception.yaml_new): fix bug that causes
YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so call the m... -
02:43 AM Revision 0496299e (git): merge revision(s) 34908:
- * ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug
that causes YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so c... -
01:34 AM Bug #6115 (Closed): A block after the do-block without parenthesis
- This issue was solved with changeset r34913.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (block_call): rules for block_call after block_cal... -
01:11 AM Revision dd9569de (git): * ext/io/console/console.c (set_rawmode): clear ECHOE and ECHOK
- bits too.
* ext/io/console/console.c (echo_p): ignore ECHOE and ECHOK bits.
[ruby-dev:45309] [Bug #6116]
* ext/io/console/console.c (console_raw): fix rdoc.
* ext/io/console/console.c (console_set_echo): mentioned about
platform depe... -
12:52 AM Feature #5583: Optionally typing
- Hi,
Koichi Sasada wrote:
> Shugo Maeda wrote:
> ...
Once Matz rejected a proposal of method annotations because he didn't like that methods had such attributes at runtime. It might be acceptable if method annotations have comment-s... -
12:09 AM Bug #6067: Conditional assignment of a nested constant raises a SyntaxError
- One would think it would evaluate similar to:
(A::X = 1 if ! defined? A::X or A::X.nil? ; A::X)
For comparison, these also fail:
ruby -e 'module A; end; p A::X = 2; p A::X ||= 1'
ruby -e 'module B module Inner end end...
03/05/2012
-
11:37 PM Bug #6116 (Closed): IO#raw {|io| ...} で文字入力がエコーバックしない
- 以下のドキュメントにならって、IO#raw で gets したところ入力がエコーバックしませんでした。
Yields +self+ within raw mode.
STDIN.raw(&:gets)
will read and return a line with echo back and line editing.
一方、以下のようにしてみたところ、Debian squeeze だと 1.9.3-p125 と、r34909 ... -
10:59 PM Bug #6115 (Closed): A block after the do-block without parenthesis
- =begin
= ((<pull request 102 by pasberth: A block after the do-block without parenthesis|URL:https://github.com/ruby/ruby/pull/102>))
((<patch|URL:https://github.com/pasberth/ruby/commit/2d6624238aae89110141a8e223f244bf92eb27a9>))
I... -
10:19 PM Revision 2706b60c (git): * lib/xmlrpc/client.rb: switch net/http post2 calls to modern
- `request_post` methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:48 PM Revision 8456c060 (git): only run `test_key` on ruby 2.0.0 or up
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:32 PM Revision 62ffffbe (git): * ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded
- in order to stop method pollution.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:59 PM Feature #6070: The scope of for loop variables
- (2012/03/05 16:10), Shugo Maeda wrote:
> For loops are syntactically close to while loops, but for loops are
> semantically more close to blocks, so I think it's better to make for
> loops consistent with blocks.
I like curre... -
04:23 PM Feature #6070: The scope of for loop variables
- Hello,
2012/3/1 George Koehler <xkernigh@netscape.net>:
> This patch (for_loop_scope_fix_0224.diff) introduces a confusing change. With current Ruby, for loops and loops never have local variables. With this patch, for loops have... -
04:34 PM Revision c46bdadb (git): * parse.y (block_call): rules for block_call after block_call.
- based on a patch by pasberth https://github.com/ruby/ruby/pull/102
[ruby-dev:45308][Bug #6115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:24 PM Revision 45f3651d (git): * parse.y (block_command, block_call): simplified rules.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:17 PM Revision 68ff00d9 (git): * 2012-03-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 PM Revision 0827c384 (git): assert_valid_syntax
- * test/ruby/test_syntax.rb (assert_valid_syntax): new assertion to
validate syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:53 AM Bug #6112 (Closed): String#byteslice、BigMath.#log のコメントの typo など
- This issue was solved with changeset r34899.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/lib/bigdecimal/math.rb: remove description about
... -
11:49 AM Feature #6095: Question about block parameter syntax
- なかだです。
(12/02/27 13:12), Yukihiro Matsumoto wrote:
> 添付のパッチで直りそう。だれか確認してもらえませんか?
よさそうです。r34832のテストは通ることを確認しました。
--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦 -
11:49 AM Feature #6095: Question about block parameter syntax
- まつもと ゆきひろです
添付のパッチで直りそう。だれか確認してもらえませんか?
In message "Re: [ruby-dev:45290] Question about block parameter syntax"
on Sun, 26 Feb 2012 13:59:11 +0900, SASADA Koichi <ko1@atdot.net> writes:
|
| ささだです.
|
| 1.times{
... -
11:49 AM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
- こんにちは、なかむら(う)です。
古いチケットですが、r34507でまた踏んだので蒸し返します。
In message "[ruby-dev:42671] Re: [Ruby 1.9-Feature#3946][Open] Array#packのqQ指定子に機種依存サイズフラグ!を追加"
on Dec.02,2010 21:30:53, <akr@fsij.org> wrote:
> あまりよくわかっていないんですが、これって Q... -
11:49 AM Bug #5952: コマンドラインモードで CGI.new を 2 回実行すると IOError が発生する
- 2012年1月31日9:34 Tomoyuki Chikanaga <nagachika00@gmail.com>:
>
> Issue #5952 has been updated by Tomoyuki Chikanaga.
>
> Category set to core
>
> r29781 以降 Kernel#readlines (ARGF.readlines) で EOF を検出すると stdin を close するようになってい... -
11:49 AM Feature #5896: object representation in rb_enc_vsprintf()
- redmineにコメント書いたんですが、MLと連携されてないように見えるので
こちらにも投稿しときます。
警告については、gccの拡張ですしPRINTF_ARGSを諦めるのどうですか?
拡張した時点でprintf書式に合わないのはしようがないと思います。
--
樽家昌也(Masaya TARUI)
No Tool,No Life.
2012年1月16日22:00 Nobuyoshi Nakada <nobu@ruby-la... -
11:47 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
- 2012/2/23 Martin Bosslet <Martin.Bosslet@googlemail.com>:
> Akira Tanaka wrote:
>> 2012/2/23 Martin Bosslet <Martin.Bosslet@googlemail.com>:
>>
>> > Currently, there's no public C API to create a Bignum.
>> > There is rb_big_pack... -
11:47 AM Feature #5663: Combined map/select method
- 2012/2/1 Nobuyoshi Nakada <nobu@ruby-lang.org>
>
> Issue #5663 has been updated by Nobuyoshi Nakada.
>
> Yura Sokolov wrote:
> > I often wish to have methods, which likes to `inject` but do use return
> value of block for next i... -
11:46 AM Bug #5915: Array#join with explicit nil should not use $,
- Array#join actually tries three coercions on elements: #to_str, followed by
#to_ary (for nested joins), followed by #to_s.
The separator is coerced with #to_str if it is not nil and not a
String. Note that this matters only for... -
11:46 AM Feature #5873: Adopt FFI over DL - (2012/01/14 12:30), KOSAKI Motohiro wrote:
>> To remove original DL completely, we have to bundle libffi itself
>> wholly.
>
> Why?
I have no idea about the original point and your question.
> Example, openssl is really impor... -
11:46 AM Feature #5893: named return,next...
- Hi,
In message "Re: [ruby-core:42115] Re: [ruby-trunk - Feature #5893][Open] named return,next..."
on Fri, 13 Jan 2012 23:26:36 +0900, Ondřej Bílka <neleai@seznam.cz> writes:
|> Doesn't throw/catch to that already?
|No... -
09:29 AM Revision bc4ef96c (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:11 AM Revision eb1eee03 (git): * ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug
- that causes YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so call the method with the message.
patched by Jingwen Owen Ou <jingweno AT gmail.com>.
... -
07:52 AM Revision a2749dbb (git): * ext/socket/extconf.rb: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:51 AM Revision 842c6f60 (git): * test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): syntax error.
- * test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): call uname
only on linux because it's a workaround for linux only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:40 AM Revision bfba60f8 (git): Remove unused variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:36 AM Revision 1d30263d (git): Fix condition of r34897.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:44 AM Revision 4a6e738a (git): * st.c (unpack_entries): chain entries directly. based on a patch
- by Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:44 AM Revision 4a8c531a (git): * st.c (unpack_entries): use union instead of casted pointer.
- patched by Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Revision 5bd91964 (git): * st.c: use PACKED_ENT and FIND_ENTRY. patched by Sokolov
- Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Revision e5ac1599 (git): * st.c (unpack_entries): reallocate bins if packed array size
- is not same as initial bins size. based on a patch by
Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 AM Revision 697b53d8 (git): * ext/bigdecimal/lib/bigdecimal/math.rb: remove description about
- BigMath#log. patched by Sho Hashimoto [ruby-dev:45307] [Bug #6112]
* string.c (str_byteslice): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:23 AM Bug #6084: Ruby 1.9.3p125 Segfault while running nanoc compile
- I can't replicate with 1.9.3p134 or 1.9.3p155 [i386-mingw32] versions on Win7 32bit. One of my nanoc sites has a Rules file using `erubis`, `redcarpet`, and `colorize_syntax` https://github.com/thecodeshop/ruby/blob/gh-pages/_site_src/Ru...
- 01:16 AM Revision 2a70ec05 (git): * 2012-03-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:16 AM Revision 14e11379 (git): Old linux (at least CentOS 5.6, kernel 2.6.18) wakes up 4.99 sec.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e