Project

General

Profile

Activity

From 10/18/2012 to 10/24/2012

10/24/2012

11:21 PM Bug #7212 (Closed): "stack level too deep" in Fiber much earlier in new versions of 1.9.3
I was getting SystemStackError in my application on some servers and not others; on all with 1.9.3-p286 and on some with p194, and on none with 1.9.2-head. I boiled it down to this:
def recursive(level = 0)
-> do
p "In bloc...
fiddur (Fredrik Liljegren)
09:00 PM Bug #7158 (Assigned): require is slow in its bookkeeping; can make Rails startup 2.2x faster
usa (Usaku NAKAMURA)
08:56 PM Feature #7003 (Rejected): Please decide. MVM to be with 2.0?
No. ko1 (Koichi Sasada)
08:22 PM Feature #6875: Make test/unit default gem
kou (Kouhei Sutou) wrote:
> # https://bugs.ruby-lang.org/issues/6875 から投稿しようとす
> ...
Thank you. I appreciate your effort.
> > Could you please enlighten what this issue solves?
> ...
Sorry, I am not sure I understand this example....
vo.x (Vit Ondruch)
06:34 PM Bug #5476 (Closed): ruby 1.9.3_rc1 segfaults in test_fork.rb on HPPA
OK, thank you.
kosaki (Motohiro KOSAKI)
06:17 PM Bug #5476: ruby 1.9.3_rc1 segfaults in test_fork.rb on HPPA
It looks like this got fixed with http://bugs.ruby-lang.org/issues/5488, we can no longer reproduce this in the latest version of ruby 1.9.3. hansdegraaff (Hans de Graaff)
05:37 PM Bug #7211 (Rejected): eval does not respect encoding magic comment
=begin
This should work IMO.

$ LANG=C irb
irb(main):001:0> eval <<EOF
irb(main):002:0" # encoding: utf-8
irb(main):003:0" puts "vít"
irb(main):004:0" EOF
SyntaxError: (irb):3: invalid multibyte char (US-ASCII)
(irb):1...
vo.x (Vit Ondruch)
01:08 PM Bug #7167: Segmentation Fault
After the third try everything went fine for me, too. I had a very unstable wifi connection this day, maybe a bug in the Net library. ushi (ushi kalcher)
12:54 PM Bug #7167: Segmentation Fault
I have just tried this from slackware-current (14.0), using rvm to match the ruby version.
I was not able to reproduce.
vbatts@dolph:~$ ruby -v `which gem` install prawn
ruby 1.9.3p286 (2012-10-12 revision 37165) [i686-linux]
...
vbatts (Vincent Batts)
10:47 AM Bug #7197: Error: test_tls_v1_2(OpenSSL::TestSSL)
Hey Martin,
No problem :) I hope it at least helps a little. I was wondering, whether the following would cause issues:
ftp://ftp.openssl.org/snapshot/openssl-1.0.2-stable-SNAP-20121023.tar.gz
I will try to compile ext/openssl a...
kwilczynski (Krzysztof Wilczynski)
10:39 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
Hey,
I am adding one large patch, as per Aaron Patterson's request :-)
KW
kwilczynski (Krzysztof Wilczynski)
09:49 AM Revision e59e5e90 (git): objspace.c: enum ruby_value_type
* ext/objspace/objspace.c (type2sym, count_objects_size): use enum
instead of size_t which may be larger than actual values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:48 AM Revision aaf34605 (git): vm_insnhelper.c: inline
* vm_insnhelper.c: declare as inline, to match with the definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:46 AM Revision 9b68747b (git): * benchmark/driver.rb: add `-x' or `--exclude' option
to specify exclude benchmark name pattern.
You can specify "-x foo" if you want to exclude the benchmarks
if the name of benchmark contains `foo'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37314 b2dd03c8-39d4-4d8f-98ff-823...
ko1 (Koichi Sasada)
04:53 AM Bug #7085: Subversion → GitHub gateway stops.
2012/10/19 Evan Phoenix <evan@phx.io>:
> Sorry for the delay. I'll set this up this weekend.

Hello Evan, did you had luck setting this up?

Is there a way I can help you out?

Thank you.

--
Luis Lavena
AREA 17
-
Perfecti...
luislavena (Luis Lavena)
04:29 AM Revision a4ba41a2 (git): rename it to a more fitting name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
04:14 AM Revision bda72622 (git): fix the function name which is not grammatically correct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
03:55 AM Revision f0a435c1 (git): * gc.c (free_object_aquire): rename to match the behavior of this
function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
03:00 AM Revision 04c177e2 (git): * ext/objspace/objspace.c (reachable_object_from_i): change data
structure of the result of reachable objects. Keys of table
contains object_id of each reachable objects. Value of table
is an object itself or an instance of InternalObjectWrapper.
To avoid duplication, we use st_table and object_...
ko1 (Koichi Sasada)
02:40 AM Feature #5690: Module#qualified_const_get
I've written a patch this this feature, and I've attached it here. Will someone review so that we can figure out what needs to change before it's applied? Thank you. tenderlovemaking (Aaron Patterson)
01:39 AM Revision aab12ec0 (git): * gc.c (garbage_collect, gc_marks): move the location of
clear and restore rb_objspace_t::mark_func_data
from garbage_collect() to gc_marks().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:21 AM Revision 6cbd18d7 (git): * ext/objspace/objspace.c (Init_objspace): add a new method
`ObjectSpace::InternalObjectWrapper#internal_object_id' which returns
an object id of a wrapped internal object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
12:04 AM Revision 6c6dece7 (git): * ext/objspace/objspace.c (ObjectSpace.reachable_objects_from):
internal object support.
If given object `obj' has references to internal objects
(such as T_NODE objects), then this method returns instances of
`ObjectSpace::InternalObjectWrapper' instead of that internal objects.
This instanc...
ko1 (Koichi Sasada)

