Project

General

Profile

Activity

From 07/03/2012 to 07/09/2012

07/09/2012

11:19 PM Feature #6710: new special binding specifier :isolated
=begin
I like this idea, but I have one question: why make this a special argument to `eval` and not to `Binding.new`? I've wanted `Binding` to become better specified and more refined for some time now, and I think this would be a good...
jballanc (Joshua Ballanco)
03:34 PM Feature #6710 (Rejected): new special binding specifier :isolated
=begin
= Abstract
New special binding specifier :isolated for the 2nd argument of eval() method.
eval(src, :isolated) evaluates `src' program on the same environment as `require' and 'load'.
It is a bit different from `TOPLEVEL_B...
ko1 (Koichi Sasada)
11:02 PM Feature #6265: Remove 'useless' 'concatenation' syntax
Changing target for 2.0 so that we add the deprecation warning.
A warning is good practice and should happen at the best moment: at parse time.
marcandre (Marc-Andre Lafortune)
10:59 PM Feature #6712: Introduce super! for calling old definition when reopening classes
@shyouhei, I think the behavior should be the same as the "prepend" behavior described by @marcandre.
def a
super! * 3
end
would be a short syntax for
prepend Module.new {
def a
super * 3
end
}
I'm not really worried about w...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:45 PM Feature #6712: Introduce super! for calling old definition when reopening classes
Hi,
> I'd prefer to have an official non-hacking way of achieving the same with just Ruby. Something simpler like:
> ...
The `alias_method_chain` pattern is now obsolete with `Module#prepend`:
module Triple
def a
super * 3...
marcandre (Marc-Andre Lafortune)
10:40 PM Feature #6712: Introduce super! for calling old definition when reopening classes
(1) I don't like the name
(2) It's not obvious what'd happen. What if A includes other module, which also define a method? alias_method_chain is clear about it because alias_method_chain is evaluated at the time of class loading. Your ...
shyouhei (Shyouhei Urabe)
10:23 PM Feature #6712 (Rejected): Introduce super! for calling old definition when reopening classes
ActiveSupport adds support for alias_method_chain which is a hack for being able to call the original method being overriden when reopening a class:
Extracted from documentation:
http://apidock.com/rails/ActiveSupport/CoreExtension...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:54 PM Feature #6693: Don't warn for unused variables starting with _
Hi,
regularfry (Alex Young) wrote:
> I don't know about anyone else, but I'm already using _foo as a pattern
> ...
I don't think that it would be confusing. We don't confuse variables with methods already, right?
Also, I feel t...
marcandre (Marc-Andre Lafortune)
05:40 PM Feature #6693 (Feedback): Don't warn for unused variables starting with _
Sorry, missed [ruby-core:46170].
Now I incline to revert the commit. Any idea?
nobu (Nobuyoshi Nakada)
05:23 PM Feature #6693: Don't warn for unused variables starting with _
> なかだです。
>
> At Mon, 9 Jul 2012 06:32:58 +0900,
> SASADA Koichi wrote in [ruby-dev:45925]:
>>
>> これって入れるって決まったんでしたっけ.
>
> いや、どうでもよさそうな話だったので適当に突っ込んでみました。

この話、反対意見があったと記憶してます。 [ruby-core:46170]
privateっぽいやつに _ つかって見分...
kosaki (Motohiro KOSAKI)
04:29 PM Feature #6693: Don't warn for unused variables starting with _
なかだです。

At Mon, 9 Jul 2012 06:32:58 +0900,
SASADA Koichi wrote in [ruby-dev:45925]:
>
> これって入れるって決まったんでしたっけ.

いや、どうでもよさそうな話だったので適当に突っ込んでみました。

--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦
nobu (Nobuyoshi Nakada)
06:53 AM Feature #6693: Don't warn for unused variables starting with _
これって入れるって決まったんでしたっけ.


(2012/07/08 7:42), nobu wrote:
> nobu 2012-07-08 07:36:25 +0900 (Sun, 08 Jul 2012)
>
> New Revision: 36337
>
> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36337
>
> L...
ko1 (Koichi Sasada)
10:26 PM Feature #6711: Optional typing and method overloading
Actually the precedence should be:
1 - max number of matched argument types
2 - max number of better matched argument types # Float is a better match for 1.2 than Numeric
3 - max number of consecutive matched argument types
rosenfeld (Rodrigo Rosenfeld Rosas)
10:15 PM Feature #6711 (Rejected): Optional typing and method overloading
Today I woke up with some ideas to overcome some of the features I miss in Ruby. I've searched for similar issues and I found this #5583, which was rejected.
But my idea is a bit different and also concerns about method overloading. S...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:41 PM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
erikh (Erik Hollensbe) wrote:
> I've attached a new patch -- this implements the same functionality but refers to it as `all_values` and reverts the old changes to `values_at`. This is fundamentally the same functionality as `values_at`...
naruse (Yui NARUSE)
11:50 AM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
Hi folks, can I get some feedback on this patch before feature freeze? Thanks. erikh (Erik Hollensbe)
03:53 PM Revision 428a5a9c (git): * include/ruby/ruby.h: Removed RUBY_GLOBAL_SETUP complely. It is
no meaning definition since r24894.
* main.c: ditto.
* nacl/pepper_main.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:52 PM Revision fe0b5d49 (git): * 2012-07-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:52 PM Revision 3e1d8aab (git): * dln.c: Simplify and make consistent an ifdef for Mac OS X.
* ext/socket/rubysocket.h: ditto.
* ext/tk/stubs.c: ditto.
* io.c: ditto.
* process.c: ditto.
* signal.c: ditto.
* vm_dump.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:31 PM Feature #6697 (Feedback): [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
String(obj) calls obj.to_str first, then calls obj.to_s.
So they are different.
Integer("foo") raises ArgumentError, but "foo".to_i returns 0.
Array("foo") returns ["foo"], but "foo".to_a raises NoMethodError on 1.9.
Hash(nil) retu...
naruse (Yui NARUSE)
01:26 PM Feature #6620: Add ' to CGI's HTML escaping
' is a valid entity for both XHML (http://www.w3.org/TR/xhtml1/dtds.html) and HTML5 (http://www.w3.org/TR/2011/WD-html5-20110525/syntax.html#attributes-0), and is supported by all mainstream browsers. It is a potential security risk... moxley (Moxley Stratton)
01:12 PM Revision f40412e2 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:04 AM Bug #6708 (Closed): Remove useless parameter
https://github.com/ruby/ruby/pull/143 oscardelben (Oscar Del Ben)
08:38 AM Revision 2e5dcb53 (git): * win32/win32.c (win95_stat): remove unnecessary macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:33 AM Revision 284d912e (git): * include/ruby/win32.h: sorry, mistaken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:25 AM Revision 9d271169 (git): * win32/configure.bat, win32/setup.mak, win32/Makefile.sub: omit Win9x
support. remove --enable/disable-win95 option.
* include/ruby/win32.h, file.c, win32/win32.c: ditto.
* win32/README.win32: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:57 AM Feature #6682: Add a method to return an instance attached by a singleton class
I opened a pull request for this feature: https://github.com/ruby/ruby/pull/142 ryoqun (Ryo Onodera)
04:35 AM Revision 9a8a2fd2 (git): ext/zlib/zlib.c: initialize return value
* ext/zlib/zlib.c (zstream_run_func): initialize the return value,
interrupt flag may set before starting loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:35 AM Revision 66f4c3f1 (git): suppress warnings on mingw32
* atomic.h (ATOMIC_SIZE_): cast to suppress warnings on mingw32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:28 AM Revision 349ea593 (git): * 2012-07-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:28 AM Revision 37c8b685 (git): mkmf.rb: add TARGET_NAME
* configure.in (DLDFLAGS): use TARGET_ENTRY to specify an entry point
instead of TARGET which may contain non-identifer characters.
* lib/mkmf.rb (create_makefile): add TARGET_NAME which is the first
part consists of only word charac...
nobu (Nobuyoshi Nakada)
01:40 AM Feature #6707 (Rejected): Remove checks for Ruby 1.9 in trunk
We don't need those checks anymore.
https://github.com/ruby/ruby/pull/141
oscardelben (Oscar Del Ben)

