Activity
From 07/19/2012 to 07/25/2012
07/25/2012
-
11:23 PM Bug #6791: ext/js on/generator/generator.c fails to compile on nightly build (AIX 6.1) - On Jul 25, 2012, at 2:23 AM, Yutaka Kanemoto wrote:
> Hi Perry,
>
> Does this resolve this issue in your env?
>
> diff --git a/ext/json/fbuffer/fbuffer.h b/ext/json/fbuffer/fbuffer.h
> index f7c2b03..0c53296 100644
> --- a/ex... -
04:29 PM Bug #6791: ext/js on/generator/generator.c fails to compile on nightly build (AIX 6.1)
- Hi Perry,
Does this resolve this issue in your env?
diff --git a/ext/json/fbuffer/fbuffer.h b/ext/json/fbuffer/fbuffer.h
index f7c2b03..0c53296 100644
--- a/ext/json/fbuffer/fbuffer.h
+++ b/ext/json/fbuffer/fbuffer.h
@... -
09:03 AM Bug #6791 (Closed): ext/js on/generator/generator.c fails to compile on nightly build (AIX 6.1)
- gcc -I. -I../../../.ext/include/powerpc-aix6.1.0.0 -I/usr/work/src/snapshot/include -I/usr/work/src/snapshot/ext/json/generator -DRUBY_EXTCONF_H=\"extconf.h\"
-O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parent... -
10:53 PM Feature #5341: Add SSL session reuse to Net::HTTP
- Sorry for late reply.
On Thu, Nov 10, 2011 at 11:04 AM, Eric Hodel <drbrain@segment7.net> wrote:
>>> I will update the patch to check for the timeout, I did not know it
>>> existed.
>>
>> OpenSSL has a client session cache in SSL... -
09:06 AM Feature #5341 (Closed): Add SSL session reuse to Net::HTTP
- This issue was solved with changeset r36528.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb: Added SSL session reuse across connections fo... -
10:46 PM Feature #6669: A method like Hash#map but returns hash
- how about #hmap.
-
10:41 PM Feature #6714: Code injection framework
- This is interesting. Basically you propose to get rid of the overhead of set_trace_func by injecting code into "code points" only where actually used. If so, that would be very cool, b/c it could be used for event-based AOP and it would ...
-
07:47 PM Feature #6714: Code injection framework
- ko1 (Koichi Sasada) wrote:
> Nobody has interest about it.
I don't think so, I think it's just not clear what can offer this in practice yet.
The use-cases you listed are certainly interesting.
Would this, for example, signific... -
06:52 PM Feature #6714: Code injection framework
- Nobody has interest about it. I'll implement and show if I can make it before the deadline.
Thanks,
Koichi -
10:29 PM Bug #6749: rdoc of Time class (incorrect explanation of leap seconds)
- Am 24.07.2012 19:44, schrieb Eric Hodel:
> On Jul 23, 2012, at 11:52 PM, sto.mar@web.de wrote:
>> UTC is based on the International *Atomic* Time (ITA) and therefore on the SI second definition. (A day is not exactly 86400 SI second... -
02:53 AM Bug #6749: rdoc of Time class (incorrect explanation of leap seconds)
- On Jul 23, 2012, at 11:52 PM, sto.mar@web.de wrote:
> UTC is based on the International *Atomic* Time (ITA) and therefore on the SI second definition. (A day is not exactly 86400 SI seconds long, so to avoid that mean solar time and UT... - 10:26 PM Revision 48cb9477 (git): avoid compilation error on AIX by -ansi -std=iso9899:199409 (r36038). [ruby-core:46744] [Bug #6791].
- This issue is fixed in upper stream as issue #142. (https://github.com/flori/json/issues/142)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:24 PM Bug #595: Fiber ignores ensure clause
- ko1 (Koichi Sasada) wrote:
> あれ,これ 3.0 でいいんだっけ.
3月に話したときに大変そうだから先かなー的な雰囲気のことを仰っていたので、3.0かなぁ、と。
早く直るに越した事はありません。 -
07:08 PM Bug #595: Fiber ignores ensure clause
- あれ,これ 3.0 でいいんだっけ.
-
10:13 PM Feature #6687: Enumerable#with
- =begin
+1 for #with. Would be great if matz pulled a mikey on this one!
Don't like #memo, I have used that for memoization before.
=end -
09:01 PM Feature #6687: Enumerable#with
- I think `#each_with_object(obj)` mostly makes sense for `obj` of container class, like `Hash` or `Array`, and less sense with `Integer` or fixed string:
['ruby', 'python', 'haskell'].with('ist').map(&:+) # => ["rubyist", "pythonist", ... -
02:40 PM Feature #6687: Enumerable#with
- =begin
It is obvious that many rubyists have troubled with Enumerable#inject when they use it with a hash.
Feature #5662: inject-accumulate, or Haskell's mapAccum* - ruby-trunk - Ruby Issue Tracking System http://bugs.ruby-lang.o... -
07:08 PM Feature #6083: Hide a Bignum definition
- Matz, what do you think about it?
-
07:06 PM Feature #6649 (Rejected): Add new set_trace_func events "b-call", "b-return"
Nobody has interest about it.
I close (reject) this ticket and make new ticket of
<https://bugs.ruby-lang.org/issues/6649#note-5>,
<http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/45949>
with implementation.
If you h...-
07:02 PM Feature #6694: Thread.new without block.
- Some developers proposed that other method names like: `Thread.conf_new` should be introduced to specify per thread parameters.
Because `Thread.new(...)` without block causes miss like:
```ruby
Thread.new(name: 'foo'){
}
... -
06:53 PM Feature #6762: Control interrupt timing
- (2012/07/21 7:51), Eric Wong wrote:
>> I want to make clear and fix the (1) and (2) before (3).
>> How about it?
>
> I agree, I want (3) :)
> I'm not sure if the current primitives make it possible to implement (3)
>
>> ... -
06:23 PM Feature #6762: Control interrupt timing
- (2012/07/21 15:41), KOSAKI Motohiro wrote:
>> * Thread.control_interrupt
>> * Thread.check_interrupt
>
> Eek. Please don't use 'interrupt' word. It makes a lot of confusing to
> Unix programmer.
Okay. Give us a good nam... -
06:51 PM Feature #6763: Introduce Flonum technique to speedup floating computation on th 64bit environment
- > How do you implement object_id for non integer immediate values?
Good point. It will be considered.
Akr-san proposed that object id of Flonum object should be Bignum (enough big value), because it should be very rare case to us... -
05:41 PM Bug #6625 (Closed): broken Marshal compatibilities on Complex and Rational
- This issue was solved with changeset r36538.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
complex.c, rational.c: compatible marshal loader
* complex.... - 04:40 PM Revision c08a213b (git): * 2012-07-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:40 PM Revision ea637eba (git): * thread.c (thread_create_core, Init_Thread): hide
- th->async_errinfo_queue and th->async_errinfo_mask_stack from
ObjectSpace.each_object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 PM Bug #6790: mingw-w64: rb_libruby_handle and libruby changes when extensions are loaded
- Seems it occurs only in x64-mingw; and does not occur when loading the DLL by x64-mswin ruby.exe.
Needs more investigation. -
08:24 AM Bug #6790 (Closed): mingw-w64: rb_libruby_handle and libruby changes when extensions are loaded
- =begin
Hello,
I started to look into this failure when running dl/handle tests:
test_initialize_noargs(DL::TestHandle):
DL::DLError: unknown symbol "rb_str_new"
C:/Users/Worker/Jenkins/workspace/git-ruby-trunk/test/dl/tes... -
04:07 PM Feature #6758: Object#sequence
- merborne (kyo endo) wrote:
> alexeymuranov (Alexey Muranov) wrote:
> ...
Ok, i agree, my proposed behavior was not intuitive and not completely general.
However, the original proposal looks to me rather restrictive and not very efficien... -
10:33 AM Feature #6758: Object#sequence
- Please don't name the method #recurrence. #sequence was long enough, and thankfully nice obvious shorthand, if we want to use it, with #seq. While #iterate is ok too, but if we are going to talk about it as a "sequence", which everyone s...
-
09:12 AM Feature #6758: Object#sequence
- alexeymuranov (Alexey Muranov) wrote:
> fibonacci = 0.recurrence(1) { |a, b| a + b }
I disagree this. because I can't image fibonacci sequence from this code. and two block variables, which are both used as init data comes from diff... -
04:39 AM Feature #6758: Object#sequence
- =begin
ngoto (Naohisa Goto) wrote:
> I prefer "iterate" or "recurrence".
Excuse me, Naohisa Goto, after some thought i agree that (({#iterate})) or (({#recurrence})) are good ideas, as the sequence generated in this way is more or less... -
12:30 AM Feature #6758: Object#sequence
- > I believe that in mathematical English "series" means an infinite sum, like 1 + 2 + 3 + 4 + ...
For example: Fourier series.
Oh, yeah. That's right. -
03:13 PM Bug #4163 (Assigned): RubyGems uses deprecated API: YAML.quick_emit.
- drbrain (Eric Hodel) wrote:
> Fixed by import of RubyGems 1.5
lib/rubygems/specification.rb still uses YAML.quick_emit. -
01:41 PM Feature #6739: One-line rescue statement should support specifying an exception class
- New keyword is too big deal for this trivial syntax extension, I think.
-
09:05 AM Bug #6768: Changes for r36338 are not complete
- Tested these on nightly build and they are working.
Thanks!
-
08:41 AM Revision 003c45f9 (git): complex.c, rational.c: compatible marshal loader
- * complex.c, rational.c: compatible marshal loader for compatibilities
with 1.8. [ruby-core:45775] [Bug #6625]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Revision 681c1b9f (git): mkrunnable.rb: mswin
- * tool/mkrunnable.rb (ln_safe, ln_dir_safe): separate for mklink
command on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Revision ac64f196 (git): atomic.h: prefer GCC atomic builtins
- * atomic.h: prefer GCC atomic builtins than Windows APIs, if possible,
since they are generic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:13 AM Bug #6789 (Assigned): parse.y compilation error due not updated id.h
-
07:11 AM Bug #6789 (Closed): parse.y compilation error due not updated id.h
- =begin
Hello,
After r36524, compilation with existing build tree will fail due id.h not being regenerated:
compiling ../dmyversion.c
generating parse.c
parse.h updated
compiling ../array.c
...
compiling parse.c
In fil... -
07:13 AM Revision 61a67bc7 (git): Add test to clarify r36421. [Bug #5915]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:50 AM Bug #6723: Global variable scoping problem.
- These are described as "Special global variables" and are described as "thread-local and method-local" in the Regexp documentation. I updated a reference to them in re.c, but the existing documentation should be sufficient.
-
06:49 AM Bug #6723 (Closed): Global variable scoping problem.
- This issue was solved with changeset r36526.
Markus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* re.c (rb_reg_s_last_match): Update $~ to reference Regexp
... -
06:49 AM Revision 131f6943 (git): Suppress warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:29 AM Bug #6785 (Closed): Documentation for RubyVM::InstructionSequence
- This issue was solved with changeset r36525.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* iseq.c: Added documentation. Patch by David Albert. [Bug #6... -
03:18 AM Bug #6785: Documentation for RubyVM::InstructionSequence
- I've attached a second draft that incorporates some feedback from rue on #ruby-lang and a few extra edits of mine.
-
04:12 AM Revision c5581959 (git): * tool/ytab.sed: fix for Bison 2.6.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:03 AM Bug #5915: Array#join with explicit nil should not use $,
- Is there a test for this? If not, perhaps one should be added.
I'm fixing http://jira.codehaus.org/browse/JRUBY-6776 and would like to know that the behavior is being tested. -
03:10 AM Feature #4985 (Closed): Add %S[] support for making a list of symbols
- This issue was solved with changeset r36524.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y: added symbols and qsymbols productions for %i and %I
... -
02:53 AM Feature #4840: Allow returning from require
- On Jul 23, 2012, at 7:42 PM, Trans <transfire@gmail.com> wrote:
> why not deprecate `__END__`? Is there some really
> important use case that we just can't live without? The whole idea strikes me as rather hackish, especially con... -
02:20 AM Revision 7edb2645 (git): * lib/net/.document: Removed. All files in net/ should be included in
- RDoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:01 AM Revision 970c5ac4 (git): * test/testunit/test_redefinition.rb: broken class/method names.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:29 AM Revision ba223418 (git): * lib/cgi/html.rb: Use << instead of +=.
- `a += b` is syntax sugar of `a = a + b`; it creates a new string
object. `a << b` is concatenation and doesn't create new object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:26 AM Feature #6636: Enumerable#size
- Hi,
mame (Yusuke Endoh) wrote:
> > I am proposing `Enumerator.new(size_lambda){ block }`, i.e. only if a block
> ...
I understand the concern.
It could still be acceptable here because the other form is already documented as 'di... -
12:19 AM Revision 347c554f (git): * lib/cgi/html.rb (element_init): suppress redefine warning.
- Don't define methods if they are already defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:12 AM Bug #6784 (Closed): Test failures related to numeric with x64 mingw - This issue was solved with changeset r36522.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Fix broken pow() on x64-mingw32
* include/ruby/win32.h (rb_w3... -
12:05 AM Revision ead728ca (git): * lib/net/http.rb: Added SSL session reuse across connections for a
- single instance to speed up connection. [Feature #5341]
* NEWS: ditto
* test/net/http/test_https.rb: Tests for #5341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/24/2012
-
11:29 PM Feature #6636: Enumerable#size
- Hello Marc-Andre
2012/7/24, marcandre (Marc-Andre Lafortune) <ruby-core@marc-andre.ca>:
>> * Enumerator.new(size) is not acceptable because of compatibility:
>>
>> p Enumerator.new([1,2,3]).take(2) #=> [1, 2]
>
> Agree... -
12:13 AM Feature #6636 (Open): Enumerable#size
- Hi,
mame (Yusuke Endoh) wrote:
> Matz was positive to the spec of return value: Integer, Float::
> ...
:-)
> However, we couldn't understand what API is proposed for creating
> ...
Agreed.
I am proposing `Enumerator.new(size_la... -
11:02 PM Feature #1122: request for: Object#try
- Narihiro Nakamura and Roger Pack,
Sorry but this proposal was rejected at the developer meeting (7/21).
Matz first said he hesitated to extend the syntax for this feature.
He then said there is no good reason to make this feature ... -
10:53 PM Feature #6670: str.chars.last should be possible
- Yutaka Hara,
I'm happy to inform you that matz has accepted your proposal,
as making #chars, #lines, etc. return an Array (and keep
#each_char, etc as is).
"foo".chars #=> ["f", "o", "o"]
"foo".each_char #=> #<Enumerator... -
10:47 PM Feature #6669 (Feedback): A method like Hash#map but returns hash
- Yutaka Hara,
We discussed your slide at the developer meeting (7/21).
Matz was positive to the feature itself, but there was no
method name that matz liked. Please find another good name.
Here is a discussion summary:
* h... -
10:39 PM Feature #3346: __DIR__ revisted
- Thomas Sawyer and Yutaka Hara,
Matz determined Kernel#__dir__ (as a method).
Yhara-san, do you have a patch?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:37 PM Feature #6731 (Rejected): add new method "Object.present?" as a counter to #empty?
- Roger Pack,
Sorry but this proposal was rejected at the developer meeting (7/21).
There are many possible definitions of "present?" depending upon
contexts. It's not Ruby's decision. People should decide the
definition for thei... -
10:24 PM Feature #6769: rbinstall.rb: install both src and batch files separetely
- Thank you Usa, will work on this.
-
10:20 PM Feature #6637: Add HTML5 support to CGI
- Marcus Stollsteimer,
We discussed your slide at the developer meeting (7/21), and
left this issue up to the CGI maintainer (Takeyuki Fujioka).
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:14 PM Feature #6758: Object#sequence
- trans (Thomas Sawyer) wrote:
>
> ...
I believe that in mathematical English "series" means an infinite sum, like 1 + 2 + 3 + 4 + ...
For example: Fourier series. -
09:04 PM Feature #6758: Object#sequence
- @ngoto You can still use #sequence for your specialized classes, and if you need to use Object#sequence simply alias it.
class DNA
alias :iterate, :sequence
def sequence
# your code
end
end
However, mat... -
07:42 PM Feature #6758: Object#sequence
- ngoto (Naohisa Goto) wrote:
> In biology, the term "sequence" has special meanings for DNA and protein, and I'm already using the method name "sequence" and its abbreviation "seq" in my libraries and tools (e.g. bioruby). So, I have obj... -
07:26 PM Feature #6758: Object#sequence
- In biology, the term "sequence" has special meanings for DNA and protein, and I'm already using the method name "sequence" and its abbreviation "seq" in my libraries and tools (e.g. bioruby). So, I have objection to the name Object#seque...
-
09:54 PM Revision b8903f88 (git): * doc/re.rdoc: Fix spelling
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:49 PM Revision a10f6137 (git): * re.c (rb_reg_s_last_match): Update $~ to reference Regexp
- documentation about "special global variables". [Bug #6723]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:29 PM Revision ea6da56a (git): * iseq.c: Added documentation. Patch by David Albert. [Bug #6785]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:53 PM Feature #2347: Math::INFINITY
- naruse (Yui NARUSE) wrote:
> =begin
> ...
thank you Marc for figuring out this bug - helpful code
~Adam
http://ville-web.ch -
06:58 PM Feature #4985: Add %S[] support for making a list of symbols
- Seems fine to me.
-
08:44 AM Feature #4985: Add %S[] support for making a list of symbols
- I've attached an updated patch that includes the correct symbols, fixes the ripper tests, and fixes the conflicts.
Nakada-san: if you're happy with this patch, I can apply. :) -
06:10 PM Revision 91bd6e71 (git): * parse.y: added symbols and qsymbols productions for %i and %I
- support. %i{ .. } returns a list of symbols without interpolation,
%I{ .. } returns a list of symbols with interpolation. Thanks to
Josh Susser for inspiration of this feature. [Feature #4985]
* ext/ripper/eventids2.c: added ripper... -
05:15 PM Bug #6780: cannot compile zlib module, when cross-compiling.
- Sorry, https://bugs.ruby-lang.org/projects/ruby/wiki
-
05:14 PM Bug #6780: cannot compile zlib module, when cross-compiling.
- https://bugs.ruby-lang.org/projects/ruby-trunk/wiki is available.
-
10:25 AM Bug #6780: cannot compile zlib module, when cross-compiling.
- AFter 1 day hacking. Finally I ran 'gem list' ok on my am355x arm evm board.
I have some experience to share, but there is no wiki.!!! :(
Thanks nobu and all!!! -
01:02 AM Bug #6780 (Rejected): cannot compile zlib module, when cross-compiling.
- jinleileiking (lei king) wrote:
> I think this bug is because the make is running a target(arm-32) execute file on the host(x86_64)
It's not true.
> ...
Then you have to install it to a directory where you want to use, and
give c... -
12:23 AM Bug #6780: cannot compile zlib module, when cross-compiling.
- If you cross compile you need to point a configuration option (like
--with-opt-dir) and point where cross compiled libraries live.
Sorry for top posting. Sent from mobile.
On Jul 23, 2012 12:09 PM, "jinleileiking (lei king)" <
jin... -
12:08 AM Bug #6780: cannot compile zlib module, when cross-compiling.
- =begin
nobu (Nobuyoshi Nakada) wrote:
> Where are the header and library files for your target platform?
this is the x86_64 zlib:
➜ ~ git:(master) ✗ equery f zlib
* Searching for zlib ...
* Contents of sys-libs/zlib-1.2.7:
/lib6... -
03:53 PM Bug #6749: rdoc of Time class (incorrect explanation of leap seconds)
- Hi Eric,
The point is, that UTC is *not* based on solar time, and this is the
reason that leap seconds are needed.
UTC is based on the International *Atomic* Time (ITA) and therefore
on the SI second definition. (A day is... -
07:25 AM Bug #6749: rdoc of Time class (incorrect explanation of leap seconds)
- I added a note that UTC is based on solar time to describe what "not exactly 86400 seconds" meant and a link to Wikipedia's leap second page to your patch.
-
07:23 AM Bug #6749 (Closed): rdoc of Time class (incorrect explanation of leap seconds)
- This issue was solved with changeset r36507.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* time.c (time_sec): Updated description of leap seconds for a... -
03:48 PM Feature #6679: Default Ruby source file encoding to utf-8
- ko1 (Koichi Sasada) wrote:
> (2012/07/23 22:57), Perry Smith wrote:
> ...
diff --git a/ruby.c b/ruby.c
index ab4b674..d6a8a91 100644
--- a/ruby.c
+++ b/ruby.c
@@ -702,6 +702,7 @@ static long
proc_options(long argc, char **argv, s... -
12:53 PM Feature #6679: Default Ruby source file encoding to utf-8
- On 2012/07/24 3:27, naruse (Yui NARUSE) wrote:
>
> Issue #6679 has been updated by naruse (Yui NARUSE).
>
>
> 匿名ユーザ wrote:
>> If this seem to be too large of a performance impact, please consider making it a configuration op... -
10:51 AM Feature #6679: Default Ruby source file encoding to utf-8
- mame (Yusuke Endoh) wrote:
> I'm happy to inform you that matz has (basically) accepted your
> ...
diff --git a/lib/rexml/encoding.rb b/lib/rexml/encoding.rb
index d1d5172..23e912f 100644
--- a/lib/rexml/encoding.rb
+++ b/lib/rexml/... -
10:23 AM Feature #6679: Default Ruby source file encoding to utf-8
- (2012/07/23 22:57), Perry Smith wrote:
> Making it a configuration option may be nice anyway.
+1
--
// SASADA Koichi at atdot dot net -
03:27 AM Feature #6679: Default Ruby source file encoding to utf-8
- 匿名ユーザ wrote:
> If this seem to be too large of a performance impact, please consider making it a configuration option.
> ...
Benchmark by yourself, and if it shows performance impact, please report it.
-
12:53 AM Feature #6679: Default Ruby source file encoding to utf-8
- You mean the default would be UTF-8 right?
In Ruby I believe happiness > performance :)
Em 23-07-2012 10:57, Perry Smith escreveu:
> If this seem to be too large of a performance impact, please consider making it a configura... - 03:12 PM Revision 1a5773a8 (git): * 2012-07-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:12 PM Revision 4f8b1384 (git): Fix broken pow() on x64-mingw32
- * include/ruby/win32.h (rb_w32_pow): add new function.
We use powl() instead of broken pow() for x64-mingw32. This workaround
fixes test failures related to floating point numeric.
[ruby-core:46686] [Bug #6784]
git-svn-id: svn+ssh... -
01:17 PM Bug #6786 (Closed): Add :trace_instruction to the output of RubyVM::InstructionSequence.compile_option
- :trace_instruction is a valid iseq compiler option that can be set with compile_option=, but it does not appear in the hash returned by RubyVM::InstructionSequence.compile_option. I've attached a patch that fixes this.
-
12:57 PM Bug #6785 (Closed): Documentation for RubyVM::InstructionSequence
- I've attached a patch with documentation for the RubyVM::InstructionSequence class. It's of decent size, and I'm just getting familiar with the VM, so please send comments and corrections if you have any. I'm happy to do further passes i...
-
12:01 PM Feature #6414 (Feedback): Destructuring Assignment
- This request won't progress without a working proof-of-concept. Feel free to send us your pull request. https://github.com/ruby/ruby
-
11:53 AM Feature #6414: Destructuring Assignment
- I'd much prefer something like this and reserve the {a, b} syntax to be used as a shortcut for {a: a, b: b} like in CoffeeScript in the future...
Also, I find it clearer to read as well -
09:28 AM Feature #6414: Destructuring Assignment
- I made a mistake with that example.
name, last = john[:name, :last]
-
07:23 AM Feature #6414: Destructuring Assignment
- On 24/07/2012, at 2:20 AM, trans (Thomas Sawyer) wrote:
> If so, long ago it was suggested Hash#[] support multiple keys:
>
> name, last = john[[:name, :last]]
I'm very glad this didn't happen. I often have reason to use arrays ... -
01:20 AM Feature #6414: Destructuring Assignment
- So this is a shortcut for?
name, last = john.values_at(:name, :last)
If so, long ago it was suggested Hash#[] support multiple keys:
name, last = john[[:name, :last]]
Not as short as `{name, last} = john`, but not quite a... -
12:10 AM Feature #6414: Destructuring Assignment
- Edward Tsech and Marc-Andre Lafortune,
We discussed your slide at the developer meeting (7/21).
We were not sure if we can actually implement this feature in terms
of yacc. Could you create an experimental patch?
Matz was basi... -
11:53 AM Feature #4840: Allow returning from require
- On 2012年07月24日 11:42, Trans wrote:
>>> How about redefining `__END__` to allow to call it as a method?
>>
>> It has compatibility issue that `__END__` is related to `DATA`.
>
> Then what about `__end__`?
>
> Tangentially... -
11:53 AM Feature #4840: Allow returning from require
- Em 23-07-2012 22:37, SASADA Koichi escreveu:
> (2012/07/23 23:57), Rodrigo Rosenfeld Rosas wrote:
>>> * "return from toplevel" should always discard the argument.
>> You mean "return something", right? I agree. Maybe we could even... -
11:53 AM Feature #4840: Allow returning from require
- >> How about redefining `__END__` to allow to call it as a method?
> ...
Then what about `__end__`?
Tangentially, why not deprecate `__END__`? Is there some really
important use case that we just can't live without? The whole idea
... -
10:53 AM Feature #4840: Allow returning from require
- (2012/07/23 23:57), Rodrigo Rosenfeld Rosas wrote:
>> * "return from toplevel" should always discard the argument.
> ...
matz proposed that ignore return argument completely. matz also said to
avoid mistake, return expression with ar... -
10:29 AM Feature #4840: Allow returning from require
- (2012/07/24 0:44), alexeymuranov (Alexey Muranov) wrote:
>
> How about redefining `__END__` to allow to call it as a method?
It has compatibility issue that `__END__` is related to `DATA`.
--
// SASADA Koichi at atdot ... -
12:44 AM Feature #4840: Allow returning from require
- How about redefining `__END__` to allow to call it as a method?
To avoid ambiguity with `DATA` constant, maybe `__START_DATA__` keyword can be added? -
10:23 AM Feature #5690: Module#qualified_const_get
- Aaron,
On 24/07/2012, at 4:14 AM, Aaron Patterson wrote:
> On Mon, Jul 23, 2012 at 09:39:38PM +0900, mame (Yusuke Endoh) wrote:
>>
>> Issue #5690 has been updated by mame (Yusuke Endoh).
>> Assignee changed from matz (Yukihiro M... -
09:57 AM Revision 0daf636e (git): Unix doesn't use win_expected_filename.
- r36519's essensial part is not to use filename.force_encoding("euc-jp").
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:53 AM Bug #6784: Test failures related to numeric with x64 mingw
- Hello,
In message "[ruby-core:46690] [ruby-trunk - Bug #6784][Assigned] Test failures related to numeric with x64 mingw"
on Jul.24,2012 08:13:27, <luislavena@gmail.com> wrote:
> CC: Usa, do you agree with Hiroshi conclusion... -
09:52 AM Bug #6784: Test failures related to numeric with x64 mingw
- =begin
Thank you Usa,
Hiroshi, see comments from Usa at [ruby-core:46694]:
About Hiroshi's patch, I don't think the name "fake_pow" is
a good name.
We should use "rb_w32_" prefix for the published name.
I think the patch is... -
08:13 AM Bug #6784 (Assigned): Test failures related to numeric with x64 mingw
- Thank you Hiroshi,
I'm reassigning this ticket to Nobu looking for approval.
CC: Usa, do you agree with Hiroshi conclusion and solution? If so, I will commit.
Thank you.
-
07:24 AM Bug #6784 (Closed): Test failures related to numeric with x64 mingw
- x64 mingw build has many floating point numeric related failures in test-all.
http://ci.rubyinstaller.org/job/test-ruby-trunk-x64/24/console
2) Failure:
test_plus(TestBignum) [C:/Users/Worker/Jenkins/workspace/git-ruby-trunk/tes... -
09:36 AM Revision cd1a6ab8 (git): test_dir_m17n.rb: composite character
- * test/ruby/test_dir_m17n.rb (test_filename_utf8_raw_windows_1252_name):
get rid of composite character for troublesome Mac OS X file system.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:35 AM Feature #6739: One-line rescue statement should support specifying an exception class
- What about an add-"on"?
~~~ruby
File.read("myfile.txt") rescue on Errno::ENOENT puts "No file there"
~~~
Although better to read, maybe?
~~~ruby
File.read("myfile.txt") rescue puts "No file there" on Errno::ENOENT
~~~
-
09:25 AM Feature #6739: One-line rescue statement should support specifying an exception class
- I don't think it would be possible to tell "`rescue` exceptions `then`" from mere "`rescue`", unfortunately.
-
07:43 AM Feature #6739: One-line rescue statement should support specifying an exception class
- > I’d prefer the `rescue`/`then` to this as it seems more clear to me.
Sorry, not a native speaker here... Should be "I’d prefer the `rescue`/`then` combination over this as it seems more clear to me.".
-
07:41 AM Feature #6739: One-line rescue statement should support specifying an exception class
- > ~~~ruby
> ...
Putting two keywords right after one another doesn’t seem like a good idea to me. If you really like this `when` there, what about this one:
~~~ruby
File.read("myfile.txt") when Errno::ENOENT rescue puts "No file the... -
09:34 AM Bug #6665 (Closed): Import RubyGems 1.8.24 into trunk
- I imported RubyGems 1.8.24 at r36510, let me know if that doesn't fix your problem.
It seems the only code change was in setup_command.rb. It may be the change needs to be made in the ruby install scripts instead. -
08:47 AM Revision 756b6e66 (git): Add the case of Unix: filesystem encoding maybe US-ASCII.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:32 AM Bug #6765 (Closed): test_filename_utf8_raw_name and test_filename_euc_jp (test_dir_m17n.rb) fail on non-JapaneseWindows
- This issue was solved with changeset r36509.
Oleg, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Fix raw UTF-8 test for non-Japanase Windows systems
* test/ruby/... -
08:10 AM Bug #6782 (Closed): Fix test_offset_vtbl(TestWIN32OLE_METHOD) failure with mingw x64
- This issue was solved with changeset r36508.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Fix win32ole test failure under mingw-w64 (x64-mingw32)
* tes... -
07:31 AM Bug #6781: open-uri で NameError が発生する
- 修正ありがとうございます。NameError が発生しなくなりました。
-
07:03 AM Bug #6719 (Closed): Documentation Error for String.sub()
- This issue was solved with changeset r36506.
Tyler, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (rb_str_sub): Fixed wording of documentation to matc... -
06:41 AM Bug #6719: Documentation Error for String.sub()
- I don't see the change in this patch, just corruption of the indentation of string.c. Please configure your editor correctly:
https://bugs.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style
I will make the change witho... - 06:05 AM Revision 8122db83 (git): * win32/win32.c (rb_w32_socket, rb_w32_socketpair): remember the family
- in the high word of socklist value.
* win32/win32.c (overlapped_socket_io, recvmsg, sendmsg, setfl): follow
above changes.
* win32/win32.c (rb_w32_getsockname): set remembered family to the
argument when OS's function fails.
git-... -
04:27 AM Feature #6783: Infinite loop in inspect, not overriding inspect, to_s, and no known circular references. Stepping into inspect in debugger locks it up with 100% CPU.
- Figured it out. The problem was that the inspect was just generating a lot of data.
It really wasn't taking 100% CPU. The process in Activity Monitor in OS X appeared as though it was taking 100%, but I could also see in Activity Monito... -
04:24 AM Revision 7b8e78f7 (git): test_pack.rb: fix assertion
- * pack.c (pack_unpack): fix indent.
* test/ruby/test_pack.rb (test_pack_unpack_M): fix assertion. ignore
invalid quoted-printable and just skip.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36517 b2dd03c8-39d4-4d8f-98ff-823fe69... - 03:36 AM Revision 2b4f1eed (git): * test/ruby/test_dir_m17n.rb: remove a garbage.
- * test/ruby/test_dir_m17n.rb: convert from ascii-8bit to other encoding
with 8bit bytes always fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:32 AM Revision 989a6cb1 (git): * test/ruby/test_dir_m17n.rb: sorry, typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:14 AM Revision 3a4a494e (git): * test/ruby/test_dir_m17n.rb: refactoring. RE should be in the left side
- of the =~ operator, and compare the result with nil is meaningless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 AM Revision 040207ea (git): Show nd6 options and whether the packet is reached to the server or not.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:36 AM Revision f83a2eee (git): * test/ruby/test_pack.rb (test_pack_unpack_M): was redefined
- accidentally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:59 AM Feature #6499: Array::zip
- If it is any consolation, I will add these to Facets.
-
12:47 AM Feature #5011: Add Perl 6-like main method definition support: accept command-line arguments as method arguments
- Great, I'll love to see when the right direction appear ;)
-
12:45 AM Feature #4649: Adding parallel constructors to Ruby 2.0
- Okay, thanks for considering it :)
-
12:42 AM Revision 612ff592 (git): Add version check for darwin's bug.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:31 AM Revision 505c4eae (git): * lib/rubygems: Updated to RubyGems 1.8.24, a bugfix release.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/23/2012
-
11:59 PM Feature #4840: Allow returning from require
- Em 23-07-2012 10:12, mame (Yusuke Endoh) escreveu:
> Issue #4840 has been updated by mame (Yusuke Endoh).
>
>
> Rodrigo Rosenfeld Rosas,
>
> At the developer meeting (7/21), Matz was basically positive
> to this proposal, ... -
10:12 PM Feature #4840: Allow returning from require
- Rodrigo Rosenfeld Rosas,
At the developer meeting (7/21), Matz was basically positive
to this proposal, but it turned out that we still need to
discuss corner cases.
Here is a discussion summary.
* Matz said that he will acc... -
11:58 PM Bug #6768 (Closed): Changes for r36338 are not complete
- This issue was solved with changeset r36502.
Perry, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
enc/Makefile.in: TARGET_NAME TARGET_ENTRY
* enc/Makefile.in (TA... -
10:55 AM Bug #6768: Changes for r36338 are not complete
- Attached is a diff starting from the ruby 1.9.3 p194 tarball. It includes the changes to SHLIB_PATH => LIBPATH as well as a method to solve this bug.
I am using features of GNU Make. I am not sure if that is permitted. In particula... -
11:55 PM Feature #6636 (Feedback): Enumerable#size
- Marc-Andre Lafortune,
We discussed your slide at the developer meeting (7/21).
Matz was positive to the spec of return value: Integer, Float::
INFINITY, and nil.
However, we couldn't understand what API is proposed for creating
... -
11:47 PM Feature #4151: Enumerable#categorize
- We discussed your slide at the developer meeting (7/21), but
cannot reach agreement. What is proposed in both Benoit and
MarcAndre slides, was not concrete enough.
One comment: in general, a collection of small methods that do
one... -
11:32 PM Bug #6745: Segmentation fault in postgresql_adapter.rb:607
- Just reported to: https://bitbucket.org/ged/ruby-pg/issue/136/crashes-on-pgresult_values
Thanks for your help in tracking that down! -
11:32 PM Revision c4348fcd (git): Fix raw UTF-8 test for non-Japanase Windows systems
- * test/ruby/test_dir_m17n.rb (create_and_check_raw_file_name): add new
helper method to ease encoding testing. Patch by Oleg Sukhodolsky.
[ruby-core:46589][Bug #6765]
* test/ruby/test_dir_m17n.rb (test_filename_extutf8): use filesys... -
11:30 PM Feature #6130: inspect using to_s is pain
- I suggested giving Benoit a commit bit at the developer meeting (7/21),
and matz agreed.
Benoit, could you send your PGP public key to cvs-admin AT ruby-lang.org?
See the following procedure in detail:
http://bugs.ruby-lang.org... -
11:29 PM Feature #6783: Infinite loop in inspect, not overriding inspect, to_s, and no known circular references. Stepping into inspect in debugger locks it up with 100% CPU.
- Note: unfortunately this is an internal script that depends on a local DB so can't share, but can duplicate the problem each time, and was able to duplicate in ruby-1.9.3-p125 also. I don't have ruby-head setup yet, but working on it.
-
11:22 PM Feature #6783 (Open): Infinite loop in inspect, not overriding inspect, to_s, and no known circular references. Stepping into inspect in debugger locks it up with 100% CPU.
- In Ruby 1.9.3p194 in Rails 3.2.6 in rails console, in my script I'm calling inspect on a Ruby object and even though I'm not overriding inspect, to_s, and there are no known circular references, inspect is going into an infinite loop loc...
-
11:25 PM Feature #4778 (Rejected): IO#each_chomped
- Benoit Daloze,
Sorry but this proposal was rejected at the developer meeting (7/21).
Both feature itself and name are not so bad.
But the reason it was rejected is fear of endless similar proposals.
So, please start it as a gem... -
11:24 PM Bug #6780 (Feedback): cannot compile zlib module, when cross-compiling.
- Where are the header and library files for your target platform?
-
10:56 PM Bug #6780: cannot compile zlib module, when cross-compiling.
- =begin
I have some clue.. :)
from mkmf.log,
we can see, the make cmd, using
have_library: checking for deflateReset() in -lz... -------------------- no
"arm-angstrom-linux-gnueabi-gcc -o conftest -I../../.ext/include/... -
09:38 PM Bug #6780: cannot compile zlib module, when cross-compiling.
- =begin
the Makefile of cross-compiling.
➜ ruby git:(ruby_1_9_2) ✗ cat ext/zlib/Makefile
SHELL = /bin/sh
#### Start of system configuration section. ####
top_srcdir = $(topdir)/.
srcdir = $(top_srcdir)/ext/zlib
topdir = ../..... -
09:02 PM Bug #6780: cannot compile zlib module, when cross-compiling.
- I have test on non-crosscompile mode. It is okay.
compiling zlib
make[1]: Entering directory `/mnt/share/study/src/lang/ruby/ext/zlib'
gcc -I. -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/zlib -DRUBY_EXTCONF_H... -
06:18 PM Bug #6780 (Rejected): cannot compile zlib module, when cross-compiling.
- 1_9_2 branch.
using:
env ac_cv_func_setpgrp_void=yes ./configure --host=arm-angstrom-linux-gnueabi --prefix= --enable-shared --disable-install-doc
no zlib library made.
➜ ruby git:(ruby_1_9_2) ✗ cat ext/Setup
#option no... -
11:21 PM Feature #6361 (Rejected): Bitwise string operations
- Martin Bosslet and Joshua Ballanco,
Sorry but this proposal was rejected at the developer meeting (7/21).
Matz explicitly said he will not accept another class than String.
He hates Python way.
Two additional notes:
* The ... -
11:10 PM Revision fa608f4a (git): Fix win32ole test failure under mingw-w64 (x64-mingw32)
- * test/win32ole/test_win32ole_method.rb (is_ruby64?): Correct platform
used to identify mingw-w64 (x64-mingw32). Patch by Hiroshi Shirosaki.
[ruby-core:46651][Bug #6782]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36508 b2dd03... -
11:09 PM Feature #6253 (Rejected): Implement a way to pass keyword options to curried procs
- Joshua Ballanco,
Sorry but this proposal was rejected at the developer meeting (7/21).
Proc#curry is like an easter egg. Matz felt no need to care about the
interaction between Proc#curry and other advanced features.
--
Yusu... -
11:05 PM Feature #6499 (Rejected): Array::zip
- Ilya Vorontsov and Clay Trump,
Sorry but this proposal was rejected at the developer meeting (7/21).
Here is a discussion summary:
* Matz was NOT positive to this kind of proposals that is for the
sake of symmetric notation... -
10:59 PM Feature #6679: Default Ruby source file encoding to utf-8 - If this seem to be too large of a performance impact, please consider making it a configuration option.
Making it a configuration option may be nice anyway.
-
10:44 PM Feature #6679: Default Ruby source file encoding to utf-8
- Clay Trump,
I'm happy to inform you that matz has (basically) accepted your
proposal.
But not that the decision may be cancelled if the compatibility
impact is considered serious.
Naruse-san will implement and experiment it.
... -
10:53 PM Bug #6781: open-uri で NameError が発生する
- 2012年7月23日 21:10 hsbt (Hiroshi SHIBATA) <shibata.hiroshi@gmail.com>:
> Bug #6781: open-uri で NameError が発生する
> https://bugs.ruby-lang.org/issues/6781
> uninitialized constant OpenURI::Tempfile (NameError)
>
> tDiary で op... -
10:50 PM Bug #6781 (Closed): open-uri で NameError が発生する
- This issue was solved with changeset r36500.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/open-uri.rb: use respond_to? to test Tempfile.
[ruby-d... -
09:10 PM Bug #6781 (Closed): open-uri で NameError が発生する
- 本日、trunk をビルドして tDiary を動かしたところ、open-uri.rb を使っている箇所で以下のエラーが
発生するようになりました。
uninitialized constant OpenURI::Tempfile (NameError)
tDiary で open-uri と同時に tempfile も require することで NameError は消えました。
なお、以下のコミットが原因と思いますが、akr さん見て頂けないで... -
10:37 PM Feature #1586: Including a module already present in ancestors should not be ignored
- Jeremy Kemper and Clay Trump,
This proposal was discussed as two separate ones:
1. allow multiple inclusion
2. propagate when a module includes a module
Both have been (basically) accepted. Congrats!
For part (1), mat... -
10:30 PM Bug #6782 (Closed): Fix test_offset_vtbl(TestWIN32OLE_METHOD) failure with mingw x64
- =begin
x64-mingw32 ruby has a failure in test_win32ole_method.rb.
[1752/1812] TestWIN32OLE_METHOD#test_offset_vtbl = 0.03 s
12) Failure:
test_offset_vtbl(TestWIN32OLE_METHOD) [c:/Users/hiroshi/work/ruby/test/win32ole/
te... -
10:28 PM Feature #6639 (Rejected): ArgumentError から ArityError を分離
- きしもとさん
7/21 の開発者会議にて、残念ながらこの機能は不採択と判定されました。
これを採択すると他にも細分化の要望が来るであろうことから、
Ruby として「例外を細分化する方針」をとるかどうかで議論が行われました。
しかしまつもとさんからその方針には「不安」があるとのことで、採択しない
方向となりました。
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:23 PM Feature #5053: ruby コマンドと libruby の食い違いチェック
- きしもとさん
これはなかださんに一任となりました。
まつもとさんの意見は以下の 2 点です。
* fail early の観点で、よい実装方法があるなら取り込みたい
* ただし RUBY_DESCRIPTION を使うのはよい実装方法と思わない
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:23 PM Revision 0d8bc525 (git): * time.c (time_sec): Updated description of leap seconds for accuracy.
- Based on patch by Marcus Stollsteimer. [Bug #6749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:21 PM Feature #4043 (Rejected): グローバル関数current_classの提案
- きしもとさん
7/21 の開発者会議にて、残念ながらこの機能は不採択と判定されました。
以下の 3 つの理由によります。
* 「Ruby の理解が進む」というユースケースは弱い
* Module のクラスメソッドはいまいち (Module.nesting で後悔したそうです)
* implementation detail なので他実装で同等に実装できないかもしれない
- 具体的には mruby で困るらしい
--
Yu... -
10:19 PM Feature #4649 (Rejected): Adding parallel constructors to Ruby 2.0
- Rodrigo Rosenfeld Rosas,
Sorry but this proposal was rejected at the developer meeting (7/21).
Please start it as a gem. Matz might reconsider this proposal if
your gem really becomes popular or even de facto.
--
Yusuke Endo... -
10:17 PM Feature #5011 (Rejected): Add Perl 6-like main method definition support: accept command-line arguments as method arguments
- Rodrigo Rosenfeld Rosas,
Sorry but this proposal was rejected at the developer meeting (7/21).
Matz said that it was not a bad idea to improve optparse, but that
this proposal was not in the right direction.
--
Yusuke Endoh <... -
10:03 PM Revision 00730b5e (git): * string.c (rb_str_sub): Fixed wording of documentation to match the
- replacement operation. Minor cleanup of markup. [Bug #6719]
* string.c (rb_str_sub_bang): Minor wording change for clarity, minor
cleanup of markup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36506 b2dd03c8-39d4-4d8f-98ff-8... -
09:59 PM Feature #4985: Add %S[] support for making a list of symbols
- Aaron Patterson,
I'm happy to inform you that matz has accepted your proposal.
Matz was worried about the letter `i' and searching other ones,
but finally accepted.
Nakada-san,
Could you review the patch attached?
--
... -
09:54 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Yehuda Katz and Aaron Patterson,
We discussed your slide at the developer meeting (7/21), but
cannot reach agreement. Please continue to make a discussion.
Here is a discussion summary.
I hope you find it informative to improv... -
09:39 PM Feature #5690: Module#qualified_const_get
- Yehuda Katz and Aaron Patterson,
I'm happy to inform you that matz has accepted your proposal,
as one to extend existing `const_get' (not `qualified_const_get').
Aaron, could you implement a patch?
--
Yusuke Endoh <mame@tsg... -
09:37 PM Revision f6327e73 (git): Suppress warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:04 PM Revision d1c42e4f (git): * 2012-07-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 PM Revision 787c12da (git): Synchronize with simple variable assignment.
- If it uses Queue, Mutex#synchronize may suppress the exception caused by
th.raise. The case happens when Ruby switches the thread after it pushes :go
into q, in `self.unlock rescue nil`. The exception is rescued the
`rescue nil`.
git-sv... -
05:32 PM Feature #6775 (Rejected): Regexp match() for Enumerables
- =begin
Note that (({Enumerable#grep})) can take a block.
$ ruby -e 'p STDIN.grep(/^\w+$/) {$~}'
ddd
fef x
aaa
^D
[#<MatchData "ddd">, #<MatchData "aaa">]
=end
-
04:55 PM Feature #6775 (Feedback): Regexp match() for Enumerables
- Did you check Array#grep?
-
07:20 AM Feature #6775 (Rejected): Regexp match() for Enumerables
- =begin
= Abstract
(({Regexp.match()})) currently works on strings only.
I'd like to suggest to extend that to (({Enumerable}))s,
possibly giving it a different name like (({match_array()}))
I am aware of the (({grep})) method in... -
04:54 PM Feature #6778 (Rejected): cross-compiling convience.
- make DESTDIR=/wherever/you/want/to/install install
-
04:03 PM Feature #6778 (Rejected): cross-compiling convience.
- when cross-compiling, using the --prefix and --exec-prefix is not very convience.
using make install will install the file to exec-prefix dir.
But when cross compiling. the exec-prefix is always '/'.
Means install the files to /... -
04:54 PM Feature #6779 (Rejected): cross-compiling convience.
- make DESTDIR=/wherever/you/want/to/install install
-
04:19 PM Feature #6779: cross-compiling convience.
- sorry. I create two issue ,please close it.
-
04:04 PM Feature #6779 (Rejected): cross-compiling convience.
- when cross-compiling, using the --prefix and --exec-prefix is not very convience.
using make install will install the file to exec-prefix dir.
But when cross compiling. the exec-prefix is always '/'.
Means install the files to /... -
03:32 PM Bug #6776: segment fault for 1.9.3 trunk crosscompiled runing on am335x
- 1.9.2 is ok:
root@am335x-evm:/bin# ruby -v
ruby 1.9.2p323 (2012-05-22 revision 35755) [arm-linux-eabi]
1.9.2 step:
* autoreconf
* make clean
* env ac_cv_func_setpgrp_void=yes ./configure --host=arm-angstrom-linux-gnueabi ... -
03:14 PM Bug #6776: segment fault for 1.9.3 trunk crosscompiled runing on am335x
- shyouhei (Shyouhei Urabe) wrote:
> Is it possible for you to obtain a stack backtrace of the segmentation fault? Show us one if any.
I have nothing output from my evm board.
I will try 1.9.2 -
02:45 PM Bug #6776: segment fault for 1.9.3 trunk crosscompiled runing on am335x
- Is it possible for you to obtain a stack backtrace of the segmentation fault? Show us one if any.
-
02:25 PM Bug #6776: segment fault for 1.9.3 trunk crosscompiled runing on am335x
- =begin
➜ ruby git:(trunk) ✗ arm-angstrom-linux-gnueabi-nm -a ruby
00000000 n .ARM.attributes
00008860 r .ARM.exidx
000109d4 b .bss
00000000 n .comment
000109cc d .data
00000000 N .debug_abbrev
00000000 N .debug_aranges
000... -
02:23 PM Bug #6776: segment fault for 1.9.3 trunk crosscompiled runing on am335x
- (({➜ ruby git:(trunk) ✗ arm-angstrom-linux-gnueabi-nm -a ruby
00000000 n .ARM.attributes
00008860 r .ARM.exidx
000109d4 b .bss
00000000 n .comment
000109cc d .data
00000000 N .debug_abbrev
00000000 N .debug_aranges
00000000 N .debu... -
02:22 PM Bug #6776: segment fault for 1.9.3 trunk crosscompiled runing on am335x
some info:
CC=arm-angstrom-linux-gnueabi-gcc ./configure --host=arm-angstrom-linux-gnueabi --prefix=$HOME/work/ruby --enable-shared --disable-install-doc
(({➜ ruby git:(trunk) ✗ arm-angstrom-linux-gnueabi-readelf -a ruby
ELF ...-
02:21 PM Bug #6776 (Rejected): segment fault for 1.9.3 trunk crosscompiled runing on am335x
- version: commit 478d37da053f39608fa505991aa69bcff4ade998
after I copy the file generated to target evm(am335x).
It said:
root@am335x-evm:/# ruby
Segmentation fault
I donot know how to give the further info.
I will giv... -
02:58 PM Revision fbee46fe (git): enc/Makefile.in: TARGET_NAME TARGET_ENTRY
- * enc/Makefile.in (TARGET_NAME, TARGET_ENTRY): needed for EXTDLDFLAGS
on some platforms. [ruby-core:46600] [Bug #6768]
* enc/depend: no longer needs tweaking DLDFLAGS for TARGET names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
02:43 PM Bug #6728 (Closed): LIBPATH instead of SHLIB_PATH for AIX
- This issue was solved with changeset r36499.
Perry, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: LIBPATH on AIX
* configure.in (LIBPATHENV): LIBPA... -
02:38 PM Revision bec666ce (git): add a space between filename and method
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 PM Bug #6773 (Feedback): "You may have encountered a bug in the Ruby interpreter or extension libraries."
- Since 1.9.3-p0 is quite outdated, could you try with recent patch level(, or preferably 2.0.0)?
And we'll need small reproducible code and crash report log to fix the bug if it still exists.
> See Crash Report log file under ~/L... -
01:36 AM Bug #6773 (Rejected): "You may have encountered a bug in the Ruby interpreter or extension libraries."
- I got that strange error while testing sidekiq 2.1.0 when I tried bundle exec sidekiq.
I followed railscasts.com/episodes/366-sidekiq.
The unique different thing I have done was creating a Module to wrapper all email works. I tried t... -
02:14 PM Feature #6769: rbinstall.rb: install both src and batch files separetely
- IMO, it's okay.
-
01:49 PM Revision ab63cdf1 (git): * lib/open-uri.rb: use respond_to? to test Tempfile.
- [ruby-dev:45995] [Bug #6781] reported by hsbt (Hiroshi SHIBATA).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:00 AM Feature #4085: Refinements and nested methods
- Matz said the only problem is performance before, so I assign this issue to ko1.
-
09:11 AM Bug #6203 (Open): Array#values_at does not handle ranges with end index past the end of the array
- Marking as open, since fix doesn't seem to correspond to what Matz wrote.
marcandre (Marc-Andre Lafortune) wrote:
> matz (Yukihiro Matsumoto) wrote:
> ...
-
05:43 AM Revision dafab791 (git): configure.in: LIBPATH on AIX
- * configure.in (LIBPATHENV): LIBPATH is used on AIX, but not
SHLIB_PATH which was carelessly copied from HP/UX. suggested by
Perry Smith at [ruby-core:46397]. [Bug #6728]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36499 b2... -
01:50 AM Bug #6774 (Closed): test failures when *_proxy already set
- This issue was solved with changeset r36496.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
fix failures
* test/uri/test_generic.rb (URI#with_env): unse... -
01:39 AM Bug #6774 (Closed): test failures when *_proxy already set
- 他の組み合わせでもおきますが、 proxy 関連の環境変数が設定されていると test_find_proxy が失敗します。
% env -u http_proxy -u https_proxy ftp_proxy= ruby -v test/uri/test_generic.rb
ruby 2.0.0dev (2012-07-23 trunk 36494) [x86_64-linux]
Run options:
# Running tests:
...
07/22/2012
-
11:11 PM Revision aec333b7 (git): Suppress unused variable warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:05 PM Feature #6669: A method like Hash#map but returns hash
- It would introduce an incompatibility, but probably not as much as you might think since #map has become the more commonly used method and it is used even less frequently on a Hash.
I think it makes good sense to have a known set of m... -
06:50 AM Feature #6669: A method like Hash#map but returns hash
- Hi,
duerst (Martin Dürst) wrote:
> Wouldn't it be really confusing that for Arrays, #map and #collect are
> ...
It could be confusing, and would also introduce incompatibilities. Also, if the proposal for associate/categorize is a... -
05:47 PM Feature #6758: Object#sequence
- I prefer Enumerable.seq and Kernel#seq.
-
04:55 PM Revision 216b8330 (git): * test/uri/test_generic.rb (URI#test_find_proxy): add tests with empty *_proxy env variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:50 PM Revision 89a03079 (git): fix failures
- * test/uri/test_generic.rb (URI#with_env): unset proxy related env
variables. [Bug #6774]
* test/uri/test_generic.rb (URI#test_find_proxy): fix failures
when proxy related env variables already set. [Bug #6774]
git-svn-id: svn+ss... -
04:48 PM Revision 4ed06c9c (git): Use assert_normal_exit to avoid stack on buggy implementations.
- fix for r36492.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:09 PM Revision c7eb9739 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:04 PM Revision 480d1139 (git): * 2012-07-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 PM Revision ee755e2c (git): * thread.c (rb_threadptr_execute_interrupts_common): increase
- running_time_us on THREAD_TO_KILL like on THREAD_RUNNABLE.
This cause not to siwtch from a thread which is to be killed
on FreeBSD and Mac OS X. see also the test.
This issue maybe exist for long time but happens after r36430.
git... -
11:03 AM Feature #6767: Utility method to get a duplicated string whose encoding is ASCII-8BIT
- naruse (Yui NARUSE) wrote:
> ある String を ASCII-8BIT にしたいことはしばしばあります。
> ...
# encoding: UTF-8
の場合、\xAB とかが String リテラルに出てきたらその文字列を binary とみなすのは将来的にありかと思います。まだ UTF-8 以外のソースも結構ある間には早すぎるかと思います。
> (2) dup.force_encoding(Encoding::ASCII... -
03:20 AM Feature #6767 (Closed): Utility method to get a duplicated string whose encoding is ASCII-8BIT
- ある String を ASCII-8BIT にしたいことはしばしばあります。
それだけならばまだ force_encoding しろよという話なのですが、
#6361 の例のように、バイナリ文字列にさらにバイナリ文字列を結合していく場合、
毎行毎行 force_encoding を書いていくのにはつらいものがあります。
解決案としては、
(1) バイナリリテラルの導入
(2) dup.force_encoding(Encoding::ASCII_8BI... -
10:04 AM Feature #6769 (Assigned): rbinstall.rb: install both src and batch files separetely
- =begin
Hello,
Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.
Those files works OK when invoked directly, but they ... -
09:34 AM Bug #6665: Import RubyGems 1.8.24 into trunk
- ping?
-
09:33 AM Bug #6024 (Closed): Failure to execute test_modify_expand_memory_leak under Windows (MinGW)
- This appears to be solved long time ago.
Closing this out. -
07:23 AM Bug #6764: IO#read(size, buf) causes can't set length of shared string in trunk (2.0.0dev)
- On Sun, Jul 22, 2012 at 2:32 AM, naruse (Yui NARUSE) <naruse@airemix.jp> wrote:
> This report is not contain small reproducible program.
> Why don't you introduce ruby-zip/zlib's case?
Indeed I should have tried. Let me try.
... -
02:32 AM Bug #6764 (Assigned): IO#read(size, buf) causes can't set length of shared string in trunk (2.0.0dev)
- This report is not contain small reproducible program.
Why don't you introduce ruby-zip/zlib's case? -
07:12 AM Bug #6768 (Closed): Changes for r36338 are not complete
- The changes for r36338 are incomplete. TARGET is in enc/depend. The general strategy of going from TARGET to TARGET_NAME to TARGET_ENTRY I think will create more and more issues.
The current changes causes enc.mk to not have the -eI... -
06:38 AM Feature #6636: Enumerable#size
- Hi,
On Sat, Jul 21, 2012 at 2:43 AM, naruse (Yui NARUSE) <naruse@airemix.jp> wrote:
> How about adding Enumerator#receiver and define yourself with it.
I agree `receiver` could be helpful. One would also need the `method` and the ... -
04:07 AM Bug #6766 (Closed): Unable to run tests for different builds due fixed port for Net::HTTPS
- This issue was solved with changeset r36491.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Use 0 for webrick's port and get the actual port. [Bug #6766] -
12:09 AM Bug #6766 (Closed): Unable to run tests for different builds due fixed port for Net::HTTPS
- =begin
Hello,
I found that (({test_https.rb})) uses a fixed port number to run its tests, which results in failures due Errno::EADDRINUSE sometimes due clash with another build in my system:
20) Error:
test_verify_none(TestNet... -
12:33 AM Bug #6765 (Assigned): test_filename_utf8_raw_name and test_filename_euc_jp (test_dir_m17n.rb) fail on non-JapaneseWindows
- =begin
Thank you Oleg,
I can confirm new patch works:
# Running tests:
Finished tests in 0.785099s, 15.2847 tests/s, 28.0219 assertions/s.
12 tests, 22 assertions, 0 failures, 0 errors, 0 skips
ruby -v: ruby 2.0.0dev ... -
12:30 AM Bug #6765: test_filename_utf8_raw_name and test_filename_euc_jp (test_dir_m17n.rb) fail on non-JapaneseWindows
- The patch updated to make test_filename_euc_jp pass on Windows-1252.
-
12:11 AM Feature #4985: Add %S[] support for making a list of symbols
- =begin
Seems like ((%ext/ripper/eventids2.c%)) misses (({tSYMBOLS_BEG})).
=end
07/21/2012
-
11:40 PM Feature #4985: Add %S[] support for making a list of symbols
- =begin
The latest ((%percent_i.patch%)) seems almost fine, except for a conflict in ((%parse.y%)).
=end
-
11:12 PM Bug #6761 (Closed): cannot crosscomiple ruby-trunk for arm cortex a8
- This issue was solved with changeset r36487.
lei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
thread_pthread.c: STACK_GROW_DIR_DETECTION
* thread_pthread.c (ru... -
01:21 AM Bug #6761: cannot crosscomiple ruby-trunk for arm cortex a8
- ruby git:(trunk) ✗ make --version
GNU Make 3.82
Built for x86_64-pc-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: ... -
01:19 AM Bug #6761: cannot crosscomiple ruby-trunk for arm cortex a8
- the ruby version is:
Commit 1ea6c81762ff15f5a4fc9c4e458a312492045c39
Author: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Fri Jul 20 07:27:28 2012 +0000
-
01:16 AM Bug #6761 (Closed): cannot crosscomiple ruby-trunk for arm cortex a8
- env:
gentoo64+ angstrom cross compile tool chain.
angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain.tar.bz2
autoreconf
CC=arm-angstrom-linux-gnueabi-gcc env ac_cv_func_setpgrp_void=yes ./configure --host=arm-angstro... -
11:10 PM Bug #4799 (Closed): M17N tests are too JP specific
- A patch for this has been submitted in #6765
-
10:40 PM Bug #6765 (Feedback): test_filename_utf8_raw_name and test_filename_euc_jp (test_dir_m17n.rb) fail on non-JapaneseWindows
- =begin
Thank you Oleg for the patch.
I just tested it, but still have a failure:
Before patch:
# Running tests:
[ 4/10] TestDir_M17N#test_filename_euc_jp = 0.08 s
1) Failure:
test_filename_euc_jp(TestDir_M17N) [C:/U... -
09:04 PM Bug #6765 (Closed): test_filename_utf8_raw_name and test_filename_euc_jp (test_dir_m17n.rb) fail on non-JapaneseWindows
- It looks like the problem is related to http://bugs.ruby-lang.org/issues/4799
The problem is that these test use "\u3042" as a file name to create and to test its name in ASCII-8BIT mode.
But it expects "\x82\x40" as a result, but this... -
08:34 PM Feature #5053: ruby コマンドと libruby の食い違いチェック
- テスト用にconfigureオプションを消していたのを忘れてました。
-
08:07 PM Feature #5053 (Feedback): ruby コマンドと libruby の食い違いチェック
- ちょっと前(r36277)に、Makefileにrunnableというターゲットを追加しました。
今のところLinuxとMac OS Xしか対応していませんが、--enable-load-relativeを指定しておくと./bin/rubyでビルドしたバイナリが実行できるはずです。
こういったものではまずいでしょうか。
一応、RUBY_REVISIONとconfig.hのチェックサムで一致しない場合にエラーになるようにするパッチも作ったは作ったので、置いておき... -
07:53 PM Feature #6669: A method like Hash#map but returns hash
- On 2012/07/21 18:12, matz (Yukihiro Matsumoto) wrote:
>
> Issue #6669 has been updated by matz (Yukihiro Matsumoto).
>
>
> Since Hash#reject, Hash#select does return a hash, I think it's OK for Hash#collect to return a hash.
... -
06:12 PM Feature #6669: A method like Hash#map but returns hash
- Since Hash#reject, Hash#select does return a hash, I think it's OK for Hash#collect to return a hash.
I believe Hash#map should return an array as before, just like find_all does.
Matz.
-
07:07 PM Revision 478d37da (git): Use 0 for webrick's port and get the actual port. [Bug #6766]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:03 PM Bug #6764 (Closed): IO#read(size, buf) causes can't set length of shared string in trunk (2.0.0dev)
- =begin
http://travis-ci.org/#!/nahi/httpclient/jobs/1842569
Error: test_post_with_custom_multipart_and_file(TestHTTPClient)
RuntimeError: can't set length of shared string
/home/vagrant/builds/nahi/httpclient/lib/httpclient... -
03:53 PM Feature #6762: Control interrupt timing
- > * Thread.control_interrupt
> * Thread.check_interrupt
Eek. Please don't use 'interrupt' word. It makes a lot of confusing to
Unix programmer.
>
> Rdoc documents are:
>
> call-seq:
> Thread.control_interr... -
07:53 AM Feature #6762: Control interrupt timing
- SASADA Koichi <ko1@atdot.net> wrote:
> I understand what you want.
>
> In my ticket, I proposed two things.
>
> (1) Introducing the concept to "interrupt control"
> (2) Introducing primitives to achieve (1)
>
> Ma... -
05:23 AM Feature #6762: Control interrupt timing
- (2012/07/21 4:48), Eric Wong wrote:
> "ko1 (Koichi Sasada)" <redmine@ruby-lang.org> wrote:
>> * Un-safe ensure clause: Generally, ensure clause should not interrupt
>> because it contains important tasks such as freeing resources.... -
04:11 AM Feature #6762 (Closed): Control interrupt timing
- =begin
= Abstract
Add asynchronous interrupt timing control feature. Control with the following three modes:
* immediate: process interrupt immediately
* never: never process interrupt
* on_blocking: delay interrupt until block... -
03:51 PM Revision e2f75afb (git): Set false to @proxy_from_env to suppress uninitialized warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:45 PM Revision bae2c78f (git): * 2012-07-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:45 PM Revision 07a6d0e9 (git): * lib/net/http.rb (Net::HTTP.newobj): return back for compatibility.
- * lib/net/http.rb (Net::HTTP.new): set default_port if proxy port is
not given.
* lib/net/http.rb (Net::HTTP#initialize): ditto.
* lib/net/http.rb (Net::HTTP#proxy?): return true or false.
* lib/net/http.rb (Net::HTTP#proxy_address)... -
03:43 PM Feature #6636: Enumerable#size
- How about adding Enumerator#receiver and define yourself with it.
diff --git a/enumerator.c b/enumerator.c
index f01ddd5..8e3ae9a 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -942,6 +942,32 @@ enumerator_inspect(VALUE obj)
}
... -
02:53 PM Feature #6694: Thread.new without block.
- > I don't think I understand your question. To summarize my objection to this proposed API change: Thread stack size should be something set at the VM level completely outside of Ruby code. Ruby code should not be coupled with implement...
-
06:51 AM Feature #6694: Thread.new without block.
- I will comment on stack sizing on the other issue.
As far as passing params and not starting the thread, it doesn't seem like a bad API. There are other thread characteristics that could be passed at construction time like abort_on_ex... -
01:27 AM Feature #6694: Thread.new without block.
- ko1 (Koichi Sasada) wrote:
> (2012/07/20 22:42), brixen (Brian Ford) wrote:
> ...
Thread#name doesn't require a new API for Thread.new. Thread#name makes sense as something that can be set any time.
The pthread_create() design ratio... -
02:12 PM Revision 36c45154 (git): thread_pthread.c: STACK_GROW_DIR_DETECTION
- * thread_pthread.c (ruby_init_stack): STACK_GROW_DIR_DETECTION is
necessary on platforms with unknown stack direction. [Bug #6761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 PM Feature #2643 (Closed): test/unit redefinition check of test_* method
- This issue was solved with changeset r36484.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit.rb: warn when test_* method is redefined.
Pat... -
08:54 AM Feature #6758: Object#sequence
- trans (Thomas Sawyer) wrote:
> Nice, but why Object method and not Kernel method?
Thank you.
If you mean Kernel public method, no difference.
If you mean Kernel private method that is, function style, I prefer having a receiver... -
01:07 AM Feature #6758: Object#sequence
- Nice, but why Object method and not Kernel method?
-
08:41 AM Bug #6759 (Closed): rdoc for Logger class (improve example)
- This issue was solved with changeset r36483.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/logger.rb: Updated example in Logger comment to match ot... -
08:29 AM Feature #6763: Introduce Flonum technique to speedup floating computation on th 64bit environment - Hi,
In message "Re: [ruby-core:46577] [ruby-trunk - Feature #6763][Open] Introduce Flonum technique to speedup floating computation on th 64bit environment"
on Sat, 21 Jul 2012 04:59:05 +0900, "ko1 (Koichi Sasada)" <redmine@r... -
04:59 AM Feature #6763 (Closed): Introduce Flonum technique to speedup floating computation on th 64bit environment
- =begin
= Abstract
Introducing Flonum technique, which is similar to Fixnum against Integer, to speedup floating number calculation on the 64bit CPU.
On our measurements, we can achieve x2 performance improvement for simple float... -
08:16 AM Feature #6482: Add URI requested to Net::HTTP request and response objects
- =begin
naruse (Yui NARUSE) wrote:
> drbrain (Eric Hodel) wrote:
> ...
I think I don't understand. My patch uses the host part of URI for initialize to set req['Host']. Also, if you set req['Host'] the URI is updated correctly. Which ... -
07:02 AM Feature #6695: Configuration for Thread/Fiber creation
- Stack size:
I will agree in part with Brian's statement about stack size being too implementation-dependent. It's also 32/64-bit dependent. On the JVM, it's also platform-dependent (Windows will have different stack layout than Linux)... -
02:59 AM Feature #6695: Configuration for Thread/Fiber creation
- (2012/07/21 1:23), brixen (Brian Ford) wrote:
> I object to this API for setting stack size from Ruby for at least the two following reasons:
>
> 1. Stack size is an implementation detail and coupling Ruby code to details of a pa... -
01:23 AM Feature #6695: Configuration for Thread/Fiber creation
- I object to this API for setting stack size from Ruby for at least the two following reasons:
1. Stack size is an implementation detail and coupling Ruby code to details of a particular implementation is undesirable. Applications may ... -
06:14 AM Revision d5a190c9 (git): * lib/test/unit/testcase.rb(method_added): refactoring.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:17 AM Revision 3b15805c (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:12 AM Revision 7773a911 (git): * lib/test/unit.rb: warn when test_* method is redefined.
- Patch by mame (Yusuke Endoh). [Feature #2643] [ruby-core:27790]
* test/testunit/test_redefinition.rb: Test for above.
* test/testunit/test4test_redefinition.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36484 b2dd03c8-3... -
01:54 AM Bug #6760: unexpected behavior in Enumerable method all? if collection is empty
- thx for your explanation now it's clear.
I think this bug can be closed
bunch of thanks, i don't thought about this problem from "Vacuous truth" side %-) -
01:23 AM Bug #6760 (Rejected): unexpected behavior in Enumerable method all? if collection is empty
- This is not a bug. This behavior is clear from the documentation, both in the form with and without a block:
"The method returns true if the block never returns false or nil."
"If the block is not given [...] will return true o... -
01:11 AM Bug #6760 (Rejected): unexpected behavior in Enumerable method all? if collection is empty
- if collection is empty all? always return true even if we call it with undefined method
for example
-> [].all?(&:undefined_mathod) #=> true
-> {}.all?(&:undefined_mathod) #=> true
etc.
my fix for it un ruby:
module ...
07/20/2012
-
11:53 PM Feature #6694: Thread.new without block.
- (2012/07/20 22:42), brixen (Brian Ford) wrote:
> I don't think I understand your question. To summarize my objection to this proposed API change: Thread stack size should be something set at the VM level completely outside of Ruby cod... -
10:42 PM Feature #6694: Thread.new without block.
- ko1 (Koichi Sasada) wrote:
> (2012/07/20 15:32), brixen (Brian Ford) wrote:
> ...
I don't think I understand your question. To summarize my objection to this proposed API change: Thread stack size should be something set at the VM leve... -
05:29 PM Feature #6694: Thread.new without block.
- Also, I'd like to let you know that pthread_create() comes with their design decisions as RATIONALE.
http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_create.html
Please read it. -
05:26 PM Feature #6694: Thread.new without block.
- ko1 (Koichi Sasada) wrote:
> (2012/07/20 15:46), shyouhei (Shyouhei Urabe) wrote:
> ...
So?
I'm not against adding a new thread constructor.
The problem is that new one do not start.
> But I prefer 1.
What happens when Thr... -
04:23 PM Feature #6694: Thread.new without block.
- (2012/07/20 15:46), shyouhei (Shyouhei Urabe) wrote:
> Forgot to mention to @_ko1 that both POSIX and Windows API starts threads immediately when they are created.
>
> It is not that obvious what should happen when a thread that ... -
03:59 PM Feature #6694: Thread.new without block.
- (2012/07/20 15:55), SASADA Koichi wrote:
> This ticket only propose thread configuration before thread creation.
Sorry, "configurable thread before running".
--
// SASADA Koichi at atdot dot net -
03:59 PM Feature #6694: Thread.new without block.
- (2012/07/20 15:32), brixen (Brian Ford) wrote:
>
> I object to this API for at least the two following reasons:
>
> 1. Stack size is an implementation detail and coupling Ruby code to details of a particular implementation is ... -
03:46 PM Feature #6694: Thread.new without block.
- Forgot to mention to @_ko1 that both POSIX and Windows API starts threads immediately when they are created.
It is not that obvious what should happen when a thread that was created is not running. For instance, to join that thread s... -
03:32 PM Feature #6694: Thread.new without block.
- I object to this API for at least the two following reasons:
1. Stack size is an implementation detail and coupling Ruby code to details of a particular implementation is undesirable. Applications may be developed on one implementatio... -
11:41 PM Revision c4827de9 (git): * lib/logger.rb: Updated example in Logger comment to match other
- examples and fixed a bug. Patch by Marcus Stollsteimer.
[Bug #6759]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 PM Bug #6759 (Closed): rdoc for Logger class (improve example)
- =begin
the patch improves the main example
* more consistent with the other examples (log -> logger)
* avoids syntax errors
=end
- 03:08 PM Revision e641eba9 (git): * 2012-07-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:08 PM Revision 6dea097e (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:38 PM Feature #6758 (Open): Object#sequence
- =begin
== Object#sequence
Let me propose a new method ((*Object#sequence*)).
次のような実装の((*Object#sequence*))を提案します。
class Object
def sequence(init=true, &blk)
x = self
Enumerator.new do |y|
... -
11:47 AM Feature #6757 (Closed): [PATCH] Add Process.getsid
- setsid(2) に相当する Process.setsid はありますが、getsid(2) に
相当する Process.getsid がありません。
Process.getsid を追加するパッチを添付します。 -
10:56 AM Feature #6546 (Closed): Net::HTTP to check for HTTP_PROXY environment setting.
- This issue was solved with changeset r36476.
Jacob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb: Net::HTTP now automatically detects and uses... -
10:47 AM Bug #6756 (Closed): FileUtils.rm_rf がアクセス権のない空ディレクトリを削除しない
- =begin
UNIX の rm コマンドは、(({rm -rf dir})) でアクセス権がない空ディレクトリを
削除しますが、(({FileUtils.rm_rf("dir")})) は削除してくれません。
$ mkdir -m 0 empty-noperm-dir
$ sudo ls -la empty-noperm-dir
合計 8
d--------- 2 fumiyas fumiyas 4096 7月 20 01:10 .
... -
09:40 AM Bug #6692 (Closed): TestSocket::test_udp_server always fails on OS X with Back to my Mac enabled
- This issue was solved with changeset r36475.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/socket/test_socket.rb: Ignore IPv6 unique local addresses... -
08:20 AM Revision 1abd3d4e (git): random.c: refine error message
- * random.c (rb_random_real): refine error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Feature #6492 (Closed): Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- Committed in r36473
-
07:43 AM Feature #6494 (Closed): Send Accept-Encoding for all HTTP requests
- This issue was solved with changeset r36473.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http/response.rb: Automatically inflate gzip and
def... -
07:27 AM Revision 1ea6c817 (git): remove garbage spaces
- * insns.def, parse.y: remove garbage spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:21 AM Bug #6753 (Rejected): Comparing Date::Infinity with Date/DateTime
- Date::Infinity was designed as a numeric class.
same as:
Float::INFINITY < Date.new
this undocumented class was provided only for internal use.
and now it is just for backward compatibility.
-
07:09 AM Bug #6753 (Assigned): Comparing Date::Infinity with Date/DateTime
-
07:09 AM Revision cfb55aca (git): test_array.rb: refine assertions
- * test/ruby/test_array.rb: refine assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Feature #6739: One-line rescue statement should support specifying an exception class - On Jul 19, 2012, at 3:45 AM, Quintus (Marvin Gülker) wrote:
> ~~~ruby
> ...
I like "when" and "then"
~~~ruby
File.read("myfile.txt") rescue when Errno::ENOENT then puts "No file there"
~~~ -
02:05 AM Revision daf16764 (git): * NEWS: Updated net/http for automatic proxy detection (#6546) and
- automatic gzip and deflate compression (#6492, #6494).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 AM Revision 9416becd (git): * lib/net/http.rb: Net::HTTP now automatically detects and uses
- proxies from the environment. A proxy may also be specified as
before.
Net::HTTP::Proxy still creates anonymous classes, but these classes
are only used to store configuration information. When an HTTP
instance is created the ... -
12:40 AM Revision f35b1d06 (git): * test/socket/test_socket.rb: Ignore IPv6 unique local addresses on OS
- X (iCloud Back to my Mac addresses) for test_udp_socket since they do
not act as loopback addresses. [Bug #6692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:32 AM Revision 3efea48a (git): * ext/socket/raddrinfo.c (addrinfo_ipv6_unique_local_p): Added
- Addrinfo#ipv6_unique_local? to detect RFC 4193 unique local
addresses. Part of #6692
* ext/socket/rubysocket.h: Add IN6_IS_ADDR_UNIQUE_LOCAL macro if
missing.
* test/socket/test_addrinfo.rb: Test for ipv6_unqiue_local?
git-svn-i...
07/19/2012
-
10:43 PM Revision b1a0509b (git): * lib/net/http/response.rb: Automatically inflate gzip and
- deflate-encoded response bodies. [Feature #6942]
* lib/net/http/generic_request.rb: Automatically accept gzip and
deflate content-encoding for requests. [Feature #6494]
* lib/net/http/request.rb: Updated documentation for #6494.
* ... - 06:43 PM Revision ef19dcf9 (git): * 2012-07-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:43 PM Revision 7e9c25d0 (git): * thread_pthread.c: use #ifdef, not #if.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:25 PM Bug #6753 (Rejected): Comparing Date::Infinity with Date/DateTime
- Depending on the order you use for comparing, this works or throws an error. A snippet from IRB
irb(main):001:0> require 'date'
=> true
irb(main):002:0> DateTime.now < Date::Infinity.new
=> true
irb(main):003:0> Date::Infinity.new... -
05:45 PM Feature #6739: One-line rescue statement should support specifying an exception class
- > A `rescue` clause (non-modifier) can be followed by arbitrary expressions which would return a class or a module, so the syntax in your proposal is unclear.
As said, I wasn’t happy with the syntax either, it was more about the actua... -
03:41 PM Bug #4971 (Closed): Module#class_variables
- This issue was solved with changeset r36466.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* variable.c (rb_mod_class_variables): return inherited variable... -
03:16 PM Feature #6546: Net::HTTP to check for HTTP_PROXY environment setting.
- OK, commit it.
-
02:19 PM Revision f4a8db64 (git): * thread.c (rb_thread_s_control_interrupt,
- rb_thread_s_check_interrupt): added for
Thread.control_intgerrupt and Thread.check_interrupt.
See details on rdoc.
I'll make an ticket for this feature.
* test/ruby/test_thread.rb: add a test for Thread.control_intgerrupt.
* thread... -
01:47 PM Revision 422e8d5a (git): * test/ruby/test_io.rb: remove temporally files early.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:21 PM Revision f0810814 (git): extmk.rb: hack for -framework
- * ext/extmk.rb (mf.macro): replace NULs with spaces also in exts.mk
which is used when dissable-shared. fix r36437.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:14 PM Revision ff331d14 (git): suppress fragile warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:42 AM Feature #6752 (Closed): Replacing ill-formed subsequencce
- =begin
== 概要
Stringになんらかの理由で不正なバイト列が含まれている時に、それを置換文字で置き換えたい。
== ユースケース
実際に確認されているユースケースは以下の通りです。
* twitterのtitle
* IRCのログ
* ニコニコ動画の API
* Webクローリング
これらの不正なバイト列の生成過程は、おそらく、バイト単位で文字列を切り詰めた時に末尾が切れて、
末尾がおかしい不正な文字列が作られます。(前二者)
これ... -
06:41 AM Revision 1f03c90d (git): * variable.c (rb_mod_class_variables): return inherited variables
- except when the optional argument is set to false.
[ruby-dev:44034] [Bug #4971]
* variable.c (rb_mod_constants): fix typo in documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:23 AM Feature #6724: waaaaaaant! (ISeq.load)
- On Wed, Jul 18, 2012 at 3:45 PM, Aaron Patterson
<tenderlove@ruby-lang.org> wrote:
>
> Glad we could get this working on windows! ;-)
>
:-)
>
> As a side note, maybe we should fix DEFAULT? Any ideas what's wrong on
> window... -
03:53 AM Feature #6724: waaaaaaant! (ISeq.load) - On Wed, Jul 18, 2012 at 09:13:45AM +0900, Luis Lavena wrote:
> On Tue, Jul 17, 2012 at 6:27 PM, Aaron Patterson
> <tenderlove@ruby-lang.org> wrote:
> >
> > class RubyVM
> > class InstructionSequence
> > address =... -
06:06 AM Revision 0e60c710 (git): test_eval.rb: adjust indent
- * test/ruby/test_eval.rb (test_instance_eval_{string,block}_basic):
adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:05 AM Revision f58feecd (git): test_eval.rb: use block
- * test/ruby/test_eval.rb (forall_TYPE): use block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:30 AM Revision c5617b35 (git): internal.h: move mark functions
- * internal.h: move mark function declarations that should be private.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:20 AM Revision 2574b80d (git): * ext/socket/init.c (rsock_init_sock): need to update max fd on all
- platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:15 AM Revision 5e7fa03b (git): thread.c: remove deprecated
- * thread.c (rb_gc_mark_threads): remove deprecated function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:29 AM Revision b72fc095 (git): * test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*):
- re-enable the tests because now it's OK on windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:27 AM Revision 8e66cbcc (git): * ext/socket/extconf.rb: now enable IPv6 by default on mswin.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:52 AM Feature #2565: adding hooks for better tracing
- I've attached a new patch that contains a sed script for converting the .d file to a .h file.
When a user tries to install Ruby, if they do not have dtrace, the sed script will convert the .d file to a dummy header file. The dummy he... -
01:50 AM Bug #6746: test_bind_to_local_host(TestNetHTTPLocalBind) fails.
- serverを::1にしてクライアントを::1以外にすると経路がないから通信できないんですが、
両方::1にすればいいだけの話でした。
ちょっとひっかかりはするんですが。 -
01:48 AM Bug #6746 (Closed): test_bind_to_local_host(TestNetHTTPLocalBind) fails.
- This issue was solved with changeset r36453.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
use localhost for both local and remote. [Bug #6746] -
01:43 AM Feature #5482: Rubinius as basis for Ruby 2.0
- mruby should be the basis of Ruby 3.0.
-
12:54 AM Feature #5341: Add SSL session reuse to Net::HTTP
- Eric, nahi and I discussed this a while ago and I think we all agreed finally? I remember I was OK with it :)
-
12:36 AM Revision 1ec93d92 (git): * ext/psych/emitter.c (initialize): allow a configuration object to be
- passed to the constructor so that mutation isn't required after
instantiation.
* ext/psych/lib/psych/handler.rb: add configuration object
* ext/psych/lib/psych/visitors/emitter.rb: use configuration object if
extra configuration is...