Activity
From 02/13/2012 to 02/19/2012
02/19/2012
-
04:15 PM Bug #6035 (Open): 2F in TestReadline
- これ、libedit 側のバグですね。
rl_outstream セットしてるのに、file_complete.c で el->el_outfile を見てる。 -
02:44 PM Revision 05a2cd70 (git): add a test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:44 PM Revision d7bf156a (git): * ext/dbm/extconf.rb: show header and library found.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:25 PM Bug #5676: miniruby linking error: undefined reference to ___stack_chk_guard
- FYI, I could build ruby on FreeBSD 9.0 amd64 with gcc 4.6 in ports.
-
10:57 AM Bug #5676 (Feedback): miniruby linking error: undefined reference to ___stack_chk_guard
- The symbol in question differs, so sounds like a runtime library mismatch.
Does it fail with the default package?
If it occurs only with the non-default, and also simplified code without ruby, it should be reported to the gcc team. -
03:23 AM Bug #5676: miniruby linking error: undefined reference to ___stack_chk_guard
- I've recently adopted FreeBSD 9.0 (in my "A New Year, A New OS" resolution) and have apparently run into this problem on trunk when trying to build with the non-default gcc-4.6.2 package. The issue goes away when I remove -fstack-protect...
-
02:14 PM Revision 0e8cd8ae (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:02 PM Revision 95f3f982 (git): * ext/dbm/dbm.c (Init_dbm): refine DBM::VERSION definition.
- * ext/dbm/extconf.rb: provide RUBYDBM_GDBM_HEADER macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:27 PM Bug #6046 (Third Party's Issue): Berkeley DB dbm_open in libc is called even if --with-dbm-type=gdbm_compat is specified on FreeBSD
- FreeBSD 8.2 で、--with-dbm-type=gdbm_compat として ext/dbm に GDBM を
使わせようとしたときに、(libc 中の) Berkeley DB の dbm_open を呼んで
しまうようです。
再現手順は以下のとおりです。
% uname -a
FreeBSD freebsd82-64 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18... -
11:25 AM Feature #5995: calling io_advise_internal() in read_all()
- Hello, Martin
I guess that your point is off topic from this ticket.
As I and Masaki showed, in normal cases, File#read does
not reallocate a memory. (Let me know if I'm wrong)
But I think your point is valid for the general IO#... -
10:18 AM Revision 87a15a69 (git): revert r34691 and r34689
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:33 AM Revision 1efa1416 (git): add assertions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:08 AM Revision 460bb8a8 (git): * test/dbm/test_dbm.rb (test_dbmfile_suffix): check pag and dir is
- empty for 4.3BSD ndbm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 AM Revision 310c2adf (git): * enc/mktable.c (ENC_INFO): constify to suppress warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:11 AM Revision f0e9fa3c (git): * gc.c (gc_clear_mark_on_sweep_slots): remove a unused variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:29 AM Revision 95c3026f (git): merge revision(s) 33327:
- * configure.in: ignore all warnings from an arbitrary
header in /usr/local/include.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:07 AM Revision 55e6e9e3 (git): * gc.c (gc_clear_mark_on_sweep_slots): uses slot_sweep() for
- unsweeped slots, because some dead objects might be marked in
next the mark phase by false pointers. [ruby-core:42672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 AM Feature #4970: FileUtils refactored
- (12/02/18 14:56), Thomas Sawyer wrote:
> Looks like someone had simply misspelled "mignw". I am guessing that's actually the older code, and `fu_windows?` is the newer. Is that right?
Right. I fixed it at r34146, in the last Dec... -
01:51 AM Revision 541e1aff (git): * regparse.c: fix warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/18/2012
-
06:05 PM Revision c509bec7 (git): cosmetic change.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:01 PM Revision 62debc95 (git): * test/dbm/test_dbm.rb (test_dbmfile_suffix): check magic numbers.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:06 PM Revision 0187905a (git): * ext/dbm/extconf.rb: detect GDBM's ndbm.h by testing dbm_clearerr is
- an empty macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:41 PM Revision 0ffc74de (git): * regcomp.c, regexec.c: fix-up warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:31 PM Revision ca5a0db6 (git): * 2012-02-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:31 PM Revision fcd8f78e (git): * ext/dbm/extconf.rb: don't choose 'dbm' if _GDB_H_ is defined which
- is available since GDBM 1.9 because 'gdbm_compat' is appropriate
choise since GDBM 1.8.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:56 PM Feature #4970: FileUtils refactored
- Looks like someone had simply misspelled "mignw". I am guessing that's actually the older code, and `fu_windows?` is the newer. Is that right?
The refactoring I did did not touch that line, so I am guessing it was changed between the ... -
10:43 AM Feature #4970: FileUtils refactored
- r34669 (trunk): * lib/fileutils.rb: refactored FileUtil methods
seems to cause test errors with mingw32.
TestDir_M17N#test_filename_as_bytes_extutf8 = 0.12 s = E
TestDir_M17N#test_filename_extutf8_inteucjp_unrepresentable = 0.18 s =... - 02:28 PM Revision 923bff74 (git): * random.c: remove a duplicated comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:06 AM Revision 90cc1164 (git): simplify a test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:47 AM Revision fc0111cc (git): * ext/dbm/extconf.rb (dblib): prefer recent GDBM over older GDBM.
- (have_declared_libvar): new function to check a declared variable
exists in a library.
(have_undeclared_libvar): renamed from renamed from have_libvar.
(headers.db_check2): check that GDBM version variable if GDBM header
is choos... - 09:00 AM Revision b570f60d (git): * 2012-02-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:00 AM Revision cfdd154b (git): merges r28134 from trunk into ruby_1_9_2.
- --
Allow bin/* install from dot-dirs. Fixes rvm and multiruby installations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:59 AM Revision 80e35fa2 (git): merges r33532 from trunk into ruby_1_9_2.
- --
* include/ruby/ruby.h (SIZE_MAX): define SIZE_MAX if not defined.
patched by The Written Word Inc. [ruby-core:40422] [Bug #5489]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34675 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
08:23 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
- If you could do that will be really appreciated.
Thank you.
Sorry for top posting. Sent from mobile.
On Feb 17, 2012 8:08 PM, "NARUSE, Yui" <naruse@airemix.jp> wrote:
> (2012/02/18 7:54), Luis Lavena wrote:
> > On Fri... -
08:23 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
- (2012/02/18 7:54), Luis Lavena wrote:
> On Fri, Feb 17, 2012 at 7:47 PM, Yui NARUSE <naruse@airemix.jp> wrote:
>>
>> Issue #6040 has been updated by Yui NARUSE.
>>
>> Luis Lavena wrote:
>>>
>>> This justifies another patc... -
07:59 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
- On Fri, Feb 17, 2012 at 7:47 PM, Yui NARUSE <naruse@airemix.jp> wrote:
>
> Issue #6040 has been updated by Yui NARUSE.
>
> Luis Lavena wrote:
>>
>> This justifies another patchlevel release? Big5 encoding seems
>> important for... -
07:47 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
- Luis Lavena wrote:
> On Thu, Feb 16, 2012 at 9:55 PM, Yui NARUSE <naruse@airemix.jp> wrote:
> ...
This affect only on packaging.
So I repacked it. -
07:23 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
- On Thu, Feb 16, 2012 at 9:55 PM, Yui NARUSE <naruse@airemix.jp> wrote:
>
> Issue #6040 has been updated by Yui NARUSE.
>
> Status changed from Open to Closed
>
> This should be fixed r34650 in trunk / 1.9.3-p127.
> Could you chec... -
04:54 AM Revision 4c1ea85d (git): * test/dbm/test_dbm.rb (test_dbmfile_suffix): DBM::VERSION should
- be Berkeley DB if foo.db is created by DBM.open.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:42 AM Feature #5221: LoadEerror#path
- I've updated the patch to include a test:
https://gist.github.com/1855072 -
04:41 AM Revision 48a97f2c (git): * test/dbm/test_dbm.rb (test_dbmfile_suffix): test dbm file suffix.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:51 AM Revision e7a1d4a3 (git): * ext/dbm/dbm.c (DBM::VERSION): define it by detecting _GDBM_H_ or
- _DBM_IOERR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
On 16/02/2012, at 12:28 PM, Charles Oliver Nutter wrote:
> ... someone might rely on the same symbol having
> ...
The only "safe" object_id is a monotonic one that is not tied to a memory address; by definition, a collector will reus...-
02:54 AM Feature #5995: calling io_advise_internal() in read_all()
- Motohiro KOSAKI wrote:
> Because of, when we read whole file contents, we only need _one_ read syscall if the file is regular. In other words, current read_all() suck. It read a few kilo bytes and append them to a string. That's said... -
02:47 AM Revision 62276906 (git): * tool/enc-unicode.rb: don't use 1.9 feature on tools.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:27 AM Feature #5654: Introduce global lock to avoid concurrent require
- Finally looping back to this to add some thoughts. Sorry for the delay.
The biggest problem with concurrent code in Ruby (at least from the JRuby perspective) has not been thread safe collections, deadlocks, or anything in the core ru...
02/17/2012
-
06:47 PM Feature #5959 (Rejected): Addrinfo#inspectname
- 並列動作を考えると libcurl 使ったほうが賢い気がしてきたので reject します
-
06:44 PM Bug #6035 (Assigned): 2F in TestReadline
- I succeeded to reproduce this issue.
This is libedit dependent issue. -
12:25 PM Bug #6035 (Closed): 2F in TestReadline
- This issue was solved with changeset r34657.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
merge revision(s) 34255: [Backport #6035]
* test/readline/tes... - 05:59 PM Revision e0f059a1 (git): * 2012-02-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:59 PM Revision ace46301 (git): * lib/fileutils.rb: refactored FileUtil methods to use the
- `define_command` API. Patch from 7rans <transfire@gmail.com>
* test/fileutils/test_dryrun.rb: corresponding test refactoring
* test/fileutils/test_nowrite.rb: ditto
* test/fileutils/test_verbose.rb: ditto
git-svn-id: svn+ssh://ci.ruby-... -
04:42 PM Feature #5820 (Closed): Merge Onigmo to Ruby 2.0
- This issue was solved with changeset r34663.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* Merge Onigmo-5.13.1. [ruby-dev:45057] [Feature #5820]
https://... -
02:31 PM Feature #5221: LoadEerror#path
- Bump. Any news on this?
-
01:24 PM Bug #5801 (Closed): Enumerable#take_while の proc を外に出して使うと Segv
- This issue was solved with changeset r34661.
satoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enum.c: move work variables to objects not to let called blo... -
01:16 PM Bug #6042 (Rejected): DateTime::jd off by 12 hours(?)
- As rdoc of DateTime.jd says, its argument is Chronological Julian Day number.
-
01:05 PM Bug #6042 (Rejected): DateTime::jd off by 12 hours(?)
- I am deeply reluctant to file a bug against something so fundamental as DateTime, and wonder whether I might have missed something, but:
When passed an integral value, DateTime::jd returns a DateTime object whose time is set to midnig... -
12:41 PM Revision 92e7c2d3 (git): * ext/dbm/extconf.rb: remove dbm.
- forgotten in r34666.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:35 PM Bug #6011 (Feedback): ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
-
12:29 PM Revision 6d1f7512 (git): * ext/dbm/extconf.rb: refine header/libraty mismatch detection.
- check only for ndbm.h except libc. check _GDBM_H_ for gdbm.
check _DBM_IOERR for the original ndbm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:10 PM Revision fbca1d0d (git): * ext/dbm/extconf.rb: don't check libdbm. It is not a ndbm
- implementation. (libdbm in Version 7 Unix is database library
for single database per process.)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:46 AM Bug #6034 (Closed): Error in test_Big5(TestTranscode)
- パッケージ (tar.gz とか zip とかのファイル) を ruby 1.8 で作るとダメだったようです。
コードとしては r34650 / 1.9.3-p127 で修正しました。
パッケージ自体は修正して最アップロードします。 -
09:55 AM Bug #6040 (Closed): Transcoding test failure: Big5 to UTF8 not defined (MinGW)
- This should be fixed r34650 in trunk / 1.9.3-p127.
Could you check and reopen this if not fixed? -
09:29 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
- Thank you Nobu and Jeremy, I've used 1.9.3-p0 as base ruby so shouldn't be
that.
I'll try build 1.9.3 branch again tomorrow just to confirm.
Sorry for top posting. Sent from mobile. -
09:11 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
- I've seen this failure when I made enc/trans/*.c with ruby 1.8, but nothing wrong when made with ruby 1.9 or later.
Therefore, seems a bug in the conversion script.
Or a packaging issue. -
06:13 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
- I can confirm that this error occurs on both OpenBSD amd64 and i386. This happens both when the whole test suite is run and when just test_transcode is run in isolation.
-
06:03 AM Bug #6040 (Closed): Transcoding test failure: Big5 to UTF8 not defined (MinGW)
- Hello,
While testing 1.9.3-p125 (released), discovered this bug which was not present in previous builds: -
08:18 AM Revision 242994f3 (git): * ChangeLog: removed duplicated entry.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:17 AM Revision 39d69386 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:42 AM Revision 0424e152 (git): * Merge Onigmo-5.13.1. [ruby-dev:45057] [Feature #5820]
- https://github.com/k-takata/Onigmo
cp reg{comp,enc,error,exec,parse,syntax}.c reg{enc,int,parse}.h
cp oniguruma.h
cp tool/enc-unicode.rb
cp -r enc/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34663 b2dd03c8-39d4-4d8f-98ff-... -
06:20 AM Revision 5362e7fc (git): * enum.c (enum_each_slice): arrays to be yielded can be newly
- created in the block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:55 AM Bug #6033: Digest issue in 1.9.3
- Weird. It's happening on both of my laptops, but not a fresh one. I guess something is screwed up from when Lion first came out. Time to format... (go ahead and reject)
-
04:31 AM Bug #6037 (Rejected): #freeze bug
- Rejecting, as this is per spec. Behavior can not be changed without breaking a lot of code.
Note that I also would like a deep freeze (see http://bugs.ruby-lang.org/issues/show/2509 ) but that is a feature request, not a bug report. -
03:56 AM Bug #6037 (Rejected): #freeze bug
- freeze should deep freeze, to avoid inconsistent behavior:
array = ['a', 'b'].freeze
array[0] = 'b'
array[0].gsub!(/.+/s, 'b')
array
>> RUBY_VERSION
=> "1.9.3"
> ...
=> ["a", "b"]
>> array[0] = 'b'
RuntimeError: can't modify... -
04:26 AM Bug #6038: #instance_eval bug
- Might be a good idea to keep things simple:
do_stuff = lambda do |&block|
puts "Object id is #{block.object_id}"
end
chain = lambda{}
do_stuff.call(&chain)
chain.instance_eval{}
do_stuff.call(&c... -
03:57 AM Bug #6038 (Closed): #instance_eval bug
- instance_eval seems to change the object_id in some cases:
begin
stack = []
do_stuff = lambda do |&chain|
puts "Actual: #{chain.object_id}"
chain.call
end
chain = lambda do
if filter = stack.shift
... -
04:24 AM Revision 41e331cc (git): * enum.c: move work variables to objects not to let called blocks
- access stack area out of scope. [Bug #5801]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:24 AM Revision d8168ded (git): merge revision(s) 34652:
- * lib/mkmf.rb (create_header): log the content of header.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:17 AM Bug #6039: lambda vs proc; #to_ary w/ splat bug
- Possibly related: http://bugs.ruby-lang.org/issues/5694
-
04:09 AM Bug #6039: lambda vs proc; #to_ary w/ splat bug
- Possibly related:
http://bugs.ruby-lang.org/issues/5759 -
03:59 AM Bug #6039 (Rejected): lambda vs proc; #to_ary w/ splat bug
- to_ary apparently gets called in edge cases when a proc has a splat argument:
good = Class.new do
def to_ary
[:bad]
end
end.new
foo = lambda { |*bar| bar.first }
foo.call(good)
foo = lambda { |bar, *baz| bar }
fo... -
04:17 AM Bug #5694: Proc#arity doesn't take optional arguments into account.
- Possibly related: http://bugs.ruby-lang.org/issues/6039
-
04:09 AM Bug #5759: flatten calls to_ary on everything
- Possibly related:
http://bugs.ruby-lang.org/issues/6039 -
03:37 AM Revision 3b243514 (git): * tool/merger.rb: remove borders from the commit message which is used
- when the commit doesn't change ChangeLog.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:27 AM Revision 95433b2b (git): merge revision(s) 34268:
- * test/readline/test_readline.rb (test_completion_proc_empty_result):
ensure clearance of Readline's line_buffer after the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34658 b2dd03c8-39d4-4d8f-98ff-82... -
03:25 AM Revision c1303fbe (git): merge revision(s) 34255: [Backport #6035]
- * test/readline/test_readline.rb (test_completion_proc_empty_result): rescue NoMemoryError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:50 AM Revision 68262a20 (git): * common.mk (btest, btest-ruby, test-sample test-knownbugs)
- (test-all, test-ruby): depend on prog.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:47 AM Revision 54209dd1 (git): merge revision(s) 34115:
- * test/readline/test_readline.rb (test_line_buffer__point): use
lambda not to exit entire method by "return". or "next" for
proc. [ruby-dev:45042] [Bug #5802]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/r... -
01:16 AM Revision c3230878 (git): merge revision(s) 34644:
- * ext/dbm/extconf.rb: check _DB_H_ macro unavailable except
Berkeley DB library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:14 AM Revision 35586754 (git): merge revision(s) 34646:
- * test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 or prior.
reported by Bohuslav Kabrda.
[ruby-core:42685] [ruby-trunk - Bug #6036]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34653 b2... -
12:56 AM Revision 7d0066c5 (git): * lib/mkmf.rb (create_header): log the content of header.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:54 AM Revision bae9e4a0 (git): merge revision(s) 34650:
- * tool/transcode-tblgen.rb (import_ucm): don't use \h because the
script should work with ruby 1.8.
* tool/enc-unicode.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34651 b2dd03c8-39d4-4d... -
12:53 AM Revision 375fd315 (git): * tool/transcode-tblgen.rb (import_ucm): don't use \h because the
- script should work with ruby 1.8.
* tool/enc-unicode.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:38 AM Revision a81c7663 (git): Fix debug line of ext/dbm/extconf.rb in r34641. [Backport #6021]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:25 AM Bug #6036 (Closed): Test failures in Fedora Rawhide/17
- This issue was solved with changeset r34646.
Bohuslav, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 ...
02/16/2012
-
11:33 PM Bug #6036 (Closed): Test failures in Fedora Rawhide/17 - Hi, I'm getting these test failures [1] on both Fedora 17 and Rawhide. The tests unfortunately don't run all, because there is probably an endless loop in one of them, which I can't reproduce when running tests separately (is there a way...
-
10:33 PM Revision f5d724ab (git): * enum.c (id_lshift): use constant ID.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:32 PM Revision 2f92a267 (git): * ext/dbm/extconf.rb: refactored to split too long conditions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:27 PM Feature #5995: calling io_advise_internal() in read_all()
- I ran Endoh-san's code.
average time of 10 times:
F: 0.2892
T(use posix_fadvise()): 0.2226
I think posix_fadvise() makes sense at least on my environment.
Can anyone reproduce this?
Anyway, I agree with Endoh-san because I ha... -
09:55 PM Feature #5995 (Rejected): calling io_advise_internal() in read_all()
- Hello,
There is indeed something wrong, but anyway, I agree with
kosaki's point; we cannot import the patch until we know
the exact reason why it brings performance improvement.
So please reopen this ticket if you find the reason.
... -
09:12 PM Feature #5995 (Assigned): calling io_advise_internal() in read_all()
- Hi,
Yusuke Endoh wrote at [ruby-core:42663]:
> I think there is something wrong.
Agreed. Reopening this ticket. -
03:23 AM Feature #5995: calling io_advise_internal() in read_all()
- Hello,
2012/2/15 Motohiro KOSAKI <kosaki.motohiro@gmail.com>:
> It doesn't. Because of, when we read whole file contents, we only need _one_ read syscall if the file is regular. In other words, current read_all() suck. It read a fe... -
08:18 PM Bug #6035 (Third Party's Issue): 2F in TestReadline
- Mac OS X 10.6.8 で以下のような Failure が発生します。
% make test-all TESTS="readline/test_readline.rb"
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.e... -
07:58 PM Bug #6034 (Closed): Error in test_Big5(TestTranscode)
- Mac OS X 10.6.8 で test_Big5(TestTranscode) が Error になります。
ruby 1.9.3p105 の時点では問題が発生していないことは確認しています。
% make test-all TESTS="ruby/test_transcode.rb"
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable... -
05:52 PM Bug #6033 (Feedback): Digest issue in 1.9.3
- I can't reproduce this.
Anyone can do? -
05:18 PM Bug #6033 (Third Party's Issue): Digest issue in 1.9.3
- This only happens to me on Ruby 1.9.3, in Mac OS X Lion (10.7.3). 1.9.2/1.8.7 are not affected by this issue.
After building ruby-1.9.3-p0 OR ruby-1.9.3-p122 (via rvm), I get the following issue attempting to require 'digest/sha1' (or... -
03:25 PM Revision d698ea89 (git): * test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 or prior.
- reported by Bohuslav Kabrda.
[ruby-core:42685] [Bug #6036]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:05 PM Revision 2e544c33 (git): * 2012-02-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:05 PM Revision 078b3cf9 (git): * ext/dbm/extconf.rb: check _DB_H_ macro unavailable except
- Berkeley DB library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:59 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
- On 16/02/2012, at 12:28 PM, Charles Oliver Nutter wrote:
> On Sun, Feb 5, 2012 at 12:25 AM, Kurt Stephens <redmine@ruby-lang.org> wrote:
>> True, CRuby Symbols are not collected. However, in general, this is not required for every... -
10:29 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
- On Sun, Feb 5, 2012 at 12:25 AM, Kurt Stephens <redmine@ruby-lang.org> wrote:
> True, CRuby Symbols are not collected. However, in general, this is not required for every implementation of "symbols". There is an open bug to make CRu... -
09:47 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
- No, there's quite a lot of such code. Though, if they're explicitly checking for the class type, as I'd imagine most of them would be, then they shouldn't break.
-
09:08 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
- =begin
This may break RubyGems which depends on the difference between Symbol and String keys in ((%~/.gemrc%)).
Symbol keys set RubyGems options and String keys set ((%gem%)) command default arguments.
I'm sure RubyGems isn't the... -
08:34 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
- @Matz, the === proposal was more for example. Indeed at the moment, #eql? would be the method for type-sensitive string comparison, where as == would be for value comparison of string-like objects (Strings and Symbols). I'd also like to ...
-
08:56 AM Revision de889a30 (git): * ext/dbm/extconf.rb: merge trunk's ext/dbm/extconf.rb and
- related functions of lib/mkmf.rb. [Backport #6021]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:22 AM Feature #6019: Revision r34582 significantly slows down rails app
- Rails already include fix against this issue into its trunk: https://github.com/rails/rails/pull/5039
Any way, could second parameter have more variants? So that:
- `respond_to?(:meth)` and `respond_to?(:meth, nil)` will test for pub... -
08:10 AM Bug #6030: Thread-local "leak" in rb_exec_recursive*
- It would be possible to bloat up memory use by calling many method names that all hit this logic; saving a hash per name and never releasing it seems unnecessary.
If it's not a big enough deal for MRI to fix, so be it...it was an issu... -
05:54 AM Bug #6030: Thread-local "leak" in rb_exec_recursive*
- Hi.
I'm not sure I see where there is a problem.
If `Array#==`, say, is called in a given thread, it's quite likely that it will be called again later on, so why not keep the reference to the empty hash ready for next call?
As l... -
03:49 AM Bug #6030: Thread-local "leak" in rb_exec_recursive*
- I forgot to point out a couple things...
* By "leak" I mean this will hold references to data longer than it should. It's not a true leak in that it is bounded.
* It is bounded, but only by method names; recursive_list_access keys ... -
03:41 AM Bug #6030 (Closed): Thread-local "leak" in rb_exec_recursive*
- I believe there may be a "leak" in the rb_exec_recursive* functions in thread.c.
We have ported these methods for recursion detection in JRuby, and as in MRI they use a map inside a thread-local to track method name + object reference... -
05:41 AM Feature #1125 (Closed): [*x] (array consisting only of a splat) does not necessarily return a new array
- This issue was solved with changeset r34633.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* insns.def (splatarray): make new array if flag is set.
* comp... -
03:53 AM Feature #4970: FileUtils refactored
- Hello,
2012/2/16 Aaron Patterson <tenderlove@ruby-lang.org>:
> Ya, I think it's basically fine.
Agreed. Also looks good to me. Thanks.
--
Yusuke Endoh <mame@tsg.ne.jp> -
03:23 AM Feature #4970: FileUtils refactored - On Thu, Feb 16, 2012 at 02:26:10AM +0900, Thomas Sawyer wrote:
>
> Issue #4970 has been updated by Thomas Sawyer.
>
>
> Aaron Patterson looked at it, his only remarks were that I forgot to remove a spurious comment and that I ch... -
02:26 AM Feature #4970: FileUtils refactored
- Aaron Patterson looked at it, his only remarks were that I forgot to remove a spurious comment and that I changed the indention on `private`. Since, he said nothing about the implementation itself, I am assuming it looked okay to him.
... -
12:26 AM Revision 4ec9395b (git): merge revision(s) 32730:
- * configure.in (enable_pthread): use -pthread on OpenBSD without
explicit option. patched by Jeremy Evans. [ruby-core:38572]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34640 b2dd03c8-39d4-4d8f-98ff-823fe6... -
12:25 AM Revision 4f05bf85 (git): merge revision(s) 32731,32734,32738:
- ------------------------------------------------------------------------
r32731 | naruse | 2011-07-29 16:17:35 +0900 (Fri, 29 Jul 2011) | 3 lines
Use setrlimit(NOFILE,1) on OpenBSD.
Because on OpenBSD it freezes if limit=0.
-----------...
02/15/2012
-
10:50 PM Revision d23a588b (git): merge revision(s) r32583:
- * ChangeLog: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:34 PM Revision 8cdf5c41 (git): merge revision(s) 34629,34630:
- * cont.c (rb_fiber_reset_root_local_storage): add a new function to
restore rb_thread_t::local_storage.
* cont.c (rb_obj_is_fiber): add a new function to tell finalizer to
prevent fibers from destroy.
... -
09:31 PM Revision a4debd6a (git): merge revision(s) 34626,34627:
- * ext/fiddle/closure.c (callback): same as r34506.
* ext/fiddle/closure.c (callback): deal with unsinged integers.
[ruby-core:42458][Bug #5991][Bug #6022]
* ext/fiddle/conversions.c (value_to_generic, generic_... - 09:05 PM Revision 4dc3d30a (git): * 2012-02-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:05 PM Revision 95dd735a (git): merge revision(s) 34619:
- * lib/ostruct.rb: Simplify and fix rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:04 PM Bug #5949: Add documentation introduction for the Encoding class
- Thanks for your feedback and Eric for improving my submission! I've just seen your tweet Eric, sorry I had missed all the ticket updates, when I created the ticket I had not noticed that I was not watching it by default.
-
08:32 AM Bug #5949: Add documentation introduction for the Encoding class
- Florent, I altered your original submission to recommend against Encoding.default_external= and Encoding.default_internal= as they cause issues with inconsistent encodings (see the individual method documentation). Also, please trim tra...
-
07:59 AM Bug #5949 (Closed): Add documentation introduction for the Encoding class
- This issue was solved with changeset r34608.
Florent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* encoding.c (Init_Encoding): Add Encoding documentation.
[... -
08:41 PM Revision fde3c421 (git): * insns.def (splatarray): make new array if flag is set.
- * compile.c (iseq_compile_each): make new array with
splat. [ruby-core:21901][Feature #1125]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:57 PM Bug #5991 (Closed): fiddle/conversion.c ignores unsigned qualifier
- This issue was solved with changeset r34627.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/fiddle/closure.c (callback): deal with unsinged intege... -
07:53 PM Feature #1400: Please add a method to enumerate fields in OpenStruct
- On Wed, Feb 15, 2012 at 4:56 AM, Marc-Andre Lafortune <
ruby-core@marc-andre.ca> wrote:
>
> Issue #1400 has been updated by Marc-Andre Lafortune.
>
>
> After reviewing the library, I'm thinking it could be more useful to
... -
12:56 PM Feature #1400: Please add a method to enumerate fields in OpenStruct
- After reviewing the library, I'm thinking it could be more useful to implement instead `each_pair` that would yield keys with the corresponding value (or return an enumerator if no block given).
*) It matches the equivalent Struct#eac... -
06:31 PM Bug #6008: {a: 1}.hash not consistent over VM restarts
- Alright. Make sense.
-
06:05 PM Feature #4043: グローバル関数current_classの提案
- Makoto Kishimoto wrote:
> 採用を妨げるものとしては何がありますでしょうか?
やっぱ名前じゃないですかねえ。機能に反対している人は少ないように思われます。 -
05:43 PM Feature #4043: グローバル関数current_classの提案
- きしもとです
この件、現状としては、現在のカレントクラス(cref)を返す、Module の
特異メソッド Module.current の提案、となっているつもりですが、
採用を妨げるものとしては何がありますでしょうか? - 03:16 PM Revision e315f847 (git): * 2012-02-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:16 PM Revision f2c84d2d (git): lib/abbrev.rb (Array#abbrev): add missing '"' in documentation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:02 PM Revision 0328ab1d (git): * ChangeLog: add ticket ref of r34629.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:00 PM Revision 2910f673 (git): * cont.c (rb_fiber_reset_root_local_storage): add a new function to
- restore rb_thread_t::local_storage.
* cont.c (rb_obj_is_fiber): add a new function to tell finalizer to
prevent fibers from destroy.
* gc.c (rb_objspace_call_finalizer): don't sweep fibers at finalizing
objspace.
* internal.h (rb_... -
01:15 PM Feature #5607: Inconsistent reaction in Range of String
- Martin Dürst wrote:
> This makes a lot of sense so far. But the example uses #to_a, which *is* inherited from Enumerable. And still it treats a range as an interval, not as a sequence.
> ...
What is your plan? -
12:20 PM Feature #5607 (Open): Inconsistent reaction in Range of String
- Yukihiro Matsumoto wrote:
> Ruby classes often play several roles, for example, Array can be array, stack or queue, according to usage of methods. Range is similar. A range is a class with starti point and end point (and flag for end-ex... -
12:33 PM Bug #6029 (Closed): Should OpenStruct implement #eql? and #hash?
- Currently, OpenStruct have no specialized #eql? and #hash, so:
require 'ostruct'
x = OpenStruct.new(foo: 42)
y = x.dup
x == y # => true
x.eql?(y) # => false
This means that OpenStruct does not behave like... -
12:31 PM Bug #6028 (Closed): OpenStruct.dup doesn't have all its methods
- This issue was solved with changeset r34620.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ostruct.rb: Create getters and setters after dup.
[... -
11:44 AM Bug #6028 (Closed): OpenStruct.dup doesn't have all its methods
- Dupped OpenStructs don't have the same methods.
x = OpenStuct.new(foo: 42)
x.dup.methods == x.methods # => false
x.respond_to?(:foo) # => true
x.dup.respond_to?(:foo) # => false
-
12:24 PM Revision ac43a903 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:03 PM Feature #5995: calling io_advise_internal() in read_all()
- =begin
>In other words, current read_all() suck. It read a few kilo bytes and append them to a string.
I modified io.c to show how many bytes read_all() reads on each syscall.
io.c:1834
static long
io_bufread(char *ptr, lon... -
02:55 AM Feature #5995 (Rejected): calling io_advise_internal() in read_all()
- > The patch calls posix_fadvise *before* the main part of read_all.
> ...
It doesn't. Because of, when we read whole file contents, we only need _one_ read syscall if the file is regular. In other words, current read_all() suck. It rea... -
11:09 AM Bug #6006 (Closed): Fix calculation of HEAP_OBJ_LIMIT and HEAP_BITMAP_LIMIT
- This issue was solved with changeset r34618.
Yura, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (HEAP_BITMAP_LIMIT): HEAP_BITMAP_LIMIT is computed on the
... -
04:29 AM Bug #6006 (Assigned): Fix calculation of HEAP_OBJ_LIMIT and HEAP_BITMAP_LIMIT
- It still happens: http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20120214T170302Z.diff.html.gz
I note that I locally applied Yura's revised patch on [ruby-core:42605] to my env (FreeBSD 9.0 64bit),
but it happens segv on miniruby.
... -
10:57 AM Revision 34be46a3 (git): * ext/fiddle/closure.c (callback): deal with unsinged integers.
- [ruby-core:42458][Bug #5991][Bug #6022]
* ext/fiddle/conversions.c (value_to_generic, generic_to_value):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:52 AM Revision fa65df0d (git): * ext/fiddle/closure.c (callback): same as r34506.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:17 AM Feature #6019 (Assigned): Revision r34582 significantly slows down rails app
-
10:12 AM Bug #5948 (Closed): Adding ZLib documentation
- This issue was solved with changeset r34612.
Rafael, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/zlib/zlib.c: Improve documentation. [ruby-trunk - Bug #... -
09:47 AM Revision df5867a2 (git): Add test for r34624.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:08 AM Bug #6020 (Rejected): Unexpected is_a/kind_of behaviour
- Rejected as `is_a?` conforms to its description and what many expect.
Alex: Maybe the behavior you are looking for is given by `Module#<=`:
Integer <= Integer # => true
BasicObject <= Module # => false
# etc.. -
08:45 AM Revision 7eed0ca6 (git): * io.c (io_strsetbuf): call rb_str_modify to make str independent
- before calling rb_str_set_len for r34580.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:52 AM Revision ff4c1368 (git): Add more description about Shift_JIS and CP50220.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:13 AM Bug #6027 (Closed): Failure: test_modify_expand_memory_leak(Test_StringModifyExpand)
- This issue was solved with changeset r34605.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Set encoding as ASCII-8BIT. [Bug #6027] -
01:31 AM Bug #6027 (Closed): Failure: test_modify_expand_memory_leak(Test_StringModifyExpand)
- Solaris 10 にて、r34493以降、以下のFailureが出ます。
48) Failure:
test_modify_expand_memory_leak(Test_StringModifyExpand) [/XXX/src/sparc64-cc11-trunk-34587/test/-ext-/string/test_modify_expand.
rb:7]:
rb_str_modify_expand().
<[true, ""]> expe... -
04:44 AM Bug #5986: Segmentation Fault
- Luis Matta wrote:
> Please notice that the login screen works, is the screen just after the login.
> ...
I succeeded to reproduce with the login.
And I get the bottom of the backtrace of the segv as following.
Frames between 35852 an... -
01:52 AM Bug #5986: Segmentation Fault
- I have the same problem on Ubuntu 11.10 64bits.
I tested the AATest project and got the same error. -
04:30 AM Revision b6c604d7 (git): * ext/zlib/zlib.c (Init_zlib): Added Zlib::TEXT and note that
- Zlib::ASCII is deprecated in zlib 1.2.3 and newer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:25 AM Revision 72282ab1 (git): * ext/zlib/zlib.c: Move constant descriptions to constants. Remove
- extra comment block at the top of Init_zlib().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:31 AM Revision 2d952c6d (git): * lib/ostruct.rb: Create getters and setters after dup.
- [Bug #6028] [rubyspecs:0380bcc]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:31 AM Revision 3281b90e (git): * lib/ostruct.rb: Simplify and fix rdoc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:34 AM Bug #6026 (Closed): GC test parameters failures under MinGW
- already fixed at r34593.
-
12:47 AM Bug #6026 (Closed): GC test parameters failures under MinGW
- Hello,
While preparing for 1.9.3-p105 release, the following test raised a failure: -
02:33 AM Bug #6025 (Closed): IRB test: failure caused by non-guarded completion test
- already fixed at r34591.
-
12:40 AM Bug #6025 (Closed): IRB test: failure caused by non-guarded completion test
- Hello,
While testing for 1.9.3-p105 release, found the following test fail: -
02:09 AM Revision 8b4b4032 (git): * gc.c (HEAP_BITMAP_LIMIT): HEAP_BITMAP_LIMIT is computed on the
- basis of HEAP_SIZE because it must covers a whole heap block.
[ruby-trunk - Bug #6006]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 AM Revision 7b7aa9f5 (git): merge revision(s) 34261,34351:
- ------------------------------------------------------------------------
r34261 | nobu | 2012-01-10 15:52:24 +0900 (Tue, 10 Jan 2012) | 2 lines
* gc.c (HEAP_OBJ_LIMIT): suppress narrowing down warning from gcc 4.2.
--------------------... -
01:33 AM Revision e56eea5e (git): merge revision(s) r34564:
- * vm_eval.c (check_funcall): Call respond_to? with matching arity for
legacy single-argument implementations. [ruby-trunk - Bug #6000]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34616 b2dd03c8-39d4-4d8f... -
01:29 AM Revision afcd5562 (git): merge revision(s) r32855,r32857,r33493,r34554:
- * vm_eval.c (check_funcall): try respond_to? first if redefined.
[Bug #5158]
* test/ruby/test_object.rb: tests that respond_to? returns false.
* vm_eval.c (check_funcall): set array elements one-by-one to fix
... -
01:28 AM Revision 623169a5 (git): * ext/zlib/zlib.c (Init_zlib): Added Zlib::FIXED and Zlib::RLE
- strategies.
* NEWS: Add note about the new Zlib constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:23 AM Revision a1aeb842 (git): Correct documentation of r34608.
- * correct explanation of ASCII-8BIT.
* "Locale encoding" is the name of the encoding derived from
Encoding.locale_encoding. Its correct name is "Script encoding".
* Add Locale encoding and Filesystem encoding.
* default external is ... -
01:12 AM Revision b52693b5 (git): * ext/zlib/zlib.c: Improve documentation. [ruby-trunk - Bug #5948]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 AM Revision 50a470b8 (git): merge revision(s) 33866,33867:
- ------------------------------------------------------------------------
r33866 | nobu | 2011-11-27 17:24:29 +0900 (Sun, 27 Nov 2011) | 1 line
* configure.in: whitespace-cleanup.
---------------------------------------------------------... -
12:59 AM Feature #1122: request for: Object#try - > I, personally, objected the API design of this proposal in
> [ruby-core:21907] (and I still hate send-like API), but I,
> as a release manager, must say that my personal objection
> is negligible, if matz approved send-like API ... -
12:53 AM Revision 776197f8 (git): Temporary fix not to use non ASCII.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:37 AM Bug #6024 (Closed): Failure to execute test_modify_expand_memory_leak under Windows (MinGW)
- Hello,
While testing for 1.9.3-p105 release, found this new issue: -
12:31 AM Feature #6023 (Rejected): Add "a ?= 2" support for meaning "a = a.nil? ? 2 : a"
- I've just proposed this idea to Groovy and I thought the same semantics would be interesting to have in Ruby too:
http://jira.codehaus.org/browse/GROOVY-5306
This is a minor, but important, difference to the "a ||= 2" syntax.
Th...
02/14/2012
-
11:29 PM Revision b14b83ae (git): * encoding.c (Init_Encoding): Add IO example of internal and external
- encoding. Fixed a typo in the force_encoding example. [#5949]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:26 PM Feature #5995 (Assigned): calling io_advise_internal() in read_all()
- Hello,
2012/2/14 Motohiro KOSAKI <kosaki.motohiro@gmail.com>:
> Huh? fadvise() is a hint for _future_ io access. but usually read_all() don't have any future access.
The patch calls posix_fadvise *before* the main part of read_a... -
10:48 PM Feature #5995: calling io_advise_internal() in read_all()
- =begin
>How much OSs do you tested?
I have tested on the only platform because I don't have root authority to execute "sudo sysctl -w vm.drop_caches=1" except the one.
I'm sorry.
I ran the test again and the following is average ... -
03:13 PM Feature #5995: calling io_advise_internal() in read_all()
- Huh? fadvise() is a hint for _future_ io access. but usually read_all() don't have any future access. I don't think this patch makes platform independent improvement. How much OSs do you tested?
-
12:48 PM Feature #5995: calling io_advise_internal() in read_all()
- I modified the patch to use do_io_advise() not io_advise_internal().
-
11:09 PM Feature #1125: [*x] (array consisting only of a splat) does not necessarily return a new array
- Hello,
2012/2/14 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> Isn't the flag of splatarray for this purpose?
I don't know. Please go ahead. You have control!
--
Yusuke Endoh <mame@tsg.ne.jp> -
04:23 PM Feature #1125: [*x] (array consisting only of a splat) does not necessarily return a new array
- Hi,
(12/02/13 23:27), Yusuke Endoh wrote:
> I'll commit the following patch unless there is objection:
Isn't the flag of splatarray for this purpose?
diff --git i/compile.c w/compile.c
index 32bda52..c8aced3 10064... -
10:59 PM Revision 6d76f39f (git): * encoding.c (Init_Encoding): Add Encoding documentation.
- [ruby-trunk - Bug #5949]
* encoding.c (rb_set_default_external): Fix typo in documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:55 PM Feature #1905 (Rejected): How about IPAddr#<=> to take care of mask_addr?
- 長期間進展がみられないので閉じます。[ruby-core:42391] を参照。
武者さんのメールが抜け落ちていてわかりにくいですね。
[ruby-dev:39381] [ruby-dev:39391]
武者さんの提案する API ([ruby-dev:39391]) のパッチを作ってきたら
取りこんでやらんこともない、という待ち状態と思われます。
しかし長期間パッチが来ていないので、一旦とじさせてもらいます。
パッチができたら reopen な... -
10:50 PM Bug #6011: ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
- Vit Ondruch wrote:
> It seems that #6021 block this. I cannot test with p105 :/
run `make -x test_dbm.rb test-all` -
09:33 PM Bug #6011: ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
- It seems that #6021 block this. I cannot test with p105 :/
-
12:54 PM Bug #6011: ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
- This is caused by #5700, fiber+fork.
-
10:37 AM Bug #6011: ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
- Is this reproducible with ruby-1.9.3-p105?
-
01:11 AM Bug #6011 (Closed): ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
- Using Fedora 17 armv7hl, the test suite crashes with following segfault:
/builddir/build/BUILD/ruby-1.9.3-p0/lib/webrick/utils.rb:184:
[BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30) [armv7hl-linux]
-- Control frame information ... -
10:39 PM Bug #5986: Segmentation Fault
- Please notice that the login screen works, is the screen just after the login.
Standard User is : admin@example.com
Password: password -
10:35 PM Feature #1880 (Rejected): Hash#flatten Doesn't Operate Recursively for Hash Values
- I'm rejecting this feature ticket because no progress has been
made for a long time. See [ruby-core:42391].
I think flatten means an operation on Array, in Ruby.
"flatten" on Hash is also possible, but Hash#flatten is not for
... -
10:16 PM Revision 00af7b8f (git): merge revision(s) 34555: [Backport #5786]
- * compile.c (defined_expr): guard the whole expression.
[ruby-dev:45021][Bug#5786]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:16 PM Feature #1844 (Rejected): Immediates Should Not Respond to :dup
- I'm rejecting this feature ticket because no progress has been
made for a long time. See [ruby-core:42391].
My personal opinion.
I might miss somthing, but I cannot understand the motivation
well. When we duplicate an objec... -
09:45 PM Feature #1823: Readline Command Completion
- Takao-san, any update here?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:37 PM Feature #1591 (Rejected): DATA handle unusable in required modules
- I'm rejecting this feature ticket because no progress has been
made for a long time. See [ruby-core:42391].
This feature is difficult to implement in terms of resource of
file descriptor. The interpreter must keep the descript... -
09:30 PM Feature #1586 (Rejected): Including a module already present in ancestors should not be ignored
- I'm rejecting this feature ticket because no progress has been
made for a long time. See [ruby-core:42391].
This is indeed a hard issue.
There are two approaches to make it consistent:
A) prohibit multiple appearances of o... -
08:53 PM Bug #6020: Unexpected is_a/kind_of behaviour
- > Yes, i know how instance is_a? works.
Apparently not.
def is_a?(module)
self.class.ancestors.include? module
end
A.is_a? A # false since Module.ancestors == [Module, Object, Kernel, BasicObject]
Module.is_a? Module ... -
08:23 PM Bug #6020: Unexpected is_a/kind_of behaviour
- =begin
Yes, i know how instance is_a? works. The problem is that the module owns the same functionality as well.
For example:
module A; end
A.class #=> Module
A.is_a?(A) #=> false
A.is_a?(A.class) #=> true
From implementatio... -
07:53 PM Bug #6020: Unexpected is_a/kind_of behaviour
- On Tue, Feb 14, 2012 at 11:41 AM, Alex N <masterlambaster@gmail.com> wrote:
>
> Issue #6020 has been updated by Alex N.
>
>
> =begin
> well, at least (({Integer.is_a?(Integer) #=> true})).
TL;DR : use `is_a?` o... -
07:41 PM Bug #6020: Unexpected is_a/kind_of behaviour
- =begin
well, at least (({Integer.is_a?(Integer) #=> true})). I can live with that fact that the (({BasicObject.is_a?(Module) #=> true})) bearing in mind that the BasicObject is a Class
=end
-
07:33 PM Bug #6020 (Feedback): Unexpected is_a/kind_of behaviour
- Can you show us your "expected behavior"?
-
07:20 PM Bug #6020 (Rejected): Unexpected is_a/kind_of behaviour
- =begin
I've noticed some inconsistent is_a?/kind_of? methods behavior in a very special cases
self.class #=> Object
BasicObject.is_a?(BasicObject) #=> true
Module.is_a?(Module) #=> true
Class.is_a?(Class) #=> true
Object.is_... -
08:42 PM Bug #6006 (Closed): Fix calculation of HEAP_OBJ_LIMIT and HEAP_BITMAP_LIMIT
- This issue seems to be solved at r34597.
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20120214T110302Z.log.html.gz
Thanks :) -
06:52 PM Bug #6006: Fix calculation of HEAP_OBJ_LIMIT and HEAP_BITMAP_LIMIT
- Another one update: calculate p and objs without conditions at all.
https://github.com/ruby/ruby/pull/92.diff -
05:43 PM Bug #6006: Fix calculation of HEAP_OBJ_LIMIT and HEAP_BITMAP_LIMIT
- I think it will fix https://github.com/funny-falcon/ruby/commit/5945932de2d682b4fe9b5de3d32b07c2d9b5179d (updated https://github.com/ruby/ruby/pull/92 )
It happens cause on 64-bit platform sometime there should be `objs-=2` instead of `... -
05:02 PM Bug #6006 (Assigned): Fix calculation of HEAP_OBJ_LIMIT and HEAP_BITMAP_LIMIT
- Narihiro Nakamura wrote:
> This issue was solved with changeset r34581.
> ...
This seems to break CentOS 5.6 64bit.
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20120213T130301Z.diff.html.gz
But it doesn't always happen...
htt... - 08:13 PM Revision 02d1912e (git): * 2012-02-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:13 PM Revision 1c923eb2 (git): Set encoding as ASCII-8BIT. [Bug #6027]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:09 PM Revision 35c54610 (git): merge revision(s) 32712,32718,32719: [Backport #6014]
- * ext/dl/cfunc.c (dlcfunc_mark), ext/dl/cptr.c (dlptr_mark):
workaround to mark wrapped object. this is not a true fix,
because [Bug #4929] is caused by the interface design of DL.
* ext/dl/cptr.c (rb_dlptr_... -
08:05 PM Revision 0c8cfb4e (git): merge revision(s) 32720: [Backport #6015]
- * ext/dl/cptr.c (rb_dlptr_aref, rb_dlptr_aset): check NULL pointer
dereference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:04 PM Revision 44d3cf03 (git): merge revision(s) 32705,32717: [Backport #6016]
- * test/rinda/test_rinda.rb (test_remote_array_and_hash):
add local variables to protect objects from GC. [ruby-dev:44253]
[Bug #5104]
* test/rinda/test_rinda.rb: decrease the code that depends on timing.
... -
08:03 PM Revision dbda1e9e (git): merge revision(s) 32640: [Backport #6017]
- * test/win32ole/test_err_in_callback.rb (test_err_in_callback):
skip test if ADODB.connection is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:01 PM Revision 5f06da63 (git): merge revision(s) 34415:
- * parse.y (debug_lines, coverage): set file path encoding for coverage
result. [ruby-dev:44950]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 PM Feature #6019: Revision r34582 significantly slows down rails app
- Fix were relatively easy. Close this issue, please. Excuse me for disturbing.
-
07:13 PM Feature #6019 (Closed): Revision r34582 significantly slows down rails app
- Before r34582 simple rails32 app (query sqlite and disply 20 rows of simple data)
benchmarked as 55req/second , after its performance is 33req/second.
I could agree that RubyOnRails should be in sync with ruby, but maybe there is oth... -
05:37 PM Feature #1201 (Closed): Add relative group reference in back reference with nest level in regular expressions (e.g. \k<-5+1>)
- Ruby 1.9.1 supports this through Oniguruma 5.9.1.
-
05:29 PM Feature #855: HTTP/1.1 fixes and other enhancements to webrick
- Sorry that I kept this open long time.
Yes, the feature request for streaming (No.3 and No.4) is reasonable. I'll re-evaluate the patch before 2.0.0
I keep the assignee to me and raise the priority. -
05:07 PM Feature #5977 (Rejected): Remove $, and avoid perlish global variables
- As Thomas mentioned, Ruby 2.0 would not introduce serious incompatibility. Reopen in the future (3.0?).
matz. -
04:53 PM Feature #5977: Remove $, and avoid perlish global variables
- It is some kind of incompatibility, but I think most code does not use $, at all, thus only some rare small scripts would be affected.
However, if this is unacceptable for compatibility, please change the target. -
12:57 PM Feature #5977: Remove $, and avoid perlish global variables
- Yes, but is is serious incompatibility and would have to wait for after 2.0, according to Matz' plans.
-
09:15 AM Feature #5977: Remove $, and avoid perlish global variables
- +1 those are incomprehensible for beginners.
-
04:59 PM Bug #6008: {a: 1}.hash not consistent over VM restarts - Just to clarify some topics.
hashDoS vulnerability Eric pointed is the problem of String(-ish)#hash.
The fix for 1.8.7-p357 is for String(-ishes) so Fixnum#hash is still
stable (3). The most confusing part for the original po... -
04:29 PM Bug #6008: {a: 1}.hash not consistent over VM restarts
- See http://www.ruby-lang.org/en/news/2011/12/28/denial-of-service-attack-was-found-for-rubys-hash-algorithm-cve-2011-4815/ for a description of the security problem.
-
04:33 PM Bug #4738: gem install fails with "Encoding::ConverterNotFoundError" on windows 7 greek
- Mr. Bosslet, you are the only person which is trolling here, because of your off-topic comment. Remember: you're commenting on a issue-tracking-system, which should strictly focus on the issue at hand.
I've validly updated the informa... -
02:57 AM Bug #4738: gem install fails with "Encoding::ConverterNotFoundError" on windows 7 greek
- Lazaridis Ilias wrote:
> Note to users which hit on this problem:
> ...
Hahaha, that just made my day! You, my friend, are really a master in the art of
trolling ;) That's like saying "Plaease ignore what matz has to say about Ruby. H... -
02:34 AM Bug #4738: gem install fails with "Encoding::ConverterNotFoundError" on windows 7 greek
- Note to users which hit on this problem:
Please ignore the comments of "Luis Lavena", they have no relevance to the issue.
To solve the issue on your side, just install a ruby version >= 1.9.3-p0, which has this issue solved.
ht... -
03:41 PM Bug #5782 (Assigned): File.binwrite doc and hash argument
-
03:19 PM Bug #5782: File.binwrite doc and hash argument
- For some reason, this bug report was never posted on the mailing list:
The doc for `File.binwrite` doesn't mention the possibility of a fourth argument (option hash), unlike `File.write`. Judging from the code, this looks like an over... -
03:22 PM Bug #5694: Proc#arity doesn't take optional arguments into account.
- Matz, what do you want us to do about ->(a=1){}.arity, in the 1.9.3 release and in the 2.0.0 version?
-
03:13 PM Feature #1400: Please add a method to enumerate fields in OpenStruct
- Hi,
Yusuke Endoh wrote:
> There is no maintainer for ostruct.
> ...
With pleasure. I'll commit it tomorrow.
> I consider Dan's comment is not objection. What Tomas wants is
> ...
Agreed.
--
Marc-André -
12:53 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
- On Mon, Feb 13, 2012 at 4:37 PM, Yusuke Endoh <mame@tsg.ne.jp> wrote:
> Hello,
>
> 2012/2/14 Peter Vandenabeele <peter@vandenabeele.com>:
> > I use OpenStruct#marshal_dump for this purpose,
> > which is a public method and ... -
12:53 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
- Hello,
2012/2/14 Peter Vandenabeele <peter@vandenabeele.com>:
> I use OpenStruct#marshal_dump for this purpose,
> which is a public method and returns a clean hash.
Cleary, marshal_dump is only intended for Marshal.
I do... -
12:29 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
- On Mon, Feb 13, 2012 at 4:08 PM, Yusuke Endoh <mame@tsg.ne.jp> wrote:
>
> Issue #1400 has been updated by Yusuke Endoh.
>
> Assignee changed from Yukihiro Matsumoto to Marc-Andre Lafortune
>
> Hello,
>
> There is no m... -
12:07 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
- Hello,
There is no maintainer for ostruct.
Marc-Andre, are you willing to be a maintainer and to commit
your patch? I give +1 for __members__.
I consider Dan's comment is not objection. What Tomas wants is
a way to get field n... -
11:26 AM Revision 0da31416 (git): * gc.c (CEILDIV): rename to a appropriate name.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:23 AM Feature #4890: Enumerable#lazy
- Hi,
In message "Re: [ruby-core:42556] [ruby-trunk - Feature #4890] Enumerable#lazy"
on Tue, 14 Feb 2012 00:36:10 +0900, Thomas Sawyer <transfire@gmail.com> writes:
|Actually, is there any reason why Enumerator's usual me... -
05:58 AM Feature #4890: Enumerable#lazy
- Oh, I see. I didn't know about Enumerators. If I understood what they are correctly, then I agree with you that they should be lazy implicitly.
-
05:54 AM Feature #4890: Enumerable#lazy
- @Rodrigo I'm not suggesting Enumerable methods be lazy. I asking about Enumerator methods being lazy. So first you have to convert to an Enumerator.
items.to_enum.map{ ... }
As it happens, enumerable methods without a block becom... -
05:47 AM Feature #4890: Enumerable#lazy
- Thomas, continuing, if the "force" approach is taken instead of take(n), you'll still have to call it (or call each/select/to_a) in the end, as oppose to what happens if you just call map/collect, for example.
It can also lead to unex... -
05:27 AM Feature #4890: Enumerable#lazy
- Thomas, I think it only makes sense for enumerables to be lazy if you call take(n) on it.
Usually, you want all elements when calling any of those methods without explicitly marking them as lazy. -
04:50 AM Feature #4890: Enumerable#lazy
- I think the main difference is that current Enumerable#{map|select|inject} use yield semantics with the block. This is not always conducive to lazy evaluation:
class AlwaysThree
include Enumerable
def each
... -
12:36 AM Feature #4890: Enumerable#lazy
- Actually, is there any reason why Enumerator's usual methods themselves aren't lazy? Is it necessary to have both? If they were lazy then the notation would be pretty simple:
[1,2,3].each.select{ |e| ... }.map{ |e| .... }.to_a
No... -
09:17 AM Feature #6012: Proc#source_location also return the column
- oops make that a feature request, but I'm unable to edit them myself.
Cheers!
-r -
09:17 AM Feature #6012 (Closed): Proc#source_location also return the column
- As originally suggested in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/42418
Suggestion/feature request:
have #source_location also return the beginning column where it was defined.
["test.rb", 8, 33]
Thanks!
-ro... -
09:14 AM Revision c104867e (git): added bug ref
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:11 AM Revision 64e7aedc (git): * gc.c (assign_heap_slot): SEGV happens cause on 64-bit platform
- sometime there should be `objs-=2` instead of `objs--`.
patched by Sokolov Yura. https://github.com/ruby/ruby/pull/92
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:15 AM Feature #5820: Merge Onigmo to Ruby 2.0
- Yusuke Endoh wrote:
> ほとんどの議論は横道 or 枝葉末節っぽい感じがしたので読んでないのですが、
> ...
わたしが 1.9.3 やってて遅れているだけですね。
終わったら取り込みます。
> あと、k-takata さんにはコミッタになって頂ける予定でしょうか。
なって頂けない感じなので当面はわたしがマージしようかと思っています。
> ...
なって頂けなくてもこの辺りは見て頂いているようなので検討していただけることを期... -
08:12 AM Feature #1200 (Rejected): Possibility for using named and normal groups together in regular expressions
- Mixed regexp both named and unnamed capturing group is disallowed by design of Ruby.
- 07:58 AM Revision 2349592a (git): merge revision(s) 33254:
- * lib/rake/file_list.rb (Rake::FileList#egrep): there is no need to
open files in binary mode.
see more details in https://github.com/jimweirich/rake/issues/74
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34596 b... - 07:55 AM Revision 39432526 (git): merge revision(s) 33902:
- * lib/rdoc/encoding.rb (RDoc::Encoding.read_file): fixup newline chars
on Windows.
see https://github.com/rdoc/rdoc/issues/87
* test/rdoc/test_rdoc_markup_pre_process.rb
(TestRDocMarkupPreProcess#test_include_file,
TestRDocMarku... - 07:36 AM Revision ac81a6e3 (git): merge revision(s) 33232:
- * test/rubygems/test_gem_commands_help_command.rb: Add one
`require` because if run test-all with test/unit parallel
running, sometimes this test fails by some constants not found.
The error reason is some worker doesn't require th... - 07:09 AM Revision aa815c58 (git): merge revision(s) 33500,33501:
- * gc.c (rb_gc_set_params): set parameters always.
[ruby-dev:44648] [Bug #5467]
* gc.c (initial_params): pack in a struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:00 AM Revision 52cb4633 (git): * io.c (io_setstrbuf): cut down the buffer if longer.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:45 AM Revision 1bf61d77 (git): merge revision(s) 34395:
- * test/irb/test_completion.rb: skip if cannot load irb/completion
(maybe readline does not exist).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:24 AM Bug #5962 (Closed): Error in Process.{wait,wait2} rdoc
- This issue was solved with changeset r34587.
Jason, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* process.c (proc_wait): Change typo "SystemError" to
"System... -
06:19 AM Feature #707 (Closed): Documentation for Enumerator chaining
- This issue was solved with changeset r34586.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c: Document use of Enumerator.new for creating a l... -
06:07 AM Revision 83f1aca1 (git): merge revision(s) 34589:
- * lib/test/unit/assertions.rb (build_message): skip escaped
question marks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:06 AM Revision 79968035 (git): * lib/test/unit/assertions.rb (build_message): skip escaped
- question marks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:52 AM Feature #5663: Combined map/select method
- I supposed that was your point, but I waited for your new example, before talking about this.
The point is that usually we want some examples from the real world for considering some feature.
So, I don't find this example likely to... -
05:48 AM Feature #5663: Combined map/select method
- @rodrigo
Your right, I could have used nil, so my example wasn't a particularly good one for what I was trying to demonstrate. Here's a better demonstration:
[0,1,-1,2].compact_map(foo) do |e|
case e
when 0 then nil
... -
05:17 AM Feature #5663: Combined map/select method
- Thomas, I didn't find your example for justifying a "null" instance good enough. Why not just using "nil" instead of "foo"?
But I liked your suggestion on "compact" allowing an argument defaulting to nil.
Joshua, I like the idea of... -
04:45 AM Feature #5663: Combined map/select method
- What about using "next" for this purpose? Currently:
> (1..10).to_a.map { |i| i % 3 == 0 ? next : i**2 }
=> [1, 4, nil, 16, 25, nil, 49, 64, nil, 100]
Is it so common to use "next" with a return value inside of an Enumerable#map ... -
12:30 AM Feature #5663: Combined map/select method
- One of the problems with this method is that in becomes impossible to get `nil` or `false` as a valid selection/non-compaction.
Couple thoughts on handling this. For starters maybe #compact should be able to take an argument, e.g.
[1... -
05:28 AM Feature #1374 (Closed): location of already initialized constant
- r33175でrb_const_entry_tを使うようにしてコミット済みです。
-
03:10 AM Revision 391b5790 (git): * variable.c (autoload_const_set, autoload_require): fix
- signatures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:54 AM Feature #2565: adding hooks for better tracing
- Since I really want this feature, I should update this ticket with my progress.
I've ported the Joyant probes to trunk (and added a few). You can view the progress I've made here:
https://github.com/tenderlove/ruby/tree/probes
... -
12:58 AM Feature #1316 (Rejected): Phasor.rb: Complex number class using polar coordinates
- I think these features are provided as a gem.
-
12:26 AM Feature #1493: [patch] lex_state as bit field / IS_lex_state() macro
- Nobu, aren't you interested in this? Could you please review and
import the patch if it looks good to you?
This seems to be just a patch for refactoring. Though, the purpose
is not so clear to me. (Who is planning to break the de... -
12:14 AM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- Hello,
Usak-san or nobu, could you tell me the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:10 AM Feature #1436: Please consider this addition to resolv.rb which adds methods for resolving LOC resources
- Hello, akr
Any update here?
--
Yusuke Endoh <mame@tsg.ne.jp>
02/13/2012
-
11:57 PM Feature #1395 (Rejected): Steppable Kernel::eval
- Closed by reopener's request. Thanks.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:55 PM Feature #1374: location of already initialized constant
- 遠藤です。
trunk に入れましょう。なかださんお願いします。
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:53 PM Feature #1316: Phasor.rb: Complex number class using polar coordinates
- Hello mrkn,
Bumping this. Please let us know your opinion.
IMHO, it is not Ruby way to define another class that has the same set
of methods and different representation. That's like defining a "List"
class for "Array."
Bu... -
11:49 PM Feature #1279 (Closed): Add DTrace Probes
- This ticket is not so informative.
#2565 has a similar motivation, and is under (relatively) active
and concrete discussion. It will be perhaps accepted, I hope.
So I close this ticket as "closed".
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:44 PM Feature #1275 (Rejected): IPAddr unnecessarily destroys information on creation
- I'm rejecting this feature ticket because no progress has been
made for a long time. See [ruby-core:42391].
I'm not sure if this use case is valid for IPAddr library.
But if you still want the feature seriously, it might be goo... -
11:38 PM Feature #1218 (Rejected): New method needed to set and get the current recursion limit
- I'm rejecting this feature ticket because no progress has been
made for a long time. See [ruby-core:42391].
I think it is impossible to implement recursion_limit exactly
because we cannot know how much stack each C function con... -
11:33 PM Feature #5820: Merge Onigmo to Ruby 2.0
- ほとんどの議論は横道 or 枝葉末節っぽい感じがしたので読んでないのですが、
結論としては onigmo を取り込む方向なんでしょうか。
あと、k-takata さんにはコミッタになって頂ける予定でしょうか。
# もしそうだったら、早速ですが #1200 、#1201 あたりをご検討願いたいと
# 考えております。
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:27 PM Feature #1125: [*x] (array consisting only of a splat) does not necessarily return a new array
- Hello,
I'll commit the following patch unless there is objection:
diff --git a/compile.c b/compile.c
index 32bda52..9ea2a3c 100644
--- a/compile.c
+++ b/compile.c
@@ -4644,6 +4644,8 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_AN... -
09:57 PM Bug #6006 (Closed): Fix calculation of HEAP_OBJ_LIMIT and HEAP_BITMAP_LIMIT
- This issue was solved with changeset r34581.
Yura, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (HEAP_OBJ_LIMIT, HEAP_BITMAP_LIMIT): HEAP_OBJ_LIMIT used
... -
09:56 PM Feature #1122: request for: Object#try
- @nari: There is no strong objection about the name "try".
Did matz hate "try"? If not, it is okay to go ahead.
@runpaint: We need matz's opinion about the name, as OP
said.
I, personally, objected the API design of this prop... -
09:54 PM Bug #6009 (Assigned): Rapid signal delivery via kill(2) causes SystemStackError
-
04:51 PM Bug #6009 (Closed): Rapid signal delivery via kill(2) causes SystemStackError
- =begin
Running the following program with a trivial signal handler can crash with a SystemStackError if signals are delivered rapidly:
$ ruby -ve 'p Process.pid; trap "USR1" do 10 ** 100; end; sleep'
ruby 2.0.0dev (2012-02-11 tr... -
09:42 PM Feature #1102: Prepend Module
- This feature is listed as matz's "must-have." [ruby-core:39837]
Are there any volunteers to be a facilitator, to create a prototype,
and/or, to study the semantics and implementation?
Sorry I'll have no time, and completely forgot th... -
09:39 PM Feature #1047 (Closed): request: getters, setters for the GC
- We have introduced the GC parameter configuration to trunk at r31044.
Thanks. -
09:28 PM Feature #1047: request: getters, setters for the GC
- Nari, any update on this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:26 PM Feature #973 (Rejected): EncDet again
- 遠藤です。
> 実装があるものに対してrejectはないかなと思っているので
> ...
実装がある feature チケットでも、
たなざらしにする
-> feature チケットがたまる
-> より一層 feature チケットをみなくなる
(まつもとさんだけでなく誰も)
という悪循環になるだけだと思うので、進展の気配が感じられない
ものは一旦 reject します。
ついでにコメント。
> 現状rdoc絡みや... -
09:24 PM Revision 9d7573c4 (git): * process.c (proc_wait): Change typo "SystemError" to
- "SystemCallError". [ruby-trunk - Bug #5962]
* process.c (proc_wait2): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:19 PM Revision a63b86e2 (git): * enumerator.c: Document use of Enumerator.new for creating a lazy
- enumeration for filtering/chaining. [ruby-trunk - Feature #707]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:09 PM Feature #5663: Combined map/select method
- Yes, Yusuke, exactly. Thanks for reopening.
-
08:51 PM Feature #5663 (Assigned): Combined map/select method
- Okay reopened.
Do you mean we need map_select as a shorthand?
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:43 PM Feature #5663: Combined map/select method
- I don't think #4890 removes the need for this ticket. This is about API, not implementation. Even if we can use lazy maps/collects to implement this API, I still think it should exist.
-
08:12 PM Feature #5663 (Rejected): Combined map/select method
- In #708, Matz approved a related ticket #4890.
Let's discuss there.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:05 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
- Are there any volunteers to summarize the discussion?
I cannot understand the whole discussion about this ticket.
Redmine failed to capture some mails.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:56 PM Feature #855: HTTP/1.1 fixes and other enhancements to webrick
- NaHi, are you still willing to discuss about No.3 and 4?
If not, could you please close this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:54 PM Feature #836: Patches for StringScanner, adding #size, #captures and #values_at
- Nobu, do you think that this proposal can be accepted?
There is no maintainer for strscan; I leave this decision
to your discretion.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:49 PM Bug #6008 (Rejected): {a: 1}.hash not consistent over VM restarts
- When objects a and b are in different VM, a.eql?(b) does not
make sense. If you pass the either object from one VM to the
other in some way (such as using Marshal), a.eql?(b) will be
satisfied, and then a.hash == b.hash will be also ... -
04:59 PM Bug #6008 (Feedback): {a: 1}.hash not consistent over VM restarts
- Jens Berlips wrote:
> Which implies that you should get the behaviour in 1.8.7.
Why? I can't get it. I was wondering if you could describe it in detail. -
04:38 PM Bug #6008 (Rejected): {a: 1}.hash not consistent over VM restarts
- $ ruby -e 'puts ({a: 1}.hash)'
-2419336229553239378
$ ruby -e 'puts ({a: 1}.hash)'
-4506930541181251952
$ ruby -e 'puts ({a: 1}.hash)'
2108665473238231010
$ ruby -e 'puts ({a: 1}.hash)'
-3675793335936991568
But if you go to rvm... -
08:34 PM Feature #749 (Rejected): String#indent, String#tabto, etc.
- I'm rejecting this feature ticket because no progress has been made
for a long time. See [ruby-42391].
Sorry, I can say few comments. The use case is trivial for me.
There is nothing wrong with the proposal, I think. But matz... -
08:16 PM Feature #4890 (Assigned): Enumerable#lazy
- Congrats, this proposal had an affirmative vote from matz! (See #708)
To avoid bikeshed discussion, I propose that we tentatively commit an
implementation as OP proposed.
I know there are still some issues on the API detail.
But ... -
08:13 PM Feature #4653 (Rejected): [PATCH 1/1] new method Enumerable#rude_map
- まつもとさんが #4890 のやり方がいいと言ったので (#708) 、
2/8 は Enumerable::Lazy 記念日。
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:11 PM Feature #708 (Rejected): Lazy Enumerator#select, Enumerator#map etc.
- 2012/2/8 Yukihiro Matsumoto <matz@ruby-lang.org>:
> I vote for #4890.
Thank you for your opinion.
I'll close those tickets except #4890.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:06 PM Feature #707: Documentation for Enumerator chaining
- Look good to me. Please go ahead!
--
Yusuke Endoh <mame@tsg.ne.jp> - 04:05 PM Revision b2994527 (git): * 2012-02-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:05 PM Revision 4349b42e (git): Mention Kernel#respond_to?.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:29 PM Revision cedd050e (git): merge revision(s) 34033: [Backport #5997]
- * thread_pthread.c (rb_thread_create_timer_thread): fix memory
leak. [ruby-dev:44904] [Bug #5688]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:11 PM Feature #6002 (Assigned): use IO#advise in FileUtils.compare_stream
- OK, approved.
- 02:02 PM Revision 23473d1f (git): * vm_method.c (rb_method_boundp):
- obj.respond_to?(:a_protected_method) should return false because
calling a protected method may cause NoMethodError if called
from outside the class inheritance tree. Kernel#respond_to? is
mostly used to test if it is safe to call... -
12:57 PM Revision 261400e7 (git): * gc.c (HEAP_OBJ_LIMIT, HEAP_BITMAP_LIMIT): HEAP_OBJ_LIMIT used
- `sizeof(struct heaps_slot)` while heap is currently allocated
with `struct heaps_header`.
HEAP_BITMAP_LIMIT were calculated from
`HEAP_OBJ_LIMIT/sizeof(uintptr_t)` - one Byte for each object,
not one Bit. [Bug #6006]
patched by... -
11:40 AM Feature #6003 (Assigned): test/unit/parallel.rb
-
11:34 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
- @tom For Ruby you want #eql? method. In Ruby #=== is more loosely defined and can mean different things for different class of object.
I think there are two parts to this proposal.
1) Make string and symbol more interchangeable, e.... -
09:53 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
- Hi,
Two points:
(1) Currently symbols and strings are very different in several
aspect. Making them "compatible" would break backward
compatibility.
(2) "==" and "===" have different roles from PHP. So your ... -
10:24 AM Bug #6007 (Closed): Use directive hack to make ARGF documentable in other tools
- This issue was solved with changeset r34576.
Loren, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (Init_IO): use directive hack to make ARGF documentable
... -
09:35 AM Bug #6007: Use directive hack to make ARGF documentable in other tools
- (Adding patch)
-
09:35 AM Bug #6007 (Closed): Use directive hack to make ARGF documentable in other tools
- RDoc is able to parse commented blocks of code (inside /**/) as a side-effect of its parsing, but other tools will ignore commented blocks. Using the "#if 0" directive hack is more portable among tools (like YARD) and still allows develo...
-
10:23 AM Feature #5979: deprecate Thread#raise
- Hi,
Although I admit Thread#raise is dangerous, it's not more dangerous
than other asynchronous events, like signals. And I don't think MRI
cannot remove signals, especially keyboard interrupts, as a real-world
language. So... -
09:43 AM Bug #3924: Performance bug (in require?)
- Luis Lavena wrote:
> satoshi shiba wrote:
> ...
Thank you for telling me.
I have missed that ticket.
-
09:29 AM Bug #3924: Performance bug (in require?)
- satoshi shiba wrote:
>
> ...
Please see Feature #5767, proposed usage of cached expanded paths:
https://bugs.ruby-lang.org/issues/5767
-
09:30 AM Revision df77202b (git): * io.c (io_setstrbuf): defer resizing buffer string until data is
- read actually.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:51 AM Revision e782ca86 (git): merge revision(s) 33935,33936,33987: [Backport #5702]
- * variable.c (set_const_visibility): Module#private_constant has
changed the visibility of only the first argument. Now it changes
all of them. [ruby-list:48558]
* test/ruby/test_module.rb: add a test for a... -
03:06 AM Revision 8f8764fd (git): merge revision(s) 34576:
- * io.c (Init_IO): use directive hack to make ARGF documentable
in other tools. [ruby-core:42515][Bug #6007]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:24 AM Revision 23ebb5ea (git): * 2012-02-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:24 AM Revision b7ef9fa2 (git): * io.c (Init_IO): use directive hack to make ARGF documentable
- in other tools. [ruby-core:42515][Bug #6007]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:55 AM Bug #6001: Retry idempotent HTTP requests for more errors
- I agree the general direction to add more exceptions like ECONNABORTED.
But I doubt Timeout::Error and should be added.
A general principle is to rescue temporally errors.
I don't think Errno::EINVAL, OpenSSL::SSL::SSLError are such...