Project

General

Profile

Activity

From 08/28/2015 to 09/03/2015

09/03/2015

07:48 PM Revision 970399a9 (git): * iseq.c (iseq_memsize): functions for wrapper object should have
iseqw_ prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:43 PM Feature #11505 (Rejected): Module#=== should call #kind_of? on the object rather than rb_obj_is_kind_of which only searches the ancestor heirarchy
In trying to implement a Decorator pattern which wraps Hashes and/or Arrays, I would like case equality to work such that the decorator would be handled by case statements on Array or Hash:
```
case
when 'Array'
# handle Arrays
...
lamont (Lamont Granquist)
04:30 PM Revision ebb03a0b (git): verconf.h.tmpl: separate RbConfig
* template/verconf.h.tmpl: load rbconfig.rb into a separate
namespace get rid of conflict with the default RbConfig, to run
with BASERUBY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:30 PM Revision 91cdbaf4 (git): revert r51752
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:41 PM Bug #11486: euc-jpな文字列に対してgsubするとSEGVします
code_to_mbc() が ONIGERR_INVALID_CODE_POINT_VALUE を返し、
mbc_case_fold() がそれをエラーコードと判断せずそのままポインタに加算してしまっているようでした。
そもそも code_to_mbc() がエラーになるのが不思議な気はしますが、この原因はよくわかりませんでした。
wanabe (_ wanabe)
03:38 PM Revision dc482e14 (git): configure.in: BASERUBY needs fake.rb
* configure.in (BOOTSTRAPRUBY): BASERUBY needs fake.rb to load
rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:18 PM Revision 264d1487 (git): * 2015-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision aabd765f (git): thread_sync.c: fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:27 PM Revision d4a642de (git): configure.in: use BASERUBY
* configure.in (BOOTSTRAPRUBY): use BASERUBY if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:08 PM Feature #10600: [PATCH] Queue#close
Sorry I didn't reply earlier, it's been a while since I checked this list.
I think ClosedQueueError < StopIteration makes sense. ThreadError (from other
methods) is not related to ClosedQueueError, but I can't see if that is a
probl...
djellemah (John Anderson)
12:12 PM Revision 16dbb79e (git): session.rb: SHA512
* lib/cgi/session.rb (create_new_id): use SHA512 instead of MD5.
pointed out by SARWAR JAHAN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:30 AM Revision 5f6dedda (git): * gc.c (rb_raw_obj_info): iseq->body->location.first_lineno is Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
11:24 AM Bug #11504 (Rejected): ruby 1.9.3p194 segfault on debian stable 7.x
1) I setup OpenStreetMap API-server: https://github.com/openstreetmap/openstreetmap-website
2) start with debug (It is crashed with, or without --debugger flag):
bundle exec rails server --debugger &> /root/osm_rails_crash.log
2) ...
progserega (Сергей Семёнов)
08:57 AM Revision 2c357a55 (git): vm_eval.c: should be singular
* vm_eval.c (raise_method_missing): "names" should be singular.
pointed out by Filip Bartuzi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:51 AM Revision e25f9ced (git): * gc.c (rb_raw_obj_info): should support IMEMO/iseq.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:22 AM Revision d41838c8 (git): common.mk: exclude memory leak tests
* common.mk (TEST_EXCLUDES): exclude tests for memory leak, often
too expensive and/or false-positive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:08 AM Revision 58431c65 (git): * 2015-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:07 AM Revision e26ba49b (git): vm_eval.c: refine messages
* vm_eval.c (raise_method_missing): refine error messages when a
symbol is not given. [Fix GH-1013]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/02/2015

02:12 PM Bug #11503 (Closed): Segmentation fault at 0x00000000000094
/home/nisevi/.rbenv/versions/2.1.6/lib/ruby/2.1.0/x86_64-linux/readline.so: [BUG] Segmentation fault at 0x00000000000094
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
-- Control frame information -------------------------...
nisevi (Nicolas Sebastian)
09:50 AM Revision 4a14d944 (git): * ext/psych/*: merge psych master(8737e5b). It contains following fixes.
https://github.com/tenderlove/psych/pull/242
https://github.com/tenderlove/psych/pull/246 [ruby-list:50219]
* test/psych/*: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:05 AM Revision 0f351740 (git): * vm_insnhelper.h (GET_PC_COUNT): remove unused macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:18 AM Revision d2f4d5a5 (git): Fix typo in Process.detatch doc [ci skip]
* process.c (proc_detach): [DOC] fix typo "intent" as "intend" in
rdoc. [Fix GH-1011]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:03 AM Bug #11502 (Closed): Ruby segmentation fault
2015-09-02 00:55:51.144 ruby[2259:6381621] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
lich/lich.rbw:1804: [BUG]...
mtolton (Matt Tolton)
07:58 AM Revision f9ac2106 (git): file.c: use filesystem encoding
* file.c (rb_realpath_internal): use filesystem encoding if the
argument is in ASCII encodings.
* win32/file.c (rb_readlink): needs the result encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51738 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
06:24 AM Bug #11501 (Closed): About priority of a hash element when using {**hash1, **hash2} literal
When creating a new hash using { **hash1, **hash2 } literal,
there are different behaviors between 2.2.0 or later and 2.1.7 or earlier like below.
* ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin13]
* ruby 2.1.3p242 (2014-0...
studio3104 (Satoshi SUZUKI)
04:14 AM Revision 6bbd9104 (git): win32: use ALLOCV
* win32/file.c (rb_readlink): use ALLOCV to get rid potential
memory leak by NoMemoryError in ALLOCV.
* win32/win32.c (w32_readlink): allocate WCHAR path name and
reparse buffer together.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
03:57 AM Revision 71f2c19a (git): win32_vk.inc: merge win32_vk.h
* ext/io/console/win32_vk.inc: merge win32_vk.h not to be included
in HDRS on other platforms than Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:51 AM Revision 0dc9e4f3 (git): * 2015-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:51 AM Revision 66588679 (git): gmake.mk: no docs if test only
* defs/gmake.mk (TEST_DEPENDS): make docs only when checking, but
not only btest and test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/01/2015

11:26 PM Bug #11499 (Rejected): ruby/2.0.0/gems/json-1.8.1/lib/json/ext/parser.bundle: [BUG] Segmentation fault ruby
I bet it is caused by loading an extension library linked against different libruby, most probably `/usr/lib/libruby.dylib`.
nobu (Nobuyoshi Nakada)
02:20 PM Bug #11499 (Rejected): ruby/2.0.0/gems/json-1.8.1/lib/json/ext/parser.bundle: [BUG] Segmentation fault ruby
Not sure what happened here after my Yosemite install, but the server won't start and is continuing to throw a segmentation fault.
~~~
[1] 933 abort rails s
~~~
peter.joseph.dunbar@gmail.com (peter dunbar)
10:00 PM Feature #11500 (Open): [RFC] rename Queue to UnboundedQueue
Then deprecate and warn on usage of "Queue"
Or maybe even call the new one "UnsafeQueue" :)
I think the name "Queue" causes too many people to use it without
knowing the consequences of unbounded memory growth and lack of backpres...
normalperson (Eric Wong)
09:43 AM Feature #11476: Methods defined in Refinements cannot be called via send
Aah, I'm sorry that I missed that part of the documentation.
But indeed I felt the behaviour weird while using the feature in a real-world library.
matsuda (Akira Matsuda)
09:37 AM Revision 7ef01f83 (git): * test/thread/test_queue.rb: catch up last commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:35 AM Feature #10600: [PATCH] Queue#close
> At last, if you can set counter to Queue#close really close the Queue, it easy to write multiple producer pattern. This is an advanced functionality and could be discussed on another ticket. How do you think?
I allow to close multip...
ko1 (Koichi Sasada)
09:17 AM Revision c37c67ce (git): * thread_sync.c (queue_do_close): ignore multiple close to allow
multiple producers.
https://bugs.ruby-lang.org/issues/10600#note-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:12 AM Feature #11348: TracePoint API needs events for fiber's switching
Koichi Sasada wrote:
> > f1.resume # stopped at the line
> ...
I'm not sure I've completely understand you suggestion :( Could you please clarify?
I've provided the example ask how to guarantee that we will not stop somewhere inside ...
os97673 (Oleg Sukhodolsky)
08:57 AM Feature #11348: TracePoint API needs events for fiber's switching
> f1.resume # stopped at the line
> ...
Only for this purpose, how about to stop every fiber switching? It is true that the program enter newline!
ko1 (Koichi Sasada)
09:11 AM Feature #11498 (Closed): Kernel#loop: return the "result" value of StopIteration
Kernel#loop wraps use of Enumerator rescuing StopIteration raised by Enumerator#next, but it does not provide access to the "result" value of a finished enumerator.
If you wanted to get it, you'd have to rescue StopIteration by yourself...
knu (Akinori MUSHA)
09:09 AM Revision 09b42250 (git): * 2015-09-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:08 AM Revision dcf6ac49 (git): * thread_tools.c: rename thread_tools.c to thread_sync.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:03 AM Bug #11271: TestObjSpace#test_trace_object_allocations_start_stop_clear occasional failure
そのようにしてもらってもよろしいでしょうか。 ko1 (Koichi Sasada)
09:02 AM Bug #11490 (Feedback): Allocation tracer sometimes attributes allocations to the wrong source file/line
I don't think "(VM internal):0" is useful.
ko1 (Koichi Sasada)

08/31/2015

02:05 PM Bug #11497 (Closed): add Write Barrier in refined method entry move (fixed at r51728)
このチケットはバックポート管理用です。
trunk では r51728 で write barrier が追加されました。
ruby_2_1, ruby_2_2 では trunk の move_refined_method() が変更されていて多少 conflict しますが、同じ問題があるように見受けられます。
また r50948 も同様に wite barrier 追加のように見えますが、me が T_IMEMO 型のオブジェクトになったためで、T_I...
nagachika (Tomoyuki Chikanaga)
08:08 AM Revision 16e86cdf (git): * 2015-08-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:07 AM Revision 15e48288 (git): * class.c (move_refined_method): should insert a write barrier
from an original class to a created (cloned) method entry.
* test/ruby/test_refinement.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:08 AM Bug #11496 (Closed): Mutex#synchronize testing code should be data race.
Current Mutex#synchronize testing code is not to fail every time if not use Mutex#synchronize.
~~~ruby
100.times {
r = 0
max = 10
(1..max).map{
Thread.new{
i=0
while i<max*max
i+=1
r += 1...
ksss (Yuki Kurihara)
03:39 AM Bug #10803: Similar issue/stack trace as above in 2.1.5, 2.1.6
Seems ok to close to me, we haven't been able to consistently reproduce it and refactored the code. Did not have a chance to play with allocation tracer or similar tools to dig in further. I'm not experienced enough reading these stack t... joemerante (Joe Merante)

08/30/2015

08:51 PM Feature #11491 (Rejected): Add descriptive methods to Method & UnboundMethod
I see, I tried with 2.2.2 which would not allow #bind in that case.
I'll close this then as both use cases have been addressed.
If there are other use cases for this feature, please open a new issue.
Eregon (Benoit Daloze)
09:05 AM Feature #11491: Add descriptive methods to Method & UnboundMethod
Benoit Daloze wrote:
> > > So I propose #origin, which goes well along #owner.
> ...
In the trunk, it is useless to tell if the method can be bound to an object.
~~~
$ ruby -v -e 'm = String.instance_method(:taint); p m.owner, m.bi...
nobu (Nobuyoshi Nakada)
08:32 AM Revision c16523e6 (git): encoding.c: fix document [ci skip]
* encoding.c (rb_enc_unicode_p): fix document. predicate
functions may return non-zero values other than 1 as true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:15 AM Revision 822c3999 (git): test_win32ole_event.rb: skip message
* test/win32ole/test_win32ole_event.rb (exec_notification_query_async):
add skip message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:46 AM Revision e7d578bf (git): test_win32ole_event.rb: skip 80041008
* test/win32ole/test_win32ole_event.rb (exec_notification_query_async):
skip error with OLE error code:80041008, which seems to occur when
logging in as a non admistrator user.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51725...
nobu (Nobuyoshi Nakada)
03:05 AM Feature #8437: custom operators, unicode
Eike Dierks wrote:
> I suggest to modify the parser to accept all operators from the unicode operator plane,
> ...
That does not make sense, all symbols are not infix operators.
nobu (Nobuyoshi Nakada)
02:34 AM Revision 9507c92d (git): ChangeLog: table name
* ChangeLog: the table name instead of the table type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

08/29/2015

11:05 PM Bug #11495: [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
The current examples are:
r1 = Regexp.new('^a-z+:\s+\w+') #=> /^a-z+:\s+\w+/
r2 = Regexp.new('cat', true) #=> /cat/i
r3 = Regexp.new(r2) #=> /cat/i
r4 = Regexp.new('dog', Regexp::EXTENDED | Regexp::...
shevegen (Robert A. Heiler)
11:04 PM Bug #11495 (Closed): [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
Hello,
The documentation at Regepx.new here:
http://ruby-doc.org/core-2.2.3/Regexp.html#method-c-new
It shows a lot of information, in particular four ways to call it:
new(string, [options [, kcode]]) -> regexp
n...
shevegen (Robert A. Heiler)
05:45 PM Bug #11376 (Closed): Stop using SSLv3 methods
Applied in changeset r51722.
----------
* ext/openssl/ossl_ssl.c (static const struct): Only add SSLv3 support
if the SSL library supports it. Thanks Kurt Roeckx <kurt@roeckx.be>
[Bug #11376]
* ext/openssl/extconf.rb: check for SS...
Anonymous
05:45 PM Revision 946edb8c (git): * 2015-08-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:45 PM Revision 801e1fe4 (git): * ext/openssl/ossl_ssl.c (static const struct): Only add SSLv3 support
if the SSL library supports it. Thanks Kurt Roeckx <kurt@roeckx.be>
[Bug #11376]
* ext/openssl/extconf.rb: check for SSLv3 support in the SSL
implementation.
* test/openssl/test_ssl.rb (class OpenSSL): Skip tests that need SSLv3
...
tenderlovemaking (Aaron Patterson)
02:22 PM Feature #11476 (Assigned): Methods defined in Refinements cannot be called via send
It's an intended behavior that Kernel#send ignores refinements as described at https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/RefinementsSpec
What do you think of it, Matz?
shugo (Shugo Maeda)
01:04 PM Bug #11119: Anonymous classes and modules have terrible #name and #inspect performance
The way I do it in JRuby+Truffle is by lazily associating names when constants are assigned.
Then "name" the value if it is a Module and the lexical parent has a name/is rooted
and in that case also iterate on that module constants and...
Eregon (Benoit Daloze)
12:33 PM Bug #11492: TracePoint API report extra return for defined method
Reporter of original bug confirmed that ruby-head does fix the problem. os97673 (Oleg Sukhodolsky)
10:24 AM Bug #11492: TracePoint API report extra return for defined method
Thanks! deivid (David Rodríguez)
05:19 AM Revision c5b0dc63 (git): test_pathname.rb: fix exception
* test/pathname/test_pathname.rb (has_symlink): now raises ENOENT
instead of TypeError when symlink is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:25 AM Revision 123a1e3c (git): * 2015-08-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:25 AM Revision 8879d73f (git): test: try File.symlink with invalid paths
* test (have_symlink?): try File.symlink with invalid paths to
test the administrator privilege, nil just raises an
ArgumentError before trying the actual API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51719 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)

08/28/2015

11:27 PM Bug #11494: Attempting to compile a static ruby 2.2.3 - build failure
The other ruby I am using right now I have compiled from source as well,
but not in a static variant.
It works without error - I only have the error when trying to compile
a static ruby. (I would need one because I tend to sometimes...
shevegen (Robert A. Heiler)
11:26 PM Bug #11494 (Closed): Attempting to compile a static ruby 2.2.3 - build failure
Hello,
I would like to report a bug trying to compile ruby-2.2.3.
The URL from which I obtained this ruby is this:
wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-2.2.3.tar.xz
I set a different CFLAGS:
"-static -O2 -g...
shevegen (Robert A. Heiler)
05:10 PM Bug #11492: TracePoint API report extra return for defined method
David Rodríguez wrote:
> Oleg, could you link to the original report where you found this out? I'd like to know what kind of bug reports to expect and maybe add a regression test in byebug itself.
originally the problem was reported ...
os97673 (Oleg Sukhodolsky)
04:46 PM Bug #11492: TracePoint API report extra return for defined method
Oleg, could you link to the original report where you found this out? I'd like to know what kind of bug reports to expect and maybe add a regression test in byebug itself. deivid (David Rodríguez)
01:21 AM Bug #11492 (Closed): TracePoint API report extra return for defined method
Applied in changeset r51713.
----------
* vm.c (hook_before_rewind): prevent kicking :return event while
finishing vm_exec func because invoke_block_from_c() kick a :return
event for bmethods.
[Bug #11492]
* test/ruby/test_settrac...
ko1 (Koichi Sasada)
12:53 AM Bug #11492 (Assigned): TracePoint API report extra return for defined method
nagachika (Tomoyuki Chikanaga)
02:53 PM Feature #11491: Add descriptive methods to Method & UnboundMethod
Myron Marston wrote:
> I think it would make more sense to add a `#singleton_method?` predicate. While every method is an instance method of some class, only some methods are singleton methods.
unbound_method.owner.singleton_class? ...
Eregon (Benoit Daloze)
02:52 PM Feature #11491: Add descriptive methods to Method & UnboundMethod
Nobuyoshi Nakada wrote:
> Benoit Daloze wrote:
> ...
It would return String in the example above.
> A `Method` is a method, the difference from `UnboundMethod` is just if it has a receiver.
> ...
I was just commenting on the naming...
Eregon (Benoit Daloze)
10:40 AM Feature #11491 (Feedback): Add descriptive methods to Method & UnboundMethod
Benoit Daloze wrote:
> So I propose #origin, which goes well along #owner.
How does it differ than `#owner`?
A `Method` is a method, the difference from `UnboundMethod` is just if it has a receiver.
If `respond_to?(:receiver)` re...
nobu (Nobuyoshi Nakada)
08:47 AM Feature #11491: Add descriptive methods to Method & UnboundMethod
#receiver is not ideal since it has a different meaning for Method ("receiver type" is more what we want).
In JRuby it is called "origin" ("orig" in MRI) and the documentation of UnboundMethod says:
Unbound methods can only be ca...
Eregon (Benoit Daloze)
01:29 PM Bug #11376: Stop using SSLv3 methods
Kurt Roeckx wrote:
> Is there any ETA of when I can expect this to be resolved? Do you need some help or more info?
Since OpenBSD removed SSLv3 from libressl a few days ago, I've committed patches similar to the attached one to all ...
kili (Matthias Kilian)
11:48 AM Revision 754b3342 (git): file.c: syserr_fail2_in
* file.c (syserr_fail2_in): pass errno from callers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:35 AM Revision d93855e6 (git): win32.c: suppress warnings
* win32/win32.c (fchmod): put braces to suppress missing-braces
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:34 AM Revision b0729007 (git): win32.c: suppress warnings
* win32/win32.c (wrename): fix type of attributes to suppress
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:19 AM Bug #9760: mkmf does not allow for linking against custom libraries when a system library is present
I'm positive to revert the change at r45640. sorah (Sorah Fukumori)
04:17 AM Bug #9760: mkmf does not allow for linking against custom libraries when a system library is present
Assume /usr/lib has librubyA and libfooB, and /home/someone/local/lib has libfooA. I think early-libdir.patch makes mkmf.rb can't link to libfooA never.. sorah (Sorah Fukumori)
07:05 AM Revision 94c5f5a7 (git): * lib/rdoc/*: Update rdoc master(cfffed5)
https://github.com/rdoc/rdoc/pull/337
https://github.com/rdoc/rdoc/pull/367
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:22 AM Bug #11493 (Rejected): IRB/Ruby completely exits when attempting to use NoMethodError exception in BasicObject
# Summary
Was playing around with BasicObject to implement my own undefined method message and found this issue in IRB
~~~
$ ruby --version
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
$ irb
2.2.0 :002 > class Bas...
iMIchael (Michael Martinez)
01:36 AM Feature #8976: file-scope freeze_string directive
Here you can see more information about the actual effect of frozen string on Ruby on Rails https://github.com/rails/rails/pull/21057. It is 11% in a relative small application, in big applications this improvement can be bigger.
> I ...
rafaelfranca (Rafael França)
01:24 AM Revision 5dfc455b (git): test: File.symlink needs administrator privilege
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:20 AM Revision 868c98dc (git): * vm.c (hook_before_rewind): prevent kicking :return event while
finishing vm_exec func because invoke_block_from_c() kick a :return
event for bmethods.
[Bug #11492]
* test/ruby/test_settracefunc.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51713 b2dd03c8-39d4-4d8f-98ff-823...
ko1 (Koichi Sasada)
 

Also available in: Atom