10/23/2012

09:28 PM Bug #7208 (Closed): 複素固有値を持つ行列に対する Matrix#eigensystem の返り値が正しくない
=begin
概要:
Matrix[[0, 1], [-1, 0]] などのように対角化可能だが固有値に複素数を含む行列に対して Matrix#eigensystem が正しい結果を返さないようです。
再現手順:
irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 1.9.3p286 (2012-10-12 revision 37165) [i386-mswin32_100]"
irb(main):002:0...
pypypy567 (py _)
09:03 PM Feature #6643: io.seek(off, :end)
ありがとうございます!
反対している人はいないので、コミットしていいんじゃないかなぁと思います。
kou (Kouhei Sutou)
08:53 PM Revision e1d772c8 (git): * vm_insnhelper.c (vm_call_method): remove `default' and
add a case for `VM_METHOD_TYPE_UNDEF'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:42 PM Revision 378041cf (git): * eval_error.c (error_print), vm_eval.c (eval_string_with_cref),
vm_trace.c (rb_suppress_tracing): use TH_PUSH_TAG() instead of
PUSH_TAG().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:34 PM Revision a0873931 (git): * vm_eval.c (vm_call0_body): remove RUBY_VM_CHECK_INTS()
after method invocation using rb_call0().
* vm_eval.c (vm_call0_body): remove default section on top of
switch statement and add cases for `VM_METHOD_TYPE_CFUNC_FRAMELESS'
and `VM_METHOD_TYPE_UNDEF'.
* vm_eval.c (vm_call0_body): remo...
ko1 (Koichi Sasada)
05:46 PM Revision fe38109f (git): Add test for instance_exec receiving a curried proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:08 PM Bug #7184 (Closed): --disable-gems commandline parameter does not show up with ruby -h
This issue was solved with changeset r37298.
siep, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ruby.c: --help option
* ruby.c (usage, process_options): show mo...
nobu (Nobuyoshi Nakada)
04:37 PM Revision a8e25c92 (git): test_rubyoptions.rb: --help option
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage): now
--help shows more lines. [ruby-core:48072] [Bug #7184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:54 PM Revision 8642c4af (git): * 2012-10-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision d8d95fcc (git): * ChangeLog: fix typos of r37293.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
01:37 PM Revision 479d8ce5 (git): * thread.c (thread_raise_m): check interrupts after Thread#raise
if a target thread is the current thread because the behavior
of Thread.current.raise is expected to perform same as
Kernel.raise (by rubyspec).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37299 b2dd03c8-39d4-4d8f-98ff-823fe...
ko1 (Koichi Sasada)
09:17 AM Bug #7197 (Assigned): Error: test_tls_v1_2(OpenSSL::TestSSL)
Thank you, Krzysztof, for your investigation. I can confirm that I get the same behavior as Kazuhiro with a 1.0.1c version built directly from the OpenSSL repository. That version is the reference for us, so all tests should pass with th... MartinBosslet (Martin Bosslet)
08:08 AM Revision 357a5f5a (git): ruby.c: --help option
* ruby.c (usage, process_options): show more info in --help.
[EXPREIMENTAL] [ruby-core:48072] [Bug #7184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:20 AM Revision ec007f72 (git): ruby-electric.el: fix #198
* misc/ruby-electric.el using variable `last-command-event' instead of
obsolete `last-command-char', so that work with Emacs trunk.
a patch by Victor Deryagin <vderyagin AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
05:06 AM Revision 02493955 (git): configure.in: no visibility option for older GCC
* configure.in (visibility_option): visibility attribute is not
available before GCC 4, so do not use -fvisibility option in that
case. [ruby-core:48147] [Bug #7205]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37296 b2dd03c8...
nobu (Nobuyoshi Nakada)
04:52 AM Revision a4f79a6e (git): Revert the last commit because some tests (in btest) fail
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:33 AM Revision d41ec2a7 (git): * thread.c (rb_threadptr_raise): check interrupts after
Thread#raise because the behavior of Thread.current.raise is
expected to perform same as Kernel.raise (by rubyspec).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:22 AM Revision 9eba45a7 (git): * vm_core.h, vm_insnhelper.c, vm_eval.c (OPT_CALL_CFUNC_WITHOUT_FRAME):
add a new otpimization and its macro `OPT_CALL_CFUNC_WITHOUT_FRAME'.
This optimization makes all cfunc method calls `frameless', which
is fster than ordinal cfunc method call.
If `frame' is needed (for example, it calls another met...
ko1 (Koichi Sasada)
01:10 AM Feature #7114: New classes: `HumanTime::LocalTime`, `HumanTime::Duration`
It seems the picture is drawn much bigger now, than what @alexeymuranov initially proposed.
That's not a bad thing itself but might diverse the discussion. Could we have a different story about Time/Date renovation?
shyouhei (Shyouhei Urabe)
01:00 AM Feature #7114: New classes: `HumanTime::LocalTime`, `HumanTime::Duration`
It might be useful to look at the JodaTime library for the JVM. JRuby uses JodaTime to implement Time internally, and we have debated using it to implement most of 'date' ext as well. Java has suffered through a number of lackluster date... headius (Charles Nutter)
12:55 AM Feature #7087: ::ConditionVariable#wait does not work with Monitor because Monitor#sleep does not exist
A few JRuby tidbits that might help shed some light.
Java's per-object monitors are reentrant, as already stated. They do not, however, provide a mechanism for querying who has locked, how many are waiting, etc. Because of that, JRuby...
headius (Charles Nutter)

10/22/2012

09:25 PM Revision 3c73f44c (git): * ext/psych/parser.c: just get the constant defined in Ruby.
* ext/psych/lib/psych/syntax_error.rb: Psych::SyntaxError now inherits
from StandardError rather than SyntaxError. Thanks Eric Hodel!
* test/psych/test_exception.rb: tests for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
tenderlovemaking (Aaron Patterson)
09:24 PM Revision 6c6d4568 (git): * ext/psych/lib/psych/scalar_scanner.rb: Cache symbols while
tokenizing. Thanks Kevin Menard!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
09:24 PM Revision ca0cf167 (git): * ext/psych/lib/psych/scalar_scanner.rb: Updated the RegExp to catch
Strings earlier in the tokenization process. Thanks Kevin Menard!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
09:14 PM Revision b3fb872d (git): * ext/psych/lib/psych/visitors/to_ruby.rb: Handle nil tags specially
to avoid slow method_missing calls. Thanks Kevin Menard!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
09:09 PM Revision ec3056ae (git): * ext/psych/lib/psych/scalar_scanner.rb: Ignore bad timestamps. If
something looks like a timestamp but has an invalid component, treat
it as a string instead of throwing an ArgumentError.
Thanks Rhett Sutphin!
* test/psych/test_scalar_scanner.rb: appropriate tests.
git-svn-id: svn+ssh://ci.ruby-l...
tenderlovemaking (Aaron Patterson)
09:06 PM Revision c05952c6 (git): * ext/psych/lib/psych/scalar_scanner.rb: Fix scalar_scanner to
understand strings starting with an underscore and containing only
digits. Thanks Kelley Reynolds.
* test/psych/test_scalar_scanner.rb: test for fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37287 b2dd03c8-39d4-4d8f-98ff-823...
tenderlovemaking (Aaron Patterson)
09:02 PM Revision 1c5ae4b3 (git): * 2012-10-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:02 PM Revision b00362eb (git): * ext/psych/lib/psych.rb: Changed comment in psych.rb to update new
home page for libyaml. Thanks to Carolyn Ann.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
08:56 PM Feature #7132: Alternation between named / ordered method arguments and aliases for method arguments.
@wardrop: @Tom Wardrop:
> Your use case for the named aliases is way too niche (and to be honest, unconvincing; why can't your colleagues just learn the interface) and just adds unnecessary complexity.
I would never dare to suggest t...
Anonymous
08:32 PM Bug #7198: No documentation of Psych on ruby-doc.org
=begin
This has been fixed by James Britt.
=end
stomar (Marcus Stollsteimer)
05:23 PM Bug #7032: TestSetTraceFuncの実行に失敗する
ありがとうございます.
この辺,考えていたんですが,

(1) event_hooks(イベントのリスト)は thread ごとではなく,
VM 1つだけに持たせる
 (Thread ごとにフィルタするために,イベントにフィルタを設ける)

(2) event_hooks は thread ごとにもたせ,グローバルなモノは外す
 (グローバルなイベントは,全スレッドにコピー)

のどちらかにしようかなぁ,と考えています....
ko1 (Koichi Sasada)
01:26 PM Bug #6865: GC::Profiler.report might create a huge String and invoke a few GC cycles
Maybe interesting is JRuby's implementation of GC::Profiler, which just uses Ruby code to drive existing JVM GC reporting APIs.
https://github.com/jruby/jruby/blob/post17/src/jruby/kernel19/gc.rb
The most recent commit adds streami...
headius (Charles Nutter)
11:39 AM Bug #6865: GC::Profiler.report might create a huge String and invoke a few GC cycles

Eregon (Benoit Daloze) wrote:
> Here is a patch.
> ...
I see. It is better for memory usage to progressively write the IO stream on #report.
Would you like to try it?
> I copy each gc_profile_record on the stack, is it fine or do...
authorNari (Narihiro Nakamura)
12:05 AM Bug #6865: GC::Profiler.report might create a huge String and invoke a few GC cycles
Here is a patch.
It uses directly C structures, avoiding to allocate the Array of Hashes.
The effect is easily seen: http://eregon.me/ruby/gc_profiler.png (y is GC time(ms), x is the Index, red is old, blue new, GC::Profiler.report i...
Eregon (Benoit Daloze)
11:08 AM Feature #6643: io.seek(off, :end)
Kouhei Sutou wrote:
> 個人的には(1)間違った値と(2)間違っている理由と(3)期待する値が入ったエラーメッセージがあると直す時に嬉しいので、今ある案がまざった"whence must be an Integer or Symbol: %s given"みたいなのがいいんじゃないかと思います!
なるほど。確かにその3つの情報が入っていると直す時に嬉しいですね。
エラーメッセージを改善したpatchを添付します。
コメントにも修正を加えて...
Glass_saga (Masaki Matsushita)
07:02 AM Bug #7204 (Third Party's Issue): gem check -a crashes with Exception `NameError' uninitialized constant Gem::Commands::CheckCommand AND Exception `NoMethodError' undefined method `add'
nobu (Nobuyoshi Nakada)
05:30 AM Bug #7204: gem check -a crashes with Exception `NameError' uninitialized constant Gem::Commands::CheckCommand AND Exception `NoMethodError' undefined method `add'
I have cross-filed with RubyGems here: https://github.com/rubygems/rubygems/issues/387
I am not sure the area of responsibility, so please forgive the cross filing. I believe this goes against Ruby itself, but am unsure so crossfiled.
davidderyldowney (David Deryl Downey)
05:28 AM Bug #7204 (Third Party's Issue): gem check -a crashes with Exception `NameError' uninitialized constant Gem::Commands::CheckCommand AND Exception `NoMethodError' undefined method `add'
When running the command: gem check -a
It crashes on OSX with
Exception `NameError' at /Users/me/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::CheckC...
davidderyldowney (David Deryl Downey)
06:07 AM Bug #7092: StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives
Bump. Can someone confirm whether or not this is expected behavior? jayferd (Jay Adkisson)
01:28 AM Bug #5906 (Rejected): CSV converter option fails in case of :date_time
The converters do work, just not on the date format you gave them.
Your format is ambiguous. Should we treat it as month-day-year as it would be in the U.S. or day-month-year as it would be in the U.K.? Because we can't know, we don...
JEG2 (James Gray)
12:47 AM Revision 155291a8 (git): * 2012-10-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:47 AM Revision 900b62a2 (git): Supress warnings: unused variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:31 AM Bug #7197: Error: test_tls_v1_2(OpenSSL::TestSSL)
Hey,
I have had a look, and it does look like an upstream problem at the first glance. There seem to be a bug open against this particular version of OpenSSL (openssl and libssl in Ubuntu) describing similar problems that other people...
kwilczynski (Krzysztof Wilczynski)

10/21/2012

11:07 PM Bug #7198: No documentation of Psych on ruby-doc.org
Sorry, but I do not know how to open an issue there. I also have no insight into the way documentation is created and can not make any use of your last sentence.
I already did file an issue at Psych's GitHub repository and was referen...
stomar (Marcus Stollsteimer)
10:54 PM Bug #7198 (Third Party's Issue): No documentation of Psych on ruby-doc.org
http://www.ruby-doc.org/ is maintained by James Britt
If you ask nicely, he might help us out.
Psych is already under ext/.document so it should use that as reference.
zzak (zzak _)
10:32 PM Bug #6849 (Closed): Psych.load_file throws TypeError for empty file
This is a duplicate of #6487 zzak (zzak _)
10:29 PM Bug #7173 (Closed): with-opt-dir flag documentation
This was resolved by r37242 zzak (zzak _)
07:24 PM Bug #7032: TestSetTraceFuncの実行に失敗する
=begin
SEGVする問題については、すでにトレースが実行されている場合は
clean_hooksしないという形で修正しました。
"undefined local variable or method"となる問題はtrunkで
再現できないのでこのチケットはクローズします。
再発するようであれば新しくチケットを作りたいと思います。
=end
ktsj (Kazuki Tsujimoto)
07:14 PM Bug #7032 (Closed): TestSetTraceFuncの実行に失敗する
This issue was solved with changeset r37280.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_core.h (rb_vm_t::trace_running): add a new field
`trace_...
ktsj (Kazuki Tsujimoto)
02:29 PM Bug #7201 (Rejected): Setting default_external affects STDIN encoding but default_internal does not
Changing Encoding.default_external changes STDIN.external_encoding, but changing Encoding.default_internal does not change STDIN.internal_encoding.
STDOUT and STDERR internal/external encodings are not changed in either case and are a...
brixen (Brian Shirai)
11:55 AM Bug #7200 (Rejected): Setting external encoding with BOM|
File.open will accept, for example, :encoding => "bom|utf-16be:euc-jp" or :encoding => "bom|utf-16be". However, :external_encoding => "bom|utf-16be" raises an ArgumentError. Likewise, IO#set_encoding will accept "bom|utf-16be:euc-jp" but... brixen (Brian Shirai)
10:16 AM Revision f1cbd700 (git): * test/ruby/test_settracefunc.rb: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
10:14 AM Revision 811d072d (git): * vm_trace.c (rb_threadptr_exec_event_hooks, rb_suppress_tracing):
constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
10:14 AM Revision f21d7d98 (git): * vm_core.h (rb_vm_t::trace_running): add a new field
`trace_running' to store vm global tracing status.
* vm_trace.c: fix SEGV bug. event_hook was free'd
even when the hook is still used in another thread.
[ruby-dev:46141] [Bug #7032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
ktsj (Kazuki Tsujimoto)
10:14 AM Revision 93184600 (git): * vm_core.h (rb_vm_t::trace_flag): remove `trace_flag'
which is no longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
09:41 AM Revision 9e3633df (git): * 2012-10-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:41 AM Revision 2cbb4481 (git): * ext/date/date_parse.c (date__parse): uses more tight parser if
defined TIGHT_PARSER. now inactivated; because it introduces
incompatibilities and it is a bit slow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
08:05 AM Feature #7132: Alternation between named / ordered method arguments and aliases for method arguments.
@nobu: Daring syntax. If there is no snag, I'd love it that way. Anonymous

10/20/2012

04:53 PM Feature #6875: Make test/unit default gem
# https://bugs.ruby-lang.org/issues/6875 から投稿しようとす
# るとInternal Server Errorになるのでメールで送ります。
# これでもRedmineに登録されるんですよね。

I'm the test-unit gem maintainer and working on default gem for RubyGems library.
I want to make Ruby users ...
kou (Kouhei Sutou)
04:10 PM Bug #7198 (Third Party's Issue): No documentation of Psych on ruby-doc.org
=begin
The documentation for the Psych module does not show up on http://www.ruby-doc.org/stdlib-1.9.3/.
=end
stomar (Marcus Stollsteimer)
03:57 PM Feature #7047 (Closed): Add new C API: rb_newobj_with
This issue was solved with changeset r37275.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* include/ruby/ruby.h: add C APIs.
VALUE rb_newobj_of(VALUE...
authorNari (Narihiro Nakamura)
03:57 PM Feature #7177 (Closed): Proposal of a new C API
This issue was solved with changeset r37275.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* include/ruby/ruby.h: add C APIs.
VALUE rb_newobj_of(VALUE...
authorNari (Narihiro Nakamura)
01:30 PM Bug #7197 (Closed): Error: test_tls_v1_2(OpenSSL::TestSSL)
Ubuntu 12.04.1 LTS 64-bit の環境で以下のエラーが出ています。
2) Error:
test_tls_v1_2(OpenSSL::TestSSL):
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=unknown state: tlsv1 alert protocol version
.../test/openssl/test_ssl.rb:607:...
znz (Kazuhiro NISHIYAMA)
01:23 PM Feature #7087: ::ConditionVariable#wait does not work with Monitor because Monitor#sleep does not exist
On Oct 1, 2012, at 2:38 AM, "shugo (Shugo Maeda)" <redmine@ruby-lang.org> wrote:

>
> Issue #7087 has been updated by shugo (Shugo Maeda).
>
>
> kosaki (Motohiro KOSAKI) wrote:
>> monitor is based on Java monitor semantics.
>...
olegshaldybin (Oleg Shaldybin)
12:51 PM Bug #7105 (Closed): Socket documentation fix
This issue was solved with changeset r37274.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/socket.c: Documentation for Socket
Based on a pat...
zzak (zzak _)
12:23 PM Bug #7085: Subversion → GitHub gateway stops.
Sorry for the delay. I'll set this up this weekend.

--
Evan Phoenix // evan@phx.io


On Monday, October 15, 2012 at 8:44 PM, shyouhei (Shyouhei Urabe) wrote:

>
> Issue #7085 has been updated by shyouhei (Shyouhei Urabe).
...
evanphx (Evan Phoenix)
11:36 AM Revision 0ef8222e (git): * gc.c: fix typos in documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
11:00 AM Bug #7190 (Closed): warning: already initialized constant の書式
未定義の定数を参照した場合のエラーメッセージでは名前空間がすべて表示されます:
module A; B; end
#=> NameError: uninitialized constant A::B
A::B
#=> NameError: uninitialized constant A::B
しかし、既に定義してある定数を再定義した場合の警告メッセージでは名前空間が表示されません:
module A; B...
sawa (Tsuyoshi Sawada)
06:57 AM Revision c3a46d6a (git): * include/ruby/ruby.h: add C APIs.
VALUE rb_newobj_of(VALUE klass, VALUE flags)
#define NEWOBJ_OF(obj,type,klass,flags)
These allow to change a allocation strategy depending on klass
or flags.
* gc.c: ditto
* array.c: use new C API.
* bignum.c: ditto
* class.c: di...
authorNari (Narihiro Nakamura)
03:51 AM Revision f1e488e5 (git): * ext/socket/socket.c: Documentation for Socket
Based on a patch by David Albert
[Bug #7105] [ruby-core:47828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
02:01 AM Revision dd05478f (git): * lib/open-uri.rb: Documentation for OpenURI
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)

10/19/2012

10:53 PM Bug #7050: encoding of String#unpack for 'H', 'h', 'B' and 'b'
On 19 October 2012 07:47, naruse (Yui NARUSE) <naruse@airemix.jp> wrote:
> Eregon (Benoit Daloze) wrote:
>> Ping!
>>
>> I would like to merge this.
>> If there are no objections, may I merge this in a week?
>
> OK, here yo...
Eregon (Benoit Daloze)
10:13 PM Bug #7050 (Closed): encoding of String#unpack for 'H', 'h', 'B' and 'b'
This issue was solved with changeset r37269.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
set encoding to ASCII for appropriate String#unpack modifiers
...
Eregon (Benoit Daloze)
02:47 PM Bug #7050: encoding of String#unpack for 'H', 'h', 'B' and 'b'
Eregon (Benoit Daloze) wrote:
> Ping!
> ...
OK, here you go
naruse (Yui NARUSE)
09:23 PM Bug #6548: Rake doesn't ignore arguments after --
Thanks for pointing me out to the documentation, Jim, but just knowing
about this feature existence was enough for me to get it working
yesterday night:

https://github.com/rosenfeld/oojs_assets_enabler/commit/a38f67278821a4d7...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:18 PM Bug #6548: Rake doesn't ignore arguments after --
Actually, the post Eric refers to is a bit out of date. Look for the section "Tasks with Arguments" in the Rakefile writeup on GitHub: https://github.com/jimweirich/rake/blob/master/doc/rakefile.rdoc jimweirich (Jim Weirich)
10:12 AM Bug #6548: Rake doesn't ignore arguments after --
Great! Thank you so much, Eric! I'll give it a try as soon as I find some time to work on this again. rosenfeld (Rodrigo Rosenfeld Rosas)
09:25 AM Bug #6548: Rake doesn't ignore arguments after --
Use rake task arguments:
http://rubyforge.org/pipermail/rake-devel/2007-December/000352.html
See also:
http://lmgtfy.com/?q=rake+task+arguments
drbrain (Eric Hodel)
09:16 AM Bug #6548: Rake doesn't ignore arguments after --
Here is my use case. I've developed some gems for testing client-side code, including oojs. I've created an example on how to use it even for non-Ruby/Rails applications.
Then I created a task like "rake oojs:spec -- --name=shopping_c...
rosenfeld (Rodrigo Rosenfeld Rosas)
04:09 AM Bug #6548: Rake doesn't ignore arguments after --
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> It is not a matter of respect. I do respect Jim's opinion, but this is how I see this.
> ...
More accurately, in most unix programs, "--" denotes that everything after is treated as an argum...
jeremyevans0 (Jeremy Evans)
03:24 AM Bug #6548: Rake doesn't ignore arguments after --
It is not a matter of respect. I do respect Jim's opinion, but this is how I see this.
Clearly this is not expected behavior for any script (in Unix, -- means that additional options should be ignored).
Now if rake was independent ...
rosenfeld (Rodrigo Rosenfeld Rosas)
03:12 AM Bug #6548: Rake doesn't ignore arguments after --
With all due respect to matz, the final decision should be Jim's.
Jim wrote rake and rake has supported the current behavior for many years. Please respect Jim's decision.
drbrain (Eric Hodel)
02:49 AM Bug #6548: Rake doesn't ignore arguments after --
It seems Jim Weirich doesn't believe this is a bug actually. I'd like to open up this for further discussion on ruby-core list.
Matz, do you have any opinion about how rake should handle "--" in arguments list?
rosenfeld (Rodrigo Rosenfeld Rosas)
09:20 PM Revision 167c4781 (git): * 2012-10-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:20 PM Revision fb03eb91 (git): * hash.c (initialize_copy): unset the default proc if there isn't one
for the target hash, call to_hash, check frozen status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
04:20 PM Feature #7132: Alternation between named / ordered method arguments and aliases for method arguments.
=begin
def new_thief(n = "John Doe", name: n, hp: 9, dex: 11, hit_points: hp, dexterity: dex)
=end
nobu (Nobuyoshi Nakada)
10:05 AM Feature #7132: Alternation between named / ordered method arguments and aliases for method arguments.
=begin
I can't imagine anyone wanting to implement this. Your use case for the named aliases is way too niche (and to be honest, unconvincing; why can't your colleagues just learn the interface) and just adds unnecessary complexity. As ...
wardrop (Tom Wardrop)
02:59 PM Bug #7184: --disable-gems commandline parameter does not show up with ruby -h
On 2012/10/19 12:02, U.Nakamura wrote:
> Hello,
>
> In message "[ruby-core:48081] [ruby-trunk - Bug #7184] --disable-gems commandline parameter does not show up with ruby -h"
> on Oct.19,2012 11:41:49,<nobu@ruby-lang.org> ...
duerst (Martin Dürst)
12:23 PM Bug #7184: --disable-gems commandline parameter does not show up with ruby -h
Hello,

In message "[ruby-core:48081] [ruby-trunk - Bug #7184] --disable-gems commandline parameter does not show up with ruby -h"
on Oct.19,2012 11:41:49, <nobu@ruby-lang.org> wrote:
> Yes, another idea is adding a new opti...
usa (Usaku NAKAMURA)
11:41 AM Bug #7184: --disable-gems commandline parameter does not show up with ruby -h
Yes, another idea is adding a new option to show all. nobu (Nobuyoshi Nakada)
09:12 AM Bug #7184: --disable-gems commandline parameter does not show up with ruby -h
There are many options that do not show up with --help including all of the --disable-feature options.
I believe that historically --help hasn't show all of the options ruby supports in order to allow --help to fit on one screen.
Y...
drbrain (Eric Hodel)
06:15 AM Bug #7184 (Closed): --disable-gems commandline parameter does not show up with ruby -h
The --disable-gems commandline parameter, as documented in The Ruby Programming Language, is not listed when exploring the options with 'ruby -h'. steenslag (siep korteling)
01:22 PM Revision 2fe13f62 (git): vm.c: pass through thrown objects
* vm.c (rb_vm_jump_tag_but_local_jump): pass through thrown objects.
[ruby-dev:46234] [Bug #7185]
* vm_eval.c (rb_eval_cmd): if state is non-zero, val should be nil and
rb_vm_jump_tag_but_local_jump() just jump tag.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
01:13 PM Revision b0e40509 (git): set encoding to ASCII for appropriate String#unpack modifiers
* pack.c (pack_unpack): set encoding of the
'H','h','B' and 'B' modifiers to US-ASCII.
* test/ruby/test_pack.rb: tests for the above.
[ruby-core:47653][Bug #7050]
* test/test_securerandom.rb: tests for SecureRandom.hex
from tenderl...
Eregon (Benoit Daloze)
01:11 PM Bug #7163 (Assigned): Chomp problem in pkg_config of mkmf.rb (ruby 1.9.3 P286)
usa (Usaku NAKAMURA)
01:09 PM Bug #7172 (Closed): [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2)
Already backport at r37155. usa (Usaku NAKAMURA)
10:38 AM Revision f4dbc7a3 (git): * method.h (rb_method_cfunc_t::invoker): add new field (func ptr)
`invoker'. `invoker' function invoke cfunc body
(rb_method_cfunc_t::func).
`invoker' is set at method definition timing.
With this change, the big `switch' (branch) in `call_cfunc()'
is no longer needed.
However, the performanc...
ko1 (Koichi Sasada)
10:29 AM Feature #7114: New classes: `HumanTime::LocalTime`, `HumanTime::Duration`
Personally, I find Ruby's whole Time API to be lack-luster and frustrating. It's probably the thing I like least about Ruby. I'd be in favor of a total redesign of Ruby's Time classes. A certain number of improvements could be made witho... wardrop (Tom Wardrop)
10:11 AM Feature #7121: Extending the use of `require'
I personally don't mind your suggestion. It makes sense to me. I can't think of any potential negative side effects. On that note, I think the return value should always be a boolean, instead of a boolean OR an array of booleans dependin... wardrop (Tom Wardrop)
07:57 AM Revision 0fc7f4bb (git): * eval.c, vm_eval.c: use TH_PUSH_TAG() instead of PUSH_TAG().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:31 AM Revision 9b1d0762 (git): merge revision(s) 37242: [Backport #7120]
* configure.in (opt-dir): allow multiple directories separated by
$PATH_SEPARATOR as well as dir_config in mkmf.rb. [ruby-core:47868]
[Bug #7120]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37266...
U.Nakamura
03:54 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
Hey,
Small updates regarding this :) Support for nanoseconds in Linux kernel for VFS and stat(2) was added around 2.5.38[1]. Then, adding support of lutimes(3) was already mentioned here: http://bugs.ruby-lang.org/issues/4052
Said ...
kwilczynski (Krzysztof Wilczynski)
02:15 AM Revision e99989bf (git): * benchmark/driver.rb: remove unexpected `output'.
(commit miss)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:33 AM Bug #7168: File.join trips over string encodings
You are right that Darwin doesn't have this problem, as far as I know. As I pointed out the problem was originally found on Windows, where the filesystem uses UTF-16.
Why is the behavior that I expected (that File.join can work with a...
aparker42 (Andrew Parker)
01:24 AM Revision 3daa9b9f (git): * vm_insnhelper.c (vm_search_method): remove needless local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:23 AM Revision f2a9c42c (git): * benchmark/bmx_temp.rb: removed.
This file should not be in repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:22 AM Revision 0801dba3 (git): * 2012-10-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:22 AM Revision a31d53ec (git): * benchmark/driver.rb: add new option `--ruby-arg [ARG]'
which is passed as a launch parameter for each ruby's execution.
($ ruby [ARG] [File])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)

10/18/2012

09:55 PM Bug #7182 (Rejected): bug with Array#sort ?
sorah (Sorah Fukumori)
09:54 PM Bug #7182: bug with Array#sort ?
ご説明ありがとうございます。
非常に勉強になりました、お騒がせしてしまい申し訳ございません。
nazomikan (中島 拓哉)
09:38 PM Bug #7182: bug with Array#sort ?
> case 2,3,6は["1", "2", "3", "4", "10", "11", "23"]が期待値だと思うのですがどうでしょう。
これは、
p(ary.sort) do |a, b|
a.to_i <=> b.to_i
end
と解釈されて、ブロックは p に渡したと解釈されて、無視されています。
() を使うか、ブロックを {} で書くか、一旦別の変数に代入すると、期待する通りに動くと思います。
p(ary.sort do...
no6v (Nobuhiro IMAI)
09:35 PM Bug #7182: bug with Array#sort ?
do..endの優先度が低くてpの引数扱いされてるんですね。
失礼いたしました。 bugではありませんでした。
nazomikan (中島 拓哉)
08:39 PM Bug #7182: bug with Array#sort ?
case 2,3,6は["1", "2", "3", "4", "10", "11", "23"]が期待値だと思うのですがどうでしょう。 nazomikan (中島 拓哉)
08:36 PM Bug #7182 (Rejected): bug with Array#sort ?
Array.sortにコードブロックを与え、出力した際( p ary.sort do |a,b| .. end )にコードブロックでのソート条件が無視されて出力される
# case 1
ary = ["1", "2", "10", "11", "3", "4", "23"]
p ary.sort
# result: ["1", "10", "11", "2", "23", "3", "4"]
#case 2
ary = ["1", "2", "1...
nazomikan (中島 拓哉)
09:47 PM Bug #7183 (Closed): Resolv::DNS::getresources throws Errno::EACCES: Permission denied - bind(2) on solaris
we have ruby running on Solaris. sometimes one of our tools fails with exception Errno::EACCES while calling Resolv::DNS::getresources. This only happens one out of thousands of times the tool is used.
After looking into lib/resolv.rb ...
frank_meier (Frank Meier)
04:10 PM Feature #6875: Make test/unit default gem
Hi guys,
Could you please enlighten what this issue solves? Adding .gemspec is not enough to create valid gem. The gem typically consist from following properties:
1) The /usr/bin stub allow to load specified version of gem, e.g. c...
vo.x (Vit Ondruch)
12:51 PM Feature #7181: New Methods On OpenSSL::OCSP::CertificateId
Oops, left one extraneous line in a test. Removed in v2. reaperhulk (Paul Kehrer)
12:43 PM Feature #7181 (Closed): New Methods On OpenSSL::OCSP::CertificateId
This patch adds 3 new methods to OpenSSL::OCSP::CertificateId. These methods are useful when building an OCSP responder or doing comparison without repeatedly calling OpenSSL::OCSP::CertificateId#cmp_issuer
#issuer_name_hash
#issuer_...
reaperhulk (Paul Kehrer)
09:44 AM Revision 7e8f558a (git): * insns.def (opt_send_simple): move the location of
`opt_send_simple' to the place near `send' definition.
(to take care about icache locality).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:41 AM Revision d0ead208 (git): * insns.def (send): remove unused condition.
This condition will be true after r37258.
* vm_insnhelper.c (vm_caller_setup_args): remove `UNLIKELY' on
checking blockiseq (it seems `LIKELY').
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37259 b2dd03c8-39d4-4d8f-98ff-823fe69...
ko1 (Koichi Sasada)
09:35 AM Bug #7180 (Feedback): set_trace_func with error in proc block locks up Ruby with 100% cpu usage and no way to exit without killing proc
=begin
I can't reproduce this. Can you provide a way to reproduce it?
With trunk:
$ time ruby20 -ve 'set_trace_func proc {|event, file, line, id, binding, classname| raise "error"}; loop do 1 + 1 end'
ruby 2.0.0dev (2012-09-...
drbrain (Eric Hodel)
02:49 AM Bug #7180: set_trace_func with error in proc block locks up Ruby with 100% cpu usage and no way to exit without killing proc
One workaround:
l = lambda {|event, file, line, id, binding, classname| eval "def invalid syntax"}
set_trace_func proc {|event, file, line, id, binding, classname| begin;l.call(event, file, line, id, binding, classname);rescue SystemExi...
garysweaver (Gary Weaver)
02:34 AM Bug #7180 (Closed): set_trace_func with error in proc block locks up Ruby with 100% cpu usage and no way to exit without killing proc
Causes 100% cpu usage and cannot ctrl-C to exit (have to kill proc):
set_trace_func proc {|event, file, line, id, binding, classname| raise "error"}
Understand that set_trace_func plays by different rules, but this isn't expected.
garysweaver (Gary Weaver)
09:17 AM Bug #7166: Speed up Hash#dup by patching Hash#initialize_copy
I added the call to rehash and tested. It's still faster than using rb_hash_replace, so I'll add the fix.
Sorry I broke the tests!
tenderlovemaking (Aaron Patterson)
08:35 AM Revision 1486b9cf (git): * insns.def (opt_send_simple): introduce new instruction used
when no need to care about block and splat.
* compile.c: use the `opt_send_simple' instruction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:44 AM Revision 6be52625 (git): vm_method.c: check arity earlier
* vm_method.c (rb_add_method_cfunc, rb_add_method_cfunc_frameless):
check arity earlier at definition time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:33 AM Bug #7050: encoding of String#unpack for 'H', 'h', 'B' and 'b'
Ping!
I would like to merge this.
If there are no objections, may I merge this in a week?
Eregon (Benoit Daloze)
06:57 AM Revision 60f949e1 (git): ChangeLog: adjust spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:14 AM Revision fea629da (git): * vm_insnhelper.c: add `inline' keyword to several functions.
Compilers (gcc) are conservative than I expected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:04 AM Revision cc012cfb (git): * include/ruby/ruby.h: add a decl. of
`rb_define_frameless_method()'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:33 AM Revision c992cec4 (git): * compile.c (new_callinfo): set a temporary index of callinfo
(used in `iseq_set_sequence()') to rb_call_info_t::aux::index.
rb_call_info_t::argc is initialiesed by same value of
rb_call_info_t::orig_argc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37253 b2dd03c8-39d4-4d8f-98ff-823fe6...
ko1 (Koichi Sasada)
05:22 AM Revision 588b73bc (git): * class.c (rb_define_frameless_method): rename from
rb_define_method_fast(). Defined method with this C API
does not make a method frame. It is bit lightweight than
ordinal C functions. Now only 0 or 1 argc are permitted.
* method.h (VM_METHOD_TYPE_CFUNC_FRAMELESS): rename macro name
...
ko1 (Koichi Sasada)
03:00 AM Feature #6647: Exceptions raised in threads should be logged
I started prototyping a callback version and ran into some complexities I could not easily resolve:
* How does abort_on_exception= interact with a callback system?
** I tried implementing abort_on_exception=true to use a builtin call...
headius (Charles Nutter)
02:35 AM Feature #7148: Improved Tempfile w/o DelegateClass
JRuby has been running with `Tempfile < File` for a couple years now, and have received only minor bug reports about it. It works very well, and has no delegation cost. headius (Charles Nutter)
01:30 AM Revision 676c01bb (git): parse.y: fail if yyerror
* parse.y (assignable_gen): fail if yyerror occurred. fix a bug in
r36973.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:29 AM Revision 849c4eaa (git): test_syntax.rb: test_unassignable
* test/ruby/test_syntax.rb (TestSyntax#test_unassignable): assert
keywords are unassignable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:35 AM Bug #7179 (Closed): IO doc: wrong/misleading text for mode
affects also 1.9.2, 1.9.1, 1.8.7
http://www.ruby-doc.org/core-1.9.3/IO.html makes the impression
that "b" and "t" are valid on their own, when in fact they're
modifiers and need to be preceded by one of the "real" modes
(a, r, w, a...
roman-neuhauser (Roman Neuhauser)
12:24 AM Revision 46a45ca6 (git): * 2012-10-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:24 AM Revision a34a3c2c (git): * hash.c (initialize_copy): duping should rehash the hash.
* test/ruby/test_hash.rb: added a test to ensure rehash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
 

Also available in: Atom