Project

General

Profile

Activity

From 06/14/2013 to 06/20/2013

06/20/2013

11:15 PM Revision 4b18db6a (git): * gc.c: refactoring bitmaps. introduce bits_t type and some Consts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
11:10 PM Revision 8b80ce3a (git): * gc.c: fix to support USE_RGENGC == 0 (disable RGenGC).
If USE_RGENGC==0, it caused compilation error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:08 PM Revision fcd5cc93 (git): * gc.c (lazy_sweep): Use is_lazy_sweeping()
* gc.c (rest_sweep): Ditto.
* gc.c (gc_prepare_free_objects): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
10:48 PM Bug #8550: On Windows Process.spawn 'command', 'arg1', 'arg2', ... evals the arguments
Hello,
On Windows, 'echo' is not an external command, is part of cmd.exe internal commands, like cd and others.
luislavena (Luis Lavena)
09:41 PM Bug #8550 (Closed): On Windows Process.spawn 'command', 'arg1', 'arg2', ... evals the arguments
=begin
Environment: ruby 2.0.0p195 (2013-05-14) [x64-mingw32] (RubyInstaller with DevKit) on Windows 7 64bit
According to the Process.spawn documentation, the syntax 'cmdname, arg1, ...' doesn't involve the shell. Indeed, on Unix thi...
mdesantis (Maurizio De Santis)
10:41 PM Revision 2c79a467 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:40 PM Revision 12baef45 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:38 PM Revision 8ab7d0e4 (git): * gc.c (gc_profile_record::oldgen_objects): added.
* gc.c (gc_profile_dump_on): print the following infomation:
* Living object counts
* Free object counts
If RGENGC_PROFILE > 0 then
* Oldgen object counts
* Remembered normal object counts
* Remembered shady object counts
git-svn-id...
ko1 (Koichi Sasada)
09:48 PM Revision 42a08650 (git): test_client.rb: load openssl
* test/xmlrpc/test_client.rb: try loading openssl to fix autoloading
constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:45 PM Revision de8ca8a1 (git): * bignum.c (rb_ull2big): Refactored.
(rb_uint2big): Useless code removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:39 PM Revision d1c518d4 (git): * gc.c (gc_prof_sweep_timer_stop): accumulate sweep time only when
record->gc_time > 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:24 PM Feature #8546: super errors in UnboundMethods
Seems interesting. nobu (Nobuyoshi Nakada)
06:18 AM Feature #8546 (Closed): super errors in UnboundMethods
`UnboundMethod`s are unable to call `super`
~~~ruby
module M
def hello
puts "hello from M"
end
end
class O
def hello
puts "hello"
end
end
o = O.new
o.hello #=> "hello"
M.instance_method(:hello).bind(o)...
saturnflyer (Jim Gay)
05:00 PM Bug #8547: FileUtils.chmod("a+r", "foobar", verbose: true) crashes
I submitted a pull request on the GitHub mirror which fixes the issue. Whether it's the correct fix I can't be certain, as I've not submitted code to Ruby core before :)
https://github.com/ruby/ruby/pull/329
robotmay (Robert May)
01:04 PM Bug #8547 (Third Party's Issue): FileUtils.chmod("a+r", "foobar", verbose: true) crashes
To reproduce in IRB:
>> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true)
Here's the stack:
NoMethodError: undefined method `mode_to_s' for FileUtils:Module
from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/...
gurgeous (Adam Doppelt)
04:34 PM Bug #8542: BigMath::exp modifies its first argument
In the original report, I stated that the answer was wrong; that is incorrect. It's wrong (in the current trunk) if the first argument is a negative, immediate type, but BigDecimal arguments give correct answers. They just become modifie... GSnyder (Garth Snyder)
03:42 PM Revision 8c967365 (git): * 2013-06-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:42 PM Revision a461f2f8 (git): * ext/bigdecimal: Workaround fix for bigdecimal test failures caused
by [ruby-dev:47413] [Feature #8509]
* ext/bigdecimal/bigdecimal.h (BDIGIT): Make it independent from the
definition for bignum.c.
(SIZEOF_BDIGITS): Ditto.
(BDIGIT_DBL): Ditto.
(BDIGIT_DBL_SIGNED): Ditto.
(PRI_BDIGIT_PREFIX): U...
akr (Akira Tanaka)
03:38 PM Misc #8548 (Rejected): Correction for a String#include? usage example
?h is actually valid Ruby - it's shorthand for "h".
irb(main):001:0> "hello".include? ?h
=> true
Anonymous
03:01 PM Misc #8548 (Rejected): Correction for a String#include? usage example
I've fixed a usage example for String#include? that was not valid Ruby. This is my first attempt at submitting an issue or patch for Ruby, so please pardon any errors. Thank you! mattonrails (Matthew Conway)
02:09 PM Revision a0d42f03 (git): * bignum.c (bigmul1_toom3): Don't call bignorm twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:52 PM Revision 7e36326c (git): * bignum.c (bignorm): Don't call bigtrunc if the result is a fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:41 PM Revision 9970a90c (git): merge revision(s) 41468:
test_fiber.rb: longer timeout
* test/ruby/test_fiber.rb (test_many_fibers): make timeout longer.
10sec is not sufficient.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:40 PM Revision 94e5fdf3 (git): * bignum.c (rb_uint2big): Refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:27 PM Revision ca10999c (git): * bignum.c (dump_bignum): Use SIZEOF_BDIGITS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:24 PM Revision 91894ab9 (git): An extra semicolon removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:23 PM Revision a9c71d11 (git): * bignum.c (big2ulong): Change the return type to unsigned long.
(rb_big2ulong_pack): Follow the above change.
(rb_big2long): Ditto.
(rb_big_lshift): Ditto.
(rb_big_rshift): Ditto.
(rb_big_aref): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41495 b2dd03c8-39d4-4d8f-98ff-823fe69b...
akr (Akira Tanaka)
01:05 PM Revision 6ea1aee7 (git): * bignum.c (bary_unpack_internal): Return -2 when negative overflow.
(bary_unpack): Set the overflowed bit if an extra BDIGIT exists.
(rb_integer_unpack): Set the overflowed bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:20 PM Revision bf017de1 (git): * gc.c (rgengc_rememberset_mark): record
(1) normal objects count in remember set
(2) shady objects count in remember set
each GC timing.
* gc.c (gc_profile_record_get): enable to access above information
and REMOVING_OBJECTS, EMPTY_OBJECTS.
git-svn-id: svn+ssh://ci.ru...
ko1 (Koichi Sasada)
10:19 AM Revision 7573bdd5 (git): Remove an unnecessary mode comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
10:19 AM Revision e1da8426 (git): Set mode for GNU Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
09:31 AM Revision 45f7b78d (git): * benchmark/gc/gcbench.rb: Do not use GC::Profiler::disable because
GC::Profiler::disable prohibit to access profiling data. It should
be spec bug.
Skip GC::Profiler::report if RUBY_VERSION < '2.0.0'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:18 AM Revision c76ebddc (git): test_sdbm.rb: only if SDBM
* test/sdbm/test_sdbm.rb (TestSDBM): test only if SDBM is loadable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:10 AM Feature #8544: OpenURI should open 'file://' URIs
By rights, RFC 1738 is only superseded by 3986 in terms of specifying a generic syntax; and RFCs 4248 (telnet:) and 4266 (gopher:) show that there is a precedent for perpetuating the scheme definitions from 1738.
In the absence of a l...
phluid61 (Matthew Kerwin)
12:35 AM Feature #8544: OpenURI should open 'file://' URIs
Your request sounds reasonable,
but as far as I understand RFC 1630 is informational and practically obsoleted by RFC 1738,
and RFC 1738 is also obsoleted.
Therefore there's no living RFC for file URI scheme.
naruse (Yui NARUSE)
09:00 AM Revision 07b68165 (git): * benchmark/gc/gcbench.rb: stop GC::Profiler before output results.
Generating GC::Profiler result under profiling causes infinite loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:25 AM Revision 1db64a20 (git): * benchmark/gc/gcbench.rb: don't use __dir__ to make compatible
with ruby 1.9.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:11 AM Misc #8545: Backport r41431 to 1.9.3
It is not bug.
I think it should not be merged.
xibbar (Takeyuki FUJIOKA)
03:17 AM Misc #8545 (Closed): Backport r41431 to 1.9.3
Revision r41431 is a performance change that I think would be beneficial in 1.9.3. Thank you for your consideration. bbxiao1 (Xiao Ba)
07:58 AM Revision 8fbffe61 (git): * benchmark/bm_app_aobench.rb: use attr_accessor/reader instead of
defining methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:51 AM Revision 5dad1838 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:50 AM Revision 5b4fe626 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:49 AM Revision f0361ca4 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:47 AM Revision 8e94c016 (git): * benchmark/bm_app_aobench.rb: added.
* benchmark/gc/aobench.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:31 AM Revision e832046b (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:30 AM Revision c5c1e8b8 (git): * benchmark/bm_so_binary_trees.rb: disable `puts' method
and change iteration parameter to increase execution time.
* benchmark/gc/binarytree.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:10 AM Revision 0ec45892 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:07 AM Revision fe6b76e7 (git): * benchmark/gc/pentomino.rb: added.
Simply load pentomino puzzle in the benchmark/ directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:06 AM Revision 60051eac (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:03 AM Revision 85797ea0 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:01 AM Revision 2802afff (git): * benchmark/gc/redblack.rb: import red black tree benchmark from
https://github.com/jruby/rubybench/blob/master/time/bench_red_black.rb
* benchmark/gc/ring.rb: add a benchmark. This benchmark create many
old objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41475 b2dd03c8-39d4-4d8f-98ff-...
ko1 (Koichi Sasada)
06:21 AM Revision ae39bfc5 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:18 AM Revision 99b10ff4 (git): * benchmark/gc: create a directory to store GC related benchmark.
* benchmark/gc/gcbench.rb: moved from tool/gcbench.rb.
* benchmark/gc/hash(1|2).rb: ditto.
* benchmark/gc/rdoc.rb: ditto.
* benchmark/gc/null.rb: added.
* common.mk: fix rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41473 b2...
ko1 (Koichi Sasada)
05:10 AM Revision ab7e4592 (git): * tool/hashbench1.rb: fix paramter too. Increase temporary objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:01 AM Revision 800103e4 (git): * tool/hashbench1.rb: fix parameters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:01 AM Revision 36bc4125 (git): * common.mk: remove dependency from ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:14 AM Revision c81f8578 (git): error.c: evaluate RARRAY_AREF once
* error.c (rb_check_backtrace): evaluate RARRAY_AREF only once.
the first argument of RB_TYPE_P is expanded twice for non-immediate
types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:08 AM Revision a12c414d (git): test_fiber.rb: longer timeout
* test/ruby/test_fiber.rb (test_many_fibers): make timeout longer.
10sec is not sufficient.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:08 AM Revision d6f6f218 (git): envutil.rb: refine message
* test/ruby/envutil.rb (invoke_ruby): refine message and skip
innermost backtrace on timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:08 AM Revision 05dd6b19 (git): envutil.rb: keyword arguments
* test/ruby/envutil.rb (invoke_ruby, assert_normal_exit),
(assert_in_out_err, assert_ruby_status, assert_separately): use
keyword arguments so that optional parameters can be omitted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)
03:53 AM Revision d7167e85 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:49 AM Revision e045a725 (git): GC before fork to avoid spending too much time in timeout block
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:29 AM Revision 16f36b63 (git): gc.c: adjust indent
* gc.c (gc_marks): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

