Activity
From 04/14/2013 to 04/20/2013
04/20/2013
-
11:47 PM Bug #8303 (Closed): YAML does not persist Exception#backtrace
- require 'yaml'
begin
raise "omg"
rescue
# yaml loses the backtrace
YAML.load(YAML.dump $!).backtrace # => nil
# marshal persists the backtrace
Marshal.load(Marshal.dump $!).backtrace # => ["-:4:in `<main>'"]
end -
11:03 PM Revision 8f671120 (git): * test/csv/test_features.rb, test/logger/test_logger.rb
- test/mkmf/test_have_macro.rb, test/net/http/test_http.rb,
test/openssl/test_config.rb, test/psych/test_encoding.rb,
test/psych/test_exception.rb, test/psych/test_psych.rb,
test/psych/test_tainted.rb, test/readline/test_readline.rb,... -
11:00 PM Feature #7767 (Closed): Tempfileで自動的にファイルを削除する
-
10:50 PM Feature #5707 (Closed): temporary file creation without finalizer and delegate.
- This issue was solved with changeset r40393.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/tempfile.rb (Tempfile.create): New method.
The method na... -
08:36 PM Feature #8263: Support discovering yield state of individual Fibers
- I have implemented Fiber#backtrace in Rubinius and have a demo of what I wanted to achieve.
https://gist.github.com/halorgium/c770d3cf27f6279e5e43
This depends on another change, Thread#root_fiber, which returns the root_fiber of ... -
05:29 PM Bug #8302 (Closed): REXML::Text の entity_filter が有効でない
- REXML::Text の initialize や to_s のドキュメントによると、
添付したファイル(text_entity_filter.rb)を実行すると
"&f; &b;"
"foo &b;"
と出力されるはずですが、実際には
"&f; &b;"
"&f; &b;"
と出力されます。
添付したパッチで修正されると思います。
しかし、この機能は何に使うのでしょうか? -
04:39 PM Bug #8301 (Closed): REXML::Attributes#to_a
- 添付したコード(attributs_to_a.rb)を実行すると、REXML::Attributes#to_a という名前から期待される結果は
[foo:att='1', bar:att='2', att='<', baz='4']
だと思うのですが、実際には
[{"foo"=>foo:att='1', "bar"=>bar:att='2', ""=>att='<'}, baz='4']
という結果になります。これは意図した結果ではないと思う... -
04:22 PM Feature #8300 (Third Party's Issue): rails server request no working
- > dlopen(/Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (LoadError)
> ...
It's unacceptable to make libmysqlclient built-in as the language specification. ;-p -
03:17 PM Feature #8300 (Third Party's Issue): rails server request no working
- Can anyone help me figure out this error.
sk8devine$ rails server
/Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle: dlopen(/Library/Ruby/Gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle, 9): Library not loaded: ... -
03:16 PM Revision 65261bda (git): * lib/tempfile.rb (Tempfile.create): Close when the block exits.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 PM Revision 88d0a18c (git): merge revision(s) 40135,40148,40173: [Backport #8165]
- * load.c (features_index_add): use rb_str_subseq() to specify C string
position properly to fix require non ascii path.
[ruby-core:53733] [Bug #8165]
* test/ruby/test_require.rb (TestRequire#test_require_nona... -
03:13 PM Revision c1ca05af (git): merge revision(s) 39644,39646,39647,39874,39898: [Backport #8048]
- * load.c (features_index_add_single, rb_feature_p): store single index
as Fixnum to reduce the number of arrays for the indexes. based on
the patch by tmm1 (Aman Gupta) in [ruby-core:53216] [Bug #8048].
* lo... - 03:10 PM Revision 45e02258 (git): * 2013-04-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision 5fb8bb16 (git): * lib/webrick/httpauth/htpasswd.rb: Use Tempfile.create to avoid
- unintentional unlink() by the finalizer.
lib/webrick/httpauth/htdigest.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 PM Revision 80ecaa17 (git): merge revision(s) 40345: [Backport #8283]
- * dir.c (glob_helper): should skip dot directories only for recursion,
but should not if matching to the given pattern. [ruby-core:54387]
[Bug #8283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@... -
01:50 PM Revision 5388fb64 (git): * lib/tempfile.rb (Tempfile.create): New method.
- The method name is proposed by Shugo Maeda. [ruby-dev:47220]
[ruby-core:41478] [Feature #5707]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:31 AM Bug #8299 (Rejected): Minor error in float parsing
- Just -1.1505945e-5 is not accurately representable in binary format.
-
07:41 AM Bug #8299 (Closed): Minor error in float parsing
- I encountered a float that either parses [slightly] differently (or converts to string differently) in Ruby than it does in Python or Java. This looks like a Ruby bug since the result "looks" incorrect.
It is easily reproduced by ent... -
06:10 AM Bug #8298 (Rejected): Module include inconsistency
- It has been suggested that I report this as a violation of the object model:
module M ; end
module N ; end
class C ; include M ; end
module M ; include N ; end
c = C.new
c.extend M
d = class << c ; self ; end
d.ancestors
=>[N,... -
05:50 AM Bug #8148 (Rejected): [patch] reduce allocations due to __FILE__ and {class,module}_eval
- > Is there a simpler solution instead of adding NODE_FILE?
To fix this simple case, NODE_FILE is unnecessary:
def test__FILE__shared
assert_equal __FILE__.object_id, __FILE__.object_id
end
Here we can just ensure parse... -
05:44 AM Bug #7940: Mistaken use of inline rescues in stdlib
- I've tweeted @david_a_black asking him to check this ticket.
He has been inactive for a long time, though. -
05:22 AM Revision 8c77e58b (git): marshal.c: use ivars of marshal_dump data
- * marshal.c (w_object): dump no ivars to the original by marshal_dump.
[ruby-core:54334] [Bug #8276]
* marshal.c (r_object0): copy all ivars of marshal_dump data to the
result object instead. [ruby-core:51163] [Bug #7627]
git-svn-i... -
05:21 AM Feature #6752 (Closed): Replacing ill-formed subsequencce
- This issue was solved with changeset r40391.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Add example for String#scrub
[Feature #6321] [Feature #6752] [Bug... -
05:21 AM Feature #6321 (Closed): Find and repair bad bytes in encodings, without transcoding
- This issue was solved with changeset r40391.
jonathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Add example for String#scrub
[Feature #6321] [Feature #6752]...
04/19/2013
-
11:29 PM Bug #7940: Mistaken use of inline rescues in stdlib
- Related issue for the C counterpart: #7688.
-
02:27 PM Bug #7940 (Assigned): Mistaken use of inline rescues in stdlib
- update only my part.
please consider your part > dblack. -
02:25 PM Bug #7940 (Closed): Mistaken use of inline rescues in stdlib
- This issue was solved with changeset r40367.
Mon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/session.rb: update rescue in delete session file
only ... -
01:51 PM Bug #7940: Mistaken use of inline rescues in stdlib
- Sorry I was misunderstanding that lib/scanf.rb does not have a maintainer.
-
12:24 PM Bug #7940: Mistaken use of inline rescues in stdlib
- xibbar (Takeyuki FUJIOKA) wrote:
> I am maintainer of cgi* but not maintainer of lib/scanf.rb
> ...
Commit your part and assign this to dblack. -
12:18 PM Bug #7940: Mistaken use of inline rescues in stdlib
- I am maintainer of cgi* but not maintainer of lib/scanf.rb
May I commit with lib/scanf.rb ? -
11:23 PM Bug #8230: Segmentation fault: at_exit - Reproduced on 1.9.3p392, but not trunk or 2.0.0p0
-
11:15 PM Feature #8237: Logical method chaining via inferred receiver
- Exactly, Martin. That was exactly my point. It is not because Charles don't like this particular code styling that it makes it unuseful for everyone out there. I use this pattern a lot in both Groovy and CoffeeScript and I don't find it ...
-
08:53 PM Feature #8237: Logical method chaining via inferred receiver
- On 2013/04/18 1:42, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>
> Issue #8237 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).
>
>
> Charles, I understand that you don't like this code style. But I'm pretty sure you c... -
09:12 PM Bug #8297: extend & inherited class variable issue
- =begin
By the current documentation, Object#extend method has to (only) add instance methods of a module given as a parameter.
In the following example, the class ((*C*)) is extended with module ((*M*)).
By ((*class_variables*)) metho... -
09:02 PM Bug #8297 (Closed): extend & inherited class variable issue
- =begin
By the current documentation, (({Object#extend})) method has to (only) add instance methods of a module given as a parameter.
In the following example, the class ((|C|)) is extended with module ((|M|)).
By (({class_variables}))... -
08:21 PM Revision 1e8a05c1 (git): Add example for String#scrub
- [Feature #6321] [Feature #6752] [Bug #7967]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 PM Feature #8263: Support discovering yield state of individual Fibers
- There was some confusion about what I am proposing.
I realised I didn't even explain this!
I would like to be able to see the backtrace of individual Fibers.
This would allow our Celluloid.stack_dump to show each point at which th... -
03:49 PM Feature #8263: Support discovering yield state of individual Fibers
- Should this be in common-ruby?
Could someone move it? -
06:02 PM Bug #8167 (Closed): net/imap failing to parse IMAP response containing one BODYSTRUCTURE
- This issue was solved with changeset r40372.
Nathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (body_type_msg): should accept
message/deli... -
05:50 PM Revision 394d5dfa (git): * string.c (str_scrub): add ruby method String#scrub which verify and
- fix invalid byte sequence.
* string.c (str_compat_and_valid): check given string is compatible
and valid with given encoding.
* transcode.c (str_transcode0): If invalid: :replace is specified for
String#encode, replace invalid byte... -
05:41 PM Revision 62ff805f (git): merge revision(s) 40362: [Backport #7997]
- * lib/cgi/cookie.rb(CGI::Cookie.parse): add require
for standalone require 'cgi/cookie' .[Bug #7997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:39 PM Revision 2bc82894 (git): merge revision(s) 40117,40118,40333: [Backport #8222]
- * test/test_curses.rb: tests for getch.
* ext/curses/curses.c (Init_curses): fix implementation function,
crmode should be same as cbreak. [ruby-core:54013] [Bug #8222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra... -
05:26 PM Feature #8295 (Assigned): Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
- =begin
たまに、Float を正確に表現する BigDecimal が欲しいことがあります。
(有効数字の考え方からは邪道ですが。また普通は printf の "%a" による
十六進表現で用が足りることも多いでしょう)
十進でも桁数を必要なだけ伸ばせば、普通の 2 進の浮動小数点数なら正確に
表現できます。また、Rational も分母が 2 と 5 以外の約数を持たない場合に
限っては、正確に BigDecimal に変換できます。
... -
05:16 PM Revision 2e607b7f (git): merge revision(s) 40304: [Backport #8240]
- * ext/openssl/ossl_ssl.c: Correct shutdown behavior w.r.t GC.
* test/openssl/test_ssl.rb: Add tests to verify correct behavior.
[Bug #8240] Patch provided by Shugo Maeda. Thanks!
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
05:03 PM Revision 6ba7e6cc (git): merge revision(s) 40102: [Backport #8234]
- * thread_pthread.c (ruby_init_stack): Avoid using uninitialized value.
stackaddr and size are not set if get_stack() fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40386 b2dd03c8-39d4-4d8f-98ff-823fe69... -
04:54 PM Revision 7e970d34 (git): merge revision(s) 40103: [Backport #8235]
- * thread_pthread.c: Fixes wrong scopes of #if USE_SLEEPY_TIMER_THREAD
.. #endif sections. This fixes a build error on NativeClient.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40385 b2dd03c8-39d4-4d8f-98f... -
04:40 PM Revision 8c43fc02 (git): merge revision(s) 40276: [Backport #8210]
- * Merge Onigmo 5.13.4 f22cf2e566712cace60d17f84d63119d7c5764ee.
[bug] fix problem with optimization of \z (Issue #16) [Bug #8210]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40384 b2dd03c8-39d4-4d8f-98ff-8... - 04:36 PM Revision 57ffc79c (git): * 2013-04-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:36 PM Revision 2ea4ed63 (git): * lib/matrix.rb: Fix typo in rdoc
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:28 PM Revision 80002f8e (git): merge revision(s) 40260,40377: [Backport #8260]
- * vm_insnhelper.c (vm_callee_setup_keyword_arg): non-symbol key is not
a keyword argument, keep it as an positional argument.
a keyword argument, keep it as a positional argument.
git-svn-id: svn+ssh://ci.ruby-lang.... -
04:23 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
- On 2013/04/19 15:50, halorgium (Tim Carey-Smith) wrote:
>
> Issue #8215 has been updated by halorgium (Tim Carey-Smith).
>
>
> I realised that this might be better in common-ruby.
This isn't issue specific: I propose that... -
03:50 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
- I realised that this might be better in common-ruby.
I originally proposed the idea with RBX.
Could someone move it? -
04:16 PM Revision 26de6120 (git): merge revision(s) 40000: [Backport #8097]
- * thread.c (rb_mutex_synchronize_m): yield no block params. patch by
splattael (Peter Suschlik) in [ruby-core:53773] [Bug #8097].
fix GH-266.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40380 b2... -
04:02 PM Revision a569165d (git): merge revision(s) 40205: [Backport #8236]
- * compile.c (iseq_compile_each): append keyword hash to argument array
to splat if needed. [ruby-core:54094] [Bug #8236]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 PM Feature #8291 (Open): Allow retrieving the root Fiber of a Thread
- =begin
Currently (({Thread.backtrace})) returns the stack frames for the currently running (({Fiber})).
It is not possible to retrieve the backtrace.
Building on http://bugs.ruby-lang.org/issues/8263, this would allow for this fea... -
03:32 PM Revision 1ccf489a (git): merge revision(s) 40374: [Backport #8292]
- * README.EXT.ja (Data_Wrap_Struct): Remove a description about
orphan argument. Oh, I renamed the argument name without
changing description at r36180... Sorry....
Patch by Makoto Kishimoto. Thanks!!! [ruby-... -
02:40 PM Revision af58fd44 (git): Fixed ChangeLog typo found by @Nami-Doc
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 PM Revision ff6eb8fe (git): Fixed comment typo, found by @ThePablick
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:06 PM Revision 17817e9d (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:02 PM Revision 46e17f4c (git): * README.EXT.ja (Data_Wrap_Struct): Remove a description about
- orphan argument. Oh, I renamed the argument name without
changing description at r36180... Sorry....
Patch by Makoto Kishimoto. Thanks!!! [ruby-dev:47269] [Bug #8292]
* README.EXT.ja (Data_Make_Struct): Add a sample code that describ... -
12:31 PM Feature #6752: Replacing ill-formed subsequencce
- OK, I agree with enhancement of String#encoding and String#scrub.
Matz.
-
11:38 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
- Seems failing with -ggdb3 and -fstack-protector.
Setting CFLAGS excludes $debugflags from it.
Try r40364. -
11:37 AM Bug #8268 (Closed): ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
- This issue was solved with changeset r40364.
Matt, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: -g and -fstack-protector flags can't work
togethe... -
10:41 AM Revision d6674f8f (git): Add --disable-gems for tests which doesn't use rubygems
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 AM Revision 3f927dec (git): * lib/net/imap.rb (body_type_msg): should accept
- message/delivery-status with extra data.
[ruby-core:53741] [Bug #8167]
* test/net/imap/test_imap_response_parser.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:27 AM Feature #8096: introduce Time.current_timestamp
- headius (Charles Nutter) wrote:
> phluid61 (Matthew Kerwin) wrote:
> ...
That would be really handy. I've been fiddling a bit more the past couple of days, and I can't quite get it to work properly. I don't know if the failure is in ... -
08:23 AM Bug #8225 (Assigned): Missing RI file for Kernel.open
- =begin
This actually seems like a bug in RDoc, so I'm assigning it to Eric.
You can easily reproduce this by the following:
(({ri open})) from trunk
=end
-
08:15 AM Bug #8289 (Rejected): [].join.encoding # => US-ASCII (I expect also UTF-8
- It is intended.
Strings always generated as an ASCII only string has US-ASCII encoding.
It shall not cause any meaningful side effects. -
07:10 AM Bug #8289 (Rejected): [].join.encoding # => US-ASCII (I expect also UTF-8
- May be related to http://bugs.ruby-lang.org/issues/5379
$ date
Thu Apr 18 23:56:54 CEST 2013
$ rvm get stable
$ rvm install ruby-head
... long compile process ...
$ rvm use ruby-head
Using /Users/peter_v/.rvm/gems/ruby-hea... -
08:09 AM Revision 3c1b8a1b (git): test_module.rb: rename
- * test/ruby/test_module.rb (test_visibility_by_public_class_method):
rename because anonymousness is not a point.
[ruby-core:54404] [Bug #8284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40371 b2dd03c8-39d4-4d8f-98ff-823fe69b... - 06:17 AM Revision 0e102a66 (git): * lib/cgi/session.rb: update use rescue nil all because
- session delete shoud try all pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:46 AM Revision 683c5fdf (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:43 AM Revision 6c3a57a1 (git): * lib/cgi/session.rb: update use rescue Errno::ENOENT because
- session delete shoud try all pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:25 AM Revision 42546869 (git): * lib/cgi/session.rb: update rescue in delete session file
- only Errno::ENOENT.[Bug #7940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:03 AM Revision 1dd06612 (git): marshal.c: no duplicated encoding
- * marshal.c (w_object): do not dump encoding which is dumped with
marshal_dump data. [ruby-core:54334] [Bug #8276]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 AM Bug #7737 (Closed): problem with generated rbconfig.rb for Haiku
-
03:52 AM Bug #7737: problem with generated rbconfig.rb for Haiku
- Closed because no feedback.
-
03:52 AM Revision 597aa8ba (git): ChangeLog: remove garbage
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:31 AM Misc #8288 (Closed): Ruby 2.1.0 release engeneering
- This is meta issue for releasing Ruby 2.1.0
see also https://bugs.ruby-lang.org/versions/27 -
02:37 AM Revision 526ffc53 (git): configure.in: -g and -fstack-protector flags can't work
- together on SmartOS
* configure.in (stack_protector): control use of -fstack-protector.
* configure.in (debugflags): let -fstack-protector precede and disable
debugflags, because they can't work together on SmartOS. [Bug #8268]
git-s... -
02:22 AM Feature #8262 (Closed): Confusing "undefined method" exception when using - operator on a string
- Perfect. I'll close this then, unless someone comes up with a better proposal.
-
02:10 AM Feature #8262: Confusing "undefined method" exception when using - operator on a string
- OK, this makes perfect sense now! I'd never come across the "-@" syntax for unary operators. Thanks!
-
01:44 AM Bug #8286: Can't decode non-MIME Base64
- Excuses for the shameless plug, but I thought it might help Alan:
In krypt[1], we follow the lenient parsing/strict encoding principle.
require 'krypt'
decoded1 = Krypt::Base64.decode("TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZX...
04/18/2013
- 11:47 PM Revision 1f12e407 (git): * lib/cgi/cookie.rb: refactoring.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:38 PM Revision 1f2c3b8a (git): * lib/cgi/cookie.rb(CGI::Cookie.parse): add require
- for standalone require 'cgi/cookie' .[Bug #7997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:45 PM Revision 053e85e2 (git): * test/openssl/test_cipher.rb: Correct a typo
- by jgls <joerg@joergleis.com>
https://github.com/ruby/ruby/pull/291 fix GH-291
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:13 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
- It has been pointed out to me that the patched ruby will likely crash when the patched code run on a sigaltstack.
I'm working to sort this out. -
08:48 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
- I can add "rb_cv_have_signbit=no" to workaround the make error for now.
-
08:35 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
- Actually, I just found this page: http://docs.oracle.com/cd/E19082-01/819-0690/chapter4-29405/index.html
It appears that using CFLAGS="-R -fPIC" might help...
That makes configure succeed, but make fails with missing symbol "signbi... -
08:30 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
- Hello naruse and nobu, thank you for looking into this issue.
I have recorded a log of attempting to build ruby-2.0.0-p0 in a clean SmartOS instance at this gist: https://gist.github.com/mattconnolly/5411998
This includes config.lo... -
06:04 PM Revision 46d19a3a (git): Fix .travis.yml for current known Linux failure
- And revert branches and notification change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:33 PM Bug #8286 (Closed): Can't decode non-MIME Base64
-
01:23 PM Bug #8286: Can't decode non-MIME Base64
- 2013/4/18 adacosta (Alan Da Costa) <alandacosta@gmail.com>
>
> Issue #8286 has been updated by adacosta (Alan Da Costa).
>
>
> My confusion on this issue might have stemmed from a client sending Base64
> without padding, ... -
10:02 AM Bug #8286: Can't decode non-MIME Base64
- duerst (Martin Dürst) wrote:
> On 2013/04/18 8:20, naruse (Yui NARUSE) wrote:
> ...
Oops, correct one is "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4=". -
09:53 AM Bug #8286: Can't decode non-MIME Base64
- On 2013/04/18 8:20, naruse (Yui NARUSE) wrote:
>
> Issue #8286 has been updated by naruse (Yui NARUSE).
>
> Status changed from Open to Rejected
>
> Your Base64Compatible.encode64 is buggy.
>
> Base64Compatibleencode64("... -
09:47 AM Bug #8286: Can't decode non-MIME Base64
- My confusion on this issue might have stemmed from a client sending Base64 without padding, and decode64 not managing to decode the base64, for example:
> Base64.decode64 "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2... -
09:29 AM Bug #8286: Can't decode non-MIME Base64
- Hi Naruse, thank you for looking at my issue and sorry for wasting your time. I should have spent more time verifying my code.
-
08:20 AM Bug #8286 (Rejected): Can't decode non-MIME Base64
- Your Base64Compatible.encode64 is buggy.
Base64Compatibleencode64("Lorem ipsum dolor sit amet, consectetur adipiscing elit.") returns
"TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4",
but its length is 75.
I... -
08:14 AM Bug #8286: Can't decode non-MIME Base64
- Could you show self-contained reproducible example?
-
07:49 AM Bug #8286 (Closed): Can't decode non-MIME Base64
- =begin
In https://github.com/ruby/ruby/blob/trunk/lib/base64.rb#L42 , RFC 2045 is mentioned for encode64/decode64 support, which is the MIME RFC. I don't believe this is the correct RFC to reference, as RFC 4648 is the correct RFC for B... - 03:29 PM Revision 38dccee1 (git): * 2013-04-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:29 PM Revision df9e72b2 (git): test_rinda.rb: use spawn
- * test/rinda/test_rinda.rb (TupleSpaceProxyTest#test_take_bug_8215):
use more portable spawn instead of fork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:57 PM Feature #8110: Regex methods not changing global variables
- headius (Charles Nutter) wrote:
> naruse (Yui NARUSE) wrote:
> ...
On such case, Regexp::SKIP_GLOBALS is useless.
Without it JRuby would optimize to skip globals.
> As an example of how much it helps... MRI 2.0.0 was changed to not... -
01:20 AM Feature #8110: Regex methods not changing global variables
- sam.saffron (Sam Saffron) wrote:
> @naruse @charlie should this be moved to ruby common?
If CommonRuby officially becomes the host project for features...yes, it should. I'm not sure we've had a final decision yet. -
01:19 AM Feature #8110: Regex methods not changing global variables
- naruse (Yui NARUSE) wrote:
> You may misunderstand, unlike Perl, Ruby's setting global variable cost is small.
> ...
That ignores the fact that without $~, the scope wouldn't need to be allocated either. In JRuby, when we know there's ... -
02:45 PM Revision 4987e849 (git): "garbage" (noun) is uncountable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:58 PM Revision a1d59a60 (git): Fix ChangeLog duplicated by wrong merge
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:56 PM Revision 26e92343 (git): Overwrite Ruby's path for cgi in tests
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:56 PM Revision 9d72f265 (git): * common.mk (clean-ext): remove timestamps.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:56 PM Revision 6e24f177 (git): * ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:56 PM Revision 3f75750c (git): Oops, I forgot to use JST in the ChangeLog entry.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:55 PM Revision b69f1fb6 (git): iseq: reduce array allocations for simple sequences
- * compile.c (iseq_add_mark_object): Use new rb_iseq_add_mark_object().
* insns.def (setinlinecache): Ditto.
* iseq.c (rb_iseq_add_mark_object): New function to allocate
iseq->mark_ary on demand. [Bug #8142]
* iseq.h (rb_iseq_add_mar... -
01:55 PM Revision 5f628a07 (git): iseq.c: remove duplicated strings for file paths
- * iseq.c (iseq_location_setup): re-use existing string when iseq has
the same path and absolute_path. [Bug #8149]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:55 PM Revision 226e145e (git): assertions.rb: remove UNASSIGNED
- * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
UNASSIGNED is not a valid message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:55 PM Revision b2fcb9da (git): thread.c: fix overflow on Windows
- * thread.c (sleep_timeval): get rid of overflow on Windows where
timeval.tv_sec is not time_t but mere long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:55 PM Revision 08a6ef73 (git): Run test-all on travis-ci
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:38 PM Bug #8287 (Rejected): Regexp performance issue
- ADDRESS = # RFC-5322 : http://tools.ietf.org/html/rfc5322
/
(?<mailbox>
(?<name_addr>
(?<display_name>
(?<phrase>
(?<word>
(?<atom>
#\g<CFWS>?
#\g<atext>+
... -
01:26 PM Feature #8237: Logical method chaining via inferred receiver - Wow, inferred reciever, cool. But wait, in Ruby, there is already self! When you type often
fred.do_this && fred.do_that
# why not teach fred
fred.do_it_all
How about if we finally allow Japanese into Ruby along with English, and intro... -
01:42 AM Feature #8237: Logical method chaining via inferred receiver
- Charles, I understand that you don't like this code style. But I'm pretty sure you consider bad several other code styles used on Ruby by people out there, right? This is what I like about Ruby. It doesn't try to provide you a single obv...
-
01:29 AM Feature #8237: Logical method chaining via inferred receiver
- I believe this has been suggested and rejected before. It's similar to Groovy's ?. operator, which only proceeds with calls if the LHS is non-null. That particular syntax is incompatible with Ruby since methods can end in ? but a differe...
-
07:59 AM Revision 335dfa12 (git): vm_method.c: fix visibility on anonymous module
- * vm_method.c (rb_mod_public_method): fix visibility on anonymous
module. set visibility of singleton method, not method in base
class. [ruby-core:54404] [Bug #8284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40346 b2dd03c8-... -
07:44 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
- Also, ruby -v actually is: ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin11]
-
07:42 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
- Why has @monospace@ formatting been disabled in this Redmine? Bleh!
-
07:36 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
- The problem is caused by my original TCP fallback code reusing a Resolv::DNS::Requester::TCP::Sender object that was initialized for one (the first) nameserver with a Resolv::DNS::Requester::TCP object that was initialized for another (t...
-
07:15 AM Bug #8285 (Closed): Resolv::DNS: TCP fallback fails with multiple resolvers
- Since my TCP fallback support patch from #3835 was merged Resolv::DNS would sometimes fail with a @"host/port don't match: <nameserver>:<port>"@ @Resolv::DNS::Requester::RequestError@ exception in @resolv.rb@, line 818 (Ruby 1.9.1). Thi...
-
07:20 AM Revision a4188556 (git): dir.c: not skip dot directories if matching
- * dir.c (glob_helper): should skip dot directories only for recursion,
but should not if matching to the given pattern. [ruby-core:54387]
[Bug #8283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40345 b2dd03c8-39d4-4d8f-98ff-8... -
07:20 AM Revision c3db44dc (git): pack.c: refix unpack base64
- * pack.c (pack_unpack): increase buffer size to fix buffer overflow,
and fix garbages just after unpacking without missing paddings.
[Bug #8286]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40344 b2dd03c8-39d4-4d8f-98ff-823fe69... -
06:23 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
- On Wed, Apr 17, 2013 at 11:49 AM, Eric Wong <normalperson@yhbt.net> wrote:
> "headius (Charles Nutter)" <headius@headius.com> wrote:
>> I'd like to work with you to find more places we could be sharing
>> frozen strings. A change ... -
03:53 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
- "headius (Charles Nutter)" <headius@headius.com> wrote:
> I'd like to work with you to find more places we could be sharing
> frozen strings. A change over the summer made defined? results always
> be shared frozen strings, and ap... -
12:51 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
- I'd like to work with you to find more places we could be sharing frozen strings. A change over the summer made defined? results always be shared frozen strings, and apparently that was a source of lots and lots of extra string creation ...
-
06:11 AM Revision ca743196 (git): Increase capacity for skipping paddings
- fix for r40342
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:49 AM Bug #8159: Build failure introduced by Rinda changes
- Could you temporally commit the patch because it causes test failure?
-
05:03 AM Revision 3e2fdaf1 (git): * pack.c (pack_unpack): output characters even if the input doesn't
- have paddings. [Bug #8286]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:06 AM Feature #8259: Atomic attributes accessors
- Having some discussions with dbussink on IRC...
I think the most universally correct option is to have two different paths for reference CAS and value CAS, and rely upon users to choose the right one. As dbussink points out, the peopl... -
02:50 AM Feature #8259: Atomic attributes accessors
- dbussink (Dirkjan Bussink) wrote:
> I highly doubt the neverending complaints case, since this I think people using CAS would usually know what they are doing (at least my experience with using constructs like this). The overhead is act... -
02:26 AM Feature #8259: Atomic attributes accessors
- I highly doubt the neverending complaints case, since this I think people using CAS would usually know what they are doing (at least my experience with using constructs like this). The overhead is actually bigger for the numeric case whe...
-
01:08 AM Feature #8259: Atomic attributes accessors
- dbussink (Dirkjan Bussink) wrote:
> What I'm wondering is, do we want to enforce the overhead of numeric CAS for all applications of CAS? Also in the case of numeric handling, the pattern in which I've used CAS most often is that I base... -
01:00 AM Feature #8259: Atomic attributes accessors
- What I'm wondering is, do we want to enforce the overhead of numeric CAS for all applications of CAS? Also in the case of numeric handling, the pattern in which I've used CAS most often is that I base the old value on the existing one, w...
04/17/2013
- 11:21 PM Revision 2446c965 (git): * 2013-04-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:21 PM Revision 97dae8b0 (git): * common.mk (clean-ext): remove timestamps.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:37 PM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
- ko1-san, do you have any opinion on this patch? Is there a simpler solution instead of adding NODE_FILE?
I converted all eval functions inside the VM to use VALUE filename instead of char *filename, so it is easier to re-use existing ... -
07:38 PM Feature #8110: Regex methods not changing global variables
- @naruse @charlie should this be moved to ruby common?
-
02:26 PM Revision a66491ef (git): merge revision(s) 40327:
- fix typo by @zsalzbank [fix GH-289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 PM Revision 80e4d412 (git): * ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:29 PM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
- Charles Nutter <headius@headius.com> wrote:
> Which issue is tracking an exceptionless nonblocking API? Maybe we can
> nudge it forward.
https://bugs.ruby-lang.org/issues/5138
Now that CommonRuby exists, it should probably... -
11:53 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
- On Apr 16, 2013, at 8:42 PM, Eric Wong <normalperson@yhbt.net> wrote:
> How does this compare to an implementation which returns symbols
> like :wait_*able instead of raising exceptions?
It will be more expensive, but mostly becaus... -
10:53 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
- "headius (Charles Nutter)" <headius@headius.com> wrote:
> Perf change for an implementation of this in JRuby:
How does this compare to an implementation which returns symbols
like :wait_*able instead of raising exceptions?
... -
12:33 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
- No comments?
Perf change for an implementation of this in JRuby:
Before:
$ jruby -rbenchmark -rsocket -e "s = TCPSocket.new('google.com', 80); 10.times { puts Benchmark.measure { 100_000.times { begin; s.read_nonblock(1000); res... -
11:43 AM Revision aebb6889 (git): Oops, I forgot to use JST in the ChangeLog entry.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:20 AM Revision cbd8b099 (git): iseq: reduce array allocations for simple sequences
- * compile.c (iseq_add_mark_object): Use new rb_iseq_add_mark_object().
* insns.def (setinlinecache): Ditto.
* iseq.c (rb_iseq_add_mark_object): New function to allocate
iseq->mark_ary on demand. [Bug #8142]
* iseq.h (rb_iseq_add_mar... -
11:01 AM Revision ce6db8f2 (git): * ext/socket/rubysocket.h (SOCKLEN_MAX): Defined.
- * ext/socket/raddrinfo.c (ext/socket/raddrinfo.c): Reject too long
Linux abstract socket name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:55 AM Revision cef6a377 (git): iseq.c: remove duplicated strings for file paths
- * iseq.c (iseq_location_setup): re-use existing string when iseq has
the same path and absolute_path. [Bug #8149]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:04 AM Feature #8273 (Rejected): Make it possible to treat objects as falsy in order to make NullObjects more convenient
- Rejected for the same reason as #6180.
Matz.
-
03:50 AM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
- @headius
I understand your oppositions. IMO, NullObject should be a kind of immutable/singleton object so that object couldn't change its truthiness unless method is redefined. (but in ruby there're already many ways to shoot own leg)
... -
07:32 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- I think that was tossed around on IRC or somewhere. It would certainly work, but it feels a little too hacky to me.
You'd also never be able to rely on the String objects from #backtrace actually being Location-like, since set_backtra... -
04:59 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- Has anyone talked about .backtrace returning a subclass of String (or singleton) which duck-types to the same methods as Location? It is arguably hacky and would not work for === but it would still allow them to be used in a compatible ...
-
02:54 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- What's the next step here? Do we need a patch to proceed? It seems like this feature is universally liked.
-
06:39 AM Revision 626235a6 (git): test_curses.rb: default TERM
- * test/test_curses.rb (TestCurses#run_curses): default TERM
environment variable which is needed by ncurses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:20 AM Revision 385de15d (git): test_readline.rb: try UTF-8
- * test/readline/test_readline.rb (test_completion_encoding),
(test_input_metachar_multibyte): try to run under UTF-8 locale,
before skipping.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:20 AM Revision a24b6d3f (git): envutil.rb: env hash
- * test/ruby/envutil.rb (assert_separately): keep environment hash
first if exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:57 AM Feature #8259: Atomic attributes accessors
- The "while true" loop is there in order to re-check if the value is == after a change. My justification is that the only atomic part of this is the final CAS, but we want to pretend that the whole == + CAS is atomic; so this loops until ...
-
03:53 AM Feature #8259: Atomic attributes accessors
- Charles, I really sure there is no need for `while true` in your numeric
handling cas -
the nature of cas is "change if no one changes yet", so that your `while
true` violates natures of cas.
2013/4/16 headius (Charles Nut... -
03:33 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- naruse (Yui NARUSE) wrote:
> headius (Charles Nutter) wrote:
> ...
Yes, I can write it. I'll try to figure out all appropriate places and let you know if I don't have access.
I'll write *something* in CommonRuby wiki page that descr... -
03:21 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- headius (Charles Nutter) wrote:
> @naruse: I will try to summarize what implementation of this proposal will involve:
> ...
Whether this documentation is a content of www.ruby-lang.org or wiki page of CommonRuby?
And could you write i... -
12:13 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- @naruse: I will try to summarize what implementation of this proposal will involve:
Required changes:
* CommonRuby becomes the project for feature requests.
* It moves to top-level on bugs.ruby-lang.org.
* Documentation about how... -
03:12 AM Feature #8275: Add Module#public_const_get
- rkh (Konstantin Haase) wrote:
> I was considering a boolean. However, const_get already takes a boolean argument indicating whether or not to include inherited constants, and two boolean arguments would not make a readable API, I guess.... -
03:02 AM Feature #8275: Add Module#public_const_get
- I was considering a boolean. However, const_get already takes a boolean argument indicating whether or not to include inherited constants, and two boolean arguments would not make a readable API, I guess.
Maybe this would be a good us... -
02:55 AM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
- marcandre: Have you had a chance to prototype what you were talking about? I'll be on #jruby Freenode IRC today if you want to chat about a prototype impl.
-
02:53 AM Feature #6308: Eliminate delegation from WeakRef
- Here's a patch that removes delegation from Weakref: https://github.com/headius/ruby/commit/431b971a147daf8a9b2185d117580a842f3c8dfc
One test was no longer really relevant (and not adding anything), and others were modified to reflect... -
02:36 AM Feature #6308: Eliminate delegation from WeakRef
- Moving into CommonRuby
-
02:39 AM Revision 9efcd103 (git): assertions.rb: remove UNASSIGNED
- * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
UNASSIGNED is not a valid message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 AM Revision 9e39bc1a (git): thread.c: fix overflow on Windows
- * thread.c (sleep_timeval): get rid of overflow on Windows where
timeval.tv_sec is not time_t but mere long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:17 AM Revision 08f52b05 (git): * 2013-04-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:16 AM Revision e9a61266 (git): fix typo by @zsalzbank [fix GH-289]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:39 AM Feature #8239: Inline rescue bug
- I also think this is a bug, but it may not be backported because of backward compatibility.
-
12:24 AM Feature #7701: Non-optional (required) keyword args
- Oh, a question... target version will be 2.1, yes?
-
12:23 AM Feature #7701: Non-optional (required) keyword args
- Oh, excellent! I had not noticed this was completed until today.
Thanks, everyone! -
12:20 AM Feature #8270: Ruby should build without thread support (aka minix)
- nobu (Nobuyoshi Nakada) wrote:
> I have never played with it at all.
> ...
I'd be very surprised if minix ever added threads. Heck, I'm surprised minix is under any sort of development at all. -
12:04 AM Feature #8096: introduce Time.current_timestamp
- phluid61 (Matthew Kerwin) wrote:
> Actually since making the jruby branch, and based on some conversations here, I have changed the API of the gem (and the C implementation in master) to define a monotonic Time.timestamp method and a Ti...
04/16/2013
-
11:58 PM Feature #8275: Add Module#public_const_get
- What about an optional boolean for the existing const_get/const_set that indicates whether private constants should be included?
I guess having separate methods does align with public_instance_method and friends, though. -
08:02 PM Feature #8275: Add Module#public_const_get
- =begin
And vice-versa for set too maybe
(({Module#public_const_set}))/
(({Module#private_const_set}))
=end -
06:28 PM Feature #8275 (Open): Add Module#public_const_get
- Right now, `const_get` will always return a constant, no matter the visibility, which is probably what we want most of the time. But if you for instance have code that does some automatic name to constant resolution, you might now want t...
-
11:54 PM Feature #8259: Atomic attributes accessors
- I have completed adding the numeric logic to the atomic gem and pushed 1.1.8.
The version for JRuby is here: https://github.com/headius/ruby-atomic/blob/master/ext/org/jruby/ext/atomic/AtomicReferenceLibrary.java#L129
The version f... -
01:54 PM Feature #8259: Atomic attributes accessors
- Comparison of two numeric values *should* be consistent and unchanging, or else I feel that various contracts of numbers are being violated. In Java, this is handled by having numeric values be primitives, and therefore all representatio...
-
01:42 PM Feature #8259: Atomic attributes accessors
- Comparison is not atomic. It is used to be ensure, we could use value, stored in @ivar for real CAS. Semantic of method at whole doesn't change, cause if comparison fails, then CAS will fail also.
-
10:59 AM Feature #8259: Atomic attributes accessors
- Why do you consider comparison atomic?
-
08:09 AM Feature #8259: Atomic attributes accessors
- FYI, link to a current issue with the atomic gem I'm fixing using a loop + == + CAS: https://github.com/headius/ruby-atomic/issues/19
-
06:34 AM Feature #8259: Atomic attributes accessors
- funny_falcon (Yura Sokolov) wrote:
> I think, @ivar access should not be volatile as in any other language,
> ...
Agreed. The dynamic nature by which @ivar can be instantiated makes marking them as volatile very tricky, on any implemen... -
11:51 PM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
- @rosenfeld That would certainly be less impact, but not zero-impact. I do not have a strong opinion one way or the other on that sort of change, but I still suspect it's unlikely to be approved. Changing the semantics of truthiness is a ...
-
09:07 PM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
- I should agree with Charles although I understand Ilya's concerns. Maybe another attempt to get this implemented would be simply requesting native support for a NullObject class in such a way that falsey would be either false, nil or an ...
-
01:45 PM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
- I think you might have submitted this before, but I'd like to enter my *strong* opposition to this.
* It most definitely would affect performance. Any language construct that needs to check for truthiness would suddenly have to do a m... -
08:11 AM Feature #8273 (Rejected): Make it possible to treat objects as falsy in order to make NullObjects more convenient
- NullObject is quite a useful pattern. But refactoring from conditionals to null-object can be very painful because an instance of NullObject will be treated as truthy so code `... if obj` can change its behavior. It'd be great to treat s...
-
09:39 PM Bug #8279 (Closed): Single-line rescue parsing
- Hi,
there seems to be a bug in parser for single-line rescue statement. It fails in case of multiple assignment statements, keeping operator precedence vs. simple assignment etc.
obj = expression rescue objval
# parsed as
obj = (... -
09:02 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- Just for the record, I'm +1 and I'm not an implementer. I'm only interested in the Ruby language discussion itself and the bug reports are noise to me as well. I'd love if it would be possible for me to follow only issues requesting chan...
-
04:37 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- I still don't understand why headius want to do this and it is reasonable, but I understand what he want to do.
So I can try to do it.
How do you think, matz? -
03:41 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- duerst (Martin Dürst) wrote:
> I wanted to oppose a more formal process because I think it's
> ...
I agree. This is more a cosmetic change. But I think it's an important one.
It also feels to me like it would be easier to clean up... -
03:29 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- On 2013/04/16 5:35, headius (Charles Nutter) wrote:
>
> Issue #8271 has been reported by headius (Charles Nutter).
>
> ----------------------------------------
> Feature #8271: Proposal for moving to a more visible, formal process ... -
01:50 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- I should say...if feature requests for bundled libraries are currently marked as "feature" in trunk, they'd just be in CommonRuby now. If they're not, they would not be.
-
01:49 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- naruse (Yui NARUSE) wrote:
> People can't make feature request other than trunk.
> ...
Sorry, I think I was confused by the old Ruby 1.8 project, which did have "Feature".
> > * Ability to add fields to "feature" issues that do not ... -
09:44 AM Feature #8271 (Assigned): Proposal for moving to a more visible, formal process for feature requests
- > * No confusion about where feature requests should be filed. Currently, people usually file feature requests against "trunk", but sometimes against version-specific projects. It's also valid to say that a feature improvement or clarifi...
-
06:17 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- I wonder if issues for Ruby can have a simple front-end wizard where new users will get funneled to the correct system. Once you are experienced you can go straight to the proper redmine project but new users will find the issues link o...
-
05:40 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- A correction...
The latter governs all visible feature changes to Python independent of bug reports to the main "CPython" implementation.
should read
The former governs all visible feature changes to Python independent of bug re... -
05:37 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
- For reference, the current CommonRuby project in Redmine is here: https://bugs.ruby-lang.org/projects/common-ruby
-
05:35 AM Feature #8271 (Assigned): Proposal for moving to a more visible, formal process for feature requests
- Proposal for moving to a more visible, formal process for feature requests.
1. Introduction
In order to make it clear that an issue or change to MRI is a visible feature change all implementations will need to consider implementing... -
06:20 PM Feature #8096: introduce Time.current_timestamp
- headius (Charles Nutter) wrote:
> phluid61 (Matthew Kerwin) wrote:
> ...
Actually since making the jruby branch, and based on some conversations here, I have changed the API of the gem (and the C implementation in master) to define a m... -
02:21 PM Feature #8096: introduce Time.current_timestamp
- JRuby patch to add Time.timestamp/current_timestamp and Time.microtime: https://gist.github.com/headius/5393552
This is based on system time (System.currentTimeMillis), not CPU time (System.nanoTime) as in the 'jruby' branch of pluid6... -
02:10 PM Feature #8096: introduce Time.current_timestamp
- phluid61 (Matthew Kerwin) wrote:
> There is this: https://github.com/phluid61/timestamp-gem
> ...
You're pretty close. System.nanoTime is probably the closes thing to your "timestamp", but as kosaki points out it's not guaranteed to be ... -
05:07 PM Feature #8270: Ruby should build without thread support (aka minix)
- I have never played with it at all.
"does not yet" means there is a plan to implement? -
03:20 PM Feature #8270: Ruby should build without thread support (aka minix)
- Minix...hard core. I haven't played with that in...20 years?
Perhaps for such a limited system you can just use an older Ruby or mruby (Matz's eMbedded Ruby)? -
04:04 AM Feature #8270 (Assigned): Ruby should build without thread support (aka minix)
- I tried to ./configure ruby on Minix 3.2.1,
The configure failed, because minix does not yet implement threads.
I'd like to suggest that ruby should still build on platforms without threads.
AFAIK the language does not yet require... -
05:03 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
- More tests may be needed.
-
04:59 PM Bug #7829: Rounding error in Ruby Time
- On Apr 16, 2013, at 12:44 AM, David MacMahon wrote:
^^^^^^^^^^^^
> Please see my other reply to this topic that crossed paths with yours.
>
> Dave
>
> On Feb 11, 2013, at 5:48 PM, drbrain (Eric Hodel) wrote:
^^^^^^^^^^... -
04:53 PM Bug #7829: Rounding error in Ruby Time
- I think using floor is correct when reducing the precision of time. We don't round "15:00 on Monday" to "Tuesday", it's still Monday. Likewise, we don't round "July 15, 2012" to "2013", it's still 2012. Why should we round "859999" m...
-
04:29 PM Bug #7829: Rounding error in Ruby Time
- On Apr 10, 2013, at 9:36 PM, Zachary Scott wrote:
> So is this a documentation bug? I haven't read the entire discussion
The discussion has wandered some from the original bug report. I don't think there is consensus yet on the d... -
04:20 PM Revision fb6713bd (git): merge revision(s) 39600:
- test_method.rb: reduce iteration
* test/ruby/test_method.rb (TestMethod#test_bound_method_entry):
reduce iteration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:24 PM Feature #7149: Constant magic for everyone.
- const_assigned is not a bad hook at all, imho.
-
02:53 PM Bug #8274 (Closed): No tests for PKCS7::write_smime
- There are no tests for OpenSSL::PKCS7::write_smime.
That is all :-)
A recent pull request for JRuby attempts to implement write_smime, but we have no way to confirm it is working correctly (and I do not understand it well enough to... -
02:09 PM Revision b4909876 (git): merge revision(s) 40322:
- fix ENV.to_a rdoc example by @benolee [fix GH-288]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:07 PM Revision a294d458 (git): * ext/socket/unixsocket.c (unix_send_io): Suppress a warning by clang.
- (unix_recv_io): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:49 PM Revision b3f5b73a (git): merge revision(s) 40318:
- fixed wrong value by @taksatou [fix GH-287]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 PM Bug #8204: ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums
- > x = (1 << 100).coerce(42).first # => 42
> ...
It's a Feature.
Numeric#coerce must return a pair of converted interoperable values.
In future version, Fixnum and Bignum might be merged.
However, these commits do not intend it.
... -
11:04 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
- At least, gcc 4.7 on Debian 7 and MacPorts work fine with -ggdb3, so it's not gcc 4.7 specific.
-
11:02 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
- Could you show your config.log?
-
08:16 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
- What is $target_os in configure on SmartOS?
-
09:25 AM Feature #8265 (Rejected): -0.0 does not have a Flonum like 0.0
- It seems not practical problem.
Please reopen this ticket if you find real problem.
(for example, there are too many -0.0 objects in your program and it beats performance)
-
06:41 AM Bug #7584 (Closed): Ruby hangs when shutting down an ssl connection in gc finalization
- Great, thanks for checking! I'll close this, too, then. If anyone still runs into this or a similar issue, please let me know!
-
06:29 AM Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
- Looks like that fixes it! I was unable to reproduce with "ruby 2.1.0dev (2013-04-15 trunk 40308) [x86_64-linux]".
-
06:28 AM Revision da91385f (git): fix ENV.to_a rdoc example by @benolee [fix GH-288]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:03 AM Feature #8257: Exception#cause to carry originating exception along with new one
- rkh (Konstantin Haase) wrote:
> I think allowing rescue lines to take other objects besides modules would this would greatly ease building something in user code:
...
> ...
Yeah, it might be nice, but there might also be optimization ... -
05:56 AM Revision 8d1d9fc1 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:45 AM Feature #8272 (Open): Transfer feature tracking to CommonRuby
- If my proposal in #8271 is accepted, we'll need to:
1. Document in appropriate places that CommonRuby is the place to file and track feature changes. Examples of such places: bugs.ruby-lang.org top-level page, pages for the existing "... -
03:28 AM Revision 45b3c3ac (git): * ext/sdbm/init.c: Fix comment indentation, by windwiny [Fixes GH-277]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 AM Revision 3a7a773a (git): * ext/socket/option.c: Document synonymous methods, by windwiny [GH-277]
- * ext/stringio/stringio.c: ditto
* ext/io/wait/wait.c: ditto
* ext/gdbm/gdbm.c: ditto
* ext/dl/cfunc.c: ditto
* ext/zlib/zlib.c: ditto
* ext/win32ole/win32ole.c: ditto
* ext/dbm/dbm.c: ditto
* ext/json/generator/generator.c: ditto
* ext/... -
02:31 AM Revision bbf0ea6b (git): fixed wrong value by @taksatou [fix GH-287]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:24 AM Revision 13d18f27 (git): * 2013-04-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:24 AM Revision a152c41e (git): * ext/openssl/*: Document synonymous methods, by windwiny [GH-277]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/15/2013
-
10:32 PM Feature #8269 (Feedback): stdlib: Add Find.each_file to accompany Find.find
- Often when I use the find module, I am only interested in files.
Since Find.find returns files and directories, I often write code
that looks like this:
Find.find('foo/bar') do |f|
next if File.directory? f
code code code ...
... -
07:38 PM Feature #8258: Dir#escape_glob
- nobu (Nobuyoshi Nakada) wrote:
> It reminded me about old proposal, `Dir#glob` (not `Dir.glob`).
Interesting, do you have a link? -
09:23 AM Feature #8258: Dir#escape_glob
- (13/04/14 18:34), Eregon (Benoit Daloze) wrote:
> I guess the most common use case is globbing on a directory recursively, so only the base directory is to be escaped, but this is not worth a specific method I think and could be done ea... -
07:29 AM Feature #8258: Dir#escape_glob
- rkh (Konstantin Haase) wrote:
> > - Rubinius does not handle escaped `[`, `{` and `}`.
> ...
But it means the problem will not be solved in the general case before a while.
It must also have been problematic for some time, so I guess ... -
04:41 PM Feature #8265: -0.0 does not have a Flonum like 0.0
- for me it doesnt make much sense that some Floats have fixed object_ids and some Floats does have not, so i think, when fixed ids are possible than they should be for much of them as possible
-
08:50 AM Feature #8265 (Feedback): -0.0 does not have a Flonum like 0.0
-
06:04 AM Feature #8265: -0.0 does not have a Flonum like 0.0
- > i think that -0.0 should have fixed object_id too
Why? -
04:34 PM Revision 3a645975 (git): merge revision(s) 40181: [Backport #8183]
- * lib/cgi/util.rb (CGI::unescapeHTML): fix Hexadecimal numeric character.
[Bug #8183]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:33 PM Revision e3dbba34 (git): merge revision(s) 39814,39815: [Backport #8117]
- * configure.in: Fix c++ compiler auto-selection not only for
Darwin 11.x, but also the other versions of Darwin.
* configure.in: set ac_cv_prog_cxx if CXX is supplied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran... -
04:27 PM Revision 36eb3366 (git): revert r40311(merge revision(s) 40117,40118).
- It breaks rubyci tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 PM Bug #8268 (Closed): ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
- When compiling ruby from source on Smart OS, which uses gcc-4.7, the configure script fails to correctly detect a compatible debug flag. It chooses "-ggdb3" which doesn't work, and this causes all of the conftest.c compilations to fail a...
-
03:28 PM Revision ed1d6660 (git): merge revision(s) 40124: [Backport #8220]
- * compile.c (iseq_compile_each): fix of defined? with empty
expression. [ruby-core:53999] [Bug #8220]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:19 PM Revision d9aa81ea (git): merge revision(s) 40117,40118: [Backport #8222]
- * test/test_curses.rb: tests for getch.
* ext/curses/curses.c (Init_curses): fix implementation function,
crmode should be same as cbreak. [ruby-core:54013] [Bug #8222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra... -
02:09 PM Revision 7514d35d (git): merge revision(s) 40301:
- * dir.c (File.fnmatch): fix typo in documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:04 PM Revision 8a288166 (git): merge revision(s) 40299:
- * string.c (String#gsub): fix typo in documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:22 PM Revision 582ba0a5 (git): * ext/fiddle/depend: New file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:15 PM Revision 7190cc5d (git): misc/ruby-electric.el: Decrease the excess voltage of automatic matching.
- * misc/ruby-electric.el (ruby-electric-closing-char): New
interactive function bound to closing characters. Typing one of
those closing characters right after the matching counterpart
cancels the effect of automatic closing. For ... - 01:15 PM Revision ed3b657d (git): misc/ruby-electric.el: Minor refactoring.
- * misc/ruby-electric.el (ruby-electric-insert): Check
ruby-electric-is-last-command-char-expandable-punct-p here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 PM Feature #8237: Logical method chaining via inferred receiver
- wardrop (Tom Wardrop) wrote:
> =begin
> ...
If you want your request to be taken seriously your example usage should show that you have thoroughly considered how this feature will be used, how it will effect existing code, and the edge... -
11:06 AM Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
- Bob, could you please check if the patch applied in https://bugs.ruby-lang.org/issues/8240 fixed this? Thanks!
-
05:58 AM Revision e80d0a96 (git): merge revision(s) 34306:
- * ext/json/parser/parser.rl (json_string_unescape): workaround fix
for over optimization of GCC 4.7. [ruby-core:42085] [Bug #5888]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51862
git-svn-id: svn+ssh://ci.ruby-lang... -
02:04 AM Revision d6b1ab91 (git): * ext/openssl/ossl_ssl.c: Correct shutdown behavior w.r.t GC.
- * test/openssl/test_ssl.rb: Add tests to verify correct behavior.
[Bug #8240] Patch provided by Shugo Maeda. Thanks!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:00 AM Revision a840645f (git): merge revision(s) 34278:
- * cont.c (cont_restore_0): prevent optimizing out `sp'. sp is used for
reserving a memory space with ALLOCA_N for restoring machine stack
stored in cont->machine_stack, but clang optimized out it (and
maybe ... -
01:26 AM Feature #8110: Regex methods not changing global variables
- You may misunderstand, unlike Perl, Ruby's setting global variable cost is small.
Ruby only set a MatchData object to its scope.
$~ (Regexp.last_match) gets it.
The implementation of $& (Regexp.last_match[0]), $` (Regexp.last_match.pr... -
01:24 AM Revision e4f6efcc (git): * ext/coverage/depend: fix id.h place as r40283.
- * ext/coverage/extconf.rb: add topdir and topsrcdir to VPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/14/2013
-
11:19 PM Feature #8110: Regex methods not changing global variables
- headius (Charles Nutter) wrote:
> Crazy idea: what if in the future you needed to set $~ to nil in order for it to be settable by downstream calls (e.g. regexp match)? It would eliminate a great deal of magic and treat those calls the s... -
10:38 PM Revision 37a350db (git): * dir.c (File.fnmatch): fix typo in documentation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:38 PM Revision 3759c137 (git): * 2013-04-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:38 PM Revision f861a74e (git): * string.c (String#gsub): fix typo in documentation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:33 PM Feature #8257: Exception#cause to carry originating exception along with new one
- I think allowing rescue lines to take other objects besides modules would this would greatly ease building something in user code:
def caused_by(matcher)
block = proc do |exception|
matcher === exception or exception.cause && ... -
10:27 PM Feature #8258: Dir#escape_glob
> - Rubinius does not handle escaped `[`, `{` and `}`.
> ...
These are implementation bugs, imo, and nothing to worry about here.
> If I am not mistaken, escaping is as simple as: `dir.gsub(/\[|\]|\*|\?|\{|\}/, '\\\\' + '\0')`.
...-
08:39 PM Feature #8258: Dir#escape_glob
- What is more worrying is implementations differ quite a bit in treating `\` as an escape for these glob characters `({,},[,],*,?)`.
From my tests:
- MRI handle them fine
- Rubinius does not handle escaped `[`, `{` and `}`.
- JRuby ... -
06:34 PM Feature #8258: Dir#escape_glob
- headius (Charles Nutter) wrote:
> rkh (Konstantin Haase) wrote:
> ...
I agree, this would be strictly superior.
I guess the most common use case is globbing on a directory recursively, so only the base directory is to be escaped, bu... -
03:58 PM Feature #8265 (Rejected): -0.0 does not have a Flonum like 0.0
- =begin
with Flonum,
fixed id for 0.0
(0.0).object_id #=> -9223372036854775806
(0.0).object_id #=> -9223372036854775806
non-fixed id for -0.0
(-0.0).object_id #=> 22387560
(-0.0).object_id #=> 22381340
i think that -0.... -
03:45 PM Revision 108d1632 (git): merge revision(s) 39967: [Backport #8193]
- * time.c (num_exact): use to_r method only if to_int method is
available.
[ruby-core:53764] [Bug #8173] reported by Hiro Asari.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40298 b2dd03c8-39d4-4d8... -
03:36 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
- It seems to me that a full backtrace can safely be generated (patch against trunk attached).
The one line backtrace behavior was introduced with this patch: https://github.com/shyouhei/ruby/commit/ecd11fb371b5f4a00d0b0006b325de3c5437b... -
03:22 PM Revision 844f78f5 (git): merge revision(s) 39817: [Backport #8116]
- * ext/objspace/objspace.c: Fix typo in doc. Patch by Sho Hashimoto.
[Bug #8116] [ruby-dev:47177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:20 PM Revision f3c5e92d (git): merge revision(s) 40015: [Backport #8197]
- doumentation by @toolmantim [GH fixes #270]
* timeout.rb: Document Timeout::timeout 0 and nil argument behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:19 PM Revision 3ed62b8e (git): merge revision(s) 40014: [Backport #8199]
- Document the default Net timeout values by @toolmantim [GH fixes #269]
* lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40295 b2dd03c8-39d4-4d8... -
03:17 PM Revision c6c33ec6 (git): merge revision(s) 40013,40032: [Backport #8188]
- * class.c (HAVE_METACLASS_P): should check FL_SINGLTON flag before get
instance variable to get rid of wrong warning about __attached__.
[ruby-core:53839] [Bug #8188]
* class.c (HAVE_METACLASS_P): should chec... -
03:13 PM Revision 5525ff19 (git): merge revision(s) 40003: [Backport #7996]
- * win32/file.c (code_page): use cp1252 instead of cp20127 as US-ASCII.
fix [ruby-core:53079] [Bug #7996]
reported and patched by mmeltner (Michael Meltner).
reported by mitchellh (Mitchell Hashimoto).
git-... -
03:10 PM Revision 5b2ea4e5 (git): merge revision(s) 39987,39993,39998: [Backport #8174]
- * include/ruby/io.h: rename SVR3,4 member names as POSIX compliants,
to get rid of conflict on AIX. [ruby-core:53765] [Bug #8174]
* include/ruby/io.h: undef POSIX compliants names on AIX, which are no
longer... -
02:55 PM Revision 303568e6 (git): merge revision(s) 39994: [Backport #6504]
- * lib/mkmf.rb (configuration): not include all CFLAGS in CXXFLAGS, to
use different set than C for C++. [ruby-core:45273] [Bug #6504]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40291 b2dd03c8-39d4-4d8f-9... -
02:47 PM Revision aa69372c (git): merge revision(s) 40216: [Backport #8266]
- * ext/fiddle/closure.c (initialize): check mprotect's return value.
If mprotect is failed because of PaX or something, its function call
will cause SEGV.
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/2013... -
02:39 PM Revision 5e17378c (git): merge revision(s) 39958,39989: [Backport #8169]
- * lib/mkmf.rb (MAIN_DOES_NOTHING): force to refer symbols for tests
to be preserved. [ruby-core:53745] [Bug #8169]
* lib/mkmf.rb (MAIN_DOES_NOTHING): ensure symbols for tests to be
preserved. [ruby-core:537... -
11:48 AM Revision 6f23ad6a (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:48 AM Revision 788b45da (git): * ext/-test-/debug/depend: New file.
- * ext/-test-/exception/depend: Ditto.
* ext/-test-/printf/depend: Ditto.
* ext/-test-/string/depend: Ditto.
* ext/coverage/depend: Ditto.
* ext/io/console/depend: Ditto.
* ext/io/nonblock/depend: Ditto.
* ext/io/wait/depend: Ditto.... -
09:34 AM Feature #7701: Non-optional (required) keyword args
- Thanks, the BTS seems missing the commit.
I've thought this ticket had been closed already. -
01:55 AM Feature #7701 (Closed): Non-optional (required) keyword args
- I think it was committed at r39735.
-
02:57 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- Eregon (Benoit Daloze) wrote:
> Although I am not sure of the importance of having TAU. One PI is fine for unit conversions as well as computing the area of a circle. But there are also many cases of 2*PI, which sounds less-than-ideal.
... -
02:05 AM Bug #8139 (Closed): keyreq and keyrest
- It is a bugfix about require keyword arguments which is a new feature of 2.1. [Feature #7701]
No need to backport. sorry.