Activity
From 05/29/2013 to 06/04/2013
06/04/2013
-
11:52 PM Bug #8303 (Assigned): YAML does not persist Exception#backtrace
-
11:47 PM Bug #8487 (Closed): Fix documentation for Hash(nil)
- This issue was solved with changeset r41066.
Stefan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (rb_Hash): fix docs. patched by Stefan Schüßler.
[... -
09:12 PM Bug #8487 (Closed): Fix documentation for Hash(nil)
- =begin
(({Kernel#Hash(nil)})) returns (({{}})) as said in the documentation: ((*"Returns an empty Hash when arg is nil or []."*)) The example however shows a return value of (({nil})).
=end
-
11:37 PM Bug #8488: Refactor rbinstall.rb for maintenance, clarity, reuse
- Here is a first pass breaking rbinstall.rb into a set of component libraries and reducing the use of global state. Starting to look a bit more like a library, which I think is what we want.
There's no functionality change in this patc... -
09:27 PM Bug #8488 (Rejected): Refactor rbinstall.rb for maintenance, clarity, reuse
- tool/rbinstall.rb is used to install many parts of Ruby at "make install" time, but it has grown to a rather cumbersome size. It also houses some logic that could/should be reused by other implementations, like the default gem installati...
-
11:15 PM Revision 14ec81b0 (git): * bignum.c (rb_big_pow): Don't need to multiply SIZEOF_BDIGITS.
- Use nlz instead of bitlength_bdigit.
(bitlength_bdigit): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:23 PM Bug #8486: Random segmentation fault
- Can you reproduce without rails and ruby 2.0.0-p195
On Tuesday, June 4, 2013, manudwarf (Emmanuel Bourgerie) wrote:
>
> Issue #8486 has been updated by manudwarf (Emmanuel Bourgerie).
>
>
> I forgot to mention : I trie... -
08:33 PM Bug #8486: Random segmentation fault
- I forgot to mention : I tried with ruby 2.0.0 and updated bundle, changed nothing...
-
08:19 PM Bug #8486 (Closed): Random segmentation fault
- Hello,
Before starting, this is my first bug report here, feel free to tell me if I need to add/modify anything.
I came across a weird segmentation fault, and I apologies for not being able to be more precise about what is happenin... - 10:18 PM Revision 4eabe819 (git): * ext/date/date_core.c (d_lite_cmp, d_lite_equal): simplified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:09 PM Revision 551bcc63 (git): * ext/date/date_core.c: fixed a bug [ruby-core:55295]. reported
- by Riley Lynch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:54 PM Revision 091c24d5 (git): * lib/rubygems: Update to RubyGems 2.0.3
- * test/rubygems: Tests for the above.
* NEWS: Added RubyGems 2.0.3 note.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:35 PM Revision 0454c0a2 (git): * doc/marshal.rdoc: Add description of Marshal format.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:32 PM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
- Thanks for accepting it.
I'll check this and other XMLRPC related tickets. (I go traveling in this week.) -
02:06 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
- The new maintainer accepted.
Matz.
-
04:16 PM Revision ed318080 (git): * array.c (Array#+): fix documentation example.
- Patch by Logan Serman. [Fixes GH-324]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:56 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
- duerst (Martin Dürst) wrote:
> I don't think I agree with the proposer. The example looks good, but what about something like:
> ...
I certainly didn't intend for the default value to have some idea of the type of comparison done by th... -
03:51 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
- marcandre (Marc-Andre Lafortune) wrote:
> First of, it's a really bad idea to set the default of a hash to a mutable object:
Yes, I didn't consider the problem of returning the same array for every key, and that would have to be c... -
03:52 PM Bug #8485 (Closed): Incorrect period index for Gregorian Dates at beginning of each CM_PERIOD
- =begin
In Ruby 1.9-2.0 date_core, the year and chronological Julian day of a Date are stored as offsets from an indexed period relative to 0j, -4712-01-01 in the Julian calendar. Each period consists of exactly 194,796 Julian years, i.e... -
03:44 PM Revision cc94db60 (git): merge revision(s) 41014: [Backport #8467]
- * ext/zlib/zlib.c (gzfile_read, gzfile_read_all, gzfile_getc),
(gzreader_gets): check EOF. [ruby-core:55220] [Bug #8467]
* ext/zlib/zlib.c (gzfile_read, gzfile_read_all, gzfile_getc),
(gzreader_gets): check ... -
03:34 PM Revision 21538b21 (git): merge revision(s) 39899:
- * test/ruby/test_require.rb: Remove temporally files in the tests.
* test/ruby/test_rubyoptions.rb: Ditto.
* test/logger/test_logger.rb: Ditto.
* test/psych/test_psych.rb: Ditto.
* test/readline/test_r... -
03:33 PM Revision ee9c279e (git): * lib/irb/lc/ja/help-message: update help messages.
- following r41028. [ruby-dev:46707] [Feature #7510]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:29 PM Feature #8469: ABI checker とか導入しませんか
- >> CI って誰に相談すればいいんですかね。今のツールだと比較対象のバイナリまたは
>> ABI情報をぶっこぬいたXMLファイル群をtarアーカイブしたものを比較対象として
>> どこかにおいておかないといけなくて、1.9.3だとp0からはもう差異があるのはわかってるので
>> 最新のパッチリリースをCIに置きたいところなんですけど。
>
> 誰に、といわれると chkbuild に関しては私でしょうが、
> 後でちょっと見てみます。
>... -
02:29 PM Feature #8469: ABI checker とか導入しませんか
- 2013年6月4日 14:23 KOSAKI Motohiro <[email protected]>:
>
> CI って誰に相談すればいいんですかね。今のツールだと比較対象のバイナリまたは
> ABI情報をぶっこぬいたXMLファイル群をtarアーカイブしたものを比較対象として
> どこかにおいておかないといけなくて、1.9.3だとp0からはもう差異があるのはわかってるので
> 最新のパッチリリースをCIに置きたいところなんですけ... -
02:29 PM Feature #8469: ABI checker とか導入しませんか
- > CIに組み込んでもらえるとちょー助かる感じですぅ
CI って誰に相談すればいいんですかね。今のツールだと比較対象のバイナリまたは
ABI情報をぶっこぬいたXMLファイル群をtarアーカイブしたものを比較対象として
どこかにおいておかないといけなくて、1.9.3だとp0からはもう差異があるのはわかってるので
最新のパッチリリースをCIに置きたいところなんですけど。 -
02:00 PM Feature #8469: ABI checker とか導入しませんか
- CIに組み込んでもらえるとちょー助かる感じですぅ
- 03:10 PM Revision a76f5eb0 (git): * 2013-06-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision 5eab13c3 (git): * marshal.c (r_object0): Generalize a round up expression.
- Use BDIGIT instead of int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 PM Revision 0c91b249 (git): merge revision(s) 40925: [Backport #8451]
- * dir.c (bracket): fix copy-paste error. When the first and last
characters of fnmatch range have different length, fnmatch may
have wrongly matched a path that does not really match.
Coverity Scan found th... -
03:05 PM Revision 28b78663 (git): merge revision(s) 40920: [Backport #8450]
- * string.c (rb_str_quote_unprintable): check if argument is a string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:47 PM Revision aff64b94 (git): * object.c (rb_Hash): fix docs. patched by Stefan Schüßler.
- [ruby-core:55299] [Bug #8487]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:47 PM Revision 90490d67 (git): merge revision(s) 39637,40900: [Backport #8440]
- load.c: reorder conditions
* load.c (loaded_feature_path): reorder conditions so simple
comparision comes first.
* load.c (loaded_feature_path): fix invalid read by index underflow.
the beginning of name is a... -
02:34 PM Revision 205b5c9c (git): merge revision(s) 40915: [Backport #8448]
- * variable.c (set_const_visibility): use rb_frame_this_func() instead
of rb_frame_callee() for getting the name of the called method
* test/ruby/test_module.rb: add test for private_constant with no args
git-svn-id: ... -
02:30 PM Revision 2392c12b (git): merge revision(s) 40992: [Backport #8040]
- * vm_insnhelper.c (vm_callee_setup_keyword_arg,
vm_callee_setup_arg_complex): consider a hash argument for keyword
only when the number of arguments is more than the expected
mandatory parameters. [ruby-cor... -
02:17 PM Revision 5f55e23f (git): * lib/irb/completion.rb: Use %w literal construction for long lists.
- Patch by Dave Goodchild. [Fixes GH-299]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:09 PM Revision 71b6077a (git): * ext/objspace/objspace.c: improve wording and remove duplicated comment.
- Based on a patch by Dave Goodchild. [Fixes GH-299]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 PM Bug #8484 (Closed): Restoring conditions through the ruby method call during VM processing
- r41041 で、ブロック呼び出し前の VM 内の処理中に Ruby のメソッドが何らかの理由で呼ばれると argv が壊れるという問題を直しました。
具体的には、
~~~ruby
y = Object.new
def y.s(a)
yield(a)
end
m = Object.new
def m.method_missing(*a)
super
end
assert_equal [m, nil], y.s(m){|a,b|[a,b]... -
11:27 AM Bug #5774: [PATCH] xmlrpc client handling cookies
- This was lib/xmlrpc/client.rb, please check it
-
10:12 AM Feature #8481: Module#using
- boris_stitnicky (Boris Stitnicky) wrote:
> Then, if it works lexically, it is not a function of Module, but of ... of ... Kernel? If it modified the module logically, it would be Module's concern. But like this, it is a concern of the i... -
08:23 AM Feature #8481: Module#using
- As I already told you, I can accept (or even encourage) this change.
I am interested in how implementers of other Ruby.
Matz.
-
12:05 AM
Feature #8481: Module#using
- Then, if it works lexically, it is not a function of Module, but of ... of ... Kernel? If it modified the module logically, it would be Module's concern. But like this, it is a concern of the interpreter, imao. Something like "private". ...
-
09:42 AM Revision d8930828 (git): * bignum.c (bitlength_bdigit): Fix an off-by-one error.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:23 AM Revision 5c113844 (git): adjust style
- * process.c (rb_execarg_get): adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:01 AM Bug #8483 (Closed): SEGV under high concurrency
- Follow a few segfaults from /var/log/messages https://gist.github.com/plentz/5701752
I'm using sidekiq at my production servers and the ruby process dies with a segfault constantly(it's dying constantly since the last 2 weeks). I'm us... - 06:37 AM Revision 1699396f (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): fix the number
- of figures. Patch by Vipul A M <[email protected]>.
https://github.com/ruby/ruby/pull/323 fix GH-323
* test/bigdecimal/test_bigdecimal_util.rb: fix for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41058 b... -
04:55 AM Bug #8482 (Closed): native rake gem has broken path
- `which rake` has the result /usr/bin/rake but when I try
rake
it fails with the following error
/usr/bin/rake:23:in `load': cannot load such file -- /usr/lib/ruby/gems/2.0.0/gems/rake-0.9.6/bin/rake (LoadError)
from /us... -
03:47 AM Revision dd87e463 (git): Add more comment about r41041
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:49 AM Feature #8462: Module.remove_const inconsistant naming
- (Sorry for the duplicate post, this one can be deleted)
kyledecot (Kyle Decot) wrote:
> I understand that it's a dangerous operation but how does naming it inconsistently make any less so other than making it difficult to find in the do... -
02:42 AM Feature #8462: Module.remove_const inconsistant naming
- I understand that it's a dangerous operation but how does naming it inconsistently make any less so other than making it difficult to find in the documentation? The fact that it's a private method I would think should be protection enoug...
-
12:12 AM
Feature #8053: Make coercion if #=== operator doesn't know what to do
- Sorry, Ilya, I already did some thinking, but didn't finish that flex-coerce yet.
06/03/2013
-
10:58 PM Feature #8481 (Closed): Module#using
- As I said at RubyKaigi2013, refinements in Ruby 2.0 have a problem that it's impossible to use incompatible refinements in the same file.
And at RubyKaigi, I've proposed the new option using: of instance_eval, by which you can activate ... -
06:29 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
- There are always different ways to work with hash:
counters = Hash.new{|h,k| 0}
list.each{|e| counters[e]+=1}
some_thing_count = counters[some_thing]
compared to
counters = {}
list.each{|e| counters[e] = (... -
03:57 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
- I don't think I agree with the proposer. The example looks good, but what about something like:
a = [1, 2, 3, "a", "b"]
g = a.group_by {|o| o.class }
puts "Fixnums: #{g[Fixnum].size}"
puts "Strings: #{g[String].size}"
puts "Zero... -
01:40 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
- Right, that the behavior is changing and that this could break existing code. It might have been an interesting idea at the time `group_by` was introduced, but I doubt that Matz will feel the change is compelling enough to break compatib...
-
12:18 PM
Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
- @marcandre: What do you mean by incompatibility? That the behavior is not the same as before, or something deeper?
-
05:08 AM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
- I understand the idea, but there are problems with this.
First of, it's a really bad idea to set the default of a hash to a mutable object:
a = [1, 2, 3, "a", "b"]
g = a.group_by {|o| o.class }
g[Array] << [:foo]
... -
04:37 AM Feature #8478 (Assigned): The hash returned by Enumerable#group_by should have an empty array for its default value
- Without this patch, nil checks might need to be done on the return value of Enumerable#group_by:
$ cat test_group_by.rb
a = [1, 2, 3, "a", "b"]
g = a.group_by {|o| o.class }
puts "Fixnums: #{g[Fixnum].size}"
puts "Strings: #{g[... -
06:15 PM Feature #8053 (Rejected): Make coercion if #=== operator doesn't know what to do
- Objects except for numbers does not have coerce protocol. I am not sure how far OP wants to dig in.
Design and implement coerce protocol? Or special kind of coercion for case statement?
In that sense, this proposal is half-baked.
... -
05:24 PM Feature #8468: Remove $SAFE
- I agree with charliesome that sandboxing is best handled by the running system, and not as a language feature. Still, I think we can include support for such facilities (where they are available) in a standardized way. Might I suggest so...
-
03:49 PM Revision e377d3bb (git): merge revision(s) 40887,40888,40894,40896: [Backport #8431]
- * win32/win32.c (setup_overlapped, finish_overlapped): extract from
rb_w32_read() and rb_w32_write().
* win32/win32.c (setup_overlapped): check the error code in addition
to the result of SetFilePointer() to ... -
03:46 PM Revision 5be46423 (git): add EEXIST for Linux
- * test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add
EEXIST for Linux. (suggested by nurse)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:27 PM Revision e6ae0db3 (git): merge revision(s) 40791,40806: [Backport #8424]
- * eval_intern.h (TH_PUSH_TAG): ensure jmpbuf to be accessible before
pushing tag to get rid of unaccessible tag by stack overflow.
* vm_core.h (rb_vm_tag): move jmpbuf between tag and prev so ensure to
be acc... - 03:01 PM Revision 44187374 (git): * 2013-06-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision 1739ecda (git): FileUtils.rmdir use remove_tailing_slash
- * lib/fileutils.rb (FileUtils.rmdir): use remove_tailing_slash.
* test/fileutils/test_fileutils.rb: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:57 PM Revision 44658707 (git): merge revision(s) 40807: [Backport #8416]
- * compile.c (iseq_compile_each): forward anonymous and first keyword
rest argument one. [ruby-core:55033] [Bug #8416].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:49 PM Revision 935d39a5 (git): * bignum.c (bitlength_bdigit): New function.
- (rb_big_pow): Use bitlength_bdigit instead of ffs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:46 PM Revision bf386e58 (git): Don't run test-all because it often happens false positive
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:22 PM Revision 2b463226 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:20 PM Revision cef3f2eb (git): * lib/fileutils.rb: fix behavior when mkdir/mkdir_p accepted "/".
- * test/fileutils/test_fileutils.rb: add test for above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
- (2013/06/03 10:13), kou (Kouhei Sutou) wrote:
> By the way, I can become a maintainer of lib/xmlrpc/ If nobody objects it, I will handle this ticket.
Great!
--
// SASADA Koichi at atdot dot net -
11:23 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
- Whoops! :+1:
On Mon, Jun 3, 2013 at 10:13 AM, kou (Kouhei Sutou) <[email protected]> wrote:
>
> Issue #8461 has been updated by kou (Kouhei Sutou).
>
>
> It seems that lib/xmlrpc/ doesn't have maintainer. (cf. https://bugs... -
10:13 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
- It seems that lib/xmlrpc/ doesn't have maintainer. (cf. https://bugs.ruby-lang.org/projects/ruby/wiki/Maintainers )
So I'm not a maintainer of lib/xmlrpc/. I don't know why I was assigned this ticket. (I think zzak mistook. :-)
By th... -
10:02 AM Revision 482f0e6b (git): dir.c: use fd to fstatfs
- * dir.c (is_hfs): use the file descriptor instead of a path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision c120db45 (git): * vm_insnhelper.c (vm_yield_setup_block_args): add comment for r41041.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:24 AM Bug #8479 (Assigned): make for ruby-1.9.3-p392 fails on rdoc, error 134 (Ubuntu 12.04.2 LTS)
-
07:22 AM Bug #8479 (Closed): make for ruby-1.9.3-p392 fails on rdoc, error 134 (Ubuntu 12.04.2 LTS)
- Attempt to build progressed fin up to RDoc, then make choked. Make log:
--------------------------------------------
Parsing sources...
lib/mkmf.rb:1117:29: Couldn't find STRING_OR_FAILED_FORMAT. Assuming it's a module
lib/irb/in... -
04:20 AM Feature #6183: Enumerator::Lazy performance issue
- Indeed append_method was exctracted by nobu 2 weeks ago as a refactoring of enumerator_inspect. But that's it, nothing was merged yet. I'm not sure I'll be able to rebase patch in next few weeks - got only android tablet with me. I'll le...
- 02:38 AM Revision 7a8a7864 (git): * lib/cgi/cookie.rb (inspect): add inspect for debug.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:37 AM Revision 94b120fe (git): add some rdoc
- * add reference to spawn to fork
* add an example which runs ruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/02/2013
-
10:47 PM Feature #8468: Remove $SAFE
- A path forward to defining a more fine-grained security model...
* Define in clear terms what we want to restrict. The existing safe levels would be a quick way to start doing this, since we already have a list of things that are (dis... -
10:42 PM Feature #8468: Remove $SAFE
- Student (Nathan Zook) wrote:
> headius (Charles Nutter) wrote:
> ...
I'm not arguing that there shouldn't be any security system at all...I'm just arguing that the current coarse-grained, blacklisting system is too flawed to be the mod... -
10:30 PM
Feature #8468: Remove $SAFE
- Personally, I don't think Ruby should have *any* security features like $SAFE or granular sandboxing at all.
Trying to build a sandboxed environment for running untrusted code at the same level as the code being run is a fundamentally... -
09:15 PM Feature #8468: Remove $SAFE
spatulasnout (B Kelly) wrote:
>
> ...
To clarify:
I'd say our application treats the difference between
$SAFE == 4 and $SAFE <= 1 as somewhat similar to the
boundary between to 'privileged mode' and 'user mode'
on a CPU.
The...-
04:47 PM Feature #8468: Remove $SAFE
- headius (Charles Nutter) wrote:
> $SAFE is not a good security option for at least a few reasons:
> ...
Part of the issue here is the balance of pain. You have the pain of the core team verses the pain of platform providers verses the... -
03:57 PM Feature #8468: Remove $SAFE
- boris_stitnicky (Boris Stitnicky) wrote:
> @Nathan: Do you mean that Perl has $SAFE = 1 by default?
No, I'm saying that perl has a taint property very much like ruby's, and that perl has a safe mode very similar to ruby's $SAFE = 1, ... -
12:09 PM Feature #8468: Remove $SAFE
- shugo (Shugo Maeda) wrote:
>
> ...
For the record, our C++ application embeds ruby
(currently both 1.8.4 and 1.9.3 interpreters),
and we've been using $SAFE == 4 since 2006 or so.
As I'd described in [ruby-core:36950] --
We use... -
06:26 AM
Feature #8468: Remove $SAFE
- @Nathan: Do you mean that Perl has $SAFE = 1 by default?
-
10:38 PM Revision 523bd673 (git): * configure.in: removes AC_CHECK_FUNCS(readdir_r). readdir_r()
- is only used from dir.c and it doesn't need readdir_r().
* configure.in (SIZEOF_STRUCT_DIRENT_TOO_SMALL): remvoed. It is
only used for readdir_r.
* dir.c: removes NAME_MAX_FOR_STRUCT_DIRENT. It is not right way
to detect maximum leng... -
10:34 PM Feature #8462: Module.remove_const inconsistant naming
- remove is a dangerous operation, thus named inconsistent, as remove_instance_variable etc.
Matz. -
10:29 PM Feature #8462: Module.remove_const inconsistant naming
- I may have overlooked this feature without a patch it's unclear what they
want so please reopen when you have a patch
On Sunday, June 2, 2013, charliesome (Charlie Somerville) wrote:
>
> Issue #8462 has been updated by cha... -
09:02 PM
Feature #8462: Module.remove_const inconsistant naming
- zzak, I don't see how this is a duplicate of #7414. Did you accidentally post the wrong issue number?
-
04:52 PM Feature #8462 (Rejected): Module.remove_const inconsistant naming
- duplicate of #7414
-
06:44 PM Revision 284d7463 (git): * vm_insnhelper.c (vm_yield_setup_block_args): partially revert r41019.
- The code is not useless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 PM Feature #8396 (Feedback): Allow easier destructuring of MatchData
-
04:51 PM Feature #8461 (Assigned): Easy way to disable certificate checking in XMLRPC::Client
-
04:48 PM Feature #8460 (Assigned): PATCH: optparse: add `keep_unknown` option
-
04:37 PM Revision 233f7d09 (git): * test/socket/test_sockopt.rb: change test name. follow r41037.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:23 PM Feature #8449: Array#ary_plus always returns an array
- For what it's worth this happens with String too:
>> class Substring < String; end
=> nil
> ...
=> ""
>> b = Substring.new
=> ""
> ...
=> ""
>> result.class
=> String
Maybe nobu can tell us -
04:18 PM Feature #8429 (Assigned): Options requests in net/http should be able to accept a response body
-
04:15 PM Revision 260f6bed (git): * test/rinda/test_rinda.rb: rename functions introduced in r41009.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:12 PM Feature #8377: Deprecate :: for method calls in 2.1
- See [ruby-core:54883]
-
04:11 PM Feature #8371 (Feedback): Make some enumerators mimic arrays
- There is a discussion on this on #1666
-
04:02 PM Feature #8361 (Closed): Alternative syntax for block parameter
- See [ruby-core:55094]
- 03:59 PM Revision aa32168b (git): * 2013-06-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:59 PM Revision aa26e9d9 (git): follow r41034
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:53 PM Feature #8269 (Feedback): stdlib: Add Find.each_file to accompany Find.find
- I think this is out of the scope of find.rb, see "find.rb: the Find module for processing all files under a given directory."
If you want this feature, I think you should write a gem. -
03:45 PM Feature #8215 (Assigned): Support accessing Fiber-locals and backtraces for a Fiber
-
03:33 PM Feature #8075 (Assigned): Add socket interface class to list interfaces
-
03:32 PM Feature #8042 (Assigned): Add Addrinfo#socket to create a socket that is not connected or bound
-
03:30 PM Feature #8062 (Feedback): Argument error stack trace to specify the 'called' method
- Can you provide a plain ruby example? And include the output you'd expect?
-
03:27 PM Feature #8053 (Assigned): Make coercion if #=== operator doesn't know what to do
-
03:24 PM Feature #8047 (Assigned): IPAddr makes host address with netmask
-
03:22 PM Feature #8027 (Feedback): add the possibility to raise an exception in #included, #extended, #prepended, #inherited and break the calling feature
-
03:06 PM Feature #8394 (Closed): use String#b instead of dup.force_encoding("ASCII-8BIT")
- This issue was solved with changeset r41030.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/util.rb, lib/erb.rb: Use String#b [Feature #8394] b... -
02:50 PM Bug #7877: E::Lazy#with_index should be lazy
- @duerst You're probably right, since this feature was introduced in 2.0.0
If yhara-san wants to implement #with_index with a block then I see no problem with introducing this in 2.1.0 -
02:46 PM Revision dffcadb4 (git): Suppress warnings: setting Encoding.default_internal
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:36 PM Revision 166d8dc2 (git): * enc/trans/japanese_euc.trans, test/ruby/test_transcode.rb,
- tool/transcode-tblgen.rb: change EUC-JP-2004 to EUC-JIS-2004.
This is follow up to changes in r41024.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:24 PM Revision e2582ca2 (git): * ext/socket/option.c: rename functions introduced in r41009
- s/ip/ipv4/g because they are ipv4 functions.
(there's a policy that the name "ip" is for methods which supports
both ipv4 and ipv6)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 PM Feature #7510: irb --help が古い
- I've committed the english patch, and asked Tarui-san to review and commit the japanese patch.
Thank you! -
01:39 PM Revision 6f617028 (git): merge revision(s) 41026: [Backport #8242]
- * range.c: Fix rdoc on Range#bsearch [Bug #8242] [ruby-core:54143]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:28 PM Bug #8157 (Closed): How to write document for __LINE__, __FILE__, __END__
- I've moved this to the RDoc tracker on github: https://github.com/rdoc/rdoc/issues/230
-
12:05 PM Bug #8242 (Closed): Fix rdoc of Range#bsearch
- This issue was solved with changeset r41026.
Yutaka, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* range.c: Fix rdoc on Range#bsearch [Bug #8242] [ruby-core:54143] -
11:57 AM Bug #8344 (Closed): Status of Psych and Syck
- Most of the documentation has been updated, and appropriate backports have been made, so I'm going to close this.
When rubygems drops support for 1.8, we can think about removing the syck shim. -
07:15 AM Revision 5615bf5f (git): dln_find.c: deprecated functions
- * dln_find.c (dln_find_exe, dln_find_file): remove deprecated
non-reentrant functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:15 AM Revision d8069572 (git): dln_find.c: unused macros
- * dln_find.c: remove unused macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:06 AM Revision 012dc9d0 (git): * lib/cgi/util.rb, lib/erb.rb: Use String#b [Feature #8394] by znz
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:59 AM Revision 021c2102 (git): math.c: ASCII minus
- * math.c: use ASCII minus (-) instead of U+2212.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 AM Revision 78c04602 (git): * lib/irb/lc/help-message: Apply english updates for irb --help #7510
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:12 AM Revision 6db56c86 (git): fill rdocs
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:05 AM Revision eb5f3619 (git): * range.c: Fix rdoc on Range#bsearch [Bug #8242] [ruby-core:54143]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:25 AM Bug #8471 (Rejected): パーセント記法とString #メソッドの組み合わせの戻り値が異常
- 正常な動作ということなので rejected にしますね。
06/01/2013
-
09:42 PM Bug #8471: パーセント記法とString #メソッドの組み合わせの戻り値が異常
- no6v (Nobuhiro IMAI) wrote:
> > 2番めと3番め、6番めと7番めをいろんな記号に置き換えてみると雰囲気がつかめるんじゃないでしょうか。
> ...
ご回答ありがとうございます。
すみませんおっしゃるとおりでした。
正常な動作です。 -
09:30 PM Bug #8471: パーセント記法とString #メソッドの組み合わせの戻り値が異常
- > 2番めと3番め、6番めと7番めをいろんな記号に置き換えてみると雰囲気がつかめるんじゃないでしょうか。
「2番めと3番め、6番めと7番めの % を」という意味でした。
$ ruby -rripper -rpp -ve 'pp Ripper.lex("%()%%!!.class")'
ruby 2.1.0dev (2013-06-01 trunk 41011) [x86_64-linux]
[[[1, 0], :on_tstring_beg, "%("]... -
09:26 PM Bug #8471: パーセント記法とString #メソッドの組み合わせの戻り値が異常
- > 下記のコードを実行すると。''が戻ってきます。
> ...
これは false が返るんじゃないでしょうか?
> この戻ってきたものに対して各種メソッドを呼んでも''が返ってきます。
> ...
これは、%%% % %%%.class と解釈されて、%%% は %() などと同じく(空)文字列のリテラルで、
"" % xxx だと、xxx が(多分)何であろうと空文字列が返るので、特におかしなところはないと思います。
$ ruby -rripper... -
08:32 PM Bug #8471 (Rejected): パーセント記法とString #メソッドの組み合わせの戻り値が異常
- ***再現手順
下記のコードを実行すると。''が戻ってきます。
(%%%%%%%).nil? => ''
上記ではnil?を取り上げましたが、
実際は全メソッドで''が戻ってきます。
この戻ってきたものに対して各種メソッドを呼んでも''が返ってきます。
%%%%%%%.class.class.class.class => ''
下記の環境で確認しています。
ruby 2.0.0p0 (2013-02-24 revision 39474)... -
07:04 PM Feature #8468: Remove $SAFE
- $SAFE is not a good security option for at least a few reasons:
* It requires maintaining checks for both tainting and safe levels in nearly *every* piece of C code attached to Ruby, including extensions. This is both a maintenance an... -
12:38 PM Feature #8468: Remove $SAFE
- One wonders where everyone has been for the last five months. The entire Rails security fiasco would have been avoided if DHH had seen fit to write Rails with $SAFE = 1. This is one thing that the Perl community got right almost immedi...
-
10:36 AM Feature #8468: Remove $SAFE
- JRuby has not supported $SAFE for a long time, and the only complaints we've heard are from people that thought they needed $SAFE (and did not) or people who just happened to notice it was missing.
We strongly support removing $SAFE, ... -
10:05 AM Feature #8468 (Closed): Remove $SAFE
- Yesterday, at GitHub Tokyo drinkup (thanks, GitHub!), Matz agreed to remove the $SAFE == 4 feature from Ruby 2.1.
Shibata-san, a developer of tDiary, which is the only application using $SAFE == 4, also agreed to remove it, so today is ... - 05:11 PM Revision bc7a6dbb (git): * 2013-06-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:11 PM Revision b285af64 (git): * enc/euc_jp.c: fix typo: the name of EUC-JIS-2004.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:43 PM Feature #8469 (Closed): ABI checker とか導入しませんか
- 最近 Vit が報告してきたように、193にもたまにABI非互換が入っているようです。
見たところ実害はなさそうなのですが、非互換が報告されてから実害の有無を検討するのは不毛なのでパッチリリース前に
機械的にチェックしたいですよね。ほとんどのケースは意図的な非互換だからOKという結論になるのだろうとは思いますが、
精神衛生上、枕を高くして寝れる度がちょっとだけ上がります。
で、ちょっと時間をとってみたところ、意外と簡単そう。
http://ispras... - 02:17 PM Revision 8b1b2638 (git): * vm_eval.c (rb_mod_module_eval): mention in docs that arguments passed
- to the method are passed to the block
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:01 AM Revision 6bdfe415 (git): * lib/set.rb (Set#freeze, taint, untaint): Save a "self" by
- utilizing super returning self, and add tests while at it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:25 AM Revision 4a223fb6 (git): compile.c: not simple if keyword args
- * compile.c (iseq_set_arguments): not a simple single argument if any
keyword arguments exist. [ruby-core:55203] [Bug #8463]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:21 AM Revision 06c7ede2 (git): vm_insnhelper.c: extract keyword arguments after splat
- * vm_insnhelper.c (vm_yield_setup_block_args): split single parameter
if any keyword arguments exist, and then extract keyword arguments.
[ruby-core:55203] [Bug #8463]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41020 b2dd03c8... -
08:21 AM Revision 767c5022 (git): vm_insnhelper.c: add comments
- * vm_insnhelper.c (vm_yield_setup_block_args): break a long line and
add comments. remove useless code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:25 AM Revision a10ea5b9 (git): remove duplicated entry
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:16 AM Revision e71d501e (git): error.c: better names for rb_exc_new family
- * error.c (rb_exc_new_cstr): rename from rb_exc_new2.
* error.c (rb_exc_new_str): rename from rb_exc_new3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:13 AM Revision d956526a (git): string.c: remove old interfaces
- * string.c (rb_str_new[2-5], rb_{tainted,usascii}_str_new2),
(rb_str_buf_new2): remove old interfaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:00 AM Revision 8663df2f (git): Restore the removed change-log entries
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/31/2013
-
11:00 PM Revision aa8cc01a (git): zlib.c: check EOF
- * ext/zlib/zlib.c (gzfile_read, gzfile_read_all, gzfile_getc),
(gzreader_gets): check EOF. [ruby-core:55220] [Bug #8467]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:53 PM Revision 488f478d (git): * ext/socket/option.c (inspect_byte): used only on NetBSD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:32 PM Revision ce20b98b (git): * bignum.c: Use BDIGIT type for hbase.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:17 PM Revision b77f98aa (git): ChangeLog: revert accidentally removed entries
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:21 PM Revision 984a34bc (git): Use custom methods for values whose type is different on platforms
- Use Socket::Option#ip_multicast_loop and Socket::Option#ip_multicast_ttl
instead of Socket::Option#int because NetBSD's size is byte though
others' is int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41010 b2dd03c8-39d4-4d8f-98ff-... -
05:37 PM Revision a78e45b5 (git): * ext/socket/option.c (sockopt_s_byte): constructor of the sockopt
- whose value's is byte.
* ext/socket/option.c (sockopt_byte): getter for above.
* ext/socket/option.c (inspect_byte): inspect for above.
* ext/socket/option.c (sockopt_s_ip_multicast_loop): constructor of
the sockopt whose optname is... - 04:59 PM Revision 1db20976 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_power): use rb_dbl2big
- to convert a double value to a Bignum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:23 PM Feature #6183: Enumerator::Lazy performance issue
- @gregolsen Looks like some of this was applied, sorry I haven't had a chance to check it yet.
Could you check?
It may need a rebase, the patch didn't apply cleanly and some of the functions already exist (like append_method()) -
04:10 PM Bug #6550 (Closed): crash 1.9.3
- Close because this cannot be reproduced in ruby_1_9_3 branch.
- 03:24 PM Revision e337c7f9 (git): * 2013-06-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 PM Revision 25e5a758 (git): * bignum.c (calc_hbase): Make hbase the maximum power of base
- representable in BDIGIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:57 PM Revision 2a38d904 (git): * bignum.c (calc_hbase): Extracted from rb_big2str0.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:24 PM Revision fc1f9d2c (git): * bignum.c: Don't hard code SIZEOF_BDIGITS for log_base(hbase).
- (big2str_orig): hbase_numdigits argument added.
(big2str_karatsuba): Ditto.
(rb_big2str0): Calculate hbase_numdigits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:05 PM Feature #8465 (Feedback): Proc set_binding
- =begin
Try:
FooFoo.new.instance_exec('blah', &foo_putter)
=end
-
10:40 AM Feature #8465: Proc set_binding
- Oops, I meant that last line to say:
#I expect...
foo_putter.set_binding(FooFoo.new.foo_foo_proc.binding)
foo_putter.call("blah")
#to output:
# foo blah
-
10:18 AM Feature #8465 (Rejected): Proc set_binding
- =begin
(({instance_eval})) is a solution to evaluate a proc in the binding of another object
but it is not a solution for a (({Proc})) that takes arguments
I propose that in order to suppor this use-case we need (({Proc#set_bindin... -
01:53 PM Feature #4254: Allow method transplanting
- thanks nobu! I blindly trusted the travis-ci build. good to know this is still valid behavior.
-
01:23 PM Bug #7092 (Rejected): StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives
- I'm marking this ticket as closed due to no feedback.
--
Yusuke Endoh <[email protected]> -
01:21 PM Bug #7221 (Rejected): Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- Sorry for late reply.
Anyway it is difficult to fix a bug if no one reproduces it.
I'm marking this ticket closed. Please reopen this if you could repro. Thanks.
--
Yusuke Endoh <[email protected]> -
01:17 PM Bug #7648 (Assigned): GServer does not close cleanly from signal interrupt context
- kosaki-san, what do you think?
--
Yusuke Endoh <[email protected]> -
01:15 PM Misc #8288 (Assigned): Ruby 2.1.0 release engeneering
- Now you are the release manager!
--
Yusuke Endoh <[email protected]> -
08:58 AM Revision 1d80ad6a (git): * process.c: Improve Process::exec documentation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:27 AM Revision 0544c097 (git): vm_eval.c: new names of rb_funcall family
- * vm_eval.c (rb_funcallv): add better names of rb_funcall2.
* vm_eval.c (rb_funcallv_public): ditto for rb_funcall3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:27 AM Revision 97498d17 (git): * README.EXT: refine a sentence. thanks to Leonard Chin.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:08 AM Revision 2339191c (git): array.c: aliases to rb_ary_new family
- * README.EXT.ja: add new names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:04 AM Revision 1c5cdc62 (git): array.c: new names of rb_ary_new family
- * array.c (rb_ary_new_capa): add better names of rb_ary_new2.
* array.c (rb_ary_new_from_args): ditto for rb_ary_new3.
* array.c (rb_ary_new_from_values): ditto for rb_ary_new4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40999 b2... -
07:36 AM Revision 58bec3e2 (git): configure.in: HAVE_ATTRIBUTE_FUNCTION_ALIAS
- * configure.in (HAVE_ATTRIBUTE_FUNCTION_ALIAS): define to tell if
alias attribute is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:04 AM Revision acae96de (git): * object.c, proc.c: s/call_seq/call-seq in rdoc. [Fix GH-322]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:02 AM Revision ee0478bc (git): * ext/openssl/ossl_ssl.c: Add missing paren in rdoc [Fix GH-321]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:18 AM Revision 8ea0e6f1 (git): README.EXT: fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:58 AM Revision da51094c (git): * 2013-05-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:58 AM Revision 6f017366 (git): vm_method.c: extract set_visibility
- * vm_method.c (set_visibility): extract from rb_mod_public(),
rb_mod_protected() and rb_mod_private().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:32 AM Bug #8464 (Rejected): IPAddr cannot parse link-local IPv6 address.
- 1.9.3p374 :001 > require 'ipaddr'
=> true
1.9.3p374 :002 > IPAddr.new("0:0:0:0:0:0:0:1%0")
ArgumentError: invalid address
from /Users/andrew/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/ipaddr.rb:559:in `in6_addr'
from /Users/andre...
05/30/2013
-
11:42 PM
Feature #8437: custom operators, unicode
- -1
Who the heaven told you that people write code in ASCII? The Unicode idea
is quite corny. See https://github.com/collectiveidea/unicode_math, also
as unicode_math gem. I find the present operator assortment varied enough
to build the... -
10:35 PM Feature #8430: Rational number literal
- phluid61 (Matthew Kerwin) wrote:
> How about a different symbol? Since (({:})) is the standard mathematical symbol for ratio, why not define (({[+-]?\d+:\d+})) as an immediate Rational, and/or (({:})) as an operator?
It collides to ... -
12:16 PM Feature #8430: Rational number literal
- =begin
nobu (Nobuyoshi Nakada) wrote:
> Of course it's possible to address it heuristically, but I wonder if it's good or worth to do.
How about a different symbol? Since (({:})) is the standard mathematical symbol for ratio, why... -
07:50 PM Bug #8316 (Closed): Can't pass hash to first positional argument; hash interpreted as keyword arguments
- This issue was solved with changeset r40992.
Pablo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_insnhelper.c (vm_callee_setup_keyword_arg,
vm_callee_setu... -
10:50 AM Revision 6f9f8d2e (git): * vm_insnhelper.c (vm_callee_setup_keyword_arg,
- vm_callee_setup_arg_complex): consider a hash argument for keyword
only when the number of arguments is more than the expected
mandatory parameters. [ruby-core:53199] [ruby-trunk - Bug #8040]
* test/ruby/test_keyword.rb: update a t... -
08:55 AM Revision 89a452c7 (git): * process.c: RDoc on Process.spawn
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:59 AM Revision 38a14c68 (git): fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:59 AM Revision 10e44b56 (git): Add a NEWS
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:58 AM Revision c3946885 (git): * lib/cgi.rb: Add a document.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:57 AM Bug #8457: Function arguments: Is this intended?
- Thanks.
I created #8463
matz (Yukihiro Matsumoto) wrote:
> I admit there's a bug which Matthew mentioned, but it's not described in the OP.
> ...
-
03:40 AM Bug #8457 (Closed): Function arguments: Is this intended?
- I admit there's a bug which Matthew mentioned, but it's not described in the OP.
Do you mind if I close this, and ask you to resubmit as a new bug report for the record.
Matz.
-
01:32 AM Bug #8457: Function arguments: Is this intended?
- As an additional note, this affects some methods of Enumerable when yielding multiple arguments.
For example:
def each; yield 1, 2, bar: 3; end
include Enumerable
each{|a, *b, **c| p a, b, c} # => 1, [2], {:bar => 3... -
12:58 AM Bug #8457 (Open): Function arguments: Is this intended?
- I'm wondering too if there isn't something strange?
I'd expect a proc to either do an implicit splat or not, but right now it looks for options before doing the implicit splat. Should it not do it after doing the implicit splat?
I ... -
03:57 AM Revision 184bfbba (git): Update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:59 AM
Feature #8458: Array#merge/merge!
- Still, many thanks for [:A, :B, C: 1] syntax, I was very happy to discover it!
matz (Yukihiro Matsumoto) wrote:
> Generally speaking, arrays are not argument lists. This method is specific to argument lists.
> ...
05/29/2013
-
11:57 PM Revision 4f66fb14 (git): rational.c: use existing functions
- * rational.c (f_inspect, f_to_s): use existing functions, rb_inspect
and rb_obj_as_string respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:19 PM Feature #8462 (Rejected): Module.remove_const inconsistant naming
- The Module class in Ruby has several methods for dealing w/ constants:
const_set
const_get
const_defined?
const_missing
remove_const
The last of which is inconsistently named. I propose that we deprecate this method and create... -
10:01 PM Feature #8461 (Closed): Easy way to disable certificate checking in XMLRPC::Client
- I have an awful lot of XMLRPC code that does the following:
c = XMLRPC::Client.new(....)
c.instance_variable_get(:@http).instance_variable_set(:@verify_mode, OpenSSL::SSL::VERIFY_NONE)
It would be nice if some syntactic sugar ... -
08:39 PM Feature #8460 (Assigned): PATCH: optparse: add `keep_unknown` option
- Currently people have to do very convoluted tricks, essentially making
it impossible for optparse to keep unknown options.
The safest and cleanest way is to do it in the code itself.
[1] http://www.ruby-forum.com/topic/88081
[2] ... -
05:36 PM Feature #8430: Rational number literal
- =begin
It does change the interpretation of the following code
foo.split //
bar
It is "(({foo.split(//); bar}))" currently, but it would be "(({foo.split.//(bar)}))" with the patch.
Of course it's possible to address it heuristica... -
09:47 AM Feature #8430: Rational number literal
- Yesterday I ask matz about merging it to trunk, he said it is ok with experimental mark like refinements.
And I confirmed that nobu's quo-operator doesn't conflict with empty regexps:
$ .prefix/bin/ruby -e 'f=1; i=2; p(f //i)'
... - 03:10 PM Revision 725188d8 (git): * 2013-05-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision 6e19585a (git): * gc.c (gc_profile_enable): rest_sweep() to finish last GC.
- Profiling record is allocated at first of marking phase.
Enable at lazy sweeping may cause an error (SEGV).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:32 PM Feature #8459 (Assigned): Idiomatic method names for Socket
-
11:52 AM Feature #8459 (Rejected): Idiomatic method names for Socket
- In order to still have the POSIX standard functionality as well as an alternative idiomatic ruby version it would be nice to have some of the methods aliased in the core.
ie
Soket.gethostname => Socket.hostname
There is already ... - 12:05 PM Revision 88fbd108 (git): merge revision(s) 35589: [Backport #8406]
- * configure.in (POSTLINK): default to : command to get rid of flag
only command, since BSD make does not work with it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:00 PM Revision f090f8ae (git): * lib/yaml.rb: documentation updates, patched by zzak.
- [ruby-core:54735] [Backport #8356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:54 AM Bug #8457: Function arguments: Is this intended?
- =begin
boris_stitnicky (Boris Stitnicky) wrote:
> a = [1, 2, x: 3]
> a.tap { |*p, q| a.clear.concat p } #=> [1, 2]
>
> but
>
> a = [1, 2, x: 3]
> a.tap { |*p, **q| a.clear.concat p } #=> [[...]]
>
> and also
>
... -
10:23 AM Bug #8457 (Closed): Function arguments: Is this intended?
- I am not sure what you meant, but I am sure you are fooled by side-effect of #concat method.
a = [1, 2]
a.tap {|*p| # p is an array that wraps a i.e. p=[a]
a.clear # a is cleared; now p=[[]]
a.concat p # you c... -
05:15 AM
Bug #8457 (Closed): Function arguments: Is this intended?
- a = [1, 2, x: 3]
a.tap { |*p, q| a.clear.concat p } #=> [1, 2]
but
a = [1, 2, x: 3]
a.tap { |*p, **q| a.clear.concat p } #=> [[...]]
and also
a = [1, 2]
a.tap { |*p| a.clear.concat p } #=> [[...]]
??? -
10:34 AM Feature #2542: URI lib should be updated to RFC 3986
- Just an experimental implementation:
http://github.com/nurse/url -
10:25 AM Feature #8458 (Rejected): Array#merge/merge!
- Generally speaking, arrays are not argument lists. This method is specific to argument lists.
Thus Array is not the right place for the method.
Matz. -
05:33 AM
Feature #8458 (Rejected): Array#merge/merge!
- Very simple method can be defined:
class Array
def merge! other
require 'active_support/all' # can't use #tap, see #8457
tail = extract_options!
other_tail = other.extract_options!
concat( other ) << tail.update... -
04:38 AM Revision f85733a7 (git): GC before running test_copy_stream_socket7
- it sometimes occurs NoMemoryError
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130529T033302Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 AM Revision 76300fba (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:38 AM Revision 68f96f6c (git): * hash.c: fix WB bug.
- (1) Hash's key also needs WB.
(2) callback parameter *key and *value of st_update() is not a
storage of st_table itself (only local variable). So that
OBJ_WRITE() is not suitable, especially for `!exsinting'.
OBJ_WRITTEN() is use...