06/19/2013

11:35 PM Feature #8544 (Open): OpenURI should open 'file://' URIs
The following code prints the contents of '/tmp/file.txt':
require 'open-uri'
open('/tmp/file.txt').read {|f| puts f.read }
which although useful should probably fail since a unix file path is not a URI, and therefore might shield...
silasdavis (Silas Davis)
11:15 PM Revision fcd5d8fd (git): * tool/gcbench.rb: Summary in one line.
* common.mk: separete gcbench-hash to gcbench-hash1 and gcbench-hash2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:09 PM Revision e98b7c6c (git): * bignum.c (BIGSIZE): New macro.
(bigfixize): Use BIGSIZE.
(big2ulong): Ditto.
(check_shiftdown): Ditto.
(rb_big_aref): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:48 PM Revision 88927b04 (git): * gc.c (rb_gc_writebarrier): give up rescan A and register B directly
if A has huge number of children.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
10:36 PM Revision d7ebd9e6 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:33 PM Revision 57bb1534 (git): * common.mk: add new rules `gcbench-rdoc', `gcbench-hash'.
* tool/gcbench.rb: separate GC bench framework and process.
* tool/hashbench1.rb, tool/hashbench2.rb: add two types GC bench.
hashbench1: many temporal objects (GC by newobj)
hashbench2: hash size becomes bigger and bigger (GC by mal...
ko1 (Koichi Sasada)
09:39 PM Bug #8543 (Closed): new rb_iseq_load crash
I noticed an unusual behaviour of undocumented rb_iseq_load function.
Its work differs in different Ruby versions. I'm trying to protect some Ruby
source code by its conversion to YARV p-code and using the next strategy:
1. Convert...
alvoskov (Alexey Voskov)
09:26 PM Revision 55ae2402 (git): * tool/rdocbench.rb: add summary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:21 PM Revision 65ad154e (git): * gc.c (gc_profile_total_time): check objspace->profile.next_index > 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:11 PM Revision 69ea68cc (git): * lib/cgi/util.rb (CGI.escapeHTML): performance improvement.
thank you nagachika-san.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
08:49 PM Revision efc53c49 (git): * gc.c (gc_prof_sweep_timer_start): fix merge miss.
* gc.c (GC_PROFILE_MORE_DETAIL): set it 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:43 PM Revision 6622ab20 (git): * gc.c: Accumulate sweep time to GC time.
Now [GC time] is [mark time] + [sweep time] + [misc].
([GC time] >= [mark time] + [sweep time])
* gc.c (gc_prof_sweep_slot_timer_start/stop): rename to
gc_prof_sweep_timer_start/stop and locate at lazy_sweep().
* gc.c (elapsed_time_f...
ko1 (Koichi Sasada)
08:34 PM Bug #8537 (Closed): RDoc cannot parse ext/objspace
Hi zzak (zzak _)
05:07 PM Bug #8537: RDoc cannot parse ext/objspace
zzak (Zachary Scott) wrote:
> Eregon (Benoit Daloze) wrote:
> ...
See https://gist.github.com/eregon/bf86d335fdc9a36d96c0
> > Also, with r41380, I cannot know anymore using for instance `ri ObjectSpace.memsize_of` that I need to req...
Eregon (Benoit Daloze)
08:09 PM Revision 21b0705c (git): * gc.c (gc_marks): fix wrong option. FALSE means major/full GC.
It should be TRUE (minor marking).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:42 PM Bug #8542 (Assigned): BigMath::exp modifies its first argument
naruse (Yui NARUSE)
08:55 AM Bug #8542: BigMath::exp modifies its first argument
It appears that the iteration loop in BigMath_s_exp is just calculating the series expansion (X ** N) / N! from N = 0 until the incremental term vanishes below the precision threshold. I don't see any reason this would not be equally val... GSnyder (Garth Snyder)
08:27 AM Bug #8542 (Closed): BigMath::exp modifies its first argument
=begin
I noticed this when creating the patch at https://github.com/ruby/ruby/pull/332. I believe it affects everything from ruby 1.8 up.
BigMath::exp is implemented for negative numbers according to the identity E ** -x == 1 / (E **...
GSnyder (Garth Snyder)
06:08 PM Revision 206b28ca (git): win32.c: GetLastError once
* win32/win32.c (poll_child_status): call GetLastError() once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:08 PM Revision 7ce9f9c2 (git): win32.c: no error after retry
* win32/win32.c (waitpid): return 0 on error after retried.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:04 PM Revision 656c3b54 (git): collect zombies
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:46 PM Revision 2fe89ab6 (git): test_process.rb: redirect to null
* test/ruby/test_process.rb (test_no_curdir): since standard handles
cannot close on Windows, redirect to null device.
* test/ruby/test_process.rb (assert_fail_too_long_path): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
05:44 PM Revision 4c25e2fb (git): win32.c: wait until exit
* win32/win32.c (waitpid): should not return 0 but wait until exit
unless WNOHANG is given. waiting huge process may return while
active, for some reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41447 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
04:37 PM Revision a5b0cace (git): * bignum.c (bdigit_roomof): Use SIZEOF_BDIGITS.
(bigfixize): Refine an ifdef condition.
(rb_absint_size): Use bdigit_roomof.
(rb_absint_singlebit_p): Ditto.
(rb_integer_pack): Ditto.
(integer_pack_fill_dd): Use BITSPERDIG.
(integer_unpack_push_bits): Use BITSPERDIG, BIGLO an...
akr (Akira Tanaka)
04:07 PM Revision a30d9f9e (git): gc.c: refine macros
* gc.c (MARKED_IN_BITMAP, FL_TEST2): return boolean value since always
used as boolean value.
* gc.c (MARK_IN_BITMAP, CLEAR_IN_BITMAP): evaluate bits once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41445 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
04:01 PM Revision 67edbe19 (git): gc.c: gc_stress is a VALUE
* gc.c (ruby_initial_gc_stress_ptr): now gc_stress is a VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:59 PM Revision 19a50877 (git): Join the thread to collect zombies
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:57 PM Revision a929da71 (git): test_signal.rb: use standard fds
* test/ruby/test_signal.rb (test_exit_action): use IO.popen and
standard file descriptors instead of fd 3 and 4, which is not
available on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41442 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
03:57 PM Revision 98ca9210 (git): test_signal.rb: use SIGINT if needed
* test/ruby/test_signal.rb (test_kill_immediately_before_termination):
use SIGINT if SIGUSR1 is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:27 PM Revision 291c1bc3 (git): * gc.c (gc_free_stored_bitmaps): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:20 PM Revision 262cbfcd (git): * ChangeLog: fix a typo for r41436.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:06 PM Revision 80e1345a (git): * 2013-06-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision ce7c13ef (git): * gc.c (RVALUE_PROMOTED): fix type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:59 PM Revision 50214475 (git): * gc.c (garbage_collect_test): rewrite checking code.
When RGENGC_CHECK_MODE >= 2, all minor marking, run normal minor
marking *and* major/full marking. After that, compare the results
and shows BUG if a object living with major/full marking but dead
with minor marking.
After detect...
ko1 (Koichi Sasada)
02:53 PM Revision 24c9860d (git): * bignum.c (bigfixize): Use rb_absint_size.
(check_shiftdown): Ditto.
(big2ulong): Use bdigit_roomof.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:45 PM Revision 44900eec (git): merge revision(s) 41411:
test_signal.rb: extra quotes
* test/ruby/test_signal.rb (TestSignal#test_signal_process_group):
remove extra quotes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:34 PM Revision 745263ab (git): * gc.c (RVALUE_PROMOTED): check consistency between oldgen flag and
oldgen bitmap if RGENGC_CHECK_MODE > 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:30 PM Revision a1acb395 (git): * gc.c (rb_gc_force_recycle): clear oldgen bitmap, too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:42 PM Revision e26fe81b (git): * lib/cgi/util.rb(CGI.escapeHTML): performance improvement.
thank you @bbxiao1 via
https://github.com/ruby/ruby/pull/333
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
12:19 PM Revision e82f5f7d (git): * bignum.c (rb_uint2big): Consider environments BDIGIT is bigger than
long.
(big2ulong): Ditto.
(rb_big_aref): Ditto.
(rb_big_pack): Just call rb_integer_pack.
(rb_big_unpack): Just call rb_integer_unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:53 AM Revision 28945ea1 (git): * gc.c (gc_stress_get): GC.stress can be Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:41 AM Bug #8541 (Rejected): Open3.popen3 creates a broken stdout pipe
Use `$stdout.flush` after `puts`, or `$stdout.sync = true` before `puts`. nobu (Nobuyoshi Nakada)
04:52 AM Bug #8541: Open3.popen3 creates a broken stdout pipe
Note in the test script, the subprocess must continue running in order for the bug to manifest.
ferrous26 (Mark Rada)
04:50 AM Bug #8541 (Rejected): Open3.popen3 creates a broken stdout pipe
When I create a subprocess using Open3, the stdout pipe that is returned does allow reading.
Using the sample code provided, Ruby will block indefinitely waiting to read from the subprocess, though the subprocess has printed out to st...
ferrous26 (Mark Rada)
10:36 AM Revision 9cff4e30 (git): * bignum.c (DIGSPERLONG): Don't define if BDIGIT is bigger than long.
(DIGSPERLL): Don't define if BDIGIT is bigger than LONG_LONG
(rb_absint_size): Consider environments BDIGIT is bigger than long.
Use BIGLO and BIGDN.
(rb_absint_singlebit_p): Ditto.
(rb_integer_pack): Ditto.
(bigsub_int): Consi...
akr (Akira Tanaka)
09:17 AM Revision 9f473df7 (git): 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/trunk@41427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision b0f623f5 (git): drbtest.rb: DRbBase
* test/drb/drbtest.rb (DRbBase): extract from DRbCore and DRbAry for
setup_service and teardown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 226fcd58 (git): test_sdbm.rb: open_db_child
* test/sdbm/test_sdbm.rb (TestSDBM#open_db_child): open the db in a
child process and handshake using popen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 7b253adc (git): test_gdbm.rb: open_db_child
* test/gdbm/test_gdbm.rb (TestGDBM#open_db_child): open the db in a
child process and handshake using popen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 56fae614 (git): test_dbm.rb: no fork
* test/dbm/test_dbm.rb (have_fork?): no longer used already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 96734f26 (git): test_rinda.rb: no fork
* test/rinda/test_rinda.rb (have_fork?): no longer used already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 689333a0 (git): test/testunit: reap zombie
* test/testunit/test_hideskip.rb (test_hideskip): reap zombie by
reading with IO.popen instead of separated spawn and assert.
* test/testunit/test_redefinition.rb (test_redefinition): ditto.
* test/testunit/test_sorting.rb (test_sort...
nobu (Nobuyoshi Nakada)
07:47 AM Revision c704bb31 (git): test_rinda.rb: reap zombie
* test/rinda/test_rinda.rb (test_take_bug_8215): reap zombie.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 76a45efd (git): test_gdbm.rb: reap zombie
* test/gdbm/test_gdbm.rb (TestGDBM#have_fork): reap zombie
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision bc1bfb69 (git): test_curses.rb: reap zombie
* test/test_curses.rb (TestCurses#run_curses): reap zombie, since
PTY.spawn with block does not wait the sub process but just
detaches.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 4f95e22d (git): test_io.rb: use assert_separately
* test/ruby/test_io.rb (test_cross_thread_close_stdio): use
assert_separately instead of separated fork and assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision ef7bd1b1 (git): test_signal.rb: use assert_in_out_err
* test/ruby/test_signal.rb (test_kill_immediately_before_termination):
use assert_in_out_err instead of separated fork and assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 4835230f (git): test/ruby: reap zombies
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:47 AM Revision c4561c29 (git): envutil.rb: reap zombies
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): reap zombies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 058e6894 (git): test/runner.rb: reap zombies
* test/runner.rb (Test::Unit::ZombieHunter#after_teardown): reap zombies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:26 AM Revision 9b47ec04 (git): * include/ruby/ruby.h (struct rb_data_type_struct), gc.c: add
rb_data_type_struct::flags. Now, this flags is passed
at T_DATA object creation. You can specify FL_WB_PROTECTED
on this flag.
* iseq.c: making non-shady iseq objects.
* class.c, compile.c, proc.c, vm.c: add WB for iseq objects.
* vm...
ko1 (Koichi Sasada)
06:14 AM Revision 063d4e41 (git): test_signal.rb: extra quotes
* test/ruby/test_signal.rb (TestSignal#test_signal_process_group):
remove extra quotes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:11 AM Revision 541bdd29 (git): gc.c: more info
* gc.c (gc_mark_children): show more info for broken object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:07 AM Revision 0d736fb7 (git): * test/ruby/envutil.rb (EnvUtil#rubybin): remove unnecessary unless expression.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:44 AM Revision 267691bc (git): fix indent and style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

06/18/2013

11:27 PM Bug #8537: RDoc cannot parse ext/objspace
Eregon (Benoit Daloze) wrote:
> @zzak: The overview of objspace ext comes before the general doc for ObjectSpace,
> ...
What do you mean?
> Also, with r41380, I cannot know anymore using for instance `ri ObjectSpace.memsize_of` th...
zzak (zzak _)
09:36 PM Bug #8537 (Open): RDoc cannot parse ext/objspace
@zzak: The overview of objspace ext comes before the general doc for ObjectSpace,
is that avoidable?
Also, with r41380, I cannot know anymore using for instance `ri ObjectSpace.memsize_of` that I need to require 'objspace' to use it....
Eregon (Benoit Daloze)
08:41 PM Bug #8537 (Closed): RDoc cannot parse ext/objspace
This issue was solved with changeset r41382.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/objspace/object_tracing.c: Teach rdoc object_tracing.c [...
zzak (zzak _)
10:49 PM Revision 97dd259d (git): * gc.c (garbage_collect_body): use FIX2INT for ruby_gc_stress.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
10:45 PM Revision bfac961b (git): * gc.c (rb_objspace::gc_stress): int -> VALUE to store Fixnum object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
10:26 PM Revision d879849b (git): * gc.c (make_deferred): clear flags to T_ZOMBIE.
* gc.c (slot_sweep_body): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:20 PM Revision 0393a919 (git): * bignum.c (rb_big_aref): Apply BIGLO to ~xds[i] for environment which
BDIGIT is 16bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:12 PM Revision 54d04073 (git): * gc.c (rgengc_remember): fix output level.
* gc.c (rgengc_rememberset_mark): fix to output clear count.
(shady_object_count + clear_count = count of remembered objects)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:07 PM Revision 65791846 (git): * gc.c (rgengc_remember): check T_NONE and T_ZOMBIE
if RGENGC_CHECK_MODE > 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:04 PM Revision 5455b7e7 (git): * gc.c (RGENGC_CHECK_MODE): add new check mode `3'.
In this mode, show all references if there is
a miss-corrected object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:35 PM Revision 81ed2d3c (git): * gc.c (gc_stress_set): add special option of GC.stress.
`GC.stress=(flag)' accepts integer to control behavior of GC.
See code for details. Of course, this feature is only for MRI.
You can debug RGenGC (WB) using `GC.stress = 1'.
Using this option, do minor marking at all possible place...
ko1 (Koichi Sasada)
09:30 PM Revision 5a70af1d (git): * vm.c (kwmerge_i): add WB.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:29 PM Revision 0f1df31b (git): * hash.c: `st_update()' also has same issue of last fix.
write barriers at callback function are too early.
All write barriers are executed after `st_update()'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:50 PM Revision 059f5df2 (git): * 2013-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:50 PM Revision 67d6aaca (git): * variable.c (rb_const_set): fix WB miss.
WBs had located before creating reference between a klass
and constant value. It causes GC bug.
# pseudo code:
WB(klass, value); # WB and remember klass
st_insert(klass->const_table, const_id, value);
`st_insert()' can ...
ko1 (Koichi Sasada)
07:40 PM Revision f56c0c06 (git): merge revision(s) 41389: [Backport #8540]
* vm_insnhelper.c (vm_call_method): ensure methods of type
VM_METHOD_TYPE_ATTR_SET are called with 1 argument
* test/ruby/test_module.rb (class TestModule): add test
[ruby-core:55543] [Bug #8540]
git-svn-id: ...
nagachika (Tomoyuki Chikanaga)
07:18 PM Revision 12f4488c (git): merge revision(s) 40525,40526,40528,40530: [Backport #8345]
proc.c: remove unnecessary static function
* proc.c (proc_lambda): remove and use rb_block_lambda directly
instead.
* include/ruby/intern.h (rb_block_lambda): add declaration instead of
deprecated rb_f_lambda...
nagachika (Tomoyuki Chikanaga)
06:47 PM Feature #8509: Use 128 bit integer type in Bignum
I committed the patch at r41379.
I hope mrkn will fix the BigDecimal test failures soon.
akr (Akira Tanaka)
06:46 PM Feature #8509 (Closed): Use 128 bit integer type in Bignum
This issue was solved with changeset r41379.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* configure.in: Check __int128.
* include/ruby/defines.h (BDIGI...
akr (Akira Tanaka)
06:40 PM Revision fff67882 (git): merge revision(s) 41343,41360,41386: [Backport #8531]
test/ruby/test_symbol.rb: tests for [Bug #8531]
* include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block):
new function to invoke a method with a block passed
as an argument.
* string.c (sym_call): use...
nagachika (Tomoyuki Chikanaga)
06:22 PM Revision ab4e82fe (git): merge revision(s) 41342,41359,41361: [Backport #8341]
test/ruby/test_proc.rb: tests for [Bug #8341]
* include/ruby/intern.h, proc.c (rb_method_call_with_block):
new function to invoke a Method object with a block passed
as an argument.
* proc.c (bmcall):...
nagachika (Tomoyuki Chikanaga)
05:05 PM Revision 28e43a93 (git): merge revision(s) 41370:
Message is 3rd argument, not 2nd
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:23 PM Feature #8526: gemify tk
藤岡です。

>> tkはみんな最初から動くのを諦めているフシがあります。
>
> という状況で非難されるというのは,さすがに少し辛いですね.(^_^;

非難しているつもりはないです。
さらに、あくまで上については私見なので、
無視してくださって結構ですよ。
Anonymous
01:23 PM Feature #8526: gemify tk
永井@知能.九工大です.

From: "xibbar (Takeyuki FUJIOKA)" <xibbar@gmail.com>
Subject: [ruby-dev:47445] [ruby-trunk - Feature #8526] Removing tk from Ruby repository
Date: Mon, 17 Jun 2013 13:24:51 +0900
Message-ID: <redmine.journal-3998...
nagai (Hidetoshi Nagai)
01:23 PM Feature #8526: gemify tk
永井@知能.九工大です.

From: "xibbar (Takeyuki FUJIOKA)" <xibbar@gmail.com>
Subject: [ruby-dev:47441] [ruby-trunk - Feature #8526] Removing tk from Ruby repository
Date: Mon, 17 Jun 2013 09:01:01 +0900
Message-ID: <redmine.journal-3997...
nagai (Hidetoshi Nagai)
02:02 PM Revision 81568a29 (git): * gc.c (gc_profile_record_flag): There may be two or more reasons. so, it was typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
02:01 PM Revision 65dc35a5 (git): * vm_insnhelper.c (vm_call_method): ensure methods of type
VM_METHOD_TYPE_ATTR_SET are called with 1 argument
* test/ruby/test_module.rb (class TestModule): add test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
01:37 PM Revision 0a3f7931 (git): * gc.c (gc_profile_record_flag): reason seems like one-hot encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
01:23 PM Feature #8539: Unbundle ext/tk
From: "naruse (Yui NARUSE)" <naruse@airemix.jp>
Subject: [ruby-core:55537] [ruby-trunk - Feature #8539] Unbundle ext/tk
Date: Tue, 18 Jun 2013 10:20:30 +0900
Message-ID: <redmine.journal-40021.20130618102029@ruby-lang.org>

> ...
nagai (Hidetoshi Nagai)
12:26 PM Feature #8539: Unbundle ext/tk
jonforums (Jon Forums) wrote:
> naruse (Yui NARUSE) wrote:
> ...
(a) normal gemify would do it
(b) if someone make binary gem, or add install-time downloading tk feature, or Rubyinstaller bundle tk binary gem
naruse (Yui NARUSE)
11:05 AM Feature #8539: Unbundle ext/tk
naruse (Yui NARUSE) wrote:
> jonforums (Jon Forums) wrote:
> ...
Yes, and the Tcl/Tk folks have made it easy to automate downloading and building the Tcl/Tk libraries on Windows (using MSYS/mingw environment)for use by ext/tk. For exam...
jonforums (Jon Forums)
10:20 AM Feature #8539: Unbundle ext/tk
jonforums (Jon Forums) wrote:
> A good idea if the new maintainer appreciates (and understands why great multi-platform support is strategic to Ruby the language) the fine cross-platform work Kou and the other Ruby-GNOME2 members do for...
naruse (Yui NARUSE)
07:37 AM Feature #8539: Unbundle ext/tk
A good idea if the new maintainer appreciates (and understands why great multi-platform support is strategic to Ruby the language) the fine cross-platform work Kou and the other Ruby-GNOME2 members do for the gtk2 gem by providing a self... jonforums (Jon Forums)
06:53 AM Feature #8539: Unbundle ext/tk
+1
phluid61 (Matthew Kerwin)
01:24 AM Feature #8539: Unbundle ext/tk
+1 Anonymous
12:33 AM Feature #8539: Unbundle ext/tk
I believe it is interesting to have at least one lightweight GUI framework bundled with Ruby to allow simple scripting to happen without the need for end-users to have to perform additional steps besides installing Ruby, just like it hap... rosenfeld (Rodrigo Rosenfeld Rosas)
12:25 AM Feature #8539 (Closed): Unbundle ext/tk
How about unbundling ext/tk from Ruby repository?
ext/tk is a bundled extension library for GUI programming with tk.
It is introduced in 1999 and long maintained with CRuby itself.
But nowadays its maintenance is not so active.
M...
naruse (Yui NARUSE)
01:10 PM Revision 31e1c326 (git): * ext/objspace/object_tracing.c: Return for ::allocation_generation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:08 PM Revision 258fc46c (git): test_symbol.rb: fix test
* test/ruby/test_symbol.rb (test_block_persist_between_calls): needs
receiver object. [Bug #8531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:05 PM Revision b8df9502 (git): * ext/objspace/object_tracing.c: Document object_tracing methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:59 PM Revision 62de1e66 (git): * gc.c: Rename rb_mObSpace -> rb_mObjSpace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
11:56 AM Revision a8ba0513 (git): * ext/objspace/objspace.c: Document ObjectSpace::InternalObjectWrapper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
11:41 AM Revision b46df185 (git): * ext/objspace/object_tracing.c: Teach rdoc object_tracing.c [Bug #8537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
11:38 AM Revision 0ec216e8 (git): * ext/.document: add object_tracing.c to document file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
11:21 AM Revision 765b9e96 (git): * ext/objspace/objspace.c: rdoc on require to overview from r41355
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
09:46 AM Revision 1a6a65f1 (git): * configure.in: Check __int128.
* include/ruby/defines.h (BDIGIT_DBL): Use uint128_t if it is available.
(BDIGIT): Use uint64_t if uint128_t is available.
(SIZEOF_BDIGITS): Defined for above case.
(BDIGIT_DBL_SIGNED): Ditto.
(PRI_BDIGIT_PREFIX): Ditto.
* inclu...
akr (Akira Tanaka)
07:43 AM Revision ca7bdc88 (git): parse.y: clear lex_strterm
* parse.y (parser_heredoc_restore): clear lex_strterm always to get
rid of marking recycled node. this bug is revealed by r41372 with
GC.stress=true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41378 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
07:10 AM Revision ed82d138 (git): Remove useless sleep
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:43 AM Revision e4ef5b28 (git): Add timeout to avoid stick
http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20130618T030202Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:56 AM Revision e3b98ca3 (git): * bignum.c (nlz): Cast the result explicitly.
(big2dbl): Don't assign BDIGIT values to int variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:37 AM Revision b5c81904 (git): * bignum.c (rb_big_xor): Non-effective code removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:27 AM Revision 1d7966f5 (git): * gc.c (gc_stat): add `generated_normal_object_count_types' for
RGENGC_PROFILE >= 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:17 AM Revision 17cd5ac4 (git): * gc.c (gc_mark_maybe): check to skip T_NONE.
* gc.c (markable_object_p): do not need to check (flags == 0) here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:18 AM Revision 84608b13 (git): * variable.c (rb_autoload): fix WB miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:53 AM Revision f43f9f33 (git): Message is 3rd argument, not 2nd
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:32 AM Bug #8534 (Third Party's Issue): crash on netgear nas du
It looks because of the ID3 tag library.
Could you report this to the library vendor or the NAS vendor?
naruse (Yui NARUSE)
12:00 AM Revision e46c1bc7 (git): merge revision(s) 40057:
use long_ary to suppress warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)

06/17/2013

10:16 PM Bug #8538 (Closed): c method not pushed into the callstack when called, but popped when returned
See the following example:
trace = TracePoint.new do |tp|
puts "Event: #{tp.event}, Method: #{tp.method_id}\n"
puts "Stack: #{caller}\n\n"
end
trace.enable
fail "bang!"
The output shows:
...
deivid (David Rodríguez)
07:21 PM Revision 94f017c9 (git): * 2013-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:21 PM Revision 7a460d2d (git): * gc.c (gc_mark_children): don't need to care about T_ZOMBIE here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:01 PM Revision 52530e36 (git): merge revision(s) 40849:
test_objectspace.rb: run test_each_object separately
* test/ruby/test_objectspace.rb (TestObjectSpace#test_each_object):
run separately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41366 b2dd03c8-39d4-4d8f...
nagachika (Tomoyuki Chikanaga)
06:20 PM Bug #8537: RDoc cannot parse ext/objspace
I made a couple changes and it now appears in `ri ObjectSpace`,
but only when I generate again the documentation (for example, by touching ext/objspace/objspace.c),
not when `make clean && make install` (only the non-extension descript...
Eregon (Benoit Daloze)
02:59 PM Bug #8537 (Closed): RDoc cannot parse ext/objspace
Maybe bug in rdoc or objspace extension zzak (zzak _)
05:54 PM Revision 3a8d3080 (git): merge revision(s) 40059,40061:
* test/ruby/envutil.rb (assert_separately): stop_auto_run of
Test::Unit::Runner to prevent auto runner use ARGV.
* test/ruby/envutil.rb (assert_separately): add $: to separate process.
* test/ruby/envutil.rb (...
nagachika (Tomoyuki Chikanaga)
05:24 PM Revision 52013387 (git): merge revision(s) 39721:
* test/ruby/envutil.rb (EnvUtil.with_default_external): add for
changing Encoding.default_external without warnings.
* test/ruby/envutil.rb (EnvUtil.with_default_internal): ditto.
* test/ruby/test_io_m17n.rb: ...
nagachika (Tomoyuki Chikanaga)
04:59 PM Bug #5199 (Closed): ext/tk: RB_GC_GUARD seems to be needed in several places
This issue was solved with changeset r41351.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
tkutil.c: prevent temporary objects from GC
* ext/tk/tkutil/tkut...
nobu (Nobuyoshi Nakada)
02:20 PM Bug #5199: ext/tk: RB_GC_GUARD seems to be needed in several places
nobu (Nobuyoshi Nakada) wrote:
> Quick patch.
> ...
Nakada-san, please commit the patch.
nagai (Hidetoshi Nagai)
03:43 PM Revision c03f37d6 (git): merge revision(s) 41348:
* vm_backtrace.c: Update rdoc for Backtrace#label with @_ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:38 PM Revision e4fd9de9 (git): merge revision(s) 41347: [Backport #5048] [Backport #5465] [Backport #8319]
* ext/tk/extconf.rb: support s390x (Thanks to bkabrda) [ruby-trunk - Bug #5465]
* ext/tk/extconf.rb: apply [Backport87 - Backport #5048]
* ext/tk/lib/tk/canvas.rb, ext/tk/sample/demos-{en,jp}/{tree.rb,widget}: fix bug (Th...
nagachika (Tomoyuki Chikanaga)
02:20 PM Bug #8435 (Third Party's Issue): Can't build tcl/tk extensions after updating Debian/Ubuntu package
It depends on Ubuntu packages. The patch may be able to avoid the "current" problem,
but it cannot guarantee that it is available in the next version of Ubuntu.
If the policy of Ubuntu is changed, extconf.rb must check the Tcl/Tk pack...
nagai (Hidetoshi Nagai)
02:20 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
Currently, Ruby/Tk cannot support Tcl/Tk8.6. Please use Tcl/Tk8.5.
I want to add Tcl/Tk8.6 to supported version. But it is a future work.
nagai (Hidetoshi Nagai)
02:19 PM Bug #7884 (Rejected): Tkで,コマンドにforkを入れると,イベント実行時にクラッシュする
少なくとも現状では,callback 中の fork は非サポートです.
通常,callback は eventloop が走っている thread で実行されます.
しかも,callback が実行される際には Tcl 側と Ruby 側との処理が絡み合っています.
この状況でウィンドウシステムのイベント処理を行う thread が複製された時に生じることについて,
私には保証しきれません.
nagai (Hidetoshi Nagai)
02:19 PM Bug #7000 (Rejected): Tk::Scrollable の include が成功しない?
問題なく include されます.
nagai (Hidetoshi Nagai)
01:24 PM Feature #8526: gemify tk
さっき、自分のところのMac Mountain Lionでtkの以下のチュートリアルを動かしてみたら、起動はしました。
http://pub.cozmixng.org/~the-rwiki/rw-cgi.rb?cmd=view;name=Ruby%2FTk+%A5%C1%A5%E5%A1%BC%A5%C8%A5%EA%A5%A2%A5%EB
簡単なサンプルは動くのですが、
http://pub.cozmixng.org/~the-rwiki/rw-cgi.rb?c...
xibbar (Takeyuki FUJIOKA)
09:01 AM Feature #8526: gemify tk
永井さんの返事を見ると、残したいといっているように見えるので、
永井さんが「努力するので残したい!」と返信してくれるんだと思って書きます。
誰も残して欲しいとは言わないと思いますので、永井さんがそう言わないといけないと思います。
そして、チケットの更新状況やサポート状況を見て、
総合的になるせさんが判断すると思います。
そのためにはまず、チケットは全部更新して下さい。
環境がない場合はヘルプを出していただければいいと思います。
期待しているのならそう言...
xibbar (Takeyuki FUJIOKA)
12:50 AM Feature #8526: gemify tk
> 残して欲しいという意見があったとしても、メンテナが合意している場合は自分がメンテナになるつもりで反対しないと覆せないので、
> ...
了解です.卑怯かもしれませんが,私自身は削れとも残せとも主張はしません.
万が一,残して欲しいという意見が多ければ,努力します.
ちなみに,挙がっていたチケットに対する現状の概略は以下の通りです.
===============================================================...
nagai (Hidetoshi Nagai)
01:18 PM Revision cc9a7ade (git): * test/ruby/test_proc.rb (TestProc#test_block_given_method_to_proc):
run test for r41359.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
12:59 PM Bug #8524: r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできない
なるほど、ありがとうございます。
場合によっては sh -c "${var:+"command arg"}" という手もあるのかな。
knu (Akinori MUSHA)
12:47 PM Revision 62bd8db1 (git): * include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block):
new function to invoke a method with a block passed
as an argument.
* string.c (sym_call): use the above function to avoid
a block sharing. [ruby-dev:47438] [Bug #8531]
* vm_insnhelper.c (vm_yield_with_cfunc): don't set block
in ...
ktsj (Kazuki Tsujimoto)
12:38 PM Revision 1720a5ba (git): * include/ruby/intern.h, proc.c (rb_method_call_with_block):
new function to invoke a Method object with a block passed
as an argument.
* proc.c (bmcall): use the above function to avoid a block sharing.
[ruby-core:54626] [Bug #8341]
* test/ruby/test_proc.rb (TestProc#test_block_persist_betw...
ktsj (Kazuki Tsujimoto)
12:31 PM Feature #8536 (Assigned): Implement is_numeric? family of methods
=begin
I think Ruby is in dire need of a convenient method for determining whether a string can be safely converted to a number. It's a trivial problem, but with no trivial solution. The most common methods include using regex, or tryin...
wardrop (Tom Wardrop)
11:56 AM Revision b7cec43c (git): Fix a indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:56 AM Revision 947ebd0a (git): * loadpath.c (RUBY_REVISION): Defined to suppress revision.h
inclusion actually. r41352 removes the dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:24 AM Revision 80901356 (git): Write stdin_data only if it exists
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:16 AM Revision ba49a1e0 (git): * ext/objspace/objspace.c: let rdoc know about objspace methods.
Specify 'objspace' should be required. See #8537.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
08:50 AM Bug #8535 (Feedback): web secure
I'm uncertain what you expect and what you got. nobu (Nobuyoshi Nakada)
07:27 AM Bug #8535 (Rejected): web secure
svn update[svn.angosso.net]
rake db:migrate Rubyx.php_ENV=production
svn checkout http://svn.angosso.net/repos/asf/httpd/mod_fcgid/trunk mod_fcgid
angosso (Roger Mbiama Assogo)
08:44 AM Revision 089dd1a1 (git): * gc.c (ObjectSpace): is a module not a class.
* ext/objspace/objspace.c: try to include overview in rdoc,
see #8537.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
08:39 AM Revision abfcded3 (git): * gc.c: fix example of ObjectSpace.define_finalizer in overview
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:39 AM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
It's a completely different issue, and intended incompatibility AFAIK. nobu (Nobuyoshi Nakada)
01:36 AM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
Hello,
The following is the output of gem install rbtree on my environment (ruby 2.1.0dev (2013-06-16 trunk 41337) [x86_64-darwin10.8.0])
It seems that rbtree need to catch up with constify of RBasic::klass and RHash::ifnone for RGen...
nagachika (Tomoyuki Chikanaga)
08:08 AM Revision 3f3a618d (git): common.mk: loadpath dependencies
* common.mk (loadpath.o): $LOAD_PATH should not be affected by
the revision number.
* common.mk (dmyloadpath.o): depends on nothing except for the source
file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41352 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
07:59 AM Revision c2b7ae98 (git): tkutil.c: prevent temporary objects from GC
* ext/tk/tkutil/tkutil.c: use rb_sprintf(), rb_id2str(), and
rb_intern_str() instead of rb_intern() and RSTRING_PTR() with
RB_GC_GUARD(), to prevent temporary objects from GC.
[ruby-core:39000] [Bug #5199]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
07:08 AM Revision 6a986298 (git): Use assert_separately to inspect test failure of TestJSONGenerate#test_broken_bignum
http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20130617T010202Z.log.html.gz#test%2F-ext-
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:41 AM Revision 0288c4be (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:31 AM Revision 354907d0 (git): * vm_backtrace.c: Update rdoc for Backtrace#label with @_ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:21 AM Revision c58dc636 (git): * ext/tk/extconf.rb: support s390x (Thanks to bkabrda) [ruby-trunk - Bug #5465]
* ext/tk/extconf.rb: apply [Backport87 - Backport #5048]
* ext/tk/lib/tk/canvas.rb, ext/tk/sample/demos-{en,jp}/{tree.rb,widget}: fix bug (Thanks to zzak) [ruby-trunk - Bug #8319]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41347...
nagai (Hidetoshi Nagai)
04:33 AM Revision 4c68aa71 (git): * tool/ifchange (until): Fix the condition, although harmless in
this case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:12 AM Bug #8534 (Third Party's Issue): crash on netgear nas du
I've had this a couple of times.
I suspect it's something to do with id3v1 and id3v1 tags.
INFO catalogue: If live, would add /media/Sound/Albums/Mozart/Complete Works/Vol 21 Organ sonatas & solos (Chorzempa a.o.)/cd 1/07 - Church...
r1pp3r (roger day)
02:54 AM Revision 17be9e97 (git): * gc.c (gc_mark_maybe): added. check `is_pointer_to_heap()' and
type is not T_ZOMBE.
* gc.c: use `gc_mark_maybe()'. T_ZOMBIE objects should not be pushed
to the mark stack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:01 AM Revision c3e68ef0 (git): skip new tests until fixed
* test/ruby/test_proc.rb, test/ruby/test_symbol.rb: skip new tests
until fixed, for the time being.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:01 AM Revision b69699a0 (git): test/ruby/test_symbol.rb: tests for [Bug #8531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:01 AM Revision 7d753a99 (git): test/ruby/test_proc.rb: tests for [Bug #8341]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

06/16/2013

10:57 PM Revision f4b295da (git): * bignum.c (bary_small_lshift): Renamed from bdigs_small_lshift.
(bary_small_rshift): Renamed from bdigs_small_rshift.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:39 PM Revision 407017af (git): * 2013-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:39 PM Revision 12a9e3be (git): * bignum.c (absint_numwords_bytes): Removed.
(rb_absint_numwords): Don't call absint_numwords_bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:17 PM Bug #8532: tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Remove write-bits:
sudo chmod go-w /usr/local
or make it sticky:
sudo chmod +t /usr/local
nobu (Nobuyoshi Nakada)
03:02 PM Bug #8532 (Closed): tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
this was my fault (probably), thanks nobu for checking! zzak (zzak _)
02:56 PM Bug #8532: tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
i have no idea, what should it be? zzak (zzak _)
02:52 PM Bug #8532 (Feedback): tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Then it's an intended warning.
It's considered dangerous to include a world-writable directory or its descendent directory in PATH.
Why is the system-wide directory world-writable?
nobu (Nobuyoshi Nakada)
02:42 PM Bug #8532: tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
drwxrwxrwx 21 root admin 714 Jun 14 00:00 /usr/local
re: attachment, try now!
zzak (zzak _)
02:08 PM Bug #8532: tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
No log attached.
What does `ls -dl /usr/local' show?
nobu (Nobuyoshi Nakada)
11:01 AM Bug #8532 (Closed): tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
i've attached the full log zzak (zzak _)
02:16 PM Revision 22b9ce10 (git): * bignum.c (BARY_ADD): New macro.
(BARY_SUB): Ditto.
(BARY_MUL): Ditto.
(BARY_DIVMOD): Ditto.
(BARY_ZERO_P): Ditto.
(absint_numwords_generic): Use these macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:59 PM Revision 50794b32 (git): * bignum.c (bary_2comp): Extracted from get2comp.
(integer_unpack_num_bdigits): Extracted from
rb_integer_unpack_internal.
(bary_unpack_internal): Renamed from bary_unpack and support
INTEGER_PACK_2COMP.
(bary_unpack): New function to validate arguments and invoke
bary_unpack_...
akr (Akira Tanaka)
12:12 PM Feature #8526: gemify tk
nagai (Hidetoshi Nagai) wrote:
> 英語圏は無視して広く意見を聞くことなく,もう決定ということですか?
> ...
残して欲しいという意見があったとしても、メンテナが合意している場合は自分がメンテナになるつもりで反対しないと覆せないので、
そのような人が立候補するか判断出来るだけの材料は集めてから、というつもりでした。
そこまで急いでいるわけでもないので、残して欲しいという意見が多ければ永井さんが頑張るという方向もあるでしょう。
...
naruse (Yui NARUSE)
11:04 AM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
I can still reproduce this on RubyGems 2.0.3 with trunk:
ruby 2.1.0dev (2013-06-16 trunk 41328) [x86_64-darwin12.3.0]
To repro: `gem install rbtree`
Is this a bug in rbtree?
zzak (zzak _)
11:02 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
Done. kou (Kouhei Sutou)
11:02 AM Feature #8461 (Closed): Easy way to disable certificate checking in XMLRPC::Client
This issue was solved with changeset r41329.
Herwin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* NEWS (XMLRPC::Client#http): Add.
[ruby-core:55197] [Feature...
kou (Kouhei Sutou)
09:53 AM Revision ecabbf1b (git): * internal.h (INTEGER_PACK_2COMP): Defined.
(rb_integer_pack_2comp): Removed.
* bignum.c (bary_pack): Support INTEGER_PACK_2COMP.
(rb_integer_pack): Invoke bary_pack directly.
(rb_integer_pack_2comp): Removed.
(rb_integer_pack_internal): Ditto.
(absint_numwords_generic): ...
akr (Akira Tanaka)
08:49 AM Revision fc3fbc14 (git): * bignum.c (absint_numwords_generic): rb_funcall invocations removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:24 AM Revision a70a7ea2 (git): fix typo of r41331
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:56 AM Revision 107dbe52 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:10 AM Revision 35b615cc (git): Ignore tool/config.guess and tool/config.sub
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:10 AM Revision 3f7647f9 (git): * tool/config_files.rb: use URI.read to allow it runs with Ruby 1.8.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:26 AM Bug #8037: rdoc issues preventing docs generating after ruby was compiled
this is still not fixed in https://github.com/ruby/ruby/blob/ruby_2_0_0/lib/rdoc.rb#L67 any chance in backporting it to ruby 2.0.0? mpapis (Michal Papis)
05:33 AM Revision 552c0c5a (git): * bignum.c (bary_pack) Extracted from rb_integer_pack_internal.
(absint_numwords_generic): Use bary_pack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:02 AM Revision ca4578d9 (git): * NEWS (XMLRPC::Client#http): Add.
[ruby-core:55197] [Feature #8461]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:41 AM Revision 7a58763d (git): * bignum.c (bary_add): New function.
(bary_zero_p): Extracted from bigzero_p.
(absint_numwords_generic): Use bary_zero_p and bary_add.
(bary_mul): Fix an argument for bary_mul_single.
(bary_divmod): Use size_t for arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
akr (Akira Tanaka)
12:48 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
duerst (Martin Dürst) wrote:
> Checking Content-Length can help detect cases where the connection is
> ...
By default Net::HTTP#read wait to read content of the size which is specified with CONTENT_LENGTH, or chunked encoding.
Theref...
naruse (Yui NARUSE)

06/15/2013

11:58 PM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
So it seems to be a problem with the used shell,
not the terminal. I've now tried Console2 running
the default Windows shell and the ZSH shell from the
Cygwin environment and using the Windows shell it
works, but using ZSH/Cygwin it ...
thasmo (Thomas Deinhamer)
11:56 PM Revision d631642a (git): * bignum.c (bigdivrem): Use a BDIGIT variable to store the return
value of bigdivrem_single.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:46 PM Revision 00a95f15 (git): * bignum.c (bary_divmod): New function.
(absint_numwords_generic): Use bary_divmod.
(bigdivrem_num_extra_words): Extracted from bigdivrem.
(bigdivrem_single): Ditto.
(bigdivrem_normal): Ditto.
(BIGDIVREM_EXTRA_WORDS): Defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
akr (Akira Tanaka)
08:53 PM Revision 3a0a69fe (git): * gc.c: Fixup around GC by MALLOC.
Add allocate size to malloc_increase before GC
for updating limit in after_gc_sweep.
Reset malloc_increase into garbage_collect()
for preventing GC again soon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
Masaya Tarui
08:18 PM Revision 994ed8db (git): * gc.c : add some colums to more detail profile.
new colums: Allocated size, Prepare Time, Removing Objects, Empty Objects
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
05:14 PM Revision 1ef4fecd (git): merge revision(s) 41245: [Backport #8513]
* array.c (FL_SET_EMBED): shared object is frozen even when get
unshared.
* array.c (rb_ary_modify): ARY_SET_CAPA needs unshared array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41323 b2dd03c8-3...
nagachika (Tomoyuki Chikanaga)
05:06 PM Revision 6477616c (git): * gc.c (gc_prof_timer_stop): Merge function codes of GC_PROFILE_MORE_DETAIL and !GC_PROFILE_MORE_DETAIL.
* gc.c (gc_prof_mark_timer_start): Ditto.
* gc.c (gc_prof_mark_timer_stop): Ditto.
* gc.c (gc_prof_sweep_slot_timer_start): Ditto.
* gc.c (gc_prof_sweep_slot_timer_stop): Ditto.
* gc.c (gc_prof_set_malloc_...
Masaya Tarui
04:55 PM Revision e5989985 (git): merge revision(s) 39733: [Backport #8527]
* insns.def: fix condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:31 PM Revision 9fb5a1cd (git): merge revision(s) 41266: [Backport #8517]
* ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X
10.7+. [ruby-trunk - Bug #8517]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:14 PM Revision 113d3599 (git): merge revision(s) 41300: [Backport #8489]
* compile.c (rb_iseq_compile_node): fix location of a `trace'
instruction (b_return event).
[ruby-core:55305] [ruby-trunk - Bug #8489]
(need a backport to 2.0.0?)
* test/ruby/test_settracefunc.rb: a...
nagachika (Tomoyuki Chikanaga)
03:58 PM Revision e5633967 (git): merge revision(s) 41315: [Backport #8436]
vm_eval.c: suppress warning
* vm_eval.c (eval_string_with_cref): move absolute_path inside
non-exception block, since it is used only there. [Bug #8436]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41318 b...
nagachika (Tomoyuki Chikanaga)
03:36 PM Revision e63d45a5 (git): merge revision(s) 40759,40966,41305,41306: [Backport #8436]
vm_eval.c: suppress warning
* vm_eval.c (eval_string_with_cref): narrow a variable scope into the
EXEC_TAG block to suppress -Wclobberd warning.
* vm_eval.c (eval_string_with_cref): propagate absolute path from the
...
nagachika (Tomoyuki Chikanaga)
03:31 PM Revision 35573819 (git): * 2013-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 PM Revision 74868d8b (git): vm_eval.c: suppress warning
* vm_eval.c (eval_string_with_cref): move absolute_path inside
non-exception block, since it is used only there. [Bug #8436]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:52 PM Revision 392def5b (git): * bignum.c (bary_sub): New function.
(absint_numwords_generic): Use bary_sub.
(bigsub_core): Skip unnecessary copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:32 PM Revision 988c22ea (git): * bignum.c (bary_mul): New function.
(absint_numwords_generic): Use bary_mul.
(bary_mul_single): Extracted from bigmul1_single.
(bary_mul_normal): Extracted from bigmul1_normal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:15 AM Revision d1eea69b (git): * bignum.c (bary_unpack): Extracted from rb_integer_unpack_internal.
(absint_numwords_generic): Use bary_unpack.
(roomof): Defined.
(bdigit_roomof): Defined.
(BARY_ARGS): Defined.
(bary_unpack): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:35 AM Revision 78a6a6ca (git): * bignum.c (absint_numwords_bytes): Make it static.
(absint_numwords_small): Ditto.
(absint_numwords_generic): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:15 AM Revision 919cc1e5 (git): * bignum.c (bigmul1_normal): Shrink the result Bignum length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:38 AM Bug #8507: Keyword splat does not convert arg to Hash
I'm glad this is getting addressed. Handling nil values is one of the most tiring and error-prone aspects of coding in Ruby. Much has been said about the mistake of introducing NULL references in languages (http://www.infoq.com/presentat... kainosnoema (Evan Owen)
01:20 AM Revision 54a22fb8 (git): * ext/bigdecimal/bigdecimal.c: Update overview formatting of headers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:20 AM Feature #8526: gemify tk
英語圏は無視して広く意見を聞くことなく,もう決定ということですか?
私は決定には従うとは申しましたが,積極的に賛成したわけではないのですが…
まぁ,「尋ねたところで積極的に残してほしいという意見もなく,
除外に賛成する意見が大多数だろうから,尋ねるだけ時間の無駄」という
判断なのかもしれませんね.
# 歴史的経緯で,動作の必要上,非公開 API まで使ってきていたので,
# 実のところ,現状がどこまで公開 API のみに切り離せているのかを
# 明...
nagai (Hidetoshi Nagai)
01:19 AM Revision 184eaedb (git): * ext/bigdecimal/bigdecimal.gemspec: Update authors
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:03 AM Revision 6193a314 (git): * bignum.c (bdigs_small_rshift): Extracted from big_rshift.
(bigdivrem): Use bdigs_small_rshift.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

06/14/2013

11:37 PM Revision f3b537c5 (git): vm_eval.c: __dir__ in eval
* vm_eval.c (eval_string_with_cref): propagate absolute path from the
binding if it is given explicitly. patch by Gat (Dawid Janczak) at
[ruby-core:55123]. [Bug #8436]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41306 b2dd03c...
nobu (Nobuyoshi Nakada)
11:37 PM Revision b135b8d0 (git): test_method.rb: use realpath
* test/ruby/test_method.rb (TestMethod#test___dir__): $LOAD_PATH
entries are expanded to real paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:23 PM Bug #8524: r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできない
さとうふみやす @ OSSTech です。

At Fri, 14 Jun 2013 21:36:17 +0900,
knu (Akinori MUSHA) wrote:
> ${var:+val} がサポートされていないってのはちょっとした驚きでした。少なくともSUSv2/UNIX98では定義されているので。

Solaris 10 (それより古いのも含む) の /bin/sh は ${var:+val} は
サポートしています。ただし、...
fumiyas (Fumiyasu SATOH)
09:36 PM Bug #8524: r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできない
${var:+val} がサポートされていないってのはちょっとした驚きでした。少なくともSUSv2/UNIX98では定義されているので。
OpenIndianaだと/bin/shはksh93になっているようで、エラーは出ませんでした。
後学のために教えていただきたいのですが、 ${var+val} だとOKでしょうか。
あと、 ${var:-val} / ${var-val} もよく使うので気になります…。
knu (Akinori MUSHA)
08:23 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
Checking Content-Length can help detect cases where the connection is
closed prematurely. I'm not sure how important this is in the
application where the error was discovered, but it's well known as a
problem in HTTP in general...
duerst (Martin Dürst)
07:03 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
Maybe I misunderstood, why is the assertion is needed?
I feel it should be simply removed.
Moreover chunked encoded response doesn't have Content-Length header.
So it sounds nonsense.
naruse (Yui NARUSE)
05:41 PM Revision 45150051 (git): * 2013-06-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:41 PM Revision 2b6cab54 (git): * bignum.c (bdigs_small_lshift): Extracted from big_lshift.
(bigdivrem): Use bdigs_small_lshift.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:41 PM Feature #8526: gemify tk
nagai (Hidetoshi Nagai) wrote:
> 手を付けていないチケットについて,
> ...
ご理解ありがとうございます。
今後のメンテナンスはどのようになさいますか?
githubやその他のリポジトリサービスに置くなり、自サイトに置くなりとか、
例えば github で ruby/tk に置くならばこちらで作業出来ます。
また、gem にするなら gem 化も協力できます。
naruse (Yui NARUSE)
01:11 PM Feature #8526: gemify tk
shyouhei (Shyouhei Urabe) wrote:
> naruse (Yui NARUSE) wrote:
> ...
定量化可能な指標の一つとして出しました。
脆弱性を出してた頃のzlibなんかは小さくても消したかったので、サイズだけを見ているわけでもありません。
また、nkfはわたしがアクティブではなくなったら消えることになるだろうという感覚はあります。
iconvが消えてるのにnkfが残っているのは端的にはわたしのわがままですし。
naruse (Yui NARUSE)
12:55 PM Feature #8526: gemify tk
手を付けていないチケットについて,
一部はRejectできそうだとか,一部は今は手が出せないとかはありますが,
thread回りとかGC回りとかの各部の変化の影響がどこまで及んでいるか,
あるいは影響はないのかを測りかねていて,断言できない状況にあります.
いずれにしても手が回っていないことは事実ですので,
私の方から「残してくれ」と主張する権利はないでしょう.
決定には粛々と従います.
nagai (Hidetoshi Nagai)
11:50 AM Feature #8526: gemify tk
naruse (Yui NARUSE) wrote:
> そもそも tk はサイズベースで言えば、約69MBのRubyリポジトリのうち、8.8MBを占める巨大なライブラリでかつ、
えー。それを言っちゃうの? Rubyレポジトリの半分はencだしnkfだってけっこうでかくないですか?
zsh % du -sh enc ext/*/ lib/*/ . | fgrep M
34M enc
2.1M ext/nkf/
...
shyouhei (Shyouhei Urabe)
11:30 AM Feature #8526: gemify tk
naruse (Yui NARUSE) wrote:
> > tkと同じタイミングで私が消極的メンテナをしているcursesも削除したいと思いますが、どうでしょうか。
> ...
はい、cursesのチケットは新たに起票するつもりですが、永井さんからすると何でtkだけが削除されるのかという
印象を受けられるかな、と。
全体的な流れとして、標準添付ライブラリはなるべくスリムにして、依存関係のないものはthird party gem
にしようという背景があると理解...
shugo (Shugo Maeda)
11:19 AM Feature #8526: gemify tk
> tk を Ruby のリポジトリから外しませんか。
賛成です。
Mac でも tk のビルドエラーで ruby のビルドが止まってしまうので、
いつもオプションを付けてくださいと言って回ってます。
https://gist.github.com/Watson1978/5778104

> ...
tk 用のリポジトリを github の https://github.com/ruby の下に作成することも可能です。
今後は github など...
hsbt (Hiroshi SHIBATA)
11:12 AM Feature #8526: gemify tk
shugo (Shugo Maeda) wrote:
> naruse (Yui NARUSE) wrote:
> ...
ありがとうございます。
> tkと同じタイミングで私が消極的メンテナをしているcursesも削除したいと思いますが、どうでしょうか。
> ...
これは tk のスレであって、標準ライブラリ gem 化のスレではないので、curses については他のスレでお願いします。
まぁ、メンテナが外すといえば基本的には外れるでしょうが。
...
naruse (Yui NARUSE)
10:53 AM Feature #8526: gemify tk
naruse (Yui NARUSE) wrote:
> tk を Ruby のリポジトリから外しませんか。
(snip)
> ...
賛成です。
tkと同じタイミングで私が消極的メンテナをしているcursesも削除したいと思いますが、どうでしょうか。
UI系のライブラリは標準で含まれている必要はないかなと思います。
gem化することでRuby本体とメンテナンスサイクルを分けられるのはメリットでもあると思いますし(私はあまりcursesやる気ないんですが...
shugo (Shugo Maeda)
10:22 AM Feature #8526 (Closed): gemify tk
tk を Ruby のリポジトリから外しませんか。
そもそも tk はサイズベースで言えば、約69MBのRubyリポジトリのうち、8.8MBを占める巨大なライブラリでかつ、
ビルドに際して多くのライブラリを必要とするため、従前より周囲の目が厳しいライブラリでありましたが、
これまでは精力的にメンテされている永井さんに敬意を払って、本格的な削除の提案はされて来ませんでした。
しかし、最近は活動が鈍り、#5199 #5465 #5686 #7000 #788...
naruse (Yui NARUSE)
12:05 PM Revision 2f407300 (git): * bignum.c (bigdivrem): Reduce number of digits before bignew() for div.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:13 AM Revision 48bfbb57 (git): * bignum.c (bigdivrem): Use bignew when ny == 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:27 AM Bug #8525 (Rejected): Error? in pathname :: Pathname.new(`pwd`.chomp).basename.realpath
Pathname.new("/tmp").basename returns "tmp", and expanded result from "/tmp" is "/tmp/tmp".
If you want pathname which may not exist, use Pathname#realdirpath instead.
nobu (Nobuyoshi Nakada)
04:37 AM Bug #8525 (Rejected): Error? in pathname :: Pathname.new(`pwd`.chomp).basename.realpath
[code]
Dir.chdir '/tmp'
p = Pathname.new(`pwd`.chomp).basename.realpath
Errno::ENOENT: No such file or directory - /tmp/tmp
from (irb):17:in `realpath'
from (irb):17:in `realpath'
from (irb):17
from /usr/bin/irb:12:in `<main>'...
dimytch (Dimitri Peka)
09:54 AM Revision f41b284f (git): * compile.c (rb_iseq_compile_node): fix location of a `trace'
instruction (b_return event).
[ruby-core:55305] [ruby-trunk - Bug #8489]
(need a backport to 2.0.0?)
* test/ruby/test_settracefunc.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41300 b2dd03c8-39d4-4d8f-98ff-823...
ko1 (Koichi Sasada)
09:23 AM Revision 87a120fb (git): * class.c, include/ruby/ruby.h: add write barriers for T_CLASS,
T_MODULE, T_ICLASS.
* constant.h: constify rb_const_entry_t::value and file to detect
assignment.
* variable.c, internal.h (rb_st_insert_id_and_value, rb_st_copy):
added. update table with write barrier.
* method.h: constify some var...
ko1 (Koichi Sasada)
05:35 AM Revision 4dd06525 (git): * NEWS: add a note for Module#using.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
05:10 AM Revision 632ed84c (git): * configure.in: download missing config files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:10 AM Revision 9f60d842 (git): * Makefile.in (after-update): non-configure platforms don't need
config files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:10 AM Revision 78963f8e (git): * tool/get-config_files: show downloading message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:40 AM Revision a53cb1a0 (git): update config files
* .travis.yml (before_script): update config files.
* common.mk ($(srcdir)/tool/config.{guess,sub}): use get-config_files.
* tool/config_files.rb: split get-config_files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41294 b2dd03c8...
nobu (Nobuyoshi Nakada)
04:01 AM Revision bbe047d4 (git): download config files
* common.mk (update-config_files): rule to download config files.
* tool/config.guess, tool/config.sub: remove and download from the
upstream.
* tool/get-config_files: download config files from GNU.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
03:21 AM Revision 19faee19 (git): ruby.h: suppress warnings
* include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): suppress warnings
"left-hand operand of comma expression has no effect", on gcc 4.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:19 AM Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by
my idea would be this, for ruby it may be cood if its converted into C++ code
~~~ruby
module Enumerable
def reverse_sort(&block)
block ||= proc {|x,y| x <=> y }
sort {|x,y| - block.call(x,y)}
end

def reverse_sor...
Hanmac (Hans Mackowiak)
01:33 AM Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by
drbrain (Eric Hodel) wrote:
> Neither `Prime.each.reverse_sort.take 10` nor `Prime.each.sort.take 10` will return as there is no last value for infinite streams.
Of course. But you are aware that `Enumerable` has a `sort` method that...
marcandre (Marc-Andre Lafortune)
12:56 AM Revision 5ffd3ca1 (git): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
12:53 AM Revision 73a229c3 (git): * NEWS: add notes for $SAFE.
* doc/security.rd: remove the description of $SAFE=4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:37 AM Feature #8520: Distinct to_s methods for Array, Hash...
Thanks for the responses guys!
@matz and boris:
I deliberately left that out in my first message, when I probably shouldn't: Of course the issue can be overcome quite easily: as you said, just redefine inspect instead of to_s or alia...
LFDM (Gernot Höflechner)
12:23 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
Hello,

On Fri, Jun 14, 2013 at 12:06 AM, naruse (Yui NARUSE) <naruse@airemix.jp> wrote:
> Could you edit NEWS to introduce the new feature?

+1
zzak (zzak _)
12:06 AM Feature #8461 (Assigned): Easy way to disable certificate checking in XMLRPC::Client
kou (Kouhei Sutou) wrote:
> I've added XMLRPC::Client#http. Use it like:
> ...
Could you edit NEWS to introduce the new feature?
naruse (Yui NARUSE)
 

Also available in: Atom