Activity
From 01/05/2013 to 01/11/2013
01/11/2013
-
11:17 PM Bug #7642 (Rejected): IRB indentation is gone
- zzak (Zachary Scott) wrote:
> I also found this method:
> ...
Yes. other way:
IRB.conf[:AUTO_INDENT] = true
> What do you think about enable this by default?
Shell(bash, zsh) is also not default.
I do not think this featur... -
10:59 PM Revision 92a7da19 (git): * ext/win32ole/win32ole.c (ole_set_byref): support VT_UI8|VT_BYREF,
- VT_I8|VT_BYREF in cygwin and mingw.
* ext/win32ole/win32ole.c (ole_variant2val): ditto.
* test/win32ole/test_win32ole_variant.rb (test_s_new_with_i8_byref):
ditto.
* test/win32ole/test_win32ole_variant.rb (test_s_new_with_ui8_byref)... -
10:53 PM Feature #7252: version number of 2.0 release
- 前田です。
2013年1月11日 22:00 mame (Yusuke Endoh) <[email protected]>:
> メンテナンスは誰か他の人にお願いしたいと思っています。
> 傲慢にリリースすることには興味あるのですが、根気と正確さが要求されるメンテナンスには自信ないので。
> 当然、メンテナンスのポリシーは遠藤ではなくメンテナが決めることです。
なるほど、了解です。
ではリリースまでにメンテナを決めないといけないですね。... -
10:00 PM Feature #7252: version number of 2.0 release
- shugo (Shugo Maeda) wrote:
> 2.0.0は安定版になるような話の流れなのかなと思っていますが、誰がメンテナンスするかというのは
> ...
そうそう。リマインドしてくれてありがとうございます。
メンテナンスは誰か他の人にお願いしたいと思っています。
傲慢にリリースすることには興味あるのですが、根気と正確さが要求されるメンテナンスには自信ないので。
当然、メンテナンスのポリシーは遠藤ではなくメンテナが決めることです。
誰にメ... -
12:50 PM Feature #7252: version number of 2.0 release
- 別のチケットにしたり、英語で議論すべきなのかもしれませんが、まずは遠藤さんの考えを確認させてください。
mame (Yusuke Endoh) wrote:
> ああ、忘れてました。提案したことも matz から承認されたことも忘れていた上に、このチケットまで忘れるとは我ながら惚れ惚れする忘却力。あいすみません。Vit への連絡もありがとうございます (あれだけでいいかな) 。
> ...
2.0.0は安定版になるような話の流れなのかなと思っていますが、誰がメ... -
10:47 PM Bug #7680 (Rejected): IRB autocompletion doesn't autocomplete methods
- zzak (Zachary Scott) wrote:
> Can we make irb default require irb/completion?
> ...
Irb completion function is still incomplete.
I might be the default this feature is now more complete. -
10:47 PM Bug #7679: IRB history is broken
- =begin
You need to set IRB.conf[:SAVE_HISTORY] how many lines you want to save.
$ rm -f ~/.irbrc
$ irb
irb(main):001:0> 1
=> 1
irb(main):002:0> 2
=> 2
irb(main):003:0> 3
=> 3
irb(main):004:0> Readline::HISTORY.to_a
... -
10:07 PM Bug #7679: IRB history is broken
- I shouldn't also note that I'm having this issue on 1.9.3 and have always had it on 1.9.3, can anyone reproduce this on that version or anything earlier?
bin/irb -rirb/ext/save-history
irb(main):001:0> 1 + 2
=> 3
irb(main):002:0> quit
b... -
10:03 PM Feature #7684: Net::HTTPHeader#set_form_data should accept a String
- You could just set the content body yourself. But I see no reason why `set_form_data` shouldn't accept a string either
-
01:23 PM Feature #7684 (Rejected): Net::HTTPHeader#set_form_data should accept a String
- I noticed that Net::HTTPHeader#set_form_data does not accept already encoded form-data, but instead passes an Array/Hash down to URI.encode_www_form.
- 05:44 PM Revision ecd8abbd (git): * 2013-01-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:44 PM Revision b239611b (git): * man/ruby.1 (options): include --*-encoding from r38784
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:21 PM
Feature #7644: In refinements, change "using" keyword to a less generic word.
- shugo (Shugo Maeda) wrote:
> The feature set of Ruby 2.0.0 has already been frozen, so only Matz can decide whether "using" should be replaced with another word.
Thank you. I share your viewpoint. I still wanted to point at this disadv... -
04:54 PM Bug #7172: [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2)
- ... This problem is not fixed at trunk (and 2.0.0-rc1), isn't it?
-
02:38 PM Revision 09f564b1 (git): * ruby.c (usage): sort --*-encoding in help. (same order of -E)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:42 PM Bug #7683 (Feedback): Rjb::load Segmentation fault windows
-
12:42 PM Bug #7683: Rjb::load Segmentation fault windows
- p125 is too old.
try p327. (p362 is the most recently release, but another SEGV bug is reported.) -
11:49 AM Bug #7683: Rjb::load Segmentation fault windows
- see this log
-
11:44 AM Bug #7683 (Rejected): Rjb::load Segmentation fault windows
- i installed RoR. rails is 3.2.1 and ruby is ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
my machine is windows xp sp4.
i set my JAVA_HOME to c:\jdk150_12 and then install rjb by gem install rjb
the installation looks good. rjb is 1.4.3
... -
12:08 PM Bug #7389 (Closed): use rb_str_free for freeing string in parse.y
- Merged in r38774.
-
10:21 AM Revision 51914fcc (git): setup.mak: -osname-
- * win32/setup.mak (-osname-): separate from -runtime- and just
compile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:21 AM Revision 101d458f (git): win32/rm.bat: remove each files
- * win32/rm.bat: removing by wildcard errs on network file system, so
remove each files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:37 AM Bug #7564: r38175 introduces incompatibility
- This seems highly inconsistent to me. Specifically, MM + RT is the only working solution, but RT implementation is entirely meaningless. It doesn't make sense to me that I need a method table entry that does nothing but super. That shoul...
- 08:13 AM Revision 3468cd1e (git): merge revision(s) 38739: [Backport #7671]
- * vm_core.h (rb_iseq_t): move flip_cnt from struct iseq_compile_data,
because it has same life span as enclosing iseq. [Bug #7671]
[ruby-core:51296]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@3... - 08:11 AM Revision 8b49c715 (git): merge revision(s) 36045: [Backport #7637]
- * lib/mkmf.rb: add dummy clean-static target to prevent errors for the
case real clean-static target doesn't exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:04 AM Revision 21f84dd4 (git): merge revision(s) 37661: [Backport #7633]
- * 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/branches/ruby_1_9_3@38779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:02 AM Revision 398ed65c (git): [Backport #7624]
- * vm_trace.c (rb_threadptr_exec_event_hooks): added a parameter to pop
a frame before JUMP_TAG() if exception occurred. This change fix bug
of Ruby 1.9. [ruby-core:51128] [ruby-trunk - Bug #7624]
* vm_core.h (EXEC_EVENT_HOOK_AND_POP... -
07:59 AM Revision 86bd6920 (git): tool/mkrunnable.rb: support mswin build on remote file system
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:56 AM Revision fc817301 (git): mkconfig.rb: use configured libdir value
- * tool/mkconfig.rb: use configured libdir value to fix
--enable-load-relative on systems where libdir is not default value,
overridden in config.site files. [ruby-core:47267] [Bug #6903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... - 07:11 AM Revision ffe2c179 (git): * test/io/wait/test_io_wait.rb (TestIOWait#test_wait_writable_timeout): give
- OS more time to clean up the file descriptor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:20 AM
Bug #7682 (Rejected): Inconsistent results when using variables versus raw floats in exponential calculations
- =begin
The (({**})) operator has a higher precedence than unary minus, so your example is actually (({-(4.5 ** 0.5)})).
=end -
05:48 AM Bug #7682 (Rejected): Inconsistent results when using variables versus raw floats in exponential calculations
- When performing exponential calculations using a negative number as the base, inconsistent results are returned when using the raw value as opposed to a variable containing the value.
In IRB:
1.9.3p194 :001 > -4.5 ** 0.5
=> -2.12... -
04:42 AM Bug #7681 (Closed): Flip-flop test failure under MinGW
- Hello,
Since r38747 test_shared_thread is failing under both x86 and x64 MinGW (GCC 4.7.2):
http://ci.rubyinstaller.org/view/All/job/ruby-trunk-x86-test-all/669/console
http://ci.rubyinstaller.org/view/All/job/ruby-trunk-x64-tes... -
03:00 AM Revision 2bcff78b (git): * string.c (dispose_string): use rb_str_free for freeing string in
- parse.y. by Sokolov Yura <[email protected]>
https://github.com/ruby/ruby/pull/87 fix GH-87
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:02 AM Revision 2b131e1e (git): win32/setup.mak: remove each files
- * win32/setup.mak (-runtime-): removing by wildcard errs on network
file system, so remove each files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:58 AM Revision bb54d0ae (git): * insns.def (defineclass): private constants should not be accessed
- by scoped module definitions. The bug was introduced in r38495.
* test/ruby/test_module.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:41 AM Revision c0c381e4 (git): tabify
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:05 AM Feature #7677: YAML load mode that does instantiate Ruby
- =begin
Is that a viable option for general usage?
Let me give an example of where this issue becomes a problem. I received an email a couple of days ago:
You may have read about the recent Rails security issue. I had no idea
YAML.l...
01/10/2013
-
11:55 PM Bug #7642: IRB indentation is gone
- Keiju-san, thank you for the explanation.
I also found this method:
irb_context.auto_indent_mode = true
What do you think about enable this by default?
I can open a feature request. -
11:27 PM Bug #7642: IRB indentation is gone
- zzak (Zachary Scott) wrote:
> Thank you Keiju-san.
> ...
For example, .irbrc:
IRB.conf[:PROMPT][:AUTO_INDENT] = {
:PROMPT_I => "%N(%m):%03n:%i> ",
:PROMPT_N => "%N(%m):%03n:%i> ",
:PROMPT_S => "%N(%m):%03n:%i%l ",
... -
11:08 PM Bug #7642: IRB indentation is gone
- Thank you Keiju-san.
How do you enable auto-indent? -
10:53 PM Bug #7642: IRB indentation is gone
- zzak (Zachary Scott) wrote:
> Here is another reproduction on 1.9.3-p327:
> ...
IRB default behavior is no auto-indent.
So, this is the correct behavior. -
10:09 PM Bug #7642 (Assigned): IRB indentation is gone
-
10:07 PM Bug #7642: IRB indentation is gone
- Here is another reproduction on 1.9.3-p327:
http://showterm.io/a12fb0188114e63df2e12 -
11:53 PM Bug #7680: IRB autocompletion doesn't autocomplete methods
- > This works, should irb/completion be required by default?
I looks like it never was. Although I don't see any reason for not including this behaviour by default. Maybe depending on readline. -
11:52 PM Bug #7680: IRB autocompletion doesn't autocomplete methods
- Can we make irb default require irb/completion?
I will open up a feature request. -
11:30 PM Bug #7680: IRB autocompletion doesn't autocomplete methods
- zzak (Zachary Scott) wrote:
> This works, should irb/completion be required by default?
Yes.
Otherwise, you can write .irbrc to:
require "irb/completion"
-
11:07 PM Bug #7680: IRB autocompletion doesn't autocomplete methods
- This works, should irb/completion be required by default?
-
11:04 PM Bug #7680: IRB autocompletion doesn't autocomplete methods
- zzak (Zachary Scott) wrote:
> steps to reproduce:
> ...
Please, try:
% irb -r irb/completion
irb(main):001:0> irb_<TAB>
-
10:09 PM Bug #7680 (Assigned): IRB autocompletion doesn't autocomplete methods
-
10:05 PM Bug #7680 (Rejected): IRB autocompletion doesn't autocomplete methods
- steps to reproduce:
$ irb
irb(main):001:0> irb_<TAB>
This returns nothing, but should return all of the irb commands. Such as irb_binding, irb_context, irb_jobs, irb_help, etc etc -
11:29 PM
Feature #7022: add event hook for garbage collection
- On 9/20/12, Charles Oliver Nutter <[email protected]> wrote:
> I looked into this on JRuby/JVM last night, and found that they have
> recently added a nonstandard API for getting GC notifications as they
> happen. And they happe... -
11:23 PM Bug #7679: IRB history is broken
- I also tried with the following:
bin/irb -rirb/ext/save-history
But with the same outcome.
-
10:09 PM Bug #7679 (Assigned): IRB history is broken
-
10:00 PM Bug #7679 (Closed): IRB history is broken
- steps to reproduce:
$ irb
irb(main):001:> 1 + 2
=> 3
irb(main):002:0> exit
$ irb
irb(main):001:0> *up arrow* nothing
I should see at least "1 + 2" when I hit the up arrow.
Using: ruby 2.0.0dev (2012-12-30 trunk 38663) [x86_64... -
09:45 PM Bug #7645: BigDecimal#== slow when compared to true/false
- > Is it just an implementation detail or an intentional spec change?
> ...
No, it isn't intentional change.
I'll fix this soon.
-
09:40 PM Bug #7645 (Open): BigDecimal#== slow when compared to true/false
- mrkn (Kenta Murata) wrote:
> * numeric.c (do_coerce): speed optimization by using rb_check_funcall
> ...
This change caused an error in RubySpec.
1)
Bignum#<=> with an Object returns nil if #coerce raises an exception ERROR
Runtim... -
09:16 PM Bug #7645: BigDecimal#== slow when compared to true/false
- And thank you for fixing it! :) What would be the chances of the change being backported to 1.9.3, too?
-
03:30 PM Bug #7645 (Closed): BigDecimal#== slow when compared to true/false
- This issue was solved with changeset r38756.
Graeme, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (do_coerce): speed optimization by using rb_check_f... - 05:13 PM Revision 6d84fade (git): * 2013-01-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:13 PM Revision a29c648d (git): * lib/rbconfig/obsolete.rb (respond_to_missing?): use send because
- RbConfig.respond_to_missing? is now private.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 PM
Feature #7677: YAML load mode that does instantiate Ruby
- On Wed, Jan 09, 2013 at 11:40:04AM +0900, trans (Thomas Sawyer) wrote:
>
> Issue #7677 has been reported by trans (Thomas Sawyer).
>
> ----------------------------------------
> Feature #7677: YAML load mode that does instan... -
04:51 PM Bug #2402 (Closed): super in instance_eval
- This issue was solved with changeset r38761.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_insnhelper.c (vm_search_super_method): raise a TypeError
... -
01:03 PM Revision 58499200 (git): * vm_core.h (VM_DEBUG_BP_CHECK): set 0 as default.
- This flag specifies checking BP consistency on each frame popping.
Now, we don't have any trouble on it, so I remove it.
If you feel any bugs about VM execution, then set it to 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
12:29 PM Revision da6ddf24 (git): * ChangeLog: fix a typo for r38761.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:05 PM Revision 8cada383 (git): * cont.c: define FIBER_USE_NATIVE as 0 in ia64.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:38 AM
Bug #7676: Comparison of Float::NAN in array behaves unexpectedly
- I understand that matz wants `nan == nan` to be undefined, but I think this should remain consistent within a platform, even though it is undefined between platforms.
-
11:30 AM Bug #7676: Comparison of Float::NAN in array behaves unexpectedly
- I think this is the specification issue, so we need to confirm the mat'z thought.
Matz, how do you think about it?
-
11:28 AM Bug #7676 (Open): Comparison of Float::NAN in array behaves unexpectedly
-
11:18 AM Bug #7676: Comparison of Float::NAN in array behaves unexpectedly
- I, too, found documentation still lacking. I read #1720, and I understand the rationale for the Float::NAN case.
However, the issue still remains as Simon pointed out above. Please reopen the issue, or update the documentation to refl... -
09:23 AM Bug #7676: Comparison of Float::NAN in array behaves unexpectedly
- At the very least, the documentation for Array#== should be updated to state that it first does an object identity comparison, then calls == only if the objects aren't the same instance.
-
09:20 AM Bug #7676: Comparison of Float::NAN in array behaves unexpectedly
- This isn't just `Float::NAN`, actually; as Charlie's patch shows, it's actually any object that always returns false from `==`
```
1.9.3p125 :001 > class X
1.9.3p125 :002?> def ==(other)
1.9.3p125 :003?> false
1.9.3p125 :004... -
10:45 AM Revision bd0be3c4 (git): Thu Jan 10 19:39:05 2013 TAKANO `takano32' Mitsuhiro <[email protected]>
- * thread.c: fix RB_GC_SAVE_MACHINE_REGISTER_STACK define for ia64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:34 AM Bug #3422 (Closed): Object.const_get(:A, false) can access BasicObject::A
- > Kosaki-san, why did you reopen this ticket?
Sorry, my memory was lost and I don't remember why. but I suspect your guess is right and we can close this ticket.
-
08:45 AM Revision 1a920c7f (git): Makefile.in: continue if Makefile unchanged
- * Makefile.in, win32/Makefile.sub ($(MKFILES)): continue if Makefile
unchanged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:44 AM Revision b7b183f6 (git): win32/rm.bat: fix infinite loop
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:12 AM Revision 8307cb90 (git): * numeric.c (do_coerce): fix comment and adjust indent
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:51 AM Revision 4707fdea (git): * vm_insnhelper.c (vm_search_super_method): raise a TypeError
- instead of a NotImplementError if self is not an instance of the
current class. [ruby-dev:39772] [Bug #2402]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:47 AM Revision a5ddc2e1 (git): extconf.rb: have_header
- * ext/tk/extconf.rb (find_tcltk_header): use have_header instead of
try_cpp, which is incredibly slow with VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:57 AM Revision 42eadff3 (git): * numeric.c (do_coerce): remove an unused variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:49 AM Revision 72f98051 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:39 AM Revision 2cdd17b4 (git): * tool/gen_dummy_probes.rb: remove comments in probes.d to fix the
- compilation error introduced by r38755.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:30 AM Revision 9aa75d08 (git): * numeric.c (do_coerce): speed optimization by using rb_check_funcall
- instead of rb_rescue + rb_funcall.
This fix is based on the patch by Benoit Daloze.
[Bug #7645] [ruby-core:51213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:16 AM Revision 9ef6eefb (git): * probes.d: updating probes to be more symmetrical, adding
- documentation.
* load.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/09/2013
-
11:41 PM Bug #7676 (Rejected): Comparison of Float::NAN in array behaves unexpectedly
- duplicate of Bug #1720
See documentation in numeric.c added in r37546
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/37546/diff/numeric.c
-
11:00 PM
Bug #7676: Comparison of Float::NAN in array behaves unexpectedly
- Attached a patch fixing this issue - the pointer equality checks in `recursive_equal` and `rb_equal` should not be performed as this breaks in the case where `a != a`.
I'm not committing this straight away because it causes three test... -
11:11 AM Bug #7676 (Closed): Comparison of Float::NAN in array behaves unexpectedly
- It seems that two arrays containing Float::NAN will be considered equal ([Float::NAN] == [Float::NAN]), despite the fact that Float::NAN != Float::NAN.
Tested and reproduced in 1.8.7p371, 1.9.3p362, 2.0.0preview2. (This bug can be rep... -
07:26 PM Revision b104e252 (git): * ext/psych/lib/psych/scalar_scanner.rb: strip trailing dots from
- floats so that Float() will not raise an exception.
* test/psych/test_numeric.rb: test to ensure "1." can be loaded
* test/psych/test_string.rb: make sure "1." can round trip
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38754 b2d... -
07:26 PM Revision ac8b1869 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: ascii only binary strings
- will be dumped as unicode. Thanks Paul Kunysch!
* test/psych/test_string.rb: appropriate test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:38 PM Revision 113c8121 (git): * 2013-01-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:38 PM Revision a5e2f322 (git): * compile.c (compile_array_): modify wrong optimization.
- A script "[print(1)]; print(2)" should output "12".
However, the compiler had eliminted "[print(1)]" expression
because it is void expression (unused array).
Of course, side-effect should be remained.
This issue is reported by Ma... -
06:27 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- I can reliably reproduce the bug in my embedded Ruby project (https://github.com/kkaempf/cmpi-bindings) where Ruby (ruby-1.9.3-p194; same for git master) segfaults in mark_locations_array() accessing a memory location *within* ruby_stack...
-
05:58 PM Feature #6752: Replacing ill-formed subsequencce
- =begin
(('+1')) for the functionality.
What we currently have (Encoding::Converter) is not enough to solve this problem because 1) it is mandatory to pick a different encoding to convert to for nothing, and even if you have decided to p... -
05:35 PM Bug #2402: super in instance_eval
- うーん、では、禁止でいいですよ。
Matz.
-
05:24 PM Bug #2402: super in instance_eval
- shugo (Shugo Maeda) wrote:
> まつもとさん、この件どうしましょうか?
> ...
まつもとさん、いかがでしょうか。
再度まとめると、以下のように`instance_eval`中で`super`を呼ぶと、`super`で
呼び出した先のクラス・モジュールと`self`の整合性が取れなくなるため、
現状では、`NotImplementedError`が発生します。
~~~ruby
class Bar < Foo
def... -
05:01 PM Bug #7533 (Closed): Oniguruma hates the letter 's' :(
- Duplicated with #4044
-
04:58 PM Bug #7678 (Closed): $_ and $~ are shared across Fibers halfway
- =begin
((|$_|)) and ((|$~|)) have thread local method scope, but are shared across fibers in same thread.
$ ./ruby -v -e '/a/ =~ "a"; p $~; Fiber.new{/b/=~"b"; p $~}.resume; p $~'
ruby 2.0.0dev (2013-01-09 trunk 38748) [x86_64-d... -
02:58 PM Bug #3422: Object.const_get(:A, false) can access BasicObject::A
- mame (Yusuke Endoh) wrote:
> Matz, do you think that it should be changed again?
> ...
I'm not sure why this ticket has been reopened, but if it's because of the following comment, this ticket can be closed, because the request has alr... -
01:14 PM Revision 62efc6f3 (git): * load.c (load_lock): if thread shield is destroyed and there is no
- waiting thread, insert new thread shield into load_table.
[Bug #7530] [ruby-core:50645]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:14 PM Revision 94b4e7c7 (git): * load.c (load_lock): revert r38744. it should acquire new thread
- shield.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:40 AM Feature #7677 (Closed): YAML load mode that does instantiate Ruby
- See https://makandracards.com/makandra/892-never-use-yaml-load-with-user-input
I suggest that YAML.load and YAML.load_file have an optional mode that will allow the YAML to load but not instantiate `!ruby/object:` tags, nor any regist... -
10:42 AM Bug #7675 (Rejected): main.protected is not defined
- matz (Yukihiro Matsumoto) wrote:
> I am not positive to add it.
> ...
OK, so I close this ticket.
-
10:38 AM Bug #7675: main.protected is not defined
- I am not positive to add it.
There's no reason to add protected except for consistency, since it behaves just like public.
Matz.
-
10:30 AM Bug #7675: main.protected is not defined
- kosaki (Motohiro KOSAKI) wrote:
> > Target version: 2.0.0
> ...
I considered it a bug, but if Matz consider it a new feature, feel free to move it to next minor or to reject it simply.
-
08:53 AM Bug #7675: main.protected is not defined
- > Target version: 2.0.0
2.0? -
07:59 AM Bug #7675 (Rejected): main.protected is not defined
- main (self at toplevel) has public and private, but doesn't have protected.
public
private
protected #=> NoMethodError
It looks a bit weird.
I guess it was forgotten to add main.protected when Module#protected was introd... -
09:59 AM
Bug #7530 (Closed): Concurrent loads fail with mutex errors
- This issue was solved with changeset r38744.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* load.c (load_lock): fix not to delete thread shield twice.
... -
06:40 AM Revision 4e323c0a (git): vm.c: initialize root_svar
- * vm.c (th_init, ruby_thread_init): initialize root_svar with Qnil,
since lep_svar_place() expects uninitialized svar to be nil, not 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:32 AM Revision f608b1b8 (git): test_flip.rb: flip-flop shared by threads
- * test/ruby/test_flip.rb (TestFlip#test_shared_thread): flip-flop
should be separated per threads
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:03 AM Bug #7674: Document for using Struct.new with block
- =begin
Thank you for the comment! I understood.
$ ruby -e "p Struct.new(:x){|c| p(c, self)}"
#<Class:0x007f8f738b9d90>
#<Class:0x007f8f738b9d90>
#<Class:0x007f8f738b9d90>
I updated the patch.
=end
-
02:34 AM Bug #7674: Document for using Struct.new with block
- Nitpick.
* Struct.new( [aString] [, aSym]+> ) {|| block } -> StructClass
Actually StructClass is passed to the block. -
04:56 AM Revision 193e1fc8 (git): Add RUBYOPT=>nil to avoid false negative
- add RUBYOPT=nil to suppress circular require warnings to avoid false negative
with stderr assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:26 AM Revision 1ff3e23f (git): * test/ruby/test_require.rb: improve test for r38744.
- fix to use Tempfile instead of temporary file in current directory.
the patch is from nobu (Nobuyoshi Nakada).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:31 AM Feature #7414: Now that const_get supports "Foo::Bar" syntax, so should const_defined?.
- I vote for false in both cases, like defined? operator.
-
02:27 AM Bug #7478 (Feedback): Do not include vararg.h - always include stdarg.h
- Why does rb_cv_stdarg check fail?
Could you show config.log file? -
02:13 AM Bug #7647 (Closed): Ruby 1.9.3 doesn't build on m68k due to alignment of structs
- This issue was solved with changeset r38741.
Alan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ruby.h: align
* include/ruby/ruby.h (RBasic): to be aligned on a... -
01:48 AM Bug #7653 (Feedback): Array.pack ignores Big Endian modifier
-
01:36 AM Bug #7276: TestFile#test_utime failure
- Status? Is this planned to be fixed for 2.0.0?
This is the only failure I get when building trunk (`make test-all` and `make test`) with mingw-w64 4.7.2 32bit on Win7.
As stated previously, you don't see this failure at http://ci.r... -
12:59 AM Revision bc0577c6 (git): * load.c (load_lock): fix not to delete thread shield twice.
- it may break the shield locked by another thread.
[Bug #7530] [ruby-core:50645]
* test/ruby/test_require.rb: a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/08/2013
-
06:47 PM Revision 4ddf057b (git): compile.c: adjust indent
- * compile.c (iseq_compile_each): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:31 PM Bug #7674 (Closed): Document for using Struct.new with block
- I wrote the document for using Struct.new with block.
- 05:13 PM Revision cbd1f257 (git): * 2013-01-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:13 PM Revision 8ad71433 (git): ruby.h: align
- * include/ruby/ruby.h (RBasic): to be aligned on a VALUE size
boundary. [Bug #7647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:51 PM Bug #7673 (Closed): [rdoc] duplicated entries in Pages fileindex-section
- =begin
As the result of `((%rdoc -o readmes README*%))`, ((|Pages|)) (({fileindex-section})) in (({readmes/index.html})) has duplicated entries.
<li class="file"><a href="./README.html">README</a>
<li class="file"><a href=".... -
11:39 AM Bug #7530: Concurrent loads fail with mutex errors
- Here is the minimal code:
~~~ruby
THREADS = 2
ITERATIONS_PER_THREAD = 1000
system 'touch __load_path_bench_script__.rb'
THREADS.times.map {
Thread.new do
ITERATIONS_PER_THREAD.times do
require_relative '__load_pat... -
11:32 AM Bug #7672: Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
- Yeah, I understand, that’s what I thought would happen but I posted here at the IBM person’s insistence. Oh well! Thanks.
-
09:56 AM Bug #7672 (Third Party's Issue): Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
-
08:00 AM Bug #7672: Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
- If the problem only occur when using ibm_db gem, only IBM have a chance to help you. Please don't think we have ESP, please don't expect we can consult IBM product. Sorry, I don't think we can help you.
-
07:18 AM Bug #7672: Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
- And the MacOS logs for ibm_db 2.5.11.
-
07:15 AM Bug #7672: Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
- Here are the MacOS logs for ibm_db 2.5.9.
-
07:11 AM Bug #7672 (Third Party's Issue): Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
- =begin
I have a DB2-backed Rails 3.1 project I’m looking to update to 3.2, which means I have to use a newer version of the ibm_db gem. I have no problem running a server with the newer gem, but the intensive Cucumber tests inevitably r... -
05:57 AM Revision a00b29a6 (git): insns.def: adjust indent
- * insns.def (getlocal, defined): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:41 AM Revision 69b71611 (git): vm_core.h: flip_cnt in rb_iseq_t
- * vm_core.h (rb_iseq_t): move flip_cnt from struct iseq_compile_data,
because it has same life span as enclosing iseq. [Bug #7671]
[ruby-core:51296]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38739 b2dd03c8-39d4-4d8f-98ff-8... - 03:40 AM Revision bdb18e5f (git): Fix wrong English in ChangeLog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:18 AM Revision dbdaf98c (git): * README (install): note about distclean-ext.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/07/2013
-
11:59 PM Bug #5619 (Closed): Segfault on OS X
- I couldn't reproduce this issue on the latest trunk, r38731.
It may be fixed on the current trunk, I think.
-
11:42 PM Bug #7044 (Closed): BigDecimal#power randomly raises coercion errors
- This issue was solved with changeset r38734.
Tony, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/bigdecimal.c (rmpd_power_by_big_decimal):
add ... -
11:34 PM Bug #7521 (Closed): test_thr_kill(TestQueue) fails
- I did not met this issue in recent days. It was probably just some temporary issue of Rawhide. Sorry for disturbing.
- 10:26 PM Revision 91c6d576 (git): * 2013-01-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:26 PM Revision 8253cb26 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:55 PM Bug #7670 (Closed): main.include should be private
- This issue was solved with changeset r38731.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (Init_eval): main.include should be private.
[ruby-co... -
07:04 PM Bug #7670: main.include should be private
- Agreed.
Matz.
-
04:07 PM Bug #7670 (Closed): main.include should be private
- Module#include is private, but main.include seems to be public:
self.include Enumerable #=> no error
It should be private, shouldn't it?
-
08:22 PM Bug #7667 (Closed): Should Refinements be enabled by default?
- This issue was solved with changeset r38729.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (Init_eval): enable Refinements by default.
[ruby-cor... -
02:21 PM Bug #7667: Should Refinements be enabled by default?
- matz (Yukihiro Matsumoto) wrote:
> Correct. I think we don't have to worry about other implementations if it's marked as EXPERIMENTAL in the NEWS file.
I think a warning should be shown when Module#refine or main.using is called at t... -
01:24 PM Bug #7667: Should Refinements be enabled by default?
- Correct. I think we don't have to worry about other implementations if it's marked as EXPERIMENTAL in the NEWS file.
Matz.
-
12:55 PM Bug #7667 (Closed): Should Refinements be enabled by default?
- Currently, `require "refinement"' is needed to use Refinements, but I've heard from Matz that he wants Refinements to be enabled by default.
Is it right, Matz?
If so, I'm worried that other implementors might not want to enable Refin... -
03:42 PM Bug #7662 (Closed): Unable to define a method with bare `**`
- This issue was solved with changeset r38725.
Yehuda, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: bare kwrest_mark
* parse.y (f_kwrest): allow bare kwr... -
12:25 PM Bug #7662 (Assigned): Unable to define a method with bare `**`
- Thanks for your feedback. I'm neutral for bare `**` itself.
But it is too late a bit to discuss the spec and there is an obvious workaround:
def foo(**dummy)
end
Of course, we can add bare `**' later (say, in 2.0.1).
BT... -
12:22 PM
Bug #7662: Unable to define a method with bare `**`
- =begin
I think this is important for consistency. Consider:
def f(a, b, **)
# ...
super
end
=end -
12:19 PM Bug #7662: Unable to define a method with bare `**`
- =begin
You don't need (({**})) here.
A rest argument includes keyword hash if the method does not have keyrest argument.
=end
-
10:39 AM Bug #7662: Unable to define a method with bare `**`
- I consider this as a bug. Since it's minor issue, I defer fix to next minor.
Matz.
-
07:06 AM Bug #7662 (Closed): Unable to define a method with bare `**`
- This works:
def foo(*)
end
This does not:
def foo(**)
end
This does not:
def foo(*, **)
end
I use bare `*` often in combination with bare `super` to extend a superclass without being brittle to its exact ... -
03:24 PM Bug #7668 (Closed): set_trace_func and TracePoint don't handle exception in finish frame
- This issue was solved with changeset r38721.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_trace.c (rb_threadptr_exec_event_hooks_orig): pop tag befo... -
03:01 PM Bug #7668 (Closed): set_trace_func and TracePoint don't handle exception in finish frame
The following code should trap exception correctly (should output ":ok"):
####
def m
a = 1
b = 2
c = 3
raise
end
trace = TracePoint.new{|tp|
p tp
raise # if tp.event == :c_return # if tp.event == :b_return
}
...- 02:42 PM Revision 1be6a498 (git): * ext/bigdecimal/bigdecimal.c (rmpd_power_by_big_decimal):
- add RB_GC_GUARD to prevent the immediate object is GCed too early.
This patch was made by Yusuke Endoh. [Bug #7044] [ruby-core:47632]
* test/bigdecimal/test_bigdecimal.rb: add a reproduction test for
the issue [Bug #7044]
git-svn-... -
02:33 PM Revision ca6ccd43 (git): add tag v2_0_0_rc1
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v2_0_0_rc1@38733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:56 PM Bug #7666 (Closed): Should Refinements be enabled by default?
- 間違えてruby-devの方に投げてしまったのでcloseします。
# ruby-devからruby-coreへの移動ってできないんですかね。
shugo (Shugo Maeda) wrote:
> Currently, `require "refinement"' is needed to use Refinements, but I've heard from Matz that he wants Refinements to be enabled by... -
12:53 PM Bug #7666 (Closed): Should Refinements be enabled by default?
- Currently, `require "refinement"' is needed to use Refinements, but I've heard from Matz that he wants Refinements to be enabled by default.
Is it right, Matz?
If so, I'm worried that other implementors might not want to enable Refin... -
12:46 PM Bug #7663: Unable to invoke a method with `**kwargs` if the receiver doesn't define keyword arguments
- In the current design, keyword arguments are NOT omittable at a callee side.
In other words, you cannot pass keyword arguments to a method that does not support keyword argments.
Other possible behavior is to ignore the passed argume... -
10:38 AM Bug #7663 (Rejected): Unable to invoke a method with `**kwargs` if the receiver doesn't define keyword arguments
- Unlike regular argument, empty keyword argument is not equal to empty regular list.
Matz.
-
07:11 AM Bug #7663 (Rejected): Unable to invoke a method with `**kwargs` if the receiver doesn't define keyword arguments
- This works:
def hello
puts "hello"
end
hello(*[])
This does not:
def hello
puts "hello"
end
hello(**{})
I may be misunderstanding the idea behind the keyword arguments, but I would expect them to... -
12:42 PM Revision 19768b6c (git): * vm_method.c (Init_eval_method): main.public and main.private
- should be private.
* proc.c (Init_Proc): main.define_method should be private.
* test/ruby/test_module.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:41 PM Feature #7644 (Assigned): In refinements, change "using" keyword to a less generic word.
- boris_stitnicky (Boris Stitnicky) wrote:
> The upcoming feature of refinements is bringing two new keyords: "refine Something" and "using Something". While I am definitely late to come up with this, I realized that due to natural lingui... -
12:28 PM Feature #4085 (Closed): Refinements and nested methods
- I've implemented all features requested by Matz, so I close this ticket.
The current spec is described at <https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/RefinementsSpec>.
If you have any request for Refinements, please file a... -
12:28 PM Feature #6287 (Closed): nested method should only be visible by nesting/enclosing method
- I've implemented all features requested by Matz, so I close this ticket.
The current spec is described at <https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/RefinementsSpec>.
If you have any request for Refinements, please file a... -
12:09 PM Bug #7665 (Closed): keyrest argument overwrites the last element of rest argument
- This issue was solved with changeset r38719.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_insnhelper.c: keyrest should not overwrite rest arg
* vm... -
11:57 AM Bug #7665 (Closed): keyrest argument overwrites the last element of rest argument
- =begin
Since r38657, this code
def foo(*args, **opt)
p args, opt
end
foo("foo", "bar", zzz: 42)
shows
["foo", {:zzz=>42}]
{:zzz=>42}
but the first line should be (({["foo", "bar"]})).
=end
-
12:09 PM Bug #7643 (Rejected): call to super in define_method in refine results in stack level too deep
- beatrichartz (Beat Richartz) wrote:
> Ok, also working for me here with r38676. Should have checked the new versions before, sorry. Have a nice day!
Thanks for your confirmation. So I close this issue.
-
11:55 AM Revision 4722c206 (git): * eval.c (Init_eval): main.include should be private.
- [ruby-core:51293] [Bug #7670]
* test/ruby/test_module.rb (test_top_include_is_private): a new test
for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:52 AM Bug #7664: Keyword arguments with `**` make code targeting 1.9 / 2.0 difficult
- =begin
Have you tried this in 2.0 actually?
args = [ string ] + [ options ]
log(*args)
=end
-
10:03 AM Bug #7664 (Rejected): Keyword arguments with `**` make code targeting 1.9 / 2.0 difficult
- I understand your concern. But I consider this as a driving force to jump in to 2.0.
Since we have small compatibility issues between 1.9 and 2.0, I'd suggest moving forward.
Matz.
-
07:29 AM Bug #7664 (Rejected): Keyword arguments with `**` make code targeting 1.9 / 2.0 difficult
- You could imagine writing code that calls into a user-supplied hook:
log("App booted", level: :info)
It is possible for both Ruby 1.9 and Ruby 2.0 users to write such a hook:
# Ruby 1.9
def log(string, options={})
le... -
11:45 AM Bug #6117: Transfers allowed into Fibers that have resumed into other fibers
- no volunteer.
-
11:30 AM Revision 04fd9ace (git): * NEWS: remove description about `require "refinement"'.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:22 AM Revision 9cadf0c0 (git): * eval.c (Init_eval): enable Refinements by default.
- [ruby-core:51286] [Bug #7667]
* eval.c (rb_mod_refine, top_using): show a warning when
Module#refine or main.using is called at the first time.
* ext/refinement/*: removed the extension library "refinement".
* test/ruby/test_refinem... -
10:25 AM Feature #7657: Array#& doesn't accept Enumerables
- Let me see if I understand the implicit conversion cases:
* If an object implements #to_ary, #to_str, etc - it is asserting that it is close enough to the desired type in behavior that we don't need to perform an explicit coercion?
* I.... -
08:38 AM Revision 06f2a86f (git): * include/ruby/ruby.h (RUBY_EVENT_SPECIFIED_LINE): make it special.
- This flag is not contained by RUBY_EVENT_TRACEPOINT_ALL.
This event is experimental one. It is possible to remove/rename
flag name after 2.0.1.
* vm_trace.c (get_event_id): return :line if SPECIFIED_LINE was
occurred. `:specified_l... -
07:50 AM Revision 80ad3e2a (git): test_syntax.rb: assert_not_label
- * test/ruby/test_syntax.rb (TestSyntax#assert_not_label): need to eval
in the current binding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:52 AM Revision 9ccc80fe (git): merge revision(s) 38213: [Backport #7629]
- * vm.c (rb_vm_make_proc): save the proc made from the given block so
that it will not get collected. [ruby-core:50545] [Bug #7507]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38726 b2dd03c8-39d4-4d8f-98ff... -
06:42 AM Revision e489dc1f (git): parse.y: bare kwrest_mark
- * parse.y (f_kwrest): allow bare kwrest_mark as valid syntax. its
semantics is still undefined. [Bug #7662] [ruby-core:51269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:32 AM Revision 38da1a53 (git): parse.y: duplicated kwrest name
- * parse.y (f_kwrest): reject duplicated kwrest argument name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:29 AM Revision 86c0eae5 (git): envutil.rb: assert_syntax_error
- * test/ruby/envutil.rb (Test::Unit::Assertions#assert_syntax_error):
new assertion for syntax error and error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:29 AM Revision 5551307d (git): envutil.rb: optional fname
- * test/ruby/envutil.rb (Test::Unit::Assertions#assert_valid_syntax):
make fname optional for inline source.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:24 AM Revision b8e6fd6f (git): * vm_trace.c (rb_threadptr_exec_event_hooks_orig): pop tag before
- JUMP_TAG() if frame is `finish' frame.
Without this patch, there is an inconsistency between control
frame stack and tags stack.
[Bug #7668]
* test/ruby/test_settracefunc.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-l... - 06:23 AM Revision 6e4b187b (git): * Makefile.in, common.mk (fake, yes-fake, no-make): these dependecies
- are not platform dependent.
* win32/Makefile.sub ($(arch)-fake.rb): workaround.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 AM Revision 8f1be270 (git): vm_insnhelper.c: keyrest should not overwrite rest arg
- * vm_insnhelper.c (vm_callee_setup_arg_complex, vm_yield_setup_block_args):
set keyrest hash after making rest array, so that the last element
will not be overwritten. [ruby-core:51278] [Bug #7665]
git-svn-id: svn+ssh://ci.ruby-lan... -
02:14 AM Feature #7661 (Closed): Please register nacl chkbuild to rubyci.org
- 登録しました
-
12:38 AM Feature #7661 (Closed): Please register nacl chkbuild to rubyci.org
- http://chkbuild.yugui.jp/ でNativeClient環境のchkbuildを公開し始めました。これをrubyci.orgに登録してもらえないでしょうか。
-
01:44 AM Revision 04d24464 (git): * NEWS: adjust indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:38 AM Revision ff696da3 (git): * 2013-01-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:38 AM Revision bb70ca49 (git): * NEWS: add a NEWS entry about RubyVM.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:11 AM Bug #7660 (Assigned): VC Builds Broken
01/06/2013
-
11:03 PM Bug #7659 (Closed): RBConfig Change Breaks VC Build
- Applied at r38714.
-
08:13 PM Bug #7659 (Assigned): RBConfig Change Breaks VC Build
-
06:31 PM Bug #7659 (Closed): RBConfig Change Breaks VC Build
- This commit breaks compiling ruby with VC 2010 (and I'm sure all other versions).
SHA-1: 275a9dcb8caa389ec7cbdfcfb860f56f5ddbc4d0
RBCONFIG changed from:
./.rbconfig.time
To:
.rbconfig.time
Which then results in this nma... -
08:35 PM Feature #7657: Array#& doesn't accept Enumerables
- > Would it make sense for Enumerable to implement to_ary as well?
Matz is not agreeing as you see in #1893:
" Implicit conversion methods such as #to_ary and #to_str should be
defined only when the object provides (almost) equiv... -
09:02 AM Feature #7657: Array#& doesn't accept Enumerables
- Err, I mean it looks like it's similar to http://bugs.ruby-lang.org/issues/1028
-
09:00 AM Feature #7657 (Assigned): Array#& doesn't accept Enumerables
- This seems similar to http://bugs.ruby-lang.org/issues/6923
Example:
irb(main):001:0> class Thing
irb(main):002:1> include Enumerable
irb(main):003:1> def each(*args, &block)
irb(main):004:2> [1,2,3,4,5].... -
07:30 PM Bug #7660: VC Builds Broken
- Simply removing this rule:
.c.obj:
$(ECHO) compiling $(<:\=/) $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c -Tc$(<:\=/)
Solves the problem. -
07:15 PM Bug #7660: VC Builds Broken
- Looks like the issue is these two rules:
{$(srcdir)}.c{}.obj:
$(ECHO) compiling $(<:\=/)
$(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c -Tc$(<:\=/)
.c.obj:
$(ECHO) compiling $(<:\=/)
$(Q) $(CC) $(CFLAGS) $(XCFLA... -
07:11 PM Bug #7660 (Rejected): VC Builds Broken
- Ruby 1.9.3 p362 and Ruby 2.0.0 can no longer be build with VC 2010, while Ruby 1.9.3 p286 and earlier are fine. The problem is with win32/file, which is compiled twice while ruby/file is not compiled at all. Looks like something change...
-
12:52 PM Revision dfb86875 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:20 AM Bug #6820: Time#to_s on NEWS
- =begin
This is still leaving...
$ ruby -E:utf-8 -ve 'p Encoding.default_internal, Time.now.to_s.encoding'
ruby 2.0.0dev (2013-01-06 trunk 38711) [x86_64-linux]
#<Encoding:UTF-8>
#<Encoding:US-ASCII>
I attached a patch to dr... -
10:08 AM Revision f849917a (git): * win32/Makefie.sub: Fix build with VC.
- Patch by Charlie Savage. Fixes [ruby-core:51261]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:48 AM Revision c9f5a8f3 (git): * bootstraptest/test_io.c: add a test for [ruby-dev:46834].
- * io.c (rb_cloexec_fcntl_dupfd) Use an emulation with dup(2) when
fcntl(2) and/or F_DUPFD is unavailable.
Suggested by akr.
* configure.in (HAVE_FCNTL): NativeClient does not provide fcntl(2).
git-svn-id: svn+ssh://ci.ruby-lang.org... -
06:58 AM Feature #5481: Gemifying Ruby standard library
- What is the status of this? I had a couple of thoughts/questions:
* I was wondering how standard lib like `ostruct.rb` fits into this. I did not notice it mentioned. Would it be a gem? Or are some standard libs staying "old-fashioned"... -
06:31 AM Bug #7656: Handful of documentations
- Awesome, thank you!!
-
06:14 AM Bug #7656 (Closed): Handful of documentations
- This fixes documentation in ENV, adds a little for debug.rb, and completes PP
-
06:11 AM Bug #7655 (Rejected): range interval test does not consider string length
- >> ('aaaaaa'..'zzzzzz') === 'count' #is count a 6 letter word?
=> true
IMHO the result should be false
ran code in irb -
02:11 AM Revision 015997ec (git): * doc/syntax/modules_and_classes.rdoc: Fixed typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:04 AM Bug #7650 (Closed): net/http always added port number in host header.
- This issue was solved with changeset r38707.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http/generic_request.rb:
Amazon ECA API and GTE/1....
01/05/2013
-
11:04 PM Revision d0f56ab5 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:35 PM Revision ac67a2b6 (git): * doc/syntax/modules_and_classes.rdoc: Added singleton classes
- documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:44 PM Bug #7650: net/http always added port number in host header.
- httpclient にあわせて、全てのポート番号を無視するのではなく uri scheme のデフォルトポートの場合は付けないようにパッチを修正しました。この内容で検討をお願いします。
-
07:33 PM Bug #7650: net/http always added port number in host header.
- tDiary の issue にも記載していますが、nahi さんの httpclient でもデフォルトのポート番号は付けないように回避しているようです。
https://github.com/nahi/httpclient/blob/master/lib/httpclient/http.rb#L395 -
07:25 PM Bug #7650 (Assigned): net/http always added port number in host header.
-
05:24 PM Revision 902a36c1 (git): * lib/webrick/httpservlet/abstract.rb (WEBrick::HTTPServlet): Typo in
- example. Patch by shlensky [Fixes #232 on github]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:04 PM Revision 0573d5ea (git): * 2013-01-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 PM Revision a1de1fa5 (git): * lib/net/http/generic_request.rb:
- Amazon ECA API and GTE/1.3 disallow requests whose host has port
number if its port number equlas to default port number of the
scheme. [Bug #7650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38707 b2dd03c8-39d4-4d8f-98ff-823f... -
03:04 PM Revision bd7184b8 (git): Suppress warnings
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:45 PM
Bug #7646 (Closed): String#each_lineでinvalid byte sequence
- This issue was solved with changeset r38704.
Yoshida, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (rb_str_enumerate_lines): fix invalid byte sequence... -
05:00 AM Revision 4061f5b6 (git): * doc/syntax/modules_and_classes.rdoc: Improved description of methods
- on a module or class as suggested by Tobias Buhlmann
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:45 AM Revision 3b983407 (git): * string.c (rb_str_enumerate_lines): fix invalid byte sequence error
- when a separator is passed. The patch is from yoshidam (Yoshida
Masato).
[Bug #7646] [ruby-dev:46827]
* test/ruby/test_string.rb: a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38704 b2dd03c8-39d4-4d8f-98ff-823... -
03:25 AM Revision 3caea6b6 (git): envutil.rb: check stdout and stderr
- * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err):
check stdout and stderr both.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 AM Revision c6f7ecae (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:30 AM Bug #7653: Array.pack ignores Big Endian modifier
- I can't reproduce it on Ubuntu x86_64 with Ruby(mri) 1.9.3p125, what version of Linux are you using?
-
01:23 AM Revision a13aee62 (git): * doc/syntax/modules_and_classes.rdoc: Added documentation of syntax
- for Modules and Classes.
* doc/syntax/methods.rdoc: Moved some text to the Modules and
Classes syntax document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:52 AM Feature #7654: Add optional code block to IO::readlines
- Thank you, Eregon, especially for in place methods. I should definitely pay more attention to them - functional languages made me a little suspicious of this sort of things.
But I still think it would be nice to have an optional block i...