Activity
From 12/08/2013 to 12/14/2013
12/14/2013
-
10:34 PM Revision b3348ddd (git): envutil.rb: reduce wait
- * test/ruby/envutil.rb (EnvUtil.diagnostic_reports): reduce watching
interval.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:34 PM Revision b4644182 (git): test_process.rb: handshake
- * test/ruby/test_process.rb: handshake by pipe instead of sleep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:09 PM Revision 23201ab1 (git): * lib/rdoc: Update to RDoc master 263a9e5. This improves the
- accessibility of the search box.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:03 PM Revision 0b84ee8f (git): test_thread.rb: timing issues
- * test/ruby/test_thread.rb: get rid of timing issues and reduce
sleep times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:03 PM Revision 8d0b8c87 (git): test_thread.rb: assert_operator for comparison
- * test/ruby/test_thread.rb (test_priority): use assert_operator
for comparison instead of assert_send.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:46 PM Revision 637585d9 (git): test_fiber.rb: remove core
- * test/ruby/test_fiber.rb (TestFiber#invoke_rec): remove core dump
files by stack overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:28 PM Revision e6147745 (git): * lib/rubygems/basic_specification.rb: Update to RubyGems master
- 9c718fe. Removes code duplication.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:53 PM Bug #8756: SEGFAULT caused by `p Struct.new(:q?).instance_methods`
- r42479, r43083, r43085 seem also needed.
- 06:27 PM Revision eb54578a (git): * 2013-12-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:26 PM Revision 4618b7f2 (git): [DOC] Fix output of Shellwords.escape() by @anatol [Fixes GH-483]
- * lib/shellwords.rb: Fix output of Shellwords.escape()
https://github.com/ruby/ruby/pull/483
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:39 PM Bug #8993 (Closed): Request for clarification on method argument binding for keyword arguments
- This issue was solved with changeset r44207.
Jon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_insnhelper.c: post arguments as mandatory
* vm_insnhelper.c (v... -
09:51 AM Bug #8993: Request for clarification on method argument binding for keyword arguments
- This is a bug and JRuby's behavior is correct.
-
01:53 AM Bug #8993 (Assigned): Request for clarification on method argument binding for keyword arguments
- @nobu can you confirm this as a bug?
Perhaps it's simply a doc bug like #8905 and #8952
Please reassign to me if it's a doc bug. -
04:26 PM Bug #9160 (Closed): configureに--with-rubylibprefixを指定するとrbconfigのprefixが空文字になる
- This issue was solved with changeset r44205.
Wataru, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: unexpand exec_prefix in rubylibprefix
* configur... -
02:32 PM Bug #9160: configureに--with-rubylibprefixを指定するとrbconfigのprefixが空文字になる
- configure.inへのパッチを作りました。
libdirと同じようにexec_prefixで置き換えを行うようにします。
-
04:19 PM Feature #8201: Turn off builded colorizing
- Good Day!
Which version of ruby have resolved issue?
2.0.0-p353 still have problem.
-
03:33 PM Bug #9200: Segmentation Fault in jason 1.8.1 parser with Ruby 2.0.0 p353
- I just had this similar crash. I'm a newbie, trying to go thru the Ruby on Rails Tutorial. I just ran rails generate scaffold User name:string email:string and got a segmentation fault. This is on OS/X, same ruby version, and same jso...
-
02:48 PM Revision 65b9ee08 (git): * lib/debug.rb: [DOC] Fix typo
- s/useage/usage/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:43 PM Bug #9133 (Closed): logger rotates log files more than expected
- This issue was solved with changeset r44203.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
logger.rb: fix extra log ratation
* lib/logger.rb (lock_shif... -
02:17 PM Feature #7508 (Closed): Clean up some more calls to rb_intern() - nobu: I'll close this ticket - the patch is unlikely to still apply cleanly.
-
11:41 AM Feature #7508: Clean up some more calls to rb_intern()
- Why not idCmp and idPow in array.c?
-
01:33 PM Feature #6309: Add a reference queue for weak references
- My PR: https://github.com/ruby/ruby/pull/480
-
11:55 AM Bug #7940 (Closed): Mistaken use of inline rescues in stdlib
- This issue was solved with changeset r44196.
Mon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
scanf.rb: fix rescue modifier
* lib/scanf.rb (IO#scanf): fix mist... -
11:45 AM Bug #7772 (Closed): Consider bumping stack size in ruby_qsort
- This issue was solved with changeset r44195.
Conrad, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
util.c: bump stack size in ruby_qsort()
* util.c (ruby_qsort):... -
11:25 AM Feature #7414 (Closed): Now that const_get supports "Foo::Bar" syntax, so should const_defined?.
- This issue was solved with changeset r44194.
Robert, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
object.c: nested path const_defined?
* object.c (rb_mod_const_... -
10:56 AM Revision cc0181ca (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:54 AM Revision adb1ee65 (git): [DOC] Correct a couple of typos in comments by @dvsuresh [Fixes GH-482]
- * doc/ChangeLog-YARV: Correct a typo in comment
* lib/rubygems/specification.rb: ditto.
* test/rexml/data/tutorial.xml: ditto.
* test/ruby/test_settracefunc.rb: ditto.
* tool/instruction.rb: ditto.
https://github.com/ruby/ruby/pull... -
10:28 AM Bug #9173 (Rejected): rb_sprintf %li format specifier does not work correctly with long values and can cause Ruby to crash
-
10:14 AM Bug #9236: include + include + alias_method + super behaviour inconsistency between 1.9 and 2.0
- Confirmed the fix. Thanks!
-
09:46 AM Bug #9138: make initialize_copy private
- Isn't initialize_copy already private (as it should be)?
ObjectSpace.each_object(Class).reject {|k| k.private_method_defined?(:initialize_copy)}
# => [BasicObject] -
01:48 AM Bug #9138: make initialize_copy private
- Going to postpone this until 2.2
-
08:43 AM Feature #8909 (Rejected): Expand "f" frozen suffix to literal arrays and hashes
- "f" suffix has been removed from string literals.
-
08:39 AM Revision 91afce9a (git): vm_insnhelper.c: post arguments as mandatory
- * vm_insnhelper.c (vm_callee_setup_arg_complex): count post
arguments as mandatory arguments. [ruby-core:57706] [Bug #8993]
* vm_insnhelper.c (vm_yield_setup_block_args): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44207... -
07:50 AM Bug #9005 (Assigned): object.send(:define_method, ...){...} creates private method
-
07:43 AM Feature #8773: Binding#local_variables should work like #local_variable_set and #local_variable_get
- Sounds reasonable.
-
07:38 AM Revision 1ec457c2 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:26 AM Revision 36e9f58d (git): configure.in: unexpand exec_prefix in rubylibprefix
- * configure.in (rubylibprefix): replace exec_prefix as well as
bindir and libdir. a patch by kimuraw (Wataru Kimura) at
[ruby-dev:47852]. [Bug #9160]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44205 b2dd03c8-39d4-4d8f-98ff-... -
07:26 AM Revision c1ffaef8 (git): * doc/contributing.rdoc: [DOC] Correct spelling by @dvsuresh [Fixes GH-481]
- https://github.com/ruby/ruby/pull/481
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:43 AM Revision 95ed0816 (git): logger.rb: fix extra log ratation
- * lib/logger.rb (lock_shift_log): no need to rotate the log file
if it has been rotated by another process. based on the patch
by no6v (Nobuhiro IMAI) in [ruby-core:58620]. [Bug #9133]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t... -
05:42 AM Revision 742659cb (git): envutil.rb: refine messages
- * test/ruby/envutil.rb (assert_file_predicate): place rest
arguments after predicate name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:17 AM Revision 7f83b787 (git): Additional test coverage to Enumerator#peek.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 AM Revision 14557c78 (git): Additional test coverage to Dir class. Dir['**/*'] should not resolve symlinks.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 AM Revision cb707669 (git): Additional test coverage to DateTime comparison (sub millisecond).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:02 AM Revision b83d68a3 (git): proc.c: method by respond_to_missing?
- * proc.c (mnew_from_me): method by respond_to_missing? should be
owned by the original class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:38 AM Revision a370556c (git): object.c: check const names
- * object.c (rb_mod_const_get, rb_mod_const_defined): check
constant names more strictly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:55 AM Revision 1e4a9554 (git): scanf.rb: fix rescue modifier
- * lib/scanf.rb (IO#scanf): fix mistaken use of rescue modifier.
a patch by Mon_Ouie at [ruby-core:52813]. [Bug #7940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 AM Revision fcd78874 (git): util.c: bump stack size in ruby_qsort()
- * util.c (ruby_qsort): fix potential stack overflow on a large
machine. based on the patch by Conrad Irwin <conrad.irwin AT
gmail.com> at [ruby-core:51816]. [Bug #7772]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44195 b2dd0... -
02:25 AM Revision 241ca7bf (git): object.c: nested path const_defined?
- * object.c (rb_mod_const_defined): support nested class path as
well as const_get. [Feature #7414]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:24 AM Revision a68c69d1 (git): object.c: remove unnecessary assignment
- * object.c (rb_mod_const_get): remove unnecessary assignment and
set path together.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:24 AM Revision db318509 (git): object.c: fix typo
- * object.c (rb_mod_const_get): fix typo. should use SYM2ID() not
ID2SYM().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 AM Revision c74995b2 (git): ChangeLog: fix commit miss
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:11 AM Revision ae1a4664 (git): object.c: fix r44189
- * object.c (rb_mod_const_get): already interned junk name may be
valid nested class path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 AM Revision 33fddfe5 (git): object.c: optimize rb_mod_const_get for symbol
- * object.c (rb_mod_const_get): Symbol must be the entire name, not
a nested constant path, so achieve by its ID directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:47 AM Bug #9152: Relic documentation in lib/xmlrpc/client.rb
- Some other instances of RAA found in the docs:
lib/erb.rb:255:# * and others; search the RAA.
lib/net/smtp.rb:79: # try RubyMail or TMail. You can get both libraries from RAA.
lib/xmlrpc/client.rb:80: # Note, that you need the S... -
01:19 AM Revision c0abb5e5 (git): * ext/psych/yaml/emitter.c: Fix typo in the variable name
- s/preceeded/preceded/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:11 AM Bug #9247 (Closed): Bugs in socket.rb (exception retrieval)
- This issue was solved with changeset r44184.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/lib/socket.rb: Don't test $! in "ensure" clause be... -
12:19 AM Bug #9247 (Assigned): Bugs in socket.rb (exception retrieval)
-
12:19 AM Bug #9247: Bugs in socket.rb (exception retrieval)
- I think the following code can reproduce the full cases:
# https://gist.github.com/mrkn/7945798
require 'socket'
# Addrinfo#connect_internal
puts "(1) Addrinfo#connect (connect_internal)"
begin
raise
rescue
... -
12:25 AM Bug #9192: Inconsistent comparison between Float and BigDecimal
- marcandre (Marc-Andre Lafortune) wrote:
> 1) I disagree with this change. Is it possible to know why you decided to ignore my recommendation without even commenting on it?
I'm sorry I didn't see your comments.
It is because there we...
12/13/2013
-
11:58 PM Bug #9247 (Closed): Bugs in socket.rb (exception retrieval)
- Ruby 2.1 (trunk) 2.0 and 1.9.3 both has a bug to retrieve exception.
In the following code, opened socket is always closed.
require 'socket'
ai = Addrinfo.tcp(nil, 12345)
begin
raise
rescue
p ai.listen #=> #<Socket:(closed)>... -
11:22 PM Revision 967677ab (git): * lib/uri/common.rb: [DOC] Fix a broken link by @namusyaka [fix GH-478]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:29 PM Bug #7842 (Closed): An alias of a "prepend"ed method skips the original method when calling super
- This issue was solved with changeset r44175.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
`proc.c`, `vm_method.c`: fix super and alias
* `proc.... -
10:29 PM Bug #9236 (Closed): include + include + alias_method + super behaviour inconsistency between 1.9 and 2.0
- This issue was solved with changeset r44175.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
proc.c, vm_method.c: fix super and alias
* proc.c (`m... -
10:29 PM Bug #7993 (Closed): owner of methods defined after using Module#prepend
- This issue was solved with changeset r44175.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
proc.c, vm_method.c: fix super and alias
* proc.c (method_ow... -
04:59 PM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
- 2013/12/13 Zachary Scott <e@zzak.io>:
> Only because I can't test it
I understand you. But nobody can test all the platforms.
I can test it on Windows 8.
Besides, this is not a ruby source code, but a test code.
I already ... -
04:53 PM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
- Only because I can't test it
-
12:26 PM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
- Why you are reluctant to apply my patch?
In Windows 7, it is a latent bug.
It is not causing any incompatibility but only affects Windows 64 bit.
Almost platforms except Windows 64 bit, DL::PackInfo::PACK_MAP[DL::TYPE_VOIDP] is "l!"... -
11:19 AM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
- Can we setup a build for that? Or perhaps we can set it up on travis?
-
11:09 AM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
- rubyci.org platform is Windows 7.
You can see the segfault on 64 bit Windows 8.x with x64 VC++ 2012 or 2013 compiler.
It seems that nobody here but me care for Ruby on Windows 8.
-
12:03 AM Bug #7492 (Feedback): Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
-
12:03 AM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
- I don't see the segfault on rubyci.org[1] either, can anyone reproduce this?
1: http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20131212T131655Z.log.html.gz -
04:32 PM Revision b2f9a0f5 (git): eval.c: reuse tag
- * eval.c (rb_rescue2): reuse tags pushed for body proc to protect
rescue proc too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:19 PM Revision 71286e37 (git): * gc.c (wmap_final_func): Bugfix. Should update *value to new pointer.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:11 PM Revision 4fd53e47 (git): * ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because
- it may be set before the body.
Reported by ko1 and mrkn. [ruby-core:59088] [Bug #9247]
* lib/cgi/core.rb: Ditto.
* lib/drb/ssl.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:44 PM Revision 42ae24a6 (git): * internal.h (ruby_sized_xrealloc2): fix typo introduced in r44117, which cause compile error on Solaris.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:33 PM Revision 11fe8c97 (git): merge revision(s) 41427:
- test_pty.rb: reap zombie
* test/test_pty.rb (test_cloexec): reap zombie than leaving to
detaching thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:22 PM Revision 26d147c7 (git): thread.c: reduce tags and stack
- * thread.c: (exec_recursive): use rb_catch_protect() instead of
rb_catch_obj() and PUSH_TAG(), and reduce pushing tags and
machine stack usage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44181 b2dd03c8-39d4-4d8f-98ff-823fe69b... - 03:18 PM Revision 569ab987 (git): * 2013-12-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:18 PM Revision b7c2f5bc (git): proc.c: fix inherited owner
- * proc.c (mnew_from_me): achieve the original defined_class from
prepended iclass, to fix inherited owner.
* proc.c (method_owner): return the defined class, but not the
class which the method object is created from.
git-svn-id: svn... -
02:55 PM Bug #9211 (Third Party's Issue): Bug in can_detect_signals? in test/rake/test_rake_functional.rb
- Hello,
Thank you for your report.
rake has upstream repository. Please report to there
https://github.com/jimweirich/rake
Thanks -
02:50 PM Revision 537f3276 (git): test_weakmap.rb: fix test
- * test/ruby/test_weakmap.rb (test_include?): create target object in a
block, so that collected soon as possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:20 PM Revision 36e09fc2 (git): test/ruby: better assertions
- * test/ruby: use better assertions instead of mere assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 PM Revision 5bff6435 (git): test_weakmap.rb: fix test
- * test/ruby/test_weakmap.rb (test_include?): Object.new does not
excute the block, use tap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:32 PM Feature #8960 (Feedback): Add Exception#backtrace_locations
- Now, I implemented half-baked feature (read-only backtrace locations).
How about to continue how to change it?
-
01:31 PM Feature #8960 (Closed): Add Exception#backtrace_locations
- This issue was solved with changeset r44170.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c: add Exception#backtrace_locations.
Now, there are... -
12:19 PM Feature #8960: Add Exception#backtrace_locations
- What will be returned from an exception set by Exception#set_backtrace in JRuby?
-
01:29 PM Revision b71956d1 (git): proc.c, vm_method.c: fix super and alias
- * proc.c (method_owner): return the class where alias is defined, not
the class original method is defined.
* vm_method.c (rb_method_entry_make, rb_alias): store the originally
defined class in me. [Bug #7993] [Bug #7842] [Bug #9236... -
01:29 PM Revision f1f609bc (git): test_weakmap.rb: fix test
- * test/ruby/test_weakmap.rb (test_include?): isolate weak
referenced object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 PM Bug #9222 (Closed): xmalloc usage during GC_START event can cause confusing assertion failure
- This issue was solved with changeset r44166.
Aman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (garbage_collect_body): use rb_bug() and explicit error me... -
09:18 AM Revision 3ac0ec4e (git): test/ruby: better assertions
- * test/ruby: use better assertions instead of mere assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:17 AM Revision 287d2ada (git): assertions.rb: last match in assert_raise_with_message
- * lib/test/unit/assertions.rb (assert_raise_with_message): set
caller's last match if expected is a Regexp.
* test/ruby/test_arity.rb (err_mess): use assert_raise_with_message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44172 ... -
07:30 AM Revision 3ba2006a (git): gc.c: GC.latest_gc_info reports most interesting major_by flag
- * gc.c (gc_info_decode): Use :major_by=>:nofree as fallback reason
when other trigger conditions are present.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:31 AM Revision 0aed7c68 (git): * error.c: add Exception#backtrace_locations.
- Now, there are no setter and independent from Exception#backtrace.
[Feature #8960]
* eval.c (setup_exception): set backtrace locations for `bt_location'
special attribute.
* vm_backtrace.c (rb_backtrace_to_location_ary): added.
* int... -
03:53 AM Revision 4547d773 (git): eval.c: clear cache
- * eval.c (rb_using_module): clear method cache after applying
refinements.
* eval.c (mod_using, top_using): remove redundant type checks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 AM Revision b07bdbc2 (git): eval.c: indent
- * eval.c (using_module_recursive): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:23 AM Revision f2c31939 (git): vm.c: reduce clearing method cache
- * vm_method.c (rb_add_method, rb_alias): rb_method_entry_set()
already clears method cache.
* vm_method.c (rb_export_method): ditto by rb_add_method().
* vm_method.c (set_method_visibility): ditto by rb_export_method().
* vm.c (vm_d... -
03:02 AM Revision c7005118 (git): * gc.c (garbage_collect_body): use rb_bug() and explicit error message
- instead of using assert().
[Bug #9222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 AM Revision 34776709 (git): * array.c: fix comment to remove the word "shady".
- * variable.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:38 AM Revision d8f619e1 (git): * lib/net/pop.rb: [DOC] Fix typo
- s/deguging/debugging/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:38 AM Revision 55a77f29 (git): * gc.c: rename *shady* func/macros.
- * RVALUE_RAW_SHADY() -> RVALUE_WB_PROTECTED_RAW()
* RVALUE_SHADY() -> RVALUE_RAW_SHADY()
* rgengc_check_shady() -> rgengc_check_relation().
And fix some messages using "shady" to "non-WB-protected".
git-svn-id: svn+ssh:/... -
02:31 AM Bug #9246 (Closed): NoMemoryError is occurred by simple addition of BigDecimal
- I think the following case should raise Overflow exception.
$ ruby -rbigdecimal -ve 'p BigDecimal("1E1024819115206086200") + BigDecimal(2)'
ruby 2.1.0dev (2013-12-13 trunk 44155) [x86_64-darwin12.0]
ruby(35690,0x7fff7a1fc180) malloc... -
02:21 AM Revision 94bc0647 (git): * doc/contributing.rdoc: [DOC] Fix typo by @dvsuresh [Fixes GH-476]
- https://github.com/ruby/ruby/pull/476
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 AM Bug #7371 (Closed): Fix undefined overflow checking in bigdecimal
- I think this issue had been fixed by akr in r40214.
-
02:08 AM Bug #7458 (Closed): Depending on value of BigDecimal::limit, addition can give inaccurate results
- I've fix this issue in r44153.
-
01:36 AM Revision c6d03509 (git): proc.c: local variable
- * proc.c (method_inspect): use a local variable instead of repeating
dereferences.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 AM Revision 2e5422a2 (git): .gdbinit: initialize
- * .gdbinit (ruby_gdb_init): initialize enums.
* .gdbinit (rb_id2name): initialize debug info too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:04 AM Revision d35e7b5b (git): * lib/rubygems/request_set/lockfile.rb: Import RubyGems master a8d0669
- with a 1.8.7 compatibility fix.
* test/rubygems/test_gem_request_set_lockfile.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:03 AM Bug #9178: Segfault when misusing Enumerable#chunk with #to_enum and #with_index
- r39722 was backported to ruby_2_0_0 branch at r44150.
-
12:56 AM Revision 955a6258 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:51 AM Revision 8fadbe5f (git): * lib/rubygems: Update to RubyGems master ddac51f. Changes:
- * Allow override for the shared gem installation directory for
rubygems packagers.
* Lock gem cache files for read and write to improve thread safety.
* Use io/console when available.
* Minor cleanup.
* test/rubygems: ditt...
12/12/2013
-
11:19 PM Revision c2dcb947 (git): object.c: use RCLASS_M_TBL_WRAPPER for equality checks
- * class.c (include_modules_at): use RCLASS_M_TBL_WRAPPER for
equality checks. this avoids an unnecessary deference inside a tight
loop, fixing a performance regression from r43973.
* object.c (rb_obj_is_kind_of): ditto.
* object.c (r... -
08:47 PM Bug #9245 (Closed): Kernel::system gives wrong output for utf-8 characters on windows under utf-8 console
- Under windows console running in utf-8 mode (chcp 65001), it is expected to print utf-8 encoded characters in a script from system calls correctly.
To reproduce, create a file in utf-8 format running this:
---
# test.rb
# encoding:... -
07:41 PM Bug #9244 (Rejected): unexpected behaviour of 'require' when $LOAD_PATH gets changed
- For the purpose of reproducing the error, let's assume that I have two folders ```a``` and ```b``` which both contain a file ```test.rb```
In the following script, ```b/test.rb``` will NOT get loaded:
```
$LOAD_PATH.unshift File.... - 05:08 PM Revision f27509fd (git): Append [ruby-core:50269] [Bug #7458] in the previous Changelog entry
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:02 PM Revision b4e773bb (git): * 2013-12-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:02 PM Revision df333251 (git): * ext/bigdecimal/bigdecimal.c (VpSetPTR): fix for limitation of the resulting
- precision.
* test/bigdecimal/test_bigdecimal.rb (test_limit): add tests for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:02 PM Revision 7d3538db (git): * ext/bigdecimal/bigdecimal.c (VpAddAbs): put out a conditional branch from
- the inside of while-loop.
* ext/bigdecimal/bigdecimal.c (VpSubAbs): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:02 PM Revision 27d53fb5 (git): * ext/bigdecimal/bigdecimal.c (VPrint): be a static function, support another
- dump formats, and add more information of the given bigdecimal.
* ext/bigdecimal/bigdecimal.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:00 PM Feature #8257: Exception#cause to carry originating exception along with new one
- rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> I believe you think I should write this instead:
> ...
I think this is more common in ruby:
`raise WrappedException, "message", cause: ex`
-
12:33 AM Feature #8257: Exception#cause to carry originating exception along with new one
- I believe you think I should write this instead:
raise WrappedException.new("message"), cause: ex
I wouldn't mind doing that but if I ever had to store the exception without raising it then it wouldn't be possible to do so, right? ... -
12:28 AM Feature #8257: Exception#cause to carry originating exception along with new one
- Yes, raising it too.
-
04:31 PM Bug #9223 (Assigned): Hash#reject!.size does not reflect changes to the hash
- Hello,
r44137 introduce incompatible spec change of Hash#reject.
After r44137, Hash#reject return new hash and doesn't copied class, ivars, default value, taintedness from receiver.
ChangeLog says 'they had been copied just by accid... -
04:02 PM Revision de139757 (git): merge revision(s) 39722: [Backport #9178]
- * enumerator.c (enumerator_with_index): try to convert given offset to
integer. fix bug introduced in r39594.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:19 PM Bug #9242: Rdoc detection of aliases
- There really shouldn't be a difference between using `rb_define_alias` and using the same `rb_define_method`.
In Ruby, `Array.instance_method(:map) == Array.instance_method(:collect)` returns true (even when not defined using rb_defin... -
01:09 PM Bug #9242: Rdoc detection of aliases
- As Hanmac noted, they aren't real aliases:
$ grep rb_ary_collect array.c
rb_ary_collect(VALUE ary)
rb_ary_collect_bang(VALUE ary)
rb_define_method(rb_cArray, "collect", rb_ary_collect, 0);
rb_define_method(rb_cArray, "coll... -
06:53 AM Bug #9242 (Assigned): Rdoc detection of aliases
- Alias detection was updated in the pre-release of RDoc 4.1.0, can you try to test it?
If it's these methods are using the same method, we can easily fix this by adding another signature to the call-seq example. What do you think? -
06:10 AM Bug #9242: Rdoc detection of aliases
- Array#map and Array#collect are not real aliases
both methods are defined with the excact same method body function but both are not calling each other,
so changeing one method doe not break the other -
04:46 AM Bug #9242 (Closed): Rdoc detection of aliases
- The online doc appears to be making bad detection of aliases.
For example, Array#map and Array#collect are not marked as aliases (on either ruby-doc.org or docs.ruby-lang.org)
On the other hand, when aliases are detected, the gener... -
07:43 AM Revision 89b85022 (git): gc.c: no deletion in wmap_mark
- * gc.c (wmap_mark): disable deletion of dead objects by default,
so that WeakMap can be non-shady.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:21 AM Revision 8920ac29 (git): * doc/contributing.rdoc: [DOC] Fix typo in comments by @dvsuresh [Fixes GH-475]
- * ext/openssl/ossl_ssl.c: ditto.
* test/ruby/test_m17n.rb: ditto.
https://github.com/ruby/ruby/pull/475
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:51 AM Bug #9243 (Assigned): DOC fix example key exchane using DH
- Thanks for the report! I'll look into it soon.
-
05:47 AM Bug #9243 (Closed): DOC fix example key exchane using DH
- Please apply patch file, thanks
--
sandor -
06:17 AM Revision ba672b6d (git): * lib/resolv.rb: Fix typo in an error message
- s/postive/positive/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:17 AM Revision 994bb6d3 (git): test_weakref.rb: use single level WeakRef
- * test/test_weakref.rb (make_weakref): return single level
WeakRef, instead of multiple level, since the second level
object may be still alive even after the final object get
finalized, in test_recycled.
* test/test_weakref.rb (t... -
06:05 AM Revision 11495338 (git): [DOC] Fix typo in docs/globals.rdoc by @dvsuresh [Fixes GH-474]
- https://github.com/ruby/ruby/pull/474
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:43 AM Revision 3282b8d1 (git): gc.c: fix typo (RVALUE_OLDEGN_BITMAP -> RVALUE_OLDGEN_BITMAP)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:09 AM Revision a4b26274 (git): * lib/xmlrpc.rb: [DOC] fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:01 AM Revision 86e2038c (git): gc.c: live keys only
- * gc.c (wmap_keys): return keys for live objects only, like as
wmap_values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/11/2013
-
09:08 PM Feature #8257: Exception#cause to carry originating exception along with new one
- rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> sometimes I need to wrap the original exception in some specific one.
Just wrapping in a new exception but don't raise it?
How frequent is such case?
-
08:14 PM Feature #8257: Exception#cause to carry originating exception along with new one
- And sometimes a Runtime exception would be fine to me, so `raise "Some explanation", cause: ex` would be great, but sometimes I need to wrap the original exception in some specific one. In that latter case, I'd prefer to be able to speci...
-
08:09 PM Feature #8257: Exception#cause to carry originating exception along with new one
- Actually, the only reason I don't use it is because it's not possible, but I'd most probably always send along the cause if this was supported, so I prefer a concise way to do that.
-
01:23 PM Feature #8257: Exception#cause to carry originating exception along with new one
- (2013/12/10 23:24), nobu (Nobuyoshi Nakada) wrote:
> Carelessly, I implemented `raise cause: ex` but not `Exception.new(cause: ex)`, and nearly committed it.
> Do you prefer the latter?
How about to simply add Exception#cause= ... - 07:56 PM Revision 58d50800 (git): * 2013-12-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:55 PM Revision e91ccb6c (git): * array.c: More doc examples for Array#{map|collect}{!} using both forms
- * enum.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:53 PM Bug #9124: TestSocket errors in test-all on Arch 64-bit
- Eric Wong <normalperson@yhbt.net> wrote:
> Eric Wong <normalperson@yhbt.net> wrote:
> > This will flow into the stable maintenance kernels (3.12, 3.10, etc)
> > within a few weeks.
>
> GregKH has these queued up for the next ... -
05:10 PM Bug #8886: TracePoint API inconsistence when raise used
- Great, thanks a lot!!
-
05:08 PM Bug #8886: TracePoint API inconsistence when raise used
- deivid (David Rodríguez) wrote:
> It doesn't make a lot of difference to me, so if this is actually spec, I agree with keeping the current behaviour and just adapting the TracePoint API.
r44139 makes it consistent with your patch. Th... -
04:53 PM Bug #8886 (Closed): TracePoint API inconsistence when raise used
- This issue was solved with changeset r44139.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (rb_raise_jump): call c_return hook immediately after
... -
04:41 PM Bug #8886: TracePoint API inconsistence when raise used
- It doesn't make a lot of difference to me, so if this is actually spec, I agree with keeping the current behaviour and just adapting the TracePoint API.
Thanks a lot Koichi! :) -
04:34 PM Bug #8886: TracePoint API inconsistence when raise used
- I asked Matz and he said "I prefer to remove `raise' line in backtrace".
So I will revert r44133 and introduce the first patch.
-
04:08 PM Bug #8886: TracePoint API inconsistence when raise used
- A bit strange for the following case?
----
raise("should not reach here")
#=>
ruby 2.1.0dev (2013-12-11 trunk 44136) [i386-mswin32_110]
t.rb:1:in `raise': should not reach here (RuntimeError)
from t.rb:1:in `<main>'
#=>
rub... -
04:06 PM Bug #8886 (Open): TracePoint API inconsistence when raise used
- I committed it and rubyspec found an issue of incompatibility.
raise
#=>
ruby 2.1.0dev (2013-12-11 trunk 44136) [i386-mswin32_110]
t.rb:2:in `raise': unhandled exception
from t.rb:2:in `<main>'
ruby 2.0.0p317 (2013-09-15 revis... -
12:39 PM Bug #8886 (Closed): TracePoint API inconsistence when raise used
- This issue was solved with changeset r44133.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (rb_raise_jump): pop frame after setup exception.
Pat... -
11:50 AM Bug #8886: TracePoint API inconsistence when raise used
- Sorry for long absence.
Your patch makes sense for me.
I'll apply it.
Thank you very much.
-
03:49 PM Bug #9223: Hash#reject!.size does not reflect changes to the hash
- r44047 introduced a small change in behavior. Before, reject would copy ivars and default proc into the return hash:
h = {}
h.instance_variable_set(:@foo, 1)
p h.instance_variable_get(:@foo) #=> 1
p h.reject{true}.inst... -
03:38 PM Bug #9227 (Closed): use opt_aset ?
- This issue was solved with changeset r44136.
Aman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
compile.c: add opt_aset instruction for faster Hash#[]= and Array... -
01:00 PM Bug #9227: use opt_aset ?
- OK. Please enable it.
-
12:57 PM Bug #9227: use opt_aset ?
- I did some more microbenchmarks. In the Array#[Fixnum]= case, the new instruction makes a huge difference.
Before:
array aset 1.430000 0.000000 1.430000 ( 1.430370)
array aset 1.430000 0.000000 1.430... -
03:04 PM Bug #9079: Interpolated Symbol creates unnecessary intermediate String on the heap
- Does it has huge impact?
It is easy to add an instruction (replace concatstrings to concatstrings_and_make_it_symbol) or add a method like that.
However, it has a bit problem about encoding.
Current implementation is easy and safe, be... -
12:01 PM Bug #9236: include + include + alias_method + super behaviour inconsistency between 1.9 and 2.0
- git bisect says this changed in r36595, if it helps.
-
12:22 AM Bug #9236: include + include + alias_method + super behaviour inconsistency between 1.9 and 2.0
- =begin
=end
-
12:19 AM Bug #9236 (Closed): include + include + alias_method + super behaviour inconsistency between 1.9 and 2.0
- =begin
The following code behaves differently under Ruby 1 and Ruby 2.
module Fun
def hello
orig_hello
end
end
module M1
def hello
p 'hello!'
end
end
module M2
def hello
... -
11:22 AM Feature #9239: Array#to_h ignores flat arrays
- marcandre (Marc-Andre Lafortune) wrote:
> My opinion is that the fact that `Hash[1,2,3,4] # => {1 => 2, 3 => 4}` is a misfeature and that this usage should not be encouraged.
> ...
I agree. -
05:14 AM Feature #9239: Array#to_h ignores flat arrays
- If [:a, :b].to_h returned {:a => :b}, then what should [[:a, :b], [:c, :d]].to_h return? {[:a, :b] => [:c, :d]} ?
-
03:49 AM Feature #9239: Array#to_h ignores flat arrays
- Moving to "feature", as the current documentation states that elements that are not 2-element arrays are ignored, so it is different from Hash.[]
My opinion is that the fact that `Hash[1,2,3,4] # => {1 => 2, 3 => 4}` is a misfeature a... -
03:26 AM Feature #9239 (Rejected): Array#to_h ignores flat arrays
- =begin
My understanding was that the newly introduced `Array#to_h` was to be equivalent to `Hash.[]`. But when I give a flat array, it returns an empty hash:
[:a, :b].to_h # => {}
[:a].to_h # => {}
I expected `{:a => ... -
08:12 AM Bug #9240 (Closed): TestModule Test No Longer Valid
- TestModule#test_include_module_with_constants_invalidates_method_cache is no longer valid.
Test: https://github.com/ruby/ruby/blob/trunk/test/ruby/test_module.rb#L1783-L1801
The Changelog states, "...this means inclusions of modu... -
07:53 AM Revision 919f1438 (git): * eval.c (rb_raise_jump): call c_return hook immediately after
- popping `raise' frame.
Patches by deivid (David Rodriguez). [Bug #8886]
* test/ruby/test_settracefunc.rb: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:41 AM Revision 78d7aa8a (git): revert r44133. See https://bugs.ruby-lang.org/issues/8886 details
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:01 AM Revision 740535f8 (git): hash.c: reject should return a plain hash
- * hash.c (rb_hash_reject): return a plain hash, without copying
the class, default value, instance variables, and taintedness.
they had been copied just by accident.
[ruby-core:59045] [Bug #9223]
git-svn-id: svn+ssh://ci.ruby-lang... -
06:38 AM Revision bd892d05 (git): compile.c: add opt_aset instruction for faster Hash#[]= and Array#[]=
- * compile.c (iseq_specialized_instruction): emit opt_aset instruction
to optimize Hash#[]= and Array#[]= when called with Fixnum argument.
[Bug #9227] [ruby-core:58956]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44136 b2dd03c... -
04:01 AM Revision 3e6cae68 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:58 AM Revision e1db3605 (git): * ext/win32ole/sample/olegen.rb: Fix typo
- * ext/openssl/ossl_asn1.c: [DOC] Fix typo
* lib/webrick/accesslog.rb: ditto
* template/yarvarch.ja: ditto
s/recieve/receive/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:39 AM Revision a4cbd641 (git): * eval.c (rb_raise_jump): pop frame after setup exception.
- Patches by deivid (David Rodriguez). [Bug #8886]
* test/minitest/test_minitest_unit.rb: catch up this change.
* test/ruby/test_backtrace.rb: ditto.
* test/ruby/test_settracefunc.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t... -
03:36 AM Revision 3d4ceaaa (git): * ext/tk/lib/tkextlib/SUPPORT_STATUS: [DOC] remove link of RAA.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 AM Bug #9237 (Closed): Monkey Patching Infix Float Operator's Produces Unexpected Results
-
02:43 AM Bug #9237 (Closed): Monkey Patching Infix Float Operator's Produces Unexpected Results
- =begin
Trying to redefine the infix division operator for the Float initially appears to have no effect.
class Float
def /(other)
"magic!"
end
end
puts 10.0/2.0
# -> 5.0
But when anothe... -
03:10 AM Revision c2caf7d3 (git): * ext/racc/cparse/README: [DOC] Use upstream and github link instead of RAA.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:48 AM Revision 2c11ccb8 (git): envutil.rb: backtrace may not be present
- * test/ruby/envutil.rb (assert_separately): SystemStackError at
machine stack overflow on platforms where sigaltstack is
unavailable does not have backtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44130 b2dd03c8-39d4-4d8f... -
12:30 AM Bug #9178: Segfault when misusing Enumerable#chunk with #to_enum and #with_index
- Maybe r39722 should be backported too.
12/10/2013
-
11:58 PM Bug #9221 (Closed): Time.parse performance becomes exponentially worse as string length grows
- This issue was solved with changeset r44126.
Michael, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
date_strptime.c: get rid of backtrack explosion
* ext/date/da... -
11:42 AM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
- Also affects JRuby: https://github.com/jruby/jruby/issues/1319
-
12:20 AM Bug #9221 (Open): Time.parse performance becomes exponentially worse as string length grows
- Thank you for your notice. I'll re-open this ticket.
And I confirmed ruby_1_9_3 and ruby_2_0_0 have these regular expressions. -
11:44 PM Bug #9231 (Closed): The value of [].hash is equal to the value of false.hash
- This issue was solved with changeset r44125.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
array.c, hash.c: add salt
* array.c (rb_ary_hash): add salt to... -
11:24 PM Feature #8257: Exception#cause to carry originating exception along with new one
- Carelessly, I implemented `raise cause: ex` but not `Exception.new(cause: ex)`, and nearly committed it.
Do you prefer the latter? -
08:56 PM Bug #8584: Remove curses
- Committed as r44121
-
01:46 PM Bug #8584: Remove curses
- @a_matsuda +1 please commit it
-
11:02 AM Bug #8584: Remove curses
- @shugo Attached is a patch that sweeps remaining documentation references to curses here and there. Can I commit this?
-
12:06 AM Bug #8584: Remove curses
- I would also like to offer help maintaining curses
-
07:55 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- charliesome (Charlie Somerville) wrote:
> sawa: %-strings are already covered by #freeze optimization:
> ...
Thanks. I should have checked before. I deleted my previous post.
-
07:54 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix - sawa: %-strings are already covered by #freeze optimization:
λ ./miniruby --dump=insns -e '%{}.freeze'
== disasm: <RubyVM::InstructionSequence:<main>@-e>======================
0000 trace 1 ... -
07:54 PM Revision d6a5fe70 (git): * lib/rubygems: Update to RubyGems master ec8ed22. Notable changes
- include:
* Renamed extension_install_dir to extension_dir (backwards
compatible).
* Fixed creation of gem.deps.rb.lock file from
TestGemRequestSet#test_install_from_gemdeps_install_dir
* Fixed a typo and some documentati... - 06:18 PM Revision d36a129d (git): * 2013-12-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:18 PM Revision af4e6084 (git): * insns.def: Fix optimization bug of Float#/ [Bug #9238]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:58 PM Revision 9a938987 (git): date_strptime.c: get rid of backtrack explosion
- * ext/date/date_strptime.c (date__strptime_internal): unset
case-insensitive flag for [:alpha:], which already implies both
cases, to get rid of backtrack explosion. [ruby-core:58984]
[Bug #9221]
git-svn-id: svn+ssh://ci.ruby-lan... -
02:48 PM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
- After r44109, RGENGC_CHECK_MODE is able to detect the original Hash#replace miss issue:
$ ./miniruby test1.rb
gc_marks_check_i: WB miss 0x7fb33b053bb0 (T_HASH) -> 0x7fb33b033f90 (T_STRING)
test1.rb:15: [BUG] before_marks: GC has pro... -
02:46 PM Bug #9226 (Closed): Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
- This issue was solved with changeset r44109.
Myron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
gc.c: build complete object graph for RGENGC_CHECK_MODE
* gc.c... -
01:13 PM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
- With r44059, I can reproduce this issue with the following ruby code. I confirmed RGENGC_CHECK=2 does not complain.
def create_oldgen_hash
@h1 = {}
GC.start
end
def replace_with_young_hash
h2 = {"a"=>"b"}
@h1.replace(h... -
02:44 PM Revision 037a9d06 (git): array.c, hash.c: add salt
- * array.c (rb_ary_hash): add salt to differentiate false and empty
array. [ruby-core:58993] [Bug #9231]
* hash.c (rb_any_hash, rb_hash_hash): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44125 b2dd03c8-39d4-4d8f-98ff-823f... -
02:02 PM Revision e5b5ee74 (git): test_exception.rb: ignore SystemStackError
- * test/ruby/test_exception.rb (test_machine_stackoverflow): ignore
propagated SystemStackError, which has not bee rescued in the
child process by unknown reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44124 b2dd03c8-39d4-... -
02:02 PM Revision 7e47f683 (git): envutil.rb: ensure errors
- * test/ruby/envutil.rb (assert_separately): dump error and
assertions by END to ensure outputs even if failed to catch the
raised exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:26 AM Revision d33820e8 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:22 AM Revision 02c85450 (git): * doc/contributing.rdoc: [DOC] curses is no more in the stdlib
- * doc/contributors.rdoc: Ditto.
* doc/maintainers.rdoc: Ditto.
* doc/contributors.rdoc: Ditto.
* doc/standard_library.rdoc: Ditto.
* doc/syntax/modules_and_classes.rdoc: Ditto.
* encoding.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-la... -
09:22 AM Revision 4d5729a7 (git): * man/ruby.1: [DOC] Use www.ruby-toolbox.com instead of RAA.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:20 AM Bug #9192: Inconsistent comparison between Float and BigDecimal
- Thank you, mrkn!
-
03:42 AM Bug #9192 (Open): Inconsistent comparison between Float and BigDecimal
- Hi
1) I disagree with this change. Is it possible to know why you decided to ignore my recommendation without even commenting on it?
2) The implementation is buggy. For example:
BigDecimal('0.21611564636388508') == 0.2161156... -
08:21 AM Revision cdc2eeda (git): gc.c: simple array for wmap
- * gc.c (wmap_finalize, wmap_aset_update): use simple malloced array
instead of T_ARRAY, to reduce GC pressure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision 27947a44 (git): gc.c: use st_update
- * gc.c (wmap_aset): use st_update instead of st_lookup and
st_insert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision bcdad329 (git): gc.c: ruby_sized_xrealloc2
- * gc.c (ruby_sized_xrealloc2): reallocate from old size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision d5526f3f (git): openssl/digest.rb: check by lambda
- * ext/openssl/lib/openssl/digest.rb (initialize): check argument
size by lambda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision 0ede9926 (git): openssl/digest.rb: get rid of deprecated class
- * ext/openssl/lib/openssl/digest.rb (digest, hexdigest): create
new instance and call on it directly, to get rid of deprecated
class OpenSSL::Digest::Digest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44115 b2dd03c8-39d4-4d8f... -
06:58 AM Revision 40d7c9c1 (git): gc.c: speed up RGENGC_CHECK_MODE by removing unncessary check
- * gc.c (reflist_add): revert changes from r44109. it is unnecessary
after r44113
* gc.c (allrefs_i): fix whitespace
* gc.c (allrefs_roots_i): fix whitespace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44114 b2dd03c8-39d4-4d8f-98... -
06:47 AM Revision 1b29c00f (git): * gc.c (allrefs_add): push obj only if allrefs table doesn't have
- obj.
* gc.c (allrefs_roots_i): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 AM Revision 14979f21 (git): * gc.c (RGENGC_CHECK_MODE): separate checkers to different modes.
- * 2: enable generational bits check (for debugging)
* 3: enable livness check
* 4: show all references
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:26 AM Revision 13dee248 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:21 AM Revision 8d4253f7 (git): * gc.c (gc_marks_check): disable GC during checking and
- restore malloc_increase info.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:46 AM Revision 3705007e (git): gc.c: build complete object graph for RGENGC_CHECK_MODE
- * gc.c (reflist_add): return 0 if reference already exists
* gc.c (allrefs_add): return 1 on newly added references
* gc.c (allrefs_i): follow references to construct complete object
graph. before this patch, RG... -
05:36 AM Feature #9235 (Assigned): Documentation for commercial support
- We should document the following:
* What happens when a Ruby version goes EOL?
* What can (my) company do to help maintain an EOL ruby?
* How do we backport security patches?
* How do we run tests?
* How do we release our own vers... -
05:31 AM Misc #9218 (Assigned): Branch Maintainer Appointment / Discharge Process
- We have decided on this approval and discharge process in approx. terms.
I provide documentation for our process and encourage commercial support for EOL rubies.
We aim for a minimum 6 month discharge / EOL process.
Candidacy an... -
05:26 AM Misc #9217 (Closed): Ruby 1.9.3 End of Life Maintenance Policy
- 1.9.3 will be EOL'd in March 2014
We will announce it officially with the announcement of 2.1.0 release.
Additional 1.9.3 maintenance is depending upon Ruby Association contract extension with usa.
If a third-party commercial or... -
05:24 AM Bug #9234 (Closed): Documentation for upgrading to supported versions
- cc #9216
-
05:23 AM Misc #9216 (Closed): Backport Maintenance Policy for 1.8.7, 1.9.2
- As discussed, Terence and I will maintain security fixes for 1.8.7 and 1.9.2 for 6 months, until June 2014.
During this time we will not support official backport releases on ruby-lang.org, except in case a 1.9.2 release is explicitly... -
05:19 AM Misc #9233: Update tooling for SemVer
- Oops, somehow nobu got assigned to this on accident
-
05:19 AM Misc #9233 (Closed): Update tooling for SemVer
- cc #8835
-
05:18 AM Misc #8835: Introducing a semantic versioning scheme and branching policy
- We have accepted hsbt's proposal: https://gist.github.com/sorah/7803201
-
05:17 AM Revision 0326725b (git): gc.c: check arguments first
- * gc.c (wmap_aset): check if both arguments are able to finalize
before setting finalizers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:16 AM Misc #9215 (Assigned): Maintenance Policy for Future Releases (2.1.0 & beyond)
- We have decided the following:
* MINOR level versions of Ruby have a "best effort" goal of at least 6 months and at best 3 years.
* TEENY versions will be released approx. every 2-3 months
* Branch maintainers are not obligated to c... -
05:02 AM Revision 9bd802f5 (git): gc.c: fix WeakMap#inspect
- * gc.c (wmap_inspect_i): fix key/value order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:25 AM Revision 332decb4 (git): gc.c: fix typo in function name
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:26 AM Revision 7170baa8 (git): objspace_dump.c: include object's gc flags in dump
- * ext/objspace/objspace_dump.c (dump_object): include fstring flag on
strings. include gc flags (old, remembered, wb_protected) on all objects.
* ext/objspace/objspace_dump.c (Init_objspace_dump): initialize lazy
IDs before first use... -
01:51 AM Revision 97d292cb (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/09/2013
-
10:50 PM Revision 40925742 (git): vm_method.c: add new ruby::method-cache-clear dtrace probe
- * vm_method.c (rb_clear_method_cache_by_class): fire
ruby::method-cache-clear probe on global or klass-level method cache
clear [Bug #9190]
* probes.d (provider ruby): new dtrace probe
* doc/dtrace_probes.rdoc: docs for new probe
* t... -
10:32 PM Bug #4421: [ext/openssl] Fix RSA public key encoding
- Hi,
It certainly would have been useful to have the code available in gist https://gist.github.com/2902696 available in some form, because this patch broke backwards compatibility for a system I was working on. -
09:43 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
- Righto, thanks!
-
03:21 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses - @headius: klasscache refers to #8426/r42822 which implements JRuby style method cache invalidation.
-
03:18 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
- Is "klasscache" a reference to some other patch/issue?
Am I understanding correctly when I say that JRuby would not benefit from this sort of fix? In JRuby there is no global cache, so the only cache damage caused by a singleton class... -
09:38 PM Bug #9230: Segmentation fault in Ruby trunk
- Thank you! I confirmed to fix this issue at r44096
-
07:06 PM Bug #9230 (Closed): Segmentation fault in Ruby trunk
- This issue was solved with changeset r44096.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
hash.c: fix segv in Hash#replace
* hash.c (rb_hash_replace): ... -
06:19 PM Bug #9230 (Closed): Segmentation fault in Ruby trunk
- I always got Segmentation fault in trunk. I can reproduce follow situation:
$ rails new foo
add 'newrelic_rpm' to Gemfile on Foo Application.
$ bundle exec rails console
crash log is attached.
I investigate this issue, i... -
09:16 PM Revision 4f7c10f0 (git): * ext/.document: Remove curses from documentable directories.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:56 PM Revision 99e04c13 (git): * ext/openssl/lib/openssl/digest.rb: Deprecate OpenSSL::Digest::Digest
- [Fixes GH-446] https://github.com/ruby/ruby/pull/446
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:30 PM Bug #9227: use opt_aset ?
- I forget why I remove it.
Maybe I can't measure improvement (and possible to have trouble with this insn).
If there are no regression, I don't against to use it.
-
07:10 PM Bug #9231 (Closed): The value of [].hash is equal to the value of false.hash
- I found that [].hash == false.hash.
And the combinations of each elements also have the same value.
Is this an intended behavior?
C:\Users\phasis>irb
irb(main):001:0> [].hash
=> 1336528015
irb(main):002:0> false.hash
=> 13365280... -
06:30 PM Feature #8977: String#frozen that takes advantage of the deduping
- @ko1 and I discussed this at length earlier.
Although a frozen string table could be implemented in ruby (with the help of C-ext like WeakHash above), the current implementation of the finalizer table adds overhead that would make it ... -
03:35 PM Feature #8977: String#frozen that takes advantage of the deduping
- Now, I have one concern about security concern.
This kind of method can be used widely and easily.
And if this method is used with external string getting from IO,
fstring table can be grow and grow easily.
I'm afraid about suc... -
07:23 AM Feature #8977: String#frozen that takes advantage of the deduping
- headius (Charles Nutter) wrote:
> Actually, I'm getting pretty down on having the fstring cache at all. It seems like if we want a string pool, it should be via a library. Adding something into Ruby that pools strings for you just seems... -
07:08 AM Feature #8977 (Assigned): String#frozen that takes advantage of the deduping
- I just made some more arguments for this feature in #9229.
The goal here is to provide runtime access to the frozen string literal table.
This is not a new idea. For instance, see String.Intern in .NET: http://msdn.microsoft.com/en-u... - 03:47 PM Revision 062845c1 (git): * 2013-12-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Revision 2251a272 (git): * ext/thread/thread.c: [DOC] add call-seq alias for Queue#enq, #<<, etc.
- * ext/thread/thread.c (Init_thread): use rb_define_alias instead of
rb_alias to document alias.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 PM Feature #8257: Exception#cause to carry originating exception along with new one
- nobu: Because :cause is opt-in, I am not concerned about the backward compat. You'd have to be committing to 2.1 in order to start using that feature, and I think it will be slow to adopt in any case.
It would also be possible to monk... -
01:41 PM Bug #8584: Remove curses
- Removed by r44089.
-
12:14 PM Bug #8584: Remove curses
- I created https://github.com/ruby/curses and added commit bit to you.
-
11:26 AM Bug #8584: Remove curses
- Ok, I will publish the curses gem this week.
hsbt, can you create github.com/ruby/curses? Please leave it unitialized so I can fork shugo/curses into it. -
11:18 AM Bug #8584: Remove curses
- shugo (Shugo Maeda) wrote:
> Eric, could you take over the maintenance of curses gem and upload it to rubygems.org as soon as possible?
If you'd like to use https://github.com/ruby/curses, please contact Shibata-san (hsbt). -
11:16 AM Bug #8584: Remove curses
- I talked with Naruse-san, and we've decided to remove curses from 2.1.
Eric, could you take over the maintenance of curses gem and upload it to rubygems.org as soon as possible? -
12:26 PM Bug #9212 (Closed): Segmentation fault in test/objspace/test_objspace.rb#test_dump_all
- This issue was solved with changeset r44088.
Alexey, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
object_tracing.c: fix allocation from NEWOBJ hook
* ext/objspa... -
11:43 AM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
- I know [[:alpha:]] is not equal to [a-z].
But, it seems that the current time parsing is only for ascii string.
BTW, date_strptime.c has the same regular expression on line 567-572.
It should be modified also.
-
11:14 AM Bug #9221 (Closed): Time.parse performance becomes exponentially worse as string length grows
- This issue was solved with changeset r44086.
Michael, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
date_parse.c: get rid of backtrack explosion
* ext/date/date_... -
10:59 AM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
- [[:alpha:]] doesn't equal to [a-z], the former matches unicode alphabet categories.
-
10:34 AM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
- I think this is an issue of Oniguruma(regular expressions library).
Here is a shortest code of producing this issue.
p /(?:[[:alpha:]]+\s)?/i.match("f"*40)
The [:alpha:] bracket and case ignore flag combination shows bad performan... - 11:00 AM Revision c039c708 (git): * internal.h (RCLASS_SERIAL): Add RCLASS_SERIAL as a convenience
- accessor for RCLASS_EXT(klass)->class_serial.
* class.c, vm_insnhelper.c, vm_method.c: Use RCLASS_SERIAL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:51 AM Revision 7df97981 (git): * compile.c, insns.def, test/ruby/test_rubyvm.rb, vm.c, vm_core.h,
- vm_insnhelper.c, vm_insnhelper.h, vm_method.c: Rename method_serial
to global_method_state and constant_serial to global_constant_state
after discussion with ko1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44097 b2dd03c8-39d4... -
10:06 AM Revision a1119230 (git): hash.c: fix segv in Hash#replace
- * hash.c (rb_hash_replace): fix segv on `{}.replace({})` introduced
in r44060 [Bug #9230] [ruby-core:58991]
* test/ruby/test_hash.rb: regression test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44096 b2dd03c8-39d4-4d8f... -
09:12 AM Revision 5dc77048 (git): * vm.c (vm_stat): renamed from ruby_vm_stat.
- Should not use ruby_ prefix here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:51 AM Revision e23627c0 (git): * marshal.c: [DOC] Wordsmith marshal.c documentation. by @vipulnsward [fix GH-470]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:13 AM Revision d2cc188a (git): gc.c: ObjectSpace::WeakMap#size
- * gc.c (wmap_size): add ObjectSpace::WeakMap#size and #length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:13 AM Revision b73a3064 (git): test_weakmap.rb: add
- * test/ruby/test_weakmap.rb: test for ObjectSpace::WeakMap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:04 AM Revision 28fd53d2 (git): * lib/xmlrpc/httpserver.rb: [DOC] Fix typo
- s/authentification/authentication/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:54 AM Bug #9229: [patch] expose rb_fstring() as String#dedup
- tmm1 (Aman Gupta) wrote:
> > Would this be better as MRI's implementation of String#freeze ?
> ...
We could always introduce #freeze! which is guaranteed to return the same object. Any old code that relies on receiving the same object... -
06:49 AM Bug #9229 (Closed): [patch] expose rb_fstring() as String#dedup
- This is a dupe of #8977. The proposal there is to use String#frozen, which I like better as well.
-
05:51 AM Bug #9229: [patch] expose rb_fstring() as String#dedup
- > I prefer that kind of optimization to happen automatically when needed, than force programmer to cast a spell.
I agree, but I'm not sure how MRI can perform this optimization automatically. For instance, in the rubygems case:
G... -
05:31 AM Bug #9229: [patch] expose rb_fstring() as String#dedup
- Would this be better as MRI's implementation of String#freeze ?
-
06:26 AM Revision e759e273 (git): removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:45 AM Bug #9228: rdoc can't generate documentation for ext/thread/thread.c on trunk
- This is only required in part for Ruby 2.0.0, ext/syslog/lib exists in ruby_2_0_0 branch but ext/thread/thread.c does not.
-
04:44 AM Bug #9228 (Closed): rdoc can't generate documentation for ext/thread/thread.c on trunk
- This issue was solved with changeset r44082.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/.document: Add syslog/lib and thread/thread.c to documen... -
04:39 AM Revision 9c5b2fd8 (git): * ext/curses, sample/curses: removed curses.
- * NEWS: added an entry for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:26 AM Revision d3363a96 (git): object_tracing.c: fix allocation from NEWOBJ hook
- * ext/objspace/object_tracing.c (newobj_i): use cached class path
only to get rid object allocation during NEWOBJ hook.
[ruby-core:58853] [Bug #9212]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44088 b2dd03c8-39d4-4d8f-98ff-82... -
03:25 AM Revision b4ab650e (git): variable.c: rb_class_path_cached
- * variable.c (rb_class_path_cached): returns cached class path
only, without searching and allocating new class path string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 AM Revision 334294d0 (git): date_parse.c: get rid of backtrack explosion
- * ext/date/date_parse.c (parse_time): unset case-insensitive flag
for [:alpha:], which already implies both cases, to get rid of
backtrack explosion. [ruby-core:58876] [Bug #9221]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4... -
02:12 AM Feature #9190: Expose serial helper macros
- Thanks everyone!
12/08/2013
-
11:41 PM Revision 05ba6fff (git): * lib/rubygems: Update to RubyGems master bf37240. Fixes useless
- error message with `gem install -g` with no gem dependencies file.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:07 PM Revision 599dbf65 (git): vm.c: fix compile issue on 32bit freebsd
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:38 PM Bug #9221 (Assigned): Time.parse performance becomes exponentially worse as string length grows
- I assigned this issue to tadf because the pattern
is written in ext/date/date_parse.c. -
07:56 PM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
- It can be reproduced on ruby 2.0.0-p247 i386-mingw32.
I modified a test code to extension library free version.
C:\work>ruby -v
ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
C:\work>type test.rb
require 'benchmark'
str = "12:00 PM ffffff... -
08:20 PM Bug #9192 (Closed): Inconsistent comparison between Float and BigDecimal
- This issue was solved with changeset r44073.
Gustavo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bigdecimal.c (BigDecimal_coerce): convert a Float to a BigDe... -
08:17 PM Bug #9133: logger rotates log files more than expected
- Can you commit this?
-
07:52 PM Revision 68e21467 (git): * NEWS: Update RubyGems entry with notable features.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:44 PM Revision d71eb310 (git): * ext/.document: Add syslog/lib and thread/thread.c to documentable
- items. [ruby-trunk - Bug #9228]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:32 PM Revision da3e610a (git): * lib/rubygems: Update to RubyGems master 096db36. Changes include
- support for PATH in Gemfile.lock and a typo fix from Akira Matsuda.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:12 PM Bug #9229: [patch] expose rb_fstring() as String#dedup
- It sounds a bit too rash. For instance other Ruby implementations might not need such thing.
I prefer that kind of optimization to happen automatically when needed, than force programmer to cast a spell. -
04:12 PM Bug #9229 (Closed): [patch] expose rb_fstring() as String#dedup
- After recent commits, ruby is using the new rb_fstring() API extensively inside the VM to de-duplicate internal strings.
This technique has proven very successful, and reduced the majority of long-lived strings in large applications.
... -
05:32 PM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
- Wow, thanks for the quick fix :).
-
03:27 PM Bug #9226 (Open): Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
- OMG That is another issue....
-
12:06 PM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
- Committed.
I was surprised but RGENGC_CHECK did not find this issue. -
12:03 PM Bug #9226 (Closed): Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
- This issue was solved with changeset r44060.
Myron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
hash.c: fix WB miss issue in Hash#replace
* hash.c (rb_hash_rep... -
11:51 AM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
- I like charliesome's approach.
Could you commit it?
-
09:10 AM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect - Instead of shading the hash, we could probably do something like this:
diff --git hash.c hash.c
index a52e02f..e7a505e 100644
--- hash.c
+++ hash.c
@@ -1414,22 +1414,9 @@ rb_hash_replace(VALUE hash, VALUE hash2)
table2 = ... -
08:29 AM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
- I was able to reproduce this on trunk with the following patch to rspec:
--- a/lib/rspec/core/command_line.rb
+++ b/lib/rspec/core/command_line.rb
@@ -20,6 +20,7 @@ module RSpec
@configuration.output_stream = out if @confi... -
01:17 AM Bug #9226 (Closed): Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
- We're trying to get a green RSpec build against ruby 2.1.0.preview2, and we're getting this very odd failure on travis:
https://travis-ci.org/rspec/rspec-core/jobs/15066502#L122
The line where it's failing is here:
https://githu... - 05:11 PM Revision fe57c5d4 (git): * 2013-12-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:11 PM Revision 91539d71 (git): * lib/net/http/responses.rb:
- Add `HTTPIMUsed`, as it is also supported by rack/rails.
RFC - http://tools.ietf.org/html/rfc3229
by Vipul A M <vipulnsward@gmail.com>
https://github.com/ruby/ruby/pull/447 fix GH-447
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
04:06 PM Bug #9228 (Closed): rdoc can't generate documentation for ext/thread/thread.c on trunk
- =begin
$ rm -rf .ext/rdoc
$ make rdoc
$ ls -d .ext/rdoc/Queue
ls: cannot access .ext/rdoc/Queue: No such file or directory
When "ext/thread/thread.c" is specified as rdoc command option, it works.
$ ./miniruby -I./lib -I. ... -
03:53 PM Feature #5446: at_fork callback API
- Tanaka Akira <akr@fsij.org> wrote:
> 2013/12/7 Eric Wong <normalperson@yhbt.net>:
> > However, I want to do this via callback, example with Worker class:
> >
> > class Worker
> > attr_writer :pid
> >
> > de... - 02:30 PM Revision e0097ea8 (git): Fix the description in ChangeLog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:06 PM Feature #9190 (Closed): Expose serial helper macros
- This issue was solved with changeset r44062.
Simeon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm.c: add RubyVM.stat for accessing cache serials
* vm.c (ruby... -
02:03 AM Feature #9190: Expose serial helper macros
- OK, cool. I'll refactor the Pull Request. Thanks!
-
11:47 AM Revision 673aa230 (git): class.c: rest kwargs
- * class.c (rb_get_kwargs): when values is non-null, remove
extracted keywords from the rest keyword argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:38 AM Revision 6def265d (git): variable.c: frozen class name
- * variable.c (fc_path, classname): return ID strings without
unnecessary copying.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:33 AM Revision 91092927 (git): avoid circular dependency on AIX
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:28 AM Bug #9225 (Closed): [patch] add WB to NODE_CREF
- This issue was solved with changeset r44059.
Aman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
gc.c: promote long-lived NODE_CREF objects to oldgen
* include/r... -
11:25 AM Revision cf85aaf8 (git): hash.c: reject shoult infect
- * hash.c (rb_hash_reject): result should be infected by the
receiver.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:20 AM Revision 0727a22c (git): * bigdecimal.c (BigDecimal_coerce): convert a Float to a BigDecimal instead
- of converting the receiver to a Float.
[ruby-core:58756] [Bug #9192]
* test/bigdecimal/test_bigdecimal.rb: add tests for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:10 AM Bug #9227: use opt_aset ?
- Maybe some minor improvement on microbenchmarks.
Before patch:
./miniruby -I. benchmark/bm_so_k_nucleotide.rb > /dev/null 1.54s user 0.02s system 99% cpu 1.572 total
./miniruby -I. benchmark/bm_so_k_nucleotide.rb > /dev/null 1.5... -
11:01 AM Bug #9227 (Closed): use opt_aset ?
- I noticed we have an opt_aset instruction, but nothing is using it. Is there some reason?
diff --git a/compile.c b/compile.c
index 812f692..9d9f14f 100644
--- a/compile.c
+++ b/compile.c
@@ -1955,6 +1955,11 @@ iseq_specialized_ins... -
11:04 AM Revision e54e3d70 (git): edit NEWS to move texts correct places
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:56 AM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
- @charliesome helped me with my compiler patch. It adds a new opt_aset_str instruction that handles the string literal hash_aset case (hsh["abc"]=).
Unfortunately, it did not make a big difference in long-lived strings generated in our... -
10:52 AM Misc #9188 (Closed): r43870 make benchmark/bm_so_k_nucleotide.rb slow
- This issue was solved with changeset r44058.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
hash.c: revert r43870 and add alternative parser patch for li... -
10:39 AM Feature #9171 (Closed): [patch] use fstrings for symbol table
- This issue was solved with changeset r44057.
Aman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: use rb_fstring() for strings stored in the symbol table
... -
10:37 AM Bug #9207 (Closed): Build failure on Windows 8.1 with VS2013 x64
-
10:26 AM Misc #8288: Ruby 2.1.0 release engeneering
- I believe RubyGems is ready.
I will be marking the bundler features in RubyGems as experimental in the RubyGems release notes and Ruby NEWS files. -
09:33 AM Revision b521f42a (git): * NEWS: [DOC] update NEWS about GC.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:54 AM Revision 40468b5b (git): * object.c: [DOC] document Module#singleton_class?.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:19 AM Revision dd8710d2 (git): class.c, vm_insnhelper.c: check unknown keywords
- * class.c (rb_get_kwargs): if optional is negative, unknown
keywords are allowed.
* vm_insnhelper.c (vm_callee_setup_keyword_arg): check unknown
keywords.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44069 b2dd03c8-39d4-4d8f-98... -
07:17 AM Revision 72f60a2f (git): class.c: optimization just one key
- * class.c (keyword_error): use only element itself for
optimization in the case the key has just one element.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:17 AM Revision 1a5bc286 (git): test_keyword.rb: check error messages
- * test/ruby/test_keyword.rb (test_required_keyword): check also
error messages.
* test/ruby/test_keyword.rb (test_block_required_keyword): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44067 b2dd03c8-39d4-4d8f-98ff-823fe69... -
06:47 AM Revision 1018f57f (git): array.c: id_random
- * array.c (rb_ary_shuffle_bang, rb_ary_sample): share id_random
instead of no longer used sym_random.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:58 AM Revision 7f5a9f38 (git): * array.c (rb_ary_shuffle_bang, rb_ary_sample): rename local variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:02 AM Revision 3e1360f3 (git): * array.c (rb_ary_shuffle_bang, rb_ary_sample): check
- unknown keywords.
* test/ruby/test_array.rb (test_shuffle, test_sample): tests for
the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:06 AM Revision 66a96c13 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:05 AM Revision cc106309 (git): vm.c: add RubyVM.stat for accessing cache serials
- * vm.c (ruby_vm_stat): add RubyVM.stat() for access to internal cache
counters. this methods behaves like GC.stat, accepting an optional
hash or symbol argument. [Bug #9190] [ruby-core:58750]
* test/ruby/test_rubyvm.rb: test for new ... -
03:51 AM Revision 2aa57843 (git): * lib/xmlrpc/client.rb: [DOC] Fix typo
- s/explicitely/explicitly/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 AM Revision 3dd248f1 (git): hash.c: fix WB miss issue in Hash#replace
- * hash.c (rb_hash_replace): add a write barrier to fix GC mark miss on
hashes using Hash#replace [Bug #9226] [ruby-core:58948]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:28 AM Revision 8f77cfb3 (git): gc.c: promote long-lived NODE_CREF objects to oldgen
- * include/ruby/ruby.h: add RGENGC_WB_PROTECTED_NODE_CREF setting
In a large app, this reduces the size of
remembered_shady_object_count by 80%. [Bug #9225] [ruby-core:58947]
* gc.c (rb_node_newnode): add FL_WB_PROTECTED flag to NODE_... -
01:52 AM Revision 779ae789 (git): hash.c: revert r43870 and add alternative parser patch for literal keys
- * hash.c (hash_aset_str): revert r43870 due to performance issue
[Bug #9188] [ruby-core:58730]
* parse.y (assoc): convert literal string hash keys to fstrings
* test/ruby/test_hash.rb (class TestHash): expand test
git-svn-id: svn+ssh:... -
01:39 AM Revision 98a74d4d (git): parse.y: use rb_fstring() for strings stored in the symbol table
- * parse.y (register_symid_str): use fstrings in symbol table
[Bug #9171] [ruby-core:58656]
* parse.y (rb_id2str): ditto
* string.c (rb_fstring): create frozen_strings on first usage. this
allows rb_fstring() calls from the parser (be... -
01:32 AM Revision 100fe2e6 (git): class.c: fix uninitialized value
- * class.c (rb_get_kwargs): fix returning uninitialized value when no
optional keywords.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:25 AM Revision 12c8533e (git): * lib/rubygems.rb: Update version for upcoming ruby 2.1.0 RC.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:22 AM Revision 7ed9b794 (git): * lib/rubygems: Update to RubyGems master 14749ce. This fixes bugs
- handling of gem dependencies lockfiles (Gemfile.lock).
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:41 AM Revision 866b438c (git): * 2013-12-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:41 AM Revision e0290c94 (git): * array.c (rb_ary_or): use RHASH_TBL_RAW instead of RHASH_TBL
- * process.c (rb_execarg_fixup): use RHASH_TBL_RAW and insert write
barriers where appropriate
* vm.c (kwmerge_i): use RHASH_TBL_RAW
* vm.c (HASH_ASET): use rb_hash_aset instead of calling directly into
st_insert
git-svn-id: svn+ss...