Activity
From 11/14/2012 to 11/20/2012
11/20/2012
-
11:53 PM Feature #4085: Refinements and nested methods
- > This should return nil. Otherwise, refinements can break code which
doesn't expect the refined behavior.
Ok. Makes sense.
> I don't understand why it's worse.
Only worse in that case if you had not said `nil`.
S... -
11:51 PM Feature #4085: Refinements and nested methods
- =begin
> This should return nil. Otherwise, refinements can break code which doesn't expect the refined behavior.
Ok. Makes sense.
> ...
Only worse in that case if you had not said `nil`.
Since you did say `nil`, then what ab... -
11:36 PM Feature #4085: Refinements and nested methods
- shugo (Shugo Maeda) wrote:
> ...Without module_eval and refinement inheritance in class hierarchies, refinements don't decrease readability so much, because using is used in a file you're reading, except when a module is reopened, in ... -
10:32 PM Feature #4085: Refinements and nested methods
- rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Then, the real question is: what is most important? Powerful or readability/performance? We can't get both with this feature.
I proposed Refinements for power. Refinements are more powerf... -
08:24 PM Feature #4085: Refinements and nested methods
- shugo (Shugo Maeda) wrote:
> Some people seem to suspect that code using refinements is difficult to debug, but reflection APIs may be useful to debug such code.
I don't think the big problem is debugging, but readability. This is my... -
02:52 PM Feature #4085: Refinements and nested methods
- trans (Thomas Sawyer) wrote:
> f.safe_send(:foo) # => ?
This should return nil. Otherwise, refinements can break code which doesn't expect the refined behavior.
> ...
I don't understand why it's worse.
-
02:48 PM Feature #4085: Refinements and nested methods
- shugo (Shugo Maeda) wrote:
> Application programmers should not use Refinements.
I meant that application programmers should not use Module#refine.
It's OK to use Kernel#using and Module#using.
-
01:40 PM Feature #4085: Refinements and nested methods
- =begin
So...
class Foo
end
module FooExt
refine Foo do
def foo
puts "foo"
end
end
end
module Kernel
def safe_call(f, m)
if f.respond_to? m
return f.send(:m)
end
nil
... -
11:45 AM Feature #4085: Refinements and nested methods
- Thanks for your feedback, Charles and others.
I understand your worries.
The feature set of Ruby 2.0 has already been frozen, so it's impossible to introduce a completely different feature in Ruby 2.0. So we have only the following ... -
11:53 PM Feature #5053: ruby コマンドと libruby の食い違いチェック
- (12/11/20 23:18), mame (Yusuke Endoh) wrote:
> なかださん、いかがお過ごしでしょうか
いい具合でゴキゲンですが、[ruby-dev:45898]でも書いたように解決の方針がそもそも明後日ではないかと思います。
--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦 -
11:49 PM Feature #5053 (Rejected): ruby コマンドと libruby の食い違いチェック
2012年11月20日 23:30 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> (12/11/20 23:18), mame (Yusuke Endoh) wrote:
> ...
一任されたなかださんがその意見なら、このチケットは rejected でよろしいかと思います。
--
Yusuke Endoh <mame@tsg.ne.jp>
-
11:18 PM Feature #5053 (Assigned): ruby コマンドと libruby の食い違いチェック
- なかださん、いかがお過ごしでしょうか
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:46 PM Bug #7312: test_str_crypt(TestM17NComb) fails
- naruse (Yui NARUSE) wrote:
> For (1), I cannot find suitable way.
> ...
This should work. -
10:14 PM Bug #7312: test_str_crypt(TestM17NComb) fails
- vo.x (Vit Ondruch) wrote:
> The fix does not fully work. There are at lease three issues:
> ...
I fix (2) and (3) at r37766.
For (1), I cannot find suitable way.
Could you make a patch? -
09:45 PM Bug #7312 (Open): test_str_crypt(TestM17NComb) fails
- =begin
The fix does not fully work. There are at lease three issues:
(1) It does not work on 64b system, since libc is located in /usr/lib64
(2) The glibcver <=> [2, 16] compares array of strings with array of integers, which return... -
11:40 PM Feature #4801 (Rejected): Shorthand Hash Syntax for Strings
- The discussion has gone away in the wind without making any consensus.
So I marked this 'rejected'. My point is clearly stated in the first comment.
Besides that, we have already tried making Symbols a subclass of String, or making S... -
11:31 PM Feature #6802 (Assigned): String#scan should have equivalent yielding MatchData
-
11:30 PM Feature #6847 (Rejected): Hash#extract
- Use Hash#select which now returns an hash.
Matz.
-
11:23 PM Feature #6847 (Assigned): Hash#extract
-
11:28 PM Feature #7022 (Assigned): add event hook for garbage collection
-
11:27 PM Feature #6962 (Assigned): Use lighter hash structure for methods table, instance variable positions, constants
- ko1 or nobu, please check this (towards next minor).
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:24 PM Feature #6857 (Assigned): bigdecimal/math BigMath.E/BigMath.exp R. P. Feynman inspired optimization
-
11:23 PM Feature #6844 (Rejected): Random.rand() requires pre-seeding in forked process
- Likely to be a request based on old version or misconception. No feedback. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:18 PM Feature #5394 (Rejected): Anonymous Symbols, Anonymous Methods
- I refuse to add new syntax described in the proposal.
And I think refinement will do the task the OP intended by anon symbols.
So I mark this 'rejected'. Feel free to reopen it.
But I expect you to persuade me.
Matz.
-
11:12 PM Feature #6483 (Rejected): parametric map
- I reject the original idea of #pmap which might be read as 'parallel map' or 'parametric map' or something else.
The idea of adding parameter to block with argument specified e.g. a.map(&:to_s.(2)) is interesting,
but it must be propos... -
11:07 PM Feature #3688 (Rejected): redef keyword for method redefinition in Ruby 2.0
- To eliminate alias_method_chain, we introduced Module#prepend.
There's no chance to add redundant feature in the language.
Matz.
-
11:06 PM Feature #4233: autoload Can't Require Gems
- Is this really a feature request? Looks a (low-priority?) bug to me.
drbrain, what do you think about this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:04 PM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- Thomas, I like the idea but there is a shortcoming to this approach when people are using Ruby for performing shell scripting, like sysadmin scripts. It is not fair to force them to install any gem for some common task like this...
-
09:47 PM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- I actually think it would be better to remove the option parser libraries from Ruby's stdlib alltogther. There are a number of really good option parser gems out there, but they get little use b/c developers tend to "play it safe" and us...
-
11:04 PM Feature #5856 (Rejected): Feature: Raise any object
- If we allow raising non Exception object, the library authors will catch Object (or even BasicObject), and this time we will have no work around. So, it's matter of disciplined exception raising/handling. As non-local exit not to be han...
-
11:00 PM Feature #6875: Make test/unit default gem
- Sorry for my late response...
vo.x (Vit Ondruch) wrote:
> kou (Kouhei Sutou) wrote:
> ...
Thanks for your agreement.
I'll comment on only test-unit.gemspec things.
> You have a view of Ruby developer. Ruby developer is used to u... -
10:55 PM Feature #6513 (Rejected): Make method_missing to lookup in constants too
-
10:54 PM Feature #3447 (Assigned): argument delegation
- shyouhei (Shyouhei Urabe) wrote:
> * このスレッドの現状をどなたか教えていただけませんか。
matz の最終的な go ahead 待ちだと思いますが、2.0.0 の feature deadline は過ぎたので next minor に。
> ...
「この記法」は matz の元提案の話?それとも `&` の話?
後者だとしたら、
~~~ruby
def foo; ... yield ... end
... -
10:49 PM Feature #4772 (Rejected): Hash#add_keys
- As far as I understand, the OP intention was to generate key/default-value pair explicitly.
But I don't see any real world use case. The value will be generated anyway.
If he wants to cache the value, the name #add_keys does not descri... -
10:39 PM Feature #5458: DL should be removed
- Aaron, did you add a warning?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:36 PM Feature #4865 (Rejected): Documentation of FileUtils is very unclear on how errors are handled
- No feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:33 PM Feature #6260 (Rejected): Relationship of collating sequence to === and <=> for Strings not documented
- No feedback, closing. I'm sorry.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:33 PM Feature #5644: add Enumerable#exclude? antonym
- Too bad we can't use symbols like `∉`.
-
10:32 PM Feature #5446 (Assigned): at_fork callback API
-
10:23 PM Bug #7386: test_signal_propagation_in_tests is failed before make install
- Same here with ruby 2.0.0dev (2012-11-19 trunk 37735) [x86_64-linux]
-
10:20 PM Feature #6136 (Rejected): Add gpg signatures whenever releasing ruby source tarballs
- No feedback. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:02 PM Feature #5778: Allow WEBrick::HTTPResponse to send IO-duck-typed bodies
- Blame NaHi!
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:01 PM Feature #4946 (Feedback): Building libruby-static.a with option nodynamic and --with-static-link-ext doesn't disable dlopen
- Can't you disable it with the following?
ac_cv_func_dlopen=no configure -
10:01 PM Feature #7368: rb_str_each_line()のパフォーマンス向上とリファクタリング
- 返信が遅くなってしまいました。
成瀬さん、レビュー頂きありがとうございます。
> このパッチだとたぶん、EUC-JPで「スト」に「好」がマッチするような場合は防げないんじゃないでしょうか。
rb_str_index()相当の誤マッチ対策をしてはいたのですが、誤マッチを検出した後の処理がまずかったので意味を為していませんでした。
この点は添付のpatchで修正しました。
> ...
validとinvalidで区別しているのは、被検索文字列がinva... -
09:40 PM Feature #4907: enumerable#permutation and combination
- This will not work for an enumerator created from IO.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:34 PM Feature #3330 (Rejected): mkmf (find|have)_cxx_header
- #3333 と重複らしいのでこっちは閉じますね。(せっかくなのでキリ番を残す)
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:34 PM Bug #7403 (Closed): TestWIN32OLE_TYPE test failure on Windows 8
- This issue was solved with changeset r37758.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/win32ole/test_win32ole_type.rb (test_implemented_ole_typ... -
12:30 PM Bug #7403 (Assigned): TestWIN32OLE_TYPE test failure on Windows 8
-
09:09 PM Feature #6376: Feature lookup and checking if feature is loaded
- Yes I know what you want. But I don't know why you want it. In general, I don't think that it is a good idea to depend on whether a feature is loaded or not. Rather, you should make sure to require what feature you need.
So, please... -
03:36 AM Feature #6376: Feature lookup and checking if feature is loaded
- =begin
@mame Your example would load the library. The request is to know where a library comes from (`(({require_path('ostruct')}))`). As an additional benefit it would allow us to know if a library has been loaded or not. It's nothing ... -
02:44 AM Feature #6376 (Assigned): Feature lookup and checking if feature is loaded
- If I had a right to judge a feature request, I would reject this.
But actually I have no right. Assigning to matz. (virtual rejection?)
I don't see what OP really want to do. Doesn't Rescue'ing a LoadError from require help?
b... -
09:08 PM Feature #5726 (Closed): Process::EXIT_SUCCESS and Process::EXIT_FAILURE
-
09:04 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- luislavena (Luis Lavena) wrote:
> AFAIK: debugger gem was a response to many of the installation issues
> ...
Actually link that I gave is sources of ruby-debug-base19x. These are both forks for the same reasons =)
ruby-debug-base19x... -
08:53 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- On Tue, Nov 20, 2012 at 8:08 AM, SASADA Koichi <ko1@atdot.net> wrote:
>
> Thanks! I'll try it.
>
> BTW, I can't understand relationship between `debugger' and `ruby-debug'.
>
AFAIK: debugger gem was a response to many of the in... -
08:23 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- (2012/11/20 17:46), denofevil (Dennis Ushakov) wrote:
> Yes, sure: https://github.com/ruby-debug/ruby-debug-base19
Thanks! I'll try it.
BTW, I can't understand relationship between `debugger' and `ruby-debug'.
--
//... -
05:46 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- Yes, sure: https://github.com/ruby-debug/ruby-debug-base19
-
07:53 AM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- (2012/11/19 23:43), denofevil (Dennis Ushakov) wrote:
> I will try to rewrite ruby-debug-base for 2.0 using your fork during this week and will post about results
Can I see ruby-debug-base source code?
I will try it and find ou... -
08:59 PM Feature #5550 (Rejected): Hash#depth, Hash#flat_length for recursive hashes
- No feedback, looks hopeless to me. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:58 PM Feature #5553 (Rejected): A method for Hash that works differently depending on whether a key exists
- No feedback, looks hopeless to me. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:57 PM Feature #5554 (Rejected): A method that applies self to a Proc if self is a Symbol
- 長期間フィードバックがない+望み薄と思われるので閉じます。
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:23 PM Feature #6895: TracePoint API
- (2012/08/21 13:53), SASADA Koichi wrote:
>> > What I'd ask though is that for return events one be
>> > able to get the return value and for exception events one be able to get
>> > the exception message.
> Okay. I'll try it.
... -
08:12 PM Feature #6895: TracePoint API
- Finally, I changed TracePoint API to
* TracePoint.new
* TracePoint.trace
* TracePoint#enable
* TracePoint#disable
* TracePoint#enabled?
I believe you can imagine what happen. Please review it.
Remaining task is writing docu... -
08:15 PM Feature #7412 (Assigned): Pathname#relative_path_from does not support mixed directory separators on windows
- =begin
The support for mixing backslashes and forward slashes in the pathname module in the standard library seems to be broken on windows
require 'pathname'
base = Pathname.new("c:\\")
filepath = Pathname.new("c:/foo/b... -
08:13 PM Bug #7409 (Closed): Fix bsearch documentation bug - should be O(log n)
- This issue was solved with changeset r37755.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_bsearch): fix rdoc bug (O(n log n) -> O(log ... -
08:09 PM Bug #7409 (Assigned): Fix bsearch documentation bug - should be O(log n)
- Whoa, thank you!
--
Yusuke Endoh <mame@tsg.ne.jp> -
06:32 PM Bug #7409 (Closed): Fix bsearch documentation bug - should be O(log n) - See attached
-
06:43 PM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- @nobu : nice idea.
By the way, as this proposal is rejected, i do not personally oppose anymore to giving the unary `-` and `+` the highest precedence (#7328). I've read that previously the main reason of giving the binary power ope... -
10:40 AM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- Possibly, emitting a warning against the visual mismatch?
https://github.com/nobu/ruby/compare/warn_unary_space -
06:26 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
- This is a spec change in 2.0 unless any big compatibility problem arise.
Array#values_at should be define as:
def values_at(*idx)
idx.map{|i| self[i]}
end
So it should be written in the NEWS file.
Matz.
-
05:48 PM Feature #2542: URI lib should be updated to RFC 3986
- Are there any plans for actually fixing this? Not sure I can help, and no troll appetite - just asking :)
-
04:00 PM Revision b317bf06 (git): * file.c (Init_File): null device definition uses rb_define_const
- instead of rb_file_const.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:37 PM Bug #7112 (Closed): File.extname documentation fix
- This issue was solved with changeset r37749.
Noah, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* file.c (File.extname): Documentation for extname on dotfiles an... -
03:29 PM Revision 9d71f70d (git): * test/ruby/test_m17n_comb.rb (test_str_crypt): Use RbConfig to get
- libc's directory. Patched by Vit Ondruch [ruby-core:49763] [Bug #7312]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 PM Revision 132eb25a (git): * marshal.c: add marshal readahead. marshalized Array, Hash and Struct
- have size at least number of its elements, marshal readahead will
read the certain readable length and buffer when it needs more bytes.
marshal readahead prevents many calls to IO#getbyte and IO#read,
then it enables performace imp... - 03:03 PM Revision 2fff3595 (git): * 2012-11-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:03 PM Revision aa58a684 (git): * array.c (rb_get_values_at): Improve rdoc
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:58 PM Feature #7375: embedding libyaml in psych for Ruby 2.0
- My only concern for bundling third party library is that leaving behind unmaintained after years.
So give me a promise that Aaron will keep it for foreseeable future. Then I will trust him.
Matz.
- 02:53 PM Revision 68de2e58 (git): * NEWS: List incompatible change for Array#values_at [#6203]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:51 PM Bug #5530 (Assigned): SEEK_SET malfunctions when used with 'append' File.open mode
-
02:45 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- I've added a patch for File::NULL like kosaki-san's patch in r37746
-
02:20 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- In anticipation of drbrain's change in rdoc, i've added r37744, see #7365.
This should be reverted and treated similarly to kosaki-san's change in r37746 -
02:15 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- Kosaki-san, it might be good to backport this change so the File::Constants documentation makes it into 1.9.3
-
02:01 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- Finally, I've used rb_define_const() directly and solved the issue.
Thank you!
-
02:00 PM Bug #5530 (Closed): SEEK_SET malfunctions when used with 'append' File.open mode
- This issue was solved with changeset r37746.
Joshua J., thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (Init_IO): removed all rb_file_const() into file.c.
*... -
01:56 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- =begin
I haven't yet imported the fix into ruby trunk, I am cleaning up the remaining bugs first. I hope to have it committed this coming weekend. I'll leave this ticket open until then.
Since rb_file_const is special, the comment s... -
02:22 PM Feature #7377: #indetical? as an alias for #equal?
- `identical?` can also mean "exactly alike", e.g. identical twins.
For the price of two additional letters, I'd recommend `same_object?` instead. -
07:03 AM Feature #7377: #indetical? as an alias for #equal? - +1, due to similar sounding name, these methods confuse beginners (me). #identical? feels much better.
-
02:11 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- I will fix RubyGems and RDoc, please stand by.
-
02:49 AM Feature #6265 (Assigned): Remove 'useless' 'concatenation' syntax
- drbrain, do you have no intention of fixing rubygems? We cannot add the warning.
(Or please make matz change his mind ;-)
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:00 PM Bug #7342: String#<=> checks for a #to_str method on other but never uses it?
- jballanc (Joshua Ballanco) wrote:
> I would expect something like the following patch makes more sense?
You can use rb_check_funcall(). -
01:48 PM Revision 1196b798 (git): * Makefile.in (.d.h): replace char * to const char * because somehow
- current dtrace removes const of function declaration in probes.d.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:17 PM Revision 3ee0326b (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:09 PM Revision bf445c24 (git): fix guards for glibc crypt(3) see #7312
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:09 PM Bug #7326: Time.c doc improvements
- =begin
Arguments should be surrounded by "+", not "_". In Time.at, (({+seconds+})), (({+seconds_with_frac+})) and (({+microseconds_with_frac+})) are preferred.
Otherwise, a quick scan makes me think this patch is good.
For referen... -
12:44 PM Bug #7326: Time.c doc improvements
- If you can separate typo/grammar changes from formatting, it will be much easier for me to review and more likely to commit.
edit: s/grammer/grammar ... how ironic -
12:57 PM Revision cea7600b (git): * include/ruby/debug.h: introdudced.
- Debugging/profiling features will be located.
* vm_trace.c: expose C-level TracePoint APIs.
Note that they are experimental.
* vm_trace.c, include/ruby/debug.h: rename `rb_hook_flag_t'
to `rb_event_hook_flag_t'.
Macro names `RUBY_H... -
12:51 PM Feature #7106 (Assigned): FileUtils.touch should allow touching the symlink itself rather than the file the link points to
-
12:34 PM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
- Yes, OK.
Let's do it on next minor. -
05:12 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
- Nakamura-san
Are you OK with making File#lutime return a NotImplementedError for now and we can work on next version making File#symlink? and associated work on Windows?
Thank you. -
04:08 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
- Hey,
Thanks a million Luis! :-)
It would be amazing to get File#lutime added now so *nix / POSIX compliant environment will benefit from it, and then we can look (under a separate ticket) how to add File#symlink? for Windows platfo... -
12:49 PM Revision f495c968 (git): * configure.in (RUBY_DTRACE_AVAILABLE): only check dtrace availability.
- * configure.in (RUBY_DTRACE_POSTPROCESS): restore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:41 PM Revision 8459af3f (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:39 PM Revision 5191b2ae (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:39 PM Revision 2562560c (git): fix indent
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:34 PM Revision eabe74e0 (git): file.c: fix rdoc
- * file.c (rb_file_s_extname): fix rdoc for an edge case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:34 PM Revision c3da426d (git): remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:34 PM Revision a00a9a28 (git): * test/win32ole/test_win32ole_type.rb (test_implemented_ole_types):
- IShellDispatch6 bundled in Windows 8. Thanks to phasis68 (Heesob
Park). [ruby-core:49580][Bug #7403]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:34 PM Bug #7365 (Closed): File::NULL is not in documentation
- This issue was solved with changeset r37744.
Misty, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* file.c (File::NULL): Document File::NULL constant
[ruby-core... - 12:10 PM Revision 21453dc7 (git): * complex.c: some improvements.
- * rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:01 PM Revision 3b3d2006 (git): common.mk: fix for BSD make
- * common.mk (incs): BSD make cannot deal with non-prefixed dependency
and prefixed target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:48 AM Feature #5448 (Rejected): Singleton module's ::instance method should forward parameters
- I think that "an extra layer of complexity where none is needed" is the parameter here.
If it were really needed, you may want to use multiton instead.
What you want doesn't sound singleton. -
11:13 AM Revision 4c37c520 (git): * array.c (rb_ary_bsearch): fix rdoc bug (O(n log n) -> O(log n)).
- Patch by Charlie Somerville. [ruby-core:49661] [Bug #7409]
* range.c (range_bsearch): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:13 AM Revision f1aee632 (git): add a ticket number
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:06 AM Bug #7337 (Rejected): 1.9.3-p327 crashed on rake
- llvm-gcc-4.2 is too old.
Use recent toolchain. -
11:05 AM Bug #6490 (Closed): The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
- This issue was solved with changeset r37741.
Michal, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/tracer.rb (Tracer.trace_func): printf to stdout
Patch b... -
03:18 AM Bug #6490: The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
- Looks good to me. Zachary, could you please apply it to trunk?
I guess that Keiju-san does not read English mail (bad!), so I ask him to check your commit in Japanese.
いしつかさん、
Tracer で stdout.printf とすべきところが printf になっちゃってるという報告で... -
11:05 AM Revision 1da641a1 (git): * vm_trace.c: rename and add TracePoint APIs.
- (1) TracePoint.new(...){...} creates a new trace point
but does not make it enable.
(2) TracePoint.trace(...){...} creats a new trace point
and enable it (same as old behavior).
(3) TracePoint#enable make it enable (renamed from ... -
10:10 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- Apologies it has taken me so long to respond here.
> I concur with ko1's objection to having the bindings available. It would introduce *massive* performance overhead and kill many optimizations we implementers do currently or hope to ... -
09:48 AM Revision 55393196 (git): * vm_trace.c: add two methods:
- (1) TracePoint#return_value which returns return
value on the :return and :c_return event.
(2) TracePoint#raised_exception which returns raised exception
value on the :raise event.
Eeach methods raise RuntimeError if it is called... -
09:41 AM Feature #7378: Adding Pathname#write
- I definitely also have written Pathname#write, and used it. Please provide a patch, that should help getting it included.
-
09:40 AM Bug #3924 (Closed): Performance bug (in require?)
- Fixed by #7158.
-
09:34 AM Feature #5767 (Closed): Cache expanded_load_path to reduce startup time
- Fixed by #7158.
-
09:32 AM Feature #5427 (Closed): Not complex patch to improve `require` time (load.c)
- Fixed by #7158. See #7387.
-
08:47 AM Revision b1fa5590 (git): Add extra line to prevent syntax error
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:35 AM Revision da56cb6b (git): * configure.in: fix dtrace didn't work on darwin.
- * configure.in (RUBY_DTRACE_AVAILABLE): unify RUBY_DTRACE_POSTPROCESS
and RUBY_DTRACE_BSD_BROKEN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:28 AM Bug #7350: Segmentation fault with ruby 1.9.3p328 (2012-11-13) [x86_64-linux]
- Argh, my bad - I think it's a problem with how we were using libxml-ruby rather thank a ruby bug.
We had an area of code where we weren't correctly importing nodes into documents (see "Memory Management" in http://libxml.rubyforge.org... -
07:53 AM Feature #7390: Funny Falcon Threads
- (2012/11/20 3:12), mame (Yusuke Endoh) wrote:
> ko1, could you consider this issue towards next minor?
Sure.
--
// SASADA Koichi at atdot dot net -
03:12 AM Feature #7390 (Assigned): Funny Falcon Threads
- ko1, could you consider this issue towards next minor?
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:32 AM Bug #7406: English.rb says that $_ is thread-local, but it is frame-local
- I guess this is a bit confusing, since it does also say it's scope-local. The thread-local part throws me off a bit. Is it thread-local or scope-local?
Here's the example again, this time actually running in 2.0.0.preview1:
system ... -
07:28 AM Bug #7406 (Closed): English.rb says that $_ is thread-local, but it is frame-local
- system ~/projects/jruby/gist-4110634 $ jirb
irb(main):001:0> $_ = 'foo'
=> "foo"
irb(main):002:0> def blah; p $_; end
=> nil
irb(main):003:0> p $_
"foo"
=> "foo"
irb(main):004:0> blah
nil
=> nil
Not thread-local. -
07:09 AM Feature #7388: Object#embed
- =begin
I thought about a few terms that might work in both cases, i.e. the so called "embed" case of this issue and the "identity" case of #6373. All of the obvious plays on the term "self" didn't fair too well. So I took a step back an... -
06:07 AM Feature #7388 (Rejected): Object#embed
- =begin
I am against those names (not the feature).
: embed
the term 'embed' has different impression.
: infix
'infix' reminds me 'infix operators'.
: ergo
Latin? I am strongly against introducing non-popular non-Englis... -
05:53 AM Feature #7388: Object#embed
- Is this #ergo? Also see #6721 and #6373.
-
04:29 AM Feature #7388: Object#embed
- >
> I'd even say that `embed` is wrong.
>
> I would like to know of a good example of use case. I often succumb to the
> temptation of writing more complex code to avoid creating a local var, but
> that doesn't always make for... -
03:37 AM Feature #7388: Object#embed
- mame (Yusuke Endoh) wrote:
> My personal opinion: the method name will matter.
I'd even say that `embed` is wrong.
I would like to know of a good example of use case. I often succumb to the temptation of writing more complex code ... -
03:10 AM Feature #7388 (Assigned): Object#embed
- In principle, I have no right to judge a feature request.
Please ask matz.
My personal opinion: the method name will matter.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:02 AM Feature #7387 (Closed): Keep LOADED_FEATURES sorted by filename without extention for faster lookup on require.
- LOADED_FEATURES hash index was included in #7158. Sorted LOADED_FEATURES is another approach for faster LOADED_FEATURES lookup in require, but we cannot apply both of them since they are conflicted implementations. Performance issue of r...
-
03:15 AM Feature #7387: Keep LOADED_FEATURES sorted by filename without extention for faster lookup on require.
- Hiroshi-san can you verify this has been resolved?
-
03:14 AM Feature #7387: Keep LOADED_FEATURES sorted by filename without extention for faster lookup on require.
- mame, you're welcome, I hope it helps you with the release!
I wasn't sure if this was included in #7158, so it may be duplicate. Feel free to close this ticket. -
03:09 AM Feature #7387 (Feedback): Keep LOADED_FEATURES sorted by filename without extention for faster lookup on require.
- Zachary, thank you for the sorting out the tickets!
I think that the problem itself was fixed effectively by #7158.
Am I misunderstanding?
--
Yusuke Endoh <mame@tsg.ne.jp> -
06:55 AM Feature #7341: Enumerable#associate - @Tom: Associative arrays are nice, but they are just arrays. No need to pamper them too much in the core.
-
06:49 AM Feature #7384: Rename #each_with_object to #each_with - +1 for Eregon. #each_with_object is my favorite method, I love and always alias it to #ewo :)
-
06:41 AM Feature #6811: File, Dir and FileUtils should have bang-versions of singleton methods that fails silently - First, let me apologize to everyone for expressing opinion, while having relatively little experience. I like your proposal, but I am concerned about feature creep. Maybe those convenience features should go to stdlib, just like eg. requ...
-
06:37 AM Revision b6161a3b (git): * file.c (File.extname): Documentation for extname on dotfiles and
- files ending with a dot. Also, added example for this.
[ruby-core:47852] [Bug #7112]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:39 AM Revision 134d33b0 (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:39 AM Revision 4d3f768b (git): * test/ruby/test_signal.rb (TestSignal#test_signame): fix windows
- test failure. Process.kill on windows can't send a signal to
another process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:00 AM Revision c8a3b2ba (git): * io.c (Init_IO): removed all rb_file_const() into file.c.
- * file.c (Init_File): replace with rb_file_const() with
rb_define_const() because RDoc don't care rb_file_const.
[Bug #5530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:37 AM Revision 7e96fb25 (git): * ruby.c (usage_msg): Fix typo [ruby-core:49205] [Bug #7327]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:34 AM Revision ca8f3275 (git): * file.c (File::NULL): Document File::NULL constant
- [ruby-core:49384] [Bug #7365]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:15 AM Feature #6596: New method `Array#indexes`
- Any new on this please ? I see that this ticket is assigned to Matz. Is there any chance to see it implemented in ruby ?
-
03:14 AM Feature #6670: str.chars.last should be possible
- knu, could you please review this? :-)
--
Yusuke Endoh <mame@tsg.ne.jp> - 03:07 AM Revision 0c3d9675 (git): * win32/win32.c (rb_w32_read): Windows 8 fixed one of a bug of console
- API.
based on the patch by Heesob Park at [ruby-core:49479] [Bug #7379]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 AM Feature #5373: SMTP - new method
- I can't say anything but "no" because the deadline has passed.
So, don't ask me.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:52 AM Bug #7221: 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)
- David, busy?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:45 AM Feature #2447: reduce GC pressure by symbol table without String instance
- 他にやってくれる人がいなければ next minor 送りで。
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:38 AM Feature #5995: calling io_advise_internal() in read_all()
- Well, I wonder what I should do.
... I procrastinate the decision to next minor.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:33 AM Bug #4453 (Closed): Overriding #to_s changes #inspect
- "Fixed" at r36699. See #6130.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:32 AM Feature #5106 (Rejected): Is MurmurHash overkill?
- I'm closing this ticket. Feel free to reopen with benchmark.
BTW: MurmurHash was replaced with SipHash which is a bit slower than MurmurHash.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:31 AM Feature #4247: New features for Array#sample, Array#choice
- My apologies, I forgot this ticket completely. I should have wrapped up this discussion.
This missed the deadline of 2.0.0. I'm setting this to next minor. Sorry.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:27 AM Feature #7252: version number of 2.0 release
- ああ、忘れてました。提案したことも matz から承認されたことも忘れていた上に、このチケットまで忘れるとは我ながら惚れ惚れする忘却力。あいすみません。Vit への連絡もありがとうございます (あれだけでいいかな) 。
でまあ、2.0.0 と ABI については確定でいいと思うのですが、2.0.1 以降どうすんのか?という点は未定だと思うので (matz の「1.8の頃のルールに戻すかどうかはまだ迷っているのですが」のあたり) 、一応 next minor として... -
02:21 AM Revision bd0931f7 (git): * configure.in (--enable-dtrace): always call RUBY_DTRACE_BSD_BROKEN
- for portability.
As the note, FreeBSD 8 has DTrace as the optional
feature (it is enabled by the build option), but doesn't have USDT.
FreeBSD 9 has USDT but they are still optional. FreeBSD 10 will
enable them by default.
The ... -
02:05 AM Revision b65dda51 (git): * lib/tracer.rb (Tracer.trace_func): printf to stdout
- Patch by Michal Fojtik [ruby-core:45219] [Bug #6490]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:21 AM Revision b74e1b21 (git): revert r37730
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:18 AM Revision 49c0c510 (git): Revert "* configure.in (--enable-dtrace): change help message"
- This reverts commit 029b59ba53d0cc42630d623b52d94cae0df62734.
When $rb_cv_prog_dtrace_g is yes on FreeBSD even if /usr/bin/dtrace
exists, it means dtrace is disabled on the system.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37739... -
01:03 AM Bug #7405: Rdoc for CGI#header alias
- Much better, thank you.
-
12:42 AM Bug #7405: Rdoc for CGI#header alias
- =begin
I like to avoid negatives as much as possible.
(({This method is an alias for #http_header, when HTML5 tag maker is inactive.}))
(({NOTE: use CGI#http_header to create HTTP header blocks, this alias is only provided for bac... -
12:30 AM Bug #7405 (Closed): Rdoc for CGI#header alias
- =begin
CGI#header was only reintroduced as alias for CGI#http_header for compatibility reasons (see #7286), it's use for this purpose is deprecated. This should be made clear in the rdoc (patch provided):
This method is an alias ... - 12:51 AM Revision f86396e4 (git): * 2012-11-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:51 AM Revision a7e13d65 (git): Remove probes.o before update
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:50 AM Revision 29996bb3 (git): Don't send INT signal itself.
- On make test-all, it kills the process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/19/2012
-
11:43 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- I will try to rewrite ruby-debug-base for 2.0 using your fork during this week and will post about results
-
11:17 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- =begin
For documenting a constant by (({rb_define_const})), I think you need to use Document-const directive in rdoc.
http://rdoc.rubyforge.org/RDoc/Parser/C.html
((*edit s/defined/define*))
=end
-
04:59 PM Bug #5530 (Assigned): SEEK_SET malfunctions when used with 'append' File.open mode
- Hi drbrain,
Your patch looks don't work. Attached patch created following result.
= File::Constants
(from ruby core)
------------------------------------------------------------------------------
foo bar.
--------------------... -
08:23 AM Bug #5530 (Closed): SEEK_SET malfunctions when used with 'append' File.open mode
- Committed: https://github.com/rdoc/rdoc/commit/4b76cba4
-
10:55 PM Bug #7383: Use stricter cache check in load.c
- Yura, thank you.
Indeed rb_ary_shared_with_p does not react against #shift or #pop. Original array remains shared with the snapshot.
However, I think adding a check of array length would be sufficient for that. This fix has no performa... -
10:20 PM Bug #7403 (Closed): TestWIN32OLE_TYPE test failure on Windows 8
- While I doing test-all, I noticed a failing test on Windows 8.
test_implemented_ole_types(TestWIN32OLE_TYPE) [C:/work/snapshot/test/win32ole/test_win32ole_type.rb:176]:
Expected /^IShellDispatch5{0,1}$/ to match "IShellDispatch6".
... -
08:33 PM Feature #7252: version number of 2.0 release
- 少なくとも 2.0.0 を出すにあたって上記の方針で問題なければチケットをクローズしてください。
-
08:11 PM Bug #7272 (Closed): twice-a-week manual svn -> github sync
-
07:53 PM Feature #7378: Adding Pathname#write
- On 17/11/12 12:46, Eregon (Benoit Daloze) wrote:
>
> Issue #7378 has been updated by Eregon (Benoit Daloze).
>
>
> Hello,
>
> Your feature requests sound very logical to me, and I actually made a path manipulation library ... -
07:32 PM Bug #7259: ruby-debug-base19x does not compile on 2.0.0-head
- Looks like it, feel free to close this one as a duplicate
-
07:22 PM Bug #4266 (Closed): Timeouts in threads cause "ThreadError: deadlock; recursive locking"
- This issue was solved with changeset r37724.
Christopher, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* prelude.rb: Moved Mutex#synchronize to
* thread.c (rb_mu... -
06:43 PM Feature #5613 (Closed): Signal.termsigname メソッドの追加
- This issue was solved with changeset r37723.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* signal.c (sig_signame): implements Signal.signame method
[F... -
06:35 PM Feature #7393 (Closed): Fix array behaviour when it is used as a queue: github#174
-
12:26 PM Feature #7393: Fix array behaviour when it is used as a queue: github#174
- Hi,
I think the pull request was merged to trunk as r37581-r37584.
-
12:18 PM Feature #7393 (Closed): Fix array behaviour when it is used as a queue: github#174
- =begin
from github:
https://github.com/ruby/ruby/pull/174
When array is used intensively as a queue (ie repeated push/shift calls), then its performance degrades very quickly with array's size (especially when almost every shift is ... -
06:04 PM Feature #6682: Add a method to return an instance attached by a singleton class
- =begin
zzak, thanks for updating this feature request.
I add more explanation.
First of all, I'll clarify my intention: I want any kind of modules to be interchangeably used in either of the following 2 ways:
(1) Extend inside ... -
08:43 AM Feature #6682: Add a method to return an instance attached by a singleton class
- I've added Ryo's patch from github: https://github.com/ruby/ruby/pull/142
Shyouhei, could you review this?
Thanks -
04:31 PM Bug #7382 (Closed): Struct#each_pairのyieldと他のeach_pairのそれの相違
- This issue was solved with changeset r37721.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
struct.c: yield assoc in each_pair
* struct.c (rb_struct_ea... -
12:11 AM Bug #7382 (Assigned): Struct#each_pairのyieldと他のeach_pairのそれの相違
-
12:11 AM Bug #7382: Struct#each_pairのyieldと他のeach_pairのそれの相違
- おっしゃることはもっともなので、直してトラブルが起きないかどうか確認したいです。
中田さん、お願いしていい?
Matz.
-
02:13 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
- Matz, could you please confirm what return value is correct for `[].values_at(1..3)`?
1) It could be []. This would be compatible with Ruby 1.8 & 1.9.
2) It could be [nil, nil, nil]. This is current behavior in trunk after Nobu's com... -
02:12 PM Revision 029b59ba (git): * configure.in (--enable-dtrace): change help message
- * configure.in (--enable-dtrace): remove ineffective "else AS_CASE ..."
because the variable $rb_cv_prog_dtrace_g is normally "yes" on
FreeBSD and the AS_CASE is not evaluated on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
01:31 PM Revision 82b24364 (git): * vm_backtrace.c (vm_backtrace_to_ary): fix a typo of an variable name.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:15 PM Feature #7401 (Rejected): Pathname#cleanpath default consider_symlink to true
- =begin
from github: https://github.com/ruby/ruby/pull/213
((*Pathname#cleanpath is a purely lexical cleanup of a unix path, to remove
useless syntax and return an equivalent path. However, the current default
algorithm makes choice... -
01:10 PM Feature #7400 (Closed): Incorporate OpenSSL tests from JRuby.
- =begin
from github: https://github.com/ruby/ruby/pull/206
((*These are tests we added to jruby-openssl over the years. They did not have equivalents in Ruby's test suite, so we are hoping to contribute them back to help build up MRI'... -
01:07 PM Feature #7399 (Closed): Add tests for PKCS7#type= and add_data.
- =begin
from github:
https://github.com/ruby/ruby/pull/205
Add PKCS7 tests.
* PKCS7#type=
* PKCS7#add_data
* PKCS7 encoded content
From JRuby pull requests: https://github.com/jruby/jruby/pull/355 and https://github.com/jruby... -
01:04 PM Bug #7398: Modify TestSSL#test_read_and_write to handle partial sysreads
- =begin
Description update:
((*SSLSocket#sysread can return fewer bytes than you request. This test does client reads and writes and server reads and writes concurrently, which means on a parallel-threaded implementation like JRuby th... -
01:03 PM Bug #7398 (Closed): Modify TestSSL#test_read_and_write to handle partial sysreads
- =begin
from github: https://github.com/ruby/ruby/pull/204
((*SSLSocket#sysread can return fewer bytes than you request. This test does client reads and writes and server reads and writes concurrently, which means on a parallel-thread... -
12:56 PM Bug #7397 (Closed): Fix detection of RL_PROMPT_*_IGNORE macros
- =begin
from github: https://github.com/ruby/ruby/pull/202
((*mkmf doesn't create HAVE_X definitions, so HAVE_RL_PROMPT_START_IGNORE
and HAVE_RL_PROMPT_END_IGNORE don't actually get defined by
ext/readline/extconf.rb. Instead, we sh... -
12:54 PM Feature #7375: embedding libyaml in psych for Ruby 2.0
- Hello Vit,
2012/11/19 Vít Ondruch <v.ondruch@gmail.com>:
> But anyway. I'll try to refrain from further comments to this thread, since
> I made all my points.
You might have a coronary if you saw trunk/LEGAL.
Not only nkf but a... -
08:23 AM Feature #7375: embedding libyaml in psych for Ruby 2.0 - On Mon, Nov 19, 2012 at 12:48:36AM +0900, Vít Ondruch wrote:
> Dne 18.11.2012 15:41, Yusuke Endoh napsal(a):
[snip]
> >Vit, can you create a distro package of Ruby depending on libyaml package,
> >rathar than bundling it, ... -
06:23 AM Feature #7375: embedding libyaml in psych for Ruby 2.0 - Dne 18.11.2012 18:37, Yusuke Endoh napsal(a):
> Hello Vit,
>
> 2012/11/19 Vít Ondruch <v.ondruch@gmail.com>:
>>> I can understand the policy of the Linux distribution. But, Ruby source
>>> distribution is mainly used for thos... -
02:53 AM Feature #7375: embedding libyaml in psych for Ruby 2.0
- Hello Vit,
2012/11/19 Vít Ondruch <v.ondruch@gmail.com>:
>> I can understand the policy of the Linux distribution. But, Ruby source
>> distribution is mainly used for those who intend to use Ruby with no
>> packaing system.
>
>... -
12:53 AM Feature #7375: embedding libyaml in psych for Ruby 2.0 - Dne 18.11.2012 15:41, Yusuke Endoh napsal(a):
> Hello,
>
> 2012/11/18 Benoit Daloze <eregontp@gmail.com>:
>> Agreed, it does not make sense to me to bundle to avoid this problem.
>> They are already many other dependencies whi... -
12:44 PM Feature #7396 (Rejected): encode location header
- from github:
https://github.com/ruby/ruby/pull/189 -
12:40 PM Bug #7395 (Closed): Negative numbers can't be primes by definition
- from github:
https://github.com/ruby/ruby/pull/187
By definition, a prime number can be a positive integer greater than 1.
http://mathworld.wolfram.com/PrimeNumber.html -
12:37 PM Revision f17aa9b3 (git): * vm_dump.c: not to include probes.h because the code does not depend
- on it.
* common.mk (vm_dump.$(OBJEXT)): remove dependency on probes.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:36 PM Feature #7394 (Assigned): Enumerable#find ifnone parameter could be non-callable
- from github:
https://github.com/ruby/ruby/pull/186
In trunk the `Enumerable#find` method `ifnone` parameter has to be callable or `nil`. I found that sometimes I want to return a simple value without wrapping it in a proc. This pull ... -
12:23 PM Bug #7391: Allow to use require_relative from eval and irb environment
- Please read this related issue. http://bugs.ruby-lang.org/issues/4487
-
11:10 AM Bug #7391 (Closed): Allow to use require_relative from eval and irb environment
- =begin
From github: https://github.com/ruby/ruby/pull/139
Before patch
1.9.3p125 :001 > require_relative "file"
LoadError: cannot infer basepath
from irb:1:in 'require_relative'
from irb:1
from /home/lite/.rvm/rubies/ruby... -
12:10 PM Bug #7392: Add handling for %i and %I quoting to irb
- Changed from Feature to Bug (right?)
-
11:55 AM Bug #7392 (Closed): Add handling for %i and %I quoting to irb
- from github:
https://github.com/ruby/ruby/pull/157 -
11:59 AM Feature #6670: str.chars.last should be possible
- I've added Yutaka-san's patch from github, please continue discussion here.
mame, could you please review this? -
11:35 AM Feature #6183: Enumerator::Lazy performance issue
- Yusuke-san seems to be last to review this, what is your opinion?
-
11:15 AM Revision 57ee8128 (git): * thread.c (rb_thread_s_check_interrupt): removed redundant
- GET_THREAD().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:13 AM Revision 4b25e0ce (git): * thread.c (rb_threadptr_async_errinfo_active_p): added a small
- comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:10 AM Revision 212150c2 (git): * thread.c, vm_core.h: big rename th to cur_th when works only
- th is current thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:07 AM Revision 0a2da327 (git): * thread.c (rb_thread_blocking_region_end): replaced GET_THREAD()
- with ruby_thread_from_native(). We don't have GVL here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:04 AM Revision 7643e460 (git): * thread.c (rb_threadptr_execute_interrupts) removed.
- * thread.c (rb_threadptr_execute_interrupts_common) renamed to
rb_threadptr_execute_interrupts. I.e. unified
rb_threadptr_execute_interrupts and rb_threadptr_execute_interrupts_common.
* thread.c (rb_thread_schedule, rb_thread_execut... -
10:54 AM Revision 6d9f7672 (git): * signal.c (rb_get_next_signal): removed pointless signal
- disabling. pthread_sigmask() only changes current thread
mask.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:38 AM Revision 562cb0ae (git): * signal.c (install_sighandler): added comments why we need
- rb_disable_interrupt().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:35 AM Revision 75df3aae (git): * signal.c (rb_disable_interrupt, rb_enable_interrupt): removed
- USE_TRAP_MASK.
* signal.c (trap_arg, trap_ensure): removed.
* signal.c (trap, sig_trap): removed pointless signal disabling.
We don't need it bacause we no longer run trap hander on signal
hander context.
git-svn-id: svn+ssh://ci.... -
10:22 AM Revision 6c56dae4 (git): * prelude.rb: Moved Mutex#synchronize to
- * thread.c (rb_mutex_synchronize_m): here. [Bug #4266]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:43 AM Revision 58282ed6 (git): * signal.c (sig_signame): implements Signal.signame method
- [Feature #5613]
* test/ruby/test_signal.rb (test_signame): adds test for above
* NEWS: add an item about above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:51 AM Bug #6490: The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
- mame, could you look at this?
Keiju-san last connection was over 1 year ago. -
08:35 AM Feature #7390 (Closed): Funny Falcon Threads
- =begin
From github: https://github.com/ruby/ruby/pull/104
(1) Currently, when Thread wakes on timeout, it could not remove itself from ConditionVariable waiters until it acquires lock. So that, when ConditionVariable#signal is called... -
08:27 AM Bug #6978 (Closed): RDoc does not convert <Ruby_element>@<paragraph_name> to hyperlinks
- I can't reproduce the failure with rdoc master. I believe it is fixed.
-
08:26 AM Feature #5970: Add Enumerable#join with same semantics as Array#join
- Adding Greg Sterndale's patch from github:
https://github.com/ruby/ruby/pull/97 -
08:20 AM Bug #7389 (Closed): use rb_str_free for freeing string in parse.y
- From github: https://github.com/ruby/ruby/pull/87
-
07:54 AM Revision 92cef134 (git): struct.c: fix typo
- * struct.c (rb_struct_each_pair): fix typo. [Bug #7382]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:40 AM Feature #7388 (Rejected): Object#embed
- =begin
From github:
https://github.com/ruby/ruby/pull/67
Add Object#embed which works like tap but returns the block's value
This avoids breaking from method chains in many cases. I don't see any other way to do this without this... -
07:32 AM Feature #7387 (Closed): Keep LOADED_FEATURES sorted by filename without extention for faster lookup on require.
- I'm moving this over from github:
https://github.com/ruby/ruby/pull/66 -
07:31 AM Revision 7588c674 (git): struct.c: yield assoc in each_pair
- * struct.c (rb_struct_each_pair): yield associated pairs so that
an unsplat argument can get both, for consistency with Hash,
OpenStruct, and etc. [ruby-dev:46533] [Bug #7382]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37721... -
07:17 AM Revision 2370556d (git): configure.in: no -lelf
- * configure.in (LIBS): libelf is need on only FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:12 AM Feature #7363: Remove the global Pathname() method
- Adding patch from github.
-
07:11 AM Feature #5434: Allow per-class whitelisting of methods safe to expose through DRb
- Adding Mohamed's patch from github.
-
07:09 AM Feature #4189: FileUtils#ln_r
- Adding Thomas' patch from github.
-
07:08 AM Revision a824a618 (git): common.mk: no purelib
- * common.mk (RUBYLIB): purelib option in runruby.rb is deprecated
since r28841, so set to an empty list to get rid of a bogus path in
child processes, which caused an insecure operation exception in
test/ruby/test_encoding.rb:test_... -
06:41 AM Revision b999f95e (git): * .travis.yml (script): add OPTS=-v, requested by @_ko1.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:11 AM Revision 24512ba1 (git): * configure.in: fix didn't enable_dtrace=yes on auto.
- * configure.in: see enable_dtrace for adding libelf on FreeBSD.
* common.mk: VPATH is not needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:07 AM Revision 15d940b8 (git): * thread.c: add `Thread#backtrace_locations' method.
- This method is similart to `caller_locations' method for
specific method.
And fix to accept `level' and `n' parameters for `Thread#backtrace'
and `Thread#backtrace_locations'.
`caller' (and `caller_locations') do not return `call... - 05:56 AM Revision 3918bbfa (git): * Makefile.in, common.mk (probes.h): moved to common.mk and changed to
- see $(srcdir).
* common.mk (probes.dmyh): now created it on $(srcdir) always.
* win32/Makefile.sub (.SUFFIXES): removed common suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:06 AM Revision 70927cb2 (git): * common.mk (vm_dump.o): depend probes.h.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:06 AM Bug #7386 (Closed): test_signal_propagation_in_tests is failed before make install
- TestRakeFunctional#test_signal_propagation_in_tests is failed, when it has been run before +make install+.
$ rm -rf /Users/ayumin/temp/ruby
$ VERBOSE=1 make test-all TESTS='-v -n "test_signal_propagation_in_tests" test/rake/test_rake... -
01:04 AM Revision f567a1a4 (git): * Makefile.in (.SUFFIX): bsdmake needs .SUFFIX is defined before use.
- * common.mk: fix path of probes.dmyh.
* configure.in: FreeBSD's USDT requires libelf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:59 AM Bug #7276: TestFile#test_utime failure
- No failure when building trunk@37710 on Arch 3.6.6 with gcc 4.7.2
-
12:37 AM Bug #7385 (Rejected): Compilation of Ruby should fail when libyaml is not present on system
- =begin
Quoting from [1]:
If libyaml is not installed properly, you cannot compile Psych; no YAML library is available by default. You will see the following message in the build log:
configuring psych
yaml.h is missing. Ple... -
12:26 AM Feature #6672 (Rejected): Calling #() without dot before braces
11/18/2012
-
11:53 PM Feature #7375: embedding libyaml in psych for Ruby 2.0
- Hello,
2012/11/18 Benoit Daloze <eregontp@gmail.com>:
> Agreed, it does not make sense to me to bundle to avoid this problem.
> They are already many other dependencies which are of course not bundled.
> `rvm requirements` lists a... -
05:53 AM Feature #7375: embedding libyaml in psych for Ruby 2.0
- On 17 November 2012 21:34, Vít Ondruch <v.ondruch@gmail.com> wrote:
> Dne 17.11.2012 21:19, Aaron Patterson napsal(a):
>
>> Again, doesn't help with the problems we're having.
>
>
> I don't understand what problems. Was this issue... -
05:53 AM Feature #7375: embedding libyaml in psych for Ruby 2.0 - Dne 17.11.2012 21:19, Aaron Patterson napsal(a):
> Again, doesn't help with the problems we're having.
I don't understand what problems. Was this issue triggered by
[ruby-core:49416]? May be there could be better error messag... -
05:23 AM Feature #7375: embedding libyaml in psych for Ruby 2.0 - On Sun, Nov 18, 2012 at 03:23:49AM +0900, jeremyevans0 (Jeremy Evans) wrote:
>
> Issue #7375 has been updated by jeremyevans0 (Jeremy Evans).
> vo.x (Vit Ondruch) wrote:
> > I hope this proposal will be rejected. Here are some ... -
05:23 AM Feature #7375: embedding libyaml in psych for Ruby 2.0 - On Sun, Nov 18, 2012 at 03:05:50AM +0900, vo.x (Vit Ondruch) wrote:
>
> Issue #7375 has been updated by vo.x (Vit Ondruch).
>
>
> I hope this proposal will be rejected. Here are some reasons:
>
> https://fedoraproject.... -
03:23 AM Feature #7375: embedding libyaml in psych for Ruby 2.0
- vo.x (Vit Ondruch) wrote:
> I hope this proposal will be rejected. Here are some reasons:
> ...
There are two fairly easy ways to fix that, hopefully Aaron will choose one of them:
1) Default to using the system implementation if pr... -
03:05 AM Feature #7375: embedding libyaml in psych for Ruby 2.0
- I hope this proposal will be rejected. Here are some reasons:
https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
http://wiki.gentoo.org/wiki/Why_not_bundle_dependencies
And here are policies regarding bundling for sever... -
11:29 PM Bug #7276: TestFile#test_utime failure
- Nakamura-san,
Do you have any idea about this? Nobu seems not responding so perhaps you can help us figure out the best solution for this.
Thank you. -
12:35 PM Bug #7276: TestFile#test_utime failure
- Ping.
This is the only test-all fail I have when building trunk on Win7 with mingw-w64 gcc 4.7.2.
This fail does not show up at http://ci.rubyinstaller.org/ because the current build slaves reside in an area that doesn't participat... -
09:10 PM Feature #7384: Rename #each_with_object to #each_with
- I couldn't agree more!
Enumerator#with_object should become Enumerator#with as well.
-
08:12 PM Feature #7384 (Open): Rename #each_with_object to #each_with
- I propose that #each_with_object be renamed to #each_with, for the following reasons:
1. The original name is too long. When general purpose methods have long names it tends to deter developers from using them even when they are a goo... -
08:35 PM Feature #7341: Enumerable#associate
- =begin
One problem I have with this is the terminology. The term "associate" already applies to arrays. ((*Associative arrays*)) are arrays of arrays where the first element of an inner array acts a key for the rest.
[[:a,1],[:b,... -
01:34 PM Feature #7341: Enumerable#associate - Agree with Marc-Andre.
-
08:21 PM Bug #7326: Time.c doc improvements
- In contrast to the guidelines I have: _arguments_, _object_ and _other_object_ (also _self_)
Monospaced only for return values: +nil and +true+
What about class methods: Time::new vs Time#new vs Time.new?
Method references should be ... -
07:09 PM Bug #7383 (Closed): Use stricter cache check in load.c
- rb_ary_shared_with_p does not react when #shift or #pop is called on original array.
This patch introduce rb_ary_dup_of_p , which makes more adequate check for duplicate
of array.
https://github.com/ruby/ruby/pull/216
https://git... -
05:12 PM Bug #7382 (Closed): Struct#each_pairのyieldと他のeach_pairのそれの相違
- Struct#each_pairが他のeach_pairと異なります。
他はENVなども含めてassocで、Structだけvaluesなので解りにくいです。
require 'ostruct'
h = {'a'=>1, 'b'=>2}
S = Struct.new('S', 'a', 'b')
s = S.new(1, 2)
o = OpenStruct.new(h)
h.each_pair{|x| p x}
s.each_pair{|... - 04:30 PM Revision e1ffb876 (git): * 2012-11-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:30 PM Revision 979dff3e (git): * vm_core.h, probes_helper.h (RUBY_DTRACE_FUNC_ENTRY_HOOK,
- RUBY_DTRACE_FUNC_RETURN_HOOK): move from vm_core.h to new file
probes_helper.h for narrowing dependency to probes.h.
* common.mk (VM_CORE_H_INCLUDES): remove dependency to probes.h.
* common.mk (vm.$(OBJEXT)): add dependency to probes_... -
01:44 PM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- I have made the additional OpenSSL changes in the following JRuby commit: https://github.com/jruby/jruby/commit/8b022c896ea0d76f876e458229f4f150893295b9
The new exceptions are SSLErrorReadable and SSLErrorWritable. I am not married to... -
01:26 PM Feature #7309: HEREDOC end of line or similar - In other words, you want to mangle Ruby syntax :-)
-
01:22 PM Bug #7369: Matrix #row_size, #column_size methods - @Eregon: #m and #n? Maybe as aliases, but I think that one-character methods should be generally left to daring users. Perhaps #m_size and #n_size.
@Marc-Andre: This is what they call conundrum. #number_of_rows is clear, but almost as... -
01:08 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
- windowsではあまり変わらないみたいです。
linuxだとどこが問題なんですかね。
== 測定環境
OS 名 Microsoft Windows 7 Home Premium
バージョン 6.1.7601 Service Pack 1 ビルド 7601
システムの種類 x64-ベース PC
プロセッサ Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz、3501 Mhz、4 個のコア、8 個のロジカル プロセッサ... -
12:38 PM Bug #7272: twice-a-week manual svn -> github sync
- This can be closed. Thank you Urabe-san.
-
12:37 PM Feature #6672: Calling #() without dot before braces - In that case this issue should be closed. (I also think this feature is too much sugar.)
-
12:32 PM Feature #6687: Enumerable#with - I think the word "object" is non-essential in both Enumerable#each_with_object and Enumerator#with_object; which should become respectively Enumerable#each_with and Enumerator#with.
-
12:27 PM Feature #6688: Object#replace - I support Shugo Maeda, who is against this method. Non-essential feature creep.
-
12:20 PM Feature #6721: Object#yield_self - #ergo is a well-thought method name, I like it better than all others.
-
12:16 PM Feature #6733: New inspect framework - Call me a paranoid, if you want :-)
-
12:16 PM Feature #6733: New inspect framework - Thank you so much for this. Whenever I use #inspect and #to_s methods, such as when writing
puts "blah blah #{object} blah"
I cannot help but be afraid that object's #to_s method will return 20MB string, that will overrun something... -
12:09 PM Feature #6758: Object#sequence - The method seems useful, but adding it to Object or Kernel would be feature creep. I still remember how I was memorizing basic Ruby classes. The number of features in them is already such, that adding new features raises the bar for novi...
- 11:55 AM Revision 2630ad09 (git): * bignum.c (rb_cstr_to_inum): should accept underscores of
- sequence of two or more when unchecked mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:55 AM Feature #5478: Add syntax to import Set into core
- I really like `~[1, 2, 3]` as a shortcut for `Set.new([1, 2, 3])`:
```ruby
class Array
def ~@
Set.new self
end
end
```
My other preferences would be:
1) `<1, 2, 3>`
2) `{1, 2, 3}`, and `{/}` for `Set.new`. -
11:01 AM Feature #5478: Add syntax to import Set into core - I am for having Set in the core, with Set[ a, b, c ] and Set.new as basic constructors. I am against mingling it with existing collection classes. I think that the most frequent usec for Set would be order-independent comparison (instad ...
-
11:09 AM Feature #5528: OO API for tracing - I think that so few people respond to this because they are not users of Tracepoint :-)
-
10:40 AM Feature #5400: Remove flip-flops in 2.0 - For Endo's sake, please don't remove this jewel, bring it to perfection, somehow :))))
-
08:24 AM Revision 1f225be2 (git): * configure.in, Makefile.in, common.mk: support DTrace on Solaris 10,
- based on r26235 by Yugui. On Solaris 10, low optimization level
may also be needed, e.g. optflags="-xO1" or "-xO0" with Oracle
SolarisStudio 12.3 cc.
* configure.in (--enable-dtrace): new option to enable/disable
DTrace support. B... -
03:04 AM Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- Martin, Hiroshi,
This should be finally fixed by r37706, sorry for all the inconveniences!
(note to myself: don't commit to Ruby on during night, even less on friday).
-
02:53 AM Bug #7374 (Closed): File.expand_path resolving to first file/dir instead of absolute path
- This issue was solved with changeset r37706.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Swap logic around wildcard character detection
* win32/file.c ... -
12:55 AM Bug #7374 (Assigned): File.expand_path resolving to first file/dir instead of absolute path
- =begin
Sorry for the noise, but seems I've a Webrick failure caused by this that didn't catch when sent r37700 in.
test_short_filename(WEBrick::TestFileHandler) [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/webrick/te... - 12:35 AM Revision 42d38dec (git): * complex.c (read_comp): mathn compliant.
- * rational.c (read_num): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:26 AM Revision 7a1985a9 (git): trivial changes.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/17/2012
-
09:46 PM Feature #7378: Adding Pathname#write
- Hello,
Your feature requests sound very logical to me, and I actually made a path manipulation library called "Path" [1]
Notably, #write, #glob and #touch are already implemented as you propose and #start_with? functionality is imple... -
09:56 AM Feature #7378 (Closed): Adding Pathname#write
- There should be a variant of File.write for Pathname.
I will provide a patch if this is acceptable.
(Please see my other Pathname related tickets too: #7360 #7361 #7362 #7363 ) -
09:46 PM Bug #7374 (Closed): File.expand_path resolving to first file/dir instead of absolute path
- This issue was solved with changeset r37700.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Skip path expansion for all wildcard characters
* win32/file.c... -
09:33 PM Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- h.shirosaki (Hiroshi Shirosaki) wrote:
> It seems if the last part of the path contains * or ?, FindFirstFileW should not be used since FindFirstFileW expands wildcard.
> ...
Thank you Shirosaki, I did a naive fix and completely missed... -
10:05 AM Bug #7374 (Assigned): File.expand_path resolving to first file/dir instead of absolute path
- It seems if the last part of the path contains * or ?, FindFirstFileW should not be used since FindFirstFileW expands wildcard.
Examples:
File.expand_path("foo/ab*c")
File.expand_path("foo/ab?c")
Code in file.c uses strpbrk(s, "*... -
07:45 AM Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- Martin,
I've committed some tests and a fix for this.
Automated builds will kick in soon, please check RubyInstaller CI to download binary packages.
I'll request a backport once I get confirmation this works on your end.
-
07:43 AM Bug #7374 (Closed): File.expand_path resolving to first file/dir instead of absolute path
- This issue was solved with changeset r37692.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
skip long name conversion if last character is a wildcard one
... -
07:31 AM Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- =begin
No other scenario. Caught that bug trying to install a plugin to redmine 2.1.2 with ruby 1.9.3p327
Redmine then attempt to add plugins routes with the following code:
(({Dir.glob File.expand_path("plugins/*", Rails.root) d... -
07:22 AM Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- Martin,
I'm adding tests for this, do you have any other scenario that is failing and you want to report?
It will be great if we can cover all those by a single commit.
Thank you. -
07:19 AM Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- luislavena (Luis Lavena) wrote:
> Martin,
> ...
Yes, same problem with r37691:
C:\ruby-2.0.0-r37691-i386-mingw32\bin>irb.bat
irb(main):001:0> File.expand_path("./*", "c:/")
=> "c:/$RECYCLE.BIN"
irb(main):002:0>
-
07:09 AM Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- =begin
I can confirm this happens on both 1.9.3-p327 and trunk.
Problem seems to be related to replace_to_long_name which attempts to expand the last part of the path using FindFirstFileW (globing), but is ignoring that it includes "... -
06:32 AM Bug #7374 (Assigned): File.expand_path resolving to first file/dir instead of absolute path
- Martin,
Can you confirm if this happen with Ruby 2.0? (trunk, you can get automated builds from RubyInstaller CI)
Shirosaki-san,
Seems that globing has been enabled?
-
03:32 AM Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- ruby 1.9.3p194 (2012-04-20) [i386-mingw32] is working fine:
irb(main):002:0> File.expand_path("./*", "c:/temp")
=> "c:/temp/*"
-
03:23 AM Bug #7374 (Closed): File.expand_path resolving to first file/dir instead of absolute path
- =begin
(({File.expand_path("./*", "c:)"}))
will give "c:/$recycle.bin" as result instead of "c:/*"
(({File.expand_path("./*", "c:/temp)"}))
will give "c:/temp/." as result instead of "c:/temp/*"
It looks like the first directory... -
08:43 PM Feature #7368: rb_str_each_line()のパフォーマンス向上とリファクタリング
- validかinvalidかで区別する必要は無いし、それで十分でもありません。
防ぐべき誤マッチは文字境界をまたいだマッチであり、このパッチだとたぶん、
EUC-JPで「スト」に「好」がマッチするような場合は防げないんじゃないでしょうか。
(それっぽいのがないなーってとこまでしか見てないので、ちゃんと対策してたら申し訳ない)
行われるべき誤マッチ対策は rb_str_index にあるので、それを参考にしつつ直す必要があると思います。 -
08:15 PM Bug #7380 (Closed): benchmark/driver.rb: --executables separator
- Hello,
The separator used between ruby executables for the benchmark/driver.rb script is ";".
This requires the argument to be quoted (at least in bash/zsh) and produce an unintuitive result if not: only the first executable is taken... -
07:53 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- (2012/11/17 18:35), Conrad.Irwin (Conrad Irwin) wrote:
> It would be great to do this in a gem, but we can't create binding objects anymore due to changes in symbol visibility. (for 1.9 we used rb_vm_make_env_object, but it's now not ... -
06:35 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- Hey ko1,
Your debugging API looks good :).
It would be great to do this in a gem, but we can't create binding objects anymore due to changes in symbol visibility. (for 1.9 we used rb_vm_make_env_object, but it's now not exported, see [... -
07:24 PM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- Thomas, let some physicist correct me, but i thought that designating units was multiplication: 9.81 m/s^2 = (9.81 * m)/(s^2). This should however be discussed in a different thread. :)
-
07:01 PM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- Hmm... "skeuomorphic" probably isn't the right word actually. I really meant something more like "reflecting reality". In this case, specifically, "best reflecting common mathematical notation".
-
06:54 PM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- =begin
It might seem like it, but designating a unit is not multiplication.
(({9.81 * m})) actually means (({9.81 * 1 m}))
Implementation wise this approach is a bit messier too. It requires overriding the built-in #* method and a... -
03:53 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- Sorry, I didn't read the whole thread, but why not use the right operators?
g = 9.81 * m / s ** 2
--
<lay trum/> -
03:41 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- =begin
@trans
Imo the point is that using a method for the unit does not correctly model the mathematical relation (and hence the precedence) between the numerical value of the physical quantity and its unit, which simply is a multip... -
03:12 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- =begin
@stomer
Yes and no. The problem is in the Ruby notation. In physics, you can use parenthesis to make the distinction, but you can't in Ruby. e.g. Your example doesn't work in Ruby:
10.m**3
and
(10.m)**3
Can onl... -
02:57 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- Thomas, i agree with @stomar.
-
02:29 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- @trans
There is only one type of power operator in physics.
You would have to use parentheses:
(10 m)^3 (10 meters * 10 meters * 10 meters)
10 m^3 (10 cubic meters)
And I think you should also have to use them in the... -
01:29 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- =begin
@matz
Reference given below[1], but I can give very brief summary to save you time...
Stick is an SI units system for Ruby. While in pure math there is just one type of "power" (in Ruby provided by (({#**}))), in physical s... -
12:00 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- Speaking of Fortran, there the binary `*` has higher precedence than the unary `-`, which has approximately the same as the binary one. (This is not about this issue, but about #7328 and #7331.)
I would say it is unfortunate that the m... -
07:23 PM Feature #7376 (Rejected): Proposal for new syntax construct to define errors
- Put the following code to your program:
class Module
def define_error(*errors, superclass: StandardError)
errors.each do |e|
self.const_set(e, Class.new(superclass))
end
end
end
def define_error(*err... -
09:05 AM Feature #7376 (Rejected): Proposal for new syntax construct to define errors
- =begin
As discussed here - https://gist.github.com/4091803
When we define an error class in a module, we do one of the following two ways.
module App
class Error < StandardError; end
class ServerError < Error; end
... -
07:16 PM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
- I sympathize with the desire to avoid breaking backward compatibility, but the idea that "10 / 2" is the wrong way and you should instead use "10.div(2)" is pretty anti-Ruby. This is terribly surprising and certainly not what any user wo...
-
02:39 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
- It does create some problems in real apps (e.g. https://github.com/rails/rails/pull/8222 )
The problem is compatibility. I always thought that it was the intent of `mathn` to change the semantics of `/` so that the same operations wou... -
01:29 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
- This is still an issue. Requiring a standard library should never change the result of a Fixnum operation. The current behavior is a terrible bug.
-
07:09 PM Bug #7161: Perf fix: use symbols instead of strings for const/ivar access methods
- I'll forgive you this time, Marc-Andre :)
-
02:44 AM Bug #7161 (Closed): Perf fix: use symbols instead of strings for const/ivar access methods
- Committed as r37688.
I'm sorry, I should have added 'patch by Charles Nutter' to the commit log but I forgot that although git can track authors, svn does not. -
12:38 AM Bug #7161: Perf fix: use symbols instead of strings for const/ivar access methods
- Ping!
-
05:53 PM Revision 55915036 (git): Swap logic around wildcard character detection
- * win32/file.c (replace_to_long_name): correct logic around wildcard
characters detection and ensure wide-chars are used as pattern.
[ruby-core:49451] [Bug #7374]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37706 b2dd03c8-39d4... - 05:03 PM Revision 62f7e108 (git): * complex.c (read_comp): modified handling of polar form.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:51 PM Revision 8d05671d (git): * complex.c (read_comp): fixed handling of polar form.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:20 PM Revision 8f3882d0 (git): * 2012-11-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:19 PM Revision 47fe9b79 (git): * complex.c (string_to_c_strict, string_to_c): rewrote without regexp.
- * rational.c (string_to_r_strict, string_to_r): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:57 PM Revision 20039668 (git): * complex.c (make_patterns): should not accept extra sign.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:53 PM Feature #4085: Refinements and nested methods
- > So, in one sense, refinements are to localize monkey-patching. But they don't actually localize it much better since they can apply at a distance to blocks (module_eval feature), and classes down-hierarchy.
> Previously, all code de... -
12:46 PM Revision 62855976 (git): Skip path expansion for all wildcard characters
- * win32/file.c (replace_to_long_name): skip expansion for all wildcard
characters.
[ruby-core:49451] [Bug #7374]
* test/ruby/test_file_exhaustive.rb: add more assertions to test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37... -
11:46 AM Bug #7330 (Closed): TestRequire#test_race_exception sometimes fails - This issue was solved with changeset r37696.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
st_update passes the key in st_table
* st.c (st_update): pass... -
11:23 AM Feature #7375: embedding libyaml in psych for Ruby 2.0
- Looks good. Matz, could you accept this?
まつもとさん、2.0.0 は libyaml が事実上必須なので (ないと rubygems が動かない) 、
ビルドが面倒という FAQ が出そうです。
aaron に相談したところ、libyaml のソースコードをまるごと psych にバンドルする
パッチを作ってくれました。
libyaml は MIT ライセンスなのでライセンス上の問題はないと思... -
11:06 AM Feature #7375 (Assigned): embedding libyaml in psych for Ruby 2.0
-
08:42 AM Feature #7375 (Closed): embedding libyaml in psych for Ruby 2.0
- People have a hard time using psych (and thus rubygems) because it depends on libyaml. We can ease upgrades by embedding libyaml in order to eliminate the library dependency.
libyaml is MIT license, so it shouldn't impact Ruby's licen... -
11:07 AM Revision ee6cfa9c (git): benchmark/driver.rb: fix typos and output.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:31 AM Bug #4266: Timeouts in threads cause "ThreadError: deadlock; recursive locking"
- Brian,
Can you please provide us a reproducer for you monitor.rb issue? And can you please make a new ticket for your issue to prevent cross line discussion? I plan to close this ticket soon and I also hope to don't forget your issue... -
01:04 AM Bug #4266: Timeouts in threads cause "ThreadError: deadlock; recursive locking"
- I passed this ticket to thread specialist.
-
12:43 AM Bug #4266: Timeouts in threads cause "ThreadError: deadlock; recursive locking"
- We just ran into this very ugly bug in production, too. We would really appreciate a fix in 1.9.4, a pure bugfix release of the 1.9 branch since this is a major bug. :)
-
10:20 AM Feature #7256 (Closed): Update Rake
- rake 0.9.4 is now in trunk.
-
10:20 AM Feature #7363: Remove the global Pathname() method
- =begin
(({Pathname()})) matches (({Integer()})), (({Array()})), (({URI()})), etc. I would prefer to keep (({Pathname()})) in the tradition of these other methods.
=end
-
10:12 AM Feature #5373: SMTP - new method
- I chose rset because it matches the other methods that follow the SMTP protocol in Net::SMTP like helo, ehlo, rcptto, mailfrom
-
09:47 AM Feature #7377 (Assigned): #indetical? as an alias for #equal?
- As my feature request #7359 got rejected, here a more backward-compatible approach:
In my opinion the difference between #eql? and #equal? is really unintuitive. How about making their difference more obvious by giving one of them a m... -
09:24 AM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- I will add support for rb_file_const() to RDoc.
-
03:15 AM Revision 653b0bcb (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: use literal YAML style
- when emitting multi-line strings. Thanks @atambo
* test/psych/test_yaml.rb: test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:11 AM Revision 24c6a7c3 (git): * ext/psych/lib/psych/scalar_scanner.rb: avoid raising exceptions when
- parsing Floats and Integers. Thanks riffraff [ruby-core:44426]
* test/psych/test_numeric.rb: associated test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:46 AM Revision 262cb379 (git): st_update passes the key in st_table
- * st.c (st_update): pass the key in st_table so that we can free
memory of the key in st_table when deleting.
[ruby-core:49220] [Bug #7330]
* test/-ext-/st/test_update.rb
(Bug::StTable#test_pass_objects_in_st_table): add a test.
... -
02:29 AM Revision 697bdb0d (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 AM Revision 4e57f4e1 (git): * ext/psych/lib/psych/core_ext.rb: move Kernel#y so that it can
- manually be required as 'psych/y'.
* ext/psych/lib/psych/y.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:55 AM Bug #7369: Matrix #row_size, #column_size methods
- m and n?
They are awfully short and might be confusing but they also are the names used in standard notation (an m-by-n matrix). -
01:47 AM Bug #7369: Matrix #row_size, #column_size methods
- I agree that `{row|column}_size` can be ambiguous.
I don't believe `height/width` is used in this context though, at least in mathematics.
Possibilities I can think of: `column_count` or `nb_columns`.
Opinions? -
01:27 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- Seven months and no activity. This is not a breaking change and it could improve performance of nonblocking IO operations a lot. Any reason not to incorporate it?
-
01:26 AM Feature #6309: Add a reference queue for weak references
- Seven months and no activity. Can we get a reference queue in Ruby 2.0 please? I believe it could be added to weakref.rb using 2.0's WeakHash, or built atop the C code that implements WeakHash (since it contains most of a reference queue...
-
12:59 AM Feature #6308: Eliminate delegation from WeakRef
- Seven months and no activity. I still would like to see delegate-based Weakref go away, but I know the official plan is to have no backward compatibility. Unfortunately, delegate-based Weakref is still a bad, broken implementation, and I...
-
12:56 AM Bug #7348 (Closed): marshaling an object by a float does not work
- This issue was solved with changeset r37687.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* marshal.c (w_object): add flonum to arg->data to keep referenc... -
12:40 AM Feature #6647: Exceptions raised in threads should be logged
- Ping!
-
12:16 AM Bug #7372 (Rejected): Missing tags for 2.0.0.preview1, 1.9.3p286, 1.9.3p327
-
12:14 AM Bug #7372: Missing tags for 2.0.0.preview1, 1.9.3p286, 1.9.3p327
- Oops, I had not pulled tags from github/ruby. This can be closed.
-
12:15 AM Bug #7373 (Closed): FileUtils#chmod verbose gives error when mode is string
- I can see the wrong code in trunk, even though it happened in 1.9.3p194: https://github.com/ruby/ruby/blob/trunk/lib/fileutils.rb#L1037 )
asterite @ ~ $ irb
irb(main):001:0> require 'fileutils'
=> true
irb(main):002:0> FileUtils.ch...
11/16/2012
-
11:23 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
- 情報ありがとうございます.
簡単な再現手順はありませんかね.make じゃなくて,ruby 直接動かすようなも
のだとありがたいのですが....
(2012/11/15 18:37), yanoh (Yutaka Yanoh) wrote:
>
> Issue #7356 has been reported by yanoh (Yutaka Yanoh).
>
> ---------------------------------... -
11:18 PM Bug #7372 (Rejected): Missing tags for 2.0.0.preview1, 1.9.3p286, 1.9.3p327
- All released versions of Ruby should have tags, so we can grab the right versions of stdlib to use in JRuby.
-
11:14 PM Revision 5bab4340 (git): * lib/abbrev.rb: fix r37113. Correct examples, fix style
- and show explicit dependency (require 'abbrev').
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:43 PM Revision 25058a58 (git): skip long name conversion if last character is a wildcard one
- * win32/file.c (replace_to_long_name): skip automatic path expansion
when wildcard character is used. [ruby-core:49451] [Bug #7374]
* test/ruby/test_file_exhaustive.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
05:59 PM Bug #7370: Some benchmarks are slow
- (2012/11/16 16:51), authorNari (Narihiro Nakamura) wrote:
> Some benchmarks are slow since r37631.
> I guess DTrace's proves affect CRuby's performance.
> Is it possible to fix?
He missed to argue about the important thing:
... -
05:45 PM Bug #7370: Some benchmarks are slow
- Aaron-san, Could you check it?
Thanks. -
04:51 PM Bug #7370 (Closed): Some benchmarks are slow
- Hi.
Some benchmarks are slow since r37631.
I guess DTrace's proves affect CRuby's performance.
Is it possible to fix?
app_answer:
r37629 0.153(sec)
r37631 0.196
app_fib:
r37629 1.497
r37631 2.005
app_tak:
r37629 2... -
05:24 PM Bug #7371 (Closed): Fix undefined overflow checking in bigdecimal
- In AddExponent() at ext/bigdecimal/bigdecimal.c:3677, the overflow checks rely on signed integer overflow, which is undefined behavior in C.
SIGNED_VALUE m = e+n;
SIGNED_VALUE eb, mb;
if(e>0) {
if(n>0) {
... -
05:02 PM Revision 7bd638b7 (git): object.c: suppress warning
- * object.c (rb_obj_alloc): suppress unused variable warning.
* tool/gen_dummy_probes.rb: define dtrace disabling macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:02 PM Revision ed86cd05 (git): vm.c: gc guard
- * vm.c (vm_collect_usage_operand): prevent from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:02 PM Revision b29b2962 (git): adjust indent
- * object.c (rb_obj_alloc): adjust indent.
* vm.c (vm_collect_usage_{insn,operand,register}): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:55 PM Revision 6f64d9eb (git): * lib/cgi/core.rb: Use symbols instead of strings for
- {const_,instance_variable_}{get,set}. [#7161]
* lib/drb/drb.rb: ditto.
* lib/ipaddr.rb: ditto.
* lib/irb/workspace.rb: ditto.
* lib/monitor.rb: ditto.
* lib/rss/maker/base.rb: ditto.
* lib/rss/rss.rb: ditto.
* lib/xmlrpc/parser.rb... -
04:08 PM Bug #7369 (Closed): Matrix #row_size, #column_size methods - I believe these methods should be renamed. "row_size" is confusing, because it can be intuitively understood as both "number of rows", and "size along a row" (or size of a matrix row). Same goes for "column size". I would like these meth...
-
03:55 PM Revision f45f668f (git): * marshal.c (w_object): add flonum to arg->data to keep reference index
- consistency. [ruby-core:49323] [Bug #7348]
* test/ruby/test_marshal.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:49 PM Feature #6440: 引数にIOを渡した場合のMarshal.loadにバッファを持たせたい
- patch2.diffを適用してコミットしてよいでしょうか?
反対がなければコミットします。 -
03:40 PM Revision 6379b316 (git): common.mk: dependencies for proges.dmyh
- * common.mk (incs): dist files need probes.dmyh.
* common.mk (probes.dmyh): depends on generator script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:37 PM Bug #7355 (Closed): tiny typo in lib/net/pop.rb - This issue was solved with changeset r37671.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/pop.rb (POP3.certs): fix typo in comment.
patch f... - 03:22 PM Revision 2934f3b9 (git): * 2012-11-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:22 PM Revision eb40d20e (git): probes.h: select by suffix rules
- * Makefile.in, common.mk, configure.in, win32/Makefile.sub (probes.h):
select generating with dtrace or copying dummy file by suffix rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:58 PM Feature #7148: Improved Tempfile w/o DelegateClass
- Are there some reasons not to make `Tempfile` a subclass of `File`?
I think it's a better solution, even if it's not an ideal solution. -
02:39 PM Bug #7366 (Closed): cannot 'make install' when --enable-doc
-
09:09 AM Bug #7366 (Closed): cannot 'make install' when --enable-doc
- After r37664 (rake 0.9.3), cannot make install when --enable-doc.
installing default gems: C:/ruby-trunk/lib/ruby/gems/2.0.0 (cche, doc, gems, specifications)
bigdecimal 1.1.0
... -
02:38 PM Bug #7348: marshaling an object by a float does not work
- hello,
I've investigated about this issue.
When flonum is introduced at r36798, flonum is treated as immediate value in w_object(), but is should treated as reference value.
I will attach a patch. This patch introduce a trivial inco... -
02:31 PM Feature #7368 (Closed): rb_str_each_line()のパフォーマンス向上とリファクタリング
- rb_str_each_line()でmemmem(3)を使う事を[ruby-dev:45344] [Feature #6129]で提案しましたが、
string.cからmemmem(3)を直接使わずに検索をrb_memsearch()にまとめた上で、
検索文字列と被検索文字列の両方がvalidなencodingである場合と、そうでない場合に関数を分けてリファクタリングしたpatchを作りました。
(どちらかがinvalidな場合には、rb_enc_codepoi... -
02:11 PM Bug #7367: toooo many test failures after rake 0.9.4 is imported
- This is fixed on r37670 as a workaround.
Anyway your log looks strange because my OS X Mountain Lion environment works well. -
01:06 PM Bug #7367: toooo many test failures after rake 0.9.4 is imported
- =begin
How do I build ruby outside of ((|$(srcdir)|))?
I get the following failure:
$ mkdir ~/tmp/build
$ cd ~/tmp/build
$ CC=clang ~/Work/svn/ruby/trunk/configure --with-openssl-dir=/usr/local/Cellar/openssl/1.0.1c/
[…... -
10:10 AM Bug #7367 (Closed): toooo many test failures after rake 0.9.4 is imported
- =begin
Yesterday, all my troubles seemed so far away.
Now it looks as though they're here to stay...
# cf. Yesterday The Beatles
eban-san told me that these are not platform dependent.
[ 388/1240] TestRakeBacktrace#test_suppre... -
12:51 PM Revision e4479a1c (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:32 PM Revision 1d9d1a8f (git): Makefile.in: fix typo
- * Makefile.in (yes-dtrace-probes.h): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:34 AM Revision 9ee34b15 (git): * thread.c (rb_thread_call_without_gvl2): change the parameter of
- `func' from `int *skip_interrupt' to `VALUE *flags'.
If (flags & RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS) is not zero,
then skip checking interrupt.
[ruby-core:46547]
* include/ruby/thread.h: ditto.
git-svn-id: svn+ssh://ci.ruby-l... -
10:03 AM Revision 6e0375e3 (git): * Makefile.in (no-dtrace-probes.h): dmyprobes.h is in srcdir.
- * common.mk (dmyprobes.h): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:02 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- No. There are so many "issues" out there. I don't have time to check them all.
Reference please.
Matz.
-
09:35 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- @matz Have you ever read about issue I have with implementing Stick b/c of this? I have no Rome to be in. I am in Carthage!
@dvaid_macmahon Well, #^^ would be better than nothing.
-
08:41 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- I fully agree that repurposing '^' to be a power operator is not a good idea.
One alternative idea that might not make anyone happy would be to create a new power operator "^^" that is the same as "**", but seems more like exponentiat... -
08:26 AM Feature #7322 (Rejected): Add a new operator name #>< for bit-wise "exclusive or"
- So what's your intention? To make '^' a power operator, and ruin innocent programs? Because you feel "natural"?
If Ruby were young and there were no (or few) Ruby programs out there, your proposal might be useful.
But I don't want to ... -
02:56 AM Feature #7322: Add a new operator name #>< for bit-wise "exclusive or"
- Given the rejection of #7336, I would ask this this issue be more seriously considered. Personally, I don't really care if #^ continues to mean bitwise xor for numerics, but at least raise its precedence to be the same as #**, and provid...
-
09:29 AM Feature #7359: #eql? and #equal? naming
- "Making them little more intuitive does not worth breaking millions of existing programs."
That's true, but why does it have to be one or the other? Just,
alias identical? equal?
And let that be for a year or two while getti... -
07:31 AM Feature #7359 (Rejected): #eql? and #equal? naming
- Making them little more intuitive does not worth breaking millions of existing programs.
Matz.
-
08:57 AM Revision df4e0dd5 (git): Makefile.in: split probes.h commands
- * Makefile.in (probes.h): split build commands for dtrace-available
and unavailable platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:56 AM Revision e5164385 (git): Makefile.in: move probes.h to all-incs
- * Makefile.in (incs): probes.h is a platform dependent file, so it
cannot be a part of prereq target. move it to all-incs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:30 AM Revision 1c7f72da (git): configure.in: move after AC_PROG_CC
- * configure.in (DTRACE): move after AC_PROG_CC since cross_compiling
is set in it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:19 AM Feature #7349: Struct#inspect needs more meaningful output
- It might be worth pointing out that this should not happen if the Struct generated class is assigned to a constant (and so one level of inheritance is not unused):
Point = Struct.new(:x, :y) do
def distance
Math.hypot(x,y)
... -
07:55 AM Bug #7352: Array#bsearch test failure on Range (32bits MinGW)
- Okay. Tell me if you change your mind!
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:14 AM Bug #7352: Array#bsearch test failure on Range (32bits MinGW)
- Thanks, but I don't want to have a commit bit.
I am content with a tester and debugger. -
07:28 AM Revision c9b6a014 (git): range.c: compare signedness only
- * range.c (BSEARCH_CHECK): compare signedness only and relax an
assumption of the result of rb_cmpint() which compilers cannot know.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:24 AM Revision 288da355 (git): configure.in: cross-compiling fix
- * configure.in (DTRACE): ignore non-prefixed version if
cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:42 AM Revision 620a2b6c (git): Makefile.in: probes.h
- * Makefile.in, win32/Makefile.sub (probes.h): fix copying dmyprobes.h
path when outplace-build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:41 AM Revision 6fd1ef77 (git): * .gitignore: ignore dmyprobes.h
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:41 AM Revision 1e6ced13 (git): remove trailing spaces
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:37 AM Revision df03463f (git): * lib/net/pop.rb (POP3.certs): fix typo in comment.
- patch from no6v (Nobuhiro IMAI) <nov@yo.rim.or.jp>.
[ruby-dev:46519] [Bug #7355]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 AM Feature #7363: Remove the global Pathname() method - Hi,
First off: +1 on your request about the Pathname(). Although I don't see
the the real problem with it being named after a class. However, I don't
think it's necessary to have a shortcut which is four characters shorter
... -
04:43 AM Bug #6653: 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
- Sorry for the abysmally late response -- I can't seem to get the redmine here to send me email for some reason.
Hi Folks, so I actually sorted this out with some help from others. It's not an issue of memcached, or rather, didn't appe... -
03:49 AM Revision a632fe43 (git): * test/rake/helper.rb (Rake::TestCase#setup): revert r37669.
- @orig_PWD should be the original pwd.
* test/rake/test_*.rb: don't use @orig_PWD to load libraries.
It should be specified with relative path from the file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37670 b2dd03c8-39d4-4d8f-9... -
02:32 AM Bug #7365 (Closed): File::NULL is not in documentation
- The File::NULL / IO::NULL constant is not documented in either the File or IO documentation.
-
01:25 AM Revision 48aab9e0 (git): * test/rake/helper.rb (Rake::TestCase#setup): @orig_PWD shouldn't be
- Dir.pwd when the build directory is different from source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:01 AM Bug #7364 (Rejected): CGI::Cookie.parse can't deal with cookie options
- Reproducing steps; reproducing code is needed:
p CGI::Cookie::parse("ASPSESSIONIDSCDRSRTS=HHALOHOBJGJMLPIANNLDOMCJ; path=/")
What you expected:
Cookie hash with cookie name as key and cookie object as value. The 'path' option wi... -
12:43 AM Revision 4b96ecc8 (git): * lib/rake/version.rb: workaround fix to build. see #7366
- [ruby-dev:46522]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:30 AM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- I asked mame-san (2.0.0 release manager) about this feature.
His comments is:
DO IT ON A GEM SUCH A BIG FEATURE.
----
His comment is: it should be experimental just now. We need to make examination with real debugger.
11/15/2012
-
11:20 PM Bug #7352: Array#bsearch test failure on Range (32bits MinGW)
- phasis68 (Heesob Park) wrote:
> I guess this bug is related with the optimization of GCC 4.7.2.
> ...
I've committed your patch, my MEGA thanks!
I would really like you to have a commit bit. Are you willing?
Matz, what do you ... -
10:50 PM Bug #7352 (Closed): Array#bsearch test failure on Range (32bits MinGW)
- This issue was solved with changeset r37662.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* range.c (range_bsearch): fix some bugs: a documentation bug, a ... -
04:40 PM Bug #7352: Array#bsearch test failure on Range (32bits MinGW)
- I guess this bug is related with the optimization of GCC 4.7.2.
The version built with VC 2010 or GCC 4.5.2 works fine.
The workaround is adding a volatile qualifier.
Additionally, I found some problems in Range#bsearch method.
1... -
12:30 PM Bug #7352: Array#bsearch test failure on Range (32bits MinGW)
- Thank you Luis, I'll try it on windows.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:48 AM Bug #7352 (Closed): Array#bsearch test failure on Range (32bits MinGW)
- =begin
Hello,
After r37655, I noticed a failing test on RubyInstaller CI for x86:
test_bsearch_for_float(TestRange) [C:/Users/Luis/Code/ruby/ruby/test/ruby/test_range.rb:392]:
Expected -1.7976931348623157e+308 to be >= NaN.
... -
10:50 PM Feature #7363 (Rejected): Remove the global Pathname() method
- About a year ago I sumbitted an not yet accepted patch for Ruby on GitHub which deprecates the global Pathname() method and adds the .[] operator to the Pathname class. The patch got ignored, supposedly because I didn't post it here.
... -
10:43 PM Bug #7332: mswin64でminiruby.exeがSEGV
- 遅くなってすみません,入れました.
-
10:42 PM Bug #7332 (Closed): mswin64でminiruby.exeがSEGV
- This issue was solved with changeset r37661.
Yoshida, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_exec.h (GENTRY): GENTRY should be pointer size.
A patch... -
10:38 PM Feature #7362 (Assigned): Adding Pathname#start_with?
- If a Pathname starts with another Pathname, that means that the former Pathname lies below the latter Pathname, as long as both Pathnames are interpreted from the same location or both are given as absolute.
Therefore I would like to ... -
10:35 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- I asked Matz about this feature.
His comments were:
(1) Do not need to break bindings at end of block. This is programmer's risk.
(2) Ruby-level API is also okay to contains Ruby 2.0.0.
-
09:31 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- =begin
[PLEASE REVIEW!!]
= Abstract
I made debugger support interface.
https://github.com/ko1/ruby/compare/debugger_api
Currently, no docs, no tests.
Sorry for my laziness.
Please review it.
= Background
Generally,... -
10:32 PM Revision 1b023030 (git): * lib/rake*: Updated to rake 0.9.4
- http://rake.rubyforge.org/doc/release_notes/rake-0_9_4_rdoc.html for
a list of changes in 0.9.4.
* test/rake*: ditto
* NEWS: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:30 PM Feature #7361 (Rejected): Adding Pathname#touch
- Pathname has an #mkdir method to create a directory at the path, but does not have a #touch method to create an empty file at that path.
There were numerous cases where I had to fallback to using
new_file = Pathname.new('location/f... -
10:26 PM Feature #7360 (Closed): Adding Pathname#glob
- Currently there is only a Pathname.glob method, which allows you to find Pathname objects by a pattern including wildcard characters like '*'.
I would like to be able to use this relative to a current Pathname.
some_directory = Pat... -
10:06 PM Bug #7259: ruby-debug-base19x does not compile on 2.0.0-head
- "[ruby-core:49369] [ruby-trunk - Bug #7214] Ruby 2.0 breaks support for some debugging tools" is enough or not?
-
10:01 PM Revision e9c28d0f (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:00 PM Feature #7359 (Rejected): #eql? and #equal? naming
- In my opinion the difference between @#eql?@ and @#equal?@ is really unintuitive. How about making their difference more obvious by giving one of them a more accurate name?
My proposal is to rename @#equal?@ to @#identic?@.
If you ... - 09:59 PM Revision 84da520d (git): * 2012-11-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:59 PM Revision 9c66bad9 (git): * lib/rake*: Updated to rake 0.9.3
- * test/rake*: ditto
* bin/rake: ditto
* NEWS: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:17 PM Revision bfc95c6e (git): Ignore dmyprobes.h, .time.id.h
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 PM Bug #7357 (Third Party's Issue): ruby-1.9.3-p327@global/gems/activerecord-3.2.9/lib/active_record/connection_adapters/postgresql_adapter.rb:1208: [BUG] Segmentation fault
- Erro during rake db:migrate
Rails 3.2.9
Rake 10.0.1
/usr/local/rvm/gems/ruby-1.9.3-p327@global/gems/activerecord-3.2.9/lib/active_record/connection_adapters/postgresql_adapter.rb:1208: [BUG] Segmentation fault
ruby 1.9.3p327 (2... -
06:37 PM Bug #7356 (Closed): ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
- == 現象
ruby-1.9.3-p327 と ruby-2.0.0-preview1 で adlint-2.6.10 の性能比較を行った結果、
ruby-2.0.0-preview1 の方が解析時間が 1.2 倍ほど長くかかりました。
== 再現手順
% gem install adlint
% tar xvjf adlint-benchmark-screen.tar.bz2 <- 添付ファイル
% cd adlint-benchmar... -
05:02 PM Feature #4766 (Closed): Range#bsearch
- Oh, Park-san perfectly pointed out this problem in [ruby-core:49364].
So I close this ticket. -
04:52 PM Feature #4766 (Assigned): Range#bsearch
- in range.c, the definition of a macro BSEARCH_CHECK includes:
switch (rb_cmpint(rb_funcall(v, id_cmp, 1, INT2FIX(0)), v, INT2FIX(0)) < 0) { \
case 0: return val; \
case 1: smaller = 1; \
case -1: smaller = 0; \
} \... -
11:37 AM Feature #4766 (Closed): Range#bsearch
- This issue was solved with changeset r37655.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_bsearch): add Array#bsearch for binary search... -
03:51 PM Bug #7355 (Closed): tiny typo in lib/net/pop.rb
- There is a tiny typo in lib/net/pop.rb.
diff --git a/lib/net/pop.rb b/lib/net/pop.rb
index 0736585..fd869b6 100644
--- a/lib/net/pop.rb
+++ b/lib/net/pop.rb
@@ -375,7 +375,7 @@ module Net
return @ssl_params[:verify_mode]
... -
01:57 PM Feature #7336: Flexiable OPerator Precedence
- "Ruby is not a language for academic research of programming languages."
I was referring to academic application, as in the sciences, using DSLs. Not experimenting with programming languages.
I understand though, the yacc point is ... -
09:46 AM Feature #7336: Flexiable OPerator Precedence
- @trans I don't deny the idea itself. But not for Ruby, because
* syntax should be stable.
* Ruby is not a language for academic research of programming languages.
* we cannot use yacc (or bison) any longer, if we adopt variable ope... -
01:50 PM Revision 412b0237 (git): * range.c (range_bsearch): fix some bugs: a documentation bug, a wrong
- condition, missed break in switch/case, and workaround for GCC
optimization. See [ruby-core:49364] in detail. A great patch from
Heesob Park. [Bug #7352] [Feature #4766]
* array.c (rb_ary_bsearch): fix similar bug (missed break).
... -
01:42 PM Revision 768801b0 (git): * vm_exec.h (GENTRY): GENTRY should be pointer size.
- A patch by yoshidam (Yoshida Masato) [Bug #7332].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:34 PM Feature #7258: Update Rdoc
- Eric, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:34 PM Feature #7257: Update Rubygems
- Eric, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:33 PM Feature #7256: Update Rake
- > I asked Jim and he thought rake 0.9.3 was better to include in Ruby 2.0.0, so I plan to import that.
Agreed.
Then, what's the status?
This is one of the biggest tasks for 2.0.0-preview2.
Let me know if you have any serious prob... -
11:37 AM Feature #3479 (Closed): Array#binary_find et al
- This issue was solved with changeset r37655.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_bsearch): add Array#bsearch for binary search... -
08:29 AM Feature #4085: Refinements and nested methods
- Perhaps refinements should be scoped per-gem, rather than any arbitrary
"using" delimitation. Seems to me, that is generally the level at which we
care about them.
Would that simplify implementation and comprehensibility of usa... -
03:45 AM Feature #4085: Refinements and nested methods - On Wed, Nov 14, 2012 at 05:38:12AM +0900, headius (Charles Nutter) wrote:
[snip]
> And then there's this:
>
> class Foo < SomeParent
> def baz(str)
> ary.map {|name| str.camelize + name}
> end
> end
>
... -
07:57 AM Bug #7342: String#<=> checks for a #to_str method on other but never uses it?
- "It should be used internally to retrieve the string representation of an object." That's explicit coercion. Implicit coercion with #to_str means the object acts a string and the method needn't be called.
This method is used for more ... -
07:19 AM Bug #7304: Random test failures around test_autoclose_true_closed_by_finalizer
- Hello Nobu,
As pointed by Shirosaki-san, the two commits are now split.
Can we apply those changes to trunk? Who should be assigned to final approval?
Thank you
- 06:20 AM Revision 1fc11119 (git): merge revision(s) 35080: [Backport #7353]
- * gc.c (free_method_entry_i): method entry may be in
unlinked_method_entry_list. [ruby-core:43383][Bug #6171]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:15 AM Revision d3216922 (git): merge revision(s) 36491,36877: [Backport #7320]
- Use 0 for webrick's port and get the actual port. [Bug #6766]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 AM Revision 5457b86a (git): * man/erb.1: Fix grammar and copyright dates
- * man/goruby.1: ditto
* man/irb.1: ditto
* man/rake.1: ditto
* man/ri.1: ditto
* man/ruby.1: ditto
Patch by Arthur Gunn
[Fixes Github #210]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:37 AM Revision 81d71fee (git): * man/ruby.1: Grammar edits for man page
- Based on a patch by Michael Endsley [Fixes Github #183]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/14/2012
-
07:48 PM Bug #7301: URI::FTP.new2()の引数typecodeを省略するとNoMethodErrorが発生します。
- これはダメですね。泥沼化しそうなので、手を入れるべきでないと判断します。
メンテナの YAMADA Akira さん見ていらっしゃいますかね。
返事がなければ、ドキュメントを消して undocumented なメソッドにすることで消極的に解決しようと思います。
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:38 PM Bug #7301: URI::FTP.new2()の引数typecodeを省略するとNoMethodErrorが発生します。
- 後から気付いたのですが、引数typecodeを与えても例外が発生します。
----------------------------
$ cat new2_with_typecode.rb
# encoding: utf-8
require 'uri'
URI::FTP.new2('anonymous', 'anonymous', 'ftp.ubuntu.com', 21, '/', 'a')
$ ruby -v new2_with_typeco... -
05:55 PM Bug #7342: String#<=> checks for a #to_str method on other but never uses it?
- As the page you linked points out, #to_str is an *implicit* cast. i.e. It should be used internally to retrieve the string representation of an object. I think this is in keeping with all other uses of #to_str in Ruby source.
Another ... -
12:40 PM Bug #7342: String#<=> checks for a #to_str method on other but never uses it?
- When an object responds to #to_str, it's saying "I am a string." When an object responds to #to_s, it's saying "I have a string representation."
So checking for #to_str here is enough to know whether str2 is a string and can be compar... -
11:53 AM Bug #7342: String#<=> checks for a #to_str method on other but never uses it?
- I would expect something like the following patch makes more sense?
diff --git a/string.c b/string.c
index c63f59a..c9eed27 100644
--- a/string.c
+++ b/string.c
@@ -2385,8 +2385,12 @@ rb_str_cmp_m(VALUE str1, VALUE str2)
lon... - 04:03 PM Revision 5c30ce37 (git): * 2012-11-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:53 PM Revision de07850e (git): * array.c (rb_ary_bsearch): add Array#bsearch for binary search.
- [ruby-core:36390] [Feature #4766]
* test/ruby/test_array.rb: add a test for above.
* range.c (range_bsearch): add Range#bsearch for binary search.
[ruby-core:36390] [Feature #4766]
* test/ruby/test_range.rb: add a test for above
* ... -
03:43 PM Feature #4085: Refinements and nested methods
- > Ideally, in the Rails source code, I would just add "using StringExt" to
> ...
Aaron, if refinements were not leaking to inherited classes (as Yehuda nicely described why) then you still would have the ability to manually propagate t... -
07:19 AM Feature #4085: Refinements and nested methods
- It reminds me C++. So powerful that you can have a hard time trying to understand what is happening in a given piece of code since you have so many operators and each of them can be overloaded. Very powerful but once you're relying on so...
-
05:38 AM Feature #4085: Refinements and nested methods
- rosenfeld: Yes, I am arguing that same case. I believe refinements should only be active for code that appears within a refined context. My example from earlier:
class Foo < SomeParent
def bar(str)
str.upcase # unrefined
end
... -
05:23 AM Feature #4085: Refinements and nested methods
- Talking more with folks online about refinements, there's a lot of confusion about what they solve.
So, in one sense, refinements are to localize monkey-patching. But they don't actually localize it much better since they can apply at... -
05:18 AM Feature #4085: Refinements and nested methods
- Just tested it to confirm:
a = {1.hour.ago}; use(groovy.time.TimeCategory){a()}
If "a()" throwed an exception in Groovy for the example above would it be easier for them to optimize the interpreter? -
05:15 AM Feature #4085: Refinements and nested methods
- Charles, I'm not sure if I completely understand your concerns, but I think that from a code readability point of view refinements should be local to the current block or it would become just as difficult to read code as the current monk...
-
02:21 AM Feature #4085: Refinements and nested methods
- shugo: I may have a possible compromise that fixes some of the technical issues.
Currently, refinements have to be looked up via cref, basically (there's oddities for module_eval case, but it's similar to cref). If instead refinements... -
01:43 AM Feature #4085: Refinements and nested methods
- jballanc: That is exactly the sort of problem I'm worried about. It is *impossible* to look at the DoIt class in your example and know what methods it will call. Even with monkey-patching, you would have the consistency of all callers se...
-
01:35 AM Feature #4085: Refinements and nested methods
- shugo: I believe I understand the implementation. There are a lot of open questions for it, however:
* If the refined class is reopened and the method redefined, does the VM_METHOD_TYPE_REFINED flag get lost?
* How are refinements ... -
02:53 PM Feature #7349: Struct#inspect needs more meaningful output
- I like it too. Could even be:
Point.ancestors
# => [Point, Struct.new(:x, :y), Struct, Enumerable, Object, Kernel,
BasicObject]
--
<lay trum/> -
12:09 PM Feature #7349: Struct#inspect needs more meaningful output
- Sounds nice to me. +1
-
11:32 AM Feature #7349 (Assigned): Struct#inspect needs more meaningful output
- When inheriting directly from Struct.new, Class#ancestors shows a meaningless anonymous Class:
class Point < Struct.new(:x, :y)
def distance
((x ** 2) + (y ** 2)) ** 0.5
end
end
Point.ancesto... -
02:34 PM Bug #7350: Segmentation fault with ruby 1.9.3p328 (2012-11-13) [x86_64-linux]
- Can you check with trunk?
# Yes, it may be difficult, I know.
It seems that crash1.log suggests the cause is in libxml-ruby gem, maybe GC bug.
crash2.log suggests ... ..... a string passed to Pathname is broken.
Does anyone have ... -
02:08 PM Bug #7350 (Rejected): Segmentation fault with ruby 1.9.3p328 (2012-11-13) [x86_64-linux]
- I'm experiencing sporadic segmentation faults in a ruby daemon running with:
ruby 1.9.3p328 (2012-11-13) [x86_64-linux]
This is actually the 1.9.3p327 ruby patched with https://github.com/ruby/ruby/commit/ae2df330 as the issue http... -
01:54 PM Bug #7326: Time.c doc improvements
- The formatting looks good, except you shouldn't wrap classes in anything, such as ArgumentError or Time and Time#to_f
This allow rdoc to properly link these objects. -
01:26 PM Feature #7288 (Closed): Documentation missing: FileUtils.chmod "+X", "directory"
- This issue was solved with changeset r37652.
Jörg, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/fileutils.rb (chmod): Add "X" to modes, convert format to t... -
11:53 AM Bug #7319 (Closed): CSV docs
- This issue was solved with changeset r37651.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/csv.rb (init_comments): Document private method #init_co... -
11:32 AM Bug #7348 (Assigned): marshaling an object by a float does not work
-
11:14 AM Bug #7348: marshaling an object by a float does not work
- irb(main):006:0> e = Object.new
irb(main):007:0> Marshal.load(Marshal.dump([[2.0e-100, e], [e]]))
=> [[2.0e-100, #<Object:0x007fa45a10bc28>], [#<Object:0x007fa45a10bc28>]]
Therefore it is related to flonum. -
09:20 AM Bug #7348 (Closed): marshaling an object by a float does not work
- The below `calls` object doesn't round trip through marshal on edge ruby:
def test_marshal_object_and_float
e = Object.new
calls = []
calls << [2.0, e]
calls << [e]
assert_equal calls, Marshal.load(Marshal.d... - 11:27 AM Revision dfc11220 (git): merge revision(s) 37604:
- * ruby_atomic.h: renamed from atomic.h to avoid header file name
conflict on Solaris 10. [ruby-dev:46414] [Bug #7287]
* gc.c, signal.c, vm_core.h, common.mk: reflect the rename from
atomic.h to ruby_atomic.h.... - 11:20 AM Revision c185d9cd (git): merge revision(s) 37593: [Backport #7347]
- * random.c (BYTE_ORDER): define using configured WORDS_BIGENDIAN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:07 AM Feature #6980: OpenSSL support for AEAD additional authenticated data and tags
- This would definitely be on my list for 2.0. Sorry for not having been more responsive. I talked with nahi at RubyConf about the tickets that are still open at the moment. I will ask if it is possible to extend the feature freeze for som...
-
10:20 AM Bug #7112: File.extname documentation fix
- I think adding documentation for dotfiles and files ending with a dot would be sufficient.
I don't think covering filesystem-specific behavior is necessarily useful. -
09:07 AM Feature #7297: map_to alias for each_with_object
- Thank you. Enumerable#associate proposed: #7341
-
04:57 AM Feature #7346: object(...) as syntax sugar for object.call(...)
- Yes, I know, it is just that I prefer to read object.call(arguments) than object[arguments]. This is just a personal opinion, I know and I can change my mind some day about this :)
-
04:23 AM Feature #7346: object(...) as syntax sugar for object.call(...)
- @rosenfeld, I'll just mention that you can use Proc#[] in your example:
double = -> n { n * 2 }
double[3] == 6 #=> true
On Wednesday, 14 November 2012, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>
> Issue #7346... -
04:53 AM Feature #7341: Enumerable#associate
- >
> 1) The form you suggest would be redundant with `Enumerable#to_h`
>
I agree that 'Enumerable#to_h' would seem more appropriate than the
block-less version of 'associate'. To me, the 'associate' verb implies that
the pro... -
01:12 AM Feature #7341: Enumerable#associate
- Hi,
bitsweat (Jeremy Kemper) wrote:
> In short: associating a collection of keys with calculated values should be easy to do and the code should reflect the programmer's intent.
A strong +1 from me
> ...
A good start. I'd make ... -
12:03 AM Feature #7341: Enumerable#associate
- Thanks for posting, Nathan. See https://gist.github.com/4035286 for the full pitch and a demonstration implementation.
In short: associating a collection of keys with calculated values should be easy to do and the code should reflect ... -
04:26 AM Revision c8b0b536 (git): * lib/fileutils.rb (chmod): Add "X" to modes, convert format to table
- [ruby-core:48965] [Bug #7288]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 AM Revision a4b0291f (git): * lib/csv.rb (init_comments): Document private method #init_comments.
- Based on a patch from Vincent Batts [ruby-core:49172] [Bug #7319]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 AM Bug #7171: test-all failure on OS X (RubyCI)
- codesign する機能は僕がお願いして入れてもらったものなので存在は知っていて使ってます。
自分のユーザで、rvm や rbenv を使ってインストールする ruby には署名していてとても便利になっていますが、
chkbuild を chkbuild 専用ユーザで動かしている場合にきちんと署名してくれず困っています。
デンバー滞在中に sorah から対処方法の案を教わっているので、次の休みの日にでもそれを試して結果を報告しますね。
-
01:02 AM Bug #7344: gem pristine bigdecimal が失敗してしまう
- ほかの built-in 拡張ライブラリは問題ないんですかねぇ。
そうだとすれば gemspec を真似すればいいのかな。 -
12:44 AM Bug #7343 (Rejected): Enumerator::Lazy seems to nest herself infinitely
-
12:07 AM Feature #7336: Flexiable OPerator Precedence
- trans (Thomas Sawyer) wrote:
>
> ...
(10.meters)**2 should be 100.meters^2 in your notation.
> Rather then the `5m^2` expected. While parenthesis can be used, it so unnatural to this common notation that it puts a rather ugly black ...