07/08/2012

11:45 PM Feature #4151: Enumerable#categorize
After a nap I awoke realizing the exact same thing. Which leads me to think likewise, we need such a method --a new "each_with_object" method with very concise name and an the initial object defaulting to {}. Probably also with the block... trans (Thomas Sawyer)
10:56 PM Feature #4151: Enumerable#categorize
trans (Thomas Sawyer) wrote:
> I have given this subject matter considerable thought, and I believe the best definition is as follows:
> ...
That's Enumerable#each_with_object with
arguments reversed and a default {} for obj:
[...
Eregon (Benoit Daloze)
09:28 PM Feature #4151: Enumerable#categorize
One further point... whether #categorize is still the best name for this given the definition seems a reasonable question. An alternative might be #hinge, in the sense that it hangs consecutive elements on to a hash. trans (Thomas Sawyer)
09:18 PM Feature #4151: Enumerable#categorize
=begin
I have given this subject matter considerable thought, and I believe the best definition is as follows:
# Apply each element of an enumerable to a hash
# by iterating over each element and yielding
# the hash and element.
...
trans (Thomas Sawyer)
05:16 PM Feature #6684: Object#do
sorah (Shota Fukumori) wrote:
> No problem to reject?
no problem. thank you.
merborne (kyo endo)
09:47 AM Feature #6684 (Rejected): Object#do
No problem to reject? sorah (Sorah Fukumori)
08:14 AM Bug #6706 (Closed): Improve documentation for Continuation
Add links to Kernel#callcc for cross reference.
Improve formatting.
oscardelben (Oscar Del Ben)
07:36 AM Feature #6693 (Closed): Don't warn for unused variables starting with _
This issue was solved with changeset r36337.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
[Feature #6693]
* parse.y (shadowing_lvar_gen, warn_unused...
nobu (Nobuyoshi Nakada)
07:17 AM Bug #6704: Random core dump
You mean the Python stuff? I noticed that too, if I were to guess it has to do with Pygments, but maybe not given what the dump says.
Probably should make clear that this is coming from Smeagol app I am working on which is a fairly th...
trans (Thomas Sawyer)
06:53 AM Bug #6704: Random core dump
The most important part, stack trace, is lost, but seems there are unusual extension libraries? nobu (Nobuyoshi Nakada)
03:01 AM Bug #6704: Random core dump
This one got mangled. Please remove. trans (Thomas Sawyer)
02:59 AM Bug #6704 (Rejected): Random core dump
=begin
I keep getting this core dump, but it seems completely random. Here is as much of the dump as I could copy:
513 /home/rubyworks/Projects/rubyworks/smeagol/lib/smeagol.rb
514 /home/trans/.local/lib/ry/rubies/1.9.3-p194/lib...
trans (Thomas Sawyer)
05:06 AM Feature #5543: rb_thread_blocking_region() API is poorly designed
OK, then use 'void *' like rb_thread_call_with_gvl(). larskanis1 (Lars Kanis)
03:00 AM Bug #6705 (Closed): Random core dump
=begin
I keep getting this core dump, but it seems completely random. Here is as much of the dump as I could copy:
513 /home/rubyworks/Projects/rubyworks/smeagol/lib/smeagol.rb
514 /home/trans/.local/lib/ry/rubies/1.9.3-p194/lib...
trans (Thomas Sawyer)

07/07/2012

10:36 PM Revision fbacb71b (git): [Feature #6693]
* parse.y (shadowing_lvar_gen, warn_unused_var): no warnings for
variables starting with _. [ruby-core:46160][Feature #6693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:38 PM Revision cf06ed4f (git): suppress warning
* lib/test/unit.rb (terminal_width): suppress uninitialized instance
variable warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:36 PM Revision 191f4734 (git): * 2012-07-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:36 PM Revision 6e469999 (git): test/ruby/test_rubyoptions.rb: tests for another name
* test/ruby/test_rubyoptions.rb (test_{unused,shadowing_variable):
tests for another name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:28 PM Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
You could make the same argument against String. Why would you use that over `#to_s`? I can't think of any use cases for that :)
To me, it's really about API consistency. I don't believe you would actually use it frequently, but inclu...
madeofcode (Mark Dodwell)
01:18 PM Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
I can't think any use cases of Kernel.#Symbol, could you tell me the use case?
(Why Kernel.#Symbol makes sense?)
sorah (Sorah Fukumori)
02:14 PM Revision 5f7cbbfb (git): * 2012-07-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:14 PM Revision 331352e6 (git): * test/csv/test_features.rb: add require for Tempfile.
* test/csv/test_serialization.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)

07/06/2012

08:06 PM Bug #4487: require_relative fails in an eval'ed file
naruse (Yui NARUSE) wrote:
> Eregon (Benoit Daloze) wrote:
> ...
I see, you're right.
Indeed, with this in mind I think it's not worth changing, and the actual require_relative behavior is clearer (relative to "this file" directory, i...
Eregon (Benoit Daloze)
07:21 PM Bug #4487: require_relative fails in an eval'ed file
shyouhei (Shyouhei Urabe) wrote:
> naruse (Yui NARUSE) wrote:
> ...
* irb is not the only user of eval.
* A user won't always use require_relative intentionally.
* There is a suitable another way: require './myfile'
With those rea...
naruse (Yui NARUSE)
07:08 PM Bug #4487: require_relative fails in an eval'ed file
naruse (Yui NARUSE) wrote:
> require_relative is introduced to avoid accidentally require a malicious file on the current working directory.
> ...
I'm not pretty sure about this. Is there a chance for a (proposed behaviour of) require...
shyouhei (Shyouhei Urabe)
06:59 PM Bug #4487: require_relative fails in an eval'ed file
Eregon (Benoit Daloze) wrote:
> shyouhei (Shyouhei Urabe) wrote:
> ...
require_relative is introduced to avoid accidentally require a malicious file on the current working directory.
So it can't be acceptable.
Use require or load on ...
naruse (Yui NARUSE)
06:13 PM Bug #4487: require_relative fails in an eval'ed file
shyouhei (Shyouhei Urabe) wrote:
> Current require_relative loads relative from where the require_relative command is written. So when in IRB sessions, it fails to infer where it is beacuse the command is written in a non-file (console...
Eregon (Benoit Daloze)
05:52 PM Bug #4487: require_relative fails in an eval'ed file
=begin
@LTe I'd rather ask you "require_relative loads something relative from WHAT?"
Obviously it is not relative from your mind :)
Current require_relative loads relative from where the require_relative command is written. So w...
shyouhei (Shyouhei Urabe)
04:04 PM Bug #4487: require_relative fails in an eval'ed file
@shyouhei yes I agree but load method tries to load file from relative path. When load method can't find file in relative path it loads from $LOAD_PATH. The same can be done by require_relative (recognize path).
https://github.com/rub...
LTe (Piotr Niełacny)
06:53 PM Feature #3346: __DIR__ revisted
I was against the name __DIR__ for years,
but now I'm for __dir__ if __file__ and __line__ method is also added.
naruse (Yui NARUSE)
05:53 PM Bug #6699: rb_barrier_wait() gets blocked when running within a Thread.new { }
Thanks for the clarification. ibc (Iñaki Baz Castillo)
05:28 PM Bug #6692: TestSocket::test_udp_server always fails on OS X with Back to my Mac enabled
I notice the existence of this issue for year but can't understand how to reproduce and fix.
Now your info, enabling iCloud, reproduces this, thanks!
But I still cannot understand the reason why ruby can't communicate with the addres...
naruse (Yui NARUSE)
04:58 PM Bug #6696: [PATCH] ERB::Util.url_encode should not escape unreserved characters
This can change but need not, so up to seki, the maintainer.
やってもやらなくてもいい変更だと思っているので、関さんにお任せします。
naruse (Yui NARUSE)
04:32 PM Bug #6696: [PATCH] ERB::Util.url_encode should not escape unreserved characters
The tilde was added to the unreserved characters in URIs in RFC 2396. It is specifically mentioned in http://tools.ietf.org/html/rfc2396#appendix-G.2:
The tilde "~" character was added to those in the "unreserved" set,
since it...
duerst (Martin Dürst)
04:08 PM Feature #6503: Support for the NPN extension to TLS/SSL
duerst (Martin Dürst) wrote:
> Just a small detail: That should be IETF politics, I guess. But I'm also
> ...
Just out of curiosity - because IETF is in charge of the TLS extension registry?
That's what I think I understood from [1...
MartinBosslet (Martin Bosslet)
04:03 PM Feature #6503: Support for the NPN extension to TLS/SSL
> On 2012/07/06 3:23, igrigorik (Ilya Grigorik) wrote:
> ...
No problem :)
> @Martin: I don't follow the IANA politics,
> ...
Yes, and to be honest, I'm also in favor of the technology, just wanted to make sure that it's stable enou...
MartinBosslet (Martin Bosslet)
03:53 PM Feature #6503: Support for the NPN extension to TLS/SSL
On 2012/07/06 3:23, igrigorik (Ilya Grigorik) wrote:
>
> Issue #6503 has been updated by igrigorik (Ilya Grigorik).
>
>
> Hey guys, apologies about the wait.
>
> @Martin: I don't follow the IANA politics,

Just a small...
duerst (Martin Dürst)
03:23 AM Feature #6503: Support for the NPN extension to TLS/SSL
Hey guys, apologies about the wait.
@Martin: I don't follow the IANA politics, but for what its worth, I would consider it stable at this point. The support is there in OpenSSL, we have 50% of the browser market share using it to nego...
igrigorik (Ilya Grigorik)
12:10 PM Bug #6702: Date should be either required or not
drbrain (Eric Hodel) wrote:
> (As a trade-off, Date and DateTime give you a much larger range than a Time.)
"Date and DateTime *had given* ..."
In 1.9 or later, Time has arbitrary range and precision.
nobu (Nobuyoshi Nakada)
07:35 AM Bug #6702 (Closed): Date should be either required or not
The pull request was rejected due to its implementation. For compatibility with old gems a Date class must be defined. I decided to switch to require 'date' since rubygems/specification.rb is lazily loaded now and the cost of loading it... drbrain (Eric Hodel)
06:06 AM Bug #6702: Date should be either required or not
By the way, I forgot to say that that pull request was rejected. Please take a look at the link above for the reasoning behind it. rosenfeld (Rodrigo Rosenfeld Rosas)
06:05 AM Bug #6702: Date should be either required or not
Is Date that slow to require when compared to Time? Wouldn't it be possible to make it faster to load by lazy loading some parts and include it by default instead of having to require it manually?
That would certainly make programmers...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:25 AM Bug #6702: Date should be either required or not
By the way, what is the reason for Time being included by default but not Date? rosenfeld (Rodrigo Rosenfeld Rosas)
12:24 AM Bug #6702: Date should be either required or not
I've sent a pull request: https://github.com/rubygems/rubygems/pull/351 rosenfeld (Rodrigo Rosenfeld Rosas)
12:09 AM Bug #6702 (Assigned): Date should be either required or not
Hello,
This is caused by rubygems/specification:
$ ruby -rrubygems/specification -e 'p Date; Date.today'
Date
-e:1:in `<main>': undefined method `today' for Date:Class (NoMethodError)
See: https://github.com/rubygems/rub...
mame (Yusuke Endoh)
06:54 AM Bug #6680: Unclear rdoc for Array and String slicing
I incorporated the ideas of your two patches which seem to help clarify things. Let me know if this latest patch needs further adjustment. drbrain (Eric Hodel)
06:50 AM Bug #6680 (Closed): Unclear rdoc for Array and String slicing
This issue was solved with changeset r36328.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_aref): Added a description of the behavior o...
drbrain (Eric Hodel)
05:42 AM Bug #6680 (Assigned): Unclear rdoc for Array and String slicing
drbrain (Eric Hodel)
06:27 AM Bug #6703 (Rejected): openssl: using a newly registered extension
When registering a new ASN.1 extension OBJ_create(), it should make it available for OBJ_ln2nid() and OBJ_sn2nid() searches that are performed in OpenSSL::X509::ExtensionFactory.create_ext
I've attached a ruby case where this should wor...
vbatts (Vincent Batts)
04:49 AM Feature #6617: Net::HTTP: Bind to a specific local IP/port
=begin
You need to initialize instance variables to prevent warnings on uninitialized access:
$ ruby -we 'p @x'
-e:1: warning: instance variable @x not initialized
nil
=end
drbrain (Eric Hodel)
03:47 AM Feature #6612: Add streaming inflate and deflate to Zlib
It looks like using ruby_xrealloc() will solve this, correct? drbrain (Eric Hodel)
03:46 AM Revision 8a995a56 (git): thread.c: unsigned
* thread.c (rb_thread_shield_waiting_{inc,dec}): should be unsigned.
int is large enough since ruby requires it to be 32bit at least.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:27 AM Revision 1474cfa8 (git): obsolete Config
* lib/rbconfig/obsolete.rb (Config): remove obsolete Config.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:24 AM Revision a2d0ee62 (git): ThreadShield: check waiting count
* thread.c (rb_thread_shield_waiting_{inc,dec}): check waiting count.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

07/05/2012

11:27 PM Bug #6702 (Rejected): Date should be either required or not
Today I was trying to do some experiment with IRB: "Date.today" threw a NoMethodError.
But Date was defined: "defined? Date" == "constant".
If I explicitly required for "date" it worked, but this is pretty much weird. It would be b...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:50 PM Revision cd0971e2 (git): * array.c (rb_ary_aref): Added a description of the behavior of
index positioning. [Bug #6680]
* array.c (rb_ary_aset): ditto. Reordered sentences for clarity.
* string.c (rb_str_aref_m): Added a description of the behavior of
index positioning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
drbrain (Eric Hodel)
09:35 PM Bug #6696 (Assigned): [PATCH] ERB::Util.url_encode should not escape unreserved characters
naruse (Yui NARUSE)
09:23 PM Bug #6701 (Assigned): once literal doesn't care escape
遠藤です。
2012年7月5日 19:02 ko1 (Koichi Sasada) <redmine@ruby-lang.org>:
> しかし,expr 中で例外などで大域脱出が発生し,再度評価しようとすると,まだ expr は実行中であると認識されるため,ブロックします.
この問題は認識してましたが、以下の通りサボってました。
http://bugs.ruby-lang.org/issues/2398
> ...
賛成です。直してくださ...
mame (Yusuke Endoh)
07:01 PM Bug #6701 (Closed): once literal doesn't care escape
# 概要
`/#{expr}/o` は,`expr` はたかだか一回しか実行されない,後から評価したときは `expr` の評価値(を用いた正規表現)が返されるという意味になります.しかし,`expr` 中で例外などで大域脱出が発生し,再度評価しようとすると,まだ `expr` は実行中であると認識されるため,ブロックします.
# 現象
次のようなコードが止まりません.
~~~ruby
2.times{
catch(:escape...
ko1 (Koichi Sasada)
08:59 PM Feature #5741: Secure Erasure of Passwords
Hi Ken,
I guess it largely depends on how things will go with #6361.
But if you are interested in the feature, we are beginning to work on
something that covers both the aspects of this issue and that of #6361.
You may want to k...
MartinBosslet (Martin Bosslet)
08:39 PM Revision 9360721e (git): * string.c (rb_str_bytesize): Improve documentation. Patch by Oscar
Del Ben from github issue #138.
* string.c (rb_str_empty): ditto.
* string.c (rb_str_times): ditto.
* string.c (rb_str_dump): ditto.
* string.c (rb_str_center): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36327 b2dd03c...
drbrain (Eric Hodel)
07:06 PM Revision 6b5a88a3 (git): * 2012-07-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:06 PM Revision 7182c000 (git): * ext/zlib/zlib.c (zstream_expand_buffer_without_gvl): Use
ruby_xrealloc() to avoid crash with CALC_EXACT_MALLOC_SIZE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:26 PM Bug #4487: require_relative fails in an eval'ed file
=begin
@LTe sorry, I can't get it. load loads from $LOAD_PATH, while require_relative requires from relative path. They are different.
=end
shyouhei (Shyouhei Urabe)
05:07 PM Bug #4487: require_relative fails in an eval'ed file
=begin
If in irb we can execute
(({load("file.rb")}))
why we can't
(({require_relative("file")}))
Ruby just return exception (LoadError: cannot infer basepath). Unfortunately, this is a 'lie' because ruby can recognize basep...
LTe (Piotr Niełacny)
04:09 PM Bug #6698 (Rejected): MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
imkira (Mario Freitas) wrote:
> MacOSXでは、「だ」など濁点が含まれているファイル名をDir.globで調べると返ってくるencodingが間違っているようです。
> ...
正しい動きです。
Ruby 1.9 当初はまさに imkira さんの期待なさっている通り UTF8-MAC で返していたのですが、
それだと今回の濁点やアクセント記号を含んでいない場合に UTF-8 と異なるせいで色々不便なので、
r23308 ...
naruse (Yui NARUSE)
03:44 PM Bug #6698: MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
patch 更新しました sorah (Sorah Fukumori)
12:38 PM Bug #6698: MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
OS X じゃないMacはもうサポートしてないしサポートを復活させるのも技術難易度的に不可能だと思うので
#if defined(__APPLE__) && ( defined(__MACH__) || defined(__DARWIN__) )
は __APPLE__ だけでいいと思います。いま grepした感じだと現在のリポジトリで7割ぐらいは__APPLE__だけ、残り3割が__MACH__とのAND条件、process.c に1つだけ旧Macの考慮が...
kosaki (Motohiro KOSAKI)
10:10 AM Bug #6698: MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
=begin
(({NO_LOCALE_CHARMAP}))は(({miniruby}))用に必須なので、その外に条件を追加するのはダメです。
=end
nobu (Nobuyoshi Nakada)
02:42 PM Revision e57bc077 (git): never evaluated
* test/ruby/test_basicinstructions.rb (test_regexp): fix never
evaluated assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:19 PM Feature #6617: Net::HTTP: Bind to a specific local IP/port
@naruse: tests attached! It seems that local_host cannot be nil when setting local_port in TCPSocket.open.
@madeofcode: I also do not know, just followed the pattern. jballanc may have a point, but i can't see why there would be #defi...
mksm (Ricardo Amorim)
12:05 AM Feature #6617: Net::HTTP: Bind to a specific local IP/port
=begin
Not sure, but it may be related to this:
>> defined?(@foo)
=> nil
>> @foo = nil
=> nil
>> defined?(@foo)
=> "instance-variable"
=end
jballanc (Joshua Ballanco)
02:10 PM Revision 0f020f7c (git): * thread.c: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:47 PM Bug #6699: rb_barrier_wait() gets blocked when running within a Thread.new { }
Please don't use rb_barrier_wait(). It doesn't have barrier semantics. Moreover, It is not a public API. We might remove it in future release.
kosaki (Motohiro KOSAKI)
12:32 PM Bug #6700: [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
Thanks for pointing it out. I merged your patch and added a test. knu (Akinori MUSHA)
12:31 PM Bug #6700 (Closed): [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
This issue was solved with changeset r36316.
Mark, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http/responses.rb: Fix 4xx classes to inherit correctly...
knu (Akinori MUSHA)
12:05 PM Bug #6700 (Assigned): [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
knu (Akinori MUSHA)
06:49 AM Bug #6700: [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
s/disable/desirable/ madeofcode (Mark Dodwell)
06:48 AM Bug #6700 (Closed): [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
These recently added 4xx status classes were inheriting from Net::HTTPSuccess, which seems incorrect.
I believe they should inherit from Net::HTTPClientError, as with all the other 4xx cases.
Note that this change subtly alters/fix...
madeofcode (Mark Dodwell)
12:03 PM Feature #4633 (Rejected): iterate method / extended version of for

Dear Jan,
Sorry that I didn't reply to you sooner.
Thank you for the precious proposal,
but I reject this proposal from the following points.
1. This proposal becomes the change to Kernel, and
adding the general name of ...
tarui (Masaya Tarui)
08:32 AM Revision 85bb412e (git): ThreadShield
* internal.h: move ThreadShield declarations from intern.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:18 AM Revision 5425128e (git): bootstraptest: fix missing bs
* bootstraptest/runner.rb (show_progress): fix missing bs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:00 AM Revision 51f458d4 (git): ThreadShield
* thread.c (ThreadShield): rename from Barrier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:15 AM Revision 6b801ac9 (git): bootstraptest: refine error output
* bootstraptest/runner.rb (show_progress): refine error output. do not
count non-empty error message, but just warn.
* bootstraptest/runner.rb (error): show errors immediately if tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
03:59 AM Feature #5206: ruby -K should warn
(2012/07/05 1:02), naruse (Yui NARUSE) wrote:
> Or get permission from matz to add the new option.

How about it, matz?

I think it is considerable feature with [ruby-core:46021] (*1),

(*1) [ruby-core:46021] [ruby-trunk -...
ko1 (Koichi Sasada)
01:02 AM Feature #5206: ruby -K should warn
ko1 (Koichi Sasada) wrote:
> (2012/07/04 22:42), naruse (Yui NARUSE) wrote:
> ...
Or get permission from matz to add the new option.
naruse (Yui NARUSE)
01:01 AM Feature #5206 (Assigned): ruby -K should warn
naruse (Yui NARUSE)
01:01 AM Feature #5206 (Closed): ruby -K should warn
This issue was solved with changeset r36310.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ruby.c (proc_options): warn only if -K and -w option is specifi...
naruse (Yui NARUSE)
12:23 AM Feature #5206: ruby -K should warn
(2012/07/04 22:42), naruse (Yui NARUSE) wrote:
> If ALLOW_DEFAULT_SOURCE_ENCODING macro is enabled, you can use --source-encoding option.

Do you mean that I should use modified ruby package instead of using
prepared package suc...
ko1 (Koichi Sasada)
03:33 AM Revision fecdcc51 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:31 AM Revision 1b51476c (git): * test/net/http/test_httpresponses.rb: Add a test file for
Net::HTTPResponses and put a test case for the previous bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:31 AM Revision cc623808 (git): * lib/net/http/responses.rb: Fix 4xx classes to inherit correctly
from Net::HTTPClientError. [Bug #6700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:31 AM Revision be53f329 (git): Fix 4xx classes to inherit correctly from Net::HTTPClientError
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
02:04 AM Revision d5db3754 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:53 AM Revision 0de9b0fe (git): NEWS
* NEWS: about __callee__ and Module#prepend.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:41 AM Revision bc4cda44 (git): desc r36301
* ChangeLog: add description for r36301.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

07/04/2012

11:53 PM Bug #6698: MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
仮に不具合として、OS X 環境では UTF8-MAC にするパッチを添付します。
imkira (Mario Freitas) wrote:
> このredmineのバージョンではMoreというリンクが存在しないので編集しませんでしたT_T
more は適切な権限がないと見えないみたいですね。
sorah (Sorah Fukumori)
11:22 PM Bug #6698: MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
ありがとうございました。
こちらの良く使うredmineのバージョンでは、Updateリンクを推してMoreというリンクが出てそこで編集できます。
このredmineのバージョンではMoreというリンクが存在しないので編集しませんでしたT_T
imkira (Mario Freitas)
08:48 PM Bug #6698: MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
imkira (Mario Freitas) wrote:
> redmineのcode blockを使ってみましたが、表示おかしくなりましたT_T
直しておきました。RD のフォーマットを有効にするには =begin, =end で囲う必要があります (RDボタンを押すとそれで全体が囲われるはずです)
sorah (Sorah Fukumori)
07:43 PM Bug #6698: MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
redmineのcode blockを使ってみましたが、表示おかしくなりましたT_T imkira (Mario Freitas)
07:41 PM Bug #6698 (Rejected): MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている
=begin
MacOSXでは、「だ」など濁点が含まれているファイル名をDir.globで調べると返ってくるencodingが間違っているようです。
Dir.glob('*.{jpg,png}') do |filename|
puts "#{filename} #{filename.encoding}"
end
「だ」というファイル名はUTF-8というencodingを使った"\u305F\u3099"と返ってきます。
表示的に"\u30...
imkira (Mario Freitas)
11:51 PM Bug #6680: Unclear rdoc for Array and String slicing
Hi Eric,
there is a typo in the new examples, see new patch:
in the "special cases", a[6] (which is already given as example a couple
of lines above) should be a[6, 1], to show the difference between
a[a.size, length], which is a...
stomar (Marcus Stollsteimer)
09:38 PM Bug #6680: Unclear rdoc for Array and String slicing
Hi Eric,
thank you, there are definitely some improvements here.
But: in my opinion the documentation is still unsatisfactory.
Having the examples surely helps in making clear that the
behavior is desired, but there is still no e...
stomar (Marcus Stollsteimer)
08:35 AM Bug #6680: Unclear rdoc for Array and String slicing
I chose to indicate that the start offset is an index instead of your text, but I kept your examples since the behavior isn't documented. drbrain (Eric Hodel)
08:29 AM Bug #6680 (Closed): Unclear rdoc for Array and String slicing
This issue was solved with changeset r36298.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_aref): Updated documentation to indicate the...
drbrain (Eric Hodel)
10:42 PM Feature #5206: ruby -K should warn
ko1 (Koichi Sasada) wrote:
> (2012/07/03 14:46), usa (Usaku NAKAMURA) wrote:
> ...
If ALLOW_DEFAULT_SOURCE_ENCODING macro is enabled, you can use --source-encoding option.
naruse (Yui NARUSE)
09:43 PM Feature #6684: Object#do
knu (Akinori MUSHA) wrote:
> You can use `tap` for now, like `result = object.tap { |o| break f(o) }`.
great alternative!
I'm satisfied with this. Thank you.
merborne (kyo endo)
09:33 PM Feature #6684: Object#do
nobu (Nobuyoshi Nakada) wrote:
> `something.do do end` seems messy a little.
Yes. `something.do do end` is messy. I'm happy if `something.do end` works.. I agree the name is not good.
merborne (kyo endo)
04:32 PM Feature #6684: Object#do
I'm afraid `do` might be a bit too bold choice for a Kernel method. (DBI has a `do` method for example)
You can use `tap` for now, like `result = object.tap { |o| break f(o) }`.
Speaking of which, I've always felt that it would be ...
knu (Akinori MUSHA)
04:17 PM Feature #6684: Object#do
`something.do do end` seems messy a little.
`something.do do end`というのはどうにも…。
nobu (Nobuyoshi Nakada)
09:09 PM Feature #6687: Enumerable#with
knu (Akinori MUSHA) wrote:
> I doubt it. Enumerable is often just one probably minor aspect of an including class, and even when used with an array or hash it is not obvious from the name with or with_object that it would iterate over t...
merborne (kyo endo)
02:50 PM Feature #6687: Enumerable#with
> Also, a word `each` in `each_with_object` is not essential, then omittable in view of the fact that it is called to Enumerable object.
I doubt it. Enumerable is often just one probably minor aspect of an including class, and even w...
knu (Akinori MUSHA)
08:53 PM Bug #6696 (Feedback): [PATCH] ERB::Util.url_encode should not escape unreserved characters
FYI, the old discussion is at https://github.com/ruby/ruby/pull/54
I see the patch itself is OK. The question is to be or not to be able to escape tilde.
shyouhei (Shyouhei Urabe)
06:26 PM Bug #6696: [PATCH] ERB::Util.url_encode should not escape unreserved characters
Sorry, somehow this ticket subject line got truncated. Newline paste fail. madeofcode (Mark Dodwell)
05:03 PM Bug #6696 (Closed): [PATCH] ERB::Util.url_encode should not escape unreserved characters
ERB::Util.url_encode is escaping tilde (~) where it should not according to the RFC.
This fixes that behaviour so that it now correctly avoids escaping all unreserved characters as per RFC 3986, Section 2.3:
http://tools.ietf.org/htm...
madeofcode (Mark Dodwell)
07:52 PM Bug #6699 (Closed): rb_barrier_wait() gets blocked when running within a Thread.new { }
In my Ruby C extension I use rb_barrier_wait(MY_BARRIER) in a method. It works perfectly but I've realized of a case in which it gets
blocked:
Thread.new do
MyExten.my_method
end
In this case the C function rb_barrier_wait(MY_...
ibc (Iñaki Baz Castillo)
07:23 PM Bug #6650: Fixing win32ole test errors
On Sat, Jun 30, 2012 at 11:24:03PM +0900, luislavena (Luis Lavena) wrote:
>
> Can you confirm tests pass after applying Hiroshi's patch?
>

Sorry for being too late to reply.
I confirmed Hiroshi's patch works fine.

B...
suke (Masaki Suketa)
07:17 PM Bug #6650 (Closed): Fixing win32ole test errors
This issue was solved with changeset r36306.
Boško, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/win32ole/test_win32ole.rb (test_s_codepage_changed):
Fi...
suke (Masaki Suketa)
01:32 AM Bug #6650: Fixing win32ole test errors
Masaki Suketa,
Can you confirm patch from Hiroshi fix the error for you?
luislavena (Luis Lavena)
07:07 PM Feature #6617: Net::HTTP: Bind to a specific local IP/port
Forgive me if this is a silly question, but what is the point of initializing the instance variables to nil in the initializer? madeofcode (Mark Dodwell)
06:25 PM Feature #6697 (Feedback): [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
For consistency, it seems to make sense to add a Kernel#Symbol helper.
This change would not break any existing code and it provides a more consistent interface.
Thoughts?
madeofcode (Mark Dodwell)
05:59 PM Feature #6679: Default Ruby source file encoding to utf-8
On 2012/07/03 10:33, naruse (Yui NARUSE) wrote:
>
> Issue #6679 has been updated by naruse (Yui NARUSE).
>
>
> = Default Ruby source file encoding to utf-8
>
> it almost can keep compatibility but breaks
> * escaped byte...
duerst (Martin Dürst)
05:53 PM Feature #6693: Don't warn for unused variables starting with _
On 04/07/12 05:01, marcandre (Marc-Andre Lafortune) wrote:
>
> Issue #6693 has been reported by marcandre (Marc-Andre Lafortune).


I don't know about anyone else, but I'm already using `_foo` as a pattern
for private-like ...
regularfry (Alex Young)
01:01 PM Feature #6693 (Closed): Don't warn for unused variables starting with _
Currently, variables which are set but not used will generate a warning (ruby -w), except if they have the special name "_".
So best practice is to use "_" for all unused variables. This does not encourage readable code.
# Curr...
marcandre (Marc-Andre Lafortune)
05:29 PM Bug #6674: 1.9 parser regression: not ()
zenspider (Ryan Davis) wrote:
> 4486 % ruby19 -cwe 'not (a)'
> ...
(snip)
> 4488 % ruby19 -cwe 'not ()'
> ...
I've attached a patch to fix the problem.
In Ruby 1.9, space before argument parentheses is not allowed (i.e.,
`foo (1,...
shugo (Shugo Maeda)
04:01 PM Revision 91337d00 (git): * 2012-07-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:01 PM Revision 007c9aa2 (git): * ruby.c (proc_options): warn only if -K and -w option is specified.
see also r36274 [Feature #5206]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:24 PM Feature #6695 (Assigned): Configuration for Thread/Fiber creation
=begin
= Abstract
With Feature #6694, the following configuration parameters should be allowed for Thread/Fiber creation.
Group1 (new parameters):
* name: Thread/Fiber name
* vm_stack_size: VM's stack size
* machine_stack_size:...
ko1 (Koichi Sasada)
01:59 PM Feature #3187: Allow dynamic Fiber stack size
I make another ticket about it:
https://bugs.ruby-lang.org/issues/6694
Thanks,
Koichi
--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
01:51 PM Feature #6694 (Assigned): Thread.new without block.
# Abstract
Support Thread.new() without block.
Before: `Thread.new(params...){|thread_local_params| ...}`
After: `Thread.new(proc: lambda{|tl_params...| ...}, args: params..., other_thread_config...)`
# Background
Thread.n...
ko1 (Koichi Sasada)
01:44 PM Feature #6620 (Rejected): Add &apos; to CGI's HTML escaping
&apos; is not html but xml specification. xibbar (Takeyuki FUJIOKA)
08:32 AM Feature #6620 (Closed): Add &apos; to CGI's HTML escaping
This issue was solved with changeset r36299.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Wed Jul 4 08:24:28 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org...
xibbar (Takeyuki FUJIOKA)
05:48 AM Feature #6620 (Assigned): Add &apos; to CGI's HTML escaping
xibbar (Takeyuki FUJIOKA)
01:42 PM Feature #6621 (Closed): Accept a CGI parameter without a value
This issue was solved with changeset r36304.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Wed Jul 4 08:45:41 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org...
xibbar (Takeyuki FUJIOKA)
08:43 AM Feature #6621: Accept a CGI parameter without a value
when query is 'id=123&id=', cgi["id"] is 123.
but query is 'id=123&id', cgi["id"] is "".
I will update with this patch.
xibbar (Takeyuki FUJIOKA)
01:02 PM Revision 87c25d89 (git): * gc.c, atomic.h (ATOMIC_SIZE_*): moved from gc.c to atomic.h [ruby-dev:45909]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
12:29 PM Bug #6689: r36284: symbol referenceng error: atomic_swap_long in Solaris
なかだです。

At Tue, 3 Jul 2012 23:17:20 +0900,
ngoto (Naohisa Goto) wrote in [ruby-dev:45904]:
> ところで、r36284で追加された ATOMIC_SIZE_**** というマクロ群は、
> gc.c に直書きではなく、以前からatomic操作関連のマクロを置いている
> atomic.h に追加して、それを#includeする形にしたほうが、
> #i...
nobu (Nobuyoshi Nakada)
11:52 AM Bug #6692 (Closed): TestSocket::test_udp_server always fails on OS X with Back to my Mac enabled
=begin
OS X ships with a feature to create a VPN between all your Mac computers.
This creates an extra utun interface for the tunnel and a unique local IPv6 unicast addresses on the loopback interface:
lo0: flags=8049<UP,LOOPBAC...
drbrain (Eric Hodel)
11:35 AM Feature #6612: Add streaming inflate and deflate to Zlib
Don't modify a String object with realloc().
It causes a crash when CALC_EXACT_MALLOC_SIZE is set.
nobu (Nobuyoshi Nakada)
05:38 AM Feature #6612: Add streaming inflate and deflate to Zlib
Updated patch that will apply after #6615
I committed the OBJ_INFECT refactoring separately.
drbrain (Eric Hodel)
11:23 AM Revision 31f3a2e7 (git): bootstrap/runner.rb must be run with Ruby 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:07 AM Feature #6583: Improve socket exception message when bind() fails
This updated patch adds three new methods rsock_sys_fail_host_port, rsock_sys_fail_path and rsock_sys_fail_sockaddr for raising exceptions from more than bind().
Additionally, rb_sys_fail() calls were audited and names of system calls...
drbrain (Eric Hodel)
10:36 AM Revision 24d1ff57 (git): merge revision(s) 36281:
* ext/dl/cfunc.c (rb_dlcfunc_call): also needed the workaround for VC8
for x64. [ruby-dev:45875] [Bug #6676]
reported by aves_ramphastos (Seigo Ishigane)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_...
naruse (Yui NARUSE)
10:17 AM Revision 263cd01a (git): * test/win32ole/test_win32ole.rb (test_s_codepage_changed):
FileSystemObject only supports ANSI or UTF-16LE encoding.
Patch by h.shirosaki (Hiroshi Shirosaki) [ruby-trunk - Bug #6650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
08:42 AM Feature #5373: SMTP - new method
May I apply this? drbrain (Eric Hodel)
08:19 AM Bug #6632 (Closed): Typos in CGI (core.rb)
This issue was solved with changeset r36296.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Wed Jul 4 08:11:15 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.o...
xibbar (Takeyuki FUJIOKA)
08:12 AM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
Facts:
* JRuby's bigdecimal implementation is separate from MRI's
* bigdecimal is shipped as a gem for MRI now, preinstalled by default but possible to upgrade and set as a gem dependency
* Users who want the most current bigdecimal...
headius (Charles Nutter)
05:26 AM Feature #6637: Add HTML5 support to CGI
I think your proposal is good.
I will insert your patch to my branch and test.
Please wait so days.
Thank you.
xibbar (Takeyuki FUJIOKA)
04:42 AM Revision 067b6e82 (git): Wed Jul 4 13:38:12 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/util.rb: revert 36299: &apos; is XML specification.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
04:42 AM Revision 9c746e35 (git): Wed Jul 4 08:45:41 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/core.rb: fix bug: When query parameter is 'id=123&id',
cgi['id'] => '123' is correct. First parameter is valid.
[Feature #6621]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
03:23 AM Feature #4328 (Assigned): export rb_thread_call_with_gvl()
drbrain (Eric Hodel)
02:53 AM Revision 38ca5cca (git): * gc.c (ATOMIC_SIZE_*): 64bit Windows support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:46 AM Revision 1655b26f (git): thread.c: fix rdoc
* thread.c (rb_thread_blocking_region): fix typo and the description
in "Safe C API". ruby_xmalloc(), ruby_xrealloc() never try acquire
GVL automatically unless GC runs, but had race condtions without GVL
acquired until r36284.
g...
nobu (Nobuyoshi Nakada)
02:44 AM Feature #6265: Remove 'useless' 'concatenation' syntax
I'm glad to see that I'm not the only one to experience this issue :)
https://github.com/frodsan/rails/commit/1c5722cdf675fce6c7f69bfb5ca773ce3db8fe19
rosenfeld (Rodrigo Rosenfeld Rosas)
02:11 AM Revision a7e1820a (git): __callee__ fix
* eval.c (rb_frame_callee, rb_f_callee_name): fix to return the called
id.
* vm_insnhelper.c (vm_push_frame): set proper method entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:36 AM Feature #6594: Integrated Functor
FYI, I just want to make clear that the `=>` notation I use is not vital to this proposal. It's just the first idea that occurred to me for a concise way to designate a HOM method. Another way, for example, could be `hom` keyword in plac... trans (Thomas Sawyer)
01:32 AM Revision dfbbe2ef (git): Fix previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:15 AM Bug #6691 (Closed): MinGW: KNOWNBUGS.rb 4/4 failures
According to #6460, these bugs should be fixed now.
But they are failing under MinGW at r36290:
https://gist.github.com/3040706
luislavena (Luis Lavena)

07/03/2012

11:53 PM Bug #6689: r36284: symbol referenceng error: atomic_swap_long in Solaris
そもそも,gc.c の変更は本当に必要なんでしょうか.


(2012/07/03 23:17), ngoto (Naohisa Goto) wrote:
>
> Issue #6689 has been reported by ngoto (Naohisa Goto).
>
> ----------------------------------------
> Bug #6689: r36284: symbol referenc...
ko1 (Koichi Sasada)
11:25 PM Bug #6689 (Closed): r36284: symbol referenceng error: atomic_swap_long in Solaris
This issue was solved with changeset r36290.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (ATOMIC_SIZE_EXCHANGE): fix function name on Solaris [B...
ngoto (Naohisa Goto)
11:17 PM Bug #6689 (Closed): r36284: symbol referenceng error: atomic_swap_long in Solaris
r36284以降、sparc上の Solaris 10 + Oracle Solaris Studio 12 にて、
atomic_swap_long が見つからない symbol referenceng error になり、
minirubyが出来ません。以下のパッチで治りました。
ところで、r36284で追加された ATOMIC_SIZE_**** というマクロ群は、
gc.c に直書きではなく、以前からatomic操作関連のマクロを置いている
ato...
ngoto (Naohisa Goto)
11:32 PM Revision 07132e06 (git): Wed Jul 4 08:24:28 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/util.rb: Add &apos; to CGI's HTML escaping.[Feature #6620]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
11:29 PM Revision ab63d24b (git): * array.c (rb_ary_aref): Updated documentation to indicate the
starting index is an index into the array or string. Updated
examples to show behavior of indexes at the end of an array or
string. Based on patch by Marcus Stollsteimer. [Bug #6680]
* array.c (rb_ary_aset): ditto.
* string.c (rb...
drbrain (Eric Hodel)
11:19 PM Revision ad187bde (git): Wed Jul 4 08:18:01 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/html.rb: fix some elements to upper case.[Bug #6632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
11:19 PM Revision b25f7430 (git): Wed Jul 4 08:11:15 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/core.rb,html.rb: fix typo.[Bug #6632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
11:04 PM Feature #6688: Object#replace
=begin
I don't think #replace works on Enumerables, rather it works on Array and Hash.
It does seem a rather powerful notion to be able to replace an object with another wherever is may be referenced. Though @shudo may be right that it ...
trans (Thomas Sawyer)
06:02 PM Feature #6688: Object#replace
prijutme4ty (Ilya Vorontsov) wrote:
> I suggest that #replace works not only on Enumerables but on any Object. It can make use the same object in different places more consistent.
Smalltalk has such a method called "become:", which s...
shugo (Shugo Maeda)
05:05 PM Feature #6688 (Rejected): Object#replace
I suggest that #replace works not only on Enumerables but on any Object. It can make use the same object in different places more consistent. It makes it possible to write
class Egg; end
class Hen; end
class HenHouse; attr_accessor :s...
prijutme4ty (Ilya Vorontsov)
11:01 PM Feature #6414: Destructuring Assignment
sorry but I couldn't find the proposal you're talking about, but looking at the examples it seems there is no difference.
But one thing that is supported in CoffeeScript and is not in the examples is to mix both forms. For example, in...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:53 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
Yura, thanks for letting me know. I'll give it a try when I find some time. rosenfeld (Rodrigo Rosenfeld Rosas)
10:08 PM Revision 0e9b0c8c (git): * test/zlib/test_zlib.rb (test_inflate_partial_input): Added test for
inflating incomplete zlib streams.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:19 PM Revision 98cbc707 (git): * 2012-07-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:19 PM Revision 91a254fd (git): bootstraptest: no stderr output
* bootstraptest/runner.rb (assert_check): capture stderr and ensure
nothing is output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:06 PM Feature #6679: Default Ruby source file encoding to utf-8
You could at least consider it for 3.0 and yielding a deprecation warning in such strings on 2.0... Although I think much more people are currently complaining about UTF-8 not being default when compared to those who might complain becau... rosenfeld (Rodrigo Rosenfeld Rosas)
10:33 AM Feature #6679: Default Ruby source file encoding to utf-8
= Default Ruby source file encoding to utf-8
it almost can keep compatibility but breaks
* escaped bytes in string literal like "a\xff", its encoding changed from ASCII-8BIT to UTF-8.
* escaped bytes in regexp literal like above
...
naruse (Yui NARUSE)
05:49 AM Feature #6679: Default Ruby source file encoding to utf-8
duerst (Martin Dürst) wrote:
> I think this is the right direction to go, and doing it for a major
> ...
#5206 (make -K warn) may be relevant to removing -U
drbrain (Eric Hodel)
12:23 AM Feature #6679: Default Ruby source file encoding to utf-8
On Mon, Jul 2, 2012 at 2:34 AM, "Martin J. Dürst" <duerst@it.aoyama.ac.jp>wrote:

> I think this is the right direction to go, and doing it for a major
> version (2.0) is the right timing.
>

> Maybe we can also on this occasion a...
claytrump (Clay Trump)
12:23 AM Feature #6679: Default Ruby source file encoding to utf-8
> claytrump (Clay Trump) wrote:
> > • Ruby 1.9 forced encoding for code that was not pure ASCII,
>
> Could you elaborate?
>

Sure. Ruby 1.9 forced us to specify the encoding for code that was not pure
ASCII.

I'm no expert, but...
claytrump (Clay Trump)
08:53 PM Feature #5543: rb_thread_blocking_region() API is poorly designed
(2012/07/03 18:41), nobu (Nobuyoshi Nakada) wrote:
> "int" may not be large enough to keep a pointer.

+1.

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
06:41 PM Feature #5543: rb_thread_blocking_region() API is poorly designed
"int" may not be large enough to keep a pointer. nobu (Nobuyoshi Nakada)
06:37 PM Feature #5543: rb_thread_blocking_region() API is poorly designed
ko1 (Koichi Sasada) wrote:
> Should we change it from VALUE to 'void *'?
IMHO VALUE is misleading and should be changed for rb_thread_blocking_region() and rb_blocking_function_t. But isn't it better to use "int" instead of "void*" ?...
larskanis1 (Lars Kanis)
07:29 PM Bug #6683: DateTime#strftime("%s") overflow on 32-bit platform
Fixed in r36265. naruse (Yui NARUSE)
07:17 PM Bug #6460 (Closed): `unexpected return' occurs when a proc is called in ensure
This issue was solved with changeset r36286.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
merge revision(s) 36259:
* KNOWNBUGS.rb: add tests. [ruby-dev...
naruse (Yui NARUSE)
06:53 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
On 02/07/12 15:51, Aaron Patterson wrote:
> On Sun, Jul 01, 2012 at 04:22:59PM +0900, mrkn (Kenta Murata) wrote:
>>
>> Issue #6590 has been updated by mrkn (Kenta Murata).
>>
>>
>> I don't know how do I allow the JRuby team ...
regularfry (Alex Young)
06:02 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
kosaki (Motohiro KOSAKI) wrote:
> On Tue, Jul 3, 2012 at 12:35 AM, vo.x (Vit Ondruch)
> ...
It is interesting to see you position, since such collaboration works for JSON gem for example (if I am not mistaken).
Yes, you are right, t...
vo.x (Vit Ondruch)
05:23 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
On Tue, Jul 3, 2012 at 12:35 AM, vo.x (Vit Ondruch)
<v.ondruch@tiscali.cz> wrote:
>
> Issue #6590 has been updated by vo.x (Vit Ondruch).
>
>
> kosaki (Motohiro KOSAKI) wrote:
>> Actually, this is not bigdecimal issue. It is gem...
kosaki (Motohiro KOSAKI)
01:35 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
kosaki (Motohiro KOSAKI) wrote:
> Actually, this is not bigdecimal issue. It is gem discovery issue. MRI
> ...
Actually that is exactly what RubyGems do and what Aaron is proposing. Take nokogiri [1] for example. If you are using MRI,...
vo.x (Vit Ondruch)
11:59 AM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
On Mon, Jul 2, 2012 at 10:51 AM, Aaron Patterson
<tenderlove@ruby-lang.org> wrote:
> On Sun, Jul 01, 2012 at 04:22:59PM +0900, mrkn (Kenta Murata) wrote:
>>
>> Issue #6590 has been updated by mrkn (Kenta Murata).
>>
>>
>> ...
kosaki (Motohiro KOSAKI)
03:39 PM Revision 74c0b593 (git): * 2012-07-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 PM Revision 4e273f76 (git): Revert r36279; it breaks C API compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:23 PM Feature #5206: ruby -K should warn
(2012/07/03 14:46), usa (Usaku NAKAMURA) wrote:
> Status changed from Closed to Assigned
>
> I think that it is good for warning, but isn't only the time of -w option being specified?

I often use -Ks option for temporary ru...
ko1 (Koichi Sasada)
02:46 PM Feature #5206 (Assigned): ruby -K should warn
I think that it is good for warning, but isn't only the time of -w option being specified?
usa (Usaku NAKAMURA)
10:52 AM Feature #5206 (Closed): ruby -K should warn
This issue was solved with changeset r36274.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ruby.c (proc_options): warn if -K option is specified. [Feature...
naruse (Yui NARUSE)
03:02 PM Feature #1917 (Third Party's Issue): Curses::Window#keypad(true) fails for Curses::Key::ENTER ?
robert (Robert Gleeson) wrote:
> After creating an instance of Curses::Window, setting keypad to true, it is possible to catch Curses::Key::UP/DOWN/LEFT/RIGHT, but when I try to catch Curses::Key::ENTER, it fails.
> ...
The man page f...
shugo (Shugo Maeda)
02:25 PM Revision 1e972da3 (git): * gc.c (ATOMIC_SIZE_EXCHANGE): fix function name on Solaris [Bug #6689]
[ruby-dev:45904]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
01:26 PM Feature #2565: adding hooks for better tracing
ko1 (Koichi Sasada) wrote:
> (but I can't understand sed script ^^; I prefer ruby script :)
As I said, there are several conditions which should be fulfilled. If you don't want to
1) store the generated files in SCM
2) generate...
vo.x (Vit Ondruch)
08:23 AM Feature #2565: adding hooks for better tracing
(2012/07/02 23:32), Aaron Patterson wrote:
> ko1 said he was OK to merge in [ruby-core:44788].

I want to discuss what probes and parameters we need.
(Maybe I said same thing before)

Your patch will be a beginning of this d...
ko1 (Koichi Sasada)
06:23 AM Feature #2565: adding hooks for better tracing
On Tue, Jul 03, 2012 at 01:31:53AM +0900, vo.x (Vit Ondruch) wrote:
>
> Issue #2565 has been updated by vo.x (Vit Ondruch).
>
>
> > AFAIK, the only open issue (that Vit raised [ruby-core:44980]) is that
> > we shouldn't check...
Anonymous
01:31 AM Feature #2565: adding hooks for better tracing
> AFAIK, the only open issue (that Vit raised [ruby-core:44980]) is that
> ...
Well, I proposed two options, either have both versions in SCM or keep it out of the SCM. I'm still in favor of the latter, however I realized later that th...
vo.x (Vit Ondruch)
01:14 PM Feature #6617: Net::HTTP: Bind to a specific local IP/port
It looks good.
Could you provide a test for it?
It should be a patch for test/net/http/test_http.rb
naruse (Yui NARUSE)
11:55 AM Feature #4328: export rb_thread_call_with_gvl()
I was going to use rb_thread_call_with_gvl for #6612, but the declaration was moved to internal.h which is not exported and causes a warning when compiling zlib.c. Was this intentional? The current location seems to allow use by core r... drbrain (Eric Hodel)
11:52 AM Revision fdde6957 (git): Revert r36285; it is fixed in r36286 in 1.9.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:39 AM Revision 662ec841 (git): merge revision(s) 34374:
* file.c (rmext): no extension to strip if empty string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:20 AM Revision 54952586 (git): * proc.c (rb_vm_rewrite_dfp_in_errinfo): Fix `unexpected return'
occurs when a proc is called in ensure. [Backport #6460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:17 AM Revision 309cef7e (git): merge revision(s) 36259:
* KNOWNBUGS.rb: add tests. [ruby-dev:45656] [Bug #6460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:17 AM Revision 1686286e (git): merge revision(s) 36258:
* KNOWNBUGS.rb: Bug #2330 was fixed in r26718.
[ruby-dev:40234] [ruby-core:27959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:07 AM Revision a7c6f0af (git): gc.c: atomic operations for malloc_params
* gc.c (vm_malloc_fixup, vm_xrealloc, vm_xfree, after_gc_sweep): use
atomic operations to update malloc_params.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:12 AM Bug #6666 (Closed): Documentation Improve - rdoc does not know where rb_obj_methods is (#methods)
This issue was solved with changeset r36272.
markus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (Init_Object): Added RDoc location pointers for
K...
drbrain (Eric Hodel)
06:03 AM Feature #6615 (Closed): Release GVL in zlib when calling inflate() or deflate()
This issue was solved with changeset r36270.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/zlib/zlib.c (zstream_run): Process zlib streams without GV...
drbrain (Eric Hodel)
05:52 AM Revision 1884f1c0 (git): * ext/zlib/zlib.c (zstream_run_func): Fix bug that caused early exit
of GVL-free loop. [Feature #6615]
* ext/zlib/zlib.c: Fix style to match existing functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:37 AM Revision c7c397f9 (git): fix allocated_size
* gc.c (vm_xrealloc): fix allocated_size update, should not ignore old
size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:15 AM Feature #6373: public #self
Does it really need a slide? Does someone at developers meeting want to bring it up? It's such a simple thing. It's probably a one line addition to code to make `self` available as public method. Only question is name, which seems to me,... trans (Thomas Sawyer)
03:10 AM Revision 1f233501 (git): * ext/dl/cfunc.c (rb_dlcfunc_call): also needed the workaround for VC8
for x64. [ruby-dev:45875] [Bug #6676]
reported by aves_ramphastos (Seigo Ishigane)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:09 AM Revision 11387569 (git): * ext/zlib/zlib.c (zstream_detach_buffer): Refactored tainting of
output string, moving it from the callee to zstream_detach_buffer.
* ext/zlib/zlib.c (rb_zstream_finish): ditto
* ext/zlib/zlib.c (rb_zstream_flush_next_out): ditto
* ext/zlib/zlib.c (rb_deflate_deflate): ditto
* ext/zlib/zlib.c (rb_d...
drbrain (Eric Hodel)
02:44 AM Revision 42c34dd3 (git): merge revision(s) 34372:
* file.c (rb_enc_path_next, rb_enc_path_skip_prefix)
(rb_enc_path_last_separator, rb_enc_path_end)
(ruby_enc_find_basename, ruby_enc_find_extname): encoding-aware
path handling functions.
* file.c (...
naruse (Yui NARUSE)
02:44 AM Revision 83c7e46a (git): merge revision(s) 34348:
* dir.c (dir_chdir, check_dirname): get rid of optimization-out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:16 AM Revision 3fceaf10 (git): make runnable
* common.mk (runnable): make symbolic links to run in build directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:11 AM Revision 66d0ad36 (git): Undef on_parallel_worker? before redefine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:10 AM Revision b697018e (git): Fix tests for previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:52 AM Revision c2a87e27 (git): * ruby.c (proc_options): warn if -K option is specified. [Feature #5206]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:44 AM Bug #6632: Typos in CGI (core.rb)
sorry for the separate updates... stomar (Marcus Stollsteimer)
01:09 AM Bug #6632: Typos in CGI (core.rb)
=begin
also in rdoc for html.rb
=end
stomar (Marcus Stollsteimer)
01:17 AM Feature #6687: Enumerable#with
That's a beautiful demonstration.
I indeed find #each_with_object too long, and that makes me use a local variable instead most of the time.
The other reason I hesitate to use it is for cases with multiple arguments in the enumeratio...
Eregon (Benoit Daloze)
12:23 AM Feature #4985: Add %S[] support for making a list of symbols
+1, I'd use that a lot.

Do we need two versions? Why not always interpolate? Can't see who's going
to need a symbol with a litteral #{ or \whatever in it.

This way we could have only %S and it always interpolates.
--
<l...
claytrump (Clay Trump)
 

Also available in: Atom